/* Minification failed. Returning unminified contents.
(71,27436-27437): run-time error JS1193: Expected ',' or ')': ~
(71,11558-11563): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: value
(71,27403-27436): run-time error JS5017: Syntax error in regular expression: /^[^:;{}\[\]<>?\/+*&^%$#!()_="'|/
(79,352-362): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: $container
(79,402-404): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: id
(79,436-444): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: $remover
(79,498-508): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: $previewer
(79,561-570): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: $filename
(90,25783-25793): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: pasteQueue
(90,25797-25808): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: pasteRunner
(90,25562-25573): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: pasteRunner
(97,15465-15473): run-time error JS1292: Strict-mode does not allow duplicate property names: fontSize
 */
(function(d){d.Observe={}})(jQuery);
(function(d,q){var r=function(e,f){f||(f=e,e=window.document);var m=[];d(f).each(function(){for(var l=[],g=d(this),h=g.parent();h.length&&!g.is(e);h=h.parent()){var f=g.get(0).tagName.toLowerCase();l.push(f+":eq("+h.children(f).index(g)+")");g=h}(h.length||g.is(e))&&m.push("> "+l.reverse().join(" > "))});return m.join(", ")};q.path={get:r,capture:function(e,f){f||(f=e,e=window.document);var m=[];d(f).each(function(){var l=-1,g=this;if(this instanceof Text)for(var g=this.parentNode,h=g.childNodes,
f=0;f<h.length;f++)if(h[f]===this){l=f;break}var k=r(e,g),n=d(e).is(g);m.push(function(e){e=n?e:d(e).find(k);return-1===l?e:e.contents()[l]})});return function(e){e=e||window.document;return m.reduce(function(d,f){return d.add(f(e))},d([]))}}}})(jQuery,jQuery.Observe);(function(d,q){var r=function(e){this.original=d(e);this.root=this.original.clone(!1,!0)};r.prototype.find=function(d){return q.path.capture(this.original,d)(this.root)};q.Branch=r})(jQuery,jQuery.Observe);
(function(d,q){var r=function(a,b){var c={};a.forEach(function(a){(a=b(a))&&(c[a[0]]=a[1])});return c},e=r("childList attributes characterData subtree attributeOldValue characterDataOldValue attributeFilter".split(" "),function(a){return[a.toLowerCase(),a]}),f=r(Object.keys(e),function(a){if("attributefilter"!==a)return[e[a],!0]}),m=r(["added","removed"],function(a){return[a.toLowerCase(),a]}),l=d([]),g=function(a){if("object"===typeof a)return a;a=a.split(/\s+/);var b={};a.forEach(function(a){a=
a.toLowerCase();if(!e[a]&&!m[a])throw Error("Unknown option "+a);b[e[a]||m[a]]=!0});return b},h=function(a){return"["+Object.keys(a).sort().reduce(function(b,c){var d=a[c]&&"object"===typeof a[c]?h(a[c]):a[c];return b+"["+JSON.stringify(c)+":"+d+"]"},"")+"]"},t=window.MutationObserver||window.WebKitMutationObserver,k=function(a,b,c,s){this._originalOptions=d.extend({},b);b=d.extend({},b);this.attributeFilter=b.attributeFilter;delete b.attributeFilter;c&&(b.subtree=!0);b.childList&&(b.added=!0,b.removed=
!0);if(b.added||b.removed)b.childList=!0;this.target=d(a);this.options=b;this.selector=c;this.handler=s};k.prototype.is=function(a,b,c){return h(this._originalOptions)===h(a)&&this.selector===b&&this.handler===c};k.prototype.match=function(a){var b=this.options,c=a.type;if(!this.options[c])return l;if(this.selector)switch(c){case "attributes":if(!this._matchAttributeFilter(a))break;case "characterData":return this._matchAttributesAndCharacterData(a);case "childList":if(a.addedNodes&&a.addedNodes.length&&
b.added&&(c=this._matchAddedNodes(a),c.length))return c;if(a.removedNodes&&a.removedNodes.length&&b.removed)return this._matchRemovedNodes(a)}else{var s=a.target instanceof Text?d(a.target).parent():d(a.target);if(!b.subtree&&s.get(0)!==this.target.get(0))return l;switch(c){case "attributes":if(!this._matchAttributeFilter(a))break;case "characterData":return this.target;case "childList":if(a.addedNodes&&a.addedNodes.length&&b.added||a.removedNodes&&a.removedNodes.length&&b.removed)return this.target}}return l};
k.prototype._matchAttributesAndCharacterData=function(a){return this._matchSelector(this.target,[a.target])};k.prototype._matchAddedNodes=function(a){return this._matchSelector(this.target,a.addedNodes)};k.prototype._matchRemovedNodes=function(a){var b=new q.Branch(this.target),c=Array.prototype.slice.call(a.removedNodes).map(function(a){return a.cloneNode(!0)});a.previousSibling?b.find(a.previousSibling).after(c):a.nextSibling?b.find(a.nextSibling).before(c):(this.target===a.target?b.root:b.find(a.target)).empty().append(c);
return this._matchSelector(b.root,c).length?d(a.target):l};k.prototype._matchSelector=function(a,b){var c=a.find(this.selector);b=Array.prototype.slice.call(b);return c=c.filter(function(){var a=this;return b.some(function(b){return b instanceof Text?b.parentNode===a:b===a||d(b).has(a).length})})};k.prototype._matchAttributeFilter=function(a){return this.attributeFilter&&this.attributeFilter.length?0<=this.attributeFilter.indexOf(a.attributeName):!0};var n=function(a){this.patterns=[];this._target=
a;this._observer=null};n.prototype.observe=function(a,b,c){var d=this;this._observer?this._observer.disconnect():this._observer=new t(function(a){a.forEach(function(a){d.patterns.forEach(function(b){var c=b.match(a);c.length&&c.each(function(){b.handler.call(this,a)})})})});this.patterns.push(new k(this._target,a,b,c));this._observer.observe(this._target,this._collapseOptions())};n.prototype.disconnect=function(a,b,c){var d=this;this._observer&&(this.patterns.filter(function(d){return d.is(a,b,c)}).forEach(function(a){a=
d.patterns.indexOf(a);d.patterns.splice(a,1)}),this.patterns.length||this._observer.disconnect())};n.prototype.disconnectAll=function(){this._observer&&(this.patterns=[],this._observer.disconnect())};n.prototype.pause=function(){this._observer&&this._observer.disconnect()};n.prototype.resume=function(){this._observer&&this._observer.observe(this._target,this._collapseOptions())};n.prototype._collapseOptions=function(){var a={};this.patterns.forEach(function(b){var c=a.attributes&&a.attributeFilter;
if(!c&&a.attributes||!b.attributeFilter)c&&b.options.attributes&&!b.attributeFilter&&delete a.attributeFilter;else{var e={},f=[];(a.attributeFilter||[]).concat(b.attributeFilter).forEach(function(a){e[a]||(f.push(a),e[a]=1)});a.attributeFilter=f}d.extend(a,b.options)});Object.keys(m).forEach(function(b){delete a[m[b]]});return a};var p=function(a){this.patterns=[];this._paused=!1;this._target=a;this._events={};this._handler=this._handler.bind(this)};p.prototype.NS=".jQueryObserve";p.prototype.observe=
function(a,b,c){a=new k(this._target,a,b,c);d(this._target);a.options.childList&&(this._addEvent("DOMNodeInserted"),this._addEvent("DOMNodeRemoved"));a.options.attributes&&this._addEvent("DOMAttrModified");a.options.characterData&&this._addEvent("DOMCharacerDataModified");this.patterns.push(a)};p.prototype.disconnect=function(a,b,c){var e=d(this._target),f=this;this.patterns.filter(function(d){return d.is(a,b,c)}).forEach(function(a){a=f.patterns.indexOf(a);f.patterns.splice(a,1)});var g=this.patterns.reduce(function(a,
b){b.options.childList&&(a.DOMNodeInserted=!0,a.DOMNodeRemoved=!0);b.options.attributes&&(a.DOMAttrModified=!0);b.options.characterData&&(a.DOMCharacerDataModified=!0);return a},{});Object.keys(this._events).forEach(function(a){g[a]||(delete f._events[a],e.off(a+f.NS,f._handler))})};p.prototype.disconnectAll=function(){var a=d(this._target),b;for(b in this._events)a.off(b+this.NS,this._handler);this._events={};this.patterns=[]};p.prototype.pause=function(){this._paused=!0};p.prototype.resume=function(){this._paused=
!1};p.prototype._handler=function(a){if(!this._paused){var b={type:null,target:null,addedNodes:null,removedNodes:null,previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null};switch(a.type){case "DOMAttrModified":b.type="attributes";b.target=a.target;b.attributeName=a.attrName;b.oldValue=a.prevValue;break;case "DOMCharacerDataModified":b.type="characterData";b.target=d(a.target).parent().get(0);b.attributeName=a.attrName;b.oldValue=a.prevValue;break;case "DOMNodeInserted":b.type=
"childList";b.target=a.relatedNode;b.addedNodes=[a.target];b.removedNodes=[];break;case "DOMNodeRemoved":b.type="childList",b.target=a.relatedNode,b.addedNodes=[],b.removedNodes=[a.target]}for(a=0;a<this.patterns.length;a++){var c=this.patterns[a],e=c.match(b);e.length&&e.each(function(){c.handler.call(this,b)})}}};p.prototype._addEvent=function(a){this._events[a]||(d(this._target).on(a+this.NS,this._handler),this._events[a]=!0)};q.Pattern=k;q.MutationObserver=n;q.DOMEventObserver=p;d.fn.observe=
function(a,b,c){b?c||(c=b,b=null):(c=a,a=f);return this.each(function(){var e=d(this),f=e.data("observer");f||(f=t?new n(this):new p(this),e.data("observer",f));a=g(a);f.observe(a,b,c)})};d.fn.disconnect=function(a,b,c){a&&(b?c||(c=b,b=null):(c=a,a=f));return this.each(function(){var e=d(this),f=e.data("observer");f&&(a?(a=g(a),f.disconnect(a,b,c)):(f.disconnectAll(),e.removeData("observer")))})}})(jQuery,jQuery.Observe);
;
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){
//     Underscore.js 1.13.6
//     https://underscorejs.org
//     (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
//     Underscore may be freely distributed under the MIT license.
var n="1.13.6",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},t=Array.prototype,e=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,l="undefined"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable("toString"),b=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u<t;u++)e[u]=arguments[u+r];switch(r){case 0:return n.call(this,e);case 1:return n.call(this,arguments[0],e);case 2:return n.call(this,arguments[0],arguments[1],e)}var o=Array(r+1);for(u=0;u<r;u++)o[u]=arguments[u];return o[r]=e,n.apply(this,o)}}function _(n){var r=typeof n;return"function"===r||"object"===r&&!!n}function w(n){return void 0===n}function A(n){return!0===n||!1===n||"[object Boolean]"===a.call(n)}function x(n){var r="[object "+n+"]";return function(n){return a.call(n)===r}}var S=x("String"),O=x("Number"),M=x("Date"),E=x("RegExp"),B=x("Error"),N=x("Symbol"),I=x("ArrayBuffer"),T=x("Function"),k=r.document&&r.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof k&&(T=function(n){return"function"==typeof n||!1});var D=T,R=x("Object"),F=l&&R(new DataView(new ArrayBuffer(8))),V="undefined"!=typeof Map&&R(new Map),P=x("DataView");var q=F?function(n){return null!=n&&D(n.getInt8)&&I(n.buffer)}:P,U=s||x("Array");function W(n,r){return null!=n&&f.call(n,r)}var z=x("Arguments");!function(){z(arguments)||(z=function(n){return W(n,"callee")})}();var L=z;function $(n){return O(n)&&y(n)}function C(n){return function(){return n}}function K(n){return function(r){var t=n(r);return"number"==typeof t&&t>=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J("byteLength"),H=K(G),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J("length");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e<t;++e)r[n[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(t){return r[t]=!0,n.push(t)}}}(r);var t=b.length,u=n.constructor,o=D(u)&&u.prototype||e,i="constructor";for(W(n,i)&&!r.contains(i)&&r.push(i);t--;)(i=b[t])in n&&n[i]!==o[i]&&!r.contains(i)&&r.push(i)}function nn(n){if(!_(n))return[];if(p)return p(n);var r=[];for(var t in n)W(n,t)&&r.push(t);return g&&Z(n,r),r}function rn(n,r){var t=nn(r),e=t.length;if(null==n)return!e;for(var u=Object(n),o=0;o<e;o++){var i=t[o];if(r[i]!==u[i]||!(i in u))return!1}return!0}function tn(n){return n instanceof tn?n:this instanceof tn?void(this._wrapped=n):new tn(n)}function en(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,G(n))}tn.VERSION=n,tn.prototype.value=function(){return this._wrapped},tn.prototype.valueOf=tn.prototype.toJSON=tn.prototype.value,tn.prototype.toString=function(){return String(this._wrapped)};var un="[object DataView]";function on(n,r,t,e){if(n===r)return 0!==n||1/n==1/r;if(null==n||null==r)return!1;if(n!=n)return r!=r;var o=typeof n;return("function"===o||"object"===o||"object"==typeof r)&&function n(r,t,e,o){r instanceof tn&&(r=r._wrapped);t instanceof tn&&(t=t._wrapped);var i=a.call(r);if(i!==a.call(t))return!1;if(F&&"[object Object]"==i&&q(r)){if(!q(t))return!1;i=un}switch(i){case"[object RegExp]":case"[object String]":return""+r==""+t;case"[object Number]":return+r!=+r?+t!=+t:0==+r?1/+r==1/t:+r==+t;case"[object Date]":case"[object Boolean]":return+r==+t;case"[object Symbol]":return u.valueOf.call(r)===u.valueOf.call(t);case"[object ArrayBuffer]":case un:return n(en(r),en(t),e,o)}var f="[object Array]"===i;if(!f&&X(r)){if(G(r)!==G(t))return!1;if(r.buffer===t.buffer&&r.byteOffset===t.byteOffset)return!0;f=!0}if(!f){if("object"!=typeof r||"object"!=typeof t)return!1;var c=r.constructor,l=t.constructor;if(c!==l&&!(D(c)&&c instanceof c&&D(l)&&l instanceof l)&&"constructor"in r&&"constructor"in t)return!1}o=o||[];var s=(e=e||[]).length;for(;s--;)if(e[s]===r)return o[s]===t;if(e.push(r),o.push(t),f){if((s=r.length)!==t.length)return!1;for(;s--;)if(!on(r[s],t[s],e,o))return!1}else{var p,v=nn(r);if(s=v.length,nn(t).length!==s)return!1;for(;s--;)if(p=v[s],!W(t,p)||!on(r[p],t[p],e,o))return!1}return e.pop(),o.pop(),!0}(n,r,t,e)}function an(n){if(!_(n))return[];var r=[];for(var t in n)r.push(t);return g&&Z(n,r),r}function fn(n){var r=Y(n);return function(t){if(null==t)return!1;var e=an(t);if(Y(e))return!1;for(var u=0;u<r;u++)if(!D(t[n[u]]))return!1;return n!==hn||!D(t[cn])}}var cn="forEach",ln="has",sn=["clear","delete"],pn=["get",ln,"set"],vn=sn.concat(cn,pn),hn=sn.concat(pn),yn=["add"].concat(sn,cn,ln),dn=V?fn(vn):x("Map"),gn=V?fn(hn):x("WeakMap"),bn=V?fn(yn):x("Set"),mn=x("WeakSet");function jn(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=n[r[u]];return e}function _n(n){for(var r={},t=nn(n),e=0,u=t.length;e<u;e++)r[n[t[e]]]=t[e];return r}function wn(n){var r=[];for(var t in n)D(n[t])&&r.push(t);return r.sort()}function An(n,r){return function(t){var e=arguments.length;if(r&&(t=Object(t)),e<2||null==t)return t;for(var u=1;u<e;u++)for(var o=arguments[u],i=n(o),a=i.length,f=0;f<a;f++){var c=i[f];r&&void 0!==t[c]||(t[c]=o[c])}return t}}var xn=An(an),Sn=An(nn),On=An(an,!0);function Mn(n){if(!_(n))return{};if(v)return v(n);var r=function(){};r.prototype=n;var t=new r;return r.prototype=null,t}function En(n){return U(n)?n:[n]}function Bn(n){return tn.toPath(n)}function Nn(n,r){for(var t=r.length,e=0;e<t;e++){if(null==n)return;n=n[r[e]]}return t?n:void 0}function In(n,r,t){var e=Nn(n,Bn(r));return w(e)?t:e}function Tn(n){return n}function kn(n){return n=Sn({},n),function(r){return rn(r,n)}}function Dn(n){return n=Bn(n),function(r){return Nn(r,n)}}function Rn(n,r,t){if(void 0===r)return n;switch(null==t?3:t){case 1:return function(t){return n.call(r,t)};case 3:return function(t,e,u){return n.call(r,t,e,u)};case 4:return function(t,e,u,o){return n.call(r,t,e,u,o)}}return function(){return n.apply(r,arguments)}}function Fn(n,r,t){return null==n?Tn:D(n)?Rn(n,r,t):_(n)&&!U(n)?kn(n):Dn(n)}function Vn(n,r){return Fn(n,r,1/0)}function Pn(n,r,t){return tn.iteratee!==Vn?tn.iteratee(n,r):Fn(n,r,t)}function qn(){}function Un(n,r){return null==r&&(r=n,n=0),n+Math.floor(Math.random()*(r-n+1))}tn.toPath=En,tn.iteratee=Vn;var Wn=Date.now||function(){return(new Date).getTime()};function zn(n){var r=function(r){return n[r]},t="(?:"+nn(n).join("|")+")",e=RegExp(t),u=RegExp(t,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,r):n}}var Ln={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},$n=zn(Ln),Cn=zn(_n(Ln)),Kn=tn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Jn=/(.)^/,Gn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Hn=/\\|'|\r|\n|\u2028|\u2029/g;function Qn(n){return"\\"+Gn[n]}var Xn=/^\s*(\w|\$)+\s*$/;var Yn=0;function Zn(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var nr=j((function(n,r){var t=nr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a<o;a++)i[a]=r[a]===t?arguments[u++]:r[a];for(;u<arguments.length;)i.push(arguments[u++]);return Zn(n,e,this,this,i)};return e}));nr.placeholder=tn;var rr=j((function(n,r,t){if(!D(n))throw new TypeError("Bind must be called on a function");var e=j((function(u){return Zn(n,e,r,this,t.concat(u))}));return e})),tr=K(Y);function er(n,r,t,e){if(e=e||[],r||0===r){if(r<=0)return e.concat(n)}else r=1/0;for(var u=e.length,o=0,i=Y(n);o<i;o++){var a=n[o];if(tr(a)&&(U(a)||L(a)))if(r>1)er(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else t||(e[u++]=a)}return e}var ur=j((function(n,r){var t=(r=er(r,!1,!1)).length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var e=r[t];n[e]=rr(n[e],n)}return n}));var or=j((function(n,r,t){return setTimeout((function(){return n.apply(null,t)}),r)})),ir=nr(or,tn,1);function ar(n){return function(){return!n.apply(this,arguments)}}function fr(n,r){var t;return function(){return--n>0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var cr=nr(fr,2);function lr(n,r,t){r=Pn(r,t);for(var e,u=nn(n),o=0,i=u.length;o<i;o++)if(r(n[e=u[o]],e,n))return e}function sr(n){return function(r,t,e){t=Pn(t,e);for(var u=Y(r),o=n>0?0:u-1;o>=0&&o<u;o+=n)if(t(r[o],o,r))return o;return-1}}var pr=sr(1),vr=sr(-1);function hr(n,r,t,e){for(var u=(t=Pn(t,e,1))(r),o=0,i=Y(n);o<i;){var a=Math.floor((o+i)/2);t(n[a])<u?o=a+1:i=a}return o}function yr(n,r,t){return function(e,u,o){var a=0,f=Y(e);if("number"==typeof o)n>0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o<f;o+=n)if(e[o]===u)return o;return-1}}var dr=yr(1,pr,hr),gr=yr(-1,vr);function br(n,r,t){var e=(tr(n)?pr:lr)(n,r,t);if(void 0!==e&&-1!==e)return n[e]}function mr(n,r,t){var e,u;if(r=Rn(r,t),tr(n))for(e=0,u=n.length;e<u;e++)r(n[e],e,n);else{var o=nn(n);for(e=0,u=o.length;e<u;e++)r(n[o[e]],o[e],n)}return n}function jr(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=Array(u),i=0;i<u;i++){var a=e?e[i]:i;o[i]=r(n[a],a,n)}return o}function _r(n){var r=function(r,t,e,u){var o=!tr(r)&&nn(r),i=(o||r).length,a=n>0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a<i;a+=n){var f=o?o[a]:a;e=t(e,r[f],f,r)}return e};return function(n,t,e,u){var o=arguments.length>=3;return r(n,Rn(t,u,4),e,o)}}var wr=_r(1),Ar=_r(-1);function xr(n,r,t){var e=[];return r=Pn(r,t),mr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Sr(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(!r(n[i],i,n))return!1}return!0}function Or(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(r(n[i],i,n))return!0}return!1}function Mr(n,r,t,e){return tr(n)||(n=jn(n)),("number"!=typeof t||e)&&(t=0),dr(n,r,t)>=0}var Er=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Bn(r),e=r.slice(0,-1),r=r[r.length-1]),jr(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=Nn(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Br(n,r){return jr(n,Dn(r))}function Nr(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;a<f;a++)null!=(e=n[a])&&e>o&&(o=e);else r=Pn(r,t),mr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}var Ir=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Tr(n){return n?U(n)?i.call(n):S(n)?n.match(Ir):tr(n)?jr(n,Tn):jn(n):[]}function kr(n,r,t){if(null==r||t)return tr(n)||(n=jn(n)),n[Un(n.length-1)];var e=Tr(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i<r;i++){var a=Un(i,o),f=e[i];e[i]=e[a],e[a]=f}return e.slice(0,r)}function Dr(n,r){return function(t,e,u){var o=r?[[],[]]:{};return e=Pn(e,u),mr(t,(function(r,u){var i=e(r,u,t);n(o,r,i)})),o}}var Rr=Dr((function(n,r,t){W(n,t)?n[t].push(r):n[t]=[r]})),Fr=Dr((function(n,r,t){n[t]=r})),Vr=Dr((function(n,r,t){W(n,t)?n[t]++:n[t]=1})),Pr=Dr((function(n,r,t){n[t?0:1].push(r)}),!0);function qr(n,r,t){return r in t}var Ur=j((function(n,r){var t={},e=r[0];if(null==n)return t;D(e)?(r.length>1&&(e=Rn(e,r[1])),r=an(n)):(e=qr,r=er(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u<o;u++){var i=r[u],a=n[i];e(a,i,n)&&(t[i]=a)}return t})),Wr=j((function(n,r){var t,e=r[0];return D(e)?(e=ar(e),r.length>1&&(t=r[1])):(r=jr(er(r,!1,!1),String),e=function(n,t){return!Mr(r,t)}),Ur(n,e,t)}));function zr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Lr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:zr(n,n.length-r)}function $r(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=er(r,!0,!0),xr(n,(function(n){return!Mr(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=Pn(t,e));for(var u=[],o=[],i=0,a=Y(n);i<a;i++){var f=n[i],c=t?t(f,i,n):f;r&&!t?(i&&o===c||u.push(f),o=c):t?Mr(o,c)||(o.push(c),u.push(f)):Mr(u,f)||u.push(f)}return u}var Gr=j((function(n){return Jr(er(n,!0,!0))}));function Hr(n){for(var r=n&&Nr(n,Y).length||0,t=Array(r),e=0;e<r;e++)t[e]=Br(n,e);return t}var Qr=j(Hr);function Xr(n,r){return n._chain?tn(r).chain():r}function Yr(n){return mr(wn(n),(function(r){var t=tn[r]=n[r];tn.prototype[r]=function(){var n=[this._wrapped];return o.apply(n,arguments),Xr(this,t.apply(tn,n))}})),tn}mr(["pop","push","reverse","shift","sort","splice","unshift"],(function(n){var r=t[n];tn.prototype[n]=function(){var t=this._wrapped;return null!=t&&(r.apply(t,arguments),"shift"!==n&&"splice"!==n||0!==t.length||delete t[0]),Xr(this,t)}})),mr(["concat","join","slice"],(function(n){var r=t[n];tn.prototype[n]=function(){var n=this._wrapped;return null!=n&&(n=r.apply(n,arguments)),Xr(this,n)}}));var Zr=Yr({__proto__:null,VERSION:n,restArguments:j,isObject:_,isNull:function(n){return null===n},isUndefined:w,isBoolean:A,isElement:function(n){return!(!n||1!==n.nodeType)},isString:S,isNumber:O,isDate:M,isRegExp:E,isError:B,isSymbol:N,isArrayBuffer:I,isDataView:q,isArray:U,isFunction:D,isArguments:L,isFinite:function(n){return!N(n)&&d(n)&&!isNaN(parseFloat(n))},isNaN:$,isTypedArray:X,isEmpty:function(n){if(null==n)return!0;var r=Y(n);return"number"==typeof r&&(U(n)||S(n)||L(n))?0===r:0===Y(nn(n))},isMatch:rn,isEqual:function(n,r){return on(n,r)},isMap:dn,isWeakMap:gn,isSet:bn,isWeakSet:mn,keys:nn,allKeys:an,values:jn,pairs:function(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=[r[u],n[r[u]]];return e},invert:_n,functions:wn,methods:wn,extend:xn,extendOwn:Sn,assign:Sn,defaults:On,create:function(n,r){var t=Mn(n);return r&&Sn(t,r),t},clone:function(n){return _(n)?U(n)?n.slice():xn({},n):n},tap:function(n,r){return r(n),n},get:In,has:function(n,r){for(var t=(r=Bn(r)).length,e=0;e<t;e++){var u=r[e];if(!W(n,u))return!1;n=n[u]}return!!t},mapObject:function(n,r,t){r=Pn(r,t);for(var e=nn(n),u=e.length,o={},i=0;i<u;i++){var a=e[i];o[a]=r(n[a],a,n)}return o},identity:Tn,constant:C,noop:qn,toPath:En,property:Dn,propertyOf:function(n){return null==n?qn:function(r){return In(n,r)}},matcher:kn,matches:kn,times:function(n,r,t){var e=Array(Math.max(0,n));r=Rn(r,t,1);for(var u=0;u<n;u++)e[u]=r(u);return e},random:Un,now:Wn,escape:$n,unescape:Cn,templateSettings:Kn,template:function(n,r,t){!r&&t&&(r=t),r=On({},r,tn.templateSettings);var e=RegExp([(r.escape||Jn).source,(r.interpolate||Jn).source,(r.evaluate||Jn).source].join("|")+"|$","g"),u=0,o="__p+='";n.replace(e,(function(r,t,e,i,a){return o+=n.slice(u,a).replace(Hn,Qn),u=a+r.length,t?o+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":e?o+="'+\n((__t=("+e+"))==null?'':__t)+\n'":i&&(o+="';\n"+i+"\n__p+='"),r})),o+="';\n";var i,a=r.variable;if(a){if(!Xn.test(a))throw new Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{i=new Function(a,"_",o)}catch(n){throw n.source=o,n}var f=function(n){return i.call(this,n,tn)};return f.source="function("+a+"){\n"+o+"}",f},result:function(n,r,t){var e=(r=Bn(r)).length;if(!e)return D(t)?t.call(n):t;for(var u=0;u<e;u++){var o=null==n?void 0:n[r[u]];void 0===o&&(o=t,u=e),n=D(o)?o.call(n):o}return n},uniqueId:function(n){var r=++Yn+"";return n?n+r:r},chain:function(n){var r=tn(n);return r._chain=!0,r},iteratee:Vn,partial:nr,bind:rr,bindAll:ur,memoize:function(n,r){var t=function(e){var u=t.cache,o=""+(r?r.apply(this,arguments):e);return W(u,o)||(u[o]=n.apply(this,arguments)),u[o]};return t.cache={},t},delay:or,defer:ir,throttle:function(n,r,t){var e,u,o,i,a=0;t||(t={});var f=function(){a=!1===t.leading?0:Wn(),e=null,i=n.apply(u,o),e||(u=o=null)},c=function(){var c=Wn();a||!1!==t.leading||(a=c);var l=r-(c-a);return u=this,o=arguments,l<=0||l>r?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=Wn()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=Wn(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return nr(r,n)},negate:ar,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:fr,once:cr,findKey:lr,findIndex:pr,findLastIndex:vr,sortedIndex:hr,indexOf:dr,lastIndexOf:gr,find:br,detect:br,findWhere:function(n,r){return br(n,kn(r))},each:mr,forEach:mr,map:jr,collect:jr,reduce:wr,foldl:wr,inject:wr,reduceRight:Ar,foldr:Ar,filter:xr,select:xr,reject:function(n,r,t){return xr(n,ar(Pn(r)),t)},every:Sr,all:Sr,some:Or,any:Or,contains:Mr,includes:Mr,include:Mr,invoke:Er,pluck:Br,where:function(n,r){return xr(n,kn(r))},max:Nr,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;a<f;a++)null!=(e=n[a])&&e<o&&(o=e);else r=Pn(r,t),mr(n,(function(n,t,e){((u=r(n,t,e))<i||u===1/0&&o===1/0)&&(o=n,i=u)}));return o},shuffle:function(n){return kr(n,1/0)},sample:kr,sortBy:function(n,r,t){var e=0;return r=Pn(r,t),Br(jr(n,(function(n,t,u){return{value:n,index:e++,criteria:r(n,t,u)}})).sort((function(n,r){var t=n.criteria,e=r.criteria;if(t!==e){if(t>e||void 0===t)return 1;if(t<e||void 0===e)return-1}return n.index-r.index})),"value")},groupBy:Rr,indexBy:Fr,countBy:Vr,partition:Pr,toArray:Tr,size:function(n){return null==n?0:tr(n)?n.length:nn(n).length},pick:Ur,omit:Wr,first:Lr,head:Lr,take:Lr,initial:zr,last:function(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[n.length-1]:$r(n,Math.max(0,n.length-r))},rest:$r,tail:$r,drop:$r,compact:function(n){return xr(n,Boolean)},flatten:function(n,r){return er(n,r,!1)},without:Kr,uniq:Jr,unique:Jr,union:Gr,intersection:function(n){for(var r=[],t=arguments.length,e=0,u=Y(n);e<u;e++){var o=n[e];if(!Mr(r,o)){var i;for(i=1;i<t&&Mr(arguments[i],o);i++);i===t&&r.push(o)}}return r},difference:Cr,unzip:Hr,transpose:Hr,zip:Qr,object:function(n,r){for(var t={},e=0,u=Y(n);e<u;e++)r?t[n[e]]=r[e]:t[n[e][0]]=n[e][1];return t},range:function(n,r,t){null==r&&(r=n||0,n=0),t||(t=r<n?-1:1);for(var e=Math.max(Math.ceil((r-n)/t),0),u=Array(e),o=0;o<e;o++,n+=t)u[o]=n;return u},chunk:function(n,r){if(null==r||r<1)return[];for(var t=[],e=0,u=n.length;e<u;)t.push(i.call(n,e,e+=r));return t},mixin:Yr,default:tn});return Zr._=Zr,Zr}));;
/**!

 @license
 handlebars v4.7.7

Copyright (C) 2011-2019 by Yehuda Katz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/
!function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define([],b):"object"==typeof exports?exports.Handlebars=b():a.Handlebars=b()}(this,function(){return function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="",b(0)}([function(a,b,c){"use strict";function d(){var a=r();return a.compile=function(b,c){return k.compile(b,c,a)},a.precompile=function(b,c){return k.precompile(b,c,a)},a.AST=i["default"],a.Compiler=k.Compiler,a.JavaScriptCompiler=m["default"],a.Parser=j.parser,a.parse=j.parse,a.parseWithoutProcessing=j.parseWithoutProcessing,a}var e=c(1)["default"];b.__esModule=!0;var f=c(2),g=e(f),h=c(45),i=e(h),j=c(46),k=c(51),l=c(52),m=e(l),n=c(49),o=e(n),p=c(44),q=e(p),r=g["default"].create,s=d();s.create=d,q["default"](s),s.Visitor=o["default"],s["default"]=s,b["default"]=s,a.exports=b["default"]},function(a,b){"use strict";b["default"]=function(a){return a&&a.__esModule?a:{"default":a}},b.__esModule=!0},function(a,b,c){"use strict";function d(){var a=new h.HandlebarsEnvironment;return n.extend(a,h),a.SafeString=j["default"],a.Exception=l["default"],a.Utils=n,a.escapeExpression=n.escapeExpression,a.VM=p,a.template=function(b){return p.template(b,a)},a}var e=c(3)["default"],f=c(1)["default"];b.__esModule=!0;var g=c(4),h=e(g),i=c(37),j=f(i),k=c(6),l=f(k),m=c(5),n=e(m),o=c(38),p=e(o),q=c(44),r=f(q),s=d();s.create=d,r["default"](s),s["default"]=s,b["default"]=s,a.exports=b["default"]},function(a,b){"use strict";b["default"]=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b},b.__esModule=!0},function(a,b,c){"use strict";function d(a,b,c){this.helpers=a||{},this.partials=b||{},this.decorators=c||{},i.registerDefaultHelpers(this),j.registerDefaultDecorators(this)}var e=c(1)["default"];b.__esModule=!0,b.HandlebarsEnvironment=d;var f=c(5),g=c(6),h=e(g),i=c(10),j=c(30),k=c(32),l=e(k),m=c(33),n="4.7.7";b.VERSION=n;var o=8;b.COMPILER_REVISION=o;var p=7;b.LAST_COMPATIBLE_COMPILER_REVISION=p;var q={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};b.REVISION_CHANGES=q;var r="[object Object]";d.prototype={constructor:d,logger:l["default"],log:l["default"].log,registerHelper:function(a,b){if(f.toString.call(a)===r){if(b)throw new h["default"]("Arg not supported with multiple helpers");f.extend(this.helpers,a)}else this.helpers[a]=b},unregisterHelper:function(a){delete this.helpers[a]},registerPartial:function(a,b){if(f.toString.call(a)===r)f.extend(this.partials,a);else{if("undefined"==typeof b)throw new h["default"]('Attempting to register a partial called "'+a+'" as undefined');this.partials[a]=b}},unregisterPartial:function(a){delete this.partials[a]},registerDecorator:function(a,b){if(f.toString.call(a)===r){if(b)throw new h["default"]("Arg not supported with multiple decorators");f.extend(this.decorators,a)}else this.decorators[a]=b},unregisterDecorator:function(a){delete this.decorators[a]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var s=l["default"].log;b.log=s,b.createFrame=f.createFrame,b.logger=l["default"]},function(a,b){"use strict";function c(a){return k[a]}function d(a){for(var b=1;b<arguments.length;b++)for(var c in arguments[b])Object.prototype.hasOwnProperty.call(arguments[b],c)&&(a[c]=arguments[b][c]);return a}function e(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1}function f(a){if("string"!=typeof a){if(a&&a.toHTML)return a.toHTML();if(null==a)return"";if(!a)return a+"";a=""+a}return m.test(a)?a.replace(l,c):a}function g(a){return!a&&0!==a||!(!p(a)||0!==a.length)}function h(a){var b=d({},a);return b._parent=a,b}function i(a,b){return a.path=b,a}function j(a,b){return(a?a+".":"")+b}b.__esModule=!0,b.extend=d,b.indexOf=e,b.escapeExpression=f,b.isEmpty=g,b.createFrame=h,b.blockParams=i,b.appendContextPath=j;var k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},l=/[&<>"'`=]/g,m=/[&<>"'`=]/,n=Object.prototype.toString;b.toString=n;var o=function(a){return"function"==typeof a};o(/x/)&&(b.isFunction=o=function(a){return"function"==typeof a&&"[object Function]"===n.call(a)}),b.isFunction=o;var p=Array.isArray||function(a){return!(!a||"object"!=typeof a)&&"[object Array]"===n.call(a)};b.isArray=p},function(a,b,c){"use strict";function d(a,b){var c=b&&b.loc,g=void 0,h=void 0,i=void 0,j=void 0;c&&(g=c.start.line,h=c.end.line,i=c.start.column,j=c.end.column,a+=" - "+g+":"+i);for(var k=Error.prototype.constructor.call(this,a),l=0;l<f.length;l++)this[f[l]]=k[f[l]];Error.captureStackTrace&&Error.captureStackTrace(this,d);try{c&&(this.lineNumber=g,this.endLineNumber=h,e?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:j,enumerable:!0})):(this.column=i,this.endColumn=j))}catch(m){}}var e=c(7)["default"];b.__esModule=!0;var f=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];d.prototype=new Error,b["default"]=d,a.exports=b["default"]},function(a,b,c){a.exports={"default":c(8),__esModule:!0}},function(a,b,c){var d=c(9);a.exports=function(a,b,c){return d.setDesc(a,b,c)}},function(a,b){var c=Object;a.exports={create:c.create,getProto:c.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:c.getOwnPropertyDescriptor,setDesc:c.defineProperty,setDescs:c.defineProperties,getKeys:c.keys,getNames:c.getOwnPropertyNames,getSymbols:c.getOwnPropertySymbols,each:[].forEach}},function(a,b,c){"use strict";function d(a){h["default"](a),j["default"](a),l["default"](a),n["default"](a),p["default"](a),r["default"](a),t["default"](a)}function e(a,b,c){a.helpers[b]&&(a.hooks[b]=a.helpers[b],c||delete a.helpers[b])}var f=c(1)["default"];b.__esModule=!0,b.registerDefaultHelpers=d,b.moveHelperToHooks=e;var g=c(11),h=f(g),i=c(12),j=f(i),k=c(25),l=f(k),m=c(26),n=f(m),o=c(27),p=f(o),q=c(28),r=f(q),s=c(29),t=f(s)},function(a,b,c){"use strict";b.__esModule=!0;var d=c(5);b["default"]=function(a){a.registerHelper("blockHelperMissing",function(b,c){var e=c.inverse,f=c.fn;if(b===!0)return f(this);if(b===!1||null==b)return e(this);if(d.isArray(b))return b.length>0?(c.ids&&(c.ids=[c.name]),a.helpers.each(b,c)):e(this);if(c.data&&c.ids){var g=d.createFrame(c.data);g.contextPath=d.appendContextPath(c.data.contextPath,c.name),c={data:g}}return f(b,c)})},a.exports=b["default"]},function(a,b,c){(function(d){"use strict";var e=c(13)["default"],f=c(1)["default"];b.__esModule=!0;var g=c(5),h=c(6),i=f(h);b["default"]=function(a){a.registerHelper("each",function(a,b){function c(b,c,d){l&&(l.key=b,l.index=c,l.first=0===c,l.last=!!d,m&&(l.contextPath=m+b)),k+=f(a[b],{data:l,blockParams:g.blockParams([a[b],b],[m+b,null])})}if(!b)throw new i["default"]("Must pass iterator to #each");var f=b.fn,h=b.inverse,j=0,k="",l=void 0,m=void 0;if(b.data&&b.ids&&(m=g.appendContextPath(b.data.contextPath,b.ids[0])+"."),g.isFunction(a)&&(a=a.call(this)),b.data&&(l=g.createFrame(b.data)),a&&"object"==typeof a)if(g.isArray(a))for(var n=a.length;j<n;j++)j in a&&c(j,j,j===a.length-1);else if(d.Symbol&&a[d.Symbol.iterator]){for(var o=[],p=a[d.Symbol.iterator](),q=p.next();!q.done;q=p.next())o.push(q.value);a=o;for(var n=a.length;j<n;j++)c(j,j,j===a.length-1)}else!function(){var b=void 0;e(a).forEach(function(a){void 0!==b&&c(b,j-1),b=a,j++}),void 0!==b&&c(b,j-1,!0)}();return 0===j&&(k=h(this)),k})},a.exports=b["default"]}).call(b,function(){return this}())},function(a,b,c){a.exports={"default":c(14),__esModule:!0}},function(a,b,c){c(15),a.exports=c(21).Object.keys},function(a,b,c){var d=c(16);c(18)("keys",function(a){return function(b){return a(d(b))}})},function(a,b,c){var d=c(17);a.exports=function(a){return Object(d(a))}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on  "+a);return a}},function(a,b,c){var d=c(19),e=c(21),f=c(24);a.exports=function(a,b){var c=(e.Object||{})[a]||Object[a],g={};g[a]=b(c),d(d.S+d.F*f(function(){c(1)}),"Object",g)}},function(a,b,c){var d=c(20),e=c(21),f=c(22),g="prototype",h=function(a,b,c){var i,j,k,l=a&h.F,m=a&h.G,n=a&h.S,o=a&h.P,p=a&h.B,q=a&h.W,r=m?e:e[b]||(e[b]={}),s=m?d:n?d[b]:(d[b]||{})[g];m&&(c=b);for(i in c)j=!l&&s&&i in s,j&&i in r||(k=j?s[i]:c[i],r[i]=m&&"function"!=typeof s[i]?c[i]:p&&j?f(k,d):q&&s[i]==k?function(a){var b=function(b){return this instanceof a?new a(b):a(b)};return b[g]=a[g],b}(k):o&&"function"==typeof k?f(Function.call,k):k,o&&((r[g]||(r[g]={}))[i]=k))};h.F=1,h.G=2,h.S=4,h.P=8,h.B=16,h.W=32,a.exports=h},function(a,b){var c=a.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b){var c=a.exports={version:"1.2.6"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(23);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){try{return!!a()}catch(b){return!0}}},function(a,b,c){"use strict";var d=c(1)["default"];b.__esModule=!0;var e=c(6),f=d(e);b["default"]=function(a){a.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new f["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},a.exports=b["default"]},function(a,b,c){"use strict";var d=c(1)["default"];b.__esModule=!0;var e=c(5),f=c(6),g=d(f);b["default"]=function(a){a.registerHelper("if",function(a,b){if(2!=arguments.length)throw new g["default"]("#if requires exactly one argument");return e.isFunction(a)&&(a=a.call(this)),!b.hash.includeZero&&!a||e.isEmpty(a)?b.inverse(this):b.fn(this)}),a.registerHelper("unless",function(b,c){if(2!=arguments.length)throw new g["default"]("#unless requires exactly one argument");return a.helpers["if"].call(this,b,{fn:c.inverse,inverse:c.fn,hash:c.hash})})},a.exports=b["default"]},function(a,b){"use strict";b.__esModule=!0,b["default"]=function(a){a.registerHelper("log",function(){for(var b=[void 0],c=arguments[arguments.length-1],d=0;d<arguments.length-1;d++)b.push(arguments[d]);var e=1;null!=c.hash.level?e=c.hash.level:c.data&&null!=c.data.level&&(e=c.data.level),b[0]=e,a.log.apply(a,b)})},a.exports=b["default"]},function(a,b){"use strict";b.__esModule=!0,b["default"]=function(a){a.registerHelper("lookup",function(a,b,c){return a?c.lookupProperty(a,b):a})},a.exports=b["default"]},function(a,b,c){"use strict";var d=c(1)["default"];b.__esModule=!0;var e=c(5),f=c(6),g=d(f);b["default"]=function(a){a.registerHelper("with",function(a,b){if(2!=arguments.length)throw new g["default"]("#with requires exactly one argument");e.isFunction(a)&&(a=a.call(this));var c=b.fn;if(e.isEmpty(a))return b.inverse(this);var d=b.data;return b.data&&b.ids&&(d=e.createFrame(b.data),d.contextPath=e.appendContextPath(b.data.contextPath,b.ids[0])),c(a,{data:d,blockParams:e.blockParams([a],[d&&d.contextPath])})})},a.exports=b["default"]},function(a,b,c){"use strict";function d(a){g["default"](a)}var e=c(1)["default"];b.__esModule=!0,b.registerDefaultDecorators=d;var f=c(31),g=e(f)},function(a,b,c){"use strict";b.__esModule=!0;var d=c(5);b["default"]=function(a){a.registerDecorator("inline",function(a,b,c,e){var f=a;return b.partials||(b.partials={},f=function(e,f){var g=c.partials;c.partials=d.extend({},g,b.partials);var h=a(e,f);return c.partials=g,h}),b.partials[e.args[0]]=e.fn,f})},a.exports=b["default"]},function(a,b,c){"use strict";b.__esModule=!0;var d=c(5),e={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(a){if("string"==typeof a){var b=d.indexOf(e.methodMap,a.toLowerCase());a=b>=0?b:parseInt(a,10)}return a},log:function(a){if(a=e.lookupLevel(a),"undefined"!=typeof console&&e.lookupLevel(e.level)<=a){var b=e.methodMap[a];console[b]||(b="log");for(var c=arguments.length,d=Array(c>1?c-1:0),f=1;f<c;f++)d[f-1]=arguments[f];console[b].apply(console,d)}}};b["default"]=e,a.exports=b["default"]},function(a,b,c){"use strict";function d(a){var b=i(null);b.constructor=!1,b.__defineGetter__=!1,b.__defineSetter__=!1,b.__lookupGetter__=!1;var c=i(null);return c.__proto__=!1,{properties:{whitelist:l.createNewLookupObject(c,a.allowedProtoProperties),defaultValue:a.allowProtoPropertiesByDefault},methods:{whitelist:l.createNewLookupObject(b,a.allowedProtoMethods),defaultValue:a.allowProtoMethodsByDefault}}}function e(a,b,c){return"function"==typeof a?f(b.methods,c):f(b.properties,c)}function f(a,b){return void 0!==a.whitelist[b]?a.whitelist[b]===!0:void 0!==a.defaultValue?a.defaultValue:(g(b),!1)}function g(a){o[a]!==!0&&(o[a]=!0,n.log("error",'Handlebars: Access has been denied to resolve the property "'+a+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}function h(){j(o).forEach(function(a){delete o[a]})}var i=c(34)["default"],j=c(13)["default"],k=c(3)["default"];b.__esModule=!0,b.createProtoAccessControl=d,b.resultIsAllowed=e,b.resetLoggedProperties=h;var l=c(36),m=c(32),n=k(m),o=i(null)},function(a,b,c){a.exports={"default":c(35),__esModule:!0}},function(a,b,c){var d=c(9);a.exports=function(a,b){return d.create(a,b)}},function(a,b,c){"use strict";function d(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return f.extend.apply(void 0,[e(null)].concat(b))}var e=c(34)["default"];b.__esModule=!0,b.createNewLookupObject=d;var f=c(5)},function(a,b){"use strict";function c(a){this.string=a}b.__esModule=!0,c.prototype.toString=c.prototype.toHTML=function(){return""+this.string},b["default"]=c,a.exports=b["default"]},function(a,b,c){"use strict";function d(a){var b=a&&a[0]||1,c=v.COMPILER_REVISION;if(!(b>=v.LAST_COMPATIBLE_COMPILER_REVISION&&b<=v.COMPILER_REVISION)){if(b<v.LAST_COMPATIBLE_COMPILER_REVISION){var d=v.REVISION_CHANGES[c],e=v.REVISION_CHANGES[b];throw new u["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+d+") or downgrade your runtime to an older version ("+e+").")}throw new u["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+a[1]+").")}}function e(a,b){function c(c,d,e){e.hash&&(d=s.extend({},d,e.hash),e.ids&&(e.ids[0]=!0)),c=b.VM.resolvePartial.call(this,c,d,e);var f=s.extend({},e,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),g=b.VM.invokePartial.call(this,c,d,f);if(null==g&&b.compile&&(e.partials[e.name]=b.compile(c,a.compilerOptions,b),g=e.partials[e.name](d,f)),null!=g){if(e.indent){for(var h=g.split("\n"),i=0,j=h.length;i<j&&(h[i]||i+1!==j);i++)h[i]=e.indent+h[i];g=h.join("\n")}return g}throw new u["default"]("The partial "+e.name+" could not be compiled when running in runtime-only mode")}function d(b){function c(b){return""+a.main(g,b,g.helpers,g.partials,f,i,h)}var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],f=e.data;d._setup(e),!e.partial&&a.useData&&(f=j(b,f));var h=void 0,i=a.useBlockParams?[]:void 0;return a.useDepths&&(h=e.depths?b!=e.depths[0]?[b].concat(e.depths):e.depths:[b]),(c=k(a.main,c,g,e.depths||[],f,i))(b,e)}if(!b)throw new u["default"]("No environment passed to template");if(!a||!a.main)throw new u["default"]("Unknown template object: "+typeof a);a.main.decorator=a.main_d,b.VM.checkRevision(a.compiler);var e=a.compiler&&7===a.compiler[0],g={strict:function(a,b,c){if(!(a&&b in a))throw new u["default"]('"'+b+'" not defined in '+a,{loc:c});return g.lookupProperty(a,b)},lookupProperty:function(a,b){var c=a[b];return null==c?c:Object.prototype.hasOwnProperty.call(a,b)?c:y.resultIsAllowed(c,g.protoAccessControl,b)?c:void 0},lookup:function(a,b){for(var c=a.length,d=0;d<c;d++){var e=a[d]&&g.lookupProperty(a[d],b);if(null!=e)return a[d][b]}},lambda:function(a,b){return"function"==typeof a?a.call(b):a},escapeExpression:s.escapeExpression,invokePartial:c,fn:function(b){var c=a[b];return c.decorator=a[b+"_d"],c},programs:[],program:function(a,b,c,d,e){var g=this.programs[a],h=this.fn(a);return b||e||d||c?g=f(this,a,h,b,c,d,e):g||(g=this.programs[a]=f(this,a,h)),g},data:function(a,b){for(;a&&b--;)a=a._parent;return a},mergeIfNeeded:function(a,b){var c=a||b;return a&&b&&a!==b&&(c=s.extend({},b,a)),c},nullContext:n({}),noop:b.VM.noop,compilerInfo:a.compiler};return d.isTop=!0,d._setup=function(c){if(c.partial)g.protoAccessControl=c.protoAccessControl,g.helpers=c.helpers,g.partials=c.partials,g.decorators=c.decorators,g.hooks=c.hooks;else{var d=s.extend({},b.helpers,c.helpers);l(d,g),g.helpers=d,a.usePartial&&(g.partials=g.mergeIfNeeded(c.partials,b.partials)),(a.usePartial||a.useDecorators)&&(g.decorators=s.extend({},b.decorators,c.decorators)),g.hooks={},g.protoAccessControl=y.createProtoAccessControl(c);var f=c.allowCallsToHelperMissing||e;w.moveHelperToHooks(g,"helperMissing",f),w.moveHelperToHooks(g,"blockHelperMissing",f)}},d._child=function(b,c,d,e){if(a.useBlockParams&&!d)throw new u["default"]("must pass block params");if(a.useDepths&&!e)throw new u["default"]("must pass parent depths");return f(g,b,a[b],c,0,d,e)},d}function f(a,b,c,d,e,f,g){function h(b){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],h=g;return!g||b==g[0]||b===a.nullContext&&null===g[0]||(h=[b].concat(g)),c(a,b,a.helpers,a.partials,e.data||d,f&&[e.blockParams].concat(f),h)}return h=k(c,h,a,g,d,f),h.program=b,h.depth=g?g.length:0,h.blockParams=e||0,h}function g(a,b,c){return a?a.call||c.name||(c.name=a,a=c.partials[a]):a="@partial-block"===c.name?c.data["partial-block"]:c.partials[c.name],a}function h(a,b,c){var d=c.data&&c.data["partial-block"];c.partial=!0,c.ids&&(c.data.contextPath=c.ids[0]||c.data.contextPath);var e=void 0;if(c.fn&&c.fn!==i&&!function(){c.data=v.createFrame(c.data);var a=c.fn;e=c.data["partial-block"]=function(b){var c=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return c.data=v.createFrame(c.data),c.data["partial-block"]=d,a(b,c)},a.partials&&(c.partials=s.extend({},c.partials,a.partials))}(),void 0===a&&e&&(a=e),void 0===a)throw new u["default"]("The partial "+c.name+" could not be found");if(a instanceof Function)return a(b,c)}function i(){return""}function j(a,b){return b&&"root"in b||(b=b?v.createFrame(b):{},b.root=a),b}function k(a,b,c,d,e,f){if(a.decorator){var g={};b=a.decorator(b,g,c,d&&d[0],e,f,d),s.extend(b,g)}return b}function l(a,b){o(a).forEach(function(c){var d=a[c];a[c]=m(d,b)})}function m(a,b){var c=b.lookupProperty;return x.wrapHelper(a,function(a){return s.extend({lookupProperty:c},a)})}var n=c(39)["default"],o=c(13)["default"],p=c(3)["default"],q=c(1)["default"];b.__esModule=!0,b.checkRevision=d,b.template=e,b.wrapProgram=f,b.resolvePartial=g,b.invokePartial=h,b.noop=i;var r=c(5),s=p(r),t=c(6),u=q(t),v=c(4),w=c(10),x=c(43),y=c(33)},function(a,b,c){a.exports={"default":c(40),__esModule:!0}},function(a,b,c){c(41),a.exports=c(21).Object.seal},function(a,b,c){var d=c(42);c(18)("seal",function(a){return function(b){return a&&d(b)?a(b):b}})},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){"use strict";function c(a,b){if("function"!=typeof a)return a;var c=function(){var c=arguments[arguments.length-1];return arguments[arguments.length-1]=b(c),a.apply(this,arguments)};return c}b.__esModule=!0,b.wrapHelper=c},function(a,b){(function(c){"use strict";b.__esModule=!0,b["default"]=function(a){var b="undefined"!=typeof c?c:window,d=b.Handlebars;a.noConflict=function(){return b.Handlebars===a&&(b.Handlebars=d),a}},a.exports=b["default"]}).call(b,function(){return this}())},function(a,b){"use strict";b.__esModule=!0;var c={helpers:{helperExpression:function(a){return"SubExpression"===a.type||("MustacheStatement"===a.type||"BlockStatement"===a.type)&&!!(a.params&&a.params.length||a.hash)},scopedId:function(a){return/^\.|this\b/.test(a.original)},simpleId:function(a){return 1===a.parts.length&&!c.helpers.scopedId(a)&&!a.depth}}};b["default"]=c,a.exports=b["default"]},function(a,b,c){"use strict";function d(a,b){if("Program"===a.type)return a;i["default"].yy=o,o.locInfo=function(a){return new o.SourceLocation(b&&b.srcName,a)};var c=i["default"].parse(a);return c}function e(a,b){var c=d(a,b),e=new k["default"](b);return e.accept(c)}var f=c(1)["default"],g=c(3)["default"];b.__esModule=!0,b.parseWithoutProcessing=d,b.parse=e;var h=c(47),i=f(h),j=c(48),k=f(j),l=c(50),m=g(l),n=c(5);b.parser=i["default"];var o={};n.extend(o,m)},function(a,b){"use strict";b.__esModule=!0;var c=function(){function a(){this.yy={}}var b={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 1:return f[h-1];case 2:this.$=d.prepareProgram(f[h]);break;case 3:this.$=f[h];break;case 4:this.$=f[h];break;case 5:this.$=f[h];break;case 6:this.$=f[h];break;case 7:this.$=f[h];break;case 8:this.$=f[h];break;case 9:this.$={type:"CommentStatement",value:d.stripComment(f[h]),strip:d.stripFlags(f[h],f[h]),loc:d.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:f[h],value:f[h],loc:d.locInfo(this._$)};break;case 11:this.$=d.prepareRawBlock(f[h-2],f[h-1],f[h],this._$);break;case 12:this.$={path:f[h-3],params:f[h-2],hash:f[h-1]};break;case 13:this.$=d.prepareBlock(f[h-3],f[h-2],f[h-1],f[h],!1,this._$);break;case 14:this.$=d.prepareBlock(f[h-3],f[h-2],f[h-1],f[h],!0,this._$);break;case 15:this.$={open:f[h-5],path:f[h-4],params:f[h-3],hash:f[h-2],blockParams:f[h-1],strip:d.stripFlags(f[h-5],f[h])};break;case 16:this.$={path:f[h-4],params:f[h-3],hash:f[h-2],blockParams:f[h-1],strip:d.stripFlags(f[h-5],f[h])};break;case 17:this.$={path:f[h-4],params:f[h-3],hash:f[h-2],blockParams:f[h-1],strip:d.stripFlags(f[h-5],f[h])};break;case 18:this.$={strip:d.stripFlags(f[h-1],f[h-1]),program:f[h]};break;case 19:var i=d.prepareBlock(f[h-2],f[h-1],f[h],f[h],!1,this._$),j=d.prepareProgram([i],f[h-1].loc);j.chained=!0,this.$={strip:f[h-2].strip,program:j,chain:!0};break;case 20:this.$=f[h];break;case 21:this.$={path:f[h-1],strip:d.stripFlags(f[h-2],f[h])};break;case 22:this.$=d.prepareMustache(f[h-3],f[h-2],f[h-1],f[h-4],d.stripFlags(f[h-4],f[h]),this._$);break;case 23:this.$=d.prepareMustache(f[h-3],f[h-2],f[h-1],f[h-4],d.stripFlags(f[h-4],f[h]),this._$);break;case 24:this.$={type:"PartialStatement",name:f[h-3],params:f[h-2],hash:f[h-1],indent:"",strip:d.stripFlags(f[h-4],f[h]),loc:d.locInfo(this._$)};break;case 25:this.$=d.preparePartialBlock(f[h-2],f[h-1],f[h],this._$);break;case 26:this.$={path:f[h-3],params:f[h-2],hash:f[h-1],strip:d.stripFlags(f[h-4],f[h])};break;case 27:this.$=f[h];break;case 28:this.$=f[h];break;case 29:this.$={type:"SubExpression",path:f[h-3],params:f[h-2],hash:f[h-1],loc:d.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:f[h],loc:d.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:d.id(f[h-2]),value:f[h],loc:d.locInfo(this._$)};break;case 32:this.$=d.id(f[h-1]);break;case 33:this.$=f[h];break;case 34:this.$=f[h];break;case 35:this.$={type:"StringLiteral",value:f[h],original:f[h],loc:d.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(f[h]),original:Number(f[h]),loc:d.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===f[h],original:"true"===f[h],loc:d.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:d.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:d.locInfo(this._$)};break;case 40:this.$=f[h];break;case 41:this.$=f[h];break;case 42:this.$=d.preparePath(!0,f[h],this._$);break;case 43:this.$=d.preparePath(!1,f[h],this._$);break;case 44:f[h-2].push({part:d.id(f[h]),original:f[h],separator:f[h-1]}),this.$=f[h-2];break;case 45:this.$=[{part:d.id(f[h]),original:f[h]}];break;case 46:this.$=[];break;case 47:f[h-1].push(f[h]);break;case 48:this.$=[];break;case 49:f[h-1].push(f[h]);break;case 50:this.$=[];break;case 51:f[h-1].push(f[h]);break;case 58:this.$=[];break;case 59:f[h-1].push(f[h]);break;case 64:this.$=[];break;case 65:f[h-1].push(f[h]);break;case 70:this.$=[];break;case 71:f[h-1].push(f[h]);break;case 78:this.$=[];break;case 79:f[h-1].push(f[h]);break;case 82:this.$=[];break;case 83:f[h-1].push(f[h]);break;case 86:this.$=[];break;case 87:f[h-1].push(f[h]);break;case 90:this.$=[];break;case 91:f[h-1].push(f[h]);break;case 94:this.$=[];break;case 95:f[h-1].push(f[h]);break;case 98:this.$=[f[h]];break;case 99:f[h-1].push(f[h]);break;case 100:this.$=[f[h]];break;case 101:f[h-1].push(f[h])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{
33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(a,b){throw new Error(a)},parse:function(a){function b(){var a;return a=c.lexer.lex()||1,"number"!=typeof a&&(a=c.symbols_[a]||a),a}var c=this,d=[0],e=[null],f=[],g=this.table,h="",i=0,j=0,k=0;this.lexer.setInput(a),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var l=this.lexer.yylloc;f.push(l);var m=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var n,o,p,q,r,s,t,u,v,w={};;){if(p=d[d.length-1],this.defaultActions[p]?q=this.defaultActions[p]:(null!==n&&"undefined"!=typeof n||(n=b()),q=g[p]&&g[p][n]),"undefined"==typeof q||!q.length||!q[0]){var x="";if(!k){v=[];for(s in g[p])this.terminals_[s]&&s>2&&v.push("'"+this.terminals_[s]+"'");x=this.lexer.showPosition?"Parse error on line "+(i+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[n]||n)+"'":"Parse error on line "+(i+1)+": Unexpected "+(1==n?"end of input":"'"+(this.terminals_[n]||n)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[n]||n,line:this.lexer.yylineno,loc:l,expected:v})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+n);switch(q[0]){case 1:d.push(n),e.push(this.lexer.yytext),f.push(this.lexer.yylloc),d.push(q[1]),n=null,o?(n=o,o=null):(j=this.lexer.yyleng,h=this.lexer.yytext,i=this.lexer.yylineno,l=this.lexer.yylloc,k>0&&k--);break;case 2:if(t=this.productions_[q[1]][1],w.$=e[e.length-t],w._$={first_line:f[f.length-(t||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(t||1)].first_column,last_column:f[f.length-1].last_column},m&&(w._$.range=[f[f.length-(t||1)].range[0],f[f.length-1].range[1]]),r=this.performAction.call(w,h,j,i,this.yy,q[1],e,f),"undefined"!=typeof r)return r;t&&(d=d.slice(0,-1*t*2),e=e.slice(0,-1*t),f=f.slice(0,-1*t)),d.push(this.productions_[q[1]][0]),e.push(w.$),f.push(w._$),u=g[d[d.length-2]][d[d.length-1]],d.push(u);break;case 3:return!0}}return!0}},c=function(){var a={EOF:1,parseError:function(a,b){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,b)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var b=a.match(/(?:\r\n?|\n).*/g);return b?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b-1),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),b=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,b,c,d,e;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),g=0;g<f.length&&(c=this._input.match(this.rules[f[g]]),!c||b&&!(c[0].length>b[0].length)||(b=c,d=g,this.options.flex));g++);return b?(e=b[0].match(/(?:\r\n?|\n).*/g),e&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-e[e.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],a=this.performAction.call(this,this.yy,this,f[d],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a?a:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return"undefined"!=typeof a?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return a.options={},a.performAction=function(a,b,c,d){function e(a,c){return b.yytext=b.yytext.substring(a,b.yyleng-c+a)}switch(c){case 0:if("\\\\"===b.yytext.slice(-2)?(e(0,1),this.begin("mu")):"\\"===b.yytext.slice(-1)?(e(0,1),this.begin("emu")):this.begin("mu"),b.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(e(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(b.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return b.yytext=e(1,2).replace(/\\"/g,'"'),80;case 32:return b.yytext=e(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return b.yytext=b.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},a.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],a.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},a}();return b.lexer=c,a.prototype=b,b.Parser=a,new a}();b["default"]=c,a.exports=b["default"]},function(a,b,c){"use strict";function d(){var a=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=a}function e(a,b,c){void 0===b&&(b=a.length);var d=a[b-1],e=a[b-2];return d?"ContentStatement"===d.type?(e||!c?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original):void 0:c}function f(a,b,c){void 0===b&&(b=-1);var d=a[b+1],e=a[b+2];return d?"ContentStatement"===d.type?(e||!c?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original):void 0:c}function g(a,b,c){var d=a[null==b?0:b+1];if(d&&"ContentStatement"===d.type&&(c||!d.rightStripped)){var e=d.value;d.value=d.value.replace(c?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==e}}function h(a,b,c){var d=a[null==b?a.length-1:b-1];if(d&&"ContentStatement"===d.type&&(c||!d.leftStripped)){var e=d.value;return d.value=d.value.replace(c?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==e,d.leftStripped}}var i=c(1)["default"];b.__esModule=!0;var j=c(49),k=i(j);d.prototype=new k["default"],d.prototype.Program=function(a){var b=!this.options.ignoreStandalone,c=!this.isRootSeen;this.isRootSeen=!0;for(var d=a.body,i=0,j=d.length;i<j;i++){var k=d[i],l=this.accept(k);if(l){var m=e(d,i,c),n=f(d,i,c),o=l.openStandalone&&m,p=l.closeStandalone&&n,q=l.inlineStandalone&&m&&n;l.close&&g(d,i,!0),l.open&&h(d,i,!0),b&&q&&(g(d,i),h(d,i)&&"PartialStatement"===k.type&&(k.indent=/([ \t]+$)/.exec(d[i-1].original)[1])),b&&o&&(g((k.program||k.inverse).body),h(d,i)),b&&p&&(g(d,i),h((k.inverse||k.program).body))}}return a},d.prototype.BlockStatement=d.prototype.DecoratorBlock=d.prototype.PartialBlockStatement=function(a){this.accept(a.program),this.accept(a.inverse);var b=a.program||a.inverse,c=a.program&&a.inverse,d=c,i=c;if(c&&c.chained)for(d=c.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var j={open:a.openStrip.open,close:a.closeStrip.close,openStandalone:f(b.body),closeStandalone:e((d||b).body)};if(a.openStrip.close&&g(b.body,null,!0),c){var k=a.inverseStrip;k.open&&h(b.body,null,!0),k.close&&g(d.body,null,!0),a.closeStrip.open&&h(i.body,null,!0),!this.options.ignoreStandalone&&e(b.body)&&f(d.body)&&(h(b.body),g(d.body))}else a.closeStrip.open&&h(b.body,null,!0);return j},d.prototype.Decorator=d.prototype.MustacheStatement=function(a){return a.strip},d.prototype.PartialStatement=d.prototype.CommentStatement=function(a){var b=a.strip||{};return{inlineStandalone:!0,open:b.open,close:b.close}},b["default"]=d,a.exports=b["default"]},function(a,b,c){"use strict";function d(){this.parents=[]}function e(a){this.acceptRequired(a,"path"),this.acceptArray(a.params),this.acceptKey(a,"hash")}function f(a){e.call(this,a),this.acceptKey(a,"program"),this.acceptKey(a,"inverse")}function g(a){this.acceptRequired(a,"name"),this.acceptArray(a.params),this.acceptKey(a,"hash")}var h=c(1)["default"];b.__esModule=!0;var i=c(6),j=h(i);d.prototype={constructor:d,mutating:!1,acceptKey:function(a,b){var c=this.accept(a[b]);if(this.mutating){if(c&&!d.prototype[c.type])throw new j["default"]('Unexpected node type "'+c.type+'" found when accepting '+b+" on "+a.type);a[b]=c}},acceptRequired:function(a,b){if(this.acceptKey(a,b),!a[b])throw new j["default"](a.type+" requires "+b)},acceptArray:function(a){for(var b=0,c=a.length;b<c;b++)this.acceptKey(a,b),a[b]||(a.splice(b,1),b--,c--)},accept:function(a){if(a){if(!this[a.type])throw new j["default"]("Unknown type: "+a.type,a);this.current&&this.parents.unshift(this.current),this.current=a;var b=this[a.type](a);return this.current=this.parents.shift(),!this.mutating||b?b:b!==!1?a:void 0}},Program:function(a){this.acceptArray(a.body)},MustacheStatement:e,Decorator:e,BlockStatement:f,DecoratorBlock:f,PartialStatement:g,PartialBlockStatement:function(a){g.call(this,a),this.acceptKey(a,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:e,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(a){this.acceptArray(a.pairs)},HashPair:function(a){this.acceptRequired(a,"value")}},b["default"]=d,a.exports=b["default"]},function(a,b,c){"use strict";function d(a,b){if(b=b.path?b.path.original:b,a.path.original!==b){var c={loc:a.path.loc};throw new q["default"](a.path.original+" doesn't match "+b,c)}}function e(a,b){this.source=a,this.start={line:b.first_line,column:b.first_column},this.end={line:b.last_line,column:b.last_column}}function f(a){return/^\[.*\]$/.test(a)?a.substring(1,a.length-1):a}function g(a,b){return{open:"~"===a.charAt(2),close:"~"===b.charAt(b.length-3)}}function h(a){return a.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function i(a,b,c){c=this.locInfo(c);for(var d=a?"@":"",e=[],f=0,g=0,h=b.length;g<h;g++){var i=b[g].part,j=b[g].original!==i;if(d+=(b[g].separator||"")+i,j||".."!==i&&"."!==i&&"this"!==i)e.push(i);else{if(e.length>0)throw new q["default"]("Invalid path: "+d,{loc:c});".."===i&&f++}}return{type:"PathExpression",data:a,depth:f,parts:e,original:d,loc:c}}function j(a,b,c,d,e,f){var g=d.charAt(3)||d.charAt(2),h="{"!==g&&"&"!==g,i=/\*/.test(d);return{type:i?"Decorator":"MustacheStatement",path:a,params:b,hash:c,escaped:h,strip:e,loc:this.locInfo(f)}}function k(a,b,c,e){d(a,c),e=this.locInfo(e);var f={type:"Program",body:b,strip:{},loc:e};return{type:"BlockStatement",path:a.path,params:a.params,hash:a.hash,program:f,openStrip:{},inverseStrip:{},closeStrip:{},loc:e}}function l(a,b,c,e,f,g){e&&e.path&&d(a,e);var h=/\*/.test(a.open);b.blockParams=a.blockParams;var i=void 0,j=void 0;if(c){if(h)throw new q["default"]("Unexpected inverse block on decorator",c);c.chain&&(c.program.body[0].closeStrip=e.strip),j=c.strip,i=c.program}return f&&(f=i,i=b,b=f),{type:h?"DecoratorBlock":"BlockStatement",path:a.path,params:a.params,hash:a.hash,program:b,inverse:i,openStrip:a.strip,inverseStrip:j,closeStrip:e&&e.strip,loc:this.locInfo(g)}}function m(a,b){if(!b&&a.length){var c=a[0].loc,d=a[a.length-1].loc;c&&d&&(b={source:c.source,start:{line:c.start.line,column:c.start.column},end:{line:d.end.line,column:d.end.column}})}return{type:"Program",body:a,strip:{},loc:b}}function n(a,b,c,e){return d(a,c),{type:"PartialBlockStatement",name:a.path,params:a.params,hash:a.hash,program:b,openStrip:a.strip,closeStrip:c&&c.strip,loc:this.locInfo(e)}}var o=c(1)["default"];b.__esModule=!0,b.SourceLocation=e,b.id=f,b.stripFlags=g,b.stripComment=h,b.preparePath=i,b.prepareMustache=j,b.prepareRawBlock=k,b.prepareBlock=l,b.prepareProgram=m,b.preparePartialBlock=n;var p=c(6),q=o(p)},function(a,b,c){"use strict";function d(){}function e(a,b,c){if(null==a||"string"!=typeof a&&"Program"!==a.type)throw new l["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+a);b=b||{},"data"in b||(b.data=!0),b.compat&&(b.useDepths=!0);var d=c.parse(a,b),e=(new c.Compiler).compile(d,b);return(new c.JavaScriptCompiler).compile(e,b)}function f(a,b,c){function d(){var d=c.parse(a,b),e=(new c.Compiler).compile(d,b),f=(new c.JavaScriptCompiler).compile(e,b,void 0,!0);return c.template(f)}function e(a,b){return f||(f=d()),f.call(this,a,b)}if(void 0===b&&(b={}),null==a||"string"!=typeof a&&"Program"!==a.type)throw new l["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+a);b=m.extend({},b),"data"in b||(b.data=!0),b.compat&&(b.useDepths=!0);var f=void 0;return e._setup=function(a){return f||(f=d()),f._setup(a)},e._child=function(a,b,c,e){return f||(f=d()),f._child(a,b,c,e)},e}function g(a,b){if(a===b)return!0;if(m.isArray(a)&&m.isArray(b)&&a.length===b.length){for(var c=0;c<a.length;c++)if(!g(a[c],b[c]))return!1;return!0}}function h(a){if(!a.path.parts){var b=a.path;a.path={type:"PathExpression",data:!1,depth:0,parts:[b.original+""],original:b.original+"",loc:b.loc}}}var i=c(34)["default"],j=c(1)["default"];b.__esModule=!0,b.Compiler=d,b.precompile=e,b.compile=f;var k=c(6),l=j(k),m=c(5),n=c(45),o=j(n),p=[].slice;d.prototype={compiler:d,equals:function(a){var b=this.opcodes.length;if(a.opcodes.length!==b)return!1;for(var c=0;c<b;c++){var d=this.opcodes[c],e=a.opcodes[c];if(d.opcode!==e.opcode||!g(d.args,e.args))return!1}b=this.children.length;for(var c=0;c<b;c++)if(!this.children[c].equals(a.children[c]))return!1;return!0},guid:0,compile:function(a,b){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=b,this.stringParams=b.stringParams,this.trackIds=b.trackIds,b.blockParams=b.blockParams||[],b.knownHelpers=m.extend(i(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},b.knownHelpers),this.accept(a)},compileProgram:function(a){var b=new this.compiler,c=b.compile(a,this.options),d=this.guid++;return this.usePartial=this.usePartial||c.usePartial,this.children[d]=c,this.useDepths=this.useDepths||c.useDepths,d},accept:function(a){if(!this[a.type])throw new l["default"]("Unknown type: "+a.type,a);this.sourceNode.unshift(a);var b=this[a.type](a);return this.sourceNode.shift(),b},Program:function(a){this.options.blockParams.unshift(a.blockParams);for(var b=a.body,c=b.length,d=0;d<c;d++)this.accept(b[d]);return this.options.blockParams.shift(),this.isSimple=1===c,this.blockParams=a.blockParams?a.blockParams.length:0,this},BlockStatement:function(a){h(a);var b=a.program,c=a.inverse;b=b&&this.compileProgram(b),c=c&&this.compileProgram(c);var d=this.classifySexpr(a);"helper"===d?this.helperSexpr(a,b,c):"simple"===d?(this.simpleSexpr(a),this.opcode("pushProgram",b),this.opcode("pushProgram",c),this.opcode("emptyHash"),this.opcode("blockValue",a.path.original)):(this.ambiguousSexpr(a,b,c),this.opcode("pushProgram",b),this.opcode("pushProgram",c),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(a){var b=a.program&&this.compileProgram(a.program),c=this.setupFullMustacheParams(a,b,void 0),d=a.path;this.useDecorators=!0,this.opcode("registerDecorator",c.length,d.original)},PartialStatement:function(a){this.usePartial=!0;var b=a.program;b&&(b=this.compileProgram(a.program));var c=a.params;if(c.length>1)throw new l["default"]("Unsupported number of partial arguments: "+c.length,a);c.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):c.push({type:"PathExpression",parts:[],depth:0}));var d=a.name.original,e="SubExpression"===a.name.type;e&&this.accept(a.name),this.setupFullMustacheParams(a,b,void 0,!0);var f=a.indent||"";this.options.preventIndent&&f&&(this.opcode("appendContent",f),f=""),this.opcode("invokePartial",e,d,f),this.opcode("append")},PartialBlockStatement:function(a){this.PartialStatement(a)},MustacheStatement:function(a){this.SubExpression(a),a.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(a){this.DecoratorBlock(a)},ContentStatement:function(a){a.value&&this.opcode("appendContent",a.value)},CommentStatement:function(){},SubExpression:function(a){h(a);var b=this.classifySexpr(a);"simple"===b?this.simpleSexpr(a):"helper"===b?this.helperSexpr(a):this.ambiguousSexpr(a)},ambiguousSexpr:function(a,b,c){var d=a.path,e=d.parts[0],f=null!=b||null!=c;this.opcode("getContext",d.depth),this.opcode("pushProgram",b),this.opcode("pushProgram",c),d.strict=!0,this.accept(d),this.opcode("invokeAmbiguous",e,f)},simpleSexpr:function(a){var b=a.path;b.strict=!0,this.accept(b),this.opcode("resolvePossibleLambda")},helperSexpr:function(a,b,c){var d=this.setupFullMustacheParams(a,b,c),e=a.path,f=e.parts[0];if(this.options.knownHelpers[f])this.opcode("invokeKnownHelper",d.length,f);else{if(this.options.knownHelpersOnly)throw new l["default"]("You specified knownHelpersOnly, but used the unknown helper "+f,a);e.strict=!0,e.falsy=!0,this.accept(e),this.opcode("invokeHelper",d.length,e.original,o["default"].helpers.simpleId(e))}},PathExpression:function(a){this.addDepth(a.depth),this.opcode("getContext",a.depth);var b=a.parts[0],c=o["default"].helpers.scopedId(a),d=!a.depth&&!c&&this.blockParamIndex(b);d?this.opcode("lookupBlockParam",d,a.parts):b?a.data?(this.options.data=!0,this.opcode("lookupData",a.depth,a.parts,a.strict)):this.opcode("lookupOnContext",a.parts,a.falsy,a.strict,c):this.opcode("pushContext")},StringLiteral:function(a){this.opcode("pushString",a.value)},NumberLiteral:function(a){this.opcode("pushLiteral",a.value)},BooleanLiteral:function(a){this.opcode("pushLiteral",a.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(a){var b=a.pairs,c=0,d=b.length;for(this.opcode("pushHash");c<d;c++)this.pushParam(b[c].value);for(;c--;)this.opcode("assignToHash",b[c].key);this.opcode("popHash")},opcode:function(a){this.opcodes.push({opcode:a,args:p.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(a){a&&(this.useDepths=!0)},classifySexpr:function(a){var b=o["default"].helpers.simpleId(a.path),c=b&&!!this.blockParamIndex(a.path.parts[0]),d=!c&&o["default"].helpers.helperExpression(a),e=!c&&(d||b);if(e&&!d){var f=a.path.parts[0],g=this.options;g.knownHelpers[f]?d=!0:g.knownHelpersOnly&&(e=!1)}return d?"helper":e?"ambiguous":"simple"},pushParams:function(a){for(var b=0,c=a.length;b<c;b++)this.pushParam(a[b])},pushParam:function(a){var b=null!=a.value?a.value:a.original||"";if(this.stringParams)b.replace&&(b=b.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),a.depth&&this.addDepth(a.depth),this.opcode("getContext",a.depth||0),this.opcode("pushStringParam",b,a.type),"SubExpression"===a.type&&this.accept(a);else{if(this.trackIds){var c=void 0;if(!a.parts||o["default"].helpers.scopedId(a)||a.depth||(c=this.blockParamIndex(a.parts[0])),c){var d=a.parts.slice(1).join(".");this.opcode("pushId","BlockParam",c,d)}else b=a.original||b,b.replace&&(b=b.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",a.type,b)}this.accept(a)}},setupFullMustacheParams:function(a,b,c,d){var e=a.params;return this.pushParams(e),this.opcode("pushProgram",b),this.opcode("pushProgram",c),a.hash?this.accept(a.hash):this.opcode("emptyHash",d),e},blockParamIndex:function(a){for(var b=0,c=this.options.blockParams.length;b<c;b++){var d=this.options.blockParams[b],e=d&&m.indexOf(d,a);if(d&&e>=0)return[b,e]}}}},function(a,b,c){"use strict";function d(a){this.value=a}function e(){}function f(a,b,c,d){var e=b.popStack(),f=0,g=c.length;for(a&&g--;f<g;f++)e=b.nameLookup(e,c[f],d);return a?[b.aliasable("container.strict"),"(",e,", ",b.quotedString(c[f]),", ",JSON.stringify(b.source.currentLocation)," )"]:e}var g=c(13)["default"],h=c(1)["default"];b.__esModule=!0;var i=c(4),j=c(6),k=h(j),l=c(5),m=c(53),n=h(m);e.prototype={nameLookup:function(a,b){return this.internalNameLookup(a,b)},depthedLookup:function(a){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(a),")"]},compilerInfo:function(){var a=i.COMPILER_REVISION,b=i.REVISION_CHANGES[a];return[a,b]},appendToBuffer:function(a,b,c){return l.isArray(a)||(a=[a]),a=this.source.wrap(a,b),this.environment.isSimple?["return ",a,";"]:c?["buffer += ",a,";"]:(a.appendToBuffer=!0,a)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(a,b){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",a,",",JSON.stringify(b),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(a,b,c,d){this.environment=a,this.options=b,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!d,this.name=this.environment.name,this.isChild=!!c,this.context=c||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(a,b),this.useDepths=this.useDepths||a.useDepths||a.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||a.useBlockParams;var e=a.opcodes,f=void 0,g=void 0,h=void 0,i=void 0;for(h=0,i=e.length;h<i;h++)f=e[h],this.source.currentLocation=f.loc,g=g||f.loc,this[f.opcode].apply(this,f.args);if(this.source.currentLocation=g,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new k["default"]("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),
this.decorators.push("return fn;"),d?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var j=this.createFunctionContext(d);if(this.isChild)return j;var l={compiler:this.compilerInfo(),main:j};this.decorators&&(l.main_d=this.decorators,l.useDecorators=!0);var m=this.context,n=m.programs,o=m.decorators;for(h=0,i=n.length;h<i;h++)n[h]&&(l[h]=n[h],o[h]&&(l[h+"_d"]=o[h],l.useDecorators=!0));return this.environment.usePartial&&(l.usePartial=!0),this.options.data&&(l.useData=!0),this.useDepths&&(l.useDepths=!0),this.useBlockParams&&(l.useBlockParams=!0),this.options.compat&&(l.compat=!0),d?l.compilerOptions=this.options:(l.compiler=JSON.stringify(l.compiler),this.source.currentLocation={start:{line:1,column:0}},l=this.objectLiteral(l),b.srcName?(l=l.toStringWithSourceMap({file:b.destName}),l.map=l.map&&l.map.toString()):l=l.toString()),l},preamble:function(){this.lastContext=0,this.source=new n["default"](this.options.srcName),this.decorators=new n["default"](this.options.srcName)},createFunctionContext:function(a){var b=this,c="",d=this.stackVars.concat(this.registers.list);d.length>0&&(c+=", "+d.join(", "));var e=0;g(this.aliases).forEach(function(a){var d=b.aliases[a];d.children&&d.referenceCount>1&&(c+=", alias"+ ++e+"="+a,d.children[0]="alias"+e)}),this.lookupPropertyFunctionIsUsed&&(c+=", "+this.lookupPropertyFunctionVarDeclaration());var f=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&f.push("blockParams"),this.useDepths&&f.push("depths");var h=this.mergeSource(c);return a?(f.push(h),Function.apply(this,f)):this.source.wrap(["function(",f.join(","),") {\n  ",h,"}"])},mergeSource:function(a){var b=this.environment.isSimple,c=!this.forceBuffer,d=void 0,e=void 0,f=void 0,g=void 0;return this.source.each(function(a){a.appendToBuffer?(f?a.prepend("  + "):f=a,g=a):(f&&(e?f.prepend("buffer += "):d=!0,g.add(";"),f=g=void 0),e=!0,b||(c=!1))}),c?f?(f.prepend("return "),g.add(";")):e||this.source.push('return "";'):(a+=", buffer = "+(d?"":this.initializeBuffer()),f?(f.prepend("return buffer + "),g.add(";")):this.source.push("return buffer;")),a&&this.source.prepend("var "+a.substring(2)+(d?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n      lookupProperty = container.lookupProperty || function(parent, propertyName) {\n        if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n          return parent[propertyName];\n        }\n        return undefined\n    }\n    ".trim()},blockValue:function(a){var b=this.aliasable("container.hooks.blockHelperMissing"),c=[this.contextName(0)];this.setupHelperArgs(a,0,c);var d=this.popStack();c.splice(1,0,d),this.push(this.source.functionCall(b,"call",c))},ambiguousBlockValue:function(){var a=this.aliasable("container.hooks.blockHelperMissing"),b=[this.contextName(0)];this.setupHelperArgs("",0,b,!0),this.flushInline();var c=this.topStack();b.splice(1,0,c),this.pushSource(["if (!",this.lastHelper,") { ",c," = ",this.source.functionCall(a,"call",b),"}"])},appendContent:function(a){this.pendingContent?a=this.pendingContent+a:this.pendingLocation=this.source.currentLocation,this.pendingContent=a},append:function(){if(this.isInline())this.replaceStack(function(a){return[" != null ? ",a,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var a=this.popStack();this.pushSource(["if (",a," != null) { ",this.appendToBuffer(a,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(a){this.lastContext=a},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(a,b,c,d){var e=0;d||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(a[e++])),this.resolvePath("context",a,e,b,c)},lookupBlockParam:function(a,b){this.useBlockParams=!0,this.push(["blockParams[",a[0],"][",a[1],"]"]),this.resolvePath("context",b,1)},lookupData:function(a,b,c){a?this.pushStackLiteral("container.data(data, "+a+")"):this.pushStackLiteral("data"),this.resolvePath("data",b,0,!0,c)},resolvePath:function(a,b,c,d,e){var g=this;if(this.options.strict||this.options.assumeObjects)return void this.push(f(this.options.strict&&e,this,b,a));for(var h=b.length;c<h;c++)this.replaceStack(function(e){var f=g.nameLookup(e,b[c],a);return d?[" && ",f]:[" != null ? ",f," : ",e]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(a,b){this.pushContext(),this.pushString(b),"SubExpression"!==b&&("string"==typeof a?this.pushString(a):this.pushStackLiteral(a))},emptyHash:function(a){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(a?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var a=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(a.ids)),this.stringParams&&(this.push(this.objectLiteral(a.contexts)),this.push(this.objectLiteral(a.types))),this.push(this.objectLiteral(a.values))},pushString:function(a){this.pushStackLiteral(this.quotedString(a))},pushLiteral:function(a){this.pushStackLiteral(a)},pushProgram:function(a){null!=a?this.pushStackLiteral(this.programExpression(a)):this.pushStackLiteral(null)},registerDecorator:function(a,b){var c=this.nameLookup("decorators",b,"decorator"),d=this.setupHelperArgs(b,a);this.decorators.push(["fn = ",this.decorators.functionCall(c,"",["fn","props","container",d])," || fn;"])},invokeHelper:function(a,b,c){var d=this.popStack(),e=this.setupHelper(a,b),f=[];c&&f.push(e.name),f.push(d),this.options.strict||f.push(this.aliasable("container.hooks.helperMissing"));var g=["(",this.itemsSeparatedBy(f,"||"),")"],h=this.source.functionCall(g,"call",e.callParams);this.push(h)},itemsSeparatedBy:function(a,b){var c=[];c.push(a[0]);for(var d=1;d<a.length;d++)c.push(b,a[d]);return c},invokeKnownHelper:function(a,b){var c=this.setupHelper(a,b);this.push(this.source.functionCall(c.name,"call",c.callParams))},invokeAmbiguous:function(a,b){this.useRegister("helper");var c=this.popStack();this.emptyHash();var d=this.setupHelper(0,a,b),e=this.lastHelper=this.nameLookup("helpers",a,"helper"),f=["(","(helper = ",e," || ",c,")"];this.options.strict||(f[0]="(helper = ",f.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",f,d.paramsInit?["),(",d.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",d.callParams)," : helper))"])},invokePartial:function(a,b,c){var d=[],e=this.setupParams(b,1,d);a&&(b=this.popStack(),delete e.name),c&&(e.indent=JSON.stringify(c)),e.helpers="helpers",e.partials="partials",e.decorators="container.decorators",a?d.unshift(b):d.unshift(this.nameLookup("partials",b,"partial")),this.options.compat&&(e.depths="depths"),e=this.objectLiteral(e),d.push(e),this.push(this.source.functionCall("container.invokePartial","",d))},assignToHash:function(a){var b=this.popStack(),c=void 0,d=void 0,e=void 0;this.trackIds&&(e=this.popStack()),this.stringParams&&(d=this.popStack(),c=this.popStack());var f=this.hash;c&&(f.contexts[a]=c),d&&(f.types[a]=d),e&&(f.ids[a]=e),f.values[a]=b},pushId:function(a,b,c){"BlockParam"===a?this.pushStackLiteral("blockParams["+b[0]+"].path["+b[1]+"]"+(c?" + "+JSON.stringify("."+c):"")):"PathExpression"===a?this.pushString(b):"SubExpression"===a?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:e,compileChildren:function(a,b){for(var c=a.children,d=void 0,e=void 0,f=0,g=c.length;f<g;f++){d=c[f],e=new this.compiler;var h=this.matchExistingProgram(d);if(null==h){this.context.programs.push("");var i=this.context.programs.length;d.index=i,d.name="program"+i,this.context.programs[i]=e.compile(d,b,this.context,!this.precompile),this.context.decorators[i]=e.decorators,this.context.environments[i]=d,this.useDepths=this.useDepths||e.useDepths,this.useBlockParams=this.useBlockParams||e.useBlockParams,d.useDepths=this.useDepths,d.useBlockParams=this.useBlockParams}else d.index=h.index,d.name="program"+h.index,this.useDepths=this.useDepths||h.useDepths,this.useBlockParams=this.useBlockParams||h.useBlockParams}},matchExistingProgram:function(a){for(var b=0,c=this.context.environments.length;b<c;b++){var d=this.context.environments[b];if(d&&d.equals(a))return d}},programExpression:function(a){var b=this.environment.children[a],c=[b.index,"data",b.blockParams];return(this.useBlockParams||this.useDepths)&&c.push("blockParams"),this.useDepths&&c.push("depths"),"container.program("+c.join(", ")+")"},useRegister:function(a){this.registers[a]||(this.registers[a]=!0,this.registers.list.push(a))},push:function(a){return a instanceof d||(a=this.source.wrap(a)),this.inlineStack.push(a),a},pushStackLiteral:function(a){this.push(new d(a))},pushSource:function(a){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),a&&this.source.push(a)},replaceStack:function(a){var b=["("],c=void 0,e=void 0,f=void 0;if(!this.isInline())throw new k["default"]("replaceStack on non-inline");var g=this.popStack(!0);if(g instanceof d)c=[g.value],b=["(",c],f=!0;else{e=!0;var h=this.incrStack();b=["((",this.push(h)," = ",g,")"],c=this.topStack()}var i=a.call(this,c);f||this.popStack(),e&&this.stackSlot--,this.push(b.concat(i,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var a=this.inlineStack;this.inlineStack=[];for(var b=0,c=a.length;b<c;b++){var e=a[b];if(e instanceof d)this.compileStack.push(e);else{var f=this.incrStack();this.pushSource([f," = ",e,";"]),this.compileStack.push(f)}}},isInline:function(){return this.inlineStack.length},popStack:function(a){var b=this.isInline(),c=(b?this.inlineStack:this.compileStack).pop();if(!a&&c instanceof d)return c.value;if(!b){if(!this.stackSlot)throw new k["default"]("Invalid stack pop");this.stackSlot--}return c},topStack:function(){var a=this.isInline()?this.inlineStack:this.compileStack,b=a[a.length-1];return b instanceof d?b.value:b},contextName:function(a){return this.useDepths&&a?"depths["+a+"]":"depth"+a},quotedString:function(a){return this.source.quotedString(a)},objectLiteral:function(a){return this.source.objectLiteral(a)},aliasable:function(a){var b=this.aliases[a];return b?(b.referenceCount++,b):(b=this.aliases[a]=this.source.wrap(a),b.aliasable=!0,b.referenceCount=1,b)},setupHelper:function(a,b,c){var d=[],e=this.setupHelperArgs(b,a,d,c),f=this.nameLookup("helpers",b,"helper"),g=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:d,paramsInit:e,name:f,callParams:[g].concat(d)}},setupParams:function(a,b,c){var d={},e=[],f=[],g=[],h=!c,i=void 0;h&&(c=[]),d.name=this.quotedString(a),d.hash=this.popStack(),this.trackIds&&(d.hashIds=this.popStack()),this.stringParams&&(d.hashTypes=this.popStack(),d.hashContexts=this.popStack());var j=this.popStack(),k=this.popStack();(k||j)&&(d.fn=k||"container.noop",d.inverse=j||"container.noop");for(var l=b;l--;)i=this.popStack(),c[l]=i,this.trackIds&&(g[l]=this.popStack()),this.stringParams&&(f[l]=this.popStack(),e[l]=this.popStack());return h&&(d.args=this.source.generateArray(c)),this.trackIds&&(d.ids=this.source.generateArray(g)),this.stringParams&&(d.types=this.source.generateArray(f),d.contexts=this.source.generateArray(e)),this.options.data&&(d.data="data"),this.useBlockParams&&(d.blockParams="blockParams"),d},setupHelperArgs:function(a,b,c,d){var e=this.setupParams(a,b,c);return e.loc=JSON.stringify(this.source.currentLocation),e=this.objectLiteral(e),d?(this.useRegister("options"),c.push("options"),["options=",e]):c?(c.push(e),""):e}},function(){for(var a="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),b=e.RESERVED_WORDS={},c=0,d=a.length;c<d;c++)b[a[c]]=!0}(),e.isValidJavaScriptVariableName=function(a){return!e.RESERVED_WORDS[a]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(a)},b["default"]=e,a.exports=b["default"]},function(a,b,c){"use strict";function d(a,b,c){if(g.isArray(a)){for(var d=[],e=0,f=a.length;e<f;e++)d.push(b.wrap(a[e],c));return d}return"boolean"==typeof a||"number"==typeof a?a+"":a}function e(a){this.srcFile=a,this.source=[]}var f=c(13)["default"];b.__esModule=!0;var g=c(5),h=void 0;try{}catch(i){}h||(h=function(a,b,c,d){this.src="",d&&this.add(d)},h.prototype={add:function(a){g.isArray(a)&&(a=a.join("")),this.src+=a},prepend:function(a){g.isArray(a)&&(a=a.join("")),this.src=a+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),e.prototype={isEmpty:function(){return!this.source.length},prepend:function(a,b){this.source.unshift(this.wrap(a,b))},push:function(a,b){this.source.push(this.wrap(a,b))},merge:function(){var a=this.empty();return this.each(function(b){a.add(["  ",b,"\n"])}),a},each:function(a){for(var b=0,c=this.source.length;b<c;b++)a(this.source[b])},empty:function(){var a=this.currentLocation||{start:{}};return new h(a.start.line,a.start.column,this.srcFile)},wrap:function(a){var b=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return a instanceof h?a:(a=d(a,this,b),new h(b.start.line,b.start.column,this.srcFile,a))},functionCall:function(a,b,c){return c=this.generateList(c),this.wrap([a,b?"."+b+"(":"(",c,")"])},quotedString:function(a){return'"'+(a+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(a){var b=this,c=[];f(a).forEach(function(e){var f=d(a[e],b);"undefined"!==f&&c.push([b.quotedString(e),":",f])});var e=this.generateList(c);return e.prepend("{"),e.add("}"),e},generateList:function(a){for(var b=this.empty(),c=0,e=a.length;c<e;c++)c&&b.add(","),b.add(d(a[c],this));return b},generateArray:function(a){var b=this.generateList(a);return b.prepend("["),b.add("]"),b}},b["default"]=e,a.exports=b["default"]}])});;
!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";var H;function f(){return H.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function L(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(c(e,t))return;return 1}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function V(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function G(e,t){for(var n=[],s=e.length,i=0;i<s;++i)n.push(t(e[i],i));return n}function E(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,s){return Pt(e,t,n,s,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function A(e){if(null==e._isValid){var t=m(e),n=j.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function I(e){var t=l(NaN);return null!=e?E(m(t),e):m(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1},Z=f.momentProperties=[],z=!1;function $(e,t){var n,s,i,r=Z.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=m(t)),o(t._locale)||(e._locale=t._locale),0<r)for(n=0;n<r;n++)o(i=t[s=Z[n]])||(e[s]=i);return e}function q(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,f.updateOffset(this),z=!1)}function h(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function B(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,a){var o=!0;return E(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,r),o){for(var e,t,n=[],s=arguments.length,i=0;i<s;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])c(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}B(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var J={};function Q(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),J[e]||(B(t),J[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function X(e,t){var n,s=E({},e);for(n in t)c(t,n)&&(F(e[n])&&F(t[n])?(s[n]={},E(s[n],e[n]),E(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)c(e,n)&&!c(t,n)&&F(e[n])&&(s[n]=E({},s[n]));return s}function K(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var ee=Object.keys||function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};function r(e,t,n){var s=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-s.length)).toString().substr(1)+s}var te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,se={},ie={};function s(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(ie[e]=i),t&&(ie[t[0]]=function(){return r(i.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function re(e,t){return e.isValid()?(t=ae(t,e.localeData()),se[t]=se[t]||function(s){for(var e,i=s.match(te),t=0,r=i.length;t<r;t++)ie[i[t]]?i[t]=ie[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=d(i[n])?i[n].call(e,s):i[n];return t}}(t),se[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=n&&ne.test(e);)e=e.replace(ne,s),ne.lastIndex=0,--n;return e}var oe={};function t(e,t){var n=e.toLowerCase();oe[n]=oe[n+"s"]=oe[t]=e}function _(e){return"string"==typeof e?oe[e]||oe[e.toLowerCase()]:void 0}function ue(e){var t,n,s={};for(n in e)c(e,n)&&(t=_(n))&&(s[t]=e[n]);return s}var le={};function n(e,t){le[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?y(e):t}function de(t,n){return function(e){return null!=e?(fe(this,t,e),f.updateOffset(this,n),this):ce(this,t)}}function ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=g(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),We(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,w=/\d\d/,me=/\d{3}/,_e=/\d{4}/,ye=/[+-]?\d{6}/,p=/\d\d?/,ge=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,pe=/\d{1,3}/,ke=/\d{1,4}/,ve=/[+-]?\d{1,6}/,Me=/\d+/,De=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Ye=/Z|[+-]\d\d(?::?\d\d)?/gi,k=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function v(e,n,s){be[e]=d(n)?n:function(e,t){return e&&s?s:n}}function Oe(e,t){return c(be,e)?be[e](t._strict,t._locale):new RegExp(M(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function M(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var be={},xe={};function D(e,n){var t,s,i=n;for("string"==typeof e&&(e=[e]),u(n)&&(i=function(e,t){t[n]=g(e)}),s=e.length,t=0;t<s;t++)xe[e[t]]=i}function Te(e,i){D(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var S,Y=0,O=1,b=2,x=3,T=4,N=5,Ne=6,Pe=7,Re=8;function We(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),v("M",p),v("MM",p,w),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),D(["M","MM"],function(e,t){t[O]=g(e)-1}),D(["MMM","MMMM"],function(e,t,n,s){s=n._locale.monthsParse(e,s,n._strict);null!=s?t[O]=s:m(n).invalidMonth=e});var Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ue="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),He=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=k,Le=k;function Ve(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(!u(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),We(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ge(e){return null!=e?(Ve(this,e),f.updateOffset(this,!0),this):ce(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=l([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=M(n[r]),s[r]=M(s[r]);for(r=0;r<24;r++)i[r]=M(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ae(e){return he(e)?366:365}s("Y",0,0,function(){var e=this.year();return e<=9999?r(e,4):"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),v("Y",De),v("YY",p,w),v("YYYY",ke,_e),v("YYYYY",ve,ye),v("YYYYYY",ve,ye),D(["YYYYY","YYYYYY"],Y),D("YYYY",function(e,t){t[Y]=2===e.length?f.parseTwoDigitYear(e):g(e)}),D("YY",function(e,t){t[Y]=f.parseTwoDigitYear(e)}),D("Y",function(e,t){t[Y]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return g(e)+(68<g(e)?1900:2e3)};var Ie=de("FullYear",!0);function je(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}function Ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,n){n=7+t-n;return n-(7+Ze(e,0,n).getUTCDay()-t)%7-1}function $e(e,t,n,s,i){var r,t=1+7*(t-1)+(7+n-s)%7+ze(e,s,i),n=t<=0?Ae(r=e-1)+t:t>Ae(e)?(r=e+1,t-Ae(e)):(r=e,t);return{year:r,dayOfYear:n}}function qe(e,t,n){var s,i,r=ze(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+P(i=e.year()-1,t,n):r>P(e.year(),t,n)?(s=r-P(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function P(e,t,n){var s=ze(e,t,n),t=ze(e+1,t,n);return(Ae(e)-s+t)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),v("w",p),v("ww",p,w),v("W",p),v("WW",p,w),Te(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=g(e)});function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),v("d",p),v("e",p),v("E",p),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,n,s){s=n._locale.weekdaysParse(e,s,n._strict);null!=s?t.d=s:m(n).invalidWeekday=e}),Te(["d","e","E"],function(e,t,n,s){t[s]=g(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ke=k,et=k,tt=k;function nt(){function e(e,t){return t.length-e.length}for(var t,n,s,i=[],r=[],a=[],o=[],u=0;u<7;u++)s=l([2e3,1]).day(u),t=M(this.weekdaysMin(s,"")),n=M(this.weekdaysShort(s,"")),s=M(this.weekdays(s,"")),i.push(t),r.push(n),a.push(s),o.push(t),o.push(n),o.push(s);i.sort(e),r.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function st(){return this.hours()%12||12}function it(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function rt(e,t){return t._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,st),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+st.apply(this)+r(this.minutes(),2)}),s("hmmss",0,0,function(){return""+st.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+r(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+r(this.minutes(),2)+r(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),v("a",rt),v("A",rt),v("H",p),v("h",p),v("k",p),v("HH",p,w),v("hh",p,w),v("kk",p,w),v("hmm",ge),v("hmmss",we),v("Hmm",ge),v("Hmmss",we),D(["H","HH"],x),D(["k","kk"],function(e,t,n){e=g(e);t[x]=24===e?0:e}),D(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),D(["h","hh"],function(e,t,n){t[x]=g(e),m(n).bigHour=!0}),D("hmm",function(e,t,n){var s=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s)),m(n).bigHour=!0}),D("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s,2)),t[N]=g(e.substr(i)),m(n).bigHour=!0}),D("Hmm",function(e,t,n){var s=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s))}),D("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s,2)),t[N]=g(e.substr(i))});k=de("Hours",!0);var at,ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:Ue,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Xe,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},R={},ut={};function lt(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=lt(e[r]).split("-")).length,n=(n=lt(e[r+1]))?n.split("-"):null;0<t;){if(s=dt(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}(i,n)>=t-1)break;t--}r++}return at}function dt(t){var e;if(void 0===R[t]&&"undefined"!=typeof module&&module&&module.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,require("./locale/"+t),ct(e)}catch(e){R[t]=null}return R[t]}function ct(e,t){return e&&((t=o(t)?mt(e):ft(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function ft(e,t){if(null===t)return delete R[e],null;var n,s=ot;if(t.abbr=e,null!=R[e])Q("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."),s=R[e]._config;else if(null!=t.parentLocale)if(null!=R[t.parentLocale])s=R[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;s=n._config}return R[e]=new K(X(s,t)),ut[e]&&ut[e].forEach(function(e){ft(e.name,e.config)}),ct(e),R[e]}function mt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!a(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function _t(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[O]<0||11<t[O]?O:t[b]<1||t[b]>We(t[Y],t[O])?b:t[x]<0||24<t[x]||24===t[x]&&(0!==t[T]||0!==t[N]||0!==t[Ne])?x:t[T]<0||59<t[T]?T:t[N]<0||59<t[N]?N:t[Ne]<0||999<t[Ne]?Ne:-1,m(e)._overflowDayOfYear&&(t<Y||b<t)&&(t=b),m(e)._overflowWeeks&&-1===t&&(t=Pe),m(e)._overflowWeekday&&-1===t&&(t=Re),m(e).overflow=t),e}var yt=/^\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)?)?$/,gt=/^\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)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["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/]],vt=/^\/?Date\((-?\d+)/i,Mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,s,i,r,a,o=e._i,u=yt.exec(o)||gt.exec(o),o=pt.length,l=kt.length;if(u){for(m(e).iso=!0,t=0,n=o;t<n;t++)if(pt[t][1].exec(u[1])){i=pt[t][0],s=!1!==pt[t][2];break}if(null==i)e._isValid=!1;else{if(u[3]){for(t=0,n=l;t<n;t++)if(kt[t][1].exec(u[3])){r=(u[2]||" ")+kt[t][0];break}if(null==r)return void(e._isValid=!1)}if(s||null==r){if(u[4]){if(!wt.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),Tt(e)}else e._isValid=!1}}else e._isValid=!1}function Yt(e,t,n,s,i,r){e=[function(e){e=parseInt(e,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(e),Ue.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&e.push(parseInt(r,10)),e}function Ot(e){var t,n,s,i,r=Mt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Yt(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],s=t,i=e,n&&Qe.indexOf(n)!==new Date(s[0],s[1],s[2]).getDay()?(m(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=r[8],s=r[9],i=r[10],n?Dt[n]:s?0:60*(((n=parseInt(i,10))-(s=n%100))/100)+s),e._d=Ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0)):e._isValid=!1}function bt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,s,i,r,a,o,u,l,h,d,c=[];if(!e._d){for(s=e,i=new Date(f.now()),n=s._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()],e._w&&null==e._a[b]&&null==e._a[O]&&(null!=(i=(s=e)._w).GG||null!=i.W||null!=i.E?(u=1,l=4,r=bt(i.GG,s._a[Y],qe(W(),1,4).year),a=bt(i.W,1),((o=bt(i.E,1))<1||7<o)&&(h=!0)):(u=s._locale._week.dow,l=s._locale._week.doy,d=qe(W(),u,l),r=bt(i.gg,s._a[Y],d.year),a=bt(i.w,d.week),null!=i.d?((o=i.d)<0||6<o)&&(h=!0):null!=i.e?(o=i.e+u,(i.e<0||6<i.e)&&(h=!0)):o=u),a<1||a>P(r,u,l)?m(s)._overflowWeeks=!0:null!=h?m(s)._overflowWeekday=!0:(d=$e(r,a,o,u,l),s._a[Y]=d.year,s._dayOfYear=d.dayOfYear)),null!=e._dayOfYear&&(i=bt(e._a[Y],n[Y]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),h=Ze(i,0,e._dayOfYear),e._a[O]=h.getUTCMonth(),e._a[b]=h.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=n[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[x]&&0===e._a[T]&&0===e._a[N]&&0===e._a[Ne]&&(e._nextDay=!0,e._a[x]=0),e._d=(e._useUTC?Ze:je).apply(null,c),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[x]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}function Tt(e){if(e._f===f.ISO_8601)St(e);else if(e._f===f.RFC_2822)Ot(e);else{e._a=[],m(e).empty=!0;for(var t,n,s,i,r,a=""+e._i,o=a.length,u=0,l=ae(e._f,e._locale).match(te)||[],h=l.length,d=0;d<h;d++)n=l[d],(t=(a.match(Oe(n,e))||[])[0])&&(0<(s=a.substr(0,a.indexOf(t))).length&&m(e).unusedInput.push(s),a=a.slice(a.indexOf(t)+t.length),u+=t.length),ie[n]?(t?m(e).empty=!1:m(e).unusedTokens.push(n),s=n,r=e,null!=(i=t)&&c(xe,s)&&xe[s](i,r._a,r,s)):e._strict&&!t&&m(e).unusedTokens.push(n);m(e).charsLeftOver=o-u,0<a.length&&m(e).unusedInput.push(a),e._a[x]<=12&&!0===m(e).bigHour&&0<e._a[x]&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[x]=function(e,t,n){if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[x],e._meridiem),null!==(o=m(e).era)&&(e._a[Y]=e._locale.erasConvertYear(o,e._a[Y])),xt(e),_t(e)}}function Nt(e){var t,n,s,i=e._i,r=e._f;if(e._locale=e._locale||mt(e._l),null===i||void 0===r&&""===i)return I({nullInput:!0});if("string"==typeof i&&(e._i=i=e._locale.preparse(i)),h(i))return new q(_t(i));if(V(i))e._d=i;else if(a(r))!function(e){var t,n,s,i,r,a,o=!1,u=e._f.length;if(0===u)return m(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<u;i++)r=0,a=!1,t=$({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Tt(t),A(t)&&(a=!0),r=(r+=m(t).charsLeftOver)+10*m(t).unusedTokens.length,m(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||a)&&(s=r,n=t,a&&(o=!0));E(e,n||t)}(e);else if(r)Tt(e);else if(o(r=(i=e)._i))i._d=new Date(f.now());else V(r)?i._d=new Date(r.valueOf()):"string"==typeof r?(n=i,null!==(t=vt.exec(n._i))?n._d=new Date(+t[1]):(St(n),!1===n._isValid&&(delete n._isValid,Ot(n),!1===n._isValid&&(delete n._isValid,n._strict?n._isValid=!1:f.createFromInputFallback(n))))):a(r)?(i._a=G(r.slice(0),function(e){return parseInt(e,10)}),xt(i)):F(r)?(t=i)._d||(s=void 0===(n=ue(t._i)).day?n.date:n.day,t._a=G([n.year,n.month,s,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),xt(t)):u(r)?i._d=new Date(r):f.createFromInputFallback(i);return A(e)||(e._d=null),e}function Pt(e,t,n,s,i){var r={};return!0!==t&&!1!==t||(s=t,t=void 0),!0!==n&&!1!==n||(s=n,n=void 0),(F(e)&&L(e)||a(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=s,(i=new q(_t(Nt(i=r))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function W(e,t,n,s){return Pt(e,t,n,s,!1)}f.createFromInputFallback=e("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};ge=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:I()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:I()});function Rt(e,t){var n,s;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return W();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var e=ue(e),t=e.year||0,n=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,r=e.day||0,a=e.hour||0,o=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=function(e){var t,n,s=!1,i=Wt.length;for(t in e)if(c(e,t)&&(-1===S.call(Wt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Wt[n]]){if(s)return!1;parseFloat(e[Wt[n]])!==g(e[Wt[n]])&&(s=!0)}return!0}(e),this._milliseconds=+l+1e3*u+6e4*o+1e3*a*60*60,this._days=+r+7*i,this._months=+s+3*n+12*t,this._data={},this._locale=mt(),this._bubble()}function Ut(e){return e instanceof Ct}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){s(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+r(~~(e/60),2)+n+r(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),v("Z",Ye),v("ZZ",Ye),D(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Vt(Ye,e)});var Lt=/([\+\-]|\d\d)/gi;function Vt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Lt)||["-",0,0])[1]+g(e[2]))?0:"+"===e[0]?t:-t}function Gt(e,t){var n;return t._isUTC?(t=t.clone(),n=(h(e)||V(e)?e:W(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),f.updateOffset(t,!1),t):W(e).local()}function Et(e){return-Math.round(e._d.getTimezoneOffset())}function At(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}f.updateOffset=function(){};var It=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var n,s=e,i=null;return Ut(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(i=It.exec(e))?(n="-"===i[1]?-1:1,s={y:0,d:g(i[b])*n,h:g(i[x])*n,m:g(i[T])*n,s:g(i[N])*n,ms:g(Ht(1e3*i[Ne]))*n}):(i=jt.exec(e))?(n="-"===i[1]?-1:1,s={y:Zt(i[2],n),M:Zt(i[3],n),w:Zt(i[4],n),d:Zt(i[5],n),h:Zt(i[6],n),m:Zt(i[7],n),s:Zt(i[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(t=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Gt(t,e),e.isBefore(t)?n=zt(e,t):((n=zt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(W(s.from),W(s.to)),(s={}).ms=t.milliseconds,s.M=t.months),i=new Ct(s),Ut(e)&&c(e,"_locale")&&(i._locale=e._locale),Ut(e)&&c(e,"_isValid")&&(i._isValid=e._isValid),i}function Zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var n={};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 $t(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(Q(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,C(e,t),s),this}}function qt(e,t,n,s){var i=t._milliseconds,r=Ht(t._days),t=Ht(t._months);e.isValid()&&(s=null==s||s,t&&Ve(e,ce(e,"Month")+t*n),r&&fe(e,"Date",ce(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&f.updateOffset(e,r||t))}C.fn=Ct.prototype,C.invalid=function(){return C(NaN)};Ce=$t(1,"add"),Je=$t(-1,"subtract");function Bt(e){return"string"==typeof e||e instanceof String}function Jt(e){return h(e)||V(e)||Bt(e)||u(e)||function(t){var e=a(t),n=!1;e&&(n=0===t.filter(function(e){return!u(e)&&Bt(t)}).length);return e&&n}(e)||function(e){var t,n,s=F(e)&&!L(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=r.length;for(t=0;t<a;t+=1)n=r[t],i=i||c(e,n);return s&&i}(e)||null==e}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months"),t=t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s);return-(n+t)||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=mt(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Xe=e("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)});function Kt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function rn(e,t){return t.erasAbbrRegex(e)}function an(){for(var e=[],t=[],n=[],s=[],i=this.eras(),r=0,a=i.length;r<a;++r)t.push(M(i[r].name)),e.push(M(i[r].abbr)),n.push(M(i[r].narrow)),s.push(M(i[r].name)),s.push(M(i[r].abbr)),s.push(M(i[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function on(e,t){s(0,[e,e.length],0,t)}function un(e,t,n,s,i){var r;return null==e?qe(this,s,i).year:(r=P(e,s,i),function(e,t,n,s,i){e=$e(e,t,n,s,i),t=Ze(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=r<t?r:t,n,s,i))}s("N",0,0,"eraAbbr"),s("NN",0,0,"eraAbbr"),s("NNN",0,0,"eraAbbr"),s("NNNN",0,0,"eraName"),s("NNNNN",0,0,"eraNarrow"),s("y",["y",1],"yo","eraYear"),s("y",["yy",2],0,"eraYear"),s("y",["yyy",3],0,"eraYear"),s("y",["yyyy",4],0,"eraYear"),v("N",rn),v("NN",rn),v("NNN",rn),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){s=n._locale.erasParse(e,s,n._strict);s?m(n).era=s:m(n).invalidEra=e}),v("y",Me),v("yy",Me),v("yyy",Me),v("yyyy",Me),v("yo",function(e,t){return t._eraYearOrdinalRegex||Me}),D(["y","yy","yyy","yyyy"],Y),D(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Y]=n._locale.eraYearOrdinalParse(e,i):t[Y]=parseInt(e,10)}),s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100}),on("gggg","weekYear"),on("ggggg","weekYear"),on("GGGG","isoWeekYear"),on("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),v("G",De),v("g",De),v("GG",p,w),v("gg",p,w),v("GGGG",ke,_e),v("gggg",ke,_e),v("GGGGG",ve,ye),v("ggggg",ve,ye),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=g(e)}),Te(["gg","GG"],function(e,t,n,s){t[s]=f.parseTwoDigitYear(e)}),s("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),v("Q",i),D("Q",function(e,t){t[O]=3*(g(e)-1)}),s("D",["DD",2],"Do","date"),t("date","D"),n("date",9),v("D",p),v("DD",p,w),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),D(["D","DD"],b),D("Do",function(e,t){t[b]=g(e.match(p)[0])});ke=de("Date",!0);s("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),v("DDD",pe),v("DDDD",me),D(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),s("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),v("m",p),v("mm",p,w),D(["m","mm"],T);var ln,_e=de("Minutes",!1),ve=(s("s",["ss",2],0,"second"),t("second","s"),n("second",15),v("s",p),v("ss",p,w),D(["s","ss"],N),de("Seconds",!1));for(s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return 10*this.millisecond()}),s(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),s(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),s(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),s(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),s(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),v("S",pe,i),v("SS",pe,w),v("SSS",pe,me),ln="SSSS";ln.length<=9;ln+="S")v(ln,Me);function hn(e,t){t[Ne]=g(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")D(ln,hn);ye=de("Milliseconds",!1),s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName");i=q.prototype;function dn(e){return e}i.add=Ce,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!L(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<s.length;i+=1)n=n||c(e,s[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||W(),n=Gt(e,this).startOf("day"),n=f.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,W(e)))},i.clone=function(){return new q(this)},i.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Gt(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=_(t)){case"year":r=Qt(this,s)/12;break;case"month":r=Qt(this,s);break;case"quarter":r=Qt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:y(r)},i.endOf=function(e){var t,n;if(void 0===(e=_(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1;break}return this._d.setTime(t),f.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=re(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(h(e)&&e.isValid()||W(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(W(),e)},i.to=function(e,t){return this.isValid()&&(h(e)&&e.isValid()||W(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(W(),e)},i.get=function(e){return d(this[e=_(e)])?this[e]():this},i.invalidAt=function(){return m(this).overflow},i.isAfter=function(e,t){return e=h(e)?e:W(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=h(e)?e:W(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,s){return e=h(e)?e:W(e),t=h(t)?t:W(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&(("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n)))},i.isSame=function(e,t){var e=h(e)?e:W(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return A(this)},i.lang=Xe,i.locale=Xt,i.localeData=Kt,i.max=we,i.min=ge,i.parsingFlags=function(){return E({},m(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:le[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),s=n.length,i=0;i<s;i++)this[n[i].unit](e[n[i].unit]);else if(d(this[e=_(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=_(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3);break}return this._d.setTime(t),f.updateOffset(this,!0),this},i.subtract=Je,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){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()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?re(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",re(t,"Z")):re(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),s=0,i=n.length;s<i;++s)if(e=n[s].since<=n[s].until?1:-1,t=this.clone().startOf("day").valueOf(),n[s].since<=t&&t<=n[s].until||n[s].until<=t&&t<=n[s].since)return(this.year()-f(n[s].since).year())*e+n[s].offset;return this.year()},i.year=Ie,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ge,i.daysInMonth=function(){return We(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return P(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return P(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return P(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return P(this.isoWeekYear(),1,4)},i.date=ke,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},i.weekday=function(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")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},i.hour=i.hours=k,i.minute=i.minutes=_e,i.second=i.seconds=ve,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Et(this);if("string"==typeof e){if(null===(e=Vt(Ye,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Et(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?qt(this,C(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Et(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Vt(Se,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?W(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=At,i.isUTC=At,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",ke),i.months=e("months accessor is deprecated. Use month instead",Ge),i.years=e("years accessor is deprecated. Use year instead",Ie),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return $(t,this),(t=Nt(t))._a?(e=(t._isUTC?l:W)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&g(e[a])!==g(t[a]))&&r++;return r+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});w=K.prototype;function cn(e,t,n,s){var i=mt(),s=l().set(s,t);return i[n](s,e)}function fn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return cn(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=cn(e,i,n,"month");return s}function mn(e,t,n,s){t=("boolean"==typeof e?u(t)&&(n=t,t=void 0):(t=e,e=!1,u(n=t)&&(n=t,t=void 0)),t||"");var i,r=mt(),a=e?r._week.dow:0,o=[];if(null!=n)return cn(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=cn(t,(i+a)%7,s,"day");return o}w.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},w.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(te).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},w.invalidDate=function(){return this._invalidDate},w.ordinal=function(e){return this._ordinal.replace("%d",e)},w.preparse=dn,w.postformat=dn,w.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return d(i)?i(e,t,n,s):i.replace(/%d/i,e)},w.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},w.set=function(e){var t,n;for(n in e)c(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},w.eras=function(e,t){for(var n,s=this._eras||mt("en")._eras,i=0,r=s.length;i<r;++i){switch(typeof s[i].since){case"string":n=f(s[i].since).startOf("day"),s[i].since=n.valueOf();break}switch(typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":n=f(s[i].until).startOf("day").valueOf(),s[i].until=n.valueOf();break}}return s},w.erasParse=function(e,t,n){var s,i,r,a,o,u=this.eras();for(e=e.toUpperCase(),s=0,i=u.length;s<i;++s)if(r=u[s].name.toUpperCase(),a=u[s].abbr.toUpperCase(),o=u[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[s];break;case"NNNN":if(r===e)return u[s];break;case"NNNNN":if(o===e)return u[s];break}else if(0<=[r,a,o].indexOf(e))return u[s]},w.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},w.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},w.erasNameRegex=function(e){return c(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},w.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},w.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||He).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},w.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[He.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},w.monthsParse=function(e,t,n){var s,i;if(this._monthsParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=l([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=l([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},w.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},w.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},w.week=function(e){return qe(e,this._week.dow,this._week.doy).week},w.firstDayOfYear=function(){return this._week.doy},w.firstDayOfWeek=function(){return this._week.dow},w.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Be(t,this._week.dow):e?t[e.day()]:t},w.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},w.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},w.weekdaysParse=function(e,t,n){var s,i;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=l([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=l([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},w.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ke),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},w.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},w.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},w.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},w.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===g(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",ct),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",mt);var _n=Math.abs;function yn(e,t,n,s){t=C(t,n);return e._milliseconds+=s*t._milliseconds,e._days+=s*t._days,e._months+=s*t._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function pn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}pe=kn("ms"),me=kn("s"),Ce=kn("m"),we=kn("h"),ge=kn("d"),Je=kn("w"),k=kn("M"),_e=kn("Q"),ve=kn("y");function vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=vn("milliseconds"),ke=vn("seconds"),Ie=vn("minutes"),w=vn("hours"),Mn=vn("days"),Dn=vn("months"),Sn=vn("years");var Yn=Math.round,On={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function bn(e,t,n,s){var i=C(e).abs(),r=Yn(i.as("s")),a=Yn(i.as("m")),o=Yn(i.as("h")),u=Yn(i.as("d")),l=Yn(i.as("M")),h=Yn(i.as("w")),i=Yn(i.as("y")),r=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return(r=(r=null!=n.w?r||h<=1&&["w"]||h<n.w&&["ww",h]:r)||l<=1&&["M"]||l<n.M&&["MM",l]||i<=1&&["y"]||["yy",i])[2]=t,r[3]=0<+e,r[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,r)}var xn=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Nn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o=xn(this._milliseconds)/1e3,u=xn(this._days),l=xn(this._months),h=this.asSeconds();return h?(e=y(o/60),t=y(e/60),o%=60,e%=60,n=y(l/12),l%=12,s=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Tn(this._months)!==Tn(h)?"-":"",r=Tn(this._days)!==Tn(h)?"-":"",a=Tn(this._milliseconds)!==Tn(h)?"-":"",(h<0?"-":"")+"P"+(n?i+n+"Y":"")+(l?i+l+"M":"")+(u?r+u+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+s+"S":"")):"P0D"}var U=Ct.prototype;return U.isValid=function(){return this._isValid},U.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},U.add=function(e,t){return yn(this,e,t,1)},U.subtract=function(e,t){return yn(this,e,t,-1)},U.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=_(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(pn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},U.asMilliseconds=pe,U.asSeconds=me,U.asMinutes=Ce,U.asHours=we,U.asDays=ge,U.asWeeks=Je,U.asMonths=k,U.asQuarters=_e,U.asYears=ve,U.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12):NaN},U._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*gn(pn(n)+t),n=t=0),s.milliseconds=e%1e3,e=y(e/1e3),s.seconds=e%60,e=y(e/60),s.minutes=e%60,e=y(e/60),s.hours=e%24,t+=y(e/24),n+=e=y(wn(t)),t-=gn(pn(e)),e=y(n/12),n%=12,s.days=t,s.months=n,s.years=e,this},U.clone=function(){return C(this)},U.get=function(e){return e=_(e),this.isValid()?this[e+"s"]():NaN},U.milliseconds=ye,U.seconds=ke,U.minutes=Ie,U.hours=w,U.days=Mn,U.weeks=function(){return y(this.days()/7)},U.months=Dn,U.years=Sn,U.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=On;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(s=Object.assign({},On,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),e=this.localeData(),t=bn(this,!n,s,e),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},U.toISOString=Nn,U.toString=Nn,U.toJSON=Nn,U.locale=Xt,U.localeData=Kt,U.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nn),U.lang=Xe,s("X",0,0,"unix"),s("x",0,0,"valueOf"),v("x",De),v("X",/[+-]?\d+(\.\d{1,3})?/),D("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),D("x",function(e,t,n){n._d=new Date(g(e))}),f.version="2.29.4",H=W,f.fn=i,f.min=function(){return Rt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Rt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=l,f.unix=function(e){return W(1e3*e)},f.months=function(e,t){return fn(e,t,"months")},f.isDate=V,f.locale=ct,f.invalid=I,f.duration=C,f.isMoment=h,f.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},f.parseZone=function(){return W.apply(null,arguments).parseZone()},f.localeData=mt,f.isDuration=Ut,f.monthsShort=function(e,t){return fn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},f.defineLocale=ft,f.updateLocale=function(e,t){var n,s;return null!=t?(s=ot,null!=R[e]&&null!=R[e].parentLocale?R[e].set(X(R[e]._config,t)):(t=X(s=null!=(n=dt(e))?n._config:s,t),null==n&&(t.abbr=e),(s=new K(t)).parentLocale=R[e],R[e]=s),ct(e)):null!=R[e]&&(null!=R[e].parentLocale?(R[e]=R[e].parentLocale,e===ct()&&ct(e)):null!=R[e]&&delete R[e]),R[e]},f.locales=function(){return ee(R)},f.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},f.normalizeUnits=_,f.relativeTimeRounding=function(e){return void 0===e?Yn:"function"==typeof e&&(Yn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==On[e]&&(void 0===t?On[e]:(On[e]=t,"s"===e&&(On.ss=t-1),!0))},f.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},f.prototype=i,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f});
//# sourceMappingURL=moment.min.js.map;
!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):e.moment=a()}(this,function(){"use strict";var E;function M(){return E.apply(null,arguments)}function F(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function z(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function N(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var a in e)if(l(e,a))return;return 1}function d(e){return void 0===e}function J(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function R(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function C(e,a){for(var t=[],s=e.length,n=0;n<s;++n)t.push(a(e[n],n));return t}function I(e,a){for(var t in a)l(a,t)&&(e[t]=a[t]);return l(a,"toString")&&(e.toString=a.toString),l(a,"valueOf")&&(e.valueOf=a.valueOf),e}function U(e,a,t,s){return Fa(e,a,t,s,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function G(e){if(null==e._isValid){var a=h(e),t=B.call(a.parsedDateParts,function(e){return null!=e}),t=!isNaN(e._d.getTime())&&a.overflow<0&&!a.empty&&!a.invalidEra&&!a.invalidMonth&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&t);if(e._strict&&(t=t&&0===a.charsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return t;e._isValid=t}return e._isValid}function V(e){var a=U(NaN);return null!=e?I(h(a),e):h(a).userInvalidated=!0,a}var B=Array.prototype.some||function(e){for(var a=Object(this),t=a.length>>>0,s=0;s<t;s++)if(s in a&&e.call(this,a[s],s,a))return!0;return!1},K=M.momentProperties=[],q=!1;function Z(e,a){var t,s,n,r=K.length;if(d(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),d(a._i)||(e._i=a._i),d(a._f)||(e._f=a._f),d(a._l)||(e._l=a._l),d(a._strict)||(e._strict=a._strict),d(a._tzm)||(e._tzm=a._tzm),d(a._isUTC)||(e._isUTC=a._isUTC),d(a._offset)||(e._offset=a._offset),d(a._pf)||(e._pf=h(a)),d(a._locale)||(e._locale=a._locale),0<r)for(t=0;t<r;t++)d(n=a[s=K[t]])||(e[s]=n);return e}function $(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===q&&(q=!0,M.updateOffset(this),q=!1)}function Q(e){return e instanceof $||null!=e&&null!=e._isAMomentObject}function X(e){!1===M.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,d){var i=!0;return I(function(){if(null!=M.deprecationHandler&&M.deprecationHandler(null,r),i){for(var e,a,t=[],s=arguments.length,n=0;n<s;n++){if(e="","object"==typeof arguments[n]){for(a in e+="\n["+n+"] ",arguments[0])l(arguments[0],a)&&(e+=a+": "+arguments[0][a]+", ");e=e.slice(0,-2)}else e=arguments[n];t.push(e)}X(r+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),i=!1}return d.apply(this,arguments)},d)}var ee={};function ae(e,a){null!=M.deprecationHandler&&M.deprecationHandler(e,a),ee[e]||(X(a),ee[e]=!0)}function te(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function se(e,a){var t,s=I({},e);for(t in a)l(a,t)&&(z(e[t])&&z(a[t])?(s[t]={},I(s[t],e[t]),I(s[t],a[t])):null!=a[t]?s[t]=a[t]:delete s[t]);for(t in e)l(e,t)&&!l(a,t)&&z(e[t])&&(s[t]=I({},s[t]));return s}function ne(e){null!=e&&this.set(e)}M.suppressDeprecationWarnings=!1,M.deprecationHandler=null;var re=Object.keys||function(e){var a,t=[];for(a in e)l(e,a)&&t.push(a);return t};function de(e,a,t){var s=""+Math.abs(e);return(0<=e?t?"+":"":"-")+Math.pow(10,Math.max(0,a-s.length)).toString().substr(1)+s}var ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,_e=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},me={};function s(e,a,t,s){var n="string"==typeof s?function(){return this[s]()}:s;e&&(me[e]=n),a&&(me[a[0]]=function(){return de(n.apply(this,arguments),a[1],a[2])}),t&&(me[t]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ue(e,a){return e.isValid()?(a=le(a,e.localeData()),oe[a]=oe[a]||function(s){for(var e,n=s.match(ie),a=0,r=n.length;a<r;a++)me[n[a]]?n[a]=me[n[a]]:n[a]=(e=n[a]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var a="",t=0;t<r;t++)a+=te(n[t])?n[t].call(e,s):n[t];return a}}(a),oe[a](e)):e.localeData().invalidDate()}function le(e,a){var t=5;function s(e){return a.longDateFormat(e)||e}for(_e.lastIndex=0;0<=t&&_e.test(e);)e=e.replace(_e,s),_e.lastIndex=0,--t;return e}var Me={};function a(e,a){var t=e.toLowerCase();Me[t]=Me[t+"s"]=Me[a]=e}function i(e){return"string"==typeof e?Me[e]||Me[e.toLowerCase()]:void 0}function he(e){var a,t,s={};for(t in e)l(e,t)&&(a=i(t))&&(s[a]=e[t]);return s}var ce={};function t(e,a){ce[e]=a}function Le(e){return e%4==0&&e%100!=0||e%400==0}function u(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var e=+e,a=0;return a=0!=e&&isFinite(e)?u(e):a}function Ye(a,t){return function(e){return null!=e?(fe(this,a,e),M.updateOffset(this,t),this):ye(this,a)}}function ye(e,a){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+a]():NaN}function fe(e,a,t){e.isValid()&&!isNaN(t)&&("FullYear"===a&&Le(e.year())&&1===e.month()&&29===e.date()?(t=m(t),e._d["set"+(e._isUTC?"UTC":"")+a](t,e.month(),ze(t,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+a](t))}var n=/\d/,r=/\d\d/,pe=/\d{3}/,ke=/\d{4}/,_=/[+-]?\d{6}/,o=/\d\d?/,c=/\d\d\d\d?/,L=/\d\d\d\d\d\d?/,De=/\d{1,3}/,Y=/\d{1,4}/,y=/[+-]?\d{1,6}/,Te=/\d+/,ge=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,be=/Z|[+-]\d\d(?::?\d\d)?/gi,f=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function p(e,t,s){He[e]=te(t)?t:function(e,a){return e&&s?s:t}}function Se(e,a){return l(He,e)?He[e](a._strict,a._locale):new RegExp(k(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,a,t,s,n){return a||t||s||n})))}function k(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var He={},ve={};function D(e,t){var a,s,n=t;for("string"==typeof e&&(e=[e]),J(t)&&(n=function(e,a){a[t]=m(e)}),s=e.length,a=0;a<s;a++)ve[e[a]]=n}function je(e,n){D(e,function(e,a,t,s){t._w=t._w||{},n(e,t._w,t,s)})}var T,g=0,xe=1,Pe=2,w=3,Oe=4,We=5,Ae=6,Ee=7,Fe=8;function ze(e,a){if(isNaN(e)||isNaN(a))return NaN;var t=(a%(t=12)+t)%t;return e+=(a-t)/12,1==t?Le(e)?29:28:31-t%7%2}T=Array.prototype.indexOf||function(e){for(var a=0;a<this.length;++a)if(this[a]===e)return a;return-1},s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),a("month","M"),t("month",8),p("M",o),p("MM",o,r),p("MMM",function(e,a){return a.monthsShortRegex(e)}),p("MMMM",function(e,a){return a.monthsRegex(e)}),D(["M","MM"],function(e,a){a[xe]=m(e)-1}),D(["MMM","MMMM"],function(e,a,t,s){s=t._locale.monthsParse(e,s,t._strict);null!=s?a[xe]=s:h(t).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Je="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce=f,Ie=f;function Ue(e,a){var t;if(e.isValid()){if("string"==typeof a)if(/^\d+$/.test(a))a=m(a);else if(!J(a=e.localeData().monthsParse(a)))return;t=Math.min(e.date(),ze(e.year(),a)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](a,t)}}function Ge(e){return null!=e?(Ue(this,e),M.updateOffset(this,!0),this):ye(this,"Month")}function Ve(){function e(e,a){return a.length-e.length}for(var a,t=[],s=[],n=[],r=0;r<12;r++)a=U([2e3,r]),t.push(this.monthsShort(a,"")),s.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(t.sort(e),s.sort(e),n.sort(e),r=0;r<12;r++)t[r]=k(t[r]),s[r]=k(s[r]);for(r=0;r<24;r++)n[r]=k(n[r]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Be(e){return Le(e)?366:365}s("Y",0,0,function(){var e=this.year();return e<=9999?de(e,4):"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),a("year","y"),t("year",1),p("Y",ge),p("YY",o,r),p("YYYY",Y,ke),p("YYYYY",y,_),p("YYYYYY",y,_),D(["YYYYY","YYYYYY"],g),D("YYYY",function(e,a){a[g]=2===e.length?M.parseTwoDigitYear(e):m(e)}),D("YY",function(e,a){a[g]=M.parseTwoDigitYear(e)}),D("Y",function(e,a){a[g]=parseInt(e,10)}),M.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var Ke=Ye("FullYear",!0);function qe(e,a,t,s,n,r,d){var i;return e<100&&0<=e?(i=new Date(e+400,a,t,s,n,r,d),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,a,t,s,n,r,d),i}function Ze(e){var a;return e<100&&0<=e?((a=Array.prototype.slice.call(arguments))[0]=e+400,a=new Date(Date.UTC.apply(null,a)),isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e)):a=new Date(Date.UTC.apply(null,arguments)),a}function $e(e,a,t){t=7+a-t;return t-(7+Ze(e,0,t).getUTCDay()-a)%7-1}function Qe(e,a,t,s,n){var r,a=1+7*(a-1)+(7+t-s)%7+$e(e,s,n),t=a<=0?Be(r=e-1)+a:a>Be(e)?(r=e+1,a-Be(e)):(r=e,a);return{year:r,dayOfYear:t}}function Xe(e,a,t){var s,n,r=$e(e.year(),a,t),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+ea(n=e.year()-1,a,t):r>ea(e.year(),a,t)?(s=r-ea(e.year(),a,t),n=e.year()+1):(n=e.year(),s=r),{week:s,year:n}}function ea(e,a,t){var s=$e(e,a,t),a=$e(e+1,a,t);return(Be(e)-s+a)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),a("week","w"),a("isoWeek","W"),t("week",5),t("isoWeek",5),p("w",o),p("ww",o,r),p("W",o),p("WW",o,r),je(["w","ww","W","WW"],function(e,a,t,s){a[s.substr(0,1)]=m(e)});function aa(e,a){return e.slice(a,7).concat(e.slice(0,a))}s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),a("day","d"),a("weekday","e"),a("isoWeekday","E"),t("day",11),t("weekday",11),t("isoWeekday",11),p("d",o),p("e",o),p("E",o),p("dd",function(e,a){return a.weekdaysMinRegex(e)}),p("ddd",function(e,a){return a.weekdaysShortRegex(e)}),p("dddd",function(e,a){return a.weekdaysRegex(e)}),je(["dd","ddd","dddd"],function(e,a,t,s){s=t._locale.weekdaysParse(e,s,t._strict);null!=s?a.d=s:h(t).invalidWeekday=e}),je(["d","e","E"],function(e,a,t,s){a[s]=m(e)});var ta="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),sa="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),na="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ra=f,da=f,ia=f;function _a(){function e(e,a){return a.length-e.length}for(var a,t,s,n=[],r=[],d=[],i=[],_=0;_<7;_++)s=U([2e3,1]).day(_),a=k(this.weekdaysMin(s,"")),t=k(this.weekdaysShort(s,"")),s=k(this.weekdays(s,"")),n.push(a),r.push(t),d.push(s),i.push(a),i.push(t),i.push(s);n.sort(e),r.sort(e),d.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function oa(){return this.hours()%12||12}function ma(e,a){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)})}function ua(e,a){return a._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,oa),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+oa.apply(this)+de(this.minutes(),2)}),s("hmmss",0,0,function(){return""+oa.apply(this)+de(this.minutes(),2)+de(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+de(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+de(this.minutes(),2)+de(this.seconds(),2)}),ma("a",!0),ma("A",!1),a("hour","h"),t("hour",13),p("a",ua),p("A",ua),p("H",o),p("h",o),p("k",o),p("HH",o,r),p("hh",o,r),p("kk",o,r),p("hmm",c),p("hmmss",L),p("Hmm",c),p("Hmmss",L),D(["H","HH"],w),D(["k","kk"],function(e,a,t){e=m(e);a[w]=24===e?0:e}),D(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem=e}),D(["h","hh"],function(e,a,t){a[w]=m(e),h(t).bigHour=!0}),D("hmm",function(e,a,t){var s=e.length-2;a[w]=m(e.substr(0,s)),a[Oe]=m(e.substr(s)),h(t).bigHour=!0}),D("hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[w]=m(e.substr(0,s)),a[Oe]=m(e.substr(s,2)),a[We]=m(e.substr(n)),h(t).bigHour=!0}),D("Hmm",function(e,a,t){var s=e.length-2;a[w]=m(e.substr(0,s)),a[Oe]=m(e.substr(s))}),D("Hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[w]=m(e.substr(0,s)),a[Oe]=m(e.substr(s,2)),a[We]=m(e.substr(n))});f=Ye("Hours",!0);var la,Ma={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Je,week:{dow:0,doy:6},weekdays:ta,weekdaysMin:na,weekdaysShort:sa,meridiemParse:/[ap]\.?m?\.?/i},b={},ha={};function ca(e){return e&&e.toLowerCase().replace("_","-")}function La(e){for(var a,t,s,n,r=0;r<e.length;){for(a=(n=ca(e[r]).split("-")).length,t=(t=ca(e[r+1]))?t.split("-"):null;0<a;){if(s=Ya(n.slice(0,a).join("-")))return s;if(t&&t.length>=a&&function(e,a){for(var t=Math.min(e.length,a.length),s=0;s<t;s+=1)if(e[s]!==a[s])return s;return t}(n,t)>=a-1)break;a--}r++}return la}function Ya(a){var e;if(void 0===b[a]&&"undefined"!=typeof module&&module&&module.exports&&null!=a.match("^[^/\\\\]*$"))try{e=la._abbr,require("./locale/"+a),ya(e)}catch(e){b[a]=null}return b[a]}function ya(e,a){return e&&((a=d(a)?pa(e):fa(e,a))?la=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),la._abbr}function fa(e,a){if(null===a)return delete b[e],null;var t,s=Ma;if(a.abbr=e,null!=b[e])ae("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."),s=b[e]._config;else if(null!=a.parentLocale)if(null!=b[a.parentLocale])s=b[a.parentLocale]._config;else{if(null==(t=Ya(a.parentLocale)))return ha[a.parentLocale]||(ha[a.parentLocale]=[]),ha[a.parentLocale].push({name:e,config:a}),null;s=t._config}return b[e]=new ne(se(s,a)),ha[e]&&ha[e].forEach(function(e){fa(e.name,e.config)}),ya(e),b[e]}function pa(e){var a;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return la;if(!F(e)){if(a=Ya(e))return a;e=[e]}return La(e)}function ka(e){var a=e._a;return a&&-2===h(e).overflow&&(a=a[xe]<0||11<a[xe]?xe:a[Pe]<1||a[Pe]>ze(a[g],a[xe])?Pe:a[w]<0||24<a[w]||24===a[w]&&(0!==a[Oe]||0!==a[We]||0!==a[Ae])?w:a[Oe]<0||59<a[Oe]?Oe:a[We]<0||59<a[We]?We:a[Ae]<0||999<a[Ae]?Ae:-1,h(e)._overflowDayOfYear&&(a<g||Pe<a)&&(a=Pe),h(e)._overflowWeeks&&-1===a&&(a=Ee),h(e)._overflowWeekday&&-1===a&&(a=Fe),h(e).overflow=a),e}var Da=/^\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)?)?$/,Ta=/^\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)?)?$/,ga=/Z|[+-]\d\d(?::?\d\d)?/,wa=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ba=[["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/]],Sa=/^\/?Date\((-?\d+)/i,Ha=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,va={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ja(e){var a,t,s,n,r,d,i=e._i,_=Da.exec(i)||Ta.exec(i),i=wa.length,o=ba.length;if(_){for(h(e).iso=!0,a=0,t=i;a<t;a++)if(wa[a][1].exec(_[1])){n=wa[a][0],s=!1!==wa[a][2];break}if(null==n)e._isValid=!1;else{if(_[3]){for(a=0,t=o;a<t;a++)if(ba[a][1].exec(_[3])){r=(_[2]||" ")+ba[a][0];break}if(null==r)return void(e._isValid=!1)}if(s||null==r){if(_[4]){if(!ga.exec(_[4]))return void(e._isValid=!1);d="Z"}e._f=n+(r||"")+(d||""),Aa(e)}else e._isValid=!1}}else e._isValid=!1}function xa(e,a,t,s,n,r){e=[function(e){e=parseInt(e,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(e),Je.indexOf(a),parseInt(t,10),parseInt(s,10),parseInt(n,10)];return r&&e.push(parseInt(r,10)),e}function Pa(e){var a,t,s,n,r=Ha.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(a=xa(r[4],r[3],r[2],r[5],r[6],r[7]),t=r[1],s=a,n=e,t&&sa.indexOf(t)!==new Date(s[0],s[1],s[2]).getDay()?(h(n).weekdayMismatch=!0,n._isValid=!1):(e._a=a,e._tzm=(t=r[8],s=r[9],n=r[10],t?va[t]:s?0:60*(((t=parseInt(n,10))-(s=t%100))/100)+s),e._d=Ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0)):e._isValid=!1}function Oa(e,a,t){return null!=e?e:null!=a?a:t}function Wa(e){var a,t,s,n,r,d,i,_,o,m,u,l=[];if(!e._d){for(s=e,n=new Date(M.now()),t=s._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()],e._w&&null==e._a[Pe]&&null==e._a[xe]&&(null!=(n=(s=e)._w).GG||null!=n.W||null!=n.E?(_=1,o=4,r=Oa(n.GG,s._a[g],Xe(S(),1,4).year),d=Oa(n.W,1),((i=Oa(n.E,1))<1||7<i)&&(m=!0)):(_=s._locale._week.dow,o=s._locale._week.doy,u=Xe(S(),_,o),r=Oa(n.gg,s._a[g],u.year),d=Oa(n.w,u.week),null!=n.d?((i=n.d)<0||6<i)&&(m=!0):null!=n.e?(i=n.e+_,(n.e<0||6<n.e)&&(m=!0)):i=_),d<1||d>ea(r,_,o)?h(s)._overflowWeeks=!0:null!=m?h(s)._overflowWeekday=!0:(u=Qe(r,d,i,_,o),s._a[g]=u.year,s._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(n=Oa(e._a[g],t[g]),(e._dayOfYear>Be(n)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),m=Ze(n,0,e._dayOfYear),e._a[xe]=m.getUTCMonth(),e._a[Pe]=m.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=l[a]=t[a];for(;a<7;a++)e._a[a]=l[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[w]&&0===e._a[Oe]&&0===e._a[We]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[w]=0),e._d=(e._useUTC?Ze:qe).apply(null,l),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[w]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(h(e).weekdayMismatch=!0)}}function Aa(e){if(e._f===M.ISO_8601)ja(e);else if(e._f===M.RFC_2822)Pa(e);else{e._a=[],h(e).empty=!0;for(var a,t,s,n,r,d=""+e._i,i=d.length,_=0,o=le(e._f,e._locale).match(ie)||[],m=o.length,u=0;u<m;u++)t=o[u],(a=(d.match(Se(t,e))||[])[0])&&(0<(s=d.substr(0,d.indexOf(a))).length&&h(e).unusedInput.push(s),d=d.slice(d.indexOf(a)+a.length),_+=a.length),me[t]?(a?h(e).empty=!1:h(e).unusedTokens.push(t),s=t,r=e,null!=(n=a)&&l(ve,s)&&ve[s](n,r._a,r,s)):e._strict&&!a&&h(e).unusedTokens.push(t);h(e).charsLeftOver=i-_,0<d.length&&h(e).unusedInput.push(d),e._a[w]<=12&&!0===h(e).bigHour&&0<e._a[w]&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[w]=function(e,a,t){if(null==t)return a;return null!=e.meridiemHour?e.meridiemHour(a,t):null!=e.isPM?((e=e.isPM(t))&&a<12&&(a+=12),a=e||12!==a?a:0):a}(e._locale,e._a[w],e._meridiem),null!==(i=h(e).era)&&(e._a[g]=e._locale.erasConvertYear(i,e._a[g])),Wa(e),ka(e)}}function Ea(e){var a,t,s,n=e._i,r=e._f;if(e._locale=e._locale||pa(e._l),null===n||void 0===r&&""===n)return V({nullInput:!0});if("string"==typeof n&&(e._i=n=e._locale.preparse(n)),Q(n))return new $(ka(n));if(R(n))e._d=n;else if(F(r))!function(e){var a,t,s,n,r,d,i=!1,_=e._f.length;if(0===_)return h(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<_;n++)r=0,d=!1,a=Z({},e),null!=e._useUTC&&(a._useUTC=e._useUTC),a._f=e._f[n],Aa(a),G(a)&&(d=!0),r=(r+=h(a).charsLeftOver)+10*h(a).unusedTokens.length,h(a).score=r,i?r<s&&(s=r,t=a):(null==s||r<s||d)&&(s=r,t=a,d&&(i=!0));I(e,t||a)}(e);else if(r)Aa(e);else if(d(r=(n=e)._i))n._d=new Date(M.now());else R(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(t=n,null!==(a=Sa.exec(t._i))?t._d=new Date(+a[1]):(ja(t),!1===t._isValid&&(delete t._isValid,Pa(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:M.createFromInputFallback(t))))):F(r)?(n._a=C(r.slice(0),function(e){return parseInt(e,10)}),Wa(n)):z(r)?(a=n)._d||(s=void 0===(t=he(a._i)).day?t.date:t.day,a._a=C([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Wa(a)):J(r)?n._d=new Date(r):M.createFromInputFallback(n);return G(e)||(e._d=null),e}function Fa(e,a,t,s,n){var r={};return!0!==a&&!1!==a||(s=a,a=void 0),!0!==t&&!1!==t||(s=t,t=void 0),(z(e)&&N(e)||F(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=n,r._l=t,r._i=e,r._f=a,r._strict=s,(n=new $(ka(Ea(n=r))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function S(e,a,t,s){return Fa(e,a,t,s,!1)}M.createFromInputFallback=e("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),M.ISO_8601=function(){},M.RFC_2822=function(){};c=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:V()}),L=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:V()});function za(e,a){var t,s;if(!(a=1===a.length&&F(a[0])?a[0]:a).length)return S();for(t=a[0],s=1;s<a.length;++s)a[s].isValid()&&!a[s][e](t)||(t=a[s]);return t}var Na=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ja(e){var e=he(e),a=e.year||0,t=e.quarter||0,s=e.month||0,n=e.week||e.isoWeek||0,r=e.day||0,d=e.hour||0,i=e.minute||0,_=e.second||0,o=e.millisecond||0;this._isValid=function(e){var a,t,s=!1,n=Na.length;for(a in e)if(l(e,a)&&(-1===T.call(Na,a)||null!=e[a]&&isNaN(e[a])))return!1;for(t=0;t<n;++t)if(e[Na[t]]){if(s)return!1;parseFloat(e[Na[t]])!==m(e[Na[t]])&&(s=!0)}return!0}(e),this._milliseconds=+o+1e3*_+6e4*i+1e3*d*60*60,this._days=+r+7*n,this._months=+s+3*t+12*a,this._data={},this._locale=pa(),this._bubble()}function Ra(e){return e instanceof Ja}function Ca(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ia(e,t){s(e,0,0,function(){var e=this.utcOffset(),a="+";return e<0&&(e=-e,a="-"),a+de(~~(e/60),2)+t+de(~~e%60,2)})}Ia("Z",":"),Ia("ZZ",""),p("Z",be),p("ZZ",be),D(["Z","ZZ"],function(e,a,t){t._useUTC=!0,t._tzm=Ga(be,e)});var Ua=/([\+\-]|\d\d)/gi;function Ga(e,a){var a=(a||"").match(e);return null===a?null:0===(a=60*(e=((a[a.length-1]||[])+"").match(Ua)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?a:-a}function Va(e,a){var t;return a._isUTC?(a=a.clone(),t=(Q(e)||R(e)?e:S(e)).valueOf()-a.valueOf(),a._d.setTime(a._d.valueOf()+t),M.updateOffset(a,!1),a):S(e).local()}function Ba(e){return-Math.round(e._d.getTimezoneOffset())}function Ka(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}M.updateOffset=function(){};var qa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Za=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $a(e,a){var t,s=e,n=null;return Ra(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:J(e)||!isNaN(+e)?(s={},a?s[a]=+e:s.milliseconds=+e):(n=qa.exec(e))?(t="-"===n[1]?-1:1,s={y:0,d:m(n[Pe])*t,h:m(n[w])*t,m:m(n[Oe])*t,s:m(n[We])*t,ms:m(Ca(1e3*n[Ae]))*t}):(n=Za.exec(e))?(t="-"===n[1]?-1:1,s={y:Qa(n[2],t),M:Qa(n[3],t),w:Qa(n[4],t),d:Qa(n[5],t),h:Qa(n[6],t),m:Qa(n[7],t),s:Qa(n[8],t)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(a=function(e,a){var t;if(!e.isValid()||!a.isValid())return{milliseconds:0,months:0};a=Va(a,e),e.isBefore(a)?t=Xa(e,a):((t=Xa(a,e)).milliseconds=-t.milliseconds,t.months=-t.months);return t}(S(s.from),S(s.to)),(s={}).ms=a.milliseconds,s.M=a.months),n=new Ja(s),Ra(e)&&l(e,"_locale")&&(n._locale=e._locale),Ra(e)&&l(e,"_isValid")&&(n._isValid=e._isValid),n}function Qa(e,a){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*a}function Xa(e,a){var t={};return t.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add(t.months,"M").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months,"M"),t}function et(s,n){return function(e,a){var t;return null===a||isNaN(+a)||(ae(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),t=e,e=a,a=t),at(this,$a(e,a),s),this}}function at(e,a,t,s){var n=a._milliseconds,r=Ca(a._days),a=Ca(a._months);e.isValid()&&(s=null==s||s,a&&Ue(e,ye(e,"Month")+a*t),r&&fe(e,"Date",ye(e,"Date")+r*t),n&&e._d.setTime(e._d.valueOf()+n*t),s&&M.updateOffset(e,r||a))}$a.fn=Ja.prototype,$a.invalid=function(){return $a(NaN)};Ne=et(1,"add"),ta=et(-1,"subtract");function tt(e){return"string"==typeof e||e instanceof String}function st(e){return Q(e)||R(e)||tt(e)||J(e)||function(a){var e=F(a),t=!1;e&&(t=0===a.filter(function(e){return!J(e)&&tt(a)}).length);return e&&t}(e)||function(e){var a,t,s=z(e)&&!N(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],d=r.length;for(a=0;a<d;a+=1)t=r[a],n=n||l(e,t);return s&&n}(e)||null==e}function nt(e,a){if(e.date()<a.date())return-nt(a,e);var t=12*(a.year()-e.year())+(a.month()-e.month()),s=e.clone().add(t,"months"),a=a-s<0?(a-s)/(s-e.clone().add(t-1,"months")):(a-s)/(e.clone().add(1+t,"months")-s);return-(t+a)||0}function rt(e){return void 0===e?this._locale._abbr:(null!=(e=pa(e))&&(this._locale=e),this)}M.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",M.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";na=e("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)});function dt(){return this._locale}var it=126227808e5;function _t(e,a){return(e%a+a)%a}function ot(e,a,t){return e<100&&0<=e?new Date(e+400,a,t)-it:new Date(e,a,t).valueOf()}function mt(e,a,t){return e<100&&0<=e?Date.UTC(e+400,a,t)-it:Date.UTC(e,a,t)}function ut(e,a){return a.erasAbbrRegex(e)}function lt(){for(var e=[],a=[],t=[],s=[],n=this.eras(),r=0,d=n.length;r<d;++r)a.push(k(n[r].name)),e.push(k(n[r].abbr)),t.push(k(n[r].narrow)),s.push(k(n[r].name)),s.push(k(n[r].abbr)),s.push(k(n[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+t.join("|")+")","i")}function Mt(e,a){s(0,[e,e.length],0,a)}function ht(e,a,t,s,n){var r;return null==e?Xe(this,s,n).year:(r=ea(e,s,n),function(e,a,t,s,n){e=Qe(e,a,t,s,n),a=Ze(e.year,0,e.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,a=r<a?r:a,t,s,n))}s("N",0,0,"eraAbbr"),s("NN",0,0,"eraAbbr"),s("NNN",0,0,"eraAbbr"),s("NNNN",0,0,"eraName"),s("NNNNN",0,0,"eraNarrow"),s("y",["y",1],"yo","eraYear"),s("y",["yy",2],0,"eraYear"),s("y",["yyy",3],0,"eraYear"),s("y",["yyyy",4],0,"eraYear"),p("N",ut),p("NN",ut),p("NNN",ut),p("NNNN",function(e,a){return a.erasNameRegex(e)}),p("NNNNN",function(e,a){return a.erasNarrowRegex(e)}),D(["N","NN","NNN","NNNN","NNNNN"],function(e,a,t,s){s=t._locale.erasParse(e,s,t._strict);s?h(t).era=s:h(t).invalidEra=e}),p("y",Te),p("yy",Te),p("yyy",Te),p("yyyy",Te),p("yo",function(e,a){return a._eraYearOrdinalRegex||Te}),D(["y","yy","yyy","yyyy"],g),D(["yo"],function(e,a,t,s){var n;t._locale._eraYearOrdinalRegex&&(n=e.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?a[g]=t._locale.eraYearOrdinalParse(e,n):a[g]=parseInt(e,10)}),s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Mt("gggg","weekYear"),Mt("ggggg","weekYear"),Mt("GGGG","isoWeekYear"),Mt("GGGGG","isoWeekYear"),a("weekYear","gg"),a("isoWeekYear","GG"),t("weekYear",1),t("isoWeekYear",1),p("G",ge),p("g",ge),p("GG",o,r),p("gg",o,r),p("GGGG",Y,ke),p("gggg",Y,ke),p("GGGGG",y,_),p("ggggg",y,_),je(["gggg","ggggg","GGGG","GGGGG"],function(e,a,t,s){a[s.substr(0,2)]=m(e)}),je(["gg","GG"],function(e,a,t,s){a[s]=M.parseTwoDigitYear(e)}),s("Q",0,"Qo","quarter"),a("quarter","Q"),t("quarter",7),p("Q",n),D("Q",function(e,a){a[xe]=3*(m(e)-1)}),s("D",["DD",2],"Do","date"),a("date","D"),t("date",9),p("D",o),p("DD",o,r),p("Do",function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient}),D(["D","DD"],Pe),D("Do",function(e,a){a[Pe]=m(e.match(o)[0])});Y=Ye("Date",!0);s("DDD",["DDDD",3],"DDDo","dayOfYear"),a("dayOfYear","DDD"),t("dayOfYear",4),p("DDD",De),p("DDDD",pe),D(["DDD","DDDD"],function(e,a,t){t._dayOfYear=m(e)}),s("m",["mm",2],0,"minute"),a("minute","m"),t("minute",14),p("m",o),p("mm",o,r),D(["m","mm"],Oe);var ct,ke=Ye("Minutes",!1),y=(s("s",["ss",2],0,"second"),a("second","s"),t("second",15),p("s",o),p("ss",o,r),D(["s","ss"],We),Ye("Seconds",!1));for(s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return 10*this.millisecond()}),s(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),s(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),s(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),s(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),s(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),a("millisecond","ms"),t("millisecond",16),p("S",De,n),p("SS",De,r),p("SSS",De,pe),ct="SSSS";ct.length<=9;ct+="S")p(ct,Te);function Lt(e,a){a[Ae]=m(1e3*("0."+e))}for(ct="S";ct.length<=9;ct+="S")D(ct,Lt);_=Ye("Milliseconds",!1),s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName");n=$.prototype;function Yt(e){return e}n.add=Ne,n.calendar=function(e,a){1===arguments.length&&(arguments[0]?st(arguments[0])?(e=arguments[0],a=void 0):function(e){for(var a=z(e)&&!N(e),t=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<s.length;n+=1)t=t||l(e,s[n]);return a&&t}(arguments[0])&&(a=arguments[0],e=void 0):a=e=void 0);var e=e||S(),t=Va(e,this).startOf("day"),t=M.calendarFormat(this,t)||"sameElse",a=a&&(te(a[t])?a[t].call(this,e):a[t]);return this.format(a||this.localeData().calendar(t,this,S(e)))},n.clone=function(){return new $(this)},n.diff=function(e,a,t){var s,n,r;if(!this.isValid())return NaN;if(!(s=Va(e,this)).isValid())return NaN;switch(n=6e4*(s.utcOffset()-this.utcOffset()),a=i(a)){case"year":r=nt(this,s)/12;break;case"month":r=nt(this,s);break;case"quarter":r=nt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-n)/864e5;break;case"week":r=(this-s-n)/6048e5;break;default:r=this-s}return t?r:u(r)},n.endOf=function(e){var a,t;if(void 0===(e=i(e))||"millisecond"===e||!this.isValid())return this;switch(t=this._isUTC?mt:ot,e){case"year":a=t(this.year()+1,0,1)-1;break;case"quarter":a=t(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":a=t(this.year(),this.month()+1,1)-1;break;case"week":a=t(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":a=t(this.year(),this.month(),this.date()+1)-1;break;case"hour":a=this._d.valueOf(),a+=36e5-_t(a+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":a=this._d.valueOf(),a+=6e4-_t(a,6e4)-1;break;case"second":a=this._d.valueOf(),a+=1e3-_t(a,1e3)-1;break}return this._d.setTime(a),M.updateOffset(this,!0),this},n.format=function(e){return e=e||(this.isUtc()?M.defaultFormatUtc:M.defaultFormat),e=ue(this,e),this.localeData().postformat(e)},n.from=function(e,a){return this.isValid()&&(Q(e)&&e.isValid()||S(e).isValid())?$a({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},n.fromNow=function(e){return this.from(S(),e)},n.to=function(e,a){return this.isValid()&&(Q(e)&&e.isValid()||S(e).isValid())?$a({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},n.toNow=function(e){return this.to(S(),e)},n.get=function(e){return te(this[e=i(e)])?this[e]():this},n.invalidAt=function(){return h(this).overflow},n.isAfter=function(e,a){return e=Q(e)?e:S(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(a=i(a)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(a).valueOf())},n.isBefore=function(e,a){return e=Q(e)?e:S(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(a=i(a)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(a).valueOf()<e.valueOf())},n.isBetween=function(e,a,t,s){return e=Q(e)?e:S(e),a=Q(a)?a:S(a),!!(this.isValid()&&e.isValid()&&a.isValid())&&(("("===(s=s||"()")[0]?this.isAfter(e,t):!this.isBefore(e,t))&&(")"===s[1]?this.isBefore(a,t):!this.isAfter(a,t)))},n.isSame=function(e,a){var e=Q(e)?e:S(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(a=i(a)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(a).valueOf()<=e&&e<=this.clone().endOf(a).valueOf()))},n.isSameOrAfter=function(e,a){return this.isSame(e,a)||this.isAfter(e,a)},n.isSameOrBefore=function(e,a){return this.isSame(e,a)||this.isBefore(e,a)},n.isValid=function(){return G(this)},n.lang=na,n.locale=rt,n.localeData=dt,n.max=L,n.min=c,n.parsingFlags=function(){return I({},h(this))},n.set=function(e,a){if("object"==typeof e)for(var t=function(e){var a,t=[];for(a in e)l(e,a)&&t.push({unit:a,priority:ce[a]});return t.sort(function(e,a){return e.priority-a.priority}),t}(e=he(e)),s=t.length,n=0;n<s;n++)this[t[n].unit](e[t[n].unit]);else if(te(this[e=i(e)]))return this[e](a);return this},n.startOf=function(e){var a,t;if(void 0===(e=i(e))||"millisecond"===e||!this.isValid())return this;switch(t=this._isUTC?mt:ot,e){case"year":a=t(this.year(),0,1);break;case"quarter":a=t(this.year(),this.month()-this.month()%3,1);break;case"month":a=t(this.year(),this.month(),1);break;case"week":a=t(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":a=t(this.year(),this.month(),this.date());break;case"hour":a=this._d.valueOf(),a-=_t(a+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":a=this._d.valueOf(),a-=_t(a,6e4);break;case"second":a=this._d.valueOf(),a-=_t(a,1e3);break}return this._d.setTime(a),M.updateOffset(this,!0),this},n.subtract=ta,n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},n.toObject=function(){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()}},n.toDate=function(){return new Date(this.valueOf())},n.toISOString=function(e){if(!this.isValid())return null;var a=(e=!0!==e)?this.clone().utc():this;return a.year()<0||9999<a.year()?ue(a,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):te(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ue(a,"Z")):ue(a,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,a="moment",t="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z"),a="["+a+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(a+e+"-MM-DD[T]HH:mm:ss.SSS"+(t+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},n.eraName=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf("day").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].name;if(a[t].until<=e&&e<=a[t].since)return a[t].name}return""},n.eraNarrow=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf("day").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].narrow;if(a[t].until<=e&&e<=a[t].since)return a[t].narrow}return""},n.eraAbbr=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf("day").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].abbr;if(a[t].until<=e&&e<=a[t].since)return a[t].abbr}return""},n.eraYear=function(){for(var e,a,t=this.localeData().eras(),s=0,n=t.length;s<n;++s)if(e=t[s].since<=t[s].until?1:-1,a=this.clone().startOf("day").valueOf(),t[s].since<=a&&a<=t[s].until||t[s].until<=a&&a<=t[s].since)return(this.year()-M(t[s].since).year())*e+t[s].offset;return this.year()},n.year=Ke,n.isLeapYear=function(){return Le(this.year())},n.weekYear=function(e){return ht.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return ht.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},n.quarter=n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},n.month=Ge,n.daysInMonth=function(){return ze(this.year(),this.month())},n.week=n.weeks=function(e){var a=this.localeData().week(this);return null==e?a:this.add(7*(e-a),"d")},n.isoWeek=n.isoWeeks=function(e){var a=Xe(this,1,4).week;return null==e?a:this.add(7*(e-a),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return ea(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return ea(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return ea(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return ea(this.isoWeekYear(),1,4)},n.date=Y,n.day=n.days=function(e){if(!this.isValid())return null!=e?this:NaN;var a,t,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(a=e,t=this.localeData(),e="string"!=typeof a?a:isNaN(a)?"number"==typeof(a=t.weekdaysParse(a))?a:null:parseInt(a,10),this.add(e-s,"d")):s},n.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var a=(this.day()+7-this.localeData()._week.dow)%7;return null==e?a:this.add(e-a,"d")},n.isoWeekday=function(e){return this.isValid()?null!=e?(a=e,t=this.localeData(),t="string"==typeof a?t.weekdaysParse(a)%7||7:isNaN(a)?null:a,this.day(this.day()%7?t:t-7)):this.day()||7:null!=e?this:NaN;var a,t},n.dayOfYear=function(e){var a=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?a:this.add(e-a,"d")},n.hour=n.hours=f,n.minute=n.minutes=ke,n.second=n.seconds=y,n.millisecond=n.milliseconds=_,n.utcOffset=function(e,a,t){var s,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:Ba(this);if("string"==typeof e){if(null===(e=Ga(be,e)))return this}else Math.abs(e)<16&&!t&&(e*=60);return!this._isUTC&&a&&(s=Ba(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),n!==e&&(!a||this._changeInProgress?at(this,$a(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,M.updateOffset(this,!0),this._changeInProgress=null)),this},n.utc=function(e){return this.utcOffset(0,e)},n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ba(this),"m")),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ga(we,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60==0)},n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},n.isLocal=function(){return!!this.isValid()&&!this._isUTC},n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},n.isUtc=Ka,n.isUTC=Ka,n.zoneAbbr=function(){return this._isUTC?"UTC":""},n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},n.dates=e("dates accessor is deprecated. Use date instead.",Y),n.months=e("months accessor is deprecated. Use month instead",Ge),n.years=e("years accessor is deprecated. Use year instead",Ke),n.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,a){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,a),this):-this.utcOffset()}),n.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,a={};return Z(a,this),(a=Ea(a))._a?(e=(a._isUTC?U:S)(a._a),this._isDSTShifted=this.isValid()&&0<function(e,a,t){for(var s=Math.min(e.length,a.length),n=Math.abs(e.length-a.length),r=0,d=0;d<s;d++)(t&&e[d]!==a[d]||!t&&m(e[d])!==m(a[d]))&&r++;return r+n}(a._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});r=ne.prototype;function yt(e,a,t,s){var n=pa(),s=U().set(s,a);return n[t](s,e)}function ft(e,a,t){if(J(e)&&(a=e,e=void 0),e=e||"",null!=a)return yt(e,a,t,"month");for(var s=[],n=0;n<12;n++)s[n]=yt(e,n,t,"month");return s}function pt(e,a,t,s){a=("boolean"==typeof e?J(a)&&(t=a,a=void 0):(a=e,e=!1,J(t=a)&&(t=a,a=void 0)),a||"");var n,r=pa(),d=e?r._week.dow:0,i=[];if(null!=t)return yt(a,(t+d)%7,s,"day");for(n=0;n<7;n++)i[n]=yt(a,(n+d)%7,s,"day");return i}r.calendar=function(e,a,t){return te(e=this._calendar[e]||this._calendar.sameElse)?e.call(a,t):e},r.longDateFormat=function(e){var a=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return a||!t?a:(this._longDateFormat[e]=t.match(ie).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},r.invalidDate=function(){return this._invalidDate},r.ordinal=function(e){return this._ordinal.replace("%d",e)},r.preparse=Yt,r.postformat=Yt,r.relativeTime=function(e,a,t,s){var n=this._relativeTime[t];return te(n)?n(e,a,t,s):n.replace(/%d/i,e)},r.pastFuture=function(e,a){return te(e=this._relativeTime[0<e?"future":"past"])?e(a):e.replace(/%s/i,a)},r.set=function(e){var a,t;for(t in e)l(e,t)&&(te(a=e[t])?this[t]=a:this["_"+t]=a);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},r.eras=function(e,a){for(var t,s=this._eras||pa("en")._eras,n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":t=M(s[n].since).startOf("day"),s[n].since=t.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":t=M(s[n].until).startOf("day").valueOf(),s[n].until=t.valueOf();break}}return s},r.erasParse=function(e,a,t){var s,n,r,d,i,_=this.eras();for(e=e.toUpperCase(),s=0,n=_.length;s<n;++s)if(r=_[s].name.toUpperCase(),d=_[s].abbr.toUpperCase(),i=_[s].narrow.toUpperCase(),t)switch(a){case"N":case"NN":case"NNN":if(d===e)return _[s];break;case"NNNN":if(r===e)return _[s];break;case"NNNNN":if(i===e)return _[s];break}else if(0<=[r,d,i].indexOf(e))return _[s]},r.erasConvertYear=function(e,a){var t=e.since<=e.until?1:-1;return void 0===a?M(e.since).year():M(e.since).year()+(a-e.offset)*t},r.erasAbbrRegex=function(e){return l(this,"_erasAbbrRegex")||lt.call(this),e?this._erasAbbrRegex:this._erasRegex},r.erasNameRegex=function(e){return l(this,"_erasNameRegex")||lt.call(this),e?this._erasNameRegex:this._erasRegex},r.erasNarrowRegex=function(e){return l(this,"_erasNarrowRegex")||lt.call(this),e?this._erasNarrowRegex:this._erasRegex},r.months=function(e,a){return e?(F(this._months)?this._months:this._months[(this._months.isFormat||Re).test(a)?"format":"standalone"])[e.month()]:F(this._months)?this._months:this._months.standalone},r.monthsShort=function(e,a){return e?(F(this._monthsShort)?this._monthsShort:this._monthsShort[Re.test(a)?"format":"standalone"])[e.month()]:F(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},r.monthsParse=function(e,a,t){var s,n;if(this._monthsParseExact)return function(e,a,t){var s,n,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=U([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return t?"MMM"===a?-1!==(n=T.call(this._shortMonthsParse,e))?n:null:-1!==(n=T.call(this._longMonthsParse,e))?n:null:"MMM"===a?-1!==(n=T.call(this._shortMonthsParse,e))||-1!==(n=T.call(this._longMonthsParse,e))?n:null:-1!==(n=T.call(this._longMonthsParse,e))||-1!==(n=T.call(this._shortMonthsParse,e))?n:null}.call(this,e,a,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=U([2e3,s]),t&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),t||this._monthsParse[s]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(n.replace(".",""),"i")),t&&"MMMM"===a&&this._longMonthsParse[s].test(e))return s;if(t&&"MMM"===a&&this._shortMonthsParse[s].test(e))return s;if(!t&&this._monthsParse[s].test(e))return s}},r.monthsRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Ie),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},r.monthsShortRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},r.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},r.firstDayOfYear=function(){return this._week.doy},r.firstDayOfWeek=function(){return this._week.dow},r.weekdays=function(e,a){return a=F(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(a)?"format":"standalone"],!0===e?aa(a,this._week.dow):e?a[e.day()]:a},r.weekdaysMin=function(e){return!0===e?aa(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},r.weekdaysShort=function(e){return!0===e?aa(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},r.weekdaysParse=function(e,a,t){var s,n;if(this._weekdaysParseExact)return function(e,a,t){var s,n,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=U([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return t?"dddd"===a?-1!==(n=T.call(this._weekdaysParse,e))?n:null:"ddd"===a?-1!==(n=T.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=T.call(this._minWeekdaysParse,e))?n:null:"dddd"===a?-1!==(n=T.call(this._weekdaysParse,e))||-1!==(n=T.call(this._shortWeekdaysParse,e))||-1!==(n=T.call(this._minWeekdaysParse,e))?n:null:"ddd"===a?-1!==(n=T.call(this._shortWeekdaysParse,e))||-1!==(n=T.call(this._weekdaysParse,e))||-1!==(n=T.call(this._minWeekdaysParse,e))?n:null:-1!==(n=T.call(this._minWeekdaysParse,e))||-1!==(n=T.call(this._weekdaysParse,e))||-1!==(n=T.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,a,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=U([2e3,1]).day(s),t&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(n.replace(".",""),"i")),t&&"dddd"===a&&this._fullWeekdaysParse[s].test(e))return s;if(t&&"ddd"===a&&this._shortWeekdaysParse[s].test(e))return s;if(t&&"dd"===a&&this._minWeekdaysParse[s].test(e))return s;if(!t&&this._weekdaysParse[s].test(e))return s}},r.weekdaysRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=ra),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},r.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=da),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},r.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ia),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},r.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},r.meridiem=function(e,a,t){return 11<e?t?"pm":"PM":t?"am":"AM"},ya("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1===m(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")}}),M.lang=e("moment.lang is deprecated. Use moment.locale instead.",ya),M.langData=e("moment.langData is deprecated. Use moment.localeData instead.",pa);var kt=Math.abs;function Dt(e,a,t,s){a=$a(a,t);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function Tt(e){return e<0?Math.floor(e):Math.ceil(e)}function gt(e){return 4800*e/146097}function wt(e){return 146097*e/4800}function bt(e){return function(){return this.as(e)}}De=bt("ms"),pe=bt("s"),Ne=bt("m"),L=bt("h"),c=bt("d"),ta=bt("w"),f=bt("M"),ke=bt("Q"),y=bt("y");function St(e){return function(){return this.isValid()?this._data[e]:NaN}}var _=St("milliseconds"),Y=St("seconds"),Ke=St("minutes"),r=St("hours"),Ht=St("days"),vt=St("months"),jt=St("years");var xt=Math.round,Pt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ot(e,a,t,s){var n=$a(e).abs(),r=xt(n.as("s")),d=xt(n.as("m")),i=xt(n.as("h")),_=xt(n.as("d")),o=xt(n.as("M")),m=xt(n.as("w")),n=xt(n.as("y")),r=(r<=t.ss?["s",r]:r<t.s&&["ss",r])||d<=1&&["m"]||d<t.m&&["mm",d]||i<=1&&["h"]||i<t.h&&["hh",i]||_<=1&&["d"]||_<t.d&&["dd",_];return(r=(r=null!=t.w?r||m<=1&&["w"]||m<t.w&&["ww",m]:r)||o<=1&&["M"]||o<t.M&&["MM",o]||n<=1&&["y"]||["yy",n])[2]=a,r[3]=0<+e,r[4]=s,function(e,a,t,s,n){return n.relativeTime(a||1,!!t,e,s)}.apply(null,r)}var Wt=Math.abs;function At(e){return(0<e)-(e<0)||+e}function Et(){if(!this.isValid())return this.localeData().invalidDate();var e,a,t,s,n,r,d,i=Wt(this._milliseconds)/1e3,_=Wt(this._days),o=Wt(this._months),m=this.asSeconds();return m?(e=u(i/60),a=u(e/60),i%=60,e%=60,t=u(o/12),o%=12,s=i?i.toFixed(3).replace(/\.?0+$/,""):"",n=At(this._months)!==At(m)?"-":"",r=At(this._days)!==At(m)?"-":"",d=At(this._milliseconds)!==At(m)?"-":"",(m<0?"-":"")+"P"+(t?n+t+"Y":"")+(o?n+o+"M":"")+(_?r+_+"D":"")+(a||e||i?"T":"")+(a?d+a+"H":"")+(e?d+e+"M":"")+(i?d+s+"S":"")):"P0D"}function Ft(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function H(d){return function(e,a,t,s){var n=Ft(e),r=Jt[d][Ft(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}function zt(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function v(d){return function(e,a,t,s){var n=zt(e),r=Ct[d][zt(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}function Nt(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function j(d){return function(e,a,t,s){var n=Nt(e),r=Bt[d][Nt(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}var x=Ja.prototype,Jt=(x.isValid=function(){return this._isValid},x.abs=function(){var e=this._data;return this._milliseconds=kt(this._milliseconds),this._days=kt(this._days),this._months=kt(this._months),e.milliseconds=kt(e.milliseconds),e.seconds=kt(e.seconds),e.minutes=kt(e.minutes),e.hours=kt(e.hours),e.months=kt(e.months),e.years=kt(e.years),this},x.add=function(e,a){return Dt(this,e,a,1)},x.subtract=function(e,a){return Dt(this,e,a,-1)},x.as=function(e){if(!this.isValid())return NaN;var a,t,s=this._milliseconds;if("month"===(e=i(e))||"quarter"===e||"year"===e)switch(a=this._days+s/864e5,t=this._months+gt(a),e){case"month":return t;case"quarter":return t/3;case"year":return t/12}else switch(a=this._days+Math.round(wt(this._months)),e){case"week":return a/7+s/6048e5;case"day":return a+s/864e5;case"hour":return 24*a+s/36e5;case"minute":return 1440*a+s/6e4;case"second":return 86400*a+s/1e3;case"millisecond":return Math.floor(864e5*a)+s;default:throw new Error("Unknown unit "+e)}},x.asMilliseconds=De,x.asSeconds=pe,x.asMinutes=Ne,x.asHours=L,x.asDays=c,x.asWeeks=ta,x.asMonths=f,x.asQuarters=ke,x.asYears=y,x.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},x._bubble=function(){var e=this._milliseconds,a=this._days,t=this._months,s=this._data;return 0<=e&&0<=a&&0<=t||e<=0&&a<=0&&t<=0||(e+=864e5*Tt(wt(t)+a),t=a=0),s.milliseconds=e%1e3,e=u(e/1e3),s.seconds=e%60,e=u(e/60),s.minutes=e%60,e=u(e/60),s.hours=e%24,a+=u(e/24),t+=e=u(gt(a)),a-=Tt(wt(e)),e=u(t/12),t%=12,s.days=a,s.months=t,s.years=e,this},x.clone=function(){return $a(this)},x.get=function(e){return e=i(e),this.isValid()?this[e+"s"]():NaN},x.milliseconds=_,x.seconds=Y,x.minutes=Ke,x.hours=r,x.days=Ht,x.weeks=function(){return u(this.days()/7)},x.months=vt,x.years=jt,x.humanize=function(e,a){if(!this.isValid())return this.localeData().invalidDate();var t=!1,s=Pt;return"object"==typeof e&&(a=e,e=!1),"boolean"==typeof e&&(t=e),"object"==typeof a&&(s=Object.assign({},Pt,a),null!=a.s&&null==a.ss&&(s.ss=a.s-1)),e=this.localeData(),a=Ot(this,!t,s,e),t&&(a=e.pastFuture(+this,a)),e.postformat(a)},x.toISOString=Et,x.toString=Et,x.toJSON=Et,x.locale=rt,x.localeData=dt,x.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Et),x.lang=na,s("X",0,0,"unix"),s("x",0,0,"valueOf"),p("x",ge),p("X",/[+-]?\d+(\.\d{1,3})?/),D("X",function(e,a,t){t._d=new Date(1e3*parseFloat(e))}),D("x",function(e,a,t){t._d=new Date(m(e))}),M.version="2.29.4",E=S,M.fn=n,M.min=function(){return za("isBefore",[].slice.call(arguments,0))},M.max=function(){return za("isAfter",[].slice.call(arguments,0))},M.now=function(){return Date.now?Date.now():+new Date},M.utc=U,M.unix=function(e){return S(1e3*e)},M.months=function(e,a){return ft(e,a,"months")},M.isDate=R,M.locale=ya,M.invalid=V,M.duration=$a,M.isMoment=Q,M.weekdays=function(e,a,t){return pt(e,a,t,"weekdays")},M.parseZone=function(){return S.apply(null,arguments).parseZone()},M.localeData=pa,M.isDuration=Ra,M.monthsShort=function(e,a){return ft(e,a,"monthsShort")},M.weekdaysMin=function(e,a,t){return pt(e,a,t,"weekdaysMin")},M.defineLocale=fa,M.updateLocale=function(e,a){var t,s;return null!=a?(s=Ma,null!=b[e]&&null!=b[e].parentLocale?b[e].set(se(b[e]._config,a)):(a=se(s=null!=(t=Ya(e))?t._config:s,a),null==t&&(a.abbr=e),(s=new ne(a)).parentLocale=b[e],b[e]=s),ya(e)):null!=b[e]&&(null!=b[e].parentLocale?(b[e]=b[e].parentLocale,e===ya()&&ya(e)):null!=b[e]&&delete b[e]),b[e]},M.locales=function(){return re(b)},M.weekdaysShort=function(e,a,t){return pt(e,a,t,"weekdaysShort")},M.normalizeUnits=i,M.relativeTimeRounding=function(e){return void 0===e?xt:"function"==typeof e&&(xt=e,!0)},M.relativeTimeThreshold=function(e,a){return void 0!==Pt[e]&&(void 0===a?Pt[e]:(Pt[e]=a,"s"===e&&(Pt.ss=a-1),!0))},M.calendarFormat=function(e,a){return(e=e.diff(a,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},M.prototype=n,M.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},M.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,a,t){return e<12?t?"vm":"VM":t?"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\xf4re 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",ss:"%d 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||20<=e?"ste":"de")},week:{dow:1,doy:4}}),{s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]}),De=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],Rt=(M.defineLocale("ar-dz",{months:De,monthsShort:De,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:H("s"),ss:H("s"),m:H("m"),mm:H("m"),h:H("h"),hh:H("h"),d:H("d"),dd:H("d"),M:H("M"),MM:H("M"),y:H("y"),yy:H("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}}),M.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}}),{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"}),Ct={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},pe=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],It=(M.defineLocale("ar-ly",{months:pe,monthsShort:pe,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Rt[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),M.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),Ut={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},Gt=(M.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return Ut[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return It[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}}),M.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),Vt={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},Bt={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},Ne=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],Kt=(M.defineLocale("ar",{months:Ne,monthsShort:Ne,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:j("s"),ss:j("s"),m:j("m"),mm:j("m"),h:j("h"),hh:j("h"),d:j("d"),dd:j("d"),M:j("M"),MM:j("M"),y:j("y"),yy:j("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return Vt[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Gt[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),{1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"});function qt(e,a,t){return"m"===t?a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===t?a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(e=+e,a=(a={ss:a?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[t]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}M.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\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".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\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,a,t){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var a=e%10;return e+(Kt[a]||Kt[e%100-a]||Kt[100<=e?100:null])},week:{dow:1,doy:7}}),M.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:qt,mm:qt,h:qt,hh:qt,d:"\u0434\u0437\u0435\u043d\u044c",dd:qt,M:"\u043c\u0435\u0441\u044f\u0446",MM:qt,y:"\u0433\u043e\u0434",yy:qt},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}}),M.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".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:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-\u0435\u0432":0==t?e+"-\u0435\u043d":10<t&&t<20?e+"-\u0442\u0438":1==a?e+"-\u0432\u0438":2==a?e+"-\u0440\u0438":7==a||8==a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),M.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});var Zt={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},$t={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"},Qt=(M.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return $t[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Zt[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a?e<4?e:e+12:"\u09ad\u09cb\u09b0"===a||"\u09b8\u0995\u09be\u09b2"===a?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===a?3<=e?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===a||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}}),{1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"}),Xt={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"},es=(M.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return Xt[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Qt[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a&&4<=e||"\u09a6\u09c1\u09aa\u09c1\u09b0"===a&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}}),{1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"}),as={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};function ts(e,a,t){return e+" "+(t={mm:"munutenn",MM:"miz",dd:"devezh"}[t],2!==(e=e)?t:void 0!==(e={m:"v",b:"v",d:"z"})[(t=t).charAt(0)]?e[t.charAt(0)]+t.substring(1):t)}M.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".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:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return as[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return es[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===a&&4<=e||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===a&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}});L=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],c=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,ta=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];function ss(e,a,t){var s=e+" ";switch(t){case"ss":return s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1!==e&&(2===e||3===e||4===e)?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return s+=1!==e&&(2===e||3===e||4===e)?"godine":"godina"}}M.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:ta,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:ta,monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:L,longMonthsParse:L,shortMonthsParse:L,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:ts,h:"un eur",hh:"%d eur",d:"un devezh",dd:ts,M:"ur miz",MM:ts,y:"ur bloaz",yy:function(e){switch(function e(a){if(9<a)return e(a%10);return a}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,a,t){return e<12?"a.m.":"g.m."}}),M.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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:ss,m:ss,mm:ss,h:ss,hh:ss,d:"dan",dd:ss,M:"mjesec",MM:ss,y:"godinu",yy:ss},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),M.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_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\xe7_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:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"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\xe0 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\xed %s",past:"fa %s",s:"uns segons",ss:"%d 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|\xe8|a)/,ordinal:function(e,a){return e+("w"!==a&&"W"!==a?1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8":"a")},week:{dow:1,doy:4}});f={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},ke="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),y=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],_=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function ns(e){return 1<e&&e<5&&1!=~~(e/10)}function P(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return a||s?n+(ns(e)?"sekundy":"sekund"):n+"sekundami";case"m":return a?"minuta":s?"minutu":"minutou";case"mm":return a||s?n+(ns(e)?"minuty":"minut"):n+"minutami";case"h":return a?"hodina":s?"hodinu":"hodinou";case"hh":return a||s?n+(ns(e)?"hodiny":"hodin"):n+"hodinami";case"d":return a||s?"den":"dnem";case"dd":return a||s?n+(ns(e)?"dny":"dn\xed"):n+"dny";case"M":return a||s?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return a||s?n+(ns(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):n+"m\u011bs\xedci";case"y":return a||s?"rok":"rokem";case"yy":return a||s?n+(ns(e)?"roky":"let"):n+"lety"}}function rs(e,a,t,s){e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?e[t][0]:e[t][1]}function ds(e,a,t,s){e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?e[t][0]:e[t][1]}function is(e,a,t,s){e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?e[t][0]:e[t][1]}M.defineLocale("cs",{months:f,monthsShort:ke,monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_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\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:P,ss:P,m:P,mm:P,h:P,hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}}),M.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 \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",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 a="";return 20<e?a=40===e||50===e||60===e||80===e||100===e?"fed":"ain":0<e&&(a=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+a},week:{dow:1,doy:4}}),M.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\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".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\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._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",ss:"%d Sekunden",m:rs,mm:"%d Minuten",h:rs,hh:"%d Stunden",d:rs,dd:rs,w:rs,ww:"%d Wochen",M:rs,MM:rs,y:rs,yy:rs},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._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",ss:"%d Sekunden",m:ds,mm:"%d Minuten",h:ds,hh:"%d Stunden",d:ds,dd:ds,w:ds,ww:"%d Wochen",M:ds,MM:ds,y:ds,yy:ds},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._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",ss:"%d Sekunden",m:is,mm:"%d Minuten",h:is,hh:"%d Stunden",d:is,dd:is,w:is,ww:"%d Wochen",M:is,MM:is,y:is,yy:is},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});Y=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],Ke=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];M.defineLocale("dv",{months:Y,monthsShort:Y,weekdays:Ke,weekdaysShort:Ke,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".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:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,a,t){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}}),M.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,a){return e?("string"==typeof a&&/D/.test(a.substring(0,a.indexOf("MMMM")))?this._monthsGenitiveEl:this._monthsNominativeEl)[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,a,t){return 11<e?t?"\u03bc\u03bc":"\u039c\u039c":t?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/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:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,a){var t,e=this._calendarEl[e],s=a&&a.hours();return t=e,(e="undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)?e.apply(a):e).replace("{}",s%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}}),M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:0,doy:4}}),M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")}}),M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("en-il",{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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")}}),M.defineLocale("en-in",{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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:0,doy:6}}),M.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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("en-sg",{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",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,a,t){return 11<e?t?"p.t.m.":"P.T.M.":t?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var _s="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),os="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Ht=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,ms=(M.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?os:_s)[e.month()]:_s},monthsRegex:Ht,monthsShortRegex:Ht,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),us="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),vt=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],jt=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,ls=(M.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?us:ms)[e.month()]:ms},monthsRegex:jt,monthsShortRegex:jt,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:vt,longMonthsParse:vt,shortMonthsParse:vt,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),Ms="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],na=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,hs=(M.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?Ms:ls)[e.month()]:ls},monthsRegex:na,monthsShortRegex:na,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/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\xf1ana 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",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),cs="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),ge=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;function Ls(e,a,t,s){e={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return a?e[t][2]||e[t][1]:s?e[t][0]:e[t][1]}M.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?cs:hs)[e.month()]:hs},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:ge,longMonthsParse:ge,shortMonthsParse:ge,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"}),M.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".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\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:Ls,ss:Ls,m:Ls,mm:Ls,h:Ls,hh:Ls,d:Ls,dd:"%d p\xe4eva",M:Ls,MM:Ls,y:Ls,yy:Ls},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.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",ss:"%d segundo",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 Ys={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},ys={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"},fs=(M.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".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:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,a,t){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return ys[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Ys[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}}),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" ")),ps=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",fs[7],fs[8],fs[9]];function O(e,a,t,s){var n="";switch(t){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":n=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":n=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":n=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":n=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":n=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":n=s?"vuoden":"vuotta";break}return t=s,n=((e=e)<10?(t?ps:fs)[e]:e)+" "+n}M.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_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\xe4n\xe4\xe4n] [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\xe4\xe4st\xe4",past:"%s sitten",s:O,ss:O,m:O,mm:O,h:O,hh:O,d:O,dd:O,M:O,MM:O,y:O,yy:O},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("fil",{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",ss:"%d 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}}),M.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_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\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_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:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d 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,a){switch(a){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")}}}),M.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d 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,a){switch(a){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}});var De=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,pe=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i],ks=(M.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:De,monthsShortRegex:De,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:pe,longMonthsParse:pe,shortMonthsParse:pe,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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,a){switch(a){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}}),"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_")),Ds="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");M.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?Ds:ks)[e.month()]:ks},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:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",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||20<=e?"ste":"de")},week:{dow:1,doy:4}}),M.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},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}});function Ts(e,a,t,s){e={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return s?e[t][0]:e[t][1]}function gs(e,a,t,s){e={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return s?e[t][0]:e[t][1]}M.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],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\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",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}}),M.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".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()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:Ts,ss:Ts,m:Ts,mm:Ts,h:Ts,hh:Ts,d:Ts,dd:Ts,M:Ts,MM:Ts,y:Ts,yy:Ts},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,a){switch(a){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===a?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===a?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===a?12<e?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}}),M.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_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 Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:gs,ss:gs,m:gs,mm:gs,h:gs,hh:gs,d:gs,dd:gs,M:gs,MM:gs,y:gs,yy:gs},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,a){switch(a){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,a){return 12===e&&(e=0),"rati"===a?e<4?e:e+12:"sokallim"===a?e:"donparam"===a?12<e?e:e+12:"sanje"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});var ws={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},bs={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"},Ss=(M.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return bs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ws[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===a?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===a?e:"\u0aac\u0aaa\u0acb\u0ab0"===a?10<=e?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}}),M.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]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:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,a,t){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?t?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?t?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}}),{1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"}),Hs={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},Ne=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];function vs(e,a,t){var s=e+" ";switch(t){case"ss":return s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1!==e&&(2===e||3===e||4===e)?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return s+=1!==e&&(2===e||3===e||4===e)?"godine":"godina"}}M.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:Ne,longMonthsParse:Ne,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return Hs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ss[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924"===a?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===a?e:"\u0926\u094b\u092a\u0939\u0930"===a?10<=e?e:e+12:"\u0936\u093e\u092e"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}}),M.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do 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\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:vs,m:vs,mm:vs,h:vs,hh:vs,d:"dan",dd:vs,M:"mjesec",MM:vs,y:"godinu",yy:vs},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var js="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function xs(e,a,t,s){var n=e;switch(t){case"s":return s||a?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return n+(s||a)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(s||a?" perc":" perce");case"mm":return n+(s||a?" perc":" perce");case"h":return"egy"+(s||a?" \xf3ra":" \xf3r\xe1ja");case"hh":return n+(s||a?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(s||a?" nap":" napja");case"dd":return n+(s||a?" nap":" napja");case"M":return"egy"+(s||a?" h\xf3nap":" h\xf3napja");case"MM":return n+(s||a?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(s||a?" \xe9v":" \xe9ve");case"yy":return n+(s||a?" \xe9v":" \xe9ve")}return""}function Ps(e){return(e?"":"[m\xfalt] ")+"["+js[this.day()]+"] LT[-kor]"}function Os(e){return e%100==11||e%10!=1}function Ws(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return Os(e)?n+(a||s?"sek\xfandur":"sek\xfandum"):n+"sek\xfanda";case"m":return a?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return Os(e)?n+(a||s?"m\xedn\xfatur":"m\xedn\xfatum"):a?n+"m\xedn\xfata":n+"m\xedn\xfatu";case"hh":return Os(e)?n+(a||s?"klukkustundir":"klukkustundum"):n+"klukkustund";case"d":return a?"dagur":s?"dag":"degi";case"dd":return Os(e)?a?n+"dagar":n+(s?"daga":"d\xf6gum"):a?n+"dagur":n+(s?"dag":"degi");case"M":return a?"m\xe1nu\xf0ur":s?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return Os(e)?a?n+"m\xe1nu\xf0ir":n+(s?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):a?n+"m\xe1nu\xf0ur":n+(s?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return a||s?"\xe1r":"\xe1ri";case"yy":return Os(e)?n+(a||s?"\xe1r":"\xe1rum"):n+(a||s?"\xe1r":"\xe1ri")}}M.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_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,a,t){return e<12?!0===t?"de":"DE":!0===t?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Ps.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Ps.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:xs,ss:xs,m:xs,mm:xs,h:xs,hh:xs,d:xs,dd:xs,M:xs,MM:xs,y:xs,yy:xs},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}}),M.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_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,a){return 12===e&&(e=0),"pagi"===a?e:"siang"===a?11<=e?e:e+12:"sore"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){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",ss:"%d 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:0,doy:6}}),M.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_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:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:Ws,ss:Ws,m:Ws,mm:Ws,h:"klukkustund",hh:Ws,d:Ws,dd:Ws,M:Ws,MM:Ws,y:Ws,yy:Ws},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("it-ch",{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\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_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",ss:"%d 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}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.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\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_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:function(){return"[Oggi a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(1<this.hours()?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,a){return"\u5143"===a[1]?1:parseInt(a[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,a,t){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,a){switch(a){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}}),M.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,a){return 12===e&&(e=0),"enjing"===a?e:"siyang"===a?11<=e?e:e+12:"sonten"===a||"ndalu"===a?e+12:void 0},meridiem:function(e,a,t){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",ss:"%d 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}}),M.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(e,a,t){return"\u10d8"===t?a+"\u10e8\u10d8":a+t+"\u10e8\u10d8"})},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}});var As={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"},Es=(M.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".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:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(As[e]||As[e%10]||As[100<=e?100:null])},week:{dow:1,doy:7}}),{1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"}),Fs={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"},zs=(M.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".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:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,a,t){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return Fs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Es[e]})},week:{dow:1,doy:4}}),{1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"}),Ns={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"},Js=(M.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".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:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return Ns[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return zs[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===a?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===a?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===a?10<=e?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}}),M.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,a,t){return e<12?"\uc624\uc804":"\uc624\ud6c4"}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),Rs={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},ta=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"],Cs=(M.defineLocale("ku",{months:ta,monthsShort:ta,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".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:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,a,t){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return Rs[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Js[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),{0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"});function Is(e,a,t,s){var n={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 a?n[t][0]:n[t][1]}function Us(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;var a;if(e<100)return Us(0==(a=e%10)?e/10:a);if(e<1e4){for(;10<=e;)e/=10;return Us(e)}return Us(e/=1e3)}M.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".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:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(Cs[e]||Cs[e%10]||Cs[100<=e?100:null])},week:{dow:1,doy:7}}),M.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_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\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_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\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return Us(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return Us(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:Is,mm:"%d Minutten",h:Is,hh:"%d Stonnen",d:Is,dd:"%d Deeg",M:Is,MM:"%d M\xe9int",y:Is,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".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:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,a,t){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}});var Gs={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function Vs(e,a,t,s){return a?Ks(t)[0]:s?Ks(t)[1]:Ks(t)[2]}function Bs(e){return e%10==0||10<e&&e<20}function Ks(e){return Gs[e].split("_")}function qs(e,a,t,s){var n=e+" ";return 1===e?n+Vs(0,a,t[0],s):a?n+(Bs(e)?Ks(t)[1]:Ks(t)[0]):s?n+Ks(t)[1]:n+(Bs(e)?Ks(t)[1]:Ks(t)[2])}M.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_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\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".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:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,a,t,s){return a?"kelios sekund\u0117s":s?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:qs,m:Vs,mm:qs,h:Vs,hh:qs,d:Vs,dd:qs,M:Vs,MM:qs,y:Vs,yy:qs},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});var Zs={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function $s(e,a,t){return t?a%10==1&&a%100!=11?e[2]:e[3]:a%10==1&&a%100!=11?e[0]:e[1]}function Qs(e,a,t){return e+" "+$s(Zs[t],e,a)}function Xs(e,a,t){return $s(Zs[t],e,a)}M.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_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:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,a){return a?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:Qs,m:Xs,mm:Qs,h:Xs,hh:Qs,d:Xs,dd:Qs,M:Xs,MM:Qs,y:Xs,yy:Qs},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var en={words:{ss:["sekund","sekunda","sekundi"],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,a){return 1===e?a[0]:2<=e&&e<=4?a[1]:a[2]},translate:function(e,a,t){var s=en.words[t];return 1===t.length?a?s[0]:s[1]:e+" "+en.correctGrammaticalCase(e,s)}};function an(e,a,t,s){switch(t){case"s":return a?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(a?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(a?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(a?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(a?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(a?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(a?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}M.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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:en.translate,m:en.translate,mm:en.translate,h:en.translate,hh:en.translate,d:"dan",dd:en.translate,M:"mjesec",MM:en.translate,y:"godinu",yy:en.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),M.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_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\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".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\u0113kona ruarua",ss:"%d h\u0113kona",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}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".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:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-\u0435\u0432":0==t?e+"-\u0435\u043d":10<t&&t<20?e+"-\u0442\u0438":1==a?e+"-\u0432\u0438":2==a?e+"-\u0440\u0438":7==a||8==a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),M.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&4<=e||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}}),M.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,a,t){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:an,ss:an,m:an,mm:an,h:an,hh:an,d:an,dd:an,M:an,MM:an,y:an,yy:an},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}});var tn={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},sn={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function nn(e,a,t,s){var n="";if(a)switch(t){case"s":n="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":n="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":n="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":n="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":n="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":n="%d \u0924\u093e\u0938";break;case"d":n="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":n="%d \u0926\u093f\u0935\u0938";break;case"M":n="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":n="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":n="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":n="%d \u0935\u0930\u094d\u0937\u0947";break}else switch(t){case"s":n="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":n="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":n="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":n="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":n="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":n="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":n="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":n="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":n="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":n="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":n="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":n="%d \u0935\u0930\u094d\u0937\u093e\u0902";break}return n.replace(/%d/i,e)}M.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:nn,ss:nn,m:nn,mm:nn,h:nn,hh:nn,d:nn,dd:nn,M:nn,MM:nn,y:nn,yy:nn},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return sn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return tn[e]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===a||"\u0938\u0915\u093e\u0933\u0940"===a?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===a||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===a||"\u0930\u093e\u0924\u094d\u0930\u0940"===a?12<=e?e:e+12:void 0},meridiem:function(e,a,t){return 0<=e&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}}),M.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,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?11<=e?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){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",ss:"%d 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}}),M.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,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?11<=e?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){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",ss:"%d 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}}),M.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".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:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}});var rn={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},dn={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"},_n=(M.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".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:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return dn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return rn[e]})},week:{dow:1,doy:4}}),M.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".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\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"}),on={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},mn=(M.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return on[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return _n[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===a?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===a?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===a?10<=e?e:e+12:"\u0938\u093e\u0901\u091d"===a?e+12:void 0},meridiem:function(e,a,t){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),un="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c=[/^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],L=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,ln=(M.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?un:mn)[e.month()]:mn},monthsRegex:L,monthsShortRegex:L,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,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",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),Mn="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^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],ke=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,hn=(M.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?Mn:ln)[e.month()]:ln},monthsRegex:ke,monthsShortRegex:ke,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:f,longMonthsParse:f,shortMonthsParse:f,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",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),M.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,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\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,a){return e+("w"!==a&&"W"!==a?1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8":"a")},week:{dow:1,doy:4}}),{1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"}),cn={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"},Ln=(M.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return cn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return hn[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===a?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===a?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===a?10<=e?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}}),"stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_")),Yn="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),_=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function yn(e){return e%10<5&&1<e%10&&~~(e/10)%10!=1}function fn(e,a,t){var s=e+" ";switch(t){case"ss":return s+(yn(e)?"sekundy":"sekund");case"m":return a?"minuta":"minut\u0119";case"mm":return s+(yn(e)?"minuty":"minut");case"h":return a?"godzina":"godzin\u0119";case"hh":return s+(yn(e)?"godziny":"godzin");case"ww":return s+(yn(e)?"tygodnie":"tygodni");case"MM":return s+(yn(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return s+(yn(e)?"lata":"lat")}}function pn(e,a,t){return e+(20<=e%100||100<=e&&e%100==0?" de ":" ")+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[t]}function kn(e,a,t){return"m"===t?a?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(e=+e,a=(a={ss:a?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:a?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[t]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}M.defineLocale("pl",{months:function(e,a){return e?(/D MMMM/.test(a)?Yn:Ln)[e.month()]:Ln},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_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\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:fn,m:fn,mm:fn,h:fn,hh:fn,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:fn,M:"miesi\u0105c",MM:fn,y:"rok",yy:fn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_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\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".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 [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"}),M.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),M.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".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\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:pn,m:"un minut",mm:pn,h:"o or\u0103",hh:pn,d:"o zi",dd:pn,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:pn,M:"o lun\u0103",MM:pn,y:"un an",yy:pn},week:{dow:1,doy:7}});y=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i],M.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:y,longMonthsParse:y,shortMonthsParse:y,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:kn,m:kn,mm:kn,h:"\u0447\u0430\u0441",hh:kn,d:"\u0434\u0435\u043d\u044c",dd:kn,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:kn,M:"\u043c\u0435\u0441\u044f\u0446",MM:kn,y:"\u0433\u043e\u0434",yy:kn},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}}),Y=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],Ke=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"],M.defineLocale("sd",{months:Y,monthsShort:Y,weekdays:Ke,weekdaysShort:Ke,weekdaysMin:Ke,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),M.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".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\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".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 [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,a,t){return 11<e?t?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":t?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}}),Ht="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),r="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function Dn(e){return 1<e&&e<5}function Tn(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return a||s?n+(Dn(e)?"sekundy":"sek\xfand"):n+"sekundami";case"m":return a?"min\xfata":s?"min\xfatu":"min\xfatou";case"mm":return a||s?n+(Dn(e)?"min\xfaty":"min\xfat"):n+"min\xfatami";case"h":return a?"hodina":s?"hodinu":"hodinou";case"hh":return a||s?n+(Dn(e)?"hodiny":"hod\xedn"):n+"hodinami";case"d":return a||s?"de\u0148":"d\u0148om";case"dd":return a||s?n+(Dn(e)?"dni":"dn\xed"):n+"d\u0148ami";case"M":return a||s?"mesiac":"mesiacom";case"MM":return a||s?n+(Dn(e)?"mesiace":"mesiacov"):n+"mesiacmi";case"y":return a||s?"rok":"rokom";case"yy":return a||s?n+(Dn(e)?"roky":"rokov"):n+"rokmi"}}function gn(e,a,t,s){var n=e+" ";switch(t){case"s":return a||s?"nekaj sekund":"nekaj sekundami";case"ss":return n+=1===e?a?"sekundo":"sekundi":2===e?a||s?"sekundi":"sekundah":e<5?a||s?"sekunde":"sekundah":"sekund";case"m":return a?"ena minuta":"eno minuto";case"mm":return n+=1===e?a?"minuta":"minuto":2===e?a||s?"minuti":"minutama":e<5?a||s?"minute":"minutami":a||s?"minut":"minutami";case"h":return a?"ena ura":"eno uro";case"hh":return n+=1===e?a?"ura":"uro":2===e?a||s?"uri":"urama":e<5?a||s?"ure":"urami":a||s?"ur":"urami";case"d":return a||s?"en dan":"enim dnem";case"dd":return n+=1===e?a||s?"dan":"dnem":2===e?a||s?"dni":"dnevoma":a||s?"dni":"dnevi";case"M":return a||s?"en mesec":"enim mesecem";case"MM":return n+=1===e?a||s?"mesec":"mesecem":2===e?a||s?"meseca":"mesecema":e<5?a||s?"mesece":"meseci":a||s?"mesecev":"meseci";case"y":return a||s?"eno leto":"enim letom";case"yy":return n+=1===e?a||s?"leto":"letom":2===e?a||s?"leti":"letoma":e<5?a||s?"leta":"leti":a||s?"let":"leti"}}M.defineLocale("sk",{months:Ht,monthsShort:r,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_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\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:Tn,ss:Tn,m:Tn,mm:Tn,h:Tn,hh:Tn,d:Tn,dd:Tn,M:Tn,MM:Tn,y:Tn,yy:Tn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.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_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_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\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:gn,ss:gn,m:gn,mm:gn,h:gn,hh:gn,d:gn,dd:gn,M:gn,MM:gn,y:gn,yy:gn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),M.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,a,t){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\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var W={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,a){return 1<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?e%10==1?a[0]:a[1]:a[2]},translate:function(e,a,t,s){var n=W.words[t];return 1===t.length?"y"===t&&a?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":s||a?n[0]:n[1]:(s=W.correctGrammaticalCase(e,n),"yy"===t&&a&&"\u0433\u043e\u0434\u0438\u043d\u0443"===s?e+" \u0433\u043e\u0434\u0438\u043d\u0430":e+" "+s)}},A=(M.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:W.translate,m:W.translate,mm:W.translate,h:W.translate,hh:W.translate,d:W.translate,dd:W.translate,M:W.translate,MM:W.translate,y:W.translate,yy:W.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,a){return 1<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?e%10==1?a[0]:a[1]:a[2]},translate:function(e,a,t,s){var n=A.words[t];return 1===t.length?"y"===t&&a?"jedna godina":s||a?n[0]:n[1]:(s=A.correctGrammaticalCase(e,n),"yy"===t&&a&&"godinu"===s?e+" godina":e+" "+s)}}),wn=(M.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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. 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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:A.translate,m:A.translate,mm:A.translate,h:A.translate,hh:A.translate,d:A.translate,dd:A.translate,M:A.translate,MM:A.translate,y:A.translate,yy:A.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),M.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",ss:"%d mzuzwana",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,a,t){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,a){return 12===e&&(e=0),"ekuseni"===a?e:"emini"===a?11<=e?e:e+12:"entsambama"===a||"ebusuku"===a?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),M.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\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".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\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var a=e%10;return e+(1!=~~(e%100/10)&&(1==a||2==a)?":a":":e")},week:{dow:1,doy:4}}),M.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 A",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",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}}),{1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"}),bn={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"},Sn=(M.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".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:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return bn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return wn[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,a,t){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,a){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===a?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===a||"\u0b95\u0bbe\u0bb2\u0bc8"===a||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===a&&10<=e?e:e+12},week:{dow:0,doy:6}}),M.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".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:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===a?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?10<=e?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}}),M.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_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:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %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 a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),{0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"}),Hn=(M.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".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:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0448\u0430\u0431"===a?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===a?e:"\u0440\u04ef\u0437"===a?11<=e?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(Sn[e]||Sn[e%10]||Sn[100<=e?100:null])},week:{dow:1,doy:7}}),M.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,a,t){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}}),{1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"}),vn=(M.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".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\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var t=e%10;return e+(Hn[t]||Hn[e%100-t]||Hn[100<=e?100:null])}},week:{dow:1,doy:7}}),M.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",ss:"%d 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}}),"pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"));function jn(e,a,t,s){var n=function(e){var a=Math.floor(e%1e3/100),t=Math.floor(e%100/10),e=e%10,s="";0<a&&(s+=vn[a]+"vatlh");0<t&&(s+=(""!==s?" ":"")+vn[t]+"maH");0<e&&(s+=(""!==s?" ":"")+vn[e]);return""===s?"pagh":s}(e);switch(t){case"ss":return n+" lup";case"mm":return n+" tup";case"hh":return n+" rep";case"dd":return n+" jaj";case"MM":return n+" jar";case"yy":return n+" DIS"}}M.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".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\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var a=e;return a=-1!==e.indexOf("jaj")?a.slice(0,-3)+"leS":-1!==e.indexOf("jar")?a.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?a.slice(0,-3)+"nem":a+" pIq"},past:function(e){var a=e;return a=-1!==e.indexOf("jaj")?a.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?a.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?a.slice(0,-3)+"ben":a+" ret"},s:"puS lup",ss:jn,m:"wa\u2019 tup",mm:jn,h:"wa\u2019 rep",hh:jn,d:"wa\u2019 jaj",dd:jn,M:"wa\u2019 jar",MM:jn,y:"wa\u2019 DIS",yy:jn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var xn={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};function Pn(e,a,t,s){e={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],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 s||a?e[t][0]:e[t][1]}function On(e,a,t){return"m"===t?a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===t?a?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(e=+e,a=(a={ss:a?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:a?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[t]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}function Wn(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}M.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,a,t){return e<12?t?"\xf6\xf6":"\xd6\xd6":t?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},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\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var t=e%10;return e+(xn[t]||xn[e%100-t]||xn[100<=e?100:null])}},week:{dow:1,doy:7}}),M.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".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,a,t){return 11<e?t?"d'o":"D'O":t?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:Pn,ss:Pn,m:Pn,mm:Pn,h:Pn,hh:Pn,d:Pn,dd:Pn,M:Pn,MM:Pn,y:Pn,yy:Pn},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),M.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".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",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),M.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".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:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}}),M.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===a||"\u0633\u06d5\u06be\u06d5\u0631"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"!==a&&"\u0643\u06d5\u0686"!==a&&11<=e?e:e+12},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":e<900?"\u0633\u06d5\u06be\u06d5\u0631":e<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":e<1230?"\u0686\u06c8\u0634":e<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}}),M.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,a){var t={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?t.nominative.slice(1,7).concat(t.nominative.slice(0,1)):e?t[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(a)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(a)?"genitive":"nominative"][e.day()]:t.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:Wn("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:Wn("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:Wn("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:Wn("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return Wn("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return Wn("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:On,m:On,mm:On,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:On,d:"\u0434\u0435\u043d\u044c",dd:On,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:On,y:"\u0440\u0456\u043a",yy:On},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}});jt=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],vt=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];return M.defineLocale("ur",{months:jt,monthsShort:jt,weekdays:vt,weekdaysShort:vt,weekdaysMin:vt,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),M.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",ss:"%d 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}}),M.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".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:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}}),M.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".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,a,t){return e<12?t?"sa":"SA":t?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] 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\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),M.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".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~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1==a?"st":2==a?"nd":3==a?"rd":"th")},week:{dow:1,doy:4}}),M.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".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:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}}),M.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a||"\u4e0b\u5348"!==a&&"\u665a\u4e0a"!==a&&11<=e?e:e+12},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}}),M.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?11<=e?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1200?"\u4e0a\u5348":1200===e?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),M.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?11<=e?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),M.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?11<=e?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),M.locale("en"),M});
//# sourceMappingURL=moment-with-locales.min.js.map;
!function(e,d){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?d(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],d):d(e.moment)}(this,function(e){"use strict";var d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},t={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(d,t,i,o){var s=n(d),m=r[e][n(d)];return 2===s&&(m=m[t?0:1]),m.replace(/%d/i,d)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return e.defineLocale("ar",{months:o,monthsShort:o,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,d,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return t[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return d[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})});;
/*!
 * numeral.js
 * version : 1.5.3
 * author : Adam Draper
 * license : MIT
 * http://adamwdraper.github.com/Numeral-js/
 */
(function(){function a(a){this._value=a}function b(a,b,c,d){var e,f,g=Math.pow(10,b);return f=(c(a*g)/g).toFixed(b),d&&(e=new RegExp("0{1,"+d+"}$"),f=f.replace(e,"")),f}function c(a,b,c){var d;return d=b.indexOf("$")>-1?e(a,b,c):b.indexOf("%")>-1?f(a,b,c):b.indexOf(":")>-1?g(a,b):i(a._value,b,c)}function d(a,b){var c,d,e,f,g,i=b,j=["KB","MB","GB","TB","PB","EB","ZB","YB"],k=!1;if(b.indexOf(":")>-1)a._value=h(b);else if(b===q)a._value=0;else{for("."!==o[p].delimiters.decimal&&(b=b.replace(/\./g,"").replace(o[p].delimiters.decimal,".")),c=new RegExp("[^a-zA-Z]"+o[p].abbreviations.thousand+"(?:\\)|(\\"+o[p].currency.symbol+")?(?:\\))?)?$"),d=new RegExp("[^a-zA-Z]"+o[p].abbreviations.million+"(?:\\)|(\\"+o[p].currency.symbol+")?(?:\\))?)?$"),e=new RegExp("[^a-zA-Z]"+o[p].abbreviations.billion+"(?:\\)|(\\"+o[p].currency.symbol+")?(?:\\))?)?$"),f=new RegExp("[^a-zA-Z]"+o[p].abbreviations.trillion+"(?:\\)|(\\"+o[p].currency.symbol+")?(?:\\))?)?$"),g=0;g<=j.length&&!(k=b.indexOf(j[g])>-1?Math.pow(1024,g+1):!1);g++);a._value=(k?k:1)*(i.match(c)?Math.pow(10,3):1)*(i.match(d)?Math.pow(10,6):1)*(i.match(e)?Math.pow(10,9):1)*(i.match(f)?Math.pow(10,12):1)*(b.indexOf("%")>-1?.01:1)*((b.split("-").length+Math.min(b.split("(").length-1,b.split(")").length-1))%2?1:-1)*Number(b.replace(/[^0-9\.]+/g,"")),a._value=k?Math.ceil(a._value):a._value}return a._value}function e(a,b,c){var d,e,f=b.indexOf("$"),g=b.indexOf("("),h=b.indexOf("-"),j="";return b.indexOf(" $")>-1?(j=" ",b=b.replace(" $","")):b.indexOf("$ ")>-1?(j=" ",b=b.replace("$ ","")):b=b.replace("$",""),e=i(a._value,b,c),1>=f?e.indexOf("(")>-1||e.indexOf("-")>-1?(e=e.split(""),d=1,(g>f||h>f)&&(d=0),e.splice(d,0,o[p].currency.symbol+j),e=e.join("")):e=o[p].currency.symbol+j+e:e.indexOf(")")>-1?(e=e.split(""),e.splice(-1,0,j+o[p].currency.symbol),e=e.join("")):e=e+j+o[p].currency.symbol,e}function f(a,b,c){var d,e="",f=100*a._value;return b.indexOf(" %")>-1?(e=" ",b=b.replace(" %","")):b=b.replace("%",""),d=i(f,b,c),d.indexOf(")")>-1?(d=d.split(""),d.splice(-1,0,e+"%"),d=d.join("")):d=d+e+"%",d}function g(a){var b=Math.floor(a._value/60/60),c=Math.floor((a._value-60*b*60)/60),d=Math.round(a._value-60*b*60-60*c);return b+":"+(10>c?"0"+c:c)+":"+(10>d?"0"+d:d)}function h(a){var b=a.split(":"),c=0;return 3===b.length?(c+=60*Number(b[0])*60,c+=60*Number(b[1]),c+=Number(b[2])):2===b.length&&(c+=60*Number(b[0]),c+=Number(b[1])),Number(c)}function i(a,c,d){var e,f,g,h,i,j,k=!1,l=!1,m=!1,n="",r=!1,s=!1,t=!1,u=!1,v=!1,w="",x="",y=Math.abs(a),z=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],A="",B=!1;if(0===a&&null!==q)return q;if(c.indexOf("(")>-1?(k=!0,c=c.slice(1,-1)):c.indexOf("+")>-1&&(l=!0,c=c.replace(/\+/g,"")),c.indexOf("a")>-1&&(r=c.indexOf("aK")>=0,s=c.indexOf("aM")>=0,t=c.indexOf("aB")>=0,u=c.indexOf("aT")>=0,v=r||s||t||u,c.indexOf(" a")>-1?(n=" ",c=c.replace(" a","")):c=c.replace("a",""),y>=Math.pow(10,12)&&!v||u?(n+=o[p].abbreviations.trillion,a/=Math.pow(10,12)):y<Math.pow(10,12)&&y>=Math.pow(10,9)&&!v||t?(n+=o[p].abbreviations.billion,a/=Math.pow(10,9)):y<Math.pow(10,9)&&y>=Math.pow(10,6)&&!v||s?(n+=o[p].abbreviations.million,a/=Math.pow(10,6)):(y<Math.pow(10,6)&&y>=Math.pow(10,3)&&!v||r)&&(n+=o[p].abbreviations.thousand,a/=Math.pow(10,3))),c.indexOf("b")>-1)for(c.indexOf(" b")>-1?(w=" ",c=c.replace(" b","")):c=c.replace("b",""),g=0;g<=z.length;g++)if(e=Math.pow(1024,g),f=Math.pow(1024,g+1),a>=e&&f>a){w+=z[g],e>0&&(a/=e);break}return c.indexOf("o")>-1&&(c.indexOf(" o")>-1?(x=" ",c=c.replace(" o","")):c=c.replace("o",""),x+=o[p].ordinal(a)),c.indexOf("[.]")>-1&&(m=!0,c=c.replace("[.]",".")),h=a.toString().split(".")[0],i=c.split(".")[1],j=c.indexOf(","),i?(i.indexOf("[")>-1?(i=i.replace("]",""),i=i.split("["),A=b(a,i[0].length+i[1].length,d,i[1].length)):A=b(a,i.length,d),h=A.split(".")[0],A=A.split(".")[1].length?o[p].delimiters.decimal+A.split(".")[1]:"",m&&0===Number(A.slice(1))&&(A="")):h=b(a,null,d),h.indexOf("-")>-1&&(h=h.slice(1),B=!0),j>-1&&(h=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+o[p].delimiters.thousands)),0===c.indexOf(".")&&(h=""),(k&&B?"(":"")+(!k&&B?"-":"")+(!B&&l?"+":"")+h+A+(x?x:"")+(n?n:"")+(w?w:"")+(k&&B?")":"")}function j(a,b){o[a]=b}function k(a){var b=a.toString().split(".");return b.length<2?1:Math.pow(10,b[1].length)}function l(){var a=Array.prototype.slice.call(arguments);return a.reduce(function(a,b){var c=k(a),d=k(b);return c>d?c:d},-1/0)}var m,n="1.5.3",o={},p="en",q=null,r="0,0",s="undefined"!=typeof module&&module.exports;m=function(b){return m.isNumeral(b)?b=b.value():0===b||"undefined"==typeof b?b=0:Number(b)||(b=m.fn.unformat(b)),new a(Number(b))},m.version=n,m.isNumeral=function(b){return b instanceof a},m.language=function(a,b){if(!a)return p;if(a&&!b){if(!o[a])throw new Error("Unknown language : "+a);p=a}return(b||!o[a])&&j(a,b),m},m.languageData=function(a){if(!a)return o[p];if(!o[a])throw new Error("Unknown language : "+a);return o[a]},m.language("en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"$"}}),m.zeroFormat=function(a){q="string"==typeof a?a:null},m.defaultFormat=function(a){r="string"==typeof a?a:"0.0"},"function"!=typeof Array.prototype.reduce&&(Array.prototype.reduce=function(a,b){"use strict";if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof a)throw new TypeError(a+" is not a function");var c,d,e=this.length>>>0,f=!1;for(1<arguments.length&&(d=b,f=!0),c=0;e>c;++c)this.hasOwnProperty(c)&&(f?d=a(d,this[c],c,this):(d=this[c],f=!0));if(!f)throw new TypeError("Reduce of empty array with no initial value");return d}),m.fn=a.prototype={clone:function(){return m(this)},format:function(a,b){return c(this,a?a:r,void 0!==b?b:Math.round)},unformat:function(a){return"[object Number]"===Object.prototype.toString.call(a)?a:d(this,a?a:r)},value:function(){return this._value},valueOf:function(){return this._value},set:function(a){return this._value=Number(a),this},add:function(a){function b(a,b){return a+c*b}var c=l.call(null,this._value,a);return this._value=[this._value,a].reduce(b,0)/c,this},subtract:function(a){function b(a,b){return a-c*b}var c=l.call(null,this._value,a);return this._value=[a].reduce(b,this._value*c)/c,this},multiply:function(a){function b(a,b){var c=l(a,b);return a*c*b*c/(c*c)}return this._value=[this._value,a].reduce(b,1),this},divide:function(a){function b(a,b){var c=l(a,b);return a*c/(b*c)}return this._value=[this._value,a].reduce(b),this},difference:function(a){return Math.abs(m(this._value).subtract(a).value())}},s&&(module.exports=m),"undefined"==typeof ender&&(this.numeral=m),"function"==typeof define&&define.amd&&define([],function(){return m})}).call(this);;
function _toConsumableArray(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}var requirejs,require,define,dewaGlobal={};!function(global){function isFunction(t){return"[object Function]"===ostring.call(t)}function isArray(t){return"[object Array]"===ostring.call(t)}function each(t,e){if(t){var i;for(i=0;i<t.length&&(!t[i]||!e(t[i],i,t));i+=1);}}function eachReverse(t,e){if(t){var i;for(i=t.length-1;i>-1&&(!t[i]||!e(t[i],i,t));i-=1);}}function hasProp(t,e){return hasOwn.call(t,e)}function getOwn(t,e){return hasProp(t,e)&&t[e]}function eachProp(t,e){var i;for(i in t)if(hasProp(t,i)&&e(t[i],i))break}function mixin(t,e,i,n){return e&&eachProp(e,function(e,o){(i||!hasProp(t,o))&&(!n||"object"!=typeof e||!e||isArray(e)||isFunction(e)||e instanceof RegExp?t[o]=e:(t[o]||(t[o]={}),mixin(t[o],e,i,n)))}),t}function bind(t,e){return function(){return e.apply(t,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(t){throw t}function getGlobal(t){if(!t)return t;var e=global;return each(t.split("."),function(t){e=e[t]}),e}function makeError(t,e,i,n){var o=new Error(e+"\nhttp://requirejs.org/docs/errors.html#"+t);return o.requireType=t,o.requireModules=n,i&&(o.originalError=i),o}function newContext(t){function e(t){var e,i;for(e=0;e<t.length;e++)if(i=t[e],"."===i)t.splice(e,1),e-=1;else if(".."===i){if(0===e||1==e&&".."===t[2]||".."===t[e-1])continue;e>0&&(t.splice(e-1,2),e-=2)}}function i(t,i,n){var o,s,r,a,l,c,d,h,u,p,f,m,g=i&&i.split("/"),v=k.map,y=v&&v["*"];if(t&&(t=t.split("/"),d=t.length-1,k.nodeIdCompat&&jsSuffixRegExp.test(t[d])&&(t[d]=t[d].replace(jsSuffixRegExp,"")),"."===t[0].charAt(0)&&g&&(m=g.slice(0,g.length-1),t=m.concat(t)),e(t),t=t.join("/")),n&&v&&(g||y)){r=t.split("/");t:for(a=r.length;a>0;a-=1){if(c=r.slice(0,a).join("/"),g)for(l=g.length;l>0;l-=1)if(s=getOwn(v,g.slice(0,l).join("/")),s&&(s=getOwn(s,c))){h=s,u=a;break t}!p&&y&&getOwn(y,c)&&(p=getOwn(y,c),f=a)}!h&&p&&(h=p,u=f),h&&(r.splice(0,u,h),t=r.join("/"))}return o=getOwn(k.pkgs,t),o?o:t}function n(t){isBrowser&&each(scripts(),function(e){return e.getAttribute("data-requiremodule")===t&&e.getAttribute("data-requirecontext")===_.contextName?(e.parentNode.removeChild(e),!0):void 0})}function o(t){var e=getOwn(k.paths,t);return e&&isArray(e)&&e.length>1?(e.shift(),_.require.undef(t),_.makeRequire(null,{skipMap:!0})([t]),!0):void 0}function s(t){var e,i=t?t.indexOf("!"):-1;return i>-1&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function r(t,e,n,o){var r,a,l,c,d=null,h=e?e.name:null,u=t,p=!0,f="";return t||(p=!1,t="_@r"+(E+=1)),c=s(t),d=c[0],t=c[1],d&&(d=i(d,h,o),a=getOwn(M,d)),t&&(d?f=a&&a.normalize?a.normalize(t,function(t){return i(t,h,o)}):-1===t.indexOf("!")?i(t,h,o):t:(f=i(t,h,o),c=s(f),d=c[0],f=c[1],n=!0,r=_.nameToUrl(f))),l=!d||a||n?"":"_unnormalized"+(A+=1),{prefix:d,name:f,parentMap:e,unnormalized:!!l,url:r,originalName:u,isDefine:p,id:(d?d+"!"+f:f)+l}}function a(t){var e=t.id,i=getOwn(C,e);return i||(i=C[e]=new _.Module(t)),i}function l(t,e,i){var n=t.id,o=getOwn(C,n);!hasProp(M,n)||o&&!o.defineEmitComplete?(o=a(t),o.error&&"error"===e?i(o.error):o.on(e,i)):"defined"===e&&i(M[n])}function c(t,e){var i=t.requireModules,n=!1;e?e(t):(each(i,function(e){var i=getOwn(C,e);i&&(i.error=t,i.events.error&&(n=!0,i.emit("error",t)))}),n||req.onError(t))}function d(){globalDefQueue.length&&(apsp.apply($,[$.length,0].concat(globalDefQueue)),globalDefQueue=[])}function h(t){delete C[t],delete T[t]}function u(t,e,i){var n=t.map.id;t.error?t.emit("error",t.error):(e[n]=!0,each(t.depMaps,function(n,o){var s=n.id,r=getOwn(C,s);!r||t.depMatched[o]||i[s]||(getOwn(e,s)?(t.defineDep(o,M[s]),t.check()):u(r,e,i))}),i[n]=!0)}function p(){var t,e,i=1e3*k.waitSeconds,s=i&&_.startTime+i<(new Date).getTime(),r=[],a=[],l=!1,d=!0;if(!y){if(y=!0,eachProp(T,function(t){var i=t.map,c=i.id;if(t.enabled&&(i.isDefine||a.push(t),!t.error))if(!t.inited&&s)o(c)?(e=!0,l=!0):(r.push(c),n(c));else if(!t.inited&&t.fetched&&i.isDefine&&(l=!0,!i.prefix))return d=!1}),s&&r.length)return t=makeError("timeout","Load timeout for modules: "+r,null,r),t.contextName=_.contextName,c(t);d&&each(a,function(t){u(t,{},{})}),s&&!e||!l||!isBrowser&&!isWebWorker||w||(w=setTimeout(function(){w=0,p()},50)),y=!1}}function f(t){hasProp(M,t[0])||a(r(t[0],null,!0)).init(t[1],t[2])}function m(t,e,i,n){t.detachEvent&&!isOpera?n&&t.detachEvent(n,e):t.removeEventListener(i,e,!1)}function g(t){var e=t.currentTarget||t.srcElement;return m(e,_.onScriptLoad,"load","onreadystatechange"),m(e,_.onScriptError,"error"),{node:e,id:e&&e.getAttribute("data-requiremodule")}}function v(){var t;for(d();$.length;){if(t=$.shift(),null===t[0])return c(makeError("mismatch","Mismatched anonymous define() module: "+t[t.length-1]));f(t)}}var y,b,_,x,w,k={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},C={},T={},S={},$=[],M={},j={},D={},E=1,A=1;return x={require:function(t){return t.require?t.require:t.require=_.makeRequire(t.map)},exports:function(t){return t.usingExports=!0,t.map.isDefine?t.exports?M[t.map.id]=t.exports:t.exports=M[t.map.id]={}:void 0},module:function(t){return t.module?t.module:t.module={id:t.map.id,uri:t.map.url,config:function(){return getOwn(k.config,t.map.id)||{}},exports:t.exports||(t.exports={})}}},b=function(t){this.events=getOwn(S,t.id)||{},this.map=t,this.shim=getOwn(k.shim,t.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},b.prototype={init:function(t,e,i,n){n=n||{},this.inited||(this.factory=e,i?this.on("error",i):this.events.error&&(i=bind(this,function(t){this.emit("error",t)})),this.depMaps=t&&t.slice(0),this.errback=i,this.inited=!0,this.ignore=n.ignore,n.enabled||this.enabled?this.enable():this.check())},defineDep:function(t,e){this.depMatched[t]||(this.depMatched[t]=!0,this.depCount-=1,this.depExports[t]=e)},fetch:function(){if(!this.fetched){this.fetched=!0,_.startTime=(new Date).getTime();var t=this.map;return this.shim?void _.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return t.prefix?this.callPlugin():this.load()})):t.prefix?this.callPlugin():this.load()}},load:function(){var t=this.map.url;j[t]||(j[t]=!0,_.load(this.map.id,t))},check:function(){if(this.enabled&&!this.enabling){var t,e,i=this.map.id,n=this.depExports,o=this.exports,s=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(s)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{o=_.execCb(i,s,n,o)}catch(r){t=r}else o=_.execCb(i,s,n,o);if(this.map.isDefine&&void 0===o&&(e=this.module,e?o=e.exports:this.usingExports&&(o=this.exports)),t)return t.requireMap=this.map,t.requireModules=this.map.isDefine?[this.map.id]:null,t.requireType=this.map.isDefine?"define":"require",c(this.error=t)}else o=s;this.exports=o,this.map.isDefine&&!this.ignore&&(M[i]=o,req.onResourceLoad&&req.onResourceLoad(_,this.map,this.depMaps)),h(i),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var t=this.map,e=t.id,n=r(t.prefix);this.depMaps.push(n),l(n,"defined",bind(this,function(n){var o,s,d,u=getOwn(D,this.map.id),p=this.map.name,f=this.map.parentMap?this.map.parentMap.name:null,m=_.makeRequire(t.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(n.normalize&&(p=n.normalize(p,function(t){return i(t,f,!0)})||""),s=r(t.prefix+"!"+p,this.map.parentMap),l(s,"defined",bind(this,function(t){this.init([],function(){return t},null,{enabled:!0,ignore:!0})})),d=getOwn(C,s.id),void(d&&(this.depMaps.push(s),this.events.error&&d.on("error",bind(this,function(t){this.emit("error",t)})),d.enable()))):u?(this.map.url=_.nameToUrl(u),void this.load()):(o=bind(this,function(t){this.init([],function(){return t},null,{enabled:!0})}),o.error=bind(this,function(t){this.inited=!0,this.error=t,t.requireModules=[e],eachProp(C,function(t){0===t.map.id.indexOf(e+"_unnormalized")&&h(t.map.id)}),c(t)}),o.fromText=bind(this,function(i,n){var s=t.name,l=r(s),d=useInteractive;n&&(i=n),d&&(useInteractive=!1),a(l),hasProp(k.config,e)&&(k.config[s]=k.config[e]);try{req.exec(i)}catch(h){return c(makeError("fromtexteval","fromText eval for "+e+" failed: "+h,h,[e]))}d&&(useInteractive=!0),this.depMaps.push(l),_.completeLoad(s),m([s],o)}),void n.load(t.name,m,o,k))})),_.enable(n,this),this.pluginMaps[n.id]=n},enable:function(){T[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(t,e){var i,n,o;if("string"==typeof t){if(t=r(t,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[e]=t,o=getOwn(x,t.id))return void(this.depExports[e]=o(this));this.depCount+=1,l(t,"defined",bind(this,function(t){this.defineDep(e,t),this.check()})),this.errback&&l(t,"error",bind(this,this.errback))}i=t.id,n=C[i],hasProp(x,i)||!n||n.enabled||_.enable(t,this)})),eachProp(this.pluginMaps,bind(this,function(t){var e=getOwn(C,t.id);e&&!e.enabled&&_.enable(t,this)})),this.enabling=!1,this.check()},on:function(t,e){var i=this.events[t];i||(i=this.events[t]=[]),i.push(e)},emit:function(t,e){each(this.events[t],function(t){t(e)}),"error"===t&&delete this.events[t]}},_={config:k,contextName:t,registry:C,defined:M,urlFetched:j,defQueue:$,Module:b,makeModuleMap:r,nextTick:req.nextTick,onError:c,configure:function(t){t.baseUrl&&"/"!==t.baseUrl.charAt(t.baseUrl.length-1)&&(t.baseUrl+="/");var e=k.shim,i={paths:!0,bundles:!0,config:!0,map:!0};eachProp(t,function(t,e){i[e]?(k[e]||(k[e]={}),mixin(k[e],t,!0,!0)):k[e]=t}),t.bundles&&eachProp(t.bundles,function(t,e){each(t,function(t){t!==e&&(D[t]=e)})}),t.shim&&(eachProp(t.shim,function(t,i){isArray(t)&&(t={deps:t}),!t.exports&&!t.init||t.exportsFn||(t.exportsFn=_.makeShimExports(t)),e[i]=t}),k.shim=e),t.packages&&each(t.packages,function(t){var e,i;t="string"==typeof t?{name:t}:t,i=t.name,e=t.location,e&&(k.paths[i]=t.location),k.pkgs[i]=t.name+"/"+(t.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(C,function(t,e){t.inited||t.map.unnormalized||(t.map=r(e))}),(t.deps||t.callback)&&_.require(t.deps||[],t.callback)},makeShimExports:function(t){function e(){var e;return t.init&&(e=t.init.apply(global,arguments)),e||t.exports&&getGlobal(t.exports)}return e},makeRequire:function(e,o){function s(i,n,l){var d,h,u;return o.enableBuildCallback&&n&&isFunction(n)&&(n.__requireJsBuild=!0),"string"==typeof i?isFunction(n)?c(makeError("requireargs","Invalid require call"),l):e&&hasProp(x,i)?x[i](C[e.id]):req.get?req.get(_,i,e,s):(h=r(i,e,!1,!0),d=h.id,hasProp(M,d)?M[d]:c(makeError("notloaded",'Module name "'+d+'" has not been loaded yet for context: '+t+(e?"":". Use require([])")))):(v(),_.nextTick(function(){v(),u=a(r(null,e)),u.skipMap=o.skipMap,u.init(i,n,l,{enabled:!0}),p()}),s)}return o=o||{},mixin(s,{isBrowser:isBrowser,toUrl:function(t){var n,o=t.lastIndexOf("."),s=t.split("/")[0],r="."===s||".."===s;return-1!==o&&(!r||o>1)&&(n=t.substring(o,t.length),t=t.substring(0,o)),_.nameToUrl(i(t,e&&e.id,!0),n,!0)},defined:function(t){return hasProp(M,r(t,e,!1,!0).id)},specified:function(t){return t=r(t,e,!1,!0).id,hasProp(M,t)||hasProp(C,t)}}),e||(s.undef=function(t){d();var i=r(t,e,!0),o=getOwn(C,t);n(t),delete M[t],delete j[i.url],delete S[t],eachReverse($,function(e,i){e[0]===t&&$.splice(i,1)}),o&&(o.events.defined&&(S[t]=o.events),h(t))}),s},enable:function(t){var e=getOwn(C,t.id);e&&a(t).enable()},completeLoad:function(t){var e,i,n,s=getOwn(k.shim,t)||{},r=s.exports;for(d();$.length;){if(i=$.shift(),null===i[0]){if(i[0]=t,e)break;e=!0}else i[0]===t&&(e=!0);f(i)}if(n=getOwn(C,t),!e&&!hasProp(M,t)&&n&&!n.inited){if(!(!k.enforceDefine||r&&getGlobal(r)))return o(t)?void 0:c(makeError("nodefine","No define call for "+t,null,[t]));f([t,s.deps||[],s.exportsFn])}p()},nameToUrl:function(t,e,i){var n,o,s,r,a,l,c,d=getOwn(k.pkgs,t);if(d&&(t=d),c=getOwn(D,t))return _.nameToUrl(c,e,i);if(req.jsExtRegExp.test(t))a=t+(e||"");else{for(n=k.paths,o=t.split("/"),s=o.length;s>0;s-=1)if(r=o.slice(0,s).join("/"),l=getOwn(n,r)){isArray(l)&&(l=l[0]),o.splice(0,s,l);break}a=o.join("/"),a+=e||(/^data\:|\?/.test(a)||i?"":".js"),a=("/"===a.charAt(0)||a.match(/^[\w\+\.\-]+:/)?"":k.baseUrl)+a}return k.urlArgs?a+((-1===a.indexOf("?")?"?":"&")+k.urlArgs):a},load:function(t,e){req.load(_,t,e)},execCb:function(t,e,i,n){return e.apply(n,i)},onScriptLoad:function(t){if("load"===t.type||readyRegExp.test((t.currentTarget||t.srcElement).readyState)){interactiveScript=null;var e=g(t);_.completeLoad(e.id)}},onScriptError:function(t){var e=g(t);return o(e.id)?void 0:c(makeError("scripterror","Script error for: "+e.id,t,[e.id]))}},_.require=_.makeRequire(),_}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(scripts(),function(t){return"interactive"===t.readyState?interactiveScript=t:void 0}),interactiveScript)}var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.1.15",commentRegExp=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,ap=Array.prototype,apsp=ap.splice,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;if("undefined"==typeof define){if("undefined"!=typeof requirejs){if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}"undefined"==typeof require||isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(t,e,i,n){var o,s,r=defContextName;return isArray(t)||"string"==typeof t||(s=t,isArray(e)?(t=e,e=i,i=n):t=[]),s&&s.context&&(r=s.context),o=getOwn(contexts,r),o||(o=contexts[r]=req.s.newContext(r)),s&&o.configure(s),o.require(t,e,i)},req.config=function(t){return req(t)},req.nextTick="undefined"!=typeof setTimeout?function(t){setTimeout(t,4)}:function(t){t()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(t){req[t]=function(){var e=contexts[defContextName];return e.require[t].apply(e,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(t,e,i){var n=t.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return n.type=t.scriptType||"text/javascript",n.charset="utf-8",n.async=!0,n},req.load=function(t,e,i){var n,o=t&&t.config||{};if(isBrowser)return n=req.createNode(o,e,i),n.setAttribute("data-requirecontext",t.contextName),n.setAttribute("data-requiremodule",e),!n.attachEvent||n.attachEvent.toString&&n.attachEvent.toString().indexOf("[native code")<0||isOpera?(n.addEventListener("load",t.onScriptLoad,!1),n.addEventListener("error",t.onScriptError,!1)):(useInteractive=!0,n.attachEvent("onreadystatechange",t.onScriptLoad)),n.src=i,currentlyAddingScript=n,baseElement?head.insertBefore(n,baseElement):head.appendChild(n),currentlyAddingScript=null,n;if(isWebWorker)try{importScripts(i),t.completeLoad(e)}catch(s){t.onError(makeError("importscripts","importScripts failed for "+e+" at "+i,s,[e]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(t){return head||(head=t.parentNode),dataMain=t.getAttribute("data-main"),dataMain?(mainScript=dataMain,cfg.baseUrl||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0):void 0}),define=function(t,e,i){var n,o;"string"!=typeof t&&(i=e,e=t,t=null),isArray(e)||(i=e,e=null),!e&&isFunction(i)&&(e=[],i.length&&(i.toString().replace(commentRegExp,"").replace(cjsRequireRegExp,function(t,i){e.push(i)}),e=(1===i.length?["require"]:["require","exports","module"]).concat(e))),useInteractive&&(n=currentlyAddingScript||getInteractiveScript(),n&&(t||(t=n.getAttribute("data-requiremodule")),o=contexts[n.getAttribute("data-requirecontext")])),(o?o.defQueue:globalDefQueue).push([t,e,i])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}}(this),define("vendor/require",function(){}),function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t,e,i){i=i||xt;var n,o,s=i.createElement("script");if(s.text=t,e)for(n in wt)o=e[n]||e.getAttribute&&e.getAttribute(n),o&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?pt[ft.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return bt(t)||_t(t)?!1:"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t}function s(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function r(t,e,i){return bt(e)?Ct.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?Ct.grep(t,function(t){return t===e!==i}):"string"!=typeof e?Ct.grep(t,function(t){return ut.call(e,t)>-1!==i}):Ct.filter(e,t,i)}function a(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function l(t){var e={};return Ct.each(t.match(Lt)||[],function(t,i){e[i]=!0}),e}function c(t){return t}function d(t){throw t}function h(t,e,i,n){var o;try{t&&bt(o=t.promise)?o.call(t).done(e).fail(i):t&&bt(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}function u(){xt.removeEventListener("DOMContentLoaded",u),t.removeEventListener("load",u),Ct.ready()}function p(t,e){return e.toUpperCase()}function f(t){return t.replace(Bt,"ms-").replace(Nt,p)}function m(){this.expando=Ct.expando+m.uid++}function g(t){return"true"===t?!0:"false"===t?!1:"null"===t?null:t===+t+""?+t:Wt.test(t)?JSON.parse(t):t}function v(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Yt,"-$&").toLowerCase(),i=t.getAttribute(n),"string"==typeof i){try{i=g(i)}catch(o){}qt.set(t,e,i)}else i=void 0;return i}function y(t,e,i,n){var o,s,r=20,a=n?function(){return n.cur()}:function(){return Ct.css(t,e,"")},l=a(),c=i&&i[3]||(Ct.cssNumber[e]?"":"px"),d=t.nodeType&&(Ct.cssNumber[e]||"px"!==c&&+l)&&Gt.exec(Ct.css(t,e));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;r--;)Ct.style(t,e,d+c),(1-s)*(1-(s=a()/l||.5))<=0&&(r=0),d/=s;d=2*d,Ct.style(t,e,d+c),i=i||[]}return i&&(d=+d||+l||0,o=i[1]?d+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=d,n.end=o)),o}function b(t){var e,i=t.ownerDocument,n=t.nodeName,o=Jt[n];return o?o:(e=i.body.appendChild(i.createElement(n)),o=Ct.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),Jt[n]=o,o)}function _(t,e){for(var i,n,o=[],s=0,r=t.length;r>s;s++)n=t[s],n.style&&(i=n.style.display,e?("none"===i&&(o[s]=zt.get(n,"display")||null,o[s]||(n.style.display="")),""===n.style.display&&Zt(n)&&(o[s]=b(n))):"none"!==i&&(o[s]="none",zt.set(n,"display",i)));for(s=0;r>s;s++)null!=o[s]&&(t[s].style.display=o[s]);return t}function x(t,e){var i;return i="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&s(t,e)?Ct.merge([t],i):i}function w(t,e){for(var i=0,n=t.length;n>i;i++)zt.set(t[i],"globalEval",!e||zt.get(e[i],"globalEval"))}function k(t,e,i,o,s){for(var r,a,l,c,d,h,u=e.createDocumentFragment(),p=[],f=0,m=t.length;m>f;f++)if(r=t[f],r||0===r)if("object"===n(r))Ct.merge(p,r.nodeType?[r]:r);else if(oe.test(r)){for(a=a||u.appendChild(e.createElement("div")),l=(ee.exec(r)||["",""])[1].toLowerCase(),c=ne[l]||ne._default,a.innerHTML=c[1]+Ct.htmlPrefilter(r)+c[2],h=c[0];h--;)a=a.lastChild;Ct.merge(p,a.childNodes),a=u.firstChild,a.textContent=""}else p.push(e.createTextNode(r));for(u.textContent="",f=0;r=p[f++];)if(o&&Ct.inArray(r,o)>-1)s&&s.push(r);else if(d=Qt(r),a=x(u.appendChild(r),"script"),d&&w(a),i)for(h=0;r=a[h++];)ie.test(r.type||"")&&i.push(r);return u}function C(){return!0}function T(){return!1}function S(t,e){return t===$()==("focus"===e)}function $(){try{return xt.activeElement}catch(t){}}function M(t,e,i,n,o,s){var r,a;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(a in e)M(t,a,i,n,e[a],s);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),o===!1)o=T;else if(!o)return t;return 1===s&&(r=o,o=function(t){return Ct().off(t),r.apply(this,arguments)},o.guid=r.guid||(r.guid=Ct.guid++)),t.each(function(){Ct.event.add(this,e,o,n,i)})}function j(t,e,i){return i?(zt.set(t,e,!1),void Ct.event.add(t,e,{namespace:!1,handler:function(t){var n,o,s=zt.get(this,e);if(1&t.isTrigger&&this[e]){if(s.length)(Ct.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=ct.call(arguments),zt.set(this,e,s),n=i(this,e),this[e](),o=zt.get(this,e),s!==o||n?zt.set(this,e,!1):o={},s!==o)return t.stopImmediatePropagation(),t.preventDefault(),o.value}else s.length&&(zt.set(this,e,{value:Ct.event.trigger(Ct.extend(s[0],Ct.Event.prototype),s.slice(1),this)}),t.stopImmediatePropagation())}})):void(void 0===zt.get(t,e)&&Ct.event.add(t,e,C))}function D(t,e){return s(t,"table")&&s(11!==e.nodeType?e:e.firstChild,"tr")?Ct(t).children("tbody")[0]||t:t}function E(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function A(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function P(t,e){var i,n,o,s,r,a,l;if(1===e.nodeType){if(zt.hasData(t)&&(s=zt.get(t),l=s.events)){zt.remove(e,"handle events");for(o in l)for(i=0,n=l[o].length;n>i;i++)Ct.event.add(e,o,l[o][i])}qt.hasData(t)&&(r=qt.access(t),a=Ct.extend({},r),qt.set(e,a))}}function O(t,e){var i=e.nodeName.toLowerCase();"input"===i&&te.test(t.type)?e.checked=t.checked:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}function L(t,e,n,o){e=dt(e);var s,r,a,l,c,d,h=0,u=t.length,p=u-1,f=e[0],m=bt(f);if(m||u>1&&"string"==typeof f&&!yt.checkClone&&ce.test(f))return t.each(function(i){var s=t.eq(i);m&&(e[0]=f.call(this,i,s.html())),L(s,e,n,o)});if(u&&(s=k(e,t[0].ownerDocument,!1,t,o),r=s.firstChild,1===s.childNodes.length&&(s=r),r||o)){for(a=Ct.map(x(s,"script"),E),l=a.length;u>h;h++)c=s,h!==p&&(c=Ct.clone(c,!0,!0),l&&Ct.merge(a,x(c,"script"))),n.call(t[h],c,h);if(l)for(d=a[a.length-1].ownerDocument,Ct.map(a,A),h=0;l>h;h++)c=a[h],ie.test(c.type||"")&&!zt.access(c,"globalEval")&&Ct.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Ct._evalUrl&&!c.noModule&&Ct._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},d):i(c.textContent.replace(de,""),c,d))}return t}function I(t,e,i){for(var n,o=e?Ct.filter(e,t):t,s=0;null!=(n=o[s]);s++)i||1!==n.nodeType||Ct.cleanData(x(n)),n.parentNode&&(i&&Qt(n)&&w(x(n,"script")),n.parentNode.removeChild(n));return t}function F(t,e,i){var n,o,s,r,a=t.style;return i=i||ue(t),i&&(r=i.getPropertyValue(e)||i[e],""!==r||Qt(t)||(r=Ct.style(t,e)),!yt.pixelBoxStyles()&&he.test(r)&&fe.test(e)&&(n=a.width,o=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=i.width,a.width=n,a.minWidth=o,a.maxWidth=s)),void 0!==r?r+"":r}function H(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function B(t){for(var e=t[0].toUpperCase()+t.slice(1),i=me.length;i--;)if(t=me[i]+e,t in ge)return t}function N(t){var e=Ct.cssProps[t]||ve[t];return e?e:t in ge?t:ve[t]=B(t)||t}function R(t,e,i){var n=Gt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function z(t,e,i,n,o,s){var r="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;4>r;r+=2)"margin"===i&&(l+=Ct.css(t,i+Ut[r],!0,o)),n?("content"===i&&(l-=Ct.css(t,"padding"+Ut[r],!0,o)),"margin"!==i&&(l-=Ct.css(t,"border"+Ut[r]+"Width",!0,o))):(l+=Ct.css(t,"padding"+Ut[r],!0,o),"padding"!==i?l+=Ct.css(t,"border"+Ut[r]+"Width",!0,o):a+=Ct.css(t,"border"+Ut[r]+"Width",!0,o));return!n&&s>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-l-a-.5))||0),l}function q(t,e,i){var n=ue(t),o=!yt.boxSizingReliable()||i,r=o&&"border-box"===Ct.css(t,"boxSizing",!1,n),a=r,l=F(t,e,n),c="offset"+e[0].toUpperCase()+e.slice(1);if(he.test(l)){if(!i)return l;l="auto"}return(!yt.boxSizingReliable()&&r||!yt.reliableTrDimensions()&&s(t,"tr")||"auto"===l||!parseFloat(l)&&"inline"===Ct.css(t,"display",!1,n))&&t.getClientRects().length&&(r="border-box"===Ct.css(t,"boxSizing",!1,n),a=c in t,a&&(l=t[c])),l=parseFloat(l)||0,l+z(t,e,i||(r?"border":"content"),a,n,l)+"px"}function W(t,e,i,n,o){return new W.prototype.init(t,e,i,n,o)}function Y(){ke&&(xt.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Y):t.setTimeout(Y,Ct.fx.interval),Ct.fx.tick())}function V(){return t.setTimeout(function(){we=void 0}),we=Date.now()}function G(t,e){var i,n=0,o={height:t};for(e=e?1:0;4>n;n+=2-e)i=Ut[n],o["margin"+i]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function U(t,e,i){for(var n,o=(K.tweeners[e]||[]).concat(K.tweeners["*"]),s=0,r=o.length;r>s;s++)if(n=o[s].call(i,e,t))return n}function X(t,e,i){var n,o,s,r,a,l,c,d,h="width"in e||"height"in e,u=this,p={},f=t.style,m=t.nodeType&&Zt(t),g=zt.get(t,"fxshow");i.queue||(r=Ct._queueHooks(t,"fx"),null==r.unqueued&&(r.unqueued=0,a=r.empty.fire,r.empty.fire=function(){r.unqueued||a()}),r.unqueued++,u.always(function(){u.always(function(){r.unqueued--,Ct.queue(t,"fx").length||r.empty.fire()})}));for(n in e)if(o=e[n],Ce.test(o)){if(delete e[n],s=s||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[n])continue;m=!0}p[n]=g&&g[n]||Ct.style(t,n)}if(l=!Ct.isEmptyObject(e),l||!Ct.isEmptyObject(p)){h&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],c=g&&g.display,null==c&&(c=zt.get(t,"display")),d=Ct.css(t,"display"),"none"===d&&(c?d=c:(_([t],!0),c=t.style.display||c,d=Ct.css(t,"display"),_([t]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===Ct.css(t,"float")&&(l||(u.done(function(){f.display=c}),null==c&&(d=f.display,c="none"===d?"":d)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",u.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1;for(n in p)l||(g?"hidden"in g&&(m=g.hidden):g=zt.access(t,"fxshow",{display:c}),s&&(g.hidden=!m),m&&_([t],!0),u.done(function(){m||_([t]),zt.remove(t,"fxshow");for(n in p)Ct.style(t,n,p[n])})),l=U(m?g[n]:0,n,u),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}}function Q(t,e){var i,n,o,s,r;for(i in t)if(n=f(i),o=e[n],s=t[i],Array.isArray(s)&&(o=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),r=Ct.cssHooks[n],r&&"expand"in r){s=r.expand(s),delete t[n];for(i in s)i in t||(t[i]=s[i],e[i]=o)}else e[n]=o}function K(t,e,i){var n,o,s=0,r=K.prefilters.length,a=Ct.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=we||V(),i=Math.max(0,c.startTime+c.duration-e),n=i/c.duration||0,s=1-n,r=0,l=c.tweens.length;l>r;r++)c.tweens[r].run(s);return a.notifyWith(t,[c,s,i]),1>s&&l?i:(l||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:Ct.extend({},e),opts:Ct.extend(!0,{specialEasing:{},easing:Ct.easing._default},i),originalProperties:e,originalOptions:i,startTime:we||V(),duration:i.duration,tweens:[],createTween:function(e,i){var n=Ct.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(o)return this;for(o=!0;n>i;i++)c.tweens[i].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),d=c.props;for(Q(d,c.opts.specialEasing);r>s;s++)if(n=K.prefilters[s].call(c,t,d,c.opts))return bt(n.stop)&&(Ct._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return Ct.map(d,U,c),bt(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Ct.fx.timer(Ct.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}function Z(t){var e=t.match(Lt)||[];return e.join(" ")}function J(t){return t.getAttribute&&t.getAttribute("class")||""}function tt(t){return Array.isArray(t)?t:"string"==typeof t?t.match(Lt)||[]:[]}function et(t,e,i,o){var s;if(Array.isArray(e))Ct.each(e,function(e,n){i||Ie.test(t)?o(t,n):et(t+"["+("object"==typeof n&&null!=n?e:"")+"]",n,i,o)});else if(i||"object"!==n(e))o(t,e);else for(s in e)et(t+"["+s+"]",e[s],i,o)}function it(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,o=0,s=e.toLowerCase().match(Lt)||[];if(bt(i))for(;n=s[o++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function nt(t,e,i,n){function o(a){var l;return s[a]=!0,Ct.each(t[a]||[],function(t,a){var c=a(e,i,n);return"string"!=typeof c||r||s[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),o(c),!1)}),l}var s={},r=t===Ue;return o(e.dataTypes[0])||!s["*"]&&o("*")}function ot(t,e){var i,n,o=Ct.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&Ct.extend(!0,t,n),t}function st(t,e,i){for(var n,o,s,r,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in a)if(a[o]&&a[o].test(n)){l.unshift(o);break}if(l[0]in i)s=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){s=o;break}r||(r=o)}s=s||r}return s?(s!==l[0]&&l.unshift(s),i[s]):void 0}function rt(t,e,i,n){var o,s,r,a,l,c={},d=t.dataTypes.slice();if(d[1])for(r in t.converters)c[r.toLowerCase()]=t.converters[r];for(s=d.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=d.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(r=c[l+" "+s]||c["* "+s],!r)for(o in c)if(a=o.split(" "),a[1]===s&&(r=c[l+" "+a[0]]||c["* "+a[0]])){r===!0?r=c[o]:c[o]!==!0&&(s=a[0],d.unshift(a[1]));break}if(r!==!0)if(r&&t["throws"])e=r(e);else try{e=r(e)}catch(h){return{state:"parsererror",error:r?h:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}var at=[],lt=Object.getPrototypeOf,ct=at.slice,dt=at.flat?function(t){return at.flat.call(t)}:function(t){return at.concat.apply([],t)},ht=at.push,ut=at.indexOf,pt={},ft=pt.toString,mt=pt.hasOwnProperty,gt=mt.toString,vt=gt.call(Object),yt={},bt=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},_t=function(t){return null!=t&&t===t.window},xt=t.document,wt={type:!0,src:!0,nonce:!0,noModule:!0},kt="3.5.1",Ct=function(t,e){return new Ct.fn.init(t,e)};Ct.fn=Ct.prototype={jquery:kt,constructor:Ct,length:0,toArray:function(){return ct.call(this)},get:function(t){return null==t?ct.call(this):0>t?this[t+this.length]:this[t]},pushStack:function(t){var e=Ct.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return Ct.each(this,t)},map:function(t){return this.pushStack(Ct.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(ct.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Ct.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(Ct.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor();
},push:ht,sort:at.sort,splice:at.splice},Ct.extend=Ct.fn.extend=function(){var t,e,i,n,o,s,r=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[a]||{},a++),"object"==typeof r||bt(r)||(r={}),a===l&&(r=this,a--);l>a;a++)if(null!=(t=arguments[a]))for(e in t)n=t[e],"__proto__"!==e&&r!==n&&(c&&n&&(Ct.isPlainObject(n)||(o=Array.isArray(n)))?(i=r[e],s=o&&!Array.isArray(i)?[]:o||Ct.isPlainObject(i)?i:{},o=!1,r[e]=Ct.extend(c,s,n)):void 0!==n&&(r[e]=n));return r},Ct.extend({expando:"jQuery"+(kt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return t&&"[object Object]"===ft.call(t)?(e=lt(t))?(i=mt.call(e,"constructor")&&e.constructor,"function"==typeof i&&gt.call(i)===vt):!0:!1},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){i(t,{nonce:e&&e.nonce},n)},each:function(t,e){var i,n=0;if(o(t))for(i=t.length;i>n&&e.call(t[n],n,t[n])!==!1;n++);else for(n in t)if(e.call(t[n],n,t[n])===!1)break;return t},makeArray:function(t,e){var i=e||[];return null!=t&&(o(Object(t))?Ct.merge(i,"string"==typeof t?[t]:t):ht.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:ut.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;i>n;n++)t[o++]=e[n];return t.length=o,t},grep:function(t,e,i){for(var n,o=[],s=0,r=t.length,a=!i;r>s;s++)n=!e(t[s],s),n!==a&&o.push(t[s]);return o},map:function(t,e,i){var n,s,r=0,a=[];if(o(t))for(n=t.length;n>r;r++)s=e(t[r],r,i),null!=s&&a.push(s);else for(r in t)s=e(t[r],r,i),null!=s&&a.push(s);return dt(a)},guid:1,support:yt}),"function"==typeof Symbol&&(Ct.fn[Symbol.iterator]=at[Symbol.iterator]),Ct.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){pt["[object "+e+"]"]=e.toLowerCase()});var Tt=function(t){function e(t,e,i,n){var o,s,r,a,l,c,d,u=e&&e.ownerDocument,f=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==f&&9!==f&&11!==f)return i;if(!n&&(A(e),e=e||P,L)){if(11!==f&&(l=bt.exec(t)))if(o=l[1]){if(9===f){if(!(r=e.getElementById(o)))return i;if(r.id===o)return i.push(r),i}else if(u&&(r=u.getElementById(o))&&B(e,r)&&r.id===o)return i.push(r),i}else{if(l[2])return J.apply(i,e.getElementsByTagName(t)),i;if((o=l[3])&&w.getElementsByClassName&&e.getElementsByClassName)return J.apply(i,e.getElementsByClassName(o)),i}if(w.qsa&&!G[t+" "]&&(!I||!I.test(t))&&(1!==f||"object"!==e.nodeName.toLowerCase())){if(d=t,u=e,1===f&&(ht.test(t)||dt.test(t))){for(u=_t.test(t)&&h(e.parentNode)||e,u===e&&w.scope||((a=e.getAttribute("id"))?a=a.replace(kt,Ct):e.setAttribute("id",a=N)),c=S(t),s=c.length;s--;)c[s]=(a?"#"+a:":scope")+" "+p(c[s]);d=c.join(",")}try{return J.apply(i,u.querySelectorAll(d)),i}catch(m){G(t,!0)}finally{a===N&&e.removeAttribute("id")}}}return M(t.replace(lt,"$1"),e,i,n)}function i(){function t(i,n){return e.push(i+" ")>k.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[N]=!0,t}function o(t){var e=P.createElement("fieldset");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)k.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){var i=e.nodeName.toLowerCase();return"input"===i&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&e.disabled===!1?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&St(e)===t:e.disabled===t:"label"in e?e.disabled===t:!1}}function d(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function u(){}function p(t){for(var e=0,i=t.length,n="";i>e;e++)n+=t[e].value;return n}function f(t,e,i){var n=e.dir,o=e.next,s=o||n,r=i&&"parentNode"===s,a=q++;return e.first?function(e,i,o){for(;e=e[n];)if(1===e.nodeType||r)return t(e,i,o);return!1}:function(e,i,l){var c,d,h,u=[z,a];if(l){for(;e=e[n];)if((1===e.nodeType||r)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||r)if(h=e[N]||(e[N]={}),d=h[e.uniqueID]||(h[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[n]||e;else{if((c=d[s])&&c[0]===z&&c[1]===a)return u[2]=c[2];if(d[s]=u,u[2]=t(e,i,l))return!0}return!1}}function m(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function g(t,i,n){for(var o=0,s=i.length;s>o;o++)e(t,i[o],n);return n}function v(t,e,i,n,o){for(var s,r=[],a=0,l=t.length,c=null!=e;l>a;a++)(s=t[a])&&(!i||i(s,n,o))&&(r.push(s),c&&e.push(a));return r}function y(t,e,i,o,s,r){return o&&!o[N]&&(o=y(o)),s&&!s[N]&&(s=y(s,r)),n(function(n,r,a,l){var c,d,h,u=[],p=[],f=r.length,m=n||g(e||"*",a.nodeType?[a]:a,[]),y=!t||!n&&e?m:v(m,u,t,a,l),b=i?s||(n?t:f||o)?[]:r:y;if(i&&i(y,b,a,l),o)for(c=v(b,p),o(c,[],a,l),d=c.length;d--;)(h=c[d])&&(b[p[d]]=!(y[p[d]]=h));if(n){if(s||t){if(s){for(c=[],d=b.length;d--;)(h=b[d])&&c.push(y[d]=h);s(null,b=[],c,l)}for(d=b.length;d--;)(h=b[d])&&(c=s?et(n,h):u[d])>-1&&(n[c]=!(r[c]=h))}}else b=v(b===r?b.splice(f,b.length):b),s?s(null,r,b,l):J.apply(r,b)})}function b(t){for(var e,i,n,o=t.length,s=k.relative[t[0].type],r=s||k.relative[" "],a=s?1:0,l=f(function(t){return t===e},r,!0),c=f(function(t){return et(e,t)>-1},r,!0),d=[function(t,i,n){var o=!s&&(n||i!==j)||((e=i).nodeType?l(t,i,n):c(t,i,n));return e=null,o}];o>a;a++)if(i=k.relative[t[a].type])d=[f(m(d),i)];else{if(i=k.filter[t[a].type].apply(null,t[a].matches),i[N]){for(n=++a;o>n&&!k.relative[t[n].type];n++);return y(a>1&&m(d),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(lt,"$1"),i,n>a&&b(t.slice(a,n)),o>n&&b(t=t.slice(n)),o>n&&p(t))}d.push(i)}return m(d)}function _(t,i){var o=i.length>0,s=t.length>0,r=function(n,r,a,l,c){var d,h,u,p=0,f="0",m=n&&[],g=[],y=j,b=n||s&&k.find.TAG("*",c),_=z+=null==y?1:Math.random()||.1,x=b.length;for(c&&(j=r==P||r||c);f!==x&&null!=(d=b[f]);f++){if(s&&d){for(h=0,r||d.ownerDocument==P||(A(d),a=!L);u=t[h++];)if(u(d,r||P,a)){l.push(d);break}c&&(z=_)}o&&((d=!u&&d)&&p--,n&&m.push(d))}if(p+=f,o&&f!==p){for(h=0;u=i[h++];)u(m,g,r,a);if(n){if(p>0)for(;f--;)m[f]||g[f]||(g[f]=K.call(l));g=v(g)}J.apply(l,g),c&&!n&&g.length>0&&p+i.length>1&&e.uniqueSort(l)}return c&&(z=_,j=y),m};return o?n(r):r}var x,w,k,C,T,S,$,M,j,D,E,A,P,O,L,I,F,H,B,N="sizzle"+1*new Date,R=t.document,z=0,q=0,W=i(),Y=i(),V=i(),G=i(),U=function(t,e){return t===e&&(E=!0),0},X={}.hasOwnProperty,Q=[],K=Q.pop,Z=Q.push,J=Q.push,tt=Q.slice,et=function(t,e){for(var i=0,n=t.length;n>i;i++)if(t[i]===e)return i;return-1},it="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",ot="(?:\\\\[\\da-fA-F]{1,6}"+nt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+",st="\\["+nt+"*("+ot+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+nt+"*\\]",rt=":("+ot+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+st+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),lt=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ct=new RegExp("^"+nt+"*,"+nt+"*"),dt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ht=new RegExp(nt+"|>"),ut=new RegExp(rt),pt=new RegExp("^"+ot+"$"),ft={ID:new RegExp("^#("+ot+")"),CLASS:new RegExp("^\\.("+ot+")"),TAG:new RegExp("^("+ot+"|[*])"),ATTR:new RegExp("^"+st),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+it+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},mt=/HTML$/i,gt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,yt=/^[^{]+\{\s*\[native \w/,bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_t=/[+~]/,xt=new RegExp("\\\\[\\da-fA-F]{1,6}"+nt+"?|\\\\([^\\r\\n\\f])","g"),wt=function(t,e){var i="0x"+t.slice(1)-65536;return e?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},kt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ct=function(t,e){return e?"\x00"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){A()},St=f(function(t){return t.disabled===!0&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(Q=tt.call(R.childNodes),R.childNodes),Q[R.childNodes.length].nodeType}catch($t){J={apply:Q.length?function(t,e){Z.apply(t,tt.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}w=e.support={},T=e.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!mt.test(e||i&&i.nodeName||"HTML")},A=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:R;return n!=P&&9===n.nodeType&&n.documentElement?(P=n,O=P.documentElement,L=!T(P),R!=P&&(i=P.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),w.scope=o(function(t){return O.appendChild(t).appendChild(P.createElement("div")),"undefined"!=typeof t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),w.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=o(function(t){return t.appendChild(P.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=yt.test(P.getElementsByClassName),w.getById=o(function(t){return O.appendChild(t).id=N,!P.getElementsByName||!P.getElementsByName(N).length}),w.getById?(k.filter.ID=function(t){var e=t.replace(xt,wt);return function(t){return t.getAttribute("id")===e}},k.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&L){var i=e.getElementById(t);return i?[i]:[]}}):(k.filter.ID=function(t){var e=t.replace(xt,wt);return function(t){var i="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},k.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&L){var i,n,o,s=e.getElementById(t);if(s){if(i=s.getAttributeNode("id"),i&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if(i=s.getAttributeNode("id"),i&&i.value===t)return[s]}return[]}}),k.find.TAG=w.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},k.find.CLASS=w.getElementsByClassName&&function(t,e){return"undefined"!=typeof e.getElementsByClassName&&L?e.getElementsByClassName(t):void 0},F=[],I=[],(w.qsa=yt.test(P.querySelectorAll))&&(o(function(t){var e;O.appendChild(t).innerHTML="<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+nt+"*(?:value|"+it+")"),t.querySelectorAll("[id~="+N+"-]").length||I.push("~="),e=P.createElement("input"),e.setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||I.push("\\["+nt+"*name"+nt+"*="+nt+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||I.push(":checked"),t.querySelectorAll("a#"+N+"+*").length||I.push(".#.+[+~]"),t.querySelectorAll("\\\f"),I.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=P.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+nt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&I.push(":enabled",":disabled"),O.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(w.matchesSelector=yt.test(H=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&o(function(t){w.disconnectedMatch=H.call(t,"*"),H.call(t,"[s!='']:x"),F.push("!=",rt)}),I=I.length&&new RegExp(I.join("|")),F=F.length&&new RegExp(F.join("|")),e=yt.test(O.compareDocumentPosition),B=e||yt.test(O.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return E=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!w.sortDetached&&e.compareDocumentPosition(t)===i?t==P||t.ownerDocument==R&&B(R,t)?-1:e==P||e.ownerDocument==R&&B(R,e)?1:D?et(D,t)-et(D,e):0:4&i?-1:1)}:function(t,e){if(t===e)return E=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==P?-1:e==P?1:o?-1:s?1:D?et(D,t)-et(D,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==R?-1:l[n]==R?1:0},P):P},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(A(t),w.matchesSelector&&L&&!G[i+" "]&&(!F||!F.test(i))&&(!I||!I.test(i)))try{var n=H.call(t,i);if(n||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(o){G(i,!0)}return e(i,P,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!=P&&A(t),B(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=P&&A(t);var i=k.attrHandle[e.toLowerCase()],n=i&&X.call(k.attrHandle,e.toLowerCase())?i(t,e,!L):void 0;return void 0!==n?n:w.attributes||!L?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.escape=function(t){return(t+"").replace(kt,Ct)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,o=0;if(E=!w.detectDuplicates,D=!w.sortStable&&t.slice(0),t.sort(U),E){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return D=null,t},C=e.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=C(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=C(e);return i},k=e.selectors={cacheLength:50,createPseudo:n,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(xt,wt),t[3]=(t[3]||t[4]||t[5]||"").replace(xt,wt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=S(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(xt,wt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=W[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&W(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:i?(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&s.indexOf(n)>-1:"$="===i?n&&s.slice(-n.length)===n:"~="===i?(" "+s.replace(at," ")+" ").indexOf(n)>-1:"|="===i?s===n||s.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(t,e,i,n,o){var s="nth"!==t.slice(0,3),r="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,l){var c,d,h,u,p,f,m=s!==r?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(s){for(;m;){for(u=e;u=u[m];)if(a?u.nodeName.toLowerCase()===v:1===u.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[r?g.firstChild:g.lastChild],r&&y){for(u=g,h=u[N]||(u[N]={}),d=h[u.uniqueID]||(h[u.uniqueID]={}),c=d[t]||[],p=c[0]===z&&c[1],b=p&&c[2],u=p&&g.childNodes[p];u=++p&&u&&u[m]||(b=p=0)||f.pop();)if(1===u.nodeType&&++b&&u===e){d[t]=[z,p,b];break}}else if(y&&(u=e,h=u[N]||(u[N]={}),d=h[u.uniqueID]||(h[u.uniqueID]={}),c=d[t]||[],p=c[0]===z&&c[1],b=p),b===!1)for(;(u=++p&&u&&u[m]||(b=p=0)||f.pop())&&((a?u.nodeName.toLowerCase()!==v:1!==u.nodeType)||!++b||(y&&(h=u[N]||(u[N]={}),d=h[u.uniqueID]||(h[u.uniqueID]={}),d[t]=[z,b]),u!==e)););return b-=o,b===n||b%n===0&&b/n>=0}}},PSEUDO:function(t,i){var o,s=k.pseudos[t]||k.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[N]?s(i):s.length>1?(o=[t,t,"",i],k.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,o=s(t,i),r=o.length;r--;)n=et(t,o[r]),t[n]=!(e[n]=o[r])}):function(t){return s(t,0,o)}):s}},pseudos:{not:n(function(t){var e=[],i=[],o=$(t.replace(lt,"$1"));return o[N]?n(function(t,e,i,n){for(var s,r=o(t,null,n,[]),a=t.length;a--;)(s=r[a])&&(t[a]=!(e[a]=s))}):function(t,n,s){return e[0]=t,o(e,null,s,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(xt,wt),function(e){return(e.textContent||C(e)).indexOf(t)>-1}}),lang:n(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xt,wt).toLowerCase(),function(e){var i;do if(i=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===O},focus:function(t){return t===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)},header:function(t){return vt.test(t.nodeName)},input:function(t){return gt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:d(function(){return[0]}),last:d(function(t,e){return[e-1]}),eq:d(function(t,e,i){return[0>i?i+e:i]}),even:d(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:d(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:d(function(t,e,i){for(var n=0>i?i+e:i>e?e:i;--n>=0;)t.push(n);return t}),gt:d(function(t,e,i){for(var n=0>i?i+e:i;++n<e;)t.push(n);return t})}},k.pseudos.nth=k.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[x]=a(x);for(x in{submit:!0,reset:!0})k.pseudos[x]=l(x);return u.prototype=k.filters=k.pseudos,k.setFilters=new u,S=e.tokenize=function(t,i){var n,o,s,r,a,l,c,d=Y[t+" "];if(d)return i?0:d.slice(0);for(a=t,l=[],c=k.preFilter;a;){(!n||(o=ct.exec(a)))&&(o&&(a=a.slice(o[0].length)||a),l.push(s=[])),n=!1,(o=dt.exec(a))&&(n=o.shift(),s.push({value:n,type:o[0].replace(lt," ")}),a=a.slice(n.length));for(r in k.filter)!(o=ft[r].exec(a))||c[r]&&!(o=c[r](o))||(n=o.shift(),s.push({value:n,type:r,matches:o}),a=a.slice(n.length));if(!n)break}return i?a.length:a?e.error(t):Y(t,l).slice(0)},$=e.compile=function(t,e){var i,n=[],o=[],s=V[t+" "];if(!s){for(e||(e=S(t)),i=e.length;i--;)s=b(e[i]),s[N]?n.push(s):o.push(s);s=V(t,_(o,n)),s.selector=t}return s},M=e.select=function(t,e,i,n){var o,s,r,a,l,c="function"==typeof t&&t,d=!n&&S(t=c.selector||t);if(i=i||[],1===d.length){if(s=d[0]=d[0].slice(0),s.length>2&&"ID"===(r=s[0]).type&&9===e.nodeType&&L&&k.relative[s[1].type]){if(e=(k.find.ID(r.matches[0].replace(xt,wt),e)||[])[0],!e)return i;c&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=ft.needsContext.test(t)?0:s.length;o--&&(r=s[o],!k.relative[a=r.type]);)if((l=k.find[a])&&(n=l(r.matches[0].replace(xt,wt),_t.test(s[0].type)&&h(e.parentNode)||e))){if(s.splice(o,1),t=n.length&&p(s),!t)return J.apply(i,n),i;break}}return(c||$(t,d))(n,e,!L,i,!e||_t.test(t)&&h(e.parentNode)||e),i},w.sortStable=N.split("").sort(U).join("")===N,w.detectDuplicates=!!E,A(),w.sortDetached=o(function(t){return 1&t.compareDocumentPosition(P.createElement("fieldset"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||s("type|href|height|width",function(t,e,i){return i?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||s("value",function(t,e,i){return i||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||s(it,function(t,e,i){var n;return i?void 0:t[e]===!0?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);Ct.find=Tt,Ct.expr=Tt.selectors,Ct.expr[":"]=Ct.expr.pseudos,Ct.uniqueSort=Ct.unique=Tt.uniqueSort,Ct.text=Tt.getText,Ct.isXMLDoc=Tt.isXML,Ct.contains=Tt.contains,Ct.escapeSelector=Tt.escape;var St=function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&Ct(t).is(i))break;n.push(t)}return n},$t=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},Mt=Ct.expr.match.needsContext,jt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ct.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?Ct.find.matchesSelector(n,t)?[n]:[]:Ct.find.matches(t,Ct.grep(e,function(t){return 1===t.nodeType}))},Ct.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(Ct(t).filter(function(){for(e=0;n>e;e++)if(Ct.contains(o[e],this))return!0}));for(i=this.pushStack([]),e=0;n>e;e++)Ct.find(t,o[e],i);return n>1?Ct.uniqueSort(i):i},filter:function(t){return this.pushStack(r(this,t||[],!1))},not:function(t){return this.pushStack(r(this,t||[],!0))},is:function(t){return!!r(this,"string"==typeof t&&Mt.test(t)?Ct(t):t||[],!1).length}});var Dt,Et=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,At=Ct.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||Dt,"string"==typeof t){if(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Et.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof Ct?e[0]:e,Ct.merge(this,Ct.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:xt,!0)),jt.test(n[1])&&Ct.isPlainObject(e))for(n in e)bt(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return o=xt.getElementById(n[2]),o&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):bt(t)?void 0!==i.ready?i.ready(t):t(Ct):Ct.makeArray(t,this)};At.prototype=Ct.fn,Dt=Ct(xt);var Pt=/^(?:parents|prev(?:Until|All))/,Ot={children:!0,contents:!0,next:!0,prev:!0};Ct.fn.extend({has:function(t){var e=Ct(t,this),i=e.length;return this.filter(function(){for(var t=0;i>t;t++)if(Ct.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,o=this.length,s=[],r="string"!=typeof t&&Ct(t);if(!Mt.test(t))for(;o>n;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(r?r.index(i)>-1:1===i.nodeType&&Ct.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?Ct.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?ut.call(Ct(t),this[0]):ut.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Ct.uniqueSort(Ct.merge(this.get(),Ct(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Ct.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return St(t,"parentNode")},parentsUntil:function(t,e,i){return St(t,"parentNode",i)},next:function(t){return a(t,"nextSibling")},prev:function(t){return a(t,"previousSibling")},nextAll:function(t){return St(t,"nextSibling")},prevAll:function(t){return St(t,"previousSibling")},nextUntil:function(t,e,i){return St(t,"nextSibling",i)},prevUntil:function(t,e,i){return St(t,"previousSibling",i)},siblings:function(t){return $t((t.parentNode||{}).firstChild,t)},children:function(t){return $t(t.firstChild)},contents:function(t){return null!=t.contentDocument&&lt(t.contentDocument)?t.contentDocument:(s(t,"template")&&(t=t.content||t),Ct.merge([],t.childNodes))}},function(t,e){Ct.fn[t]=function(i,n){var o=Ct.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=Ct.filter(n,o)),this.length>1&&(Ot[t]||Ct.uniqueSort(o),Pt.test(t)&&o.reverse()),this.pushStack(o)}});var Lt=/[^\x20\t\r\n\f]+/g;Ct.Callbacks=function(t){t="string"==typeof t?l(t):Ct.extend({},t);var e,i,o,s,r=[],a=[],c=-1,d=function(){for(s=s||t.once,o=e=!0;a.length;c=-1)for(i=a.shift();++c<r.length;)r[c].apply(i[0],i[1])===!1&&t.stopOnFalse&&(c=r.length,i=!1);t.memory||(i=!1),e=!1,s&&(r=i?[]:"")},h={add:function(){return r&&(i&&!e&&(c=r.length-1,a.push(i)),function o(e){Ct.each(e,function(e,i){bt(i)?t.unique&&h.has(i)||r.push(i):i&&i.length&&"string"!==n(i)&&o(i)})}(arguments),i&&!e&&d()),this},remove:function(){return Ct.each(arguments,function(t,e){for(var i;(i=Ct.inArray(e,r,i))>-1;)r.splice(i,1),c>=i&&c--}),this},has:function(t){return t?Ct.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return s=a=[],r=i="",this},disabled:function(){return!r},lock:function(){return s=a=[],i||e||(r=i=""),this},locked:function(){return!!s},fireWith:function(t,i){return s||(i=i||[],i=[t,i.slice?i.slice():i],a.push(i),e||d()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!o}};return h},Ct.extend({Deferred:function(e){var i=[["notify","progress",Ct.Callbacks("memory"),Ct.Callbacks("memory"),2],["resolve","done",Ct.Callbacks("once memory"),Ct.Callbacks("once memory"),0,"resolved"],["reject","fail",Ct.Callbacks("once memory"),Ct.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(t){return o.then(null,t)},pipe:function(){var t=arguments;return Ct.Deferred(function(e){Ct.each(i,function(i,n){var o=bt(t[n[4]])&&t[n[4]];s[n[1]](function(){var t=o&&o.apply(this,arguments);t&&bt(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[n[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(e,n,o){function s(e,i,n,o){return function(){var a=this,l=arguments,h=function(){var t,h;if(!(r>e)){if(t=n.apply(a,l),t===i.promise())throw new TypeError("Thenable self-resolution");h=t&&("object"==typeof t||"function"==typeof t)&&t.then,bt(h)?o?h.call(t,s(r,i,c,o),s(r,i,d,o)):(r++,h.call(t,s(r,i,c,o),s(r,i,d,o),s(r,i,c,i.notifyWith))):(n!==c&&(a=void 0,l=[t]),(o||i.resolveWith)(a,l))}},u=o?h:function(){try{h()}catch(t){Ct.Deferred.exceptionHook&&Ct.Deferred.exceptionHook(t,u.stackTrace),e+1>=r&&(n!==d&&(a=void 0,l=[t]),i.rejectWith(a,l))}};e?u():(Ct.Deferred.getStackHook&&(u.stackTrace=Ct.Deferred.getStackHook()),t.setTimeout(u))}}var r=0;return Ct.Deferred(function(t){i[0][3].add(s(0,t,bt(o)?o:c,t.notifyWith)),i[1][3].add(s(0,t,bt(e)?e:c)),i[2][3].add(s(0,t,bt(n)?n:d))}).promise()},promise:function(t){return null!=t?Ct.extend(t,o):o}},s={};return Ct.each(i,function(t,e){var r=e[2],a=e[5];o[e[1]]=r.add,a&&r.add(function(){n=a},i[3-t][2].disable,i[3-t][3].disable,i[0][2].lock,i[0][3].lock),r.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?void 0:this,arguments),this},s[e[0]+"With"]=r.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(t){var e=arguments.length,i=e,n=Array(i),o=ct.call(arguments),s=Ct.Deferred(),r=function(t){return function(i){n[t]=this,o[t]=arguments.length>1?ct.call(arguments):i,--e||s.resolveWith(n,o)}};if(1>=e&&(h(t,s.done(r(i)).resolve,s.reject,!e),"pending"===s.state()||bt(o[i]&&o[i].then)))return s.then();for(;i--;)h(o[i],r(i),s.reject);return s.promise()}});var It=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ct.Deferred.exceptionHook=function(e,i){t.console&&t.console.warn&&e&&It.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)},Ct.readyException=function(e){t.setTimeout(function(){throw e})};var Ft=Ct.Deferred();Ct.fn.ready=function(t){return Ft.then(t)["catch"](function(t){Ct.readyException(t)}),this},Ct.extend({isReady:!1,readyWait:1,ready:function(t){(t===!0?--Ct.readyWait:Ct.isReady)||(Ct.isReady=!0,t!==!0&&--Ct.readyWait>0||Ft.resolveWith(xt,[Ct]))}}),Ct.ready.then=Ft.then,"complete"===xt.readyState||"loading"!==xt.readyState&&!xt.documentElement.doScroll?t.setTimeout(Ct.ready):(xt.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u));var Ht=function(t,e,i,o,s,r,a){var l=0,c=t.length,d=null==i;if("object"===n(i)){s=!0;for(l in i)Ht(t,e,l,i[l],!0,r,a)}else if(void 0!==o&&(s=!0,bt(o)||(a=!0),d&&(a?(e.call(t,o),e=null):(d=e,e=function(t,e,i){return d.call(Ct(t),i)})),e))for(;c>l;l++)e(t[l],i,a?o:o.call(t[l],l,e(t[l],i)));return s?t:d?e.call(t):c?e(t[0],i):r},Bt=/^-ms-/,Nt=/-([a-z])/g,Rt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};m.uid=1,m.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Rt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,o=this.cache(t);if("string"==typeof e)o[f(e)]=i;else for(n in e)o[f(n)]=e[n];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][f(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){Array.isArray(e)?e=e.map(f):(e=f(e),e=e in n?[e]:e.match(Lt)||[]),i=e.length;for(;i--;)delete n[e[i]]}(void 0===e||Ct.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!Ct.isEmptyObject(e)}};var zt=new m,qt=new m,Wt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Yt=/[A-Z]/g;Ct.extend({hasData:function(t){return qt.hasData(t)||zt.hasData(t)},data:function(t,e,i){return qt.access(t,e,i)},removeData:function(t,e){qt.remove(t,e)},_data:function(t,e,i){return zt.access(t,e,i)},_removeData:function(t,e){zt.remove(t,e)}}),Ct.fn.extend({data:function(t,e){var i,n,o,s=this[0],r=s&&s.attributes;if(void 0===t){if(this.length&&(o=qt.get(s),1===s.nodeType&&!zt.get(s,"hasDataAttrs"))){for(i=r.length;i--;)r[i]&&(n=r[i].name,0===n.indexOf("data-")&&(n=f(n.slice(5)),v(s,n,o[n])));zt.set(s,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){qt.set(this,t)}):Ht(this,function(e){var i;if(s&&void 0===e){if(i=qt.get(s,t),void 0!==i)return i;if(i=v(s,t),void 0!==i)return i}else this.each(function(){qt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){qt.remove(this,t)})}}),Ct.extend({queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=zt.get(t,e),i&&(!n||Array.isArray(i)?n=zt.access(t,e,Ct.makeArray(i)):n.push(i)),
n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=Ct.queue(t,e),n=i.length,o=i.shift(),s=Ct._queueHooks(t,e),r=function(){Ct.dequeue(t,e)};"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete s.stop,o.call(t,r,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return zt.get(t,i)||zt.access(t,i,{empty:Ct.Callbacks("once memory").add(function(){zt.remove(t,[e+"queue",i])})})}}),Ct.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?Ct.queue(this[0],t):void 0===e?this:this.each(function(){var i=Ct.queue(this,t,e);Ct._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&Ct.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Ct.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,o=Ct.Deferred(),s=this,r=this.length,a=function(){--n||o.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";r--;)i=zt.get(s[r],t+"queueHooks"),i&&i.empty&&(n++,i.empty.add(a));return a(),o.promise(e)}});var Vt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Gt=new RegExp("^(?:([+-])=|)("+Vt+")([a-z%]*)$","i"),Ut=["Top","Right","Bottom","Left"],Xt=xt.documentElement,Qt=function(t){return Ct.contains(t.ownerDocument,t)},Kt={composed:!0};Xt.getRootNode&&(Qt=function(t){return Ct.contains(t.ownerDocument,t)||t.getRootNode(Kt)===t.ownerDocument});var Zt=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&Qt(t)&&"none"===Ct.css(t,"display")},Jt={};Ct.fn.extend({show:function(){return _(this,!0)},hide:function(){return _(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Zt(this)?Ct(this).show():Ct(this).hide()})}});var te=/^(?:checkbox|radio)$/i,ee=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ie=/^$|^module$|\/(?:java|ecma)script/i;!function(){var t=xt.createDocumentFragment(),e=t.appendChild(xt.createElement("div")),i=xt.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),yt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",yt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="<option></option>",yt.option=!!e.lastChild}();var ne={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,"",""]};ne.tbody=ne.tfoot=ne.colgroup=ne.caption=ne.thead,ne.th=ne.td,yt.option||(ne.optgroup=ne.option=[1,"<select multiple='multiple'>","</select>"]);var oe=/<|&#?\w+;/,se=/^key/,re=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ae=/^([^.]*)(?:\.(.+)|)/;Ct.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,d,h,u,p,f,m,g=zt.get(t);if(Rt(t))for(i.handler&&(s=i,i=s.handler,o=s.selector),o&&Ct.find.matchesSelector(Xt,o),i.guid||(i.guid=Ct.guid++),(l=g.events)||(l=g.events=Object.create(null)),(r=g.handle)||(r=g.handle=function(e){return"undefined"!=typeof Ct&&Ct.event.triggered!==e.type?Ct.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Lt)||[""],c=e.length;c--;)a=ae.exec(e[c])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p&&(h=Ct.event.special[p]||{},p=(o?h.delegateType:h.bindType)||p,h=Ct.event.special[p]||{},d=Ct.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&Ct.expr.match.needsContext.test(o),namespace:f.join(".")},s),(u=l[p])||(u=l[p]=[],u.delegateCount=0,h.setup&&h.setup.call(t,n,f,r)!==!1||t.addEventListener&&t.addEventListener(p,r)),h.add&&(h.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),o?u.splice(u.delegateCount++,0,d):u.push(d),Ct.event.global[p]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,d,h,u,p,f,m,g=zt.hasData(t)&&zt.get(t);if(g&&(l=g.events)){for(e=(e||"").match(Lt)||[""],c=e.length;c--;)if(a=ae.exec(e[c])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p){for(h=Ct.event.special[p]||{},p=(n?h.delegateType:h.bindType)||p,u=l[p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=u.length;s--;)d=u[s],!o&&m!==d.origType||i&&i.guid!==d.guid||a&&!a.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(u.splice(s,1),d.selector&&u.delegateCount--,h.remove&&h.remove.call(t,d));r&&!u.length&&(h.teardown&&h.teardown.call(t,f,g.handle)!==!1||Ct.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)Ct.event.remove(t,p+e[c],i,n,!0);Ct.isEmptyObject(l)&&zt.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=Ct.event.fix(t),c=(zt.get(this,"events")||Object.create(null))[l.type]||[],d=Ct.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!d.preDispatch||d.preDispatch.call(this,l)!==!1){for(r=Ct.event.handlers.call(this,l,c),e=0;(o=r[e++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,i=0;(s=o.handlers[i++])&&!l.isImmediatePropagationStopped();)(!l.rnamespace||s.namespace===!1||l.rnamespace.test(s.namespace))&&(l.handleObj=s,l.data=s.data,n=((Ct.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,a),void 0!==n&&(l.result=n)===!1&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,n,o,s,r,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||c.disabled!==!0)){for(s=[],r={},i=0;l>i;i++)n=e[i],o=n.selector+" ",void 0===r[o]&&(r[o]=n.needsContext?Ct(o,this).index(c)>-1:Ct.find(o,this,null,[c]).length),r[o]&&s.push(n);s.length&&a.push({elem:c,handlers:s})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(Ct.Event.prototype,t,{enumerable:!0,configurable:!0,get:bt(e)?function(){return this.originalEvent?e(this.originalEvent):void 0}:function(){return this.originalEvent?this.originalEvent[t]:void 0},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[Ct.expando]?t:new Ct.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return te.test(e.type)&&e.click&&s(e,"input")&&j(e,"click",C),!1},trigger:function(t){var e=this||t;return te.test(e.type)&&e.click&&s(e,"input")&&j(e,"click"),!0},_default:function(t){var e=t.target;return te.test(e.type)&&e.click&&s(e,"input")&&zt.get(e,"click")||s(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},Ct.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},Ct.Event=function(t,e){return this instanceof Ct.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?C:T,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&Ct.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),void(this[Ct.expando]=!0)):new Ct.Event(t,e)},Ct.Event.prototype={constructor:Ct.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=C,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=C,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=C,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},Ct.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&se.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&re.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},Ct.event.addProp),Ct.each({focus:"focusin",blur:"focusout"},function(t,e){Ct.event.special[t]={setup:function(){return j(this,t,S),!1},trigger:function(){return j(this,t),!0},delegateType:e}}),Ct.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Ct.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,o=t.relatedTarget,s=t.handleObj;return(!o||o!==n&&!Ct.contains(n,o))&&(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}}),Ct.fn.extend({on:function(t,e,i,n){return M(this,t,e,i,n)},one:function(t,e,i,n){return M(this,t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,Ct(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return(e===!1||"function"==typeof e)&&(i=e,e=void 0),i===!1&&(i=T),this.each(function(){Ct.event.remove(this,t,i,e)})}});var le=/<script|<style|<link/i,ce=/checked\s*(?:[^=]|=\s*.checked.)/i,de=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Ct.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a=t.cloneNode(!0),l=Qt(t);if(!(yt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Ct.isXMLDoc(t)))for(r=x(a),s=x(t),n=0,o=s.length;o>n;n++)O(s[n],r[n]);if(e)if(i)for(s=s||x(t),r=r||x(a),n=0,o=s.length;o>n;n++)P(s[n],r[n]);else P(t,a);return r=x(a,"script"),r.length>0&&w(r,!l&&x(t,"script")),a},cleanData:function(t){for(var e,i,n,o=Ct.event.special,s=0;void 0!==(i=t[s]);s++)if(Rt(i)){if(e=i[zt.expando]){if(e.events)for(n in e.events)o[n]?Ct.event.remove(i,n):Ct.removeEvent(i,n,e.handle);i[zt.expando]=void 0}i[qt.expando]&&(i[qt.expando]=void 0)}}}),Ct.fn.extend({detach:function(t){return I(this,t,!0)},remove:function(t){return I(this,t)},text:function(t){return Ht(this,function(t){return void 0===t?Ct.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return L(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=D(this,t);e.appendChild(t)}})},prepend:function(){return L(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=D(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return L(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return L(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Ct.cleanData(x(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return Ct.clone(this,t,e)})},html:function(t){return Ht(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!le.test(t)&&!ne[(ee.exec(t)||["",""])[1].toLowerCase()]){t=Ct.htmlPrefilter(t);try{for(;n>i;i++)e=this[i]||{},1===e.nodeType&&(Ct.cleanData(x(e,!1)),e.innerHTML=t);e=0}catch(o){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return L(this,arguments,function(e){var i=this.parentNode;Ct.inArray(this,t)<0&&(Ct.cleanData(x(this)),i&&i.replaceChild(e,this))},t)}}),Ct.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Ct.fn[t]=function(t){for(var i,n=[],o=Ct(t),s=o.length-1,r=0;s>=r;r++)i=r===s?this:this.clone(!0),Ct(o[r])[e](i),ht.apply(n,i.get());return this.pushStack(n)}});var he=new RegExp("^("+Vt+")(?!px)[a-z%]+$","i"),ue=function(e){var i=e.ownerDocument.defaultView;return i&&i.opener||(i=t),i.getComputedStyle(e)},pe=function(t,e,i){var n,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];n=i.call(t);for(o in e)t.style[o]=s[o];return n},fe=new RegExp(Ut.join("|"),"i");!function(){function e(){if(d){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Xt.appendChild(c).appendChild(d);var e=t.getComputedStyle(d);n="1%"!==e.top,l=12===i(e.marginLeft),d.style.right="60%",r=36===i(e.right),o=36===i(e.width),d.style.position="absolute",s=12===i(d.offsetWidth/3),Xt.removeChild(c),d=null}}function i(t){return Math.round(parseFloat(t))}var n,o,s,r,a,l,c=xt.createElement("div"),d=xt.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",yt.clearCloneStyle="content-box"===d.style.backgroundClip,Ct.extend(yt,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),r},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,i,n,o;return null==a&&(e=xt.createElement("table"),i=xt.createElement("tr"),n=xt.createElement("div"),e.style.cssText="position:absolute;left:-11111px",i.style.height="1px",n.style.height="9px",Xt.appendChild(e).appendChild(i).appendChild(n),o=t.getComputedStyle(i),a=parseInt(o.height)>3,Xt.removeChild(e)),a}}))}();var me=["Webkit","Moz","ms"],ge=xt.createElement("div").style,ve={},ye=/^(none|table(?!-c[ea]).+)/,be=/^--/,_e={position:"absolute",visibility:"hidden",display:"block"},xe={letterSpacing:"0",fontWeight:"400"};Ct.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=F(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,s,r,a=f(e),l=be.test(e),c=t.style;return l||(e=N(a)),r=Ct.cssHooks[e]||Ct.cssHooks[a],void 0===i?r&&"get"in r&&void 0!==(o=r.get(t,!1,n))?o:c[e]:(s=typeof i,"string"===s&&(o=Gt.exec(i))&&o[1]&&(i=y(t,e,o),s="number"),null!=i&&i===i&&("number"!==s||l||(i+=o&&o[3]||(Ct.cssNumber[a]?"":"px")),yt.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),r&&"set"in r&&void 0===(i=r.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i)),void 0)}},css:function(t,e,i,n){var o,s,r,a=f(e),l=be.test(e);return l||(e=N(a)),r=Ct.cssHooks[e]||Ct.cssHooks[a],r&&"get"in r&&(o=r.get(t,!0,i)),void 0===o&&(o=F(t,e,n)),"normal"===o&&e in xe&&(o=xe[e]),""===i||i?(s=parseFloat(o),i===!0||isFinite(s)?s||0:o):o}}),Ct.each(["height","width"],function(t,e){Ct.cssHooks[e]={get:function(t,i,n){return i?!ye.test(Ct.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?q(t,e,n):pe(t,_e,function(){return q(t,e,n)}):void 0},set:function(t,i,n){var o,s=ue(t),r=!yt.scrollboxSize()&&"absolute"===s.position,a=r||n,l=a&&"border-box"===Ct.css(t,"boxSizing",!1,s),c=n?z(t,e,n,l,s):0;return l&&r&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-z(t,e,"border",!1,s)-.5)),c&&(o=Gt.exec(i))&&"px"!==(o[3]||"px")&&(t.style[e]=i,i=Ct.css(t,e)),R(t,i,c)}}}),Ct.cssHooks.marginLeft=H(yt.reliableMarginLeft,function(t,e){return e?(parseFloat(F(t,"marginLeft"))||t.getBoundingClientRect().left-pe(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px":void 0}),Ct.each({margin:"",padding:"",border:"Width"},function(t,e){Ct.cssHooks[t+e]={expand:function(i){for(var n=0,o={},s="string"==typeof i?i.split(" "):[i];4>n;n++)o[t+Ut[n]+e]=s[n]||s[n-2]||s[0];return o}},"margin"!==t&&(Ct.cssHooks[t+e].set=R)}),Ct.fn.extend({css:function(t,e){return Ht(this,function(t,e,i){var n,o,s={},r=0;if(Array.isArray(e)){for(n=ue(t),o=e.length;o>r;r++)s[e[r]]=Ct.css(t,e[r],!1,n);return s}return void 0!==i?Ct.style(t,e,i):Ct.css(t,e)},t,e,arguments.length>1)}}),Ct.Tween=W,W.prototype={constructor:W,init:function(t,e,i,n,o,s){this.elem=t,this.prop=i,this.easing=o||Ct.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(Ct.cssNumber[i]?"":"px")},cur:function(){var t=W.propHooks[this.prop];return t&&t.get?t.get(this):W.propHooks._default.get(this)},run:function(t){var e,i=W.propHooks[this.prop];return this.options.duration?this.pos=e=Ct.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=Ct.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){Ct.fx.step[t.prop]?Ct.fx.step[t.prop](t):1!==t.elem.nodeType||!Ct.cssHooks[t.prop]&&null==t.elem.style[N(t.prop)]?t.elem[t.prop]=t.now:Ct.style(t.elem,t.prop,t.now+t.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Ct.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},Ct.fx=W.prototype.init,Ct.fx.step={};var we,ke,Ce=/^(?:toggle|show|hide)$/,Te=/queueHooks$/;Ct.Animation=Ct.extend(K,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return y(i.elem,t,Gt.exec(e),i),i}]},tweener:function(t,e){bt(t)?(e=t,t=["*"]):t=t.match(Lt);for(var i,n=0,o=t.length;o>n;n++)i=t[n],K.tweeners[i]=K.tweeners[i]||[],K.tweeners[i].unshift(e)},prefilters:[X],prefilter:function(t,e){e?K.prefilters.unshift(t):K.prefilters.push(t)}}),Ct.speed=function(t,e,i){var n=t&&"object"==typeof t?Ct.extend({},t):{complete:i||!i&&e||bt(t)&&t,duration:t,easing:i&&e||e&&!bt(e)&&e};return Ct.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in Ct.fx.speeds?n.duration=Ct.fx.speeds[n.duration]:n.duration=Ct.fx.speeds._default),(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){bt(n.old)&&n.old.call(this),n.queue&&Ct.dequeue(this,n.queue)},n},Ct.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Zt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var o=Ct.isEmptyObject(t),s=Ct.speed(e,i,n),r=function(){var e=K(this,Ct.extend({},t),s);(o||zt.get(this,"finish"))&&e.stop(!0)};return r.finish=r,o||s.queue===!1?this.each(r):this.queue(s.queue,r)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",s=Ct.timers,r=zt.get(this);if(o)r[o]&&r[o].stop&&n(r[o]);else for(o in r)r[o]&&r[o].stop&&Te.test(o)&&n(r[o]);for(o=s.length;o--;)s[o].elem!==this||null!=t&&s[o].queue!==t||(s[o].anim.stop(i),e=!1,s.splice(o,1));(e||!i)&&Ct.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=zt.get(this),n=i[t+"queue"],o=i[t+"queueHooks"],s=Ct.timers,r=n?n.length:0;for(i.finish=!0,Ct.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;r>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),Ct.each(["toggle","show","hide"],function(t,e){var i=Ct.fn[e];Ct.fn[e]=function(t,n,o){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(G(e,!0),t,n,o)}}),Ct.each({slideDown:G("show"),slideUp:G("hide"),slideToggle:G("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Ct.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),Ct.timers=[],Ct.fx.tick=function(){var t,e=0,i=Ct.timers;for(we=Date.now();e<i.length;e++)t=i[e],t()||i[e]!==t||i.splice(e--,1);i.length||Ct.fx.stop(),we=void 0},Ct.fx.timer=function(t){Ct.timers.push(t),Ct.fx.start()},Ct.fx.interval=13,Ct.fx.start=function(){ke||(ke=!0,Y())},Ct.fx.stop=function(){ke=null},Ct.fx.speeds={slow:600,fast:200,_default:400},Ct.fn.delay=function(e,i){return e=Ct.fx?Ct.fx.speeds[e]||e:e,i=i||"fx",this.queue(i,function(i,n){var o=t.setTimeout(i,e);n.stop=function(){t.clearTimeout(o)}})},function(){var t=xt.createElement("input"),e=xt.createElement("select"),i=e.appendChild(xt.createElement("option"));t.type="checkbox",yt.checkOn=""!==t.value,yt.optSelected=i.selected,t=xt.createElement("input"),t.value="t",t.type="radio",yt.radioValue="t"===t.value}();var Se,$e=Ct.expr.attrHandle;Ct.fn.extend({attr:function(t,e){return Ht(this,Ct.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Ct.removeAttr(this,t)})}}),Ct.extend({attr:function(t,e,i){var n,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return"undefined"==typeof t.getAttribute?Ct.prop(t,e,i):(1===s&&Ct.isXMLDoc(t)||(o=Ct.attrHooks[e.toLowerCase()]||(Ct.expr.match.bool.test(e)?Se:void 0)),void 0!==i?null===i?void Ct.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(n=o.get(t,e))?n:(n=Ct.find.attr(t,e),null==n?void 0:n))},attrHooks:{type:{set:function(t,e){if(!yt.radioValue&&"radio"===e&&s(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(Lt);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}),Se={set:function(t,e,i){return e===!1?Ct.removeAttr(t,i):t.setAttribute(i,i),i}},Ct.each(Ct.expr.match.bool.source.match(/\w+/g),function(t,e){var i=$e[e]||Ct.find.attr;$e[e]=function(t,e,n){var o,s,r=e.toLowerCase();return n||(s=$e[r],$e[r]=o,o=null!=i(t,e,n)?r:null,$e[r]=s),o}});var Me=/^(?:input|select|textarea|button)$/i,je=/^(?:a|area)$/i;Ct.fn.extend({prop:function(t,e){return Ht(this,Ct.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Ct.propFix[t]||t]})}}),Ct.extend({prop:function(t,e,i){var n,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&Ct.isXMLDoc(t)||(e=Ct.propFix[e]||e,o=Ct.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=Ct.find.attr(t,"tabindex");return e?parseInt(e,10):Me.test(t.nodeName)||je.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),yt.optSelected||(Ct.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),Ct.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ct.propFix[this.toLowerCase()]=this}),Ct.fn.extend({addClass:function(t){var e,i,n,o,s,r,a,l=0;if(bt(t))return this.each(function(e){Ct(this).addClass(t.call(this,e,J(this)))});if(e=tt(t),e.length)for(;i=this[l++];)if(o=J(i),n=1===i.nodeType&&" "+Z(o)+" "){for(r=0;s=e[r++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");a=Z(n),o!==a&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,n,o,s,r,a,l=0;if(bt(t))return this.each(function(e){Ct(this).removeClass(t.call(this,e,J(this)))});if(!arguments.length)return this.attr("class","");if(e=tt(t),e.length)for(;i=this[l++];)if(o=J(i),n=1===i.nodeType&&" "+Z(o)+" "){for(r=0;s=e[r++];)for(;n.indexOf(" "+s+" ")>-1;)n=n.replace(" "+s+" "," ");a=Z(n),o!==a&&i.setAttribute("class",a)}return this},toggleClass:function(t,e){var i=typeof t,n="string"===i||Array.isArray(t);return"boolean"==typeof e&&n?e?this.addClass(t):this.removeClass(t):bt(t)?this.each(function(i){Ct(this).toggleClass(t.call(this,i,J(this),e),e)}):this.each(function(){var e,o,s,r;if(n)for(o=0,s=Ct(this),r=tt(t);e=r[o++];)s.hasClass(e)?s.removeClass(e):s.addClass(e);else(void 0===t||"boolean"===i)&&(e=J(this),e&&zt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":zt.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+Z(J(i))+" ").indexOf(e)>-1)return!0;return!1}});var De=/\r/g;Ct.fn.extend({val:function(t){var e,i,n,o=this[0];{if(arguments.length)return n=bt(t),this.each(function(i){var o;1===this.nodeType&&(o=n?t.call(this,i,Ct(this).val()):t,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=Ct.map(o,function(t){return null==t?"":t+""})),e=Ct.valHooks[this.type]||Ct.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return e=Ct.valHooks[o.type]||Ct.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:(i=o.value,"string"==typeof i?i.replace(De,""):null==i?"":i)}}}),Ct.extend({valHooks:{option:{get:function(t){var e=Ct.find.attr(t,"value");return null!=e?e:Z(Ct.text(t))}},select:{get:function(t){var e,i,n,o=t.options,r=t.selectedIndex,a="select-one"===t.type,l=a?null:[],c=a?r+1:o.length;for(n=0>r?c:a?r:0;c>n;n++)if(i=o[n],(i.selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!s(i.parentNode,"optgroup"))){if(e=Ct(i).val(),a)return e;l.push(e)}return l},set:function(t,e){for(var i,n,o=t.options,s=Ct.makeArray(e),r=o.length;r--;)n=o[r],(n.selected=Ct.inArray(Ct.valHooks.option.get(n),s)>-1)&&(i=!0);return i||(t.selectedIndex=-1),s}}}}),Ct.each(["radio","checkbox"],function(){Ct.valHooks[this]={set:function(t,e){return Array.isArray(e)?t.checked=Ct.inArray(Ct(t).val(),e)>-1:void 0}},yt.checkOn||(Ct.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),yt.focusin="onfocusin"in t;var Ee=/^(?:focusinfocus|focusoutblur)$/,Ae=function(t){t.stopPropagation()};Ct.extend(Ct.event,{trigger:function(e,i,n,o){var s,r,a,l,c,d,h,u,p=[n||xt],f=mt.call(e,"type")?e.type:e,m=mt.call(e,"namespace")?e.namespace.split("."):[];if(r=u=a=n=n||xt,3!==n.nodeType&&8!==n.nodeType&&!Ee.test(f+Ct.event.triggered)&&(f.indexOf(".")>-1&&(m=f.split("."),f=m.shift(),m.sort()),c=f.indexOf(":")<0&&"on"+f,e=e[Ct.expando]?e:new Ct.Event(f,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:Ct.makeArray(i,[e]),h=Ct.event.special[f]||{},o||!h.trigger||h.trigger.apply(n,i)!==!1)){if(!o&&!h.noBubble&&!_t(n)){for(l=h.delegateType||f,Ee.test(l+f)||(r=r.parentNode);r;r=r.parentNode)p.push(r),a=r;a===(n.ownerDocument||xt)&&p.push(a.defaultView||a.parentWindow||t)}for(s=0;(r=p[s++])&&!e.isPropagationStopped();)u=r,e.type=s>1?l:h.bindType||f,d=(zt.get(r,"events")||Object.create(null))[e.type]&&zt.get(r,"handle"),d&&d.apply(r,i),d=c&&r[c],d&&d.apply&&Rt(r)&&(e.result=d.apply(r,i),e.result===!1&&e.preventDefault());return e.type=f,o||e.isDefaultPrevented()||h._default&&h._default.apply(p.pop(),i)!==!1||!Rt(n)||c&&bt(n[f])&&!_t(n)&&(a=n[c],a&&(n[c]=null),Ct.event.triggered=f,e.isPropagationStopped()&&u.addEventListener(f,Ae),n[f](),e.isPropagationStopped()&&u.removeEventListener(f,Ae),Ct.event.triggered=void 0,a&&(n[c]=a)),e.result}},simulate:function(t,e,i){var n=Ct.extend(new Ct.Event,i,{type:t,isSimulated:!0});Ct.event.trigger(n,null,e)}}),Ct.fn.extend({trigger:function(t,e){return this.each(function(){Ct.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];return i?Ct.event.trigger(t,e,i,!0):void 0}}),yt.focusin||Ct.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){Ct.event.simulate(e,t.target,Ct.event.fix(t))};Ct.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,o=zt.access(n,e);o||n.addEventListener(t,i,!0),zt.access(n,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=zt.access(n,e)-1;o?zt.access(n,e,o):(n.removeEventListener(t,i,!0),zt.remove(n,e))}}});var Pe=t.location,Oe={guid:Date.now()},Le=/\?/;Ct.parseXML=function(e){var i;if(!e||"string"!=typeof e)return null;try{i=(new t.DOMParser).parseFromString(e,"text/xml")}catch(n){i=void 0}return(!i||i.getElementsByTagName("parsererror").length)&&Ct.error("Invalid XML: "+e),i};var Ie=/\[\]$/,Fe=/\r?\n/g,He=/^(?:submit|button|image|reset|file)$/i,Be=/^(?:input|select|textarea|keygen)/i;Ct.param=function(t,e){var i,n=[],o=function(t,e){var i=bt(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!Ct.isPlainObject(t))Ct.each(t,function(){o(this.name,this.value)});else for(i in t)et(i,t[i],e,o);return n.join("&")},Ct.fn.extend({serialize:function(){return Ct.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Ct.prop(this,"elements");return t?Ct.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Ct(this).is(":disabled")&&Be.test(this.nodeName)&&!He.test(t)&&(this.checked||!te.test(t))}).map(function(t,e){var i=Ct(this).val();return null==i?null:Array.isArray(i)?Ct.map(i,function(t){return{name:e.name,value:t.replace(Fe,"\r\n")}}):{name:e.name,value:i.replace(Fe,"\r\n")}}).get()}});var Ne=/%20/g,Re=/#.*$/,ze=/([?&])_=[^&]*/,qe=/^(.*?):[ \t]*([^\r\n]*)$/gm,We=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ye=/^(?:GET|HEAD)$/,Ve=/^\/\//,Ge={},Ue={},Xe="*/".concat("*"),Qe=xt.createElement("a");Qe.href=Pe.href,Ct.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pe.href,type:"GET",isLocal:We.test(Pe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xe,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":JSON.parse,"text xml":Ct.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ot(ot(t,Ct.ajaxSettings),e):ot(Ct.ajaxSettings,t)},ajaxPrefilter:it(Ge),ajaxTransport:it(Ue),ajax:function(e,i){function n(e,i,n,a){var c,u,p,_,x,w=i;d||(d=!0,l&&t.clearTimeout(l),o=void 0,r=a||"",k.readyState=e>0?4:0,c=e>=200&&300>e||304===e,n&&(_=st(f,k,n)),!c&&Ct.inArray("script",f.dataTypes)>-1&&(f.converters["text script"]=function(){}),_=rt(f,_,k,c),c?(f.ifModified&&(x=k.getResponseHeader("Last-Modified"),x&&(Ct.lastModified[s]=x),x=k.getResponseHeader("etag"),x&&(Ct.etag[s]=x)),204===e||"HEAD"===f.type?w="nocontent":304===e?w="notmodified":(w=_.state,u=_.data,p=_.error,c=!p)):(p=w,(e||!w)&&(w="error",0>e&&(e=0))),k.status=e,k.statusText=(i||w)+"",c?v.resolveWith(m,[u,w,k]):v.rejectWith(m,[k,w,p]),k.statusCode(b),b=void 0,h&&g.trigger(c?"ajaxSuccess":"ajaxError",[k,f,c?u:p]),y.fireWith(m,[k,w]),h&&(g.trigger("ajaxComplete",[k,f]),--Ct.active||Ct.event.trigger("ajaxStop")))}"object"==typeof e&&(i=e,e=void 0),i=i||{};var o,s,r,a,l,c,d,h,u,p,f=Ct.ajaxSetup({},i),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?Ct(m):Ct.event,v=Ct.Deferred(),y=Ct.Callbacks("once memory"),b=f.statusCode||{},_={},x={},w="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(d){if(!a)for(a={};e=qe.exec(r);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return d?r:null},setRequestHeader:function(t,e){return null==d&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==d&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(d)k.always(t[k.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||w;return o&&o.abort(e),n(0,e),this}};if(v.promise(k),f.url=((e||f.url||Pe.href)+"").replace(Ve,Pe.protocol+"//"),
f.type=i.method||i.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Lt)||[""],null==f.crossDomain){c=xt.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Qe.protocol+"//"+Qe.host!=c.protocol+"//"+c.host}catch(C){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=Ct.param(f.data,f.traditional)),nt(Ge,f,i,k),d)return k;h=Ct.event&&f.global,h&&0===Ct.active++&&Ct.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ye.test(f.type),s=f.url.replace(Re,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ne,"+")):(p=f.url.slice(s.length),f.data&&(f.processData||"string"==typeof f.data)&&(s+=(Le.test(s)?"&":"?")+f.data,delete f.data),f.cache===!1&&(s=s.replace(ze,"$1"),p=(Le.test(s)?"&":"?")+"_="+Oe.guid++ +p),f.url=s+p),f.ifModified&&(Ct.lastModified[s]&&k.setRequestHeader("If-Modified-Since",Ct.lastModified[s]),Ct.etag[s]&&k.setRequestHeader("If-None-Match",Ct.etag[s])),(f.data&&f.hasContent&&f.contentType!==!1||i.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Xe+"; q=0.01":""):f.accepts["*"]);for(u in f.headers)k.setRequestHeader(u,f.headers[u]);if(f.beforeSend&&(f.beforeSend.call(m,k,f)===!1||d))return k.abort();if(w="abort",y.add(f.complete),k.done(f.success),k.fail(f.error),o=nt(Ue,f,i,k)){if(k.readyState=1,h&&g.trigger("ajaxSend",[k,f]),d)return k;f.async&&f.timeout>0&&(l=t.setTimeout(function(){k.abort("timeout")},f.timeout));try{d=!1,o.send(_,n)}catch(C){if(d)throw C;n(-1,C)}}else n(-1,"No Transport");return k},getJSON:function(t,e,i){return Ct.get(t,e,i,"json")},getScript:function(t,e){return Ct.get(t,void 0,e,"script")}}),Ct.each(["get","post"],function(t,e){Ct[e]=function(t,i,n,o){return bt(i)&&(o=o||n,n=i,i=void 0),Ct.ajax(Ct.extend({url:t,type:e,dataType:o,data:i,success:n},Ct.isPlainObject(t)&&t))}}),Ct.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),Ct._evalUrl=function(t,e,i){return Ct.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){Ct.globalEval(t,e,i)}})},Ct.fn.extend({wrapAll:function(t){var e;return this[0]&&(bt(t)&&(t=t.call(this[0])),e=Ct(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return bt(t)?this.each(function(e){Ct(this).wrapInner(t.call(this,e))}):this.each(function(){var e=Ct(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=bt(t);return this.each(function(i){Ct(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){Ct(this).replaceWith(this.childNodes)}),this}}),Ct.expr.pseudos.hidden=function(t){return!Ct.expr.pseudos.visible(t)},Ct.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},Ct.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(e){}};var Ke={0:200,1223:204},Ze=Ct.ajaxSettings.xhr();yt.cors=!!Ze&&"withCredentials"in Ze,yt.ajax=Ze=!!Ze,Ct.ajaxTransport(function(e){var i,n;return yt.cors||Ze&&!e.crossDomain?{send:function(o,s){var r,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)a[r]=e.xhrFields[r];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(r in o)a.setRequestHeader(r,o[r]);i=function(t){return function(){i&&(i=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Ke[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=i(),n=a.onerror=a.ontimeout=i("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){i&&n()})},i=i("abort");try{a.send(e.hasContent&&e.data||null)}catch(l){if(i)throw l}},abort:function(){i&&i()}}:void 0}),Ct.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),Ct.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return Ct.globalEval(t),t}}}),Ct.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Ct.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var e,i;return{send:function(n,o){e=Ct("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),xt.head.appendChild(e[0])},abort:function(){i&&i()}}}});var Je=[],ti=/(=)\?(?=&|$)|\?\?/;Ct.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||Ct.expando+"_"+Oe.guid++;return this[t]=!0,t}}),Ct.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=e.jsonp!==!1&&(ti.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ti.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(o=e.jsonpCallback=bt(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ti,"$1"+o):e.jsonp!==!1&&(e.url+=(Le.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||Ct.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?Ct(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Je.push(o)),r&&bt(s)&&s(r[0]),r=s=void 0}),"script"):void 0}),yt.createHTMLDocument=function(){var t=xt.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),Ct.parseHTML=function(t,e,i){if("string"!=typeof t)return[];"boolean"==typeof e&&(i=e,e=!1);var n,o,s;return e||(yt.createHTMLDocument?(e=xt.implementation.createHTMLDocument(""),n=e.createElement("base"),n.href=xt.location.href,e.head.appendChild(n)):e=xt),o=jt.exec(t),s=!i&&[],o?[e.createElement(o[1])]:(o=k([t],e,s),s&&s.length&&Ct(s).remove(),Ct.merge([],o.childNodes))},Ct.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return a>-1&&(n=Z(t.slice(a)),t=t.slice(0,a)),bt(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),r.length>0&&Ct.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){s=arguments,r.html(n?Ct("<div>").append(Ct.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},Ct.expr.pseudos.animated=function(t){return Ct.grep(Ct.timers,function(e){return t===e.elem}).length},Ct.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c,d=Ct.css(t,"position"),h=Ct(t),u={};"static"===d&&(t.style.position="relative"),a=h.offset(),s=Ct.css(t,"top"),l=Ct.css(t,"left"),c=("absolute"===d||"fixed"===d)&&(s+l).indexOf("auto")>-1,c?(n=h.position(),r=n.top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),bt(e)&&(e=e.call(t,i,Ct.extend({},a))),null!=e.top&&(u.top=e.top-a.top+r),null!=e.left&&(u.left=e.left-a.left+o),"using"in e?e.using.call(t,u):("number"==typeof u.top&&(u.top+="px"),"number"==typeof u.left&&(u.left+="px"),h.css(u))}},Ct.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Ct.offset.setOffset(this,t,e)});var e,i,n=this[0];if(n)return n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===Ct.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===Ct.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&(o=Ct(t).offset(),o.top+=Ct.css(t,"borderTopWidth",!0),o.left+=Ct.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-Ct.css(n,"marginTop",!0),left:e.left-o.left-Ct.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===Ct.css(t,"position");)t=t.offsetParent;return t||Xt})}}),Ct.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;Ct.fn[t]=function(n){return Ht(this,function(t,n,o){var s;return _t(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o?s?s[e]:t[n]:void(s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o)},t,n,arguments.length)}}),Ct.each(["top","left"],function(t,e){Ct.cssHooks[e]=H(yt.pixelPosition,function(t,i){return i?(i=F(t,e),he.test(i)?Ct(t).position()[e]+"px":i):void 0})}),Ct.each({Height:"height",Width:"width"},function(t,e){Ct.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){Ct.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(o===!0||s===!0?"margin":"border");return Ht(this,function(e,i,o){var s;return _t(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?Ct.css(e,i,a):Ct.style(e,i,o,a)},e,r?o:void 0,r)}})}),Ct.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Ct.fn[e]=function(t){return this.on(e,t)}}),Ct.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),Ct.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){Ct.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}});var ei=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Ct.proxy=function(t,e){var i,n,o;return"string"==typeof e&&(i=t[e],e=t,t=i),bt(t)?(n=ct.call(arguments,2),o=function(){return t.apply(e||this,n.concat(ct.call(arguments)))},o.guid=t.guid=t.guid||Ct.guid++,o):void 0},Ct.holdReady=function(t){t?Ct.readyWait++:Ct.ready(!0)},Ct.isArray=Array.isArray,Ct.parseJSON=JSON.parse,Ct.nodeName=s,Ct.isFunction=bt,Ct.isWindow=_t,Ct.camelCase=f,Ct.type=n,Ct.now=Date.now,Ct.isNumeric=function(t){var e=Ct.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},Ct.trim=function(t){return null==t?"":(t+"").replace(ei,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ct});var ii=t.jQuery,ni=t.$;return Ct.noConflict=function(e){return t.$===Ct&&(t.$=ni),e&&t.jQuery===Ct&&(t.jQuery=ii),Ct},"undefined"==typeof e&&(t.jQuery=t.$=Ct),Ct}),define("jquery-private",["jquery"],function(t){"use strict";return t.noConflict()}),define("component",["jquery"],function(t){"use strict";return{init:function(e){"undefined"==typeof e&&(e=t("[ data-component ]")),e.each(function(){var e=t(this),i=e.data("component");require(["../src/sublayouts/"+i+"/"+i],function(t){var i;void 0!==t&&(i=new t(e),i.init())})})}}}),define("helper",["jquery"],function(t){"use strict";return{init:function(e){"undefined"==typeof e&&(e=t("[ data-helper ]")),e.each(function(){var e=t(this),i=e.data("helper");require(["../src/sublayouts/_helpers/"+i+"/"+i],function(t){var i;void 0!==t&&(i=new t(e),i.init())})})}}}),define("breakpoint",["jquery"],function(t){"use strict";var e={};return e.init=function(){this.set(),t(window).on("resize orientationchange",t.proxy(this.set,this))},e.set=function(){var i=document.getElementsByTagName("html")[0],n=i.className.match(/breakpoint-([a-z]+)/),o=null===n?null:n[1],s=window.getComputedStyle?window.getComputedStyle(i,":after").getPropertyValue("content"):void 0,r=s?s.replace(/"/g,""):void 0,a=o;r&&r!==o&&(i.className=i.className.replace(/\s?breakpoint-[a-z]+/,""),i.className+=" breakpoint-"+r,o=r,t(e).trigger("change",[r,a]))},e}),define("lib/utils",["jquery"],function(t){"use strict";var e={};return e.isRTL=function(){return"rtl"===t("html").attr("dir")},e.isWindowsPhone=function(){return null!==navigator.userAgent.match(/IEMobile/i)},e.language=function(){return void 0===t("html").attr("lang")?"en":t("html").attr("lang")},e.breakpoint=function(){return(t("html").attr("class").match(/breakpoint-([a-z]+)/)||["","l"])[1]},e.canTransition=function(){return void 0!==document.body.style.transition},e.headerBarHeight=function(){return t('[ data-m12-bar="true"]').height()},e.fixedHeader=function(){return"true"===t('[ data-m12-bar="true"]').attr("data-m12-bar-fixed")},e.isTouchDevice=function(){return"ontouchstart"in document.documentElement},e.isDevice=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},e.parseFloatInput=function(t){return parseFloat(t.replace(/[^0-9.]/g,""),10)},e.uniqueID=function(){return"_"+Math.random().toString(36).substr(2,9)},e.isNumber=function(t){return"number"==typeof t&&isFinite(t)},e.getParameterByName=function(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e=new RegExp("[\\?&]"+t+"=([^&#]*)"),i=e.exec(location.search);return null===i?"":decodeURIComponent(i[1].replace(/\+/g," "))},e.percentageRound=function(t,e){var i;for(e=e||2,i=""+Math.round(t*Math.pow(10,e))/Math.pow(10,e),i.match(/\./)||(i+=".");i.match(/\.([0-9]*)$/)[1].length<e;)i+="0";return i+"%"},e.isMSIE=function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE");return e>0||navigator.userAgent.match(/Trident.*rv\:11\./)?!0:!1},e.isLessThanIE10=function(){var t=this.isMSIE()&&document.all&&void 0===window.matchMedia;return t},e.isLessThanIE9=function(){return this.isMSIE()&&void 0===document.addEventListener},e});var _slice=Array.prototype.slice;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define("parsley",["jquery"],e):t.parsley=e(t.jQuery)}(this,function(t){"use strict";function e(t,e){return t.parsleyAdaptedCallback||(t.parsleyAdaptedCallback=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift(this),t.apply(e||D,i)}),t.parsleyAdaptedCallback}function i(t){return 0===t.lastIndexOf(A,0)?t.substr(A.length):t}var n=1,o={},s={attr:function(t,e,i){var n,o,s,r=new RegExp("^"+e,"i");if("undefined"==typeof i)i={};else for(n in i)i.hasOwnProperty(n)&&delete i[n];if("undefined"==typeof t||"undefined"==typeof t[0])return i;for(s=t[0].attributes,n=s.length;n--;)o=s[n],o&&o.specified&&r.test(o.name)&&(i[this.camelize(o.name.slice(e.length))]=this.deserializeValue(o.value));return i},checkAttr:function(t,e,i){return t.is("["+e+i+"]")},setAttr:function(t,e,i,n){t[0].setAttribute(this.dasherize(e+i),String(n))},generateID:function(){return""+n++},deserializeValue:function(e){var i;try{return e?"true"==e||("false"==e?!1:"null"==e?null:isNaN(i=Number(e))?/^[\[\{]/.test(e)?t.parseJSON(e):e:i):e}catch(n){return e}},camelize:function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},dasherize:function(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){var t;window.console&&"function"==typeof window.console.warn&&(t=window.console).warn.apply(t,arguments)},warnOnce:function(t){o[t]||(o[t]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){o={}},trimString:function(t){return t.replace(/^\s+|\s+$/g,"")},objectCreate:Object.create||function(){var t=function(){};return function(e){if(arguments.length>1)throw Error("Second argument not supported");if("object"!=typeof e)throw TypeError("Argument must be an object");t.prototype=e;var i=new t;return t.prototype=null,i}}()},r=s,a={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(t){},errorsContainer:function(t){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"},l=function(){};l.prototype={asyncSupport:!0,actualizeOptions:function(){return r.attr(this.$element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(t){this.domOptions=r.objectCreate(this.parent.options),this.options=r.objectCreate(this.domOptions);for(var e in t)t.hasOwnProperty(e)&&(this.options[e]=t[e]);this.actualizeOptions()},_listeners:null,on:function(t,e){this._listeners=this._listeners||{};var i=this._listeners[t]=this._listeners[t]||[];return i.push(e),this},subscribe:function(e,i){t.listenTo(this,e.toLowerCase(),i)},off:function(t,e){var i=this._listeners&&this._listeners[t];if(i)if(e)for(var n=i.length;n--;)i[n]===e&&i.splice(n,1);else delete this._listeners[t];return this},unsubscribe:function(e,i){t.unsubscribeTo(this,e.toLowerCase())},trigger:function(t,e,i){e=e||this;var n,o=this._listeners&&this._listeners[t];if(o)for(var s=o.length;s--;)if(n=o[s].call(e,e,i),n===!1)return n;return this.parent?this.parent.trigger(t,e,i):!0},reset:function(){if("ParsleyForm"!==this.__class__)return this._trigger("reset");for(var t=0;t<this.fields.length;t++)this.fields[t]._trigger("reset");this._trigger("reset")},destroy:function(){if("ParsleyForm"!==this.__class__)return this.$element.removeData("Parsley"),this.$element.removeData("ParsleyFieldMultiple"),void this._trigger("destroy");for(var t=0;t<this.fields.length;t++)this.fields[t].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},asyncIsValid:function(t,e){return r.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:t,force:e})},_findRelated:function(){return this.options.multiple?this.parent.$element.find("["+this.options.namespace+'multiple="'+this.options.multiple+'"]'):this.$element}};var c={string:function(t){return t},integer:function(t){if(isNaN(t))throw'Requirement is not an integer: "'+t+'"';return parseInt(t,10)},number:function(t){if(isNaN(t))throw'Requirement is not a number: "'+t+'"';return parseFloat(t)},reference:function(e){var i=t(e);if(0===i.length)throw'No such reference: "'+e+'"';return i},"boolean":function(t){return"false"!==t},object:function(t){return r.deserializeValue(t)},regexp:function(t){var e="";return/^\/.*\/(?:[gimy]*)$/.test(t)?(e=t.replace(/.*\/([gimy]*)$/,"$1"),t=t.replace(new RegExp("^/(.*?)/"+e+"$"),"$1")):t="^"+t+"$",new RegExp(t,e)}},d=function(t,e){var i=t.match(/^\s*\[(.*)\]\s*$/);if(!i)throw'Requirement is not an array: "'+t+'"';var n=i[1].split(",").map(r.trimString);if(n.length!==e)throw"Requirement has "+n.length+" values when "+e+" are needed";return n},h=function(t,e){var i=c[t||"string"];if(!i)throw'Unknown requirement specification: "'+t+'"';return i(e)},u=function(t,e,i){var n=null,o={};for(var s in t)if(s){var r=i(s);"string"==typeof r&&(r=h(t[s],r)),o[s]=r}else n=h(t[s],e);return[n,o]},p=function(e){t.extend(!0,this,e)};p.prototype={validate:function(e,i){if(this.fn)return arguments.length>3&&(i=[].slice.call(arguments,1,-1)),this.fn.call(this,e,i);if(t.isArray(e)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}if(this.validateNumber)return isNaN(e)?!1:(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(e,i){if("string"!=typeof e)return t.isArray(e)?e:[e];var n=this.requirementType;if(t.isArray(n)){for(var o=d(e,n.length),s=0;s<o.length;s++)o[s]=h(n[s],o[s]);return o}return t.isPlainObject(n)?u(n,e,i):[h(n,e)]},requirementType:"string",priority:2};var f=function(t,e){this.__class__="ParsleyValidatorRegistry",this.locale="en",this.init(t||{},e||{})},m={email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$","i")};m.range=m.number;var g=function(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0};f.prototype={init:function(e,i){this.catalog=i,this.validators=t.extend({},this.validators);for(var n in e)this.addValidator(n,e[n].fn,e[n].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(t){if("undefined"==typeof this.catalog[t])throw new Error(t+" is not available in the catalog");return this.locale=t,this},addCatalog:function(t,e,i){return"object"==typeof e&&(this.catalog[t]=e),!0===i?this.setLocale(t):this},addMessage:function(t,e,i){return"undefined"==typeof this.catalog[t]&&(this.catalog[t]={}),this.catalog[t][e]=i,this},addMessages:function(t,e){for(var i in e)this.addMessage(t,i,e[i]);return this},addValidator:function(t,e,i){if(this.validators[t])r.warn('Validator "'+t+'" is already defined.');else if(a.hasOwnProperty(t))return void r.warn('"'+t+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)},updateValidator:function(t,e,i){return this.validators[t]?this._setValidator(this,arguments):(r.warn('Validator "'+t+'" is not already defined.'),this.addValidator.apply(this,arguments))},removeValidator:function(t){return this.validators[t]||r.warn('Validator "'+t+'" is not defined.'),delete this.validators[t],this},_setValidator:function(t,e,i){"object"!=typeof e&&(e={fn:e,priority:i}),e.validate||(e=new p(e)),this.validators[t]=e;for(var n in e.messages||{})this.addMessage(n,t,e.messages[n]);return this},getErrorMessage:function(t){var e;if("type"===t.name){var i=this.catalog[this.locale][t.name]||{};e=i[t.requirements]}else e=this.formatMessage(this.catalog[this.locale][t.name],t.requirements);return e||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(t,e){if("object"==typeof e){for(var i in e)t=this.formatMessage(t,e[i]);return t}return"string"==typeof t?t.replace(/%s/i,e):""},validators:{notblank:{validateString:function(t){return/\S/.test(t)},priority:2},required:{validateMultiple:function(t){return t.length>0},validateString:function(t){return/\S/.test(t)},priority:512},type:{validateString:function(t,e){var i=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],n=i.step,o=void 0===n?"1":n,s=i.base,r=void 0===s?0:s,a=m[e];if(!a)throw new Error("validator type `"+e+"` is not supported");if(!a.test(t))return!1;if("number"===e&&!/^any$/i.test(o||"")){var l=Number(t),c=Math.pow(10,Math.max(g(o),g(r)));if((l*c-r*c)%(o*c)!=0)return!1}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function(t,e){return e.test(t)},requirementType:"regexp",priority:64},minlength:{validateString:function(t,e){return t.length>=e},requirementType:"integer",priority:30},maxlength:{validateString:function(t,e){return t.length<=e},requirementType:"integer",priority:30},length:{validateString:function(t,e,i){return t.length>=e&&t.length<=i},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(t,e){return t.length>=e},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(t,e){return t.length<=e},requirementType:"integer",priority:30},check:{validateMultiple:function(t,e,i){return t.length>=e&&t.length<=i},requirementType:["integer","integer"],priority:30},min:{validateNumber:function(t,e){return t>=e},requirementType:"number",priority:30},max:{validateNumber:function(t,e){return e>=t},requirementType:"number",priority:30},range:{validateNumber:function(t,e,i){return t>=e&&i>=t},requirementType:["number","number"],priority:30},equalto:{validateString:function(e,i){var n=t(i);return n.length?e===n.val():e===i},priority:256}}};var v=function(t){this.__class__="ParsleyUI"};v.prototype={listen:function(){var t=this;return window.Parsley.on("form:init",function(e){t.setupForm(e)}).on("field:init",function(e){t.setupField(e)}).on("field:validated",function(e){t.reflow(e)}).on("form:validated",function(e){t.focus(e)}).on("field:reset",function(e){t.reset(e)}).on("form:destroy",function(e){t.destroy(e)}).on("field:destroy",function(e){t.destroy(e)}),this},reflow:function(t){if("undefined"!=typeof t._ui&&!1!==t._ui.active){var e=this._diff(t.validationResult,t._ui.lastValidationResult);t._ui.lastValidationResult=t.validationResult,this.manageStatusClass(t),this.manageErrorsMessages(t,e),this.actualizeTriggers(t),(e.kept.length||e.added.length)&&!0!==t._ui.failedOnce&&this.manageFailingFieldTrigger(t)}},getErrorsMessages:function(t){if(!0===t.validationResult)return[];for(var e=[],i=0;i<t.validationResult.length;i++)e.push(t.validationResult[i].errorMessage||this._getErrorMessage(t,t.validationResult[i].assert));return e},manageStatusClass:function(t){t.hasConstraints()&&t.needsValidation()&&!0===t.validationResult?this._successClass(t):t.validationResult.length>0?this._errorClass(t):this._resetClass(t)},manageErrorsMessages:function(e,i){if("undefined"==typeof e.options.errorsMessagesDisabled){if("undefined"!=typeof e.options.errorMessage)return i.added.length||i.kept.length?(this._insertErrorWrapper(e),0===e._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&e._ui.$errorsWrapper.append(t(e.options.errorTemplate).addClass("parsley-custom-error-message")),e._ui.$errorsWrapper.addClass("filled").find(".parsley-custom-error-message").html(e.options.errorMessage)):e._ui.$errorsWrapper.removeClass("filled").find(".parsley-custom-error-message").remove();for(var n=0;n<i.removed.length;n++)this.removeError(e,i.removed[n].assert.name,!0);for(n=0;n<i.added.length;n++)this.addError(e,i.added[n].assert.name,i.added[n].errorMessage,i.added[n].assert,!0);for(n=0;n<i.kept.length;n++)this.updateError(e,i.kept[n].assert.name,i.kept[n].errorMessage,i.kept[n].assert,!0)}},addError:function(e,i,n,o,s){this._insertErrorWrapper(e),e._ui.$errorsWrapper.addClass("filled").append(t(e.options.errorTemplate).addClass("parsley-"+i).html(n||this._getErrorMessage(e,o))),!0!==s&&this._errorClass(e)},updateError:function(t,e,i,n,o){t._ui.$errorsWrapper.addClass("filled").find(".parsley-"+e).html(i||this._getErrorMessage(t,n)),!0!==o&&this._errorClass(t)},removeError:function(t,e,i){t._ui.$errorsWrapper.removeClass("filled").find(".parsley-"+e).remove(),!0!==i&&this.manageStatusClass(t)},focus:function(t){if(t._focusedField=null,!0===t.validationResult||"none"===t.options.focus)return null;for(var e=0;e<t.fields.length;e++){var i=t.fields[e];if(!0!==i.validationResult&&i.validationResult.length>0&&"undefined"==typeof i.options.noFocus&&(t._focusedField=i.$element,"first"===t.options.focus))break}return null===t._focusedField?null:t._focusedField.focus()},_getErrorMessage:function(t,e){var i=e.name+"Message";return"undefined"!=typeof t.options[i]?window.Parsley.formatMessage(t.options[i],e.requirements):window.Parsley.getErrorMessage(e)},_diff:function(t,e,i){for(var n=[],o=[],s=0;s<t.length;s++){for(var r=!1,a=0;a<e.length;a++)if(t[s].assert.name===e[a].assert.name){r=!0;break}r?o.push(t[s]):n.push(t[s])}return{kept:o,added:n,removed:i?[]:this._diff(e,t,!0).added}},setupForm:function(t){t.$element.on("submit.Parsley",function(e){t.onSubmitValidate(e)}),t.$element.on("click.Parsley",'input[type="submit"], button[type="submit"]',function(e){t.onSubmitButton(e)}),!1!==t.options.uiEnabled&&t.$element.attr("novalidate","")},setupField:function(e){var i={active:!1};!1!==e.options.uiEnabled&&(i.active=!0,e.$element.attr(e.options.namespace+"id",e.__id__),i.$errorClassHandler=this._manageClassHandler(e),i.errorsWrapperId="parsley-id-"+(e.options.multiple?"multiple-"+e.options.multiple:e.__id__),i.$errorsWrapper=t(e.options.errorsWrapper).attr("id",i.errorsWrapperId),i.lastValidationResult=[],i.validationInformationVisible=!1,e._ui=i,this.actualizeTriggers(e))},_manageClassHandler:function(e){if("string"==typeof e.options.classHandler&&t(e.options.classHandler).length)return t(e.options.classHandler);var i=e.options.classHandler(e);return"undefined"!=typeof i&&i.length?i:!e.options.multiple||e.$element.is("select")?e.$element:e.$element.parent()},_insertErrorWrapper:function(e){var i;if(0!==e._ui.$errorsWrapper.parent().length)return e._ui.$errorsWrapper.parent();if("string"==typeof e.options.errorsContainer){if(t(e.options.errorsContainer).length)return t(e.options.errorsContainer).append(e._ui.$errorsWrapper);r.warn("The errors container `"+e.options.errorsContainer+"` does not exist in DOM")}else"function"==typeof e.options.errorsContainer&&(i=e.options.errorsContainer(e));if("undefined"!=typeof i&&i.length)return i.append(e._ui.$errorsWrapper);var n=e.$element;return e.options.multiple&&(n=n.parent()),n.after(e._ui.$errorsWrapper)},actualizeTriggers:function(t){var e=this,i=t._findRelated();if(i.off(".Parsley"),!1!==t.options.trigger){var n=t.options.trigger.replace(/^\s+/g,"").replace(/\s+$/g,"");""!==n&&i.on(n.split(" ").join(".Parsley ")+".Parsley",function(i){e.eventValidate(t,i)})}},eventValidate:function(t,e){/key/.test(e.type)&&!t._ui.validationInformationVisible&&t.getValue().length<=t.options.validationThreshold||t.validate()},manageFailingFieldTrigger:function(e){return e._ui.failedOnce=!0,e.options.multiple&&e._findRelated().each(function(){/change/i.test(t(this).parsley().options.trigger||"")||t(this).on("change.ParsleyFailedOnce",function(){e.validate()})}),e.$element.is("select")&&!/change/i.test(e.options.trigger||"")?e.$element.on("change.ParsleyFailedOnce",function(){e.validate()}):/keyup/i.test(e.options.trigger||"")?void 0:e.$element.on("keyup.ParsleyFailedOnce",function(){e.validate()})},reset:function(t){this.actualizeTriggers(t),t.$element.off(".ParsleyFailedOnce"),"undefined"!=typeof t._ui&&"ParsleyForm"!==t.__class__&&(t._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(t),t._ui.lastValidationResult=[],t._ui.validationInformationVisible=!1,t._ui.failedOnce=!1)},destroy:function(t){this.reset(t),"ParsleyForm"!==t.__class__&&("undefined"!=typeof t._ui&&t._ui.$errorsWrapper.remove(),
delete t._ui)},_successClass:function(t){t._ui.validationInformationVisible=!0,t._ui.$errorClassHandler.removeClass(t.options.errorClass).addClass(t.options.successClass)},_errorClass:function(t){t._ui.validationInformationVisible=!0,t._ui.$errorClassHandler.removeClass(t.options.successClass).addClass(t.options.errorClass)},_resetClass:function(t){t._ui.$errorClassHandler.removeClass(t.options.successClass).removeClass(t.options.errorClass)}};var y=function(e,i,n){this.__class__="ParsleyForm",this.__id__=r.generateID(),this.$element=t(e),this.domOptions=i,this.options=n,this.parent=window.Parsley,this.fields=[],this.validationResult=null},b={pending:null,resolved:!0,rejected:!1};y.prototype={onSubmitValidate:function(t){var e=this;return!0!==t.parsley?(this._$submitSource=this._$submitSource||this.$element.find('input[type="submit"], button[type="submit"]').first(),this._$submitSource.is("[formnovalidate]")?void(this._$submitSource=null):(t.stopImmediatePropagation(),t.preventDefault(),this.whenValidate({event:t}).done(function(){e._submit()}).always(function(){e._$submitSource=null}),this)):void 0},onSubmitButton:function(e){this._$submitSource=t(e.target)},_submit:function(){!1!==this._trigger("submit")&&(this.$element.find(".parsley_synthetic_submit_button").remove(),this._$submitSource&&t('<input class="parsley_synthetic_submit_button" type="hidden">').attr("name",this._$submitSource.attr("name")).attr("value",this._$submitSource.attr("value")).appendTo(this.$element),this.$element.trigger(t.extend(t.Event("submit"),{parsley:!0})))},validate:function(e){if(arguments.length>=1&&!t.isPlainObject(e)){r.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated.");var i=_slice.call(arguments),n=i[0],o=i[1],s=i[2];e={group:n,force:o,event:s}}return b[this.whenValidate(e).state()]},whenValidate:function(){var e=this,i=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=i.group,o=i.force,s=i.event;this.submitEvent=s,s&&(this.submitEvent.preventDefault=function(){r.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),e.validationResult=!1}),this.validationResult=!0,this._trigger("validate"),this._refreshFields();var a=this._withoutReactualizingFormOptions(function(){return t.map(e.fields,function(t){return t.whenValidate({force:o,group:n})})}),l=function(){var i=t.Deferred();return!1===e.validationResult&&i.reject(),i.resolve().promise()};return t.when.apply(t,_toConsumableArray(a)).done(function(){e._trigger("success")}).fail(function(){e.validationResult=!1,e._trigger("error")}).always(function(){e._trigger("validated")}).pipe(l,l)},isValid:function(e){if(arguments.length>=1&&!t.isPlainObject(e)){r.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated.");var i=_slice.call(arguments),n=i[0],o=i[1];e={group:n,force:o}}return b[this.whenValid(e).state()]},whenValid:function(){var e=this,i=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=i.group,o=i.force;this._refreshFields();var s=this._withoutReactualizingFormOptions(function(){return t.map(e.fields,function(t){return t.whenValid({group:n,force:o})})});return t.when.apply(t,_toConsumableArray(s))},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var e=this,i=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){e.$element.find(e.options.inputs).not(e.options.excluded).each(function(t,i){var n=new window.Parsley.Factory(i,{},e);"ParsleyField"!==n.__class__&&"ParsleyFieldMultiple"!==n.__class__||!0===n.options.excluded||"undefined"==typeof e.fieldsMappedById[n.__class__+"-"+n.__id__]&&(e.fieldsMappedById[n.__class__+"-"+n.__id__]=n,e.fields.push(n))}),t(i).not(e.fields).each(function(t,e){e._trigger("reset")})}),this},_withoutReactualizingFormOptions:function(t){var e=this.actualizeOptions;this.actualizeOptions=function(){return this};var i=t();return this.actualizeOptions=e,i},_trigger:function(t){return this.trigger("form:"+t)}};var _=function(e,i,n,o,s){if(!/ParsleyField/.test(e.__class__))throw new Error("ParsleyField or ParsleyFieldMultiple instance expected");var r=window.Parsley._validatorRegistry.validators[i],a=new p(r);t.extend(this,{validator:a,name:i,requirements:n,priority:o||e.options[i+"Priority"]||a.priority,isDomConstraint:!0===s}),this._parseRequirements(e.options)},x=function(t){var e=t[0].toUpperCase();return e+t.slice(1)};_.prototype={validate:function(t,e){var i=this.requirementList.slice(0);return i.unshift(t),i.push(e),this.validator.validate.apply(this.validator,i)},_parseRequirements:function(t){var e=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(i){return t[e.name+x(i)]})}};var w=function(e,i,n,o){this.__class__="ParsleyField",this.__id__=r.generateID(),this.$element=t(e),"undefined"!=typeof o&&(this.parent=o),this.options=n,this.domOptions=i,this.constraints=[],this.constraintsByName={},this.validationResult=[],this._bindConstraints()},k={pending:null,resolved:!0,rejected:!1};w.prototype={validate:function(e){arguments.length>=1&&!t.isPlainObject(e)&&(r.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),e={options:e});var i=this.whenValidate(e);if(!i)return!0;switch(i.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],i=e.force,n=e.group;return this.refreshConstraints(),!n||this._isInGroup(n)?(this.value=this.getValue(),this._trigger("validate"),this.whenValid({force:i,value:this.value,_refreshed:!0}).done(function(){t._trigger("success")}).fail(function(){t._trigger("error")}).always(function(){t._trigger("validated")})):void 0},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(t){return"undefined"==typeof t&&(t=this.getValue()),t.length||this._isRequired()||"undefined"!=typeof this.options.validateIfEmpty?!0:!1},_isInGroup:function(e){return t.isArray(this.options.group)?-1!==t.inArray(e,this.options.group):this.options.group===e},isValid:function(e){if(arguments.length>=1&&!t.isPlainObject(e)){r.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated.");var i=_slice.call(arguments),n=i[0],o=i[1];e={force:n,value:o}}var s=this.whenValid(e);return s?k[s.state()]:!0},whenValid:function(){var e=this,i=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=i.force,o=void 0===n?!1:n,s=i.value,r=i.group,a=i._refreshed;if(a||this.refreshConstraints(),!r||this._isInGroup(r)){if(this.validationResult=!0,!this.hasConstraints())return t.when();if(("undefined"==typeof s||null===s)&&(s=this.getValue()),!this.needsValidation(s)&&!0!==o)return t.when();var l=this._getGroupedConstraints(),c=[];return t.each(l,function(i,n){var o=t.when.apply(t,_toConsumableArray(t.map(n,function(t){return e._validateConstraint(s,t)})));return c.push(o),"rejected"===o.state()?!1:void 0}),t.when.apply(t,c)}},_validateConstraint:function(e,i){var n=this,o=i.validate(e,this);return!1===o&&(o=t.Deferred().reject()),t.when(o).fail(function(t){!0===n.validationResult&&(n.validationResult=[]),n.validationResult.push({assert:i,errorMessage:"string"==typeof t&&t})})},getValue:function(){var t;return t="function"==typeof this.options.value?this.options.value(this):"undefined"!=typeof this.options.value?this.options.value:this.$element.val(),"undefined"==typeof t||null===t?"":this._handleWhitespace(t)},refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},addConstraint:function(t,e,i,n){if(window.Parsley._validatorRegistry.validators[t]){var o=new _(this,t,e,i,n);"undefined"!==this.constraintsByName[o.name]&&this.removeConstraint(o.name),this.constraints.push(o),this.constraintsByName[o.name]=o}return this},removeConstraint:function(t){for(var e=0;e<this.constraints.length;e++)if(t===this.constraints[e].name){this.constraints.splice(e,1);break}return delete this.constraintsByName[t],this},updateConstraint:function(t,e,i){return this.removeConstraint(t).addConstraint(t,e,i)},_bindConstraints:function(){for(var t=[],e={},i=0;i<this.constraints.length;i++)!1===this.constraints[i].isDomConstraint&&(t.push(this.constraints[i]),e[this.constraints[i].name]=this.constraints[i]);this.constraints=t,this.constraintsByName=e;for(var n in this.options)this.addConstraint(n,this.options[n],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){(this.$element.hasClass("required")||this.$element.attr("required"))&&this.addConstraint("required",!0,void 0,!0),"string"==typeof this.$element.attr("pattern")&&this.addConstraint("pattern",this.$element.attr("pattern"),void 0,!0),"undefined"!=typeof this.$element.attr("min")&&"undefined"!=typeof this.$element.attr("max")?this.addConstraint("range",[this.$element.attr("min"),this.$element.attr("max")],void 0,!0):"undefined"!=typeof this.$element.attr("min")?this.addConstraint("min",this.$element.attr("min"),void 0,!0):"undefined"!=typeof this.$element.attr("max")&&this.addConstraint("max",this.$element.attr("max"),void 0,!0),"undefined"!=typeof this.$element.attr("minlength")&&"undefined"!=typeof this.$element.attr("maxlength")?this.addConstraint("length",[this.$element.attr("minlength"),this.$element.attr("maxlength")],void 0,!0):"undefined"!=typeof this.$element.attr("minlength")?this.addConstraint("minlength",this.$element.attr("minlength"),void 0,!0):"undefined"!=typeof this.$element.attr("maxlength")&&this.addConstraint("maxlength",this.$element.attr("maxlength"),void 0,!0);var t=this.$element.attr("type");return"undefined"==typeof t?this:"number"===t?this.addConstraint("type",["number",{step:this.$element.attr("step"),base:this.$element.attr("min")||this.$element.attr("value")}],void 0,!0):/^(email|url|range)$/i.test(t)?this.addConstraint("type",t,void 0,!0):this},_isRequired:function(){return"undefined"==typeof this.constraintsByName.required?!1:!1!==this.constraintsByName.required.requirements},_trigger:function(t){return this.trigger("field:"+t)},_handleWhitespace:function(t){return!0===this.options.trimValue&&r.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(t=t.replace(/\s{2,}/g," ")),("trim"===this.options.whitespace||"squish"===this.options.whitespace||!0===this.options.trimValue)&&(t=r.trimString(t)),t},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var t=[],e={},i=0;i<this.constraints.length;i++){var n=this.constraints[i].priority;e[n]||t.push(e[n]=[]),e[n].push(this.constraints[i])}return t.sort(function(t,e){return e[0].priority-t[0].priority}),t}};var C=w,T=function(){this.__class__="ParsleyFieldMultiple"};T.prototype={addElement:function(t){return this.$elements.push(t),this},refreshConstraints:function(){var e;if(this.constraints=[],this.$element.is("select"))return this.actualizeOptions()._bindConstraints(),this;for(var i=0;i<this.$elements.length;i++)if(t("html").has(this.$elements[i]).length){e=this.$elements[i].data("ParsleyFieldMultiple").refreshConstraints().constraints;for(var n=0;n<e.length;n++)this.addConstraint(e[n].name,e[n].requirements,e[n].priority,e[n].isDomConstraint)}else this.$elements.splice(i,1);return this},getValue:function(){if("function"==typeof this.options.value)value=this.options.value(this);else if("undefined"!=typeof this.options.value)return this.options.value;if(this.$element.is("input[type=radio]"))return this._findRelated().filter(":checked").val()||"";if(this.$element.is("input[type=checkbox]")){var e=[];return this._findRelated().filter(":checked").each(function(){e.push(t(this).val())}),e}return this.$element.is("select")&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}};var S=function(e,i,n){this.$element=t(e);var o=this.$element.data("Parsley");if(o)return"undefined"!=typeof n&&o.parent===window.Parsley&&(o.parent=n,o._resetOptions(o.options)),o;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if("undefined"!=typeof n&&"ParsleyForm"!==n.__class__)throw new Error("Parent instance must be a ParsleyForm instance");return this.parent=n||window.Parsley,this.init(i)};S.prototype={init:function(t){return this.__class__="Parsley",this.__version__="@@version",this.__id__=r.generateID(),this._resetOptions(t),this.$element.is("form")||r.checkAttr(this.$element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){return this.$element.is("input[type=radio], input[type=checkbox]")||this.$element.is("select")&&"undefined"!=typeof this.$element.attr("multiple")},handleMultiple:function(){var e,i,n=this;if(this.options.multiple||("undefined"!=typeof this.$element.attr("name")&&this.$element.attr("name").length?this.options.multiple=e=this.$element.attr("name"):"undefined"!=typeof this.$element.attr("id")&&this.$element.attr("id").length&&(this.options.multiple=this.$element.attr("id"))),this.$element.is("select")&&"undefined"!=typeof this.$element.attr("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return r.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),"undefined"!=typeof e&&t('input[name="'+e+'"]').each(function(e,i){t(i).is("input[type=radio], input[type=checkbox]")&&t(i).attr(n.options.namespace+"multiple",n.options.multiple)});for(var o=this._findRelated(),s=0;s<o.length;s++)if(i=t(o.get(s)).data("Parsley"),"undefined"!=typeof i){this.$element.data("ParsleyFieldMultiple")||i.addElement(this.$element);break}return this.bind("parsleyField",!0),i||this.bind("parsleyFieldMultiple")},bind:function(e,i){var n;switch(e){case"parsleyForm":n=t.extend(new y(this.$element,this.domOptions,this.options),window.ParsleyExtend)._bindFields();break;case"parsleyField":n=t.extend(new C(this.$element,this.domOptions,this.options,this.parent),window.ParsleyExtend);break;case"parsleyFieldMultiple":n=t.extend(new C(this.$element,this.domOptions,this.options,this.parent),new T,window.ParsleyExtend)._init();break;default:throw new Error(e+"is not a supported Parsley type")}return this.options.multiple&&r.setAttr(this.$element,this.options.namespace,"multiple",this.options.multiple),"undefined"!=typeof i?(this.$element.data("ParsleyFieldMultiple",n),n):(this.$element.data("Parsley",n),n._trigger("init"),n)}};var $=t.fn.jquery.split(".");if(parseInt($[0])<=1&&parseInt($[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";$.forEach||r.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var M=t.extend(new l,{$element:t(document),actualizeOptions:null,_resetOptions:null,Factory:S,version:"@@version"});t.extend(C.prototype,l.prototype),t.extend(y.prototype,l.prototype),t.extend(S.prototype,l.prototype),t.fn.parsley=t.fn.psly=function(e){if(this.length>1){var i=[];return this.each(function(){i.push(t(this).parsley(e))}),i}return t(this).length?new S(this,e):void r.warn("You must bind Parsley on an existing element.")},"undefined"==typeof window.ParsleyExtend&&(window.ParsleyExtend={}),M.options=t.extend(r.objectCreate(a),window.ParsleyConfig),window.ParsleyConfig=M.options,window.Parsley=window.psly=M,window.ParsleyUtils=r;var j=window.Parsley._validatorRegistry=new f(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},t.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateValidator removeValidator".split(" "),function(e,i){window.Parsley[i]=t.proxy(j,i),window.ParsleyValidator[i]=function(){var t;return r.warnOnce("Accessing the method '"+i+"' through ParsleyValidator is deprecated. Simply call 'window.Parsley."+i+"(...)'"),(t=window.Parsley)[i].apply(t,arguments)}}),window.ParsleyUI="function"==typeof window.ParsleyConfig.ParsleyUI?(new window.ParsleyConfig.ParsleyUI).listen():(new v).listen(),!1!==window.ParsleyConfig.autoBind&&t(function(){t("[data-parsley-validate]").length&&t("[data-parsley-validate]").parsley()});var D=t({}),E=function(){r.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")},A="parsley:";t.listen=function(t,n){var o;if(E(),"object"==typeof arguments[1]&&"function"==typeof arguments[2]&&(o=arguments[1],n=arguments[2]),"function"!=typeof n)throw new Error("Wrong parameters");window.Parsley.on(i(t),e(n,o))},t.listenTo=function(t,n,o){if(E(),!(t instanceof C||t instanceof y))throw new Error("Must give Parsley instance");if("string"!=typeof n||"function"!=typeof o)throw new Error("Wrong parameters");t.on(i(n),e(o))},t.unsubscribe=function(t,e){if(E(),"string"!=typeof t||"function"!=typeof e)throw new Error("Wrong arguments");window.Parsley.off(i(t),e.parsleyAdaptedCallback)},t.unsubscribeTo=function(t,e){if(E(),!(t instanceof C||t instanceof y))throw new Error("Must give Parsley instance");t.off(i(e))},t.unsubscribeAll=function(e){E(),window.Parsley.off(i(e)),t("form,input,textarea,select").each(function(){var n=t(this).data("Parsley");n&&n.off(i(e))})},t.emit=function(t,e){var n;E();var o=e instanceof C||e instanceof y,s=Array.prototype.slice.call(arguments,o?2:1);s.unshift(i(t)),o||(e=window.Parsley),(n=e).trigger.apply(n,_toConsumableArray(s))},t.extend(!0,M,{asyncValidators:{"default":{fn:function(t){return t.status>=200&&t.status<300},url:!1},reverse:{fn:function(t){return t.status<200||t.status>=300},url:!1}},addAsyncValidator:function(t,e,i,n){return M.asyncValidators[t]={fn:e,url:i||!1,options:n||{}},this}}),M.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(e,i,n,o){var s,r,a={},l=n.validator||(!0===n.reverse?"reverse":"default");if("undefined"==typeof M.asyncValidators[l])throw new Error("Calling an undefined async validator: `"+l+"`");i=M.asyncValidators[l].url||i,i.indexOf("{value}")>-1?i=i.replace("{value}",encodeURIComponent(e)):a[o.$element.attr("name")||o.$element.attr("id")]=e;var c=t.extend(!0,n.options||{},M.asyncValidators[l].options);s=t.extend(!0,{},{url:i,data:a,type:"GET"},c),o.trigger("field:ajaxoptions",o,s),r=t.param(s),"undefined"==typeof M._remoteCache&&(M._remoteCache={});var d=M._remoteCache[r]=M._remoteCache[r]||t.ajax(s),h=function(){var e=M.asyncValidators[l].fn.call(o,d,i,n);return e||(e=t.Deferred().reject()),t.when(e)};return d.then(h,h)},priority:-1}),M.on("form:submit",function(){M._remoteCache={}}),window.ParsleyExtend.addAsyncValidator=function(){return ParsleyUtils.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),M.addAsyncValidator.apply(M,arguments)},M.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same."}),M.setLocale("en");var P=M;return P}),define("form-validation",["jquery","parsley"],function(t){"use strict";function e(t,e){var i="",n="";for(var o in t)if(24>=o){var s=t[o],r=n+""+i+s;r<parseInt(e)?i+=""+s:(n=r%e,0==n&&(n=""),i="")}return n+=""+i,""==n&&(n=0),n}var i,n=[],o="[ data-parsley-bpn ], [ data-parsley-twonum ], [ data-parsley-mobile_number ], [ data-parsley-mobilenumber ], [ data-parsley-telephone_number ], [ data-parsley-verification_code ], [ data-parsley-account_number ], [ data-parsley-max_number ], [ data-parsley-maxnumber ], [ data-parsley-account_premise_number ], [ data-parsley-premise_number ], [ data-parsley-pobox ], [ data-parsley-grossfloorarea ], [ data-parsley-iban ], [ data-iban_confirm ], [ data-parsley-selectediban ], [ data-iban_confirm ], [ data-parsley-notification_number ], [ data-input-numbers ]",s="[ data-parsley-currency ], [ data-parsley-contract_value ], [ data-parsley-contract-value ]";t("[ data-parsley-iban ], [ data-parsley-selectediban ], [ data-iban_confirm ]").on("paste",function(t){t.preventDefault(),t.stopImmediatePropagation()});var r,a=function(){var i="form-field__input--error",n=".form-field__input-wrapper",o="form-field__input-wrapper--error",s="form-field__input-wrapper--validated";window.Parsley.addValidator("username",{requirementType:"string",validateString:function(t){var e=new RegExp(/[^a-zA-Z0-9.@]/);return t.toString().length>=6&&t.toString().length<=75&&!e.test(t)}}),window.Parsley.addValidator("dewausername",{requirementType:"string",validateString:function(t){var e=new RegExp(/[^a-zA-Z0-9.]/);return t.toString().length>=6&&t.toString().length<=20&&!e.test(t)}}),window.Parsley.addValidator("bpn",{requirementType:"integer",validateNumber:function(t){return 8===t.toString().length}}),window.Parsley.addValidator("twonum",{requirementType:"integer",validateNumber:function(t){return 10===t.toString().length||8===t.toString().length}}),window.Parsley.addValidator("estimate_number",{requirementType:"string",validateString:function(t){return 9===t.toString().length}}),window.Parsley.addValidator("doc_number",{requirementType:"string",validateString:function(t){var e=new RegExp(/[^a-zA-Z0-9]/);return 35===t.toString().length&&!e.test(t)}}),window.Parsley.addValidator("account_number",{requirementType:"string",validateString:function(t){return 10===t.toString().length}}),window.Parsley.addValidator("account_premise_number",{requirementType:"string",validateString:function(t){return t.toString().length>=9&&t.toString().length<=10}}),window.Parsley.addValidator("premise_number",{requirementType:"string",validateString:function(t){return 9===t.toString().length}}),window.Parsley.addValidator("notification_number",{requirementType:"string",validateString:function(t){return 9===t.toString().length}}),window.Parsley.addValidator("project_generation_subject",{requirementType:"string",validateString:function(t){return t.toString().length>0&&t.toString().length<=125}}),window.Parsley.addValidator("contract_value",{requirementType:"integer",validateString:function(t){return 999999999>=t&&t>0}}),window.Parsley.addValidator("contract-value",{requirementType:"integer",validateString:function(t){return 999999999>=t&&t>0}}),window.Parsley.addValidator("pobox",{requirementType:"integer",validateString:function(t){var e=t.toString().length;return 6>=e}}),window.Parsley.addValidator("grossfloorarea",{requirementType:"integer",validateString:function(t){var e=t.toString().length;return 6>=e}}),window.Parsley.addValidator("verification_code",{requirementType:"string",validateString:function(t){var e=new RegExp(/[^0-9]/);return 6===t.toString().length&&!e.test(t)}}),window.Parsley.addValidator("emiratesid",{requirementType:"integer",validateNumber:function(t){var e=null!==t.toString().match(/^(?:784)\d{12}$/);return 15===t.toString().length&&e}}),window.Parsley.addValidator("website",{requirementType:"string",validateString:function(t){var e=null!==t.toString().match(/^https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|^www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|^https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]\.[^\s]{2,}|^www\.[a-zA-Z0-9]\.[^\s]{2,}/);return e}}),window.Parsley.addValidator("rera_id",{requirementType:"string",validateString:function(t){return t.toString().length>5}}),window.Parsley.addValidator("iban",{requirementType:"string",validateString:function(t){var i,n="1014";return 21===t.toString().length?(n+=t.slice(0,2),i=t.substr(2)+n,"1"===e(i,97)):!1}}),window.Parsley.addValidator("selectediban",{requirementType:"string",validateString:function(i){var n,o,s="1014",r=!1;void 0!=t(".selectediban").attr("bankcodes")&&(o=t(".selectediban").attr("bankcodes").split(",")),t(o).each(function(){i.slice(2,5)==this&&(r=!0)});var a=void 0==t(".selectediban").attr("bankcodes")||""==t(".selectediban").attr("bankcodes");return 21===i.toString().length&&(r&&0!=t(".selectediban").attr("bankcodes").length||a)?(s+=i.slice(0,2),n=i.substr(2)+s,"1"===e(n,97)):!1}}),window.Parsley.addValidator("year",{requirementType:"integer",validateNumber:function(t){var e=new Date;return 4===t.toString().length&&t<=e.getFullYear()}}),window.Parsley.addValidator("max_partial_payment",{requirementType:"number",validateNumber:function(t,e){return 2e5+e>=t&&t>=0}}),window.Parsley.addValidator("password",{requirementType:"string",validateString:function(e,i){var n=!0,o=t(i)[0];return n=void 0!==o&&o.value===e?!1:null!==e.match(e.match(/^(?=.*\d)(?=.*[\D])[0-9\D]{8,}$/))}}),window.Parsley.addValidator("dewapassword",{requirementType:"string",validateString:function(t){var e=null!==t.match(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$&+,:;=?@#|'<>.^*()%!_-])[A-Za-z\d$&+,:;=?@#|'<>.^*()%!_-]{8,}$/);return e}}),window.Parsley.addValidator("telephone_number",{requirementType:"string",validateString:function(t){return null!==t.match(/^(?:2|3|4|6|7|9)\d{7}$/)}}),window.Parsley.addValidator("mobile_number",{requirementType:"string",validateString:function(t){return null!==t.match(/^(?:50|51|52|53|54|55|56|57|58|59|52|54|55|56)\d{7}$/)&&!/\b(1|0|5|9)\1+\b/.test(t.substring(2))}}),window.Parsley.addValidator("mobilenumber",{requirementType:"string",validateString:function(t){return null!==t.match(/^(?:50|51|52|53|54|55|56|57|58|59|52|54|55|56)\d{7}$/)&&!/\b(1|0|5|9)\1+\b/.test(t.substring(2))}}),window.Parsley.addValidator("email",{requirementType:"string",validateString:function(t){return!/(?:dummy)/i.test(t)}}),window.Parsley.addValidator("plotnumber",{requirementType:"string",validateString:function(t){return/^(?:(?![a-zA-Z\s^.]).)*$/.test(t)&&/^(?!-)(?!.*--)[0-9-]+/.test(t)&&/[0-9]/.test(t.substr(t.length-1))}}),window.Parsley.addValidator("currency",{requirementType:"string",validateString:function(t){return null!==t.match(/^\d*(\.\d{1,3})?$/)}}),window.Parsley.addValidator("name",{requirementType:"string",validateString:function(t){return null!==t.match(/^[a-zA-Z\s'-.]*$/)}}),window.Parsley.addValidator("fullname",{requirementType:"string",validateString:function(t){return!(null===t.match(/^[^:;{}\[\]<>?\/+*&^%$#!()_="'|/~]*$/)||null!==t.toString().match(/^https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|^www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|^https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]\.[^\s]{2,}|^www\.[a-zA-Z0-9]\.[^\s]{2,}/)||null!==t.toString().match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/))}}),window.Parsley.addValidator("billtotalmax",{requirementType:"string",validateString:function(t,e){var i=parseFloat(t);return e>=i}}),window.Parsley.addValidator("billtotalmin",{requirementType:"string",validateString:function(t,e){var i=parseFloat(t);return i>e}}),window.Parsley.on("form:validate",function(e){if(!e.isValid())for(var i=0;i<e.fields.length;i++)if(e.fields[i].validationResult!==!0){window.navigator.userAgent.match(/iphone|ipad/i)&&window.setTimeout(function(){t("html,body").animate({scrollTop:t(e.fields[i].$element[0]).offset().top})},0);break}}),window.Parsley.on("field:success",function(){var t=this.$element.attr("type"),e=void 0===this.$element.attr("required")&&0===this.$element.val().length;this.$element.attr("aria-invalid",!1),e?(this.$element.removeClass(i),this.$element.parents(n).removeClass(o)):"file"!==t&&(this.$element.removeClass(i),this.$element.parents(n).removeClass(o).addClass(s))}),window.Parsley.on("field:error",function(){var t=this.$element.attr("type");this.$element.attr("aria-invalid",!0),"file"!==t&&"checkbox"!==t&&"radio"!==t&&(this.$element.addClass(i),this.$element.parents(n).removeClass(s).addClass(o))})};return a.prototype.limit=function(){function e(t,e,o){n[e]=o||!0,i||(i=window.setTimeout(function(){var e=t.val();n.numbers&&(e=d(e)),n.currency&&(e=u(e)),n.name&&(e=f(e)),n.username&&(e=g(e)),n.dewausername&&(e=y(e)),"number"==typeof n.truncate&&(e=l(e,o)),t.val(e),r()},20))}function r(){n=[],i=null}function a(t,e){t.val().length>=e&&window.setTimeout(function(){t.val(t.val().substring(0,e))},50)}function l(t,e){return t.length>=e?t.substring(0,e):t}function c(e){var i=e.which,n=String.fromCharCode(i);-1!==t.inArray(i,[0,8,9,13,27,190])&&!e.shiftKey||"a"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"c"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"v"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"x"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||i>=35&&38>=i&&!e.shiftKey||/[0-9]/.test(n)||e.preventDefault()}function d(t){return t.replace(/\D/g,"")}function h(e){var i=t(e.target),n=e.which,o=i.val().indexOf(".")<0?!0:!1,s=String.fromCharCode(n);return-1!==t.inArray(n,[0,8,9,13,27,190])&&!e.shiftKey||"a"===s&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"c"===s&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"v"===s&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"x"===s&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||n>=35&&38>=n&&!e.shiftKey||o&&/[\.]/.test(s)||/[0-9]/.test(s)?void window.setTimeout(function(){i.val().indexOf(".")>=0&&i.val().split(".")[1]&&i.val().split(".")[1].length>2&&i.val(Math.floor(100*parseFloat(i.val()))/100)},10):void e.preventDefault()}function u(t){var e,i,n=t.replace(/[^0-9\.]+/g,"");return n="."===n[0]?"0"+n:n,e=n.split("."),i=e.length>1?e[0]+"."+e[1]:e[0]}function p(e){var i=e.which,n=String.fromCharCode(i);-1!==t.inArray(i,[0,8,9,13,27,190])&&!e.shiftKey||"a"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"c"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"v"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"x"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||i>=35&&38>=i&&!e.shiftKey||/[a-zA-Z\s'-]/.test(n)||e.preventDefault()}function f(t){return t.replace(/[^a-zA-Z\s'-]+/g,"")}function m(){var t=new RegExp(/[a-zA-Z0-9.@]/),e=String.fromCharCode(event.charCode?event.charCode:event.which);return t.test(e)?void 0:(event.preventDefault(),!1)}function g(t){return t.replace(/[^a-zA-Z0-9.@\.]+/g,"")}function v(){var t=new RegExp(/[a-zA-Z0-9.]/),e=String.fromCharCode(event.charCode?event.charCode:event.which);return t.test(e)?void 0:(event.preventDefault(),!1)}function y(t){return t.replace(/[^a-zA-Z0-9.\.]+/g,"")}t("[ data-parsley-rera_id ]").on("keypress.truncate",function(){a(t(this),5)}),t("[ data-parsley-rera_id ]").on("paste.truncate",function(){e(t(this),"truncate",5)}),t("[ data-parsley-max_number ]").on("keypress.truncate",function(){a(t(this),parseInt(t(this).attr("data-max-length")))}),t("[ data-parsley-max_number ]").on("paste.truncate",function(){e(t(this),"truncate",parseInt(t(this).attr("data-max-length")))}),t("[ data-parsley-passportid ]").off("keypress.truncate"),t("[ data-parsley-verification_code ], [ data-parsley-pobox ], [ data-parsley-grossfloorarea ]").on("keypress.truncate",function(){
a(t(this),6)}),t("[ data-parsley-verification_code ], [ data-parsley-pobox ], [ data-parsley-grossfloorarea ]").on("paste.truncate",function(){e(t(this),"truncate",6)}),t("[ data-parsley-telephone_number ]").on("keypress.truncate",function(){a(t(this),8)}),t("[ data-parsley-telephone_number ]").on("paste.truncate",function(){e(t(this),"truncate",8)}),t("[ data-parsley-bpn ]").on("keypress.truncate",function(){a(t(this),8)}),t("[ data-parsley-bpn ]").on("paste.truncate",function(){e(t(this),"truncate",8)}),t("[ data-parsley-twonum ]").on("keypress.truncate",function(){a(t(this),10)}),t("[ data-parsley-twonum ]").on("paste.truncate",function(){e(t(this),"truncate",10)}),t("[ data-parsley-premise_number ], [ data-parsley-notification_number ], [ data-parsley-estimate_number ], [ data-parsley-mobilenumber ], [ data-parsley-mobile_number ]").on("keypress.truncate",function(){a(t(this),9)}),t("[ data-parsley-premise_number ], [ data-parsley-notification_number ], [ data-parsley-estimate_number ], [ data-parsley-mobilenumber ], [ data-parsley-mobile_number ]").on("paste.truncate",function(){e(t(this),"truncate",9)}),t("[ data-parsley-maxnumber ]").on("keypress.truncate",function(){a(t(this),parseInt(t(this).attr("data-parsley-maxnumber")))}),t("[ data-parsley-maxnumber ]").on("paste.truncate",function(){e(t(this),"truncate",parseInt(t(this).attr("data-parsley-maxnumber")))}),t("[ data-parsley-account_number ], [ data-parsley-account_premise_number ]").on("keypress.truncate",function(){a(t(this),10)}),t("[ data-parsley-account_number ], [ data-parsley-account_premise_number ]").on("paste.truncate",function(){e(t(this),"truncate",10)}),t("[ data-parsley-emiratesid ]").on("keypress.truncate",function(){var e=t(this).attr("data-parsley-emiratesid");"undefined"!=typeof e&&e!==!1&&a(t(this),15)}),t("[ data-parsley-emiratesid ]").on("paste.truncate",function(){e(t(this),"truncate",15)}),t("[ data-parsley-passportid ]").on("keypress.truncate",function(){}),t("[ data-parsley-passportid ]").on("paste.truncate",function(){}),t("[ data-parsley-iban ], [ data-parsley-selectediban ], [ data-iban_confirm ]").on("keypress.truncate",function(){a(t(this),21)}),t("[ data-parsley-doc_number ]").on("keypress.truncate",function(){a(t(this),35)}),t("[ data-parsley-doc_number ]").on("paste.truncate",function(){e(t(this),"truncate",35)}),t("[ data-input-truncate ]").on("keypress.truncate",function(){var e=parseInt(t(this).data("input-truncate"),10);a(t(this),e)}),t("[ data-input-truncate ]").on("paste.truncate",function(){var i=parseInt(t(this).data("input-truncate"),10);e(t(this),"truncate",i)}),t("[ data-parsley-max_partial_payment ]").on("keyup",function(){try{t(this).val().indexOf(".")&&t(this).val().split(".")[1].length>2&&t(this).val(Math.floor(100*parseFloat(t(this).val()))/100)}catch(e){}}),t("[ data-parsley-max_partial_payment ]").on("paste.truncate",function(){try{t(this).val().indexOf(".")&&t(this).val().split(".")[1].length>2&&t(this).val(Math.floor(100*parseFloat(t(this).val()))/100)}catch(e){}}),t(o).on("keypress.numbers",c),t(o).on("paste.numbers",function(){e(t(this),"numbers")}),t("[ data-parsley-passportid ]").off("keypress.numbers"),t("[ data-parsley-passportid ]").off("paste.numbers"),t(s).on("keypress.currency",h),t(s).on("paste.currency",function(){e(t(this),"currency")}),t("[ data-parsley-name ]").on("keypress.name",p),t("[ data-parsley-name ]").on("paste.name",function(){e(t(this),"name")}),t("[ data-parsley-username ]").on("keypress.username",m),t("[ data-parsley-username ]").on("paste.username",function(){e(t(this),"username")}),t("[ data-parsley-dewausername ]").on("keypress.dewausername",v),t("[ data-parsley-dewausername ]").on("paste.dewausername",function(){e(t(this),"dewausername")}),t("[ data-parsley-dewapassword ]").on("paste.dewapassword",function(){e(t(this),"dewapassword")}),t()},a.prototype.apply=function(e){function o(t,e){t.val().length>=e&&window.setTimeout(function(){t.val(t.val().substring(0,e))},5)}function s(t,e,o){n[e]=o||!0,i||(i=window.setTimeout(function(){var e=t.val();"number"==typeof n.truncate&&(e=a(e,o)),t.val(e),r()},20))}function r(){n=[],i=null}function a(t,e){return t.length>=e?t.substring(0,e):t}function l(e){var i=e.which,n=String.fromCharCode(i);-1!==t.inArray(i,[0,8,9,13,27,190])&&!e.shiftKey||"a"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"c"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"v"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||"x"===n&&(e.ctrlKey||e.metaKey)&&!e.shiftKey||i>=35&&38>=i&&!e.shiftKey||/[0-9]/.test(n)||e.preventDefault()}e.find("input[type=text], input[type=file], input[type=number], input[type=email], input[type=tel]").not("[data-el=datepicker]").attr("data-parsley-trigger","focusout"),e.find("select").attr("data-parsley-trigger","change"),e.parsley({excluded:"input.form-field__input--readonly, input[type=button], input[type=submit], input[type=reset], input[type=hidden], [disabled], :hidden"}),e.find("input[type=text], input[type=number], input[type=email], input[type=tel], select").on("keydown.submit",function(t){var i=t.keyCode?t.keyCode:t.which?t.which:t.charCode;if(13===i){var n=e.find("[type=submit]");if(void 0!==n[0])return n.last().trigger("click"),!1}}),e.find("#form-field-user_id_type").on("change.emiratesid",function(){var e=t("#form-field-user_id_no"),i=t(this);"ED"===i.val()?(o(e,15),e.attr("data-parsley-emiratesid",!0),e.on("keypress.eid",function(){o(e,15)}),e.on("paste.eid",function(){s(e,"truncate",15)})):(e.removeAttr("data-parsley-emiratesid"),e.off(".eid")),window.setTimeout(function(){(e.parsley().validationResult===!0||"object"==typeof e.parsley().validationResult&&e.parsley().validationResult.length)&&e.parsley().validate()},10)}),t(".form-field__input-wrapper--mobile-numberNEW").each(function(){t(this).find("select").off("change")}),t(".form-field__input-wrapper--mobile-numberNEW").each(function(){var e=t(this).find(".form-field__input-prefix--mobile-number"),i=t(this).find(".form-field__input");i.off("keypress.const").on("keypress.const",l),"+971"==e.val()||"00971"==e.val()||"971"==e.val()?(i.attr("data-parsley-pattern","/^(?:50|51|52|53|54|55|56|57|58|59|52|54|55|56)\\d{7}$/"),i.off("keypress.int").on("keypress.int",function(){o(t(this),9)}),i.off("paste.int").on("paste.int",function(){s(t(this),"truncate",9)})):(i.attr("data-parsley-pattern","/\\d/"),i.off("keypress.int"),i.off("paste.int")),e.off("change.int").on("change.int",function(){"+971"==e.val()||"00971"==e.val()||"971"==e.val()?(i.attr("data-parsley-pattern","/^(?:50|51|52|53|54|55|56|57|58|59|52|54|55|56)\\d{7}$/"),i.off("keypress.int").on("keypress.int",function(){o(t(this),9)}),i.off("paste.int").on("paste.int",function(){s(t(this),"truncate",9)})):(i.attr("data-parsley-pattern","/\\d/"),i.off("keypress.int"),i.off("paste.int")),i.parsley().validate()})})},r=new a}),function(t){"function"==typeof define&&define.amd?define("picker",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):this.Picker=t(jQuery)}(function(t){function e(s,r,l,u){function p(){return e._.node("div",e._.node("div",e._.node("div",e._.node("div",$.component.nodes(w.open),C.box),C.wrap),C.frame),C.holder,'tabindex="-1"')}function f(){T.data(r,$).addClass(C.input).val(T.data("value")?$.get("select",k.format):s.value),k.editable||T.on("focus."+w.id+" click."+w.id,function(t){t.preventDefault(),$.open()}).on("keydown."+w.id,_),o(s,{haspopup:!0,expanded:!1,readonly:!1,owns:s.id+"_root"})}function m(){o($.$root[0],"hidden",!0)}function g(){$.$holder.on({keydown:_,"focus.toOpen":b,blur:function(){T.removeClass(C.target)},focusin:function(t){$.$root.removeClass(C.focused),t.stopPropagation()},"mousedown click":function(e){var i=e.target;i!=$.$holder[0]&&(e.stopPropagation(),"mousedown"!=e.type||t(i).is("input, select, textarea, button, option")||(e.preventDefault(),$.$holder[0].focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=t(this),i=e.data(),n=e.hasClass(C.navDisabled)||e.hasClass(C.disabled),o=a();o=o&&(o.type||o.href),(n||o&&!t.contains($.$root[0],o))&&$.$holder[0].focus(),!n&&i.nav?$.set("highlight",$.component.item.highlight,{nav:i.nav}):!n&&"pick"in i?($.set("select",i.pick),k.closeOnSelect&&$.close(!0)):i.clear?($.clear(),k.closeOnClear&&$.close(!0)):i.close&&$.close(!0)})}function v(){var e;k.hiddenName===!0?(e=s.name,s.name=""):(e=["string"==typeof k.hiddenPrefix?k.hiddenPrefix:"","string"==typeof k.hiddenSuffix?k.hiddenSuffix:"_submit"],e=e[0]+s.name+e[1]),$._hidden=t('<input type=hidden name="'+e+'"'+(T.data("value")||s.value?' value="'+$.get("select",k.formatSubmit)+'"':"")+">")[0],T.on("change."+w.id,function(){$._hidden.value=s.value?$.get("select",k.formatSubmit):""})}function y(){x&&h?$.$holder.find("."+C.frame).one("transitionend",function(){$.$holder[0].focus()}):$.$holder[0].focus()}function b(t){t.stopPropagation(),T.addClass(C.target),$.$root.addClass(C.focused),$.open()}function _(t){var e=t.keyCode,i=/^(8|46)$/.test(e);return 27==e?($.close(!0),!1):void((32==e||i||!w.open&&$.component.key[e])&&(t.preventDefault(),t.stopPropagation(),i?$.clear().close():$.open()))}if(!s)return e;var x=!1,w={id:s.id||"P"+Math.abs(~~(Math.random()*new Date))},k=l?t.extend(!0,{},l.defaults,u):u||{},C=t.extend({},e.klasses(),k.klass),T=t(s),S=function(){return this.start()},$=S.prototype={constructor:S,$node:T,start:function(){return w&&w.start?$:(w.methods={},w.start=!0,w.open=!1,w.type=s.type,s.autofocus=s==a(),s.readOnly=!k.editable,s.id=s.id||w.id,"text"!=s.type&&(s.type="text"),$.component=new l($,k),$.$root=t('<div class="'+C.picker+'" id="'+s.id+'_root" />'),m(),$.$holder=t(p()).appendTo($.$root),g(),k.formatSubmit&&v(),f(),k.containerHidden?t(k.containerHidden).append($._hidden):T.after($._hidden),k.container?t(k.container).append($.$root):T.after($.$root),$.on({start:$.component.onStart,render:$.component.onRender,stop:$.component.onStop,open:$.component.onOpen,close:$.component.onClose,set:$.component.onSet}).on({start:k.onStart,render:k.onRender,stop:k.onStop,open:k.onOpen,close:k.onClose,set:k.onSet}),x=i($.$holder[0]),s.autofocus&&$.open(),$.trigger("start").trigger("render"))},render:function(e){return e?($.$holder=t(p()),g(),$.$root.html($.$holder)):$.$root.find("."+C.box).html($.component.nodes(w.open)),$.trigger("render")},stop:function(){return w.start?($.close(),$._hidden&&$._hidden.parentNode.removeChild($._hidden),$.$root.remove(),T.removeClass(C.input).removeData(r),setTimeout(function(){T.off("."+w.id)},0),s.type=w.type,s.readOnly=!1,$.trigger("stop"),w.methods={},w.start=!1,$):$},open:function(i){return w.open?$:(T.addClass(C.active),o(s,"expanded",!0),setTimeout(function(){$.$root.addClass(C.opened),o($.$root[0],"hidden",!1)},0),i!==!1&&(w.open=!0,x&&d.css("overflow","hidden").css("padding-right","+="+n()),y(),c.on("click."+w.id+" focusin."+w.id,function(t){var e=t.target;e!=s&&e!=document&&3!=t.which&&$.close(e===$.$holder[0])}).on("keydown."+w.id,function(i){var n=i.keyCode,o=$.component.key[n],s=i.target;27==n?$.close(!0):s!=$.$holder[0]||!o&&13!=n?t.contains($.$root[0],s)&&13==n&&(i.preventDefault(),s.click()):(i.preventDefault(),o?e._.trigger($.component.key.go,$,[e._.trigger(o)]):$.$root.find("."+C.highlighted).hasClass(C.disabled)||($.set("select",$.component.item.highlight),k.closeOnSelect&&$.close(!0)))})),$.trigger("open"))},close:function(t){return t&&(k.editable?s.focus():($.$holder.off("focus.toOpen").focus(),setTimeout(function(){$.$holder.on("focus.toOpen",b)},0))),T.removeClass(C.active),o(s,"expanded",!1),setTimeout(function(){$.$root.removeClass(C.opened+" "+C.focused),o($.$root[0],"hidden",!0)},0),w.open?(w.open=!1,x&&d.css("overflow","").css("padding-right","-="+n()),c.off("."+w.id),$.trigger("close")):$},clear:function(t){return $.set("clear",null,t)},set:function(e,i,n){var o,s,r=t.isPlainObject(e),a=r?e:{};if(n=r&&t.isPlainObject(i)?i:n||{},e){r||(a[e]=i);for(o in a)s=a[o],o in $.component.item&&(void 0===s&&(s=null),$.component.set(o,s,n)),("select"==o||"clear"==o)&&T.val("clear"==o?"":$.get(o,k.format)).trigger("change");$.render()}return n.muted?$:$.trigger("set",a)},get:function(t,i){if(t=t||"value",null!=w[t])return w[t];if("valueSubmit"==t){if($._hidden)return $._hidden.value;t="value"}if("value"==t)return s.value;if(t in $.component.item){if("string"==typeof i){var n=$.component.get(t);return n?e._.trigger($.component.formats.toString,$.component,[i,n]):""}return $.component.get(t)}},on:function(e,i,n){var o,s,r=t.isPlainObject(e),a=r?e:{};if(e){r||(a[e]=i);for(o in a)s=a[o],n&&(o="_"+o),w.methods[o]=w.methods[o]||[],w.methods[o].push(s)}return $},off:function(){var t,e,i=arguments;for(t=0,namesCount=i.length;t<namesCount;t+=1)e=i[t],e in w.methods&&delete w.methods[e];return $},trigger:function(t,i){var n=function(t){var n=w.methods[t];n&&n.map(function(t){e._.trigger(t,$,[i])})};return n("_"+t),n(t),$}};return new S}function i(t){var e,i="position";return t.currentStyle?e=t.currentStyle[i]:window.getComputedStyle&&(e=getComputedStyle(t)[i]),"fixed"==e}function n(){if(d.height()<=l.height())return 0;var e=t('<div style="visibility:hidden;width:100px" />').appendTo("body"),i=e[0].offsetWidth;e.css("overflow","scroll");var n=t('<div style="width:100%" />').appendTo(e),o=n[0].offsetWidth;return e.remove(),i-o}function o(e,i,n){if(t.isPlainObject(i))for(var o in i)s(e,o,i[o]);else s(e,i,n)}function s(t,e,i){t.setAttribute(("role"==e?"":"aria-")+e,i)}function r(e,i){t.isPlainObject(e)||(e={attribute:i}),i="";for(var n in e){var o=("role"==n?"":"aria-")+n,s=e[n];i+=null==s?"":o+'="'+e[n]+'"'}return i}function a(){try{return document.activeElement}catch(t){}}var l=t(window),c=t(document),d=t(document.documentElement),h=null!=document.documentElement.style.transition;return e.klasses=function(t){return t=t||"picker",{picker:t,opened:t+"--opened",focused:t+"--focused",input:t+"__input",active:t+"__input--active",target:t+"__input--target",holder:t+"__holder",frame:t+"__frame",wrap:t+"__wrap",box:t+"__box"}},e._={group:function(t){for(var i,n="",o=e._.trigger(t.min,t);o<=e._.trigger(t.max,t,[o]);o+=t.i)i=e._.trigger(t.item,t,[o]),n+=e._.node(t.node,i[0],i[1],i[2]);return n},node:function(e,i,n,o){return i?(i=t.isArray(i)?i.join(""):i,n=n?' class="'+n+'"':"",o=o?" "+o:"","<"+e+n+o+">"+i+"</"+e+">"):""},lead:function(t){return(10>t?"0":"")+t},trigger:function(t,e,i){return"function"==typeof t?t.apply(e,i||[]):t},digits:function(t){return/\d/.test(t[1])?2:1},isDate:function(t){return{}.toString.call(t).indexOf("Date")>-1&&this.isInteger(t.getDate())},isInteger:function(t){return{}.toString.call(t).indexOf("Number")>-1&&t%1===0},ariaAttr:r},e.extend=function(i,n){t.fn[i]=function(o,s){var r=this.data(i);return"picker"==o?r:r&&"string"==typeof o?e._.trigger(r[o],r,[s]):this.each(function(){var s=t(this);s.data(i)||new e(this,i,n,o)})},t.fn[i].defaults=n.defaults},e}),function(t){"function"==typeof define&&define.amd?define("pickerdate",["picker","jquery"],t):"object"==typeof exports?module.exports=t(require("./picker.js"),require("jquery")):t(Picker,jQuery)}(function(t,e){function i(t,e){var i=this,n=t.$node[0],o=n.value,s=t.$node.data("value"),r=s||o,a=s?e.formatSubmit:e.format,l=function(){return n.currentStyle?"rtl"==n.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};i.settings=e,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(e.disable||[]).slice(0),i.item.enable=-function(t){return t[0]===!0?t.shift():-1}(i.item.disable),i.set("min",e.min).set("max",e.max).set("now"),r?i.set("select",r,{format:a,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return l()?-1:1},37:function(){return l()?1:-1},go:function(t){var e=i.item.highlight,n=new Date(e.year,e.month,e.date+t);i.set("highlight",n,{interval:t}),this.render()}},t.on("render",function(){t.$root.find("."+e.klass.selectMonth).on("change",function(){var i=this.value;i&&(t.set("highlight",[t.get("view").year,i,t.get("highlight").date]),t.$root.find("."+e.klass.selectMonth).trigger("focus"))}),t.$root.find("."+e.klass.selectYear).on("change",function(){var i=this.value;i&&(t.set("highlight",[i,t.get("view").month,t.get("highlight").date]),t.$root.find("."+e.klass.selectYear).trigger("focus"))})},1).on("open",function(){var n="";i.disabled(i.get("now"))&&(n=":not(."+e.klass.buttonToday+")"),t.$root.find("button"+n+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}var n=7,o=6,s=t._;i.prototype.set=function(t,e,i){var n=this,o=n.item;return null===e?("clear"==t&&(t="select"),o[t]=e,n):(o["enable"==t?"disable":"flip"==t?"enable":t]=n.queue[t].split(" ").map(function(o){return e=n[o](t,e,i)}).pop(),"select"==t?n.set("highlight",o.select,i):"highlight"==t?n.set("view",o.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(o.select&&n.disabled(o.select)&&n.set("select",o.select,i),o.highlight&&n.disabled(o.highlight)&&n.set("highlight",o.highlight,i)),n)},i.prototype.get=function(t){return this.item[t]},i.prototype.create=function(t,i,n){var o,r=this;return i=void 0===i?t:i,i==-(1/0)||i==1/0?o=i:e.isPlainObject(i)&&s.isInteger(i.pick)?i=i.obj:e.isArray(i)?(i=new Date(i[0],i[1],i[2]),i=s.isDate(i)?i:r.create().obj):i=s.isInteger(i)||s.isDate(i)?r.normalize(new Date(i),n):r.now(t,i,n),{year:o||i.getFullYear(),month:o||i.getMonth(),date:o||i.getDate(),day:o||i.getDay(),obj:o||i,pick:o||i.getTime()}},i.prototype.createRange=function(t,i){var n=this,o=function(t){return t===!0||e.isArray(t)||s.isDate(t)?n.create(t):t};return s.isInteger(t)||(t=o(t)),s.isInteger(i)||(i=o(i)),s.isInteger(t)&&e.isPlainObject(i)?t=[i.year,i.month,i.date+t]:s.isInteger(i)&&e.isPlainObject(t)&&(i=[t.year,t.month,t.date+i]),{from:o(t),to:o(i)}},i.prototype.withinRange=function(t,e){return t=this.createRange(t.from,t.to),e.pick>=t.from.pick&&e.pick<=t.to.pick},i.prototype.overlapRanges=function(t,e){var i=this;return t=i.createRange(t.from,t.to),e=i.createRange(e.from,e.to),i.withinRange(t,e.from)||i.withinRange(t,e.to)||i.withinRange(e,t.from)||i.withinRange(e,t.to)},i.prototype.now=function(t,e,i){return e=new Date,i&&i.rel&&e.setDate(e.getDate()+i.rel),this.normalize(e,i)},i.prototype.navigate=function(t,i,n){var o,s,r,a,l=e.isArray(i),c=e.isPlainObject(i),d=this.item.view;if(l||c){for(c?(s=i.year,r=i.month,a=i.date):(s=+i[0],r=+i[1],a=+i[2]),n&&n.nav&&d&&d.month!==r&&(s=d.year,r=d.month),o=new Date(s,r+(n&&n.nav?n.nav:0),1),s=o.getFullYear(),r=o.getMonth();new Date(s,r,a).getMonth()!==r;)a-=1;i=[s,r,a]}return i},i.prototype.normalize=function(t){return t.setHours(0,0,0,0),t},i.prototype.measure=function(t,e){var i=this;return e?"string"==typeof e?e=i.parse(t,e):s.isInteger(e)&&(e=i.now(t,e,{rel:e})):e="min"==t?-(1/0):1/0,e},i.prototype.viewset=function(t,e){return this.create([e.year,e.month,1])},i.prototype.validate=function(t,i,n){var o,r,a,l,c=this,d=i,h=n&&n.interval?n.interval:1,u=-1===c.item.enable,p=c.item.min,f=c.item.max,m=u&&c.item.disable.filter(function(t){if(e.isArray(t)){var n=c.create(t).pick;n<i.pick?o=!0:n>i.pick&&(r=!0)}return s.isInteger(t)}).length;if((!n||!n.nav&&!n.defaultValue)&&(!u&&c.disabled(i)||u&&c.disabled(i)&&(m||o||r)||!u&&(i.pick<=p.pick||i.pick>=f.pick)))for(u&&!m&&(!r&&h>0||!o&&0>h)&&(h*=-1);c.disabled(i)&&(Math.abs(h)>1&&(i.month<d.month||i.month>d.month)&&(i=d,h=h>0?1:-1),i.pick<=p.pick?(a=!0,h=1,i=c.create([p.year,p.month,p.date+(i.pick===p.pick?0:-1)])):i.pick>=f.pick&&(l=!0,h=-1,i=c.create([f.year,f.month,f.date+(i.pick===f.pick?0:1)])),!a||!l);)i=c.create([i.year,i.month,i.date+h]);return i},i.prototype.disabled=function(t){var i=this,n=i.item.disable.filter(function(n){return s.isInteger(n)?t.day===(i.settings.firstDay?n:n-1)%7:e.isArray(n)||s.isDate(n)?t.pick===i.create(n).pick:e.isPlainObject(n)?i.withinRange(n,t):void 0});return n=n.length&&!n.filter(function(t){return e.isArray(t)&&"inverted"==t[3]||e.isPlainObject(t)&&t.inverted}).length,-1===i.item.enable?!n:n||t.pick<i.item.min.pick||t.pick>i.item.max.pick},i.prototype.parse=function(t,e,i){var n=this,o={};return e&&"string"==typeof e?(i&&i.format||(i=i||{},i.format=n.settings.format),n.formats.toArray(i.format).map(function(t){var i=n.formats[t],r=i?s.trigger(i,n,[e,o]):t.replace(/^!/,"").length;i&&(o[t]=e.substr(0,r)),e=e.substr(r)}),[o.yyyy||o.yy,+(o.mm||o.m)-1,o.dd||o.d]):e},i.prototype.formats=function(){function t(t,e,i){var n=t.match(/[^\x00-\x7F]+|\w+/)[0];return i.mm||i.m||(i.m=e.indexOf(n)+1),n.length}function e(t){return t.match(/\w+/)[0].length}return{d:function(t,e){return t?s.digits(t):e.date},dd:function(t,e){return t?2:s.lead(e.date)},ddd:function(t,i){return t?e(t):this.settings.weekdaysShort[i.day]},dddd:function(t,i){return t?e(t):this.settings.weekdaysFull[i.day]},m:function(t,e){return t?s.digits(t):e.month+1},mm:function(t,e){return t?2:s.lead(e.month+1)},mmm:function(e,i){var n=this.settings.monthsShort;return e?t(e,n,i):n[i.month]},mmmm:function(e,i){var n=this.settings.monthsFull;return e?t(e,n,i):n[i.month]},yy:function(t,e){return t?2:(""+e.year).slice(2)},yyyy:function(t,e){return t?4:e.year},toArray:function(t){return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(t,e){var i=this;return i.formats.toArray(t).map(function(t){return s.trigger(i.formats[t],i,[0,e])||t.replace(/^!/,"")}).join("")}}}(),i.prototype.isDateExact=function(t,i){var n=this;return s.isInteger(t)&&s.isInteger(i)||"boolean"==typeof t&&"boolean"==typeof i?t===i:(s.isDate(t)||e.isArray(t))&&(s.isDate(i)||e.isArray(i))?n.create(t).pick===n.create(i).pick:e.isPlainObject(t)&&e.isPlainObject(i)?n.isDateExact(t.from,i.from)&&n.isDateExact(t.to,i.to):!1},i.prototype.isDateOverlap=function(t,i){var n=this,o=n.settings.firstDay?1:0;return s.isInteger(t)&&(s.isDate(i)||e.isArray(i))?(t=t%7+o,t===n.create(i).day+1):s.isInteger(i)&&(s.isDate(t)||e.isArray(t))?(i=i%7+o,i===n.create(t).day+1):e.isPlainObject(t)&&e.isPlainObject(i)?n.overlapRanges(t,i):!1},i.prototype.flipEnable=function(t){var e=this.item;e.enable=t||(-1==e.enable?1:-1)},i.prototype.deactivate=function(t,i){var n=this,o=n.item.disable.slice(0);return"flip"==i?n.flipEnable():i===!1?(n.flipEnable(1),o=[]):i===!0?(n.flipEnable(-1),o=[]):i.map(function(t){for(var i,r=0;r<o.length;r+=1)if(n.isDateExact(t,o[r])){i=!0;break}i||(s.isInteger(t)||s.isDate(t)||e.isArray(t)||e.isPlainObject(t)&&t.from&&t.to)&&o.push(t)}),o},i.prototype.activate=function(t,i){var n=this,o=n.item.disable,r=o.length;return"flip"==i?n.flipEnable():i===!0?(n.flipEnable(1),o=[]):i===!1?(n.flipEnable(-1),o=[]):i.map(function(t){var i,a,l,c;for(l=0;r>l;l+=1){if(a=o[l],n.isDateExact(a,t)){i=o[l]=null,c=!0;break}if(n.isDateOverlap(a,t)){e.isPlainObject(t)?(t.inverted=!0,i=t):e.isArray(t)?(i=t,i[3]||i.push("inverted")):s.isDate(t)&&(i=[t.getFullYear(),t.getMonth(),t.getDate(),"inverted"]);break}}if(i)for(l=0;r>l;l+=1)if(n.isDateExact(o[l],t)){o[l]=null;break}if(c)for(l=0;r>l;l+=1)if(n.isDateOverlap(o[l],t)){o[l]=null;break}i&&o.push(i)}),o.filter(function(t){return null!=t})},i.prototype.nodes=function(t){var e=this,i=e.settings,r=e.item,a=r.now,l=r.select,c=r.highlight,d=r.view,h=r.disable,u=r.min,p=r.max,f=function(t,e){return i.firstDay&&(t.push(t.shift()),e.push(e.shift())),s.node("thead",s.node("tr",s.group({min:0,max:n-1,i:1,node:"th",item:function(n){return[t[n],i.klass.weekdays,'scope=col title="'+e[n]+'"']}})))}((i.showWeekdaysFull?i.weekdaysFull:i.weekdaysShort).slice(0),i.weekdaysFull.slice(0)),m=function(t){return s.node("div"," ",i.klass["nav"+(t?"Next":"Prev")]+(t&&d.year>=p.year&&d.month>=p.month||!t&&d.year<=u.year&&d.month<=u.month?" "+i.klass.navDisabled:""),"data-nav="+(t||-1)+" "+s.ariaAttr({role:"button",controls:e.$node[0].id+"_table"})+' title="'+(t?i.labelMonthNext:i.labelMonthPrev)+'"')},g=function(){var n=i.showMonthsShort?i.monthsShort:i.monthsFull;return i.selectMonths?s.node("select",s.group({min:0,max:11,i:1,node:"option",item:function(t){return[n[t],0,"value="+t+(d.month==t?" selected":"")+(d.year==u.year&&t<u.month||d.year==p.year&&t>p.month?" disabled":"")]}}),i.klass.selectMonth,(t?"":"disabled")+" "+s.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelMonthSelect+'"'):s.node("div",n[d.month],i.klass.month)},v=function(){var n=d.year,o=i.selectYears===!0?5:~~(i.selectYears/2);if(o){var r=u.year,a=p.year,l=n-o,c=n+o;if(r>l&&(c+=r-l,l=r),c>a){var h=l-r,f=c-a;l-=h>f?f:h,c=a}return s.node("select",s.group({min:l,max:c,i:1,node:"option",item:function(t){return[t,0,"value="+t+(n==t?" selected":"")]}}),i.klass.selectYear,(t?"":"disabled")+" "+s.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelYearSelect+'"')}return s.node("div",n,i.klass.year)};return s.node("div",(i.selectYears?v()+g():g()+v())+m()+m(1),i.klass.header)+s.node("table",f+s.node("tbody",s.group({min:0,max:o-1,i:1,node:"tr",item:function(t){var o=i.firstDay&&0===e.create([d.year,d.month,1]).day?-7:0;return[s.group({min:n*t-d.day+o+1,max:function(){return this.min+n-1},i:1,node:"td",item:function(t){t=e.create([d.year,d.month,t+(i.firstDay?1:0)]);var n=l&&l.pick==t.pick,o=c&&c.pick==t.pick,r=h&&e.disabled(t)||t.pick<u.pick||t.pick>p.pick,f=s.trigger(e.formats.toString,e,[i.format,t]);return[s.node("div",t.date,function(e){return e.push(d.month==t.month?i.klass.infocus:i.klass.outfocus),a.pick==t.pick&&e.push(i.klass.now),n&&e.push(i.klass.selected),o&&e.push(i.klass.highlighted),r&&e.push(i.klass.disabled),e.join(" ")}([i.klass.day]),"data-pick="+t.pick+" "+s.ariaAttr({role:"gridcell",label:f,selected:n&&e.$node.val()===f?!0:null,activedescendant:o?!0:null,disabled:r?!0:null})),"",s.ariaAttr({role:"presentation"})]}})]}})),i.klass.table,'id="'+e.$node[0].id+'_table" '+s.ariaAttr({role:"grid",controls:e.$node[0].id,readonly:!0}))+s.node("div",s.node("button",i.today,i.klass.buttonToday,"type=button data-pick="+a.pick+(t&&!e.disabled(a)?"":" disabled")+" "+s.ariaAttr({controls:e.$node[0].id}))+s.node("button",i.clear,i.klass.buttonClear,"type=button data-clear=1"+(t?"":" disabled")+" "+s.ariaAttr({controls:e.$node[0].id}))+s.node("button",i.close,i.klass.buttonClose,"type=button data-close=true "+(t?"":" disabled")+" "+s.ariaAttr({controls:e.$node[0].id})),i.klass.footer)},i.defaults=function(t){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",closeOnSelect:!0,closeOnClear:!0,format:"d mmmm, yyyy",klass:{table:t+"table",header:t+"header",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}}}(t.klasses().picker+"__"),t.extend("pickadate",i)}),!function(t){"function"==typeof define&&define.amd?define("select2",["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i),i}:t(jQuery)}(function(t){var e=function(){function e(t,e){return x.call(t,e)}function i(t,e){var i,n,o,s,r,a,l,c,d,h,u,p=e&&e.split("/"),f=b.map,m=f&&f["*"]||{};if(t){for(r=(t=t.split("/")).length-1,b.nodeIdCompat&&k.test(t[r])&&(t[r]=t[r].replace(k,"")),"."===t[0].charAt(0)&&p&&(t=p.slice(0,p.length-1).concat(t)),d=0;d<t.length;d++)if("."===(u=t[d]))t.splice(d,1),--d;else if(".."===u){if(0===d||1===d&&".."===t[2]||".."===t[d-1])continue;d>0&&(t.splice(d-1,2),d-=2)}t=t.join("/")}if((p||m)&&f){for(d=(i=t.split("/")).length;d>0;--d){if(n=i.slice(0,d).join("/"),p)for(h=p.length;h>0;--h)if(o=(o=f[p.slice(0,h).join("/")])&&o[n]){s=o,a=d;break}if(s)break;!l&&m&&m[n]&&(l=m[n],c=d)}!s&&l&&(s=l,a=c),s&&(i.splice(0,a,s),t=i.join("/"))}return t}function n(t,e){return function(){var i=w.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),f.apply(u,i.concat([t,e]))}}function o(t){return function(e){v[t]=e}}function s(t){if(e(y,t)){var i=y[t];delete y[t],_[t]=!0,p.apply(u,i)}if(!e(v,t)&&!e(_,t))throw new Error("No "+t);return v[t]}function r(t){var e,i=t?t.indexOf("!"):-1;return i>-1&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function a(t){return t?r(t):[]}if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var l=t.fn.select2.amd;var c,d,h,u,p,f,m,g,v,y,b,_,x,w,k;return l&&l.requirejs||(l?d=l:l={},v={},y={},b={},_={},x=Object.prototype.hasOwnProperty,w=[].slice,k=/\.js$/,m=function(t,e){var n,o,a=r(t),l=a[0],c=e[1];return t=a[1],l&&(n=s(l=i(l,c))),l?t=n&&n.normalize?n.normalize(t,(o=c,function(t){return i(t,o)})):i(t,c):(l=(a=r(t=i(t,c)))[0],t=a[1],l&&(n=s(l))),{f:l?l+"!"+t:t,n:t,pr:l,p:n}},g={require:function(t){return n(t)},exports:function(t){var e=v[t];return void 0!==e?e:v[t]={}},module:function(t){return{id:t,uri:"",exports:v[t],config:(e=t,function(){return b&&b.config&&b.config[e]||{}})};var e}},p=function(t,i,r,l){var c,d,h,p,f,b,x,w=[],k=typeof r;if(b=a(l=l||t),"undefined"==k||"function"==k){for(i=!i.length&&r.length?["require","exports","module"]:i,f=0;f<i.length;f+=1)if("require"===(d=(p=m(i[f],b)).f))w[f]=g.require(t);else if("exports"===d)w[f]=g.exports(t),x=!0;else if("module"===d)c=w[f]=g.module(t);else if(e(v,d)||e(y,d)||e(_,d))w[f]=s(d);else{if(!p.p)throw new Error(t+" missing "+d);p.p.load(p.n,n(l,!0),o(d),{}),w[f]=v[d]}h=r?r.apply(v[t],w):void 0,t&&(c&&c.exports!==u&&c.exports!==v[t]?v[t]=c.exports:h===u&&x||(v[t]=h))}else t&&(v[t]=r)},c=d=f=function(t,e,i,n,o){if("string"==typeof t)return g[t]?g[t](e):s(m(t,a(e)).f);if(!t.splice){if((b=t).deps&&f(b.deps,b.callback),!e)return;e.splice?(t=e,e=i,i=null):t=u}return e=e||function(){},"function"==typeof i&&(i=n,n=o),n?p(u,t,e,i):setTimeout(function(){p(u,t,e,i)},4),f},f.config=function(t){return f(t)},c._defined=v,(h=function(t,i,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");i.splice||(n=i,i=[]),e(v,t)||e(y,t)||(y[t]=[t,i,n])}).amd={jQuery:!0},l.requirejs=c,l.require=d,l.define=h),l.define("almond",function(){}),l.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),l.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,i=[];for(var n in e)"function"==typeof e[n]&&"constructor"!==n&&i.push(n);return i}function i(){this.listeners={}}var n={};n.Extend=function(t,e){function i(){this.constructor=t}var n={}.hasOwnProperty;for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n.Decorate=function(t,i){function n(){var e=Array.prototype.unshift,n=i.prototype.constructor.length,o=t.prototype.constructor;n>0&&(e.call(arguments,t.prototype.constructor),o=i.prototype.constructor),o.apply(this,arguments)}function o(t){var e=function(){};t in n.prototype&&(e=n.prototype[t]);var o=i.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),o.apply(this,arguments)}}var s=e(i),r=e(t);i.displayName=t.displayName,n.prototype=new function(){this.constructor=n};for(var a=0;a<r.length;a++){var l=r[a];n.prototype[l]=t.prototype[l];
}for(var c=0;c<s.length;c++){var d=s[c];n.prototype[d]=o(d)}return n},i.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},i.prototype.trigger=function(t){var e=Array.prototype.slice,i=e.call(arguments,1);this.listeners=this.listeners||{},null==i&&(i=[]),0===i.length&&i.push({}),(i[0]._type=t)in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(t,e){for(var i=0,n=t.length;n>i;i++)t[i].apply(this,e)},n.Observable=i,n.generateChars=function(t){for(var e="",i=0;t>i;i++)e+=Math.floor(36*Math.random()).toString(36);return e},n.bind=function(t,e){return function(){t.apply(e,arguments)}},n._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var o=0;o<i.length;o++){var s=i[o];(s=s.substring(0,1).toLowerCase()+s.substring(1))in n||(n[s]={}),o==i.length-1&&(n[s]=t[e]),n=n[s]}delete t[e]}}return t},n.hasScroll=function(e,i){var n=t(i),o=i.style.overflowX,s=i.style.overflowY;return(o!==s||"hidden"!==s&&"visible"!==s)&&("scroll"===o||"scroll"===s||n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth)},n.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.__cache={};var o=0;return n.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null!=e||(e=t.id?"select2-data-"+t.id:"select2-data-"+(++o).toString()+"-"+n.generateChars(4),t.setAttribute("data-select2-id",e)),e},n.StoreData=function(t,e,i){var o=n.GetUniqueElementId(t);n.__cache[o]||(n.__cache[o]={}),n.__cache[o][e]=i},n.GetData=function(e,i){var o=n.GetUniqueElementId(e);return i?n.__cache[o]&&null!=n.__cache[o][i]?n.__cache[o][i]:t(e).data(i):n.__cache[o]},n.RemoveData=function(t){var e=n.GetUniqueElementId(t);null!=n.__cache[e]&&delete n.__cache[e],t.removeAttribute("data-select2-id")},n.copyNonInternalCssClasses=function(t,e){var i=t.getAttribute("class").trim().split(/\s+/);i=i.filter(function(t){return 0===t.indexOf("select2-")});var n=e.getAttribute("class").trim().split(/\s+/);n=n.filter(function(t){return 0!==t.indexOf("select2-")});var o=i.concat(n);t.setAttribute("class",o.join(" "))},n}),l.define("select2/results",["jquery","./utils"],function(t,e){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),o=this.options.get("translations").get(e.message);n.append(i(o(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i<t.results.length;i++){var n=t.results[i],o=this.option(n);e.push(o)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(t,e){e.find(".select2-results").append(t)},i.prototype.sort=function(t){return this.options.get("sorter")(t)},i.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option--selectable"),e=t.filter(".select2-results__option--selected");0<e.length?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var i=this;this.data.current(function(n){var o=n.map(function(t){return t.id.toString()});i.$results.find(".select2-results__option--selectable").each(function(){var i=t(this),n=e.GetData(this,"data"),s=""+n.id;null!=n.element&&n.element.selected||null==n.element&&-1<o.indexOf(s)?(this.classList.add("select2-results__option--selected"),i.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),i.attr("aria-selected","false"))})})},i.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},i=this.option(e);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(i){var n=document.createElement("li");n.classList.add("select2-results__option"),n.classList.add("select2-results__option--selectable");var o={role:"option"},s=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=i.element&&s.call(i.element,":disabled")||null==i.element&&i.disabled)&&(o["aria-disabled"]="true",n.classList.remove("select2-results__option--selectable"),n.classList.add("select2-results__option--disabled")),null==i.id&&n.classList.remove("select2-results__option--selectable"),null!=i._resultId&&(n.id=i._resultId),i.title&&(n.title=i.title),i.children&&(o.role="group",o["aria-label"]=i.text,n.classList.remove("select2-results__option--selectable"),n.classList.add("select2-results__option--group")),o){var a=o[r];n.setAttribute(r,a)}if(i.children){var l=t(n),c=document.createElement("strong");c.className="select2-results__group",this.template(i,c);for(var d=[],h=0;h<i.children.length;h++){var u=i.children[h],p=this.option(u);d.push(p)}var f=t("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});f.append(d),l.append(c),l.append(f)}else this.template(i,n);return e.StoreData(n,"data",i),n},i.prototype.bind=function(i,n){var o=this,s=i.id+"-results";this.$results.attr("id",s),i.on("results:all",function(t){o.clear(),o.append(t.data),i.isOpen()&&(o.setClasses(),o.highlightFirstItem())}),i.on("results:append",function(t){o.append(t.data),i.isOpen()&&o.setClasses()}),i.on("query",function(t){o.hideMessages(),o.showLoading(t)}),i.on("select",function(){i.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())}),i.on("unselect",function(){i.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())}),i.on("open",function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()}),i.on("close",function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")}),i.on("results:toggle",function(){var t=o.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),i.on("results:select",function(){var t=o.getHighlightedResults();if(0!==t.length){var i=e.GetData(t[0],"data");t.hasClass("select2-results__option--selected")?o.trigger("close",{}):o.trigger("select",{data:i})}}),i.on("results:previous",function(){var t=o.getHighlightedResults(),e=o.$results.find(".select2-results__option--selectable"),i=e.index(t);if(!(0>=i)){var n=i-1;0===t.length&&(n=0);var s=e.eq(n);s.trigger("mouseenter");var r=o.$results.offset().top,a=s.offset().top,l=o.$results.scrollTop()+(a-r);0===n?o.$results.scrollTop(0):0>a-r&&o.$results.scrollTop(l)}}),i.on("results:next",function(){var t=o.getHighlightedResults(),e=o.$results.find(".select2-results__option--selectable"),i=e.index(t)+1;if(!(i>=e.length)){var n=e.eq(i);n.trigger("mouseenter");var s=o.$results.offset().top+o.$results.outerHeight(!1),r=n.offset().top+n.outerHeight(!1),a=o.$results.scrollTop()+r-s;0===i?o.$results.scrollTop(0):r>s&&o.$results.scrollTop(a)}}),i.on("results:focus",function(t){t.element[0].classList.add("select2-results__option--highlighted"),t.element[0].setAttribute("aria-selected","true")}),i.on("results:message",function(t){o.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=o.$results.scrollTop(),i=o.$results.get(0).scrollHeight-e+t.deltaY,n=0<t.deltaY&&e-t.deltaY<=0,s=t.deltaY<0&&i<=o.$results.height();n?(o.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):s&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option--selectable",function(i){var n=t(this),s=e.GetData(this,"data");n.hasClass("select2-results__option--selected")?o.options.get("multiple")?o.trigger("unselect",{originalEvent:i,data:s}):o.trigger("close",{}):o.trigger("select",{originalEvent:i,data:s})}),this.$results.on("mouseenter",".select2-results__option--selectable",function(i){var n=e.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false"),o.trigger("results:focus",{data:n,element:t(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find(".select2-results__option--selectable").index(t),i=this.$results.offset().top,n=t.offset().top,o=this.$results.scrollTop()+(n-i),s=n-i;o-=2*t.outerHeight(!1),2>=e?this.$results.scrollTop(0):(s>this.$results.outerHeight()||0>s)&&this.$results.scrollTop(o)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),s=n(e,i);null==s?i.style.display="none":"string"==typeof s?i.innerHTML=o(s):t(i).append(s)},i}),l.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),l.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var i=t('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),i.attr("title",this.$element.attr("title")),i.attr("tabindex",this._tabindex),i.attr("aria-disabled","false"),this.$selection=i},n.prototype.bind=function(t,e){var n=this,o=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===i.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",o),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),t.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},n.prototype._handleBlur=function(e){var i=this;window.setTimeout(function(){document.activeElement==i.$selection[0]||t.contains(i.$selection[0],document.activeElement)||i.trigger("blur",e)},1)},n.prototype._attachCloseHandler=function(i){t(document.body).on("mousedown.select2."+i.id,function(i){var n=t(i.target).closest(".select2");t(".select2.select2-container--open").each(function(){this!=n[0]&&e.GetData(this,"element").select2("close")})})},n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(t,e){e.find(".selection").append(t)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},n.prototype.isEnabled=function(){return!this.isDisabled()},n.prototype.isDisabled=function(){return this.options.get("disabled")},n}),l.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function o(){o.__super__.constructor.apply(this,arguments)}return i.Extend(o,e),o.prototype.render=function(){var t=o.__super__.render.call(this);return t[0].classList.add("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},o.prototype.bind=function(t,e){var i=this;o.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||i.$selection.trigger("focus")})},o.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},o.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},o.prototype.selectionContainer=function(){return t("<span></span>")},o.prototype.update=function(t){if(0!==t.length){var e=t[0],i=this.$selection.find(".select2-selection__rendered"),n=this.display(e,i);i.empty().append(n);var o=e.title||e.text;o?i.attr("title",o):i.removeAttr("title")}else this.clear()},o}),l.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,i){function n(t,e){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t[0].classList.add("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},n.prototype.bind=function(e,o){var s=this;n.__super__.bind.apply(this,arguments);var r=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r),this.$selection.on("click",function(t){s.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!s.isDisabled()){var n=t(this).parent(),o=i.GetData(n[0],"data");s.trigger("unselect",{originalEvent:e,data:o})}}),this.$selection.on("keydown",".select2-selection__choice__remove",function(t){s.isDisabled()||t.stopPropagation()})},n.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},n.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},n.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">&times;</span></button><span class="select2-selection__choice__display"></span></li>')},n.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",o=0;o<t.length;o++){var s=t[o],r=this.selectionContainer(),a=this.display(s,r),l=n+i.generateChars(4)+"-";l+=s.id?s.id:i.generateChars(4),r.find(".select2-selection__choice__display").append(a).attr("id",l);var c=s.title||s.text;c&&r.attr("title",c);var d=this.options.get("translations").get("removeItem"),h=r.find(".select2-selection__choice__remove");h.attr("title",d()),h.attr("aria-label",d()),h.attr("aria-describedby",l),i.StoreData(r[0],"data",s),e.push(r)}this.$selection.find(".select2-selection__rendered").append(e)}},n}),l.define("select2/selection/placeholder",[],function(){function t(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i)}return t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();return i.html(this.display(e)),i[0].classList.add("select2-selection__placeholder"),i[0].classList.remove("select2-selection__choice"),i},t.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id;if(1<e.length||i)return t.call(this,e);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},t}),l.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(t,e,i){function n(){}return n.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},n.prototype._handleClear=function(t,e){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();var o=i.GetData(n[0],"data"),s=this.$element.val();this.$element.val(this.placeholder.id);var r={data:o};if(this.trigger("clear",r),r.prevented)this.$element.val(s);else{for(var a=0;a<o.length;a++)if(r={data:o[a]},this.trigger("unselect",r),r.prevented)return void this.$element.val(s);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},n.prototype._handleKeyboardClear=function(t,i,n){n.isOpen()||i.which!=e.DELETE&&i.which!=e.BACKSPACE||this._handleClear(i)},n.prototype.update=function(e,n){if(e.call(this,n),this.$selection.find(".select2-selection__clear").remove(),!(0<this.$selection.find(".select2-selection__placeholder").length||0===n.length)){var o=this.$selection.find(".select2-selection__rendered").attr("id"),s=this.options.get("translations").get("removeAllItems"),r=t('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">&times;</span></button>');r.attr("title",s()),r.attr("aria-label",s()),r.attr("aria-describedby",o),i.StoreData(r[0],"data",n),this.$selection.prepend(r)}},n}),l.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,i){function n(t,e,i){t.call(this,e,i)}return n.prototype.render=function(e){var i=t('<span class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');this.$searchContainer=i,this.$search=i.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete"));var n=e.call(this);return this._transferTabIndex(),n.append(this.$searchContainer),n},n.prototype.bind=function(t,n,o){var s=this,r=n.id+"-results",a=n.id+"-container";t.call(this,n,o),s.$search.attr("aria-describedby",a),n.on("open",function(){s.$search.attr("aria-controls",r),s.$search.trigger("focus")}),n.on("close",function(){s.$search.val(""),s.resizeSearch(),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.trigger("focus")}),n.on("enable",function(){s.$search.prop("disabled",!1),s._transferTabIndex()}),n.on("disable",function(){s.$search.prop("disabled",!0)}),n.on("focus",function(t){s.$search.trigger("focus")}),n.on("results:focus",function(t){t.data._resultId?s.$search.attr("aria-activedescendant",t.data._resultId):s.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){s.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){s._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),s.trigger("keypress",t),s._keyUpPrevented=t.isDefaultPrevented(),t.which===i.BACKSPACE&&""===s.$search.val()){var n=s.$selection.find(".select2-selection__choice").last();if(0<n.length){var o=e.GetData(n[0],"data");s.searchRemoveChoice(o),t.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(t){s.$search.val()&&t.stopPropagation()});var l=document.documentMode,c=l&&11>=l;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){c?s.$selection.off("input.search input.searchcheck"):s.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(c&&"input"===t.type)s.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=i.SHIFT&&e!=i.CTRL&&e!=i.ALT&&e!=i.TAB&&s.handleSearch(t)}})},n.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},n.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.resizeSearch(),i&&this.$search.trigger("focus")},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="100%";""===this.$search.attr("placeholder")&&(t=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",t)},n}),l.define("select2/selection/selectionCss",["../utils"],function(t){function e(){}return e.prototype.render=function(e){var i=e.call(this),n=this.options.get("selectionCssClass")||"";return-1!==n.indexOf(":all:")&&(n=n.replace(":all:",""),t.copyNonInternalCssClasses(i[0],this.$element[0])),i.addClass(n),i},e}),l.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,i,n){var o=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];e.call(this,i,n),i.on("*",function(e,i){if(-1!==s.indexOf(e)){i=i||{};var n=t.Event("select2:"+e,{params:i});o.$element.trigger(n),-1!==r.indexOf(e)&&(i.prevented=n.isDefaultPrevented())}})},e}),l.define("select2/translation",["jquery","require"],function(t,e){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(t){if(!(t in i._cache)){var n=e(t);i._cache[t]=n}return new i(i._cache[t])},i}),l.define("select2/diacritics",[],function(){return{"Ⓐ":"A","Ａ":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","Ｂ":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","Ｃ":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","Ｄ":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","Ǳ":"DZ","Ǆ":"DZ","ǲ":"Dz","ǅ":"Dz","Ⓔ":"E","Ｅ":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","Ｆ":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","Ｇ":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","Ｈ":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","Ｉ":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","Ｊ":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","Ｋ":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","Ｌ":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","Ǉ":"LJ","ǈ":"Lj","Ⓜ":"M","Ｍ":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","Ｎ":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","Ǌ":"NJ","ǋ":"Nj","Ⓞ":"O","Ｏ":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","Ｐ":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Ｑ":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","Ｒ":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","Ｓ":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","Ｔ":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","Ｕ":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","Ｖ":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","Ｗ":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","Ｘ":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Ｙ":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Ｚ":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","ａ":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","ｂ":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","ｃ":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","ｄ":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","ǳ":"dz","ǆ":"dz","ⓔ":"e","ｅ":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","ｆ":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","ｇ":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","ｈ":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","ｉ":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","ｊ":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","ｋ":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","ｌ":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","ǉ":"lj","ⓜ":"m","ｍ":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","ｎ":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ŉ":"n","ꞑ":"n","ꞥ":"n","ǌ":"nj","ⓞ":"o","ｏ":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","ｐ":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","ｑ":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","ｒ":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","ｓ":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","ｔ":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","ｕ":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","ｖ":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","ｗ":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","ｘ":"x","ẋ":"x","ẍ":"x","ⓨ":"y","ｙ":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","ｚ":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),l.define("select2/data/base",["../utils"],function(t){function e(t,i){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,i){var n=e.id+"-result-";return n+=t.generateChars(4),n+=null!=i.id?"-"+i.id.toString():"-"+t.generateChars(4)},e}),l.define("select2/data/select",["./base","../utils","jquery"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var e=this;t(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(t){return e.item(i(t))}))},n.prototype.select=function(t){var e=this;if(t.selected=!0,null!=t.element&&"option"===t.element.tagName.toLowerCase())return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var n=[];(t=[t]).push.apply(t,i);for(var o=0;o<t.length;o++){var s=t[o].id;-1===n.indexOf(s)&&n.push(s)}e.$element.val(n),e.$element.trigger("input").trigger("change")});else{var i=t.id;this.$element.val(i),this.$element.trigger("input").trigger("change")}},n.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,null!=t.element&&"option"===t.element.tagName.toLowerCase())return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(i){for(var n=[],o=0;o<i.length;o++){var s=i[o].id;s!==t.id&&-1===n.indexOf(s)&&n.push(s)}e.$element.val(n),e.$element.trigger("input").trigger("change")})}},n.prototype.bind=function(t,e){
var i=this;(this.container=t).on("select",function(t){i.select(t.data)}),t.on("unselect",function(t){i.unselect(t.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){e.RemoveData(this)})},n.prototype.query=function(t,e){var n=[],o=this;this.$element.children().each(function(){if("option"===this.tagName.toLowerCase()||"optgroup"===this.tagName.toLowerCase()){var e=i(this),s=o.item(e),r=o.matches(t,s);null!==r&&n.push(r)}}),e({results:n})},n.prototype.addOptions=function(t){this.$element.append(t)},n.prototype.option=function(t){var n;t.children?(n=document.createElement("optgroup")).label=t.text:void 0!==(n=document.createElement("option")).textContent?n.textContent=t.text:n.innerText=t.text,void 0!==t.id&&(n.value=t.id),t.disabled&&(n.disabled=!0),t.selected&&(n.selected=!0),t.title&&(n.title=t.title);var o=this._normalizeItem(t);return o.element=n,e.StoreData(n,"data",o),i(n)},n.prototype.item=function(t){var n={};if(null!=(n=e.GetData(t[0],"data")))return n;var o=t[0];if("option"===o.tagName.toLowerCase())n={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if("optgroup"===o.tagName.toLowerCase()){n={text:t.prop("label"),children:[],title:t.prop("title")};for(var s=t.children("option"),r=[],a=0;a<s.length;a++){var l=i(s[a]),c=this.item(l);r.push(c)}n.children=r}return(n=this._normalizeItem(n)).element=t[0],e.StoreData(t[0],"data",n),n},n.prototype._normalizeItem=function(t){return t!==Object(t)&&(t={id:t,text:t}),null!=(t=i.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),i.extend({},{selected:!1,disabled:!1},t)},n.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},n}),l.define("select2/data/array",["./select","../utils","jquery"],function(t,e,i){function n(t,e){this._dataToConvert=e.get("data")||[],n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype.bind=function(t,e){n.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},n.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,i){return i.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),n.__super__.select.call(this,t)},n.prototype.convertToOptions=function(t){function e(t){return function(){return i(this).val()==t.id}}for(var n=this,o=this.$element.find("option"),s=o.map(function(){return n.item(i(this)).id}).get(),r=[],a=0;a<t.length;a++){var l=this._normalizeItem(t[a]);if(0<=s.indexOf(l.id)){var c=o.filter(e(l)),d=this.item(c),h=i.extend(!0,{},l,d),u=this.option(h);c.replaceWith(u)}else{var p=this.option(l);if(l.children){var f=this.convertToOptions(l.children);p.append(f)}r.push(p)}}return r},n}),l.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,i){function n(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return i.extend({},t,{q:t.term})},transport:function(t,e,n){var o=i.ajax(t);return o.then(e),o.fail(n),o}};return i.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(t,e){function n(){var i=s.transport(s,function(i){var n=o.processResults(i,t);o.options.get("debug")&&window.console&&console.error&&(n&&n.results&&Array.isArray(n.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(n)},function(){"status"in i&&(0===i.status||"0"===i.status)||o.trigger("results:message",{message:"errorLoading"})});o._request=i}var o=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var s=i.extend({type:"GET"},this.ajaxOptions);"function"==typeof s.url&&(s.url=s.url.call(this.$element,t)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(n,this.ajaxOptions.delay)):n()},n}),l.define("select2/data/tags",["jquery"],function(t){function e(t,e,i){var n=i.get("tags"),o=i.get("createTag");void 0!==o&&(this.createTag=o);var s=i.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,e,i),Array.isArray(n))for(var r=0;r<n.length;r++){var a=n[r],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(t,e,i){var n=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,function o(t,s){for(var r=t.results,a=0;a<r.length;a++){var l=r[a],c=null!=l.children&&!o({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||c)return!s&&(t.data=r,void i(t))}if(s)return!0;var d=n.createTag(e);if(null!=d){var h=n.option(d);h.attr("data-select2-tag",!0),n.addOptions([h]),n.insertTag(r,d)}t.results=r,i(t)}):t.call(this,e,i)},e.prototype.createTag=function(t,e){if(null==e.term)return null;var i=e.term.trim();return""===i?null:{id:i,text:i}},e.prototype.insertTag=function(t,e,i){e.unshift(i)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),l.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),t.call(this,e,i)}return e.prototype.bind=function(t,e,i){t.call(this,e,i),this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")},e.prototype.query=function(e,i,n){var o=this;i.term=i.term||"";var s=this.tokenizer(i,this.options,function(e){var i,n=o._normalizeItem(e);if(!o.$element.find("option").filter(function(){return t(this).val()===n.id}).length){var s=o.option(n);s.attr("data-select2-tag",!0),o._removeOldTags(),o.addOptions([s])}i=n,o.trigger("select",{data:i})});s.term!==i.term&&(this.$search.length&&(this.$search.val(s.term),this.$search.trigger("focus")),i.term=s.term),e.call(this,i,n)},e.prototype.tokenizer=function(e,i,n,o){for(var s=n.get("tokenSeparators")||[],r=i.term,a=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};a<r.length;){var c=r[a];if(-1!==s.indexOf(c)){var d=r.substr(0,a),h=l(t.extend({},i,{term:d}));null!=h?(o(h),r=r.substr(a+1)||"",a=0):a++}else a++}return{term:r}},e}),l.define("select2/data/minimumInputLength",[],function(){function t(t,e,i){this.minimumInputLength=i.get("minimumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),l.define("select2/data/maximumInputLength",[],function(){function t(t,e,i){this.maximumInputLength=i.get("maximumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.term=e.term||"",0<this.maximumInputLength&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),l.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(){n._checkIfMaximumSelected()})},t.prototype.query=function(t,e,i){var n=this;this._checkIfMaximumSelected(function(){t.call(n,e,i)})},t.prototype._checkIfMaximumSelected=function(t,e){var i=this;this.current(function(t){var n=null!=t?t.length:0;0<i.maximumSelectionLength&&n>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):e&&e()})},t}),l.define("select2/dropdown",["jquery","./utils"],function(t,e){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),l.define("select2/dropdown/search",["jquery"],function(t){function e(){}return e.prototype.render=function(e){var i=e.call(this),n=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),i.prepend(n),i},e.prototype.bind=function(e,i,n){var o=this,s=i.id+"-results";e.call(this,i,n),this.$search.on("keydown",function(t){o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){o.handleSearch(t)}),i.on("open",function(){o.$search.attr("tabindex",0),o.$search.attr("aria-controls",s),o.$search.trigger("focus"),window.setTimeout(function(){o.$search.trigger("focus")},0)}),i.on("close",function(){o.$search.attr("tabindex",-1),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.val(""),o.$search.trigger("blur")}),i.on("focus",function(){i.isOpen()||o.$search.trigger("focus")}),i.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(o.showSearch(t)?o.$searchContainer[0].classList.remove("select2-search--hide"):o.$searchContainer[0].classList.add("select2-search--hide"))}),i.on("results:focus",function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),l.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;n>=0;n--){var o=e[n];this.placeholder.id===o.id&&i.splice(n,1)}return i},t}),l.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("query",function(t){n.lastParams=t,n.loading=!0}),e.on("query:append",function(t){n.lastParams=t,n.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var i=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=i+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),l.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(e,i,n){this.$dropdownParent=t(n.get("dropdownParent")||document.body),e.call(this,i,n)}return i.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),n._bindContainerResultHandlers(e)}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},i.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},i.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e[0].classList.remove("select2"),e[0].classList.add("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(e){var i=t("<span></span>"),n=e.call(this);return i.append(n),this.$dropdownContainer=i},i.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},i.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var i=this;e.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:message",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("select",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("unselect",function(){i._positionDropdown(),i._resizeDropdown()}),this._containerResultsHandlersBound=!0}},i.prototype._attachPositioningHandler=function(i,n){var o=this,s="scroll.select2."+n.id,r="resize.select2."+n.id,a="orientationchange.select2."+n.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(s,function(i){var n=e.GetData(this,"select2-scroll-position");t(this).scrollTop(n.y)}),t(window).on(s+" "+r+" "+a,function(t){o._positionDropdown(),o._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i,n){var o="scroll.select2."+n.id,s="resize.select2."+n.id,r="orientationchange.select2."+n.id;this.$container.parents().filter(e.hasScroll).off(o),t(window).off(o+" "+s+" "+r)},i.prototype._positionDropdown=function(){var e=t(window),i=this.$dropdown[0].classList.contains("select2-dropdown--above"),n=this.$dropdown[0].classList.contains("select2-dropdown--below"),o=null,s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=s.top,r.bottom=s.top+r.height;var a=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),d=l<s.top-a,h=c>s.bottom+a,u={left:s.left,top:r.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var f={top:0,left:0};(t.contains(document.body,p[0])||p[0].isConnected)&&(f=p.offset()),u.top-=f.top,u.left-=f.left,i||n||(o="below"),h||!d||i?!d&&h&&i&&(o="below"):o="above",("above"==o||i&&"below"!==o)&&(u.top=r.top-f.top-a),null!=o&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+o),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+o)),this.$dropdownContainer.css(u)},i.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},i.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i}),l.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function i(t){for(var e=0,n=0;n<t.length;n++){var o=t[n];o.children?e+=i(o.children):e++}return e}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),l.define("select2/dropdown/selectOnClose",["../utils"],function(t){function e(){}return e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("close",function(t){n._handleSelectOnClose(t)})},e.prototype._handleSelectOnClose=function(e,i){if(i&&null!=i.originalSelect2Event){var n=i.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var o=this.getHighlightedResults();if(!(o.length<1)){var s=t.GetData(o[0],"data");null!=s.element&&s.element.selected||null==s.element&&s.selected||this.trigger("select",{data:s})}},e}),l.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(t){n._selectTriggered(t)}),e.on("unselect",function(t){n._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var i=e.originalEvent;i&&(i.ctrlKey||i.metaKey)||this.trigger("close",{originalEvent:i,originalSelect2Event:e})},t}),l.define("select2/dropdown/dropdownCss",["../utils"],function(t){function e(){}return e.prototype.render=function(e){var i=e.call(this),n=this.options.get("dropdownCssClass")||"";return-1!==n.indexOf(":all:")&&(n=n.replace(":all:",""),t.copyNonInternalCssClasses(i[0],this.$element[0])),i.addClass(n),i},e}),l.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,i="Please delete "+e+" character";return 1!=e&&(i+="s"),i},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"}}}),l.define("select2/defaults",["jquery","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/selectionCss","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./dropdown/dropdownCss","./i18n/en"],function(t,e,i,n,o,s,r,a,l,c,d,h,u,p,f,m,g,v,y,b,_,x,w,k,C,T,S,$,M,j){function D(){this.reset()}return D.prototype.apply=function(d){if(null==(d=t.extend(!0,{},this.defaults,d)).dataAdapter&&(null!=d.ajax?d.dataAdapter=f:null!=d.data?d.dataAdapter=p:d.dataAdapter=u,0<d.minimumInputLength&&(d.dataAdapter=c.Decorate(d.dataAdapter,v)),0<d.maximumInputLength&&(d.dataAdapter=c.Decorate(d.dataAdapter,y)),0<d.maximumSelectionLength&&(d.dataAdapter=c.Decorate(d.dataAdapter,b)),d.tags&&(d.dataAdapter=c.Decorate(d.dataAdapter,m)),null==d.tokenSeparators&&null==d.tokenizer||(d.dataAdapter=c.Decorate(d.dataAdapter,g))),null==d.resultsAdapter&&(d.resultsAdapter=e,null!=d.ajax&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,k)),null!=d.placeholder&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,w)),d.selectOnClose&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,S))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=_;else{var h=c.Decorate(_,x);d.dropdownAdapter=h}0!==d.minimumResultsForSearch&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,T)),d.closeOnSelect&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,$)),null!=d.dropdownCssClass&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,M)),d.dropdownAdapter=c.Decorate(d.dropdownAdapter,C)}null==d.selectionAdapter&&(d.multiple?d.selectionAdapter=n:d.selectionAdapter=i,null!=d.placeholder&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,o)),d.allowClear&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,s)),d.multiple&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,r)),null!=d.selectionCssClass&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,a)),d.selectionAdapter=c.Decorate(d.selectionAdapter,l)),d.language=this._resolveLanguage(d.language),d.language.push("en");for(var j=[],D=0;D<d.language.length;D++){var E=d.language[D];-1===j.indexOf(E)&&j.push(E)}return d.language=j,d.translations=this._processTranslations(d.language,d.debug),d},D.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return h[t]||t})}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function i(n,o){if(null==n.term||""===n.term.trim())return o;if(o.children&&0<o.children.length){for(var s=t.extend(!0,{},o),r=o.children.length-1;r>=0;r--)null==i(n,o.children[r])&&s.children.splice(r,1);return 0<s.children.length?s:i(n,s)}var a=e(o.text).toUpperCase(),l=e(n.term).toUpperCase();return-1<a.indexOf(l)?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},D.prototype.applyFromElement=function(t,e){var i=t.language,n=this.defaults.language,o=e.prop("lang"),s=e.closest("[lang]").prop("lang"),r=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(s));return t.language=r,t},D.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var i;i=Array.isArray(e)?e:[e];for(var n=[],o=0;o<i.length;o++)if(n.push(i[o]),"string"==typeof i[o]&&0<i[o].indexOf("-")){var s=i[o].split("-")[0];n.push(s)}return n},D.prototype._processTranslations=function(e,i){for(var n=new d,o=0;o<e.length;o++){var s=new d,r=e[o];if("string"==typeof r)try{s=d.loadPath(r)}catch(e){try{r=this.defaults.amdLanguageBase+r,s=d.loadPath(r)}catch(e){i&&window.console&&console.warn&&console.warn('Select2: The language file for "'+r+'" could not be automatically loaded. A fallback will be used instead.')}}else s=t.isPlainObject(r)?new d(r):r;n.extend(s)}return n},D.prototype.set=function(e,i){var n={};n[t.camelCase(e)]=i;var o=c._convertData(n);t.extend(!0,this.defaults,o)},new D}),l.define("select2/options",["jquery","./defaults","./utils"],function(t,e,i){function n(t,i){this.options=t,null!=i&&this.fromElement(i),null!=i&&(this.options=e.applyFromElement(this.options,i)),this.options=e.apply(this.options)}return n.prototype.fromElement=function(e){function n(t,e){return e.toUpperCase()}var o=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.autocomplete&&e.prop("autocomplete")&&(this.options.autocomplete=e.prop("autocomplete")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),i.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),i.StoreData(e[0],"data",i.GetData(e[0],"select2Tags")),i.StoreData(e[0],"tags",!0)),i.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",i.GetData(e[0],"ajaxUrl")),i.StoreData(e[0],"ajax-Url",i.GetData(e[0],"ajaxUrl")));for(var s={},r=0;r<e[0].attributes.length;r++){var a=e[0].attributes[r].name,l="data-";if(a.substr(0,l.length)==l){var c=a.substring(l.length),d=i.GetData(e[0],c);s[c.replace(/-([a-z])/g,n)]=d}}t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset&&(s=t.extend(!0,{},e[0].dataset,s));var h=t.extend(!0,{},i.GetData(e[0]),s);for(var u in h=i._convertData(h))-1<o.indexOf(u)||(t.isPlainObject(this.options[u])?t.extend(this.options[u],h[u]):this.options[u]=h[u]);return this},n.prototype.get=function(t){return this.options[t]},n.prototype.set=function(t,e){this.options[t]=e},n}),l.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,i,n){var o=function(t,n){null!=i.GetData(t[0],"select2")&&i.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),n=n||{},this.options=new e(n,t),o.__super__.constructor.call(this);var s=t.attr("tabindex")||0;i.StoreData(t[0],"old-tabindex",s),t.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(t,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var c=this.options.get("dropdownAdapter");this.dropdown=new c(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var d=this.options.get("resultsAdapter");this.results=new d(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var h=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){h.trigger("selection:update",{data:t})}),t[0].classList.add("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),i.StoreData(t[0],"select2",this),t.data("select2",this)};return i.Extend(o,i.Observable),o.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+i.generateChars(2):i.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},o.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},o.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"!=e)return"computedstyle"!=e?e:window.getComputedStyle(t[0]).width;var s=t.attr("style");if("string"!=typeof s)return null;for(var r=s.split(";"),a=0,l=r.length;l>a;a+=1){var c=r[a].replace(/\s/g,"").match(i);if(null!==c&&1<=c.length)return c[1]}return null},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this._observer=new window.MutationObserver(function(e){t._syncA(),t._syncS(e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},o.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerSelectionEvents=function(){var t=this,e=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(i,n){-1===e.indexOf(i)&&t.trigger(i,n)})},o.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container[0].classList.add("select2-container--open")}),this.on("close",function(){t.$container[0].classList.remove("select2-container--open")}),this.on("enable",function(){t.$container[0].classList.remove("select2-container--disabled")}),this.on("disable",function(){t.$container[0].classList.add("select2-container--disabled")}),this.on("blur",function(){t.$container[0].classList.remove("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(i){t.trigger("results:all",{data:i,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(i){t.trigger("results:append",{data:i,query:e})})}),this.on("keypress",function(e){var i=e.which;t.isOpen()?i===n.ESC||i===n.TAB||i===n.UP&&e.altKey?(t.close(e),e.preventDefault()):i===n.ENTER?(t.trigger("results:select",{}),e.preventDefault()):i===n.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):i===n.UP?(t.trigger("results:previous",{}),e.preventDefault()):i===n.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(i===n.ENTER||i===n.SPACE||i===n.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._isChangeMutation=function(t){var e=this;if(t.addedNodes&&0<t.addedNodes.length){for(var i=0;i<t.addedNodes.length;i++)if(t.addedNodes[i].selected)return!0}else{if(t.removedNodes&&0<t.removedNodes.length)return!0;if(Array.isArray(t))return t.some(function(t){return e._isChangeMutation(t)})}return!1},o.prototype._syncSubtree=function(t){var e=this._isChangeMutation(t),i=this;e&&this.dataAdapter.current(function(t){i.trigger("selection:update",{data:t})})},o.prototype.trigger=function(t,e){var i=o.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in n){var s=n[t],r={prevented:!1,name:t,args:e};if(i.call(this,s,r),r.prevented)return void(e.prevented=!0)}i.call(this,t,e)},o.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},o.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},o.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},o.prototype.focus=function(t){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},o.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');
var t=[];return this.dataAdapter.current(function(e){t=e}),t},o.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var e=t[0];Array.isArray(e)&&(e=e.map(function(t){return t.toString()})),this.$element.val(e).trigger("input").trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),i.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),i.StoreData(e[0],"element",this.$element),e},o}),l.define("jquery-mousewheel",["jquery"],function(t){return t}),l.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(t,e,i,n,o){if(null==t.fn.select2){var s=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var n=t.extend(!0,{},e);new i(t(this),n)}),this;if("string"!=typeof e)throw new Error("Invalid arguments for Select2: "+e);var n,r=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=o.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,r)}),-1<s.indexOf(e)?this:n}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=n),i}),{define:l.define,require:l.require}}(),i=e.require("jquery.select2");return t.fn.select2.amd=e,i}),!function(t,e){"function"==typeof define&&define.amd?define("tooltipster",["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(this,function(t){function e(t){this.$container,this.constraints=null,this.__$tooltip,this.__init(t)}function i(e,i){var n=!0;return t.each(e,function(t,o){return void 0===i[t]||e[t]!==i[t]?(n=!1,!1):void 0}),n}function n(e){var i=e.attr("id"),n=i?a.window.document.getElementById(i):null;return n?n===e[0]:t.contains(a.window.document.body,e[0])}function o(){if(!r)return!1;var t=r.document.body||r.document.documentElement,e=t.style,i="transition",n=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof e[i])return!0;i=i.charAt(0).toUpperCase()+i.substr(1);for(var o=0;o<n.length;o++)if("string"==typeof e[n[o]+i])return!0;return!1}var s={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:99999999999},r="undefined"!=typeof window?window:null,a={hasTouchCapability:!(!r||!("ontouchstart"in r||r.DocumentTouch&&r.document instanceof r.DocumentTouch||r.navigator.maxTouchPoints)),hasTransitions:o(),IE:!1,semVer:"4.2.6",window:r},l=function(){this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__instancesLatestArr=[],this.__plugins={},this._env=a};l.prototype={__bridge:function(e,i,n){if(!i[n]){var o=function(){};o.prototype=e;var r=new o;r.__init&&r.__init(i),t.each(e,function(t,e){0!=t.indexOf("__")&&(i[t]?s.debug&&console.log("The "+t+" method of the "+n+" plugin conflicts with another plugin or native methods"):(i[t]=function(){return r[t].apply(r,Array.prototype.slice.apply(arguments))},i[t].bridged=r))}),i[n]=r}return this},__setWindow:function(t){return a.window=t,this},_getRuler:function(t){return new e(t)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(e){var i=this;if("string"==typeof e){var n=e,o=null;return n.indexOf(".")>0?o=i.__plugins[n]:t.each(i.__plugins,function(t,e){return e.name.substring(e.name.length-n.length-1)=="."+n?(o=e,!1):void 0}),o}if(e.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return i.__plugins[e.name]=e,e.core&&i.__bridge(e.core,i,e.name),this},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return"string"==typeof t[0]&&(t[0]={type:t[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},instances:function(e){var i=[],n=e||".tooltipstered";return t(n).each(function(){var e=t(this),n=e.data("tooltipster-ns");n&&t.each(n,function(t,n){i.push(e.data(n))})}),i},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(e){var i=e?e+" ":"";return t(i+".tooltipstered").toArray()},setDefaults:function(e){return t.extend(s,e),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.tooltipster=new l,t.Tooltipster=function(e,i){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(e,i)},t.Tooltipster.prototype={__init:function(e,i){var n=this;if(n._$origin=t(e),n.__options=t.extend(!0,{},s,i),n.__optionsFormat(),!a.IE||a.IE>=n.__options.IEmin){var o=null;if(void 0===n._$origin.data("tooltipster-initialTitle")&&(o=n._$origin.attr("title"),void 0===o&&(o=null),n._$origin.data("tooltipster-initialTitle",o)),null!==n.__options.content)n.__contentSet(n.__options.content);else{var r,l=n._$origin.attr("data-tooltip-content");l&&(r=t(l)),r&&r[0]?n.__contentSet(r.first()):n.__contentSet(o)}n._$origin.removeAttr("title").addClass("tooltipstered"),n.__prepareOrigin(),n.__prepareGC(),t.each(n.__options.plugins,function(t,e){n._plug(e)}),a.hasTouchCapability&&t(a.window.document.body).on("touchmove."+n.__namespace+"-triggerOpen",function(t){n._touchRecordEvent(t)}),n._on("created",function(){n.__prepareTooltip()})._on("repositioned",function(t){n.__lastPosition=t.position})}else n.__options.disabled=!0},__contentInsert:function(){var t=this,e=t._$tooltip.find(".tooltipster-content"),i=t.__Content,n=function(t){i=t};return t._trigger({type:"format",content:t.__Content,format:n}),t.__options.functionFormat&&(i=t.__options.functionFormat.call(t,t,{origin:t._$origin[0]},t.__Content)),"string"!=typeof i||t.__options.contentAsHTML?e.empty().append(i):e.text(i),t},__contentSet:function(e){return e instanceof t&&this.__options.contentCloning&&(e=e.clone(!0)),this.__Content=e,this._trigger({type:"updated",content:e}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var e=this,i=e._$origin,n=e._$origin.is("area");if(n){var o=e._$origin.parent().attr("name");i=t('img[usemap="#'+o+'"]')}var s=i[0].getBoundingClientRect(),r=t(a.window.document),l=t(a.window),c=i,d={available:{document:null,window:null},document:{size:{height:r.height(),width:r.width()}},window:{scroll:{left:a.window.scrollX||a.window.document.documentElement.scrollLeft,top:a.window.scrollY||a.window.document.documentElement.scrollTop},size:{height:l.height(),width:l.width()}},origin:{fixedLineage:!1,offset:{},size:{height:s.bottom-s.top,width:s.right-s.left},usemapImage:n?i[0]:null,windowOffset:{bottom:s.bottom,left:s.left,right:s.right,top:s.top}}};if(n){var h=e._$origin.attr("shape"),u=e._$origin.attr("coords");if(u&&(u=u.split(","),t.map(u,function(t,e){u[e]=parseInt(t)})),"default"!=h)switch(h){case"circle":var p=u[0],f=u[1],m=u[2],g=f-m,v=p-m;d.origin.size.height=2*m,d.origin.size.width=d.origin.size.height,d.origin.windowOffset.left+=v,d.origin.windowOffset.top+=g;break;case"rect":var y=u[0],b=u[1],_=u[2],x=u[3];d.origin.size.height=x-b,d.origin.size.width=_-y,d.origin.windowOffset.left+=y,d.origin.windowOffset.top+=b;break;case"poly":for(var w=0,k=0,C=0,T=0,S="even",$=0;$<u.length;$++){var M=u[$];"even"==S?(M>C&&(C=M,0===$&&(w=C)),w>M&&(w=M),S="odd"):(M>T&&(T=M,1==$&&(k=T)),k>M&&(k=M),S="even")}d.origin.size.height=T-k,d.origin.size.width=C-w,d.origin.windowOffset.left+=w,d.origin.windowOffset.top+=k}}var j=function(t){d.origin.size.height=t.height,d.origin.windowOffset.left=t.left,d.origin.windowOffset.top=t.top,d.origin.size.width=t.width};for(e._trigger({type:"geometry",edit:j,geometry:{height:d.origin.size.height,left:d.origin.windowOffset.left,top:d.origin.windowOffset.top,width:d.origin.size.width}}),d.origin.windowOffset.right=d.origin.windowOffset.left+d.origin.size.width,d.origin.windowOffset.bottom=d.origin.windowOffset.top+d.origin.size.height,d.origin.offset.left=d.origin.windowOffset.left+d.window.scroll.left,d.origin.offset.top=d.origin.windowOffset.top+d.window.scroll.top,d.origin.offset.bottom=d.origin.offset.top+d.origin.size.height,d.origin.offset.right=d.origin.offset.left+d.origin.size.width,d.available.document={bottom:{height:d.document.size.height-d.origin.offset.bottom,width:d.document.size.width},left:{height:d.document.size.height,width:d.origin.offset.left},right:{height:d.document.size.height,width:d.document.size.width-d.origin.offset.right},top:{height:d.origin.offset.top,width:d.document.size.width}},d.available.window={bottom:{height:Math.max(d.window.size.height-Math.max(d.origin.windowOffset.bottom,0),0),width:d.window.size.width},left:{height:d.window.size.height,width:Math.max(d.origin.windowOffset.left,0)},right:{height:d.window.size.height,width:Math.max(d.window.size.width-Math.max(d.origin.windowOffset.right,0),0)},top:{height:Math.max(d.origin.windowOffset.top,0),width:d.window.size.width}};"html"!=c[0].tagName.toLowerCase();){if("fixed"==c.css("position")){d.origin.fixedLineage=!0;break}c=c.parent()}return d},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=t(a.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=t(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var e=this;return e.__options.selfDestruction?e.__garbageCollector=setInterval(function(){var i=(new Date).getTime();e.__touchEvents=t.grep(e.__touchEvents,function(t,e){return i-t.time>6e4}),n(e._$origin)||e.close(function(){e.destroy()})},2e4):clearInterval(e.__garbageCollector),e},__prepareOrigin:function(){var t=this;if(t._$origin.off("."+t.__namespace+"-triggerOpen"),a.hasTouchCapability&&t._$origin.on("touchstart."+t.__namespace+"-triggerOpen touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen",function(e){t._touchRecordEvent(e)}),t.__options.triggerOpen.click||t.__options.triggerOpen.tap&&a.hasTouchCapability){var e="";t.__options.triggerOpen.click&&(e+="click."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.tap&&a.hasTouchCapability&&(e+="touchend."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){t._touchIsMeaningfulEvent(e)&&t._open(e)})}if(t.__options.triggerOpen.mouseenter||t.__options.triggerOpen.touchstart&&a.hasTouchCapability){var e="";t.__options.triggerOpen.mouseenter&&(e+="mouseenter."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.touchstart&&a.hasTouchCapability&&(e+="touchstart."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){!t._touchIsTouchEvent(e)&&t._touchIsEmulatedEvent(e)||(t.__pointerIsOverOrigin=!0,t._openShortly(e))})}if(t.__options.triggerClose.mouseleave||t.__options.triggerClose.touchleave&&a.hasTouchCapability){var e="";t.__options.triggerClose.mouseleave&&(e+="mouseleave."+t.__namespace+"-triggerOpen "),t.__options.triggerClose.touchleave&&a.hasTouchCapability&&(e+="touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){t._touchIsMeaningfulEvent(e)&&(t.__pointerIsOverOrigin=!1)})}return t},__prepareTooltip:function(){var e=this,i=e.__options.interactive?"auto":"";return e._$tooltip.attr("id",e.__namespace).css({"pointer-events":i,zIndex:e.__options.zIndex}),t.each(e.__previousThemes,function(t,i){e._$tooltip.removeClass(i)}),t.each(e.__options.theme,function(t,i){e._$tooltip.addClass(i)}),e.__previousThemes=t.merge([],e.__options.theme),e},__scrollHandler:function(e){var i=this;if(i.__options.triggerClose.scroll)i._close(e);else if(n(i._$origin)&&n(i._$tooltip)){var o=null;if(e.target===a.window.document)i.__Geometry.origin.fixedLineage||i.__options.repositionOnScroll&&i.reposition(e);else{o=i.__geometry();var s=!1;if("fixed"!=i._$origin.css("position")&&i.__$originParents.each(function(e,i){var n=t(i),r=n.css("overflow-x"),a=n.css("overflow-y");if("visible"!=r||"visible"!=a){var l=i.getBoundingClientRect();if("visible"!=r&&(o.origin.windowOffset.left<l.left||o.origin.windowOffset.right>l.right))return s=!0,!1;if("visible"!=a&&(o.origin.windowOffset.top<l.top||o.origin.windowOffset.bottom>l.bottom))return s=!0,!1}return"fixed"==n.css("position")?!1:void 0}),s)i._$tooltip.css("visibility","hidden");else if(i._$tooltip.css("visibility","visible"),i.__options.repositionOnScroll)i.reposition(e);else{var r=o.origin.offset.left-i.__Geometry.origin.offset.left,l=o.origin.offset.top-i.__Geometry.origin.offset.top;i._$tooltip.css({left:i.__lastPosition.coord.left+r,top:i.__lastPosition.coord.top+l})}}i._trigger({type:"scroll",event:e,geo:o})}return i},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,t.each(this.__timeouts.close,function(t,e){clearTimeout(e)}),this.__timeouts.close=[],this},__trackerStart:function(){var t=this,e=t._$tooltip.find(".tooltipster-content");return t.__options.trackTooltip&&(t.__contentBcr=e[0].getBoundingClientRect()),t.__tracker=setInterval(function(){if(n(t._$origin)&&n(t._$tooltip)){if(t.__options.trackOrigin){var o=t.__geometry(),s=!1;i(o.origin.size,t.__Geometry.origin.size)&&(t.__Geometry.origin.fixedLineage?i(o.origin.windowOffset,t.__Geometry.origin.windowOffset)&&(s=!0):i(o.origin.offset,t.__Geometry.origin.offset)&&(s=!0)),s||(t.__options.triggerClose.mouseleave?t._close():t.reposition())}if(t.__options.trackTooltip){var r=e[0].getBoundingClientRect();r.height===t.__contentBcr.height&&r.width===t.__contentBcr.width||(t.reposition(),t.__contentBcr=r)}}else t._close()},t.__options.trackerInterval),t},_close:function(e,i,n){var o=this,s=!0;if(o._trigger({type:"close",event:e,stop:function(){s=!1}}),s||n){i&&o.__callbacks.close.push(i),o.__callbacks.open=[],o.__timeoutsClear();var r=function(){t.each(o.__callbacks.close,function(t,i){i.call(o,o,{event:e,origin:o._$origin[0]})}),o.__callbacks.close=[]};if("closed"!=o.__state){var l=!0,c=new Date,d=c.getTime(),h=d+o.__options.animationDuration[1];if("disappearing"==o.__state&&h>o.__closingTime&&o.__options.animationDuration[1]>0&&(l=!1),l){o.__closingTime=h,"disappearing"!=o.__state&&o.__stateSet("disappearing");var u=function(){clearInterval(o.__tracker),o._trigger({type:"closing",event:e}),o._$tooltip.off("."+o.__namespace+"-triggerClose").removeClass("tooltipster-dying"),t(a.window).off("."+o.__namespace+"-triggerClose"),o.__$originParents.each(function(e,i){t(i).off("scroll."+o.__namespace+"-triggerClose")}),o.__$originParents=null,t(a.window.document.body).off("."+o.__namespace+"-triggerClose"),o._$origin.off("."+o.__namespace+"-triggerClose"),o._off("dismissable"),o.__stateSet("closed"),o._trigger({type:"after",event:e}),o.__options.functionAfter&&o.__options.functionAfter.call(o,o,{event:e,origin:o._$origin[0]}),r()};a.hasTransitions?(o._$tooltip.css({"-moz-animation-duration":o.__options.animationDuration[1]+"ms","-ms-animation-duration":o.__options.animationDuration[1]+"ms","-o-animation-duration":o.__options.animationDuration[1]+"ms","-webkit-animation-duration":o.__options.animationDuration[1]+"ms","animation-duration":o.__options.animationDuration[1]+"ms","transition-duration":o.__options.animationDuration[1]+"ms"}),o._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),o.__options.animationDuration[1]>0&&o._$tooltip.delay(o.__options.animationDuration[1]),o._$tooltip.queue(u)):o._$tooltip.stop().fadeOut(o.__options.animationDuration[1],u)}}else r()}return o},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(e,i){var o=this;if(!o.__destroying&&n(o._$origin)&&o.__enabled){var s=!0;if("closed"==o.__state&&(o._trigger({type:"before",event:e,stop:function(){s=!1}}),s&&o.__options.functionBefore&&(s=o.__options.functionBefore.call(o,o,{event:e,origin:o._$origin[0]}))),s!==!1&&null!==o.__Content){i&&o.__callbacks.open.push(i),o.__callbacks.close=[],o.__timeoutsClear();var r,l=function(){"stable"!=o.__state&&o.__stateSet("stable"),t.each(o.__callbacks.open,function(t,e){e.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}),o.__callbacks.open=[]};if("closed"!==o.__state)r=0,"disappearing"===o.__state?(o.__stateSet("appearing"),a.hasTransitions?(o._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),o.__options.animationDuration[0]>0&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(l)):o._$tooltip.stop().fadeIn(l)):"stable"==o.__state&&l();else{if(o.__stateSet("appearing"),r=o.__options.animationDuration[0],o.__contentInsert(),o.reposition(e,!0),a.hasTransitions?(o._$tooltip.addClass("tooltipster-"+o.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":o.__options.animationDuration[0]+"ms","-ms-animation-duration":o.__options.animationDuration[0]+"ms","-o-animation-duration":o.__options.animationDuration[0]+"ms","-webkit-animation-duration":o.__options.animationDuration[0]+"ms","animation-duration":o.__options.animationDuration[0]+"ms","transition-duration":o.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=o.__state&&(o._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),o.__options.animationDuration[0]>0&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(l))},0)):o._$tooltip.css("display","none").fadeIn(o.__options.animationDuration[0],l),o.__trackerStart(),t(a.window).on("resize."+o.__namespace+"-triggerClose",function(e){var i=t(document.activeElement);(i.is("input")||i.is("textarea"))&&t.contains(o._$tooltip[0],i[0])||o.reposition(e)}).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)}),o.__$originParents=o._$origin.parents(),o.__$originParents.each(function(e,i){t(i).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)})}),o.__options.triggerClose.mouseleave||o.__options.triggerClose.touchleave&&a.hasTouchCapability){o._on("dismissable",function(t){t.dismissable?t.delay?(u=setTimeout(function(){o._close(t.event)},t.delay),o.__timeouts.close.push(u)):o._close(t):clearTimeout(u)});var c=o._$origin,d="",h="",u=null;o.__options.interactive&&(c=c.add(o._$tooltip)),o.__options.triggerClose.mouseleave&&(d+="mouseenter."+o.__namespace+"-triggerClose ",h+="mouseleave."+o.__namespace+"-triggerClose "),o.__options.triggerClose.touchleave&&a.hasTouchCapability&&(d+="touchstart."+o.__namespace+"-triggerClose",h+="touchend."+o.__namespace+"-triggerClose touchcancel."+o.__namespace+"-triggerClose"),c.on(h,function(t){if(o._touchIsTouchEvent(t)||!o._touchIsEmulatedEvent(t)){var e="mouseleave"==t.type?o.__options.delay:o.__options.delayTouch;o._trigger({delay:e[1],dismissable:!0,event:t,type:"dismissable"})}}).on(d,function(t){!o._touchIsTouchEvent(t)&&o._touchIsEmulatedEvent(t)||o._trigger({dismissable:!1,event:t,type:"dismissable"})})}o.__options.triggerClose.originClick&&o._$origin.on("click."+o.__namespace+"-triggerClose",function(t){o._touchIsTouchEvent(t)||o._touchIsEmulatedEvent(t)||o._close(t)}),(o.__options.triggerClose.click||o.__options.triggerClose.tap&&a.hasTouchCapability)&&setTimeout(function(){if("closed"!=o.__state){var e="",i=t(a.window.document.body);o.__options.triggerClose.click&&(e+="click."+o.__namespace+"-triggerClose "),o.__options.triggerClose.tap&&a.hasTouchCapability&&(e+="touchend."+o.__namespace+"-triggerClose"),i.on(e,function(e){o._touchIsMeaningfulEvent(e)&&(o._touchRecordEvent(e),o.__options.interactive&&t.contains(o._$tooltip[0],e.target)||o._close(e))}),o.__options.triggerClose.tap&&a.hasTouchCapability&&i.on("touchstart."+o.__namespace+"-triggerClose",function(t){o._touchRecordEvent(t)})}},0),o._trigger("ready"),o.__options.functionReady&&o.__options.functionReady.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}if(o.__options.timer>0){var u=setTimeout(function(){o._close()},o.__options.timer+r);o.__timeouts.close.push(u)}}}return o},_openShortly:function(t){var e=this,i=!0;if("stable"!=e.__state&&"appearing"!=e.__state&&!e.__timeouts.open&&(e._trigger({type:"start",event:t,stop:function(){i=!1}}),i)){var n=0==t.type.indexOf("touch")?e.__options.delayTouch:e.__options.delay;n[0]?e.__timeouts.open=setTimeout(function(){e.__timeouts.open=null,e.__pointerIsOverOrigin&&e._touchIsMeaningfulEvent(t)?(e._trigger("startend"),e._open(t)):e._trigger("startcancel")},n[0]):(e._trigger("startend"),e._open(t))}return e},_optionsExtract:function(e,i){var n=this,o=t.extend(!0,{},i),s=n.__options[e];return s||(s={},t.each(i,function(t,e){var i=n.__options[t];void 0!==i&&(s[t]=i)})),t.each(o,function(e,i){void 0!==s[e]&&("object"!=typeof i||i instanceof Array||null==i||"object"!=typeof s[e]||s[e]instanceof Array||null==s[e]?o[e]=s[e]:t.extend(o[e],s[e]))}),o},_plug:function(e){var i=t.tooltipster._plugin(e);if(!i)throw new Error('The "'+e+'" plugin is not defined');return i.instance&&t.tooltipster.__bridge(i.instance,this,i.name),this},_touchIsEmulatedEvent:function(t){for(var e=!1,i=(new Date).getTime(),n=this.__touchEvents.length-1;n>=0;n--){var o=this.__touchEvents[n];if(!(i-o.time<500))break;o.target===t.target&&(e=!0)}return e},_touchIsMeaningfulEvent:function(t){return this._touchIsTouchEvent(t)&&!this._touchSwiped(t.target)||!this._touchIsTouchEvent(t)&&!this._touchIsEmulatedEvent(t)},_touchIsTouchEvent:function(t){return 0==t.type.indexOf("touch")},_touchRecordEvent:function(t){return this._touchIsTouchEvent(t)&&(t.time=(new Date).getTime(),this.__touchEvents.push(t)),this},_touchSwiped:function(t){for(var e=!1,i=this.__touchEvents.length-1;i>=0;i--){var n=this.__touchEvents[i];if("touchmove"==n.type){e=!0;break}if("touchstart"==n.type&&t===n.target)break}return e},_trigger:function(){var e=Array.prototype.slice.apply(arguments);return"string"==typeof e[0]&&(e[0]={type:e[0]}),e[0].instance=this,e[0].origin=this._$origin?this._$origin[0]:null,e[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,e),t.tooltipster._trigger.apply(t.tooltipster,e),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,e),this},_unplug:function(e){var i=this;if(i[e]){var n=t.tooltipster._plugin(e);n.instance&&t.each(n.instance,function(t,n){i[t]&&i[t].bridged===i[e]&&delete i[t]}),i[e].__destroy&&i[e].__destroy(),delete i[e]}return i},close:function(t){return this.__destroyed?this.__destroyError():this._close(null,t),this},content:function(t){var e=this;if(void 0===t)return e.__Content;if(e.__destroyed)e.__destroyError();else if(e.__contentSet(t),null!==e.__Content){if("closed"!==e.__state&&(e.__contentInsert(),e.reposition(),e.__options.updateAnimation))if(a.hasTransitions){var i=e.__options.updateAnimation;e._$tooltip.addClass("tooltipster-update-"+i),setTimeout(function(){"closed"!=e.__state&&e._$tooltip.removeClass("tooltipster-update-"+i)},1e3)}else e._$tooltip.fadeTo(200,.5,function(){"closed"!=e.__state&&e._$tooltip.fadeTo(200,1)})}else e._close();return e},destroy:function(){var e=this;if(e.__destroyed)e.__destroyError();else{"closed"!=e.__state?e.option("animationDuration",0)._close(null,null,!0):e.__timeoutsClear(),e._trigger("destroy"),e.__destroyed=!0,e._$origin.removeData(e.__namespace).off("."+e.__namespace+"-triggerOpen"),t(a.window.document.body).off("."+e.__namespace+"-triggerOpen");var i=e._$origin.data("tooltipster-ns");if(i)if(1===i.length){var n=null;"previous"==e.__options.restoration?n=e._$origin.data("tooltipster-initialTitle"):"current"==e.__options.restoration&&(n="string"==typeof e.__Content?e.__Content:t("<div></div>").append(e.__Content).html()),n&&e._$origin.attr("title",n),e._$origin.removeClass("tooltipstered"),e._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else i=t.grep(i,function(t,i){return t!==e.__namespace}),e._$origin.data("tooltipster-ns",i);e._trigger("destroyed"),e._off(),e.off(),e.__Content=null,e.__$emitterPrivate=null,e.__$emitterPublic=null,e.__options.parent=null,e._$origin=null,e._$tooltip=null,t.tooltipster.__instancesLatestArr=t.grep(t.tooltipster.__instancesLatestArr,function(t,i){return e!==t}),clearInterval(e.__garbageCollector)}return e},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed?this.__destroyError():this._open(null,t),this},option:function(e,i){return void 0===i?this.__options[e]:(this.__destroyed?this.__destroyError():(this.__options[e]=i,this.__optionsFormat(),t.inArray(e,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===e&&this.__prepareGC()),this)},reposition:function(t,e){var i=this;return i.__destroyed?i.__destroyError():"closed"!=i.__state&&n(i._$origin)&&(e||n(i._$tooltip))&&(e||i._$tooltip.detach(),i.__Geometry=i.__geometry(),i._trigger({type:"reposition",event:t,helper:{geo:i.__Geometry}})),i},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.fn.tooltipster=function(){var e=Array.prototype.slice.apply(arguments),i="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof e[0]){var n="#*$~&";return this.each(function(){var o=t(this).data("tooltipster-ns"),s=o?t(this).data(o[0]):null;if(!s)throw new Error("You called Tooltipster's \""+e[0]+'" method on an uninitialized element');if("function"!=typeof s[e[0]])throw new Error('Unknown method "'+e[0]+'"');this.length>1&&"content"==e[0]&&(e[1]instanceof t||"object"==typeof e[1]&&null!=e[1]&&e[1].tagName)&&!s.__options.contentCloning&&s.__options.debug&&console.log(i);var r=s[e[0]](e[1],e[2]);return r!==s||"instance"===e[0]?(n=r,!1):void 0}),"#*$~&"!==n?n:this}t.tooltipster.__instancesLatestArr=[];var o=e[0]&&void 0!==e[0].multiple,r=o&&e[0].multiple||!o&&s.multiple,a=e[0]&&void 0!==e[0].content,l=a&&e[0].content||!a&&s.content,c=e[0]&&void 0!==e[0].contentCloning,d=c&&e[0].contentCloning||!c&&s.contentCloning,h=e[0]&&void 0!==e[0].debug,u=h&&e[0].debug||!h&&s.debug;return this.length>1&&(l instanceof t||"object"==typeof l&&null!=l&&l.tagName)&&!d&&u&&console.log(i),this.each(function(){var i=!1,n=t(this),o=n.data("tooltipster-ns"),s=null;o?r?i=!0:u&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):i=!0,i&&(s=new t.Tooltipster(this,e[0]),o||(o=[]),o.push(s.__namespace),n.data("tooltipster-ns",o),n.data(s.__namespace,s),s.__options.functionInit&&s.__options.functionInit.call(s,s,{origin:this}),s._trigger("init")),t.tooltipster.__instancesLatestArr.push(s)}),this},e.prototype={__init:function(e){this.__$tooltip=e,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=t('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo(a.window.document.body)},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,e){return this.constraints={width:t,height:e},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,
this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t=this.__$tooltip[0].getBoundingClientRect(),e={size:{height:t.height||t.bottom-t.top,width:t.width||t.right-t.left}};if(this.constraints){var i=this.__$tooltip.find(".tooltipster-content"),n=this.__$tooltip.outerHeight(),o=i[0].getBoundingClientRect(),s={height:n<=this.constraints.height,width:t.width<=this.constraints.width&&o.width>=i[0].scrollWidth-1};e.fits=s.height&&s.width}return a.IE&&a.IE<=11&&e.size.width!==a.window.document.documentElement.clientWidth&&(e.size.width=Math.ceil(e.size.width)+1),e}};var c=navigator.userAgent.toLowerCase();-1!=c.indexOf("msie")?a.IE=parseInt(c.split("msie")[1]):-1!==c.toLowerCase().indexOf("trident")&&-1!==c.indexOf(" rv:11")?a.IE=11:-1!=c.toLowerCase().indexOf("edge/")&&(a.IE=parseInt(c.toLowerCase().split("edge/")[1]));var d="tooltipster.sideTip";return t.tooltipster._plugin({name:d,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var e=this;e.__instance=t,e.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),e.__previousState="closed",e.__options,e.__optionsFormat(),e.__instance._on("state."+e.__namespace,function(t){"closed"==t.state?e.__close():"appearing"==t.state&&"closed"==e.__previousState&&e.__create(),e.__previousState=t.state}),e.__instance._on("options."+e.__namespace,function(){e.__optionsFormat()}),e.__instance._on("reposition."+e.__namespace,function(t){e.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof t&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var e=t('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||e.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&e.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&e.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=e,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var e=this;if(e.__options=e.__instance._optionsExtract(d,e.__defaults()),e.__options.position&&(e.__options.side=e.__options.position),"object"!=typeof e.__options.distance&&(e.__options.distance=[e.__options.distance]),e.__options.distance.length<4&&(void 0===e.__options.distance[1]&&(e.__options.distance[1]=e.__options.distance[0]),void 0===e.__options.distance[2]&&(e.__options.distance[2]=e.__options.distance[0]),void 0===e.__options.distance[3]&&(e.__options.distance[3]=e.__options.distance[1]),e.__options.distance={top:e.__options.distance[0],right:e.__options.distance[1],bottom:e.__options.distance[2],left:e.__options.distance[3]}),"string"==typeof e.__options.side){var i={top:"bottom",right:"left",bottom:"top",left:"right"};e.__options.side=[e.__options.side,i[e.__options.side]],"left"==e.__options.side[0]||"right"==e.__options.side[0]?e.__options.side.push("top","bottom"):e.__options.side.push("right","left")}6===t.tooltipster._env.IE&&e.__options.arrow!==!0&&(e.__options.arrow=!1)},__reposition:function(e,i){var n,o=this,s=o.__targetFind(i),r=[];o.__instance._$tooltip.detach();var a=o.__instance._$tooltip.clone(),l=t.tooltipster._getRuler(a),c=!1,d=o.__instance.option("animation");switch(d&&a.removeClass("tooltipster-"+d),t.each(["window","document"],function(n,d){var h=null;if(o.__instance._trigger({container:d,helper:i,satisfied:c,takeTest:function(t){h=t},results:r,type:"positionTest"}),1==h||0!=h&&0==c&&("window"!=d||o.__options.viewportAware))for(var n=0;n<o.__options.side.length;n++){var u={horizontal:0,vertical:0},p=o.__options.side[n];"top"==p||"bottom"==p?u.vertical=o.__options.distance[p]:u.horizontal=o.__options.distance[p],o.__sideChange(a,p),t.each(["natural","constrained"],function(t,n){if(h=null,o.__instance._trigger({container:d,event:e,helper:i,mode:n,results:r,satisfied:c,side:p,takeTest:function(t){h=t},type:"positionTest"}),1==h||0!=h&&0==c){var a={container:d,distance:u,fits:null,mode:n,outerSize:null,side:p,size:null,target:s[p],whole:null},f="natural"==n?l.free():l.constrain(i.geo.available[d][p].width-u.horizontal,i.geo.available[d][p].height-u.vertical),m=f.measure();if(a.size=m.size,a.outerSize={height:m.size.height+u.vertical,width:m.size.width+u.horizontal},"natural"==n?i.geo.available[d][p].width>=a.outerSize.width&&i.geo.available[d][p].height>=a.outerSize.height?a.fits=!0:a.fits=!1:a.fits=m.fits,"window"==d&&(a.fits?"top"==p||"bottom"==p?a.whole=i.geo.origin.windowOffset.right>=o.__options.minIntersection&&i.geo.window.size.width-i.geo.origin.windowOffset.left>=o.__options.minIntersection:a.whole=i.geo.origin.windowOffset.bottom>=o.__options.minIntersection&&i.geo.window.size.height-i.geo.origin.windowOffset.top>=o.__options.minIntersection:a.whole=!1),r.push(a),a.whole)c=!0;else if("natural"==a.mode&&(a.fits||a.size.width<=i.geo.available[d][p].width))return!1}})}}),o.__instance._trigger({edit:function(t){r=t},event:e,helper:i,results:r,type:"positionTested"}),r.sort(function(t,e){if(t.whole&&!e.whole)return-1;if(!t.whole&&e.whole)return 1;if(t.whole&&e.whole){var i=o.__options.side.indexOf(t.side),n=o.__options.side.indexOf(e.side);return n>i?-1:i>n?1:"natural"==t.mode?-1:1}if(t.fits&&!e.fits)return-1;if(!t.fits&&e.fits)return 1;if(t.fits&&e.fits){var i=o.__options.side.indexOf(t.side),n=o.__options.side.indexOf(e.side);return n>i?-1:i>n?1:"natural"==t.mode?-1:1}return"document"==t.container&&"bottom"==t.side&&"natural"==t.mode?-1:1}),n=r[0],n.coord={},n.side){case"left":case"right":n.coord.top=Math.floor(n.target-n.size.height/2);break;case"bottom":case"top":n.coord.left=Math.floor(n.target-n.size.width/2)}switch(n.side){case"left":n.coord.left=i.geo.origin.windowOffset.left-n.outerSize.width;break;case"right":n.coord.left=i.geo.origin.windowOffset.right+n.distance.horizontal;break;case"top":n.coord.top=i.geo.origin.windowOffset.top-n.outerSize.height;break;case"bottom":n.coord.top=i.geo.origin.windowOffset.bottom+n.distance.vertical}"window"==n.container?"top"==n.side||"bottom"==n.side?n.coord.left<0?i.geo.origin.windowOffset.right-this.__options.minIntersection>=0?n.coord.left=0:n.coord.left=i.geo.origin.windowOffset.right-this.__options.minIntersection-1:n.coord.left>i.geo.window.size.width-n.size.width&&(i.geo.origin.windowOffset.left+this.__options.minIntersection<=i.geo.window.size.width?n.coord.left=i.geo.window.size.width-n.size.width:n.coord.left=i.geo.origin.windowOffset.left+this.__options.minIntersection+1-n.size.width):n.coord.top<0?i.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?n.coord.top=0:n.coord.top=i.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:n.coord.top>i.geo.window.size.height-n.size.height&&(i.geo.origin.windowOffset.top+this.__options.minIntersection<=i.geo.window.size.height?n.coord.top=i.geo.window.size.height-n.size.height:n.coord.top=i.geo.origin.windowOffset.top+this.__options.minIntersection+1-n.size.height):(n.coord.left>i.geo.window.size.width-n.size.width&&(n.coord.left=i.geo.window.size.width-n.size.width),n.coord.left<0&&(n.coord.left=0)),o.__sideChange(a,n.side),i.tooltipClone=a[0],i.tooltipParent=o.__instance.option("parent").parent[0],i.mode=n.mode,i.whole=n.whole,i.origin=o.__instance._$origin[0],i.tooltip=o.__instance._$tooltip[0],delete n.container,delete n.fits,delete n.mode,delete n.outerSize,delete n.whole,n.distance=n.distance.horizontal||n.distance.vertical;var h=t.extend(!0,{},n);if(o.__instance._trigger({edit:function(t){n=t},event:e,helper:i,position:h,type:"position"}),o.__options.functionPosition){var u=o.__options.functionPosition.call(o,o.__instance,i,h);u&&(n=u)}l.destroy();var p,f;"top"==n.side||"bottom"==n.side?(p={prop:"left",val:n.target-n.coord.left},f=n.size.width-this.__options.minIntersection):(p={prop:"top",val:n.target-n.coord.top},f=n.size.height-this.__options.minIntersection),p.val<this.__options.minIntersection?p.val=this.__options.minIntersection:p.val>f&&(p.val=f);var m;m=i.geo.origin.fixedLineage?i.geo.origin.windowOffset:{left:i.geo.origin.windowOffset.left+i.geo.window.scroll.left,top:i.geo.origin.windowOffset.top+i.geo.window.scroll.top},n.coord={left:m.left+(n.coord.left-i.geo.origin.windowOffset.left),top:m.top+(n.coord.top-i.geo.origin.windowOffset.top)},o.__sideChange(o.__instance._$tooltip,n.side),i.geo.origin.fixedLineage?o.__instance._$tooltip.css("position","fixed"):o.__instance._$tooltip.css("position",""),o.__instance._$tooltip.css({left:n.coord.left,top:n.coord.top,height:n.size.height,width:n.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(p.prop,p.val),o.__instance._$tooltip.appendTo(o.__instance.option("parent")),o.__instance._trigger({type:"repositioned",event:e,position:n})},__sideChange:function(t,e){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+e)},__targetFind:function(t){var e={},i=this.__instance._$origin[0].getClientRects();if(i.length>1){var n=this.__instance._$origin.css("opacity");1==n&&(this.__instance._$origin.css("opacity",.99),i=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1))}if(i.length<2)e.top=Math.floor(t.geo.origin.windowOffset.left+t.geo.origin.size.width/2),e.bottom=e.top,e.left=Math.floor(t.geo.origin.windowOffset.top+t.geo.origin.size.height/2),e.right=e.left;else{var o=i[0];e.top=Math.floor(o.left+(o.right-o.left)/2),o=i.length>2?i[Math.ceil(i.length/2)-1]:i[0],e.right=Math.floor(o.top+(o.bottom-o.top)/2),o=i[i.length-1],e.bottom=Math.floor(o.left+(o.right-o.left)/2),o=i.length>2?i[Math.ceil((i.length+1)/2)-1]:i[i.length-1],e.left=Math.floor(o.top+(o.bottom-o.top)/2)}return e}}}),t}),function(){function t(t){this._value=t}function e(t,e,i,n){var o,s,r=Math.pow(10,e);return s=(i(t*r)/r).toFixed(e),n&&(o=new RegExp("0{1,"+n+"}$"),s=s.replace(o,"")),s}function i(t,e,i){var n;return n=e.indexOf("$")>-1?o(t,e,i):e.indexOf("%")>-1?s(t,e,i):e.indexOf(":")>-1?r(t,e):l(t._value,e,i)}function n(t,e){var i,n,o,s,r,l=e,c=["KB","MB","GB","TB","PB","EB","ZB","YB"],d=!1;if(e.indexOf(":")>-1)t._value=a(e);else if(e===g)t._value=0;else{for("."!==f[m].delimiters.decimal&&(e=e.replace(/\./g,"").replace(f[m].delimiters.decimal,".")),i=new RegExp("[^a-zA-Z]"+f[m].abbreviations.thousand+"(?:\\)|(\\"+f[m].currency.symbol+")?(?:\\))?)?$"),n=new RegExp("[^a-zA-Z]"+f[m].abbreviations.million+"(?:\\)|(\\"+f[m].currency.symbol+")?(?:\\))?)?$"),o=new RegExp("[^a-zA-Z]"+f[m].abbreviations.billion+"(?:\\)|(\\"+f[m].currency.symbol+")?(?:\\))?)?$"),s=new RegExp("[^a-zA-Z]"+f[m].abbreviations.trillion+"(?:\\)|(\\"+f[m].currency.symbol+")?(?:\\))?)?$"),r=0;r<=c.length&&!(d=e.indexOf(c[r])>-1?Math.pow(1024,r+1):!1);r++);t._value=(d?d:1)*(l.match(i)?Math.pow(10,3):1)*(l.match(n)?Math.pow(10,6):1)*(l.match(o)?Math.pow(10,9):1)*(l.match(s)?Math.pow(10,12):1)*(e.indexOf("%")>-1?.01:1)*((e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1)*Number(e.replace(/[^0-9\.]+/g,"")),t._value=d?Math.ceil(t._value):t._value}return t._value}function o(t,e,i){var n,o,s=e.indexOf("$"),r=e.indexOf("("),a=e.indexOf("-"),c="";return e.indexOf(" $")>-1?(c=" ",e=e.replace(" $","")):e.indexOf("$ ")>-1?(c=" ",e=e.replace("$ ","")):e=e.replace("$",""),o=l(t._value,e,i),1>=s?o.indexOf("(")>-1||o.indexOf("-")>-1?(o=o.split(""),n=1,(r>s||a>s)&&(n=0),o.splice(n,0,f[m].currency.symbol+c),o=o.join("")):o=f[m].currency.symbol+c+o:o.indexOf(")")>-1?(o=o.split(""),o.splice(-1,0,c+f[m].currency.symbol),o=o.join("")):o=o+c+f[m].currency.symbol,o}function s(t,e,i){var n,o="",s=100*t._value;return e.indexOf(" %")>-1?(o=" ",e=e.replace(" %","")):e=e.replace("%",""),n=l(s,e,i),n.indexOf(")")>-1?(n=n.split(""),n.splice(-1,0,o+"%"),n=n.join("")):n=n+o+"%",n}function r(t){var e=Math.floor(t._value/60/60),i=Math.floor((t._value-60*e*60)/60),n=Math.round(t._value-60*e*60-60*i);return e+":"+(10>i?"0"+i:i)+":"+(10>n?"0"+n:n)}function a(t){var e=t.split(":"),i=0;return 3===e.length?(i+=60*Number(e[0])*60,i+=60*Number(e[1]),i+=Number(e[2])):2===e.length&&(i+=60*Number(e[0]),i+=Number(e[1])),Number(i)}function l(t,i,n){var o,s,r,a,l,c,d=!1,h=!1,u=!1,p="",v=!1,y=!1,b=!1,_=!1,x=!1,w="",k="",C=Math.abs(t),T=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],S="",$=!1;if(0===t&&null!==g)return g;if(i.indexOf("(")>-1?(d=!0,i=i.slice(1,-1)):i.indexOf("+")>-1&&(h=!0,i=i.replace(/\+/g,"")),i.indexOf("a")>-1&&(v=i.indexOf("aK")>=0,y=i.indexOf("aM")>=0,b=i.indexOf("aB")>=0,_=i.indexOf("aT")>=0,x=v||y||b||_,i.indexOf(" a")>-1?(p=" ",i=i.replace(" a","")):i=i.replace("a",""),C>=Math.pow(10,12)&&!x||_?(p+=f[m].abbreviations.trillion,t/=Math.pow(10,12)):C<Math.pow(10,12)&&C>=Math.pow(10,9)&&!x||b?(p+=f[m].abbreviations.billion,t/=Math.pow(10,9)):C<Math.pow(10,9)&&C>=Math.pow(10,6)&&!x||y?(p+=f[m].abbreviations.million,t/=Math.pow(10,6)):(C<Math.pow(10,6)&&C>=Math.pow(10,3)&&!x||v)&&(p+=f[m].abbreviations.thousand,t/=Math.pow(10,3))),i.indexOf("b")>-1)for(i.indexOf(" b")>-1?(w=" ",i=i.replace(" b","")):i=i.replace("b",""),r=0;r<=T.length;r++)if(o=Math.pow(1024,r),s=Math.pow(1024,r+1),t>=o&&s>t){w+=T[r],o>0&&(t/=o);break}return i.indexOf("o")>-1&&(i.indexOf(" o")>-1?(k=" ",i=i.replace(" o","")):i=i.replace("o",""),k+=f[m].ordinal(t)),i.indexOf("[.]")>-1&&(u=!0,i=i.replace("[.]",".")),a=t.toString().split(".")[0],l=i.split(".")[1],c=i.indexOf(","),l?(l.indexOf("[")>-1?(l=l.replace("]",""),l=l.split("["),S=e(t,l[0].length+l[1].length,n,l[1].length)):S=e(t,l.length,n),a=S.split(".")[0],S=S.split(".")[1].length?f[m].delimiters.decimal+S.split(".")[1]:"",u&&0===Number(S.slice(1))&&(S="")):a=e(t,null,n),a.indexOf("-")>-1&&(a=a.slice(1),$=!0),c>-1&&(a=a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f[m].delimiters.thousands)),0===i.indexOf(".")&&(a=""),(d&&$?"(":"")+(!d&&$?"-":"")+(!$&&h?"+":"")+a+S+(k?k:"")+(p?p:"")+(w?w:"")+(d&&$?")":"")}function c(t,e){f[t]=e}function d(t){var e=t.toString().split(".");return e.length<2?1:Math.pow(10,e[1].length)}function h(){var t=Array.prototype.slice.call(arguments);return t.reduce(function(t,e){var i=d(t),n=d(e);return i>n?i:n},-1/0)}var u,p="1.5.3",f={},m="en",g=null,v="0,0",y="undefined"!=typeof module&&module.exports;u=function(e){return u.isNumeral(e)?e=e.value():0===e||"undefined"==typeof e?e=0:Number(e)||(e=u.fn.unformat(e)),new t(Number(e))},u.version=p,u.isNumeral=function(e){return e instanceof t},u.language=function(t,e){if(!t)return m;if(t&&!e){if(!f[t])throw new Error("Unknown language : "+t);m=t}return(e||!f[t])&&c(t,e),u},u.languageData=function(t){if(!t)return f[m];if(!f[t])throw new Error("Unknown language : "+t);return f[t]},u.language("en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"$"}}),u.zeroFormat=function(t){g="string"==typeof t?t:null},u.defaultFormat=function(t){v="string"==typeof t?t:"0.0"},"function"!=typeof Array.prototype.reduce&&(Array.prototype.reduce=function(t,e){"use strict";if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var i,n,o=this.length>>>0,s=!1;for(1<arguments.length&&(n=e,s=!0),i=0;o>i;++i)this.hasOwnProperty(i)&&(s?n=t(n,this[i],i,this):(n=this[i],s=!0));if(!s)throw new TypeError("Reduce of empty array with no initial value");return n}),u.fn=t.prototype={clone:function(){return u(this)},format:function(t,e){return i(this,t?t:v,void 0!==e?e:Math.round)},unformat:function(t){return"[object Number]"===Object.prototype.toString.call(t)?t:n(this,t?t:v)},value:function(){return this._value},valueOf:function(){return this._value},set:function(t){return this._value=Number(t),this},add:function(t){function e(t,e){return t+i*e}var i=h.call(null,this._value,t);return this._value=[this._value,t].reduce(e,0)/i,this},subtract:function(t){function e(t,e){return t-i*e}var i=h.call(null,this._value,t);return this._value=[t].reduce(e,this._value*i)/i,this},multiply:function(t){function e(t,e){var i=h(t,e);return t*i*e*i/(i*i)}return this._value=[this._value,t].reduce(e,1),this},divide:function(t){function e(t,e){var i=h(t,e);return t*i/(e*i)}return this._value=[this._value,t].reduce(e),this},difference:function(t){return Math.abs(u(this._value).subtract(t).value())}},y&&(module.exports=u),"undefined"==typeof ender&&(this.numeral=u),"function"==typeof define&&define.amd&&define("numeral",[],function(){return u})}.call(this),!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("vendor/moment",e):t.moment=e()}(this,function(){"use strict";function t(){return re.apply(null,arguments)}function e(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(n(t,e))return;return 1}function s(t){return void 0===t}function r(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function a(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){for(var i=[],n=t.length,o=0;n>o;++o)i.push(e(t[o],o));return i}function c(t,e){for(var i in e)n(e,i)&&(t[i]=e[i]);return n(e,"toString")&&(t.toString=e.toString),n(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,i,n){return yt(t,e,i,n,!0).utc()}function h(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function u(t){if(null==t._isValid){var e=h(t),i=ae.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function p(t){var e=d(NaN);return null!=t?c(h(e),t):h(e).userInvalidated=!0,e}function f(t,e){var i,n,o,r=le.length;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=h(e)),s(e._locale)||(t._locale=e._locale),r>0)for(i=0;r>i;i++)s(o=e[n=le[i]])||(t[n]=o);return t}function m(e){f(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ce&&(ce=!0,t.updateOffset(this),ce=!1)}function g(t){return t instanceof m||null!=t&&null!=t._isAMomentObject}function v(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function y(e,i){var o=!0;return c(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),o){for(var s,r,a=[],l=arguments.length,c=0;l>c;c++){if(s="","object"==typeof arguments[c]){for(r in s+="\n["+c+"] ",arguments[0])n(arguments[0],r)&&(s+=r+": "+arguments[0][r]+", ");s=s.slice(0,-2)}else s=arguments[c];a.push(s)}v(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),o=!1}return i.apply(this,arguments)},i)}function b(e,i){null!=t.deprecationHandler&&t.deprecationHandler(e,i),de[e]||(v(i),de[e]=!0)}function _(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function x(t,e){var o,s=c({},t);for(o in e)n(e,o)&&(i(t[o])&&i(e[o])?(s[o]={},c(s[o],t[o]),c(s[o],e[o])):null!=e[o]?s[o]=e[o]:delete s[o]);for(o in t)n(t,o)&&!n(e,o)&&i(t[o])&&(s[o]=c({},s[o]));return s}function w(t){null!=t&&this.set(t)}function k(t,e,i){var n=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}function C(t,e,i,n){var o="string"==typeof n?function(){return this[n]()}:n;t&&(ge[t]=o),e&&(ge[e[0]]=function(){return k(o.apply(this,arguments),e[1],e[2])}),i&&(ge[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function T(t,e){return t.isValid()?(e=S(e,t.localeData()),me[e]=me[e]||function(t){for(var e,i=t.match(pe),n=0,o=i.length;o>n;n++)ge[i[n]]?i[n]=ge[i[n]]:i[n]=(e=i[n]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var n="",s=0;o>s;s++)n+=_(i[s])?i[s].call(e,t):i[s];return n}}(e),me[e](t)):t.localeData().invalidDate()}function S(t,e){function i(t){return e.longDateFormat(t)||t}var n=5;for(fe.lastIndex=0;n>=0&&fe.test(t);)t=t.replace(fe,i),fe.lastIndex=0,--n;return t}function $(t,e){var i=t.toLowerCase();ve[i]=ve[i+"s"]=ve[e]=t}function M(t){return"string"==typeof t?ve[t]||ve[t.toLowerCase()]:void 0}function j(t){var e,i,o={};for(i in t)n(t,i)&&(e=M(i))&&(o[e]=t[i]);return o}function D(t,e){ye[t]=e}function E(t){return t%4==0&&t%100!=0||t%400==0}function A(t){return 0>t?Math.ceil(t)||0:Math.floor(t)}function P(t){var t=+t,e=0;return e=0!=t&&isFinite(t)?A(t):e}function O(e,i){return function(n){return null!=n?(I(this,e,n),t.updateOffset(this,i),this):L(this,e)}}function L(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function I(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&E(t.year())&&1===t.month()&&29===t.date()?(i=P(i),t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),z(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function F(t,e,i){Le[t]=_(e)?e:function(t,n){return t&&i?i:e}}function H(t,e){return n(Le,t)?Le[t](e._strict,e._locale):new RegExp(B(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,o){return e||i||n||o})))}function B(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function N(t,e){var i,n,o=e;for("string"==typeof t&&(t=[t]),r(e)&&(o=function(t,i){i[e]=P(t)}),n=t.length,i=0;n>i;i++)Ie[t[i]]=o}function R(t,e){N(t,function(t,i,n,o){n._w=n._w||{},e(t,n._w,n,o)})}function z(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%(i=12)+i)%i;return t+=(e-i)/12,1==i?E(t)?29:28:31-i%7%2}function q(t,e){var i;if(t.isValid()){if("string"==typeof e)if(/^\d+$/.test(e))e=P(e);else if(!r(e=t.localeData().monthsParse(e)))return;i=Math.min(t.date(),z(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i)}}function W(e){return null!=e?(q(this,e),t.updateOffset(this,!0),this):L(this,"Month")}function Y(){function t(t,e){return e.length-t.length}for(var e,i=[],n=[],o=[],s=0;12>s;s++)e=d([2e3,s]),i.push(this.monthsShort(e,"")),n.push(this.months(e,"")),o.push(this.months(e,"")),o.push(this.monthsShort(e,""));for(i.sort(t),n.sort(t),o.sort(t),s=0;12>s;s++)i[s]=B(i[s]),n[s]=B(n[s]);for(s=0;24>s;s++)o[s]=B(o[s]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function V(t){return E(t)?366:365}function G(t,e,i,n,o,s,r){var a;return 100>t&&t>=0?(a=new Date(t+400,e,i,n,o,s,r),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,i,n,o,s,r),a}function U(t){var e;return 100>t&&t>=0?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function X(t,e,i){return i=7+e-i,i-(7+U(t,0,i).getUTCDay()-e)%7-1}function Q(t,e,i,n,o){var s,e=1+7*(e-1)+(7+i-n)%7+X(t,n,o),i=0>=e?V(s=t-1)+e:e>V(t)?(s=t+1,e-V(t)):(s=t,e);return{year:s,dayOfYear:i}}function K(t,e,i){var n,o,s=X(t.year(),e,i),s=Math.floor((t.dayOfYear()-s-1)/7)+1;return 1>s?n=s+Z(o=t.year()-1,e,i):s>Z(t.year(),e,i)?(n=s-Z(t.year(),e,i),o=t.year()+1):(o=t.year(),n=s),{week:n,year:o}}function Z(t,e,i){var n=X(t,e,i),e=X(t+1,e,i);return(V(t)-n+e)/7}function J(t,e){return t.slice(e,7).concat(t.slice(0,e))}function tt(){function t(t,e){return e.length-t.length}for(var e,i,n,o=[],s=[],r=[],a=[],l=0;7>l;l++)n=d([2e3,1]).day(l),e=B(this.weekdaysMin(n,"")),i=B(this.weekdaysShort(n,"")),n=B(this.weekdays(n,"")),o.push(e),s.push(i),r.push(n),a.push(e),a.push(i),a.push(n);o.sort(t),s.sort(t),r.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function et(){return this.hours()%12||12}function it(t,e){C(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function nt(t,e){return e._meridiemParse}function ot(t){return t&&t.toLowerCase().replace("_","-")}function st(t){for(var e,i,n,o,s=0;s<t.length;){for(e=(o=ot(t[s]).split("-")).length,i=(i=ot(t[s+1]))?i.split("-"):null;e>0;){if(n=rt(o.slice(0,e).join("-")))return n;if(i&&i.length>=e&&function(t,e){for(var i=Math.min(t.length,e.length),n=0;i>n;n+=1)if(t[n]!==e[n])return n;return i}(o,i)>=e-1)break;e--}s++}return oi}function rt(t){var e;if(void 0===ri[t]&&"undefined"!=typeof module&&module&&module.exports&&null!=t.match("^[^/\\\\]*$"))try{e=oi._abbr,require("./locale/"+t),at(e)}catch(e){ri[t]=null}return ri[t]}function at(t,e){return t&&((e=s(e)?ct(t):lt(t,e))?oi=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),oi._abbr}function lt(t,e){if(null===e)return delete ri[t],null;var i,n=si;if(e.abbr=t,null!=ri[t])b("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=ri[t]._config;else if(null!=e.parentLocale)if(null!=ri[e.parentLocale])n=ri[e.parentLocale]._config;else{if(null==(i=rt(e.parentLocale)))return ai[e.parentLocale]||(ai[e.parentLocale]=[]),ai[e.parentLocale].push({name:t,config:e}),null;n=i._config}return ri[t]=new w(x(n,e)),ai[t]&&ai[t].forEach(function(t){lt(t.name,t.config)}),at(t),ri[t]}function ct(t){var i;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return oi;if(!e(t)){if(i=rt(t))return i;t=[t]}return st(t)}function dt(t){var e=t._a;return e&&-2===h(t).overflow&&(e=e[He]<0||11<e[He]?He:e[Be]<1||e[Be]>z(e[Fe],e[He])?Be:e[Ne]<0||24<e[Ne]||24===e[Ne]&&(0!==e[Re]||0!==e[ze]||0!==e[qe])?Ne:e[Re]<0||59<e[Re]?Re:e[ze]<0||59<e[ze]?ze:e[qe]<0||999<e[qe]?qe:-1,h(t)._overflowDayOfYear&&(Fe>e||e>Be)&&(e=Be),h(t)._overflowWeeks&&-1===e&&(e=We),h(t)._overflowWeekday&&-1===e&&(e=Ye),h(t).overflow=e),t}function ht(t){var e,i,n,o,s,r,a=t._i,l=li.exec(a)||ci.exec(a),a=hi.length,c=ui.length;if(l){for(h(t).iso=!0,e=0,i=a;i>e;e++)if(hi[e][1].exec(l[1])){o=hi[e][0],n=!1!==hi[e][2];break}if(null==o)t._isValid=!1;else{if(l[3]){for(e=0,i=c;i>e;e++)if(ui[e][1].exec(l[3])){s=(l[2]||" ")+ui[e][0];break}if(null==s)return void(t._isValid=!1)}if(n||null==s){if(l[4]){if(!di.exec(l[4]))return void(t._isValid=!1);r="Z"}t._f=o+(s||"")+(r||""),gt(t)}else t._isValid=!1}}else t._isValid=!1}function ut(t,e,i,n,o,s){return t=[function(t){return t=parseInt(t,10),49>=t?2e3+t:999>=t?1900+t:t}(t),Ge.indexOf(e),parseInt(i,10),parseInt(n,10),parseInt(o,10)],s&&t.push(parseInt(s,10)),t}function pt(t){var e,i,n,o,s=fi.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(e=ut(s[4],s[3],s[2],s[5],s[6],s[7]),i=s[1],n=e,o=t,i&&Je.indexOf(i)!==new Date(n[0],n[1],n[2]).getDay()?(h(o).weekdayMismatch=!0,o._isValid=!1):(t._a=e,t._tzm=(i=s[8],n=s[9],o=s[10],i?mi[i]:n?0:60*(((i=parseInt(o,10))-(n=i%100))/100)+n),t._d=U.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),h(t).rfc2822=!0)):t._isValid=!1}function ft(t,e,i){return null!=t?t:null!=e?e:i}function mt(e){var i,n,o,s,r,a,l,c,d,u,p,f=[];if(!e._d){for(o=e,s=new Date(t.now()),n=o._useUTC?[s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()]:[s.getFullYear(),s.getMonth(),s.getDate()],e._w&&null==e._a[Be]&&null==e._a[He]&&(null!=(s=(o=e)._w).GG||null!=s.W||null!=s.E?(c=1,d=4,r=ft(s.GG,o._a[Fe],K(bt(),1,4).year),a=ft(s.W,1),((l=ft(s.E,1))<1||l>7)&&(u=!0)):(c=o._locale._week.dow,d=o._locale._week.doy,p=K(bt(),c,d),r=ft(s.gg,o._a[Fe],p.year),a=ft(s.w,p.week),null!=s.d?((l=s.d)<0||l>6)&&(u=!0):null!=s.e?(l=s.e+c,(s.e<0||6<s.e)&&(u=!0)):l=c),1>a||a>Z(r,c,d)?h(o)._overflowWeeks=!0:null!=u?h(o)._overflowWeekday=!0:(p=Q(r,a,l,c,d),o._a[Fe]=p.year,o._dayOfYear=p.dayOfYear)),null!=e._dayOfYear&&(s=ft(e._a[Fe],n[Fe]),(e._dayOfYear>V(s)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),u=U(s,0,e._dayOfYear),e._a[He]=u.getUTCMonth(),e._a[Be]=u.getUTCDate()),i=0;3>i&&null==e._a[i];++i)e._a[i]=f[i]=n[i];for(;7>i;i++)e._a[i]=f[i]=null==e._a[i]?2===i?1:0:e._a[i];24===e._a[Ne]&&0===e._a[Re]&&0===e._a[ze]&&0===e._a[qe]&&(e._nextDay=!0,e._a[Ne]=0),e._d=(e._useUTC?U:G).apply(null,f),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ne]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(h(e).weekdayMismatch=!0)}}function gt(e){if(e._f===t.ISO_8601)ht(e);else if(e._f===t.RFC_2822)pt(e);else{e._a=[],h(e).empty=!0;for(var i,o,s,r,a,l=""+e._i,c=l.length,d=0,u=S(e._f,e._locale).match(pe)||[],p=u.length,f=0;p>f;f++)o=u[f],(i=(l.match(H(o,e))||[])[0])&&(0<(s=l.substr(0,l.indexOf(i))).length&&h(e).unusedInput.push(s),l=l.slice(l.indexOf(i)+i.length),d+=i.length),ge[o]?(i?h(e).empty=!1:h(e).unusedTokens.push(o),s=o,a=e,null!=(r=i)&&n(Ie,s)&&Ie[s](r,a._a,a,s)):e._strict&&!i&&h(e).unusedTokens.push(o);h(e).charsLeftOver=c-d,0<l.length&&h(e).unusedInput.push(l),e._a[Ne]<=12&&!0===h(e).bigHour&&0<e._a[Ne]&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[Ne]=function(t,e,i){return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((t=t.isPM(i))&&12>e&&(e+=12),e=t||12!==e?e:0):e}(e._locale,e._a[Ne],e._meridiem),null!==(c=h(e).era)&&(e._a[Fe]=e._locale.erasConvertYear(c,e._a[Fe])),mt(e),dt(e)}}function vt(n){var o,d,v,y=n._i,b=n._f;return n._locale=n._locale||ct(n._l),null===y||void 0===b&&""===y?p({nullInput:!0}):("string"==typeof y&&(n._i=y=n._locale.preparse(y)),g(y)?new m(dt(y)):(a(y)?n._d=y:e(b)?!function(t){var e,i,n,o,s,r,a=!1,l=t._f.length;if(0===l)return h(t).invalidFormat=!0,t._d=new Date(NaN);for(o=0;l>o;o++)s=0,r=!1,e=f({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],gt(e),u(e)&&(r=!0),s=(s+=h(e).charsLeftOver)+10*h(e).unusedTokens.length,h(e).score=s,a?n>s&&(n=s,i=e):(null==n||n>s||r)&&(n=s,i=e,r&&(a=!0));c(t,i||e)}(n):b?gt(n):s(b=(y=n)._i)?y._d=new Date(t.now()):a(b)?y._d=new Date(b.valueOf()):"string"==typeof b?(d=y,null!==(o=pi.exec(d._i))?d._d=new Date(+o[1]):(ht(d),!1===d._isValid&&(delete d._isValid,pt(d),!1===d._isValid&&(delete d._isValid,d._strict?d._isValid=!1:t.createFromInputFallback(d))))):e(b)?(y._a=l(b.slice(0),function(t){return parseInt(t,10)}),mt(y)):i(b)?(o=y)._d||(v=void 0===(d=j(o._i)).day?d.date:d.day,o._a=l([d.year,d.month,v,d.hour,d.minute,d.second,d.millisecond],function(t){
return t&&parseInt(t,10)}),mt(o)):r(b)?y._d=new Date(b):t.createFromInputFallback(y),u(n)||(n._d=null),n))}function yt(t,n,s,r,a){var l={};return!0!==n&&!1!==n||(r=n,n=void 0),!0!==s&&!1!==s||(r=s,s=void 0),(i(t)&&o(t)||e(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=s,l._i=t,l._f=n,l._strict=r,(a=new m(dt(vt(a=l))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function bt(t,e,i,n){return yt(t,e,i,n,!1)}function _t(t,i){var n,o;if(!(i=1===i.length&&e(i[0])?i[0]:i).length)return bt();for(n=i[0],o=1;o<i.length;++o)i[o].isValid()&&!i[o][t](n)||(n=i[o]);return n}function xt(t){var t=j(t),e=t.year||0,i=t.quarter||0,o=t.month||0,s=t.week||t.isoWeek||0,r=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(t){var e,i,o=!1,s=gi.length;for(e in t)if(n(t,e)&&(-1===he.call(gi,e)||null!=t[e]&&isNaN(t[e])))return!1;for(i=0;s>i;++i)if(t[gi[i]]){if(o)return!1;parseFloat(t[gi[i]])!==P(t[gi[i]])&&(o=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*l+1e3*a*60*60,this._days=+r+7*s,this._months=+o+3*i+12*e,this._data={},this._locale=ct(),this._bubble()}function wt(t){return t instanceof xt}function kt(t){return 0>t?-1*Math.round(-1*t):Math.round(t)}function Ct(t,e){C(t,0,0,function(){var t=this.utcOffset(),i="+";return 0>t&&(t=-t,i="-"),i+k(~~(t/60),2)+e+k(~~t%60,2)})}function Tt(t,e){var e=(e||"").match(t);return null===e?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(vi)||["-",0,0])[1]+P(t[2]))?0:"+"===t[0]?e:-e}function St(e,i){var n;return i._isUTC?(i=i.clone(),n=(g(e)||a(e)?e:bt(e)).valueOf()-i.valueOf(),i._d.setTime(i._d.valueOf()+n),t.updateOffset(i,!1),i):bt(e).local()}function $t(t){return-Math.round(t._d.getTimezoneOffset())}function Mt(){return!!this.isValid()&&this._isUTC&&0===this._offset}function jt(t,e){var i,o=t,s=null;return wt(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:r(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(s=yi.exec(t))?(i="-"===s[1]?-1:1,o={y:0,d:P(s[Be])*i,h:P(s[Ne])*i,m:P(s[Re])*i,s:P(s[ze])*i,ms:P(kt(1e3*s[qe]))*i}):(s=bi.exec(t))?(i="-"===s[1]?-1:1,o={y:Dt(s[2],i),M:Dt(s[3],i),w:Dt(s[4],i),d:Dt(s[5],i),h:Dt(s[6],i),m:Dt(s[7],i),s:Dt(s[8],i)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(e=function(t,e){var i;return t.isValid()&&e.isValid()?(e=St(e,t),t.isBefore(e)?i=Et(t,e):((i=Et(e,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}(bt(o.from),bt(o.to)),(o={}).ms=e.milliseconds,o.M=e.months),s=new xt(o),wt(t)&&n(t,"_locale")&&(s._locale=t._locale),wt(t)&&n(t,"_isValid")&&(s._isValid=t._isValid),s}function Dt(t,e){return t=t&&parseFloat(t.replace(",",".")),(isNaN(t)?0:t)*e}function Et(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function At(t,e){return function(i,n){var o;return null===n||isNaN(+n)||(b(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=i,i=n,n=o),Pt(this,jt(i,n),t),this}}function Pt(e,i,n,o){var s=i._milliseconds,r=kt(i._days),i=kt(i._months);e.isValid()&&(o=null==o||o,i&&q(e,L(e,"Month")+i*n),r&&I(e,"Date",L(e,"Date")+r*n),s&&e._d.setTime(e._d.valueOf()+s*n),o&&t.updateOffset(e,r||i))}function Ot(t){return"string"==typeof t||t instanceof String}function Lt(t){return g(t)||a(t)||Ot(t)||r(t)||function(t){var i=e(t),n=!1;return i&&(n=0===t.filter(function(e){return!r(e)&&Ot(t)}).length),i&&n}(t)||function(t){var e,s,r=i(t)&&!o(t),a=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=l.length;for(e=0;c>e;e+=1)s=l[e],a=a||n(t,s);return r&&a}(t)||null==t}function It(t,e){if(t.date()<e.date())return-It(e,t);var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months"),e=0>e-n?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(1+i,"months")-n);return-(i+e)||0}function Ft(t){return void 0===t?this._locale._abbr:(null!=(t=ct(t))&&(this._locale=t),this)}function Ht(){return this._locale}function Bt(t,e){return(t%e+e)%e}function Nt(t,e,i){return 100>t&&t>=0?new Date(t+400,e,i)-_i:new Date(t,e,i).valueOf()}function Rt(t,e,i){return 100>t&&t>=0?Date.UTC(t+400,e,i)-_i:Date.UTC(t,e,i)}function zt(t,e){return e.erasAbbrRegex(t)}function qt(){for(var t=[],e=[],i=[],n=[],o=this.eras(),s=0,r=o.length;r>s;++s)e.push(B(o[s].name)),t.push(B(o[s].abbr)),i.push(B(o[s].narrow)),n.push(B(o[s].name)),n.push(B(o[s].abbr)),n.push(B(o[s].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Wt(t,e){C(0,[t,t.length],0,e)}function Yt(t,e,i,n,o){var s;return null==t?K(this,n,o).year:(s=Z(t,n,o),function(t,e,i,n,o){return t=Q(t,e,i,n,o),e=U(t.year,0,t.dayOfYear),this.year(e.getUTCFullYear()),this.month(e.getUTCMonth()),this.date(e.getUTCDate()),this}.call(this,t,e=e>s?s:e,i,n,o))}function Vt(t,e){e[qe]=P(1e3*("0."+t))}function Gt(t){return t}function Ut(t,e,i,n){var o=ct(),n=d().set(n,e);return o[i](n,t)}function Xt(t,e,i){if(r(t)&&(e=t,t=void 0),t=t||"",null!=e)return Ut(t,e,i,"month");for(var n=[],o=0;12>o;o++)n[o]=Ut(t,o,i,"month");return n}function Qt(t,e,i,n){"boolean"==typeof t?r(e)&&(i=e,e=void 0):(e=t,t=!1,r(i=e)&&(i=e,e=void 0)),e=e||"";var o,s=ct(),a=t?s._week.dow:0,l=[];if(null!=i)return Ut(e,(i+a)%7,n,"day");for(o=0;7>o;o++)l[o]=Ut(e,(o+a)%7,n,"day");return l}function Kt(t,e,i,n){return e=jt(e,i),t._milliseconds+=n*e._milliseconds,t._days+=n*e._days,t._months+=n*e._months,t._bubble()}function Zt(t){return 0>t?Math.floor(t):Math.ceil(t)}function Jt(t){return 4800*t/146097}function te(t){return 146097*t/4800}function ee(t){return function(){return this.as(t)}}function ie(t){return function(){return this.isValid()?this._data[t]:NaN}}function ne(t,e,i,n){var o=jt(t).abs(),s=Si(o.as("s")),r=Si(o.as("m")),a=Si(o.as("h")),l=Si(o.as("d")),c=Si(o.as("M")),d=Si(o.as("w")),o=Si(o.as("y")),s=(s<=i.ss?["s",s]:s<i.s&&["ss",s])||1>=r&&["m"]||r<i.m&&["mm",r]||1>=a&&["h"]||a<i.h&&["hh",a]||1>=l&&["d"]||l<i.d&&["dd",l];return(s=(s=null!=i.w?s||1>=d&&["w"]||d<i.w&&["ww",d]:s)||1>=c&&["M"]||c<i.M&&["MM",c]||1>=o&&["y"]||["yy",o])[2]=e,s[3]=+t>0,s[4]=n,function(t,e,i,n,o){return o.relativeTime(e||1,!!i,t,n)}.apply(null,s)}function oe(t){return(t>0)-(0>t)||+t}function se(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i,n,o,s,r,a=Mi(this._milliseconds)/1e3,l=Mi(this._days),c=Mi(this._months),d=this.asSeconds();return d?(t=A(a/60),e=A(t/60),a%=60,t%=60,i=A(c/12),c%=12,n=a?a.toFixed(3).replace(/\.?0+$/,""):"",o=oe(this._months)!==oe(d)?"-":"",s=oe(this._days)!==oe(d)?"-":"",r=oe(this._milliseconds)!==oe(d)?"-":"",(0>d?"-":"")+"P"+(i?o+i+"Y":"")+(c?o+c+"M":"")+(l?s+l+"D":"")+(e||t||a?"T":"")+(e?r+e+"H":"")+(t?r+t+"M":"")+(a?r+n+"S":"")):"P0D"}var re,ae=Array.prototype.some||function(t){for(var e=Object(this),i=e.length>>>0,n=0;i>n;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1},le=t.momentProperties=[],ce=!1,de={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var he,ue=Object.keys||function(t){var e,i=[];for(e in t)n(t,e)&&i.push(e);return i},pe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,fe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,me={},ge={},ve={},ye={},be=/\d/,_e=/\d\d/,xe=/\d{3}/,we=/\d{4}/,ke=/[+-]?\d{6}/,Ce=/\d\d?/,Te=/\d\d\d\d?/,Se=/\d\d\d\d\d\d?/,$e=/\d{1,3}/,Me=/\d{1,4}/,je=/[+-]?\d{1,6}/,De=/\d+/,Ee=/[+-]?\d+/,Ae=/Z|[+-]\d\d:?\d\d/gi,Pe=/Z|[+-]\d\d(?::?\d\d)?/gi,Oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Le={},Ie={},Fe=0,He=1,Be=2,Ne=3,Re=4,ze=5,qe=6,We=7,Ye=8;he=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),C("MMMM",0,0,function(t){return this.localeData().months(this,t)}),$("month","M"),D("month",8),F("M",Ce),F("MM",Ce,_e),F("MMM",function(t,e){return e.monthsShortRegex(t)}),F("MMMM",function(t,e){return e.monthsRegex(t)}),N(["M","MM"],function(t,e){e[He]=P(t)-1}),N(["MMM","MMMM"],function(t,e,i,n){n=i._locale.monthsParse(t,n,i._strict),null!=n?e[He]=n:h(i).invalidMonth=t});var Ve="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ge="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ue=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Xe=Oe,Qe=Oe;C("Y",0,0,function(){var t=this.year();return 9999>=t?k(t,4):"+"+t}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),$("year","y"),D("year",1),F("Y",Ee),F("YY",Ce,_e),F("YYYY",Me,we),F("YYYYY",je,ke),F("YYYYYY",je,ke),N(["YYYYY","YYYYYY"],Fe),N("YYYY",function(e,i){i[Fe]=2===e.length?t.parseTwoDigitYear(e):P(e)}),N("YY",function(e,i){i[Fe]=t.parseTwoDigitYear(e)}),N("Y",function(t,e){e[Fe]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return P(t)+(68<P(t)?1900:2e3)};var Ke=O("FullYear",!0);C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),D("week",5),D("isoWeek",5),F("w",Ce),F("ww",Ce,_e),F("W",Ce),F("WW",Ce,_e),R(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=P(t)}),C("d",0,"do","day"),C("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),C("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),C("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),D("day",11),D("weekday",11),D("isoWeekday",11),F("d",Ce),F("e",Ce),F("E",Ce),F("dd",function(t,e){return e.weekdaysMinRegex(t)}),F("ddd",function(t,e){return e.weekdaysShortRegex(t)}),F("dddd",function(t,e){return e.weekdaysRegex(t)}),R(["dd","ddd","dddd"],function(t,e,i,n){n=i._locale.weekdaysParse(t,n,i._strict),null!=n?e.d=n:h(i).invalidWeekday=t}),R(["d","e","E"],function(t,e,i,n){e[n]=P(t)});var Ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ti="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ei=Oe,ii=Oe,ni=Oe;C("H",["HH",2],0,"hour"),C("h",["hh",2],0,et),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+et.apply(this)+k(this.minutes(),2)}),C("hmmss",0,0,function(){return""+et.apply(this)+k(this.minutes(),2)+k(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+k(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+k(this.minutes(),2)+k(this.seconds(),2)}),it("a",!0),it("A",!1),$("hour","h"),D("hour",13),F("a",nt),F("A",nt),F("H",Ce),F("h",Ce),F("k",Ce),F("HH",Ce,_e),F("hh",Ce,_e),F("kk",Ce,_e),F("hmm",Te),F("hmmss",Se),F("Hmm",Te),F("Hmmss",Se),N(["H","HH"],Ne),N(["k","kk"],function(t,e,i){t=P(t),e[Ne]=24===t?0:t}),N(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),N(["h","hh"],function(t,e,i){e[Ne]=P(t),h(i).bigHour=!0}),N("hmm",function(t,e,i){var n=t.length-2;e[Ne]=P(t.substr(0,n)),e[Re]=P(t.substr(n)),h(i).bigHour=!0}),N("hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[Ne]=P(t.substr(0,n)),e[Re]=P(t.substr(n,2)),e[ze]=P(t.substr(o)),h(i).bigHour=!0}),N("Hmm",function(t,e,i){var n=t.length-2;e[Ne]=P(t.substr(0,n)),e[Re]=P(t.substr(n))}),N("Hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[Ne]=P(t.substr(0,n)),e[Re]=P(t.substr(n,2)),e[ze]=P(t.substr(o))}),Oe=O("Hours",!0);var oi,si={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ve,monthsShort:Ge,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:ti,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},ri={},ai={},li=/^\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)?)?$/,ci=/^\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)?)?$/,di=/Z|[+-]\d\d(?::?\d\d)?/,hi=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ui=[["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/]],pi=/^\/?Date\((-?\d+)/i,fi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,mi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=y("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){},Te=y("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=bt.apply(null,arguments);return this.isValid()&&t.isValid()?this>t?this:t:p()}),Se=y("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=bt.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:p()});var gi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ct("Z",":"),Ct("ZZ",""),F("Z",Pe),F("ZZ",Pe),N(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Tt(Pe,t)});var vi=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var yi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,bi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;jt.fn=xt.prototype,jt.invalid=function(){return jt(NaN)},Ve=At(1,"add"),Ze=At(-1,"subtract"),t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",ti=y("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});var _i=126227808e5;C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),F("N",zt),F("NN",zt),F("NNN",zt),F("NNNN",function(t,e){return e.erasNameRegex(t)}),F("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),N(["N","NN","NNN","NNNN","NNNNN"],function(t,e,i,n){n=i._locale.erasParse(t,n,i._strict),n?h(i).era=n:h(i).invalidEra=t}),F("y",De),F("yy",De),F("yyy",De),F("yyyy",De),F("yo",function(t,e){return e._eraYearOrdinalRegex||De}),N(["y","yy","yyy","yyyy"],Fe),N(["yo"],function(t,e,i,n){var o;i._locale._eraYearOrdinalRegex&&(o=t.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?e[Fe]=i._locale.eraYearOrdinalParse(t,o):e[Fe]=parseInt(t,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Wt("gggg","weekYear"),Wt("ggggg","weekYear"),Wt("GGGG","isoWeekYear"),Wt("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),D("weekYear",1),D("isoWeekYear",1),F("G",Ee),F("g",Ee),F("GG",Ce,_e),F("gg",Ce,_e),F("GGGG",Me,we),F("gggg",Me,we),F("GGGGG",je,ke),F("ggggg",je,ke),R(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=P(t)}),R(["gg","GG"],function(e,i,n,o){i[o]=t.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),$("quarter","Q"),D("quarter",7),F("Q",be),N("Q",function(t,e){e[He]=3*(P(t)-1)}),C("D",["DD",2],"Do","date"),$("date","D"),D("date",9),F("D",Ce),F("DD",Ce,_e),F("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),N(["D","DD"],Be),N("Do",function(t,e){e[Be]=P(t.match(Ce)[0])}),Me=O("Date",!0),C("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),D("dayOfYear",4),F("DDD",$e),F("DDDD",xe),N(["DDD","DDDD"],function(t,e,i){i._dayOfYear=P(t)}),C("m",["mm",2],0,"minute"),$("minute","m"),D("minute",14),F("m",Ce),F("mm",Ce,_e),N(["m","mm"],Re);var xi,we=O("Minutes",!1),je=(C("s",["ss",2],0,"second"),$("second","s"),D("second",15),F("s",Ce),F("ss",Ce,_e),N(["s","ss"],ze),O("Seconds",!1));for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),$("millisecond","ms"),D("millisecond",16),F("S",$e,be),F("SS",$e,_e),F("SSS",$e,xe),xi="SSSS";xi.length<=9;xi+="S")F(xi,De);for(xi="S";xi.length<=9;xi+="S")N(xi,Vt);ke=O("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName"),be=m.prototype,be.add=Ve,be.calendar=function(e,s){1===arguments.length&&(arguments[0]?Lt(arguments[0])?(e=arguments[0],s=void 0):function(t){for(var e=i(t)&&!o(t),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)s=s||n(t,r[a]);return e&&s}(arguments[0])&&(s=arguments[0],e=void 0):s=e=void 0);var e=e||bt(),r=St(e,this).startOf("day"),r=t.calendarFormat(this,r)||"sameElse",s=s&&(_(s[r])?s[r].call(this,e):s[r]);return this.format(s||this.localeData().calendar(r,this,bt(e)))},be.clone=function(){return new m(this)},be.diff=function(t,e,i){var n,o,s;if(!this.isValid())return NaN;if(!(n=St(t,this)).isValid())return NaN;switch(o=6e4*(n.utcOffset()-this.utcOffset()),e=M(e)){case"year":s=It(this,n)/12;break;case"month":s=It(this,n);break;case"quarter":s=It(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-o)/864e5;break;case"week":s=(this-n-o)/6048e5;break;default:s=this-n}return i?s:A(s)},be.endOf=function(e){var i,n;if(void 0===(e=M(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Rt:Nt,e){case"year":i=n(this.year()+1,0,1)-1;break;case"quarter":i=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":i=n(this.year(),this.month()+1,1)-1;break;case"week":i=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":i=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":i=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":i=this._d.valueOf(),i+=36e5-Bt(i+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":i=this._d.valueOf(),i+=6e4-Bt(i,6e4)-1;break;case"second":i=this._d.valueOf(),i+=1e3-Bt(i,1e3)-1}return this._d.setTime(i),t.updateOffset(this,!0),this},be.format=function(e){return e=e||(this.isUtc()?t.defaultFormatUtc:t.defaultFormat),e=T(this,e),this.localeData().postformat(e)},be.from=function(t,e){return this.isValid()&&(g(t)&&t.isValid()||bt(t).isValid())?jt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},be.fromNow=function(t){return this.from(bt(),t)},be.to=function(t,e){return this.isValid()&&(g(t)&&t.isValid()||bt(t).isValid())?jt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},be.toNow=function(t){return this.to(bt(),t)},be.get=function(t){return _(this[t=M(t)])?this[t]():this},be.invalidAt=function(){return h(this).overflow},be.isAfter=function(t,e){return t=g(t)?t:bt(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=M(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},be.isBefore=function(t,e){return t=g(t)?t:bt(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=M(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},be.isBetween=function(t,e,i,n){return t=g(t)?t:bt(t),e=g(e)?e:bt(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(n=n||"()")[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))},be.isSame=function(t,e){var t=g(t)?t:bt(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=M(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},be.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},be.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},be.isValid=function(){return u(this)},be.lang=ti,be.locale=Ft,be.localeData=Ht,be.max=Se,be.min=Te,be.parsingFlags=function(){return c({},h(this))},be.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e,i=[];for(e in t)n(t,e)&&i.push({unit:e,priority:ye[e]});return i.sort(function(t,e){return t.priority-e.priority}),i}(t=j(t)),o=i.length,s=0;o>s;s++)this[i[s].unit](t[i[s].unit]);else if(_(this[t=M(t)]))return this[t](e);return this},be.startOf=function(e){var i,n;if(void 0===(e=M(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Rt:Nt,e){case"year":i=n(this.year(),0,1);break;case"quarter":i=n(this.year(),this.month()-this.month()%3,1);break;case"month":i=n(this.year(),this.month(),1);break;case"week":i=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":i=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":i=n(this.year(),this.month(),this.date());break;case"hour":i=this._d.valueOf(),i-=Bt(i+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":i=this._d.valueOf(),i-=Bt(i,6e4);break;case"second":i=this._d.valueOf(),i-=Bt(i,1e3)}return this._d.setTime(i),t.updateOffset(this,!0),this},be.subtract=Ze,be.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},be.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},be.toDate=function(){return new Date(this.valueOf())},be.toISOString=function(t){if(!this.isValid())return null;var e=(t=!0!==t)?this.clone().utc():this;return e.year()<0||9999<e.year()?T(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):_(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",T(e,"Z")):T(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},be.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e="moment",i="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+e+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol["for"]&&(be[Symbol["for"]("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),be.toJSON=function(){return this.isValid()?this.toISOString():null},be.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},be.unix=function(){return Math.floor(this.valueOf()/1e3)},be.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},be.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},be.eraName=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;n>i;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].name;if(e[i].until<=t&&t<=e[i].since)return e[i].name}return""},be.eraNarrow=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;n>i;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].narrow;if(e[i].until<=t&&t<=e[i].since)return e[i].narrow}return""},be.eraAbbr=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;n>i;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].abbr;if(e[i].until<=t&&t<=e[i].since)return e[i].abbr}return""},be.eraYear=function(){for(var e,i,n=this.localeData().eras(),o=0,s=n.length;s>o;++o)if(e=n[o].since<=n[o].until?1:-1,i=this.clone().startOf("day").valueOf(),n[o].since<=i&&i<=n[o].until||n[o].until<=i&&i<=n[o].since)return(this.year()-t(n[o].since).year())*e+n[o].offset;return this.year()},be.year=Ke,be.isLeapYear=function(){return E(this.year())},be.weekYear=function(t){return Yt.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},be.isoWeekYear=function(t){return Yt.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},be.quarter=be.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},be.month=W,be.daysInMonth=function(){return z(this.year(),this.month())},be.week=be.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},be.isoWeek=be.isoWeeks=function(t){var e=K(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},be.weeksInYear=function(){var t=this.localeData()._week;return Z(this.year(),t.dow,t.doy)},be.weeksInWeekYear=function(){var t=this.localeData()._week;return Z(this.weekYear(),t.dow,t.doy)},be.isoWeeksInYear=function(){return Z(this.year(),1,4)},be.isoWeeksInISOWeekYear=function(){return Z(this.isoWeekYear(),1,4)},be.date=Me,be.day=be.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,i=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=i.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-n,"d")):n},be.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},be.isoWeekday=function(t){return this.isValid()?null!=t?(e=t,i=this.localeData(),i="string"==typeof e?i.weekdaysParse(e)%7||7:isNaN(e)?null:e,this.day(this.day()%7?i:i-7)):this.day()||7:null!=t?this:NaN;var e,i},be.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},be.hour=be.hours=Oe,be.minute=be.minutes=we,be.second=be.seconds=je,be.millisecond=be.milliseconds=ke,be.utcOffset=function(e,i,n){var o,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?s:$t(this);if("string"==typeof e){if(null===(e=Tt(Pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&i&&(o=$t(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),s!==e&&(!i||this._changeInProgress?Pt(this,jt(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},be.utc=function(t){return this.utcOffset(0,t)},be.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract($t(this),"m")),this},be.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Tt(Ae,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},be.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?bt(t).utcOffset():0,(this.utcOffset()-t)%60==0)},be.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},be.isLocal=function(){return!!this.isValid()&&!this._isUTC},be.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},be.isUtc=Mt,be.isUTC=Mt,be.zoneAbbr=function(){return this._isUTC?"UTC":""},be.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},be.dates=y("dates accessor is deprecated. Use date instead.",Me),be.months=y("months accessor is deprecated. Use month instead",W),be.years=y("years accessor is deprecated. Use year instead",Ke),be.zone=y("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),be.isDSTShifted=y("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t,e={};return f(e,this),(e=vt(e))._a?(t=(e._isUTC?d:bt)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,i){for(var n=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0,r=0;n>r;r++)(i&&t[r]!==e[r]||!i&&P(t[r])!==P(e[r]))&&s++;return s+o}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted}),_e=w.prototype,_e.calendar=function(t,e,i){return _(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,i):t},_e.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.match(pe).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},_e.invalidDate=function(){return this._invalidDate},_e.ordinal=function(t){return this._ordinal.replace("%d",t)},_e.preparse=Gt,_e.postformat=Gt,_e.relativeTime=function(t,e,i,n){var o=this._relativeTime[i];return _(o)?o(t,e,i,n):o.replace(/%d/i,t)},_e.pastFuture=function(t,e){return _(t=this._relativeTime[t>0?"future":"past"])?t(e):t.replace(/%s/i,e)},_e.set=function(t){var e,i;for(i in t)n(t,i)&&(_(e=t[i])?this[i]=e:this["_"+i]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_e.eras=function(e,i){for(var n,o=this._eras||ct("en")._eras,s=0,r=o.length;r>s;++s){switch(typeof o[s].since){case"string":n=t(o[s].since).startOf("day"),o[s].since=n.valueOf()}switch(typeof o[s].until){case"undefined":o[s].until=1/0;break;case"string":n=t(o[s].until).startOf("day").valueOf(),o[s].until=n.valueOf()}}return o},_e.erasParse=function(t,e,i){var n,o,s,r,a,l=this.eras();for(t=t.toUpperCase(),n=0,o=l.length;o>n;++n)if(s=l[n].name.toUpperCase(),r=l[n].abbr.toUpperCase(),a=l[n].narrow.toUpperCase(),i)switch(e){case"N":case"NN":case"NNN":if(r===t)return l[n];break;case"NNNN":if(s===t)return l[n];break;case"NNNNN":if(a===t)return l[n]}else if(0<=[s,r,a].indexOf(t))return l[n]},_e.erasConvertYear=function(e,i){var n=e.since<=e.until?1:-1;return void 0===i?t(e.since).year():t(e.since).year()+(i-e.offset)*n},_e.erasAbbrRegex=function(t){return n(this,"_erasAbbrRegex")||qt.call(this),t?this._erasAbbrRegex:this._erasRegex},_e.erasNameRegex=function(t){
return n(this,"_erasNameRegex")||qt.call(this),t?this._erasNameRegex:this._erasRegex},_e.erasNarrowRegex=function(t){return n(this,"_erasNarrowRegex")||qt.call(this),t?this._erasNarrowRegex:this._erasRegex},_e.months=function(t,i){return t?(e(this._months)?this._months:this._months[(this._months.isFormat||Ue).test(i)?"format":"standalone"])[t.month()]:e(this._months)?this._months:this._months.standalone},_e.monthsShort=function(t,i){return t?(e(this._monthsShort)?this._monthsShort:this._monthsShort[Ue.test(i)?"format":"standalone"])[t.month()]:e(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_e.monthsParse=function(t,e,i){var n,o;if(this._monthsParseExact)return function(t,e,i){var n,o,s,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;12>n;++n)s=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(o=he.call(this._shortMonthsParse,t))?o:null:-1!==(o=he.call(this._longMonthsParse,t))?o:null:"MMM"===e?-1!==(o=he.call(this._shortMonthsParse,t))||-1!==(o=he.call(this._longMonthsParse,t))?o:null:-1!==(o=he.call(this._longMonthsParse,t))||-1!==(o=he.call(this._shortMonthsParse,t))?o:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;12>n;n++){if(o=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},_e.monthsRegex=function(t){return this._monthsParseExact?(n(this,"_monthsRegex")||Y.call(this),t?this._monthsStrictRegex:this._monthsRegex):(n(this,"_monthsRegex")||(this._monthsRegex=Qe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},_e.monthsShortRegex=function(t){return this._monthsParseExact?(n(this,"_monthsRegex")||Y.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(n(this,"_monthsShortRegex")||(this._monthsShortRegex=Xe),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},_e.week=function(t){return K(t,this._week.dow,this._week.doy).week},_e.firstDayOfYear=function(){return this._week.doy},_e.firstDayOfWeek=function(){return this._week.dow},_e.weekdays=function(t,i){return i=e(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(i)?"format":"standalone"],!0===t?J(i,this._week.dow):t?i[t.day()]:i},_e.weekdaysMin=function(t){return!0===t?J(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},_e.weekdaysShort=function(t){return!0===t?J(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},_e.weekdaysParse=function(t,e,i){var n,o;if(this._weekdaysParseExact)return function(t,e,i){var n,o,s,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;7>n;++n)s=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(o=he.call(this._weekdaysParse,t))?o:null:"ddd"===e?-1!==(o=he.call(this._shortWeekdaysParse,t))?o:null:-1!==(o=he.call(this._minWeekdaysParse,t))?o:null:"dddd"===e?-1!==(o=he.call(this._weekdaysParse,t))||-1!==(o=he.call(this._shortWeekdaysParse,t))||-1!==(o=he.call(this._minWeekdaysParse,t))?o:null:"ddd"===e?-1!==(o=he.call(this._shortWeekdaysParse,t))||-1!==(o=he.call(this._weekdaysParse,t))||-1!==(o=he.call(this._minWeekdaysParse,t))?o:null:-1!==(o=he.call(this._minWeekdaysParse,t))||-1!==(o=he.call(this._weekdaysParse,t))||-1!==(o=he.call(this._shortWeekdaysParse,t))?o:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;7>n;n++){if(o=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},_e.weekdaysRegex=function(t){return this._weekdaysParseExact?(n(this,"_weekdaysRegex")||tt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(n(this,"_weekdaysRegex")||(this._weekdaysRegex=ei),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},_e.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(n(this,"_weekdaysRegex")||tt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(n(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ii),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_e.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(n(this,"_weekdaysRegex")||tt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(n(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ni),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_e.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},_e.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},at("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===P(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),t.lang=y("moment.lang is deprecated. Use moment.locale instead.",at),t.langData=y("moment.langData is deprecated. Use moment.localeData instead.",ct);var wi=Math.abs;$e=ee("ms"),xe=ee("s"),Ve=ee("m"),Se=ee("h"),Te=ee("d"),Ze=ee("w"),Oe=ee("M"),we=ee("Q"),je=ee("y");var ke=ie("milliseconds"),Me=ie("seconds"),Ke=ie("minutes"),_e=ie("hours"),ki=ie("days"),Ci=ie("months"),Ti=ie("years"),Si=Math.round,$i={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},Mi=Math.abs,ji=xt.prototype;return ji.isValid=function(){return this._isValid},ji.abs=function(){var t=this._data;return this._milliseconds=wi(this._milliseconds),this._days=wi(this._days),this._months=wi(this._months),t.milliseconds=wi(t.milliseconds),t.seconds=wi(t.seconds),t.minutes=wi(t.minutes),t.hours=wi(t.hours),t.months=wi(t.months),t.years=wi(t.years),this},ji.add=function(t,e){return Kt(this,t,e,1)},ji.subtract=function(t,e){return Kt(this,t,e,-1)},ji.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=M(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+Jt(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(te(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},ji.asMilliseconds=$e,ji.asSeconds=xe,ji.asMinutes=Ve,ji.asHours=Se,ji.asDays=Te,ji.asWeeks=Ze,ji.asMonths=Oe,ji.asQuarters=we,ji.asYears=je,ji.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*P(this._months/12):NaN},ji._bubble=function(){var t=this._milliseconds,e=this._days,i=this._months,n=this._data;return t>=0&&e>=0&&i>=0||0>=t&&0>=e&&0>=i||(t+=864e5*Zt(te(i)+e),i=e=0),n.milliseconds=t%1e3,t=A(t/1e3),n.seconds=t%60,t=A(t/60),n.minutes=t%60,t=A(t/60),n.hours=t%24,e+=A(t/24),i+=t=A(Jt(e)),e-=Zt(te(t)),t=A(i/12),i%=12,n.days=e,n.months=i,n.years=t,this},ji.clone=function(){return jt(this)},ji.get=function(t){return t=M(t),this.isValid()?this[t+"s"]():NaN},ji.milliseconds=ke,ji.seconds=Me,ji.minutes=Ke,ji.hours=_e,ji.days=ki,ji.weeks=function(){return A(this.days()/7)},ji.months=Ci,ji.years=Ti,ji.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var i=!1,n=$i;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(n=Object.assign({},$i,e),null!=e.s&&null==e.ss&&(n.ss=e.s-1)),t=this.localeData(),e=ne(this,!i,n,t),i&&(e=t.pastFuture(+this,e)),t.postformat(e)},ji.toISOString=se,ji.toString=se,ji.toJSON=se,ji.locale=Ft,ji.localeData=Ht,ji.toIsoString=y("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",se),ji.lang=ti,C("X",0,0,"unix"),C("x",0,0,"valueOf"),F("x",Ee),F("X",/[+-]?\d+(\.\d{1,3})?/),N("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t))}),N("x",function(t,e,i){i._d=new Date(P(t))}),t.version="2.29.4",re=bt,t.fn=be,t.min=function(){return _t("isBefore",[].slice.call(arguments,0))},t.max=function(){return _t("isAfter",[].slice.call(arguments,0))},t.now=function(){return Date.now?Date.now():+new Date},t.utc=d,t.unix=function(t){return bt(1e3*t)},t.months=function(t,e){return Xt(t,e,"months")},t.isDate=a,t.locale=at,t.invalid=p,t.duration=jt,t.isMoment=g,t.weekdays=function(t,e,i){return Qt(t,e,i,"weekdays")},t.parseZone=function(){return bt.apply(null,arguments).parseZone()},t.localeData=ct,t.isDuration=wt,t.monthsShort=function(t,e){return Xt(t,e,"monthsShort")},t.weekdaysMin=function(t,e,i){return Qt(t,e,i,"weekdaysMin")},t.defineLocale=lt,t.updateLocale=function(t,e){var i,n;return null!=e?(n=si,null!=ri[t]&&null!=ri[t].parentLocale?ri[t].set(x(ri[t]._config,e)):(e=x(n=null!=(i=rt(t))?i._config:n,e),null==i&&(e.abbr=t),(n=new w(e)).parentLocale=ri[t],ri[t]=n),at(t)):null!=ri[t]&&(null!=ri[t].parentLocale?(ri[t]=ri[t].parentLocale,t===at()&&at(t)):null!=ri[t]&&delete ri[t]),ri[t]},t.locales=function(){return ue(ri)},t.weekdaysShort=function(t,e,i){return Qt(t,e,i,"weekdaysShort")},t.normalizeUnits=M,t.relativeTimeRounding=function(t){return void 0===t?Si:"function"==typeof t&&(Si=t,!0)},t.relativeTimeThreshold=function(t,e){return void 0!==$i[t]&&(void 0===e?$i[t]:($i[t]=e,"s"===t&&($i.ss=e-1),!0))},t.calendarFormat=function(t,e){return(t=t.diff(e,"days",!0))<-6?"sameElse":-1>t?"lastWeek":0>t?"lastDay":1>t?"sameDay":2>t?"nextDay":7>t?"nextWeek":"sameElse"},t.prototype=be,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}),define("wickedpicker",["jquery","vendor/moment"],function(t,e){"use strict";function i(e,i){this.initialized=!1,this.element=null,this.elements={},this.timepicker=null,this.time=new Date,this.holdertime=new Date,this.settings={format:!0,meridiem:!0,minTime:new Date((new Date).toDateString()+" 00:00"),maxTime:new Date(new Date(new Date(this.holdertime.setDate(this.holdertime.getDate()+1))).toDateString()+" 00:00"),onChange:!1},this.active=!1,this.updateSettings=function(t){t=t||{};for(var e=0;e<Object.keys(t).length;e++){var i=Object.keys(t)[e];t[Object.keys(t)[e]];this.settings[i]=t[Object.keys(t)[e]]}if(this.settings.format||"undefined"!=typeof t.meridiem||(this.settings.meridiem=!1),this.settings.meridiem=this.settings.format?!0:this.settings.meridiem,this.settings.minTime=void 0===this.settings.minTime.getDate&&null===this.settings.minTime.getDate?new Date((new Date).toDateString()+" "+this.settings.minTime):new Date((new Date).toDateString()+" 00:00"),this.settings.maxTime=void 0===this.settings.maxTime.getDate&&null===this.settings.maxTime.getDate?new Date((new Date).toDateString()+" "+this.settings.maxTime):this.settings.maxTime,this.settings.maxTime.toString()==this.settings.minTime.toString()){var n=new Date(this.settings.minTime);n.setHours(n.getHours()+24),this.settings.maxTime=n}if(this.element.value){var o=new Date((new Date).toDateString()+" "+this.element.value);this.time=isNaN(o.getTime())?this.time:o}this.time.setMilliseconds(0),Object.keys(this.elements).length&&(this.updateTime("minute",!0,0),this.render()),this.validateTime()||(this.time=this.settings.minTime?this.settings.minTime:this.settings.maxTime)},this.buildTimepicker=function(){var t=document.createElement("div"),e=["hour","minute","meridiem"];if(t.className="timepicker__wrapper",t.setAttribute("id","tp_"+(Math.floor(100*Math.random())+1)),!Object.keys(this.elements).length)for(var i=0;i<e.length;i++){this.elements[e[i]]=document.createElement("div"),this.elements[e[i]].className="timepicker__"+e[i];var n=document.createElement("div");n.appendChild(document.createElement("div"));var o=document.createElement("p"),s=document.createElement("div");s.appendChild(document.createElement("div")),n.className="timepicker__button timepicker__button__up",o.className="display",s.className="timepicker__button timepicker__button__down",this.settings.arrowColor&&(n.childNodes[0].style["border-bottom-color"]=this.settings.arrowColor,s.childNodes[0].style["border-top-color"]=this.settings.arrowColor),this.elements[e[i]].appendChild(n),this.elements[e[i]].appendChild(o),this.elements[e[i]].appendChild(s)}this.timepicker=t,this.element.parentNode.insertBefore(t,this.element.nextSibling),this.addListeners(),this.render()},this.render=function(){var e=this.cleanWrapper(this.timepicker);this.settings.meridiem&&(e.className=e.className.indexOf(" timepicker__wrapper-full")>=0?e.className:e.className+" timepicker__wrapper-full");for(var i=0;i<Object.keys(this.elements).length;i++){var n=Object.keys(this.elements)[i],o=this.elements[n],s="get"+n.charAt(0).toUpperCase()+n.slice(1);o.querySelector(".display").innerText=this[s](),("meridiem"!=Object.keys(this.elements)[i]||this.settings.meridiem)&&e.appendChild(o)}this.timepicker=e,this.updateInput();var r=t(".timepicker__wrapper").closest(".form-field").find(".form-field__input").attr("data-close");t(".timepicker__wrapper").append('<div class="timepicker--close" role="button">'+r+"</div>"),t(".timepicker--close").each(function(){t(this).off("click.time").on("click.time",function(){var e=t(this).closest(".timepicker__wrapper");setTimeout(function(){e.removeClass("timepicker__wrapper-active")},50)})})},this.cleanWrapper=function(t){for(;t.hasChildNodes();)t.removeChild(t.lastChild);return t},this.handleClick=function(t){var e=t.currentTarget,i=e.parentNode.className.replace("timepicker__",""),n=-1!==e.className.indexOf("up")?!0:!1;this.updateTime(i,n)},this.validateInput=function(t){var e=t.currentTarget.value,i=e.length?new Date((new Date).toDateString()+" "+e.replace("مساءً","pm").replace("صباحاً","am")):!1;if(i&&!isNaN(i.getTime())&&(this.time=i),!this.validateTime()){var n=i.getTime()>this.settings.maxTime.getTime();i=n?new Date(this.settings.maxTime):new Date(this.settings.minTime),n?i.setMinutes(i.getMinutes()-1):i.setMinutes(i.getMinutes()+1),this.time=i}this.render()},this.updateTime=function(t,e,i){var i=i||1;switch(t){case"meridiem":this.time.getHours()>12?this.time.setHours(this.time.getHours()-12):this.time.setHours(this.time.getHours()+12);break;default:e?this.add(t,i):this.subtract(t,i)}if(!this.validateTime()){var n=e?new Date(this.settings.minTime):new Date(this.settings.maxTime);e?n.setMinutes(n.getMinutes()+1):n.setMinutes(n.getMinutes()-1),this.time=n}this.render()},this.add=function(t,e){var e=e||1;switch(t){case"minute":this.time.setMinutes(this.time.getMinutes()+e);break;case"hour":this.time.setHours(this.time.getHours()+e)}},this.subtract=function(t,e){var e=e||1;switch(t){case"minute":this.time.setMinutes(this.time.getMinutes()-e);break;case"hour":this.time.setHours(this.time.getHours()-e)}},this.validateTime=function(){return this.settings.minTime?(this.settings.maxTime=this.settings.maxTime,this.time.setDate((new Date).getDate()),this.time.getTime()<this.settings.maxTime.getTime()&&this.time.getTime()>this.settings.minTime.getTime()):!0},this.updateInput=function(t){this.initialized&&(this.element.value=this.buildString())},this.buildString=function(){return(this.getHour()+":"+this.getMinute()+" "+this.getMeridiem()).trim()},this.toggleActive=function(t){t.target==this.element?(this.initialized||(this.initialized=!0,this.updateInput()),this.updateBounds(this.timepicker,t.target),this.active=!0):-1==t.target.className.indexOf("timepicker__")&&-1==t.target.parentElement.className.indexOf("timepicker__")&&(this.active=!1),this.timepicker.className=this.active?this.timepicker.className.indexOf(" timepicker__wrapper-active")>=0?this.timepicker.className:this.timepicker.className+" timepicker__wrapper-active":this.timepicker.className.replace(" timepicker__wrapper-active","")},this.updateBounds=function(){var t=this.element.getBoundingClientRect();this.timepicker.style.top=this.element.offsetTop+this.element.innerHeight+"px",this.timepicker.style.width=t.width+"px"},this.addListeners=function(){for(var t=Object.keys(this.elements),e=0;e<t.length;e++)for(var i=this.elements[t[e]],n=[].slice.call(i.childNodes).filter(function(t){return-1!==t.className.indexOf("button")}),o=0;o<n.length;o++){var s=n[o];s.addEventListener("click",this.handleClick.bind(this))}this.element.addEventListener("change",this.validateInput.bind(this)),document.body.addEventListener("click",this.toggleActive.bind(this)),window.addEventListener("resize",this.updateBounds.bind(this))},this.getTime=function(){return this.time},this.getHour=function(){return this.settings.format?this.time.getHours()>12?this.time.getHours()%12:0==this.time.getHours()?12:this.time.getHours():this.time.getHours()<10?"0"+this.time.getHours():this.time.getHours()},this.getMinute=function(){var t=this.time.getMinutes();return 10>t?"0"+t:t},this.getMeridiem=function(){return this.settings.meridiem?"rtl"==t("html").attr("dir")?this.time.getHours()>=12?"مساءً":"صباحاً":this.time.getHours()>=12?"pm":"am":""},this.init=function(){return e.length?void console.warn("Timepicker selector must be for a specific element, not a list of elements."):(this.element=e,this.updateSettings(i),void this.buildTimepicker())},this.init()}if(null!=document.querySelector('input[data-el="timepicker"]')){var n={};t('input[data-el="timepicker"]').each(function(){null!=t(this).attr("time-options")&&""!=t(this).attr("time-options")?new i(this,JSON.parse(t(this).attr("time-options"))):new i(this,n)})}}),define("form",["jquery","lib/utils","form-validation","pickerdate","select2","tooltipster","numeral","picker","wickedpicker"],function(t,e,i,n,o,s){"use strict";var r=function(t){this.$form=t};return r.prototype.init=function(){function n(t,e){t.find(".form-field__messages-password-list-item").removeClass("valid"),e.length>=8&&t.find(".message-minimum").addClass("valid"),e.search(/[a-z]/g)>=0&&t.find(".message-lowercase").addClass("valid"),e.search(/[A-Z]/g)>=0&&t.find(".message-uppercase").addClass("valid"),e.search(/[0-9]/g)>=0&&t.find(".message-number").addClass("valid"),e.search(/[!@#$%^&*]/g)>=0&&t.find(".message-special").addClass("valid")}var o,s,r,a,l=this,c=this.$form.find("[ data-textarea ]"),d=this.$form.find('[ data-el="datepicker-future" ]'),h=this.$form.find('[ data-el="datepicker-past" ]'),u=this.$form.find(".form-field__input--datepicker-binded"),p=this.$form.find('[ data-el="datepicker" ]'),f=(this.$form.find('[ data-el="monthpicker" ]'),["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),m=this.$form.find('[data-el="datepicker-wffm" ]'),g=t("[ data-uploader-field ]"),v=this.$form.find("[ data-uploader-remove ]"),y=this.$form.find("[ data-checkbox-toggle ]"),b=(this.$form.find("[data-select-toggle]"),this.$form.find("[data-toggle-target]"),this.$form.find("[ data-checkbox-terms ]")),_=(this.$form.find("[data-table-post]"),this.$form.find("[data-table-form]"),t(".form-field--fakecbox2_input")),x=t(".fieldset--collapsable"),w=t(".form-field__input--checkbox--toggle"),k=t(".form-field__input--select--toggle"),C=t(".form-field__radio--toggle"),T=t(".form-field--ratingstar"),S=t(".form-field__input--text-binded"),$=t(".form-field__label--tooltip"),M=t(".form-dynamic-tooltip"),j=t(".form-field__input--otp"),D=t("[data-cbox-max]"),E=t(".form-field__input--password"),A=t(".form-field__label-password-visibility"),P={closeOnSelect:!0,format:"dd mmmm yyyy",formatSubmit:"dd mmmm yyyy",onStart:function(){var t,e=this.$node;e.data("initial-date")&&(t=new Date(e.data("initial-date")),this.set("select",[t.getFullYear(),t.getMonth(),t.getDate()]))},onOpen:function(){l.scrollIntoView(this.$node)},onClose:function(){this.component.$node.parsley().validate()}};if(e.isRTL()&&(P.monthsFull=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],f=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],P.monthsShort=["January","February","March","April","May","June","July","August","September","October","November","December"],P.weekdaysShort=["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],P.today="اليوم",P.clear="مسح",P.close="مغلق",P.labelMonthNext="الشهر القادم",P.labelMonthPrev="الشهر السابق",P.labelMonthSelect="اختر الشهر",P.labelYearSelect="اختر السنة",P.format="dd mmmm yyyy",P.formatSubmit="dd mmm yyyy"),t(".form-field__input--checkbox").on("keypress",function(e){13==e.keyCode&&t(this).click()}),l.$form.hasClass("form-dynamic")){var O=l.$form.find(".form-dynamic-section");O.each(function(){var e=t(this).find("input"),i=t(this);e.each(function(){t(this).off("change.dynamic, focusout.dynamic").on("change.dynamic, focusout.dynamic",function(){var n=0,o=0;setTimeout(function(){e.each(function(){t(this).parsley().isValid()||"none"==t(this).closest(".form-field").css("display")||n++}),0==n&&i.hasClass("current")&&(i.removeClass("current"),i.next(".form-dynamic-section").addClass("active"),i.next(".form-dynamic-section").addClass("current")),O.each(function(){t(this).hasClass("active")||o++}),0==o&&(l.$form.find("button.button.disabled").attr("disabled",!1),l.$form.find("button.button.disabled").removeClass("disabled"))},100)})})})}D.each(function(){var e=t(this),i=parseInt(t(this).attr("data-cbox-max")),n=t(this).find(".form-field__input--checkbox");n.each(function(){t(this).off("click.limit").on("click.limit",function(n){e.find(".form-field__input--checkbox:checked").length<=i||!t(this).prop("checked")||n.preventDefault()})})}),$.each(function(){if(!t(this).hasClass("tooltipstered")){var e=t(this).attr("tooltip-text");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})}}),M.each(function(){if(!t(this).hasClass("tooltipstered")){var e=t(this).attr("tooltip-text");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})}}),_.each(function(){t(this).off("click.fbox").on("click.fbox",function(){var e=t(this).find('input[type="checkbox"]');t(this).toggleClass("form-field--fakecbox2_input--active"),e.prop("checked",!e.prop("checked"))})}),setTimeout(function(){x.each(function(){var e=t(this),i=0;e.children().each(function(){"none"!=t(this).css("display")&&(i+=t(this).outerHeight(!0))}),e.hasClass("fieldset--collapsable-closed")?e.height(e.find(".legend").outerHeight(!0)):e.height(i),e.find(".legend").off("click.fcollapse").on("click.fcollapse",function(){i=0,e.children().each(function(){"none"!=t(this).css("display")&&(i+=t(this).outerHeight(!0))}),e.toggleClass("fieldset--collapsable-closed"),e.hasClass("fieldset--collapsable-closed")?e.height(t(this).outerHeight(!0)):e.height(i)})})},500),x.each(function(){t(this).off("DOMSubtreeModified").on("DOMSubtreeModified",function(){var e=0;t(this).children().each(function(){"none"!=t(this).css("display")&&(e+=t(this).outerHeight(!0))}),t(this).height(e)})}),T.each(function(){var e=t(this),i=t(this).find(".form-field--ratingstar_icon"),n=e.find(".form-field__input--ratingstar");if(NaN!=parseInt(n.val())&&void 0!=parseInt(n.val()))for(var o=0;o<parseInt(n.val());o++)t(i[o]).hasClass("active")?(t(i[o]).removeClass("active"),i.each(function(){t(i[o]).removeClass("active")})):(t(i[o]).addClass("active"),t(i[o]).prevAll(".form-field--ratingstar_icon").addClass("active"));i.each(function(){t(this).off("mouseenter.form").on("mouseenter.form",function(){t(this).prevAll(".form-field--ratingstar_icon").addClass("hover")}),t(this).off("mouseout.form").on("mouseout.form",function(){t(this).prevAll(".form-field--ratingstar_icon").removeClass("hover")}),t(this).off("click.form").on("click.form",function(){t(this).hasClass("active")?(t(this).removeClass("active"),i.each(function(){t(this).removeClass("active")})):(t(this).addClass("active"),t(this).prevAll(".form-field--ratingstar_icon").addClass("active")),e.find(".form-field__input--ratingstar").val(e.find(".form-field--ratingstar_icon.active").length),e.find(".form-field__input--ratingstar").trigger("focusout")})})}),setTimeout(function(){w.each(function(){var e=t(this).attr("toggle-target"),i=t(this).attr("is-clear");t(this).prop("checked")?t(e).show():t(e).hide(),t(this).closest(".fieldset--collapsable").trigger("DOMSubtreeModified"),t(this).off("click.ctoggle").on("click.ctoggle",function(){t(this).prop("checked")?t(e).show():(t(e).hide(),"true"==i&&(t(e).find(".form-field__input--radio").prop("checked",!1),t(e).find(".form-field__input--checkbox").prop("checked",!1),t(e).find(".form-field__input--text").val(""))),t(this).closest(".fieldset--collapsable").trigger("DOMSubtreeModified")})})},250),setTimeout(function(){C.each(function(){t(this).find(".form-field__input--radio").each(function(){var e=t(this).attr("toggle-target"),i=t(this).attr("is-clear");t(this).prop("checked")?t(e).show():(t(e).hide(),"true"==i&&(t(e).find(".form-field__input--radio").prop("checked",!1),t(e).find(".form-field__input--checkbox").prop("checked",!1))),t(this).closest(".fieldset--collapsable").trigger("DOMSubtreeModified"),t(this).off("click.rtoggle").on("click.rtoggle",function(){C.each(function(){t(this).find(".form-field__input--radio").each(function(){var e=t(this).attr("toggle-target"),i=t(this).attr("is-clear");t(this).prop("checked")?t(e).show():(t(e).hide(),"true"==i&&(t(e).find(".form-field__input--radio").prop("checked",!1),t(e).find(".form-field__input--checkbox").prop("checked",!1),t(e).find(".form-field__input--text").val("")))})}),t(this).closest(".fieldset--collapsable").trigger("DOMSubtreeModified")})})})},250),setTimeout(function(){k.each(function(){t(this).find("option").each(function(){var e=t(this).attr("toggle-target");t(this).prop("selected")?t(e).show():t(e).hide()}),t(this).closest(".fieldset--collapsable").trigger("DOMSubtreeModified"),t(this).off("change.stoggle").on("change.stoggle",function(){t(this).find("option").each(function(){var e=t(this).attr("toggle-target");t(this).prop("selected")?t(e).show():t(e).hide()}),t(this).closest(".fieldset--collapsable").trigger("DOMSubtreeModified")})})},250),S.each(function(){function e(e,n){n?0==t(e).val().length?t(i).html(t(i).attr("binding-default")):t(i).html(t(e).val()):t(e).hasClass("form-field__input--select")?t(i).html(t(e).find("option:selected").text()):0==t(e).val().length?t(i).html(t(i).attr("binding-default")):t(i).html(t(e).val())}var i=t(this).attr("binding-target");t(this).off("change.binding").on("change.binding",function(){e(this,!1)}),t(this).off("keyup.binding").on("keyup.binding",function(){e(this,!0)}),t(this).hasClass("form-field__input--select")&&t(this).trigger("change")}),j.each(function(){var e=t(this);e.off("keyup.otp").on("keyup.otp",function(){8!=event.keyCode?e.val().length>0&&(e.focusout(),e.closest(".form-field__input-wrapper_otp").next().find(".form-field__input--otp").focus()):(e.focusout(),e.closest(".form-field__input-wrapper_otp").prev().find(".form-field__input--otp").focus())})}),j.on("keyup blur",function(){var e="";t.each(j,function(){e+=t(this).val()});var i=t(this).closest(".form-field--otp").find(".form-field__input--otp_main");i.val(e)}),j.on("paste",function(){var e=t(this),i=e.val(),n=/^\d+$/;e.val(""),e.one("input.fromPaste",function(){var o=t(this),s=o.closest(".form-field--otp"),r=o.val();if(n.test(r)){var a=r.split("");t(a).each(function(t){var e=s.find('.form-field__input--otp[name="chars['+(t+1)+']"]');e.val(a[t])})}else e.val(i)})}),E.on("keyup blur paste",function(){var e=t(this).val(),i=t(this).closest(".form-field--password").find(".form-field__messages-password-list");n(i,e)}),A.off().on("click",function(e){t(this).toggleClass("button--show button--hide");var i=t(this).closest(".form-field--password").find(".form-field__input--password"),n=t(this).hasClass("button--show")?!0:!1;n?i.attr("type","password"):i.attr("type","text"),e.preventDefault()}),this.$form.parents("[ data-wffm ]").length>0?m.each(function(i,n){o=t(n).find("input"),a=e.uniqueID(),o.parents(".field-border").attr("id",a),a="#"+a,s=o.data("picker-options"),"string"==typeof s?s=JSON.parse(s):"object"!=typeof s&&(s={}),o.pickadate(t.extend(!0,{container:a},s,P)),o.data("ref")&&o.on("change",l.setConstraints),o.after('<span data-clicker="'+a+'" class="form-field__datepicker-icon-clicker"></span>')}):("true"!=this.$form.attr("form-skipvalidation")&&(i.apply(this.$form),i.limit()),c.each(function(t,e){l.countTextChars(e)}),c.on("keyup",function(){l.countTextChars(this)}),p.each(function(e,i){o=t(i),s=o.data("picker-options"),a="#"+o.parents(".form-field").attr("id"),"string"==typeof s?s=JSON.parse(s):"object"!=typeof s&&(s={}),o.pickadate(t.extend(!0,s,P)),o.data("ref")&&o.on("change",l.setConstraints),o.after('<span data-clicker="'+a+'" class="form-field__datepicker-icon-clicker"></span>')}),d.each(function(e,i){if(o=t(i),r=o.data("date-max"),s=o.data("picker-options"),a="#"+o.parents(".form-field").attr("id"),"string"==typeof s?s=JSON.parse(s):"object"!=typeof s&&(s={}),"object"==typeof r){var n=r[0],c=r[1],d=r[2],h=new Date;h.setDate(h.getDate()+n),h.setMonth(h.getMonth()+c),h.setFullYear(h.getFullYear()+d),r={max:h}}else"object"!=typeof r&&(r={});o.pickadate(t.extend(!0,{container:a,min:new Date},s,r,P)),o.data("ref")&&o.on("change",l.setConstraints),o.after('<span data-clicker="'+a+'" class="form-field__datepicker-icon-clicker"></span>')}),h.each(function(e,i){o=t(i),s=o.data("picker-options"),a="#"+o.parents(".form-field").attr("id"),"string"==typeof s?s=JSON.parse(s):"object"!=typeof s&&(s={}),o.pickadate(t.extend(!0,{container:a,max:new Date},s,P)),o.data("ref")&&o.on("change",l.setConstraints),o.after('<span data-clicker="'+a+'" class="form-field__datepicker-icon-clicker"></span>')}),Date.prototype.addDays=function(t){var e=new Date(this.valueOf());return e.setDate(e.getDate()+t),e},u.each(function(){var t=new Date,e=parseInt(jQuery(this).attr("data-el-to_min")),i="indefinite"!=jQuery(this).attr("data-el-to_max")?parseInt(jQuery(this).attr("data-el-to_max")):jQuery(this).attr("data-el-to_max"),n=jQuery(this).pickadate(),o=n.pickadate("picker"),s=jQuery(jQuery(this).attr("data-el-to")).pickadate(),r=s.pickadate("picker");"undefined"!=typeof o&&o.get("value")&&r.set("min",o.get("select").obj.addDays(e)),"undefined"!=typeof o&&o.on("set",function(n){n.select?("undefined"!=typeof r&&null!==r.get("select")&&(o.get("select").obj>r.get("select").obj.addDays(-e)||o.get("select").obj<r.get("select").obj.addDays(-i))&&r.clear(),r.set("min",o.get("select").obj.addDays(e)),"indefinite"!=i&&r.set("max",o.get("select").obj.addDays(i))):"clear"in n&&(r.set("min",t.addDays(e)),
"indefinite"!=i&&r.set("max",t.addDays(i)))}),"undefined"!=typeof r&&r.on("set",function(t){t.select&&"undefined"!=typeof o&&null!==o.get("select")&&r.get("select").obj<o.get("select").obj.addDays(e)&&o.clear()})}),g.on("change",function(e){var i=window.navigator.userAgent,n=i.indexOf("MSIE "),o=parseInt(i.substring(n+5,i.indexOf(".",n)));if(9===o){$container=t(this).closest(".form-field--upload"),id=t(this).data("uploader-field"),$remover=$container.find('[ data-uploader-remove="'+id+'" ]'),$previewer=$container.find('[ data-uploader-image="'+id+'" ]'),$filename=$container.find('[ data-uploader-filename="'+id+'" ]');var s=e.target.value.split("\\").pop();$previewer.attr("src",$previewer.data("success")),$filename.text(s).fadeIn(),$remover.fadeIn()}var r=t(this)[0].files[0].size,a=t(this)[0].files[0].name.indexOf(".exe");console.log(t(this)[0].files[0].type);var c=t(this).val().replace(/^.*\./,"").toLowerCase(),d=t(this).closest(".form-field--upload"),h=t(this).closest(".j120-smart-response--button_wrapper"),u=h.find(".form-field__input--upload-format-error-message"),p=h.find(".form-field__input--upload-size-error-message"),f=d.find(".form-field__input--upload-format-error-message"),m=d.find(".form-field__input--upload-size-error-message"),g=t(this);m.hide(),f.hide(),u.each(function(){t(this).hide()}),p.each(function(){t(this).hide()});var v=t(this).data("accepts");if(v)var y=JSON.parse("["+v.toLowerCase()+"]");var b=t(this).attr("data-size");if(v||b||-1!=a){if(!v&&b||v&&!b||v&&b)if(-1!=a)f.show(),u.each(function(){t(this).show()}),g.closest(".form-field").hasClass("form-field--upload_new")&&(g.closest(".form-field").find(".form-field__input--upload-filesize").fadeOut(),g.closest(".form-field").find("[data-currentsize]").html("0"),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","0%")),t(this).val("");else{if(!v&&b)if(b>=r){if(l.previewUploadedImage(this),g.closest(".form-field").hasClass("form-field--upload_new")){var _=r/1e3/75,x=0;g.closest(".form-field").find(".form-field__input--upload-filesize").fadeIn(),g.closest(".form-field").find("[data-totalsize]").html(numeral(r/1e3).format("00.")),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","100%");for(var w=0;75>w;w++)setTimeout(function(){g.closest(".form-field").find("[data-currentsize]").html(numeral(x+_).format("00.")),x+=_},2e3/75*w)}}else m.show(),p.each(function(){t(this).show()}),g.closest(".form-field").hasClass("form-field--upload_new")&&(g.closest(".form-field").find(".form-field__input--upload-filesize").fadeOut(),g.closest(".form-field").find("[data-currentsize]").html("0"),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","0%")),t(this).val("");if(v&&!b)if(y.indexOf(c)>-1){if(l.previewUploadedImage(this),g.closest(".form-field").hasClass("form-field--upload_new")){var _=r/1e3/75,x=0;g.closest(".form-field").find(".form-field__input--upload-filesize").fadeIn(),g.closest(".form-field").find("[data-totalsize]").html(numeral(r/1e3).format("00.")),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","100%");for(var w=0;75>w;w++)setTimeout(function(){g.closest(".form-field").find("[data-currentsize]").html(numeral(x+_).format("00.")),x+=_},2e3/75*w)}}else f.show(),u.each(function(){t(this).show()}),g.closest(".form-field").hasClass("form-field--upload_new")&&(g.closest(".form-field").find(".form-field__input--upload-filesize").fadeOut(),g.closest(".form-field").find("[data-currentsize]").html("0"),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","0%")),t(this).val("");if(v&&b)if(y.indexOf(c)>-1)if(b>=r){if(l.previewUploadedImage(this),g.closest(".form-field").hasClass("form-field--upload_new")){var _=r/1e3/75,x=0;g.closest(".form-field").find(".form-field__input--upload-filesize").fadeIn(),g.closest(".form-field").find("[data-totalsize]").html(numeral(r/1e3).format("00.")),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","100%");for(var w=0;75>w;w++)setTimeout(function(){g.closest(".form-field").find("[data-currentsize]").html(numeral(x+_).format("00.")),x+=_},2e3/75*w)}}else m.show(),p.each(function(){t(this).show()}),g.closest(".form-field").hasClass("form-field--upload_new")&&(g.closest(".form-field").find(".form-field__input--upload-filesize").fadeOut(),g.closest(".form-field").find("[data-currentsize]").html("0"),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","0%")),t(this).val("");else f.show(),u.each(function(){t(this).show()}),g.closest(".form-field").hasClass("form-field--upload_new")&&(g.closest(".form-field").find(".form-field__input--upload-filesize").fadeOut(),g.closest(".form-field").find("[data-currentsize]").html("0"),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","0%")),t(this).val("")}else if(-1!=a)f.show(),u.each(function(){t(this).show()}),g.closest(".form-field").hasClass("form-field--upload_new")&&(g.closest(".form-field").find(".form-field__input--upload-filesize").fadeOut(),g.closest(".form-field").find("[data-currentsize]").html("0"),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","0%")),t(this).val("");else if(l.previewUploadedImage(this),g.closest(".form-field").hasClass("form-field--upload_new")){var _=r/1e3/75,x=0;g.closest(".form-field").find(".form-field__input--upload-filesize").fadeIn(),g.closest(".form-field").find("[data-totalsize]").html(numeral(r/1e3).format("00.")),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","100%");for(var w=0;75>w;w++)setTimeout(function(){g.closest(".form-field").find("[data-currentsize]").html(numeral(x+_).format("00.")),x+=_},2e3/75*w)}}else if(l.previewUploadedImage(this),g.closest(".form-field").hasClass("form-field--upload_new")){var _=r/1e3/75,x=0;g.closest(".form-field").find(".form-field__input--upload-filesize").fadeIn(),g.closest(".form-field").find("[data-totalsize]").html(numeral(r/1e3).format("00.")),g.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","100%");for(var w=0;75>w;w++)setTimeout(function(){g.closest(".form-field").find("[data-currentsize]").html(numeral(x+_).format("00.")),x+=_},2e3/75*w)}t(this).parsley().validate()}),g.each(function(e,i){var n=t(i)[0];n.files&&n.files[0]&&l.previewUploadedImage(i)}),v.on("click",function(t){t.preventDefault(),l.removeUploadedImage(this)}),y.on("click",function(){l.toggleFieldset(t(this))}),t.each(b,function(){var e=t(this).find("input"),i=t(this).find("a"),n=t("[data-content=terms_checkbox]"),o=n.find("[data-modal-confirm]"),s=n.find("[data-close]");i.on("click",function(t){t.preventDefault()}),o.on("click",function(t){t.preventDefault(),e.prop("checked",!0),s.trigger("click")})})),t("[ data-clicker ]").on("click",function(){t(this).siblings('[ data-el="datepicker" ]').click()}),this.initSelect2(),t(window).off("form_reinit").on("form_reinit",function(){l.init()})},r.prototype.initSelect2=function(){t(".form-field__input--select2").each(function(){var i=t(this).closest(".form-field"),n=null==t(this).attr("data-placeholder")?"":t(this).attr("data-placeholder");t(this).select2({width:"100%",placeholder:n}),i.find(".select2-selection__arrow").remove(),i.find(".select2-selection").css("height","auto"),t(this).hasClass("j120-location-form-field__input--select2")&&!e.isRTL()||!t(this).hasClass("j120-location-form-field__input--select2")&&e.isRTL()?i.find(".select2-selection__rendered").css({padding:"5px 12px 8px","padding-left":"44px"}):(t(this).hasClass("j120-location-form-field__input--select2")&&e.isRTL()||!t(this).hasClass("j120-location-form-field__input--select2")&&!e.isRTL())&&i.find(".select2-selection__rendered").css({padding:"5px 12px 8px","padding-right":"44px"})})},r.prototype.setConstraints=function(){var e=t(this),i=e.data("ref"),n=e.pickadate("picker").get("select"),o=t('[data-mindate="'+i+'"]'),s=t('[data-maxdate="'+i+'"]');n=n?n.pick:!1,o.each(function(e,i){var o=t(i),s=o.pickadate("picker").get("select"),r=864e5*parseInt(o.data("mindate-offset"),10),a=n?n+r:!1,l={min:new Date(a)};s&&a&&(l.select=s&&s.pick<a?a:s.pick),o.pickadate("picker").set(l)}),s.each(function(e,i){var o=t(i),s=o.pickadate("picker").get("select"),r=864e5*parseInt(o.data("maxdate-offset"),10),a=n?n+r:!1,l={max:new Date(a)};s&&a&&(l.select=s&&s.pick>a?a:s.pick),o.pickadate("picker").set(l)})},r.prototype.setConstraintsMobile=function(){var e=t(this),i=e.data("ref"),n=e.val(),o=t('[data-mindate="'+i+'"]'),s=t('[data-maxdate="'+i+'"]');o.prop("min",n),s.prop("max",n)},r.prototype.countTextChars=function(e){var i=t(e),n=t('[ data-charcount="'+i.data("textarea")+'" ]');n.text(i.val().length)},r.prototype.scrollIntoView=function(e){t("html, body").animate({scrollTop:~~e.offset().top-60},750)},r.prototype.previewUploadedImage=function(e){var i=t(e),n=i.closest(".form-field--upload"),o=i.data("uploader-field"),s=n.find('[ data-uploader-remove="'+o+'" ]');if(e.files&&e.files[0]){var r,a=!1,l=e.files[0].name,c=n.find('[ data-uploader-image="'+o+'" ]'),d=n.find('[ data-uploader-filename="'+o+'" ]');window.FileReader&&window.Blob&&/image/i.test(e.files[0].type)&&(r=new FileReader,r.onload=function(t){c.attr("src",t.target.result)},r.readAsDataURL(e.files[0]),a=!0),a===!1&&c.attr("src",c.data("success")),d.text(l).fadeIn(),s.fadeIn()}else this.removeUploadedImage(s[0])},r.prototype.removeUploadedImage=function(e){var i=t(e),n=i.closest(".form-field--upload"),o=i.data("uploader-remove"),s=n.find('[ data-uploader-image="'+o+'" ]'),r=n.find('[ data-uploader-field="'+o+'" ]'),a=n.find('[ data-uploader-filename="'+o+'" ]');s.attr("src",s.data("src")),r.val("").focus(),/MSIE/.test(navigator.userAgent)&&r.replaceWith(r=r.clone(!0)),a.text("").fadeOut(),i.fadeOut(),(a=n.closest(".form-field").hasClass("form-field--upload_new"))&&(a=n.closest(".form-field").find(".form-field__input--upload-filesize").fadeOut(),a=n.closest(".form-field").find("[data-currentsize]").html("0"),a=n.closest(".form-field").find(".form-field__input--upload-filesize_green").css("width","0%"))},r.prototype.toggleFieldset=function(e){var i=t("#"+e.attr("aria-controls")),n="true"===i.attr("aria-expanded"),o="true"===i.attr("aria-pressed"),s=i.find("input[type=text], input[type=number], input[type=email]").not("[data-el=datepicker]");e.attr("aria-pressed",o=!o),i.attr("aria-expanded",n=!n),i.toggleClass("fieldset--hidden"),i.hasClass("fieldset--hidden")||s.parsley({excluded:"input.form-field__input--readonly, input[type=button], input[type=submit], input[type=reset], input[type=hidden], [disabled], :hidden"})},r}),define("journey",["jquery"],function(t){"use strict";return{init:function(e){"undefined"==typeof e&&(e=t("[ data-journey ]")),e.each(function(){var e=t(this),i=e.data("journey");require(["../src/journeys/"+i+"/"+i],function(t){var i;void 0!==t&&(i=new t(e),i.init())})})}}}),define("hayak-popup",["jquery"],function(t){"use strict";function e(e){var i=void 0!=window.screenLeft?window.screenLeft:screen.left,n=void 0!=window.screenTop?window.screenTop:screen.top,o=t(e.currentTarget).attr("href"),s=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,r=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,a=s/2-175+i,l=r/2-250+n,c=this.unyco_popup_window;e.preventDefault(),null==c||c.closed?this.unyco_popup_window=window.open(o,"hayakPopUp","width=400,height=600,scrollbar=no,location=no,toolbar=no,resizable=false,left="+a+",top="+l):this.unyco_popup_window.focus()}var i={};return i.init=function(){t(".js-hayak-popup").on("click",t.proxy(e,this))},i}),define("format-numbers",["jquery","numeral"],function(t){"use strict";function e(e){e.each(function(e,i){var n,o=t(i),s=o.data("numeric-format")||"0,0.00",r=o.data("currency"),a=o.text()||o.val(),l=parseFloat(a);if(l){var n=numeral(l).format(s);return r&&(n+=" "+r),o.is("input")||o.is("textarea")?void o.val(n):void o.text(n)}})}var i={};return i.init=function(){e(t("[data-numeric-format]")),t(window).off("numericCurrencyTrigger").on("numericCurrencyTrigger",function(){e(t("[data-numeric-format]"))})},i}),define("bootstrap",["jquery","component","helper","breakpoint","form","journey","lib/utils","hayak-popup","format-numbers","vendor/moment"],function(t,e,i,n,o,s,r,a,l,c){"use strict";document.getElementsByTagName("html")[0].className="js",n.init(),e.init(),i.init(),t("[data-form]").each(function(){new o(t(this)).init()}),s.init(),a.init(),l.init(),r.isMSIE()&&t("a[href^=tel]").each(function(){var e=t(this);e.addClass("link--inactive-tel"),e.on("click",function(t){t.preventDefault()})}),window.initComponents=function(n){var o,r,a,l;"undefined"!=typeof n&&(l=t("#"+n),o=l.find("[ data-component ]"),r=l.find("[ data-helper ]"),a=l.find("[ data-journey ]"),e.init(o),i.init(r),s.init(a))},jQuery("input").on("keyup",function(e){var i=t(this).val()||"",n=/<(\/?\w+[^\n>]*\/?)>/gi;return n.test(i)?(jQuery(this).val(""),e.preventDefault(),!1):void 0})}),function(){"use strict";Array.prototype.filter||(Array.prototype.filter=function(t){if(void 0===this||null===this)throw new TypeError;var e=Object(this),i=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var n=[],o=arguments.length>=2?arguments[1]:void 0,s=0;i>s;s++)if(s in e){var r=e[s];t.call(o,r,s,e)&&n.push(r)}return n}),"function"!=typeof Object.create&&(Object.create=function(){var t=function(){};return function(e){if(arguments.length>1)throw Error("Second argument not supported");if("object"!=typeof e)throw TypeError("Argument must be an object");t.prototype=e;var i=new t;return t.prototype=null,i}}()),Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],n=i.length;return function(o){if("object"!=typeof o&&("function"!=typeof o||null===o))throw new TypeError("Object.keys called on non-object");var s,r,a=[];for(s in o)t.call(o,s)&&a.push(s);if(e)for(r=0;n>r;r+=1)t.call(o,i[r])&&a.push(i[r]);return a}}())}(),define("lib/ieshims",function(){}),function(t,e){"object"==typeof module&&module.exports?(e["default"]=e,module.exports=t.document?e(t):e):"function"==typeof define&&define.amd?define("highcharts/highcharts",[],function(){return e(t)}):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=e(t))}("undefined"!=typeof window?window:this,function(t){function e(e,i,n,o){e.hasOwnProperty(i)||(e[i]=o.apply(null,n),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:e[i]}})))}var i={};return e(i,"Core/Globals.js",[],function(){var e;return function(e){e.SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.2.0",e.win="undefined"!=typeof t?t:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&4>parseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(e||(e={})),e}),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],function(t){function e(i,n,o,s){var r=n?"Highcharts error":"Highcharts warning";32===i&&(i=""+r+": Deprecated member");var a=c(i),l=a?""+r+" #"+i+": www.highcharts.com/errors/"+i+"/":i.toString();if("undefined"!=typeof s){var d="";a&&(l+="?"),y(s,function(t,e){d+="\n - ".concat(e,": ").concat(t),a&&(l+=encodeURI(e)+"="+encodeURI(t))}),l+=d}_(t,"displayError",{chart:o,code:i,message:l,params:s},function(){if(n)throw Error(l);k.console&&-1===e.messages.indexOf(l)&&console.warn(l)}),e.messages.push(l)}function i(t,e){var n={};return y(t,function(o,s){r(t[s],!0)&&!t.nodeType&&e[s]?(o=i(t[s],e[s]),Object.keys(o).length&&(n[s]=o)):(r(t[s])||t[s]!==e[s]||s in t&&!(s in e))&&(n[s]=t[s])}),n}function n(t,e){return parseInt(t,e||10)}function o(t){return"string"==typeof t}function s(t){return t=Object.prototype.toString.call(t),"[object Array]"===t||"[object Array Iterator]"===t}function r(t,e){return!(!t||"object"!=typeof t||e&&s(t))}function a(t){return r(t)&&"number"==typeof t.nodeType}function l(t){var e=t&&t.constructor;return!(!r(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function c(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&t>-(1/0)}function d(t){return"undefined"!=typeof t&&null!==t}function h(t,e,i){var n,s=o(e)&&!d(i),r=function(e,i){d(e)?t.setAttribute(i,e):s?(n=t.getAttribute(i))||"class"!==i||(n=t.getAttribute(i+"Name")):t.removeAttribute(i)};return o(e)?r(i,e):y(e,r),n}function u(t,e){var i;t||(t={});for(i in e)t[i]=e[i];return t}function p(){for(var t=arguments,e=t.length,i=0;e>i;i++){var n=t[i];if("undefined"!=typeof n&&null!==n)return n}}function f(e,i){t.isMS&&!t.svg&&i&&d(i.opacity)&&(i.filter="alpha(opacity=".concat(100*i.opacity,")")),u(e.style,i)}function m(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function g(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}function v(i,o,s){var r=t.getStyle||v;if("width"===o)return o=Math.min(i.offsetWidth,i.scrollWidth),s=i.getBoundingClientRect&&i.getBoundingClientRect().width,o>s&&s>=o-1&&(o=Math.floor(s)),Math.max(0,o-(r(i,"padding-left",!0)||0)-(r(i,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(r(i,"padding-top",!0)||0)-(r(i,"padding-bottom",!0)||0));if(k.getComputedStyle||e(27,!0),i=k.getComputedStyle(i,void 0)){var a=i.getPropertyValue(o);p(s,"opacity"!==o)&&(a=n(a))}return a}function y(t,e,i){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(i||t[n],t[n],n,t)}function b(e,i,n){function o(i,n){var o=e.removeEventListener||t.removeEventListenerPolyfill;o&&o.call(e,i,n,!1)}function s(t){var n;if(e.nodeName){if(i){var s={};s[i]=!0}else s=t;y(s,function(e,i){if(t[i])for(n=t[i].length;n--;)o(i,t[i][n].fn)})}}var r="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(r,"hcEvents")){var a=r.hcEvents;i?(r=a[i]||[],n?(a[i]=r.filter(function(t){return n!==t.fn}),o(i,n)):(s(a),a[i]=[])):(s(a),delete r.hcEvents)}}function _(e,i,n,o){if(n=n||{},w.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var s=w.createEvent("Events");s.initEvent(i,!0,!0),n=u(s,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(i,n)}else if(e.hcEvents){n.target||u(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:i}),s=[];for(var r=e,a=!1;r.hcEvents;)Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents[i]&&(s.length&&(a=!0),s.unshift.apply(s,r.hcEvents[i])),r=Object.getPrototypeOf(r);a&&s.sort(function(t,e){return t.order-e.order}),s.forEach(function(t){!1===t.fn.call(e,n)&&n.preventDefault()})}o&&!n.defaultPrevented&&o.call(e,n)}var x=t.charts,w=t.doc,k=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var C=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,n=t.length;for(i=0;n>i;i++)if(e(t[i],i))return t[i]};y({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(i,n){t[n]=function(t){var o;return e(32,!1,void 0,(o={},o["Highcharts.".concat(n)]="use Array.".concat(i),o)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}});var T,S=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(T?"":t)+e++}}();return k.jQuery&&(k.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);return this[0]?e[0]?(new(t[o(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):x[h(this[0],"data-highcharts-chart")]:void 0}),C={addEvent:function(e,i,n,o){void 0===o&&(o={});var s="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(s,"hcEvents")||(s.hcEvents={}),s=s.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var r=e.addEventListener||t.addEventListenerPolyfill;return r&&r.call(e,i,n,t.supportsPassiveEvents?{passive:void 0===o.passive?-1!==i.indexOf("touch"):o.passive,capture:!1}:!1),s[i]||(s[i]=[]),s[i].push({fn:n,order:"number"==typeof o.order?o.order:1/0}),s[i].sort(function(t,e){return t.order-e.order}),function(){b(e,i,n)}},arrayMax:function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i},attr:h,clamp:function(t,e,i){return t>e?i>t?t:i:e},cleanRecursively:i,clearTimeout:function(t){d(t)&&clearTimeout(t)},correctFloat:g,createElement:function(t,e,i,n,o){return t=w.createElement(t),e&&u(t,e),o&&f(t,{padding:"0",border:"none",margin:"0"}),i&&f(t,i),n&&n.appendChild(t),t},css:f,defined:d,destroyObjectProperties:function(t,e){y(t,function(i,n){i&&i!==e&&i.destroy&&i.destroy(),delete t[n]})},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}},error:e,extend:u,extendClass:function(t,e){var i=function(){};return i.prototype=new t,u(i.prototype,e),i},find:C,fireEvent:_,getMagnitude:m,getNestedProperty:function(t,e){for(t=t.split(".");t.length&&d(e);){var i=t.shift();if("undefined"==typeof i||"__proto__"===i)return;if(e=e[i],!d(e)||"function"==typeof e||"number"==typeof e.nodeType||e===k)return}return e},getStyle:v,inArray:function(t,i,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,n)},isArray:s,isClass:l,isDOMElement:a,isFunction:function(t){return"function"==typeof t},isNumber:c,isObject:r,isString:o,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,i={},n=function(t,e){return"object"!=typeof t&&(t={}),y(e,function(i,o){"__proto__"!==o&&"constructor"!==o&&(!r(i,!0)||l(i)||a(i)?t[o]=e[o]:t[o]=n(t[o]||{},i))}),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;o>t;t++)i=n(i,e[t]);return i},normalizeTickInterval:function(t,e,i,n,o){var s=t;i=p(i,m(t));var r=t/i;for(e||(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===i?e=e.filter(function(t){return 0===t%1}):.1>=i&&(e=[1/i]))),n=0;n<e.length&&(s=e[n],!(o&&s*i>=t||!o&&r<=(e[n]+(e[n+1]||e[n]))/2));n++);return s=g(s*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:y,offset:function(t){var e=w.documentElement;return t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:t.top+(k.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(k.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:p,pInt:n,relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:b,splat:function(t){return s(t)?t:[t]},stableSort:function(t,e){var i,n,o=t.length;for(n=0;o>n;n++)t[n].safeI=n;for(t.sort(function(t,n){return i=e(t,n),0===i?t.safeI-n.safeI:i}),n=0;o>n;n++)delete t[n].safeI},syncTimeout:function(t,e,i){return e>0?setTimeout(t,e,i):(t.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:S,useSerialIds:function(t){return T=p(t,T)},wrap:function(t,e,i){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,o=this;return o.proceed=function(){n.apply(o,arguments.length?arguments:e)},t.unshift(n),t=i.apply(this,t),o.proceed=null,t}}}}),e(i,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),e(i,"Core/Color/Color.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=e.isNumber,n=e.merge,o=e.pInt;return e=function(){function e(i){this.rgba=[NaN,NaN,NaN,NaN],this.input=i;var n=t.Color;return n&&n!==e?new n(i):this instanceof e?void this.init(i):new e(i)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var i;if("object"==typeof t&&"undefined"!=typeof t.stops)this.stops=t.stops.map(function(t){return new e(t[1])});else if("string"==typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var n=t.length,o=parseInt(t.substr(1),16);7===n?i=[(16711680&o)>>16,(65280&o)>>8,255&o,1]:4===n&&(i=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])}if(!i)for(o=e.parsers.length;o--&&!i;){var s=e.parsers[o];(n=s.regex.exec(t))&&(i=s.parse(n))}}i&&(this.rgba=i)},e.prototype.get=function(t){var e=this.input,o=this.rgba;if("object"==typeof e&&"undefined"!=typeof this.stops){var s=n(e);return s.stops=[].slice.call(s.stops),this.stops.forEach(function(e,i){s.stops[i]=[s.stops[i][0],e.get(t)]}),s}return o&&i(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?"".concat(o[3]):"rgba("+o.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(i(t)&&0!==t)for(var n=0;3>n;n++)e[n]+=o(255*t),0>e[n]&&(e[n]=0),255<e[n]&&(e[n]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var n=this.rgba,o=t.rgba;return i(n[0])&&i(o[0])?(t=1!==o[3]||1!==n[3],(t?"rgba(":"rgb(")+Math.round(o[0]+(n[0]-o[0])*(1-e))+","+Math.round(o[1]+(n[1]-o[1])*(1-e))+","+Math.round(o[2]+(n[2]-o[2])*(1-e))+(t?","+(o[3]+(n[3]-o[3])*(1-e)):"")+")"):t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],e.None=new e(""),e}()}),e(i,"Core/Color/Palettes.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}}),e(i,"Core/Time.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=t.win,n=e.defined,o=e.error,s=e.extend,r=e.isObject,a=e.merge,l=e.objectEach,c=e.pad,d=e.pick,h=e.splat,u=e.timeUnits,p=t.isSafari&&i.Intl&&i.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&i.Intl&&!i.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=i.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var i=e.getTime(),n=i-this.getTimezoneOffset(e);return e.setTime(n),t=e["getUTC"+t](),e.setTime(i),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0===this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](i);var n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](i),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||p&&"FullYear"===t?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){var e=d(t&&t.useUTC,!0);this.options=t=a(!0,this.options||{},t),this.Date=t.Date||i.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,i,n,o,s){if(this.useUTC){var r=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(r);r+=a;var l=this.getTimezoneOffset(r);a!==l?r+=l-a:a-36e5!==this.getTimezoneOffset(r-36e5)||f||(r-=36e5)}else r=new this.Date(t,e,d(i,1),d(n,0),d(o,0),d(s,0)).getTime();return r},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.getTimezoneOffset,s=e.moment||i.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(s)return function(t){return 6e4*-s.tz(t,e.timezone).utcOffset()};o(25)}return this.useUTC&&n?function(t){return 6e4*n(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,i,o){if(!n(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=d(e,"%Y-%m-%d %H:%M:%S");var r=this,a=new this.Date(i),h=this.get("Hours",a),u=this.get("Day",a),p=this.get("Date",a),f=this.get("Month",a),m=this.get("FullYear",a),g=t.defaultOptions.lang,v=g&&g.weekdays,y=g&&g.shortWeekdays;return a=s({a:y?y[u]:v[u].substr(0,3),A:v[u],d:c(p),e:c(p,2," "),w:u,b:g.shortMonths[f],B:g.months[f],m:c(f+1),o:f+1,y:m.toString().substr(2,2),Y:m,H:c(h),k:h,I:c(h%12||12),l:h%12||12,M:c(this.get("Minutes",a)),p:12>h?"AM":"PM",P:12>h?"am":"pm",S:c(a.getSeconds()),L:c(Math.floor(i%1e3),3)},t.dateFormats),l(a,function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"==typeof t?t.call(r,i):t)}),o?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return r(t,!0)?t:(t=h(t),{main:t[0],from:t[1],to:t[2]})},e.prototype.getTimeTicks=function(t,e,i,o){var r,a=this,l=[],c={},h=new a.Date(e),p=t.unitRange,f=t.count||1;if(o=d(o,1),n(e)){if(a.set("Milliseconds",h,p>=u.second?0:f*Math.floor(a.get("Milliseconds",h)/f)),p>=u.second&&a.set("Seconds",h,p>=u.minute?0:f*Math.floor(a.get("Seconds",h)/f)),p>=u.minute&&a.set("Minutes",h,p>=u.hour?0:f*Math.floor(a.get("Minutes",h)/f)),p>=u.hour&&a.set("Hours",h,p>=u.day?0:f*Math.floor(a.get("Hours",h)/f)),p>=u.day&&a.set("Date",h,p>=u.month?1:Math.max(1,f*Math.floor(a.get("Date",h)/f))),p>=u.month){a.set("Month",h,p>=u.year?0:f*Math.floor(a.get("Month",h)/f));var m=a.get("FullYear",h)}p>=u.year&&a.set("FullYear",h,m-m%f),p===u.week&&(m=a.get("Day",h),a.set("Date",h,a.get("Date",h)-m+o+(o>m?-7:0))),m=a.get("FullYear",h),o=a.get("Month",h);var g=a.get("Date",h),v=a.get("Hours",h);for(e=h.getTime(),!a.variableTimezone&&a.useUTC||!n(i)||(r=i-e>4*u.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(i)),e=h.getTime(),h=1;i>e;)l.push(e),e=p===u.year?a.makeTime(m+h*f,0):p===u.month?a.makeTime(m,o+h*f):!r||p!==u.day&&p!==u.week?r&&p===u.hour&&f>1?a.makeTime(m,o,g,v+h*f):e+p*f:a.makeTime(m,o,g+h*f*(p===u.day?1:7)),h++;l.push(e),p<=u.hour&&1e4>l.length&&l.forEach(function(t){0===t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(c[t]="day")})}return l.info=s(t,{higherRanks:c,totalRange:p*f}),l},e.prototype.getDateFormat=function(t,e,i,n){var o=this.dateFormat("%m-%d %H:%M:%S.%L",e),s={millisecond:15,second:12,minute:9,hour:6,day:3},r="millisecond";for(a in u){if(t===u.week&&+this.dateFormat("%w",e)===i&&"00:00:00.000"===o.substr(6)){var a="week";break}if(u[a]>t){a=r;break}if(s[a]&&o.substr(s[a])!=="01-01 00:00:00.000".substr(s[a]))break;"week"!==a&&(r=a)}return this.resolveDTLFormat(n[a]).main},e}()}),e(i,"Core/DefaultOptions.js",[i["Core/Chart/ChartDefaults.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palettes.js"],i["Core/Time.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s){
e=e.parse;var r=s.merge,a={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:i.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};a.chart.styledMode=!1;var l=new o(r(a.global,a.time));return t={defaultOptions:a,defaultTime:l,getOptions:function(){return a},setOptions:function(t){return r(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(r(a.global,a.time,t.global,t.time)):i.time=l),a}}}),e(i,"Core/Animation/Fx.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,i){var n=t.parse,o=e.win,s=i.isNumber,r=i.objectEach;return function(){function t(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,n=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var o=0;o<t.length;o++){for(var r=e[o],a=t[o],l=[],c=0;c<a.length;c++){var d=r[c],h=a[c];s(d)&&s(h)&&("A"!==a[0]||4!==c&&5!==c)?l[c]=d+i*(h-d):l[c]=h}n.push(l)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,n&&n.call(t,i,this)},t.prototype.run=function(e,i,n){var s=this,r=s.options,a=function(t){return a.stopped?!1:s.step(t)},l=o.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(c)};e!==i||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=i,this.unit=n,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&l(c)):(delete r.curAnim[this.prop],r.complete&&0===Object.keys(r.curAnim).length&&r.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,i=this.options,n=this.elem,o=i.complete,s=i.duration,a=i.curAnim;if(n.attr&&!n.element)t=!1;else if(t||e>=s+this.startTime){this.now=this.end,this.pos=1,this.update();var l=a[this.prop]=!0;r(a,function(t){!0!==t&&(l=!1)}),l&&o&&o.call(n),t=!1}else this.pos=i.easing((e-this.startTime)/s),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,i){function n(t,e){for(;t.length<u;){var i=t[0],n=e[u-t.length];n&&"M"===i[0]&&(t[0]="C"===n[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]),t.unshift(i),l&&(i=t.pop(),t.push(t[t.length-1],i))}}function o(t,e){for(;t.length<u;)if(e=t[Math.floor(t.length/c)-1].slice(),"C"===e[0]&&(e[1]=e[5],e[2]=e[6]),l){var i=t[Math.floor(t.length/c)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}var r=t.startX,a=t.endX;i=i.slice();var l=t.isArea,c=l?2:1;if(e=e&&e.slice(),!e)return[i,i];if(r&&a&&a.length){for(t=0;t<r.length;t++){if(r[t]===a[0]){var d=t;break}if(r[0]===a[a.length-r.length+t]){d=t;var h=!0;break}if(r[r.length-1]===a[a.length-r.length+t]){d=r.length-t;break}}"undefined"==typeof d&&(e=[])}if(e.length&&s(d)){var u=i.length+d*c;h?(n(e,i),o(i,e)):(n(i,e),o(e,i))}return[e,i]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(this.end),this.pos),void 0,!0)},t.timers=[],t}()}),e(i,"Core/Animation/AnimationUtilities.js",[i["Core/Animation/Fx.js"],i["Core/Utilities.js"]],function(t,e){function i(t){return l(t)?c({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function n(e,i){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||i&&i!==t.timers[n].prop||(t.timers[n].stopped=!0)}var o=e.defined,s=e.getStyle,r=e.isArray,a=e.isNumber,l=e.isObject,c=e.merge,d=e.objectEach,h=e.pick;return{animate:function(e,i,o){var h,u,p,f="";if(!l(o)){var m=arguments;o={duration:m[2],easing:m[3],complete:m[4]}}a(o.duration)||(o.duration=400),o.easing="function"==typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=c(i),d(i,function(a,l){n(e,l),p=new t(e,o,l),u=void 0,"d"===l&&r(i.d)?(p.paths=p.initPath(e,e.pathArray,i.d),p.toD=i.d,h=0,u=1):e.attr?h=e.attr(l):(h=parseFloat(s(e,l))||0,"opacity"!==l&&(f="px")),u||(u=a),"string"==typeof u&&u.match("px")&&(u=u.replace(/px/g,"")),p.run(h,u,f)})},animObject:i,getDeferredAnimation:function(t,e,n){var s=i(e),r=0,a=0;return(n?[n]:t.series).forEach(function(t){t=i(t.options.animation),r=e&&o(e.defer)?s.defer:Math.max(r,t.duration+t.defer),a=Math.min(s.duration,t.duration)}),t.renderer.forExport&&(r=0),{defer:Math.max(0,r-a),duration:Math.min(r,a)}},setAnimation:function(t,e){e.renderer.globalAnimation=h(t,e.options.chart.animation,!0)},stop:n}}),e(i,"Core/Renderer/HTML/AST.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=t.SVG_NS,n=e.attr,o=e.createElement,s=e.css,r=e.error,a=e.isFunction,l=e.isString,c=e.objectEach,d=e.splat,h=(e=t.win.trustedTypes)&&a(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),u=h?h.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(u,"text/html")}catch(f){p=!1}return a=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return c(t,function(i,n){var o=!0;-1===e.allowedAttributes.indexOf(n)&&(o=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(o=l(i)&&e.allowedReferences.some(function(t){return 0===i.indexOf(t)})),o||(r(33,!1,void 0,{"Invalid attribute in config":"".concat(n)}),delete t[n])}),t},e.parseStyle=function(t){return t.split(";").reduce(function(t,e){e=e.split(":").map(function(t){return t.trim()});var i=e.shift();return i&&e.length&&(t[i.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})]=e.join(":")),t},{})},e.setElementHTML=function(t,i){t.innerHTML=e.emptyHTML,i&&new e(i).addToDOM(t)},e.prototype.addToDOM=function(o){function a(o,l){var h;return d(o).forEach(function(o){var d=o.tagName,u=o.textContent?t.doc.createTextNode(o.textContent):void 0,p=e.bypassHTMLFiltering;if(d)if("#text"===d)var f=u;else if(-1!==e.allowedTags.indexOf(d)||p){d=t.doc.createElementNS("svg"===d?i:l.namespaceURI||i,d);var m=o.attributes||{};c(o,function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(m[e]=t)}),n(d,p?m:e.filterUserAttributes(m)),o.style&&s(d,o.style),u&&d.appendChild(u),a(o.children||[],d),f=d}else r(33,!1,void 0,{"Invalid tagName in config":d});f&&l.appendChild(f),h=f}),h}return a(this.nodes,o)},e.prototype.parseMarkup=function(t){var i=[];if(t=t.trim().replace(/ style="/g,' data-style="'),p)t=(new DOMParser).parseFromString(h?h.createHTML(t):t,"text/html");else{var n=o("div");n.innerHTML=t,t={body:n}}var s=function(t,i){var n=t.nodeName.toLowerCase(),o={tagName:n};if("#text"===n&&(o.textContent=t.textContent||""),n=t.attributes){var r={};[].forEach.call(n,function(t){"data-style"===t.name?o.style=e.parseStyle(t.value):r[t.name]=t.value}),o.attributes=r}if(t.childNodes.length){var a=[];[].forEach.call(t.childNodes,function(t){s(t,a)}),a.length&&(o.children=a)}i.push(o)};return[].forEach.call(t.body.childNodes,function(t){return s(t,i)}),i},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=u,e.bypassHTMLFiltering=!1,e}()}),e(i,"Core/FormatUtilities.js",[i["Core/DefaultOptions.js"],i["Core/Utilities.js"]],function(t,e){function i(t,e,i,o){t=+t||0,e=+e;var s=n.lang,c=(t.toString().split(".")[1]||"").split("e")[0].length,d=t.toString().split("e"),h=e;if(-1===e)e=Math.min(c,20);else if(r(e)){if(e&&d[1]&&0>d[1]){var u=e+ +d[1];u>=0?(d[0]=(+d[0]).toExponential(u).split("e")[0],e=u):(d[0]=d[0].split(".")[0]||0,t=20>e?(d[0]*Math.pow(10,d[1])).toFixed(e):0,d[1]=0)}}else e=2;u=(Math.abs(d[1]?d[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e),c=String(l(u));var p=3<c.length?c.length%3:0;return i=a(i,s.decimalPoint),o=a(o,s.thousandsSep),t=(0>t?"-":"")+(p?c.substr(0,p)+o:""),t=0>+d[1]&&!h?"0":t+c.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(t+=i+u.slice(-e)),d[1]&&0!==+t&&(t+="e"+d[1]),t}var n=t.defaultOptions,o=t.defaultTime,s=e.getNestedProperty,r=e.isNumber,a=e.pick,l=e.pInt;return{dateFormat:function(t,e,i){return o.dateFormat(t,e,i)},format:function(t,e,r){var a="{",l=!1,c=/f$/,d=/\.([0-9])/,h=n.lang,u=r&&r.time||o;r=r&&r.numberFormatter||i;for(var p=[];t;){var f=t.indexOf(a);if(-1===f)break;var m=t.slice(0,f);if(l){if(m=m.split(":"),a=s(m.shift()||"",e),m.length&&"number"==typeof a)if(m=m.join(":"),c.test(m)){var g=parseInt((m.match(d)||["","-1"])[1],10);null!==a&&(a=r(a,g,h.decimalPoint,-1<m.indexOf(",")?h.thousandsSep:""))}else a=u.dateFormat(m,a);p.push(a)}else p.push(m);t=t.slice(f+1),a=(l=!l)?"}":"{"}return p.push(t),p.join("")},numberFormat:i}}),e(i,"Core/Renderer/RendererUtilities.js",[i["Core/Utilities.js"]],function(t){var e,i=t.clamp,n=t.pick,o=t.stableSort;return function(t){function e(t,s,r){var a,l=t,c=l.reducedLen||s,d=function(t,e){return(e.rank||0)-(t.rank||0)},h=function(t,e){return t.target-e.target},u=!0,p=[],f=0;for(a=t.length;a--;)f+=t[a].size;if(f>c){for(o(t,d),f=a=0;c>=f;)f+=t[a].size,a++;p=t.splice(a-1,t.length)}for(o(t,h),t=t.map(function(t){return{size:t.size,targets:[t.target],align:n(t.align,.5)}});u;){for(a=t.length;a--;)c=t[a],d=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=i(d-c.size*c.align,0,s-c.size);for(a=t.length,u=!1;a--;)a>0&&t[a-1].pos+t[a-1].size>t[a].pos&&(t[a-1].size+=t[a].size,t[a-1].targets=t[a-1].targets.concat(t[a].targets),t[a-1].align=.5,t[a-1].pos+t[a-1].size>s&&(t[a-1].pos=s-t[a-1].size),t.splice(a,1),u=!0)}return l.push.apply(l,p),a=0,t.some(function(t){var i=0;return(t.targets||[]).some(function(){return l[a].pos=t.pos+i,"undefined"!=typeof r&&Math.abs(l[a].pos-l[a].target)>r?(l.slice(0,a+1).forEach(function(t){return delete t.pos}),l.reducedLen=(l.reducedLen||s)-.1*s,l.reducedLen>.1*s&&e(l,s,r),!0):(i+=l[a].size,a++,!1)})}),o(l,h),l}t.distribute=e}(e||(e={})),e}),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,i,n,o){var s=t.animate,r=t.animObject,a=t.stop,l=n.deg2rad,c=n.doc,d=n.noop,h=n.svg,u=n.SVG_NS,p=n.win,f=o.addEvent,m=o.attr,g=o.createElement,v=o.css,y=o.defined,b=o.erase,_=o.extend,x=o.fireEvent,w=o.isArray,k=o.isFunction,C=o.isNumber,T=o.isString,S=o.merge,$=o.objectEach,M=o.pick,j=o.pInt,D=o.syncTimeout,E=o.uniqueKey;return t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=M(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,i=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,"undefined"!=typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(t?t.element:e.box).appendChild(i),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var i=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "),t!==i&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,i){var n,o,s,r={},a=this.renderer,l=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||T(i))&&(this.alignTo=n=i||"renderer",b(l,this),l.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),i=M(i,a[n],"scrollablePlotBox"===n?a.plotBox:void 0,a),n=t.align;var c=t.verticalAlign;return a=(i.x||0)+(t.x||0),l=(i.y||0)+(t.y||0),"right"===n?o=1:"center"===n&&(o=2),o&&(a+=(i.width-(t.width||0))/o),r[e?"translateX":"x"]=Math.round(a),"bottom"===c?s=1:"middle"===c&&(s=2),s&&(l+=(i.height-(t.height||0))/s),r[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](r),this.placed=!0,this.alignAttr=r,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,i){var n=this,o=r(M(e,this.renderer.globalAnimation,!0));return e=o.defer,M(c.hidden,c.msHidden,c.webkitHidden,!1)&&(o.duration=0),0!==o.duration?(i&&(o.complete=i),D(function(){n.element&&s(n,t,o)},e)):(this.attr(t,void 0,i||o.complete),$(t,function(t,e){o.step&&o.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var i=t.split(" ");if(t=i[i.length-1],(i=i[0])&&"none"!==i&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,i=i.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline();var o=c.createElementNS(u,"tspan");m(o,{"class":"highcharts-text-outline",fill:t,stroke:t,"stroke-width":i,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),o.appendChild(e)});var s=c.createElementNS(u,"tspan");s.textContent="​",["x","y"].forEach(function(t){var i=e.getAttribute(t);i&&s.setAttribute(t,i)}),o.appendChild(s),e.insertBefore(o,e.firstChild)}},t.prototype.attr=function(t,e,i,n){var o,s,r,l=this.element,c=this.symbolCustomAttribs,d=this;if("string"==typeof t&&"undefined"!=typeof e){var h=t;t={},t[h]=e}return"string"==typeof t?d=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):($(t,function(e,i){s=!1,n||a(this,i),this.symbolName&&-1!==c.indexOf(i)&&(o||(this.symbolAttr(t),o=!0),s=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),s||(r=this[i+"Setter"]||this._defaultSetter,r.call(this,e,i,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,e,r))},this),this.afterSetters()),i&&i.call(this),d},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),y(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,n){var o,s,r,a,l,c,d,h,u,p,f,m=this.renderer,g=[];x(this.renderer,"complexColor",{args:arguments},function(){if(t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s){if(r=t[s],l=m.gradients,c=t.stops,u=n.radialReference,w(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&u&&!y(r.gradientUnits)&&(a=r,r=S(r,m.getRadialAttr(u,a),{gradientUnits:"userSpaceOnUse"})),$(r,function(t,e){"id"!==e&&g.push(e,t)}),$(c,function(t){g.push(t)}),g=g.join(","),l[g])p=l[g].attr("id");else{r.id=p=E();var v=l[g]=m.createElement(s).attr(r).add(m.defs);v.radAttr=a,v.stops=[],c.forEach(function(t){0===t[1].indexOf("rgba")?(o=i.parse(t[1]),d=o.get("rgb"),h=o.get("a")):(d=t[1],h=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":d,"stop-opacity":h}).add(v),v.stops.push(t)})}f="url("+m.url+"#"+p+")",n.setAttribute(e,f),n.gradient=g,t.toString=function(){return f}}})},t.prototype.css=function(t){var e=this.styles,i={},n=this.element,o=!e;if(t.color&&(t.fill=t.color),e&&$(t,function(t,n){e&&e[n]!==t&&(i[n]=t,o=!0)}),o){if(e&&(t=_(e,i)),null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var s=this.textWidth=j(t.width);this.styles=t,s&&!h&&this.renderer.forExport&&delete t.width;var r=S(t);n.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return r&&delete r[t]}),v(n,r),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=i.length;t--;)i[t]=""+j(i[t])*M(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},i=t.renderer,n=e.ownerSVGElement,o=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,a(t),t.clipPath&&n){var s=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1<t.getAttribute("clip-path").indexOf(s.element.id)&&t.removeAttribute("clip-path")}),t.clipPath=s.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&b(i.alignedObjects,t),$(t,function(e,i){t[i]&&t[i].parentGroup===t&&t[i].destroy&&t[i].destroy(),delete t[i]})},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(t){this.safeRemoveChild(t)},this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var i=t.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)i.appendChild(t[0]);i.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,i){w(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce(function(t,e,i){return e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()},"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:M(t,150),complete:function(){e.hide()}})},t.prototype.fillSetter=function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)},t.prototype.getBBox=function(e,i){var n=this.alignValue,o=this.element,s=this.renderer,r=this.styles,a=this.textStr,c=s.cache,d=s.cacheKeys,h=o.namespaceURI===this.SVG_NS;i=M(i,this.rotation,0);var u,p=s.styledMode?o&&t.prototype.getStyle.call(o,"font-size"):r&&r.fontSize;if(y(a)){var f=a.toString();-1===f.indexOf("<")&&(f=f.replace(/[0-9]/g,"0")),f+=["",i,p,this.textWidth,n,r&&r.textOverflow,r&&r.fontWeight].join()}if(f&&!e&&(u=c[f]),!u){if(h||s.forExport){try{var m=this.fakeTS&&function(t){var e=o.querySelector(".highcharts-text-outline");e&&v(e,{display:t})};k(m)&&m("none"),u=o.getBBox?_({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight},k(m)&&m("")}catch(g){}(!u||0>u.width)&&(u={x:0,y:0,width:0,height:0})}else u=this.htmlGetBBox();if(s.isSVG&&(s=u.width,e=u.height,h&&(u.height=e={"11px,17":14,"13px,20":16}[""+(p||"")+",".concat(Math.round(e))]||e),i)){h=Number(o.getAttribute("y")||0)-u.y,n={right:1,center:.5}[n||0]||0,r=i*l,p=(i-90)*l;var b=s*Math.cos(r);i=s*Math.sin(r),m=Math.cos(p),r=Math.sin(p),s=u.x+n*(s-b)+h*m,p=s+b,m=p-e*m,b=m-b,h=u.y+h-n*i+h*r,n=h+i,e=n-e*r,i=e-i,u.x=Math.min(s,p,m,b),u.y=Math.min(h,n,e,i),u.width=Math.max(s,p,m,b)-u.x,u.height=Math.max(h,n,e,i)-u.y}if(f&&(""===a||0<u.height)){for(;250<d.length;)delete c[d.shift()];c[f]||d.push(f),c[f]=u}}return u},t.prototype.getStyle=function(t){return p.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(){return this.attr({visibility:"hidden"})},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?g(e):c.createElementNS(this.SVG_NS,e),this.renderer=t,x(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var i=this.onEvents;return i[t]&&i[t](),i[t]=f(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,i){this.opacity=t=Number(Number(t).toFixed(3)),i.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(T(t)?new RegExp("(^| )".concat(t,"( |$)")):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,i){var n=this.element,o=this.text?this.text.element:n,s={textAnchor:"text-anchor"},r=!1,a=this.textPathWrapper,l=!a;i=S(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},i);var c=e.filterUserAttributes(i.attributes);if(t&&i&&i.enabled){a&&null===a.element.parentNode?(l=!0,a=a.destroy()):a&&this.removeTextOutline.call(a.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),a||(this.textPathWrapper=a=this.renderer.createElement("textPath"),r=!0);var h=a.element;if((i=t.element.getAttribute("id"))||t.element.setAttribute("id",i=E()),l)for(o.setAttribute("y",0),C(c.dx)&&o.setAttribute("x",-c.dx),t=[].slice.call(o.childNodes),l=0;l<t.length;l++){var u=t[l];u.nodeType!==p.Node.TEXT_NODE&&"tspan"!==u.nodeName||h.appendChild(u)}r&&a&&a.add({element:o}),h.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+i),y(c.dy)&&(h.parentNode.setAttribute("dy",c.dy),delete c.dy),y(c.dx)&&(h.parentNode.setAttribute("dx",c.dx),delete c.dx),$(c,function(t,e){h.setAttribute(s[e]||e,t)}),n.removeAttribute("transform"),this.removeTextOutline.call(a),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=d}else a&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,i){var n,o=[],s=this.element,r=this.oldShadowOptions,a={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===t?n=a:"object"==typeof t&&(n=_(a,t)),n&&(n&&r&&$(n,function(t,e){t!==r[e]&&(l=!0)}),l&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var c=n.opacity/n.width,d=this.parentInverted?"translate(".concat(n.offsetY,", ").concat(n.offsetX,")"):"translate(".concat(n.offsetX,", ").concat(n.offsetY,")");for(a=1;a<=n.width;a++){var h=s.cloneNode(!1),u=2*n.width+1-2*a;m(h,{stroke:t.color||"#000000","stroke-opacity":c*a,"stroke-width":u,transform:d,fill:"none"}),h.setAttribute("class",(h.getAttribute("class")||"")+" highcharts-shadow"),i&&(m(h,"height",Math.max(m(h,"height")-u,0)),h.cutHeight=u),e?e.element.appendChild(h):s.parentNode&&s.parentNode.insertBefore(h,s),o.push(h)}this.shadows=o}}else this.destroyShadows();return this},t.prototype.show=function(t){return void 0===t&&(t=!0),this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,n){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=j(t);else if(""!==t){var i=c.createElementNS(u,"rect");m(i,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(i){e[i]=M(t[i],e[i])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,i=e.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(M(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var n=this.shadows;if(n)for(var o=n.length;o--;)i.call(n[o],"height"===t?Math.max(e-(n[o].cutHeight||0),0):"d"===t?this.d:e,t,n[o])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,n=this.rotation,o=this.matrix,s=this.element,r=this.translateX||0,a=this.translateY||0;i&&(r+=this.width,a+=this.height),r=["translate("+r+","+a+")"],y(o)&&r.push("matrix("+o.join(",")+")"),i?r.push("rotate(90) scale(-1,1)"):n&&r.push("rotate("+n+" "+M(this.rotationOriginX,s.getAttribute("x"),0)+" "+M(this.rotationOriginY,s.getAttribute("y")||0)+")"),(y(t)||y(e))&&r.push("scale("+M(t,1)+" "+M(e,1)+")"),r.length&&s.setAttribute("transform",r.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,n=this.parentGroup,o=(n||i).element||i.box,s=this.element;i=o===i.box;var r,a=!1,l=this.added;if(y(t)?(s.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):y(this[e])&&s.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&n&&(n.handleZ=!0),e=o.childNodes,r=e.length-1;r>=0&&!a;r--){n=e[r],l=n.getAttribute("data-z-index");var c=!y(l);n!==s&&(0>t&&c&&!i&&!r?(o.insertBefore(s,e[r]),a=!0):(j(l)<=t||c&&(!y(t)||t>=0))&&(o.insertBefore(s,e[r+1]||null),a=!0))}a||(o.insertBefore(s,e[i?3:0]||null),a=!0)}return a},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),e(i,"Core/Renderer/RendererRegistry.js",[i["Core/Globals.js"]],function(t){var e;return function(e){e.rendererTypes={};var i;e.getRendererType=function(t){return void 0===t&&(t=i),e.rendererTypes[t]||e.rendererTypes[i]},e.registerRendererType=function(n,o,s){e.rendererTypes[n]=o,(!i||s)&&(i=n,t.Renderer=o)}}(e||(e={})),e}),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=e.defined,o=e.extend,s=e.isNumber,r=e.merge,a=e.pick,l=e.removeEvent;return function(e){function c(t,i,n,o,s,r,a,l,d,h){var u=e.call(this)||this;u.paddingLeftSetter=u.paddingSetter,u.paddingRightSetter=u.paddingSetter,u.init(t,"g"),u.textStr=i,u.x=n,u.y=o,u.anchorX=r,u.anchorY=a,u.baseline=d,u.className=h,u.addClass("button"===h?"highcharts-no-tooltip":"highcharts-label"),
h&&u.addClass("highcharts-"+h),u.text=t.text(void 0,0,0,l).attr({zIndex:1});var p;return"string"==typeof s&&((p=/^url\((.*?)\)$/.test(s))||u.renderer.symbols[s])&&(u.symbolKey=s),u.bBox=c.emptyBBox,u.padding=3,u.baselineOffset=0,u.needsBox=t.styledMode||p,u.deferredAttr={},u.alignFactor=0,u}return i(c,e),c.prototype.alignSetter=function(t){t={left:0,center:.5,right:1}[t],t!==this.alignFactor&&(this.alignFactor=t,this.bBox&&s(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var i={};e=r(e),c.textProps.forEach(function(t){"undefined"!=typeof e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i);var n="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=a(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t,e){s(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){"undefined"!=typeof t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,r=this.bBox=s(this.widthSetting)&&s(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||r.height||0)+2*i,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=i+Math.min((this.text.firstLineMetrics||t).b,r.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||(i=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),i.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),i.add(this)),i=this.getCrispAdjust(),e.x=i,e.y=(this.baseline?-this.baselineOffset:0)+i,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(o(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=a(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(i!==t.x||e!==t.y)&&(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!=typeof e&&t.attr("y",e)),t.x=i,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=s(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=a(this.paddingLeft,t);return t=a(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)}),e(i,"Core/Renderer/SVG/Symbols.js",[i["Core/Utilities.js"]],function(t){function e(t,e,i,n,s){var a=[];if(s){var l=s.start||0,c=r(s.r,i);i=r(s.r,n||i);var d=(s.end||0)-.001;n=s.innerR;var h=r(s.open,.001>Math.abs((s.end||0)-l-2*Math.PI)),u=Math.cos(l),p=Math.sin(l),f=Math.cos(d),m=Math.sin(d);l=r(s.longArc,.001>d-l-Math.PI?0:1),a.push(["M",t+c*u,e+i*p],["A",c,i,0,l,r(s.clockwise,1),t+c*f,e+i*m]),o(n)&&a.push(h?["M",t+n*f,e+n*m]:["L",t+n*f,e+n*m],["A",n,n,0,l,o(s.clockwise)?1-s.clockwise:0,t+n*u,e+n*p]),h||a.push(["Z"])}return a}function i(t,e,i,o,s){return s&&s.r?n(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function n(t,e,i,n,o){return o=o&&o.r||0,[["M",t+o,e],["L",t+i-o,e],["C",t+i,e,t+i,e,t+i,e+o],["L",t+i,e+n-o],["C",t+i,e+n,t+i,e+n,t+i-o,e+n],["L",t+o,e+n],["C",t,e+n,t,e+n,t,e+n-o],["L",t,e+o],["C",t,e,t,e,t+o,e]]}var o=t.defined,s=t.isNumber,r=t.pick;return{arc:e,callout:function(t,e,i,o,r){var a=Math.min(r&&r.r||0,i,o),l=a+6,c=r&&r.anchorX;r=r&&r.anchorY||0;var d=n(t,e,i,o,{r:a});return s(c)?(t+c>=i?r>e+l&&e+o-l>r?d.splice(3,1,["L",t+i,r-6],["L",t+i+6,r],["L",t+i,r+6],["L",t+i,e+o-a]):d.splice(3,1,["L",t+i,o/2],["L",c,r],["L",t+i,o/2],["L",t+i,e+o-a]):0>=t+c?r>e+l&&e+o-l>r?d.splice(7,1,["L",t,r+6],["L",t-6,r],["L",t,r-6],["L",t,e+a]):d.splice(7,1,["L",t,o/2],["L",c,r],["L",t,o/2],["L",t,e+a]):r&&r>o&&c>t+l&&t+i-l>c?d.splice(5,1,["L",c+6,e+o],["L",c,e+o+6],["L",c-6,e+o],["L",t+a,e+o]):r&&0>r&&c>t+l&&t+i-l>c&&d.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",i-a,e]),d):d},circle:function(t,i,n,o){return e(t+n/2,i+o/2,n/2,o/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n/2],["L",t+i/2,e+n],["L",t,e+n/2],["Z"]]},rect:i,roundedRect:n,square:i,triangle:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,i,n){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+n],["Z"]]}}}),e(i,"Core/Renderer/SVG/TextBuilder.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,i){var n=e.doc,o=e.SVG_NS,s=e.win,r=i.attr,a=i.extend,l=i.isString,c=i.objectEach,d=i.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,i=e.element,o=e.renderer,s=d(e.textStr,"").toString(),r=-1!==s.indexOf("<"),a=i.childNodes;o=this.width&&!e.added&&o.box;var c=/<br.*?>/g,h=[s,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(h!==e.textCache){for(e.textCache=h,delete e.actualWidth,h=a.length;h--;)i.removeChild(a[h]);r||this.ellipsis||this.width||-1!==s.indexOf(" ")&&(!this.noWrap||c.test(s))?""!==s&&(o&&o.appendChild(i),s=new t(s),this.modifyTree(s.nodes),s.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),o&&o.removeChild(i)):i.appendChild(n.createTextNode(this.unescapeEntities(s))),l(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t=this,e=this.svgElement,i=r(e.element,"x");e.firstLineMetrics=void 0;for(var a;(a=e.element.firstChild)&&/^[\s\u200B]*$/.test(a.textContent||" ");)e.element.removeChild(a);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),function(n,o){n.nextSibling&&n.previousSibling&&(0===o&&1===n.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(void 0,n.previousSibling)),r(n,{dy:t.getLineHeight(n.nextSibling),x:i}))});var l=this.width||0;if(l){var c=function(s,a){var c=s.textContent||"",d=c.replace(/([^\^])-/g,"$1- ").split(" "),h=!t.noWrap&&(1<d.length||1<e.element.childNodes.length),u=t.getLineHeight(a),p=0,f=e.actualWidth;if(t.ellipsis)c&&t.truncate(s,c,void 0,0,Math.max(0,l-parseInt(t.fontSize||12,10)),function(t,e){return t.substring(0,e)+"…"});else if(h){for(c=[],h=[];a.firstChild&&a.firstChild!==s;)h.push(a.firstChild),a.removeChild(a.firstChild);for(;d.length;)d.length&&!t.noWrap&&p>0&&(c.push(s.textContent||""),s.textContent=d.join(" ").replace(/- /g,"-")),t.truncate(s,void 0,d,0===p?f||0:0,l,function(t,e){return d.slice(0,e).join(" ").replace(/- /g,"-")}),f=e.actualWidth,p++;h.forEach(function(t){a.insertBefore(t,s)}),c.forEach(function(t){a.insertBefore(n.createTextNode(t),s),t=n.createElementNS(o,"tspan"),t.textContent="​",r(t,{dy:u,x:i}),a.insertBefore(t,s)})}},d=function(t){[].slice.call(t.childNodes).forEach(function(i){i.nodeType===s.Node.TEXT_NODE?c(i,t):(-1!==i.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),d(i))})};d(e.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===s.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,i=function(n,o){var s=n.attributes;s=void 0===s?{}:s;var r=n.children,l=n.style;l=void 0===l?{}:l;var c=n.tagName,d=e.renderer.styledMode;"b"===c||"strong"===c?d?s["class"]="highcharts-strong":l.fontWeight="bold":("i"===c||"em"===c)&&(d?s["class"]="highcharts-emphasized":l.fontStyle="italic"),l&&l.color&&(l.fill=l.color),"br"===c?(s["class"]="highcharts-br",n.textContent="​",(o=t[o+1])&&o.textContent&&(o.textContent=o.textContent.replace(/^ +/gm,""))):"a"===c&&r&&r.some(function(t){return"#text"===t.tagName})&&(n.children=[{children:r,tagName:"tspan"}]),"#text"!==c&&"a"!==c&&(n.tagName="tspan"),a(n,{attributes:s,style:l}),r&&r.filter(function(t){return"#text"!==t.tagName}).forEach(i)};t.forEach(i)},e.prototype.truncate=function(t,e,i,n,o,s){var r,a=this.svgElement,l=a.renderer,c=a.rotation,d=[],h=i?1:0,u=(e||i||"").length,p=u,f=function(o,r){r=r||o;var c=t.parentNode;if(c&&"undefined"==typeof d[r])if(c.getSubStringLength)try{d[r]=n+c.getSubStringLength(0,i?r+1:r)}catch(h){}else l.getSpanWidth&&(t.textContent=s(e||i,o),d[r]=n+l.getSpanWidth(a,t));return d[r]};a.rotation=0;var m=f(t.textContent.length);if(n+m>o){for(;u>=h;)p=Math.ceil((h+u)/2),i&&(r=s(i,p)),m=f(p,r&&r.length-1),h===u?h=u+1:m>o?u=p-1:h=p;0===u?t.textContent="":e&&u===e.length-1||(t.textContent=r||s(e||i,p))}i&&i.splice(0,p),a.actualWidth=m,a.rotation=c},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,function(i,n){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),n))}),t},e}()}),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s,r,a,l){var c,d=i.charts,h=i.deg2rad,u=i.doc,p=i.isFirefox,f=i.isMS,m=i.isWebKit,g=i.noop,v=i.SVG_NS,y=i.symbolSizes,b=i.win,_=l.addEvent,x=l.attr,w=l.createElement,k=l.css,C=l.defined,T=l.destroyObjectProperties,S=l.extend,$=l.isArray,M=l.isNumber,j=l.isObject,D=l.isString,E=l.merge,A=l.pick,P=l.pInt,O=l.uniqueKey;return i=function(){function i(t,e,i,n,o,s,r){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,i,n,o,s,r)}return i.prototype.init=function(t,e,i,n,o,s,r){var a=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"}),l=a.element;r||a.css(this.getStyle(n)),t.appendChild(l),x(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&x(l,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=l,this.boxWrapper=a,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(u.createTextNode("Created with Highcharts 10.2.0")),this.defs=this.createElement("defs").add(),this.allowHTML=s,this.forExport=o,this.styledMode=r,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1);var c;p&&t.getBoundingClientRect&&(e=function(){k(t,{left:0,top:0}),c=t.getBoundingClientRect(),k(t,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})},e(),this.unSubPixelFix=_(b,"resize",e))},i.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},i.prototype.getReferenceURL=function(){if((p||m)&&u.getElementsByTagName("base").length){if(!C(c)){var e=O();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(u.body),k(e,{position:"fixed",top:0,left:0,zIndex:9e5});var i=u.elementFromPoint(6,6);c="hitme"===(i&&i.id),u.body.removeChild(e)}if(c)return b.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},i.prototype.getStyle=function(t){return this.style=S({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},i.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},i.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},i.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),T(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},i.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},i.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},i.prototype.buildText=function(t){new a(t).buildSVG()},i.prototype.getContrast=function(t){return t=e.parse(t).rgba.map(function(t){return t/=255,.03928>=t?t/12.92:Math.pow((t+.055)/1.055,2.4)}),t=.2126*t[0]+.7152*t[1]+.0722*t[2],1.05/(t+.05)>(t+.05)/.05?"#FFFFFF":"#000000"},i.prototype.button=function(e,i,n,o,s,r,a,l,c,d){void 0===s&&(s={});var h=this.label(e,i,n,c,void 0,void 0,d,void 0,"button"),u=this.styledMode;e=s.states||{};var p=0;s=E(s),delete s.states;var m=E({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style);delete s.style;var g=t.filterUserAttributes(s);if(h.attr(E({padding:8,r:2},g)),!u){g=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},g),r=E(g,{fill:"#e6e6e6"},t.filterUserAttributes(r||e.hover||{}));var v=r.style;delete r.style,a=E(g,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(a||e.select||{}));var y=a.style;delete a.style,l=E(g,{style:{color:"#cccccc"}},t.filterUserAttributes(l||e.disabled||{}));var b=l.style;delete l.style}return _(h.element,f?"mouseover":"mouseenter",function(){3!==p&&h.setState(1)}),_(h.element,f?"mouseout":"mouseleave",function(){3!==p&&h.setState(p)}),h.setState=function(t){1!==t&&(h.state=p=t),h.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),u||(h.attr([g,r,a,l][t||0]),t=[m,v,y,b][t||0],j(t)&&h.css(t))},u||h.attr(g).css(S({cursor:"default"},m)),h.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==p&&o.call(h,t)})},i.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var n=t[0],o=t[1];return C(n[1])&&n[1]===o[1]&&(n[1]=o[1]=Math[i](n[1])-e%2/2),C(n[2])&&n[2]===o[2]&&(n[2]=o[2]=Math[i](n[2])+e%2/2),t},i.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return $(t)?e.d=t:j(t)&&S(e,t),this.createElement("path").attr(e)},i.prototype.circle=function(t,e,i){return t=j(t)?t:"undefined"==typeof t?{}:{x:t,y:e,r:i},e=this.createElement("circle"),e.xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},i.prototype.arc=function(t,e,i,n,o,s){return j(t)?(n=t,e=n.y,i=n.r,t=n.x):n={innerR:n,start:o,end:s},t=this.symbol("arc",t,e,i,i,n),t.r=i,t},i.prototype.rect=function(t,e,i,n,o,s){o=j(t)?t.r:o;var r=this.createElement("rect");return t=j(t)?t:"undefined"==typeof t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(n,0)},this.styledMode||("undefined"!=typeof s&&(t["stroke-width"]=s,t=r.crisp(t)),t.fill="none"),o&&(t.r=o),r.rSetter=function(t,e,i){r.r=t,x(i,{rx:t,ry:t})},r.rGetter=function(){return r.r||0},r.attr(t)},i.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:A(i,!0)?void 0:0}),this.alignElements()},i.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({"class":"highcharts-"+t}):e},i.prototype.image=function(t,e,i,n,o,s){var r={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};M(e)&&(r.x=e),M(i)&&(r.y=i),M(n)&&(r.width=n),M(o)&&(r.height=o);var l=this.createElement("image").attr(r);return e=function(e){a(l.element,t),s.call(l,e)},s?(a(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new b.Image,_(i,"load",e),i.src=t,i.complete&&e({})):a(l.element,t),l},i.prototype.symbol=function(t,e,i,n,o,s){var r,a=this,l=/^url\((.*?)\)$/,c=l.test(t),h=!c&&(this.symbols[t]?t:"circle"),p=h&&this.symbols[h];if(p){"number"==typeof e&&(r=p.call(this.symbols,Math.round(e||0),Math.round(i||0),n||0,o||0,s));var f=this.path(r);a.styledMode||f.attr("fill","none"),S(f,{symbolName:h||void 0,x:e,y:i,width:n,height:o}),s&&S(f,s)}else if(c){var m=t.match(l)[1],g=f=this.image(m);g.imgwidth=A(y[m]&&y[m].width,s&&s.width),g.imgheight=A(y[m]&&y[m].height,s&&s.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach(function(t){g[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,C(i)&&(s&&"within"===s.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}}),C(e)&&g.attr({x:e,y:i}),g.isImg=!0,C(g.imgwidth)&&C(g.imgheight)?v(g):(g.attr({width:0,height:0}),w("img",{onload:function(){var t=d[a.chartIndex];0===this.width&&(k(this,{position:"absolute",top:"-999em"}),u.body.appendChild(this)),y[m]={width:this.width,height:this.height},g.imgwidth=this.width,g.imgheight=this.height,g.element&&v(g),this.parentNode&&this.parentNode.removeChild(this),a.imgCount--,a.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return f},i.prototype.clipRect=function(t,e,i,n){var o=O()+"-",s=this.createElement("clipPath").attr({id:o}).add(this.defs);return t=this.rect(t,e,i,n,0).add(s),t.id=o,t.clipPath=s,t.count=0,t},i.prototype.text=function(t,e,i,n){var o={};return!n||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),i&&(o.y=Math.round(i)),C(t)&&(o.text=t),t=this.createElement("text").attr(o),(!n||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,i){for(var n,o=i.getElementsByTagName("tspan"),s=i.getAttribute(e),r=0;r<o.length;r++)n=o[r],n.getAttribute(e)===s&&n.setAttribute(e,t);i.setAttribute(e,t)}),t):this.html(t,e,i)},i.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!b.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&o.prototype.getStyle.call(e,"font-size"),t=/px/.test(t)?P(t):12,e=24>t?t+3:Math.round(1.2*t),{h:e,b:Math.round(.8*e),f:t}},i.prototype.rotCorr=function(t,e,i){var n=t;return e&&i&&(n=Math.max(n*Math.cos(e*h),4)),{x:-t/3*Math.sin(e*h),y:n}},i.prototype.pathToSegments=function(t){for(var e=[],i=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o<t.length;o++)D(i[0])&&M(t[o])&&i.length===n[i[0].toUpperCase()]&&t.splice(o,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[o]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[o]);return e.push(i.slice(0)),e},i.prototype.label=function(t,e,i,n,o,r,a,l,c){return new s(this,t,e,i,n,o,r,a,l,c)},i.prototype.alignElements=function(){this.alignedObjects.forEach(function(t){return t.align()})},i}(),S(i.prototype,{Element:o,SVG_NS:v,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:r,draw:g}),n.registerRendererType("svg",i,!0),i}),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.isFirefox,s=t.isMS,r=t.isWebKit,a=t.win,l=i.css,c=i.defined,d=i.extend,h=i.pick,u=i.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var i=e.prototype,n=t.prototype;n.getSpanCorrection=i.getSpanCorrection,n.htmlCss=i.htmlCss,n.htmlGetBBox=i.htmlGetBBox,n.htmlUpdateTransform=i.htmlUpdateTransform,n.setSpanRotation=i.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=h(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=d(this.styles,t),l(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,n=this.translateY||0,o=this.x||0,s=this.y||0,r=this.textAlign||"left",a={left:0,center:.5,right:1}[r],d=this.styles;if(d=d&&d.whiteSpace,l(e,{marginLeft:i,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach(function(t){l(t,{marginLeft:i+1,marginTop:n+1})}),this.inverted&&[].forEach.call(e.childNodes,function(i){t.invertChild(i,e)}),"SPAN"===e.tagName){var h=this.rotation,p=this.textWidth&&u(this.textWidth),f=[h,r,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,p!==this.oldTextWidth){if(this.textPxLength)var g=this.textPxLength;else l(e,{width:"",whiteSpace:d||"nowrap"}),g=e.offsetWidth;(p>this.oldTextWidth||g>p)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:g>p||h?p+"px":"auto",display:"block",whiteSpace:d||"normal"}),this.oldTextWidth=p,m=!0)}this.hasBoxWidthChanged=m,f!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!c(h)||h===(this.oldRotation||0)&&r===this.oldAlign||this.setSpanRotation(h,a,m),this.getSpanCorrection(!c(h)&&this.textPxLength||e.offsetWidth,m,a,h,r)),l(e,{left:o+(this.xCorr||0)+"px",top:s+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=h,this.oldAlign=r}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,i){var n={},c=s&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":r?"-webkit-transform":o?"MozTransform":a.opera?"-o-transform":void 0;c&&(n[c]=n.transform="rotate("+t+"deg)",n[c+(o?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+i+"px",l(this.element,n))},e.composedClasses=[],e}(e)}),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=n.attr,r=n.createElement,a=n.extend,l=n.pick;return function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return o(n,i),n.compose=function(t){return-1===n.composedClasses.indexOf(t)&&(n.composedClasses.push(t),t.prototype.html=n.prototype.html),t},n.prototype.html=function(i,n,o){var c=this.createElement("span"),d=c.element,h=c.renderer,u=h.isSVG,p=function(t,i){["opacity","visibility"].forEach(function(n){t[n+"Setter"]=function(o,s,r){var a=t.div?t.div.style:i;e.prototype[n+"Setter"].call(this,o,s,r),a&&(a[s]=o)}}),t.addedSetters=!0};return c.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,c.doTransform=!0)},u&&p(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(t,e){"align"===e?c.alignValue=c.textAlign=t:c[e]=t,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:i,x:Math.round(n),y:Math.round(o)}).css({position:"absolute"}),h.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),d.style.whiteSpace="nowrap",c.css=c.htmlCss,u&&(c.add=function(t){var e=h.box.parentNode,i=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach(function(t){function o(e,i){t[i]=e,"translateX"===i?h.left=e+"px":h.top=e+"px",t.doTransform=!0}var l=s(t.element,"class"),d=t.styles||{};n=t.div=t.div||r("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:d.cursor,pointerEvents:d.pointerEvents,visibility:t.visibility},n||e);var h=n.style;a(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return i[0].div&&c.on.apply({element:i[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:o,translateYSetter:o}),t.addedSetters||p(t)})}}else n=e;return n.appendChild(d),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},n.composedClasses=[],n}(i)}),e(i,"Core/Axis/AxisDefaults.js",[],function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var t=this.axis.chart.numberFormatter;return t(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t}),e(i,"Core/Foundation.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,n=t.isFunction,o=t.objectEach,s=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},o(e.events,function(e,o){t.eventOptions[o]!==e&&(t.eventOptions[o]&&(s(t,o,t.eventOptions[o]),delete t.eventOptions[o]),n(e)&&(t.eventOptions[o]=e,i(t,o,e)))})}}(e||(e={})),e}),e(i,"Core/Axis/Tick.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,i){var n=e.deg2rad,o=i.clamp,s=i.correctFloat,r=i.defined,a=i.destroyObjectProperties,l=i.extend,c=i.fireEvent,d=i.isNumber,h=i.merge,u=i.objectEach,p=i.pick;return e=function(){function e(t,e,i,n,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),i||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,i=e.axis,n=i.options,o=i.chart,a=i.categories,h=i.logarithmic,u=i.names,f=e.pos,m=p(e.options&&e.options.labels,n.labels),g=i.tickPositions,v=f===g[0],y=f===g[g.length-1],b=(!m.step||1===m.step)&&1===i.tickInterval;g=g.info;var _,x=e.label;if(a=this.parameters.category||(a?p(a[f],u[f],f):f),h&&d(a)&&(a=s(h.lin2log(a))),i.dateTime)if(g)var w=o.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&g.higherRanks[f]||g.unitName]),k=w.main;else d(a)&&(k=i.dateTime.getXDateFormat(a,n.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=y;var C={axis:i,chart:o,dateTimeLabelFormat:k,isFirst:v,isLast:y,pos:f,tick:e,tickPositionInfo:g,value:a};c(this,"labelFormat",C);var T=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=i.defaultLabelFormatter.call(e),t.format(m.format,e,o)):i.defaultLabelFormatter.call(e,e)};n=T.call(C,C);var S=w&&w.list;e.shortenLabel=S?function(){for(_=0;_<S.length;_++)if(l(C,{dateTimeLabelFormat:S[_]}),x.attr({text:T.call(C,C)}),x.getBBox().width<i.getSlotWidth(e)-2*m.padding)return;x.attr({text:""})}:void 0,b&&i._addedPlotLB&&e.moveLabel(n,m),r(x)||e.movedLabel?x&&x.textStr!==n&&!b&&(!x.textWidth||m.style.width||x.styles.width||x.css({width:null}),x.attr({text:n}),x.textPxLength=x.getBBox().width):(e.label=x=e.createLabel({x:0,y:0},n,m),e.rotation=0)},e.prototype.createLabel=function(t,e,i){var n=this.axis,o=n.chart;return(t=r(e)&&i.enabled?o.renderer.text(e,t.x,t.y,i.useHTML).add(n.labelGroup):null)&&(o.styledMode||t.css(h(i.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){a(this,this.axis)},e.prototype.getPosition=function(t,e,i,n){var r=this.axis,a=r.chart,l=n&&a.oldChartHeight||a.chartHeight;
return t={x:t?s(r.translate(e+i,void 0,void 0,n)+r.transB):r.left+r.offset+(r.opposite?(n&&a.oldChartWidth||a.chartWidth)-r.right-r.left:0),y:t?l-r.bottom+r.offset-(r.opposite?r.height:0):s(l-r.translate(e+i,void 0,void 0,n)-r.transB)},t.y=o(t.y,-1e5,1e5),c(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,i,o,s,a,l,d){var h=this.axis,u=h.transA,p=h.isLinked&&h.linkedParent?h.linkedParent.reversed:h.reversed,f=h.staggerLines,m=h.tickRotCorr||{x:0,y:0},g=o||h.reserveSpaceDefault?0:-h.labelOffset*("center"===h.labelAlign?.5:1),v={};return i=0===h.side?i.rotation?-8:-i.getBBox().height:2===h.side?m.y+8:Math.cos(i.rotation*n)*(m.y-i.getBBox(!1,0).height/2),r(s.y)&&(i=0===h.side&&h.horiz?s.y+i:s.y),t=t+s.x+g+m.x-(a&&o?a*u*(p?-1:1):0),e=e+i-(a&&!o?a*u*(p?1:-1):0),f&&(o=l/(d||1)%f,h.opposite&&(o=f-o-1),e+=h.labelOffset/f*o),v.x=t,v.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:a,index:l}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,i,n,o,s){return s.crispLine([["M",t,e],["L",t+(o?0:-i),e+(o?i:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,o=t.x,s=e.chart.chartWidth,r=e.chart.spacing,a=p(e.labelLeft,Math.min(e.pos,r[3]));r=p(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,s-r[1]));var l,c=this.label,d=this.rotation,h={left:0,center:.5,right:1}[e.labelAlign||c.attr("align")],u=c.getBBox().width,f=e.getSlotWidth(this),m={},g=f,v=1;d||"justify"!==i.overflow?0>d&&a>o-h*u?l=Math.round(o/Math.cos(d*n)-a):d>0&&o+h*u>r&&(l=Math.round((s-o)/Math.cos(d*n))):(s=o+(1-h)*u,a>o-h*u?g=t.x+g*(1-h)-a:s>r&&(g=r-t.x+g*h,v=-1),g=Math.min(f,g),f>g&&"center"===e.labelAlign&&(t.x+=v*(f-g-h*(f-Math.min(u,g)))),(u>g||e.autoRotation&&(c.styles||{}).width)&&(l=g)),l&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(l)+"px",(i.style||{}).textOverflow||(m.textOverflow="ellipsis"),c.css(m)))},e.prototype.moveLabel=function(t,e){var i=this,n=i.label,o=i.axis,s=o.reversed,r=!1;if(n&&n.textStr===t?(i.movedLabel=n,r=!0,delete i.label):u(o.ticks,function(e){r||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,r=!0,e.labelPos=i.movedLabel.xy,delete e.label)}),!r&&(i.labelPos||n)){var a=i.labelPos||n.xy;n=o.horiz?s?0:o.width+o.left:a.x,o=o.horiz?a.y:s?o.width+o.left:0,i.movedLabel=i.createLabel({x:n,y:o},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,i){var n=this.axis,o=n.horiz,s=this.pos,r=p(this.tickmarkOffset,n.tickmarkOffset);s=this.getPosition(o,s,r,e),r=s.x;var a=s.y;n=o&&r===n.pos+n.len||!o&&a===n.pos?-1:1,o=p(i,this.label&&this.label.newOpacity,1),i=p(i,1),this.isActive=!0,this.renderGridLine(e,i,n),this.renderMark(s,i,n),this.renderLabel(s,e,o,t),this.isNew=!1,c(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var n=this.axis,o=n.options,s={},r=this.pos,a=this.type,l=p(this.tickmarkOffset,n.tickmarkOffset),c=n.chart.renderer,d=this.gridLine,h=o.gridLineWidth,u=o.gridLineColor,f=o.gridLineDashStyle;"minor"===this.type&&(h=o.minorGridLineWidth,u=o.minorGridLineColor,f=o.minorGridLineDashStyle),d||(n.chart.styledMode||(s.stroke=u,s["stroke-width"]=h||0,s.dashstyle=f),a||(s.zIndex=1),t&&(e=0),this.gridLine=d=c.path().attr(s).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(n.gridGroup)),d&&(i=n.getPlotLinePath({value:r+l,lineWidth:d.strokeWidth()*i,force:"pass",old:t}))&&d[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},e.prototype.renderMark=function(t,e,i){var n=this.axis,o=n.options,s=n.chart.renderer,r=this.type,a=n.tickSize(r?r+"Tick":"tick"),l=t.x;t=t.y;var c=p(o["minor"!==r?"tickWidth":"minorTickWidth"],!r&&n.isXAxis?1:0);o=o["minor"!==r?"tickColor":"minorTickColor"];var d=this.mark,h=!d;a&&(n.opposite&&(a[0]=-a[0]),d||(this.mark=d=s.path().addClass("highcharts-"+(r?r+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||d.attr({stroke:o,"stroke-width":c})),d[h?"attr":"animate"]({d:this.getMarkPath(l,t,a[0],d.strokeWidth()*i,n.horiz,s),opacity:e}))},e.prototype.renderLabel=function(t,e,i,n){var o=this.axis,s=o.horiz,r=o.options,a=this.label,l=r.labels,c=l.step;o=p(this.tickmarkOffset,o.tickmarkOffset);var h=t.x;t=t.y;var u=!0;a&&d(h)&&(a.xy=t=this.getLabelPosition(h,t,a,s,l,o,n,c),this.isFirst&&!this.isLast&&!r.showFirstLabel||this.isLast&&!this.isFirst&&!r.showLastLabel?u=!1:!s||l.step||l.rotation||e||0===i||this.handleOverflow(t),c&&n%c&&(u=!1),u&&d(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var n=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:n,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()}),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/AxisDefaults.js"],i["Core/Color/Color.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s,r,a){var l=t.animObject,c=n.defaultOptions,d=o.registerEventOptions,h=s.deg2rad,u=a.arrayMax,p=a.arrayMin,f=a.clamp,m=a.correctFloat,g=a.defined,v=a.destroyObjectProperties,y=a.erase,b=a.error,_=a.extend,x=a.fireEvent,w=a.isArray,k=a.isNumber,C=a.isString,T=a.merge,S=a.normalizeTickInterval,$=a.objectEach,M=a.pick,j=a.relativeLength,D=a.removeEvent,E=a.splat,A=a.syncTimeout,P=function(t,e){return S(e,void 0,void 0,M(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)};return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!i:i,this.isXAxis=i,this.coll=this.coll||(i?"xAxis":"yAxis"),x(this,"init",{userOptions:e}),this.opposite=M(e.opposite,this.opposite),this.side=M(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,o=n.labels,s=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=M(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===s||!0===n.categories,this.categories=n.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=M(n.crosshair,E(t.options.tooltip.crosshairs)[i?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&"undefined"==typeof this.reversed&&(this.reversed=!0),this.labelRotation=k(o.rotation)?o.rotation:void 0,d(this,n),x(this,"afterInit")},t.prototype.setOptions=function(t){this.options=T(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],T(c[this.coll],t)),x(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var i=k(this.value)?this.value:NaN,n=e.chart.time,o=this.dateTimeLabelFormat,s=c.lang,r=s.numericSymbols;s=s.numericSymbolMagnitude||1e3;var a=e.logarithmic?Math.abs(i):e.tickInterval,l=r&&r.length;if(e.categories)var d="".concat(this.value);else if(o)d=n.dateFormat(o,i);else if(l&&a>=1e3)for(;l--&&"undefined"==typeof d;)e=Math.pow(s,l+1),a>=e&&0===10*i%e&&null!==r[l]&&0!==i&&(d=t(i/e,-1)+r[l]);return"undefined"==typeof d&&(d=1e4<=Math.abs(i)?t(i,-1):t(i,-1,void 0,"")),d},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;x(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach(function(n){if(n.visible||!i.options.chart.ignoreHiddenSeries){var o=n.options,s=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=s&&(s=null),e.isXAxis){if(o=n.xData,o.length){o=e.logarithmic?o.filter(e.validatePositiveValue):o,t=n.getXExtremes(o);var r=t.min,a=t.max;k(r)||r instanceof Date||(o=o.filter(k),t=n.getXExtremes(o),r=t.min,a=t.max),o.length&&(e.dataMin=Math.min(M(e.dataMin,r),r),e.dataMax=Math.max(M(e.dataMax,a),a))}}else n=n.applyExtremes(),k(n.dataMin)&&(r=n.dataMin,e.dataMin=Math.min(M(e.dataMin,r),r)),k(n.dataMax)&&(a=n.dataMax,e.dataMax=Math.max(M(e.dataMax,a),a)),g(s)&&(e.threshold=s),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}})}),x(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,n,o,s){var r=this.linkedParent||this,a=n&&r.old?r.old.min:r.min;if(!k(a))return NaN;var l=r.minPixelPadding;o=(r.isOrdinal||r.brokenAxis&&r.brokenAxis.hasBreaks||r.logarithmic&&o)&&r.lin2val;var c=1,d=0;return n=n&&r.old?r.old.transA:r.transA,n||(n=r.transA),i&&(c*=-1,d=r.len),r.reversed&&(c*=-1,d-=c*(r.sector||r.len)),e?(s=(t*c+d-l)/n+a,o&&(s=r.lin2val(s))):(o&&(t=r.val2lin(t)),t=c*(t-a)*n,s=(r.isRadial?t:m(t))+d+c*l+(k(s)?n*s:0)),s},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==b&&e>t||t>i)&&(b?t=f(t,e,i):r=!0),t}var i,n,o,s,r,a=this,l=a.chart,c=a.left,d=a.top,h=t.old,u=t.value,p=t.lineWidth,m=h&&l.oldChartHeight||l.chartHeight,g=h&&l.oldChartWidth||l.chartWidth,v=a.transB,y=t.translatedValue,b=t.force;return t={value:u,lineWidth:p,old:h,force:b,acrossPanes:t.acrossPanes,translatedValue:y},x(this,"getPlotLinePath",t,function(t){y=M(y,a.translate(u,void 0,void 0,h)),y=f(y,-1e5,1e5),i=o=Math.round(y+v),n=s=Math.round(m-y-v),k(y)?a.horiz?(n=d,s=m-a.bottom,i=o=e(i,c,c+a.width)):(i=c,o=g-a.right,n=s=e(n,d,d+a.height)):(r=!0,b=!1),t.path=r&&!b?null:l.renderer.crispLine([["M",i,n],["L",o,s]],p||1)}),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var n=m(Math.floor(e/t)*t);i=m(Math.ceil(i/t)*t);var o,s=[];if(m(n+t)===n&&(o=20),this.single)return[e];for(e=n;i>=e&&(s.push(e),e=m(e+t,o),e!==r);)var r=e;return s},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?M(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,n=this.pointRangePadding||0,o=this.min-n;n=this.max+n;var s=n-o,r=[];if(s&&s/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach(function(t,e,n){e&&r.push.apply(r,a.getLogTickPositions(i,n[e-1],n[e],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())r=r.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),o,n,t.startOfWeek));else for(t=o+(e[0]-o)%i;n>=t&&t!==r[0];t+=i)r.push(t)}return 0!==r.length&&this.trimTicks(r),r},t.prototype.adjustForMinRange=function(){var t,e,i,n,o=this.options,s=this.logarithmic,r=this.min,a=this.max,l=0;if(this.isXAxis&&"undefined"==typeof this.minRange&&!s&&(g(o.min)||g(o.max)||g(o.floor)||g(o.ceiling)?this.minRange=null:(this.series.forEach(function(o){if(i=o.xData,n=o.xIncrement?1:i.length-1,1<i.length)for(t=n;t>0;t--)e=i[t]-i[t-1],(!l||l>e)&&(l=e)}),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),a-r<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,d=this.minRange,h=(d-a+r)/2;h=[r-h,M(o.min,r-h)],c&&(h[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),r=u(h),a=[r+d,M(o.max,r+d)],c&&(a[2]=s?s.log2lin(this.dataMax):this.dataMax),a=p(a),d>a-r&&(h[0]=a-d,h[1]=M(o.min,a-d),r=u(h))}this.min=r,this.max=a},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach(function(e){var i=e.closestPointRange,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&g(i)&&n&&(t=g(t)?Math.min(t,i):i)}),t},t.prototype.nameToX=function(t){var e=w(this.options.categories),i=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,g(n)||(n=this.options.uniqueNames&&i?e?i.indexOf(t.name):M(i.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e&&i)var o=i.length}else o=n;return"undefined"!=typeof o&&(this.names[o]=t.name,this.names.keys[t.name]=o),o},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach(function(t){delete e.keys[t]}),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(e){e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach(function(i,n){if(i&&i.options&&"undefined"!=typeof i.name){var o=t.nameToX(i);"undefined"!=typeof o&&o!==i.x&&(i.x=o,e.xData[n]=o)}})}))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,i=t.linkedParent,n=!!t.categories,o=t.isXAxis,s=t.axisPointRange||0,r=0,a=0,l=t.transA;if(o||n||s){var c=t.getClosest();i?(r=i.minPointOffset,a=i.pointRangePadding):t.series.forEach(function(e){var i=n?1:o?M(e.options.pointRange,c,0):t.axisPointRange||0,l=e.options.pointPlacement;s=Math.max(s,i),(!t.single||n)&&(e=e.is("xrange")?!o:o,r=Math.max(r,e&&C(l)?0:i/2),a=Math.max(a,e&&"on"===l?0:i))}),i=t.ordinal&&t.ordinal.slope&&c?t.ordinal.slope/c:1,t.minPointOffset=r*=i,t.pointRangePadding=a*=i,t.pointRange=Math.min(s,t.single&&n?1:e),o&&(t.closestPointRange=c)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+a||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*r,x(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,i=this.logarithmic,n=this.options,o=this.isXAxis,s=this.isLinked,r=n.tickPixelInterval,a=this.categories,l=this.softThreshold,c=n.maxPadding,d=n.minPadding,h=k(n.tickInterval)&&0<=n.tickInterval?n.tickInterval:void 0,u=k(this.threshold)?this.threshold:null;this.dateTime||a||s||this.getTickAmount();var p=M(this.userMin,n.min),f=M(this.userMax,n.max);if(s){this.linkedParent=e[this.coll][n.linkedTo];var v=this.linkedParent.getExtremes();this.min=M(v.min,v.dataMin),this.max=M(v.max,v.dataMax),n.type!==this.linkedParent.options.type&&b(11,1,e)}else{if(l&&g(u))if(this.dataMin>=u)v=u,d=0;else if(this.dataMax<=u){var y=u;c=0}this.min=M(p,v,this.dataMin),this.max=M(f,y,this.dataMax)}if(i&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,M(this.dataMin,this.min))&&b(10,1,e),this.min=m(i.log2lin(this.min),16),this.max=m(i.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=p=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),x(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(a||this.axisPointRange||this.stacking&&this.stacking.usePercentage||s)&&g(this.min)&&g(this.max)&&(e=this.max-this.min)&&(!g(p)&&d&&(this.min-=e*d),!g(f)&&c&&(this.max+=e*c)),k(this.userMin)||(k(n.softMin)&&n.softMin<this.min&&(this.min=p=n.softMin),k(n.floor)&&(this.min=Math.max(this.min,n.floor))),k(this.userMax)||(k(n.softMax)&&n.softMax>this.max&&(this.max=f=n.softMax),k(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),l&&g(this.dataMin)&&(u=u||0,!g(p)&&this.min<u&&this.dataMin>=u?this.min=this.options.minRange?Math.min(u,this.max-this.minRange):u:!g(f)&&this.max>u&&this.dataMax<=u&&(this.max=this.options.minRange?Math.max(u,this.min+this.minRange):u)),k(this.min)&&k(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"==typeof this.min||"undefined"==typeof this.max?1:s&&this.linkedParent&&!h&&r===this.linkedParent.options.tickPixelInterval?h=this.linkedParent.tickInterval:M(h,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,a?1:(this.max-this.min)*r/Math.max(this.len,r)),o&&!t){var _=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(_)}),x(this,"postProcessData",{hasExtemesChanged:_})}this.setAxisTranslation(),x(this,"initialAxisTranslation"),this.pointRange&&!h&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=M(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!h&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||h||(this.tickInterval=P(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),n=this.hasVerticalPanning(),o="colorAxis"===this.coll,s=(o||!n)&&t.startOnTick;if(n=(o||!n)&&t.endOnTick,o=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&g(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)i=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)i=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var r=t=this.tickInterval;2*t>=r&&(i=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&i.length>this.tickAmount);)this.tickInterval=P(this,r*=1.1);else i=[this.min,this.max],b(19,!1,this.chart);i.length>this.len&&(i=[i[0],i.pop()],i[0]===i[1]&&(i.length=1)),this.tickPositions=i,o&&(o=o.apply(this,[this.min,this.max]))&&(this.tickPositions=i=o)}this.paddedTicks=i.slice(0),this.trimTicks(i,s,n),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||o||this.adjustTickAmount()),x(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var n=t[0],o=t[t.length-1],s=!this.isOrdinal&&this.minPointOffset||0;if(x(this,"trimTicks"),!this.isLinked){if(e&&-(1/0)!==n)this.min=n;else for(;this.min-s>t[0];)t.shift();if(i)this.max=o;else for(;this.max+s<t[t.length-1];)t.pop();0===t.length&&g(n)&&!this.options.tickPositions&&t.push((o+n)/2)}},t.prototype.alignToOthers=function(){var t,e=this,i=[this],n=e.options,o="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,s=[];if(e.thresholdAlignment=void 0,(!1!==this.chart.options.chart.alignTicks&&n.alignTicks||o)&&!1!==n.startOnTick&&!1!==n.endOnTick&&!e.logarithmic){var r=function(t){var e=t.options;return[t.horiz?e.left:e.top,e.width,e.height,e.pane].join()},a=r(this);this.chart[this.coll].forEach(function(n){var o=n.series;o.length&&o.some(function(t){return t.visible})&&n!==e&&r(n)===a&&(t=!0,i.push(n))})}if(t&&o){i.forEach(function(t){t=t.getThresholdAlignment(e),k(t)&&s.push(t)});var l=1<s.length?s.reduce(function(t,e){return t+e},0)/s.length:void 0;i.forEach(function(t){t.thresholdAlignment=l})}return t},t.prototype.getThresholdAlignment=function(t){return(!k(this.dataMin)||this!==t&&this.series.some(function(t){return t.isDirty||t.isDirtyData}))&&this.getSeriesExtremes(),k(this.threshold)?(t=f((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(t=1-t),t):void 0},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,i=t.tickAmount;!g(t.tickInterval)&&!i&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(i=2),!i&&this.alignToOthers()&&(i=Math.ceil(this.len/e)+1),4>i&&(this.finalTickAmt=i,i=5),this.tickAmount=i},t.prototype.adjustTickAmount=function(){var t=this,e=t.finalTickAmt,i=t.max,n=t.min,o=t.options,s=t.tickPositions,r=t.tickAmount,a=t.thresholdAlignment,l=s&&s.length,c=M(t.threshold,t.softThreshold?0:null),d=t.tickInterval;if(k(a)){var h=.5>a?Math.ceil(a*(r-1)):Math.floor(a*(r-1));o.reversed&&(h=r-1-h)}if(t.hasData()&&k(n)&&k(i)){if(a=function(){t.transA*=(l-1)/(r-1),t.min=o.startOnTick?s[0]:Math.min(n,s[0]),t.max=o.endOnTick?s[s.length-1]:Math.max(i,s[s.length-1])},k(h)&&k(t.threshold)){for(;s[h]!==c||s.length!==r||s[0]>n||s[s.length-1]<i;){for(s.length=0,s.push(t.threshold);s.length<r;)void 0===s[h]||s[h]>t.threshold?s.unshift(m(s[0]-d)):s.push(m(s[s.length-1]+d));if(d>8*t.tickInterval)break;d*=2}a()}else if(r>l){for(;s.length<r;)s.length%2||n===c?s.push(m(s[s.length-1]+d)):s.unshift(m(s[0]-d));a()}if(g(e)){for(d=c=s.length;d--;)(3===e&&1===d%2||2>=e&&d>0&&c-1>d)&&s.splice(d,1);t.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach(function(i){t=t||i.isDirtyData||i.isDirty,e=e||i.xAxis&&i.xAxis.isDirty||!1}),this.setAxisSize();var i=this.len!==(this.old&&this.old.len);i||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=i||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),x(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,i,n,o){var s=this,r=s.chart;i=M(i,!0),s.series.forEach(function(t){delete t.kdTree}),o=_(o,{min:t,max:e}),x(s,"setExtremes",o,function(){s.userMin=t,s.userMax=e,s.eventArgs=o,i&&r.redraw(n)})},t.prototype.zoom=function(t,e){var i=this,n=this.dataMin,o=this.dataMax,s=this.options,r=Math.min(n,M(s.min,n)),a=Math.max(o,M(s.max,o));return t={newMin:t,newMax:e},x(this,"zoom",t,function(t){var e=t.newMin,s=t.newMax;(e!==i.min||s!==i.max)&&(i.allowZoomOutside||(g(n)&&(r>e&&(e=r),e>a&&(e=a)),g(o)&&(r>s&&(s=r),s>a&&(s=a))),i.displayBtn="undefined"!=typeof e||"undefined"!=typeof s,i.setExtremes(e,s,!1,void 0,{trigger:"zoom"})),t.zoomed=!0}),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],n=this.horiz,o=this.width=Math.round(j(M(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),s=this.height=Math.round(j(M(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),r=this.top=Math.round(j(M(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(j(M(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-s-r,this.right=t.chartWidth-o-e,this.len=Math.max(n?o:s,0),this.pos=n?e:r},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-(1/0)===t?t=i:1/0===t?t=e:i>t?t=i:t>e&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(M(t,0)-90*this.side+720)%360;return t={align:"center"},x(this,"autoLabelAlign",t,function(t){e>15&&165>e?t.align="right":e>195&&345>e&&(t.align="left")}),t.align},t.prototype.tickSize=function(t){var e=this.options,i=M(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(i&&n){"inside"===e[t+"Position"]&&(n=-n);var o=[n,i]}return t={tickSize:o},x(this,"afterTickSize",t),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i=this.options.labels,n=this.horiz,o=this.tickInterval,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),r=i.rotation,a=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(t){var e=t/(s||1);return e=e>1?Math.ceil(e):1,e*o>l&&1/0!==t&&1/0!==s&&l&&(e=Math.ceil(l/o)),m(e*o)},d=o,u=Number.MAX_VALUE;if(n){if(!i.staggerLines&&!i.step)if(k(r))var p=[r];else s<i.autoRotationLimit&&(p=i.autoRotation);p&&p.forEach(function(i){if(i===r||i&&i>=-90&&90>=i){e=c(Math.abs(a.h/Math.sin(h*i)));var n=e+Math.abs(i/360);u>n&&(u=n,t=i,d=e)}})}else i.step||(d=c(a.h));return this.autoRotation=p,this.labelRotation=M(t,k(r)?r:0),d},t.prototype.getSlotWidth=function(t){var e=this.chart,i=this.horiz,n=this.options.labels,o=Math.max(this.tickPositions.length-(this.categories?0:1),1),s=e.margin[3];if(t&&k(t.slotWidth))return t.slotWidth;if(i&&2>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/o;if(!i){if(t=n.style.width,void 0!==t)return parseInt(String(t),10);if(s)return s-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,n=this.ticks,o=this.options.labels,s=o.style,r=this.horiz,a=this.getSlotWidth(),l=Math.max(1,Math.round(a-2*o.padding)),c={},d=this.labelMetrics(),h=s.textOverflow,u=0;if(C(o.rotation)||(c.rotation=o.rotation||0),i.forEach(function(t){t=n[t],t.movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>u&&(u=t.label.textPxLength)}),this.maxLabelLength=u,this.autoRotation)u>l&&u>d.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(a){var p=l;if(!h){var f="clip";for(l=i.length;!r&&l--;){var m=i[l];(m=n[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>a&&m.css({width:a+"px"}),m.getBBox().height>this.len/i.length-(d.h-d.f)&&(m.specificTextOverflow="ellipsis"))}}}c.rotation&&(p=u>.5*t.chartHeight?.33*t.chartHeight:u,h||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),i.forEach(function(t){var e=(t=n[t])&&t.label,i=s.width,o={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():p&&!i&&"nowrap"!==s.whiteSpace&&(p<e.textPxLength||"SPAN"===e.element.tagName)?(o.width=p+"px",h||(o.textOverflow=e.specificTextOverflow||f),e.css(o)):e.styles&&e.styles.width&&!o.width&&!i&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=c.rotation)},this),this.tickRotCorr=e.rotCorr(d.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some(function(t){return t.hasData()})||this.options.showEmpty&&g(this.min)&&g(this.max)},t.prototype.addTitle=function(t){var e,i=this.chart.renderer,n=this.horiz,o=this.opposite,s=this.options.title,r=this.chart.styledMode;this.axisTitle||((e=s.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:o?"right":"left",middle:"center",high:o?"left":"right"})[s.align]),this.axisTitle=i.text(s.text||"",0,0,s.useHTML).attr({zIndex:7,rotation:s.rotation,align:e}).addClass("highcharts-axis-title"),r||this.axisTitle.css(T(s.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),r||s.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new r(this,t)},t.prototype.getOffset=function(){var t=this,e=this,i=e.chart,n=e.horiz,o=e.options,s=e.side,r=e.ticks,a=e.tickPositions,l=e.coll,c=e.axisParent,d=i.renderer,h=i.inverted&&!e.isZAxis?[1,0,3,2][s]:s,u=e.hasData(),p=o.title,f=o.labels,m=i.axisOffset;i=i.clipOffset;var v,y=[-1,1,1,-1][s],b=o.className,_=0,w=0,k=0;if(e.showAxis=v=u||o.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var C=function(e,i,n){return d.g(e).attr({zIndex:n}).addClass("highcharts-".concat(l.toLowerCase()).concat(i," ")+(t.isRadial?"highcharts-radial-axis".concat(i," "):"")+(b||"")).add(c)};e.gridGroup=C("grid","-grid",o.gridZIndex),e.axisGroup=C("axis","",o.zIndex),e.labelGroup=C("axis-labels","-labels",f.zIndex)}if(u||e.isLinked?(a.forEach(function(t){e.generateTick(t)}),e.renderUnsquish(),e.reserveSpaceDefault=0===s||2===s||{1:"left",3:"right"}[s]===e.labelAlign,M(f.reserveSpace,"center"===e.labelAlign?!0:null,e.reserveSpaceDefault)&&a.forEach(function(t){k=Math.max(r[t].getLabelSize(),k)}),e.staggerLines&&(k*=e.staggerLines),e.labelOffset=k*(e.opposite?-1:1)):$(r,function(t,e){t.destroy(),delete r[e]}),p&&p.text&&!1!==p.enabled&&(e.addTitle(v),v&&!1!==p.reserveSpace)){e.titleOffset=_=e.axisTitle.getBBox()[n?"height":"width"];var T=p.offset;w=g(T)?0:M(p.margin,n?5:10)}e.renderLine(),e.offset=y*M(o.offset,m[s]?m[s]+(o.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},p=0===s?-e.labelMetrics().h:2===s?e.tickRotCorr.y:0,u=Math.abs(k)+w,k&&(u=u-p+y*(n?M(f.y,e.tickRotCorr.y+8*y):f.x)),e.axisTitleMargin=M(T,u),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(r,a)),"colorAxis"!==l&&(n=this.tickSize("tick"),m[s]=Math.max(m[s],(e.axisTitleMargin||0)+_+y*e.offset,u,a&&a.length&&n?n[0]+y*e.offset:0),o=!e.axisLine||o.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),i[h]=Math.max(i[h],o)),x(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,n=this.offset,o=this.horiz,s=this.left+(i?this.width:0)+n;return n=e.chartHeight-this.bottom-(i?this.height:0)+n,i&&(t*=-1),e.renderer.crispLine([["M",o?this.left:s,o?n:this.top],["L",o?e.chartWidth-this.right:s,o?n:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,i=this.top,n=this.len,o=this.options.title,s=t?e:i,r=this.opposite,a=this.offset,l=o.x,c=o.y,d=this.axisTitle,h=this.chart.renderer.fontMetrics(o.style.fontSize,d);return d=d?Math.max(d.getBBox(!1,0).height-h.h-1,0):0,n={low:s+(t?0:n),middle:s+n/2,high:s+(t?n:0)}[o.align],e=(t?i+this.height:e)+(t?1:-1)*(r?-1:1)*(this.axisTitleMargin||0)+[-d,d,h.f,-d][this.side],t={x:t?n+l:e+(r?this.width:0)+a+l,y:t?e+c-(r?this.height:0)+a:n+c},x(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var i=this.minorTicks;i[t]||(i[t]=new r(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,i){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new r(this,t)),i&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,i=this,n=i.chart,o=i.logarithmic,a=i.options,c=i.isLinked,d=i.tickPositions,h=i.axisTitle,u=i.ticks,p=i.minorTicks,f=i.alternateBands,m=a.stackLabels,g=a.alternateGridColor,v=i.tickmarkOffset,y=i.axisLine,b=i.showAxis,_=l(n.renderer.globalAnimation);
if(i.labelEdge.length=0,i.overlap=!1,[u,p,f].forEach(function(t){$(t,function(t){t.isActive=!1})}),i.hasData()||c){var w=i.chart.hasRendered&&i.old&&k(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach(function(t){i.renderMinorTick(t,w)}),d.length&&(d.forEach(function(t,e){i.renderTick(t,e,w)}),v&&(0===i.min||i.single)&&(u[-1]||(u[-1]=new r(i,-1,null,!0)),u[-1].render(-1))),g&&d.forEach(function(r,a){e="undefined"!=typeof d[a+1]?d[a+1]+v:i.max-v,0===a%2&&r<i.max&&e<=i.max+(n.polar?-v:v)&&(f[r]||(f[r]=new s.PlotLineOrBand(i)),t=r+v,f[r].options={from:o?o.lin2log(t):t,to:o?o.lin2log(e):e,color:g,className:"highcharts-alternate-grid"},f[r].render(),f[r].isActive=!0)}),i._addedPlotLB||(i._addedPlotLB=!0,(a.plotLines||[]).concat(a.plotBands||[]).forEach(function(t){i.addPlotBandOrLine(t)}))}[u,p,f].forEach(function(t){var e=[],i=_.duration;$(t,function(t,i){t.isActive||(t.render(i,!1,0),t.isActive=!1,e.push(i))}),A(function(){for(var i=e.length;i--;)t[e[i]]&&!t[e[i]].isActive&&(t[e[i]].destroy(),delete t[e[i]])},t!==f&&n.hasRendered&&i?i:0)}),y&&(y[y.isPlaced?"animate":"attr"]({d:this.getLinePath(y.strokeWidth())}),y.isPlaced=!0,y[b?"show":"hide"](b)),h&&b&&(a=i.getTitlePosition(),h[h.isNew?"attr":"animate"](a),h.isNew=!1),m&&m.enabled&&i.stacking&&i.stacking.renderStackTotals(),i.old={len:i.len,max:i.max,min:i.min,transA:i.transA,userMax:i.userMax,userMin:i.userMin},i.isDirty=!1,x(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(t){t.render()})),this.series.forEach(function(t){t.isDirty=!0})},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,i=e.plotLinesAndBands,n=this.eventOptions;if(x(this,"destroy",{keepEvents:t}),t||D(e),[e.ticks,e.minorTicks,e.alternateBands].forEach(function(t){v(t)}),i)for(t=i.length;t--;)i[t].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(t){e[t]&&(e[t]=e[t].destroy())});for(var o in e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[o]=e.plotLinesAndBandsGroups[o].destroy();$(e,function(t,i){-1===e.getKeepProps().indexOf(i)&&delete e[i]}),this.eventOptions=n},t.prototype.drawCrosshair=function(t,e){var n,o=this.crosshair,s=M(o&&o.snap,!0),r=this.chart,a=this.cross;if(x(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),o&&!1!==(g(e)||!s)){if(s?g(e)&&(n=M("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):n=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),g(n)){var l={value:e&&(this.isXAxis?e.x:M(e.stackY,e.y)),translatedValue:n};r.polar&&_(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!g(l))return void this.hideCrosshair();s=this.categories&&!this.isRadial,a||(this.cross=a=r.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(s?"category ":"thin ")+(o.className||"")).attr({zIndex:M(o.zIndex,2)}).add(),r.styledMode||(a.attr({stroke:o.color||(s?i.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":M(o.width,1)}).css({"pointer-events":"none"}),o.dashStyle&&a.attr({dashstyle:o.dashStyle}))),a.show().attr({d:l}),s&&!o.width&&a.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();x(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),x(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return k(t)&&t>0},t.prototype.update=function(t,e){var i=this.chart;t=T(this.userOptions,t),this.destroy(!0),this.init(i,t),i.isDirtyBox=!0,M(e,!0)&&i.redraw()},t.prototype.remove=function(t){for(var e=this.chart,i=this.coll,n=this.series,o=n.length;o--;)n[o]&&n[o].remove(!1);y(e.axes,this),y(e[i],this),e[i].forEach(function(t,e){t.options.index=t.userOptions.index=e}),this.destroy(),e.isDirtyBox=!0,M(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()}),e(i,"Core/Axis/DateTimeAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,n=t.getMagnitude,o=t.normalizeTickInterval,s=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function r(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,i(t,"init",r)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=i[i.length-1];var r,a=s[e[0]],l=e[1];for(r=0;r<i.length&&(e=i[r],a=s[e[0]],l=e[1],!(i[r+1]&&t<=(a*l[l.length-1]+s[i[r+1][0]])/2));r++);return a===s.year&&5*a>t&&(l=[1,2,5]),t=o(t/a,l,"year"===e[0]?Math.max(n(t/a),1):1),{unitRange:a,count:t,unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var i=this.axis,n=i.chart.time;return i.closestPointRange?n.getDateFormat(i.closestPointRange,t,i.options.startOfWeek,e)||n.resolveDTLFormat(e.year).main:n.resolveDTLFormat(e.day).main},t}();t.Additions=l}(e||(e={})),e}),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,n=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new a(this))}function s(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var r=[];t.compose=function(t){return-1===r.indexOf(t)&&(r.push(t),t.keepProps.push("logarithmic"),i(t,"init",e),i(t,"afterInit",s)),t};var a=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,s){var r=this.axis,a=r.len,l=r.options,c=[];if(s||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),c=r.getLinearTickPositions(t,e,i);else if(t>=.08){var d,h=Math.floor(e),u=l=void 0;for(a=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];i+1>h&&!u;h++){var p=a.length;for(d=0;p>d&&!u;d++){var f=this.log2lin(this.lin2log(h)*a[d]);f>e&&(!s||i>=l)&&"undefined"!=typeof l&&c.push(l),l>i&&(u=!0),l=f}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?r.getMinorTickInterval():l.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(s?5:1)*(i-e)/((s?a/r.tickPositions.length:a)||1)),t=n(t),c=r.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(r.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=a}(e||(e={})),e}),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.erase,n=t.extend,o=t.isNumber;return function(t){var e,s=[];t.compose=function(t,i){return e||(e=t),-1===s.indexOf(i)&&(s.push(i),n(i.prototype,r.prototype)),i};var r=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,i){void 0===i&&(i=this.options);var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes}),s=[],r=this.horiz;if(e=!o(this.min)||!o(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&n){if(e){var a=t.toString()===n.toString();i=0}for(e=0;e<t.length;e+=2){var l=t[e],c=t[e+1],d=n[e],h=n[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==d[0]&&"L"!==d[0]||"M"!==h[0]&&"L"!==h[0]||(r&&d[1]===l[1]?(d[1]+=i,h[1]+=i):r||d[2]!==l[2]||(d[2]+=i,h[2]+=i),s.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",h[1],h[2]],["L",d[1],d[2]],["Z"])),s.isFlat=a}}return s},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,i){var n=this,o=this.userOptions,s=new e(this,t);if(this.visible&&(s=s.render()),s){if(this._addedPlotLB||(this._addedPlotLB=!0,(o.plotLines||[]).concat(o.plotBands||[]).forEach(function(t){n.addPlotBandOrLine(t)})),i){var r=o[i]||[];r.push(t),o[i]=r}this.plotLinesAndBands.push(s)}return s},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,n=this.options,o=this.userOptions;if(e){for(var s=e.length;s--;)e[s].id===t&&e[s].destroy();[n.plotLines||[],o.plotLines||[],n.plotBands||[],o.plotBands||[]].forEach(function(e){for(s=e.length;s--;)(e[s]||{}).id===t&&i(e,e[s])})}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e}),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[i["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],i["Core/Utilities.js"]],function(t,e){var i=e.arrayMax,n=e.arrayMin,o=e.defined,s=e.destroyObjectProperties,r=e.erase,a=e.fireEvent,l=e.merge,c=e.objectEach,d=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(i){return t.compose(e,i)},e.prototype.render=function(){a(this,"render");var t=this,e=t.axis,i=e.horiz,n=e.logarithmic,s=t.options,r=s.color,h=d(s.zIndex,0),u=s.events,p={},f=e.chart.renderer,m=s.label,g=t.label,v=s.to,y=s.from,b=s.value,_=t.svgElem,x=[],w=o(y)&&o(v);x=o(b);var k=!_,C={"class":"highcharts-plot-"+(w?"band ":"line ")+(s.className||"")},T=w?"bands":"lines";if(n&&(y=n.log2lin(y),v=n.log2lin(v),b=n.log2lin(b)),e.chart.styledMode||(x?(C.stroke=r||"#999999",C["stroke-width"]=d(s.width,1),s.dashStyle&&(C.dashstyle=s.dashStyle)):w&&(C.fill=r||"#e6ebf5",s.borderWidth&&(C.stroke=s.borderColor,C["stroke-width"]=s.borderWidth))),p.zIndex=h,T+="-"+h,(n=e.plotLinesAndBandsGroups[T])||(e.plotLinesAndBandsGroups[T]=n=f.g("plot-"+T).attr(p).add()),k&&(t.svgElem=_=f.path().attr(C).add(n)),x)x=e.getPlotLinePath({value:b,lineWidth:_.strokeWidth(),acrossPanes:s.acrossPanes});else{if(!w)return;x=e.getPlotBandPath(y,v,s)}return!t.eventsAdded&&u&&(c(u,function(e,i){_.on(i,function(e){u[i].apply(t,[e])})}),t.eventsAdded=!0),(k||!_.d)&&x&&x.length?_.attr({d:x}):_&&(x?(_.show(),_.animate({d:x})):_.d&&(_.hide(),g&&(t.label=g=g.destroy()))),m&&(o(m.text)||o(m.formatter))&&x&&x.length&&0<e.width&&0<e.height&&!x.isFlat?(m=l({align:i&&w&&"center",x:i?!w&&4:10,verticalAlign:!i&&w&&"middle",y:i?w?16:10:w?6:-4,rotation:i&&!w&&90},m),this.renderLabel(m,x,w,h)):g&&g.hide(),t},e.prototype.renderLabel=function(t,e,o,s){var r=this.axis,a=r.chart.renderer,c=this.label;c||(this.label=c=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,"class":"highcharts-plot-"+(o?"band":"line")+"-label "+(t.className||""),zIndex:s}).add(),r.chart.styledMode||c.css(l({textOverflow:"ellipsis"},t.style))),s=e.xBounds||[e[0][1],e[1][1],o?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],o?e[2][2]:e[0][2]],o=n(s),a=n(e),c.align(t,!1,{x:o,y:a,width:i(s)-o,height:i(e)-a}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?r.height-(c.alignAttr.y-r.top):r.width-(c.alignAttr.x-r.left))+"px"}),c.show(!0)},e.prototype.getLabelText=function(t){return o(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){r(this.axis.plotLinesAndBands,this),delete this.axis,s(this)},e}()}),e(i,"Core/Tooltip.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,o){var s=t.format,r=e.doc,a=i.distribute,l=o.addEvent,c=o.clamp,d=o.css,h=o.defined,u=o.discardElement,p=o.extend,f=o.fireEvent,m=o.isArray,g=o.isNumber,v=o.isString,y=o.merge,b=o.pick,_=o.splat,x=o.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map(function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")})},t.prototype.cleanSplit=function(t){this.chart.series.forEach(function(e){var i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)})},t.prototype.defaultFormatter=function(t){var e=this.points||_(this),i=[t.tooltipFooterHeaderFormatter(e[0])];return i=i.concat(t.bodyFormatter(e)),i.push(t.tooltipFooterHeaderFormatter(e[0],!0)),i},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),u(this.container)),o.clearTimeout(this.hideTimer),o.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var i,n,o=this.chart,s=o.pointer,r=o.inverted,a=o.plotTop,l=o.plotLeft,c=0,d=0;return t=_(t),this.followPointer&&e?("undefined"==typeof e.chartX&&(e=s.normalize(e)),s=[e.chartX-l,e.chartY-a]):t[0].tooltipPos?s=t[0].tooltipPos:(t.forEach(function(t){i=t.series.yAxis,n=t.series.xAxis,c+=t.plotX||0,d+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&i&&(r?(c+=a+o.plotHeight-n.len-n.pos,d+=l+o.plotWidth-i.len-i.pos):(c+=n.pos-l,d+=i.pos-a))}),c/=t.length,d/=t.length,s=[r?o.plotWidth-d:c,r?o.plotHeight-c:d],this.shared&&1<t.length&&e&&(r?s[0]=e.chartX-l:s[1]=e.chartY-a)),s.map(Math.round)},t.prototype.getLabel=function(){var t,i=this,o=this.chart.styledMode,s=this.options,r=this.split&&this.allowShared,a="tooltip"+(h(s.className)?" "+s.className:""),c=s.style.pointerEvents||(!this.followPointer&&s.stickOnContact?"auto":"none"),u=function(){i.inContact=!0},p=function(t){var e=i.chart.hoverSeries;i.inContact=i.shouldStickOnContact()&&i.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!i.inContact&&e&&e.onMouseOut&&e.onMouseOut()},f=this.chart.renderer;if(i.label){var m=!i.label.hasClass("highcharts-label");(r&&!m||!r&&m)&&i.destroy()}if(!this.label){if(this.outside){m=this.chart.options.chart.style;var g=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",d(t,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(m&&m.zIndex||0)+3)}),l(t,"mouseenter",u),l(t,"mouseleave",p),e.doc.body.appendChild(t),this.renderer=f=new g(t,0,0,m,void 0,void 0,f.styledMode)}if(r?this.label=f.g(a):(this.label=f.label("",0,0,s.shape,void 0,void 0,s.useHTML,void 0,a).attr({padding:s.padding,r:s.borderRadius}),o||this.label.attr({fill:s.backgroundColor,"stroke-width":s.borderWidth}).css(s.style).css({pointerEvents:c}).shadow(s.shadow)),o&&s.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),i.outside&&!i.split){var v=this.label,y=v.xSetter,b=v.ySetter;v.xSetter=function(e){y.call(v,i.distance),t.style.left=e+"px"},v.ySetter=function(e){b.call(v,i.distance),t.style.top=e+"px"}}this.label.on("mouseenter",u).on("mouseleave",p).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var n,o=this.chart,s=this.distance,a={},l=o.inverted&&i.h||0,c=this.outside,d=c?r.documentElement.clientWidth-2*s:o.chartWidth,h=c?Math.max(r.body.scrollHeight,r.documentElement.scrollHeight,r.body.offsetHeight,r.documentElement.offsetHeight,r.documentElement.clientHeight):o.chartHeight,u=o.pointer.getChartPosition(),p=function(n){var r="x"===n;return[n,r?d:h,r?t:e].concat(c?[r?t*u.scaleX:e*u.scaleY,r?u.left-s+(i.plotX+o.plotLeft)*u.scaleX:u.top-s+(i.plotY+o.plotTop)*u.scaleY,0,r?d:h]:[r?t:e,r?i.plotX+o.plotLeft:i.plotY+o.plotTop,r?o.plotLeft:o.plotTop,r?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},f=p("y"),m=p("x");p=!!i.negative,!o.polar&&o.hoverSeries&&o.hoverSeries.yAxis&&o.hoverSeries.yAxis.reversed&&(p=!p);var g=!this.followPointer&&b(i.ttBelow,!o.inverted===p),v=function(t,e,i,n,o,r,d){var h=c?"y"===t?s*u.scaleY:s*u.scaleX:s,p=(i-n)/2,f=o-s>n,m=e>o+s+n,v=o-h-i+p;if(o=o+h-p,g&&m)a[t]=o;else if(!g&&f)a[t]=v;else if(f)a[t]=Math.min(d-n,0>v-l?v:v-l);else{if(!m)return!1;a[t]=Math.max(r,o+l+i>e?o:o+l)}},y=function(t,e,i,n,o){var r;return s>o||o>e-s?r=!1:a[t]=i/2>o?1:o>e-n/2?e-n-2:o-i/2,r},_=function(t){var e=f;f=m,m=e,n=t},x=function(){!1!==v.apply(0,f)?!1!==y.apply(0,m)||n||(_(!0),x()):n?a.x=a.y=0:(_(!0),x())};return(o.inverted||1<this.len)&&_(),x(),a},t.prototype.hide=function(t){var e=this;o.clearTimeout(this.hideTimer),t=b(t,this.options.hideDelay),this.isHidden||(this.hideTimer=x(function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0},t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=b(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,i,n){var s=this,r=s.now,a=!1!==s.options.animation&&!s.isHidden&&(1<Math.abs(t-r.x)||1<Math.abs(e-r.y)),l=s.followPointer||1<s.len;p(r,{x:a?(2*r.x+t)/3:t,y:a?(r.y+e)/2:e,anchorX:l?void 0:a?(2*r.anchorX+i)/3:i,anchorY:l?void 0:a?(r.anchorY+n)/2:n}),s.getLabel().attr(r),s.drawTracker(),a&&(o.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){s&&s.move(t,e,i,n)},32))},t.prototype.refresh=function(t,e){var i=this.chart,n=this.options,s=_(t),r=s[0],a=[],l=n.formatter||this.defaultFormatter,c=this.shared,d=i.styledMode,h={};if(n.enabled&&r.series){o.clearTimeout(this.hideTimer),this.allowShared=!(!m(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&r.series.tooltipOptions.followPointer,t=this.getAnchor(t,e);var u=t[0],p=t[1];if(c&&this.allowShared?(i.pointer.applyInactiveState(s),s.forEach(function(t){t.setState("hover"),a.push(t.getLabelConfig())}),h={x:r.category,y:r.y},h.points=a):h=r.getLabelConfig(),this.len=a.length,l=l.call(h,this),c=r.series,this.distance=b(c.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,s);else{var g=u,v=p;if(e&&i.pointer.isDirectTouch&&(g=e.chartX-i.plotLeft,v=e.chartY-i.plotTop),!i.polar&&!1!==c.options.clip&&!s.some(function(t){return t.series.shouldShowTooltip(g,v)}))return void this.hide();e=this.getLabel(),n.style.width&&!d||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:l&&l.join?l.join(""):l}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+b(r.colorIndex,c.colorIndex)),d||e.attr({stroke:n.borderColor||r.color||c.color||"#666666"}),this.updatePosition({plotX:u,plotY:p,negative:r.negative,ttBelow:r.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}f(this,"refresh")}},t.prototype.renderSplit=function(t,e){function i(t,e,i,o,s){return void 0===s&&(s=!0),i?(e=j?0:P,t=c(t-o/2,S.left,S.right-o-(n.outside?D:0))):(e-=E,t=s?t-o-k:t+k,t=c(t,s?t:S.left,S.right)),{x:t,y:e}}var n=this,o=n.chart,s=n.chart,l=s.chartWidth,d=s.chartHeight,h=s.plotHeight,u=s.plotLeft,f=s.plotTop,m=s.pointer,g=s.scrollablePixelsY;g=void 0===g?0:g;var y=s.scrollablePixelsX,_=s.scrollingContainer;_=void 0===_?{scrollLeft:0,scrollTop:0}:_;var x=_.scrollLeft;_=_.scrollTop;var w=s.styledMode,k=n.distance,C=n.options,T=n.options.positioner,S=n.outside&&"number"!=typeof y?r.documentElement.getBoundingClientRect():{left:x,right:x+l,top:_,bottom:_+d},$=n.getLabel(),M=this.renderer||o.renderer,j=!(!o.xAxis[0]||!o.xAxis[0].opposite);o=m.getChartPosition();var D=o.left;o=o.top;var E=f+_,A=0,P=h-g;v(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce(function(t,o,s){if(!1!==o&&""!==o){s=e[s-1]||{isHeader:!0,plotX:e[0].plotX,plotY:h,series:{}};var r=s.isHeader,a=r?n:s.series;o=o.toString();var l=a.tt,d=s.isHeader,p=s.series,m="highcharts-color-"+b(s.colorIndex,p.colorIndex,"none");if(l||(l={padding:C.padding,r:C.borderRadius},w||(l.fill=C.backgroundColor,l["stroke-width"]=C.borderWidth),l=M.label("",0,0,C[d?"headerShape":"shape"],void 0,void 0,C.useHTML).addClass((d?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+m).attr(l).add($)),l.isActive=!0,l.attr({text:o}),w||l.css(C.style).shadow(C.shadow).attr({stroke:C.borderColor||s.color||p.color||"#333333"}),a=a.tt=l,d=a.getBBox(),o=d.width+a.strokeWidth(),r&&(A=d.height,P+=A,j&&(E-=A)),p=s.plotX,p=void 0===p?0:p,m=s.plotY,m=void 0===m?0:m,l=s.series,s.isHeader){p=u+p;var g=f+h/2}else{var v=l.xAxis,y=l.yAxis;p=v.pos+c(p,-k,v.len+k),l.shouldShowTooltip(0,y.pos-f+m,{ignoreX:!0})&&(g=y.pos+m)}p=c(p,S.left-k,S.right+k),"number"==typeof g?(d=d.height+1,m=T?T.call(n,o,d,s):i(p,g,r,o),t.push({align:T?0:void 0,anchorX:p,anchorY:g,boxWidth:o,point:s,rank:b(m.rank,r?1:0),size:d,target:m.y,tt:a,x:m.x})):a.isActive=!1}return t},[]),!T&&t.some(function(t){var e=(n.outside?D:0)+t.anchorX;return e<S.left&&e+t.boxWidth<S.right?!0:e<D-S.left+t.boxWidth&&S.right-e>e})&&(t=t.map(function(t){var e=i(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return p(t,{target:e.y,x:e.x})})),n.cleanSplit(),a(t,P);var O=D,L=D;t.forEach(function(t){var e=t.x,i=t.boxWidth;t=t.isHeader,t||(n.outside&&O>D+e&&(O=D+e),!t&&n.outside&&O+i>L&&(L=D+e))}),t.forEach(function(t){var e=t.x,i=t.anchorX,o=t.pos,s=t.point.isHeader;if(o={visibility:"undefined"==typeof o?"hidden":"inherit",x:e,y:o+E,anchorX:i,anchorY:t.anchorY},n.outside&&i>e){var r=D-O;r>0&&(s||(o.x=e+r,o.anchorX=i+r),s&&(o.x=(L-O)/2,o.anchorX=i+r))}t.tt.attr(o)}),t=n.container,g=n.renderer,n.outside&&t&&g&&(s=$.getBBox(),g.setSize(s.width+s.x,s.height+s.y,!1),t.style.left=O+"px",t.style.top=o+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,i=this.shared?t.hoverPoints:t.hoverPoint;if(e&&i){var n={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var o=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,n.x=Math.min(0,i[0]),n.y=Math.min(0,i[1]),n.width=0>i[0]?Math.max(Math.abs(i[0]),o.width-i[0]):Math.max(Math.abs(i[0]),o.width),n.height=0>i[1]?Math.max(Math.abs(i[1]),o.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),o.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=t.series,n=i.tooltipOptions,o=i.xAxis,r=o&&o.dateTime;o={isFooter:e,labelConfig:t};var a=n.xDateFormat,l=n[e?"footerFormat":"headerFormat"];return f(this,"headerFormatter",o,function(e){r&&!a&&g(t.key)&&(a=r.getXDateFormat(t.key,n.dateTimeLabelFormats)),r&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach(function(t){l=l.replace("{point."+t+"}","{point."+t+":"+a+"}")}),i.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=s(l,{point:t,series:i},this.chart)}),o.text},t.prototype.update=function(t){this.destroy(),y(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,y(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,i=this.options,n=e.pointer,o=this.getLabel();n=n.getChartPosition();var s=(i.positioner||this.getPosition).call(this,o.width,o.height,t),r=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(i=i.borderWidth+2*this.distance,this.renderer.setSize(o.width+i,o.height+i,!1),(1!==n.scaleX||1!==n.scaleY)&&(d(this.container,{transform:"scale(".concat(n.scaleX,", ").concat(n.scaleY,")")}),r*=n.scaleX,t*=n.scaleY),r+=n.left-s.x,t+=n.top-s.y),this.move(Math.round(s.x),Math.round(s.y||0),r,t)},t}()}),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/DefaultOptions.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],function(t,e,i,n,o){var s=e.animObject,r=i.defaultOptions,a=n.format,l=o.addEvent,c=o.defined,d=o.erase,h=o.extend,u=o.fireEvent,p=o.getNestedProperty,f=o.isArray,m=o.isFunction,g=o.isNumber,v=o.isObject,y=o.merge,b=o.objectEach,_=o.pick,x=o.syncTimeout,w=o.removeEvent,k=o.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},i=t.getGraphicalProps();i.singular.forEach(function(i){t[i]=t[i].animate("dataLabel"===i?{x:t[i].startXPos,y:t[i].startYPos,opacity:0}:e)}),i.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.animate(h({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})},e.prototype.applyOptions=function(t,i){var n=this.series,o=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),h(this,t),this.options=this.options?h(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,o&&(this.y=e.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=_(this.isValid&&!this.isValid(),null===this.x||!g(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"==typeof i&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),"undefined"==typeof this.x&&n?this.x="undefined"==typeof i?n.autoIncrement():i:g(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){(e.graphic||e.dataLabel||e.dataLabels)&&(w(e),e.destroyElements());for(o in e)e[o]=null}var e=this,i=e.series,n=i.chart;i=i.options.dataSorting;var o,r=n.hoverPoints,a=s(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),r&&(e.setState(),d(r,e),r.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),x(t,a.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;t=e.getGraphicalProps(t),t.singular.forEach(function(t){e[t]=e[t].destroy()}),t.plural.forEach(function(t){e[t].forEach(function(t){t.element&&t.destroy()}),delete e[t]})},e.prototype.firePointEvent=function(t,e,i){var n=this,o=this.series.options;(o.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&o.allowPointSelect&&(i=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),u(n,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!=typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,i=this,n=[],o={singular:[],plural:[]};for(t=t||{graphic:1,dataLabel:1},t.graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var s=n[e];i[s]&&o.singular.push(s)}return["dataLabel","connector"].forEach(function(e){var n=e+"s";t[e]&&i[n]&&o.plural.push(n)}),o},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){return t?0===t.indexOf("custom.")?p(t,this.options):this[t]:void 0},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,n=0;for(i=e[n];this[t]>=i.value;)i=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=c(this.id)?this.id:k(),this.resolveColor(),t.chart.pointCount++,u(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var i=this.series,n=i.options.keys,o=n||i.pointArrayMap||["y"],s=o.length,r={},a=0,l=0;if(g(t)||null===t)r[o[0]]=t;else if(f(t))for(!n&&t.length>s&&(i=typeof t[0],"string"===i?r.name=t[0]:"number"===i&&(r.x=t[0]),a++);s>l;)n&&"undefined"==typeof t[a]||(0<o[l].indexOf(".")?e.prototype.setNestedProperty(r,t[a],o[l]):r[o[l]]=t[a]),a++,l++;else"object"==typeof t&&(r=t,t.dataLabels&&(i._hasPointLabels=!0),t.marker&&(i._hasPointMarkers=!0));return r},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,i=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){i=t.options.colors||t.chart.options.colors;var n=i[t.colorCounter];i=i.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===i&&(t.colorCounter=0)}else e||(n=t.color),e=t.colorIndex;this.colorIndex=_(this.options.colorIndex,e),this.color=_(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce(function(t,i,n,o){return t[i]=o.length-1===n?e:v(t[i],!0)?t[i]:{},t[i]},t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,n=_(i.valueDecimals,""),o=i.valuePrefix||"",s=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach(function(e){e="{point."+e,(o||s)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+s)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")}),a(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,i,n){function o(){r.applyOptions(t);var n=l&&r.hasDummyGraphic;n=null===r.y?!n:n,l&&n&&(r.graphic=l.destroy(),delete r.hasDummyGraphic),v(t,!0)&&(l&&l.element&&t&&t.marker&&"undefined"!=typeof t.marker.symbol&&(r.graphic=l.destroy()),t&&t.dataLabels&&r.dataLabel&&(r.dataLabel=r.dataLabel.destroy()),r.connector&&(r.connector=r.connector.destroy())),s=r.index,a.updateParallelArrays(r,s),d.data[s]=v(d.data[s],!0)||v(t,!0)?r.options:_(t,d.data[s]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===d.legendType&&(c.isDirtyLegend=!0),e&&c.redraw(i)}var s,r=this,a=r.series,l=r.graphic,c=a.chart,d=a.options;e=_(e,!0),!1===n?o():r.firePointEvent("update",{options:t},o)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var i=this,n=i.series,o=n.chart;this.selectedStaging=t=_(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},function(){i.selected=i.options.selected=t,n.options.data[n.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||o.getSelectedPoints().forEach(function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,
t.setState(o.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))})}),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach(function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=y(t.series.options.point,t.options).events;t.events=e,b(e,function(e,i){m(e)&&l(t,i,e)}),this.hasImportedEvents=!0}},e.prototype.setState=function(e,i){var n,o=this.series,s=this.state,a=o.options.states[e||"normal"]||{},l=r.plotOptions[o.type].marker&&o.options.marker,c=l&&!1===l.enabled,d=l&&l.states&&l.states[e||"normal"]||{},p=!1===d.enabled,f=this.marker||{},m=o.chart,v=l&&o.markerAttribs,y=o.halo,b=o.stateMarkerGraphic;if(e=e||"",!(e===this.state&&!i||this.selected&&"select"!==e||!1===a.enabled||e&&(p||c&&!1===d.enabled)||e&&f.states&&f.states[e]&&!1===f.states[e].enabled)){if(this.state=e,v&&(n=o.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(s&&this.graphic.removeClass("highcharts-point-"+s),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var x=o.pointAttribs(this,e),w=_(m.options.chart.animation,a.animation);o.options.inactiveOtherPoints&&g(x.opacity)&&((this.dataLabels||[]).forEach(function(t){t&&t.animate({opacity:x.opacity},w)}),this.connector&&this.connector.animate({opacity:x.opacity},w)),this.graphic.animate(x,w)}n&&this.graphic.animate(n,_(m.options.chart.animation,d.animation,l.animation)),b&&b.hide()}else e&&d&&(s=f.symbol||o.symbol,b&&b.currentSymbol!==s&&(b=b.destroy()),n&&(b?b[i?"animate":"attr"]({x:n.x,y:n.y}):s&&(o.stateMarkerGraphic=b=m.renderer.symbol(s,n.x,n.y,n.width,n.height).add(o.markerGroup),b.currentSymbol=s)),!m.styledMode&&b&&"inactive"!==this.state&&b.attr(o.pointAttribs(this,e))),b&&(b[e&&this.isInside?"show":"hide"](),b.element.point=this,b.addClass(this.getClassName(),!0));a=a.halo,n=(b=this.graphic||b)&&b.visibility||"inherit",a&&a.size&&b&&"hidden"!==n&&!this.isCluster?(y||(o.halo=y=m.renderer.path().add(b.parentGroup)),y.show()[i?"animate":"attr"]({d:this.haloPath(a.size)}),y.attr({"class":"highcharts-halo highcharts-color-"+_(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),y.point=this,m.styledMode||y.attr(h({fill:this.color||o.color,"fill-opacity":a.opacity},t.filterUserAttributes(a.attributes||{})))):y&&y.point&&y.point.haloPath&&y.animate({d:y.point.haloPath(0)},null,y.hide),u(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}()}),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],function(t,e,i,n){var o=t.parse,s=e.charts,r=e.noop,a=n.addEvent,l=n.attr,c=n.css,d=n.defined,h=n.extend,u=n.find,p=n.fireEvent,f=n.isNumber,m=n.isObject,g=n.objectEach,v=n.offset,y=n.pick,b=n.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach(function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)}),this.chart.series.forEach(function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")})},t.prototype.destroy=function(){var i=this;this.eventsToUnbind.forEach(function(t){return t()}),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(i.tooltipTimeout),g(i,function(t,e){i[e]=void 0})},t.prototype.drag=function(t){var e=this.chart,i=e.options.chart,n=this.zoomHor,s=this.zoomVert,r=e.plotLeft,a=e.plotTop,l=e.plotWidth,c=e.plotHeight,d=this.mouseDownX||0,h=this.mouseDownY||0,u=m(i.panning)?i.panning&&i.panning.enabled:i.panning,p=i.panKey&&t[i.panKey+"Key"],f=t.chartX,g=t.chartY,v=this.selectionMarker;if((!v||!v.touch)&&(r>f?f=r:f>r+l&&(f=r+l),a>g?g=a:g>a+c&&(g=a+c),this.hasDragged=Math.sqrt(Math.pow(d-f,2)+Math.pow(h-g,2)),10<this.hasDragged)){var y=e.isInsidePlot(d-r,h-a,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!y||p||v||(this.selectionMarker=v=e.renderer.rect(r,a,n?1:l,s?1:c,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||v.attr({fill:i.selectionMarkerFill||o("#335cad").setOpacity(.25).get()})),v&&n&&(n=f-d,v.attr({width:Math.abs(n),x:(n>0?0:n)+d})),v&&s&&(n=g-h,v.attr({height:Math.abs(n),y:(n>0?0:n)+h})),y&&!v&&u&&e.pan(t,i.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,i=this.chart,n=this.hasPinched;if(this.selectionMarker){var o=this.selectionMarker,s=o.attr?o.attr("x"):o.x,r=o.attr?o.attr("y"):o.y,a=o.attr?o.attr("width"):o.width,l=o.attr?o.attr("height"):o.height,u={originalEvent:t,xAxis:[],yAxis:[],x:s,y:r,width:a,height:l},m=!!i.mapView;(this.hasDragged||n)&&(i.axes.forEach(function(i){if(i.zoomEnabled&&d(i.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&f(s)&&f(r)){var o=i.horiz,c="touchend"===t.type?i.minPixelPadding:0,h=i.toValue((o?s:r)+c);o=i.toValue((o?s+a:r+l)-c),u[i.coll].push({axis:i,min:Math.min(h,o),max:Math.max(h,o)}),m=!0}}),m&&p(i,"selection",u,function(t){i.zoom(h(t,n?{animation:!1}:null))})),f(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&this.scaleGroups()}i&&f(i.index)&&(c(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,i){var n=this.chart,o=n.hoverPoint;if(n=n.tooltip,o&&n&&n.isStickyOnContact())return o;var s;return t.forEach(function(t){var n=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,n),(n=m(t,!0)&&t.series)&&!(n=!m(s,!0))){n=s.distX-t.distX;var o=s.dist-t.dist,r=(t.series.group&&t.series.group.zIndex)-(s.series.group&&s.series.group.zIndex);n=0<(0!==n&&e?n:0!==o?o:0!==r?r:s.series.index>t.series.index?-1:1)}n&&(s=t)}),s},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,n=i.xAxis;i=i.yAxis;var o=t.shapeArgs;if(n&&i){var s=y(t.clientX,t.plotX),r=t.plotY||0;return t.isNode&&o&&f(o.x)&&f(o.y)&&(s=o.x,r=o.y),e?{chartX:i.len+i.pos-r,chartY:n.len+n.pos-s}:{chartX:s+n.pos,chartY:r+i.pos}}return o&&o.x&&o.y?{chartX:o.x,chartY:o.y}:void 0},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,i>2&&t>2&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})}),e},t.prototype.getHoverData=function(t,e,i,n,o,s){var r=[];n=!(!n||!t);var a={chartX:s?s.chartX:void 0,chartY:s?s.chartY:void 0,shared:o};p(this,"beforeGetHoverData",a);var l=e&&!e.stickyTracking?[e]:i.filter(function(t){return a.filter?a.filter(t):t.visible&&!(!o&&t.directTouch)&&y(t.options.enableMouseTracking,!0)&&t.stickyTracking}),c=n||!s?t:this.findNearestKDPoint(l,o,s);return e=c&&c.series,c&&(o&&!e.noSharedTooltip?(l=i.filter(function(t){return a.filter?a.filter(t):t.visible&&!(!o&&t.directTouch)&&y(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}),l.forEach(function(t){var e=u(t.points,function(t){return t.x===c.x&&!t.isNull});m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),r.push(e))})):r.push(c)),a={hoverPoint:c},p(this,"afterGetHoverData",a),{hoverPoint:a.hoverPoint,hoverSeries:e,hoverPoints:r}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var i;t;){if(i=l(t,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentElement}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},i&&(t.tooltip=new i(t,e.tooltip),this.followTouchMove=y(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,n=i?i.length?i.item(0):y(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=n.pageX-e.left,n=n.pageY-e.top,i/=e.scaleX,n/=e.scaleY,h(t,{chartX:Math.round(i),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,o=e.plotTop;e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(p(i.series,"click",h(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(h(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-o,{visiblePlotOnly:!0})&&p(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"==typeof t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var i=s[y(t.hoverChartIndex,-1)],n=this.chart.tooltip;n&&n.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),i&&(e.relatedTarget||e.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var i=s[y(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);var n=e.tooltip;!i||n&&n.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var i=s[y(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,i=e.chart,n=e.pinchDown,o=t.touches||[],s=o.length,a=e.lastValidTouch,l=e.hasZoom,c={},d=1===s&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),u={},f=e.selectionMarker;s>1?e.initiated=!0:1===s&&this.followTouchMove&&(e.initiated=!1),l&&e.initiated&&!d&&!1!==t.cancelable&&t.preventDefault(),[].map.call(o,function(t){return e.normalize(t)}),"touchstart"===t.type?([].forEach.call(o,function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}}),a.x=[n[0].chartX,n[1]&&n[1].chartX],a.y=[n[0].chartY,n[1]&&n[1].chartY],i.axes.forEach(function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,o=t.toPixels(Math.min(y(t.options.min,t.dataMin),t.dataMin)),s=t.toPixels(Math.max(y(t.options.max,t.dataMax),t.dataMax)),r=Math.max(o,s);e.min=Math.min(t.pos,Math.min(o,s)-n),e.max=Math.max(t.pos+t.len,r+n)}}),e.res=!0):e.followTouchMove&&1===s?this.runPointActions(e.normalize(t)):n.length&&(p(i,"touchpan",{originalEvent:t},function(){f||(e.selectionMarker=f=h({destroy:r,touch:!0},i.plotBox)),e.pinchTranslate(n,o,c,f,u,a),e.hasPinched=l,e.scaleGroups(c,u)}),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,i,n,o,s){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,n,o,s),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,n,o,s)},t.prototype.pinchTranslateDirection=function(t,e,i,n,o,s,r,a){var l=this.chart,c=t?"x":"y",d=t?"X":"Y",h="chart"+d,u=t?"width":"height",p=l["plot"+(t?"Left":"Top")],f=l.inverted,m=l.bounds[t?"h":"v"],g=1===e.length,v=e[0][h],y=!g&&e[1][h];e=function(){"number"==typeof k&&20<Math.abs(v-y)&&(x=a||Math.abs(w-k)/Math.abs(v-y)),_=(p-w)/x+v,b=l["plot"+(t?"Width":"Height")]/x};var b,_,x=a||1,w=i[0][h],k=!g&&i[1][h];if(e(),i=_,i<m.min){i=m.min;var C=!0}else i+b>m.max&&(i=m.max-b,C=!0);C?(w-=.8*(w-r[c][0]),"number"==typeof k&&(k-=.8*(k-r[c][1])),e()):r[c]=[w,k],f||(s[c]=_-p,s[u]=b),s=f?1/x:x,o[u]=b,o[c]=i,n[f?t?"scaleY":"scaleX":"scale"+d]=x,n["translate"+d]=s*p+(w-s*v)},t.prototype.reset=function(t,e){var i=this.chart,n=i.hoverSeries,o=i.hoverPoint,s=i.hoverPoints,r=i.tooltip,a=r&&r.shared?s:o;t&&a&&b(a).forEach(function(e){e.series.isCartesian&&"undefined"==typeof e.plotX&&(t=!1)}),t?r&&a&&b(a).length&&(r.refresh(a),r.shared&&s?s.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):o&&(o.setState(o.state,!0),i.axes.forEach(function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)}))):(o&&o.onMouseOut(),s&&s.forEach(function(t){t.setState()}),n&&n.onMouseOut(),r&&r.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(e,i){var n=this.chart,o=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,r=o?o.shared:!1,l=i||n.hoverPoint,c=l&&l.series||n.hoverSeries;i=this.getHoverData(l,c,n.series,(!e||"touchmove"!==e.type)&&(!!i||c&&c.directTouch&&this.isDirectTouch),r,e),l=i.hoverPoint,c=i.hoverSeries;var d=i.hoverPoints;i=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var h=r&&c&&!c.noSharedTooltip;if(l&&(l!==n.hoverPoint||o&&o.isHidden)){if((n.hoverPoints||[]).forEach(function(t){-1===d.indexOf(t)&&t.setState()}),n.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(d),(d||[]).forEach(function(t){t.setState("hover")}),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!l.series)return;n.hoverPoints=d,n.hoverPoint=l,l.firePointEvent("mouseOver",void 0,function(){o&&l&&o.refresh(h?d:l,e)})}else i&&o&&!o.isHidden&&(r=o.getAnchor([{}],e),n.isInsidePlot(r[0],r[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:r[0],plotY:r[1]}));this.unDocMouseMove||(this.unDocMouseMove=a(n.container.ownerDocument,"mousemove",function(e){var i=s[t.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(e)}),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach(function(t){var i,o=y((t.crosshair||{}).snap,!0);o&&((i=n.hoverPoint)&&i.series[t.coll]===t||(i=u(d,function(e){return e.series&&e.series[t.coll]===t}))),i||!o?t.drawCrosshair(e,i):t.hideCrosshair()})},t.prototype.scaleGroups=function(t,e){var i=this.chart;i.series.forEach(function(n){var o=t||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||i.mapView)&&(n.group.attr(o),n.markerGroup&&(n.markerGroup.attr(o),n.markerGroup.clip(e?i.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(o))}),i.clipRect.attr(e||i.clipBox)},t.prototype.setDOMEvents=function(){var i=this,n=this.chart.container,o=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(a(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(a(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=a(o,"mouseup",this.onDocumentMouseUp.bind(this)));for(var s=this.chart.renderTo.parentElement;s&&"BODY"!==s.tagName;)this.eventsToUnbind.push(a(s,"scroll",function(){delete i.chartPosition})),s=s.parentElement;e.hasTouch&&(this.eventsToUnbind.push(a(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(a(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=a(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var i=this.chart,n=e.charts[y(t.hoverChartIndex,-1)];n&&n!==i&&n.pointer.onContainerMouseLeave({relatedTarget:i.container}),n&&n.mouseIsDown||(t.hoverChartIndex=i.index)},t.prototype.touch=function(t,e){var i,n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),(i=n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0}))&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type){e=this.pinchDown;var o=e[0]?4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2)):!1}y(o,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart;e=e.inverted;var n=i.zoomType||"";/touch/.test(t.type)&&(n=y(i.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=i=/y/.test(n),this.zoomHor=t&&!e||i&&e,this.zoomVert=i&&!e||t&&e,this.hasZoom=t||i},t}()}),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],function(t,e,i){function n(){var t=[];return t.item=function(t){return this[t]},u(f,function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})}),t}function o(t,i,o,s){var a=r[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!a||(a=a.pointer,s(t),a[i]({type:o,target:t.currentTarget,preventDefault:l,touches:n()}))}var s=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.charts,a=t.doc,l=t.noop,c=t.win,d=i.addEvent,h=i.css,u=i.objectEach,p=i.removeEvent,f={},m=!!c.PointerEvent;return function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return s(i,e),i.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},i.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},i.prototype.destroy=function(){this.batchMSEvents(p),e.prototype.destroy.call(this)},i.prototype.init=function(t,i){e.prototype.init.call(this,t,i),this.hasZoom&&h(t.container,{"-ms-touch-action":"none","touch-action":"none"})},i.prototype.onContainerPointerDown=function(t){o(t,"onContainerTouchStart","touchstart",function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},i.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)})},i.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",function(t){delete f[t.pointerId]})},i.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(d)},i}(e)}),e(i,"Core/Legend/Legend.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Point.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s){var r=t.animObject,a=t.setAnimation,l=e.format;t=i.isFirefox;var c=i.marginNames;i=i.win;var d=o.distribute,h=s.addEvent,u=s.createElement,p=s.css,f=s.defined,m=s.discardElement,g=s.find,v=s.fireEvent,y=s.isNumber,b=s.merge,_=s.pick,x=s.relativeLength,w=s.stableSort,k=s.syncTimeout;return o=s.wrap,s=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),h(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=h(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=_(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=b(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=_(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var i=this.chart;this.setOptions(b(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,_(e,!0)&&i.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,n=t.legendItem,o=t.legendLine,s=t.legendSymbol,r=this.itemHiddenStyle.color;i=e?i.itemStyle.color:r;var a=e?t.color||r:r,l=t.options&&t.options.marker,c={fill:a};n&&n.css({fill:i,color:i}),o&&o.attr({stroke:a}),s&&(l&&s.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=r)),s.attr(c))}v(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,i=this.options,n=i.symbolPadding,o=!i.rtl,s=t._legendItemPos;i=s[0],s=s[1];var r=t.checkbox,a=t.legendGroup;a&&a.element&&(n={translateX:o?i:this.legendWidth-i-2*n-4,translateY:s},o=function(){v(e,"afterPositionItem",{item:t})},f(a.translateY)?a.animate(n,void 0,o):(a.attr(n),o())),r&&(r.x=i,r.y=s)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(e){t[e]&&(t[e]=t[e].destroy())}),e&&m(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(e){["legendItem","legendGroup"].forEach(t,e)}),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var n=t.translateY;this.allItems.forEach(function(o){var s=o.checkbox;if(s){var r=n+i+s.y+(this.scrollOffset||0)+3;p(s,{left:t.translateX+o.checkboxOffset+s.x-20+"px",top:r+"px",display:this.proximate||r>n-6&&n+e-6>r?"":"none"})}},this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,n=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,void 0,void 0,void 0,t.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),t=this.title.getBBox(),n=t.height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,i=e.renderer,n=this.options,o=this.symbolWidth,s=n.symbolPadding||0,r=this.itemStyle,a=this.itemHiddenStyle,l="horizontal"===n.layout?_(n.itemDistance,20):0,c=!n.rtl,d=!t.series,h=!d&&t.series.drawLegendSymbol?t.series:t,u=h.options,p=this.createCheckboxForItem&&u&&u.showCheckbox,f=n.useHTML,m=t.options.className,g=t.legendItem;u=o+s+l+(p?20:0),g||(t.legendGroup=i.g("legend-item").addClass("highcharts-"+h.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=g=i.text("",c?o+s:-s,this.baseline||0,f),e.styledMode||g.css(b(t.visible?r:a)),g.attr({align:c?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(e.styledMode?12:r.fontSize,g),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,g.attr("y",this.baseline),this.symbolHeight=n.symbolHeight||this.fontMetrics.f,n.squareSymbol&&(this.symbolWidth=_(n.symbolWidth,Math.max(this.symbolHeight,16)),u=this.symbolWidth+s+l+(p?20:0),c&&g.attr("x",this.symbolWidth+s))),h.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,g,f)),p&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&r.width||g.css({width:(n.itemWidth||this.widthOption||e.spacingBox.width)-u+"px"}),this.setText(t),e=g.getBBox(),i=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=n.itemWidth||t.legendItemWidth||e.width+u,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*i?e.height:i))},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,n="horizontal"===e.layout,o=t.itemHeight,s=this.itemMarginBottom,r=this.itemMarginTop,a=n?_(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,n&&this.itemX-i+e>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=r+this.lastLineHeight+s),this.lastLineHeight=0),this.lastItemY=r+this.itemY+s,this.lastLineHeight=Math.max(o,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=r+o+s,this.lastLineHeight=o),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach(function(e){var i=e&&e.options;e&&_(i.showInLegend,f(i.linkedTo)?!1:void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))}),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,n=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(s,r){s.test(o)&&!f(t[r])&&(i[c[r]]=Math.max(i[c[r]],i.legend[(r+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][r]*n[r%2?"x":"y"]+_(n.margin,12)+e[r]+(i.titleOffset[r]||0)))})},t.prototype.proximatePositions=function(){var t=this.chart,e=[],i="left"===this.options.align;this.allItems.forEach(function(n){var o,s=i;if(n.yAxis){n.xAxis.options.reversed&&(s=!s),n.points&&(o=g(s?n.points:n.points.slice(0).reverse(),function(t){return y(t.plotY)})),s=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom;var r=n.yAxis.top-t.plotTop;n.visible?(o=o?o.plotY:n.yAxis.height,o+=r-.3*s):o=r+n.yAxis.height,e.push({target:o,size:s,item:n})}},this),d(e,t.plotHeight).forEach(function(e){e.item._legendItemPos&&e.pos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)})},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,n=this.padding,o=this.getAllItems(),s=this.group,r=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(i.width,t.spacingBox.width-n);var a=t.spacingBox.width-2*n-i.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,s||(this.group=s=e.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(s),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),w(o,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),i.reversed&&o.reverse(),this.allItems=o,this.display=a=!!o.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,o.forEach(this.renderItem,this),o.forEach(this.layoutItem,this),o=(this.widthOption||this.offsetWidth)+n;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=n,r||(this.box=r=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(s)),t.styledMode||r.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),o>0&&l>0&&r[r.placed?"animate":"attr"](r.crisp.call({},{x:0,y:0,width:o,height:l},r.strokeWidth())),s[a?"show":"hide"](),t.styledMode&&"none"===s.getStyle("display")&&(o=l=0),this.legendWidth=o,this.legendHeight=l,a&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=b(t,{y:n})),e.hasRendered||(this.group.placed=!1),this.group.align(b(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,i,n=this,o=this.chart,s=o.renderer,r=this.options,a=r.y,l="top"===r.verticalAlign,c=this.padding,d=r.maxHeight,h=r.navigation,u=_(h.animation,!0),p=h.arrowSize||12,f=this.pages,m=this.allItems,g=function(t){"number"==typeof t?b.attr({height:t}):b&&(n.clipRect=b.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},v=function(t){return n[t]=s.circle(0,0,1.3*p).translate(p/2,p/2).add(y),o.styledMode||n[t].attr("fill","rgba(0,0,0,0.0001)"),n[t]};a=o.spacingBox.height+(l?-a:a)-c;var y=this.nav,b=this.clipRect;return"horizontal"!==r.layout||"middle"===r.verticalAlign||r.floating||(a/=2),d&&(a=Math.min(a,d)),f.length=0,t&&a>0&&t>a&&!1!==h.enabled?(this.clipHeight=e=Math.max(a-20-this.titleHeight-c,0),this.currentPage=_(this.currentPage,1),this.fullHeight=t,m.forEach(function(t,n){var o=t._legendItemPos[1],s=Math.round(t.legendItem.getBBox().height),r=f.length;(!r||o-f[r-1]>e&&(i||o)!==f[r-1])&&(f.push(i||o),r++),t.pageIx=r-1,i&&(m[n-1].pageIx=r-1),n===m.length-1&&o+s-f[r-1]>e&&e>=s&&(f.push(o),t.pageIx=r),o!==i&&(i=o)}),b||(b=n.clipRect=s.clipRect(0,c,9999,0),n.contentGroup.clip(b)),g(e),y||(this.nav=y=s.g().attr({
zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,p,p).add(y),v("upTracker").on("click",function(){n.scroll(-1,u)}),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&h.style&&this.pager.css(h.style),this.pager.add(y),this.down=s.symbol("triangle-down",0,0,p,p).add(y),v("downTracker").on("click",function(){n.scroll(1,u)})),n.scroll(0),t=a):y&&(g(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,n=this.chart,o=this.pages,s=o.length,l=this.clipHeight,c=this.options.navigation,d=this.pager,h=this.padding,u=this.currentPage+t;u>s&&(u=s),u>0&&("undefined"!=typeof e&&a(e,n),this.nav.attr({translateX:h,translateY:l+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(t){t.attr({"class":1===u?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),d.attr({text:u+"/"+s}),[this.down,this.downTracker].forEach(function(t){t.attr({x:18+this.pager.getBBox().width,"class":u===s?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),n.styledMode||(this.up.attr({fill:1===u?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===u?"default":"pointer"}),this.down.attr({fill:u===s?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:u===s?"default":"pointer"})),this.scrollOffset=-o[u-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=u,this.positionCheckboxes(),t=r(_(e,n.renderer.globalAnimation,!0)),k(function(){v(i,"afterScroll",{currentPage:u})},t.duration))},t.prototype.setItemEvents=function(t,e,i){var o=this,s=o.chart.renderer.boxWrapper,r=t instanceof n,a="highcharts-legend-"+(r?"point":"series")+"-active",l=o.chart.styledMode,c=function(e){o.allItems.forEach(function(i){t!==i&&[i].concat(i.linkedSeries||[]).forEach(function(t){t.setState(e,!r)})})};(i?[e,t.legendSymbol]:[t.legendGroup]).forEach(function(i){i&&i.on("mouseover",function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&s.addClass(a),l||e.css(o.options.itemHoverStyle)}).on("mouseout",function(){o.chart.styledMode||e.css(b(t.visible?o.itemStyle:o.itemHiddenStyle)),c(""),s.removeClass(a),t.setState()}).on("click",function(e){var i=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};s.removeClass(a),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):v(t,"legendItemClick",e,i)})})},t.prototype.createCheckboxForItem=function(t){t.checkbox=u("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),h(t.checkbox,"click",function(e){v(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},function(){t.select()})})},t}(),(/Trident\/7\.0/.test(i.navigator&&i.navigator.userAgent)||t)&&o(s.prototype,"positionItem",function(t,e){var i=this,n=function(){e._legendItemPos&&t.call(i,e)};n(),i.bubbleLegend||setTimeout(n)}),s}),e(i,"Core/Series/SeriesRegistry.js",[i["Core/Globals.js"],i["Core/DefaultOptions.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],function(t,e,i,n){var o,s=e.defaultOptions,r=n.error,a=n.extendClass,l=n.merge;return function(e){function n(t,n){var o=s.plotOptions||{},r=n.defaultOptions;n.prototype.pointClass||(n.prototype.pointClass=i),n.prototype.type=t,r&&(o[t]=r),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,i){void 0===i&&(i={});var n=t.options.chart;n=i.type||n.type||n.defaultSeriesType||"";var o=e.seriesTypes[n];return e||r(17,!0,t,{missingModuleFor:n}),n=new o,"function"==typeof n.init&&n.init(t,i),n},e.registerSeriesType=n,e.seriesType=function(t,o,r,c,d){var h=s.plotOptions||{};return o=o||"",h[t]=l(h[o],r),n(t,a(e.seriesTypes[o]||function(){},c)),e.seriesTypes[t].prototype.type=t,d&&(e.seriesTypes[t].prototype.pointClass=a(i,d)),e.seriesTypes[t]}}(o||(o={})),o}),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/FormatUtilities.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/Legend.js"],i["Core/MSPointer.js"],i["Core/DefaultOptions.js"],i["Core/Pointer.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Time.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],function(t,e,i,n,o,s,r,a,l,c,d,h,u,p,f){var m=t.animate,g=t.animObject,v=t.setAnimation,y=i.numberFormat,b=n.registerEventOptions,_=o.charts,x=o.doc,w=o.marginNames,k=o.svg,C=o.win,T=a.defaultOptions,S=a.defaultTime,$=d.seriesTypes,M=p.addEvent,j=p.attr,D=p.cleanRecursively,E=p.createElement,A=p.css,P=p.defined,O=p.discardElement,L=p.erase,I=p.error,F=p.extend,H=p.find,B=p.fireEvent,N=p.getStyle,R=p.isArray,z=p.isNumber,q=p.isObject,W=p.isString,Y=p.merge,V=p.objectEach,G=p.pick,U=p.pInt,X=p.relativeLength,Q=p.removeEvent,K=p.splat,Z=p.syncTimeout,J=p.uniqueKey;return t=function(){function t(t,e,i){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,i)}return t.chart=function(e,i,n){return new t(e,i,n)},t.prototype.getArgs=function(t,e,i){W(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)},t.prototype.init=function(t,e){var i=t.plotOptions||{};B(this,"init",{args:arguments},function(){var n=Y(T,t),s=n.chart;V(n.plotOptions,function(t,e){q(t)&&(t.tooltip=i[e]&&Y(i[e].tooltip)||void 0)}),n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new u(t.time):o.time,this.numberFormatter=s.numberFormatter||y,this.styledMode=s.styledMode,this.hasCartesianSeries=s.showAxes,this.index=_.length,_.push(this),o.chartCount++,b(this,s),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,B(this,"afterInit"),this.firstRender()})},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var i=$[e];return i||I(17,!0,this,{missingModuleFor:e}),e=new i,"function"==typeof e.init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)})},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0})},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var i=e.length;i>t;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,i){void 0===i&&(i={});var n=this.inverted,o=this.plotBox,s=this.plotLeft,r=this.plotTop,a=this.scrollablePlotBox,l=0,c=0;i.visiblePlotOnly&&this.scrollingContainer&&(c=this.scrollingContainer,l=c.scrollLeft,c=c.scrollTop);var d=i.series;if(o=i.visiblePlotOnly&&a||o,a=i.inverted?e:t,e=i.inverted?t:e,t={x:a,y:e,isInsidePlot:!0},!i.ignoreX){var h=d&&(n?d.yAxis:d.xAxis)||{pos:s,len:1/0};a=i.paneCoordinates?h.pos+a:s+a,a>=Math.max(l+s,h.pos)&&a<=Math.min(l+s+o.width,h.pos+h.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(n=d&&(n?d.xAxis:d.yAxis)||{pos:r,len:1/0},i=i.paneCoordinates?n.pos+e:r+e,i>=Math.max(c+r,n.pos)&&i<=Math.min(c+r+o.height,n.pos+n.len)||(t.isInsidePlot=!1)),B(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){B(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,n=this.pointer,o=this.legend,s=this.userOptions.legend,r=this.renderer,a=r.isHidden(),l=[],c=this.isDirtyBox,d=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(this.hasRendered?t:!1,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var h=i[t];if(h.options.stacking||h.options.centerInCategory){var u=!0;if(h.isDirty){var p=!0;break}}}if(p)for(t=i.length;t--;)h=i[t],h.options.stacking&&(h.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),d=!0):s&&(s.labelFormatter||s.labelFormat)&&(d=!0)),t.isDirtyData&&B(t,"updatedData")}),d&&o&&o.options.enabled&&(o.render(),this.isDirtyLegend=!1),u&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(c=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push(function(){B(t,"afterSetExtremes",F(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(c||u)&&t.redraw()}),c&&this.drawChartBox(),B(this,"predraw"),i.forEach(function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),n&&n.reset(!0),r.draw(),B(this,"redraw"),B(this,"render"),a&&this.temporaryDisplay(!0),l.forEach(function(t){t.call()})},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var i=this.series,n=H(this.axes,e)||H(this.series,e),o=0;!n&&o<i.length;o++)n=H(i[o].points||[],e);return n},t.prototype.getAxes=function(){var t=this,i=this.options,n=i.xAxis=K(i.xAxis||{});i=i.yAxis=K(i.yAxis||{}),B(this,"getAxes"),n.forEach(function(t,e){t.index=e,t.isX=!0}),i.forEach(function(t,e){t.index=e}),n.concat(i).forEach(function(i){new e(t,i)}),B(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce(function(t,e){return e.getPointsCollection().forEach(function(e){G(e.selectedStaging,e.selected)&&t.push(e)}),t},[])},t.prototype.getSelectedSeries=function(){return this.series.filter(function(t){return t.selected})},t.prototype.setTitle=function(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)},t.prototype.applyDescription=function(t,e){var i=this,n="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};n=this.options[t]=Y(!this.styledMode&&{style:n},this.options[t],e);var o=this[t];o&&e&&(this[t]=o=o.destroy()),n&&!o&&(o=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,"class":"highcharts-"+t,zIndex:n.zIndex||4}).add(),o.update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||o.css(n.style),this[t]=o)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach(function(t){var o=this[t],s=this.options[t],r=s.verticalAlign||"top";t="title"===t?"top"===r?-3:0:"top"===r?e[0]+2:0;var a;if(o){this.styledMode||(a=s.style&&s.style.fontSize),a=i.fontMetrics(a,o).b,o.css({width:(s.width||n.width+(s.widthAdjust||0))+"px"});var l=Math.round(o.getBBox(s.useHTML).height);o.align(F({y:"bottom"===r?a:t+a,height:l},s),!1,"spacingBox"),s.floating||("top"===r?e[0]=Math.ceil(e[0]+l):"bottom"===r&&(e[2]=Math.ceil(e[2]+l)))}},this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&G(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.renderTo;P(e)||(this.containerWidth=N(i,"width")),P(t)||(this.containerHeight=N(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,X(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(A(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(x.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(x.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,x.body.appendChild(e)),("none"===N(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),A(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),e=e.parentNode,e!==x.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,i=e.chart,n=J(),o=this.renderTo;o||(this.renderTo=o=i.renderTo),W(o)&&(this.renderTo=o=x.getElementById(o)),o||I(13,!0,this);var s=U(j(o,"data-highcharts-chart"));z(s)&&_[s]&&_[s].hasRendered&&_[s].destroy(),j(o,"data-highcharts-chart",this.index),o.innerHTML=f.emptyHTML,i.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize(),s=this.chartWidth;var r=this.chartHeight;if(A(o,{overflow:"hidden"}),this.styledMode||(t=F({position:"relative",overflow:"hidden",width:s+"px",height:r+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{})),this.container=n=E("div",{id:n},t,o),this._cursor=n.style.cursor,this.renderer=new(i.renderer||!k?c.getRendererType(i.renderer):h)(n,s,r,void 0,i.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(i.className),this.styledMode)for(var a in e.defs)this.renderer.definition(e.defs[a]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,i=this.margin,n=this.titleOffset;this.resetMargins(),n[0]&&!P(i[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!P(i[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),B(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,n=t.margin,o=function(t){t.forEach(function(t){t.visible&&t.getOffset()})};t.hasCartesianSeries?o(t.axes):i&&i.length&&o(i),w.forEach(function(i,o){P(n[o])||(t[i]+=e[o])}),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,n=e.renderTo,o=P(i.width)&&P(i.height),s=i.width||N(n,"width");i=i.height||N(n,"height"),n=t?t.target:C,delete e.pointer.chartPosition,o||e.isPrinting||!s||!i||n!==C&&n!==x||((s!==e.containerWidth||i!==e.containerHeight)&&(p.clearTimeout(e.reflowTimeout),e.reflowTimeout=Z(function(){e.container&&e.setSize(void 0,void 0,!1)},t?100:0)),e.containerWidth=s,e.containerHeight=i)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=M(C,"resize",function(t){e.options&&e.reflow(t)}),M(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var n=this,o=n.renderer;n.isResizing+=1,v(i,n),i=o.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,"undefined"!=typeof t&&(n.options.chart.width=t),"undefined"!=typeof e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(i?m:A)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},i),n.setChartSize(!0),o.setSize(n.chartWidth,n.chartHeight,i),n.axes.forEach(function(t){t.isDirty=!0,t.setScale()}),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(i),n.oldChartHeight=null,B(n,"resize"),Z(function(){n&&B(n,"endResize",null,function(){--n.isResizing})},g(i).duration)},t.prototype.setChartSize=function(t){var e,i,n,o,s=this.inverted,r=this.renderer,a=this.chartWidth,l=this.chartHeight,c=this.options.chart,d=this.spacing,h=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(l-i-this.marginBottom)),this.plotSizeX=s?o:n,this.plotSizeY=s?n:o,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=r.spacingBox={x:d[3],y:d[0],width:a-d[3]-d[1],height:l-d[0]-d[2]},this.plotBox=r.plotBox={x:e,y:i,width:n,height:o},s=2*Math.floor(this.plotBorderWidth/2),a=Math.ceil(Math.max(s,h[3])/2),l=Math.ceil(Math.max(s,h[0])/2),this.clipBox={x:a,y:l,width:Math.floor(this.plotSizeX-Math.max(s,h[1])/2-a),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(s,h[2])/2-l))},t||(this.axes.forEach(function(t){t.setAxisSize(),t.setAxisTranslation()}),r.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){B(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach(function(i){var n=e[i],o=q(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach(function(n,s){t[i][s]=G(e[i+n],o[s])})}),w.forEach(function(e,i){t[e]=G(t.margin[i],t.spacing[i])}),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,i=this.renderer,n=this.chartWidth,o=this.chartHeight,s=this.styledMode,r=this.plotBGImage,a=e.backgroundColor,l=e.plotBackgroundColor,c=e.plotBackgroundImage,d=this.plotLeft,h=this.plotTop,u=this.plotWidth,p=this.plotHeight,f=this.plotBox,m=this.clipRect,g=this.clipBox,v=this.chartBackground,y=this.plotBackground,b=this.plotBorder,_="animate";if(v||(this.chartBackground=v=i.rect().addClass("highcharts-background").add(),_="attr"),s)var x=t=v.strokeWidth();else x=e.borderWidth||0,t=x+(e.shadow?8:0),a={fill:a||"none"},(x||v["stroke-width"])&&(a.stroke=e.borderColor,a["stroke-width"]=x),v.attr(a).shadow(e.shadow);v[_]({x:t/2,y:t/2,width:n-t-x%2,height:o-t-x%2,r:e.borderRadius}),_="animate",y||(_="attr",this.plotBackground=y=i.rect().addClass("highcharts-plot-background").add()),y[_](f),s||(y.attr({fill:l||"none"}).shadow(e.plotShadow),c&&(r?(c!==r.attr("href")&&r.attr("href",c),r.animate(f)):this.plotBGImage=i.image(c,d,h,u,p).add())),m?m.animate({width:g.width,height:g.height}):this.clipRect=i.clipRect(g),_="animate",b||(_="attr",this.plotBorder=b=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),s||b.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),b[_](b.crisp({x:d,y:h,width:u,height:p},-b.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,i,n=this,o=n.options.chart,s=n.options.series;["inverted","angular","polar"].forEach(function(r){for(e=$[o.type||o.defaultSeriesType],i=o[r]||e&&e.prototype[r],t=s&&s.length;!i&&t--;)(e=$[s[t].type])&&e.prototype[r]&&(i=!0);n[r]=i})},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach(function(t){t.linkedSeries.length=0}),e.forEach(function(e){var i=e.options.linkedTo;W(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&i.linkedParent!==e&&(i.linkedSeries.push(e),e.linkedParent=i,i.enabledDataSorting&&e.setDataSortingOptions(),e.visible=G(e.options.visible,i.options.visible,e.visible))}),B(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach(function(t){t.translate(),t.render()})},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach(function(i){var n=F(e.style,i.style),o=U(n.left)+t.plotLeft,s=U(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(i.html,o,s).attr({zIndex:2}).css(n).add()})},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,n=this.options,o=function(t){t.forEach(function(t){t.visible&&t.render()})},r=0;this.setTitle(),this.legend=new s(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some(function(t){return t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length?(r=21,!0):void 0});var a=this.plotHeight=Math.max(this.plotHeight-r,0);t.forEach(function(t){t.setScale()}),this.getAxisMargins();var l=1.1<n/this.plotWidth,c=1.05<a/this.plotHeight;(l||c)&&(t.forEach(function(t){(t.horiz&&l||!t.horiz&&c)&&t.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?o(t):e&&e.length&&o(e),this.seriesGroup||(this.seriesGroup=i.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,i=Y(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){i.href&&(C.location.href=i.href)}).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,i=e.axes,n=e.series,s=e.container,r=s&&s.parentNode;for(B(e,"destroy"),e.renderer.forExport?L(_,e):_[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),Q(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())}),s&&(s.innerHTML=f.emptyHTML,Q(s),r&&O(s)),V(e,function(t,i){delete e[i]})},t.prototype.firstRender=function(){var t=this,e=t.options;(!t.isReadyToRender||t.isReadyToRender())&&(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(R(e.series)?e.series:[]).forEach(function(e){t.initSeries(e)}),t.linkSeries(),t.setSeriesData(),B(t,"beforeRender"),l&&(r.isRequired()?t.pointer=new r(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(t){t&&"undefined"!=typeof this.index&&t.apply(this,[this])},this),B(this,"load"),B(this,"render"),P(this.index)&&this.setReflow(this.options.chart.reflow),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0},t.prototype.warnIfA11yModuleNotLoaded=function(){var t=this.options,e=this.title;t&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":e&&e.element.textContent||""}),t.accessibility&&!1===t.accessibility.enabled||I('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))},t.prototype.addSeries=function(t,e,i){var n,o=this;return t&&(e=G(e,!0),B(o,"addSeries",{options:t},function(){n=o.initSeries(t),o.isDirtyLegend=!0,o.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),B(o,"afterAddSeries",{series:n}),e&&o.redraw(i)})),n},t.prototype.addAxis=function(t,e,i,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:n})},t.prototype.addColorAxis=function(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})},t.prototype.createAxis=function(t,i){return t=new e(this,Y(i.axis,{index:this[t].length,isX:"xAxis"===t})),G(i.redraw,!0)&&this.redraw(i.animation),t},t.prototype.showLoading=function(t){var e=this,i=e.options,n=i.loading,o=function(){s&&A(s,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},s=e.loadingDiv,r=e.loadingSpan;s||(e.loadingDiv=s=E("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),r||(e.loadingSpan=r=E("span",{className:"highcharts-loading-inner"},null,s),M(e,"redraw",o)),s.className="highcharts-loading",f.setElementHTML(r,G(t,i.lang.loading,"")),e.styledMode||(A(s,F(n.style,{zIndex:10})),A(r,n.labelStyle),e.loadingShown||(A(s,{opacity:0,display:""}),m(s,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,o()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){A(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,i,n){var o,s,r=this,a={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,c=[];B(r,"update",{options:t}),l||r.setResponsive(!1,!0),t=D(t,r.options),r.userOptions=Y(r.userOptions,t);var d=t.chart;if(d){if(Y(!0,r.options.chart,d),"className"in d&&r.setClassName(d.className),"reflow"in d&&r.setReflow(d.reflow),"inverted"in d||"polar"in d||"type"in d){r.propFromSeries();var h=!0}"alignTicks"in d&&(h=!0),"events"in d&&b(this,d),V(d,function(t,e){-1!==r.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==r.propsRequireDirtyBox.indexOf(e)&&(r.isDirtyBox=!0),-1!==r.propsRequireReflow.indexOf(e)&&(l?r.isDirtyBox=!0:s=!0)}),!r.styledMode&&d.style&&r.renderer.setStyle(r.options.chart.style||{})}!r.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===S&&(this.time=new u(t.time)),Y(!0,r.options.time,t.time)),V(t,function(e,i){r[i]&&"function"==typeof r[i].update?r[i].update(e,!1):"function"==typeof r[a[i]]?r[a[i]](e):"colors"!==i&&-1===r.collectionsWithUpdate.indexOf(i)&&Y(!0,r.options[i],t[i]),"chart"!==i&&-1!==r.propsRequireUpdateSeries.indexOf(i)&&(o=!0)}),this.collectionsWithUpdate.forEach(function(e){if(t[e]){var n=[];r[e].forEach(function(t,e){t.options.isInternal||n.push(G(t.options.index,e))}),K(t[e]).forEach(function(t,o){var s,a=P(t.id);a&&(s=r.get(t.id)),!s&&r[e]&&(s=r[e][n?n[o]:o])&&a&&P(s.options.id)&&(s=void 0),s&&s.coll===e&&(s.update(t,!1),i&&(s.touched=!0)),!s&&i&&r.collectionsWithInit[e]&&(r.collectionsWithInit[e][0].apply(r,[t].concat(r.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)}),i&&r[e].forEach(function(t){t.touched||t.options.isInternal?delete t.touched:c.push(t)})}}),c.forEach(function(t){t.chart&&t.remove&&t.remove(!1)}),h&&r.axes.forEach(function(t){t.update({},!1)}),o&&r.getSeriesOrderByLinks().forEach(function(t){t.chart&&t.update({},!1)},this),h=d&&d.width,d=d&&(W(d.height)?X(d.height,h||r.chartWidth):d.height),s||z(h)&&h!==r.chartWidth||z(d)&&d!==r.chartHeight?r.setSize(h,d,n):G(e,!0)&&r.redraw(n),B(r,"afterUpdate",{options:t,redraw:e,animation:n})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,i=T.lang,n=e.options.chart.resetZoomButton,o=n.theme,s="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";B(this,"beforeShowResetZoom",null,function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,o).attr({align:n.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,s)}),B(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){B(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,i=this,n=i.pointer,o=i.inverted?n.mouseDownX:n.mouseDownY,s=!1;!t||t.resetSelection?(i.axes.forEach(function(t){e=t.zoom()}),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach(function(t){var r=t.axis,a=i.inverted?r.left:r.top,l=i.inverted?a+r.width:a+r.height,c=r.isXAxis,d=!1;(!c&&o>=a&&l>=o||c||!P(o))&&(d=!0),n[c?"zoomX":"zoomY"]&&d&&(e=r.zoom(t.min,t.max),r.displayBtn&&(s=!0))});var r=i.resetZoomButton;s&&!r?i.showResetZoom():!s&&q(r)&&(i.resetZoomButton=r.destroy()),e&&i.redraw(G(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i=this,n=i.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var o=i.options.chart;o&&o.panning&&(o.panning=e);var s,r=e.type;B(this,"pan",{originalEvent:t},function(){n&&n.forEach(function(t){t.setState()});var e=i.xAxis;"xy"===r?e=e.concat(i.yAxis):"y"===r&&(e=i.yAxis);var o={};e.forEach(function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,a=t[n?"chartX":"chartY"];n=n?"mouseDownX":"mouseDownY";var l=i[n],c=e.minPointOffset||0,d=e.reversed&&!i.inverted||!e.reversed&&i.inverted?-1:1,h=e.getExtremes(),u=e.toValue(l-a,!0)+c*d,p=e.toValue(l+e.len-a,!0)-(c*d||e.isXAxis&&e.pointRangePadding||0),f=u>p;d=e.hasVerticalPanning(),l=f?p:u,u=f?u:p;var m=e.panningState;!d||e.isXAxis||m&&!m.isDirty||e.series.forEach(function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),m||(m={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),z(e.dataMin)&&z(e.dataMax)&&(m.startMin=Math.min(G(t.options.threshold,1/0),e.dataMin,m.startMin),m.startMax=Math.max(G(t.options.threshold,-(1/0)),e.dataMax,m.startMax))}),d=Math.min(G(m&&m.startMin,h.dataMin),c?h.min:e.toValue(e.toPixels(h.min)-e.minPixelPadding)),p=Math.max(G(m&&m.startMax,h.dataMax),c?h.max:e.toValue(e.toPixels(h.max)+e.minPixelPadding)),e.panningState=m,e.isOrdinal||(c=d-l,c>0&&(u+=c,l=d),c=u-p,c>0&&(u=p,l-=c),e.series.length&&l!==h.min&&u!==h.max&&l>=d&&p>=u&&(e.setExtremes(l,u,!1,!1,{trigger:"pan"}),!i.resetZoomButton&&l!==d&&u!==p&&r.match("y")&&(i.showResetZoom(),e.displayBtn=!1),s=!0),o[n]=a)}}),V(o,function(t,e){i[e]=t}),s&&i.redraw(!1),A(i.container,{cursor:"move"})})},t}(),F(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t}),e(i,"Core/Legend/LegendSymbol.js",[i["Core/Utilities.js"]],function(t){var e,i=t.merge,n=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,o=t.symbolWidth,s=t.symbolHeight,r=s/2,a=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={},d=e.marker;this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=a.path([["M",0,t],["L",o,t]]).addClass("highcharts-graph").attr(c).add(l),d&&!1!==d.enabled&&o&&(e=Math.min(n(d.radius,r),r),0===this.symbol.indexOf("url")&&(d=i(d,{width:s,height:s}),e=0),this.legendSymbol=o=a.symbol(this.symbol,o/2-e,t-e,2*e,2*e,d).addClass("highcharts-point").add(l),o.isMarker=!0)},t.drawRectangle=function(t,e){var i=t.symbolHeight,o=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(o?(t.symbolWidth-i)/2:0,t.baseline-i+1,o?i:t.symbolWidth,i,n(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e}),e(i,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1);
},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),e(i,"Core/Series/Series.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/Point.js"],i["Core/Series/SeriesDefaults.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s,r,a,l,c){var d=t.animObject,h=t.setAnimation,u=e.defaultOptions,p=i.registerEventOptions,f=n.hasTouch,m=n.svg,g=n.win,v=a.seriesTypes,y=c.addEvent,b=c.arrayMax,_=c.arrayMin,x=c.clamp,w=c.cleanRecursively,k=c.correctFloat,C=c.defined,T=c.erase,S=c.error,$=c.extend,M=c.find,j=c.fireEvent,D=c.getNestedProperty,E=c.isArray,A=c.isNumber,P=c.isString,O=c.merge,L=c.objectEach,I=c.pick,F=c.removeEvent,H=c.splat,B=c.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){j(this,"init",{options:e});var i=this,n=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e),e=i.options,i.linkedSeries=[],i.bindAxes(),$(i,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach(function(t){i[t+"Data"]||(i[t+"Data"]=[])}),i.isCartesian&&(t.hasCartesianSeries=!0);var s;n.length&&(s=n[n.length-1]),i._i=I(s&&s._i,-1)+1,i.opacity=i.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(e.data,!1),j(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(A(i)){for(e=t.length;e--;)if(i>=I(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return I(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,n=e.chart;j(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(o){var s=0;n[o].forEach(function(n){t=n.options,(i[o]===s&&!t.isInternal||"undefined"!=typeof i[o]&&i[o]===t.id||"undefined"==typeof i[o]&&0===t.index)&&(e.insert(n.series),e[o]=n,n.isDirty=!0),t.isInternal||s++}),e[o]||e.optionalAxis===o||S(18,!0,n)})}),j(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,n=arguments,o=A(e)?function(n){var o="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=o}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(n,2))};i.parallelArrays.forEach(o)},t.prototype.hasData=function(){return this.visible&&"undefined"!=typeof this.dataMax&&"undefined"!=typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,i=this.options,n=i.pointIntervalUnit,o=i.relativeXValue,s=this.chart.time,r=this.xIncrement;return r=I(r,i.pointStart,0),this.pointInterval=e=I(this.pointInterval,i.pointInterval,1),o&&A(t)&&(e*=t),n&&(i=new s.Date(r),"day"===n?s.set("Date",i,s.get("Date",i)+e):"month"===n?s.set("Month",i,s.get("Month",i)+e):"year"===n&&s.set("FullYear",i,s.get("FullYear",i)+e),e=i.getTime()-r),o&&A(t)?r+e:(this.xIncrement=r+e,r)},t.prototype.setDataSortingOptions=function(){var t=this.options;$(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),C(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,i=e.options,n=i.plotOptions,o=e.userOptions||{};t=O(t),e=e.styledMode;var s={plotOptions:n,userOptions:t};j(this,"setOptions",s);var r=s.plotOptions[this.type],a=o.plotOptions||{};return this.userOptions=s.userOptions,o=O(r,n.series,o.plotOptions&&o.plotOptions[this.type],t),this.tooltipOptions=O(u.tooltip,u.plotOptions.series&&u.plotOptions.series.tooltip,u.plotOptions[this.type].tooltip,i.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=I(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:o.stickyTracking),null===r.marker&&delete o.marker,this.zoneAxis=o.zoneAxis,n=this.zones=(o.zones||[]).slice(),!o.negativeColor&&!o.negativeFillColor||o.zones||(i={value:o[this.zoneAxis+"Threshold"]||o.threshold||0,className:"highcharts-negative"},e||(i.color=o.negativeColor,i.fillColor=o.negativeFillColor),n.push(i)),n.length&&C(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),j(this,"afterSetOptions",{options:o}),o},t.prototype.getName=function(){return I(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,i){var n=this.chart,o=this.userOptions,s=t+"Index",r=t+"Counter",a=i?i.length:I(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var l=I(o[s],o["_"+s]);C(l)||(n.series.length||(n[r]=0),o["_"+s]=l=n[r]%a,n[r]+=1),i&&(e=i[l])}"undefined"!=typeof l&&(this[s]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||u.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var i,n,o=t.id,r=t.x,a=this.points,l=this.options.dataSorting;if(o)l=this.chart.get(o),l instanceof s&&(i=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(i=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?i=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(i=function(e){return!e.touched&&e.options.x===t.x}),i=M(a,i),!i))return;if(i){var c=i&&i.index;"undefined"!=typeof c&&(n=!0)}return"undefined"==typeof c&&A(r)&&(c=this.xData.indexOf(r,e)),-1!==c&&"undefined"!=typeof c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!n&&A(c)&&a[c]&&a[c].touched&&(c=void 0),c},t.prototype.updateData=function(t,e){var i,n,o,s=this.options,r=s.dataSorting,a=this.points,l=[],c=this.requireSorting,d=t.length===a.length,h=!0;if(this.xIncrement=null,t.forEach(function(t,e){var n=C(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},h=n.x;n.id||A(h)?(n=this.findPointIndex(n,o),-1===n||"undefined"==typeof n?l.push(t):a[n]&&t!==s.data[n]?(a[n].update(t,!1,null,!1),a[n].touched=!0,c&&(o=n+1)):a[n]&&(a[n].touched=!0),(!d||e!==n||r&&r.enabled||this.hasDerivedData)&&(i=!0)):l.push(t)},this),i)for(t=a.length;t--;)(n=a[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!d||r&&r.enabled?h=!1:(t.forEach(function(t,e){t!==a[e].y&&a[e].update&&a[e].update(t,!1,null,!1)}),l.length=0);return a.forEach(function(t){t&&(t.touched=!1)}),h?(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0):!1},t.prototype.setData=function(t,e,i,n){var o=this,s=o.points,r=s&&s.length||0,a=o.options,l=o.chart,c=a.dataSorting,d=o.xAxis,h=a.turboThreshold,u=this.xData,p=this.yData,f=o.pointArrayMap;f=f&&f.length;var m,g=a.keys,v=0,y=1,b=null;if(!l.options.chart.allowMutatingData){a.data&&delete o.options.data,o.userOptions.data&&delete o.userOptions.data;var _=O(!0,t)}if(t=_||t||[],_=t.length,e=I(e,!0),c&&c.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==n&&_&&r&&!o.cropped&&!o.hasGroupedData&&o.visible&&!o.isSeriesBoosting&&(m=this.updateData(t,i)),!m){if(o.xIncrement=null,o.colorCounter=0,this.parallelArrays.forEach(function(t){o[t+"Data"].length=0}),h&&_>h)if(b=o.getFirstValidPoint(t),A(b))for(i=0;_>i;i++)u[i]=this.autoIncrement(),p[i]=t[i];else if(E(b))if(f)if(b.length===f)for(i=0;_>i;i++)u[i]=this.autoIncrement(),p[i]=t[i];else for(i=0;_>i;i++)n=t[i],u[i]=n[0],p[i]=n.slice(1,f+1);else if(g&&(v=g.indexOf("x"),y=g.indexOf("y"),v=v>=0?v:0,y=y>=0?y:1),1===b.length&&(y=0),v===y)for(i=0;_>i;i++)u[i]=this.autoIncrement(),p[i]=t[i][y];else for(i=0;_>i;i++)n=t[i],u[i]=n[v],p[i]=n[y];else S(12,!1,l);else for(i=0;_>i;i++)"undefined"!=typeof t[i]&&(n={series:o},o.pointClass.prototype.applyOptions.apply(n,[t[i]]),o.updateParallelArrays(n,i));for(p&&P(p[0])&&S(14,!0,l),o.data=[],o.options.data=o.userOptions.data=t,i=r;i--;)s[i]&&s[i].destroy&&s[i].destroy();d&&(d.minRange=d.userMinRange),o.isDirty=l.isDirtyBox=!0,o.isDirtyData=!!s,i=!1}"point"===a.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(i)},t.prototype.sortData=function(t){var e=this,i=e.options.dataSorting.sortKey||"y",n=function(t,e){return C(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach(function(i,o){t[o]=n(e,i),t[o].index=o},this),t.concat().sort(function(t,e){return t=D(i,t),e=D(i,e),t>e?-1:e>t?1:0}).forEach(function(t,e){t.x=e},this),e.linkedSeries&&e.linkedSeries.forEach(function(e){var i=e.options,o=i.data;i.dataSorting&&i.dataSorting.enabled||!o||(o.forEach(function(i,s){o[s]=n(e,i),t[s]&&(o[s].x=t[s].x,o[s].index=s)}),e.setData(o,!1))}),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,i=this.options,n=i.cropThreshold,o=t||this.getExtremesFromAll||i.getExtremesFromAll,s=this.isCartesian;t=e&&e.val2lin,i=!(!e||!e.logarithmic);var r=0,a=this.xData,l=this.yData,c=this.requireSorting,d=!1,h=a.length;if(e){d=e.getExtremes();var u=d.min,p=d.max;d=!(!e.categories||e.names.length)}if(s&&this.sorted&&!o&&(!n||h>n||this.forceCrop))if(a[h-1]<u||a[0]>p)a=[],l=[];else if(this.yData&&(a[0]<u||a[h-1]>p)){var f=this.cropData(this.xData,this.yData,u,p);a=f.xData,l=f.yData,r=f.start,f=!0}for(n=a.length||1;--n;)if(e=i?t(a[n])-t(a[n-1]):a[n]-a[n-1],e>0&&("undefined"==typeof m||m>e))var m=e;else 0>e&&c&&!d&&(S(15,!1,this.chart),c=!1);return{xData:a,yData:l,cropped:f,cropStart:r,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;return!this.isCartesian||this.isDirty||e.isDirty||this.yAxis.isDirty||t?(t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,void j(this,"afterProcessData")):!1},t.prototype.cropData=function(t,e,i,n,o){var s,r=t.length,a=0,l=r;for(o=I(o,this.cropShoulder),s=0;r>s;s++)if(t[s]>=i){a=Math.max(0,s-o);break}for(i=s;r>i;i++)if(t[i]>n){l=i+o;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=this.processedData||t.data,i=this.processedXData,n=this.processedYData,o=this.pointClass,s=i.length,r=this.cropStart||0,a=this.hasGroupedData,l=t.keys,c=[];t=t.dataGrouping&&t.dataGrouping.groupAll?r:0;var d,h,u=this.data;if(!u&&!a){var p=[];p.length=e.length,u=this.data=p}for(l&&a&&(this.options.keys=!1),h=0;s>h;h++){if(p=r+h,a){var f=(new o).init(this,[i[h]].concat(H(n[h])));f.dataGroup=this.groupMap[t+h],f.dataGroup.options&&(f.options=f.dataGroup.options,$(f,f.dataGroup.options),delete f.dataLabels)}else(f=u[p])||"undefined"==typeof e[p]||(u[p]=f=(new o).init(this,e[p],i[h]));f&&(f.index=a?t+h:p,c[h]=f)}if(this.options.keys=l,u&&(s!==(d=u.length)||a))for(h=0;d>h;h++)h!==r||a||(h+=s),u[h]&&(u[h].destroyElements(),u[h].plotX=void 0);this.data=u,this.points=c,j(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:_(t),max:b(t)}},t.prototype.getExtremes=function(t,e){var i=this.xAxis,n=this.yAxis,o=this.processedXData||this.xData,s=[],r=this.requireSorting?this.cropShoulder:0;n=n?n.positiveValuesOnly:!1;var a,l=0,c=0,d=0;t=t||this.stackedYData||this.processedYData||[];var h=t.length;if(i){var u=i.getExtremes();l=u.min,c=u.max}for(a=0;h>a;a++){var p=o[a];u=t[a];var f=(A(u)||E(u))&&(u.length||u>0||!n);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!i||(o[a+r]||p)>=l&&(o[a-r]||p)<=c,f&&p)if(f=u.length)for(;f--;)A(u[f])&&(s[d++]=u[f]);else s[d++]=u}return t={activeYData:s,dataMin:_(s),dataMax:b(s)},j(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,n=null;null===n&&e>i;)n=t[i],i++;return n},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,n=i.stacking,o=this.xAxis,s=o.categories,r=this.enabledDataSorting,a=this.yAxis,l=this.points,c=l.length,d=this.pointPlacementToXValue(),h=!!d,u=i.threshold,p=i.startFromThreshold?u:0,f=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;c>t;t++){var g=l[t],v=g.x,y=void 0,b=void 0,_=g.y,w=g.low,T=n&&a.stacking&&a.stacking.stacks[(this.negStacks&&(p?0:u)>_?"-":"")+this.stackKey];if((a.positiveValuesOnly&&!a.validatePositiveValue(_)||o.positiveValuesOnly&&!o.validatePositiveValue(v))&&(g.isNull=!0),g.plotX=e=k(x(o.translate(v,0,0,0,1,d,"flags"===this.type),-1e5,1e5)),n&&this.visible&&T&&T[v]){var S=this.getStackIndicator(S,v,this.index);g.isNull||(y=T[v],b=y.points[S.key])}if(E(b)&&(w=b[0],_=b[1],w===p&&S.key===T[v].base&&(w=I(A(u)&&u,a.min)),a.positiveValuesOnly&&0>=w&&(w=null),g.total=g.stackTotal=y.total,g.percentage=y.total&&g.y/y.total*100,g.stackY=_,this.irregularWidths||y.setOffset(this.pointXOffset||0,this.barW||0)),g.yBottom=C(w)?x(a.translate(w,0,1,0,1),-1e5,1e5):null,this.dataModify&&(_=this.dataModify.modifyValue(_,t)),g.plotY=void 0,A(_)&&(y=a.translate(_,!1,!0,!1,!0),"undefined"!=typeof y&&(g.plotY=x(y,-1e5,1e5))),g.isInside=this.isPointInside(g),g.clientX=h?k(o.translate(v,0,0,0,1,d)):e,g.negative=g[f]<(i[f+"Threshold"]||u||0),g.category=I(s&&s[g.x],g.x),!g.isNull&&!1!==g.visible){"undefined"!=typeof $&&(m=Math.min(m,Math.abs(e-$)));var $=e}g.zone=this.zones.length?g.getZone():void 0,!g.graphic&&this.group&&r&&(g.isNew=!0)}this.closestPointRangePx=m,j(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,i){var n=this.chart;return(t||this.points||[]).filter(function(t){return e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted})?!1:!1!==t.visible&&(i||!t.isNull)})},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis,n=O(t.clipBox);return e&&e.len!==t.plotSizeX&&(n.width=e.len),i&&i.len!==t.plotSizeY&&(n.height=i.len),n},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,i=this.markerGroup,n=t.sharedClips;t=t.renderer;var o=this.getClipBox(),s=this.getSharedClipKey(),r=n[s];r?r.animate(o):n[s]=r=t.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:r),i&&i.clip()},t.prototype.animate=function(t){var e=this.chart,i=this.group,n=this.markerGroup,o=e.inverted,s=d(this.options.animation),r=[this.getSharedClipKey(),s.duration,s.easing,s.defer].join(),a=e.sharedClips[r],l=e.sharedClips[r+"m"];if(t&&i)s=this.getClipBox(),a?a.attr("height",s.height):(s.width=0,o&&(s.x=e.plotHeight),a=e.renderer.clipRect(s),e.sharedClips[r]=a,l=e.renderer.clipRect({x:o?(e.plotSizeX||0)+99:-99,y:o?-e.plotLeft:-e.plotTop,width:99,height:o?e.chartWidth:e.chartHeight}),e.sharedClips[r+"m"]=l),i.clip(a),n&&n.clip(l);else if(a&&!a.hasClass("highcharts-animating")){e=this.getClipBox();var c=s.step;n&&n.element.childNodes.length&&(s.step=function(t,e){c&&c.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),a.addClass("highcharts-animating").animate(e,s)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,function(e,i,n){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete n[i])}),this.finishedAnimating=!0,j(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,i=this.points,n=this.chart,o=this.options.marker,s=this[this.specialGroup]||this.markerGroup,r=this.xAxis,a=I(o.enabled,!r||r.isRadial?!0:null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(t=0;t<i.length;t++){var l=i[t],c=(e=l.graphic)?"animate":"attr",d=l.marker||{},h=!!l.marker;if((a&&"undefined"==typeof d.enabled||d.enabled)&&!l.isNull&&!1!==l.visible){var u=I(d.symbol,this.symbol,"rect"),p=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=r.reversed?-(p.width||0):r.width);var f=!1!==l.isInside;e?e[f?"show":"hide"](f).animate(p):f&&(0<(p.width||0)||l.hasImage)&&(l.graphic=e=n.renderer.symbol(u,p.x,p.y,p.width,p.height,h?d:o).add(s),this.enabledDataSorting&&n.hasRendered&&(e.attr({x:l.startXPos}),c="animate")),e&&"animate"===c&&e[f?"show":"hide"](f).animate(p),e&&!n.styledMode&&e[c](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var i=this.options,n=i.marker,o=t.marker||{},s=o.symbol||n.symbol,r=I(o.radius,n&&n.radius);return e&&(n=n.states[e],e=o.states&&o.states[e],r=I(e&&e.radius,n&&n.radius,r&&r+(n&&n.radiusPlus||0))),t.hasImage=s&&0===s.indexOf("url"),t.hasImage&&(r=0),t=A(r)?{x:i.crisp?Math.floor(t.plotX-r):t.plotX-r,y:t.plotY-r}:{},r&&(t.width=t.height=2*r),t},t.prototype.pointAttribs=function(t,e){var i=this.options.marker,n=t&&t.options,o=n&&n.marker||{},s=n&&n.color,r=t&&t.color,a=t&&t.zone&&t.zone.color,l=this.color;return t=I(o.lineWidth,i.lineWidth),n=1,l=s||a||r||l,s=o.fillColor||i.fillColor||l,r=o.lineColor||i.lineColor||l,e=e||"normal",i=i.states[e]||{},e=o.states&&o.states[e]||{},t=I(e.lineWidth,i.lineWidth,t+I(e.lineWidthPlus,i.lineWidthPlus,0)),s=e.fillColor||i.fillColor||s,r=e.lineColor||i.lineColor||r,n=I(e.opacity,i.opacity,n),{stroke:r,"stroke-width":t,fill:s,opacity:n}},t.prototype.destroy=function(t){var e,i,n,o,s=this,r=s.chart,a=/AppleWebKit\/533/.test(g.navigator.userAgent),d=s.data||[];for(j(s,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(s.axisTypes||[]).forEach(function(t){(o=s[t])&&o.series&&(T(o.series,s),o.isDirty=o.forceRedraw=!0)}),s.legendItem&&s.chart.legend.destroyItem(s),i=d.length;i--;)(n=d[i])&&n.destroy&&n.destroy();s.clips&&s.clips.forEach(function(t){return t.destroy()}),c.clearTimeout(s.animationTimeout),L(s,function(t,i){t instanceof l&&!t.survive&&(e=a&&"group"===i?"hide":"destroy",t[e]())}),r.hoverSeries===s&&(r.hoverSeries=void 0),T(r.series,s),r.orderSeries(),L(s,function(e,i){t&&"hcEvents"===i||delete s[i]})},t.prototype.applyZones=function(){var t,e,i,n,o,s,r,a,l=this,c=this.chart,d=c.renderer,h=this.zones,u=this.clips||[],p=this.graph,f=this.area,m=Math.max(c.chartWidth,c.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],v=c.inverted,y=!1;if(h.length&&(p||f)&&g&&"undefined"!=typeof g.min){var b=g.reversed,_=g.horiz;p&&!this.showLine&&p.hide(),f&&f.hide();var w=g.getExtremes();h.forEach(function(h,k){t=b?_?c.plotWidth:0:_?0:g.toPixels(w.min)||0,t=x(I(e,t),0,m),e=x(Math.round(g.toPixels(I(h.value,w.max),!0)||0),0,m),y&&(t=e=g.toPixels(w.max)),n=Math.abs(t-e),o=Math.min(t,e),s=Math.max(t,e),g.isXAxis?(i={x:v?s:o,y:0,width:n,height:m},_||(i.x=c.plotHeight-i.x)):(i={x:0,y:v?s:o,width:m,height:n},_&&(i.y=c.plotWidth-i.y)),v&&d.isVML&&(i=g.isXAxis?{x:0,y:b?o:s,height:i.width,width:c.chartWidth}:{x:i.y-c.plotLeft-c.spacingBox.x,y:0,width:i.height,height:c.chartHeight}),u[k]?u[k].animate(i):u[k]=d.clipRect(i),r=l["zone-area-"+k],a=l["zone-graph-"+k],p&&a&&a.clip(u[k]),f&&r&&r.clip(u[k]),y=h.value>w.max,l.resetZones&&0===e&&(e=void 0)}),this.clips=u}else l.visible&&(p&&p.show(),f&&f.show())},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach(function(e){i[e]&&(n.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(i.isRadialSeries?!1:t))})}var i=this,n=i.chart;i.xAxis&&(i.eventsToUnbind.push(y(n,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,n,o){var s=this[t],r=!s;return i={visibility:i,zIndex:n||.1},"undefined"==typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),r&&(this[t]=s=this.chart.renderer.g().add(o)),s.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(s.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),s.attr(i)[r?"attr":"animate"](this.getPlotBox()),s},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||F(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,i=t.options,n=d(i.animation),o=t.visible?"inherit":"hidden",s=i.zIndex,r=t.hasRendered,a=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?n.duration:0,j(this,"render");var c=t.plotGroup("group","series",o,s,a);t.markerGroup=t.plotGroup("markerGroup","markers",o,s,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),c.inverted=I(t.invertible,t.isCartesian)?l:!1,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),r||(e&&n.defer&&(e+=n.defer),t.animationTimeout=B(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,j(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,n=this.xAxis,o=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:I(n&&n.left,t.plotLeft),translateY:I(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,n=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:o?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,n,o){var s=t&&t.length;if(s){var r=i.kdAxisArray[n%o];return t.sort(function(t,e){return t[r]-e[r]}),s=Math.floor(s/2),{point:t[s],left:e(t.slice(0,s),n+1,o),right:e(t.slice(s+1),n+1,o)}}}this.buildingKdTree=!0;var i=this,n=-1<i.options.findNearestPointBy.indexOf("y")?2:1;delete i.kdTree,B(function(){i.kdTree=e(i.getValidPoints(null,!i.directTouch),n,n),i.buildingKdTree=!1},i.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,i){function n(t,e,i,l){var c=e.point,d=o.kdAxisArray[i%l],h=c,u=C(t[s])&&C(c[s])?Math.pow(t[s]-c[s],2):null,p=C(t[r])&&C(c[r])?Math.pow(t[r]-c[r],2):null;return p=(u||0)+(p||0),c.dist=C(p)?Math.sqrt(p):Number.MAX_VALUE,c.distX=C(u)?Math.sqrt(u):Number.MAX_VALUE,d=t[d]-c[d],p=0>d?"left":"right",u=0>d?"right":"left",e[p]&&(p=n(t,e[p],i+1,l),h=p[a]<h[a]?p:c),e[u]&&Math.sqrt(d*d)<h[a]&&(t=n(t,e[u],i+1,l),h=t[a]<h[a]?t:h),h}var o=this,s=this.kdAxisArray[0],r=this.kdAxisArray[1],a=e?"distX":"dist";return e=-1<o.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree?n(t,this.kdTree,e,e):void 0},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,i=this.xAxis;return t=t.pointPlacement,"between"===t&&(t=i.reversed?-.5:.5),A(t)?t*(e||i.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,i=this.xAxis,n=this.yAxis;return"undefined"!=typeof t.plotY&&"undefined"!=typeof t.plotX&&0<=t.plotY&&t.plotY<=(n?n.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(i?i.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,i=e.trackByArea,n=[].concat(i?t.areaPath:t.graphPath),o=t.chart,s=o.pointer,r=o.renderer,a=o.options.tooltip.snap,l=t.tracker,c=function(e){o.hoverSeries!==t&&t.onMouseOver()},d="rgba(192,192,192,"+(m?1e-4:.002)+")";l?l.attr({d:n}):t.graph&&(t.tracker=r.path(n).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),o.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:d,fill:i?d:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach(function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",function(t){s.onTrackerMouseOut(t)}),e.cursor&&!o.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",c)})),j(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,i,n,o){var s=this.options,r=this.data,a=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,d=s.data,h=this.xData;e=I(e,!0);var u={series:this};this.pointClass.prototype.applyOptions.apply(u,[t]);var p=u.x,f=h.length;if(this.requireSorting&&p<h[f-1])for(c=!0;f&&h[f-1]>p;)f--;this.updateParallelArrays(u,"splice",f,0,0),this.updateParallelArrays(u,f),l&&u.name&&(l[p]=u.name),d.splice(f,0,t),(c||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===s.legendType&&this.generatePoints(),i&&(r[0]&&r[0].remove?r[0].remove(!1):(r.shift(),this.updateParallelArrays(u,"shift"),d.shift())),!1!==o&&j(this,"addPoint",{point:u}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(n)},t.prototype.removePoint=function(t,e,i){var n=this,o=n.data,s=o[t],r=n.points,a=n.chart,l=function(){r&&r.length===o.length&&r.splice(t,1),o.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(s||{series:n},"splice",t,1),s&&s.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&a.redraw()};h(i,a),e=I(e,!0),s?s.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,i,n){function o(){s.destroy(n),r.isDirtyLegend=r.isDirtyBox=!0,r.linkSeries(),I(t,!0)&&r.redraw(e)}var s=this,r=s.chart;!1!==i?j(s,"remove",null,o):o()},t.prototype.update=function(t,e){t=w(t,this.userOptions),j(this,"update",{options:t});var i,n=this,o=n.chart,s=n.userOptions,r=n.initialType||n.type,a=o.options.plotOptions,l=v[r].prototype,c=n.finishedAnimating&&{animation:!1},d={},h=["eventOptions","navigatorSeries","baseSeries"],u=t.type||s.type||o.options.chart.type,p=!(this.hasDerivedData||u&&u!==this.type||"undefined"!=typeof t.pointStart||"undefined"!=typeof t.pointInterval||"undefined"!=typeof t.relativeXValue||t.joinBy||t.mapData||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(u=u||r,p&&(h.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&h.push("area","graph"),n.parallelArrays.forEach(function(t){h.push(t+"Data")}),t.data&&(t.dataSorting&&$(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=O(s,c,{index:"undefined"==typeof s.index?n.index:s.index,pointStart:I(a&&a.series&&a.series.pointStart,s.pointStart,n.xData[0])},!p&&{data:n.options.data},t),p&&t.data&&(t.data=n.options.data),h=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(h),h.forEach(function(t){h[t]=n[t],delete n[t]}),a=!1,v[u]){if(a=u!==n.type,n.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[u].prototype);else{c=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents;for(i in l)n[i]=void 0;$(n,v[u].prototype),c?n.hcEvents=c:delete n.hcEvents}}else S(17,!0,o,{missingModuleFor:u});if(h.forEach(function(t){n[t]=h[t]}),n.init(o,t),p&&this.points){var f=n.options;!1===f.visible?(d.graphic=1,d.dataLabel=1):n._hasPointLabels||(t=f.marker,l=f.dataLabels,!t||!1!==t.enabled&&(s.marker&&s.marker.symbol)===t.symbol||(d.graphic=1),l&&!1===l.enabled&&(d.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(d).length&&t.destroyElements(d),!1===f.showInLegend&&t.legendItem&&o.legend.destroyItem(t))},this)}n.initialType=r,o.linkSeries(),a&&n.linkedSeries.length&&(n.isDirtyData=!0),j(this,"afterUpdate"),I(e,!0)&&o.redraw(p?void 0:!1)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==I(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&j(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&j(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach(function(t){t.setState("",!0)})},t.prototype.setState=function(t,e){var i=this,n=i.options,o=i.graph,s=n.inactiveOtherPoints,r=n.states,a=I(r[t||"normal"]&&r[t||"normal"].animation,i.chart.options.chart.animation),l=n.lineWidth,c=0,d=n.opacity;if(t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))}),i.state=t,!i.chart.styledMode)){if(r[t]&&!1===r[t].enabled)return;if(t&&(l=r[t].lineWidth||l+(r[t].lineWidthPlus||0),d=I(r[t].opacity,d)),o&&!o.dashstyle)for(n={"stroke-width":l},o.animate(n,a);i["zone-graph-"+c];)i["zone-graph-"+c].animate(n,a),c+=1;s||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(t){t&&t.animate({opacity:d},a)})}e&&s&&i.points&&i.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach(function(e){e.setState&&e.setState(t)})},t.prototype.setVisible=function(t,e){var i=this,n=i.chart,o=i.legendItem,s=n.options.chart.ignoreHiddenSeries,r=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible="undefined"==typeof t?!r:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){i[t]&&i[t][a]()}),(n.hoverSeries===i||(n.hoverPoint&&n.hoverPoint.series)===i)&&i.onMouseOut(),o&&n.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&n.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(function(e){e.setVisible(t,!1)}),s&&(n.isDirtyBox=!0),j(i,a),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected="undefined"==typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),j(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},t.defaultOptions=r,t}(),$(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:o.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:s,requireSorting:!0,sorted:!0}),a.series=t,t}),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s){
var r=t.stop,a=s.addEvent,l=s.createElement,c=s.defined,d=s.merge,h=s.pick;a(i,"afterSetChartSize",function(t){var i=this.options.chart.scrollablePlotArea,n=i&&i.minWidth;if(i=i&&i.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=d(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var o={1:{name:"right",value:n}}}}else i&&(this.scrollablePixelsY=n=Math.max(0,i-this.chartHeight),c(n)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=d(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,o={2:{name:"bottom",value:n}}));o&&!t.skipAxes&&this.axes.forEach(function(t){o[t.side]?t.getPlotLinePath=function(){var i=o[t.side].name,n=this[i];this[i]=n-o[t.side].value;var s=e.prototype.getPlotLinePath.apply(this,arguments);return this[i]=n,s}:(t.setAxisSize(),t.setAxisTranslation())})}}),a(i,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),i.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),a(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(""+t+":not(.highcharts-radial-axis)",""+t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach(function(t){[].forEach.call(e.querySelectorAll(t),function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})})},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,n=o.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":h(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterApplyDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),r(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,i=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var s=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",s,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",s,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",i,c],["L",i,this.chartHeight],["L",n,this.chartHeight],["L",n,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",function(){this.chart.scrollableDirty=!0}),a(n,"show",function(){this.chart.scrollableDirty=!0})}),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],function(t,e,i){var n,o=t.getDeferredAnimation,s=i.addEvent,r=i.destroyObjectProperties,a=i.fireEvent,l=i.isNumber,c=i.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;c(e,function(t,i){r(t),e[i]=null}),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function i(){this.stacking||(this.stacking=new d(this))}var n=[];t.compose=function(t){return-1===n.indexOf(t)&&(n.push(t),s(t,"init",i),s(t,"destroy",e)),t};var d=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,n=e.options.reversedStacks,o=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=o;t--;){var s=i[n?t:o-t-1];s.setStackedPoints(),s.setGroupedPoints()}for(t=0;o>t;t++)i[t].modifyStacks();a(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;c(t,function(t){c(t,function(t){t.cumulative=t.total})})}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||c(e,function(e){c(e,function(i,n){l(i.touched)&&i.touched<t.stacksTouched?(i.destroy(),delete e[n]):(i.total=null,i.cumulative=null)})})},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,i=e.renderer,n=this.stacks;t=o(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var s=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({zIndex:6,opacity:0}).add();s.translate(e.plotLeft,e.plotTop),c(n,function(t){c(t,function(t){t.render(s)})}),s.animate({opacity:1},t)},t}();t.Additions=d}(n||(n={})),n}),e(i,"Extensions/Stacking.js",[i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Axis/StackingAxis.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s,r){var a=i.format,l=r.correctFloat,c=r.defined,d=r.destroyObjectProperties,h=r.isArray,u=r.isNumber,p=r.objectEach,f=r.pick,m=function(){function t(t,e,i,n,o){var s=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=n,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=o,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(s?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(s?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(s?i?"right":"left":"center")}return t.prototype.destroy=function(){d(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,n=i.format;n=n?a(n,this,e):i.formatter.call(this),this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),n={r:i.borderRadius||0,text:n,rotation:i.rotation,padding:f(i.padding,5),visibility:"hidden"},e.styledMode||(n.fill=i.backgroundColor,n.stroke=i.borderColor,n["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(n),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,i,n,s){var r=this.axis,a=r.chart;n=r.translate(r.stacking.usePercentage?100:n?n:this.total,0,0,0,1),i=r.translate(i?i:0),i=c(n)&&Math.abs(n-i),t=f(s,a.xAxis[0].translate(this.x))+t,r=c(n)&&this.getStackBox(a,this,t,n,e,i,r),e=this.label,i=this.isNegative,t="justify"===f(this.options.overflow,"justify");var l=this.textAlign;e&&r&&(s=e.getBBox(),n=e.padding,l="left"===l?a.inverted?-n:n:"right"===l?s.width:a.inverted&&"center"===l?s.width/2:a.inverted?i?s.width+n:-n:s.width/2,i=a.inverted?s.height/2:i?-n:s.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),r.x-=l,r.y-=i,e.align(this.alignOptions,null,r),a.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.hide(),t=!1),t&&o.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,s,r),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),f(!t&&this.options.crop,!0)&&((a=u(e.x)&&u(e.y)&&a.isInsidePlot(e.x-n+e.width,e.y)&&a.isInsidePlot(e.x+n,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,i,n,o,s,r){var a=e.axis.reversed,l=t.inverted,c=r.height+r.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:l?e?n-r.right:n-s+r.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:l?r.height-i-o:e?c-n-s:c-n,width:l?s:o,height:l?o:s}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach(function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),t.series.forEach(function(i){var n=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,f(i.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())})},s.compose(t),o.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?o.prototype.setStackedPoints.call(this,"group"):t&&p(t.stacks,function(e,i){"group"===i.slice(-5)&&(p(e,function(t){return t.destroy()}),delete t.stacks[i])})},o.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var i=this.processedXData,n=this.processedYData,o=[],s=n.length,r=this.options,a=r.threshold,d=f(r.startFromThreshold&&a,0);r=r.stack,t=t?""+this.type+",".concat(e):this.stackKey;var u,p,g="-"+t,v=this.negStacks,y=this.yAxis,b=y.stacking.stacks,_=y.stacking.oldStacks;for(y.stacking.stacksTouched+=1,p=0;s>p;p++){var x=i[p],w=n[p],k=this.getStackIndicator(k,x,this.index),C=k.key,T=(u=v&&(d?0:a)>w)?g:t;b[T]||(b[T]={}),b[T][x]||(_[T]&&_[T][x]?(b[T][x]=_[T][x],b[T][x].total=null):b[T][x]=new m(y,y.options.stackLabels,u,x,r)),T=b[T][x],null!==w?(T.points[C]=T.points[this.index]=[f(T.cumulative,d)],c(T.cumulative)||(T.base=C),T.touched=y.stacking.stacksTouched,0<k.index&&!1===this.singleStacks&&(T.points[C][0]=T.points[this.index+","+x+",0"][0])):T.points[C]=T.points[this.index]=null,"percent"===e?(u=u?t:g,v&&b[u]&&b[u][x]?(u=b[u][x],T.total=u.total=Math.max(u.total,T.total)+Math.abs(w)||0):T.total=l(T.total+(Math.abs(w)||0))):"group"===e?(h(w)&&(w=w[0]),null!==w&&(T.total=(T.total||0)+1)):T.total=l(T.total+(w||0)),T.cumulative="group"===e?(T.total||1)-1:f(T.cumulative,d)+(w||0),null!==w&&(T.points[C].push(T.cumulative),o[p]=T.cumulative,T.hasValidPoints=!0)}"percent"===e&&(y.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=o),y.stacking.oldStacks={}}},o.prototype.modifyStacks=function(){var t,e=this,i=e.stackKey,n=e.yAxis.stacking.stacks,o=e.processedXData,s=e.options.stacking;e[s+"Stacker"]&&[i,"-"+i].forEach(function(i){for(var r,a,l=o.length;l--;)r=o[l],t=e.getStackIndicator(t,r,e.index,i),(a=(r=n[i]&&n[i][r])&&r.points[t.key])&&e[s+"Stacker"](a,r,l)})},o.prototype.percentStacker=function(t,e,i){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[i]=t[1]},o.prototype.getStackIndicator=function(t,e,i,n){return!c(t)||t.x!==e||n&&t.stackKey!==n?t={x:e,index:0,key:n,stackKey:n}:t.index++,t.key=[i,e,t.index].join(),t},n.StackItem=m,n.StackItem}),e(i,"Series/Line/LineSeries.js",[i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=i.defined,s=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(i,e),i.prototype.drawGraph=function(){var t=this,e=this.options,i=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode,o=[["graph","highcharts-graph"]];n||o[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),o=t.getZonesGraphs(o),o.forEach(function(o,s){var r=o[0],a=t[r],l=a?"animate":"attr";a?(a.endX=t.preventGraphAnimation?null:i.xMap,a.animate({d:i})):i.length&&(t[r]=a=t.chart.renderer.path(i).addClass(o[1]).attr({zIndex:1}).add(t.group)),a&&!n&&(r={stroke:o[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},o[3]?r.dashstyle=o[3]:"square"!==e.linecap&&(r["stroke-linecap"]=r["stroke-linejoin"]="round"),a[l](r).shadow(2>s&&e.shadow)),a&&(a.startX=i.xMap,a.isArea=i.isArea)})},i.prototype.getGraphPath=function(t,e,i){var n,s=this,r=s.options,a=[],l=[],c=r.step;t=t||s.points;var d=t.reversed;return d&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&d&&(c=4-c),t=this.getValidPoints(t,!1,!(r.connectNulls&&!e&&!i)),t.forEach(function(d,h){var u=d.plotX,p=d.plotY,f=t[h-1];(d.leftCliff||f&&f.rightCliff)&&!i&&(n=!0),d.isNull&&!o(e)&&h>0?n=!r.connectNulls:d.isNull&&!e?n=!0:(0===h||n?h=[["M",d.plotX,d.plotY]]:s.getPointSpline?h=[s.getPointSpline(t,d,h)]:c?(h=1===c?[["L",f.plotX,p]]:2===c?[["L",(f.plotX+u)/2,f.plotY],["L",(f.plotX+u)/2,p]]:[["L",u,f.plotY]],h.push(["L",u,p])):h=[["L",u,p]],l.push(d.x),c&&(l.push(d.x),2===c&&l.push(d.x)),a.push.apply(a,h),n=!1)}),a.xMap=l,s.graphPath=a},i.prototype.getZonesGraphs=function(t){return this.zones.forEach(function(e,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(e.className||"")],this.chart.styledMode||i.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(i)},this),t},i.defaultOptions=s(t.defaultOptions,{}),i}(t),e.registerSeriesType("line",i),i}),e(i,"Series/Area/AreaSeries.js",[i["Core/Color/Color.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.parse,r=i.seriesTypes.line;t=n.extend;var a=n.merge,l=n.objectEach,c=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,i=this.areaPath,n=this.options,o=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach(function(t,i){o.push(["zone-area-"+i,"highcharts-area highcharts-zone-area-"+i+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])}),o.forEach(function(t){var o=t[0],r={},a=e[o],l=a?"animate":"attr";a?(a.endX=e.preventGraphAnimation?null:i.xMap,a.animate({d:i})):(r.zIndex=0,a=e[o]=e.chart.renderer.path(i).addClass(t[1]).add(e.group),a.isArea=!0),e.chart.styledMode||(r.fill=c(t[3],s(t[2]).setOpacity(c(n.fillOpacity,.75)).get())),a[l](r),a.startX=i.xMap,a.shiftUnit=n.step?2:1})},e.prototype.getGraphPath=function(t){var e=r.prototype.getGraphPath,i=this.options,n=i.stacking,o=this.yAxis,s=[],a=[],l=this.index,d=o.stacking.stacks[this.stackKey],h=i.threshold,u=Math.round(o.getThreshold(i.threshold));i=c(i.connectNulls,"percent"===n);var p=function(e,i,r){var c=t[e];e=n&&d[c.x].points[l];var p=c[r+"Null"]||0;if(r=c[r+"Cliff"]||0,c=!0,r||p){var f=(p?e[0]:e[1])+r,m=e[0]+r;c=!!p}else!n&&t[i]&&t[i].isNull&&(f=m=h);"undefined"!=typeof f&&(a.push({plotX:v,plotY:null===f?u:o.getThreshold(f),isNull:c,isCliff:!0}),s.push({plotX:v,plotY:null===m?u:o.getThreshold(m),doCurve:!1}))};t=t||this.points,n&&(t=this.getStackPoints(t));for(var f=0,m=t.length;m>f;++f){n||(t[f].leftCliff=t[f].rightCliff=t[f].leftNull=t[f].rightNull=void 0);var g=t[f].isNull,v=c(t[f].rectPlotX,t[f].plotX),y=n?c(t[f].yBottom,u):u;(!g||i)&&(i||p(f,f-1,"left"),g&&!n&&i||(a.push(t[f]),s.push({x:f,plotX:v,plotY:y})),i||p(f,f+1,"right"))}return p=e.call(this,a,!0,!0),s.reversed=!0,g=e.call(this,s,!0,!0),(y=g[0])&&"M"===y[0]&&(g[0]=["L",y[1],y[2]]),g=p.concat(g),g.length&&g.push(["Z"]),e=e.call(this,a,!1,i),g.xMap=p.xMap,this.areaPath=g,e},e.prototype.getStackPoints=function(t){var e=this,i=[],n=[],o=this.xAxis,s=this.yAxis,r=s.stacking.stacks[this.stackKey],a={},d=s.series,h=d.length,u=s.options.reversedStacks?1:-1,p=d.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,a[t[f].x]=t[f];l(r,function(t,e){null!==t.total&&n.push(e)}),n.sort(function(t,e){return t-e});var m=d.map(function(t){return t.visible});n.forEach(function(t,l){var f,g,v=0;if(a[t]&&!a[t].isNull)i.push(a[t]),[-1,1].forEach(function(i){var o=1===i?"rightNull":"leftNull",s=r[n[l+i]],c=0;if(s)for(var v=p;v>=0&&h>v;){var y=d[v].index;f=s.points[y],f||(y===e.index?a[t][o]=!0:m[v]&&(g=r[t].points[y])&&(c-=g[1]-g[0])),v+=u}a[t][1===i?"rightCliff":"leftCliff"]=c});else{for(var y=p;y>=0&&h>y;){if(f=r[t].points[d[y].index]){v=f[1];break}y+=u}v=c(v,0),v=s.translate(v,0,1,0,1),i.push({isNull:!0,plotX:o.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}})}return i},e.defaultOptions=a(r.defaultOptions,{threshold:0}),e}(r),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("area",n),n}),e(i,"Series/Spline/SplineSeries.js",[i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=t.seriesTypes.line,o=e.merge,s=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.getPointSpline=function(t,e,i){var n=e.plotX||0,o=e.plotY||0,r=t[i-1];if(i=t[i+1],r&&!r.isNull&&!1!==r.doCurve&&!e.isCliff&&i&&!i.isNull&&!1!==i.doCurve&&!e.isCliff){t=r.plotY||0;var a=i.plotX||0;i=i.plotY||0;var l=0,c=(1.5*n+(r.plotX||0))/2.5,d=(1.5*o+t)/2.5;a=(1.5*n+a)/2.5;var h=(1.5*o+i)/2.5;a!==c&&(l=(h-d)*(a-n)/(a-c)+o-h),d+=l,h+=l,d>t&&d>o?(d=Math.max(t,o),h=2*o-d):t>d&&o>d&&(d=Math.min(t,o),h=2*o-d),h>i&&h>o?(h=Math.max(i,o),d=2*o-h):i>h&&o>h&&(h=Math.min(i,o),d=2*o-h),e.rightContX=a,e.rightContY=h}return e=["C",s(r.rightContX,r.plotX,0),s(r.rightContY,r.plotY,0),s(c,n,0),s(d,o,0),n,o],r.rightContX=r.rightContY=void 0,e},e.defaultOptions=o(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e}),e(i,"Series/AreaSpline/AreaSplineSeries.js",[i["Series/Spline/SplineSeries.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=i.seriesTypes,r=s.area;s=s.area.prototype;var a=n.extend,l=n.merge;return n=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(i,e),i.defaultOptions=l(t.defaultOptions,r.defaultOptions),i}(t),a(n.prototype,{getGraphPath:s.getGraphPath,getStackPoints:s.getStackPoints,drawGraph:s.drawGraph,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("areaspline",n),n}),e(i,"Series/Column/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s,r){var a=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),l=t.animObject,c=e.parse,d=i.hasTouch;t=i.noop;var h=r.clamp,u=r.css,p=r.defined,f=r.extend,m=r.fireEvent,g=r.isArray,v=r.isNumber,y=r.merge,b=r.pick,_=r.objectEach;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return a(e,t),e.prototype.animate=function(t){var e=this,i=this.yAxis,n=e.options,o=this.chart.inverted,s={},r=o?"translateX":"translateY";if(t)s.scaleY=.001,t=h(i.toPixels(n.threshold),i.pos,i.pos+i.len),o?s.translateX=t-i.len:s.translateY=t,e.clipBox&&e.setClip(),e.group.attr(s);else{var a=Number(e.group.attr(r));e.group.animate({scaleY:1},f(l(e.options.animation),{step:function(t,n){e.group&&(s[r]=a+n.pos*(i.pos-a),e.group.attr(s))}}))}},e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments);var n=this;e=n.chart,e.hasRendered&&e.series.forEach(function(t){t.type===n.type&&(t.isDirty=!0)})},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,i=t.xAxis,n=t.yAxis,o=i.options.reversedStacks;o=i.reversed&&!o||!i.reversed&&o;var s,r={},a=0;!1===e.grouping?a=1:t.chart.series.forEach(function(e){var i=e.yAxis,o=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===i.len&&n.pos===i.pos){if(o.stacking&&"group"!==o.stacking){s=e.stackKey,"undefined"==typeof r[s]&&(r[s]=a++);var l=r[s]}else!1!==o.grouping&&(l=a++);e.columnIndex=l}});var l=Math.min(Math.abs(i.transA)*(i.ordinal&&i.ordinal.slope||e.pointRange||i.closestPointRange||i.tickInterval||1),i.len),c=l*e.groupPadding,d=(l-2*c)/(a||1);return e=Math.min(e.maxPointWidth||i.len,b(e.pointWidth,d*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(d-e)/2+(c+((t.columnIndex||0)+(o?1:0))*d-l/2)*(o?-1:1),paddedWidth:d,columnCount:a},t.columnMetrics},e.prototype.crispCol=function(t,e,i,n){var o=this.chart,s=this.borderWidth,r=-(s%2?.5:0);return s=s%2?.5:1,o.inverted&&o.renderer.isVML&&(s+=1),this.options.crisp&&(i=Math.round(t+i)+r,t=Math.round(t)+r,i-=t),n=Math.round(e+n)+s,r=.5>=Math.abs(e)&&n>.5,e=Math.round(e)+s,n-=e,r&&n&&(--e,n+=1),{x:t,y:e,width:i,height:n}},e.prototype.adjustForMissingColumns=function(t,e,i,n){var o=this,s=this.options.stacking;if(!i.isNull&&1<n.columnCount){var r=this.yAxis.options.reversedStacks,a=0,l=r?0:-n.columnCount;_(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(t){if("number"==typeof i.x&&(t=t[i.x.toString()])){var e=t.points[o.index],n=t.total;s?(e&&(a=l),t.hasValidPoints&&(r?l++:l--)):g(e)&&(a=e[1],l=n||0)}}),t=(i.plotX||0)+((l-1)*n.paddedWidth+e)/2-e-a*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,i=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=b(i.borderWidth,n?0:1);var s=t.xAxis,r=t.yAxis,a=i.threshold,l=t.translatedThreshold=r.getThreshold(a),c=b(i.minPointLength,5),d=t.getColumnMetrics(),u=d.width,f=t.pointXOffset=d.offset,m=t.dataMin,g=t.dataMax,y=t.barW=Math.max(u,1+2*n);e.inverted&&(l-=.5),i.pointPadding&&(y=Math.ceil(y)),o.prototype.translate.apply(t),t.points.forEach(function(n){var o=b(n.yBottom,l),_=999+Math.abs(o),x=n.plotX||0;_=h(n.plotY,-_,r.len+_);var w=Math.min(_,o),k=Math.max(_,o)-w,C=u,T=x+f,S=y;c&&Math.abs(k)<c&&(k=c,x=!r.reversed&&!n.negative||r.reversed&&n.negative,v(a)&&v(g)&&n.y===a&&a>=g&&(r.min||0)<a&&(m!==g||(r.max||0)<=a)&&(x=!x),w=Math.abs(w-l)>c?o-c:l-(x?c:0)),p(n.options.pointWidth)&&(C=S=Math.ceil(n.options.pointWidth),T-=Math.round((C-u)/2)),i.centerInCategory&&(T=t.adjustForMissingColumns(T,C,n,d)),n.barX=T,n.pointWidth=C,n.tooltipPos=e.inverted?[h(r.len+r.pos-e.plotLeft-_,r.pos-e.plotLeft,r.len+r.pos-e.plotLeft),s.len+s.pos-e.plotTop-T-S/2,k]:[s.left-e.plotLeft+T+S/2,h(_+r.pos-e.plotTop,r.pos-e.plotTop,r.len+r.pos-e.plotTop),k],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[T,l,S,0]:[T,w,S,k])})},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,n=this.pointAttrToOptions||{},o=n.stroke||"borderColor",s=n["stroke-width"]||"borderWidth",r=t&&t.color||this.color,a=t&&t[o]||i[o]||r;n=t&&t.options.dashStyle||i.dashStyle;var l=t&&t[s]||i[s]||this[s]||0,d=b(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var h=t.getZone();r=t.options.color||h&&(h.color||t.nonZonedColor)||this.color,h&&(a=h.borderColor||a,n=h.dashStyle||n,l=h.borderWidth||l)}return e&&t&&(t=y(i.states[e],t.options.states&&t.options.states[e]||{}),e=t.brightness,r=t.color||"undefined"!=typeof e&&c(r).brighten(t.brightness).get()||r,a=t[o]||a,l=t[s]||l,n=t.dashStyle||n,d=b(t.opacity,d)),o={fill:r,stroke:a,"stroke-width":l,opacity:d},n&&(o.dashstyle=n),o},e.prototype.drawPoints=function(){var t,e=this,i=this.chart,n=e.options,o=i.renderer,s=n.animationLimit||250;e.points.forEach(function(r){var a=r.graphic,l=!!a,c=a&&i.pointCount<s?"animate":"attr";v(r.plotY)&&null!==r.y?(t=r.shapeArgs,a&&r.hasNewShapeType()&&(a=a.destroy()),e.enabledDataSorting&&(r.startXPos=e.xAxis.reversed?-(t?t.width||0:0):e.xAxis.width),a||(r.graphic=a=o[r.shapeType](t).add(r.group||e.group))&&e.enabledDataSorting&&i.hasRendered&&i.pointCount<s&&(a.attr({x:r.startXPos}),l=!0,c="animate"),a&&l&&a[c](y(t)),n.borderRadius&&a[c]({r:n.borderRadius}),i.styledMode||a[c](e.pointAttribs(r,r.selected&&"select")).shadow(!1!==r.allowShadow&&n.shadow,null,n.stacking&&!n.borderRadius),a&&(a.addClass(r.getClassName(),!0),a.attr({visibility:r.visible?"inherit":"hidden"}))):a&&(r.graphic=a.destroy())})},e.prototype.drawTracker=function(){var t,e=this,i=e.chart,n=i.pointer,o=function(t){var e=n.getPointFromEvent(t);"undefined"!=typeof e&&(n.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach(function(e){t=g(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach(function(t){t.div?t.div.point=e:t.element.point=e})}),e._hasTracking||(e.trackerGroups.forEach(function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(t){n.onTrackerMouseOut(t)}),d&&e[t].on("touchstart",o),!i.styledMode&&e.options.cursor&&e[t].css(u).css({cursor:e.options.cursor}))}),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach(function(e){e.type===t.type&&(e.isDirty=!0)}),o.prototype.remove.apply(t,arguments)},e.defaultOptions=y(o.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(o),f(r.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:n.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("column",r),r}),e(i,"Core/Series/DataLabel.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],function(t,e,i){var n,o=t.getDeferredAnimation,s=e.format,r=i.defined,a=i.extend,l=i.fireEvent,c=i.isArray,d=i.merge,h=i.objectEach,u=i.pick,p=i.splat;return function(t){function e(t,e,i,n,o){var s=this,l=this.chart,c=this.isCartesian&&l.inverted,d=this.enabledDataSorting,h=u(t.dlBox&&t.dlBox.centerX,t.plotX),p=t.plotY,f=i.rotation,m=i.align,g=r(h)&&r(p)&&l.isInsidePlot(h,Math.round(p),{inverted:c,paneCoordinates:!0,series:s}),v=function(i){d&&s.xAxis&&!y&&s.setDataLabelStartPos(t,e,o,g,i)},y="justify"===u(i.overflow,d?"none":"justify"),b=this.visible&&!1!==t.visible&&(t.series.forceDL||d&&!y||g||u(i.inside,!!this.options.stacking)&&n&&l.isInsidePlot(h,c?n.x+1:n.y+n.height-1,{inverted:c,paneCoordinates:!0,series:s}));if(b&&r(h)&&r(p)){f&&e.attr({align:m}),m=e.getBBox(!0);var _=[0,0],x=l.renderer.fontMetrics(l.styledMode?void 0:i.style.fontSize,e).b;n=a({x:c?this.yAxis.len-p:h,y:Math.round(c?this.xAxis.len-h:p),width:0,height:0},n),a(i,{width:m.width,height:m.height}),f?(y=!1,_=l.renderer.rotCorr(x,f),h={x:n.x+(i.x||0)+n.width/2+_.x,y:n.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*n.height},_=[m.x-Number(e.attr("x")),m.y-Number(e.attr("y"))],v(h),e[o?"attr":"animate"](h)):(v(n),e.align(i,void 0,n),h=e.alignAttr),y&&0<=n.height?this.justifyDataLabel(e,i,h,m,n,o):u(i.crop,!0)&&(n=h.x,v=h.y,n+=_[0],v+=_[1],b=l.isInsidePlot(n,v,{paneCoordinates:!0,series:s})&&l.isInsidePlot(n+m.width,v+m.height,{paneCoordinates:!0,series:s})),i.shape&&!f&&e[o?"attr":"animate"]({anchorX:c?l.plotWidth-t.plotY:t.plotX,anchorY:c?l.plotHeight-t.plotX:t.plotY})}o&&d&&(e.placed=!1),b||d&&!y?e.show():(e.hide(),e.placed=!1)}function i(t,e){var i=e.filter;return i?(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&i>t||">="===e&&t>=i||"<="===e&&i>=t||"=="===e&&t==i||"==="===e&&t===i?!0:!1):!0}function n(){var t,e=this,n=e.chart,a=e.options,d=e.points,f=e.hasRendered||0,g=n.renderer,v=a.dataLabels,y=v.animation;if(y=v.defer?o(n,y,e):{defer:0,duration:0},v=m(m(n.options.plotOptions&&n.options.plotOptions.series&&n.options.plotOptions.series.dataLabels,n.options.plotOptions&&n.options.plotOptions[e.type]&&n.options.plotOptions[e.type].dataLabels),v),l(this,"drawDataLabels"),c(v)||v.enabled||e._hasPointLabels){var b=e.plotGroup("dataLabelsGroup","data-labels",f?"inherit":"hidden",v.zIndex||6);b.attr({opacity:+f}),!f&&(f=e.dataLabelsGroup)&&(e.visible&&b.show(),f[a.animation?"animate":"attr"]({opacity:1},y)),d.forEach(function(o){t=p(m(v,o.dlOptions||o.options&&o.options.dataLabels)),t.forEach(function(t,l){var c=t.enabled&&(!o.isNull||o.dataLabelOnNull)&&i(o,t),d=o.connectors?o.connectors[l]:o.connector,p=o.dataLabels?o.dataLabels[l]:o.dataLabel,f=!p,m=u(t.distance,o.labelDistance);if(c){var v=o.getLabelConfig(),y=u(t[o.formatPrefix+"Format"],t.format);v=r(y)?s(y,v,n):(t[o.formatPrefix+"Formatter"]||t.formatter).call(v,t),y=t.style;var _=t.rotation;n.styledMode||(y.color=u(t.color,y.color,e.color,"#000000"),"contrast"===y.color?(o.contrastColor=g.getContrast(o.color||e.color),y.color=!r(m)&&t.inside||0>m||a.stacking?o.contrastColor:"#000000"):delete o.contrastColor,a.cursor&&(y.cursor=a.cursor));var x={r:t.borderRadius||0,rotation:_,padding:t.padding,zIndex:1};n.styledMode||(x.fill=t.backgroundColor,x.stroke=t.borderColor,
x["stroke-width"]=t.borderWidth),h(x,function(t,e){"undefined"==typeof t&&delete x[e]})}!p||c&&r(v)&&!!p.div==!!t.useHTML&&(p.rotation&&t.rotation||p.rotation===t.rotation)||(f=!0,o.dataLabel=p=o.dataLabel&&o.dataLabel.destroy(),o.dataLabels&&(1===o.dataLabels.length?delete o.dataLabels:delete o.dataLabels[l]),l||delete o.dataLabel,d&&(o.connector=o.connector.destroy(),o.connectors&&(1===o.connectors.length?delete o.connectors:delete o.connectors[l]))),c&&r(v)?(p?x.text=v:(o.dataLabels=o.dataLabels||[],p=o.dataLabels[l]=_?g.text(v,0,0,t.useHTML).addClass("highcharts-data-label"):g.label(v,0,0,t.shape,null,null,t.useHTML,null,"data-label"),l||(o.dataLabel=p),p.addClass(" highcharts-data-label-color-"+o.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),p.options=t,p.attr(x),n.styledMode||p.css(y).shadow(t.shadow),p.added||p.add(b),t.textPath&&!t.useHTML&&(p.setTextPath(o.getDataLabelPath&&o.getDataLabelPath(p)||o.graphic,t.textPath),o.dataLabelPath&&!t.textPath.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy())),e.alignDataLabel(o,p,t,null,f)):p&&p.hide()})})}l(this,"afterDrawDataLabels")}function f(t,e,i,n,o,s){var r=this.chart,a=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,d=e.x;d=void 0===d?0:d;var h=e.y;h=void 0===h?0:h;var u=(i.x||0)+c;if(0>u){"right"===a&&d>=0?(e.align="left",e.inside=!0):d-=u;var p=!0}return u=(i.x||0)+n.width-c,u>r.plotWidth&&("left"===a&&0>=d?(e.align="right",e.inside=!0):d+=r.plotWidth-u,p=!0),u=i.y+c,0>u&&("bottom"===l&&h>=0?(e.verticalAlign="top",e.inside=!0):h-=u,p=!0),u=(i.y||0)+n.height-c,u>r.plotHeight&&("top"===l&&0>=h?(e.verticalAlign="bottom",e.inside=!0):h+=r.plotHeight-u,p=!0),p&&(e.x=d,e.y=h,t.placed=!s,t.align(e,void 0,o)),p}function m(t,e){var i,n=[];if(c(t)&&!c(e))n=t.map(function(t){return d(t,e)});else if(c(e)&&!c(t))n=e.map(function(e){return d(t,e)});else if(c(t)||c(e))for(i=Math.max(t.length,e.length);i--;)n[i]=d(t[i],e[i]);else n=d(t,e);return n}function g(t,e,i,n,o){var s=this.chart,r=s.inverted,a=this.xAxis,l=a.reversed,c=r?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=r?o.x:l?-c-t:a.width-c+t,e.startYPos=r?l?this.yAxis.height-c+t:-c-t:o.y,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),s.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var v=[];t.compose=function(t){if(-1===v.indexOf(t)){var i=t.prototype;v.push(t),i.alignDataLabel=e,i.drawDataLabels=n,i.justifyDataLabel=f,i.setDataLabelStartPos=g}}}(n||(n={})),n}),e(i,"Series/Column/ColumnDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i){var n,o=e.series,s=i.merge,r=i.pick;return function(e){function i(t,e,i,n,a){var l=this.chart.inverted,c=t.series,d=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var h=t.dlBox||t.shapeArgs,u=r(t.below,t.plotY>r(this.translatedThreshold,c)),p=r(i.inside,!!this.options.stacking);h&&(n=s(h),0>n.y&&(n.height+=n.y,n.y=0),h=n.y+n.height-c,h>0&&h<n.height&&(n.height-=h),l&&(n={x:c-n.y-n.height,y:d-n.x-n.width,width:n.height,height:n.width}),p||(l?(n.x+=u?0:n.width,n.width=0):(n.y+=u?n.height:0,n.height=0))),i.align=r(i.align,!l||p?"center":u?"right":"left"),i.verticalAlign=r(i.verticalAlign,l||p?"middle":u?"top":"bottom"),o.prototype.alignDataLabel.call(this,t,e,i,n,a),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var n=[];e.compose=function(e){t.compose(o),-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=i)}}(n||(n={})),n}),e(i,"Series/Bar/BarSeries.js",[i["Series/Column/ColumnSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=i.extend,s=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(i,e),i.defaultOptions=s(t.defaultOptions,{}),i}(t),o(i.prototype,{inverted:!0}),e.registerSeriesType("bar",i),i}),e(i,"Series/Scatter/ScatterSeries.js",[i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=t.seriesTypes,o=n.column,s=n.line;n=e.addEvent;var r=e.extend,a=e.merge;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.applyJitter=function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach(function(n,o){["x","y"].forEach(function(s,r){var a="plot"+s.toUpperCase();if(e[s]&&!n.isNull){var l=t[s+"Axis"],c=e[s]*l.transA;if(l&&!l.isLog){var d=Math.max(0,n[a]-c);l=Math.min(l.len,n[a]+c),r=1e4*Math.sin(o+r*i),n[a]=d+(l-d)*(r-Math.floor(r)),"x"===s&&(n.clientX=n.plotX)}}})})},e.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},e.defaultOptions=a(s.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),e}(s),r(e.prototype,{drawTracker:o.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),n(e,"afterTranslate",function(){this.applyJitter()}),t.registerSeriesType("scatter",e),e}),e(i,"Series/CenteredUtilities.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],function(t,e,i){var n,o=t.deg2rad,s=i.fireEvent,r=i.isNumber,a=i.pick,l=i.relativeLength;return function(t){t.getCenter=function(){var t=this.options,i=this.chart,n=2*(t.slicedOffset||0),o=i.plotWidth-2*n,c=i.plotHeight-2*n,d=t.center,h=Math.min(o,c),u=t.thickness,p=t.size,f=t.innerSize||0;for("string"==typeof p&&(p=parseFloat(p)),"string"==typeof f&&(f=parseFloat(f)),t=[a(d[0],"50%"),a(d[1],"50%"),a(p&&0>p?void 0:t.size,"100%"),a(f&&0>f?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),d=0;4>d;++d)p=t[d],i=2>d||2===d&&/%$/.test(p),t[d]=l(p,[o,c,h,t[2]][d])+(i?n:0);return t[3]>t[2]&&(t[3]=t[2]),r(u)&&2*u<t[2]&&u>0&&(t[3]=t[2]-2*u),s(this,"afterGetCenter",{positions:t}),t},t.getStartAndEndRadians=function(t,e){return t=r(t)?t:0,e=r(e)&&e>t&&360>e-t?e:t+360,{start:o*(t+-90),end:o*(e+-90)}}}(n||(n={})),n}),e(i,"Series/Pie/PiePoint.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.setAnimation,s=i.addEvent,r=i.defined;t=i.extend;var a=i.isNumber,l=i.pick,c=i.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=this.connectorShapes,n=e.connectorShape;return i[n]&&(n=i[n]),n.call(this,{x:t["final"].x,y:t["final"].y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var i=function(t){e.slice("select"===t.type)};return s(this,"select",i),s(this,"unselect",i),this},e.prototype.isValid=function(){return a(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var i=this,n=this.series,o=n.chart,s=n.options.ignoreHiddenPoint;e=l(e,s),t!==this.visible&&(this.visible=this.options.visible=t="undefined"==typeof t?!this.visible:t,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){i[e]&&i[e][t?"show":"hide"](t)}),this.legendItem&&o.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),s&&(n.isDirty=!0),e&&o.redraw())},e.prototype.slice=function(t,e,i){var n=this.series;o(i,n.chart),l(e,!0),this.sliced=this.options.sliced=r(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var n=this.series,o=n.center[0],s=n.chart.plotWidth,r=n.chart.plotLeft;n=t.alignment;var a=this.shapeArgs.r;return i=c(i.crookDistance,1),s="left"===n?o+a+(s+r-o-a)*(1-i):r+(o-a)*i,i=["L",s,t.y],o=!0,("left"===n?s>t.x||s<e.x:s<t.x||s>e.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),e(i,"Series/Pie/PieSeries.js",[i["Series/CenteredUtilities.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Series/Pie/PiePoint.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Utilities.js"]],function(t,e,i,n,o,s,r,a,l){var c=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),d=t.getStartAndEndRadians;i=i.noop;var h=l.clamp,u=l.extend,p=l.fireEvent,f=l.merge,m=l.pick,g=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,i=e.points,n=e.startAngleRad;t||i.forEach(function(t){var i=t.graphic,o=t.shapeArgs;i&&o&&(i.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),i.animate({r:o.r,start:o.start,end:o.end},e.options.animation))})},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var n=this.center[0],o=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,o,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(n,o,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach(function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)})},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,i){var n=this.center,o=this.radii?this.radii[i.index]||0:n[2]/2;return t=Math.asin(h((t-n[1])/(o+i.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(o+i.labelDistance)+(0<i.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,i,n,o=this,s=o.chart,r=s.renderer,a=o.options.shadow;this.drawEmpty(),!a||o.shadowGroup||s.styledMode||(o.shadowGroup=r.g("shadow").attr({zIndex:-1}).add(o.group)),o.points.forEach(function(l){var c={};if(e=l.graphic,!l.isNull&&e){var d=void 0;n=l.shapeArgs,t=l.getTranslate(),s.styledMode||(d=l.shadowGroup,a&&!d&&(d=l.shadowGroup=r.g("shadow").add(o.shadowGroup)),d&&d.attr(t),i=o.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(o.center).attr(n).attr(t),s.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,d),l.delayedRendering=!1):(e.setRadialReference(o.center),s.styledMode||f(!0,c,i),f(!0,c,n,t),e.animate(c)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())})},e.prototype.sortByAngle=function(t,e){t.sort(function(t,i){return"undefined"!=typeof t.angle&&(i.angle-t.angle)*e})},e.prototype.translate=function(t){p(this,"translate"),this.generatePoints();var e=this.options,i=e.slicedOffset,n=i+(e.borderWidth||0),o=d(e.startAngle,e.endAngle),s=this.startAngleRad=o.start;o=(this.endAngleRad=o.end)-s;var r=this.points,a=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,c=r.length,h=0;for(t||(this.center=t=this.getCenter()),l=0;c>l;l++){var u=r[l],f=s+h*o;!u.isValid()||e&&!u.visible||(h+=u.percentage/100);var v=s+h*o,y={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*f)/1e3,end:Math.round(1e3*v)/1e3};u.shapeType="arc",u.shapeArgs=y,u.labelDistance=m(u.options.dataLabels&&u.options.dataLabels.distance,a),u.labelDistance=g(u.labelDistance,y.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,u.labelDistance),v=(v+f)/2,v>1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),u.slicedTranslation={translateX:Math.round(Math.cos(v)*i),translateY:Math.round(Math.sin(v)*i)},y=Math.cos(v)*t[2]/2;var b=Math.sin(v)*t[2]/2;u.tooltipPos=[t[0]+.7*y,t[1]+.7*b],u.half=v<-Math.PI/2||v>Math.PI/2?1:0,u.angle=v,f=Math.min(n,u.labelDistance/5),u.labelPosition={natural:{x:t[0]+y+Math.cos(v)*u.labelDistance,y:t[1]+b+Math.sin(v)*u.labelDistance},"final":{},alignment:0>u.labelDistance?"center":u.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+y+Math.cos(v)*f,y:t[1]+b+Math.sin(v)*f},touchingSliceAt:{x:t[0]+y,y:t[1]+b}}}}p(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,i=e.length,n=this.options.ignoreHiddenPoint,o=0;for(t=0;i>t;t++){var s=e[t];!s.isValid()||n&&!s.visible||(o+=s.y)}for(this.total=o,t=0;i>t;t++)s=e[t],s.percentage=o>0&&(s.visible||!n)?s.y/o*100:0,s.total=o},e.defaultOptions=f(s.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(s),u(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:i,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:o,requireSorting:!1,searchPoint:i,trackerGroups:["group","dataLabelsGroup"]}),r.registerSeriesType("pie",l),l}),e(i,"Series/Pie/PieDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Globals.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,o){var s,r=e.noop,a=i.distribute,l=n.series,c=o.arrayMax,d=o.clamp,h=o.defined,u=o.merge,p=o.pick,f=o.relativeLength;return function(e){function i(){var t,e,i,n,o,s,r,d,f,m,g,v,y=this,b=y.data,_=y.chart,x=y.options.dataLabels||{},w=x.connectorPadding,k=_.plotWidth,C=_.plotHeight,T=_.plotLeft,S=Math.round(_.chartWidth/3),$=y.center,M=$[2]/2,j=$[1],D=[[],[]],E=[0,0,0,0],A=y.dataLabelPositioners;y.visible&&(x.enabled||y._hasPointLabels)&&(b.forEach(function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),l.prototype.drawDataLabels.apply(y),b.forEach(function(t){t.dataLabel&&(t.visible?(D[t.half].push(t),t.dataLabel._pos=null,!h(x.style.width)&&!h(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>S&&(t.dataLabel.css({width:Math.round(.7*S)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),D.forEach(function(e,i){var l,c=e.length,u=[];if(c){if(y.sortByAngle(e,i-.5),0<y.maxLabelDistance){var b=Math.max(0,j-M-y.maxLabelDistance),S=Math.min(j+M+y.maxLabelDistance,_.plotHeight);e.forEach(function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,j-M-t.labelDistance),t.bottom=Math.min(j+M+t.labelDistance,_.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},u.push(t.distributeBox))}),b=S+l-b,a(u,b,b/5)}for(g=0;c>g;g++){if(t=e[g],s=t.labelPosition,n=t.dataLabel,m=!1===t.visible?"hidden":"inherit",f=b=s.natural.y,u&&h(t.distributeBox)&&("undefined"==typeof t.distributeBox.pos?m="hidden":(r=t.distributeBox.size,f=A.radialDistributionY(t))),delete t.positionIndex,x.justify)d=A.justify(t,M,$);else switch(x.alignTo){case"connectors":d=A.alignToConnectors(e,i,k,T);break;case"plotEdges":d=A.alignToPlotEdges(n,i,k,T);break;default:d=A.radialDistributionX(y,t,f,b)}n._attr={visibility:m,align:s.alignment},v=t.options.dataLabels||{},n._pos={x:d+p(v.x,x.x)+({left:w,right:-w}[s.alignment]||0),y:f+p(v.y,x.y)-10},s["final"].x=d,s["final"].y=f,p(x.crop,!0)&&(o=n.getBBox().width,b=null,w>d-o&&1===i?(b=Math.round(o-d+w),E[3]=Math.max(b,E[3])):d+o>k-w&&0===i&&(b=Math.round(d+o-k+w),E[1]=Math.max(b,E[1])),0>f-r/2?E[0]=Math.max(Math.round(-f+r/2),E[0]):f+r/2>C&&(E[2]=Math.max(Math.round(f+r/2-C),E[2])),n.sideOverflow=b)}}}),0===c(E)||this.verifyDataLabelOverflow(E))&&(this.placeDataLabels(),this.points.forEach(function(t){if(v=u(x,t.options.dataLabels),e=p(v.connectorWidth,1)){var o;i=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(m=n._attr.visibility,(o=!i)&&(t.connector=i=_.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(y.dataLabelsGroup),_.styledMode||i.attr({"stroke-width":e,stroke:v.connectorColor||t.color||"#666666"})),i[o?"attr":"animate"]({d:t.getConnectorPath()}),i.attr("visibility",m)):i&&(t.connector=i.destroy())}}))}function n(){this.points.forEach(function(t){var e,i=t.dataLabel;i&&t.visible&&((e=i._pos)?(i.sideOverflow&&(i._attr.width=Math.max(i.getBBox().width-i.sideOverflow,0),i.css({width:i._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),i.shortened=!0),i.attr(i._attr),i[i.moved?"animate":"attr"](e),i.moved=!0):i&&i.attr({y:-9999})),delete t.distributeBox},this)}function o(t){var e=this.center,i=this.options,n=i.center,o=i.minSize||80,s=null!==i.size;if(!s){if(null!==n[0])var r=Math.max(e[2]-Math.max(t[1],t[3]),o);else r=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2;null!==n[1]?r=d(r,o,e[2]-Math.max(t[0],t[2])):(r=d(r,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),r<e[2]?(e[2]=r,e[3]=Math.min(i.thickness?Math.max(0,r-2*i.thickness):Math.max(0,f(i.innerSize||0,r)),r),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):s=!0}return s}var s=[],m={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,i,n){return t.getX(i<e.top+2||i>e.bottom-2?n:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,n){return t=t.getBBox().width,e?t+n:i-t-n},alignToConnectors:function(t,e,i,n){var o,s=0;return t.forEach(function(t){o=t.dataLabel.getBBox().width,o>s&&(s=o)}),e?s+n:i-s-n}};e.compose=function(e){t.compose(l),-1===s.indexOf(e)&&(s.push(e),e=e.prototype,e.dataLabelPositioners=m,e.alignDataLabel=r,e.drawDataLabels=i,e.placeDataLabels=n,e.verifyDataLabelOverflow=o)}}(s||(s={})),s}),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],function(t,e){function i(t,e){var i=!1;if(t){var n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})}),o(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return i}var n=e.addEvent,o=e.fireEvent,s=e.isArray,r=e.isNumber,a=e.objectEach,l=e.pick;n(t,"render",function(){var t=this,e=[];(this.labelCollectors||[]).forEach(function(t){e=e.concat(t())}),(this.yAxis||[]).forEach(function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&a(t.stacking.stacks,function(t){a(t,function(t){t.label&&e.push(t.label)})})}),(this.series||[]).forEach(function(n){var o=n.options.dataLabels;n.visible&&(!1!==o.enabled||n._hasPointLabels)&&(o=function(n){return n.forEach(function(n){n.visible&&(s(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach(function(o){var s=o.options;o.labelrank=l(s.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),s.allowOverlap?(o.oldOpacity=o.opacity,o.newOpacity=1,i(o,t)):e.push(o)})})},o(n.nodes||[]),o(n.points))}),this.hideOverlappingLabels(e)}),t.prototype.hideOverlappingLabels=function(t){var e,n,s,a=this,l=t.length,c=a.renderer,d=!1,h=function(t){var e,i,n=t.box?0:t.padding||0,o=e=0;if(t&&(!t.alignAttr||t.placed)){var s=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},a=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var l=t.width-2*n;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?o=+i*l:r(t.x)&&Math.round(t.x)!==t.translateX&&(o=t.x-t.translateX),{x:s.x+(a.translateX||0)+n-(o||0),y:s.y+(a.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;l>n;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=h(e));for(t.sort(function(t,e){return(e.labelrank||0)-(t.labelrank||0)}),n=0;l>n;n++){var u=(h=t[n])&&h.absoluteBox;for(e=n+1;l>e;++e){var p=(s=t[e])&&s.absoluteBox;!u||!p||h===s||0===h.newOpacity||0===s.newOpacity||"hidden"===h.visibility||"hidden"===s.visibility||p.x>=u.x+u.width||p.x+p.width<=u.x||p.y>=u.y+u.height||p.y+p.height<=u.y||((h.labelrank<s.labelrank?h:s).newOpacity=0)}}t.forEach(function(t){i(t,a)&&(d=!0)}),d&&o(a,"afterHideAllOverlappingLabels")}}),e(i,"Core/Responsive.js",[i["Core/Utilities.js"]],function(t){var e,i=t.extend,n=t.find,o=t.isArray,s=t.isObject,r=t.merge,a=t.objectEach,l=t.pick,c=t.splat,d=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),i(t.prototype,h.prototype)),t};var h=function(){function t(){}return t.prototype.currentOptions=function(t){function e(t,n,r,l){var d;a(t,function(t,a){if(!l&&-1<i.collectionsWithUpdate.indexOf(a)&&n[a])for(t=c(t),r[a]=[],d=0;d<Math.max(t.length,n[a].length);d++)n[a][d]&&(void 0===t[d]?r[a][d]=n[a][d]:(r[a][d]={},e(t[d],n[a][d],r[a][d],l+1)));else s(t)?(r[a]=o(t)?[]:{},e(t,n[a]||{},r[a],l+1)):r[a]="undefined"==typeof n[a]?null:n[a]})}var i=this,n={};return e(t,this.options,n,0),n},t.prototype.matchResponsiveRule=function(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=l(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(i.minWidth,0)&&this.chartHeight>=l(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,a=[];!e&&o&&o.rules&&o.rules.forEach(function(t){"undefined"==typeof t._id&&(t._id=d()),i.matchResponsiveRule(t,a)},this),e=r.apply(void 0,a.map(function(t){return n((o||{}).rules||[],function(e){return e._id===t})}).map(function(t){return t&&t.chartOptions})),e.isResponsiveOptions=!0,a=a.toString()||void 0,a!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),a?(s=this.currentOptions(e),s.isResponsiveOptions=!0,this.currentResponsive={ruleIds:a,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e}),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/DefaultOptions.js"],i["Core/Animation/Fx.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/FormatUtilities.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Renderer/HTML/HTMLElement.js"],i["Core/Renderer/HTML/HTMLRenderer.js"],i["Core/Axis/Axis.js"],i["Core/Axis/DateTimeAxis.js"],i["Core/Axis/LogarithmicAxis.js"],i["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],i["Core/Axis/Tick.js"],i["Core/Tooltip.js"],i["Core/Series/Point.js"],i["Core/Pointer.js"],i["Core/MSPointer.js"],i["Core/Legend/Legend.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Series/Column/ColumnSeries.js"],i["Series/Column/ColumnDataLabel.js"],i["Series/Pie/PieSeries.js"],i["Series/Pie/PieDataLabel.js"],i["Core/Series/DataLabel.js"],i["Core/Responsive.js"],i["Core/Color/Color.js"],i["Core/Time.js"]],function(t,e,i,n,o,s,r,a,l,c,d,h,u,p,f,m,g,v,y,b,_,x,w,k,C,T,S,$,M,j,D,E,A){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=n.timers,t.AST=s,t.Axis=u,t.Chart=w,t.chart=w.chart,t.Fx=n,t.Legend=x,t.PlotLineOrBand=m,t.Point=y,t.Pointer=_.isRequired()?_:b,t.Series=k,t.SVGElement=l,t.SVGRenderer=c,t.Tick=g,t.Time=A,t.Tooltip=v,t.Color=E,t.color=E.parse,h.compose(c),d.compose(l),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=r.dateFormat,t.format=r.format,t.numberFormat=r.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=C.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,S.compose(T),j.compose(k),p.compose(u),f.compose(u),M.compose($),m.compose(u),D.compose(w),t}),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]}),define("highcharts",["highcharts/highcharts"],function(t){return t}),define("chart-config",["lib/utils","highcharts"],function(t,e){"use strict";var i,n=function(){e.setOptions({lang:{thousandsSep:""},chart:{style:{fontFamily:(t.isRTL(),"DUBAI-REGULAR"),fontWeight:100}},plotOptions:{line:{marker:{symbol:"circle"}}},credits:{enabled:!1}})};return i=new n}),require.config({baseUrl:"../../js/",deps:["bootstrap"],packages:[{name:"highcharts",main:"highcharts"}],paths:{components:"../src/sublayouts",text:"vendor/require.text",jquery:"vendor/jquery",jquery_mobile_touch:"vendor/jquery.mobile.touch",slick:"vendor/slick",iscroll:"vendor/iscroll",mustache:"vendor/mustache",picker:"vendor/picker",pickerdate:"vendor/picker.date",parsley:"vendor/parsley",highcharts:"vendor/highcharts",monthpicker:"vendor/jquery.monthpicker",chat:"vendor/chat",wickedpicker:"vendor/wickedpicker",numeral:"vendor/numeral"},shim:{picker:{deps:["jquery"]},monthpicker:{deps:["jquery"]},pickerdate:{deps:["jquery","picker"]},parsley:{deps:["jquery"]},highcharts:{exports:"Highcharts",deps:["jquery"]}},map:{"*":{jquery:"jquery-private"},"jquery-private":{jquery:"jquery"}}}),define("config/requirejs",function(){}),define("mask",["jquery","lib/utils"],function(t,e){"use strict";var i,n=function(){this.$el=t('<div class="mask"></div>'),this.open=!1,t("body").append(this.$el)};return n.prototype.toggle=function(){this.open?this.hide():this.show()},n.prototype.show=function(){this.$el.addClass("mask-show"),this.open=!0},n.prototype.hide=function(){this.$el.removeClass("mask-show"),this.open=!1},i=new n}),define("spinner",["jquery"],function(t){"use strict";var e=function(t){return this.$targetEl=t,this};return e.prototype.load=function(){this.$spinner=t('<div class="spinner"></div>'),this.$targetEl.append(this.$spinner)},e.prototype.unload=function(){this.$spinner.fadeOut(200,t.proxy(this.destroy,this))},e.prototype.destroy=function(){this.$spinner.remove()},e}),define("../src/journeys/j01-transaction-history/j01-transaction-history",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){this.toggleDate()},e.prototype.toggleDate=function(){t(".j01-transaction-history-select").find(".form-field__input--radio").each(function(){t(this).on("click",function(){"custom"==t(this).val()?(t(".j01-transaction-history-selectdate").show(),t(".j01-transaction-history-selectdate").find(".form-field__input--datepicker").each(function(){t(this).attr("required",!0)})):(t(".j01-transaction-history-selectdate").hide(),t(".j01-transaction-history-selectdate").find(".form-field__input--datepicker").each(function(){t(this).removeAttr("required"),t(this).parsley().reset(),t(this).parent().removeClass("form-field__input-wrapper--error")}))})})},e}),define("../src/journeys/j100-services-map/j100-services-map",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){var e=this;this.checkBoxes=this.$journey.find(".form-field__input--checkbox"),this.overlayType=0,this.displayFilter=[],this.fastchargingMarkers=[],this.normalchargingMarkers=[],this.serviceMarkers=[],this.paymentMarkers=[],this.waterSupplyMarkers=[],this.postOfficeMarkers=[],this.ATMMarkers=[],this.ENOCMarkers=[],this.EPPCOMarkers=[],this.CDMMarkers=[],this.markerList=[this.serviceMarkers,this.waterSupplyMarkers,this.paymentMarkers,this.fastchargingMarkers,this.normalchargingMarkers,this.postOfficeMarkers,this.ATMMarkers,this.EPPCOMarkers,this.ENOCMarkers,this.CDMMarkers],this.searchField1=t('input[name="map_search_desktop"]'),this.searchField2=t('input[name="map_search_mobile"]'),this.defaultZoom=13,this.searchLocation=null,this.labels=t(this.$journey).data("labels"),this.EVloaded=!1,this.EVloading=!1,this.urlPrefix="../../..",-1!=window.location.href.indexOf("demo.brilliantbasics.com")&&(this.urlPrefix="../../.."),window.check&&("head"==window.check?(e.$journey.find('[name="j100_checkbox_desktop1"]').prop("checked",!0),
e.$journey.find('[name="j100_checkbox_mobile1"]').prop("checked",!0),e.displayFilter.push(1)):(e.$journey.find('[name="j100_checkbox_desktop'+window.check+'"]').prop("checked",!0),e.$journey.find('[name="j100_checkbox_mobile'+window.check+'"]').prop("checked",!0),e.displayFilter.push(window.check))),this.searchField1.on("keypress",function(e){""!==t(e.target).val()&&13==e.charCode&&t(e.target).blur()}),this.searchField2.on("keypress",function(e){""!==t(e.target).val()&&13==e.charCode&&t(e.target).blur()}),t(window).on("mapLoaded",function(){e.map=window.MAP.map,e.loadData(),e.centerPoint=e.map.getCenter(),e.map.addListener("dragend",function(){e.centerPoint=e.map.getCenter(),e.map.setCenter(e.centerPoint)}),t(window).off("evLoad").on("evLoad",function(){e.EVLoadData()})}),t(window).on("resize orientationchange",function(){setTimeout(function(){e.map.setCenter(e.centerPoint)},100)}),this.checkBoxes.each(function(i){t(this).off().on("click",function(){t(this).prop("checked")?e.displayFilter.push(parseInt(t(this).val())):e.displayFilter.splice(e.displayFilter.indexOf(parseInt(t(this).val())),1),e.populateMap(),e.getLocationBySensor()})}),this.$journey.find(".j100-expander_input").off("click.j100").on("click.j100",function(){t(this).hasClass("open")?(t(this).removeClass("open"),t(this).addClass("closed"),e.$journey.find(".j100-filters_desktop").hide()):(t(this).removeClass("closed"),t(this).addClass("open"),e.$journey.find(".j100-filters_desktop").show())}),this.getLocationBySensor(),t('input[name="map_search_desktop"], input[name="map_search_mobile"]').on("focus",function(){e.searchField1.val(""),e.searchField2.val("")}),t(this.$journey).on("click",".m32-map__button--close",function(){e.hideDetails()})},i.prototype.getLocationBySensor=function(){function t(t){try{var i=new google.maps.LatLng({lat:t.coords.latitude,lng:t.coords.longitude});e.highlightLocation(e.getClosestMarker(i))}catch(n){}}var e=this;navigator.geolocation&&navigator.geolocation.getCurrentPosition(t)},i.prototype.getClosestMarker=function(t){var e,i,n,o=this,s={};if(this.displayFilter.length>0)for(e=0;e<this.displayFilter.length;e++){var r=o.getFilterContent(this.displayFilter[e]);for(l=0;l<r.markers.length;l++)i=r.markers[l].position,n=google.maps.geometry.spherical.computeDistanceBetween(t,i),(!s.i||n<s.val)&&(s={i:l,val:n,marker:r.markers[l]})}else for(e=0;e<this.markerList.length;e++)for(var a=this.markerList[e],l=0;l<a.length;l++)i=a[l].position,n=google.maps.geometry.spherical.computeDistanceBetween(t,i),(!s.i||n<s.val)&&(s={i:l,val:n,marker:a[l]});return s.marker},i.prototype.setMapBounds=function(){var t=this;t.bounds=new google.maps.LatLngBounds;for(var e=0;e<t.boundingMarkers.length;e++)t.bounds.extend(t.boundingMarkers[e].getPosition());t.map.fitBounds(t.bounds),t.map.centrePoint=t.map.getCenter()},i.prototype.loadData=function(i){var n=this,o=this.urlPrefix+"/content/data/payment_locations_en.json";e.isRTL()&&(o=this.urlPrefix+"/content/data/payment_locations_ar.json"),t.ajax({url:o,dataType:"json",error:function(t,e,i){console.log(i)},success:function(t){n.locationData=t,n.parseData(),n.initSearchBox()}})},i.prototype.parseData=function(){var t=this,e=this.locationData.Locations;this.fastchargingPoints=e.FastEVCharge.item,this.normalchargingPoints=e.NormalEVCharge.item,this.serviceCentres=e.CustomerService.item,this.waterSupplyPoints=e.WaterSupply.item,this.postOffices=[],this.ENOC=[],this.EPPCO=[],this.ATM=[],this.paymentPoints=[],this.cdmpoints=[];for(var i=0;i<e.PaymentLocations.item.length;i++)switch(e.PaymentLocations.item[i].catg){case"Emirates Post Offices":this.postOffices.push(e.PaymentLocations.item[i]);break;case"ENOC Petrol Stations":this.ENOC.push(e.PaymentLocations.item[i]);break;case"EPPCO Petrol Stations":this.EPPCO.push(e.PaymentLocations.item[i]);break;case"Etisalat ATM":this.ATM.push(e.PaymentLocations.item[i]);break;case"CDM Machine":this.cdmpoints.push(e.PaymentLocations.item[i]);break;default:this.paymentPoints.push(e.PaymentLocations.item[i])}t.populateMap()},i.prototype.initSearchBox=function(){var t=this;t.input1=document.getElementById(t.searchField1.attr("id")),t.searchBox1=new google.maps.places.SearchBox(t.input1),t.input2=document.getElementById(t.searchField2.attr("id")),t.searchBox2=new google.maps.places.SearchBox(t.input2),t.searchField1.closest("form").on("submit",function(t){t.preventDefault()}),t.searchField2.closest("form").on("submit",function(t){t.preventDefault()}),t.map.addListener("bounds_changed",function(){t.searchBox1.setBounds(map.getBounds()),t.searchBox2.setBounds(map.getBounds())}),t.searchBox1.addListener("places_changed",function(){t.handleSearchResult(t.searchBox1),t.searchField2.val(t.searchField1.val())}),t.searchBox2.addListener("places_changed",function(){t.handleSearchResult(t.searchBox2),t.searchField1.val(t.searchField2.val())})},i.prototype.handleSearchResult=function(t){var e=this,i=t.getPlaces();0!=i.length&&(e.searchMarker&&e.searchMarker.setMap(null),i.forEach(function(t){var i={url:t.icon,size:new google.maps.Size(71,71),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(17,34),scaledSize:new google.maps.Size(25,25)};e.searchMarker=new google.maps.Marker({map:e.map,icon:i,title:t.name,subtitle:t.subname,position:t.geometry.location})}),e.hideDetails(),e.centerPoint=e.searchLocation=e.searchMarker.getPosition(),e.map.setCenter(e.centerPoint),e.map.setZoom(e.defaultZoom))},i.prototype.populateDetails=function(e){this.overlayType=e.overlayType,t(".m32-map__overlay-title img").attr("src",this.urlPrefix+"/images/"+e.image),t(".m32-map__overlay-title--text").html(e.name),t(".m32-map__overlay-subtitle--text").html(e.category);var i="";void 0!=e.makani&&(i='<span class="m32-map__overlay-address--inner"><strong>'+this.labels.makani+"</strong>"+e.makani+"</span><br/>");var n="",o="";e.pwd&&(n='<span class="m32-map__overlay-address--inner"><strong>'+this.labels.pwd+'</strong><a href="tel:'+e.phone+'" class="link">'+e.phone+"</a></span><br/>"),e.apwd&&(o='<span class="m32-map__overlay-address--inner"><strong>'+this.labels.pwd+"</strong> "+this.labels.apwd+"</span><br/>"),t(".m32-map__overlay-address").html('<span class="m32-map__overlay-address--inner"><strong>'+this.labels.loc+"</strong>"+e.address+"</span><br/>"+n+'<span class="m32-map__overlay-address--inner"><strong>'+this.labels.hours+"</strong>"+e.hours+"</span>"+i+o),t(".m32-map__rating, .m32-map__rating-stars, .m32-map__rating-reviews").remove(),t(".m32-map__larger-map").empty();var s=null;s=this.searchLocation?"https://www.google.com/maps/dir/"+this.searchLocation.lat()+","+this.searchLocation.lng()+"/"+e.lat+","+e.lng+"?z=14":"https://maps.google.com?daddr="+e.lat+","+e.lng+"&ll="+e.lat+","+e.lng+"&z=14",t(".m32-map__larger-map").append('<span class="m32-map__directions-link"><a target="_blank" href="'+s+'">'+this.labels.nav+"</a></span>"),"none"==t(".m32-map__overlay").css("display")&&t(".m32-map__overlay").css({display:"block"}),t(".m32-map__overlay").fadeIn()},i.prototype.highlightLocation=function(t){try{this.centerPoint=t.position,this.map.setCenter(this.centerPoint),this.map.setZoom(this.defaultZoom),this.populateDetails(t)}catch(e){}},i.prototype.getFilterContent=function(t){var e,i=[],n=!1,o=!1,s=[];switch(parseInt(t)){case 1:i=this.serviceCentres,s=this.serviceMarkers,e=this.labels.serviceCentres,n=!0;break;case 2:i=this.waterSupplyPoints,s=this.waterSupplyMarkers,e=this.labels.waterSupplyPoints;break;case 3:i=this.paymentPoints,s=this.paymentMarkers,e=this.labels.paymentPoints;break;case 4:i=this.fastchargingPoints,s=this.fastchargingMarkers,e=this.labels.fastchargingPoints,o=!0;break;case 5:i=this.normalchargingPoints,s=this.normalchargingMarkers,e=this.labels.normalchargingPoints,o=!0;break;case 6:i=this.postOffices,s=this.postOfficeMarkers,e=this.labels.postOffices;break;case 7:i=this.ATM,s=this.ATMMarkers,e=this.labels.ATM;break;case 8:i=this.ENOC,s=this.ENOCMarkers,e=this.labels.ENOC;break;case 9:i=this.EPPCO,s=this.EPPCOMarkers,e=this.labels.EPPCO;break;case 10:i=this.cdmpoints,s=this.CDMMarkers,e=this.labels.cdmpoints}return{items:i,markers:s,category:e,cpwd:n,isEV:o}},i.prototype.EVLoadData=function(){var e=this;t.ajax({url:"/api/EVLocation/GetEVLocations",dataType:"json",error:function(t,e,i){console.log(i)},success:function(t){e.evData=t,e.EVloaded=!0,e.parseData(),e.getLocationBySensor()}})},i.prototype.populateMap=function(){for(var e=this,i=[],n=0;n<this.markerList.length;n++)i.push(n+1);if(e.displayFilter.length>0){e.hideDetails();for(var n=0;n<e.markerList.length;n++)try{for(;e.markerList[n].length>0;){var o=e.markerList[n].pop();o.setVisible(!1)}}catch(s){}i=e.displayFilter}-1!=i.indexOf(5)||-1!=i.indexOf(4)?e.EVloaded?t(".m32-map").find(".m66-preloader").hide():(t(".m32-map").find(".m66-preloader").show(),e.EVloading||(e.EVloading=!0)):t(".m32-map").find(".m66-preloader").hide();for(var n=0;n<i.length;n++){var r=e.getFilterContent(i[n]),a=r.markers,l=r.category,c=r.cpwd,d=r.isEV,h=r.items;if(a.length<1)for(var o=0;o<h.length;o++){var u="";if(d){var p=!1;t(e.evData).each(function(){void 0!=h[o].code&&this.HubeleonId.toString()==h[o].code.toString()&&(p=!0,u=this.Status)})}else void 0!=h[o].status&&(u=h[o].status);var f=new google.maps.Marker({map:e.map,category:l,position:{lat:parseFloat(h[o].latitude),lng:parseFloat(h[o].longitude)},lat:parseFloat(h[o].latitude),lng:parseFloat(h[o].longitude),name:h[o].name,phone:h[o].phone,pwd:h[o].pwd,apwd:c,subname:h[o].subname,address:h[o].address?h[o].address:h[o].city,makani:h[o].makaninumber,hours:h[o].whrs,image:h[o].iimage,index:o,overlayType:i[n],optimized:!1,icon:"offline"==u.toLowerCase()||"unknown"==u.toLowerCase()||"maintenance"==u.toLowerCase()||"closed"==u.toLowerCase()?this.urlPrefix+"/images/"+h[o].pimage.replace(".png","_r.png"):"occupied"==u.toLowerCase()||"busy"==u.toLowerCase()?this.urlPrefix+"/images/"+h[o].pimage.replace(".png","_o.png"):"available"==u.toLowerCase()?this.urlPrefix+"/images/"+h[o].pimage:d?this.urlPrefix+"/images/"+h[o].pimage.replace(".png","_r.png"):this.urlPrefix+"/images/"+h[o].pimage});a.push(f),a[o].addListener("click",function(i){e.highlightLocation(t(this)[0])}),f.setVisible(!0)}}},i.prototype.hideDetails=function(){t(".m32-map__overlay").fadeOut()},i}),define("../src/journeys/j102-tayseer-service/j102-tayseer-service",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){var e=this;this.checkBoxes=this.$journey.find(".form-field__input--checkbox"),this.cancelAccount=this.$journey.find(".j102-tayseer-service--delete-yes"),this.$totWrapper=this.$journey.find(".j102-tayseer-service--total-wrapper"),t(".j102-tayseer-service-next").on("click",function(e){t(this).is("[disabled]")&&e.preventDefault()}),t(e.cancelAccount).on("click",function(i){var n=t(this).parent().parent().parent().parent().parent().parent();n.prev().find("input").prop("checked",!1).attr("disabled",!0).addClass("disabled"),n.prev().remove(),n.remove(),t(".m39-m12-no").trigger("click"),e.updateTotal()}),t(".j102-tayseer-service--select").on("click",function(){"Select All"==t(".j102-tayseer-service--select").html()?(t(e.checkBoxes).each(function(){t(this).hasClass("disabled")||t(this).prop("checked",!0)}),t(".j102-tayseer-service--select").html("Deselect All"),e.updateTotal()):(t(e.checkBoxes).each(function(){t(this).hasClass("disabled")||t(this).prop("checked",!1)}),t(".j102-tayseer-service--select").html("Select All"),e.updateTotal())}),t(".j102-tayseer-service--add").on("click",function(e){t(".j102-tayseer-service--add-form").addClass("j102-tayseer-service--add-form-active")}),t(".j102-tayseer-service--add-form-cancel").on("click",function(e){t(".j102-tayseer-service--add-form").removeClass("j102-tayseer-service--add-form-active")}),t(".j102-tayseer-service--edit-amount").on("click",function(e){t(this).parent().next().addClass("j102-tayseer-service--amount-pay-form-active")}),t(".j102-tayseer-service--amount-pay-form-button--set").on("click",function(e){t(this).prev().find("input").trigger("blur")}),t(".j102-tayseer-service--amount-pay-form-button--cancel").on("click",function(i){var n=t(this).prev().find("input");t(this).parent().parent().removeClass("j102-tayseer-service--amount-pay-form-active"),void 0!=t(this).parent().parent().prev().find(".j102-tayseer-service--amount").html()&&n.val(parseFloat(t(this).parent().parent().prev().find(".j102-tayseer-service--amount").html().replace(/,/g,""))),t(this).prev().find("input").trigger("blur"),e.getTotal()}),t(e.checkBoxes).each(function(i){t(this).prop("checked",!0),t(this).on("click",function(){e.updateTotal()})}),t(".j102-tayseer-service--amount-pay-form-input input").on("blur",function(i){var n=this;setTimeout(function(){e.getTotal(),e.updateDisplay(n);var i=t(n).closest(".j102-tayseer-service--amount-pay-form").prev().find(".j102-tayseer-service--amount");i.html(e.getFormattedValue(t(i).html()))},250)}),this.updateTotal(),this.setValue(),this.getTotal(),t(".j102-tayseer-service--upload").on("click",function(){setTimeout(function(){t(".j102-tayseer-service--edit-amount").on("click",function(e){t(this).parent().next().addClass("j102-tayseer-service--amount-pay-form-active")}),t(".j102-tayseer-service--amount-pay-form-button--cancel").on("click",function(i){var n=t(this).prev().find("input");t(this).parent().parent().removeClass("j102-tayseer-service--amount-pay-form-active"),n.val(parseFloat(t(this).parent().parent().prev().find(".j102-tayseer-service--amount").html().replace(/,/g,""))),t(this).prev().find("input").trigger("blur"),e.getTotal()}),t(".j102-tayseer-service--amount-pay-form-button--set").on("click",function(e){t(this).prev().find("input").trigger("blur")}),t(".j102-tayseer-service--amount-pay-form-input input").on("blur",function(i){var n=this;setTimeout(function(){e.getTotal(),e.updateDisplay(n);var i=t(n).closest(".j102-tayseer-service--amount-pay-form").prev().find(".j102-tayseer-service--amount");i.html(e.getFormattedValue(t(i).html()))},250)}),e.updateTotal(),e.setValue(),e.getTotal(),t(".j102-tayseer-service--amount-pay-form-input input").trigger("blur")},1e3)}),t(window).on("load",function(){t(".j102-tayseer-service--amount-pay-form-input input").trigger("blur")})},i.prototype.updateTotal=function(){var e=this,i=0;return t(e.checkBoxes).each(function(){t(this).prop("checked")&&(i+=1)}),t(".j102-tayseer-service--total-new").html(),i},i.prototype.setValue=function(){t(".j102-tayseer-service--amount-pay-form-input input").each(function(e){var i=t(this).parents(".j102-tayseer-service--amount-pay-form").prev().find(".j102-tayseer-service--amount").html();t(this).attr("value",i),t(this).on("keydown",function(e){13===e.keyCode&&(e.preventDefault(),t(this).trigger("blur"))})})},i.prototype.getTotal=function(){var e=this,i=0;t(".j102-tayseer-service--amount-pay-form-input input").each(function(e){i+=parseFloat(t(this).val())}),t(".j102-tayseer-service--total-pay").html(e.getFormattedValue(i))},i.prototype.getFormattedValue=function(t){var i,n=e.isRTL()?"‏":"";return null!=t&&void 0!=t&&(i=numeral(parseFloat(t)).format("0,0.00")),n+i},i.prototype.reverseFormattedValue=function(t){var i,n=e.isRTL()?"‏":"";return null!=t&&void 0!=t&&(i=numeral(parseFloat(t))),n+i},i.prototype.updateDisplay=function(e){var i=t(e).parents("fieldset").parent().prev().find(".j102-tayseer-service--amount");t(e).parents(".j92-tayseer-service--amount-pay-form"),i.html(t(e).val())},i}),define("../src/journeys/j103-move-in/j103-move-in",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){var e=this;this.$tabs=this.$journey.find('[data-tabber="true"]'),this.$button=this.$journey.find(".tabone"),this.$buttonTwo=this.$journey.find(".tabtwo"),this.$contentone=this.$journey.find(".formone"),this.$contenttwo=this.$journey.find(".formtwo"),this.paynew=t(".j103-move-out").find("#form-field-premise_no").parent("form-field__input-wrapper");t("#description-for-premise_no");t(".form-field__input-wrapper--currency").append('<table class="m23-table__content-table prlist" style="font-size:"><thead class="m23-table__content-table-header"><tr class="m23-table__content-table-row"><td class="m23-table__content-table-cell--header">Premise No</td><td class="m23-table__content-table-cell--header">Details</td><td class="m23-table__content-table-cell--header"></td></tr></thead><tbody class="m23-table__content-table-body prelistbody"></tbody></table><span class="add-button">+</span>'),t(".add-button").on("click",function(){e.testone()}),t(".m41-tabs-box__tab-link").on("click",function(){}),this.activeTabsClass="m41-tabs-box__tab-link--active",this.activeContentClass="tab_content_active",this.$button.on("click",function(){e.contentone()}),this.$buttonTwo.on("click",function(){e.contenttwo()})},i.prototype.contentone=function(){this.$contentone.addClass("tab_content_active"),this.$contenttwo.removeClass("tab_content_active"),this.$button.addClass("m41-tabs-box__tab-link--active"),this.$buttonTwo.removeClass("m41-tabs-box__tab-link--active")},i.prototype.contenttwo=function(){this.$contentone.removeClass("tab_content_active"),this.$contenttwo.addClass("tab_content_active"),this.$button.removeClass("m41-tabs-box__tab-link--active"),this.$buttonTwo.addClass("m41-tabs-box__tab-link--active")},i.prototype.testone=function(){var e=t("#form-field-premise_no").val();t(".prlist tr").last();if(e){var i='<tr class="m23-table__content-table-row"><td data-label="Premise No" class="m23-table__content-table-cell pre-list">'+e+'</td><td data-label="Details" class="m23-table__content-table-cell">djsfhdhfkdsf</td> <td style="color:#268126;cursor:pointer;" class="m23-table__content-table-cell delete-pre"><i class="icon icon-cancel"></i></td></tr>';t(".prelistbody").append(i),t(".delete-pre").on("click",function(){t(this).parent().remove()})}},i}),define("../src/journeys/j104-move-out/j104-move-out",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){this.j104accSelectButton=t(".j104_1-move-out").find(".m39-modal__footer").find("button"),this.chargecheck=t(".j104_1-move-out").find("#form-field-checkbox_1_1")},i.prototype.editButton=function(i){var n=t(".j104_1-move-out").find(".form").children(".form-field__button").children(".button--primary"),o=(e.isRTL()?"‏":"",numeral(parseFloat(i)).format("0,0.00")),s=t(".j104_1-move-out").find("#form-field-checkbox_1_1").attr("value"),r=t(".j104_1-move-out").find(".m42-keyvalue__value").first();if(t(r).html(" AED"+o),t(".j104_1-move-out").find("#form-field-checkbox_1_1").is(":checked")){var a=parseInt(i)+parseInt(s);t(n).html("Pay "+a+" AED")}else t(n).html("Pay "+o+" AED")},i}),define("../src/journeys/j106-ideal-home/j106-ideal-home",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){var i=this;t("video").each(function(){var i=e.uniqueID();t(this).attr("id",i)}),t(".form-field__input--radio").on("click",function(){i.registration_type()}),this.registration_type()},i.prototype.registration_type=function(){var e=t("#form-field-registration_type--customer");1!=e.prop("checked")?t("input").each(function(){("account_number"==t(this).attr("name")||"owner_name"==t(this).attr("name"))&&(t(this).closest(".form-field").fadeOut(),t(this).attr("required",!1))}):1==e.prop("checked")&&t("input").each(function(){("account_number"==t(this).attr("name")||"owner_name"==t(this).attr("name"))&&(t(this).closest(".form-field").fadeIn(),t(this).attr("required",!0))})},i}),define("../src/journeys/j109-ev-charger/j109-ev-charger",["jquery","lib/utils","parsley"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};return n.prototype.init=function(){function e(t,e,i,n,o){var s=N.find(".m23-table__content-table-header .m23-table__content-table-row"),r=N.find(".j109-ev-charger__platetable--body .m23-table__content-table-row");if(s.append('<th class="m23-table__content-platetable-cell--header">'+t+"</th>"),r.append('<td data-label="'+t+'" data-delabel="'+e+'" data-value="'+i+'" class="m23-table__content-table-cell '+e+'">'+n+"</td>"),1==o){var a='{"label":"'+t+'","delabel":"'+e+'","value":"'+i+'","text":"'+n+'"}';return a}}function i(t,e,i,n,o,s){if(0==o){var r=N.find(".j109-ev-charger__platetable--body .last");r.append('<td data-label="'+t+'" data-delabel="'+e+'" data-value="'+i+'" class="m23-table__content-table-cell '+e+'">'+n+"</td>")}if(1==o){var r=N.find(".j109-ev-charger__platetable--body .editing");r.append('<td data-label="'+t+'" data-delabel="'+e+'" data-value="'+i+'" class="m23-table__content-table-cell '+e+'">'+n+"</td>")}if(1==s){var a='{"label":"'+t+'","delabel":"'+e+'","value":"'+i+'","text":"'+n+'"}';return a}}var n,o=this,s=this.$journey.data("add_reference"),r=this.$journey.data("show_reference"),a=this.$journey.data("show_referencenew"),l=this.$journey.data("reference_name"),c=this.$journey.data("reference_email"),d=this.$journey.data("reference_phone"),h=this.$journey.data("reference_prim"),u=this.$journey.data("reference_notification"),p=this.$journey.data("reference_notificationnew"),f=this.$journey.data("empty_error"),m=this.$journey.data("mulkiyanumber_row"),g=this.$journey.data("platenumber_row"),v=this.$journey.data("reference_limit"),y=this.$journey.data("total_entry"),b=this.$journey.data("formlabel"),_=this.$journey.data("max_entry"),x=this.$journey.data("mulkiya_num"),w=this.$journey.data("plate_error"),k=this.$journey.data("equal_error"),C=(this.$journey.find(".add-plate-btn"),0),T=["IEC61215","IEC61646","IEC61730","IEC61701","IEC62716","IEC61345","IEC60068","IEC621091","IEC621092","IEC1741","IEC6100032","IEC61000312","IEC6100061","IEC6100062","IEC6100063","IEC6100064","dewadrrg","IEC61850","IEC610101"];this.init_forms(s,r,l,c,d,h,u,v,w,x,y,_,b,m,k,f),this.init_dropdowns(),this.init_selectToggle(),o.mulkiyaTotal=this.$journey.find('[name="mulkiyanum"]'),o.mulkiyaAll=this.$journey.find("#form-field-allmulkiya");var S=t(".add-plate-btn"),$=S.data("recall"),M=S.data("table"),j=S.data("message"),D=S.parent(),E=t(".add-plate-form"),A=E.find(".add-plate-done"),P=E.find("input[name=platenum]"),O=A.parent(),L=O.find(".j109-ev-charger-action"),I=L.attr("data-title"),F=L.html(),H='<div class="maxerror">'+j+"</div>",B='<table class="m23-table__content-table j109-ev-charger__platetable hidden"><thead class="m23-table__content-table-header"><tr class="m23-table__content-table-row last" tabindex="0"><tr></thead><tbody class="m23-table__content-table-body j109-ev-charger__platetable--body"><tr class="m23-table__content-table-row last"><tr></tbody></table>';D.after(B);var N=t(".j109-ev-charger__platetable");if(D.find(".form-field__label").hide(),D.find(".form-field__input-wrapper").hide(),D.find(".form-field__messages").hide(),D.addClass("add-plate-wrapper"),t(".j109-ev-charger .add-plate-btn").on("click",function(){var e=t(this).data("max");t(".j109-ev-charger .maxerror").remove(),e==M.length&&D.after(H),e>M.length&&(t(".j109-ev-charger-model__trigger").trigger("click"),t(".re-error").hide(),t(".platenum-form").val(""),t(".platenum-form").removeClass("parsley-success"),t(".platenum-form").removeClass("form-field__input--error"),t(".platenum-form").removeClass("parsley-error"),t(".platenum-form").parent().removeClass("form-field__input-wrapper--error"),t(".platenum-form").parent().removeClass("form-field__input-wrapper--validated"))}),$){t.each(M,function(t,n){var o;for(o=0;o<n.length;++o)N.hasClass("hidden")||i(n[o].label,n[o].delabel,n[o].value,n[o].text,!1,!1),N.hasClass("hidden")&&e(n[o].label,n[o].delabel,n[o].value,n[o].text,!1);var t=t+1,s=N.find(".j109-ev-charger__platetable--body .last");s.append('<td data-label="'+I+'" class="m23-table__content-table-cell">'+F+"</td>"),t<M.length&&(s.after('<tr class="m23-table__content-table-row last"><tr>'),s.removeClass("last")),N.removeClass("hidden")});var R=N.find(".m23-table__content-table-header .m23-table__content-table-row");R.append('<th class="m23-table__content-platetable-cell--header">'+I+"</th>")}if(P.change(function(){var e=t(this).closest(".form-field"),i=e.find(".re-error");i.hide()}),A.on("click",function(){var n=0,o=t(this).parent(),s=o.find(".table__input"),r=o.find(".j109-ev-charger-action");if(s.each(function(){var e=o.data("edit"),i=t(this).val(),s=t(this).closest(".form-field"),r=t(this).parent(),a=s.find(".re-error"),l=S.data("recall");return"platenum"==t(this).data("delabel")&&e!=i&&l&&t.each(M,function(t,e){var o;for(o=0;o<e.length;++o)if("platenum"===e[o].delabel&&e[o].value===i)return a.show(),r.removeClass("form-field__input-wrapper--validated"),r.addClass("form-field__input-wrapper--error"),n+=1}),t(this).parsley().validate(),0==t(this).parsley().isValid()?n+=1:void 0}),!o.hasClass("editing")&&0===n){if(N.hasClass("hidden")){var a=r.attr("data-title"),l=r.html(),c=[];s.each(function(){var i=t(this).attr("type"),n=t(this).find("option:selected").text();"text"==i&&(n=t(this).val());var o=e(t(this).attr("data-title"),t(this).attr("data-delabel"),t(this).val(),n,!0);c.push(JSON.parse(o))}),M.push(c),S.attr("data-recall",!0),S.data("recall",!0),S.attr("data-table",JSON.stringify(M));var d=N.find(".j109-ev-charger__platetable--body .last"),h=N.find(".m23-table__content-table-header .m23-table__content-table-row");h.append('<th class="m23-table__content-platetable-cell--header">'+a+"</th>"),d.append('<td data-label="'+a+'" class="m23-table__content-table-cell">'+l+"</td>")}if(!N.hasClass("hidden")){var u=N.find(".j109-ev-charger__platetable--body .last"),a=r.attr("data-title"),l=r.html();S.data("table");u.after('<tr class="m23-table__content-table-row last"><tr>'),u.removeClass("last");var c=[];s.each(function(){var e=t(this).attr("type"),n=t(this).find("option:selected").text();"text"==e&&(n=t(this).val());var o=i(t(this).attr("data-title"),t(this).attr("data-delabel"),t(this).val(),n,!1,!0);c.push(JSON.parse(o))}),M.push(c),S.attr("data-recall",!0),S.data("recall",!0),S.attr("data-table",JSON.stringify(M));var d=N.find(".j109-ev-charger__platetable--body .last");d.append('<td data-label="'+a+'" class="m23-table__content-table-cell">'+l+"</td>")}N.removeClass("hidden"),t(".m39-modal__button--close").trigger("click")}if(o.hasClass("editing")&&0===n){var p=N.find(".j109-ev-charger__platetable--body .editing"),f=o.data("edit"),l=r.html();p.empty(),t.each(M,function(e,i){var n;for(n=0;n<i.length;++n)"platenum"===i[n].delabel&&i[n].value==f&&(M=t.grep(M,function(t){return t!=i}))}),S.attr("data-table",JSON.stringify(M));var c=[];s.each(function(){var e=t(this).attr("type"),n=t(this).find("option:selected").text();"text"==e&&(n=t(this).val());var o=i(t(this).attr("data-title"),t(this).attr("data-delabel"),t(this).val(),n,!0,!0);c.push(JSON.parse(o))}),M.push(c),S.attr("data-table",JSON.stringify(M)),p.append('<td data-label="'+a+'" class="m23-table__content-table-cell">'+l+"</td>"),t(this).parent().removeClass("editing"),t(".j109-ev-charger__platetable--body .editing").removeClass("editing"),t(".m39-modal__button--close").trigger("click")}}),t("body").on("click",".j109-ev-charger-actionBtn .delete",function(){var e=t(this).closest(".j109-ev-charger__platetable"),i=e.find(".m23-table__content-table-body"),n=e.find(".m23-table__content-table-header"),o=i.find(".m23-table__content-table-row").length,s=t(this).closest(".m23-table__content-table-row"),r=n.find(".m23-table__content-table-row"),a=s.find(".platenum"),l=a.data("value");1==o&&(s.addClass("last"),s.empty(),r.empty(),N.addClass("hidden"),S.attr("data-recall",!1),S.data("recall",!1),S.attr("data-table","[]")),o>1&&(s.hasClass("last")&&s.prev().addClass("last"),s.remove(),t.each(M,function(e,i){var n;for(n=0;n<i.length;++n)"platenum"===i[n].delabel&&i[n].value==l&&(M=t.grep(M,function(t){return t!=i}))}),t(".j109-ev-charger .maxerror").remove(),S.attr("data-table",JSON.stringify(M)))}),t("body").on("click",".j109-ev-charger-actionBtn .edit",function(){t(".j109-ev-charger-model__trigger").trigger("click");var e=t(this).closest(".m23-table__content-table-row"),i=e.find(".m23-table__content-table-cell"),n=e.find(".platenum"),o=n.data("value"),s=t(".j109-ev-charger-model__trigger").attr("aria-controls"),r=t("#"+s).find(".add-plate-form"),a=r.find(".table__input");r.addClass("editing"),r.attr("data-edit",o),r.data("edit",o),e.addClass("editing"),i.each(function(){var e=t(this).data("label"),i=t(this).data("value");a.each(function(){var n=t(this).data("title");e==n&&t(this).val(i)})})}),m){var m=String(m),o=this,z=m.split(",");o.add_row(z,l),o.mulkiyaAll.prop("checked",!0),o.change_text(s,r,u)}else if(g){var g=String(g),o=this,z=g.split(",");o.add_row(z,l),o.mulkiyaAll.prop("checked",!1),o.change_text(s,a,u)}var q=0;t(".j109-ev-charger__reference-row").each(function(){q+=1}),q>0&&t(".m23-table__content-table").find(".m23-table__content-table-header").show(),0==q&&t(".m23-table__content-table").find(".m23-table__content-table-header").hide(),o.mulkiyaAll.on("click",function(){t(this).prop("checked",!t(this).prop("checked"));var e=0;if(t(".j109-ev-charger__reference-row").each(function(){e+=1}),0==e&&(t(this).is(":checked")?(t(this).prop("checked",!1),o.change_text(s,a,p)):t(this).is(":checked")||(t(this).prop("checked",!0),o.change_text(s,r,u))),e>0)if(t(".j109-ev-charger--delete-all").trigger("click"),t(this).is(":checked")){var i=t(this);t(".j109-ev-charger--delete-all-yes").on("click",function(){t(this).prev().trigger("click"),i.prop("checked",!1),t(".j109-ev-charger__reference-row").remove(),t(".m23-table__content-table").find(".m23-table__content-table-header").hide(),o.change_text(s,a,p)})}else t(this).is(":checked")||(i=t(this),t(".j109-ev-charger--delete-all-yes").on("click",function(){t(this).prev().trigger("click"),i.prop("checked",!0),t(".j109-ev-charger__reference-row").remove(),t(".m23-table__content-table").find(".m23-table__content-table-header").hide(),o.change_text(s,r,u)}))}),t(".j109-ev-charger-tabs__tab").on("click",function(){t(".j109-ev-charger-tabs__tab").each(function(){t(this).removeClass("j109-ev-charger-tabs__tab--active")}),t(this).addClass("j109-ev-charger-tabs__tab--active")}),t(".j109-ev-charger").hasClass("edit-profile-drrg")&&(t(".j109-ev-charger__reference-contact").each(function(){"ref_email"==t(this).attr("name")&&(n=t(this).val())}),t(".j109-ev-charger__reference-email").each(function(){t(this).html()==n&&C++}),t(".j109-ev-charger__table--cancel").on("click",function(){var e=this;t(".j109-ev-charger--delete").trigger("click"),t(".j109-ev-charger--delete-yes").on("click",function(){o.email_check(C),1==t(e).closest(".m23-table__content-table-row").find(".form-field__input--radio").prop("checked")?(t(e).closest(".m23-table__content-table-row").remove(),t(".j109-ev-charger__table--body .m23-table__content-table-row:first-child").find(".form-field__input--radio").prop("checked",!0)):t(e).closest(".m23-table__content-table-row").remove(),t(".j109-ev-charger__reference-limit").removeClass("j109-ev-charger__reference-limit--active"),0==t(".j109-ev-charger__table--body").html().trim().length&&t(".j109-ev-charger__table--body").closest(".j109-ev-charger__table--inactive").removeClass("j109-ev-charger__table--active");var i=0;t(".j109-ev-charger__reference-row").each(function(){i+=1}),i>0&&t(".m23-table__content-table").find(".m23-table__content-table-header").show(),0==i&&t(".m23-table__content-table").find(".m23-table__content-table-header").hide(),t(this).prev().trigger("click")})})),t(".j109-ev-charger").hasClass("j109-ev-charger--1")?this.check_logic(T,0,0):t(".j109-ev-charger").hasClass("j109-ev-charger--2")?this.check_logic(T,1,1):t(".j109-ev-charger").hasClass("j109-ev-charger--3")&&this.check_logic(T,2,2),t(".form-field__input--textarea").each(function(){"drrg-reject-remark"==t(this).attr("name")&&t(this).on("keyup",function(){this.value.length<1?(t(this).closest(".m39-modal__content").find(".m39-m12-yesReject").attr("disabled",""),
t(this).closest(".m39-modal__content").find(".m39-m12-yesReject").addClass("disabled")):this.value.length>0&&(t(this).closest(".m39-modal__content").find(".m39-m12-yesReject").removeAttr("disabled"),t(this).closest(".m39-modal__content").find(".m39-m12-yesReject").removeClass("disabled"))})}),t(".m39-m12-noReject").on("click",function(e){t("#form-field-remark").val(""),t(".m39-m12-yesReject").attr("disabled",""),t(".m39-m12-yesReject").addClass("disabled")})},n.prototype.change_text=function(e,i,n){t(".j109-ev-charger__show-contact").text(e+" "+i),t(".platenmulkiya").text(i),t(".j109-ev-charger__reference_wrapper label").text(n),t(".j109-ev-charger__reference_wrapper input").attr("placeholder",i),t("span.totalentry").text(""),t("span.numthis").text(i),t("span.numthis").css("display","none")},n.prototype.add_row=function(e,i){var n=this,o=0;t.each(e,function(e,i){o++,n.mulkiyaTotal.val(o).change();var s=t(".m23-table__content-table").find(".m23-table__content-table-header .platenmulkiya").text(),r='<tr class="m23-table__content-table-row j109-ev-charger__reference-row" tabindex="0"><td class="m23-table__content-table-cell j109-ev-charger__rownum">'+o+'</td><td data-label="'+s+'" class="m23-table__content-table-cell j109-ev-charger__reference-name">'+i+'</td><td class="j109-ev-charger__table--cancel-wrapper"><span class="j109-ev-charger__table--cancel icon-cancel"></span></td></tr>';t(".j109-ev-charger__table--body").append(r),t(".j109-ev-charger__table--cancel").off("click"),t(".j109-ev-charger__table--cancel").on("click",function(){var e=this;t(".j109-ev-charger--delete").trigger("click"),t(".j109-ev-charger--delete-yes").on("click",function(){t(e).closest(".m23-table__content-table-row").remove();var i=0;t(".j109-ev-charger__reference-row").each(function(){i+=1}),i>0&&t(".m23-table__content-table").find(".m23-table__content-table-header").show(),0==i&&t(".m23-table__content-table").find(".m23-table__content-table-header").hide();var n=0;t(".j109-ev-charger__rownum").each(function(){n++,t(this).text(n)}),t(this).prev().trigger("click")})})})},n.prototype.init_forms=function(e,i,n,o,s,r,a,l,c,d,h,u,p,f,m,g){var v=this;t(".form-field__input--text").each(function(){var e=t(this).attr("name");"mulkiya"==e&&(t(this).addClass("j109-ev-charger__reference-contact"),t(this).closest(".form-field").after('<div class="j109-ev-charger__add-contact--wrapper"><span class="totalentry"> </span> <span class="numthis"> '+n+"</span></div>")),"mulkiya"==e&&(t(".j109-ev-charger").hasClass("edit-profile-drrg")||t(this).closest(".form-field").after('<div class="form-field__button mt12"><a class="j109-ev-charger__add-contact add-button" role="button">+</a></div>'))}),t(".j109-ev-charger__reference-contact").each(function(){t(this).closest(".form-field").addClass("mt12")}),t(".mt12").wrapAll("<div class='j109-ev-charger__reference_wrapper' />"),t(".j109-ev-charger").hasClass("edit-profile-drrg")||(t(".j109-ev-charger__add-contact--wrapper").after('<table class="m23-table__content-table"><thead class="m23-table__content-table-header"><tr class="m23-table__content-table-row" tabindex="0)"><th class="m23-table__content-table-cell--header ">'+d+'</th><th class="m23-table__content-table-cell--header platenmulkiya">'+i+'</th></tr></thead><tbody class="m23-table__content-table-body j109-ev-charger__table--body"></tbody></table><div class="form-field__messages j109-ev-charger__ref-error-mes"><ul class="parsley-errors-list filled" ><li class="parsley-required">Reference required</li></ul></div>'),t(".j109-ev-charger__table--inactive").after('<div class="j109-ev-charger__reference-error">'+a+"</div>"),t(".j109-ev-charger__table--inactive").before('<div class="j109-ev-charger__email-error">'+c+"</div>"),t(".j109-ev-charger__table--inactive").before('<div class="j109-ev-charger__reference-limit">'+l+"</div>")),t(".j109-ev-charger__add-contact").on("click",function(){t(window).trigger(".j109-ev-charger__show-contact"),t("span.numthis").css("display","none"),t("span.totalentry").text("");var e=0;t(".m23-table__content-table-row").each(function(){e++});v.mulkiyaTotal.val();e<=v.mulkiyaTotal.val()||(21===e?t("span.totalentry").text(u):t("span.totalentry").text(h))}),t(".j109-ev-charger__add-contact").on("click",function(){if("mulkiya"==t(".j109-ev-charger__reference-contact").attr("name")){var e=t(".j109-ev-charger__reference-contact").val().trim(),i=0,a=0;t(".j109-ev-charger__reference-row").each(function(){a+=1}),t(".j109-ev-charger__reference-name").each(function(){t(this).html().toString().trim()==e.toString()&&(i+=1)}),""!=e?0==i?v.add_reference(n,o,s,r):0==a?v.add_reference(n,o,s,r):t("span.totalentry").text(c):(t("span.numthis").css("display","inline"),t("span.totalentry").text(g))}t(window).trigger("j109-ev-charger__add-contact")}),t(".form-field__button").find(".j109-submit").on("click",function(e){var i=0;t(".j109-ev-charger__reference-row").each(function(){i+=1}),i.toString()!=t('.form-field__input--select[name="mulkiyanum"]').val().toString()?(e.preventDefault(),t("span.totalentry").text(m)):t("span.totalentry").text("")}),v.table_check()},n.prototype.init_dropdowns=function(){t(".form-field__input--select").each(function(){t(this).on("change",function(){var e=t(this).children(":selected").attr("value"),i=t(this).closest(".form-field--select").attr("uniqueID"),n=(t(this).attr("name"),t(this).closest(".form-field--select").attr("j109-ev-charger__other-name"),'<div class="form-field form-field--text "><span class="form-field__input-wrapper"><input class="form-field__input form-field__input--text" id="form-field-'+i+'" name="'+i+'" type="text" aria-describedby="description-for-'+i+'" data-parsley-errors-container="#description-for-'+i+'"  data-parsley-trigger="focusout"></span><div id="description-for-'+i+'" class="form-field__messages"></div></div>');"other"==e||"yes"==e&&t(this).hasClass("j109-ev-charger--yes_no")?t(this).after(n):t(this).next().remove()})})},n.prototype.init_selectToggle=function(){var e=this,i=this.$journey.find(".j109-ev-charger--selecttoggle"),n=this.$journey.find(".j109-ev-charger--selecttogglebranch");this.$journey.find(".j109-ev-charger--toggled").not("."+i.val()).hide(),this.$journey.find(".j109-ev-charger--toggledbranch").not("."+n.val()).hide(),i.on("change",function(){var i=t(this).val();e.$journey.find(".j109-ev-charger--toggled").not("."+i).fadeOut(),setTimeout(function(){e.$journey.find("."+i).fadeIn()},400)}),n.on("change",function(){var i=t(this).val();e.$journey.find(".j109-ev-charger--toggledbranch").not("."+i).fadeOut(),setTimeout(function(){e.$journey.find("."+i).fadeIn()},400)})},n.prototype.add_reference=function(i,n,o,s){var r,a,l,c,d,h=this,u=0,p=0,f=(e.uniqueID(),0);t(".j109-ev-charger__reference-contact").each(function(){t(this).attr("required",!1)}),d=0==t(".j109-ev-charger__table--body").html().trim().length?"checked":"",t(".j109-ev-charger__reference-contact").trigger("focusout"),t(".j109-ev-charger__reference-contact").each(function(){t(this).hasClass("form-field__input--error")&&u++}),t(".j109-ev-charger__reference-contact").each(function(){"ref_email"==t(this).attr("name")&&(c=t(this).val())}),t(".j109-ev-charger__reference-email").each(function(){t(this).html()==c&&(u++,p++)}),t(".button--j109-ev-charger__table-check").off("click"),h.table_check(),t(".m23-table__content-table-row").each(function(){f++});var m=h.mulkiyaTotal.val();if(m>=f){if(0==u){t(".m23-table__content-table").find(".m23-table__content-table-header").show(),t(".j109-ev-charger__ref-error-mes").removeClass("j109-ev-charger__ref-error-mes-active"),t(".j109-ev-charger__table--inactive").hasClass("j109-ev-charger__table--active")||t(".j109-ev-charger__table--inactive").addClass("j109-ev-charger__table--active"),t(".j109-ev-charger__reference-error").removeClass("j109-ev-charger__reference-error--active"),t(".j109-ev-charger__reference-contact").each(function(){"mulkiya"==t(this).attr("name")?r=t(this).val():"ref_email"==t(this).attr("name")?a=t(this).val():"ref_phone"==t(this).attr("name")&&(l=t(this).val()),t(this).parent().removeClass("form-field__input-wrapper--validated"),this.value=""});var g=t(".m23-table__content-table").find(".m23-table__content-table-header .platenmulkiya").text(),v='<tr class="m23-table__content-table-row j109-ev-charger__reference-row" tabindex="0"><td class="m23-table__content-table-cell j109-ev-charger__rownum">'+f+'</td><td data-label="'+g+'" class="m23-table__content-table-cell j109-ev-charger__reference-name">'+r+'</td><td class="j109-ev-charger__table--cancel-wrapper"><span class="j109-ev-charger__table--cancel icon-cancel"></span></td></tr>';t(".j109-ev-charger__table--body").append(v),t(".j109-ev-charger__table--cancel").off("click"),t(".j109-ev-charger__table--cancel").on("click",function(){var e=this;t(".j109-ev-charger--delete").trigger("click"),t(".j109-ev-charger--delete-yes").on("click",function(){t(e).closest(".m23-table__content-table-row").remove(),t("span.totalentry").text("");var i=0;t(".j109-ev-charger__reference-row").each(function(){i+=1}),i>0&&t(".m23-table__content-table").find(".m23-table__content-table-header").show(),0==i&&(t(".m23-table__content-table").find(".m23-table__content-table-header").hide(),t(".j109-ev-charger__reference-contact").each(function(){t(this).attr("required",!0)}));var n=0;t(".j109-ev-charger__rownum").each(function(){n++,t(this).text(n)}),t(this).prev().trigger("click")})})}}else t(".j109-ev-charger__reference-limit").hasClass("j109-ev-charger__reference-limit--active")||(t(".j109-ev-charger__reference-limit").addClass("j109-ev-charger__reference-limit--active"),t(".j109-ev-charger__email-error").removeClass("j109-ev-charger__email-error--active"),t(".j109-ev-charger__reference-error").removeClass("j109-ev-charger__reference-error--active"))},n.prototype.table_check=function(){},n.prototype.email_check=function(t){},n.prototype.check_logic=function(i,n,o){var s=[],r=this;t(".form-field__input--upload").each(function(){t(this).on("change",function(){e.uniqueID();-1!=t.inArray(t(this).attr("name"),i)&&"false"==t(this).attr("aria-invalid")&&(s.push(t(this).attr("name")),t(this).closest(".form-field--upload").next().addClass("j109-ev-charger__datepicker--active"),t(this).closest(".form-field--upload").next().find(".form-field__input--datepicker").attr("required",""));var a=[[["IEC61215",-1!=t.inArray("IEC61215",s)||-1!=t.inArray("IEC61646",s)],["IEC61730",-1!=t.inArray("IEC61730",s)],["IEC61701",-1!=t.inArray("IEC61701",s)],["IEC62716",-1!=t.inArray("IEC62716",s)],["IEC61345",-1!=t.inArray("IEC61345",s)&&-1!=t.inArray("IEC60068",s)]],[["IEC621091",-1!=t.inArray("IEC621091",s)&&-1!=t.inArray("IEC621092",s)||-1!=t.inArray("IEC1741",s)],["IEC6100032",-1!=t.inArray("IEC6100032",s)||-1!=t.inArray("IEC61000312",s)],["IEC6100061",(-1!=t.inArray("IEC6100061",s)||-1!=t.inArray("IEC6100062",s))&&-1!=t.inArray("IEC6100063",s)||(-1!=t.inArray("IEC6100064",s)||-1!=t.inArray("IEC6100063",s))&&-1!=t.inArray("IEC6100062",s)],["dewadrrg",-1!=t.inArray("dewadrrg",s)]],["",!0]];r.logic_checklist(a[o]);var l=[(-1!=t.inArray("IEC61215",s)||-1!=t.inArray("IEC61646",s))&&-1!=t.inArray("IEC61730",s)&&-1!=t.inArray("IEC61701",s)&&-1!=t.inArray("IEC62716",s)&&-1!=t.inArray("IEC61345",s)&&-1!=t.inArray("IEC60068",s),!((-1==t.inArray("IEC621091",s)||-1==t.inArray("IEC621092",s))&&-1==t.inArray("IEC1741",s)||-1==t.inArray("IEC6100032",s)&&-1==t.inArray("IEC61000312",s)||(-1==t.inArray("IEC6100061",s)&&-1==t.inArray("IEC6100062",s)||-1==t.inArray("IEC6100063",s))&&(-1==t.inArray("IEC6100064",s)&&-1==t.inArray("IEC6100063",s)||-1==t.inArray("IEC6100062",s))||-1==t.inArray("dewadrrg",s)),!0];l[n]&&t(".form-field__button").find(".button--primary").removeAttr("disabled")})}),t(".form-field--upload").each(function(){var e=this;t(this).find(".button--remove").on("click",function(){var i=t(e).find(".form-field__input--upload").attr("name");s.splice(t.inArray(i,s),1);var a=[(-1!=t.inArray("IEC61215",s)||-1!=t.inArray("IEC61646",s))&&-1!=t.inArray("IEC61730",s)&&-1!=t.inArray("IEC61701",s)&&-1!=t.inArray("IEC62716",s)&&-1!=t.inArray("IEC61345",s)&&-1!=t.inArray("IEC60068",s),!((-1==t.inArray("IEC621091",s)||-1==t.inArray("IEC621092",s))&&-1==t.inArray("IEC1741",s)||-1==t.inArray("IEC6100032",s)&&-1==t.inArray("IEC61000312",s)||(-1==t.inArray("IEC6100061",s)&&-1==t.inArray("IEC6100062",s)||-1==t.inArray("IEC6100063",s))&&(-1==t.inArray("IEC6100064",s)&&-1==t.inArray("IEC6100063",s)||-1==t.inArray("IEC6100062",s))||-1==t.inArray("dewadrrg",s)),!0];a[n]?t(".form-field__button").find(".button--primary").removeAttr("disabled"):t(".form-field__button").find(".button--primary").attr("disabled","");var l=[[["IEC61215",-1!=t.inArray("IEC61215",s)||-1!=t.inArray("IEC61646",s)],["IEC61730",-1!=t.inArray("IEC61730",s)],["IEC61701",-1!=t.inArray("IEC61701",s)],["IEC62716",-1!=t.inArray("IEC62716",s)],["IEC61345",-1!=t.inArray("IEC61345",s)&&-1!=t.inArray("IEC60068",s)]],[["IEC621091",-1!=t.inArray("IEC621091",s)&&-1!=t.inArray("IEC621092",s)||-1!=t.inArray("IEC1741",s)],["IEC6100032",-1!=t.inArray("IEC6100032",s)||-1!=t.inArray("IEC61000312",s)],["IEC6100061",(-1!=t.inArray("IEC6100061",s)||-1!=t.inArray("IEC6100062",s))&&-1!=t.inArray("IEC6100063",s)||(-1!=t.inArray("IEC6100064",s)||-1!=t.inArray("IEC6100063",s))&&-1!=t.inArray("IEC6100062",s)],["dewadrrg",-1!=t.inArray("dewadrrg",s)]],["",!0]];r.logic_checklist(l[o]),t(e).next().removeClass("j109-ev-charger__datepicker--active"),t(e).next().find(".form-field__input--datepicker").removeAttr("required")})})},n.prototype.logic_checklist=function(e){t(e).each(function(e,i){i[1]?t(".form-field__input--upload").each(function(){t(this).attr("name")==i[0]&&(t(this).closest(".fieldset").find(".legend").addClass("j109-ev-charger__logic--check-active"),t(this).closest(".fieldset").find(".legend").addClass("icon-tick"))}):t(".form-field__input--upload").each(function(){t(this).attr("name")==i[0]&&(t(this).closest(".fieldset").find(".legend").removeClass("j109-ev-charger__logic--check-active"),t(this).closest(".fieldset").find(".legend").removeClass("icon-tick"))})})},n}),define("../src/journeys/j112-clearance-certificate-NDC/j112-clearance-certificate-NDC",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){this.labels=t(this.$journey).data("labels"),this.NDEWA_C()},e.prototype.NDEWA_C=function(){var e=this.labels;jQuery('select[name="IdentityType"]').on("change",function(){var t=jQuery(this).val(),i=jQuery('input[name="IdentityNumber"]'),n=i.closest(".form-field").find("label");return i.removeClass("form-field__input--error parsley-error"),i.removeAttr("aria-invalid"),jQuery("#description-for-eid").empty(),i.closest(".form-field").find(".parsley-errors-list").empty(),i.closest(".form-field").find(".form-field__input-wrapper").removeClass("form-field__input-wrapper--error"),"TN"===t?(i.attr("placeholder",e.tl.placeholder),i.attr("data-parsley-error-message",e.tl.validation),i.removeAttr("data-parsley-emiratesid"),n.text(e.tl.label),jQuery('.form-field__input--upload[name="uploads1"]').closest(".form-field__uploader-details").find(".form-field__label").text(e.tl.uploadLabel1),void jQuery('.form-field__input--upload[name="uploads2"').closest(".form-field__uploader-details").find(".form-field__label").text(e.tl.uploadLabel2)):"PP"===t?(i.attr("placeholder",e.pp.placeholder),i.attr("data-parsley-error-message",e.pp.validation),i.removeAttr("data-parsley-emiratesid"),n.text(e.pp.label),jQuery('.form-field__input--upload[name="uploads1"]').closest(".form-field__uploader-details").find(".form-field__label").text(e.pp.uploadLabel1),void jQuery('.form-field__input--upload[name="uploads2"').closest(".form-field__uploader-details").find(".form-field__label").text(e.pp.uploadLabel2)):("ED"==t&&(i.attr("placeholder",e.eid.placeholder),i.attr("data-parsley-error-message",e.eid.validation),i.attr("data-parsley-emiratesid",""),n.text(e.eid.label),jQuery('.form-field__input--upload[name="uploads1"]').closest(".form-field__uploader-details").find(".form-field__label").text(e.eid.uploadLabel1),jQuery('.form-field__input--upload[name="uploads2"]').closest(".form-field__uploader-details").find(".form-field__label").text(e.eid.uploadLabel2)),void(0!=i.val().length&&i.trigger("focusout")))});var i=function(e){var i=t(e).val();"1"==i?(jQuery('select[name="IdentityType"]').children('option[value^="ED"]').show(),jQuery('select[name="IdentityType"]').children('option[value^="PP"]').show(),jQuery('select[name="IdentityType"]').children('option[value^="TN"]').hide(),jQuery('select[name="IdentityType"]').val("ED"),jQuery('select[name="IdentityType"]').trigger("change"),jQuery("#divCommercial").hide(),jQuery("#divIndividual").show(),jQuery("#form-field-tradelicense").removeAttr("required"),jQuery("#form-field-trade-letter").removeAttr("required"),jQuery("#form-field-eid-copy").attr("required","required"),jQuery("#form-field-eid-copy-2").attr("required","required"),jQuery("#form-field-letter").attr("required","required")):"2"==i&&(jQuery('select[name="IdentityType"]').children('option[value^="ED"]').hide(),jQuery('select[name="IdentityType"]').children('option[value^="PP"]').hide(),jQuery('select[name="IdentityType"]').children('option[value^="TN"]').show(),jQuery('select[name="IdentityType"]').val("TN"),jQuery('select[name="IdentityType"]').trigger("change"),jQuery("#divCommercial").show(),jQuery("#divIndividual").hide(),jQuery("#form-field-eid-copy").removeAttr("required"),jQuery("#form-field-eid-copy-2").removeAttr("required"),jQuery("#form-field-letter").removeAttr("required"),jQuery("#form-field-tradelicense").attr("required","required"),jQuery("#form-field-trade-letter").attr("required","required"))};i(jQuery('select[name="CustomerType"]')),jQuery('select[name="CustomerType"]').on("change",function(){i(this)});var n=function(t){var e=jQuery(t).val();"2"==e?(jQuery('.form-field__input[name="courtRef"]').closest(".form-field").show(),jQuery('.form-field__input[name="courtRef"]').attr("required","required"),jQuery('.form-field__input[name="courtRef"]').attr("aria-required",!0)):(jQuery('.form-field__input[name="courtRef"]').closest(".form-field").hide(),jQuery('.form-field__input[name="courtRef"]').removeAttr("required"),jQuery('.form-field__input[name="courtRef"]').removeAttr("aria-required"))};n(jQuery('select[name="purpose"]')),jQuery('select[name="purpose"]').on("change",function(){n(this)})},e}),define("../src/journeys/j119-scholarship/j119-scholarship",["jquery","parsley","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};return n.prototype.init=function(){var e=this,n=(this.$journey.find(".m73-form-trigger-expand"),this.$journey.find("#university_grades-data-table"),this.$journey.find("[data-required-options]")),o=this.$journey.find("[data-toggle-button]"),s=this.$journey.find("[data-table-form]"),r=i.uniqueID(),a=r+"_trigger",l=r+"_content",c=i.uniqueID(),d=c+"_select",h=c+"_button",u=c+"_table";n.attr("aria-group-control",d).attr("id",u),o.attr("aria-group-control",h),s.attr("aria-group-control",u),o.addClass("form_button_disable"),t(".form-field").on("change","[data-required-options]",function(){o.hasClass("form_button_disable")?this.value&&o.removeClass("form_button_disable"):this.value||o.addClass("form_button_disable")});var p=this.$journey.find("[data-toggle]"),f=this.$journey.find("[data-content]"),m="m73-form-trigger-expand-open",g="m73-form-content-expand-open";p.attr("id",a).attr("aria-controls",l),f.attr("id",l).attr("aria-labelledby",a),t(".form-field").on("click","[data-toggle]",function(){var e=(t(this).attr("aria-controls"),t(this).next()),i="true"===e.attr("aria-expanded");t(this).toggleClass(m),e.attr("aria-expanded",i=!i),e.toggleClass(g)}),t(".form-field").on("click",".form--data-table-buttons .edit",function(){var e=t(this).closest(".form--data-table-row"),i=e.attr("data-row-of"),n=(t("#university_grades").find(".form-field"),e.find(".form--data-table-content .form--data-table-wrapper"));e.addClass("on-edit"),n.each(function(e){var i=e+1,n=t(this).find(".form-data-table__label").text(),o=t(this).find(".form-data-table__value").text();t("#university_grades").find(".form-field");t("#university_grades .form-field:nth-child("+i+") .form-field__label").text(n),t("#university_grades .form-field:nth-child("+i+") .form-field__input").val(o)}),t("#university_grades").hasClass("fieldset--hidden")&&(t("#university_grades").removeClass("fieldset--hidden"),t("#university_grades").attr("data-area-valid",!0),t("#university_grades").attr("data-form-of",i))}),t(".form-field").on("click",".form--data-table-buttons .remove",function(){var e=t(this).closest(".form--data-table-row"),i=e.attr("data-row-of"),n=e.parent();e.remove();var o=n.find(".form--data-table-row").last();o.hasClass("template-row")||o.addClass("last-row"),n.attr("data-table-form")&&n.attr("aria-group-control")&&t("#"+n.attr("aria-group-control")+" option[data-option-value='"+i+"']").removeAttr("disabled")}),t(".button--save_legend").on("click",function(){e.saveData(o.closest(".form-field").find("select"))}),t(".button--cancel_legand").on("click",function(){o.closest(".form-field").find("select").find("[selected]");t("#university_grades").attr("data-area-valid",!1),t("#university_grades").addClass("fieldset--hidden"),t("#university_grades").removeAttr("data-form-of"),o.closest(".form-field").find("select").attr("disabled",!1),o.closest(".form-field").find("select").prop("selectedIndex",0)}),o.on("click",function(){var i=t(this).closest(".form-field"),n=i.find("select");if(o.addClass("form_button_disable"),n.each(function(){t(this).parsley().validate()}),n.parsley().isValid()){var s=n.find("option:selected");s.attr("selected",!0).siblings().removeAttr("selected"),e.toggleLegend(n)}})},n.prototype.toggleLegend=function(e){var i=this,n=t("#"+e.attr("aria-controls")),o=e.find("[selected]"),s=o.attr("data-option-target-id"),r=(o.attr("data-option-toggle"),o.attr("data-option-target-required"),o.attr("data-option-value"));s&&(n=t("#"+s));var a=(n.find(".form-field"),n.find("button"),n.attr("data-table-post"),n.find("input[type=text],select, input[type=number], input[type=email]"));a.each(function(e,n){i.customReset(t(this))}),n.hasClass("fieldset--hidden")&&(n.removeClass("fieldset--hidden"),e.attr("disabled",!0),n.attr("data-area-valid",!1),n.attr("data-form-of",r)),!n.hasClass("fieldset--hidden")},n.prototype.customReset=function(t){t.is("select")||t.val(""),t.parsley().reset(),t.removeClass("parsley-success"),t.parent().removeClass("form-field__input-wrapper--error"),t.parent().removeClass("form-field__input-wrapper--validated"),t.removeClass("form-field__input--error"),t.removeClass("parsley-error"),t.removeAttr("aria-invalid")},n.prototype.cancelData=function(){},n.prototype.saveData=function(e){var i=this,n=t("#university_grades").find(".form-field"),o=t("#university_grades").attr("data-form-of"),s=t("#university_grades").find("input[type=text],select, input[type=number], input[type=email]"),r=!0;if(s.parsley({excluded:"input.form-field__input--readonly, input[type=button], input[type=submit], input[type=reset], input[type=hidden], [disabled], :hidden"}),s.each(function(e,i){t(this).parsley().validate(),t(this).parsley().isValid()||(r=!1)}),1==r){if(e){var a=e.find("[selected]");e.attr("disabled",!1),a.attr("disabled","disabled"),a.removeAttr("selected"),e.prop("selectedIndex",0)}if(t("#university_grades").attr("data-area-valid",!0),t("#university_grades").addClass("fieldset--hidden"),n){var l="";n.each(function(e,i){var n=t(this).find("label").contents().filter(function(){return 3==this.nodeType}).text(),o=t(this).find("label").attr("for"),s=t.trim(n),r=t(this).find("input[type=text],select,input[type=date],input[type=number], input[type=email]"),a=r.val();0!==t(this).find("select.form_select_textVal").length&&(a=t(this).find("select option:selected").text()),l=t(this).hasClass("form-field--6")?l+'<div class="form--data-table-wrapper column-2" data-table-wrapper-id="'+o+'"><label class="form-data-table__label">'+s+' </label><span class="form-data-table__value">'+a+"</span></div>":l+'<div class="form--data-table-wrapper" data-table-wrapper-id="'+o+'"><label class="form-data-table__label">'+s+' </label><span class="form-data-table__value">'+a+"</span></div>"});var a="";i.formDataTable(l,o)}}},n.prototype.formDataTable=function(e,n){var o=t("#university_grades-data-table"),s=(o.attr("data-table-form"),o.find(".form--data-table-row")),r=(o.find(".template-row"),s.last()),a=i.uniqueID(),l=a+"_trigger",c=a+"_content";if(s.hasClass("on-edit")){var d=o.find(".on-edit"),h=d.find(".form--data-table-content");h.empty(),h.append(e),d.removeClass("on-edit")}else{r.hasClass("template-row")?r.clone().insertAfter(r).removeClass("template-row").addClass("last-row").attr("data-row-of",n):(r.removeClass("last-row"),r.clone().insertAfter(r).addClass("last-row").attr("data-row-of",n));var r=o.find(".last-row"),u=r.find(".form--data-table-content"),p=r.find(".tab-title");this.$trigger=r.find("[data-toggle]").eq(0),this.$content=r.find("[data-content]").eq(0),this.$trigger.attr("id",l).attr("aria-controls",c),this.$content.attr("id",c).attr("aria-labelledby",l),u.empty(),u.append(e),p.text(n),r.removeClass("hidden")}},n}),define("../src/journeys/j120-smart-response/j120-smart-response",["jquery","lib/utils","parsley","pickerdate"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){function e(t,e,n){pasteQueue[e]=n||!0,pasteRunner||(pasteRunner=window.setTimeout(function(){var e=t.val();pasteQueue.numbers&&(e=s(e)),pasteQueue.currency&&(e=r(e)),pasteQueue.name&&(e=a(e)),"number"==typeof pasteQueue.truncate&&(e=o(e,n)),t.val(e),i()},20))}function i(){pasteQueue=[],pasteRunner=null}function n(t,e){t.val().length>=e&&window.setTimeout(function(){t.val(t.val().substring(0,e))},5)}function o(t,e){return t.length>=e?t.substring(0,e):t}function s(t){return t.replace(/\D/g,"")}function r(t){var e,i,n=t.replace(/[^0-9\.]+/g,"");return n="."===n[0]?"0"+n:n,e=n.split("."),i=e.length>1?e[0]+"."+e[1]:e[0]}function a(t){return t.replace(/[^a-zA-Z\s'-]+/g,"")}var l=this;this.selected=["Comments Section","Status Message"],this.track=[],this.$component.attr("id","j120-smart-response"),this.initWindow(),this.otp(),this.confirmEdit(),this.survey(),this.initSelect2(),this.reinit_parsley(),this.countdown(parseInt(t(".j120-smart-response--countdown").attr("data-time"))),this.$component.find(".button[data-max]").each(function(){}),this.$component.find(".j120-smart-response--happinEX-fieldset__wrapper").each(function(){var e=t(this).find(".button[data-max]"),i=t(this).find(".j120-form-field__messages-max"),n=parseInt(e.attr("data-max")),o=parseInt(e.attr("data-min")),s=0;t(this).find(".j120-smart-response--happinEX_improveBox").each(function(){t(this).prop("checked")&&s++}),n>=s&&s>=o?(e.removeClass("disabled"),e.attr("disabled",!1)):(e.addClass("disabled"),e.attr("disabled",!0)),s>n?i.fadeIn():i.fadeOut()}),t("[ data-parsley-maxnumber ]").off("keypress.truncate").on("keypress.truncate",function(){n(t(this),parseInt(t(this).attr("data-parsley-maxnumber")))}),t("[ data-parsley-maxnumber ]").off("paste.truncate").on("paste.truncate",function(){e(t(this),"truncate",parseInt(t(this).attr("data-parsley-maxnumber")))}),t(".j120-smart-response--content").hasClass("j120-smart-response--happinEX")&&l.happinEX(),t(".j120-smart-response--upload").not(".button[data-uploader-button]").off("click.upload").on("click.upload",function(){t(".button[data-uploader-button]").click()}),t(".j120-smart-response--img-buttonclick").off("click.img").on("click.img",function(){var e=t(this).attr("src");t(".j120-smart-response--img-button--trigger").closest(".m39-modal").find(".j120-smart-response--img").attr("src",e),t(".j120-smart-response--img-button--trigger").click()}),t(".j120-smart-response--survey_improve--suggest").off("click.suggest").on("click.suggest",function(){t(this).toggleClass("j120-smart-response--survey_improve--suggestA"),t(this).find(".j120-smart-response--survey_improveBox").prop("checked",!t(this).find(".j120-smart-response--survey_improveBox").prop("checked"))}),t(".j120-smart-response--lang_card").off("click.suggest").on("click.suggest",function(){t(".j120-smart-response--lang_card").each(function(){t(this).removeClass("j120-smart-response--lang_cardA"),t(this).find(".j120-smart-response--langBox").prop("checked",!1)}),t(this).addClass("j120-smart-response--lang_cardA"),t(this).find(".j120-smart-response--langBox").prop("checked",!t(this).find(".j120-smart-response--langBox").prop("checked"))}),t(window).off("resize").on("resize",function(){l.initWindow()}),t(window).off("j120_load").on("j120_load",function(){l.loading()}),t(window).off("reinit_j120").on("reinit_j120",function(){l.init()})},n.prototype.initWindow=function(){var e=void 0==t(".notification-newstyle").height()?0:t(".notification-newstyle").height(),i=void 0==t(".m71-cookie").height()?0:t(".m71-cookie").height(),n=void 0==t(".m13-footer--floating").height()?0:t(".m13-footer--floating").height(),o=t(window).height()-t("header").height()-e-i-n,s=t(".box--7"),r=(t(s).find(".j120-smart-response--window"),t(s).find(".j120-smart-response--alert")),a=t(s).find(".j120-smart-response--content");s.css("height",o.toString()+"px"),t(".j120-smart-response--content-content").fadeIn(800);var l=r.length>0?r.outerHeight(!0):null;(s.height()-a.height())/2-l>=0?(t(a).css("margin-top",((s.height()-a.height())/2-l).toString()+"px"),t(".j120-smart-response--survey_page").css("position","fixed")):(t(a).attr("style",""),t(".j120-smart-response--survey_page").css("position","fixed")),t(a).fadeIn(400),t(".j120-smart-response--content-content").addClass("j120-smart-response--content__loaded")},n.prototype.confirmEdit=function(){var e=t(".j120-smart-response--confirm_edit"),i=t(".j120-smart-response--confirm"),n=t(".j120-smart-response--confirm_form"),o=t(".j120-smart-response--confirm_formModal"),s=o.find(".m39-modal__dialog"),r=t(".j120-smart-response--confirm_save");e.off("click").on("click",function(){var e=12;i.find(".m42-keyvalue__value[data-type]").each(function(){var e=t(this).data("type"),i=t(this);n.find("input, textarea").each(function(){var n=t(this).data("type");e==n&&("mobile"==e?t(this).val(i.html().slice(-9)):t(this).val(i.html()))})}),s.children().each(function(){e+=t(this).outerHeight(!0)}),s.css("height",e.toString()+"px"),o.find(".m39-modal__trigger").click()}),r.off("click").on("click",function(){var e=0;n.find("input, textarea").each(function(){t(this).parsley().validate(),t(this).parsley().isValid()||e++}),0==e&&(n.find("input, textarea").each(function(){var e=t(this).data("type"),n=t(this);i.find(".m42-keyvalue__value[data-type]").each(function(){var i=t(this).data("type");e==i&&("mobile"==e?t(this).html("0"+n.val().toString()):t(this).html(n.val()))})}),o.find(".m39-modal__button--close").click())}),o.find(".m39-modal__button--close").off("click.close").on("click.close",function(){n.find("input, textarea").each(function(){t(this).parsley().reset(),t(this).closest(".form-field__input-wrapper").removeClass("form-field__input-wrapper--validated"),t(this).closest(".form-field__input-wrapper").removeClass("form-field__input-wrapper--error"),t(this).closest(".form-field").find(".parsley-errors-list").remove()})})},n.prototype.otp=function(){var e=t(".form-field--otp"),i=e.find(".form-field__input--otp");e.find(".form-field__input--otp_main");i.each(function(){var e=t(this);e.off("keyup.otp").on("keyup.otp",function(){e.val().length>0&&(e.focusout(),e.closest(".form-field__input-wrapper_otp").next().find(".form-field__input--otp").focus())})}),t(".form-field__input--otp").on("keyup blur",function(){var e="";t.each(t(".form-field__input--otp"),function(){e+=t(this).val()}),t(".form-field__input--otp_main").val(e)})},n.prototype.survey=function(){var e=t(".j120-smart-response--survey__wrapper"),i=t(".j120-smart-response--survey_back");
t(".j120-smart-response--survey_Tpage").html(e.length),t(".j120-smart-response--survey_Cpage").html("1"),i.off("click.back").on("click.back",function(){e.each(function(){if("block"==t(this).css("display")){var e=t(this).prev(),n=e.attr("data-page"),o=t(this),s=t(this).prev().prev();o.fadeOut(400),setTimeout(function(){e.fadeIn(400),setTimeout(function(){t(window).trigger("resize"),t(".j120-smart-response--survey_Cpage").html(n)},50)},400),0==s.length&&i.fadeOut()}})}),e.each(function(){var e=t(this),n=e.find(".j120-smart-response--survey_improve"),o=e.next().attr("data-page"),s=e.find('.button--next:not([type="submit"])'),r=t(this).find(".j120-smart-response--survey_star--item");s.off("click.surveynext").on("click.surveynext",function(n){n.preventDefault(),0!=e.next().length?(e.fadeOut(400),setTimeout(function(){e.next().fadeIn(400),setTimeout(function(){t(window).trigger("resize"),t(".j120-smart-response--survey_Cpage").html(o)},50)},400)):e.find(".form-field__button").fadeIn(),i.fadeIn()}),r.each(function(){var s=t(this);s.off("click.star").on("click.star",function(){var a=1;r.each(function(){t(this).removeClass("j120-smart-response--survey_star--itemactive")}),r.each(function(){return t(this).attr("star-index")==s.attr("star-index")?!1:(t(this).addClass("j120-smart-response--survey_star--itemactive"),void a++)}),s.addClass("j120-smart-response--survey_star--itemactive"),s.closest(".j120-smart-response--survey_star--wrapper").find(".j120-smart-response--survey_starTotal").val(a),4>a?"none"==n.css("display")&&(n.fadeIn(100),e.addClass("mt24"),t(window).trigger("resize"),0==e.next().length&&e.find(".form-field__button").fadeIn()):(n.fadeOut(100),0!=e.next().length?(e.fadeOut(400),setTimeout(function(){e.removeClass("mt24"),e.next().fadeIn(400),n.find(".j120-smart-response--survey_improve--suggestA").each(function(){t(this).click()}),n.find("input, textarea").each(function(){t(this).val("")}),setTimeout(function(){t(window).trigger("resize"),t(".j120-smart-response--survey_Cpage").html(o)},50)},400),e.find(".form-field__button").fadeOut(),i.fadeIn()):(e.find(".form-field__button").fadeIn(),n.fadeOut(100),setTimeout(function(){n.find(".j120-smart-response--survey_improve--suggestA").each(function(){t(this).click()}),n.find("input, textarea").each(function(){t(this).val("")}),t(window).trigger("resize")},110),i.fadeIn()))})})})},n.prototype.reinit_parsley=function(){var e,i,n,o,s=this,r=t('[ data-el="datepicker-future" ]'),a=t('[ data-el="datepicker-past" ]'),l=t('[ data-el="datepicker" ]'),c={closeOnSelect:!0,format:"d mmmm yyyy",formatSubmit:"d mmmm yyyy",onStart:function(){var t,e=this.$node;e.data("initial-date")&&(t=new Date(e.data("initial-date")),this.set("select",[t.getFullYear(),t.getMonth(),t.getDate()]))},onOpen:function(){s.scrollIntoView(this.$node)},onClose:function(){this.component.$node.parsley().validate()}};t(".j120-smart-response").find(".form, input, select, textarea").each(function(){t(this).parsley()}),l.each(function(n,r){e=t(r),i=e.data("picker-options"),o="#"+e.parents(".form-field").attr("id"),"string"==typeof i?i=JSON.parse(i):"object"!=typeof i&&(i={}),e.pickadate(t.extend(!0,i,c)),e.data("ref")&&e.on("change",s.setConstraints),e.after('<span data-clicker="'+o+'" class="form-field__datepicker-icon-clicker"></span>')}),r.each(function(r,a){if(e=t(a),n=e.data("date-max"),i=e.data("picker-options"),o="#"+e.parents(".form-field").attr("id"),"string"==typeof i?i=JSON.parse(i):"object"!=typeof i&&(i={}),"object"==typeof n){var l=n[0],d=n[1],h=n[2],u=new Date;u.setDate(u.getDate()+l),u.setMonth(u.getMonth()+d),u.setFullYear(u.getFullYear()+h),n={max:u}}else"object"!=typeof n&&(n={});e.pickadate(t.extend(!0,{container:o,min:new Date},i,n,c)),e.data("ref")&&e.on("change",s.setConstraints),e.after('<span data-clicker="'+o+'" class="form-field__datepicker-icon-clicker"></span>')}),a.each(function(n,r){e=t(r),i=e.data("picker-options"),o="#"+e.parents(".form-field").attr("id"),"string"==typeof i?i=JSON.parse(i):"object"!=typeof i&&(i={}),e.pickadate(t.extend(!0,{container:o,max:new Date},i,c)),e.data("ref")&&e.on("change",s.setConstraints),e.after('<span data-clicker="'+o+'" class="form-field__datepicker-icon-clicker"></span>')})},n.prototype.initSelect2=function(){var i;i=t(".j120-smart-response").hasClass("j120-smart-response--rtl")?"rtl":"ltr",t(".form-field__input--select2").each(function(){var i=t(this).closest(".form-field");t(this).select2({width:"100%",dropdownParent:t(".j120-smart-response")}),i.find(".select2-selection__arrow").remove(),i.find(".select2-selection").css("height","auto"),t(this).hasClass("j120-location-form-field__input--select2")&&!e.isRTL()||!t(this).hasClass("j120-location-form-field__input--select2")&&e.isRTL()?i.find(".select2-selection__rendered").css({padding:"5px 12px 8px","padding-left":"44px"}):(t(this).hasClass("j120-location-form-field__input--select2")&&e.isRTL()||!t(this).hasClass("j120-location-form-field__input--select2")&&!e.isRTL())&&i.find(".select2-selection__rendered").css({padding:"5px 12px 8px","padding-right":"44px"})}),t(".j120-smart-response").hasClass("j120-smart-response--rtl")&&setTimeout(function(){t(".select2-results__options").addClass("j120-smart-response--rtl")},500)},n.prototype.countdown=function(e){var i=this,n=t(".j120-smart-response--countdown");n.html(e),setTimeout(function(){e-=1,e>=0&&i.countdown(e)},1e3)},n.prototype.loading=function(){var e=t(".j120-smart-response--content"),i=(e.height()-t(".j120-smart-response--rammas_icon").height(),e.children().not(".j120-smart-response--rammas_icon"));i.each(function(){t(this).addClass("j120-smart-response-opaque")}),t(".j120-smart-response--content-content").append('<div class="j120-smart-response--clearscreen"></div>')},n.prototype.happinEX=function(){var i=this,n=t(".j120-smart-response--happinEX_rxn"),o=t(".j120-smart-response--happinEX-main"),s=t(".j120-smart-response--happinEX_improve--suggestTD"),r=t(".j120-smart-response--happinEX-pseudoradio"),a=t(".j120-smart-response--happinex_back");t(".j120-smart-response--survey__wrapper");a.off("click.back").on("click.back",function(){var e=t('div[data-active="true"]'),n=e.prev();if(n.hasClass("j120-smart-response--happinEX-main"))if(n.find(".j120-smart-response--happinEX-mainTD").length>0){var o=n.find(".j120-smart-response--happinEX-yesno").find(".form-field__input--radio:checked").val();"yes"==o.toLowerCase()?(e.fadeOut(400),t('div[data-active="true"]').attr("data-active",""),setTimeout(function(){n.fadeIn(400),n.find(".j120-smart-response--happinEX-mainTD:last-child").fadeIn(400),n.find(".j120-smart-response--happinEX-mainTD:last-child").attr("data-active","true"),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},400)):(e.fadeOut(400),t('div[data-active="true"]').attr("data-active",""),setTimeout(function(){n.fadeIn(400),n.find(".j120-smart-response--happinEX-mainTD:first-child").fadeIn(400),n.find(".j120-smart-response--happinEX-mainTD:first-child").attr("data-active","true"),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},400))}else e.fadeOut(400),t('div[data-active="true"]').attr("data-active",""),setTimeout(function(){n.fadeIn(400),n.attr("data-active","true"),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},400),0==n.prev().length&&t(this).fadeOut();else n.length>0&&(e.fadeOut(400),t('div[data-active="true"]').attr("data-active",""),setTimeout(function(){n.fadeIn(400),n.attr("data-active","true"),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},400),0==n.prev().length&&t(this).fadeOut())}),r.each(function(){t(this);t(this).find(".form-field__radio").each(function(){t(this).off("click.pseudo").on("click.pseudo",function(){var e=t(this).closest(".j120-smart-response--happinEX-mainTD").find(".button--next");e.removeClass("disabled"),e.attr("disabled",!1)})})}),o.each(function(){var e=t(this),n=e.find("button.button--next").not(".button--TD"),o=e.find("button.button--TD"),l=e.find(".form-field--happinEX-hidden"),c=t(this).next();o.off("click.TD").on("click.TD",function(){var e=t(this).closest(".j120-smart-response--happinEX-mainTD"),o=e.find(".j120-smart-response--happinEX-yesno").find(".form-field__input--radio:checked").val();"yes"==o.toLowerCase()?(e.fadeOut(400),t('div[data-active="true"]').attr("data-active",""),setTimeout(function(){e.next().fadeIn(400),e.next().attr("data-active","true"),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},400)):(e.next().fadeOut(),n.trigger("click.Bnext")),a.fadeIn()}),n.off("click.Bnext").on("click.Bnext",function(){var n=0;if(0!=l.length&&(l.find("input").parsley().validate(),"block"!=l.css("display")||l.find("input").parsley().isValid()||n++),0==n){var o=r.find(".form-field__input--radio:checked").val();e.fadeOut(400),t('div[data-active="true"]').attr("data-active",""),setTimeout(function(){c.fadeIn(400),c.attr("data-active","true"),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},400),s.each(function(){if(void 0!=t(this).data("tdtag")){var e=t(this).data("tdtag").split(",");e.includes(o)?t(window).width()<=599?t(this).css("display","table"):t(this).css("display","inline-block"):t(this).css("display","none")}}),a.fadeIn()}})}),t(".j120-smart-response--happinEX-radios").find(".form-field__fakeradio").each(function(){var e=this;t(this).off("click.Hradio").on("click.Hradio",function(){setTimeout(function(){"others"==t(e).closest(".form-field__radio").find("input").val().toLowerCase()&&1==t(e).closest(".form-field__radio").find("input").prop("checked")?t(".form-field--happinEX-hidden").fadeIn():t(".form-field--happinEX-hidden").fadeOut()},50)})}),t(".j120-smart-response--happinEX_improve--suggest").off("click.suggest").on("click.suggest",function(){var e=t(this).closest(".j120-smart-response--happinEX-fieldset__wrapper"),n=e.find(".button[data-max]"),o=e.find(".j120-form-field__messages-max"),s=t(this).find(".j120-smart-response--happinEX_improveBox").val(),r=parseInt(n.attr("data-max")),a=parseInt(n.attr("data-min")),l=0;t(this).toggleClass("j120-smart-response--happinEX_improve--suggestA"),t(this).find(".j120-smart-response--happinEX_improveBox").prop("checked",!t(this).find(".j120-smart-response--happinEX_improveBox").prop("checked")),t(this).hasClass("j120-smart-response--happinEX_improve--suggestMain")&&!i.selected.includes(s)?i.selected.unshift(s):t(this).hasClass("j120-smart-response--happinEX_improve--suggestMain")&&i.selected.includes(s)&&i.selected.splice(i.selected.indexOf(s),1),e.find(".j120-smart-response--happinEX_improveBox").each(function(){t(this).prop("checked")&&l++}),r>=l&&l>=a?(n.removeClass("disabled"),n.attr("disabled",!1)):(n.addClass("disabled"),n.attr("disabled",!0)),l>r?o.fadeIn():o.fadeOut()}),t(".j120-smart-response--happinEX-fieldset__wrapper").each(function(){t(this).attr("data-track",e.uniqueID())}),n.each(function(){t(this).off("click.reax").on("click.reax",function(){var e=t(this).find(".j120-smart-response--happinEX_rxnBox"),n=e.val(),o=t(".j120-smart-response--smiley_back"),s=0,r=t('.j120-smart-response--happinEX-form__wrapper[data-reaction="'+n+'"]');e.prop("checked",!0),t(".j120-smart-response--happinex_back").hide(),o.show(),t(".j120-smart-response--happinEX_rxn__wrapper").prepend('<div class="j120-smart-response--happinEX_rxn--blocker"></div>'),o.off("click.back").on("click.back",function(){if("none"!=r.find(".j120-smart-response--happinEX-fieldset__wrapper:first-child").css("display"))r.find(".j120-smart-response--happinEX_improve--suggestA").trigger("click"),r.fadeOut(400),t(".j120-smart-response--happinEX-initial").find(".j120-smart-response--happinEX__title, .j120-smart-response--happinEX__subtitle, .j120-smart-response--happinEX_rxn").not(t(this)).each(function(){var e=t(this);e.removeClass("hidden"),setTimeout(function(){e.animate({width:"100%"},500,function(){e.animate({height:"500px"},500,function(){e.animate({opacity:"1"},100)})})},750)}),setTimeout(function(){setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},1e3),t(".j120-smart-response--happinEX_rxn--blocker").remove(),t(".j120-smart-response--happinex_back").show(),o.hide();else{var e;r.find(".j120-smart-response--happinEX-fieldset__wrapper").each(function(){"block"==t(this).css("display")&&(e=t(this),e.find(".j120-smart-response--happinEX_improve--suggestA").trigger("click"),e.find(".form-field__input--textarea").val(""))}),e.fadeOut(400),setTimeout(function(){r.find('.j120-smart-response--happinEX-fieldset__wrapper[data-track="'+i.track[0]+'"]').fadeIn(400),i.track.splice(0,1),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},400),s-=1}}),t(".j120-smart-response--happinEX-initial").find(".j120-smart-response--happinEX__title, .j120-smart-response--happinEX__subtitle, .j120-smart-response--happinEX_rxn").not(t(this)).each(function(){var e=t(this);t(this).animate({opacity:"0"},100,function(){t(this).animate({height:"0px"},100,function(){t(this).animate({width:"0px"},100)})}),setTimeout(function(){e.addClass("hidden")},750)}),setTimeout(function(){r.fadeIn(400),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},750),r.find(".j120-smart-response--happinEX-fieldset__wrapper").each(function(){var e=t(this),n=e.find(".button[data-max]");n.off("click.surveynext").on("click.surveynext",function(n){if(0!=i.selected.length){var o=r.find('.j120-smart-response--happinEX-fieldset__wrapper[data-set="'+i.selected[s]+'"]');e.fadeOut(400),setTimeout(function(){o.fadeIn(400),setTimeout(function(){t(window).trigger("resize"),t(window).width()<=599&&i.toTop()},50)},400)}else r.find(".form-field__button").fadeIn();i.track.unshift(t(this).closest(".j120-smart-response--happinEX-fieldset__wrapper").attr("data-track")),"true"==t(this).attr("data-submit")&&(t(".j120-smart-response--happinEX-initial").fadeOut(),t(".j120-smart-response--smiley_back").fadeOut()),s+=1})})})})},n.prototype.toTop=function(){e.isWindowsPhone()?t(".j120-smart-response").find(".box--7").scrollTop(0):t(".j120-smart-response").find(".box--7").animate({scrollTop:0},500,function(){t(".j120-smart-response").find(".box--7").focus()})},n}),define("../src/journeys/j121-beneficiary-easy-pay/j121-beneficiary-easy-pay",["jquery","parsley","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};return n.prototype.init=function(){function e(e){a.on("click",function(){t(this).parent().parent().removeClass("edit-mode"),t(this).parent().parent().find(".form-field__input--nickname").val(e);var i=t(this).parent().parent().find(".form-field__messages"),n=t(this).parent().parent().find(".form-field__input--nickname"),o=t(this).parent().parent().find(".form-field__input-wrapper"),s=t(this).parent().parent().find(".form-field__input-read-only");s.css("background-color","#fff"),i.empty(),o.removeClass("form-field__input-wrapper--validated"),o.removeClass("form-field__input-wrapper--error"),n.removeClass("form-field__input--error"),n.removeClass("parsley-error"),n.removeClass("parsley-success"),t(this).parent().parent().removeClass("edit-mode")})}function i(e,i){function n(t){return t?(o(t),a>=t.length&&(a=0),0>a&&(a=t.length-1),void t[a].classList.add("autocomplete-active")):!1}function o(t){for(var e=0;e<t.length;e++)t[e].classList.remove("autocomplete-active")}function s(t){for(var i=document.getElementsByClassName("autocomplete-items"),n=0;n<i.length;n++)t!=i[n]&&t!=e&&i[n].parentNode.removeChild(i[n])}var a;r.on("click",function(){var n,o,r,l=e.val();for(s(),a=-1,n=document.createElement("DIV"),n.setAttribute("id",this.id+"autocomplete-list"),n.setAttribute("class","autocomplete-items"),this.parentNode.appendChild(n),r=0;r<i.length;r++)if(e.val()){if(e.val()&&(i[r].key.substr(0,l.length).toUpperCase()==l.toUpperCase()||i[r].number.substr(0,l.length)==l)){var c=i[r].key+"-"+i[r].number;o=document.createElement("div"),o.className="select_list",o.innerHTML+=c,o.innerHTML+="<input type='hidden' value='"+i[r].number+"'>",n.appendChild(o)}}else{var c=i[r].key+"-"+i[r].number;o=document.createElement("div"),o.className="select_list",o.innerHTML+=c,o.innerHTML+="<input type='hidden' value='"+i[r].number+"'>",n.appendChild(o)}t(".select_list").on("click",function(e){t(".form-field__input-autoselect").val(this.getElementsByTagName("input")[0].value),s()})}),e.on("input",function(e){var n,o,r,l=this.value;for(s(),a=-1,n=document.createElement("DIV"),n.setAttribute("id",this.id+"autocomplete-list"),n.setAttribute("class","autocomplete-items"),this.parentNode.appendChild(n),r=0;r<i.length;r++)if(i[r].key.substr(0,l.length).toUpperCase()==l.toUpperCase()||i[r].number.substr(0,l.length)==l){var c=i[r].key+"-"+i[r].number;o=document.createElement("div"),o.className="select_list",o.innerHTML+=c,o.innerHTML+="<input type='hidden' value='"+i[r].number+"'>",n.appendChild(o)}t(".select_list").on("click",function(e){t(".form-field__input-autoselect").val(this.getElementsByTagName("input")[0].value),s()})}),e.keypress(function(t){var e=document.getElementById(this.id+"autocomplete-list");e&&(e=e.getElementsByTagName("div")),40==t.keyCode?(a++,n(e)):38==t.keyCode?(a--,n(e)):13==t.keyCode&&(t.preventDefault(),a>-1&&e&&e[a].click())}),t(document).click(function(e){t(e.target).hasClass("icon-open")||s(e.target)})}var n=this.$journey.find(".form-field__input-autoselect"),o=n.data("beneficiary-number"),s=(this.$journey.find(".form-field-group"),this.$journey.find(".form-field-group .deleteBtn"),this.$journey.find(".form-field-group .editBtn")),r=(this.$journey.find(".form-field-group .button--save"),this.$journey.find(".form-field__input-arrow .icon-open")),a=this.$journey.find(".form-field-group .button--cancel");s.on("click",function(){t(this).parent().addClass("edit-mode");var i=t(this).parent().find(".form-field__input--nickname").val(),n=t(this).parent().find(".form-field__input-read-only");n.css("background-color","#f6f6f6"),e(i)}),i(n,o)},n}),define("../src/journeys/j122-calls-inquiries/j122-calls-inquiries",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){function e(t,e){setTimeout(function(){t.removeClass("survey_block_active"),e.addClass("survey_block_active"),e.hasClass("last")?(d.show(),h.hide(),u.show()):(d.show(),h.show(),e.hasClass("selected-block")||(h.attr("disabled","disabled"),h.addClass("disabled")))},500)}function i(t,e){setTimeout(function(){t.removeClass("survey_block_active"),e.addClass("survey_block_active"),p.hide(),h.removeAttr("disabled"),h.removeClass("disabled"),e.hasClass("first")?(d.hide(),h.show(),u.hide()):(d.show(),h.show(),u.hide())},500)}function n(t){setTimeout(function(){var e=t.closest(".survey_block"),i=e.find("#rangeslider");i.val()>i.attr("min")&&(e.addClass("selected-block"),h.removeAttr("disabled"),h.removeClass("disabled"),e.hasClass("last")&&(u.removeAttr("disabled"),u.removeClass("disabled"))),i.val()==i.attr("min")&&(h.attr("disabled","disabled"),h.addClass("disabled"),e.removeClass("selected-block"),e.hasClass("last")&&(u.attr("disabled","disabled"),u.addClass("disabled"),e.removeClass("selected-block")))},300)}var o=this.$journey.find("[data-ranger-block]"),s=o.find(".sliderticks .ticks"),r=o.find(".rangeslider_click"),a=o.find("#rangeslider"),l=this.$journey.find("[data-radio-trigger]"),c=this.$journey.find("[data-radio]"),d=this.$journey.find(".button--back"),h=this.$journey.find(".button--next"),u=this.$journey.find(".button--submit"),p=this.$journey.find(".survey_warning-message"),f=this.$journey.find(".survey_block");1===f.length&&(d.hide(),h.hide(),u.show()),s.on("click",function(){n(t(this))}),r.on("click",function(){n(t(this))}),a.on("mouseup touchend",function(e){n(t(this))}),l.on("click",function(){var e=t(this).attr("data-radio-trigger"),i=t(this).closest(".survey_block");l.removeClass("button--survey-active"),h.removeAttr("disabled"),h.removeClass("disabled"),i.addClass("selected-block"),p.hide(),t(this).addClass("button--survey-active"),c.each(function(){var i=t(this).attr("data-radio");t(this).attr("checked",!1),e==i&&(t(this).trigger("click"),t(this).attr("checked",!0))}),i.hasClass("last")&&u.show()}),f.length>1&&(f.last().addClass("last"),f.first().addClass("first"),h.show(),h.on("click",function(){var i=t(this).closest(".survey_wrapper"),n=i.find(".survey_block_active"),o=n.next(".survey_block");n.find("input[type=radio]").length>0?n.find("input[type=radio]:checked").length>0?e(n,o):p.show():e(n,o)}),d.on("click",function(){var e=t(this).closest(".survey_wrapper"),n=e.find(".survey_block_active"),o=n.prev(".survey_block");i(n,o)}))},i}),define("../src/journeys/j130-conservation-award/j130-conservation-award",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){this.$journey.find(".form-field__checkbox");t(".form-field__fakecheckbox").on("click",function(){var e=t(this).closest(".form-field__checkbox"),i=e.find(".form-field__input--checkbox");if(i.is(":checked")){var e=t(this).closest(".form-field__checkbox");e.nextUntil(t(".form-field__checkbox"),t(".checkbox-text")).hide(),e.nextUntil(t(".form-field__checkbox"),t(".checkbox-text")).find(".form-field__input").prop("required",!1),e.nextUntil(t(".form-field__checkbox"),t(".checkbox-text")).find(".form-field__input").removeClass("form-field__input--error"),e.nextUntil(t(".form-field__checkbox"),t(".checkbox-text")).find(".form-field__input-wrapper").removeClass("form-field__input-wrapper--error"),e.nextUntil(t(".form-field__checkbox"),t(".checkbox-text")).find(".form-field__messages").empty()}else{var e=t(this).closest(".form-field__checkbox");e.nextUntil(t(".form-field__checkbox"),t(".checkbox-text")).show(),e.nextUntil(t(".form-field__checkbox"),t(".checkbox-text")).find(".form-field__input").prop("required",!0)}})},i}),define("../src/journeys/j131-scrap-sales/j131-scrap-sale",function(){}),define("../src/journeys/j132-happinex/j132-happinex",["jquery","lib/utils","parsley"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){var e=this;this.panel=0,this.intro(),this.checkboxes(),this.misc(),t(window).on("resize",function(){setTimeout(function(){e.intro(),e.scroll(!1,!1)},250)})},i.prototype.progress=function(){var e=this,i=(t(".j132-happinex--panel--active").index()-1)/(t(".j132-happinex--panel").length-1)*100;t(".j132-happinex--trackergreenbar").css("width",i.toString()+"%"),t(".j132-happinex--trackernum").find("span").html(i.toString().slice(0,5)),t(".j132-happinex--trackernum").find("span").css("padding-left","calc("+i.toString()+"% - 18px)"),this.panel++,0>i?e.$journey.find(".j132-happinex--tracker").css("opacity","0"):e.$journey.find(".j132-happinex--tracker").css("opacity","1")},i.prototype.misc=function(){var e=this;this.$journey.find(".j132-happinex--start").off("click.start").on("click.start",function(){var i=0;t(this).closest(".j132-happinex--panel--active").find("input, select").not(".j132-happinex--emoticon-cbox").each(function(){t(this).height()>0&&(t(this).parsley().validate(),t(this).parsley().isValid()||i++)}),0==i&&e.scroll(!0,!1)}),this.$journey.find(".j132-happinex--back").off("click.start").on("click.start",function(){e.scroll(!0,!0)}),t(".j132-happinex--radios").find(".form-field__input--radio").on("click",function(){t(this).hasClass("j132-happinex--branching")?t(".j132-happinex--panel[panel-tag="+t(this).attr("panel-targets")+"]").removeClass("j132-happinex--panel-branch"):t(this).hasClass("j132-happinex--notbranching")&&t(".j132-happinex--panel[panel-tag="+t(this).attr("panel-targets")+"]").addClass("j132-happinex--panel-branch"),0==t(this).attr("toggle-target").length?(t(this).closest(".j132-happinex--panel--active").find(".j132-happinex--start").css("display","none"),setTimeout(function(){e.scroll(!0,!1)},100)):(t(this).closest(".j132-happinex--panel--active").find(".j132-happinex--start").css("display","inline-block"),setTimeout(function(){e.scroll(!1,!1)},100))}),this.$journey.find(".m76-range-slider").find(".range").on("change",function(){1==t(this).val()||2==t(this).val()||3==t(this).val()?(t(this).closest(".j132-happinex--panel--active").find(".form-field--textarea").css("display","block"),t(this).closest(".j132-happinex--panel--active").find(".j132-happinex--start").css("display","inline-block"),setTimeout(function(){e.scroll(!1,!1)},100)):(t(this).closest(".j132-happinex--panel--active").find(".form-field--textarea").css("display","none"),t(this).closest(".j132-happinex--panel--active").find(".j132-happinex--start").css("display","none"),e.scroll(!0,!1))}),this.$journey.find(".m76-range-slider").find(".ticks").off("click.happinex").on("click.happinex",function(){t(this).closest(".m76-range-slider").find(".range").trigger("change")})},i.prototype.intro=function(){var e,i=t(window).height(),n=t(".m12-masthead").outerHeight(!0),o=t(".j132-happinex--tracker").outerHeight(!0),s=this.$journey.find(".j132-happinex--screen"),r=this.$journey.find(".j132-happinex--intro"),a=this.$journey.find(".j132-happinex--panel");r.attr("style",""),s.css("height",(i-n-o).toString()+"px"),a.css("max-height",(i-n-o).toString()+"px"),e=(i-(r.height()+n+o))/2,r.css({paddingTop:e.toString()+"px",height:(i-n-o).toString()+"px"}),s.css("opacity","1")},i.prototype.scroll=function(i,n){for(var o=(t(window).height(),t(".j132-happinex--scroll")),s=(t(".m12-masthead").outerHeight(!0),t(".j132-happinex--tracker").outerHeight(!0),0),r=t(".j132-happinex--panel--active"),a=this.$journey.find(".j132-happinex--screen"),l=t(".j132-happinex--panel--active").next(),c=t(".j132-happinex--panel--active").prev();l.hasClass("j132-happinex--panel-branch");)l=l.next();for(;c.hasClass("j132-happinex--panel-branch");)c=c.prev();i&&(n?(c.addClass("j132-happinex--panel--active"),r.removeClass("j132-happinex--panel--active")):(l.addClass("j132-happinex--panel--active"),r.removeClass("j132-happinex--panel--active"))),t(".j132-happinex--panel--active").prevAll().each(function(){s+=t(this).outerHeight(!0)}),"l"===e.breakpoint()?n?o.css("top","-"+(s-30+t(".j132-happinex--panel--active").outerHeight(!0)-this.$journey.find(".j132-happinex--screen").outerHeight(!0)).toString()+"px"):o.css("top","-"+(s-30+t(".j132-happinex--panel--active").outerHeight(!0)-this.$journey.find(".j132-happinex--screen").outerHeight(!0)).toString()+"px"):(i&&setTimeout(function(){a.scrollTop(0)},250),o.css("top","0px")),i&&this.progress()},i.prototype.checkboxes=function(){t(".j132-happinex--emoticon_wrapper").find(".j132-happinex--emoticon").each(function(){t(this).on("click.cbox",function(){t(this).closest(".j132-happinex--emoticon_wrapper").find(".j132-happinex--emoticon").each(function(){t(this).removeClass("j132-happinex--emoticon_active"),t(this).find(".j132-happinex--emoticon-cbox").prop("checked",!1)}),t(this).addClass("j132-happinex--emoticon_active"),t(this).find(".j132-happinex--emoticon-cbox").prop("checked",!0)})})},i}),define("../src/journeys/j133-owner-tracking-system/j133-owner-tracking-system",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e=this,i=document.createElement("script"),n="https://maps.googleapis.com/maps/api/js?key=AIzaSyD3S3q5M76YS9fx9vCM7Mmk2NNLGT0A1nk&callback=initMap&libraries=&v=weekly";i.type="text/javascript",i.src=n+"&callback=j133InitializeGMap",document.body.appendChild(i),window.j133InitializeGMap=function(){e.map=new google.maps.Map(document.getElementById("j133map"),{zoom:13,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,streetViewControl:!1,fullscreenControl:!1,center:new google.maps.LatLng(25.2276388,55.3245075)}),t(window).trigger("j133MapLoaded")},t(window).on("j133MapLoaded",function(){e.markers=[],e.map.addListener("click",function(i){for(var n=0;n<e.markers.length;n++)e.markers[0].setMap(null);e.markers=[];var o=new google.maps.Marker({position:i.latLng,map:e.map});e.markers.push(o),t(".j133-owner-tracking-system-map_latlng").attr("data-latlng",JSON.stringify(i.latLng.toJSON(),null,2));var s=new google.maps.Geocoder,r=new google.maps.InfoWindow;s.geocode({location:i.latLng.toJSON()},function(i,n){"OK"===n?i[0]?(t(".j133-owner-tracking-system-map_address").html(i[0].formatted_address),r.setContent(i[0].formatted_address),r.open(e.map,o)):window.alert("No results found"):window.alert("Geocoder failed due to: "+n)})})})},e}),define("../src/journeys/j134-infrastructure-noc/j134-infrastructure-noc",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$journey=t,this};return i.prototype.init=function(){var e=this.$journey.find(".request_links a"),i=(e.find("[data-trigger]"),t(".j134-infrastructure-noc-tab-modal")),n=i.find(".m39-modal__tabs li");e.on("click",function(){var e=t(this).attr("class"),n=e+"__trigger",o=t(this).data("tab");if(o){var s=i.find(".m39-modal__tabs"),r=i.find(".m39-modal__tabs-content");r.find(".m39-modal__tabs-content-section").addClass("hidden"),s.find("li").removeClass("active"),s.find(".tab-"+o).addClass("active"),r.find(".tab-"+o).removeClass("hidden")}t("."+n).trigger("click")}),n.on("click",function(){var e=t(this).data("tab"),o=i.find(".m39-modal__tabs-content");n.removeClass("active"),t(this).addClass("active"),o.find(".m39-modal__tabs-content-section").addClass("hidden"),o.find(".tab-"+e).removeClass("hidden")})},i}),function(t){"use strict";"function"==typeof define&&define.amd?define("slick",["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};e=function(){function e(e,n){var o,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(e),appendDots:t(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return'<button type="button" data-role="none" role="button" aria-required="false" tabindex="0">'+(e+1)+"</button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.hidden="hidden",s.paused=!1,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=t(e),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,o=t(e).data("slick")||{},s.options=t.extend({},s.defaults,o,n),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,"undefined"!=typeof document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=t.proxy(s.autoPlay,s),s.autoPlayClear=t.proxy(s.autoPlayClear,s),
s.changeSlide=t.proxy(s.changeSlide,s),s.clickHandler=t.proxy(s.clickHandler,s),s.selectHandler=t.proxy(s.selectHandler,s),s.setPosition=t.proxy(s.setPosition,s),s.swipeHandler=t.proxy(s.swipeHandler,s),s.dragHandler=t.proxy(s.dragHandler,s),s.keyHandler=t.proxy(s.keyHandler,s),s.autoPlayIterator=t.proxy(s.autoPlayIterator,s),s.instanceUid=i++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0),s.checkResponsive(!0)}var i=0;return e}(),e.prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var o=this;if("boolean"==typeof i)n=i,i=null;else if(0>i||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?t(e).appendTo(o.$slideTrack):n?t(e).insertBefore(o.$slides.eq(i)):t(e).insertAfter(o.$slides.eq(i)):n===!0?t(e).prependTo(o.$slideTrack):t(e).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),o.$slidesCache=o.$slides,o.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var n={},o=this;o.animateHeight(),o.options.rtl===!0&&o.options.vertical===!1&&(e=-e),o.transformsEnabled===!1?o.options.vertical===!1?o.$slideTrack.animate({left:e},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:e},o.options.speed,o.options.easing,i):o.cssTransitions===!1?(o.options.rtl===!0&&(o.currentLeft=-o.currentLeft),t({animStart:o.currentLeft}).animate({animStart:e},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),o.options.vertical===!1?(n[o.animType]="translate("+t+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),e=Math.ceil(e),o.options.vertical===!1?n[o.animType]="translate3d("+e+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+e+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout(function(){o.disableTransition(),i.call()},o.options.speed))},e.prototype.asNavFor=function(e){var i=this,n=i.options.asNavFor;n&&null!==n&&(n=t(n).not(i.$slider)),null!==n&&"object"==typeof n&&n.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};e.options.fade===!1?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer),t.slideCount>t.options.slidesToShow&&t.paused!==!0&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this;t.options.infinite===!1?1===t.direction?(t.currentSlide+1===t.slideCount-1&&(t.direction=0),t.slideHandler(t.currentSlide+t.options.slidesToScroll)):(t.currentSlide-1===0&&(t.direction=1),t.slideHandler(t.currentSlide-t.options.slidesToScroll)):t.slideHandler(t.currentSlide+t.options.slidesToScroll)},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,i,n=this;if(n.options.dots===!0&&n.slideCount>n.options.slidesToShow){for(i='<ul class="'+n.options.dotsClass+'">',e=0;e<=n.getDotCount();e+=1)i+="<li>"+n.options.customPaging.call(this,n,e)+"</li>";i+="</ul>",n.$dots=t(i).appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}),e.$slidesCache=e.$slides,e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),(e.options.centerMode===!0||e.options.swipeToSlide===!0)&&(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,n,o,s,r,a=this;if(n=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,o=Math.ceil(s.length/r),t=0;o>t;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var d=t*r+(e*a.options.slidesPerRow+i);s.get(d)&&c.appendChild(s.get(d))}l.appendChild(c)}n.appendChild(l)}a.$slider.html(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var n,o,s,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||t(window).width();if("window"===r.respondTo?s=c:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){o=null;for(n in r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(r.originalSettings.mobileFirst===!1?s<r.breakpoints[n]&&(o=r.breakpoints[n]):s>r.breakpoints[n]&&(o=r.breakpoints[n]));null!==o?null!==r.activeBreakpoint?(o!==r.activeBreakpoint||i)&&(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=o),e||a===!1||r.$slider.trigger("breakpoint",[r,a])}},e.prototype.changeSlide=function(e,i){var n,o,s,r=this,a=t(e.target);switch(a.is("a")&&e.preventDefault(),a.is("li")||(a=a.closest("li")),s=r.slideCount%r.options.slidesToScroll!==0,n=s?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":o=0===n?r.options.slidesToScroll:r.options.slidesToShow-n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-o,!1,i);break;case"next":o=0===n?r.options.slidesToScroll:n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+o,!1,i);break;case"index":var l=0===e.data.index?0:e.data.index||a.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(l),!1,i),a.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i,n=this;if(e=n.getNavigableIndexes(),i=0,t>e[e.length-1])t=e[e.length-1];else for(var o in e){if(t<e[o]){t=i;break}i=e[o]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide),e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&t("li",e.$dots).off("mouseenter.slick",t.proxy(e.setPaused,e,!0)).off("mouseleave.slick",t.proxy(e.setPaused,e,!1))),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.$list.off("mouseenter.slick",t.proxy(e.setPaused,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.setPaused,e,!1)),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&(t=e.$slides.children().children(),t.removeAttr("style"),e.$slider.html(t))},e.prototype.clickHandler=function(t){var e=this;e.shouldClick===!1&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.options.arrows===!0&&(i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove())),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;i.cssTransitions===!1?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;e.cssTransitions===!1?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var t=this;return t.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(t.options.infinite===!0)for(;e<t.slideCount;)++n,e=i+t.options.slidesToShow,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(t.options.centerMode===!0)n=t.slideCount;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToShow,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n-1},e.prototype.getLeft=function(t){var e,i,n,o=this,s=0;return o.slideOffset=0,i=o.$slides.first().outerHeight(!0),o.options.infinite===!0?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,s=i*o.options.slidesToShow*-1),o.slideCount%o.options.slidesToScroll!==0&&t+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(t>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(t-o.slideCount))*o.slideWidth*-1,s=(o.options.slidesToShow-(t-o.slideCount))*i*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,s=o.slideCount%o.options.slidesToScroll*i*-1))):t+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(t+o.options.slidesToShow-o.slideCount)*o.slideWidth,s=(t+o.options.slidesToShow-o.slideCount)*i),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,s=0),o.options.centerMode===!0&&o.options.infinite===!0?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:o.options.centerMode===!0&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),e=o.options.vertical===!1?t*o.slideWidth*-1+o.slideOffset:t*i*-1+s,o.options.variableWidth===!0&&(n=o.slideCount<=o.options.slidesToShow||o.options.infinite===!1?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow),e=n[0]?-1*n[0].offsetLeft:0,o.options.centerMode===!0&&(n=o.options.infinite===!1?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow+1),e=n[0]?-1*n[0].offsetLeft:0,e+=(o.$list.width()-n.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){var e=this;return e.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,o=[];for(e.options.infinite===!1?t=e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,t=2*e.slideCount);t>i;)o.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,n,o=this;return n=o.options.centerMode===!0?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,o.options.swipeToSlide===!0?(o.$slideTrack.find(".slick-slide").each(function(e,s){return s.offsetLeft-n+t(s).outerWidth()/2>-1*o.swipeLeft?(i=s,!1):void 0}),e=Math.abs(t(i).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){var i=this;i.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots()),e&&i.$slider.trigger("init",[i]),i.options.accessibility===!0&&i.initADA()},e.prototype.initArrowEvents=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.on("click.slick",{message:"next"},t.changeSlide))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.setPaused,e,!0)).on("mouseleave.slick",t.proxy(e.setPaused,e,!1))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),e.$list.on("mouseenter.slick",t.proxy(e.setPaused,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.setPaused,e,!1)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.show(),t.options.autoplay===!0&&t.autoPlay()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:"previous"}}):39===t.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:"next"}}))},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),n=document.createElement("img");n.onload=function(){e.animate({opacity:0},100,function(){e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,e,i])})},n.src=i})}var i,n,o,s,r=this;r.options.centerMode===!0?r.options.infinite===!0?(o=r.currentSlide+(r.options.slidesToShow/2+1),s=o+r.options.slidesToShow+2):(o=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),s=2+(r.options.slidesToShow/2+1)+r.currentSlide):(o=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,s=o+r.options.slidesToShow,r.options.fade===!0&&(o>0&&o--,s<=r.slideCount&&s++)),i=r.$slider.find(".slick-slide").slice(o,s),e(i),r.slideCount<=r.options.slidesToShow?(n=r.$slider.find(".slick-slide"),e(n)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(n=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),e(n)):0===r.currentSlide&&(n=r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow),e(n))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var t=this;t.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var t=this;t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear(),t.paused=!0,t.options.autoplay=!1},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.paused=!1,t.autoPlay(),t.options.autoplay=!0},e.prototype.postSlide=function(t){var e=this;e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay===!0&&e.paused===!1&&e.autoPlay(),e.options.accessibility===!0&&e.initADA()},e.prototype.prev=e.prototype.slickPrev=function(){var t=this;t.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(){var e,i,n=this;e=t("img[data-lazy]",n.$slider).length,e>0&&(i=t("img[data-lazy]",n.$slider).first(),i.attr("src",i.attr("data-lazy")).removeClass("slick-loading").load(function(){i.removeAttr("data-lazy"),n.progressiveLazyLoad(),n.options.adaptiveHeight===!0&&n.setPosition()}).error(function(){i.removeAttr("data-lazy"),n.progressiveLazyLoad()}))},e.prototype.refresh=function(e){var i=this,n=i.currentSlide;i.destroy(!0),t.extend(i,i.initials,{currentSlide:n}),i.init(),e||i.changeSlide({data:{message:"index",index:n}},!1)},e.prototype.registerBreakpoints=function(){var e,i,n,o=this,s=o.options.responsive||null;if("array"===t.type(s)&&s.length){o.respondTo=o.options.respondTo||"window";for(e in s)if(n=o.breakpoints.length-1,i=s[e].breakpoint,s.hasOwnProperty(e)){for(;n>=0;)o.breakpoints[n]&&o.breakpoints[n]===i&&o.breakpoints.splice(n,1),n--;o.breakpoints.push(i),o.breakpointSettings[i]=s[e].settings}o.breakpoints.sort(function(t,e){return o.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.checkResponsive(!1,!0),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses(0),e.setPosition(),e.$slider.trigger("reInit",[e]),e.options.autoplay===!0&&e.focusHandler()},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;return"boolean"==typeof t?(e=t,t=e===!0?0:n.slideCount-1):t=e===!0?--t:t,n.slideCount<1||0>t||t>n.slideCount-1?!1:(n.unload(),i===!0?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(t).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,void n.reinit())},e.prototype.setCSS=function(t){var e,i,n=this,o={};n.options.rtl===!0&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,n.transformsEnabled===!1?n.$slideTrack.css(o):(o={},n.cssTransitions===!1?(o[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(o)))},e.prototype.setDimensions=function(){var t=this;t.options.vertical===!1?t.options.centerMode===!0&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),t.options.centerMode===!0&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),t.options.vertical===!1&&t.options.variableWidth===!1?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):t.options.variableWidth===!0?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();t.options.variableWidth===!1&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(n,o){e=i.slideWidth*n*-1,i.options.rtl===!0?t(o).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}):t(o).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(e,i,n){var o,s,r=this;if("responsive"===e&&"array"===t.type(i))for(s in i)if("array"!==t.type(r.options.responsive))r.options.responsive=[i[s]];else{for(o=r.options.responsive.length-1;o>=0;)r.options.responsive[o].breakpoint===i[s].breakpoint&&r.options.responsive.splice(o,1),o--;r.options.responsive.push(i[s])}else r.options[e]=i;n===!0&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),t.options.fade===!1?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=t.options.vertical===!0?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),(void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.msTransition)&&t.options.useCSS===!0&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&t.animType!==!1&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=null!==t.animType&&t.animType!==!1},e.prototype.setSlideClasses=function(t){var e,i,n,o,s=this;i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(t).addClass("slick-current"),s.options.centerMode===!0?(e=Math.floor(s.options.slidesToShow/2),s.options.infinite===!0&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=s.options.slidesToShow+t,i.slice(n-e+1,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")):t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=s.slideCount%s.options.slidesToShow,n=s.options.infinite===!0?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(n-(s.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===s.options.lazyLoad&&s.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,n,o=this;if(o.options.fade===!0&&(o.options.centerMode=!1),o.options.infinite===!0&&o.options.fade===!1&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=o.options.centerMode===!0?o.options.slidesToShow+1:o.options.slidesToShow,e=o.slideCount;e>o.slideCount-n;e-=1)i=e-1,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(e=0;n>e;e+=1)i=e,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.setPaused=function(t){var e=this;e.options.autoplay===!0&&e.options.pauseOnHover===!0&&(e.paused=t,t?e.autoPlayClear():e.autoPlay())},e.prototype.selectHandler=function(e){var i=this,n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),o=parseInt(n.attr("data-slick-index"));return o||(o=0),i.slideCount<=i.options.slidesToShow?(i.setSlideClasses(o),void i.asNavFor(o)):void i.slideHandler(o)},e.prototype.slideHandler=function(t,e,i){var n,o,s,r,a=null,l=this;return e=e||!1,l.animating===!0&&l.options.waitForAnimate===!0||l.options.fade===!0&&l.currentSlide===t||l.slideCount<=l.options.slidesToShow?void 0:(e===!1&&l.asNavFor(t),n=t,a=l.getLeft(n),r=l.getLeft(l.currentSlide),l.currentLeft=null===l.swipeLeft?r:l.swipeLeft,l.options.infinite===!1&&l.options.centerMode===!1&&(0>t||t>l.getDotCount()*l.options.slidesToScroll)?void(l.options.fade===!1&&(n=l.currentSlide,i!==!0?l.animateSlide(r,function(){l.postSlide(n)}):l.postSlide(n))):l.options.infinite===!1&&l.options.centerMode===!0&&(0>t||t>l.slideCount-l.options.slidesToScroll)?void(l.options.fade===!1&&(n=l.currentSlide,i!==!0?l.animateSlide(r,function(){l.postSlide(n)}):l.postSlide(n))):(l.options.autoplay===!0&&clearInterval(l.autoPlayTimer),o=0>n?l.slideCount%l.options.slidesToScroll!==0?l.slideCount-l.slideCount%l.options.slidesToScroll:l.slideCount+n:n>=l.slideCount?l.slideCount%l.options.slidesToScroll!==0?0:n-l.slideCount:n,l.animating=!0,l.$slider.trigger("beforeChange",[l,l.currentSlide,o]),s=l.currentSlide,l.currentSlide=o,l.setSlideClasses(l.currentSlide),l.updateDots(),l.updateArrows(),l.options.fade===!0?(i!==!0?(l.fadeSlideOut(s),l.fadeSlide(o,function(){l.postSlide(o)})):l.postSlide(o),void l.animateHeight()):void(i!==!0?l.animateSlide(a,function(){l.postSlide(o)}):l.postSlide(o))))},e.prototype.startLoad=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,n,o=this;return t=o.touchObject.startX-o.touchObject.curX,e=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(e,t),n=Math.round(180*i/Math.PI),0>n&&(n=360-Math.abs(n)),45>=n&&n>=0?o.options.rtl===!1?"left":"right":360>=n&&n>=315?o.options.rtl===!1?"left":"right":n>=135&&225>=n?o.options.rtl===!1?"right":"left":o.options.verticalSwiping===!0?n>=35&&135>=n?"left":"right":"vertical"},e.prototype.swipeEnd=function(t){var e,i=this;if(i.dragging=!1,i.shouldClick=i.touchObject.swipeLength>10?!1:!0,void 0===i.touchObject.curX)return!1;if(i.touchObject.edgeHit===!0&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe)switch(i.swipeDirection()){case"left":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.slideHandler(e),i.currentDirection=0,i.touchObject={},i.$slider.trigger("swipe",[i,"left"]);break;case"right":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.slideHandler(e),i.currentDirection=1,i.touchObject={},i.$slider.trigger("swipe",[i,"right"])}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),
t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,n,o,s,r=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!r.dragging||s&&1!==s.length?!1:(e=r.getLeft(r.currentSlide),r.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,r.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),r.options.verticalSwiping===!0&&(r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curY-r.touchObject.startY,2)))),i=r.swipeDirection(),"vertical"!==i?(void 0!==t.originalEvent&&r.touchObject.swipeLength>4&&t.preventDefault(),o=(r.options.rtl===!1?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),r.options.verticalSwiping===!0&&(o=r.touchObject.curY>r.touchObject.startY?1:-1),n=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,r.options.infinite===!1&&(0===r.currentSlide&&"right"===i||r.currentSlide>=r.getDotCount()&&"left"===i)&&(n=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),r.options.vertical===!1?r.swipeLeft=e+n*o:r.swipeLeft=e+n*(r.$list.height()/r.listWidth)*o,r.options.verticalSwiping===!0&&(r.swipeLeft=e+n*o),r.options.fade===!0||r.options.touchMove===!1?!1:r.animating===!0?(r.swipeLeft=null,!1):void r.setCSS(r.swipeLeft)):void 0)},e.prototype.swipeStart=function(t){var e,i=this;return 1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?(i.touchObject={},!1):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(i.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t,e=this;t=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var t=this;document[t.hidden]?(t.paused=!0,t.autoPlayClear()):t.options.autoplay===!0&&t.autoPlay()},e.prototype.initADA=function(){var e=this;try{e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(i){t(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+i})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(i){t(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+i,id:"slick-slide"+e.instanceUid+i})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()}catch(i){}},e.prototype.activateADA=function(){try{var t=this,e=t.$slider.find("*").is(":focus");t.$slideTrack.find(".slick-active").attr({"aria-hidden":"false",tabindex:"0"}).find("a, input, button, select").attr({tabindex:"0"}),e&&t.$slideTrack.find(".slick-active").focus()}catch(i){}},e.prototype.focusHandler=function(){var e=this;e.$slider.on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var n=t(this);setTimeout(function(){e.isPlay&&(n.is(":focus")?(e.autoPlayClear(),e.paused=!0):(e.paused=!1,e.autoPlay()))},0)})},t.fn.slick=function(){var t,i=this,n=arguments[0],o=Array.prototype.slice.call(arguments,1),s=i.length,r=0;for(r;s>r;r++)if("object"==typeof n||"undefined"==typeof n?i[r].slick=new e(i[r],n):t=i[r].slick[n].apply(i[r].slick,o),"undefined"!=typeof t)return t;return i}}),define("../src/journeys/j134-media/j134-media",["jquery","lib/utils","slick","tooltipster"],function(t,e,i,n){"use strict";var o=function(t){return this.$journey=t,this};return o.prototype.init=function(){var e=this;this.news(),this.photoG(),this.masdar(),this.$journey.find(".j134-media--photo_itemimg").each(function(){var e=t(this).attr("data-alt");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})}),this.$journey.find(".j134-media--photo_gallerytitle").each(function(){t(this).off("click.pgallery").on("click.pgallery",function(){t(this).toggleClass("j134-media--photo_gallerytitle_open"),t(this).next(".j134-media--photo_outer").toggleClass("open")})}),t(window).off("resize.media").on("resize.media",function(){setTimeout(function(){e.photoG(),e.masdar()},100)})},o.prototype.news=function(){},o.prototype.photoG=function(){var i=this;"s"!=e.breakpoint()&&"m"!=e.breakpoint()?0!=this.$journey.find(".j134-media--photo_gallery").length&&i.$journey.find(".j134-media--photo_gallery").each(function(){t(this).find(".j134-media--photo_slide").length>1&&t(this).slick({arrows:!0,dots:!0,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,rtl:"rtl"==t("html").attr("dir")})}):0!=this.$journey.find(".j134-media--photo_gallery").length&&i.$journey.find(".j134-media--photo_gallery").each(function(){t(this).hasClass("slick-initialized")&&t(this).slick("unslick")})},o.prototype.masdar=function(){var i=this;"s"===e.breakpoint()||"m"===e.breakpoint()?0!=this.$journey.find(".j134-media-almasdar").length&&i.$journey.find(".j134-media-almasdar").each(function(){t(this).find(".m9-teaser").length>1&&t(this).slick({arrows:!0,dots:!0,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,rtl:"rtl"==t("html").attr("dir")})}):0!=this.$journey.find(".j134-media-almasdar").length&&i.$journey.find(".j134-media-almasdar").each(function(){t(this).hasClass("slick-initialized")&&t(this).slick("unslick")})},o}),define("../src/journeys/j136-sponsorship/j136-sponsorship",["jquery","lib/utils","slick"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};return n.prototype.init=function(){var e=this.$journey.find(".form-field--text_add-goal .form-field--add_button"),i=this.$journey.find(".form-field--table");i.each(function(){var e=t(this).data("rows"),i=t(this);e.length>0&&t.each(e,function(t,e){var n=i.find(".form-field--table-row"),o=n.last(),s="";t%2===0?(s='<div class="form-field--table-row"><div class="form-field--6 form-field--6-mobile_full form-field--table-list-item">'+e+'<span class="form-field--table-list-item-delete"></span></div></div>',i.append(s)):(s='<div class="form-field--6 form-field--6-mobile_full form-field--table-list-item">'+e+'<span class="form-field--table-list-item-delete"></span></div>',o.append(s))})}),e.on("click",function(){var e=t(this).closest(".form-field--text_add-goal"),i="#"+e.data("add-table"),n=t(i).data("rows"),o=e.find(".form-field__input"),s=t(i).data("table-required-row"),r=o.val();if(""==n)var n=[];if(r){var a=t(i).find(".form-field--table-row"),l=a.last(),c=l.find(".form-field--table-list-item"),d="";a.length>0?(2==c.length&&(t(i).append('<div class="form-field--table-row"><div class="form-field--6 form-field--6-mobile_full form-field--table-list-item">'+r+'<span class="form-field--table-list-item-delete"></span></div></div>'),d=2*a.length+1),c.length<2&&(l.append('<div class="form-field--6 form-field--6-mobile_full form-field--table-list-item">'+r+'<span class="form-field--table-list-item-delete"></span></div>'),d=2*a.length)):(t(i).append('<div class="form-field--table-row"><div class="form-field--6 form-field--6-mobile_full form-field--table-list-item">'+r+'<span class="form-field--table-list-item-delete"></span></div></div>'),d=1),n.push(r),t(i).data("rows",n),t(i).attr("data-rows",n),d>=s&&o.removeAttr("required"),s>d&&o.prop("required",!0),o.val("")}}),i.on("click",".form-field--table-list-item-delete",function(){var e,i=t(this).closest(".form-field--table"),n=i.data("table-required-row"),o="#"+i.data("add-input"),s=t(o).find(".form-field__input"),r=t(this).closest(".form-field--table-list-item"),a=r.closest(".form-field--table-row"),l=a.find(".form-field--table-list-item");2==l.length&&r.remove(),1==l.length&&a.remove();var c=i.find(".form-field--table-row"),d=c.last(),h=d.find(".form-field--table-list-item");c.length>0?(2==h.length&&(e=2*c.length),h.length<2&&(e=2*c.length-1)):e=0,e>=n&&s.removeAttr("required"),n>e&&s.prop("required",!0)})},n}),define("../src/journeys/j141-tracking-anonymous/j141-tracking-anonymous",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e=this.$journey.find(".j141-tracking--radio").find(".form-field__input--radio");e.each(function(){1==t(this).prop("checked")?t(this).closest(".form-field__radio").find(".form-field--subRadio").find(".form-field__input").attr("required",!0):t(this).closest(".form-field__radio").find(".form-field--subRadio").find(".form-field__input").attr("required",!1)}),e.off("click.j141").on("click.j141",function(){e.each(function(){1==t(this).prop("checked")?t(this).closest(".form-field__radio").find(".form-field--subRadio").find(".form-field__input").attr("required",!0):t(this).closest(".form-field__radio").find(".form-field--subRadio").find(".form-field__input").attr("required",!1)})})},e}),define("../src/journeys/j143-ideal-home/j143-ideal-home",["jquery","breakpoint","lib/utils","parsley","slick"],function(t,e,i,n,o){"use strict";var s=function(t){return this.$journey=t,this};return s.prototype.init=function(){var e=this,i=this.$journey.find(".modal_trigger"),n=this.$journey.find(".m39-modal-ideal-home"),o=(this.$journey.find(".m39-modal__header"),this.$journey.find(".m39-modal__dialog")),s=n.find(".m39-modal__trigger"),r=n.find(".m33-thumbnail-gallery__thumb-carousel"),a=this.$journey.find(".grid__column-toggle"),l=a.find(".grid__column-toggle-button"),c=this.$journey.find(".form-section"),d=(c.find("form"),c.find(".form-field__input--radio")),h=c.find(".form-field__input--text"),u=n.find(".m33-thumbnail-gallery__main-carousel");o.css("height",""),t(".form-section-group input").attr("disabled","disabled"),t(".form-section-group").first().find("input").removeAttr("disabled"),d.on("click",function(){var e,i=t(this).closest(".form-section-group"),n=i.find("input");n.each(function(){e=!1,t(this).parsley().isValid()&&(e=!0)}),e&&(i.addClass("valid-group"),i.next(".form-section-group").find("input").removeAttr("disabled"))}),h.keyup(function(){var e,i=t(this).closest(".form-section-group"),n=i.find("input");n.each(function(){e=!1,t(this).parsley().isValid()&&(e=!0)}),e&&i.addClass("valid-group")}),u.on("afterChange",function(t,i,n){e.resizeScroll(i.$slider)}),t(window).on("resize orientationchange",function(){var i=t(".m39-modal__container--active").find(".m33-thumbnail-gallery__main-carousel");setTimeout(function(){e.resizeScroll(i)},500)}),i.on("click",function(){var e=t(this).data("index"),i=r.find("[data-index='"+e+"']");i.trigger("click"),s.trigger("click")}),t(".m39-modal-ideal-home_teaser-gallery-content-next").on("click",function(){var e=t(this).closest(".m33-thumbnail-gallery__main-carousel-container"),i=e.find(".m33-thumbnail-gallery__main-carousel-button--next");i.trigger("click")}),l.on("click",function(){var e=t(this).closest(".grid__column-toggle");e.hasClass("grid__column-active")?e.removeClass("grid__column-active"):e.addClass("grid__column-active")})},s.prototype.resizeScroll=function(e){var n=t(window).height()/100*90,o=e.find(".slick-active .m39-modal-ideal-home_teaser-gallery-content-text"),s=o.find(".m14-richtext");s.css("height","");var r=o.height(),a=50+r,l=e.closest(".m33-thumbnail-gallery").find(".m33-thumbnail-gallery__main-carousel-button--prev"),c=e.closest(".m33-thumbnail-gallery").find(".m33-thumbnail-gallery__main-carousel-button--next"),d=e.find(".slick-list"),h=a/2-57,u=o.closest(".m39-modal__dialog");if(u.css("height",""),d.css("height",""),"s"===i.breakpoint()){var a=130+r;d.css("height",a-80)}if(n>=a&&(u.css("height",a),c.css("top",h),l.css("top",h)),a>n&&("m"===i.breakpoint()||"l"===i.breakpoint())){var s=o.find(".m14-richtext"),h=n/2-57;s.css("height",n-134),c.css("top",h),l.css("top",h),s.addClass("m14-richtext-scroll")}console.log("resize")},s}),define("../src/journeys/j152-ev-smart-charge/j152-ev-smart-charge",["jquery","breakpoint","lib/utils","tooltipster","format-numbers"],function(t,e,i,n,o){"use strict";var s=function(t){return this.$journey=t,this};return s.prototype.init=function(){var e=this,i=this.$journey.find(".charge-time-select"),n=i.find(".form-field__input--radio"),s=this.$journey.find("[data-price-place]"),r=this.$journey.find(".j152-ev-smart-charge-fixbottom");setTimeout(function(){e.initWindow()},200),t(window).on("resize orientationchange",function(){setTimeout(function(){e.initWindow()},200)}),n.change(function(){var e=t(this).data("price");s.html(e),o.init(),r.removeClass("hidden"),r.addClass("active")}),this.$journey.off("evtimer").on("evtimer",function(){var t=e.$journey.find(".timer"),i=t.data("timer-ev");e.timeCount(t,i)})},s.prototype.initWindow=function(){var e=void 0==t(".notification-newstyle").height()?0:t(".notification-newstyle").height(),i=void 0==t(".m71-cookie").height()?0:t(".m71-cookie").height(),n=t(window).height()-t("header").height()-e-i,o=(t(".m12-bar__breadcrumbs"),t(".j152-ev-smart-charge-content").outerHeight()+t(".j152-ev-smart-charge-fixbottom").outerHeight());o>n?(t(".j152-ev-smart-charge-fixbottom").addClass("static-bottom"),t(".j152-ev-smart-charge").css("height",n.toString()+"px")):(t(".j152-ev-smart-charge-fixbottom").removeClass("static-bottom"),t(".j152-ev-smart-charge").css("height","auto"))},s.prototype.timeCount=function(e,i){var n=setInterval(function(){var o=i.split(":"),s=parseInt(o[0],10),r=parseInt(o[1],10);--r,s=0>r?--s:s,r=0>r?59:r,r=10>r?"0"+r:r,e.html(s+":"+r),0>s&&clearInterval(n),0>=r&&0>=s&&clearInterval(n),0>=r&&0>=s&&t("#timerclick").trigger("click"),i=s+":"+r},1e3)},s}),define("../src/journeys/j153-ev-map/j153-ev-map",["jquery","select2","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};return n.prototype.init=function(){var e=this;this.overlayType=0,this.displayFilter=[],this.checkBoxes=this.$journey.find(".j153-ev-map_cbox-input"),this.fastchargingMarkers=[],this.normalchargingMarkers=[],this.markerList=[this.fastchargingMarkers,this.normalchargingMarkers],this.defaultZoom=13,this.searchLocation=null,this.labels=t(this.$journey).data("labels"),this.EVloaded=!1,this.EVloading=!1,this.urlPrefix="../../..",window.check&&("head"==window.check?(e.$journey.find('[name="j100_checkbox_desktop1"]').prop("checked",!0),e.$journey.find('[name="j100_checkbox_mobile1"]').prop("checked",!0),e.displayFilter.push(1)):(e.$journey.find('[name="j100_checkbox_desktop'+window.check+'"]').prop("checked",!0),e.$journey.find('[name="j100_checkbox_mobile'+window.check+'"]').prop("checked",!0),e.displayFilter.push(window.check))),t(window).on("mapLoaded",function(){e.map=window.MAP.map,e.loadData(),e.centerPoint=e.map.getCenter(),e.map.addListener("dragend",function(){e.centerPoint=e.map.getCenter(),e.map.setCenter(e.centerPoint)}),t(window).off("evLoad").on("evLoad",function(){e.EVLoadData()})}),t(window).on("resize orientationchange",function(){setTimeout(function(){e.map.setCenter(e.centerPoint)},100)}),this.checkBoxes.each(function(i){t(this).off().on("click",function(){t(this).prop("checked")?e.displayFilter.push(parseInt(t(this).val())):e.displayFilter.splice(e.displayFilter.indexOf(parseInt(t(this).val())),1),e.populateMap(),e.getLocationBySensor()})}),this.getLocationBySensor(),t(this.$journey).on("click",".m32-map__button--close",function(){e.hideDetails()})},n.prototype.getLocationBySensor=function(){function t(t){try{var i=new google.maps.LatLng({lat:t.coords.latitude,lng:t.coords.longitude});e.highlightLocation(e.getClosestMarker(i))}catch(n){}}var e=this;navigator.geolocation&&navigator.geolocation.getCurrentPosition(t)},n.prototype.getClosestMarker=function(t){var e,i,n,o=this,s={};if(this.displayFilter.length>0)for(e=0;e<this.displayFilter.length;e++){var r=o.getFilterContent(this.displayFilter[e]);for(l=0;l<r.markers.length;l++)i=r.markers[l].position,n=google.maps.geometry.spherical.computeDistanceBetween(t,i),(!s.i||n<s.val)&&(s={i:l,val:n,marker:r.markers[l]})}else for(e=0;e<this.markerList.length;e++)for(var a=this.markerList[e],l=0;l<a.length;l++)i=a[l].position,n=google.maps.geometry.spherical.computeDistanceBetween(t,i),(!s.i||n<s.val)&&(s={i:l,val:n,marker:a[l]});return s.marker},n.prototype.setMapBounds=function(){var t=this;t.bounds=new google.maps.LatLngBounds;for(var e=0;e<t.boundingMarkers.length;e++)t.bounds.extend(t.boundingMarkers[e].getPosition());t.map.fitBounds(t.bounds),t.map.centrePoint=t.map.getCenter()},n.prototype.loadData=function(e){var n=this,o=this.urlPrefix+"/content/data/payment_locations_en.json";i.isRTL()&&(o=this.urlPrefix+"/content/data/payment_locations_ar.json"),t.ajax({url:o,dataType:"json",error:function(t,e,i){console.log(i)},success:function(t){n.locationData=t,n.parseData()}})},n.prototype.parseData=function(){var t=this,e=this.locationData.Locations;this.fastchargingPoints=e.FastEVCharge.item,this.normalchargingPoints=e.NormalEVCharge.item,t.$journey.find('[data-location-count="evgfcharger"]').text(" "+this.fastchargingPoints.length.toString()),t.$journey.find('[data-location-count="evgcharger"]').text(" "+this.normalchargingPoints.length.toString()),t.populateMap()},n.prototype.initSearchBox=function(){var t=this;t.input1=document.getElementById(t.searchField1.attr("id")),t.searchBox1=new google.maps.places.SearchBox(t.input1),t.input2=document.getElementById(t.searchField2.attr("id")),t.searchBox2=new google.maps.places.SearchBox(t.input2),t.searchField1.closest("form").on("submit",function(t){t.preventDefault()}),t.searchField2.closest("form").on("submit",function(t){t.preventDefault()}),t.map.addListener("bounds_changed",function(){t.searchBox1.setBounds(map.getBounds()),t.searchBox2.setBounds(map.getBounds())}),t.searchBox1.addListener("places_changed",function(){t.handleSearchResult(t.searchBox1),t.searchField2.val(t.searchField1.val())}),t.searchBox2.addListener("places_changed",function(){t.handleSearchResult(t.searchBox2),t.searchField1.val(t.searchField2.val())})},n.prototype.handleSearchResult=function(t){var e=this,i=t.getPlaces();0!=i.length&&(e.searchMarker&&e.searchMarker.setMap(null),i.forEach(function(t){var i={url:t.icon,size:new google.maps.Size(71,71),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(17,34),scaledSize:new google.maps.Size(25,25)};e.searchMarker=new google.maps.Marker({map:e.map,icon:i,title:t.name,subtitle:t.subname,position:t.geometry.location})}),e.hideDetails(),e.centerPoint=e.searchLocation=e.searchMarker.getPosition(),e.map.setCenter(e.centerPoint),e.map.setZoom(e.defaultZoom))},n.prototype.populateDetails=function(e){this.overlayType=e.overlayType,t(".m32-map__overlay-title img").attr("src",this.urlPrefix+"/images/"+e.image),t(".m32-map__overlay-title--text").html(e.name),t(".m32-map__overlay-subtitle--text").html(e.category);var i="";void 0!=e.makani&&(i='<span class="m32-map__overlay-address--inner"><strong>'+this.labels.makani+"</strong>"+e.makani+"</span><br/>");var n="",o="";e.pwd&&(n='<span class="m32-map__overlay-address--inner"><strong>'+this.labels.pwd+'</strong><a href="tel:'+e.phone+'" class="link">'+e.phone+"</a></span><br/>"),e.apwd&&(o='<span class="m32-map__overlay-address--inner"><strong>'+this.labels.pwd+"</strong> "+this.labels.apwd+"</span><br/>"),t(".m32-map__overlay-address").html('<span class="m32-map__overlay-address--inner"><strong>'+this.labels.loc+"</strong>"+e.address+"</span><br/>"+n+'<span class="m32-map__overlay-address--inner"><strong>'+this.labels.hours+"</strong>"+e.hours+"</span>"+i+o),t(".m32-map__rating, .m32-map__rating-stars, .m32-map__rating-reviews").remove(),t(".m32-map__larger-map").empty();var s=null;s=this.searchLocation?"https://www.google.com/maps/dir/"+this.searchLocation.lat()+","+this.searchLocation.lng()+"/"+e.lat+","+e.lng+"?z=14":"https://maps.google.com?daddr="+e.lat+","+e.lng+"&ll="+e.lat+","+e.lng+"&z=14",t(".m32-map__larger-map").append('<span class="m32-map__directions-link"><a target="_blank" href="'+s+'">'+this.labels.nav+"</a></span>"),"none"==t(".m32-map__overlay").css("display")&&t(".m32-map__overlay").css({display:"block"}),t(".m32-map__overlay").fadeIn()},n.prototype.highlightLocation=function(t){try{this.centerPoint=t.position,this.map.setCenter(this.centerPoint),this.map.setZoom(this.defaultZoom),this.populateDetails(t)}catch(e){}},n.prototype.getFilterContent=function(t){var e,i=[],n=!1,o=!1,s=[];switch(parseInt(t)){case 1:i=this.fastchargingPoints,s=this.fastchargingMarkers,e=this.labels.fastchargingPoints,o=!0;break;case 2:i=this.normalchargingPoints,s=this.normalchargingMarkers,e=this.labels.normalchargingPoints,o=!0}return{items:i,markers:s,category:e,cpwd:n,isEV:o}},n.prototype.EVLoadData=function(){var e=this;t.ajax({url:"/api/EVLocation/GetEVLocations",dataType:"json",error:function(t,e,i){console.log(i)},success:function(t){e.evData=t,e.EVloaded=!0,e.parseData(),e.$journey.attr("data-evmapload","true")}})},n.prototype.populateMap=function(){for(var e,n=this,o=[],s=n.$journey.find(".j153-ev-map_search-input"),r=0;r<this.markerList.length;r++)o.push(r+1);if(n.displayFilter.length>0){n.hideDetails();for(var r=0;r<n.markerList.length;r++)try{for(;n.markerList[r].length>0;){var a=n.markerList[r].pop();a.setVisible(!1)}}catch(l){}o=n.displayFilter}n.EVloaded?t(".m32-map").find(".m66-preloader").hide():(t(".m32-map").find(".m66-preloader").show(),n.EVloading||(n.EVloading=!0)),s.html(""),i.isRTL()?s.append('<option value="">أدخل العنوان</option>'):s.append('<option value="">Input address</option>');for(var r=0;r<o.length;r++){var c=n.getFilterContent(o[r]),d=c.markers,h=c.category,u=c.cpwd,p=c.isEV,f=c.items;if(t(c.items).each(function(){s.append('<option value="'+this.code+'">'+this.name+" - "+this.address+"</option>")}),d.length<1)for(var a=0;a<f.length;a++){var m="";if(p){var g=!1;t(n.evData).each(function(){void 0!=f[a].code&&this.HubeleonId.toString()==f[a].code.toString()&&(g=!0,m=this.Status)})}else void 0!=f[a].status&&(m=f[a].status);var v=new google.maps.Marker({map:n.map,category:h,position:{lat:parseFloat(f[a].latitude),lng:parseFloat(f[a].longitude)},lat:parseFloat(f[a].latitude),lng:parseFloat(f[a].longitude),name:f[a].name,phone:f[a].phone,pwd:f[a].pwd,apwd:u,code:f[a].code,subname:f[a].subname,address:f[a].address?f[a].address:f[a].city,makani:f[a].makaninumber,hours:f[a].whrs,image:f[a].iimage,index:a,overlayType:o[r],optimized:!1,icon:"offline"==m.toLowerCase()||"unknown"==m.toLowerCase()||"maintenance"==m.toLowerCase()||"closed"==m.toLowerCase()?this.urlPrefix+"/images/"+f[a].pimage.replace(".png","_r.png"):"occupied"==m.toLowerCase()||"busy"==m.toLowerCase()?this.urlPrefix+"/images/"+f[a].pimage.replace(".png","_o.png"):"available"==m.toLowerCase()?this.urlPrefix+"/images/"+f[a].pimage:p?this.urlPrefix+"/images/"+f[a].pimage.replace(".png","_r.png"):this.urlPrefix+"/images/"+f[a].pimage});d.push(v),d[a].addListener("click",function(e){n.highlightLocation(t(this)[0])}),v.setVisible(!0)}e=d}s.select2(),s.off("change.j153").on("change.j153",function(){t(e).each(function(){this.code==s.val()&&n.highlightLocation(t(this)[0])})})},n.prototype.hideDetails=function(){t(".m32-map__overlay").fadeOut()},n}),define("../src/journeys/j153-villa-exemption/j153-villa-exemption",["jquery","breakpoint","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};return n.prototype.init=function(){var e=this.$journey.find(".add-owner-trigger"),i=this.$journey.find(".j153-villa-exemption_modal-add"),n=this.$journey.find(".form-add-owner"),o=n.find(".form-field__add-owner-type .form-field__input--select"),s=n.find(".fieldset"),r=this.$journey.find(".request_links button"),a=(r.find("[data-trigger]"),t(".j153-villa-exemption-tab-modal")),l=a.find(".m39-modal__tabs li");e.on("click",function(){i.find(".m39-modal__trigger").trigger("click")}),o.on("change",function(){var e=t(this).find(":selected").data("val");s.each(function(){t(this).hasClass(e)?t(this).removeClass("hidden"):t(this).addClass("hidden")})}),r.on("click",function(){var e=t(this).find("span").attr("class"),i=e+"__trigger",n=t(this).data("tab");if(n){var o=a.find(".m39-modal__tabs"),s=a.find(".m39-modal__tabs-content");s.find(".m39-modal__tabs-content-section").addClass("hidden"),o.find("li").removeClass("active"),o.find(".tab-"+n).addClass("active"),s.find(".tab-"+n).removeClass("hidden")}t("."+i).trigger("click")}),l.on("click",function(){var e=t(this).data("tab"),i=a.find(".m39-modal__tabs-content");l.removeClass("active"),t(this).addClass("active"),i.find(".m39-modal__tabs-content-section").addClass("hidden"),i.find(".tab-"+e).removeClass("hidden")})},n}),define("../src/journeys/j154-self-energy-assessment/j154-self-energy-assessment",["jquery","chart-config","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};return n.prototype.init=function(){var e=this;e.$journey.find(".j154-sea-donut-progress").each(function(){var e=t(this).find(".progress-bar__progress"),i=.01*parseInt(t(this).attr("data-donut-rate")),n=100-100*i;e.css("stroke-dashoffset",n),t(this).find("[data-donut-number]").html(t(this).attr("data-donut-rate"))}),e.$journey.find("[data-chart154-container]").each(function(){e.renderGraph(t(this))}),t(window).off("j154_reinit").on("j154_reinit",function(){e.init()}),e.$journey.find(".j154-sea-assessment--tip_link .show-btn").on("click",function(){t(this).closest(".j154-sea-assessment--tip_content").removeClass("hidden-text"),t(this).closest(".j154-sea-assessment--tip_content").addClass("show-text")}),e.$journey.find(".j154-sea-assessment--tip_link .hide-btn").on("click",function(){t(this).closest(".j154-sea-assessment--tip_content").addClass("hidden-text"),t(this).closest(".j154-sea-assessment--tip_content").removeClass("show-text")}),setTimeout(function(){e.$journey.hasClass("j154-sea--card")&&"l"==i.breakpoint()&&e.scroll(!0)},500),e.$journey.find(".j154-sea-assessment--tip_desc").each(function(){t(this)[0].scrollHeight-1<=t(this).innerHeight()?(t(this).closest(".hidden-text").find(".show-btn").hide(),t(this).closest(".hidden-text").find(".hide-btn").hide()):t(this).closest(".hidden-text").find(".show-btn").show()}),t(window).off("resize.j154").on("resize.j154",function(){e.$journey.hasClass("j154-sea--card")&&"l"==i.breakpoint()?e.scroll(!0):e.scroll(!1),e.$journey.find(".j154-sea-assessment--tip_desc").each(function(){t(this)[0].scrollHeight-1<=t(this).innerHeight()?(t(this).closest(".hidden-text").find(".show-btn").hide(),t(this).closest(".hidden-text").find(".hide-btn").hide()):t(this).closest(".hidden-text").find(".show-btn").show()})})},n.prototype.scroll=function(e){var i=this,n=0,o=i.$journey.offset().top;e?(i.$journey.css("width",i.$journey.closest(".grid__column").width().toString()+"px"),t(window).off("scroll.j154").on("scroll.j154",function(){var e=t(window).scrollTop();e-n>0&&e<=o+i.$journey.closest(".grid__row").height()-61-i.$journey.height()?e+61>=o?(i.$journey.addClass("fixed"),i.$journey.removeClass("fixed-up"),i.$journey.css("width",i.$journey.closest(".grid__column").width().toString()+"px")):(i.$journey.removeClass("fixed"),i.$journey.removeClass("fixed-up")):e<=o+i.$journey.closest(".grid__row").height()-141-i.$journey.height()?o>=e+141?(i.$journey.removeClass("fixed"),i.$journey.removeClass("fixed-up")):(i.$journey.removeClass("fixed"),i.$journey.addClass("fixed-up"),i.$journey.css("width",i.$journey.closest(".grid__column").width().toString()+"px")):(i.$journey.removeClass("fixed"),i.$journey.removeClass("fixed-up")),n=e})):(i.$journey.removeClass("fixed"),i.$journey.removeClass("fixed-up"),t(window).off("scroll.j154"),i.$journey.attr("style",""))},n.prototype.renderGraph=function(t){for(var e=t,n=JSON.parse(t.attr("data-series")),o=(i.isRTL(),0);o<n.length;o++)0==n[o].data.length&&n.splice(o,1);for(var o=0;o<n[0].data.length;o+=1)n[0].data[o].y=parseFloat(n[0].data[o].y);var s={chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1,type:"pie"},title:{text:"",style:{display:"none"}},subtitle:{text:"",style:{display:"none"}},legend:{style:{display:"none"}},xAxis:{style:{display:"none"}},yAxis:{style:{display:"none"}},tooltip:{enabled:!0,outside:!0,pointFormat:'<span style="font-size: 14px;font-weight:bold;">{point.name}: <b>{point.y} %</b></span>',headerFormat:"",crosshairs:!0,useHTML:!0},plotOptions:{pie:{allowPointSelect:!1,dataLabels:{enabled:!1},innerSize:"50%"}},series:n};e.highcharts(s)},n}),define("../src/journeys/j155-evp-space/j155-evp-space",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e=this;e.$journey.find(".j155-search").off("keyup.j155").on("keyup.j155",function(){if(0!=t(this).val().length){console.log(t(this).val());var i,n,o,s,r,a,l;for(i=t(this),n=i.val().toUpperCase(),o=e.$journey.find(".m60-teaser"),l=0,r=0;r<o.length;r++)s=t(o[r]).find(".teaser__title").text(),a=s,a.toUpperCase().indexOf(n)>-1?(t(o[r]).show(),l++):t(o[r]).hide();0==l?e.$journey.find(".j155-evp-space--noresult").show():e.$journey.find(".j155-evp-space--noresult").hide()}else e.$journey.find(".m60-teaser").each(function(){t(this).show()})})},e}),define("../src/journeys/j157-investor-relations/j157-investor-relations",["jquery","slick","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};n.prototype.init=function(){var e=this,i=e.$journey.find('.m39-modal--disclaimer [data-trigger="true"]');setTimeout(function(){i.click();var e=t(".grid.j157-investor-relations").find(".grid__column--3").html().replaceAll("\n","").trim().length,n=t(".grid.j157-investor-relations").find(".grid__column--3").closest(".grid__row");0==e&&n.hide()},500),this.steps(),this.watchHeaderBar(),t(window).on("resize.j157",function(){e.steps()}),t(window).scroll(t.proxy(this.watchHeaderBar,this));var n=this.$journey.find(".j157-ir-banks-mainslider");this.$journey.find(".teaser__viewdetails").each(function(i){var o=JSON.parse(t(this).attr("data-labels")),s=void 0!=t(this).attr("data-leading")&&""!=t(this).attr("data-leading")?'<div class="j157-ir-banks-leading green">'+t(this).attr("data-leading")+"</div>":"",r=void 0!=t(this).attr("data-address")&&""!=t(this).attr("data-address")?'<div class="j157-ir-banks-text" bankaddress>'+t(this).attr("data-address")+"</div>":"",a=void 0!=t(this).attr("data-pobox")&&""!=t(this).attr("data-pobox")?'<div class="j157-ir-banks-text"><strong>'+o.pobox+":</strong> <span bankpobox>"+t(this).attr("data-pobox")+"</span></div>":"",l=void 0!=t(this).attr("data-tel")&&""!=t(this).attr("data-tel")?'<div class="j157-ir-banks-text"><strong>'+o.tel+':</strong> <a href="tel:'+t(this).attr("data-tel")+'" class="link" banktel>'+t(this).attr("data-tel")+"</a></div>":"",c=void 0!=t(this).attr("data-fax")&&""!=t(this).attr("data-fax")?'<div class="j157-ir-banks-text"><strong>'+o.fax+':</strong> <a href="tel:'+t(this).attr("data-fax")+'" class="link" bankfax>'+t(this).attr("data-fax")+"</a></div>":"",d=void 0!=t(this).attr("data-email")&&""!=t(this).attr("data-email")?'<div class="j157-ir-banks-text"><strong>'+o.email+':</strong> <a href="mailto:'+t(this).attr("data-email")+'" class="link" bankemail>'+t(this).attr("data-email")+"</a></div>":"",h=void 0!=t(this).attr("data-website")&&""!=t(this).attr("data-website")?'<div class="j157-ir-banks-text"><strong>'+o.website+':</strong> <a bankwebsite class="link" href="'+t(this).attr("data-website")+'">'+t(this).attr("data-website")+"</a></div>":"",u='<div class="j157-ir-banks-slide"><div class="j157-ir-banks-slide--inner"><div class="j157-ir-banks-slideimg" style="background-image: url('+t(this).attr("data-imgurl")+');"></div><div class="j157-ir-banks-name" bankname>'+t(this).attr("data-name")+"</div>"+s+r+a+l+c+d+h+"</div></div>";
t(".j157-ir-banks-mainslider").append(u),t(this).off("click.j157").on("click.j157",function(){e.$journey.find(".j157-ir-banks-mainslider_wrapper").show(),n.hasClass("slick-initialized")||n.slick({arrows:!0,dots:!1,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,lazyLoad:"ondemand",rtl:"rtl"==t("html").attr("dir")}),n.slick("slickGoTo",i)})}),this.$journey.find(".j157-ir-banks-mainslider_wrapper").off("click.j157").on("click.j157",function(i){0==t(i.target).closest(".j157-ir-banks-mainslider").length&&e.$journey.find(".j157-ir-banks-mainslider_wrapper").hide()}),t(".m12-bar--investor__toggle").off("click.m12").on("click.m12",function(){t(this).toggleClass("active"),t(".m12-bar--investor__list").toggleClass("active")}),t(".m12-bar--investor__link.scroll_link").off("click.m12").on("click.m12",function(){var e=t(t(this).attr("data-target"));t("html, body").animate({scrollTop:e.offset().top-140},600)})};var o=0;return n.prototype.steps=function(){var e=this;"l"==i.breakpoint()?e.$journey.find(".j157-ir-howto").each(function(){var e=t(this).find(".j157-ir-howto-item"),n=i.isRTL()?"right":"left",o=(t(this).outerWidth(!0)-600-2*e.length)/(e.length-1);e.each(function(e){t(this).css(n,(o*e).toString()+"px")})}):e.$journey.find(".j157-ir-howto").each(function(){var e=t(this).find(".j157-ir-howto-item");e.each(function(e){t(this).attr("style","")})})},n.prototype.watchHeaderBar=function(){var e=t(window).scrollTop(),i=0;t(window).height()+130,t(document).height();Math.abs(o-e)<=i||(e>o&&e>94?(t(".m12-bar--investor__wrapper").removeClass("fixed-new"),t(".m12-bar--investor__wrapper").addClass("fixed")):o>e&&(e>94?(t(".m12-bar--investor__wrapper").addClass("fixed-new"),t(".m12-bar--investor__wrapper").removeClass("fixed")):(t(".m12-bar--investor__wrapper").removeClass("fixed-new"),t(".m12-bar--investor__wrapper").removeClass("fixed"))),0==t(".m12-masthead").length&&t(".m12-bar--investor__wrapper").css("top","0px"),o=e)},n}),define("../src/journeys/j160-customer-results/j160-customer-results",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){},e}),define("../src/journeys/j34-tariff-calculator/j34-tariff-calculator",["jquery"],function($){"use strict";var TariffCalculator=function(t){return this.$journey=t,this};return TariffCalculator.prototype.init=function(){var t=this;this.$resultsContainer=this.$journey.find("[data-results-container]"),this.$formContainer=this.$journey.find("[data-form-container]"),this.$form=this.$journey.find("[data-form]"),this.$typeSelect=this.$form.find("[data-type]"),this.$electricityInput=this.$form.find("[data-electricity]"),this.$waterInput=this.$form.find("[data-water]"),this.$recalculateButton=this.$journey.find("[data-recalculate-button]"),this.electricityResults=this.$resultsContainer.find("#electricity, #surcharge tbody > tr:nth-child(1), #summary tbody > tr:nth-child(1)"),this.waterResults=this.$resultsContainer.find("#water, #surcharge tbody > tr:nth-child(2), #summary tbody > tr:nth-child(2)"),this.$form.on("submit",$.proxy(this.calculate,this)),this.$recalculateButton.on("click",$.proxy(this.recalculate,this)),this.$recalculateButton.removeAttr("style "),""!==this.$electricityInput.val()&&this.$waterInput.removeAttr("required"),""!==this.$waterInput.val()&&this.$electricityInput.removeAttr("required"),this.$electricityInput.on("blur change",function(){""!==$(this).val()?t.$waterInput.removeAttr("required"):t.$waterInput.attr("required",!0)}),this.$waterInput.on("blur change",function(){""!==$(this).val()?t.$electricityInput.removeAttr("required"):t.$electricityInput.attr("required",!0)})},TariffCalculator.prototype.recalculate=function(t){t.preventDefault(),this.$form[0].reset(),$("html, body").scrollTop(0),this.$resultsContainer.hide(),this.$formContainer.show(),this.$form.find("span").removeClass("form-field__input-wrapper--validated"),this.$electricityInput.attr("required",!0),this.$waterInput.attr("required",!0),this.electricityResults.show(),this.waterResults.show(),this.$journey.find('[data-component="m23-table"]').each(function(){$(this).trigger("j34Done")})},TariffCalculator.prototype.calculate=function(e){function Tariff_Cal(){var subgrelec=0,subyelelec=0,suborelec=0,subredelec=0,subgrwater=0,subyelwater=0,suborwater=0,totalwateramt=0,totalelecamt=0,totalvatamt=0,totalbill=0,totalbillinclvat=0;if(document.getElementById("ctl00_ContentPlaceHolder1_lblfsElecvalue").innerHTML=(100*eval(fsElecvalue)).toFixed(1),document.getElementById("ctl00_ContentPlaceHolder1_lblfsWatervalue").innerHTML=(100*eval(fsWatervalue)).toFixed(1),water=parseFloat(water),elec=parseFloat(elec),fsElecTotal=(eval(fsElecvalue)*elec).toFixed(2),fsWaterTotal=(eval(fsWatervalue)*water).toFixed(2),fsTotal=eval(fsElecTotal)+eval(fsWaterTotal),document.getElementById("ctl00_ContentPlaceHolder1_lblfsElec").innerHTML=fsElecTotal,document.getElementById("ctl00_ContentPlaceHolder1_lblfsWater").innerHTML=fsWaterTotal,document.getElementById("ctl00_ContentPlaceHolder1_lblfsTotal").innerHTML=eval(fsTotal).toFixed(2),document.getElementById("ctl00_ContentPlaceHolder1_lblConElec").innerHTML=eval(elec),document.getElementById("ctl00_ContentPlaceHolder1_lblConWater").innerHTML=eval(water),isResedential)Assign_all(),document.getElementById("ctl00_ContentPlaceHolder1_grelec").innerHTML=resedentialData.gelec,document.getElementById("ctl00_ContentPlaceHolder1_yelelec").innerHTML=resedentialData.yelec,document.getElementById("ctl00_ContentPlaceHolder1_orelec").innerHTML=resedentialData.oelec,document.getElementById("ctl00_ContentPlaceHolder1_redelec").innerHTML=resedentialData.relec,document.getElementById("ctl00_ContentPlaceHolder1_grwater").innerHTML=resedentialData.gwater,document.getElementById("ctl00_ContentPlaceHolder1_yelwater").innerHTML=resedentialData.ywater,document.getElementById("ctl00_ContentPlaceHolder1_orwater").innerHTML=resedentialData.owater,document.getElementById("ctl00_ContentPlaceHolder1_yeltariff").innerHTML=(100*eval(elec4k)).toFixed(0),document.getElementById("ctl00_ContentPlaceHolder1_delec2k").innerHTML=(100*eval(elec2k)).toFixed(0),document.getElementById("ctl00_ContentPlaceHolder1_delec6k").innerHTML=(100*eval(elec6k)).toFixed(0),document.getElementById("ctl00_ContentPlaceHolder1_delec6kp").innerHTML=(100*eval(elec6kp)).toFixed(0),$("#ctl00_ContentPlaceHolder1_ortr").parent().show(),$("#ctl00_ContentPlaceHolder1_redtr").parent().show(),elec>0&&(elec<=resedentialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_ygrelec").innerHTML=elec,subgrelec=Math.round(elec*elec2k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fgrelec").innerHTML=subgrelec.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_ygrelec").innerHTML=resedentialData.baseelec,elec=eval(elec)-resedentialData.baseelec,subgrelec=resedentialData.baseelec*elec2k,document.getElementById("ctl00_ContentPlaceHolder1_fgrelec").innerHTML=subgrelec.toFixed(2),elec>0&&elec<=resedentialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_yyelelec").innerHTML=elec,subyelelec=Math.round(eval(elec)*elec4k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fyelelec").innerHTML=subyelelec.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_yyelelec").innerHTML=resedentialData.baseelec,elec=eval(elec)-resedentialData.baseelec,subyelelec=resedentialData.baseelec*elec4k,document.getElementById("ctl00_ContentPlaceHolder1_fyelelec").innerHTML=subyelelec.toFixed(2),elec>0&&elec<=resedentialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_yorelec").innerHTML=elec,suborelec=Math.round(eval(elec)*elec6k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_forelec").innerHTML=suborelec.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_yorelec").innerHTML="2000",elec=eval(elec)-resedentialData.baseelec,suborelec=resedentialData.baseelec*elec6k,document.getElementById("ctl00_ContentPlaceHolder1_forelec").innerHTML=suborelec.toFixed(2),elec>0&&(document.getElementById("ctl00_ContentPlaceHolder1_yredelec").innerHTML=elec,subredelec=Math.round(eval(elec)*elec6kp*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fredelec").innerHTML=subredelec.toFixed(2)))))),water>0&&(document.getElementById("ctl00_ContentPlaceHolder1_lblwater1").innerHTML=(100*eval(water6k)).toFixed(1),document.getElementById("ctl00_ContentPlaceHolder1_lblwater2").innerHTML=(100*eval(water12k)).toFixed(1),document.getElementById("ctl00_ContentPlaceHolder1_lblwater3").innerHTML=(100*eval(water12kp)).toFixed(1),water>0&&water<=resedentialData.basewater?(document.getElementById("ctl00_ContentPlaceHolder1_ygrwater").innerHTML=water,subgrwater=Math.round(eval(water)*water6k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fgrwater").innerHTML=subgrwater.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_ygrwater").innerHTML=resedentialData.basewater,water=eval(water)-resedentialData.basewater,subgrwater=resedentialData.basewater*water6k,document.getElementById("ctl00_ContentPlaceHolder1_fgrwater").innerHTML=subgrwater.toFixed(2),water>0&&water<=resedentialData.basewater?(document.getElementById("ctl00_ContentPlaceHolder1_yyelwater").innerHTML=water,subyelwater=Math.round(eval(water)*water12k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fyelwater").innerHTML=subyelwater.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_yyelwater").innerHTML=resedentialData.basewater,water=eval(water)-resedentialData.basewater,subyelwater=resedentialData.basewater*water12k,document.getElementById("ctl00_ContentPlaceHolder1_fyelwater").innerHTML=subyelwater.toFixed(2),water>0&&(document.getElementById("ctl00_ContentPlaceHolder1_yorwater").innerHTML=water,suborwater=Math.round(eval(water)*water12kp*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_forwater").innerHTML=suborwater.toFixed(2))))),subtotal=eval(subgrelec)+eval(subyelelec)+eval(suborelec)+eval(subredelec),document.getElementById("ctl00_ContentPlaceHolder1_subtotalelec").innerHTML=subtotal.toFixed(2),totalelecamt=(eval(subtotal)+eval(fsElecTotal)).toFixed(2),document.getElementById("ctl00_ContentPlaceHolder1_totalelecamt").innerHTML=totalelecamt,subtotalwater=eval(subgrwater)+eval(subyelwater)+eval(suborwater),document.getElementById("ctl00_ContentPlaceHolder1_subtotalwater").innerHTML=subtotalwater.toFixed(2),totalwateramt=(eval(subtotalwater)+eval(fsWaterTotal)).toFixed(2),document.getElementById("ctl00_ContentPlaceHolder1_totalwateramt").innerHTML=totalwateramt,totalbill=eval(totalelecamt)+eval(totalwateramt),document.getElementById("ctl00_ContentPlaceHolder1_totalbill").innerHTML=totalbill.toFixed(2),totalvatamt=Math.round(eval(totalbill)*eval(vatpercentage))/100,document.getElementById("ctl00_ContentPlaceHolder1_totalvatamt").innerHTML=totalvatamt.toFixed(2),totalbillinclvat=eval(totalvatamt)+eval(totalbill),document.getElementById("ctl00_ContentPlaceHolder1_totalbillincludingvat").innerHTML=totalbillinclvat.toFixed(2);else if(isCommercial){Assign_all(),document.getElementById("ctl00_ContentPlaceHolder1_grelec").innerHTML=commercialData.gelec,document.getElementById("ctl00_ContentPlaceHolder1_yelelec").innerHTML=commercialData.yelec,document.getElementById("ctl00_ContentPlaceHolder1_orelec").innerHTML=commercialData.oelec,document.getElementById("ctl00_ContentPlaceHolder1_redelec").innerHTML=commercialData.relec,document.getElementById("ctl00_ContentPlaceHolder1_grwater").innerHTML=commercialData.gwater,document.getElementById("ctl00_ContentPlaceHolder1_yelwater").innerHTML=commercialData.ywater,document.getElementById("ctl00_ContentPlaceHolder1_orwater").innerHTML=commercialData.owater,document.getElementById("ctl00_ContentPlaceHolder1_yeltariff").innerHTML=(100*eval(elec4k)).toFixed(0),document.getElementById("ctl00_ContentPlaceHolder1_delec2k").innerHTML=(100*eval(elec2k)).toFixed(0),document.getElementById("ctl00_ContentPlaceHolder1_delec6k").innerHTML=(100*eval(elec6k)).toFixed(0),document.getElementById("ctl00_ContentPlaceHolder1_delec6kp").innerHTML=(100*eval(elec6kp)).toFixed(0),$("#ctl00_ContentPlaceHolder1_ortr").parent().show(),$("#ctl00_ContentPlaceHolder1_redtr").parent().show(),elec>0&&(elec>0&&elec<=commercialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_ygrelec").innerHTML=elec,subgrelec=Math.round(eval(elec)*elec2k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fgrelec").innerHTML=subgrelec.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_ygrelec").innerHTML=commercialData.baseelec,elec=eval(elec)-commercialData.baseelec,subgrelec=commercialData.baseelec*elec2k,document.getElementById("ctl00_ContentPlaceHolder1_fgrelec").innerHTML=subgrelec.toFixed(2),elec>0&&elec<=commercialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_yyelelec").innerHTML=elec,subyelelec=Math.round(eval(elec)*elec4k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fyelelec").innerHTML=subyelelec.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_yyelelec").innerHTML=commercialData.baseelec,elec=eval(elec)-commercialData.baseelec,subyelelec=commercialData.baseelec*elec4k,document.getElementById("ctl00_ContentPlaceHolder1_fyelelec").innerHTML=subyelelec.toFixed(2),elec>0&&elec<=commercialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_yorelec").innerHTML=elec,suborelec=Math.round(eval(elec)*elec6k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_forelec").innerHTML=suborelec.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_yorelec").innerHTML=commercialData.baseelec,elec=eval(elec)-commercialData.baseelec,suborelec=commercialData.baseelec*elec6k,document.getElementById("ctl00_ContentPlaceHolder1_forelec").innerHTML=suborelec.toFixed(2),elec>0&&(document.getElementById("ctl00_ContentPlaceHolder1_yredelec").innerHTML=elec,subredelec=Math.round(eval(elec)*elec6kp*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fredelec").innerHTML=subredelec.toFixed(2)))))),water>0&&(document.getElementById("ctl00_ContentPlaceHolder1_lblwater1").innerHTML=(100*eval(water6k)).toFixed(1),document.getElementById("ctl00_ContentPlaceHolder1_lblwater2").innerHTML=(100*eval(water12k)).toFixed(1),document.getElementById("ctl00_ContentPlaceHolder1_lblwater3").innerHTML=(100*eval(water12kp)).toFixed(1),water>0&&water<=commercialData.basewater?(document.getElementById("ctl00_ContentPlaceHolder1_ygrwater").innerHTML=water,subgrwater=Math.round(eval(water)*water6k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fgrwater").innerHTML=subgrwater.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_ygrwater").innerHTML=commercialData.basewater,water=eval(water)-commercialData.basewater,subgrwater=commercialData.basewater*water6k,document.getElementById("ctl00_ContentPlaceHolder1_fgrwater").innerHTML=subgrwater.toFixed(2),water>0&&water<=commercialData.basewater?(document.getElementById("ctl00_ContentPlaceHolder1_yyelwater").innerHTML=water,subyelwater=Math.round(eval(water)*water12k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fyelwater").innerHTML=subyelwater.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_yyelwater").innerHTML=commercialData.basewater,water=eval(water)-commercialData.basewater,subyelwater=commercialData.basewater*water12k,document.getElementById("ctl00_ContentPlaceHolder1_fyelwater").innerHTML=subyelwater.toFixed(2),water>0&&(document.getElementById("ctl00_ContentPlaceHolder1_yorwater").innerHTML=water,suborwater=Math.round(eval(water)*water12kp*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_forwater").innerHTML=suborwater.toFixed(2)))));var subtotal=eval(subgrelec)+eval(subyelelec)+eval(suborelec)+eval(subredelec);document.getElementById("ctl00_ContentPlaceHolder1_subtotalelec").innerHTML=subtotal.toFixed(2),totalelecamt=(eval(subtotal)+eval(fsElecTotal)).toFixed(2),document.getElementById("ctl00_ContentPlaceHolder1_totalelecamt").innerHTML=totalelecamt;var subtotalwater=eval(subgrwater)+eval(subyelwater)+eval(suborwater);document.getElementById("ctl00_ContentPlaceHolder1_subtotalwater").innerHTML=subtotalwater.toFixed(2),totalwateramt=(eval(subtotalwater)+eval(fsWaterTotal)).toFixed(2),document.getElementById("ctl00_ContentPlaceHolder1_totalwateramt").innerHTML=totalwateramt,totalbill=eval(totalelecamt)+eval(totalwateramt),document.getElementById("ctl00_ContentPlaceHolder1_totalbill").innerHTML=totalbill.toFixed(2),totalvatamt=Math.round(eval(totalbill)*eval(vatpercentage))/100,document.getElementById("ctl00_ContentPlaceHolder1_totalvatamt").innerHTML=totalvatamt.toFixed(2),totalbillinclvat=eval(totalvatamt)+eval(totalbill),document.getElementById("ctl00_ContentPlaceHolder1_totalbillincludingvat").innerHTML=totalbillinclvat.toFixed(2)}else{$("#ctl00_ContentPlaceHolder1_ortr").parent().hide(),$("#ctl00_ContentPlaceHolder1_redtr").parent().hide(),Assign_all(),document.getElementById("ctl00_ContentPlaceHolder1_grelec").innerHTML=industrialData.gelec,document.getElementById("ctl00_ContentPlaceHolder1_yelelec").innerHTML=industrialData.yelec,document.getElementById("ctl00_ContentPlaceHolder1_grwater").innerHTML=industrialData.gwater,document.getElementById("ctl00_ContentPlaceHolder1_yelwater").innerHTML=industrialData.ywater,document.getElementById("ctl00_ContentPlaceHolder1_orwater").innerHTML=industrialData.owater,document.getElementById("ctl00_ContentPlaceHolder1_yeltariff").innerHTML=(100*eval(elec10kp)).toFixed(0),document.getElementById("ctl00_ContentPlaceHolder1_delec2k").innerHTML=(100*eval(elec10k)).toFixed(0),elec>0&&(elec>0&&elec<=industrialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_ygrelec").innerHTML=elec,subgrelec=Math.round(eval(elec)*elec10k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fgrelec").innerHTML=subgrelec.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_ygrelec").innerHTML=industrialData.baseelec,elec=eval(elec)-industrialData.baseelec,subgrelec=industrialData.baseelec*elec10k,document.getElementById("ctl00_ContentPlaceHolder1_fgrelec").innerHTML=subgrelec.toFixed(2),elec>0&&(document.getElementById("ctl00_ContentPlaceHolder1_yyelelec").innerHTML=elec,subyelelec=Math.round(eval(elec)*elec10kp*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fyelelec").innerHTML=subyelelec.toFixed(2)))),document.getElementById("ctl00_ContentPlaceHolder1_lblwater1").innerHTML=(100*eval(water6k)).toFixed(1),document.getElementById("ctl00_ContentPlaceHolder1_lblwater2").innerHTML=(100*eval(water12k)).toFixed(1),document.getElementById("ctl00_ContentPlaceHolder1_lblwater3").innerHTML=(100*eval(water12kp)).toFixed(1),water>0&&(water>0&&water<=industrialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_ygrwater").innerHTML=water,subgrwater=Math.round(eval(water)*water6k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fgrwater").innerHTML=subgrwater.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_ygrwater").innerHTML=industrialData.baseelec,water=eval(water)-industrialData.baseelec,subgrwater=water6k*industrialData.baseelec,document.getElementById("ctl00_ContentPlaceHolder1_fgrwater").innerHTML=subgrwater.toFixed(2),water>0&&water<=industrialData.baseelec?(document.getElementById("ctl00_ContentPlaceHolder1_yyelwater").innerHTML=water,subyelwater=Math.round(eval(water)*water12k*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_fyelwater").innerHTML=subyelwater.toFixed(2)):(document.getElementById("ctl00_ContentPlaceHolder1_yyelwater").innerHTML=industrialData.baseelec,water=eval(water)-industrialData.baseelec,subyelwater=industrialData.baseelec*water12k,document.getElementById("ctl00_ContentPlaceHolder1_fyelwater").innerHTML=subyelwater.toFixed(2),water>0&&(document.getElementById("ctl00_ContentPlaceHolder1_yorwater").innerHTML=water,suborwater=Math.round(eval(water)*water12kp*1e3)/1e3,document.getElementById("ctl00_ContentPlaceHolder1_forwater").innerHTML=suborwater.toFixed(2)))));var subtotal=eval(subgrelec)+eval(subyelelec);document.getElementById("ctl00_ContentPlaceHolder1_subtotalelec").innerHTML=subtotal.toFixed(2),totalelecamt=(eval(subtotal)+eval(fsElecTotal)).toFixed(2),document.getElementById("ctl00_ContentPlaceHolder1_totalelecamt").innerHTML=totalelecamt;var subtotalwater=eval(subgrwater)+eval(subyelwater)+eval(suborwater);document.getElementById("ctl00_ContentPlaceHolder1_subtotalwater").innerHTML=subtotalwater.toFixed(2),totalwateramt=(eval(subtotalwater)+eval(fsWaterTotal)).toFixed(2),document.getElementById("ctl00_ContentPlaceHolder1_totalwateramt").innerHTML=totalwateramt,totalbill=eval(totalelecamt)+eval(totalwateramt),document.getElementById("ctl00_ContentPlaceHolder1_totalbill").innerHTML=totalbill.toFixed(2),totalvatamt=Math.round(eval(totalbill)*eval(vatpercentage))/100,document.getElementById("ctl00_ContentPlaceHolder1_totalvatamt").innerHTML=totalvatamt.toFixed(2),totalbillinclvat=eval(totalvatamt)+eval(totalbill),document.getElementById("ctl00_ContentPlaceHolder1_totalbillincludingvat").innerHTML=totalbillinclvat.toFixed(2)}}function Assign_all(){document.getElementById("ctl00_ContentPlaceHolder1_ygrelec").innerHTML="0",document.getElementById("ctl00_ContentPlaceHolder1_fgrelec").innerHTML="0.00",document.getElementById("ctl00_ContentPlaceHolder1_yyelelec").innerHTML="0",document.getElementById("ctl00_ContentPlaceHolder1_fyelelec").innerHTML="0.00",document.getElementById("ctl00_ContentPlaceHolder1_yorelec").innerHTML="0",document.getElementById("ctl00_ContentPlaceHolder1_forelec").innerHTML="0.00",document.getElementById("ctl00_ContentPlaceHolder1_yredelec").innerHTML="0",document.getElementById("ctl00_ContentPlaceHolder1_fredelec").innerHTML="0.00",document.getElementById("ctl00_ContentPlaceHolder1_ygrwater").innerHTML="0",document.getElementById("ctl00_ContentPlaceHolder1_fgrwater").innerHTML="0.00",document.getElementById("ctl00_ContentPlaceHolder1_yyelwater").innerHTML="0",document.getElementById("ctl00_ContentPlaceHolder1_fyelwater").innerHTML="0.00",document.getElementById("ctl00_ContentPlaceHolder1_yorwater").innerHTML="0",document.getElementById("ctl00_ContentPlaceHolder1_forwater").innerHTML="0.00"}e.preventDefault();var elec=this.$electricityInput.val(),water=this.$waterInput.val(),isResedential="residential"===this.$typeSelect.val(),isCommercial="commercial"===this.$typeSelect.val(),data=this.$journey.data();elec||(elec=0),water||(water=0),this.$resultsContainer.show(),this.$formContainer.hide();var elec2k=data.elec2k,elec4k=data.elec4k,elec6k=data.elec6k,elec6kp=data.elec6kp,elec10k=data.elec10k,elec10kp=data.elec10kp,water6k=data.water6k,water12k=data.water12k,water12kp=data.water12kp,nelec2k=data.nelec2k,nelec4k=data.nelec4k,nelec6k=data.nelec6k,nelec6kp=data.nelec6kp,nwater10k=data.nwater10k,nwater10kp=data.nwater10kp,fsWatervalue=data.fswatervalue,fsElecvalue=data.fselecvalue,resedentialData=data.resedential,commercialData=data.commercial,industrialData=data.industrial,vatpercentage=data.vat,fsElecTotal,fsWaterTotal,fsTotal;Tariff_Cal(),this.$journey.find('[data-component="m23-table"]').each(function(){$(this).trigger("j34Done")})},TariffCalculator}),define("../src/journeys/j40-pledge/j40-pledge",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e=this;e.total=0,e.numBulbsCB=t(this.$journey).find('input[data-j40-pledge="j40_checkbox_1_1"]'),e.numBulbsTF=t(this.$journey).find('input[data-j40-pledge="j40_textfield_1_1"]'),e.airConTempCB=t(this.$journey).find('input[data-j40-pledge="j40_checkbox_1_2"]'),e.airConTempTF=t(this.$journey).find('input[data-j40-pledge="j40_textfield_1_2"]'),e.airConMaintCB=t(this.$journey).find('input[data-j40-pledge="j40_checkbox_1_3"]'),e.airConMaintTF=t(this.$journey).find('input[data-j40-pledge="j40_textfield_1_3"]'),e.dryerCB=t(this.$journey).find('input[data-j40-pledge="j40_checkbox_1_4"]'),e.showerCB=t(this.$journey).find('input[data-j40-pledge="j40_checkbox_1_7"]'),e.showerSl=t(this.$journey).find('select[data-j40-pledge="j40_select_1_7"]'),e.reducerCB=t(this.$journey).find('input[data-j40-pledge="j40_checkbox_1_8"]'),e.reducerTF=t(this.$journey).find('input[data-j40-pledge="j40_textfield_1_8"]'),e.toiletCB=t(this.$journey).find('input[data-j40-pledge="j40_checkbox_1_9"]'),e.teethCB=t(this.$journey).find('input[data-j40-pledge="j40_checkbox_1_10"]'),e.teethTF=t(this.$journey).find('input[data-j40-pledge="j40_textfield_1_10"]'),e.kgCO2_TF=t(this.$journey).find('input[data-j40-pledge="j40_textfield_kgco2"]'),e.kwe_TF=t(this.$journey).find('input[data-j40-pledge="j40_textfield_kwe"]'),e.gw_TF=t(this.$journey).find('input[data-j40-pledge="j40_textfield_gw"]'),e.tro=t(this.$journey).find('input[data-j40-pledge="j40_textfield_tro"]'),e.led=t(this.$journey).find('input[data-j40-pledge="j40_textfield_led"]'),e.wBottle=t(this.$journey).find('input[data-j40-pledge="j40_textfield_wBottle"]'),e.numBulbsCB.on("change",function(){e.updateTotals(),e.numBulbsCB.prop("checked")?(e.numBulbsTF.attr("required",!0),e.numBulbsTF.trigger("focusout"),e.numBulbsTF.attr("disabled",!1)):(e.numBulbsTF.attr("required",!1),e.numBulbsTF.trigger("focusout"),e.numBulbsTF.attr("disabled",!0))}),e.numBulbsTF.on("keyup",function(){e.numBulbsCB.prop("checked")&&e.updateTotals()}),e.numBulbsTF.on("change",function(){e.numBulbsCB.prop("checked")&&e.updateTotals()}),e.airConTempCB.on("change",function(){e.updateTotals(),e.airConTempCB.prop("checked")?(e.airConTempTF.attr("required",!0),e.airConTempTF.trigger("focusout"),e.airConTempTF.attr("disabled",!1)):(e.airConTempTF.attr("required",!1),e.airConTempTF.trigger("focusout"),e.airConTempTF.attr("disabled",!0))}),e.airConTempTF.on("keyup",function(){e.airConTempCB.prop("checked")&&e.updateTotals()}),e.airConTempTF.on("change",function(){e.airConTempCB.prop("checked")&&e.updateTotals()}),e.airConMaintCB.on("change",function(){e.updateTotals(),e.airConMaintCB.prop("checked")?(e.airConMaintTF.attr("required",!0),e.airConMaintTF.trigger("focusout"),e.airConMaintTF.attr("disabled",!1)):(e.airConMaintTF.attr("required",!1),e.airConMaintTF.trigger("focusout"),e.airConMaintTF.attr("disabled",!0))}),e.airConMaintTF.on("keyup",function(){e.airConMaintCB.prop("checked")&&e.updateTotals()}),e.airConMaintTF.on("change",function(){e.airConMaintCB.prop("checked")&&e.updateTotals()}),e.dryerCB.on("change",function(){e.updateTotals()}),e.showerCB.on("change",function(){e.updateTotals(),e.showerCB.prop("checked")?(e.showerSl.attr("required",!0),e.showerSl.trigger("change"),e.showerSl.attr("disabled",!1)):(e.showerSl.attr("required",!1),e.showerSl.trigger("change"),e.showerSl.attr("disabled",!0))}),e.showerSl.on("change",function(){e.updateTotals()}),e.teethCB.on("change",function(){e.updateTotals(),e.teethCB.prop("checked")?(e.teethTF.attr("required",!0),e.teethTF.trigger("focusout"),e.teethTF.attr("disabled",!1)):(e.teethTF.attr("required",!1),e.teethTF.trigger("focusout"),e.teethTF.attr("disabled",!0))}),e.teethTF.on("keyup",function(){e.teethCB.prop("checked")&&e.updateTotals()}),e.reducerCB.on("change",function(){e.updateTotals(),e.reducerCB.prop("checked")?(e.reducerTF.attr("required",!0),e.reducerTF.trigger("focusout"),e.reducerTF.attr("disabled",!1)):(e.reducerTF.attr("required",!1),e.reducerTF.trigger("focusout"),e.reducerTF.attr("disabled",!0))}),e.reducerTF.on("keyup",function(){e.reducerCB.prop("checked")&&e.updateTotals()}),e.toiletCB.on("change",function(){e.updateTotals()}),e.teethCB.on("change",function(){e.updateTotals()})},e.prototype.updateTotals=function(){var t,e=this,i=0,n=0;e.numBulbsCB.prop("checked")&&(t=100*parseFloat(e.numBulbsTF.val()),i+=isNaN(t)?0:t),e.airConTempCB.prop("checked")&&(t=960*parseFloat(e.airConTempTF.val()),i+=isNaN(t)?0:t),e.airConMaintCB.prop("checked")&&(t=420*parseFloat(e.airConMaintTF.val()),i+=isNaN(t)?0:t),e.dryerCB.prop("checked")&&(i+=parseFloat(275)),e.showerCB.prop("checked")&&(t=2190*parseFloat(e.showerSl.val()),n+=isNaN(t)?0:t),e.reducerCB.prop("checked")&&(t=10950*parseFloat(e.reducerTF.val()),n+=isNaN(t)?0:t),e.toiletCB.prop("checked")&&(n+=parseFloat(547.5)),e.teethCB.prop("checked")&&(t=parseFloat(e.teethCB.val())*parseFloat(e.teethTF.val()),n+=isNaN(t)?0:t);var o=Math.round(.4178*i),s=Math.round(n/4.546),r=Math.round(.0242818*s);i=Math.round(i),n=Math.round(n),e.kgCO2_TF.val(o+r),e.kwe_TF.val(i),e.gw_TF.val(Math.round(n/4.546)),e.tro.val(Math.round(e.kgCO2_TF/22)),e.led.val(Math.round(i/16.2)),e.wBottle.val(Math.round(9.09218*n))},e}),define("../src/journeys/j41-pledge/j41-pledge",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e=this;e.total=0,e.numBulbsCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_1"]'),e.numBulbsTF=t(this.$journey).find('input[data-J41-pledge="J41_textfield_1_1"]'),e.airConTempCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_2"]'),e.airConTempTF=t(this.$journey).find('input[data-J41-pledge="j41_textfield_1_2"]'),e.airConMaintCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_3"]'),e.airConMaintTF=t(this.$journey).find('input[data-J41-pledge="j41_textfield_1_3"]'),e.dryerCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_4"]'),e.heatersCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_5"]'),e.heatersTF=t(this.$journey).find('input[data-J41-pledge="J41_textfield_1_5"]'),e.showerCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_7"]'),e.showerSl=t(this.$journey).find('select[data-J41-pledge="J41_select_1_7"]'),e.reducerCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_8"]'),e.reducerTF=t(this.$journey).find('input[data-J41-pledge="J41_textfield_1_8"]'),e.toiletCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_9"]'),e.teethCB=t(this.$journey).find('input[data-J41-pledge="J41_checkbox_1_10"]'),e.teethTF=t(this.$journey).find('input[data-J41-pledge="J41_textfield_1_10"]'),e.kgCO2_TF=t(this.$journey).find('input[data-J41-pledge="J41_textfield_kgco2"]'),e.kwe_TF=t(this.$journey).find('input[data-J41-pledge="J41_textfield_kwe"]'),e.gw_TF=t(this.$journey).find('input[data-J41-pledge="J41_textfield_gw"]'),e.tro=t(this.$journey).find('input[data-J41-pledge="J41_textfield_tro"]'),e.led=t(this.$journey).find('input[data-J41-pledge="J41_textfield_led"]'),e.wBottle=t(this.$journey).find('input[data-J41-pledge="J41_textfield_wBottle"]'),e.numBulbsCB.on("change",function(){e.updateTotals(),e.numBulbsCB.prop("checked")?(e.numBulbsTF.attr("required",!0),e.numBulbsTF.trigger("focusout"),e.numBulbsTF.attr("disabled",!1)):(e.numBulbsTF.attr("required",!1),e.numBulbsTF.trigger("focusout"),e.numBulbsTF.attr("disabled",!0))}),e.numBulbsTF.on("keyup",function(){e.numBulbsCB.prop("checked")&&e.updateTotals()}),e.numBulbsTF.on("change",function(){e.numBulbsCB.prop("checked")&&e.updateTotals()}),e.airConTempCB.on("change",function(){e.updateTotals(),e.airConTempCB.prop("checked")?(e.airConTempTF.attr("required",!0),e.airConTempTF.trigger("focusout"),e.airConTempTF.attr("disabled",!1)):(e.airConTempTF.attr("required",!1),e.airConTempTF.trigger("focusout"),e.airConTempTF.attr("disabled",!0))}),e.airConTempTF.on("keyup",function(){e.airConTempCB.prop("checked")&&e.updateTotals()}),e.airConTempTF.on("change",function(){e.airConTempCB.prop("checked")&&e.updateTotals()}),e.airConMaintCB.on("change",function(){e.updateTotals(),e.airConMaintCB.prop("checked")?(e.airConMaintTF.attr("required",!0),e.airConMaintTF.trigger("focusout"),e.airConMaintTF.attr("disabled",!1)):(e.airConMaintTF.attr("required",!1),e.airConMaintTF.trigger("focusout"),e.airConMaintTF.attr("disabled",!0))}),e.airConMaintTF.on("keyup",function(){e.airConMaintCB.prop("checked")&&e.updateTotals()}),e.airConMaintTF.on("change",function(){e.airConMaintCB.prop("checked")&&e.updateTotals()}),e.dryerCB.on("change",function(){e.updateTotals()}),e.heatersCB.on("change",function(){
e.updateTotals(),e.heatersCB.prop("checked")?(e.heatersTF.attr("required",!0),e.heatersTF.trigger("focusout"),e.heatersTF.attr("disabled",!1)):(e.heatersTF.attr("required",!1),e.heatersTF.trigger("focusout"),e.heatersTF.attr("disabled",!1))}),e.heatersTF.on("change",function(){e.heatersCB.prop("checked")&&e.updateTotals()}),e.reducerCB.on("change",function(){e.updateTotals(),e.reducerCB.prop("checked")?(e.reducerTF.attr("required",!0),e.reducerTF.trigger("focusout"),e.reducerTF.attr("disabled",!1)):(e.reducerTF.attr("required",!1),e.reducerTF.trigger("focusout"),e.reducerTF.attr("disabled",!0))}),e.reducerTF.on("change",function(){e.reducerCB.prop("checked")&&e.updateTotals()}),e.showerCB.on("change",function(){e.updateTotals(),e.showerCB.prop("checked")?(e.showerSl.attr("required",!0),e.showerSl.trigger("change"),e.showerSl.attr("disabled",!1)):(e.showerSl.attr("required",!1),e.showerSl.trigger("change"),e.showerSl.attr("disabled",!0))}),e.showerSl.on("change",function(){e.updateTotals()}),e.teethCB.on("change",function(){e.updateTotals(),e.teethCB.prop("checked")?(e.teethTF.attr("required",!0),e.teethTF.trigger("focusout"),e.teethTF.attr("disabled",!1)):(e.teethTF.attr("required",!1),e.teethTF.trigger("focusout"),e.teethTF.attr("disabled",!0))}),e.teethTF.on("keyup",function(){e.teethCB.prop("checked")&&e.updateTotals()}),e.toiletCB.on("change",function(){e.updateTotals()}),e.teethCB.on("change",function(){e.updateTotals()})},e.prototype.updateTotals=function(){var t,e=this,i=0,n=0;e.numBulbsCB.prop("checked")&&(t=100*parseFloat(e.numBulbsTF.val()),i+=isNaN(t)?0:t),e.airConTempCB.prop("checked")&&(t=960*parseFloat(e.airConTempTF.val()),i+=isNaN(t)?0:t),e.airConMaintCB.prop("checked")&&(t=420*parseFloat(e.airConMaintTF.val()),i+=isNaN(t)?0:t),e.dryerCB.prop("checked")&&(i+=parseFloat(275)),e.heatersCB.prop("checked")&&(t=420*parseFloat(e.heatersTF.val()),i+=isNaN(t)?0:t),e.showerCB.prop("checked")&&(t=2190*parseFloat(e.showerSl.val()),n+=isNaN(t)?0:t),e.reducerCB.prop("checked")&&(t=10950*parseFloat(e.reducerTF.val()),n+=isNaN(t)?0:t),e.toiletCB.prop("checked")&&(n+=parseFloat(547.5)),e.teethCB.prop("checked")&&(t=parseFloat(e.teethCB.val())*parseFloat(e.teethTF.val()),n+=isNaN(t)?0:t);var o=Math.round(.4178*i),s=Math.round(n/4.546),r=Math.round(.0242818*s);i=Math.round(i),n=Math.round(n),e.kgCO2_TF.val(o+r),e.kwe_TF.val(i),e.gw_TF.val(Math.round(n/4.546)),e.tro.val(Math.round(e.kgCO2_TF/22)),e.led.val(Math.round(i/16.2)),e.wBottle.val(Math.round(9.09218*n))},e}),define("../src/journeys/j68a-residential-consumer-awards/j68a-residential-consumer-awards",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e="rtl"==t("html").attr("dir")?"ar":"en",i=document.createElement("script");i.type="text/javascript",i.src="https://www.google.com/recaptcha/api.js?hl="+e,document.body.appendChild(i),document.forms["j68a-1-form"].onsubmit=function(e){e.preventDefault(),grecaptcha.getResponse()?(t('.g-recaptcha div[style="width: 304px; height: 78px;"]').removeClass("error"),document.forms["j68a-1-form"].submit()):t('.g-recaptcha div[style="width: 304px; height: 78px;"]').addClass("error")}},e}),define("../src/journeys/j68b-facility-management-awards/j68b-facility-management-awards",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e="rtl"==t("html").attr("dir")?"ar":"en",i=document.createElement("script");i.type="text/javascript",i.src="https://www.google.com/recaptcha/api.js?hl="+e,document.body.appendChild(i),document.forms["j68b-3-form"].onsubmit=function(e){e.preventDefault(),grecaptcha.getResponse()?(t('.g-recaptcha div[style="width: 304px; height: 78px;"]').removeClass("error"),document.forms["j68b-3-form"].submit()):t('.g-recaptcha div[style="width: 304px; height: 78px;"]').addClass("error")}},e}),define("../src/journeys/j68c-conservation-team-awards/j68c-conservation-team-awards",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e="rtl"==t("html").attr("dir")?"ar":"en",i=document.createElement("script");i.type="text/javascript",i.src="https://www.google.com/recaptcha/api.js?hl="+e,document.body.appendChild(i),document.forms["j68c-1-form"].onsubmit=function(e){e.preventDefault(),grecaptcha.getResponse()?(t('.g-recaptcha div[style="width: 304px; height: 78px;"]').removeClass("error"),document.forms["j68c-1-form"].submit()):t('.g-recaptcha div[style="width: 304px; height: 78px;"]').addClass("error")}},e}),define("../src/journeys/j69-dashboard/j69-dashboard",["jquery","slick","lib/utils","parsley","chart-config"],function(t,e,i){"use strict";var n=function(t){return this.$journey=t,this};return n.prototype.init=function(){var e=this;this.labels="",(null!=t(this.$journey).find(".j69-dashboard--customer_labels").attr("data-labels")||void 0!=t(this.$journey).find(".j69-dashboard--customer_labels").attr("data-labels"))&&(this.labels=JSON.parse(t(this.$journey).find(".j69-dashboard--customer_labels").attr("data-labels"))),this.details_collapsable(),this.otp(),t(".form-field--select").find(".relationship").each(function(){t(this).off("change.relationship").on("change.relationship",function(){"09"==t(this).val()?t(this).closest(".j69-customer--details_forms").find(".relationship-others").show():t(this).closest(".j69-customer--details_forms").find(".relationship-others").hide()})}),this.$journey.find(".j69-customer--add_fam").off("click.add").on("click.add",function(){function n(t,e){t.val().length>=e&&window.setTimeout(function(){t.val(t.val().substring(0,e))},5)}var o=this,s=e.labels.famemname,r=e.labels.famemres,a=e.labels.reside_label,l=t(".j69-customer--reside_option").html(),c=t(".j69-customer--rela_option").html(),d=e.labels.mem_namelabel,h=e.labels.mem_namepholder,u=e.labels.req_label,p=e.labels.rela_label,f=(e.labels.cat_label,e.labels.hasPOD_label,e.labels.hasPMI_label,e.labels.medeq_label,e.labels.podcard_label),m=e.labels.mdcard_label,g=e.labels.srcard_label,v=(e.labels.podeidcard_label,e.labels.mdeidcard_label,e.labels.sreidcard_label,e.labels.podcard_pholder),y=e.labels.preview_path,b=(e.labels.eidfile_label,e.labels.choose_label),_=e.labels.uploadformat_msg,x=e.labels.uploadfile_msg,w=e.labels.remove_label,k=e.labels.upload_note,C=(e.labels.yes,e.labels.no,i.uniqueID()),T=i.uniqueID(),S=i.uniqueID(),$=i.uniqueID(),M=i.uniqueID(),j=(i.uniqueID(),i.uniqueID(),i.uniqueID()),D=i.uniqueID(),E=i.uniqueID(),A=i.uniqueID(),P=(i.uniqueID(),i.uniqueID()),O=(i.uniqueID(),i.uniqueID()),L=i.uniqueID(),I=e.$journey.find(".j69-customer--med_issues").clone(),F=e.$journey.find(".j69-customer--pod_issues").clone(),H=e.$journey.find(".j69-customer--med_equipment").clone(),B=e.$journey.find(".j69-customer--medpod_issues").clone();I.find(".form-field__input").each(function(e){t(this).attr("aria-describedby","description-for-"+D),t(this).attr("data-parsley-errors-container","#description-for-"+D),t(this).attr("id","form-field-"+D+e.toString())}),I.find("label").each(function(e){t(this).attr("for","form-field-"+D+e.toString())}),F.find(".form-field__input").each(function(e){t(this).attr("aria-describedby","description-for-"+j),t(this).attr("data-parsley-errors-container","#description-for-"+j),t(this).attr("id","form-field-"+j+e.toString())}),F.find("label").each(function(e){t(this).attr("for","form-field-"+j+e.toString())}),H.find(".form-field__input").each(function(e){t(this).attr("aria-describedby","description-for-"+E),t(this).attr("data-parsley-errors-container","#description-for-"+E),t(this).attr("id","form-field-"+E+e.toString())}),H.find("label").each(function(e){t(this).attr("for","form-field-"+E+e.toString())}),H.find(".form-field__messages").each(function(){t(this).attr("id","description-for-"+E)}),B.find(".form-field__input").each(function(e){t(this).attr("aria-describedby","description-for-"+$),t(this).attr("data-parsley-errors-container","#description-for-"+$),t(this).attr("id","form-field-"+$+e.toString()),t(this).attr("name",$),t(this).attr("data-parsley-multiple",$)}),B.find("label").each(function(e){t(this).attr("for","form-field-"+$+e.toString())}),I.find(".form-field__messages").attr("id","description-for-"+D),F.find(".form-field__messages").attr("id","description-for-"+j),B.find(".form-field__messages").attr("id","description-for-"+$),I=I.wrap("<div></div>"),F=F.wrap("<div></div>"),B=B.wrap("<div></div>");var N='<div class="j69-customer--details_field--remove icon-new-bin"></div><fieldset id="'+O+'" class="j69-customer--details_field form-field"> <div class="j69-customer--details_title"> <div class="j69-customer--details_name" id="'+C+'" binding-default="'+s+'">'+s+'</div> <div class="j69-customer--details_account" id="'+T+'" binding-default="'+r+'">'+r+'</div> </div> <div class="j69-customer--details_forms"> <div class="form-field form-field--select form-field--select-single"> <label for="form-field-'+S+'" class="form-field__label"> '+a+' </label> <span class="form-field__input-wrapper form-field__input-wrapper--select"> <select class="form-field__input form-field__input--select form-field__input--select-full form-field__input--text-binded reside_dp" required  data-parsley-required-message="'+u+'" id="form-field-'+S+'" name="select" aria-describedby="description-for-'+S+'" binding-target="#'+T+'" data-parsley-errors-container="#description-for-'+S+'" data-parsley-trigger="change" data-parsley-id="28" required=""> '+l+' </select> </span> <div id="description-for-'+S+'" class="form-field__messages"> </div> </div> <div class="form-field form-field--text"> <label for="form-field-'+L+'" class="form-field__label"> '+d+' </label> <span class="form-field__input-wrapper"> <input class="form-field__input form-field__input--text form-field__input--text-binded fam_name" maxlength="50" id="form-field-'+L+'" binding-target="#'+C+'" name="mem_name" type="text" placeholder="'+h+'" aria-describedby="description-for-'+L+'" data-parsley-errors-container="#description-for-'+L+'" required="" data-parsley-required-message="'+u+'" data-parsley-trigger="focusout"> </span> <div id="description-for-'+L+'" class="form-field__messages"> </div> </div> <div class="form-field form-field--select form-field--select-single"> <label for="form-field-'+M+'" class="form-field__label"> '+p+' </label> <span class="form-field__input-wrapper form-field__input-wrapper--select"> <select class="form-field__input form-field__input--select form-field__input--select-full relationship" data-parsley-required-message="'+u+'" id="form-field-'+M+'" name="select" aria-describedby="description-for-'+M+'" data-parsley-errors-container="#description-for-'+M+'" data-parsley-trigger="change" data-parsley-id="28" required=""> '+c+' </select> </span> <div id="description-for-'+M+'" class="form-field__messages"> </div> </div> '+B.html()+' <div class="form-field form-field--toggles target01"> '+F.html()+' </div> <div class="target02 form-field" style="display: none;"> <div class="form-field form-field--toggles"> '+I.html()+" </div> "+H.html()+' </div> <div class="form-field form-field--text"> <label for="form-field-'+A+'" class="form-field__label"> '+f+' </label> <span class="form-field__input-wrapper"> <input class="form-field__input form-field__input--text pod_num" id="form-field-'+A+'" name="podid" data-parsley-maxnumber="15" type="number" placeholder="'+v+'" aria-describedby="description-for-'+A+'" data-parsley-errors-container="#description-for-'+A+'" required="" data-parsley-required-message="'+u+'" data-parsley-trigger="focusout"> </span> <div id="description-for-'+A+'" class="form-field__messages"> </div> </div> <div class="form-field form-field--upload"> <div class="form-field__input-wrapper"> <div class="form-field__preview-wrapper"> <img src="'+y+'" data-src="'+y+'" data-success="../../images/upload_success.png" class="form-field__preview" aria-hidden="true" role="presentation" alt="alt text" data-uploader-image="'+P+'"> </div> <div class="form-field__uploader-details"> <label for="form-field-'+P+'" class="target01 form-field__label"> '+f+' </label><label for="form-field-'+P+'" class="target02 form-field__label"> '+m+' </label><label for="form-field-'+P+'" class="form-field__label target03"> '+g+' </label> <div> <label> <input class="form-field__input form-field__input--upload senior_file" id="form-field-'+P+'" name="tlupload'+P+'" type="file" aria-describedby="description-for-'+P+'" data-parsley-errors-container="#description-for-'+P+'" required="" data-parsley-required-message="'+u+'" data-uploader-field="'+P+'" accept="image/*" data-accepts="&quot;jpg&quot;, &quot;bmp&quot;,&quot;gif&quot;,&quot;png&quot;,&quot;jpeg&quot;,&quot;pdf&quot;,&quot;doc&quot;,&quot;docx&quot;,&quot;xls&quot;,&quot;csv&quot;, &quot;xlsx&quot;" data-size="2048000" data-parsley-trigger="focusout" data-parsley-id="18"> <span class="button button--primary button--next button--small focus-enabled" data-uploader-button="upload-choose">'+b+'</span> </label> </div> <p class="form-field__input--upload-format-error-message" data-uploader-format-error="error-message">'+_+'</p> <p class="form-field__input--upload-size-error-message" data-uploader-size-error="error-message">'+x+'</p> <p class="form-field__input--upload-filename" data-uploader-filename="'+P+'"></p> <p> <button class="button button--text button--remove hidden" data-uploader-remove="'+P+'">'+w+'</button> </p> </div> </div> <div id="description-for-'+P+'" class="form-field__messages"> <p class="form-field__description">'+k+"</p> </div> </div> </div> </fieldset>";t(this).closest(".link").before(N),e.details_collapsable(),t("#"+O).find(".form-field__radio--toggle").find(".form-field__input--radio").each(function(){var e=t(this).attr("toggle-target"),n=i.uniqueID();void 0!=e&&""!=e&&(t(e).removeClass(e.slice(1)).addClass(n),t(this).attr("toggle-target","."+n))}),t("#"+O).find(".form-field__input--checkbox--toggle").each(function(){var e=t(this).attr("toggle-target"),n=i.uniqueID();void 0!=e&&""!=e&&(t(e).removeClass(e.slice(1)).addClass(n),t(this).attr("toggle-target","."+n))}),t(".form-field--select").find(".relationship").each(function(){t(this).off("change.relationship").on("change.relationship",function(){"09"==t(this).val()?t(this).closest(".j69-customer--details_forms").find(".relationship-others").show():t(this).closest(".j69-customer--details_forms").find(".relationship-others").hide()})}),t(window).trigger("form_reinit"),t("[ data-parsley-maxnumber ]").on("keypress.truncate",function(){n(t(this),parseInt(t(this).attr("data-parsley-maxnumber")))}),setTimeout(function(){t(o).closest(".link").prev().find(".form-field__input--select.form-field__input--text-binded").trigger("change")},300)}),t(window).off("j69-customer_reinit").on("j69-customer_reinit",function(){e.init()}),t(".fieldset-edit-beneficiary-item-form input").keypress(function(e){var i=[3,9,12,13,16,17,18,19,20,27,28,29,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46];i.indexOf(e.which)<0&&t(this).closest(".fieldset-edit-beneficiary-item").find(".form-field__button").removeClass("hidden")}),t(".btn-reset").unbind("click").click(function(e){e.preventDefault();var i=t(this).closest(".fieldset-edit-beneficiary-item"),n=i.find(".fieldset-edit-beneficiary-item-name input"),o=i.find(".fieldset-edit-beneficiary-item-account input");o.val(o.data("default-value")),n.val(n.data("default-value")),t(this).closest(".fieldset-edit-beneficiary-item").find(".form-field__button").addClass("hidden")}),t(".add-button").unbind("click").click(function(e){if(t(this).closest("form").parsley().validate(),t(this).closest("form").parsley().isValid()){e.preventDefault();var i=t(this).closest(".fieldset-add-beneficiary"),n=i.find(".fieldset-edit-beneficiary-item-name label").text(),o=i.find(".fieldset-edit-beneficiary-item-name input").val(),s=i.find(".fieldset-edit-beneficiary-item-account label").text(),r=i.find(".fieldset-edit-beneficiary-item-account input").val(),a=i.find(".m39-modal"),l=a.find(".m39-modal__trigger"),c=a.find(".m39-modal__content"),d=c.find(".fieldset-edit-beneficiary-item-value"),h="<dl><dt class='m42-keyvalue__key'><strong>"+n+"</strong></dt> <dd class='m42-keyvalue__value m42-keyvalue__value--secondary'>"+o+"</dd><dt class='m42-keyvalue__key'><strong>"+s+"</strong></dt> <dd class='m42-keyvalue__value m42-keyvalue__value--secondary'>"+r+"</dd></dl>";d.empty(),d.append(h),l.trigger("click")}}),t(".save-button").unbind("click").click(function(e){e.preventDefault();var i=t(this).closest(".fieldset-edit-beneficiary-wrapper"),n=t(this).closest(".fieldset-edit-beneficiary-item"),o=n.find(".fieldset-edit-beneficiary-item-name label").text(),s=n.find(".fieldset-edit-beneficiary-item-name input").val(),r=n.find(".fieldset-edit-beneficiary-item-account label").text(),a=n.find(".fieldset-edit-beneficiary-item-account input").val(),l=i.find(".m39-modal"),c=l.find(".m39-modal__trigger"),d=l.find(".m39-modal__title"),h=l.find(".save-title"),u=l.find(".btn"),p=l.find(".add-btn"),f=l.find(".m39-modal__content"),m=f.find(".fieldset-edit-beneficiary-item-value"),g="<dl><dt class='m42-keyvalue__key'><strong>"+o+"</strong></dt> <dd class='m42-keyvalue__value m42-keyvalue__value--secondary'>"+s+"</dd><dt class='m42-keyvalue__key'><strong>"+r+"</strong></dt> <dd class='m42-keyvalue__value m42-keyvalue__value--secondary'>"+a+"</dd></dl>";m.empty(),d.addClass("hidden"),u.addClass("hidden"),p.removeClass("hidden"),h.removeClass("hidden"),m.append(g),c.trigger("click")}),t(".fieldset-edit-beneficiary-item-button-delete").unbind("click").click(function(e){e.preventDefault();var i=t(this).closest(".fieldset-edit-beneficiary-wrapper"),n=t(this).closest(".fieldset-edit-beneficiary-item"),o=i.find(".fieldset-edit-beneficiary"),s=o.find(".btn-reset"),r=i.find(".m39-modal"),a=r.find(".m39-modal__trigger"),l=r.find(".m39-modal__title"),c=r.find(".delete-title");s.trigger("click");var d=n.find(".fieldset-edit-beneficiary-item-name label").text(),h=n.find(".fieldset-edit-beneficiary-item-name input").val(),u=n.find(".fieldset-edit-beneficiary-item-account label").text(),p=n.find(".fieldset-edit-beneficiary-item-account input").val(),f=r.find(".btn"),m=r.find(".remove-btn"),g=r.find(".m39-modal__content"),v=g.find(".fieldset-edit-beneficiary-item-value"),y="<dl><dt class='m42-keyvalue__key'><strong>"+d+"</strong></dt> <dd class='m42-keyvalue__value m42-keyvalue__value--secondary'>"+h+"</dd><dt class='m42-keyvalue__key'><strong>"+u+"</strong></dt> <dd class='m42-keyvalue__value m42-keyvalue__value--secondary'>"+p+"</dd></dl>";v.empty(),l.addClass("hidden"),f.addClass("hidden"),m.removeClass("hidden"),c.removeClass("hidden"),v.append(y),a.trigger("click")})},n.prototype.details_collapsable=function(){this.$journey.find(".j69-customer--details_field").each(function(){var e=t(this).find(".j69-customer--details_title"),i=(t(this).prev(".j69-customer--details_field--remove"),t(this).find(".j69-customer--details_forms"));e.off("click").on("click",function(){t(this).toggleClass("collapsed"),i.toggleClass("hidden"),t(this).closest(".fieldset--collapsable").trigger("DOMSubtreeModified")})})},n.prototype.otp=function(){var e,i=t(".form-field--otp"),n=i.find(".form-field__input--otp");i.find(".form-field__input--otp_main");n.each(function(i){var n=t(this);n.off("keyup.otp").on("keyup.otp",function(){n.val().length>0&&(n.focusout(),n.closest(".form-field__input-wrapper_otp").next().find(".form-field__input--otp").focus(),e=i)})}),t(".form-field__input--otp").on("keyup blur",function(){var o="";t.each(t(".form-field__input--otp"),function(){o+=t(this).val()}),t(".form-field__input--otp_main").val(o),e==n.length-1&&i.closest(".form").submit()})},n}),define("../src/journeys/j75-request-temp-connection/j75-request-temp-connection",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e=this;this.$eventSelect=this.$journey.find("select[name=eventType]"),this.$startDateField=t("#form-field-picker_start_date"),this.$endDateField=t("#form-field-picker_end_date"),this.$startDateContainer=t("#datepicker-container-picker_start_date"),this.$endDateContainer=t("#datepicker-container-picker_end_date"),this.startPickerOptions=this.$startDateField.data("picker-options"),this.startDatePicker=this.$startDateField.pickadate("picker"),this.endDatePicker=this.$endDateField.pickadate("picker"),this.disableDateFields(),this.$eventSelect.on("change",function(){e.eventSelected()}),this.$eventSelect.find(":selected").val().length&&e.eventSelected();try{this.startDatePicker.on({set:function(t){e.startDateSelected(t)}})}catch(i){}},e.prototype.startDateSelected=function(t){var e,i,n=new Date(this.$endDateField.val());void 0!==t.select&&(e=new Date(t.select),i=this.addDays(e,6),(e.getTime()>n.getTime()||n.getTime()>i.getTime())&&(this.resetDateField(this.$endDateField),this.endDatePicker.clear()),this.setPickerDate(this.endDatePicker,"min",e),this.setPickerDate(this.endDatePicker,"max",i))},e.prototype.eventSelected=function(){var t,e,i=this.$eventSelect.val();this.isWedding="Wedding"===i,void 0===this.startPickerOptions.defaultMin&&(this.startPickerOptions.defaultMin=this.startPickerOptions.min),void 0===this.startPickerOptions.defaultMax&&(this.startPickerOptions.defaultMax=this.startPickerOptions.max),t=new Date(this.startPickerOptions.defaultMin[0],this.startPickerOptions.defaultMin[1],this.startPickerOptions.defaultMin[2]),this.resetDateField(this.$startDateField),this.resetDateField(this.$endDateField);try{this.startDatePicker.set("highlight",!1),this.startDatePicker.clear(),this.endDatePicker.set("highlight",!1),this.endDatePicker.clear()}catch(n){}""===i?this.disableDateFields():(this.$startDateContainer.removeClass("form-field--disabled"),this.$endDateContainer.removeClass("form-field--disabled"),this.$startDateField.prop("disabled",!1),this.$endDateField.prop("disabled",!1),e=this.isWedding?this.addDays(t,4):t,this.setPickerDate(this.startDatePicker,"min",e),this.setPickerDate(this.endDatePicker,"min",e),this.startDatePicker.get()||(this.startDatePicker.set("select",e),this.startDatePicker.set("clear")))},e.prototype.setPickerDate=function(t,e,i){try{t.set(e,[i.getFullYear(),i.getMonth(),i.getDate()])}catch(n){}},e.prototype.resetDateField=function(t){t.val("").parent().removeClass("form-field__input-wrapper--validated")},e.prototype.disableDateFields=function(){this.$startDateField.prop("disabled",!0),this.$endDateField.prop("disabled",!0),this.$startDateContainer.addClass("form-field--disabled"),this.$endDateContainer.addClass("form-field--disabled")},e.prototype.addDays=function(t,e){var i=new Date(t);return i.setDate(i.getDate()+e),i},e}),define("../src/journeys/j87-partnership-services/j87-partnership-services",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e=this;e.$modal=t(".j87-partnership-services__modal"),t(this.$journey).find(".partner-document-list__item-document--delete").on("click",function(){t("body").addClass("modal-open"),e.$modal.fadeIn()}),t(this.$journey).find(".j87-partnership-services__modal--button-confirm button").on("click",function(){t("body").removeClass("modal-open"),e.$modal.fadeOut(400,function(){t(this).closest("form").submit()})}),t(this.$journey).find(".j87-partnership-services__modal--button-cancel button").on("click",function(i){i.preventDefault(),i.stopPropagation(),i.stopImmediatePropagation(),t("body").removeClass("modal-open"),e.$modal.fadeOut()})},e}),define("../src/journeys/j92-roadwork-locations/j92-roadwork-locations",["jquery"],function(t){"use strict";var e=function(t){return this.$journey=t,this};return e.prototype.init=function(){var e=this;e.labels=this.$journey.data("labels"),t(window).on("mapLoaded",function(){e.map=window.MAP.map,e.populateMap(),e.centerPoint=e.map.getCenter(),e.map.addListener("dragend",function(){e.map.setCenter(e.map.getCenter()),e.centerPoint=e.map.getCenter()})}),t(window).on("resize orientationchange",function(){setTimeout(function(){e.map.setCenter(e.centerPoint)},10)})},e.prototype.showInfoWindow=function(e){var i=this,n='<div class="m32-map__infowindow-container">';e.city?n+="<strong>"+e.city+"</strong><br/>":e.street&&(n+="<strong>"+e.street+"</strong><br/>"),n+=e.start+" - "+e.end+'<i class="icon-Understanding_Your_Bill"></i>',n+="</div>",i.currentMarker=e,i.infowindow.close(),i.infowindow=new google.maps.InfoWindow({content:n,maxWidth:200}),i.infowindow.open(i.map,e),t(".m32-map__infowindow-container").closest(".gm-style-iw").next("div").css("display","none"),t(".m32-map__infowindow-container").on("click",function(){i.showMoreInfo(e)})},e.prototype.showMoreInfo=function(e){var i=this.labels,n=t(this.$journey).find(".m42-keyvalue dl"),o="";e.street&&(o+='<dt class="m42-keyvalue__key m42-keyvalue__key--secondary">'+i.streetLabel+"</dt>",o+='<dd class="m42-keyvalue__value m42-keyvalue__value--secondary">'+e.street+"</dd>"),e.city&&(o+='<dt class="m42-keyvalue__key m42-keyvalue__key--secondary">'+i.cityLabel+"</dt>",o+='<dd class="m42-keyvalue__value m42-keyvalue__value--secondary">'+e.city+"</dd>"),o+='<dt class="m42-keyvalue__key m42-keyvalue__key--secondary">'+i.disruptionLabel+"</dt>",o+='<dd class="m42-keyvalue__value m42-keyvalue__value--secondary">'+e.disruption+"</dd>",o+='<dt class="m42-keyvalue__key m42-keyvalue__key--secondary">'+i.startLabel+"</dt>",o+='<dd class="m42-keyvalue__value m42-keyvalue__value--secondary">'+e.start+"</dd>",o+='<dt class="m42-keyvalue__key m42-keyvalue__key--secondary">'+i.endLabel+"</dt>",o+='<dd class="m42-keyvalue__value m42-keyvalue__value--secondary">'+e.end+"</dd>",n.empty().html(o),n.closest(".grid__row--hidden").slideDown()},e.prototype.populateMap=function(){var e=this,i=t(e.$journey).data("locations").GetRoadWorkNotif.Item;e.worksMarkers=[],e.infowindow=new google.maps.InfoWindow({});for(var n=0;n<i.length;n++){var o=new google.maps.Marker({map:e.map,position:{lat:parseFloat(i[n].X_COORDINATE),lng:parseFloat(i[n].Y_COORDINATE)},street:i[n].Street,city:i[n].CITY_NAME,start:i[n].START_DATE,end:i[n].END_DATE,disruption:i[n].DISRUPTION,index:n});0===n&&e.map.setCenter(o.getPosition()),e.worksMarkers.push(o),e.worksMarkers[n].addListener("click",function(i){e.map.setCenter(e.worksMarkers[t(this)[0].index].getPosition()),e.showInfoWindow(t(this)[0])}),o.setVisible(!0)}e.map.addListener("click",function(){e.infowindow.close(),t(".m42-keyvalue dl").closest(".grid__row--hidden").slideUp()})},e}),define("../src/sublayouts/_helpers/edit-toggle/edit-toggle",["jquery","breakpoint","lib/utils","numeral"],function(t,e,i){"use strict";var n=function(t){return this.$el=t,this};return n.prototype.init=function(){this.$trigger=this.$el.find("[data-edit-toggle-trigger]"),this.$fieldWrapper=this.$el.find("[data-edit-toggle-field]"),this.$target=this.$el.find("[data-edit-toggle-target]"),this.$input=this.$fieldWrapper.find("input"),this.$cancel=this.$el.find("[data-edit-toggle-cancel]"),this.fieldOpenClassname="edit-toggle__field--open",this.originalAmount=parseFloat(this.$target.text()).toFixed(2),this.$trigger.on("click",t.proxy(this.open,this)),this.$cancel.on("click",t.proxy(this.close,this)),this.$input.on("keyup",t.proxy(this.update,this))},n.prototype.open=function(){this.$trigger.hide(),this.$fieldWrapper.addClass(this.fieldOpenClassname),this.$input.focus()},n.prototype.close=function(){this.$trigger.show(),this.$input.val(""),this.$target.text(numeral(this.originalAmount).format("0,0.00")),this.$fieldWrapper.removeClass(this.fieldOpenClassname),this.$input.focus()},n.prototype.update=function(){this.$target.text(numeral(this.$input.val()).format("0,0.00"))},n}),define("../src/sublayouts/_helpers/spinner/spinner",["jquery"],function(t){"use strict";var e=function(t){return this.$targetEl=t,this};return e.prototype.load=function(){this.$spinner=t('<div class="spinner"></div>'),this.$targetEl.append(this.$spinner)},e.prototype.unload=function(){this.$spinner.fadeOut(200,t.proxy(this.destroy,this))},e.prototype.destroy=function(){this.$spinner.remove()},e}),define("../src/sublayouts/_helpers/toggle-menu/toggle-menu",["jquery","breakpoint","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){this.$trigger=this.$component.find('[data-toggle-trigger="true"]'),this.$content=this.$component.find('[data-toggle-content="true"]'),this.autoOpen=this.$component.data("toggle-auto-open"),this.activeClass="toggle-menu--active",this.activeToggleClass="toggle-menu__trigger--active",this.triggerBreakpoint=void 0===this.$component.data("toggle-breakpoint")?"s":this.$component.data("toggle-breakpoint"),this.respond(),this.active=!1,"l"===this.triggerBreakpoint?(this.display(),this.autoOpen&&this.toggle(this.$trigger.eq(0))):(t(e).on("change",t.proxy(this.respond,this)),t(window).on("orientationchange",t.proxy(this.orientationchange,this)))},n.prototype.respond=function(){var t=this;"s"===this.triggerBreakpoint&&"s"===i.breakpoint()||"m"===this.triggerBreakpoint&&("s"===i.breakpoint()||"m"===i.breakpoint())?t.display():this.reset()},n.prototype.display=function(){var e=this;this.active||(this.$component.addClass(this.activeClass),this.$content.hide(),this.$trigger.on("click",function(){e.toggle(t(this))}),t.each(this.$trigger,function(){0===t(this).next().length&&(t(this).addClass("toggle-menu__trigger--empty").attr("tabindex","-1"),t(this).off("click"))}),this.active=!0)},n.prototype.toggle=function(t){var e=t.next();this.$content.not(e).hide(),this.$trigger.not(t).removeClass(this.activeToggleClass),t.toggleClass(this.activeToggleClass),e.toggle()},n.prototype.orientationchange=function(){this.reset(),this.respond()},n.prototype.reset=function(){this.$component.removeClass(this.activeClass),this.$trigger.off(),this.$trigger.removeClass(this.activeToggleClass),this.$content.removeAttr("style"),this.active=!1},n}),function(t,e,i){function n(t,i){this.wrapper="string"==typeof t?e.querySelector(t):t,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0};for(var n in i)this.options[n]=i[n];this.translateZ=this.options.HWCompositing&&a.hasPerspective?" translateZ(0)":"",this.options.useTransition=a.hasTransition&&this.options.useTransition,this.options.useTransform=a.hasTransform&&this.options.useTransform,this.options.eventPassthrough=this.options.eventPassthrough===!0?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"==this.options.eventPassthrough?!1:this.options.scrollY,this.options.scrollX="horizontal"==this.options.eventPassthrough?!1:this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?a.ease[this.options.bounceEasing]||a.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,this.options.tap===!0&&(this.options.tap="tap"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,3==this.options.probeType&&(this.options.useTransition=!1),this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function o(t,i,n){var o=e.createElement("div"),s=e.createElement("div");return n===!0&&(o.style.cssText="position:absolute;z-index:9999",
s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),s.className="iScrollIndicator","h"==t?(n===!0&&(o.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",s.style.height="100%"),o.className="iScrollHorizontalScrollbar"):(n===!0&&(o.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",s.style.width="100%"),o.className="iScrollVerticalScrollbar"),o.style.cssText+=";overflow:hidden",i||(o.style.pointerEvents="none"),o.appendChild(s),o}function s(i,n){this.wrapper="string"==typeof n.el?e.querySelector(n.el):n.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=i,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(var o in n)this.options[o]=n[o];this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(a.addEvent(this.indicator,"touchstart",this),a.addEvent(t,"touchend",this)),this.options.disablePointer||(a.addEvent(this.indicator,a.prefixPointerEvent("pointerdown"),this),a.addEvent(t,a.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(a.addEvent(this.indicator,"mousedown",this),a.addEvent(t,"mouseup",this))),this.options.fade&&(this.wrapperStyle[a.style.transform]=this.scroller.translateZ,this.wrapperStyle[a.style.transitionDuration]=a.isBadAndroid?"0.001s":"0ms",this.wrapperStyle.opacity="0")}var r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){t.setTimeout(e,1e3/60)},a=function(){function n(t){return r===!1?!1:""===r?t:r+t.charAt(0).toUpperCase()+t.substr(1)}var o={},s=e.createElement("div").style,r=function(){for(var t,e=["t","webkitT","MozT","msT","OT"],i=0,n=e.length;n>i;i++)if(t=e[i]+"ransform",t in s)return e[i].substr(0,e[i].length-1);return!1}();o.getTime=Date.now||function(){return(new Date).getTime()},o.extend=function(t,e){for(var i in e)t[i]=e[i]},o.addEvent=function(t,e,i,n){t.addEventListener(e,i,!!n)},o.removeEvent=function(t,e,i,n){t.removeEventListener(e,i,!!n)},o.prefixPointerEvent=function(e){return t.MSPointerEvent?"MSPointer"+e.charAt(9).toUpperCase()+e.substr(10):e},o.momentum=function(t,e,n,o,s,r){var a,l,c=t-e,d=i.abs(c)/n;return r=void 0===r?6e-4:r,a=t+d*d/(2*r)*(0>c?-1:1),l=d/r,o>a?(a=s?o-s/2.5*(d/8):o,c=i.abs(a-t),l=c/d):a>0&&(a=s?s/2.5*(d/8):0,c=i.abs(t)+a,l=c/d),{destination:i.round(a),duration:l}};var a=n("transform");return o.extend(o,{hasTransform:a!==!1,hasPerspective:n("perspective")in s,hasTouch:"ontouchstart"in t,hasPointer:t.PointerEvent||t.MSPointerEvent,hasTransition:n("transition")in s}),o.isBadAndroid=/Android /.test(t.navigator.appVersion)&&!/Chrome\/\d/.test(t.navigator.appVersion),o.extend(o.style={},{transform:a,transitionTimingFunction:n("transitionTimingFunction"),transitionDuration:n("transitionDuration"),transitionDelay:n("transitionDelay"),transformOrigin:n("transformOrigin")}),o.hasClass=function(t,e){var i=new RegExp("(^|\\s)"+e+"(\\s|$)");return i.test(t.className)},o.addClass=function(t,e){if(!o.hasClass(t,e)){var i=t.className.split(" ");i.push(e),t.className=i.join(" ")}},o.removeClass=function(t,e){if(o.hasClass(t,e)){var i=new RegExp("(^|\\s)"+e+"(\\s|$)","g");t.className=t.className.replace(i," ")}},o.offset=function(t){for(var e=-t.offsetLeft,i=-t.offsetTop;t=t.offsetParent;)e-=t.offsetLeft,i-=t.offsetTop;return{left:e,top:i}},o.preventDefaultException=function(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1},o.extend(o.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),o.extend(o.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return i.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){var e=4;return(t-=1)*t*((e+1)*t+e)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){var e=.22,n=.4;return 0===t?0:1==t?1:n*i.pow(2,-10*t)*i.sin((t-e/4)*(2*i.PI)/e)+1}}}),o.tap=function(t,i){var n=e.createEvent("Event");n.initEvent(i,!0,!0),n.pageX=t.pageX,n.pageY=t.pageY,t.target.dispatchEvent(n)},o.click=function(t){var i,n=t.target;/(SELECT|INPUT|TEXTAREA)/i.test(n.tagName)||(i=e.createEvent("MouseEvents"),i.initMouseEvent("click",!0,!0,t.view,1,n.screenX,n.screenY,n.clientX,n.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),i._constructed=!0,n.dispatchEvent(i))},o}();n.prototype={version:"5.1.3",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),this._execEvent("destroy")},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if((1==a.eventType[t.type]||0===t.button)&&this.enabled&&(!this.initiated||a.eventType[t.type]===this.initiated)){!this.options.preventDefault||a.isBadAndroid||a.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,n=t.touches?t.touches[0]:t;this.initiated=a.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=a.getTime(),this.options.useTransition&&this.isInTransition?(this.isInTransition=!1,e=this.getComputedPosition(),this._translate(i.round(e.x),i.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=n.pageX,this.pointY=n.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&a.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var e,n,o,s,r=t.touches?t.touches[0]:t,l=r.pageX-this.pointX,c=r.pageY-this.pointY,d=a.getTime();if(this.pointX=r.pageX,this.pointY=r.pageY,this.distX+=l,this.distY+=c,o=i.abs(this.distX),s=i.abs(this.distY),!(d-this.endTime>300&&10>o&&10>s)){if(this.directionLocked||this.options.freeScroll||(o>s+this.options.directionLockThreshold?this.directionLocked="h":s>=o+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);c=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}l=this.hasHorizontalScroll?l:0,c=this.hasVerticalScroll?c:0,e=this.x+l,n=this.y+c,(e>0||e<this.maxScrollX)&&(e=this.options.bounce?this.x+l/3:e>0?0:this.maxScrollX),(n>0||n<this.maxScrollY)&&(n=this.options.bounce?this.y+c/3:n>0?0:this.maxScrollY),this.directionX=l>0?-1:0>l?1:0,this.directionY=c>0?-1:0>c?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(e,n),d-this.startTime>300&&(this.startTime=d,this.startX=this.x,this.startY=this.y,1==this.options.probeType&&this._execEvent("scroll")),this.options.probeType>1&&this._execEvent("scroll")}}},_end:function(t){if(this.enabled&&a.eventType[t.type]===this.initiated){this.options.preventDefault&&!a.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var e,n,o=(t.changedTouches?t.changedTouches[0]:t,a.getTime()-this.startTime),s=i.round(this.x),r=i.round(this.y),l=i.abs(s-this.startX),c=i.abs(r-this.startY),d=0,h="";if(this.isInTransition=0,this.initiated=0,this.endTime=a.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(s,r),!this.moved)return this.options.tap&&a.tap(t,this.options.tap),this.options.click&&a.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&200>o&&100>l&&100>c)return void this._execEvent("flick");if(this.options.momentum&&300>o&&(e=this.hasHorizontalScroll?a.momentum(this.x,this.startX,o,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:s,duration:0},n=this.hasVerticalScroll?a.momentum(this.y,this.startY,o,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:r,duration:0},s=e.destination,r=n.destination,d=i.max(e.duration,n.duration),this.isInTransition=1),this.options.snap){var u=this._nearestSnap(s,r);this.currentPage=u,d=this.options.snapSpeed||i.max(i.max(i.min(i.abs(s-u.x),1e3),i.min(i.abs(r-u.y),1e3)),300),s=u.x,r=u.y,this.directionX=0,this.directionY=0,h=this.options.bounceEasing}return s!=this.x||r!=this.y?((s>0||s<this.maxScrollX||r>0||r<this.maxScrollY)&&(h=a.ease.quadratic),void this.scrollTo(s,r,d,h)):void this._execEvent("scrollEnd")}}},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling)},resetPosition:function(t){var e=this.x,i=this.y;return t=t||0,!this.hasHorizontalScroll||this.x>0?e=0:this.x<this.maxScrollX&&(e=this.maxScrollX),!this.hasVerticalScroll||this.y>0?i=0:this.y<this.maxScrollY&&(i=this.maxScrollY),e==this.x&&i==this.y?!1:(this.scrollTo(e,i,t,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){this.wrapper.offsetHeight;this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight,this.scrollerWidth=this.scroller.offsetWidth,this.scrollerHeight=this.scroller.offsetHeight,this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=a.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(t,e){this._events[t]||(this._events[t]=[]),this._events[t].push(e)},off:function(t,e){if(this._events[t]){var i=this._events[t].indexOf(e);i>-1&&this._events[t].splice(i,1)}},_execEvent:function(t){if(this._events[t]){var e=0,i=this._events[t].length;if(i)for(;i>e;e++)this._events[t][e].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,e,i,n){t=this.x+t,e=this.y+e,i=i||0,this.scrollTo(t,e,i,n)},scrollTo:function(t,e,i,n){n=n||a.ease.circular,this.isInTransition=this.options.useTransition&&i>0,!i||this.options.useTransition&&n.style?(this._transitionTimingFunction(n.style),this._transitionTime(i),this._translate(t,e)):this._animate(t,e,i,n.fn)},scrollToElement:function(t,e,n,o,s){if(t=t.nodeType?t:this.scroller.querySelector(t)){var r=a.offset(t);r.left-=this.wrapperOffset.left,r.top-=this.wrapperOffset.top,n===!0&&(n=i.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),o===!0&&(o=i.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),r.left-=n||0,r.top-=o||0,r.left=r.left>0?0:r.left<this.maxScrollX?this.maxScrollX:r.left,r.top=r.top>0?0:r.top<this.maxScrollY?this.maxScrollY:r.top,e=void 0===e||null===e||"auto"===e?i.max(i.abs(this.x-r.left),i.abs(this.y-r.top)):e,this.scrollTo(r.left,r.top,e,s)}},_transitionTime:function(t){if(t=t||0,this.scrollerStyle[a.style.transitionDuration]=t+"ms",!t&&a.isBadAndroid&&(this.scrollerStyle[a.style.transitionDuration]="0.001s"),this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTime(t)},_transitionTimingFunction:function(t){if(this.scrollerStyle[a.style.transitionTimingFunction]=t,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTimingFunction(t)},_translate:function(t,e){if(this.options.useTransform?this.scrollerStyle[a.style.transform]="translate("+t+"px,"+e+"px)"+this.translateZ:(t=i.round(t),e=i.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.x=t,this.y=e,this.indicators)for(var n=this.indicators.length;n--;)this.indicators[n].updatePosition()},_initEvents:function(e){var i=e?a.removeEvent:a.addEvent,n=this.options.bindToWrapper?this.wrapper:t;i(t,"orientationchange",this),i(t,"resize",this),this.options.click&&i(this.wrapper,"click",this,!0),this.options.disableMouse||(i(this.wrapper,"mousedown",this),i(n,"mousemove",this),i(n,"mousecancel",this),i(n,"mouseup",this)),a.hasPointer&&!this.options.disablePointer&&(i(this.wrapper,a.prefixPointerEvent("pointerdown"),this),i(n,a.prefixPointerEvent("pointermove"),this),i(n,a.prefixPointerEvent("pointercancel"),this),i(n,a.prefixPointerEvent("pointerup"),this)),a.hasTouch&&!this.options.disableTouch&&(i(this.wrapper,"touchstart",this),i(n,"touchmove",this),i(n,"touchcancel",this),i(n,"touchend",this)),i(this.scroller,"transitionend",this),i(this.scroller,"webkitTransitionEnd",this),i(this.scroller,"oTransitionEnd",this),i(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var e,i,n=t.getComputedStyle(this.scroller,null);return this.options.useTransform?(n=n[a.style.transform].split(")")[0].split(", "),e=+(n[12]||n[4]),i=+(n[13]||n[5])):(e=+n.left.replace(/[^-\d.]/g,""),i=+n.top.replace(/[^-\d.]/g,"")),{x:e,y:i}},_initIndicators:function(){function t(t){for(var e=a.indicators.length;e--;)t.call(a.indicators[e])}var e,i=this.options.interactiveScrollbars,n="string"!=typeof this.options.scrollbars,r=[],a=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(e={el:o("v",i,this.options.scrollbars),interactive:i,defaultScrollbars:!0,customStyle:n,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(e.el),r.push(e)),this.options.scrollX&&(e={el:o("h",i,this.options.scrollbars),interactive:i,defaultScrollbars:!0,customStyle:n,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(e.el),r.push(e))),this.options.indicators&&(r=r.concat(this.options.indicators));for(var l=r.length;l--;)this.indicators.push(new s(this,r[l]));this.options.fadeScrollbars&&(this.on("scrollEnd",function(){t(function(){this.fade()})}),this.on("scrollCancel",function(){t(function(){this.fade()})}),this.on("scrollStart",function(){t(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){t(function(){this.fade(1,!0)})})),this.on("refresh",function(){t(function(){this.refresh()})}),this.on("destroy",function(){t(function(){this.destroy()}),delete this.indicators})},_initWheel:function(){a.addEvent(this.wrapper,"wheel",this),a.addEvent(this.wrapper,"mousewheel",this),a.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){a.removeEvent(this.wrapper,"wheel",this),a.removeEvent(this.wrapper,"mousewheel",this),a.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(t){if(this.enabled){t.preventDefault(),t.stopPropagation();var e,n,o,s,r=this;if(void 0===this.wheelTimeout&&r._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){r._execEvent("scrollEnd"),r.wheelTimeout=void 0},400),"deltaX"in t)1===t.deltaMode?(e=-t.deltaX*this.options.mouseWheelSpeed,n=-t.deltaY*this.options.mouseWheelSpeed):(e=-t.deltaX,n=-t.deltaY);else if("wheelDeltaX"in t)e=t.wheelDeltaX/120*this.options.mouseWheelSpeed,n=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)e=n=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;e=n=-t.detail/3*this.options.mouseWheelSpeed}if(e*=this.options.invertWheelDirection,n*=this.options.invertWheelDirection,this.hasVerticalScroll||(e=n,n=0),this.options.snap)return o=this.currentPage.pageX,s=this.currentPage.pageY,e>0?o--:0>e&&o++,n>0?s--:0>n&&s++,void this.goToPage(o,s);o=this.x+i.round(this.hasHorizontalScroll?e:0),s=this.y+i.round(this.hasVerticalScroll?n:0),o>0?o=0:o<this.maxScrollX&&(o=this.maxScrollX),s>0?s=0:s<this.maxScrollY&&(s=this.maxScrollY),this.scrollTo(o,s,0),this.options.probeType>1&&this._execEvent("scroll")}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var t,e,n,o,s,r,a=0,l=0,c=0,d=this.options.snapStepX||this.wrapperWidth,h=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(this.options.snap===!0)for(n=i.round(d/2),o=i.round(h/2);c>-this.scrollerWidth;){for(this.pages[a]=[],t=0,s=0;s>-this.scrollerHeight;)this.pages[a][t]={x:i.max(c,this.maxScrollX),y:i.max(s,this.maxScrollY),width:d,height:h,cx:c-n,cy:s-o},s-=h,t++;c-=d,a++}else for(r=this.options.snap,t=r.length,e=-1;t>a;a++)(0===a||r[a].offsetLeft<=r[a-1].offsetLeft)&&(l=0,e++),this.pages[l]||(this.pages[l]=[]),c=i.max(-r[a].offsetLeft,this.maxScrollX),s=i.max(-r[a].offsetTop,this.maxScrollY),n=c-i.round(r[a].offsetWidth/2),o=s-i.round(r[a].offsetHeight/2),this.pages[l][e]={x:c,y:s,width:r[a].offsetWidth,height:r[a].offsetHeight,cx:n,cy:o},c>this.maxScrollX&&l++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1===0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=i.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=i.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||i.max(i.max(i.min(i.abs(this.x-this.startX),1e3),i.min(i.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var n=0,o=this.pages.length,s=0;if(i.abs(t-this.absStartX)<this.snapThresholdX&&i.abs(e-this.absStartY)<this.snapThresholdY)return this.currentPage;for(t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),e>0?e=0:e<this.maxScrollY&&(e=this.maxScrollY);o>n;n++)if(t>=this.pages[n][0].cx){t=this.pages[n][0].x;break}for(o=this.pages[n].length;o>s;s++)if(e>=this.pages[0][s].cy){e=this.pages[0][s].y;break}return n==this.currentPage.pageX&&(n+=this.directionX,0>n?n=0:n>=this.pages.length&&(n=this.pages.length-1),t=this.pages[n][0].x),s==this.currentPage.pageY&&(s+=this.directionY,0>s?s=0:s>=this.pages[0].length&&(s=this.pages[0].length-1),e=this.pages[0][s].y),{x:t,y:e,pageX:n,pageY:s}},goToPage:function(t,e,n,o){o=o||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:0>t&&(t=0),e>=this.pages[t].length?e=this.pages[t].length-1:0>e&&(e=0);var s=this.pages[t][e].x,r=this.pages[t][e].y;n=void 0===n?this.options.snapSpeed||i.max(i.max(i.min(i.abs(s-this.x),1e3),i.min(i.abs(r-this.y),1e3)),300):n,this.currentPage={x:s,y:r,pageX:t,pageY:e},this.scrollTo(s,r,n,o)},next:function(t,e){var i=this.currentPage.pageX,n=this.currentPage.pageY;i++,i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this.goToPage(i,n,t,e)},prev:function(t,e){var i=this.currentPage.pageX,n=this.currentPage.pageY;i--,0>i&&this.hasVerticalScroll&&(i=0,n--),this.goToPage(i,n,t,e)},_initKeys:function(e){var i,n={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(i in this.options.keyBindings)"string"==typeof this.options.keyBindings[i]&&(this.options.keyBindings[i]=this.options.keyBindings[i].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(i in n)this.options.keyBindings[i]=this.options.keyBindings[i]||n[i];a.addEvent(t,"keydown",this),this.on("destroy",function(){a.removeEvent(t,"keydown",this)})},_key:function(t){if(this.enabled){var e,n=this.options.snap,o=n?this.currentPage.pageX:this.x,s=n?this.currentPage.pageY:this.y,r=a.getTime(),l=this.keyTime||0,c=.25;switch(this.options.useTransition&&this.isInTransition&&(e=this.getComputedPosition(),this._translate(i.round(e.x),i.round(e.y)),this.isInTransition=!1),this.keyAcceleration=200>r-l?i.min(this.keyAcceleration+c,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?o+=n?1:this.wrapperWidth:s+=n?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?o-=n?1:this.wrapperWidth:s-=n?1:this.wrapperHeight;break;case this.options.keyBindings.end:o=n?this.pages.length-1:this.maxScrollX,s=n?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:o=0,s=0;break;case this.options.keyBindings.left:o+=n?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:s+=n?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:o-=n?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:s-=n?1:5+this.keyAcceleration>>0;break;default:return}if(n)return void this.goToPage(o,s);o>0?(o=0,this.keyAcceleration=0):o<this.maxScrollX&&(o=this.maxScrollX,this.keyAcceleration=0),s>0?(s=0,this.keyAcceleration=0):s<this.maxScrollY&&(s=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(o,s,0),this.keyTime=r}},_animate:function(t,e,i,n){function o(){var u,p,f,m=a.getTime();return m>=h?(s.isAnimating=!1,s._translate(t,e),void(s.resetPosition(s.options.bounceTime)||s._execEvent("scrollEnd"))):(m=(m-d)/i,f=n(m),u=(t-l)*f+l,p=(e-c)*f+c,s._translate(u,p),s.isAnimating&&r(o),void(3==s.options.probeType&&s._execEvent("scroll")))}var s=this,l=this.x,c=this.y,d=a.getTime(),h=d+i;this.isAnimating=!0,o()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":t._constructed||(t.preventDefault(),t.stopPropagation())}}},s.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.interactive&&(a.removeEvent(this.indicator,"touchstart",this),a.removeEvent(this.indicator,a.prefixPointerEvent("pointerdown"),this),a.removeEvent(this.indicator,"mousedown",this),a.removeEvent(t,"touchmove",this),a.removeEvent(t,a.prefixPointerEvent("pointermove"),this),a.removeEvent(t,"mousemove",this),a.removeEvent(t,"touchend",this),a.removeEvent(t,a.prefixPointerEvent("pointerup"),this),a.removeEvent(t,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(e){var i=e.touches?e.touches[0]:e;e.preventDefault(),e.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=i.pageX,this.lastPointY=i.pageY,this.startTime=a.getTime(),this.options.disableTouch||a.addEvent(t,"touchmove",this),this.options.disablePointer||a.addEvent(t,a.prefixPointerEvent("pointermove"),this),this.options.disableMouse||a.addEvent(t,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var e,i,n,o,s=t.touches?t.touches[0]:t,r=a.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,e=s.pageX-this.lastPointX,this.lastPointX=s.pageX,i=s.pageY-this.lastPointY,this.lastPointY=s.pageY,n=this.x+e,o=this.y+i,this._pos(n,o),1==this.scroller.options.probeType&&r-this.startTime>300?(this.startTime=r,this.scroller._execEvent("scroll")):this.scroller.options.probeType>1&&this.scroller._execEvent("scroll"),t.preventDefault(),t.stopPropagation()},_end:function(e){if(this.initiated){if(this.initiated=!1,e.preventDefault(),e.stopPropagation(),a.removeEvent(t,"touchmove",this),a.removeEvent(t,a.prefixPointerEvent("pointermove"),this),a.removeEvent(t,"mousemove",this),this.scroller.options.snap){var n=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),o=this.options.snapSpeed||i.max(i.max(i.min(i.abs(this.scroller.x-n.x),1e3),i.min(i.abs(this.scroller.y-n.y),1e3)),300);(this.scroller.x!=n.x||this.scroller.y!=n.y)&&(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=n,this.scroller.scrollTo(n.x,n.y,o,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0,this.indicatorStyle[a.style.transitionDuration]=t+"ms",!t&&a.isBadAndroid&&(this.indicatorStyle[a.style.transitionDuration]="0.001s")},transitionTimingFunction:function(t){this.indicatorStyle[a.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(a.addClass(this.wrapper,"iScrollBothScrollbars"),a.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(a.removeClass(this.wrapper,"iScrollBothScrollbars"),a.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px"));this.wrapper.offsetHeight;this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=i.max(i.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=i.max(i.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&i.round(this.sizeRatioX*this.scroller.x)||0,e=this.options.listenY&&i.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=i.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=i.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),e<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=i.max(this.indicatorHeight+3*e,8),this.indicatorStyle.height=this.height+"px"),e=this.minBoundaryY):e>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=i.max(this.indicatorHeight-3*(e-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",e=this.maxPosY+this.indicatorHeight-this.height):e=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=e,this.scroller.options.useTransform?this.indicatorStyle[a.style.transform]="translate("+t+"px,"+e+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=e+"px")},_pos:function(t,e){0>t?t=0:t>this.maxPosX&&(t=this.maxPosX),0>e?e=0:e>this.maxPosY&&(e=this.maxPosY),t=this.options.listenX?i.round(t/this.sizeRatioX):this.scroller.x,e=this.options.listenY?i.round(e/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,e)},fade:function(t,e){if(!e||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var i=t?250:500,n=t?0:300;t=t?"1":"0",this.wrapperStyle[a.style.transitionDuration]=i+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),n)}}},n.utils=a,"undefined"!=typeof module&&module.exports?module.exports=n:t.IScroll=n}(window,document,Math),define("iscroll",function(){}),define("../src/sublayouts/_helpers/touch-scroller/touch-scroller",["lib/utils","iscroll"],function(t){"use strict";var e=function(){return this};return e.prototype.init=function(e){this.$el=e,this.scrollify=t.isTouchDevice(),this.$content=this.$el.find("div:first-child"),this.scrollify?(this.loadScroller(),this.$el.addClass("touch-scroller-wrapper"),this.$content.addClass("touch-scroller-content")):this.$el.addClass("touch-scroller-overflow")},e.prototype.loadScroller=function(){var t=new IScroll(this.$el[0],{mouseWheel:!0,disableMouse:!1,scrollX:!1,scrollY:!0,momentum:!0,snap:!1,keyBindings:!0,click:!0,tap:!0});this.iscroll=t,this.refresh()},e.prototype.refresh=function(){this.scrollify&&this.iscroll.refresh()},e}),define("../src/sublayouts/m1-hero/m1-hero",["jquery","slick","lib/utils","tooltipster","chart-config"],function(t,e,i,n,o){"use strict";var s=function(t){return this.$component=t,this};return s.prototype.init=function(){this.$M1_slider=t(".m1-hero__carousel");var e=(t(".m1-hero__carousel-nav-inner"),t(".m1-hero__carousel-button--prev"),t(".m1-hero__carousel-button--next"),t(".m1-hero__carousel-nav-inner-btn")),n=t("body");if(t(".m1-hero__carousel-slide").length>1){var o=this;this.$M1_slider.on("init",function(i){e.css({width:t(".slick-dots").outerWidth(!0)}),o.$component.find(".m1-hero__carousel-button-play-pause").show(),o.display()}),n.on("click",".m1-hero__carousel-button--play",function(){o.$M1_slider.slick("slickPlay"),t(this).removeClass("m1-hero__carousel-button--play"),t(this).addClass("m1-hero__carousel-button--pause")}),n.on("click",".m1-hero__carousel-button--pause",function(){
o.$M1_slider.slick("slickPause"),t(this).removeClass("m1-hero__carousel-button--pause"),t(this).addClass("m1-hero__carousel-button--play")}),this.$M1_slider.slick({arrows:!0,dots:!0,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:3e3,pauseOnHover:!0,lazyLoad:"ondemand",nextArrow:".m1-hero__carousel-button--next",prevArrow:".m1-hero__carousel-button--prev",rtl:"rtl"==t("html").attr("dir")})}else this.display();if("true"==this.$component.attr("data-stock")&&void 0!=this.$component.attr("data-series")&&""!=this.$component.attr("data-series")){var s=this.$component.find("[data-chart-container]"),r=JSON.parse(this.$component.attr("data-series")),a=(this.$component.attr("data-y-axis-text"),this.$component.attr("data-x-axis-categories").split(",")),l=(this.$component.attr("data-tooltip-value-suffix"),i.isRTL()),c=(this.$component.attr("data-usagefor"),this.$component.attr("data-legend"),this.$component.attr("data-label"),this.$component.attr("data-labelstyle"),parseInt(this.$component.attr("data-step"),10)||1),d=parseInt(this.$component.attr("data-step-s"),10)||1,h={chart:{type:"line",backgroundColor:"transparent"},title:{text:""},subtitle:{text:"",style:{display:"none"}},legend:{enabled:!1},plotOptions:{line:{marker:{enabled:!1}},column:{dataLabels:{enabled:!1,inside:!0}}},xAxis:{reversed:l,categories:a,labels:{autoRotation:!1,staggerLines:c,style:{color:"rgba(0, 0, 0, 0.6)"}},lineColor:"#D6D6D8",lineWidth:1},yAxis:{visible:!0,opposite:l,title:{text:"",enabled:!1},plotLines:[{value:0,width:1,color:"#808080"}],labels:{style:{color:"rgba(0, 0, 0, 0.6)"}},lineColor:"#D6D6D8",gridLineColor:"#D6D6D8",lineWidth:1},tooltip:{enabled:!1},series:r};"s"===i.breakpoint()&&(h.xAxis.labels.staggerLines=d),s.highcharts(h)}},s.prototype.display=function(){t(".m1-hero__carousel-slide-gradient").each(function(){var e=t(this);e.css({background:"rgba(0, 0, 0, 0.4)"})}),this.$M1_slider.css({top:0,opacity:1,position:"relative"})},s}),define("../src/sublayouts/m100-ev-card/m100-ev-card",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=this;e.$component.hasClass("m100-ev-card--selector")?(e.$component.find(".m100-ev-card--selector_wrapper").off("click.m100").on("click.m100",function(){e.$component.find('[data-trigger="true"]').click()}),e.$component.find(".m100-table__content-table-row").off("click.m100").on("click.m100",function(){var i=t(this).find("[data-holder]").text(),n=t(this).find("[data-cardnumber]").text(),o=t(this).find("[data-evnumber]").text(),s=t(this).find("[data-title]").text(),r=e.$component.find(".m100-ev-card"),a=r.find("[data-holder]"),l=r.find("[data-cardnumber]"),c=r.find("[data-evnumber]"),d=r.find("[data-title]"),h=e.$component.find('[data-close="true"]');a.html(i),l.html(n),l.attr("data-cardnumber",t(this).find("[data-cardnumber]").attr("data-cardnumber").trim()),c.html(o),c.attr("data-evnumber",t(this).find("[data-evnumber]").attr("data-evnumber").trim()),d.html(s),h.click()})):(e.$component.find(".m100-ev-card--actions").each(function(){var e=t(this),i=t(this).next(".m100-ev-card--actions_box");e.off("click.m100").on("click.m100",function(){t(".m100-ev-card--actions_box").not(i).each(function(){t(this).removeClass("active")}),i.toggleClass("active")})}),e.$component.find(".m100-ev-card--buttons").find(".m39-modal__button--close").off("click.m100").on("click.m100",function(){t(this).closest(".m39-modal").find(".m100-ev-card--actions_box").each(function(){t(this).removeClass("active")})}),t(document).click(function(i){var n=t(i.target),o=e.$component.find(".m100-ev-card--actions");n.is(o)||e.$component.find(".m100-ev-card--actions_box").removeClass("active")}),e.$component.find(".m100-ev-card--actions_link[data-card-title]").each(function(){t(this).off("click.m100").on("click.m100",function(i){var n=t(this).attr("data-card-title"),o=t(this).attr("data-modal"),s=t(this).attr("data-cardid");i.preventDefault(),e.$component.find(".m39-modal--ev_cardtitle").find(".form-field__input--cardtitle").val(n),e.$component.find(".m39-modal--ev_cardtitle").find(".button--primary").attr("data-modal",o),e.$component.find(".m39-modal--ev_cardtitle").find(".button--primary").attr("data-cardid",s),e.$component.find(".m100-ev-card--buttons").find(".m39-modal__container").hasClass("m39-modal__container--active")&&e.$component.find(".m100-ev-card--buttons").find(".m39-modal__button--close").click(),e.$component.find(".m39-modal--ev_cardtitle").find(".m39-modal__trigger").click()})}),e.$component.find(".m39-modal").find(".j69-dashboard--card_filter").find(".form-field__input").on("keyup",function(t){13==t.keyCode&&e.$component.find(".m39-modal").find(".j69-dashboard--card_filter").find('button[type="submit"]').click()})),t(window).off("reinitm100").on("reinitm100",function(){e.init()})},e}),define("../src/sublayouts/m101-journey-map/m101-journey-map",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e}),function(t){t.fn.marquee=function(e){return this.each(function(){var i,n,o,s,r,a=t.extend({},t.fn.marquee.defaults,e),l=t(this),c=3,d="animation-play-state",h=!1,u=function(t,e,i){for(var n=["webkit","moz","MS","o",""],o=0;o<n.length;o++)n[o]||(e=e.toLowerCase()),t.addEventListener(n[o]+e,i,!1)},p=function(t){var e,i=[];for(e in t)t.hasOwnProperty(e)&&i.push(e+":"+t[e]);return i.push(),"{"+i.join(",")+"}"},f={pause:function(){h&&a.allowCss3Support?i.css(d,"paused"):t.fn.pause&&i.pause(),l.data("runningStatus","paused"),l.trigger("paused")},resume:function(){h&&a.allowCss3Support?i.css(d,"running"):t.fn.resume&&i.resume(),l.data("runningStatus","resumed"),l.trigger("resumed")},toggle:function(){f["resumed"==l.data("runningStatus")?"pause":"resume"]()},destroy:function(){clearTimeout(l.timer),l.css("visibility","hidden").html(l.find(".js-marquee:first")),setTimeout(function(){l.css("visibility","visible")},0)}};if("string"==typeof e)t.isFunction(f[e])&&(i||(i=l.find(".js-marquee-wrapper")),!0===l.data("css3AnimationIsSupported")&&(h=!0),f[e]());else{var m;t.each(a,function(t,e){if(m=l.attr("data-"+t),"undefined"!=typeof m){switch(m){case"true":m=!0;break;case"false":m=!1}a[t]=m}}),a.duration=a.speed||a.duration,s="up"==a.direction||"down"==a.direction,a.gap=a.duplicated?a.gap:0,l.wrapInner('<div class="js-marquee"></div>');var g=l.find(".js-marquee").css({"margin-right":a.gap,"float":"left"});if(a.duplicated&&g.clone(!0).appendTo(l),l.wrapInner('<div style="width:100000px" class="js-marquee-wrapper"></div>'),i=l.find(".js-marquee-wrapper"),s){var v=l.height();i.removeAttr("style"),l.height(v),l.find(".js-marquee").css({"float":"none","margin-bottom":a.gap,"margin-right":0}),a.duplicated&&l.find(".js-marquee:last").css({"margin-bottom":0});var y=l.find(".js-marquee:first").height()+a.gap;a.duration*=(parseInt(y,10)+parseInt(v,10))/parseInt(v,10)}else r=l.find(".js-marquee:first").width()+a.gap,n=l.width(),a.duration*=(parseInt(r,10)+parseInt(n,10))/parseInt(n,10);if(a.duplicated&&(a.duration/=2),a.allowCss3Support){var g=document.body||document.createElement("div"),b="marqueeAnimation-"+Math.floor(1e7*Math.random()),_=["Webkit","Moz","O","ms","Khtml"],x="animation",w="",k="";if(g.style.animation&&(k="@keyframes "+b+" ",h=!0),!1===h)for(var C=0;C<_.length;C++)if(void 0!==g.style[_[C]+"AnimationName"]){g="-"+_[C].toLowerCase()+"-",x=g+x,d=g+d,k="@"+g+"keyframes "+b+" ",h=!0;break}h&&(w=b+" "+a.duration/1e3+"s "+a.delayBeforeStart/1e3+"s infinite "+a.css3easing,l.data("css3AnimationIsSupported",!0))}var T=function(){i.css("margin-top","up"==a.direction?v+"px":"-"+y+"px")},S=function(){i.css("margin-left","left"==a.direction?n+"px":"-"+r+"px")};a.duplicated?(s?i.css("margin-top","up"==a.direction?v:"-"+(2*y-a.gap)+"px"):i.css("margin-left","left"==a.direction?n+"px":"-"+(2*r-a.gap)+"px"),c=1):s?T():S();var $=function(){if(a.duplicated&&(1===c?(a._originalDuration=a.duration,a.duration=s?"up"==a.direction?a.duration+v/(y/a.duration):2*a.duration:"left"==a.direction?a.duration+n/(r/a.duration):2*a.duration,w&&(w=b+" "+a.duration/1e3+"s "+a.delayBeforeStart/1e3+"s "+a.css3easing),c++):2===c&&(a.duration=a._originalDuration,w&&(b+="0",k=t.trim(k)+"0 ",w=b+" "+a.duration/1e3+"s 0s infinite "+a.css3easing),c++)),s?a.duplicated?(c>2&&i.css("margin-top","up"==a.direction?0:"-"+y+"px"),o={"margin-top":"up"==a.direction?"-"+y+"px":0}):(T(),o={"margin-top":"up"==a.direction?"-"+i.height()+"px":v+"px"}):a.duplicated?(c>2&&i.css("margin-left","left"==a.direction?0:"-"+r+"px"),o={"margin-left":"left"==a.direction?"-"+r+"px":0}):(S(),o={"margin-left":"left"==a.direction?"-"+r+"px":n+"px"}),l.trigger("beforeStarting"),h){i.css(x,w);var e=k+" { 100%  "+p(o)+"}",d=t("style");0!==d.length?d.filter(":last").append(e):t("head").append("<style>"+e+"</style>"),u(i[0],"AnimationIteration",function(){l.trigger("finished")}),u(i[0],"AnimationEnd",function(){$(),l.trigger("finished")})}else i.animate(o,a.duration,a.easing,function(){l.trigger("finished"),a.pauseOnCycle?l.timer=setTimeout($,a.delayBeforeStart):$()});l.data("runningStatus","resumed")};l.bind("pause",f.pause),l.bind("resume",f.resume),a.pauseOnHover&&l.bind("mouseenter mouseleave",f.toggle),h&&a.allowCss3Support?$():l.timer=setTimeout($,a.delayBeforeStart)}})},t.fn.marquee.defaults={allowCss3Support:!0,css3easing:"linear",easing:"linear",delayBeforeStart:1e3,direction:"left",duplicated:!1,duration:5e3,gap:20,pauseOnCycle:!1,pauseOnHover:!1}}(jQuery),define("vendor/marquee",function(){}),define("../src/sublayouts/m103-marquee/m103-marquee",["jquery","lib/utils","vendor/marquee"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){var i=this.$component.marquee({duration:3e4,gap:50,delayBeforeStart:0,direction:e.isRTL()?"right":"left",duplicated:!0,startVisible:!0});this.$component.off("mouseenter.m103").on("mouseenter.m103",function(){t("#m103-marquee--pause").hasClass("paused")||i.marquee("pause")}),this.$component.off("mouseleave.m103").on("mouseleave.m103",function(){t("#m103-marquee--pause").hasClass("paused")||i.marquee("resume")}),t("#m103-marquee--pause").off("click.m103").on("click.m103",function(){i.marquee("toggle"),t("#m103-marquee--pause").toggleClass("paused")})},n}),define("../src/sublayouts/m104-stock-graph/m104-stock-graph",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=["https://code.highcharts.com/stock/highstock.js","https://code.highcharts.com/stock/modules/data.js","https://code.highcharts.com/stock/modules/exporting.js","https://code.highcharts.com/stock/modules/export-data.js"];t(e).each(function(){var t=document.createElement("script");t.setAttribute("src",this),document.head.appendChild(t)})},i}),define("../src/sublayouts/m105-text-chart/m105-text-chart",["jquery","lib/utils","chart-config"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;e.$component.find(".m105-text-chart--graph").each(function(){var e=t(this).outerWidth(!0);t(this).css("height",e)}),e.$component.find(".m105-text-chart--graphtitle").each(function(){var e=t(this).outerHeight(!0);t(this).css("top","calc((100% - "+e.toString()+"px - "+t(this).closest(".m105-text-chart--graphcontainer").find(".m105-text-chart--footercolumn").outerHeight(!0)+"px)/2)")}),t(window).off("resize.105").on("resize.105",function(){e.$component.find(".m105-text-chart--graph").each(function(){var e=t(this).outerWidth(!0);t(this).css("height",e)}),e.$component.find(".m105-text-chart--graphtitle").each(function(){var e=t(this).outerHeight(!0);t(this).css("top","calc((100% - "+e.toString()+"px - "+t(this).closest(".m105-text-chart--graphcontainer").find(".m105-text-chart--footercolumn").outerHeight(!0)+"px)/2)")})}),e.$component.find("[data-chart105-container]").each(function(){e.renderGraph(t(this))}),setTimeout(function(){t(window).trigger("resize.105")},250),setTimeout(function(){t(window).trigger("resize.105")},1e3)},i.prototype.renderGraph=function(i){for(var n=i,o=JSON.parse(i.attr("data-series")),s=(e.isRTL(),0);s<o.length;s++)0==o[s].data.length&&o.splice(s,1);for(var s=0;s<o[0].data.length;s+=1)o[0].data[s].y=parseFloat(o[0].data[s].y);var r={chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1,type:"pie",backgroundColor:"transparent"},title:{text:"",style:{display:"none"}},subtitle:{text:"",style:{display:"none"}},legend:{style:{display:"none"}},xAxis:{style:{display:"none"}},yAxis:{style:{display:"none"}},tooltip:{enabled:!0,outside:!0,pointFormat:"rtl"==t("html").attr("dir")?'<span style="font-size: 14px;font-weight:bold;">%<b>{point.y}</b> :{point.name}</span>':'<span style="font-size: 14px;font-weight:bold;">{point.name}: <b>{point.y} %</b></span>',headerFormat:"",crosshairs:!0,rtl:"rtl"==t("html").attr("dir"),useHTML:!0},plotOptions:{pie:{allowPointSelect:!1,dataLabels:{enabled:!1},size:"100%",innerSize:"66.6667%"}},series:o};n.highcharts(r)},i}),define("../src/sublayouts/m106-timeline/m106-timeline",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;this.initEl(),t(window).off("resize.106").on("resize.106",function(){e.initEl()})},i.prototype.initEl=function(){var i=this,n=0,o=0;i.$component.find(".m106-timeline--card").each(function(i){var s=t(this).find(".m106-timeline--dash"),r="s"==e.breakpoint()?-12:12;t(this).css("top",n-r),n=n+t(this).outerHeight(!0)+("s"==e.breakpoint()?12:0),s.css("height",t(this).outerHeight(!0)+("s"==e.breakpoint()?10:0)),o+=t(this).outerHeight(!0)}),i.$component.find(".m106-timeline--body").css("height",o+30+("s"==e.breakpoint()?12*i.$component.find(".m106-timeline--card").length:0));var s=i.$component.find(".m106-timeline--card:last-child").outerHeight(!0);i.$component.find(".m106-timeline--arrow").css("bottom",s-30)},i}),define("../src/sublayouts/m107-mbar-chart/m107-mbar-chart",["jquery","lib/utils","chart-config"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;e.$component.find("[data-chart107-container]").each(function(){var i=t(this).attr("data-chart-type");"column"==i&&e.renderGraphCol(t(this)),"bar"==i&&e.renderGraphBar(t(this)),"number"==i&&e.renderGraphNum(t(this))})},i.prototype.renderGraphCol=function(t){function i(t,e){return"undefined"==typeof e||0===+e?Math.round(t):(t=+t,e=+e,isNaN(t)||"number"!=typeof e||e%1!==0?NaN:(t=t.toString().split("e"),t=Math.round(+(t[0]+"e"+(t[1]?+t[1]+e:e))),t=t.toString().split("e"),+(t[0]+"e"+(t[1]?+t[1]-e:-e))))}for(var n=t,o=JSON.parse(t.attr("data-category")),s=t.attr("data-chart-type"),r=(e.isRTL(),"true"===t.attr("data-category-hidden")?!1:!0),a=JSON.parse(t.attr("data-series")),l=0;l<a.length;l++)0==a[l].data.length&&a.splice(l,1);for(var l=0;l<a[0].data.length;l+=1)a[0].data[l].y=parseFloat(a[0].data[l].y),a[0].data[l].y=i(a[0].data[l].y,1);var c={chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1,marginTop:40,type:s,backgroundColor:"transparent"},title:{text:""},xAxis:{categories:o,crosshair:!0,labels:{enabled:r,style:{fontSize:"13px"}}},yAxis:{min:0,max:100,gridLineWidth:0,visible:!1},tooltip:{enabled:!1},legend:{enabled:!1},plotOptions:{series:{dataLabels:{enabled:!0,crop:!1,align:"top",position:"center",x:-5,shadow:!1,overflow:"allow",format:"{y}%",style:{fontSize:"14px",color:"#000000",fontSize:"14px",fontWeight:"noraml"}},states:{inactive:{opacity:1},hover:{enabled:!1}}},column:{pointPadding:0,borderWidth:0,maxPointWidth:30}},series:a};n.highcharts(c)},i.prototype.renderGraphBar=function(t){var i=t,n=JSON.parse(t.attr("data-category")),o=(t.attr("data-chart-type"),e.isRTL(),"true"===t.attr("data-category-hidden")?!1:!0,[]),s=[],r=JSON.parse(t.attr("data-series")),a=parseFloat(r[0].data[0].target),l=parseFloat(r[0].data[0].actual),c=parseFloat(r[0].data[0].target),d=r[0].data[0].targetcolor,h=r[0].data[0].actualcolor;o.push(a),s.push(l);var u={chart:{type:"bar",marginRight:55},legend:{enabled:!1},xAxis:{categories:n,labels:{align:"left",x:0,y:-10,style:{fontSize:"18px",fontWeight:"bold",color:"#000"}},lineWidth:0,gridLineWidth:0,lineColor:"transparent",minorTickLength:0,tickLength:0,title:{enabled:!1}},yAxis:{min:0,max:c,lineWidth:0,gridLineWidth:0,lineColor:"transparent",labels:{enabled:!1},minorTickLength:0,tickLength:0,title:{enabled:!1}},tooltip:{enabled:!1},plotOptions:{series:{pointWidth:10,dataLabels:{enabled:!0,crop:!1,align:"right",position:"right",format:l+"%",overflow:"allow",x:60,style:{fontSize:"17px",fontWeight:"normal"}}}},title:{text:""},series:[{name:"Target",data:o,color:d,grouping:!1,states:{inactive:{opacity:1},hover:{enabled:!1}}},{name:"Actual",data:s,color:h,dataLabels:{enabled:!1},states:{inactive:{opacity:1},hover:{enabled:!1}}}]};i.highcharts(u)},i.prototype.renderGraphNum=function(t){var i=t,n=JSON.parse(t.attr("data-category")),o=(t.attr("data-chart-type"),e.isRTL(),"true"===t.attr("data-category-hidden")?!1:!0,[]),s=[],r=JSON.parse(t.attr("data-series")),a=parseFloat(r[0].data[0].target),l=parseFloat(r[0].data[0].actual),c=parseFloat(r[0].data[0].target),d=r[0].data[0].targetcolor,h=r[0].data[0].actualcolor;o.push(a),s.push(parseInt(l/a*100));var u={chart:{type:"bar",marginRight:55},legend:{enabled:!1},xAxis:{categories:n,labels:{align:"left",x:0,y:-10,style:{fontSize:"18px",fontWeight:"bold",color:"#000"}},lineWidth:0,gridLineWidth:0,lineColor:"transparent",minorTickLength:0,tickLength:0,title:{enabled:!1}},yAxis:{min:0,max:100,lineWidth:0,gridLineWidth:0,lineColor:"transparent",labels:{enabled:!1},minorTickLength:0,tickLength:0,title:{enabled:!1}},tooltip:{enabled:!1},plotOptions:{series:{pointWidth:10,dataLabels:{enabled:!0,crop:!1,align:"right",position:"right",overflow:"allow",format:l+"/"+c,x:60,style:{fontSize:"17px",fontWeight:"normal"}}}},title:{text:""},series:[{name:"Target",data:[100],color:d,grouping:!1,states:{inactive:{opacity:1},hover:{enabled:!1}}},{name:"Actual",data:s,color:h,dataLabels:{enabled:!1},states:{inactive:{opacity:1},hover:{enabled:!1}}}]};i.highcharts(u)},i}),define("../src/sublayouts/m108-add-to-calendar/m108-add-to-calendar",["jquery"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;this.ICSinit(),t("html").not(".m108-atc--linklist").off("click.calendarz").on("click.calendarz",function(){t(".m108-atc--linklist").each(function(){t(this).removeClass("active")})}),this.$component.find(".m108-atc--link").each(function(){t(this).off("click.calendar").on("click.calendar",function(){var i=this;setTimeout(function(){e.$component.find(".m108-atc--linklist").each(function(){t(i).removeClass("active")}),t(i).find(".m108-atc--linklist").addClass("active")},50)})}),this.$component.find('.m108-atc--linkitem_link[data-client="google"]').each(function(){var i=JSON.parse(t(this).closest(".m108-atc--link").attr("data-ics_entry"));t(this).attr("href","https://calendar.google.com/calendar/u/0/r/eventedit?text=%27"+i.subject.replaceAll(" ","%20").replaceAll("&","%26")+"%27&dates="+e.formatDate(i.begin)+"/"+e.formatDate(i.end)+"&details="+i.description.replaceAll(" ","%20").replaceAll("&","%26")+"&location="+i.location.replaceAll(" ","%20").replaceAll("&","%26")+"&trp=false&sprop&sprop=name:&sf=true")}),this.$component.find('.m108-atc--linkitem_link[data-client="yahoo"]').each(function(){var i=JSON.parse(t(this).closest(".m108-atc--link").attr("data-ics_entry"));t(this).attr("href","https://calendar.yahoo.com/?v=60&view=d&type=20&title=%27"+i.subject.replaceAll(" ","%20").replaceAll("&","%26")+"%27&st="+e.formatDate(i.begin)+"&et="+e.formatDate(i.end)+"&desc="+i.description.replaceAll(" ","%20").replaceAll("&","%26")+"&in_loc="+i.location.replaceAll(" ","%20").replaceAll("&","%26")+"&uid=")})},i.prototype.ICSinit=function(){var e=this,i=function(){if(navigator.userAgent.indexOf("MSIE")>-1&&-1==navigator.userAgent.indexOf("MSIE 10"))return void console.log("Unsupported Browser");var t=-1!==navigator.appVersion.indexOf("Win")?"\r\n":"\n",i=[],n=["BEGIN:VCALENDAR","VERSION:2.0"].join(t),o=t+"END:VCALENDAR";return{events:function(){return i},calendar:function(){return n+t+i.join(t)+o},addEvent:function(n,o,s,r,a){if("undefined"==typeof n||"undefined"==typeof o||"undefined"==typeof s||"undefined"==typeof r||"undefined"==typeof a)return!1;var l=e.formatDate(r),c=e.formatDate(a),d=["BEGIN:VEVENT","CLASS:PUBLIC","DESCRIPTION:"+o,"DTSTART;VALUE=DATE:"+l,"DTEND;VALUE=DATE:"+c,"LOCATION:"+s,"SUMMARY;LANGUAGE=en-us:"+n,"TRANSP:TRANSPARENT","END:VEVENT"].join(t);return i.push(d),d},download:function(e,s){if(i.length<1)return!1;s="undefined"!=typeof s?s:".ics",e="undefined"!=typeof e?e:"calendar";var r=n+t+i.join(t)+o;window.open("data:text/calendar;charset=utf8,"+encodeURI(r))}}};"function"==typeof define&&define.amd?define("icsFormatter",[],function(){return i()}):"object"==typeof module&&module.exports?module.exports=i():this.myModule=i();var n=function(t,e,n,o,s,r){var a=i();a.addEvent(t,e,n,o,s),a.download("ourSecretMeeting")};this.$component.find(".m108-atc--ICS").off("click.calendar").on("click.calendar",function(e){e.preventDefault();var i=JSON.parse(t(this).closest(".m108-atc--link").attr("data-ics_entry"));n(i.subject,i.description,i.location,i.begin,i.end)})},i.prototype.formatDate=function(t){var e=new Date(t),i=("0000"+e.getFullYear().toString()).slice(-4),n=("00"+(e.getMonth()+1).toString()).slice(-2),o=("00"+e.getDate().toString()).slice(-2),s=("00"+e.getHours().toString()).slice(-2),r=("00"+e.getMinutes().toString()).slice(-2),a=("00"+e.getMinutes().toString()).slice(-2),l="";r+a!==0&&(l="T"+s+r+a);var c=i+n+o+l;return c},i}),define("../src/sublayouts/m12-masthead/m12-masthead-desktop-menu",["jquery","lib/utils"],function(t,e){"use strict";var i,n=function(){this.initialized=!1};return n.prototype.init=function(e){this.initialized||(this.$masthead=e,this.$myAccountSection=this.$masthead.find("[data-myaccount-section]"),this.$activeSectionNav=this.$masthead.find(".m12-section-nav--active"),this.$menubar=this.$masthead.find("[data-m12-bar-content]"),this.$sections=this.$activeSectionNav.find("[data-section]").add(this.$myAccountSection),this.$searchField=this.$masthead.find("[data-search-field]"),this.$subsections=this.$masthead.find(".m12-subsection"),this.sectionFocusedClassname="m12-section-nav__item--focused",this.sectionExpandedClassname="m12-section-nav__item--expanded",this.activeSubsectionClassname="m12-subsection--active",this.toggleButtonClassname="m12-section__toggle",this.toggleButtonOpenClassname="m12-section__toggle--open",this.subsectionClass=".m12-subsection",this.subsectionActiveClassname="m12-subsection--active",this.sectionNavItemHoverClassname="m12-section-nav__item--hover",this.configureUI(),this.polyfills(),this.initialized=!0),null!=navigator.userAgent.match(/iPad/i)&&t(".m12-section-nav__link").on("click",function(e){e.preventDefault(),t(this).trigger("hover")})},n.prototype.polyfills=function(){if(e.isLessThanIE10()){var i=this.$searchField.attr("aria-label");this.$searchField.val(i),this.$searchField.on("focus",function(){t(this).val()===i&&t(this).val("")}),this.$searchField.on("blur",function(){""===t(this).val().replace(/^\s+|\s+$/g,"")&&t(this).val(i)})}},n.prototype.configureUI=function(){var e=this;t.each(this.$sections,function(){var i=t(this),n=t(this).find("[data-section-link]").eq(0),o=t('<button aria-label="Toggle menu" class="m12-section__toggle"><span class="aria-only">Toggle Menu</span></button>');"true"===n.attr("aria-haspopup")&&(o.on("click",function(){var t=n.attr("aria-expanded");i.toggleClass(e.sectionExpandedClassname),n.attr("aria-expanded","false"===t),o.toggleClass(e.toggleButtonOpenClassname)}),o.on("focus",function(){i.addClass(e.sectionFocusedClassname)}),t(o).insertAfter(n)),n.on("focus",function(){e.resetSectionNav(),i.addClass(e.sectionFocusedClassname)}),n.on("blur mouseover",function(i){"blur"===i.type&&t(i.relatedTarget).hasClass("m12-section__toggle")||e.resetSectionNav()})}),this.$searchField.on("focus",function(){e.resetSectionNav()})},n.prototype.resetSectionNav=function(){this.$sections.removeClass(this.sectionFocusedClassname).removeClass(this.sectionExpandedClassname)},i=new n}),function(t,e){"object"==typeof exports&&exports&&"string"!=typeof exports.nodeName?e(exports):"function"==typeof define&&define.amd?define("mustache",["exports"],e):(t.Mustache={},e(Mustache))}(this,function(t){function e(t){return"function"==typeof t}function i(t){return m(t)?"array":typeof t}function n(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(t,e){return null!=t&&"object"==typeof t&&e in t}function s(t,e){return g.call(t,e)}function r(t){return!s(v,t)}function a(t){return String(t).replace(/[&<>"'\/]/g,function(t){return y[t]})}function l(e,i){function o(){if(v&&!y)for(;g.length;)delete f[g.pop()];else g=[];v=!1,y=!1}function s(t){if("string"==typeof t&&(t=t.split(_,2)),!m(t)||2!==t.length)throw new Error("Invalid tags: "+t);a=new RegExp(n(t[0])+"\\s*"),l=new RegExp("\\s*"+n(t[1])),u=new RegExp("\\s*"+n("}"+t[1]))}if(!e)return[];var a,l,u,p=[],f=[],g=[],v=!1,y=!1;s(i||t.tags);for(var C,T,S,$,M,j,D=new h(e);!D.eos();){if(C=D.pos,S=D.scanUntil(a))for(var E=0,A=S.length;A>E;++E)$=S.charAt(E),r($)?g.push(f.length):y=!0,f.push(["text",$,C,C+1]),C+=1,"\n"===$&&o();if(!D.scan(a))break;if(v=!0,T=D.scan(k)||"name",D.scan(b),"="===T?(S=D.scanUntil(x),D.scan(x),D.scanUntil(l)):"{"===T?(S=D.scanUntil(u),D.scan(w),D.scanUntil(l),T="&"):S=D.scanUntil(l),!D.scan(l))throw new Error("Unclosed tag at "+D.pos);if(M=[T,S,C,D.pos],f.push(M),"#"===T||"^"===T)p.push(M);else if("/"===T){if(j=p.pop(),!j)throw new Error('Unopened section "'+S+'" at '+C);if(j[1]!==S)throw new Error('Unclosed section "'+j[1]+'" at '+C)}else"name"===T||"{"===T||"&"===T?y=!0:"="===T&&s(S)}if(j=p.pop())throw new Error('Unclosed section "'+j[1]+'" at '+D.pos);return d(c(f))}function c(t){for(var e,i,n=[],o=0,s=t.length;s>o;++o)e=t[o],e&&("text"===e[0]&&i&&"text"===i[0]?(i[1]+=e[1],i[3]=e[3]):(n.push(e),i=e));return n}function d(t){for(var e,i,n=[],o=n,s=[],r=0,a=t.length;a>r;++r)switch(e=t[r],e[0]){case"#":case"^":o.push(e),s.push(e),o=e[4]=[];break;case"/":i=s.pop(),i[5]=e[2],o=s.length>0?s[s.length-1][4]:n;break;default:o.push(e)}return n}function h(t){this.string=t,this.tail=t,this.pos=0}function u(t,e){this.view=t,this.cache={".":this.view},this.parent=e}function p(){this.cache={}}var f=Object.prototype.toString,m=Array.isArray||function(t){return"[object Array]"===f.call(t)},g=RegExp.prototype.test,v=/\S/,y={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},b=/\s*/,_=/\s+/,x=/\s*=/,w=/\s*\}/,k=/#|\^|\/|>|\{|&|=|!/;h.prototype.eos=function(){return""===this.tail},h.prototype.scan=function(t){var e=this.tail.match(t);if(!e||0!==e.index)return"";var i=e[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i},h.prototype.scanUntil=function(t){var e,i=this.tail.search(t);switch(i){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=e.length,e},u.prototype.push=function(t){return new u(t,this)},u.prototype.lookup=function(t){var i,n=this.cache;if(n.hasOwnProperty(t))i=n[t];else{for(var s,r,a=this,l=!1;a;){if(t.indexOf(".")>0)for(i=a.view,s=t.split("."),r=0;null!=i&&r<s.length;)r===s.length-1&&(l=o(i,s[r])),i=i[s[r++]];else i=a.view[t],l=o(a.view,t);if(l)break;a=a.parent}n[t]=i}return e(i)&&(i=i.call(this.view)),i},p.prototype.clearCache=function(){this.cache={}},p.prototype.parse=function(t,e){var i=this.cache,n=i[t];return null==n&&(n=i[t]=l(t,e)),n},p.prototype.render=function(t,e,i){var n=this.parse(t),o=e instanceof u?e:new u(e);return this.renderTokens(n,o,i,t)},p.prototype.renderTokens=function(t,e,i,n){for(var o,s,r,a="",l=0,c=t.length;c>l;++l)r=void 0,o=t[l],s=o[0],"#"===s?r=this.renderSection(o,e,i,n):"^"===s?r=this.renderInverted(o,e,i,n):">"===s?r=this.renderPartial(o,e,i,n):"&"===s?r=this.unescapedValue(o,e):"name"===s?r=this.escapedValue(o,e):"text"===s&&(r=this.rawValue(o)),void 0!==r&&(a+=r);return a},p.prototype.renderSection=function(t,i,n,o){function s(t){return r.render(t,i,n)}var r=this,a="",l=i.lookup(t[1]);if(l){if(m(l))for(var c=0,d=l.length;d>c;++c)a+=this.renderTokens(t[4],i.push(l[c]),n,o);else if("object"==typeof l||"string"==typeof l||"number"==typeof l)a+=this.renderTokens(t[4],i.push(l),n,o);else if(e(l)){if("string"!=typeof o)throw new Error("Cannot use higher-order sections without the original template");l=l.call(i.view,o.slice(t[3],t[5]),s),null!=l&&(a+=l)}else a+=this.renderTokens(t[4],i,n,o);return a}},p.prototype.renderInverted=function(t,e,i,n){var o=e.lookup(t[1]);return!o||m(o)&&0===o.length?this.renderTokens(t[4],e,i,n):void 0},p.prototype.renderPartial=function(t,i,n){if(n){var o=e(n)?n(t[1]):n[t[1]];return null!=o?this.renderTokens(this.parse(o),i,n,o):void 0}},p.prototype.unescapedValue=function(t,e){var i=e.lookup(t[1]);return null!=i?i:void 0},p.prototype.escapedValue=function(e,i){var n=i.lookup(e[1]);return null!=n?t.escape(n):void 0},p.prototype.rawValue=function(t){return t[1]},t.name="mustache.js",t.version="2.2.0",t.tags=["{{","}}"];var C=new p;t.clearCache=function(){return C.clearCache()},t.parse=function(t,e){return C.parse(t,e)},t.render=function(t,e,n){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+i(t)+'" was given as the first argument for mustache#render(template, view, partials)');return C.render(t,e,n)},t.to_html=function(i,n,o,s){var r=t.render(i,n,o);return e(s)?void s(r):r},t.escape=a,t.Scanner=h,t.Context=u,t.Writer=p}),define("components/_helpers/touch-scroller/touch-scroller",["lib/utils","iscroll"],function(t){"use strict";var e=function(){return this};return e.prototype.init=function(e){this.$el=e,this.scrollify=t.isTouchDevice(),this.$content=this.$el.find("div:first-child"),this.scrollify?(this.loadScroller(),this.$el.addClass("touch-scroller-wrapper"),this.$content.addClass("touch-scroller-content")):this.$el.addClass("touch-scroller-overflow")},e.prototype.loadScroller=function(){var t=new IScroll(this.$el[0],{mouseWheel:!0,disableMouse:!1,scrollX:!1,scrollY:!0,momentum:!0,snap:!1,keyBindings:!0,click:!0,tap:!0});this.iscroll=t,this.refresh()},e.prototype.refresh=function(){this.scrollify&&this.iscroll.refresh()},e}),define("text",{load:function(t){throw new Error("Dynamic load not allowed: "+t)}}),define("text!components/m12-masthead/_m12-masthead-mobile-menu.hbs",[],function(){return'<div class="mobile-menu" data-mobile-menu="true">\r\n	<div class="mobile-menu--inner">\r\n		<div class="m12-quicklinks--mobile">\r\n			<div class="m12-quicklinks--mobiletitle">				\r\n			</div>\r\n		</div>\r\n\r\n\r\n		<div class="mobile-menu-navs">\r\n			<div class="mobile-menu-navstitle">\r\n				\r\n			</div>\r\n		</div>\r\n	</div>\r\n\r\n		<div class="mobile-menu__footer" data-mobile-menu-footer="true">\r\n\r\n			<div class="mobile-menu__header" data-mobile-menu-header="true">\r\n\r\n				{{^is_sap}}\r\n\r\n				<div class="mobile-menu__tools" data-mobile-menu-tools="true">\r\n\r\n					<div class="mobile-menu__tools--group">\r\n						<button data-o4-button="true" class="mobile-menu__tool-button mobile-menu__tool-button--o4" aria-label="O4 Initiative">\r\n							<img src="">\r\n						</button>\r\n\r\n						<button data-accessibility-button="true" class="mobile-menu__tool-button mobile-menu__tool-button--accessibility" aria-label="Accessibility"></button>\r\n\r\n						<a data-language-link="true" class="mobile-menu__tool-button mobile-menu__tool-button--language"></a>\r\n\r\n						<span data-mobile-menu-myaccount="true"></span>\r\n					</div>\r\n\r\n				</div>\r\n\r\n				{{/is_sap}}\r\n			</div>\r\n			\r\n			<img src="">\r\n		</div>\r\n\r\n		{{^is_sap}}\r\n		<div class="mobile-menu__accessibility" data-mobile-menu-accessibility="true">\r\n\r\n			<button class="mobile-menu__accessibilityheader" data-mobile-menu-accessibility-header="true">Accessibility</button>\r\n\r\n			<div data-panel-content="true" class="mobile-menu-panel__content">\r\n\r\n				<div data-mobile-accessibility-panel="true">\r\n\r\n				</div>\r\n\r\n			</div>\r\n\r\n		</div>\r\n\r\n		<div class="mobile-menu-search" data-mobile-search-panel="true">\r\n\r\n		</div>\r\n\r\n		{{/is_sap}}\r\n</div>\r\n\r\n';
}),define("../src/sublayouts/m12-masthead/m12-masthead-mobile-menu",["jquery","mustache","breakpoint","lib/utils","mask","components/_helpers/touch-scroller/touch-scroller","text!components/m12-masthead/_m12-masthead-mobile-menu.hbs"],function(t,e,i,n,o,s,r){"use strict";var a,l=function(){this.initialized=!1};return l.prototype.init=function(e){if(!this.initialized){var n=this;this.done=!1,this.$masthead=e,this.$segmentNav=this.$masthead.find("[data-segment-nav]"),this.$segmentLinks=this.$masthead.find("[data-segment-link]"),this.$sectionNavs=this.$masthead.find("[data-section-nav]"),this.$accessibilityContent=this.$masthead.find("[data-accessibility-content]"),this.$myAccountLink=this.$masthead.find(".m12-myaccount__link[data-m12-myaccount-link]"),this.$myAccountLogoutLink=this.$masthead.find("[data-myaccount-logout]"),this.$myAccountPostLoginNav=this.$masthead.find("[data-myaccount-postlogin-nav]"),this.$languageLink=this.$masthead.find("[data-m12-lang-link]"),this.$barContent=this.$masthead.find("[data-m12-bar-content]"),this.$menuButton=t('<button class="m12-mobile-menu-button" data-menu-button="true"><div class="m12-menu_expandable m12-menu_expandable--mobile"><div class="m12-menu_bar--wrapper"><span class="top-bar"></span><span class="mid-bar"></span><span class="bot-bar"></span></div><label class="m12-menu_label">'+t(".m12-section-navs").find(".m12-menu_label").html()+"</label></div></button>"),this.$searchContent=this.$masthead.find("[data-search]"),this.mobileMenuActiveClassname="mobile-menu--active",this.mobielMenuActiveCloseClassname="mobile-menu-closebtn--active",this.mobileMenuAccessibilityClassname="mobile-menu--accessibility-open",this.labels=e.data("labels"),this.theme=e.data("theme"),this.isSAP=e.data("sap")===!0,this.open=!1,this.maxWidth=440,this.addMenu(),this.$mobileMenu=t('[data-mobile-menu="true"]'),this.$accessibilityPanel=this.$mobileMenu.find("[data-mobile-accessibility-panel]"),this.$languageLinkContainer=this.$mobileMenu.find("[data-language-link]"),this.$searchPanel=this.$mobileMenu.find("[data-mobile-search-panel]"),this.$accessibilityMobileContent=this.$mobileMenu.find("[data-mobile-menu-accessibility]"),this.$accessibilityHeader=this.$mobileMenu.find("[data-mobile-menu-accessibility-header]"),this.$myAccount=this.$mobileMenu.find("[data-mobile-menu-myaccount]"),this.$accessibilityButton=this.$mobileMenu.find("[data-accessibility-button]"),this.$o4Button=this.$mobileMenu.find("[data-o4-button]"),this.$header=this.$mobileMenu.find("[data-mobile-menu-header]"),this.postLogin=this.$myAccountPostLoginNav.length>0,this.$searchField=this.$mobileMenu.find("[data-search-field]"),this.$menuButton.on("click",function(e){t(this).find(".m12-menu_bar--wrapper").hasClass("active")?n.closeMenu():n.openMenu(e)}),this.$accessibilityHeader.on("click",t.proxy(this.toggleAccessibilityPanel,this)),this.$accessibilityButton.on("click",t.proxy(this.toggleAccessibilityPanel,this)),console.log(t(".m13-footer--floating_link--o4").find("img").attr("src")),this.$o4Button.find("img").attr("src",t(".m13-footer--floating_link--o4").find("img").attr("src")),this.$o4Button.on("click",function(){t(".m13-footer--floating_link--o4").trigger("click")}),t(window).off("searchOpen").on("searchOpen",function(){n.openSearch()}),this.buildMenu(),this.buildFooter(),t(window).on("orientationchange resize",t.proxy(this.setStyle,this)),t(i).on("change",t.proxy(this.respond,this)),this.initialized=!0;var o=t(".m12-section-nav").find(".m12-segment-nav__link--Home").attr("href");if(t(".mobile-menu__myaccount").find(".m12-segment-nav__link--Home").attr("href",o),t(".mobile-menu-navs .m12-menuover-main").css("max-height","calc(100% - "+(100+t(".mobile-menu__header").outerHeight(!0))+"px)"),t("[data-mobile-menu-footer] img").not("[data-o4-button] img").attr("src",t(".m12-logo-image--government").attr("src")),t(".m13-footer--floating_linkmobile-hide").each(function(){t(".m12-menuover-main").append('<a class="m12-menuover-main_item m12-menuover-main_itemlink" href="'+t(this).attr("href")+'">'+t(this).text()+"</a>")}),t(".m12-quicklinks--mobiletitle").text(this.labels.quicklinks),t(".mobile-menu-navstitle").text(this.labels.mainmenu),0!=t(".m12-myaccount__link--logout").length){var s=t(".m12-myaccount__link--logout").clone();n.$myAccount.after(s)}}},l.prototype.addMenu=function(){var i=e.render(r,{is_sap:this.isSAP});this.$barContent.prepend(this.$menuButton),this.$menuButton.find(".m12-menu_label").text(this.labels.menu),t("body").append(i)},l.prototype.loadScrollers=function(){this.level1Scroller=new s,this.level1Scroller.init(this.$level1Nav.parent()),this.level2Scroller=new s,this.level2Scroller.init(this.$level2Nav.parent()),this.level3Scroller=new s,this.level3Scroller.init(this.$level3Nav.parent()),this.$accessibilityPanel.parent().addClass("scroll")},l.prototype.buildMenu=function(){var e=t(".m12-menuover-content"),i=t(".m12-menuover-main").clone();if(t(".mobile-menu-navs").append(i),t(".mobile-menu-navs").find(".m12-menuover-main_item").each(function(){var i=t(this),n=t(this).attr("data-call");i.html('<label class="m12-menuover-main_item--label">'+i.text()+"</label>"),e.find(".m12-menuover-2").find(".m12-menuover-primary").each(function(){var e=t(this).attr("data-tag"),o=t(this).clone();n==e&&i.append(o)})}),t(".mobile-menu-navs").find(".m12-menuover-primary_item").each(function(){var i=t(this),n=t(this).attr("data-call");i.html('<label class="m12-menuover-primary_item--label">'+i.text()+"</label>"),e.find(".m12-menuover-3").find(".m12-menuover-secondary").each(function(){var e=t(this).attr("data-tag"),o=t(this).clone();n==e&&i.append(o)})}),this.$languageLinkContainer.html(this.$languageLink.html()),this.$languageLinkContainer.attr("href",this.$languageLink.attr("href")),this.$myAccount.append(this.$myAccountLink.clone()),void 0!==this.$accessibilityContent[0]){var n=this.$accessibilityContent.clone(!0);n.find("#xp1").attr("id","xp2"),n.find("a.readspeaker-link").attr("onclick","readpage(this.href, 'xp2'); return false;"),this.$accessibilityPanel.append(n)}this.$searchPanel.append(this.$searchContent.clone(!0)),this.$searchPanel.find("#searchcategory").attr("class","mobile--searchcategory"),this.buildMenuListeners(),setTimeout(function(){t(".mobile-menu-navs").find(".m12-menuover-main_itemactive").find(".m12-menuover-main_item--label").click(),t(".mobile-menu-navs").find(".m12-menuover-primary_itemactive").find(".m12-menuover-primary_item--label").click()},250)},l.prototype.buildMenuListeners=function(){t(".mobile-menu-navs").find(".m12-menuover-main_item").each(function(){var e=t(this);e.find(".m12-menuover-main_item--label").on("click",function(){var i=e.find(".m12-menuover-primary").height()+53;t(".mobile-menu-navs").find(".m12-menuover-main_item").each(function(){t(this).not(e).css("height","53px"),t(this).not(e).removeClass("m12-menuover-main_itemactive"),t(this).not(e).removeClass("m12-menuover-main_itemactive-mobile")}),e.hasClass("m12-menuover-main_itemactive-mobile")?(e.removeClass("m12-menuover-main_itemactive"),e.removeClass("m12-menuover-main_itemactive-mobile"),e.css("height","53px")):(e.css("height",i.toString()+"px"),e.addClass("m12-menuover-main_itemactive"),e.addClass("m12-menuover-main_itemactive-mobile"))})}),t(".mobile-menu-navs").find(".m12-menuover-primary_item").each(function(){var e=t(this);e.find(".m12-menuover-primary_item--label").on("click",function(){var i=e.find(".m12-menuover-secondary").height(),n=t(this).closest(".m12-menuover-main_item").outerHeight(!0);t(".mobile-menu-navs").find(".m12-menuover-primary_item").each(function(){t(this).not(e).css("height","40px"),t(this).not(e).removeClass("m12-menuover-primary_itemactive"),t(this).not(e).removeClass("m12-menuover-primary_itemactive-mobile")}),e.hasClass("m12-menuover-primary_itemactive-mobile")?(e.removeClass("m12-menuover-primary_itemactive"),e.removeClass("m12-menuover-primary_itemactive-mobile"),e.css("height","40px"),e.closest(".m12-menuover-main_item").css("height",(n-i).toString()+"px")):(n=40*t(this).closest(".m12-menuover-main_item").find(".m12-menuover-primary_item").length+50,e.css("height",(i+40).toString()+"px"),e.closest(".m12-menuover-main_item").css("height",(i+n).toString()+"px"),e.addClass("m12-menuover-primary_itemactive"),e.addClass("m12-menuover-primary_itemactive-mobile"))})}),t(".mobile-menu__tool-button--myaccount").off("click.dynamic").on("click.dynamic",function(e){var i=t(".m12-menuover-main_itemactive-mobile").attr("data-loginhref");void 0!=i&&""!=i&&(e.preventDefault(),window.location.href=i)})},l.prototype.buildFooter=function(){t(".m12-quicklinks").find(".m12-quicklinks-item").each(function(){t(".m12-quicklinks--mobile").append(t(this).clone())})},l.prototype.openMenu=function(e){var i=this;e.stopImmediatePropagation();var n=this;this.open=!0,o.show(),this.$mobileMenu.addClass("theme--"+this.theme).addClass(this.mobileMenuActiveClassname),t("body").addClass("unscrollable"),t("body").css("position","static"),this.setStyle(),i.$masthead.find(".m12-menu_expandable--mobile .m12-menu_bar--wrapper").addClass("active"),t(document).on("touchmove",function(e){void 0===t(e.target).parents("[data-mobile-accessibility-panel]")[0]&&e.preventDefault()}),t(o.$el).on("click",function(e){void 0===t(e.target).parents("[data-mobile-menu]")[0]&&n.closeMenu()}),t(".mobile-menu").hasClass("theme--c")&&!i.done&&(t(".mobile-menu").find(".m12-section-nav[data-mobile-menu-level1-nav=true]").append('<li class="m12-segment-nav__item"><a class="m12-segment-nav__link--c" href="'+t(".m12-section-nav__item:last-child").find(".m12-section-nav__link ").attr("href")+'">'+t(".m12-section-nav__item:last-child").find(".m12-section-nav__link ").text()+"</a></li>"),i.done=!0)},l.prototype.closeMenu=function(){var e=this;this.initialized&&(this.open=!1,this.closeSearch(),o.hide(),this.$mobileMenu.removeClass().addClass("mobile-menu"),t("body").removeClass("unscrollable"),t(document).off("touchmove"),t(o.$el).off("click"),e.$masthead.find(".m12-menu_expandable--mobile .m12-menu_bar--wrapper").removeClass("active"))},l.prototype.toggleAccessibilityPanel=function(){this.$mobileMenu.toggleClass(this.mobileMenuAccessibilityClassname)},l.prototype.openSearch=function(){var e=this;this.$header.hide(),this.$searchPanel.addClass("mobile-menu-search--active"),this.$searchPanel.find("input[type=search]").focus(),t(".m12-search__panel--close").on("click",function(){setTimeout(function(){e.closeSearch(),window.scrollTo(0,0)},150)}),this.$searchPanel.on("click",function(i){void 0===t(i.target).parents("[data-search]")[0]&&e.closeSearch()})},l.prototype.closeSearch=function(){this.$header.show(),this.$searchPanel.removeClass("mobile-menu-search--active"),this.$searchPanel.off("click"),setTimeout(function(){t(document).scrollTop(t(document).scrollTop())},1)},l.prototype.setStyle=function(){var e=t(window).width(),i=t(window).width()>this.maxWidth?this.maxWidth:e;this.$mobileMenu.css("width",i)},l.prototype.respond=function(){("l"===n.breakpoint()||"xl"===n.breakpoint())&&this.closeMenu()},a=new l}),define("components/m12-masthead/m12-masthead-mobile-menu",["jquery","mustache","breakpoint","lib/utils","mask","components/_helpers/touch-scroller/touch-scroller","text!components/m12-masthead/_m12-masthead-mobile-menu.hbs"],function(t,e,i,n,o,s,r){"use strict";var a,l=function(){this.initialized=!1};return l.prototype.init=function(e){if(!this.initialized){var n=this;this.done=!1,this.$masthead=e,this.$segmentNav=this.$masthead.find("[data-segment-nav]"),this.$segmentLinks=this.$masthead.find("[data-segment-link]"),this.$sectionNavs=this.$masthead.find("[data-section-nav]"),this.$accessibilityContent=this.$masthead.find("[data-accessibility-content]"),this.$myAccountLink=this.$masthead.find(".m12-myaccount__link[data-m12-myaccount-link]"),this.$myAccountLogoutLink=this.$masthead.find("[data-myaccount-logout]"),this.$myAccountPostLoginNav=this.$masthead.find("[data-myaccount-postlogin-nav]"),this.$languageLink=this.$masthead.find("[data-m12-lang-link]"),this.$barContent=this.$masthead.find("[data-m12-bar-content]"),this.$menuButton=t('<button class="m12-mobile-menu-button" data-menu-button="true"><div class="m12-menu_expandable m12-menu_expandable--mobile"><div class="m12-menu_bar--wrapper"><span class="top-bar"></span><span class="mid-bar"></span><span class="bot-bar"></span></div><label class="m12-menu_label">'+t(".m12-section-navs").find(".m12-menu_label").html()+"</label></div></button>"),this.$searchContent=this.$masthead.find("[data-search]"),this.mobileMenuActiveClassname="mobile-menu--active",this.mobielMenuActiveCloseClassname="mobile-menu-closebtn--active",this.mobileMenuAccessibilityClassname="mobile-menu--accessibility-open",this.labels=e.data("labels"),this.theme=e.data("theme"),this.isSAP=e.data("sap")===!0,this.open=!1,this.maxWidth=440,this.addMenu(),this.$mobileMenu=t('[data-mobile-menu="true"]'),this.$accessibilityPanel=this.$mobileMenu.find("[data-mobile-accessibility-panel]"),this.$languageLinkContainer=this.$mobileMenu.find("[data-language-link]"),this.$searchPanel=this.$mobileMenu.find("[data-mobile-search-panel]"),this.$accessibilityMobileContent=this.$mobileMenu.find("[data-mobile-menu-accessibility]"),this.$accessibilityHeader=this.$mobileMenu.find("[data-mobile-menu-accessibility-header]"),this.$myAccount=this.$mobileMenu.find("[data-mobile-menu-myaccount]"),this.$accessibilityButton=this.$mobileMenu.find("[data-accessibility-button]"),this.$o4Button=this.$mobileMenu.find("[data-o4-button]"),this.$header=this.$mobileMenu.find("[data-mobile-menu-header]"),this.postLogin=this.$myAccountPostLoginNav.length>0,this.$searchField=this.$mobileMenu.find("[data-search-field]"),this.$menuButton.on("click",function(e){t(this).find(".m12-menu_bar--wrapper").hasClass("active")?n.closeMenu():n.openMenu(e)}),this.$accessibilityHeader.on("click",t.proxy(this.toggleAccessibilityPanel,this)),this.$accessibilityButton.on("click",t.proxy(this.toggleAccessibilityPanel,this)),console.log(t(".m13-footer--floating_link--o4").find("img").attr("src")),this.$o4Button.find("img").attr("src",t(".m13-footer--floating_link--o4").find("img").attr("src")),this.$o4Button.on("click",function(){t(".m13-footer--floating_link--o4").trigger("click")}),t(window).off("searchOpen").on("searchOpen",function(){n.openSearch()}),this.buildMenu(),this.buildFooter(),t(window).on("orientationchange resize",t.proxy(this.setStyle,this)),t(i).on("change",t.proxy(this.respond,this)),this.initialized=!0;var o=t(".m12-section-nav").find(".m12-segment-nav__link--Home").attr("href");if(t(".mobile-menu__myaccount").find(".m12-segment-nav__link--Home").attr("href",o),t(".mobile-menu-navs .m12-menuover-main").css("max-height","calc(100% - "+(100+t(".mobile-menu__header").outerHeight(!0))+"px)"),t("[data-mobile-menu-footer] img").not("[data-o4-button] img").attr("src",t(".m12-logo-image--government").attr("src")),t(".m13-footer--floating_linkmobile-hide").each(function(){t(".m12-menuover-main").append('<a class="m12-menuover-main_item m12-menuover-main_itemlink" href="'+t(this).attr("href")+'">'+t(this).text()+"</a>")}),t(".m12-quicklinks--mobiletitle").text(this.labels.quicklinks),t(".mobile-menu-navstitle").text(this.labels.mainmenu),0!=t(".m12-myaccount__link--logout").length){var s=t(".m12-myaccount__link--logout").clone();n.$myAccount.after(s)}}},l.prototype.addMenu=function(){var i=e.render(r,{is_sap:this.isSAP});this.$barContent.prepend(this.$menuButton),this.$menuButton.find(".m12-menu_label").text(this.labels.menu),t("body").append(i)},l.prototype.loadScrollers=function(){this.level1Scroller=new s,this.level1Scroller.init(this.$level1Nav.parent()),this.level2Scroller=new s,this.level2Scroller.init(this.$level2Nav.parent()),this.level3Scroller=new s,this.level3Scroller.init(this.$level3Nav.parent()),this.$accessibilityPanel.parent().addClass("scroll")},l.prototype.buildMenu=function(){var e=t(".m12-menuover-content"),i=t(".m12-menuover-main").clone();if(t(".mobile-menu-navs").append(i),t(".mobile-menu-navs").find(".m12-menuover-main_item").each(function(){var i=t(this),n=t(this).attr("data-call");i.html('<label class="m12-menuover-main_item--label">'+i.text()+"</label>"),e.find(".m12-menuover-2").find(".m12-menuover-primary").each(function(){var e=t(this).attr("data-tag"),o=t(this).clone();n==e&&i.append(o)})}),t(".mobile-menu-navs").find(".m12-menuover-primary_item").each(function(){var i=t(this),n=t(this).attr("data-call");i.html('<label class="m12-menuover-primary_item--label">'+i.text()+"</label>"),e.find(".m12-menuover-3").find(".m12-menuover-secondary").each(function(){var e=t(this).attr("data-tag"),o=t(this).clone();n==e&&i.append(o)})}),this.$languageLinkContainer.html(this.$languageLink.html()),this.$languageLinkContainer.attr("href",this.$languageLink.attr("href")),this.$myAccount.append(this.$myAccountLink.clone()),void 0!==this.$accessibilityContent[0]){var n=this.$accessibilityContent.clone(!0);n.find("#xp1").attr("id","xp2"),n.find("a.readspeaker-link").attr("onclick","readpage(this.href, 'xp2'); return false;"),this.$accessibilityPanel.append(n)}this.$searchPanel.append(this.$searchContent.clone(!0)),this.$searchPanel.find("#searchcategory").attr("class","mobile--searchcategory"),this.buildMenuListeners(),setTimeout(function(){t(".mobile-menu-navs").find(".m12-menuover-main_itemactive").find(".m12-menuover-main_item--label").click(),t(".mobile-menu-navs").find(".m12-menuover-primary_itemactive").find(".m12-menuover-primary_item--label").click()},250)},l.prototype.buildMenuListeners=function(){t(".mobile-menu-navs").find(".m12-menuover-main_item").each(function(){var e=t(this);e.find(".m12-menuover-main_item--label").on("click",function(){var i=e.find(".m12-menuover-primary").height()+53;t(".mobile-menu-navs").find(".m12-menuover-main_item").each(function(){t(this).not(e).css("height","53px"),t(this).not(e).removeClass("m12-menuover-main_itemactive"),t(this).not(e).removeClass("m12-menuover-main_itemactive-mobile")}),e.hasClass("m12-menuover-main_itemactive-mobile")?(e.removeClass("m12-menuover-main_itemactive"),e.removeClass("m12-menuover-main_itemactive-mobile"),e.css("height","53px")):(e.css("height",i.toString()+"px"),e.addClass("m12-menuover-main_itemactive"),e.addClass("m12-menuover-main_itemactive-mobile"))})}),t(".mobile-menu-navs").find(".m12-menuover-primary_item").each(function(){var e=t(this);e.find(".m12-menuover-primary_item--label").on("click",function(){var i=e.find(".m12-menuover-secondary").height(),n=t(this).closest(".m12-menuover-main_item").outerHeight(!0);t(".mobile-menu-navs").find(".m12-menuover-primary_item").each(function(){t(this).not(e).css("height","40px"),t(this).not(e).removeClass("m12-menuover-primary_itemactive"),t(this).not(e).removeClass("m12-menuover-primary_itemactive-mobile")}),e.hasClass("m12-menuover-primary_itemactive-mobile")?(e.removeClass("m12-menuover-primary_itemactive"),e.removeClass("m12-menuover-primary_itemactive-mobile"),e.css("height","40px"),e.closest(".m12-menuover-main_item").css("height",(n-i).toString()+"px")):(n=40*t(this).closest(".m12-menuover-main_item").find(".m12-menuover-primary_item").length+50,e.css("height",(i+40).toString()+"px"),e.closest(".m12-menuover-main_item").css("height",(i+n).toString()+"px"),e.addClass("m12-menuover-primary_itemactive"),e.addClass("m12-menuover-primary_itemactive-mobile"))})}),t(".mobile-menu__tool-button--myaccount").off("click.dynamic").on("click.dynamic",function(e){var i=t(".m12-menuover-main_itemactive-mobile").attr("data-loginhref");void 0!=i&&""!=i&&(e.preventDefault(),window.location.href=i)})},l.prototype.buildFooter=function(){t(".m12-quicklinks").find(".m12-quicklinks-item").each(function(){t(".m12-quicklinks--mobile").append(t(this).clone())})},l.prototype.openMenu=function(e){var i=this;e.stopImmediatePropagation();var n=this;this.open=!0,o.show(),this.$mobileMenu.addClass("theme--"+this.theme).addClass(this.mobileMenuActiveClassname),t("body").addClass("unscrollable"),t("body").css("position","static"),this.setStyle(),i.$masthead.find(".m12-menu_expandable--mobile .m12-menu_bar--wrapper").addClass("active"),t(document).on("touchmove",function(e){void 0===t(e.target).parents("[data-mobile-accessibility-panel]")[0]&&e.preventDefault()}),t(o.$el).on("click",function(e){void 0===t(e.target).parents("[data-mobile-menu]")[0]&&n.closeMenu()}),t(".mobile-menu").hasClass("theme--c")&&!i.done&&(t(".mobile-menu").find(".m12-section-nav[data-mobile-menu-level1-nav=true]").append('<li class="m12-segment-nav__item"><a class="m12-segment-nav__link--c" href="'+t(".m12-section-nav__item:last-child").find(".m12-section-nav__link ").attr("href")+'">'+t(".m12-section-nav__item:last-child").find(".m12-section-nav__link ").text()+"</a></li>"),i.done=!0)},l.prototype.closeMenu=function(){var e=this;this.initialized&&(this.open=!1,this.closeSearch(),o.hide(),this.$mobileMenu.removeClass().addClass("mobile-menu"),t("body").removeClass("unscrollable"),t(document).off("touchmove"),t(o.$el).off("click"),e.$masthead.find(".m12-menu_expandable--mobile .m12-menu_bar--wrapper").removeClass("active"))},l.prototype.toggleAccessibilityPanel=function(){this.$mobileMenu.toggleClass(this.mobileMenuAccessibilityClassname)},l.prototype.openSearch=function(){var e=this;this.$header.hide(),this.$searchPanel.addClass("mobile-menu-search--active"),this.$searchPanel.find("input[type=search]").focus(),t(".m12-search__panel--close").on("click",function(){setTimeout(function(){e.closeSearch(),window.scrollTo(0,0)},150)}),this.$searchPanel.on("click",function(i){void 0===t(i.target).parents("[data-search]")[0]&&e.closeSearch()})},l.prototype.closeSearch=function(){this.$header.show(),this.$searchPanel.removeClass("mobile-menu-search--active"),this.$searchPanel.off("click"),setTimeout(function(){t(document).scrollTop(t(document).scrollTop())},1)},l.prototype.setStyle=function(){var e=t(window).width(),i=t(window).width()>this.maxWidth?this.maxWidth:e;this.$mobileMenu.css("width",i)},l.prototype.respond=function(){("l"===n.breakpoint()||"xl"===n.breakpoint())&&this.closeMenu()},a=new l}),define("components/m12-masthead/m12-masthead-desktop-menu",["jquery","lib/utils"],function(t,e){"use strict";var i,n=function(){this.initialized=!1};return n.prototype.init=function(e){this.initialized||(this.$masthead=e,this.$myAccountSection=this.$masthead.find("[data-myaccount-section]"),this.$activeSectionNav=this.$masthead.find(".m12-section-nav--active"),this.$menubar=this.$masthead.find("[data-m12-bar-content]"),this.$sections=this.$activeSectionNav.find("[data-section]").add(this.$myAccountSection),this.$searchField=this.$masthead.find("[data-search-field]"),this.$subsections=this.$masthead.find(".m12-subsection"),this.sectionFocusedClassname="m12-section-nav__item--focused",this.sectionExpandedClassname="m12-section-nav__item--expanded",this.activeSubsectionClassname="m12-subsection--active",this.toggleButtonClassname="m12-section__toggle",this.toggleButtonOpenClassname="m12-section__toggle--open",this.subsectionClass=".m12-subsection",this.subsectionActiveClassname="m12-subsection--active",this.sectionNavItemHoverClassname="m12-section-nav__item--hover",this.configureUI(),this.polyfills(),this.initialized=!0),null!=navigator.userAgent.match(/iPad/i)&&t(".m12-section-nav__link").on("click",function(e){e.preventDefault(),t(this).trigger("hover")})},n.prototype.polyfills=function(){if(e.isLessThanIE10()){var i=this.$searchField.attr("aria-label");this.$searchField.val(i),this.$searchField.on("focus",function(){t(this).val()===i&&t(this).val("")}),this.$searchField.on("blur",function(){""===t(this).val().replace(/^\s+|\s+$/g,"")&&t(this).val(i)})}},n.prototype.configureUI=function(){var e=this;t.each(this.$sections,function(){var i=t(this),n=t(this).find("[data-section-link]").eq(0),o=t('<button aria-label="Toggle menu" class="m12-section__toggle"><span class="aria-only">Toggle Menu</span></button>');"true"===n.attr("aria-haspopup")&&(o.on("click",function(){var t=n.attr("aria-expanded");i.toggleClass(e.sectionExpandedClassname),n.attr("aria-expanded","false"===t),o.toggleClass(e.toggleButtonOpenClassname)}),o.on("focus",function(){i.addClass(e.sectionFocusedClassname)}),t(o).insertAfter(n)),n.on("focus",function(){e.resetSectionNav(),i.addClass(e.sectionFocusedClassname)}),n.on("blur mouseover",function(i){"blur"===i.type&&t(i.relatedTarget).hasClass("m12-section__toggle")||e.resetSectionNav()})}),this.$searchField.on("focus",function(){e.resetSectionNav()})},n.prototype.resetSectionNav=function(){this.$sections.removeClass(this.sectionFocusedClassname).removeClass(this.sectionExpandedClassname)},i=new n}),define("../src/sublayouts/m12-masthead/m12-masthead",["jquery","breakpoint","tooltipster","lib/utils","!components/m12-masthead/m12-masthead-mobile-menu","!components/m12-masthead/m12-masthead-desktop-menu"],function(t,e,i,n,o,s){"use strict";var r=function(t){return this.$component=t,this};r.prototype.init=function(){var i=(this.getCookie("fontsize"),t("body"),this);""==document.body.style.fontSize&&(document.body.style.fontSize="1em"),this.$anchor=this.$component.find('[data-m13-back-to-top="true"]'),this.$anchor.on("click",t.proxy(this.toTop,this)),this.$headerMain=this.$component.find("[ data-m12-main ]"),this.$headerBar=this.$component.find("[ data-m12-bar ]"),this.$breadcrumbs=this.$component.find("[ data-m12-breadcrumbs ]"),this.$headerBar.length&&(this.headerBarTop=this.$headerBar.offset().top),this.fixedHeader=!1,this.labels=this.$component.data("labels"),this.fontSize=t(".m12-bar__breadcrumb--tools__fontSizeRange"),this.headerMainOffscreenClassname="m12-main--offscreen",this.headerBarFixedClassname="m12-bar--fixed",this.headerBarFixedNewClassname="m12-bar--fixed-new",this.headerBarFixedDataAttr="data-m12-bar-fixed",this.breadcrumbsFixedClassname="m12-bar__breadcrumbs--fixed",this.breadcrumbsFixedToggleClassname="m12-bar__breadcrumbs--toggle",this.breadcrumbsFixedNewClassname="m12-bar__breadcrumbs--fixed-new",this.tooltip(),this.menuOver(),this.respond(),this.watchHeaderBar(),this.fontSlide(),t(".activate-idlewatch").length>0&&i.idleWatcher(parseInt(t(".activate-idlewatch").attr("data-timer"))),t(window).off("reinit_tooltip").on("reinit_tooltip",function(){i.tooltip()}),t(e).on("change",t.proxy(this.respond,this)),t(window).on("initMobile",function(){i.respond()}),t(window).scroll(t.proxy(this.watchHeaderBar,this)),t(window).on("orientationchange",t.proxy(this.orientationchange,this)),t(".m12-myaccount__login-form").find("button").on("DOMSubtreeModified",function(){t(".create").addClass("create--active")}),t(".m12-myaccount__login-form").find("button").on("propertychange",function(){t(".create").addClass("create--active")});var o=t(window).height()+130,s=t(document).height();o>s&&(this.$breadcrumbs.addClass(this.breadcrumbsFixedClassname),this.$breadcrumbs.addClass(this.breadcrumbsFixedToggleClassname)),("s"===n.breakpoint()||"m"===n.breakpoint())&&this.$breadcrumbs.addClass(this.breadcrumbsFixedClassname),t(".skip-content a").click(function(e){e.preventDefault();var n=0;t(".new-notification").height()>0&&(n=120),t("html, body").animate({scrollTop:t("#rs_area").offset().top+110-i.$component.height()-n},"slow"),setTimeout(function(){window.location.href=window.location.href.replace("#rs_area","")+"#rs_area"},601)}),this.$component.css("height",this.$component.find(".m12-main").outerHeight(!0)+this.$component.find(".m12-bar").outerHeight(!0)),t(".m60-grid__scroll").css("width",(250*t(".m60-teaser").length).toString()+"px"),t(".m12-lang-switch_mobile").find("a").attr("href",t(".m12-tools__link-lang").attr("href"))},r.prototype.tooltip=function(){var e=t("img").not(".tooltip"),i="";i=n.isRTL()?"يفتح في نافذة جديدة":"Opens in a new window",e.each(function(){var e=t(this).attr("alt");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})}),t("a").each(function(){"_blank"==t(this).attr("target")&&t(this).tooltipster({content:i,maxWidth:250,side:"right",arrow:!1})})},r.prototype.menuOver=function(){t(".m12-menu_expandable").not(".m12-menu_expandable--mobile").on("click",function(){t(".m12-menuover").removeClass("hidden"),t(this).toggleClass("active"),setTimeout(function(){t(".m12-menuover").addClass("m12-menuover--active"),t("body").addClass("unscrollable")},100)}),t(".m12-menuover-closebutton").on("click",function(){t(".m12-menuover").removeClass("m12-menuover--active"),t("body").removeClass("unscrollable"),setTimeout(function(){t(".m12-menuover").addClass("hidden")},1100)}),t(".m12-menuover-main_item").on("click",function(){var e=t(this).attr("data-call"),i=t(this).attr("data-loginhref");t(window).width()>1024&&(t(".m12-menuover-main_item").each(function(){t(this).removeClass("m12-menuover-main_itemactive")}),t(this).addClass("m12-menuover-main_itemactive")),t(".m12-menuover-primary").each(function(){t(this).removeClass("m12-menuover-primaryactive")}),t(".m12-menuover-secondary").each(function(){t(this).removeClass("m12-menuover-secondaryactive")}),t(window).width()>1024&&t(".m12-menuover-primary").each(function(){var i=t(this).attr("data-tag");i==e&&(t(this).addClass("m12-menuover-primaryactive"),t(this).find(".m12-menuover-primary_item:first-child").click(),t(this).find(".m12-menuover-primary_item:first-child").focus())}),""!=i&&void 0!=i&&t(".m12-menuover-footer").find('.button[data-login="true"]').attr("href",i)}),t(".m12-menuover-primary_item").on("click",function(){var e=t(this).attr("data-call");t(window).width()>1024&&(t(".m12-menuover-primary_item").each(function(){t(this).removeClass("m12-menuover-primary_itemactive")}),t(this).addClass("m12-menuover-primary_itemactive")),t(".m12-menuover-secondary").each(function(){t(this).removeClass("m12-menuover-secondaryactive")}),t(".m12-menuover-secondary").each(function(){var i=t(this).attr("data-tag");i==e&&(t(this).addClass("m12-menuover-secondaryactive"),t(this).find(".m12-menuover-secondary_item:first-child").find("a").focus())})}),t(".button--menu").on("click",function(){var e=t(this).attr("data-call");t(".m12-menuover-main_item").each(function(){var i=t(this).attr("data-call");i==e&&(t(".m12-menu_expandable").click(),t(this).click())})}),t(".m12-menuover-footer").find(".m31-search__button").off("click.search").on("click.search",function(){t(".m12-menuover-closebutton").click(),setTimeout(function(){t(".m12-tools").find(".m31-search__button").click()},500)})},r.prototype.respond=function(){"s"===n.breakpoint()||"m"===n.breakpoint()?o.init(this.$component):s.init(this.$component)};var a=0;return r.prototype.idleWatcher=function(e){function i(){t(window).on("mousemove",function(){window.location.reload()}),t(window).on("keypress",function(){window.location.reload()})}function n(t){clearTimeout(o),o=setTimeout(i,t)}var o;t(window).on("mousemove",function(){n(6e4*e)}),t(window).on("keypress",function(){n(6e4*e)}),window.onload=n(6e4*e)},r.prototype.watchHeaderBar=function(){var e=t(window).scrollTop(),i=0,o=t(window).height()+130,s=t(document).height();Math.abs(a-e)<=i||(e>a&&e>0&&0==t(".mobile-menu--active").length?(t(".m71-cookie").trigger("posm71check"),t(".new-notification").trigger("posm20check"),t(window).trigger("overrideFixed"),this.$headerBar.removeClass(this.headerBarFixedClassname),t(".m13-footer--floating").addClass("scroll"),this.$headerBar.addClass(this.headerBarFixedNewClassname),t(".m12-bar--substitute").show(),this.$headerBar.attr(this.headerBarFixedDataAttr,!1),this.$breadcrumbs.addClass(this.breadcrumbsFixedClassname),this.fixedHeader=!1):a>e&&(e>0?(t(".m71-cookie").trigger("posm71check"),t(".new-notification").trigger("posm20check"),t(window).trigger("overrideFixedNew"),this.$headerBar.addClass(this.headerBarFixedClassname),t(".m13-footer--floating").removeClass("scroll"),this.$headerBar.removeClass(this.headerBarFixedNewClassname),t(".m12-bar--substitute").show(),this.$headerBar.attr(this.headerBarFixedDataAttr,!0),this.$breadcrumbs.addClass(this.breadcrumbsFixedClassname),this.fixedHeader=!0):(t(".m71-cookie").trigger("negm71check"),
t(".new-notification").trigger("negm20check"),t(window).trigger("overrideFixedRemove"),this.$headerBar.removeClass(this.headerBarFixedClassname),t(".m13-footer--floating").removeClass("scroll"),this.$headerBar.removeClass(this.headerBarFixedNewClassname),t(".m12-bar--substitute").hide(),this.$headerBar.attr(this.headerBarFixedDataAttr,!1),this.fixedHeader=!1,s>o&&(this.$breadcrumbs.removeClass(this.breadcrumbsFixedClassname),this.$breadcrumbs.removeClass(this.breadcrumbsFixedToggleClassname)),("s"===n.breakpoint()||"m"===n.breakpoint())&&this.$breadcrumbs.addClass(this.breadcrumbsFixedClassname))),a=e)},r.prototype.orientationchange=function(){this.respond()},r.prototype.fontSlide=function(){var e=this,i=1e3,n=["grid","m13-supplementary__wrapper","m12-main","m12-bar__wrapper","m12-bar__breadcrumbs-wrapper","m12-subsection__wrapper","service-message__wrapper","m12-main__navs--inner"];t(e.fontSize).attr("min","-0.5"),t(e.fontSize).attr("max","0.5"),t(e.fontSize).attr("step","0.125"),t(e.fontSize).on("change",function(){document.body.style.fontSize="1em",document.body.style.fontSize=parseFloat(document.body.style.fontSize)+.5*t(this).val()+"em";for(var o in n)t(o).css("width",i+500*t(this).val());console.log(t(this).val()),e.setCookie("fontsize",t(this).val(),1)}),t(e.fontSize).attr("value","0")},r.prototype.setCookie=function(t,e,i){var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3);var o="expires="+n.toUTCString();document.cookie=t+"="+e+";path=/; "+o},r.prototype.getCookie=function(t){for(var e=t+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""},r.prototype.searchActivate=function(){var e=t(".m12-search__submit"),i=t(".m12-search__panel");e.on("click",function(){i.addClass("m12-search__panel--active")})},r.prototype.toTop=function(e){e.preventDefault(),t("body").attr("tabindex",-1),n.isWindowsPhone()?t("html, body").scrollTop(0):t("html, body").animate({scrollTop:0},500,function(){t("#page").focus()})},r}),define("../src/sublayouts/m13-footer/m13-footer",["jquery","lib/utils","tooltipster"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){this.$anchor=this.$component.find('[data-m13-back-to-top="true"]'),this.$anchor.on("click",t.proxy(this.toTop,this)),this.$footerModel=this.$component.find(".m39-modal__container"),this.$modalWrapper=this.$component.find(".mask-show"),this.$totalHeight=t(window).height(),this.$topMargin=this.$totalHeight/10,this.$footerModel.css({"margin-top":this.$topMargin,"margin-bottom":this.$topMargin}),this.$component.find(".m13-footer--medialinks_item").each(function(){var e=t(this).find("a").text();t(this).tooltipster({content:e,maxWidth:250,arrow:!1})})},n.prototype.toTop=function(i){i.preventDefault(),t("body").attr("tabindex",-1),e.isWindowsPhone()?t("html, body").scrollTop(0):t("html, body").animate({scrollTop:0},500,function(){t("#page").focus()})},n}),define("../src/sublayouts/m14-richtext/m14-richtext",function(){}),define("../src/sublayouts/m15-social-media-feed/m15-social-media-feed",["jquery","slick"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){t(".m15-social-media-feed__image").each(function(){t(this).css({backgroundImage:"url('"+t(this).data("src")+"')"})})},e}),define("../src/sublayouts/m17-sectiontitle/m17-sectiontitle",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){this.$rammasTrigger=this.$component.find(".m17-sectiontitle-rammas__trigger"),this.$rammasTrigger.on("click",function(e){e.preventDefault(),this.$rammasBtn=t(".rammas-wrapper").find("a"),this.$rammasBtn.trigger("click")})},e}),define("../src/sublayouts/m18-quick-tools/m18-quick-tools",["jquery","slick"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=this;t(window).width()<600&&e.initCarousel(),t(window).on("resize",function(){setTimeout(function(){t(window).width()<600?e.initCarousel():e.$component.find(".m18-quick-tools--wrapper").hasClass("slick-initialized")&&e.destroyCarousel()},50)})},e.prototype.destroyCarousel=function(){_this.$component.find(".m18-quick-tools--wrapper").slick("unslick"),_this.$component.find(".m18-quick-tools--wrapper").attr("style","")},e.prototype.initCarousel=function(){this.$M18_slider=this.$component.find(".m18-quick-tools--wrapper");var e="rtl"==t("html").attr("dir");t(".m19-ql-carousel__slide").length>1&&this.$M18_slider.slick({dots:!0,arrows:!1,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,autoplay:!1,rtl:e}),this.$M18_slider.css({top:0,opacity:1,position:"relative"}),this.$component.find(".slick-slide").each(function(){void 0!=t(this).attr("aria-describedby")&&t(this).find(".m18-quick-tools--panel").attr("id",t(this).attr("aria-describedby"))})},e}),define("../src/sublayouts/m19-ql-carousel/m19-ql-carousel",["jquery","slick"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){if(!this.$component.hasClass("no-carousel")){this.$M3_slider=t(".m19-ql-carousel__carousel");var e,i="rtl"==t("html").attr("dir");e=t(window).width()>1024?5:3,t(".m19-ql-carousel__slide").length>e&&this.$M3_slider.slick({dots:!1,arrows:!0,infinite:!0,speed:750,slidesToShow:e,slidesToScroll:1,autoplay:!1,rtl:i}),this.$M3_slider.css({top:0,opacity:1,position:"relative"}),this.$component.find(".slick-slide").each(function(){void 0!=t(this).attr("aria-describedby")&&t(this).find(".m19-ql-carousel__slide--img").attr("id",t(this).attr("aria-describedby"))})}},e}),define("../src/sublayouts/m2-hero-image/m2-hero-image",["jquery","tooltipster","chart-config","lib/utils"],function(t,e,i,n){"use strict";var o=function(t){return this.$component=t,this};return o.prototype.init=function(){if(this.$component.find(".m2-hero-image__inner").each(function(){var e=t(this).attr("data-alt");t(this).tooltipster({content:e,distance:-48,maxWidth:250,arrow:!1})}),this.$component.hasClass("m2-hero-image--stock")&&void 0!=this.$component.attr("data-series")&&""!=this.$component.attr("data-series")){var e=this.$component.find("[data-chart-container]"),i=JSON.parse(this.$component.attr("data-series")),o=(this.$component.attr("data-y-axis-text"),this.$component.attr("data-x-axis-categories").split(",")),s=(this.$component.attr("data-tooltip-value-suffix"),n.isRTL()),r=(this.$component.attr("data-usagefor"),this.$component.attr("data-legend"),this.$component.attr("data-label"),this.$component.attr("data-labelstyle"),parseInt(this.$component.attr("data-step"),10)||1),a=parseInt(this.$component.attr("data-step-s"),10)||1,l={chart:{type:"line",backgroundColor:"transparent"},title:{text:""},subtitle:{text:"",style:{display:"none"}},legend:{enabled:!1},plotOptions:{line:{marker:{enabled:!1}},column:{dataLabels:{enabled:!1,inside:!0}}},xAxis:{reversed:s,categories:o,labels:{autoRotation:!1,staggerLines:r,style:{color:"rgba(255, 255, 255, 0.6)"}},lineColor:"#526B93",lineWidth:1},yAxis:{visible:!0,opposite:s,title:{text:"",enabled:!1},plotLines:[{value:0,width:1,color:"#808080"}],labels:{style:{color:"rgba(255, 255, 255, 0.6)"}},lineColor:"#526B93",gridLineColor:"#526B93",lineWidth:1},tooltip:{enabled:!1},series:i};"s"===n.breakpoint()&&(l.xAxis.labels.staggerLines=a),e.highcharts(l)}},o}),define("../src/sublayouts/m20-notification/m20-notification",["jquery"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;this.timeout=this.$component.data("timeout"),this.repeat=this.$component.data("time-repeat"),this.permanent=this.$component.data("show-permanent"),this.$closenew=this.$component.find(".m20-new-close"),this.$closenewstyle=this.$component.find(".m20-newstyle-close"),this.$close=this.$component.find(".m20-notification__dismiss"),this.repetTime=60*this.repeat*1e3,t(window).scroll(function(){t(window).scrollTop();e.$component.addClass("fixed")}),e.notifictionShow(),this.permanent||setInterval(function(){var t=e.readCookie("notification");null===t&&e.notifictionShow()},this.repetTime),this.$closenew.on("click",function(){e.$component.removeClass("shown")}),this.$closenewstyle.on("click",function(){e.$component.removeClass("shown"),t(".m12-bar").removeAttr("style"),e.$component.hasClass("notification-newstyle")&&(e.$component.css("min-height",0),e.$component.css("max-height",0))}),this.$close.one("click",function(t){t.preventDefault(),e.$component.fadeOut(function(){e.$component.remove()})}),this.listenToScroll()},i.prototype.listenToScroll=function(){var e;t(".new-notification").on("posm20check",function(){e=t(window).width()<=1024?65:60,t(".new-notification").hasClass("shown")&&(t(".m12-bar").hasClass("m12-bar--fixed-new")?t(".m12-bar--fixed-new").css("top",(t(".new-notification").height()-e).toString()+"px"):t(".m12-bar--fixed").css("top",t(".new-notification").height().toString()+"px"))}),t(".new-notification").on("negm20check",function(){t(".m12-bar").removeAttr("style")})},i.prototype.notifictionShow=function(){var e=this,i=1e3*this.timeout;if(t(".new-notification").addClass("shown"),t(".new-notification").hasClass("notification-newstyle")){var n=t(".m20-notification-2").height();if(n>60)var n=n+10;t(window).on("resize",function(){t(".new-notification").css("min-height","unset"),t(".new-notification").css("max-height","unset")}),t(".new-notification").css("min-height","unset"),t(".new-notification").css("max-height","unset")}1==this.permanent?document.cookie="notification = notification; expires=25 Dec 2050 12:00:00 UTC; path=/":(setTimeout(e.notifictionHide,i),e.createCookie("notification","notification",this.repetTime))},i.prototype.createCookie=function(t,e,i){var n="";if(i){var o=new Date;o.setTime(o.getTime()+(i-10)),n="; expires="+o.toUTCString()}document.cookie=t+"="+e+n+"; path=/"},i.prototype.readCookie=function(){for(var t="notification=",e=document.cookie.split(";"),i=0;i<e.length;i++){for(var n=e[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(t))return!0}return null},i.prototype.notifictionHide=function(){t(".new-notification").hasClass("shown")&&t(".new-notification").removeClass("shown"),t(".new-notification").hasClass("notification-newstyle")&&(t(".new-notification").css("min-height",0),t(".new-notification").css("max-height",0)),t(".m12-bar").removeAttr("style")},i}),define("../src/sublayouts/m22-image-with-caption/m22-image-with-caption",function(){}),define("../src/sublayouts/m23-table/m23-table",["jquery"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;e.$headings=[],this.loadMultiplier=1,this.$component.find("th").each(function(){e.$headings.push(t(this).text())}),this.$component.find(".m23-table__content-table-row").each(function(){e.$headings.push(t(this).text()),t(this).attr("tabindex","0"),t(this).find("td").each(function(i){t(this).attr("data-label",e.$headings[i]),void 0!=t(this).attr("data-label")&&0==t(this).find(".m23-table__content-table-th-mobile").length?t(this).append('<div class="m23-table__content-table-th-mobile">'+t(this).attr("data-label")+"</div>"):0==t(this).find(".m23-table__content-table-th-mobile").length&&t(this).append('<div class="m23-table__content-table-th-mobile"></div>'),t(this).addClass("initialized"),void 0!=t(this).find(".m23-table__content-table-th-mobile")&&t(this).css("min-height",t(this).find(".m23-table__content-table-th-mobile").height().toString()+"px")})}),t(window).off("resize.m23").on("resize.m23",function(){e.$component.hasClass("m23-table--variant")||e.$component.find(".m23-table__content-table-row").each(function(){t(this).find("td").each(function(e){t(this).css("min-height",t(this).find(".m23-table__content-table-th-mobile").height().toString()+"px")})})}),this.$component.off("j34Done.m23").on("j34Done.m23",function(){e.$component.find(".m23-table__content-table-row").each(function(){t(this).find("td").each(function(e){void 0!=t(this).attr("data-label")&&0==t(this).find(".m23-table__content-table-th-mobile").length?t(this).append('<div class="m23-table__content-table-th-mobile">'+t(this).attr("data-label")+"</div>"):0==t(this).find(".m23-table__content-table-th-mobile").length&&t(this).append('<div class="m23-table__content-table-th-mobile"></div>'),void 0!=t(this).find(".m23-table__content-table-th-mobile")&&t(this).css("min-height",t(this).find(".m23-table__content-table-th-mobile").height().toString()+"px")})})}),this.$component.find(".m23-table__content-table-row").each(function(){t(this).attr("tabindex","0")}),this.$component.find(".m23-table--load").length>0&&e.loadMore(),e.$component.hasClass("m23-table--variant")&&(e.$component.find(".m23-table--mobile-open").each(function(){t(this).off("click.m32").on("click.m32",function(){var i=t(this).closest(".m23-table--mobile-row");e.$component.find(".m23-table--mobile-row").each(function(){t(this).removeClass("active")}),i.addClass("active")})}),e.$component.find(".m23-table--mobile-close").each(function(){t(this).off("click.m32").on("click.m32",function(){var e=t(this).closest(".m23-table--mobile-row");e.removeClass("active")})})),t(window).off("reinit_m23").on("reinit_m23",function(){e.init()})},i.prototype.loadMore=function(){var e=this,i=this.$component.find(".m23-table--load"),n=parseInt(i.attr("data-increment")),o=this.$component.find(".m23-table__content-table-body").find("tr"),s=n*e.loadMultiplier,r=o.length;s>=r&&i.hide(),o.each(function(e){s>e?(e>0&&t(window).width()>600&&t(o[e-1]).find(".m23-table__content-table-cell").css("border-bottom","none"),t(window).width()>600&&t(this).find(".m23-table__content-table-cell").css("border-bottom","1px solid #BCBEC0"),t(this).show()):t(this).hide()}),e.loadMultiplier=e.loadMultiplier+1,i.off("click.load").on("click.load",function(){e.loadMore()})},i}),define("../src/sublayouts/m24-msg-float/m24-msg-float",["jquery"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;this.getCookie()?(this.$component.addClass("hidden"),t(".m12-menuover").removeClass("m12-menuover--m24")):(e.$component.removeClass("hidden"),this.$component.addClass("m24-msg-float--active"),t(".m12-menuover").addClass("m12-menuover--m24"),t(window).on("overrideFixed",function(){t(window).width()>1024&&e.overrideFixed()}),t(window).on("overrideFixedNew",function(){t(window).width()>1024&&e.overrideFixedNew()}),t(window).on("overrideFixedRemove",function(){t(".m12-bar").removeClass("m12-bar--fixed-new-override"),t(".m12-bar").removeClass("m12-bar--fixed-override")})),this.$component.find(".m24-msg-float--close").on("click",function(){e.$component.removeClass("m24-msg-float--active"),t(".m12-menuover").removeClass("m12-menuover--m24"),setTimeout(function(){e.$component.addClass("hidden")},750),e.setCookie(),t(".m12-bar").removeClass("m12-bar--fixed-new-override"),t(".m12-bar").removeClass("m12-bar--fixed-override"),t(window).off("overrideFixed"),t(window).off("overrideFixedNew"),t(window).off("overrideFixedRemove"),window.open(e.$component.attr("data-redirect-url"),"_blank")}),this.$component.find(".m24-msg-float--closebtn").on("click",function(){e.$component.removeClass("m24-msg-float--active"),t(".m12-menuover").removeClass("m12-menuover--m24"),setTimeout(function(){e.$component.addClass("hidden")},750),e.setCookieTemp(),t(".m12-bar").removeClass("m12-bar--fixed-new-override"),t(".m12-bar").removeClass("m12-bar--fixed-override"),t(window).off("overrideFixed"),t(window).off("overrideFixedNew"),t(window).off("overrideFixedRemove")})},i.prototype.setCookie=function(){document.cookie="dewa_m24=1;path=/; expires=25 Dec 2050 12:00:00 UTC"},i.prototype.setCookieTemp=function(){document.cookie="dewa_m24=1;path=/;"},i.prototype.overrideFixed=function(){t(".m12-bar").hasClass("m12-bar--fixed-override")||(t(".m12-bar").addClass("m12-bar--fixed-override"),t(".m12-bar").removeClass("m12-bar--fixed-new-override"))},i.prototype.overrideFixedNew=function(){t(".m12-bar").hasClass("m12-bar--fixed-new-override")||(t(".m12-bar").addClass("m12-bar--fixed-new-override"),t(".m12-bar").removeClass("m12-bar--fixed-override"))},i.prototype.getCookie=function(){for(var t="dewa_m24=",e=document.cookie.split(";"),i=0;i<e.length;i++){for(var n=e[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(t))return!0}return null},i}),define("../src/sublayouts/m25-tabs/m25-tabs",["jquery","breakpoint","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){this.$tabs=this.$component.find('[data-m25-tabs-tab="true"]'),this.$tabsMenu=this.$component.find('[data-m25-tabs-menu="true"]'),this.$content=this.$component.find('[data-m25-tabs-content="true"]'),this.$selected=this.$component.data("selected-tab-id"),this.selectedTabID=i.getParameterByName("faq"),""===this.selectedTabID&&(this.selectedTabID=i.getParameterByName("id")),this.activeTabsClass="m25-tabs__tab--active",this.activeContentClass="m25-tabs__content--active",this.$selectedTab=this.$tabs.eq(0),""!==this.selectedTabID&&(this.$selectedTab=this.$component.find("#"+this.selectedTabID),void 0===this.$selectedTab[0]&&(this.$selectedTab=this.$tabs.eq(0))),this.respond(),t(e).on("change",t.proxy(this.respond,this)),t(".m25-tabs__tab").on("click",function(){t(this).hasClass("icon-close")?(t(this).next("ul").addClass("ul--m25-active"),t(this).removeClass("icon-close"),t(this).addClass("icon-open")):t(this).hasClass("icon-open")?(t(this).next("ul").removeClass("ul--m25-active"),t(this).removeClass("icon-open"),t(this).addClass("icon-close")):(t(".m25-tabs__tab").next("ul").removeClass("ul--m25-active"),t(".m25-tabs__tab").each(function(){t(this).hasClass("icon-open")&&(t(this).removeClass("icon-open"),t(this).addClass("icon-close"))}))})},n.prototype.respond=function(){this.setUpDesktopView(),"s"===i.breakpoint()&&this.setUpMobileView()},n.prototype.setUpDesktopView=function(){var e=this,i=this;"true"!=this.$component.attr("m25isLink")&&(this.$tabs.on("click",function(i){i.preventDefault(),e.displayTab(t(this))}),this.displayTab(this.$selectedTab),t("#"+i.$selected).click())},n.prototype.setUpMobileView=function(){var e=this;t(".m25-tabs--select-mobile").empty(),t(".m25-tabs--container-mobile").empty(),this.$component.find(".toggle-menu__item").each(function(){var e=t(this).find(".m25-tabs__title").html(),i=(t(this).find(".m25-tabs__content").html(),t(this).find(".m25-tabs__content").attr("id").replace("panel","tab"));t('<option class="'+i+'" data-trigger-index="'+i+'">'+e+"</option>").appendTo(t(".m25-tabs--select-mobile"))}),this.$component.find(".m25-tabs__tab").each(function(){t(this).hasClass("m25-tabs__tab--active")&&t('option[data-trigger-index="'+t(this).attr("id").replace("panel","tab")+'"]').prop("selected",!0)}),t(".m25-tabs--select-mobile").change(function(){var i=t(this).children(":selected").attr("data-trigger-index");"true"!=e.$component.attr("m25isLink")?e.$tabsMenu.find("#"+i).click():window.location.href=e.$tabsMenu.find("#"+i).attr("href")})},n.prototype.displayTab=function(e){this.$tabs.removeClass(this.activeTabsClass).attr("aria-selected",!1),e.addClass(this.activeTabsClass),e.attr("aria-selected",!0),this.$content.removeClass(this.activeContentClass),this.$content.parent().removeClass("toggle-menu__itemactive"),t("#"+e.attr("aria-controls")).addClass(this.activeContentClass),t("#"+e.attr("aria-controls")).parent().addClass("toggle-menu__itemactive"),this.$selectedTab=e},n.prototype.fixPosition=function(){var e=this;i.fixedHeader()&&t("body").animate({scrollTop:e.$component.offset().top-i.headerBarHeight()-60},100)},n.prototype.orientationchange=function(){this.reset(),this.respond()},n.prototype.reset=function(){this.$content.removeClass(this.activeContentClass),this.$content.parent().removeClass("toggle-menu__itemactive"),this.$tabs.removeClass(this.activeTabsClass),this.$tabs.off("click"),this.$component.find("[data-toggle-trigger]").off("click.scroll")},n}),define("../src/sublayouts/m27-accessibility-overlay/m27-accessibility-overlay",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var i=this,n=this.getCookie("colour"),o=(this.getCookie("read"),this.getCookie("fontsize")),s=t("body");this.$ao=t(".m27-accessibility-overlay"),this.$aob=t(".m27-accessibility-overlay__cta");var r=e.isRTL()?"ar_ar":"en_UK",a=e.isRTL()?"Faris":"en_gb_amy",l=window.location.href;""==document.body.style.fontSize&&(document.body.style.fontSize="1em"),""!=o&&o>0&&this.increaseFontSize(o),"invert"==n&&(this.invertColour(),this.$component.find(".form-field__input--radio").eq(0).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(2).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(3).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(1).prop("checked",!0)),"blue"==n&&(this.blueColour(),this.$component.find(".form-field__input--radio").eq(0).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(1).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(3).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(2).prop("checked",!0)),"red"==n&&(this.redColour(),this.$component.find(".form-field__input--radio").eq(0).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(1).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(2).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(3).prop("checked",!0)),"full"==n&&(this.$component.find(".form-field__input--radio").eq(1).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(2).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(3).prop("checked",!1),this.$component.find(".form-field__input--radio").eq(0).prop("checked",!0)),t(".readspeaker-link").attr("href","https://app.readspeaker.com/cgi-bin/rsent?customerid=7358&lang="+r+"&voice="+a+"&readid=rs_area&url="+l),s.on("click",".readspeaker-link",function(){t(window).trigger("readspeakerRequest")}),t("html").on("click",function(e){var n=t(e.target);n&&n.attr("class")&&-1==n.attr("class").indexOf("radio")&&i.hideOverlay()}),t(".m12-tools__link").on("focusin",function(t){i.hideOverlay()}),this.$aob.on("click",function(e){e.stopPropagation(),e.preventDefault(),t(this).hasClass("m12-menuover-accessibility")?i.toggleOverlay(!0):i.toggleOverlay(!1)}),t(".m27-accessibility-overlay__content").on("click",".form-field__radio",function(e){switch(parseInt(t(e.target).siblings(1).val())){case 1:i.fullColour();break;case 2:i.invertColour();break;case 3:i.blueColour();break;case 4:i.redColour()}}),t(".m27-accessibility-overlay__content").find(".m27-accessibility-overlay__text-smaller").on("click",function(t){t.stopPropagation(),t.preventDefault(),i.decreaseFontSize(1)}),t(".m27-accessibility-overlay__content").find(".m27-accessibility-overlay__text-larger").on("click",function(t){t.stopPropagation(),t.preventDefault(),i.increaseFontSize(1)}),t(".m27-accessibility-overlay__content").find(".m27-accessibility-overlay__button--print").on("click",function(){window.print&&window.print()}),t(".m27-accessibility-overlay__content").find(".readspeaker-link").on("click",function(){i.hideReadSpeakerButton(),i.setCookie("read",1,1)}),s.on("click",".rsbtn_closer.rsimg",function(){i.showReadSpeakerButton()})},i.prototype.hideOverlay=function(){this.$ao.removeClass("m27-accessibility-overlay--visible"),this.$ao.attr("aria-expanded",!1),this.$aob.removeClass("m27-accessibility-overlay__cta--active")},i.prototype.showOverlay=function(){this.$ao.addClass("m27-accessibility-overlay--visible"),this.$ao.attr("aria-expanded",!0),this.$aob.addClass("m27-accessibility-overlay__cta--active")},i.prototype.toggleOverlay=function(t){t?this.$ao.hasClass("m27-accessibility-overlay--menuover")?this.$ao.removeClass("m27-accessibility-overlay--menuover"):(this.$ao.removeClass("m27-accessibility-overlay--menuover"),this.$ao.addClass("m27-accessibility-overlay--menuover")):this.$ao.removeClass("m27-accessibility-overlay--menuover"),this.$aob.hasClass("m27-accessibility-overlay__cta--active")?this.$aob.removeClass("m27-accessibility-overlay__cta--active"):(this.$aob.removeClass("m27-accessibility-overlay__cta--active"),this.$aob.addClass("m27-accessibility-overlay__cta--active")),this.$ao.hasClass("m27-accessibility-overlay--visible")?(this.$ao.attr("aria-expanded",!1),this.$ao.removeClass("m27-accessibility-overlay--visible")):(this.$ao.removeClass("m27-accessibility-overlay--visible"),this.$ao.addClass("m27-accessibility-overlay--visible"),this.$ao.attr("aria-expanded",!0))},i.prototype.fullColour=function(){t("body").removeClass("invert").removeClass("blue").removeClass("blue").removeClass("red"),this.setCookie("colour","full",1)},i.prototype.invertColour=function(){t("body").removeClass("blue").removeClass("red").addClass("invert"),this.setCookie("colour","invert",1)},i.prototype.blueColour=function(){t("body").removeClass("invert").removeClass("red").addClass("blue"),this.setCookie("colour","blue",1)},i.prototype.redColour=function(){t("body").removeClass("blue").removeClass("invert").addClass("red"),this.setCookie("colour","red",1)},i.prototype.hideReadSpeakerButton=function(){t(".readspeaker-link").css("display","none")},i.prototype.showReadSpeakerButton=function(){t(".readspeaker-link").css("display","block")},i.prototype.increaseFontSize=function(e){"1em"==document.body.style.fontSize&&(document.body.style.fontSize=parseFloat(document.body.style.fontSize)+.2*e+"em",this.setCookie("fontsize",e,1),setTimeout(function(){t(window).trigger("resize")},100))},i.prototype.decreaseFontSize=function(e){"1em"!=document.body.style.fontSize&&(document.body.style.fontSize=parseFloat(document.body.style.fontSize)-.2*e+"em",this.setCookie("fontsize",0,0),setTimeout(function(){t(window).trigger("resize")},100))},i.prototype.setCookie=function(t,e,i){var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3);var o="expires="+n.toUTCString();document.cookie=t+"="+e+";path=/; "+o},i.prototype.getCookie=function(t){for(var e=t+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""},i}),define("../src/sublayouts/m28-dashboard-component-gauge/m28-dashboard-component-gauge",["jquery","lib/utils","tooltipster","chart-config"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){var t=this;jQuery(window).off("reinit_m28").on("reinit_m28",function(){var e=t.$component.find(".m28-gauge--wrapperdata").attr("data-electricityconsumption"),i=(t.$component.find(".m28-gauge--wrapperdata").attr("data-accounttype"),t.$component.find(".m28-gauge--wrapperdata").attr("data-waterconsumption")),n=t.$component.find(".m28-gauge--wrapperdata").attr("data-carbonconsumption");null!=e&&e.length>0&&(2==t.$component.find(".m28-gauge--wrapperdata").attr("data-electricityslab").split(",").length?(t.initGaugeGraph(t.$component.find(".m28-gauge--wrapperdata").attr("data-electricityslab").split(","),2,e,".m28-gauge--container--electricity-i",167.5),jQuery(".m28-gauge--container--electricity-i").show(),jQuery(".m28-gauge--container--electricity-r").hide()):(t.initGaugeGraph(t.$component.find(".m28-gauge--wrapperdata").attr("data-electricityslab").split(","),4,e,".m28-gauge--container--electricity-r",76.25),jQuery(".m28-gauge--container--electricity-r").show(),jQuery(".m28-gauge--container--electricity-i").hide())),null!=i&&i.length>0&&t.initGaugeGraph(t.$component.find(".m28-gauge--wrapperdata").attr("data-waterslab").split(","),4,i,".m28-gauge--container--water",106.666667),null!=n&&n.length>0&&t.initGaugeGraph(t.$component.find(".m28-gauge--wrapperdata").attr("data-carbonslab").split(","),4,n,".m28-gauge--container--carbonfootprint",76.25)})},n.prototype.initGaugeGraph=function(e,i,n,o,s){var r=parseFloat(n),a=1,l=1,c=0,d=0;for(t(o).find(".m28-gauge--bar_fill").each(function(){t(this).attr("style","")}),t(e).each(function(){return c+=parseFloat(this),r>c?void(a+=1):(d=(r-c+parseFloat(this))/parseFloat(this)*s,!1)});a>l;){var h=t(o).find(".m28-gauge--bar"+l);h.find("#m28-gauge--bar_fill").css({strokeDasharray:s.toString()+" 9999",opacity:"1"}),l++}d>0&&t(o).find(".m28-gauge--bar"+l).find("#m28-gauge--bar_fill").css({strokeDasharray:d.toString()+" 9999",opacity:"1"}),t(o).closest(".m28-gauge--wrapper").find(".m28-gauge--details-value").html(n),/Edge\/|Trident\/|MSIE /.test(window.navigator.userAgent)&&t("[id=m28-gauge--bar_fill]").each(function(){var e=this;setTimeout(function(){t(e).attr("class","m28-gauge--bar_fill")},125)})},n}),define("../src/sublayouts/m29-chart/m29-chart",["jquery","lib/utils","chart-config"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var i=this.$component.find("[data-chart-container]"),n=this.$component.data("series"),o=this.$component.data("y-axis-text"),s=this.$component.data("x-axis-categories").split(","),r=this.$component.data("tooltip-value-suffix"),a=e.isRTL(),l=this.$component.data("usagefor"),c=(this.$component.data("legend"),this.$component.data("label"),this.$component.data("labelstyle"),parseInt(this.$component.data("step"),10)||1),d=parseInt(this.$component.data("step-s"),10)||1,h={chart:{type:void 0!=this.$component.data("graph-type")?this.$component.data("graph-type"):"line"},title:{text:""},subtitle:{text:"",style:{display:"none"}},legend:{enabled:!1},plotOptions:{spline:{marker:{radius:4,lineColor:"#666666",lineWidth:1}},column:{dataLabels:{enabled:void 0!=this.$component.data("graph-type")?!0:!1,inside:!0}}},xAxis:{reversed:a,categories:s,labels:{autoRotation:!1,staggerLines:c}},yAxis:{visible:void 0!=this.$component.data("graph-type")?!1:!0,opposite:a,title:{text:o},plotLines:[{value:0,width:1,color:"#808080"}]},tooltip:{enabled:void 0!=this.$component.data("graph-type")?!1:!0,headerFormat:'<span style="font-size: 12px;font-weight:bold;">'+l+'</span><br><span style="color:{point.color}">●</span> {point.x} {series.name}: ',pointFormat:"<b>{point.y}</b>",valueSuffix:r,crosshairs:!0,useHTML:!0},series:n};"s"===e.breakpoint()&&(h.xAxis.labels.staggerLines=d),i.highcharts(h),this.$component.find(".m29-chart__legend--item").each(function(){t(this).find(".m29-chart__legend--item-icon").css("color",t(this).data("color"))})},i}),function(t,e,i){!function(){var n,o,s,r="2.2.3",a="datepicker",l=".datepicker-here",c=!1,d='<div class="datepicker"><i class="datepicker--pointer"></i><nav class="datepicker--nav"></nav><div class="datepicker--content"></div></div>',h={classes:"",inline:!1,language:"ru",startDate:new Date,firstDay:"",weekends:[6,0],dateFormat:"",altField:"",altFieldDateFormat:"@",toggleSelected:!0,keyboardNav:!0,position:"bottom left",offset:12,view:"days",minView:"days",showOtherMonths:!0,selectOtherMonths:!0,moveToOtherMonthsOnSelect:!0,showOtherYears:!0,selectOtherYears:!0,moveToOtherYearsOnSelect:!0,minDate:"",maxDate:"",disableNavWhenOutOfRange:!0,multipleDates:!1,multipleDatesSeparator:",",range:!1,todayButton:!1,clearButton:!1,showEvent:"focus",autoClose:!1,monthsField:"monthsShort",prevHtml:'<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>',nextHtml:'<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>',navTitles:{days:"MM, <i>yyyy</i>",months:"yyyy",years:"yyyy1 - yyyy2"},timepicker:!1,onlyTimepicker:!1,dateTimeSeparator:" ",timeFormat:"",minHours:0,maxHours:24,minMinutes:0,maxMinutes:59,hoursStep:1,minutesStep:1,onSelect:"",onShow:"",onHide:"",onChangeMonth:"",onChangeYear:"",onChangeDecade:"",onChangeView:"",onRenderCell:""},u={ctrlRight:[17,39],ctrlUp:[17,38],ctrlLeft:[17,37],ctrlDown:[17,40],shiftRight:[16,39],shiftUp:[16,38],shiftLeft:[16,37],shiftDown:[16,40],altUp:[18,38],altRight:[18,39],altLeft:[18,37],
altDown:[18,40],ctrlShiftUp:[16,17,38]},p=function(t,o){this.el=t,this.$el=e(t),this.opts=e.extend(!0,{},h,o,this.$el.data()),n==i&&(n=e("body")),this.opts.startDate||(this.opts.startDate=new Date),"INPUT"==this.el.nodeName&&(this.elIsInput=!0),this.opts.altField&&(this.$altField="string"==typeof this.opts.altField?e(this.opts.altField):this.opts.altField),this.inited=!1,this.visible=!1,this.silent=!1,this.currentDate=this.opts.startDate,this.currentView=this.opts.view,this._createShortCuts(),this.selectedDates=[],this.views={},this.keys=[],this.minRange="",this.maxRange="",this._prevOnSelectValue="",this.init()};s=p,s.prototype={VERSION:r,viewIndexes:["days","months","years"],init:function(){c||this.opts.inline||!this.elIsInput||this._buildDatepickersContainer(),this._buildBaseHtml(),this._defineLocale(this.opts.language),this._syncWithMinMaxDates(),this.elIsInput&&(this.opts.inline||(this._setPositionClasses(this.opts.position),this._bindEvents()),this.opts.keyboardNav&&!this.opts.onlyTimepicker&&this._bindKeyboardEvents(),this.$datepicker.on("mousedown",this._onMouseDownDatepicker.bind(this)),this.$datepicker.on("mouseup",this._onMouseUpDatepicker.bind(this))),this.opts.classes&&this.$datepicker.addClass(this.opts.classes),this.opts.timepicker&&(this.timepicker=new e.fn.datepicker.Timepicker(this,this.opts),this._bindTimepickerEvents()),this.opts.onlyTimepicker&&this.$datepicker.addClass("-only-timepicker-"),this.views[this.currentView]=new e.fn.datepicker.Body(this,this.currentView,this.opts),this.views[this.currentView].show(),this.nav=new e.fn.datepicker.Navigation(this,this.opts),this.view=this.currentView,this.$el.on("clickCell.adp",this._onClickCell.bind(this)),this.$datepicker.on("mouseenter",".datepicker--cell",this._onMouseEnterCell.bind(this)),this.$datepicker.on("mouseleave",".datepicker--cell",this._onMouseLeaveCell.bind(this)),this.inited=!0},_createShortCuts:function(){this.minDate=this.opts.minDate?this.opts.minDate:new Date(-86399999136e5),this.maxDate=this.opts.maxDate?this.opts.maxDate:new Date(86399999136e5)},_bindEvents:function(){this.$el.on(this.opts.showEvent+".adp",this._onShowEvent.bind(this)),this.$el.on("mouseup.adp",this._onMouseUpEl.bind(this)),this.$el.on("blur.adp",this._onBlur.bind(this)),this.$el.on("keyup.adp",this._onKeyUpGeneral.bind(this)),e(t).on("resize.adp",this._onResize.bind(this)),e("body").on("mouseup.adp",this._onMouseUpBody.bind(this))},_bindKeyboardEvents:function(){this.$el.on("keydown.adp",this._onKeyDown.bind(this)),this.$el.on("keyup.adp",this._onKeyUp.bind(this)),this.$el.on("hotKey.adp",this._onHotKey.bind(this))},_bindTimepickerEvents:function(){this.$el.on("timeChange.adp",this._onTimeChange.bind(this))},isWeekend:function(t){return-1!==this.opts.weekends.indexOf(t)},_defineLocale:function(t){"string"==typeof t?(this.loc=e.fn.datepicker.language[t],this.loc||(console.warn("Can't find language \""+t+'" in Datepicker.language, will use "ru" instead'),this.loc=e.extend(!0,{},e.fn.datepicker.language.ru)),this.loc=e.extend(!0,{},e.fn.datepicker.language.ru,e.fn.datepicker.language[t])):this.loc=e.extend(!0,{},e.fn.datepicker.language.ru,t),this.opts.dateFormat&&(this.loc.dateFormat=this.opts.dateFormat),this.opts.timeFormat&&(this.loc.timeFormat=this.opts.timeFormat),""!==this.opts.firstDay&&(this.loc.firstDay=this.opts.firstDay),this.opts.timepicker&&(this.loc.dateFormat=[this.loc.dateFormat,this.loc.timeFormat].join(this.opts.dateTimeSeparator)),this.opts.onlyTimepicker&&(this.loc.dateFormat=this.loc.timeFormat);var i=this._getWordBoundaryRegExp;(this.loc.timeFormat.match(i("aa"))||this.loc.timeFormat.match(i("AA")))&&(this.ampm=!0)},_buildDatepickersContainer:function(){c=!0,n.append('<div class="datepickers-container" id="datepickers-container"></div>'),o=e("#datepickers-container")},_buildBaseHtml:function(){var t,i=e('<div class="datepicker-inline">');t="INPUT"==this.el.nodeName?this.opts.inline?i.insertAfter(this.$el):o:i.appendTo(this.$el),this.$datepicker=e(d).appendTo(t),this.$content=e(".datepicker--content",this.$datepicker),this.$nav=e(".datepicker--nav",this.$datepicker)},_triggerOnChange:function(){if(!this.selectedDates.length){if(""===this._prevOnSelectValue)return;return this._prevOnSelectValue="",this.opts.onSelect("","",this)}var t,e=this.selectedDates,i=s.getParsedDate(e[0]),n=this,o=new Date(i.year,i.month,i.date,i.hours,i.minutes);t=e.map(function(t){return n.formatDate(n.loc.dateFormat,t)}).join(this.opts.multipleDatesSeparator),(this.opts.multipleDates||this.opts.range)&&(o=e.map(function(t){var e=s.getParsedDate(t);return new Date(e.year,e.month,e.date,e.hours,e.minutes)})),this._prevOnSelectValue=t,this.opts.onSelect(t,o,this)},next:function(){var t=this.parsedDate,e=this.opts;switch(this.view){case"days":this.date=new Date(t.year,t.month+1,1),e.onChangeMonth&&e.onChangeMonth(this.parsedDate.month,this.parsedDate.year);break;case"months":this.date=new Date(t.year+1,t.month,1),e.onChangeYear&&e.onChangeYear(this.parsedDate.year);break;case"years":this.date=new Date(t.year+10,0,1),e.onChangeDecade&&e.onChangeDecade(this.curDecade)}},prev:function(){var t=this.parsedDate,e=this.opts;switch(this.view){case"days":this.date=new Date(t.year,t.month-1,1),e.onChangeMonth&&e.onChangeMonth(this.parsedDate.month,this.parsedDate.year);break;case"months":this.date=new Date(t.year-1,t.month,1),e.onChangeYear&&e.onChangeYear(this.parsedDate.year);break;case"years":this.date=new Date(t.year-10,0,1),e.onChangeDecade&&e.onChangeDecade(this.curDecade)}},formatDate:function(t,e){e=e||this.date;var i,n=t,o=this._getWordBoundaryRegExp,r=this.loc,a=s.getLeadingZeroNum,l=s.getDecade(e),c=s.getParsedDate(e),d=c.fullHours,h=c.hours,u=t.match(o("aa"))||t.match(o("AA")),p="am",f=this._replacer;switch(this.opts.timepicker&&this.timepicker&&u&&(i=this.timepicker._getValidHoursFromDate(e,u),d=a(i.hours),h=i.hours,p=i.dayPeriod),!0){case/@/.test(n):n=n.replace(/@/,e.getTime());case/aa/.test(n):n=f(n,o("aa"),p);case/AA/.test(n):n=f(n,o("AA"),p.toUpperCase());case/dd/.test(n):n=f(n,o("dd"),c.fullDate);case/d/.test(n):n=f(n,o("d"),c.date);case/DD/.test(n):n=f(n,o("DD"),r.days[c.day]);case/D/.test(n):n=f(n,o("D"),r.daysShort[c.day]);case/mm/.test(n):n=f(n,o("mm"),c.fullMonth);case/m/.test(n):n=f(n,o("m"),c.month+1);case/MM/.test(n):n=f(n,o("MM"),this.loc.months[c.month]);case/M/.test(n):n=f(n,o("M"),r.monthsShort[c.month]);case/ii/.test(n):n=f(n,o("ii"),c.fullMinutes);case/i/.test(n):n=f(n,o("i"),c.minutes);case/hh/.test(n):n=f(n,o("hh"),d);case/h/.test(n):n=f(n,o("h"),h);case/yyyy/.test(n):n=f(n,o("yyyy"),c.year);case/yyyy1/.test(n):n=f(n,o("yyyy1"),l[0]);case/yyyy2/.test(n):n=f(n,o("yyyy2"),l[1]);case/yy/.test(n):n=f(n,o("yy"),c.year.toString().slice(-2))}return n},_replacer:function(t,e,i){return t.replace(e,function(t,e,n,o){return e+i+o})},_getWordBoundaryRegExp:function(t){var e="\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;";return new RegExp("(^|>|"+e+")("+t+")($|<|"+e+")","g")},selectDate:function(t){var e=this,i=e.opts,n=e.parsedDate,o=e.selectedDates,r=o.length,a="";if(Array.isArray(t))return void t.forEach(function(t){e.selectDate(t)});if(t instanceof Date){if(this.lastSelectedDate=t,this.timepicker&&this.timepicker._setTime(t),e._trigger("selectDate",t),this.timepicker&&(t.setHours(this.timepicker.hours),t.setMinutes(this.timepicker.minutes)),"days"==e.view&&t.getMonth()!=n.month&&i.moveToOtherMonthsOnSelect&&(a=new Date(t.getFullYear(),t.getMonth(),1)),"years"==e.view&&t.getFullYear()!=n.year&&i.moveToOtherYearsOnSelect&&(a=new Date(t.getFullYear(),0,1)),a&&(e.silent=!0,e.date=a,e.silent=!1,e.nav._render()),i.multipleDates&&!i.range){if(r===i.multipleDates)return;e._isSelected(t)||e.selectedDates.push(t)}else i.range?2==r?(e.selectedDates=[t],e.minRange=t,e.maxRange=""):1==r?(e.selectedDates.push(t),e.maxRange?e.minRange=t:e.maxRange=t,s.bigger(e.maxRange,e.minRange)&&(e.maxRange=e.minRange,e.minRange=t),e.selectedDates=[e.minRange,e.maxRange]):(e.selectedDates=[t],e.minRange=t):e.selectedDates=[t];e._setInputValue(),i.onSelect&&e._triggerOnChange(),i.autoClose&&!this.timepickerIsActive&&(i.multipleDates||i.range?i.range&&2==e.selectedDates.length&&e.hide():e.hide()),e.views[this.currentView]._render()}},removeDate:function(t){var e=this.selectedDates,i=this;if(t instanceof Date)return e.some(function(n,o){return s.isSame(n,t)?(e.splice(o,1),i.selectedDates.length?i.lastSelectedDate=i.selectedDates[i.selectedDates.length-1]:(i.minRange="",i.maxRange="",i.lastSelectedDate=""),i.views[i.currentView]._render(),i._setInputValue(),i.opts.onSelect&&i._triggerOnChange(),!0):void 0})},today:function(){this.silent=!0,this.view=this.opts.minView,this.silent=!1,this.date=new Date,this.opts.todayButton instanceof Date&&this.selectDate(this.opts.todayButton)},clear:function(){this.selectedDates=[],this.minRange="",this.maxRange="",this.views[this.currentView]._render(),this._setInputValue(),this.opts.onSelect&&this._triggerOnChange()},update:function(t,i){var n=arguments.length,o=this.lastSelectedDate;return 2==n?this.opts[t]=i:1==n&&"object"==typeof t&&(this.opts=e.extend(!0,this.opts,t)),this._createShortCuts(),this._syncWithMinMaxDates(),this._defineLocale(this.opts.language),this.nav._addButtonsIfNeed(),this.opts.onlyTimepicker||this.nav._render(),this.views[this.currentView]._render(),this.elIsInput&&!this.opts.inline&&(this._setPositionClasses(this.opts.position),this.visible&&this.setPosition(this.opts.position)),this.opts.classes&&this.$datepicker.addClass(this.opts.classes),this.opts.onlyTimepicker&&this.$datepicker.addClass("-only-timepicker-"),this.opts.timepicker&&(o&&this.timepicker._handleDate(o),this.timepicker._updateRanges(),this.timepicker._updateCurrentTime(),o&&(o.setHours(this.timepicker.hours),o.setMinutes(this.timepicker.minutes))),this._setInputValue(),this},_syncWithMinMaxDates:function(){var t=this.date.getTime();this.silent=!0,this.minTime>t&&(this.date=this.minDate),this.maxTime<t&&(this.date=this.maxDate),this.silent=!1},_isSelected:function(t,e){var i=!1;return this.selectedDates.some(function(n){return s.isSame(n,t,e)?(i=n,!0):void 0}),i},_setInputValue:function(){var t,e=this,i=e.opts,n=e.loc.dateFormat,o=i.altFieldDateFormat,s=e.selectedDates.map(function(t){return e.formatDate(n,t)});i.altField&&e.$altField.length&&(t=this.selectedDates.map(function(t){return e.formatDate(o,t)}),t=t.join(this.opts.multipleDatesSeparator),this.$altField.val(t)),s=s.join(this.opts.multipleDatesSeparator),this.$el.val(s)},_isInRange:function(t,e){var i=t.getTime(),n=s.getParsedDate(t),o=s.getParsedDate(this.minDate),r=s.getParsedDate(this.maxDate),a=new Date(n.year,n.month,o.date).getTime(),l=new Date(n.year,n.month,r.date).getTime(),c={day:i>=this.minTime&&i<=this.maxTime,month:a>=this.minTime&&l<=this.maxTime,year:n.year>=o.year&&n.year<=r.year};return e?c[e]:c.day},_getDimensions:function(t){var e=t.offset();return{width:t.outerWidth(),height:t.outerHeight(),left:e.left,top:e.top}},_getDateFromCell:function(t){var e=this.parsedDate,n=t.data("year")||e.year,o=t.data("month")==i?e.month:t.data("month"),s=t.data("date")||1;return new Date(n,o,s)},_setPositionClasses:function(t){t=t.split(" ");var e=t[0],i=t[1],n="datepicker -"+e+"-"+i+"- -from-"+e+"-";this.visible&&(n+=" active"),this.$datepicker.removeAttr("class").addClass(n)},setPosition:function(t){t=t||this.opts.position;var i,n,o=this._getDimensions(this.$el),s=this._getDimensions(this.$datepicker),r=t.split(" "),a=this.opts.offset,l=r[0],c=r[1];switch(l){case"top":i=o.top-s.height-a;break;case"right":n=o.left+o.width+a;break;case"bottom":i=o.top+o.height+a;break;case"left":n=o.left-s.width-a}switch(c){case"top":i=o.top;break;case"right":n=o.left+o.width-s.width;break;case"bottom":i=o.top+o.height-s.height;break;case"left":n=o.left;break;case"center":/left|right/.test(l)?i=o.top+o.height/2-s.height/2:n=o.left+o.width/2-s.width/2}"rtl"==e("html").attr("dir")?this.$datepicker.css({left:n,top:i,right:"auto"}):this.$datepicker.css({left:n,top:i})},show:function(){var t=this.opts.onShow;this.setPosition(this.opts.position),this.$datepicker.addClass("active"),this.visible=!0,t&&this._bindVisionEvents(t)},hide:function(){var t=this.opts.onHide;"rtl"==e("html").attr("dir")?this.$datepicker.removeClass("active").css({right:"-100000px"}):this.$datepicker.removeClass("active").css({left:"-100000px"}),this.focused="",this.keys=[],this.inFocus=!1,this.visible=!1,this.$el.blur(),t&&this._bindVisionEvents(t)},down:function(t){this._changeView(t,"down")},up:function(t){this._changeView(t,"up")},_bindVisionEvents:function(t){this.$datepicker.off("transitionend.dp"),t(this,!1),this.$datepicker.one("transitionend.dp",t.bind(this,this,!0))},_changeView:function(t,e){t=t||this.focused||this.date;var i="up"==e?this.viewIndex+1:this.viewIndex-1;i>2&&(i=2),0>i&&(i=0),this.silent=!0,this.date=new Date(t.getFullYear(),t.getMonth(),1),this.silent=!1,this.view=this.viewIndexes[i]},_handleHotKey:function(t){var e,i,n,o=s.getParsedDate(this._getFocusedDate()),r=this.opts,a=!1,l=!1,c=!1,d=o.year,h=o.month,u=o.date;switch(t){case"ctrlRight":case"ctrlUp":h+=1,a=!0;break;case"ctrlLeft":case"ctrlDown":h-=1,a=!0;break;case"shiftRight":case"shiftUp":l=!0,d+=1;break;case"shiftLeft":case"shiftDown":l=!0,d-=1;break;case"altRight":case"altUp":c=!0,d+=10;break;case"altLeft":case"altDown":c=!0,d-=10;break;case"ctrlShiftUp":this.up()}n=s.getDaysCount(new Date(d,h)),i=new Date(d,h,u),u>n&&(u=n),i.getTime()<this.minTime?i=this.minDate:i.getTime()>this.maxTime&&(i=this.maxDate),this.focused=i,e=s.getParsedDate(i),a&&r.onChangeMonth&&r.onChangeMonth(e.month,e.year),l&&r.onChangeYear&&r.onChangeYear(e.year),c&&r.onChangeDecade&&r.onChangeDecade(this.curDecade)},_registerKey:function(t){var e=this.keys.some(function(e){return e==t});e||this.keys.push(t)},_unRegisterKey:function(t){var e=this.keys.indexOf(t);this.keys.splice(e,1)},_isHotKeyPressed:function(){var t,e=!1,i=this,n=this.keys.sort();for(var o in u)t=u[o],n.length==t.length&&t.every(function(t,e){return t==n[e]})&&(i._trigger("hotKey",o),e=!0);return e},_trigger:function(t,e){this.$el.trigger(t,e)},_focusNextCell:function(t,e){e=e||this.cellType;var i=s.getParsedDate(this._getFocusedDate()),n=i.year,o=i.month,r=i.date;if(!this._isHotKeyPressed()){switch(t){case 37:"day"==e?r-=1:"","month"==e?o-=1:"","year"==e?n-=1:"";break;case 38:"day"==e?r-=7:"","month"==e?o-=3:"","year"==e?n-=4:"";break;case 39:"day"==e?r+=1:"","month"==e?o+=1:"","year"==e?n+=1:"";break;case 40:"day"==e?r+=7:"","month"==e?o+=3:"","year"==e?n+=4:""}var a=new Date(n,o,r);a.getTime()<this.minTime?a=this.minDate:a.getTime()>this.maxTime&&(a=this.maxDate),this.focused=a}},_getFocusedDate:function(){var t=this.focused||this.selectedDates[this.selectedDates.length-1],e=this.parsedDate;if(!t)switch(this.view){case"days":t=new Date(e.year,e.month,(new Date).getDate());break;case"months":t=new Date(e.year,e.month,1);break;case"years":t=new Date(e.year,0,1)}return t},_getCell:function(t,i){i=i||this.cellType;var n,o=s.getParsedDate(t),r='.datepicker--cell[data-year="'+o.year+'"]';switch(i){case"month":r='[data-month="'+o.month+'"]';break;case"day":r+='[data-month="'+o.month+'"][data-date="'+o.date+'"]'}return n=this.views[this.currentView].$el.find(r),n.length?n:e("")},destroy:function(){var t=this;t.$el.off(".adp").data("datepicker",""),t.selectedDates=[],t.focused="",t.views={},t.keys=[],t.minRange="",t.maxRange="",t.opts.inline||!t.elIsInput?t.$datepicker.closest(".datepicker-inline").remove():t.$datepicker.remove()},_handleAlreadySelectedDates:function(t,e){this.opts.range?this.opts.toggleSelected?this.removeDate(e):2!=this.selectedDates.length&&this._trigger("clickCell",e):this.opts.toggleSelected&&this.removeDate(e),this.opts.toggleSelected||(this.lastSelectedDate=t,this.opts.timepicker&&(this.timepicker._setTime(t),this.timepicker.update()))},_onShowEvent:function(t){this.visible||this.show()},_onBlur:function(){!this.inFocus&&this.visible&&this.hide()},_onMouseDownDatepicker:function(t){this.inFocus=!0},_onMouseUpDatepicker:function(t){this.inFocus=!1,t.originalEvent.inFocus=!0,t.originalEvent.timepickerFocus||this.$el.focus()},_onKeyUpGeneral:function(t){var e=this.$el.val();e||this.clear()},_onResize:function(){this.visible&&this.setPosition()},_onMouseUpBody:function(t){t.originalEvent.inFocus||this.visible&&!this.inFocus&&this.hide()},_onMouseUpEl:function(t){t.originalEvent.inFocus=!0,setTimeout(this._onKeyUpGeneral.bind(this),4)},_onKeyDown:function(t){var e=t.which;if(this._registerKey(e),e>=37&&40>=e&&(t.preventDefault(),this._focusNextCell(e)),13==e&&this.focused){if(this._getCell(this.focused).hasClass("-disabled-"))return;if(this.view!=this.opts.minView)this.down();else{var i=this._isSelected(this.focused,this.cellType);if(!i)return this.timepicker&&(this.focused.setHours(this.timepicker.hours),this.focused.setMinutes(this.timepicker.minutes)),void this.selectDate(this.focused);this._handleAlreadySelectedDates(i,this.focused)}}27==e&&this.hide()},_onKeyUp:function(t){var e=t.which;this._unRegisterKey(e)},_onHotKey:function(t,e){this._handleHotKey(e)},_onMouseEnterCell:function(t){var i=e(t.target).closest(".datepicker--cell"),n=this._getDateFromCell(i);this.silent=!0,this.focused&&(this.focused=""),i.addClass("-focus-"),this.focused=n,this.silent=!1,this.opts.range&&1==this.selectedDates.length&&(this.minRange=this.selectedDates[0],this.maxRange="",s.less(this.minRange,this.focused)&&(this.maxRange=this.minRange,this.minRange=""),this.views[this.currentView]._update())},_onMouseLeaveCell:function(t){var i=e(t.target).closest(".datepicker--cell");i.removeClass("-focus-"),this.silent=!0,this.focused="",this.silent=!1},_onTimeChange:function(t,e,i){var n=new Date,o=this.selectedDates,s=!1;o.length&&(s=!0,n=this.lastSelectedDate),n.setHours(e),n.setMinutes(i),s||this._getCell(n).hasClass("-disabled-")?(this._setInputValue(),this.opts.onSelect&&this._triggerOnChange()):this.selectDate(n)},_onClickCell:function(t,e){this.timepicker&&(e.setHours(this.timepicker.hours),e.setMinutes(this.timepicker.minutes)),this.selectDate(e)},set focused(t){if(!t&&this.focused){var e=this._getCell(this.focused);e.length&&e.removeClass("-focus-")}this._focused=t,this.opts.range&&1==this.selectedDates.length&&(this.minRange=this.selectedDates[0],this.maxRange="",s.less(this.minRange,this._focused)&&(this.maxRange=this.minRange,this.minRange="")),this.silent||(this.date=t)},get focused(){return this._focused},get parsedDate(){return s.getParsedDate(this.date)},set date(t){return t instanceof Date?(this.currentDate=t,this.inited&&!this.silent&&(this.views[this.view]._render(),this.nav._render(),this.visible&&this.elIsInput&&this.setPosition()),t):void 0},get date(){return this.currentDate},set view(t){return this.viewIndex=this.viewIndexes.indexOf(t),this.viewIndex<0?void 0:(this.prevView=this.currentView,this.currentView=t,this.inited&&(this.views[t]?this.views[t]._render():this.views[t]=new e.fn.datepicker.Body(this,t,this.opts),this.views[this.prevView].hide(),this.views[t].show(),this.nav._render(),this.opts.onChangeView&&this.opts.onChangeView(t),this.elIsInput&&this.visible&&this.setPosition()),t)},get view(){return this.currentView},get cellType(){return this.view.substring(0,this.view.length-1)},get minTime(){var t=s.getParsedDate(this.minDate);return new Date(t.year,t.month,t.date).getTime()},get maxTime(){var t=s.getParsedDate(this.maxDate);return new Date(t.year,t.month,t.date).getTime()},get curDecade(){return s.getDecade(this.date)}},s.getDaysCount=function(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()},s.getParsedDate=function(t){return{year:t.getFullYear(),month:t.getMonth(),fullMonth:t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,date:t.getDate(),fullDate:t.getDate()<10?"0"+t.getDate():t.getDate(),day:t.getDay(),hours:t.getHours(),fullHours:t.getHours()<10?"0"+t.getHours():t.getHours(),minutes:t.getMinutes(),fullMinutes:t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes()}},s.getDecade=function(t){var e=10*Math.floor(t.getFullYear()/10);return[e,e+9]},s.template=function(t,e){return t.replace(/#\{([\w]+)\}/g,function(t,i){return e[i]||0===e[i]?e[i]:void 0})},s.isSame=function(t,e,i){if(!t||!e)return!1;var n=s.getParsedDate(t),o=s.getParsedDate(e),r=i?i:"day",a={day:n.date==o.date&&n.month==o.month&&n.year==o.year,month:n.month==o.month&&n.year==o.year,year:n.year==o.year};return a[r]},s.less=function(t,e,i){return t&&e?e.getTime()<t.getTime():!1},s.bigger=function(t,e,i){return t&&e?e.getTime()>t.getTime():!1},s.getLeadingZeroNum=function(t){return parseInt(t)<10?"0"+t:t},s.resetTime=function(t){return"object"==typeof t?(t=s.getParsedDate(t),new Date(t.year,t.month,t.date)):void 0},e.fn.datepicker=function(t){return this.each(function(){if(e.data(this,a)){var i=e.data(this,a);i.opts=e.extend(!0,i.opts,t),i.update()}else e.data(this,a,new p(this,t))})},e.fn.datepicker.Constructor=p,e.fn.datepicker.language={ru:{days:["Ð’Ð¾ÑÐºÑ€ÐµÑÐµÐ½ÑŒÐµ","ÐŸÐ¾Ð½ÐµÐ´ÐµÐ»ÑŒÐ½Ð¸Ðº","Ð’Ñ‚Ð¾Ñ€Ð½Ð¸Ðº","Ð¡Ñ€ÐµÐ´Ð°","Ð§ÐµÑ‚Ð²ÐµÑ€Ð³","ÐŸÑÑ‚Ð½Ð¸Ñ†Ð°","Ð¡ÑƒÐ±Ð±Ð¾Ñ‚Ð°"],daysShort:["Ð’Ð¾Ñ","ÐŸÐ¾Ð½","Ð’Ñ‚Ð¾","Ð¡Ñ€Ðµ","Ð§ÐµÑ‚","ÐŸÑÑ‚","Ð¡ÑƒÐ±"],daysMin:["Ð’Ñ","ÐŸÐ½","Ð’Ñ‚","Ð¡Ñ€","Ð§Ñ‚","ÐŸÑ‚","Ð¡Ð±"],months:["Ð¯Ð½Ð²Ð°Ñ€ÑŒ","Ð¤ÐµÐ²Ñ€Ð°Ð»ÑŒ","ÐœÐ°Ñ€Ñ‚","ÐÐ¿Ñ€ÐµÐ»ÑŒ","ÐœÐ°Ð¹","Ð˜ÑŽÐ½ÑŒ","Ð˜ÑŽÐ»ÑŒ","ÐÐ²Ð³ÑƒÑÑ‚","Ð¡ÐµÐ½Ñ‚ÑÐ±Ñ€ÑŒ","ÐžÐºÑ‚ÑÐ±Ñ€ÑŒ","ÐÐ¾ÑÐ±Ñ€ÑŒ","Ð”ÐµÐºÐ°Ð±Ñ€ÑŒ"],monthsShort:["Ð¯Ð½Ð²","Ð¤ÐµÐ²","ÐœÐ°Ñ€","ÐÐ¿Ñ€","ÐœÐ°Ð¹","Ð˜ÑŽÐ½","Ð˜ÑŽÐ»","ÐÐ²Ð³","Ð¡ÐµÐ½","ÐžÐºÑ‚","ÐÐ¾Ñ","Ð”ÐµÐº"],today:"Ð¡ÐµÐ³Ð¾Ð´Ð½Ñ",clear:"ÐžÑ‡Ð¸ÑÑ‚Ð¸Ñ‚ÑŒ",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1},en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",dateFormat:"mm/dd/yyyy",timeFormat:"hh:ii aa",firstDay:0},ar:{days:["Ø§Ù„Ø£Ø­Ø¯","Ø§Ù„Ø¥Ø«Ù†ÙŠÙ†","Ø§Ù„Ø«Ù„Ø§Ø«Ø§Ø¡","Ø§Ù„Ø£Ø±Ø¨Ø¹Ø§Ø¡","Ø§Ù„Ø®Ù…ÙŠØ³","Ø§Ù„Ø¬Ù…Ø¹Ø©","Ø§Ù„Ø³Ø¨Øª"],daysShort:["Ø§Ù„Ø£Ø­Ø¯","Ø§Ù„Ø¥Ø«Ù†ÙŠÙ†","Ø§Ù„Ø«Ù„Ø§Ø«Ø§Ø¡","Ø§Ù„Ø£Ø±Ø¨Ø¹Ø§Ø¡","Ø§Ù„Ø®Ù…ÙŠØ³","Ø§Ù„Ø¬Ù…Ø¹Ø©","Ø§Ù„Ø³Ø¨Øª"],daysMin:["Ø§Ù„Ø£Ø­Ø¯","Ø§Ù„Ø¥Ø«Ù†ÙŠÙ†","Ø§Ù„Ø«Ù„Ø§Ø«Ø§Ø¡","Ø§Ù„Ø£Ø±Ø¨Ø¹Ø§Ø¡","Ø§Ù„Ø®Ù…ÙŠØ³","Ø§Ù„Ø¬Ù…Ø¹Ø©","Ø§Ù„Ø³Ø¨Øª"],months:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthsShort:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],today:"Ø§Ù„ÙŠÙˆÙ…",clear:"Ù…Ø³Ø­",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1}},e(function(){e(l).datepicker()})}(),function(){var t={days:'<div class="datepicker--days datepicker--body"><div class="datepicker--days-names"></div><div class="datepicker--cells datepicker--cells-days"></div></div>',months:'<div class="datepicker--months datepicker--body"><div class="datepicker--cells datepicker--cells-months"></div></div>',years:'<div class="datepicker--years datepicker--body"><div class="datepicker--cells datepicker--cells-years"></div></div>'},n=e.fn.datepicker,o=n.Constructor;n.Body=function(t,i,n){this.d=t,this.type=i,this.opts=n,this.$el=e(""),this.opts.onlyTimepicker||this.init()},n.Body.prototype={init:function(){this._buildBaseHtml(),this._render(),this._bindEvents()},_bindEvents:function(){this.$el.on("click",".datepicker--cell",e.proxy(this._onClickCell,this))},_buildBaseHtml:function(){this.$el=e(t[this.type]).appendTo(this.d.$content),this.$names=e(".datepicker--days-names",this.$el),this.$cells=e(".datepicker--cells",this.$el)},_getDayNamesHtml:function(t,e,n,o){return e=e!=i?e:t,n=n?n:"",o=o!=i?o:0,o>7?n:7==e?this._getDayNamesHtml(t,0,n,++o):(n+='<div class="datepicker--day-name'+(this.d.isWeekend(e)?" -weekend-":"")+'">'+this.d.loc.daysMin[e]+"</div>",this._getDayNamesHtml(t,++e,n,++o))},_getCellContents:function(t,e){var i="datepicker--cell datepicker--cell-"+e,n=new Date,s=this.d,r=o.resetTime(s.minRange),a=o.resetTime(s.maxRange),l=s.opts,c=o.getParsedDate(t),d={},h=c.date;switch(e){case"day":s.isWeekend(c.day)&&(i+=" -weekend-"),c.month!=this.d.parsedDate.month&&(i+=" -other-month-",l.selectOtherMonths||(i+=" -disabled-"),l.showOtherMonths||(h=""));break;case"month":h=s.loc[s.opts.monthsField][c.month];break;case"year":var u=s.curDecade;h=c.year,(c.year<u[0]||c.year>u[1])&&(i+=" -other-decade-",l.selectOtherYears||(i+=" -disabled-"),l.showOtherYears||(h=""))}return l.onRenderCell&&(d=l.onRenderCell(t,e)||{},h=d.html?d.html:h,i+=d.classes?" "+d.classes:""),l.range&&(o.isSame(r,t,e)&&(i+=" -range-from-"),o.isSame(a,t,e)&&(i+=" -range-to-"),1==s.selectedDates.length&&s.focused?((o.bigger(r,t)&&o.less(s.focused,t)||o.less(a,t)&&o.bigger(s.focused,t))&&(i+=" -in-range-"),o.less(a,t)&&o.isSame(s.focused,t)&&(i+=" -range-from-"),o.bigger(r,t)&&o.isSame(s.focused,t)&&(i+=" -range-to-")):2==s.selectedDates.length&&o.bigger(r,t)&&o.less(a,t)&&(i+=" -in-range-")),o.isSame(n,t,e)&&(i+=" -current-"),s.focused&&o.isSame(t,s.focused,e)&&(i+=" -focus-"),s._isSelected(t,e)&&(i+=" -selected-"),(!s._isInRange(t,e)||d.disabled)&&(i+=" -disabled-"),{html:h,classes:i}},_getDaysHtml:function(t){var e=o.getDaysCount(t),i=new Date(t.getFullYear(),t.getMonth(),1).getDay(),n=new Date(t.getFullYear(),t.getMonth(),e).getDay(),s=i-this.d.loc.firstDay,r=6-n+this.d.loc.firstDay;s=0>s?s+7:s,r=r>6?r-7:r;for(var a,l,c=-s+1,d="",h=c,u=e+r;u>=h;h++)l=t.getFullYear(),a=t.getMonth(),d+=this._getDayHtml(new Date(l,a,h));return d},_getDayHtml:function(t){var e=this._getCellContents(t,"day");return'<div class="'+e.classes+'" data-date="'+t.getDate()+'" data-month="'+t.getMonth()+'" data-year="'+t.getFullYear()+'">'+e.html+"</div>"},_getMonthsHtml:function(t){for(var e="",i=o.getParsedDate(t),n=0;12>n;)e+=this._getMonthHtml(new Date(i.year,n)),n++;return e},_getMonthHtml:function(t){var e=this._getCellContents(t,"month");return'<div class="'+e.classes+'" data-month="'+t.getMonth()+'">'+e.html+"</div>"},_getYearsHtml:function(t){var e=(o.getParsedDate(t),o.getDecade(t)),i=e[0]-1,n="",s=i;for(s;s<=e[1]+1;s++)n+=this._getYearHtml(new Date(s,0));return n},_getYearHtml:function(t){var e=this._getCellContents(t,"year");return'<div class="'+e.classes+'" data-year="'+t.getFullYear()+'">'+e.html+"</div>"},_renderTypes:{days:function(){var t=this._getDayNamesHtml(this.d.loc.firstDay),e=this._getDaysHtml(this.d.currentDate);this.$cells.html(e),this.$names.html(t)},months:function(){var t=this._getMonthsHtml(this.d.currentDate);this.$cells.html(t)},years:function(){var t=this._getYearsHtml(this.d.currentDate);this.$cells.html(t)}},_render:function(){this.opts.onlyTimepicker||this._renderTypes[this.type].bind(this)()},_update:function(){var t,i,n,o=e(".datepicker--cell",this.$cells),s=this;o.each(function(o,r){i=e(this),n=s.d._getDateFromCell(e(this)),t=s._getCellContents(n,s.d.cellType),i.attr("class",t.classes)})},show:function(){this.opts.onlyTimepicker||(this.$el.addClass("active"),this.acitve=!0)},hide:function(){this.$el.removeClass("active"),this.active=!1},_handleClick:function(t){var e=t.data("date")||1,i=t.data("month")||0,n=t.data("year")||this.d.parsedDate.year,o=this.d;if(o.view!=this.opts.minView)return void o.down(new Date(n,i,e));var s=new Date(n,i,e),r=this.d._isSelected(s,this.d.cellType);return r?void o._handleAlreadySelectedDates.bind(o,r,s)():void o._trigger("clickCell",s)},_onClickCell:function(t){var i=e(t.target).closest(".datepicker--cell");i.hasClass("-disabled-")||this._handleClick.bind(this)(i)}}}(),function(){var t='<div class="datepicker--nav-action" data-action="prev">#{prevHtml}</div><div class="datepicker--nav-title">#{title}</div><div class="datepicker--nav-action" data-action="next">#{nextHtml}</div>',i='<div class="datepicker--buttons"></div>',n='<span class="datepicker--button" data-action="#{action}">#{label}</span>',o=e.fn.datepicker,s=o.Constructor;o.Navigation=function(t,e){this.d=t,this.opts=e,this.$buttonsContainer="",this.init()},o.Navigation.prototype={init:function(){this._buildBaseHtml(),this._bindEvents()},_bindEvents:function(){this.d.$nav.on("click",".datepicker--nav-action",e.proxy(this._onClickNavButton,this)),this.d.$nav.on("click",".datepicker--nav-title",e.proxy(this._onClickNavTitle,this)),this.d.$datepicker.on("click",".datepicker--button",e.proxy(this._onClickNavButton,this))},_buildBaseHtml:function(){this.opts.onlyTimepicker||this._render(),this._addButtonsIfNeed()},_addButtonsIfNeed:function(){this.opts.todayButton&&this._addButton("today"),this.opts.clearButton&&this._addButton("clear")},_render:function(){var i=this._getTitle(this.d.currentDate),n=s.template(t,e.extend({title:i},this.opts));this.d.$nav.html(n),"years"==this.d.view&&e(".datepicker--nav-title",this.d.$nav).addClass("-disabled-"),this.setNavStatus()},_getTitle:function(t){return this.d.formatDate(this.opts.navTitles[this.d.view],t)},_addButton:function(t){this.$buttonsContainer.length||this._addButtonsContainer();var i={action:t,label:this.d.loc[t]},o=s.template(n,i);e("[data-action="+t+"]",this.$buttonsContainer).length||this.$buttonsContainer.append(o)},_addButtonsContainer:function(){this.d.$datepicker.append(i),this.$buttonsContainer=e(".datepicker--buttons",this.d.$datepicker)},setNavStatus:function(){if((this.opts.minDate||this.opts.maxDate)&&this.opts.disableNavWhenOutOfRange){var t=this.d.parsedDate,e=t.month,i=t.year,n=t.date;switch(this.d.view){case"days":this.d._isInRange(new Date(i,e-1,1),"month")||this._disableNav("prev"),this.d._isInRange(new Date(i,e+1,1),"month")||this._disableNav("next");break;case"months":this.d._isInRange(new Date(i-1,e,n),"year")||this._disableNav("prev"),this.d._isInRange(new Date(i+1,e,n),"year")||this._disableNav("next");break;case"years":var o=s.getDecade(this.d.date);this.d._isInRange(new Date(o[0]-1,0,1),"year")||this._disableNav("prev"),this.d._isInRange(new Date(o[1]+1,0,1),"year")||this._disableNav("next")}}},_disableNav:function(t){e('[data-action="'+t+'"]',this.d.$nav).addClass("-disabled-")},_activateNav:function(t){e('[data-action="'+t+'"]',this.d.$nav).removeClass("-disabled-")},_onClickNavButton:function(t){var i=e(t.target).closest("[data-action]"),n=i.data("action");this.d[n]()},_onClickNavTitle:function(t){return e(t.target).hasClass("-disabled-")?void 0:"days"==this.d.view?this.d.view="months":void(this.d.view="years")}}}(),function(){var t='<div class="datepicker--time"><div class="datepicker--time-current">   <span class="datepicker--time-current-hours">#{hourVisible}</span>   <span class="datepicker--time-current-colon">:</span>   <span class="datepicker--time-current-minutes">#{minValue}</span></div><div class="datepicker--time-sliders">   <div class="datepicker--time-row">      <input type="range" name="hours" value="#{hourValue}" min="#{hourMin}" max="#{hourMax}" step="#{hourStep}"/>   </div>   <div class="datepicker--time-row">      <input type="range" name="minutes" value="#{minValue}" min="#{minMin}" max="#{minMax}" step="#{minStep}"/>   </div></div></div>',i=e.fn.datepicker,n=i.Constructor;i.Timepicker=function(t,e){this.d=t,this.opts=e,this.init()},i.Timepicker.prototype={init:function(){var t="input";this._setTime(this.d.date),this._buildHTML(),navigator.userAgent.match(/trident/gi)&&(t="change"),this.d.$el.on("selectDate",this._onSelectDate.bind(this)),this.$ranges.on(t,this._onChangeRange.bind(this)),this.$ranges.on("mouseup",this._onMouseUpRange.bind(this)),this.$ranges.on("mousemove focus ",this._onMouseEnterRange.bind(this)),this.$ranges.on("mouseout blur",this._onMouseOutRange.bind(this))},_setTime:function(t){var e=n.getParsedDate(t);this._handleDate(t),this.hours=e.hours<this.minHours?this.minHours:e.hours,this.minutes=e.minutes<this.minMinutes?this.minMinutes:e.minutes},_setMinTimeFromDate:function(t){this.minHours=t.getHours(),this.minMinutes=t.getMinutes(),this.d.lastSelectedDate&&this.d.lastSelectedDate.getHours()>t.getHours()&&(this.minMinutes=this.opts.minMinutes);
},_setMaxTimeFromDate:function(t){this.maxHours=t.getHours(),this.maxMinutes=t.getMinutes(),this.d.lastSelectedDate&&this.d.lastSelectedDate.getHours()<t.getHours()&&(this.maxMinutes=this.opts.maxMinutes)},_setDefaultMinMaxTime:function(){var t=23,e=59,i=this.opts;this.minHours=i.minHours<0||i.minHours>t?0:i.minHours,this.minMinutes=i.minMinutes<0||i.minMinutes>e?0:i.minMinutes,this.maxHours=i.maxHours<0||i.maxHours>t?t:i.maxHours,this.maxMinutes=i.maxMinutes<0||i.maxMinutes>e?e:i.maxMinutes},_validateHoursMinutes:function(t){this.hours<this.minHours?this.hours=this.minHours:this.hours>this.maxHours&&(this.hours=this.maxHours),this.minutes<this.minMinutes?this.minutes=this.minMinutes:this.minutes>this.maxMinutes&&(this.minutes=this.maxMinutes)},_buildHTML:function(){var i=n.getLeadingZeroNum,o={hourMin:this.minHours,hourMax:i(this.maxHours),hourStep:this.opts.hoursStep,hourValue:this.hours,hourVisible:i(this.displayHours),minMin:this.minMinutes,minMax:i(this.maxMinutes),minStep:this.opts.minutesStep,minValue:i(this.minutes)},s=n.template(t,o);this.$timepicker=e(s).appendTo(this.d.$datepicker),this.$ranges=e('[type="range"]',this.$timepicker),this.$hours=e('[name="hours"]',this.$timepicker),this.$minutes=e('[name="minutes"]',this.$timepicker),this.$hoursText=e(".datepicker--time-current-hours",this.$timepicker),this.$minutesText=e(".datepicker--time-current-minutes",this.$timepicker),this.d.ampm&&(this.$ampm=e('<span class="datepicker--time-current-ampm">').appendTo(e(".datepicker--time-current",this.$timepicker)).html(this.dayPeriod),this.$timepicker.addClass("-am-pm-"))},_updateCurrentTime:function(){var t=n.getLeadingZeroNum(this.displayHours),e=n.getLeadingZeroNum(this.minutes);this.$hoursText.html(t),this.$minutesText.html(e),this.d.ampm&&this.$ampm.html(this.dayPeriod)},_updateRanges:function(){this.$hours.attr({min:this.minHours,max:this.maxHours}).val(this.hours),this.$minutes.attr({min:this.minMinutes,max:this.maxMinutes}).val(this.minutes)},_handleDate:function(t){this._setDefaultMinMaxTime(),t&&(n.isSame(t,this.d.opts.minDate)?this._setMinTimeFromDate(this.d.opts.minDate):n.isSame(t,this.d.opts.maxDate)&&this._setMaxTimeFromDate(this.d.opts.maxDate)),this._validateHoursMinutes(t)},update:function(){this._updateRanges(),this._updateCurrentTime()},_getValidHoursFromDate:function(t,e){var i=t,o=t;t instanceof Date&&(i=n.getParsedDate(t),o=i.hours);var s=e||this.d.ampm,r="am";if(s)switch(!0){case 0==o:o=12;break;case 12==o:r="pm";break;case o>11:o-=12,r="pm"}return{hours:o,dayPeriod:r}},set hours(t){this._hours=t;var e=this._getValidHoursFromDate(t);this.displayHours=e.hours,this.dayPeriod=e.dayPeriod},get hours(){return this._hours},_onChangeRange:function(t){var i=e(t.target),n=i.attr("name");this.d.timepickerIsActive=!0,this[n]=i.val(),this._updateCurrentTime(),this.d._trigger("timeChange",[this.hours,this.minutes]),this._handleDate(this.d.lastSelectedDate),this.update()},_onSelectDate:function(t,e){this._handleDate(e),this.update()},_onMouseEnterRange:function(t){var i=e(t.target).attr("name");e(".datepicker--time-current-"+i,this.$timepicker).addClass("-focus-")},_onMouseOutRange:function(t){var i=e(t.target).attr("name");this.d.inFocus||e(".datepicker--time-current-"+i,this.$timepicker).removeClass("-focus-")},_onMouseUpRange:function(t){this.d.timepickerIsActive=!1}}}()}(window,jQuery),define("vendor/jquery.monthpicker",function(){}),function(t){"object"==typeof module&&module.exports?(t["default"]=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}t=t?t._modules:{},e(t,"Extensions/FullScreen.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Utilities.js"]],function(t,e,i,n){var o=n.addEvent,s=n.fireEvent;return n=function(){function t(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return t.prototype.close=function(){var t=this,e=t.chart,i=e.options.chart;s(e,"fullscreenClose",null,function(){t.isOpen&&t.browserProps&&e.container.ownerDocument instanceof Document&&e.container.ownerDocument[t.browserProps.exitFullscreen](),t.unbindFullscreenEvent&&(t.unbindFullscreenEvent=t.unbindFullscreenEvent()),e.setSize(t.origWidth,t.origHeight,!1),t.origWidth=void 0,t.origHeight=void 0,i.width=t.origWidthOption,i.height=t.origHeightOption,t.origWidthOption=void 0,t.origHeightOption=void 0,t.isOpen=!1,t.setButtonText()})},t.prototype.open=function(){var t=this,e=t.chart,i=e.options.chart;s(e,"fullscreenOpen",null,function(){if(i&&(t.origWidthOption=i.width,t.origHeightOption=i.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){var n=o(e.container.ownerDocument,t.browserProps.fullscreenChange,function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())}),s=o(e,"destroy",n);t.unbindFullscreenEvent=function(){n(),s()};var r=e.renderTo[t.browserProps.requestFullscreen]();r&&r["catch"](function(){alert("Full screen is not supported inside a frame.")})}})},t.prototype.setButtonText=function(){var t=this.chart,e=t.exportDivElements,n=t.options.exporting,o=n&&n.buttons&&n.buttons.contextButton.menuItems;t=t.options.lang,n&&n.menuItemDefinitions&&t&&t.exitFullscreen&&t.viewFullscreen&&o&&e&&(e=e[o.indexOf("viewFullscreen")])&&i.setElementHTML(e,this.isOpen?t.exitFullscreen:n.menuItemDefinitions.viewFullscreen.text||t.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}(),e.Fullscreen=n,o(t,"beforeRender",function(){this.fullscreen=new e.Fullscreen(this)}),e.Fullscreen}),e(t,"Core/Chart/ChartNavigationComposition.js",[],function(){var t;return function(t){t.compose=function(t){return t.navigation||(t.navigation=new e(t)),t};var e=function(){function t(t){this.updates=[],this.chart=t}return t.prototype.addUpdate=function(t){this.chart.navigation.updates.push(t)},t.prototype.update=function(t,e){var i=this;this.updates.forEach(function(n){n.call(i.chart,t,e)})},t}();t.Additions=e}(t||(t={})),t}),e(t,"Extensions/Exporting/ExportingDefaults.js",[t["Core/Globals.js"]],function(t){return t=t.isTouchDevice,{exporting:{type:"image/png",url:"https://export.highcharts.com/",pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}},menuStyle:{border:"1px solid ".concat("#999999"),background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:t?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"}}}}),e(t,"Extensions/Exporting/ExportingSymbols.js",[],function(){var t;return function(t){function e(t,e,i,n){return[["M",t,e+2.5],["L",t+i,e+2.5],["M",t,e+n/2+.5],["L",t+i,e+n/2+.5],["M",t,e+n-1.5],["L",t+i,e+n-1.5]]}function i(t,e,i,n){return t=n/3-2,n=[],n=n.concat(this.circle(i-t,e,t,t),this.circle(i-t,e+t+4,t,t),this.circle(i-t,e+2*(t+4),t,t))}var n=[];t.compose=function(t){-1===n.indexOf(t)&&(n.push(t),t=t.prototype.symbols,t.menu=e,t.menuball=i.bind(t))}}(t||(t={})),t}),e(t,"Core/HttpUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e){var i=t.doc,n=e.createElement,o=e.discardElement,s=e.merge,r=e.objectEach,a={ajax:function(t){var e={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},i=new XMLHttpRequest;return t.url?(i.open((t.type||"get").toUpperCase(),t.url,!0),t.headers&&t.headers["Content-Type"]||i.setRequestHeader("Content-Type",e[t.dataType||"json"]||e.text),r(t.headers,function(t,e){i.setRequestHeader(e,t)}),t.responseType&&(i.responseType=t.responseType),i.onreadystatechange=function(){if(4===i.readyState){if(200===i.status){if("blob"!==t.responseType){var e=i.responseText;if("json"===t.dataType)try{e=JSON.parse(e)}catch(n){if(n instanceof Error)return void(t.error&&t.error(i,n))}}return t.success&&t.success(e,i)}t.error&&t.error(i,i.responseText)}},t.data&&"string"!=typeof t.data&&(t.data=JSON.stringify(t.data)),void i.send(t.data)):!1},getJSON:function(t,e){a.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,a){var l=n("form",s({method:"post",action:t,enctype:"multipart/form-data"},a),{display:"none"},i.body);r(e,function(t,e){n("input",{type:"hidden",name:e,value:t},void 0,l)}),l.submit(),o(l)}};return a}),e(t,"Extensions/Exporting/Exporting.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Chart/Chart.js"],t["Core/Chart/ChartNavigationComposition.js"],t["Core/DefaultOptions.js"],t["Extensions/Exporting/ExportingDefaults.js"],t["Extensions/Exporting/ExportingSymbols.js"],t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Core/Utilities.js"]],function(t,e,i,n,o,s,r,a,l){e=n.defaultOptions;var c,d=r.doc,h=r.SVG_NS,u=r.win,p=l.addEvent,f=l.css,m=l.createElement,g=l.discardElement,v=l.extend,y=l.find,b=l.fireEvent,_=l.isObject,x=l.merge,w=l.objectEach,k=l.pick,C=l.removeEvent,T=l.uniqueKey;return function(e){function n(t){var e=this,i=e.renderer,n=x(e.options.navigation.buttonOptions,t),o=n.onclick,s=n.menuItems,r=n.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==n.enabled&&n.theme){var a,l=n.theme;e.styledMode||(l.fill=k(l.fill,"#ffffff"),l.stroke=k(l.stroke,"none")),o?a=function(t){t&&t.stopPropagation(),o.call(e,t)}:s&&(a=function(t){t&&t.stopPropagation(),e.contextMenu(c.menuClassName,s,c.translateX,c.translateY,c.width,c.height,c),c.setState(2)}),n.text&&n.symbol?l.paddingLeft=k(l.paddingLeft,30):n.text||v(l,{width:n.width,height:n.height,padding:0}),e.styledMode||(l["stroke-linecap"]="round",l.fill=k(l.fill,"#ffffff"),l.stroke=k(l.stroke,"none"));var c=i.button(n.text,0,0,a,l).addClass(t.className).attr({title:k(e.options.lang[n._titleKey||n.titleKey],"")});if(c.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,n.symbol){var d=i.symbol(n.symbol,n.symbolX-r/2,n.symbolY-r/2,r,r,{width:r,height:r}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(c);e.styledMode||d.attr({stroke:n.symbolStroke,fill:n.symbolFill,"stroke-width":n.symbolStrokeWidth||1})}c.add(e.exportingGroup).align(v(n,{width:c.width,x:k(n.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(c.width+n.buttonSpacing)*("right"===n.align?-1:1),e.exportSVGElements.push(c,d)}}function o(){if(this.printReverseInfo){var t=this.printReverseInfo,e=t.childNodes,i=t.origDisplay;t=t.resetParams,this.moveContainers(this.renderTo),[].forEach.call(e,function(t,e){1===t.nodeType&&(t.style.display=i[e]||"")}),this.isPrinting=!1,t&&this.setSize.apply(this,t),delete this.printReverseInfo,W=void 0,b(this,"afterPrint")}}function c(){var t=d.body,e=this.options.exporting.printMaxWidth,i={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),b(this,"beforePrint"),e&&this.chartWidth>e&&(i.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(i.childNodes,function(t,e){1===t.nodeType&&(i.origDisplay[e]=t.style.display,t.style.display="none")}),this.moveContainers(t),this.printReverseInfo=i}function S(t){t.renderExporting(),p(t,"redraw",t.renderExporting),p(t,"destroy",t.destroyExport)}function $(e,i,n,o,s,r,a){var c=this,h=c.options.navigation,g=c.chartWidth,y=c.chartHeight,x="cache-"+e,w=Math.max(s,r),k=c[x];if(!k){c.exportContextMenu=c[x]=k=m("div",{className:e},{position:"absolute",zIndex:1e3,padding:w+"px",pointerEvents:"auto"},c.fixedDiv||c.container);var C=m("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},k);c.styledMode||f(C,v({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},h.menuStyle)),k.hideMenu=function(){f(k,{display:"none"}),a&&a.setState(0),c.openMenu=!1,f(c.renderTo,{overflow:"hidden"}),f(c.container,{overflow:"hidden"}),l.clearTimeout(k.hideTimer),b(c,"exportMenuHidden")},c.exportEvents.push(p(k,"mouseleave",function(){k.hideTimer=u.setTimeout(k.hideMenu,500)}),p(k,"mouseenter",function(){l.clearTimeout(k.hideTimer)}),p(d,"mouseup",function(t){c.pointer.inClass(t.target,e)||k.hideMenu()}),p(k,"click",function(){c.openMenu&&k.hideMenu()})),i.forEach(function(e){if("string"==typeof e&&(e=c.options.exporting.menuItemDefinitions[e]),_(e,!0)){var i=void 0;e.separator?i=m("hr",void 0,void 0,C):("viewData"===e.textKey&&c.isDataTableVisible&&(e.textKey="hideData"),i=m("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),k.hideMenu(),e.onclick&&e.onclick.apply(c,arguments)}},void 0,C),t.setElementHTML(i,e.text||c.options.lang[e.textKey]),c.styledMode||(i.onmouseover=function(){f(this,h.menuItemHoverStyle)},i.onmouseout=function(){f(this,h.menuItemStyle)},f(i,v({cursor:"pointer"},h.menuItemStyle||{})))),c.exportDivElements.push(i)}}),c.exportDivElements.push(C,k),c.exportMenuWidth=k.offsetWidth,c.exportMenuHeight=k.offsetHeight}i={display:"block"},n+c.exportMenuWidth>g?i.right=g-n-s-w+"px":i.left=n-w+"px",o+r+c.exportMenuHeight>y&&"top"!==a.alignOptions.verticalAlign?i.bottom=y-o-w+"px":i.top=o+r-w+"px",f(k,i),f(c.renderTo,{overflow:""}),f(c.container,{overflow:""}),c.openMenu=!0,b(c,"exportMenuShown")}function M(t){var e=t?t.target:this,i=e.exportSVGElements,n=e.exportDivElements;t=e.exportEvents;var o;i&&(i.forEach(function(t,n){t&&(t.onclick=t.ontouchstart=null,o="cache-"+t.menuClassName,e[o]&&delete e[o],i[n]=t.destroy())}),i.length=0),e.exportingGroup&&(e.exportingGroup.destroy(),delete e.exportingGroup),n&&(n.forEach(function(t,e){t&&(l.clearTimeout(t.hideTimer),C(t,"mouseleave"),n[e]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,g(t))}),n.length=0),t&&(t.forEach(function(t){t()}),t.length=0)}function j(t,e){e=this.getSVGForExport(t,e),t=x(this.options.exporting,t),a.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)}function D(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function E(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"==typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)}function A(t){var e,i=x(this.options,t);i.plotOptions=x(this.userOptions.plotOptions,t&&t.plotOptions),i.time=x(this.userOptions.time,t&&t.time);var n=m("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},d.body),o=this.renderTo.style.width,s=this.renderTo.style.height;o=i.exporting.sourceWidth||i.chart.width||/px$/.test(o)&&parseInt(o,10)||(i.isGantt?800:600),s=i.exporting.sourceHeight||i.chart.height||/px$/.test(s)&&parseInt(s,10)||400,v(i.chart,{animation:!1,renderTo:n,forExport:!0,renderer:"SVGRenderer",width:o,height:s}),i.exporting.enabled=!1,delete i.data,i.series=[],this.series.forEach(function(t){e=x(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible}),e.isInternal||i.series.push(e)});var r={};this.axes.forEach(function(t){t.userOptions.internalKey||(t.userOptions.internalKey=T()),t.options.isInternal||(r[t.coll]||(r[t.coll]=!0,i[t.coll]=[]),i[t.coll].push(x(t.userOptions,{visible:t.visible})))});var a=new this.constructor(i,this.callback);return t&&["xAxis","yAxis","series"].forEach(function(e){var i={};t[e]&&(i[e]=t[e],a.update(i))}),this.axes.forEach(function(t){var e=y(a.axes,function(e){return e.options.internalKey===t.userOptions.internalKey}),i=t.getExtremes(),n=i.userMin;i=i.userMax,e&&("undefined"!=typeof n&&n!==e.min||"undefined"!=typeof i&&i!==e.max)&&e.setExtremes(n,i,!0,!1)}),s=a.getChartHTML(),b(this,"getSVG",{chartCopy:a}),s=this.sanitizeSVG(s,i),i=null,a.destroy(),g(n),s}function P(t,e){var i=this.options.exporting;return this.getSVG(x({chart:{borderRadius:0}},i.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||i.sourceWidth,sourceHeight:t&&t.sourceHeight||i.sourceHeight}}))}function O(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()})}function L(){function t(e){var a,c,d={};if(l&&1===e.nodeType&&-1===Y.indexOf(e.nodeName)){var h=u.getComputedStyle(e,null),p="svg"===e.nodeName?{}:u.getComputedStyle(e.parentNode,null);if(!s[e.nodeName]){i=l.getElementsByTagName("svg")[0];var m=l.createElementNS(e.namespaceURI,e.nodeName);i.appendChild(m),s[e.nodeName]=x(u.getComputedStyle(m,null)),"text"===e.nodeName&&delete s.text.fill,i.removeChild(m)}for(var g in h)if(r.isFirefox||r.isMS||r.isSafari||Object.hasOwnProperty.call(h,g)){var v=h[g],y=g;if(m=a=!1,o.length){for(c=o.length;c--&&!a;)a=o[c].test(y);m=!a}for("transform"===y&&"none"===v&&(m=!0),c=n.length;c--&&!m;)m=n[c].test(y)||"function"==typeof v;m||p[y]===v&&"svg"!==e.nodeName||s[e.nodeName][y]===v||(q&&-1===q.indexOf(y)?"parentRule"!==y&&(d[y]=v):v&&e.setAttribute(O(y),v))}f(e,d),"svg"===e.nodeName&&e.setAttribute("stroke-width","1px"),"text"!==e.nodeName&&[].forEach.call(e.children||e.childNodes,t)}}var i,n=z,o=e.inlineWhitelist,s={},a=d.createElement("iframe");f(a,{width:"1px",height:"1px",visibility:"hidden"}),d.body.appendChild(a);var l=a.contentWindow&&a.contentWindow.document;l&&l.body.appendChild(l.createElementNS(h,"svg")),t(this.container.querySelector("svg")),i.parentNode.removeChild(i),a.parentNode.removeChild(a)}function I(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(e){t.appendChild(e)})}function F(){var t=this;t.exporting={update:function(e,i){t.isDirtyExporting=!0,x(!0,t.options.exporting,e),k(i,!0)&&t.redraw()}},i.compose(t).navigation.addUpdate(function(e,i){t.isDirtyExporting=!0,x(!0,t.options.navigation,e),k(i,!0)&&t.redraw()})}function H(){var t=this;t.isPrinting||(W=t,r.isSafari||t.beforePrint(),setTimeout(function(){u.focus(),u.print(),r.isSafari||setTimeout(function(){t.afterPrint()},1e3)},1))}function B(){var t=this,e=t.options.exporting,i=e.buttons,n=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),n&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),w(i,function(e){t.addButton(e)}),t.isDirtyExporting=!1)}function N(t,e){var i=t.indexOf("</svg>")+6,n=t.substr(i);return t=t.substr(0,i),e&&e.exporting&&e.exporting.allowHTML&&n&&(n='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+n.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",t=t.replace("</svg>",n+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g," ").replace(/&shy;/g,"­"),this.ieSanitizeSVG&&(t=this.ieSanitizeSVG(t)),t}var R=[],z=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],q="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");e.inlineWhitelist=[];var W,Y=["clipPath","defs","desc"];e.compose=function(t,e){s.compose(e),-1===R.indexOf(t)&&(R.push(t),e=t.prototype,e.afterPrint=o,e.exportChart=j,e.inlineStyles=L,e.print=H,e.sanitizeSVG=N,e.getChartHTML=D,e.getSVG=A,e.getSVGForExport=P,e.getFilename=E,e.moveContainers=I,e.beforePrint=c,e.contextMenu=$,e.addButton=n,e.destroyExport=M,e.renderExporting=B,e.callbacks.push(S),p(t,"init",F),r.isSafari&&r.win.matchMedia("print").addListener(function(t){W&&(t.matches?W.beforePrint():W.afterPrint())}))}}(c||(c={})),e.exporting=x(o.exporting,e.exporting),e.lang=x(o.lang,e.lang),e.navigation=x(o.navigation,e.navigation),c}),e(t,"masters/modules/exporting.src.js",[t["Core/Globals.js"],t["Extensions/Exporting/Exporting.js"],t["Core/HttpUtilities.js"]],function(t,e,i){t.HttpUtilities=i,t.ajax=i.ajax,t.getJSON=i.getJSON,t.post=i.post,e.compose(t.Chart,t.Renderer)})}),function(t){"object"==typeof module&&module.exports?(t["default"]=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/modules/export-data",["highcharts","highcharts/modules/exporting"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}t=t?t._modules:{},e(t,"Extensions/DownloadURL.js",[t["Core/Globals.js"]],function(t){var e=t.isSafari,i=t.win,n=i.document,o=i.URL||i.webkitURL||i,s=t.dataURLtoBlob=function(t){if((t=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3<t.length&&i.atob&&i.ArrayBuffer&&i.Uint8Array&&i.Blob&&o.createObjectURL){var e=i.atob(t[3]),n=new i.ArrayBuffer(e.length);n=new i.Uint8Array(n);for(var s=0;s<n.length;++s)n[s]=e.charCodeAt(s);return t=new i.Blob([n],{type:t[1]}),o.createObjectURL(t)}};return t=t.downloadURL=function(t,o){var r=i.navigator,a=n.createElement("a");if("string"==typeof t||t instanceof String||!r.msSaveOrOpenBlob){if(t="".concat(t),r=/Edge\/\d+/.test(r.userAgent),(e&&"string"==typeof t&&0===t.indexOf("data:application/pdf")||r||2e6<t.length)&&(t=s(t)||"",!t))throw Error("Failed to convert to blob");if("undefined"!=typeof a.download)a.href=t,a.download=o,n.body.appendChild(a),a.click(),n.body.removeChild(a);else try{var l=i.open(t,"chart");if("undefined"==typeof l||null===l)throw Error("Failed to open window")}catch(c){i.location.href=t}}else r.msSaveOrOpenBlob(t,o)},{dataURLtoBlob:s,downloadURL:t}}),e(t,"Extensions/ExportData.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"],t["Extensions/DownloadURL.js"]],function(t,e,i,n,o,s,r){function a(t,e){var i=h.navigator,n=-1<i.userAgent.indexOf("WebKit")&&0>i.userAgent.indexOf("Chrome"),o=h.URL||h.webkitURL||h;try{if(i.msSaveOrOpenBlob&&h.MSBlobBuilder){var s=new h.MSBlobBuilder;return s.append(t),s.getBlob("image/svg+xml")}if(!n)return o.createObjectURL(new h.Blob(["\ufeff"+t],{type:e}))}catch(r){}}var l=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,s=e.length;s>o;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))},c=n.doc,d=n.seriesTypes,h=n.win;n=o.getOptions,o=o.setOptions;var u=s.addEvent,p=s.defined,f=s.extend,m=s.find,g=s.fireEvent,v=s.isNumber,y=s.pick,b=r.downloadURL;o({exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:"\n"},showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table",hideData:"Hide data table"}}),u(e,"render",function(){this.options&&this.options.exporting&&this.options.exporting.showTable&&!this.options.chart.forExport&&this.viewData()}),u(e,"afterViewData",function(){var t=this,e=t.dataTableDiv,i=document.querySelectorAll("thead")[0].querySelectorAll("tr")[0],n=function(t,e){return function(i,n){var o=(e?i:n).children[t].textContent;return i=(e?n:i).children[t].textContent,""===o||""===i||isNaN(o)||isNaN(i)?o.toString().localeCompare(i):o-i}};e&&i.childNodes.forEach(function(i){var o=i.closest("table");i.addEventListener("click",function(){var s=l([],e.querySelectorAll("tr:not(thead tr)"),!0),r=l([],i.parentNode.children,!0);s.sort(n(r.indexOf(i),t.ascendingOrderInTable=!t.ascendingOrderInTable)).forEach(function(t){o.appendChild(t)}),r.forEach(function(t){["highcharts-sort-ascending","highcharts-sort-descending"].forEach(function(e){t.classList.contains(e)&&t.classList.remove(e)})}),i.classList.add(t.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending")})})}),e.prototype.setUpKeyToAxis=function(){d.arearange&&(d.arearange.prototype.keyToAxis={low:"y",high:"y"}),d.gantt&&(d.gantt.prototype.keyToAxis={start:"x",end:"x"})},e.prototype.getDataRows=function(e){var i,n=this.hasParallelCoordinates,o=this.time,s=this.options.exporting&&this.options.exporting.csv||{},r=this.xAxis,a={},l=[],c=[],d=[],h=this.options.lang.exportData,u=h.categoryHeader,f=h.categoryDatetimeHeader,b=function(i,n,o){if(s.columnHeaderFormatter){var r=s.columnHeaderFormatter(i,n,o);if(!1!==r)return r}return i?i instanceof t?i.options.title&&i.options.title.text||(i.dateTime?f:u):e?{columnTitle:o>1?n:i.name,topLevelColumnTitle:i.name}:i.name+(o>1?" ("+n+")":""):u},_=function(t,e,i){var n={},o={};return e.forEach(function(e){var s=(t.keyToAxis&&t.keyToAxis[e]||e)+"Axis";s=v(i)?t.chart[s][i]:t[s],n[e]=s&&s.categories||[],o[e]=s&&s.dateTime}),{categoryMap:n,dateTimeValueAxisMap:o}},x=function(t,e){return t.data.filter(function(t){return"undefined"!=typeof t.y&&t.name}).length&&e&&!e.categories&&!t.keyToAxis?t.pointArrayMap&&t.pointArrayMap.filter(function(t){return"x"===t}).length?(t.pointArrayMap.unshift("x"),t.pointArrayMap):["x","y"]:t.pointArrayMap||["y"]},w=[],k=0;this.setUpKeyToAxis(),this.series.forEach(function(t){var l,h=t.xAxis,u=t.options.keys||x(t,h),p=u.length,f=!t.requireSorting&&{},g=r.indexOf(h),v=_(t,u);if(!1!==t.options.includeInDataExport&&!t.options.isInternal&&!1!==t.visible){for(m(w,function(t){return t[0]===g})||w.push([g,k]),l=0;p>l;)i=b(t,u[l],u.length),d.push(i.columnTitle||i),e&&c.push(i.topLevelColumnTitle||i),l++;var C={chart:t.chart,autoIncrement:t.autoIncrement,options:t.options,pointArrayMap:t.pointArrayMap};t.options.data.forEach(function(e,i){n&&(v=_(t,u,i));var r={series:C};t.pointClass.prototype.applyOptions.apply(r,[e]),e=r.x;var c=t.data[i]&&t.data[i].name;for(l=0,(!h||"name"===t.exportKey||!n&&h&&h.hasNames&&c)&&(e=c),f&&(f[e]&&(e+="|"+i),f[e]=!0),a[e]||(a[e]=[],a[e].xValues=[]),a[e].x=r.x,a[e].name=c,a[e].xValues[g]=r.x;p>l;)i=u[l],c=r[i],a[e][k+l]=y(v.categoryMap[i][c],v.dateTimeValueAxisMap[i]?o.dateFormat(s.dateFormat,c):null,c),l++}),k+=l}});for(C in a)Object.hasOwnProperty.call(a,C)&&l.push(a[C]);var C=e?[c,d]:[d];for(k=w.length;k--;){var T=w[k][0],S=w[k][1],$=r[T];l.sort(function(t,e){return t.xValues[T]-e.xValues[T]}),h=b($),C[0].splice(S,0,h),e&&C[1]&&C[1].splice(S,0,h),l.forEach(function(t){var e=t.name;$&&!p(e)&&($.dateTime?(t.x instanceof Date&&(t.x=t.x.getTime()),e=o.dateFormat(s.dateFormat,t.x)):e=$.categories?y($.names[t.x],$.categories[t.x],t.x):t.x),t.splice(S,0,e)})}return C=C.concat(l),g(this,"exportData",{dataRows:C}),C},e.prototype.getCSV=function(t){var e="",i=this.getDataRows(),n=this.options.exporting.csv,o=y(n.decimalPoint,","!==n.itemDelimiter&&t?1.1.toLocaleString()[1]:"."),s=y(n.itemDelimiter,","===o?";":","),r=n.lineDelimiter;return i.forEach(function(t,n){for(var a,l=t.length;l--;)a=t[l],"string"==typeof a&&(a='"'+a+'"'),"number"==typeof a&&"."!==o&&(a=a.toString().replace(".",o)),t[l]=a;t.length=i.length?i[0].length:0,e+=t.join(s),n<i.length-1&&(e+=r)}),e},e.prototype.getTable=function(t){var e=function(t){if(!t.tagName||"#text"===t.tagName)return t.textContent||"";var i=t.attributes,n="<".concat(t.tagName);return i&&Object.keys(i).forEach(function(t){var e=i[t];n+=" ".concat(t,'="').concat(e,'"')}),n+=">",n+=t.textContent||"",(t.children||[]).forEach(function(t){n+=e(t)}),n+="</".concat(t.tagName,">")};return t=this.getTableAST(t),e(t)},e.prototype.getTableAST=function(t){var e=0,i=[],n=this.options,o=t?1.1.toLocaleString()[1]:".",s=y(n.exporting.useMultiLevelHeaders,!0);t=this.getDataRows(s);var r=s?t.shift():null,a=t.shift(),l=function(t,e,i,n){var s=y(n,"");return e="highcharts-text"+(e?" "+e:""),"number"==typeof s?(s=s.toString(),","===o&&(s=s.replace(".",o)),e="highcharts-number"):n||(e="highcharts-empty"),i=f({"class":e},i),{tagName:t,attributes:i,textContent:s}};!1!==n.exporting.tableCaption&&i.push({tagName:"caption",attributes:{"class":"highcharts-table-caption"},textContent:y(n.exporting.tableCaption,n.title.text?n.title.text:"Chart")});for(var c=0,d=t.length;d>c;++c)t[c].length>e&&(e=t[c].length);i.push(function(t,e,i){var o=[],r=0;i=i||e&&e.length;var a,c=0;if(a=s&&t&&e){t:if(a=t.length,e.length===a){for(;a--;)if(t[a]!==e[a]){a=!1;break t}a=!0}else a=!1;a=!a}if(a){for(a=[];i>r;++r){var d=t[r],h=t[r+1];d===h?++c:c?(a.push(l("th","highcharts-table-topheading",{scope:"col",colspan:c+1},d)),c=0):(d===e[r]?n.exporting.useRowspanHeaders?(h=2,delete e[r]):(h=1,e[r]=""):h=1,d=l("th","highcharts-table-topheading",{scope:"col"},d),h>1&&d.attributes&&(d.attributes.valign="top",d.attributes.rowspan=h),a.push(d))}o.push({tagName:"tr",children:a})}if(e){for(a=[],r=0,i=e.length;i>r;++r)"undefined"!=typeof e[r]&&a.push(l("th",null,{scope:"col"},e[r]));o.push({tagName:"tr",children:a})}return{tagName:"thead",children:o}}(r,a,Math.max(e,a.length)));var h=[];return t.forEach(function(t){for(var i=[],n=0;e>n;n++)i.push(l(n?"td":"th",null,n?{}:{scope:"row"},t[n]));h.push({tagName:"tr",children:i})}),i.push({tagName:"tbody",children:h}),i={tree:{tagName:"table",id:"highcharts-data-table-".concat(this.index),children:i}},g(this,"aftergetTableAST",i),i.tree},e.prototype.downloadCSV=function(){var t=this.getCSV(!0);b(a(t,"text/csv")||"data:text/csv,\ufeff"+encodeURIComponent(t),this.getFilename()+".csv");
},e.prototype.downloadXLS=function(){var t='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+this.getTable(!0)+"</body></html>";b(a(t,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+h.btoa(unescape(encodeURIComponent(t))),this.getFilename()+".xls")},e.prototype.viewData=function(){this.toggleDataTable(!0)},e.prototype.hideData=function(){this.toggleDataTable(!1)},e.prototype.toggleDataTable=function(t){(t=y(t,!this.isDataTableVisible))&&!this.dataTableDiv&&(this.dataTableDiv=c.createElement("div"),this.dataTableDiv.className="highcharts-data-table",this.renderTo.parentNode.insertBefore(this.dataTableDiv,this.renderTo.nextSibling)),this.dataTableDiv&&(this.dataTableDiv.style.display=t?"block":"none",t&&(this.dataTableDiv.innerHTML=i.emptyHTML,new i([this.getTableAST()]).addToDOM(this.dataTableDiv),g(this,"afterViewData",this.dataTableDiv))),this.isDataTableVisible=t,t=this.exportDivElements;var e=this.options.exporting,n=e&&e.buttons&&e.buttons.contextButton.menuItems;e=this.options.lang,_&&_.menuItemDefinitions&&e&&e.viewData&&e.hideData&&n&&t&&(t=t[n.indexOf("viewData")])&&i.setElementHTML(t,this.isDataTableVisible?e.hideData:e.viewData)};var _=n().exporting;_&&(f(_.menuItemDefinitions,{downloadCSV:{textKey:"downloadCSV",onclick:function(){this.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){this.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){this.toggleDataTable()}}}),_.buttons&&_.buttons.contextButton.menuItems.push("separator","downloadCSV","downloadXLS","viewData")),d.map&&(d.map.prototype.exportKey="name"),d.mapbubble&&(d.mapbubble.prototype.exportKey="name"),d.treemap&&(d.treemap.prototype.exportKey="name")}),e(t,"masters/modules/export-data.src.js",[],function(){})}),define("../src/sublayouts/m29v3-chart/m29v3-chart",["jquery","vendor/moment","lib/utils","vendor/jquery.monthpicker","chart-config","pickerdate","highcharts/modules/exporting","highcharts/modules/export-data"],function(t,e,i,n,o){"use strict";var s=function(t){this.$component=t};return s.prototype.init=function(){var e=this;this.selectedyear=[],this.selectedmonth=[],this.disabledMonth=[],this.totalYear=[],this.$component.off("m29v3-chart-init").on("m29v3-chart-init",function(){setTimeout(function(){e.renderGraph(!1,!1),e.download(),e.toggles(),e.listeners(!1),e.$component.find(".form-field__input--monthpicker").each(function(){}),e.monthInit(!0)},100)}),this.$component.off("m29v3-chart-initEV").on("m29v3-chart-initEV",function(){setTimeout(function(){e.renderGraph(!1,!0),e.download(),e.toggles(),e.listeners(!1),e.$component.find(".form-field__input--monthpicker").each(function(){}),e.$component.find(".form-field__label-month").each(function(){if(t(this).hasClass("active")){var i=t(this).attr("custom-index"),n=t(this),o=e.$component.find(".highcharts-legend").find('.highcharts-legend-item[custom-index="'+i+'"]');o.hasClass("highcharts-legend-item-hidden")&&(t(this).trigger("click"),t(this).trigger("mouseout"),n.addClass("active"),n.prev().css({color:n.attr("data-color")}))}})},100)}),this.$component.off("m29v3-chart-nodata").on("m29v3-chart-nodata",function(){e.$component.find(".m29v3-chart__nodata-container").show(),e.$component.find(".m29v3-chart--download").hide(),e.$component.find(".m29v3-chart__container").hide(),e.$component.find(".m29v3-chart__label").hide(),e.$component.hasClass("m29v3-chart--EV")&&e.$component.find('.m29v3-chart--controls.active[data-index="1"]').css({opacity:"0",height:"0"}),e.$component.hasClass("m29v3-chart--EV")||(e.disabledMonth=[])}),t(window).on("changeMinMonth",function(){e.monthInit(!0)}),this.$component.find(".form-field__input--datepicker").each(function(){var i=t(this),n=i.pickadate().pickadate("picker");n.on("set",function(t){t.select&&(e.$component.find(".form-field__input--datepicker").not(i).pickadate().pickadate("picker").set("enable",!0),e.$component.find(".form-field__input--datepicker").not(i).pickadate().pickadate("picker").set("disable",[n.get("select").obj]))})})},s.prototype.monthInit=function(n){var o=this;this.$component.find(".form-field__input--monthpicker").each(function(){var s,r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=["January","February","March","April","May","June","July","August","September","October","November","December"];s=i.isRTL()?r.indexOf(t(this).val().slice(0,-5))+1:a.indexOf(t(this).val().slice(0,-5))+1;var l=this,c=e(t(this).attr("data-mindate"),"YYYY-MM-DD HH:mm").toDate(),d=e(t(this).attr("data-maxdate"),"YYYY-MM-DD HH:mm").toDate(),h=""!=t(this).val()&&void 0!=t(this).val()?e(t(this).val().slice(-5)+"-"+s.toString(),"YYYY-MM-DD HH:mm").toDate():"";"Invalid Date"==c.toString()&&(c=e("Jan 1990","YYYY-MM-DD HH:mm").toDate()),"Invalid Date"==d.toString()&&(d=new Date),n&&t(this).datepicker().data("datepicker").destroy(),o.disabledMonth.push(JSON.parse('{"month":"'+parseInt(t(this).attr("data-month"))+'", "year":"'+parseInt(t(this).attr("data-year"))+'"}'));var u={language:i.isRTL()?"ar":"en",minView:"months",view:"months",autoClose:!0,clearButton:!0,closeButton:!0,maxDate:d,minDate:c,position:i.isRTL()?"bottom right":"bottom left",dateFormat:"MM yyyy",onRenderCell:function(i,n){if("month"==n){var s=e(i,"YYYY-MM-DD HH:mm").toDate().getMonth(),r=e(i,"YYYY-MM-DD HH:mm").toDate().getFullYear(),a=0,l=!1;return t(o.disabledMonth).each(function(t){-1!=Object.values(this).indexOf(s.toString())&&o.disabledMonth[t].year==r.toString()&&(a+=1)}),a>0&&(l=!0),{disabled:l}}},onSelect:function(i){t(l).trigger("change");var n=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=["January","February","March","April","May","June","July","August","September","October","November","December"];t(n).each(function(){i.includes(this)&&(i=i.replace(this,s[n.indexOf(this)]))});var r=(e(i,"YYYY-MM-DD HH:mm").toDate(),e(i,"YYYY-MM-DD")),a=e(i,"MMMM YYYY").toDate();r.toDate();t(l).attr("data-month",a.getMonth()),t(l).attr("data-year",a.getFullYear()),o.disabledMonth=[],o.$component.find(".form-field__input--monthpicker").each(function(){o.disabledMonth.push(JSON.parse('{"month":"'+parseInt(t(this).attr("data-month"))+'", "year":"'+parseInt(t(this).attr("data-year"))+'"}'))}),o.$component.find(".form-field__input--monthpicker").not(l).datepicker().data("datepicker").update()}};t(this).datepicker({language:i.isRTL()?"ar":"en",minView:"months",view:"months",autoClose:!0,clearButton:!0,closeButton:!0,maxDate:d,minDate:c,position:i.isRTL()?"bottom right":"bottom left",dateFormat:"MM yyyy",onRenderCell:function(i,n){if("month"==n){var s=e(i,"YYYY-MM-DD HH:mm").toDate().getMonth(),r=e(i,"YYYY-MM-DD HH:mm").toDate().getFullYear(),a=0,l=!1;return t(o.disabledMonth).each(function(t){-1!=Object.values(this).indexOf(s.toString())&&o.disabledMonth[t].year==r.toString()&&(a+=1)}),a>0&&(l=!0),{disabled:l}}}}).data("datepicker").selectDate(h),t(this).datepicker().data("datepicker").update(u)})},s.prototype.listeners=function(e){var i=this;t(".m29v3-chart--fakecbox").off("click.box").on("click.box",function(){var e=t(this).find("input");t(this).toggleClass("active"),t(this).hasClass("active")?e.prop("checked",!0):e.prop("checked",!1)}),this.$component.find(".m29v3-chart--typeitem").each(function(){t(this).off("click.and").on("click.and",function(){i.$component.find(".m29v3-chart--typeitem").each(function(){t(this).removeClass("m29v3-chart--typeitemactive")}),t(this).hasClass("m29v3-chart--typeitemactive")||(t(this).addClass("m29v3-chart--typeitemactive"),i.renderGraph(!0),i.listeners(!0))})}),this.$component.find(".m29v3-chart--year").each(function(e){t(this).off("click.year").on("click.year",function(){var e=t(this),n=t(this).closest(".m29v3-chart--controls").find(".m29v3-chart--year"),o=t(this).attr("custom-index"),s=i.$component.find(".m29v3-chart--year_alert"),r=0;if(i.totalYear=[],e.hasClass("m29v3-chart--year_active")){if(n.each(function(){t(this).hasClass("m29v3-chart--year_active")&&(r+=1)}),1!=r){var a=i.$component.find("[data-chart-container]").highcharts().series,l=parseInt(o);e.removeClass("m29v3-chart--year_active"),e.attr("style",""),a[l].visible?a[l].hide():a[l].show(),s.hide()}}else if(n.each(function(){t(this).hasClass("m29v3-chart--year_active")&&(r+=1)}),3>r){var a=i.$component.find("[data-chart-container]").highcharts().series,l=parseInt(o);e.addClass("m29v3-chart--year_active"),a[l].visible?a[l].hide():a[l].show(),e.css({background:e.attr("data-color"),borderColor:e.attr("data-color")})}else s.show();i.$component.find(".m29v3-chart--year").each(function(){t(this).hasClass("m29v3-chart--year_active")&&i.totalYear.push(t(this).attr("custom-index")),i.$component.find(".m29v3-chart--listitem.active").attr("data-selected-series",i.totalYear.toString())})})}),this.$component.find(".form-field__label-month").each(function(e){t(this).off("click.month").on("click.month",function(){var e=t(this),n=t(this).closest(".m29v3-chart--controls").find(".form-field__label-month"),o=t(this).attr("custom-index"),s=0;if(i.totalYear=[],e.hasClass("active")){if(n.each(function(){t(this).hasClass("active")&&(s+=1)}),1!=s){var r=i.$component.find("[data-chart-container]").highcharts().series,a=parseInt(o);e.removeClass("active"),e.attr("style",""),r[a].visible?r[a].hide():r[a].show(),e.prev().css({color:"#c6c6c6"})}}else{var r=i.$component.find("[data-chart-container]").highcharts().series,a=parseInt(o);e.addClass("active"),r[a].visible?r[a].hide():r[a].show(),e.prev().css({color:e.attr("data-color")})}i.$component.find(".form-field__label-month").each(function(){t(this).hasClass("active")&&i.totalYear.push(t(this).attr("custom-index")),i.$component.find(".m29v3-chart--listitem.active").attr("data-selected-series",i.totalYear.toString())})})}),e&&(t(i.selectedyear).each(function(){i.$component.find('.m29v3-chart--year[custom-index="'+this+'"]').trigger("click")}),t(i.selectedmonth).each(function(){})),t(i.selectedmonth).each(function(){i.$component.find('.form-field__label-month[custom-index="'+this+'"]').trigger("click")}),i.$component.find(".m29v3-chart--controls.active").find(".form-field__label").not(".active").each(function(){})},s.prototype.toggles=function(){var e=this,i=this.$component.find(".m29v3-chart--listitem"),n=this.$component.find(".m29v3-chart--controls");i.each(function(){var o=t(this).attr("data-index");t(this).off("click.tab").on("click.tab",function(){n.each(function(){t(this).attr("data-index")==o?t(this).hasClass("active")||t(this).addClass("active"):t(this).removeClass("active")}),i.each(function(){t(this).removeClass("active")}),t(this).addClass("active"),t(this).hasClass("m29v3-chart__container--nolegend")?e.$component.hasClass("m29v3-chart__container--nolegend")||e.$component.find(".m29v3-chart__container").addClass("m29v3-chart__container--nolegend"):e.$component.find(".m29v3-chart__container").removeClass("m29v3-chart__container--nolegend")})})},s.prototype.download=function(){var t=this,e=this.$component.find(".m29v3-chart--download");e.off("click.dl").on("click.dl",function(){var e=t.$component.find("[data-chart-container]").highcharts();e.downloadXLS()})},s.prototype.renderGraph=function(e,n){var o=this,s=this.$component.find(".m29v3-chart--listitem.active").attr("data-selected-series").split(",");this.selectedyear=[],this.selectedmonth=[],this.$component.find(".form-field__input--monthpicker").each(function(){t(this).off("change.label").on("change.label",function(){t(this).closest(".form-field").find(".form-field__label-month").hasClass("active")||(t(this).closest(".form-field").find(".form-field__label-month").addClass("active"),t(this).prev().trigger("click"))})}),e?this.$component.find(".m29v3-chart--controls.active").find(".m29v3-chart--year_active").each(function(){o.selectedyear.push(t(this).attr("custom-index"))}):(o.$component.find(".m29v3-chart__nodata-container").hide(),o.$component.find(".m29v3-chart__container").show(),o.$component.find(".m29v3-chart__label").show(),o.$component.find(".m29v3-chart--download").each(function(){t(this).show()}),o.$component.hasClass("m29v3-chart--EV")&&o.$component.find('.m29v3-chart--controls.active[data-index="1"]').css({opacity:"1",height:"auto"})),this.$component.find(".m29v3-chart--controls.active").find(".form-field__label-month.active").each(function(){o.selectedmonth.push(t(this).attr("custom-index"))});var r=0;t(window).width()<=1024&&(r=270,"rtl"==t("html").attr("dir")&&(r=270)),"true"==o.$component.attr("data-x-axis-categories-rotate")&&(r=270);var a=this.$component.find("[data-chart-container]"),l=JSON.parse(this.$component.attr("data-series")),c=this.$component.attr("data-y-axis-text"),d=this.$component.attr("data-x-axis-text"),h=this.$component.attr("data-x-axis-categories").split(","),u=this.$component.attr("data-tooltip-value-suffix"),p=i.isRTL(),f=i.isRTL()?"left":"right",m=this.$component.attr("data-usagefor"),g=(this.$component.attr("data-legend"),this.$component.attr("data-label"),this.$component.attr("data-labelstyle"),"l"==i.breakpoint()?10:3);parseInt(this.$component.attr("data-step"),10)||1,parseInt(this.$component.attr("data-step-s"),10)||1;if(0==o.$component.find('.m29v3-chart--controls.active[data-index="2"]').closest(".m29v3-chart--EV ").length){t(l).each(function(e){0==t(this)[0].name.length&&l.splice(l.indexOf(this),1)});for(var v=0;v<l.length;v++)0==l[v].data.length&&l.splice(v,1)}if(n)var y={chart:{type:this.$component.find(".m29v3-chart--typeitemactive").attr("data-type")},title:{text:""},subtitle:{text:"",style:{display:"none"}},legend:{verticalAlign:"top",align:f,itemStyle:{fontSize:"16px"},rtl:"rtl"==t("html").attr("dir"),symbolWidth:16,symbolRadius:10},plotOptions:{spline:{marker:{radius:4,lineColor:"#666666",lineWidth:1}},series:{pointWidth:g,borderRadius:"l"==i.breakpoint()?5:3}},xAxis:{reversed:p,categories:h,title:{text:d,style:{display:"none"}},labels:{autoRotation:!1,style:{fontSize:"12px"},rotation:r},minRange:.01},yAxis:{opposite:p,title:{text:c,style:{fontWeight:"bold",fontSize:"16px"},align:"high",reserveSpace:!1,offset:0,rotation:0,y:-15,textAlign:i.isRTL()?"right":"left"},plotLines:[{value:0,width:1,color:"#808080"}]},tooltip:{headerFormat:'<span style="font-size: 12px;font-weight:bold;">'+m+"</span> {point.x}<br> ",pointFormat:i.isRTL()?'<span style="text-align:right;width:100%;display:inline-block;"><b> {point.y}</b> :{series.name}<span style="color:{point.color}">●</span></span><br/>':'<span style="color:{point.color}">●</span>{series.name}:<b> {point.y}</b> <br/>',valueSuffix:u,crosshairs:!0,shared:!0,useHTML:!0},series:l};else var y={chart:{type:this.$component.find(".m29v3-chart--typeitemactive").attr("data-type")},title:{text:""},subtitle:{text:"",style:{display:"none"}},legend:{verticalAlign:"top",align:f,itemStyle:{fontSize:"16px"},rtl:"rtl"==t("html").attr("dir"),symbolWidth:16,symbolRadius:10},plotOptions:{spline:{marker:{radius:4,lineColor:"#666666",lineWidth:1}},series:{pointWidth:g,borderRadius:"l"==i.breakpoint()?5:3}},xAxis:{reversed:p,categories:h,title:{text:d,style:{display:"none"}},labels:{autoRotation:!1,style:{fontSize:"12px"},rotation:r},minRange:.01},yAxis:{opposite:p,title:{text:c,style:{fontWeight:"bold",fontSize:"16px"},align:"high",reserveSpace:!1,offset:0,rotation:0,y:-15,textAlign:i.isRTL()?"right":"left"},plotLines:[{value:0,width:1,color:"#808080"}]},tooltip:{headerFormat:'<span style="font-size: 12px;font-weight:bold;">'+m+"</span> {point.x}<br> ",pointFormat:i.isRTL()?'<span style="text-align:right;width:100%;display:inline-block;"><b> {point.y}</b> :{series.name}<span style="color:{point.color}">●</span></span><br/>':'<span style="color:{point.color}">●</span>{series.name}:<b> {point.y}</b> <br/>',valueSuffix:u,crosshairs:!0,shared:!0,useHTML:!0},exporting:{filename:"adssds",tableCaption:"adssds",chartOptions:{title:{text:o.$component.find(".m29v3-chart--title").html()},yAxis:{title:{text:"{series.name}"+u},labels:{format:"{point.y}"}}}},series:l};a.highcharts(y),this.$component.find(".m29v3-chart__legend--item").each(function(){t(this).find(".m29v3-chart__legend--item-icon").css("color",t(this).data("color"))}),this.$component.find(".m29v3-chart--year").remove(),this.$component.find(".form-field__label-month").removeClass("active"),this.$component.find(".form-field__label-month").prev().attr("style",""),this.$component.find(".highcharts-legend").find(".highcharts-legend-item").each(function(i){var n=(t(this),t(this).find("text").text()),r=i,a=t(this).find("path:first-child").attr("stroke");if(void 0==t(this).find("path:first-child").attr("stroke")&&(a=t(this).find("rect").attr("fill")),t(this).attr("custom-index",i.toString()),-1==s.indexOf(i.toString())||e){o.$component.find(".m29v3-chart--yearlabel").closest(".form-field").append('<button class="m29v3-chart--year" custom-index="'+i.toString()+'" data-color="'+a+'"> '+n+" </button>"),o.$component.find(".m29v3-chart--controls.active").find(".form-field__label").not(".aria-only").each(function(e){e==r&&(t(this).attr("custom-index",e.toString()),t(this).attr("data-color",a))});var l=o.$component.find("[data-chart-container]").highcharts().series,c=parseInt(r);l[c].hide()}else o.$component.find(".m29v3-chart--yearlabel").closest(".form-field").append('<button class="m29v3-chart--year m29v3-chart--year_active" custom-index="'+i.toString()+'" style="background: '+a+"; border-color: "+a+'" data-color="'+a+'"> '+n+" </button>"),o.$component.find(".m29v3-chart--controls.active").find(".form-field__label").each(function(e){e==r&&(t(this).attr("custom-index",e.toString()),t(this).attr("data-color",a),t(this).addClass("active"),t(this).prev().css("color",a))})})},s.prototype.getSelected=function(){var e=this,i="";return this.$component.find(".m29v3-chart--listitem.active").hasClass("m29v3-chart__container--nolegend")?e.$component.find(".m29v3-chart--year.m29v3-chart--year_active").each(function(e){i=0==e?i+"("+t(this).html().trim():i+","+t(this).html().trim()}):e.$component.find(".form-field__label-month.active").each(function(e){i=0==e?i+"("+t(this).parent(".form-field").find(".form-field__input").val().replace(/\s/g,"-"):i+","+t(this).parent(".form-field").find(".form-field__input").val().replace(/\s/g,"-")}),i+")"},s}),define("../src/sublayouts/m29v4-chart/m29v4-chart",["jquery","vendor/moment","lib/utils","vendor/jquery.monthpicker","chart-config","pickerdate","highcharts/modules/exporting","highcharts/modules/export-data"],function(t,e,i,n,o){"use strict";var s=function(t){this.$component=t};return s.prototype.init=function(){var t=this;this.selectedyear=[],this.selectedmonth=[],this.disabledMonth=[],this.totalYear=[],this.$component.off("m29v4-chart-init").on("m29v4-chart-init",function(){setTimeout(function(){t.renderGraph(!1),t.download()},100)});this.$component.attr("data-start-date"),this.$component.attr("data-end-date")},s.prototype.download=function(){var t=this,e=this.$component.find(".m29v4-chart--download");e.off("click.dl").on("click.dl",function(){t.$component.find(".highcharts-exporting-group").find(".highcharts-contextbutton").click(),t.$component.find(".highcharts-contextmenu").find(".highcharts-menu-item:nth-child(10)").click()})},s.prototype.renderGraph=function(e){var n=this;this.selectedyear=[],this.selectedmonth=[];var o=this.$component.find("[data-chart-container]"),s=JSON.parse(this.$component.attr("data-series")),r=this.$component.attr("data-y-axis-text"),a=this.$component.attr("data-x-axis-text"),l=(this.$component.attr("data-high-value"),this.$component.attr("data-status")),c=this.$component.attr("data-x-axis-categories").split(","),d=this.$component.attr("data-tooltip-value-suffix"),h=i.isRTL(),u=t("html").attr("dir"),p=i.isRTL()?"left":"right",f=this.$component.attr("data-usagefor"),m=(this.$component.attr("data-legend"),this.$component.attr("data-label"),this.$component.attr("data-labelstyle"),"l"==i.breakpoint()?10:3),g=(parseInt(this.$component.attr("data-step"),10)||1,parseInt(this.$component.attr("data-step-s"),10)||1,jQuery.map(s[0].data,function(t,e){return{y:t,color:"#127bbe"}})),v=l.split(",");t.each(v,function(t,e){1==e&&(g[t].color="#E10E49")});var y={chart:{type:"column"},title:{text:""},subtitle:{text:"",style:{display:"none"}},legend:{verticalAlign:"top",align:p,itemStyle:{fontSize:"16px"},rtl:"rtl"==t("html").attr("dir"),symbolWidth:16,symbolRadius:10},plotOptions:{spline:{marker:{radius:4,lineColor:"#127bbe",lineWidth:1}},series:{pointWidth:m,borderRadius:"l"==i.breakpoint()?5:3}},xAxis:{reversed:h,categories:c,title:{text:a,style:{display:"none"}},labels:{autoRotation:!1,rotation:i.isRTL()?90:270,style:{fontSize:"12px"}},minRange:.01},yAxis:{opposite:h,title:{text:r,style:{fontWeight:"bold",fontSize:"16px"},align:"high",reserveSpace:!1,offset:0,rotation:0,y:-15,textAlign:i.isRTL()?"right":"left"},plotLines:[{value:0,width:1,color:"#808080"}]},tooltip:{headerFormat:'<span style="font-size: 12px;font-weight:bold;">'+f+"</span> {point.x}<br> ",pointFormat:'<span style="text-align:right;width:100%;display:inline-block;"><b> {point.y}</b><span style="color:{point.color}">●</span></span><br/>',valueSuffix:d,style:{textAlign:p,direction:u},crosshairs:!0,shared:!0,useHTML:!0},exporting:{chartOptions:{title:{text:n.$component.find(".m29v4-chart--title").html()},yAxis:{title:{text:"{series.name}"+d},labels:{format:"{point.y}"}}}},series:[{data:g}]};o.highcharts(y)},s}),define("../src/sublayouts/m3-carousel/m3-carousel",["jquery","slick"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){this.$M3_slider=t(".m3-carousel__carousel");var e="rtl"==t("html").attr("dir");t(".m3-carousel__slide").length>1&&this.$M3_slider.slick({dots:!0,arrows:!0,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,autoplay:!1,rtl:e}),this.$M3_slider.css({top:0,opacity:1,position:"relative"})},e}),define("../src/sublayouts/m3-teaser-carousel/m3-teaser-carousel",["jquery","lib/utils","slick"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var e=this;this.initCarousel(),t(window).on("resize",function(){t(".m3-teaser-carousel__carousel").hasClass("slick-initialized")&&t(".m3-teaser-carousel__carousel").slick("destroy"),e.initCarousel()})},i.prototype.initCarousel=function(){this.$M3_slider=t(".m3-teaser-carousel__carousel");var i="rtl"==t("html").attr("dir");"l"===e.breakpoint()?t(".m3-teaser-carousel__slide").length>1&&this.$M3_slider.slick({dots:!1,arrows:!0,infinite:!0,speed:750,slidesToShow:4,slidesToScroll:1,autoplay:!1,rtl:i}):"m"===e.breakpoint()?t(".m3-teaser-carousel__slide").length>1&&this.$M3_slider.slick({dots:!1,arrows:!0,infinite:!0,speed:750,slidesToShow:2,slidesToScroll:1,autoplay:!1,rtl:i}):"s"===e.breakpoint()&&t(".m3-teaser-carousel__slide").length>1&&this.$M3_slider.slick({dots:!0,arrows:!1,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,autoplay:!1,rtl:i}),this.$M3_slider.css({top:0,opacity:1,position:"relative"}),this.$component.find(".slick-slide").each(function(){void 0!=t(this).attr("aria-describedby")&&t(this).find(".teaser__title").attr("id",t(this).attr("aria-describedby"))})},i}),define("../src/sublayouts/m30-share/m30-share",["jquery","slick"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=this;this.$html=t("html"),this.$isRTL="rtl"==this.$html.attr("dir"),this.shareOpen=!1,this.$html.on("click",function(){e.hideSharePanel()}),t(".m30-share__item, .m30-share__link").on("click",function(t){t.stopPropagation()}),t(".m30-share__button").off().on("click",function(i){i.stopPropagation(),i.preventDefault(),e.$panel=t(this).closest(".m30-share").find(".m30-share__panel");var n=t(this).offset().top,o=e.$panel.outerHeight(),s=t(window).height(),r=t(window).scrollTop();n-r+o>=s&&n-r>=o?e.$panel.addClass("m30-share__panel--top"):e.$panel.removeClass("m30-share__panel--top"),"true"==e.$panel.attr("aria-expanded")?e.hideSharePanel():e.showSharePanel()})},e.prototype.hideSharePanel=function(){try{this.$panel.removeClass("m30-share__panel--visible"),this.$panel.attr("aria-expanded",!1)}catch(t){}},e.prototype.showSharePanel=function(){this.$panel.addClass("m30-share__panel--visible"),this.$panel.attr("aria-expanded",!0),this.$panel.fadeIn()},e}),define("../src/sublayouts/m31-search/m31-search",["jquery","slick"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=this;this.$html=t("html"),this.$isRTL="rtl"==this.$html.attr("dir"),this.shareOpen=!1,this.$component.off("keyup.m31").on("keyup.m31",function(e){27==e.keyCode&&t(this).find(".m12-search__panel--close").click()}),t(".m31-search__item, .m31-search__link").on("click",function(t){t.stopPropagation()}),t(".m31-search__button").off("click.m31search").on("click.m31search",function(i){if(i.stopPropagation(),i.preventDefault(),t(window).outerWidth(!0)>1024){e.$panel=t(this).closest(".m31-search").find(".m31-search__panel");var n=t(this).offset().top,o=e.$panel.outerHeight(),s=t(window).height(),r=t(window).scrollTop();n-r+o>=s&&n-r>=o?e.$panel.addClass("m31-search__panel--top"):e.$panel.removeClass("m31-search__panel--top"),"true"==e.$panel.attr("aria-expanded")?e.hideSharePanel():e.showSharePanel(),t(".m12-search__panel--close").attr("tabindex","0"),t(".m12-search__panel--close, .gray-bg").on("click",function(i){e.hideSharePanel(),t("body").removeClass("unscrollable")}),t(".m12-search__panel--close").on("keyup",function(e){13==e.keyCode&&t(this).click()}),t("body").addClass("unscrollable")}else t(".m12-menu_expandable--mobile .m12-menu_bar--wrapper").hasClass("active")||t(".m12-menu_expandable--mobile").click(),t(window).trigger("searchOpen")})},e.prototype.hideSharePanel=function(){try{this.$panel.removeClass("m31-search__panel--visible"),this.$panel.attr("aria-expanded",!1)}catch(t){}},e.prototype.showSharePanel=function(){this.$panel.addClass("m31-search__panel--visible"),this.$panel.attr("aria-expanded",!0),this.$panel.fadeIn()},e}),define("../src/sublayouts/m32-map/m32-map",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,window.MAP=this,this};return e.prototype.loaded=function(e){this.map=e,t(window).trigger("mapLoaded")},e.prototype.init=function(){var e="rtl"==t("html").attr("dir")?"ar":"en",i=document.createElement("script"),n="https://maps.googleapis.com/maps/api/js?libraries=places,geometry&v=3&key=AIzaSyD3S3q5M76YS9fx9vCM7Mmk2NNLGT0A1nk&language="+e;i.type="text/javascript",i.src=n+"&callback=initializeGMap",document.body.appendChild(i)},window.initializeGMap=function(){var e=document.getElementById("map");window.map=new google.maps.Map(e,{center:new google.maps.LatLng(25.2276388,55.3245075),zoom:13,mapTypeId:google.maps.MapTypeId.ROADMAP,navigationControl:!0,navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},mapTypeControl:!1,streetViewControl:!1});var i={lat:25.2276388,lng:55.3245075},n=new google.maps.places.PlacesService(map);n.getDetails({placeId:"ChIJX2yk7EhdXz4RxfnDVtxbBaE"},function(e,i){i===google.maps.places.PlacesServiceStatus.OK&&void 0!=t(".m32-map").closest(".j153-ev-map")&&(t(".m32-map__overlay-title--text").text(e.name),t(".m32-map__overlay-subtitle--text").text(e.subname),t(".m32-map__overlay-address").text(e.formatted_address),t(".m32-map__rating").text(e.rating),t(".m32-map__rating-reviews").html('<a target="_blank" href="'+e.url+'">'+e.user_ratings_total+" reviews</a>"),t(".m32-map__larger-map a").attr("href","https://www.google.co.uk/maps/place/"+e.name.replace(" ","+")),t(".m32-map__rating-stars--foreground").css({width:t(".m32-map__rating-stars").width()*(20*parseFloat(e.rating)/100)+"px"}),t(".m32-map__overlay").animate({opacity:1},500))}),google.maps.event.addDomListener(window,"resize",function(){map.setCenter(i)}),window.MAP.loaded(map)},e}),define("../src/sublayouts/m33-thumbnail-gallery/m33-thumbnail-gallery",["jquery","slick"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=this;this.$mainSlider=t(".m33-thumbnail-gallery__main-carousel"),this.$thumbSlider=t(".m33-thumbnail-gallery__thumb-carousel"),this.$numSlides=t(".m33-thumbnail-gallery__thumb-carousel-slide").length,this.$navSlidesToShow=6,this.$gutter=t(window).width()>=1024?32:16,this.$padding=t(window).width()>=1024?0:32,this.$body=t("body"),this.$html=t("html"),this.$isRTL="rtl"==this.$html.attr("dir"),this.shareOpen=!1,this.ofValue=this.$thumbSlider.data("of-value")||"of",t(".m33-thumbnail-gallery__thumb-carousel-slide").each(function(e){var i=t(this).attr("class"),n=t(this).attr("data-index");t(this).replaceWith("<button class="+i+" data-index="+n+" >"+t(this).html()+"</button>")}),this.initMainCarousel(),this.initThumbCarousel(),this.$html.on("click",function(){e.hideSharePanel()})},e.prototype.initThumbCarousel=function(){var e=this;t(".m33-thumbnail-gallery__share-item, .m33-thumbnail-gallery__share-item-link").on("click",function(t){t.stopPropagation()}),t(".m33-thumbnail-gallery__button--share").on("click",function(t){t.stopPropagation(),e.shareOpen?e.hideSharePanel():e.showSharePanel()}),this.$body.on("click",".m33-thumbnail-gallery__thumb-carousel-slide",function(i){i.stopPropagation(),t(this).parent().find(".m33-thumbnail-gallery__thumb-carousel-slide").each(function(){t(this).removeClass("current")}),t(this).addClass("current"),e.$mainSlider.slick("goTo",t(this).data("index"))}),this.$thumbSlider.on("afterChange",function(i,n,o){var s=Math.ceil((t(this).width()-2*e.$padding-5*e.$gutter)/6);t(this).find(".slick-slide").each(function(){t(this).css({width:s+e.$gutter})})}),this.$thumbSlider.on("init",function(){var i=t(".m33-thumbnail-gallery__thumb-carousel .slick-list"),n=Math.ceil((i.width()-2*e.$padding-5*e.$gutter)/6);if(t(this).find(".slick-slide").each(function(){t(this).css({width:n+e.$gutter})}),e.$numSlides>e.$navSlidesToShow){var o=(n+e.$gutter)*e.$navSlidesToShow*-1;e.$isRTL&&(o=(n+e.$gutter)*e.$navSlidesToShow),t(this).find(".slick-track").css("transform","translate3d("+o+"px, 0px, 0px)")}t(".m33-thumbnail-gallery__thumb-carousel-slide-image").each(function(){t(this).css({width:n,height:n})}),e.$thumbSlider.find("[data-index=0]").addClass("current"),e.updateCaption(t("[data-slick-index=0]").data("caption")),t(".m33-thumbnail-gallery__pagination").text("1 "+e.ofValue+" "+e.$numSlides),t(window).resize(function(){e.$gutter=t(window).width()>=1024?32:16;var i=Math.ceil((e.$thumbSlider.find(".slick-list").width()-5*e.$gutter)/6);t(".m33-thumbnail-gallery__thumb-carousel-slide-image").each(function(){t(this).css({width:i,height:i})}),t(".m33-thumbnail-gallery__thumb-carousel .slick-slide").each(function(){t(this).css({width:i+e.$gutter})})}),e.display()}),this.$thumbSlider.slick({arrows:!0,dots:!1,infinite:!0,variableWidth:!e.$isRTL,speed:750,slidesToShow:e.$navSlidesToShow,slidesToScroll:1,autoplay:!1,pauseOnHover:!1,asNavFor:e.$mainSlider,nextArrow:".m33-thumbnail-gallery__thumb-carousel-button--next",prevArrow:".m33-thumbnail-gallery__thumb-carousel-button--prev",rtl:this.$isRTL}),this.$component.find(".slick-slide").each(function(){void 0!=t(this).attr("aria-describedby")&&t(this).find("img").attr("id",t(this).attr("aria-describedby"))})},e.prototype.hideSharePanel=function(){t(".m33-thumbnail-gallery__share-panel").fadeOut(),this.shareOpen=!1},e.prototype.showSharePanel=function(){t(".m33-thumbnail-gallery__share-panel").fadeIn(),
this.shareOpen=!0},e.prototype.initMainCarousel=function(){var e=this;this.$mainSlider.on("afterChange",function(i,n,o){e.$thumbSlider.find(".m33-thumbnail-gallery__thumb-carousel-slide").each(function(){t(this).removeClass("current")}),e.$thumbSlider.find("[data-index="+o+"]").addClass("current")}),this.$mainSlider.on("beforeChange",function(i,n,o,s){e.updateCaption(t("[data-slick-index="+s+"]").data("caption")),e.updatePagination(s)}),this.$mainSlider.slick({arrows:!0,dots:!1,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,autoplay:!1,autoplaySpeed:3e3,pauseOnHover:!1,asNavFor:e.$thumbSlider,nextArrow:".m33-thumbnail-gallery__main-carousel-button--next",prevArrow:".m33-thumbnail-gallery__main-carousel-button--prev",rtl:this.$isRTL})},e.prototype.updatePagination=function(e){t(".m33-thumbnail-gallery__pagination").text(e+1+" "+this.ofValue+" "+this.$numSlides)},e.prototype.updateCaption=function(e){var i=t(".m33-thumbnail-gallery__caption");i.animate({opacity:0},500,function(){i.text(e),i.animate({opacity:1},500)})},e.prototype.display=function(){this.$mainSlider.css({top:0,position:"relative"}),this.$thumbSlider.css({top:0,position:"relative"})},e}),define("../src/sublayouts/m34-pagination/m34-pagination",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){},e.prototype.showPages=function(){},e.prototype.next=function(){},e.prototype.prev=function(){},e}),define("../src/sublayouts/m36-video-player/m36-video-player",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=this;this.$component.find(".m36-videoplayer-teaser--video").each(function(){t(this).off("click.m36").on("click.m36",function(){var i=t(this).attr("data-iframe");e.$component.find('[data-component="m39-modal"] .m39-modal__content').html(i),e.$component.find('[data-component="m39-modal"] [data-trigger="true"]').click()})})},e}),define("../src/sublayouts/m37-expander/m37-expander",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var i=e.uniqueID(),n=i+"_trigger",o=i+"_content";this.$trigger=this.$component.find("[data-toggle]").eq(0),this.$content=this.$component.find("[data-content]").eq(0),this.$trigger.attr("id",n).attr("aria-controls",o),this.$content.attr("id",o).attr("aria-labelledby",n),this.openTriggerClassname="m37-expander__trigger--open",this.openContentClassname="m37-expander__content--open","true"===this.$content.attr("aria-expanded")&&this.toggle(),this.$trigger.on("click",t.proxy(this.toggle,this));var s=this.$component.find("[ data-pager-update ]");t(s).on("click",function(){})},i.prototype.toggle=function(t){void 0!==t&&t.preventDefault();var e="true"===this.$content.attr("aria-expanded"),i=this.$content.find("[data-parsley-trigger]").eq(0).closest("form");this.$trigger.toggleClass(this.openTriggerClassname),this.$content.attr("aria-expanded",e=!e),this.$content.toggleClass(this.openContentClassname),e&&i.length&&(i.parsley().destroy(),window.setTimeout(function(){i.parsley()},10))},i}),define("../src/sublayouts/m38-step-tracker/m38-step-tracker",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=this;this.totalSteps=parseInt(this.$component.attr("data-total-steps")),this.currentStep=parseInt(this.$component.attr("data-current-step")),this.$progressbar=this.$component.find("[data-m38-progressbar]"),this.build(),this.applyAria(),t(window).off("reinit_m38").on("reinit_m38",function(){e.init()}),"true"==this.$component.attr("data-hasInfo")&&e.buildInfo()},e.prototype.buildInfo=function(){var e=this,i=e.$progressbar.attr("aria-valuetext"),n=e.$component.data("labels").conjunction,o='<div class="m38-steptracker__info-wrapper">'+e.currentStep+" "+n+" "+e.totalSteps+': <span class="m38-steptracker__info-value">'+i+"</span></div>";t(".m38-steptracker__info-wrapper").remove(),e.$component.prepend(o)},e.prototype.build=function(){t(this.$progressbar).html("");for(var e=0;e<this.totalSteps;e+=1){var i=t('<div class="m38-steptracker__step"></div>');this.currentStep>e&&i.addClass("m38-steptracker__step--active"),this.$progressbar.append(i)}},e.prototype.applyAria=function(){this.$progressbar.attr("aria-valuenow",100/this.totalSteps).attr("aria-valuemin",0).attr("aria-valuemax",100)},e}),define("../src/sublayouts/m39-modal/m39-modal",["jquery","lib/utils","mask","spinner","slick","parsley"],function(t,e,i,n,o,s){"use strict";var r=function(t){return this.$component=t,this};return r.prototype.init=function(){var i=e.uniqueID(),n=this,o=i+"_trigger",s=i+"_content",r=i+"_close";this.$content=this.$component.find("[ data-content ]"),this.$close=this.$component.find("[ data-close ]"),this.$body=t("body"),this.$modalContent=this.$component.find(".m39-modal__content"),this.$overlay=t(".m39-modal__overlay"),this.$content.data("content")===!0?this.$trigger=this.$component.find("[ data-trigger ]"):(this.$trigger=t('[ data-accountselector="'+this.$content.data("content")+'" ]'),void 0===this.$trigger[0]&&(this.$trigger=t('[ data-modal-trigger="'+this.$content.data("content")+'" ]'))),this.$trigger.is("button")&&this.$trigger.attr("type","button"),this.$trigger.attr("id",o).attr("aria-controls",s),this.$content.attr("id",i+"_content").attr("aria-labelledby",o),this.$close.attr("id",r).attr("aria-controls",s),this.openContentClassname="m39-modal__container--active",this.$trigger.on("click",function(e){if(n.$component.hasClass("m39-modal--form_binded")){var i=0;t(n.$component.attr("target-form")).parsley().validate(),t(n.$component.attr("target-form")).find(".form-field__input").each(function(){t(this).parsley().isValid()||i++}),0==i&&n.show(e)}else n.show(e)}),this.$close.on("click",t.proxy(this.hide,this)),t(".m39-m12-no").on("click",t.proxy(this.hide,this)),this.$body.on("focusin",t.proxy(this.checkModalFocus,this)),t(document).off("click.m39close").on("click.m39close",function(e){if(t(e.target).is("[data-content]")){var i=t("#"+t("#"+t(e.target).attr("id")).find("[data-close]").attr("id"));i.closest(".m39-modal").hasClass("m39-modal--nofocus")||i.trigger("click")}}),jQuery(".m36-videoplayer--image").off("click.video").on("click.video",function(){if(0==t(this).find(".m36-videoplayer--play").length){var i=jQuery(this).closest(".m36-videoplayer--variant").attr("data-title"),n=jQuery(this).closest(".m36-videoplayer--variant").attr("data-iframe");if(jQuery(".m39-modal--video").find(".m39-modal__title").html(i),jQuery(".m39-modal--video").find(".m39-modal__content").html(n),jQuery(".m39-modal--video").find(".m39-modal__trigger").trigger("click"),jQuery(this).closest(".m36-videoplayer--variant").hasClass("m36-videoplayer--modal")){var o=e.uniqueID(),s=jQuery(this).closest(".m36-videoplayer--variant"),r=jQuery(".m39-modal--video .m39-modal__content").find("video");s.data("vid",o),s.attr("data-vid",o),r.attr("id",o)}}}),jQuery(".m36-videoplayer--play").off("click.video").on("click.video",function(){var t=jQuery(this).closest(".m36-videoplayer--variant").attr("data-title"),e=jQuery(this).closest(".m36-videoplayer--variant").attr("data-iframe");jQuery(".m39-modal--video").find(".m39-modal__title").html(t),jQuery(".m39-modal--video").find(".m39-modal__content").html(e),jQuery(".m39-modal--video").find(".m39-modal__trigger").trigger("click")}),jQuery(".m36-videoplayer--tutorial-link").off("click.video").on("click.video",function(){var t=jQuery(this).closest(".m36-videoplayer--variant").attr("data-title"),e=jQuery(this).closest(".m36-videoplayer--variant").attr("data-iframe");jQuery(".m39-modal--video").find(".m39-modal__title").html(t),jQuery(".m39-modal--video").find(".m39-modal__content").html(e),jQuery(".m39-modal--video").find(".m39-modal__trigger").trigger("click")}),this.disclaimer()},r.prototype.checkModalFocus=function(e){var i=this,n=t(".datepicker").hasClass("active");window.setTimeout(function(){!i.modalOpened||0!==i.$content.find(":focus").length||n||i.$component.hasClass("m39-modal--nofocus")||(e.stopPropagation(),i.$close.click())},1)},r.prototype.show=function(e){var o=this,s=new n(o.$content);s.load(),e.preventDefault(),setTimeout(function(){i.show(),o.$body.addClass("unscrollable"),o.$body.css({position:"static"}),o.setContentBelowHeader(),t(window).on("resize orientationchange",t.proxy(o.setContentBelowHeader,o)),o.$content.attr("aria-expanded",!0),o.$content.addClass(o.openContentClassname),window.setTimeout(function(){s.unload(),t("body").trigger("modal_opened",o)},501),o.modalOpened=!0,t(o.$overlay).css("display","block")},50)},r.prototype.setContentBelowHeader=function(){this.headerHeight=this.$component.find(".m39-modal__header").innerHeight()+"px",this.$modalContent.css("top",this.headerHeight)},r.prototype.hide=function(e){e.preventDefault(),t("body").trigger("modal_closed",this),i.hide(),this.$component.hasClass("m39-modal--video")&&this.$modalContent.empty(),this.$body.removeClass("unscrollable"),this.$body.css({position:""}),this.$content.attr("aria-expanded",!1),this.$content.removeClass(this.openContentClassname),this.modalOpened=!1,this.$trigger.focus(),t(this.$overlay).css("display","none")},r.prototype.autoShow=function(e){setTimeout(function(){t("#"+e).trigger("click")},3e3)},r.prototype.disclaimer=function(){var e=this,i=e.$component.find(".m39-modal--disclaimer_next"),n=["usa","canada","australia","south africa","japan","russia"];i.each(function(){t(this).off("click.disc").on("click.disc",function(){var i=e.$component.find(".m39-modal__content--inner.active"),o=t(this),s=t(this).closest(".m39-modal__dialog "),r=t(this).closest(".m39-modal__footer--inner"),a=i.find(".form-field__input"),l=0;a.each(function(){t(this).parsley().validate(),t(this).parsley().isValid()||l++}),0==l&&(-1==n.indexOf(e.$component.find("select").val().toLowerCase())?(i.next(".m39-modal__content--inner").addClass("active"),r.next(".m39-modal__footer--inner").addClass("active"),r.removeClass("active"),i.removeClass("active"),o.hasClass("expandModal")?s.addClass("expanded"):s.removeClass("expanded")):(t(".m39-modal__content--inner.restricted").addClass("active"),t(".m39-modal__footer--inner.restricted").addClass("active"),r.removeClass("active"),i.removeClass("active")))})})},r}),define("../src/sublayouts/m4-masonry/m4-masonry",["jquery","breakpoint","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){var e=this;if(this.doneMobile=!1,this.masonryInitPromo(),t(window).on("resize.m4",function(){setTimeout(function(){t(window).width()>1024?(e.masonryInit(2),t(".m41-persona-tabs-box__tab-item").off("click.masonry").on("click.masonry",function(){e.masonryInit(2)}),e.doneMobile=!1):t(window).width()>599?(e.masonryInit(1),t(".m41-persona-tabs-box__tab-item").off("click.masonry").on("click.masonry",function(){e.masonryInit(1)}),e.doneMobile=!1):e.doneMobile||(e.destroyCSS(),e.masonryInitMobile(),t(".m41-persona-tabs-box__tab-item").off("click.masonry").on("click.masonry",function(){e.masonryInitMobile()}),e.doneMobile=!0)},251)}),t(window).width()>1024){e.masonryInit(2);var i=this.$component.closest(".m41-persona-tabs-box__tab-panel").attr("data-index"),n=this.$component.closest(".m41-persona-tabs-box__tabs"),o=n.find(".m41-persona-tabs-box__tab-item[data-index="+i+"]");o.off("click.masonry").on("click.masonry",function(){e.masonryInit(2)}),e.doneMobile=!1}else if(t(window).width()>599){e.masonryInit(1);var i=this.$component.closest(".m41-persona-tabs-box__tab-panel").attr("data-index"),n=this.$component.closest(".m41-persona-tabs-box__tabs"),o=n.find(".m41-persona-tabs-box__tab-item[data-index="+i+"]");o.off("click.masonry").on("click.masonry",function(){e.masonryInit(1)}),e.doneMobile=!1}else if(!e.doneMobile){e.masonryInitMobile();var i=this.$component.closest(".m41-persona-tabs-box__tab-panel").attr("data-index"),n=this.$component.closest(".m41-persona-tabs-box__tabs"),o=n.find(".m41-persona-tabs-box__tab-item[data-index="+i+"]");o.off("click.masonry").on("click.masonry",function(){e.masonryInitMobile()}),e.doneMobile=!0}window.setInterval(function(){t(window).trigger("resize.m4")},3e3)},n.prototype.masonryInitPromo=function(){var e=this;this.$component.find(".m4-masonry--item_wrapper_promo").each(function(){var i=t(this).clone();i.removeClass("mobile-hide").addClass("desktop-hide"),e.$component.append(i)})},n.prototype.destroyCSS=function(){this.$component.find(".m4-masonry--item_wrapper").each(function(){t(this).attr("style","")}),this.$component.attr("style","")},n.prototype.masonryInitMobile=function(){var e=this,n=0;this.$component.find(".m4-masonry--item_wrapper").not(".m4-masonry--item_wrapper_promo").each(function(){var n=t(this),o=n.find(".m4-masonry--item"),s=n.find(".m4-masonry--title"),r=n.find(".m6-teaser"),a=0,l=n.find(".m4-masonry--list");t(this).hasClass("m4-masonry--item_wrapperactive")?setTimeout(function(){o.height((s.height()+l.outerHeight(!0)+a+28).toString()+"px")},251):setTimeout(function(){o.height(s.height().toString()+"px")},251),r.height()>0&&"none"!=r.css("display")&&(t(this).hasClass("m4-masonry-service-guide")?(r.each(function(){a=a+t(this).height()+56}),("s"===i.breakpoint()||"m"===i.breakpoint())&&(a=0)):a=r.height()+56),s.off("click.masonry").on("click.masonry",function(){r.height()>0&&"none"!=r.css("display")&&(t(this).hasClass("m4-masonry-service-guide")?(r.each(function(){a=a+t(this).height()+56}),("s"===i.breakpoint()||"m"===i.breakpoint())&&(a=0)):a=r.height()+56),e.$component.find(".m4-masonry--item_wrapperactive").find(".m4-masonry--title").not(s).click(),n.hasClass("m4-masonry--item_wrapperactive")?(o.height(s.height().toString()+"px"),n.removeClass("m4-masonry--item_wrapperactive")):(o.height((s.height()+l.outerHeight(!0)+a+28).toString()+"px"),n.addClass("m4-masonry--item_wrapperactive"))})}),this.getCookie()?e.$component.find(".m4-masonry--item_wrapper").each(function(){var e=t(this);e.addClass("m4-masonry--item_wrapper--instant")}):(e.$component.find(".m4-masonry--item_wrapper").each(function(){var e=t(this);setTimeout(function(){e.addClass("m4-masonry--item_wrapper--show")},n),n+=250}),e.setCookie())},n.prototype.setCookie=function(){document.cookie="dewa_m4="+window.location.href+";"},n.prototype.getCookie=function(){for(var t="dewa_m4=",e=document.cookie.split(";"),i=0;i<e.length;i++){for(var n=e[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(t)&&n.substring(t.length,n.length)==window.location.href)return!0}return null},n.prototype.masonryInit=function(e){var n=this,o=0,s=0,r="left",a=0,l=0;for(i.isRTL()&&(r="right"),this.$component.find(".m4-masonry--item_wrapper").each(function(){t(this).attr("data-column",""),t(this).attr("style",""),e>o?(t(this).attr("data-column",o.toString()),o++):(t(this).attr("data-column",o.toString()),o=0)});e>=s;){var c=this.$component.find('.m4-masonry--item_wrapper[data-column="'+s+'"]'),d=0,h=[];if(c.each(function(){h.push(t(this)[0])}),c.each(function(){var e=h.indexOf(t(this)[0]);if(d+=t(this).outerHeight(!0),e>0){for(var i=0;e>0;)i+=t(h[e-1]).outerHeight(!0),e-=1;t(this).css("top",i.toString()+"px")}}),s>0){for(var u=0,p=s;p>0;)u=u+30+this.$component.find('.m4-masonry--item_wrapper[data-column="'+(s-1)+'"]').width(),p-=1;c.each(function(){t(this).css(r,u.toString()+"px")})}d>l&&(l=d),s++}this.getCookie()?n.$component.find(".m4-masonry--item_wrapper").each(function(){var e=t(this);e.addClass("m4-masonry--item_wrapper--instant")}):(n.$component.find(".m4-masonry--item_wrapper").each(function(){var e=t(this);setTimeout(function(){e.addClass("m4-masonry--item_wrapper--show")},a),a+=250}),n.setCookie()),this.$component.height(l)},n}),define("../src/sublayouts/m40-status-message/m40-status-message",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){this.$component.find("[ data-print ]").on("click",function(){window.print&&window.print()})},e}),define("../src/sublayouts/m40v2-status-message/m40v2-status-message",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){this.$component.find("[ data-print ]").on("click",function(){window.print&&window.print()})},e}),define("../src/sublayouts/m41-persona-tabs-box/m41-persona-tabs-box",["jquery","breakpoint","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){this.$content=t(".m41-persona-tabs-box__tab-panels").clone();var i=this;i.$component.hasClass("m41-persona-tabs-box--scripted")&&(i.hideShow(),i.hideShowToggle()),t(e).on("change",t.proxy(this.respond,this))},n.prototype.hideShow=function(){var e=this;t(".m41-persona-tabs-box__tab-link").off().on("click",function(i){i.preventDefault(),t(".m41-persona-tabs-box__tab-link").each(function(){t(this).removeClass("m41-persona-tabs-box__tab-link--active")}),t(this).addClass("m41-persona-tabs-box__tab-link--active"),e.hideShowToggle()})},n.prototype.hideShowToggle=function(){t(".m41-persona-tabs-box__tab-item").each(function(){if(t(this).find(".m41-persona-tabs-box__tab-link").hasClass("m41-persona-tabs-box__tab-link--active")){var e=t(this).attr("data-index");t(".m41-persona-tabs-box__tab-panel").each(function(){t(this).hide(),t(this).attr("data-index")==e&&t(this).show()})}})},n}),define("../src/sublayouts/m41-tabs-box/m41-tabs-box",["jquery","breakpoint","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){this.$content=t(".m41-tabs-box__tab-panels").clone();var n=this;if(this.$content.find("label").each(function(){var e=n.$content.find("#"+t(this).attr("for")),o=i.uniqueID();e.attr("id",o),t(this).attr("for",o)}),(!n.$component.hasClass("m41-tabs-box--variant")||n.$component.hasClass("m41-tabs-box--variantmobile"))&&0==n.$component.find(".m41-tabs-box--mobile").length||n.$component.hasClass("m41-tabs-box--variantcentered")){var o=i.uniqueID();n.$component.append('<div class="m41-tabs-box--mobile"><div class="form-field form-field--select form-field--select-single"><label for="'+o+'"><span class="aria-only">Label</span></label><span class="form-field__input-wrapper form-field__input-wrapper--select"><select class="m41-tabs-box--select-mobile form-field__input form-field__input--select" id="'+o+'"></select></span></div></div>'),n.$component.hasClass("m41-tabs-box--scripted")&&t(".m41-tabs-box--mobile").find(".m41-tabs-box__tab-panels").length<=0&&(t(".m41-tabs-box--mobile").append(n.$content),jQuery(window).trigger("resize.m77"),window.initComponents("components-reinit"))}if(this.respond(),n.$component.hasClass("m41-tabs-box--scripted")&&(n.hideShow(),n.hideShowToggle()),n.$component.hasClass("m41-tabs-box--variant4_service-guide")&&("s"===i.breakpoint()||"m"===i.breakpoint())){var s=n.$component.find(".m41-tabs-box__tab-items"),r=s.find(".m41-tabs-box__tab-link--active"),a=r.closest(".m41-tabs-box__tab-item");n.autoScroll(a,s)}t(e).on("change",t.proxy(this.respond,this)),this.checkURL()},n.prototype.respond=function(){"s"===i.breakpoint()&&this.setUpMobileView()},n.prototype.setUpMobileView=function(){var e,i=0;t(".m41-tabs-box--select-mobile").empty(),t(".m41-tabs-box__tab-link").each(function(){var n=t(this).html();t(this).hasClass("m41-tabs-box__tab-link--active")&&(e=i),t(".m41-tabs-box--select-mobile").append("<option trigger_index="+i+">"+n+"</option>"),i++}),t(".m41-tabs-box--select-mobile").change(function(){var e=t(this).children(":selected").attr("trigger_index");t(".m41-tabs-box__tab-link")[e].click()}),t(".m41-tabs-box--select-mobile>option").eq(e).prop("selected",!0)},n.prototype.hideShow=function(){var e=this;t(".m41-tabs-box__tab-link").off().on("click",function(i){i.preventDefault(),t(".m41-tabs-box__tab-link").each(function(){t(this).removeClass("m41-tabs-box__tab-link--active")}),t(this).addClass("m41-tabs-box__tab-link--active"),e.hideShowToggle()})},n.prototype.hideShowToggle=function(){t(".m41-tabs-box__tab-item").each(function(){if(t(this).find(".m41-tabs-box__tab-link").hasClass("m41-tabs-box__tab-link--active")){var e=t(this).attr("data-index");t(".m41-tabs-box__tab-panel").each(function(){t(this).hide(),t(this).attr("data-index")==e&&(t(this).show(),jQuery(window).trigger("resize.m77"),window.initComponents("components-reinit"))})}})},n.prototype.checkURL=function(){var e=window.location.href[window.location.href.indexOf("m41index=")+9];this.$component.find(".m41-tabs-box__tab-item").each(function(){t(this).attr("data-index")==e&&t(this).find(".m41-tabs-box__tab-link").click()})},n.prototype.autoScroll=function(t,e){var i=t.offset().left,n=t.parent().offset().left,o=t.outerWidth(),s=t.parent().outerWidth(),r=s/2-o/2,a=i-n-r;e.animate({scrollLeft:a},"slow")},n}),define("../src/sublayouts/m43-account-selector/m43-account-selector",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var e=this;this.refresh(),t(window).on("bind-selector-checkbox",function(){e.resetMultiSelection()}),t(window).off("hellopopulate").on("hellopopulate",function(){e.populate_moveout()}),t(window).off("data_loaded").on("data_loaded",function(){e.init()}),t(document).ready(function(){e.$component.find(".m43-accountsel-hidden").show(),e.$component.find(".m66-preloader").hide()}),t(".m43-accountsel").each(function(){e.defaultSelectedAccount(this)})},i.prototype.defaultSelectedAccount=function(e){var i=t(e).attr("data-selected-account");if(void 0!=i){var n=i.toString().replace(" ","").split(",");0!=n.length&&t(n).each(function(){t(e).find(".m49-list-filter--input").val(this),t(e).find(".m49-list-filter--button").click(),t(e).find(".m43-accountsel__accounts-list").find(".form-field__fakecheckbox").click(),t(e).find(".m43-accountsel__accounts-list").find(".form-field__fakeradio").click(),t(e).find(".button--primary[data-accountupdate=true]").click(),t(e).find(".m49-list-filter-reset-button").click()})}},i.prototype.optimiseForTouchDevices=function(){var e=this,i=this.$component.find(".m39-modal__content").clone();this.$component.find(".m39-modal__content").remove(),t("body").on("modal_opened",function(){e.$component.find(".m39-modal__dialog--account").append(i),e.refresh()}),t("body").on("modal_closed",function(){e.$component.find(".m39-modal__content").remove()})},i.prototype.refresh=function(){var e=this;this.detailsWrapper='[ data-acc-detail="wrapper" ]',this.additionalDetails={accType:'[ data-acc-detail="acc_type" ]',accBusinessPartner:'[ data-acc-detail="acc_businesspartner" ]'},this.additionalDetails2={accType:'[ data-acc-detail="type" ]',accPremise:'[ data-acc-detail="acc_premise" ]',accPremiseType:'[ data-acc-detail="acc_premiseType" ]',accBusinessPartner:'[ data-acc-detail="acc_businesspartner" ]'},this.$selectedAccount=this.$component.find("[ data-accountselector ]"),this.$selectedAccountDetails=this.$selectedAccount.find(this.detailsWrapper),this.$selectedAccountAdditionalsDetails=this.$component.find("[ data-accountsel-additional-details ]"),this.$multiSelectedText=this.$component.find("[ data-acc-multiselected ]"),this.$multiSelectedTextcopy=this.$component.find("[ data-acc-multiselected-copy ]"),this.$errorText=this.$component.find('[ data-modal="errormessage" ]'),this.$accountImages=this.$component.find(' [ data-acc-detail="acc_image" ] '),this.$update=this.$component.find("[ data-accountupdate ]"),this.$close=this.$component.find("[ data-close ]"),this.$accounts=this.$component.find("[ data-input ]"),this.$checkboxes=this.$component.find('[ data-input="checkbox" ]'),this.$tabbers=this.$component.find("[ data-tabber ]"),this.$tabPanels=this.$component.find("[ data-tabpanel ]"),this.$tabStorer=this.$component.find("[ data-tabstorer ]"),this.hasTabs=this.$tabStorer.length>0,this.preventSubmit=this.$selectedAccount.data("preventsubmit"),this.$selectedAccount.on("click",t.proxy(this.stashSelectedInput,this)),this.$update.on("click",t.proxy(this.populate,this)),this.$close.on("click",t.proxy(this.resetSelected,this)),this.$tabbers.on("click",t.proxy(this.switchTabs,this)),this.$currentCheckedCheckboxes={},this.$previousCheckedCheckboxes={},this.minMaxValidated=!0,this.minSelection=this.$selectedAccount.data("minselection"),void 0===this.minSelection&&(this.minSelection=1),this.maxSelection=this.$selectedAccount.data("maxselection"),void 0===this.maxSelection&&(this.maxSelection=99999),this.sequentiallyLoadImages(),dewaGlobal.multiSelectionInputData=[],this.resetMultiSelection();var i=(this.$component.find("[ data-reset-control ]"),this.$component.find("[ data-reset-update ]"));t(i).on("click",function(){e.$currentCheckedCheckboxes={},e.$previousCheckedCheckboxes={},dewaGlobal.multiSelectionInputData=[],e.init();var i=t("#multiselected-copy");i.removeClass("hidden").attr("aria-hidden",!1).text(i.data("acc-multiselected-copy"));var n=t("#multiselected");e.moveout?n.html(t(".moveout_hidden_container").html()):n.addClass("hidden").attr("aria-hidden",!0).text(" ")});var n=this.$component.find("[ data-pager-update ]");if(t(n).on("click",function(){if(e.$selectedAccountDetails=e.$selectedAccount.find(e.detailsWrapper),e.$accounts=e.$component.find("[ data-input ]"),e.$checkboxes=e.$component.find('[ data-input="checkbox" ]'),e.$tabbers=e.$component.find("[ data-tabber ]"),e.$tabPanels=e.$component.find("[ data-tabpanel ]"),e.$tabStorer=e.$component.find("[ data-tabstorer ]"),e.hasTabs=e.$tabStorer.length>0,e.hasTabs){var i=e.$tabbers[t(e.$tabStorer).val()];t(i).click()}e.resetMultiSelection(),e.resetMultiSelected()}),this.hasTabs){var o=this.$tabbers[t(this.$tabStorer).val()];t(o).click();var s=this.$accounts.filter(":checked");t(s).each(function(i,n){var o=t(n).parents(".m43-accountsel__tabpanel")[0],s=t(o).data("tabpanel"),r=t(n),a=r.is(":checked")?1:0;e.updateMultiSelectionData(s,r,a)})}},i.prototype.switchTabs=function(e){var i=t(e.target),n=i.data("tabber"),o=this.$component.find('[ data-tabpanel="'+n+'" ]');e.preventDefault(),this.$tabbers.removeClass("m41-tabs-box__tab-link--active").attr("aria-selected","false"),i.addClass("m41-tabs-box__tab-link--active").attr("aria-selected","true"),this.$tabPanels.addClass("m43-accountsel__tabpanel--hidden").attr("aria-hidden","true"),o.removeClass("m43-accountsel__tabpanel--hidden").attr("aria-hidden","false"),this.$tabStorer.val(n),this.$accounts.off("change"),this.$errorText.addClass("hidden").attr("aria-hidden",!0),this.$update.removeClass("hidden").attr("aria-hidden",!1)},i.prototype.resetSelected=function(){var e;if(this.minMaxValidated===!0){this.$currentCheckedInput.prop("checked",!0);for(e in this.$currentCheckedCheckboxes)this.$currentCheckedCheckboxes.hasOwnProperty(e)&&t("#"+e).prop("checked",this.$currentCheckedCheckboxes[e])}else{this.$previousCheckedInput.prop("checked",!0);for(e in this.$previousCheckedCheckboxes)this.$previousCheckedCheckboxes.hasOwnProperty(e)&&t("#"+e).prop("checked",this.$previousCheckedCheckboxes[e])}},i.prototype.resetMultiSelected=function(){var e=this,i=e.hasTabs?t(e.$tabStorer).val():0,n=t.map(dewaGlobal.multiSelectionInputData,function(t,e){return t.tabindex==i?t:void 0});for(var o in n)t("#"+n[o].id).prop("checked",!0)},i.prototype.resetMultiSelection=function(){var e=this;this.$inputBoxMutiSelection=this.$component.find(".form-field__fakecheckbox"),t(this.$inputBoxMutiSelection).on("click",function(i){var n=e.hasTabs?t(e.$tabStorer).val():0,o=t(this.previousElementSibling),s=o.is(":checked")?0:1;e.updateMultiSelectionData(n,o,s)})},i.prototype.updateMultiSelectionData=function(e,i,n){var o={tabindex:e,id:i.attr("id"),account:i.data("account-number"),name:i.data("account-name"),type:i.data("account-class")},s=t.grep(dewaGlobal.multiSelectionInputData,function(t){return t.account===o.account&&t.tabindex===o.tabindex});0==n?dewaGlobal.multiSelectionInputData=t.grep(dewaGlobal.multiSelectionInputData,function(t,e){return t.account===o.account&&t.tabindex===o.tabindex},!0):0==s.length&&1==n&&dewaGlobal.multiSelectionInputData.push(o)},i.prototype.stashSelectedInput=function(){var e=this;this.$currentCheckedInput=this.$accounts.filter(":checked"),this.$checkboxes.each(function(i,n){e.$currentCheckedCheckboxes[t(n).attr("id")]=t(n).is(":checked")}),this.resetMultiSelected()},i.prototype.findCurrentTabCheckedInputs=function(){var e=this;this.$currentTabChecked=this.$tabPanels.filter('[ data-tabpanel="'+this.$tabStorer.val()+'" ]').find(":checked"),this.$currentTabCheckedCount=t.grep(dewaGlobal.multiSelectionInputData,function(t){return t.tabindex==e.$tabStorer.val()})},i.prototype.populate=function(e){var i,n,o=this;if(this.$previousCheckedInput=this.$currentCheckedInput,this.$previousCheckedCheckboxes=t.extend({},this.$currentCheckedCheckboxes),this.stashSelectedInput(),this.hasTabs?(this.findCurrentTabCheckedInputs(),i=this.$currentTabCheckedCount.length):i=this.$currentCheckedInput.length,0==i&&1==this.minSelection&&1==this.maxSelection)e.preventDefault(),this.$close.click();else if(i>=this.minSelection&&i<=this.maxSelection){switch(this.minMaxValidated=!0,this.clearMessage(this.$multiSelectedText),this.preventSubmit===!0&&e.preventDefault(),i){case 1:if(this.hasTabs){n=this.$currentTabChecked.parent().find(this.detailsWrapper).clone();var s=o.$component.find(".m43accountdetailslink"),r=s.attr("data-url");void 0!=r&&null!=r&&s.attr("href",r+this.$currentTabChecked.parent().find(this.detailsWrapper).find('[data-acc-detail="acc_number"]').html().replace("(","").replace(")",""))}else{n=this.$currentCheckedInput.parent().find(this.detailsWrapper).clone();var s=o.$component.find(".m43accountdetailslink"),r=s.attr("data-url");void 0!=r&&null!=r&&s.attr("href",r+this.$currentCheckedInput.parent().find(this.detailsWrapper).find('[data-acc-detail="acc_number"]').html().replace("(","").replace(")",""))}for(var a in this.additionalDetails2)if(this.additionalDetails2.hasOwnProperty(a)){var l=this.additionalDetails2[a],c=n.find(l);this.$selectedAccountAdditionalsDetails.find(l).text(c.text()),0==c.text().length?this.$selectedAccountAdditionalsDetails.find(l).hide():this.$selectedAccountAdditionalsDetails.find(l).show()}for(var a in this.additionalDetails)if(this.additionalDetails.hasOwnProperty(a)){var l=this.additionalDetails[a],c=n.find(l);n.find(c).parent().remove()}break;default:n="",this.$multiSelectedText.removeClass("hidden").attr("aria-hidden",!1).text(this.$multiSelectedText.data("acc-multiselected").replace("{number}",i));var d=t("#multiselected-copy");d.addClass("hidden").attr("aria-hidden",!0).text(" ")}this.$selectedAccountDetails.html(n),this.$close.click()}else this.minMaxValidated=!1,e.preventDefault(),i<this.minSelection?this.$errorText.text(this.$errorText.data("min-error")):this.$errorText.text(this.$errorText.data("max-error")),this.$errorText.removeClass("hidden").attr("aria-hidden",!1).focus(),this.$update.addClass("hidden").attr("aria-hidden",!0),this.$accounts.on("change",function(){var t;o.hasTabs?(o.findCurrentTabCheckedInputs(),t=o.$currentTabCheckedCount.length):t=o.$accounts.filter(":checked").length,t>=o.minSelection&&(o.$accounts.off("change"),o.$errorText.addClass("hidden").attr("aria-hidden",!0),o.$update.removeClass("hidden").attr("aria-hidden",!1))})},i.prototype.populate_moveout=function(e){var i,n,o=this;this.$previousCheckedInput=this.$currentCheckedInput,this.$previousCheckedCheckboxes=t.extend({},this.$currentCheckedCheckboxes),this.stashSelectedInput(),this.moveout=!0,this.hasTabs?(this.findCurrentTabCheckedInputs(),i=this.$currentTabCheckedCount.length):i=this.$currentCheckedInput.length,0==i&&1==this.minSelection&&1==this.maxSelection?(e.preventDefault(),this.$close.click()):i>=this.minSelection&&i<=this.maxSelection?(this.minMaxValidated=!0,this.clearMessage(this.$multiSelectedText),this.preventSubmit===!0&&e.preventDefault(),1==i?(this.$multiSelectedText.removeClass("hidden").attr("aria-hidden",!1).text(this.$multiSelectedText.data("acc-multiselected-sing").replace("{number}",i)),
o.$component.find(".m43-accountsel__selected").find(".m43-accountsel__account").html("")):(this.$multiSelectedText.removeClass("hidden").attr("aria-hidden",!1).text(this.$multiSelectedText.data("acc-multiselected").replace("{number}",i)),o.$component.find(".m43-accountsel__selected").find(".m43-accountsel__account").html("")),this.$selectedAccountDetails.html(n),this.$close.click()):(this.minMaxValidated=!1,e.preventDefault(),i<this.minSelection?this.$errorText.text(this.$errorText.data("min-error")):this.$errorText.text(this.$errorText.data("max-error")),this.$errorText.removeClass("hidden").attr("aria-hidden",!1).focus(),this.$update.addClass("hidden").attr("aria-hidden",!0),this.$accounts.on("change",function(){var t;o.hasTabs?(o.findCurrentTabCheckedInputs(),t=o.$currentTabCheckedCount.length):t=o.$accounts.filter(":checked").length,t>=o.minSelection&&(o.$accounts.off("change"),o.$errorText.addClass("hidden").attr("aria-hidden",!0),o.$update.removeClass("hidden").attr("aria-hidden",!1))}))},i.prototype.clearMessage=function(t){t.addClass("hidden").attr("aria-hidden",!0).text("")},i.prototype.sequentiallyLoadImages=function(e){function i(e,i){var n=t.Deferred(),o=t(i).data("src");return i.onload=function(){n.done()},o?i.src=o:n.done(),n.promise()}var n,o,s=this,r=s.$accountImages,a=[],l=10;e=e||0,n=e+l,o=r.slice(e,n),a.push(o.each(i)),t.when.apply(t,a).always(function(t){n<r.length&&s.sequentiallyLoadImages(n)})},i}),define("../src/sublayouts/m44-bill-selector/m44-bill-selector",["jquery","lib/utils","numeral"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var e=this;dewaGlobal.billAccountsListSelected=[],this.$checkboxes=this.$component.find('[ data-input="checkbox" ]'),this.$total=this.$component.find(".m44-bill-selector__total .m42-keyvalue--justified-dd"),this.$selectionTotal=this.$component.find(".m44-bill-selector__total .m42-keyvalue__key"),this.$selectionAccountPlural=this.$selectionTotal.find(".m44-account-plural"),this.suffix=this.$component.data("currency-suffix"),this.$accountImages=this.$component.find(' [ data-acc-detail="acc_image" ] '),this.$nextButton=t("[data-m44-next]"),this.$component.on("change",'[ data-input="checkbox" ]',function(i){i.stopImmediatePropagation();var n=t(this),o=n.is(":checked")?1:0;e.updateMultiSelectionData(n,o),e.updateTotal()}),this.$component.on("click",".m44-bill-selector__review-details--edit",function(i){e.isolateEvent(i),e.showEditAmountForm(t(this))}),this.$component.on("click",".m44-bill-selector__deselect","click",function(i){e.isolateEvent(i),1==t(this).data("state")?(t(this).data("state",0),t(this).text(t(this).data("select")),e.$checkboxes.each(function(){t(this).hasClass("disabled")||t(this).prop("checked",!1)}),e.billAccountsListSelected=[]):(t(this).data("state",1),t(this).text(t(this).data("deselect")),e.$checkboxes.each(function(){t(this).hasClass("disabled")||t(this).prop("checked",!0)}),e.billAccountsListSelected=e.billAccountsList),e.updateTotal()}),t(window).on("updatetotal",function(){e.updateTotal()}),this.$component.on("click",".m44-bill-selector__review-form-button--cancel","click",function(i){e.isolateEvent(i),e.hideEditAmountForm(t(this))}),this.$component.on("click",".m44-bill-selector__submit .button","click",function(i){e.isolateEvent(i);var n=t(this).closest("form"),o=n.parsley().isValid();o&&n.submit()}),this.$nextButton.on("click",function(i){t(this).is("[disabled]")&&i.preventDefault(),dewaGlobal.billAccountsListSelected=e.billAccountsListSelected}),this.paymentMax=this.$component.data("payment-max"),this.isBillSelectorPage=this.$component.find(".m44-bill-selector__account--select").length>0?!0:!1,this.billAccountsList=[],this.billAccountsListSelected=[],e.$component.hasClass("m44-bill-selectorEV")?this.isBillSelectorPage&&setTimeout(function(){e.billAccountsList=t.map(dewaGlobal.billAccountsList,function(t,e){return{Index:t.index,Platenumber:t.Platenumber,Balance:parseFloat(t.Totalamount)}}),e.$component.hasClass("m44-bill-selectorEV")||(e.billAccountsListSelected=e.billAccountsList)},1500):this.isBillSelectorPage&&setTimeout(function(){e.billAccountsList=t.map(dewaGlobal.billAccountsList,function(t,e){return{AccountNumber:t.AccountNumber,Active:t.Active,Balance:t.Balance,BusinessPartnerNumber:t.BusinessPartnerNumber}}),e.$component.hasClass("m44-bill-selectorEV")||(e.billAccountsListSelected=e.billAccountsList)},1500),this.$checkboxes.each(function(){e.populateTotals(t(this))}),this.$component.find(".m44-bill-selector__account--review").length&&(this.reviewMode=!0,this.$submit=this.$component.find(".m44-bill-selector__submit > button"),this.$hiddenTotal=this.$component.find("#form-field-billtotal"),this.initReviewTotal(),t(".m44-bill-selector").on("blur change",".form-field__input--text",function(i){i.stopPropagation(),e.editTotal(t(this))})),this.$component.find(".m44-bill-selector__account--select").length&&e.updateTotal(),this.sequentiallyLoadImages();var i=this.$component.find("[ data-pager-update ]");t(i).on("click",function(){e.$checkboxes=e.$component.find('[ data-input="checkbox" ]'),e.$total=e.$component.find(".m44-bill-selector__total .m42-keyvalue--justified-dd"),e.$selectionTotal=e.$component.find(".m44-bill-selector__total .m42-keyvalue__key"),e.$selectionAccountPlural=e.$selectionTotal.find(".m44-account-plural"),e.suffix=e.$component.data("currency-suffix"),e.$accountImages=e.$component.find(' [ data-acc-detail="acc_image" ] '),e.$checkboxes.each(function(){if(e.populateTotals(t(this)),e.$component.hasClass("m44-bill-selectorEV"))var i=Number(t(this).data("index")),n=t.grep(e.billAccountsListSelected,function(t){return t.Index===i});else var o=t(this).data("account-number").toString(),n=t.grep(e.billAccountsListSelected,function(t){return t.AccountNumber===o});n.length>0?t(this).prop("checked",!0):t(this).prop("checked",!1)}),e.updateTotal()}),setTimeout(function(){t(".m44-bill-selector__deselect").trigger("click"),t(".m44-bill-selector__deselect").trigger("click"),t(".m66-preloader.j105-drrg--loader").hide(),t("body").removeClass("unscrollable")},2e3)},i.prototype.updateMultiSelectionData=function(e,i){var n=this;if(n.$component.hasClass("m44-bill-selectorEV")){var o={Platenumber:e.data("account-number").toString(),Active:Boolean(e.data("active")),Balance:Number(e.data("balance")),Index:Number(e.data("index")),BusinessPartnerNumber:e.data("business-partner-number").toString()},s=t.grep(this.billAccountsListSelected,function(t){return t.Index===o.Index});0==i?this.billAccountsListSelected=t.grep(this.billAccountsListSelected,function(t,e){return t.Index===o.Index},!0):0==s.length&&1==i&&this.billAccountsListSelected.push(o)}else{var o={AccountNumber:e.data("account-number").toString(),Active:Boolean(e.data("active")),Balance:Number(e.data("balance")),BusinessPartnerNumber:e.data("business-partner-number").toString()},s=t.grep(this.billAccountsListSelected,function(t){return t.AccountNumber===o.AccountNumber});0==i?this.billAccountsListSelected=t.grep(this.billAccountsListSelected,function(t,e){return t.AccountNumber===o.AccountNumber},!0):0==s.length&&1==i&&this.billAccountsListSelected.push(o)}},i.prototype.isolateEvent=function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()},i.prototype.showEditAmountForm=function(e){t(e).closest(".m44-bill-selector__account--review").find(".m44-bill-selector__review-form").css({height:"auto"})},i.prototype.hideEditAmountForm=function(e){var i=t(e).closest(".m44-bill-selector__account--review");i.data("bill-partial",i.data("bill-amount")),i.find(".form-field__input--text").val(i.data("bill-amount")),i.find(".m44-bill-selector__review-form").css({height:"0"}),this.updateReviewTotal()},i.prototype.editTotal=function(t){t.closest(".m44-bill-selector__account--review").data("bill-partial",Number(t.val())),this.updateReviewTotal()},i.prototype.getReviewTotal=function(i){var n=this,o=0;e.isRTL()?"‏":"";return this.$component.find(".m44-bill-selector__account--review").each(function(){var e=t(this);i&&(e.find("input[data-parsley-currency]").length&&e.data("bill-partial").toString()!==e.find("input[data-parsley-currency]").val()&&(n.showEditAmountForm(e.find(".m44-bill-selector__review-details--edit")),e.data("bill-partial",Number(e.find("input[data-parsley-currency]").val()))),e.find("button").text(n.getFormattedValue(e.data("bill-amount"),n.suffix))),e.data("bill-amount")!=e.data("bill-partial")?e.data("bill-partial")>0&&(o+=Number(e.data("bill-partial"))):e.data("bill-amount")>0&&(o+=Number(e.data("bill-amount"))),n.reviewMode&&(n.$hiddenTotal.val(o.toFixed(2)).parsley().validate(),o.toFixed(2)>0&&o.toFixed(2)<=parseFloat(n.paymentMax)?n.$submit.removeAttr("disabled").removeClass("disabled"):n.$submit.attr("disabled",!0).addClass("disabled"))}),parseFloat(o).toFixed(2)},i.prototype.updateReviewTotal=function(){this.updateDisplay(this.getReviewTotal())},i.prototype.initReviewTotal=function(){this.updateDisplay(this.getReviewTotal(!0))},i.prototype.updateDisplay=function(i){var n=this.$component.data("currency-suffix");e.isRTL()?"‏":"";t(this.$component).data("bill-total",i),t(this.$component).find(".amount_label").text(this.getFormattedValue(i,n))},i.prototype.updateTotal=function(){var i=this,n=0;e.isRTL()?"‏":"";t(this.billAccountsListSelected).each(function(t,e){var i=e.Balance;i>0&&(n+=i)}),0>=n&&(n="0.00"),n=parseFloat(n).toFixed(2),t(this.$component).data("bill-total",n),this.$total.text(this.getFormattedValue(n,i.suffix)),this.updateSelectCount()},i.prototype.updateSelectCount=function(){var t=this.billAccountsListSelected.length;this.$selectionTotal.find(".m44-account-count").text(t),1===t&&this.$selectionAccountPlural.text()!==this.$selectionAccountPlural.data("single")?this.$selectionAccountPlural.text(this.$selectionAccountPlural.data("single")):1!==t&&this.$selectionAccountPlural.text()!==this.$selectionAccountPlural.data("plural")&&this.$selectionAccountPlural.text(this.$selectionAccountPlural.data("plural")),t>0?this.$nextButton.removeClass("disabled").removeAttr("disabled"):this.$nextButton.addClass("disabled").attr("disabled",!0)},i.prototype.populateTotals=function(e){var i=this,n=e.closest(".form-field__checkbox--billselector"),o=n.find(".m44-bill-selector__account--select"),s=this.$component.data("currency-suffix");o.each(function(){n.find("button").text(i.getFormattedValue(t(this).data("bill-amount"),s))})},i.prototype.getFormattedValue=function(t,i){var n=e.isRTL()?"‏":"",o=numeral(parseFloat(t)).format("0,0.00");return n+o+" "+i},i.prototype.sequentiallyLoadImages=function(e){function i(e,i){var n=t.Deferred(),o=t(i).data("src");return i.onload=function(){n.done()},o?i.src=o:n.done(),n.promise()}var n,o,s=this,r=s.$accountImages,a=[],l=10;e=e||0,n=e+l,o=r.slice(e,n),a.push(o.each(i)),t.when.apply(t,a).always(function(t){n<r.length&&s.sequentiallyLoadImages(n)})},i}),define("../src/sublayouts/m45-estimate-selector/m45-estimate-selector",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var e=this;this.$menu=this.$component.find("[data-menu]"),this.$menuTrigger=this.$component.find("[data-accountselector]"),this.$options=this.$menu.find("input"),this.$billDetails=this.$component.find("[data-bill-details]"),this.$close=this.$component.find("[ data-close ]"),this.$activeClassname="m45-estimate-selector__active",this.$activeBill=this.$billDetails.eq(0),this.$update=this.$component.find("[ data-accountupdate ]"),this.$paymentAmount=this.$component.find("[data-payment-amount]"),this.$submit=this.$paymentAmount.parent("button"),this.$errorMessage=this.$component.find(".m45-estimate-selector--error"),this.$paymentMax=this.$component.data("payment-max"),this.$editAmount=t(".m45-estimate-selector--amount-pay-form-input").find("input"),t(".m45-estimate-selector--edit-amount").on("click",function(){t(".m45-estimate-selector--amount-pay-form").addClass("m45-estimate-selector--amount-pay-form-active"),e.$submit.attr("disabled",!0).addClass("disabled"),t(".m45-estimate-selector--amount-utils").addClass("m45-estimate-selector--amount-utils-hide"),t(".m45-estimate-selector--amount-pay-form-input").find("input").val(t("#estimatedamount").val())}),t(".m45-estimate-selector--amount-pay-form-button--set").on("click",function(){e.setAmount()}),t(".m45-estimate-selector--amount-pay-form-button--cancel").on("click",function(){t(".m45-estimate-selector--amount-pay-form").removeClass("m45-estimate-selector--amount-pay-form-active"),t(".m45-estimate-selector--amount-utils").removeClass("m45-estimate-selector--amount-utils-hide"),e.$submit.removeAttr("disabled").removeClass("disabled"),e.$errorMessage.removeClass("on"),t(".m45-estimate-selector--amount-pay-form-input").find("input").val(parseFloat(e.$activeBill.data("bill-amount").toString().replace(/,/g,""))),t(".m45-estimate-selector--amount-pay-form-input").find("input").blur()}),this.updateActiveBill(),this.bindEvents()},i.prototype.setAmount=function(){var e=this,i=numeral(parseFloat(e.$editAmount.val())),n=parseInt(e.$activeBill.data("bill-amount").toString().replace(/,/g,"")),o=1e-5;i>e.$paymentMax||0>=i||i>n||isNaN(i)?(this.$errorMessage.children().css("display","none"),this.$submit.attr("disabled",!0).addClass("disabled"),this.$errorMessage.addClass("on"),i>n?this.$errorMessage.find(".error-one").css("display","block"):(o>=i||isNaN(i))&&this.$errorMessage.find(".error-two").css("display","block")):(this.$errorMessage.children().css("display","none"),this.$submit.removeAttr("disabled").removeClass("disabled"),this.$errorMessage.removeClass("on"),t(".m45-estimate-selector--amount-pay-form").removeClass("m45-estimate-selector--amount-pay-form-active"),t(".m45-estimate-selector--amount-utils").removeClass("m45-estimate-selector--amount-utils-hide"),this.updateEditBill())},i.prototype.bindEvents=function(){var e=this;this.$options.on("click",function(){e.select(t(this))}),this.$update.on("click",function(t){t.preventDefault(),e.$close.click()})},i.prototype.updateActiveBill=function(){t(".m45-estimate-selector--amount-pay-form-input").find("input");this.$activeBill.addClass(this.$activeClassname),this.$menuTrigger.empty().append(this.$activeBill.find("[data-bill-summary]").clone()),t(".m45-estimate-selector--amount-selected").html(numeral(parseFloat(this.$activeBill.data("bill-amount").toString().replace(/,/g,""))).format("0,0.00")),t("#estimatedamount").attr("value",numeral(parseFloat(this.$activeBill.data("bill-amount").toString().replace(/,/g,"")))),this.$paymentAmount.html(numeral(parseFloat(this.$activeBill.data("bill-amount").toString().replace(/,/g,""))).format("0,0.00"))},i.prototype.updateEditBill=function(){var e=t(".m45-estimate-selector--amount-pay-form-input").find("input"),i=this;t(".m45-estimate-selector--amount-selected").html(numeral(e.val()).format("0,0.00")),t("#estimatedamount").attr("value",numeral(e.val())),this.$paymentAmount.html(numeral(e.val()).format("0,0.00"));var n=numeral(e.val()).format("0,0.00");t(".m45-estimate-selector--amount-selected").html(n),t("#estimatedamount").attr("value",numeral(e.val())),i.$paymentAmount.html(n)},i.prototype.select=function(t){var e=t.data("id");this.$activeBill.removeClass(this.$activeClassname),this.$activeBill=this.$component.find("[data-bill-details-id="+e+"]"),this.updateActiveBill()},i}),define("../src/sublayouts/m47-new-video-gallery/m47-new-video-gallery",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){this.initGallery(),t(".m47-new-video-gallery--playlistToggle").on("click",function(){t(this).toggleClass("icon-open"),t(this).toggleClass("icon-close"),t(".m47-new-video-gallery--playlist").toggleClass("m47-new-video-gallery--playlist_active")})},i.prototype.initGallery=function(){var e=this,i=this.$component.find(".m47-new-video-gallery--playlist"),n=t(this.$component.data("video").list),o=0;n.each(function(){i.append('<div class="m47-new-video-gallery--playlist_item" data-index='+o+' data-id="'+this.id+'"><img alt="'+this.title+'" class="m47-new-video-gallery--playlist_thumb" src="'+this.img+'"><div class="m47-new-video-gallery--playlist_details"><div class="m47-new-video-gallery--playlist_title">'+this.title+'</div><div class="m47-new-video-gallery--playlist_len">'+this.len+'</div><div class="m47-new-video-gallery--playlist_date">'+this.DoP+"</div></div></div>"),o++}),t(".m47-new-video-gallery--playlist_item").each(function(){var i=t(this);i.on("click",function(){i.hasClass("m47-new-video-gallery--playlist_item--active")||(t(".m47-new-video-gallery--playlist_item").each(function(){t(this).removeClass("icon-play m47-new-video-gallery--playlist_item--active")}),e.loadVideo(n[i.attr("data-index")]),i.addClass("icon-play m47-new-video-gallery--playlist_item--active"))})}),e.loadVideo(n[0]),t(".m47-new-video-gallery--playlist_item:first-child").addClass("icon-play m47-new-video-gallery--playlist_item--active")},i.prototype.loadVideo=function(t){var e=this.$component.find(".m47-new-video-gallery--player"),i=this.$component.find(".m47-new-video-gallery--playertitle"),n=this.$component.find(".m47-new-video-gallery--playerpub"),o=this.$component.find(".m47-new-video-gallery--playerlen"),s=this.$component.find(".m47-new-video-gallery--playerdesc");e.find(".m47-new-video-gallery__videoplayer--inner").attr("src","https://www.youtube.com/embed/"+t.id+"?autoplay=1&rel=0&modestbranding=1"),e.find(".m47-new-video-gallery__videoplayer--inner").attr("title",t.title),i.html(t.title),n.find("span").html(t.DoP),o.find("span").html(t.len),s.html('<p class="mt12">'+t.desc.split(/\n/).join('</p><p class="mt12">')+"</p>")},i}),define("../src/sublayouts/m48-payment-total-submit/m48-payment-total-submit",["jquery","lib/utils","numeral"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){this.$input=t("#form-field-editpayment"),this.$total=this.$component.find("#form-field-billtotal"),this.$amountLabel=this.$component.find(".amount_label"),this.$submit=this.$component.find(".m48-payment-total-submit--button"),this.suffix=this.$component.data("currency-suffix"),this.billDefault=this.$component.data("bill-default"),this.paymentMax=this.$component.data("payment-max"),this.updateTotal(),this.$input.on("blur change",t.proxy(this.updateTotal,this)),this.$input.parents(".edit-toggle__input-wrapper").find(".edit-toggle__cancel > button").on("click",t.proxy(function(){this.$input.val(""),this.updateTotal()},this))},i.prototype.updateTotal=function(){var t=this.$input.val();parseFloat(t)<=0&&(t="0.00 "+this.suffix),""===t&&(t=this.billDefault),t=parseFloat(t).toFixed(2),this.$total.val(t).parsley().validate(),this.$amountLabel.text(this.getFormattedValue(t,this.suffix)),t>0&&t<=parseFloat(this.paymentMax)?this.$submit.removeAttr("disabled").removeClass("disabled"):this.$submit.attr("disabled",!0).addClass("disabled")},i.prototype.getFormattedValue=function(t,i){var n=e.isRTL()?"‏":"",o=numeral(parseFloat(t)).format("0,0.00");return n+o+" "+i},i}),define("../src/sublayouts/m49-list-filter/m49-list-filter",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var e=this;this.listIdentifier=this.$component.data("filter-list"),this.$input=this.$component.find(".m49-list-filter--input"),this.$filterButton=this.$component.find(".m49-list-filter--button"),this.$listContainer=t(this.listIdentifier),this.$filterItems=this.$listContainer.find(".form-field__checkbox, .form-field__radio"),this.$bpSections=t(".m44-bill-selector__partner, .m43-accountsel__group, .m51-smart-wallet__partner"),this.$noMatches=this.$listContainer.find(".m49-no-matches, + .m49-no-matches"),this.$filterButton.on("click",t.proxy(this.filterList,this)),t(window).on("data_loaded",function(){e.init()})},i.prototype.filterList=function(){var e,i=this.$input.val();this.$filterItems.each(function(e,n){var o=t(n);""===i||o.find(".form-field__input--radio:checked").length||o.find('[data-acc-detail="acc_number"]').text().indexOf(i)>=0||o.find(".m43-accountsel__name, .m44-bill-selector__name, .m51-smart-wallet__name").children(":first-child").text().toLowerCase().indexOf(i.toLowerCase())>=0||o.find(".m45-estimate-selector__id").text().indexOf(i)>=0?o.show():o.hide(400,function(){})}),window.setTimeout(t.proxy(function(){e=this.$filterItems.filter(":visible"),""===i||e.find('[data-acc-detail="acc_number"]').text().indexOf(i)>=0||e.find(".m43-accountsel__name, .m44-bill-selector__name, .m51-smart-wallet__name").children(":first-child").text().toLowerCase().indexOf(i.toLowerCase())>=0||e.find(".m45-estimate-selector__id").text().indexOf(i)>=0?this.$noMatches.hide():this.$noMatches.show()},this),5),this.$bpSections.length&&this.$bpSections.each(function(e,i){var n=t(i),o=n.find(".m44-bill-selector__accounts-list, .m43-accountsel__accounts-list, .m51-smart-wallet__accounts-list"),s=o.find(".form-field__checkbox, .form-field__radio");s.filter('[style*="display:none;"], [style*="display: none;"]').length===s.length?n.hide():n.show()})},i}),define("../src/sublayouts/m55-rammas/m55-rammas",["jquery","tooltipster","lib/utils","parsley"],function(t,e,i,n){"use strict";var o=function(t){return this.$component=t,this};return o.prototype.init=function(){var e=this;this.labels=t(this.$component).data("labels"),this.initRammas(),this.bind_loading(),t(".wc-console").next("iframe").remove(),t(".wc-send").off().on("click",function(){0!=t(".wc-shellinput").val().length&&(e.loading(),e.bind_loading()),setTimeout(function(){0!=t(".wc-shellinput").val().length?t(".wc-send").hasClass("active")||t(".wc-send").addClass("active"):t(".wc-send").removeClass("active")},500)}),t(".wc-shellinput").on("keydown",function(i){13===i.keyCode&&0!=t(".wc-shellinput").val().length&&(e.loading(),e.bind_loading()),0!=t(this).val().length&&(t(".wc-send").hasClass("active")||t(".wc-send").addClass("active"))}),t(".wc-shellinput").on("keyup",function(e){0==t(this).val().length&&t(".wc-send").removeClass("active")}),t(".m55-rammas-active--close-button").on("click",function(){t(".m55-rammas--input-inject").css("height","unset"),t(".m55-rammas--input-inject").css("overflow","unset"),t(".m55-rammas--input-bg").remove()}),void 0==this.labels.src&&(this.labels.src="../../images/rammas_icon.gif"),t(".wc-message-group-welcome").append('<img class="m55-rammas--welcome_icon" src="'+this.labels.src+'">'),this.labels.FL&&t(".wc-message-group-welcome").append('<div class="m55-rammas--welcome_FL">'+this.labels.FL+"</div>"),t(window).on("resize",function(){e.initRammas()}),this.share_rammas(),this.toggleVoice(),this.disclaimer_fn(),t(".m55-rammas--mute, .m55-rammas--share").each(function(){var e=t(this).attr("data-alt");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})})},o.prototype.disclaimer_fn=function(){var e,i=this.$component.find(".m55-rammas--disclaimer_next"),n=this.$component.find(".m55-rammas--disclaimer_prev"),o=this.$component.find(".m55-rammas--disclaimer_content"),s=this.$component.find(".recaptcha_check");o.each(function(){t(this).hasClass("m55-rammas--disclaimer_contentactive")&&(e=t(this))}),i.off("click.disclaimer").on("click.disclaimer",function(){var o=0;e.find(".form-field__input").each(function(){t(this).parsley().validate(),t(this).parsley().isValid()||o++}),"false"==s.attr("data-checked").toLowerCase()&&o++,0==o&&(e.fadeOut(),i.fadeOut(),setTimeout(function(){n.fadeIn(),e.next().fadeIn(),i.next().fadeIn()},400))}),n.off("click.disclaimer").on("click.disclaimer",function(){n.fadeOut(),e.next().fadeOut(),e.closest(".m39-modal__dialog").find(".msgcontent").fadeOut(),i.next().fadeOut(),setTimeout(function(){e.closest(".rammasExportChat").fadeIn(),e.fadeIn(),i.fadeIn()},400)})},o.prototype.bind_loading=function(){var e=this;t(".wc-message-group-content").off("DOMSubtreeModified.event").on("DOMSubtreeModified.event",function(){setTimeout(function(){t(".ac-pushButton").each(function(){t(this).off("click.loading").on("click.loading",function(){e.loading()})}),e.bind_loading()},500)})},o.prototype.loading=function(){var e=t(".m55-rammas--loading").clone(),i=t(".wc-message-group-content").find(".wc-message-from-bot").length;t(".wc-message-group-content").append(e),t("audio").trigger("pause"),setTimeout(function(){t(".wc-message-groups").scrollTop(t(".wc-message-group-content").height())},10),e.addClass("m55-rammas--loading-clone").removeClass("hide"),jQuery("audio").trigger("stop"),t(".wc-message-group-content").off("DOMSubtreeModified.loading").on("DOMSubtreeModified.loading",function(){i+2!=t(".wc-message-group-content").find(".wc-message-from-bot").length&&(t(".m55-rammas--loading-clone").remove(),t(this).off())}),setTimeout(function(){t(".m55-rammas--loading-clone").remove()},5e3)},o.prototype.toggleVoice=function(){jQuery("#BotChatGoesHere").off("DOMSubtreeModified.voice").on("DOMSubtreeModified.voice",function(){jQuery(".wc-adaptive-card.audio").each(function(){1!=jQuery(this).closest(".wc-list").children().length||jQuery(this).closest(".wc-list").prev(".format-markdown").length>0?(jQuery(this).closest(".wc-list").children().length>1||jQuery(this).closest(".wc-list").prev(".format-markdown").length>0)&&jQuery(this).addClass("wc-message-wrapper_audio").hide():jQuery(this).closest(".wc-message-wrapper").addClass("wc-message-wrapper_audio").hide()})}),jQuery(".m55-rammas--mute").off("click.voice").on("click.voice",function(){jQuery(this).toggleClass("voice_muted"),jQuery(this).hasClass("voice_muted")?(jQuery(".m55-rammas").off("DOMSubtreeModified.mutevoice").on("DOMSubtreeModified.mutevoice",function(){jQuery(".wc-card.audio").find("audio").off("play.voice").on("play.voice",function(){jQuery(this).prop("muted","muted")})}),jQuery(".wc-card.audio").find("audio").off("play.mutevoice").on("play.mutevoice",function(){jQuery(this).prop("muted","muted")}),jQuery(".wc-card.audio").find("audio").each(function(){jQuery(this).prop("muted","muted")})):(jQuery(".m55-rammas").off("DOMSubtreeModified.mutevoice"),jQuery(".wc-card.audio").find("audio").off("play.mutevoice"),jQuery(".wc-card.audio").find("audio").each(function(){jQuery(this).prop("muted",!1)}))})},o.prototype.initRammas=function(){var e=t(".warning notification-newstyle"),i=t(".m71-cookie"),n=t("header"),o=e.length>0?e.outerHeight(!0):null,s=i.length>0?i.outerHeight(!0):null,r=n.length>0?n.outerHeight(!0):null,a=t(window).height()-r-o-s-60,l=t(".box--7"),c=t(l).find(".m55-rammas"),d=t(l).find(".wc-message-group-content");c.css("height",(a-15).toString()+"px"),t(window).height()>=400&&t(d).css("margin-top",((c.height()-d.height())/2).toString()+"px")},o.prototype.share_rammas=function(){var e=this;jQuery(".m55-rammas--share").on("click.share_rammas").on("click.share_rammas",function(){t(".m40v2-status-message").hide(),t(".fieldset").show(),t(".m55-rammas--shareModal_clone").show(),t(".g-recaptcha").show();var i=jQuery("#BotChatGoesHere").find(".wc-message-group-content").clone();i.find(".wc-message-wrapper_audio").each(function(){jQuery(this).remove()}),jQuery(".m55-rammas--shareModal_clone").html(""),jQuery(".m55-rammas--shareModal_clone").append(i),jQuery(".m55-rammas--shareModal_clone").find(".wc-message-group-content").css({marginTop:"36px",overflow:"visible"}),jQuery(".m55-rammas--shareModal_clone").find(".wc-message-group-welcome").remove(),jQuery(".m55-rammas--shareModal_clone").find(".wc-message-wrapper_audio").each(function(){jQuery(this).remove()}),jQuery(".m55-rammas--shareModal_clone").find(".wc-message-from-me").each(function(){jQuery(this).prepend('<div class="wc-message-from-me_icon"></div>')}),jQuery(".m55-rammas--shareModal_clone").find(".wc-message-from-bot").each(function(){jQuery(this).prepend('<div class="wc-message-from-bot_icon"></div>')}),e.share_rammasdumm(),jQuery(".m55-rammas--shareModal").find('button[data-trigger="true"]').click()})},o.prototype.share_rammasdumm=function(){var e='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Rammas</title> <style type="text/css">p{margin: 0px;} .wc-message-callout{display: none;}</style></head> <body style="background-color: #f9f9f9;"> <div> <div style="margin-bottom: 12px;"><div style=" width: 49%; display: inline-block; padding-left: 1%; "><img alt="" height="50" src="http://www.dewa.gov.ae/iphone/rammas/images/govlogo.png"></div><div style=" width: 49%; display: inline-block; text-align: right; padding-right: 1%; "><img alt="" height="50" src="http://www.dewa.gov.ae/iphone/rammas/images/dewalogo.png"></div> </div> <div style=" font-weight: bold; color: #FFFFFF; background-color: #087B36; text-align: center; font-size: 20px; padding: 8px; font-family: Arial, Helvetica, sans-serif;">'+this.$component.attr("data-title")+"</div> </div>",n=t(".rammas_disclaimer").html(),o=n+"</body></html>",s="left",r="ltr";i.isRTL()?(s="right",r="rtl"):(s="left",r="ltr");var a='<div style="font-family: Arial, Helvetica, sans-serif; direction: '+r+"; text-align:"+s+'">';jQuery(".m55-rammas--shareModal_clone").find(".wc-message").each(function(){var t="";if(jQuery(this).hasClass("wc-message-from-bot"))if(jQuery(this).find(".wc-carousel").length>0){var e='<div style="overflow: auto; padding: 4px 2px; margin-bottom: 12px;"><div style="float:left; margin-left:4px;">';jQuery(this).find(".wc-carousel-item").each(function(){0!=jQuery(this).text().trim().length&&(e=e+'<div style="overflow: hidden; text-overflow: ellipsis; display:block; flex: 0 1 auto;background: transparent; border: solid 1px #268126; color: #268126; border-radius: 10px; padding: 8px 16px; font-weight: 600; font-size: 14px; white-space: unset !important; line-height: 1.25; outline: none;float: left; margin-right: 8px; margin-top:4px;">'+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</div>")}),e+="</div></div>",t+=e}else if(jQuery(this).find(".wc-list").length>0){var i="",n=!1;0!=jQuery(this).find(".format-markdown").text().trim().length&&(i=i+'<div style="overflow: auto; padding: 4px 2px;text-align:left; margin-bottom: 12px;"><div style="display:inline-block"><img src="http://www.dewa.gov.ae/iphone/rammas/images/dewaicon.png" style="margin-bottom:12px; width: 35px; height: 35px; text-align: left; float: left;"><div style=" background-color: #ffffff; color: #4e4e4e; border-radius: 0px 20px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; max-width: 400px; text-align:'+s+'; margin-left:40px;">'+jQuery(this).find(".format-markdown").html().replace("&","and").replace("â",'"').replace("€",'"'),n=!0),jQuery(this).find(".ac-container").find("p").each(function(t,e){0!=jQuery(this).text().trim().length&&(0!=t||n||(i=i+'<div style="overflow: auto; padding: 4px 2px;text-align:left; margin-bottom: 12px;"><div style="display:inline-block"><img src="http://www.dewa.gov.ae/iphone/rammas/images/dewaicon.png" style="margin-bottom:12px; width: 35px; height: 35px; text-align: left; float: left;"><div style=" background-color: #ffffff; color: #4e4e4e; border-radius: 0px 20px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; width: 300px; width:fit-content; text-align:'+s+'; margin-left:4px;">'),i=i+"<p>"+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</p>")}),jQuery(this).find(".ac-pushButton").each(function(){0!=jQuery(this).text().trim().length&&(i=i+'<div style="overflow: hidden; text-overflow: ellipsis; display:block; flex: 0 1 auto; background-color: #d3eed3; color: #087B36; max-width: 176px; padding: 8px 16px; font-weight: 600; border-radius: 35px; font-size: 14px; white-space: unset !important; line-height: 1.25; border-color: transparent;outline: none; transition: color 0.2s ease,background-color 0.2s ease; text-align: center; margin-top: 8px;">'+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</div>");
}),i+="</div></div></div>",t+=i}else 0!=jQuery(this).text().trim().length&&(t=t+'<div style="overflow: auto; padding: 4px 2px;text-align:left; margin-bottom: 12px;"><div style="display:inline-block"><img src="http://www.dewa.gov.ae/iphone/rammas/images/dewaicon.png" style="margin-bottom:12px; width: 35px; height: 35px; text-align: left; float: left;"><div style=" background-color: #ffffff; color: #4e4e4e; border-radius: 0px 20px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; max-width: 400px; text-align:'+s+'; margin-left:40px;">'+jQuery(this).html().replace("&","and").replace("â",'"').replace("€",'"')+"</div></div></div>");else 0!=jQuery(this).text().trim().length&&(t=t+'<div style="overflow: auto; padding: 4px 2px; text-align: right; margin-bottom: 12px;"><img src="http://www.dewa.gov.ae/iphone/rammas/images/usericon.png" style="margin-bottom:12px; width: 35px;height: 35px;text-align: right; float:right;"><div><div style=" background-color: #087B36; color: #ffffff; border-radius: 20px 0px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; max-width: 200px; display:inline-block; margin-right: 4px;">'+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</div></div></div>");a+=t}),console.log(e+a+"</div>"+o),jQuery(".m55-rammas--shareModal").find(".m55-rammas--share-html_container").val(e+a+o)},o}),define("../src/sublayouts/m55a-rammas/m55a-rammas",["jquery","tooltipster","lib/utils","parsley"],function(t,e,i,n){"use strict";var o=function(t){return this.$component=t,this};return o.prototype.init=function(){var e=this;this.$html=t("html"),this.$isRTL="rtl"==this.$html.attr("dir"),this.$rammasSlider=t(".dewa-bot-slider-wrapper"),this.$navSlidesToShow=6,this.initRammas(),this.bind_loading(),t(".dewa-bot-send").off().on("click",function(){0!=t(".dewa-bot-shellinput").val().length&&(e.loading(),e.bind_loading()),setTimeout(function(){0!=t(".dewa-bot-shellinput").val().length?t(".dewa-bot-send").hasClass("active")||t(".dewa-bot-send").addClass("active"):t(".dewa-bot-send").removeClass("active")},500)}),t(".dewa-bot-shellinput").on("keydown",function(i){13===i.keyCode&&0!=t(".dewa-bot-shellinput").val().length&&(e.loading(),e.bind_loading()),0!=t(this).val().length&&(t(".dewa-bot-send").hasClass("active")||t(".dewa-bot-send").addClass("active"))}),t(".dewa-bot-shellinput").on("keyup",function(e){0==t(this).val().length&&t(".dewa-bot-send").removeClass("active")}),t(".m55a-rammas-active--close-button").on("click",function(){t(".m55a-rammas--input-inject").css("height","unset"),t(".m55a-rammas--input-inject").css("overflow","unset"),t(".m55a-rammas--input-bg").remove()}),t(window).on("resize",function(){e.initRammas()}),this.share_rammas(),this.toggleVoice(),this.disclaimer_fn(),t(".m55a-rammas--mute, .m55a-rammas--share").each(function(){var e=t(this).attr("data-alt");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})})},o.prototype.disclaimer_fn=function(){var e,i=this.$component.find(".m55a-rammas--disclaimer_next"),n=this.$component.find(".m55a-rammas--disclaimer_prev"),o=this.$component.find(".m55a-rammas--disclaimer_content"),s=this.$component.find(".recaptcha_check");o.each(function(){t(this).hasClass("m55a-rammas--disclaimer_contentactive")&&(e=t(this))}),i.off("click.disclaimer").on("click.disclaimer",function(){var o=0;e.find(".form-field__input").each(function(){t(this).parsley().validate(),t(this).parsley().isValid()||o++}),"false"==s.attr("data-checked").toLowerCase()&&o++,0==o&&(e.fadeOut(),i.fadeOut(),setTimeout(function(){n.fadeIn(),e.next().fadeIn(),i.next().fadeIn()},400))}),n.off("click.disclaimer").on("click.disclaimer",function(){n.fadeOut(),e.next().fadeOut(),e.closest(".m39-modal__dialog").find(".msgcontent").fadeOut(),i.next().fadeOut(),setTimeout(function(){e.closest(".rammasExportChat").fadeIn(),e.fadeIn(),i.fadeIn()},400)})},o.prototype.bind_loading=function(){},o.prototype.loading=function(){},o.prototype.toggleVoice=function(){jQuery("#BotChatGoesHere").off("DOMSubtreeModified.voice").on("DOMSubtreeModified.voice",function(){jQuery(".dewa-bot-adaptive-card.audio").each(function(){1!=jQuery(this).closest(".dewa-bot-list").children().length||jQuery(this).closest(".dewa-bot-list").prev(".format-markdown").length>0?(jQuery(this).closest(".dewa-bot-list").children().length>1||jQuery(this).closest(".dewa-bot-list").prev(".format-markdown").length>0)&&jQuery(this).addClass("dewa-bot-message-wrapper_audio").hide():jQuery(this).closest(".dewa-bot-message-wrapper").addClass("dewa-bot-message-wrapper_audio").hide()})}),jQuery(".m55a-rammas--mute").off("click.voice").on("click.voice",function(){jQuery(this).toggleClass("voice_muted"),jQuery(this).hasClass("voice_muted")?(jQuery(".audio").find("audio").off("play.mutevoice").on("play.mutevoice",function(){jQuery(this).prop("muted","muted")}),jQuery(".audio").find("audio").each(function(){jQuery(this).prop("muted","muted")})):(jQuery(".m55a-rammas").off("DOMSubtreeModified.mutevoice"),jQuery(".audio").find("audio").off("play.mutevoice"),jQuery(".audio").find("audio").each(function(){jQuery(this).prop("muted",!1)}))})},o.prototype.initRammas=function(){var e=t(".warning notification-newstyle"),i=t(".m24-msg-float"),n=t(".m71-cookie"),o=t("header"),s=e.length>0?e.outerHeight(!0):null,r=i.length>0?i.outerHeight(!0):null,a=n.length>0?n.outerHeight(!0):null,l=o.length>0?o.outerHeight(!0):null,c=t(window).height()-l-s-r-a-60,d=t(".box--7"),h=d.find(".m55a-rammas"),u=d.find(".dewa-bot-message-group-welcome");h.css("height",(c-15).toString()+"px"),t(window).height()>=400&&t(u).css("margin-top",((h.height()-u.height())/2).toString()+"px")},o.prototype.share_rammas=function(){var e=this;jQuery(".m55a-rammas--share").on("click.share_rammas").on("click.share_rammas",function(){t(".m40v2-status-message").hide(),t(".fieldset").show(),t(".m55a-rammas--shareModal_clone").show(),t(".g-recaptcha").show();var i=jQuery(".dewa-bot-message-groups").clone();i.find(".dewa-bot-message-wrapper_audio").each(function(){jQuery(this).remove()}),jQuery(".m55a-rammas--shareModal_clone").html(""),jQuery(".m55a-rammas--shareModal_clone").append(i),jQuery(".m55a-rammas--shareModal_clone").find(".dewa-bot-message-group-content").css({marginTop:"36px",overflow:"visible"}),jQuery(".m55a-rammas--shareModal_clone").find(".dewa-bot-message-group-welcome").remove(),jQuery(".m55a-rammas--shareModal_clone").find(".dewa-bot-slider-item").css("margin-bottom","10px"),jQuery(".m55a-rammas--shareModal_clone").find(".dewa-bot-message-wrapper_audio").each(function(){jQuery(this).remove()}),jQuery(".m55a-rammas--shareModal_clone").find(".dewa-bot-message-from-me").each(function(){jQuery(this).prepend('<div class="dewa-bot-message-from-me_icon"></div>')}),jQuery(".m55a-rammas--shareModal_clone").find(".dewa-bot-message-from-bot").each(function(){jQuery(this).prepend('<div class="dewa-bot-message-from-bot_icon"></div>')}),e.share_rammasdumm(),jQuery(".m55a-rammas--shareModal").find('button[data-trigger="true"]').click()})},o.prototype.share_rammasdumm=function(){var e='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Rammas</title> <style type="text/css">p{margin: 0px;} .dewa-bot-message-callout{display: none;}</style></head> <body style="background-color: #f9f9f9;"> <div> <div style="margin-bottom: 12px;"><div style=" width: 49%; display: inline-block; padding-left: 1%; "><img alt="" height="50" src="https://www.dewa.gov.ae/~/media/Images/Header%20and%20Footer/Header/govlogo2x.ashx"></div><div style=" width: 49%; display: inline-block; text-align: right; padding-right: 1%; "><img alt="" height="50" src="https://www.dewa.gov.ae/~/media/Images/Header%20and%20Footer/Header/dewalogo2x.ashx"></div> </div> <div style=" font-weight: bold; color: #FFFFFF; background-color: #087B36; text-align: center; font-size: 20px; padding: 8px; font-family: Arial, Helvetica, sans-serif;">'+this.$component.attr("data-title")+"</div> </div>",n=t(".rammas_disclaimer").html(),o=n+"</body></html>",s="left",r="ltr";i.isRTL()?(s="right",r="rtl"):(s="left",r="ltr");var a='<div style="font-family: Arial, Helvetica, sans-serif; direction: '+r+"; text-align:"+s+'">';jQuery(".m55a-rammas--shareModal_clone").find(".dewa-bot-message").each(function(){var t="";if(jQuery(this).hasClass("dewa-bot-message-from-bot"))if(jQuery(this).find(".dewa-bot-carousel").length>0){var e='<div style="overflow: auto; padding: 4px 2px; margin-bottom: 12px;"><div style="float:left; margin-left:4px;">';jQuery(this).find(".dewa-bot-carousel-item").each(function(){0!=jQuery(this).text().trim().length&&(e=e+'<div style="overflow: hidden; text-overflow: ellipsis; display:block; flex: 0 1 auto;background: transparent; border: solid 1px #268126; color: #268126; border-radius: 10px; padding: 8px 16px; font-weight: 600; font-size: 14px; white-space: unset !important; line-height: 1.25; outline: none;float: left; margin-right: 8px; margin-top:4px;">'+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</div>")}),e+="</div></div>",t+=e}else if(jQuery(this).find(".dewa-bot-list").length>0){var i="",n=!1;0!=jQuery(this).find(".format-markdown").text().trim().length&&(i=i+'<div style="overflow: auto; padding: 4px 2px;text-align:left; margin-bottom: 12px;"><div style="display:inline-block"><img src="https://www.dewa.gov.ae/images/rammas_avatar.png" style="margin-bottom:12px; width: 35px; height: 35px; text-align: left; float: left;"><div style=" background-color: #ffffff; color: #4e4e4e; border-radius: 0px 20px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; max-width: 400px; text-align:'+s+'; margin-left:40px;">'+jQuery(this).find(".format-markdown").html().replace("&","and").replace("â",'"').replace("€",'"'),n=!0),jQuery(this).find(".ac-container").find("p").each(function(t,e){0!=jQuery(this).text().trim().length&&(0!=t||n||(i=i+'<div style="overflow: auto; padding: 4px 2px;text-align:left; margin-bottom: 12px;"><div style="display:inline-block"><img src="https://www.dewa.gov.ae/images/rammas_avatar.png" style="margin-bottom:12px; width: 35px; height: 35px; text-align: left; float: left;"><div style=" background-color: #ffffff; color: #4e4e4e; border-radius: 0px 20px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; width: 300px; width:fit-content; text-align:'+s+'; margin-left:4px;">'),i=i+"<p>"+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</p>")}),jQuery(this).find(".ac-pushButton").each(function(){0!=jQuery(this).text().trim().length&&(i=i+'<div style="overflow: hidden; text-overflow: ellipsis; display:block; flex: 0 1 auto; background-color: #d3eed3; color: #087B36; max-width: 176px; padding: 8px 16px; font-weight: 600; border-radius: 35px; font-size: 14px; white-space: unset !important; line-height: 1.25; border-color: transparent;outline: none; transition: color 0.2s ease,background-color 0.2s ease; text-align: center; margin-top: 8px;">'+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</div>")}),i+="</div></div></div>",t+=i}else if(jQuery(this).find(".dewa-bot-slider-wrapper").length>0){var o="",n=!1;jQuery(this).find(".dewa-bot-slider-item").each(function(){0!=jQuery(this).find(".format-markdown").text().trim().length&&(o=o+'<div style="overflow: auto; padding: 4px 2px;text-align:left; margin-bottom: 12px;"><div style="display:inline-block"><img src="https://www.dewa.gov.ae/images/rammas_avatar.png" style="margin-bottom:12px; width: 35px; height: 35px; text-align: left; float: left;"><div style=" background-color: #ffffff; color: #4e4e4e; border-radius: 0px 20px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; max-width: 400px; text-align:'+s+'; margin-left:40px;">'+jQuery(this).find(".format-markdown").html().replace("&","and").replace("â",'"').replace("€",'"'),n=!0),jQuery(this).find(".dewa-bot-teaser_text").each(function(){o=o+"<p>"+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</p>"}),jQuery(this).find(".dewa-bot-teaser_thumb").each(function(){o=o+'<div style="max-height: 50px;">'+jQuery(this).html().replace("<img",'<img style="max-height: 50px;"').replace("&","and").replace("â",'"').replace("€",'"')+"</div>"}),jQuery(this).find(".ac-pushButton").each(function(){0!=jQuery(this).text().trim().length&&(o=o+'<div style="overflow: hidden; text-overflow: ellipsis; display:block; flex: 0 1 auto; background-color: #d3eed3; color: #087B36; max-width: 176px; padding: 8px 16px; font-weight: 600; border-radius: 35px; font-size: 14px; white-space: unset !important; line-height: 1.25; border-color: transparent;outline: none; transition: color 0.2s ease,background-color 0.2s ease; text-align: center; margin-top: 8px;">'+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</div>")}),o+="</div></div></div>"}),t+=o}else 0!=jQuery(this).text().trim().length&&(t=t+'<div style="overflow: auto; padding: 4px 2px;text-align:left; margin-bottom: 12px;"><div style="display:inline-block"><img src="https://www.dewa.gov.ae/images/rammas_avatar.png" style="margin-bottom:12px; width: 35px; height: 35px; text-align: left; float: left;"><div style=" background-color: #ffffff; color: #4e4e4e; border-radius: 0px 20px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; max-width: 400px; text-align:'+s+'; margin-left:40px;">'+jQuery(this).html().replace("<img",'<img style="max-height: 50px;"').replace("&","and").replace("â",'"').replace("€",'"')+"</div></div></div>");else 0!=jQuery(this).text().trim().length&&(t=t+'<div style="overflow: auto; padding: 4px 2px; text-align: right; margin-bottom: 12px;"><img src="https://www.dewa.gov.ae/images/user.png" style="margin-bottom:12px; width: 35px;height: 35px;text-align: right; float:right;"><div><div style=" background-color: #087B36; color: #ffffff; border-radius: 20px 0px 20px 20px; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); padding: 12px; word-break: break-word; max-width: 200px; display:inline-block; margin-right: 4px;">'+jQuery(this).text().replace("&","and").replace("â",'"').replace("€",'"')+"</div></div></div>");a+=t}),console.log(e+a+"</div>"+o),jQuery(".m55a-rammas--shareModal").find(".m55a-rammas--share-html_container").val(e+a+o)},o}),define("../src/sublayouts/m60-teaser/m60-teaser",["jquery","tooltipster"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){this.$component.find(".m60-teaser-image").each(function(){var e=t(this).attr("data-alt");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})})},i}),define("../src/sublayouts/m62-expand/m62-expand",["jquery","breakpoint","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){var e=this,i=this.$component.find("[data-m62-expands-trigger]");i.each(function(){t(this).off("click.m62").on("click.m62",function(i){t(i.target).is("a")||(i.preventDefault(),t(this).hasClass("m62-expand--active")?(t(this).removeClass("m62-expand--active"),t(this).find(".m62-expand-content").removeClass("m62-tabs--content--active")):(e.$component.find(".m62-expand--active").removeClass("m62-expand--active"),e.$component.find(".m62-tabs--content--active").removeClass("m62-tabs--content--active"),t(this).addClass("m62-expand--active"),t(this).find(".m62-expand-content").addClass("m62-tabs--content--active")))})})},n}),define("../src/sublayouts/m63-search-results/m63-search-results",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=!1;t(".m63-search-results--modify").on("click",function(){t(window).width()<=1024?(t(".m12-mobile-menu-button").trigger("click"),t(".mobile-menu__tool-button--search").trigger("click"),e=!0):t(".m12-tools").find(".m31-search__button").trigger("click")}),t(".m12-search__panel--close").on("click",function(){e&&(t(".mobile-menu-closebtn").trigger("click"),e=!1)})},e}),define("../src/sublayouts/m65-gallery/m65-gallery",["jquery","slick"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){t(".m65-gallery__thumbnail").each(function(){t(this).hover(function(){t(this).find(".m65-gallery__date").fadeIn(250),t(this).find(".m65-gallery__caption").fadeIn(250)},function(){t(this).find(".m65-gallery__date").fadeOut(250),t(this).find(".m65-gallery__caption").fadeOut(250)})})},e}),define("../src/sublayouts/m66-preloader/m66-preloader",["jquery","numeral"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){this.rate=0;var e=this;t(window).off("m66Tick").on("m66Tick",function(){e.load()})},e.prototype.load=function(){var t,e=this,i=parseInt(this.$component.attr("data-base")),n=parseInt(this.$component.attr("data-per")),o=this.$component.find(".m66-preloader-per_rate"),s=(parseInt(o.html()),this.$component.find(".m66-preloader-per_green"));if(100>=n/i*100){s.css("width",(n/i*100).toString()+"%"),t=(n/i*100-e.rate)/75;for(var r=0;75>r;r++)setTimeout(function(){o.html(numeral(e.rate+t).format("00.")),e.rate=e.rate+t},500/75*r)}else{s.css("width",100..toString()+"%"),t=(100-e.rate)/75;for(var r=0;75>r;r++)setTimeout(function(){o.html(numeral(e.rate+t).format("00.")),e.rate=e.rate+t},500/75*r)}},e}),define("../src/sublayouts/m70-status-tracker/m70-status-tracker",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var e=this;this.currentStep=parseInt(this.$component.attr("data-current-step")),this.$progressbar=this.$component.find("[data-m70-progressbar]"),this.$steps=this.$component.attr("data-steps"),this.$error=this.$component.attr("data-has-error"),t(window).off("reinit_m70").on("reinit_m70",function(){e.init()}),this.build(),this.count(),this.current(),t(window).on("resize",function(){e.count()})},i.prototype.build=function(){var e=this,i=e.$steps.split(",");t(".m70-status-tracker__progressbar").html("");for(var n=0;n<i.length;n++)t(".m70-status-tracker__progressbar").each(function(){t(this).append('<div class="m70-status-tracker__step-wrapper"><div class="m70-status-tracker__step-aesth icon-tick"></div><div class="m70-status-tracker__step-text">'+i[n]+"</div></div>")})},i.prototype.count=function(){var i=t(".m70-status-tracker__progressbar").find(".m70-status-tracker__step-wrapper").length,n=t(".m70-status-tracker__progressbar"),o=20/t(".m70-status-tracker__progressbar").width()*100;n.find(".m70-status-tracker__step-wrapper").each(function(e){t(this).css("width",(100/i).toString()+"%")}),e.isRTL()?(t(".m70-status-tracker__progressbar").css("padding-right",(50/i+o).toString()+"%"),n.find(".m70-status-tracker__step-text").each(function(){t(this).css("left",((n.find(".m70-status-tracker__step-aesth").width()-24)/2).toString()+"px")})):(t(".m70-status-tracker__progressbar").css("padding-left",(50/i+o).toString()+"%"),n.find(".m70-status-tracker__step-text").each(function(){t(this).css("right",((n.find(".m70-status-tracker__step-aesth").width()-24)/2).toString()+"px")}))},i.prototype.current=function(){var e=this,i=e.currentStep;t(".m70-status-tracker__progressbar").each(function(){t(this).find(".m70-status-tracker__step-wrapper").each(function(n){i>n&&t(this).addClass("m70-status-tracker__step-wrapper--active"),n==i-1&&(t(this).find(".m70-status-tracker__step-aesth").css("border-top","5px solid #DBDBDB"),"true"==e.$error&&(t(this).removeClass("m70-status-tracker__step-wrapper--active").addClass("m70-status-tracker__step-wrapper--error"),t(this).find(".m70-status-tracker__step-aesth").removeClass("icon-tick").addClass("icon-cancel")))})})},i}),define("../src/sublayouts/m71-cookie/m71-cookie",["jquery"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;this.$close=this.$component.find(".m71-cookie__dismiss"),this.$close.one("click",function(i){i.preventDefault(),e.$component.fadeOut(function(){e.$component.remove(),t(".m12-bar").removeAttr("style"),e.setCookie()})}),e.getCookie()||(e.$component.fadeIn(500),setTimeout(function(){e.$component.css("height",t(".m71-cookie--outer").height().toString()+"px")},10),t(window).on("resize",function(){e.$component.css("height",t(".m71-cookie--outer").height().toString()+"px")})),this.listenToScroll()},i.prototype.setCookie=function(){document.cookie="dewa_cp=1; expires=25 Dec 2050 12:00:00 UTC"},i.prototype.listenToScroll=function(){var e,i=this;void 0!=t(".notification-newstyle")&&(t(".m71-cookie").on("posm71check",function(){e=t(window).width()<=1024?65:60,i.getCookie()||(t(".m12-bar").hasClass("m12-bar--fixed-new")?t(".m12-bar--fixed-new").css("top",(t(".m71-cookie--outer").height()-e).toString()+"px"):t(".m12-bar--fixed").css("top",t(".m71-cookie--outer").height().toString()+"px"))}),t(".m71-cookie").on("negm71check",function(){t(".m12-bar").removeAttr("style")}))},i.prototype.getCookie=function(){for(var t="dewa_cp=",e=document.cookie.split(";"),i=0;i<e.length;i++){for(var n=e[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(t))return!0}return null},i}),define("../src/sublayouts/m72-add-form/m72-add-form",["jquery","parsley"],function(t,e){"use strict";var i=function(t){this.$component=t};return i.prototype.init=function(){var e=this;this.remove=this.$component.attr("data-remove"),this.hasPrice=this.$component.attr("hasPrice"),(this.hasPrice=void 0!=this.hasPrice)&&(t("select.m72-add-form--select_input").attr("price",t("select.m72-add-form--select_input").find("option:selected").attr("price")),e.calculate(t("select.m72-add-form--select_input").closest(".form-field").next(".m72-add-form--data_container")),t("select.m72-add-form--select_input").off("change.calculate").on("change.calculate",function(){t(this).attr("price",t(this).find("option:selected").attr("price")),e.calculate(t(this).closest(".form-field").next(".m72-add-form--data_container"))})),t(".m72-add-form--footnote").html(t("select.m72-add-form--select_input").find("option:selected").attr("footnote")),t(".form-field").next(".m72-add-form--data_container").find(".m72-add-form--quantity_input").attr("data-max",t("select.m72-add-form--select_input").find("option:selected").attr("data-max")),t(".form-field").next(".m72-add-form--data_container").find(".m72-add-form--quantity_input").attr("data-min",t("select.m72-add-form--select_input").find("option:selected").attr("data-min")),t("select.m72-add-form--select_input").off("change.add").on("change.add",function(){t(this).closest(".m72-add-form--main_control").find(".m72-add-form--footnote").html(t("select.m72-add-form--select_input").find("option:selected").attr("footnote")),t(this).closest(".m72-add-form--main_control").find(".m72-add-form--quantity_input").attr("data-max",""),t(this).closest(".m72-add-form--main_control").find(".m72-add-form--quantity_input").attr("data-min",""),t(this).closest(".m72-add-form--main_control").find(".m72-add-form--quantity_input").attr("data-max",t(this).find("option:selected").attr("data-max")),t(this).closest(".m72-add-form--main_control").find(".m72-add-form--quantity_input").attr("data-min",t(this).find("option:selected").attr("data-min")),e.checkLimit(e.hasPrice)}),t(".m72-add-form--add_item").on("click.m72add",function(){e.addSelection(t(this),e.hasPrice)}),t(".m72-add-form").closest("form").find(".form-field__button").find("button").on("click",function(e){0==t(".m72-add-form").find(".m72-add-form--new_selection").length?(t(".m72-add-form").find(".form-field__messages").show(),t(".m72-add-form").closest("form").parsley().validate(),e.preventDefault()):t(".m72-add-form").find(".form-field__messages").hide()}),this.inputListener(),this.AddSubtract(this.hasPrice),this.truncate(),t(".m72-add-form--quantity_input").each(function(){t(this).trigger("change")})},i.prototype.truncate=function(){t(".m72-add-form--quantity_input").each(function(){var e=this;t(e).off("keypress.truncate").on("keypress.truncate",function(){var i=t(e).attr("data-max");void 0!=i&&null!=i&&t(e).val().length>=parseFloat(i.length)&&window.setTimeout(function(){t(e).val(t(e).val().substring(0,parseFloat(i.length)))},5)})})},i.prototype.checkLimit=function(e){t(".m72-add-form--quantity_input").each(function(){parseFloat(t(this).attr("data-max"))<t(this).val()&&t(this).val(parseFloat(t(this).attr("data-max"))),(parseFloat(t(this).attr("data-min"))>t(this).val()||0==t(this).val().length)&&t(this).val(parseFloat(t(this).attr("data-min"))),(0>t(this).val()||0==t(this).val().length)&&t(this).val(0)})},i.prototype.AddSubtract=function(e){var i=this,n=this.$component.find(".m72-add-form--data_container").attr("data-step");n=void 0!=n&&null!=n?parseFloat(n):1,t(".m72-add-form--add").off("click.add").on("click.add",function(){var o,s=t(this).closest(".m72-add-form--data_container").find(".m72-add-form--quantity_input");o=void 0!=s.attr("data-max")&&""!=s.attr("data-max")?parseFloat(s.val())<parseFloat(s.attr("data-max")):!0,o&&s.val(parseFloat(s.val())+n),e&&i.calculate(t(this).closest(".m72-add-form--data_container")),t(this).closest(".m72-add-form--data_container").find(".m72-add-form--quantity_input").trigger("change")}),t(".m72-add-form--subtract").off("click.add").on("click.add",function(){var o,s=t(this).closest(".m72-add-form--data_container").find(".m72-add-form--quantity_input");o=void 0!=s.attr("data-min")&&""!=s.attr("data-min")?parseFloat(s.val())-1>=parseFloat(s.attr("data-min")):!0,parseFloat(s.val())-1>=0&&o&&s.val(parseFloat(s.val())-n),e&&i.calculate(t(this).closest(".m72-add-form--data_container")),t(this).closest(".m72-add-form--data_container").find(".m72-add-form--quantity_input").trigger("change")})},i.prototype.addSelection=function(e,i){var n=this,o=e.closest(".form-field").find(".m72-add-form--select_input").find("option:selected").text(),s=e.closest(".form-field").find(".m72-add-form--select_input").find("option:selected").attr("footnote"),r=e.closest(".form-field").find("label").text(),a=e.closest(".form-field").find(".m72-add-form--select_input").find("option:selected").val(),l=e.closest(".form-field").next(".m72-add-form--data_container").clone(),c='<div class="m72-add-form--new_selection"><div class="form-field form-field--select form-field--select-single"><label for="" class="form-field__label">'+r+'</label><span class="m72-add-form--select_wrapper"><div value="'+a+'" class="m72-add-form--select_input">'+o+'</div></span><div class="m72-add-form--remove_item"><span>-</span> '+n.remove+"</div></div></div>";e.closest(".m72-add-form").append(c),t(".m72-add-form--new_selection:last-child").append(l),t(".m72-add-form--new_selection:last-child").find(".m72-add-form--footnote").text(s),this.AddSubtract(this.hasPrice),this.inputListener(),this.truncate(),t(".m72-add-form--remove_item").off().on("click",function(){var i=t(this).closest(".m72-add-form--new_selection").find(".m72-add-form--select_input").attr("value");t("select.m72-add-form--select_input").find("option").each(function(){t(this).val()==i&&t(this).attr("disabled",!1)}),0==e.closest(".form-field").find(".m72-add-form--select_input").find("option").not(":disabled").length?t(".m72-add-form--add_item").attr("disabled",!0):t(".m72-add-form--add_item").attr("disabled",!1),e.closest(".form-field").find(".m72-add-form--select_input").find("option").each(function(){return 0==t(this).prop("disabled")?(t(this).prop("selected",!0),e.closest(".form-field").find(".m72-add-form--select_input").trigger("change.add","change.limit"),!1):void 0}),t(this).closest(".m72-add-form--new_selection").remove()}),e.closest(".form-field").find(".m72-add-form--select_input").find("option:selected").attr("disabled",!0),e.closest(".form-field").find(".m72-add-form--select_input").find("option").each(function(){return 0==t(this).prop("disabled")?(t(this).prop("selected",!0),e.closest(".form-field").find(".m72-add-form--select_input").trigger("change.add","change.limit"),!1):void 0}),0==e.closest(".form-field").find(".m72-add-form--select_input").find("option").not(":disabled").length?t(".m72-add-form--add_item").attr("disabled",!0):t(".m72-add-form--add_item").attr("disabled",!1),t(".m72-add-form").find(".form-field__messages").hide()},i.prototype.inputListener=function(){var e=this;t(".m72-add-form--quantity_input").each(function(){t(this).off("change.limit").on("change.limit",function(){e.checkLimit()})})},i.prototype.calculate=function(t){var e=parseFloat(t.parent().find(".m72-add-form--select_input").attr("price")),i=(t.find(".m72-add-form--total"),t.find(".m72-add-form--quantity_input").val());console.log(e*i)},i}),define("../src/sublayouts/m73-form-expand-tab/m73-form-expand-tab",function(){}),define("../src/sublayouts/m74-rammas_expand/m74-rammas_expand",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var e=this,i=this.$component.find(".m74-rammas_expand--icon"),n=this.$component.find(".m74-rammas_expand--container");this.size(),t(window).off("resize.m74").on("resize.m74",function(){e.size()}),i.off("click").on("click",function(){n.toggleClass("m74-rammas_expand--container_active"),i.toggleClass("m74-rammas_expand--icon_active")}),this.$component.hasClass("m74-rammas_expand--auto")&&!this.getCookie()&&(setTimeout(function(){i.click()},1500),e.$component.find(".m74-rammas_expand--close").off("click").on("click",function(){e.$component.find(".m74-rammas_expand--icon_active").click(),e.setCookie()}),e.$component.find(".m74-rammas_expand--link").off("click").on("click",function(){e.setCookie()}))},i.prototype.setCookie=function(){document.cookie="dewa_74=1;path=/; expires="+this.$component.attr("data-expiry")},i.prototype.getCookie=function(){for(var t="dewa_74=",e=document.cookie.split(";"),i=0;i<e.length;i++){for(var n=e[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(t))return!0}return null},i.prototype.size=function(){var i=this.$component.find(".m74-rammas_expand--container"),n=t(window).height(),o=i.outerHeight(!0)+80;o>n&&("s"===e.breakpoint()||"m"===e.breakpoint())?i.addClass("m74-rammas_expand--container_LS"):i.removeClass("m74-rammas_expand--container_LS")},i}),define("../src/sublayouts/m76-range-slider/m76-range-slider",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){function e(t,e){return t.reduce(function(t,i){return Math.abs(i-e)<Math.abs(t-e)?i:t})}function i(e){var i=(e.val()-e.attr("min"))/(e.attr("max")-e.attr("min"));if("rtl"==t("html").attr("dir")){var n=window.navigator.userAgent;n.indexOf("MSIE ");if(/Edge\/|Trident\/|MSIE /.test(window.navigator.userAgent)){h.css("text-align","right");var o=100*i;s.attr("style","font-size:"+i+"em; background-image:linear-gradient(to left,rgba(38,129,38,1) 0%,rgba(38,129,38,1) "+o+"%,rgba(216,216,216,1) "+o+"%,rgba(216,216,216,1) 100%);")}else s.css("background-image","-webkit-gradient(linear, right top, left top, color-stop("+i+", #268126), color-stop("+i+", #D8D8D8))")}if("ltr"==t("html").attr("dir")){var n=window.navigator.userAgent;n.indexOf("MSIE ");if(/Edge\/|Trident\/|MSIE /.test(window.navigator.userAgent)){h.css("text-align","left");var o=100*i;s.attr("style","font-size:"+i+"em; background-image:linear-gradient(to right,rgba(38,129,38,1) 0%,rgba(38,129,38,1) "+o+"%,rgba(216,216,216,1) "+o+"%,rgba(216,216,216,1) 100%);")}else s.css("background-image","-webkit-gradient(linear, left top, right top, color-stop("+i+", #268126), color-stop("+i+", #D8D8D8))")}}var n=this;if(n.$component.hasClass("m76-range-slider--temp")){var o=n.$component.find(".slider"),s=n.$component.find(".range-container-bg"),r=n.$component.find(".m76-range-quant"),a="ltr"==t("html").attr("dir")?"right":"left",l="ltr"==t("html").attr("dir")?"left":"right",c=(parseInt(o.val())-parseInt(o.attr("min")))/(parseInt(o.attr("max"))-parseInt(o.attr("min")))*100;
s.attr("style","background-image:linear-gradient(to "+a+",rgba(8,123,54,1) 0%,rgba(8,123,54,1) "+c.toString()+"%,rgba(216,216,216,1) "+c.toString()+"%,rgba(216,216,216,1) 100%);"),r.attr("style",l+": calc("+c.toString()+"% - (56px * "+c.toString()+")/100 );"),r.find("span").html(o.val()),o.off("input.m76").on("input.m76",function(){c=(parseInt(o.val())-parseInt(o.attr("min")))/(parseInt(o.attr("max"))-parseInt(o.attr("min")))*100,s.attr("style","background-image:linear-gradient(to "+a+",rgba(8,123,54,1) 0%,rgba(8,123,54,1) "+c.toString()+"%,rgba(216,216,216,1) "+c.toString()+"%,rgba(216,216,216,1) 100%);"),r.attr("style",l+": calc("+c.toString()+"% - (56px * "+c.toString()+")/100 );"),r.find("span").html(o.val())})}else{var d=this.$component.find("[data-range-slider]"),h=this.$component.find(".sliderticks .ticks"),s=this.$component.find(".range-container-bg"),u=window.navigator.userAgent;u.indexOf("MSIE ");/Edge\/|Trident\/|MSIE /.test(window.navigator.userAgent)&&d.attr("style","height: 45px; position: relative; bottom: 15px; pointer-events: auto;"),i(d),d.on("change",function(){var n=d.data("snap").split(","),o=(e(n,this.value),this.value);h.removeClass("ticks-active"),h.each(function(){t(this).attr("data-option")==o&&t(this).addClass("ticks-active")}),i(t(this))}),h.on("click",function(){var e=t(this).data("option");d.val(e),t(this).hasClass("ticks-active")||(h.removeClass("ticks-active"),t(this).addClass("ticks-active")),i(d)})}t(window).off("m76_reinit").on("m76_reinit",function(){n.init()})},i}),define("../src/sublayouts/m77-understand-bill/m77-understand-bill",["jquery","tooltipster","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){var e=this;this.buildMap(),this.initTooltip(),t(window).off("resize.m77").on("resize.m77",function(){e.buildMap(),e.initTooltip(),setTimeout(function(){window.initComponents("m41-tabs-box-bill")},100)})},n.prototype.initTooltip=function(){var e=this.$component.find(".m77-understand-bill--map"),n=this.$component.find(".m77-understand-bill--img"),o=i.uniqueID();e.attr("name",o),n.attr("usemap","#"+o),this.$component.find(".m77-understand-bill--area").each(function(){var e=t(this).attr("content"),i=t(this).attr("side");t(this).hasClass("tooltipster")&&t(this).tooltipster("destroy"),t(this).tooltipster({content:e,maxWidth:500,side:i,theme:["m77-understand-bill--tooltip"],trigger:"custom",triggerOpen:{mouseenter:!0,tap:!0},triggerClose:{mouseleave:!0,tap:!0}})})},n.prototype.buildMap=function(){var e,i=JSON.parse(this.$component.attr("data-map")),n=JSON.parse(this.$component.attr("data-dimension")),o=this.$component.find(".m77-understand-bill--map");e=this.$component.find(".m77-understand-bill--img").height()/parseFloat(n.height),o.html(""),t(i).each(function(){var i,n=[];t(this.coords.split(",")).each(function(){n.push(parseFloat(this)*e)}),i='<area class="m77-understand-bill--area" shape="'+this.shape+'" coords="'+n.toString()+'" side="'+this.side+'" alt="'+this.content+'" content="'+this.content+'">',o.append(i)})},n}),define("../src/sublayouts/m78-timer/m78-timer",["jquery","lib/utils"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var t=this;this.$component.hasClass("button--timer")?(this.timer=JSON.parse(t.$component.attr("timer-time")),this.labels=JSON.parse(t.$component.attr("timer-labels")),this.endDate=new Date(t.$component.attr("timer-enddate"))):(this.totalDays=Math.floor((new Date(this.$component.attr("data-enddate"))-new Date(this.$component.attr("data-startdate")))/864e5),this.unitColors=JSON.parse(t.$component.attr("data-unitColor")),this.countDown(new Date(this.$component.attr("data-enddate"))-new Date)),this.buttonCheck()},i.prototype.countDown=function(i){var n=this,o=1e3,s=60*o,r=60*s,a=24*r,l=("0"+Math.floor(i/a).toString()).slice(-2),c=("0"+Math.floor(i%a/r).toString()).slice(-2),d=("0"+Math.floor(i%r/s).toString()).slice(-2),h=("0"+Math.floor(i%s/o).toString()).slice(-2);n.$component.find('.m78-timer--wrapper[unit="days"]').find(".m78-timer--digit").html(l),n.$component.find('.m78-timer--wrapper[unit="hours"]').find(".m78-timer--digit").html(c),n.$component.find('.m78-timer--wrapper[unit="minutes"]').find(".m78-timer--digit").html(d),n.$component.find('.m78-timer--wrapper[unit="seconds"]').find(".m78-timer--digit").html(h),this.$component.find(".m78-timer--clock").each(function(){t(this).html("");for(var i=0;60>i;i++)t(this).append("<div class='m78-timer--tick'></div>");t(this).find(".m78-timer--tick").each(function(i){var n=e.isRTL()?-(6*i):6*i,o="l"==e.breakpoint()?"-100px":"m"==e.breakpoint()?"-65px":"-35px";t(this).css({transform:"rotate("+n.toString()+"deg) translate(0px, "+o+")"})})}),n.animateClockDesktop("seconds",n.unitColors.seconds,Math.floor(i%s/o)),n.animateClockDesktop("minutes",n.unitColors.minutes,Math.floor(i%r/s)),n.animateClockDesktop("hours",n.unitColors.hours,Math.round(2.5*Math.floor(i%a/r))),n.animateClockDesktop("days",n.unitColors.days,Math.round(60/n.totalDays*Math.floor(i/a))),setTimeout(function(){n.countDown(i-1e3)},1e3)},i.prototype.animateClockDesktop=function(e,i,n){var o=this;o.$component.find('.m78-timer--wrapper[unit="'+e+'"]').find(".m78-timer--clock").find(".m78-timer--tick").each(function(e){var o=t(this).css("transform");n>e?t(this).css({transform:o,backgroundColor:i}):t(this).css({transform:o})})},i.prototype.buttonCheck=function(){var t=this;this.$component.hasClass("button--timer")&&(t.labels=t.$component.attr("timer-labels"),this.$component.off("start.timer").on("start.timer",function(){var e=t.timer.seconds;t.buttonTimer(e)}))},i.prototype.buttonTimer=function(e){var i=this,n=i.$component.find(".m78-timer--button_text"),o=i.$component.find(".m78-timer--button_time"),s=JSON.parse(i.labels).before,r=JSON.parse(i.labels).after,a=Math.floor((e-0)/60);i.$component.off("click.timer"),i.$component.removeClass("button--primary"),i.$component.addClass("timer-button--outline"),n.text(r),t(".m78-timer-instructions").hide(),t(".m78-timer-verification").show(),e>0?(o.text(a.toString()+":"+("0"+(e-60*a).toString()).slice(-2)+" )"),setTimeout(function(){e-=1,i.buttonTimer(e)},1e3)):(i.buttonCheck(),i.$component.addClass("button--primary"),i.$component.removeClass("timer-button--outline"),n.text(s),o.text(""),t(".m78-timer-instructions").show(),t(".m78-timer-verification").hide())},i}),define("../src/sublayouts/m79-dashboard-tools/m79-dashboard-tools",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var t=new Date,e=t.getHours(),i=this.$component.find(".m79-dashboard-tools--greeting_wrapper").find(".m79-dashboard-tools--greeting"),n=this.$component.find(".m79-dashboard-tools--greeting_wrapper").data("greeting");12>e?i.html(n.morning):18>e&&e>=12?i.html(n.afternoon):i.html(n.evening)},e}),define("../src/sublayouts/m80-my-consumption/m80-my-consumption",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var t=this.$component.find(".circle-foreground"),e=parseFloat(this.$component.attr("data-rate")),i=e/100*300;t.css("stroke-dasharray",i.toString()+" 624.86px")},e}),define("../src/sublayouts/m81-total-amount/m81-total-amount",["jquery","lib/utils","chart-config"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){var e=this;t(window).off("m81-initGraph").on("m81-initGraph",function(){parseFloat(e.$component.find(".m81-total-amount").attr("data-total"))<=0?e.$component.find(".m81-total-amount--graph_placeholder").show():(e.$component.find(".m81-total-amount--graph_placeholder").hide(),e.renderGraph()),e.tab()})},n.prototype.tab=function(){var e=(this.$component.find(".m81-total-amount--list"),this.$component.find(".m81-total-amount--list_item.toggled"));e.each(function(){var i=t(this).next(".m81-total-amount--list_item--toggled"),n=0;t(this).hasClass("toggle-open")?(i.find(".m81-total-amount--list_item--toggleditem").each(function(){n+=t(this).outerHeight(!0)}),i.css("height",n.toString()+"px")):i.css("height","0px"),t(this).off("click.tab").on("click.tab",function(){i=t(this).next(".m81-total-amount--list_item--toggled"),n=0,e.each(function(){t(this).removeClass("toggle-open")}),t(this).hasClass("toggle-open")||t(this).addClass("toggle-open"),e.each(function(){t(this).hasClass("toggle-open")?(t(this).next(".m81-total-amount--list_item--toggled").find(".m81-total-amount--list_item--toggleditem").each(function(){n+=t(this).outerHeight(!0)}),t(this).next(".m81-total-amount--list_item--toggled").css("height",n.toString()+"px")):t(this).next(".m81-total-amount--list_item--toggled").css("height","0px")})})})},n.prototype.renderGraph=function(i){for(var n=this,o=this.$component.find("[data-chart-container]"),s=JSON.parse(this.$component.find(".m81-total-amount").attr("data-series")),r=(e.isRTL(),0);r<s.length;r++)0==s[r].data.length&&s.splice(r,1);for(var r=0;r<s[0].data.length;r+=1)s[0].data[r].y=parseFloat(s[0].data[r].y);var a={chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1,type:"pie"},title:{text:"",style:{display:"none"}},subtitle:{text:"",style:{display:"none"}},legend:{style:{display:"none"}},xAxis:{style:{display:"none"}},yAxis:{style:{display:"none"}},tooltip:{enabled:!0,outside:!0,pointFormat:'<span style="font-size: 14px;font-weight:bold;">{point.name}: <b>{point.y} '+n.$component.find(".m81-total-amount").attr("data-currency")+"</b></span>",headerFormat:"",crosshairs:!0,useHTML:!0},plotOptions:{pie:{allowPointSelect:!1,dataLabels:{enabled:!1}}},series:s};o.highcharts(a),this.$component.find(".m29v2-chart__legend--item").each(function(){t(this).find(".m29v2-chart__legend--item-icon").css("color",t(this).data("color"))})},n}),define("../src/sublayouts/m82-payment-history/m82-payment-history",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,this};return e.prototype.init=function(){var e=this;t(window).off("m82EV").on("m82EV",function(){e.$component.addClass("m82-payment-history--EV")}),t(window).off("m82").on("m82",function(){e.$component.removeClass("m82-payment-history--EV")}),this.$component.find(".m82-payment-history--header_buttoni").off("click.a").on("click.a",function(){e.$component.find(".m82-payment-history--header_buttoni").each(function(){t(this).removeClass("m82-payment-history--header_buttona")}),t(this).addClass("m82-payment-history--header_buttona")})},e}),define("../src/sublayouts/m84-bills-compare/m84-bills-compare",["jquery","lib/utils","chart-config","highcharts/modules/exporting","highcharts/modules/export-data"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){var e=this;this.tabs(),this.filter(),this.download(),t(window).off("init_m84").on("init_m84",function(){e.renderGraph("m84-bills-compare--graph_paid","both",!1,!1),e.renderGraph("m84-bills-compare--graph_billed","both",!1,!1),t(".m84-bills-compare--graph_footerwrp-modal").off("click.modal").on("click.modal",function(){var i=t(this).attr("modal-index");e.$component.find('.m84-bills-compare-modal[modal-index="'+i+'"]').find(".m39-modal__trigger").trigger("click")}),e.$component.find('[data-target="m84-bills-compare--graph_billed"]').trigger("click")}),t(window).off("init_EVm84").on("init_EVm84",function(){e.renderGraph("m84-bills-compare--graph_billed","ev",!1,!0)}),t(document).off("click.m84check").on("click.m84check",function(i){var n=t(i.target);n.is(".m84-bills-compare--filter")||0!=n.closest(".m84-bills-compare--filter").length||n.is(".m84-bills-compare--tools_filter")||e.$component.find(".m84-bills-compare--filter").removeClass("m84-bills-compare--filter-active")}),"true"==jQuery('input[name="SelectedAccountNumber"]:checked').attr("data-evaccount").toLowerCase()?jQuery(window).trigger("m82EV"):jQuery(window).trigger("m82")},n.prototype.download=function(){var t=this,e=this.$component.find(".m84-bills-compare--tools_download");e.off("click.dl").on("click.dl",function(){var e=t.$component.find("[data-chart-container]").highcharts();e.downloadXLS()})},n.prototype.tabs=function(){var e=this;this.$component.find(".m84-bills-compare--header_buttoni").off("click.a").on("click.a",function(){var i=t("."+t(this).attr("data-target"));t(this).attr("data-target");e.$component.find(".m84-bills-compare--header_buttoni").each(function(){t(this).removeClass("m84-bills-compare--header_buttona")}),t(this).addClass("m84-bills-compare--header_buttona"),e.$component.find(".m84-bills-compare--tools_filter").css({opacity:0,display:"none"}),e.$component.find(".m84-bills-compare--graph_inner").css({opacity:0,display:"none"}),i.css({display:"block"}),i.animate({opacity:1}),e.$component.find(".m84-bills-compare--graph_inner").each(function(){t(this).removeClass("m84-bills-compare--graph_inner--active")}),i.addClass("m84-bills-compare--graph_inner--active"),"true"==jQuery('input[name="SelectedAccountNumber"]:checked').attr("data-evaccount").toLowerCase()?(e.$component.find(".m84-bills-compare--tools_filter").attr("style","display:none !important;"),jQuery(window).trigger("m82EV")):jQuery(window).trigger("m82")})},n.prototype.filter=function(){var t=this,e=t.$component.find(".m84-bills-compare--tools_filter"),i=t.$component.find(".m84-bills-compare--filter_radio").attr("data-default-text");this.$component.find(".m84-bills-compare--tools_filter").off("click.f").on("click.f",function(){t.$component.find(".m84-bills-compare--filter").toggleClass("m84-bills-compare--filter-active")}),this.$component.find(".m84-bills-compare--filter_apply").off("click.app").on("click.app",function(){var n=t.$component.find(".m84-bills-compare--filter_radio").find(".form-field__input--radio:checked");0!=n.length?(e.html(n.val()),t.renderGraph("m84-bills-compare--graph_billed",n.attr("series-type"),!1),e.addClass("filter--active")):(e.html(i),t.renderGraph("m84-bills-compare--graph_billed","both",!1),e.removeClass("filter--active")),t.$component.find(".m84-bills-compare--filter").removeClass("m84-bills-compare--filter-active")}),this.$component.find(".m84-bills-compare--filter_clear").off("click.app").on("click.app",function(){var e=t.$component.find(".m84-bills-compare--filter_radio").find(".form-field__input--radio:checked");e.prop("checked",!1)})},n.prototype.renderGraph=function(i,n,o,s){var r,a=this,l=0,c=this.$component.find("."+i).find(".m84-bills-compare--graph"),d=this.$component.find("."+i).find(".m84-bills-compare--graph_footerwrp").length,h=(this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-y-axis-text"),this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-x-axis-text")),u=this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-currency"),p=this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-x-axis-categories").split(","),f=(this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-tooltip-value-suffix"),e.isRTL()),m="l"==e.breakpoint()?0:270,g=(e.isRTL()?"left":"right",this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-usagefor"),this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-legend"),this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-label"),this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-labelstyle"),"l"==e.breakpoint()?"13px":"9px","l"==e.breakpoint()?10:5);parseInt(this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-step"),10)||1,parseInt(this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-step-s"),10)||1;if("both"==n?""!=this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-series")&&(r=JSON.parse(this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-series"))):"electricity"==n?""!=this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-electricity-series")&&(r=JSON.parse(this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-electricity-series"))):"ev"==n?""!=this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-ev-series")&&(r=JSON.parse(this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-ev-series"))):""!=this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-water-series")&&(r=JSON.parse(this.$component.find("."+i).find(".m84-bills-compare--graph").attr("data-water-series"))),this.$component.find("."+i).find(".m84-bills-compare--graph_footerwrp").each(function(){t(this).css("width","calc(100% / "+d.toString()+")")}),null!=r){for(var v=0;v<r.length;v++)0==r[v].data.length&&r.splice(v,1);if(s)var y={chart:{type:"column"},title:{text:"Billed Amount",style:{display:"none"}},subtitle:{text:"",style:{display:"none"}},legend:{enabled:!1},plotOptions:{column:{dataLabels:{enabled:!0,useHTML:!0,crop:!1,overflow:"allow",rotation:m,allowOverlap:!0,format:"l"==e.breakpoint()?'<div style="text-align:center;"><span style="font-size:16px;font-weight:normal;position: relative;top: 6px;">'+u+'</span><br><span style="font-size:16px;font-weight:100;text-decoration:{point.striked};">{y}</span></div>':'<span style="position:relative;top:-4px;"><span style="padding-left:72px;font-size:13px;font-weight:100;text-decoration:{point.striked};">{y}</span><span style="font-size:13px;font-weight:normal;"> '+u+"</span></span>"}},series:{pointWidth:g,borderRadius:5}},xAxis:{reversed:f,categories:p,title:{text:h,style:{display:"none"}},labels:{autoRotation:!1,rotation:l,useHTML:!0},gridLineColor:"#ffffff",lineColor:"#ffffff"},yAxis:{visible:!1,title:{style:{display:"none"},align:"high",offset:0,rotation:0,y:-15}},tooltip:{style:{display:"none"}},series:r};else var y={chart:{type:"column"},title:{text:"Billed Amount",style:{display:"none"}},subtitle:{text:"",style:{display:"none"}},legend:{enabled:!1},plotOptions:{column:{dataLabels:{enabled:!0,useHTML:!0,crop:!1,overflow:"allow",rotation:m,allowOverlap:!0,format:"l"==e.breakpoint()?'<div style="text-align:center;"><span style="font-size:16px;font-weight:normal;position: relative;top: 6px;">'+u+'</span><br><span style="font-size:16px;font-weight:100;">{y}</span></div>':'<span style="position:relative;top:-4px;"><span style="padding-left:72px;font-size:13px;font-weight:100;">{y}</span><span style="font-size:13px;font-weight:normal;"> '+u+"</span></span>"}},series:{pointWidth:g,borderRadius:5}},xAxis:{reversed:f,categories:p,title:{text:h,style:{display:"none"}},labels:{autoRotation:!1,rotation:l,useHTML:!0},gridLineColor:"#ffffff",lineColor:"#ffffff"},yAxis:{visible:!1,title:{style:{display:"none"},align:"high",offset:0,rotation:0,y:-15}},tooltip:{style:{display:"none"}},exporting:{filename:t(".m43-accountsel__selected").find('[data-acc-detail="acc_number"]').html().replace("(","").replace(")","")+"-"+a.$component.find(".m84-bills-compare--header_title").html().trim().replace(/\s/g,"-")+"-"+a.$component.find('.m84-bills-compare--header_buttoni[data-target="'+i+'"]').html().replace(/\s/g,"-")+a.getFiltered(),tableCaption:t(".m43-accountsel__selected").find('[data-acc-detail="acc_number"]').html().replace("(","").replace(")","")+"-"+a.$component.find(".m84-bills-compare--header_title").html().trim().replace(/\s/g,"-")+"-"+a.$component.find('.m84-bills-compare--header_buttoni[data-target="'+i+'"]').html().replace(/\s/g,"-")+a.getFiltered(),width:1400,csv:{annotations:{join:!0}},allowHTML:!1},series:r};0==r.length?(c.hide(),this.$component.find("."+i).find(".m84-bills-compare--graph_footer").hide(),this.$component.find("."+i).find(".m84-bills-compare--no-data").show()):(c.highcharts(y),c.show(),this.$component.find("."+i).find(".m84-bills-compare--graph_footer").show(),this.$component.find("."+i).find(".m84-bills-compare--no-data").hide())}},n.prototype.getFiltered=function(){var e="";return this.$component.find(".m84-bills-compare--filter_radio").find(".form-field__input").each(function(){1==t(this).prop("checked")&&(e=e+"-"+t(this).val()[0].toUpperCase())}),e},n}),define("../src/sublayouts/m85-dstore-carousel/m85-dstore-carousel",["jquery","lib/utils","slick"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var e=this;this.initCarousel(),t(window).on("resize",function(){t(".m85-dstore-carousel_carousel").hasClass("slick-initialized")&&t(".m85-dstore-carousel_carousel").slick("destroy"),e.initCarousel()})},i.prototype.initCarousel=function(){this.$M3_slider=t(".m85-dstore-carousel_carousel");var i="rtl"==t("html").attr("dir");"l"===e.breakpoint()?t(".m85-dstore-carousel_slide").length>1&&this.$M3_slider.slick({dots:!1,arrows:!0,infinite:!0,speed:750,slidesToShow:4,slidesToScroll:1,autoplay:!1,rtl:i}):"m"===e.breakpoint()?t(".m85-dstore-carousel_slide").length>1&&this.$M3_slider.slick({dots:!1,arrows:!0,infinite:!0,speed:750,slidesToShow:2,slidesToScroll:1,autoplay:!1,rtl:i}):"s"===e.breakpoint()&&t(".m85-dstore-carousel_slide").length>1&&this.$M3_slider.slick({dots:!0,arrows:!1,infinite:!0,speed:750,slidesToShow:1,slidesToScroll:1,autoplay:!1,rtl:i}),this.$M3_slider.css({top:0,opacity:1,position:"relative"}),this.$component.find(".slick-slide").each(function(){void 0!=t(this).attr("aria-describedby")&&t(this).find(".teaser__title").attr("id",t(this).attr("aria-describedby"))}),this.modal()},i.prototype.modal=function(){var e=this,i=this.$component.find(".m85-dstore-carousel_slide");i.each(function(){t(this).off("click.store").on("click.store",function(){var i=e.$component.find(".m39-modal--dstore"),n=t(this).find(".teaser__discount").html(),o=t(this).find(".teaser__title").html(),s=t(this).find(".teaser__copy").html(),r=t(this).find(".teaser__storelogo").text(),a=t(this).find(".m60-teaser-image").css("background-image"),l=t(this).find(".teaser__storelogo").find("img").attr("src");i.find(".m39-modal__discount").html(n),i.find(".m39-modal__title").html(o),i.find(".m39-modal__store").text(r),i.find(".m39-modal__store").append('<img src="'+l+'">'),i.find(".m39-modal__dstore-img").css("background-image",a),i.find(".m39-modal__dstore-txt").html(s),i.find(".m39-modal__trigger").trigger("click")})})},i}),define("../src/sublayouts/m87-gauge-alerts/m87-gauge-alerts",["jquery","lib/utils","tooltipster","chart-config"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){var e=this,i=e.$component.find(".m87-gauge-alerts--container--water").closest(".m87-gauge-alerts--wrapper"),n=e.$component.find(".m87-gauge-alerts--container--electricity-r").closest(".m87-gauge-alerts--wrapper"),o=e.$component.find(".m87-gauge-alerts--container--carbonfootprint").closest(".m87-gauge-alerts--wrapper"),s=e.$component.find(".m87-gauge-alerts--disclaimer");jQuery(window).off("reinit_m87-select").on("reinit_m87-select",function(){var r=e.$component.find(".m87-gauge-alerts-select");r.off("change.m87").on("change.m87",function(){var r=t(this).find(":selected"),a=r.attr("data-electricityconsumption"),l=r.attr("data-waterconsumption"),c=r.attr("data-carbonconsumption"),d=t(this).find(":selected").attr("data-iselectricityconsumed"),h=t(this).find(":selected").attr("data-iswaterconsumed");"true"===r.attr("data-iselectricityconsumed")?(n.show(),o.show()):(n.hide(),o.hide()),"true"===d?(jQuery(".m87-gauge-alerts--container--electricity-r").closest(".m87-gauge-alerts--wrapper").show(),jQuery(".m87-gauge-alerts--container--carbonfootprint").closest(".m87-gauge-alerts--wrapper").show()):(jQuery(".m87-gauge-alerts--container--electricity-r").closest(".m87-gauge-alerts--wrapper").hide(),jQuery(".m87-gauge-alerts--container--carbonfootprint").closest(".m87-gauge-alerts--wrapper").hide()),"true"===h?jQuery(".m87-gauge-alerts--container--water").closest(".m87-gauge-alerts--wrapper").show():jQuery(".m87-gauge-alerts--container--water").closest(".m87-gauge-alerts--wrapper").hide(),"true"===r.attr("data-iswaterconsumed")?i.show():i.hide(),"unbilledconsumption"===r.val().toLowerCase()?s.show():s.hide(),null!=a&&a.length>0&&(2==r.attr("data-electricityslab").split(",").length?(e.initGaugeGraph(r.attr("data-electricityslab").split(","),2,a,".m87-gauge-alerts--container--electricity-i",167.5),jQuery(".m87-gauge-alerts--container--electricity-i").show(),jQuery(".m87-gauge-alerts--container--electricity-r").hide()):(e.initGaugeGraph(r.attr("data-electricityslab").split(","),4,a,".m87-gauge-alerts--container--electricity-r",76.25),jQuery(".m87-gauge-alerts--container--electricity-r").show(),jQuery(".m87-gauge-alerts--container--electricity-i").hide())),null!=l&&l.length>0&&e.initGaugeGraph(r.attr("data-waterslab").split(","),4,l,".m87-gauge-alerts--container--water",106.666667),null!=c&&c.length>0&&e.initGaugeGraph(r.attr("data-carbonslab").split(","),4,c,".m87-gauge-alerts--container--carbonfootprint",76.25)}),r.trigger("change.m87")}),jQuery(window).off("reinit_m87").on("reinit_m87",function(){var t=e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-electricityconsumption"),s=e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-accounttype"),r=e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-waterconsumption"),a=e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-carbonconsumption"),l=e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-iselectricityconsumed"),c=e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-iswaterconsumed");"true"===l?(n.show(),o.show()):(n.hide(),o.hide()),"true"===c?i.show():i.hide(),null!=t&&t.length>0&&("30"==s?e.initGaugeGraph(e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-electricityslab").split(","),2,t,".m87-gauge-alerts--container--electricity",152.5):e.initGaugeGraph(e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-electricityslab").split(","),4,t,".m87-gauge-alerts--container--electricity",76.25)),null!=r&&r.length>0&&e.initGaugeGraph(e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-waterslab").split(","),4,r,".m87-gauge-alerts--container--water",106.666667),null!=a&&a.length>0&&e.initGaugeGraph(e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-carbonslab").split(","),4,a,".m87-gauge-alerts--container--carbonfootprint",76.25),e.initBell(e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-electricityalerts"),e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-electricity-max"),4,e.$component.find(".m87-gauge-alerts--container--electricity")),e.initBell(e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-wateralerts"),e.$component.find(".m87-gauge-alerts--wrapperdata").attr("data-water-max"),4,e.$component.find(".m87-gauge-alerts--container--water")),e.listeners()})},n.prototype.initGaugeGraph=function(e,i,n,o,s){var r=parseFloat(n),a=1,l=1,c=0,d=0;for(t(o).find(".m87-gauge-alerts--bar_fill").each(function(){t(this).attr("style","")}),t(e).each(function(){return c+=parseFloat(this),r>c?void(a+=1):(d=(r-c+parseFloat(this))/parseFloat(this)*s,!1)});a>l;){var h=t(o).find(".m87-gauge-alerts--bar"+l);h.find("#m87-gauge-alerts--bar_fill").css({strokeDasharray:s.toString()+" 9999",opacity:"1"}),l++}d>0&&t(o).find(".m87-gauge-alerts--bar"+l).find("#m87-gauge-alerts--bar_fill").css({strokeDasharray:d.toString()+" 9999",opacity:"1"}),t(o).closest(".m87-gauge-alerts--wrapper").find(".m87-gauge-alerts--details-value").html(n),/Edge\/|Trident\/|MSIE /.test(window.navigator.userAgent)&&t("[id=m87-gauge-alerts--bar_fill]").each(function(){var e=this;setTimeout(function(){t(e).attr("class","m87-gauge-alerts--bar_fill")},125)})},n.prototype.initBell=function(e,i,n,o){var s=this,r=e.split(",");o.find(".icon-bell_wrapper").remove(),t(r).each(function(){if(parseFloat(this)>0){var t,e,r=parseFloat(this),a=parseFloat(i),l=(s.$component.find(".m87-gauge-alerts--container--water"),s.$component.find(".icon-bell_clone").clone()),c=250,d=35;e=parseInt(r/(a/n)),t=r/a*c-d+3*e,l.find(".icon-bell_wrapper").css("transform","rotate("+t.toString()+"deg"),l.find(".icon-bell").css("transform","rotate("+(-1*t).toString()+"deg"),o.prepend(l.html())}})},n.prototype.listeners=function(){var e=this,i=this.$component.find(".m87-gauge-alerts--ceiling");i.find(".m87-gauge-alerts--remove").off("click.c").on("click.c",function(){e.$component.find(".m87-gauge-alerts-modalBell").find(".m39-modal__trigger").trigger("click")}),this.$component.find(".m87-gauge-alerts--details-button").off("click.m").on("click.m",function(){e.$component.find(".m87-gauge-alerts-modal").find('.form-field__input--radio[data-type="'+t(this).attr("data-type")+'"]').trigger("click"),e.$component.find(".m87-gauge-alerts-modal").find(".m39-modal__trigger").trigger("click")})},n}),define("../src/sublayouts/m88-dashboard-map/m88-dashboard-map",["jquery"],function(t){"use strict";var e=function(t){return this.$component=t,window.MAP=this,this};return e.prototype.loaded=function(e){this.map=e,t(window).trigger("mapLoaded")},e.prototype.init=function(){var e="rtl"==t("html").attr("dir")?"ar":"en",i=document.createElement("script"),n="https://maps.googleapis.com/maps/api/js?libraries=places,geometry&v=3&key=AIzaSyD3S3q5M76YS9fx9vCM7Mmk2NNLGT0A1nk&language="+e;i.type="text/javascript",i.src=n+"&callback=initializeGMap",document.body.appendChild(i)},window.initializeGMap=function(){var e=document.getElementById("map"),i=JSON.parse(t(".m88-dashboard-map").attr("data-coord"));window.map=new google.maps.Map(e,{center:new google.maps.LatLng(i.lat,i.lng),zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,navigationControl:!0,navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},mapTypeControl:!1,streetViewControl:!1});var n={lat:i.lat,lng:i.lng};new google.maps.places.PlacesService(map),new google.maps.Marker({map:window.map,position:n,icon:"/images/dewa-pin-_servicecenters.png"});google.maps.event.addDomListener(window,"resize",function(){map.setCenter(n)}),window.MAP.loaded(map)},e}),define("../src/sublayouts/m89-donut-chart/m89-donut-chart",["jquery","lib/utils","chart-config"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){var i=this.$component.data("chart-data"),n=this.$component.data("tiptext"),o=t("html").attr("dir"),s="rtl"==t("html").attr("dir")?"right":"left",r=[];t.each(i,function(t,e){var i={name:e.title,y:e.value,time:e.time,color:e.color};r.push(i)}),this.$chartContainer=this.$component.find("[data-chart-container]");if("s"===e.breakpoint()||"m"===e.breakpoint());var a={chart:{plotBorderWidth:null,plotShadow:!1},title:{text:""},tooltip:{style:{textAlign:s,direction:o},pointFormat:n+'<b style="direction:ltr; display:inline-block">{point.percentage:.1f}%</b>',useHTML:!0},plotOptions:{pie:{shadow:!1,center:["50%","50%"],size:"60%",startAngle:-40,innerSize:"55%"},series:{dataLabels:{enabled:!0,useHTML:!0,alignTo:"plotEdges",connectorShape:"straight",distance:0,itemStyle:{color:"#000000",fontWeight:"normal",fontSize:"13px"},formatter:function(){return"<span class='datalabel' style='color:"+this.color+"'>"+this.y+"%</span><span class='dataname'>"+this.point.name+"</span><span class='datatime'>"+this.point.time+"</span>"}}}},series:[{type:"pie",name:"Browser share",data:r}]};this.$chartContainer.highcharts(a)},i}),define("../src/sublayouts/m9-new-teaser/m9-new-teaser",["jquery","tooltipster"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){t(".m9-teaser .teaser__title").each(function(){t(this).hover(function(){t(this).addClass("teaser__title--active")},function(){t(this).removeClass("teaser__title--active")})}),this.$component.find(".m9-teaser-image").each(function(){var e=t(this).attr("data-alt");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})})},i}),define("../src/sublayouts/m9-teaser/m9-teaser",["jquery","tooltipster"],function(t,e){"use strict";var i=function(t){return this.$component=t,this};return i.prototype.init=function(){
t(".m9-teaser .teaser__title").each(function(){t(this).hover(function(){t(this).addClass("teaser__title--active")},function(){t(this).removeClass("teaser__title--active")})}),this.$component.find(".m9-teaser-image").each(function(){var e=t(this).attr("data-alt");t(this).tooltipster({content:e,maxWidth:250,arrow:!1})})},i}),define("../src/sublayouts/m93-tabs-content/m93-tabs-content",["jquery","breakpoint","lib/utils"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){this.$tabs=this.$component.find('[data-m93-tabs-content-tab="true"]'),this.$tabsMenu=this.$component.find('[data-m93-tabs-content-menu="true"]'),this.$content=this.$component.find('[data-m93-tabs-content-content="true"]'),this.$selected=this.$component.data("selected-tab-id"),this.selectedTabID=i.getParameterByName("faq"),""===this.selectedTabID&&(this.selectedTabID=i.getParameterByName("id")),this.activeTabsClass="m93-tabs-content__tab--active",this.activeContentClass="m93-tabs-content__content--active",this.$selectedTab=this.$tabs.eq(0),""!==this.selectedTabID&&(this.$selectedTab=this.$component.find("#"+this.selectedTabID),void 0===this.$selectedTab[0]&&(this.$selectedTab=this.$tabs.eq(0))),this.setUpDesktopView(),t(".m93-tabs-content__tab").on("click",function(){t(this).hasClass("icon-close")?(t(this).next(".m93-panel-container").addClass("ul--m93-active"),t(this).removeClass("icon-close"),t(this).addClass("icon-open")):t(this).hasClass("icon-open")?(t(this).next(".m93-panel-container").removeClass("ul--m93-active"),t(this).removeClass("icon-open"),t(this).addClass("icon-close")):(t(".m93-tabs-content__tab").next("ul").removeClass("ul--m93-active"),t(".m93-tabs-content__tab").each(function(){t(this).hasClass("icon-open")&&(t(this).removeClass("icon-open"),t(this).addClass("icon-close"))}))})},n.prototype.setUpDesktopView=function(){var e=this,i=this;"true"!=this.$component.attr("m93isLink")&&(this.$tabs.on("click",function(i){i.preventDefault(),e.displayTab(t(this))}),this.displayTab(this.$selectedTab),t("#"+i.$selected).click())},n.prototype.displayTab=function(e){this.$tabs.removeClass(this.activeTabsClass).attr("aria-selected",!1),e.addClass(this.activeTabsClass),e.attr("aria-selected",!0),this.$content.removeClass(this.activeContentClass),this.$content.parent().removeClass("toggle-menu__itemactive"),t("#"+e.attr("aria-controls")).addClass(this.activeContentClass),t("#"+e.attr("aria-controls")).parent().addClass("toggle-menu__itemactive"),this.$selectedTab=e},n.prototype.fixPosition=function(){var e=this;i.fixedHeader()&&t("body").animate({scrollTop:e.$component.offset().top-i.headerBarHeight()-60},100)},n.prototype.reset=function(){this.$content.removeClass(this.activeContentClass),this.$content.parent().removeClass("toggle-menu__itemactive"),this.$tabs.removeClass(this.activeTabsClass),this.$tabs.off("click"),this.$component.find("[data-toggle-trigger]").off("click.scroll")},n}),define("../src/sublayouts/m94-progress-chart/m94-progress-chart",["jquery","breakpoint","lib/utils","chart-config"],function(t,e,i,n){"use strict";var o=function(t){return this.$component=t,this};return o.prototype.init=function(){var t=this.$component.data("progress-text"),e=this.$component.data("completed"),i=this.$component.data("completed-color"),n=100-e,o={title:{text:""},chart:{backgroundColor:"rgba(0,0,0,0)"},subtitle:{text:'<div class="progress-text">'+t+'</div><div class="progress-text-number">'+e+"%</div>",align:"center",verticalAlign:"middle",style:{textAlign:"center"},x:0,y:-2,useHTML:!0},series:[{type:"pie",enableMouseTracking:!1,innerSize:"80%",dataLabels:{enabled:!1},data:[{y:e,color:i},{y:n,color:"#e3e3e3"}]}]};this.$component.highcharts(o)},o}),define("../src/sublayouts/m97-pod/m97-pod",["jquery","lib/utils","tooltipster"],function(t,e,i){"use strict";var n=function(t){return this.$component=t,this};return n.prototype.init=function(){},n});
//# sourceMappingURL=static.js.map;
jQuery.fn.highlight=function(c){function e(b,c){var d=0;if(3==b.nodeType){var a=b.data.toUpperCase().indexOf(c),a=a-(b.data.substr(0,a).toUpperCase().length-b.data.substr(0,a).length);if(0<=a){d=document.createElement("span");d.className="highlight";a=b.splitText(a);a.splitText(c.length);var f=a.cloneNode(!0);d.appendChild(f);a.parentNode.replaceChild(d,a);d=1}}else if(1==b.nodeType&&b.childNodes&&!/(script|style)/i.test(b.tagName))for(a=0;a<b.childNodes.length;++a)a+=e(b.childNodes[a],c);return d} return this.length&&c&&c.length?this.each(function(){e(this,c.toUpperCase())}):this};jQuery.fn.removeHighlight=function(){return this.find("span.highlight").each(function(){this.parentNode.firstChild.nodeName;with(this.parentNode)replaceChild(this.firstChild,this),normalize()}).end()};;
/*!
 * fancyBox - jQuery Plugin
 * version: 2.1.5 (Fri, 14 Jun 2013)
 * @requires jQuery v1.6 or later
 *
 * Examples at http://fancyapps.com/fancybox/
 * License: www.fancyapps.com/fancybox/#license
 *
 * Copyright 2012 Janis Skarnelis - janis@fancyapps.com
 *
 */

(function (window, document, $, undefined) {
    "use strict";

    var H = $("html"),
		W = $(window),
		D = $(document),
		F = $.fancybox = function () {
		    F.open.apply(this, arguments);
		},
		IE = navigator.userAgent.match(/msie/i),
		didUpdate = null,
		isTouch = document.createTouch !== undefined,

		isQuery = function (obj) {
		    return obj && obj.hasOwnProperty && obj instanceof $;
		},
		isString = function (str) {
		    return str && $.type(str) === "string";
		},
		isPercentage = function (str) {
		    return isString(str) && str.indexOf('%') > 0;
		},
		isScrollable = function (el) {
		    return (el && !(el.style.overflow && el.style.overflow === 'hidden') && ((el.clientWidth && el.scrollWidth > el.clientWidth) || (el.clientHeight && el.scrollHeight > el.clientHeight)));
		},
		getScalar = function (orig, dim) {
		    var value = parseInt(orig, 10) || 0;

		    if (dim && isPercentage(orig)) {
		        value = F.getViewport()[dim] / 100 * value;
		    }

		    return Math.ceil(value);
		},
		getValue = function (value, dim) {
		    return getScalar(value, dim) + 'px';
		};

    $.extend(F, {
        // The current version of fancyBox
        version: '2.1.5',

        defaults: {
            padding: 0,
            margin: 5,

            width: '95%',
            height: 500,
            minWidth: 100,
            minHeight: 500,
            maxWidth: 850,
            maxHeight: 500,
            pixelRatio: 1, // Set to 2 for retina display support

            autoSize: true,
            autoHeight: true,
            autoWidth: true,

            autoResize: true,
            autoCenter: !isTouch,
            fitToView: true,
            aspectRatio: false,
            topRatio: 0.5,
            leftRatio: 0.5,

            scrolling: 'auto', // 'auto', 'yes' or 'no'
            wrapCSS: '',

            arrows: true,
            closeBtn: true,
            closeClick: true,
            nextClick: false,
            mouseWheel: false,
            autoPlay: false,
            playSpeed: 3000,
            preload: 3,
            modal: false,
            loop: true,

            ajax: {
                dataType: 'html',
                headers: { 'X-fancyBox': true }
            },
            iframe: {
                scrolling: 'auto',
                preload: true
            },
            swf: {
                wmode: 'transparent',
                allowfullscreen: 'true',
                allowscriptaccess: 'always'
            },

            keys: {
                next: {
                    13: 'left', // enter
                    34: 'up',   // page down
                    39: 'left', // right arrow
                    40: 'up'    // down arrow
                },
                prev: {
                    8: 'right',  // backspace
                    33: 'down',   // page up
                    37: 'right',  // left arrow
                    38: 'down'    // up arrow
                },
                close: [27], // escape key
                play: [32], // space - start/stop slideshow
                toggle: [70]  // letter "f" - toggle fullscreen
            },

            direction: {
                next: 'left',
                prev: 'right'
            },

            scrollOutside: true,

            // Override some properties
            index: 0,
            type: null,
            href: null,
            content: null,
            title: null,

            // HTML templates
            tpl: {
                wrap: '<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',
                image: '<img class="fancybox-image" src="{href}" alt="" />',
                iframe: '<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen' + (IE ? ' allowtransparency="true"' : '') + '></iframe>',
                error: '<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
                closeBtn: '<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',
                next: '<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',
                prev: '<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'
            },

            // Properties for each animation type
            // Opening fancyBox
            openEffect: 'fade', // 'elastic', 'fade' or 'none'
            openSpeed: 250,
            openEasing: 'swing',
            openOpacity: true,
            openMethod: 'zoomIn',

            // Closing fancyBox
            closeEffect: 'fade', // 'elastic', 'fade' or 'none'
            closeSpeed: 250,
            closeEasing: 'swing',
            closeOpacity: true,
            closeMethod: 'zoomOut',

            // Changing next gallery item
            nextEffect: 'elastic', // 'elastic', 'fade' or 'none'
            nextSpeed: 250,
            nextEasing: 'swing',
            nextMethod: 'changeIn',

            // Changing previous gallery item
            prevEffect: 'elastic', // 'elastic', 'fade' or 'none'
            prevSpeed: 250,
            prevEasing: 'swing',
            prevMethod: 'changeOut',

            // Enable default helpers
            helpers: {
                overlay: true,
                title: true
            },

            // Callbacks
            onCancel: $.noop, // If canceling
            beforeLoad: $.noop, // Before loading
            afterLoad: $.noop, // After loading
            beforeShow: $.noop, // Before changing in current item
            afterShow: $.noop, // After opening
            beforeChange: $.noop, // Before changing gallery item
            beforeClose: $.noop, // Before closing
            afterClose: $.noop  // After closing
        },

        //Current state
        group: {}, // Selected group
        opts: {}, // Group options
        previous: null,  // Previous element
        coming: null,  // Element being loaded
        current: null,  // Currently loaded element
        isActive: false, // Is activated
        isOpen: false, // Is currently open
        isOpened: false, // Have been fully opened at least once

        wrap: null,
        skin: null,
        outer: null,
        inner: null,

        player: {
            timer: null,
            isActive: false
        },

        // Loaders
        ajaxLoad: null,
        imgPreload: null,

        // Some collections
        transitions: {},
        helpers: {},

        /*
		 *	Static methods
		 */

        open: function (group, opts) {
            if (!group) {
                return;
            }

            if (!$.isPlainObject(opts)) {
                opts = {};
            }

            // Close if already active
            if (false === F.close(true)) {
                return;
            }

            // Normalize group
            if (!$.isArray(group)) {
                group = isQuery(group) ? $(group).get() : [group];
            }

            // Recheck if the type of each element is `object` and set content type (image, ajax, etc)
            $.each(group, function (i, element) {
                var obj = {},
					href,
					title,
					content,
					type,
					rez,
					hrefParts,
					selector;

                if ($.type(element) === "object") {
                    // Check if is DOM element
                    if (element.nodeType) {
                        element = $(element);
                    }

                    if (isQuery(element)) {
                        obj = {
                            href: element.data('fancybox-href') || element.attr('href'),
                            title: element.data('fancybox-title') || element.attr('title'),
                            isDom: true,
                            element: element
                        };

                        if ($.metadata) {
                            $.extend(true, obj, element.metadata());
                        }

                    } else {
                        obj = element;
                    }
                }

                href = opts.href || obj.href || (isString(element) ? element : null);
                title = opts.title !== undefined ? opts.title : obj.title || '';

                content = opts.content || obj.content;
                type = content ? 'html' : (opts.type || obj.type);

                if (!type && obj.isDom) {
                    type = element.data('fancybox-type');

                    if (!type) {
                        rez = element.prop('class').match(/fancybox\.(\w+)/);
                        type = rez ? rez[1] : null;
                    }
                }

                if (isString(href)) {
                    // Try to guess the content type
                    if (!type) {
                        if (F.isImage(href)) {
                            type = 'image';

                        } else if (F.isSWF(href)) {
                            type = 'swf';

                        } else if (href.charAt(0) === '#') {
                            type = 'inline';

                        } else if (isString(element)) {
                            type = 'html';
                            content = element;
                        }
                    }

                    // Split url into two pieces with source url and content selector, e.g,
                    // "/mypage.html #my_id" will load "/mypage.html" and display element having id "my_id"
                    if (type === 'ajax') {
                        hrefParts = href.split(/\s+/, 2);
                        href = hrefParts.shift();
                        selector = hrefParts.shift();
                    }
                }

                if (!content) {
                    if (type === 'inline') {
                        if (href) {
                            content = $(isString(href) ? href.replace(/.*(?=#[^\s]+$)/, '') : href); //strip for ie7

                        } else if (obj.isDom) {
                            content = element;
                        }

                    } else if (type === 'html') {
                        content = href;

                    } else if (!type && !href && obj.isDom) {
                        type = 'inline';
                        content = element;
                    }
                }

                $.extend(obj, {
                    href: href,
                    type: type,
                    content: content,
                    title: title,
                    selector: selector
                });

                group[i] = obj;
            });

            // Extend the defaults
            F.opts = $.extend(true, {}, F.defaults, opts);

            // All options are merged recursive except keys
            if (opts.keys !== undefined) {
                F.opts.keys = opts.keys ? $.extend({}, F.defaults.keys, opts.keys) : false;
            }

            F.group = group;

            return F._start(F.opts.index);
        },

        // Cancel image loading or abort ajax request
        cancel: function () {
            var coming = F.coming;

            if (!coming || false === F.trigger('onCancel')) {
                return;
            }

            F.hideLoading();

            if (F.ajaxLoad) {
                F.ajaxLoad.abort();
            }

            F.ajaxLoad = null;

            if (F.imgPreload) {
                F.imgPreload.onload = F.imgPreload.onerror = null;
            }

            if (coming.wrap) {
                coming.wrap.stop(true, true).trigger('onReset').remove();
            }

            F.coming = null;

            // If the first item has been canceled, then clear everything
            if (!F.current) {
                F._afterZoomOut(coming);
            }
        },

        // Start closing animation if is open; remove immediately if opening/closing
        close: function (event) {
            F.cancel();

            if (false === F.trigger('beforeClose')) {
                return;
            }

            F.unbindEvents();

            if (!F.isActive) {
                return;
            }

            if (!F.isOpen || event === true) {
                $('.fancybox-wrap').stop(true).trigger('onReset').remove();

                F._afterZoomOut();

            } else {
                F.isOpen = F.isOpened = false;
                F.isClosing = true;

                $('.fancybox-item, .fancybox-nav').remove();

                F.wrap.stop(true, true).removeClass('fancybox-opened');

                F.transitions[F.current.closeMethod]();
            }
        },

        // Manage slideshow:
        //   $.fancybox.play(); - toggle slideshow
        //   $.fancybox.play( true ); - start
        //   $.fancybox.play( false ); - stop
        play: function (action) {
            var clear = function () {
                clearTimeout(F.player.timer);
            },
				set = function () {
				    clear();

				    if (F.current && F.player.isActive) {
				        F.player.timer = setTimeout(F.next, F.current.playSpeed);
				    }
				},
				stop = function () {
				    clear();

				    D.unbind('.player');

				    F.player.isActive = false;

				    F.trigger('onPlayEnd');
				},
				start = function () {
				    if (F.current && (F.current.loop || F.current.index < F.group.length - 1)) {
				        F.player.isActive = true;

				        D.bind({
				            'onCancel.player beforeClose.player': stop,
				            'onUpdate.player': set,
				            'beforeLoad.player': clear
				        });

				        set();

				        F.trigger('onPlayStart');
				    }
				};

            if (action === true || (!F.player.isActive && action !== false)) {
                start();
            } else {
                stop();
            }
        },

        // Navigate to next gallery item
        next: function (direction) {
            var current = F.current;

            if (current) {
                if (!isString(direction)) {
                    direction = current.direction.next;
                }

                F.jumpto(current.index + 1, direction, 'next');
            }
        },

        // Navigate to previous gallery item
        prev: function (direction) {
            var current = F.current;

            if (current) {
                if (!isString(direction)) {
                    direction = current.direction.prev;
                }

                F.jumpto(current.index - 1, direction, 'prev');
            }
        },

        // Navigate to gallery item by index
        jumpto: function (index, direction, router) {
            var current = F.current;

            if (!current) {
                return;
            }

            index = getScalar(index);

            F.direction = direction || current.direction[(index >= current.index ? 'next' : 'prev')];
            F.router = router || 'jumpto';

            if (current.loop) {
                if (index < 0) {
                    index = current.group.length + (index % current.group.length);
                }

                index = index % current.group.length;
            }

            if (current.group[index] !== undefined) {
                F.cancel();

                F._start(index);
            }
        },

        // Center inside viewport and toggle position type to fixed or absolute if needed
        reposition: function (e, onlyAbsolute) {
            var current = F.current,
				wrap = current ? current.wrap : null,
				pos;

            if (wrap) {
                pos = F._getPosition(onlyAbsolute);

                if (e && e.type === 'scroll') {
                    delete pos.position;

                    wrap.stop(true, true).animate(pos, 200);

                } else {
                    wrap.css(pos);

                    current.pos = $.extend({}, current.dim, pos);
                }
            }
        },

        update: function (e) {
            var type = (e && e.type),
				anyway = !type || type === 'orientationchange';

            if (anyway) {
                clearTimeout(didUpdate);

                didUpdate = null;
            }

            if (!F.isOpen || didUpdate) {
                return;
            }

            didUpdate = setTimeout(function () {
                var current = F.current;

                if (!current || F.isClosing) {
                    return;
                }

                F.wrap.removeClass('fancybox-tmp');

                if (anyway || type === 'load' || (type === 'resize' && current.autoResize)) {
                    F._setDimension();
                }

                if (!(type === 'scroll' && current.canShrink)) {
                    F.reposition(e);
                }

                F.trigger('onUpdate');

                didUpdate = null;

            }, (anyway && !isTouch ? 0 : 300));
        },

        // Shrink content to fit inside viewport or restore if resized
        toggle: function (action) {
            if (F.isOpen) {
                F.current.fitToView = $.type(action) === "boolean" ? action : !F.current.fitToView;

                // Help browser to restore document dimensions
                if (isTouch) {
                    F.wrap.removeAttr('style').addClass('fancybox-tmp');

                    F.trigger('onUpdate');
                }

                F.update();
            }
        },

        hideLoading: function () {
            D.unbind('.loading');

            $('#fancybox-loading').remove();
        },

        showLoading: function () {
            var el, viewport;

            F.hideLoading();

            el = $('<div id="fancybox-loading"><div></div></div>').click(F.cancel).appendTo('body');

            // If user will press the escape-button, the request will be canceled
            D.bind('keydown.loading', function (e) {
                if ((e.which || e.keyCode) === 27) {
                    e.preventDefault();

                    F.cancel();
                }
            });

            if (!F.defaults.fixed) {
                viewport = F.getViewport();

                el.css({
                    position: 'absolute',
                    top: (viewport.h * 0.5) + viewport.y,
                    left: (viewport.w * 0.5) + viewport.x
                });
            }
        },

        getViewport: function () {
            var locked = (F.current && F.current.locked) || false,
				rez = {
				    x: W.scrollLeft(),
				    y: W.scrollTop()
				};

            if (locked) {
                rez.w = locked[0].clientWidth;
                rez.h = locked[0].clientHeight;

            } else {
                // See http://bugs.jquery.com/ticket/6724
                rez.w = isTouch && window.innerWidth ? window.innerWidth : W.width();
                rez.h = isTouch && window.innerHeight ? window.innerHeight : W.height();
            }

            return rez;
        },

        // Unbind the keyboard / clicking actions
        unbindEvents: function () {
            if (F.wrap && isQuery(F.wrap)) {
                F.wrap.unbind('.fb');
            }

            D.unbind('.fb');
            W.unbind('.fb');
        },

        bindEvents: function () {
            var current = F.current,
				keys;

            if (!current) {
                return;
            }

            // Changing document height on iOS devices triggers a 'resize' event,
            // that can change document height... repeating infinitely
            W.bind('orientationchange.fb' + (isTouch ? '' : ' resize.fb') + (current.autoCenter && !current.locked ? ' scroll.fb' : ''), F.update);

            keys = current.keys;

            if (keys) {
                D.bind('keydown.fb', function (e) {
                    var code = e.which || e.keyCode,
						target = e.target || e.srcElement;

                    // Skip esc key if loading, because showLoading will cancel preloading
                    if (code === 27 && F.coming) {
                        return false;
                    }

                    // Ignore key combinations and key events within form elements
                    if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey && !(target && (target.type || $(target).is('[contenteditable]')))) {
                        $.each(keys, function (i, val) {
                            if (current.group.length > 1 && val[code] !== undefined) {
                                F[i](val[code]);

                                e.preventDefault();
                                return false;
                            }

                            if ($.inArray(code, val) > -1) {
                                F[i]();

                                e.preventDefault();
                                return false;
                            }
                        });
                    }
                });
            }

            if ($.fn.mousewheel && current.mouseWheel) {
                F.wrap.bind('mousewheel.fb', function (e, delta, deltaX, deltaY) {
                    var target = e.target || null,
						parent = $(target),
						canScroll = false;

                    while (parent.length) {
                        if (canScroll || parent.is('.fancybox-skin') || parent.is('.fancybox-wrap')) {
                            break;
                        }

                        canScroll = isScrollable(parent[0]);
                        parent = $(parent).parent();
                    }

                    if (delta !== 0 && !canScroll) {
                        if (F.group.length > 1 && !current.canShrink) {
                            if (deltaY > 0 || deltaX > 0) {
                                F.prev(deltaY > 0 ? 'down' : 'left');

                            } else if (deltaY < 0 || deltaX < 0) {
                                F.next(deltaY < 0 ? 'up' : 'right');
                            }

                            e.preventDefault();
                        }
                    }
                });
            }
        },

        trigger: function (event, o) {
            var ret, obj = o || F.coming || F.current;

            if (!obj) {
                return;
            }

            if ($.isFunction(obj[event])) {
                ret = obj[event].apply(obj, Array.prototype.slice.call(arguments, 1));
            }

            if (ret === false) {
                return false;
            }

            if (obj.helpers) {
                $.each(obj.helpers, function (helper, opts) {
                    if (opts && F.helpers[helper] && $.isFunction(F.helpers[helper][event])) {
                        F.helpers[helper][event]($.extend(true, {}, F.helpers[helper].defaults, opts), obj);
                    }
                });
            }

            D.trigger(event);
        },

        isImage: function (str) {
            return isString(str) && str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i);
        },

        isSWF: function (str) {
            return isString(str) && str.match(/\.(swf)((\?|#).*)?$/i);
        },

        _start: function (index) {
            var coming = {},
				obj,
				href,
				type,
				margin,
				padding;

            index = getScalar(index);
            obj = F.group[index] || null;

            if (!obj) {
                return false;
            }

            coming = $.extend(true, {}, F.opts, obj);

            // Convert margin and padding properties to array - top, right, bottom, left
            margin = coming.margin;
            padding = coming.padding;

            if ($.type(margin) === 'number') {
                coming.margin = [margin, margin, margin, margin];
            }

            if ($.type(padding) === 'number') {
                coming.padding = [padding, padding, padding, padding];
            }

            // 'modal' propery is just a shortcut
            if (coming.modal) {
                $.extend(true, coming, {
                    closeBtn: false,
                    closeClick: false,
                    nextClick: false,
                    arrows: false,
                    mouseWheel: false,
                    keys: null,
                    helpers: {
                        overlay: {
                            closeClick: false
                        }
                    }
                });
            }

            // 'autoSize' property is a shortcut, too
            if (coming.autoSize) {
                coming.autoWidth = coming.autoHeight = true;
            }

            if (coming.width === 'auto') {
                coming.autoWidth = true;
            }

            if (coming.height === 'auto') {
                coming.autoHeight = true;
            }

            /*
			 * Add reference to the group, so it`s possible to access from callbacks, example:
			 * afterLoad : function() {
			 *     this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
			 * }
			 */

            coming.group = F.group;
            coming.index = index;

            // Give a chance for callback or helpers to update coming item (type, title, etc)
            F.coming = coming;

            if (false === F.trigger('beforeLoad')) {
                F.coming = null;

                return;
            }

            type = coming.type;
            href = coming.href;

            if (!type) {
                F.coming = null;

                //If we can not determine content type then drop silently or display next/prev item if looping through gallery
                if (F.current && F.router && F.router !== 'jumpto') {
                    F.current.index = index;

                    return F[F.router](F.direction);
                }

                return false;
            }

            F.isActive = true;

            if (type === 'image' || type === 'swf') {
                coming.autoHeight = coming.autoWidth = false;
                coming.scrolling = 'visible';
            }

            if (type === 'image') {
                coming.aspectRatio = true;
            }

            if (type === 'iframe' && isTouch) {
                coming.scrolling = 'scroll';
            }

            // Build the neccessary markup
            coming.wrap = $(coming.tpl.wrap).addClass('fancybox-' + (isTouch ? 'mobile' : 'desktop') + ' fancybox-type-' + type + ' fancybox-tmp ' + coming.wrapCSS).appendTo(coming.parent || 'body');

            $.extend(coming, {
                skin: $('.fancybox-skin', coming.wrap),
                outer: $('.fancybox-outer', coming.wrap),
                inner: $('.fancybox-inner', coming.wrap)
            });

            $.each(["Top", "Right", "Bottom", "Left"], function (i, v) {
                coming.skin.css('padding' + v, getValue(coming.padding[i]));
            });

            F.trigger('onReady');

            // Check before try to load; 'inline' and 'html' types need content, others - href
            if (type === 'inline' || type === 'html') {
                if (!coming.content || !coming.content.length) {
                    return F._error('content');
                }

            } else if (!href) {
                return F._error('href');
            }

            if (type === 'image') {
                F._loadImage();

            } else if (type === 'ajax') {
                F._loadAjax();

            } else if (type === 'iframe') {
                F._loadIframe();

            } else {
                F._afterLoad();
            }
        },

        _error: function (type) {
            $.extend(F.coming, {
                type: 'html',
                autoWidth: true,
                autoHeight: true,
                minWidth: 0,
                minHeight: 0,
                scrolling: 'no',
                hasError: type,
                content: F.coming.tpl.error
            });

            F._afterLoad();
        },

        _loadImage: function () {
            // Reset preload image so it is later possible to check "complete" property
            var img = F.imgPreload = new Image();

            img.onload = function () {
                this.onload = this.onerror = null;

                F.coming.width = this.width / F.opts.pixelRatio;
                F.coming.height = this.height / F.opts.pixelRatio;

                F._afterLoad();
            };

            img.onerror = function () {
                this.onload = this.onerror = null;

                F._error('image');
            };

            img.src = F.coming.href;

            if (img.complete !== true) {
                F.showLoading();
            }
        },

        _loadAjax: function () {
            var coming = F.coming;

            F.showLoading();

            F.ajaxLoad = $.ajax($.extend({}, coming.ajax, {
                url: coming.href,
                error: function (jqXHR, textStatus) {
                    if (F.coming && textStatus !== 'abort') {
                        F._error('ajax', jqXHR);

                    } else {
                        F.hideLoading();
                    }
                },
                success: function (data, textStatus) {
                    if (textStatus === 'success') {
                        coming.content = data;

                        F._afterLoad();
                    }
                }
            }));
        },

        _loadIframe: function () {
            var coming = F.coming,
				iframe = $(coming.tpl.iframe.replace(/\{rnd\}/g, new Date().getTime()))
					.attr('scrolling', isTouch ? 'auto' : coming.iframe.scrolling)
					.attr('src', coming.href);

            // This helps IE
            $(coming.wrap).bind('onReset', function () {
                try {
                    $(this).find('iframe').hide().attr('src', '//about:blank').end().empty();
                } catch (e) { }
            });

            if (coming.iframe.preload) {
                F.showLoading();

                iframe.one('load', function () {
                    $(this).data('ready', 1);

                    // iOS will lose scrolling if we resize
                    if (!isTouch) {
                        $(this).bind('load.fb', F.update);
                    }

                    // Without this trick:
                    //   - iframe won't scroll on iOS devices
                    //   - IE7 sometimes displays empty iframe
                    $(this).parents('.fancybox-wrap').width('100%').removeClass('fancybox-tmp').show();

                    F._afterLoad();
                });
            }

            coming.content = iframe.appendTo(coming.inner);

            if (!coming.iframe.preload) {
                F._afterLoad();
            }
        },

        _preloadImages: function () {
            var group = F.group,
				current = F.current,
				len = group.length,
				cnt = current.preload ? Math.min(current.preload, len - 1) : 0,
				item,
				i;

            for (i = 1; i <= cnt; i += 1) {
                item = group[(current.index + i) % len];

                if (item.type === 'image' && item.href) {
                    new Image().src = item.href;
                }
            }
        },

        _afterLoad: function () {
            var coming = F.coming,
				previous = F.current,
				placeholder = 'fancybox-placeholder',
				current,
				content,
				type,
				scrolling,
				href,
				embed;

            F.hideLoading();

            if (!coming || F.isActive === false) {
                return;
            }

            if (false === F.trigger('afterLoad', coming, previous)) {
                coming.wrap.stop(true).trigger('onReset').remove();

                F.coming = null;

                return;
            }

            if (previous) {
                F.trigger('beforeChange', previous);

                previous.wrap.stop(true).removeClass('fancybox-opened')
					.find('.fancybox-item, .fancybox-nav')
					.remove();
            }

            F.unbindEvents();

            current = coming;
            content = coming.content;
            type = coming.type;
            scrolling = coming.scrolling;

            $.extend(F, {
                wrap: current.wrap,
                skin: current.skin,
                outer: current.outer,
                inner: current.inner,
                current: current,
                previous: previous
            });

            href = current.href;

            switch (type) {
                case 'inline':
                case 'ajax':
                case 'html':
                    if (current.selector) {
                        content = $('<div>').html(content).find(current.selector);

                    } else if (isQuery(content)) {
                        if (!content.data(placeholder)) {
                            content.data(placeholder, $('<div class="' + placeholder + '"></div>').insertAfter(content).hide());
                        }

                        content = content.show().detach();

                        current.wrap.bind('onReset', function () {
                            if ($(this).find(content).length) {
                                content.hide().replaceAll(content.data(placeholder)).data(placeholder, false);
                            }
                        });
                    }
                    break;

                case 'image':
                    content = current.tpl.image.replace('{href}', href);
                    break;

                case 'swf':
                    content = '<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="' + href + '"></param>';
                    embed = '';

                    $.each(current.swf, function (name, val) {
                        content += '<param name="' + name + '" value="' + val + '"></param>';
                        embed += ' ' + name + '="' + val + '"';
                    });

                    content += '<embed src="' + href + '" type="application/x-shockwave-flash" width="100%" height="100%"' + embed + '></embed></object>';
                    break;
            }

            if (!(isQuery(content) && content.parent().is(current.inner))) {
                current.inner.append(content);
            }

            // Give a chance for helpers or callbacks to update elements
            F.trigger('beforeShow');

            // Set scrolling before calculating dimensions
            current.inner.css('overflow', scrolling === 'yes' ? 'scroll' : (scrolling === 'no' ? 'hidden' : scrolling));

            // Set initial dimensions and start position
            F._setDimension();

            F.reposition();

            F.isOpen = false;
            F.coming = null;

            F.bindEvents();

            if (!F.isOpened) {
                $('.fancybox-wrap').not(current.wrap).stop(true).trigger('onReset').remove();

            } else if (previous.prevMethod) {
                F.transitions[previous.prevMethod]();
            }

            F.transitions[F.isOpened ? current.nextMethod : current.openMethod]();

            F._preloadImages();
        },

        _setDimension: function () {
            var viewport = F.getViewport(),
				steps = 0,
				canShrink = false,
				canExpand = false,
				wrap = F.wrap,
				skin = F.skin,
				inner = F.inner,
				current = F.current,
				width = current.width,
				height = current.height,
				minWidth = current.minWidth,
				minHeight = current.minHeight,
				maxWidth = current.maxWidth,
				maxHeight = current.maxHeight,
				scrolling = current.scrolling,
				scrollOut = current.scrollOutside ? current.scrollbarWidth : 0,
				margin = current.margin,
				wMargin = getScalar(margin[1] + margin[3]),
				hMargin = getScalar(margin[0] + margin[2]),
				wPadding,
				hPadding,
				wSpace,
				hSpace,
				origWidth,
				origHeight,
				origMaxWidth,
				origMaxHeight,
				ratio,
				width_,
				height_,
				maxWidth_,
				maxHeight_,
				iframe,
				body;

            // Reset dimensions so we could re-check actual size
            wrap.add(skin).add(inner).width('auto').height('auto').removeClass('fancybox-tmp');

            wPadding = getScalar(skin.outerWidth(true) - skin.width());
            hPadding = getScalar(skin.outerHeight(true) - skin.height());

            // Any space between content and viewport (margin, padding, border, title)
            wSpace = wMargin + wPadding;
            hSpace = hMargin + hPadding;

            origWidth = isPercentage(width) ? (viewport.w - wSpace) * getScalar(width) / 100 : width;
            origHeight = isPercentage(height) ? (viewport.h - hSpace) * getScalar(height) / 100 : height;

            if (current.type === 'iframe') {
                iframe = current.content;

                if (current.autoHeight && iframe.data('ready') === 1) {
                    try {
                        if (iframe[0].contentWindow.document.location) {
                            inner.width(origWidth).height(9999);

                            body = iframe.contents().find('body');

                            if (scrollOut) {
                                body.css('overflow-x', 'hidden');
                            }

                            origHeight = body.outerHeight(true);
                        }

                    } catch (e) { }
                }

            } else if (current.autoWidth || current.autoHeight) {
                inner.addClass('fancybox-tmp');

                // Set width or height in case we need to calculate only one dimension
                if (!current.autoWidth) {
                    inner.width(origWidth);
                }

                if (!current.autoHeight) {
                    inner.height(origHeight);
                }

                if (current.autoWidth) {
                    origWidth = inner.width();
                }

                if (current.autoHeight) {
                    origHeight = inner.height();
                }

                inner.removeClass('fancybox-tmp');
            }

            width = getScalar(origWidth);
            height = getScalar(origHeight);

            ratio = origWidth / origHeight;

            // Calculations for the content
            minWidth = getScalar(isPercentage(minWidth) ? getScalar(minWidth, 'w') - wSpace : minWidth);
            maxWidth = getScalar(isPercentage(maxWidth) ? getScalar(maxWidth, 'w') - wSpace : maxWidth);

            minHeight = getScalar(isPercentage(minHeight) ? getScalar(minHeight, 'h') - hSpace : minHeight);
            maxHeight = getScalar(isPercentage(maxHeight) ? getScalar(maxHeight, 'h') - hSpace : maxHeight);

            // These will be used to determine if wrap can fit in the viewport
            origMaxWidth = maxWidth;
            origMaxHeight = maxHeight;

            if (current.fitToView) {
                maxWidth = Math.min(viewport.w - wSpace, maxWidth);
                maxHeight = Math.min(viewport.h - hSpace, maxHeight);
            }

            maxWidth_ = viewport.w - wMargin;
            maxHeight_ = viewport.h - hMargin;

            if (current.aspectRatio) {
                if (width > maxWidth) {
                    width = maxWidth;
                    height = getScalar(width / ratio);
                }

                if (height > maxHeight) {
                    height = maxHeight;
                    width = getScalar(height * ratio);
                }

                if (width < minWidth) {
                    width = minWidth;
                    height = getScalar(width / ratio);
                }

                if (height < minHeight) {
                    height = minHeight;
                    width = getScalar(height * ratio);
                }

            } else {
                width = Math.max(minWidth, Math.min(width, maxWidth));

                if (current.autoHeight && current.type !== 'iframe') {
                    inner.width(width);

                    height = inner.height();
                }

                height = Math.max(minHeight, Math.min(height, maxHeight));
            }

            // Try to fit inside viewport (including the title)
            if (current.fitToView) {
                inner.width(width).height(height);

                wrap.width(width + wPadding);

                // Real wrap dimensions
                width_ = wrap.width();
                height_ = wrap.height();

                if (current.aspectRatio) {
                    while ((width_ > maxWidth_ || height_ > maxHeight_) && width > minWidth && height > minHeight) {
                        if (steps++ > 19) {
                            break;
                        }

                        height = Math.max(minHeight, Math.min(maxHeight, height - 10));
                        width = getScalar(height * ratio);

                        if (width < minWidth) {
                            width = minWidth;
                            height = getScalar(width / ratio);
                        }

                        if (width > maxWidth) {
                            width = maxWidth;
                            height = getScalar(width / ratio);
                        }

                        inner.width(width).height(height);

                        wrap.width(width + wPadding);

                        width_ = wrap.width();
                        height_ = wrap.height();
                    }

                } else {
                    width = Math.max(minWidth, Math.min(width, width - (width_ - maxWidth_)));
                    height = Math.max(minHeight, Math.min(height, height - (height_ - maxHeight_)));
                }
            }

            if (scrollOut && scrolling === 'auto' && height < origHeight && (width + wPadding + scrollOut) < maxWidth_) {
                width += scrollOut;
            }

            inner.width(width).height(height);

            wrap.width(width + wPadding);

            width_ = wrap.width();
            height_ = wrap.height();

            canShrink = (width_ > maxWidth_ || height_ > maxHeight_) && width > minWidth && height > minHeight;
            canExpand = current.aspectRatio ? (width < origMaxWidth && height < origMaxHeight && width < origWidth && height < origHeight) : ((width < origMaxWidth || height < origMaxHeight) && (width < origWidth || height < origHeight));

            $.extend(current, {
                dim: {
                    width: getValue(width_),
                    height: getValue(height_)
                },
                origWidth: origWidth,
                origHeight: origHeight,
                canShrink: canShrink,
                canExpand: canExpand,
                wPadding: wPadding,
                hPadding: hPadding,
                wrapSpace: height_ - skin.outerHeight(true),
                skinSpace: skin.height() - height
            });

            if (!iframe && current.autoHeight && height > minHeight && height < maxHeight && !canExpand) {
                inner.height('auto');
            }
        },

        _getPosition: function (onlyAbsolute) {
            var current = F.current,
				viewport = F.getViewport(),
				margin = current.margin,
				width = F.wrap.width() + margin[1] + margin[3],
				height = F.wrap.height() + margin[0] + margin[2],
				rez = {
				    position: 'absolute',
				    top: margin[0],
				    left: margin[3]
				};

            if (current.autoCenter && current.fixed && !onlyAbsolute && height <= viewport.h && width <= viewport.w) {
                rez.position = 'fixed';

            } else if (!current.locked) {
                rez.top += viewport.y;
                rez.left += viewport.x;
            }

            rez.top = getValue(Math.max(rez.top, rez.top + ((viewport.h - height) * current.topRatio)));
            rez.left = getValue(Math.max(rez.left, rez.left + ((viewport.w - width) * current.leftRatio)));

            return rez;
        },

        _afterZoomIn: function () {
            var current = F.current;

            if (!current) {
                return;
            }

            F.isOpen = F.isOpened = true;

            F.wrap.css('overflow', 'visible').addClass('fancybox-opened');

            F.update();

            // Assign a click event
            if (current.closeClick || (current.nextClick && F.group.length > 1)) {
                F.inner.css('cursor', 'pointer').bind('click.fb', function (e) {
                    if (!$(e.target).is('a') && !$(e.target).parent().is('a')) {
                        e.preventDefault();

                        F[current.closeClick ? 'close' : 'next']();
                    }
                });
            }

            // Create a close button
            if (current.closeBtn) {
                $(current.tpl.closeBtn).appendTo(F.skin).bind('click.fb', function (e) {
                    e.preventDefault();

                    F.close();
                });
            }

            // Create navigation arrows
            if (current.arrows && F.group.length > 1) {
                if (current.loop || current.index > 0) {
                    $(current.tpl.prev).appendTo(F.outer).bind('click.fb', F.prev);
                }

                if (current.loop || current.index < F.group.length - 1) {
                    $(current.tpl.next).appendTo(F.outer).bind('click.fb', F.next);
                }
            }

            F.trigger('afterShow');

            // Stop the slideshow if this is the last item
            if (!current.loop && current.index === current.group.length - 1) {
                F.play(false);

            } else if (F.opts.autoPlay && !F.player.isActive) {
                F.opts.autoPlay = false;

                F.play();
            }
        },

        _afterZoomOut: function (obj) {
            obj = obj || F.current;

            $('.fancybox-wrap').trigger('onReset').remove();

            $.extend(F, {
                group: {},
                opts: {},
                router: false,
                current: null,
                isActive: false,
                isOpened: false,
                isOpen: false,
                isClosing: false,
                wrap: null,
                skin: null,
                outer: null,
                inner: null
            });

            F.trigger('afterClose', obj);
        }
    });

    /*
	 *	Default transitions
	 */

    F.transitions = {
        getOrigPosition: function () {
            var current = F.current,
				element = current.element,
				orig = current.orig,
				pos = {},
				width = 50,
				height = 50,
				hPadding = current.hPadding,
				wPadding = current.wPadding,
				viewport = F.getViewport();

            if (!orig && current.isDom && element.is(':visible')) {
                orig = element.find('img:first');

                if (!orig.length) {
                    orig = element;
                }
            }

            if (isQuery(orig)) {
                pos = orig.offset();

                if (orig.is('img')) {
                    width = orig.outerWidth();
                    height = orig.outerHeight();
                }

            } else {
                pos.top = viewport.y + (viewport.h - height) * current.topRatio;
                pos.left = viewport.x + (viewport.w - width) * current.leftRatio;
            }

            if (F.wrap.css('position') === 'fixed' || current.locked) {
                pos.top -= viewport.y;
                pos.left -= viewport.x;
            }

            pos = {
                top: getValue(pos.top - hPadding * current.topRatio),
                left: getValue(pos.left - wPadding * current.leftRatio),
                width: getValue(width + wPadding),
                height: getValue(height + hPadding)
            };

            return pos;
        },

        step: function (now, fx) {
            var ratio,
				padding,
				value,
				prop = fx.prop,
				current = F.current,
				wrapSpace = current.wrapSpace,
				skinSpace = current.skinSpace;

            if (prop === 'width' || prop === 'height') {
                ratio = fx.end === fx.start ? 1 : (now - fx.start) / (fx.end - fx.start);

                if (F.isClosing) {
                    ratio = 1 - ratio;
                }

                padding = prop === 'width' ? current.wPadding : current.hPadding;
                value = now - padding;

                F.skin[prop](getScalar(prop === 'width' ? value : value - (wrapSpace * ratio)));
                F.inner[prop](getScalar(prop === 'width' ? value : value - (wrapSpace * ratio) - (skinSpace * ratio)));
            }
        },

        zoomIn: function () {
            var current = F.current,
				startPos = current.pos,
				effect = current.openEffect,
				elastic = effect === 'elastic',
				endPos = $.extend({ opacity: 1 }, startPos);

            // Remove "position" property that breaks older IE
            delete endPos.position;

            if (elastic) {
                startPos = this.getOrigPosition();

                if (current.openOpacity) {
                    startPos.opacity = 0.1;
                }

            } else if (effect === 'fade') {
                startPos.opacity = 0.1;
            }

            F.wrap.css(startPos).animate(endPos, {
                duration: effect === 'none' ? 0 : current.openSpeed,
                easing: current.openEasing,
                step: elastic ? this.step : null,
                complete: F._afterZoomIn
            });
        },

        zoomOut: function () {
            var current = F.current,
				effect = current.closeEffect,
				elastic = effect === 'elastic',
				endPos = { opacity: 0.1 };

            if (elastic) {
                endPos = this.getOrigPosition();

                if (current.closeOpacity) {
                    endPos.opacity = 0.1;
                }
            }

            F.wrap.animate(endPos, {
                duration: effect === 'none' ? 0 : current.closeSpeed,
                easing: current.closeEasing,
                step: elastic ? this.step : null,
                complete: F._afterZoomOut
            });
        },

        changeIn: function () {
            var current = F.current,
				effect = current.nextEffect,
				startPos = current.pos,
				endPos = { opacity: 1 },
				direction = F.direction,
				distance = 200,
				field;

            startPos.opacity = 0.1;

            if (effect === 'elastic') {
                field = direction === 'down' || direction === 'up' ? 'top' : 'left';

                if (direction === 'down' || direction === 'right') {
                    startPos[field] = getValue(getScalar(startPos[field]) - distance);
                    endPos[field] = '+=' + distance + 'px';

                } else {
                    startPos[field] = getValue(getScalar(startPos[field]) + distance);
                    endPos[field] = '-=' + distance + 'px';
                }
            }

            // Workaround for http://bugs.jquery.com/ticket/12273
            if (effect === 'none') {
                F._afterZoomIn();

            } else {
                F.wrap.css(startPos).animate(endPos, {
                    duration: current.nextSpeed,
                    easing: current.nextEasing,
                    complete: F._afterZoomIn
                });
            }
        },

        changeOut: function () {
            var previous = F.previous,
				effect = previous.prevEffect,
				endPos = { opacity: 0.1 },
				direction = F.direction,
				distance = 200;

            if (effect === 'elastic') {
                endPos[direction === 'down' || direction === 'up' ? 'top' : 'left'] = (direction === 'up' || direction === 'left' ? '-' : '+') + '=' + distance + 'px';
            }

            previous.wrap.animate(endPos, {
                duration: effect === 'none' ? 0 : previous.prevSpeed,
                easing: previous.prevEasing,
                complete: function () {
                    $(this).trigger('onReset').remove();
                }
            });
        }
    };

    /*
	 *	Overlay helper
	 */

    F.helpers.overlay = {
        defaults: {
            closeClick: true,      // if true, fancyBox will be closed when user clicks on the overlay
            speedOut: 200,       // duration of fadeOut animation
            showEarly: true,      // indicates if should be opened immediately or wait until the content is ready
            css: {},        // custom CSS properties
            locked: !isTouch,  // if true, the content will be locked into overlay
            fixed: true       // if false, the overlay CSS position property will not be set to "fixed"
        },

        overlay: null,      // current handle
        fixed: false,     // indicates if the overlay has position "fixed"
        el: $('html'), // element that contains "the lock"

        // Public methods
        create: function (opts) {
            opts = $.extend({}, this.defaults, opts);

            if (this.overlay) {
                this.close();
            }

            this.overlay = $('<div class="fancybox-overlay"></div>').appendTo(F.coming ? F.coming.parent : opts.parent);
            this.fixed = false;

            if (opts.fixed && F.defaults.fixed) {
                this.overlay.addClass('fancybox-overlay-fixed');

                this.fixed = true;
            }
        },

        open: function (opts) {
            var that = this;

            opts = $.extend({}, this.defaults, opts);

            if (this.overlay) {
                this.overlay.unbind('.overlay').width('auto').height('auto');

            } else {
                this.create(opts);
            }

            if (!this.fixed) {
                W.bind('resize.overlay', $.proxy(this.update, this));

                this.update();
            }

            if (opts.closeClick) {
                this.overlay.bind('click.overlay', function (e) {
                    if ($(e.target).hasClass('fancybox-overlay')) {
                        if (F.isActive) {
                            F.close();
                        } else {
                            that.close();
                        }

                        return false;
                    }
                });
            }

            this.overlay.css(opts.css).show();
        },

        close: function () {
            var scrollV, scrollH;

            W.unbind('resize.overlay');

            if (this.el.hasClass('fancybox-lock')) {
                $('.fancybox-margin').removeClass('fancybox-margin');

                scrollV = W.scrollTop();
                scrollH = W.scrollLeft();

                this.el.removeClass('fancybox-lock');

                W.scrollTop(scrollV).scrollLeft(scrollH);
            }

            $('.fancybox-overlay').remove().hide();

            $.extend(this, {
                overlay: null,
                fixed: false
            });
        },

        // Private, callbacks

        update: function () {
            var width = '100%', offsetWidth;

            // Reset width/height so it will not mess
            this.overlay.width(width).height('100%');

            // jQuery does not return reliable result for IE
            if (IE) {
                offsetWidth = Math.max(document.documentElement.offsetWidth, document.body.offsetWidth);

                if (D.width() > offsetWidth) {
                    width = D.width();
                }

            } else if (D.width() > W.width()) {
                width = D.width();
            }

            this.overlay.width(width).height(D.height());
        },

        // This is where we can manipulate DOM, because later it would cause iframes to reload
        onReady: function (opts, obj) {
            var overlay = this.overlay;

            $('.fancybox-overlay').stop(true, true);

            if (!overlay) {
                this.create(opts);
            }

            if (opts.locked && this.fixed && obj.fixed) {
                if (!overlay) {
                    this.margin = D.height() > W.height() ? $('html').css('margin-right').replace("px", "") : false;
                }

                obj.locked = this.overlay.append(obj.wrap);
                obj.fixed = false;
            }

            if (opts.showEarly === true) {
                this.beforeShow.apply(this, arguments);
            }
        },

        beforeShow: function (opts, obj) {
            var scrollV, scrollH;

            if (obj.locked) {
                if (this.margin !== false) {
                    $('*').filter(function () {
                        return ($(this).css('position') === 'fixed' && !$(this).hasClass("fancybox-overlay") && !$(this).hasClass("fancybox-wrap"));
                    }).addClass('fancybox-margin');

                    this.el.addClass('fancybox-margin');
                }

                scrollV = W.scrollTop();
                scrollH = W.scrollLeft();

                this.el.addClass('fancybox-lock');

                W.scrollTop(scrollV).scrollLeft(scrollH);
            }

            this.open(opts);
        },

        onUpdate: function () {
            if (!this.fixed) {
                this.update();
            }
        },

        afterClose: function (opts) {
            // Remove overlay if exists and fancyBox is not opening
            // (e.g., it is not being open using afterClose callback)
            //if (this.overlay && !F.isActive) {
            if (this.overlay && !F.coming) {
                this.overlay.fadeOut(opts.speedOut, $.proxy(this.close, this));
            }
        }
    };

    /*
	 *	Title helper
	 */

    F.helpers.title = {
        defaults: {
            type: 'float', // 'float', 'inside', 'outside' or 'over',
            position: 'bottom' // 'top' or 'bottom'
        },

        beforeShow: function (opts) {
            var current = F.current,
				text = current.title,
				type = opts.type,
				title,
				target;

            if ($.isFunction(text)) {
                text = text.call(current.element, current);
            }

            if (!isString(text) || $.trim(text) === '') {
                return;
            }

            title = $('<div class="fancybox-title fancybox-title-' + type + '-wrap">' + text + '</div>');

            switch (type) {
                case 'inside':
                    target = F.skin;
                    break;

                case 'outside':
                    target = F.wrap;
                    break;

                case 'over':
                    target = F.inner;
                    break;

                default: // 'float'
                    target = F.skin;

                    title.appendTo('body');

                    if (IE) {
                        title.width(title.width());
                    }

                    title.wrapInner('<span class="child"></span>');

                    //Increase bottom margin so this title will also fit into viewport
                    F.current.margin[2] += Math.abs(getScalar(title.css('margin-bottom')));
                    break;
            }

            title[(opts.position === 'top' ? 'prependTo' : 'appendTo')](target);
        }
    };

    // jQuery plugin initialization
    $.fn.fancybox = function (options) {
        var index,
			that = $(this),
			selector = this.selector || '',
			run = function (e) {
			    var what = $(this).blur(), idx = index, relType, relVal;

			    if (!(e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) && !what.is('.fancybox-wrap')) {
			        relType = options.groupAttr || 'data-fancybox-group';
			        relVal = what.attr(relType);

			        if (!relVal) {
			            relType = 'rel';
			            relVal = what.get(0)[relType];
			        }

			        if (relVal && relVal !== '' && relVal !== 'nofollow') {
			            what = selector.length ? $(selector) : that;
			            what = what.filter('[' + relType + '="' + relVal + '"]');
			            idx = what.index(this);
			        }

			        options.index = idx;

			        // Stop an event from bubbling if everything is fine
			        if (F.open(what, options) !== false) {
			            e.preventDefault();
			        }
			    }
			};

        options = options || {};
        index = options.index || 0;

        if (!selector || options.live === false) {
            that.unbind('click.fb-start').bind('click.fb-start', run);

        } else {
            D.undelegate(selector, 'click.fb-start').delegate(selector + ":not('.fancybox-item, .fancybox-nav')", 'click.fb-start', run);
        }

        this.filter('[data-fancybox-start=1]').trigger('click');

        return this;
    };

    // Tests that need a body at doc ready
    D.ready(function () {
        var w1, w2;

        if ($.scrollbarWidth === undefined) {
            // http://benalman.com/projects/jquery-misc-plugins/#scrollbarwidth
            $.scrollbarWidth = function () {
                var parent = $('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo('body'),
					child = parent.children(),
					width = child.innerWidth() - child.height(99).innerWidth();

                parent.remove();

                return width;
            };
        }

        if ($.support.fixedPosition === undefined) {
            $.support.fixedPosition = (function () {
                var elem = $('<div style="position:fixed;top:20px;"></div>').appendTo('body'),
					fixed = (elem[0].offsetTop === 20 || elem[0].offsetTop === 15);

                elem.remove();

                return fixed;
            }());
        }

        $.extend(F.defaults, {
            scrollbarWidth: $.scrollbarWidth(),
            fixed: $.support.fixedPosition,
            parent: $('body')
        });

        //Get real width of page scroll-bar
        w1 = $(window).width();

        H.addClass('fancybox-lock-test');

        w2 = $(window).width();

        H.removeClass('fancybox-lock-test');

        $("<style type='text/css'>.fancybox-margin{margin-right:" + (w2 - w1) + "px;}</style>").appendTo("head");
    });

}(window, document, jQuery));;
// Via: http://stackoverflow.com/questions/21784134/add-or-update-query-string-parameter-url-remains-unchanged
function UpdateQueryString(key, value, url) {
    //this flag is to check if you want to change the current page url
    //var iscurrentpage = false;
    //if (!url) {
    //	url = window.location.href;
    //	iscurrentpage = true;
    //}
    var re = new RegExp("([?&])" + key + "=.*?(&|#|$)(.*)", "gi");

    //this variable would be used as the result for this function
    var result = null;

    if (re.test(url)) {
        if (typeof value !== 'undefined' && value !== null) result = url.replace(re, '$1' + key + "=" + value + '$2$3');
        else {
            var hash = url.split('#');
            url = hash[0].replace(re, '$1$3').replace(/(&|\?)$/, '');
            if (typeof hash[1] !== 'undefined' && hash[1] !== null) url += '#' + hash[1];
            result = url;
        }
    } else {
        if (typeof value !== 'undefined' && value !== null) {
            var separator = url.indexOf('?') !== -1 ? '&' : '?',
                hash = url.split('#');
            url = hash[0] + separator + key + '=' + value;
            if (typeof hash[1] !== 'undefined' && hash[1] !== null) url += '#' + hash[1];
            result = url;
        } else result = url;
    }
    //if this is current page update the current page url
    //if (iscurrentpage) window.location.href = result;
    return result;
}

function ajaxifiedForm($form) {
    var type = $form.attr('method');
    var url = $form.attr('action');
    var data = $form.serialize();
    return jQuery.ajax({ type: type, url: url, data: data });
}

function timeAgo(date) {
    var now = new Date();
    var utc = new Date(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate(), now.getUTCHours(), now.getUTCMinutes(), now.getUTCSeconds());
    var difference = utc - date;
    var seconds = parseInt(difference / 1000);
    var minutes = parseInt(seconds / 60);
    var hours = parseInt(minutes / 60);
    var days = parseInt(hours / 24);
    if (days > 0) return days + " days ago";
    if (hours > 0) return hours + "h ago";
    if (minutes > 0) return minutes + "min ago";
    if (seconds > 0) return seconds + "s ago";
    return "Just now";
}

window.ParsleyConfig = {
    validators: {
        cannotbebeforetoday: {
            fn: function (value, requirements) {
                if (value == '')
                    return true;
                var now = new Date();
                var today = new Date(now.getFullYear(), now.getMonth(), now.getDate());
                return Date.parse(value) >= today;
            },
            priority: 32
        },
        cannotbeafterthreemonth: {
            fn: function (value, requirements) {
                if (value == '')
                    return true;
                var now = new Date();
                var futureMonth = new Date(now.getFullYear(), now.getMonth() + 3, now.getDate());
                return futureMonth >= Date.parse(value);
            },
            priority: 32
        },
        mustbetchecked: {
            fn: function (value, requirements) {
                return requirements.$element.is(':checked');
            },
            priority: 32
        }
    }
};

AddForgeryToken = function (data, formid) {
    data.__RequestVerificationToken = $('#' + formid + ' input[name=__RequestVerificationToken]').val();
    return data;
};
GoogleRecaptchaCallback = function (containerid, textvalue) {
    var v = grecaptcha.getResponse();
    if (v.length == 0) {
        jQuery('#' + containerid).text(textvalue);
        return false;
    }
    else {
        jQuery('#' + containerid).text("");
        return true;
    }
};
function steptrackerwithinpage(total, current, txt, info) {
    $('.m38-step-tracker').attr('data-total-steps', total);
    $('.m38-step-tracker').attr('data-current-step', current);
    $('.m38-step-tracker__progressbar').attr('aria-valuetext', txt);
    $('.m38-step-tracker').attr('data-hasInfo', info);

    jQuery(window).trigger('reinit_m38');
}
function removeSpaces(string) {
    return string.split(' ').join('');
}
Icadetails = function (eid, eidexp, pcat, pcode, pno, psrc, ica, beforesendfunc, completefunc, successfunc, errorfunc) {
    var url = "/api/ICAUserDetails/get/";
    jQuery.ajax({
        type: 'GET',
        url: url,
        beforeSend: beforesendfunc,
        data: {
            eid: eid,
            eidexp: eidexp,
            pcat: pcat,
            pcode: pcode,
            pno: pno,
            psrc: psrc,
            ica: ica
        },
        complete: completefunc,
        dataType: 'json',
        method: 'GET',
        async: true,
        success: function (response) {
            successfunc(response);
        }, error: function (response) {
            errorfunc();
        }
    });
}

jQuery(function (n) { function i(i) { i.preventDefault(); var o = n("#hiform"); o.submit() } n(".fancybox").fancybox(), n("#hitrigger").on("click", i), n(".non_arabic_link").on("click", function (i) { return n(i.id).is("#modal2") || (n(".dewa_noar").trigger("click"), window.setTimeout(function () { window.location.href = i.target }, 3e3)), !1 }) });
var lang = jQuery('html').attr('dir') == 'ltr' ? 'en' : 'ar';
moment.locale(lang);
window.attachSpinner = function (el, options) {
    var defaults = {
        zIndex: 0,
        minHeight: 300,
        bgColor: 'transparent',
        bgPosition: 'center center',
        opacity: 1
    };
    var opts = jQuery.extend(defaults, options);
    if (typeof el === 'string') {
        el = jQuery(el);
    }
    jQuery(el).animate({ minHeight: opts.minHeight }, {
        duration: 0, // iPad Mini cannot handle the CPU intesiveness of animation. Disabling for the time-being.
        complete: function () {
            var $el = jQuery(this);
            var $overlay = jQuery(document.createElement('div'))
                .addClass('ajax-loader-overlay')
                .css({
                    padding: $el.css('padding'),
                    width: $el.width(),
                    height: $el.height(),
                    minWidth: $el.css('min-width'),
                    minHeight: $el.css('min-height'),
                    zIndex: opts.zIndex,
                    backgroundColor: opts.bgColor,
                    backgroundPosition: opts.bgPosition
                })
                .fadeTo(0, opts.opacity);
            $el.append($overlay);
        }
    });
};
window.detachSpinner = function (el) {
    if (typeof el === 'string') {
        el = document.getElementById(el.replace('#', ''));
    }
    jQuery(el).animate({ minHeight: 0 }, {
        duration: 0 // iPad Mini cannot handle the CPU intesiveness of animation. Disabling for the time-being.
    }).find('.ajax-loader-overlay').remove();
};
;(function (window, $, undefined) { ;(function () {
    var VERSION = '2.2.3',
        pluginName = 'datepicker',
        autoInitSelector = '.datepicker-here',
        $body, $datepickersContainer,
        containerBuilt = false,
        baseTemplate = '' +
            '<div class="datepicker">' +
            '<i class="datepicker--pointer"></i>' +
            '<nav class="datepicker--nav"></nav>' +
            '<div class="datepicker--content"></div>' +
            '</div>',
        defaults = {
            classes: '',
            inline: false,
            language: 'ru',
            startDate: new Date(),
            firstDay: '',
            weekends: [6, 0],
            dateFormat: '',
            altField: '',
            altFieldDateFormat: '@',
            toggleSelected: true,
            keyboardNav: true,

            position: 'bottom left',
            offset: 12,

            view: 'days',
            minView: 'days',

            showOtherMonths: true,
            selectOtherMonths: true,
            moveToOtherMonthsOnSelect: true,

            showOtherYears: true,
            selectOtherYears: true,
            moveToOtherYearsOnSelect: true,

            minDate: '',
            maxDate: '',
            disableNavWhenOutOfRange: true,

            multipleDates: false, // Boolean or Number
            multipleDatesSeparator: ',',
            range: false,

            todayButton: false,
            clearButton: false,

            showEvent: 'focus',
            autoClose: false,

            // navigation
            monthsField: 'monthsShort',
            prevHtml: '<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>',
            nextHtml: '<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>',
            navTitles: {
                days: 'MM, <i>yyyy</i>',
                months: 'yyyy',
                years: 'yyyy1 - yyyy2'
            },

            // timepicker
            timepicker: false,
            onlyTimepicker: false,
            dateTimeSeparator: ' ',
            timeFormat: '',
            minHours: 0,
            maxHours: 24,
            minMinutes: 0,
            maxMinutes: 59,
            hoursStep: 1,
            minutesStep: 1,

            // events
            onSelect: '',
            onShow: '',
            onHide: '',
            onChangeMonth: '',
            onChangeYear: '',
            onChangeDecade: '',
            onChangeView: '',
            onRenderCell: ''
        },
        hotKeys = {
            'ctrlRight': [17, 39],
            'ctrlUp': [17, 38],
            'ctrlLeft': [17, 37],
            'ctrlDown': [17, 40],
            'shiftRight': [16, 39],
            'shiftUp': [16, 38],
            'shiftLeft': [16, 37],
            'shiftDown': [16, 40],
            'altUp': [18, 38],
            'altRight': [18, 39],
            'altLeft': [18, 37],
            'altDown': [18, 40],
            'ctrlShiftUp': [16, 17, 38]
        },
        datepicker;

    var Datepicker  = function (el, options) {
        this.el = el;
        this.$el = $(el);

        this.opts = $.extend(true, {}, defaults, options, this.$el.data());

        if ($body == undefined) {
            $body = $('body');
        }

        if (!this.opts.startDate) {
            this.opts.startDate = new Date();
        }

        if (this.el.nodeName == 'INPUT') {
            this.elIsInput = true;
        }

        if (this.opts.altField) {
            this.$altField = typeof this.opts.altField == 'string' ? $(this.opts.altField) : this.opts.altField;
        }

        this.inited = false;
        this.visible = false;
        this.silent = false; // Need to prevent unnecessary rendering

        this.currentDate = this.opts.startDate;
        this.currentView = this.opts.view;
        this._createShortCuts();
        this.selectedDates = [];
        this.views = {};
        this.keys = [];
        this.minRange = '';
        this.maxRange = '';
        this._prevOnSelectValue = '';

        this.init()
    };

    datepicker = Datepicker;

    datepicker.prototype = {
        VERSION: VERSION,
        viewIndexes: ['days', 'months', 'years'],

        init: function () {
            if (!containerBuilt && !this.opts.inline && this.elIsInput) {
                this._buildDatepickersContainer();
            }
            this._buildBaseHtml();
            this._defineLocale(this.opts.language);
            this._syncWithMinMaxDates();

            if (this.elIsInput) {
                if (!this.opts.inline) {
                    // Set extra classes for proper transitions
                    this._setPositionClasses(this.opts.position);
                    this._bindEvents()
                }
                if (this.opts.keyboardNav && !this.opts.onlyTimepicker) {
                    this._bindKeyboardEvents();
                }
                this.$datepicker.on('mousedown', this._onMouseDownDatepicker.bind(this));
                this.$datepicker.on('mouseup', this._onMouseUpDatepicker.bind(this));
            }

            if (this.opts.classes) {
                this.$datepicker.addClass(this.opts.classes)
            }

            if (this.opts.timepicker) {
                this.timepicker = new $.fn.datepicker.Timepicker(this, this.opts);
                this._bindTimepickerEvents();
            }

            if (this.opts.onlyTimepicker) {
                this.$datepicker.addClass('-only-timepicker-');
            }

            this.views[this.currentView] = new $.fn.datepicker.Body(this, this.currentView, this.opts);
            this.views[this.currentView].show();
            this.nav = new $.fn.datepicker.Navigation(this, this.opts);
            this.view = this.currentView;

            this.$el.on('clickCell.adp', this._onClickCell.bind(this));
            this.$datepicker.on('mouseenter', '.datepicker--cell', this._onMouseEnterCell.bind(this));
            this.$datepicker.on('mouseleave', '.datepicker--cell', this._onMouseLeaveCell.bind(this));

            this.inited = true;
        },

        _createShortCuts: function () {
            this.minDate = this.opts.minDate ? this.opts.minDate : new Date(-8639999913600000);
            this.maxDate = this.opts.maxDate ? this.opts.maxDate : new Date(8639999913600000);
        },

        _bindEvents : function () {
            this.$el.on(this.opts.showEvent + '.adp', this._onShowEvent.bind(this));
            this.$el.on('mouseup.adp', this._onMouseUpEl.bind(this));
            this.$el.on('blur.adp', this._onBlur.bind(this));
            this.$el.on('keyup.adp', this._onKeyUpGeneral.bind(this));
            $(window).on('resize.adp', this._onResize.bind(this));
            $('body').on('mouseup.adp', this._onMouseUpBody.bind(this));
        },

        _bindKeyboardEvents: function () {
            this.$el.on('keydown.adp', this._onKeyDown.bind(this));
            this.$el.on('keyup.adp', this._onKeyUp.bind(this));
            this.$el.on('hotKey.adp', this._onHotKey.bind(this));
        },

        _bindTimepickerEvents: function () {
            this.$el.on('timeChange.adp', this._onTimeChange.bind(this));
        },

        isWeekend: function (day) {
            return this.opts.weekends.indexOf(day) !== -1;
        },

        _defineLocale: function (lang) {
            if (typeof lang == 'string') {
                this.loc = $.fn.datepicker.language[lang];
                if (!this.loc) {
                    console.warn('Can\'t find language "' + lang + '" in Datepicker.language, will use "ru" instead');
                    this.loc = $.extend(true, {}, $.fn.datepicker.language.ru)
                }

                this.loc = $.extend(true, {}, $.fn.datepicker.language.ru, $.fn.datepicker.language[lang])
            } else {
                this.loc = $.extend(true, {}, $.fn.datepicker.language.ru, lang)
            }

            if (this.opts.dateFormat) {
                this.loc.dateFormat = this.opts.dateFormat
            }

            if (this.opts.timeFormat) {
                this.loc.timeFormat = this.opts.timeFormat
            }

            if (this.opts.firstDay !== '') {
                this.loc.firstDay = this.opts.firstDay
            }

            if (this.opts.timepicker) {
                this.loc.dateFormat = [this.loc.dateFormat, this.loc.timeFormat].join(this.opts.dateTimeSeparator);
            }

            if (this.opts.onlyTimepicker) {
                this.loc.dateFormat = this.loc.timeFormat;
            }

            var boundary = this._getWordBoundaryRegExp;
            if (this.loc.timeFormat.match(boundary('aa')) ||
                this.loc.timeFormat.match(boundary('AA'))
            ) {
               this.ampm = true;
            }
        },

        _buildDatepickersContainer: function () {
            containerBuilt = true;
            $body.append('<div class="datepickers-container" id="datepickers-container"></div>');
            $datepickersContainer = $('#datepickers-container');
        },

        _buildBaseHtml: function () {
            var $appendTarget,
                $inline = $('<div class="datepicker-inline">');

            if(this.el.nodeName == 'INPUT') {
                if (!this.opts.inline) {
                    $appendTarget = $datepickersContainer;
                } else {
                    $appendTarget = $inline.insertAfter(this.$el)
                }
            } else {
                $appendTarget = $inline.appendTo(this.$el)
            }

            this.$datepicker = $(baseTemplate).appendTo($appendTarget);
            this.$content = $('.datepicker--content', this.$datepicker);
            this.$nav = $('.datepicker--nav', this.$datepicker);
        },

        _triggerOnChange: function () {
            if (!this.selectedDates.length) {
                // Prevent from triggering multiple onSelect callback with same argument (empty string) in IE10-11
                if (this._prevOnSelectValue === '') return;
                this._prevOnSelectValue = '';
                return this.opts.onSelect('', '', this);
            }

            var selectedDates = this.selectedDates,
                parsedSelected = datepicker.getParsedDate(selectedDates[0]),
                formattedDates,
                _this = this,
                dates = new Date(
                    parsedSelected.year,
                    parsedSelected.month,
                    parsedSelected.date,
                    parsedSelected.hours,
                    parsedSelected.minutes
                );

                formattedDates = selectedDates.map(function (date) {
                    return _this.formatDate(_this.loc.dateFormat, date)
                }).join(this.opts.multipleDatesSeparator);

            // Create new dates array, to separate it from original selectedDates
            if (this.opts.multipleDates || this.opts.range) {
                dates = selectedDates.map(function(date) {
                    var parsedDate = datepicker.getParsedDate(date);
                    return new Date(
                        parsedDate.year,
                        parsedDate.month,
                        parsedDate.date,
                        parsedDate.hours,
                        parsedDate.minutes
                    );
                })
            }

            this._prevOnSelectValue = formattedDates;
            this.opts.onSelect(formattedDates, dates, this);
        },

        next: function () {
            var d = this.parsedDate,
                o = this.opts;
            switch (this.view) {
                case 'days':
                    this.date = new Date(d.year, d.month + 1, 1);
                    if (o.onChangeMonth) o.onChangeMonth(this.parsedDate.month, this.parsedDate.year);
                    break;
                case 'months':
                    this.date = new Date(d.year + 1, d.month, 1);
                    if (o.onChangeYear) o.onChangeYear(this.parsedDate.year);
                    break;
                case 'years':
                    this.date = new Date(d.year + 10, 0, 1);
                    if (o.onChangeDecade) o.onChangeDecade(this.curDecade);
                    break;
            }
        },

        prev: function () {
            var d = this.parsedDate,
                o = this.opts;
            switch (this.view) {
                case 'days':
                    this.date = new Date(d.year, d.month - 1, 1);
                    if (o.onChangeMonth) o.onChangeMonth(this.parsedDate.month, this.parsedDate.year);
                    break;
                case 'months':
                    this.date = new Date(d.year - 1, d.month, 1);
                    if (o.onChangeYear) o.onChangeYear(this.parsedDate.year);
                    break;
                case 'years':
                    this.date = new Date(d.year - 10, 0, 1);
                    if (o.onChangeDecade) o.onChangeDecade(this.curDecade);
                    break;
            }
        },

        formatDate: function (string, date) {
            date = date || this.date;
            var result = string,
                boundary = this._getWordBoundaryRegExp,
                locale = this.loc,
                leadingZero = datepicker.getLeadingZeroNum,
                decade = datepicker.getDecade(date),
                d = datepicker.getParsedDate(date),
                fullHours = d.fullHours,
                hours = d.hours,
                ampm = string.match(boundary('aa')) || string.match(boundary('AA')),
                dayPeriod = 'am',
                replacer = this._replacer,
                validHours;

            if (this.opts.timepicker && this.timepicker && ampm) {
                validHours = this.timepicker._getValidHoursFromDate(date, ampm);
                fullHours = leadingZero(validHours.hours);
                hours = validHours.hours;
                dayPeriod = validHours.dayPeriod;
            }

            switch (true) {
                case /@/.test(result):
                    result = result.replace(/@/, date.getTime());
                case /aa/.test(result):
                    result = replacer(result, boundary('aa'), dayPeriod);
                case /AA/.test(result):
                    result = replacer(result, boundary('AA'), dayPeriod.toUpperCase());
                case /dd/.test(result):
                    result = replacer(result, boundary('dd'), d.fullDate);
                case /d/.test(result):
                    result = replacer(result, boundary('d'), d.date);
                case /DD/.test(result):
                    result = replacer(result, boundary('DD'), locale.days[d.day]);
                case /D/.test(result):
                    result = replacer(result, boundary('D'), locale.daysShort[d.day]);
                case /mm/.test(result):
                    result = replacer(result, boundary('mm'), d.fullMonth);
                case /m/.test(result):
                    result = replacer(result, boundary('m'), d.month + 1);
                case /MM/.test(result):
                    result = replacer(result, boundary('MM'), this.loc.months[d.month]);
                case /M/.test(result):
                    result = replacer(result, boundary('M'), locale.monthsShort[d.month]);
                case /ii/.test(result):
                    result = replacer(result, boundary('ii'), d.fullMinutes);
                case /i/.test(result):
                    result = replacer(result, boundary('i'), d.minutes);
                case /hh/.test(result):
                    result = replacer(result, boundary('hh'), fullHours);
                case /h/.test(result):
                    result = replacer(result, boundary('h'), hours);
                case /yyyy/.test(result):
                    result = replacer(result, boundary('yyyy'), d.year);
                case /yyyy1/.test(result):
                    result = replacer(result, boundary('yyyy1'), decade[0]);
                case /yyyy2/.test(result):
                    result = replacer(result, boundary('yyyy2'), decade[1]);
                case /yy/.test(result):
                    result = replacer(result, boundary('yy'), d.year.toString().slice(-2));
            }

            return result;
        },

        _replacer: function (str, reg, data) {
            return str.replace(reg, function (match, p1,p2,p3) {
                return p1 + data + p3;
            })
        },

        _getWordBoundaryRegExp: function (sign) {
            var symbols = '\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;';

            return new RegExp('(^|>|' + symbols + ')(' + sign + ')($|<|' + symbols + ')', 'g');
        },


        selectDate: function (date) {
            var _this = this,
                opts = _this.opts,
                d = _this.parsedDate,
                selectedDates = _this.selectedDates,
                len = selectedDates.length,
                newDate = '';

            if (Array.isArray(date)) {
                date.forEach(function (d) {
                    _this.selectDate(d)
                });
                return;
            }

            if (!(date instanceof Date)) return;

            this.lastSelectedDate = date;

            // Set new time values from Date
            if (this.timepicker) {
                this.timepicker._setTime(date);
            }

            // On this step timepicker will set valid values in it's instance
            _this._trigger('selectDate', date);

            // Set correct time values after timepicker's validation
            // Prevent from setting hours or minutes which values are lesser then `min` value or
            // greater then `max` value
            if (this.timepicker) {
                date.setHours(this.timepicker.hours);
                date.setMinutes(this.timepicker.minutes)
            }

            if (_this.view == 'days') {
                if (date.getMonth() != d.month && opts.moveToOtherMonthsOnSelect) {
                    newDate = new Date(date.getFullYear(), date.getMonth(), 1);
                }
            }

            if (_this.view == 'years') {
                if (date.getFullYear() != d.year && opts.moveToOtherYearsOnSelect) {
                    newDate = new Date(date.getFullYear(), 0, 1);
                }
            }

            if (newDate) {
                _this.silent = true;
                _this.date = newDate;
                _this.silent = false;
                _this.nav._render()
            }

            if (opts.multipleDates && !opts.range) { // Set priority to range functionality
                if (len === opts.multipleDates) return;
                if (!_this._isSelected(date)) {
                    _this.selectedDates.push(date);
                }
            } else if (opts.range) {
                if (len == 2) {
                    _this.selectedDates = [date];
                    _this.minRange = date;
                    _this.maxRange = '';
                } else if (len == 1) {
                    _this.selectedDates.push(date);
                    if (!_this.maxRange){
                        _this.maxRange = date;
                    } else {
                        _this.minRange = date;
                    }
                    // Swap dates if they were selected via dp.selectDate() and second date was smaller then first
                    if (datepicker.bigger(_this.maxRange, _this.minRange)) {
                        _this.maxRange = _this.minRange;
                        _this.minRange = date;
                    }
                    _this.selectedDates = [_this.minRange, _this.maxRange]

                } else {
                    _this.selectedDates = [date];
                    _this.minRange = date;
                }
            } else {
                _this.selectedDates = [date];
            }

            _this._setInputValue();

            if (opts.onSelect) {
                _this._triggerOnChange();
            }

            if (opts.autoClose && !this.timepickerIsActive) {
                if (!opts.multipleDates && !opts.range) {
                    _this.hide();
                } else if (opts.range && _this.selectedDates.length == 2) {
                    _this.hide();
                }
            }

            _this.views[this.currentView]._render()
        },

        removeDate: function (date) {
            var selected = this.selectedDates,
                _this = this;

            if (!(date instanceof Date)) return;

            return selected.some(function (curDate, i) {
                if (datepicker.isSame(curDate, date)) {
                    selected.splice(i, 1);

                    if (!_this.selectedDates.length) {
                        _this.minRange = '';
                        _this.maxRange = '';
                        _this.lastSelectedDate = '';
                    } else {
                        _this.lastSelectedDate = _this.selectedDates[_this.selectedDates.length - 1];
                    }

                    _this.views[_this.currentView]._render();
                    _this._setInputValue();

                    if (_this.opts.onSelect) {
                        _this._triggerOnChange();
                    }

                    return true
                }
            })
        },

        today: function () {
            this.silent = true;
            this.view = this.opts.minView;
            this.silent = false;
            this.date = new Date();

            if (this.opts.todayButton instanceof Date) {
                this.selectDate(this.opts.todayButton)
            }
        },

        clear: function () {
            this.selectedDates = [];
            this.minRange = '';
            this.maxRange = '';
            this.views[this.currentView]._render();
            this._setInputValue();
            if (this.opts.onSelect) {
                this._triggerOnChange()
            }
        },

        /**
         * Updates datepicker options
         * @param {String|Object} param - parameter's name to update. If object then it will extend current options
         * @param {String|Number|Object} [value] - new param value
         */
        update: function (param, value) {
            var len = arguments.length,
                lastSelectedDate = this.lastSelectedDate;

            if (len == 2) {
                this.opts[param] = value;
            } else if (len == 1 && typeof param == 'object') {
                this.opts = $.extend(true, this.opts, param)
            }

            this._createShortCuts();
            this._syncWithMinMaxDates();
            this._defineLocale(this.opts.language);
            this.nav._addButtonsIfNeed();
            if (!this.opts.onlyTimepicker) this.nav._render();
            this.views[this.currentView]._render();

            if (this.elIsInput && !this.opts.inline) {
                this._setPositionClasses(this.opts.position);
                if (this.visible) {
                    this.setPosition(this.opts.position)
                }
            }

            if (this.opts.classes) {
                this.$datepicker.addClass(this.opts.classes)
            }

            if (this.opts.onlyTimepicker) {
                this.$datepicker.addClass('-only-timepicker-');
            }

            if (this.opts.timepicker) {
                if (lastSelectedDate) this.timepicker._handleDate(lastSelectedDate);
                this.timepicker._updateRanges();
                this.timepicker._updateCurrentTime();
                // Change hours and minutes if it's values have been changed through min/max hours/minutes
                if (lastSelectedDate) {
                    lastSelectedDate.setHours(this.timepicker.hours);
                    lastSelectedDate.setMinutes(this.timepicker.minutes);
                }
            }

            this._setInputValue();

            return this;
        },

        _syncWithMinMaxDates: function () {
            var curTime = this.date.getTime();
            this.silent = true;
            if (this.minTime > curTime) {
                this.date = this.minDate;
            }

            if (this.maxTime < curTime) {
                this.date = this.maxDate;
            }
            this.silent = false;
        },

        _isSelected: function (checkDate, cellType) {
            var res = false;
            this.selectedDates.some(function (date) {
                if (datepicker.isSame(date, checkDate, cellType)) {
                    res = date;
                    return true;
                }
            });
            return res;
        },

        _setInputValue: function () {
            var _this = this,
                opts = _this.opts,
                format = _this.loc.dateFormat,
                altFormat = opts.altFieldDateFormat,
                value = _this.selectedDates.map(function (date) {
                    return _this.formatDate(format, date)
                }),
                altValues;

            if (opts.altField && _this.$altField.length) {
                altValues = this.selectedDates.map(function (date) {
                    return _this.formatDate(altFormat, date)
                });
                altValues = altValues.join(this.opts.multipleDatesSeparator);
                this.$altField.val(altValues);
            }

            value = value.join(this.opts.multipleDatesSeparator);

            this.$el.val(value)
        },

        /**
         * Check if date is between minDate and maxDate
         * @param date {object} - date object
         * @param type {string} - cell type
         * @returns {boolean}
         * @private
         */
        _isInRange: function (date, type) {
            var time = date.getTime(),
                d = datepicker.getParsedDate(date),
                min = datepicker.getParsedDate(this.minDate),
                max = datepicker.getParsedDate(this.maxDate),
                dMinTime = new Date(d.year, d.month, min.date).getTime(),
                dMaxTime = new Date(d.year, d.month, max.date).getTime(),
                types = {
                    day: time >= this.minTime && time <= this.maxTime,
                    month: dMinTime >= this.minTime && dMaxTime <= this.maxTime,
                    year: d.year >= min.year && d.year <= max.year
                };
            return type ? types[type] : types.day
        },

        _getDimensions: function ($el) {
            var offset = $el.offset();

            return {
                width: $el.outerWidth(),
                height: $el.outerHeight(),
                left: offset.left,
                top: offset.top
            }
        },

        _getDateFromCell: function (cell) {
            var curDate = this.parsedDate,
                year = cell.data('year') || curDate.year,
                month = cell.data('month') == undefined ? curDate.month : cell.data('month'),
                date = cell.data('date') || 1;

            return new Date(year, month, date);
        },

        _setPositionClasses: function (pos) {
            pos = pos.split(' ');
            var main = pos[0],
                sec = pos[1],
                classes = 'datepicker -' + main + '-' + sec + '- -from-' + main + '-';

            if (this.visible) classes += ' active';

            this.$datepicker
                .removeAttr('class')
                .addClass(classes);
        },

        setPosition: function (position) {
            position = position || this.opts.position;

            var dims = this._getDimensions(this.$el),
                selfDims = this._getDimensions(this.$datepicker),
                pos = position.split(' '),
                top, left,
                offset = this.opts.offset,
                main = pos[0],
                secondary = pos[1];

            switch (main) {
                case 'top':
                    top = dims.top - selfDims.height - offset;
                    break;
                case 'right':
                    left = dims.left + dims.width + offset;
                    break;
                case 'bottom':
                    top = dims.top + dims.height + offset;
                    break;
                case 'left':
                    left = dims.left - selfDims.width - offset;
                    break;
            }

            switch(secondary) {
                case 'top':
                    top = dims.top;
                    break;
                case 'right':
                    left = dims.left + dims.width - selfDims.width;
                    break;
                case 'bottom':
                    top = dims.top + dims.height - selfDims.height;
                    break;
                case 'left':
                    left = dims.left;
                    break;
                case 'center':
                    if (/left|right/.test(main)) {
                        top = dims.top + dims.height/2 - selfDims.height/2;
                    } else {
                        left = dims.left + dims.width/2 - selfDims.width/2;
                    }
            }
            if ( $('html').attr('dir') == 'rtl' ) {
                this.$datepicker
                    .css({
                        left: left,
                        top: top,
                        right: 'auto'
                    })
            } else {
                this.$datepicker
                    .css({
                        left: left,
                        top: top
                    })   
            }
        },

        show: function () {
            var onShow = this.opts.onShow;

            this.setPosition(this.opts.position);
            this.$datepicker.addClass('active');
            this.visible = true;

            if (onShow) {
                this._bindVisionEvents(onShow)
            }
        },

        hide: function () {
            var onHide = this.opts.onHide;

            if ( $('html').attr('dir') == 'rtl' ) {
            this.$datepicker
                .removeClass('active')
                .css({
                    right: '-100000px'
                });
            } else {
            this.$datepicker
                .removeClass('active')
                .css({
                    left: '-100000px'
                });
            }

            this.focused = '';
            this.keys = [];

            this.inFocus = false;
            this.visible = false;
            this.$el.blur();

            if (onHide) {
                this._bindVisionEvents(onHide)
            }
        },

        down: function (date) {
            this._changeView(date, 'down');
        },

        up: function (date) {
            this._changeView(date, 'up');
        },

        _bindVisionEvents: function (event) {
            this.$datepicker.off('transitionend.dp');
            event(this, false);
            this.$datepicker.one('transitionend.dp', event.bind(this, this, true))
        },

        _changeView: function (date, dir) {
            date = date || this.focused || this.date;

            var nextView = dir == 'up' ? this.viewIndex + 1 : this.viewIndex - 1;
            if (nextView > 2) nextView = 2;
            if (nextView < 0) nextView = 0;

            this.silent = true;
            this.date = new Date(date.getFullYear(), date.getMonth(), 1);
            this.silent = false;
            this.view = this.viewIndexes[nextView];

        },

        _handleHotKey: function (key) {
            var date = datepicker.getParsedDate(this._getFocusedDate()),
                focusedParsed,
                o = this.opts,
                newDate,
                totalDaysInNextMonth,
                monthChanged = false,
                yearChanged = false,
                decadeChanged = false,
                y = date.year,
                m = date.month,
                d = date.date;

            switch (key) {
                case 'ctrlRight':
                case 'ctrlUp':
                    m += 1;
                    monthChanged = true;
                    break;
                case 'ctrlLeft':
                case 'ctrlDown':
                    m -= 1;
                    monthChanged = true;
                    break;
                case 'shiftRight':
                case 'shiftUp':
                    yearChanged = true;
                    y += 1;
                    break;
                case 'shiftLeft':
                case 'shiftDown':
                    yearChanged = true;
                    y -= 1;
                    break;
                case 'altRight':
                case 'altUp':
                    decadeChanged = true;
                    y += 10;
                    break;
                case 'altLeft':
                case 'altDown':
                    decadeChanged = true;
                    y -= 10;
                    break;
                case 'ctrlShiftUp':
                    this.up();
                    break;
            }

            totalDaysInNextMonth = datepicker.getDaysCount(new Date(y,m));
            newDate = new Date(y,m,d);

            // If next month has less days than current, set date to total days in that month
            if (totalDaysInNextMonth < d) d = totalDaysInNextMonth;

            // Check if newDate is in valid range
            if (newDate.getTime() < this.minTime) {
                newDate = this.minDate;
            } else if (newDate.getTime() > this.maxTime) {
                newDate = this.maxDate;
            }

            this.focused = newDate;

            focusedParsed = datepicker.getParsedDate(newDate);
            if (monthChanged && o.onChangeMonth) {
                o.onChangeMonth(focusedParsed.month, focusedParsed.year)
            }
            if (yearChanged && o.onChangeYear) {
                o.onChangeYear(focusedParsed.year)
            }
            if (decadeChanged && o.onChangeDecade) {
                o.onChangeDecade(this.curDecade)
            }
        },

        _registerKey: function (key) {
            var exists = this.keys.some(function (curKey) {
                return curKey == key;
            });

            if (!exists) {
                this.keys.push(key)
            }
        },

        _unRegisterKey: function (key) {
            var index = this.keys.indexOf(key);

            this.keys.splice(index, 1);
        },

        _isHotKeyPressed: function () {
            var currentHotKey,
                found = false,
                _this = this,
                pressedKeys = this.keys.sort();

            for (var hotKey in hotKeys) {
                currentHotKey = hotKeys[hotKey];
                if (pressedKeys.length != currentHotKey.length) continue;

                if (currentHotKey.every(function (key, i) { return key == pressedKeys[i]})) {
                    _this._trigger('hotKey', hotKey);
                    found = true;
                }
            }

            return found;
        },

        _trigger: function (event, args) {
            this.$el.trigger(event, args)
        },

        _focusNextCell: function (keyCode, type) {
            type = type || this.cellType;

            var date = datepicker.getParsedDate(this._getFocusedDate()),
                y = date.year,
                m = date.month,
                d = date.date;

            if (this._isHotKeyPressed()){
                return;
            }

            switch(keyCode) {
                case 37: // left
                    type == 'day' ? (d -= 1) : '';
                    type == 'month' ? (m -= 1) : '';
                    type == 'year' ? (y -= 1) : '';
                    break;
                case 38: // up
                    type == 'day' ? (d -= 7) : '';
                    type == 'month' ? (m -= 3) : '';
                    type == 'year' ? (y -= 4) : '';
                    break;
                case 39: // right
                    type == 'day' ? (d += 1) : '';
                    type == 'month' ? (m += 1) : '';
                    type == 'year' ? (y += 1) : '';
                    break;
                case 40: // down
                    type == 'day' ? (d += 7) : '';
                    type == 'month' ? (m += 3) : '';
                    type == 'year' ? (y += 4) : '';
                    break;
            }

            var nd = new Date(y,m,d);
            if (nd.getTime() < this.minTime) {
                nd = this.minDate;
            } else if (nd.getTime() > this.maxTime) {
                nd = this.maxDate;
            }

            this.focused = nd;

        },

        _getFocusedDate: function () {
            var focused  = this.focused || this.selectedDates[this.selectedDates.length - 1],
                d = this.parsedDate;

            if (!focused) {
                switch (this.view) {
                    case 'days':
                        focused = new Date(d.year, d.month, new Date().getDate());
                        break;
                    case 'months':
                        focused = new Date(d.year, d.month, 1);
                        break;
                    case 'years':
                        focused = new Date(d.year, 0, 1);
                        break;
                }
            }

            return focused;
        },

        _getCell: function (date, type) {
            type = type || this.cellType;

            var d = datepicker.getParsedDate(date),
                selector = '.datepicker--cell[data-year="' + d.year + '"]',
                $cell;

            switch (type) {
                case 'month':
                    selector = '[data-month="' + d.month + '"]';
                    break;
                case 'day':
                    selector += '[data-month="' + d.month + '"][data-date="' + d.date + '"]';
                    break;
            }
            $cell = this.views[this.currentView].$el.find(selector);

            return $cell.length ? $cell : $('');
        },

        destroy: function () {
            var _this = this;
            _this.$el
                .off('.adp')
                .data('datepicker', '');

            _this.selectedDates = [];
            _this.focused = '';
            _this.views = {};
            _this.keys = [];
            _this.minRange = '';
            _this.maxRange = '';

            if (_this.opts.inline || !_this.elIsInput) {
                _this.$datepicker.closest('.datepicker-inline').remove();
            } else {
                _this.$datepicker.remove();
            }
        },

        _handleAlreadySelectedDates: function (alreadySelected, selectedDate) {
            if (this.opts.range) {
                if (!this.opts.toggleSelected) {
                    // Add possibility to select same date when range is true
                    if (this.selectedDates.length != 2) {
                        this._trigger('clickCell', selectedDate);
                    }
                } else {
                    this.removeDate(selectedDate);
                }
            } else if (this.opts.toggleSelected){
                this.removeDate(selectedDate);
            }

            // Change last selected date to be able to change time when clicking on this cell
            if (!this.opts.toggleSelected) {
                this.lastSelectedDate = alreadySelected;
                if (this.opts.timepicker) {
                    this.timepicker._setTime(alreadySelected);
                    this.timepicker.update();
                }
            }
        },

        _onShowEvent: function (e) {
            if (!this.visible) {
                this.show();
            }
        },

        _onBlur: function () {
            if (!this.inFocus && this.visible) {
                this.hide();
            }
        },

        _onMouseDownDatepicker: function (e) {
            this.inFocus = true;
        },

        _onMouseUpDatepicker: function (e) {
            this.inFocus = false;
            e.originalEvent.inFocus = true;
            if (!e.originalEvent.timepickerFocus) this.$el.focus();
        },

        _onKeyUpGeneral: function (e) {
            var val = this.$el.val();

            if (!val) {
                this.clear();
            }
        },

        _onResize: function () {
            if (this.visible) {
                this.setPosition();
            }
        },

        _onMouseUpBody: function (e) {
            if (e.originalEvent.inFocus) return;

            if (this.visible && !this.inFocus) {
                this.hide();
            }
        },

        _onMouseUpEl: function (e) {
            e.originalEvent.inFocus = true;
            setTimeout(this._onKeyUpGeneral.bind(this),4);
        },

        _onKeyDown: function (e) {
            var code = e.which;
            this._registerKey(code);

            // Arrows
            if (code >= 37 && code <= 40) {
                e.preventDefault();
                this._focusNextCell(code);
            }

            // Enter
            if (code == 13) {
                if (this.focused) {
                    if (this._getCell(this.focused).hasClass('-disabled-')) return;
                    if (this.view != this.opts.minView) {
                        this.down()
                    } else {
                        var alreadySelected = this._isSelected(this.focused, this.cellType);

                        if (!alreadySelected) {
                            if (this.timepicker) {
                                this.focused.setHours(this.timepicker.hours);
                                this.focused.setMinutes(this.timepicker.minutes);
                            }
                            this.selectDate(this.focused);
                            return;
                        }
                        this._handleAlreadySelectedDates(alreadySelected, this.focused)
                    }
                }
            }

            // Esc
            if (code == 27) {
                this.hide();
            }
        },

        _onKeyUp: function (e) {
            var code = e.which;
            this._unRegisterKey(code);
        },

        _onHotKey: function (e, hotKey) {
            this._handleHotKey(hotKey);
        },

        _onMouseEnterCell: function (e) {
            var $cell = $(e.target).closest('.datepicker--cell'),
                date = this._getDateFromCell($cell);

            // Prevent from unnecessary rendering and setting new currentDate
            this.silent = true;

            if (this.focused) {
                this.focused = ''
            }

            $cell.addClass('-focus-');

            this.focused = date;
            this.silent = false;

            if (this.opts.range && this.selectedDates.length == 1) {
                this.minRange = this.selectedDates[0];
                this.maxRange = '';
                if (datepicker.less(this.minRange, this.focused)) {
                    this.maxRange = this.minRange;
                    this.minRange = '';
                }
                this.views[this.currentView]._update();
            }
        },

        _onMouseLeaveCell: function (e) {
            var $cell = $(e.target).closest('.datepicker--cell');

            $cell.removeClass('-focus-');

            this.silent = true;
            this.focused = '';
            this.silent = false;
        },

        _onTimeChange: function (e, h, m) {
            var date = new Date(),
                selectedDates = this.selectedDates,
                selected = false;

            if (selectedDates.length) {
                selected = true;
                date = this.lastSelectedDate;
            }

            date.setHours(h);
            date.setMinutes(m);

            if (!selected && !this._getCell(date).hasClass('-disabled-')) {
                this.selectDate(date);
            } else {
                this._setInputValue();
                if (this.opts.onSelect) {
                    this._triggerOnChange();
                }
            }
        },

        _onClickCell: function (e, date) {
            if (this.timepicker) {
                date.setHours(this.timepicker.hours);
                date.setMinutes(this.timepicker.minutes);
            }
            this.selectDate(date);
        },

        set focused(val) {
            if (!val && this.focused) {
                var $cell = this._getCell(this.focused);

                if ($cell.length) {
                    $cell.removeClass('-focus-')
                }
            }
            this._focused = val;
            if (this.opts.range && this.selectedDates.length == 1) {
                this.minRange = this.selectedDates[0];
                this.maxRange = '';
                if (datepicker.less(this.minRange, this._focused)) {
                    this.maxRange = this.minRange;
                    this.minRange = '';
                }
            }
            if (this.silent) return;
            this.date = val;
        },

        get focused() {
            return this._focused;
        },

        get parsedDate() {
            return datepicker.getParsedDate(this.date);
        },

        set date (val) {
            if (!(val instanceof Date)) return;

            this.currentDate = val;

            if (this.inited && !this.silent) {
                this.views[this.view]._render();
                this.nav._render();
                if (this.visible && this.elIsInput) {
                    this.setPosition();
                }
            }
            return val;
        },

        get date () {
            return this.currentDate
        },

        set view (val) {
            this.viewIndex = this.viewIndexes.indexOf(val);

            if (this.viewIndex < 0) {
                return;
            }

            this.prevView = this.currentView;
            this.currentView = val;

            if (this.inited) {
                if (!this.views[val]) {
                    this.views[val] = new  $.fn.datepicker.Body(this, val, this.opts)
                } else {
                    this.views[val]._render();
                }

                this.views[this.prevView].hide();
                this.views[val].show();
                this.nav._render();

                if (this.opts.onChangeView) {
                    this.opts.onChangeView(val)
                }
                if (this.elIsInput && this.visible) this.setPosition();
            }

            return val
        },

        get view() {
            return this.currentView;
        },

        get cellType() {
            return this.view.substring(0, this.view.length - 1)
        },

        get minTime() {
            var min = datepicker.getParsedDate(this.minDate);
            return new Date(min.year, min.month, min.date).getTime()
        },

        get maxTime() {
            var max = datepicker.getParsedDate(this.maxDate);
            return new Date(max.year, max.month, max.date).getTime()
        },

        get curDecade() {
            return datepicker.getDecade(this.date)
        }
    };

    //  Utils
    // -------------------------------------------------

    datepicker.getDaysCount = function (date) {
        return new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate();
    };

    datepicker.getParsedDate = function (date) {
        return {
            year: date.getFullYear(),
            month: date.getMonth(),
            fullMonth: (date.getMonth() + 1) < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1, // One based
            date: date.getDate(),
            fullDate: date.getDate() < 10 ? '0' + date.getDate() : date.getDate(),
            day: date.getDay(),
            hours: date.getHours(),
            fullHours:  date.getHours() < 10 ? '0' + date.getHours() :  date.getHours() ,
            minutes: date.getMinutes(),
            fullMinutes:  date.getMinutes() < 10 ? '0' + date.getMinutes() :  date.getMinutes()
        }
    };

    datepicker.getDecade = function (date) {
        var firstYear = Math.floor(date.getFullYear() / 10) * 10;

        return [firstYear, firstYear + 9];
    };

    datepicker.template = function (str, data) {
        return str.replace(/#\{([\w]+)\}/g, function (source, match) {
            if (data[match] || data[match] === 0) {
                return data[match]
            }
        });
    };

    datepicker.isSame = function (date1, date2, type) {
        if (!date1 || !date2) return false;
        var d1 = datepicker.getParsedDate(date1),
            d2 = datepicker.getParsedDate(date2),
            _type = type ? type : 'day',

            conditions = {
                day: d1.date == d2.date && d1.month == d2.month && d1.year == d2.year,
                month: d1.month == d2.month && d1.year == d2.year,
                year: d1.year == d2.year
            };

        return conditions[_type];
    };

    datepicker.less = function (dateCompareTo, date, type) {
        if (!dateCompareTo || !date) return false;
        return date.getTime() < dateCompareTo.getTime();
    };

    datepicker.bigger = function (dateCompareTo, date, type) {
        if (!dateCompareTo || !date) return false;
        return date.getTime() > dateCompareTo.getTime();
    };

    datepicker.getLeadingZeroNum = function (num) {
        return parseInt(num) < 10 ? '0' + num : num;
    };

    /**
     * Returns copy of date with hours and minutes equals to 0
     * @param date {Date}
     */
    datepicker.resetTime = function (date) {
        if (typeof date != 'object') return;
        date = datepicker.getParsedDate(date);
        return new Date(date.year, date.month, date.date)
    };

    $.fn.datepicker = function ( options ) {
        return this.each(function () {
            if (!$.data(this, pluginName)) {
                $.data(this,  pluginName,
                    new Datepicker( this, options ));
            } else {
                var _this = $.data(this, pluginName);

                _this.opts = $.extend(true, _this.opts, options);
                _this.update();
            }
        });
    };

    $.fn.datepicker.Constructor = Datepicker;

    $.fn.datepicker.language = {
        ru: {
            days: ['Воскресенье', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'Пятница', 'Суббота'],
            daysShort: ['Вос','Пон','Вто','Сре','Чет','Пят','Суб'],
            daysMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
            months: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'],
            monthsShort: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'],
            today: 'Сегодня',
            clear: 'Очистить',
            dateFormat: 'dd.mm.yyyy',
            timeFormat: 'hh:ii',
            firstDay: 1
        },
        en: {
            days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
            daysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
            daysMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
            months: ['January','February','March','April','May','June', 'July','August','September','October','November','December'],
            monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
            today: 'Today',
            clear: 'Clear',
            dateFormat: 'mm/dd/yyyy',
            timeFormat: 'hh:ii aa',
            firstDay: 0
        },
        ar: {
             days: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
            daysShort: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
            daysMin: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
            months: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
            monthsShort: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
            today: 'اليوم',
            clear: 'مسح',
            dateFormat: 'dd.mm.yyyy',
            timeFormat: 'hh:ii',
            firstDay: 1
        }
    };

    $(function () {
        $(autoInitSelector).datepicker();
    })

})();

;(function () {
    var templates = {
        days:'' +
        '<div class="datepicker--days datepicker--body">' +
        '<div class="datepicker--days-names"></div>' +
        '<div class="datepicker--cells datepicker--cells-days"></div>' +
        '</div>',
        months: '' +
        '<div class="datepicker--months datepicker--body">' +
        '<div class="datepicker--cells datepicker--cells-months"></div>' +
        '</div>',
        years: '' +
        '<div class="datepicker--years datepicker--body">' +
        '<div class="datepicker--cells datepicker--cells-years"></div>' +
        '</div>'
        },
        datepicker = $.fn.datepicker,
        dp = datepicker.Constructor;

    datepicker.Body = function (d, type, opts) {
        this.d = d;
        this.type = type;
        this.opts = opts;
        this.$el = $('');

        if (this.opts.onlyTimepicker) return;
        this.init();
    };

    datepicker.Body.prototype = {
        init: function () {
            this._buildBaseHtml();
            this._render();

            this._bindEvents();
        },

        _bindEvents: function () {
            this.$el.on('click', '.datepicker--cell', $.proxy(this._onClickCell, this));
        },

        _buildBaseHtml: function () {
            this.$el = $(templates[this.type]).appendTo(this.d.$content);
            this.$names = $('.datepicker--days-names', this.$el);
            this.$cells = $('.datepicker--cells', this.$el);
        },

        _getDayNamesHtml: function (firstDay, curDay, html, i) {
            curDay = curDay != undefined ? curDay : firstDay;
            html = html ? html : '';
            i = i != undefined ? i : 0;

            if (i > 7) return html;
            if (curDay == 7) return this._getDayNamesHtml(firstDay, 0, html, ++i);

            html += '<div class="datepicker--day-name' + (this.d.isWeekend(curDay) ? " -weekend-" : "") + '">' + this.d.loc.daysMin[curDay] + '</div>';

            return this._getDayNamesHtml(firstDay, ++curDay, html, ++i);
        },

        _getCellContents: function (date, type) {
            var classes = "datepicker--cell datepicker--cell-" + type,
                currentDate = new Date(),
                parent = this.d,
                minRange = dp.resetTime(parent.minRange),
                maxRange = dp.resetTime(parent.maxRange),
                opts = parent.opts,
                d = dp.getParsedDate(date),
                render = {},
                html = d.date;

            switch (type) {
                case 'day':
                    if (parent.isWeekend(d.day)) classes += " -weekend-";
                    if (d.month != this.d.parsedDate.month) {
                        classes += " -other-month-";
                        if (!opts.selectOtherMonths) {
                            classes += " -disabled-";
                        }
                        if (!opts.showOtherMonths) html = '';
                    }
                    break;
                case 'month':
                    html = parent.loc[parent.opts.monthsField][d.month];
                    break;
                case 'year':
                    var decade = parent.curDecade;
                    html = d.year;
                    if (d.year < decade[0] || d.year > decade[1]) {
                        classes += ' -other-decade-';
                        if (!opts.selectOtherYears) {
                            classes += " -disabled-";
                        }
                        if (!opts.showOtherYears) html = '';
                    }
                    break;
            }

            if (opts.onRenderCell) {
                render = opts.onRenderCell(date, type) || {};
                html = render.html ? render.html : html;
                classes += render.classes ? ' ' + render.classes : '';
            }

            if (opts.range) {
                if (dp.isSame(minRange, date, type)) classes += ' -range-from-';
                if (dp.isSame(maxRange, date, type)) classes += ' -range-to-';

                if (parent.selectedDates.length == 1 && parent.focused) {
                    if (
                        (dp.bigger(minRange, date) && dp.less(parent.focused, date)) ||
                        (dp.less(maxRange, date) && dp.bigger(parent.focused, date)))
                    {
                        classes += ' -in-range-'
                    }

                    if (dp.less(maxRange, date) && dp.isSame(parent.focused, date)) {
                        classes += ' -range-from-'
                    }
                    if (dp.bigger(minRange, date) && dp.isSame(parent.focused, date)) {
                        classes += ' -range-to-'
                    }

                } else if (parent.selectedDates.length == 2) {
                    if (dp.bigger(minRange, date) && dp.less(maxRange, date)) {
                        classes += ' -in-range-'
                    }
                }
            }


            if (dp.isSame(currentDate, date, type)) classes += ' -current-';
            if (parent.focused && dp.isSame(date, parent.focused, type)) classes += ' -focus-';
            if (parent._isSelected(date, type)) classes += ' -selected-';
            if (!parent._isInRange(date, type) || render.disabled) classes += ' -disabled-';

            return {
                html: html,
                classes: classes
            }
        },

        /**
         * Calculates days number to render. Generates days html and returns it.
         * @param {object} date - Date object
         * @returns {string}
         * @private
         */
        _getDaysHtml: function (date) {
            var totalMonthDays = dp.getDaysCount(date),
                firstMonthDay = new Date(date.getFullYear(), date.getMonth(), 1).getDay(),
                lastMonthDay = new Date(date.getFullYear(), date.getMonth(), totalMonthDays).getDay(),
                daysFromPevMonth = firstMonthDay - this.d.loc.firstDay,
                daysFromNextMonth = 6 - lastMonthDay + this.d.loc.firstDay;

            daysFromPevMonth = daysFromPevMonth < 0 ? daysFromPevMonth + 7 : daysFromPevMonth;
            daysFromNextMonth = daysFromNextMonth > 6 ? daysFromNextMonth - 7 : daysFromNextMonth;

            var startDayIndex = -daysFromPevMonth + 1,
                m, y,
                html = '';

            for (var i = startDayIndex, max = totalMonthDays + daysFromNextMonth; i <= max; i++) {
                y = date.getFullYear();
                m = date.getMonth();

                html += this._getDayHtml(new Date(y, m, i))
            }

            return html;
        },

        _getDayHtml: function (date) {
           var content = this._getCellContents(date, 'day');

            return '<div class="' + content.classes + '" ' +
                'data-date="' + date.getDate() + '" ' +
                'data-month="' + date.getMonth() + '" ' +
                'data-year="' + date.getFullYear() + '">' + content.html + '</div>';
        },

        /**
         * Generates months html
         * @param {object} date - date instance
         * @returns {string}
         * @private
         */
        _getMonthsHtml: function (date) {
            var html = '',
                d = dp.getParsedDate(date),
                i = 0;

            while(i < 12) {
                html += this._getMonthHtml(new Date(d.year, i));
                i++
            }

            return html;
        },

        _getMonthHtml: function (date) {
            var content = this._getCellContents(date, 'month');

            return '<div class="' + content.classes + '" data-month="' + date.getMonth() + '">' + content.html + '</div>'
        },

        _getYearsHtml: function (date) {
            var d = dp.getParsedDate(date),
                decade = dp.getDecade(date),
                firstYear = decade[0] - 1,
                html = '',
                i = firstYear;

            for (i; i <= decade[1] + 1; i++) {
                html += this._getYearHtml(new Date(i , 0));
            }

            return html;
        },

        _getYearHtml: function (date) {
            var content = this._getCellContents(date, 'year');

            return '<div class="' + content.classes + '" data-year="' + date.getFullYear() + '">' + content.html + '</div>'
        },

        _renderTypes: {
            days: function () {
                var dayNames = this._getDayNamesHtml(this.d.loc.firstDay),
                    days = this._getDaysHtml(this.d.currentDate);

                this.$cells.html(days);
                this.$names.html(dayNames)
            },
            months: function () {
                var html = this._getMonthsHtml(this.d.currentDate);

                this.$cells.html(html)
            },
            years: function () {
                var html = this._getYearsHtml(this.d.currentDate);

                this.$cells.html(html)
            }
        },

        _render: function () {
            if (this.opts.onlyTimepicker) return;
            this._renderTypes[this.type].bind(this)();
        },

        _update: function () {
            var $cells = $('.datepicker--cell', this.$cells),
                _this = this,
                classes,
                $cell,
                date;
            $cells.each(function (cell, i) {
                $cell = $(this);
                date = _this.d._getDateFromCell($(this));
                classes = _this._getCellContents(date, _this.d.cellType);
                $cell.attr('class',classes.classes)
            });
        },

        show: function () {
            if (this.opts.onlyTimepicker) return;
            this.$el.addClass('active');
            this.acitve = true;
        },

        hide: function () {
            this.$el.removeClass('active');
            this.active = false;
        },

        //  Events
        // -------------------------------------------------

        _handleClick: function (el) {
            var date = el.data('date') || 1,
                month = el.data('month') || 0,
                year = el.data('year') || this.d.parsedDate.year,
                dp = this.d;
            // Change view if min view does not reach yet
            if (dp.view != this.opts.minView) {
                dp.down(new Date(year, month, date));
                return;
            }
            // Select date if min view is reached
            var selectedDate = new Date(year, month, date),
                alreadySelected = this.d._isSelected(selectedDate, this.d.cellType);

            if (!alreadySelected) {
                dp._trigger('clickCell', selectedDate);
                return;
            }

            dp._handleAlreadySelectedDates.bind(dp, alreadySelected, selectedDate)();

        },

        _onClickCell: function (e) {
            var $el = $(e.target).closest('.datepicker--cell');

            if ($el.hasClass('-disabled-')) return;

            this._handleClick.bind(this)($el);
        }
    };
})();

;(function () {
    var template = '' +
        '<div class="datepicker--nav-action" data-action="prev">#{prevHtml}</div>' +
        '<div class="datepicker--nav-title">#{title}</div>' +
        '<div class="datepicker--nav-action" data-action="next">#{nextHtml}</div>',
        buttonsContainerTemplate = '<div class="datepicker--buttons"></div>',
        button = '<span class="datepicker--button" data-action="#{action}">#{label}</span>',
        datepicker = $.fn.datepicker,
        dp = datepicker.Constructor;

    datepicker.Navigation = function (d, opts) {
        this.d = d;
        this.opts = opts;

        this.$buttonsContainer = '';

        this.init();
    };

    datepicker.Navigation.prototype = {
        init: function () {
            this._buildBaseHtml();
            this._bindEvents();
        },

        _bindEvents: function () {
            this.d.$nav.on('click', '.datepicker--nav-action', $.proxy(this._onClickNavButton, this));
            this.d.$nav.on('click', '.datepicker--nav-title', $.proxy(this._onClickNavTitle, this));
            this.d.$datepicker.on('click', '.datepicker--button', $.proxy(this._onClickNavButton, this));
        },

        _buildBaseHtml: function () {
            if (!this.opts.onlyTimepicker) {
                this._render();
            }
            this._addButtonsIfNeed();
        },

        _addButtonsIfNeed: function () {
            if (this.opts.todayButton) {
                this._addButton('today')
            }
            if (this.opts.clearButton) {
                this._addButton('clear')
            }
        },

        _render: function () {
            var title = this._getTitle(this.d.currentDate),
                html = dp.template(template, $.extend({title: title}, this.opts));
            this.d.$nav.html(html);
            if (this.d.view == 'years') {
                $('.datepicker--nav-title', this.d.$nav).addClass('-disabled-');
            }
            this.setNavStatus();
        },

        _getTitle: function (date) {
            return this.d.formatDate(this.opts.navTitles[this.d.view], date)
        },

        _addButton: function (type) {
            if (!this.$buttonsContainer.length) {
                this._addButtonsContainer();
            }

            var data = {
                    action: type,
                    label: this.d.loc[type]
                },
                html = dp.template(button, data);

            if ($('[data-action=' + type + ']', this.$buttonsContainer).length) return;
            this.$buttonsContainer.append(html);
        },

        _addButtonsContainer: function () {
            this.d.$datepicker.append(buttonsContainerTemplate);
            this.$buttonsContainer = $('.datepicker--buttons', this.d.$datepicker);
        },

        setNavStatus: function () {
            if (!(this.opts.minDate || this.opts.maxDate) || !this.opts.disableNavWhenOutOfRange) return;

            var date = this.d.parsedDate,
                m = date.month,
                y = date.year,
                d = date.date;

            switch (this.d.view) {
                case 'days':
                    if (!this.d._isInRange(new Date(y, m-1, 1), 'month')) {
                        this._disableNav('prev')
                    }
                    if (!this.d._isInRange(new Date(y, m+1, 1), 'month')) {
                        this._disableNav('next')
                    }
                    break;
                case 'months':
                    if (!this.d._isInRange(new Date(y-1, m, d), 'year')) {
                        this._disableNav('prev')
                    }
                    if (!this.d._isInRange(new Date(y+1, m, d), 'year')) {
                        this._disableNav('next')
                    }
                    break;
                case 'years':
                    var decade = dp.getDecade(this.d.date);
                    if (!this.d._isInRange(new Date(decade[0] - 1, 0, 1), 'year')) {
                        this._disableNav('prev')
                    }
                    if (!this.d._isInRange(new Date(decade[1] + 1, 0, 1), 'year')) {
                        this._disableNav('next')
                    }
                    break;
            }
        },

        _disableNav: function (nav) {
            $('[data-action="' + nav + '"]', this.d.$nav).addClass('-disabled-')
        },

        _activateNav: function (nav) {
            $('[data-action="' + nav + '"]', this.d.$nav).removeClass('-disabled-')
        },

        _onClickNavButton: function (e) {
            var $el = $(e.target).closest('[data-action]'),
                action = $el.data('action');

            this.d[action]();
        },

        _onClickNavTitle: function (e) {
            if ($(e.target).hasClass('-disabled-')) return;

            if (this.d.view == 'days') {
                return this.d.view = 'months'
            }

            this.d.view = 'years';
        }
    }

})();

;(function () {
    var template = '<div class="datepicker--time">' +
        '<div class="datepicker--time-current">' +
        '   <span class="datepicker--time-current-hours">#{hourVisible}</span>' +
        '   <span class="datepicker--time-current-colon">:</span>' +
        '   <span class="datepicker--time-current-minutes">#{minValue}</span>' +
        '</div>' +
        '<div class="datepicker--time-sliders">' +
        '   <div class="datepicker--time-row">' +
        '      <input type="range" name="hours" value="#{hourValue}" min="#{hourMin}" max="#{hourMax}" step="#{hourStep}"/>' +
        '   </div>' +
        '   <div class="datepicker--time-row">' +
        '      <input type="range" name="minutes" value="#{minValue}" min="#{minMin}" max="#{minMax}" step="#{minStep}"/>' +
        '   </div>' +
        '</div>' +
        '</div>',
        datepicker = $.fn.datepicker,
        dp = datepicker.Constructor;

    datepicker.Timepicker = function (inst, opts) {
        this.d = inst;
        this.opts = opts;

        this.init();
    };

    datepicker.Timepicker.prototype = {
        init: function () {
            var input = 'input';
            this._setTime(this.d.date);
            this._buildHTML();

            if (navigator.userAgent.match(/trident/gi)) {
                input = 'change';
            }

            this.d.$el.on('selectDate', this._onSelectDate.bind(this));
            this.$ranges.on(input, this._onChangeRange.bind(this));
            this.$ranges.on('mouseup', this._onMouseUpRange.bind(this));
            this.$ranges.on('mousemove focus ', this._onMouseEnterRange.bind(this));
            this.$ranges.on('mouseout blur', this._onMouseOutRange.bind(this));
        },

        _setTime: function (date) {
            var _date = dp.getParsedDate(date);

            this._handleDate(date);
            this.hours = _date.hours < this.minHours ? this.minHours : _date.hours;
            this.minutes = _date.minutes < this.minMinutes ? this.minMinutes : _date.minutes;
        },

        /**
         * Sets minHours and minMinutes from date (usually it's a minDate)
         * Also changes minMinutes if current hours are bigger then @date hours
         * @param date {Date}
         * @private
         */
        _setMinTimeFromDate: function (date) {
            this.minHours = date.getHours();
            this.minMinutes = date.getMinutes();

            // If, for example, min hours are 10, and current hours are 12,
            // update minMinutes to default value, to be able to choose whole range of values
            if (this.d.lastSelectedDate) {
                if (this.d.lastSelectedDate.getHours() > date.getHours()) {
                    this.minMinutes = this.opts.minMinutes;
                }
            }
        },

        _setMaxTimeFromDate: function (date) {
            this.maxHours = date.getHours();
            this.maxMinutes = date.getMinutes();

            if (this.d.lastSelectedDate) {
                if (this.d.lastSelectedDate.getHours() < date.getHours()) {
                    this.maxMinutes = this.opts.maxMinutes;
                }
            }
        },

        _setDefaultMinMaxTime: function () {
            var maxHours = 23,
                maxMinutes = 59,
                opts = this.opts;

            this.minHours = opts.minHours < 0 || opts.minHours > maxHours ? 0 : opts.minHours;
            this.minMinutes = opts.minMinutes < 0 || opts.minMinutes > maxMinutes ? 0 : opts.minMinutes;
            this.maxHours = opts.maxHours < 0 || opts.maxHours > maxHours ? maxHours : opts.maxHours;
            this.maxMinutes = opts.maxMinutes < 0 || opts.maxMinutes > maxMinutes ? maxMinutes : opts.maxMinutes;
        },

        /**
         * Looks for min/max hours/minutes and if current values
         * are out of range sets valid values.
         * @private
         */
        _validateHoursMinutes: function (date) {
            if (this.hours < this.minHours) {
                this.hours = this.minHours;
            } else if (this.hours > this.maxHours) {
                this.hours = this.maxHours;
            }

            if (this.minutes < this.minMinutes) {
                this.minutes = this.minMinutes;
            } else if (this.minutes > this.maxMinutes) {
                this.minutes = this.maxMinutes;
            }
        },

        _buildHTML: function () {
            var lz = dp.getLeadingZeroNum,
                data = {
                    hourMin: this.minHours,
                    hourMax: lz(this.maxHours),
                    hourStep: this.opts.hoursStep,
                    hourValue: this.hours,
                    hourVisible: lz(this.displayHours),
                    minMin: this.minMinutes,
                    minMax: lz(this.maxMinutes),
                    minStep: this.opts.minutesStep,
                    minValue: lz(this.minutes)
                },
                _template = dp.template(template, data);

            this.$timepicker = $(_template).appendTo(this.d.$datepicker);
            this.$ranges = $('[type="range"]', this.$timepicker);
            this.$hours = $('[name="hours"]', this.$timepicker);
            this.$minutes = $('[name="minutes"]', this.$timepicker);
            this.$hoursText = $('.datepicker--time-current-hours', this.$timepicker);
            this.$minutesText = $('.datepicker--time-current-minutes', this.$timepicker);

            if (this.d.ampm) {
                this.$ampm = $('<span class="datepicker--time-current-ampm">')
                    .appendTo($('.datepicker--time-current', this.$timepicker))
                    .html(this.dayPeriod);

                this.$timepicker.addClass('-am-pm-');
            }
        },

        _updateCurrentTime: function () {
            var h =  dp.getLeadingZeroNum(this.displayHours),
                m = dp.getLeadingZeroNum(this.minutes);

            this.$hoursText.html(h);
            this.$minutesText.html(m);

            if (this.d.ampm) {
                this.$ampm.html(this.dayPeriod);
            }
        },

        _updateRanges: function () {
            this.$hours.attr({
                min: this.minHours,
                max: this.maxHours
            }).val(this.hours);

            this.$minutes.attr({
                min: this.minMinutes,
                max: this.maxMinutes
            }).val(this.minutes)
        },

        /**
         * Sets minHours, minMinutes etc. from date. If date is not passed, than sets
         * values from options
         * @param [date] {object} - Date object, to get values from
         * @private
         */
        _handleDate: function (date) {
            this._setDefaultMinMaxTime();
            if (date) {
                if (dp.isSame(date, this.d.opts.minDate)) {
                    this._setMinTimeFromDate(this.d.opts.minDate);
                } else if (dp.isSame(date, this.d.opts.maxDate)) {
                    this._setMaxTimeFromDate(this.d.opts.maxDate);
                }
            }

            this._validateHoursMinutes(date);
        },

        update: function () {
            this._updateRanges();
            this._updateCurrentTime();
        },

        /**
         * Calculates valid hour value to display in text input and datepicker's body.
         * @param date {Date|Number} - date or hours
         * @param [ampm] {Boolean} - 12 hours mode
         * @returns {{hours: *, dayPeriod: string}}
         * @private
         */
        _getValidHoursFromDate: function (date, ampm) {
            var d = date,
                hours = date;

            if (date instanceof Date) {
                d = dp.getParsedDate(date);
                hours = d.hours;
            }

            var _ampm = ampm || this.d.ampm,
                dayPeriod = 'am';

            if (_ampm) {
                switch(true) {
                    case hours == 0:
                        hours = 12;
                        break;
                    case hours == 12:
                        dayPeriod = 'pm';
                        break;
                    case hours > 11:
                        hours = hours - 12;
                        dayPeriod = 'pm';
                        break;
                    default:
                        break;
                }
            }

            return {
                hours: hours,
                dayPeriod: dayPeriod
            }
        },

        set hours (val) {
            this._hours = val;

            var displayHours = this._getValidHoursFromDate(val);

            this.displayHours = displayHours.hours;
            this.dayPeriod = displayHours.dayPeriod;
        },

        get hours() {
            return this._hours;
        },

        //  Events
        // -------------------------------------------------

        _onChangeRange: function (e) {
            var $target = $(e.target),
                name = $target.attr('name');
            
            this.d.timepickerIsActive = true;

            this[name] = $target.val();
            this._updateCurrentTime();
            this.d._trigger('timeChange', [this.hours, this.minutes]);

            this._handleDate(this.d.lastSelectedDate);
            this.update()
        },

        _onSelectDate: function (e, data) {
            this._handleDate(data);
            this.update();
        },

        _onMouseEnterRange: function (e) {
            var name = $(e.target).attr('name');
            $('.datepicker--time-current-' + name, this.$timepicker).addClass('-focus-');
        },

        _onMouseOutRange: function (e) {
            var name = $(e.target).attr('name');
            if (this.d.inFocus) return; // Prevent removing focus when mouse out of range slider
            $('.datepicker--time-current-' + name, this.$timepicker).removeClass('-focus-');
        },

        _onMouseUpRange: function (e) {
            this.d.timepickerIsActive = false;
        }
    };
})();
 })(window, jQuery);;
