!function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=158)}([function(t,e,i){var n;
/*!
 * jQuery JavaScript Library v3.3.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2018-01-20T17:24Z
 */
/*!
 * jQuery JavaScript Library v3.3.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2018-01-20T17:24Z
 */
!function(e,i){"use strict";"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,function(i,a){"use strict";var r=[],o=i.document,s=Object.getPrototypeOf,l=r.slice,c=r.concat,d=r.push,u=r.indexOf,h={},p=h.toString,f=h.hasOwnProperty,g=f.toString,m=g.call(Object),v={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},w={type:!0,src:!0,noModule:!0};function x(t,e,i){var n,a=(e=e||o).createElement("script");if(a.text=t,i)for(n in w)i[n]&&(a[n]=i[n]);e.head.appendChild(a).parentNode.removeChild(a)}function _(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[p.call(t)]||"object":typeof t}var k=function(t,e){return new k.fn.init(t,e)},S=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function M(t){var e=!!t&&"length"in t&&t.length,i=_(t);return!y(t)&&!b(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}k.fn=k.prototype={jquery:"3.3.1",constructor:k,length:0,toArray:function(){return l.call(this)},get:function(t){return null==t?l.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=k.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return k.each(this,t)},map:function(t){return this.pushStack(k.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:d,sort:r.sort,splice:r.splice},k.extend=k.fn.extend=function(){var t,e,i,n,a,r,o=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[s]||{},s++),"object"==typeof o||y(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)i=o[e],o!==(n=t[e])&&(c&&n&&(k.isPlainObject(n)||(a=Array.isArray(n)))?(a?(a=!1,r=i&&Array.isArray(i)?i:[]):r=i&&k.isPlainObject(i)?i:{},o[e]=k.extend(c,r,n)):void 0!==n&&(o[e]=n));return o},k.extend({expando:"jQuery"+("3.3.1"+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]"!==p.call(t))&&(!(e=s(t))||"function"==typeof(i=f.call(e,"constructor")&&e.constructor)&&g.call(i)===m)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){x(t)},each:function(t,e){var i,n=0;if(M(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":(t+"").replace(S,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(M(Object(t))?k.merge(i,"string"==typeof t?[t]:t):d.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:u.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,a=t.length;n<i;n++)t[a++]=e[n];return t.length=a,t},grep:function(t,e,i){for(var n=[],a=0,r=t.length,o=!i;a<r;a++)!e(t[a],a)!==o&&n.push(t[a]);return n},map:function(t,e,i){var n,a,r=0,o=[];if(M(t))for(n=t.length;r<n;r++)null!=(a=e(t[r],r,i))&&o.push(a);else for(r in t)null!=(a=e(t[r],r,i))&&o.push(a);return c.apply([],o)},guid:1,support:v}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=r[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){h["[object "+e+"]"]=e.toLowerCase()});var C=
/*!
 * Sizzle CSS Selector Engine v2.3.3
 * https://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2016-08-08
 */
function(t){var e,i,n,a,r,o,s,l,c,d,u,h,p,f,g,m,v,y,b,w="sizzle"+1*new Date,x=t.document,_=0,k=0,S=ot(),M=ot(),C=ot(),T=function(t,e){return t===e&&(u=!0),0},D={}.hasOwnProperty,L=[],E=L.pop,A=L.push,P=L.push,Y=L.slice,O=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",N="\\["+H+"*("+R+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+H+"*\\]",j=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",F=new RegExp(H+"+","g"),z=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g"),W=new RegExp("^"+H+"*,"+H+"*"),B=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),V=new RegExp("="+H+"*([^\\]'\"]*?)"+H+"*\\]","g"),$=new RegExp(j),X=new RegExp("^"+R+"$"),q={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Q=new RegExp("\\\\([\\da-f]{1,6}"+H+"?|("+H+")|.)","ig"),tt=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},nt=function(){h()},at=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{P.apply(L=Y.call(x.childNodes),x.childNodes),L[x.childNodes.length].nodeType}catch(t){P={apply:L.length?function(t,e){A.apply(t,Y.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function rt(t,e,n,a){var r,s,c,d,u,f,v,y=e&&e.ownerDocument,_=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return n;if(!a&&((e?e.ownerDocument||e:x)!==p&&h(e),e=e||p,g)){if(11!==_&&(u=J.exec(t)))if(r=u[1]){if(9===_){if(!(c=e.getElementById(r)))return n;if(c.id===r)return n.push(c),n}else if(y&&(c=y.getElementById(r))&&b(e,c)&&c.id===r)return n.push(c),n}else{if(u[2])return P.apply(n,e.getElementsByTagName(t)),n;if((r=u[3])&&i.getElementsByClassName&&e.getElementsByClassName)return P.apply(n,e.getElementsByClassName(r)),n}if(i.qsa&&!C[t+" "]&&(!m||!m.test(t))){if(1!==_)y=e,v=t;else if("object"!==e.nodeName.toLowerCase()){for((d=e.getAttribute("id"))?d=d.replace(et,it):e.setAttribute("id",d=w),s=(f=o(t)).length;s--;)f[s]="#"+d+" "+vt(f[s]);v=f.join(","),y=K.test(t)&&gt(e.parentNode)||e}if(v)try{return P.apply(n,y.querySelectorAll(v)),n}catch(t){}finally{d===w&&e.removeAttribute("id")}}}return l(t.replace(z,"$1"),e,n,a)}function ot(){var t=[];return function e(i,a){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=a}}function st(t){return t[w]=!0,t}function lt(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var i=t.split("|"),a=i.length;a--;)n.attrHandle[i[a]]=e}function dt(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 ut(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function pt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ft(t){return st(function(e){return e=+e,st(function(i,n){for(var a,r=t([],i.length,e),o=r.length;o--;)i[a=r[o]]&&(i[a]=!(n[a]=i[a]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in i=rt.support={},r=rt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=rt.setDocument=function(t){var e,a,o=t?t.ownerDocument||t:x;return o!==p&&9===o.nodeType&&o.documentElement?(f=(p=o).documentElement,g=!r(p),x!==p&&(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",nt,!1):a.attachEvent&&a.attachEvent("onunload",nt)),i.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),i.getElementsByTagName=lt(function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length}),i.getElementsByClassName=Z.test(p.getElementsByClassName),i.getById=lt(function(t){return f.appendChild(t).id=w,!p.getElementsByName||!p.getElementsByName(w).length}),i.getById?(n.filter.ID=function(t){var e=t.replace(Q,tt);return function(t){return t.getAttribute("id")===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i=e.getElementById(t);return i?[i]:[]}}):(n.filter.ID=function(t){var e=t.replace(Q,tt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i,n,a,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(a=e.getElementsByName(t),n=0;r=a[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),n.find.TAG=i.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):i.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],a=0,r=e.getElementsByTagName(t);if("*"===t){for(;i=r[a++];)1===i.nodeType&&n.push(i);return n}return r},n.find.CLASS=i.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(i.qsa=Z.test(p.querySelectorAll))&&(lt(function(t){f.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+H+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+H+"*(?:value|"+I+")"),t.querySelectorAll("[id~="+w+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]")}),lt(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&&m.push("name"+H+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(i.matchesSelector=Z.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&lt(function(t){i.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",j)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=Z.test(f.compareDocumentPosition),b=e||Z.test(f.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},T=e?function(t,e){if(t===e)return u=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!i.sortDetached&&e.compareDocumentPosition(t)===n?t===p||t.ownerDocument===x&&b(x,t)?-1:e===p||e.ownerDocument===x&&b(x,e)?1:d?O(d,t)-O(d,e):0:4&n?-1:1)}:function(t,e){if(t===e)return u=!0,0;var i,n=0,a=t.parentNode,r=e.parentNode,o=[t],s=[e];if(!a||!r)return t===p?-1:e===p?1:a?-1:r?1:d?O(d,t)-O(d,e):0;if(a===r)return dt(t,e);for(i=t;i=i.parentNode;)o.unshift(i);for(i=e;i=i.parentNode;)s.unshift(i);for(;o[n]===s[n];)n++;return n?dt(o[n],s[n]):o[n]===x?-1:s[n]===x?1:0},p):p},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&h(t),e=e.replace(V,"='$1']"),i.matchesSelector&&g&&!C[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var n=y.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return rt(e,p,null,[t]).length>0},rt.contains=function(t,e){return(t.ownerDocument||t)!==p&&h(t),b(t,e)},rt.attr=function(t,e){(t.ownerDocument||t)!==p&&h(t);var a=n.attrHandle[e.toLowerCase()],r=a&&D.call(n.attrHandle,e.toLowerCase())?a(t,e,!g):void 0;return void 0!==r?r:i.attributes||!g?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},rt.escape=function(t){return(t+"").replace(et,it)},rt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},rt.uniqueSort=function(t){var e,n=[],a=0,r=0;if(u=!i.detectDuplicates,d=!i.sortStable&&t.slice(0),t.sort(T),u){for(;e=t[r++];)e===t[r]&&(a=n.push(r));for(;a--;)t.splice(n[a],1)}return d=null,t},a=rt.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=a(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=a(e);return i},(n=rt.selectors={cacheLength:50,createPseudo:st,match:q,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(Q,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Q,tt),"~="===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]||rt.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]&&rt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return q.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&$.test(i)&&(e=o(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(Q,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+H+")"+t+"("+H+"|$)"))&&S(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(n){var a=rt.attr(n,t);return null==a?"!="===e:!e||(a+="","="===e?a===i:"!="===e?a!==i:"^="===e?i&&0===a.indexOf(i):"*="===e?i&&a.indexOf(i)>-1:"$="===e?i&&a.slice(-i.length)===i:"~="===e?(" "+a.replace(F," ")+" ").indexOf(i)>-1:"|="===e&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,a){var r="nth"!==t.slice(0,3),o="last"!==t.slice(-4),s="of-type"===e;return 1===n&&0===a?function(t){return!!t.parentNode}:function(e,i,l){var c,d,u,h,p,f,g=r!==o?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(r){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=g="only"===t&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&y){for(b=(p=(c=(d=(u=(h=m)[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]||[])[0]===_&&c[1])&&c[2],h=p&&m.childNodes[p];h=++p&&h&&h[g]||(b=p=0)||f.pop();)if(1===h.nodeType&&++b&&h===e){d[t]=[_,p,b];break}}else if(y&&(b=p=(c=(d=(u=(h=e)[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]||[])[0]===_&&c[1]),!1===b)for(;(h=++p&&h&&h[g]||(b=p=0)||f.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&((d=(u=h[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]=[_,b]),h!==e)););return(b-=a)===n||b%n==0&&b/n>=0}}},PSEUDO:function(t,e){var i,a=n.pseudos[t]||n.setFilters[t.toLowerCase()]||rt.error("unsupported pseudo: "+t);return a[w]?a(e):a.length>1?(i=[t,t,"",e],n.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,i){for(var n,r=a(t,e),o=r.length;o--;)t[n=O(t,r[o])]=!(i[n]=r[o])}):function(t){return a(t,0,i)}):a}},pseudos:{not:st(function(t){var e=[],i=[],n=s(t.replace(z,"$1"));return n[w]?st(function(t,e,i,a){for(var r,o=n(t,null,a,[]),s=t.length;s--;)(r=o[s])&&(t[s]=!(e[s]=r))}):function(t,a,r){return e[0]=t,n(e,null,r,i),e[0]=null,!i.pop()}}),has:st(function(t){return function(e){return rt(t,e).length>0}}),contains:st(function(t){return t=t.replace(Q,tt),function(e){return(e.textContent||e.innerText||a(e)).indexOf(t)>-1}}),lang:st(function(t){return X.test(t||"")||rt.error("unsupported lang: "+t),t=t.replace(Q,tt).toLowerCase(),function(e){var i;do{if(i=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===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===f},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!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,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!n.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return U.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:ft(function(){return[0]}),last:ft(function(t,e){return[e-1]}),eq:ft(function(t,e,i){return[i<0?i+e:i]}),even:ft(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:ft(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:ft(function(t,e,i){for(var n=i<0?i+e:i;--n>=0;)t.push(n);return t}),gt:ft(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=ut(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=ht(e);function mt(){}function vt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function yt(t,e,i){var n=e.dir,a=e.next,r=a||n,o=i&&"parentNode"===r,s=k++;return e.first?function(e,i,a){for(;e=e[n];)if(1===e.nodeType||o)return t(e,i,a);return!1}:function(e,i,l){var c,d,u,h=[_,s];if(l){for(;e=e[n];)if((1===e.nodeType||o)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||o)if(d=(u=e[w]||(e[w]={}))[e.uniqueID]||(u[e.uniqueID]={}),a&&a===e.nodeName.toLowerCase())e=e[n]||e;else{if((c=d[r])&&c[0]===_&&c[1]===s)return h[2]=c[2];if(d[r]=h,h[2]=t(e,i,l))return!0}return!1}}function bt(t){return t.length>1?function(e,i,n){for(var a=t.length;a--;)if(!t[a](e,i,n))return!1;return!0}:t[0]}function wt(t,e,i,n,a){for(var r,o=[],s=0,l=t.length,c=null!=e;s<l;s++)(r=t[s])&&(i&&!i(r,n,a)||(o.push(r),c&&e.push(s)));return o}function xt(t,e,i,n,a,r){return n&&!n[w]&&(n=xt(n)),a&&!a[w]&&(a=xt(a,r)),st(function(r,o,s,l){var c,d,u,h=[],p=[],f=o.length,g=r||function(t,e,i){for(var n=0,a=e.length;n<a;n++)rt(t,e[n],i);return i}(e||"*",s.nodeType?[s]:s,[]),m=!t||!r&&e?g:wt(g,h,t,s,l),v=i?a||(r?t:f||n)?[]:o:m;if(i&&i(m,v,s,l),n)for(c=wt(v,p),n(c,[],s,l),d=c.length;d--;)(u=c[d])&&(v[p[d]]=!(m[p[d]]=u));if(r){if(a||t){if(a){for(c=[],d=v.length;d--;)(u=v[d])&&c.push(m[d]=u);a(null,v=[],c,l)}for(d=v.length;d--;)(u=v[d])&&(c=a?O(r,u):h[d])>-1&&(r[c]=!(o[c]=u))}}else v=wt(v===o?v.splice(f,v.length):v),a?a(null,o,v,l):P.apply(o,v)})}function _t(t){for(var e,i,a,r=t.length,o=n.relative[t[0].type],s=o||n.relative[" "],l=o?1:0,d=yt(function(t){return t===e},s,!0),u=yt(function(t){return O(e,t)>-1},s,!0),h=[function(t,i,n){var a=!o&&(n||i!==c)||((e=i).nodeType?d(t,i,n):u(t,i,n));return e=null,a}];l<r;l++)if(i=n.relative[t[l].type])h=[yt(bt(h),i)];else{if((i=n.filter[t[l].type].apply(null,t[l].matches))[w]){for(a=++l;a<r&&!n.relative[t[a].type];a++);return xt(l>1&&bt(h),l>1&&vt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(z,"$1"),i,l<a&&_t(t.slice(l,a)),a<r&&_t(t=t.slice(a)),a<r&&vt(t))}h.push(i)}return bt(h)}return mt.prototype=n.filters=n.pseudos,n.setFilters=new mt,o=rt.tokenize=function(t,e){var i,a,r,o,s,l,c,d=M[t+" "];if(d)return e?0:d.slice(0);for(s=t,l=[],c=n.preFilter;s;){for(o in i&&!(a=W.exec(s))||(a&&(s=s.slice(a[0].length)||s),l.push(r=[])),i=!1,(a=B.exec(s))&&(i=a.shift(),r.push({value:i,type:a[0].replace(z," ")}),s=s.slice(i.length)),n.filter)!(a=q[o].exec(s))||c[o]&&!(a=c[o](a))||(i=a.shift(),r.push({value:i,type:o,matches:a}),s=s.slice(i.length));if(!i)break}return e?s.length:s?rt.error(t):M(t,l).slice(0)},s=rt.compile=function(t,e){var i,a=[],r=[],s=C[t+" "];if(!s){for(e||(e=o(t)),i=e.length;i--;)(s=_t(e[i]))[w]?a.push(s):r.push(s);(s=C(t,function(t,e){var i=e.length>0,a=t.length>0,r=function(r,o,s,l,d){var u,f,m,v=0,y="0",b=r&&[],w=[],x=c,k=r||a&&n.find.TAG("*",d),S=_+=null==x?1:Math.random()||.1,M=k.length;for(d&&(c=o===p||o||d);y!==M&&null!=(u=k[y]);y++){if(a&&u){for(f=0,o||u.ownerDocument===p||(h(u),s=!g);m=t[f++];)if(m(u,o||p,s)){l.push(u);break}d&&(_=S)}i&&((u=!m&&u)&&v--,r&&b.push(u))}if(v+=y,i&&y!==v){for(f=0;m=e[f++];)m(b,w,o,s);if(r){if(v>0)for(;y--;)b[y]||w[y]||(w[y]=E.call(l));w=wt(w)}P.apply(l,w),d&&!r&&w.length>0&&v+e.length>1&&rt.uniqueSort(l)}return d&&(_=S,c=x),b};return i?st(r):r}(r,a))).selector=t}return s},l=rt.select=function(t,e,i,a){var r,l,c,d,u,h="function"==typeof t&&t,p=!a&&o(t=h.selector||t);if(i=i||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&g&&n.relative[l[1].type]){if(!(e=(n.find.ID(c.matches[0].replace(Q,tt),e)||[])[0]))return i;h&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=q.needsContext.test(t)?0:l.length;r--&&(c=l[r],!n.relative[d=c.type]);)if((u=n.find[d])&&(a=u(c.matches[0].replace(Q,tt),K.test(l[0].type)&&gt(e.parentNode)||e))){if(l.splice(r,1),!(t=a.length&&vt(l)))return P.apply(i,a),i;break}}return(h||s(t,p))(a,e,!g,i,!e||K.test(t)&&gt(e.parentNode)||e),i},i.sortStable=w.split("").sort(T).join("")===w,i.detectDuplicates=!!u,h(),i.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),i.attributes&&lt(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ct(I,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),rt}(i);k.find=C,k.expr=C.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=C.uniqueSort,k.text=C.getText,k.isXMLDoc=C.isXML,k.contains=C.contains,k.escapeSelector=C.escape;var T=function(t,e,i){for(var n=[],a=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(a&&k(t).is(i))break;n.push(t)}return n},D=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},L=k.expr.match.needsContext;function E(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(t,e,i){return y(e)?k.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?k.grep(t,function(t){return t===e!==i}):"string"!=typeof e?k.grep(t,function(t){return u.call(e,t)>-1!==i}):k.filter(e,t,i)}k.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?k.find.matchesSelector(n,t)?[n]:[]:k.find.matches(t,k.grep(e,function(t){return 1===t.nodeType}))},k.fn.extend({find:function(t){var e,i,n=this.length,a=this;if("string"!=typeof t)return this.pushStack(k(t).filter(function(){for(e=0;e<n;e++)if(k.contains(a[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)k.find(t,a[e],i);return n>1?k.uniqueSort(i):i},filter:function(t){return this.pushStack(P(this,t||[],!1))},not:function(t){return this.pushStack(P(this,t||[],!0))},is:function(t){return!!P(this,"string"==typeof t&&L.test(t)?k(t):t||[],!1).length}});var Y,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(t,e,i){var n,a;if(!t)return this;if(i=i||Y,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:O.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:o,!0)),A.test(n[1])&&k.isPlainObject(e))for(n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(a=o.getElementById(n[2]))&&(this[0]=a,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(k):k.makeArray(t,this)}).prototype=k.fn,Y=k(o);var I=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function R(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.fn.extend({has:function(t){var e=k(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(k.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,a=this.length,r=[],o="string"!=typeof t&&k(t);if(!L.test(t))for(;n<a;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&k.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(r.length>1?k.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?u.call(k(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),k.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return T(t,"parentNode")},parentsUntil:function(t,e,i){return T(t,"parentNode",i)},next:function(t){return R(t,"nextSibling")},prev:function(t){return R(t,"previousSibling")},nextAll:function(t){return T(t,"nextSibling")},prevAll:function(t){return T(t,"previousSibling")},nextUntil:function(t,e,i){return T(t,"nextSibling",i)},prevUntil:function(t,e,i){return T(t,"previousSibling",i)},siblings:function(t){return D((t.parentNode||{}).firstChild,t)},children:function(t){return D(t.firstChild)},contents:function(t){return E(t,"iframe")?t.contentDocument:(E(t,"template")&&(t=t.content||t),k.merge([],t.childNodes))}},function(t,e){k.fn[t]=function(i,n){var a=k.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(a=k.filter(n,a)),this.length>1&&(H[t]||k.uniqueSort(a),I.test(t)&&a.reverse()),this.pushStack(a)}});var N=/[^\x20\t\r\n\f]+/g;function j(t){return t}function F(t){throw t}function z(t,e,i,n){var a;try{t&&y(a=t.promise)?a.call(t).done(e).fail(i):t&&y(a=t.then)?a.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}k.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return k.each(t.match(N)||[],function(t,i){e[i]=!0}),e}(t):k.extend({},t);var e,i,n,a,r=[],o=[],s=-1,l=function(){for(a=a||t.once,n=e=!0;o.length;s=-1)for(i=o.shift();++s<r.length;)!1===r[s].apply(i[0],i[1])&&t.stopOnFalse&&(s=r.length,i=!1);t.memory||(i=!1),e=!1,a&&(r=i?[]:"")},c={add:function(){return r&&(i&&!e&&(s=r.length-1,o.push(i)),function e(i){k.each(i,function(i,n){y(n)?t.unique&&c.has(n)||r.push(n):n&&n.length&&"string"!==_(n)&&e(n)})}(arguments),i&&!e&&l()),this},remove:function(){return k.each(arguments,function(t,e){for(var i;(i=k.inArray(e,r,i))>-1;)r.splice(i,1),i<=s&&s--}),this},has:function(t){return t?k.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return a=o=[],r=i="",this},disabled:function(){return!r},lock:function(){return a=o=[],i||e||(r=i=""),this},locked:function(){return!!a},fireWith:function(t,i){return a||(i=[t,(i=i||[]).slice?i.slice():i],o.push(i),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},k.extend({Deferred:function(t){var e=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",a={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return a.then(null,t)},pipe:function(){var t=arguments;return k.Deferred(function(i){k.each(e,function(e,n){var a=y(t[n[4]])&&t[n[4]];r[n[1]](function(){var t=a&&a.apply(this,arguments);t&&y(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,a?[t]:arguments)})}),t=null}).promise()},then:function(t,n,a){var r=0;function o(t,e,n,a){return function(){var s=this,l=arguments,c=function(){var i,c;if(!(t<r)){if((i=n.apply(s,l))===e.promise())throw new TypeError("Thenable self-resolution");c=i&&("object"==typeof i||"function"==typeof i)&&i.then,y(c)?a?c.call(i,o(r,e,j,a),o(r,e,F,a)):(r++,c.call(i,o(r,e,j,a),o(r,e,F,a),o(r,e,j,e.notifyWith))):(n!==j&&(s=void 0,l=[i]),(a||e.resolveWith)(s,l))}},d=a?c:function(){try{c()}catch(i){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(i,d.stackTrace),t+1>=r&&(n!==F&&(s=void 0,l=[i]),e.rejectWith(s,l))}};t?d():(k.Deferred.getStackHook&&(d.stackTrace=k.Deferred.getStackHook()),i.setTimeout(d))}}return k.Deferred(function(i){e[0][3].add(o(0,i,y(a)?a:j,i.notifyWith)),e[1][3].add(o(0,i,y(t)?t:j)),e[2][3].add(o(0,i,y(n)?n:F))}).promise()},promise:function(t){return null!=t?k.extend(t,a):a}},r={};return k.each(e,function(t,i){var o=i[2],s=i[5];a[i[1]]=o.add,s&&o.add(function(){n=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),o.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=o.fireWith}),a.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,i=e,n=Array(i),a=l.call(arguments),r=k.Deferred(),o=function(t){return function(i){n[t]=this,a[t]=arguments.length>1?l.call(arguments):i,--e||r.resolveWith(n,a)}};if(e<=1&&(z(t,r.done(o(i)).resolve,r.reject,!e),"pending"===r.state()||y(a[i]&&a[i].then)))return r.then();for(;i--;)z(a[i],o(i),r.reject);return r.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&W.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},k.readyException=function(t){i.setTimeout(function(){throw t})};var B=k.Deferred();function V(){o.removeEventListener("DOMContentLoaded",V),i.removeEventListener("load",V),k.ready()}k.fn.ready=function(t){return B.then(t).catch(function(t){k.readyException(t)}),this},k.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==t&&--k.readyWait>0||B.resolveWith(o,[k]))}}),k.ready.then=B.then,"complete"===o.readyState||"loading"!==o.readyState&&!o.documentElement.doScroll?i.setTimeout(k.ready):(o.addEventListener("DOMContentLoaded",V),i.addEventListener("load",V));var $=function(t,e,i,n,a,r,o){var s=0,l=t.length,c=null==i;if("object"===_(i))for(s in a=!0,i)$(t,e,s,i[s],!0,r,o);else if(void 0!==n&&(a=!0,y(n)||(o=!0),c&&(o?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(k(t),i)})),e))for(;s<l;s++)e(t[s],i,o?n:n.call(t[s],s,e(t[s],i)));return a?t:c?e.call(t):l?e(t[0],i):r},X=/^-ms-/,q=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function G(t){return t.replace(X,"ms-").replace(q,U)}var Z=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function J(){this.expando=k.expando+J.uid++}J.uid=1,J.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Z(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,a=this.cache(t);if("string"==typeof e)a[G(e)]=i;else for(n in e)a[G(n)]=e[n];return a},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][G(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){i=(e=Array.isArray(e)?e.map(G):(e=G(e))in n?[e]:e.match(N)||[]).length;for(;i--;)delete n[e[i]]}(void 0===e||k.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&&!k.isEmptyObject(e)}};var K=new J,Q=new J,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function it(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(i)}catch(t){}Q.set(t,e,i)}else i=void 0;return i}k.extend({hasData:function(t){return Q.hasData(t)||K.hasData(t)},data:function(t,e,i){return Q.access(t,e,i)},removeData:function(t,e){Q.remove(t,e)},_data:function(t,e,i){return K.access(t,e,i)},_removeData:function(t,e){K.remove(t,e)}}),k.fn.extend({data:function(t,e){var i,n,a,r=this[0],o=r&&r.attributes;if(void 0===t){if(this.length&&(a=Q.get(r),1===r.nodeType&&!K.get(r,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&0===(n=o[i].name).indexOf("data-")&&(n=G(n.slice(5)),it(r,n,a[n]));K.set(r,"hasDataAttrs",!0)}return a}return"object"==typeof t?this.each(function(){Q.set(this,t)}):$(this,function(e){var i;if(r&&void 0===e)return void 0!==(i=Q.get(r,t))?i:void 0!==(i=it(r,t))?i:void 0;this.each(function(){Q.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Q.remove(this,t)})}}),k.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=K.get(t,e),i&&(!n||Array.isArray(i)?n=K.access(t,e,k.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=k.queue(t,e),n=i.length,a=i.shift(),r=k._queueHooks(t,e);"inprogress"===a&&(a=i.shift(),n--),a&&("fx"===e&&i.unshift("inprogress"),delete r.stop,a.call(t,function(){k.dequeue(t,e)},r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return K.get(t,i)||K.access(t,i,{empty:k.Callbacks("once memory").add(function(){K.remove(t,[e+"queue",i])})})}}),k.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?k.queue(this[0],t):void 0===e?this:this.each(function(){var i=k.queue(this,t,e);k._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&k.dequeue(this,t)})},dequeue:function(t){return this.each(function(){k.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,a=k.Deferred(),r=this,o=this.length,s=function(){--n||a.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=K.get(r[o],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(s));return s(),a.promise(e)}});var nt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,at=new RegExp("^(?:([+-])=|)("+nt+")([a-z%]*)$","i"),rt=["Top","Right","Bottom","Left"],ot=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&k.contains(t.ownerDocument,t)&&"none"===k.css(t,"display")},st=function(t,e,i,n){var a,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in a=i.apply(t,n||[]),e)t.style[r]=o[r];return a};function lt(t,e,i,n){var a,r,o=20,s=n?function(){return n.cur()}:function(){return k.css(t,e,"")},l=s(),c=i&&i[3]||(k.cssNumber[e]?"":"px"),d=(k.cssNumber[e]||"px"!==c&&+l)&&at.exec(k.css(t,e));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;o--;)k.style(t,e,d+c),(1-r)*(1-(r=s()/l||.5))<=0&&(o=0),d/=r;d*=2,k.style(t,e,d+c),i=i||[]}return i&&(d=+d||+l||0,a=i[1]?d+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=d,n.end=a)),a}var ct={};function dt(t){var e,i=t.ownerDocument,n=t.nodeName,a=ct[n];return a||(e=i.body.appendChild(i.createElement(n)),a=k.css(e,"display"),e.parentNode.removeChild(e),"none"===a&&(a="block"),ct[n]=a,a)}function ut(t,e){for(var i,n,a=[],r=0,o=t.length;r<o;r++)(n=t[r]).style&&(i=n.style.display,e?("none"===i&&(a[r]=K.get(n,"display")||null,a[r]||(n.style.display="")),""===n.style.display&&ot(n)&&(a[r]=dt(n))):"none"!==i&&(a[r]="none",K.set(n,"display",i)));for(r=0;r<o;r++)null!=a[r]&&(t[r].style.display=a[r]);return t}k.fn.extend({show:function(){return ut(this,!0)},hide:function(){return ut(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ot(this)?k(this).show():k(this).hide()})}});var ht=/^(?:checkbox|radio)$/i,pt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ft=/^$|^module$|\/(?:java|ecma)script/i,gt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function mt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&E(t,e)?k.merge([t],i):i}function vt(t,e){for(var i=0,n=t.length;i<n;i++)K.set(t[i],"globalEval",!e||K.get(e[i],"globalEval"))}gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td;var yt,bt,wt=/<|&#?\w+;/;function xt(t,e,i,n,a){for(var r,o,s,l,c,d,u=e.createDocumentFragment(),h=[],p=0,f=t.length;p<f;p++)if((r=t[p])||0===r)if("object"===_(r))k.merge(h,r.nodeType?[r]:r);else if(wt.test(r)){for(o=o||u.appendChild(e.createElement("div")),s=(pt.exec(r)||["",""])[1].toLowerCase(),l=gt[s]||gt._default,o.innerHTML=l[1]+k.htmlPrefilter(r)+l[2],d=l[0];d--;)o=o.lastChild;k.merge(h,o.childNodes),(o=u.firstChild).textContent=""}else h.push(e.createTextNode(r));for(u.textContent="",p=0;r=h[p++];)if(n&&k.inArray(r,n)>-1)a&&a.push(r);else if(c=k.contains(r.ownerDocument,r),o=mt(u.appendChild(r),"script"),c&&vt(o),i)for(d=0;r=o[d++];)ft.test(r.type||"")&&i.push(r);return u}yt=o.createDocumentFragment().appendChild(o.createElement("div")),(bt=o.createElement("input")).setAttribute("type","radio"),bt.setAttribute("checked","checked"),bt.setAttribute("name","t"),yt.appendChild(bt),v.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var _t=o.documentElement,kt=/^key/,St=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Mt=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function Tt(){return!1}function Dt(){try{return o.activeElement}catch(t){}}function Lt(t,e,i,n,a,r){var o,s;if("object"==typeof e){for(s in"string"!=typeof i&&(n=n||i,i=void 0),e)Lt(t,s,i,n,e[s],r);return t}if(null==n&&null==a?(a=i,n=i=void 0):null==a&&("string"==typeof i?(a=n,n=void 0):(a=n,n=i,i=void 0)),!1===a)a=Tt;else if(!a)return t;return 1===r&&(o=a,(a=function(t){return k().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=k.guid++)),t.each(function(){k.event.add(this,e,a,n,i)})}k.event={global:{},add:function(t,e,i,n,a){var r,o,s,l,c,d,u,h,p,f,g,m=K.get(t);if(m)for(i.handler&&(i=(r=i).handler,a=r.selector),a&&k.find.matchesSelector(_t,a),i.guid||(i.guid=k.guid++),(l=m.events)||(l=m.events={}),(o=m.handle)||(o=m.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(N)||[""]).length;c--;)p=g=(s=Mt.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),p&&(u=k.event.special[p]||{},p=(a?u.delegateType:u.bindType)||p,u=k.event.special[p]||{},d=k.extend({type:p,origType:g,data:n,handler:i,guid:i.guid,selector:a,needsContext:a&&k.expr.match.needsContext.test(a),namespace:f.join(".")},r),(h=l[p])||((h=l[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,n,f,o)||t.addEventListener&&t.addEventListener(p,o)),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),k.event.global[p]=!0)},remove:function(t,e,i,n,a){var r,o,s,l,c,d,u,h,p,f,g,m=K.hasData(t)&&K.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(N)||[""]).length;c--;)if(p=g=(s=Mt.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(u=k.event.special[p]||{},h=l[p=(n?u.delegateType:u.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=h.length;r--;)d=h[r],!a&&g!==d.origType||i&&i.guid!==d.guid||s&&!s.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(h.splice(r,1),d.selector&&h.delegateCount--,u.remove&&u.remove.call(t,d));o&&!h.length&&(u.teardown&&!1!==u.teardown.call(t,f,m.handle)||k.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)k.event.remove(t,p+e[c],i,n,!0);k.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,i,n,a,r,o,s=k.event.fix(t),l=new Array(arguments.length),c=(K.get(this,"events")||{})[s.type]||[],d=k.event.special[s.type]||{};for(l[0]=s,e=1;e<arguments.length;e++)l[e]=arguments[e];if(s.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,s)){for(o=k.event.handlers.call(this,s,c),e=0;(a=o[e++])&&!s.isPropagationStopped();)for(s.currentTarget=a.elem,i=0;(r=a.handlers[i++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(r.namespace)||(s.handleObj=r,s.data=r.data,void 0!==(n=((k.event.special[r.origType]||{}).handle||r.handler).apply(a.elem,l))&&!1===(s.result=n)&&(s.preventDefault(),s.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,s),s.result}},handlers:function(t,e){var i,n,a,r,o,s=[],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||!0!==c.disabled)){for(r=[],o={},i=0;i<l;i++)void 0===o[a=(n=e[i]).selector+" "]&&(o[a]=n.needsContext?k(a,this).index(c)>-1:k.find(a,this,null,[c]).length),o[a]&&r.push(n);r.length&&s.push({elem:c,handlers:r})}return c=this,l<e.length&&s.push({elem:c,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[k.expando]?t:new k.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Dt()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Dt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&E(this,"input"))return this.click(),!1},_default:function(t){return E(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},k.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},k.Event=function(t,e){if(!(this instanceof k.Event))return new k.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Ct:Tt,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&&k.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Tt,isPropagationStopped:Tt,isImmediatePropagationStopped:Tt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Ct,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Ct,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Ct,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},k.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,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&&kt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&St.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},k.event.addProp),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){k.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=t.relatedTarget,a=t.handleObj;return n&&(n===this||k.contains(this,n))||(t.type=a.origType,i=a.handler.apply(this,arguments),t.type=e),i}}}),k.fn.extend({on:function(t,e,i,n){return Lt(this,t,e,i,n)},one:function(t,e,i,n){return Lt(this,t,e,i,n,1)},off:function(t,e,i){var n,a;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,k(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(a in t)this.off(a,e,t[a]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Tt),this.each(function(){k.event.remove(this,t,i,e)})}});var Et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,At=/<script|<style|<link/i,Pt=/checked\s*(?:[^=]|=\s*.checked.)/i,Yt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ot(t,e){return E(t,"table")&&E(11!==e.nodeType?e:e.firstChild,"tr")&&k(t).children("tbody")[0]||t}function It(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ht(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Rt(t,e){var i,n,a,r,o,s,l,c;if(1===e.nodeType){if(K.hasData(t)&&(r=K.access(t),o=K.set(e,r),c=r.events))for(a in delete o.handle,o.events={},c)for(i=0,n=c[a].length;i<n;i++)k.event.add(e,a,c[a][i]);Q.hasData(t)&&(s=Q.access(t),l=k.extend({},s),Q.set(e,l))}}function Nt(t,e,i,n){e=c.apply([],e);var a,r,o,s,l,d,u=0,h=t.length,p=h-1,f=e[0],g=y(f);if(g||h>1&&"string"==typeof f&&!v.checkClone&&Pt.test(f))return t.each(function(a){var r=t.eq(a);g&&(e[0]=f.call(this,a,r.html())),Nt(r,e,i,n)});if(h&&(r=(a=xt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===a.childNodes.length&&(a=r),r||n)){for(s=(o=k.map(mt(a,"script"),It)).length;u<h;u++)l=a,u!==p&&(l=k.clone(l,!0,!0),s&&k.merge(o,mt(l,"script"))),i.call(t[u],l,u);if(s)for(d=o[o.length-1].ownerDocument,k.map(o,Ht),u=0;u<s;u++)l=o[u],ft.test(l.type||"")&&!K.access(l,"globalEval")&&k.contains(d,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&k._evalUrl(l.src):x(l.textContent.replace(Yt,""),d,l))}return t}function jt(t,e,i){for(var n,a=e?k.filter(e,t):t,r=0;null!=(n=a[r]);r++)i||1!==n.nodeType||k.cleanData(mt(n)),n.parentNode&&(i&&k.contains(n.ownerDocument,n)&&vt(mt(n,"script")),n.parentNode.removeChild(n));return t}k.extend({htmlPrefilter:function(t){return t.replace(Et,"<$1></$2>")},clone:function(t,e,i){var n,a,r,o,s,l,c,d=t.cloneNode(!0),u=k.contains(t.ownerDocument,t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(o=mt(d),n=0,a=(r=mt(t)).length;n<a;n++)s=r[n],l=o[n],c=void 0,"input"===(c=l.nodeName.toLowerCase())&&ht.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(e)if(i)for(r=r||mt(t),o=o||mt(d),n=0,a=r.length;n<a;n++)Rt(r[n],o[n]);else Rt(t,d);return(o=mt(d,"script")).length>0&&vt(o,!u&&mt(t,"script")),d},cleanData:function(t){for(var e,i,n,a=k.event.special,r=0;void 0!==(i=t[r]);r++)if(Z(i)){if(e=i[K.expando]){if(e.events)for(n in e.events)a[n]?k.event.remove(i,n):k.removeEvent(i,n,e.handle);i[K.expando]=void 0}i[Q.expando]&&(i[Q.expando]=void 0)}}}),k.fn.extend({detach:function(t){return jt(this,t,!0)},remove:function(t){return jt(this,t)},text:function(t){return $(this,function(t){return void 0===t?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Nt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ot(this,t).appendChild(t)})},prepend:function(){return Nt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Ot(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Nt(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&&(k.cleanData(mt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return k.clone(this,t,e)})},html:function(t){return $(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&&!At.test(t)&&!gt[(pt.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(k.cleanData(mt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Nt(this,arguments,function(e){var i=this.parentNode;k.inArray(this,t)<0&&(k.cleanData(mt(this)),i&&i.replaceChild(e,this))},t)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){k.fn[t]=function(t){for(var i,n=[],a=k(t),r=a.length-1,o=0;o<=r;o++)i=o===r?this:this.clone(!0),k(a[o])[e](i),d.apply(n,i.get());return this.pushStack(n)}});var Ft=new RegExp("^("+nt+")(?!px)[a-z%]+$","i"),zt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},Wt=new RegExp(rt.join("|"),"i");function Bt(t,e,i){var n,a,r,o,s=t.style;return(i=i||zt(t))&&(""!==(o=i.getPropertyValue(e)||i[e])||k.contains(t.ownerDocument,t)||(o=k.style(t,e)),!v.pixelBoxStyles()&&Ft.test(o)&&Wt.test(e)&&(n=s.width,a=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=i.width,s.width=n,s.minWidth=a,s.maxWidth=r)),void 0!==o?o+"":o}function Vt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){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%",_t.appendChild(c).appendChild(d);var t=i.getComputedStyle(d);n="1%"!==t.top,l=12===e(t.marginLeft),d.style.right="60%",s=36===e(t.right),a=36===e(t.width),d.style.position="absolute",r=36===d.offsetWidth||"absolute",_t.removeChild(c),d=null}}function e(t){return Math.round(parseFloat(t))}var n,a,r,s,l,c=o.createElement("div"),d=o.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===d.style.backgroundClip,k.extend(v,{boxSizingReliable:function(){return t(),a},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r}}))}();var $t=/^(none|table(?!-c[ea]).+)/,Xt=/^--/,qt={position:"absolute",visibility:"hidden",display:"block"},Ut={letterSpacing:"0",fontWeight:"400"},Gt=["Webkit","Moz","ms"],Zt=o.createElement("div").style;function Jt(t){var e=k.cssProps[t];return e||(e=k.cssProps[t]=function(t){if(t in Zt)return t;for(var e=t[0].toUpperCase()+t.slice(1),i=Gt.length;i--;)if((t=Gt[i]+e)in Zt)return t}(t)||t),e}function Kt(t,e,i){var n=at.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function Qt(t,e,i,n,a,r){var o="width"===e?1:0,s=0,l=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(l+=k.css(t,i+rt[o],!0,a)),n?("content"===i&&(l-=k.css(t,"padding"+rt[o],!0,a)),"margin"!==i&&(l-=k.css(t,"border"+rt[o]+"Width",!0,a))):(l+=k.css(t,"padding"+rt[o],!0,a),"padding"!==i?l+=k.css(t,"border"+rt[o]+"Width",!0,a):s+=k.css(t,"border"+rt[o]+"Width",!0,a));return!n&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-s-.5))),l}function te(t,e,i){var n=zt(t),a=Bt(t,e,n),r="border-box"===k.css(t,"boxSizing",!1,n),o=r;if(Ft.test(a)){if(!i)return a;a="auto"}return o=o&&(v.boxSizingReliable()||a===t.style[e]),("auto"===a||!parseFloat(a)&&"inline"===k.css(t,"display",!1,n))&&(a=t["offset"+e[0].toUpperCase()+e.slice(1)],o=!0),(a=parseFloat(a)||0)+Qt(t,e,i||(r?"border":"content"),o,n,a)+"px"}function ee(t,e,i,n,a){return new ee.prototype.init(t,e,i,n,a)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Bt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var a,r,o,s=G(e),l=Xt.test(e),c=t.style;if(l||(e=Jt(s)),o=k.cssHooks[e]||k.cssHooks[s],void 0===i)return o&&"get"in o&&void 0!==(a=o.get(t,!1,n))?a:c[e];"string"===(r=typeof i)&&(a=at.exec(i))&&a[1]&&(i=lt(t,e,a),r="number"),null!=i&&i==i&&("number"===r&&(i+=a&&a[3]||(k.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,n){var a,r,o,s=G(e);return Xt.test(e)||(e=Jt(s)),(o=k.cssHooks[e]||k.cssHooks[s])&&"get"in o&&(a=o.get(t,!0,i)),void 0===a&&(a=Bt(t,e,n)),"normal"===a&&e in Ut&&(a=Ut[e]),""===i||i?(r=parseFloat(a),!0===i||isFinite(r)?r||0:a):a}}),k.each(["height","width"],function(t,e){k.cssHooks[e]={get:function(t,i,n){if(i)return!$t.test(k.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?te(t,e,n):st(t,qt,function(){return te(t,e,n)})},set:function(t,i,n){var a,r=zt(t),o="border-box"===k.css(t,"boxSizing",!1,r),s=n&&Qt(t,e,n,o,r);return o&&v.scrollboxSize()===r.position&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-Qt(t,e,"border",!1,r)-.5)),s&&(a=at.exec(i))&&"px"!==(a[3]||"px")&&(t.style[e]=i,i=k.css(t,e)),Kt(0,i,s)}}}),k.cssHooks.marginLeft=Vt(v.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-st(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(t,e){k.cssHooks[t+e]={expand:function(i){for(var n=0,a={},r="string"==typeof i?i.split(" "):[i];n<4;n++)a[t+rt[n]+e]=r[n]||r[n-2]||r[0];return a}},"margin"!==t&&(k.cssHooks[t+e].set=Kt)}),k.fn.extend({css:function(t,e){return $(this,function(t,e,i){var n,a,r={},o=0;if(Array.isArray(e)){for(n=zt(t),a=e.length;o<a;o++)r[e[o]]=k.css(t,e[o],!1,n);return r}return void 0!==i?k.style(t,e,i):k.css(t,e)},t,e,arguments.length>1)}}),k.Tween=ee,ee.prototype={constructor:ee,init:function(t,e,i,n,a,r){this.elem=t,this.prop=i,this.easing=a||k.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(k.cssNumber[i]?"":"px")},cur:function(){var t=ee.propHooks[this.prop];return t&&t.get?t.get(this):ee.propHooks._default.get(this)},run:function(t){var e,i=ee.propHooks[this.prop];return this.options.duration?this.pos=e=k.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):ee.propHooks._default.set(this),this}},ee.prototype.init.prototype=ee.prototype,ee.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=k.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){k.fx.step[t.prop]?k.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[k.cssProps[t.prop]]&&!k.cssHooks[t.prop]?t.elem[t.prop]=t.now:k.style(t.elem,t.prop,t.now+t.unit)}}},ee.propHooks.scrollTop=ee.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},k.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},k.fx=ee.prototype.init,k.fx.step={};var ie,ne,ae=/^(?:toggle|show|hide)$/,re=/queueHooks$/;function oe(){ne&&(!1===o.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(oe):i.setTimeout(oe,k.fx.interval),k.fx.tick())}function se(){return i.setTimeout(function(){ie=void 0}),ie=Date.now()}function le(t,e){var i,n=0,a={height:t};for(e=e?1:0;n<4;n+=2-e)a["margin"+(i=rt[n])]=a["padding"+i]=t;return e&&(a.opacity=a.width=t),a}function ce(t,e,i){for(var n,a=(de.tweeners[e]||[]).concat(de.tweeners["*"]),r=0,o=a.length;r<o;r++)if(n=a[r].call(i,e,t))return n}function de(t,e,i){var n,a,r=0,o=de.prefilters.length,s=k.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=ie||se(),i=Math.max(0,c.startTime+c.duration-e),n=1-(i/c.duration||0),r=0,o=c.tweens.length;r<o;r++)c.tweens[r].run(n);return s.notifyWith(t,[c,n,i]),n<1&&o?i:(o||s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},i),originalProperties:e,originalOptions:i,startTime:ie||se(),duration:i.duration,tweens:[],createTween:function(e,i){var n=k.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(a)return this;for(a=!0;i<n;i++)c.tweens[i].run(1);return e?(s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c,e])):s.rejectWith(t,[c,e]),this}}),d=c.props;for(!function(t,e){var i,n,a,r,o;for(i in t)if(a=e[n=G(i)],r=t[i],Array.isArray(r)&&(a=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(o=k.cssHooks[n])&&"expand"in o)for(i in r=o.expand(r),delete t[n],r)i in t||(t[i]=r[i],e[i]=a);else e[n]=a}(d,c.opts.specialEasing);r<o;r++)if(n=de.prefilters[r].call(c,t,d,c.opts))return y(n.stop)&&(k._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return k.map(d,ce,c),y(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),k.fx.timer(k.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}k.Animation=k.extend(de,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return lt(i.elem,t,at.exec(e),i),i}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(N);for(var i,n=0,a=t.length;n<a;n++)i=t[n],de.tweeners[i]=de.tweeners[i]||[],de.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,a,r,o,s,l,c,d,u="width"in e||"height"in e,h=this,p={},f=t.style,g=t.nodeType&&ot(t),m=K.get(t,"fxshow");for(n in i.queue||(null==(o=k._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,h.always(function(){h.always(function(){o.unqueued--,k.queue(t,"fx").length||o.empty.fire()})})),e)if(a=e[n],ae.test(a)){if(delete e[n],r=r||"toggle"===a,a===(g?"hide":"show")){if("show"!==a||!m||void 0===m[n])continue;g=!0}p[n]=m&&m[n]||k.style(t,n)}if((l=!k.isEmptyObject(e))||!k.isEmptyObject(p))for(n in u&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=m&&m.display)&&(c=K.get(t,"display")),"none"===(d=k.css(t,"display"))&&(c?d=c:(ut([t],!0),c=t.style.display||c,d=k.css(t,"display"),ut([t]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===k.css(t,"float")&&(l||(h.done(function(){f.display=c}),null==c&&(d=f.display,c="none"===d?"":d)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=K.access(t,"fxshow",{display:c}),r&&(m.hidden=!g),g&&ut([t],!0),h.done(function(){for(n in g||ut([t]),K.remove(t,"fxshow"),p)k.style(t,n,p[n])})),l=ce(g?m[n]:0,n,h),n in m||(m[n]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?de.prefilters.unshift(t):de.prefilters.push(t)}}),k.speed=function(t,e,i){var n=t&&"object"==typeof t?k.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};return k.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in k.fx.speeds?n.duration=k.fx.speeds[n.duration]:n.duration=k.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&k.dequeue(this,n.queue)},n},k.fn.extend({fadeTo:function(t,e,i,n){return this.filter(ot).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var a=k.isEmptyObject(t),r=k.speed(e,i,n),o=function(){var e=de(this,k.extend({},t),r);(a||K.get(this,"finish"))&&e.stop(!0)};return o.finish=o,a||!1===r.queue?this.each(o):this.queue(r.queue,o)},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&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,a=null!=t&&t+"queueHooks",r=k.timers,o=K.get(this);if(a)o[a]&&o[a].stop&&n(o[a]);else for(a in o)o[a]&&o[a].stop&&re.test(a)&&n(o[a]);for(a=r.length;a--;)r[a].elem!==this||null!=t&&r[a].queue!==t||(r[a].anim.stop(i),e=!1,r.splice(a,1));!e&&i||k.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,i=K.get(this),n=i[t+"queue"],a=i[t+"queueHooks"],r=k.timers,o=n?n.length:0;for(i.finish=!0,k.queue(this,t,[]),a&&a.stop&&a.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),k.each(["toggle","show","hide"],function(t,e){var i=k.fn[e];k.fn[e]=function(t,n,a){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(le(e,!0),t,n,a)}}),k.each({slideDown:le("show"),slideUp:le("hide"),slideToggle:le("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){k.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),k.timers=[],k.fx.tick=function(){var t,e=0,i=k.timers;for(ie=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||k.fx.stop(),ie=void 0},k.fx.timer=function(t){k.timers.push(t),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ne||(ne=!0,oe())},k.fx.stop=function(){ne=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(t,e){return t=k.fx&&k.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,n){var a=i.setTimeout(e,t);n.stop=function(){i.clearTimeout(a)}})},function(){var t=o.createElement("input"),e=o.createElement("select").appendChild(o.createElement("option"));t.type="checkbox",v.checkOn=""!==t.value,v.optSelected=e.selected,(t=o.createElement("input")).value="t",t.type="radio",v.radioValue="t"===t.value}();var ue,he=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return $(this,k.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){k.removeAttr(this,t)})}}),k.extend({attr:function(t,e,i){var n,a,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?k.prop(t,e,i):(1===r&&k.isXMLDoc(t)||(a=k.attrHooks[e.toLowerCase()]||(k.expr.match.bool.test(e)?ue:void 0)),void 0!==i?null===i?void k.removeAttr(t,e):a&&"set"in a&&void 0!==(n=a.set(t,i,e))?n:(t.setAttribute(e,i+""),i):a&&"get"in a&&null!==(n=a.get(t,e))?n:null==(n=k.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&E(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,a=e&&e.match(N);if(a&&1===t.nodeType)for(;i=a[n++];)t.removeAttribute(i)}}),ue={set:function(t,e,i){return!1===e?k.removeAttr(t,i):t.setAttribute(i,i),i}},k.each(k.expr.match.bool.source.match(/\w+/g),function(t,e){var i=he[e]||k.find.attr;he[e]=function(t,e,n){var a,r,o=e.toLowerCase();return n||(r=he[o],he[o]=a,a=null!=i(t,e,n)?o:null,he[o]=r),a}});var pe=/^(?:input|select|textarea|button)$/i,fe=/^(?:a|area)$/i;function ge(t){return(t.match(N)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ve(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(N)||[]}k.fn.extend({prop:function(t,e){return $(this,k.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[k.propFix[t]||t]})}}),k.extend({prop:function(t,e,i){var n,a,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&k.isXMLDoc(t)||(e=k.propFix[e]||e,a=k.propHooks[e]),void 0!==i?a&&"set"in a&&void 0!==(n=a.set(t,i,e))?n:t[e]=i:a&&"get"in a&&null!==(n=a.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=k.find.attr(t,"tabindex");return e?parseInt(e,10):pe.test(t.nodeName)||fe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(k.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)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(t){var e,i,n,a,r,o,s,l=0;if(y(t))return this.each(function(e){k(this).addClass(t.call(this,e,me(this)))});if((e=ve(t)).length)for(;i=this[l++];)if(a=me(i),n=1===i.nodeType&&" "+ge(a)+" "){for(o=0;r=e[o++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");a!==(s=ge(n))&&i.setAttribute("class",s)}return this},removeClass:function(t){var e,i,n,a,r,o,s,l=0;if(y(t))return this.each(function(e){k(this).removeClass(t.call(this,e,me(this)))});if(!arguments.length)return this.attr("class","");if((e=ve(t)).length)for(;i=this[l++];)if(a=me(i),n=1===i.nodeType&&" "+ge(a)+" "){for(o=0;r=e[o++];)for(;n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");a!==(s=ge(n))&&i.setAttribute("class",s)}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):y(t)?this.each(function(i){k(this).toggleClass(t.call(this,i,me(this),e),e)}):this.each(function(){var e,a,r,o;if(n)for(a=0,r=k(this),o=ve(t);e=o[a++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==i||((e=me(this))&&K.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":K.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+ge(me(i))+" ").indexOf(e)>-1)return!0;return!1}});var ye=/\r/g;k.fn.extend({val:function(t){var e,i,n,a=this[0];return arguments.length?(n=y(t),this.each(function(i){var a;1===this.nodeType&&(null==(a=n?t.call(this,i,k(this).val()):t)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=k.map(a,function(t){return null==t?"":t+""})),(e=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,a,"value")||(this.value=a))})):a?(e=k.valHooks[a.type]||k.valHooks[a.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(a,"value"))?i:"string"==typeof(i=a.value)?i.replace(ye,""):null==i?"":i:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:ge(k.text(t))}},select:{get:function(t){var e,i,n,a=t.options,r=t.selectedIndex,o="select-one"===t.type,s=o?null:[],l=o?r+1:a.length;for(n=r<0?l:o?r:0;n<l;n++)if(((i=a[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!E(i.parentNode,"optgroup"))){if(e=k(i).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var i,n,a=t.options,r=k.makeArray(e),o=a.length;o--;)((n=a[o]).selected=k.inArray(k.valHooks.option.get(n),r)>-1)&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=k.inArray(k(t).val(),e)>-1}},v.checkOn||(k.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),v.focusin="onfocusin"in i;var be=/^(?:focusinfocus|focusoutblur)$/,we=function(t){t.stopPropagation()};k.extend(k.event,{trigger:function(t,e,n,a){var r,s,l,c,d,u,h,p,g=[n||o],m=f.call(t,"type")?t.type:t,v=f.call(t,"namespace")?t.namespace.split("."):[];if(s=p=l=n=n||o,3!==n.nodeType&&8!==n.nodeType&&!be.test(m+k.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),d=m.indexOf(":")<0&&"on"+m,(t=t[k.expando]?t:new k.Event(m,"object"==typeof t&&t)).isTrigger=a?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:k.makeArray(e,[t]),h=k.event.special[m]||{},a||!h.trigger||!1!==h.trigger.apply(n,e))){if(!a&&!h.noBubble&&!b(n)){for(c=h.delegateType||m,be.test(c+m)||(s=s.parentNode);s;s=s.parentNode)g.push(s),l=s;l===(n.ownerDocument||o)&&g.push(l.defaultView||l.parentWindow||i)}for(r=0;(s=g[r++])&&!t.isPropagationStopped();)p=s,t.type=r>1?c:h.bindType||m,(u=(K.get(s,"events")||{})[t.type]&&K.get(s,"handle"))&&u.apply(s,e),(u=d&&s[d])&&u.apply&&Z(s)&&(t.result=u.apply(s,e),!1===t.result&&t.preventDefault());return t.type=m,a||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(g.pop(),e)||!Z(n)||d&&y(n[m])&&!b(n)&&((l=n[d])&&(n[d]=null),k.event.triggered=m,t.isPropagationStopped()&&p.addEventListener(m,we),n[m](),t.isPropagationStopped()&&p.removeEventListener(m,we),k.event.triggered=void 0,l&&(n[d]=l)),t.result}},simulate:function(t,e,i){var n=k.extend(new k.Event,i,{type:t,isSimulated:!0});k.event.trigger(n,null,e)}}),k.fn.extend({trigger:function(t,e){return this.each(function(){k.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return k.event.trigger(t,e,i,!0)}}),v.focusin||k.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){k.event.simulate(e,t.target,k.event.fix(t))};k.event.special[e]={setup:function(){var n=this.ownerDocument||this,a=K.access(n,e);a||n.addEventListener(t,i,!0),K.access(n,e,(a||0)+1)},teardown:function(){var n=this.ownerDocument||this,a=K.access(n,e)-1;a?K.access(n,e,a):(n.removeEventListener(t,i,!0),K.remove(n,e))}}});var xe=i.location,_e=Date.now(),ke=/\?/;k.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+t),e};var Se=/\[\]$/,Me=/\r?\n/g,Ce=/^(?:submit|button|image|reset|file)$/i,Te=/^(?:input|select|textarea|keygen)/i;function De(t,e,i,n){var a;if(Array.isArray(e))k.each(e,function(e,a){i||Se.test(t)?n(t,a):De(t+"["+("object"==typeof a&&null!=a?e:"")+"]",a,i,n)});else if(i||"object"!==_(e))n(t,e);else for(a in e)De(t+"["+a+"]",e[a],i,n)}k.param=function(t,e){var i,n=[],a=function(t,e){var i=y(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(Array.isArray(t)||t.jquery&&!k.isPlainObject(t))k.each(t,function(){a(this.name,this.value)});else for(i in t)De(i,t[i],e,a);return n.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=k.prop(this,"elements");return t?k.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!k(this).is(":disabled")&&Te.test(this.nodeName)&&!Ce.test(t)&&(this.checked||!ht.test(t))}).map(function(t,e){var i=k(this).val();return null==i?null:Array.isArray(i)?k.map(i,function(t){return{name:e.name,value:t.replace(Me,"\r\n")}}):{name:e.name,value:i.replace(Me,"\r\n")}}).get()}});var Le=/%20/g,Ee=/#.*$/,Ae=/([?&])_=[^&]*/,Pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ye=/^(?:GET|HEAD)$/,Oe=/^\/\//,Ie={},He={},Re="*/".concat("*"),Ne=o.createElement("a");function je(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,a=0,r=e.toLowerCase().match(N)||[];if(y(i))for(;n=r[a++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function Fe(t,e,i,n){var a={},r=t===He;function o(s){var l;return a[s]=!0,k.each(t[s]||[],function(t,s){var c=s(e,i,n);return"string"!=typeof c||r||a[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),o(c),!1)}),l}return o(e.dataTypes[0])||!a["*"]&&o("*")}function ze(t,e){var i,n,a=k.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((a[i]?t:n||(n={}))[i]=e[i]);return n&&k.extend(!0,t,n),t}Ne.href=xe.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xe.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Re,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,k.ajaxSettings),e):ze(k.ajaxSettings,t)},ajaxPrefilter:je(Ie),ajaxTransport:je(He),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,a,r,s,l,c,d,u,h,p,f=k.ajaxSetup({},e),g=f.context||f,m=f.context&&(g.nodeType||g.jquery)?k(g):k.event,v=k.Deferred(),y=k.Callbacks("once memory"),b=f.statusCode||{},w={},x={},_="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(d){if(!s)for(s={};e=Pe.exec(r);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return d?r:null},setRequestHeader:function(t,e){return null==d&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==d&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(d)S.always(t[S.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||_;return n&&n.abort(e),M(0,e),this}};if(v.promise(S),f.url=((t||f.url||xe.href)+"").replace(Oe,xe.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(N)||[""],null==f.crossDomain){c=o.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Ne.protocol+"//"+Ne.host!=c.protocol+"//"+c.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=k.param(f.data,f.traditional)),Fe(Ie,f,e,S),d)return S;for(h in(u=k.event&&f.global)&&0==k.active++&&k.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ye.test(f.type),a=f.url.replace(Ee,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Le,"+")):(p=f.url.slice(a.length),f.data&&(f.processData||"string"==typeof f.data)&&(a+=(ke.test(a)?"&":"?")+f.data,delete f.data),!1===f.cache&&(a=a.replace(Ae,"$1"),p=(ke.test(a)?"&":"?")+"_="+_e+++p),f.url=a+p),f.ifModified&&(k.lastModified[a]&&S.setRequestHeader("If-Modified-Since",k.lastModified[a]),k.etag[a]&&S.setRequestHeader("If-None-Match",k.etag[a])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Re+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(h,f.headers[h]);if(f.beforeSend&&(!1===f.beforeSend.call(g,S,f)||d))return S.abort();if(_="abort",y.add(f.complete),S.done(f.success),S.fail(f.error),n=Fe(He,f,e,S)){if(S.readyState=1,u&&m.trigger("ajaxSend",[S,f]),d)return S;f.async&&f.timeout>0&&(l=i.setTimeout(function(){S.abort("timeout")},f.timeout));try{d=!1,n.send(w,M)}catch(t){if(d)throw t;M(-1,t)}}else M(-1,"No Transport");function M(t,e,o,s){var c,h,p,w,x,_=e;d||(d=!0,l&&i.clearTimeout(l),n=void 0,r=s||"",S.readyState=t>0?4:0,c=t>=200&&t<300||304===t,o&&(w=function(t,e,i){for(var n,a,r,o,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(a in s)if(s[a]&&s[a].test(n)){l.unshift(a);break}if(l[0]in i)r=l[0];else{for(a in i){if(!l[0]||t.converters[a+" "+l[0]]){r=a;break}o||(o=a)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}(f,S,o)),w=function(t,e,i,n){var a,r,o,s,l,c={},d=t.dataTypes.slice();if(d[1])for(o in t.converters)c[o.toLowerCase()]=t.converters[o];for(r=d.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=d.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=c[l+" "+r]||c["* "+r]))for(a in c)if((s=a.split(" "))[1]===r&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[a]:!0!==c[a]&&(r=s[0],d.unshift(s[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(f,w,S,c),c?(f.ifModified&&((x=S.getResponseHeader("Last-Modified"))&&(k.lastModified[a]=x),(x=S.getResponseHeader("etag"))&&(k.etag[a]=x)),204===t||"HEAD"===f.type?_="nocontent":304===t?_="notmodified":(_=w.state,h=w.data,c=!(p=w.error))):(p=_,!t&&_||(_="error",t<0&&(t=0))),S.status=t,S.statusText=(e||_)+"",c?v.resolveWith(g,[h,_,S]):v.rejectWith(g,[S,_,p]),S.statusCode(b),b=void 0,u&&m.trigger(c?"ajaxSuccess":"ajaxError",[S,f,c?h:p]),y.fireWith(g,[S,_]),u&&(m.trigger("ajaxComplete",[S,f]),--k.active||k.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,i){return k.get(t,e,i,"json")},getScript:function(t,e){return k.get(t,void 0,e,"script")}}),k.each(["get","post"],function(t,e){k[e]=function(t,i,n,a){return y(i)&&(a=a||n,n=i,i=void 0),k.ajax(k.extend({url:t,type:e,dataType:a,data:i,success:n},k.isPlainObject(t)&&t))}}),k._evalUrl=function(t){return k.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},k.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=k(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(e){k(this).wrapInner(t.call(this,e))}):this.each(function(){var e=k(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=y(t);return this.each(function(i){k(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(t){return!k.expr.pseudos.visible(t)},k.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var We={0:200,1223:204},Be=k.ajaxSettings.xhr();v.cors=!!Be&&"withCredentials"in Be,v.ajax=Be=!!Be,k.ajaxTransport(function(t){var e,n;if(v.cors||Be&&!t.crossDomain)return{send:function(a,r){var o,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];for(o in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(o,a[o]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(We[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&i.setTimeout(function(){e&&n()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),k.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),k.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 k.globalEval(t),t}}}),k.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),k.ajaxTransport("script",function(t){var e,i;if(t.crossDomain)return{send:function(n,a){e=k("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&a("error"===t.type?404:200,t.type)}),o.head.appendChild(e[0])},abort:function(){i&&i()}}});var Ve,$e=[],Xe=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=$e.pop()||k.expando+"_"+_e++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",function(t,e,n){var a,r,o,s=!1!==t.jsonp&&(Xe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return a=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Xe,"$1"+a):!1!==t.jsonp&&(t.url+=(ke.test(t.url)?"&":"?")+t.jsonp+"="+a),t.converters["script json"]=function(){return o||k.error(a+" was not called"),o[0]},t.dataTypes[0]="json",r=i[a],i[a]=function(){o=arguments},n.always(function(){void 0===r?k(i).removeProp(a):i[a]=r,t[a]&&(t.jsonpCallback=e.jsonpCallback,$e.push(a)),o&&y(r)&&r(o[0]),o=r=void 0}),"script"}),v.createHTMLDocument=((Ve=o.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ve.childNodes.length),k.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(v.createHTMLDocument?((n=(e=o.implementation.createHTMLDocument("")).createElement("base")).href=o.location.href,e.head.appendChild(n)):e=o),r=!i&&[],(a=A.exec(t))?[e.createElement(a[1])]:(a=xt([t],e,r),r&&r.length&&k(r).remove(),k.merge([],a.childNodes)));var n,a,r},k.fn.load=function(t,e,i){var n,a,r,o=this,s=t.indexOf(" ");return s>-1&&(n=ge(t.slice(s)),t=t.slice(0,s)),y(e)?(i=e,e=void 0):e&&"object"==typeof e&&(a="POST"),o.length>0&&k.ajax({url:t,type:a||"GET",dataType:"html",data:e}).done(function(t){r=arguments,o.html(n?k("<div>").append(k.parseHTML(t)).find(n):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,r||[t.responseText,e,t])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){k.fn[e]=function(t){return this.on(e,t)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(t,e,i){var n,a,r,o,s,l,c=k.css(t,"position"),d=k(t),u={};"static"===c&&(t.style.position="relative"),s=d.offset(),r=k.css(t,"top"),l=k.css(t,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(o=(n=d.position()).top,a=n.left):(o=parseFloat(r)||0,a=parseFloat(l)||0),y(e)&&(e=e.call(t,i,k.extend({},s))),null!=e.top&&(u.top=e.top-s.top+o),null!=e.left&&(u.left=e.left-s.left+a),"using"in e?e.using.call(t,u):d.css(u)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],a={top:0,left:0};if("fixed"===k.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"===k.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((a=k(t).offset()).top+=k.css(t,"borderTopWidth",!0),a.left+=k.css(t,"borderLeftWidth",!0))}return{top:e.top-a.top-k.css(n,"marginTop",!0),left:e.left-a.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===k.css(t,"position");)t=t.offsetParent;return t||_t})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;k.fn[t]=function(n){return $(this,function(t,n,a){var r;if(b(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===a)return r?r[e]:t[n];r?r.scrollTo(i?r.pageXOffset:a,i?a:r.pageYOffset):t[n]=a},t,n,arguments.length)}}),k.each(["top","left"],function(t,e){k.cssHooks[e]=Vt(v.pixelPosition,function(t,i){if(i)return i=Bt(t,e),Ft.test(i)?k(t).position()[e]+"px":i})}),k.each({Height:"height",Width:"width"},function(t,e){k.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){k.fn[n]=function(a,r){var o=arguments.length&&(i||"boolean"!=typeof a),s=i||(!0===a||!0===r?"margin":"border");return $(this,function(e,i,a){var r;return b(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===a?k.css(e,i,s):k.style(e,i,a,s)},e,o?a:void 0,o)}})}),k.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){k.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),k.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),k.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)}}),k.proxy=function(t,e){var i,n,a;if("string"==typeof e&&(i=t[e],e=t,t=i),y(t))return n=l.call(arguments,2),(a=function(){return t.apply(e||this,n.concat(l.call(arguments)))}).guid=t.guid=t.guid||k.guid++,a},k.holdReady=function(t){t?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=E,k.isFunction=y,k.isWindow=b,k.camelCase=G,k.type=_,k.now=Date.now,k.isNumeric=function(t){var e=k.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},void 0===(n=function(){return k}.apply(e,[]))||(t.exports=n);var qe=i.jQuery,Ue=i.$;return k.noConflict=function(t){return i.$===k&&(i.$=Ue),t&&i.jQuery===k&&(i.jQuery=qe),k},a||(i.jQuery=i.$=k),k})},function(t,e,i){(function(t){t.exports=function(){"use strict";var e,n;function a(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t){return void 0===t}function l(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function h(t,e){for(var i in e)u(e,i)&&(t[i]=e[i]);return u(e,"toString")&&(t.toString=e.toString),u(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,i,n){return Le(t,e,i,n,!0).utc()}function f(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function g(t){if(null==t._isValid){var e=f(t),i=n.call(e.parsedDateParts,function(t){return null!=t}),a=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(a=a&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return a;t._isValid=a}return t._isValid}function m(t){var e=p(NaN);return null!=t?h(f(e),t):f(e).userInvalidated=!0,e}n=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var v=a.momentProperties=[];function y(t,e){var i,n,a;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=f(e)),s(e._locale)||(t._locale=e._locale),v.length>0)for(i=0;i<v.length;i++)n=v[i],s(a=e[n])||(t[n]=a);return t}var b=!1;function w(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,a.updateOffset(this),b=!1)}function x(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function _(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function k(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=_(e)),i}function S(t,e,i){var n,a=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(n=0;n<a;n++)(i&&t[n]!==e[n]||!i&&k(t[n])!==k(e[n]))&&o++;return o+r}function M(t){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function C(t,e){var i=!0;return h(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,t),i){for(var n,r=[],o=0;o<arguments.length;o++){if(n="","object"==typeof arguments[o]){for(var s in n+="\n["+o+"] ",arguments[0])n+=s+": "+arguments[0][s]+", ";n=n.slice(0,-2)}else n=arguments[o];r.push(n)}M(t+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),i=!1}return e.apply(this,arguments)},e)}var T,D={};function L(t,e){null!=a.deprecationHandler&&a.deprecationHandler(t,e),D[t]||(M(e),D[t]=!0)}function E(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var i,n=h({},t);for(i in e)u(e,i)&&(o(t[i])&&o(e[i])?(n[i]={},h(n[i],t[i]),h(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)u(t,i)&&!u(e,i)&&o(t[i])&&(n[i]=h({},n[i]));return n}function P(t){null!=t&&this.set(t)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)u(t,e)&&i.push(e);return i};var Y={};function O(t,e){var i=t.toLowerCase();Y[i]=Y[i+"s"]=Y[e]=t}function I(t){return"string"==typeof t?Y[t]||Y[t.toLowerCase()]:void 0}function H(t){var e,i,n={};for(i in t)u(t,i)&&(e=I(i))&&(n[e]=t[i]);return n}var R={};function N(t,e){R[t]=e}function j(t,e,i){var n=""+Math.abs(t),a=e-n.length,r=t>=0;return(r?i?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},B={};function V(t,e,i,n){var a=n;"string"==typeof n&&(a=function(){return this[n]()}),t&&(B[t]=a),e&&(B[e[0]]=function(){return j(a.apply(this,arguments),e[1],e[2])}),i&&(B[i]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function $(t,e){return t.isValid()?(e=X(e,t.localeData()),W[e]=W[e]||function(t){var e,i,n,a=t.match(F);for(e=0,i=a.length;e<i;e++)B[a[e]]?a[e]=B[a[e]]:a[e]=(n=a[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,r="";for(n=0;n<i;n++)r+=E(a[n])?a[n].call(e,t):a[n];return r}}(e),W[e](t)):t.localeData().invalidDate()}function X(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(z.lastIndex=0;i>=0&&z.test(t);)t=t.replace(z,n),z.lastIndex=0,i-=1;return t}var q=/\d/,U=/\d\d/,G=/\d{3}/,Z=/\d{4}/,J=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,it=/\d{1,4}/,nt=/[+-]?\d{1,6}/,at=/\d+/,rt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,st=/Z|[+-]\d\d(?::?\d\d)?/gi,lt=/[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,ct={};function dt(t,e,i){ct[t]=E(e)?e:function(t,n){return t&&i?i:e}}function ut(t,e){return u(ct,t)?ct[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,a){return e||i||n||a})))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={};function ft(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),l(e)&&(n=function(t,i){i[e]=k(t)}),i=0;i<t.length;i++)pt[t[i]]=n}function gt(t,e){ft(t,function(t,i,n,a){n._w=n._w||{},e(t,n._w,n,a)})}function mt(t,e,i){null!=e&&u(pt,t)&&pt[t](e,i._a,i,t)}var vt=0,yt=1,bt=2,wt=3,xt=4,_t=5,kt=6,St=7,Mt=8;function Ct(t){return Tt(t)?366:365}function Tt(t){return t%4==0&&t%100!=0||t%400==0}V("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),O("year","y"),N("year",1),dt("Y",rt),dt("YY",K,U),dt("YYYY",it,Z),dt("YYYYY",nt,J),dt("YYYYYY",nt,J),ft(["YYYYY","YYYYYY"],vt),ft("YYYY",function(t,e){e[vt]=2===t.length?a.parseTwoDigitYear(t):k(t)}),ft("YY",function(t,e){e[vt]=a.parseTwoDigitYear(t)}),ft("Y",function(t,e){e[vt]=parseInt(t,10)}),a.parseTwoDigitYear=function(t){return k(t)+(k(t)>68?1900:2e3)};var Dt,Lt=Et("FullYear",!0);function Et(t,e){return function(i){return null!=i?(Pt(this,t,i),a.updateOffset(this,e),this):At(this,t)}}function At(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Pt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&Tt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Yt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Yt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i,n=(e%(i=12)+i)%i;return t+=(e-n)/12,1===n?Tt(t)?29:28:31-n%7%2}Dt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),V("MMMM",0,0,function(t){return this.localeData().months(this,t)}),O("month","M"),N("month",8),dt("M",K),dt("MM",K,U),dt("MMM",function(t,e){return e.monthsShortRegex(t)}),dt("MMMM",function(t,e){return e.monthsRegex(t)}),ft(["M","MM"],function(t,e){e[yt]=k(t)-1}),ft(["MMM","MMMM"],function(t,e,i,n){var a=i._locale.monthsParse(t,n,i._strict);null!=a?e[yt]=a:f(i).invalidMonth=t});var Ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,It="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ht="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Rt(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=k(e);else if(!l(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),Yt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Nt(t){return null!=t?(Rt(this,t),a.updateOffset(this,!0),this):At(this,"Month")}var jt=lt,Ft=lt;function zt(){function t(t,e){return e.length-t.length}var e,i,n=[],a=[],r=[];for(e=0;e<12;e++)i=p([2e3,e]),n.push(this.monthsShort(i,"")),a.push(this.months(i,"")),r.push(this.months(i,"")),r.push(this.monthsShort(i,""));for(n.sort(t),a.sort(t),r.sort(t),e=0;e<12;e++)n[e]=ht(n[e]),a[e]=ht(a[e]);for(e=0;e<24;e++)r[e]=ht(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Wt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Bt(t,e,i){var n=7+e-i,a=(7+Wt(t,0,n).getUTCDay()-e)%7;return-a+n-1}function Vt(t,e,i,n,a){var r,o,s=(7+i-n)%7,l=Bt(t,n,a),c=1+7*(e-1)+s+l;return c<=0?o=Ct(r=t-1)+c:c>Ct(t)?(r=t+1,o=c-Ct(t)):(r=t,o=c),{year:r,dayOfYear:o}}function $t(t,e,i){var n,a,r=Bt(t.year(),e,i),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?(a=t.year()-1,n=o+Xt(a,e,i)):o>Xt(t.year(),e,i)?(n=o-Xt(t.year(),e,i),a=t.year()+1):(a=t.year(),n=o),{week:n,year:a}}function Xt(t,e,i){var n=Bt(t,e,i),a=Bt(t+1,e,i);return(Ct(t)-n+a)/7}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),N("week",5),N("isoWeek",5),dt("w",K),dt("ww",K,U),dt("W",K),dt("WW",K,U),gt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=k(t)}),V("d",0,"do","day"),V("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),V("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),V("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),dt("d",K),dt("e",K),dt("E",K),dt("dd",function(t,e){return e.weekdaysMinRegex(t)}),dt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),dt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,i,n){var a=i._locale.weekdaysParse(t,n,i._strict);null!=a?e.d=a:f(i).invalidWeekday=t}),gt(["d","e","E"],function(t,e,i,n){e[n]=k(t)});var qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Gt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zt=lt,Jt=lt,Kt=lt;function Qt(){function t(t,e){return e.length-t.length}var e,i,n,a,r,o=[],s=[],l=[],c=[];for(e=0;e<7;e++)i=p([2e3,1]).day(e),n=this.weekdaysMin(i,""),a=this.weekdaysShort(i,""),r=this.weekdays(i,""),o.push(n),s.push(a),l.push(r),c.push(n),c.push(a),c.push(r);for(o.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=ht(s[e]),l[e]=ht(l[e]),c[e]=ht(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function te(){return this.hours()%12||12}function ee(t,e){V(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ie(t,e){return e._meridiemParse}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,te),V("k",["kk",2],0,function(){return this.hours()||24}),V("hmm",0,0,function(){return""+te.apply(this)+j(this.minutes(),2)}),V("hmmss",0,0,function(){return""+te.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+j(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)}),ee("a",!0),ee("A",!1),O("hour","h"),N("hour",13),dt("a",ie),dt("A",ie),dt("H",K),dt("h",K),dt("k",K),dt("HH",K,U),dt("hh",K,U),dt("kk",K,U),dt("hmm",Q),dt("hmmss",tt),dt("Hmm",Q),dt("Hmmss",tt),ft(["H","HH"],wt),ft(["k","kk"],function(t,e,i){var n=k(t);e[wt]=24===n?0:n}),ft(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),ft(["h","hh"],function(t,e,i){e[wt]=k(t),f(i).bigHour=!0}),ft("hmm",function(t,e,i){var n=t.length-2;e[wt]=k(t.substr(0,n)),e[xt]=k(t.substr(n)),f(i).bigHour=!0}),ft("hmmss",function(t,e,i){var n=t.length-4,a=t.length-2;e[wt]=k(t.substr(0,n)),e[xt]=k(t.substr(n,2)),e[_t]=k(t.substr(a)),f(i).bigHour=!0}),ft("Hmm",function(t,e,i){var n=t.length-2;e[wt]=k(t.substr(0,n)),e[xt]=k(t.substr(n))}),ft("Hmmss",function(t,e,i){var n=t.length-4,a=t.length-2;e[wt]=k(t.substr(0,n)),e[xt]=k(t.substr(n,2)),e[_t]=k(t.substr(a))});var ne,ae=Et("Hours",!0),re={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:It,monthsShort:Ht,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:Gt,weekdaysShort:Ut,meridiemParse:/[ap]\.?m?\.?/i},oe={},se={};function le(t){return t?t.toLowerCase().replace("_","-"):t}function ce(e){var n=null;if(!oe[e]&&void 0!==t&&t&&t.exports)try{n=ne._abbr,i(181)("./"+e),de(n)}catch(t){}return oe[e]}function de(t,e){var i;return t&&((i=s(e)?he(t):ue(t,e))?ne=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ne._abbr}function ue(t,e){if(null!==e){var i,n=re;if(e.abbr=t,null!=oe[t])L("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=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])n=oe[e.parentLocale]._config;else{if(null==(i=ce(e.parentLocale)))return se[e.parentLocale]||(se[e.parentLocale]=[]),se[e.parentLocale].push({name:t,config:e}),null;n=i._config}return oe[t]=new P(A(n,e)),se[t]&&se[t].forEach(function(t){ue(t.name,t.config)}),de(t),oe[t]}return delete oe[t],null}function he(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ne;if(!r(t)){if(e=ce(t))return e;t=[t]}return function(t){for(var e,i,n,a,r=0;r<t.length;){for(a=le(t[r]).split("-"),e=a.length,i=(i=le(t[r+1]))?i.split("-"):null;e>0;){if(n=ce(a.slice(0,e).join("-")))return n;if(i&&i.length>=e&&S(a,i,!0)>=e-1)break;e--}r++}return ne}(t)}function pe(t){var e,i=t._a;return i&&-2===f(t).overflow&&(e=i[yt]<0||i[yt]>11?yt:i[bt]<1||i[bt]>Yt(i[vt],i[yt])?bt:i[wt]<0||i[wt]>24||24===i[wt]&&(0!==i[xt]||0!==i[_t]||0!==i[kt])?wt:i[xt]<0||i[xt]>59?xt:i[_t]<0||i[_t]>59?_t:i[kt]<0||i[kt]>999?kt:-1,f(t)._overflowDayOfYear&&(e<vt||e>bt)&&(e=bt),f(t)._overflowWeeks&&-1===e&&(e=St),f(t)._overflowWeekday&&-1===e&&(e=Mt),f(t).overflow=e),t}function fe(t,e,i){return null!=t?t:null!=e?e:i}function ge(t){var e,i,n,r,o,s=[];if(!t._d){for(n=function(t){var e=new Date(a.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[bt]&&null==t._a[yt]&&function(t){var e,i,n,a,r,o,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)r=1,o=4,i=fe(e.GG,t._a[vt],$t(Ee(),1,4).year),n=fe(e.W,1),((a=fe(e.E,1))<1||a>7)&&(l=!0);else{r=t._locale._week.dow,o=t._locale._week.doy;var c=$t(Ee(),r,o);i=fe(e.gg,t._a[vt],c.year),n=fe(e.w,c.week),null!=e.d?((a=e.d)<0||a>6)&&(l=!0):null!=e.e?(a=e.e+r,(e.e<0||e.e>6)&&(l=!0)):a=r}n<1||n>Xt(i,r,o)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=Vt(i,n,a,r,o),t._a[vt]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=fe(t._a[vt],n[vt]),(t._dayOfYear>Ct(o)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),i=Wt(o,0,t._dayOfYear),t._a[yt]=i.getUTCMonth(),t._a[bt]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=n[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[wt]&&0===t._a[xt]&&0===t._a[_t]&&0===t._a[kt]&&(t._nextDay=!0,t._a[wt]=0),t._d=(t._useUTC?Wt:function(t,e,i,n,a,r,o){var s=new Date(t,e,i,n,a,r,o);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}).apply(null,s),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[wt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(f(t).weekdayMismatch=!0)}}var me=/^\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)?)?$/,ve=/^\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)?)?$/,ye=/Z|[+-]\d\d(?::?\d\d)?/,be=[["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}/]],we=[["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/]],xe=/^\/?Date\((\-?\d+)/i;function _e(t){var e,i,n,a,r,o,s=t._i,l=me.exec(s)||ve.exec(s);if(l){for(f(t).iso=!0,e=0,i=be.length;e<i;e++)if(be[e][1].exec(l[1])){a=be[e][0],n=!1!==be[e][2];break}if(null==a)return void(t._isValid=!1);if(l[3]){for(e=0,i=we.length;e<i;e++)if(we[e][1].exec(l[3])){r=(l[2]||" ")+we[e][0];break}if(null==r)return void(t._isValid=!1)}if(!n&&null!=r)return void(t._isValid=!1);if(l[4]){if(!ye.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=a+(r||"")+(o||""),Te(t)}else t._isValid=!1}var ke=/^(?:(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}))$/;function Se(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}var Me={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ce(t){var e,i,n,a,r,o,s,l=ke.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(e=l[4],i=l[3],n=l[2],a=l[5],r=l[6],o=l[7],s=[Se(e),Ht.indexOf(i),parseInt(n,10),parseInt(a,10),parseInt(r,10)],o&&s.push(parseInt(o,10)),s);if(!function(t,e,i){if(t){var n=Ut.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(n!==a)return f(i).weekdayMismatch=!0,i._isValid=!1,!1}return!0}(l[1],c,t))return;t._a=c,t._tzm=function(t,e,i){if(t)return Me[t];if(e)return 0;var n=parseInt(i,10),a=n%100,r=(n-a)/100;return 60*r+a}(l[8],l[9],l[10]),t._d=Wt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function Te(t){if(t._f!==a.ISO_8601)if(t._f!==a.RFC_2822){t._a=[],f(t).empty=!0;var e,i,n,r,o,s=""+t._i,l=s.length,c=0;for(n=X(t._f,t._locale).match(F)||[],e=0;e<n.length;e++)r=n[e],(i=(s.match(ut(r,t))||[])[0])&&((o=s.substr(0,s.indexOf(i))).length>0&&f(t).unusedInput.push(o),s=s.slice(s.indexOf(i)+i.length),c+=i.length),B[r]?(i?f(t).empty=!1:f(t).unusedTokens.push(r),mt(r,i,t)):t._strict&&!i&&f(t).unusedTokens.push(r);f(t).charsLeftOver=l-c,s.length>0&&f(t).unusedInput.push(s),t._a[wt]<=12&&!0===f(t).bigHour&&t._a[wt]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[wt]=(d=t._locale,u=t._a[wt],null==(h=t._meridiem)?u:null!=d.meridiemHour?d.meridiemHour(u,h):null!=d.isPM?((p=d.isPM(h))&&u<12&&(u+=12),p||12!==u||(u=0),u):u),ge(t),pe(t)}else Ce(t);else _e(t);var d,u,h,p}function De(t){var e=t._i,i=t._f;return t._locale=t._locale||he(t._l),null===e||void 0===i&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new w(pe(e)):(c(e)?t._d=e:r(i)?function(t){var e,i,n,a,r;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(a=0;a<t._f.length;a++)r=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],Te(e),g(e)&&(r+=f(e).charsLeftOver,r+=10*f(e).unusedTokens.length,f(e).score=r,(null==n||r<n)&&(n=r,i=e));h(t,i||e)}(t):i?Te(t):function(t){var e=t._i;s(e)?t._d=new Date(a.now()):c(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=xe.exec(t._i);null===e?(_e(t),!1===t._isValid&&(delete t._isValid,Ce(t),!1===t._isValid&&(delete t._isValid,a.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):r(e)?(t._a=d(e.slice(0),function(t){return parseInt(t,10)}),ge(t)):o(e)?function(t){if(!t._d){var e=H(t._i);t._a=d([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ge(t)}}(t):l(e)?t._d=new Date(e):a.createFromInputFallback(t)}(t),g(t)||(t._d=null),t))}function Le(t,e,i,n,a){var s,l={};return!0!==i&&!1!==i||(n=i,i=void 0),(o(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||r(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=i,l._i=t,l._f=e,l._strict=n,(s=new w(pe(De(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ee(t,e,i,n){return Le(t,e,i,n,!1)}a.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var Ae=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ee.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()}),Pe=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ee.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()});function Ye(t,e){var i,n;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Ee();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ie(t){var e=H(t),i=e.year||0,n=e.quarter||0,a=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,d=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Dt.call(Oe,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Oe.length;++n)if(t[Oe[n]]){if(i)return!1;parseFloat(t[Oe[n]])!==k(t[Oe[n]])&&(i=!0)}return!0}(e),this._milliseconds=+d+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*r,this._months=+a+3*n+12*i,this._data={},this._locale=he(),this._bubble()}function He(t){return t instanceof Ie}function Re(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){V(t,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+j(~~(t/60),2)+e+j(~~t%60,2)})}Ne("Z",":"),Ne("ZZ",""),dt("Z",st),dt("ZZ",st),ft(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Fe(st,t)});var je=/([\+\-]|\d\d)/gi;function Fe(t,e){var i=(e||"").match(t);if(null===i)return null;var n=i[i.length-1]||[],a=(n+"").match(je)||["-",0,0],r=60*a[1]+k(a[2]);return 0===r?0:"+"===a[0]?r:-r}function ze(t,e){var i,n;return e._isUTC?(i=e.clone(),n=(x(t)||c(t)?t.valueOf():Ee(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),a.updateOffset(i,!1),i):Ee(t).local()}function We(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Be(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Ve=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,$e=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xe(t,e){var i,n,a,r,o,s,c=t,d=null;return He(t)?c={ms:t._milliseconds,d:t._days,M:t._months}:l(t)?(c={},e?c[e]=t:c.milliseconds=t):(d=Ve.exec(t))?(i="-"===d[1]?-1:1,c={y:0,d:k(d[bt])*i,h:k(d[wt])*i,m:k(d[xt])*i,s:k(d[_t])*i,ms:k(Re(1e3*d[kt]))*i}):(d=$e.exec(t))?(i="-"===d[1]?-1:1,c={y:qe(d[2],i),M:qe(d[3],i),w:qe(d[4],i),d:qe(d[5],i),h:qe(d[6],i),m:qe(d[7],i),s:qe(d[8],i)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(r=Ee(c.from),o=Ee(c.to),a=r.isValid()&&o.isValid()?(o=ze(o,r),r.isBefore(o)?s=Ue(r,o):((s=Ue(o,r)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(c={}).ms=a.milliseconds,c.M=a.months),n=new Ie(c),He(t)&&u(t,"_locale")&&(n._locale=t._locale),n}function qe(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Ue(t,e){var i={milliseconds:0,months:0};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 Ge(t,e){return function(i,n){var a;return null===n||isNaN(+n)||(L(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."),a=i,i=n,n=a),Ze(this,Xe(i="string"==typeof i?+i:i,n),t),this}}function Ze(t,e,i,n){var r=e._milliseconds,o=Re(e._days),s=Re(e._months);t.isValid()&&(n=null==n||n,s&&Rt(t,At(t,"Month")+s*i),o&&Pt(t,"Date",At(t,"Date")+o*i),r&&t._d.setTime(t._d.valueOf()+r*i),n&&a.updateOffset(t,o||s))}Xe.fn=Ie.prototype,Xe.invalid=function(){return Xe(NaN)};var Je=Ge(1,"add"),Ke=Ge(-1,"subtract");function Qe(t,e){var i,n,a=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(a,"months");return e-r<0?(i=t.clone().add(a-1,"months"),n=(e-r)/(r-i)):(i=t.clone().add(a+1,"months"),n=(e-r)/(i-r)),-(a+n)||0}function ti(t){var e;return void 0===t?this._locale._abbr:(null!=(e=he(t))&&(this._locale=e),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ei=C("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)});function ii(){return this._locale}function ni(t,e){V(0,[t,t.length],0,e)}function ai(t,e,i,n,a){var r;return null==t?$t(this,n,a).year:(r=Xt(t,n,a),e>r&&(e=r),function(t,e,i,n,a){var r=Vt(t,e,i,n,a),o=Wt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,t,e,i,n,a))}V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ni("gggg","weekYear"),ni("ggggg","weekYear"),ni("GGGG","isoWeekYear"),ni("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),dt("G",rt),dt("g",rt),dt("GG",K,U),dt("gg",K,U),dt("GGGG",it,Z),dt("gggg",it,Z),dt("GGGGG",nt,J),dt("ggggg",nt,J),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=k(t)}),gt(["gg","GG"],function(t,e,i,n){e[n]=a.parseTwoDigitYear(t)}),V("Q",0,"Qo","quarter"),O("quarter","Q"),N("quarter",7),dt("Q",q),ft("Q",function(t,e){e[yt]=3*(k(t)-1)}),V("D",["DD",2],"Do","date"),O("date","D"),N("date",9),dt("D",K),dt("DD",K,U),dt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ft(["D","DD"],bt),ft("Do",function(t,e){e[bt]=k(t.match(K)[0])});var ri=Et("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),N("dayOfYear",4),dt("DDD",et),dt("DDDD",G),ft(["DDD","DDDD"],function(t,e,i){i._dayOfYear=k(t)}),V("m",["mm",2],0,"minute"),O("minute","m"),N("minute",14),dt("m",K),dt("mm",K,U),ft(["m","mm"],xt);var oi=Et("Minutes",!1);V("s",["ss",2],0,"second"),O("second","s"),N("second",15),dt("s",K),dt("ss",K,U),ft(["s","ss"],_t);var si,li=Et("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),N("millisecond",16),dt("S",et,q),dt("SS",et,U),dt("SSS",et,G),si="SSSS";si.length<=9;si+="S")dt(si,at);function ci(t,e){e[kt]=k(1e3*("0."+t))}for(si="S";si.length<=9;si+="S")ft(si,ci);var di=Et("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var ui=w.prototype;function hi(t){return t}ui.add=Je,ui.calendar=function(t,e){var i=t||Ee(),n=ze(i,this).startOf("day"),r=a.calendarFormat(this,n)||"sameElse",o=e&&(E(e[r])?e[r].call(this,i):e[r]);return this.format(o||this.localeData().calendar(r,this,Ee(i)))},ui.clone=function(){return new w(this)},ui.diff=function(t,e,i){var n,a,r;if(!this.isValid())return NaN;if(!(n=ze(t,this)).isValid())return NaN;switch(a=6e4*(n.utcOffset()-this.utcOffset()),e=I(e)){case"year":r=Qe(this,n)/12;break;case"month":r=Qe(this,n);break;case"quarter":r=Qe(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-a)/864e5;break;case"week":r=(this-n-a)/6048e5;break;default:r=this-n}return i?r:_(r)},ui.endOf=function(t){return void 0===(t=I(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},ui.format=function(t){t||(t=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var e=$(this,t);return this.localeData().postformat(e)},ui.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ee(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ui.fromNow=function(t){return this.from(Ee(),t)},ui.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ee(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ui.toNow=function(t){return this.to(Ee(),t)},ui.get=function(t){return E(this[t=I(t)])?this[t]():this},ui.invalidAt=function(){return f(this).overflow},ui.isAfter=function(t,e){var i=x(t)?t:Ee(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},ui.isBefore=function(t,e){var i=x(t)?t:Ee(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},ui.isBetween=function(t,e,i,n){var a=x(t)?t:Ee(t),r=x(e)?e:Ee(e);return!!(this.isValid()&&a.isValid()&&r.isValid())&&(("("===(n=n||"()")[0]?this.isAfter(a,i):!this.isBefore(a,i))&&(")"===n[1]?this.isBefore(r,i):!this.isAfter(r,i)))},ui.isSame=function(t,e){var i,n=x(t)?t:Ee(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},ui.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ui.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ui.isValid=function(){return g(this)},ui.lang=ei,ui.locale=ti,ui.localeData=ii,ui.max=Pe,ui.min=Ae,ui.parsingFlags=function(){return h({},f(this))},ui.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e=[];for(var i in t)e.push({unit:i,priority:R[i]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=H(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(E(this[t=I(t)]))return this[t](e);return this},ui.startOf=function(t){switch(t=I(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},ui.subtract=Ke,ui.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ui.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()}},ui.toDate=function(){return new Date(this.valueOf())},ui.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return i.year()<0||i.year()>9999?$(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",$(i,"Z")):$(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ui.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+a)},ui.toJSON=function(){return this.isValid()?this.toISOString():null},ui.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ui.unix=function(){return Math.floor(this.valueOf()/1e3)},ui.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ui.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ui.year=Lt,ui.isLeapYear=function(){return Tt(this.year())},ui.weekYear=function(t){return ai.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ui.isoWeekYear=function(t){return ai.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ui.quarter=ui.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ui.month=Nt,ui.daysInMonth=function(){return Yt(this.year(),this.month())},ui.week=ui.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ui.isoWeek=ui.isoWeeks=function(t){var e=$t(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ui.weeksInYear=function(){var t=this.localeData()._week;return Xt(this.year(),t.dow,t.doy)},ui.isoWeeksInYear=function(){return Xt(this.year(),1,4)},ui.date=ri,ui.day=ui.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},ui.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")},ui.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},ui.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")},ui.hour=ui.hours=ae,ui.minute=ui.minutes=oi,ui.second=ui.seconds=li,ui.millisecond=ui.milliseconds=di,ui.utcOffset=function(t,e,i){var n,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Fe(st,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=We(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?Ze(this,Xe(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:We(this)},ui.utc=function(t){return this.utcOffset(0,t)},ui.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(We(this),"m")),this},ui.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Fe(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ui.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ee(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ui.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ui.isLocal=function(){return!!this.isValid()&&!this._isUTC},ui.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ui.isUtc=Be,ui.isUTC=Be,ui.zoneAbbr=function(){return this._isUTC?"UTC":""},ui.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ui.dates=C("dates accessor is deprecated. Use date instead.",ri),ui.months=C("months accessor is deprecated. Use month instead",Nt),ui.years=C("years accessor is deprecated. Use year instead",Lt),ui.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),ui.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=De(t))._a){var e=t._isUTC?p(t._a):Ee(t._a);this._isDSTShifted=this.isValid()&&S(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var pi=P.prototype;function fi(t,e,i,n){var a=he(),r=p().set(n,e);return a[i](r,t)}function gi(t,e,i){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return fi(t,e,i,"month");var n,a=[];for(n=0;n<12;n++)a[n]=fi(t,n,i,"month");return a}function mi(t,e,i,n){"boolean"==typeof t?(l(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,l(e)&&(i=e,e=void 0),e=e||"");var a,r=he(),o=t?r._week.dow:0;if(null!=i)return fi(e,(i+o)%7,n,"day");var s=[];for(a=0;a<7;a++)s[a]=fi(e,(a+o)%7,n,"day");return s}pi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return E(n)?n.call(e,i):n},pi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},pi.invalidDate=function(){return this._invalidDate},pi.ordinal=function(t){return this._ordinal.replace("%d",t)},pi.preparse=hi,pi.postformat=hi,pi.relativeTime=function(t,e,i,n){var a=this._relativeTime[i];return E(a)?a(t,e,i,n):a.replace(/%d/i,t)},pi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return E(i)?i(e):i.replace(/%s/i,e)},pi.set=function(t){var e,i;for(i in t)E(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)},pi.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},pi.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pi.monthsParse=function(t,e,i){var n,a,r;if(this._monthsParseExact)return function(t,e,i){var n,a,r,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(a=Dt.call(this._shortMonthsParse,o))?a:null:-1!==(a=Dt.call(this._longMonthsParse,o))?a:null:"MMM"===e?-1!==(a=Dt.call(this._shortMonthsParse,o))?a:-1!==(a=Dt.call(this._longMonthsParse,o))?a:null:-1!==(a=Dt.call(this._longMonthsParse,o))?a:-1!==(a=Dt.call(this._shortMonthsParse,o))?a:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(r.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}},pi.monthsRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||zt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Ft),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},pi.monthsShortRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||zt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=jt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},pi.week=function(t){return $t(t,this._week.dow,this._week.doy).week},pi.firstDayOfYear=function(){return this._week.doy},pi.firstDayOfWeek=function(){return this._week.dow},pi.weekdays=function(t,e){return t?r(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone},pi.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},pi.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},pi.weekdaysParse=function(t,e,i){var n,a,r;if(this._weekdaysParseExact)return function(t,e,i){var n,a,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(a=Dt.call(this._weekdaysParse,o))?a:null:"ddd"===e?-1!==(a=Dt.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=Dt.call(this._minWeekdaysParse,o))?a:null:"dddd"===e?-1!==(a=Dt.call(this._weekdaysParse,o))?a:-1!==(a=Dt.call(this._shortWeekdaysParse,o))?a:-1!==(a=Dt.call(this._minWeekdaysParse,o))?a:null:"ddd"===e?-1!==(a=Dt.call(this._shortWeekdaysParse,o))?a:-1!==(a=Dt.call(this._weekdaysParse,o))?a:-1!==(a=Dt.call(this._minWeekdaysParse,o))?a:null:-1!==(a=Dt.call(this._minWeekdaysParse,o))?a:-1!==(a=Dt.call(this._weekdaysParse,o))?a:-1!==(a=Dt.call(this._shortWeekdaysParse,o))?a:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(r.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}},pi.weekdaysRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Zt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},pi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Jt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Kt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},pi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},de("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,i=1===k(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i}}),a.lang=C("moment.lang is deprecated. Use moment.locale instead.",de),a.langData=C("moment.langData is deprecated. Use moment.localeData instead.",he);var vi=Math.abs;function yi(t,e,i,n){var a=Xe(e,i);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function bi(t){return t<0?Math.floor(t):Math.ceil(t)}function wi(t){return 4800*t/146097}function xi(t){return 146097*t/4800}function _i(t){return function(){return this.as(t)}}var ki=_i("ms"),Si=_i("s"),Mi=_i("m"),Ci=_i("h"),Ti=_i("d"),Di=_i("w"),Li=_i("M"),Ei=_i("y");function Ai(t){return function(){return this.isValid()?this._data[t]:NaN}}var Pi=Ai("milliseconds"),Yi=Ai("seconds"),Oi=Ai("minutes"),Ii=Ai("hours"),Hi=Ai("days"),Ri=Ai("months"),Ni=Ai("years"),ji=Math.round,Fi={ss:44,s:45,m:45,h:22,d:26,M:11},zi=Math.abs;function Wi(t){return(t>0)-(t<0)||+t}function Bi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=zi(this._milliseconds)/1e3,n=zi(this._days),a=zi(this._months);t=_(i/60),e=_(t/60),i%=60,t%=60;var r=_(a/12),o=a%=12,s=n,l=e,c=t,d=i?i.toFixed(3).replace(/\.?0+$/,""):"",u=this.asSeconds();if(!u)return"P0D";var h=u<0?"-":"",p=Wi(this._months)!==Wi(u)?"-":"",f=Wi(this._days)!==Wi(u)?"-":"",g=Wi(this._milliseconds)!==Wi(u)?"-":"";return h+"P"+(r?p+r+"Y":"")+(o?p+o+"M":"")+(s?f+s+"D":"")+(l||c||d?"T":"")+(l?g+l+"H":"")+(c?g+c+"M":"")+(d?g+d+"S":"")}var Vi=Ie.prototype;return Vi.isValid=function(){return this._isValid},Vi.abs=function(){var t=this._data;return this._milliseconds=vi(this._milliseconds),this._days=vi(this._days),this._months=vi(this._months),t.milliseconds=vi(t.milliseconds),t.seconds=vi(t.seconds),t.minutes=vi(t.minutes),t.hours=vi(t.hours),t.months=vi(t.months),t.years=vi(t.years),this},Vi.add=function(t,e){return yi(this,t,e,1)},Vi.subtract=function(t,e){return yi(this,t,e,-1)},Vi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=I(t))||"year"===t)return e=this._days+n/864e5,i=this._months+wi(e),"month"===t?i:i/12;switch(e=this._days+Math.round(xi(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)}},Vi.asMilliseconds=ki,Vi.asSeconds=Si,Vi.asMinutes=Mi,Vi.asHours=Ci,Vi.asDays=Ti,Vi.asWeeks=Di,Vi.asMonths=Li,Vi.asYears=Ei,Vi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Vi._bubble=function(){var t,e,i,n,a,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return r>=0&&o>=0&&s>=0||r<=0&&o<=0&&s<=0||(r+=864e5*bi(xi(s)+o),o=0,s=0),l.milliseconds=r%1e3,t=_(r/1e3),l.seconds=t%60,e=_(t/60),l.minutes=e%60,i=_(e/60),l.hours=i%24,o+=_(i/24),a=_(wi(o)),s+=a,o-=bi(xi(a)),n=_(s/12),s%=12,l.days=o,l.months=s,l.years=n,this},Vi.clone=function(){return Xe(this)},Vi.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},Vi.milliseconds=Pi,Vi.seconds=Yi,Vi.minutes=Oi,Vi.hours=Ii,Vi.days=Hi,Vi.weeks=function(){return _(this.days()/7)},Vi.months=Ri,Vi.years=Ni,Vi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=Xe(t).abs(),a=ji(n.as("s")),r=ji(n.as("m")),o=ji(n.as("h")),s=ji(n.as("d")),l=ji(n.as("M")),c=ji(n.as("y")),d=a<=Fi.ss&&["s",a]||a<Fi.s&&["ss",a]||r<=1&&["m"]||r<Fi.m&&["mm",r]||o<=1&&["h"]||o<Fi.h&&["hh",o]||s<=1&&["d"]||s<Fi.d&&["dd",s]||l<=1&&["M"]||l<Fi.M&&["MM",l]||c<=1&&["y"]||["yy",c];return d[2]=e,d[3]=+t>0,d[4]=i,function(t,e,i,n,a){return a.relativeTime(e||1,!!i,t,n)}.apply(null,d)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Vi.toISOString=Bi,Vi.toString=Bi,Vi.toJSON=Bi,Vi.locale=ti,Vi.localeData=ii,Vi.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bi),Vi.lang=ei,V("X",0,0,"unix"),V("x",0,0,"valueOf"),dt("x",rt),dt("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),ft("x",function(t,e,i){i._d=new Date(k(t))}),a.version="2.23.0",e=Ee,a.fn=ui,a.min=function(){return Ye("isBefore",[].slice.call(arguments,0))},a.max=function(){return Ye("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=p,a.unix=function(t){return Ee(1e3*t)},a.months=function(t,e){return gi(t,e,"months")},a.isDate=c,a.locale=de,a.invalid=m,a.duration=Xe,a.isMoment=x,a.weekdays=function(t,e,i){return mi(t,e,i,"weekdays")},a.parseZone=function(){return Ee.apply(null,arguments).parseZone()},a.localeData=he,a.isDuration=He,a.monthsShort=function(t,e){return gi(t,e,"monthsShort")},a.weekdaysMin=function(t,e,i){return mi(t,e,i,"weekdaysMin")},a.defineLocale=ue,a.updateLocale=function(t,e){if(null!=e){var i,n,a=re;null!=(n=ce(t))&&(a=n._config),e=A(a,e),(i=new P(e)).parentLocale=oe[t],oe[t]=i,de(t)}else null!=oe[t]&&(null!=oe[t].parentLocale?oe[t]=oe[t].parentLocale:null!=oe[t]&&delete oe[t]);return oe[t]},a.locales=function(){return T(oe)},a.weekdaysShort=function(t,e,i){return mi(t,e,i,"weekdaysShort")},a.normalizeUnits=I,a.relativeTimeRounding=function(t){return void 0===t?ji:"function"==typeof t&&(ji=t,!0)},a.relativeTimeThreshold=function(t,e){return void 0!==Fi[t]&&(void 0===e?Fi[t]:(Fi[t]=e,"s"===t&&(Fi.ss=e-1),!0))},a.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},a.prototype=ui,a.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"},a}()}).call(this,i(180)(t))},function(t,e,i){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=169)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=l(i(1)),o=l(i(5)),s=l(i(26));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return a(t,[{key:"drawLine",value:function(t,e,i,n){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0,o=6<arguments.length&&void 0!==arguments[6]?arguments[6]:null;return this.w.globals.dom.Paper.line().attr({x1:t,y1:e,x2:i,y2:n,stroke:a,"stroke-dasharray":r,"stroke-width":o})}},{key:"drawRect",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:"#fefefe",o=6<arguments.length&&void 0!==arguments[6]?arguments[6]:1,s=7<arguments.length&&void 0!==arguments[7]?arguments[7]:null,l=8<arguments.length&&void 0!==arguments[8]?arguments[8]:null,c=9<arguments.length&&void 0!==arguments[9]?arguments[9]:0,d=this.w.globals.dom.Paper.rect();return d.attr({x:t,y:e,width:0<i?i:0,height:0<n?n:0,rx:a,ry:a,fill:r,opacity:o,"stroke-width":null!==s?s:0,stroke:null!==l?l:"none","stroke-dasharray":c}),d}},{key:"drawPolygon",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"none";return this.w.globals.dom.Paper.polygon(t).attr({fill:i,stroke:e})}},{key:"drawCircle",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,i=this.w.globals.dom.Paper.circle(2*t);return null!==e&&i.attr(e),i}},{key:"drawPath",value:function(t){var e=t.d,i=void 0===e?"":e,n=t.stroke,a=void 0===n?"#a8a8a8":n,r=t.strokeWidth,o=void 0===r?1:r,s=t.fill,l=t.fillOpacity,c=void 0===l?1:l,d=t.strokeOpacity,u=void 0===d?1:d,h=t.classes,p=t.strokeLinecap,f=void 0===p?null:p,g=t.strokeDashArray,m=void 0===g?0:g,v=this.w;return null===f&&(f=v.config.stroke.lineCap),(-1<i.indexOf("undefined")||-1<i.indexOf("NaN"))&&(i="M 0 "+v.globals.gridHeight),v.globals.dom.Paper.path(i).attr({fill:s,"fill-opacity":c,stroke:a,"stroke-opacity":u,"stroke-linecap":f,"stroke-width":o,"stroke-dasharray":m,class:h})}},{key:"group",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,e=this.w.globals.dom.Paper.group();return null!==t&&e.attr(t),e}},{key:"move",value:function(t,e){var i=["M",t,e].join(" ");return i}},{key:"line",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=null;return null===i?n=["L",t,e].join(" "):"H"===i?n=["H",t].join(" "):"V"===i&&(n=["V",e].join(" ")),n}},{key:"curve",value:function(t,e,i,n,a,r){var o=["C",t,e,i,n,a,r].join(" ");return o}},{key:"quadraticCurve",value:function(t,e,i,n){return["Q",t,e,i,n].join(" ")}},{key:"arc",value:function(t,e,i,n,a,r,o){var s="A";7<arguments.length&&void 0!==arguments[7]&&arguments[7]&&(s="a");var l=[s,t,e,i,n,a,r,o].join(" ");return l}},{key:"renderPaths",value:function(t){var e=t.i,i=t.j,a=t.realIndex,r=t.pathFrom,l=t.pathTo,c=t.stroke,d=t.strokeWidth,u=t.strokeLinecap,h=t.fill,p=t.animationDelay,f=t.initialSpeed,g=t.dataChangeSpeed,m=t.className,v=t.id,y=t.shouldClipToGrid,b=void 0===y||y,w=t.bindEventsOnPaths,x=void 0===w||w,_=this.w,k=new o.default(this.ctx),S=new s.default(this.ctx),M=this.w.config.chart.animations.enabled,C=M&&this.w.config.chart.animations.dynamicAnimation.enabled,T=void 0,D=!!(M&&!_.globals.resized||C&&_.globals.dataChanged&&_.globals.shouldAnimate);T=D?r:l;var L=_.config.stroke.dashArray,E=0;E=Array.isArray(L)?L[a]:_.config.stroke.dashArray;var A=this.drawPath({d:T,stroke:c,strokeWidth:d,fill:h,fillOpacity:1,classes:m,strokeLinecap:u,strokeDashArray:E});if(A.attr("id",v+"-"+e),A.attr("index",a),b&&A.attr({"clip-path":"url(#gridRectMask"+_.globals.cuid+")"}),"none"!==_.config.states.normal.filter.type)k.getDefaultFilter(A,_.config.states.normal.filter.type,_.config.states.normal.filter.value);else if(_.config.chart.dropShadow.enabled&&(!_.config.chart.dropShadow.enabledSeries||_.config.chart.dropShadow.enabledSeries&&-1!==_.config.chart.dropShadow.enabledSeries.indexOf(a))){var P=_.config.chart.dropShadow;k.dropShadow(A,P)}x&&(A.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,A)),A.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,A)),A.node.addEventListener("mousedown",this.pathMouseDown.bind(this,A))),A.attr({pathTo:l,pathFrom:r});var Y={el:A,j:i,pathFrom:r,pathTo:l,strokeWidth:d};return!M||_.globals.resized||_.globals.dataChanged?!_.globals.resized&&_.globals.dataChanged||S.showDelayedElements():S.animatePathsGradually(n({},Y,{speed:f,delay:p})),_.globals.dataChanged&&C&&D&&S.animatePathsGradually(n({},Y,{speed:g})),A}},{key:"drawPattern",value:function(t,e,i){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0;return 5<arguments.length&&void 0!==arguments[5]&&arguments[5],this.w.globals.dom.Paper.pattern(e,i,function(r){"horizontalLines"===t?r.line(0,0,i,0).stroke({color:n,width:a+1}):"verticalLines"===t?r.line(0,0,0,e).stroke({color:n,width:a+1}):"slantedLines"===t?r.line(0,0,e,i).stroke({color:n,width:a}):"squares"===t?r.rect(e,i).fill("none").stroke({color:n,width:a}):"circles"===t&&r.circle(e).fill("none").stroke({color:n,width:a})})}},{key:"drawGradient",value:function(t,e,i,n,a){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:null,s=6<arguments.length&&void 0!==arguments[6]?arguments[6]:null,l=this.w;e=r.default.hexToRgba(e,n),i=r.default.hexToRgba(i,a);var c=0,d=1,u=1,h=null;null!==s&&(c=void 0!==s[0]?s[0]/100:0,d=void 0!==s[1]?s[1]/100:1,u=void 0!==s[2]?s[2]/100:1,h=void 0!==s[3]?s[3]/100:null);var p=!("donut"!==l.config.chart.type&&"pie"!==l.config.chart.type&&"bubble"!==l.config.chart.type),f=l.globals.dom.Paper.gradient(p?"radial":"linear",function(t){t.at(c,e,n),t.at(d,i,a),t.at(u,i,a),null!==h&&t.at(h,e,n)});if(p){var g=l.globals.gridWidth/2,m=l.globals.gridHeight/2;"bubble"!==l.config.chart.type?f.attr({gradientUnits:"userSpaceOnUse",cx:g,cy:m,r:o}):f.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===t?f.from(0,0).to(0,1):"diagonal"===t?f.from(0,0).to(1,1):"horizontal"===t?f.from(0,1).to(1,1):"diagonal2"===t&&f.from(0,1).to(2,2);return f}},{key:"drawText",value:function(t){var e=this.w,i=t.x,n=t.y,a=t.text,r=t.textAnchor,o=t.fontSize,s=t.fontFamily,l=t.foreColor,c=t.opacity;r||(r="start"),l||(l=e.config.chart.foreColor),s=s||e.config.chart.fontFamily;var d=void 0;return(d=Array.isArray(a)?e.globals.dom.Paper.text(function(t){for(var e=0;e<a.length;e++)t.tspan(a[e])}):e.globals.dom.Paper.plain(a)).attr({x:i,y:n,"text-anchor":r,"dominate-baseline":"central","font-size":o,"font-family":s,fill:l,class:t.cssClass}),d.node.style.fontFamily=s,d.node.style.opacity=c,d}},{key:"addTspan",value:function(t,e,i){var n=t.tspan(e);i||(i=this.w.config.chart.fontFamily),n.node.style.fontFamily=i}},{key:"drawMarker",value:function(t,e,i){t=t||0;var n=i.pSize||0,a=null;if("square"===i.shape){var o=void 0===i.pRadius?n/2:i.pRadius;null===e&&(o=n=0);var s=1.2*n+o,l=this.drawRect(s,s,s,s,o);l.attr({x:t-s/2,y:e-s/2,cx:t,cy:e,class:i.class?i.class:"",fill:i.pointFillColor,"fill-opacity":i.pointFillOpacity?i.pointFillOpacity:1,stroke:i.pointStrokeColor,"stroke-width":i.pWidth?i.pWidth:0,"stroke-opacity":i.pointStrokeOpacity?i.pointStrokeOpacity:1}),a=l}else"circle"===i.shape&&(r.default.isNumber(e)||(e=n=0),a=this.drawCircle(n,{cx:t,cy:e,class:i.class?i.class:"",stroke:i.pointStrokeColor,fill:i.pointFillColor,"fill-opacity":i.pointFillOpacity?i.pointFillOpacity:1,"stroke-width":i.pWidth?i.pWidth:0,"stroke-opacity":i.pointStrokeOpacity?i.pointStrokeOpacity:1}));return a}},{key:"pathMouseEnter",value:function(t,e){var i=this.w,n=new o.default(this.ctx),a=parseInt(t.node.getAttribute("index")),r=parseInt(t.node.getAttribute("j"));if("function"==typeof i.config.chart.events.dataPointMouseEnter&&i.config.chart.events.dataPointMouseEnter(e,this.ctx,{seriesIndex:a,dataPointIndex:r,w:i}),this.ctx.fireEvent("dataPointMouseEnter",[e,this.ctx,{seriesIndex:a,dataPointIndex:r,w:i}]),("none"===i.config.states.active.filter.type||"true"!==t.node.getAttribute("selected"))&&"none"!==i.config.states.hover.filter.type&&"none"!==i.config.states.active.filter.type&&!i.globals.isTouchDevice){var s=i.config.states.hover.filter;n.applyFilter(t,s.type,s.value)}}},{key:"pathMouseLeave",value:function(t,e){var i=this.w,n=new o.default(this.ctx),a=parseInt(t.node.getAttribute("index")),r=parseInt(t.node.getAttribute("j"));"function"==typeof i.config.chart.events.dataPointMouseLeave&&i.config.chart.events.dataPointMouseLeave(e,this.ctx,{seriesIndex:a,dataPointIndex:r,w:i}),this.ctx.fireEvent("dataPointMouseLeave",[e,this.ctx,{seriesIndex:a,dataPointIndex:r,w:i}]),"none"!==i.config.states.active.filter.type&&"true"===t.node.getAttribute("selected")||"none"!==i.config.states.hover.filter.type&&n.getDefaultFilter(t)}},{key:"pathMouseDown",value:function(t,e){var i=this.w,n=new o.default(this.ctx),a=parseInt(t.node.getAttribute("index")),r=parseInt(t.node.getAttribute("j")),s="false";if("true"===t.node.getAttribute("selected")){if(t.node.setAttribute("selected","false"),-1<i.globals.selectedDataPoints[a].indexOf(r)){var l=i.globals.selectedDataPoints[a].indexOf(r);i.globals.selectedDataPoints[a].splice(l,1)}}else{if(!i.config.states.active.allowMultipleDataPointsSelection&&0<i.globals.selectedDataPoints.length){i.globals.selectedDataPoints=[];var c=i.globals.dom.Paper.select(".apexcharts-series path").members,d=i.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,u=!0,h=!1,p=void 0;try{for(var f,g=c[Symbol.iterator]();!(u=(f=g.next()).done);u=!0){var m=f.value;m.node.setAttribute("selected","false"),n.getDefaultFilter(m)}}catch(t){h=!0,p=t}finally{try{!u&&g.return&&g.return()}finally{if(h)throw p}}var v=!0,y=!1,b=void 0;try{for(var w,x=d[Symbol.iterator]();!(v=(w=x.next()).done);v=!0){var _=w.value;_.node.setAttribute("selected","false"),n.getDefaultFilter(_)}}catch(t){y=!0,b=t}finally{try{!v&&x.return&&x.return()}finally{if(y)throw b}}}t.node.setAttribute("selected","true"),s="true",void 0===i.globals.selectedDataPoints[a]&&(i.globals.selectedDataPoints[a]=[]),i.globals.selectedDataPoints[a].push(r)}if("true"===s){var k=i.config.states.active.filter;"none"!==k&&n.applyFilter(t,k.type,k.value)}else"none"!==i.config.states.active.filter.type&&n.getDefaultFilter(t);"function"==typeof i.config.chart.events.dataPointSelection&&i.config.chart.events.dataPointSelection(e,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:a,dataPointIndex:r,w:i}),this.ctx.fireEvent("dataPointSelection",[e,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:a,dataPointIndex:r,w:i}])}},{key:"rotateAroundCenter",value:function(t){var e=t.getBBox();return{x:e.x+e.width/2,y:e.y+e.height/2}}},{key:"getTextRects",value:function(t,e,i,n){var a=!(4<arguments.length&&void 0!==arguments[4])||arguments[4],r=this.w,o=this.drawText({x:-200,y:-200,text:t,textAnchor:"start",fontSize:e,fontFamily:i,foreColor:"#fff",opacity:0});n&&o.attr("transform",n),r.globals.dom.Paper.add(o);var s=o.bbox();return a||(s=o.node.getBoundingClientRect()),o.remove(),{width:s.width,height:s.height}}},{key:"placeTextWithEllipsis",value:function(t,e,i){if(0<(t.textContent=e).length&&t.getSubStringLength(0,e.length)>=i){for(var n=e.length-3;0<n;n-=3)if(t.getSubStringLength(0,n)<=i)return void(t.textContent=e.substring(0,n)+"...");t.textContent="..."}}}],[{key:"setAttrs",value:function(t,e){for(var i in e)e.hasOwnProperty(i)&&t.setAttribute(i,e[i])}}]),t}();e.default=c},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return a(t,[{key:"shadeColor",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:void 0;if("#"===e[0]&&"r"===e[0]||(e=this.getHexColorFromName(e)),"number"!=typeof t||t<-1||1<t||"string"!=typeof e||"r"!==e[0]&&"#"!==e[0]||"string"!=typeof i&&void 0!==i)return null;parseInt;var n=Math.round,a=9<e.length,r=(a="string"==typeof i?9<i.length||"c"===i&&!a:a,t<0),o=(t=r?-1*t:t,i=i&&"c"!==i?i:r?"#000000":"#FFFFFF",this.sbcRip(e)),s=this.sbcRip(i);return o&&s?a?"rgb("+n((s[0]-o[0])*t+o[0])+","+n((s[1]-o[1])*t+o[1])+","+n((s[2]-o[2])*t+o[2])+(o[3]<0&&s[3]<0?")":","+(-1<o[3]&&-1<s[3]?n(1e4*((s[3]-o[3])*t+o[3]))/1e4:s[3]<0?o[3]:s[3])+")"):"#"+(4294967296+16777216*(-1<o[3]&&-1<s[3]?n(255*((s[3]-o[3])*t+o[3])):-1<s[3]?n(255*s[3]):-1<o[3]?n(255*o[3]):255)+65536*n((s[0]-o[0])*t+o[0])+256*n((s[1]-o[1])*t+o[1])+n((s[2]-o[2])*t+o[2])).toString(16).slice(-1<o[3]||-1<s[3]?1:3):null}},{key:"sbcRip",value:function(t){var e=t.length,i=new Object,n=parseInt,a=Math.round;if(9<e){if((t=t.split(",")).length<3||4<t.length)return null;i[0]=n(t[0].slice(4)),i[1]=n(t[1]),i[2]=n(t[2]),i[3]=t[3]?parseFloat(t[3]):-1}else{if(8===e||6===e||e<4)return null;e<6&&(t="#"+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+(4<e?t[4]+""+t[4]:"")),t=n(t.slice(1),16),i[0]=t>>16&255,i[1]=t>>8&255,i[2]=255&t,i[3]=9===e||5===e?a((t>>24&255)/255*1e4)/1e4:-1}return i}},{key:"getHexColorFromName",value:function(t){var e=document.createElement("div");e.style.color=t;var i=window.getComputedStyle(document.body.appendChild(e)).color.match(/\d+/g).map(function(t){return parseInt(t,10)});return document.body.removeChild(e),3<=i.length&&"#"+((1<<24)+(i[0]<<16)+(i[1]<<8)+i[2]).toString(16).substr(1)}}],[{key:"bind",value:function(t,e){return function(){return t.apply(e,arguments)}}},{key:"isObject",value:function(t){return t&&"object"===(void 0===t?"undefined":n(t))&&!Array.isArray(t)&&null!=t}},{key:"extend",value:function(t,e){var i=this;"function"!=typeof Object.assign&&(Object.assign=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(e[a]=n[a])}return e});var n=Object.assign({},t);return this.isObject(t)&&this.isObject(e)&&Object.keys(e).forEach(function(a){i.isObject(e[a])&&a in t?n[a]=i.extend(t[a],e[a]):Object.assign(n,function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}({},a,e[a]))}),n}},{key:"extendArray",value:function(e,i){var n=[];return e.map(function(e){n.push(t.extend(i,e))}),e=n}},{key:"addProps",value:function(t,e,i){"string"==typeof e&&(e=e.split(".")),t[e[0]]=t[e[0]]||{};var n=t[e[0]];return 1<e.length?(e.shift(),this.addProps(n,e,i)):t[e[0]]=i,t}},{key:"clone",value:function(t){if("[object Array]"===Object.prototype.toString.call(t)){for(var e=[],i=0;i<t.length;i++)e[i]=this.clone(t[i]);return e}if("object"!==(void 0===t?"undefined":n(t)))return t;var a={};for(var r in t)t.hasOwnProperty(r)&&(a[r]=this.clone(t[r]));return a}},{key:"log10",value:function(t){return Math.log(t)/Math.LN10}},{key:"roundToBase10",value:function(t){return Math.pow(10,Math.floor(Math.log10(t)))}},{key:"roundToBase",value:function(t,e){return Math.pow(e,Math.floor(Math.log(t)/Math.log(e)))}},{key:"getDimensions",value:function(t){var e=getComputedStyle(t),i=[],n=t.clientHeight,a=t.clientWidth;return n-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),a-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),i.push(a),i.push(n),i}},{key:"getBoundingClientRect",value:function(t){var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}},{key:"hexToRgba",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"#999999",e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.6;"#"!==t.substring(0,1)&&(t="#999999");var i=t.replace("#","");i=i.match(new RegExp("(.{"+i.length/3+"})","g"));for(var n=0;n<i.length;n++)i[n]=parseInt(1===i[n].length?i[n]+i[n]:i[n],16);return void 0!==e&&i.push(e),"rgba("+i.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(t){return(t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))[3]}},{key:"rgb2hex",value:function(t){return(t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):""}},{key:"polarToCartesian",value:function(t,e,i,n){var a=(n-90)*Math.PI/180;return{x:t+i*Math.cos(a),y:e+i*Math.sin(a)}}},{key:"negToZero",value:function(t){return t<0?0:t}},{key:"randomString",value:function(t){for(var e="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",n=0;n<t;n++)e+=i.charAt(Math.floor(Math.random()*i.length));return e}},{key:"findAncestor",value:function(t,e){for(;(t=t.parentElement)&&!t.classList.contains(e););return t}},{key:"setELstyles",value:function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t.style.key=e[i])}},{key:"isNumber",value:function(t){return!isNaN(t)&&parseFloat(Number(t))===t&&!isNaN(parseInt(t,10))}},{key:"isFloat",value:function(t){return Number(t)===t&&t%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return-1<navigator.userAgent.toLowerCase().indexOf("firefox")}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||-1<window.navigator.appVersion.indexOf("Trident/"))return!0}},{key:"isIE",value:function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(0<e)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(0<t.indexOf("Trident/")){var i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}var n=t.indexOf("Edge/");return 0<n&&parseInt(t.substring(n+5,t.indexOf(".",n)),10)}}]),t}();e.default=r},function(t,e,i){"use strict";var n=i(43)("wks"),a=i(25),r=i(3).Symbol,o="function"==typeof r;(t.exports=function(t){return n[t]||(n[t]=o&&r[t]||(o?r:a)("Symbol."+t))}).store=n},function(t,e,i){"use strict";var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,i){"use strict";var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(1),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return a(t,[{key:"getDefaultFilter",value:function(t){var e=this.w;t.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==e.config.states.normal.filter?this.applyFilter(t,e.config.states.normal.filter.type,e.config.states.normal.filter.value):e.config.chart.dropShadow.enabled&&this.dropShadow(t,e.config.chart.dropShadow)}},{key:"addNormalFilter",value:function(t){var e=this.w;e.config.chart.dropShadow.enabled&&this.dropShadow(t,e.config.chart.dropShadow)}},{key:"addDesaturateFilter",value:function(t){var e=this,i=this.w;t.unfilter(!0);var n=new window.SVG.Filter;n.size("120%","180%","-5%","-40%"),t.filter(function(t){var a=i.config.chart.dropShadow;(n=a.enabled?e.addShadow(t,a):t).colorMatrix("matrix",[0,0,0,0,.5,0,0,0,0,.5,0,0,0,0,.5,0,0,0,1,0]).colorMatrix("saturate",0)}),t.filterer.node.setAttribute("filterUnits","userSpaceOnUse")}},{key:"addLightenFilter",value:function(t,e){var i=this,n=this.w,a=e.intensity;if(!o.default.isFirefox()){t.unfilter(!0);var r=new window.SVG.Filter;r.size("120%","180%","-5%","-40%"),t.filter(function(t){var e=n.config.chart.dropShadow;(r=e.enabled?i.addShadow(t,e):t).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:a}})}),t.filterer.node.setAttribute("filterUnits","userSpaceOnUse")}}},{key:"addDarkenFilter",value:function(t,e){var i=this,n=this.w,a=e.intensity;if(!o.default.isFirefox()){t.unfilter(!0);var r=new window.SVG.Filter;r.size("120%","180%","-5%","-40%"),t.filter(function(t){var e=n.config.chart.dropShadow;(r=e.enabled?i.addShadow(t,e):t).componentTransfer({rgb:{type:"linear",slope:a}})}),t.filterer.node.setAttribute("filterUnits","userSpaceOnUse")}}},{key:"applyFilter",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:.5;switch(e){case"none":this.addNormalFilter(t);break;case"lighten":this.addLightenFilter(t,{intensity:i});break;case"darken":this.addDarkenFilter(t,{intensity:i});break;case"desaturate":this.addDesaturateFilter(t)}}},{key:"addShadow",value:function(t,e){var i=e.blur,n=e.top,a=e.left,r=e.opacity,o=t.flood("black",r).composite(t.sourceAlpha,"in").offset(a,n).gaussianBlur(i).merge(t.source);return t.blend(t.source,o)}},{key:"dropShadow",value:function(t,e){var i=e.top,n=e.left,a=e.blur,r=e.opacity,s=e.noUserSpaceOnUse;return t.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),t.filter(function(t){var e=null;e=o.default.isSafari()||o.default.isFirefox()||o.default.isIE()?t.flood("black",r).composite(t.sourceAlpha,"in").offset(n,i).gaussianBlur(a):t.flood("black",r).composite(t.sourceAlpha,"in").offset(n,i).gaussianBlur(a).merge(t.source),t.blend(t.source,e)}),s||t.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),t}}]),t}();e.default=s},function(t,e,i){"use strict";var n=i(3),a=i(4),r=i(14),o=i(16),s=i(15),l="prototype",c=function t(e,i,c){var d,u,h,p,f=e&t.F,g=e&t.G,m=e&t.P,v=e&t.B,y=g?n:e&t.S?n[i]||(n[i]={}):(n[i]||{})[l],b=g?a:a[i]||(a[i]={}),w=b[l]||(b[l]={});for(d in g&&(c=i),c)h=((u=!f&&y&&void 0!==y[d])?y:c)[d],p=v&&u?s(h,n):m&&"function"==typeof h?s(Function.call,h):h,y&&o(y,d,h,e&t.U),b[d]!=h&&r(b,d,p),m&&w[d]!=h&&(w[d]=h)};n.core=a,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return n(t,[{key:"checkComboSeries",value:function(){var t=this.w;t.config.series.length&&void 0!==t.config.series[0].type&&(t.globals.comboCharts=!0,t.config.series.forEach(function(e){"bar"!==e.type&&"column"!==e.type||(t.globals.comboChartsHasBars=!0)}))}},{key:"getStackedSeriesTotals",value:function(){for(var t=this.w,e=[],i=0;i<t.globals.series[t.globals.maxValsInArrayIndex].length;i++){for(var n=0,a=0;a<t.globals.series.length;a++)n+=t.globals.series[a][i];e.push(n)}return t.globals.stackedSeriesTotals=e}},{key:"getSeriesTotalByIndex",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;return null===t?this.w.config.series.reduce(function(t,e){return t+e},0):this.w.config.series[t].data.reduce(function(t,e){return t+e},0)}},{key:"seriesHaveSameValues",value:function(t){return this.w.globals.series[t].every(function(t,e,i){return t===i[0]})}},{key:"getLargestSeries",value:function(){var t=this.w;t.globals.maxValsInArrayIndex=t.globals.series.map(function(t){return t.length}).indexOf(Math.max.apply(Math,t.globals.series.map(function(t){return t.length})))}},{key:"getLargestMarkerSize",value:function(){var t=this.w,e=0;return t.globals.markers.size.forEach(function(t){e=Math.max(e,t)}),t.globals.markers.largestSize=e}},{key:"getSeriesTotals",value:function(){var t=this.w;t.globals.seriesTotals=t.globals.series.map(function(t,e){var i=0;if(Array.isArray(t))for(var n=0;n<t.length;n++)i+=t[n];else i+=t;return i})}},{key:"getSeriesTotalsXRange",value:function(t,e){var i=this.w;return i.globals.series.map(function(n,a){for(var r=0,o=0;o<n.length;o++)i.globals.seriesX[a][o]>t&&i.globals.seriesX[a][o]<e&&(r+=n[o]);return r})}},{key:"getPercentSeries",value:function(){var t=this.w;t.globals.seriesPercent=t.globals.series.map(function(e,i){var n=[];if(Array.isArray(e))for(var a=0;a<e.length;a++){var r=t.globals.stackedSeriesTotals[a],o=100*e[a]/r;n.push(o)}else{var s=100*e/t.globals.seriesTotals.reduce(function(t,e){return t+e},0);n.push(s)}return n})}},{key:"getCalculatedRatios",value:function(){var t,e,i,n,a,r=this.w.globals,o=[],s=[],l=.1,c=0;if(r.yRange=[],r.isMultipleYAxis)for(var d=0;d<r.minYArr.length;d++)r.yRange.push(Math.abs(r.minYArr[d]-r.maxYArr[d])),s.push(0);else r.yRange.push(Math.abs(r.minY-r.maxY));r.xRange=Math.abs(r.maxX-r.minX),r.zRange=Math.abs(r.maxZ-r.minZ);for(var u=0;u<r.yRange.length;u++)o.push(r.yRange[u]/r.gridHeight);if(e=r.xRange/r.gridWidth,i=Math.abs(r.initialmaxX-r.initialminX)/r.gridWidth,t=r.yRange/r.gridWidth,n=r.xRange/r.gridHeight,a=r.zRange/r.gridHeight*16,r.minY!==Number.MIN_VALUE&&0!==Math.abs(r.minY)){if(r.hasNegs=!0,s=[],r.isMultipleYAxis)for(var h=0;h<o.length;h++)s.push(-r.minYArr[h]/o[h]);else s.push(-r.minY/o[0]);l=-r.minY/t,c=r.minX/e}else s.push(0);return{yRatio:o,invertedYRatio:t,zRatio:a,xRatio:e,initialXRatio:i,invertedXRatio:n,baseLineInvertedY:l,baseLineY:s,baseLineX:c}}},{key:"getLogSeries",value:function(t){var e=this.w;return e.globals.seriesLog=t.map(function(t,i){return e.config.yaxis[i]&&e.config.yaxis[i].logarithmic?t.map(function(t){return null===t?null:(Math.log(t)-Math.log(e.globals.minYArr[i]))/(Math.log(e.globals.maxYArr[i])-Math.log(e.globals.minYArr[i]))}):t}),e.globals.seriesLog}},{key:"getLogYRatios",value:function(t){var e=this,i=this.w,n=this.w.globals;return n.yLogRatio=t.slice(),n.logYRange=n.yRange.map(function(t,a){if(i.config.yaxis[a]&&e.w.config.yaxis[a].logarithmic){var r,o=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER;return n.seriesLog.forEach(function(t,e){t.forEach(function(t){i.config.yaxis[e]&&i.config.yaxis[e].logarithmic&&(o=Math.max(t,o),s=Math.min(t,s))})}),r=Math.pow(n.yRange[a],Math.abs(s-o)/n.yRange[a]),n.yLogRatio[a]=r/n.gridHeight,r}}),n.yLogRatio}}],[{key:"extendArrayProps",value:function(t,e){return e.yaxis&&(e=t.extendYAxis(e)),e.annotations&&(e.annotations.yaxis&&(e=t.extendYAxisAnnotations(e)),e.annotations.xaxis&&(e=t.extendXAxisAnnotations(e)),e.annotations.points&&(e=t.extendPointAnnotations(e))),e}}]),t}();e.default=a},function(t,e,i){"use strict";var n=i(9);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){return"object"===(void 0===t?"undefined":n(t))?null!==t:"function"==typeof t}},function(t,e,i){"use strict";var n=i(8),a=i(56),r=i(45),o=Object.defineProperty;e.f=i(12)?Object.defineProperty:function(t,e,i){if(n(t),e=r(e,!0),n(i),a)try{return o(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=o(i(0)),r=o(i(1));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0}return n(t,[{key:"clippedImgArea",value:function(t){var e=this.w,i=e.config,n=parseInt(e.globals.gridWidth),r=parseInt(e.globals.gridHeight),o=r<n?n:r,s=t.image,l=0,c=0;c=void 0===t.width&&void 0===t.height?void 0!==i.fill.image.width&&void 0!==i.fill.image.height?(l=i.fill.image.width+1,i.fill.image.height):(l=o+1,o):(l=t.width,t.height);var d=document.createElementNS(e.globals.svgNS,"pattern");a.default.setAttrs(d,{id:t.patternID,patternUnits:"userSpaceOnUse",width:l+"px",height:c+"px"});var u=document.createElementNS(e.globals.svgNS,"image");d.appendChild(u),u.setAttributeNS("http://www.w3.org/1999/xlink","href",s),a.default.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:l+"px",height:c+"px"}),u.style.opacity=t.opacity,e.globals.dom.elDefs.node.appendChild(d)}},{key:"getSeriesIndex",value:function(t){var e=this.w;return"bar"===e.config.chart.type&&e.config.plotOptions.bar.distributed||"heatmap"===e.config.chart.type?this.seriesIndex=t.seriesNumber:this.seriesIndex=t.seriesNumber%e.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(t,e){var i=this.w;this.opts=e;var n=this.w.config,a=void 0,o=void 0,s=void 0;this.seriesIndex=this.getSeriesIndex(e);var l=this.getFillColors(),c=l[this.seriesIndex],d=Array.isArray(n.fill.opacity)?n.fill.opacity[this.seriesIndex]:n.fill.opacity,u=c;return e.color&&(c=e.color),-1===c.indexOf("rgb")?u=r.default.hexToRgba(c,d):-1<c.indexOf("rgba")&&(d="0."+r.default.getOpacityFromRGBA(l[this.seriesIndex])),"pattern"===n.fill.type&&(o=this.handlePatternFill(o,c,d,u)),"gradient"===n.fill.type&&(s=this.handleGradientFill(s,c,d,this.seriesIndex)),a=0<n.fill.image.src.length&&"image"===n.fill.type?e.seriesNumber<n.fill.image.src.length?(this.clippedImgArea({opacity:d,image:n.fill.image.src[e.seriesNumber],patternID:"pattern"+i.globals.cuid+(e.seriesNumber+1)}),"url(#pattern"+i.globals.cuid+(e.seriesNumber+1)+")"):u:"gradient"===n.fill.type?s:"pattern"===n.fill.type?o:u,e.solid&&(a=u),a}},{key:"getFillColors",value:function(){var t=this.w,e=t.config,i=this.opts,n=[];return t.globals.comboCharts?"line"===t.config.series[this.seriesIndex].type?t.globals.stroke.colors instanceof Array?n=t.globals.stroke.colors:n.push(t.globals.stroke.colors):t.globals.fill.colors instanceof Array?n=t.globals.fill.colors:n.push(t.globals.fill.colors):"line"===e.chart.type?t.globals.stroke.colors instanceof Array?n=t.globals.stroke.colors:n.push(t.globals.stroke.colors):t.globals.fill.colors instanceof Array?n=t.globals.fill.colors:n.push(t.globals.fill.colors),void 0!==i.fillColors&&(n=[],i.fillColors instanceof Array?n=i.fillColors.slice():n.push(i.fillColors)),n}},{key:"handlePatternFill",value:function(t,e,i,n){var r=this.w.config,o=this.opts,s=new a.default(this.ctx),l=void 0===r.fill.pattern.strokeWidth?Array.isArray(r.stroke.width)?r.stroke.width[this.seriesIndex]:r.stroke.width:Array.isArray(r.fill.pattern.strokeWidth)?r.fill.pattern.strokeWidth[this.seriesIndex]:r.fill.pattern.strokeWidth,c=e;return r.fill.pattern.style instanceof Array?void 0!==r.fill.pattern.style[o.seriesNumber]?s.drawPattern(r.fill.pattern.style[o.seriesNumber],r.fill.pattern.width,r.fill.pattern.height,c,l,i):n:s.drawPattern(r.fill.pattern.style,r.fill.pattern.width,r.fill.pattern.height,c,l,i)}},{key:"handleGradientFill",value:function(t,e,i,n){var o=this.w.config,s=this.opts,l=new a.default(this.ctx),c=new r.default,d=o.fill.gradient.type,u=void 0,h=void 0,p=void 0===o.fill.gradient.opacityFrom?i:Array.isArray(o.fill.gradient.opacityFrom)?o.fill.gradient.opacityFrom[n]:o.fill.gradient.opacityFrom,f=void 0===o.fill.gradient.opacityTo?i:Array.isArray(o.fill.gradient.opacityTo)?o.fill.gradient.opacityTo[n]:o.fill.gradient.opacityTo;if(u=e,h=void 0===o.fill.gradient.gradientToColors||0===o.fill.gradient.gradientToColors.length?"dark"===o.fill.gradient.shade?c.shadeColor(-1*parseFloat(o.fill.gradient.shadeIntensity),e):c.shadeColor(parseFloat(o.fill.gradient.shadeIntensity),e):o.fill.gradient.gradientToColors[s.seriesNumber],o.fill.gradient.inverseColors){var g=u;u=h,h=g}return l.drawGradient(d,u,h,p,f,s.size,o.fill.gradient.stops)}}]),t}();e.default=s},function(t,e,i){"use strict";t.exports=!i(20)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,i){"use strict";var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,i){"use strict";var n=i(10),a=i(23);t.exports=i(12)?function(t,e,i){return n.f(t,e,a(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){"use strict";var n=i(18);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,a){return t.call(e,i,n,a)}}return function(){return t.apply(e,arguments)}}},function(t,e,i){"use strict";var n=i(3),a=i(14),r=i(13),o=i(25)("src"),s="toString",l=Function[s],c=(""+l).split(s);i(4).inspectSource=function(t){return l.call(t)},(t.exports=function(t,e,i,s){var l="function"==typeof i;l&&(r(i,"name")||a(i,"name",e)),t[e]!==i&&(l&&(r(i,o)||a(i,o,t[e]?""+t[e]:c.join(String(e)))),t===n?t[e]=i:s?t[e]?t[e]=i:a(t,e,i):(delete t[e],a(t,e,i)))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||l.call(this)})},function(t,e,i){"use strict";var n=i(39),a=i(36);t.exports=function(t){return n(a(t))}},function(t,e,i){"use strict";t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,i){"use strict";var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,i){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){"use strict";t.exports={}},function(t,e,i){"use strict";t.exports=!1},function(t,e,i){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){"use strict";var n=i(44),a=Math.min;t.exports=function(t){return 0<t?a(n(t),9007199254740991):0}},function(t,e,i){"use strict";var n=0,a=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},function(t,e,i){"use strict";var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(1),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.setEasingFunctions()}return a(t,[{key:"setEasingFunctions",value:function(){var t=void 0;switch(this.w.config.chart.animations.easing){case"linear":t="-";break;case"easein":t="<";break;case"easeout":t=">";break;case"easeinout":t="<>";break;case"swing":t=function(t){return(t-=1)*t*(2.70158*t+1.70158)+1};break;case"bounce":t=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375};break;case"elastic":t=function(t){return t===!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1};break;default:t="<>"}this.w.globals.easing=t}},{key:"animateLine",value:function(t,e,i,n){t.attr(e).animate(n).attr(i)}},{key:"animateCircleRadius",value:function(t,e,i,n,a){e||(e=0),t.attr({r:e}).animate(n,a).attr({r:i})}},{key:"animateCircle",value:function(t,e,i,n,a){t.attr({r:e.r,cx:e.cx,cy:e.cy}).animate(n,a).attr({r:i.r,cx:i.cx,cy:i.cy})}},{key:"animateRect",value:function(t,e,i,n){t.attr(e).animate(n).attr(i)}},{key:"animatePathsGradually",value:function(t){var e=t.el,i=t.j,n=t.pathFrom,a=t.pathTo,r=t.speed,o=t.delay,s=t.strokeWidth,l=this.w,c=0;l.config.chart.animations.animateGradually.enabled&&(c=l.config.chart.animations.animateGradually.delay),l.config.chart.animations.dynamicAnimation.enabled&&l.globals.dataChanged&&(c=0),this.morphSVG(e,i,n,a,r,s,o*c)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(t){t.el.classList.remove("hidden")})}},{key:"morphSVG",value:function(t,e,i,n,a,r,s){var l=this,c=this.w;i||(i=t.attr("pathFrom")),n||(n=t.attr("pathTo")),(-1<i.indexOf("undefined")||-1<i.indexOf("NaN"))&&(i="M 0 "+c.globals.gridHeight,a=1),(-1<n.indexOf("undefined")||-1<n.indexOf("NaN"))&&(n="M 0 "+c.globals.gridHeight,a=1),c.globals.shouldAnimate||(a=1),t.plot(i).animate(1,c.globals.easing,s).plot(i).animate(a,c.globals.easing,s).plot(n).afterAll(function(){o.default.isNumber(e)?e===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&(c.globals.animationEnded=!0):c.globals.shouldAnimate&&(c.globals.animationEnded=!0,"function"==typeof c.config.chart.events.animationEnd&&c.config.chart.events.animationEnd(l.ctx,c)),l.showDelayedElements()})}}]),t}();t.exports=s},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=s(i(5)),r=s(i(0)),o=s(i(1));function s(t){return t&&t.__esModule?t:{default:t}}var l=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return n(t,[{key:"setGlobalMarkerSize",value:function(){var t=this.w;if(t.globals.markers.size=Array.isArray(t.config.markers.size)?t.config.markers.size:[t.config.markers.size],0<t.globals.markers.size.length){if(t.globals.markers.size.length<t.globals.series.length+1)for(var e=0;e<=t.globals.series.length;e++)void 0===t.globals.markers.size[e]&&t.globals.markers.size.push(t.globals.markers.size[0])}else t.globals.markers.size=t.config.series.map(function(e){return t.config.markers.size})}},{key:"plotChartMarkers",value:function(t,e,i){var n=this,a=this.w,s=t,l=null,c=new r.default(this.ctx),d=void 0;if(0<a.globals.markers.size[e]&&(l=c.group({class:"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask"+a.globals.cuid+")"),s.x instanceof Array)for(var u=function(t){var r=i,u="apexcharts-marker";if("line"!==a.config.chart.type&&"area"!==a.config.chart.type||a.globals.comboCharts||a.config.tooltip.intersect||(u+=" no-pointer-events"),Array.isArray(a.config.markers.size)?0<a.globals.markers.size[e]:0<a.config.markers.size){o.default.isNumber(s.y[t])?u+=" w"+(Math.random()+1).toString(36).substring(4):u="apexcharts-nullpoint";var h=n.getMarkerConfig(u,e);a.config.markers.discrete.map(function(t){t.seriesIndex===e&&t.dataPointIndex===r&&(h.pointStrokeColor=t.strokeColor,h.pointFillColor=t.fillColor,h.pSize=t.size)}),d=c.drawMarker(s.x[t],s.y[t],h),1===i&&0===t&&(r=0),1===i&&1===t&&(r=1),d.attr("rel",r),d.attr("j",r),d.attr("index",e),d.node.setAttribute("default-marker-size",h.pSize),n.setSelectedPointFilter(d,e,r),n.addEvents(d),l&&l.add(d)}else void 0===a.globals.pointsArray[e]&&(a.globals.pointsArray[e]=[]),a.globals.pointsArray[e].push([s.x[t],s.y[t]])},h=0;h<s.x.length;h++)u(h);return l}},{key:"getMarkerConfig",value:function(t,e){var i=this.w,n=this.getMarkerStyle(e);return{pSize:i.globals.markers.size[e],pRadius:i.config.markers.radius,pWidth:i.config.markers.strokeWidth,pointStrokeColor:n.pointStrokeColor,pointFillColor:n.pointFillColor,shape:i.config.markers.shape instanceof Array?i.config.markers.shape[e]:i.config.markers.shape,class:t,pointStrokeOpacity:i.config.markers.strokeOpacity,pointFillOpacity:i.config.markers.fillOpacity,seriesIndex:e}}},{key:"addEvents",value:function(t){var e=new r.default(this.ctx);t.node.addEventListener("mouseenter",e.pathMouseEnter.bind(this.ctx,t)),t.node.addEventListener("mouseleave",e.pathMouseLeave.bind(this.ctx,t)),t.node.addEventListener("mousedown",e.pathMouseDown.bind(this.ctx,t)),t.node.addEventListener("touchstart",e.pathMouseDown.bind(this.ctx,t),{passive:!0})}},{key:"setSelectedPointFilter",value:function(t,e,i){var n=this.w;if(void 0!==n.globals.selectedDataPoints[e]&&-1<n.globals.selectedDataPoints[e].indexOf(i)){t.node.setAttribute("selected",!0);var r=n.config.states.active.filter;"none"!==r&&new a.default(this.ctx).applyFilter(t,r.type,r.value)}}},{key:"getMarkerStyle",value:function(t){var e=this.w,i=e.globals.markers.colors;return{pointStrokeColor:e.config.markers.strokeColor,pointFillColor:i instanceof Array?i[t]:i}}}]),t}();t.exports=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(0),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return a(t,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series")}},{key:"getSeriesByName",value:function(t){return this.w.globals.dom.baseEl.querySelector(".apexcharts-series."+t.toString().replace(/ /g,"-"))}},{key:"addCollapsedClassToSeries",value:function(t,e){for(var i=this.w,n=0;n<i.globals.collapsedSeries.length;n++)i.globals.collapsedSeries[n].index===e&&t.node.classList.add("apexcharts-series-collapsed")}},{key:"toggleSeriesOnHover",value:function(t,e){var i=this.w,n=i.globals.dom.baseEl.querySelectorAll(".apexcharts-series");if("mousemove"===t.type){var a=parseInt(e.getAttribute("rel"))-1,r=null;r=i.globals.axisCharts||"radialBar"===i.config.chart.type?i.globals.axisCharts?i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='"+a+"']"):i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='"+(a+1)+"']"):i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='"+(a+1)+"'] path");for(var o=0;o<n.length;o++)n[o].classList.add("legend-mouseover-inactive");null!==r&&(i.globals.axisCharts||r.parentNode.classList.remove("legend-mouseover-inactive"),r.classList.remove("legend-mouseover-inactive"))}else if("mouseout"===t.type)for(var s=0;s<n.length;s++)n[s].classList.remove("legend-mouseover-inactive")}},{key:"highlightRangeInSeries",value:function(t,e){var i=this.w,n=i.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap-rect"),a=function(){for(var t=0;t<n.length;t++)n[t].classList.remove("legend-mouseover-inactive")};if("mousemove"===t.type){var r=parseInt(e.getAttribute("rel"))-1;a(),function(){for(var t=0;t<n.length;t++)n[t].classList.add("legend-mouseover-inactive")}(),function(t){for(var e=0;e<n.length;e++){var i=parseInt(n[e].getAttribute("val"));i>=t.from&&i<=t.to&&n[e].classList.remove("legend-mouseover-inactive")}}(i.config.plotOptions.heatmap.colorScale.ranges[r])}else"mouseout"===t.type&&a()}},{key:"getActiveSeriesIndex",value:function(){var t=this.w,e=0;if(1<t.globals.series.length)for(var i=t.globals.series.map(function(e,i){return 0<e.length&&"bar"!==t.config.series[i].type&&"column"!==t.config.series[i].type?i:-1}),n=0;n<i.length;n++)if(-1!==i[n]){e=i[n];break}return e}},{key:"getActiveConfigSeriesIndex",value:function(){var t=this.w,e=0;if(1<t.config.series.length)for(var i=t.config.series.map(function(t,e){return t.data&&0<t.data.length?e:-1}),n=0;n<i.length;n++)if(-1!==i[n]){e=i[n];break}return e}},{key:"getPreviousPaths",value:function(){var t=this.w;function e(e,i,n){for(var a=e[i].childNodes,r={type:n,paths:[],realIndex:e[i].getAttribute("data:realIndex")},o=0;o<a.length;o++)if(a[o].hasAttribute("pathTo")){var s=a[o].getAttribute("pathTo");r.paths.push({d:s})}t.globals.previousPaths.push(r)}t.globals.previousPaths=[];var i=t.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-series");if(0<i.length)for(var n=i.length-1;0<=n;n--)e(i,n,"line");var a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-area-series .apexcharts-series");if(0<a.length)for(var r=a.length-1;0<=r;r--)e(a,r,"area");var o=t.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series .apexcharts-series");if(0<o.length)for(var s=0;s<o.length;s++)e(o,s,"bar");var l=t.globals.dom.baseEl.querySelectorAll(".apexcharts-candlestick-series .apexcharts-series");if(0<l.length)for(var c=0;c<l.length;c++)e(l,c,"candlestick");var d=t.globals.dom.baseEl.querySelectorAll(".apexcharts-radar-series .apexcharts-series");if(0<d.length)for(var u=0;u<d.length;u++)e(d,u,"radar");var h=t.globals.dom.baseEl.querySelectorAll(".apexcharts-bubble-series .apexcharts-series");if(0<h.length)for(var p=0;p<h.length;p++){for(var f=t.globals.dom.baseEl.querySelectorAll(".apexcharts-bubble-series .apexcharts-series[data\\:realIndex='"+p+"'] circle"),g=[],m=0;m<f.length;m++)g.push({x:f[m].getAttribute("cx"),y:f[m].getAttribute("cy"),r:f[m].getAttribute("r")});t.globals.previousPaths.push(g)}var v=t.globals.dom.baseEl.querySelectorAll(".apexcharts-scatter-series .apexcharts-series");if(0<v.length)for(var y=0;y<v.length;y++){for(var b=t.globals.dom.baseEl.querySelectorAll(".apexcharts-scatter-series .apexcharts-series[data\\:realIndex='"+y+"'] circle"),w=[],x=0;x<b.length;x++)w.push({x:b[x].getAttribute("cx"),y:b[x].getAttribute("cy"),r:b[x].getAttribute("r")});t.globals.previousPaths.push(w)}var _=t.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap .apexcharts-series");if(0<_.length)for(var k=0;k<_.length;k++){for(var S=t.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap .apexcharts-series[data\\:realIndex='"+k+"'] rect"),M=[],C=0;C<S.length;C++)M.push({color:S[C].getAttribute("color")});t.globals.previousPaths.push(M)}t.globals.axisCharts||(t.globals.previousPaths=t.globals.series)}},{key:"handleNoData",value:function(){var t=this.w,e=t.config.noData,i=new o.default(this.ctx),n=t.globals.svgWidth/2,a=t.globals.svgHeight/2,r="middle";if(t.globals.noData=!0,"left"===e.align?(n=10,r="start"):"right"===e.align&&(n=t.globals.svgWidth-10,r="end"),"top"===e.verticalAlign?a=50:"bottom"===e.verticalAlign&&(a=t.globals.svgHeight-50),n+=e.offsetX,a=a+parseInt(e.style.fontSize)+2,void 0!==e.text&&""!==e.text){var s=i.drawText({x:n,y:a,text:e.text,textAnchor:r,fontSize:e.style.fontSize,fontFamily:e.style.fontFamily,foreColor:e.style.color,opacity:1,class:"apexcharts-text-nodata"});s.node.setAttribute("class","apexcharts-title-text"),t.globals.dom.Paper.add(s)}}},{key:"setNullSeriesToZeroValues",value:function(t){for(var e=this.w,i=0;i<t.length;i++)if(0===t[i].length)for(var n=0;n<t[e.globals.maxValsInArrayIndex].length;n++)t[i].push(0);return t}},{key:"hasAllSeriesEqualX",value:function(){for(var t=!0,e=this.w,i=this.filteredSeriesX(),n=0;n<i.length-1;n++)if(i[n][0]!==i[n+1][0]){t=!1;break}return e.globals.allSeriesHasEqualX=t}},{key:"filteredSeriesX",value:function(){var t=this.w.globals.seriesX.map(function(t,e){return 0<t.length?t:[]});return t}}]),t}();e.default=s},function(t,e,i){"use strict";var n=i(65),a=i(38);t.exports=Object.keys||function(t){return n(t,a)}},function(t,e,i){"use strict";var n=i(10).f,a=i(13),r=i(2)("toStringTag");t.exports=function(t,e,i){t&&!a(t=i?t:t.prototype,r)&&n(t,r,{configurable:!0,value:e})}},function(t,e,i){"use strict";var n=i(36);t.exports=function(t){return Object(n(t))}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=s(i(75)),r=s(i(0)),o=s(i(5));function s(t){return t&&t.__esModule?t:{default:t}}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return n(t,[{key:"dataLabelsCorrection",value:function(t,e,i,n,a,o,s){var l=this.w,c=!1,d=new r.default(this.ctx).getTextRects(i,s),u=d.width,h=d.height;void 0===l.globals.dataLabelsRects[n]&&(l.globals.dataLabelsRects[n]=[]),l.globals.dataLabelsRects[n].push({x:t,y:e,width:u,height:h});var p=l.globals.dataLabelsRects[n].length-2,f=void 0!==l.globals.lastDrawnDataLabelsIndexes[n]?l.globals.lastDrawnDataLabelsIndexes[n][l.globals.lastDrawnDataLabelsIndexes[n].length-1]:0;if(void 0!==l.globals.dataLabelsRects[n][p]){var g=l.globals.dataLabelsRects[n][f];(t>g.x+g.width+2||e>g.y+g.height+2||t+u<g.x)&&(c=!0)}return(0===a||o)&&(c=!0),{x:t,y:e,drawnextLabel:c}}},{key:"drawDataLabel",value:function(t,e,i){3<arguments.length&&void 0!==arguments[3]&&arguments[3];var n=this.w,o=new r.default(this.ctx),s=n.config.dataLabels,l=0,c=0,d=i,u=null;if(!s.enabled||t.x instanceof Array!=1)return u;u=o.group({class:"apexcharts-data-labels"});for(var h=0;h<t.x.length;h++)if(l=t.x[h]+s.offsetX,c=t.y[h]+s.offsetY-n.globals.markers.size[e]-5,!isNaN(l)){1===i&&0===h&&(d=0),1===i&&1===h&&(d=1);var p=n.globals.series[e][d],f="";"bubble"===n.config.chart.type?(f=n.globals.seriesZ[e][d],c=t.y[h]+n.config.dataLabels.offsetY,c=new a.default(this.ctx).centerTextInBubble(c,e,d).y):void 0!==p&&(f=n.config.dataLabels.formatter(p,{seriesIndex:e,dataPointIndex:d,w:n})),this.plotDataLabelsText({x:l,y:c,text:f,i:e,j:d,parent:u,offsetCorrection:!0,dataLabelsConfig:n.config.dataLabels})}return u}},{key:"plotDataLabelsText",value:function(t){var e=this.w,i=new r.default(this.ctx),n=t.x,a=t.y,s=t.i,l=t.j,c=t.text,d=t.textAnchor,u=t.parent,h=t.dataLabelsConfig,p=t.alwaysDrawDataLabel,f=t.offsetCorrection,g={x:n,y:a,drawnextLabel:!0};if(f&&(g=this.dataLabelsCorrection(n,a,c,s,l,p,parseInt(h.style.fontSize))),e.globals.zoomed||(n=g.x,a=g.y),g.drawnextLabel){var m=i.drawText({width:100,height:parseInt(h.style.fontSize),x:n,y:a,foreColor:e.globals.dataLabels.style.colors[s],textAnchor:d||h.textAnchor,text:c,fontSize:h.style.fontSize,fontFamily:h.style.fontFamily});if(m.attr({class:"apexcharts-datalabel",cx:n,cy:a}),f&&m.attr({"clip-path":"url(#gridRectMask"+e.globals.cuid+")"}),h.dropShadow.enabled){var v=h.dropShadow;new o.default(this.ctx).dropShadow(m,v)}u.add(m),void 0===e.globals.lastDrawnDataLabelsIndexes[s]&&(e.globals.lastDrawnDataLabelsIndexes[s]=[]),e.globals.lastDrawnDataLabelsIndexes[s].push(l)}}}]),t}();e.default=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=o(i(53)),r=o(i(1));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.tooltipKeyFormat="dd MMM"}return n(t,[{key:"xLabelFormat",value:function(t,e){var i=this.w;return"datetime"===i.config.xaxis.type&&void 0===i.config.tooltip.x.formatter?new a.default(this.ctx).formatDate(new Date(e),i.config.tooltip.x.format,!0,!0):t(e)}},{key:"setLabelFormatters",value:function(){var t=this.w;return t.globals.xLabelFormatter=function(t){return t},t.globals.xaxisTooltipFormatter=function(t){return t},t.globals.ttKeyFormatter=function(t){return t},t.globals.ttZFormatter=function(t){return t},t.globals.legendFormatter=function(t){return t},"function"==typeof t.config.tooltip.x.formatter&&(t.globals.ttKeyFormatter=t.config.tooltip.x.formatter),"function"==typeof t.config.xaxis.tooltip.formatter&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),Array.isArray(t.config.tooltip.y)?t.globals.ttVal=t.config.tooltip.y:void 0!==t.config.tooltip.y.formatter&&(t.globals.ttVal=t.config.tooltip.y),void 0!==t.config.tooltip.z.formatter&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),void 0!==t.config.legend.formatter&&(t.globals.legendFormatter=t.config.legend.formatter),void 0!==t.config.xaxis.labels.formatter?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(e){return r.default.isNumber(e)?"numeric"===t.config.xaxis.type&&t.globals.dataPoints<50?e.toFixed(1):e.toFixed(0):e},t.config.yaxis.forEach(function(e,i){void 0!==e.labels.formatter?t.globals.yLabelFormatters[i]=e.labels.formatter:t.globals.yLabelFormatters[i]=function(i){return r.default.isNumber(i)?0!==t.globals.yValueDecimal?i.toFixed(e.decimalsInFloat):i.toFixed(0):i}}),t.globals}},{key:"heatmapLabelFormatters",value:function(){var t=this.w;if("heatmap"===t.config.chart.type){t.globals.yAxisScale[0].result=t.globals.seriesNames.slice();var e=t.globals.seriesNames.reduce(function(t,e){return t.length>e.length?t:e},0);t.globals.yAxisScale[0].niceMax=e,t.globals.yAxisScale[0].niceMin=e}}}]),t}();e.default=s},function(t,e,i){"use strict";var n=i(2)("unscopables"),a=Array.prototype;null==a[n]&&i(14)(a,n,{}),t.exports=function(t){a[n][t]=!0}},function(t,e,i){"use strict";var n=i(19),a=i(2)("toStringTag"),r="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,i,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),a))?i:r?n(e):"Object"==(o=n(e))&&"function"==typeof e.callee?"Arguments":o}},function(t,e,i){"use strict";t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,i){"use strict";var n=i(9),a=i(3).document,r=n(a)&&n(a.createElement);t.exports=function(t){return r?a.createElement(t):{}}},function(t,e,i){"use strict";t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){"use strict";var n=i(19);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,i){"use strict";var n=i(18);function a(t){var e,i;this.promise=new t(function(t,n){if(void 0!==e||void 0!==i)throw TypeError("Bad Promise constructor");e=t,i=n}),this.resolve=n(e),this.reject=n(i)}t.exports.f=function(t){return new a(t)}},function(t,e,i){"use strict";e.f={}.propertyIsEnumerable},function(t,e,i){"use strict";var n=i(43)("keys"),a=i(25);t.exports=function(t){return n[t]||(n[t]=a(t))}},function(t,e,i){"use strict";var n=i(4),a=i(3),r="__core-js_shared__",o=a[r]||(a[r]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i(22)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,i){"use strict";var n=Math.ceil,a=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?a:n)(t)}},function(t,e,i){"use strict";var n=i(9);t.exports=function(t,e){if(!n(t))return t;var i,a;if(e&&"function"==typeof(i=t.toString)&&!n(a=i.call(t)))return a;if("function"==typeof(i=t.valueOf)&&!n(a=i.call(t)))return a;if(!e&&"function"==typeof(i=t.toString)&&!n(a=i.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){"use strict";var n=i(3),a=i(4),r=i(22),o=i(70),s=i(10).f;t.exports=function(t){var e=a.Symbol||(a.Symbol=r?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:o.f(t)})}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=c(i(7)),r=c(i(11)),o=c(i(5)),s=c(i(0)),l=c(i(32));function c(t){return t&&t.__esModule?t:{default:t}}var d=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w;var n=this.w;this.barOptions=n.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=n.config.stroke.width,this.isNullValue=!1,this.xyRatios=i,null!==this.xyRatios&&(this.xRatio=i.xRatio,this.yRatio=i.yRatio,this.invertedXRatio=i.invertedXRatio,this.invertedYRatio=i.invertedYRatio,this.baseLineY=i.baseLineY,this.baseLineInvertedY=i.baseLineInvertedY),this.minXDiff=Number.MAX_SAFE_INTEGER,this.yaxisIndex=0,this.seriesLen=0}return n(t,[{key:"draw",value:function(t,e){var i=this,n=this.w,o=new s.default(this.ctx),l=new r.default(this.ctx),c=new a.default(this.ctx,n);this.series=c.getLogSeries(t),t=this.series,this.yRatio=c.getLogYRatios(this.yRatio),this.initVariables(t);var d=o.group({class:"apexcharts-bar-series apexcharts-plot-series"});d.attr("clip-path","url(#gridRectMask"+n.globals.cuid+")");for(var u=function(a,r){var s,c,u,h,p=void 0,f=void 0,g=void 0,m=void 0,v=[],y=[],b=n.globals.comboCharts?e[a]:a,w=o.group({class:"apexcharts-series "+n.globals.seriesNames[b].toString().replace(/ /g,"-"),rel:a+1,"data:realIndex":b});i.ctx.series.addCollapsedClassToSeries(w,b),0<t[a].length&&(i.visibleI=i.visibleI+1);var x,_,k=0;1<i.yRatio.length&&(i.yaxisIndex=b);var S=i.initialPositions();m=S.y,x=S.barHeight,c=S.yDivision,h=S.zeroW,g=S.x,_=S.barWidth,s=S.xDivision,u=S.zeroH,i.horizontal||y.push(g+_/2);for(var M=o.group({class:"apexcharts-datalabels"}),C=function(e,o){void 0===i.series[a][e]||null===t[a][e]?i.isNullValue=!0:i.isNullValue=!1,n.config.stroke.show&&(k=i.isNullValue?0:Array.isArray(i.strokeWidth)?i.strokeWidth[b]:i.strokeWidth);var d=null;d=i.isHorizontal?i.drawBarPaths({indexes:{i:a,j:e,realIndex:b,bc:r},barHeight:x,strokeWidth:k,pathTo:p,pathFrom:f,zeroW:h,x:g,y:m,yDivision:c,elSeries:w}):i.drawColumnPaths({indexes:{i:a,j:e,realIndex:b,bc:r},x:g,y:m,xDivision:s,pathTo:p,pathFrom:f,barWidth:_,zeroH:u,strokeWidth:k,elSeries:w}),p=d.pathTo,f=d.pathFrom,m=d.y,g=d.x,0<e&&y.push(g+_/2),v.push(m);var S=i.barOptions.distributed?e:a,C=null;0<i.barOptions.colors.ranges.length&&i.barOptions.colors.ranges.map(function(i){t[a][e]>=i.from&&t[a][e]<=i.to&&(C=i.color)});var T=l.fillPath(w,{seriesNumber:i.barOptions.distributed?S:b,color:C});w=i.renderSeries({realIndex:b,pathFill:T,j:e,i:a,pathFrom:f,pathTo:p,strokeWidth:k,elSeries:w,x:g,y:m,series:t,barHeight:x,barWidth:_,elDataLabelsWrap:M,visibleSeries:i.visibleI,type:"bar"})},T=0,D=n.globals.dataPoints;T<n.globals.dataPoints;T++,D--)C(T);n.globals.seriesXvalues[b]=y,n.globals.seriesYvalues[b]=v,d.add(w)},h=0,p=0;h<t.length;h++,p++)u(h,p);return d}},{key:"renderSeries",value:function(t){var e=t.realIndex,i=t.pathFill,n=t.lineFill,a=t.j,r=t.i,o=t.pathFrom,l=t.pathTo,c=t.strokeWidth,d=t.elSeries,u=t.x,h=t.y,p=t.series,f=t.barHeight,g=t.barWidth,m=t.elDataLabelsWrap,v=t.visibleSeries,y=t.type,b=this.w,w=new s.default(this.ctx);n||(n=b.globals.stroke.colors[e]),this.isNullValue&&(i="none");var x=a/b.config.chart.animations.animateGradually.delay*(b.config.chart.animations.speed/b.globals.dataPoints)/2.4,_=w.renderPaths({i:r,j:a,realIndex:e,pathFrom:o,pathTo:l,stroke:n,strokeWidth:c,strokeLineCap:b.config.stroke.lineCap,fill:i,animationDelay:x,initialSpeed:b.config.chart.animations.speed,dataChangeSpeed:b.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-"+y+"-area",id:"apexcharts-"+y+"-area"});this.setSelectedBarFilter(_,e,a),d.add(_);var k=this.calculateDataLabelsPos({x:u,y:h,i:r,j:a,series:p,realIndex:e,barHeight:f,barWidth:g,renderedPath:_,visibleSeries:v});return null!==k&&m.add(k),d.add(m),d}},{key:"initVariables",value:function(t){var e=this,i=this.w;this.series=t,this.totalItems=0,this.seriesLen=0,this.visibleI=-1,this.visibleItems=1;for(var n=0;n<t.length;n++)if(0<t[n].length&&(this.seriesLen=this.seriesLen+1,this.totalItems+=t[n].length),i.globals.isXNumeric){i.globals.seriesX.forEach(function(t,n){t.forEach(function(t,a){if(0<a){var r=t-i.globals.seriesX[n][a-1];e.minXDiff=Math.min(r,e.minXDiff)}})});for(var a=0;a<t[n].length;a++)i.globals.seriesX[n][a]>i.globals.minX&&i.globals.seriesX[n][a]<i.globals.maxX&&this.visibleItems++}else this.visibleItems=i.globals.dataPoints;0===this.seriesLen&&(this.seriesLen=1)}},{key:"initialPositions",value:function(){var t=this.w,e=void 0,i=void 0,n=void 0,a=void 0,r=void 0,o=void 0,s=void 0,l=void 0;return this.isHorizontal?(r=(n=t.globals.gridHeight/t.globals.dataPoints)/this.seriesLen,t.globals.isXNumeric&&(r=(n=t.globals.gridHeight/this.totalItems)/this.seriesLen),r=r*parseInt(this.barOptions.barHeight)/100,l=this.baseLineInvertedY+t.globals.padHorizontal,i=(n-r*this.seriesLen)/2):(o=(a=t.globals.gridWidth/this.visibleItems)/this.seriesLen*parseInt(this.barOptions.columnWidth)/100,t.globals.isXNumeric&&(o=(a=this.minXDiff/this.xRatio)/this.seriesLen*parseInt(this.barOptions.columnWidth)/100),s=t.globals.gridHeight-this.baseLineY[this.yaxisIndex],e=t.globals.padHorizontal+(a-o*this.seriesLen)/2),{x:e,y:i,yDivision:n,xDivision:a,barHeight:r,barWidth:o,zeroH:s,zeroW:l}}},{key:"drawBarPaths",value:function(t){var e=t.indexes,i=t.barHeight,n=t.strokeWidth,a=t.pathTo,r=t.pathFrom,o=t.zeroW,l=t.x,c=t.y,d=t.yDivision,u=t.elSeries,h=this.w,p=new s.default(this.ctx),f=e.i,g=e.j,m=e.realIndex,v=e.bc;h.globals.isXNumeric&&(c=(h.globals.seriesX[f][g]-h.globals.minX)/this.invertedXRatio-i);var y=c+i*this.visibleI;a=p.move(o,y),r=p.move(o,y),0<h.globals.previousPaths.length&&(r=this.getPathFrom(m,g,!0));var b={barHeight:i,strokeWidth:n,barYPosition:y,x:l=void 0===this.series[f][g]||null===this.series[f][g]?o:o+this.series[f][g]/this.invertedYRatio,zeroW:o},w=this.barEndingShape(h,b,this.series,f,g);if(a=a+p.line(w.newX,y)+w.path+p.line(o,y+i-n)+p.line(o,y),r=r+p.line(o,y)+w.ending_p_from+p.line(o,y+i-n)+p.line(o,y+i-n)+p.line(o,y),h.globals.isXNumeric||(c+=d),0<this.barOptions.colors.backgroundBarColors.length&&0===f){v>=this.barOptions.colors.backgroundBarColors.length&&(v=0);var x=this.barOptions.colors.backgroundBarColors[v],_=p.drawRect(0,y-i*this.visibleI,h.globals.gridWidth,i*this.seriesLen,0,x,this.barOptions.colors.backgroundBarOpacity);u.add(_),_.node.classList.add("apexcharts-backgroundBar")}return{pathTo:a,pathFrom:r,x:l,y:c,barYPosition:y}}},{key:"drawColumnPaths",value:function(t){var e=t.indexes,i=t.x,n=t.y,a=t.xDivision,r=t.pathTo,o=t.pathFrom,l=t.barWidth,c=t.zeroH,d=t.strokeWidth,u=t.elSeries,h=this.w,p=new s.default(this.ctx),f=e.i,g=e.j,m=e.realIndex,v=e.bc;h.globals.isXNumeric&&(i=(h.globals.seriesX[f][g]-h.globals.minX)/this.xRatio-l/2);var y=i+l*this.visibleI;r=p.move(y,c),o=p.move(y,c),0<h.globals.previousPaths.length&&(o=this.getPathFrom(m,g,!0));var b={barWidth:l,strokeWidth:d,barXPosition:y,y:n=void 0===this.series[f][g]||null===this.series[f][g]?c:c-this.series[f][g]/this.yRatio[this.yaxisIndex],zeroH:c},w=this.barEndingShape(h,b,this.series,f,g);if(r=r+p.line(y,w.newY)+w.path+p.line(y+l-d,c)+p.line(y,c),o=o+p.line(y,c)+w.ending_p_from+p.line(y+l-d,c)+p.line(y+l-d,c)+p.line(y,c),h.globals.isXNumeric||(i+=a),0<this.barOptions.colors.backgroundBarColors.length&&0===f){v>=this.barOptions.colors.backgroundBarColors.length&&(v=0);var x=this.barOptions.colors.backgroundBarColors[v],_=p.drawRect(y-l*this.visibleI,0,l*this.seriesLen,h.globals.gridHeight,0,x,this.barOptions.colors.backgroundBarOpacity);u.add(_),_.node.classList.add("apexcharts-backgroundBar")}return{pathTo:r,pathFrom:o,x:i,y:n,barXPosition:y}}},{key:"getPathFrom",value:function(t,e){2<arguments.length&&void 0!==arguments[2]&&arguments[2];for(var i=this.w,n=void 0,a=0;a<i.globals.previousPaths.length;a++){var r=i.globals.previousPaths[a];0<r.paths.length&&parseInt(r.realIndex)===parseInt(t)&&void 0!==i.globals.previousPaths[a].paths[e]&&(n=i.globals.previousPaths[a].paths[e].d)}return n}},{key:"calculateDataLabelsPos",value:function(t){var e=t.x,i=t.y,n=t.i,a=t.j,r=t.realIndex,o=t.series,l=t.barHeight,c=t.barWidth,d=t.visibleSeries,u=t.renderedPath,h=this.w,p=new s.default(this.ctx),f=Array.isArray(this.strokeWidth)?this.strokeWidth[r]:this.strokeWidth,g=e+parseFloat(c*d),m=i+parseFloat(l*d);h.globals.isXNumeric&&(g=e+parseFloat(c*(d+1))-f,m=i+parseFloat(l*(d+1))-f);var v=e,y=i,b={},w=h.config.dataLabels,x=this.barOptions.dataLabels,_=w.offsetX,k=w.offsetY,S=p.getTextRects(h.globals.yLabelFormatters[0](h.globals.maxY),parseInt(w.style.fontSize));return b=this.isHorizontal?this.calculateBarsDataLabelsPosition({x:e,y:i,i:n,j:a,bcy:m,barHeight:l,textRects:S,strokeWidth:f,dataLabelsX:v,dataLabelsY:y,barDataLabelsConfig:x,offX:_,offY:k}):this.calculateColumnsDataLabelsPosition({x:e,y:i,i:n,j:a,realIndex:r,bcx:g,bcy:m,barHeight:l,barWidth:c,textRects:S,strokeWidth:f,dataLabelsY:y,barDataLabelsConfig:x,offX:_,offY:k}),u.attr({cy:b.bcy,cx:b.bcx,j:a,val:o[n][a],barHeight:l,barWidth:c}),this.drawCalculatedDataLabels({x:b.dataLabelsX,y:b.dataLabelsY,val:o[n][a],i:r,j:a,dataLabelsConfig:w})}},{key:"calculateColumnsDataLabelsPosition",value:function(t){var e=this.w,i=t.i,n=t.j,a=t.realIndex,r=t.y,o=t.bcx,s=t.barWidth,l=t.textRects,c=t.dataLabelsY,d=t.barDataLabelsConfig,u=t.strokeWidth,h=t.offX,p=t.offY,f=void 0,g=this.series[i][n]/this.yRatio[this.yaxisIndex],m=e.globals.gridWidth/e.globals.dataPoints;o-=u/2,f=e.globals.isXNumeric?o-s/2+h:o-m+s/2+h;var v=!!(e.globals.gridHeight-this.baseLineY[this.yaxisIndex]<r&&0!==Math.abs(this.baseLineY[this.yaxisIndex])),y=0!==Math.abs(e.globals.minYArr[a]);switch(d.position){case"center":c=r+g/2+l.height/2-p,y&&(c=v?r+g/2+l.height/2+p:r+g/2+l.height/2-p);break;case"bottom":c=y?v?r+g+l.height+u+p:r+g-l.height/2+u-p:e.globals.gridHeight-l.height/2-p;break;case"top":c=y&&v?r-l.height/2-p:r+l.height+p}return{bcx:o,bcy:r,dataLabelsX:f,dataLabelsY:c}}},{key:"calculateBarsDataLabelsPosition",value:function(t){var e=this.w,i=t.x,n=t.i,a=t.j,r=t.bcy,o=t.barHeight,s=t.textRects,l=t.dataLabelsX,c=t.strokeWidth,d=t.barDataLabelsConfig,u=t.offX,h=t.offY,p=r-e.globals.gridHeight/e.globals.dataPoints+o/2+s.height/2+h-3,f=this.series[n][a]/this.invertedYRatio,g=this.series[n][a]<=0,m=0!==Math.abs(e.globals.minY);switch(d.position){case"center":l=i-f/2+u,m&&(l=g?i-f/2-u:i-f/2+u);break;case"bottom":l=m&&g?i-f-c-Math.round(s.width/2)-u:i-f+c+Math.round(s.width/2)+u;break;case"top":l=m?g?i-c+Math.round(s.width/2)-u:i-c-Math.round(s.width/2)+u:i+c-Math.round(s.width/2)+u}return l<0?l=s.width+c:l+s.width/2>e.globals.gridWidth&&(l=l-s.width-c),{bcx:i,bcy:r,dataLabelsX:l,dataLabelsY:p}}},{key:"drawCalculatedDataLabels",value:function(t){var e=t.x,i=t.y,n=t.val,a=t.i,r=t.j,o=t.dataLabelsConfig,c=this.w,d=new l.default(this.ctx),u=new s.default(this.ctx),h=o.formatter,p=null,f=-1<c.globals.collapsedSeriesIndices.indexOf(a);if(o.enabled&&!f){p=u.group({class:"apexcharts-data-labels"});var g="";null!=n&&(g=h(n,{seriesIndex:a,dataPointIndex:r,w:c})),d.plotDataLabelsText({x:e,y:i,text:g,i:a,j:r,parent:p,dataLabelsConfig:o,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return p}},{key:"barEndingShape",value:function(t,e,i,n,a){var r=new s.default(this.ctx);if(this.isHorizontal){var o=null,l="",c=e.x;if(void 0!==i[n][a]||null!==i[n][a]){var d=i[n][a]<0,u=e.barHeight/2-e.strokeWidth;switch(d&&(u=-e.barHeight/2-e.strokeWidth),t.config.chart.stacked||("arrow"===this.barOptions.endingShape?c=e.x-u:"rounded"===this.barOptions.endingShape&&(c=e.x-u/2)),this.barOptions.endingShape){case"flat":o=r.line(c,e.barYPosition+e.barHeight-e.strokeWidth);break;case"arrow":o=r.line(c+u,e.barYPosition+(e.barHeight-e.strokeWidth)/2)+r.line(c,e.barYPosition+e.barHeight-e.strokeWidth),l=r.line(e.zeroW,e.barYPosition+e.barHeight-e.strokeWidth);break;case"rounded":o=r.quadraticCurve(c+u,e.barYPosition+(e.barHeight-e.strokeWidth)/2,c,e.barYPosition+e.barHeight-e.strokeWidth)}}return{path:o,ending_p_from:l,newX:c}}var h=null,p="",f=e.y;if(void 0!==i[n][a]||null!==i[n][a]){var g=i[n][a]<0,m=e.barWidth/2-e.strokeWidth;switch(g&&(m=-e.barWidth/2-e.strokeWidth),t.config.chart.stacked||("arrow"===this.barOptions.endingShape?f+=m:"rounded"===this.barOptions.endingShape&&(f+=m/2)),this.barOptions.endingShape){case"flat":h=r.line(e.barXPosition+e.barWidth-e.strokeWidth,f);break;case"arrow":h=r.line(e.barXPosition+(e.barWidth-e.strokeWidth)/2,f-m)+r.line(e.barXPosition+e.barWidth-e.strokeWidth,f),p=r.line(e.barXPosition+e.barWidth-e.strokeWidth,e.zeroH);break;case"rounded":h=r.quadraticCurve(e.barXPosition+(e.barWidth-e.strokeWidth)/2,f-m,e.barXPosition+e.barWidth-e.strokeWidth,f)}}return{path:h,ending_p_from:p,newY:f}}},{key:"setSelectedBarFilter",value:function(t,e,i){var n=this.w;if(void 0!==n.globals.selectedDataPoints[e]&&-1<n.globals.selectedDataPoints[e].indexOf(i)){t.node.setAttribute("selected",!0);var a=n.config.states.active.filter;"none"!==a&&new o.default(this.ctx).applyFilter(t,a.type,a.value)}}}]),t}();e.default=d},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=l(i(0)),r=l(i(33)),o=l(i(1)),s=l(i(50));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.lgRect={},this.yAxisWidth=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.isBarHorizontal=!("bar"!==this.w.config.chart.type||!this.w.config.plotOptions.bar.horizontal)}return n(t,[{key:"plotCoords",value:function(){var t=this.w,e=t.globals,i=this.getLegendsRect();e.axisCharts?this.setGridCoordsForAxisCharts(i):this.setGridCoordsForNonAxisCharts(i),this.titleSubtitleOffset(),e.gridHeight=e.gridHeight-t.config.grid.padding.top-t.config.grid.padding.bottom,e.gridWidth=e.gridWidth-t.config.grid.padding.left-t.config.grid.padding.right,e.translateX=e.translateX+t.config.grid.padding.left,e.translateY=e.translateY+t.config.grid.padding.top}},{key:"conditionalChecksForAxisCoords",value:function(t,e){var i=this.w;this.xAxisHeight=(t.height+e.height)*i.globals.lineHeightRatio+15,this.xAxisWidth=t.width,this.xAxisHeight-e.height>i.config.xaxis.labels.maxHeight&&(this.xAxisHeight=i.config.xaxis.labels.maxHeight),i.config.xaxis.labels.minHeight&&this.xAxisHeight<i.config.xaxis.labels.minHeight&&(this.xAxisHeight=i.config.xaxis.labels.minHeight),i.config.xaxis.floating&&(this.xAxisHeight=0),this.isBarHorizontal?this.yAxisWidth=i.globals.yLabelsCoords[0].width+i.globals.yTitleCoords[0].width+15:this.yAxisWidth=this.getTotalYAxisWidth(),i.globals.isMultipleYAxis||(this.yAxisWidth<i.config.yaxis[0].labels.minWidth&&(this.yAxisWidth=i.config.yaxis[0].labels.minWidth),this.yAxisWidth>i.config.yaxis[0].labels.maxWidth&&(this.yAxisWidth=i.config.yaxis[0].labels.maxWidth))}},{key:"setGridCoordsForAxisCharts",value:function(t){var e=this.w,i=e.globals,n=this.getyAxisLabelsCoords(),a=this.getxAxisLabelsCoords(),r=this.getyAxisTitleCoords(),o=this.getxAxisTitleCoords();e.globals.yLabelsCoords=[],e.globals.yTitleCoords=[],e.config.yaxis.map(function(t,i){e.globals.yLabelsCoords.push({width:n[i].width,index:i}),e.globals.yTitleCoords.push({width:r[i].width,index:i})}),this.conditionalChecksForAxisCoords(a,o),i.translateXAxisY=e.globals.rotateXLabels?this.xAxisHeight/8:-4,i.translateXAxisX=e.globals.rotateXLabels&&e.globals.isXNumeric&&e.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,this.isBarHorizontal&&(i.rotateXLabels=!1,i.translateXAxisY=parseInt(e.config.xaxis.labels.style.fontSize)/1.5*-1),i.translateXAxisY=i.translateXAxisY+e.config.xaxis.labels.offsetY,i.translateXAxisX=i.translateXAxisX+e.config.xaxis.labels.offsetX;var l=this.yAxisWidth,c=this.xAxisHeight;i.xAxisLabelsHeight=this.xAxisHeight,i.xAxisHeight=this.xAxisHeight;var d=10;switch(e.config.grid.show&&"radar"!==e.config.chart.type||(l=0,c=35),this.isSparkline&&(t={height:0,width:0},d=l=c=0),e.config.legend.position){case"bottom":i.translateY=d,i.translateX=l,i.gridHeight=i.svgHeight-t.height-c-(this.isSparkline?0:e.globals.rotateXLabels?10:15),i.gridWidth=i.svgWidth-l;break;case"top":i.translateY=t.height+d,i.translateX=l,i.gridHeight=i.svgHeight-t.height-c-(this.isSparkline?0:e.globals.rotateXLabels?10:15),i.gridWidth=i.svgWidth-l;break;case"left":i.translateY=d,i.translateX=t.width+l,i.gridHeight=i.svgHeight-c-12,i.gridWidth=i.svgWidth-t.width-l;break;case"right":i.translateY=d,i.translateX=l,i.gridHeight=i.svgHeight-c-12,i.gridWidth=i.svgWidth-t.width-l-5;break;default:throw new Error("Legend position not supported")}this.isBarHorizontal||this.setGridXPosForDualYAxis(r,n),new s.default(this.ctx).setYAxisXPosition(n,r)}},{key:"setGridCoordsForNonAxisCharts",value:function(t){var e=this.w,i=e.globals,n=0;e.config.legend.show&&!e.config.legend.floating&&(n=20);var a=10,r=0;if("pie"===e.config.chart.type||"donut"===e.config.chart.type?(a+=e.config.plotOptions.pie.offsetY,r+=e.config.plotOptions.pie.offsetX):"radialBar"===e.config.chart.type&&(a+=e.config.plotOptions.radialBar.offsetY,r+=e.config.plotOptions.radialBar.offsetX),!e.config.legend.show)return i.gridHeight=i.svgHeight-35,i.gridWidth=i.gridHeight,i.translateY=a-10,void(i.translateX=r+(i.svgWidth-i.gridWidth)/2);switch(e.config.legend.position){case"bottom":i.gridHeight=i.svgHeight-t.height-35,i.gridWidth=i.gridHeight,i.translateY=a-20,i.translateX=r+(i.svgWidth-i.gridWidth)/2;break;case"top":i.gridHeight=i.svgHeight-t.height-35,i.gridWidth=i.gridHeight,i.translateY=t.height+a,i.translateX=r+(i.svgWidth-i.gridWidth)/2;break;case"left":i.gridWidth=i.svgWidth-t.width-n,i.gridHeight=i.gridWidth,i.translateY=a,i.translateX=r+t.width+n;break;case"right":i.gridWidth=i.svgWidth-t.width-n-5,i.gridHeight=i.gridWidth,i.translateY=a,i.translateX=r+10;break;default:throw new Error("Legend position not supported")}}},{key:"setGridXPosForDualYAxis",value:function(t,e){var i=this.w;i.config.yaxis.map(function(n,a){-1===i.globals.ignoreYAxisIndexes.indexOf(a)&&!i.config.yaxis[a].floating&&i.config.yaxis[a].show&&n.opposite&&(i.globals.translateX=i.globals.translateX-(e[a].width+t[a].width)-parseInt(i.config.yaxis[a].labels.style.fontSize)/1.2-12)})}},{key:"titleSubtitleOffset",value:function(){var t=this.w,e=t.globals,i=this.isSparkline?0:10;void 0!==t.config.title.text?i+=t.config.title.margin:i+=this.isSparkline?0:5,void 0!==t.config.subtitle.text?i+=t.config.subtitle.margin:i+=this.isSparkline?0:5,t.config.legend.show&&"bottom"===t.config.legend.position&&!t.config.legend.floating&&1<t.config.series.length&&(i+=10);var n=this.getTitleSubtitleCoords("title"),a=this.getTitleSubtitleCoords("subtitle");e.gridHeight=e.gridHeight-n.height-a.height-i,e.translateY=e.translateY+n.height+a.height+i}},{key:"getTotalYAxisWidth",value:function(){var t=this.w,e=0,i=10,n=function(e){return-1<t.globals.ignoreYAxisIndexes.indexOf(e)};return t.globals.yLabelsCoords.map(function(a,r){var o=t.config.yaxis[r].floating;0<a.width&&!o?(e=e+a.width+i,n(r)&&(e=e-a.width-i)):e+=o||!t.config.yaxis[r].show?0:5}),t.globals.yTitleCoords.map(function(a,r){var o=t.config.yaxis[r].floating;i=parseInt(t.config.yaxis[r].title.style.fontSize),0<a.width&&!o?(e=e+a.width+i,n(r)&&(e=e-a.width-i)):e+=o||!t.config.yaxis[r].show?0:5}),e}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var t,e=this.w,i=e.globals.timelineLabels.slice().map(function(t){return t.value}),n=i.reduce(function(t,e){return void 0===t?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):t.length>e.length?t:e},0);return 1.05*(t=new a.default(this.ctx).getTextRects(n,e.config.xaxis.labels.style.fontSize)).width*i.length>e.globals.gridWidth&&0!==e.config.xaxis.labels.rotate&&(e.globals.overlappingXLabels=!0),t}},{key:"getxAxisLabelsCoords",value:function(){var t=this.w,e=t.globals.labels.slice(),i={width:0,height:0};if(0<t.globals.timelineLabels.length){var n=this.getxAxisTimeScaleLabelsCoords();i={width:n.width,height:n.height}}else{var o="left"!==t.config.legend.position||"right"!==t.config.legend.position||t.config.legend.floating?0:this.lgRect.width,s=e.reduce(function(t,e){return t.length>e.length?t:e},0),l=t.globals.xLabelFormatter;s=new r.default(this.ctx).xLabelFormat(l,s);var c=new a.default(this.ctx),d=c.getTextRects(s,t.config.xaxis.labels.style.fontSize);(i={width:d.width,height:d.height}).width*e.length>t.globals.svgWidth-o-this.yAxisWidth&&0!==t.config.xaxis.labels.rotate?this.isBarHorizontal||(t.globals.rotateXLabels=!0,d=c.getTextRects(s,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate("+t.config.xaxis.labels.rotate+" 0 0)",!1),i.height=d.height/1.66):t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(i={width:0,height:0}),{width:i.width,height:i.height}}},{key:"getyAxisLabelsCoords",value:function(){var t=this,e=this.w,i=[],n=10;return e.config.yaxis.map(function(r,o){if(r.show&&r.labels.show&&e.globals.yAxisScale[o].result.length){var s=e.globals.yLabelFormatters[o],l=s(e.globals.yAxisScale[o].niceMax,-1);void 0!==l&&0!==l.length||(l=e.globals.yAxisScale[o].niceMax),t.isBarHorizontal&&(n=0,l=s(l=e.globals.labels.slice().reduce(function(t,e){return t.length>e.length?t:e},0),-1));var c=new a.default(t.ctx).getTextRects(l,r.labels.style.fontSize);i.push({width:c.width+n,height:c.height})}else i.push({width:0,height:0})}),i}},{key:"getxAxisTitleCoords",value:function(){var t=this.w,e=0,i=0;if(void 0!==t.config.xaxis.title.text){var n=new a.default(this.ctx).getTextRects(t.config.xaxis.title.text,t.config.xaxis.title.style.fontSize);e=n.width,i=n.height}return{width:e,height:i}}},{key:"getyAxisTitleCoords",value:function(){var t=this,e=this.w,i=[];return e.config.yaxis.map(function(e,n){if(e.show&&void 0!==e.title.text){var r=new a.default(t.ctx).getTextRects(e.title.text,e.title.style.fontSize,e.title.style.fontFamily,"rotate(-90 0 0)",!1);i.push({width:r.width,height:r.height})}else i.push({width:0,height:0})}),i}},{key:"getTitleSubtitleCoords",value:function(t){var e=this.w,i=0,n=0,a="title"===t?e.config.title.floating:e.config.subtitle.floating,r=e.globals.dom.baseEl.querySelector(".apexcharts-"+t+"-text");if(null!==r&&!a){var o=r.getBoundingClientRect();i=o.width,n=e.globals.axisCharts?o.height+5:o.height}return{width:i,height:n}}},{key:"getLegendsRect",value:function(){var t=this.w,e=t.globals.dom.baseEl.querySelector(".apexcharts-legend"),i=Object.assign({},o.default.getBoundingClientRect(e));return null!==e&&!t.config.legend.floating&&t.config.legend.show?this.lgRect={x:i.x,y:i.y,height:i.height,width:0===i.height?0:i.width}:this.lgRect={x:0,y:0,height:0,width:0},this.lgRect}}]),t}();t.exports=c},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=s(i(0)),r=s(i(50)),o=s(i(33));function s(t){return t&&t.__esModule?t:{default:t}}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w;var i=this.w;this.xaxisLabels=i.globals.labels.slice(),0<i.globals.timelineLabels.length&&(this.xaxisLabels=i.globals.timelineLabels.slice()),this.drawnLabels=[],"top"===i.config.xaxis.position?this.offY=0:this.offY=i.globals.gridHeight+1,this.offY=this.offY+i.config.xaxis.axisBorder.offsetY,this.xaxisFontSize=i.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=i.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=i.config.xaxis.labels.style.colors,this.xaxisBorderWidth=i.config.xaxis.axisBorder.width,-1<this.xaxisBorderWidth.indexOf("%")?this.xaxisBorderWidth=i.globals.gridWidth*parseInt(this.xaxisBorderWidth)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth),this.xaxisBorderHeight=i.config.xaxis.axisBorder.height,this.yaxis=i.config.yaxis[0]}return n(t,[{key:"drawXaxis",value:function(){var t=this.w,e=new a.default(this.ctx),i=e.group({class:"apexcharts-xaxis",transform:"translate("+t.config.xaxis.offsetX+", "+t.config.xaxis.offsetY+")"}),n=e.group({class:"apexcharts-xaxis-texts-g",transform:"translate("+t.globals.translateXAxisX+", "+t.globals.translateXAxisY+")"});i.add(n);for(var r=void 0,s=t.globals.padHorizontal,l=[],c=0;c<this.xaxisLabels.length;c++)l.push(this.xaxisLabels[c]);s="line"===t.config.chart.type||"area"===t.config.chart.type?t.globals.isXNumeric?s+(r=t.globals.gridWidth/(l.length-1))/2+t.config.xaxis.labels.offsetX:s+(r=t.globals.noLabelsProvided?t.globals.gridWidth/this.xaxisLabels.length:t.globals.gridWidth/l.length)+t.config.xaxis.labels.offsetX:t.globals.isXNumeric?"bar"!==t.config.chart.type?s+(r=t.globals.gridWidth/(this.xaxisLabels.length-1))/2+t.config.xaxis.labels.offsetX:s+(r=t.globals.gridWidth/t.globals.labels.length)/2+t.config.xaxis.labels.offsetX:t.globals.noLabelsProvided&&"bar"!==t.config.chart.type?s+(r=t.globals.gridWidth/this.xaxisLabels.length)/2+t.config.xaxis.labels.offsetX:s+(r=t.globals.gridWidth/l.length)+t.config.xaxis.labels.offsetX;var d=t.globals.xLabelFormatter,u=t.config.xaxis.labels.formatter,h=l.length;if(t.config.xaxis.labels.show)for(var p=0;p<=h-1;p++){var f=void 0===l[p]?"":l[p],g=void 0;g=new o.default(this.ctx).xLabelFormat(d,f),void 0!==u&&(g=u(f,this.xaxisLabels[p],p));var m=s-r/2+t.config.xaxis.labels.offsetX;0<t.globals.timelineLabels.length&&(m=t.globals.timelineLabels[p].position,g=t.globals.timelineLabels[p].value),(0===(g=g.toString()).indexOf("NaN")||"undefined"===g||0===g.toLowerCase().indexOf("invalid")||0<=g.toLowerCase().indexOf("infinity")||0<=this.drawnLabels.indexOf(g)&&!t.config.xaxis.labels.showDuplicates)&&(g=""),this.drawnLabels.push(g);var v=28;t.globals.rotateXLabels&&(v=22);var y=e.drawText({x:m,y:this.offY+t.config.xaxis.labels.offsetY+v,text:"",textAnchor:"middle",fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[p]:this.xaxisForeColors,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});n.add(y),e.addTspan(y,g,this.xaxisFontFamily);var b=document.createElementNS(t.globals.svgNS,"title");b.textContent=g,y.node.appendChild(b),s+=r}if(void 0!==t.config.xaxis.title.text){var w=e.group({class:"apexcharts-xaxis-title"}),x=e.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.offY-parseInt(this.xaxisFontSize)+t.globals.xAxisLabelsHeight+t.config.xaxis.title.offsetY,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});w.add(x),i.add(w)}if(t.config.xaxis.axisBorder.show){var _=0;"bar"===t.config.chart.type&&t.globals.isXNumeric&&(_-=15);var k=e.drawLine(t.globals.padHorizontal+_+t.config.xaxis.axisBorder.offsetX,this.offY,this.xaxisBorderWidth,this.offY,t.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);i.add(k)}return i}},{key:"drawXaxisInversed",value:function(t){var e=this.w,i=new a.default(this.ctx),n=i.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:t}),o=i.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g"});n.add(o);for(var s,l=void 0,c=[],d=0;d<this.xaxisLabels.length;d++)c.push(this.xaxisLabels[d]);l=-(s=e.globals.gridHeight/c.length)/2.2;var u=e.globals.yLabelFormatters[0],h=e.config.yaxis[0].labels;if(h.show)for(var p=0;p<=c.length-1;p++){var f=void 0===c[p]?"":c[p];f=u(f);var g=i.drawText({x:h.offsetX-15,y:l+s+h.offsetY,text:f,textAnchor:"end",foreColor:h.style.color?h.style.color:h.style.colors[p],fontSize:h.style.fontSize,fontFamily:h.style.fontFamily,cssClass:"apexcharts-yaxis-label "+h.style.cssClass});o.add(g),l+=s}if(void 0!==e.config.yaxis[0].title.text){var m=i.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed"}),v=i.drawText({x:0,y:e.globals.gridHeight/2,text:e.config.yaxis[0].title.text,textAnchor:"middle",foreColor:e.config.yaxis[0].title.style.color,fontSize:e.config.yaxis[0].title.style.fontSize,fontFamily:e.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+e.config.yaxis[0].title.style.cssClass});m.add(v),n.add(m)}if(e.config.xaxis.axisBorder.show){var y=i.drawLine(e.globals.padHorizontal+e.config.xaxis.axisBorder.offsetX,this.offY,this.xaxisBorderWidth,this.offY,this.yaxis.axisBorder.color,0,this.xaxisBorderHeight);n.add(y),new r.default(this.ctx).drawAxisTicks(0,c.length,e.config.yaxis[0].axisBorder,e.config.yaxis[0].axisTicks,0,s,n)}return n}},{key:"drawXaxisTicks",value:function(t,e){var i=this.w,n=t;if(!(t<0||t>i.globals.gridWidth)){var r=this.offY+i.config.xaxis.axisTicks.offsetY,o=r+i.config.xaxis.axisTicks.height;if(i.config.xaxis.axisTicks.show){var s=new a.default(this.ctx).drawLine(t+i.config.xaxis.axisTicks.offsetX,r+i.config.xaxis.offsetY,n+i.config.xaxis.axisTicks.offsetX,o+i.config.xaxis.offsetY,i.config.xaxis.axisTicks.color);e.add(s),s.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var t=this.w,e=[],i=this.xaxisLabels.length,n=t.globals.padHorizontal;if(0<t.globals.timelineLabels.length)for(var a=0;a<i;a++)n=this.xaxisLabels[a].position,e.push(n);else for(var r=i,o=0;o<r;o++){var s=r;t.globals.isXNumeric&&"bar"!==t.config.chart.type&&(s-=1),n+=t.globals.gridWidth/s,e.push(n)}return e}},{key:"xAxisLabelCorrections",value:function(){var t=this.w,e=new a.default(this.ctx),i=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text"),r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),o=t.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text");if(t.globals.rotateXLabels||t.config.xaxis.labels.rotateAlways)for(var s=0;s<n.length;s++){var l=e.rotateAroundCenter(n[s]);l.y=l.y-1,l.x=l.x+1,n[s].setAttribute("transform","rotate("+t.config.xaxis.labels.rotate+" "+l.x+" "+l.y+")"),n[s].setAttribute("text-anchor","end"),i.setAttribute("transform","translate(0, -10)");var c=n[s].childNodes;t.config.xaxis.labels.trim&&e.placeTextWithEllipsis(c[0],c[0].textContent,t.config.xaxis.labels.maxHeight-40)}else for(var d=t.globals.gridWidth/t.globals.labels.length,u=0;u<n.length;u++){var h=n[u].childNodes;t.config.xaxis.labels.trim&&"bar"!==t.config.chart.type&&t.config.plotOptions.bar.horizontal&&e.placeTextWithEllipsis(h[0],h[0].textContent,d)}if(0<r.length){var p=r[r.length-1].getBBox(),f=r[0].getBBox();p.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),f.x+f.width>t.globals.gridWidth&&r[0].parentNode.removeChild(r[0]);for(var g=0;g<o.length;g++)e.placeTextWithEllipsis(o[g],o[g].textContent,t.config.yaxis[0].labels.maxWidth-2*parseInt(t.config.yaxis[0].title.style.fontSize)-20)}}}]),t}();t.exports=l},function(t,e,i){"use strict";var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(0),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.xaxisFontSize=this.w.config.xaxis.labels.style.fontSize,this.axisFontFamily=this.w.config.xaxis.labels.style.fontFamily,this.isBarHorizontal=!("bar"!==this.w.config.chart.type||!this.w.config.plotOptions.bar.horizontal),this.xaxisForeColors=this.w.config.xaxis.labels.style.colors,this.xAxisoffX=0,"bottom"===this.w.config.xaxis.position&&(this.xAxisoffX=this.w.globals.gridHeight)}return a(t,[{key:"drawYaxis",value:function(t,e){var i=this.w,n=new o.default(this.ctx),a=i.config.yaxis[e].labels.style.fontSize,r=i.config.yaxis[e].labels.style.fontFamily,s=n.group({class:"apexcharts-yaxis",rel:e,transform:"translate("+i.globals.translateYAxisX[e]+", 0)"});if(!i.config.yaxis[e].show)return s;var l=n.group({class:"apexcharts-yaxis-texts-g"});s.add(l);var c=i.globals.yAxisScale[e].result.length-1,d=i.globals.gridHeight/c+.1,u=i.globals.translateY,h=i.globals.yLabelFormatters[e];if(i.config.yaxis[e].labels.show)for(var p=c;0<=p;p--){var f=i.globals.yAxisScale[e].result[p];f=h(f,p);var g=20;i.config.yaxis[e].opposite&&(g*=-1),0===i.config.yaxis.length&&(g=20);var m=n.drawText({x:g,y:u+c/10+i.config.yaxis[e].labels.offsetY+1,text:f,textAnchor:i.config.yaxis[e].opposite?"start":"end",fontSize:a,fontFamily:r,foreColor:i.config.yaxis[e].labels.style.color,cssClass:"apexcharts-yaxis-label "+i.config.yaxis[e].labels.style.cssClass});l.add(m),u+=d}if(void 0!==i.config.yaxis[e].title.text){var v=n.group({class:"apexcharts-yaxis-title"}),y=0;i.config.yaxis[e].opposite&&(y=i.globals.translateYAxisX[e]);var b=n.drawText({x:y,y:i.globals.gridHeight/2+i.globals.translateY,text:i.config.yaxis[e].title.text,textAnchor:"end",foreColor:i.config.yaxis[e].title.style.color,fontSize:i.config.yaxis[e].title.style.fontSize,fontFamily:i.config.yaxis[e].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+i.config.yaxis[e].title.style.cssClass});v.add(b),s.add(v)}var w=i.config.yaxis[e].axisBorder;if(w.show){var x=31+w.offsetX;i.config.yaxis[e].opposite&&(x=-31-w.offsetX);var _=n.drawLine(x,i.globals.translateY+w.offsetY-2,x,i.globals.gridHeight+i.globals.translateY+w.offsetY+2,w.color);s.add(_),this.drawAxisTicks(x,c,w,i.config.yaxis[e].axisTicks,e,d,s)}return s}},{key:"drawYaxisInversed",value:function(t){var e=this.w,i=new o.default(this.ctx),n=i.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),a=i.group({class:"apexcharts-xaxis-texts-g",transform:"translate("+e.globals.translateXAxisX+", "+e.globals.translateXAxisY+")"});n.add(a);var r=e.globals.yAxisScale[t].result.length-1,s=e.globals.gridWidth/r+.1,l=s+e.config.xaxis.labels.offsetX,c=e.globals.xLabelFormatter;if(e.config.xaxis.labels.show)for(var d=r;0<=d;d--){var u=e.globals.yAxisScale[t].result[d];u=c(u,d);var h=i.drawText({x:e.globals.gridWidth+e.globals.padHorizontal-(l-s+e.config.xaxis.labels.offsetX),y:this.xAxisoffX+e.config.xaxis.labels.offsetY+30,text:"",textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[t]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,cssClass:"apexcharts-xaxis-label "+e.config.xaxis.labels.style.cssClass});a.add(h),h.tspan(u);var p=document.createElementNS(e.globals.svgNS,"title");p.textContent=u,h.node.appendChild(p),l+=s}if(void 0!==e.config.xaxis.title.text){var f=i.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),g=i.drawText({x:e.globals.gridWidth/2,y:this.xAxisoffX+parseInt(this.xaxisFontSize)+parseInt(e.config.xaxis.title.style.fontSize)+20,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});f.add(g),n.add(f)}var m=e.config.yaxis[t].axisBorder;if(m.show){var v=i.drawLine(e.globals.padHorizontal+m.offsetX,1+m.offsetY,e.globals.padHorizontal+m.offsetX,e.globals.gridHeight+m.offsetY,m.color);n.add(v)}return n}},{key:"drawAxisTicks",value:function(t,e,i,n,a,r,s){var l=this.w,c=new o.default(this.ctx),d=l.globals.translateY;if(n.show){!0===l.config.yaxis[a].opposite&&(t+=n.width);for(var u=e;0<=u;u--){var h=d+e/10+l.config.yaxis[a].labels.offsetY-1;this.isBarHorizontal&&(h=r*u);var p=c.drawLine(t+i.offsetX-n.width+n.offsetX,h+n.offsetY,t+i.offsetX+n.offsetX,h+n.offsetY,i.color);s.add(p),d+=r}}}},{key:"yAxisTitleRotate",value:function(t,e){var i=this.w,n=new o.default(this.ctx),a={width:0,height:0},r={width:0,height:0},s=i.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='"+t+"'] .apexcharts-yaxis-texts-g");null!==s&&(a=s.getBoundingClientRect());var l=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='"+t+"'] .apexcharts-yaxis-title text");if(null!==l&&(r=l.getBoundingClientRect()),null!==l){var c=this.xPaddingForYAxisTitle(t,a,r,e);l.setAttribute("x",c.xPos-(e?10:0))}if(null!==l){var d=n.rotateAroundCenter(l);e?l.setAttribute("transform","rotate(90 "+d.x+" "+d.y+")"):l.setAttribute("transform","rotate(-90 "+d.x+" "+d.y+")")}}},{key:"xPaddingForYAxisTitle",value:function(t,e,i,n){var a=this.w,r=0,o=0,s=20;return n?(o=e.width+a.config.yaxis[t].title.offsetX+s+i.width/2-15,0===(r+=1)&&(o-=15)):(o=-1*e.width+a.config.yaxis[t].title.offsetX+s+i.width/2-15,this.isBarHorizontal&&(s=25,o=-1*e.width-a.config.yaxis[t].title.offsetX-s)),{xPos:o,padd:s}}},{key:"setYAxisXPosition",value:function(t,e){var i=this,n=this.w,a=0,r=0,o=0,s=1;this.multipleYs=!1,1<n.config.yaxis.length&&(this.multipleYs=!0),n.config.yaxis.map(function(l,c){var d=t[c].width+e[c].width,u=i.multipleYs&&0<e[c].width?20:8,h=i.xPaddingForYAxisTitle(c,{width:t[c].width},{width:e[c].width},l.opposite);if(1<n.config.yaxis.length?d+=Math.abs(h.padd):void 0===l.title.text?d=d+Math.abs(h.padd)+15:d+=Math.abs(h.padd),l.opposite)r=n.globals.gridWidth+n.globals.translateX+s+30+(n.globals.series.length-n.globals.collapsedSeries.length),n.globals.collapsedSeries.forEach(function(t){t.index===c&&(s-=d)}),s+=d,n.globals.translateYAxisX[c]=r-l.labels.offsetX;else{var p=d+5;-1<n.globals.ignoreYAxisIndexes.indexOf(c)&&(p=0),a=i.multipleYs?n.globals.translateX-d-o+u+parseInt(n.config.yaxis[c].labels.style.fontSize)+l.labels.offsetX:n.globals.translateX-d+t[c].width+l.labels.offsetX,o+=p,n.globals.translateYAxisX[c]=a}})}}]),t}();t.exports=s},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=l(i(143)),o=l(i(1)),s=l(i(52));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.opts=e}return a(t,[{key:"init",value:function(){var t=this.opts,e=new s.default,i=new r.default(t);this.chartType=t.chart.type,"histogram"===this.chartType&&(t.chart.type="bar",t=o.default.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},t)),t.series=this.checkEmptySeries(t.series),t=this.extendYAxis(t),t=this.extendAnnotations(t);var a=e.init(),l={};if(t&&"object"===(void 0===t?"undefined":n(t))){var c={};switch(this.chartType){case"line":c=i.line();break;case"area":c=i.area();break;case"bar":c=i.bar();break;case"candlestick":c=i.candlestick();break;case"histogram":c=i.bar();break;case"bubble":c=i.bubble();break;case"scatter":c=i.scatter();break;case"heatmap":c=i.heatmap();break;case"pie":c=i.pie();break;case"donut":c=i.donut();break;case"radar":c=i.radar();break;case"radialBar":c=i.radialBar();break;default:c=i.line()}t.chart.brush&&t.chart.brush.enabled&&(c=i.brush(c)),t.chart.stacked&&"100%"===t.chart.stackType&&i.stacked100(),(t.chart.sparkline&&t.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(c=i.sparkline(c)),l=o.default.extend(a,c)}var d=o.default.extend(l,window.Apex);return a=o.default.extend(d,t),a=this.handleUserInputErrors(a)}},{key:"extendYAxis",value:function(t){var e=new s.default;return void 0===t.yaxis&&(t.yaxis={}),t.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(t.yaxis=o.default.extend(t.yaxis,window.Apex.yaxis)),t.yaxis.constructor!==Array?t.yaxis=[o.default.extend(e.yAxis,t.yaxis)]:t.yaxis=o.default.extendArray(t.yaxis,e.yAxis),t}},{key:"extendAnnotations",value:function(t){return void 0===t.annotations&&(t.annotations={},t.annotations.yaxis=[],t.annotations.xaxis=[],t.annotations.points=[]),t=this.extendYAxisAnnotations(t),t=this.extendXAxisAnnotations(t),t=this.extendPointAnnotations(t)}},{key:"extendYAxisAnnotations",value:function(t){var e=new s.default;return t.annotations.yaxis=o.default.extendArray(void 0!==t.annotations.yaxis?t.annotations.yaxis:[],e.yAxisAnnotation),t}},{key:"extendXAxisAnnotations",value:function(t){var e=new s.default;return t.annotations.xaxis=o.default.extendArray(void 0!==t.annotations.xaxis?t.annotations.xaxis:[],e.xAxisAnnotation),t}},{key:"extendPointAnnotations",value:function(t){var e=new s.default;return t.annotations.points=o.default.extendArray(void 0!==t.annotations.points?t.annotations.points:[],e.pointAnnotation),t}},{key:"checkEmptySeries",value:function(t){return 0===t.length?[{data:[]}]:t}},{key:"handleUserInputErrors",value:function(t){var e=t;if(e.tooltip.shared&&e.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false");if(e.chart.scroller&&console.warn("Scroller has been deprecated since v2.0.0. Please remove the configuration for chart.scroller"),"bar"===e.chart.type&&e.plotOptions.bar.horizontal){if("datetime"===e.xaxis.type)throw new Error("Timelines on bars are not supported yet. Switch to column chart by setting plotOptions.bar.horizontal=false");if(1<e.yaxis.length)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");e.xaxis.tooltip.enabled=!1,e.yaxis[0].tooltip.enabled=!1,e.chart.zoom.enabled=!1}return"bar"===e.chart.type&&e.tooltip.shared&&("barWidth"===e.xaxis.crosshairs.width&&1<e.series.length&&(console.warn('crosshairs.width = "barWidth" is only supported in single series, not in a multi-series barChart'),e.xaxis.crosshairs.width="tickWidth"),e.plotOptions.bar.horizontal&&(e.states.hover.type="none"),e.tooltip.followCursor||(console.warn("followCursor option in shared columns cannot be turned off"),e.tooltip.followCursor=!0)),Array.isArray(e.stroke.width)&&"line"!==e.chart.type&&"area"!==e.chart.type&&(console.warn("stroke.width option accepts array only for line and area charts. Reverted back to Number"),e.stroke.width=e.stroke.width[0]),e}}]),t}();t.exports=c},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=i(83),r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.yAxis={show:!0,opposite:!1,logarithmic:!1,logBase:10,tickAmount:void 0,max:void 0,min:void 0,decimalsInFloat:2,floating:!1,seriesName:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,style:{colors:[],fontSize:"11px",fontFamily:void 0,cssClass:"apexcharts-yaxis-label"},formatter:void 0},axisBorder:{show:!1,color:"#78909C",offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#78909C",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"apexcharts-yaxis-title"}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.xAxisAnnotation={x:0,strokeDashArray:4,borderColor:"#c2c2c2",offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"apexcharts-xaxis-annotation-label",padding:{left:5,right:5,top:2,bottom:2}}}},this.yAxisAnnotation={y:0,strokeDashArray:4,borderColor:"#c2c2c2",offsetX:0,offsetY:0,yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"apexcharts-yaxis-annotation-label",padding:{left:5,right:5,top:0,bottom:2}}}},this.pointAnnotation={x:0,y:null,yAxisIndex:0,seriesIndex:0,marker:{size:0,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2},label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"middle",offsetX:0,offsetY:-15,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"apexcharts-point-annotation-label",padding:{left:5,right:5,top:0,bottom:2}}}}}return n(t,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[a],defaultLocale:"en",dropShadow:{enabled:!1,enabledSeries:void 0,top:2,left:2,blur:4,opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,legendClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,zoomed:void 0,scrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",id:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!1,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0},autoSelected:"zoom"},type:"line",updateOnElementResize:!1,width:"100%",zoom:{enabled:!0,type:"x",zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{horizontal:!1,endingShape:"flat",columnWidth:"70%",barHeight:"70%",distributed:!1,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1},dataLabels:{position:"top"}},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,distributed:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{size:void 0,inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,color:void 0,offsetY:0},value:{show:!0,fontSize:"14px",fontFamily:void 0,color:void 0,offsetY:16,formatter:function(t){return t+"%"}},total:{show:!1,label:"Total",color:"#373d3f",formatter:function(t){return t.globals.seriesTotals.reduce(function(t,e){return t+e},0)/t.globals.series.length+"%"}}}},pie:{size:void 0,customScale:1,offsetX:0,offsetY:0,expandOnClick:!0,dataLabels:{offset:0},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,color:void 0,offsetY:-10},value:{show:!0,fontSize:"20px",fontFamily:void 0,color:void 0,offsetY:10,formatter:function(t){return t}},total:{show:!1,label:"Total",color:"#373d3f",formatter:function(t){return t.globals.seriesTotals.reduce(function(t,e){return t+e},0)}}}}},radar:{size:void 0,customScale:1,offsetX:0,offsetY:0,polygons:{strokeColor:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,formatter:function(t){return t},textAnchor:"middle",offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,colors:void 0},dropShadow:{enabled:!1,top:1,left:1,blur:1,opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100]},image:{src:[],width:void 0,height:void 0},pattern:{style:"sqaures",width:6,height:6,strokeWidth:2}},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1,animate:!1}},yaxis:{lines:{show:!0,animate:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:10}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",fontSize:"12px",fontFamily:void 0,width:void 0,height:void 0,formatter:void 0,offsetX:-20,offsetY:0,labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0},itemMargin:{horizontal:0,vertical:5},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColor:"#fff",strokeWidth:2,strokeOpacity:.9,fillOpacity:1,shape:"circle",radius:2,offsetX:0,offsetY:0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.15}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.35}}},title:{text:void 0,align:"left",margin:10,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:10,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0},tooltip:{enabled:!0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(t){return t}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],offsetX:0,offsetY:0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!0,minHeight:void 0,maxHeight:120,showDuplicates:!1,style:{colors:[],fontSize:"12px",fontFamily:void 0,cssClass:"apexcharts-xaxis-label"},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss"}},axisBorder:{show:!0,color:"#78909C",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#78909C",height:6,offsetX:0,offsetY:0},tickAmount:void 0,min:void 0,max:void 0,range:void 0,floating:!1,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontFamily:void 0,cssClass:"apexcharts-xaxis-title"}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:0,dashArray:0},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0}},yaxis:this.yAxis,theme:{palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),t}();e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(79),o=(n=r)&&n.__esModule?n:{default:n};function s(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 l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return a(t,[{key:"isValidDate",value:function(t){return!isNaN(this.parseDate(t))}},{key:"getUTCTimeStamp",value:function(t){return new Date(new Date(t).toUTCString().substr(0,25)).getTime()}},{key:"parseDate",value:function(t){var e=Date.parse(t);if(!isNaN(e))return this.getUTCTimeStamp(t);var i=Date.parse(t.replace(/-/g,"/").replace(/[a-z]+/gi," "));return i=this.getUTCTimeStamp(i)}},{key:"treatAsUtc",value:function(t){var e=new Date(t);return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e}},{key:"formatDate",value:function(t,e){var i=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],n=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],a=this.w.globals.locale,r=["\0"].concat(s(a.months)),o=[""].concat(s(a.shortMonths)),l=[""].concat(s(a.days)),c=[""].concat(s(a.shortDays));function d(t,e){var i=t+"";for(e=e||2;i.length<e;)i="0"+i;return i}n&&(t=this.treatAsUtc(t));var u=i?t.getUTCFullYear():t.getFullYear();e=(e=(e=e.replace(/(^|[^\\])yyyy+/g,"$1"+u)).replace(/(^|[^\\])yy/g,"$1"+u.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+u);var h=(i?t.getUTCMonth():t.getMonth())+1;e=(e=(e=(e=e.replace(/(^|[^\\])MMMM+/g,"$1"+r[0])).replace(/(^|[^\\])MMM/g,"$1"+o[0])).replace(/(^|[^\\])MM/g,"$1"+d(h))).replace(/(^|[^\\])M/g,"$1"+h);var p=i?t.getUTCDate():t.getDate();e=(e=(e=(e=e.replace(/(^|[^\\])dddd+/g,"$1"+l[0])).replace(/(^|[^\\])ddd/g,"$1"+c[0])).replace(/(^|[^\\])dd/g,"$1"+d(p))).replace(/(^|[^\\])d/g,"$1"+p);var f=i?t.getUTCHours():t.getHours(),g=12<f?f-12:0===f?12:f;e=(e=(e=(e=e.replace(/(^|[^\\])HH+/g,"$1"+d(f))).replace(/(^|[^\\])H/g,"$1"+f)).replace(/(^|[^\\])hh+/g,"$1"+d(g))).replace(/(^|[^\\])h/g,"$1"+g);var m=i?t.getUTCMinutes():t.getMinutes();e=(e=e.replace(/(^|[^\\])mm+/g,"$1"+d(m))).replace(/(^|[^\\])m/g,"$1"+m);var v=i?t.getUTCSeconds():t.getSeconds();e=(e=e.replace(/(^|[^\\])ss+/g,"$1"+d(v))).replace(/(^|[^\\])s/g,"$1"+v);var y=i?t.getUTCMilliseconds():t.getMilliseconds();e=e.replace(/(^|[^\\])fff+/g,"$1"+d(y,3)),y=Math.round(y/10),e=e.replace(/(^|[^\\])ff/g,"$1"+d(y)),y=Math.round(y/10);var b=f<12?"AM":"PM";e=(e=(e=e.replace(/(^|[^\\])f/g,"$1"+y)).replace(/(^|[^\\])TT+/g,"$1"+b)).replace(/(^|[^\\])T/g,"$1"+b.charAt(0));var w=b.toLowerCase();e=(e=e.replace(/(^|[^\\])tt+/g,"$1"+w)).replace(/(^|[^\\])t/g,"$1"+w.charAt(0));var x=-t.getTimezoneOffset(),_=i||!x?"Z":0<x?"+":"-";if(!i){var k=(x=Math.abs(x))%60;_+=d(Math.floor(x/60))+":"+d(k)}e=e.replace(/(^|[^\\])K/g,"$1"+_);var S=(i?t.getUTCDay():t.getDay())+1;return e=(e=(e=(e=(e=e.replace(new RegExp(l[0],"g"),l[S])).replace(new RegExp(c[0],"g"),c[S])).replace(new RegExp(r[0],"g"),r[h])).replace(new RegExp(o[0],"g"),o[h])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(t,e){var i=this.w;void 0!==i.config.xaxis.min&&(t=i.config.xaxis.min),void 0!==i.config.xaxis.max&&(e=i.config.xaxis.max);var n=new Date(t).getFullYear(),a=new Date(e).getFullYear(),r=new Date(t).getMonth(),o=new Date(e).getMonth(),s=new Date(t).getDate(),l=new Date(e).getDate(),c=new Date(t).getHours(),d=new Date(e).getHours();return{minMinute:new Date(t).getMinutes(),maxMinute:new Date(e).getMinutes(),minHour:c,maxHour:d,minDate:s,maxDate:l,minMonth:r,maxMonth:o,minYear:n,maxYear:a}}},{key:"isLeapYear",value:function(t){return t%4==0&&t%100!=0||t%400==0}},{key:"calculcateLastDaysOfMonth",value:function(t,e,i){return this.determineDaysOfMonths(t,e)-i}},{key:"determineDaysOfYear",value:function(t){var e=365;return this.isLeapYear(t)&&(e=366),e}},{key:"determineRemainingDaysOfYear",value:function(t,e,i){var n=this.daysCntOfYear[e]+i;return 1<e&&this.isLeapYear()&&n++,n}},{key:"determineDaysOfMonths",value:function(t,e){var i=30;switch(t=new o.default(this.ctx).monthMod(t),!0){case this.months30.includes(t):2===t&&(i=this.isLeapYear(e)?29:28);break;case this.months31.includes(t):default:i=31}return i}}]),t}();e.default=l},function(t,e,i){"use strict";var n=i(17),a=i(24),r=i(112);t.exports=function(t){return function(e,i,o){var s,l=n(e),c=a(l.length),d=r(o,c);if(t&&i!=i){for(;d<c;)if((s=l[d++])!=s)return!0}else for(;d<c;d++)if((t||d in l)&&l[d]===i)return t||d||0;return!t&&-1}}},function(t,e,i){"use strict";var n=i(3).document;t.exports=n&&n.documentElement},function(t,e,i){"use strict";t.exports=!i(12)&&!i(20)(function(){return 7!=Object.defineProperty(i(37)("div"),"a",{get:function(){return 7}}).a})},function(t,e,i){"use strict";var n=i(21),a=i(2)("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||r[a]===t)}},function(t,e,i){"use strict";var n=i(19);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){"use strict";var n=i(8);t.exports=function(t,e,i,a){try{return a?e(n(i)[0],i[1]):e(i)}catch(e){var r=t.return;throw void 0!==r&&n(r.call(t)),e}}},function(t,e,i){"use strict";var n=i(22),a=i(6),r=i(16),o=i(14),s=i(21),l=i(100),c=i(30),d=i(107),u=i(2)("iterator"),h=!([].keys&&"next"in[].keys()),p="values",f=function(){return this};t.exports=function(t,e,i,g,m,v,y){l(i,e,g);var b,w,x,_=function(t){if(!h&&t in C)return C[t];switch(t){case"keys":case p:return function(){return new i(this,t)}}return function(){return new i(this,t)}},k=e+" Iterator",S=m==p,M=!1,C=t.prototype,T=C[u]||C["@@iterator"]||m&&C[m],D=T||_(m),L=m?S?_("entries"):D:void 0,E="Array"==e&&C.entries||T;if(E&&(x=d(E.call(new t)))!==Object.prototype&&x.next&&(c(x,k,!0),n||"function"==typeof x[u]||o(x,u,f)),S&&T&&T.name!==p&&(M=!0,D=function(){return T.call(this)}),n&&!y||!h&&!M&&C[u]||o(C,u,D),s[e]=D,s[k]=f,m)if(b={values:S?D:_(p),keys:v?D:_("keys"),entries:L},y)for(w in b)w in C||r(C,w,b[w]);else a(a.P+a.F*(h||M),e,b);return b}},function(t,e,i){"use strict";var n=i(2)("iterator"),a=!1;try{var r=[7][n]();r.return=function(){a=!0},Array.from(r,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!a)return!1;var i=!1;try{var r=[7],o=r[n]();o.next=function(){return{done:i=!0}},r[n]=function(){return o},t(r)}catch(t){}return i}},function(t,e,i){"use strict";var n=i(8),a=i(104),r=i(38),o=i(42)("IE_PROTO"),s=function(){},l="prototype",c=function(){var t,e=i(37)("iframe"),n=r.length;for(e.style.display="none",i(55).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;n--;)delete c[l][r[n]];return c()};t.exports=Object.create||function(t,e){var i;return null!==t?(s[l]=n(t),i=new s,s[l]=null,i[o]=t):i=c(),void 0===e?i:a(i,e)}},function(t,e,i){"use strict";var n=i(65),a=i(38).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,a)}},function(t,e,i){"use strict";e.f=Object.getOwnPropertySymbols},function(t,e,i){"use strict";var n=i(13),a=i(17),r=i(54)(!1),o=i(42)("IE_PROTO");t.exports=function(t,e){var i,s=a(t),l=0,c=[];for(i in s)i!=o&&n(s,i)&&c.push(i);for(;e.length>l;)n(s,i=e[l++])&&(~r(c,i)||c.push(i));return c}},function(t,e,i){"use strict";t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,i){"use strict";var n=i(8),a=i(9),r=i(40);t.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var i=r.f(t);return(0,i.resolve)(e),i.promise}},function(t,e,i){"use strict";var n=i(8),a=i(18),r=i(2)("species");t.exports=function(t,e){var i,o=n(t).constructor;return void 0===o||null==(i=n(o)[r])?e:a(i)}},function(t,e,i){"use strict";var n,a,r,o=i(15),s=i(99),l=i(55),c=i(37),d=i(3),u=d.process,h=d.setImmediate,p=d.clearImmediate,f=d.MessageChannel,g=d.Dispatch,m=0,v={},y="onreadystatechange",b=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},w=function(t){b.call(t.data)};h&&p||(h=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return v[++m]=function(){s("function"==typeof t?t:Function(t),e)},n(m),m},p=function(t){delete v[t]},"process"==i(19)(u)?n=function(t){u.nextTick(o(b,t,1))}:g&&g.now?n=function(t){g.now(o(b,t,1))}:f?(r=(a=new f).port2,a.port1.onmessage=w,n=o(r.postMessage,r,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(n=function(t){d.postMessage(t+"","*")},d.addEventListener("message",w,!1)):n=y in c("script")?function(t){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(t)}}:function(t){setTimeout(o(b,t,1),0)}),t.exports={set:h,clear:p}},function(t,e,i){"use strict";e.f=i(2)},function(t,e,i){"use strict";var n=i(35),a=i(2)("iterator"),r=i(21);t.exports=i(4).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||r[n(t)]}},function(t,e,i){"use strict";var n=i(35),a={};a[i(2)("toStringTag")]="z",a+""!="[object z]"&&i(16)(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},function(t,e,i){"use strict";var n=i(111)(!0);i(60)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=l(i(11)),r=l(i(1)),o=l(i(0)),s=l(i(5));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels;var i=this.w;this.lineColorArr=void 0!==i.globals.stroke.colors?i.globals.stroke.colors:i.globals.colors,this.defaultSize=i.globals.svgHeight<i.globals.svgWidth?i.globals.svgHeight-35:i.globals.gridWidth,this.centerY=this.defaultSize/2,this.centerX=i.globals.gridWidth/2,this.fullAngle=360,this.size=0,this.donutSize=0,this.sliceLabels=[],this.prevSectorAngleArr=[]}return n(t,[{key:"draw",value:function(t){for(var e=this.w,i=new o.default(this.ctx),n=i.group({class:"apexcharts-pie"}),a=0,s=0;s<t.length;s++)a+=r.default.negToZero(t[s]);var l=[],c=i.group();0===a&&(a=1e-5);for(var d=0;d<t.length;d++){var u=this.fullAngle*r.default.negToZero(t[d])/a;l.push(u)}if(e.globals.dataChanged){for(var h=0,p=0;p<e.globals.previousPaths.length;p++)h+=r.default.negToZero(e.globals.previousPaths[p]);for(var f=void 0,g=0;g<e.globals.previousPaths.length;g++)f=this.fullAngle*r.default.negToZero(e.globals.previousPaths[g])/h,this.prevSectorAngleArr.push(f)}this.size=this.defaultSize/2.05-e.config.stroke.width-e.config.chart.dropShadow.blur,void 0!==e.config.plotOptions.pie.size&&(this.size=e.config.plotOptions.pie.size),this.donutSize=this.size*parseInt(e.config.plotOptions.pie.donut.size)/100;var m=e.config.plotOptions.pie.customScale,v=e.globals.gridWidth/2,y=e.globals.gridHeight/2,b=v-e.globals.gridWidth/2*m,w=y-e.globals.gridHeight/2*m;if(this.donutDataLabels.show){var x=this.renderInnerDataLabels(this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show,translateX:b,translateY:w-25});n.add(x)}if("donut"===e.config.chart.type){var _=i.drawCircle(this.donutSize);_.attr({cx:this.centerX,cy:this.centerY,fill:e.config.plotOptions.pie.donut.background}),c.add(_)}var k=this.drawArcs(l,t);return this.sliceLabels.forEach(function(t){k.add(t)}),c.attr({transform:"translate("+b+", "+(w-5)+") scale("+m+")"}),n.attr({"data:innerTranslateX":b,"data:innerTranslateY":w-25}),c.add(k),n.add(c),n}},{key:"drawArcs",value:function(t,e){var i=this.w,n=new s.default(this.ctx),l=new o.default(this.ctx),c=new a.default(this.ctx),d=l.group(),u=0,h=0,p=0,f=0;this.strokeWidth=i.config.stroke.show?i.config.stroke.width:0;for(var g=0;g<t.length;g++){var m=l.group({class:"apexcharts-series apexcharts-pie-series "+i.globals.seriesNames[g].toString().replace(/ /g,"-"),id:"apexcharts-series-"+g,rel:g+1});d.add(m),h=f,p=(u=p)+t[g],f=h+this.prevSectorAngleArr[g];var v=p-u,y=c.fillPath(m,{seriesNumber:g,size:this.size}),b=this.getChangedPath(h,f),w=l.drawPath({d:b,stroke:this.lineColorArr instanceof Array?this.lineColorArr[g]:this.lineColorArr,strokeWidth:this.strokeWidth,fill:y,fillOpacity:i.config.fill.opacity,classes:"apexcharts-pie-area"});if(w.attr({id:"apexcharts-pieSlice-"+g,index:0,j:g}),i.config.chart.dropShadow.enabled){var x=i.config.chart.dropShadow;n.dropShadow(w,x)}this.addListeners(w,this.donutDataLabels),o.default.setAttrs(w.node,{"data:angle":v,"data:startAngle":u,"data:strokeWidth":this.strokeWidth,"data:value":e[g]});var _=void 0;"pie"===i.config.chart.type?_=r.default.polarToCartesian(this.centerX,this.centerY,this.size/1.25+i.config.plotOptions.pie.dataLabels.offset,u+(p-u)/2):"donut"===i.config.chart.type&&(_=r.default.polarToCartesian(this.centerX,this.centerY,(this.size+this.donutSize)/2+i.config.plotOptions.pie.dataLabels.offset,u+(p-u)/2)),m.add(w);var k=0;if(!this.initialAnim||i.globals.resized||i.globals.dataChanged?this.animBeginArr.push(0):(k=(p-u)/this.fullAngle*i.config.chart.animations.speed,this.animDur=k+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&i.globals.dataChanged?this.animatePaths(w,{endAngle:p,startAngle:u,prevStartAngle:h,prevEndAngle:f,animateStartingPos:!0,i:g,animBeginArr:this.animBeginArr,dur:i.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(w,{endAngle:p,startAngle:u,i:g,totalItems:t.length-1,animBeginArr:this.animBeginArr,dur:k}),i.config.plotOptions.pie.expandOnClick&&w.click(this.pieClicked.bind(this,g)),i.config.dataLabels.enabled){var S=_.x,M=_.y,C=100*(p-u)/360+"%";if(0!==v){var T=i.config.dataLabels.formatter;void 0!==T&&(C=T(i.globals.seriesPercent[g][0],{seriesIndex:g,w:i}));var D=i.globals.dataLabels.style.colors[g],L=l.drawText({x:S,y:M,text:C,textAnchor:"middle",fontSize:i.config.dataLabels.style.fontSize,fontFamily:i.config.dataLabels.style.fontFamily,foreColor:D});if(i.config.dataLabels.dropShadow.enabled){var E=i.config.dataLabels.dropShadow;new s.default(this.ctx).dropShadow(L,E)}L.node.classList.add("apexcharts-pie-label"),i.config.chart.animations.animate&&!1===i.globals.resized&&(L.node.classList.add("apexcharts-pie-label-delay"),L.node.style.animationDelay=i.config.chart.animations.speed/940+"s"),this.sliceLabels.push(L)}}}return d}},{key:"addListeners",value:function(t,e){var i=new o.default(this.ctx);t.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this,t)),t.node.addEventListener("mouseenter",this.dataLabelsMouseIn.bind(this,t.node,e)),t.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this,t)),t.node.addEventListener("mouseleave",this.dataLabelsMouseout.bind(this,t.node,e)),t.node.addEventListener("mousedown",i.pathMouseDown.bind(this,t))}},{key:"animatePaths",value:function(t,e){var i=this.w,n=e.endAngle-e.startAngle,a=n,r=e.startAngle,o=e.startAngle;void 0!==e.prevStartAngle&&void 0!==e.prevEndAngle&&(r=e.prevEndAngle,a=e.prevEndAngle-e.prevStartAngle),e.i===i.config.series.length-1&&(n+o>this.fullAngle?e.endAngle=e.endAngle-(n+o):n+o<this.fullAngle&&(e.endAngle=e.endAngle+(this.fullAngle-(n+o)))),n===this.fullAngle&&(n=this.fullAngle-.01),this.animateArc(t,r,o,n,a,e)}},{key:"animateArc",value:function(t,e,i,n,a,r){var o=this,s=this.w,l=o.size;l||(l=r.size);var c=void 0,d=r;(isNaN(e)||isNaN(a))&&(e=i,a=n,d.dur=0);var u=n,h=i,p=e-i;s.globals.dataChanged&&r.shouldSetPrevPaths&&(c=o.getPiePath({me:o,startAngle:h,angle:a,size:l}),t.attr({d:c})),0!==d.dur?t.animate(d.dur,s.globals.easing,d.animBeginArr[d.i]).afterAll(function(){"pie"!==s.config.chart.type&&"donut"!==s.config.chart.type||this.animate(300).attr({"stroke-width":s.config.stroke.width})}).during(function(s){u=p+(n-p)*s,r.animateStartingPos&&(u=a+(n-a)*s,h=e-a+(i-(e-a))*s),c=o.getPiePath({me:o,startAngle:h,angle:u,size:l}),t.node.setAttribute("data:pathOrig",c),t.attr({d:c})}):(c=o.getPiePath({me:o,startAngle:h,angle:n,size:l}),t.node.setAttribute("data:pathOrig",c),t.attr({d:c}))}},{key:"pieClicked",value:function(t){var e,i=this.w,n=this.size+5,a=i.globals.dom.Paper.select("#apexcharts-pieSlice-"+t).members[0],r=a.attr("d");if("true"!==a.attr("data:pieClicked")){var o=i.globals.dom.baseEl.querySelectorAll(".apexcharts-pie-area");Array.prototype.forEach.call(o,function(t){t.setAttribute("data:pieClicked","false");var e=t.getAttribute("data:pathOrig");t.setAttribute("d",e)}),a.attr("data:pieClicked","true");var s=parseInt(a.attr("data:startAngle")),l=parseInt(a.attr("data:angle"));e=this.getPiePath({me:this,startAngle:s,angle:l,size:n}),360!==l&&a.plot(e).animate(1).plot(r).animate(100).plot(e)}else{a.attr({"data:pieClicked":"false"});var c=a.attr("data:pathOrig");a.attr({d:c})}}},{key:"getChangedPath",value:function(t,e){var i="";return this.dynamicAnim&&this.w.globals.dataChanged&&(i=this.getPiePath({me:this,startAngle:t,angle:e-t,size:this.size})),i}},{key:"getPiePath",value:function(t){var e=t.me,i=t.startAngle,n=t.angle,a=t.size,o=this.w,s=i,l=Math.PI*(s-90)/180,c=n+i;360<c&&(c=360);var d=Math.PI*(c-90)/180,u=e.centerX+a*Math.cos(l),h=e.centerY+a*Math.sin(l),p=e.centerX+a*Math.cos(d),f=e.centerY+a*Math.sin(d),g=r.default.polarToCartesian(e.centerX,e.centerY,e.donutSize,c),m=r.default.polarToCartesian(e.centerX,e.centerY,e.donutSize,s),v=180<n?1:0;return"donut"===o.config.chart.type?["M",u,h,"A",a,a,0,v,1,p,f,"L",g.x,g.y,"A",e.donutSize,e.donutSize,0,v,0,m.x,m.y,"L",u,h,"z"].join(" "):"pie"===o.config.chart.type?["M",u,h,"A",a,a,0,v,1,p,f,"L",e.centerX,e.centerY,"L",u,h].join(" "):["M",u,h,"A",a,a,0,v,1,p,f].join(" ")}},{key:"renderInnerDataLabels",value:function(t,e){var i=this.w,n=new o.default(this.ctx),a=n.group({class:"apexcharts-datalabels-group",transform:"translate("+(e.translateX?e.translateX:0)+", "+(e.translateY?e.translateY:0)+")"}),r=t.total.show;a.node.style.opacity=e.opacity;var s=e.centerX,l=e.centerY,c=void 0,d=void 0;c=void 0===t.name.color?i.globals.colors[0]:t.name.color,d=void 0===t.value.color?i.config.chart.foreColor:t.value.color;var u=t.value.formatter,h="",p="";if(r?(c=t.total.color,p=t.total.label,h=t.total.formatter(i)):1===i.globals.series.length&&(h=u(i.globals.series[0],i),p=i.globals.seriesNames[0]),t.name.show){var f=n.drawText({x:s,y:l+parseInt(t.name.offsetY),text:p,textAnchor:"middle",foreColor:c,fontSize:t.name.fontSize,fontFamily:t.name.fontFamily});f.node.classList.add("apexcharts-datalabel-label"),a.add(f)}if(t.value.show){var g=t.name.show?parseInt(t.value.offsetY)+16:t.value.offsetY,m=n.drawText({x:s,y:l+g,text:h,textAnchor:"middle",foreColor:d,fontSize:t.value.fontSize,fontFamily:t.value.fontFamily});m.node.classList.add("apexcharts-datalabel-value"),a.add(m)}return a}},{key:"printInnerLabels",value:function(t,e,i,n){var a=this.w,r=void 0;n?r=void 0===t.name.color?a.globals.colors[parseInt(n.parentNode.getAttribute("rel"))-1]:t.name.color:1<a.globals.series.length&&t.total.show&&(r=t.total.color);var o=a.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),s=a.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");i=(0,t.value.formatter)(i,a),n||"function"!=typeof t.total.formatter||(i=t.total.formatter(a)),null!==o&&(o.textContent=e),null!==s&&(s.textContent=i),null!==o&&(o.style.fill=r)}},{key:"dataLabelsMouseIn",value:function(t,e){var i=this.w,n=t.getAttribute("data:value"),a=i.globals.seriesNames[parseInt(t.parentNode.getAttribute("rel"))-1];1<i.globals.series.length&&this.printInnerLabels(e,a,n,t);var r=i.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==r&&(r.style.opacity=1)}},{key:"dataLabelsMouseout",value:function(e,i){var n=this.w,a=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");i.total.show&&1<n.globals.series.length?new t(this.ctx).printInnerLabels(i,i.total.label,i.total.formatter(n)):null!==a&&1<n.globals.series.length&&(a.style.opacity=0)}}]),t}();e.default=c},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=c(i(26)),r=c(i(11)),o=c(i(5)),s=c(i(0)),l=c(i(27));function c(t){return t&&t.__esModule?t:{default:t}}var d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.radiusSizes=[]}return n(t,[{key:"draw",value:function(t,e,i){var n=this.w,c=new a.default(this.ctx),d=new s.default(this.ctx),u=new o.default(this.ctx),h=new r.default(this.ctx),p=i.realIndex,f=i.pointsPos,g=i.zRatio,m=i.elParent,v=h.fillPath(t,{seriesNumber:p}),y=d.group({class:"apexcharts-series-markers apexcharts-series-"+n.config.chart.type});if(y.attr("clip-path","url(#gridRectMarkerMask"+n.globals.cuid+")"),f.x instanceof Array)for(var b=0;b<f.x.length;b++){var w=e+1;0===e&&0===b&&(w=0),0===e&&1===b&&(w=1);var x=0,_=n.globals.markers.size[p];g!==1/0&&(_=n.globals.seriesZ[p][w]/g,void 0===this.radiusSizes[p]&&this.radiusSizes.push([]),this.radiusSizes[p].push(_)),n.config.chart.animations.enabled||(x=_);var k=f.x[b],S=f.y[b];if(S=S||0,x=x||0,0===(k=k||0)&&0===S||void 0===n.globals.series[p][w])return;var M=d.drawCircle(x);if(M.attr({cx:k,cy:S,fill:v}),n.config.chart.dropShadow.enabled&&u.dropShadow(M,{top:n.config.chart.dropShadow.top,left:n.config.chart.dropShadow.left,blur:n.config.chart.dropShadow.blur}),this.initialAnim&&!n.globals.dataChanged){var C=1;n.globals.resized||(C=n.config.chart.animations.speed),c.animateCircleRadius(M,0,_,C,n.globals.easing)}if(n.globals.dataChanged)if(this.dynamicAnim){var T,D=n.config.chart.animations.dynamicAnimation.speed,L=void 0,E=void 0,A=void 0;null!=(T=n.globals.previousPaths[p]&&n.globals.previousPaths[p][e])&&(L=T.x,E=T.y,A=void 0!==T.r?T.r:_);for(var P=0;P<n.globals.collapsedSeries.length;P++)n.globals.collapsedSeries[P].index===p&&(D=1,_=0);0===k&&0===S&&(_=0),c.animateCircle(M,{cx:L,cy:E,r:A},{cx:k,cy:S,r:_},D,n.globals.easing)}else M.attr({r:_});M.attr({rel:w,j:w,index:p,"default-marker-size":_});var Y=new l.default(this.ctx);Y.setSelectedPointFilter(M,p,w),Y.addEvents(M),M.node.classList.add("apexcharts-marker"),y.add(M),m.add(y)}}},{key:"centerTextInBubble",value:function(t){var e=this.w;return{y:t+=parseInt(e.config.dataLabels.style.fontSize)/4}}}]),t}();t.exports=d},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=o(i(0)),r=o(i(5));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return n(t,[{key:"drawXCrosshairs",value:function(){var t=this.w,e=new a.default(this.ctx),i=new r.default(this.ctx),n=t.config.xaxis.crosshairs.fill.gradient,o=t.config.xaxis.crosshairs.dropShadow,s=t.config.xaxis.crosshairs.fill.type,l=n.colorFrom,c=n.colorTo,d=n.opacityFrom,u=n.opacityTo,h=n.stops,p=o.enabled,f=o.left,g=o.top,m=o.blur,v=o.opacity,y=t.config.xaxis.crosshairs.fill.color;if(t.config.xaxis.crosshairs.show){"gradient"===s&&(y=e.drawGradient("vertical",l,c,d,u,null,h));var b=e.drawRect();b.attr({class:"apexcharts-xcrosshairs",x:0,y:0,width:0,height:t.globals.gridHeight,fill:y,filter:"none","fill-opacity":t.config.xaxis.crosshairs.opacity,stroke:t.config.xaxis.crosshairs.stroke.color,"stroke-width":t.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":t.config.xaxis.crosshairs.stroke.dashArray}),p&&(b=i.dropShadow(b,{left:f,top:g,blur:m,opacity:v})),t.globals.dom.elGraphical.add(b)}}},{key:"drawYCrosshairs",value:function(){var t=this.w,e=new a.default(this.ctx),i=t.config.yaxis[0].crosshairs;if(t.config.yaxis[0].crosshairs.show){var n=e.drawLine(0,0,t.globals.gridWidth,0,i.stroke.color,i.stroke.dashArray,i.stroke.width);n.attr({class:"apexcharts-ycrosshairs"}),t.globals.dom.elGraphical.add(n)}var r=e.drawLine(0,0,t.globals.gridWidth,0,i.stroke.color,0,0);r.attr({class:"apexcharts-ycrosshairs-hidden"}),t.globals.dom.elGraphical.add(r)}}]),t}();e.default=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return n(t,[{key:"getSvgString",value:function(){return this.w.globals.dom.Paper.svg()}},{key:"cleanup",value:function(){var t=this.w,e=t.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs"),i=t.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs");e&&e.setAttribute("x",-500),i&&(i.setAttribute("y1",-100),i.setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var t=this.getSvgString(),e=new Blob([t],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(e)}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),".svg")}},{key:"exportToPng",value:function(){var t=this,e=this.w;this.cleanup();var i=document.createElement("canvas");i.width=e.globals.svgWidth,i.height=e.globals.svgHeight;var n="transparent"===e.config.chart.background?"#fff":e.config.chart.background,a=i.getContext("2d");a.fillStyle=n,a.fillRect(0,0,i.width,i.height);var r=window.URL||window.webkitURL||window,o=new Image;o.crossOrigin="anonymous";var s=this.getSvgString(),l="data:image/svg+xml,"+encodeURIComponent(s);o.onload=function(){a.drawImage(o,0,0),r.revokeObjectURL(l);var e=i.toDataURL("image/png").replace("image/png","image/octet-stream");t.triggerDownload(e,".png")},o.src=l}},{key:"triggerDownload",value:function(t,e){var i=document.createElement("a");i.href=t,i.download=this.w.globals.chartID+e,document.body.appendChild(i),i.click(),document.body.removeChild(i)}}]),t}();e.default=a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=o(i(1)),r=o(i(138));function o(t){return t&&t.__esModule?t:{default:t}}function s(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 l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.scales=new r.default(e)}return n(t,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:Number.MIN_SAFE_INTEGER,n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,r=this.w.globals,o=-Number.MAX_VALUE,l=Number.MIN_VALUE;null===n&&(n=t+1);var c=r.series,d=c,u=c;"candlestick"===this.w.config.chart.type&&(d=r.seriesCandleL,u=r.seriesCandleH);for(var h=t;h<n;h++){r.dataPoints=Math.max(r.dataPoints,c[h].length),a.default.isIE11()&&(l=Math.min.apply(Math,s(d[h]).concat([0])));for(var p=0;p<r.series[h].length;p++)null!==c[h][p]&&a.default.isNumber(c[h][p])?(o=Math.max(o,u[h][p]),e=Math.min(e,d[h][p]),i=Math.max(i,d[h][p]),a.default.isFloat(c[h][p])&&(r.yValueDecimal=Math.max(r.yValueDecimal,c[h][p].toString().split(".")[1].length)),l>d[h][p]&&d[h][p]<0&&(l=d[h][p])):r.hasNullValues=!0}return{minY:l,maxY:o,lowestY:e,highestY:i}}},{key:"setYRange",value:function(){var t=this.w.globals,e=this.w.config;t.maxY=-Number.MAX_VALUE,t.minY=Number.MIN_VALUE;var i=e.yaxis,n=Number.MAX_VALUE;if(t.isMultipleYAxis)for(var r=0;r<t.series.length;r++){var o=this.getMinYMaxY(r,n,null,r+1);t.minYArr.push(o.minY),t.maxYArr.push(o.maxY),n=o.lowestY}var s=this.getMinYMaxY(0,n,null,t.series.length);if(t.minY=s.minY,t.maxY=s.maxY,n=s.lowestY,e.chart.stacked){for(var l=[],c=[],d=0;d<t.series[t.maxValsInArrayIndex].length;d++)for(var u=0,h=0,p=0;p<t.series.length;p++)null!==t.series[p][d]&&a.default.isNumber(t.series[p][d])&&(0<t.series[p][d]?u=u+parseInt(t.series[p][d])+1e-4:h+=parseInt(t.series[p][d])),p===t.series.length-1&&(l.push(u),c.push(h));for(var f=0;f<l.length;f++)t.maxY=Math.max(t.maxY,l[f]),t.minY=Math.min(t.minY,c[f])}if(("line"===e.chart.type||"area"===e.chart.type||"candlestick"===e.chart.type)&&t.minY===Number.MIN_VALUE&&n!==Number.MAX_SAFE_INTEGER){var g=t.maxY-n;0<=n&&n<=10&&(g=0),t.minY=n-5*g/100,(0<n&&t.maxY<50||0<n&&t.minY<0)&&(t.minY=0),10<t.maxY&&(t.maxY=t.maxY+5*g/100+.6)}e.yaxis.map(function(e,n){void 0!==e.max&&"number"==typeof e.max&&(t.maxYArr[n]=e.max,t.maxY=i[0].max),void 0!==e.min&&"number"==typeof e.min&&(t.minYArr[n]=e.min,t.minY=i[0].min)}),t.isMultipleYAxis?(this.scales.setMultipleYScales(),t.yAxisScale.forEach(function(e,i){t.minYArr[i]=e.niceMin,t.maxYArr[i]=e.niceMax})):(this.scales.setYScaleForIndex(0,t.minY,t.maxY),t.minY=t.yAxisScale[0].niceMin,t.maxY=t.yAxisScale[0].niceMax,t.minYArr[0]=t.yAxisScale[0].niceMin,t.maxYArr[0]=t.yAxisScale[0].niceMax)}},{key:"setXRange",value:function(){var t=this.w.globals,e=this.w.config;if(t.isXNumeric)for(var i=0;i<t.series.length;i++)if(t.labels[i])for(var n=0;n<t.labels[i].length;n++)null!==t.labels[i][n]&&a.default.isNumber(t.labels[i][n])&&(t.maxX=Math.max(t.maxX,t.labels[i][n]),t.initialmaxX=Math.max(t.maxX,t.labels[i][n]),t.minX=Math.min(t.minX,t.labels[i][n]),t.initialminX=Math.min(t.minX,t.labels[i][n]));if(t.noLabelsProvided&&0===e.xaxis.categories.length&&(t.maxX=t.labels[t.labels.length-1],t.initialmaxX=t.labels[t.labels.length-1],t.minX=1,t.initialminX=1),(t.comboChartsHasBars||"bar"===e.chart.type&&"category"!==e.xaxis.type)&&"category"!==e.xaxis.type){var r=t.minX-t.svgWidth/t.dataPoints*(Math.abs(t.maxX-t.minX)/t.svgWidth)/3;t.minX=r,t.initialminX=r;var o=t.maxX+t.svgWidth/t.dataPoints*(Math.abs(t.maxX-t.minX)/t.svgWidth)/3;t.maxX=o,t.initialmaxX=o}if(t.isXNumeric||t.noLabelsProvided){var s=void 0;void 0===e.xaxis.tickAmount?(s=Math.round(t.svgWidth/150),"numeric"===e.xaxis.type&&t.dataPoints<20&&(s=t.dataPoints-1),s>t.dataPoints&&0!==t.dataPoints&&(s=t.dataPoints-1)):s="dataPoints"===e.xaxis.tickAmount?t.series[t.maxValsInArrayIndex].length-1:e.xaxis.tickAmount,void 0!==e.xaxis.max&&"number"==typeof e.xaxis.max&&(t.maxX=e.xaxis.max),void 0!==e.xaxis.min&&"number"==typeof e.xaxis.min&&(t.minX=e.xaxis.min),void 0!==e.xaxis.range&&(t.minX=t.maxX-e.xaxis.range),t.minX!==Number.MAX_VALUE&&t.maxX!==-Number.MAX_VALUE?t.xAxisScale=this.scales.linearScale(t.minX,t.maxX,s):(t.xAxisScale=this.scales.linearScale(1,s,s),t.noLabelsProvided&&0<t.labels.length&&(t.xAxisScale=this.scales.linearScale(1,t.labels.length,s-1),t.seriesX=t.labels.slice())),("numeric"===e.xaxis.type||"datetime"===e.xaxis.type||"category"===e.xaxis.type&&!t.noLabelsProvided)&&(t.labels=t.xAxisScale.result.slice())}}},{key:"setZRange",value:function(){var t=this.w.globals;if(t.isDataXYZ)for(var e=0;e<t.series.length;e++)if(void 0!==t.seriesZ[e])for(var i=0;i<t.seriesZ[e].length;i++)null!==t.seriesZ[e][i]&&a.default.isNumber(t.seriesZ[e][i])&&(t.maxZ=Math.max(t.maxZ,t.seriesZ[e][i]),t.minZ=Math.min(t.minZ,t.seriesZ[e][i]))}}]),t}();e.default=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=l(i(53)),o=l(i(48)),s=l(i(0));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.timeScaleArray=[]}return a(t,[{key:"calculateTimeScaleTicks",value:function(t,e){var i=this,a=this.w;if(a.globals.allSeriesCollapsed)return a.globals.labels=[],a.globals.timelineLabels=[],[];var o=new r.default(this.ctx),s=(e-t)/864e5;this.determineInterval(s),a.globals.disableZoomIn=!1,a.globals.disableZoomOut=!1,s<.005?a.globals.disableZoomIn=!0:5e4<s&&(a.globals.disableZoomOut=!0);var l=o.getTimeUnitsfromTimestamp(t,e),c=a.globals.gridWidth/s,d=c/24,u=d/60,h=Math.floor(24*s),p=Math.floor(24*s*60),f=Math.floor(s),g=Math.floor(s/30),m=Math.floor(s/365),v={minMinute:l.minMinute,minHour:l.minHour,minDate:l.minDate,minMonth:l.minMonth,minYear:l.minYear},y={firstVal:v,currentMinute:v.minMinute,currentHour:v.minHour,currentMonthDate:v.minDate,currentDate:v.minDate,currentMonth:v.minMonth,currentYear:v.minYear,daysWidthOnXAxis:c,hoursWidthOnXAxis:d,minutesWidthOnXAxis:u,numberOfMinutes:p,numberOfHours:h,numberOfDays:f,numberOfMonths:g,numberOfYears:m};switch(this.tickInterval){case"years":this.generateYearScale(y);break;case"months":case"half_year":this.generateMonthScale(y);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(y);break;case"hours":this.generateHourScale(y);break;case"minutes":this.generateMinuteScale(y)}var b=this.timeScaleArray.map(function(t){var e={position:t.position,unit:t.unit,year:t.year,day:t.day?t.day:1,hour:t.hour?t.hour:0,month:t.month+1};return"month"===t.unit?n({},e,{value:t.value+1}):"day"===t.unit||"hour"===t.unit?n({},e,{value:t.value}):"minute"===t.unit?n({},e,{value:t.value,minute:t.value}):t});return b.filter(function(t){var e=1,n=Math.ceil(a.globals.gridWidth/120),r=t.value;void 0!==a.config.xaxis.tickAmount&&(n=a.config.xaxis.tickAmount),b.length>n&&(e=Math.floor(b.length/n));var o=!1,s=!1;switch(i.tickInterval){case"half_year":e=7,"year"===t.unit&&(o=!0);break;case"months":e=1,"year"===t.unit&&(o=!0);break;case"months_fortnight":e=15,"year"!==t.unit&&"month"!==t.unit||(o=!0),30===r&&(s=!0);break;case"months_days":e=10,"month"===t.unit&&(o=!0),30===r&&(s=!0);break;case"week_days":e=8,"month"===t.unit&&(o=!0);break;case"days":e=1,"month"===t.unit&&(o=!0);break;case"hours":"day"===t.unit&&(o=!0);break;case"minutes":r%5!=0&&(s=!0)}if("minutes"===i.tickInterval||"hours"===i.tickInterval){if(!s)return!0}else if((r%e==0||o)&&!s)return!0})}},{key:"recalcDimensionsBasedOnFormat",value:function(t){var e=this.w,i=this.formatDates(t),n=this.removeOverlappingTS(i);e.globals.timelineLabels=n.slice(),new o.default(this.ctx).plotCoords()}},{key:"determineInterval",value:function(t){switch(!0){case 1825<t:this.tickInterval="years";break;case 800<t&&t<=1825:this.tickInterval="half_year";break;case 180<t&&t<=800:this.tickInterval="months";break;case 90<t&&t<=180:this.tickInterval="months_fortnight";break;case 60<t&&t<=90:this.tickInterval="months_days";break;case 30<t&&t<=60:this.tickInterval="week_days";break;case 2<t&&t<=30:this.tickInterval="days";break;case.1<t&&t<=2:this.tickInterval="hours";break;case t<.1:this.tickInterval="minutes";break;default:this.tickInterval="days"}}},{key:"generateYearScale",value:function(t){var e=t.firstVal,i=t.currentMonth,n=t.currentYear,a=t.daysWidthOnXAxis,o=t.numberOfYears,s=e.minYear,l=0,c=new r.default(this.ctx),d="year";if(1<e.minDate&&0<e.minMonth){var u=c.determineRemainingDaysOfYear(e.minYear,e.minMonth,e.minDate);l=(c.determineDaysOfYear(e.minYear)-u+1)*a,s=e.minYear+1,this.timeScaleArray.push({position:l,value:s,unit:d,year:s,month:this.monthMod(i+1)})}else 1===e.minDate&&0===e.minMonth&&this.timeScaleArray.push({position:l,value:s,unit:d,year:n,month:this.monthMod(i+1)});for(var h=s,p=l,f=0;f<o;f++)h++,p=c.determineDaysOfYear(h-1)*a+p,this.timeScaleArray.push({position:p,value:h,unit:d,year:h,month:1})}},{key:"generateMonthScale",value:function(t){var e=t.firstVal,i=t.currentMonthDate,n=t.currentMonth,a=t.currentYear,o=t.daysWidthOnXAxis,s=t.numberOfMonths,l=n,c=0,d=new r.default(this.ctx),u="month",h=0;if(1<e.minDate){c=(d.determineDaysOfMonths(n+1,e.minYear)-i+1)*o,l=this.monthMod(n+1);var p=a+h,f=this.monthMod(l),g=l;0===l&&(u="year",g=p,p+=h+=f=1),this.timeScaleArray.push({position:c,value:g,unit:u,year:p,month:f})}else this.timeScaleArray.push({position:c,value:l,unit:u,year:a,month:this.monthMod(n)});for(var m=l+1,v=c,y=0,b=1;y<s;y++,b++){0===(m=this.monthMod(m))?(u="year",h+=1):u="month";var w=a+Math.floor(m/12)+h;v=d.determineDaysOfMonths(m,w)*o+v;var x=0===m?w:m;this.timeScaleArray.push({position:v,value:x,unit:u,year:w,month:0===m?1:m}),m++}}},{key:"generateDayScale",value:function(t){var e=t.firstVal,i=t.currentMonth,n=t.currentYear,a=t.hoursWidthOnXAxis,o=t.numberOfDays,s=new r.default(this.ctx),l="day",c=(24-e.minHour)*a,d=e.minDate+1,u=d,h=function(t,e,i){return s.determineDaysOfMonths(e+1,i)<t?(l="month",u=e+=p=1):e},p=d,f=h(p,i,n);this.timeScaleArray.push({position:c,value:u,unit:l,year:n,month:this.monthMod(f),day:p});for(var g=c,m=0;m<o;m++){l="day",f=h(p+=1,f,n+Math.floor(f/12)+0);var v=n+Math.floor(f/12)+0;g=24*a+g;var y=1===p?this.monthMod(f):p;this.timeScaleArray.push({position:g,value:y,unit:l,year:v,month:this.monthMod(f),day:y})}}},{key:"generateHourScale",value:function(t){var e=t.firstVal,i=t.currentDate,n=t.currentMonth,a=t.currentYear,o=t.minutesWidthOnXAxis,s=t.numberOfHours,l=new r.default(this.ctx),c="hour",d=function(t,e){return l.determineDaysOfMonths(e+1,a)<t?e+=1:e},u=60-e.minMinute,h=u*o,p=e.minHour+1,f=p+1;60===u&&(h=0,f=(p=e.minHour)+1);var g=i,m=d(g,n);this.timeScaleArray.push({position:h,value:p,unit:c,day:g,hour:f,year:a,month:this.monthMod(m)});for(var v,y,b=h,w=0;w<s;w++){if(c="hour",24<=f){f=0,c="day";var x=(v=g+=1,y=m,l.determineDaysOfMonths(y+1,a)<v&&(y+=g=1),{month:y,date:g});m=d(g,m=x.month)}var _=a+Math.floor(m/12)+0;b=0===f&&0===w?u*o:60*o+b;var k=0===f?g:f;this.timeScaleArray.push({position:b,value:k,unit:c,hour:f,day:g,year:_,month:this.monthMod(m)}),f++}}},{key:"generateMinuteScale",value:function(t){var e=t.firstVal,i=t.currentMinute,n=t.currentHour,a=t.currentDate,r=t.currentMonth,o=t.currentYear,s=t.minutesWidthOnXAxis,l=t.numberOfMinutes,c=s-(i-e.minMinute),d=e.minMinute+1,u=d+1,h=a,p=r,f=o,g=n;this.timeScaleArray.push({position:c,value:d,unit:"minute",day:h,hour:g,minute:u,year:f,month:this.monthMod(p)});for(var m=c,v=0;v<l;v++){60<=u&&(u=0,24===(g+=1)&&(g=0));var y=o+Math.floor(p/12)+0;m=s+m;var b=u;this.timeScaleArray.push({position:m,value:b,unit:"minute",hour:g,minute:u,day:h,year:y,month:this.monthMod(p)}),u++}}},{key:"createRawDateString",value:function(t,e){var i=t.year;return i+="-"+("0"+t.month.toString()).slice(-2),"day"===t.unit?i+="day"===t.unit?"-"+("0"+e).slice(-2):"-01":i+="-"+("0"+(t.day?t.day:"1")).slice(-2),"hour"===t.unit?i+="hour"===t.unit?"T"+("0"+e).slice(-2):"T00":i+="T"+("0"+(t.hour?t.hour:"0")).slice(-2),i+="minute"===t.unit?":"+("0"+e).slice(-2)+":00.000Z":":00:00.000Z"}},{key:"formatDates",value:function(t){var e=this,i=this.w;return t.map(function(t){var n=t.value.toString(),a=new r.default(e.ctx),o=e.createRawDateString(t,n),s=new Date(Date.parse(o));if(void 0===i.config.xaxis.labels.format){var l="dd MMM",c=i.config.xaxis.labels.datetimeFormatter;"year"===t.unit&&(l=c.year),"month"===t.unit&&(l=c.month),"day"===t.unit&&(l=c.day),"hour"===t.unit&&(l=c.hour),"minute"===t.unit&&(l=c.minute),n=a.formatDate(s,l,!0,!1)}else n=a.formatDate(s,i.config.xaxis.labels.format);return{dateString:o,position:t.position,value:n,unit:t.unit,year:t.year,month:t.month}})}},{key:"removeOverlappingTS",value:function(t){var e=this,i=new s.default(this.ctx),n=0,a=t.map(function(a,r){if(0<r&&e.w.config.xaxis.labels.hideOverlappingLabels){var o=i.getTextRects(t[n].value).width;return t[n].position+o+10<a.position?(n=r,a):null}return a});return a=a.filter(function(t){return null!==t})}},{key:"monthMod",value:function(t){return t%12}}]),t}();e.default=c},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=p(i(0)),r=p(i(77)),o=p(i(165)),s=p(i(168)),l=p(i(162)),c=p(i(166)),d=p(i(164)),u=p(i(167)),h=p(i(163));function p(t){return t&&t.__esModule?t:{default:t}}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.ev=this.w.config.chart.events,this.localeValues=this.w.globals.locale.toolbar}return n(t,[{key:"createToolbar",value:function(){var t=this.w,e=document.createElement("div");e.setAttribute("class","apexcharts-toolbar"),t.globals.dom.elWrap.appendChild(e),this.elZoom=document.createElement("div"),this.elZoomIn=document.createElement("div"),this.elZoomOut=document.createElement("div"),this.elPan=document.createElement("div"),this.elSelection=document.createElement("div"),this.elZoomReset=document.createElement("div"),this.elMenuIcon=document.createElement("div"),this.elMenu=document.createElement("div"),this.elMenuItems=[];var i=[];t.config.chart.toolbar.tools.selection&&t.config.chart.selection.enabled&&i.push({el:this.elSelection,icon:u.default,title:this.localeValues.selection,class:t.globals.isTouchDevice?"hidden":"apexcharts-selection-icon"}),t.config.chart.toolbar.tools.zoomin&&t.config.chart.zoom.enabled&&i.push({el:this.elZoomIn,icon:c.default,title:this.localeValues.zoomIn,class:"apexcharts-zoom-in-icon"}),t.config.chart.toolbar.tools.zoomout&&t.config.chart.zoom.enabled&&i.push({el:this.elZoomOut,icon:d.default,title:this.localeValues.zoomOut,class:"apexcharts-zoom-out-icon"}),t.config.chart.toolbar.tools.zoom&&t.config.chart.zoom.enabled&&i.push({el:this.elZoom,icon:s.default,title:this.localeValues.selectionZoom,class:t.globals.isTouchDevice?"hidden":"apexcharts-zoom-icon"}),t.config.chart.toolbar.tools.pan&&t.config.chart.zoom.enabled&&i.push({el:this.elPan,icon:o.default,title:this.localeValues.pan,class:t.globals.isTouchDevice?"hidden":"apexcharts-pan-icon"}),t.config.chart.toolbar.tools.reset&&i.push({el:this.elZoomReset,icon:l.default,title:this.localeValues.reset,class:"apexcharts-reset-zoom-icon"}),t.config.chart.toolbar.tools.download&&i.push({el:this.elMenuIcon,icon:h.default,title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var n=0;n<i.length;n++)a.default.setAttrs(i[n].el,{class:i[n].class,title:i[n].title}),i[n].el.innerHTML=i[n].icon,e.appendChild(i[n].el);e.appendChild(this.elMenu),a.default.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var r=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG}],p=0;p<r.length;p++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[p].innerHTML=r[p].title,a.default.setAttrs(this.elMenuItems[p],{class:"apexcharts-menu-item "+r[p].name,title:r[p].title}),this.elMenu.appendChild(this.elMenuItems[p]);t.globals.zoomEnabled?this.elZoom.classList.add("selected"):t.globals.panEnabled?this.elPan.classList.add("selected"):t.globals.selectionEnabled&&this.elSelection.classList.add("selected"),this.addToolbarEventListeners()}},{key:"addToolbarEventListeners",value:function(){var t=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleSelection.bind(this)),this.elZoom.addEventListener("click",this.toggleZooming.bind(this)),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach(function(e){e.classList.contains("exportSVG")?e.addEventListener("click",t.downloadSVG.bind(t)):e.classList.contains("exportPNG")&&e.addEventListener("click",t.downloadPNG.bind(t))})}},{key:"toggleSelection",value:function(){this.toggleOtherControls(),this.w.globals.selectionEnabled=!this.w.globals.selectionEnabled,this.elSelection.classList.contains("selected")?this.elSelection.classList.remove("selected"):this.elSelection.classList.add("selected")}},{key:"toggleZooming",value:function(){this.toggleOtherControls(),this.w.globals.zoomEnabled=!this.w.globals.zoomEnabled,this.elZoom.classList.contains("selected")?this.elZoom.classList.remove("selected"):this.elZoom.classList.add("selected")}},{key:"getToolbarIconsReference",value:function(){var t=this.w;this.elZoom||(this.elZoom=t.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=t.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=t.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZooming",value:function(){this.toggleOtherControls(),this.w.globals.zoomEnabled=!0,this.elZoom&&this.elZoom.classList.add("selected"),this.elPan&&this.elPan.classList.remove("selected")}},{key:"enablePanning",value:function(){this.toggleOtherControls(),this.w.globals.panEnabled=!0,this.elPan&&this.elPan.classList.add("selected"),this.elZoom&&this.elZoom.classList.remove("selected")}},{key:"togglePanning",value:function(){this.toggleOtherControls(),this.w.globals.panEnabled=!this.w.globals.panEnabled,this.elPan.classList.contains("selected")?this.elPan.classList.remove("selected"):this.elPan.classList.add("selected")}},{key:"toggleOtherControls",value:function(){var t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),this.elPan&&this.elPan.classList.remove("selected"),this.elSelection&&this.elSelection.classList.remove("selected"),this.elZoom&&this.elZoom.classList.remove("selected")}},{key:"handleZoomIn",value:function(){var t=this.w,e=(t.globals.minX+t.globals.maxX)/2,i=(t.globals.minX+e)/2,n=(t.globals.maxX+e)/2;t.globals.disableZoomIn||this.zoomUpdateOptions(i,n)}},{key:"handleZoomOut",value:function(){var t=this.w;if(!("datetime"===t.config.xaxis.type&&new Date(t.globals.minX).getUTCFullYear()<1e3)){var e=(t.globals.minX+t.globals.maxX)/2,i=t.globals.minX-(e-t.globals.minX),n=t.globals.maxX-(e-t.globals.maxX);t.globals.disableZoomOut||this.zoomUpdateOptions(i,n)}}},{key:"zoomUpdateOptions",value:function(t,e){var i={min:t,max:e},n=this.getBeforeZoomRange(i);n&&(i=n.xaxis),this.w.globals.zoomed=!0,this.ctx._updateOptions({xaxis:i},!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback({min:t,max:e})}},{key:"zoomCallback",value:function(t,e){"function"==typeof this.ev.zoomed&&this.ev.zoomed(this.ctx,{xaxis:t,yaxis:e})}},{key:"getBeforeZoomRange",value:function(t,e){var i=null;return"function"==typeof this.ev.beforeZoom&&(i=this.ev.beforeZoom(this,{xaxis:t,yaxis:e})),i}},{key:"toggleMenu",value:function(){this.elMenu.classList.contains("open")?this.elMenu.classList.remove("open"):this.elMenu.classList.add("open")}},{key:"downloadPNG",value:function(){var t=new r.default(this.ctx);t.exportToPng(this.ctx),this.toggleMenu()}},{key:"downloadSVG",value:function(){var t=new r.default(this.ctx);t.exportToSVG(),this.toggleMenu()}},{key:"handleZoomReset",value:function(t){var e=this;this.ctx.getSyncedCharts().forEach(function(t){var i=t.w;i.globals.minX!==i.globals.initialminX&&i.globals.maxX!==i.globals.initialmaxX&&(t.revertDefaultAxisMinMax(),"function"==typeof i.config.chart.events.zoomed&&e.zoomCallback({min:i.config.xaxis.min,max:i.config.xaxis.max}),i.globals.zoomed=!1,t._updateSeries(i.globals.initialSeries,i.config.chart.animations.dynamicAnimation.enabled))})}},{key:"destroy",value:function(){this.elZoomReset&&(this.elZoomReset.removeEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.removeEventListener("click",this.toggleSelection.bind(this)),this.elZoom.removeEventListener("click",this.toggleZooming.bind(this)),this.elZoomIn.removeEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.removeEventListener("click",this.handleZoomOut.bind(this)),this.elPan.removeEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.removeEventListener("click",this.toggleMenu.bind(this))),this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),t}();t.exports=f},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=o(i(0)),r=o(i(28));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return n(t,[{key:"moveXCrosshairs",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,i=this.ttCtx,n=this.w,a=i.getElXCrosshairs(),r=t-i.xcrosshairsWidth/2,o=n.globals.labels.slice().length;if(null!==e&&(r=n.globals.gridWidth/o*e),"tickWidth"===n.config.xaxis.crosshairs.width||"barWidth"===n.config.xaxis.crosshairs.width?r+i.xcrosshairsWidth>n.globals.gridWidth&&(r=n.globals.gridWidth-i.xcrosshairsWidth):null!==e&&(r+=n.globals.gridWidth/o/2),r<0&&(r=0),r>n.globals.gridWidth&&(r=n.globals.gridWidth),null!==a&&(a.setAttribute("x",r),a.classList.add("active")),i.blxaxisTooltip){var s=r;"tickWidth"!==n.config.xaxis.crosshairs.width&&"barWidth"!==n.config.xaxis.crosshairs.width||(s=r+i.xcrosshairsWidth/2),this.moveXAxisTooltip(s)}}},{key:"moveYCrosshairs",value:function(t){var e=this.ttCtx;null!==e.ycrosshairs&&(a.default.setAttrs(e.ycrosshairs,{y1:t,y2:t}),a.default.setAttrs(e.ycrosshairsHidden,{y1:t,y2:t}))}},{key:"moveXAxisTooltip",value:function(t){var e=this.w,i=this.ttCtx;if(null!==i.xaxisTooltip){i.xaxisTooltip.classList.add("active");var n,r=i.xaxisOffY+e.config.xaxis.tooltip.offsetY+e.globals.translateY+1+e.config.xaxis.offsetY;t-=i.xaxisTooltip.getBoundingClientRect().width/2,isNaN(t)||(t+=e.globals.translateX,n=new a.default(this.ctx).getTextRects(i.xaxisTooltipText.innerHTML),i.xaxisTooltipText.style.minWidth=n.width+"px",i.xaxisTooltip.style.left=t+"px",i.xaxisTooltip.style.top=r+"px")}}},{key:"moveYAxisTooltip",value:function(t){var e=this.w,i=this.ttCtx;null===i.yaxisTTEls&&(i.yaxisTTEls=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var n=parseInt(i.ycrosshairsHidden.getAttribute("y1")),a=e.globals.translateY+n,r=i.yaxisTTEls[t].getBoundingClientRect().height,o=e.globals.translateYAxisX[t]-2;e.config.yaxis[t].opposite&&(o-=26),a-=r/2,-1===e.globals.ignoreYAxisIndexes.indexOf(t)?(i.yaxisTTEls[t].classList.add("active"),i.yaxisTTEls[t].style.top=a+"px",i.yaxisTTEls[t].style.left=o+e.config.yaxis[t].tooltip.offsetX+"px"):i.yaxisTTEls[t].classList.remove("active")}},{key:"moveTooltip",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=this.w,a=this.ttCtx,r=a.getElTooltip(),o=a.tooltipRect,s=null!==i?parseInt(i):1,l=parseInt(t)+s+5,c=parseInt(e)+s/2;if(l>n.globals.gridWidth/2&&(l=l-o.ttWidth-s-15),l>n.globals.gridWidth-o.ttWidth-10&&(l=n.globals.gridWidth-o.ttWidth),l<-20&&(l=-20),n.config.tooltip.followCursor){var d=a.getElGrid().getBoundingClientRect();c=a.e.clientY-d.top-o.ttHeight/2}var u=this.positionChecks(o,l,c);l=u.x,c=u.y,isNaN(l)||(l+=n.globals.translateX,r.style.left=l+"px",r.style.top=c+"px")}},{key:"positionChecks",value:function(t,e,i){var n=this.w;return t.ttHeight+i>n.globals.gridHeight&&(i=n.globals.gridHeight-t.ttHeight+n.globals.translateY),i<0&&(i=0),{x:e,y:i}}},{key:"moveMarkers",value:function(t,e){var i=this.w,n=this.ttCtx;if(0<i.globals.markers.size[t])for(var a=i.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='"+t+"'] .apexcharts-marker"),r=0;r<a.length;r++)parseInt(a[r].getAttribute("rel"))===e&&(n.marker.resetPointsSize(),n.marker.enlargeCurrentPoint(e,a[r]));else n.marker.resetPointsSize(),this.moveDynamicPointOnHover(e,t)}},{key:"moveDynamicPointOnHover",value:function(t,e){var i,n,a=this.w,r=this.ttCtx,o=a.globals.pointsArray,s=a.config.markers.hover.size;void 0===s&&(s=a.globals.markers.size[e]+a.config.markers.hover.sizeOffset),i=o[e][t][0],n=o[e][t][1]?o[e][t][1]:0;var l=a.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='"+e+"'] .apexcharts-series-markers circle");l.setAttribute("r",s),l.setAttribute("cx",i),l.setAttribute("cy",n),this.moveXCrosshairs(i),r.fixedTooltip||this.moveTooltip(i,n,s)}},{key:"moveDynamicPointsOnHover",value:function(t){var e,i=this.ttCtx,n=i.w,a=0,o=0,s=n.globals.pointsArray;e=new r.default(this.ctx).getActiveSeriesIndex();var l=n.config.markers.hover.size;void 0===l&&(l=n.globals.markers.size[e]+n.config.markers.hover.sizeOffset),s[e]&&(a=s[e][t][0],o=s[e][t][1]);var c=null,d=i.getAllMarkers();if(null!==(c=null!==d?d:n.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers circle")))for(var u=0;u<c.length;u++){var h=s[u];if(h&&h.length){var p=s[u][t][1];c[u].setAttribute("cx",a);var f=parseInt(c[u].parentNode.parentNode.parentNode.getAttribute("data:realIndex"));null!==p?(c[f]&&c[f].setAttribute("r",l),c[f]&&c[f].setAttribute("cy",p)):c[f]&&c[f].setAttribute("r",0)}}if(this.moveXCrosshairs(a),!i.fixedTooltip){var g=o||n.globals.gridHeight;this.moveTooltip(a,g,l)}}},{key:"moveStickyTooltipOverBars",value:function(t){var e,i=this.w,n=this.ttCtx,a=i.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='1'] path[j='"+t+"'], .apexcharts-candlestick-series .apexcharts-series[rel='1'] path[j='"+t+"']"),r=a?parseFloat(a.getAttribute("cx")):0,o=a?parseFloat(a.getAttribute("barWidth")):0;i.globals.isXNumeric?r-=o/2:(r=n.xAxisTicksPositions[t-1]+n.dataPointsDividedWidth/2,isNaN(r)&&(r=n.xAxisTicksPositions[t]-n.dataPointsDividedWidth/2));var s=n.getElGrid().getBoundingClientRect();if(e=n.e.clientY-s.top-n.tooltipRect.ttHeight/2,this.moveXCrosshairs(r),!n.fixedTooltip){var l=e||i.globals.gridHeight;this.moveTooltip(r,l)}}}]),t}();t.exports=s},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return n(t,[{key:"getNearestValues",value:function(t){var e=t.hoverArea,i=t.elGrid,n=t.clientX,a=t.clientY,r=t.hasBars,o=this.w,s=o.globals.gridWidth,l=s/(o.globals.dataPoints-1),c=i.getBoundingClientRect();(r&&o.globals.comboCharts||r)&&(l=s/o.globals.dataPoints);var d=n-c.left,u=a-c.top;d<0||u<0||d>o.globals.gridWidth||u>o.globals.gridHeight?(e.classList.remove("hovering-zoom"),e.classList.remove("hovering-pan")):o.globals.zoomEnabled?(e.classList.remove("hovering-pan"),e.classList.add("hovering-zoom")):o.globals.panEnabled&&(e.classList.remove("hovering-zoom"),e.classList.add("hovering-pan"));var h=Math.round(d/l);r&&(h=Math.ceil(d/l),h-=1);for(var p,f=null,g=null,m=[],v=0;v<o.globals.seriesXvalues.length;v++)m.push([o.globals.seriesXvalues[v][0]-1e-6].concat(o.globals.seriesXvalues[v]));return m=m.map(function(t){return t.filter(function(t){return t})}),p=o.globals.seriesYvalues.map(function(t){return t.filter(function(t){return t})}),o.globals.isXNumeric&&(f=(g=this.closestInMultiArray(d,u,m,p)).index,h=g.j,null!==f&&(m=o.globals.seriesXvalues[f],h=(g=this.closestInArray(d,m)).index)),(!h||h<1)&&(h=0),{capturedSeries:f,j:h,hoverX:d,hoverY:u}}},{key:"closestInMultiArray",value:function(t,e,i,n){var a=this.w,r=0,o=null,s=-1;1<a.globals.series.length?r=this.getFirstActiveXArray(i):o=0;var l=n[r][0],c=i[r][0],d=Math.abs(t-c),u=Math.abs(e-l),h=u+d;return n.map(function(a,r){a.map(function(a,l){var c=Math.abs(e-n[r][l]),p=Math.abs(t-i[r][l]),f=p+c;f<h&&(h=f,d=p,u=c,o=r,s=l)})}),{index:o,j:s}}},{key:"getFirstActiveXArray",value:function(t){for(var e=0,i=t.map(function(t,e){return 0<t.length?e:-1}),n=0;n<i.length;n++)if(-1!==i[n]){e=i[n];break}return e}},{key:"closestInArray",value:function(t,e){for(var i=e[0],n=null,a=Math.abs(t-i),r=0;r<e.length;r++){var o=Math.abs(t-e[r]);o<a&&(a=o,i=e[r],n=r)}return{index:n}}},{key:"isXoverlap",value:function(t){var e=[],i=this.w.globals.seriesX.filter(function(t){return void 0!==t[0]});if(0<i.length)for(var n=0;n<i.length-1;n++)void 0!==i[n][t]&&void 0!==i[n+1][t]&&i[n][t]!==i[n+1][t]&&e.push("unEqual");return 0===e.length}},{key:"isinitialSeriesSameLen",value:function(){for(var t=!0,e=this.w.globals.initialSeries,i=0;i<e.length-1;i++)if(e[i].data.length!==e[i+1].data.length){t=!1;break}return t}},{key:"getBarsHeight",value:function(t){return[].concat(function(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)}(t)).reduce(function(t,e){return t+e.getBBox().height},0)}},{key:"toggleAllTooltipSeriesGroups",value:function(t){var e=this.w,i=this.ttCtx;0===i.allTooltipSeriesGroups.length&&(i.allTooltipSeriesGroups=e.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var n=i.allTooltipSeriesGroups,a=0;a<n.length;a++)n[a].style.display="enable"===t?(n[a].classList.add("active"),e.config.tooltip.items.display):(n[a].classList.remove("active"),"none")}}]),t}();t.exports=a},function(t,e){t.exports={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}}},function(t,e,i){"use strict";i(114),t.exports=i(4).Array.find},function(t,e,i){"use strict";i(73),i(115),t.exports=i(4).Array.from},function(t,e,i){"use strict";i(120),t.exports=i(4).Array.includes},function(t,e,i){"use strict";i(117),t.exports=i(4).Array.reduce},function(t,e,i){"use strict";i(72),i(73),i(125),i(118),i(121),i(122),t.exports=i(4).Promise},function(t,e,i){"use strict";i(119),i(72),i(123),i(124),t.exports=i(4).Symbol},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=L(i(133)),s=L(i(26)),l=L(i(134)),c=L(i(51)),d=L(i(135)),u=L(i(7)),h=L(i(76)),p=L(i(48)),f=L(i(33)),g=L(i(77)),m=L(i(142)),v=L(i(136)),y=L(i(27)),b=L(i(78)),w=L(i(137)),x=L(i(28)),_=L(i(139)),k=L(i(149)),S=L(i(1)),M=L(i(141)),C=L(i(140)),T=L(i(80)),D=L(i(52));function L(t){return t&&t.__esModule?t:{default:t}}i(156),i(152),i(153),i(151),i(155),i(154),i(160),i(157),i(158);var E=i(83);window.Apex={};var A=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.opts=i,(this.ctx=this).w=new l.default(i).init(),this.el=e,this.w.globals.cuid=(Math.random()+1).toString(36).substring(4),this.w.globals.chartID=this.w.config.chart.id?this.w.config.chart.id:this.w.globals.cuid,this.initModules(),this.create=S.default.bind(this.create,this),this.windowResizeHandler=this.windowResize.bind(this)}return r(t,[{key:"render",value:function(){var t=this;return new Promise(function(e,i){if(null!==t.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),t.w.config.chart.id&&Apex._chartInstances.push({id:t.w.globals.chartID,group:t.w.config.chart.group,chart:t}),t.setLocale(t.w.config.chart.defaultLocale);var n=t.w.config.chart.events.beforeMount;"function"==typeof n&&n(t,t.w),t.fireEvent("beforeMount",[t,t.w]),window.addEventListener("resize",t.windowResizeHandler),window.addResizeListener(t.el.parentNode,t.parentResizeCallback.bind(t));var a=t.create(t.w.config.series);if(!a)return e(t);t.mount(a).then(function(){e(a),"function"==typeof t.w.config.chart.events.mounted&&t.w.config.chart.events.mounted(t,t.w),t.fireEvent("mounted",[t,t.w])}).catch(function(t){i(t)})}else i(new Error("Element not found"))})}},{key:"initModules",value:function(){this.animations=new s.default(this.ctx),this.annotations=new o.default(this.ctx),this.core=new d.default(this.el,this),this.grid=new m.default(this),this.coreUtils=new u.default(this),this.config=new c.default({}),this.crosshairs=new h.default(this.ctx),this.options=new D.default,this.responsive=new w.default(this.ctx),this.series=new x.default(this.ctx),this.theme=new _.default(this.ctx),this.formatters=new f.default(this.ctx),this.titleSubtitle=new C.default(this.ctx),this.legend=new v.default(this.ctx),this.toolbar=new T.default(this.ctx),this.dimensions=new p.default(this.ctx),this.zoomPanSelection=new M.default(this.ctx),this.w.globals.tooltip=new k.default(this.ctx)}},{key:"addEventListener",value:function(t,e){var i=this.w;i.globals.events.hasOwnProperty(t)?i.globals.events[t].push(e):i.globals.events[t]=[e]}},{key:"removeEventListener",value:function(t,e){var i=this.w;if(i.globals.events.hasOwnProperty(t)){var n=i.globals.events[t].indexOf(e);-1!==n&&i.globals.events[t].splice(n,1)}}},{key:"fireEvent",value:function(t,e){var i=this.w;if(i.globals.events.hasOwnProperty(t)){e&&e.length||(e=[]);for(var n=i.globals.events[t],a=n.length,r=0;r<a;r++)n[r].apply(null,e)}}},{key:"create",value:function(t,e){var i=this.w;this.initModules();var n=this.w.globals;if(n.noData=!1,n.animationEnded=!1,this.responsive.checkResponsiveConfig(e),null===this.el)return n.animationEnded=!0,null;if(this.core.setupElements(),0===n.svgWidth)return n.animationEnded=!0,null;this.coreUtils.checkComboSeries(),(0===t.length||1===t.length&&t[0].data&&0===t[0].data.length)&&this.series.handleNoData(),this.setupEventHandlers(),this.core.parseData(t),this.theme.init(),new y.default(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),this.legend.init(),this.series.hasAllSeriesEqualX(),n.axisCharts&&(this.core.coreCalculations(),"category"!==i.config.xaxis.type&&this.formatters.setLabelFormatters()),this.formatters.heatmapLabelFormatters(),this.dimensions.plotCoords();var a=this.core.xySettings();this.grid.createGridMask();var r=this.core.plotChartType(t,a);this.core.shiftGraphPosition();var o={plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}};return{elGraph:r,xyRatios:a,elInner:i.globals.dom.elGraphical,dimensions:o}}},{key:"mount",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,e=this,i=e.w;return new Promise(function(n,a){if(null===e.el)return a(new Error("Not enough data to display or target element not found"));if((null===t||i.globals.allSeriesCollapsed)&&e.series.handleNoData(),e.core.drawAxis(i.config.chart.type,t.xyRatios),e.grid=new m.default(e),"back"===i.config.grid.position&&e.grid.drawGrid(),"back"===i.config.annotations.position&&e.annotations.drawAnnotations(),t.elGraph instanceof Array)for(var r=0;r<t.elGraph.length;r++)i.globals.dom.elGraphical.add(t.elGraph[r]);else i.globals.dom.elGraphical.add(t.elGraph);if("front"===i.config.grid.position&&e.grid.drawGrid(),"front"===i.config.xaxis.crosshairs.position&&e.crosshairs.drawXCrosshairs(),"front"===i.config.yaxis[0].crosshairs.position&&e.crosshairs.drawYCrosshairs(),"front"===i.config.annotations.position&&e.annotations.drawAnnotations(),!i.globals.noData){if(i.config.tooltip.enabled&&!i.globals.noData&&e.w.globals.tooltip.drawTooltip(t.xyRatios),i.globals.axisCharts&&i.globals.isXNumeric)(i.config.chart.zoom.enabled||i.config.chart.selection&&i.config.chart.selection.enabled||i.config.chart.pan&&i.config.chart.pan.enabled)&&e.zoomPanSelection.init({xyRatios:t.xyRatios});else{var o=i.config.chart.toolbar.tools;o.zoom=!1,o.zoomin=!1,o.zoomout=!1,o.selection=!1,o.pan=!1,o.reset=!1}i.config.chart.toolbar.show&&!i.globals.allSeriesCollapsed&&e.toolbar.createToolbar()}if(0<i.globals.memory.methodsToExec.length){var s=!0,l=!1,c=void 0;try{for(var d,u=i.globals.memory.methodsToExec[Symbol.iterator]();!(s=(d=u.next()).done);s=!0){var h=d.value;h.method(h.params,!1,h.context)}}catch(n){l=!0,c=n}finally{try{!s&&u.return&&u.return()}finally{if(l)throw c}}}n(e)})}},{key:"clearPreviousPaths",value:function(){var t=this.w;t.globals.previousPaths=[],t.globals.allSeriesCollapsed=!1,t.globals.collapsedSeries=[],t.globals.collapsedSeriesIndices=[]}},{key:"updateOptions",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],n=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],r=this.w;return t.series&&(t.series[0].data&&(t.series=t.series.map(function(t,e){return a({},r.config.series[e],{name:t.name?t.name:r.config.series[e].name,data:t.data})})),this.revertDefaultAxisMinMax()),t.xaxis&&(t.xaxis.min||t.xaxis.max)&&this.forceXAxisUpdate(t),0<r.globals.collapsedSeriesIndices.length&&this.clearPreviousPaths(),this._updateOptions(t,e,i,n)}},{key:"_updateOptions",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],a=3<arguments.length&&void 0!==arguments[3]&&arguments[3];this.getSyncedCharts().forEach(function(r){var o=r.w;return o.globals.shouldAnimate=i,e||(o.globals.resized=!0,o.globals.dataChanged=!0,i&&r.series.getPreviousPaths()),t&&"object"===(void 0===t?"undefined":n(t))&&(r.config=new c.default(t),t=u.default.extendArrayProps(r.config,t),o.config=S.default.extend(o.config,t),a&&(o.globals.lastXAxis=[],o.globals.lastYAxis=[],o.globals.initialConfig=S.default.extend({},o.config),o.globals.initialSeries=JSON.parse(JSON.stringify(o.config.series)))),r.update(t)})}},{key:"updateSeries",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],i=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];return this.revertDefaultAxisMinMax(),this._updateSeries(t,e,i)}},{key:"_updateSeries",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=this.w;this.w.globals.shouldAnimate=e,n.globals.dataChanged=!0,n.globals.allSeriesCollapsed&&(n.globals.allSeriesCollapsed=!1),e&&this.series.getPreviousPaths();var r=void 0;return t[0].data?(r=t.map(function(t,e){return a({},n.config.series[e],{name:t.name?t.name:n.config.series[e].name,data:t.data})}),n.config.series=r):n.config.series=t.slice(),i&&(n.globals.initialConfig.series=JSON.parse(JSON.stringify(n.config.series)),n.globals.initialSeries=JSON.parse(JSON.stringify(n.config.series))),this.update()}},{key:"getSyncedCharts",value:function(){var t=this.getGroupedCharts(),e=[this];return t.length&&(e=[],t.forEach(function(t){e.push(t)})),e}},{key:"getGroupedCharts",value:function(){var t=this;return Apex._chartInstances.filter(function(t){if(t.group)return!0}).map(function(e){return t.w.config.chart.group===e.group?e.chart:null})}},{key:"appendData",value:function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];this.w.globals.dataChanged=!0,this.series.getPreviousPaths();for(var i=this.w.config.series.slice(),n=0;n<i.length;n++)if(void 0!==t[n])for(var a=0;a<t[n].data.length;a++)i[n].data.push(t[n].data[a]);return this.w.config.series=i,e&&(this.w.globals.initialSeries=JSON.parse(JSON.stringify(this.w.config.series))),this.update()}},{key:"update",value:function(t){var e=this;return new Promise(function(i,n){e.clear();var a=e.create(e.w.config.series,t);if(!a)return i(e);e.mount(a).then(function(){"function"==typeof e.w.config.chart.events.updated&&e.w.config.chart.events.updated(e,e.w),e.fireEvent("updated",[e,e.w]),e.w.globals.isDirty=!0,i(e)}).catch(function(t){n(t)})})}},{key:"forceXAxisUpdate",value:function(t){var e=this.w;void 0!==t.xaxis.min&&(e.config.xaxis.min=t.xaxis.min,e.globals.lastXAxis.min=t.xaxis.min),void 0!==t.xaxis.max&&(e.config.xaxis.max=t.xaxis.max,e.globals.lastXAxis.max=t.xaxis.max)}},{key:"revertDefaultAxisMinMax",value:function(){var t=this.w;t.config.xaxis.min=t.globals.lastXAxis.min,t.config.xaxis.max=t.globals.lastXAxis.max,t.config.yaxis.map(function(e,i){t.globals.zoomed&&void 0!==t.globals.lastYAxis[i]&&(e.min=t.globals.lastYAxis[i].min,e.max=t.globals.lastYAxis[i].max)})}},{key:"clear",value:function(){this.zoomPanSelection&&this.zoomPanSelection.destroy(),this.toolbar&&this.toolbar.destroy(),this.animations=null,this.annotations=null,this.core=null,this.grid=null,this.series=null,this.responsive=null,this.theme=null,this.formatters=null,this.titleSubtitle=null,this.legend=null,this.dimensions=null,this.options=null,this.crosshairs=null,this.zoomPanSelection=null,this.toolbar=null,this.w.globals.tooltip=null,this.clearDomElements()}},{key:"killSVG",value:function(t){return new Promise(function(e,i){t.each(function(t,e){this.removeClass("*"),this.off(),this.stop()},!0),t.ungroup(),t.clear(),e("done")})}},{key:"clearDomElements",value:function(){var t=this.w.globals.dom;if(null!==this.el)for(;this.el.firstChild;)this.el.removeChild(this.el.firstChild);this.killSVG(t.Paper),t.Paper.remove(),t.elWrap=null,t.elGraphical=null,t.elLegendWrap=null,t.baseEl=null,t.elGridRect=null,t.elGridRectMask=null,t.elGridRectMarkerMask=null,t.elDefs=null}},{key:"destroy",value:function(){this.clear();var t=this.w.config.chart.id;t&&Apex._chartInstances.forEach(function(e,i){e.id===t&&Apex._chartInstances.splice(i,1)}),window.removeEventListener("resize",this.windowResizeHandler),window.removeResizeListener(this.el.parentNode,this.parentResizeCallback.bind(this))}},{key:"toggleSeries",value:function(t){var e=this.series.getSeriesByName(t),i=parseInt(e.getAttribute("data:realIndex")),n=e.classList.contains("apexcharts-series-collapsed");this.legend.toggleDataSeries(i,n)}},{key:"resetToggleSeries",value:function(){this.legend.resetToggleDataSeries()}},{key:"setupEventHandlers",value:function(){var t=this.w,e=this,i=t.globals.dom.baseEl.querySelector(t.globals.chartClass),n=!0,a=!1,r=void 0;try{for(var o,s=["mousedown","mousemove","touchstart","touchmove","mouseup","touchend"][Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;i.addEventListener(l,function(i){"mousedown"===i.type&&1===i.which||("mouseup"===i.type&&1===i.which||"touchend"===i.type)&&("function"==typeof t.config.chart.events.click&&t.config.chart.events.click(i,e,t),e.fireEvent("click",[i,e,t]))},{capture:!1,passive:!0})}}catch(i){a=!0,r=i}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}this.core.setupBrushHandler()}},{key:"addXaxisAnnotation",value:function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addXaxisAnnotationExternal(t,e,n)}},{key:"addYaxisAnnotation",value:function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addYaxisAnnotationExternal(t,e,n)}},{key:"addPointAnnotation",value:function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addPointAnnotationExternal(t,e,n)}},{key:"clearAnnotations",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:void 0,e=this;t&&(e=t),e.annotations.clearAnnotations(e)}},{key:"addText",value:function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addText(t,e,n)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(t,e){return this.coreUtils.getSeriesTotalsXRange(t,e)}},{key:"getHighestValueInSeries",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return new b.default(this.ctx).getMinYMaxY(t).highestY}},{key:"getLowestValueInSeries",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return new b.default(this.ctx).getMinYMaxY(t).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"setLocale",value:function(t){this.setCurrentLocaleValues(t)}},{key:"setCurrentLocaleValues",value:function(t){var e=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&0<window.Apex.chart.locales.length&&(e=this.w.config.chart.locales.concat(window.Apex.chart.locales));var i=e.find(function(e){return e.name===t});if(!i)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var n=S.default.extend(E,i);this.w.globals.locale=n.options}},{key:"svgUrl",value:function(){return new g.default(this.ctx).svgUrl()}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.windowResize()}},{key:"windowResize",value:function(){var t=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout(function(){t.w.globals.resized=!0,t.w.globals.dataChanged=!1,t.update()},150)}}],[{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),i=0;i<e.length;i++)new t(e[i],JSON.parse(e[i].getAttribute("data-options"))).render()}},{key:"exec",value:function(t,e){var i=this.getChartByID(t);if(i){for(var n=arguments.length,a=Array(2<n?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];switch(e){case"updateOptions":return i.updateOptions.apply(i,a);case"updateSeries":return i.updateSeries.apply(i,a);case"appendData":return i.appendData.apply(i,a);case"addXaxisAnnotation":return i.addXaxisAnnotation.apply(i,a);case"addYaxisAnnotation":return i.addYaxisAnnotation.apply(i,a);case"addPointAnnotation":return i.addPointAnnotation.apply(i,a);case"clearAnnotations":return i.clearAnnotations.apply(i,a);case"destroy":return i.destroy()}}}},{key:"merge",value:function(t,e){return S.default.extend(t,e)}},{key:"getChartByID",value:function(t){return Apex._chartInstances.find(function(e){return e.id===t}).chart}}]),t}();t.exports=A},function(t,e,i){"use strict";t.exports=function(t,e,i,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(i+": incorrect invocation!");return t}},function(t,e,i){"use strict";var n=i(15),a=i(39),r=i(31),o=i(24),s=i(95);t.exports=function(t,e){var i=1==t,l=2==t,c=3==t,d=4==t,u=6==t,h=5==t||u,p=e||s;return function(e,s,f){for(var g,m,v=r(e),y=a(v),b=n(s,f,3),w=o(y.length),x=0,_=i?p(e,w):l?p(e,0):void 0;x<w;x++)if((h||x in y)&&(m=b(g=y[x],x,v),t))if(i)_[x]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:_.push(g)}else if(d)return!1;return u?-1:c||d?d:_}}},function(t,e,i){"use strict";var n=i(18),a=i(31),r=i(39),o=i(24);t.exports=function(t,e,i,s,l){n(e);var c=a(t),d=r(c),u=o(c.length),h=l?u-1:0,p=l?-1:1;if(i<2)for(;;){if(h in d){s=d[h],h+=p;break}if(h+=p,l?h<0:u<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?0<=h:h<u;h+=p)h in d&&(s=e(s,d[h],h,c));return s}},function(t,e,i){"use strict";var n=i(9),a=i(58),r=i(2)("species");t.exports=function(t){var e;return a(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!a(e.prototype)||(e=void 0),n(e)&&null===(e=e[r])&&(e=void 0)),void 0===e?Array:e}},function(t,e,i){"use strict";var n=i(94);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,i){"use strict";var n=i(10),a=i(23);t.exports=function(t,e,i){e in t?n.f(t,e,a(0,i)):t[e]=i}},function(t,e,i){"use strict";var n=i(29),a=i(64),r=i(41);t.exports=function(t){var e=n(t),i=a.f;if(i)for(var o,s=i(t),l=r.f,c=0;s.length>c;)l.call(t,o=s[c++])&&e.push(o);return e}},function(t,e,i){"use strict";var n=i(15),a=i(59),r=i(57),o=i(8),s=i(24),l=i(71),c={},d={},u=t.exports=function(t,e,i,u,h){var p,f,g,m,v=h?function(){return t}:l(t),y=n(i,u,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(r(v)){for(p=s(t.length);b<p;b++)if((m=e?y(o(f=t[b])[0],f[1]):y(t[b]))===c||m===d)return m}else for(g=v.call(t);!(f=g.next()).done;)if((m=a(g,y,f.value,e))===c||m===d)return m};u.BREAK=c,u.RETURN=d},function(t,e,i){"use strict";t.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},function(t,e,i){"use strict";var n=i(62),a=i(23),r=i(30),o={};i(14)(o,i(2)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(o,{next:a(1,i)}),r(t,e+" Iterator")}},function(t,e,i){"use strict";t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=i(25)("meta"),r=i(9),o=i(13),s=i(10).f,l=0,c=Object.isExtensible||function(){return!0},d=!i(20)(function(){return c(Object.preventExtensions({}))}),u=function(t){s(t,a,{value:{i:"O"+ ++l,w:{}}})},h=t.exports={KEY:a,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==(void 0===t?"undefined":n(t))?t:("string"==typeof t?"S":"P")+t;if(!o(t,a)){if(!c(t))return"F";if(!e)return"E";u(t)}return t[a].i},getWeak:function(t,e){if(!o(t,a)){if(!c(t))return!0;if(!e)return!1;u(t)}return t[a].w},onFreeze:function(t){return d&&h.NEED&&c(t)&&!o(t,a)&&u(t),t}}},function(t,e,i){"use strict";var n=i(3),a=i(69).set,r=n.MutationObserver||n.WebKitMutationObserver,o=n.process,s=n.Promise,l="process"==i(19)(o);t.exports=function(){var t,e,i,c=function(){var n,a;for(l&&(n=o.domain)&&n.exit();t;){a=t.fn,t=t.next;try{a()}catch(n){throw t?i():e=void 0,n}}e=void 0,n&&n.enter()};if(l)i=function(){o.nextTick(c)};else if(!r||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var d=s.resolve(void 0);i=function(){d.then(c)}}else i=function(){a.call(n,c)};else{var u=!0,h=document.createTextNode("");new r(c).observe(h,{characterData:!0}),i=function(){h.data=u=!u}}return function(n){var a={fn:n,next:void 0};e&&(e.next=a),t||(t=a,i()),e=a}}},function(t,e,i){"use strict";var n=i(10),a=i(8),r=i(29);t.exports=i(12)?Object.defineProperties:function(t,e){a(t);for(var i,o=r(e),s=o.length,l=0;l<s;)n.f(t,i=o[l++],e[i]);return t}},function(t,e,i){"use strict";var n=i(41),a=i(23),r=i(17),o=i(45),s=i(13),l=i(56),c=Object.getOwnPropertyDescriptor;e.f=i(12)?c:function(t,e){if(t=r(t),e=o(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return a(!n.f.call(t,e),t[e])}},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=i(17),r=i(63).f,o={}.toString,s="object"==("undefined"==typeof window?"undefined":n(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return s.slice()}}(t):r(a(t))}},function(t,e,i){"use strict";var n=i(13),a=i(31),r=i(42)("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=a(t),n(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},function(t,e,i){"use strict";var n=i(16);t.exports=function(t,e,i){for(var a in e)n(t,a,e[a],i);return t}},function(t,e,i){"use strict";var n=i(3),a=i(10),r=i(12),o=i(2)("species");t.exports=function(t){var e=n[t];r&&e&&!e[o]&&a.f(e,o,{configurable:!0,get:function(){return this}})}},function(t,e,i){"use strict";var n=i(20);t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,i){"use strict";var n=i(44),a=i(36);t.exports=function(t){return function(e,i){var r,o,s=String(a(e)),l=n(i),c=s.length;return l<0||c<=l?t?"":void 0:(r=s.charCodeAt(l))<55296||56319<r||l+1===c||(o=s.charCodeAt(l+1))<56320||57343<o?t?s.charAt(l):r:t?s.slice(l,l+2):o-56320+(r-55296<<10)+65536}}},function(t,e,i){"use strict";var n=i(44),a=Math.max,r=Math.min;t.exports=function(t,e){return(t=n(t))<0?a(t+e,0):r(t,e)}},function(t,e,i){"use strict";var n=i(3).navigator;t.exports=n&&n.userAgent||""},function(t,e,i){"use strict";var n=i(6),a=i(92)(5),r=!0;"find"in[]&&Array(1).find(function(){r=!1}),n(n.P+n.F*r,"Array",{find:function(t){return a(this,t,1<arguments.length?arguments[1]:void 0)}}),i(34)("find")},function(t,e,i){"use strict";var n=i(15),a=i(6),r=i(31),o=i(59),s=i(57),l=i(24),c=i(96),d=i(71);a(a.S+a.F*!i(61)(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,a,u,h=r(t),p="function"==typeof this?this:Array,f=arguments.length,g=1<f?arguments[1]:void 0,m=void 0!==g,v=0,y=d(h);if(m&&(g=n(g,2<f?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(i=new p(e=l(h.length));v<e;v++)c(i,v,m?g(h[v],v):h[v]);else for(u=y.call(h),i=new p;!(a=u.next()).done;v++)c(i,v,m?o(u,g,[a.value,v],!0):a.value);return i.length=v,i}})},function(t,e,i){"use strict";var n=i(34),a=i(101),r=i(21),o=i(17);t.exports=i(60)(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")},function(t,e,i){"use strict";var n=i(6),a=i(93);n(n.P+n.F*!i(110)([].reduce,!0),"Array",{reduce:function(t){return a(this,t,arguments.length,arguments[1],!1)}})},function(t,e,i){"use strict";var n,a,r,o,s=i(22),l=i(3),c=i(15),d=i(35),u=i(6),h=i(9),p=i(18),f=i(91),g=i(98),m=i(68),v=i(69).set,y=i(103)(),b=i(40),w=i(66),x=i(113),_=i(67),k="Promise",S=l.TypeError,M=l.process,C=M&&M.versions,T=C&&C.v8||"",D=l[k],L="process"==d(M),E=function(){},A=a=b.f,P=!!function(){try{var t=D.resolve(1),e=(t.constructor={})[i(2)("species")]=function(t){t(E,E)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),Y=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},O=function(t,e){if(!t._n){t._n=!0;var i=t._c;y(function(){for(var n=t._v,a=1==t._s,r=0,o=function(e){var i,r,o,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,d=e.domain;try{s?(a||(2==t._h&&R(t),t._h=1),!0===s?i=n:(d&&d.enter(),i=s(n),d&&(d.exit(),o=!0)),i===e.promise?c(S("Promise-chain cycle")):(r=Y(i))?r.call(i,l,c):l(i)):c(n)}catch(e){d&&!o&&d.exit(),c(e)}};i.length>r;)o(i[r++]);t._c=[],t._n=!1,e&&!t._h&&I(t)})}},I=function(t){v.call(l,function(){var e,i,n,a=t._v,r=H(t);if(r&&(e=w(function(){L?M.emit("unhandledRejection",a,t):(i=l.onunhandledrejection)?i({promise:t,reason:a}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",a)}),t._h=L||H(t)?2:1),t._a=void 0,r&&e.e)throw e.v})},H=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){v.call(l,function(){var e;L?M.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),O(e,!0))},j=function t(e){var i,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(i=Y(e))?y(function(){var a={_w:n,_d:!1};try{i.call(e,c(t,a,1),c(N,a,1))}catch(t){N.call(a,t)}}):(n._v=e,n._s=1,O(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};P||(D=function(t){f(this,D,k,"_h"),p(t),n.call(this);try{t(c(j,this,1),c(N,this,1))}catch(t){N.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i(108)(D.prototype,{then:function(t,e){var i=A(m(this,D));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=L?M.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&O(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new n;this.promise=t,this.resolve=c(j,t,1),this.reject=c(N,t,1)},b.f=A=function(t){return t===D||t===o?new r(t):a(t)}),u(u.G+u.W+u.F*!P,{Promise:D}),i(30)(D,k),i(109)(k),o=i(4)[k],u(u.S+u.F*!P,k,{reject:function(t){var e=A(this);return(0,e.reject)(t),e.promise}}),u(u.S+u.F*(s||!P),k,{resolve:function(t){return _(s&&this===o?D:this,t)}}),u(u.S+u.F*!(P&&i(61)(function(t){D.all(t).catch(E)})),k,{all:function(t){var e=this,i=A(e),n=i.resolve,a=i.reject,r=w(function(){var i=[],r=0,o=1;g(t,!1,function(t){var s=r++,l=!1;i.push(void 0),o++,e.resolve(t).then(function(t){l||(l=!0,i[s]=t,--o||n(i))},a)}),--o||n(i)});return r.e&&a(r.v),i.promise},race:function(t){var e=this,i=A(e),n=i.reject,a=w(function(){g(t,!1,function(t){e.resolve(t).then(i.resolve,n)})});return a.e&&n(a.v),i.promise}})},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=i(3),r=i(13),o=i(12),s=i(6),l=i(16),c=i(102).KEY,d=i(20),u=i(43),h=i(30),p=i(25),f=i(2),g=i(70),m=i(46),v=i(97),y=i(58),b=i(8),w=i(9),x=i(17),_=i(45),k=i(23),S=i(62),M=i(106),C=i(105),T=i(10),D=i(29),L=C.f,E=T.f,A=M.f,P=a.Symbol,Y=a.JSON,O=Y&&Y.stringify,I="prototype",H=f("_hidden"),R=f("toPrimitive"),N={}.propertyIsEnumerable,j=u("symbol-registry"),F=u("symbols"),z=u("op-symbols"),W=Object[I],B="function"==typeof P,V=a.QObject,$=!V||!V[I]||!V[I].findChild,X=o&&d(function(){return 7!=S(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=L(W,e);n&&delete W[e],E(t,e,i),n&&t!==W&&E(W,e,n)}:E,q=function(t){var e=F[t]=S(P[I]);return e._k=t,e},U=B&&"symbol"==n(P.iterator)?function(t){return"symbol"==(void 0===t?"undefined":n(t))}:function(t){return t instanceof P},G=function(t,e,i){return t===W&&G(z,e,i),b(t),e=_(e,!0),b(i),r(F,e)?(i.enumerable?(r(t,H)&&t[H][e]&&(t[H][e]=!1),i=S(i,{enumerable:k(0,!1)})):(r(t,H)||E(t,H,k(1,{})),t[H][e]=!0),X(t,e,i)):E(t,e,i)},Z=function(t,e){b(t);for(var i,n=v(e=x(e)),a=0,r=n.length;a<r;)G(t,i=n[a++],e[i]);return t},J=function(t){var e=N.call(this,t=_(t,!0));return!(this===W&&r(F,t)&&!r(z,t))&&(!(e||!r(this,t)||!r(F,t)||r(this,H)&&this[H][t])||e)},K=function(t,e){if(t=x(t),e=_(e,!0),t!==W||!r(F,e)||r(z,e)){var i=L(t,e);return!i||!r(F,e)||r(t,H)&&t[H][e]||(i.enumerable=!0),i}},Q=function(t){for(var e,i=A(x(t)),n=[],a=0;i.length>a;)r(F,e=i[a++])||e==H||e==c||n.push(e);return n},tt=function(t){for(var e,i=t===W,n=A(i?z:x(t)),a=[],o=0;n.length>o;)!r(F,e=n[o++])||i&&!r(W,e)||a.push(F[e]);return a};B||(l((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(0<arguments.length?arguments[0]:void 0);return o&&$&&X(W,t,{configurable:!0,set:function e(i){this===W&&e.call(z,i),r(this,H)&&r(this[H],t)&&(this[H][t]=!1),X(this,t,k(1,i))}}),q(t)})[I],"toString",function(){return this._k}),C.f=K,T.f=G,i(63).f=M.f=Q,i(41).f=J,i(64).f=tt,o&&!i(22)&&l(W,"propertyIsEnumerable",J,!0),g.f=function(t){return q(f(t))}),s(s.G+s.W+s.F*!B,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;et.length>it;)f(et[it++]);for(var nt=D(f.store),at=0;nt.length>at;)m(nt[at++]);s(s.S+s.F*!B,"Symbol",{for:function(t){return r(j,t+="")?j[t]:j[t]=P(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),s(s.S+s.F*!B,"Object",{create:function(t,e){return void 0===e?S(t):Z(S(t),e)},defineProperty:G,defineProperties:Z,getOwnPropertyDescriptor:K,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),Y&&s(s.S+s.F*(!B||d(function(){var t=P();return"[null]"!=O([t])||"{}"!=O({a:t})||"{}"!=O(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],a=1;arguments.length>a;)n.push(arguments[a++]);if(i=e=n[1],(w(e)||void 0!==t)&&!U(t))return y(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!U(e))return e}),n[1]=e,O.apply(Y,n)}}),P[I][R]||i(14)(P[I],R,P[I].valueOf),h(P,"Symbol"),h(Math,"Math",!0),h(a.JSON,"JSON",!0)},function(t,e,i){"use strict";var n=i(6),a=i(54)(!0);n(n.P,"Array",{includes:function(t){return a(this,t,1<arguments.length?arguments[1]:void 0)}}),i(34)("includes")},function(t,e,i){"use strict";var n=i(6),a=i(4),r=i(3),o=i(68),s=i(67);n(n.P+n.R,"Promise",{finally:function(t){var e=o(this,a.Promise||r.Promise),i="function"==typeof t;return this.then(i?function(i){return s(e,t()).then(function(){return i})}:t,i?function(i){return s(e,t()).then(function(){throw i})}:t)}})},function(t,e,i){"use strict";var n=i(6),a=i(40),r=i(66);n(n.S,"Promise",{try:function(t){var e=a.f(this),i=r(t);return(i.e?e.reject:e.resolve)(i.v),e.promise}})},function(t,e,i){"use strict";i(46)("asyncIterator")},function(t,e,i){"use strict";i(46)("observable")},function(t,e,i){"use strict";for(var n=i(116),a=i(29),r=i(16),o=i(3),s=i(14),l=i(21),c=i(2),d=c("iterator"),u=c("toStringTag"),h=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=a(p),g=0;g<f.length;g++){var m,v=f[g],y=p[v],b=o[v],w=b&&b.prototype;if(w&&(w[d]||s(w,d,h),w[u]||s(w,u,v),l[v]=h,y))for(m in n)w[m]||r(w,m,n[m],!0)}},function(t,e,i){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=function(t,e){var i,n=t[1]||"",a=t[3];if(!a)return n;if(e&&"function"==typeof btoa){var r=(i=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),o=a.sources.map(function(t){return"/*# sourceURL="+a.sourceRoot+t+" */"});return[n].concat(o).concat([r]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var r=this[a][0];"number"==typeof r&&(n[r]=!0)}for(a=0;a<t.length;a++){var o=t[a];"number"==typeof o[0]&&n[o[0]]||(i&&!o[2]?o[2]=i:i&&(o[2]="("+o[2]+") and ("+i+")"),e.push(o))}},e}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=l(i(7)),r=l(i(47)),o=l(i(11)),s=l(i(0));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default),n(e,[{key:"draw",value:function(t,e){var i=this,n=this.w;this.graphics=new s.default(this.ctx),this.fill=new o.default(this.ctx),this.bar=new r.default(this.ctx,this.xyRatios);var l=new a.default(this.ctx,n);this.series=l.getLogSeries(t),t=this.series,this.yRatio=l.getLogYRatios(this.yRatio),this.series=t,this.initVariables(t),"100%"===n.config.chart.stackType&&(this.series=n.globals.seriesPercent.slice(),t=this.series),this.totalItems=0,this.prevY=[],this.prevX=[],this.prevYF=[],this.prevXF=[],this.prevYVal=[],this.prevXVal=[],this.xArrj=[],this.xArrjF=[],this.xArrjVal=[],this.yArrj=[],this.yArrjF=[],this.yArrjVal=[];for(var c=0;c<t.length;c++)0<t[c].length&&(this.totalItems+=t[c].length);this.zeroSerieses=[],this.endingShapeOnSeriesNumber=t.length-1,this.checkZeroSeries({series:t});var d=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"});d.attr("clip-path","url(#gridRectMask"+n.globals.cuid+")");for(var u=0,h=0,p=function(a,r){var o=void 0,s=void 0,l=void 0,c=void 0,p=void 0,f=void 0,g=[],m=[],v=n.globals.comboCharts?e[a]:a;1<i.yRatio.length&&(i.yaxisIndex=v);var y,b,w=i.graphics.group({class:"apexcharts-series "+n.globals.seriesNames[v].toString().replace(/ /g,"-"),rel:a+1,"data:realIndex":v}),x=i.graphics.group({class:"apexcharts-datalabels"}),_=0,k=i.initialPositions(u,h,l,c,p,f);h=k.y,y=k.barHeight,c=k.yDivision,f=k.zeroW,u=k.x,b=k.barWidth,l=k.xDivision,p=k.zeroH,i.yArrj=[],i.yArrjF=[],i.yArrjVal=[],i.xArrj=[],i.xArrjF=[],i.xArrjVal=[];for(var S=function(e){n.config.stroke.show&&(_=i.isNullValue?0:Array.isArray(i.strokeWidth)?i.strokeWidth[v]:i.strokeWidth);var d=null;d=i.isHorizontal?i.drawBarPaths({indexes:{i:a,j:e,realIndex:v,bc:r},barHeight:y,strokeWidth:_,pathTo:o,pathFrom:s,zeroW:f,x:u,y:h,yDivision:c,elSeries:w}):i.drawColumnPaths({indexes:{i:a,j:e,realIndex:v,bc:r},x:u,y:h,xDivision:l,pathTo:o,pathFrom:s,barWidth:b,zeroH:p,strokeWidth:_,elSeries:w}),o=d.pathTo,s=d.pathFrom,h=d.y,u=d.x,g.push(u),m.push(h);var k=n.config.plotOptions.bar.distributed?e:a,S=null;0<i.barOptions.colors.ranges.length&&i.barOptions.colors.ranges.map(function(i,n){t[a][e]>=i.from&&t[a][e]<=i.to&&(S=i.color)});var M=i.fill.fillPath(w,{seriesNumber:i.barOptions.distributed?k:v,color:S});w=i.renderSeries({realIndex:v,pathFill:M,j:e,i:a,pathFrom:s,pathTo:o,strokeWidth:_,elSeries:w,x:u,y:h,series:t,barHeight:y,barWidth:b,elDataLabelsWrap:x,type:"bar",visibleSeries:0})},M=0;M<n.globals.dataPoints;M++)S(M);n.globals.seriesXvalues[v]=g,n.globals.seriesYvalues[v]=m,i.prevY.push(i.yArrj),i.prevYF.push(i.yArrjF),i.prevYVal.push(i.yArrjVal),i.prevX.push(i.xArrj),i.prevXF.push(i.xArrjF),i.prevXVal.push(i.xArrjVal),d.add(w)},f=0,g=0;f<t.length;f++,g++)p(f,g);return d}},{key:"initialPositions",value:function(t,e,i,n,a,r){var o=this.w,s=void 0,l=void 0;return this.isHorizontal?(s=(s=n=o.globals.gridHeight/o.globals.dataPoints)*parseInt(o.config.plotOptions.bar.barHeight)/100,r=this.baseLineInvertedY+o.globals.padHorizontal,e=(n-s)/2):(l=i=o.globals.gridWidth/o.globals.dataPoints,l=o.globals.isXNumeric?(i=this.minXDiff/this.xRatio)/this.seriesLen*parseInt(this.barOptions.columnWidth)/100:l*parseInt(o.config.plotOptions.bar.columnWidth)/100,a=this.baseLineY[this.yaxisIndex]+1,t=o.globals.padHorizontal+(i-l)/2),{x:t,y:e,yDivision:n,xDivision:i,barHeight:s,barWidth:l,zeroH:a,zeroW:r}}},{key:"drawBarPaths",value:function(t){for(var e=t.indexes,i=t.barHeight,n=t.strokeWidth,a=t.pathTo,r=t.pathFrom,o=t.zeroW,s=t.x,l=t.y,c=t.yDivision,d=t.elSeries,u=this.w,h=l,p=void 0,f=e.i,g=e.j,m=e.realIndex,v=e.bc,y=0,b=0;b<this.prevXF.length;b++)y+=this.prevXF[b][g];if(0<f){var w=o;this.prevXVal[f-1][g]<0?w=0<=this.series[f][g]?this.prevX[f-1][g]+y:this.prevX[f-1][g]:0<=this.prevXVal[f-1][g]&&(w=0<=this.series[f][g]?this.prevX[f-1][g]:this.prevX[f-1][g]-y),p=w}else p=o;s=null===this.series[f][g]?p:p+this.series[f][g]/this.invertedYRatio;var x={barHeight:i,strokeWidth:n,invertedYRatio:this.invertedYRatio,barYPosition:h,x:s},_=this.bar.barEndingShape(u,x,this.series,f,g);if(1<this.series.length&&f!==this.endingShapeOnSeriesNumber&&(_.path=this.graphics.line(_.newX,h+i-n)),this.xArrj.push(_.newX),this.xArrjF.push(Math.abs(p-_.newX)),this.xArrjVal.push(this.series[f][g]),a=this.graphics.move(p,h),r=this.graphics.move(p,h),0<u.globals.previousPaths.length&&(r=this.bar.getPathFrom(m,g,!1)),a=a+this.graphics.line(_.newX,h)+_.path+this.graphics.line(p,h+i-n)+this.graphics.line(p,h),r=r+this.graphics.line(p,h)+this.graphics.line(p,h+i-n)+this.graphics.line(p,h+i-n)+this.graphics.line(p,h+i-n)+this.graphics.line(p,h),0<u.config.plotOptions.bar.colors.backgroundBarColors.length&&0===f){v>=u.config.plotOptions.bar.colors.backgroundBarColors.length&&(v=0);var k=u.config.plotOptions.bar.colors.backgroundBarColors[v],S=this.graphics.drawRect(0,h,u.globals.gridWidth,i,0,k,u.config.plotOptions.bar.colors.backgroundBarOpacity);d.add(S),S.node.classList.add("apexcharts-backgroundBar")}return{pathTo:a,pathFrom:r,x:s,y:l+=c}}},{key:"drawColumnPaths",value:function(t){var e=t.indexes,i=t.x,n=t.y,a=t.xDivision,r=t.pathTo,o=t.pathFrom,s=t.barWidth,l=t.zeroH,c=t.strokeWidth,d=t.elSeries,u=this.w,h=e.i,p=e.j,f=e.realIndex,g=e.bc;if(u.globals.isXNumeric){var m=u.globals.seriesX[h][p];m||(m=0),i=(m-u.globals.minX)/this.xRatio-s/2}for(var v=i,y=void 0,b=0,w=0;w<this.prevYF.length;w++)b+=this.prevYF[w][p];if(0<h&&!u.globals.isXNumeric||0<h&&u.globals.isXNumeric&&u.globals.seriesX[h-1][p]===u.globals.seriesX[h][p]){var x=this.prevY[h-1][p];y=this.prevYVal[h-1][p]<0?0<=this.series[h][p]?x-b:x:0<=this.series[h][p]?x:x+b}else y=u.globals.gridHeight-l;this.series[h][p],n=y-this.series[h][p]/this.yRatio[this.yaxisIndex];var _={barWidth:s,strokeWidth:c,yRatio:this.yRatio[this.yaxisIndex],barXPosition:v,y:n},k=this.bar.barEndingShape(u,_,this.series,h,p);if(1<this.series.length&&h!==this.endingShapeOnSeriesNumber&&(k.path=this.graphics.line(v+s-c,k.newY)),this.yArrj.push(k.newY),this.yArrjF.push(Math.abs(y-k.newY)),this.yArrjVal.push(this.series[h][p]),r=this.graphics.move(v,y),o=this.graphics.move(v,y),0<u.globals.previousPaths.length&&(o=this.bar.getPathFrom(f,p,!1)),r=r+this.graphics.line(v,k.newY)+k.path+this.graphics.line(v+s-c,y)+this.graphics.line(v,y),o=o+this.graphics.line(v,y)+this.graphics.line(v+s-c,y)+this.graphics.line(v+s-c,y)+this.graphics.line(v+s-c,y)+this.graphics.line(v,y),0<u.config.plotOptions.bar.colors.backgroundBarColors.length&&0===h){g>=u.config.plotOptions.bar.colors.backgroundBarColors.length&&(g=0);var S=u.config.plotOptions.bar.colors.backgroundBarColors[g],M=this.graphics.drawRect(v,0,s,u.globals.gridHeight,0,S,u.config.plotOptions.bar.colors.backgroundBarOpacity);d.add(M),M.node.classList.add("apexcharts-backgroundBar")}return i+=a,{pathTo:r,pathFrom:o,x:u.globals.isXNumeric?i-a:i,y:n}}},{key:"checkZeroSeries",value:function(t){for(var e=t.series,i=this.w,n=0;n<e.length;n++){for(var a=0,r=0;r<e[i.globals.maxValsInArrayIndex].length;r++)a+=e[n][r];0===a&&this.zeroSerieses.push(n)}for(var o=e.length-1;0<=o;o--)-1<this.zeroSerieses.indexOf(o)&&o===this.endingShapeOnSeriesNumber&&(this.endingShapeOnSeriesNumber-=1)}}]),e}();e.default=c},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=l(i(7)),r=l(i(47)),o=l(i(11)),s=l(i(0));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default),n(e,[{key:"draw",value:function(t,e){var i=this.w,n=new s.default(this.ctx),r=new o.default(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick;var l=new a.default(this.ctx,i);this.series=l.getLogSeries(t),t=this.series,this.yRatio=l.getLogYRatios(this.yRatio),this.initVariables(t);var c=n.group({class:"apexcharts-candlestick-series apexcharts-plot-series"});c.attr("clip-path","url(#gridRectMask"+i.globals.cuid+")");for(var d=0,u=0;d<t.length;d++,u++){var h,p,f=void 0,g=void 0,m=void 0,v=void 0,y=[],b=[],w=i.globals.comboCharts?e[d]:d,x=n.group({class:"apexcharts-series "+i.globals.seriesNames[w].toString().replace(/ /g,"-"),rel:d+1,"data:realIndex":w});0<t[d].length&&(this.visibleI=this.visibleI+1);var _,k,S=0;1<this.yRatio.length&&(this.yaxisIndex=w);var M=this.initialPositions();v=M.y,_=M.barHeight,m=M.x,k=M.barWidth,h=M.xDivision,p=M.zeroH,b.push(m+k/2);for(var C=n.group({class:"apexcharts-datalabels"}),T=0,D=i.globals.dataPoints;T<i.globals.dataPoints;T++,D--){void 0===this.series[d][T]||null===t[d][T]?this.isNullValue=!0:this.isNullValue=!1,i.config.stroke.show&&(S=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[w]:this.strokeWidth);var L,E=this.drawCandleStickPaths({indexes:{i:d,j:T,realIndex:w,bc:u},x:m,y:v,xDivision:h,pathTo:f,pathFrom:g,barWidth:k,zeroH:p,strokeWidth:S,elSeries:x});f=E.pathTo,g=E.pathFrom,v=E.y,m=E.x,L=E.color,0<T&&b.push(m+k/2),y.push(v);var A=r.fillPath(x,{seriesNumber:w,color:L}),P=this.candlestickOptions.wick.useFillColor?L:void 0;x=this.renderSeries({realIndex:w,pathFill:A,lineFill:P,j:T,i:d,pathFrom:g,pathTo:f,strokeWidth:S,elSeries:x,x:m,y:v,series:t,barHeight:_,barWidth:k,elDataLabelsWrap:C,visibleSeries:this.visibleI,type:"candlestick"})}i.globals.seriesXvalues[w]=b,i.globals.seriesYvalues[w]=y,c.add(x)}return c}},{key:"drawCandleStickPaths",value:function(t){var e=t.indexes,i=t.x,n=(t.y,t.xDivision),a=t.pathTo,r=t.pathFrom,o=t.barWidth,l=t.zeroH,c=t.strokeWidth,d=this.w,u=new s.default(this.ctx),h=e.i,p=e.j,f=!0,g=d.config.plotOptions.candlestick.colors.upward,m=d.config.plotOptions.candlestick.colors.downward,v=this.yRatio[this.yaxisIndex],y=e.realIndex,b=this.getOHLCValue(y,p),w=l,x=l;b.o>b.c&&(f=!1);var _=Math.min(b.o,b.c),k=Math.max(b.o,b.c);d.globals.isXNumeric&&(i=(d.globals.seriesX[h][p]-d.globals.minX)/this.xRatio-o/2);var S=i+o*this.visibleI;return u.move(S,l),r=u.move(S,l),0<d.globals.previousPaths.length&&(r=this.getPathFrom(y,p,!0)),void 0===this.series[h][p]||null===this.series[h][p]?_=l:(_=l-_/v,k=l-k/v,w=l-b.h/v,x=l-b.l/v),a=u.move(S,k)+u.line(S+o/2,k)+u.line(S+o/2,w)+u.line(S+o/2,k)+u.line(S+o,k)+u.line(S+o,_)+u.line(S+o/2,_)+u.line(S+o/2,x)+u.line(S+o/2,_)+u.line(S,_)+u.line(S,k-c/2),d.globals.isXNumeric||(i+=n),{pathTo:a,pathFrom:r,x:i,y:k,barXPosition:S,color:f?g:m}}},{key:"getOHLCValue",value:function(t,e){var i=this.w;return{o:i.globals.seriesCandleO[t][e],h:i.globals.seriesCandleH[t][e],l:i.globals.seriesCandleL[t][e],c:i.globals.seriesCandleC[t][e]}}}]),e}();e.default=c},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=c(i(32)),r=c(i(26)),o=c(i(0)),s=c(i(1)),l=c(i(5));function c(t){return t&&t.__esModule?t:{default:t}}function d(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 u=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.xRatio=i.xRatio,this.yRatio=i.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.width}return n(t,[{key:"draw",value:function(t){var e=this.w,i=new o.default(this.ctx),n=i.group({class:"apexcharts-heatmap"});n.attr("clip-path","url(#gridRectMask"+e.globals.cuid+")");for(var a=e.globals.gridWidth/e.globals.dataPoints,r=e.globals.gridHeight/e.globals.series.length,c=0,d=t.length-1;0<=d;d--){var u=i.group({class:"apexcharts-series apexcharts-heatmap-series "+e.globals.seriesNames[d].toString().replace(/ /g,"-"),rel:d+1,"data:realIndex":d});if(e.config.chart.dropShadow.enabled){var h=e.config.chart.dropShadow;new l.default(this.ctx).dropShadow(u,h)}for(var p=0,f=0;f<t[d].length;f++){var g=1,m=this.determineHeatColor(d,f);if(e.globals.hasNegs){var v=e.config.plotOptions.heatmap.shadeIntensity;g=m.percent<0?1-(1+m.percent/100)*v:(1-m.percent/100)*v}else g=1-m.percent/100;var y=m.color;if(e.config.plotOptions.heatmap.enableShades){var b=new s.default;y=s.default.hexToRgba(b.shadeColor(g,m.color),e.config.fill.opacity)}var w=this.rectRadius,x=i.drawRect(p,c,a,r,w);if(x.attr({cx:p,cy:c}),x.node.classList.add("apexcharts-heatmap-rect"),u.add(x),x.attr({fill:y,i:d,index:d,j:f,val:t[d][f],"stroke-width":this.strokeWidth,stroke:e.globals.stroke.colors[0],color:y}),x.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this,x)),x.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this,x)),x.node.addEventListener("mousedown",i.pathMouseDown.bind(this,x)),e.config.chart.animations.enabled&&!e.globals.dataChanged){var _=1;e.globals.resized||(_=e.config.chart.animations.speed),this.animateHeatMap(x,p,c,a,r,_)}if(e.globals.dataChanged){var k=1;if(this.dynamicAnim.enabled&&e.globals.shouldAnimate){k=this.dynamicAnim.speed;var S=e.globals.previousPaths[d]&&e.globals.previousPaths[d][f]&&e.globals.previousPaths[d][f].color;S||(S="rgba(255, 255, 255, 1)"),this.animateHeatColor(x,s.default.rgb2hex(S),s.default.rgb2hex(y),k)}}var M=this.calculateHeatmapDataLabels({x:p,y:c,i:d,j:f,series:t,rectHeight:r,rectWidth:a});null!==M&&u.add(M),p+=a}c+=r,n.add(u)}e.globals.yAxisScale[0].result.push("");var C=e.globals.gridHeight/e.globals.series.length;return e.config.yaxis[0].labels.offsetY=-C/2,n}},{key:"determineHeatColor",value:function(t,e){var i=this.w,n=i.globals.series[t][e],a=i.config.plotOptions.heatmap,r=a.colorScale.inverse?e:t,o=i.globals.colors[r],s=Math.min.apply(Math,d(i.globals.series[t])),l=Math.max.apply(Math,d(i.globals.series[t]));a.distributed||(s=i.globals.minY,l=i.globals.maxY),void 0!==a.colorScale.min&&(s=a.colorScale.min<i.globals.minY?a.colorScale.min:i.globals.minY,l=a.colorScale.max>i.globals.maxY?a.colorScale.max:i.globals.maxY);var c=Math.abs(l)+Math.abs(s),u=100*n/(0===c?c-1e-6:c);return 0<a.colorScale.ranges.length&&a.colorScale.ranges.map(function(t,e){n>=t.from&&n<=t.to&&(o=t.color,s=t.from,l=t.to,c=Math.abs(l)+Math.abs(s),u=100*n/c)}),{color:o,percent:u}}},{key:"calculateHeatmapDataLabels",value:function(t){var e=t.x,i=t.y,n=t.i,r=t.j,s=(t.series,t.rectHeight),l=t.rectWidth,c=this.w,d=c.config.dataLabels,u=new o.default(this.ctx),h=new a.default(this.ctx),p=d.formatter,f=null;if(d.enabled){f=u.group({class:"apexcharts-data-labels"});var g=d.offsetX,m=d.offsetY,v=e+l/2+g,y=i+s/2+parseInt(d.style.fontSize)/3+m,b=p(c.globals.series[n][r],{seriesIndex:n,dataPointIndex:r,w:c});h.plotDataLabelsText({x:v,y:y,text:b,i:n,j:r,parent:f,dataLabelsConfig:d})}return f}},{key:"animateHeatMap",value:function(t,e,i,n,a,o){new r.default(this.ctx).animateRect(t,{x:e+n/2,y:i+a/2,width:0,height:0},{x:e,y:i,width:n,height:a},o)}},{key:"animateHeatColor",value:function(t,e,i,n){t.attr({fill:e}).animate(n).attr({fill:i})}}]),t}();t.exports=u},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=h(i(7)),o=h(i(0)),s=h(i(11)),l=h(i(32)),c=h(i(27)),d=h(i(75)),u=h(i(1));function h(t){return t&&t.__esModule?t:{default:t}}var p=function(){function t(e,i,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.xyRatios=i,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||n,this.pointsChart&&(this.scatter=new d.default(this.ctx)),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.yaxisIndex=0}return a(t,[{key:"draw",value:function(t,e,i){var a=this.w,d=new o.default(this.ctx),h=new s.default(this.ctx),p=a.globals.comboCharts?e:a.config.chart.type,f=d.group({class:"apexcharts-"+p+"-series apexcharts-plot-series"}),g=new r.default(this.ctx,a);t=g.getLogSeries(t);var m=this.xyRatios.yRatio;m=g.getLogYRatios(m);for(var v=this.xyRatios.zRatio,y=this.xyRatios.xRatio,b=this.xyRatios.baseLineY,w=[],x=[],_=0,k=0;k<t.length;k++){var S=a.globals.gridWidth/a.globals.dataPoints,M=a.globals.comboCharts?i[k]:k;1<m.length&&(this.yaxisIndex=M);var C=[],T=[],D=a.globals.gridHeight-b[this.yaxisIndex],L=D;D>a.globals.gridHeight&&(L=a.globals.gridHeight),_=S/2;var E=a.globals.padHorizontal+_,A=1;a.globals.isXNumeric&&(E=(a.globals.seriesX[M][0]-a.globals.minX)/y),T.push(E);var P=void 0,Y=void 0,O=void 0,I=void 0,H=[],R=[],N=d.group({class:"apexcharts-series "+a.globals.seriesNames[M].toString().replace(/ /g,"-")}),j=d.group({class:"apexcharts-series-markers-wrap"}),F=d.group({class:"apexcharts-datalabels"});this.ctx.series.addCollapsedClassToSeries(N,M);var z=t[k].length===a.globals.dataPoints;N.attr({"data:longestSeries":z,rel:k+1,"data:realIndex":M}),this.appendPathFrom=!0;var W=E,B=void 0,V=W,$=D,X=0;if($=this.determineFirstPrevY({i:k,series:t,yRatio:m[this.yaxisIndex],zeroY:D,prevY:$,prevSeriesY:x,lineYPosition:X}).prevY,C.push($),B=$,null===t[k][0]){for(var q=0;q<t[k].length;q++)if(null!==t[k][q]){V=S*q,$=D-t[k][q]/m[this.yaxisIndex],P=d.move(V,$),Y=d.move(V,L);break}}else P=d.move(V,$),Y=d.move(V,L)+d.line(V,$);if(O=d.move(-1,D)+d.line(-1,D),I=d.move(-1,D)+d.line(-1,D),0<a.globals.previousPaths.length){var U=this.checkPreviousPaths({pathFromLine:O,pathFromArea:I,realIndex:M});O=U.pathFromLine,I=U.pathFromArea}for(var G=1<a.globals.dataPoints?a.globals.dataPoints-1:a.globals.dataPoints,Z=0;Z<G;Z++){a.globals.isXNumeric?E=(a.globals.seriesX[M][Z+1]-a.globals.minX)/y:E+=S;var J=u.default.isNumber(a.globals.minYArr[M])?a.globals.minYArr[M]:a.globals.minY;A=a.config.chart.stacked?(X=0<k&&a.globals.collapsedSeries.length<a.config.series.length-1?x[k-1][Z+1]:D,void 0===t[k][Z+1]||null===t[k][Z+1]?X-J/m[this.yaxisIndex]:X-t[k][Z+1]/m[this.yaxisIndex]):void 0===t[k][Z+1]||null===t[k][Z+1]?D-J/m[this.yaxisIndex]:D-t[k][Z+1]/m[this.yaxisIndex],T.push(E),C.push(A);var K=this.createPaths({series:t,i:k,j:Z,x:E,y:A,xDivision:S,pX:W,pY:B,areaBottomY:L,linePath:P,areaPath:Y,linePaths:H,areaPaths:R});R=K.areaPaths,H=K.linePaths,W=K.pX,B=K.pY,Y=K.areaPath,P=K.linePath,this.appendPathFrom&&(O+=d.line(E,D),I+=d.line(E,D));var Q=this.calculatePoints({series:t,x:E,y:A,realIndex:M,i:k,j:Z,prevY:$,categoryAxisCorrection:_,xRatio:y});if(this.pointsChart)this.scatter.draw(N,Z,{realIndex:M,pointsPos:Q,zRatio:v,elParent:j});else{var tt=new c.default(this.ctx);1<a.globals.dataPoints&&j.node.classList.add("hidden");var et=tt.plotChartMarkers(Q,M,Z+1);null!==et&&j.add(et)}var it=new l.default(this.ctx).drawDataLabel(Q,M,Z+1);null!==it&&F.add(it)}x.push(C),a.globals.seriesXvalues[M]=T,a.globals.seriesYvalues[M]=C,this.pointsChart||a.globals.delayedElements.push({el:j.node,index:M});var nt={i:k,realIndex:M,animationDelay:k,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-"+p,id:"apexcharts-"+p};if(a.config.stroke.show&&!this.pointsChart){var at=null;at="line"===p?h.fillPath(N,{seriesNumber:M,i:k}):a.globals.stroke.colors[M];for(var rt=0;rt<H.length;rt++){var ot=d.renderPaths(n({},nt,{pathFrom:O,pathTo:H[rt],stroke:at,strokeWidth:Array.isArray(a.config.stroke.width)?a.config.stroke.width[M]:a.config.stroke.width,strokeLineCap:a.config.stroke.lineCap,fill:"none"}));N.add(ot)}}if("area"===p)for(var st=h.fillPath(N,{seriesNumber:M}),lt=0;lt<R.length;lt++){var ct=d.renderPaths(n({},nt,{pathFrom:I,pathTo:R[lt],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:st}));N.add(ct)}N.add(j),N.add(F),w.push(N)}for(var dt=w.length;0<dt;dt--)f.add(w[dt-1]);return f}},{key:"createPaths",value:function(t){var e=t.series,i=t.i,n=t.j,a=t.x,r=t.y,s=t.pX,l=t.pY,c=t.xDivision,d=t.areaBottomY,u=t.linePath,h=t.areaPath,p=t.linePaths,f=t.areaPaths,g=this.w,m=new o.default(this.ctx),v=Array.isArray(g.config.stroke.curve)?g.config.stroke.curve[i]:g.config.stroke.curve;if("smooth"===v){var y=.35*(a-s);g.globals.hasNullValues?(null!==e[i][n]&&(h=null!==e[i][n+1]?(u=m.move(s,l)+m.curve(s+y,l,a-y,r,a+1,r),m.move(s+1,l)+m.curve(s+y,l,a-y,r,a+1,r)+m.line(a,d)+m.line(s,d)+"z"):(u=m.move(s,l),m.move(s,l)+"z")),p.push(u),f.push(h)):(u+=m.curve(s+y,l,a-y,r,a,r),h+=m.curve(s+y,l,a-y,r,a,r)),s=a,l=r,n===e[i].length-2&&(h=h+m.curve(s,l,a,r,a,d)+m.move(a,r)+"z",g.globals.hasNullValues||(p.push(u),f.push(h)))}else null===e[i][n+1]&&(u+=m.move(a,r),h=h+m.line(a-c,d)+m.move(a,r)),null===e[i][n]&&(u+=m.move(a,r),h+=m.move(a,d)),"stepline"===v?(u=u+m.line(a,null,"H")+m.line(null,r,"V"),h=h+m.line(a,null,"H")+m.line(null,r,"V")):"straight"===v&&(u+=m.line(a,r),h+=m.line(a,r)),n===e[i].length-2&&(h=h+m.line(a,d)+m.move(a,r)+"z",p.push(u),f.push(h));return{linePaths:p,areaPaths:f,pX:s,pY:l,linePath:u,areaPath:h}}},{key:"calculatePoints",value:function(t){var e=t.series,i=t.realIndex,n=t.x,a=t.y,r=t.i,o=t.j,s=t.prevY,l=t.categoryAxisCorrection,c=t.xRatio,d=this.w,h=[],p=[];if(0===o){var f=l+d.config.markers.offsetX;d.globals.isXNumeric&&(f=(d.globals.seriesX[i][0]-d.globals.minX)/c+d.config.markers.offsetX),h.push(f),p.push(u.default.isNumber(e[r][0])?s+d.config.markers.offsetY:null),h.push(n+d.config.markers.offsetX),p.push(u.default.isNumber(e[r][o+1])?a+d.config.markers.offsetY:null)}else h.push(n+d.config.markers.offsetX),p.push(u.default.isNumber(e[r][o+1])?a+d.config.markers.offsetY:null);return{x:h,y:p}}},{key:"checkPreviousPaths",value:function(t){for(var e=t.pathFromLine,i=t.pathFromArea,n=t.realIndex,a=this.w,r=0;r<a.globals.previousPaths.length;r++){var o=a.globals.previousPaths[r];("line"===o.type||"area"===o.type)&&0<o.paths.length&&parseInt(o.realIndex)===parseInt(n)&&("line"===o.type?(this.appendPathFrom=!1,e=a.globals.previousPaths[r].paths[0].d):"area"===o.type&&(this.appendPathFrom=!1,e=a.globals.previousPaths[r].paths[0].d,i=a.globals.previousPaths[r].paths[1].d))}return{pathFromLine:e,pathFromArea:i}}},{key:"determineFirstPrevY",value:function(t){var e=t.i,i=t.series,n=t.yRatio,a=t.zeroY,r=t.prevY,o=t.prevSeriesY,s=t.lineYPosition,l=this.w;if(void 0!==i[e][0])r=l.config.chart.stacked?(s=0<e?o[e-1][0]:a)-i[e][0]/n:a-i[e][0]/n;else if(l.config.chart.stacked&&0<e&&void 0===i[e][0])for(var c=e-1;0<=c;c--)if(null!==i[c][0]&&void 0!==i[c][0]){r=s=o[c][0];break}return{prevY:r,lineYPosition:s}}}]),t}();e.default=p},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=d(i(11)),o=d(i(0)),s=d(i(27)),l=d(i(32)),c=d(i(5));function d(t){return t&&t.__esModule?t:{default:t}}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var i=this.w;this.graphics=new o.default(this.ctx),this.lineColorArr=void 0!==i.globals.stroke.colors?i.globals.stroke.colors:i.globals.colors,this.defaultSize=i.globals.svgHeight<i.globals.svgWidth?i.globals.svgHeight-35:i.globals.gridWidth,this.maxValue=this.w.globals.maxY,this.maxLabelWidth=20;var n=i.globals.labels.slice().sort(function(t,e){return e.length-t.length})[0],a=this.graphics.getTextRects(n,i.config.dataLabels.style.fontSize);this.size=this.defaultSize/2.1-i.config.stroke.width-i.config.chart.dropShadow.blur-a.width/1.75,void 0!==i.config.plotOptions.radar.size&&(this.size=i.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return a(t,[{key:"draw",value:function(t){var e=this,i=this.w,a=new r.default(this.ctx),o=[];this.dataPointsLen=t[i.globals.maxValsInArrayIndex].length,this.disAngle=2*Math.PI/this.dataPointsLen;var l=i.globals.gridWidth/2,d=i.globals.gridHeight/2,u=this.graphics.group({class:"apexcharts-radar-series","data:innerTranslateX":l,"data:innerTranslateY":d-25,transform:"translate("+(l||0)+", "+(d||0)+")"}),h=[],p=null;this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),t.forEach(function(t,r){var l=e.graphics.group().attr({class:"apexcharts-series "+i.globals.seriesNames[r].toString().replace(/ /g,"-"),rel:r+1,"data:realIndex":r});e.dataRadiusOfPercent[r]=[],e.dataRadius[r]=[],e.angleArr[r]=[],t.forEach(function(t,i){e.dataRadiusOfPercent[r][i]=t/e.maxValue,e.dataRadius[r][i]=e.dataRadiusOfPercent[r][i]*e.size,e.angleArr[r][i]=i*e.disAngle}),h=e.getDataPointsPos(e.dataRadius[r],e.angleArr[r]);var d=e.createPaths(h,{x:0,y:0});p=e.graphics.group({class:"apexcharts-series-markers-wrap hidden"}),i.globals.delayedElements.push({el:p.node,index:r});var u={i:r,realIndex:r,animationDelay:r,initialSpeed:i.config.chart.animations.speed,dataChangeSpeed:i.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",id:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:i.globals.stroke.colors[r],strokeLineCap:i.config.stroke.lineCap},f=null;0<i.globals.previousPaths.length&&(f=e.getPathFrom(r));for(var g=0;g<d.linePathsTo.length;g++){var m=e.graphics.renderPaths(n({},u,{pathFrom:null===f?d.linePathsFrom[g]:f,pathTo:d.linePathsTo[g],strokeWidth:Array.isArray(i.config.stroke.width)?i.config.stroke.width[r]:i.config.stroke.width,fill:"none"}));l.add(m);var v=a.fillPath(l,{seriesNumber:r}),y=e.graphics.renderPaths(n({},u,{pathFrom:null===f?d.areaPathsFrom[g]:f,pathTo:d.areaPathsTo[g],strokeWidth:0,fill:v}));if(i.config.chart.dropShadow.enabled){var b=new c.default(e.ctx),w=i.config.chart.dropShadow;b.dropShadow(y,n({},w,{noUserSpaceOnUse:!0}))}l.add(y)}t.forEach(function(t,i){var n=new s.default(e.ctx).getMarkerConfig("apexcharts-marker",r),a=e.graphics.drawMarker(h[i].x,h[i].y,n);a.attr("rel",i),a.attr("j",i),a.attr("index",r),a.node.setAttribute("default-marker-size",n.pSize);var o=e.graphics.group({class:"apexcharts-series-markers"});o&&o.add(a),p.add(o),l.add(p)}),o.push(l)}),this.drawPolygons({parent:u});var f=this.drawLabels();return u.add(this.yaxisLabels),u.add(f),o.forEach(function(t){u.add(t)}),u}},{key:"drawPolygons",value:function(t){for(var e=this,i=this.w,n=t.parent,a=i.globals.yAxisScale[0].result.reverse(),r=a.length,o=[],s=this.size/(r-1),l=0;l<r;l++)o[l]=s*l;o.reverse();var c=[],d=[];o.forEach(function(t,n){var a=e.getPolygonPos(t),r="";a.forEach(function(t,a){if(0===n){var o=e.graphics.drawLine(t.x,t.y,0,0,i.config.plotOptions.radar.polygons.strokeColor);d.push(o)}0===a&&e.yaxisLabelsTextsPos.push({x:t.x,y:t.y}),r+=t.x+","+t.y+" "}),c.push(r)}),c.forEach(function(t,a){var r=e.graphics.drawPolygon(t,i.config.plotOptions.radar.polygons.strokeColor,i.globals.radarPolygons.fill.colors[a]);n.add(r)}),d.forEach(function(t){n.add(t)}),this.yaxisLabelsTextsPos.forEach(function(t,i){var n=e.drawYAxisText(t.x,t.y,i,a[i]);e.yaxisLabels.add(n)})}},{key:"drawYAxisText",value:function(t,e,i,n){var a=this.w,r=a.config.yaxis[0],o=a.globals.yLabelFormatters[0];return this.graphics.drawText({x:t+r.labels.offsetX,y:e+r.labels.offsetY,text:o(n,i),textAnchor:"middle",fontSize:r.labels.style.fontSize,fontFamily:r.labels.style.fontFamily,foreColor:r.labels.style.color})}},{key:"drawLabels",value:function(){var t=this,e=this.w,i="middle",n=e.config.dataLabels,a=this.graphics.group({class:"apexcharts-datalabels"}),r=this.getPolygonPos(this.size),o=0,s=0;return e.globals.labels.forEach(function(c,d){var u=n.formatter,h=new l.default(t.ctx);if(r[d]){o=r[d].x,s=r[d].y,10<=Math.abs(r[d].x)?0<r[d].x?(i="start",o+=10):r[d].x<0&&(i="end",o-=10):i="middle",Math.abs(r[d].y)>=t.size-10&&(r[d].y<0?s-=10:0<r[d].y&&(s+=10));var p=u(c,{seriesIndex:-1,dataPointIndex:d,w:e});h.plotDataLabelsText({x:o,y:s,text:p,textAnchor:i,i:d,j:d,parent:a,dataLabelsConfig:n,offsetCorrection:!1})}}),a}},{key:"createPaths",value:function(t,e){var i=this,n=[],a=[],r=[],o=[];if(t.length){a=[this.graphics.move(e.x,e.y)],o=[this.graphics.move(e.x,e.y)];var s=this.graphics.move(t[0].x,t[0].y),l=this.graphics.move(t[0].x,t[0].y);t.forEach(function(e,n){s+=i.graphics.line(e.x,e.y),l+=i.graphics.line(e.x,e.y),n===t.length-1&&(s+="Z",l+="Z")}),n.push(s),r.push(l)}return{linePathsFrom:a,linePathsTo:n,areaPathsFrom:o,areaPathsTo:r}}},{key:"getPathFrom",value:function(t){for(var e=this.w,i=null,n=0;n<e.globals.previousPaths.length;n++){var a=e.globals.previousPaths[n];0<a.paths.length&&parseInt(a.realIndex)===parseInt(t)&&void 0!==e.globals.previousPaths[n].paths[0]&&(i=e.globals.previousPaths[n].paths[0].d)}return i}},{key:"getDataPointsPos",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;t=t||[],e=e||[];for(var n=[],a=0;a<i;a++){var r={};r.x=t[a]*Math.sin(e[a]),r.y=-t[a]*Math.cos(e[a]),n.push(r)}return n}},{key:"getPolygonPos",value:function(t){for(var e=[],i=2*Math.PI/this.dataPointsLen,n=0;n<this.dataPointsLen;n++){var a={};a.x=t*Math.sin(n*i),a.y=-t*Math.cos(n*i),e.push(a)}return e}}]),t}();e.default=u},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=c(i(74)),r=c(i(1)),o=c(i(11)),s=c(i(0)),l=c(i(5));function c(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));i.ctx=t,i.w=t.w,i.animBeginArr=[0],i.animDur=0;var n=i.w;return i.startAngle=n.config.plotOptions.radialBar.startAngle,i.endAngle=n.config.plotOptions.radialBar.endAngle,i.trackStartAngle=n.config.plotOptions.radialBar.track.startAngle,i.trackEndAngle=n.config.plotOptions.radialBar.track.endAngle,i.radialDataLabels=n.config.plotOptions.radialBar.dataLabels,i.trackStartAngle||(i.trackStartAngle=i.startAngle),i.trackEndAngle||(i.trackEndAngle=i.endAngle),360===i.endAngle&&(i.endAngle=359.99),i.fullAngle=360-n.config.plotOptions.radialBar.endAngle-n.config.plotOptions.radialBar.startAngle,i.margin=parseInt(n.config.plotOptions.radialBar.track.margin),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,a.default),n(e,[{key:"draw",value:function(t){var e=this.w,i=new s.default(this.ctx),n=i.group({class:"apexcharts-radialbar"}),a=i.group(),r=this.defaultSize/2,o=e.globals.gridWidth/2,l=this.defaultSize/2.05-e.config.stroke.width-e.config.chart.dropShadow.blur;void 0!==e.config.plotOptions.radialBar.size&&(l=e.config.plotOptions.radialBar.size);var c=e.globals.fill.colors;if(e.config.plotOptions.radialBar.track.show){var d=this.drawTracks({size:l,centerX:o,centerY:r,colorArr:c,series:t});a.add(d)}var u=this.drawArcs({size:l,centerX:o,centerY:r,colorArr:c,series:t});return a.add(u.g),"front"===e.config.plotOptions.radialBar.hollow.position&&(u.g.add(u.elHollow),u.dataLabels&&u.g.add(u.dataLabels)),n.add(a),n}},{key:"drawTracks",value:function(t){var e=this.w,i=new s.default(this.ctx),n=i.group(),r=new l.default(this.ctx),c=new o.default(this.ctx),d=this.getStrokeWidth(t);t.size=t.size-d/2;for(var u=0;u<t.series.length;u++){var h=i.group({class:"apexcharts-radialbar-track apexcharts-track"});n.add(h),h.attr({id:"apexcharts-track-"+u,rel:u+1}),t.size=t.size-d-this.margin;var p=e.config.plotOptions.radialBar.track,f=c.fillPath(h,{seriesNumber:0,size:t.size,fillColors:Array.isArray(p.background)?p.background[u]:p.background,solid:!0}),g=this.trackStartAngle,m=this.trackEndAngle;360<=Math.abs(m)+Math.abs(g)&&(m=360-Math.abs(this.startAngle)-.1);var v=i.drawPath({d:"",stroke:f,strokeWidth:d*parseInt(p.strokeWidth)/100,fill:"none",strokeOpacity:p.opacity,classes:"apexcharts-radialbar-area"});if(p.dropShadow.enabled){var y=p.dropShadow;r.dropShadow(v,y)}h.add(v),v.attr("id","apexcharts-radialbarTrack-"+u),new a.default(this.ctx).animatePaths(v,{centerX:t.centerX,centerY:t.centerY,endAngle:m,startAngle:g,size:t.size,i:u,totalItems:2,animBeginArr:0,dur:0,easing:e.globals.easing})}return n}},{key:"drawArcs",value:function(t){var e=this.w,i=new s.default(this.ctx),n=new o.default(this.ctx),c=new l.default(this.ctx),d=i.group(),u=this.getStrokeWidth(t);t.size=t.size-u/2;var h=e.config.plotOptions.radialBar.hollow.background,p=t.size-u*t.series.length-this.margin*t.series.length-u*parseInt(e.config.plotOptions.radialBar.track.strokeWidth)/100/2,f=p-e.config.plotOptions.radialBar.hollow.margin;void 0!==e.config.plotOptions.radialBar.hollow.image&&(h=this.drawHollowImage(t,d,p,h));var g=this.drawHollow({size:f,centerX:t.centerX,centerY:t.centerY,fill:h});if(e.config.plotOptions.radialBar.hollow.dropShadow.enabled){var m=e.config.plotOptions.radialBar.hollow.dropShadow;c.dropShadow(g,m)}var v=1;!this.radialDataLabels.total.show&&1<e.globals.series.length&&(v=0);var y=new a.default(this.ctx),b=null;this.radialDataLabels.show&&(b=y.renderInnerDataLabels(this.radialDataLabels,{hollowSize:p,centerX:t.centerX,centerY:t.centerY,opacity:v})),"back"===e.config.plotOptions.radialBar.hollow.position&&(d.add(g),b&&d.add(b));var w=!1;e.config.plotOptions.radialBar.inverseOrder&&(w=!0);for(var x=w?t.series.length-1:0;w?0<=x:x<t.series.length;w?x--:x++){var _=i.group({class:"apexcharts-series apexcharts-radial-series "+e.globals.seriesNames[x].toString().replace(/ /g,"-")});d.add(_),_.attr({id:"apexcharts-series-"+x,rel:x+1}),this.ctx.series.addCollapsedClassToSeries(_,x),t.size=t.size-u-this.margin;var k=n.fillPath(_,{seriesNumber:x,size:t.size}),S=this.startAngle,M=void 0,C=Math.abs(e.config.plotOptions.radialBar.endAngle-e.config.plotOptions.radialBar.startAngle),T=Math.round(C*r.default.negToZero(t.series[x])/100)+this.startAngle,D=void 0;e.globals.dataChanged&&(M=this.startAngle,D=Math.round(C*r.default.negToZero(e.globals.previousPaths[x])/100)+M),360<=Math.abs(T)+Math.abs(S)&&(T-=.01),360<=Math.abs(D)+Math.abs(M)&&(D-=.01);var L=T-S,E=Array.isArray(e.config.stroke.dashArray)?e.config.stroke.dashArray[x]:e.config.stroke.dashArray,A=i.drawPath({d:"",stroke:k,strokeWidth:u,fill:"none",fillOpacity:e.config.fill.opacity,classes:"apexcharts-radialbar-area",strokeDashArray:E});if(s.default.setAttrs(A.node,{"data:angle":L,"data:value":t.series[x]}),e.config.chart.dropShadow.enabled){var P=e.config.chart.dropShadow;c.dropShadow(A,P)}this.addListeners(A,this.radialDataLabels);var Y=new a.default(this.ctx);A.node.addEventListener("mouseenter",Y.dataLabelsMouseIn.bind(this,A.node,this.radialDataLabels)),A.node.addEventListener("mouseleave",Y.dataLabelsMouseout.bind(this,A.node,this.radialDataLabels)),_.add(A),A.attr("id","apexcharts-radialArc-"+x);var O=0;!Y.initialAnim||e.globals.resized||e.globals.dataChanged||(O=(T-S)/360*e.config.chart.animations.speed,this.animDur=O/(1.2*t.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),e.globals.dataChanged&&(O=(T-S)/360*e.config.chart.animations.dynamicAnimation.speed,this.animDur=O/(1.2*t.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),Y.animatePaths(A,{centerX:t.centerX,centerY:t.centerY,endAngle:T,startAngle:S,prevEndAngle:D,prevStartAngle:M,size:t.size,i:x,totalItems:2,animBeginArr:this.animBeginArr,dur:O,shouldSetPrevPaths:!0,easing:e.globals.easing})}return{g:d,elHollow:g,dataLabels:b}}},{key:"drawHollow",value:function(t){var e=new s.default(this.ctx).drawCircle(2*t.size);return e.attr({class:"apexcharts-radialbar-hollow",cx:t.centerX,cy:t.centerY,r:t.size,fill:t.fill}),e}},{key:"drawHollowImage",value:function(t,e,i,n){var a=this.w,r=new o.default(this.ctx),s=(Math.random()+1).toString(36).substring(4),l=a.config.plotOptions.radialBar.hollow.image;if(a.config.plotOptions.radialBar.hollow.imageClipped)r.clippedImgArea({width:i,height:i,image:l,patternID:"pattern"+a.globals.cuid+s}),n="url(#pattern"+a.globals.cuid+s+")";else{var c=a.config.plotOptions.radialBar.hollow.imageWidth,d=a.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===c&&void 0===d){var u=a.globals.dom.Paper.image(l).loaded(function(e){this.move(t.centerX-e.width/2+a.config.plotOptions.radialBar.hollow.imageOffsetX,t.centerY-e.height/2+a.config.plotOptions.radialBar.hollow.imageOffsetY)});e.add(u)}else{var h=a.globals.dom.Paper.image(l).loaded(function(e){this.move(t.centerX-c/2+a.config.plotOptions.radialBar.hollow.imageOffsetX,t.centerY-d/2+a.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(c,d)});e.add(h)}}return n}},{key:"getStrokeWidth",value:function(t){var e=this.w;return t.size*(100-parseInt(e.config.plotOptions.radialBar.hollow.size))/100/(t.series.length+1)-this.margin}}]),e}();e.default=d},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=s(i(0)),r=s(i(52)),o=s(i(1));function s(t){return t&&t.__esModule?t:{default:t}}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.graphics=new a.default(this.ctx),"bar"===this.w.config.chart.type&&this.w.config.plotOptions.bar.horizontal&&(this.invertAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return n(t,[{key:"drawAnnotations",value:function(){var t=this.w;if(t.globals.axisCharts){for(var e=this.drawYAxisAnnotations(),i=this.drawXAxisAnnotations(),n=this.drawPointAnnotations(),a=t.config.chart.animations.enabled,r=[e,i,n],o=[i.node,e.node,n.node],s=0;s<3;s++)t.globals.dom.elGraphical.add(r[s]),!a||t.globals.resized||t.globals.dataChanged||o[s].classList.add("hidden"),t.globals.delayedElements.push({el:o[s],index:0});this.setOrientations(t.config.annotations.xaxis),this.annotationsBackground()}}},{key:"addXaxisAnnotation",value:function(t,e,i){var n=this.w,a=this.invertAxis?n.globals.minY:n.globals.minX,r=this.invertAxis?n.globals.yRange[0]:n.globals.xRange,o=t.strokeDashArray,s=(t.x-a)/(r/n.globals.gridWidth);if(!(s<0||s>n.globals.gridWidth)){var l=this.graphics.drawLine(s+t.offsetX,0+t.offsetY,s+t.offsetX,n.globals.gridHeight+t.offsetY,t.borderColor,o);e.appendChild(l.node);var c="top"===t.label.position?-3:n.globals.gridHeight,d=t.label.text?t.label.text:"",u=this.graphics.drawText({x:s+t.label.offsetX,y:c+t.label.offsetY,text:d,textAnchor:t.label.textAnchor,fontSize:t.label.style.fontSize,fontFamily:t.label.style.fontFamily,foreColor:t.label.style.color,cssClass:"apexcharts-xaxis-annotation-label "+t.label.style.cssClass});u.attr({rel:i}),e.appendChild(u.node)}}},{key:"drawXAxisAnnotations",value:function(){var t=this,e=this.w,i=this.graphics.group({class:"apexcharts-xaxis-annotations"});return e.config.annotations.xaxis.map(function(e,n){t.addXaxisAnnotation(e,i.node,n)}),i}},{key:"addYaxisAnnotation",value:function(t,e,i){var n=this.w,a=t.strokeDashArray,r=void 0;if(this.invertAxis){var o=n.globals.labels.indexOf(t.y),s=n.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(o+1)+")");r=parseInt(s.getAttribute("y"))}else r=n.globals.gridHeight-(t.y-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight);var l=t.label.text?t.label.text:"",c=this.graphics.drawLine(0+t.offsetX,r+t.offsetY,n.globals.gridWidth+t.offsetX,r+t.offsetY,t.borderColor,a);e.appendChild(c.node);var d="right"===t.label.position?n.globals.gridWidth:0,u=this.graphics.drawText({x:d+t.label.offsetX,y:r+t.label.offsetY-3,text:l,textAnchor:t.label.textAnchor,fontSize:t.label.style.fontSize,fontFamily:t.label.style.fontFamily,foreColor:t.label.style.color,cssClass:"apexcharts-yaxis-annotation-label "+t.label.style.cssClass});u.attr({rel:i}),e.appendChild(u.node)}},{key:"drawYAxisAnnotations",value:function(){var t=this,e=this.w,i=this.graphics.group({class:"apexcharts-yaxis-annotations"});return e.config.annotations.yaxis.map(function(e,n){t.addYaxisAnnotation(e,i.node,n)}),i}},{key:"clearAnnotations",value:function(t){t.w.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations").forEach(function(t){for(;t.firstChild;)t.removeChild(t.firstChild)})}},{key:"addPointAnnotation",value:function(t,e,i){var n=this.w,a=0,r=0,o=0;if(this.invertAxis&&console.warn("Point annotation is not supported in horizontal bar charts."),"string"==typeof t.x){var s=n.globals.labels.indexOf(t.x),l=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(s+1)+")");a=parseInt(l.getAttribute("x"));var c=t.y;null===t.y&&(c=n.globals.series[t.seriesIndex][s]),r=n.globals.gridHeight-(c-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight)-parseInt(t.label.style.fontSize)-t.marker.size,o=n.globals.gridHeight-(c-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight)}else a=(t.x-n.globals.minX)/(n.globals.xRange/n.globals.gridWidth),r=n.globals.gridHeight-(parseInt(t.y)-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight)-parseInt(t.label.style.fontSize)-t.marker.size,o=n.globals.gridHeight-(t.y-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight);if(!(a<0||a>n.globals.gridWidth)){var d={pSize:t.marker.size,pWidth:t.marker.strokeWidth,pointFillColor:t.marker.fillColor,pointStrokeColor:t.marker.strokeColor,shape:t.marker.shape,radius:t.marker.radius},u=this.graphics.drawMarker(a+t.marker.offsetX,o+t.marker.offsetY,d);e.appendChild(u.node);var h=t.label.text?t.label.text:"",p=this.graphics.drawText({x:a+t.label.offsetX,y:r+t.label.offsetY,text:h,textAnchor:t.label.textAnchor,fontSize:t.label.style.fontSize,fontFamily:t.label.style.fontFamily,foreColor:t.label.style.color,cssClass:"apexcharts-point-annotation-label "+t.label.style.cssClass});p.attr({rel:i}),e.appendChild(p.node)}}},{key:"drawPointAnnotations",value:function(){var t=this,e=this.w,i=this.graphics.group({class:"apexcharts-point-annotations"});return e.config.annotations.points.map(function(e,n){t.addPointAnnotation(e,i.node,n)}),i}},{key:"setOrientations",value:function(t){var e=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,n=this.w;t.map(function(t,a){if("vertical"===t.label.orientation){var r=null!==i?i:a,o=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='"+r+"']");if(null!==o){var s=o.getBoundingClientRect();o.setAttribute("x",parseInt(o.getAttribute("x"))-s.height+4),"top"===t.label.position?o.setAttribute("y",parseInt(o.getAttribute("y"))+s.width):o.setAttribute("y",parseInt(o.getAttribute("y"))-s.width);var l=e.graphics.rotateAroundCenter(o),c=l.x,d=l.y;o.setAttribute("transform","rotate(-90 "+c+" "+d+")")}}})}},{key:"addBackgroundToAnno",value:function(t,e){var i=this.w.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),n=t.getBoundingClientRect(),a=e.label.style.padding.left,r=e.label.style.padding.right,o=e.label.style.padding.top,s=e.label.style.padding.bottom;"vertical"===e.label.orientation&&(o=e.label.style.padding.left,s=e.label.style.padding.right,a=e.label.style.padding.top,r=e.label.style.padding.bottom);var l=n.left-i.left-a,c=n.top-i.top-o;return this.graphics.drawRect(l,c,n.width+a+r,n.height+o+s,0,e.label.style.background,1,e.label.borderWidth,e.label.borderColor,0)}},{key:"annotationsBackground",value:function(){var t=this,e=this.w,i=function(i,n,a){var r=e.globals.dom.baseEl.querySelector(".apexcharts-"+a+"-annotations .apexcharts-"+a+"-annotation-label[rel='"+n+"']");if(r){var o=r.parentNode,s=t.addBackgroundToAnno(r,i);o.insertBefore(s.node,r)}};e.config.annotations.xaxis.map(function(t,e){i(t,e,"xaxis")}),e.config.annotations.yaxis.map(function(t,e){i(t,e,"yaxis")}),e.config.annotations.points.map(function(t,e){i(t,e,"point")})}},{key:"addText",value:function(t,e,i){var n=t.x,a=t.y,r=t.text,o=t.textAnchor,s=t.appendTo,l=void 0===s?".apexcharts-inner":s,c=t.foreColor,d=t.fontSize,u=t.fontFamily,h=t.cssClass,p=t.backgroundColor,f=t.borderWidth,g=t.strokeDashArray,m=t.radius,v=t.borderColor,y=t.paddingLeft,b=void 0===y?4:y,w=t.paddingRight,x=void 0===w?4:w,_=t.paddingBottom,k=void 0===_?2:_,S=t.paddingTop,M=void 0===S?2:S,C=i,T=C.w,D=T.globals.dom.baseEl.querySelector(l),L=this.graphics.drawText({x:n,y:a,text:r,textAnchor:o||"start",fontSize:d||"12px",fontFamily:u||T.config.chart.fontFamily,foreColor:c||T.config.chart.foreColor,cssClass:h});D.appendChild(L.node);var E=L.bbox(),A=this.graphics.drawRect(E.x-b,E.y-M,E.width+b+x,E.height+k+M,m,p,1,f,v,g);return L.before(A),e&&T.globals.memory.methodsToExec.push({context:C,method:C.addText,params:{x:n,y:a,text:r,textAnchor:o,appendTo:l,foreColor:c,fontSize:d,cssClass:h,backgroundColor:p,borderWidth:f,strokeDashArray:g,radius:m,borderColor:v,paddingLeft:b,paddingRight:x,paddingBottom:k,paddingTop:M}}),i}},{key:"addPointAnnotationExternal",value:function(t,e,i){return this.addAnnotationExternal({params:t,pushToMemory:e,context:i,type:"point",contextMethod:i.addPointAnnotation}),i}},{key:"addYaxisAnnotationExternal",value:function(t,e,i){return this.addAnnotationExternal({params:t,pushToMemory:e,context:i,type:"yaxis",contextMethod:i.addYaxisAnnotation}),i}},{key:"addXaxisAnnotationExternal",value:function(t,e,i){return this.addAnnotationExternal({params:t,pushToMemory:e,context:i,type:"xaxis",contextMethod:i.addXaxisAnnotation}),i}},{key:"addAnnotationExternal",value:function(t){var e=t.params,i=t.pushToMemory,n=t.context,a=t.type,s=t.contextMethod,l=n,c=l.w,d=c.globals.dom.baseEl.querySelector(".apexcharts-"+a+"-annotations"),u=d.childNodes.length+1,h=new r.default,p=Object.assign({},"xaxis"===a?h.xAxisAnnotation:"yaxis"===a?h.yAxisAnnotation:h.pointAnnotation),f=o.default.extend(p,e);switch(a){case"xaxis":this.addXaxisAnnotation(f,d,u);break;case"yaxis":this.addYaxisAnnotation(f,d,u);break;case"point":this.addPointAnnotation(f,d,u)}var g=c.globals.dom.baseEl.querySelector(".apexcharts-"+a+"-annotations .apexcharts-"+a+"-annotation-label[rel='"+u+"']"),m=this.addBackgroundToAnno(g,f);return d.insertBefore(m.node,g),i&&c.globals.memory.methodsToExec.push({context:l,method:s,params:e}),n}}]),t}();t.exports=l},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=o(i(51)),r=o(i(144));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.opts=e}return n(t,[{key:"init",value:function(){var t=new a.default(this.opts).init();return{config:t,globals:(new r.default).init(t)}}}]),t}();t.exports=s},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=_(i(47)),r=_(i(127)),o=_(i(128)),s=_(i(7)),l=_(i(76)),c=_(i(53)),d=_(i(129)),u=_(i(74)),h=_(i(131)),p=_(i(132)),f=_(i(130)),g=_(i(0)),m=_(i(49)),v=_(i(50)),y=_(i(78)),b=_(i(1)),w=_(i(28)),x=_(i(79));function _(t){return t&&t.__esModule?t:{default:t}}var k=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=i,this.w=i.w,this.el=e,this.coreUtils=new s.default(this.ctx),this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[]}return n(t,[{key:"setupElements",value:function(){var t=this.w.globals,e=this.w.config,i=e.chart.type;t.axisCharts=-1<["line","area","bar","candlestick","radar","scatter","bubble","heatmap"].indexOf(i),t.xyCharts=-1<["line","area","bar","candlestick","scatter","bubble"].indexOf(i),t.chartClass=".apexcharts"+t.cuid,t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),g.default.setAttrs(t.dom.elWrap,{id:t.chartClass.substring(1),class:"apexcharts-canvas "+t.chartClass.substring(1)}),this.el.appendChild(t.dom.elWrap),t.dom.Paper=new window.SVG.Doc(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate("+e.chart.offsetX+", "+e.chart.offsetY+")"}),t.dom.Paper.node.style.background=e.chart.background,this.setSVGDimensions(),t.dom.elGraphical=t.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),t.dom.elDefs=t.dom.Paper.defs(),t.dom.elLegendWrap=document.createElement("div"),t.dom.elLegendWrap.classList.add("apexcharts-legend"),t.dom.elWrap.appendChild(t.dom.elLegendWrap),t.dom.Paper.add(t.dom.elGraphical),t.dom.elGraphical.add(t.dom.elDefs)}},{key:"plotChartType",value:function(t,e){var i=this.w,n=i.config,s=i.globals,l={series:[],i:[]},c={series:[],i:[]},g={series:[],i:[]},m={series:[],i:[]},v={series:[],i:[]};s.series.map(function(e,n){if(void 0!==t[n].type){if("column"===t[n].type||"bar"===t[n].type)i.config.plotOptions.bar.horizontal=!1,m.series.push(e),m.i.push(n);else if("area"===t[n].type)c.series.push(e),c.i.push(n);else if("line"===t[n].type)l.series.push(e),l.i.push(n);else if("scatter"===t[n].type)g.series.push(e),g.i.push(n);else{if("candlestick"!==t[n].type)throw new Error("You have specified an unrecognized chart type. Available types for this propery are line/area/column/bar");v.series.push(e),v.i.push(n)}s.comboCharts=!0}else l.series.push(e),l.i.push(n)});var y=new f.default(this.ctx,e),b=new o.default(this.ctx,e),w=new u.default(this.ctx),x=new p.default(this.ctx),_=new h.default(this.ctx),k=[];if(s.comboCharts){if(0<c.series.length&&k.push(y.draw(c.series,"area",c.i)),0<m.series.length)if(i.config.chart.stacked){var S=new r.default(this.ctx,e);k.push(S.draw(m.series,m.i))}else{var M=new a.default(this.ctx,e);k.push(M.draw(m.series,m.i))}if(0<l.series.length&&k.push(y.draw(l.series,"line",l.i)),0<v.series.length&&k.push(b.draw(v.series,v.i)),0<g.series.length){var C=new f.default(this.ctx,e,!0);k.push(C.draw(g.series,"scatter",g.i))}}else switch(n.chart.type){case"line":k=y.draw(s.series,"line");break;case"area":k=y.draw(s.series,"area");break;case"bar":k=n.chart.stacked?new r.default(this.ctx,e).draw(s.series):new a.default(this.ctx,e).draw(s.series);break;case"candlestick":k=new o.default(this.ctx,e).draw(s.series);break;case"heatmap":k=new d.default(this.ctx,e).draw(s.series);break;case"pie":case"donut":k=w.draw(s.series);break;case"radialBar":k=x.draw(s.series);break;case"radar":k=_.draw(s.series);break;default:k=y.draw(s.series)}return k}},{key:"setSVGDimensions",value:function(){var t=this.w.globals,e=this.w.config;t.svgWidth=e.chart.width,t.svgHeight=e.chart.height;var i=b.default.getDimensions(this.el),n=e.chart.width.toString().split(/[0-9]+/g).pop();if("%"===n?b.default.isNumber(i[0])&&(0===i[0].width&&(i=b.default.getDimensions(this.el.parentNode)),t.svgWidth=i[0]*parseInt(e.chart.width)/100):"px"!==n&&""!==n||(t.svgWidth=parseInt(e.chart.width)),"auto"!==t.svgHeight&&""!==t.svgHeight)if("%"===e.chart.height.toString().split(/[0-9]+/g).pop()){var a=b.default.getDimensions(this.el.parentNode);t.svgHeight=a[1]*parseInt(e.chart.height)/100}else t.svgHeight=parseInt(e.chart.height);else t.axisCharts?t.svgHeight=t.svgWidth/1.61:t.svgHeight=t.svgWidth;g.default.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight});var r=e.chart.sparkline.enabled?0:t.axisCharts?14:5;t.dom.Paper.node.parentNode.parentNode.style.minHeight=t.svgHeight+r+"px",t.dom.elWrap.style.width=t.svgWidth+"px",t.dom.elWrap.style.height=t.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var t=this.w.globals,e=t.translateY,i={transform:"translate("+t.translateX+", "+e+")"};g.default.setAttrs(t.dom.elGraphical.node,i)}},{key:"coreCalculations",value:function(){new y.default(this.ctx).init()}},{key:"resetGlobals",value:function(){var t=this.w.globals;t.series=[],t.seriesCandleO=[],t.seriesCandleH=[],t.seriesCandleL=[],t.seriesCandleC=[],t.seriesPercent=[],t.seriesX=[],t.seriesZ=[],t.seriesNames=[],t.seriesTotals=[],t.stackedSeriesTotals=[],t.labels=[],t.timelineLabels=[],t.noLabelsProvided=!1,t.timescaleTicks=[],t.resizeTimer=null,t.selectionResizeTimer=null,t.seriesXvalues=this.w.config.series.map(function(t){return[]}),t.seriesYvalues=this.w.config.series.map(function(t){return[]}),t.delayedElements=[],t.pointsArray=[],t.dataLabelsRects=[],t.isXNumeric=!1,t.isDataXYZ=!1,t.maxY=-Number.MAX_VALUE,t.minY=Number.MIN_VALUE,t.minYArr=[],t.maxYArr=[],t.maxX=-Number.MAX_VALUE,t.minX=Number.MAX_VALUE,t.initialmaxX=-Number.MAX_VALUE,t.initialminX=Number.MAX_VALUE,t.maxDate=0,t.minDate=Number.MAX_VALUE,t.minZ=Number.MAX_VALUE,t.maxZ=-Number.MAX_VALUE,t.yAxisScale=[],t.xAxisScale=null,t.xAxisTicksPositions=[],t.yLabelsCoords=[],t.yTitleCoords=[],t.xRange=0,t.yRange=[],t.zRange=0,t.dataPoints=0}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&1<this.w.config.yaxis.length)return this.w.config.chart.stacked=!1,this.w.globals.isMultipleYAxis=!0}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var t=this,e=this.w;e.globals.ignoreYAxisIndexes=e.globals.collapsedSeries.map(function(e,i){if(t.w.globals.isMultipleYAxis)return e.index})}},{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var t=this.w.config.series.slice(),e=new w.default(this.ctx).getActiveConfigSeriesIndex();if(void 0!==t[e].data&&0<t[e].data.length&&null!==t[e].data[0]&&void 0!==t[e].data[0].x&&null!==t[e].data[0])return!0}},{key:"isFormat2DArray",value:function(){var t=this.w.config.series.slice(),e=new w.default(this.ctx).getActiveConfigSeriesIndex();if(void 0!==t[e].data&&0<t[e].data.length&&void 0!==t[e].data[0]&&null!==t[e].data[0]&&t[e].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(t,e){for(var i=this.w.config,n=this.w.globals,a=0;a<t[e].data.length;a++)if(void 0!==t[e].data[a][1]&&(Array.isArray(t[e].data[a][1])&&4===t[e].data[a][1].length?this.twoDSeries.push(t[e].data[a][1][3]):this.twoDSeries.push(t[e].data[a][1])),"datetime"===i.xaxis.type){var r=new Date(t[e].data[a][0]);r=new Date(r).getTime(),this.twoDSeriesX.push(r)}else this.twoDSeriesX.push(t[e].data[a][0]);for(var o=0;o<t[e].data.length;o++)void 0!==t[e].data[o][2]&&(this.threeDSeries.push(t[e].data[o][2]),n.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(t,e){for(var i=this.w.config,n=this.w.globals,a=this.w.config.series.slice(),r=new c.default(this.ctx),o=0;o<t[e].data.length;o++){void 0!==t[e].data[o].y&&(Array.isArray(t[e].data[o].y)&&4===t[e].data[o].y.length?this.twoDSeries.push(t[e].data[o].y[3]):this.twoDSeries.push(t[e].data[o].y));var s="string"==typeof t[e].data[o].x,l=!!r.isValidDate(t[e].data[o].x.toString());s||l?s?"datetime"===i.xaxis.type?this.twoDSeriesX.push(r.parseDate(t[e].data[o].x)):(this.fallbackToCategory=!0,this.twoDSeriesX.push(t[e].data[o].x)):"datetime"===i.xaxis.type?this.twoDSeriesX.push(r.parseDate(t[e].data[o].x.toString())):this.twoDSeriesX.push(parseFloat(t[e].data[o].x)):this.twoDSeriesX.push(t[e].data[o].x)}if(a[e].data[0]&&void 0!==a[e].data[0].z){for(var d=0;d<a[e].data.length;d++)this.threeDSeries.push(a[e].data[d].z);n.isDataXYZ=!0}}},{key:"handleCandleStickData",value:function(t,e){var i=this.w.globals,n={};return this.isFormat2DArray()?n=this.handleCandleStickDataFormat("array",t,e):this.isFormatXY()&&(n=this.handleCandleStickDataFormat("xy",t,e)),i.seriesCandleO.push(n.o),i.seriesCandleH.push(n.h),i.seriesCandleL.push(n.l),i.seriesCandleC.push(n.c),n}},{key:"handleCandleStickDataFormat",value:function(t,e,i){var n=[],a=[],r=[],o=[],s="Please provide [Open, High, Low and Close] values in valid format. Read more https://apexcharts.com/docs/series/#candlestick";if("array"===t){if(4!==e[i].data[0][1].length)throw new Error(s);for(var l=0;l<e[i].data.length;l++)n.push(e[i].data[l][1][0]),a.push(e[i].data[l][1][1]),r.push(e[i].data[l][1][2]),o.push(e[i].data[l][1][3])}else if("xy"===t){if(4!==e[i].data[0].y.length)throw new Error(s);for(var c=0;c<e[i].data.length;c++)n.push(e[i].data[c].y[0]),a.push(e[i].data[c].y[1]),r.push(e[i].data[c].y[2]),o.push(e[i].data[c].y[3])}return{o:n,h:a,l:r,c:o}}},{key:"parseDataAxisCharts",value:function(t,e){for(var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.ctx,n=this.w.config,a=this.w.globals,r=new c.default(i),o=0;o<e.length;o++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],void 0===e[o].data)return void console.error("It is a possibility that you may have not included 'data' property in series.");if(this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(t,o):this.isFormatXY()&&this.handleFormatXY(t,o),"candlestick"!==n.chart.type&&"candlestick"!==t[o].type||this.handleCandleStickData(t,o),a.series.push(this.twoDSeries),a.labels.push(this.twoDSeriesX),a.seriesX.push(this.twoDSeriesX),this.fallbackToCategory||(a.isXNumeric=!0);else{if("datetime"===n.xaxis.type){a.isXNumeric=!0;for(var s=0<n.labels.length?n.labels.slice():n.xaxis.categories.slice(),l=0;l<s.length;l++)if("string"==typeof s[l]){if(!r.isValidDate(s[l]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");this.twoDSeriesX.push(r.parseDate(s[l]))}a.seriesX.push(this.twoDSeriesX)}else if("numeric"===n.xaxis.type){a.isXNumeric=!0;var d=0<n.labels.length?n.labels.slice():n.xaxis.categories.slice();0<d.length&&(this.twoDSeriesX=d,a.seriesX.push(this.twoDSeriesX))}a.labels.push(this.twoDSeriesX),a.series.push(t[o].data)}a.seriesZ.push(this.threeDSeries),void 0!==t[o].name?a.seriesNames.push(t[o].name):a.seriesNames.push("series-"+parseInt(o+1))}return this.w}},{key:"parseDataNonAxisCharts",value:function(t){var e=this.w.globals,i=this.w.config;e.series=t.slice(),e.seriesNames=i.labels.slice();for(var n=0;n<e.series.length;n++)void 0===e.seriesNames[n]&&e.seriesNames.push("series-"+(n+1));return this.w}},{key:"handleExternalLabelsData",value:function(t){var e=this.w.config,i=this.w.globals;if(0<e.xaxis.categories.length)i.labels=e.xaxis.categories;else if(0<e.labels.length)i.labels=e.labels.slice();else if(this.fallbackToCategory)i.labels=i.labels[0];else{var n=[];if(i.axisCharts){for(var a=0;a<i.series[i.maxValsInArrayIndex].length;a++)n.push(a+1);for(var r=0;r<t.length;r++)i.seriesX.push(n);i.isXNumeric=!0}if(0===n.length){n=[0,10];for(var o=0;o<t.length;o++)i.seriesX.push(n)}i.labels=n,i.noLabelsProvided=!0,"category"===e.xaxis.type&&(i.isXNumeric=!1)}}},{key:"parseData",value:function(t){var e=this.w,i=e.config,n=e.globals;this.excludeCollapsedSeriesInYAxis();var a=i.series.slice();if(this.fallbackToCategory=!1,this.resetGlobals(),this.isMultipleY(),n.axisCharts?this.parseDataAxisCharts(t,a):this.parseDataNonAxisCharts(t),this.coreUtils.getLargestSeries(),"bar"===i.chart.type&&i.chart.stacked){var r=new w.default(this.ctx);n.series=r.setNullSeriesToZeroValues(n.series)}this.coreUtils.getSeriesTotals(),n.axisCharts&&this.coreUtils.getStackedSeriesTotals(),this.coreUtils.getPercentSeries(),(!n.isXNumeric||"numeric"===i.xaxis.type&&0===i.labels.length&&0===i.xaxis.categories.length)&&this.handleExternalLabelsData(t)}},{key:"xySettings",value:function(){var t=null,e=this.w;if(e.globals.axisCharts&&("back"===e.config.xaxis.crosshairs.position&&new l.default(this.ctx).drawXCrosshairs(),"back"===e.config.yaxis[0].crosshairs.position&&new l.default(this.ctx).drawYCrosshairs(),t=this.coreUtils.getCalculatedRatios(),"datetime"===e.config.xaxis.type&&void 0===e.config.xaxis.labels.formatter&&isFinite(e.globals.minX)&&isFinite(e.globals.maxX))){var i=new x.default(this.ctx),n=i.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX);i.recalcDimensionsBasedOnFormat(n)}return t}},{key:"drawAxis",value:function(t,e){var i=this.w.globals,n=this.w.config,a=new m.default(this.ctx),r=new v.default(this.ctx);if(i.axisCharts&&"radar"!==t){var o=void 0,s=void 0;"bar"===t&&n.plotOptions.bar.horizontal?(s=r.drawYaxisInversed(0),o=a.drawXaxisInversed(0),i.dom.elGraphical.add(o),i.dom.elGraphical.add(s)):(o=a.drawXaxis(),i.dom.elGraphical.add(o),n.yaxis.map(function(t,n){-1===i.ignoreYAxisIndexes.indexOf(n)&&(s=r.drawYaxis(e,n),i.dom.Paper.add(s))}))}n.yaxis.map(function(t,e){-1===i.ignoreYAxisIndexes.indexOf(e)&&r.yAxisTitleRotate(e,t.opposite)})}},{key:"setupBrushHandler",value:function(){var t=this,e=this.w;if(e.config.chart.brush.enabled&&"function"!=typeof e.config.chart.events.selection){var i=ApexCharts.getChartByID(e.config.chart.brush.target);i.w.globals.brushSource=this.ctx;var n=function(){t.ctx._updateOptions({chart:{selection:{xaxis:{min:i.w.globals.minX,max:i.w.globals.maxX}}}},!1,!1)};"function"!=typeof i.w.config.chart.events.zoomed&&(i.w.config.chart.events.zoomed=function(){n()}),"function"!=typeof i.w.config.chart.events.scrolled&&(i.w.config.chart.events.scrolled=function(){n()}),e.config.chart.events.selection=function(t,n){var a=void 0,r=void 0;e.config.chart.brush.autoScaleYaxis&&(a=r=0,i.w.config.series.forEach(function(t){t[1]>r&&(r=t[1]),t[1]<a&&(a=t[1])}),a*=.95,r*=1.05);var o={min:a,max:r};i._updateOptions({xaxis:{min:n.xaxis.min,max:n.xaxis.max},yaxis:{min:o.min,max:o.max}},!1,!1)}}}}]),t}();t.exports=k},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=c(i(7)),r=c(i(48)),o=c(i(0)),s=c(i(28)),l=c(i(1));function c(t){return t&&t.__esModule?t:{default:t}}var d=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this)}return n(t,[{key:"init",value:function(){var t=this.w,e=t.globals,i=t.config;if((i.legend.showForSingleSeries&&1===e.series.length||1<e.series.length||!e.axisCharts)&&i.legend.show){for(;e.dom.elLegendWrap.firstChild;)e.dom.elLegendWrap.removeChild(e.dom.elLegendWrap.firstChild);this.drawLegends(),l.default.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.getLegendStyles()):this.appendToForeignObject(),"bottom"===i.legend.position||"top"===i.legend.position?this.legendAlignHorizontal():"right"!==i.legend.position&&"left"!==i.legend.position||this.legendAlignVertical()}}},{key:"appendToForeignObject",value:function(){var t=this.w.globals,e=document.createElementNS(t.svgNS,"foreignObject");e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("width",t.svgWidth),e.setAttribute("height",t.svgHeight),t.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),e.appendChild(t.dom.elLegendWrap),e.appendChild(this.getLegendStyles()),t.dom.Paper.node.insertBefore(e,t.dom.elGraphical.node)}},{key:"drawLegends",value:function(){var t=this.w,e=t.config.legend.fontFamily,i=t.globals.seriesNames,n=t.globals.colors.slice();if("heatmap"===t.config.chart.type){var r=t.config.plotOptions.heatmap.colorScale.ranges;i=r.map(function(t){return t.name?t.name:t.from+" - "+t.to}),n=r.map(function(t){return t.color})}for(var s=t.globals.legendFormatter,l=0;l<=i.length-1;l++){var c=s(i[l],{seriesIndex:l,w:t}),d=!1;if(0<t.globals.collapsedSeries.length)for(var u=0;u<t.globals.collapsedSeries.length;u++)t.globals.collapsedSeries[u].index===l&&(d=!0);var h=document.createElement("span");h.classList.add("apexcharts-legend-marker");var p=t.config.legend.markers.offsetX,f=t.config.legend.markers.offsetY,g=t.config.legend.markers.height,m=t.config.legend.markers.width,v=t.config.legend.markers.strokeWidth,y=t.config.legend.markers.strokeColor,b=t.config.legend.markers.radius,w=h.style;w.background=n[l],w.color=n[l],w.height=Array.isArray(g)?parseFloat(g[l])+"px":parseFloat(g)+"px",w.width=Array.isArray(m)?parseFloat(m[l])+"px":parseFloat(m)+"px",w.left=Array.isArray(p)?p[l]:p,w.top=Array.isArray(f)?f[l]:f,w.borderWidth=Array.isArray(v)?v[l]:v,w.borderColor=Array.isArray(y)?y[l]:y,w.borderRadius=Array.isArray(b)?parseFloat(b[l])+"px":parseFloat(b)+"px",t.config.legend.markers.customHTML&&(Array.isArray(t.config.legend.markers.customHTML)?h.innerHTML=t.config.legend.markers.customHTML[l]():h.innerHTML=t.config.legend.markers.customHTML()),o.default.setAttrs(h,{rel:l+1,"data:collapsed":d}),d&&h.classList.add("inactive-legend");var x=document.createElement("div"),_=document.createElement("span");_.classList.add("apexcharts-legend-text"),_.innerHTML=c;var k=t.config.legend.labels.useSeriesColors?t.globals.colors[l]:t.config.legend.labels.colors;if(k||(k=t.config.chart.foreColor),_.style.color=k,_.style.fontSize=parseFloat(t.config.legend.labels.fontSize)+"px",_.style.fontFamily=e||t.config.chart.fontFamily,o.default.setAttrs(_,{rel:l+1,"data:collapsed":d}),x.appendChild(h),x.appendChild(_),!t.config.legend.showForZeroSeries){var S=new a.default(this.ctx);0===S.getSeriesTotalByIndex(l)&&S.seriesHaveSameValues(l)&&-1===t.globals.collapsedSeriesIndices.indexOf(l)&&x.classList.add("apexcharts-hidden-zero-series")}t.globals.dom.elLegendWrap.appendChild(x),t.globals.dom.elLegendWrap.classList.add(t.config.legend.horizontalAlign),t.globals.dom.elLegendWrap.classList.add("position-"+t.config.legend.position),x.classList.add("apexcharts-legend-series"),x.style.margin=t.config.legend.itemMargin.horizontal+"px "+t.config.legend.itemMargin.vertical+"px",t.globals.dom.elLegendWrap.style.width=t.config.legend.width?t.config.legend.width+"px":"",t.globals.dom.elLegendWrap.style.height=t.config.legend.height?t.config.legend.height+"px":"",o.default.setAttrs(x,{rel:l+1,"data:collapsed":d}),d&&x.classList.add("inactiv`e-legend"),t.config.legend.onItemClick.toggleDataSeries||x.classList.add("no-click")}"heatmap"!==t.config.chart.type&&t.config.legend.onItemClick.toggleDataSeries&&t.globals.dom.elWrap.addEventListener("click",this.onLegendClick,!0),t.config.legend.onItemHover.highlightDataSeries&&(t.globals.dom.elWrap.addEventListener("mousemove",this.onLegendHovered,!0),t.globals.dom.elWrap.addEventListener("mouseout",this.onLegendHovered,!0))}},{key:"getLegendBBox",value:function(){var t=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),e=t.width;return{clwh:t.height,clww:e}}},{key:"setLegendWrapXY",value:function(t,e){var i=this.w,n=i.globals.dom.baseEl.querySelector(".apexcharts-legend"),a=n.getBoundingClientRect(),o=0,s=0;if("bottom"===i.config.legend.position)s+=i.globals.svgHeight-a.height/2;else if("top"===i.config.legend.position){var l=new r.default(this.ctx),c=l.getTitleSubtitleCoords("title").height,d=l.getTitleSubtitleCoords("subtitle").height;s=s+(0<c?c-10:0)+(0<d?d-10:0)}n.style.position="absolute",o=o+t+i.config.legend.offsetX,s=s+e+i.config.legend.offsetY,n.style.left=o+"px",n.style.top=s+"px","bottom"===i.config.legend.position?(n.style.top="auto",n.style.bottom=10+i.config.legend.offsetY+"px"):"right"===i.config.legend.position&&(n.style.left="auto",n.style.right=25+i.config.legend.offsetX+"px"),n.style.width&&(n.style.width=parseInt(i.config.legend.width)+"px"),n.style.height&&(n.style.height=parseInt(i.config.legend.height)+"px")}},{key:"legendAlignHorizontal",value:function(){var t=this.w;t.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var e=this.getLegendBBox(),i=new r.default(this.ctx),n=i.getTitleSubtitleCoords("title"),a=i.getTitleSubtitleCoords("subtitle"),o=0;"bottom"===t.config.legend.position?o=-e.clwh/1.8:"top"===t.config.legend.position&&(o=n.height+a.height+t.config.title.margin+t.config.subtitle.margin-15),this.setLegendWrapXY(20,o)}},{key:"legendAlignVertical",value:function(){var t=this.w,e=this.getLegendBBox(),i=0;"left"===t.config.legend.position&&(i=20),"right"===t.config.legend.position&&(i=t.globals.svgWidth-e.clww-10),this.setLegendWrapXY(i,20)}},{key:"onLegendHovered",value:function(t){var e=this.w,i=t.target.classList.contains("apexcharts-legend-text")||t.target.classList.contains("apexcharts-legend-marker");if("heatmap"!==e.config.chart.type)!t.target.classList.contains("inactive-legend")&&i&&new s.default(this.ctx).toggleSeriesOnHover(t,t.target);else if(i){var n=parseInt(t.target.getAttribute("rel"))-1;this.ctx.fireEvent("legendHover",[this.ctx,n,this.w]),new s.default(this.ctx).highlightRangeInSeries(t,t.target)}}},{key:"onLegendClick",value:function(t){if(t.target.classList.contains("apexcharts-legend-text")||t.target.classList.contains("apexcharts-legend-marker")){var e=parseInt(t.target.getAttribute("rel"))-1,i="true"===t.target.getAttribute("data:collapsed"),n=this.w.config.chart.events.legendClick;"function"==typeof n&&n(this.ctx,e,this.w),this.ctx.fireEvent("legendClick",[this.ctx,e,this.w]),this.toggleDataSeries(e,i)}}},{key:"getLegendStyles",value:function(){var t=document.createElement("style");t.setAttribute("type","text/css");var e=document.createTextNode("\n    \n      .apexcharts-legend {\n        display: flex;\n        overflow: auto;\n        padding: 0 10px;\n      }\n\n      .apexcharts-legend.position-bottom, .apexcharts-legend.position-top {\n        flex-wrap: wrap\n      }\n      .apexcharts-legend.position-right, .apexcharts-legend.position-left {\n        flex-direction: column;\n        bottom: 0;\n      }\n\n      .apexcharts-legend.position-bottom.left, .apexcharts-legend.position-top.left, .apexcharts-legend.position-right, .apexcharts-legend.position-left {\n        justify-content: flex-start;\n      }\n\n      .apexcharts-legend.position-bottom.center, .apexcharts-legend.position-top.center {\n        justify-content: center;  \n      }\n\n      .apexcharts-legend.position-bottom.right, .apexcharts-legend.position-top.right {\n        justify-content: flex-end;\n      }\n\n      .apexcharts-legend-series {\n        cursor: pointer;\n      }\n\n      .apexcharts-legend.position-bottom .apexcharts-legend-series, .apexcharts-legend.position-top .apexcharts-legend-series{\n        display: flex;\n        align-items: center;\n      }\n\n      .apexcharts-legend-text {\n        position: relative;\n        font-size: 14px;\n      }\n\n      .apexcharts-legend-marker {\n        position: relative;\n        display: inline-block;\n        cursor: pointer;\n        margin-right: 3px;\n      }\n      \n      .apexcharts-legend.right .apexcharts-legend-series, .apexcharts-legend.left .apexcharts-legend-series{\n        display: inline-block;\n      }\n\n      .apexcharts-legend-series.no-click {\n        cursor: auto;\n      }\n\n      .apexcharts-legend .apexcharts-hidden-zero-series {\n        display: none !important;\n      }\n\n      .inactive-legend {\n        opacity: 0.45;\n      }");return t.appendChild(e),t}},{key:"resetToggleDataSeries",value:function(){var t=this.w,e=[];if(t.globals.axisCharts?t.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:realIndex]").forEach(function(t){e.push(parseInt(t.getAttribute("data:realIndex")))}):t.globals.dom.baseEl.querySelectorAll(".apexcharts-series[rel]").forEach(function(t){e.push(parseInt(t.getAttribute("rel"))-1)}),e.sort(),0<t.globals.collapsedSeries.length){for(var i=t.globals.risingSeries.slice(),n=t.config.series.slice(),a=0;a<t.globals.collapsedSeries.length;a++){var r=e.indexOf(t.globals.collapsedSeries[a].index);-1!==r&&(t.globals.axisCharts?n[r].data=t.globals.collapsedSeries.slice()[a].data.slice():n[r]=t.globals.collapsedSeries.slice()[a].data,i.push(r))}t.globals.collapsedSeries=[],t.globals.collapsedSeriesIndices=[],t.globals.risingSeries=i,t.config.series=n,this.ctx._updateSeries(t.config.series,t.config.chart.animations.dynamicAnimation.enabled)}}},{key:"toggleDataSeries",value:function(t,e){var i=this.w;if(i.globals.axisCharts||"radialBar"===i.config.chart.type){i.globals.resized=!0;var n=null,a=null;if(i.globals.risingSeries=[],a=i.globals.axisCharts?(n=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='"+t+"']"),parseInt(n.getAttribute("data:realIndex"))):(n=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='"+(t+1)+"']"),parseInt(n.getAttribute("rel"))-1),e){if(0<i.globals.collapsedSeries.length)for(var r=0;r<i.globals.collapsedSeries.length;r++)i.globals.collapsedSeries[r].index===a&&(i.globals.axisCharts?i.config.series[a].data=i.globals.collapsedSeries[r].data.slice():i.config.series[a]=i.globals.collapsedSeries[r].data,i.globals.collapsedSeries.splice(r,1),i.globals.collapsedSeriesIndices.splice(r,1),i.globals.risingSeries.push(a),this.ctx._updateSeries(i.config.series,i.config.chart.animations.dynamicAnimation.enabled))}else{if(i.globals.axisCharts){i.globals.collapsedSeries.push({index:a,data:i.config.series[a].data.slice(),type:n.parentNode.className.baseVal.split("-")[1]}),i.globals.collapsedSeriesIndices.push(a);var o=i.globals.risingSeries.indexOf(a);i.globals.risingSeries.splice(o,1),i.config.series[a].data=[]}else i.globals.collapsedSeries.push({index:a,data:i.config.series[a]}),i.globals.collapsedSeriesIndices.push(a),i.config.series[a]=0;for(var s=n.childNodes,l=0;l<s.length;l++)s[l].classList.contains("apexcharts-series-markers-wrap")&&(s[l].classList.contains("apexcharts-hide")?s[l].classList.remove("apexcharts-hide"):s[l].classList.add("apexcharts-hide"));i.globals.allSeriesCollapsed=i.globals.collapsedSeries.length===i.globals.series.length,this.ctx._updateSeries(i.config.series,i.config.chart.animations.dynamicAnimation.enabled)}}else i.globals.dom.Paper.select(" .apexcharts-series[rel='"+(t+1)+"'] path").fire("click")}}]),t}();e.default=d},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=s(i(51)),r=s(i(1)),o=s(i(7));function s(t){return t&&t.__esModule?t:{default:t}}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return n(t,[{key:"checkResponsiveConfig",value:function(t){var e=this,i=this.w,n=i.config;if(0!==n.responsive.length){var s={},l=new a.default(s),c=function(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=0;a<n.responsive.length;a++){if((0<window.innerWidth?window.innerWidth:screen.width)<n.responsive[a].breakpoint){s=r.default.extend(l,t),s=o.default.extendArrayProps(s,n.responsive[a].options),s=r.default.extend(i.config,s),e.overrideResponsiveOptions(s);break}var c=o.default.extendArrayProps(l,i.globals.initialConfig);s=r.default.extend(i.config,c),e.overrideResponsiveOptions(s)}return s};if(t){var d=o.default.extendArrayProps(l,t);d=r.default.extend(i.config,d),d=c(d=r.default.extend(d,t)),this.overrideResponsiveOptions(d)}else c({})}}},{key:"overrideResponsiveOptions",value:function(t){var e=new a.default(t).init();this.w.config=e}}]),t}();t.exports=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(1),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return a(t,[{key:"niceScale",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:10;if(t===Number.MIN_VALUE&&0===e||!o.default.isNumber(t)&&!o.default.isNumber(e))return t=0,i=e=1,this.linearScale(t,e,i);e<t?(console.warn("yaxis.min cannot be greater than yaxis.max"),e=t+.1):t===e&&(t=0===t?0:t-.1,e=0===e?2:e+.1);var n=[],a=i+1;a<2?a=2:2<a&&(a-=2);for(var r=(e-t)/a,s=Math.floor(o.default.log10(r)),l=Math.pow(10,s),c=parseInt(r/l)*l,d=c*Math.floor(t/c),u=c*Math.ceil(e/c),h=d;n.push(h),!(u<(h+=c)););if(void 0===this.w.config.yaxis[0].max&&void 0===this.w.config.yaxis[0].min)return{result:n,niceMin:n[0],niceMax:n[n.length-1]};var p=t;(n=[]).push(p);for(var f=Math.abs(e-t)/i,g=0;g<=i-1;g++)p+=f,n.push(p);return{result:n,niceMin:n[0],niceMax:n[n.length-1]}}},{key:"linearScale",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:10,n=Math.abs(e-t)/i;i===Number.MAX_VALUE&&(i=10,n=1);for(var a=[],r=t;0<=i;)a.push(r),r+=n,i-=1;return{result:a,niceMin:a[0],niceMax:a[a.length-1]}}},{key:"logarithmicScale",value:function(t,e,i,n){var a=this.w;(e<0||e===Number.MIN_VALUE)&&(e=.01);for(var r=a.config.yaxis[t].logBase,s=Math.log(e)/Math.log(r),l=Math.log(i)/Math.log(r),c=Math.abs(i-e)/n,d=[],u=e;0<=n;)d.push(u),u+=c,n-=1;var h=d.map(function(t,n){t<=0&&(t=.01);var a=(l-s)/(i-e),c=Math.pow(r,s+a*(t-s));return Math.round(c/o.default.roundToBase(c,r))*o.default.roundToBase(c,r)});return 0===h[0]&&(h[0]=1),{result:h,niceMin:h[0],niceMax:h[h.length-1]}}},{key:"setYScaleForIndex",value:function(t,e,i){var n=this.w.globals,a=this.w.config,r=a.yaxis[t];void 0===n.yAxisScale[t]&&(n.yAxisScale[t]=[]),a.yaxis[t].logarithmic?(n.allSeriesCollapsed=!1,n.yAxisScale[t]=this.logarithmicScale(t,e,i,r.tickAmount?r.tickAmount:Math.floor(Math.log10(i)))):i!==-Number.MAX_VALUE&&o.default.isNumber(i)?(n.allSeriesCollapsed=!1,n.yAxisScale[t]=this.niceScale(e,i,r.tickAmount?r.tickAmount:6)):n.yAxisScale[t]=this.linearScale(0,5,5)}},{key:"setMultipleYScales",value:function(){var t=this,e=this.w.globals,i=this.w.config,n=e.minYArr.concat([]),a=e.maxYArr.concat([]),r=[];i.yaxis.forEach(function(o,s){var l=s;i.series.forEach(function(t,i){t.name===o.seriesName&&-1===e.collapsedSeriesIndices.indexOf(i)&&(s!==(l=i)?r.push({index:i,similarIndex:s,alreadyExists:!0}):r.push({index:i}))});var c=n[l],d=a[l];t.setYScaleForIndex(s,c,d)}),this.sameScaleInMultipleAxes(n,a,r)}},{key:"sameScaleInMultipleAxes",value:function(t,e,i){var n=this,a=this.w.config,r=[];i.forEach(function(t){t.alreadyExists&&(void 0===r[t.index]&&(r[t.index]=[]),r[t.index].push(t.index),r[t.index].push(t.similarIndex))}),r.forEach(function(t,e){r.forEach(function(i,n){var a,o;e!==n&&0<(a=t,o=i,a.filter(function(t){return-1!==o.indexOf(t)})).length&&(r[e]=r[e].concat(r[n]))})});var o=r.map(function(t){return t.filter(function(e,i){return t.indexOf(e)===i})}).map(function(t){return t.sort()});r=r.filter(function(t){return!!t});var s=o.slice(),l=s.map(function(t){return JSON.stringify(t)});s=s.filter(function(t,e){return l.indexOf(JSON.stringify(t))===e});var c=[],d=[];t.forEach(function(t,i){s.forEach(function(n,a){n.includes(i)&&(void 0===c[a]&&(c[a]=[],d[a]=[]),c[a].push({key:i,value:t}),d[a].push({key:i,value:e[i]}))})});var u=Array(s.length).fill().map(function(t,e){return Number.MAX_SAFE_INTEGER}),h=Array(s.length).fill().map(function(t,e){return Number.MIN_SAFE_INTEGER});c.forEach(function(t,e){t.forEach(function(t,i){u[e]=Math.min(t.value,u[e])})}),d.forEach(function(t,e){t.forEach(function(t,i){h[e]=Math.max(t.value,h[e])})}),t.forEach(function(t,e){d.forEach(function(t,i){var r=u[i],o=h[i];t.forEach(function(i,s){t[s].key===e&&(void 0!==a.yaxis[e].min&&(r=a.yaxis[e].min),void 0!==a.yaxis[e].max&&(o=a.yaxis[e].max),n.setYScaleForIndex(e,r,o))})})})}}]),t}();e.default=s},function(t,e,i){"use strict";var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(1),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w,this.colors=[]}return a(t,[{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var t=this.w,e=new o.default;if(void 0===t.config.colors?t.globals.colors=this.predefined():t.globals.colors=t.config.colors,t.config.theme.monochrome.enabled){var i=[],n=t.globals.series.length;t.config.plotOptions.bar.distributed&&"bar"===t.config.chart.type&&(n=t.globals.series[0].length*t.globals.series.length);for(var a=t.config.theme.monochrome.color,r=1/(n/t.config.theme.monochrome.shadeIntensity),s=t.config.theme.monochrome.shadeTo,l=0,c=0;c<n;c++){var d=void 0;d="dark"===s?e.shadeColor(-1*l,a):e.shadeColor(l,a),l+=r,i.push(d)}t.globals.colors=i.slice()}var u=t.globals.colors.slice();this.pushExtraColors(t.globals.colors),void 0===t.config.stroke.colors?t.globals.stroke.colors=u:t.globals.stroke.colors=t.config.stroke.colors,this.pushExtraColors(t.globals.stroke.colors),void 0===t.config.fill.colors?t.globals.fill.colors=u:t.globals.fill.colors=t.config.fill.colors,this.pushExtraColors(t.globals.fill.colors),void 0===t.config.dataLabels.style.colors?t.globals.dataLabels.style.colors=u:t.globals.dataLabels.style.colors=t.config.dataLabels.style.colors,this.pushExtraColors(t.globals.dataLabels.style.colors),void 0===t.config.plotOptions.radar.polygons.fill.colors?t.globals.radarPolygons.fill.colors=["#fff"]:t.globals.radarPolygons.fill.colors=t.config.plotOptions.radar.polygons.fill.colors,this.pushExtraColors(t.globals.radarPolygons.fill.colors,20),void 0===t.config.markers.colors?t.globals.markers.colors=u:t.globals.markers.colors=t.config.markers.colors,this.pushExtraColors(t.globals.markers.colors)}},{key:"pushExtraColors",value:function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=this.w,a=e||n.globals.series.length;if((i=null===i&&("bar"===n.config.chart.type&&n.config.plotOptions.bar.distributed||"heatmap"===n.config.chart.type&&n.config.plotOptions.heatmap.colorScale.inverse))&&(a=n.globals.series[0].length*n.globals.series.length),t.length<a)for(var r=a-t.length,o=0;o<r;o++)t.push(t[o])}},{key:"predefined",value:function(){switch(this.w.config.theme.palette){case"palette1":this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"];break;case"palette2":this.colors=["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#FF9800"];break;case"palette3":this.colors=["#33b2df","#546E7A","#d4526e","#13d8aa","#A5978B"];break;case"palette4":this.colors=["#546E7A","#4ecdc4","#c7f464","#81D4FA","#fd6a6a"];break;case"palette5":this.colors=["#2b908f","#f9a3a4","#90ee7e","#fa4443","#69d2e7"];break;case"palette6":this.colors=["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"];break;case"palette7":this.colors=["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"];break;case"palette8":this.colors=["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"];break;case"palette9":this.colors=["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"];break;case"palette10":this.colors=["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"];break;default:this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"]}return this.colors}}]),t}();t.exports=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(0),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w}return a(t,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(t){var e=this.w,i="title"===t?e.config.title:e.config.subtitle,n=e.globals.svgWidth/2,a=i.offsetY,r="middle";if("left"===i.align?(n=10,r="start"):"right"===i.align&&(n=e.globals.svgWidth-10,r="end"),n+=i.offsetX,a=a+parseInt(i.style.fontSize)+2,void 0!==i.text){var s=new o.default(this.ctx).drawText({x:n,y:a,text:i.text,textAnchor:r,fontSize:i.style.fontSize,fontFamily:i.style.fontFamily,foreColor:i.style.color,opacity:1});s.node.setAttribute("class","apexcharts-"+t+"-text"),e.globals.dom.Paper.add(s)}}}]),t}();e.default=s},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=s(i(0)),r=s(i(1)),o=s(i(80));function s(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.ctx=t,i.w=t.w,i.dragged=!1,i.graphics=new a.default(i.ctx),i.eventList=["mousedown","mousemove","touchstart","touchmove","mouseup","touchend"],i.clientX=0,i.clientY=0,i.startX=0,i.endX=0,i.dragX=0,i.startY=0,i.endY=0,i.dragY=0,i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),n(e,[{key:"init",value:function(t){var e=t.xyRatios,i=this.w;this.xyRatios=e,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=i.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),i.globals.dom.elGraphical.add(this.zoomRect),i.globals.dom.elGraphical.add(this.selectionRect),"x"===i.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:i.globals.gridWidth,maxY:i.globals.gridHeight}).on("dragmove",this.selectionDragging.bind(this,"dragging")):"y"===i.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:i.globals.gridWidth}).on("dragmove",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=i.globals.dom.baseEl.querySelector(i.globals.chartClass),this.hoverArea.classList.add("zoomable");var n=!0,a=!1,r=void 0;try{for(var o,s=this.eventList[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;this.hoverArea.addEventListener(l,this.svgMouseEvents.bind(this,e),{capture:!1,passive:!0})}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}}},{key:"destroy",value:function(){var t=!0,e=!1,i=void 0;try{for(var n,a=this.eventList[Symbol.iterator]();!(t=(n=a.next()).done);t=!0){var r=n.value;this.hoverArea&&this.hoverArea.removeEventListener(r,this.svgMouseEvents.bind(this,this.xyRatios),{capture:!1,passive:!0})}}catch(t){e=!0,i=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw i}}this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(t,e){var i=this.w,n=this,a=this.ctx.toolbar,r=i.globals.zoomEnabled?i.config.chart.zoom.type:i.config.chart.selection.type;if(e.shiftKey?(this.shiftWasPressed=!0,a.enablePanning()):this.shiftWasPressed&&(a.enableZooming(),this.shiftWasPressed=!1),!e.target.classList.contains("apexcharts-selection-rect")&&!e.target.parentNode.classList.contains("apexcharts-toolbar")){if(n.clientX="touchmove"===e.type||"touchstart"===e.type?e.touches[0].clientX:"touchend"===e.type?e.changedTouches[0].clientX:e.clientX,n.clientY="touchmove"===e.type||"touchstart"===e.type?e.touches[0].clientY:"touchend"===e.type?e.changedTouches[0].clientY:e.clientY,"mousedown"===e.type&&1===e.which){var o=n.gridRect.getBoundingClientRect();n.startX=n.clientX-o.left,n.startY=n.clientY-o.top,n.dragged=!1,n.w.globals.mousedown=!0}if(("mousemove"===e.type&&1===e.which||"touchmove"===e.type)&&(n.dragged=!0,i.globals.panEnabled?(i.globals.selection=null,n.w.globals.mousedown&&n.panDragging({context:n,zoomtype:r,xyRatios:t})):(n.w.globals.mousedown&&i.globals.zoomEnabled||n.w.globals.mousedown&&i.globals.selectionEnabled)&&(n.selection=n.selectionDrawing({context:n,zoomtype:r}))),"mouseup"===e.type||"touchend"===e.type){var s=n.gridRect.getBoundingClientRect();n.w.globals.mousedown&&(n.endX=n.clientX-s.left,n.endY=n.clientY-s.top,n.dragX=Math.abs(n.endX-n.startX),n.dragY=Math.abs(n.endY-n.startY),(i.globals.zoomEnabled||i.globals.selectionEnabled)&&n.selectionDrawn({context:n,zoomtype:r})),i.globals.zoomEnabled&&n.hideSelectionRect(this.selectionRect),n.dragged=!1,n.w.globals.mousedown=!1}this.makeSelectionRectDraggable()}}},{key:"makeSelectionRectDraggable",value:function(){var t=this.w;if(this.selectionRect){var e=this.selectionRect.node.getBoundingClientRect();0<e.width&&0<e.height&&this.slDraggableRect.selectize().resize({constraint:{minX:0,minY:0,maxX:t.globals.gridWidth,maxY:t.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var t=this.w,e=this.xyRatios;if(!t.globals.zoomEnabled)if(void 0!==t.globals.selection&&null!==t.globals.selection)this.drawSelectionRect(t.globals.selection);else if(void 0!==t.config.chart.selection.xaxis.min&&void 0!==t.config.chart.selection.xaxis.max){var i=(t.config.chart.selection.xaxis.min-t.globals.minX)/e.xRatio,n={x:i,y:0,width:t.globals.gridWidth-(t.globals.maxX-t.config.chart.selection.xaxis.max)/e.xRatio-i,height:t.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(n),this.makeSelectionRectDraggable(),"function"==typeof t.config.chart.events.selection&&t.config.chart.events.selection(this.ctx,{xaxis:{min:t.config.chart.selection.xaxis.min,max:t.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(t){var e=t.x,i=t.y,n=t.width,r=t.height,o=t.translateX,s=t.translateY,l=this.w,c=this.zoomRect,d=this.selectionRect;if(this.dragged||null!==l.globals.selection){var u={transform:"translate("+o+", "+s+")"};l.globals.zoomEnabled&&this.dragged&&(c.attr({x:e,y:i,width:n,height:r,fill:l.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":l.config.chart.zoom.zoomedArea.fill.opacity,stroke:l.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":l.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":l.config.chart.zoom.zoomedArea.stroke.opacity}),a.default.setAttrs(c.node,u)),l.globals.selectionEnabled&&(d.attr({x:e,y:i,width:0<n?n:0,height:0<r?r:0,fill:l.config.chart.selection.fill.color,"fill-opacity":l.config.chart.selection.fill.opacity,stroke:l.config.chart.selection.stroke.color,"stroke-width":l.config.chart.selection.stroke.width,"stroke-dasharray":l.config.chart.selection.stroke.dashArray,"stroke-opacity":l.config.chart.selection.stroke.opacity}),a.default.setAttrs(d.node,u))}}},{key:"hideSelectionRect",value:function(t){t&&t.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(t){var e=t.context,i=t.zoomtype,n=this.w,a=e,r=this.gridRect.getBoundingClientRect(),o=a.startX-1,s=a.startY,l=a.clientX-r.left-o,c=a.clientY-r.top-s,d=0,u=0,h={};return(Math.abs(l+o)>n.globals.gridWidth||a.clientX-r.left<0)&&(a.hideSelectionRect(this.zoomRect),a.dragged=!1,a.w.globals.mousedown=!1),o>a.clientX-r.left&&(d=-(l=Math.abs(l))),s>a.clientY-r.top&&(u=-(c=Math.abs(c))),h="x"===i?{x:o,y:0,width:l,height:n.globals.gridHeight,translateX:d,translateY:0}:"y"===i?{x:0,y:s,width:n.globals.gridWidth,height:c,translateX:0,translateY:u}:{x:o,y:s,width:l,height:c,translateX:d,translateY:u},a.drawSelectionRect(h),h}},{key:"selectionDragging",value:function(t,e){var i=this,n=this.w,a=this.xyRatios,r=this.selectionRect,o=0;"resizing"===t&&(o=30),"function"==typeof n.config.chart.events.selection&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout(function(){var t=i.gridRect.getBoundingClientRect(),e=r.node.getBoundingClientRect(),o=n.globals.xAxisScale.niceMin+(e.left-t.left)*a.xRatio,s=n.globals.xAxisScale.niceMin+(e.right-t.left)*a.xRatio,l=n.globals.yAxisScale[0].niceMin+(t.bottom-e.bottom)*a.yRatio[0],c=n.globals.yAxisScale[0].niceMax-(e.top-t.top)*a.yRatio[0];n.config.chart.events.selection(i.ctx,{xaxis:{min:o,max:s},yaxis:{min:l,max:c}})},o))}},{key:"selectionDrawn",value:function(t){var e=t.context,i=t.zoomtype,n=this.w,a=e,o=this.xyRatios,s=this.ctx.toolbar;if(a.startX>a.endX){var l=a.startX;a.startX=a.endX,a.endX=l}if(a.startY>a.endY){var c=a.startY;a.startY=a.endY,a.endY=c}var d=n.globals.xAxisScale.niceMin+a.startX*o.xRatio,u=n.globals.xAxisScale.niceMin+a.endX*o.xRatio,h=[],p=[];if(n.config.yaxis.forEach(function(t,e){h.push(Math.floor(n.globals.yAxisScale[e].niceMax-o.yRatio[e]*a.startY)),p.push(Math.floor(n.globals.yAxisScale[e].niceMax-o.yRatio[e]*a.endY))}),a.dragged&&(10<a.dragX||10<a.dragY)&&d!==u)if(n.globals.zoomEnabled){var f=r.default.clone(n.config.yaxis);n.globals.zoomed||(n.globals.lastXAxis=r.default.clone(n.config.xaxis),n.globals.lastYAxis=r.default.clone(n.config.yaxis));var g={min:d,max:u};if("xy"!==i&&"y"!==i||f.forEach(function(t,e){f[e].min=p[e],f[e].max=h[e]}),s){var m=s.getBeforeZoomRange(g,f);m&&(g=m.xaxis?m.xaxis:g,f=m.yaxis?m.yaxe:f)}"x"===i?a.ctx._updateOptions({xaxis:g},!1,a.w.config.chart.animations.dynamicAnimation.enabled):"y"===i?a.ctx._updateOptions({yaxis:f},!1,a.w.config.chart.animations.dynamicAnimation.enabled):a.ctx._updateOptions({xaxis:g,yaxis:f},!1,a.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof n.config.chart.events.zoomed&&s.zoomCallback(g,f),n.globals.zoomed=!0}else if(n.globals.selectionEnabled){var v,y=null;v={min:d,max:u},"xy"!==i&&"y"!==i||(y=r.default.clone(n.config.yaxis)).forEach(function(t,e){y[e].min=p[e],y[e].max=h[e]}),n.globals.selection=a.selection,"function"==typeof n.config.chart.events.selection&&n.config.chart.events.selection(a.ctx,{xaxis:v,yaxis:y})}}},{key:"panDragging",value:function(t){var e=t.context,i=(t.zoomtype,this.w),n=e,a=void 0;if(void 0!==i.globals.lastClientPosition.x){var r=i.globals.lastClientPosition.x-n.clientX,o=i.globals.lastClientPosition.y-n.clientY;Math.abs(r)>Math.abs(o)&&0<r?a="left":Math.abs(r)>Math.abs(o)&&r<0?a="right":Math.abs(o)>Math.abs(r)&&0<o?a="up":Math.abs(o)>Math.abs(r)&&o<0&&(a="down")}i.globals.lastClientPosition={x:n.clientX,y:n.clientY};var s=i.globals.minX,l=i.globals.maxX;this.panScrolled(a,s,l)}},{key:"panScrolled",value:function(t,e,i){var n=this.w,a=this.xyRatios;"left"===t?(e=n.globals.minX+n.globals.gridWidth/15*a.xRatio,i=n.globals.maxX+n.globals.gridWidth/15*a.xRatio):"right"===t&&(e=n.globals.minX-n.globals.gridWidth/15*a.xRatio,i=n.globals.maxX-n.globals.gridWidth/15*a.xRatio),(e<n.globals.initialminX||i>n.globals.initialmaxX)&&(e=n.globals.minX,i=n.globals.maxX),this.ctx._updateOptions({xaxis:{min:e,max:i}},!1,!1),"function"==typeof n.config.chart.events.scrolled&&n.config.chart.events.scrolled(this.ctx,{xaxis:{min:e,max:i}})}}]),e}();t.exports=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=l(i(26)),r=l(i(7)),o=l(i(0)),s=l(i(49));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w;var i=this.w;this.anim=new a.default(this.ctx),this.xaxisLabels=i.globals.labels.slice(),this.animX=i.config.grid.xaxis.lines.animate&&i.config.chart.animations.enabled,this.animY=i.config.grid.yaxis.lines.animate&&i.config.chart.animations.enabled,0<i.globals.timelineLabels.length&&(this.xaxisLabels=i.globals.timelineLabels.slice())}return n(t,[{key:"drawGridArea",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,e=this.w,i=new o.default(this.ctx);null===t&&(t=i.group({class:"apexcharts-grid"}));var n=i.drawLine(e.globals.padHorizontal,1,e.globals.padHorizontal,e.globals.gridHeight,"transparent"),a=i.drawLine(e.globals.padHorizontal,e.globals.gridHeight,e.globals.gridWidth,e.globals.gridHeight,"transparent");return t.add(a),t.add(n),t}},{key:"drawGrid",value:function(){var t=this.w,e=new s.default(this.ctx),i=this.w.globals,n=null;if(i.axisCharts){if(t.config.grid.show)n=this.renderGrid(),i.dom.elGraphical.add(n.el),this.drawGridArea(n.el);else{var a=this.drawGridArea();i.dom.elGraphical.add(a)}null!==n&&e.xAxisLabelCorrections(n.xAxisTickWidth)}}},{key:"createGridMask",value:function(){var t=this.w,e=t.globals,i=new o.default(this.ctx),n=Array.isArray(t.config.stroke.width)?0:t.config.stroke.width;if(Array.isArray(t.config.stroke.width)){var a=0;t.config.stroke.width.forEach(function(t){a=Math.max(a,t)}),n=a}e.dom.elGridRectMask=document.createElementNS(e.svgNS,"clipPath"),e.dom.elGridRectMask.setAttribute("id","gridRectMask"+e.cuid),e.dom.elGridRectMarkerMask=document.createElementNS(e.svgNS,"clipPath"),e.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask"+e.cuid),e.dom.elGridRect=i.drawRect(-n/2,-n/2,e.gridWidth+n,e.gridHeight+n,0,"#fff"),new r.default(this).getLargestMarkerSize();var s=t.globals.markers.largestSize+t.config.markers.hover.sizeOffset+1;e.dom.elGridRectMarker=i.drawRect(-s,-s,e.gridWidth+2*s,e.gridHeight+2*s,0,"#fff"),e.dom.elGridRectMask.appendChild(e.dom.elGridRect.node),e.dom.elGridRectMarkerMask.appendChild(e.dom.elGridRectMarker.node);var l=e.dom.baseEl.querySelector("defs");l.appendChild(e.dom.elGridRectMask),l.appendChild(e.dom.elGridRectMarkerMask)}},{key:"renderGrid",value:function(){for(var t=this.w,e=new o.default(this.ctx),i=t.config.grid.strokeDashArray,n=e.group({class:"apexcharts-grid"}),a=8,r=0;r<t.globals.series.length&&(void 0!==t.globals.yAxisScale[r]&&(a=t.globals.yAxisScale[r].result.length-1),!(2<a));r++);var l=void 0;if(t.config.plotOptions.bar.horizontal&&"bar"===t.config.chart.type){if(l=a,t.config.grid.xaxis.lines.show||t.config.xaxis.axisTicks.show)for(var c=t.globals.padHorizontal,d=void 0,u=t.globals.gridHeight,h=0;h<l+1&&(d=c=c+t.globals.gridWidth/l+.3,h!==l-1);h++){if(t.config.grid.xaxis.lines.show){var p=e.drawLine(c,0,d,u,t.config.grid.borderColor,i);p.node.classList.add("apexcharts-gridline"),n.add(p),this.animX&&this.animateLine(p,{x1:0,x2:0},{x1:c,x2:d})}new s.default(this.ctx).drawXaxisTicks(c,n)}if(t.config.grid.yaxis.lines.show)for(var f=0,g=0,m=t.globals.gridWidth,v=0;v<t.globals.dataPoints+1;v++){var y=e.drawLine(0,f,m,g,t.config.grid.borderColor,i);n.add(y),y.node.classList.add("apexcharts-gridline"),this.animY&&this.animateLine(y,{y1:f+20,y2:g+20},{y1:f,y2:g}),g=f+=t.globals.gridHeight/t.globals.dataPoints}}else{if(l=this.xaxisLabels.length,t.config.grid.xaxis.lines.show||t.config.xaxis.axisTicks.show){var b=t.globals.padHorizontal,w=void 0,x=t.globals.gridHeight;if(0<t.globals.timelineLabels.length)for(var _=0;_<l;_++){if(b=this.xaxisLabels[_].position,w=this.xaxisLabels[_].position,t.config.grid.xaxis.lines.show&&0<b&&b<t.globals.gridWidth){var k=e.drawLine(b,0,w,x,t.config.grid.borderColor,i);k.node.classList.add("apexcharts-gridline"),n.add(k),this.animX&&this.animateLine(k,{x1:0,x2:0},{x1:b,x2:w})}new s.default(this.ctx).drawXaxisTicks(b,n)}else for(var S=l,M=0;M<S;M++){var C=S;if(t.globals.isXNumeric&&"bar"!==t.config.chart.type&&(C-=1),w=b+=t.globals.gridWidth/C,M===C-1)break;if(t.config.grid.xaxis.lines.show){var T=e.drawLine(b,0,w,x,t.config.grid.borderColor,i);T.node.classList.add("apexcharts-gridline"),n.add(T),this.animX&&this.animateLine(T,{x1:0,x2:0},{x1:b,x2:w})}new s.default(this.ctx).drawXaxisTicks(b,n)}}if(t.config.grid.yaxis.lines.show)for(var D=0,L=0,E=t.globals.gridWidth,A=0;A<a+1;A++){var P=e.drawLine(0,D,E,L,t.config.grid.borderColor,i);n.add(P),P.node.classList.add("apexcharts-gridline"),this.animY&&this.animateLine(P,{y1:D+20,y2:L+20},{y1:D,y2:L}),L=D+=t.globals.gridHeight/a}}return this.drawGridBands(n,l,a),{el:n,xAxisTickWidth:t.globals.gridWidth/l}}},{key:"drawGridBands",value:function(t,e,i){var n=this.w,a=new o.default(this.ctx);if(void 0!==n.config.grid.row.colors&&0<n.config.grid.row.colors.length)for(var r=0,s=n.globals.gridHeight/i,l=n.globals.gridWidth,c=0,d=0;c<i;c++,d++){d>=n.config.grid.row.colors.length&&(d=0);var u=n.config.grid.row.colors[d],h=a.drawRect(0,r,l,s,0,u,n.config.grid.row.opacity);t.add(h),h.node.classList.add("apexcharts-gridRow"),r+=n.globals.gridHeight/i}if(void 0!==n.config.grid.column.colors&&0<n.config.grid.column.colors.length)for(var p=n.globals.padHorizontal,f=n.globals.padHorizontal+n.globals.gridWidth/e,g=n.globals.gridHeight,m=0,v=0;m<e;m++,v++){v>=n.config.grid.column.colors.length&&(v=0);var y=n.config.grid.column.colors[v],b=a.drawRect(p,0,f,g,0,y,n.config.grid.column.opacity);b.node.classList.add("apexcharts-gridColumn"),t.add(b),p+=n.globals.gridWidth/e}}},{key:"animateLine",value:function(t,e,i){var n=this.w,a=n.config.chart.animations;if(a&&!n.globals.resized&&!n.globals.dataChanged){var r=a.speed;this.anim.animateLine(t,e,i,r)}}}]),t}();e.default=c},function(t,e,i){"use strict";var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(1),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.opts=e}return a(t,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:5},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(t){return this.opts.yaxis[0].labels.show=!1,this.opts.yaxis[0].floating=!0,o.default.extend(t,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]}},stroke:{width:0},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1},xaxis:{tooltip:{enabled:!1},crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1}}}}}},{key:"candlestick",value:function(){return{stroke:{width:1,colors:["#333"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var e=t.seriesIndex,i=t.dataPointIndex,n=t.w;return'<div class="apexcharts-tooltip-candlestick"><div>Open: <span class="value">'+n.globals.seriesCandleO[e][i]+'</span></div><div>High: <span class="value">'+n.globals.seriesCandleH[e][i]+'</span></div><div>Low: <span class="value">'+n.globals.seriesCandleL[e][i]+'</span></div><div>Close: <span class="value">'+n.globals.seriesCandleC[e][i]+"</span></div></div>"}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"area",value:function(){return{stroke:{width:4},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"brush",value:function(t){return o.default.extend(t,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(){var t=this;this.opts.dataLabels=this.opts.dataLabels||{},this.opts.dataLabels.formatter=this.opts.dataLabels.formatter||void 0;var e=this.opts.dataLabels.formatter;this.opts.yaxis.forEach(function(e,i){t.opts.yaxis[i].min=0,t.opts.yaxis[i].max=100}),"bar"===this.opts.chart.type&&(this.opts.dataLabels.formatter=e||function(t){return"number"==typeof t&&t?t.toFixed(0)+"%":t})}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:2,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1,zoom:{enabled:!1}},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(t){return t.toFixed(1)+"%"},style:{colors:["#fff"]},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"dark",shadeIntensity:.35,inverseColors:!1,stops:[0,100,100]}},padding:{right:0,left:0},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(t){return t.toFixed(1)+"%"},style:{colors:["#fff"]},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"vertical",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},padding:{right:0,left:0},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.style.fontSize="13px",{dataLabels:{enabled:!0,style:{colors:"#a8a8a8",fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!(this.opts.yaxis[0].labels.offsetY=6),intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},padding:{right:0,left:0},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}}]),t}();t.exports=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(1),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return a(t,[{key:"globalVars",value:function(t){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:t.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,initialConfig:null,lastXAxis:[],lastYAxis:[],series:[],seriesPercent:[],seriesTotals:[],stackedSeriesTotals:[],seriesX:[],seriesZ:[],labels:[],timelineLabels:[],seriesNames:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],risingSeries:[],selectedDataPoints:[],ignoreYAxisIndexes:[],padHorizontal:0,maxValsInArrayIndex:0,zoomEnabled:"zoom"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.zoom&&t.chart.zoom.enabled,panEnabled:"pan"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.pan,selectionEnabled:"selection"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.selection,yaxis:null,minY:Number.MIN_VALUE,maxY:-Number.MAX_VALUE,minYArr:[],maxYArr:[],maxX:-Number.MAX_VALUE,initialmaxX:-Number.MAX_VALUE,minX:Number.MAX_VALUE,initialminX:Number.MAX_VALUE,minZ:Number.MAX_VALUE,maxZ:-Number.MAX_VALUE,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yRange:[],zRange:0,xRange:0,yValueDecimal:0,total:0,svgNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,delayedElements:[],axisCharts:!0,isXNumeric:!1,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,comboChartsHasBars:!1,dataChanged:!1,previousPaths:[],seriesXvalues:[],seriesYvalues:[],seriesCandleO:[],seriesCandleH:[],seriesCandleL:[],seriesCandleC:[],allSeriesHasEqualX:!0,dataPoints:0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,yAxisScale:[],xAxisScale:null,xAxisTicksPositions:[],timescaleTicks:[],rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,lineHeightRatio:1.618,xAxisLabelsHeight:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yLabelsCoords:[],yTitleCoords:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null,tooltipOpts:null}}},{key:"init",value:function(t){var e=this.globalVars(t);return e.initialConfig=o.default.extend({},t),e.initialSeries=JSON.parse(JSON.stringify(e.initialConfig.series)),e.lastXAxis=JSON.parse(JSON.stringify(e.initialConfig.xaxis)),e.lastYAxis=JSON.parse(JSON.stringify(e.initialConfig.yaxis)),e}}]),t}();e.default=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.w=e.w,this.ttCtx=e}return n(t,[{key:"drawXaxisTooltip",value:function(){var t=this.w,e=this.ttCtx,i="bottom"===t.config.xaxis.position;e.xaxisOffY=i?t.globals.gridHeight+1:1;var n=i?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",a=t.globals.dom.elWrap;e.blxaxisTooltip&&null===t.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")&&(e.xaxisTooltip=document.createElement("div"),e.xaxisTooltip.setAttribute("class",n),a.appendChild(e.xaxisTooltip),e.xaxisTooltipText=document.createElement("div"),e.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),e.xaxisTooltip.appendChild(e.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var t=this.w,e=this.ttCtx,i=0;i<t.config.yaxis.length;i++){var n=t.config.yaxis[i].opposite||t.config.yaxis[i].crosshairs.opposite;e.yaxisOffX=n?t.globals.gridWidth+1:1;var a=n?"apexcharts-yaxistooltip apexcharts-yaxistooltip-"+i+" apexcharts-yaxistooltip-right":"apexcharts-yaxistooltip apexcharts-yaxistooltip-"+i+" apexcharts-yaxistooltip-left",r=t.globals.dom.elWrap;e.blyaxisTooltip&&null===t.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-"+i)&&(e.yaxisTooltip=document.createElement("div"),e.yaxisTooltip.setAttribute("class",a),r.appendChild(e.yaxisTooltip),0===i&&(e.yaxisTooltipText=[]),e.yaxisTooltipText.push(document.createElement("div")),e.yaxisTooltipText[i].classList.add("apexcharts-yaxistooltip-text"),e.yaxisTooltip.appendChild(e.yaxisTooltipText[i]))}}},{key:"setXCrosshairWidth",value:function(){var t=this.w,e=this.ttCtx,i=e.getElXCrosshairs();if(e.xcrosshairsWidth=parseInt(t.config.xaxis.crosshairs.width),t.globals.comboCharts){var n=t.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==n&&"barWidth"===t.config.xaxis.crosshairs.width){var a=parseFloat(n.getAttribute("barWidth"));e.xcrosshairsWidth=a}else if("tickWidth"===t.config.xaxis.crosshairs.width){var r=t.globals.labels.length;e.xcrosshairsWidth=t.globals.gridWidth/r}}else if("tickWidth"===t.config.xaxis.crosshairs.width){var o=t.globals.labels.length;e.xcrosshairsWidth=t.globals.gridWidth/o}else if("barWidth"===t.config.xaxis.crosshairs.width){var s=t.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==s){var l=parseFloat(s.getAttribute("barWidth"));e.xcrosshairsWidth=l}else e.xcrosshairsWidth=1}"bar"===t.config.chart.type&&t.config.plotOptions.bar.horizontal&&(e.xcrosshairsWidth=0),null!==i&&0<e.xcrosshairsWidth&&i.setAttribute("width",e.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var t=this.w,e=this.ttCtx;e.ycrosshairs=t.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),e.ycrosshairsHidden=t.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(t,e,i){var n=this.ttCtx,a=this.w,r=a.globals.yLabelFormatters[t];if(n.blyaxisTooltip){var o=n.getElGrid().getBoundingClientRect(),s=(e-o.top)*i.yRatio[t],l=a.globals.maxYArr[t]-a.globals.minYArr[t],c=a.globals.minYArr[t]+(l-s);n.tooltipPosition.moveYCrosshairs(e-o.top),n.yaxisTooltipText[t].innerHTML=r(c),n.tooltipPosition.moveYAxisTooltip(t)}}}]),t}();e.default=a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i(1),o=(n=r)&&n.__esModule?n:{default:n},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.getAttr=function(t,e){return parseFloat(t.target.getAttribute(e))},this.w=e.w,this.ttCtx=e}return a(t,[{key:"handleHeatTooltip",value:function(t){var e=t.e,i=t.opt,n=t.x,a=t.y,r=this.ttCtx,o=this.w;if(e.target.classList.contains("apexcharts-heatmap-rect")){var s=this.getAttr(e,"i"),l=this.getAttr(e,"j"),c=this.getAttr(e,"cx"),d=this.getAttr(e,"cy"),u=this.getAttr(e,"width"),h=this.getAttr(e,"height");if(r.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:s,j:l,shared:!1}),n=c+r.tooltipRect.ttWidth/2+u,a=d+r.tooltipRect.ttHeight/2-h/2,r.tooltipPosition.moveXCrosshairs(c+u/2),n>o.globals.gridWidth/2&&(n=c-r.tooltipRect.ttWidth/2+u),r.w.config.tooltip.followCursor){var p=r.getElGrid().getBoundingClientRect();a=r.e.clientY-p.top+o.globals.translateY/2-10}}return{x:n,y:a}}},{key:"handleMarkerTooltip",value:function(t){var e=t.e,i=t.opt,n=t.x,a=t.y,r=this.w,s=this.ttCtx,l=void 0,c=void 0;if(e.target.classList.contains("apexcharts-marker")){var d=parseInt(i.paths.getAttribute("cx")),u=parseInt(i.paths.getAttribute("cy")),h=parseFloat(i.paths.getAttribute("val"));if(c=parseInt(i.paths.getAttribute("rel")),l=parseInt(i.paths.parentNode.parentNode.parentNode.getAttribute("rel"))-1,s.intersect){var p=o.default.findAncestor(i.paths,"apexcharts-series");p&&(l=parseInt(p.getAttribute("data:realIndex")))}if(s.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:l,j:c,shared:!s.intersect&&r.config.tooltip.shared}),s.marker.enlargeCurrentPoint(c,i.paths),n=d,a=u-1.4*s.tooltipRect.ttHeight,s.w.config.tooltip.followCursor){var f=s.getElGrid().getBoundingClientRect();a=s.e.clientY-f.top}h<0&&(a=u)}return{x:n,y:a}}},{key:"handleBarTooltip",value:function(t){var e=t.e,i=t.opt,n=this.w,a=this.ttCtx,r=a.getElTooltip(),o=0,s=0,l=0,c=0,d=void 0;if(a.isBarHorizontal&&a.hasBars()||!n.config.tooltip.shared){var u=this.getBarTooltipXY({e:e,opt:i});s=u.x,l=u.y,c=u.i,d=Array.isArray(n.config.stroke.width)?n.config.stroke.width[c]:n.config.stroke.width,o=s}else n.globals.comboCharts||n.config.tooltip.shared||(o/=2);if(isNaN(l)&&(l=n.globals.svgHeight-a.tooltipRect.ttHeight),s+a.tooltipRect.ttWidth>n.globals.gridWidth?s-=a.tooltipRect.ttWidth:s<0&&(s+=a.tooltipRect.ttWidth),a.w.config.tooltip.followCursor){var h=a.getElGrid().getBoundingClientRect();l=a.e.clientY-h.top}null===a.tooltip&&(a.tooltip=n.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),n.config.tooltip.shared||(n.globals.comboChartsHasBars?a.tooltipPosition.moveXCrosshairs(o+d/2):a.tooltipPosition.moveXCrosshairs(o)),!a.fixedTooltip&&(!n.config.tooltip.shared||a.isBarHorizontal&&a.hasBars())&&(r.style.left=s+n.globals.translateX+"px",a.tooltipRect.ttHeight+l>n.globals.gridHeight?(l=n.globals.gridHeight-a.tooltipRect.ttHeight+n.globals.translateY,r.style.top=l+"px"):r.style.top=l+n.globals.translateY-a.tooltipRect.ttHeight/2+"px")}},{key:"getBarTooltipXY",value:function(t){var e=t.e,i=t.opt,n=this.w,a=null,r=this.ttCtx,o=0,s=0,l=0,c=0,d=e.target.classList;if(d.contains("apexcharts-bar-area")||d.contains("apexcharts-candlestick-area")){var u=e.target,h=u.getBoundingClientRect(),p=i.elGrid.getBoundingClientRect(),f=h.height,g=h.width,m=parseInt(u.getAttribute("cx")),v=parseInt(u.getAttribute("cy"));c=parseFloat(u.getAttribute("barWidth"));var y="touchmove"===e.type?e.touches[0].clientX:e.clientX;a=parseInt(u.getAttribute("j")),o=parseInt(u.parentNode.getAttribute("rel"))-1,n.globals.comboCharts&&(o=parseInt(u.parentNode.getAttribute("data:realIndex"))),r.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:o,j:a,shared:!r.showOnIntersect&&n.config.tooltip.shared}),l=n.config.tooltip.followCursor?n.config.plotOptions.bar.horizontal?(s=y-p.left+15,v-r.dataPointsDividedHeight+f/2-r.tooltipRect.ttHeight/2):(s=n.globals.isXNumeric?m-g/2:m-r.dataPointsDividedWidth+g/2,e.clientY-p.top-r.tooltipRect.ttHeight/2-15):n.config.plotOptions.bar.horizontal?((s=m)<r.xyRatios.baseLineInvertedY&&(s=m-r.tooltipRect.ttWidth),v-r.dataPointsDividedHeight+f/2-r.tooltipRect.ttHeight/2):(s=n.globals.isXNumeric?m-g/2:m-r.dataPointsDividedWidth+g/2,v)}return{x:s,y:l,barWidth:c,i:o,j:a}}}]),t}();e.default=s},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=o(i(33)),r=o(i(82));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.w=e.w,this.ctx=e.ctx,this.ttCtx=e,this.tooltipUtil=new r.default(e)}return n(t,[{key:"drawSeriesTexts",value:function(t){var e=t.shared,i=void 0===e||e,n=t.ttItems,a=t.i,r=void 0===a?0:a,o=t.j,s=void 0===o?null:o;void 0!==this.w.config.tooltip.custom?this.handleCustomTooltip({i:r,j:s}):this.toggleActiveInactiveSeries(i);var l=this.getValuesToPrint({i:r,j:s});this.printLabels({i:r,j:s,values:l,ttItems:n,shared:i})}},{key:"printLabels",value:function(t){var e=t.i,i=t.j,n=t.values,a=t.ttItems,r=t.shared,o=this.w,s=void 0,l=n.xVal,c=n.zVal,d=n.xAxisTTVal,u="",h=o.globals.colors[e];null!==i&&o.config.plotOptions.bar.distributed&&(h=o.globals.colors[i]);for(var p=0,f=o.globals.series.length-1;p<o.globals.series.length;p++,f--){var g=this.getFormatters(e);if(u=this.getSeriesName({fn:g.yLbTitleFormatter,index:e,seriesIndex:e,j:i}),r){var m=o.config.tooltip.inverseOrder?f:p;g=this.getFormatters(m),u=this.getSeriesName({fn:g.yLbTitleFormatter,index:m,seriesIndex:e,j:i}),h=o.globals.colors[m],s=g.yLbFormatter(o.globals.series[m][i],{series:o.globals.series,seriesIndex:e,dataPointIndex:i,w:o}),(this.ttCtx.hasBars()&&o.config.chart.stacked&&0===o.globals.series[m][i]||void 0===o.globals.series[m][i])&&(s=void 0)}else s=g.yLbFormatter(o.globals.series[e][i],o);null===i&&(s=g.yLbFormatter(o.globals.series[e],o)),this.DOMHandling({t:p,ttItems:a,values:{val:s,xVal:l,xAxisTTVal:d,zVal:c},seriesName:u,shared:r,pColor:h})}}},{key:"getFormatters",value:function(t){var e=this.w,i=e.globals.yLabelFormatters[t],n=void 0;return void 0!==e.globals.ttVal?Array.isArray(e.globals.ttVal)?(i=e.globals.ttVal[t]&&e.globals.ttVal[t].formatter,n=e.globals.ttVal[t]&&e.globals.ttVal[t].title&&e.globals.ttVal[t].title.formatter):(i=e.globals.ttVal.formatter,"function"==typeof e.globals.ttVal.title.formatter&&(n=e.globals.ttVal.title.formatter)):n=e.config.tooltip.y.title.formatter,"function"!=typeof i&&(i=e.globals.yLabelFormatters[0]?e.globals.yLabelFormatters[0]:function(t){return t}),"function"!=typeof n&&(n=function(t){return t}),{yLbFormatter:i,yLbTitleFormatter:n}}},{key:"getSeriesName",value:function(t){var e=t.fn,i=t.index,n=t.seriesIndex,a=t.j,r=this.w;return e(String(r.globals.seriesNames[i]),{series:r.globals.series,seriesIndex:n,dataPointIndex:a,w:r})}},{key:"DOMHandling",value:function(t){var e=t.t,i=t.ttItems,n=t.values,a=t.seriesName,r=t.shared,o=t.pColor,s=this.w,l=this.ttCtx,c=n.val,d=n.xVal,u=n.xAxisTTVal,h=n.zVal,p=null;p=i[e].children,s.config.tooltip.fillSeriesColor&&(i[e].style.backgroundColor=o,p[0].style.display="none"),l.showTooltipTitle&&(null===l.tooltipTitle&&(l.tooltipTitle=s.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),l.tooltipTitle.innerHTML=d),l.blxaxisTooltip&&(l.xaxisTooltipText.innerHTML=""!==u?u:d);var f=i[e].querySelector(".apexcharts-tooltip-text-label");f&&(f.innerHTML=a?a+": ":"");var g=i[e].querySelector(".apexcharts-tooltip-text-value");g&&(g.innerHTML=c),p[0]&&p[0].classList.contains("apexcharts-tooltip-marker")&&(p[0].style.backgroundColor=o),s.config.tooltip.marker.show||(p[0].style.display="none"),null!==h&&(i[e].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=s.config.tooltip.z.title,i[e].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=h),r&&p[0]&&(p[0].parentNode.style.display=null==c?"none":s.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(t){var e=this.w;if(t)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var i=e.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");i&&(i.classList.add("active"),i.style.display=e.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(t){var e=t.i,i=t.j,n=this.w,r=this.ctx.series.filteredSeriesX(),o="",s=null,l=null,c={series:n.globals.series,seriesIndex:e,dataPointIndex:i,w:n},d=n.globals.ttZFormatter;null===i?l=n.globals.series[e]:n.globals.isXNumeric?(o=r[e][i],0===r[e].length&&(o=r[this.tooltipUtil.getFirstActiveXArray(r)][i])):o=void 0!==n.globals.labels[i]?n.globals.labels[i]:"";var u=o;return o=n.globals.isXNumeric&&"datetime"===n.config.xaxis.type?new a.default(this.ctx).xLabelFormat(n.globals.ttKeyFormatter,u):n.globals.xLabelFormatter(u,c),void 0!==n.config.tooltip.x.formatter&&(o=n.globals.ttKeyFormatter(u,c)),0<n.globals.seriesZ.length&&0<n.globals.seriesZ[0].length&&(s=d(n.globals.seriesZ[e][i],n)),{val:l,xVal:o,xAxisTTVal:"function"==typeof n.config.xaxis.tooltip.formatter?n.globals.xaxisTooltipFormatter(u,c):o,zVal:s}}},{key:"handleCustomTooltip",value:function(t){var e=t.i,i=t.j,n=this.w;this.ttCtx.getElTooltip().innerHTML=n.config.tooltip.custom({series:n.globals.series,seriesIndex:e,dataPointIndex:i,w:n})}}]),t}();t.exports=s},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=l(i(0)),r=l(i(81)),o=l(i(27)),s=l(i(1));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new r.default(e)}return n(t,[{key:"drawDynamicPoints",value:function(){for(var t=this.w,e=new a.default(this.ctx),i=new o.default(this.ctx),n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series"),r=0;r<n.length;r++){var s=parseInt(n[r].getAttribute("data:realIndex")),l=t.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='"+s+"'] .apexcharts-series-markers-wrap");if(null!==l){var c=void 0,d="apexcharts-marker w"+(Math.random()+1).toString(36).substring(4);"line"!==t.config.chart.type&&"area"!==t.config.chart.type||t.globals.comboCharts||t.config.tooltip.intersect||(d+=" no-pointer-events");var u=i.getMarkerConfig(d,s);(c=e.drawMarker(0,0,u)).node.setAttribute("default-marker-size",0);var h=document.createElementNS(t.globals.svgNS,"g");h.classList.add("apexcharts-series-markers"),h.appendChild(c.node),l.appendChild(h)}}}},{key:"enlargeCurrentPoint",value:function(t,e){var i=this.w;"bubble"!==i.config.chart.type&&this.newPointSize(t,e);var n=e.getAttribute("cx"),a=e.getAttribute("cy");if(this.tooltipPosition.moveXCrosshairs(n),!this.fixedTooltip){if("radar"===i.config.chart.type){var r=this.ttCtx.getElGrid().getBoundingClientRect();n=this.ttCtx.e.clientX-r.left}this.tooltipPosition.moveTooltip(n,a,i.config.markers.hover.size)}}},{key:"enlargePoints",value:function(t){for(var e=this.w,i=this.ttCtx,n=t,a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),r=e.config.markers.hover.size,o=0;o<a.length;o++){var s=a[o].getAttribute("rel"),l=a[o].getAttribute("index");if(void 0===r&&(r=e.globals.markers.size[l]+e.config.markers.hover.sizeOffset),n===parseInt(s)){this.newPointSize(n,a[o]);var c=a[o].getAttribute("cx"),d=a[o].getAttribute("cy");this.tooltipPosition.moveXCrosshairs(c),i.fixedTooltip||this.tooltipPosition.moveTooltip(c,d,r)}else this.oldPointSize(a[o])}}},{key:"newPointSize",value:function(t,e){var i=this.w,n=i.config.markers.hover.size,a=null;a=0===t?e.parentNode.firstChild:e.parentNode.lastChild;var r=parseInt(a.getAttribute("index"));void 0===n&&(n=i.globals.markers.size[r]+i.config.markers.hover.sizeOffset),a.setAttribute("r",n)}},{key:"oldPointSize",value:function(t){var e=parseInt(t.getAttribute("default-marker-size"));t.setAttribute("r",e)}},{key:"resetPointsSize",value:function(){for(var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),e=0;e<t.length;e++){var i=parseInt(t[e].getAttribute("default-marker-size"));s.default.isNumber(i)?t[e].setAttribute("r",i):t[e].setAttribute("r",0)}}}]),t}();t.exports=c},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=p(i(147)),r=p(i(81)),o=p(i(148)),s=p(i(146)),l=p(i(145)),c=p(i(0)),d=p(i(28)),u=p(i(49)),h=p(i(82));function p(t){return t&&t.__esModule?t:{default:t}}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ctx=e,this.w=e.w;var i=this.w;this.tooltipUtil=new h.default(this),this.tooltipLabels=new a.default(this),this.tooltipPosition=new r.default(this),this.marker=new o.default(this),this.intersect=new s.default(this),this.axesTooltip=new l.default(this),this.showOnIntersect=i.config.tooltip.intersect,this.showTooltipTitle=i.config.tooltip.x.show,this.fixedTooltip=i.config.tooltip.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarHorizontal=i.config.plotOptions.bar.horizontal,this.isBarShared=!i.config.plotOptions.bar.horizontal&&i.config.tooltip.shared}return n(t,[{key:"getElTooltip",value:function(t){return t||(t=this),t.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip")}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(t){var e=this.w;this.xyRatios=t,this.blxaxisTooltip=e.config.xaxis.tooltip.enabled&&e.globals.axisCharts,this.blyaxisTooltip=e.config.yaxis[0].tooltip.enabled&&e.globals.axisCharts,this.allTooltipSeriesGroups=[],e.globals.axisCharts||(this.showTooltipTitle=!1);var i=document.createElement("div");if(i.classList.add("apexcharts-tooltip"),i.classList.add(e.config.tooltip.theme),e.globals.dom.elWrap.appendChild(i),e.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var n=new u.default(this.ctx);this.xAxisTicksPositions=n.getXAxisTicksPositions()}if((e.globals.comboCharts&&!e.config.tooltip.shared||e.config.tooltip.intersect&&!e.config.tooltip.shared||"bar"===e.config.chart.type&&!e.config.tooltip.shared)&&(this.showOnIntersect=!0),0!==e.config.markers.size&&0!==e.globals.markers.largestSize||this.marker.drawDynamicPoints(this),e.globals.collapsedSeries.length!==e.globals.series.length){this.dataPointsDividedHeight=e.globals.gridHeight/e.globals.dataPoints,this.dataPointsDividedWidth=e.globals.gridWidth/e.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),i.appendChild(this.tooltipTitle));var a=e.globals.series.length;(e.globals.xyCharts||e.globals.comboCharts)&&e.config.tooltip.shared&&(a=this.showOnIntersect?1:e.globals.series.length),this.ttItems=this.createTTElements(a),this.addSVGEvents()}}},{key:"createTTElements",value:function(t){for(var e=this.w,i=[],n=this.getElTooltip(),a=0;a<t;a++){var r=document.createElement("div");r.classList.add("apexcharts-tooltip-series-group");var o=document.createElement("span");o.classList.add("apexcharts-tooltip-marker"),o.style.backgroundColor=e.globals.colors[a],r.appendChild(o);var s=document.createElement("div");s.classList.add("apexcharts-tooltip-text");var l=document.createElement("div");l.classList.add("apexcharts-tooltip-y-group");var c=document.createElement("span");c.classList.add("apexcharts-tooltip-text-label"),l.appendChild(c);var d=document.createElement("span");d.classList.add("apexcharts-tooltip-text-value"),l.appendChild(d);var u=document.createElement("div");u.classList.add("apexcharts-tooltip-z-group");var h=document.createElement("span");h.classList.add("apexcharts-tooltip-text-z-label"),u.appendChild(h);var p=document.createElement("span");p.classList.add("apexcharts-tooltip-text-z-value"),u.appendChild(p),s.appendChild(l),s.appendChild(u),r.appendChild(s),n.appendChild(r),i.push(r)}return i}},{key:"addSVGEvents",value:function(){var t=this.w,e=t.config.chart.type,i=this.getElTooltip(),n=!("bar"!==e&&"candlestick"!==e),a=t.globals.dom.Paper.node,r=this.getElGrid();r&&(this.seriesBound=r.getBoundingClientRect());var o=[],s=[],l={hoverArea:a,elGrid:r,tooltipEl:i,tooltipY:o,tooltipX:s,ttItems:this.ttItems},c=void 0;if(t.globals.axisCharts&&("area"===e||"line"===e||"scatter"===e||"bubble"===e?c=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):n?c=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area",".apexcharts-series .apexcharts-candlestick-area"):"heatmap"===e?c=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap"):"radar"===e&&(c=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-marker")),c&&c.length))for(var d=0;d<c.length;d++)o.push(c[d].getAttribute("cy")),s.push(c[d].getAttribute("cx"));if(t.globals.xyCharts&&!this.showOnIntersect||t.globals.comboCharts&&!this.showOnIntersect||n&&this.hasBars()&&t.config.tooltip.shared)this.addPathsEventListeners([a],l);else if(n&&!t.globals.comboCharts)this.addBarsEventListeners(l);else if("bubble"===e||"scatter"===e||"radar"===e||this.showOnIntersect&&("area"===e||"line"===e))this.addPointsEventsListeners(l);else if(!t.globals.axisCharts||"heatmap"===e){var u=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(u,l)}if(this.showOnIntersect){var h=t.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker");0<h.length&&this.addPathsEventListeners(h,l);var p=t.globals.dom.baseEl.querySelectorAll(".apexcharts-area-series .apexcharts-marker");0<p.length&&this.addPathsEventListeners(p,l),this.hasBars()&&!t.config.tooltip.shared&&this.addBarsEventListeners(l)}}},{key:"drawFixedTooltipRect",value:function(){var t=this.w,e=this.getElTooltip(),i=e.getBoundingClientRect(),n=i.width+10,a=i.height+10,r=t.config.tooltip.fixed.offsetX,o=t.config.tooltip.fixed.offsetY;return-1<t.config.tooltip.fixed.position.toLowerCase().indexOf("right")&&(r=r+t.globals.svgWidth-n+10),-1<t.config.tooltip.fixed.position.toLowerCase().indexOf("bottom")&&(o=o+t.globals.svgHeight-a-10),e.style.left=r+"px",e.style.top=o+"px",{x:r,y:o,ttWidth:n,ttHeight:a}}},{key:"addPointsEventsListeners",value:function(t){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker");this.addPathsEventListeners(e,t)}},{key:"addBarsEventListeners",value:function(t){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-area, .apexcharts-candlestick-area");this.addPathsEventListeners(e,t)}},{key:"addPathsEventListeners",value:function(t,e){for(var i=this,n=this,a=function(a){var r={paths:t[a],tooltipEl:e.tooltipEl,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:e.ttItems};i.w.globals.tooltipOpts=r,["mousemove","touchmove","mouseout","touchend"].map(function(e){return t[a].addEventListener(e,n.seriesHover.bind(n,r),{capture:!1,passive:!0})})},r=0;r<t.length;r++)a(r)}},{key:"seriesHover",value:function(t,e){var i=this,n=[];this.w.config.chart.group&&(n=this.ctx.getGroupedCharts()),n.length?n.forEach(function(n){var a=i.getElTooltip(n),r={paths:t.paths,tooltipEl:a,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:n.w.globals.tooltip.ttItems};n.w.globals.minX===i.w.globals.minX&&n.w.globals.maxX===i.w.globals.maxX&&n.w.globals.tooltip.seriesHoverByContext({chartCtx:n,ttCtx:n.w.globals.tooltip,opt:r,e:e})}):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:t,e:e})}},{key:"seriesHoverByContext",value:function(t){var e=t.chartCtx,i=t.ttCtx,n=t.opt,a=t.e,r=e.w,o=this.getElTooltip();i.tooltipRect={x:0,y:0,ttWidth:o.getBoundingClientRect().width,ttHeight:o.getBoundingClientRect().height},i.e=a,!i.hasBars()||r.globals.comboCharts||i.isBarShared||r.config.tooltip.onDatasetHover.highlightDataSeries&&new d.default(e).toggleSeriesOnHover(a,a.target.parentNode),i.fixedTooltip&&i.drawFixedTooltipRect(),r.globals.axisCharts?i.axisChartsTooltips({e:a,opt:n,tooltipRect:i.tooltipRect}):i.nonAxisChartsTooltips({e:a,opt:n,tooltipRect:i.tooltipRect})}},{key:"axisChartsTooltips",value:function(t){var e=t.e,i=t.opt,n=this.w,a=void 0,r=void 0,o=void 0,s=this,l=null,c=this.getElTooltip(),d=this.getElXCrosshairs(),u="touchmove"===e.type?e.touches[0].clientX:e.clientX,h="touchmove"===e.type?e.touches[0].clientY:e.clientY;this.clientY=h,this.clientX=u;var p=n.globals.xyCharts||"bar"===n.config.chart.type&&!this.isBarHorizontal&&this.hasBars()&&n.config.tooltip.shared||n.globals.comboCharts&&this.hasBars;if("bar"===n.config.chart.type&&this.isBarHorizontal&&this.hasBars()&&(p=!1),"mousemove"===e.type||"touchmove"===e.type){if(null!==d&&d.classList.add("active"),null!==s.ycrosshairs&&s.blyaxisTooltip&&s.ycrosshairs.classList.add("active"),p&&!s.showOnIntersect){a=(l=s.tooltipUtil.getNearestValues({context:s,hoverArea:i.hoverArea,elGrid:i.elGrid,clientX:u,clientY:h,hasBars:s.hasBars})).j;var f=l.capturedSeries;if(l.hoverX<0||l.hoverX>n.globals.gridWidth)return void s.handleMouseOut(i);if(null!==f){if(null===n.globals.series[f][a])return void i.tooltipEl.classList.remove("active");void 0!==n.globals.series[f][a]?n.config.tooltip.shared&&this.tooltipUtil.isXoverlap(a)&&this.tooltipUtil.isinitialSeriesSameLen()?this.create(s,f,a,i.ttItems):this.create(s,f,a,i.ttItems,!1):this.tooltipUtil.isXoverlap(a)&&s.create(s,0,a,i.ttItems)}else this.tooltipUtil.isXoverlap(a)&&s.create(s,0,a,i.ttItems)}else if("heatmap"===n.config.chart.type){var g=this.intersect.handleHeatTooltip({e:e,opt:i,x:r,y:o});r=g.x,o=g.y,c.style.left=r+"px",c.style.top=o+"px"}else this.hasBars&&this.intersect.handleBarTooltip({e:e,opt:i}),this.hasMarkers&&this.intersect.handleMarkerTooltip({e:e,opt:i,x:r,y:o});if(this.blyaxisTooltip)for(var m=0;m<n.config.yaxis.length;m++)s.axesTooltip.drawYaxisTooltipText(m,h,s.xyRatios);i.tooltipEl.classList.add("active")}else"mouseout"!==e.type&&"touchend"!==e.type||this.handleMouseOut(i)}},{key:"nonAxisChartsTooltips",value:function(t){var e=t.e,i=t.opt,n=t.tooltipRect,a=this.w,r=i.paths.getAttribute("rel"),o=this.getElTooltip(),s=0,l=0,c=null,d="touchmove"===e.type?e.touches[0].clientX:e.clientX;"radialBar"===a.config.chart.type?c=a.globals.dom.baseEl.querySelector(".apexcharts-radialbar"):(c=a.globals.dom.baseEl.querySelector(".apexcharts-pie"),s=parseInt(c.getAttribute("data:innerTranslateX")),l=parseInt(c.getAttribute("data:innerTranslateY")));var u=c.getBoundingClientRect();if("mousemove"===e.type||"touchmove"===e.type){o.classList.add("active"),this.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:parseInt(r)-1,shared:!1});var h=d-u.left-n.ttWidth/2.2+s,p=e.clientY-u.top-n.ttHeight/2-15+l;h<0?h=0:h+n.ttWidth>a.globals.gridWidth&&(h=d-u.left-n.ttWidth+s),p<0&&(p=n.ttHeight+20),o.style.left=h+a.globals.translateX+"px",o.style.top=p+"px"}else"mouseout"!==e.type&&"touchend"!==e.type||o.classList.remove("active")}},{key:"deactivateHoverFilter",value:function(){for(var t=this.w,e=new c.default(this.ctx),i=t.globals.dom.Paper.select(".apexcharts-bar-area"),n=0;n<i.length;n++)e.pathMouseLeave(i[n])}},{key:"handleMouseOut",value:function(t){var e=this.w,i=this.getElXCrosshairs();if(t.tooltipEl.classList.remove("active"),this.deactivateHoverFilter(),"bubble"!==e.config.chart.type&&this.marker.resetPointsSize(),null!==i&&i.classList.remove("active"),null!==this.ycrosshairs&&this.ycrosshairs.classList.remove("active"),this.blxaxisTooltip&&this.xaxisTooltip.classList.remove("active"),this.blyaxisTooltip){null===this.yaxisTTEls&&(this.yaxisTTEls=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var n=0;n<this.yaxisTTEls.length;n++)this.yaxisTTEls[n].classList.remove("active")}}},{key:"getElMarkers",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(" .apexcharts-series-markers")}},{key:"getAllMarkers",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker")}},{key:"hasMarkers",value:function(){return 0<this.getElMarkers().length}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series,  .apexcharts-candlestick-series")}},{key:"hasBars",value:function(){return 0<this.getElBars().length}},{key:"create",value:function(t,e,i,n){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:null,r=this.w,o=t;null===a&&(a=r.config.tooltip.shared);var s=this.hasMarkers(),l=this.getElBars();if(a){if(o.tooltipLabels.drawSeriesTexts({ttItems:n,i:e,j:i,shared:!this.showOnIntersect&&r.config.tooltip.shared}),s&&(0<r.globals.markers.largestSize?o.marker.enlargePoints(i):o.tooltipPosition.moveDynamicPointsOnHover(i)),this.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(l),0<this.barSeriesHeight)){var d=new c.default(this.ctx),u=r.globals.dom.Paper.select(".apexcharts-bar-area[j='"+i+"']");this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(i);for(var h=0;h<u.length;h++)d.pathMouseEnter(u[h])}}else o.tooltipLabels.drawSeriesTexts({shared:!1,ttItems:n,i:e,j:i}),this.hasBars()&&o.tooltipPosition.moveStickyTooltipOverBars(i),s&&o.tooltipPosition.moveMarkers(e,i)}}]),t}();t.exports=f},function(t,e,i){"use strict";t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var i=e.protocol+"//"+e.host,n=i+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var a,r=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(r)?t:(a=0===r.indexOf("//")?r:0===r.indexOf("/")?i+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")})}},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};(function(){function t(t){t.remember("_draggable",this),this.el=t}t.prototype.init=function(t,e){var i=this;this.constraint=t,this.value=e,this.el.on("mousedown.drag",function(t){i.start(t)}),this.el.on("touchstart.drag",function(t){i.start(t)})},t.prototype.transformPoint=function(t,e){var i=(t=t||window.event).changedTouches&&t.changedTouches[0]||t;return this.p.x=i.pageX-(e||0),this.p.y=i.pageY,this.p.matrixTransform(this.m)},t.prototype.getBBox=function(){var t=this.el.bbox();return this.el instanceof SVG.Nested&&(t=this.el.rbox()),(this.el instanceof SVG.G||this.el instanceof SVG.Use||this.el instanceof SVG.Nested)&&(t.x=this.el.x(),t.y=this.el.y()),t},t.prototype.start=function(t){if("click"!=t.type&&"mousedown"!=t.type&&"mousemove"!=t.type||1==(t.which||t.buttons)){var e=this;this.el.fire("beforedrag",{event:t,handler:this}),this.parent=this.parent||this.el.parent(SVG.Nested)||this.el.parent(SVG.Doc),this.p=this.parent.node.createSVGPoint(),this.m=this.el.node.getScreenCTM().inverse();var i,n=this.getBBox();if(this.el instanceof SVG.Text)switch(i=this.el.node.getComputedTextLength(),this.el.attr("text-anchor")){case"middle":i/=2;break;case"start":i=0}this.startPoints={point:this.transformPoint(t,i),box:n,transform:this.el.transform()},SVG.on(window,"mousemove.drag",function(t){e.drag(t)}),SVG.on(window,"touchmove.drag",function(t){e.drag(t)}),SVG.on(window,"mouseup.drag",function(t){e.end(t)}),SVG.on(window,"touchend.drag",function(t){e.end(t)}),this.el.fire("dragstart",{event:t,p:this.startPoints.point,m:this.m,handler:this}),t.preventDefault(),t.stopPropagation()}},t.prototype.drag=function(t){var e=this.getBBox(),i=this.transformPoint(t),a=this.startPoints.box.x+i.x-this.startPoints.point.x,r=this.startPoints.box.y+i.y-this.startPoints.point.y,o=this.constraint,s=i.x-this.startPoints.point.x,l=i.y-this.startPoints.point.y,c=new CustomEvent("dragmove",{detail:{event:t,p:i,m:this.m,handler:this},cancelable:!0});if(this.el.fire(c),c.defaultPrevented)return i;if("function"==typeof o){var d=o.call(this.el,a,r,this.m);"boolean"==typeof d&&(d={x:d,y:d}),!0===d.x?this.el.x(a):!1!==d.x&&this.el.x(d.x),!0===d.y?this.el.y(r):!1!==d.y&&this.el.y(d.y)}else"object"==(void 0===o?"undefined":n(o))&&(null!=o.minX&&a<o.minX?a=o.minX:null!=o.maxX&&a>o.maxX-e.width&&(a=o.maxX-e.width),null!=o.minY&&r<o.minY?r=o.minY:null!=o.maxY&&r>o.maxY-e.height&&(r=o.maxY-e.height),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:s,y:l},!0):this.el.move(a,r));return i},t.prototype.end=function(t){var e=this.drag(t);this.el.fire("dragend",{event:t,p:e,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(e,i){"function"!=typeof e&&"object"!=(void 0===e?"undefined":n(e))||(i=e,e=!0);var a=this.remember("_draggable")||new t(this);return(e=void 0===e||e)?a.init(i||{},e):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}).call(void 0)},function(t,e,i){"use strict";(function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(t,e){return this.add(t,e),!t.attr("in")&&this.autoSetIn&&t.attr("in",this.source),t.attr("result")||t.attr("result",t),t},blend:function(t,e,i){return this.put(new SVG.BlendEffect(t,e,i))},colorMatrix:function(t,e){return this.put(new SVG.ColorMatrixEffect(t,e))},convolveMatrix:function(t){return this.put(new SVG.ConvolveMatrixEffect(t))},componentTransfer:function(t){return this.put(new SVG.ComponentTransferEffect(t))},composite:function(t,e,i){return this.put(new SVG.CompositeEffect(t,e,i))},flood:function(t,e){return this.put(new SVG.FloodEffect(t,e))},offset:function(t,e){return this.put(new SVG.OffsetEffect(t,e))},image:function(t){return this.put(new SVG.ImageEffect(t))},merge:function(){var t=[void 0];for(var e in arguments)t.push(arguments[e]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,t)))},gaussianBlur:function(t,e){return this.put(new SVG.GaussianBlurEffect(t,e))},morphology:function(t,e){return this.put(new SVG.MorphologyEffect(t,e))},diffuseLighting:function(t,e,i){return this.put(new SVG.DiffuseLightingEffect(t,e,i))},displacementMap:function(t,e,i,n,a){return this.put(new SVG.DisplacementMapEffect(t,e,i,n,a))},specularLighting:function(t,e,i,n){return this.put(new SVG.SpecularLightingEffect(t,e,i,n))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(t,e,i,n,a){return this.put(new SVG.TurbulenceEffect(t,e,i,n,a))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(t){var e=this.put(new SVG.Filter);return"function"==typeof t&&t.call(e,e),e}}),SVG.extend(SVG.Container,{filter:function(t){return this.defs().filter(t)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(t){return this.filterer=t instanceof SVG.Element?t:this.doc().filter(t),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(t){return this.filterer&&!0===t&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(t){return null==t?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",t)},result:function(t){return null==t?this.attr("result"):this.attr("result",t)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(t){return null==t?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",t)},result:function(t){return null==t?this.attr("result"):this.attr("result",t)},toString:function(){return this.result()}}});var t={blend:function(t,e){return this.parent()&&this.parent().blend(this,t,e)},colorMatrix:function(t,e){return this.parent()&&this.parent().colorMatrix(t,e).in(this)},convolveMatrix:function(t){return this.parent()&&this.parent().convolveMatrix(t).in(this)},componentTransfer:function(t){return this.parent()&&this.parent().componentTransfer(t).in(this)},composite:function(t,e){return this.parent()&&this.parent().composite(this,t,e)},flood:function(t,e){return this.parent()&&this.parent().flood(t,e)},offset:function(t,e){return this.parent()&&this.parent().offset(t,e).in(this)},image:function(t){return this.parent()&&this.parent().image(t)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(t,e){return this.parent()&&this.parent().gaussianBlur(t,e).in(this)},morphology:function(t,e){return this.parent()&&this.parent().morphology(t,e).in(this)},diffuseLighting:function(t,e,i){return this.parent()&&this.parent().diffuseLighting(t,e,i).in(this)},displacementMap:function(t,e,i,n){return this.parent()&&this.parent().displacementMap(this,t,e,i,n)},specularLighting:function(t,e,i,n){return this.parent()&&this.parent().specularLighting(t,e,i,n).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(t,e,i,n,a){return this.parent()&&this.parent().turbulence(t,e,i,n,a).in(this)}};SVG.extend(SVG.Effect,t),SVG.extend(SVG.ParentEffect,t),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(t){this.attr("in",t)}}});var e={blend:function(t,e,i){this.attr({in:t,in2:e,mode:i||"normal"})},colorMatrix:function(t,e){"matrix"==t&&(e=a(e)),this.attr({type:t,values:void 0===e?null:e})},convolveMatrix:function(t){t=a(t),this.attr({order:Math.sqrt(t.split(" ").length),kernelMatrix:t})},composite:function(t,e,i){this.attr({in:t,in2:e,operator:i})},flood:function(t,e){this.attr("flood-color",t),null!=e&&this.attr("flood-opacity",e)},offset:function(t,e){this.attr({dx:t,dy:e})},image:function(t){this.attr("href",t,SVG.xlink)},displacementMap:function(t,e,i,n,a){this.attr({in:t,in2:e,scale:i,xChannelSelector:n,yChannelSelector:a})},gaussianBlur:function(t,e){null!=t||null!=e?this.attr("stdDeviation",function(t){if(!Array.isArray(t))return t;for(var e=0,i=t.length,n=[];e<i;e++)n.push(t[e]);return n.join(" ")}(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(t,e){this.attr({operator:t,radius:e})},tile:function(){},turbulence:function(t,e,i,n,a){this.attr({numOctaves:e,seed:i,stitchTiles:n,baseFrequency:t,type:a})}},i={merge:function(){var t;if(arguments[0]instanceof SVG.Set){var e=this;arguments[0].each(function(t){this instanceof SVG.MergeNode?e.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&e.put(new SVG.MergeNode(this))})}else{t=Array.isArray(arguments[0])?arguments[0]:arguments;for(var i=0;i<t.length;i++)t[i]instanceof SVG.MergeNode?this.put(t[i]):this.put(new SVG.MergeNode(t[i]))}},componentTransfer:function(t){if(this.rgb=new SVG.Set,["r","g","b","a"].forEach(function(t){this[t]=new(SVG["Func"+t.toUpperCase()])("identity"),this.rgb.add(this[t]),this.node.appendChild(this[t].node)}.bind(this)),t)for(var e in t.rgb&&(["r","g","b"].forEach(function(e){this[e].attr(t.rgb)}.bind(this)),delete t.rgb),t)this[e].attr(t[e])},diffuseLighting:function(t,e,i){this.attr({surfaceScale:t,diffuseConstant:e,kernelUnitLength:i})},specularLighting:function(t,e,i,n){this.attr({surfaceScale:t,diffuseConstant:e,specularExponent:i,kernelUnitLength:n})}},n={distantLight:function(t,e){this.attr({azimuth:t,elevation:e})},pointLight:function(t,e,i){this.attr({x:t,y:e,z:i})},spotLight:function(t,e,i,n,a,r){this.attr({x:t,y:e,z:i,pointsAtX:n,pointsAtY:a,pointsAtZ:r})},mergeNode:function(t){this.attr("in",t)}};function a(t){return Array.isArray(t)&&(t=new SVG.Array(t)),t.toString().replace(/^\s+/,"").replace(/\s+$/,"").replace(/\s+/g," ")}function r(){var t=function(){};for(var e in"function"==typeof arguments[arguments.length-1]&&(t=arguments[arguments.length-1],Array.prototype.splice.call(arguments,arguments.length-1,1)),arguments)for(var i in arguments[e])t(arguments[e][i],i,arguments[e])}["r","g","b","a"].forEach(function(t){n["Func"+t.toUpperCase()]=function(t){switch(this.attr("type",t),t){case"table":this.attr("tableValues",arguments[1]);break;case"linear":this.attr("slope",arguments[1]),this.attr("intercept",arguments[2]);break;case"gamma":this.attr("amplitude",arguments[1]),this.attr("exponent",arguments[2]),this.attr("offset",arguments[2])}}}),r(e,function(t,e){var i=e.charAt(0).toUpperCase()+e.slice(1);SVG[i+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),t.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.Effect,extend:{}})}),r(i,function(t,e){var i=e.charAt(0).toUpperCase()+e.slice(1);SVG[i+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),t.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.ParentEffect,extend:{}})}),r(n,function(t,e){var i=e.charAt(0).toUpperCase()+e.slice(1);SVG[i]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),t.apply(this,arguments)},inherit:SVG.ChildEffect,extend:{}})}),SVG.extend(SVG.MergeEffect,{in:function(t){return t instanceof SVG.MergeNode?this.add(t,0):this.add(new SVG.MergeNode(t),0),this}}),SVG.extend(SVG.CompositeEffect,SVG.BlendEffect,SVG.DisplacementMapEffect,{in2:function(t){return null==t?this.parent()&&this.parent().select('[result="'+this.attr("in2")+'"]').get(0)||this.attr("in2"):this.attr("in2",t)}}),SVG.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]}}).call(void 0)},function(t,e,i){"use strict";!function(){function t(t,a,r,o,s,l,c){for(var d=t.slice(a,r||c),u=o.slice(s,l||c),h=0,p={pos:[0,0],start:[0,0]},f={pos:[0,0],start:[0,0]};d[h]=e.call(p,d[h]),u[h]=e.call(f,u[h]),d[h][0]!=u[h][0]||"M"==d[h][0]||"A"==d[h][0]&&(d[h][4]!=u[h][4]||d[h][5]!=u[h][5])?(Array.prototype.splice.apply(d,[h,1].concat(n.call(p,d[h]))),Array.prototype.splice.apply(u,[h,1].concat(n.call(f,u[h])))):(d[h]=i.call(p,d[h]),u[h]=i.call(f,u[h])),++h!=d.length||h!=u.length;)h==d.length&&d.push(["C",p.pos[0],p.pos[1],p.pos[0],p.pos[1],p.pos[0],p.pos[1]]),h==u.length&&u.push(["C",f.pos[0],f.pos[1],f.pos[0],f.pos[1],f.pos[0],f.pos[1]]);return{start:d,dest:u}}function e(t){switch(t[0]){case"z":case"Z":t[0]="L",t[1]=this.start[0],t[2]=this.start[1];break;case"H":t[0]="L",t[2]=this.pos[1];break;case"V":t[0]="L",t[2]=t[1],t[1]=this.pos[0];break;case"T":t[0]="Q",t[3]=t[1],t[4]=t[2],t[1]=this.reflection[1],t[2]=this.reflection[0];break;case"S":t[0]="C",t[6]=t[4],t[5]=t[3],t[4]=t[2],t[3]=t[1],t[2]=this.reflection[1],t[1]=this.reflection[0]}return t}function i(t){var e=t.length;return this.pos=[t[e-2],t[e-1]],-1!="SCQT".indexOf(t[0])&&(this.reflection=[2*this.pos[0]-t[e-4],2*this.pos[1]-t[e-3]]),t}function n(t){var e=[t];switch(t[0]){case"M":return this.pos=this.start=[t[1],t[2]],e;case"L":t[5]=t[3]=t[1],t[6]=t[4]=t[2],t[1]=this.pos[0],t[2]=this.pos[1];break;case"Q":t[6]=t[4],t[5]=t[3],t[4]=1*t[4]/3+2*t[2]/3,t[3]=1*t[3]/3+2*t[1]/3,t[2]=1*this.pos[1]/3+2*t[2]/3,t[1]=1*this.pos[0]/3+2*t[1]/3;break;case"A":t=(e=function(t,e){var i,n,a,r,o,s,l,c,d,u,h,p,f,g,m,v,y,b,w,x,_,k,S,M,C,T,D=Math.abs(e[1]),L=Math.abs(e[2]),E=e[3]%360,A=e[4],P=e[5],Y=e[6],O=e[7],I=new SVG.Point(t),H=new SVG.Point(Y,O),R=[];if(0===D||0===L||I.x===H.x&&I.y===H.y)return[["C",I.x,I.y,H.x,H.y,H.x,H.y]];for(i=new SVG.Point((I.x-H.x)/2,(I.y-H.y)/2).transform((new SVG.Matrix).rotate(E)),1<(n=i.x*i.x/(D*D)+i.y*i.y/(L*L))&&(n=Math.sqrt(n),D*=n,L*=n),a=(new SVG.Matrix).rotate(E).scale(1/D,1/L).rotate(-E),I=I.transform(a),H=H.transform(a),r=[H.x-I.x,H.y-I.y],s=r[0]*r[0]+r[1]*r[1],o=Math.sqrt(s),r[0]/=o,r[1]/=o,l=s<4?Math.sqrt(1-s/4):0,A===P&&(l*=-1),c=new SVG.Point((H.x+I.x)/2+l*-r[1],(H.y+I.y)/2+l*r[0]),d=new SVG.Point(I.x-c.x,I.y-c.y),u=new SVG.Point(H.x-c.x,H.y-c.y),h=Math.acos(d.x/Math.sqrt(d.x*d.x+d.y*d.y)),d.y<0&&(h*=-1),p=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(p*=-1),P&&p<h&&(p+=2*Math.PI),!P&&h<p&&(p-=2*Math.PI),g=Math.ceil(2*Math.abs(h-p)/Math.PI),v=[],f=(p-(y=h))/g,m=4*Math.tan(f/4)/3,_=0;_<=g;_++)w=Math.cos(y),b=Math.sin(y),x=new SVG.Point(c.x+w,c.y+b),v[_]=[new SVG.Point(x.x+m*b,x.y-m*w),x,new SVG.Point(x.x-m*b,x.y+m*w)],y+=f;for(v[0][0]=v[0][1].clone(),v[v.length-1][2]=v[v.length-1][1].clone(),a=(new SVG.Matrix).rotate(E).scale(D,L).rotate(-E),_=0,k=v.length;_<k;_++)v[_][0]=v[_][0].transform(a),v[_][1]=v[_][1].transform(a),v[_][2]=v[_][2].transform(a);for(_=1,k=v.length;_<k;_++)x=v[_-1][2],S=x.x,M=x.y,x=v[_][0],C=x.x,T=x.y,x=v[_][1],Y=x.x,O=x.y,R.push(["C",S,M,C,T,Y,O]);return R}(this.pos,t))[0]}return t[0]="C",this.pos=[t[5],t[6]],this.reflection=[2*t[5]-t[3],2*t[6]-t[4]],e}function a(t,e){if(!1===e)return!1;for(var i=e,n=t.length;i<n;++i)if("M"==t[i][0])return i;return!1}SVG.extend(SVG.PathArray,{morph:function(e){for(var i=this.value,n=this.parse(e),r=0,o=0,s=!1,l=!1;!1!==r||!1!==o;){var c;s=a(i,!1!==r&&r+1),l=a(n,!1!==o&&o+1),!1===r&&(r=0==(c=new SVG.PathArray(d.start).bbox()).height||0==c.width?i.push(i[0])-1:i.push(["M",c.x+c.width/2,c.y+c.height/2])-1),!1===o&&(o=0==(c=new SVG.PathArray(d.dest).bbox()).height||0==c.width?n.push(n[0])-1:n.push(["M",c.x+c.width/2,c.y+c.height/2])-1);var d=t(i,r,s,n,o,l);i=i.slice(0,r).concat(d.start,!1===s?[]:i.slice(s)),n=n.slice(0,o).concat(d.dest,!1===l?[]:n.slice(l)),r=!1!==s&&r+d.start.length,o=!1!==l&&o+d.dest.length}return this.value=i,this.destination=new SVG.PathArray,this.destination.value=n,this}})}()},function(t,e,i){"use strict";!function(){(function(){function t(t){t.remember("_resizeHandler",this),this.el=t,this.parameters={},this.lastUpdateCall=null,this.p=t.doc().node.createSVGPoint()}t.prototype.transformPoint=function(t,e,i){return this.p.x=t-(this.offset.x-window.pageXOffset),this.p.y=e-(this.offset.y-window.pageYOffset),this.p.matrixTransform(i||this.m)},t.prototype._extractPosition=function(t){return{x:null!=t.clientX?t.clientX:t.touches[0].clientX,y:null!=t.clientY?t.clientY:t.touches[0].clientY}},t.prototype.init=function(t){var e=this;if(this.stop(),"stop"!==t){for(var i in this.options={},this.el.resize.defaults)this.options[i]=this.el.resize.defaults[i],void 0!==t[i]&&(this.options[i]=t[i]);this.el.on("lt.resize",function(t){e.resize(t||window.event)}),this.el.on("rt.resize",function(t){e.resize(t||window.event)}),this.el.on("rb.resize",function(t){e.resize(t||window.event)}),this.el.on("lb.resize",function(t){e.resize(t||window.event)}),this.el.on("t.resize",function(t){e.resize(t||window.event)}),this.el.on("r.resize",function(t){e.resize(t||window.event)}),this.el.on("b.resize",function(t){e.resize(t||window.event)}),this.el.on("l.resize",function(t){e.resize(t||window.event)}),this.el.on("rot.resize",function(t){e.resize(t||window.event)}),this.el.on("point.resize",function(t){e.resize(t||window.event)}),this.update()}},t.prototype.stop=function(){return this.el.off("lt.resize"),this.el.off("rt.resize"),this.el.off("rb.resize"),this.el.off("lb.resize"),this.el.off("t.resize"),this.el.off("r.resize"),this.el.off("b.resize"),this.el.off("l.resize"),this.el.off("rot.resize"),this.el.off("point.resize"),this},t.prototype.resize=function(t){var e=this;this.m=this.el.node.getScreenCTM().inverse(),this.offset={x:window.pageXOffset,y:window.pageYOffset};var i=this._extractPosition(t.detail.event);if(this.parameters={type:this.el.type,p:this.transformPoint(i.x,i.y),x:t.detail.x,y:t.detail.y,box:this.el.bbox(),rotation:this.el.transform().rotation},"text"===this.el.type&&(this.parameters.fontSize=this.el.attr()["font-size"]),void 0!==t.detail.i){var n=this.el.array().valueOf();this.parameters.i=t.detail.i,this.parameters.pointCoords=[n[t.detail.i][0],n[t.detail.i][1]]}switch(t.type){case"lt":this.calc=function(t,e){var i=this.snapToGrid(t,e);if(0<this.parameters.box.width-i[0]&&0<this.parameters.box.height-i[1]){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-i[0]);i=this.checkAspectRatio(i),this.el.move(this.parameters.box.x+i[0],this.parameters.box.y+i[1]).size(this.parameters.box.width-i[0],this.parameters.box.height-i[1])}};break;case"rt":this.calc=function(t,e){var i=this.snapToGrid(t,e,2);if(0<this.parameters.box.width+i[0]&&0<this.parameters.box.height-i[1]){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+i[0]);i=this.checkAspectRatio(i),this.el.move(this.parameters.box.x,this.parameters.box.y+i[1]).size(this.parameters.box.width+i[0],this.parameters.box.height-i[1])}};break;case"rb":this.calc=function(t,e){var i=this.snapToGrid(t,e,0);if(0<this.parameters.box.width+i[0]&&0<this.parameters.box.height+i[1]){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+i[0]);i=this.checkAspectRatio(i),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+i[0],this.parameters.box.height+i[1])}};break;case"lb":this.calc=function(t,e){var i=this.snapToGrid(t,e,1);if(0<this.parameters.box.width-i[0]&&0<this.parameters.box.height+i[1]){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-i[0]);i=this.checkAspectRatio(i),this.el.move(this.parameters.box.x+i[0],this.parameters.box.y).size(this.parameters.box.width-i[0],this.parameters.box.height+i[1])}};break;case"t":this.calc=function(t,e){var i=this.snapToGrid(t,e,2);if(0<this.parameters.box.height-i[1]){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+i[1]).height(this.parameters.box.height-i[1])}};break;case"r":this.calc=function(t,e){var i=this.snapToGrid(t,e,0);if(0<this.parameters.box.width+i[0]){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+i[0])}};break;case"b":this.calc=function(t,e){var i=this.snapToGrid(t,e,0);if(0<this.parameters.box.height+i[1]){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+i[1])}};break;case"l":this.calc=function(t,e){var i=this.snapToGrid(t,e,1);if(0<this.parameters.box.width-i[0]){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+i[0],this.parameters.box.y).width(this.parameters.box.width-i[0])}};break;case"rot":this.calc=function(t,e){var i=t+this.parameters.p.x,n=e+this.parameters.p.y,a=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),r=180*(Math.atan2(n-this.parameters.box.y-this.parameters.box.height/2,i-this.parameters.box.x-this.parameters.box.width/2)-a)/Math.PI;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(this.parameters.rotation+r-r%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(t,e){var i=this.snapToGrid(t,e,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),n=this.el.array().valueOf();n[this.parameters.i][0]=this.parameters.pointCoords[0]+i[0],n[this.parameters.i][1]=this.parameters.pointCoords[1]+i[1],this.el.plot(n)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:t}),SVG.on(window,"touchmove.resize",function(t){e.update(t||window.event)}),SVG.on(window,"touchend.resize",function(){e.done()}),SVG.on(window,"mousemove.resize",function(t){e.update(t||window.event)}),SVG.on(window,"mouseup.resize",function(){e.done()})},t.prototype.update=function(t){if(t){var e=this._extractPosition(t),i=this.transformPoint(e.x,e.y),n=i.x-this.parameters.p.x,a=i.y-this.parameters.p.y;this.lastUpdateCall=[n,a],this.calc(n,a),this.el.fire("resizing",{dx:n,dy:a,event:t})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},t.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},t.prototype.snapToGrid=function(t,e,i,n){var a;return a=void 0!==n?[(i+t)%this.options.snapToGrid,(n+e)%this.options.snapToGrid]:(i=null==i?3:i,[(this.parameters.box.x+t+(1&i?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+e+(2&i?0:this.parameters.box.height))%this.options.snapToGrid]),t-=Math.abs(a[0])<this.options.snapToGrid/2?a[0]:a[0]-(t<0?-this.options.snapToGrid:this.options.snapToGrid),e-=Math.abs(a[1])<this.options.snapToGrid/2?a[1]:a[1]-(e<0?-this.options.snapToGrid:this.options.snapToGrid),this.constraintToBox(t,e,i,n)},t.prototype.constraintToBox=function(t,e,i,n){var a,r,o=this.options.constraint||{};return r=void 0!==n?(a=i,n):(a=this.parameters.box.x+(1&i?0:this.parameters.box.width),this.parameters.box.y+(2&i?0:this.parameters.box.height)),void 0!==o.minX&&a+t<o.minX&&(t=o.minX-a),void 0!==o.maxX&&a+t>o.maxX&&(t=o.maxX-a),void 0!==o.minY&&r+e<o.minY&&(e=o.minY-r),void 0!==o.maxY&&r+e>o.maxY&&(e=o.maxY-r),[t,e]},t.prototype.checkAspectRatio=function(t){if(!this.options.saveAspectRatio)return t;var e=t.slice(),i=this.parameters.box.width/this.parameters.box.height,n=this.parameters.box.width+t[0],a=this.parameters.box.height-t[1],r=n/a;return r<i?e[1]=n/i-this.parameters.box.height:i<r&&(e[0]=this.parameters.box.width-a*i),e},SVG.extend(SVG.Element,{resize:function(e){return(this.remember("_resizeHandler")||new t(this)).init(e||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}()},function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(){function t(t){(this.el=t).remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1}}t.prototype.init=function(t,e){var i=this.el.bbox();for(var n in this.options={},this.el.selectize.defaults)this.options[n]=this.el.selectize.defaults[n],void 0!==e[n]&&(this.options[n]=e[n]);this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(i.x,i.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(t):this.selectRect(t),this.observe(),this.cleanup()},t.prototype.selectPoints=function(t){return this.pointSelection.isSelected=t,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawCircles()),this},t.prototype.getPointArray=function(){var t=this.el.bbox();return this.el.array().valueOf().map(function(e){return[e[0]-t.x,e[1]-t.y]})},t.prototype.drawCircles=function(){for(var t=this,e=this.getPointArray(),i=0,n=e.length;i<n;++i){var a=function(e){return function(i){(i=i||window.event).preventDefault?i.preventDefault():i.returnValue=!1,i.stopPropagation();var n=i.pageX||i.touches[0].pageX,a=i.pageY||i.touches[0].pageY;t.el.fire("point",{x:n,y:a,i:e,event:i})}}(i);this.pointSelection.set.add(this.nested.circle(this.options.radius).center(e[i][0],e[i][1]).addClass(this.options.classPoints).addClass(this.options.classPoints+"_point").on("touchstart",a).on("mousedown",a))}},t.prototype.updatePointSelection=function(){var t=this.getPointArray();this.pointSelection.set.each(function(e){this.cx()===t[e][0]&&this.cy()===t[e][1]||this.center(t[e][0],t[e][1])})},t.prototype.updateRectSelection=function(){var t=this.el.bbox();this.rectSelection.set.get(0).attr({width:t.width,height:t.height}),this.options.points&&(this.rectSelection.set.get(2).center(t.width,0),this.rectSelection.set.get(3).center(t.width,t.height),this.rectSelection.set.get(4).center(0,t.height),this.rectSelection.set.get(5).center(t.width/2,0),this.rectSelection.set.get(6).center(t.width,t.height/2),this.rectSelection.set.get(7).center(t.width/2,t.height),this.rectSelection.set.get(8).center(0,t.height/2)),this.options.rotationPoint&&(this.options.points?this.rectSelection.set.get(9).center(t.width/2,20):this.rectSelection.set.get(1).center(t.width/2,20))},t.prototype.selectRect=function(t){var e=this,i=this.el.bbox();function n(t){return function(i){(i=i||window.event).preventDefault?i.preventDefault():i.returnValue=!1,i.stopPropagation();var n=i.pageX||i.touches[0].pageX,a=i.pageY||i.touches[0].pageY;e.el.fire(t,{x:n,y:a,event:i})}}if(this.rectSelection.isSelected=t,this.rectSelection.set=this.rectSelection.set||this.parent.set(),this.rectSelection.set.get(0)||this.rectSelection.set.add(this.nested.rect(i.width,i.height).addClass(this.options.classRect)),this.options.points&&!this.rectSelection.set.get(1)){var a="touchstart",r="mousedown";this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,0).attr("class",this.options.classPoints+"_lt").on(r,n("lt")).on(a,n("lt"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width,0).attr("class",this.options.classPoints+"_rt").on(r,n("rt")).on(a,n("rt"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width,i.height).attr("class",this.options.classPoints+"_rb").on(r,n("rb")).on(a,n("rb"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,i.height).attr("class",this.options.classPoints+"_lb").on(r,n("lb")).on(a,n("lb"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width/2,0).attr("class",this.options.classPoints+"_t").on(r,n("t")).on(a,n("t"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width,i.height/2).attr("class",this.options.classPoints+"_r").on(r,n("r")).on(a,n("r"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width/2,i.height).attr("class",this.options.classPoints+"_b").on(r,n("b")).on(a,n("b"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,i.height/2).attr("class",this.options.classPoints+"_l").on(r,n("l")).on(a,n("l"))),this.rectSelection.set.each(function(){this.addClass(e.options.classPoints)})}if(this.options.rotationPoint&&(this.options.points&&!this.rectSelection.set.get(9)||!this.options.points&&!this.rectSelection.set.get(1))){var o=function(t){(t=t||window.event).preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation();var i=t.pageX||t.touches[0].pageX,n=t.pageY||t.touches[0].pageY;e.el.fire("rot",{x:i,y:n,event:t})};this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width/2,20).attr("class",this.options.classPoints+"_rot").on("touchstart",o).on("mousedown",o))}},t.prototype.handler=function(){var t=this.el.bbox();this.nested.matrix(new SVG.Matrix(this.el).translate(t.x,t.y)),this.rectSelection.isSelected&&this.updateRectSelection(),this.pointSelection.isSelected&&this.updatePointSelection()},t.prototype.observe=function(){var t=this;if(MutationObserver)if(this.rectSelection.isSelected||this.pointSelection.isSelected)this.observerInst=this.observerInst||new MutationObserver(function(){t.handler()}),this.observerInst.observe(this.el.node,{attributes:!0});else try{this.observerInst.disconnect(),delete this.observerInst}catch(t){}else this.el.off("DOMAttrModified.select"),(this.rectSelection.isSelected||this.pointSelection.isSelected)&&this.el.on("DOMAttrModified.select",function(){t.handler()})},t.prototype.cleanup=function(){!this.rectSelection.isSelected&&this.rectSelection.set&&(this.rectSelection.set.each(function(){this.remove()}),this.rectSelection.set.clear(),delete this.rectSelection.set),!this.pointSelection.isSelected&&this.pointSelection.set&&(this.pointSelection.set.each(function(){this.remove()}),this.pointSelection.set.clear(),delete this.pointSelection.set),this.pointSelection.isSelected||this.rectSelection.isSelected||(this.nested.remove(),delete this.nested)},SVG.extend(SVG.Element,{selectize:function(e,i){return"object"===(void 0===e?"undefined":n(e))&&(i=e,e=!0),(this.remember("_selectHandler")||new t(this)).init(void 0===e||e,i||{}),this}}),SVG.Element.prototype.selectize.defaults={points:!0,classRect:"svg_select_boundingRect",classPoints:"svg_select_points",radius:7,rotationPoint:!0,deepSelect:!1}}()},function(t,e,i){"use strict";var n,a,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};a="undefined"!=typeof window?window:void 0,r=function(t,e){var i=(void 0!==this?this:t).SVG=function(t){if(i.supported)return t=new i.Doc(t),i.parser.draw||i.prepare(),t};if(i.ns="http://www.w3.org/2000/svg",i.xmlns="http://www.w3.org/2000/xmlns/",i.xlink="http://www.w3.org/1999/xlink",i.svgjs="http://svgjs.com/svgjs",i.supported=!0,!i.supported)return!1;i.did=1e3,i.eid=function(t){return"Svgjs"+u(t)+i.did++},i.create=function(t){var i=e.createElementNS(this.ns,t);return i.setAttribute("id",this.eid(t)),i},i.extend=function(){var t,e,n,a;for(e=(t=[].slice.call(arguments)).pop(),a=t.length-1;0<=a;a--)if(t[a])for(n in e)t[a].prototype[n]=e[n];i.Set&&i.Set.inherit&&i.Set.inherit()},i.invent=function(t){var e="function"==typeof t.create?t.create:function(){this.constructor.call(this,i.create(t.create))};return t.inherit&&(e.prototype=new t.inherit),t.extend&&i.extend(e,t.extend),t.construct&&i.extend(t.parent||i.Container,t.construct),e},i.adopt=function(e){return e?e.instance?e.instance:((n="svg"==e.nodeName?e.parentNode instanceof t.SVGElement?new i.Nested:new i.Doc:"linearGradient"==e.nodeName?new i.Gradient("linear"):"radialGradient"==e.nodeName?new i.Gradient("radial"):i[u(e.nodeName)]?new(i[u(e.nodeName)]):new i.Element(e)).type=e.nodeName,((n.node=e).instance=n)instanceof i.Doc&&n.namespace().defs(),n.setData(JSON.parse(e.getAttribute("svgjs:data"))||{}),n):null;var n},i.prepare=function(){var t=e.getElementsByTagName("body")[0],n=(t?new i.Doc(t):i.adopt(e.documentElement).nested()).size(2,0);i.parser={body:t||e.documentElement,draw:n.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:n.polyline().node,path:n.path().node,native:i.create("svg")}},i.parser={native:i.create("svg")},e.addEventListener("DOMContentLoaded",function(){i.parser.draw||i.prepare()},!1),i.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},i.utils={map:function(t,e){var i,n=t.length,a=[];for(i=0;i<n;i++)a.push(e(t[i]));return a},filter:function(t,e){var i,n=t.length,a=[];for(i=0;i<n;i++)e(t[i])&&a.push(t[i]);return a},radians:function(t){return t%360*Math.PI/180},degrees:function(t){return 180*t/Math.PI%360},filterSVGElements:function(e){return this.filter(e,function(e){return e instanceof t.SVGElement})}},i.defaults={attrs:{"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","font-size":16,"font-family":"Helvetica, Arial, sans-serif","text-anchor":"start"}},i.Color=function(t){var e,n;this.r=0,this.g=0,this.b=0,t&&("string"==typeof t?i.regex.isRgb.test(t)?(e=i.regex.rgb.exec(t.replace(i.regex.whitespace,"")),this.r=parseInt(e[1]),this.g=parseInt(e[2]),this.b=parseInt(e[3])):i.regex.isHex.test(t)&&(e=i.regex.hex.exec(4==(n=t).length?["#",n.substring(1,2),n.substring(1,2),n.substring(2,3),n.substring(2,3),n.substring(3,4),n.substring(3,4)].join(""):n),this.r=parseInt(e[1],16),this.g=parseInt(e[2],16),this.b=parseInt(e[3],16)):"object"===(void 0===t?"undefined":o(t))&&(this.r=t.r,this.g=t.g,this.b=t.b))},i.extend(i.Color,{toString:function(){return this.toHex()},toHex:function(){return"#"+h(this.r)+h(this.g)+h(this.b)},toRgb:function(){return"rgb("+[this.r,this.g,this.b].join()+")"},brightness:function(){return this.r/255*.3+this.g/255*.59+this.b/255*.11},morph:function(t){return this.destination=new i.Color(t),this},at:function(t){return this.destination?(t=t<0?0:1<t?1:t,new i.Color({r:~~(this.r+(this.destination.r-this.r)*t),g:~~(this.g+(this.destination.g-this.g)*t),b:~~(this.b+(this.destination.b-this.b)*t)})):this}}),i.Color.test=function(t){return t+="",i.regex.isHex.test(t)||i.regex.isRgb.test(t)},i.Color.isRgb=function(t){return t&&"number"==typeof t.r&&"number"==typeof t.g&&"number"==typeof t.b},i.Color.isColor=function(t){return i.Color.isRgb(t)||i.Color.test(t)},i.Array=function(t,e){0==(t=(t||[]).valueOf()).length&&e&&(t=e.valueOf()),this.value=this.parse(t)},i.extend(i.Array,{morph:function(t){if(this.destination=this.parse(t),this.value.length!=this.destination.length){for(var e=this.value[this.value.length-1],i=this.destination[this.destination.length-1];this.value.length>this.destination.length;)this.destination.push(i);for(;this.value.length<this.destination.length;)this.value.push(e)}return this},settle:function(){for(var t=0,e=this.value.length,i=[];t<e;t++)-1==i.indexOf(this.value[t])&&i.push(this.value[t]);return this.value=i},at:function(t){if(!this.destination)return this;for(var e=0,n=this.value.length,a=[];e<n;e++)a.push(this.value[e]+(this.destination[e]-this.value[e])*t);return new i.Array(a)},toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(t){return t=t.valueOf(),Array.isArray(t)?t:this.split(t)},split:function(t){return t.trim().split(i.regex.delimiter).map(parseFloat)},reverse:function(){return this.value.reverse(),this},clone:function(){var t=new this.constructor;return t.value=function t(e){for(var i=e.slice(0),n=i.length;n--;)Array.isArray(i[n])&&(i[n]=t(i[n]));return i}(this.value),t}}),i.PointArray=function(t,e){i.Array.call(this,t,e||[[0,0]])},i.PointArray.prototype=new i.Array,i.PointArray.prototype.constructor=i.PointArray,i.extend(i.PointArray,{toString:function(){for(var t=0,e=this.value.length,i=[];t<e;t++)i.push(this.value[t].join(","));return i.join(" ")},toLine:function(){return{x1:this.value[0][0],y1:this.value[0][1],x2:this.value[1][0],y2:this.value[1][1]}},at:function(t){if(!this.destination)return this;for(var e=0,n=this.value.length,a=[];e<n;e++)a.push([this.value[e][0]+(this.destination[e][0]-this.value[e][0])*t,this.value[e][1]+(this.destination[e][1]-this.value[e][1])*t]);return new i.PointArray(a)},parse:function(t){var e=[];if(t=t.valueOf(),Array.isArray(t)){if(Array.isArray(t[0]))return t.map(function(t){return t.slice()});if(null!=t[0].x)return t.map(function(t){return[t.x,t.y]})}else t=t.trim().split(i.regex.delimiter).map(parseFloat);t.length%2!=0&&t.pop();for(var n=0,a=t.length;n<a;n+=2)e.push([t[n],t[n+1]]);return e},move:function(t,e){var i=this.bbox();if(t-=i.x,e-=i.y,!isNaN(t)&&!isNaN(e))for(var n=this.value.length-1;0<=n;n--)this.value[n]=[this.value[n][0]+t,this.value[n][1]+e];return this},size:function(t,e){var i,n=this.bbox();for(i=this.value.length-1;0<=i;i--)n.width&&(this.value[i][0]=(this.value[i][0]-n.x)*t/n.width+n.x),n.height&&(this.value[i][1]=(this.value[i][1]-n.y)*e/n.height+n.y);return this},bbox:function(){return i.parser.draw||i.prepare(),i.parser.poly.setAttribute("points",this.toString()),i.parser.poly.getBBox()}});for(var n={M:function(t,e,i){return e.x=i.x=t[0],e.y=i.y=t[1],["M",e.x,e.y]},L:function(t,e){return e.x=t[0],e.y=t[1],["L",t[0],t[1]]},H:function(t,e){return e.x=t[0],["H",t[0]]},V:function(t,e){return e.y=t[0],["V",t[0]]},C:function(t,e){return e.x=t[4],e.y=t[5],["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,e){return e.x=t[2],e.y=t[3],["S",t[0],t[1],t[2],t[3]]},Q:function(t,e){return e.x=t[2],e.y=t[3],["Q",t[0],t[1],t[2],t[3]]},T:function(t,e){return e.x=t[0],e.y=t[1],["T",t[0],t[1]]},Z:function(t,e,i){return e.x=i.x,e.y=i.y,["Z"]},A:function(t,e){return e.x=t[5],e.y=t[6],["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}},a="mlhvqtcsaz".split(""),r=0,s=a.length;r<s;++r)n[a[r]]=function(t){return function(e,i,a){if("H"==t)e[0]=e[0]+i.x;else if("V"==t)e[0]=e[0]+i.y;else if("A"==t)e[5]=e[5]+i.x,e[6]=e[6]+i.y;else for(var r=0,o=e.length;r<o;++r)e[r]=e[r]+(r%2?i.y:i.x);return n[t](e,i,a)}}(a[r].toUpperCase());i.PathArray=function(t,e){i.Array.call(this,t,e||[["M",0,0]])},i.PathArray.prototype=new i.Array,i.PathArray.prototype.constructor=i.PathArray,i.extend(i.PathArray,{toString:function(){return function(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e][0],null!=t[e][1]&&(n+=t[e][1],null!=t[e][2]&&(n+=" ",n+=t[e][2],null!=t[e][3]&&(n+=" ",n+=t[e][3],n+=" ",n+=t[e][4],null!=t[e][5]&&(n+=" ",n+=t[e][5],n+=" ",n+=t[e][6],null!=t[e][7]&&(n+=" ",n+=t[e][7])))));return n+" "}(this.value)},move:function(t,e){var i=this.bbox();if(t-=i.x,e-=i.y,!isNaN(t)&&!isNaN(e))for(var n,a=this.value.length-1;0<=a;a--)"M"==(n=this.value[a][0])||"L"==n||"T"==n?(this.value[a][1]+=t,this.value[a][2]+=e):"H"==n?this.value[a][1]+=t:"V"==n?this.value[a][1]+=e:"C"==n||"S"==n||"Q"==n?(this.value[a][1]+=t,this.value[a][2]+=e,this.value[a][3]+=t,this.value[a][4]+=e,"C"==n&&(this.value[a][5]+=t,this.value[a][6]+=e)):"A"==n&&(this.value[a][6]+=t,this.value[a][7]+=e);return this},size:function(t,e){var i,n,a=this.bbox();for(i=this.value.length-1;0<=i;i--)"M"==(n=this.value[i][0])||"L"==n||"T"==n?(this.value[i][1]=(this.value[i][1]-a.x)*t/a.width+a.x,this.value[i][2]=(this.value[i][2]-a.y)*e/a.height+a.y):"H"==n?this.value[i][1]=(this.value[i][1]-a.x)*t/a.width+a.x:"V"==n?this.value[i][1]=(this.value[i][1]-a.y)*e/a.height+a.y:"C"==n||"S"==n||"Q"==n?(this.value[i][1]=(this.value[i][1]-a.x)*t/a.width+a.x,this.value[i][2]=(this.value[i][2]-a.y)*e/a.height+a.y,this.value[i][3]=(this.value[i][3]-a.x)*t/a.width+a.x,this.value[i][4]=(this.value[i][4]-a.y)*e/a.height+a.y,"C"==n&&(this.value[i][5]=(this.value[i][5]-a.x)*t/a.width+a.x,this.value[i][6]=(this.value[i][6]-a.y)*e/a.height+a.y)):"A"==n&&(this.value[i][1]=this.value[i][1]*t/a.width,this.value[i][2]=this.value[i][2]*e/a.height,this.value[i][6]=(this.value[i][6]-a.x)*t/a.width+a.x,this.value[i][7]=(this.value[i][7]-a.y)*e/a.height+a.y);return this},equalCommands:function(t){var e,n,a;for(t=new i.PathArray(t),a=this.value.length===t.value.length,e=0,n=this.value.length;a&&e<n;e++)a=this.value[e][0]===t.value[e][0];return a},morph:function(t){return t=new i.PathArray(t),this.equalCommands(t)?this.destination=t:this.destination=null,this},at:function(t){if(!this.destination)return this;var e,n,a,r,o=this.value,s=this.destination.value,l=[],c=new i.PathArray;for(e=0,n=o.length;e<n;e++){for(l[e]=[o[e][0]],a=1,r=o[e].length;a<r;a++)l[e][a]=o[e][a]+(s[e][a]-o[e][a])*t;"A"===l[e][0]&&(l[e][4]=+(0!=l[e][4]),l[e][5]=+(0!=l[e][5]))}return c.value=l,c},parse:function(t){if(t instanceof i.PathArray)return t.valueOf();var e,a={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};t="string"==typeof t?t.replace(i.regex.numbersWithDots,c).replace(i.regex.pathLetters," $& ").replace(i.regex.hyphen,"$1 -").trim().split(i.regex.delimiter):t.reduce(function(t,e){return[].concat.call(t,e)},[]);for(var r=[],o=new i.Point,s=new i.Point,l=0,d=t.length;i.regex.isPathLetter.test(t[l])?(e=t[l],++l):"M"==e?e="L":"m"==e&&(e="l"),r.push(n[e].call(null,t.slice(l,l+=a[e.toUpperCase()]).map(parseFloat),o,s)),l<d;);return r},bbox:function(){return i.parser.draw||i.prepare(),i.parser.path.setAttribute("d",this.toString()),i.parser.path.getBBox()}}),i.Number=i.invent({create:function(t,e){this.value=0,this.unit=e||"","number"==typeof t?this.value=isNaN(t)?0:isFinite(t)?t:t<0?-3.4e38:3.4e38:"string"==typeof t?(e=t.match(i.regex.numberAndUnit))&&(this.value=parseFloat(e[1]),"%"==e[5]?this.value/=100:"s"==e[5]&&(this.value*=1e3),this.unit=e[5]):t instanceof i.Number&&(this.value=t.valueOf(),this.unit=t.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(t){return t=new i.Number(t),new i.Number(this+t,this.unit||t.unit)},minus:function(t){return t=new i.Number(t),new i.Number(this-t,this.unit||t.unit)},times:function(t){return t=new i.Number(t),new i.Number(this*t,this.unit||t.unit)},divide:function(t){return t=new i.Number(t),new i.Number(this/t,this.unit||t.unit)},to:function(t){var e=new i.Number(this);return"string"==typeof t&&(e.unit=t),e},morph:function(t){return this.destination=new i.Number(t),t.relative&&(this.destination.value+=this.value),this},at:function(t){return this.destination?new i.Number(this.destination).minus(this).times(t).plus(this):this}}}),i.Element=i.invent({create:function(t){this._stroke=i.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=t)&&(this.type=t.nodeName,(this.node.instance=this)._stroke=t.getAttribute("stroke")||this._stroke)},extend:{x:function(t){return this.attr("x",t)},y:function(t){return this.attr("y",t)},cx:function(t){return null==t?this.x()+this.width()/2:this.x(t-this.width()/2)},cy:function(t){return null==t?this.y()+this.height()/2:this.y(t-this.height()/2)},move:function(t,e){return this.x(t).y(e)},center:function(t,e){return this.cx(t).cy(e)},width:function(t){return this.attr("width",t)},height:function(t){return this.attr("height",t)},size:function(t,e){var n=p(this,t,e);return this.width(new i.Number(n.width)).height(new i.Number(n.height))},clone:function(t){this.writeDataToDom();var e=v(this.node.cloneNode(!0));return t?t.add(e):this.after(e),e},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(t){return this.after(t).remove(),t},addTo:function(t){return t.put(this)},putIn:function(t){return t.add(this)},id:function(t){return this.attr("id",t)},inside:function(t,e){var i=this.bbox();return t>i.x&&e>i.y&&t<i.x+i.width&&e<i.y+i.height},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var t=this.attr("class");return null==t?[]:t.trim().split(i.regex.delimiter)},hasClass:function(t){return-1!=this.classes().indexOf(t)},addClass:function(t){if(!this.hasClass(t)){var e=this.classes();e.push(t),this.attr("class",e.join(" "))}return this},removeClass:function(t){return this.hasClass(t)&&this.attr("class",this.classes().filter(function(e){return e!=t}).join(" ")),this},toggleClass:function(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)},reference:function(t){return i.get(this.attr(t))},parent:function(e){var n=this;if(!n.node.parentNode)return null;if(n=i.adopt(n.node.parentNode),!e)return n;for(;n&&n.node instanceof t.SVGElement;){if("string"==typeof e?n.matches(e):n instanceof e)return n;if(!n.node.parentNode||"#document"==n.node.parentNode.nodeName)return null;n=i.adopt(n.node.parentNode)}},doc:function(){return this instanceof i.Doc?this:this.parent(i.Doc)},parents:function(t){var e=[],i=this;do{if(!(i=i.parent(t))||!i.node)break;e.push(i)}while(i.parent);return e},matches:function(t){return e=this.node,i=t,(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,i);var e,i},native:function(){return this.node},svg:function(t){var n=e.createElement("svg");if(!(t&&this instanceof i.Parent))return n.appendChild(t=e.createElement("svg")),this.writeDataToDom(),t.appendChild(this.node.cloneNode(!0)),n.innerHTML.replace(/^<svg>/,"").replace(/<\/svg>$/,"");n.innerHTML="<svg>"+t.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2></$1>")+"</svg>";for(var a=0,r=n.firstChild.childNodes.length;a<r;a++)this.node.appendChild(n.firstChild.firstChild);return this},writeDataToDom:function(){return(this.each||this.lines)&&(this.each?this:this.lines()).each(function(){this.writeDataToDom()}),this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),this},setData:function(t){return this.dom=t,this},is:function(t){return this instanceof t}}}),i.easing={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return 1-Math.cos(t*Math.PI/2)}},i.morph=function(t){return function(e,n){return new i.MorphObj(e,n).at(t)}},i.Situation=i.invent({create:function(t){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new i.Number(t.duration).valueOf(),this.delay=new i.Number(t.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=t.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),i.FX=i.invent({create:function(t){this._target=t,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(t,e,n){"object"===(void 0===t?"undefined":o(t))&&(e=t.ease,n=t.delay,t=t.duration);var a=new i.Situation({duration:t||1e3,delay:n||0,ease:i.easing[e||"-"]||e});return this.queue(a),this},delay:function(t){var e=new i.Situation({duration:t,delay:0,ease:i.easing["-"]});return this.queue(e)},target:function(t){return t&&t instanceof i.Element?(this._target=t,this):this._target},timeToAbsPos:function(t){return(t-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(t){return this.situation.duration/this._speed*t+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=t.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){t.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(t){return("function"==typeof t||t instanceof i.Situation)&&this.situations.push(t),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof i.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var t,e,n,a=this.situation;if(a.init)return this;for(t in a.animations)for(n=this.target()[t](),Array.isArray(n)||(n=[n]),Array.isArray(a.animations[t])||(a.animations[t]=[a.animations[t]]),e=n.length;e--;)a.animations[t][e]instanceof i.Number&&(n[e]=new i.Number(n[e])),a.animations[t][e]=n[e].morph(a.animations[t][e]);for(t in a.attrs)a.attrs[t]=new i.MorphObj(this.target().attr(t),a.attrs[t]);for(t in a.styles)a.styles[t]=new i.MorphObj(this.target().style(t),a.styles[t]);return a.initialTransformation=this.target().matrixify(),a.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(t,e){var i=this.active;return this.active=!1,e&&this.clearQueue(),t&&this.situation&&(!i&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},reset:function(){if(this.situation){var t=this.situation;this.stop(),this.situation=t,this.atStart()}return this},finish:function(){for(this.stop(!0,!1);this.dequeue().situation&&this.stop(!0,!1););return this.clearQueue().clearCurrent(),this},atStart:function(){return this.at(0,!0)},atEnd:function(){return!0===this.situation.loops&&(this.situation.loops=this.situation.loop+1),"number"==typeof this.situation.loops?this.at(this.situation.loops,!0):this.at(1,!0)},at:function(t,e){var i=this.situation.duration/this._speed;return this.absPos=t,e||(this.situation.reversed&&(this.absPos=1-this.absPos),this.absPos+=this.situation.loop),this.situation.start=+new Date-this.absPos*i,this.situation.finish=this.situation.start+i,this.step(!0)},speed:function(t){return 0===t?this.pause():t?(this._speed=t,this.at(this.absPos,!0)):this._speed},loop:function(t,e){var i=this.last();return i.loops=null==t||t,i.loop=0,e&&(i.reversing=!0),this},pause:function(){return this.paused=!0,this.stopAnimFrame(),this},play:function(){return this.paused?(this.paused=!1,this.at(this.absPos,!0)):this},reverse:function(t){var e=this.last();return e.reversed=void 0===t?!e.reversed:t,this},progress:function(t){return t?this.situation.ease(this.pos):this.pos},after:function(t){var e=this.last();return this.target().on("finished.fx",function i(n){n.detail.situation==e&&(t.call(this,e),this.off("finished.fx",i))}),this._callStart()},during:function(t){var e=this.last(),n=function(n){n.detail.situation==e&&t.call(this,n.detail.pos,i.morph(n.detail.pos),n.detail.eased,e)};return this.target().off("during.fx",n).on("during.fx",n),this.after(function(){this.off("during.fx",n)}),this._callStart()},afterAll:function(t){var e=function e(i){t.call(this),this.off("allfinished.fx",e)};return this.target().off("allfinished.fx",e).on("allfinished.fx",e),this._callStart()},duringAll:function(t){var e=function(e){t.call(this,e.detail.pos,i.morph(e.detail.pos),e.detail.eased,e.detail.situation)};return this.target().off("during.fx",e).on("during.fx",e),this.afterAll(function(){this.off("during.fx",e)}),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(t,e,i){return this.last()[i||"animations"][t]=e,this._callStart()},step:function(t){var e,i,n;t||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(e=Math.max(this.absPos,0),i=Math.floor(e),!0===this.situation.loops||i<this.situation.loops?(this.pos=e-i,n=this.situation.loop,this.situation.loop=i):(this.absPos=this.situation.loops,this.pos=1,n=this.situation.loop-1,this.situation.loop=this.situation.loops),this.situation.reversing&&(this.situation.reversed=this.situation.reversed!=Boolean((this.situation.loop-n)%2))):(this.absPos=Math.min(this.absPos,1),this.pos=this.absPos),this.pos<0&&(this.pos=0),this.situation.reversed&&(this.pos=1-this.pos);var a=this.situation.ease(this.pos);for(var r in this.situation.once)r>this.lastPos&&r<=a&&(this.situation.once[r].call(this.target(),this.pos,a),delete this.situation.once[r]);return this.active&&this.target().fire("during",{pos:this.pos,eased:a,fx:this,situation:this.situation}),this.situation&&(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=a),this},eachAt:function(){var t,e,n,a=this,r=this.target(),o=this.situation;for(t in o.animations)n=[].concat(o.animations[t]).map(function(t){return"string"!=typeof t&&t.at?t.at(o.ease(a.pos),a.pos):t}),r[t].apply(r,n);for(t in o.attrs)n=[t].concat(o.attrs[t]).map(function(t){return"string"!=typeof t&&t.at?t.at(o.ease(a.pos),a.pos):t}),r.attr.apply(r,n);for(t in o.styles)n=[t].concat(o.styles[t]).map(function(t){return"string"!=typeof t&&t.at?t.at(o.ease(a.pos),a.pos):t}),r.style.apply(r,n);if(o.transforms.length){for(n=o.initialTransformation,t=0,e=o.transforms.length;t<e;t++){var s=o.transforms[t];s instanceof i.Matrix?n=s.relative?n.multiply((new i.Matrix).morph(s).at(o.ease(this.pos))):n.morph(s).at(o.ease(this.pos)):(s.relative||s.undo(n.extract()),n=n.multiply(s.at(o.ease(this.pos))))}r.matrix(n)}return this},once:function(t,e,i){var n=this.last();return i||(t=n.ease(t)),n.once[t]=e,this},_callStart:function(){return setTimeout(function(){this.start()}.bind(this),0),this}},parent:i.Element,construct:{animate:function(t,e,n){return(this.fx||(this.fx=new i.FX(this))).animate(t,e,n)},delay:function(t){return(this.fx||(this.fx=new i.FX(this))).delay(t)},stop:function(t,e){return this.fx&&this.fx.stop(t,e),this},finish:function(){return this.fx&&this.fx.finish(),this},pause:function(){return this.fx&&this.fx.pause(),this},play:function(){return this.fx&&this.fx.play(),this},speed:function(t){if(this.fx){if(null==t)return this.fx.speed();this.fx.speed(t)}return this}}}),i.MorphObj=i.invent({create:function(t,e){return i.Color.isColor(e)?new i.Color(t).morph(e):i.regex.delimiter.test(t)?i.regex.pathLetters.test(t)?new i.PathArray(t).morph(e):new i.Array(t).morph(e):i.regex.numberAndUnit.test(e)?new i.Number(t).morph(e):(this.value=t,void(this.destination=e))},extend:{at:function(t,e){return e<1?this.value:this.destination},valueOf:function(){return this.value}}}),i.extend(i.FX,{attr:function(t,e,i){if("object"===(void 0===t?"undefined":o(t)))for(var n in t)this.attr(n,t[n]);else this.add(t,e,"attrs");return this},style:function(t,e){if("object"===(void 0===t?"undefined":o(t)))for(var i in t)this.style(i,t[i]);else this.add(t,e,"styles");return this},x:function(t,e){if(this.target()instanceof i.G)return this.transform({x:t},e),this;var n=new i.Number(t);return n.relative=e,this.add("x",n)},y:function(t,e){if(this.target()instanceof i.G)return this.transform({y:t},e),this;var n=new i.Number(t);return n.relative=e,this.add("y",n)},cx:function(t){return this.add("cx",new i.Number(t))},cy:function(t){return this.add("cy",new i.Number(t))},move:function(t,e){return this.x(t).y(e)},center:function(t,e){return this.cx(t).cy(e)},size:function(t,e){var n;return this.target()instanceof i.Text?this.attr("font-size",t):(t&&e||(n=this.target().bbox()),t||(t=n.width/n.height*e),e||(e=n.height/n.width*t),this.add("width",new i.Number(t)).add("height",new i.Number(e))),this},width:function(t){return this.add("width",new i.Number(t))},height:function(t){return this.add("height",new i.Number(t))},plot:function(t,e,i,n){return 4==arguments.length?this.plot([t,e,i,n]):this.add("plot",new(this.target().morphArray)(t))},leading:function(t){return this.target().leading?this.add("leading",new i.Number(t)):this},viewbox:function(t,e,n,a){return this.target()instanceof i.Container&&this.add("viewbox",new i.ViewBox(t,e,n,a)),this},update:function(t){if(this.target()instanceof i.Stop){if("number"==typeof t||t instanceof i.Number)return this.update({offset:t,color:arguments[1],opacity:arguments[2]});null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",t.offset)}return this}}),i.Box=i.invent({create:function(t,e,n,a){if(!("object"!==(void 0===t?"undefined":o(t))||t instanceof i.Element))return i.Box.call(this,null!=t.left?t.left:t.x,null!=t.top?t.top:t.y,t.width,t.height);4==arguments.length&&(this.x=t,this.y=e,this.width=n,this.height=a),y(this)},extend:{merge:function(t){var e=new this.constructor;return e.x=Math.min(this.x,t.x),e.y=Math.min(this.y,t.y),e.width=Math.max(this.x+this.width,t.x+t.width)-e.x,e.height=Math.max(this.y+this.height,t.y+t.height)-e.y,y(e)},transform:function(t){var e,n=1/0,a=-1/0,r=1/0,o=-1/0;return[new i.Point(this.x,this.y),new i.Point(this.x2,this.y),new i.Point(this.x,this.y2),new i.Point(this.x2,this.y2)].forEach(function(e){e=e.transform(t),n=Math.min(n,e.x),a=Math.max(a,e.x),r=Math.min(r,e.y),o=Math.max(o,e.y)}),(e=new this.constructor).x=n,e.width=a-n,e.y=r,e.height=o-r,y(e),e}}}),i.BBox=i.invent({create:function(t){if(i.Box.apply(this,[].slice.call(arguments)),t instanceof i.Element){var n;try{if(!e.documentElement.contains){for(var a=t.node;a.parentNode;)a=a.parentNode;if(a!=e)throw new Error("Element not in the dom")}n=t.node.getBBox()}catch(a){if(t instanceof i.Shape){i.parser.draw||i.prepare();var r=t.clone(i.parser.draw.instance).show();n=r.node.getBBox(),r.remove()}else n={x:t.node.clientLeft,y:t.node.clientTop,width:t.node.clientWidth,height:t.node.clientHeight}}i.Box.call(this,n)}},inherit:i.Box,parent:i.Element,construct:{bbox:function(){return new i.BBox(this)}}}),i.BBox.prototype.constructor=i.BBox,i.extend(i.Element,{tbox:function(){return console.warn("Use of TBox is deprecated and mapped to RBox. Use .rbox() instead."),this.rbox(this.doc())}}),i.RBox=i.invent({create:function(t){i.Box.apply(this,[].slice.call(arguments)),t instanceof i.Element&&i.Box.call(this,t.node.getBoundingClientRect())},inherit:i.Box,parent:i.Element,extend:{addOffset:function(){return this.x+=t.pageXOffset,this.y+=t.pageYOffset,this}},construct:{rbox:function(t){return t?new i.RBox(this).transform(t.screenCTM().inverse()):new i.RBox(this).addOffset()}}}),i.RBox.prototype.constructor=i.RBox,i.Matrix=i.invent({create:function(t){var e,n=g([1,0,0,1,0,0]);for(t=t instanceof i.Element?t.matrixify():"string"==typeof t?g(t.split(i.regex.delimiter).map(parseFloat)):6==arguments.length?g([].slice.call(arguments)):Array.isArray(t)?g(t):"object"===(void 0===t?"undefined":o(t))?t:n,e=w.length-1;0<=e;--e)this[w[e]]=null!=t[w[e]]?t[w[e]]:n[w[e]]},extend:{extract:function(){var t=f(this,0,1),e=f(this,1,0),n=180/Math.PI*Math.atan2(t.y,t.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(n*Math.PI/180)+this.f*Math.sin(n*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(n*Math.PI/180)+this.e*Math.sin(-n*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),skewX:-n,skewY:180/Math.PI*Math.atan2(e.y,e.x),scaleX:Math.sqrt(this.a*this.a+this.b*this.b),scaleY:Math.sqrt(this.c*this.c+this.d*this.d),rotation:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new i.Matrix(this)}},clone:function(){return new i.Matrix(this)},morph:function(t){return this.destination=new i.Matrix(t),this},at:function(t){return this.destination?new i.Matrix({a:this.a+(this.destination.a-this.a)*t,b:this.b+(this.destination.b-this.b)*t,c:this.c+(this.destination.c-this.c)*t,d:this.d+(this.destination.d-this.d)*t,e:this.e+(this.destination.e-this.e)*t,f:this.f+(this.destination.f-this.f)*t}):this},multiply:function(t){return new i.Matrix(this.native().multiply(function(t){return t instanceof i.Matrix||(t=new i.Matrix(t)),t}(t).native()))},inverse:function(){return new i.Matrix(this.native().inverse())},translate:function(t,e){return new i.Matrix(this.native().translate(t||0,e||0))},scale:function(t,e,n,a){return 1==arguments.length?e=t:3==arguments.length&&(a=n,n=e,e=t),this.around(n,a,new i.Matrix(t,0,0,e,0,0))},rotate:function(t,e,n){return t=i.utils.radians(t),this.around(e,n,new i.Matrix(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0))},flip:function(t,e){return"x"==t?this.scale(-1,1,e,0):"y"==t?this.scale(1,-1,0,e):this.scale(-1,-1,t,null!=e?e:t)},skew:function(t,e,n,a){return 1==arguments.length?e=t:3==arguments.length&&(a=n,n=e,e=t),t=i.utils.radians(t),e=i.utils.radians(e),this.around(n,a,new i.Matrix(1,Math.tan(e),Math.tan(t),1,0,0))},skewX:function(t,e,i){return this.skew(t,0,e,i)},skewY:function(t,e,i){return this.skew(0,t,e,i)},around:function(t,e,n){return this.multiply(new i.Matrix(1,0,0,1,t||0,e||0)).multiply(n).multiply(new i.Matrix(1,0,0,1,-t||0,-e||0))},native:function(){for(var t=i.parser.native.createSVGMatrix(),e=w.length-1;0<=e;e--)t[w[e]]=this[w[e]];return t},toString:function(){return"matrix("+b(this.a)+","+b(this.b)+","+b(this.c)+","+b(this.d)+","+b(this.e)+","+b(this.f)+")"}},parent:i.Element,construct:{ctm:function(){return new i.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof i.Nested){var t=this.rect(1,1),e=t.node.getScreenCTM();return t.remove(),new i.Matrix(e)}return new i.Matrix(this.node.getScreenCTM())}}}),i.Point=i.invent({create:function(t,e){var i;i=Array.isArray(t)?{x:t[0],y:t[1]}:"object"===(void 0===t?"undefined":o(t))?{x:t.x,y:t.y}:null!=t?{x:t,y:null!=e?e:t}:{x:0,y:0},this.x=i.x,this.y=i.y},extend:{clone:function(){return new i.Point(this)},morph:function(t,e){return this.destination=new i.Point(t,e),this},at:function(t){return this.destination?new i.Point({x:this.x+(this.destination.x-this.x)*t,y:this.y+(this.destination.y-this.y)*t}):this},native:function(){var t=i.parser.native.createSVGPoint();return t.x=this.x,t.y=this.y,t},transform:function(t){return new i.Point(this.native().matrixTransform(t.native()))}}}),i.extend(i.Element,{point:function(t,e){return new i.Point(t,e).transform(this.screenCTM().inverse())}}),i.extend(i.Element,{attr:function(t,e,n){if(null==t){for(t={},n=(e=this.node.attributes).length-1;0<=n;n--)t[e[n].nodeName]=i.regex.isNumber.test(e[n].nodeValue)?parseFloat(e[n].nodeValue):e[n].nodeValue;return t}if("object"===(void 0===t?"undefined":o(t)))for(e in t)this.attr(e,t[e]);else if(null===e)this.node.removeAttribute(t);else{if(null==e)return null==(e=this.node.getAttribute(t))?i.defaults.attrs[t]:i.regex.isNumber.test(e)?parseFloat(e):e;"stroke-width"==t?this.attr("stroke",0<parseFloat(e)?this._stroke:null):"stroke"==t&&(this._stroke=e),"fill"!=t&&"stroke"!=t||(i.regex.isImage.test(e)&&(e=this.doc().defs().image(e,0,0)),e instanceof i.Image&&(e=this.doc().defs().pattern(0,0,function(){this.add(e)}))),"number"==typeof e?e=new i.Number(e):i.Color.isColor(e)?e=new i.Color(e):Array.isArray(e)&&(e=new i.Array(e)),"leading"==t?this.leading&&this.leading(e):"string"==typeof n?this.node.setAttributeNS(n,t,e.toString()):this.node.setAttribute(t,e.toString()),!this.rebuild||"font-size"!=t&&"x"!=t||this.rebuild(t,e)}return this}}),i.extend(i.Element,{transform:function(t,e){var n,a;if("object"!==(void 0===t?"undefined":o(t)))return n=new i.Matrix(this).extract(),"string"==typeof t?n[t]:n;if(n=new i.Matrix(this),e=!!e||!!t.relative,null!=t.a)n=e?n.multiply(new i.Matrix(t)):new i.Matrix(t);else if(null!=t.rotation)m(t,this),n=e?n.rotate(t.rotation,t.cx,t.cy):n.rotate(t.rotation-n.extract().rotation,t.cx,t.cy);else if(null!=t.scale||null!=t.scaleX||null!=t.scaleY){if(m(t,this),t.scaleX=null!=t.scale?t.scale:null!=t.scaleX?t.scaleX:1,t.scaleY=null!=t.scale?t.scale:null!=t.scaleY?t.scaleY:1,!e){var r=n.extract();t.scaleX=1*t.scaleX/r.scaleX,t.scaleY=1*t.scaleY/r.scaleY}n=n.scale(t.scaleX,t.scaleY,t.cx,t.cy)}else null!=t.skew||null!=t.skewX||null!=t.skewY?(m(t,this),t.skewX=null!=t.skew?t.skew:null!=t.skewX?t.skewX:0,t.skewY=null!=t.skew?t.skew:null!=t.skewY?t.skewY:0,e||(r=n.extract(),n=n.multiply((new i.Matrix).skew(r.skewX,r.skewY,t.cx,t.cy).inverse())),n=n.skew(t.skewX,t.skewY,t.cx,t.cy)):t.flip?("x"==t.flip||"y"==t.flip?t.offset=null==t.offset?this.bbox()["c"+t.flip]:t.offset:null==t.offset?(a=this.bbox(),t.flip=a.cx,t.offset=a.cy):t.flip=t.offset,n=(new i.Matrix).flip(t.flip,t.offset)):null==t.x&&null==t.y||(e?n=n.translate(t.x,t.y):(null!=t.x&&(n.e=t.x),null!=t.y&&(n.f=t.y)));return this.attr("transform",n)}}),i.extend(i.FX,{transform:function(t,e){var n,a,r=this.target();return"object"!==(void 0===t?"undefined":o(t))?(n=new i.Matrix(r).extract(),"string"==typeof t?n[t]:n):(e=!!e||!!t.relative,null!=t.a?n=new i.Matrix(t):null!=t.rotation?(m(t,r),n=new i.Rotate(t.rotation,t.cx,t.cy)):null!=t.scale||null!=t.scaleX||null!=t.scaleY?(m(t,r),t.scaleX=null!=t.scale?t.scale:null!=t.scaleX?t.scaleX:1,t.scaleY=null!=t.scale?t.scale:null!=t.scaleY?t.scaleY:1,n=new i.Scale(t.scaleX,t.scaleY,t.cx,t.cy)):null!=t.skewX||null!=t.skewY?(m(t,r),t.skewX=null!=t.skewX?t.skewX:0,t.skewY=null!=t.skewY?t.skewY:0,n=new i.Skew(t.skewX,t.skewY,t.cx,t.cy)):t.flip?("x"==t.flip||"y"==t.flip?t.offset=null==t.offset?r.bbox()["c"+t.flip]:t.offset:null==t.offset?(a=r.bbox(),t.flip=a.cx,t.offset=a.cy):t.flip=t.offset,n=(new i.Matrix).flip(t.flip,t.offset)):null==t.x&&null==t.y||(n=new i.Translate(t.x,t.y)),n?(n.relative=e,this.last().transforms.push(n),this._callStart()):this)}}),i.extend(i.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(i.regex.transforms).slice(0,-1).map(function(t){var e=t.trim().split("(");return[e[0],e[1].split(i.regex.delimiter).map(function(t){return parseFloat(t)})]}).reduce(function(t,e){return"matrix"==e[0]?t.multiply(g(e[1])):t[e[0]].apply(t,e[1])},new i.Matrix)},toParent:function(t){if(this==t)return this;var e=this.screenCTM(),i=t.screenCTM().inverse();return this.addTo(t).untransform().transform(i.multiply(e)),this},toDoc:function(){return this.toParent(this.doc())}}),i.Transformation=i.invent({create:function(t,e){if(1<arguments.length&&"boolean"!=typeof e)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(t))for(var i=0,n=this.arguments.length;i<n;++i)this[this.arguments[i]]=t[i];else if("object"===(void 0===t?"undefined":o(t)))for(i=0,n=this.arguments.length;i<n;++i)this[this.arguments[i]]=t[this.arguments[i]];!(this.inversed=!1)===e&&(this.inversed=!0)},extend:{arguments:[],method:"",at:function(t){for(var e=[],n=0,a=this.arguments.length;n<a;++n)e.push(this[this.arguments[n]]);var r=this._undo||new i.Matrix;return r=(new i.Matrix).morph(i.Matrix.prototype[this.method].apply(r,e)).at(t),this.inversed?r.inverse():r},undo:function(t){for(var e=0,n=this.arguments.length;e<n;++e)t[this.arguments[e]]=void 0===this[this.arguments[e]]?0:t[this.arguments[e]];return t.cx=this.cx,t.cy=this.cy,this._undo=new(i[u(this.method)])(t,!0).at(1),this}}}),i.Translate=i.invent({parent:i.Matrix,inherit:i.Transformation,create:function(t,e){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["transformedX","transformedY"],method:"translate"}}),i.Rotate=i.invent({parent:i.Matrix,inherit:i.Transformation,create:function(t,e){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["rotation","cx","cy"],method:"rotate",at:function(t){var e=(new i.Matrix).rotate((new i.Number).morph(this.rotation-(this._undo?this._undo.rotation:0)).at(t),this.cx,this.cy);return this.inversed?e.inverse():e},undo:function(t){return this._undo=t,this}}}),i.Scale=i.invent({parent:i.Matrix,inherit:i.Transformation,create:function(t,e){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["scaleX","scaleY","cx","cy"],method:"scale"}}),i.Skew=i.invent({parent:i.Matrix,inherit:i.Transformation,create:function(t,e){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["skewX","skewY","cx","cy"],method:"skew"}}),i.extend(i.Element,{style:function(t,e){if(0==arguments.length)return this.node.style.cssText||"";if(arguments.length<2)if("object"===(void 0===t?"undefined":o(t)))for(e in t)this.style(e,t[e]);else{if(!i.regex.isCss.test(t))return this.node.style[d(t)];for(t=t.split(/\s*;\s*/).filter(function(t){return!!t}).map(function(t){return t.split(/\s*:\s*/)});e=t.pop();)this.style(e[0],e[1])}else this.node.style[d(t)]=null===e||i.regex.isBlank.test(e)?"":e;return this}}),i.Parent=i.invent({create:function(t){this.constructor.call(this,t)},inherit:i.Element,extend:{children:function(){return i.utils.map(i.utils.filterSVGElements(this.node.childNodes),function(t){return i.adopt(t)})},add:function(t,e){return null==e?this.node.appendChild(t.node):t.node!=this.node.childNodes[e]&&this.node.insertBefore(t.node,this.node.childNodes[e]),this},put:function(t,e){return this.add(t,e),t},has:function(t){return 0<=this.index(t)},index:function(t){return[].slice.call(this.node.childNodes).indexOf(t.node)},get:function(t){return i.adopt(this.node.childNodes[t])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(t,e){var n,a,r=this.children();for(n=0,a=r.length;n<a;n++)r[n]instanceof i.Element&&t.apply(r[n],[n,r]),e&&r[n]instanceof i.Container&&r[n].each(t,e);return this},removeElement:function(t){return this.node.removeChild(t.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,this},defs:function(){return this.doc().defs()}}}),i.extend(i.Parent,{ungroup:function(t,e){return 0===e||this instanceof i.Defs||this.node==i.parser.draw||(t=t||(this instanceof i.Doc?this:this.parent(i.Parent)),e=e||1/0,this.each(function(){return this instanceof i.Defs?this:this instanceof i.Parent?this.ungroup(t,e-1):this.toParent(t)}),this.node.firstChild||this.remove()),this},flatten:function(t,e){return this.ungroup(t,e)}}),i.Container=i.invent({create:function(t){this.constructor.call(this,t)},inherit:i.Parent}),i.ViewBox=i.invent({create:function(t){var e,n,a,r,s,l,c,d=1,u=1,h=/[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/gi;if(t instanceof i.Element){for(s=((c=l=t).attr("viewBox")||"").match(h),t.bbox,a=new i.Number(t.width()),r=new i.Number(t.height());"%"==a.unit;)d*=a.value,a=new i.Number(l instanceof i.Doc?l.parent().offsetWidth:l.parent().width()),l=l.parent();for(;"%"==r.unit;)u*=r.value,r=new i.Number(c instanceof i.Doc?c.parent().offsetHeight:c.parent().height()),c=c.parent();this.x=0,this.y=0,this.width=a*d,this.height=r*u,this.zoom=1,s&&(e=parseFloat(s[0]),n=parseFloat(s[1]),a=parseFloat(s[2]),r=parseFloat(s[3]),this.zoom=this.width/this.height>a/r?this.height/r:this.width/a,this.x=e,this.y=n,this.width=a,this.height=r)}else t="string"==typeof t?t.match(h).map(function(t){return parseFloat(t)}):Array.isArray(t)?t:"object"===(void 0===t?"undefined":o(t))?[t.x,t.y,t.width,t.height]:4==arguments.length?[].slice.call(arguments):[0,0,0,0],this.x=t[0],this.y=t[1],this.width=t[2],this.height=t[3]},extend:{toString:function(){return this.x+" "+this.y+" "+this.width+" "+this.height},morph:function(t,e,n,a){return this.destination=new i.ViewBox(t,e,n,a),this},at:function(t){return this.destination?new i.ViewBox([this.x+(this.destination.x-this.x)*t,this.y+(this.destination.y-this.y)*t,this.width+(this.destination.width-this.width)*t,this.height+(this.destination.height-this.height)*t]):this}},parent:i.Container,construct:{viewbox:function(t,e,n,a){return 0==arguments.length?new i.ViewBox(this):this.attr("viewBox",new i.ViewBox(t,e,n,a))}}}),["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","touchstart","touchmove","touchleave","touchend","touchcancel"].forEach(function(t){i.Element.prototype[t]=function(e){return i.on(this.node,t,e),this}}),i.listeners=[],i.handlerMap=[],i.listenerId=0,i.on=function(t,e,n,a,r){var o=n.bind(a||t.instance||t),s=(i.handlerMap.indexOf(t)+1||i.handlerMap.push(t))-1,l=e.split(".")[0],c=e.split(".")[1]||"*";i.listeners[s]=i.listeners[s]||{},i.listeners[s][l]=i.listeners[s][l]||{},i.listeners[s][l][c]=i.listeners[s][l][c]||{},n._svgjsListenerId||(n._svgjsListenerId=++i.listenerId),i.listeners[s][l][c][n._svgjsListenerId]=o,t.addEventListener(l,o,r||!1)},i.off=function(t,e,n){var a=i.handlerMap.indexOf(t),r=e&&e.split(".")[0],o=e&&e.split(".")[1],s="";if(-1!=a)if(n){if("function"==typeof n&&(n=n._svgjsListenerId),!n)return;i.listeners[a][r]&&i.listeners[a][r][o||"*"]&&(t.removeEventListener(r,i.listeners[a][r][o||"*"][n],!1),delete i.listeners[a][r][o||"*"][n])}else if(o&&r){if(i.listeners[a][r]&&i.listeners[a][r][o]){for(n in i.listeners[a][r][o])i.off(t,[r,o].join("."),n);delete i.listeners[a][r][o]}}else if(o)for(e in i.listeners[a])for(s in i.listeners[a][e])o===s&&i.off(t,[e,o].join("."));else if(r){if(i.listeners[a][r]){for(s in i.listeners[a][r])i.off(t,[r,s].join("."));delete i.listeners[a][r]}}else{for(e in i.listeners[a])i.off(t,e);delete i.listeners[a],delete i.handlerMap[a]}},i.extend(i.Element,{on:function(t,e,n,a){return i.on(this.node,t,e,n,a),this},off:function(t,e){return i.off(this.node,t,e),this},fire:function(e,n){return e instanceof t.Event?this.node.dispatchEvent(e):this.node.dispatchEvent(e=new i.CustomEvent(e,{detail:n,cancelable:!0})),this._event=e,this},event:function(){return this._event}}),i.Defs=i.invent({create:"defs",inherit:i.Container}),i.G=i.invent({create:"g",inherit:i.Container,extend:{x:function(t){return null==t?this.transform("x"):this.transform({x:t-this.x()},!0)},y:function(t){return null==t?this.transform("y"):this.transform({y:t-this.y()},!0)},cx:function(t){return null==t?this.gbox().cx:this.x(t-this.gbox().width/2)},cy:function(t){return null==t?this.gbox().cy:this.y(t-this.gbox().height/2)},gbox:function(){var t=this.bbox(),e=this.transform();return t.x+=e.x,t.x2+=e.x,t.cx+=e.x,t.y+=e.y,t.y2+=e.y,t.cy+=e.y,t}},construct:{group:function(){return this.put(new i.G)}}}),i.Doc=i.invent({create:function(t){t&&("svg"==(t="string"==typeof t?e.getElementById(t):t).nodeName?this.constructor.call(this,t):(this.constructor.call(this,i.create("svg")),t.appendChild(this.node),this.size("100%","100%")),this.namespace().defs())},inherit:i.Container,extend:{namespace:function(){return this.attr({xmlns:i.ns,version:"1.1"}).attr("xmlns:xlink",i.xlink,i.xmlns).attr("xmlns:svgjs",i.svgjs,i.xmlns)},defs:function(){var t;return this._defs||((t=this.node.getElementsByTagName("defs")[0])?this._defs=i.adopt(t):this._defs=new i.Defs,this.node.appendChild(this._defs.node)),this._defs},parent:function(){return this.node.parentNode&&"#document"!=this.node.parentNode.nodeName?this.node.parentNode:null},spof:function(){var t=this.node.getScreenCTM();return t&&this.style("left",-t.e%1+"px").style("top",-t.f%1+"px"),this},remove:function(){return this.parent()&&this.parent().removeChild(this.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,i.parser.draw&&!i.parser.draw.parentNode&&this.node.appendChild(i.parser.draw),this},clone:function(t){this.writeDataToDom();var e=this.node,i=v(e.cloneNode(!0));return t?(t.node||t).appendChild(i.node):e.parentNode.insertBefore(i.node,e.nextSibling),i}}}),i.extend(i.Element,{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},previous:function(){return this.siblings()[this.position()-1]},forward:function(){var t=this.position()+1,e=this.parent();return e.removeElement(this).add(this,t),e instanceof i.Doc&&e.node.appendChild(e.defs().node),this},backward:function(){var t=this.position();return 0<t&&this.parent().removeElement(this).add(this,t-1),this},front:function(){var t=this.parent();return t.node.appendChild(this.node),t instanceof i.Doc&&t.node.appendChild(t.defs().node),this},back:function(){return 0<this.position()&&this.parent().removeElement(this).add(this,0),this},before:function(t){t.remove();var e=this.position();return this.parent().add(t,e),this},after:function(t){t.remove();var e=this.position();return this.parent().add(t,e+1),this}}),i.Mask=i.invent({create:function(){this.constructor.call(this,i.create("mask")),this.targets=[]},inherit:i.Container,extend:{remove:function(){for(var t=this.targets.length-1;0<=t;t--)this.targets[t]&&this.targets[t].unmask();return this.targets=[],i.Element.prototype.remove.call(this),this}},construct:{mask:function(){return this.defs().put(new i.Mask)}}}),i.extend(i.Element,{maskWith:function(t){return this.masker=t instanceof i.Mask?t:this.parent().mask().add(t),this.masker.targets.push(this),this.attr("mask",'url("#'+this.masker.attr("id")+'")')},unmask:function(){return delete this.masker,this.attr("mask",null)}}),i.ClipPath=i.invent({create:function(){this.constructor.call(this,i.create("clipPath")),this.targets=[]},inherit:i.Container,extend:{remove:function(){for(var t=this.targets.length-1;0<=t;t--)this.targets[t]&&this.targets[t].unclip();return this.targets=[],this.parent().removeElement(this),this}},construct:{clip:function(){return this.defs().put(new i.ClipPath)}}}),i.extend(i.Element,{clipWith:function(t){return this.clipper=t instanceof i.ClipPath?t:this.parent().clip().add(t),this.clipper.targets.push(this),this.attr("clip-path",'url("#'+this.clipper.attr("id")+'")')},unclip:function(){return delete this.clipper,this.attr("clip-path",null)}}),i.Gradient=i.invent({create:function(t){this.constructor.call(this,i.create(t+"Gradient")),this.type=t},inherit:i.Container,extend:{at:function(t,e,n){return this.put(new i.Stop).update(t,e,n)},update:function(t){return this.clear(),"function"==typeof t&&t.call(this,this),this},fill:function(){return"url(#"+this.id()+")"},toString:function(){return this.fill()},attr:function(t,e,n){return"transform"==t&&(t="gradientTransform"),i.Container.prototype.attr.call(this,t,e,n)}},construct:{gradient:function(t,e){return this.defs().gradient(t,e)}}}),i.extend(i.Gradient,i.FX,{from:function(t,e){return"radial"==(this._target||this).type?this.attr({fx:new i.Number(t),fy:new i.Number(e)}):this.attr({x1:new i.Number(t),y1:new i.Number(e)})},to:function(t,e){return"radial"==(this._target||this).type?this.attr({cx:new i.Number(t),cy:new i.Number(e)}):this.attr({x2:new i.Number(t),y2:new i.Number(e)})}}),i.extend(i.Defs,{gradient:function(t,e){return this.put(new i.Gradient(t)).update(e)}}),i.Stop=i.invent({create:"stop",inherit:i.Element,extend:{update:function(t){return("number"==typeof t||t instanceof i.Number)&&(t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",new i.Number(t.offset)),this}}}),i.Pattern=i.invent({create:"pattern",inherit:i.Container,extend:{fill:function(){return"url(#"+this.id()+")"},update:function(t){return this.clear(),"function"==typeof t&&t.call(this,this),this},toString:function(){return this.fill()},attr:function(t,e,n){return"transform"==t&&(t="patternTransform"),i.Container.prototype.attr.call(this,t,e,n)}},construct:{pattern:function(t,e,i){return this.defs().pattern(t,e,i)}}}),i.extend(i.Defs,{pattern:function(t,e,n){return this.put(new i.Pattern).update(n).attr({x:0,y:0,width:t,height:e,patternUnits:"userSpaceOnUse"})}}),i.Shape=i.invent({create:function(t){this.constructor.call(this,t)},inherit:i.Element}),i.Bare=i.invent({create:function(t,e){if(this.constructor.call(this,i.create(t)),e)for(var n in e.prototype)"function"==typeof e.prototype[n]&&(this[n]=e.prototype[n])},inherit:i.Element,extend:{words:function(t){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this.node.appendChild(e.createTextNode(t)),this}}}),i.extend(i.Parent,{element:function(t,e){return this.put(new i.Bare(t,e))}}),i.Symbol=i.invent({create:"symbol",inherit:i.Container,construct:{symbol:function(){return this.put(new i.Symbol)}}}),i.Use=i.invent({create:"use",inherit:i.Shape,extend:{element:function(t,e){return this.attr("href",(e||"")+"#"+t,i.xlink)}},construct:{use:function(t,e){return this.put(new i.Use).element(t,e)}}}),i.Rect=i.invent({create:"rect",inherit:i.Shape,construct:{rect:function(t,e){return this.put(new i.Rect).size(t,e)}}}),i.Circle=i.invent({create:"circle",inherit:i.Shape,construct:{circle:function(t){return this.put(new i.Circle).rx(new i.Number(t).divide(2)).move(0,0)}}}),i.extend(i.Circle,i.FX,{rx:function(t){return this.attr("r",t)},ry:function(t){return this.rx(t)}}),i.Ellipse=i.invent({create:"ellipse",inherit:i.Shape,construct:{ellipse:function(t,e){return this.put(new i.Ellipse).size(t,e).move(0,0)}}}),i.extend(i.Ellipse,i.Rect,i.FX,{rx:function(t){return this.attr("rx",t)},ry:function(t){return this.attr("ry",t)}}),i.extend(i.Circle,i.Ellipse,{x:function(t){return null==t?this.cx()-this.rx():this.cx(t+this.rx())},y:function(t){return null==t?this.cy()-this.ry():this.cy(t+this.ry())},cx:function(t){return null==t?this.attr("cx"):this.attr("cx",t)},cy:function(t){return null==t?this.attr("cy"):this.attr("cy",t)},width:function(t){return null==t?2*this.rx():this.rx(new i.Number(t).divide(2))},height:function(t){return null==t?2*this.ry():this.ry(new i.Number(t).divide(2))},size:function(t,e){var n=p(this,t,e);return this.rx(new i.Number(n.width).divide(2)).ry(new i.Number(n.height).divide(2))}}),i.Line=i.invent({create:"line",inherit:i.Shape,extend:{array:function(){return new i.PointArray([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])},plot:function(t,e,n,a){return null==t?this.array():(t=void 0!==e?{x1:t,y1:e,x2:n,y2:a}:new i.PointArray(t).toLine(),this.attr(t))},move:function(t,e){return this.attr(this.array().move(t,e).toLine())},size:function(t,e){var i=p(this,t,e);return this.attr(this.array().size(i.width,i.height).toLine())}},construct:{line:function(t,e,n,a){return i.Line.prototype.plot.apply(this.put(new i.Line),null!=t?[t,e,n,a]:[0,0,0,0])}}}),i.Polyline=i.invent({create:"polyline",inherit:i.Shape,construct:{polyline:function(t){return this.put(new i.Polyline).plot(t||new i.PointArray)}}}),i.Polygon=i.invent({create:"polygon",inherit:i.Shape,construct:{polygon:function(t){return this.put(new i.Polygon).plot(t||new i.PointArray)}}}),i.extend(i.Polyline,i.Polygon,{array:function(){return this._array||(this._array=new i.PointArray(this.attr("points")))},plot:function(t){return null==t?this.array():this.clear().attr("points","string"==typeof t?t:this._array=new i.PointArray(t))},clear:function(){return delete this._array,this},move:function(t,e){return this.attr("points",this.array().move(t,e))},size:function(t,e){var i=p(this,t,e);return this.attr("points",this.array().size(i.width,i.height))}}),i.extend(i.Line,i.Polyline,i.Polygon,{morphArray:i.PointArray,x:function(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)},y:function(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)},width:function(t){var e=this.bbox();return null==t?e.width:this.size(t,e.height)},height:function(t){var e=this.bbox();return null==t?e.height:this.size(e.width,t)}}),i.Path=i.invent({create:"path",inherit:i.Shape,extend:{morphArray:i.PathArray,array:function(){return this._array||(this._array=new i.PathArray(this.attr("d")))},plot:function(t){return null==t?this.array():this.clear().attr("d","string"==typeof t?t:this._array=new i.PathArray(t))},clear:function(){return delete this._array,this},move:function(t,e){return this.attr("d",this.array().move(t,e))},x:function(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)},y:function(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)},size:function(t,e){var i=p(this,t,e);return this.attr("d",this.array().size(i.width,i.height))},width:function(t){return null==t?this.bbox().width:this.size(t,this.bbox().height)},height:function(t){return null==t?this.bbox().height:this.size(this.bbox().width,t)}},construct:{path:function(t){return this.put(new i.Path).plot(t||new i.PathArray)}}}),i.Image=i.invent({create:"image",inherit:i.Shape,extend:{load:function(e){if(!e)return this;var n=this,a=new t.Image;return i.on(a,"load",function(){i.off(a);var t=n.parent(i.Pattern);null!==t&&(0==n.width()&&0==n.height()&&n.size(a.width,a.height),t&&0==t.width()&&0==t.height()&&t.size(n.width(),n.height()),"function"==typeof n._loaded&&n._loaded.call(n,{width:a.width,height:a.height,ratio:a.width/a.height,url:e}))}),i.on(a,"error",function(t){i.off(a),"function"==typeof n._error&&n._error.call(n,t)}),this.attr("href",a.src=this.src=e,i.xlink)},loaded:function(t){return this._loaded=t,this},error:function(t){return this._error=t,this}},construct:{image:function(t,e,n){return this.put(new i.Image).load(t).size(e||0,n||e||0)}}}),i.Text=i.invent({create:function(){this.constructor.call(this,i.create("text")),this.dom.leading=new i.Number(1.3),this._rebuild=!0,this._build=!1,this.attr("font-family",i.defaults.attrs["font-family"])},inherit:i.Shape,extend:{x:function(t){return null==t?this.attr("x"):this.attr("x",t)},y:function(t){var e=this.attr("y"),i="number"==typeof e?e-this.bbox().y:0;return null==t?"number"==typeof e?e-i:e:this.attr("y","number"==typeof t.valueOf()?t+i:t)},cx:function(t){return null==t?this.bbox().cx:this.x(t-this.bbox().width/2)},cy:function(t){return null==t?this.bbox().cy:this.y(t-this.bbox().height/2)},text:function(t){if(void 0===t){t="";for(var e=this.node.childNodes,n=0,a=e.length;n<a;++n)0!=n&&3!=e[n].nodeType&&1==i.adopt(e[n]).dom.newLined&&(t+="\n"),t+=e[n].textContent;return t}if(this.clear().build(!0),"function"==typeof t)t.call(this,this);else{t=t.split("\n"),n=0;for(var r=t.length;n<r;n++)this.tspan(t[n]).newLine()}return this.build(!1).rebuild()},size:function(t){return this.attr("font-size",t).rebuild()},leading:function(t){return null==t?this.dom.leading:(this.dom.leading=new i.Number(t),this.rebuild())},lines:function(){var t=(this.textPath&&this.textPath()||this).node,e=i.utils.map(i.utils.filterSVGElements(t.childNodes),function(t){return i.adopt(t)});return new i.Set(e)},rebuild:function(t){if("boolean"==typeof t&&(this._rebuild=t),this._rebuild){var e=this,n=0,a=this.dom.leading*new i.Number(this.attr("font-size"));this.lines().each(function(){this.dom.newLined&&(e.textPath()||this.attr("x",e.attr("x")),"\n"==this.text()?n+=a:(this.attr("dy",a+n),n=0))}),this.fire("rebuild")}return this},build:function(t){return this._build=!!t,this},setData:function(t){return this.dom=t,this.dom.leading=new i.Number(t.leading||1.3),this}},construct:{text:function(t){return this.put(new i.Text).text(t)},plain:function(t){return this.put(new i.Text).plain(t)}}}),i.Tspan=i.invent({create:"tspan",inherit:i.Shape,extend:{text:function(t){return null==t?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof t?t.call(this,this):this.plain(t),this)},dx:function(t){return this.attr("dx",t)},dy:function(t){return this.attr("dy",t)},newLine:function(){var t=this.parent(i.Text);return this.dom.newLined=!0,this.dy(t.dom.leading*t.attr("font-size")).attr("x",t.x())}}}),i.extend(i.Text,i.Tspan,{plain:function(t){return!1===this._build&&this.clear(),this.node.appendChild(e.createTextNode(t)),this},tspan:function(t){var e=(this.textPath&&this.textPath()||this).node,n=new i.Tspan;return!1===this._build&&this.clear(),e.appendChild(n.node),n.text(t)},clear:function(){for(var t=(this.textPath&&this.textPath()||this).node;t.hasChildNodes();)t.removeChild(t.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),i.TextPath=i.invent({create:"textPath",inherit:i.Parent,parent:i.Text,construct:{morphArray:i.PathArray,path:function(t){for(var e=new i.TextPath,n=this.doc().defs().path(t);this.node.hasChildNodes();)e.node.appendChild(this.node.firstChild);return this.node.appendChild(e.node),e.attr("href","#"+n,i.xlink),this},array:function(){var t=this.track();return t?t.array():null},plot:function(t){var e=this.track(),i=null;return e&&(i=e.plot(t)),null==t?i:this},track:function(){var t=this.textPath();if(t)return t.reference("href")},textPath:function(){if(this.node.firstChild&&"textPath"==this.node.firstChild.nodeName)return i.adopt(this.node.firstChild)}}}),i.Nested=i.invent({create:function(){this.constructor.call(this,i.create("svg")),this.style("overflow","visible")},inherit:i.Container,construct:{nested:function(){return this.put(new i.Nested)}}}),i.A=i.invent({create:"a",inherit:i.Container,extend:{to:function(t){return this.attr("href",t,i.xlink)},show:function(t){return this.attr("show",t,i.xlink)},target:function(t){return this.attr("target",t)}},construct:{link:function(t){return this.put(new i.A).to(t)}}}),i.extend(i.Element,{linkTo:function(t){var e=new i.A;return"function"==typeof t?t.call(e,e):e.to(t),this.parent().put(e).put(this)}}),i.Marker=i.invent({create:"marker",inherit:i.Container,extend:{width:function(t){return this.attr("markerWidth",t)},height:function(t){return this.attr("markerHeight",t)},ref:function(t,e){return this.attr("refX",t).attr("refY",e)},update:function(t){return this.clear(),"function"==typeof t&&t.call(this,this),this},toString:function(){return"url(#"+this.id()+")"}},construct:{marker:function(t,e,i){return this.defs().marker(t,e,i)}}}),i.extend(i.Defs,{marker:function(t,e,n){return this.put(new i.Marker).size(t,e).ref(t/2,e/2).viewbox(0,0,t,e).attr("orient","auto").update(n)}}),i.extend(i.Line,i.Polyline,i.Polygon,i.Path,{marker:function(t,e,n,a){var r=["marker"];return"all"!=t&&r.push(t),r=r.join("-"),t=e instanceof i.Marker?e:this.doc().marker(e,n,a),this.attr(r,t)}});var l={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,e){return"color"==e?t:t+"-"+e}};function c(t,e,n,a){return n+a.replace(i.regex.dots," .")}function d(t){return t.toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function u(t){return t.charAt(0).toUpperCase()+t.slice(1)}function h(t){var e=t.toString(16);return 1==e.length?"0"+e:e}function p(t,e,i){if(null==e||null==i){var n=t.bbox();null==e?e=n.width/n.height*i:null==i&&(i=n.height/n.width*e)}return{width:e,height:i}}function f(t,e,i){return{x:e*t.a+i*t.c+0,y:e*t.b+i*t.d+0}}function g(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}function m(t,e){t.cx=null==t.cx?e.bbox().cx:t.cx,t.cy=null==t.cy?e.bbox().cy:t.cy}function v(e){for(var n=e.childNodes.length-1;0<=n;n--)e.childNodes[n]instanceof t.SVGElement&&v(e.childNodes[n]);return i.adopt(e).id(i.eid(e.nodeName))}function y(t){return null==t.x&&(t.x=0,t.y=0,t.width=0,t.height=0),t.w=t.width,t.h=t.height,t.x2=t.x+t.width,t.y2=t.y+t.height,t.cx=t.x+t.width/2,t.cy=t.y+t.height/2,t}function b(t){return 1e-37<Math.abs(t)?t:0}["fill","stroke"].forEach(function(t){var e,n={};n[t]=function(n){if(void 0===n)return this;if("string"==typeof n||i.Color.isRgb(n)||n&&"function"==typeof n.fill)this.attr(t,n);else for(e=l[t].length-1;0<=e;e--)null!=n[l[t][e]]&&this.attr(l.prefix(t,l[t][e]),n[l[t][e]]);return this},i.extend(i.Element,i.FX,n)}),i.extend(i.Element,i.FX,{rotate:function(t,e,i){return this.transform({rotation:t,cx:e,cy:i})},skew:function(t,e,i,n){return 1==arguments.length||3==arguments.length?this.transform({skew:t,cx:e,cy:i}):this.transform({skewX:t,skewY:e,cx:i,cy:n})},scale:function(t,e,i,n){return 1==arguments.length||3==arguments.length?this.transform({scale:t,cx:e,cy:i}):this.transform({scaleX:t,scaleY:e,cx:i,cy:n})},translate:function(t,e){return this.transform({x:t,y:e})},flip:function(t,e){return e="number"==typeof t?t:e,this.transform({flip:t||"both",offset:e})},matrix:function(t){return this.attr("transform",new i.Matrix(6==arguments.length?[].slice.call(arguments):t))},opacity:function(t){return this.attr("opacity",t)},dx:function(t){return this.x(new i.Number(t).plus(this instanceof i.FX?0:this.x()),!0)},dy:function(t){return this.y(new i.Number(t).plus(this instanceof i.FX?0:this.y()),!0)},dmove:function(t,e){return this.dx(t).dy(e)}}),i.extend(i.Rect,i.Ellipse,i.Circle,i.Gradient,i.FX,{radius:function(t,e){var n=(this._target||this).type;return"radial"==n||"circle"==n?this.attr("r",new i.Number(t)):this.rx(t).ry(null==e?t:e)}}),i.extend(i.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(t){return this.node.getPointAtLength(t)}}),i.extend(i.Parent,i.Text,i.Tspan,i.FX,{font:function(t,e){if("object"===(void 0===t?"undefined":o(t)))for(e in t)this.font(e,t[e]);return"leading"==t?this.leading(e):"anchor"==t?this.attr("text-anchor",e):"size"==t||"family"==t||"weight"==t||"stretch"==t||"variant"==t||"style"==t?this.attr("font-"+t,e):this.attr(t,e)}}),i.Set=i.invent({create:function(t){Array.isArray(t)?this.members=t:this.clear()},extend:{add:function(){var t,e,i=[].slice.call(arguments);for(t=0,e=i.length;t<e;t++)this.members.push(i[t]);return this},remove:function(t){var e=this.index(t);return-1<e&&this.members.splice(e,1),this},each:function(t){for(var e=0,i=this.members.length;e<i;e++)t.apply(this.members[e],[e,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(t){return 0<=this.index(t)},index:function(t){return this.members.indexOf(t)},get:function(t){return this.members[t]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members},bbox:function(){if(0==this.members.length)return new i.RBox;var t=this.members[0].rbox(this.members[0].doc());return this.each(function(){t=t.merge(this.rbox(this.doc()))}),t}},construct:{set:function(t){return new i.Set(t)}}}),i.FX.Set=i.invent({create:function(t){this.set=t}}),i.Set.inherit=function(){var t=[];for(var e in i.Shape.prototype)"function"==typeof i.Shape.prototype[e]&&"function"!=typeof i.Set.prototype[e]&&t.push(e);for(var e in t.forEach(function(t){i.Set.prototype[t]=function(){for(var e=0,n=this.members.length;e<n;e++)this.members[e]&&"function"==typeof this.members[e][t]&&this.members[e][t].apply(this.members[e],arguments);return"animate"==t?this.fx||(this.fx=new i.FX.Set(this)):this}}),t=[],i.FX.prototype)"function"==typeof i.FX.prototype[e]&&"function"!=typeof i.FX.Set.prototype[e]&&t.push(e);t.forEach(function(t){i.FX.Set.prototype[t]=function(){for(var e=0,i=this.set.members.length;e<i;e++)this.set.members[e].fx[t].apply(this.set.members[e].fx,arguments);return this}})},i.extend(i.Element,{data:function(t,e,i){if("object"===(void 0===t?"undefined":o(t)))for(e in t)this.data(e,t[e]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+t))}catch(e){return this.attr("data-"+t)}else this.attr("data-"+t,null===e?null:!0===i||"string"==typeof e||"number"==typeof e?e:JSON.stringify(e));return this}}),i.extend(i.Element,{remember:function(t,e){if("object"===o(t))for(var e in t)this.remember(e,t[e]);else{if(1==arguments.length)return this.memory()[t];this.memory()[t]=e}return this},forget:function(){if(0==arguments.length)this._memory={};else for(var t=arguments.length-1;0<=t;t--)delete this.memory()[arguments[t]];return this},memory:function(){return this._memory||(this._memory={})}}),i.get=function(t){var n=e.getElementById(function(t){var e=(t||"").toString().match(i.regex.reference);if(e)return e[1]}(t)||t);return i.adopt(n)},i.select=function(t,n){return new i.Set(i.utils.map((n||e).querySelectorAll(t),function(t){return i.adopt(t)}))},i.extend(i.Parent,{select:function(t){return i.select(t,this.node)}});var w="abcdef".split("");if("function"!=typeof t.CustomEvent){var x=function(t,i){i=i||{bubbles:!1,cancelable:!1,detail:void 0};var n=e.createEvent("CustomEvent");return n.initCustomEvent(t,i.bubbles,i.cancelable,i.detail),n};x.prototype=t.Event.prototype,i.CustomEvent=x}else i.CustomEvent=t.CustomEvent;return function(e){for(var i=0,n=["moz","webkit"],a=0;a<n.length&&!t.requestAnimationFrame;++a)e.requestAnimationFrame=e[n[a]+"RequestAnimationFrame"],e.cancelAnimationFrame=e[n[a]+"CancelAnimationFrame"]||e[n[a]+"CancelRequestAnimationFrame"];e.requestAnimationFrame=e.requestAnimationFrame||function(t){var n=(new Date).getTime(),a=Math.max(0,16-(n-i)),r=e.setTimeout(function(){t(n+a)},a);return i=n+a,r},e.cancelAnimationFrame=e.cancelAnimationFrame||e.clearTimeout}(t),i},void 0===(n=function(){return r(a,a.document)}.call(e,i,e,t))||(t.exports=n)},function(t,e,i){"use strict";"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(t){if("Element"in t){var e="classList",i="prototype",n=t.Element[i],a=Object,r=String[i].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array[i].indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(e in this&&this[e]===t)return e;return-1},s=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},l=function(t,e){if(""===e)throw new s("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(e))throw new s("INVALID_CHARACTER_ERR","The token must not contain space characters.");return o.call(t,e)},c=function(t){for(var e=r.call(t.getAttribute("class")||""),i=e?e.split(/\s+/):[],n=0,a=i.length;n<a;n++)this.push(i[n]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},d=c[i]=[],u=function(){return new c(this)};if(s[i]=Error[i],d.item=function(t){return this[t]||null},d.contains=function(t){return~l(this,t+"")},d.add=function(){for(var t,e=arguments,i=0,n=e.length,a=!1;t=e[i]+"",~l(this,t)||(this.push(t),a=!0),++i<n;);a&&this._updateClassName()},d.remove=function(){var t,e,i=arguments,n=0,a=i.length,r=!1;do{for(t=i[n]+"",e=l(this,t);~e;)this.splice(e,1),r=!0,e=l(this,t)}while(++n<a);r&&this._updateClassName()},d.toggle=function(t,e){var i=this.contains(t),n=i?!0!==e&&"remove":!1!==e&&"add";return n&&this[n](t),!0===e||!1===e?e:!i},d.replace=function(t,e){var i=l(t+"");~i&&(this.splice(i,1,e),this._updateClassName())},d.toString=function(){return this.join(" ")},a.defineProperty){var h={get:u,enumerable:!0,configurable:!0};try{a.defineProperty(n,e,h)}catch(t){void 0!==t.number&&-2146823252!==t.number||(h.enumerable=!1,a.defineProperty(n,e,h))}}else a[i].__defineGetter__&&n.__defineGetter__(e,u)}}(self),function(){var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var i,n=arguments.length;for(i=0;i<n;i++)t=arguments[i],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:i.call(this,t)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(t,e){var i=this.toString().split(" "),n=i.indexOf(t+"");~n&&(i=i.slice(n),this.remove.apply(this,i),this.add(e),this.add.apply(this,i.slice(1)))}),t=null}())},function(t,e,i){"use strict";!function(){var t=!1;function e(t){var e=t.__resizeTriggers__,i=e.firstElementChild,n=e.lastElementChild,a=i.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,a.style.width=i.offsetWidth+1+"px",a.style.height=i.offsetHeight+1+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight}function i(t){var i=this;e(this),this.__resizeRAF__&&o(this.__resizeRAF__),this.__resizeRAF__=r(function(){var e;((e=i).offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height)&&(i.__resizeLast__.width=i.offsetWidth,i.__resizeLast__.height=i.offsetHeight,i.__resizeListeners__.forEach(function(e){e.call(t)}))})}var n,a,r=(n=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)},function(t){return n(t)}),o=(a=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(t){return a(t)}),s=!1,l="",c="animationstart",d="Webkit Moz O ms".split(" "),u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h=document.createElement("fakeelement");if(void 0!==h.style.animationName&&(s=!0),!1===s)for(var p=0;p<d.length;p++)if(void 0!==h.style[d[p]+"AnimationName"]){l="-"+d[p].toLowerCase()+"-",c=u[p];break}var f="resizeanim",g="@"+l+"keyframes "+f+" { from { opacity: 0; } to { opacity: 0; } } ",m=l+"animation: 1ms "+f+"; ";window.addResizeListener=function(n,a){n.__resizeTriggers__||("static"==getComputedStyle(n).position&&(n.style.position="relative"),function(){if(!t){var e=(g||"")+".resize-triggers { "+(m||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),i.appendChild(n),t=!0}}(),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=document.createElement("div")).className="resize-triggers",n.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',n.appendChild(n.__resizeTriggers__),e(n),n.addEventListener("scroll",i,!0),c&&n.__resizeTriggers__.addEventListener(c,function(t){t.animationName==f&&e(n)})),n.__resizeListeners__.push(a)},window.removeResizeListener=function(t,e){t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||(t.removeEventListener("scroll",i),t.__resizeTriggers__=!t.removeChild(t.__resizeTriggers__))}}()},function(t,e,i){(t.exports=i(126)(!1)).push([t.i,'.apexcharts-canvas {\n  position: relative;\n  user-select: none;\n  /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */\n}\n\n/* scrollbar is not visible by default for legend, hence forcing the visibility */\n.apexcharts-canvas ::-webkit-scrollbar {\n  -webkit-appearance: none;\n  width: 6px;\n}\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n  border-radius: 4px;\n  background-color: rgba(0,0,0,.5);\n  box-shadow: 0 0 1px rgba(255,255,255,.5);\n  -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);\n}\n\n.apexcharts-inner {\n  position: relative;\n}\n\n.legend-mouseover-inactive {\n  transition: 0.15s ease all;\n  opacity: 0.20;\n}\n\n.apexcharts-series-collapsed {\n  opacity: 0;\n}\n\n.apexcharts-gridline, .apexcharts-text {\n  pointer-events: none;\n}\n\n.apexcharts-tooltip {\n  border-radius: 5px;\n  box-shadow: 2px 2px 6px -4px #999;\n  cursor: default;\n  font-size: 14px;\n  left: 62px;\n  opacity: 0;\n  pointer-events: none;\n  position: absolute;\n  top: 20px;\n  overflow: hidden;\n  white-space: nowrap;\n  z-index: 12;\n  transition: 0.15s ease all;\n}\n.apexcharts-tooltip.light {\n  border: 1px solid #e3e3e3;\n  background: rgba(255, 255, 255, 0.96);\n}\n.apexcharts-tooltip.dark {\n  color: #fff;\n  background: rgba(30,30,30, 0.8);\n}\n\n.apexcharts-tooltip .apexcharts-marker,\n.apexcharts-area-series .apexcharts-area,\n.apexcharts-line {\n  pointer-events: none;\n}\n\n.apexcharts-tooltip.active {\n  opacity: 1;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip-title {\n  padding: 6px;\n  font-size: 15px;\n  margin-bottom: 4px;\n}\n.apexcharts-tooltip.light .apexcharts-tooltip-title {\n  background: #ECEFF1;\n  border-bottom: 1px solid #ddd;\n}\n.apexcharts-tooltip.dark .apexcharts-tooltip-title {\n  background: rgba(0, 0, 0, 0.7);\n  border-bottom: 1px solid #222;\n}\n\n.apexcharts-tooltip-text-value,\n.apexcharts-tooltip-text-z-value {\n  display: inline-block;\n  font-weight: 600;\n  margin-left: 5px;\n}\n\n.apexcharts-tooltip-text-z-label:empty,\n.apexcharts-tooltip-text-z-value:empty {\n  display: none;\n}\n\n.apexcharts-tooltip-text-value, \n.apexcharts-tooltip-text-z-value {\n  font-weight: 600;\n}\n\n.apexcharts-tooltip-marker {\n  width: 12px;\n  height: 12px;\n  position: relative;\n  top: 0px;\n  margin-right: 10px;\n  border-radius: 50%;\n}\n\n.apexcharts-tooltip-series-group {\n  padding: 0 10px;\n  display: none;\n  text-align: left;\n  justify-content: left;\n  align-items: center;\n}\n\n.apexcharts-tooltip-series-group.active .apexcharts-tooltip-marker {\n  opacity: 1;\n}\n.apexcharts-tooltip-series-group.active, .apexcharts-tooltip-series-group:last-child {\n  padding-bottom: 4px;\n}\n.apexcharts-tooltip-y-group {\n  padding: 6px 0 5px;\n}\n.apexcharts-tooltip-candlestick {\n  padding: 4px 8px;\n}\n.apexcharts-tooltip-candlestick > div {\n  margin: 4px 0;\n}\n.apexcharts-tooltip-candlestick span.value {\n  font-weight: bold;\n}\n\n.apexcharts-xaxistooltip {\n  opacity: 0;\n  padding: 9px 10px;\n  pointer-events: none;\n  color: #373d3f;\n  font-size: 13px;\n  text-align: center;\n  border-radius: 2px;\n  position: absolute;\n  z-index: 10;\n\tbackground: #ECEFF1;\n  border: 1px solid #90A4AE;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-xaxistooltip:after, .apexcharts-xaxistooltip:before {\n\tleft: 50%;\n\tborder: solid transparent;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n\n.apexcharts-xaxistooltip:after {\n\tborder-color: rgba(236, 239, 241, 0);\n\tborder-width: 6px;\n\tmargin-left: -6px;\n}\n.apexcharts-xaxistooltip:before {\n\tborder-color: rgba(144, 164, 174, 0);\n\tborder-width: 7px;\n\tmargin-left: -7px;\n}\n\n.apexcharts-xaxistooltip-bottom:after, .apexcharts-xaxistooltip-bottom:before {\n  bottom: 100%;\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n  border-bottom-color: #ECEFF1;\n}\n.apexcharts-xaxistooltip-bottom:before {\n  border-bottom-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-top:after, .apexcharts-xaxistooltip-top:before {\n  top: 100%;\n}\n.apexcharts-xaxistooltip-top:after {\n  border-top-color: #ECEFF1;\n}\n.apexcharts-xaxistooltip-top:before {\n  border-top-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip.active {\n  opacity: 1;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-yaxistooltip {\n  opacity: 0;\n  padding: 4px 10px;\n  pointer-events: none;\n  color: #373d3f;\n  font-size: 13px;\n  text-align: center;\n  border-radius: 2px;\n  position: absolute;\n  z-index: 10;\n\tbackground: #ECEFF1;\n  border: 1px solid #90A4AE;\n}\n\n.apexcharts-yaxistooltip:after, .apexcharts-yaxistooltip:before {\n\ttop: 50%;\n\tborder: solid transparent;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n.apexcharts-yaxistooltip:after {\n\tborder-color: rgba(236, 239, 241, 0);\n\tborder-width: 6px;\n\tmargin-top: -6px;\n}\n.apexcharts-yaxistooltip:before {\n\tborder-color: rgba(144, 164, 174, 0);\n\tborder-width: 7px;\n\tmargin-top: -7px;\n}\n\n.apexcharts-yaxistooltip-left:after, .apexcharts-yaxistooltip-left:before {\n  left: 100%;\n}\n.apexcharts-yaxistooltip-left:after {\n  border-left-color: #ECEFF1;\n}\n.apexcharts-yaxistooltip-left:before {\n  border-left-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-right:after, .apexcharts-yaxistooltip-right:before {\n  right: 100%;\n}\n.apexcharts-yaxistooltip-right:after {\n  border-right-color: #ECEFF1;\n}\n.apexcharts-yaxistooltip-right:before {\n  border-right-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip.active {\n  opacity: 1;\n}\n\n.apexcharts-xcrosshairs, .apexcharts-ycrosshairs {\n  pointer-events: none;\n  opacity: 0;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-xcrosshairs.active, .apexcharts-ycrosshairs.active {\n  opacity: 1;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-ycrosshairs-hidden {\n  opacity: 0;\n}\n\n.apexcharts-zoom-rect {\n  pointer-events: none;\n}\n.apexcharts-selection-rect {\n  cursor: move;\n}\n\n.svg_select_points, .svg_select_points_rot {\n  opacity: 0;\n  visibility: hidden;\n}\n.svg_select_points_l, .svg_select_points_r {\n  cursor: ew-resize;\n  opacity: 1;\n  visibility: visible;\n  fill: #888;\n}\n.apexcharts-canvas.zoomable .hovering-zoom {\n  cursor: crosshair\n}\n.apexcharts-canvas.zoomable .hovering-pan {\n  cursor: move\n}\n\n.apexcharts-xaxis,\n.apexcharts-yaxis {\n  pointer-events: none;\n}\n\n.apexcharts-zoom-icon, \n.apexcharts-zoom-in-icon,\n.apexcharts-zoom-out-icon,\n.apexcharts-reset-zoom-icon, \n.apexcharts-pan-icon, \n.apexcharts-selection-icon,\n.apexcharts-menu-icon {\n  cursor: pointer;\n  width: 20px;\n  height: 20px;\n  text-align: center;\n}\n\n\n.apexcharts-zoom-icon svg, \n.apexcharts-zoom-in-icon svg,\n.apexcharts-zoom-out-icon svg,\n.apexcharts-reset-zoom-icon svg,\n.apexcharts-menu-icon svg {\n  fill: #6E8192;\n}\n.apexcharts-selection-icon svg {\n  fill: #444;\n  transform: scale(0.86)\n}\n.apexcharts-zoom-icon.selected svg, \n.apexcharts-selection-icon.selected svg, \n.apexcharts-reset-zoom-icon.selected svg {\n  fill: #008FFB;\n}\n.apexcharts-selection-icon:not(.selected):hover svg,\n.apexcharts-zoom-icon:not(.selected):hover svg, \n.apexcharts-zoom-in-icon:hover svg, \n.apexcharts-zoom-out-icon:hover svg, \n.apexcharts-reset-zoom-icon:hover svg, \n.apexcharts-menu-icon:hover svg {\n  fill: #333;\n}\n\n.apexcharts-selection-icon, .apexcharts-menu-icon {\n  margin-right: 3px;\n  margin-left: 5px;\n  position: relative;\n  top: 1px;\n}\n.apexcharts-reset-zoom-icon {\n  margin-left: 7px;\n}\n.apexcharts-zoom-icon {\n  transform: scale(1);\n}\n\n.apexcharts-zoom-in-icon, .apexcharts-zoom-out-icon {\n  transform: scale(0.8)\n}\n\n.apexcharts-zoom-out-icon {\n  margin-right: 3px;\n}\n\n.apexcharts-pan-icon {\n  transform: scale(0.72);\n  position: relative;\n  left: 1px;\n  top: 0px;\n}\n.apexcharts-pan-icon svg {\n  fill: #fff;\n  stroke: #6E8192;\n  stroke-width: 2;\n}\n.apexcharts-pan-icon.selected svg {\n  stroke: #008FFB;\n}\n.apexcharts-pan-icon:not(.selected):hover svg {\n  stroke: #333;\n}\n\n.apexcharts-toolbar {\n  position: absolute;\n  z-index: 11;\n  top: 0px;\n  right: 3px;\n  max-width: 176px;\n  text-align: right;\n  border-radius: 3px;\n  padding: 0px 6px 2px 6px;\n  display: flex;\n  justify-content: space-between;\n  align-items: center; \n}\n\n.apexcharts-toolbar svg {\n  pointer-events: none;\n}\n\n.apexcharts-menu {\n  background: #fff;\n  position: absolute;\n  top: 100%;\n  border: 1px solid #ddd;\n  border-radius: 3px;\n  padding: 3px;\n  right: 10px;\n  opacity: 0;\n  min-width: 110px;\n  transition: 0.15s ease all;\n  pointer-events: none;\n}\n\n.apexcharts-menu.open {\n  opacity: 1;\n  pointer-events: all;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-menu-item {\n  padding: 6px 7px;\n  font-size: 12px;\n  cursor: pointer;\n}\n.apexcharts-menu-item:hover {\n  background: #eee;\n}\n\n@media screen and (min-width: 768px) {\n  .apexcharts-toolbar {\n    /*opacity: 0;*/\n  }\n\n  .apexcharts-canvas:hover .apexcharts-toolbar {\n    opacity: 1;\n  } \n}\n\n.apexcharts-datalabel.hidden {\n  opacity: 0;\n}\n\n.apexcharts-pie-label,\n.apexcharts-datalabel, .apexcharts-datalabel-label, .apexcharts-datalabel-value {\n  cursor: default;\n  pointer-events: none;\n}\n\n.apexcharts-pie-label-delay {\n  opacity: 0;\n  animation-name: opaque;\n  animation-duration: 0.3s;\n  animation-fill-mode: forwards;\n  animation-timing-function: ease;\n}\n\n.apexcharts-canvas .hidden {\n  opacity: 0;\n}\n\n.apexcharts-hide .apexcharts-series-points {\n  opacity: 0;\n}\n\n.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events, .apexcharts-radar-series path, .apexcharts-radar-series polygon {\n  pointer-events: none;\n}\n\n/* markers */\n\n.apexcharts-marker {\n  transition: 0.15s ease all;\n}\n\n@keyframes opaque {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}',""])},function(t,e,i){var n=i(159);"string"==typeof n&&(n=[[t.i,n,""]]),i(161)(n,{hmr:!0,transform:void 0,insertInto:void 0}),n.locals&&(t.exports=n.locals)},function(t,e,i){var n,a,r,o={},s=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===a&&(a=n.apply(this,arguments)),a}),l=(r={},function(t){if("function"==typeof t)return t();if(void 0===r[t]){var e=function(t){return document.querySelector(t)}.call(this,t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}r[t]=e}return r[t]}),c=null,d=0,u=[],h=i(150);function p(t,e){for(var i=0;i<t.length;i++){var n=t[i],a=o[n.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](n.parts[r]);for(;r<n.parts.length;r++)a.parts.push(b(n.parts[r],e))}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(b(n.parts[r],e));o[n.id]={id:n.id,refs:1,parts:s}}}}function f(t,e){for(var i=[],n={},a=0;a<t.length;a++){var r=t[a],o=e.base?r[0]+e.base:r[0],s={css:r[1],media:r[2],sourceMap:r[3]};n[o]?n[o].parts.push(s):i.push(n[o]={id:o,parts:[s]})}return i}function g(t,e){var i=l(t.insertInto);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=u[u.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),u.push(e);else if("bottom"===t.insertAt)i.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var a=l(t.insertInto+" "+t.insertAt.before);i.insertBefore(e,a)}}function m(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=u.indexOf(t);0<=e&&u.splice(e,1)}function v(t){var e=document.createElement("style");return t.attrs.type="text/css",y(e,t.attrs),g(t,e),e}function y(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}function b(t,e){var i,n,a,r,o,s;if(e.transform&&t.css){if(!(r=e.transform(t.css)))return function(){};t.css=r}if(e.singleton){var l=d++;i=c||(c=v(e)),n=_.bind(null,i,l,!1),a=_.bind(null,i,l,!0)}else a=t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=e,s=document.createElement("link"),o.attrs.type="text/css",o.attrs.rel="stylesheet",y(s,o.attrs),g(o,s),n=function(t,e,i){var n=i.css,a=i.sourceMap,r=void 0===e.convertToAbsoluteUrls&&a;(e.convertToAbsoluteUrls||r)&&(n=h(n)),a&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var o=new Blob([n],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(o),s&&URL.revokeObjectURL(s)}.bind(null,i=s,e),function(){m(i),i.href&&URL.revokeObjectURL(i.href)}):(i=v(e),n=function(t,e){var i=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}.bind(null,i),function(){m(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else a()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var i=f(t,e);return p(i,e),function(t){for(var n=[],a=0;a<i.length;a++){var r=i[a];(s=o[r.id]).refs--,n.push(s)}for(t&&p(f(t,e),e),a=0;a<n.length;a++){var s;if(0===(s=n[a]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var w,x=(w=[],function(t,e){return w[t]=e,w.filter(Boolean).join("\n")});function _(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=x(e,a);else{var r=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}},function(t,e){t.exports='<svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"></path><path d="M0 0h24v24H0z" fill="none"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"></path><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"></path><path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" viewBox="0 0 24 24"><defs><path d="M0 0h24v24H0z" id="a"></path></defs><clipPath id="b"><use overflow="visible" xlink:href="#a"></use></clipPath><path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"></path><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></svg>'},function(t,e){t.exports='<svg fill="#6E8192" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"></path></svg>'},function(t,e,i){i(88),i(86),i(87),i(85),i(84),i(89),t.exports=i(90)}])},function(t,e,i){"use strict";t.exports=i(17),t.exports.easing=i(216),t.exports.canvas=i(217),t.exports.options=i(218)},function(t,e,i){"use strict";var n=i(3);t.exports={_set:function(t,e){return n.merge(this[t]||(this[t]={}),e)}}},function(t,e,i){var n,a;i(172),n=[i(0)],void 0===(a=function(t){return function(){var e,i,n,a=0,r={error:"error",info:"info",success:"success",warning:"warning"},o={clear:function(i,n){var a=u();e||s(a),l(i,a,n)||function(i){for(var n=e.children(),a=n.length-1;a>=0;a--)l(t(n[a]),i)}(a)},remove:function(i){var n=u();e||s(n),i&&0===t(":focus",i).length?h(i):e.children().length&&e.remove()},error:function(t,e,i){return d({type:r.error,iconClass:u().iconClasses.error,message:t,optionsOverride:i,title:e})},getContainer:s,info:function(t,e,i){return d({type:r.info,iconClass:u().iconClasses.info,message:t,optionsOverride:i,title:e})},options:{},subscribe:function(t){i=t},success:function(t,e,i){return d({type:r.success,iconClass:u().iconClasses.success,message:t,optionsOverride:i,title:e})},version:"2.1.4",warning:function(t,e,i){return d({type:r.warning,iconClass:u().iconClasses.warning,message:t,optionsOverride:i,title:e})}};return o;function s(i,n){return i||(i=u()),(e=t("#"+i.containerId)).length?e:(n&&(e=function(i){return(e=t("<div/>").attr("id",i.containerId).addClass(i.positionClass)).appendTo(t(i.target)),e}(i)),e)}function l(e,i,n){var a=!(!n||!n.force)&&n.force;return!(!e||!a&&0!==t(":focus",e).length||(e[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){h(e)}}),0))}function c(t){i&&i(t)}function d(i){var r=u(),o=i.iconClass||r.iconClass;if(void 0!==i.optionsOverride&&(r=t.extend(r,i.optionsOverride),o=i.optionsOverride.iconClass||o),!function(t,e){if(t.preventDuplicates){if(e.message===n)return!0;n=e.message}return!1}(r,i)){a++,e=s(r,!0);var l=null,d=t("<div/>"),p=t("<div/>"),f=t("<div/>"),g=t("<div/>"),m=t(r.closeHtml),v={intervalId:null,hideEta:null,maxHideTime:null},y={toastId:a,state:"visible",startTime:new Date,options:r,map:i};return i.iconClass&&d.addClass(r.toastClass).addClass(o),function(){if(i.title){var t=i.title;r.escapeHtml&&(t=b(i.title)),p.append(t).addClass(r.titleClass),d.append(p)}}(),function(){if(i.message){var t=i.message;r.escapeHtml&&(t=b(i.message)),f.append(t).addClass(r.messageClass),d.append(f)}}(),r.closeButton&&(m.addClass(r.closeClass).attr("role","button"),d.prepend(m)),r.progressBar&&(g.addClass(r.progressClass),d.prepend(g)),r.rtl&&d.addClass("rtl"),r.newestOnTop?e.prepend(d):e.append(d),function(){var t="";switch(i.iconClass){case"toast-success":case"toast-info":t="polite";break;default:t="assertive"}d.attr("aria-live",t)}(),d.hide(),d[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(l=setTimeout(w,r.timeOut),v.maxHideTime=parseFloat(r.timeOut),v.hideEta=(new Date).getTime()+v.maxHideTime,r.progressBar&&(v.intervalId=setInterval(k,10))),r.closeOnHover&&d.hover(_,x),!r.onclick&&r.tapToDismiss&&d.click(w),r.closeButton&&m&&m.click(function(t){t.stopPropagation?t.stopPropagation():void 0!==t.cancelBubble&&!0!==t.cancelBubble&&(t.cancelBubble=!0),r.onCloseClick&&r.onCloseClick(t),w(!0)}),r.onclick&&d.click(function(t){r.onclick(t),w()}),c(y),r.debug&&console&&console.log(y),d}function b(t){return null==t&&(t=""),t.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function w(e){var i=e&&!1!==r.closeMethod?r.closeMethod:r.hideMethod,n=e&&!1!==r.closeDuration?r.closeDuration:r.hideDuration,a=e&&!1!==r.closeEasing?r.closeEasing:r.hideEasing;if(!t(":focus",d).length||e)return clearTimeout(v.intervalId),d[i]({duration:n,easing:a,complete:function(){h(d),clearTimeout(l),r.onHidden&&"hidden"!==y.state&&r.onHidden(),y.state="hidden",y.endTime=new Date,c(y)}})}function x(){(r.timeOut>0||r.extendedTimeOut>0)&&(l=setTimeout(w,r.extendedTimeOut),v.maxHideTime=parseFloat(r.extendedTimeOut),v.hideEta=(new Date).getTime()+v.maxHideTime)}function _(){clearTimeout(l),v.hideEta=0,d.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function k(){var t=(v.hideEta-(new Date).getTime())/v.maxHideTime*100;g.width(t+"%")}}function u(){return t.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},o.options)}function h(t){e||(e=s()),t.is(":visible")||(t.remove(),t=null,0===e.children().length&&(e.remove(),n=void 0))}}()}.apply(e,n))||(t.exports=a)},function(t,e,i){var n=i(215)();n.helpers=i(3),i(219)(n),n.Animation=i(148),n.animationService=i(149),n.defaults=i(4),n.Element=i(7),n.elements=i(10),n.Interaction=i(150),n.layouts=i(11),n.platform=i(151),n.plugins=i(152),n.Scale=i(12),n.scaleService=i(9),n.Ticks=i(13),n.Tooltip=i(153),i(230)(n),i(231)(n),i(232)(n),i(233)(n),i(234)(n),i(235)(n),i(236)(n),i(237)(n),i(238)(n),i(239)(n),i(240)(n),i(241)(n),i(242)(n),i(243)(n),i(244)(n),i(245)(n),i(246)(n),i(247)(n),i(248)(n),i(249)(n),i(250)(n),i(251)(n);var a=i(252);for(var r in a)a.hasOwnProperty(r)&&n.plugins.register(a[r]);n.platform.initialize(),t.exports=n,"undefined"!=typeof window&&(window.Chart=n),n.Legend=a.legend._element,n.Title=a.title._element,n.pluginService=n.plugins,n.PluginBase=n.Element.extend({}),n.canvasHelpers=n.helpers.canvas,n.layoutService=n.layouts},function(t,e,i){"use strict";var n=i(147),a=i(3);var r=function(t){a.extend(this,t),this.initialize.apply(this,arguments)};a.extend(r.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=a.clone(t._model)),t._start={},t},transition:function(t){var e=this,i=e._model,a=e._start,r=e._view;return i&&1!==t?(r||(r=e._view={}),a||(a=e._start={}),function(t,e,i,a){var r,o,s,l,c,d,u,h,p,f=Object.keys(i);for(r=0,o=f.length;r<o;++r)if(d=i[s=f[r]],e.hasOwnProperty(s)||(e[s]=d),(l=e[s])!==d&&"_"!==s[0]){if(t.hasOwnProperty(s)||(t[s]=l),(u=typeof d)==typeof(c=t[s]))if("string"===u){if((h=n(c)).valid&&(p=n(d)).valid){e[s]=p.mix(h,a).rgbString();continue}}else if("number"===u&&isFinite(c)&&isFinite(d)){e[s]=c+(d-c)*a;continue}e[s]=d}}(a,r,i,t),e):(e._view=i,e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return a.isNumber(this._model.x)&&a.isNumber(this._model.y)}}),r.extend=a.inherits,t.exports=r},function(t,e,i){var n,a,r;/*! nouislider - 12.1.0 - 10/25/2018 */a=[],void 0===(r="function"==typeof(n=function(){"use strict";var t="12.1.0";function e(t){return null!=t}function i(t){t.preventDefault()}function n(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function a(t,e,i){i>0&&(l(t,e),setTimeout(function(){c(t,e)},i))}function r(t){return Math.max(Math.min(t,100),0)}function o(t){return Array.isArray(t)?t:[t]}function s(t){var e=(t=String(t)).split(".");return e.length>1?e[1].length:0}function l(t,e){t.classList?t.classList.add(e):t.className+=" "+e}function c(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function d(t){var e=void 0!==window.pageXOffset,i="CSS1Compat"===(t.compatMode||""),n=e?window.pageXOffset:i?t.documentElement.scrollLeft:t.body.scrollLeft,a=e?window.pageYOffset:i?t.documentElement.scrollTop:t.body.scrollTop;return{x:n,y:a}}function u(t,e){return 100/(e-t)}function h(t,e){return 100*e/(t[1]-t[0])}function p(t,e){for(var i=1;t>=e[i];)i+=1;return i}function f(t,e,i){if(i>=t.slice(-1)[0])return 100;var n=p(i,t),a=t[n-1],r=t[n],o=e[n-1],s=e[n];return o+function(t,e){return h(t,t[0]<0?e+Math.abs(t[0]):e-t[0])}([a,r],i)/u(o,s)}function g(t,e,i,n){if(100===n)return n;var a=p(n,t),r=t[a-1],o=t[a];return i?n-r>(o-r)/2?o:r:e[a-1]?t[a-1]+function(t,e){return Math.round(t/e)*e}(n-t[a-1],e[a-1]):n}function m(e,i,a){var r;if("number"==typeof i&&(i=[i]),!Array.isArray(i))throw new Error("noUiSlider ("+t+"): 'range' contains invalid value.");if(!n(r="min"===e?0:"max"===e?100:parseFloat(e))||!n(i[0]))throw new Error("noUiSlider ("+t+"): 'range' value isn't numeric.");a.xPct.push(r),a.xVal.push(i[0]),r?a.xSteps.push(!isNaN(i[1])&&i[1]):isNaN(i[1])||(a.xSteps[0]=i[1]),a.xHighestCompleteStep.push(0)}function v(t,e,i){if(!e)return!0;i.xSteps[t]=h([i.xVal[t],i.xVal[t+1]],e)/u(i.xPct[t],i.xPct[t+1]);var n=(i.xVal[t+1]-i.xVal[t])/i.xNumSteps[t],a=Math.ceil(Number(n.toFixed(3))-1),r=i.xVal[t]+i.xNumSteps[t]*a;i.xHighestCompleteStep[t]=r}function y(t,e,i){var n;this.xPct=[],this.xVal=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=e;var a=[];for(n in t)t.hasOwnProperty(n)&&a.push([t[n],n]);for(a.length&&"object"==typeof a[0][0]?a.sort(function(t,e){return t[0][0]-e[0][0]}):a.sort(function(t,e){return t[0]-e[0]}),n=0;n<a.length;n++)m(a[n][1],a[n][0],this);for(this.xNumSteps=this.xSteps.slice(0),n=0;n<this.xNumSteps.length;n++)v(n,this.xNumSteps[n],this)}y.prototype.getMargin=function(e){var i=this.xNumSteps[0];if(i&&e/i%1!=0)throw new Error("noUiSlider ("+t+"): 'limit', 'margin' and 'padding' must be divisible by step.");return 2===this.xPct.length&&h(this.xVal,e)},y.prototype.toStepping=function(t){return t=f(this.xVal,this.xPct,t)},y.prototype.fromStepping=function(t){return function(t,e,i){if(i>=100)return t.slice(-1)[0];var n=p(i,e),a=t[n-1],r=t[n],o=e[n-1],s=e[n];return function(t,e){return e*(t[1]-t[0])/100+t[0]}([a,r],(i-o)*u(o,s))}(this.xVal,this.xPct,t)},y.prototype.getStep=function(t){return t=g(this.xPct,this.xSteps,this.snap,t)},y.prototype.getNearbySteps=function(t){var e=p(t,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[e],step:this.xNumSteps[e],highestStep:this.xHighestCompleteStep[e]}}},y.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(s);return Math.max.apply(null,t)},y.prototype.convert=function(t){return this.getStep(this.toStepping(t))};var b={to:function(t){return void 0!==t&&t.toFixed(2)},from:Number};function w(e){if(function(t){return"object"==typeof t&&"function"==typeof t.to&&"function"==typeof t.from}(e))return!0;throw new Error("noUiSlider ("+t+"): 'format' requires 'to' and 'from' methods.")}function x(e,i){if(!n(i))throw new Error("noUiSlider ("+t+"): 'step' is not numeric.");e.singleStep=i}function _(e,i){if("object"!=typeof i||Array.isArray(i))throw new Error("noUiSlider ("+t+"): 'range' is not an object.");if(void 0===i.min||void 0===i.max)throw new Error("noUiSlider ("+t+"): Missing 'min' or 'max' in 'range'.");if(i.min===i.max)throw new Error("noUiSlider ("+t+"): 'range' 'min' and 'max' cannot be equal.");e.spectrum=new y(i,e.snap,e.singleStep)}function k(e,i){if(i=o(i),!Array.isArray(i)||!i.length)throw new Error("noUiSlider ("+t+"): 'start' option is incorrect.");e.handles=i.length,e.start=i}function S(e,i){if(e.snap=i,"boolean"!=typeof i)throw new Error("noUiSlider ("+t+"): 'snap' option must be a boolean.")}function M(e,i){if(e.animate=i,"boolean"!=typeof i)throw new Error("noUiSlider ("+t+"): 'animate' option must be a boolean.")}function C(e,i){if(e.animationDuration=i,"number"!=typeof i)throw new Error("noUiSlider ("+t+"): 'animationDuration' option must be a number.")}function T(e,i){var n,a=[!1];if("lower"===i?i=[!0,!1]:"upper"===i&&(i=[!1,!0]),!0===i||!1===i){for(n=1;n<e.handles;n++)a.push(i);a.push(!1)}else{if(!Array.isArray(i)||!i.length||i.length!==e.handles+1)throw new Error("noUiSlider ("+t+"): 'connect' option doesn't match handle count.");a=i}e.connect=a}function D(e,i){switch(i){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider ("+t+"): 'orientation' option is invalid.")}}function L(e,i){if(!n(i))throw new Error("noUiSlider ("+t+"): 'margin' option must be numeric.");if(0!==i&&(e.margin=e.spectrum.getMargin(i),!e.margin))throw new Error("noUiSlider ("+t+"): 'margin' option is only supported on linear sliders.")}function E(e,i){if(!n(i))throw new Error("noUiSlider ("+t+"): 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(i),!e.limit||e.handles<2)throw new Error("noUiSlider ("+t+"): 'limit' option is only supported on linear sliders with 2 or more handles.")}function A(e,i){if(!n(i)&&!Array.isArray(i))throw new Error("noUiSlider ("+t+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(i)&&2!==i.length&&!n(i[0])&&!n(i[1]))throw new Error("noUiSlider ("+t+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==i){if(Array.isArray(i)||(i=[i,i]),e.padding=[e.spectrum.getMargin(i[0]),e.spectrum.getMargin(i[1])],!1===e.padding[0]||!1===e.padding[1])throw new Error("noUiSlider ("+t+"): 'padding' option is only supported on linear sliders.");if(e.padding[0]<0||e.padding[1]<0)throw new Error("noUiSlider ("+t+"): 'padding' option must be a positive number(s).");if(e.padding[0]+e.padding[1]>=100)throw new Error("noUiSlider ("+t+"): 'padding' option must not exceed 100% of the range.")}}function P(e,i){switch(i){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider ("+t+"): 'direction' option was not recognized.")}}function Y(e,i){if("string"!=typeof i)throw new Error("noUiSlider ("+t+"): 'behaviour' must be a string containing options.");var n=i.indexOf("tap")>=0,a=i.indexOf("drag")>=0,r=i.indexOf("fixed")>=0,o=i.indexOf("snap")>=0,s=i.indexOf("hover")>=0,l=i.indexOf("unconstrained")>=0;if(r){if(2!==e.handles)throw new Error("noUiSlider ("+t+"): 'fixed' behaviour must be used with 2 handles");L(e,e.start[1]-e.start[0])}if(l&&(e.margin||e.limit))throw new Error("noUiSlider ("+t+"): 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||o,drag:a,fixed:r,snap:o,hover:s,unconstrained:l}}function O(e,i){if(!1!==i)if(!0===i){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(!0)}else{if(e.tooltips=o(i),e.tooltips.length!==e.handles)throw new Error("noUiSlider ("+t+"): must pass a formatter for all handles.");e.tooltips.forEach(function(e){if("boolean"!=typeof e&&("object"!=typeof e||"function"!=typeof e.to))throw new Error("noUiSlider ("+t+"): 'tooltips' must be passed a formatter or 'false'.")})}}function I(t,e){t.ariaFormat=e,w(e)}function H(t,e){t.format=e,w(e)}function R(e,i){if(e.keyboardSupport=i,"boolean"!=typeof i)throw new Error("noUiSlider ("+t+"): 'keyboardSupport' option must be a boolean.")}function N(t,e){t.documentElement=e}function j(e,i){if("string"!=typeof i&&!1!==i)throw new Error("noUiSlider ("+t+"): 'cssPrefix' must be a string or `false`.");e.cssPrefix=i}function F(e,i){if("object"!=typeof i)throw new Error("noUiSlider ("+t+"): 'cssClasses' must be an object.");if("string"==typeof e.cssPrefix)for(var n in e.cssClasses={},i)i.hasOwnProperty(n)&&(e.cssClasses[n]=e.cssPrefix+i[n]);else e.cssClasses=i}function z(i){var n={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:b,format:b},a={step:{r:!1,t:x},start:{r:!0,t:k},connect:{r:!0,t:T},direction:{r:!0,t:P},snap:{r:!1,t:S},animate:{r:!1,t:M},animationDuration:{r:!1,t:C},range:{r:!0,t:_},orientation:{r:!1,t:D},margin:{r:!1,t:L},limit:{r:!1,t:E},padding:{r:!1,t:A},behaviour:{r:!0,t:Y},ariaFormat:{r:!1,t:I},format:{r:!1,t:H},tooltips:{r:!1,t:O},keyboardSupport:{r:!0,t:R},documentElement:{r:!1,t:N},cssPrefix:{r:!0,t:j},cssClasses:{r:!0,t:F}},r={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"}};i.format&&!i.ariaFormat&&(i.ariaFormat=i.format),Object.keys(a).forEach(function(o){if(!e(i[o])&&void 0===r[o]){if(a[o].r)throw new Error("noUiSlider ("+t+"): '"+o+"' is required.");return!0}a[o].t(n,e(i[o])?i[o]:r[o])}),n.pips=i.pips;var o=document.createElement("div"),s=void 0!==o.style.msTransform,l=void 0!==o.style.transform;return n.transformRule=l?"transform":s?"msTransform":"webkitTransform",n.style=[["left","top"],["right","bottom"]][n.dir][n.ort],n}function W(e,n,s){var u,h,p,f,g,m,v,y,b=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},w=window.CSS&&CSS.supports&&CSS.supports("touch-action","none"),x=w&&function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}(),_=e,k=[],S=[],M=0,C=n.spectrum,T=[],D={},L=e.ownerDocument,E=n.documentElement||L.documentElement,A=L.body,P=-1,Y=0,O=1,I=2,H="rtl"===L.dir||1===n.ort?0:100;function R(t,e){var i=L.createElement("div");return e&&l(i,e),t.appendChild(i),i}function N(t,e){var i=R(t,n.cssClasses.origin),a=R(i,n.cssClasses.handle);return a.setAttribute("data-handle",e),n.keyboardSupport&&a.setAttribute("tabindex","0"),a.setAttribute("role","slider"),a.setAttribute("aria-orientation",n.ort?"vertical":"horizontal"),0===e?l(a,n.cssClasses.handleLower):e===n.handles-1&&l(a,n.cssClasses.handleUpper),i}function j(t,e){return!!e&&R(t,n.cssClasses.connect)}function F(t,e){return!!n.tooltips[e]&&R(t.firstChild,n.cssClasses.tooltip)}function W(t,e,i){var a=L.createElement("div"),r=[];r[Y]=n.cssClasses.valueNormal,r[O]=n.cssClasses.valueLarge,r[I]=n.cssClasses.valueSub;var o=[];o[Y]=n.cssClasses.markerNormal,o[O]=n.cssClasses.markerLarge,o[I]=n.cssClasses.markerSub;var s=[n.cssClasses.valueHorizontal,n.cssClasses.valueVertical],c=[n.cssClasses.markerHorizontal,n.cssClasses.markerVertical];function d(t,e){var i=e===n.cssClasses.value,a=i?s:c,l=i?r:o;return e+" "+a[n.ort]+" "+l[t]}return l(a,n.cssClasses.pips),l(a,0===n.ort?n.cssClasses.pipsHorizontal:n.cssClasses.pipsVertical),Object.keys(t).forEach(function(r){!function(t,r,o){if((o=e?e(r,o):o)!==P){var s=R(a,!1);s.className=d(o,n.cssClasses.marker),s.style[n.style]=t+"%",o>Y&&((s=R(a,!1)).className=d(o,n.cssClasses.value),s.setAttribute("data-value",r),s.style[n.style]=t+"%",s.innerHTML=i.to(r))}}(r,t[r][0],t[r][1])}),a}function B(){var t;g&&((t=g).parentElement.removeChild(t),g=null)}function V(e){B();var i=e.mode,n=e.density||1,a=e.filter||!1,r=e.values||!1,o=e.stepped||!1,s=function(e,i,n){if("range"===e||"steps"===e)return C.xVal;if("count"===e){if(i<2)throw new Error("noUiSlider ("+t+"): 'values' (>= 2) required for mode 'count'.");var a=i-1,r=100/a;for(i=[];a--;)i[a]=a*r;i.push(100),e="positions"}return"positions"===e?i.map(function(t){return C.fromStepping(n?C.getStep(t):t)}):"values"===e?n?i.map(function(t){return C.fromStepping(C.getStep(C.toStepping(t)))}):i:void 0}(i,r,o),l=function(t,e,i){var n,a={},r=C.xVal[0],o=C.xVal[C.xVal.length-1],s=!1,l=!1,c=0;return(n=i.slice().sort(function(t,e){return t-e}),i=n.filter(function(t){return!this[t]&&(this[t]=!0)},{}))[0]!==r&&(i.unshift(r),s=!0),i[i.length-1]!==o&&(i.push(o),l=!0),i.forEach(function(n,r){var o,d,u,h,p,f,g,m,v,y,b=n,w=i[r+1],x="steps"===e;if(x&&(o=C.xNumSteps[r]),o||(o=w-b),!1!==b&&void 0!==w)for(o=Math.max(o,1e-7),d=b;d<=w;d=(d+o).toFixed(7)/1){for(m=(p=(h=C.toStepping(d))-c)/t,y=p/(v=Math.round(m)),u=1;u<=v;u+=1)a[(f=c+u*y).toFixed(5)]=[C.fromStepping(f),0];g=i.indexOf(d)>-1?O:x?I:Y,!r&&s&&(g=0),d===w&&l||(a[h.toFixed(5)]=[d,g]),c=h}}),a}(n,i,s),c=e.format||{to:Math.round};return g=_.appendChild(W(l,a,c))}function $(){var t=u.getBoundingClientRect(),e="offset"+["Width","Height"][n.ort];return 0===n.ort?t.width||u[e]:t.height||u[e]}function X(t,e,i,a){var r=function(r){return!!(r=function(t,e,i){var n,a,r=0===t.type.indexOf("touch"),o=0===t.type.indexOf("mouse"),s=0===t.type.indexOf("pointer");if(0===t.type.indexOf("MSPointer")&&(s=!0),r){var l=function(t){return t.target===i||i.contains(t.target)};if("touchstart"===t.type){var c=Array.prototype.filter.call(t.touches,l);if(c.length>1)return!1;n=c[0].pageX,a=c[0].pageY}else{var u=Array.prototype.find.call(t.changedTouches,l);if(!u)return!1;n=u.pageX,a=u.pageY}}return e=e||d(L),(o||s)&&(n=t.clientX+e.x,a=t.clientY+e.y),t.pageOffset=e,t.points=[n,a],t.cursor=o||s,t}(r,a.pageOffset,a.target||e))&&!(_.hasAttribute("disabled")&&!a.doNotReject)&&(o=_,s=n.cssClasses.tap,!((o.classList?o.classList.contains(s):new RegExp("\\b"+s+"\\b").test(o.className))&&!a.doNotReject)&&!(t===b.start&&void 0!==r.buttons&&r.buttons>1)&&(!a.hover||!r.buttons)&&(x||r.preventDefault(),r.calcPoint=r.points[n.ort],void i(r,a)));var o,s},o=[];return t.split(" ").forEach(function(t){e.addEventListener(t,r,!!x&&{passive:!0}),o.push([t,r])}),o}function q(t){var e,i,a,o,s,l,c=t-(e=u,i=n.ort,a=e.getBoundingClientRect(),o=e.ownerDocument,s=o.documentElement,l=d(o),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),i?a.top+l.y-s.clientTop:a.left+l.x-s.clientLeft),h=100*c/$();return h=r(h),n.dir?100-h:h}function U(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&&Z(t,e)}function G(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===t.buttons&&0!==e.buttonsProperty)return Z(t,e);var i=(n.dir?-1:1)*(t.calcPoint-e.startCalcPoint),a=100*i/e.baseSize;rt(i>0,a,e.locations,e.handleNumbers)}function Z(t,e){e.handle&&(c(e.handle,n.cssClasses.active),M-=1),e.listeners.forEach(function(t){E.removeEventListener(t[0],t[1])}),0===M&&(c(_,n.cssClasses.drag),st(),t.cursor&&(A.style.cursor="",A.removeEventListener("selectstart",i))),e.handleNumbers.forEach(function(t){et("change",t),et("set",t),et("end",t)})}function J(t,e){var a;if(1===e.handleNumbers.length){var r=h[e.handleNumbers[0]];if(r.hasAttribute("disabled"))return!1;a=r.children[0],M+=1,l(a,n.cssClasses.active)}t.stopPropagation();var o=[],s=X(b.move,E,G,{target:t.target,handle:a,listeners:o,startCalcPoint:t.calcPoint,baseSize:$(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:k.slice()}),c=X(b.end,E,Z,{target:t.target,handle:a,listeners:o,doNotReject:!0,handleNumbers:e.handleNumbers}),d=X("mouseout",E,U,{target:t.target,handle:a,listeners:o,doNotReject:!0,handleNumbers:e.handleNumbers});o.push.apply(o,s.concat(c,d)),t.cursor&&(A.style.cursor=getComputedStyle(t.target).cursor,h.length>1&&l(_,n.cssClasses.drag),A.addEventListener("selectstart",i,!1)),e.handleNumbers.forEach(function(t){et("start",t)})}function K(t){t.stopPropagation();var e=q(t.calcPoint),i=function(t){var e=100,i=!1;return h.forEach(function(n,a){if(!n.hasAttribute("disabled")){var r=Math.abs(k[a]-t);(r<e||100===r&&100===e)&&(i=a,e=r)}}),i}(e);if(!1===i)return!1;n.events.snap||a(_,n.cssClasses.tap,n.animationDuration),lt(i,e,!0,!0),st(),et("slide",i,!0),et("update",i,!0),et("change",i,!0),et("set",i,!0),n.events.snap&&J(t,{handleNumbers:[i]})}function Q(t){var e=q(t.calcPoint),i=C.getStep(e),n=C.fromStepping(i);Object.keys(D).forEach(function(t){"hover"===t.split(".")[0]&&D[t].forEach(function(t){t.call(f,n)})})}function tt(t,e){D[t]=D[t]||[],D[t].push(e),"update"===t.split(".")[0]&&h.forEach(function(t,e){et("update",e)})}function et(t,e,i){Object.keys(D).forEach(function(a){var r=a.split(".")[0];t===r&&D[a].forEach(function(t){t.call(f,T.map(n.format.to),e,T.slice(),i||!1,k.slice())})})}function it(t){return t+"%"}function nt(t,e,i,a,o,s){return h.length>1&&!n.events.unconstrained&&(a&&e>0&&(i=Math.max(i,t[e-1]+n.margin)),o&&e<h.length-1&&(i=Math.min(i,t[e+1]-n.margin))),h.length>1&&n.limit&&(a&&e>0&&(i=Math.min(i,t[e-1]+n.limit)),o&&e<h.length-1&&(i=Math.max(i,t[e+1]-n.limit))),n.padding&&(0===e&&(i=Math.max(i,n.padding[0])),e===h.length-1&&(i=Math.min(i,100-n.padding[1]))),!((i=r(i=C.getStep(i)))===t[e]&&!s)&&i}function at(t,e){var i=n.ort;return(i?e:t)+", "+(i?t:e)}function rt(t,e,i,n){var a=i.slice(),r=[!t,t],o=[t,!t];n=n.slice(),t&&n.reverse(),n.length>1?n.forEach(function(t,i){var n=nt(a,t,a[t]+e,r[i],o[i],!1);!1===n?e=0:(e=n-a[t],a[t]=n)}):r=o=[!0];var s=!1;n.forEach(function(t,n){s=lt(t,i[t]+e,r[n],o[n])||s}),s&&n.forEach(function(t){et("update",t),et("slide",t)})}function ot(t,e){return n.dir?100-t-e:t}function st(){S.forEach(function(t){var e=k[t]>50?-1:1,i=3+(h.length+e*t);h[t].style.zIndex=i})}function lt(t,e,i,a){return!1!==(e=nt(k,t,e,i,a,!1))&&(function(t,e){k[t]=e,T[t]=C.fromStepping(e);var i="translate("+at(it(ot(e,0)-H),"0")+")";h[t].style[n.transformRule]=i,ct(t),ct(t+1)}(t,e),!0)}function ct(t){if(p[t]){var e=0,i=100;0!==t&&(e=k[t-1]),t!==p.length-1&&(i=k[t]);var a=i-e,r="translate("+at(it(ot(e,a)),"0")+")",o="scale("+at(a/100,"1")+")";p[t].style[n.transformRule]=r+" "+o}}function dt(t,e){var i=o(t),r=void 0===k[0];e=void 0===e||!!e,n.animate&&!r&&a(_,n.cssClasses.tap,n.animationDuration),S.forEach(function(t){lt(t,function(t,e){return null===t||!1===t||void 0===t?k[e]:("number"==typeof t&&(t=String(t)),t=n.format.from(t),!1===(t=C.toStepping(t))||isNaN(t)?k[e]:t)}(i[t],t),!0,!1)}),S.forEach(function(t){lt(t,k[t],!0,!0)}),st(),S.forEach(function(t){et("update",t),null!==i[t]&&e&&et("set",t)})}function ut(){var t=T.map(n.format.to);return 1===t.length?t[0]:t}return l(y=_,n.cssClasses.target),0===n.dir?l(y,n.cssClasses.ltr):l(y,n.cssClasses.rtl),0===n.ort?l(y,n.cssClasses.horizontal):l(y,n.cssClasses.vertical),u=R(y,n.cssClasses.base),function(t,e){var i=R(e,n.cssClasses.connects);h=[],(p=[]).push(j(i,t[0]));for(var a=0;a<n.handles;a++)h.push(N(e,a)),S[a]=a,p.push(j(i,t[a+1]))}(n.connect,u),(v=n.events).fixed||h.forEach(function(t,e){X(b.start,t.children[0],J,{handleNumbers:[e]})}),v.tap&&X(b.start,u,K,{}),v.hover&&X(b.move,u,Q,{hover:!0}),v.drag&&p.forEach(function(t,e){if(!1!==t&&0!==e&&e!==p.length-1){var i=h[e-1],a=h[e],r=[t];l(t,n.cssClasses.draggable),v.fixed&&(r.push(i.children[0]),r.push(a.children[0])),r.forEach(function(t){X(b.start,t,J,{handles:[i,a],handleNumbers:[e-1,e]})})}}),dt(n.start),f={destroy:function(){for(var t in n.cssClasses)n.cssClasses.hasOwnProperty(t)&&c(_,n.cssClasses[t]);for(;_.firstChild;)_.removeChild(_.firstChild);delete _.noUiSlider},steps:function(){return k.map(function(t,e){var i=C.getNearbySteps(t),n=T[e],a=i.thisStep.step,r=null;!1!==a&&n+a>i.stepAfter.startValue&&(a=i.stepAfter.startValue-n),r=n>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&n-i.stepBefore.highestStep,100===t?a=null:0===t&&(r=null);var o=C.countStepDecimals();return null!==a&&!1!==a&&(a=Number(a.toFixed(o))),null!==r&&!1!==r&&(r=Number(r.toFixed(o))),[r,a]})},on:tt,off:function(t){var e=t&&t.split(".")[0],i=e&&t.substring(e.length);Object.keys(D).forEach(function(t){var n=t.split(".")[0],a=t.substring(n.length);e&&e!==n||i&&i!==a||delete D[t]})},get:ut,set:dt,setHandle:function(e,i,n){var a=[];if(!((e=Number(e))>=0&&e<S.length))throw new Error("noUiSlider ("+t+"): invalid handle number, got: "+e);for(var r=0;r<S.length;r++)a[r]=null;a[e]=i,dt(a,n)},reset:function(t){dt(n.start,t)},__moveHandles:function(t,e,i){rt(t,e,k,i)},options:s,updateOptions:function(t,e){var i=ut(),a=["margin","limit","padding","range","animate","snap","step","format"];a.forEach(function(e){void 0!==t[e]&&(s[e]=t[e])});var r=z(s);a.forEach(function(e){void 0!==t[e]&&(n[e]=r[e])}),C=r.spectrum,n.margin=r.margin,n.limit=r.limit,n.padding=r.padding,n.pips&&V(n.pips),k=[],dt(t.start||i,e)},target:_,removePips:B,pips:V},n.pips&&V(n.pips),n.tooltips&&(m=h.map(F),tt("update",function(t,e,i){if(m[e]){var a=t[e];!0!==n.tooltips[e]&&(a=n.tooltips[e].to(i[e])),m[e].innerHTML=a}})),tt("update",function(t,e,i,a,r){S.forEach(function(t){var e=h[t],a=nt(k,t,0,!0,!0,!0),o=nt(k,t,100,!0,!0,!0),s=r[t],l=n.ariaFormat.to(i[t]);a=C.fromStepping(a).toFixed(1),o=C.fromStepping(o).toFixed(1),s=C.fromStepping(s).toFixed(1),e.children[0].setAttribute("aria-valuemin",a),e.children[0].setAttribute("aria-valuemax",o),e.children[0].setAttribute("aria-valuenow",s),e.children[0].setAttribute("aria-valuetext",l)})}),f}return{__spectrum:y,version:t,create:function(e,i){if(!e||!e.nodeName)throw new Error("noUiSlider ("+t+"): create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider ("+t+"): Slider was already initialized.");var n=z(i),a=W(e,n,i);return e.noUiSlider=a,a}}})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";var n=i(4),a=i(3),r=i(11);t.exports={constructors:{},defaults:{},registerScaleType:function(t,e,i){this.constructors[t]=e,this.defaults[t]=a.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?a.merge({},[n.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=a.extend(this.defaults[t],e))},addScalesToLayout:function(t){a.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,r.addBox(t,e)})}}},function(t,e,i){"use strict";t.exports={},t.exports.Arc=i(224),t.exports.Line=i(225),t.exports.Point=i(226),t.exports.Rectangle=i(227)},function(t,e,i){"use strict";var n=i(3);function a(t,e){return n.where(t,function(t){return t.position===e})}function r(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,i){var n=e?i:t,a=e?t:i;return n.weight===a.weight?n._tmpIndex_-a._tmpIndex_:n.weight-a.weight}),t.forEach(function(t){delete t._tmpIndex_})}t.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure:function(t,e,i){for(var n,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)n=a[o],i.hasOwnProperty(n)&&(e[n]=i[n])},update:function(t,e,i){if(t){var o=t.options.layout||{},s=n.options.toPadding(o.padding),l=s.left,c=s.right,d=s.top,u=s.bottom,h=a(t.boxes,"left"),p=a(t.boxes,"right"),f=a(t.boxes,"top"),g=a(t.boxes,"bottom"),m=a(t.boxes,"chartArea");r(h,!0),r(p,!1),r(f,!0),r(g,!1);var v=e-l-c,y=i-d-u,b=y/2,w=(e-v/2)/(h.length+p.length),x=(i-b)/(f.length+g.length),_=v,k=y,S=[];n.each(h.concat(p,f,g),function(t){var e,i=t.isHorizontal();i?(e=t.update(t.fullWidth?v:_,x),k-=e.height):(e=t.update(w,k),_-=e.width),S.push({horizontal:i,minSize:e,box:t})});var M=0,C=0,T=0,D=0;n.each(f.concat(g),function(t){if(t.getPadding){var e=t.getPadding();M=Math.max(M,e.left),C=Math.max(C,e.right)}}),n.each(h.concat(p),function(t){if(t.getPadding){var e=t.getPadding();T=Math.max(T,e.top),D=Math.max(D,e.bottom)}});var L=l,E=c,A=d,P=u;n.each(h.concat(p),j),n.each(h,function(t){L+=t.width}),n.each(p,function(t){E+=t.width}),n.each(f.concat(g),j),n.each(f,function(t){A+=t.height}),n.each(g,function(t){P+=t.height}),n.each(h.concat(p),function(t){var e=n.findNextWhere(S,function(e){return e.box===t}),i={left:0,right:0,top:A,bottom:P};e&&t.update(e.minSize.width,k,i)}),L=l,E=c,A=d,P=u,n.each(h,function(t){L+=t.width}),n.each(p,function(t){E+=t.width}),n.each(f,function(t){A+=t.height}),n.each(g,function(t){P+=t.height});var Y=Math.max(M-L,0);L+=Y,E+=Math.max(C-E,0);var O=Math.max(T-A,0);A+=O,P+=Math.max(D-P,0);var I=i-A-P,H=e-L-E;H===_&&I===k||(n.each(h,function(t){t.height=I}),n.each(p,function(t){t.height=I}),n.each(f,function(t){t.fullWidth||(t.width=H)}),n.each(g,function(t){t.fullWidth||(t.width=H)}),k=I,_=H);var R=l+Y,N=d+O;n.each(h.concat(f),F),R+=_,N+=k,n.each(p,F),n.each(g,F),t.chartArea={left:L,top:A,right:L+_,bottom:A+k},n.each(m,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(_,k)})}function j(t){var e=n.findNextWhere(S,function(e){return e.box===t});if(e)if(t.isHorizontal()){var i={left:Math.max(L,M),right:Math.max(E,C),top:0,bottom:0};t.update(t.fullWidth?v:_,y/2,i)}else t.update(e.minSize.width,k)}function F(t){t.isHorizontal()?(t.left=t.fullWidth?l:L,t.right=t.fullWidth?e-c:L+_,t.top=N,t.bottom=N+t.height,N=t.bottom):(t.left=R,t.right=R+t.width,t.top=A,t.bottom=A+k,R=t.right)}}}},function(t,e,i){"use strict";var n=i(4),a=i(7),r=i(3),o=i(13);function s(t){var e,i,n=[];for(e=0,i=t.length;e<i;++e)n.push(t[e].label);return n}function l(t,e,i){var n=t.getPixelForTick(e);return i&&(n-=0===e?(t.getPixelForTick(1)-n)/2:(n-t.getPixelForTick(e-1))/2),n}function c(t,e,i){return r.isArray(e)?r.longestText(t,i,e):t.measureText(e).width}function d(t){var e=r.valueOrDefault,i=n.global,a=e(t.fontSize,i.defaultFontSize),o=e(t.fontStyle,i.defaultFontStyle),s=e(t.fontFamily,i.defaultFontFamily);return{size:a,style:o,family:s,font:r.fontString(a,o,s)}}function u(t){return r.options.toLineHeight(r.valueOrDefault(t.lineHeight,1.2),r.valueOrDefault(t.fontSize,n.global.defaultFontSize))}n._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:o.formatters.values,minor:{},major:{}}}),t.exports=a.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;for(var e in!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1}),t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){r.callback(this.options.beforeUpdate,[this])},update:function(t,e,i){var n,a,o,s,l,c,d=this;for(d.beforeUpdate(),d.maxWidth=t,d.maxHeight=e,d.margins=r.extend({left:0,right:0,top:0,bottom:0},i),d.longestTextCache=d.longestTextCache||{},d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeDataLimits(),d.determineDataLimits(),d.afterDataLimits(),d.beforeBuildTicks(),l=d.buildTicks()||[],d.afterBuildTicks(),d.beforeTickToLabelConversion(),o=d.convertTicksToLabels(l)||d.ticks,d.afterTickToLabelConversion(),d.ticks=o,n=0,a=o.length;n<a;++n)s=o[n],(c=l[n])?c.label=s:l.push(c={label:s,major:!1});return d._ticks=l,d.beforeCalculateTickRotation(),d.calculateTickRotation(),d.afterCalculateTickRotation(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:function(){r.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){r.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){r.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){r.callback(this.options.beforeDataLimits,[this])},determineDataLimits:r.noop,afterDataLimits:function(){r.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){r.callback(this.options.beforeBuildTicks,[this])},buildTicks:r.noop,afterBuildTicks:function(){r.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){r.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){r.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){r.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,i=t.options.ticks,n=s(t._ticks),a=d(i);e.font=a.font;var o=i.minRotation||0;if(n.length&&t.options.display&&t.isHorizontal())for(var l,c=r.longestText(e,a.font,n,t.longestTextCache),u=c,h=t.getPixelForTick(1)-t.getPixelForTick(0)-6;u>h&&o<i.maxRotation;){var p=r.toRadians(o);if(l=Math.cos(p),Math.sin(p)*c>t.maxHeight){o--;break}o++,u=l*c}t.labelRotation=o},afterCalculateTickRotation:function(){r.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){r.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},i=s(t._ticks),n=t.options,a=n.ticks,o=n.scaleLabel,l=n.gridLines,h=n.display,p=t.isHorizontal(),f=d(a),g=n.gridLines.tickMarkLength;if(e.width=p?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&l.drawTicks?g:0,e.height=p?h&&l.drawTicks?g:0:t.maxHeight,o.display&&h){var m=u(o)+r.options.toPadding(o.padding).height;p?e.height+=m:e.width+=m}if(a.display&&h){var v=r.longestText(t.ctx,f.font,i,t.longestTextCache),y=r.numberOfLabelLines(i),b=.5*f.size,w=t.options.ticks.padding;if(p){t.longestLabelWidth=v;var x=r.toRadians(t.labelRotation),_=Math.cos(x),k=Math.sin(x)*v+f.size*y+b*(y-1)+b;e.height=Math.min(t.maxHeight,e.height+k+w),t.ctx.font=f.font;var S=c(t.ctx,i[0],f.font),M=c(t.ctx,i[i.length-1],f.font);0!==t.labelRotation?(t.paddingLeft="bottom"===n.position?_*S+3:_*b+3,t.paddingRight="bottom"===n.position?_*b+3:_*M+3):(t.paddingLeft=S/2+3,t.paddingRight=M/2+3)}else a.mirror?v=0:v+=w+b,e.width=Math.min(t.maxWidth,e.width+v),t.paddingTop=f.size/2,t.paddingBottom=f.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){r.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(r.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:r.noop,getPixelForValue:r.noop,getValueForPixel:r.noop,getPixelForTick:function(t){var e=this,i=e.options.offset;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(i?0:1),1),a=n*t+e.paddingLeft;i&&(a+=n/2);var r=e.left+Math.round(a);return r+=e.isFullWidth()?e.margins.left:0}var o=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(o/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,n=e.left+Math.round(i);return n+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,i,n,a,o=this,s=o.isHorizontal(),l=o.options.ticks.minor,c=t.length,d=r.toRadians(o.labelRotation),u=Math.cos(d),h=o.longestLabelWidth*u,p=[];for(l.maxTicksLimit&&(a=l.maxTicksLimit),s&&(e=!1,(h+l.autoSkipPadding)*c>o.width-(o.paddingLeft+o.paddingRight)&&(e=1+Math.floor((h+l.autoSkipPadding)*c/(o.width-(o.paddingLeft+o.paddingRight)))),a&&c>a&&(e=Math.max(e,Math.floor(c/a)))),i=0;i<c;i++)n=t[i],(e>1&&i%e>0||i%e==0&&i+e>=c)&&i!==c-1&&delete n.label,p.push(n);return p},draw:function(t){var e=this,i=e.options;if(i.display){var a=e.ctx,o=n.global,s=i.ticks.minor,c=i.ticks.major||s,h=i.gridLines,p=i.scaleLabel,f=0!==e.labelRotation,g=e.isHorizontal(),m=s.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),v=r.valueOrDefault(s.fontColor,o.defaultFontColor),y=d(s),b=r.valueOrDefault(c.fontColor,o.defaultFontColor),w=d(c),x=h.drawTicks?h.tickMarkLength:0,_=r.valueOrDefault(p.fontColor,o.defaultFontColor),k=d(p),S=r.options.toPadding(p.padding),M=r.toRadians(e.labelRotation),C=[],T=e.options.gridLines.lineWidth,D="right"===i.position?e.left:e.right-T-x,L="right"===i.position?e.left+x:e.right,E="bottom"===i.position?e.top+T:e.bottom-x-T,A="bottom"===i.position?e.top+T+x:e.bottom+T;if(r.each(m,function(n,a){if(!r.isNullOrUndef(n.label)){var c,d,u,p,v,y,b,w,_,k,S,P,Y,O,I=n.label;a===e.zeroLineIndex&&i.offset===h.offsetGridLines?(c=h.zeroLineWidth,d=h.zeroLineColor,u=h.zeroLineBorderDash,p=h.zeroLineBorderDashOffset):(c=r.valueAtIndexOrDefault(h.lineWidth,a),d=r.valueAtIndexOrDefault(h.color,a),u=r.valueOrDefault(h.borderDash,o.borderDash),p=r.valueOrDefault(h.borderDashOffset,o.borderDashOffset));var H="middle",R="middle",N=s.padding;if(g){var j=x+N;"bottom"===i.position?(R=f?"middle":"top",H=f?"right":"center",O=e.top+j):(R=f?"middle":"bottom",H=f?"left":"center",O=e.bottom-j);var F=l(e,a,h.offsetGridLines&&m.length>1);F<e.left&&(d="rgba(0,0,0,0)"),F+=r.aliasPixel(c),Y=e.getPixelForTick(a)+s.labelOffset,v=b=_=S=F,y=E,w=A,k=t.top,P=t.bottom+T}else{var z,W="left"===i.position;s.mirror?(H=W?"left":"right",z=N):(H=W?"right":"left",z=x+N),Y=W?e.right-z:e.left+z;var B=l(e,a,h.offsetGridLines&&m.length>1);B<e.top&&(d="rgba(0,0,0,0)"),B+=r.aliasPixel(c),O=e.getPixelForTick(a)+s.labelOffset,v=D,b=L,_=t.left,S=t.right+T,y=w=k=P=B}C.push({tx1:v,ty1:y,tx2:b,ty2:w,x1:_,y1:k,x2:S,y2:P,labelX:Y,labelY:O,glWidth:c,glColor:d,glBorderDash:u,glBorderDashOffset:p,rotation:-1*M,label:I,major:n.major,textBaseline:R,textAlign:H})}}),r.each(C,function(t){if(h.display&&(a.save(),a.lineWidth=t.glWidth,a.strokeStyle=t.glColor,a.setLineDash&&(a.setLineDash(t.glBorderDash),a.lineDashOffset=t.glBorderDashOffset),a.beginPath(),h.drawTicks&&(a.moveTo(t.tx1,t.ty1),a.lineTo(t.tx2,t.ty2)),h.drawOnChartArea&&(a.moveTo(t.x1,t.y1),a.lineTo(t.x2,t.y2)),a.stroke(),a.restore()),s.display){a.save(),a.translate(t.labelX,t.labelY),a.rotate(t.rotation),a.font=t.major?w.font:y.font,a.fillStyle=t.major?b:v,a.textBaseline=t.textBaseline,a.textAlign=t.textAlign;var i=t.label;if(r.isArray(i))for(var n=i.length,o=1.5*y.size,l=e.isHorizontal()?0:-o*(n-1)/2,c=0;c<n;++c)a.fillText(""+i[c],0,l),l+=o;else a.fillText(i,0,0);a.restore()}}),p.display){var P,Y,O=0,I=u(p)/2;if(g)P=e.left+(e.right-e.left)/2,Y="bottom"===i.position?e.bottom-I-S.bottom:e.top+I+S.top;else{var H="left"===i.position;P=H?e.left+I+S.top:e.right-I-S.top,Y=e.top+(e.bottom-e.top)/2,O=H?-.5*Math.PI:.5*Math.PI}a.save(),a.translate(P,Y),a.rotate(O),a.textAlign="center",a.textBaseline="middle",a.fillStyle=_,a.font=k.font,a.fillText(p.labelString,0,0),a.restore()}if(h.drawBorder){a.lineWidth=r.valueAtIndexOrDefault(h.lineWidth,0),a.strokeStyle=r.valueAtIndexOrDefault(h.color,0);var R=e.left,N=e.right+T,j=e.top,F=e.bottom+T,z=r.aliasPixel(a.lineWidth);g?(j=F="top"===i.position?e.bottom:e.top,j+=z,F+=z):(R=N="left"===i.position?e.right:e.left,R+=z,N+=z),a.beginPath(),a.moveTo(R,j),a.lineTo(N,F),a.stroke()}}}})},function(t,e,i){"use strict";var n=i(3);t.exports={formatters:{values:function(t){return n.isArray(t)?t:""+t},linear:function(t,e,i){var a=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(a)>1&&t!==Math.floor(t)&&(a=t-Math.floor(t));var r=n.log10(Math.abs(a)),o="";if(0!==t)if(Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4){var s=n.log10(Math.abs(t));o=t.toExponential(Math.floor(s)-Math.floor(r))}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),o=t.toFixed(l)}else o="0";return o},logarithmic:function(t,e,i){var a=t/Math.pow(10,Math.floor(n.log10(t)));return 0===t?"0":1===a||2===a||5===a||0===e||e===i.length-1?t.toExponential():""}}}},function(t,e,i){"use strict";
/*!
 * Cropper.js v1.4.3
 * https://fengyuanchen.github.io/cropperjs
 *
 * Copyright 2015-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2018-10-24T13:07:15.032Z
 */function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var o="undefined"!=typeof window,s=o?window:{},l="".concat("cropper","-crop"),c="".concat("cropper","-disabled"),d="".concat("cropper","-hidden"),u="".concat("cropper","-hide"),h="".concat("cropper","-invisible"),p="".concat("cropper","-modal"),f="".concat("cropper","-move"),g="".concat("cropper","Action"),m="".concat("cropper","Preview"),v=s.PointerEvent?"pointerdown":"touchstart mousedown",y=s.PointerEvent?"pointermove":"touchmove mousemove",b=s.PointerEvent?"pointerup pointercancel":"touchend touchcancel mouseup",w=/^(?:e|w|s|n|se|sw|ne|nw|all|crop|move|zoom)$/,x=/^data:/,_=/^data:image\/jpeg;base64,/,k=/^(?:img|canvas)$/i,S={viewMode:0,dragMode:"crop",initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},M=Number.isNaN||s.isNaN;function C(t){return"number"==typeof t&&!M(t)}function T(t){return void 0===t}function D(t){return"object"===n(t)&&null!==t}var L=Object.prototype.hasOwnProperty;function E(t){if(!D(t))return!1;try{var e=t.constructor,i=e.prototype;return e&&i&&L.call(i,"isPrototypeOf")}catch(t){return!1}}function A(t){return"function"==typeof t}function P(t,e){if(t&&A(e))if(Array.isArray(t)||C(t.length)){var i,n=t.length;for(i=0;i<n&&!1!==e.call(t,t[i],i,t);i+=1);}else D(t)&&Object.keys(t).forEach(function(i){e.call(t,t[i],i,t)});return t}var Y=Object.assign||function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return D(t)&&i.length>0&&i.forEach(function(e){D(e)&&Object.keys(e).forEach(function(i){t[i]=e[i]})}),t},O=/\.\d*(?:0|9){12}\d*$/;function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return O.test(t)?Math.round(t*e)/e:t}var H=/^(?:width|height|left|top|marginLeft|marginTop)$/;function R(t,e){var i=t.style;P(e,function(t,e){H.test(e)&&C(t)&&(t+="px"),i[e]=t})}function N(t,e){if(e)if(C(t.length))P(t,function(t){N(t,e)});else if(t.classList)t.classList.add(e);else{var i=t.className.trim();i?i.indexOf(e)<0&&(t.className="".concat(i," ").concat(e)):t.className=e}}function j(t,e){e&&(C(t.length)?P(t,function(t){j(t,e)}):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function F(t,e,i){e&&(C(t.length)?P(t,function(t){F(t,e,i)}):i?N(t,e):j(t,e))}var z=/([a-z\d])([A-Z])/g;function W(t){return t.replace(z,"$1-$2").toLowerCase()}function B(t,e){return D(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(W(e)))}function V(t,e,i){D(i)?t[e]=i:t.dataset?t.dataset[e]=i:t.setAttribute("data-".concat(W(e)),i)}var $=/\s\s*/,X=function(){var t=!1;if(o){var e=!1,i=function(){},n=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});s.addEventListener("test",i,n),s.removeEventListener("test",i,n)}return t}();function q(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i;e.trim().split($).forEach(function(e){if(!X){var r=t.listeners;r&&r[e]&&r[e][i]&&(a=r[e][i],delete r[e][i],0===Object.keys(r[e]).length&&delete r[e],0===Object.keys(r).length&&delete t.listeners)}t.removeEventListener(e,a,n)})}function U(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i;e.trim().split($).forEach(function(e){if(n.once&&!X){var r=t.listeners,o=void 0===r?{}:r;a=function(){delete o[e][i],t.removeEventListener(e,a,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];i.apply(t,s)},o[e]||(o[e]={}),o[e][i]&&t.removeEventListener(e,o[e][i],n),o[e][i]=a,t.listeners=o}t.addEventListener(e,a,n)})}function G(t,e,i){var n;return A(Event)&&A(CustomEvent)?n=new CustomEvent(e,{detail:i,bubbles:!0,cancelable:!0}):(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,i),t.dispatchEvent(n)}function Z(t){var e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var J=s.location,K=/^(https?:)\/\/([^:\/?#]+):?(\d*)/i;function Q(t){var e=t.match(K);return e&&(e[1]!==J.protocol||e[2]!==J.hostname||e[3]!==J.port)}function tt(t){var e="timestamp=".concat((new Date).getTime());return t+(-1===t.indexOf("?")?"?":"&")+e}function et(t){var e=t.rotate,i=t.scaleX,n=t.scaleY,a=t.translateX,r=t.translateY,o=[];C(a)&&0!==a&&o.push("translateX(".concat(a,"px)")),C(r)&&0!==r&&o.push("translateY(".concat(r,"px)")),C(e)&&0!==e&&o.push("rotate(".concat(e,"deg)")),C(i)&&1!==i&&o.push("scaleX(".concat(i,")")),C(n)&&1!==n&&o.push("scaleY(".concat(n,")"));var s=o.length?o.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function it(t,e){var i=t.pageX,n=t.pageY,a={endX:i,endY:n};return e?a:Y({startX:i,startY:n},a)}var nt=Number.isFinite||s.isFinite;function at(t){var e=t.aspectRatio,i=t.height,n=t.width,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",r=function(t){return nt(t)&&t>0};if(r(n)&&r(i)){var o=i*e;"contain"===a&&o>n||"cover"===a&&o<n?i=n/e:n=i*e}else r(n)?i=n/e:r(i)&&(n=i*e);return{width:n,height:i}}var rt=String.fromCharCode;var ot=/^data:.*,/;function st(t){var e,i=new DataView(t);try{var n,a,r;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var o=i.byteLength,s=2;s+1<o;){if(255===i.getUint8(s)&&225===i.getUint8(s+1)){a=s;break}s+=1}if(a){var l=a+10;if("Exif"===function(t,e,i){var n,a="";for(i+=e,n=e;n<i;n+=1)a+=rt(t.getUint8(n));return a}(i,a+4,4)){var c=i.getUint16(l);if(((n=18761===c)||19789===c)&&42===i.getUint16(l+2,n)){var d=i.getUint32(l+4,n);d>=8&&(r=l+d)}}}if(r){var u,h,p=i.getUint16(r,n);for(h=0;h<p;h+=1)if(u=r+12*h+2,274===i.getUint16(u,n)){u+=8,e=i.getUint16(u,n),i.setUint16(u,1,n);break}}}catch(t){e=1}return e}var lt={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,e=this.options,i=this.container,n=this.cropper;N(n,d),j(t,d);var a={width:Math.max(i.offsetWidth,Number(e.minContainerWidth)||200),height:Math.max(i.offsetHeight,Number(e.minContainerHeight)||100)};this.containerData=a,R(n,{width:a.width,height:a.height}),N(t,d),j(n,d)},initCanvas:function(){var t=this.containerData,e=this.imageData,i=this.options.viewMode,n=Math.abs(e.rotate)%180==90,a=n?e.naturalHeight:e.naturalWidth,r=n?e.naturalWidth:e.naturalHeight,o=a/r,s=t.width,l=t.height;t.height*o>t.width?3===i?s=t.height*o:l=t.width/o:3===i?l=t.width/o:s=t.height*o;var c={aspectRatio:o,naturalWidth:a,naturalHeight:r,width:s,height:l};c.left=(t.width-s)/2,c.top=(t.height-l)/2,c.oldLeft=c.left,c.oldTop=c.top,this.canvasData=c,this.limited=1===i||2===i,this.limitCanvas(!0,!0),this.initialImageData=Y({},e),this.initialCanvasData=Y({},c)},limitCanvas:function(t,e){var i=this.options,n=this.containerData,a=this.canvasData,r=this.cropBoxData,o=i.viewMode,s=a.aspectRatio,l=this.cropped&&r;if(t){var c=Number(i.minCanvasWidth)||0,d=Number(i.minCanvasHeight)||0;o>1?(c=Math.max(c,n.width),d=Math.max(d,n.height),3===o&&(d*s>c?c=d*s:d=c/s)):o>0&&(c?c=Math.max(c,l?r.width:0):d?d=Math.max(d,l?r.height:0):l&&(c=r.width,(d=r.height)*s>c?c=d*s:d=c/s));var u=at({aspectRatio:s,width:c,height:d});c=u.width,d=u.height,a.minWidth=c,a.minHeight=d,a.maxWidth=1/0,a.maxHeight=1/0}if(e)if(o>(l?0:1)){var h=n.width-a.width,p=n.height-a.height;a.minLeft=Math.min(0,h),a.minTop=Math.min(0,p),a.maxLeft=Math.max(0,h),a.maxTop=Math.max(0,p),l&&this.limited&&(a.minLeft=Math.min(r.left,r.left+(r.width-a.width)),a.minTop=Math.min(r.top,r.top+(r.height-a.height)),a.maxLeft=r.left,a.maxTop=r.top,2===o&&(a.width>=n.width&&(a.minLeft=Math.min(0,h),a.maxLeft=Math.max(0,h)),a.height>=n.height&&(a.minTop=Math.min(0,p),a.maxTop=Math.max(0,p))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=n.width,a.maxTop=n.height},renderCanvas:function(t,e){var i=this.canvasData,n=this.imageData;if(e){var a=function(t){var e=t.width,i=t.height,n=t.degree;if(90==(n=Math.abs(n)%180))return{width:i,height:e};var a=n%90*Math.PI/180,r=Math.sin(a),o=Math.cos(a),s=e*o+i*r,l=e*r+i*o;return n>90?{width:l,height:s}:{width:s,height:l}}({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),r=a.width,o=a.height,s=i.width*(r/i.naturalWidth),l=i.height*(o/i.naturalHeight);i.left-=(s-i.width)/2,i.top-=(l-i.height)/2,i.width=s,i.height=l,i.aspectRatio=r/o,i.naturalWidth=r,i.naturalHeight=o,this.limitCanvas(!0,!1)}(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCanvas(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,R(this.canvas,Y({width:i.width,height:i.height},et({translateX:i.left,translateY:i.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var e=this.canvasData,i=this.imageData,n=i.naturalWidth*(e.width/e.naturalWidth),a=i.naturalHeight*(e.height/e.naturalHeight);Y(i,{width:n,height:a,left:(e.width-n)/2,top:(e.height-a)/2}),R(this.image,Y({width:i.width,height:i.height},et(Y({translateX:i.left,translateY:i.top},i)))),t&&this.output()},initCropBox:function(){var t=this.options,e=this.canvasData,i=t.aspectRatio||t.initialAspectRatio,n=Number(t.autoCropArea)||.8,a={width:e.width,height:e.height};i&&(e.height*i>e.width?a.height=a.width/i:a.width=a.height*i),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*n),a.height=Math.max(a.minHeight,a.height*n),a.left=e.left+(e.width-a.width)/2,a.top=e.top+(e.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=Y({},a)},limitCropBox:function(t,e){var i=this.options,n=this.containerData,a=this.canvasData,r=this.cropBoxData,o=this.limited,s=i.aspectRatio;if(t){var l=Number(i.minCropBoxWidth)||0,c=Number(i.minCropBoxHeight)||0,d=o?Math.min(n.width,a.width,a.width+a.left,n.width-a.left):n.width,u=o?Math.min(n.height,a.height,a.height+a.top,n.height-a.top):n.height;l=Math.min(l,n.width),c=Math.min(c,n.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),u*s>d?u=d/s:d=u*s),r.minWidth=Math.min(l,d),r.minHeight=Math.min(c,u),r.maxWidth=d,r.maxHeight=u}e&&(o?(r.minLeft=Math.max(0,a.left),r.minTop=Math.max(0,a.top),r.maxLeft=Math.min(n.width,a.left+a.width)-r.width,r.maxTop=Math.min(n.height,a.top+a.height)-r.height):(r.minLeft=0,r.minTop=0,r.maxLeft=n.width-r.width,r.maxTop=n.height-r.height))},renderCropBox:function(){var t=this.options,e=this.containerData,i=this.cropBoxData;(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCropBox(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,t.movable&&t.cropBoxMovable&&V(this.face,g,i.width>=e.width&&i.height>=e.height?"move":"all"),R(this.cropBox,Y({width:i.width,height:i.height},et({translateX:i.left,translateY:i.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),G(this.element,"crop",this.getData())}},ct={initPreview:function(){var t=this.crossOrigin,e=this.options.preview,i=t?this.crossOriginUrl:this.url,n=document.createElement("img");if(t&&(n.crossOrigin=t),n.src=i,this.viewBox.appendChild(n),this.viewBoxImage=n,e){var a=e;"string"==typeof e?a=this.element.ownerDocument.querySelectorAll(e):e.querySelector&&(a=[e]),this.previews=a,P(a,function(e){var n=document.createElement("img");V(e,m,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(n.crossOrigin=t),n.src=i,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(n)})}},resetPreview:function(){P(this.previews,function(t){var e=B(t,m);R(t,{width:e.width,height:e.height}),t.innerHTML=e.html,function(t,e){if(D(t[e]))try{delete t[e]}catch(i){t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch(i){t.dataset[e]=void 0}else t.removeAttribute("data-".concat(W(e)))}(t,m)})},preview:function(){var t=this.imageData,e=this.canvasData,i=this.cropBoxData,n=i.width,a=i.height,r=t.width,o=t.height,s=i.left-e.left-t.left,l=i.top-e.top-t.top;this.cropped&&!this.disabled&&(R(this.viewBoxImage,Y({width:r,height:o},et(Y({translateX:-s,translateY:-l},t)))),P(this.previews,function(e){var i=B(e,m),c=i.width,d=i.height,u=c,h=d,p=1;n&&(h=a*(p=c/n)),a&&h>d&&(u=n*(p=d/a),h=d),R(e,{width:u,height:h}),R(e.getElementsByTagName("img")[0],Y({width:r*p,height:o*p},et(Y({translateX:-s*p,translateY:-l*p},t))))}))}},dt={bind:function(){var t=this.element,e=this.options,i=this.cropper;A(e.cropstart)&&U(t,"cropstart",e.cropstart),A(e.cropmove)&&U(t,"cropmove",e.cropmove),A(e.cropend)&&U(t,"cropend",e.cropend),A(e.crop)&&U(t,"crop",e.crop),A(e.zoom)&&U(t,"zoom",e.zoom),U(i,v,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&U(i,"wheel mousewheel DOMMouseScroll",this.onWheel=this.wheel.bind(this)),e.toggleDragModeOnDblclick&&U(i,"dblclick",this.onDblclick=this.dblclick.bind(this)),U(t.ownerDocument,y,this.onCropMove=this.cropMove.bind(this)),U(t.ownerDocument,b,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&U(window,"resize",this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,e=this.options,i=this.cropper;A(e.cropstart)&&q(t,"cropstart",e.cropstart),A(e.cropmove)&&q(t,"cropmove",e.cropmove),A(e.cropend)&&q(t,"cropend",e.cropend),A(e.crop)&&q(t,"crop",e.crop),A(e.zoom)&&q(t,"zoom",e.zoom),q(i,v,this.onCropStart),e.zoomable&&e.zoomOnWheel&&q(i,"wheel mousewheel DOMMouseScroll",this.onWheel),e.toggleDragModeOnDblclick&&q(i,"dblclick",this.onDblclick),q(t.ownerDocument,y,this.onCropMove),q(t.ownerDocument,b,this.onCropEnd),e.responsive&&q(window,"resize",this.onResize)}},ut={resize:function(){var t=this.options,e=this.container,i=this.containerData,n=Number(t.minContainerWidth)||200,a=Number(t.minContainerHeight)||100;if(!(this.disabled||i.width<=n||i.height<=a)){var r,o,s=e.offsetWidth/i.width;if(1!==s||e.offsetHeight!==i.height)t.restore&&(r=this.getCanvasData(),o=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(P(r,function(t,e){r[e]=t*s})),this.setCropBoxData(P(o,function(t,e){o[e]=t*s})))}},dblclick:function(){var t,e;this.disabled||"none"===this.options.dragMode||this.setDragMode((t=this.dragBox,e=l,(t.classList?t.classList.contains(e):t.className.indexOf(e)>-1)?"move":"crop"))},wheel:function(t){var e=this,i=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){e.wheeling=!1},50),t.deltaY?n=t.deltaY>0?1:-1:t.wheelDelta?n=-t.wheelDelta/120:t.detail&&(n=t.detail>0?1:-1),this.zoom(-n*i,t)))},cropStart:function(t){if(!this.disabled){var e,i=this.options,n=this.pointers;t.changedTouches?P(t.changedTouches,function(t){n[t.identifier]=it(t)}):n[t.pointerId||0]=it(t),e=Object.keys(n).length>1&&i.zoomable&&i.zoomOnTouch?"zoom":B(t.target,g),w.test(e)&&!1!==G(this.element,"cropstart",{originalEvent:t,action:e})&&(t.preventDefault(),this.action=e,this.cropping=!1,"crop"===e&&(this.cropping=!0,N(this.dragBox,p)))}},cropMove:function(t){var e=this.action;if(!this.disabled&&e){var i=this.pointers;t.preventDefault(),!1!==G(this.element,"cropmove",{originalEvent:t,action:e})&&(t.changedTouches?P(t.changedTouches,function(t){Y(i[t.identifier]||{},it(t,!0))}):Y(i[t.pointerId||0]||{},it(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var e=this.action,i=this.pointers;t.changedTouches?P(t.changedTouches,function(t){delete i[t.identifier]}):delete i[t.pointerId||0],e&&(t.preventDefault(),Object.keys(i).length||(this.action=""),this.cropping&&(this.cropping=!1,F(this.dragBox,p,this.cropped&&this.options.modal)),G(this.element,"cropend",{originalEvent:t,action:e}))}}},ht={change:function(t){var e,i=this.options,n=this.canvasData,a=this.containerData,r=this.cropBoxData,o=this.pointers,s=this.action,l=i.aspectRatio,c=r.left,u=r.top,h=r.width,p=r.height,f=c+h,g=u+p,m=0,v=0,y=a.width,b=a.height,w=!0;!l&&t.shiftKey&&(l=h&&p?h/p:1),this.limited&&(m=r.minLeft,v=r.minTop,y=m+Math.min(a.width,n.width,n.left+n.width),b=v+Math.min(a.height,n.height,n.top+n.height));var x=o[Object.keys(o)[0]],_={x:x.endX-x.startX,y:x.endY-x.startY},k=function(t){switch(t){case"e":f+_.x>y&&(_.x=y-f);break;case"w":c+_.x<m&&(_.x=m-c);break;case"n":u+_.y<v&&(_.y=v-u);break;case"s":g+_.y>b&&(_.y=b-g)}};switch(s){case"all":c+=_.x,u+=_.y;break;case"e":if(_.x>=0&&(f>=y||l&&(u<=v||g>=b))){w=!1;break}k("e"),(h+=_.x)<0&&(s="w",c-=h=-h),l&&(p=h/l,u+=(r.height-p)/2);break;case"n":if(_.y<=0&&(u<=v||l&&(c<=m||f>=y))){w=!1;break}k("n"),p-=_.y,u+=_.y,p<0&&(s="s",u-=p=-p),l&&(h=p*l,c+=(r.width-h)/2);break;case"w":if(_.x<=0&&(c<=m||l&&(u<=v||g>=b))){w=!1;break}k("w"),h-=_.x,c+=_.x,h<0&&(s="e",c-=h=-h),l&&(p=h/l,u+=(r.height-p)/2);break;case"s":if(_.y>=0&&(g>=b||l&&(c<=m||f>=y))){w=!1;break}k("s"),(p+=_.y)<0&&(s="n",u-=p=-p),l&&(h=p*l,c+=(r.width-h)/2);break;case"ne":if(l){if(_.y<=0&&(u<=v||f>=y)){w=!1;break}k("n"),p-=_.y,u+=_.y,h=p*l}else k("n"),k("e"),_.x>=0?f<y?h+=_.x:_.y<=0&&u<=v&&(w=!1):h+=_.x,_.y<=0?u>v&&(p-=_.y,u+=_.y):(p-=_.y,u+=_.y);h<0&&p<0?(s="sw",u-=p=-p,c-=h=-h):h<0?(s="nw",c-=h=-h):p<0&&(s="se",u-=p=-p);break;case"nw":if(l){if(_.y<=0&&(u<=v||c<=m)){w=!1;break}k("n"),p-=_.y,u+=_.y,h=p*l,c+=r.width-h}else k("n"),k("w"),_.x<=0?c>m?(h-=_.x,c+=_.x):_.y<=0&&u<=v&&(w=!1):(h-=_.x,c+=_.x),_.y<=0?u>v&&(p-=_.y,u+=_.y):(p-=_.y,u+=_.y);h<0&&p<0?(s="se",u-=p=-p,c-=h=-h):h<0?(s="ne",c-=h=-h):p<0&&(s="sw",u-=p=-p);break;case"sw":if(l){if(_.x<=0&&(c<=m||g>=b)){w=!1;break}k("w"),h-=_.x,c+=_.x,p=h/l}else k("s"),k("w"),_.x<=0?c>m?(h-=_.x,c+=_.x):_.y>=0&&g>=b&&(w=!1):(h-=_.x,c+=_.x),_.y>=0?g<b&&(p+=_.y):p+=_.y;h<0&&p<0?(s="ne",u-=p=-p,c-=h=-h):h<0?(s="se",c-=h=-h):p<0&&(s="nw",u-=p=-p);break;case"se":if(l){if(_.x>=0&&(f>=y||g>=b)){w=!1;break}k("e"),p=(h+=_.x)/l}else k("s"),k("e"),_.x>=0?f<y?h+=_.x:_.y>=0&&g>=b&&(w=!1):h+=_.x,_.y>=0?g<b&&(p+=_.y):p+=_.y;h<0&&p<0?(s="nw",u-=p=-p,c-=h=-h):h<0?(s="sw",c-=h=-h):p<0&&(s="ne",u-=p=-p);break;case"move":this.move(_.x,_.y),w=!1;break;case"zoom":this.zoom(function(t){var e=Y({},t),i=[];return P(t,function(t,n){delete e[n],P(e,function(e){var n=Math.abs(t.startX-e.startX),a=Math.abs(t.startY-e.startY),r=Math.abs(t.endX-e.endX),o=Math.abs(t.endY-e.endY),s=Math.sqrt(n*n+a*a),l=(Math.sqrt(r*r+o*o)-s)/s;i.push(l)})}),i.sort(function(t,e){return Math.abs(t)<Math.abs(e)}),i[0]}(o),t),w=!1;break;case"crop":if(!_.x||!_.y){w=!1;break}e=Z(this.cropper),c=x.startX-e.left,u=x.startY-e.top,h=r.minWidth,p=r.minHeight,_.x>0?s=_.y>0?"se":"ne":_.x<0&&(c-=h,s=_.y>0?"sw":"nw"),_.y<0&&(u-=p),this.cropped||(j(this.cropBox,d),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}w&&(r.width=h,r.height=p,r.left=c,r.top=u,this.action=s,this.renderCropBox()),P(o,function(t){t.startX=t.endX,t.startY=t.endY})}},pt={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&N(this.dragBox,p),j(this.cropBox,d),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Y({},this.initialImageData),this.canvasData=Y({},this.initialCanvasData),this.cropBoxData=Y({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Y(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),j(this.dragBox,p),N(this.cropBox,d)),this},replace:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,P(this.previews,function(e){e.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,j(this.cropper,c)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,N(this.cropper,c)),this},destroy:function(){var t=this.element;return t.cropper?(t.cropper=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=this.canvasData,n=i.left,a=i.top;return this.moveTo(T(t)?t:n+Number(t),T(e)?e:a+Number(e))},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=this.canvasData,n=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(C(t)&&(i.left=t,n=!0),C(e)&&(i.top=e,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(t,e){var i=this.canvasData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(i.width*t/i.naturalWidth,null,e)},zoomTo:function(t,e,i){var n=this.options,a=this.canvasData,r=a.width,o=a.height,s=a.naturalWidth,l=a.naturalHeight;if((t=Number(t))>=0&&this.ready&&!this.disabled&&n.zoomable){var c=s*t,d=l*t;if(!1===G(this.element,"zoom",{ratio:t,oldRatio:r/s,originalEvent:i}))return this;if(i){var u=this.pointers,h=Z(this.cropper),p=u&&Object.keys(u).length?function(t){var e=0,i=0,n=0;return P(t,function(t){var a=t.startX,r=t.startY;e+=a,i+=r,n+=1}),{pageX:e/=n,pageY:i/=n}}(u):{pageX:i.pageX,pageY:i.pageY};a.left-=(c-r)*((p.pageX-h.left-a.left)/r),a.top-=(d-o)*((p.pageY-h.top-a.top)/o)}else E(e)&&C(e.x)&&C(e.y)?(a.left-=(c-r)*((e.x-a.left)/r),a.top-=(d-o)*((e.y-a.top)/o)):(a.left-=(c-r)/2,a.top-=(d-o)/2);a.width=c,a.height=d,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return C(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,C(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(C(e)?e:1,t)},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=this.imageData,n=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(C(t)&&(i.scaleX=t,n=!0),C(e)&&(i.scaleY=e,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.options,n=this.imageData,a=this.canvasData,r=this.cropBoxData;if(this.ready&&this.cropped){t={x:r.left-a.left,y:r.top-a.top,width:r.width,height:r.height};var o=n.width/n.naturalWidth;if(P(t,function(e,i){t[i]=e/o}),e){var s=Math.round(t.y+t.height),l=Math.round(t.x+t.width);t.x=Math.round(t.x),t.y=Math.round(t.y),t.width=l-t.x,t.height=s-t.y}}else t={x:0,y:0,width:0,height:0};return i.rotatable&&(t.rotate=n.rotate||0),i.scalable&&(t.scaleX=n.scaleX||1,t.scaleY=n.scaleY||1),t},setData:function(t){var e=this.options,i=this.imageData,n=this.canvasData,a={};if(this.ready&&!this.disabled&&E(t)){var r=!1;e.rotatable&&C(t.rotate)&&t.rotate!==i.rotate&&(i.rotate=t.rotate,r=!0),e.scalable&&(C(t.scaleX)&&t.scaleX!==i.scaleX&&(i.scaleX=t.scaleX,r=!0),C(t.scaleY)&&t.scaleY!==i.scaleY&&(i.scaleY=t.scaleY,r=!0)),r&&this.renderCanvas(!0,!0);var o=i.width/i.naturalWidth;C(t.x)&&(a.left=t.x*o+n.left),C(t.y)&&(a.top=t.y*o+n.top),C(t.width)&&(a.width=t.width*o),C(t.height)&&(a.height=t.height*o),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?Y({},this.containerData):{}},getImageData:function(){return this.sized?Y({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,e={};return this.ready&&P(["left","top","width","height","naturalWidth","naturalHeight"],function(i){e[i]=t[i]}),e},setCanvasData:function(t){var e=this.canvasData,i=e.aspectRatio;return this.ready&&!this.disabled&&E(t)&&(C(t.left)&&(e.left=t.left),C(t.top)&&(e.top=t.top),C(t.width)?(e.width=t.width,e.height=t.width/i):C(t.height)&&(e.height=t.height,e.width=t.height*i),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,e=this.cropBoxData;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(t){var e,i,n=this.cropBoxData,a=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&E(t)&&(C(t.left)&&(n.left=t.left),C(t.top)&&(n.top=t.top),C(t.width)&&t.width!==n.width&&(e=!0,n.width=t.width),C(t.height)&&t.height!==n.height&&(i=!0,n.height=t.height),a&&(e?n.height=n.width/a:i&&(n.width=n.height*a)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var e=this.canvasData,i=function(t,e,i,n){var a=e.aspectRatio,o=e.naturalWidth,s=e.naturalHeight,l=e.rotate,c=void 0===l?0:l,d=e.scaleX,u=void 0===d?1:d,h=e.scaleY,p=void 0===h?1:h,f=i.aspectRatio,g=i.naturalWidth,m=i.naturalHeight,v=n.fillColor,y=void 0===v?"transparent":v,b=n.imageSmoothingEnabled,w=void 0===b||b,x=n.imageSmoothingQuality,_=void 0===x?"low":x,k=n.maxWidth,S=void 0===k?1/0:k,M=n.maxHeight,C=void 0===M?1/0:M,T=n.minWidth,D=void 0===T?0:T,L=n.minHeight,E=void 0===L?0:L,A=document.createElement("canvas"),P=A.getContext("2d"),Y=at({aspectRatio:f,width:S,height:C}),O=at({aspectRatio:f,width:D,height:E},"cover"),H=Math.min(Y.width,Math.max(O.width,g)),R=Math.min(Y.height,Math.max(O.height,m)),N=at({aspectRatio:a,width:S,height:C}),j=at({aspectRatio:a,width:D,height:E},"cover"),F=Math.min(N.width,Math.max(j.width,o)),z=Math.min(N.height,Math.max(j.height,s)),W=[-F/2,-z/2,F,z];return A.width=I(H),A.height=I(R),P.fillStyle=y,P.fillRect(0,0,H,R),P.save(),P.translate(H/2,R/2),P.rotate(c*Math.PI/180),P.scale(u,p),P.imageSmoothingEnabled=w,P.imageSmoothingQuality=_,P.drawImage.apply(P,[t].concat(r(W.map(function(t){return Math.floor(I(t))})))),P.restore(),A}(this.image,this.imageData,e,t);if(!this.cropped)return i;var n=this.getData(),a=n.x,o=n.y,s=n.width,l=n.height,c=i.width/Math.floor(e.naturalWidth);1!==c&&(a*=c,o*=c,s*=c,l*=c);var d=s/l,u=at({aspectRatio:d,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),h=at({aspectRatio:d,width:t.minWidth||0,height:t.minHeight||0},"cover"),p=at({aspectRatio:d,width:t.width||(1!==c?i.width:s),height:t.height||(1!==c?i.height:l)}),f=p.width,g=p.height;f=Math.min(u.width,Math.max(h.width,f)),g=Math.min(u.height,Math.max(h.height,g));var m=document.createElement("canvas"),v=m.getContext("2d");m.width=I(f),m.height=I(g),v.fillStyle=t.fillColor||"transparent",v.fillRect(0,0,f,g);var y=t.imageSmoothingEnabled,b=void 0===y||y,w=t.imageSmoothingQuality;v.imageSmoothingEnabled=b,w&&(v.imageSmoothingQuality=w);var x,_,k,S,M,C,T=i.width,D=i.height,L=a,E=o;L<=-s||L>T?(L=0,x=0,k=0,M=0):L<=0?(k=-L,L=0,M=x=Math.min(T,s+L)):L<=T&&(k=0,M=x=Math.min(s,T-L)),x<=0||E<=-l||E>D?(E=0,_=0,S=0,C=0):E<=0?(S=-E,E=0,C=_=Math.min(D,l+E)):E<=D&&(S=0,C=_=Math.min(l,D-E));var A=[L,E,x,_];if(M>0&&C>0){var P=f/s;A.push(k*P,S*P,M*P,C*P)}return v.drawImage.apply(v,[i].concat(r(A.map(function(t){return Math.floor(I(t))})))),m},setAspectRatio:function(t){var e=this.options;return this.disabled||T(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var e=this.options,i=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var a="crop"===t,r=e.movable&&"move"===t;t=a||r?t:"none",e.dragMode=t,V(i,g,t),F(i,l,a),F(i,f,r),e.cropBoxMovable||(V(n,g,t),F(n,l,a),F(n,f,r))}return this}},ft=s.Cropper,gt=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e||!k.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=Y({},S,E(i)&&i),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}var e,i,n;return e=t,n=[{key:"noConflict",value:function(){return window.Cropper=ft,t}},{key:"setDefaults",value:function(t){Y(S,E(t)&&t)}}],(i=[{key:"init",value:function(){var t,e=this.element,i=e.tagName.toLowerCase();if(!e.cropper){if(e.cropper=this,"img"===i){if(this.isImg=!0,t=e.getAttribute("src")||"",this.originalUrl=t,!t)return;t=e.src}else"canvas"===i&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e=this;if(t){this.url=t,this.imageData={};var i=this.element,n=this.options;if(n.rotatable||n.scalable||(n.checkOrientation=!1),n.checkOrientation&&window.ArrayBuffer)if(x.test(t))_.test(t)?this.read((a=t.replace(ot,""),r=atob(a),o=new ArrayBuffer(r.length),P(s=new Uint8Array(o),function(t,e){s[e]=r.charCodeAt(e)}),o)):this.clone();else{var a,r,o,s,l=new XMLHttpRequest,c=this.clone.bind(this);this.reloading=!0,this.xhr=l,l.ontimeout=c,l.onabort=c,l.onerror=c,l.onprogress=function(){"image/jpeg"!==l.getResponseHeader("content-type")&&l.abort()},l.onload=function(){e.read(l.response)},l.onloadend=function(){e.reloading=!1,e.xhr=null},n.checkCrossOrigin&&Q(t)&&i.crossOrigin&&(t=tt(t)),l.open("GET",t),l.responseType="arraybuffer",l.withCredentials="use-credentials"===i.crossOrigin,l.send()}else this.clone()}}},{key:"read",value:function(t){var e=this.options,i=this.imageData,n=st(t),a=0,o=1,s=1;if(n>1){this.url=function(t,e){for(var i=[],n=new Uint8Array(t);n.length>0;)i.push(rt.apply(void 0,r(n.subarray(0,8192)))),n=n.subarray(8192);return"data:".concat(e,";base64,").concat(btoa(i.join("")))}(t,"image/jpeg");var l=function(t){var e=0,i=1,n=1;switch(t){case 2:i=-1;break;case 3:e=-180;break;case 4:n=-1;break;case 5:e=90,n=-1;break;case 6:e=90;break;case 7:e=90,i=-1;break;case 8:e=-90}return{rotate:e,scaleX:i,scaleY:n}}(n);a=l.rotate,o=l.scaleX,s=l.scaleY}e.rotatable&&(i.rotate=a),e.scalable&&(i.scaleX=o,i.scaleY=s),this.clone()}},{key:"clone",value:function(){var t,e,i=this.element,n=this.url;this.options.checkCrossOrigin&&Q(n)&&((t=i.crossOrigin)?e=n:(t="anonymous",e=tt(n))),this.crossOrigin=t,this.crossOriginUrl=e;var a=document.createElement("img");t&&(a.crossOrigin=t),a.src=e||n,this.image=a,a.onload=this.start.bind(this),a.onerror=this.stop.bind(this),N(a,u),i.parentNode.insertBefore(a,i.nextSibling)}},{key:"start",value:function(){var t=this,e=this.isImg?this.element:this.image;e.onload=null,e.onerror=null,this.sizing=!0;var i=s.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(s.navigator.userAgent),n=function(e,i){Y(t.imageData,{naturalWidth:e,naturalHeight:i,aspectRatio:e/i}),t.sizing=!1,t.sized=!0,t.build()};if(!e.naturalWidth||i){var a=document.createElement("img"),r=document.body||document.documentElement;this.sizingImage=a,a.onload=function(){n(a.width,a.height),i||r.removeChild(a)},a.src=e.src,i||(a.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",r.appendChild(a))}else n(e.naturalWidth,e.naturalHeight)}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var t=this.element,e=this.options,i=this.image,n=t.parentNode,a=document.createElement("div");a.innerHTML='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>';var r=a.querySelector(".".concat("cropper","-container")),o=r.querySelector(".".concat("cropper","-canvas")),s=r.querySelector(".".concat("cropper","-drag-box")),l=r.querySelector(".".concat("cropper","-crop-box")),c=l.querySelector(".".concat("cropper","-face"));this.container=n,this.cropper=r,this.canvas=o,this.dragBox=s,this.cropBox=l,this.viewBox=r.querySelector(".".concat("cropper","-view-box")),this.face=c,o.appendChild(i),N(t,d),n.insertBefore(r,t.nextSibling),this.isImg||j(i,u),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,N(l,d),e.guides||N(l.getElementsByClassName("".concat("cropper","-dashed")),d),e.center||N(l.getElementsByClassName("".concat("cropper","-center")),d),e.background&&N(r,"".concat("cropper","-bg")),e.highlight||N(c,h),e.cropBoxMovable&&(N(c,f),V(c,g,"all")),e.cropBoxResizable||(N(l.getElementsByClassName("".concat("cropper","-line")),d),N(l.getElementsByClassName("".concat("cropper","-point")),d)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),A(e.ready)&&U(t,"ready",e.ready,{once:!0}),G(t,"ready")}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),j(this.element,d))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}])&&a(e.prototype,i),n&&a(e,n),t}();Y(gt.prototype,lt,ct,dt,ut,ht,pt),e.a=gt},function(t,e,i){var n,a;void 0===(a="function"==typeof(n=function(t,e,i){return function(t,e,i,n,a,r){function o(t){return"number"==typeof t&&!isNaN(t)}var s=this;if(s.version=function(){return"1.9.3"},s.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:function(t,e,i,n){return i*(1-Math.pow(2,-10*t/n))*1024/1023+e},formattingFn:function(t){var e,i,n,a,r,o,l=t<0;if(t=Math.abs(t).toFixed(s.decimals),e=(t+="").split("."),i=e[0],n=e.length>1?s.options.decimal+e[1]:"",s.options.useGrouping){for(a="",r=0,o=i.length;r<o;++r)0!==r&&r%3==0&&(a=s.options.separator+a),a=i[o-r-1]+a;i=a}return s.options.numerals.length&&(i=i.replace(/[0-9]/g,function(t){return s.options.numerals[+t]}),n=n.replace(/[0-9]/g,function(t){return s.options.numerals[+t]})),(l?"-":"")+s.options.prefix+i+n+s.options.suffix},prefix:"",suffix:"",numerals:[]},r&&"object"==typeof r)for(var l in s.options)r.hasOwnProperty(l)&&null!==r[l]&&(s.options[l]=r[l]);""===s.options.separator?s.options.useGrouping=!1:s.options.separator=""+s.options.separator;for(var c=0,d=["webkit","moz","ms","o"],u=0;u<d.length&&!window.requestAnimationFrame;++u)window.requestAnimationFrame=window[d[u]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[d[u]+"CancelAnimationFrame"]||window[d[u]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-c)),a=window.setTimeout(function(){t(i+n)},n);return c=i+n,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)}),s.initialize=function(){return!(!s.initialized&&(s.error="",s.d="string"==typeof t?document.getElementById(t):t,s.d?(s.startVal=Number(e),s.endVal=Number(i),o(s.startVal)&&o(s.endVal)?(s.decimals=Math.max(0,n||0),s.dec=Math.pow(10,s.decimals),s.duration=1e3*Number(a)||2e3,s.countDown=s.startVal>s.endVal,s.frameVal=s.startVal,s.initialized=!0,0):(s.error="[CountUp] startVal ("+e+") or endVal ("+i+") is not a number",1)):(s.error="[CountUp] target is null or undefined",1)))},s.printValue=function(t){var e=s.options.formattingFn(t);"INPUT"===s.d.tagName?this.d.value=e:"text"===s.d.tagName||"tspan"===s.d.tagName?this.d.textContent=e:this.d.innerHTML=e},s.count=function(t){s.startTime||(s.startTime=t),s.timestamp=t;var e=t-s.startTime;s.remaining=s.duration-e,s.options.useEasing?s.countDown?s.frameVal=s.startVal-s.options.easingFn(e,0,s.startVal-s.endVal,s.duration):s.frameVal=s.options.easingFn(e,s.startVal,s.endVal-s.startVal,s.duration):s.countDown?s.frameVal=s.startVal-(s.startVal-s.endVal)*(e/s.duration):s.frameVal=s.startVal+(s.endVal-s.startVal)*(e/s.duration),s.countDown?s.frameVal=s.frameVal<s.endVal?s.endVal:s.frameVal:s.frameVal=s.frameVal>s.endVal?s.endVal:s.frameVal,s.frameVal=Math.round(s.frameVal*s.dec)/s.dec,s.printValue(s.frameVal),e<s.duration?s.rAF=requestAnimationFrame(s.count):s.callback&&s.callback()},s.start=function(t){s.initialize()&&(s.callback=t,s.rAF=requestAnimationFrame(s.count))},s.pauseResume=function(){s.paused?(s.paused=!1,delete s.startTime,s.duration=s.remaining,s.startVal=s.frameVal,requestAnimationFrame(s.count)):(s.paused=!0,cancelAnimationFrame(s.rAF))},s.reset=function(){s.paused=!1,delete s.startTime,s.initialized=!1,s.initialize()&&(cancelAnimationFrame(s.rAF),s.printValue(s.startVal))},s.update=function(t){if(s.initialize()){if(!o(t=Number(t)))return void(s.error="[CountUp] update() - new endVal is not a number: "+t);s.error="",t!==s.frameVal&&(cancelAnimationFrame(s.rAF),s.paused=!1,delete s.startTime,s.startVal=s.frameVal,s.endVal=t,s.countDown=s.startVal>s.endVal,s.rAF=requestAnimationFrame(s.count))}},s.initialize()&&s.printValue(s.startVal)}})?n.call(e,i,e,t):n)||(t.exports=a)},function(t,e,i){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e,i){return(l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,i){var n=[null];n.push.apply(n,e);var a=Function.bind.apply(t,n),r=new a;return i&&s(r,i.prototype),r}).apply(null,arguments)}function c(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t,e,i){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(n){var a=Object.getOwnPropertyDescriptor(n,e);return a.get?a.get.call(i):a.value}})(t,e,i||t)}var u=function(t){return Array.prototype.slice.call(t)},h=function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(function(t,i){e.push([i,t])}):Object.keys(t).forEach(function(i){e.push([i,t[i]])}),e},p=function(t){console.warn("".concat("SweetAlert2:"," ").concat(t))},f=function(t){console.error("".concat("SweetAlert2:"," ").concat(t))},g=[],m=function(t){-1===g.indexOf(t)&&(g.push(t),p(t))},v=function(t){return"function"==typeof t?t():t},y=function(t){return t&&Promise.resolve(t)===t},b=Object.freeze({cancel:"cancel",backdrop:"overlay",close:"close",esc:"esc",timer:"timer"}),w=function(t){var e={};for(var i in t)e[t[i]]="swal2-"+t[i];return e},x=w(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","icon-text","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),_=w(["success","warning","info","question","error"]),k={previousBodyPadding:null},S=function(t,e){return t.classList.contains(e)},M=function(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}},C=function(t,e,i){t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach(function(e){t.forEach?t.forEach(function(t){i?t.classList.add(e):t.classList.remove(e)}):i?t.classList.add(e):t.classList.remove(e)}))},T=function(t,e){C(t,e,!0)},D=function(t,e){C(t,e,!1)},L=function(t,e){for(var i=0;i<t.childNodes.length;i++)if(S(t.childNodes[i],e))return t.childNodes[i]},E=function(t){t.style.opacity="",t.style.display=t.id===x.content?"block":"flex"},A=function(t){t.style.opacity="",t.style.display="none"},P=function(t){return t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},Y=function(){return document.body.querySelector("."+x.container)},O=function(t){var e=Y();return e?e.querySelector("."+t):null},I=function(){return O(x.popup)},H=function(){var t=I();return u(t.querySelectorAll("."+x.icon))},R=function(){return O(x.title)},N=function(){return O(x.content)},j=function(){return O(x.image)},F=function(){return O(x.progresssteps)},z=function(){return O(x["validation-message"])},W=function(){return O(x.confirm)},B=function(){return O(x.cancel)},V=function(){return O(x.actions)},$=function(){return O(x.footer)},X=function(){return O(x.close)},q=function(){var t=u(I().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(t,e){return t=parseInt(t.getAttribute("tabindex")),e=parseInt(e.getAttribute("tabindex")),t>e?1:t<e?-1:0}),e=u(I().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]')).filter(function(t){return"-1"!==t.getAttribute("tabindex")});return function(t){for(var e=[],i=0;i<t.length;i++)-1===e.indexOf(t[i])&&e.push(t[i]);return e}(t.concat(e)).filter(function(t){return P(t)})},U=function(){return!G()&&!document.body.classList.contains(x["no-backdrop"])},G=function(){return document.body.classList.contains(x["toast-shown"])},Z=function(){return"undefined"==typeof window||"undefined"==typeof document},J='\n <div aria-labelledby="'.concat(x.title,'" aria-describedby="').concat(x.content,'" class="').concat(x.popup,'" tabindex="-1">\n   <div class="').concat(x.header,'">\n     <ul class="').concat(x.progresssteps,'"></ul>\n     <div class="').concat(x.icon," ").concat(_.error,'">\n       <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n     </div>\n     <div class="').concat(x.icon," ").concat(_.question,'">\n       <span class="').concat(x["icon-text"],'">?</span>\n      </div>\n     <div class="').concat(x.icon," ").concat(_.warning,'">\n       <span class="').concat(x["icon-text"],'">!</span>\n      </div>\n     <div class="').concat(x.icon," ").concat(_.info,'">\n       <span class="').concat(x["icon-text"],'">i</span>\n      </div>\n     <div class="').concat(x.icon," ").concat(_.success,'">\n       <div class="swal2-success-circular-line-left"></div>\n       <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n       <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n       <div class="swal2-success-circular-line-right"></div>\n     </div>\n     <img class="').concat(x.image,'" />\n     <h2 class="').concat(x.title,'" id="').concat(x.title,'"></h2>\n     <button type="button" class="').concat(x.close,'">×</button>\n   </div>\n   <div class="').concat(x.content,'">\n     <div id="').concat(x.content,'"></div>\n     <input class="').concat(x.input,'" />\n     <input type="file" class="').concat(x.file,'" />\n     <div class="').concat(x.range,'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="').concat(x.select,'"></select>\n     <div class="').concat(x.radio,'"></div>\n     <label for="').concat(x.checkbox,'" class="').concat(x.checkbox,'">\n       <input type="checkbox" />\n       <span class="').concat(x.label,'"></span>\n     </label>\n     <textarea class="').concat(x.textarea,'"></textarea>\n     <div class="').concat(x["validation-message"],'" id="').concat(x["validation-message"],'"></div>\n   </div>\n   <div class="').concat(x.actions,'">\n     <button type="button" class="').concat(x.confirm,'">OK</button>\n     <button type="button" class="').concat(x.cancel,'">Cancel</button>\n   </div>\n   <div class="').concat(x.footer,'">\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),K=function(t){var e=Y();if(e&&(e.parentNode.removeChild(e),D([document.documentElement,document.body],[x["no-backdrop"],x["toast-shown"],x["has-column"]])),!Z()){var i=document.createElement("div");i.className=x.container,i.innerHTML=J;var n="string"==typeof t.target?document.querySelector(t.target):t.target;n.appendChild(i);var a,r=I(),o=N(),s=L(o,x.input),l=L(o,x.file),c=o.querySelector(".".concat(x.range," input")),d=o.querySelector(".".concat(x.range," output")),u=L(o,x.select),h=o.querySelector(".".concat(x.checkbox," input")),p=L(o,x.textarea);r.setAttribute("role",t.toast?"alert":"dialog"),r.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||r.setAttribute("aria-modal","true"),"rtl"===window.getComputedStyle(n).direction&&T(Y(),x.rtl);var g=function(t){jt.isVisible()&&a!==t.target.value&&jt.resetValidationMessage(),a=t.target.value};return s.oninput=g,l.onchange=g,u.onchange=g,h.onchange=g,p.oninput=g,c.oninput=function(t){g(t),d.value=c.value},c.onchange=function(t){g(t),c.nextSibling.value=c.value},r}f("SweetAlert2 requires document to initialize")},Q=function(e,i){if(!e)return A(i);if(e instanceof HTMLElement)i.appendChild(e);else if("object"===t(e))if(i.innerHTML="",0 in e)for(var n=0;n in e;n++)i.appendChild(e[n].cloneNode(!0));else i.appendChild(e.cloneNode(!0));else e&&(i.innerHTML=e);E(i)},tt=function(){if(Z())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var i in e)if(e.hasOwnProperty(i)&&void 0!==t.style[i])return e[i];return!1}(),et=function(t){var e=V(),i=W(),n=B();if(t.showConfirmButton||t.showCancelButton?E(e):A(e),t.showCancelButton?n.style.display="inline-block":A(n),t.showConfirmButton?i.style.removeProperty("display"):A(i),i.innerHTML=t.confirmButtonText,n.innerHTML=t.cancelButtonText,i.setAttribute("aria-label",t.confirmButtonAriaLabel),n.setAttribute("aria-label",t.cancelButtonAriaLabel),i.className=x.confirm,T(i,t.confirmButtonClass),n.className=x.cancel,T(n,t.cancelButtonClass),t.buttonsStyling){T([i,n],x.styled),t.confirmButtonColor&&(i.style.backgroundColor=t.confirmButtonColor),t.cancelButtonColor&&(n.style.backgroundColor=t.cancelButtonColor);var a=window.getComputedStyle(i).getPropertyValue("background-color");i.style.borderLeftColor=a,i.style.borderRightColor=a}else D([i,n],x.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",n.style.backgroundColor=n.style.borderLeftColor=n.style.borderRightColor=""},it=function(t){var e=N().querySelector("#"+x.content);t.html?Q(t.html,e):t.text?(e.textContent=t.text,E(e)):A(e)},nt=function(t){for(var e=H(),i=0;i<e.length;i++)A(e[i]);if(t.type)if(-1!==Object.keys(_).indexOf(t.type)){var n=jt.getPopup().querySelector(".".concat(x.icon,".").concat(_[t.type]));E(n),t.animation&&T(n,"swal2-animate-".concat(t.type,"-icon"))}else f('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.type,'"'))},at=function(t){var e=j();t.imageUrl?(e.setAttribute("src",t.imageUrl),e.setAttribute("alt",t.imageAlt),E(e),t.imageWidth?e.setAttribute("width",t.imageWidth):e.removeAttribute("width"),t.imageHeight?e.setAttribute("height",t.imageHeight):e.removeAttribute("height"),e.className=x.image,t.imageClass&&T(e,t.imageClass)):A(e)},rt=function(t){var e=F(),i=parseInt(null===t.currentProgressStep?jt.getQueueStep():t.currentProgressStep,10);t.progressSteps&&t.progressSteps.length?(E(e),e.innerHTML="",i>=t.progressSteps.length&&p("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(function(n,a){var r=document.createElement("li");if(T(r,x.progresscircle),r.innerHTML=n,a===i&&T(r,x.activeprogressstep),e.appendChild(r),a!==t.progressSteps.length-1){var o=document.createElement("li");T(o,x.progressline),t.progressStepsDistance&&(o.style.width=t.progressStepsDistance),e.appendChild(o)}})):A(e)},ot=function(t){var e=R();t.titleText?e.innerText=t.titleText:t.title&&("string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),Q(t.title,e))},st=function(){null===k.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(k.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=k.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px")},lt=function(){return!!window.MSInputMethodContext&&!!document.documentMode},ct=function(){var t=Y(),e=I();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},dt={},ut=function(t,e){var i=Y(),n=I();if(n){null!==t&&"function"==typeof t&&t(n),D(n,x.show),T(n,x.hide);var a=function(){G()?ht(e):(new Promise(function(t){var e=window.scrollX,i=window.scrollY;dt.restoreFocusTimeout=setTimeout(function(){dt.previousActiveElement&&dt.previousActiveElement.focus?(dt.previousActiveElement.focus(),dt.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==i&&window.scrollTo(e,i)}).then(function(){return ht(e)}),dt.keydownTarget.removeEventListener("keydown",dt.keydownHandler,{capture:dt.keydownListenerCapture}),dt.keydownHandlerAdded=!1),i.parentNode&&i.parentNode.removeChild(i),D([document.documentElement,document.body],[x.shown,x["height-auto"],x["no-backdrop"],x["toast-shown"],x["toast-column"]]),U()&&(null!==k.previousBodyPadding&&(document.body.style.paddingRight=k.previousBodyPadding,k.previousBodyPadding=null),function(){if(S(document.body,x.iosfix)){var t=parseInt(document.body.style.top,10);D(document.body,x.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&&lt()&&window.removeEventListener("resize",ct),u(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))};tt&&!S(n,x.noanimation)?n.addEventListener(tt,function t(){n.removeEventListener(tt,t),S(n,x.hide)&&a()}):a()}},ht=function(t){null!==t&&"function"==typeof t&&setTimeout(function(){t()})};function pt(t){var e=function t(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];if(!(this instanceof t))return l(t,i);Object.getPrototypeOf(t).apply(this,i)};return e.prototype=a(Object.create(t.prototype),{constructor:e}),"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}var ft={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:null,timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onAfterClose:null,onOpen:null,onClose:null,useRejections:!1,expectRejections:!1},gt=["useRejections","expectRejections","extraParams"],mt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],vt=function(t){return ft.hasOwnProperty(t)||"extraParams"===t},yt=function(t){return-1!==gt.indexOf(t)},bt=function(t){for(var e in t)vt(e)||p('Unknown parameter "'.concat(e,'"')),t.toast&&-1!==mt.indexOf(e)&&p('The parameter "'.concat(e,'" is incompatible with toasts')),yt(e)&&m('The parameter "'.concat(e,'" is deprecated and will be removed in the next major release.'))},wt='"setDefaults" & "resetDefaults" methods are deprecated in favor of "mixin" method and will be removed in the next major release. For new projects, use "mixin". For past projects already using "setDefaults", support will be provided through an additional package.',xt={},_t=[],kt=function(){var t=I();t||jt(""),t=I();var e=V(),i=W(),n=B();E(e),E(i),T([t,e],x.loading),i.disabled=!0,n.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},St=Object.freeze({isValidParameter:vt,isDeprecatedParameter:yt,argsToParams:function(e){var i={};switch(t(e[0])){case"object":a(i,e[0]);break;default:["title","html","type"].forEach(function(n,a){switch(t(e[a])){case"string":i[n]=e[a];break;case"undefined":break;default:f("Unexpected type of ".concat(n,'! Expected "string", got ').concat(t(e[a])))}})}return i},adaptInputValidator:function(t){return function(e,i){return t.call(this,e,i).then(function(){},function(t){return t})}},close:ut,closePopup:ut,closeModal:ut,closeToast:ut,isVisible:function(){return!!I()},clickConfirm:function(){return W().click()},clickCancel:function(){return B().click()},getContainer:Y,getPopup:I,getTitle:R,getContent:N,getImage:j,getIcons:H,getCloseButton:X,getButtonsWrapper:function(){return m("swal.getButtonsWrapper() is deprecated and will be removed in the next major release, use swal.getActions() instead"),O(x.actions)},getActions:V,getConfirmButton:W,getCancelButton:B,getFooter:$,getFocusableElements:q,getValidationMessage:z,isLoading:function(){return I().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return l(this,e)},mixin:function(t){return pt(function(i){function s(){return e(this,s),c(this,o(s).apply(this,arguments))}return r(s,i),n(s,[{key:"_main",value:function(e){return d(o(s.prototype),"_main",this).call(this,a({},t,e))}}]),s}(this))},queue:function(t){var e=this;_t=t;var i=function(){_t=[],document.body.removeAttribute("data-swal2-queue-step")},n=[];return new Promise(function(t){!function a(r,o){r<_t.length?(document.body.setAttribute("data-swal2-queue-step",r),e(_t[r]).then(function(e){void 0!==e.value?(n.push(e.value),a(r+1,o)):(i(),t({dismiss:e.dismiss}))})):(i(),t({value:n}))}(0)})},getQueueStep:function(){return document.body.getAttribute("data-swal2-queue-step")},insertQueueStep:function(t,e){return e&&e<_t.length?_t.splice(e,0,t):_t.push(t)},deleteQueueStep:function(t){void 0!==_t[t]&&_t.splice(t,1)},showLoading:kt,enableLoading:kt,getTimerLeft:function(){return dt.timeout&&dt.timeout.getTimerLeft()},stopTimer:function(){return dt.timeout&&dt.timeout.stop()},resumeTimer:function(){return dt.timeout&&dt.timeout.start()},toggleTimer:function(){var t=dt.timeout;return t&&(t.running?t.stop():t.start())},increaseTimer:function(t){return dt.timeout&&dt.timeout.increase(t)},isTimerRunning:function(){return dt.timeout&&dt.timeout.isRunning()}}),Mt="function"==typeof Symbol?Symbol:function(){var t=0;function e(e){return"__"+e+"_"+Math.floor(1e9*Math.random())+"_"+ ++t+"__"}return e.iterator=e("Symbol.iterator"),e}(),Ct="function"==typeof WeakMap?WeakMap:function(t,e,i){function n(){e(this,t,{value:Mt("WeakMap")})}return n.prototype={delete:function(e){delete e[this[t]]},get:function(e){return e[this[t]]},has:function(e){return i.call(e,this[t])},set:function(i,n){e(i,this[t],{configurable:!0,value:n})}},n}(Mt("WeakMap"),Object.defineProperty,{}.hasOwnProperty),Tt={promise:new Ct,innerParams:new Ct,domCache:new Ct};function Dt(){var t=Tt.innerParams.get(this),e=Tt.domCache.get(this);t.showConfirmButton||(A(e.confirmButton),t.showCancelButton||A(e.actions)),D([e.popup,e.actions],x.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}function Lt(t){var e=Tt.domCache.get(this);e.validationMessage.innerHTML=t;var i=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(i.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(i.getPropertyValue("padding-right")),E(e.validationMessage);var n=this.getInput();n&&(n.setAttribute("aria-invalid",!0),n.setAttribute("aria-describedBy",x["validation-message"]),M(n),T(n,x.inputerror))}function Et(){var t=Tt.domCache.get(this);t.validationMessage&&A(t.validationMessage);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),D(e,x.inputerror))}var At,Pt=function t(i,n){e(this,t);var a,r,o=n;this.running=!1,this.start=function(){return this.running||(this.running=!0,r=new Date,a=setTimeout(i,o)),o},this.stop=function(){return this.running&&(this.running=!1,clearTimeout(a),o-=new Date-r),o},this.increase=function(t){var e=this.running;return e&&this.stop(),o+=t,e&&this.start(),o},this.getTimerLeft=function(){return this.running&&(this.stop(),this.start()),o},this.isRunning=function(){return this.running},this.start()},Yt={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&\/\/=]*)$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid URL")}},Ot=function(t){var e=Y(),i=I();null!==t.onBeforeOpen&&"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(i),t.animation?(T(i,x.show),T(e,x.fade),D(i,x.hide)):D(i,x.fade),E(i),e.style.overflowY="hidden",tt&&!S(i,x.noanimation)?i.addEventListener(tt,function t(){i.removeEventListener(tt,t),e.style.overflowY="auto"}):e.style.overflowY="auto",T([document.documentElement,document.body,e],x.shown),t.heightAuto&&t.backdrop&&!t.toast&&T([document.documentElement,document.body],x["height-auto"]),U()&&(st(),function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!S(document.body,x.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",T(document.body,x.iosfix)}}(),"undefined"!=typeof window&&lt()&&(ct(),window.addEventListener("resize",ct)),u(document.body.children).forEach(function(t){t===Y()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,Y())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),setTimeout(function(){e.scrollTop=0})),G()||dt.previousActiveElement||(dt.previousActiveElement=document.activeElement),null!==t.onOpen&&"function"==typeof t.onOpen&&setTimeout(function(){t.onOpen(i)})},It=Object.freeze({hideLoading:Dt,disableLoading:Dt,getInput:function(t){var e=Tt.innerParams.get(this),i=Tt.domCache.get(this);if(!(t=t||e.input))return null;switch(t){case"select":case"textarea":case"file":return L(i.content,x[t]);case"checkbox":return i.popup.querySelector(".".concat(x.checkbox," input"));case"radio":return i.popup.querySelector(".".concat(x.radio," input:checked"))||i.popup.querySelector(".".concat(x.radio," input:first-child"));case"range":return i.popup.querySelector(".".concat(x.range," input"));default:return L(i.content,x.input)}},enableButtons:function(){var t=Tt.domCache.get(this);t.confirmButton.disabled=!1,t.cancelButton.disabled=!1},disableButtons:function(){var t=Tt.domCache.get(this);t.confirmButton.disabled=!0,t.cancelButton.disabled=!0},enableConfirmButton:function(){Tt.domCache.get(this).confirmButton.disabled=!1},disableConfirmButton:function(){Tt.domCache.get(this).confirmButton.disabled=!0},enableInput:function(){var t=this.getInput();if(!t)return!1;if("radio"===t.type)for(var e=t.parentNode.parentNode,i=e.querySelectorAll("input"),n=0;n<i.length;n++)i[n].disabled=!1;else t.disabled=!1},disableInput:function(){var t=this.getInput();if(!t)return!1;if(t&&"radio"===t.type)for(var e=t.parentNode.parentNode,i=e.querySelectorAll("input"),n=0;n<i.length;n++)i[n].disabled=!0;else t.disabled=!0},showValidationMessage:Lt,resetValidationMessage:Et,resetValidationError:function(){m("Swal.resetValidationError() is deprecated and will be removed in the next major release, use Swal.resetValidationMessage() instead"),Et.bind(this)()},showValidationError:function(t){m("Swal.showValidationError() is deprecated and will be removed in the next major release, use Swal.showValidationMessage() instead"),Lt.bind(this)(t)},getProgressSteps:function(){return Tt.innerParams.get(this).progressSteps},setProgressSteps:function(t){var e=a({},Tt.innerParams.get(this),{progressSteps:t});Tt.innerParams.set(this,e),rt(e)},showProgressSteps:function(){var t=Tt.domCache.get(this);E(t.progressSteps)},hideProgressSteps:function(){var t=Tt.domCache.get(this);A(t.progressSteps)},_main:function(e){var i=this;bt(e);var n=a({},ft,e);(function(e){e.inputValidator||Object.keys(Yt).forEach(function(t){e.input===t&&(e.inputValidator=e.expectRejections?Yt[t]:jt.adaptInputValidator(Yt[t]))}),e.validationMessage&&("object"!==t(e.extraParams)&&(e.extraParams={}),e.extraParams.validationMessage=e.validationMessage),(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(p('Target parameter is not valid, defaulting to "body"'),e.target="body"),"function"==typeof e.animation&&(e.animation=e.animation.call());var i,n=I(),a="string"==typeof e.target?document.querySelector(e.target):e.target;i=n&&a&&n.parentNode!==a.parentNode?K(e):n||K(e),e.width&&(i.style.width="number"==typeof e.width?e.width+"px":e.width),e.padding&&(i.style.padding="number"==typeof e.padding?e.padding+"px":e.padding),e.background&&(i.style.background=e.background);for(var r=window.getComputedStyle(i).getPropertyValue("background-color"),o=i.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),s=0;s<o.length;s++)o[s].style.backgroundColor=r;var l=Y(),c=X(),d=$();if(ot(e),it(e),"string"==typeof e.backdrop?Y().style.background=e.backdrop:e.backdrop||T([document.documentElement,document.body],x["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&p('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.position in x?T(l,x[e.position]):(p('The "position" parameter is not valid, defaulting to "center"'),T(l,x.center)),e.grow&&"string"==typeof e.grow){var u="grow-"+e.grow;u in x&&T(l,x[u])}e.showCloseButton?(c.setAttribute("aria-label",e.closeButtonAriaLabel),E(c)):A(c),i.className=x.popup,e.toast?(T([document.documentElement,document.body],x["toast-shown"]),T(i,x.toast)):T(i,x.modal),e.customClass&&T(i,e.customClass),e.customContainerClass&&T(l,e.customContainerClass),rt(e),nt(e),at(e),et(e),Q(e.footer,d),!0===e.animation?D(i,x.noanimation):T(i,x.noanimation),e.showLoaderOnConfirm&&!e.preConfirm&&p("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request")})(n),Object.freeze(n),Tt.innerParams.set(this,n),dt.timeout&&(dt.timeout.stop(),delete dt.timeout),clearTimeout(dt.restoreFocusTimeout);var r={popup:I(),container:Y(),content:N(),actions:V(),confirmButton:W(),cancelButton:B(),closeButton:X(),validationMessage:z(),progressSteps:F()};Tt.domCache.set(this,r);var o=this.constructor;return new Promise(function(e,a){var s=function(t){o.closePopup(n.onClose,n.onAfterClose),n.useRejections?e(t):e({value:t})},l=function(t){o.closePopup(n.onClose,n.onAfterClose),n.useRejections?a(t):e({dismiss:t})},c=function(t){o.closePopup(n.onClose,n.onAfterClose),a(t)};n.timer&&(dt.timeout=new Pt(function(){l("timer"),delete dt.timeout},n.timer)),n.input&&setTimeout(function(){var t=i.getInput();t&&M(t)},0);for(var d=function(t){if(n.showLoaderOnConfirm&&o.showLoading(),n.preConfirm){i.resetValidationMessage();var e=Promise.resolve().then(function(){return n.preConfirm(t,n.extraParams)});n.expectRejections?e.then(function(e){return s(e||t)},function(t){i.hideLoading(),t&&i.showValidationMessage(t)}):e.then(function(e){P(r.validationMessage)||!1===e?i.hideLoading():s(e||t)},function(t){return c(t)})}else s(t)},u=function(t){var e=t.target,a=r.confirmButton,s=r.cancelButton,u=a&&(a===e||a.contains(e)),h=s&&(s===e||s.contains(e));switch(t.type){case"click":if(u&&o.isVisible())if(i.disableButtons(),n.input){var p=function(){var t=i.getInput();if(!t)return null;switch(n.input){case"checkbox":return t.checked?1:0;case"radio":return t.checked?t.value:null;case"file":return t.files.length?t.files[0]:null;default:return n.inputAutoTrim?t.value.trim():t.value}}();if(n.inputValidator){i.disableInput();var f=Promise.resolve().then(function(){return n.inputValidator(p,n.extraParams)});n.expectRejections?f.then(function(){i.enableButtons(),i.enableInput(),d(p)},function(t){i.enableButtons(),i.enableInput(),t&&i.showValidationMessage(t)}):f.then(function(t){i.enableButtons(),i.enableInput(),t?i.showValidationMessage(t):d(p)},function(t){return c(t)})}else i.getInput().checkValidity()?d(p):(i.enableButtons(),i.showValidationMessage(n.validationMessage))}else d(!0);else h&&o.isVisible()&&(i.disableButtons(),l(o.DismissReason.cancel))}},g=r.popup.querySelectorAll("button"),m=0;m<g.length;m++)g[m].onclick=u,g[m].onmouseover=u,g[m].onmouseout=u,g[m].onmousedown=u;if(r.closeButton.onclick=function(){l(o.DismissReason.close)},n.toast)r.popup.onclick=function(){n.showConfirmButton||n.showCancelButton||n.showCloseButton||n.input||l(o.DismissReason.close)};else{var b=!1;r.popup.onmousedown=function(){r.container.onmouseup=function(t){r.container.onmouseup=void 0,t.target===r.container&&(b=!0)}},r.container.onmousedown=function(){r.popup.onmouseup=function(t){r.popup.onmouseup=void 0,(t.target===r.popup||r.popup.contains(t.target))&&(b=!0)}},r.container.onclick=function(t){b?b=!1:t.target===r.container&&v(n.allowOutsideClick)&&l(o.DismissReason.backdrop)}}n.reverseButtons?r.confirmButton.parentNode.insertBefore(r.cancelButton,r.confirmButton):r.confirmButton.parentNode.insertBefore(r.confirmButton,r.cancelButton);var w=function(t,e){for(var i=q(n.focusCancel),a=0;a<i.length;a++)return(t+=e)===i.length?t=0:-1===t&&(t=i.length-1),i[t].focus();r.popup.focus()};dt.keydownHandlerAdded&&(dt.keydownTarget.removeEventListener("keydown",dt.keydownHandler,{capture:dt.keydownListenerCapture}),dt.keydownHandlerAdded=!1),n.toast||(dt.keydownHandler=function(t){return function(t,e){if(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"!==t.key||t.isComposing)if("Tab"===t.key){for(var n=t.target,a=q(e.focusCancel),s=-1,c=0;c<a.length;c++)if(n===a[c]){s=c;break}t.shiftKey?w(s,-1):w(s,1),t.stopPropagation(),t.preventDefault()}else-1!==["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"].indexOf(t.key)?document.activeElement===r.confirmButton&&P(r.cancelButton)?r.cancelButton.focus():document.activeElement===r.cancelButton&&P(r.confirmButton)&&r.confirmButton.focus():"Escape"!==t.key&&"Esc"!==t.key||!0!==v(e.allowEscapeKey)||(t.preventDefault(),l(o.DismissReason.esc));else if(t.target&&i.getInput()&&t.target.outerHTML===i.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(e.input))return;o.clickConfirm(),t.preventDefault()}}(t,n)},dt.keydownTarget=n.keydownListenerCapture?window:r.popup,dt.keydownListenerCapture=n.keydownListenerCapture,dt.keydownTarget.addEventListener("keydown",dt.keydownHandler,{capture:dt.keydownListenerCapture}),dt.keydownHandlerAdded=!0),i.enableButtons(),i.hideLoading(),i.resetValidationMessage(),n.toast&&(n.input||n.footer||n.showCloseButton)?T(document.body,x["toast-column"]):D(document.body,x["toast-column"]);for(var _,k,S=["input","file","range","select","radio","checkbox","textarea"],C=function(t){t.placeholder&&!n.inputPlaceholder||(t.placeholder=n.inputPlaceholder)},Y=0;Y<S.length;Y++){var O=x[S[Y]],I=L(r.content,O);if(_=i.getInput(S[Y])){for(var H in _.attributes)if(_.attributes.hasOwnProperty(H)){var R=_.attributes[H].name;"type"!==R&&"value"!==R&&_.removeAttribute(R)}for(var N in n.inputAttributes)"range"===S[Y]&&"placeholder"===N||_.setAttribute(N,n.inputAttributes[N])}I.className=O,n.inputClass&&T(I,n.inputClass),A(I)}switch(n.input){case"text":case"email":case"password":case"number":case"tel":case"url":_=L(r.content,x.input),"string"==typeof n.inputValue||"number"==typeof n.inputValue?_.value=n.inputValue:y(n.inputValue)||p('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(t(n.inputValue),'"')),C(_),_.type=n.input,E(_);break;case"file":_=L(r.content,x.file),C(_),_.type=n.input,E(_);break;case"range":var j=L(r.content,x.range),F=j.querySelector("input"),z=j.querySelector("output");F.value=n.inputValue,F.type=n.input,z.value=n.inputValue,E(j);break;case"select":var W=L(r.content,x.select);if(W.innerHTML="",n.inputPlaceholder){var B=document.createElement("option");B.innerHTML=n.inputPlaceholder,B.value="",B.disabled=!0,B.selected=!0,W.appendChild(B)}k=function(t){t.forEach(function(t){var e=t[0],i=t[1],a=document.createElement("option");a.value=e,a.innerHTML=i,n.inputValue.toString()===e.toString()&&(a.selected=!0),W.appendChild(a)}),E(W),W.focus()};break;case"radio":var V=L(r.content,x.radio);V.innerHTML="",k=function(t){t.forEach(function(t){var e=t[0],i=t[1],a=document.createElement("input"),r=document.createElement("label");a.type="radio",a.name=x.radio,a.value=e,n.inputValue.toString()===e.toString()&&(a.checked=!0);var o=document.createElement("span");o.innerHTML=i,o.className=x.label,r.appendChild(a),r.appendChild(o),V.appendChild(r)}),E(V);var e=V.querySelectorAll("input");e.length&&e[0].focus()};break;case"checkbox":var $=L(r.content,x.checkbox),X=i.getInput("checkbox");X.type="checkbox",X.value=1,X.id=x.checkbox,X.checked=Boolean(n.inputValue);var U=$.querySelector("span");U.innerHTML=n.inputPlaceholder,E($);break;case"textarea":var G=L(r.content,x.textarea);G.value=n.inputValue,C(G),E(G);break;case null:break;default:f('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(n.input,'"'))}if("select"===n.input||"radio"===n.input){var Z=function(t){return k(h(t))};y(n.inputOptions)?(o.showLoading(),n.inputOptions.then(function(t){i.hideLoading(),Z(t)})):"object"===t(n.inputOptions)?Z(n.inputOptions):f("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions)))}else-1!==["text","email","number","tel","textarea"].indexOf(n.input)&&y(n.inputValue)&&(o.showLoading(),A(_),n.inputValue.then(function(t){_.value="number"===n.input?parseFloat(t)||0:t+"",E(_),_.focus(),i.hideLoading()}).catch(function(t){f("Error in inputValue promise: "+t),_.value="",E(_),_.focus(),i.hideLoading()}));Ot(n),n.toast||(v(n.allowEnterKey)?n.focusCancel&&P(r.cancelButton)?r.cancelButton.focus():n.focusConfirm&&P(r.confirmButton)?r.confirmButton.focus():w(-1,1):document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()),r.container.scrollTop=0})}});function Ht(){if("undefined"!=typeof window){"undefined"==typeof Promise&&f("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),At=this;for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:n,writable:!1,enumerable:!0}});var a=this._main(this.params);Tt.promise.set(this,a)}}Ht.prototype.then=function(t,e){var i=Tt.promise.get(this);return i.then(t,e)},Ht.prototype.catch=function(t){var e=Tt.promise.get(this);return e.catch(t)},Ht.prototype.finally=function(t){var e=Tt.promise.get(this);return e.finally(t)},a(Ht.prototype,It),a(Ht,St),Object.keys(It).forEach(function(t){Ht[t]=function(){var e;if(At)return(e=At)[t].apply(e,arguments)}}),Ht.DismissReason=b,Ht.noop=function(){};var Rt,Nt,jt=pt((Nt=function(i){function s(){return e(this,s),c(this,o(s).apply(this,arguments))}return r(s,i),n(s,[{key:"_main",value:function(t){return d(o(s.prototype),"_main",this).call(this,a({},xt,t))}}],[{key:"setDefaults",value:function(e){if(m(wt),!e||"object"!==t(e))throw new TypeError("SweetAlert2: The argument for setDefaults() is required and has to be a object");bt(e),Object.keys(e).forEach(function(t){Rt.isValidParameter(t)&&(xt[t]=e[t])})}},{key:"resetDefaults",value:function(){m(wt),xt={}}}]),s}(Rt=Ht),"undefined"!=typeof window&&"object"===t(window._swalDefaults)&&Nt.setDefaults(window._swalDefaults),Nt));return jt.default=jt,jt}(),"undefined"!=typeof window&&window.Sweetalert2&&(window.Sweetalert2.version="7.33.1",window.swal=window.sweetAlert=window.Swal=window.SweetAlert=window.Sweetalert2),"undefined"!=typeof document&&function(t,e){var i=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(i),i.styleSheet)i.styleSheet.disabled||(i.styleSheet.cssText=e);else try{i.innerHTML=e}catch(t){i.innerText=e}}(document,"@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;box-shadow:0 0 .625em #d9d9d9;overflow-y:hidden}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon-text{font-size:2em;font-weight:700;line-height:1em}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:2em;height:2.8125em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.25em;left:-.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 2em;transform-origin:0 2em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:showSweetToast .5s;animation:showSweetToast .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:hideSweetToast .2s forwards;animation:hideSweetToast .2s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:animate-toast-success-tip .75s;animation:animate-toast-success-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:animate-toast-success-long .75s;animation:animate-toast-success-long .75s}@-webkit-keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@-webkit-keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;margin:1em auto;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center;content:'!';zoom:normal}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}")},function(t,e,i){"use strict";var n,a={noop:function(){},uid:(n=0,function(){return n++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,i){return a.valueOrDefault(a.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)},each:function(t,e,i,n){var r,o,s;if(a.isArray(t))if(o=t.length,n)for(r=o-1;r>=0;r--)e.call(i,t[r],r);else for(r=0;r<o;r++)e.call(i,t[r],r);else if(a.isObject(t))for(o=(s=Object.keys(t)).length,r=0;r<o;r++)e.call(i,t[s[r]],s[r])},arrayEquals:function(t,e){var i,n,r,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,n=t.length;i<n;++i)if(r=t[i],o=e[i],r instanceof Array&&o instanceof Array){if(!a.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(t){if(a.isArray(t))return t.map(a.clone);if(a.isObject(t)){for(var e={},i=Object.keys(t),n=i.length,r=0;r<n;++r)e[i[r]]=a.clone(t[i[r]]);return e}return t},_merger:function(t,e,i,n){var r=e[t],o=i[t];a.isObject(r)&&a.isObject(o)?a.merge(r,o,n):e[t]=a.clone(o)},_mergerIf:function(t,e,i){var n=e[t],r=i[t];a.isObject(n)&&a.isObject(r)?a.mergeIf(n,r):e.hasOwnProperty(t)||(e[t]=a.clone(r))},merge:function(t,e,i){var n,r,o,s,l,c=a.isArray(e)?e:[e],d=c.length;if(!a.isObject(t))return t;for(n=(i=i||{}).merger||a._merger,r=0;r<d;++r)if(e=c[r],a.isObject(e))for(l=0,s=(o=Object.keys(e)).length;l<s;++l)n(o[l],t,e,i);return t},mergeIf:function(t,e){return a.merge(t,e,{merger:a._mergerIf})},extend:function(t){for(var e=function(e,i){t[i]=e},i=1,n=arguments.length;i<n;++i)a.each(arguments[i],e);return t},inherits:function(t){var e=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},n=function(){this.constructor=i};return n.prototype=e.prototype,i.prototype=new n,i.extend=a.inherits,t&&a.extend(i.prototype,t),i.__super__=e.prototype,i}};t.exports=a,a.callCallback=a.callback,a.indexOf=function(t,e,i){return Array.prototype.indexOf.call(t,e,i)},a.getValueOrDefault=a.valueOrDefault,a.getValueAtIndexOrDefault=a.valueAtIndexOrDefault},function(t,e,i){var n,a;
/*! DataTables 1.10.19
 * ©2008-2018 SpryMedia Ltd - datatables.net/license
 */
/*! DataTables 1.10.19
 * ©2008-2018 SpryMedia Ltd - datatables.net/license
 */
!function(r){"use strict";n=[i(0)],void 0===(a=function(t){return function(t,e,i,n){var a,r,o,s,l=function(e){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new r(t?re(this[a.iApiIndex]):this)},this.fnAddData=function(e,i){var a=this.api(!0),r=t.isArray(e)&&(t.isArray(e[0])||t.isPlainObject(e[0]))?a.rows.add(e):a.row.add(e);return(i===n||i)&&a.draw(),r.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),i=e.settings()[0],a=i.oScroll;t===n||t?e.draw(!1):""===a.sX&&""===a.sY||zt(i)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===n||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,i){var a=this.api(!0),r=a.rows(t),o=r.settings()[0],s=o.aoData[r[0][0]];return r.remove(),e&&e.call(this,o,s),(i===n||i)&&a.draw(),s},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,i,a,r,o){var s=this.api(!0);null===e||e===n?s.search(t,i,a,o):s.column(e).search(t,i,a,o),s.draw()},this.fnGetData=function(t,e){var i=this.api(!0);if(t!==n){var a=t.nodeName?t.nodeName.toLowerCase():"";return e!==n||"td"==a||"th"==a?i.cell(t,e).data():i.row(t).data()||null}return i.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==n?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),i=t.nodeName.toUpperCase();if("TR"==i)return e.row(t).index();if("TD"==i||"TH"==i){var n=e.cell(t).index();return[n.row,n.columnVisible,n.column]}return null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,i){return this.api(!0).row(t).child(e,i).show().child()[0]},this.fnPageChange=function(t,e){var i=this.api(!0).page(t);(e===n||e)&&i.draw(!1)},this.fnSetColumnVis=function(t,e,i){var a=this.api(!0).column(t).visible(e);(i===n||i)&&a.columns.adjust().draw()},this.fnSettings=function(){return re(this[a.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,i){this.api(!0).order.listener(t,e,i)},this.fnUpdate=function(t,e,i,a,r){var o=this.api(!0);return i===n||null===i?o.row(e).data(t):o.cell(e,i).data(t),(r===n||r)&&o.columns.adjust(),(a===n||a)&&o.draw(),0},this.fnVersionCheck=a.fnVersionCheck;var i=this,o=e===n,s=this.length;for(var c in o&&(e={}),this.oApi=this.internal=a.internal,l.ext.internal)c&&(this[c]=Pe(c));return this.each(function(){var a,r=s>1?le({},e,!0):e,c=0,d=this.getAttribute("id"),u=!1,h=l.defaults,p=t(this);if("table"==this.nodeName.toLowerCase()){E(h),A(h.column),T(h,h,!0),T(h.column,h.column,!0),T(h,t.extend(r,p.data()));var f=l.settings;for(c=0,a=f.length;c<a;c++){var g=f[c];if(g.nTable==this||g.nTHead&&g.nTHead.parentNode==this||g.nTFoot&&g.nTFoot.parentNode==this){var m=r.bRetrieve!==n?r.bRetrieve:h.bRetrieve,v=r.bDestroy!==n?r.bDestroy:h.bDestroy;if(o||m)return g.oInstance;if(v){g.oInstance.fnDestroy();break}return void oe(g,0,"Cannot reinitialise DataTable",3)}if(g.sTableId==this.id){f.splice(c,1);break}}null!==d&&""!==d||(d="DataTables_Table_"+l.ext._unique++,this.id=d);var y=t.extend(!0,{},l.models.oSettings,{sDestroyWidth:p[0].style.width,sInstance:d,sTableId:d});y.nTable=this,y.oApi=i.internal,y.oInit=r,f.push(y),y.oInstance=1===i.length?i:p.dataTable(),E(r),D(r.oLanguage),r.aLengthMenu&&!r.iDisplayLength&&(r.iDisplayLength=t.isArray(r.aLengthMenu[0])?r.aLengthMenu[0][0]:r.aLengthMenu[0]),r=le(t.extend(!0,{},h),r),se(y.oFeatures,r,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),se(y,r,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),se(y.oScroll,r,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),se(y.oLanguage,r,"fnInfoCallback"),de(y,"aoDrawCallback",r.fnDrawCallback,"user"),de(y,"aoServerParams",r.fnServerParams,"user"),de(y,"aoStateSaveParams",r.fnStateSaveParams,"user"),de(y,"aoStateLoadParams",r.fnStateLoadParams,"user"),de(y,"aoStateLoaded",r.fnStateLoaded,"user"),de(y,"aoRowCallback",r.fnRowCallback,"user"),de(y,"aoRowCreatedCallback",r.fnCreatedRow,"user"),de(y,"aoHeaderCallback",r.fnHeaderCallback,"user"),de(y,"aoFooterCallback",r.fnFooterCallback,"user"),de(y,"aoInitComplete",r.fnInitComplete,"user"),de(y,"aoPreDrawCallback",r.fnPreDrawCallback,"user"),y.rowIdFn=Z(r.rowId),P(y);var b=y.oClasses;if(t.extend(b,l.ext.classes,r.oClasses),p.addClass(b.sTable),y.iInitDisplayStart===n&&(y.iInitDisplayStart=r.iDisplayStart,y._iDisplayStart=r.iDisplayStart),null!==r.iDeferLoading){y.bDeferLoading=!0;var w=t.isArray(r.iDeferLoading);y._iRecordsDisplay=w?r.iDeferLoading[0]:r.iDeferLoading,y._iRecordsTotal=w?r.iDeferLoading[1]:r.iDeferLoading}var x=y.oLanguage;t.extend(!0,x,r.oLanguage),x.sUrl&&(t.ajax({dataType:"json",url:x.sUrl,success:function(e){D(e),T(h.oLanguage,e),t.extend(!0,x,e),Pt(y)},error:function(){Pt(y)}}),u=!0),null===r.asStripeClasses&&(y.asStripeClasses=[b.sStripeOdd,b.sStripeEven]);var _=y.asStripeClasses,k=p.children("tbody").find("tr").eq(0);-1!==t.inArray(!0,t.map(_,function(t,e){return k.hasClass(t)}))&&(t("tbody tr",this).removeClass(_.join(" ")),y.asDestroyStripes=_.slice());var S,M=[],C=this.getElementsByTagName("thead");if(0!==C.length&&(dt(y.aoHeader,C[0]),M=ut(y)),null===r.aoColumns)for(S=[],c=0,a=M.length;c<a;c++)S.push(null);else S=r.aoColumns;for(c=0,a=S.length;c<a;c++)O(y,M?M[c]:null);if(W(y,r.aoColumnDefs,S,function(t,e){I(y,t,e)}),k.length){var L=function(t,e){return null!==t.getAttribute("data-"+e)?e:null};t(k[0]).children("th, td").each(function(t,e){var i=y.aoColumns[t];if(i.mData===t){var a=L(e,"sort")||L(e,"order"),r=L(e,"filter")||L(e,"search");null===a&&null===r||(i.mData={_:t+".display",sort:null!==a?t+".@data-"+a:n,type:null!==a?t+".@data-"+a:n,filter:null!==r?t+".@data-"+r:n},I(y,t))}})}var Y=y.oFeatures,H=function(){if(r.aaSorting===n){var e=y.aaSorting;for(c=0,a=e.length;c<a;c++)e[c][1]=y.aoColumns[c].asSorting[0]}ee(y),Y.bSort&&de(y,"aoDrawCallback",function(){if(y.bSorted){var e=Zt(y),i={};t.each(e,function(t,e){i[e.src]=e.dir}),ue(y,null,"order",[y,e,i]),Kt(y)}}),de(y,"aoDrawCallback",function(){(y.bSorted||"ssp"===fe(y)||Y.bDeferRender)&&ee(y)},"sc");var i=p.children("caption").each(function(){this._captionSide=t(this).css("caption-side")}),o=p.children("thead");0===o.length&&(o=t("<thead/>").appendTo(p)),y.nTHead=o[0];var s=p.children("tbody");0===s.length&&(s=t("<tbody/>").appendTo(p)),y.nTBody=s[0];var l=p.children("tfoot");if(0===l.length&&i.length>0&&(""!==y.oScroll.sX||""!==y.oScroll.sY)&&(l=t("<tfoot/>").appendTo(p)),0===l.length||0===l.children().length?p.addClass(b.sNoFooter):l.length>0&&(y.nTFoot=l[0],dt(y.aoFooter,y.nTFoot)),r.aaData)for(c=0;c<r.aaData.length;c++)B(y,r.aaData[c]);else(y.bDeferLoading||"dom"==fe(y))&&V(y,t(y.nTBody).children("tr"));y.aiDisplay=y.aiDisplayMaster.slice(),y.bInitialised=!0,!1===u&&Pt(y)};r.bStateSave?(Y.bStateSave=!0,de(y,"aoDrawCallback",ne,"state_save"),ae(y,r,H)):H()}else oe(null,0,"Non-table node initialisation ("+this.nodeName+")",2)}),i=null,this},c={},d=/[\r\n]/g,u=/<.*?>/g,h=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,p=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),f=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,g=function(t){return!t||!0===t||"-"===t},m=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},v=function(t,e){return c[e]||(c[e]=new RegExp(kt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(c[e],"."):t},y=function(t,e,i){var n="string"==typeof t;return!!g(t)||(e&&n&&(t=v(t,e)),i&&n&&(t=t.replace(f,"")),!isNaN(parseFloat(t))&&isFinite(t))},b=function(t,e,i){if(g(t))return!0;var n=function(t){return g(t)||"string"==typeof t}(t);return n&&!!y(S(t),e,i)||null},w=function(t,e,i){var a=[],r=0,o=t.length;if(i!==n)for(;r<o;r++)t[r]&&t[r][e]&&a.push(t[r][e][i]);else for(;r<o;r++)t[r]&&a.push(t[r][e]);return a},x=function(t,e,i,a){var r=[],o=0,s=e.length;if(a!==n)for(;o<s;o++)t[e[o]][i]&&r.push(t[e[o]][i][a]);else for(;o<s;o++)r.push(t[e[o]][i]);return r},_=function(t,e){var i,a=[];e===n?(e=0,i=t):(i=e,e=t);for(var r=e;r<i;r++)a.push(r);return a},k=function(t){for(var e=[],i=0,n=t.length;i<n;i++)t[i]&&e.push(t[i]);return e},S=function(t){return t.replace(u,"")},M=function(t){if(function(t){if(t.length<2)return!0;for(var e=t.slice().sort(),i=e[0],n=1,a=e.length;n<a;n++){if(e[n]===i)return!1;i=e[n]}return!0}(t))return t.slice();var e,i,n,a=[],r=t.length,o=0;t:for(i=0;i<r;i++){for(e=t[i],n=0;n<o;n++)if(a[n]===e)continue t;a.push(e),o++}return a};function C(e){var i,n,a={};t.each(e,function(t,r){(i=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(i[1]+" ")&&(n=t.replace(i[0],i[2].toLowerCase()),a[n]=t,"o"===i[1]&&C(e[t]))}),e._hungarianMap=a}function T(e,i,a){var r;e._hungarianMap||C(e),t.each(i,function(o,s){(r=e._hungarianMap[o])===n||!a&&i[r]!==n||("o"===r.charAt(0)?(i[r]||(i[r]={}),t.extend(!0,i[r],i[o]),T(e[r],i[r],a)):i[r]=i[o])})}function D(t){var e=l.defaults.oLanguage,i=e.sDecimal;if(i&&Ee(i),t){var n=t.sZeroRecords;!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&se(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&se(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands);var a=t.sDecimal;a&&i!==a&&Ee(a)}}l.util={throttle:function(t,e){var i,a,r=e!==n?e:200;return function(){var e=this,o=+new Date,s=arguments;i&&o<i+r?(clearTimeout(a),a=setTimeout(function(){i=n,t.apply(e,s)},r)):(i=o,t.apply(e,s))}},escapeRegex:function(t){return t.replace(p,"\\$1")}};var L=function(t,e,i){t[e]!==n&&(t[i]=t[e])};function E(t){L(t,"ordering","bSort"),L(t,"orderMulti","bSortMulti"),L(t,"orderClasses","bSortClasses"),L(t,"orderCellsTop","bSortCellsTop"),L(t,"order","aaSorting"),L(t,"orderFixed","aaSortingFixed"),L(t,"paging","bPaginate"),L(t,"pagingType","sPaginationType"),L(t,"pageLength","iDisplayLength"),L(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var i=0,n=e.length;i<n;i++)e[i]&&T(l.models.oSearch,e[i])}function A(e){L(e,"orderable","bSortable"),L(e,"orderData","aDataSort"),L(e,"orderSequence","asSorting"),L(e,"orderDataType","sortDataType");var i=e.aDataSort;"number"!=typeof i||t.isArray(i)||(e.aDataSort=[i])}function P(i){if(!l.__browser){var n={};l.__browser=n;var a=t("<div/>").css({position:"fixed",top:0,left:-1*t(e).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(t("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(t("<div/>").css({width:"100%",height:10}))).appendTo("body"),r=a.children(),o=r.children();n.barWidth=r[0].offsetWidth-r[0].clientWidth,n.bScrollOversize=100===o[0].offsetWidth&&100!==r[0].clientWidth,n.bScrollbarLeft=1!==Math.round(o.offset().left),n.bBounding=!!a[0].getBoundingClientRect().width,a.remove()}t.extend(i.oBrowser,l.__browser),i.oScroll.iBarWidth=l.__browser.barWidth}function Y(t,e,i,a,r,o){var s,l=a,c=!1;for(i!==n&&(s=i,c=!0);l!==r;)t.hasOwnProperty(l)&&(s=c?e(s,t[l],l,t):t[l],c=!0,l+=o);return s}function O(e,n){var a=l.defaults.column,r=e.aoColumns.length,o=t.extend({},l.models.oColumn,a,{nTh:n||i.createElement("th"),sTitle:a.sTitle?a.sTitle:n?n.innerHTML:"",aDataSort:a.aDataSort?a.aDataSort:[r],mData:a.mData?a.mData:r,idx:r});e.aoColumns.push(o);var s=e.aoPreSearchCols;s[r]=t.extend({},l.models.oSearch,s[r]),I(e,r,t(n).data())}function I(e,i,a){var r=e.aoColumns[i],o=e.oClasses,s=t(r.nTh);if(!r.sWidthOrig){r.sWidthOrig=s.attr("width")||null;var c=(s.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);c&&(r.sWidthOrig=c[1])}a!==n&&null!==a&&(A(a),T(l.defaults.column,a),a.mDataProp===n||a.mData||(a.mData=a.mDataProp),a.sType&&(r._sManualType=a.sType),a.className&&!a.sClass&&(a.sClass=a.className),a.sClass&&s.addClass(a.sClass),t.extend(r,a),se(r,a,"sWidth","sWidthOrig"),a.iDataSort!==n&&(r.aDataSort=[a.iDataSort]),se(r,a,"aDataSort"));var d=r.mData,u=Z(d),h=r.mRender?Z(r.mRender):null,p=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};r._bAttrSrc=t.isPlainObject(d)&&(p(d.sort)||p(d.type)||p(d.filter)),r._setter=null,r.fnGetData=function(t,e,i){var a=u(t,e,n,i);return h&&e?h(a,e,t,i):a},r.fnSetData=function(t,e,i){return J(d)(t,e,i)},"number"!=typeof d&&(e._rowReadObject=!0),e.oFeatures.bSort||(r.bSortable=!1,s.addClass(o.sSortableNone));var f=-1!==t.inArray("asc",r.asSorting),g=-1!==t.inArray("desc",r.asSorting);r.bSortable&&(f||g)?f&&!g?(r.sSortingClass=o.sSortableAsc,r.sSortingClassJUI=o.sSortJUIAscAllowed):!f&&g?(r.sSortingClass=o.sSortableDesc,r.sSortingClassJUI=o.sSortJUIDescAllowed):(r.sSortingClass=o.sSortable,r.sSortingClassJUI=o.sSortJUI):(r.sSortingClass=o.sSortableNone,r.sSortingClassJUI="")}function H(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;Vt(t);for(var i=0,n=e.length;i<n;i++)e[i].nTh.style.width=e[i].sWidth}var a=t.oScroll;""===a.sY&&""===a.sX||zt(t),ue(t,null,"column-sizing",[t])}function R(t,e){var i=F(t,"bVisible");return"number"==typeof i[e]?i[e]:null}function N(e,i){var n=F(e,"bVisible"),a=t.inArray(i,n);return-1!==a?a:null}function j(e){var i=0;return t.each(e.aoColumns,function(e,n){n.bVisible&&"none"!==t(n.nTh).css("display")&&i++}),i}function F(e,i){var n=[];return t.map(e.aoColumns,function(t,e){t[i]&&n.push(e)}),n}function z(t){var e,i,a,r,o,s,c,d,u,h=t.aoColumns,p=t.aoData,f=l.ext.type.detect;for(e=0,i=h.length;e<i;e++)if(c=h[e],u=[],!c.sType&&c._sManualType)c.sType=c._sManualType;else if(!c.sType){for(a=0,r=f.length;a<r;a++){for(o=0,s=p.length;o<s&&(u[o]===n&&(u[o]=$(t,o,e,"type")),(d=f[a](u[o],t))||a===f.length-1)&&"html"!==d;o++);if(d){c.sType=d;break}}c.sType||(c.sType="string")}}function W(e,i,a,r){var o,s,l,c,d,u,h,p=e.aoColumns;if(i)for(o=i.length-1;o>=0;o--){var f=(h=i[o]).targets!==n?h.targets:h.aTargets;for(t.isArray(f)||(f=[f]),l=0,c=f.length;l<c;l++)if("number"==typeof f[l]&&f[l]>=0){for(;p.length<=f[l];)O(e);r(f[l],h)}else if("number"==typeof f[l]&&f[l]<0)r(p.length+f[l],h);else if("string"==typeof f[l])for(d=0,u=p.length;d<u;d++)("_all"==f[l]||t(p[d].nTh).hasClass(f[l]))&&r(d,h)}if(a)for(o=0,s=a.length;o<s;o++)r(o,a[o])}function B(e,i,a,r){var o=e.aoData.length,s=t.extend(!0,{},l.models.oRow,{src:a?"dom":"data",idx:o});s._aData=i,e.aoData.push(s);for(var c=e.aoColumns,d=0,u=c.length;d<u;d++)c[d].sType=null;e.aiDisplayMaster.push(o);var h=e.rowIdFn(i);return h!==n&&(e.aIds[h]=s),!a&&e.oFeatures.bDeferRender||nt(e,o,a,r),o}function V(e,i){var n;return i instanceof t||(i=t(i)),i.map(function(t,i){return n=it(e,i),B(e,n.data,i,n.cells)})}function $(t,e,i,a){var r=t.iDraw,o=t.aoColumns[i],s=t.aoData[e]._aData,l=o.sDefaultContent,c=o.fnGetData(s,a,{settings:t,row:e,col:i});if(c===n)return t.iDrawError!=r&&null===l&&(oe(t,0,"Requested unknown parameter "+("function"==typeof o.mData?"{function}":"'"+o.mData+"'")+" for row "+e+", column "+i,4),t.iDrawError=r),l;if(c!==s&&null!==c||null===l||a===n){if("function"==typeof c)return c.call(s)}else c=l;return null===c&&"display"==a?"":c}function X(t,e,i,n){var a=t.aoColumns[i],r=t.aoData[e]._aData;a.fnSetData(r,n,{settings:t,row:e,col:i})}var q=/\[.*?\]$/,U=/\(\)$/;function G(e){return t.map(e.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\\./g,".")})}function Z(e){if(t.isPlainObject(e)){var i={};return t.each(e,function(t,e){e&&(i[t]=Z(e))}),function(t,e,a,r){var o=i[e]||i._;return o!==n?o(t,e,a,r):t}}if(null===e)return function(t){return t};if("function"==typeof e)return function(t,i,n,a){return e(t,i,n,a)};if("string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("("))return function(t,i){return t[e]};var a=function(e,i,r){var o,s,l,c;if(""!==r)for(var d=G(r),u=0,h=d.length;u<h;u++){if(o=d[u].match(q),s=d[u].match(U),o){if(d[u]=d[u].replace(q,""),""!==d[u]&&(e=e[d[u]]),l=[],d.splice(0,u+1),c=d.join("."),t.isArray(e))for(var p=0,f=e.length;p<f;p++)l.push(a(e[p],i,c));var g=o[0].substring(1,o[0].length-1);e=""===g?l:l.join(g);break}if(s)d[u]=d[u].replace(U,""),e=e[d[u]]();else{if(null===e||e[d[u]]===n)return n;e=e[d[u]]}}return e};return function(t,i){return a(t,i,e)}}function J(e){if(t.isPlainObject(e))return J(e._);if(null===e)return function(){};if("function"==typeof e)return function(t,i,n){e(t,"set",i,n)};if("string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("("))return function(t,i){t[e]=i};var i=function(e,a,r){for(var o,s,l,c,d,u=G(r),h=u[u.length-1],p=0,f=u.length-1;p<f;p++){if(s=u[p].match(q),l=u[p].match(U),s){if(u[p]=u[p].replace(q,""),e[u[p]]=[],(o=u.slice()).splice(0,p+1),d=o.join("."),t.isArray(a))for(var g=0,m=a.length;g<m;g++)i(c={},a[g],d),e[u[p]].push(c);else e[u[p]]=a;return}l&&(u[p]=u[p].replace(U,""),e=e[u[p]](a)),null!==e[u[p]]&&e[u[p]]!==n||(e[u[p]]={}),e=e[u[p]]}h.match(U)?e=e[h.replace(U,"")](a):e[h.replace(q,"")]=a};return function(t,n){return i(t,n,e)}}function K(t){return w(t.aoData,"_aData")}function Q(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function tt(t,e,i){for(var a=-1,r=0,o=t.length;r<o;r++)t[r]==e?a=r:t[r]>e&&t[r]--;-1!=a&&i===n&&t.splice(a,1)}function et(t,e,i,a){var r,o,s=t.aoData[e],l=function(i,n){for(;i.childNodes.length;)i.removeChild(i.firstChild);i.innerHTML=$(t,e,n,"display")};if("dom"!==i&&(i&&"auto"!==i||"dom"!==s.src)){var c=s.anCells;if(c)if(a!==n)l(c[a],a);else for(r=0,o=c.length;r<o;r++)l(c[r],r)}else s._aData=it(t,s,a,a===n?n:s._aData).data;s._aSortData=null,s._aFilterData=null;var d=t.aoColumns;if(a!==n)d[a].sType=null;else{for(r=0,o=d.length;r<o;r++)d[r].sType=null;at(t,s)}}function it(e,i,a,r){var o,s,l,c=[],d=i.firstChild,u=0,h=e.aoColumns,p=e._rowReadObject;r=r!==n?r:p?{}:[];var f=function(t,e){if("string"==typeof t){var i=t.indexOf("@");if(-1!==i){var n=t.substring(i+1),a=J(t);a(r,e.getAttribute(n))}}},g=function(e){if(a===n||a===u)if(s=h[u],l=t.trim(e.innerHTML),s&&s._bAttrSrc){var i=J(s.mData._);i(r,l),f(s.mData.sort,e),f(s.mData.type,e),f(s.mData.filter,e)}else p?(s._setter||(s._setter=J(s.mData)),s._setter(r,l)):r[u]=l;u++};if(d)for(;d;)"TD"!=(o=d.nodeName.toUpperCase())&&"TH"!=o||(g(d),c.push(d)),d=d.nextSibling;else{c=i.anCells;for(var m=0,v=c.length;m<v;m++)g(c[m])}var y=i.firstChild?i:i.nTr;if(y){var b=y.getAttribute("id");b&&J(e.rowId)(r,b)}return{data:r,cells:c}}function nt(e,n,a,r){var o,s,l,c,d,u=e.aoData[n],h=u._aData,p=[];if(null===u.nTr){for(o=a||i.createElement("tr"),u.nTr=o,u.anCells=p,o._DT_RowIndex=n,at(e,u),c=0,d=e.aoColumns.length;c<d;c++)l=e.aoColumns[c],(s=a?r[c]:i.createElement(l.sCellType))._DT_CellIndex={row:n,column:c},p.push(s),a&&!l.mRender&&l.mData===c||t.isPlainObject(l.mData)&&l.mData._===c+".display"||(s.innerHTML=$(e,n,c,"display")),l.sClass&&(s.className+=" "+l.sClass),l.bVisible&&!a?o.appendChild(s):!l.bVisible&&a&&s.parentNode.removeChild(s),l.fnCreatedCell&&l.fnCreatedCell.call(e.oInstance,s,$(e,n,c),h,n,c);ue(e,"aoRowCreatedCallback",null,[o,h,n,p])}u.nTr.setAttribute("role","row")}function at(e,i){var n=i.nTr,a=i._aData;if(n){var r=e.rowIdFn(a);if(r&&(n.id=r),a.DT_RowClass){var o=a.DT_RowClass.split(" ");i.__rowc=i.__rowc?M(i.__rowc.concat(o)):o,t(n).removeClass(i.__rowc.join(" ")).addClass(a.DT_RowClass)}a.DT_RowAttr&&t(n).attr(a.DT_RowAttr),a.DT_RowData&&t(n).data(a.DT_RowData)}}function rt(e){var i,n,a,r,o,s=e.nTHead,l=e.nTFoot,c=0===t("th, td",s).length,d=e.oClasses,u=e.aoColumns;for(c&&(r=t("<tr/>").appendTo(s)),i=0,n=u.length;i<n;i++)o=u[i],a=t(o.nTh).addClass(o.sClass),c&&a.appendTo(r),e.oFeatures.bSort&&(a.addClass(o.sSortingClass),!1!==o.bSortable&&(a.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),te(e,o.nTh,i))),o.sTitle!=a[0].innerHTML&&a.html(o.sTitle),pe(e,"header")(e,a,o,d);if(c&&dt(e.aoHeader,s),t(s).find(">tr").attr("role","row"),t(s).find(">tr>th, >tr>td").addClass(d.sHeaderTH),t(l).find(">tr>th, >tr>td").addClass(d.sFooterTH),null!==l){var h=e.aoFooter[0];for(i=0,n=h.length;i<n;i++)(o=u[i]).nTf=h[i].cell,o.sClass&&t(o.nTf).addClass(o.sClass)}}function ot(e,i,a){var r,o,s,l,c,d,u,h,p,f=[],g=[],m=e.aoColumns.length;if(i){for(a===n&&(a=!1),r=0,o=i.length;r<o;r++){for(f[r]=i[r].slice(),f[r].nTr=i[r].nTr,s=m-1;s>=0;s--)e.aoColumns[s].bVisible||a||f[r].splice(s,1);g.push([])}for(r=0,o=f.length;r<o;r++){if(u=f[r].nTr)for(;d=u.firstChild;)u.removeChild(d);for(s=0,l=f[r].length;s<l;s++)if(h=1,p=1,g[r][s]===n){for(u.appendChild(f[r][s].cell),g[r][s]=1;f[r+h]!==n&&f[r][s].cell==f[r+h][s].cell;)g[r+h][s]=1,h++;for(;f[r][s+p]!==n&&f[r][s].cell==f[r][s+p].cell;){for(c=0;c<h;c++)g[r+c][s+p]=1;p++}t(f[r][s].cell).attr("rowspan",h).attr("colspan",p)}}}}function st(e){var i=ue(e,"aoPreDrawCallback","preDraw",[e]);if(-1===t.inArray(!1,i)){var a=[],r=0,o=e.asStripeClasses,s=o.length,l=(e.aoOpenRows.length,e.oLanguage),c=e.iInitDisplayStart,d="ssp"==fe(e),u=e.aiDisplay;e.bDrawing=!0,c!==n&&-1!==c&&(e._iDisplayStart=d?c:c>=e.fnRecordsDisplay()?0:c,e.iInitDisplayStart=-1);var h=e._iDisplayStart,p=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,jt(e,!1);else if(d){if(!e.bDestroying&&!pt(e))return}else e.iDraw++;if(0!==u.length)for(var f=d?0:h,g=d?e.aoData.length:p,m=f;m<g;m++){var v=u[m],y=e.aoData[v];null===y.nTr&&nt(e,v);var b=y.nTr;if(0!==s){var w=o[r%s];y._sRowStripe!=w&&(t(b).removeClass(y._sRowStripe).addClass(w),y._sRowStripe=w)}ue(e,"aoRowCallback",null,[b,y._aData,r,m,v]),a.push(b),r++}else{var x=l.sZeroRecords;1==e.iDraw&&"ajax"==fe(e)?x=l.sLoadingRecords:l.sEmptyTable&&0===e.fnRecordsTotal()&&(x=l.sEmptyTable),a[0]=t("<tr/>",{class:s?o[0]:""}).append(t("<td />",{valign:"top",colSpan:j(e),class:e.oClasses.sRowEmpty}).html(x))[0]}ue(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],K(e),h,p,u]),ue(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],K(e),h,p,u]);var _=t(e.nTBody);_.children().detach(),_.append(t(a)),ue(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}else jt(e,!1)}function lt(t,e){var i=t.oFeatures,n=i.bSort,a=i.bFilter;n&&Jt(t),a?yt(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,st(t),t._drawHold=!1}function ct(e){var i=e.oClasses,n=t(e.nTable),a=t("<div/>").insertBefore(n),r=e.oFeatures,o=t("<div/>",{id:e.sTableId+"_wrapper",class:i.sWrapper+(e.nTFoot?"":" "+i.sNoFooter)});e.nHolding=a[0],e.nTableWrapper=o[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var s,c,d,u,h,p,f=e.sDom.split(""),g=0;g<f.length;g++){if(s=null,"<"==(c=f[g])){if(d=t("<div/>")[0],"'"==(u=f[g+1])||'"'==u){for(h="",p=2;f[g+p]!=u;)h+=f[g+p],p++;if("H"==h?h=i.sJUIHeader:"F"==h&&(h=i.sJUIFooter),-1!=h.indexOf(".")){var m=h.split(".");d.id=m[0].substr(1,m[0].length-1),d.className=m[1]}else"#"==h.charAt(0)?d.id=h.substr(1,h.length-1):d.className=h;g+=p}o.append(d),o=t(d)}else if(">"==c)o=o.parent();else if("l"==c&&r.bPaginate&&r.bLengthChange)s=It(e);else if("f"==c&&r.bFilter)s=vt(e);else if("r"==c&&r.bProcessing)s=Nt(e);else if("t"==c)s=Ft(e);else if("i"==c&&r.bInfo)s=Lt(e);else if("p"==c&&r.bPaginate)s=Ht(e);else if(0!==l.ext.feature.length)for(var v=l.ext.feature,y=0,b=v.length;y<b;y++)if(c==v[y].cFeature){s=v[y].fnInit(e);break}if(s){var w=e.aanFeatures;w[c]||(w[c]=[]),w[c].push(s),o.append(s)}}a.replaceWith(o),e.nHolding=null}function dt(e,i){var n,a,r,o,s,l,c,d,u,h,p=t(i).children("tr"),f=function(t,e,i){for(var n=t[e];n[i];)i++;return i};for(e.splice(0,e.length),r=0,l=p.length;r<l;r++)e.push([]);for(r=0,l=p.length;r<l;r++)for(n=p[r],0,a=n.firstChild;a;){if("TD"==a.nodeName.toUpperCase()||"TH"==a.nodeName.toUpperCase())for(d=1*a.getAttribute("colspan"),u=1*a.getAttribute("rowspan"),d=d&&0!==d&&1!==d?d:1,u=u&&0!==u&&1!==u?u:1,c=f(e,r,0),h=1===d,s=0;s<d;s++)for(o=0;o<u;o++)e[r+o][c+s]={cell:a,unique:h},e[r+o].nTr=n;a=a.nextSibling}}function ut(t,e,i){var n=[];i||(i=t.aoHeader,e&&dt(i=[],e));for(var a=0,r=i.length;a<r;a++)for(var o=0,s=i[a].length;o<s;o++)!i[a][o].unique||n[o]&&t.bSortCellsTop||(n[o]=i[a][o].cell);return n}function ht(e,i,n){if(ue(e,"aoServerParams","serverParams",[i]),i&&t.isArray(i)){var a={},r=/(.*?)\[\]$/;t.each(i,function(t,e){var i=e.name.match(r);if(i){var n=i[0];a[n]||(a[n]=[]),a[n].push(e.value)}else a[e.name]=e.value}),i=a}var o,s=e.ajax,l=e.oInstance,c=function(t){ue(e,null,"xhr",[e,t,e.jqXHR]),n(t)};if(t.isPlainObject(s)&&s.data){var d="function"==typeof(o=s.data)?o(i,e):o;i="function"==typeof o&&d?d:t.extend(!0,i,d),delete s.data}var u={data:i,success:function(t){var i=t.error||t.sError;i&&oe(e,0,i),e.json=t,c(t)},dataType:"json",cache:!1,type:e.sServerMethod,error:function(i,n,a){var r=ue(e,null,"xhr",[e,null,e.jqXHR]);-1===t.inArray(!0,r)&&("parsererror"==n?oe(e,0,"Invalid JSON response",1):4===i.readyState&&oe(e,0,"Ajax error",7)),jt(e,!1)}};e.oAjaxData=i,ue(e,null,"preXhr",[e,i]),e.fnServerData?e.fnServerData.call(l,e.sAjaxSource,t.map(i,function(t,e){return{name:e,value:t}}),c,e):e.sAjaxSource||"string"==typeof s?e.jqXHR=t.ajax(t.extend(u,{url:s||e.sAjaxSource})):"function"==typeof s?e.jqXHR=s.call(l,i,c,e):(e.jqXHR=t.ajax(t.extend(u,s)),s.data=o)}function pt(t){return!t.bAjaxDataGet||(t.iDraw++,jt(t,!0),ht(t,ft(t),function(e){gt(t,e)}),!1)}function ft(e){var i,n,a,r,o=e.aoColumns,s=o.length,c=e.oFeatures,d=e.oPreviousSearch,u=e.aoPreSearchCols,h=[],p=Zt(e),f=e._iDisplayStart,g=!1!==c.bPaginate?e._iDisplayLength:-1,m=function(t,e){h.push({name:t,value:e})};m("sEcho",e.iDraw),m("iColumns",s),m("sColumns",w(o,"sName").join(",")),m("iDisplayStart",f),m("iDisplayLength",g);var v={draw:e.iDraw,columns:[],order:[],start:f,length:g,search:{value:d.sSearch,regex:d.bRegex}};for(i=0;i<s;i++)a=o[i],r=u[i],n="function"==typeof a.mData?"function":a.mData,v.columns.push({data:n,name:a.sName,searchable:a.bSearchable,orderable:a.bSortable,search:{value:r.sSearch,regex:r.bRegex}}),m("mDataProp_"+i,n),c.bFilter&&(m("sSearch_"+i,r.sSearch),m("bRegex_"+i,r.bRegex),m("bSearchable_"+i,a.bSearchable)),c.bSort&&m("bSortable_"+i,a.bSortable);c.bFilter&&(m("sSearch",d.sSearch),m("bRegex",d.bRegex)),c.bSort&&(t.each(p,function(t,e){v.order.push({column:e.col,dir:e.dir}),m("iSortCol_"+t,e.col),m("sSortDir_"+t,e.dir)}),m("iSortingCols",p.length));var y=l.ext.legacy.ajax;return null===y?e.sAjaxSource?h:v:y?h:v}function gt(t,e){var i=function(t,i){return e[t]!==n?e[t]:e[i]},a=mt(t,e),r=i("sEcho","draw"),o=i("iTotalRecords","recordsTotal"),s=i("iTotalDisplayRecords","recordsFiltered");if(r){if(1*r<t.iDraw)return;t.iDraw=1*r}Q(t),t._iRecordsTotal=parseInt(o,10),t._iRecordsDisplay=parseInt(s,10);for(var l=0,c=a.length;l<c;l++)B(t,a[l]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,st(t),t._bInitComplete||Yt(t,e),t.bAjaxDataGet=!0,jt(t,!1)}function mt(e,i){var a=t.isPlainObject(e.ajax)&&e.ajax.dataSrc!==n?e.ajax.dataSrc:e.sAjaxDataProp;return"data"===a?i.aaData||i[a]:""!==a?Z(a)(i):i}function vt(e){var n=e.oClasses,a=e.sTableId,r=e.oLanguage,o=e.oPreviousSearch,s=e.aanFeatures,l='<input type="search" class="'+n.sFilterInput+'"/>',c=r.sSearch;c=c.match(/_INPUT_/)?c.replace("_INPUT_",l):c+l;var d=t("<div/>",{id:s.f?null:a+"_filter",class:n.sFilter}).append(t("<label/>").append(c)),u=function(){s.f;var t=this.value?this.value:"";t!=o.sSearch&&(yt(e,{sSearch:t,bRegex:o.bRegex,bSmart:o.bSmart,bCaseInsensitive:o.bCaseInsensitive}),e._iDisplayStart=0,st(e))},h=null!==e.searchDelay?e.searchDelay:"ssp"===fe(e)?400:0,p=t("input",d).val(o.sSearch).attr("placeholder",r.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",h?$t(u,h):u).on("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",a);return t(e.nTable).on("search.dt.DT",function(t,n){if(e===n)try{p[0]!==i.activeElement&&p.val(o.sSearch)}catch(t){}}),d[0]}function yt(t,e,i){var a=t.oPreviousSearch,r=t.aoPreSearchCols,o=function(t){a.sSearch=t.sSearch,a.bRegex=t.bRegex,a.bSmart=t.bSmart,a.bCaseInsensitive=t.bCaseInsensitive},s=function(t){return t.bEscapeRegex!==n?!t.bEscapeRegex:t.bRegex};if(z(t),"ssp"!=fe(t)){xt(t,e.sSearch,i,s(e),e.bSmart,e.bCaseInsensitive),o(e);for(var l=0;l<r.length;l++)wt(t,r[l].sSearch,l,s(r[l]),r[l].bSmart,r[l].bCaseInsensitive);bt(t)}else o(e);t.bFiltered=!0,ue(t,null,"search",[t])}function bt(e){for(var i,n,a=l.ext.search,r=e.aiDisplay,o=0,s=a.length;o<s;o++){for(var c=[],d=0,u=r.length;d<u;d++)n=r[d],i=e.aoData[n],a[o](e,i._aFilterData,n,i._aData,d)&&c.push(n);r.length=0,t.merge(r,c)}}function wt(t,e,i,n,a,r){if(""!==e){for(var o,s=[],l=t.aiDisplay,c=_t(e,n,a,r),d=0;d<l.length;d++)o=t.aoData[l[d]]._aFilterData[i],c.test(o)&&s.push(l[d]);t.aiDisplay=s}}function xt(t,e,i,n,a,r){var o,s,c,d=_t(e,n,a,r),u=t.oPreviousSearch.sSearch,h=t.aiDisplayMaster,p=[];if(0!==l.ext.search.length&&(i=!0),s=Ct(t),e.length<=0)t.aiDisplay=h.slice();else{for((s||i||u.length>e.length||0!==e.indexOf(u)||t.bSorted)&&(t.aiDisplay=h.slice()),o=t.aiDisplay,c=0;c<o.length;c++)d.test(t.aoData[o[c]]._sFilterRow)&&p.push(o[c]);t.aiDisplay=p}}function _t(e,i,n,a){if(e=i?e:kt(e),n){var r=t.map(e.match(/"[^"]+"|[^ ]+/g)||[""],function(t){if('"'===t.charAt(0)){var e=t.match(/^"(.*)"$/);t=e?e[1]:t}return t.replace('"',"")});e="^(?=.*?"+r.join(")(?=.*?")+").*$"}return new RegExp(e,a?"i":"")}var kt=l.util.escapeRegex,St=t("<div>")[0],Mt=St.textContent!==n;function Ct(t){var e,i,n,a,r,o,s,c,d=t.aoColumns,u=l.ext.type.search,h=!1;for(i=0,a=t.aoData.length;i<a;i++)if(!(c=t.aoData[i])._aFilterData){for(o=[],n=0,r=d.length;n<r;n++)(e=d[n]).bSearchable?(s=$(t,i,n,"filter"),u[e.sType]&&(s=u[e.sType](s)),null===s&&(s=""),"string"!=typeof s&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(St.innerHTML=s,s=Mt?St.textContent:St.innerText),s.replace&&(s=s.replace(/[\r\n]/g,"")),o.push(s);c._aFilterData=o,c._sFilterRow=o.join("  "),h=!0}return h}function Tt(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function Dt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function Lt(e){var i=e.sTableId,n=e.aanFeatures.i,a=t("<div/>",{class:e.oClasses.sInfo,id:n?null:i+"_info"});return n||(e.aoDrawCallback.push({fn:Et,sName:"information"}),a.attr("role","status").attr("aria-live","polite"),t(e.nTable).attr("aria-describedby",i+"_info")),a[0]}function Et(e){var i=e.aanFeatures.i;if(0!==i.length){var n=e.oLanguage,a=e._iDisplayStart+1,r=e.fnDisplayEnd(),o=e.fnRecordsTotal(),s=e.fnRecordsDisplay(),l=s?n.sInfo:n.sInfoEmpty;s!==o&&(l+=" "+n.sInfoFiltered),l+=n.sInfoPostFix,l=At(e,l);var c=n.fnInfoCallback;null!==c&&(l=c.call(e.oInstance,e,a,r,o,s,l)),t(i).html(l)}}function At(t,e){var i=t.fnFormatNumber,n=t._iDisplayStart+1,a=t._iDisplayLength,r=t.fnRecordsDisplay(),o=-1===a;return e.replace(/_START_/g,i.call(t,n)).replace(/_END_/g,i.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,i.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,i.call(t,r)).replace(/_PAGE_/g,i.call(t,o?1:Math.ceil(n/a))).replace(/_PAGES_/g,i.call(t,o?1:Math.ceil(r/a)))}function Pt(t){var e,i,n,a=t.iInitDisplayStart,r=t.aoColumns,o=t.oFeatures,s=t.bDeferLoading;if(t.bInitialised){for(ct(t),rt(t),ot(t,t.aoHeader),ot(t,t.aoFooter),jt(t,!0),o.bAutoWidth&&Vt(t),e=0,i=r.length;e<i;e++)(n=r[e]).sWidth&&(n.nTh.style.width=Gt(n.sWidth));ue(t,null,"preInit",[t]),lt(t);var l=fe(t);("ssp"!=l||s)&&("ajax"==l?ht(t,[],function(i){var n=mt(t,i);for(e=0;e<n.length;e++)B(t,n[e]);t.iInitDisplayStart=a,lt(t),jt(t,!1),Yt(t,i)}):(jt(t,!1),Yt(t)))}else setTimeout(function(){Pt(t)},200)}function Yt(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&H(t),ue(t,null,"plugin-init",[t,e]),ue(t,"aoInitComplete","init",[t,e])}function Ot(t,e){var i=parseInt(e,10);t._iDisplayLength=i,he(t),ue(t,null,"length",[t,i])}function It(e){for(var i=e.oClasses,n=e.sTableId,a=e.aLengthMenu,r=t.isArray(a[0]),o=r?a[0]:a,s=r?a[1]:a,l=t("<select/>",{name:n+"_length","aria-controls":n,class:i.sLengthSelect}),c=0,d=o.length;c<d;c++)l[0][c]=new Option("number"==typeof s[c]?e.fnFormatNumber(s[c]):s[c],o[c]);var u=t("<div><label/></div>").addClass(i.sLength);return e.aanFeatures.l||(u[0].id=n+"_length"),u.children().append(e.oLanguage.sLengthMenu.replace("_MENU_",l[0].outerHTML)),t("select",u).val(e._iDisplayLength).on("change.DT",function(i){Ot(e,t(this).val()),st(e)}),t(e.nTable).on("length.dt.DT",function(i,n,a){e===n&&t("select",u).val(a)}),u[0]}function Ht(e){var i=e.sPaginationType,n=l.ext.pager[i],a="function"==typeof n,r=function(t){st(t)},o=t("<div/>").addClass(e.oClasses.sPaging+i)[0],s=e.aanFeatures;return a||n.fnInit(e,o,r),s.p||(o.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(t){if(a){var e,i,o=t._iDisplayStart,l=t._iDisplayLength,c=t.fnRecordsDisplay(),d=-1===l,u=d?0:Math.ceil(o/l),h=d?1:Math.ceil(c/l),p=n(u,h);for(e=0,i=s.p.length;e<i;e++)pe(t,"pageButton")(t,s.p[e],e,p,u,h)}else n.fnUpdate(t,r)},sName:"pagination"})),o}function Rt(t,e,i){var n=t._iDisplayStart,a=t._iDisplayLength,r=t.fnRecordsDisplay();0===r||-1===a?n=0:"number"==typeof e?(n=e*a)>r&&(n=0):"first"==e?n=0:"previous"==e?(n=a>=0?n-a:0)<0&&(n=0):"next"==e?n+a<r&&(n+=a):"last"==e?n=Math.floor((r-1)/a)*a:oe(t,0,"Unknown paging action: "+e,5);var o=t._iDisplayStart!==n;return t._iDisplayStart=n,o&&(ue(t,null,"page",[t]),i&&st(t)),o}function Nt(e){return t("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function jt(e,i){e.oFeatures.bProcessing&&t(e.aanFeatures.r).css("display",i?"block":"none"),ue(e,null,"processing",[e,i])}function Ft(e){var i=t(e.nTable);i.attr("role","grid");var n=e.oScroll;if(""===n.sX&&""===n.sY)return e.nTable;var a=n.sX,r=n.sY,o=e.oClasses,s=i.children("caption"),l=s.length?s[0]._captionSide:null,c=t(i[0].cloneNode(!1)),d=t(i[0].cloneNode(!1)),u=i.children("tfoot"),h="<div/>",p=function(t){return t?Gt(t):null};u.length||(u=null);var f=t(h,{class:o.sScrollWrapper}).append(t(h,{class:o.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:a?p(a):"100%"}).append(t(h,{class:o.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(c.removeAttr("id").css("margin-left",0).append("top"===l?s:null).append(i.children("thead"))))).append(t(h,{class:o.sScrollBody}).css({position:"relative",overflow:"auto",width:p(a)}).append(i));u&&f.append(t(h,{class:o.sScrollFoot}).css({overflow:"hidden",border:0,width:a?p(a):"100%"}).append(t(h,{class:o.sScrollFootInner}).append(d.removeAttr("id").css("margin-left",0).append("bottom"===l?s:null).append(i.children("tfoot")))));var g=f.children(),m=g[0],v=g[1],y=u?g[2]:null;return a&&t(v).on("scroll.DT",function(t){var e=this.scrollLeft;m.scrollLeft=e,u&&(y.scrollLeft=e)}),t(v).css(r&&n.bCollapse?"max-height":"height",r),e.nScrollHead=m,e.nScrollBody=v,e.nScrollFoot=y,e.aoDrawCallback.push({fn:zt,sName:"scrolling"}),f[0]}function zt(e){var i,a,r,o,s,l,c,d,u,h=e.oScroll,p=h.sX,f=h.sXInner,g=h.sY,m=h.iBarWidth,v=t(e.nScrollHead),y=v[0].style,b=v.children("div"),x=b[0].style,_=b.children("table"),k=e.nScrollBody,S=t(k),M=k.style,C=t(e.nScrollFoot),T=C.children("div"),D=T.children("table"),L=t(e.nTHead),E=t(e.nTable),A=E[0],P=A.style,Y=e.nTFoot?t(e.nTFoot):null,O=e.oBrowser,I=O.bScrollOversize,N=w(e.aoColumns,"nTh"),j=[],F=[],z=[],W=[],B=function(t){var e=t.style;e.paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0},V=k.scrollHeight>k.clientHeight;if(e.scrollBarVis!==V&&e.scrollBarVis!==n)return e.scrollBarVis=V,void H(e);e.scrollBarVis=V,E.children("thead, tfoot").remove(),Y&&(l=Y.clone().prependTo(E),a=Y.find("tr"),o=l.find("tr")),s=L.clone().prependTo(E),i=L.find("tr"),r=s.find("tr"),s.find("th, td").removeAttr("tabindex"),p||(M.width="100%",v[0].style.width="100%"),t.each(ut(e,s),function(t,i){c=R(e,t),i.style.width=e.aoColumns[c].sWidth}),Y&&Wt(function(t){t.style.width=""},o),u=E.outerWidth(),""===p?(P.width="100%",I&&(E.find("tbody").height()>k.offsetHeight||"scroll"==S.css("overflow-y"))&&(P.width=Gt(E.outerWidth()-m)),u=E.outerWidth()):""!==f&&(P.width=Gt(f),u=E.outerWidth()),Wt(B,r),Wt(function(e){z.push(e.innerHTML),j.push(Gt(t(e).css("width")))},r),Wt(function(e,i){-1!==t.inArray(e,N)&&(e.style.width=j[i])},i),t(r).height(0),Y&&(Wt(B,o),Wt(function(e){W.push(e.innerHTML),F.push(Gt(t(e).css("width")))},o),Wt(function(t,e){t.style.width=F[e]},a),t(o).height(0)),Wt(function(t,e){t.innerHTML='<div class="dataTables_sizing">'+z[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=j[e]},r),Y&&Wt(function(t,e){t.innerHTML='<div class="dataTables_sizing">'+W[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=F[e]},o),E.outerWidth()<u?(d=k.scrollHeight>k.offsetHeight||"scroll"==S.css("overflow-y")?u+m:u,I&&(k.scrollHeight>k.offsetHeight||"scroll"==S.css("overflow-y"))&&(P.width=Gt(d-m)),""!==p&&""===f||oe(e,1,"Possible column misalignment",6)):d="100%",M.width=Gt(d),y.width=Gt(d),Y&&(e.nScrollFoot.style.width=Gt(d)),g||I&&(M.height=Gt(A.offsetHeight+m));var $=E.outerWidth();_[0].style.width=Gt($),x.width=Gt($);var X=E.height()>k.clientHeight||"scroll"==S.css("overflow-y"),q="padding"+(O.bScrollbarLeft?"Left":"Right");x[q]=X?m+"px":"0px",Y&&(D[0].style.width=Gt($),T[0].style.width=Gt($),T[0].style[q]=X?m+"px":"0px"),E.children("colgroup").insertBefore(E.children("thead")),S.scroll(),!e.bSorted&&!e.bFiltered||e._drawHold||(k.scrollTop=0)}function Wt(t,e,i){for(var n,a,r=0,o=0,s=e.length;o<s;){for(n=e[o].firstChild,a=i?i[o].firstChild:null;n;)1===n.nodeType&&(i?t(n,a,r):t(n,r),r++),n=n.nextSibling,a=i?a.nextSibling:null;o++}}var Bt=/<.*?>/g;function Vt(i){var n,a,r,o=i.nTable,s=i.aoColumns,l=i.oScroll,c=l.sY,d=l.sX,u=l.sXInner,h=s.length,p=F(i,"bVisible"),f=t("th",i.nTHead),g=o.getAttribute("width"),m=o.parentNode,v=!1,y=i.oBrowser,b=y.bScrollOversize,w=o.style.width;for(w&&-1!==w.indexOf("%")&&(g=w),n=0;n<p.length;n++)null!==(a=s[p[n]]).sWidth&&(a.sWidth=Xt(a.sWidthOrig,m),v=!0);if(b||!v&&!d&&!c&&h==j(i)&&h==f.length)for(n=0;n<h;n++){var x=R(i,n);null!==x&&(s[x].sWidth=Gt(f.eq(n).width()))}else{var _=t(o).clone().css("visibility","hidden").removeAttr("id");_.find("tbody tr").remove();var k=t("<tr/>").appendTo(_.find("tbody"));for(_.find("thead, tfoot").remove(),_.append(t(i.nTHead).clone()).append(t(i.nTFoot).clone()),_.find("tfoot th, tfoot td").css("width",""),f=ut(i,_.find("thead")[0]),n=0;n<p.length;n++)a=s[p[n]],f[n].style.width=null!==a.sWidthOrig&&""!==a.sWidthOrig?Gt(a.sWidthOrig):"",a.sWidthOrig&&d&&t(f[n]).append(t("<div/>").css({width:a.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(i.aoData.length)for(n=0;n<p.length;n++)r=p[n],a=s[r],t(qt(i,r)).clone(!1).append(a.sContentPadding).appendTo(k);t("[name]",_).removeAttr("name");var S=t("<div/>").css(d||c?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(_).appendTo(m);d&&u?_.width(u):d?(_.css("width","auto"),_.removeAttr("width"),_.width()<m.clientWidth&&g&&_.width(m.clientWidth)):c?_.width(m.clientWidth):g&&_.width(g);var M=0;for(n=0;n<p.length;n++){var C=t(f[n]),T=C.outerWidth()-C.width(),D=y.bBounding?Math.ceil(f[n].getBoundingClientRect().width):C.outerWidth();M+=D,s[p[n]].sWidth=Gt(D-T)}o.style.width=Gt(M),S.remove()}if(g&&(o.style.width=Gt(g)),(g||d)&&!i._reszEvt){var L=function(){t(e).on("resize.DT-"+i.sInstance,$t(function(){H(i)}))};b?setTimeout(L,1e3):L(),i._reszEvt=!0}}var $t=l.util.throttle;function Xt(e,n){if(!e)return 0;var a=t("<div/>").css("width",Gt(e)).appendTo(n||i.body),r=a[0].offsetWidth;return a.remove(),r}function qt(e,i){var n=Ut(e,i);if(n<0)return null;var a=e.aoData[n];return a.nTr?a.anCells[i]:t("<td/>").html($(e,n,i,"display"))[0]}function Ut(t,e){for(var i,n=-1,a=-1,r=0,o=t.aoData.length;r<o;r++)(i=(i=(i=$(t,r,e,"display")+"").replace(Bt,"")).replace(/&nbsp;/g," ")).length>n&&(n=i.length,a=r);return a}function Gt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Zt(e){var i,a,r,o,s,c,d,u=[],h=e.aoColumns,p=e.aaSortingFixed,f=t.isPlainObject(p),g=[],m=function(e){e.length&&!t.isArray(e[0])?g.push(e):t.merge(g,e)};for(t.isArray(p)&&m(p),f&&p.pre&&m(p.pre),m(e.aaSorting),f&&p.post&&m(p.post),i=0;i<g.length;i++)for(d=g[i][0],o=h[d].aDataSort,a=0,r=o.length;a<r;a++)s=o[a],c=h[s].sType||"string",g[i]._idx===n&&(g[i]._idx=t.inArray(g[i][1],h[s].asSorting)),u.push({src:d,col:s,dir:g[i][1],index:g[i]._idx,type:c,formatter:l.ext.type.order[c+"-pre"]});return u}function Jt(t){var e,i,n,a,r,o=[],s=l.ext.type.order,c=t.aoData,d=(t.aoColumns,0),u=t.aiDisplayMaster;for(z(t),r=Zt(t),e=0,i=r.length;e<i;e++)(a=r[e]).formatter&&d++,ie(t,a.col);if("ssp"!=fe(t)&&0!==r.length){for(e=0,n=u.length;e<n;e++)o[u[e]]=e;d===r.length?u.sort(function(t,e){var i,n,a,s,l,d=r.length,u=c[t]._aSortData,h=c[e]._aSortData;for(a=0;a<d;a++)if(l=r[a],i=u[l.col],n=h[l.col],0!==(s=i<n?-1:i>n?1:0))return"asc"===l.dir?s:-s;return i=o[t],n=o[e],i<n?-1:i>n?1:0}):u.sort(function(t,e){var i,n,a,l,d,u,h=r.length,p=c[t]._aSortData,f=c[e]._aSortData;for(a=0;a<h;a++)if(d=r[a],i=p[d.col],n=f[d.col],u=s[d.type+"-"+d.dir]||s["string-"+d.dir],0!==(l=u(i,n)))return l;return i=o[t],n=o[e],i<n?-1:i>n?1:0})}t.bSorted=!0}function Kt(t){for(var e,i,n=t.aoColumns,a=Zt(t),r=t.oLanguage.oAria,o=0,s=n.length;o<s;o++){var l=n[o],c=l.asSorting,d=l.sTitle.replace(/<.*?>/g,""),u=l.nTh;u.removeAttribute("aria-sort"),l.bSortable?(a.length>0&&a[0].col==o?(u.setAttribute("aria-sort","asc"==a[0].dir?"ascending":"descending"),i=c[a[0].index+1]||c[0]):i=c[0],e=d+("asc"===i?r.sSortAscending:r.sSortDescending)):e=d,u.setAttribute("aria-label",e)}}function Qt(e,i,a,r){var o,s=e.aoColumns[i],l=e.aaSorting,c=s.asSorting,d=function(e,i){var a=e._idx;return a===n&&(a=t.inArray(e[1],c)),a+1<c.length?a+1:i?null:0};if("number"==typeof l[0]&&(l=e.aaSorting=[l]),a&&e.oFeatures.bSortMulti){var u=t.inArray(i,w(l,"0"));-1!==u?(null===(o=d(l[u],!0))&&1===l.length&&(o=0),null===o?l.splice(u,1):(l[u][1]=c[o],l[u]._idx=o)):(l.push([i,c[0],0]),l[l.length-1]._idx=0)}else l.length&&l[0][0]==i?(o=d(l[0]),l.length=1,l[0][1]=c[o],l[0]._idx=o):(l.length=0,l.push([i,c[0]]),l[0]._idx=0);lt(e),"function"==typeof r&&r(e)}function te(t,e,i,n){var a=t.aoColumns[i];ce(e,{},function(e){!1!==a.bSortable&&(t.oFeatures.bProcessing?(jt(t,!0),setTimeout(function(){Qt(t,i,e.shiftKey,n),"ssp"!==fe(t)&&jt(t,!1)},0)):Qt(t,i,e.shiftKey,n))})}function ee(e){var i,n,a,r=e.aLastSort,o=e.oClasses.sSortColumn,s=Zt(e),l=e.oFeatures;if(l.bSort&&l.bSortClasses){for(i=0,n=r.length;i<n;i++)a=r[i].src,t(w(e.aoData,"anCells",a)).removeClass(o+(i<2?i+1:3));for(i=0,n=s.length;i<n;i++)a=s[i].src,t(w(e.aoData,"anCells",a)).addClass(o+(i<2?i+1:3))}e.aLastSort=s}function ie(t,e){var i,n,a,r=t.aoColumns[e],o=l.ext.order[r.sSortDataType];o&&(i=o.call(t.oInstance,t,e,N(t,e)));for(var s=l.ext.type.order[r.sType+"-pre"],c=0,d=t.aoData.length;c<d;c++)(n=t.aoData[c])._aSortData||(n._aSortData=[]),n._aSortData[e]&&!o||(a=o?i[c]:$(t,c,e,"sort"),n._aSortData[e]=s?s(a):a)}function ne(e){if(e.oFeatures.bStateSave&&!e.bDestroying){var i={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:t.extend(!0,[],e.aaSorting),search:Tt(e.oPreviousSearch),columns:t.map(e.aoColumns,function(t,i){return{visible:t.bVisible,search:Tt(e.aoPreSearchCols[i])}})};ue(e,"aoStateSaveParams","stateSaveParams",[e,i]),e.oSavedState=i,e.fnStateSaveCallback.call(e.oInstance,e,i)}}function ae(e,i,a){var r,o,s=e.aoColumns,l=function(i){if(i&&i.time){var l=ue(e,"aoStateLoadParams","stateLoadParams",[e,i]);if(-1===t.inArray(!1,l)){var c=e.iStateDuration;if(c>0&&i.time<+new Date-1e3*c)a();else if(i.columns&&s.length!==i.columns.length)a();else{if(e.oLoadedState=t.extend(!0,{},i),i.start!==n&&(e._iDisplayStart=i.start,e.iInitDisplayStart=i.start),i.length!==n&&(e._iDisplayLength=i.length),i.order!==n&&(e.aaSorting=[],t.each(i.order,function(t,i){e.aaSorting.push(i[0]>=s.length?[0,i[1]]:i)})),i.search!==n&&t.extend(e.oPreviousSearch,Dt(i.search)),i.columns)for(r=0,o=i.columns.length;r<o;r++){var d=i.columns[r];d.visible!==n&&(s[r].bVisible=d.visible),d.search!==n&&t.extend(e.aoPreSearchCols[r],Dt(d.search))}ue(e,"aoStateLoaded","stateLoaded",[e,i]),a()}}else a()}else a()};if(e.oFeatures.bStateSave){var c=e.fnStateLoadCallback.call(e.oInstance,e,l);c!==n&&l(c)}else a()}function re(e){var i=l.settings,n=t.inArray(e,w(i,"nTable"));return-1!==n?i[n]:null}function oe(t,i,n,a){if(n="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+n,a&&(n+=". For more information about this error, please see http://datatables.net/tn/"+a),i)e.console&&console.log&&console.log(n);else{var r=l.ext,o=r.sErrMode||r.errMode;if(t&&ue(t,null,"error",[t,a,n]),"alert"==o)alert(n);else{if("throw"==o)throw new Error(n);"function"==typeof o&&o(t,a,n)}}}function se(e,i,a,r){t.isArray(a)?t.each(a,function(n,a){t.isArray(a)?se(e,i,a[0],a[1]):se(e,i,a)}):(r===n&&(r=a),i[a]!==n&&(e[r]=i[a]))}function le(e,i,n){var a;for(var r in i)i.hasOwnProperty(r)&&(a=i[r],t.isPlainObject(a)?(t.isPlainObject(e[r])||(e[r]={}),t.extend(!0,e[r],a)):n&&"data"!==r&&"aaData"!==r&&t.isArray(a)?e[r]=a.slice():e[r]=a);return e}function ce(e,i,n){t(e).on("click.DT",i,function(i){t(e).blur(),n(i)}).on("keypress.DT",i,function(t){13===t.which&&(t.preventDefault(),n(t))}).on("selectstart.DT",function(){return!1})}function de(t,e,i,n){i&&t[e].push({fn:i,sName:n})}function ue(e,i,n,a){var r=[];if(i&&(r=t.map(e[i].slice().reverse(),function(t,i){return t.fn.apply(e.oInstance,a)})),null!==n){var o=t.Event(n+".dt");t(e.nTable).trigger(o,a),r.push(o.result)}return r}function he(t){var e=t._iDisplayStart,i=t.fnDisplayEnd(),n=t._iDisplayLength;e>=i&&(e=i-n),e-=e%n,(-1===n||e<0)&&(e=0),t._iDisplayStart=e}function pe(e,i){var n=e.renderer,a=l.ext.renderer[i];return t.isPlainObject(n)&&n[i]?a[n[i]]||a._:"string"==typeof n&&a[n]||a._}function fe(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}var ge=[],me=Array.prototype;r=function(e,i){if(!(this instanceof r))return new r(e,i);var n=[],a=function(e){var i=function(e){var i,n,a=l.settings,r=t.map(a,function(t,e){return t.nTable});if(!e)return[];if(e.nTable&&e.oApi)return[e];if(e.nodeName&&"table"===e.nodeName.toLowerCase())return-1!==(i=t.inArray(e,r))?[a[i]]:null;if(e&&"function"==typeof e.settings)return e.settings().toArray();"string"==typeof e?n=t(e):e instanceof t&&(n=e);if(n)return n.map(function(e){return-1!==(i=t.inArray(this,r))?a[i]:null}).toArray()}(e);i&&(n=n.concat(i))};if(t.isArray(e))for(var o=0,s=e.length;o<s;o++)a(e[o]);else a(e);this.context=M(n),i&&t.merge(this,i),this.selector={rows:null,cols:null,opts:null},r.extend(this,this,ge)},l.Api=r,t.extend(r.prototype,{any:function(){return 0!==this.count()},concat:me.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,i=this.length;e<i;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new r(e[t],this[t]):null},filter:function(t){var e=[];if(me.filter)e=me.filter.call(this,t,this);else for(var i=0,n=this.length;i<n;i++)t.call(this,this[i],i,this)&&e.push(this[i]);return new r(this.context,e)},flatten:function(){var t=[];return new r(this.context,t.concat.apply(t,this.toArray()))},join:me.join,indexOf:me.indexOf||function(t,e){for(var i=e||0,n=this.length;i<n;i++)if(this[i]===t)return i;return-1},iterator:function(t,e,i,a){var o,s,l,c,d,u,h,p,f=[],g=this.context,m=this.selector;for("string"==typeof t&&(a=i,i=e,e=t,t=!1),s=0,l=g.length;s<l;s++){var v=new r(g[s]);if("table"===e)(o=i.call(v,g[s],s))!==n&&f.push(o);else if("columns"===e||"rows"===e)(o=i.call(v,g[s],this[s],s))!==n&&f.push(o);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(h=this[s],"column-rows"===e&&(u=xe(g[s],m.opts)),c=0,d=h.length;c<d;c++)p=h[c],(o="cell"===e?i.call(v,g[s],p.row,p.column,s,c):i.call(v,g[s],p,s,c,u))!==n&&f.push(o)}if(f.length||a){var y=new r(g,t?f.concat.apply([],f):f),b=y.selector;return b.rows=m.rows,b.cols=m.cols,b.opts=m.opts,y}return this},lastIndexOf:me.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(me.map)e=me.map.call(this,t,this);else for(var i=0,n=this.length;i<n;i++)e.push(t.call(this,this[i],i));return new r(this.context,e)},pluck:function(t){return this.map(function(e){return e[t]})},pop:me.pop,push:me.push,reduce:me.reduce||function(t,e){return Y(this,t,e,0,this.length,1)},reduceRight:me.reduceRight||function(t,e){return Y(this,t,e,this.length-1,-1,-1)},reverse:me.reverse,selector:null,shift:me.shift,slice:function(){return new r(this.context,this)},sort:me.sort,splice:me.splice,toArray:function(){return me.slice.call(this)},to$:function(){return t(this)},toJQuery:function(){return t(this)},unique:function(){return new r(this.context,M(this))},unshift:me.unshift}),r.extend=function(e,i,n){if(n.length&&i&&(i instanceof r||i.__dt_wrapper)){var a,o,s,l=function(t,e,i){return function(){var n=e.apply(t,arguments);return r.extend(n,n,i.methodExt),n}};for(a=0,o=n.length;a<o;a++)s=n[a],i[s.name]="function"==typeof s.val?l(e,s.val,s):t.isPlainObject(s.val)?{}:s.val,i[s.name].__dt_wrapper=!0,r.extend(e,i[s.name],s.propExt)}},r.register=o=function(e,i){if(t.isArray(e))for(var n=0,a=e.length;n<a;n++)r.register(e[n],i);else{var o,s,l,c,d=e.split("."),u=ge,h=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i].name===e)return t[i];return null};for(o=0,s=d.length;o<s;o++){c=-1!==d[o].indexOf("()"),l=c?d[o].replace("()",""):d[o];var p=h(u,l);p||(p={name:l,val:{},methodExt:[],propExt:[]},u.push(p)),o===s-1?p.val=i:u=c?p.methodExt:p.propExt}}},r.registerPlural=s=function(e,i,a){r.register(e,a),r.register(i,function(){var e=a.apply(this,arguments);return e===this?this:e instanceof r?e.length?t.isArray(e[0])?new r(e.context,e[0]):e[0]:n:e})};o("tables()",function(e){return e?new r(function(e,i){if("number"==typeof e)return[i[e]];var n=t.map(i,function(t,e){return t.nTable});return t(n).filter(e).map(function(e){var a=t.inArray(this,n);return i[a]}).toArray()}(e,this.context)):this}),o("table()",function(t){var e=this.tables(t),i=e.context;return i.length?new r(i[0]):e}),s("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),s("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),s("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),s("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),s("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),o("draw()",function(t){return this.iterator("table",function(e){"page"===t?st(e):("string"==typeof t&&(t="full-hold"!==t),lt(e,!1===t))})}),o("page()",function(t){return t===n?this.page.info().page:this.iterator("table",function(e){Rt(e,t)})}),o("page.info()",function(t){if(0===this.context.length)return n;var e=this.context[0],i=e._iDisplayStart,a=e.oFeatures.bPaginate?e._iDisplayLength:-1,r=e.fnRecordsDisplay(),o=-1===a;return{page:o?0:Math.floor(i/a),pages:o?1:Math.ceil(r/a),start:i,end:e.fnDisplayEnd(),length:a,recordsTotal:e.fnRecordsTotal(),recordsDisplay:r,serverSide:"ssp"===fe(e)}}),o("page.len()",function(t){return t===n?0!==this.context.length?this.context[0]._iDisplayLength:n:this.iterator("table",function(e){Ot(e,t)})});var ve=function(t,e,i){if(i){var n=new r(t);n.one("draw",function(){i(n.ajax.json())})}if("ssp"==fe(t))lt(t,e);else{jt(t,!0);var a=t.jqXHR;a&&4!==a.readyState&&a.abort(),ht(t,[],function(i){Q(t);for(var n=mt(t,i),a=0,r=n.length;a<r;a++)B(t,n[a]);lt(t,e),jt(t,!1)})}};o("ajax.json()",function(){var t=this.context;if(t.length>0)return t[0].json}),o("ajax.params()",function(){var t=this.context;if(t.length>0)return t[0].oAjaxData}),o("ajax.reload()",function(t,e){return this.iterator("table",function(i){ve(i,!1===e,t)})}),o("ajax.url()",function(e){var i=this.context;return e===n?0===i.length?n:(i=i[0]).ajax?t.isPlainObject(i.ajax)?i.ajax.url:i.ajax:i.sAjaxSource:this.iterator("table",function(i){t.isPlainObject(i.ajax)?i.ajax.url=e:i.ajax=e})}),o("ajax.url().load()",function(t,e){return this.iterator("table",function(i){ve(i,!1===e,t)})});var ye=function(e,i,r,o,s){var l,c,d,u,h,p,f=[],g=typeof i;for(i&&"string"!==g&&"function"!==g&&i.length!==n||(i=[i]),d=0,u=i.length;d<u;d++)for(c=i[d]&&i[d].split&&!i[d].match(/[\[\(:]/)?i[d].split(","):[i[d]],h=0,p=c.length;h<p;h++)(l=r("string"==typeof c[h]?t.trim(c[h]):c[h]))&&l.length&&(f=f.concat(l));var m=a.selector[e];if(m.length)for(d=0,u=m.length;d<u;d++)f=m[d](o,s,f);return M(f)},be=function(e){return e||(e={}),e.filter&&e.search===n&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)},we=function(t){for(var e=0,i=t.length;e<i;e++)if(t[e].length>0)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t},xe=function(e,i){var n,a=[],r=e.aiDisplay,o=e.aiDisplayMaster,s=i.search,l=i.order,c=i.page;if("ssp"==fe(e))return"removed"===s?[]:_(0,o.length);if("current"==c)for(u=e._iDisplayStart,h=e.fnDisplayEnd();u<h;u++)a.push(r[u]);else if("current"==l||"applied"==l){if("none"==s)a=o.slice();else if("applied"==s)a=r.slice();else if("removed"==s){for(var d={},u=0,h=r.length;u<h;u++)d[r[u]]=null;a=t.map(o,function(t){return d.hasOwnProperty(t)?null:t})}}else if("index"==l||"original"==l)for(u=0,h=e.aoData.length;u<h;u++)"none"==s?a.push(u):(-1===(n=t.inArray(u,r))&&"removed"==s||n>=0&&"applied"==s)&&a.push(u);return a};o("rows()",function(e,i){e===n?e="":t.isPlainObject(e)&&(i=e,e=""),i=be(i);var a=this.iterator("table",function(a){return function(e,i,a){var r;return ye("row",i,function(i){var o=m(i),s=e.aoData;if(null!==o&&!a)return[o];if(r||(r=xe(e,a)),null!==o&&-1!==t.inArray(o,r))return[o];if(null===i||i===n||""===i)return r;if("function"==typeof i)return t.map(r,function(t){var e=s[t];return i(t,e._aData,e.nTr)?t:null});if(i.nodeName){var l=i._DT_RowIndex,c=i._DT_CellIndex;if(l!==n)return s[l]&&s[l].nTr===i?[l]:[];if(c)return s[c.row]&&s[c.row].nTr===i?[c.row]:[];var d=t(i).closest("*[data-dt-row]");return d.length?[d.data("dt-row")]:[]}if("string"==typeof i&&"#"===i.charAt(0)){var u=e.aIds[i.replace(/^#/,"")];if(u!==n)return[u.idx]}var h=k(x(e.aoData,r,"nTr"));return t(h).filter(i).map(function(){return this._DT_RowIndex}).toArray()},e,a)}(a,e,i)},1);return a.selector.rows=e,a.selector.opts=i,a}),o("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||n},1)}),o("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return x(t.aoData,e,"_aData")},1)}),s("rows().cache()","row().cache()",function(t){return this.iterator("row",function(e,i){var n=e.aoData[i];return"search"===t?n._aFilterData:n._aSortData},1)}),s("rows().invalidate()","row().invalidate()",function(t){return this.iterator("row",function(e,i){et(e,i,t)})}),s("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),s("rows().ids()","row().id()",function(t){for(var e=[],i=this.context,n=0,a=i.length;n<a;n++)for(var o=0,s=this[n].length;o<s;o++){var l=i[n].rowIdFn(i[n].aoData[this[n][o]]._aData);e.push((!0===t?"#":"")+l)}return new r(i,e)}),s("rows().remove()","row().remove()",function(){var t=this;return this.iterator("row",function(e,i,a){var r,o,s,l,c,d,u=e.aoData,h=u[i];for(u.splice(i,1),r=0,o=u.length;r<o;r++)if(c=u[r],d=c.anCells,null!==c.nTr&&(c.nTr._DT_RowIndex=r),null!==d)for(s=0,l=d.length;s<l;s++)d[s]._DT_CellIndex.row=r;tt(e.aiDisplayMaster,i),tt(e.aiDisplay,i),tt(t[a],i,!1),e._iRecordsDisplay>0&&e._iRecordsDisplay--,he(e);var p=e.rowIdFn(h._aData);p!==n&&delete e.aIds[p]}),this.iterator("table",function(t){for(var e=0,i=t.aoData.length;e<i;e++)t.aoData[e].idx=e}),this}),o("rows.add()",function(e){var i=this.iterator("table",function(t){var i,n,a,r=[];for(n=0,a=e.length;n<a;n++)(i=e[n]).nodeName&&"TR"===i.nodeName.toUpperCase()?r.push(V(t,i)[0]):r.push(B(t,i));return r},1),n=this.rows(-1);return n.pop(),t.merge(n,i),n}),o("row()",function(t,e){return we(this.rows(t,e))}),o("row().data()",function(e){var i=this.context;if(e===n)return i.length&&this.length?i[0].aoData[this[0]]._aData:n;var a=i[0].aoData[this[0]];return a._aData=e,t.isArray(e)&&a.nTr.id&&J(i[0].rowId)(e,a.nTr.id),et(i[0],this[0],"data"),this}),o("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),o("row.add()",function(e){e instanceof t&&e.length&&(e=e[0]);var i=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?V(t,e)[0]:B(t,e)});return this.row(i[0])});var _e=function(t,e){var i=t.context;if(i.length){var a=i[0].aoData[e!==n?e:t[0]];a&&a._details&&(a._details.remove(),a._detailsShow=n,a._details=n)}},ke=function(t,e){var i=t.context;if(i.length&&t.length){var n=i[0].aoData[t[0]];n._details&&(n._detailsShow=e,e?n._details.insertAfter(n.nTr):n._details.detach(),Se(i[0]))}},Se=function(t){var e=new r(t),i=t.aoData;e.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"),w(i,"_details").length>0&&(e.on("draw.dt.DT_details",function(n,a){t===a&&e.rows({page:"current"}).eq(0).each(function(t){var e=i[t];e._detailsShow&&e._details.insertAfter(e.nTr)})}),e.on("column-visibility.dt.DT_details",function(e,n,a,r){if(t===n)for(var o,s=j(n),l=0,c=i.length;l<c;l++)(o=i[l])._details&&o._details.children("td[colspan]").attr("colspan",s)}),e.on("destroy.dt.DT_details",function(n,a){if(t===a)for(var r=0,o=i.length;r<o;r++)i[r]._details&&_e(e,r)}))};o("row().child()",function(e,i){var a=this.context;return e===n?a.length&&this.length?a[0].aoData[this[0]]._details:n:(!0===e?this.child.show():!1===e?_e(this):a.length&&this.length&&function(e,i,n,a){var r=[],o=function(i,n){if(t.isArray(i)||i instanceof t)for(var a=0,s=i.length;a<s;a++)o(i[a],n);else if(i.nodeName&&"tr"===i.nodeName.toLowerCase())r.push(i);else{var l=t("<tr><td/></tr>").addClass(n);t("td",l).addClass(n).html(i)[0].colSpan=j(e),r.push(l[0])}};o(n,a),i._details&&i._details.detach();i._details=t(r),i._detailsShow&&i._details.insertAfter(i.nTr)}(a[0],a[0].aoData[this[0]],e,i),this)}),o(["row().child.show()","row().child().show()"],function(t){return ke(this,!0),this}),o(["row().child.hide()","row().child().hide()"],function(){return ke(this,!1),this}),o(["row().child.remove()","row().child().remove()"],function(){return _e(this),this}),o("row().child.isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});var Me=/^([^:]+):(name|visIdx|visible)$/,Ce=function(t,e,i,n,a){for(var r=[],o=0,s=a.length;o<s;o++)r.push($(t,a[o],e));return r};o("columns()",function(e,i){e===n?e="":t.isPlainObject(e)&&(i=e,e=""),i=be(i);var a=this.iterator("table",function(n){return function(e,i,n){var a=e.aoColumns,r=w(a,"sName"),o=w(a,"nTh");return ye("column",i,function(i){var s=m(i);if(""===i)return _(a.length);if(null!==s)return[s>=0?s:a.length+s];if("function"==typeof i){var l=xe(e,n);return t.map(a,function(t,n){return i(n,Ce(e,n,0,0,l),o[n])?n:null})}var c="string"==typeof i?i.match(Me):"";if(c)switch(c[2]){case"visIdx":case"visible":var d=parseInt(c[1],10);if(d<0){var u=t.map(a,function(t,e){return t.bVisible?e:null});return[u[u.length+d]]}return[R(e,d)];case"name":return t.map(r,function(t,e){return t===c[1]?e:null});default:return[]}if(i.nodeName&&i._DT_CellIndex)return[i._DT_CellIndex.column];var h=t(o).filter(i).map(function(){return t.inArray(this,o)}).toArray();if(h.length||!i.nodeName)return h;var p=t(i).closest("*[data-dt-column]");return p.length?[p.data("dt-column")]:[]},e,n)}(n,e,i)},1);return a.selector.cols=e,a.selector.opts=i,a}),s("columns().header()","column().header()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),s("columns().footer()","column().footer()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),s("columns().data()","column().data()",function(){return this.iterator("column-rows",Ce,1)}),s("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),s("columns().cache()","column().cache()",function(t){return this.iterator("column-rows",function(e,i,n,a,r){return x(e.aoData,r,"search"===t?"_aFilterData":"_aSortData",i)},1)}),s("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,i,n,a){return x(t.aoData,a,"anCells",e)},1)}),s("columns().visible()","column().visible()",function(e,i){var a=this.iterator("column",function(i,a){if(e===n)return i.aoColumns[a].bVisible;!function(e,i,a){var r,o,s,l,c=e.aoColumns,d=c[i],u=e.aoData;if(a===n)return d.bVisible;if(d.bVisible===a)return;if(a){var h=t.inArray(!0,w(c,"bVisible"),i+1);for(o=0,s=u.length;o<s;o++)l=u[o].nTr,r=u[o].anCells,l&&l.insertBefore(r[i],r[h]||null)}else t(w(e.aoData,"anCells",i)).detach();d.bVisible=a,ot(e,e.aoHeader),ot(e,e.aoFooter),e.aiDisplay.length||t(e.nTBody).find("td[colspan]").attr("colspan",j(e));ne(e)}(i,a,e)});return e!==n&&(this.iterator("column",function(t,n){ue(t,null,"column-visibility",[t,n,e,i])}),(i===n||i)&&this.columns.adjust()),a}),s("columns().indexes()","column().index()",function(t){return this.iterator("column",function(e,i){return"visible"===t?N(e,i):i},1)}),o("columns.adjust()",function(){return this.iterator("table",function(t){H(t)},1)}),o("column.index()",function(t,e){if(0!==this.context.length){var i=this.context[0];if("fromVisible"===t||"toData"===t)return R(i,e);if("fromData"===t||"toVisible"===t)return N(i,e)}}),o("column()",function(t,e){return we(this.columns(t,e))});o("cells()",function(e,i,a){if(t.isPlainObject(e)&&(e.row===n?(a=e,e=null):(a=i,i=null)),t.isPlainObject(i)&&(a=i,i=null),null===i||i===n)return this.iterator("table",function(i){return function(e,i,a){var r,o,s,l,c,d,u,h=e.aoData,p=xe(e,a),f=k(x(h,p,"anCells")),g=t([].concat.apply([],f)),m=e.aoColumns.length;return ye("cell",i,function(i){var a="function"==typeof i;if(null===i||i===n||a){for(o=[],s=0,l=p.length;s<l;s++)for(r=p[s],c=0;c<m;c++)d={row:r,column:c},a?(u=h[r],i(d,$(e,r,c),u.anCells?u.anCells[c]:null)&&o.push(d)):o.push(d);return o}if(t.isPlainObject(i))return i.column!==n&&i.row!==n&&-1!==t.inArray(i.row,p)?[i]:[];var f=g.filter(i).map(function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}}).toArray();return f.length||!i.nodeName?f:(u=t(i).closest("*[data-dt-row]")).length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]},e,a)}(i,e,be(a))});var r,o,s,l,c,d=this.columns(i),u=this.rows(e);this.iterator("table",function(t,e){for(r=[],o=0,s=u[e].length;o<s;o++)for(l=0,c=d[e].length;l<c;l++)r.push({row:u[e][o],column:d[e][l]})},1);var h=this.cells(r,a);return t.extend(h.selector,{cols:i,rows:e,opts:a}),h}),s("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,i){var a=t.aoData[e];return a&&a.anCells?a.anCells[i]:n},1)}),o("cells().data()",function(){return this.iterator("cell",function(t,e,i){return $(t,e,i)},1)}),s("cells().cache()","cell().cache()",function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",function(e,i,n){return e.aoData[i][t][n]},1)}),s("cells().render()","cell().render()",function(t){return this.iterator("cell",function(e,i,n){return $(e,i,n,t)},1)}),s("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,i){return{row:e,column:i,columnVisible:N(t,i)}},1)}),s("cells().invalidate()","cell().invalidate()",function(t){return this.iterator("cell",function(e,i,n){et(e,i,t,n)})}),o("cell()",function(t,e,i){return we(this.cells(t,e,i))}),o("cell().data()",function(t){var e=this.context,i=this[0];return t===n?e.length&&i.length?$(e[0],i[0].row,i[0].column):n:(X(e[0],i[0].row,i[0].column,t),et(e[0],i[0].row,"data",i[0].column),this)}),o("order()",function(e,i){var a=this.context;return e===n?0!==a.length?a[0].aaSorting:n:("number"==typeof e?e=[[e,i]]:e.length&&!t.isArray(e[0])&&(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),o("order.listener()",function(t,e,i){return this.iterator("table",function(n){te(n,t,e,i)})}),o("order.fixed()",function(e){if(!e){var i=this.context,a=i.length?i[0].aaSortingFixed:n;return t.isArray(a)?{pre:a}:a}return this.iterator("table",function(i){i.aaSortingFixed=t.extend(!0,{},e)})}),o(["columns().order()","column().order()"],function(e){var i=this;return this.iterator("table",function(n,a){var r=[];t.each(i[a],function(t,i){r.push([i,e])}),n.aaSorting=r})}),o("search()",function(e,i,a,r){var o=this.context;return e===n?0!==o.length?o[0].oPreviousSearch.sSearch:n:this.iterator("table",function(n){n.oFeatures.bFilter&&yt(n,t.extend({},n.oPreviousSearch,{sSearch:e+"",bRegex:null!==i&&i,bSmart:null===a||a,bCaseInsensitive:null===r||r}),1)})}),s("columns().search()","column().search()",function(e,i,a,r){return this.iterator("column",function(o,s){var l=o.aoPreSearchCols;if(e===n)return l[s].sSearch;o.oFeatures.bFilter&&(t.extend(l[s],{sSearch:e+"",bRegex:null!==i&&i,bSmart:null===a||a,bCaseInsensitive:null===r||r}),yt(o,o.oPreviousSearch,1))})}),o("state()",function(){return this.context.length?this.context[0].oSavedState:null}),o("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),o("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),o("state.save()",function(){return this.iterator("table",function(t){ne(t)})}),l.versionCheck=l.fnVersionCheck=function(t){for(var e,i,n=l.version.split("."),a=t.split("."),r=0,o=a.length;r<o;r++)if(e=parseInt(n[r],10)||0,i=parseInt(a[r],10)||0,e!==i)return e>i;return!0},l.isDataTable=l.fnIsDataTable=function(e){var i=t(e).get(0),n=!1;return e instanceof l.Api||(t.each(l.settings,function(e,a){var r=a.nScrollHead?t("table",a.nScrollHead)[0]:null,o=a.nScrollFoot?t("table",a.nScrollFoot)[0]:null;a.nTable!==i&&r!==i&&o!==i||(n=!0)}),n)},l.tables=l.fnTables=function(e){var i=!1;t.isPlainObject(e)&&(i=e.api,e=e.visible);var n=t.map(l.settings,function(i){if(!e||e&&t(i.nTable).is(":visible"))return i.nTable});return i?new r(n):n},l.camelToHungarian=T,o("$()",function(e,i){var n=this.rows(i).nodes(),a=t(n);return t([].concat(a.filter(e).toArray(),a.find(e).toArray()))}),t.each(["on","one","off"],function(e,i){o(i+"()",function(){var e=Array.prototype.slice.call(arguments);e[0]=t.map(e[0].split(/\s/),function(t){return t.match(/\.dt\b/)?t:t+".dt"}).join(" ");var n=t(this.tables().nodes());return n[i].apply(n,e),this})}),o("clear()",function(){return this.iterator("table",function(t){Q(t)})}),o("settings()",function(){return new r(this.context,this.context)}),o("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),o("data()",function(){return this.iterator("table",function(t){return w(t.aoData,"_aData")}).flatten()}),o("destroy()",function(i){return i=i||!1,this.iterator("table",function(n){var a,o=n.nTableWrapper.parentNode,s=n.oClasses,c=n.nTable,d=n.nTBody,u=n.nTHead,h=n.nTFoot,p=t(c),f=t(d),g=t(n.nTableWrapper),m=t.map(n.aoData,function(t){return t.nTr});n.bDestroying=!0,ue(n,"aoDestroyCallback","destroy",[n]),i||new r(n).columns().visible(!0),g.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+n.sInstance),c!=u.parentNode&&(p.children("thead").detach(),p.append(u)),h&&c!=h.parentNode&&(p.children("tfoot").detach(),p.append(h)),n.aaSorting=[],n.aaSortingFixed=[],ee(n),t(m).removeClass(n.asStripeClasses.join(" ")),t("th, td",u).removeClass(s.sSortable+" "+s.sSortableAsc+" "+s.sSortableDesc+" "+s.sSortableNone),f.children().detach(),f.append(m);var v=i?"remove":"detach";p[v](),g[v](),!i&&o&&(o.insertBefore(c,n.nTableReinsertBefore),p.css("width",n.sDestroyWidth).removeClass(s.sTable),(a=n.asDestroyStripes.length)&&f.children().each(function(e){t(this).addClass(n.asDestroyStripes[e%a])}));var y=t.inArray(n,l.settings);-1!==y&&l.settings.splice(y,1)})}),t.each(["column","row","cell"],function(t,e){o(e+"s().every()",function(t){var i=this.selector.opts,a=this;return this.iterator(e,function(r,o,s,l,c){t.call(a[e](o,"cell"===e?s:i,"cell"===e?i:n),o,s,l,c)})})}),o("i18n()",function(e,i,a){var r=this.context[0],o=Z(e)(r.oLanguage);return o===n&&(o=i),a!==n&&t.isPlainObject(o)&&(o=o[a]!==n?o[a]:o._),o.replace("%d",a)}),l.version="1.10.19",l.settings=[],l.models={},l.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},l.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},l.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},l.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:t.extend({},l.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},C(l.defaults),l.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},C(l.defaults.column),l.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:n,oAjaxData:n,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==fe(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==fe(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,i=e+t,n=this.aiDisplay.length,a=this.oFeatures,r=a.bPaginate;return a.bServerSide?!1===r||-1===t?e+n:Math.min(e+t,this._iRecordsDisplay):!r||i>n||-1===t?n:i},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},l.ext=a={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:l.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:l.version},t.extend(a,{afnFiltering:a.search,aTypes:a.type.detect,ofnSearch:a.type.search,oSort:a.type.order,afnSortData:a.order,aoFeatures:a.feature,oApi:a.internal,oStdClasses:a.classes,oPagination:a.pager}),t.extend(l.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Te=l.ext.pager;function De(t,e){var i=[],n=Te.numbers_length,a=Math.floor(n/2);return e<=n?i=_(0,e):t<=a?((i=_(0,n-2)).push("ellipsis"),i.push(e-1)):t>=e-1-a?((i=_(e-(n-2),e)).splice(0,0,"ellipsis"),i.splice(0,0,0)):((i=_(t-a+2,t+a-1)).push("ellipsis"),i.push(e-1),i.splice(0,0,"ellipsis"),i.splice(0,0,0)),i.DT_el="span",i}t.extend(Te,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[De(t,e)]},simple_numbers:function(t,e){return["previous",De(t,e),"next"]},full_numbers:function(t,e){return["first","previous",De(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",De(t,e),"last"]},_numbers:De,numbers_length:7}),t.extend(!0,l.ext.renderer,{pageButton:{_:function(e,a,r,o,s,l){var c,d,u,h=e.oClasses,p=e.oLanguage.oPaginate,f=e.oLanguage.oAria.paginate||{},g=0,m=function(i,n){var a,o,u,v=function(t){Rt(e,t.data.action,!0)};for(a=0,o=n.length;a<o;a++)if(u=n[a],t.isArray(u)){var y=t("<"+(u.DT_el||"div")+"/>").appendTo(i);m(y,u)}else{switch(c=null,d="",u){case"ellipsis":i.append('<span class="ellipsis">&#x2026;</span>');break;case"first":c=p.sFirst,d=u+(s>0?"":" "+h.sPageButtonDisabled);break;case"previous":c=p.sPrevious,d=u+(s>0?"":" "+h.sPageButtonDisabled);break;case"next":c=p.sNext,d=u+(s<l-1?"":" "+h.sPageButtonDisabled);break;case"last":c=p.sLast,d=u+(s<l-1?"":" "+h.sPageButtonDisabled);break;default:c=u+1,d=s===u?h.sPageButtonActive:""}null!==c&&(ce(t("<a>",{class:h.sPageButton+" "+d,"aria-controls":e.sTableId,"aria-label":f[u],"data-dt-idx":g,tabindex:e.iTabIndex,id:0===r&&"string"==typeof u?e.sTableId+"_"+u:null}).html(c).appendTo(i),{action:u},v),g++)}};try{u=t(a).find(i.activeElement).data("dt-idx")}catch(t){}m(t(a).empty(),o),u!==n&&t(a).find("[data-dt-idx="+u+"]").focus()}}}),t.extend(l.ext.type.detect,[function(t,e){var i=e.oLanguage.sDecimal;return y(t,i)?"num"+i:null},function(t,e){if(t&&!(t instanceof Date)&&!h.test(t))return null;var i=Date.parse(t);return null!==i&&!isNaN(i)||g(t)?"date":null},function(t,e){var i=e.oLanguage.sDecimal;return y(t,i,!0)?"num-fmt"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return b(t,i)?"html-num"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return b(t,i,!0)?"html-num-fmt"+i:null},function(t,e){return g(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),t.extend(l.ext.type.search,{html:function(t){return g(t)?t:"string"==typeof t?t.replace(d," ").replace(u,""):""},string:function(t){return g(t)?t:"string"==typeof t?t.replace(d," "):t}});var Le=function(t,e,i,n){return 0===t||t&&"-"!==t?(e&&(t=v(t,e)),t.replace&&(i&&(t=t.replace(i,"")),n&&(t=t.replace(n,""))),1*t):-1/0};function Ee(e){t.each({num:function(t){return Le(t,e)},"num-fmt":function(t){return Le(t,e,f)},"html-num":function(t){return Le(t,e,u)},"html-num-fmt":function(t){return Le(t,e,u,f)}},function(t,i){a.type.order[t+e+"-pre"]=i,t.match(/^html\-/)&&(a.type.search[t+e]=a.type.search.html)})}t.extend(a.type.order,{"date-pre":function(t){var e=Date.parse(t);return isNaN(e)?-1/0:e},"html-pre":function(t){return g(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return g(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:t>e?1:0},"string-desc":function(t,e){return t<e?1:t>e?-1:0}}),Ee(""),t.extend(!0,l.ext.renderer,{header:{_:function(e,i,n,a){t(e.nTable).on("order.dt.DT",function(t,r,o,s){if(e===r){var l=n.idx;i.removeClass(n.sSortingClass+" "+a.sSortAsc+" "+a.sSortDesc).addClass("asc"==s[l]?a.sSortAsc:"desc"==s[l]?a.sSortDesc:n.sSortingClass)}})},jqueryui:function(e,i,n,a){t("<div/>").addClass(a.sSortJUIWrapper).append(i.contents()).append(t("<span/>").addClass(a.sSortIcon+" "+n.sSortingClassJUI)).appendTo(i),t(e.nTable).on("order.dt.DT",function(t,r,o,s){if(e===r){var l=n.idx;i.removeClass(a.sSortAsc+" "+a.sSortDesc).addClass("asc"==s[l]?a.sSortAsc:"desc"==s[l]?a.sSortDesc:n.sSortingClass),i.find("span."+a.sSortIcon).removeClass(a.sSortJUIAsc+" "+a.sSortJUIDesc+" "+a.sSortJUI+" "+a.sSortJUIAscAllowed+" "+a.sSortJUIDescAllowed).addClass("asc"==s[l]?a.sSortJUIAsc:"desc"==s[l]?a.sSortJUIDesc:n.sSortingClassJUI)}})}}});var Ae=function(t){return"string"==typeof t?t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t};function Pe(t){return function(){var e=[re(this[l.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return l.ext.internal[t].apply(this,e)}}return l.render={number:function(t,e,i,n,a){return{display:function(r){if("number"!=typeof r&&"string"!=typeof r)return r;var o=r<0?"-":"",s=parseFloat(r);if(isNaN(s))return Ae(r);s=s.toFixed(i),r=Math.abs(s);var l=parseInt(r,10),c=i?e+(r-l).toFixed(i).substring(2):"";return o+(n||"")+l.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+c+(a||"")}}},text:function(){return{display:Ae,filter:Ae}}},t.extend(l.ext.internal,{_fnExternApiFunc:Pe,_fnBuildAjax:ht,_fnAjaxUpdate:pt,_fnAjaxParameters:ft,_fnAjaxUpdateDraw:gt,_fnAjaxDataSrc:mt,_fnAddColumn:O,_fnColumnOptions:I,_fnAdjustColumnSizing:H,_fnVisibleToColumnIndex:R,_fnColumnIndexToVisible:N,_fnVisbleColumns:j,_fnGetColumns:F,_fnColumnTypes:z,_fnApplyColumnDefs:W,_fnHungarianMap:C,_fnCamelToHungarian:T,_fnLanguageCompat:D,_fnBrowserDetect:P,_fnAddData:B,_fnAddTr:V,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==n?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,i,n){return t.inArray(n,e.aoData[i].anCells)},_fnGetCellData:$,_fnSetCellData:X,_fnSplitObjNotation:G,_fnGetObjectDataFn:Z,_fnSetObjectDataFn:J,_fnGetDataMaster:K,_fnClearTable:Q,_fnDeleteIndex:tt,_fnInvalidate:et,_fnGetRowElements:it,_fnCreateTr:nt,_fnBuildHead:rt,_fnDrawHead:ot,_fnDraw:st,_fnReDraw:lt,_fnAddOptionsHtml:ct,_fnDetectHeader:dt,_fnGetUniqueThs:ut,_fnFeatureHtmlFilter:vt,_fnFilterComplete:yt,_fnFilterCustom:bt,_fnFilterColumn:wt,_fnFilter:xt,_fnFilterCreateSearch:_t,_fnEscapeRegex:kt,_fnFilterData:Ct,_fnFeatureHtmlInfo:Lt,_fnUpdateInfo:Et,_fnInfoMacros:At,_fnInitialise:Pt,_fnInitComplete:Yt,_fnLengthChange:Ot,_fnFeatureHtmlLength:It,_fnFeatureHtmlPaginate:Ht,_fnPageChange:Rt,_fnFeatureHtmlProcessing:Nt,_fnProcessingDisplay:jt,_fnFeatureHtmlTable:Ft,_fnScrollDraw:zt,_fnApplyToChildren:Wt,_fnCalculateColumnWidths:Vt,_fnThrottle:$t,_fnConvertToWidth:Xt,_fnGetWidestNode:qt,_fnGetMaxLenString:Ut,_fnStringToCss:Gt,_fnSortFlatten:Zt,_fnSort:Jt,_fnSortAria:Kt,_fnSortListener:Qt,_fnSortAttachListener:te,_fnSortingClasses:ee,_fnSortData:ie,_fnSaveState:ne,_fnLoadState:ae,_fnSettingsFromNode:re,_fnLog:oe,_fnMap:se,_fnBindAction:ce,_fnCallbackReg:de,_fnCallbackFire:ue,_fnLengthOverflow:he,_fnRenderer:pe,_fnDataSource:fe,_fnRowAttributes:at,_fnExtend:le,_fnCalculateEnd:function(){}}),t.fn.dataTable=l,l.$=t,t.fn.dataTableSettings=l.settings,t.fn.dataTableExt=l.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(l,function(e,i){t.fn.DataTable[e]=i}),t.fn.dataTable}(t,window,document)}.apply(e,n))||(t.exports=a)}()},function(t,e,i){"use strict";
/*!
 * perfect-scrollbar v1.4.0
 * (c) 2018 Hyunje Jun
 * @license MIT
 */function n(t){return getComputedStyle(t)}function a(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n+="px"),t.style[i]=n}return t}function r(t){var e=document.createElement("div");return e.className=t,e}var o="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function s(t,e){if(!o)throw new Error("No element matching method supported");return o.call(t,e)}function l(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function c(t,e){return Array.prototype.filter.call(t.children,function(t){return s(t,e)})}var d={main:"ps",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},u={x:null,y:null};function h(t,e){var i=t.element.classList,n=d.state.scrolling(e);i.contains(n)?clearTimeout(u[e]):i.add(n)}function p(t,e){u[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(d.state.scrolling(e))},t.settings.scrollingThreshold)}var f=function(t){this.element=t,this.handlers={}},g={isEmpty:{configurable:!0}};f.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},f.prototype.unbind=function(t,e){var i=this;this.handlers[t]=this.handlers[t].filter(function(n){return!(!e||n===e)||(i.element.removeEventListener(t,n,!1),!1)})},f.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},g.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(f.prototype,g);var m=function(){this.eventElements=[]};function v(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}m.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new f(t),this.eventElements.push(e)),e},m.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},m.prototype.unbind=function(t,e,i){var n=this.eventElement(t);n.unbind(e,i),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)},m.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},m.prototype.once=function(t,e,i){var n=this.eventElement(t),a=function(t){n.unbind(e,a),i(t)};n.bind(e,a)};var y=function(t,e,i,n,a){var r;if(void 0===n&&(n=!0),void 0===a&&(a=!1),"top"===e)r=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");r=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,i,n,a){var r=i[0],o=i[1],s=i[2],l=i[3],c=i[4],d=i[5];void 0===n&&(n=!0);void 0===a&&(a=!1);var u=t.element;t.reach[l]=null,u[s]<1&&(t.reach[l]="start");u[s]>t[r]-t[o]-1&&(t.reach[l]="end");e&&(u.dispatchEvent(v("ps-scroll-"+l)),e<0?u.dispatchEvent(v("ps-scroll-"+c)):e>0&&u.dispatchEvent(v("ps-scroll-"+d)),n&&function(t,e){h(t,e),p(t,e)}(t,l));t.reach[l]&&(e||a)&&u.dispatchEvent(v("ps-"+l+"-reach-"+t.reach[l]))}(t,i,r,n,a)};function b(t){return parseInt(t,10)||0}var w={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},x=function(t){var e=t.element,i=Math.floor(e.scrollTop);t.containerWidth=e.clientWidth,t.containerHeight=e.clientHeight,t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(c(e,d.element.rail("x")).forEach(function(t){return l(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(c(e,d.element.rail("y")).forEach(function(t){return l(t)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=_(t,b(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=b((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=_(t,b(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=b(i*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var i={width:e.railXWidth},n=Math.floor(t.scrollTop);e.isRtl?i.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:i.left=t.scrollLeft;e.isScrollbarXUsingBottom?i.bottom=e.scrollbarXBottom-n:i.top=e.scrollbarXTop+n;a(e.scrollbarXRail,i);var r={top:n,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?r.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:r.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?r.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:r.left=e.scrollbarYLeft+t.scrollLeft;a(e.scrollbarYRail,r),a(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),a(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(d.state.active("x")):(e.classList.remove(d.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=0),t.scrollbarYActive?e.classList.add(d.state.active("y")):(e.classList.remove(d.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)};function _(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function k(t,e){var i=e[0],n=e[1],a=e[2],r=e[3],o=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=t.element,g=null,m=null,v=null;function y(e){f[l]=g+v*(e[a]-m),h(t,c),x(t),e.stopPropagation(),e.preventDefault()}function b(){p(t,c),t[u].classList.remove(d.state.clicking),t.event.unbind(t.ownerDocument,"mousemove",y)}t.event.bind(t[o],"mousedown",function(e){g=f[l],m=e[a],v=(t[n]-t[i])/(t[r]-t[s]),t.event.bind(t.ownerDocument,"mousemove",y),t.event.once(t.ownerDocument,"mouseup",b),t[u].classList.add(d.state.clicking),e.stopPropagation(),e.preventDefault()})}var S={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(e){var i=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=i*t.containerHeight,x(t),e.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(e){var i=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=i*t.containerWidth,x(t),e.stopPropagation()})},"drag-thumb":function(t){k(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),k(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&(s(e,":hover")||s(t.scrollbarX,":focus")||s(t.scrollbarY,":focus"))){var n,a=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(a){if("IFRAME"===a.tagName)a=a.contentDocument.activeElement;else for(;a.shadowRoot;)a=a.shadowRoot.activeElement;if(s(n=a,"input,[contenteditable]")||s(n,"select,[contenteditable]")||s(n,"textarea,[contenteditable]")||s(n,"button,[contenteditable]"))return}var r=0,o=0;switch(i.which){case 37:r=i.metaKey?-t.contentWidth:i.altKey?-t.containerWidth:-30;break;case 38:o=i.metaKey?t.contentHeight:i.altKey?t.containerHeight:30;break;case 39:r=i.metaKey?t.contentWidth:i.altKey?t.containerWidth:30;break;case 40:o=i.metaKey?-t.contentHeight:i.altKey?-t.containerHeight:-30;break;case 32:o=i.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:o=t.containerHeight;break;case 34:o=-t.containerHeight;break;case 36:o=t.contentHeight;break;case 35:o=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==r||t.settings.suppressScrollY&&0!==o||(e.scrollTop-=o,e.scrollLeft+=r,x(t),function(i,n){var a=Math.floor(e.scrollTop);if(0===i){if(!t.scrollbarYActive)return!1;if(0===a&&n>0||a>=t.contentHeight-t.containerHeight&&n<0)return!t.settings.wheelPropagation}var r=e.scrollLeft;if(0===n){if(!t.scrollbarXActive)return!1;if(0===r&&i<0||r>=t.contentWidth-t.containerWidth&&i>0)return!t.settings.wheelPropagation}return!0}(r,o)&&i.preventDefault())}})},wheel:function(t){var e=t.element;function i(i){var a=function(t){var e=t.deltaX,i=-1*t.deltaY;return void 0!==e&&void 0!==i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!=e&&i!=i&&(e=0,i=t.wheelDelta),t.shiftKey?[-i,-e]:[e,i]}(i),r=a[0],o=a[1];if(!function(t,i,a){if(!w.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains(d.element.consuming))return!0;var o=n(r);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var s=r.scrollHeight-r.clientHeight;if(s>0&&!(0===r.scrollTop&&a>0||r.scrollTop===s&&a<0))return!0;var l=r.scrollWidth-r.clientWidth;if(l>0&&!(0===r.scrollLeft&&i<0||r.scrollLeft===l&&i>0))return!0}r=r.parentNode}return!1}(i.target,r,o)){var s=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(o?e.scrollTop-=o*t.settings.wheelSpeed:e.scrollTop+=r*t.settings.wheelSpeed,s=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(r?e.scrollLeft+=r*t.settings.wheelSpeed:e.scrollLeft-=o*t.settings.wheelSpeed,s=!0):(e.scrollTop-=o*t.settings.wheelSpeed,e.scrollLeft+=r*t.settings.wheelSpeed),x(t),(s=s||function(i,n){var a=Math.floor(e.scrollTop),r=0===e.scrollTop,o=a+e.offsetHeight===e.scrollHeight,s=0===e.scrollLeft,l=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(n)>Math.abs(i)?r||o:s||l)||!t.settings.wheelPropagation}(r,o))&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",i):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",i)},touch:function(t){if(w.supportsTouch||w.supportsIePointer){var e=t.element,i={},a=0,r={},o=null;w.supportsTouch?(t.event.bind(e,"touchstart",u),t.event.bind(e,"touchmove",h),t.event.bind(e,"touchend",p)):w.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",u),t.event.bind(e,"pointermove",h),t.event.bind(e,"pointerup",p)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",u),t.event.bind(e,"MSPointerMove",h),t.event.bind(e,"MSPointerUp",p)))}function s(i,n){e.scrollTop-=n,e.scrollLeft-=i,x(t)}function l(t){return t.targetTouches?t.targetTouches[0]:t}function c(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function u(t){if(c(t)){var e=l(t);i.pageX=e.pageX,i.pageY=e.pageY,a=(new Date).getTime(),null!==o&&clearInterval(o)}}function h(o){if(c(o)){var u=l(o),h={pageX:u.pageX,pageY:u.pageY},p=h.pageX-i.pageX,f=h.pageY-i.pageY;if(function(t,i,a){if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains(d.element.consuming))return!0;var o=n(r);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var s=r.scrollHeight-r.clientHeight;if(s>0&&!(0===r.scrollTop&&a>0||r.scrollTop===s&&a<0))return!0;var l=r.scrollLeft-r.clientWidth;if(l>0&&!(0===r.scrollLeft&&i<0||r.scrollLeft===l&&i>0))return!0}r=r.parentNode}return!1}(o.target,p,f))return;s(p,f),i=h;var g=(new Date).getTime(),m=g-a;m>0&&(r.x=p/m,r.y=f/m,a=g),function(i,n){var a=Math.floor(e.scrollTop),r=e.scrollLeft,o=Math.abs(i),s=Math.abs(n);if(s>o){if(n<0&&a===t.contentHeight-t.containerHeight||n>0&&0===a)return 0===window.scrollY&&n>0&&w.isChrome}else if(o>s&&(i<0&&r===t.contentWidth-t.containerWidth||i>0&&0===r))return!0;return!0}(p,f)&&o.preventDefault()}}function p(){t.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){t.isInitialized?clearInterval(o):r.x||r.y?Math.abs(r.x)<.01&&Math.abs(r.y)<.01?clearInterval(o):(s(30*r.x,30*r.y),r.x*=.8,r.y*=.8):clearInterval(o)},10))}}},M=function(t,e){var i=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var o in this.element=t,t.classList.add(d.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)i.settings[o]=e[o];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,l,c=function(){return t.classList.add(d.state.focus)},u=function(){return t.classList.remove(d.state.focus)};this.isRtl="rtl"===n(t).direction,this.isNegativeScroll=(l=t.scrollLeft,t.scrollLeft=-1,s=t.scrollLeft<0,t.scrollLeft=l,s),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new m,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=r(d.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=r(d.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",c),this.event.bind(this.scrollbarX,"blur",u),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var h=n(this.scrollbarXRail);this.scrollbarXBottom=parseInt(h.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=b(h.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=b(h.borderLeftWidth)+b(h.borderRightWidth),a(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=b(h.marginLeft)+b(h.marginRight),a(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=r(d.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=r(d.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",c),this.event.bind(this.scrollbarY,"blur",u),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var p=n(this.scrollbarYRail);this.scrollbarYRight=parseInt(p.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=b(p.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=n(t);return b(e.width)+b(e.paddingLeft)+b(e.paddingRight)+b(e.borderLeftWidth)+b(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=b(p.borderTopWidth)+b(p.borderBottomWidth),a(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=b(p.marginTop)+b(p.marginBottom),a(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return S[t](i)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return i.onScroll(t)}),x(this)};M.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,a(this.scrollbarXRail,{display:"block"}),a(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=b(n(this.scrollbarXRail).marginLeft)+b(n(this.scrollbarXRail).marginRight),this.railYMarginHeight=b(n(this.scrollbarYRail).marginTop)+b(n(this.scrollbarYRail).marginBottom),a(this.scrollbarXRail,{display:"none"}),a(this.scrollbarYRail,{display:"none"}),x(this),y(this,"top",0,!1,!0),y(this,"left",0,!1,!0),a(this.scrollbarXRail,{display:""}),a(this.scrollbarYRail,{display:""}))},M.prototype.onScroll=function(t){this.isAlive&&(x(this),y(this,"top",this.element.scrollTop-this.lastScrollTop),y(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},M.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),l(this.scrollbarX),l(this.scrollbarY),l(this.scrollbarXRail),l(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},M.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")},e.a=M},function(t,e,i){var n,a,r;a=[],void 0===(r="function"==typeof(n=function(){"use strict";var t=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function e(t){return t.split("").reverse().join("")}function i(t,e){return t.substring(0,e.length)===e}function n(t,e,i){if((t[e]||t[i])&&t[e]===t[i])throw new Error(e)}function a(t){return"number"==typeof t&&isFinite(t)}function r(t,i,n,r,o,s,l,c,d,u,h,p){var f,g,m,v,y,b=p,w="",x="";return s&&(p=s(p)),!!a(p)&&(!1!==t&&0===parseFloat(p.toFixed(t))&&(p=0),p<0&&(f=!0,p=Math.abs(p)),!1!==t&&(y=t,v=(v=p).toString().split("e"),p=(+((v=(v=Math.round(+(v[0]+"e"+(v[1]?+v[1]+y:y)))).toString().split("e"))[0]+"e"+(v[1]?+v[1]-y:-y))).toFixed(y)),-1!==(p=p.toString()).indexOf(".")?(g=p.split("."),m=g[0],n&&(w=n+g[1])):m=p,i&&(m=e(m).match(/.{1,3}/g),m=e(m.join(e(i)))),f&&c&&(x+=c),r&&(x+=r),f&&d&&(x+=d),x+=m,x+=w,o&&(x+=o),u&&(x=u(x,b)),x)}function o(t,e,n,r,o,s,l,c,d,u,h,p){var f,g="";return h&&(p=h(p)),!(!p||"string"!=typeof p)&&(c&&i(p,c)&&(p=p.replace(c,""),f=!0),r&&i(p,r)&&(p=p.replace(r,"")),d&&i(p,d)&&(p=p.replace(d,""),f=!0),o&&function(t,e){return t.slice(-1*e.length)===e}(p,o)&&(p=p.slice(0,-1*o.length)),e&&(p=p.split(e).join("")),n&&(p=p.replace(n,".")),f&&(g+="-"),""!==(g=(g+=p).replace(/[^0-9\.\-.]/g,""))&&(g=Number(g),l&&(g=l(g)),!!a(g)&&g))}function s(e,i,n){var a,r=[];for(a=0;a<t.length;a+=1)r.push(e[t[a]]);return r.push(n),i.apply("",r)}return function e(i){if(!(this instanceof e))return new e(i);"object"==typeof i&&(i=function(e){var i,a,r,o={};for(void 0===e.suffix&&(e.suffix=e.postfix),i=0;i<t.length;i+=1)if(a=t[i],void 0===(r=e[a]))"negative"!==a||o.negativeBefore?"mark"===a&&"."!==o.thousand?o[a]=".":o[a]=!1:o[a]="-";else if("decimals"===a){if(!(r>=0&&r<8))throw new Error(a);o[a]=r}else if("encoder"===a||"decoder"===a||"edit"===a||"undo"===a){if("function"!=typeof r)throw new Error(a);o[a]=r}else{if("string"!=typeof r)throw new Error(a);o[a]=r}return n(o,"mark","thousand"),n(o,"prefix","negative"),n(o,"prefix","negativeBefore"),o}(i),this.to=function(t){return s(i,r,t)},this.from=function(t){return s(i,o,t)})}})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){!function(t){"use strict";t.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(t){return/^nm$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,i,r,o){var s=n(e),l=a[t][n(e)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.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(t){return"م"===t},meridiem:function(t,e,i){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return i[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(t){return function(e,a,r,o){var s=i(e),l=n[t][i(e)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,e)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:r,monthsShort:r,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(t){return"م"===t},meridiem:function(t,e,i){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,i){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return i[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,i){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var i=t%10,n=t%100-i,a=t>=100?100:null;return t+(e[i]||e[n]||e[a])},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i){var n,a,r={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===i?e?"хвіліна":"хвіліну":"h"===i?e?"гадзіна":"гадзіну":t+" "+(n=+t,a=r[i].split("_"),n%10==1&&n%100!=11?a[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?a[1]:a[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,i){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-ев":0===i?t+"-ен":i>10&&i<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_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ɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,i){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},i={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,i){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],t)}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return n+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return n+=1===t?"dan":"dana";case"MM":return n+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return n+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"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à a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",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|è|a)/,ordinal:function(t,e){var i=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(i="a"),t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");function n(t){return t>1&&t<5&&1!=~~(t/10)}function a(t,e,i,a){var r=t+" ";switch(i){case"s":return e||a?"pár sekund":"pár sekundami";case"ss":return e||a?r+(n(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":a?"minutu":"minutou";case"mm":return e||a?r+(n(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":a?"hodinu":"hodinou";case"hh":return e||a?r+(n(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||a?"den":"dnem";case"dd":return e||a?r+(n(t)?"dny":"dní"):r+"dny";case"M":return e||a?"měsíc":"měsícem";case"MM":return e||a?r+(n(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||a?"rok":"rokem";case"yy":return e||a?r+(n(t)?"roky":"let"):r+"lety"}}t.defineLocale("cs",{months:e,monthsShort:i,monthsParse:function(t,e){var i,n=[];for(i=0;i<12;i++)n[i]=new RegExp("^"+t[i]+"$|^"+e[i]+"$","i");return n}(e,i),shortMonthsParse:function(t){var e,i=[];for(e=0;e<12;e++)i[e]=new RegExp("^"+t[e]+"$","i");return i}(i),longMonthsParse:function(t){var e,i=[];for(e=0;e<12;e++)i[e]=new RegExp("^"+t[e]+"$","i");return i}(e),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){var e=/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран";return t+e},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",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(t){var e=t,i="";return e>20?i=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[i][0]:a[i][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[i][0]:a[i][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[i][0]:a[i][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],i=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,i){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,i){return t>11?i?"μμ":"ΜΜ":i?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var i,n=this._calendarEl[t],a=e&&e.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(e)),n.replace("{}",a%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY 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(t){var e=t%10,i=1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"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(t){var e=t%10,i=1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY 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(t){var e=t%10,i=1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.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(t){var e=t%10,i=1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.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",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(t){var e=t%10,i=1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i}})}(i(1))},function(t,e,i){!function(t){"use strict";t.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(t){var e=t%10,i=1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,i){return t>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(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;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,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:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(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;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,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:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?a[i][2]?a[i][2]:a[i][1]:n?a[i][0]:a[i][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),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}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},i={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,i){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,function(t){return i[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function n(t,n,a,r){var o="";switch(a){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":o=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return o=function(t,n){return t<10?n?i[t]:e[t]:t}(t,r)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",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|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","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àireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10==2?"na":"mh";return t+e},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var a={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka horan","ek hor"],hh:[t+" horanim",t+" horam"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?a[i][0]:a[i][1]}t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},i={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,i){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?i?'לפנה"צ':"לפני הצהריים":t<18?i?'אחה"צ':"אחרי הצהריים":"בערב"}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return n+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return n+=1===t?"dan":"dana";case"MM":return n+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return n+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function i(t,e,i,n){var a=t;switch(i){case"s":return n||e?"néhány másodperc":"néhány másodperce";case"ss":return a+(n||e)?" másodperc":" másodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return a+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" óra":" órája");case"hh":return a+(n||e?" óra":" órája");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return a+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" hónap":" hónapja");case"MM":return a+(n||e?" hónap":" hónapja");case"y":return"egy"+(n||e?" év":" éve");case"yy":return a+(n||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,i){return t<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"siang":t<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:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function i(t,i,n,a){var r=t+" ";switch(n){case"s":return i||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?r+(i||a?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return i?"mínúta":"mínútu";case"mm":return e(t)?r+(i||a?"mínútur":"mínútum"):i?r+"mínúta":r+"mínútu";case"hh":return e(t)?r+(i||a?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return i?"dagur":a?"dag":"degi";case"dd":return e(t)?i?r+"dagar":r+(a?"daga":"dögum"):i?r+"dagur":r+(a?"dag":"degi");case"M":return i?"mánuður":a?"mánuð":"mánuði";case"MM":return e(t)?i?r+"mánuðir":r+(a?"mánuði":"mánuðum"):i?r+"mánuður":r+(a?"mánuð":"mánuði");case"y":return i||a?"ár":"ári";case"yy":return e(t)?r+(i||a?"ár":"árum"):r+(i||a?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"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(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},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}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,i){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()<t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"enjing":t<15?"siyang":t<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}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var i=t%10,n=t>=100?100:null;return t+(e[t]||e[i]||e[n])},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},i={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,i){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},i={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,i){return t<12?"오전":"오후"}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,i){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return i[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var i=t%10,n=t>=100?100:null;return t+(e[t]||e[i]||e[n])},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?a[i][0]:a[i][1]}function i(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10,n=t/10;return i(0===e?n:e)}if(t<1e4){for(;t>=10;)t/=10;return i(t)}return i(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return i(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return i(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,i){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function i(t,e,i,n){return e?a(i)[0]:n?a(i)[1]:a(i)[2]}function n(t){return t%10==0||t>10&&t<20}function a(t){return e[t].split("_")}function r(t,e,r,o){var s=t+" ";return 1===t?s+i(0,e,r[0],o):e?s+(n(t)?a(r)[1]:a(r)[0]):o?s+a(r)[1]:s+(n(t)?a(r)[1]:a(r)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,i,n){return e?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(t,e,i){return i?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function n(t,n,a){return t+" "+i(e[a],t,n)}function a(t,n,a){return i(e[a],t,n)}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:n,m:a,mm:n,h:a,hh:n,d:a,dd:n,M:a,MM:n,y:a,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={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(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var a=e.words[n];return 1===n.length?i?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-ев":0===i?t+"-ен":i>10&&i<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,i){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){switch(i){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,i){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(t,e,i,n){var a="";if(e)switch(i){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(i){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,t)}t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?t<4?t:t+12:"सकाळी"===e?t:"दुपारी"===e?t>=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"रात्री":t<10?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<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}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<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}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_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ħada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},i={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,i){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],a=/^(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;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,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:n,longMonthsParse:n,shortMonthsParse:n,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:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],a=/^(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;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,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:n,longMonthsParse:n,shortMonthsParse:n,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:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},i={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function n(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function a(t,e,i){var a=t+" ";switch(i){case"ss":return a+(n(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return a+(n(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return a+(n(t)?"godziny":"godzin");case"MM":return a+(n(t)?"miesiące":"miesięcy");case"yy":return a+(n(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,n){return t?""===n?"("+i[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(n)?i[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %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ês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=" ";return(t%100>=20||t>=100&&t%100==0)&&(n=" de "),t+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i){var n,a,r={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?e?"минута":"минуту":t+" "+(n=+t,a=r[i].split("_"),n%10==1&&n%100!=11?a[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?a[1]:a[2])}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,i){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],i=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,i){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,i){return t>11?i?"ප.ව.":"පස් වරු":i?"පෙ.ව.":"පෙර වරු"}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(t){return t>1&&t<5}function a(t,e,i,a){var r=t+" ";switch(i){case"s":return e||a?"pár sekúnd":"pár sekundami";case"ss":return e||a?r+(n(t)?"sekundy":"sekúnd"):r+"sekundami";case"m":return e?"minúta":a?"minútu":"minútou";case"mm":return e||a?r+(n(t)?"minúty":"minút"):r+"minútami";case"h":return e?"hodina":a?"hodinu":"hodinou";case"hh":return e||a?r+(n(t)?"hodiny":"hodín"):r+"hodinami";case"d":return e||a?"deň":"dňom";case"dd":return e||a?r+(n(t)?"dni":"dní"):r+"dňami";case"M":return e||a?"mesiac":"mesiacom";case"MM":return e||a?r+(n(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||a?"rok":"rokom";case"yy":return e||a?r+(n(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var a=t+" ";switch(i){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===t?e?"sekundo":"sekundi":2===t?e||n?"sekundi":"sekundah":t<5?e||n?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return a+=1===t?e?"minuta":"minuto":2===t?e||n?"minuti":"minutama":t<5?e||n?"minute":"minutami":e||n?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return a+=1===t?e?"ura":"uro":2===t?e||n?"uri":"urama":t<5?e||n?"ure":"urami":e||n?"ur":"urami";case"d":return e||n?"en dan":"enim dnem";case"dd":return a+=1===t?e||n?"dan":"dnem":2===t?e||n?"dni":"dnevoma":e||n?"dni":"dnevi";case"M":return e||n?"en mesec":"enim mesecem";case"MM":return a+=1===t?e||n?"mesec":"mesecem":2===t?e||n?"meseca":"mesecema":t<5?e||n?"mesece":"meseci":e||n?"mesecev":"meseci";case"y":return e||n?"eno leto":"enim letom";case"yy":return a+=1===t?e||n?"leto":"letom":2===t?e||n?"leti":"letoma":t<5?e||n?"leta":"leti":e||n?"let":"leti"}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,i){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var a=e.words[n];return 1===n.length?i?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var a=e.words[n];return 1===n.length?i?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.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(t,e,i){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10,i=1==~~(t%100/10)?"e":1===e?"a":2===e?"a":"e";return t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},i={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,i){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e?t:"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_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:"minutu balun",ss:"minutu %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(t){var e=t%10,i=1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){var i=t%10,n=t>=100?100:null;return t+(e[t]||e[i]||e[n])},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,i){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"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(t){return t},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(t,i,n,a){var r=function(t){var i=Math.floor(t%1e3/100),n=Math.floor(t%100/10),a=t%10,r="";return i>0&&(r+=e[i]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+e[n]+"maH"),a>0&&(r+=(""!==r?" ":"")+e[a]),""===r?"pagh":r}(t);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,i){switch(i){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var n=t%10,a=t%100-n,r=t>=100?100:null;return t+(e[n]||e[a]||e[r])}},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var a={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return n?a[i][0]:e?a[i][0]:a[i][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,i){return t>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"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ḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";function e(t,e,i){var n,a,r={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===i?e?"хвилина":"хвилину":"h"===i?e?"година":"годину":t+" "+(n=+t,a=r[i].split("_"),n%10==1&&n%100!=11?a[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?a[1]:a[2])}function i(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};if(!t)return i.nominative;var n=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative";return i[n][t.day()]},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,i){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],i=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,i){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(i(1))},function(t,e,i){!function(t){"use strict";t.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}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"sa":"SA":i?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,i=1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i(1))},function(t,e,i){!function(t){"use strict";t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i(1))},function(t,e,i){var n,a;
/*! DataTables Bootstrap 4 integration
 * ©2011-2017 SpryMedia Ltd - datatables.net/license
 */n=[i(0),i(18)],void 0===(a=function(t){return function(t,e,i,n){"use strict";var a=t.fn.dataTable;return t.extend(!0,a.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",renderer:"bootstrap"}),t.extend(a.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"}),a.ext.renderer.pageButton.bootstrap=function(e,r,o,s,l,c){var d,u,h,p=new a.Api(e),f=e.oClasses,g=e.oLanguage.oPaginate,m=e.oLanguage.oAria.paginate||{},v=0,y=function(i,n){var a,r,s,h,b=function(e){e.preventDefault(),t(e.currentTarget).hasClass("disabled")||p.page()==e.data.action||p.page(e.data.action).draw("page")};for(a=0,r=n.length;a<r;a++)if(h=n[a],t.isArray(h))y(i,h);else{switch(d="",u="",h){case"ellipsis":d="&#x2026;",u="disabled";break;case"first":d=g.sFirst,u=h+(l>0?"":" disabled");break;case"previous":d=g.sPrevious,u=h+(l>0?"":" disabled");break;case"next":d=g.sNext,u=h+(l<c-1?"":" disabled");break;case"last":d=g.sLast,u=h+(l<c-1?"":" disabled");break;default:d=h+1,u=l===h?"active":""}d&&(s=t("<li>",{class:f.sPageButton+" "+u,id:0===o&&"string"==typeof h?e.sTableId+"_"+h:null}).append(t("<a>",{href:"#","aria-controls":e.sTableId,"aria-label":m[h],"data-dt-idx":v,tabindex:e.iTabIndex,class:"page-link"}).html(d)).appendTo(i),e.oApi._fnBindAction(s,{action:h},b),v++)}};try{h=t(r).find(i.activeElement).data("dt-idx")}catch(t){}y(t(r).empty().html('<ul class="pagination"/>').children("ul"),s),h!==n&&t(r).find("[data-dt-idx="+h+"]").focus()},a}(t,window,document)}.apply(e,n))||(t.exports=a)},function(t,e,i){var n,a;
/*! Responsive 2.2.3
 * 2014-2018 SpryMedia Ltd - datatables.net/license
 */n=[i(0),i(18)],void 0===(a=function(t){return function(t,e,i,n){"use strict";var a=t.fn.dataTable,r=function(e,i){if(!a.versionCheck||!a.versionCheck("1.10.10"))throw"DataTables Responsive requires DataTables 1.10.10 or newer";this.s={dt:new a.Api(e),columns:[],current:[]},this.s.dt.settings()[0].responsive||(i&&"string"==typeof i.details?i.details={type:i.details}:i&&!1===i.details?i.details={type:!1}:i&&!0===i.details&&(i.details={type:"inline"}),this.c=t.extend(!0,{},r.defaults,a.defaults.responsive,i),e.responsive=this,this._constructor())};t.extend(r.prototype,{_constructor:function(){var i=this,n=this.s.dt,r=n.settings()[0],o=t(e).width();n.settings()[0]._responsive=this,t(e).on("resize.dtr orientationchange.dtr",a.util.throttle(function(){var n=t(e).width();n!==o&&(i._resize(),o=n)})),r.oApi._fnCallbackReg(r,"aoRowCreatedCallback",function(e,a,r){-1!==t.inArray(!1,i.s.current)&&t(">td, >th",e).each(function(e){var a=n.column.index("toData",e);!1===i.s.current[a]&&t(this).css("display","none")})}),n.on("destroy.dtr",function(){n.off(".dtr"),t(n.table().body()).off(".dtr"),t(e).off("resize.dtr orientationchange.dtr"),t.each(i.s.current,function(t,e){!1===e&&i._setColumnVis(t,!0)})}),this.c.breakpoints.sort(function(t,e){return t.width<e.width?1:t.width>e.width?-1:0}),this._classLogic(),this._resizeAuto();var s=this.c.details;!1!==s.type&&(i._detailsInit(),n.on("column-visibility.dtr",function(){i._timer&&clearTimeout(i._timer),i._timer=setTimeout(function(){i._timer=null,i._classLogic(),i._resizeAuto(),i._resize(),i._redrawChildren()},100)}),n.on("draw.dtr",function(){i._redrawChildren()}),t(n.table().node()).addClass("dtr-"+s.type)),n.on("column-reorder.dtr",function(t,e,n){i._classLogic(),i._resizeAuto(),i._resize()}),n.on("column-sizing.dtr",function(){i._resizeAuto(),i._resize()}),n.on("preXhr.dtr",function(){var t=[];n.rows().every(function(){this.child.isShown()&&t.push(this.id(!0))}),n.one("draw.dtr",function(){i._resizeAuto(),i._resize(),n.rows(t).every(function(){i._detailsDisplay(this,!1)})})}),n.on("init.dtr",function(e,a,r){i._resizeAuto(),i._resize(),t.inArray(!1,i.s.current)&&n.columns.adjust()}),this._resize()},_columnsVisiblity:function(e){var i,n,a=this.s.dt,r=this.s.columns,o=r.map(function(t,e){return{columnIdx:e,priority:t.priority}}).sort(function(t,e){return t.priority!==e.priority?t.priority-e.priority:t.columnIdx-e.columnIdx}),s=t.map(r,function(i,n){return!1===a.column(n).visible()?"not-visible":(!i.auto||null!==i.minWidth)&&(!0===i.auto?"-":-1!==t.inArray(e,i.includeIn))}),l=0;for(i=0,n=s.length;i<n;i++)!0===s[i]&&(l+=r[i].minWidth);var c=a.settings()[0].oScroll,d=c.sY||c.sX?c.iBarWidth:0,u=a.table().container().offsetWidth-d,h=u-l;for(i=0,n=s.length;i<n;i++)r[i].control&&(h-=r[i].minWidth);var p=!1;for(i=0,n=o.length;i<n;i++){var f=o[i].columnIdx;"-"===s[f]&&!r[f].control&&r[f].minWidth&&(p||h-r[f].minWidth<0?(p=!0,s[f]=!1):s[f]=!0,h-=r[f].minWidth)}var g=!1;for(i=0,n=r.length;i<n;i++)if(!r[i].control&&!r[i].never&&!1===s[i]){g=!0;break}for(i=0,n=r.length;i<n;i++)r[i].control&&(s[i]=g),"not-visible"===s[i]&&(s[i]=!1);return-1===t.inArray(!0,s)&&(s[0]=!0),s},_classLogic:function(){var e=this,i=this.c.breakpoints,a=this.s.dt,r=a.columns().eq(0).map(function(e){var i=this.column(e),r=i.header().className,o=a.settings()[0].aoColumns[e].responsivePriority;if(o===n){var s=t(i.header()).data("priority");o=s!==n?1*s:1e4}return{className:r,includeIn:[],auto:!1,control:!1,never:!!r.match(/\bnever\b/),priority:o}}),o=function(e,i){var n=r[e].includeIn;-1===t.inArray(i,n)&&n.push(i)},s=function(t,n,a,s){var l,c,d;if(a){if("max-"===a)for(l=e._find(n).width,c=0,d=i.length;c<d;c++)i[c].width<=l&&o(t,i[c].name);else if("min-"===a)for(l=e._find(n).width,c=0,d=i.length;c<d;c++)i[c].width>=l&&o(t,i[c].name);else if("not-"===a)for(c=0,d=i.length;c<d;c++)-1===i[c].name.indexOf(s)&&o(t,i[c].name)}else r[t].includeIn.push(n)};r.each(function(e,n){for(var a=e.className.split(" "),r=!1,o=0,l=a.length;o<l;o++){var c=t.trim(a[o]);if("all"===c)return r=!0,void(e.includeIn=t.map(i,function(t){return t.name}));if("none"===c||e.never)return void(r=!0);if("control"===c)return r=!0,void(e.control=!0);t.each(i,function(t,e){var i=e.name.split("-"),a=new RegExp("(min\\-|max\\-|not\\-)?("+i[0]+")(\\-[_a-zA-Z0-9])?"),o=c.match(a);o&&(r=!0,o[2]===i[0]&&o[3]==="-"+i[1]?s(n,e.name,o[1],o[2]+o[3]):o[2]!==i[0]||o[3]||s(n,e.name,o[1],o[2]))})}r||(e.auto=!0)}),this.s.columns=r},_detailsDisplay:function(e,i){var n=this,a=this.s.dt,r=this.c.details;if(r&&!1!==r.type){var o=r.display(e,i,function(){return r.renderer(a,e[0],n._detailsObj(e[0]))});!0!==o&&!1!==o||t(a.table().node()).triggerHandler("responsive-display.dt",[a,e,o,i])}},_detailsInit:function(){var e=this,i=this.s.dt,n=this.c.details;"inline"===n.type&&(n.target="td:first-child, th:first-child"),i.on("draw.dtr",function(){e._tabIndexes()}),e._tabIndexes(),t(i.table().body()).on("keyup.dtr","td, th",function(e){13===e.keyCode&&t(this).data("dtr-keyboard")&&t(this).click()});var a=n.target,r="string"==typeof a?a:"td, th";t(i.table().body()).on("click.dtr mousedown.dtr mouseup.dtr",r,function(n){if(t(i.table().node()).hasClass("collapsed")&&-1!==t.inArray(t(this).closest("tr").get(0),i.rows().nodes().toArray())){if("number"==typeof a){var r=a<0?i.columns().eq(0).length+a:a;if(i.cell(this).index().column!==r)return}var o=i.row(t(this).closest("tr"));"click"===n.type?e._detailsDisplay(o,!1):"mousedown"===n.type?t(this).css("outline","none"):"mouseup"===n.type&&t(this).blur().css("outline","")}})},_detailsObj:function(e){var i=this,n=this.s.dt;return t.map(this.s.columns,function(t,a){if(!t.never&&!t.control)return{title:n.settings()[0].aoColumns[a].sTitle,data:n.cell(e,a).render(i.c.orthogonal),hidden:n.column(a).visible()&&!i.s.current[a],columnIndex:a,rowIndex:e}})},_find:function(t){for(var e=this.c.breakpoints,i=0,n=e.length;i<n;i++)if(e[i].name===t)return e[i]},_redrawChildren:function(){var t=this,e=this.s.dt;e.rows({page:"current"}).iterator("row",function(i,n){e.row(n),t._detailsDisplay(e.row(n),!0)})},_resize:function(){var i,n,a=this,r=this.s.dt,o=t(e).width(),s=this.c.breakpoints,l=s[0].name,c=this.s.columns,d=this.s.current.slice();for(i=s.length-1;i>=0;i--)if(o<=s[i].width){l=s[i].name;break}var u=this._columnsVisiblity(l);this.s.current=u;var h=!1;for(i=0,n=c.length;i<n;i++)if(!1===u[i]&&!c[i].never&&!c[i].control&&0==!r.column(i).visible()){h=!0;break}t(r.table().node()).toggleClass("collapsed",h);var p=!1,f=0;r.columns().eq(0).each(function(t,e){!0===u[e]&&f++,u[e]!==d[e]&&(p=!0,a._setColumnVis(t,u[e]))}),p&&(this._redrawChildren(),t(r.table().node()).trigger("responsive-resize.dt",[r,this.s.current]),0===r.page.info().recordsDisplay&&t("td",r.table().body()).eq(0).attr("colspan",f))},_resizeAuto:function(){var e=this.s.dt,i=this.s.columns;if(this.c.auto&&-1!==t.inArray(!0,t.map(i,function(t){return t.auto}))){t.isEmptyObject(o)||t.each(o,function(t){var i=t.split("-");s(e,1*i[0],1*i[1])}),e.table().node().offsetWidth,e.columns;var n=e.table().node().cloneNode(!1),a=t(e.table().header().cloneNode(!1)).appendTo(n),r=t(e.table().body()).clone(!1,!1).empty().appendTo(n),l=e.columns().header().filter(function(t){return e.column(t).visible()}).to$().clone(!1).css("display","table-cell").css("min-width",0);t(r).append(t(e.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display","");var c=e.table().footer();if(c){var d=t(c.cloneNode(!1)).appendTo(n),u=e.columns().footer().filter(function(t){return e.column(t).visible()}).to$().clone(!1).css("display","table-cell");t("<tr/>").append(u).appendTo(d)}t("<tr/>").append(l).appendTo(a),"inline"===this.c.details.type&&t(n).addClass("dtr-inline collapsed"),t(n).find("[name]").removeAttr("name"),t(n).css("position","relative");var h=t("<div/>").css({width:1,height:1,overflow:"hidden",clear:"both"}).append(n);h.insertBefore(e.table().node()),l.each(function(t){var n=e.column.index("fromVisible",t);i[n].minWidth=this.offsetWidth||0}),h.remove()}},_setColumnVis:function(e,i){var n=this.s.dt,a=i?"":"none";t(n.column(e).header()).css("display",a),t(n.column(e).footer()).css("display",a),n.column(e).nodes().to$().css("display",a),t.isEmptyObject(o)||n.cells(null,e).indexes().each(function(t){s(n,t.row,t.column)})},_tabIndexes:function(){var e=this.s.dt,i=e.cells({page:"current"}).nodes().to$(),n=e.settings()[0],a=this.c.details.target;i.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),"number"==typeof a?e.cells(null,a,{page:"current"}).nodes().to$().attr("tabIndex",n.iTabIndex).data("dtr-keyboard",1):("td:first-child, th:first-child"===a&&(a=">td:first-child, >th:first-child"),t(a,e.rows({page:"current"}).nodes()).attr("tabIndex",n.iTabIndex).data("dtr-keyboard",1))}}),r.breakpoints=[{name:"desktop",width:1/0},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}],r.display={childRow:function(e,i,n){return i?t(e.node()).hasClass("parent")?(e.child(n(),"child").show(),!0):void 0:e.child.isShown()?(e.child(!1),t(e.node()).removeClass("parent"),!1):(e.child(n(),"child").show(),t(e.node()).addClass("parent"),!0)},childRowImmediate:function(e,i,n){return!i&&e.child.isShown()||!e.responsive.hasHidden()?(e.child(!1),t(e.node()).removeClass("parent"),!1):(e.child(n(),"child").show(),t(e.node()).addClass("parent"),!0)},modal:function(e){return function(n,a,r){if(a)t("div.dtr-modal-content").empty().append(r());else{var o=function(){s.remove(),t(i).off("keypress.dtr")},s=t('<div class="dtr-modal"/>').append(t('<div class="dtr-modal-display"/>').append(t('<div class="dtr-modal-content"/>').append(r())).append(t('<div class="dtr-modal-close">&times;</div>').click(function(){o()}))).append(t('<div class="dtr-modal-background"/>').click(function(){o()})).appendTo("body");t(i).on("keyup.dtr",function(t){27===t.keyCode&&(t.stopPropagation(),o())})}e&&e.header&&t("div.dtr-modal-content").prepend("<h2>"+e.header(n)+"</h2>")}}};var o={};function s(t,e,i){var a=e+"-"+i;if(o[a]){for(var r=t.cell(e,i).node(),s=o[a],l=s[0].parentNode,c=l.childNodes,d=[],u=0,h=c.length;u<h;u++)d.push(c[u]);for(var p=0,f=d.length;p<f;p++)r.appendChild(d[p]);o[a]=n}}r.renderer={listHiddenNodes:function(){return function(e,i,n){var a=t('<ul data-dtr-index="'+i+'" class="dtr-details"/>'),r=!1;return t.each(n,function(i,n){n.hidden&&(t('<li data-dtr-index="'+n.columnIndex+'" data-dt-row="'+n.rowIndex+'" data-dt-column="'+n.columnIndex+'"><span class="dtr-title">'+n.title+"</span> </li>").append(t('<span class="dtr-data"/>').append(function(t,e,i){var n=e+"-"+i;if(o[n])return o[n];for(var a=[],r=t.cell(e,i).node().childNodes,s=0,l=r.length;s<l;s++)a.push(r[s]);return o[n]=a,a}(e,n.rowIndex,n.columnIndex))).appendTo(a),r=!0)}),!!r&&a}},listHidden:function(){return function(e,i,n){var a=t.map(n,function(t){return t.hidden?'<li data-dtr-index="'+t.columnIndex+'" data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><span class="dtr-title">'+t.title+'</span> <span class="dtr-data">'+t.data+"</span></li>":""}).join("");return!!a&&t('<ul data-dtr-index="'+i+'" class="dtr-details"/>').append(a)}},tableAll:function(e){return e=t.extend({tableClass:""},e),function(i,n,a){var r=t.map(a,function(t){return'<tr data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><td>'+t.title+":</td> <td>"+t.data+"</td></tr>"}).join("");return t('<table class="'+e.tableClass+' dtr-details" width="100%"/>').append(r)}}},r.defaults={breakpoints:r.breakpoints,auto:!0,details:{display:r.display.childRow,renderer:r.renderer.listHidden(),target:0,type:"inline"},orthogonal:"display"};var l=t.fn.dataTable.Api;return l.register("responsive()",function(){return this}),l.register("responsive.index()",function(e){return{column:(e=t(e)).data("dtr-index"),row:e.parent().data("dtr-index")}}),l.register("responsive.rebuild()",function(){return this.iterator("table",function(t){t._responsive&&t._responsive._classLogic()})}),l.register("responsive.recalc()",function(){return this.iterator("table",function(t){t._responsive&&(t._responsive._resizeAuto(),t._responsive._resize())})}),l.register("responsive.hasHidden()",function(){var e=this.context[0];return!!e._responsive&&-1!==t.inArray(!1,e._responsive.s.current)}),l.registerPlural("columns().responsiveHidden()","column().responsiveHidden()",function(){return this.iterator("column",function(t,e){return!!t._responsive&&t._responsive.s.current[e]},1)}),r.version="2.2.3",t.fn.dataTable.Responsive=r,t.fn.DataTable.Responsive=r,t(i).on("preInit.dt.dtr",function(e,i,n){if("dt"===e.namespace&&(t(i.nTable).hasClass("responsive")||t(i.nTable).hasClass("dt-responsive")||i.oInit.responsive||a.defaults.responsive)){var o=i.oInit.responsive;!1!==o&&new r(i,t.isPlainObject(o)?o:{})}}),r}(t,window,document)}.apply(e,n))||(t.exports=a)},function(t,e,i){var n=i(220),a=i(222),r=function(t){return t instanceof r?t:this instanceof r?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=a.getRgba(t))?this.setValues("rgb",e):(e=a.getHsla(t))?this.setValues("hsl",e):(e=a.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new r(t);var e};r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return a.hexString(this.values.rgb)},rgbString:function(){return a.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return a.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return a.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return a.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return a.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return a.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return a.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],i=0;i<t.length;i++){var n=t[i]/255;e[i]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,i=(e[0]+t)%360;return e[0]=i<0?360+i:i,this.setValues("hsl",e),this},mix:function(t,e){var i=t,n=void 0===e?.5:e,a=2*n-1,r=this.alpha()-i.alpha(),o=((a*r==-1?a:(a+r)/(1+a*r))+1)/2,s=1-o;return this.rgb(o*this.red()+s*i.red(),o*this.green()+s*i.green(),o*this.blue()+s*i.blue()).alpha(this.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var t,e,i=new r,n=this.values,a=i.values;for(var o in n)n.hasOwnProperty(o)&&(t=n[o],"[object Array]"===(e={}.toString.call(t))?a[o]=t.slice(0):"[object Number]"===e?a[o]=t:console.error("unexpected color value:",t));return i}},r.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,i={},n=0;n<t.length;n++)i[t.charAt(n)]=e[t][n];return 1!==e.alpha&&(i.a=e.alpha),i},r.prototype.setValues=function(t,e){var i,a,r=this.values,o=this.spaces,s=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)r[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(i=0;i<t.length;i++)r[t][i]=e[t.charAt(i)];l=e.a}else if(void 0!==e[o[t][0]]){var c=o[t];for(i=0;i<t.length;i++)r[t][i]=e[c[i]];l=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===t)return!1;for(i=0;i<t.length;i++)a=Math.max(0,Math.min(s[t][i],r[t][i])),r[t][i]=Math.round(a);for(var d in o)d!==t&&(r[d]=n[t][d](r[t]));return!0},r.prototype.setSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i),this)},r.prototype.setChannel=function(t,e,i){var n=this.values[t];return void 0===i?n[e]:i===n[e]?this:(n[e]=i,this.setValues(t,n),this)},"undefined"!=typeof window&&(window.Color=r),t.exports=r},function(t,e,i){"use strict";var n=i(7);e=t.exports=n.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null});Object.defineProperty(e.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(e.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})},function(t,e,i){"use strict";var n=i(4),a=i(3);n._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:a.noop,onComplete:a.noop}}),t.exports={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,i,n){var a,r,o=this.animations;for(e.chart=t,n||(t.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===t)return void(o[a]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=a.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=a.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),i=0;t.dropFrames>1&&(i=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+i);var n=Date.now();t.dropFrames+=(n-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var e,i,n=this.animations,r=0;r<n.length;)i=(e=n[r]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),a.callback(e.render,[i,e],i),a.callback(e.onAnimationProgress,[e],i),e.currentStep>=e.numSteps?(a.callback(e.onAnimationComplete,[e],i),i.animating=!1,n.splice(r,1)):++r}}},function(t,e,i){"use strict";var n=i(3);function a(t,e){return t.native?{x:t.x,y:t.y}:n.getRelativePosition(t,e)}function r(t,e){var i,n,a,r,o;for(n=0,r=t.data.datasets.length;n<r;++n)if(t.isDatasetVisible(n))for(a=0,o=(i=t.getDatasetMeta(n)).data.length;a<o;++a){var s=i.data[a];s._view.skip||e(s)}}function o(t,e){var i=[];return r(t,function(t){t.inRange(e.x,e.y)&&i.push(t)}),i}function s(t,e,i,n){var a=Number.POSITIVE_INFINITY,o=[];return r(t,function(t){if(!i||t.inRange(e.x,e.y)){var r=t.getCenterPoint(),s=n(e,r);s<a?(o=[t],a=s):s===a&&o.push(t)}}),o}function l(t){var e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,n){var a=e?Math.abs(t.x-n.x):0,r=i?Math.abs(t.y-n.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}}function c(t,e,i){var n=a(e,t);i.axis=i.axis||"x";var r=l(i.axis),c=i.intersect?o(t,n):s(t,n,!1,r),d=[];return c.length?(t.data.datasets.forEach(function(e,i){if(t.isDatasetVisible(i)){var n=t.getDatasetMeta(i).data[c[0]._index];n&&!n._view.skip&&d.push(n)}}),d):[]}t.exports={modes:{single:function(t,e){var i=a(e,t),n=[];return r(t,function(t){if(t.inRange(i.x,i.y))return n.push(t),n}),n.slice(0,1)},label:c,index:c,dataset:function(t,e,i){var n=a(e,t);i.axis=i.axis||"xy";var r=l(i.axis),c=i.intersect?o(t,n):s(t,n,!1,r);return c.length>0&&(c=t.getDatasetMeta(c[0]._datasetIndex).data),c},"x-axis":function(t,e){return c(t,e,{intersect:!1})},point:function(t,e){return o(t,a(e,t))},nearest:function(t,e,i){var n=a(e,t);i.axis=i.axis||"xy";var r=l(i.axis),o=s(t,n,i.intersect,r);return o.length>1&&o.sort(function(t,e){var i=t.getArea()-e.getArea();return 0===i&&(i=t._datasetIndex-e._datasetIndex),i}),o.slice(0,1)},x:function(t,e,i){var n=a(e,t),o=[],s=!1;return r(t,function(t){t.inXRange(n.x)&&o.push(t),t.inRange(n.x,n.y)&&(s=!0)}),i.intersect&&!s&&(o=[]),o},y:function(t,e,i){var n=a(e,t),o=[],s=!1;return r(t,function(t){t.inYRange(n.y)&&o.push(t),t.inRange(n.x,n.y)&&(s=!0)}),i.intersect&&!s&&(o=[]),o}}}},function(t,e,i){"use strict";var n=i(3),a=i(228),r=i(229),o=r._enabled?r:a;t.exports=n.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},o)},function(t,e,i){"use strict";var n=i(4),a=i(3);n._set("global",{plugins:{}}),t.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var i=e.indexOf(t);-1!==i&&e.splice(i,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,i){var n,a,r,o,s,l=this.descriptors(t),c=l.length;for(n=0;n<c;++n)if("function"==typeof(s=(r=(a=l[n]).plugin)[e])&&((o=[t].concat(i||[])).push(a.options),!1===s.apply(r,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var i=[],r=[],o=t&&t.config||{},s=o.options&&o.options.plugins||{};return this._plugins.concat(o.plugins||[]).forEach(function(t){if(-1===i.indexOf(t)){var e=t.id,o=s[e];!1!==o&&(!0===o&&(o=a.clone(n.global.plugins[e])),i.push(t),r.push({plugin:t,options:o||{}}))}}),e.descriptors=r,e.id=this._cacheId,r},_invalidate:function(t){delete t.$plugins}}},function(t,e,i){"use strict";var n=i(4),a=i(7),r=i(3);n._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:r.noop,title:function(t,e){var i="",n=e.labels,a=n?n.length:0;if(t.length>0){var r=t[0];r.xLabel?i=r.xLabel:a>0&&r.index<a&&(i=n[r.index])}return i},afterTitle:r.noop,beforeBody:r.noop,beforeLabel:r.noop,label:function(t,e){var i=e.datasets[t.datasetIndex].label||"";return i&&(i+=": "),i+=t.yLabel},labelColor:function(t,e){var i=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:r.noop,afterBody:r.noop,beforeFooter:r.noop,footer:r.noop,afterFooter:r.noop}}});var o={average:function(t){if(!t.length)return!1;var e,i,n=0,a=0,r=0;for(e=0,i=t.length;e<i;++e){var o=t[e];if(o&&o.hasValue()){var s=o.tooltipPosition();n+=s.x,a+=s.y,++r}}return{x:Math.round(n/r),y:Math.round(a/r)}},nearest:function(t,e){var i,n,a,o=e.x,s=e.y,l=Number.POSITIVE_INFINITY;for(i=0,n=t.length;i<n;++i){var c=t[i];if(c&&c.hasValue()){var d=c.getCenterPoint(),u=r.distanceBetweenPoints(e,d);u<l&&(l=u,a=c)}}if(a){var h=a.tooltipPosition();o=h.x,s=h.y}return{x:o,y:s}}};function s(t,e){var i=r.color(t);return i.alpha(e*i.alpha()).rgbaString()}function l(t,e){return e&&(r.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function c(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function d(t){var e=n.global,i=r.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:i(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:i(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:i(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:i(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:i(t.titleFontStyle,e.defaultFontStyle),titleFontSize:i(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:i(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:i(t.footerFontStyle,e.defaultFontStyle),footerFontSize:i(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function u(t){return l([],c(t))}(t.exports=a.extend({initialize:function(){this._model=d(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),i=t.title.apply(this,arguments),n=t.afterTitle.apply(this,arguments),a=[];return a=l(a,c(e)),a=l(a,c(i)),a=l(a,c(n))},getBeforeBody:function(){return u(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var i=this,n=i._options.callbacks,a=[];return r.each(t,function(t){var r={before:[],lines:[],after:[]};l(r.before,c(n.beforeLabel.call(i,t,e))),l(r.lines,n.label.call(i,t,e)),l(r.after,c(n.afterLabel.call(i,t,e))),a.push(r)}),a},getAfterBody:function(){return u(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),i=t.footer.apply(this,arguments),n=t.afterFooter.apply(this,arguments),a=[];return a=l(a,c(e)),a=l(a,c(i)),a=l(a,c(n))},update:function(t){var e,i,n,a,s,l,c,u=this,h=u._options,p=u._model,f=u._model=d(h),g=u._active,m=u._data,v={xAlign:p.xAlign,yAlign:p.yAlign},y={x:p.x,y:p.y},b={width:p.width,height:p.height},w={x:p.caretX,y:p.caretY};if(g.length){f.opacity=1;var x=[],_=[];w=o[h.position].call(u,g,u._eventPosition);var k=[];for(e=0,i=g.length;e<i;++e)k.push((n=g[e],a=void 0,s=void 0,l=void 0,c=void 0,a=n._xScale,s=n._yScale||n._scale,l=n._index,c=n._datasetIndex,{xLabel:a?a.getLabelForIndex(l,c):"",yLabel:s?s.getLabelForIndex(l,c):"",index:l,datasetIndex:c,x:n._model.x,y:n._model.y}));h.filter&&(k=k.filter(function(t){return h.filter(t,m)})),h.itemSort&&(k=k.sort(function(t,e){return h.itemSort(t,e,m)})),r.each(k,function(t){x.push(h.callbacks.labelColor.call(u,t,u._chart)),_.push(h.callbacks.labelTextColor.call(u,t,u._chart))}),f.title=u.getTitle(k,m),f.beforeBody=u.getBeforeBody(k,m),f.body=u.getBody(k,m),f.afterBody=u.getAfterBody(k,m),f.footer=u.getFooter(k,m),f.x=Math.round(w.x),f.y=Math.round(w.y),f.caretPadding=h.caretPadding,f.labelColors=x,f.labelTextColors=_,f.dataPoints=k,b=function(t,e){var i=t._chart.ctx,n=2*e.yPadding,a=0,o=e.body,s=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);s+=e.beforeBody.length+e.afterBody.length;var l=e.title.length,c=e.footer.length,d=e.titleFontSize,u=e.bodyFontSize,h=e.footerFontSize;n+=l*d,n+=l?(l-1)*e.titleSpacing:0,n+=l?e.titleMarginBottom:0,n+=s*u,n+=s?(s-1)*e.bodySpacing:0,n+=c?e.footerMarginTop:0,n+=c*h,n+=c?(c-1)*e.footerSpacing:0;var p=0,f=function(t){a=Math.max(a,i.measureText(t).width+p)};return i.font=r.fontString(d,e._titleFontStyle,e._titleFontFamily),r.each(e.title,f),i.font=r.fontString(u,e._bodyFontStyle,e._bodyFontFamily),r.each(e.beforeBody.concat(e.afterBody),f),p=e.displayColors?u+2:0,r.each(o,function(t){r.each(t.before,f),r.each(t.lines,f),r.each(t.after,f)}),p=0,i.font=r.fontString(h,e._footerFontStyle,e._footerFontFamily),r.each(e.footer,f),{width:a+=2*e.xPadding,height:n}}(this,f),y=function(t,e,i,n){var a=t.x,r=t.y,o=t.caretSize,s=t.caretPadding,l=t.cornerRadius,c=i.xAlign,d=i.yAlign,u=o+s,h=l+s;return"right"===c?a-=e.width:"center"===c&&((a-=e.width/2)+e.width>n.width&&(a=n.width-e.width),a<0&&(a=0)),"top"===d?r+=u:r-="bottom"===d?e.height+u:e.height/2,"center"===d?"left"===c?a+=u:"right"===c&&(a-=u):"left"===c?a-=h:"right"===c&&(a+=h),{x:a,y:r}}(f,b,v=function(t,e){var i,n,a,r,o,s=t._model,l=t._chart,c=t._chart.chartArea,d="center",u="center";s.y<e.height?u="top":s.y>l.height-e.height&&(u="bottom");var h=(c.left+c.right)/2,p=(c.top+c.bottom)/2;"center"===u?(i=function(t){return t<=h},n=function(t){return t>h}):(i=function(t){return t<=e.width/2},n=function(t){return t>=l.width-e.width/2}),a=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},r=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=p?"top":"bottom"},i(s.x)?(d="left",a(s.x)&&(d="center",u=o(s.y))):n(s.x)&&(d="right",r(s.x)&&(d="center",u=o(s.y)));var f=t._options;return{xAlign:f.xAlign?f.xAlign:d,yAlign:f.yAlign?f.yAlign:u}}(this,b),u._chart)}else f.opacity=0;return f.xAlign=v.xAlign,f.yAlign=v.yAlign,f.x=y.x,f.y=y.y,f.width=b.width,f.height=b.height,f.caretX=w.x,f.caretY=w.y,u._model=f,t&&h.custom&&h.custom.call(u,f),u},drawCaret:function(t,e){var i=this._chart.ctx,n=this._view,a=this.getCaretPosition(t,e,n);i.lineTo(a.x1,a.y1),i.lineTo(a.x2,a.y2),i.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,i){var n,a,r,o,s,l,c=i.caretSize,d=i.cornerRadius,u=i.xAlign,h=i.yAlign,p=t.x,f=t.y,g=e.width,m=e.height;if("center"===h)s=f+m/2,"left"===u?(a=(n=p)-c,r=n,o=s+c,l=s-c):(a=(n=p+g)+c,r=n,o=s-c,l=s+c);else if("left"===u?(n=(a=p+d+c)-c,r=a+c):"right"===u?(n=(a=p+g-d-c)-c,r=a+c):(n=(a=i.caretX)-c,r=a+c),"top"===h)s=(o=f)-c,l=o;else{s=(o=f+m)+c,l=o;var v=r;r=n,n=v}return{x1:n,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,e,i,n){var a=e.title;if(a.length){i.textAlign=e._titleAlign,i.textBaseline="top";var o,l,c=e.titleFontSize,d=e.titleSpacing;for(i.fillStyle=s(e.titleFontColor,n),i.font=r.fontString(c,e._titleFontStyle,e._titleFontFamily),o=0,l=a.length;o<l;++o)i.fillText(a[o],t.x,t.y),t.y+=c+d,o+1===a.length&&(t.y+=e.titleMarginBottom-d)}},drawBody:function(t,e,i,n){var a=e.bodyFontSize,o=e.bodySpacing,l=e.body;i.textAlign=e._bodyAlign,i.textBaseline="top",i.font=r.fontString(a,e._bodyFontStyle,e._bodyFontFamily);var c=0,d=function(e){i.fillText(e,t.x+c,t.y),t.y+=a+o};i.fillStyle=s(e.bodyFontColor,n),r.each(e.beforeBody,d);var u=e.displayColors;c=u?a+2:0,r.each(l,function(o,l){var c=s(e.labelTextColors[l],n);i.fillStyle=c,r.each(o.before,d),r.each(o.lines,function(r){u&&(i.fillStyle=s(e.legendColorBackground,n),i.fillRect(t.x,t.y,a,a),i.lineWidth=1,i.strokeStyle=s(e.labelColors[l].borderColor,n),i.strokeRect(t.x,t.y,a,a),i.fillStyle=s(e.labelColors[l].backgroundColor,n),i.fillRect(t.x+1,t.y+1,a-2,a-2),i.fillStyle=c),d(r)}),r.each(o.after,d)}),c=0,r.each(e.afterBody,d),t.y-=o},drawFooter:function(t,e,i,n){var a=e.footer;a.length&&(t.y+=e.footerMarginTop,i.textAlign=e._footerAlign,i.textBaseline="top",i.fillStyle=s(e.footerFontColor,n),i.font=r.fontString(e.footerFontSize,e._footerFontStyle,e._footerFontFamily),r.each(a,function(n){i.fillText(n,t.x,t.y),t.y+=e.footerFontSize+e.footerSpacing}))},drawBackground:function(t,e,i,n,a){i.fillStyle=s(e.backgroundColor,a),i.strokeStyle=s(e.borderColor,a),i.lineWidth=e.borderWidth;var r=e.xAlign,o=e.yAlign,l=t.x,c=t.y,d=n.width,u=n.height,h=e.cornerRadius;i.beginPath(),i.moveTo(l+h,c),"top"===o&&this.drawCaret(t,n),i.lineTo(l+d-h,c),i.quadraticCurveTo(l+d,c,l+d,c+h),"center"===o&&"right"===r&&this.drawCaret(t,n),i.lineTo(l+d,c+u-h),i.quadraticCurveTo(l+d,c+u,l+d-h,c+u),"bottom"===o&&this.drawCaret(t,n),i.lineTo(l+h,c+u),i.quadraticCurveTo(l,c+u,l,c+u-h),"center"===o&&"left"===r&&this.drawCaret(t,n),i.lineTo(l,c+h),i.quadraticCurveTo(l,c,l+h,c),i.closePath(),i.fill(),e.borderWidth>0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i={width:e.width,height:e.height},n={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(this.drawBackground(n,e,t,i,a),n.x+=e.xPadding,n.y+=e.yPadding,this.drawTitle(n,e,t,a),this.drawBody(n,e,t,a),this.drawFooter(n,e,t,a))}},handleEvent:function(t){var e,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===t.type?i._active=[]:i._active=i._chart.getElementsAtEventForMode(t,n.mode,n),(e=!r.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,(n.enabled||n.custom)&&(i._eventPosition={x:t.x,y:t.y},i.update(!0),i.pivot())),e}})).positioners=o},function(t,i,n){"use strict";(function(i){var n,a,r,o,s,l,c,d,u;t.exports=(r=function(t,e){var i;if(t===e)return t;for(i in e)void 0!==e[i]&&(t[i]=e[i]);return t},o=function(t,e){var i,n=Array.prototype.slice.call(arguments,2),a=[],r=t.length;if(Array.prototype.map&&t.map===Array.prototype.map)a=Array.prototype.map.call(t,function(t){var i=n.slice(0);return i.splice(0,0,t),e.apply(this,i)});else for(i=0;i<r;i++)callback_params=n,callback_params.splice(0,0,t[i]),a.push(e.apply(this,callback_params));return a},s=function(t){var e,i=[];for(e=0;e<t.length;e++)i=i.concat(t[e]);return i},l=function(t,e){var i=t[0],n=t[1];return e&&(i=t[1],n=t[0]),new google.maps.LatLng(i,n)},c=function(t,e){var i;for(i=0;i<t.length;i++)t[i]instanceof google.maps.LatLng||(t[i].length>0&&"object"==typeof t[i][0]?t[i]=c(t[i],e):t[i]=l(t[i],e));return t},d=function(t,e){var t=t.replace("#","");return"jQuery"in window&&e?i("#"+t,e)[0]:document.getElementById(t)},(u=function(t){var e=document,n=function(t){if("object"!=typeof window.google||!window.google.maps)return"object"==typeof window.console&&window.console.error&&console.error("Google Maps API is required. Please register the following JavaScript library https://maps.googleapis.com/maps/api/js."),function(){};if(!this)return new n(t);t.zoom=t.zoom||15,t.mapType=t.mapType||"roadmap";var a,o=function(t,e){return void 0===t?e:t},s=this,l=["bounds_changed","center_changed","click","dblclick","drag","dragend","dragstart","idle","maptypeid_changed","projection_changed","resize","tilesloaded","zoom_changed"],c=["mousemove","mouseout","mouseover"],u=["el","lat","lng","mapType","width","height","markerClusterer","enableNewStyle"],h=t.el||t.div,p=t.markerClusterer,f=google.maps.MapTypeId[t.mapType.toUpperCase()],g=new google.maps.LatLng(t.lat,t.lng),m=o(t.zoomControl,!0),v=t.zoomControlOpt||{style:"DEFAULT",position:"TOP_LEFT"},y=v.style||"DEFAULT",b=v.position||"TOP_LEFT",w=o(t.panControl,!0),x=o(t.mapTypeControl,!0),_=o(t.scaleControl,!0),k=o(t.streetViewControl,!0),S=o(S,!0),M={},C={zoom:this.zoom,center:g,mapTypeId:f},T={panControl:w,zoomControl:m,zoomControlOptions:{style:google.maps.ZoomControlStyle[y],position:google.maps.ControlPosition[b]},mapTypeControl:x,scaleControl:_,streetViewControl:k,overviewMapControl:S};if("string"==typeof t.el||"string"==typeof t.div?h.indexOf("#")>-1?this.el=d(h,t.context):this.el=function(t,e){var n=t.replace(".","");return"jQuery"in this&&e?i("."+n,e)[0]:document.getElementsByClassName(n)[0]}.apply(this,[h,t.context]):this.el=h,void 0===this.el||null===this.el)throw"No element defined.";for(window.context_menu=window.context_menu||{},window.context_menu[s.el.id]={},this.controls=[],this.overlays=[],this.layers=[],this.singleLayers={},this.markers=[],this.polylines=[],this.routes=[],this.polygons=[],this.infoWindow=null,this.overlay_el=null,this.zoom=t.zoom,this.registered_events={},this.el.style.width=t.width||this.el.scrollWidth||this.el.offsetWidth,this.el.style.height=t.height||this.el.scrollHeight||this.el.offsetHeight,google.maps.visualRefresh=t.enableNewStyle,a=0;a<u.length;a++)delete t[u[a]];for(1!=t.disableDefaultUI&&(C=r(C,T)),M=r(C,t),a=0;a<l.length;a++)delete M[l[a]];for(a=0;a<c.length;a++)delete M[c[a]];this.map=new google.maps.Map(this.el,M),p&&(this.markerClusterer=p.apply(this,[this.map]));var D=function(t,e){var i="",n=window.context_menu[s.el.id][t];for(var a in n)if(n.hasOwnProperty(a)){var r=n[a];i+='<li><a id="'+t+"_"+a+'" href="#">'+r.title+"</a></li>"}if(d("gmaps_context_menu")){var o=d("gmaps_context_menu");o.innerHTML=i;var l=o.getElementsByTagName("a"),c=l.length;for(a=0;a<c;a++){var u=l[a];google.maps.event.clearListeners(u,"click"),google.maps.event.addDomListenerOnce(u,"click",function(i){i.preventDefault(),n[this.id.replace(t+"_","")].action.apply(s,[e]),s.hideContextMenu()},!1)}var h=function(t){var e=0,i=0;if(t.offsetParent)do{e+=t.offsetLeft,i+=t.offsetTop}while(t=t.offsetParent);return[e,i]}.apply(this,[s.el]),p=h[0]+e.pixel.x-15,f=h[1]+e.pixel.y-15;o.style.left=p+"px",o.style.top=f+"px"}};this.buildContextMenu=function(t,e){if("marker"===t){e.pixel={};var i=new google.maps.OverlayView;i.setMap(s.map),i.draw=function(){var n=i.getProjection(),a=e.marker.getPosition();e.pixel=n.fromLatLngToContainerPixel(a),D(t,e)}}else D(t,e);var n=d("gmaps_context_menu");setTimeout(function(){n.style.display="block"},0)},this.setContextMenu=function(t){window.context_menu[s.el.id][t.control]={};var i,n=e.createElement("ul");for(i in t.options)if(t.options.hasOwnProperty(i)){var a=t.options[i];window.context_menu[s.el.id][t.control][a.name]={title:a.title,action:a.action}}n.id="gmaps_context_menu",n.style.display="none",n.style.position="absolute",n.style.minWidth="100px",n.style.background="white",n.style.listStyle="none",n.style.padding="8px",n.style.boxShadow="2px 2px 6px #ccc",d("gmaps_context_menu")||e.body.appendChild(n);var r=d("gmaps_context_menu");google.maps.event.addDomListener(r,"mouseout",function(t){t.relatedTarget&&this.contains(t.relatedTarget)||window.setTimeout(function(){r.style.display="none"},400)},!1)},this.hideContextMenu=function(){var t=d("gmaps_context_menu");t&&(t.style.display="none")};var L=function(e,i){google.maps.event.addListener(e,i,function(e){null==e&&(e=this),t[i].apply(this,[e]),s.hideContextMenu()})};google.maps.event.addListener(this.map,"zoom_changed",this.hideContextMenu);for(var E=0;E<l.length;E++){var A=l[E];A in t&&L(this.map,A)}for(var E=0;E<c.length;E++){var A=c[E];A in t&&L(this.map,A)}google.maps.event.addListener(this.map,"rightclick",function(e){t.rightclick&&t.rightclick.apply(this,[e]),null!=window.context_menu[s.el.id].map&&s.buildContextMenu("map",e)}),this.refresh=function(){google.maps.event.trigger(this.map,"resize")},this.fitZoom=function(){var t,e=[],i=this.markers.length;for(t=0;t<i;t++)"boolean"==typeof this.markers[t].visible&&this.markers[t].visible&&e.push(this.markers[t].getPosition());this.fitLatLngBounds(e)},this.fitLatLngBounds=function(t){var e,i=t.length,n=new google.maps.LatLngBounds;for(e=0;e<i;e++)n.extend(t[e]);this.map.fitBounds(n)},this.setCenter=function(t,e,i){this.map.panTo(new google.maps.LatLng(t,e)),i&&i()},this.getElement=function(){return this.el},this.zoomIn=function(t){t=t||1,this.zoom=this.map.getZoom()+t,this.map.setZoom(this.zoom)},this.zoomOut=function(t){t=t||1,this.zoom=this.map.getZoom()-t,this.map.setZoom(this.zoom)};var P,Y=[];for(P in this.map)"function"!=typeof this.map[P]||this[P]||Y.push(P);for(a=0;a<Y.length;a++)!function(t,e,i){t[i]=function(){return e[i].apply(e,arguments)}}(this,this.map,Y[a])};return n}()).prototype.createControl=function(t){var e=document.createElement("div");for(var i in e.style.cursor="pointer",!0!==t.disableDefaultStyles&&(e.style.fontFamily="Roboto, Arial, sans-serif",e.style.fontSize="11px",e.style.boxShadow="rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px"),t.style)e.style[i]=t.style[i];for(var n in t.id&&(e.id=t.id),t.title&&(e.title=t.title),t.classes&&(e.className=t.classes),t.content&&("string"==typeof t.content?e.innerHTML=t.content:t.content instanceof HTMLElement&&e.appendChild(t.content)),t.position&&(e.position=google.maps.ControlPosition[t.position.toUpperCase()]),t.events)!function(e,i){google.maps.event.addDomListener(e,i,function(){t.events[i].apply(this,[this])})}(e,n);return e.index=1,e},u.prototype.addControl=function(t){var e=this.createControl(t);return this.controls.push(e),this.map.controls[e.position].push(e),e},u.prototype.removeControl=function(t){var e,i=null;for(e=0;e<this.controls.length;e++)this.controls[e]==t&&(i=this.controls[e].position,this.controls.splice(e,1));if(i)for(e=0;e<this.map.controls.length;e++){var n=this.map.controls[t.position];if(n.getAt(e)==t){n.removeAt(e);break}}return t},u.prototype.createMarker=function(t){if(null==t.lat&&null==t.lng&&null==t.position)throw"No latitude or longitude defined.";var e=this,i=t.details,n=t.fences,a=t.outside,o={position:new google.maps.LatLng(t.lat,t.lng),map:null},s=r(o,t);delete s.lat,delete s.lng,delete s.fences,delete s.outside;var l=new google.maps.Marker(s);if(l.fences=n,t.infoWindow){l.infoWindow=new google.maps.InfoWindow(t.infoWindow);for(var c=["closeclick","content_changed","domready","position_changed","zindex_changed"],d=0;d<c.length;d++)!function(e,i){t.infoWindow[i]&&google.maps.event.addListener(e,i,function(e){t.infoWindow[i].apply(this,[e])})}(l.infoWindow,c[d])}var u=["animation_changed","clickable_changed","cursor_changed","draggable_changed","flat_changed","icon_changed","position_changed","shadow_changed","shape_changed","title_changed","visible_changed","zindex_changed"],h=["dblclick","drag","dragend","dragstart","mousedown","mouseout","mouseover","mouseup"];for(d=0;d<u.length;d++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(){t[i].apply(this,[this])})}(l,u[d]);for(d=0;d<h.length;d++)!function(e,i,n){t[n]&&google.maps.event.addListener(i,n,function(i){i.pixel||(i.pixel=e.getProjection().fromLatLngToPoint(i.latLng)),t[n].apply(this,[i])})}(this.map,l,h[d]);return google.maps.event.addListener(l,"click",function(){this.details=i,t.click&&t.click.apply(this,[this]),l.infoWindow&&(e.hideInfoWindows(),l.infoWindow.open(e.map,l))}),google.maps.event.addListener(l,"rightclick",function(i){i.marker=this,t.rightclick&&t.rightclick.apply(this,[i]),null!=window.context_menu[e.el.id].marker&&e.buildContextMenu("marker",i)}),l.fences&&google.maps.event.addListener(l,"dragend",function(){e.checkMarkerGeofence(l,function(t,e){a(t,e)})}),l},u.prototype.addMarker=function(t){var e;if(t.hasOwnProperty("gm_accessors_"))e=t;else{if(!(t.hasOwnProperty("lat")&&t.hasOwnProperty("lng")||t.position))throw"No latitude or longitude defined.";e=this.createMarker(t)}return e.setMap(this.map),this.markerClusterer&&this.markerClusterer.addMarker(e),this.markers.push(e),u.fire("marker_added",e,this),e},u.prototype.addMarkers=function(t){for(var e,i=0;e=t[i];i++)this.addMarker(e);return this.markers},u.prototype.hideInfoWindows=function(){for(var t,e=0;t=this.markers[e];e++)t.infoWindow&&t.infoWindow.close()},u.prototype.removeMarker=function(t){for(var e=0;e<this.markers.length;e++)if(this.markers[e]===t){this.markers[e].setMap(null),this.markers.splice(e,1),this.markerClusterer&&this.markerClusterer.removeMarker(t),u.fire("marker_removed",t,this);break}return t},u.prototype.removeMarkers=function(t){var e=[];if(void 0===t){for(var i=0;i<this.markers.length;i++)(a=this.markers[i]).setMap(null),u.fire("marker_removed",a,this);this.markerClusterer&&this.markerClusterer.clearMarkers&&this.markerClusterer.clearMarkers(),this.markers=e}else{for(i=0;i<t.length;i++){var n=this.markers.indexOf(t[i]);n>-1&&((a=this.markers[n]).setMap(null),this.markerClusterer&&this.markerClusterer.removeMarker(a),u.fire("marker_removed",a,this))}for(i=0;i<this.markers.length;i++){var a;null!=(a=this.markers[i]).getMap()&&e.push(a)}this.markers=e}},u.prototype.drawOverlay=function(t){var e=new google.maps.OverlayView,i=!0;return e.setMap(this.map),null!=t.auto_show&&(i=t.auto_show),e.onAdd=function(){var i=document.createElement("div");i.style.borderStyle="none",i.style.borderWidth="0px",i.style.position="absolute",i.style.zIndex=100,i.innerHTML=t.content,e.el=i,t.layer||(t.layer="overlayLayer");var n,a,r=this.getPanes(),o=["contextmenu","DOMMouseScroll","dblclick","mousedown"];r[t.layer].appendChild(i);for(var s=0;s<o.length;s++)n=i,a=o[s],google.maps.event.addDomListener(n,a,function(t){-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&document.all?(t.cancelBubble=!0,t.returnValue=!1):t.stopPropagation()});t.click&&(r.overlayMouseTarget.appendChild(e.el),google.maps.event.addDomListener(e.el,"click",function(){t.click.apply(e,[e])})),google.maps.event.trigger(this,"ready")},e.draw=function(){var n=this.getProjection().fromLatLngToDivPixel(new google.maps.LatLng(t.lat,t.lng));t.horizontalOffset=t.horizontalOffset||0,t.verticalOffset=t.verticalOffset||0;var a=e.el,r=a.children[0],o=r.clientHeight,s=r.clientWidth;switch(t.verticalAlign){case"top":a.style.top=n.y-o+t.verticalOffset+"px";break;default:case"middle":a.style.top=n.y-o/2+t.verticalOffset+"px";break;case"bottom":a.style.top=n.y+t.verticalOffset+"px"}switch(t.horizontalAlign){case"left":a.style.left=n.x-s+t.horizontalOffset+"px";break;default:case"center":a.style.left=n.x-s/2+t.horizontalOffset+"px";break;case"right":a.style.left=n.x+t.horizontalOffset+"px"}a.style.display=i?"block":"none",i||t.show.apply(this,[a])},e.onRemove=function(){var i=e.el;t.remove?t.remove.apply(this,[i]):(e.el.parentNode.removeChild(e.el),e.el=null)},this.overlays.push(e),e},u.prototype.removeOverlay=function(t){for(var e=0;e<this.overlays.length;e++)if(this.overlays[e]===t){this.overlays[e].setMap(null),this.overlays.splice(e,1);break}},u.prototype.removeOverlays=function(){for(var t,e=0;t=this.overlays[e];e++)t.setMap(null);this.overlays=[]},u.prototype.drawPolyline=function(t){var e=[],i=t.path;if(i.length)if(void 0===i[0][0])e=i;else for(var n,a=0;n=i[a];a++)e.push(new google.maps.LatLng(n[0],n[1]));var r={map:this.map,path:e,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight,geodesic:t.geodesic,clickable:!0,editable:!1,visible:!0};t.hasOwnProperty("clickable")&&(r.clickable=t.clickable),t.hasOwnProperty("editable")&&(r.editable=t.editable),t.hasOwnProperty("icons")&&(r.icons=t.icons),t.hasOwnProperty("zIndex")&&(r.zIndex=t.zIndex);for(var o=new google.maps.Polyline(r),s=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],l=0;l<s.length;l++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(e){t[i].apply(this,[e])})}(o,s[l]);return this.polylines.push(o),u.fire("polyline_added",o,this),o},u.prototype.removePolyline=function(t){for(var e=0;e<this.polylines.length;e++)if(this.polylines[e]===t){this.polylines[e].setMap(null),this.polylines.splice(e,1),u.fire("polyline_removed",t,this);break}},u.prototype.removePolylines=function(){for(var t,e=0;t=this.polylines[e];e++)t.setMap(null);this.polylines=[]},u.prototype.drawCircle=function(t){delete(t=r({map:this.map,center:new google.maps.LatLng(t.lat,t.lng)},t)).lat,delete t.lng;for(var e=new google.maps.Circle(t),i=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],n=0;n<i.length;n++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(e){t[i].apply(this,[e])})}(e,i[n]);return this.polygons.push(e),e},u.prototype.drawRectangle=function(t){t=r({map:this.map},t);var e=new google.maps.LatLngBounds(new google.maps.LatLng(t.bounds[0][0],t.bounds[0][1]),new google.maps.LatLng(t.bounds[1][0],t.bounds[1][1]));t.bounds=e;for(var i=new google.maps.Rectangle(t),n=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],a=0;a<n.length;a++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(e){t[i].apply(this,[e])})}(i,n[a]);return this.polygons.push(i),i},u.prototype.drawPolygon=function(t){var e=!1;t.hasOwnProperty("useGeoJSON")&&(e=t.useGeoJSON),delete t.useGeoJSON,t=r({map:this.map},t),0==e&&(t.paths=[t.paths.slice(0)]),t.paths.length>0&&t.paths[0].length>0&&(t.paths=s(o(t.paths,c,e)));for(var i=new google.maps.Polygon(t),n=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],a=0;a<n.length;a++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(e){t[i].apply(this,[e])})}(i,n[a]);return this.polygons.push(i),u.fire("polygon_added",i,this),i},u.prototype.removePolygon=function(t){for(var e=0;e<this.polygons.length;e++)if(this.polygons[e]===t){this.polygons[e].setMap(null),this.polygons.splice(e,1),u.fire("polygon_removed",t,this);break}},u.prototype.removePolygons=function(){for(var t,e=0;t=this.polygons[e];e++)t.setMap(null);this.polygons=[]},u.prototype.getFromFusionTables=function(t){var e=t.events;delete t.events;var i=t,n=new google.maps.FusionTablesLayer(i);for(var a in e)!function(t,i){google.maps.event.addListener(t,i,function(t){e[i].apply(this,[t])})}(n,a);return this.layers.push(n),n},u.prototype.loadFromFusionTables=function(t){var e=this.getFromFusionTables(t);return e.setMap(this.map),e},u.prototype.getFromKML=function(t){var e=t.url,i=t.events;delete t.url,delete t.events;var n=t,a=new google.maps.KmlLayer(e,n);for(var r in i)!function(t,e){google.maps.event.addListener(t,e,function(t){i[e].apply(this,[t])})}(a,r);return this.layers.push(a),a},u.prototype.loadFromKML=function(t){var e=this.getFromKML(t);return e.setMap(this.map),e},u.prototype.addLayer=function(t,e){var i;switch(e=e||{},t){case"weather":this.singleLayers.weather=i=new google.maps.weather.WeatherLayer;break;case"clouds":this.singleLayers.clouds=i=new google.maps.weather.CloudLayer;break;case"traffic":this.singleLayers.traffic=i=new google.maps.TrafficLayer;break;case"transit":this.singleLayers.transit=i=new google.maps.TransitLayer;break;case"bicycling":this.singleLayers.bicycling=i=new google.maps.BicyclingLayer;break;case"panoramio":this.singleLayers.panoramio=i=new google.maps.panoramio.PanoramioLayer,i.setTag(e.filter),delete e.filter,e.click&&google.maps.event.addListener(i,"click",function(t){e.click(t),delete e.click});break;case"places":if(this.singleLayers.places=i=new google.maps.places.PlacesService(this.map),e.search||e.nearbySearch||e.radarSearch){var n={bounds:e.bounds||null,keyword:e.keyword||null,location:e.location||null,name:e.name||null,radius:e.radius||null,rankBy:e.rankBy||null,types:e.types||null};e.radarSearch&&i.radarSearch(n,e.radarSearch),e.search&&i.search(n,e.search),e.nearbySearch&&i.nearbySearch(n,e.nearbySearch)}if(e.textSearch){var a={bounds:e.bounds||null,location:e.location||null,query:e.query||null,radius:e.radius||null};i.textSearch(a,e.textSearch)}}if(void 0!==i)return"function"==typeof i.setOptions&&i.setOptions(e),"function"==typeof i.setMap&&i.setMap(this.map),i},u.prototype.removeLayer=function(t){if("string"==typeof t&&void 0!==this.singleLayers[t])this.singleLayers[t].setMap(null),delete this.singleLayers[t];else for(var e=0;e<this.layers.length;e++)if(this.layers[e]===t){this.layers[e].setMap(null),this.layers.splice(e,1);break}},u.prototype.getRoutes=function(t){switch(t.travelMode){case"bicycling":n=google.maps.TravelMode.BICYCLING;break;case"transit":n=google.maps.TravelMode.TRANSIT;break;case"driving":n=google.maps.TravelMode.DRIVING;break;default:n=google.maps.TravelMode.WALKING}a="imperial"===t.unitSystem?google.maps.UnitSystem.IMPERIAL:google.maps.UnitSystem.METRIC;var e=r({avoidHighways:!1,avoidTolls:!1,optimizeWaypoints:!1,waypoints:[]},t);e.origin=/string/.test(typeof t.origin)?t.origin:new google.maps.LatLng(t.origin[0],t.origin[1]),e.destination=/string/.test(typeof t.destination)?t.destination:new google.maps.LatLng(t.destination[0],t.destination[1]),e.travelMode=n,e.unitSystem=a,delete e.callback,delete e.error;var i=[];(new google.maps.DirectionsService).route(e,function(e,n){if(n===google.maps.DirectionsStatus.OK){for(var a in e.routes)e.routes.hasOwnProperty(a)&&i.push(e.routes[a]);t.callback&&t.callback(i,e,n)}else t.error&&t.error(e,n)})},u.prototype.removeRoutes=function(){this.routes.length=0},u.prototype.getElevations=function(t){(t=r({locations:[],path:!1,samples:256},t)).locations.length>0&&t.locations[0].length>0&&(t.locations=s(o([t.locations],c,!1)));var e=t.callback;delete t.callback;var i=new google.maps.ElevationService;if(t.path){var n={path:t.locations,samples:t.samples};i.getElevationAlongPath(n,function(t,i){e&&"function"==typeof e&&e(t,i)})}else delete t.path,delete t.samples,i.getElevationForLocations(t,function(t,i){e&&"function"==typeof e&&e(t,i)})},u.prototype.cleanRoute=u.prototype.removePolylines,u.prototype.renderRoute=function(t,e){var i,n="string"==typeof e.panel?document.getElementById(e.panel.replace("#","")):e.panel;e.panel=n,e=r({map:this.map},e),i=new google.maps.DirectionsRenderer(e),this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,avoidHighways:t.avoidHighways,avoidTolls:t.avoidTolls,optimizeWaypoints:t.optimizeWaypoints,callback:function(t,e,n){n===google.maps.DirectionsStatus.OK&&i.setDirections(e)}})},u.prototype.drawRoute=function(t){var e=this;this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,avoidHighways:t.avoidHighways,avoidTolls:t.avoidTolls,optimizeWaypoints:t.optimizeWaypoints,callback:function(i){if(i.length>0){var n={path:i[i.length-1].overview_path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(n.icons=t.icons),e.drawPolyline(n),t.callback&&t.callback(i[i.length-1])}}})},u.prototype.travelRoute=function(t){if(t.origin&&t.destination)this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,callback:function(e){if(e.length>0&&t.start&&t.start(e[e.length-1]),e.length>0&&t.step){var i=e[e.length-1];if(i.legs.length>0)for(var n,a=i.legs[0].steps,r=0;n=a[r];r++)n.step_number=r,t.step(n,i.legs[0].steps.length-1)}e.length>0&&t.end&&t.end(e[e.length-1])}});else if(t.route&&t.route.legs.length>0)for(var e,i=t.route.legs[0].steps,n=0;e=i[n];n++)e.step_number=n,t.step(e)},u.prototype.drawSteppedRoute=function(t){var e=this;if(t.origin&&t.destination)this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,error:t.error,callback:function(i){if(i.length>0&&t.start&&t.start(i[i.length-1]),i.length>0&&t.step){var n=i[i.length-1];if(n.legs.length>0)for(var a,r=n.legs[0].steps,o=0;a=r[o];o++){a.step_number=o;var s={path:a.path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(s.icons=t.icons),e.drawPolyline(s),t.step(a,n.legs[0].steps.length-1)}}i.length>0&&t.end&&t.end(i[i.length-1])}});else if(t.route&&t.route.legs.length>0)for(var i,n=t.route.legs[0].steps,a=0;i=n[a];a++){i.step_number=a;var r={path:i.path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(r.icons=t.icons),e.drawPolyline(r),t.step(i)}},u.Route=function(t){this.origin=t.origin,this.destination=t.destination,this.waypoints=t.waypoints,this.map=t.map,this.route=t.route,this.step_count=0,this.steps=this.route.legs[0].steps,this.steps_length=this.steps.length;var e={path:new google.maps.MVCArray,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(e.icons=t.icons),this.polyline=this.map.drawPolyline(e).getPath()},u.Route.prototype.getRoute=function(t){var i=this;this.map.getRoutes({origin:this.origin,destination:this.destination,travelMode:t.travelMode,waypoints:this.waypoints||[],error:t.error,callback:function(){i.route=e[0],t.callback&&t.callback.call(i)}})},u.Route.prototype.back=function(){if(this.step_count>0){this.step_count--;var t=this.route.legs[0].steps[this.step_count].path;for(var e in t)t.hasOwnProperty(e)&&this.polyline.pop()}},u.Route.prototype.forward=function(){if(this.step_count<this.steps_length){var t=this.route.legs[0].steps[this.step_count].path;for(var e in t)t.hasOwnProperty(e)&&this.polyline.push(t[e]);this.step_count++}},u.prototype.checkGeofence=function(t,e,i){return i.containsLatLng(new google.maps.LatLng(t,e))},u.prototype.checkMarkerGeofence=function(t,e){if(t.fences)for(var i,n=0;i=t.fences[n];n++){var a=t.getPosition();this.checkGeofence(a.lat(),a.lng(),i)||e(t,i)}},u.prototype.toImage=function(t){t=t||{};var e={};if(e.size=t.size||[this.el.clientWidth,this.el.clientHeight],e.lat=this.getCenter().lat(),e.lng=this.getCenter().lng(),this.markers.length>0){e.markers=[];for(var i=0;i<this.markers.length;i++)e.markers.push({lat:this.markers[i].getPosition().lat(),lng:this.markers[i].getPosition().lng()})}if(this.polylines.length>0){var n=this.polylines[0];e.polyline={},e.polyline.path=google.maps.geometry.encoding.encodePath(n.getPath()),e.polyline.strokeColor=n.strokeColor,e.polyline.strokeOpacity=n.strokeOpacity,e.polyline.strokeWeight=n.strokeWeight}return u.staticMapURL(e)},u.staticMapURL=function(t){var e,i=[],n=("file:"===location.protocol?"http:":location.protocol)+"//maps.googleapis.com/maps/api/staticmap";t.url&&(n=t.url,delete t.url),n+="?";var a=t.markers;delete t.markers,!a&&t.marker&&(a=[t.marker],delete t.marker);var r=t.styles;delete t.styles;var o=t.polyline;if(delete t.polyline,t.center)i.push("center="+t.center),delete t.center;else if(t.address)i.push("center="+t.address),delete t.address;else if(t.lat)i.push(["center=",t.lat,",",t.lng].join("")),delete t.lat,delete t.lng;else if(t.visible){var s=encodeURI(t.visible.join("|"));i.push("visible="+s)}var l=t.size;l?(l.join&&(l=l.join("x")),delete t.size):l="630x300",i.push("size="+l),t.zoom||!1===t.zoom||(t.zoom=15);var c=!t.hasOwnProperty("sensor")||!!t.sensor;for(var d in delete t.sensor,i.push("sensor="+c),t)t.hasOwnProperty(d)&&i.push(d+"="+t[d]);if(a)for(var u,h,p=0;e=a[p];p++){for(var d in u=[],e.size&&"normal"!==e.size?(u.push("size:"+e.size),delete e.size):e.icon&&(u.push("icon:"+encodeURI(e.icon)),delete e.icon),e.color&&(u.push("color:"+e.color.replace("#","0x")),delete e.color),e.label&&(u.push("label:"+e.label[0].toUpperCase()),delete e.label),h=e.address?e.address:e.lat+","+e.lng,delete e.address,delete e.lat,delete e.lng,e)e.hasOwnProperty(d)&&u.push(d+":"+e[d]);u.length||0===p?(u.push(h),u=u.join("|"),i.push("markers="+encodeURI(u))):(u=i.pop()+encodeURI("|"+h),i.push(u))}if(r)for(p=0;p<r.length;p++){var f=[];r[p].featureType&&f.push("feature:"+r[p].featureType.toLowerCase()),r[p].elementType&&f.push("element:"+r[p].elementType.toLowerCase());for(var g=0;g<r[p].stylers.length;g++)for(var m in r[p].stylers[g]){var v=r[p].stylers[g][m];"hue"!=m&&"color"!=m||(v="0x"+v.substring(1)),f.push(m+":"+v)}var y=f.join("|");""!=y&&i.push("style="+y)}function b(t,e){if("#"===t[0]&&(t=t.replace("#","0x"),e)){if(e=parseFloat(e),0===(e=Math.min(1,Math.max(e,0))))return"0x00000000";1===(e=(255*e).toString(16)).length&&(e+=e),t=t.slice(0,8)+e}return t}if(o){if(e=o,o=[],e.strokeWeight&&o.push("weight:"+parseInt(e.strokeWeight,10)),e.strokeColor){var w=b(e.strokeColor,e.strokeOpacity);o.push("color:"+w)}if(e.fillColor){var x=b(e.fillColor,e.fillOpacity);o.push("fillcolor:"+x)}var _,k=e.path;if(k.join)for(g=0;_=k[g];g++)o.push(_.join(","));else o.push("enc:"+k);o=o.join("|"),i.push("path="+encodeURI(o))}var S=window.devicePixelRatio||1;return i.push("scale="+S),n+(i=i.join("&"))},u.prototype.addMapType=function(t,e){if(!e.hasOwnProperty("getTileUrl")||"function"!=typeof e.getTileUrl)throw"'getTileUrl' function required.";e.tileSize=e.tileSize||new google.maps.Size(256,256);var i=new google.maps.ImageMapType(e);this.map.mapTypes.set(t,i)},u.prototype.addOverlayMapType=function(t){if(!t.hasOwnProperty("getTile")||"function"!=typeof t.getTile)throw"'getTile' function required.";var e=t.index;delete t.index,this.map.overlayMapTypes.insertAt(e,t)},u.prototype.removeOverlayMapType=function(t){this.map.overlayMapTypes.removeAt(t)},u.prototype.addStyle=function(t){var e=new google.maps.StyledMapType(t.styles,{name:t.styledMapName});this.map.mapTypes.set(t.mapTypeId,e)},u.prototype.setStyle=function(t){this.map.setMapTypeId(t)},u.prototype.createPanorama=function(t){return t.hasOwnProperty("lat")&&t.hasOwnProperty("lng")||(t.lat=this.getCenter().lat(),t.lng=this.getCenter().lng()),this.panorama=u.createPanorama(t),this.map.setStreetView(this.panorama),this.panorama},u.createPanorama=function(t){var e=d(t.el,t.context);t.position=new google.maps.LatLng(t.lat,t.lng),delete t.el,delete t.context,delete t.lat,delete t.lng;for(var i=["closeclick","links_changed","pano_changed","position_changed","pov_changed","resize","visible_changed"],n=r({visible:!0},t),a=0;a<i.length;a++)delete n[i[a]];var o=new google.maps.StreetViewPanorama(e,n);for(a=0;a<i.length;a++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(){t[i].apply(this)})}(o,i[a]);return o},u.prototype.on=function(t,e){return u.on(t,this,e)},u.prototype.off=function(t){u.off(t,this)},u.prototype.once=function(t,e){return u.once(t,this,e)},u.custom_events=["marker_added","marker_removed","polyline_added","polyline_removed","polygon_added","polygon_removed","geolocated","geolocation_failed"],u.on=function(t,e,i){if(-1==u.custom_events.indexOf(t))return e instanceof u&&(e=e.map),google.maps.event.addListener(e,t,i);var n={handler:i,eventName:t};return e.registered_events[t]=e.registered_events[t]||[],e.registered_events[t].push(n),n},u.off=function(t,e){-1==u.custom_events.indexOf(t)?(e instanceof u&&(e=e.map),google.maps.event.clearListeners(e,t)):e.registered_events[t]=[]},u.once=function(t,e,i){if(-1==u.custom_events.indexOf(t))return e instanceof u&&(e=e.map),google.maps.event.addListenerOnce(e,t,i)},u.fire=function(t,e,i){if(-1==u.custom_events.indexOf(t))google.maps.event.trigger(e,t,Array.prototype.slice.apply(arguments).slice(2));else if(t in i.registered_events)for(var n=i.registered_events[t],a=0;a<n.length;a++)!function(t,e,i){t.apply(e,[i])}(n[a].handler,i,e)},u.geolocate=function(t){var e=t.always||t.complete;navigator.geolocation?navigator.geolocation.getCurrentPosition(function(i){t.success(i),e&&e()},function(i){t.error(i),e&&e()},t.options):(t.not_supported(),e&&e())},u.geocode=function(t){this.geocoder=new google.maps.Geocoder;var e=t.callback;t.hasOwnProperty("lat")&&t.hasOwnProperty("lng")&&(t.latLng=new google.maps.LatLng(t.lat,t.lng)),delete t.lat,delete t.lng,delete t.callback,this.geocoder.geocode(t,function(t,i){e(t,i)})},"object"==typeof window.google&&window.google.maps&&(google.maps.Polygon.prototype.getBounds||(google.maps.Polygon.prototype.getBounds=function(t){for(var e,i=new google.maps.LatLngBounds,n=this.getPaths(),a=0;a<n.getLength();a++){e=n.getAt(a);for(var r=0;r<e.getLength();r++)i.extend(e.getAt(r))}return i}),google.maps.Polygon.prototype.containsLatLng||(google.maps.Polygon.prototype.containsLatLng=function(t){var e=this.getBounds();if(null!==e&&!e.contains(t))return!1;for(var i=!1,n=this.getPaths().getLength(),a=0;a<n;a++)for(var r=this.getPaths().getAt(a),o=r.getLength(),s=o-1,l=0;l<o;l++){var c=r.getAt(l),d=r.getAt(s);(c.lng()<t.lng()&&d.lng()>=t.lng()||d.lng()<t.lng()&&c.lng()>=t.lng())&&c.lat()+(t.lng()-c.lng())/(d.lng()-c.lng())*(d.lat()-c.lat())<t.lat()&&(i=!i),s=l}return i}),google.maps.Circle.prototype.containsLatLng||(google.maps.Circle.prototype.containsLatLng=function(t){return!google.maps.geometry||google.maps.geometry.spherical.computeDistanceBetween(this.getCenter(),t)<=this.getRadius()}),google.maps.Rectangle.prototype.containsLatLng=function(t){return this.getBounds().contains(t)},google.maps.LatLngBounds.prototype.containsLatLng=function(t){return this.contains(t)},google.maps.Marker.prototype.setFences=function(t){this.fences=t},google.maps.Marker.prototype.addFence=function(t){this.fences.push(t)},google.maps.Marker.prototype.getId=function(){return this.__gm_id}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){if(null==this)throw new TypeError;var e=Object(this),i=e.length>>>0;if(0===i)return-1;var n=0;if(arguments.length>1&&((n=Number(arguments[1]))!=n?n=0:0!=n&&n!=1/0&&n!=-1/0&&(n=(n>0||-1)*Math.floor(Math.abs(n)))),n>=i)return-1;for(var a=n>=0?n:Math.max(i-Math.abs(n),0);a<i;a++)if(a in e&&e[a]===t)return a;return-1}),u)}).call(this,n(0))},function(t,e,i){(function(e){var i;i=function(){function t(t){this._targetElement=t,this._introItems=[],this._options={nextLabel:"Next &rarr;",prevLabel:"&larr; Back",skipLabel:"Skip",doneLabel:"Done",hidePrev:!1,hideNext:!1,tooltipPosition:"bottom",tooltipClass:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!0,keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.8,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintAnimation:!0,buttonClass:"introjs-button"}}function i(t,e){var i=t.querySelectorAll("*[data-intro]"),s=[];if(this._options.steps)y(this._options.steps,function(t){var e=r(t);if(e.step=s.length+1,"string"==typeof e.element&&(e.element=document.querySelector(e.element)),void 0===e.element||null===e.element){var i=document.querySelector(".introjsFloatingElement");null===i&&((i=document.createElement("div")).className="introjsFloatingElement",document.body.appendChild(i)),e.element=i,e.position="floating"}e.scrollTo=e.scrollTo||this._options.scrollTo,void 0===e.disableInteraction&&(e.disableInteraction=this._options.disableInteraction),null!==e.element&&s.push(e)}.bind(this));else{var c;if(i.length<1)return!1;y(i,function(t){if((!e||t.getAttribute("data-intro-group")===e)&&"none"!==t.style.display){var i=parseInt(t.getAttribute("data-step"),10);c=void 0!==t.getAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):this._options.disableInteraction,i>0&&(s[i-1]={element:t,intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltipclass"),highlightClass:t.getAttribute("data-highlightclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition,scrollTo:t.getAttribute("data-scrollto")||this._options.scrollTo,disableInteraction:c})}}.bind(this));var d=0;y(i,function(t){if((!e||t.getAttribute("data-intro-group")===e)&&null===t.getAttribute("data-step")){for(;void 0!==s[d];)d++;c=void 0!==t.getAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):this._options.disableInteraction,s[d]={element:t,intro:t.getAttribute("data-intro"),step:d+1,tooltipClass:t.getAttribute("data-tooltipclass"),highlightClass:t.getAttribute("data-highlightclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition,scrollTo:t.getAttribute("data-scrollto")||this._options.scrollTo,disableInteraction:c}}}.bind(this))}for(var u=[],h=0;h<s.length;h++)s[h]&&u.push(s[h]);return(s=u).sort(function(t,e){return t.step-e.step}),this._introItems=s,function(t){var e=document.createElement("div"),i="",n=this;if(e.className="introjs-overlay",t.tagName&&"body"!==t.tagName.toLowerCase()){var a=H(t);a&&(i+="width: "+a.width+"px; height:"+a.height+"px; top:"+a.top+"px;left: "+a.left+"px;",e.style.cssText=i)}else i+="top: 0;bottom: 0; left: 0;right: 0;position: fixed;",e.style.cssText=i;return t.appendChild(e),e.onclick=function(){!0===n._options.exitOnOverlayClick&&l.call(n,t)},window.setTimeout(function(){i+="opacity: "+n._options.overlayOpacity.toString()+";",e.style.cssText=i},10),!0}.call(this,t)&&(o.call(this),this._options.keyboardNavigation&&x.on(window,"keydown",a,this,!0),x.on(window,"resize",n,this,!0)),!1}function n(){this.refresh.call(this)}function a(t){var e=null===t.code?t.which:t.code;if(null===e&&(e=null===t.charCode?t.keyCode:t.charCode),"Escape"!==e&&27!==e||!0!==this._options.exitOnEsc){if("ArrowLeft"===e||37===e)s.call(this);else if("ArrowRight"===e||39===e)o.call(this);else if("Enter"===e||13===e){var i=t.target||t.srcElement;i&&i.className.match("introjs-prevbutton")?s.call(this):i&&i.className.match("introjs-skipbutton")?(this._introItems.length-1===this._currentStep&&"function"==typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),l.call(this,this._targetElement)):i&&i.getAttribute("data-stepnumber")?i.click():o.call(this),t.preventDefault?t.preventDefault():t.returnValue=!1}}else l.call(this,this._targetElement)}function r(t){if(null===t||"object"!=typeof t||void 0!==t.nodeType)return t;var i={};for(var n in t)void 0!==e&&t[n]instanceof e?i[n]=t[n]:i[n]=r(t[n]);return i}function o(){this._direction="forward",void 0!==this._currentStepNumber&&y(this._introItems,function(t,e){t.step===this._currentStepNumber&&(this._currentStep=e-1,this._currentStepNumber=void 0)}.bind(this)),void 0===this._currentStep?this._currentStep=0:++this._currentStep;var t=this._introItems[this._currentStep],e=!0;return void 0!==this._introBeforeChangeCallback&&(e=this._introBeforeChangeCallback.call(this,t.element)),!1===e?(--this._currentStep,!1):this._introItems.length<=this._currentStep?("function"==typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),void l.call(this,this._targetElement)):void g.call(this,t)}function s(){if(this._direction="backward",0===this._currentStep)return!1;--this._currentStep;var t=this._introItems[this._currentStep],e=!0;if(void 0!==this._introBeforeChangeCallback&&(e=this._introBeforeChangeCallback.call(this,t.element)),!1===e)return++this._currentStep,!1;g.call(this,t)}function l(t,e){var i=!0;if(void 0!==this._introBeforeExitCallback&&(i=this._introBeforeExitCallback.call(this)),e||!1!==i){var r=t.querySelectorAll(".introjs-overlay");r&&r.length&&y(r,function(t){t.style.opacity=0,window.setTimeout(function(){this.parentNode&&this.parentNode.removeChild(this)}.bind(t),500)}.bind(this));var o=t.querySelector(".introjs-helperLayer");o&&o.parentNode.removeChild(o);var s=t.querySelector(".introjs-tooltipReferenceLayer");s&&s.parentNode.removeChild(s);var l=t.querySelector(".introjs-disableInteraction");l&&l.parentNode.removeChild(l);var c=document.querySelector(".introjsFloatingElement");c&&c.parentNode.removeChild(c),v(),y(document.querySelectorAll(".introjs-fixParent"),function(t){k(t,/introjs-fixParent/g)}),x.off(window,"keydown",a,this,!0),x.off(window,"resize",n,this,!0),void 0!==this._introExitCallback&&this._introExitCallback.call(this),this._currentStep=void 0}}function c(t,e,i,n,a){var r,o,s,l,c,p="";if(a=a||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,i.style.display="inherit",null!=n&&(n.style.top=null,n.style.left=null),this._introItems[this._currentStep])switch(p="string"==typeof(r=this._introItems[this._currentStep]).tooltipClass?r.tooltipClass:this._options.tooltipClass,e.className=("introjs-tooltip "+p).replace(/^\s+|\s+$/g,""),e.setAttribute("role","dialog"),"floating"!==(c=this._introItems[this._currentStep].position)&&(c=function(t,e,i){var n=this._options.positionPrecedence.slice(),a=C(),r=H(e).height+10,o=H(e).width+20,s=t.getBoundingClientRect(),l="floating";s.bottom+r+r>a.height&&h(n,"bottom");s.top-r<0&&h(n,"top");s.right+o>a.width&&h(n,"right");s.left-o<0&&h(n,"left");var c=(d=i||"",u=d.indexOf("-"),-1!==u?d.substr(u):"");var d,u;i&&(i=i.split("-")[0]);n.length&&(l="auto"!==i&&n.indexOf(i)>-1?i:n[0]);-1!==["top","bottom"].indexOf(l)&&(l+=function(t,e,i,n){var a=e/2,r=Math.min(i.width,window.screen.width),o=["-left-aligned","-middle-aligned","-right-aligned"],s="";r-t<e&&h(o,"-left-aligned");(t<a||r-t<a)&&h(o,"-middle-aligned");t<e&&h(o,"-right-aligned");s=o.length?-1!==o.indexOf(n)?n:o[0]:"-middle-aligned";return s}(s.left,o,a,c));return l}.call(this,t,e,c)),s=H(t),o=H(e),l=C(),_(e,"introjs-"+c),c){case"top-right-aligned":i.className="introjs-arrow bottom-right";var f=0;u(s,f,o,e),e.style.bottom=s.height+20+"px";break;case"top-middle-aligned":i.className="introjs-arrow bottom-middle";var g=s.width/2-o.width/2;a&&(g+=5),u(s,g,o,e)&&(e.style.right=null,d(s,g,o,l,e)),e.style.bottom=s.height+20+"px";break;case"top-left-aligned":case"top":i.className="introjs-arrow bottom",d(s,a?0:15,o,l,e),e.style.bottom=s.height+20+"px";break;case"right":e.style.left=s.width+20+"px",s.top+o.height>l.height?(i.className="introjs-arrow left-bottom",e.style.top="-"+(o.height-s.height-20)+"px"):i.className="introjs-arrow left";break;case"left":a||!0!==this._options.showStepNumbers||(e.style.top="15px"),s.top+o.height>l.height?(e.style.top="-"+(o.height-s.height-20)+"px",i.className="introjs-arrow right-bottom"):i.className="introjs-arrow right",e.style.right=s.width+20+"px";break;case"floating":i.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-"+o.width/2+"px",e.style.marginTop="-"+o.height/2+"px",null!=n&&(n.style.left="-"+(o.width/2+18)+"px",n.style.top="-"+(o.height/2+18)+"px");break;case"bottom-right-aligned":i.className="introjs-arrow top-right",u(s,f=0,o,e),e.style.top=s.height+20+"px";break;case"bottom-middle-aligned":i.className="introjs-arrow top-middle",g=s.width/2-o.width/2,a&&(g+=5),u(s,g,o,e)&&(e.style.right=null,d(s,g,o,l,e)),e.style.top=s.height+20+"px";break;default:i.className="introjs-arrow top",d(s,0,o,l,e),e.style.top=s.height+20+"px"}}function d(t,e,i,n,a){return t.left+e+i.width>n.width?(a.style.left=n.width-i.width-t.left+"px",!1):(a.style.left=e+"px",!0)}function u(t,e,i,n){return t.left+t.width-e-i.width<0?(n.style.left=-t.left+"px",!1):(n.style.right=e+"px",!0)}function h(t,e){t.indexOf(e)>-1&&t.splice(t.indexOf(e),1)}function p(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],i=H(e.element),n=this._options.helperElementPadding;M(e.element)?_(t,"introjs-fixedTooltip"):k(t,"introjs-fixedTooltip"),"floating"===e.position&&(n=0),t.style.cssText="width: "+(i.width+n)+"px; height:"+(i.height+n)+"px; top:"+(i.top-n/2)+"px;left: "+(i.left-n/2)+"px;"}}function f(t){t.setAttribute("role","button"),t.tabIndex=0}function g(t){void 0!==this._introChangeCallback&&this._introChangeCallback.call(this,t.element);var e,i,n,a,r=this,d=document.querySelector(".introjs-helperLayer"),u=document.querySelector(".introjs-tooltipReferenceLayer"),h="introjs-helperLayer";if("string"==typeof t.highlightClass&&(h+=" "+t.highlightClass),"string"==typeof this._options.highlightClass&&(h+=" "+this._options.highlightClass),null!==d){var g=u.querySelector(".introjs-helperNumberLayer"),b=u.querySelector(".introjs-tooltiptext"),w=u.querySelector(".introjs-arrow"),x=u.querySelector(".introjs-tooltip");if(n=u.querySelector(".introjs-skipbutton"),i=u.querySelector(".introjs-prevbutton"),e=u.querySelector(".introjs-nextbutton"),d.className=h,x.style.opacity=0,x.style.display="none",null!==g){var M=this._introItems[t.step-2>=0?t.step-2:0];(null!==M&&"forward"===this._direction&&"floating"===M.position||"backward"===this._direction&&"floating"===t.position)&&(g.style.opacity=0)}(a=R(t.element))!==document.body&&N(a,t.element),p.call(r,d),p.call(r,u),y(document.querySelectorAll(".introjs-fixParent"),function(t){k(t,/introjs-fixParent/g)}),v(),r._lastShowElementTimer&&window.clearTimeout(r._lastShowElementTimer),r._lastShowElementTimer=window.setTimeout(function(){null!==g&&(g.innerHTML=t.step),b.innerHTML=t.intro,x.style.display="block",c.call(r,t.element,x,w,g),r._options.showBullets&&(u.querySelector(".introjs-bullets li > a.active").className="",u.querySelector('.introjs-bullets li > a[data-stepnumber="'+t.step+'"]').className="active"),u.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:"+j.call(r)+"%;",u.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",j.call(r)),x.style.opacity=1,g&&(g.style.opacity=1),null!=n&&/introjs-donebutton/gi.test(n.className)?n.focus():null!=e&&e.focus(),m.call(r,t.scrollTo,t,b)},350)}else{var C=document.createElement("div"),T=document.createElement("div"),D=document.createElement("div"),L=document.createElement("div"),E=document.createElement("div"),A=document.createElement("div"),P=document.createElement("div"),Y=document.createElement("div");C.className=h,T.className="introjs-tooltipReferenceLayer",(a=R(t.element))!==document.body&&N(a,t.element),p.call(r,C),p.call(r,T),this._targetElement.appendChild(C),this._targetElement.appendChild(T),D.className="introjs-arrow",E.className="introjs-tooltiptext",E.innerHTML=t.intro,A.className="introjs-bullets",!1===this._options.showBullets&&(A.style.display="none");var O=document.createElement("ul");O.setAttribute("role","tablist");var I=function(){r.goToStep(this.getAttribute("data-stepnumber"))};y(this._introItems,function(e,i){var n=document.createElement("li"),a=document.createElement("a");n.setAttribute("role","presentation"),a.setAttribute("role","tab"),a.onclick=I,i===t.step-1&&(a.className="active"),f(a),a.innerHTML="&nbsp;",a.setAttribute("data-stepnumber",e.step),n.appendChild(a),O.appendChild(n)}),A.appendChild(O),P.className="introjs-progress",!1===this._options.showProgress&&(P.style.display="none");var H=document.createElement("div");H.className="introjs-progressbar",H.setAttribute("role","progress"),H.setAttribute("aria-valuemin",0),H.setAttribute("aria-valuemax",100),H.setAttribute("aria-valuenow",j.call(this)),H.style.cssText="width:"+j.call(this)+"%;",P.appendChild(H),Y.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(Y.style.display="none"),L.className="introjs-tooltip",L.appendChild(E),L.appendChild(A),L.appendChild(P);var F=document.createElement("span");!0===this._options.showStepNumbers&&(F.className="introjs-helperNumberLayer",F.innerHTML=t.step,T.appendChild(F)),L.appendChild(D),T.appendChild(L),(e=document.createElement("a")).onclick=function(){r._introItems.length-1!==r._currentStep&&o.call(r)},f(e),e.innerHTML=this._options.nextLabel,(i=document.createElement("a")).onclick=function(){0!==r._currentStep&&s.call(r)},f(i),i.innerHTML=this._options.prevLabel,(n=document.createElement("a")).className=this._options.buttonClass+" introjs-skipbutton ",f(n),n.innerHTML=this._options.skipLabel,n.onclick=function(){r._introItems.length-1===r._currentStep&&"function"==typeof r._introCompleteCallback&&r._introCompleteCallback.call(r),r._introItems.length-1!==r._currentStep&&"function"==typeof r._introExitCallback&&r._introExitCallback.call(r),"function"==typeof r._introSkipCallback&&r._introSkipCallback.call(r),l.call(r,r._targetElement)},Y.appendChild(n),this._introItems.length>1&&(Y.appendChild(i),Y.appendChild(e)),L.appendChild(Y),c.call(r,t.element,L,D,F),m.call(this,t.scrollTo,t,L)}var z=r._targetElement.querySelector(".introjs-disableInteraction");z&&z.parentNode.removeChild(z),t.disableInteraction&&function(){var t=document.querySelector(".introjs-disableInteraction");null===t&&((t=document.createElement("div")).className="introjs-disableInteraction",this._targetElement.appendChild(t)),p.call(this,t)}.call(r),0===this._currentStep&&this._introItems.length>1?(null!=n&&(n.className=this._options.buttonClass+" introjs-skipbutton"),null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton"),!0===this._options.hidePrev?(null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton introjs-hidden"),null!=e&&_(e,"introjs-fullbutton")):null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton introjs-disabled"),null!=n&&(n.innerHTML=this._options.skipLabel)):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=n&&(n.innerHTML=this._options.doneLabel,_(n,"introjs-donebutton")),null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton"),!0===this._options.hideNext?(null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton introjs-hidden"),null!=i&&_(i,"introjs-fullbutton")):null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton introjs-disabled")):(null!=n&&(n.className=this._options.buttonClass+" introjs-skipbutton"),null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton"),null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton"),null!=n&&(n.innerHTML=this._options.skipLabel)),i.setAttribute("role","button"),e.setAttribute("role","button"),n.setAttribute("role","button"),null!=e&&e.focus(),function(t){var e;if(t.element instanceof SVGElement)for(e=t.element.parentNode;null!==t.element.parentNode&&e.tagName&&"body"!==e.tagName.toLowerCase();)"svg"===e.tagName.toLowerCase()&&_(e,"introjs-showElement introjs-relativePosition"),e=e.parentNode;_(t.element,"introjs-showElement");var i=S(t.element,"position");"absolute"!==i&&"relative"!==i&&"fixed"!==i&&_(t.element,"introjs-relativePosition");e=t.element.parentNode;for(;null!==e&&e.tagName&&"body"!==e.tagName.toLowerCase();){var n=S(e,"z-index"),a=parseFloat(S(e,"opacity")),r=S(e,"transform")||S(e,"-webkit-transform")||S(e,"-moz-transform")||S(e,"-ms-transform")||S(e,"-o-transform");(/[0-9]+/.test(n)||a<1||"none"!==r&&void 0!==r)&&_(e,"introjs-fixParent"),e=e.parentNode}}(t),void 0!==this._introAfterChangeCallback&&this._introAfterChangeCallback.call(this,t.element)}function m(t,e,i){var n;if("off"!==t&&(this._options.scrollToElement&&(n="tooltip"===t?i.getBoundingClientRect():e.element.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(e.element)))){var a=C().height;n.bottom-(n.bottom-n.top)<0||e.element.clientHeight>a?window.scrollBy(0,n.top-(a/2-n.height/2)-this._options.scrollPadding):window.scrollBy(0,n.top-(a/2-n.height/2)+this._options.scrollPadding)}}function v(){y(document.querySelectorAll(".introjs-showElement"),function(t){k(t,/introjs-[a-zA-Z]+/g)})}function y(t,e,i){if(t)for(var n=0,a=t.length;n<a;n++)e(t[n],n);"function"==typeof i&&i()}var b,w=(b={},function(t,e){return b[e=e||"introjs-stamp"]=b[e]||0,void 0===t[e]&&(t[e]=b[e]++),t[e]}),x=function(){return new function(){var t="introjs_event";this._id=function(t,e,i,n){return e+w(i)+(n?"_"+w(n):"")},this.on=function(e,i,n,a,r){var o=this._id.apply(this,arguments),s=function(t){return n.call(a||e,t||window.event)};"addEventListener"in e?e.addEventListener(i,s,r):"attachEvent"in e&&e.attachEvent("on"+i,s),e[t]=e[t]||{},e[t][o]=s},this.off=function(e,i,n,a,r){var o=this._id.apply(this,arguments),s=e[t]&&e[t][o];s&&("removeEventListener"in e?e.removeEventListener(i,s,r):"detachEvent"in e&&e.detachEvent("on"+i,s),e[t][o]=null)}}}();function _(t,e){if(t instanceof SVGElement){var i=t.getAttribute("class")||"";t.setAttribute("class",i+" "+e)}else{if(void 0!==t.classList)y(e.split(" "),function(e){t.classList.add(e)});else t.className.match(e)||(t.className+=" "+e)}}function k(t,e){if(t instanceof SVGElement){var i=t.getAttribute("class")||"";t.setAttribute("class",i.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function S(t,e){var i="";return t.currentStyle?i=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(i=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),i&&i.toLowerCase?i.toLowerCase():i}function M(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===S(t,"position")||M(e))}function C(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function T(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function D(t){if(this._introItems=[],this._options.hints)y(this._options.hints,function(t){var e=r(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||this._options.hintPosition,e.hintAnimation=e.hintAnimation||this._options.hintAnimation,null!==e.element&&this._introItems.push(e)}.bind(this));else{var e=t.querySelectorAll("*[data-hint]");if(!e||!e.length)return!1;y(e,function(t){var e=t.getAttribute("data-hintanimation");e=e?"true"===e:this._options.hintAnimation,this._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hintposition")||this._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltipclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition})}.bind(this))}(function(){var t=this,e=document.querySelector(".introjs-hints");null===e&&((e=document.createElement("div")).className="introjs-hints");y(this._introItems,function(i,n){if(!document.querySelector('.introjs-hint[data-step="'+n+'"]')){var a=document.createElement("a");f(a),a.onclick=function(e){return function(i){var n=i||window.event;n.stopPropagation&&n.stopPropagation(),null!==n.cancelBubble&&(n.cancelBubble=!0),I.call(t,e)}}(n),a.className="introjs-hint",i.hintAnimation||_(a,"introjs-hint-no-anim"),M(i.element)&&_(a,"introjs-fixedhint");var r=document.createElement("div");r.className="introjs-hint-dot";var o=document.createElement("div");o.className="introjs-hint-pulse",a.appendChild(r),a.appendChild(o),a.setAttribute("data-step",n),i.targetElement=i.element,i.element=a,O.call(this,i.hintPosition,a,i.targetElement),e.appendChild(a)}}.bind(this)),document.body.appendChild(e),void 0!==this._hintsAddedCallback&&this._hintsAddedCallback.call(this)}).call(this),x.on(document,"click",T,this,!1),x.on(window,"resize",L,this,!0)}function L(){y(this._introItems,function(t){void 0!==t.targetElement&&O.call(this,t.hintPosition,t.element,t.targetElement)}.bind(this))}function E(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function A(t){var e=E('.introjs-hint[data-step="'+t+'"]')[0];T.call(this),e&&_(e,"introjs-hidehint"),void 0!==this._hintCloseCallback&&this._hintCloseCallback.call(this,t)}function P(t){var e=E('.introjs-hint[data-step="'+t+'"]')[0];e&&k(e,/introjs-hidehint/g)}function Y(t){var e=E('.introjs-hint[data-step="'+t+'"]')[0];e&&e.parentNode.removeChild(e)}function O(t,e,i){var n=H.call(this,i);switch(t){default:case"top-left":e.style.left=n.left+"px",e.style.top=n.top+"px";break;case"top-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+"px";break;case"bottom-left":e.style.left=n.left+"px",e.style.top=n.top+n.height-20+"px";break;case"bottom-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+n.height-20+"px";break;case"middle-left":e.style.left=n.left+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"middle-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"middle-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"bottom-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+n.height-20+"px";break;case"top-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+"px"}}function I(t){var e=document.querySelector('.introjs-hint[data-step="'+t+'"]'),i=this._introItems[t];void 0!==this._hintClickCallback&&this._hintClickCallback.call(this,e,i,t);var n=T.call(this);if(parseInt(n,10)!==t){var a=document.createElement("div"),r=document.createElement("div"),o=document.createElement("div"),s=document.createElement("div");a.className="introjs-tooltip",a.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},r.className="introjs-tooltiptext";var l=document.createElement("p");l.innerHTML=i.hint;var d=document.createElement("a");d.className=this._options.buttonClass,d.setAttribute("role","button"),d.innerHTML=this._options.hintButtonLabel,d.onclick=A.bind(this,t),r.appendChild(l),r.appendChild(d),o.className="introjs-arrow",a.appendChild(o),a.appendChild(r),this._currentStep=e.getAttribute("data-step"),s.className="introjs-tooltipReferenceLayer introjs-hintReference",s.setAttribute("data-step",e.getAttribute("data-step")),p.call(this,s),s.appendChild(a),document.body.appendChild(s),c.call(this,e,a,o,null,!0)}}function H(t){var e=document.body,i=document.documentElement,n=window.pageYOffset||i.scrollTop||e.scrollTop,a=window.pageXOffset||i.scrollLeft||e.scrollLeft,r=t.getBoundingClientRect();return{top:r.top+n,width:r.width,height:r.height,left:r.left+a}}function R(t){var e=window.getComputedStyle(t),i="absolute"===e.position,n=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var a=t;a=a.parentElement;)if(e=window.getComputedStyle(a),(!i||"static"!==e.position)&&n.test(e.overflow+e.overflowY+e.overflowX))return a;return document.body}function N(t,e){t.scrollTop=e.offsetTop-t.offsetTop}function j(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}var F=function(e){var i;if("object"==typeof e)i=new t(e);else if("string"==typeof e){var n=document.querySelector(e);if(!n)throw new Error("There is no element with given selector.");i=new t(n)}else i=new t(document.body);return F.instances[w(i,"introjs-instance")]=i,i};return F.version="2.9.3",F.instances={},F.fn=t.prototype={clone:function(){return new t(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var i,n={};for(i in t)n[i]=t[i];for(i in e)n[i]=e[i];return n}(this._options,t),this},start:function(t){return i.call(this,this._targetElement,t),this},goToStep:function(t){return function(t){this._currentStep=t-2,void 0!==this._introItems&&o.call(this)}.call(this,t),this},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(t){return function(t){this._currentStepNumber=t,void 0!==this._introItems&&o.call(this)}.call(this,t),this},nextStep:function(){return o.call(this),this},previousStep:function(){return s.call(this),this},exit:function(t){return l.call(this,this._targetElement,t),this},refresh:function(){return function(){if(p.call(this,document.querySelector(".introjs-helperLayer")),p.call(this,document.querySelector(".introjs-tooltipReferenceLayer")),p.call(this,document.querySelector(".introjs-disableInteraction")),void 0!==this._currentStep&&null!==this._currentStep){var t=document.querySelector(".introjs-helperNumberLayer"),e=document.querySelector(".introjs-arrow"),i=document.querySelector(".introjs-tooltip");c.call(this,this._introItems[this._currentStep].element,i,e,t)}return L.call(this),this}.call(this),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){return D.call(this,this._targetElement),this},hideHint:function(t){return A.call(this,t),this},hideHints:function(){return function(){y(E(".introjs-hint"),function(t){A.call(this,t.getAttribute("data-step"))}.bind(this))}.call(this),this},showHint:function(t){return P.call(this,t),this},showHints:function(){return function(){var t=E(".introjs-hint");t&&t.length?y(t,function(t){P.call(this,t.getAttribute("data-step"))}.bind(this)):D.call(this,this._targetElement)}.call(this),this},removeHints:function(){return function(){y(E(".introjs-hint"),function(t){Y.call(this,t.getAttribute("data-step"))}.bind(this))}.call(this),this},removeHint:function(t){return Y.call(this,t),this},showHintDialog:function(t){return I.call(this,t),this}},F},t.exports=i(),t.exports.introJs=function(){return console.warn('Deprecated: please use require("intro.js") directly, instead of the introJs method of the function'),i().apply(this,arguments)}}).call(this,i(0))},function(t,e,i){
/*!
 * clipboard.js v2.0.4
 * https://zenorocha.github.io/clipboard.js
 * 
 * Licensed MIT © Zeno Rocha
 */
var n;n=function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=l(i(1)),o=l(i(3)),s=l(i(4));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.resolveOptions(i),n.listenClick(t),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),a(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===n(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,s.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new r.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return d("action",t)}},{key:"defaultTarget",value:function(t){var e=d("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return d("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,i=!!document.queryCommandSupported;return e.forEach(function(t){i=i&&!!document.queryCommandSupported(t)}),i}}]),e}();function d(t,e){var i="data-clipboard-"+t;if(e.hasAttribute(i))return e.getAttribute(i)}t.exports=c},function(t,e,i){"use strict";var n,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=i(2),s=(n=o)&&n.__esModule?n:{default:n};var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return r(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=i+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":a(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=l},function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var i=t.hasAttribute("readonly");i||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),i||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),a=document.createRange();a.selectNodeContents(t),n.removeAllRanges(),n.addRange(a),e=n.toString()}return e}},function(t,e){function i(){}i.prototype={on:function(t,e,i){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:i}),this},once:function(t,e,i){var n=this;function a(){n.off(t,a),e.apply(i,arguments)}return a._=e,this.on(t,a,i)},emit:function(t){for(var e=[].slice.call(arguments,1),i=((this.e||(this.e={}))[t]||[]).slice(),n=0,a=i.length;n<a;n++)i[n].fn.apply(i[n].ctx,e);return this},off:function(t,e){var i=this.e||(this.e={}),n=i[t],a=[];if(n&&e)for(var r=0,o=n.length;r<o;r++)n[r].fn!==e&&n[r].fn._!==e&&a.push(n[r]);return a.length?i[t]=a:delete i[t],this}},t.exports=i},function(t,e,i){var n=i(5),a=i(6);t.exports=function(t,e,i){if(!t&&!e&&!i)throw new Error("Missing required arguments");if(!n.string(e))throw new TypeError("Second argument must be a String");if(!n.fn(i))throw new TypeError("Third argument must be a Function");if(n.node(t))return function(t,e,i){return t.addEventListener(e,i),{destroy:function(){t.removeEventListener(e,i)}}}(t,e,i);if(n.nodeList(t))return function(t,e,i){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,i)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,i)})}}}(t,e,i);if(n.string(t))return function(t,e,i){return a(document.body,t,e,i)}(t,e,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var i=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===i||"[object HTMLCollection]"===i)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,i){var n=i(7);function a(t,e,i,a,r){var o=function(t,e,i,a){return function(i){i.delegateTarget=n(i.target,e),i.delegateTarget&&a.call(t,i)}}.apply(this,arguments);return t.addEventListener(i,o,r),{destroy:function(){t.removeEventListener(i,o,r)}}}t.exports=function(t,e,i,n,r){return"function"==typeof t.addEventListener?a.apply(null,arguments):"function"==typeof i?a.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return a(t,e,i,n,r)}))}},function(t,e){var i=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}t.exports=function(t,e){for(;t&&t.nodeType!==i;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}}])},t.exports=n()},function(t,e,i){"use strict";var n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var a in e=arguments[i])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},a={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",fadeColor:"transparent",animation:"spinner-line-fade-default",rotate:0,direction:1,speed:1,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:"0 0 1px transparent",position:"absolute"},r=function(){function t(t){void 0===t&&(t={}),this.opts=n({},a,t)}return t.prototype.spin=function(t){return this.stop(),this.el=document.createElement("div"),this.el.className=this.opts.className,this.el.setAttribute("role","progressbar"),o(this.el,{position:this.opts.position,width:0,zIndex:this.opts.zIndex,left:this.opts.left,top:this.opts.top,transform:"scale("+this.opts.scale+")"}),t&&t.insertBefore(this.el,t.firstChild||null),function(t,e){var i=Math.round(e.corners*e.width*500)/1e3+"px",n="none";!0===e.shadow?n="0 2px 4px #000":"string"==typeof e.shadow&&(n=e.shadow);for(var a=function(t){for(var e=/^\s*([a-zA-Z]+\s+)?(-?\d+(\.\d+)?)([a-zA-Z]*)\s+(-?\d+(\.\d+)?)([a-zA-Z]*)(.*)$/,i=[],n=0,a=t.split(",");n<a.length;n++){var r=a[n],o=r.match(e);if(null!==o){var s=+o[2],l=+o[5],c=o[4],d=o[7];0!==s||c||(c=d),0!==l||d||(d=c),c===d&&i.push({prefix:o[1]||"",x:s,y:l,xUnits:c,yUnits:d,end:o[8]})}}return i}(n),r=0;r<e.lines;r++){var c=~~(360/e.lines*r+e.rotate),d=o(document.createElement("div"),{position:"absolute",top:-e.width/2+"px",width:e.length+e.width+"px",height:e.width+"px",background:s(e.fadeColor,r),borderRadius:i,transformOrigin:"left",transform:"rotate("+c+"deg) translateX("+e.radius+"px)"}),u=r*e.direction/e.lines/e.speed;u-=1/e.speed;var h=o(document.createElement("div"),{width:"100%",height:"100%",background:s(e.color,r),borderRadius:i,boxShadow:l(a,c),animation:1/e.speed+"s linear "+u+"s infinite "+e.animation});d.appendChild(h),t.appendChild(d)}}(this.el,this.opts),this},t.prototype.stop=function(){return this.el&&("undefined"!=typeof requestAnimationFrame?cancelAnimationFrame(this.animateId):clearTimeout(this.animateId),this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.el=void 0),this},t}();function o(t,e){for(var i in e)t.style[i]=e[i];return t}function s(t,e){return"string"==typeof t?t:t[e%t.length]}function l(t,e){for(var i=[],n=0,a=t;n<a.length;n++){var r=a[n],o=c(r.x,r.y,e);i.push(r.prefix+o[0]+r.xUnits+" "+o[1]+r.yUnits+r.end)}return i.join(", ")}function c(t,e,i){var n=i*Math.PI/180,a=Math.sin(n),r=Math.cos(n);return[Math.round(1e3*(t*r+e*a))/1e3,Math.round(1e3*(-t*a+e*r))/1e3]}i.d(e,"a",function(){return h});
/*!
 * Ladda
 * http://lab.hakim.se/ladda
 * MIT licensed
 *
 * Copyright (C) 2018 Hakim El Hattab, http://hakim.se
 */
var d=[];function u(t){if(void 0!==t){if(t.classList.contains("ladda-button")||t.classList.add("ladda-button"),t.hasAttribute("data-style")||t.setAttribute("data-style","expand-right"),!t.querySelector(".ladda-label")){var e=document.createElement("span");e.className="ladda-label",i=t,n=e,(a=document.createRange()).selectNodeContents(i),a.surroundContents(n),i.appendChild(n)}var i,n,a,o,s,l=t.querySelector(".ladda-spinner");l||((l=document.createElement("span")).className="ladda-spinner"),t.appendChild(l);var c={start:function(){return o||(o=function(t){var e,i,n=t.offsetHeight;0===n&&(n=parseFloat(window.getComputedStyle(t).height));n>32&&(n*=.8);t.hasAttribute("data-spinner-size")&&(n=parseInt(t.getAttribute("data-spinner-size"),10));t.hasAttribute("data-spinner-color")&&(e=t.getAttribute("data-spinner-color"));t.hasAttribute("data-spinner-lines")&&(i=parseInt(t.getAttribute("data-spinner-lines"),10));var a=.2*n;return new r({color:e||"#fff",lines:i||12,radius:a,length:.6*a,width:a<7?2:3,animation:"ladda-spinner-line-fade",zIndex:"auto",top:"auto",left:"auto",className:""})}(t)),t.disabled=!0,t.setAttribute("data-loading",""),clearTimeout(s),o.spin(l),this.setProgress(0),this},startAfter:function(t){return clearTimeout(s),s=setTimeout(function(){c.start()},t),this},stop:function(){return c.isLoading()&&(t.disabled=!1,t.removeAttribute("data-loading")),clearTimeout(s),o&&(s=setTimeout(function(){o.stop()},1e3)),this},toggle:function(){return this.isLoading()?this.stop():this.start()},setProgress:function(e){e=Math.max(Math.min(e,1),0);var i=t.querySelector(".ladda-progress");0===e&&i&&i.parentNode?i.parentNode.removeChild(i):(i||((i=document.createElement("div")).className="ladda-progress",t.appendChild(i)),i.style.width=(e||0)*t.offsetWidth+"px")},isLoading:function(){return t.hasAttribute("data-loading")},remove:function(){clearTimeout(s),t.disabled=!1,t.removeAttribute("data-loading"),o&&(o.stop(),o=null),d.splice(d.indexOf(c),1)}};return d.push(c),c}console.warn("Ladda button target must be defined.")}function h(t,e){var i;if("string"==typeof t)i=document.querySelectorAll(t);else{if("object"!=typeof t)throw new Error("target must be string or object");i=[t]}e=e||{};for(var n=0;n<i.length;n++)p(i[n],e)}function p(t,e){if("function"==typeof t.addEventListener){var i=u(t),n=-1;t.addEventListener("click",function(){var a=!0,r=function(t,e){for(;t.parentNode&&t.tagName!==e;)t=t.parentNode;return e===t.tagName?t:void 0}(t,"FORM");void 0===r||r.hasAttribute("novalidate")||"function"==typeof r.checkValidity&&(a=r.checkValidity()),a&&(i.startAfter(1),"number"==typeof e.timeout&&(clearTimeout(n),n=setTimeout(i.stop,e.timeout)),"function"==typeof e.callback&&e.callback.apply(null,[i]))},!1)}}},function(t,e,i){i(159),i(164),i(165),i(166),i(168),i(170),i(171),i(173),i(174),i(175),i(176),i(178),i(182),i(185),i(188),i(190),i(192),i(193),i(196),i(198),i(200),i(201),i(204),i(206),i(209),i(210),i(212),i(214),i(257),t.exports=i(258)},function(t,e,i){"use strict";i.r(e);var n=i(0),a=i.n(n);i(160),i(163),i(260);a()(document).ready(function(){setTimeout(function(){a()(".vertical-nav-menu").metisMenu()},100),a()(".search-icon").click(function(){a()(this).parent().parent().addClass("active")}),a()(".search-wrapper .close").click(function(){a()(this).parent().removeClass("active")}),a()('[data-toggle="popover-custom-content"]').each(function(t,e){a()(this).popover({html:!0,placement:"auto",template:'<div class="popover popover-custom" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',content:function(){var t=a()(this).attr("popover-id");return a()("#popover-content-"+t).html()}})}),a()(".dropdown-menu").on("click",function(t){var e=a.a._data(document,"events")||{};e=e.click||[];for(var i=0;i<e.length;i++)e[i].selector&&(a()(t.target).is(e[i].selector)&&e[i].handler.call(t.target,t),a()(t.target).parents(e[i].selector).each(function(){e[i].handler.call(this,t)}));t.stopPropagation()}),a()('[data-toggle="popover-custom-bg"]').each(function(t,e){var i=a()(this).attr("data-bg-class");a()(this).popover({trigger:"focus",placement:"top",template:'<div class="popover popover-bg '+i+'" role="tooltip"><h3 class="popover-header"></h3><div class="popover-body"></div></div>'})}),a()(function(){a()('[data-toggle="popover"]').popover()}),a()('[data-toggle="popover-custom"]').each(function(t,e){a()(this).popover({html:!0,container:a()(this).parent().find(".rm-max-width"),content:function(){return a()(this).next(".rm-max-width").find(".popover-custom-content").html()}})}),a()("body").on("click",function(t){a()('[rel="popover-focus"]').each(function(){a()(this).is(t.target)||0!==a()(this).has(t.target).length||0!==a()(".popover").has(t.target).length||a()(this).popover("hide")})}),a()(".header-megamenu.nav > li > .nav-link").on("click",function(t){a()('[data-toggle="popover-custom"]').each(function(){a()(this).is(t.target)||0!==a()(this).has(t.target).length||0!==a()(".popover").has(t.target).length||a()(this).popover("hide")})}),a()(function(){a()('[data-toggle="tooltip"]').tooltip()}),a()(function(){a()('[data-toggle="tooltip-light"]').tooltip({template:'<div class="tooltip tooltip-light"><div class="tooltip-inner"></div></div>'})}),a()(".open-right-drawer").click(function(){a()(this).addClass("is-active"),a()(".app-drawer-wrapper").addClass("drawer-open"),a()(".app-drawer-overlay").removeClass("d-none")}),a()(".drawer-nav-btn").click(function(){a()(".app-drawer-wrapper").removeClass("drawer-open"),a()(".app-drawer-overlay").addClass("d-none"),a()(".open-right-drawer").removeClass("is-active")}),a()(".app-drawer-overlay").click(function(){a()(this).addClass("d-none"),a()(".app-drawer-wrapper").removeClass("drawer-open"),a()(".open-right-drawer").removeClass("is-active")}),a()(".mobile-toggle-nav").click(function(){a()(this).toggleClass("is-active"),a()(".app-container").toggleClass("sidebar-mobile-open")}),a()(".mobile-toggle-header-nav").click(function(){a()(this).toggleClass("active"),a()(".app-header__content").toggleClass("header-mobile-open")}),a()(".mobile-app-menu-btn").click(function(){a()(".hamburger",this).toggleClass("is-active"),a()(".app-inner-layout").toggleClass("open-mobile-menu")});var t=function(){document.body.clientWidth<1250?a()(".app-container").addClass("closed-sidebar-mobile closed-sidebar"):a()(".app-container").removeClass("closed-sidebar-mobile closed-sidebar")};a()(window).on("resize",function(){t()}),t()})},function(t,e,i){
/*!
  * Bootstrap v4.2.1 (https://getbootstrap.com/)
  * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
!function(t,e,i){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),n.forEach(function(e){r(t,e,i[e])})}return t}e=e&&e.hasOwnProperty("default")?e.default:e,i=i&&i.hasOwnProperty("default")?i.default:i;var s="transitionend";function l(t){var e=this,n=!1;return i(this).one(c.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||c.triggerTransitionEnd(e)},t),this}var c={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}return e&&document.querySelector(e)?e:null},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=i(t).css("transition-duration"),n=i(t).css("transition-delay"),a=parseFloat(e),r=parseFloat(n);return a||r?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){i(t).trigger(s)},supportsTransitionEnd:function(){return Boolean(s)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var a=i[n],r=e[n],o=r&&c.isElement(r)?"element":(s=r,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(a).test(o))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+o+'" but expected type "'+a+'".')}var s},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c.findShadowRoot(t.parentNode):null}};i.fn.emulateTransitionEnd=l,i.event.special[c.TRANSITION_END]={bindType:s,delegateType:s,handle:function(t){if(i(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var d=i.fn.alert,u={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},h={ALERT:"alert",FADE:"fade",SHOW:"show"},p=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var i=this._triggerCloseEvent(e);i.isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){i.removeData(this._element,"bs.alert"),this._element=null},e._getRootElement=function(t){var e=c.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=i(t).closest("."+h.ALERT)[0]),n},e._triggerCloseEvent=function(t){var e=i.Event(u.CLOSE);return i(t).trigger(e),e},e._removeElement=function(t){var e=this;if(i(t).removeClass(h.SHOW),i(t).hasClass(h.FADE)){var n=c.getTransitionDurationFromElement(t);i(t).one(c.TRANSITION_END,function(i){return e._destroyElement(t,i)}).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){i(t).detach().trigger(u.CLOSED).remove()},t._jQueryInterface=function(e){return this.each(function(){var n=i(this),a=n.data("bs.alert");a||(a=new t(this),n.data("bs.alert",a)),"close"===e&&a[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();i(document).on(u.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),i.fn.alert=p._jQueryInterface,i.fn.alert.Constructor=p,i.fn.alert.noConflict=function(){return i.fn.alert=d,p._jQueryInterface};var f=i.fn.button,g={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},m={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},v={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},y=function(){function t(t){this._element=t}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=i(this._element).closest(m.DATA_TOGGLE)[0];if(n){var a=this._element.querySelector(m.INPUT);if(a){if("radio"===a.type)if(a.checked&&this._element.classList.contains(g.ACTIVE))t=!1;else{var r=n.querySelector(m.ACTIVE);r&&i(r).removeClass(g.ACTIVE)}if(t){if(a.hasAttribute("disabled")||n.hasAttribute("disabled")||a.classList.contains("disabled")||n.classList.contains("disabled"))return;a.checked=!this._element.classList.contains(g.ACTIVE),i(a).trigger("change")}a.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(g.ACTIVE)),t&&i(this._element).toggleClass(g.ACTIVE)},e.dispose=function(){i.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var n=i(this).data("bs.button");n||(n=new t(this),i(this).data("bs.button",n)),"toggle"===e&&n[e]()})},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();i(document).on(v.CLICK_DATA_API,m.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var e=t.target;i(e).hasClass(g.BUTTON)||(e=i(e).closest(m.BUTTON)),y._jQueryInterface.call(i(e),"toggle")}).on(v.FOCUS_BLUR_DATA_API,m.DATA_TOGGLE_CARROT,function(t){var e=i(t.target).closest(m.BUTTON)[0];i(e).toggleClass(g.FOCUS,/^focus(in)?$/.test(t.type))}),i.fn.button=y._jQueryInterface,i.fn.button.Constructor=y,i.fn.button.noConflict=function(){return i.fn.button=f,y._jQueryInterface};var b="carousel",w=".bs.carousel",x=i.fn[b],_={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},k={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},S={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},M={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUCHSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},C={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},T={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},D={TOUCH:"touch",PEN:"pen"},L=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(T.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(S.NEXT)},e.nextWhenVisible=function(){!document.hidden&&i(this._element).is(":visible")&&"hidden"!==i(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(S.PREV)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(T.NEXT_PREV)&&(c.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(T.ACTIVE_ITEM);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)i(this._element).one(M.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var a=t>n?S.NEXT:S.PREV;this._slide(a,this._items[t])}},e.dispose=function(){i(this._element).off(w),i.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=o({},_,t),c.typeCheckConfig(b,t,k),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&i(this._element).on(M.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&i(this._element).on(M.MOUSEENTER,function(e){return t.pause(e)}).on(M.MOUSELEAVE,function(e){return t.cycle(e)}),this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};i(this._element.querySelectorAll(T.ITEM_IMG)).on(M.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(i(this._element).on(M.POINTERDOWN,function(t){return e(t)}),i(this._element).on(M.POINTERUP,function(t){return n(t)}),this._element.classList.add(C.POINTER_EVENT)):(i(this._element).on(M.TOUCHSTART,function(t){return e(t)}),i(this._element).on(M.TOUCHMOVE,function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),i(this._element).on(M.TOUCHEND,function(t){return n(t)}))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(T.ITEM)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var i=t===S.NEXT,n=t===S.PREV,a=this._getItemIndex(e),r=this._items.length-1,o=n&&0===a||i&&a===r;if(o&&!this._config.wrap)return e;var s=t===S.PREV?-1:1,l=(a+s)%this._items.length;return-1===l?this._items[this._items.length-1]:this._items[l]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),a=this._getItemIndex(this._element.querySelector(T.ACTIVE_ITEM)),r=i.Event(M.SLIDE,{relatedTarget:t,direction:e,from:a,to:n});return i(this._element).trigger(r),r},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(T.ACTIVE));i(e).removeClass(C.ACTIVE);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&i(n).addClass(C.ACTIVE)}},e._slide=function(t,e){var n,a,r,o=this,s=this._element.querySelector(T.ACTIVE_ITEM),l=this._getItemIndex(s),d=e||s&&this._getItemByDirection(t,s),u=this._getItemIndex(d),h=Boolean(this._interval);if(t===S.NEXT?(n=C.LEFT,a=C.NEXT,r=S.LEFT):(n=C.RIGHT,a=C.PREV,r=S.RIGHT),d&&i(d).hasClass(C.ACTIVE))this._isSliding=!1;else{var p=this._triggerSlideEvent(d,r);if(!p.isDefaultPrevented()&&s&&d){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(d);var f=i.Event(M.SLID,{relatedTarget:d,direction:r,from:l,to:u});if(i(this._element).hasClass(C.SLIDE)){i(d).addClass(a),c.reflow(d),i(s).addClass(n),i(d).addClass(n);var g=parseInt(d.getAttribute("data-interval"),10);g?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=g):this._config.interval=this._config.defaultInterval||this._config.interval;var m=c.getTransitionDurationFromElement(s);i(s).one(c.TRANSITION_END,function(){i(d).removeClass(n+" "+a).addClass(C.ACTIVE),i(s).removeClass(C.ACTIVE+" "+a+" "+n),o._isSliding=!1,setTimeout(function(){return i(o._element).trigger(f)},0)}).emulateTransitionEnd(m)}else i(s).removeClass(C.ACTIVE),i(d).addClass(C.ACTIVE),this._isSliding=!1,i(this._element).trigger(f);h&&this.cycle()}}},t._jQueryInterface=function(e){return this.each(function(){var n=i(this).data("bs.carousel"),a=o({},_,i(this).data());"object"==typeof e&&(a=o({},a,e));var r="string"==typeof e?e:a.slide;if(n||(n=new t(this,a),i(this).data("bs.carousel",n)),"number"==typeof e)n.to(e);else if("string"==typeof r){if(void 0===n[r])throw new TypeError('No method named "'+r+'"');n[r]()}else a.interval&&(n.pause(),n.cycle())})},t._dataApiClickHandler=function(e){var n=c.getSelectorFromElement(this);if(n){var a=i(n)[0];if(a&&i(a).hasClass(C.CAROUSEL)){var r=o({},i(a).data(),i(this).data()),s=this.getAttribute("data-slide-to");s&&(r.interval=!1),t._jQueryInterface.call(i(a),r),s&&i(a).data("bs.carousel").to(s),e.preventDefault()}}},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return _}}]),t}();i(document).on(M.CLICK_DATA_API,T.DATA_SLIDE,L._dataApiClickHandler),i(window).on(M.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(T.DATA_RIDE)),e=0,n=t.length;e<n;e++){var a=i(t[e]);L._jQueryInterface.call(a,a.data())}}),i.fn[b]=L._jQueryInterface,i.fn[b].Constructor=L,i.fn[b].noConflict=function(){return i.fn[b]=x,L._jQueryInterface};var E="collapse",A=i.fn[E],P={toggle:!0,parent:""},Y={toggle:"boolean",parent:"(string|element)"},O={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},I={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},H={WIDTH:"width",HEIGHT:"height"},R={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},N=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(R.DATA_TOGGLE)),n=0,a=i.length;n<a;n++){var r=i[n],o=c.getSelectorFromElement(r),s=[].slice.call(document.querySelectorAll(o)).filter(function(e){return e===t});null!==o&&s.length>0&&(this._selector=o,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){i(this._element).hasClass(I.SHOW)?this.hide():this.show()},e.show=function(){var e,n,a=this;if(!(this._isTransitioning||i(this._element).hasClass(I.SHOW)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(R.ACTIVES)).filter(function(t){return"string"==typeof a._config.parent?t.getAttribute("data-parent")===a._config.parent:t.classList.contains(I.COLLAPSE)})).length&&(e=null),e&&(n=i(e).not(this._selector).data("bs.collapse"))&&n._isTransitioning))){var r=i.Event(O.SHOW);if(i(this._element).trigger(r),!r.isDefaultPrevented()){e&&(t._jQueryInterface.call(i(e).not(this._selector),"hide"),n||i(e).data("bs.collapse",null));var o=this._getDimension();i(this._element).removeClass(I.COLLAPSE).addClass(I.COLLAPSING),this._element.style[o]=0,this._triggerArray.length&&i(this._triggerArray).removeClass(I.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var s=o[0].toUpperCase()+o.slice(1),l="scroll"+s,d=c.getTransitionDurationFromElement(this._element);i(this._element).one(c.TRANSITION_END,function(){i(a._element).removeClass(I.COLLAPSING).addClass(I.COLLAPSE).addClass(I.SHOW),a._element.style[o]="",a.setTransitioning(!1),i(a._element).trigger(O.SHOWN)}).emulateTransitionEnd(d),this._element.style[o]=this._element[l]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&i(this._element).hasClass(I.SHOW)){var e=i.Event(O.HIDE);if(i(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",c.reflow(this._element),i(this._element).addClass(I.COLLAPSING).removeClass(I.COLLAPSE).removeClass(I.SHOW);var a=this._triggerArray.length;if(a>0)for(var r=0;r<a;r++){var o=this._triggerArray[r],s=c.getSelectorFromElement(o);if(null!==s){var l=i([].slice.call(document.querySelectorAll(s)));l.hasClass(I.SHOW)||i(o).addClass(I.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0),this._element.style[n]="";var d=c.getTransitionDurationFromElement(this._element);i(this._element).one(c.TRANSITION_END,function(){t.setTransitioning(!1),i(t._element).removeClass(I.COLLAPSING).addClass(I.COLLAPSE).trigger(O.HIDDEN)}).emulateTransitionEnd(d)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){i.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=o({},P,t)).toggle=Boolean(t.toggle),c.typeCheckConfig(E,t,Y),t},e._getDimension=function(){var t=i(this._element).hasClass(H.WIDTH);return t?H.WIDTH:H.HEIGHT},e._getParent=function(){var e,n=this;c.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var a='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(e.querySelectorAll(a));return i(r).each(function(e,i){n._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])}),e},e._addAriaAndCollapsedClass=function(t,e){var n=i(t).hasClass(I.SHOW);e.length&&i(e).toggleClass(I.COLLAPSED,!n).attr("aria-expanded",n)},t._getTargetFromElement=function(t){var e=c.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each(function(){var n=i(this),a=n.data("bs.collapse"),r=o({},P,n.data(),"object"==typeof e&&e?e:{});if(!a&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),a||(a=new t(this,r),n.data("bs.collapse",a)),"string"==typeof e){if(void 0===a[e])throw new TypeError('No method named "'+e+'"');a[e]()}})},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return P}}]),t}();i(document).on(O.CLICK_DATA_API,R.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=i(this),n=c.getSelectorFromElement(this),a=[].slice.call(document.querySelectorAll(n));i(a).each(function(){var t=i(this),n=t.data("bs.collapse"),a=n?"toggle":e.data();N._jQueryInterface.call(t,a)})}),i.fn[E]=N._jQueryInterface,i.fn[E].Constructor=N,i.fn[E].noConflict=function(){return i.fn[E]=A,N._jQueryInterface};var j="dropdown",F=i.fn[j],z=new RegExp("38|40|27"),W={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},B={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},V={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},$={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},X={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},q={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},U=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!i(this._element).hasClass(B.DISABLED)){var n=t._getParentFromElement(this._element),a=i(this._menu).hasClass(B.SHOW);if(t._clearMenus(),!a){var r={relatedTarget:this._element},o=i.Event(W.SHOW,r);if(i(n).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=n:c.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&i(n).addClass(B.POSITION_STATIC),this._popper=new e(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===i(n).closest(V.NAVBAR_NAV).length&&i(document.body).children().on("mouseover",null,i.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),i(this._menu).toggleClass(B.SHOW),i(n).toggleClass(B.SHOW).trigger(i.Event(W.SHOWN,r))}}}},n.show=function(){if(!(this._element.disabled||i(this._element).hasClass(B.DISABLED)||i(this._menu).hasClass(B.SHOW))){var e={relatedTarget:this._element},n=i.Event(W.SHOW,e),a=t._getParentFromElement(this._element);i(a).trigger(n),n.isDefaultPrevented()||(i(this._menu).toggleClass(B.SHOW),i(a).toggleClass(B.SHOW).trigger(i.Event(W.SHOWN,e)))}},n.hide=function(){if(!this._element.disabled&&!i(this._element).hasClass(B.DISABLED)&&i(this._menu).hasClass(B.SHOW)){var e={relatedTarget:this._element},n=i.Event(W.HIDE,e),a=t._getParentFromElement(this._element);i(a).trigger(n),n.isDefaultPrevented()||(i(this._menu).toggleClass(B.SHOW),i(a).toggleClass(B.SHOW).trigger(i.Event(W.HIDDEN,e)))}},n.dispose=function(){i.removeData(this._element,"bs.dropdown"),i(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;i(this._element).on(W.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},n._getConfig=function(t){return t=o({},this.constructor.Default,i(this._element).data(),t),c.typeCheckConfig(j,t,this.constructor.DefaultType),t},n._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(V.MENU))}return this._menu},n._getPlacement=function(){var t=i(this._element.parentNode),e=$.BOTTOM;return t.hasClass(B.DROPUP)?(e=$.TOP,i(this._menu).hasClass(B.MENURIGHT)&&(e=$.TOPEND)):t.hasClass(B.DROPRIGHT)?e=$.RIGHT:t.hasClass(B.DROPLEFT)?e=$.LEFT:i(this._menu).hasClass(B.MENURIGHT)&&(e=$.BOTTOMEND),e},n._detectNavbar=function(){return i(this._element).closest(".navbar").length>0},n._getPopperConfig=function(){var t=this,e={};"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset;var i={placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(i.modifiers.applyStyle={enabled:!1}),i},t._jQueryInterface=function(e){return this.each(function(){var n=i(this).data("bs.dropdown"),a="object"==typeof e?e:null;if(n||(n=new t(this,a),i(this).data("bs.dropdown",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=[].slice.call(document.querySelectorAll(V.DATA_TOGGLE)),a=0,r=n.length;a<r;a++){var o=t._getParentFromElement(n[a]),s=i(n[a]).data("bs.dropdown"),l={relatedTarget:n[a]};if(e&&"click"===e.type&&(l.clickEvent=e),s){var c=s._menu;if(i(o).hasClass(B.SHOW)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&i.contains(o,e.target))){var d=i.Event(W.HIDE,l);i(o).trigger(d),d.isDefaultPrevented()||("ontouchstart"in document.documentElement&&i(document.body).children().off("mouseover",null,i.noop),n[a].setAttribute("aria-expanded","false"),i(c).removeClass(B.SHOW),i(o).removeClass(B.SHOW).trigger(i.Event(W.HIDDEN,l)))}}}},t._getParentFromElement=function(t){var e,i=c.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||i(e.target).closest(V.MENU).length)):z.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!i(this).hasClass(B.DISABLED))){var n=t._getParentFromElement(this),a=i(n).hasClass(B.SHOW);if(a&&(!a||27!==e.which&&32!==e.which)){var r=[].slice.call(n.querySelectorAll(V.VISIBLE_ITEMS));if(0!==r.length){var o=r.indexOf(e.target);38===e.which&&o>0&&o--,40===e.which&&o<r.length-1&&o++,o<0&&(o=0),r[o].focus()}}else{if(27===e.which){var s=n.querySelector(V.DATA_TOGGLE);i(s).trigger("focus")}i(this).trigger("click")}}},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return X}},{key:"DefaultType",get:function(){return q}}]),t}();i(document).on(W.KEYDOWN_DATA_API,V.DATA_TOGGLE,U._dataApiKeydownHandler).on(W.KEYDOWN_DATA_API,V.MENU,U._dataApiKeydownHandler).on(W.CLICK_DATA_API+" "+W.KEYUP_DATA_API,U._clearMenus).on(W.CLICK_DATA_API,V.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),U._jQueryInterface.call(i(this),"toggle")}).on(W.CLICK_DATA_API,V.FORM_CHILD,function(t){t.stopPropagation()}),i.fn[j]=U._jQueryInterface,i.fn[j].Constructor=U,i.fn[j].noConflict=function(){return i.fn[j]=F,U._jQueryInterface};var G=i.fn.modal,Z={backdrop:!0,keyboard:!0,focus:!0,show:!0},J={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},K={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},Q={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},tt={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},et=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(tt.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){i(this._element).hasClass(Q.FADE)&&(this._isTransitioning=!0);var n=i.Event(K.SHOW,{relatedTarget:t});i(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),i(this._element).on(K.CLICK_DISMISS,tt.DATA_DISMISS,function(t){return e.hide(t)}),i(this._dialog).on(K.MOUSEDOWN_DISMISS,function(){i(e._element).one(K.MOUSEUP_DISMISS,function(t){i(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=i.Event(K.HIDE);if(i(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var a=i(this._element).hasClass(Q.FADE);if(a&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),i(document).off(K.FOCUSIN),i(this._element).removeClass(Q.SHOW),i(this._element).off(K.CLICK_DISMISS),i(this._dialog).off(K.MOUSEDOWN_DISMISS),a){var r=c.getTransitionDurationFromElement(this._element);i(this._element).one(c.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(r)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return i(t).off(".bs.modal")}),i(document).off(K.FOCUSIN),i.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=o({},Z,t),c.typeCheckConfig("modal",t,J),t},e._showElement=function(t){var e=this,n=i(this._element).hasClass(Q.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.scrollTop=0,n&&c.reflow(this._element),i(this._element).addClass(Q.SHOW),this._config.focus&&this._enforceFocus();var a=i.Event(K.SHOWN,{relatedTarget:t}),r=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,i(e._element).trigger(a)};if(n){var o=c.getTransitionDurationFromElement(this._dialog);i(this._dialog).one(c.TRANSITION_END,r).emulateTransitionEnd(o)}else r()},e._enforceFocus=function(){var t=this;i(document).off(K.FOCUSIN).on(K.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===i(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?i(this._element).on(K.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||i(this._element).off(K.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?i(window).on(K.RESIZE,function(e){return t.handleUpdate(e)}):i(window).off(K.RESIZE)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){i(document.body).removeClass(Q.OPEN),t._resetAdjustments(),t._resetScrollbar(),i(t._element).trigger(K.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(i(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=i(this._element).hasClass(Q.FADE)?Q.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Q.BACKDROP,n&&this._backdrop.classList.add(n),i(this._backdrop).appendTo(document.body),i(this._element).on(K.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&&c.reflow(this._backdrop),i(this._backdrop).addClass(Q.SHOW),!t)return;if(!n)return void t();var a=c.getTransitionDurationFromElement(this._backdrop);i(this._backdrop).one(c.TRANSITION_END,t).emulateTransitionEnd(a)}else if(!this._isShown&&this._backdrop){i(this._backdrop).removeClass(Q.SHOW);var r=function(){e._removeBackdrop(),t&&t()};if(i(this._element).hasClass(Q.FADE)){var o=c.getTransitionDurationFromElement(this._backdrop);i(this._backdrop).one(c.TRANSITION_END,r).emulateTransitionEnd(o)}else r()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT)),n=[].slice.call(document.querySelectorAll(tt.STICKY_CONTENT));i(e).each(function(e,n){var a=n.style.paddingRight,r=i(n).css("padding-right");i(n).data("padding-right",a).css("padding-right",parseFloat(r)+t._scrollbarWidth+"px")}),i(n).each(function(e,n){var a=n.style.marginRight,r=i(n).css("margin-right");i(n).data("margin-right",a).css("margin-right",parseFloat(r)-t._scrollbarWidth+"px")});var a=document.body.style.paddingRight,r=i(document.body).css("padding-right");i(document.body).data("padding-right",a).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}i(document.body).addClass(Q.OPEN)},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT));i(t).each(function(t,e){var n=i(e).data("padding-right");i(e).removeData("padding-right"),e.style.paddingRight=n||""});var e=[].slice.call(document.querySelectorAll(""+tt.STICKY_CONTENT));i(e).each(function(t,e){var n=i(e).data("margin-right");void 0!==n&&i(e).css("margin-right",n).removeData("margin-right")});var n=i(document.body).data("padding-right");i(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Q.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,n){return this.each(function(){var a=i(this).data("bs.modal"),r=o({},Z,i(this).data(),"object"==typeof e&&e?e:{});if(a||(a=new t(this,r),i(this).data("bs.modal",a)),"string"==typeof e){if(void 0===a[e])throw new TypeError('No method named "'+e+'"');a[e](n)}else r.show&&a.show(n)})},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Z}}]),t}();i(document).on(K.CLICK_DATA_API,tt.DATA_TOGGLE,function(t){var e,n=this,a=c.getSelectorFromElement(this);a&&(e=document.querySelector(a));var r=i(e).data("bs.modal")?"toggle":o({},i(e).data(),i(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=i(e).one(K.SHOW,function(t){t.isDefaultPrevented()||s.one(K.HIDDEN,function(){i(n).is(":visible")&&n.focus()})});et._jQueryInterface.call(i(e),r,this)}),i.fn.modal=et._jQueryInterface,i.fn.modal.Constructor=et,i.fn.modal.noConflict=function(){return i.fn.modal=G,et._jQueryInterface};var it="tooltip",nt=i.fn.tooltip,at=new RegExp("(^|\\s)bs-tooltip\\S+","g"),rt={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},ot={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},st={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},lt={SHOW:"show",OUT:"out"},ct={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},dt={FADE:"fade",SHOW:"show"},ut={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},ht={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},pt=function(){function t(t,i){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(i),this.tip=null,this._setListeners()}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=i(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),i(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(i(this.getTipElement()).hasClass(dt.SHOW))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),i.removeData(this.element,this.constructor.DATA_KEY),i(this.element).off(this.constructor.EVENT_KEY),i(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&i(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===i(this.element).css("display"))throw new Error("Please use show on visible elements");var n=i.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i(this.element).trigger(n);var a=c.findShadowRoot(this.element),r=i.contains(null!==a?a:this.element.ownerDocument.documentElement,this.element);if(n.isDefaultPrevented()||!r)return;var o=this.getTipElement(),s=c.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&i(o).addClass(dt.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,d=this._getAttachment(l);this.addAttachmentClass(d);var u=this._getContainer();i(o).data(this.constructor.DATA_KEY,this),i.contains(this.element.ownerDocument.documentElement,this.tip)||i(o).appendTo(u),i(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new e(this.element,o,{placement:d,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:ut.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),i(o).addClass(dt.SHOW),"ontouchstart"in document.documentElement&&i(document.body).children().on("mouseover",null,i.noop);var h=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,i(t.element).trigger(t.constructor.Event.SHOWN),e===lt.OUT&&t._leave(null,t)};if(i(this.tip).hasClass(dt.FADE)){var p=c.getTransitionDurationFromElement(this.tip);i(this.tip).one(c.TRANSITION_END,h).emulateTransitionEnd(p)}else h()}},n.hide=function(t){var e=this,n=this.getTipElement(),a=i.Event(this.constructor.Event.HIDE),r=function(){e._hoverState!==lt.SHOW&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),i(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(i(this.element).trigger(a),!a.isDefaultPrevented()){if(i(n).removeClass(dt.SHOW),"ontouchstart"in document.documentElement&&i(document.body).children().off("mouseover",null,i.noop),this._activeTrigger[ht.CLICK]=!1,this._activeTrigger[ht.FOCUS]=!1,this._activeTrigger[ht.HOVER]=!1,i(this.tip).hasClass(dt.FADE)){var o=c.getTransitionDurationFromElement(n);i(n).one(c.TRANSITION_END,r).emulateTransitionEnd(o)}else r();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(t){i(this.getTipElement()).addClass("bs-tooltip-"+t)},n.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0],this.tip},n.setContent=function(){var t=this.getTipElement();this.setElementContent(i(t.querySelectorAll(ut.TOOLTIP_INNER)),this.getTitle()),i(t).removeClass(dt.FADE+" "+dt.SHOW)},n.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?i(e).parent().is(t)||t.empty().append(e):t.text(i(e).text()):t[n?"html":"text"](e)},n.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},n._getContainer=function(){return!1===this.config.container?document.body:c.isElement(this.config.container)?i(this.config.container):i(document).find(this.config.container)},n._getAttachment=function(t){return ot[t.toUpperCase()]},n._setListeners=function(){var t=this,e=this.config.trigger.split(" ");e.forEach(function(e){if("click"===e)i(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==ht.MANUAL){var n=e===ht.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,a=e===ht.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;i(t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(a,t.config.selector,function(e){return t._leave(e)})}}),i(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?ht.FOCUS:ht.HOVER]=!0),i(e.getTipElement()).hasClass(dt.SHOW)||e._hoverState===lt.SHOW?e._hoverState=lt.SHOW:(clearTimeout(e._timeout),e._hoverState=lt.SHOW,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===lt.SHOW&&e.show()},e.config.delay.show):e.show())},n._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?ht.FOCUS:ht.HOVER]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=lt.OUT,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===lt.OUT&&e.hide()},e.config.delay.hide):e.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){return"number"==typeof(t=o({},this.constructor.Default,i(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),c.typeCheckConfig(it,t,this.constructor.DefaultType),t},n._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},n._cleanTipClass=function(){var t=i(this.getTipElement()),e=t.attr("class").match(at);null!==e&&e.length&&t.removeClass(e.join(""))},n._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(i(t).removeClass(dt.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var n=i(this).data("bs.tooltip"),a="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,a),i(this).data("bs.tooltip",n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return st}},{key:"NAME",get:function(){return it}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return ct}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return rt}}]),t}();i.fn.tooltip=pt._jQueryInterface,i.fn.tooltip.Constructor=pt,i.fn.tooltip.noConflict=function(){return i.fn.tooltip=nt,pt._jQueryInterface};var ft="popover",gt=i.fn.popover,mt=new RegExp("(^|\\s)bs-popover\\S+","g"),vt=o({},pt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),yt=o({},pt.DefaultType,{content:"(string|element|function)"}),bt={FADE:"fade",SHOW:"show"},wt={TITLE:".popover-header",CONTENT:".popover-body"},xt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},_t=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){i(this.getTipElement()).addClass("bs-popover-"+t)},o.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0],this.tip},o.setContent=function(){var t=i(this.getTipElement());this.setElementContent(t.find(wt.TITLE),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(wt.CONTENT),e),t.removeClass(bt.FADE+" "+bt.SHOW)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=i(this.getTipElement()),e=t.attr("class").match(mt);null!==e&&e.length>0&&t.removeClass(e.join(""))},r._jQueryInterface=function(t){return this.each(function(){var e=i(this).data("bs.popover"),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new r(this,n),i(this).data("bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},a(r,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return vt}},{key:"NAME",get:function(){return ft}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return xt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return yt}}]),r}(pt);i.fn.popover=_t._jQueryInterface,i.fn.popover.Constructor=_t,i.fn.popover.noConflict=function(){return i.fn.popover=gt,_t._jQueryInterface};var kt="scrollspy",St=i.fn[kt],Mt={offset:10,method:"auto",target:""},Ct={offset:"number",method:"string",target:"(string|element)"},Tt={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Dt={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Lt={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},Et={OFFSET:"offset",POSITION:"position"},At=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Lt.NAV_LINKS+","+this._config.target+" "+Lt.LIST_ITEMS+","+this._config.target+" "+Lt.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,i(this._scrollElement).on(Tt.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Et.OFFSET:Et.POSITION,n="auto"===this._config.method?e:this._config.method,a=n===Et.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var r=[].slice.call(document.querySelectorAll(this._selector));r.map(function(t){var e,r=c.getSelectorFromElement(t);if(r&&(e=document.querySelector(r)),e){var o=e.getBoundingClientRect();if(o.width||o.height)return[i(e)[n]().top+a,r]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){i.removeData(this._element,"bs.scrollspy"),i(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=o({},Mt,"object"==typeof t&&t?t:{})).target){var e=i(t.target).attr("id");e||(e=c.getUID(kt),i(t.target).attr("id",e)),t.target="#"+e}return c.typeCheckConfig(kt,t,Ct),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var a=this._offsets.length,r=a;r--;){var o=this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t<this._offsets[r+1]);o&&this._activate(this._targets[r])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),n=i([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass(Dt.DROPDOWN_ITEM)?(n.closest(Lt.DROPDOWN).find(Lt.DROPDOWN_TOGGLE).addClass(Dt.ACTIVE),n.addClass(Dt.ACTIVE)):(n.addClass(Dt.ACTIVE),n.parents(Lt.NAV_LIST_GROUP).prev(Lt.NAV_LINKS+", "+Lt.LIST_ITEMS).addClass(Dt.ACTIVE),n.parents(Lt.NAV_LIST_GROUP).prev(Lt.NAV_ITEMS).children(Lt.NAV_LINKS).addClass(Dt.ACTIVE)),i(this._scrollElement).trigger(Tt.ACTIVATE,{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(Dt.ACTIVE)}).forEach(function(t){return t.classList.remove(Dt.ACTIVE)})},t._jQueryInterface=function(e){return this.each(function(){var n=i(this).data("bs.scrollspy"),a="object"==typeof e&&e;if(n||(n=new t(this,a),i(this).data("bs.scrollspy",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Mt}}]),t}();i(window).on(Tt.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(Lt.DATA_SPY)),e=t.length,n=e;n--;){var a=i(t[n]);At._jQueryInterface.call(a,a.data())}}),i.fn[kt]=At._jQueryInterface,i.fn[kt].Constructor=At,i.fn[kt].noConflict=function(){return i.fn[kt]=St,At._jQueryInterface};var Pt=i.fn.tab,Yt={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},Ot={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},It={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},Ht=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&i(this._element).hasClass(Ot.ACTIVE)||i(this._element).hasClass(Ot.DISABLED))){var e,n,a=i(this._element).closest(It.NAV_LIST_GROUP)[0],r=c.getSelectorFromElement(this._element);if(a){var o="UL"===a.nodeName||"OL"===a.nodeName?It.ACTIVE_UL:It.ACTIVE;n=(n=i.makeArray(i(a).find(o)))[n.length-1]}var s=i.Event(Yt.HIDE,{relatedTarget:this._element}),l=i.Event(Yt.SHOW,{relatedTarget:n});if(n&&i(n).trigger(s),i(this._element).trigger(l),!l.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,a);var d=function(){var e=i.Event(Yt.HIDDEN,{relatedTarget:t._element}),a=i.Event(Yt.SHOWN,{relatedTarget:n});i(n).trigger(e),i(t._element).trigger(a)};e?this._activate(e,e.parentNode,d):d()}}},e.dispose=function(){i.removeData(this._element,"bs.tab"),this._element=null},e._activate=function(t,e,n){var a=this,r=!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?i(e).children(It.ACTIVE):i(e).find(It.ACTIVE_UL),o=r[0],s=n&&o&&i(o).hasClass(Ot.FADE),l=function(){return a._transitionComplete(t,o,n)};if(o&&s){var d=c.getTransitionDurationFromElement(o);i(o).removeClass(Ot.SHOW).one(c.TRANSITION_END,l).emulateTransitionEnd(d)}else l()},e._transitionComplete=function(t,e,n){if(e){i(e).removeClass(Ot.ACTIVE);var a=i(e.parentNode).find(It.DROPDOWN_ACTIVE_CHILD)[0];a&&i(a).removeClass(Ot.ACTIVE),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(i(t).addClass(Ot.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),c.reflow(t),i(t).addClass(Ot.SHOW),t.parentNode&&i(t.parentNode).hasClass(Ot.DROPDOWN_MENU)){var r=i(t).closest(It.DROPDOWN)[0];if(r){var o=[].slice.call(r.querySelectorAll(It.DROPDOWN_TOGGLE));i(o).addClass(Ot.ACTIVE)}t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each(function(){var n=i(this),a=n.data("bs.tab");if(a||(a=new t(this),n.data("bs.tab",a)),"string"==typeof e){if(void 0===a[e])throw new TypeError('No method named "'+e+'"');a[e]()}})},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();i(document).on(Yt.CLICK_DATA_API,It.DATA_TOGGLE,function(t){t.preventDefault(),Ht._jQueryInterface.call(i(this),"show")}),i.fn.tab=Ht._jQueryInterface,i.fn.tab.Constructor=Ht,i.fn.tab.noConflict=function(){return i.fn.tab=Pt,Ht._jQueryInterface};var Rt=i.fn.toast,Nt={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},jt={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},Ft={animation:"boolean",autohide:"boolean",delay:"number"},zt={animation:!0,autohide:!0,delay:500},Wt={DATA_DISMISS:'[data-dismiss="toast"]'},Bt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this;i(this._element).trigger(Nt.SHOW),this._config.animation&&this._element.classList.add(jt.FADE);var e=function(){t._element.classList.remove(jt.SHOWING),t._element.classList.add(jt.SHOW),i(t._element).trigger(Nt.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(jt.HIDE),this._element.classList.add(jt.SHOWING),this._config.animation){var n=c.getTransitionDurationFromElement(this._element);i(this._element).one(c.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},e.hide=function(t){var e=this;this._element.classList.contains(jt.SHOW)&&(i(this._element).trigger(Nt.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(jt.SHOW)&&this._element.classList.remove(jt.SHOW),i(this._element).off(Nt.CLICK_DISMISS),i.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(t){return t=o({},zt,i(this._element).data(),"object"==typeof t&&t?t:{}),c.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;i(this._element).on(Nt.CLICK_DISMISS,Wt.DATA_DISMISS,function(){return t.hide(!0)})},e._close=function(){var t=this,e=function(){t._element.classList.add(jt.HIDE),i(t._element).trigger(Nt.HIDDEN)};if(this._element.classList.remove(jt.SHOW),this._config.animation){var n=c.getTransitionDurationFromElement(this._element);i(this._element).one(c.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},t._jQueryInterface=function(e){return this.each(function(){var n=i(this),a=n.data("bs.toast"),r="object"==typeof e&&e;if(a||(a=new t(this,r),n.data("bs.toast",a)),"string"==typeof e){if(void 0===a[e])throw new TypeError('No method named "'+e+'"');a[e](this)}})},a(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"DefaultType",get:function(){return Ft}}]),t}();i.fn.toast=Bt._jQueryInterface,i.fn.toast.Constructor=Bt,i.fn.toast.noConflict=function(){return i.fn.toast=Rt,Bt._jQueryInterface},function(){if(void 0===i)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=i.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=c,t.Alert=p,t.Button=y,t.Carousel=L,t.Collapse=N,t.Dropdown=U,t.Modal=et,t.Popover=_t,t.Scrollspy=At,t.Tab=Ht,t.Toast=Bt,t.Tooltip=pt,Object.defineProperty(t,"__esModule",{value:!0})}(e,i(161),i(0))},function(t,e,i){"use strict";i.r(e),function(t){for(
/**!
 * @fileOverview Kickass library to create and place poppers near their reference elements.
 * @version 1.14.6
 * @license
 * Copyright (c) 2016 Federico Zivolo and contributors
 *
 * 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.
 */
var i="undefined"!=typeof window&&"undefined"!=typeof document,n=["Edge","Trident","Firefox"],a=0,r=0;r<n.length;r+=1)if(i&&navigator.userAgent.indexOf(n[r])>=0){a=1;break}var o=i&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},a))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function c(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function d(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),i=e.overflow,n=e.overflowX,a=e.overflowY;return/(auto|scroll|overlay)/.test(i+a+n)?t:d(c(t))}var u=i&&!(!window.MSInputMethodContext||!document.documentMode),h=i&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?u:10===t?h:u||h}function f(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===l(i,"position")?f(i):i:t?t.ownerDocument.documentElement:document.documentElement}function g(t){return null!==t.parentNode?g(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,a=i?e:t,r=document.createRange();r.setStart(n,0),r.setEnd(a,0);var o,s,l=r.commonAncestorContainer;if(t!==l&&e!==l||n.contains(a))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&f(o.firstElementChild)!==o?f(l):l;var c=g(t);return c.host?m(c.host,e):m(t,g(e).host)}function v(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function y(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function b(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],p(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,i=t.documentElement,n=p(10)&&getComputedStyle(i);return{height:b("Height",e,i,n),width:b("Width",e,i,n)}}var x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},_=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),k=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function M(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function C(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var i=v(t,"top"),n=v(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var a={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?w(t.ownerDocument):{},o=r.width||t.clientWidth||a.right-a.left,s=r.height||t.clientHeight||a.bottom-a.top,c=t.offsetWidth-o,d=t.offsetHeight-s;if(c||d){var u=l(t);c-=y(u,"x"),d-=y(u,"y"),a.width-=c,a.height-=d}return M(a)}function T(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=p(10),a="HTML"===e.nodeName,r=C(t),o=C(e),s=d(t),c=l(e),u=parseFloat(c.borderTopWidth,10),h=parseFloat(c.borderLeftWidth,10);i&&a&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var f=M({top:r.top-o.top-u,left:r.left-o.left-h,width:r.width,height:r.height});if(f.marginTop=0,f.marginLeft=0,!n&&a){var g=parseFloat(c.marginTop,10),m=parseFloat(c.marginLeft,10);f.top-=u-g,f.bottom-=u-g,f.left-=h-m,f.right-=h-m,f.marginTop=g,f.marginLeft=m}return(n&&!i?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(f=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=v(e,"top"),a=v(e,"left"),r=i?-1:1;return t.top+=n*r,t.bottom+=n*r,t.left+=a*r,t.right+=a*r,t}(f,e)),f}function D(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function L(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},o=a?D(t):m(t,e);if("viewport"===n)r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=T(t,i),a=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),o=e?0:v(i),s=e?0:v(i,"left");return M({top:o-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:a,height:r})}(o,a);else{var s=void 0;"scrollParent"===n?"BODY"===(s=d(c(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===n?t.ownerDocument.documentElement:n;var u=T(s,o,a);if("HTML"!==s.nodeName||function t(e){var i=e.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===l(e,"position")||t(c(e)))}(o))r=u;else{var h=w(t.ownerDocument),p=h.height,f=h.width;r.top+=u.top-u.marginTop,r.bottom=p+u.top,r.left+=u.left-u.marginLeft,r.right=f+u.left}}var g="number"==typeof(i=i||0);return r.left+=g?i:i.left||0,r.top+=g?i:i.top||0,r.right-=g?i:i.right||0,r.bottom-=g?i:i.bottom||0,r}function E(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var o=L(i,n,r,a),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(s).map(function(t){return S({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),d=c.length>0?c[0].key:l[0].key,u=t.split("-")[1];return d+(u?"-"+u:"")}function A(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return T(i,n?D(e):m(e,i),n)}function P(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function Y(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function O(t,e,i){i=i.split("-")[0];var n=P(t),a={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),o=r?"top":"left",s=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return a[o]=e[o]+e[l]/2-n[l]/2,a[s]=i===s?e[s]-n[c]:e[Y(s)],a}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function H(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=I(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&s(i)&&(e.offsets.popper=M(e.offsets.popper),e.offsets.reference=M(e.offsets.reference),e=i(e,t))}),e}function R(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function N(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var a=e[n],r=a?""+a+i:t;if(void 0!==document.body.style[r])return r}return null}function j(t){var e=t.ownerDocument;return e?e.defaultView:window}function F(t,e,i,n){i.updateBound=n,j(t).addEventListener("resize",i.updateBound,{passive:!0});var a=d(t);return function t(e,i,n,a){var r="BODY"===e.nodeName,o=r?e.ownerDocument.defaultView:e;o.addEventListener(i,n,{passive:!0}),r||t(d(o.parentNode),i,n,a),a.push(o)}(a,"scroll",i.updateBound,i.scrollParents),i.scrollElement=a,i.eventsEnabled=!0,i}function z(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,j(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function W(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function B(t,e){Object.keys(e).forEach(function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&W(e[i])&&(n="px"),t.style[i]=e[i]+n})}var V=i&&/Firefox/i.test(navigator.userAgent);function $(t,e,i){var n=I(t,function(t){return t.name===e}),a=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!a){var r="`"+e+"`",o="`"+i+"`";console.warn(o+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return a}var X=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],q=X.slice(3);function U(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=q.indexOf(t),n=q.slice(i+1).concat(q.slice(0,i));return e?n.reverse():n}var G={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Z(t,e,i,n){var a=[0,0],r=-1!==["right","left"].indexOf(n),o=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=o.indexOf(I(o,function(t){return-1!==t.search(/,|\s/)}));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return(c=c.map(function(t,n){var a=(1===n?!r:r)?"height":"width",o=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,n){var a=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+a[1],o=a[2];if(!r)return t;if(0===o.indexOf("%")){var s=void 0;switch(o){case"%p":s=i;break;case"%":case"%r":default:s=n}return M(s)[e]/100*r}if("vh"===o||"vw"===o)return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,a,e,i)})})).forEach(function(t,e){t.forEach(function(i,n){W(i)&&(a[e]+=i*("-"===t[n-1]?-1:1))})}),a}var J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var a=t.offsets,r=a.reference,o=a.popper,s=-1!==["bottom","top"].indexOf(i),l=s?"left":"top",c=s?"width":"height",d={start:k({},l,r[l]),end:k({},l,r[l]+r[c]-o[c])};t.offsets.popper=S({},o,d[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,a=t.offsets,r=a.popper,o=a.reference,s=n.split("-")[0],l=void 0;return l=W(+i)?[+i,0]:Z(i,r,o,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||f(t.instance.popper);t.instance.reference===i&&(i=f(i));var n=N("transform"),a=t.instance.popper.style,r=a.top,o=a.left,s=a[n];a.top="",a.left="",a[n]="";var l=L(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);a.top=r,a.left=o,a[n]=s,e.boundaries=l;var c=e.priority,d=t.offsets.popper,u={primary:function(t){var i=d[t];return d[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(d[t],l[t])),k({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=d[i];return d[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(d[i],l[t]-("right"===t?d.width:d.height))),k({},i,n)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";d=S({},d,u[e](t))}),t.offsets.popper=d,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,a=t.placement.split("-")[0],r=Math.floor,o=-1!==["top","bottom"].indexOf(a),s=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return i[s]<r(n[l])&&(t.offsets.popper[l]=r(n[l])-i[c]),i[l]>r(n[s])&&(t.offsets.popper[l]=r(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!$(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var a=t.placement.split("-")[0],r=t.offsets,o=r.popper,s=r.reference,c=-1!==["left","right"].indexOf(a),d=c?"height":"width",u=c?"Top":"Left",h=u.toLowerCase(),p=c?"left":"top",f=c?"bottom":"right",g=P(n)[d];s[f]-g<o[h]&&(t.offsets.popper[h]-=o[h]-(s[f]-g)),s[h]+g>o[f]&&(t.offsets.popper[h]+=s[h]+g-o[f]),t.offsets.popper=M(t.offsets.popper);var m=s[h]+s[d]/2-g/2,v=l(t.instance.popper),y=parseFloat(v["margin"+u],10),b=parseFloat(v["border"+u+"Width"],10),w=m-t.offsets.popper[h]-y-b;return w=Math.max(Math.min(o[d]-g,w),0),t.arrowElement=n,t.offsets.arrow=(k(i={},h,Math.round(w)),k(i,p,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(R(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=L(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],a=Y(n),r=t.placement.split("-")[1]||"",o=[];switch(e.behavior){case G.FLIP:o=[n,a];break;case G.CLOCKWISE:o=U(n);break;case G.COUNTERCLOCKWISE:o=U(n,!0);break;default:o=e.behavior}return o.forEach(function(s,l){if(n!==s||o.length===l+1)return t;n=t.placement.split("-")[0],a=Y(n);var c=t.offsets.popper,d=t.offsets.reference,u=Math.floor,h="left"===n&&u(c.right)>u(d.left)||"right"===n&&u(c.left)<u(d.right)||"top"===n&&u(c.bottom)>u(d.top)||"bottom"===n&&u(c.top)<u(d.bottom),p=u(c.left)<u(i.left),f=u(c.right)>u(i.right),g=u(c.top)<u(i.top),m=u(c.bottom)>u(i.bottom),v="left"===n&&p||"right"===n&&f||"top"===n&&g||"bottom"===n&&m,y=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(y&&"start"===r&&p||y&&"end"===r&&f||!y&&"start"===r&&g||!y&&"end"===r&&m);(h||v||b)&&(t.flipped=!0,(h||v)&&(n=o[l+1]),b&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=n+(r?"-"+r:""),t.offsets.popper=S({},t.offsets.popper,O(t.instance.popper,t.offsets.reference,t.placement)),t=H(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,a=n.popper,r=n.reference,o=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return a[o?"left":"top"]=r[i]-(s?a[o?"width":"height"]:0),t.placement=Y(e),t.offsets.popper=M(a),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=I(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,a=t.offsets.popper,r=I(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=void 0!==r?r:e.gpuAcceleration,s=f(t.instance.popper),l=C(s),c={position:a.position},d=function(t,e){var i=t.offsets,n=i.popper,a=i.reference,r=-1!==["left","right"].indexOf(t.placement),o=-1!==t.placement.indexOf("-"),s=a.width%2==n.width%2,l=a.width%2==1&&n.width%2==1,c=function(t){return t},d=e?r||o||s?Math.round:Math.floor:c,u=e?Math.round:c;return{left:d(l&&!o&&e?n.left-1:n.left),top:u(n.top),bottom:u(n.bottom),right:d(n.right)}}(t,window.devicePixelRatio<2||!V),u="bottom"===i?"top":"bottom",h="right"===n?"left":"right",p=N("transform"),g=void 0,m=void 0;if(m="bottom"===u?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.height+d.bottom:d.top,g="right"===h?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,o&&p)c[p]="translate3d("+g+"px, "+m+"px, 0)",c[u]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===u?-1:1,y="right"===h?-1:1;c[u]=m*v,c[h]=g*y,c.willChange=u+", "+h}var b={"x-placement":t.placement};return t.attributes=S({},b,t.attributes),t.styles=S({},c,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return B(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEach(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&B(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,a){var r=A(a,e,t,i.positionFixed),o=E(i.placement,r,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",o),B(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},K=function(){function t(e,i){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=o(this.update.bind(this)),this.options=S({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,a.modifiers)).forEach(function(e){n.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return S({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return _(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=E(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=O(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=H(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,R(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[N("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return z.call(this)}}]),t}();K.Utils=("undefined"!=typeof window?window:t).PopperUtils,K.placements=X,K.Defaults=J,e.default=K}.call(this,i(162))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){
/*!
* metismenu https://github.com/onokumus/metismenu#readme
* A jQuery menu plugin
* @version 3.0.3
* @author Osman Nuri Okumus <onokumus@gmail.com> (https://github.com/onokumus)
* @license: MIT 
*/
t.exports=function(t){"use strict";function e(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function i(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),a.forEach(function(i){e(t,i,n[i])})}return t}var n=function(t){var e="transitionend",i={TRANSITION_END:"mmTransitionEnd",triggerTransitionEnd:function(i){t(i).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)}};function n(e){var n=this,a=!1;return t(this).one(i.TRANSITION_END,function(){a=!0}),setTimeout(function(){a||i.triggerTransitionEnd(n)},e),this}return t.fn.mmEmulateTransitionEnd=n,t.event.special[i.TRANSITION_END]={bindType:e,delegateType:e,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},i}(t=t&&t.hasOwnProperty("default")?t.default:t),a="metisMenu",r=t.fn[a],o={toggle:!0,preventDefault:!0,triggerElement:"a",parentTrigger:"li",subMenu:"ul"},s={SHOW:"show.metisMenu",SHOWN:"shown.metisMenu",HIDE:"hide.metisMenu",HIDDEN:"hidden.metisMenu",CLICK_DATA_API:"click.metisMenu.data-api"},l={METIS:"metismenu",ACTIVE:"mm-active",SHOW:"mm-show",COLLAPSE:"mm-collapse",COLLAPSING:"mm-collapsing",COLLAPSED:"mm-collapsed"},c=function(){function e(t,e){this.element=t,this.config=i({},o,e),this.transitioning=null,this.init()}var a=e.prototype;return a.init=function(){var e=this,i=this.config;t(this.element).addClass(l.METIS),t(this.element).find(i.parentTrigger+"."+l.ACTIVE).children(i.triggerElement).attr("aria-expanded","true"),t(this.element).find(i.parentTrigger+"."+l.ACTIVE).parents(i.parentTrigger).addClass(l.ACTIVE),t(this.element).find(i.parentTrigger+"."+l.ACTIVE).parents(i.parentTrigger).children(i.triggerElement).attr("aria-expanded","true"),t(this.element).find(i.parentTrigger+"."+l.ACTIVE).has(i.subMenu).children(i.subMenu).addClass(l.COLLAPSE+" "+l.SHOW),t(this.element).find(i.parentTrigger).not("."+l.ACTIVE).has(i.subMenu).children(i.subMenu).addClass(l.COLLAPSE),t(this.element).find(i.parentTrigger).has(i.subMenu).children(i.triggerElement).on(s.CLICK_DATA_API,function(n){var a=t(this),r=a.parent(i.parentTrigger),o=r.siblings(i.parentTrigger).children(i.triggerElement),s=r.children(i.subMenu);i.preventDefault&&n.preventDefault(),"true"!==a.attr("aria-disabled")&&(r.hasClass(l.ACTIVE)?(a.attr("aria-expanded","false"),e.hide(s)):(e.show(s),a.attr("aria-expanded","true"),i.toggle&&o.attr("aria-expanded","false")),i.onTransitionStart&&i.onTransitionStart(n))})},a.show=function(e){var i=this;if(!this.transitioning&&!t(e).hasClass(l.COLLAPSING)){var a=t(e),r=t.Event(s.SHOW);if(a.trigger(r),!r.isDefaultPrevented()){if(a.parent(this.config.parentTrigger).addClass(l.ACTIVE),this.config.toggle){var o=a.parent(this.config.parentTrigger).siblings().children(this.config.subMenu+"."+l.SHOW);this.hide(o)}a.removeClass(l.COLLAPSE).addClass(l.COLLAPSING).height(0),this.setTransitioning(!0),a.height(e[0].scrollHeight).one(n.TRANSITION_END,function(){i.config&&i.element&&(a.removeClass(l.COLLAPSING).addClass(l.COLLAPSE+" "+l.SHOW).height(""),i.setTransitioning(!1),a.trigger(s.SHOWN))}).mmEmulateTransitionEnd(350)}}},a.hide=function(e){var i=this;if(!this.transitioning&&t(e).hasClass(l.SHOW)){var a=t(e),r=t.Event(s.HIDE);if(a.trigger(r),!r.isDefaultPrevented()){a.parent(this.config.parentTrigger).removeClass(l.ACTIVE),a.height(a.height())[0].offsetHeight,a.addClass(l.COLLAPSING).removeClass(l.COLLAPSE).removeClass(l.SHOW),this.setTransitioning(!0);var o=function(){i.config&&i.element&&(i.transitioning&&i.config.onTransitionEnd&&i.config.onTransitionEnd(),i.setTransitioning(!1),a.trigger(s.HIDDEN),a.removeClass(l.COLLAPSING).addClass(l.COLLAPSE))};0===a.height()||"none"===a.css("display")?o():a.height(0).one(n.TRANSITION_END,o).mmEmulateTransitionEnd(350)}}},a.setTransitioning=function(t){this.transitioning=t},a.dispose=function(){t.removeData(this.element,"metisMenu"),t(this.element).find(this.config.parentTrigger).has(this.config.subMenu).children(this.config.triggerElement).off("click"),this.transitioning=null,this.config=null,this.element=null},e.jQueryInterface=function(n){return this.each(function(){var a=t(this),r=a.data("metisMenu"),s=i({},o,a.data(),"object"==typeof n&&n?n:{});if(r||(r=new e(this,s),a.data("metisMenu",r)),"string"==typeof n){if(void 0===r[n])throw new Error('No method named "'+n+'"');r[n]()}})},e}();return t.fn[a]=c.jQueryInterface,t.fn[a].Constructor=c,t.fn[a].noConflict=function(){return t.fn[a]=r,c.jQueryInterface},c}(i(0))},function(t,e,i){(function(t){t(document).ready(function(){t(".btn-open-options").click(function(){t(".ui-theme-settings").toggleClass("settings-open")}),t(".close-sidebar-btn").click(function(){var e=t(this).attr("data-class");t(".app-container").toggleClass(e);var i=t(this);i.hasClass("is-active")?i.removeClass("is-active"):i.addClass("is-active")}),t(".switch-container-class").on("click",function(){var e=t(this).attr("data-class");t(".app-container").toggleClass(e),t(this).parent().find(".switch-container-class").removeClass("active"),t(this).addClass("active")}),t(".switch-theme-class").on("click",function(){var e=t(this).attr("data-class");"app-theme-white"==e&&(t(".app-container").removeClass("app-theme-gray"),t(".app-container").addClass(e)),"app-theme-gray"==e&&(t(".app-container").removeClass("app-theme-white"),t(".app-container").addClass(e)),"body-tabs-line"==e&&(t(".app-container").removeClass("body-tabs-shadow"),t(".app-container").addClass(e)),"body-tabs-shadow"==e&&(t(".app-container").removeClass("body-tabs-line"),t(".app-container").addClass(e)),t(this).parent().find(".switch-theme-class").removeClass("active"),t(this).addClass("active")}),t(".switch-header-cs-class").on("click",function(){var e=t(this).attr("data-class");t(".switch-header-cs-class").removeClass("active"),t(this).addClass("active"),t(".app-header").attr("class","app-header"),t(".app-header").addClass("header-shadow "+e)}),t(".switch-sidebar-cs-class").on("click",function(){var e=t(this).attr("data-class");t(".switch-sidebar-cs-class").removeClass("active"),t(this).addClass("active"),t(".app-sidebar").attr("class","app-sidebar"),t(".app-sidebar").addClass("sidebar-shadow "+e)})})}).call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){var e=i(157);t(document).ready(function(){e.a(".ladda-button",{timeout:2e3})})}.call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(167);t(document).ready(function(){t.blockUI.defaults={timeout:2e3,fadeIn:200,fadeOut:400},t(".block-page-btn-example-1").click(function(){t.blockUI({message:t(".body-block-example-1")})}),t(".block-page-btn-example-2").click(function(){t.blockUI({message:t(".body-block-example-2")})}),t(".block-page-btn-example-3").click(function(){t.blockUI({message:t(".body-block-example-3")})}),t(".block-element-btn-example-1").click(function(){t(".element-block-example").block({message:t('<div class="loader mx-auto">\n                            <div class="ball-grid-pulse">\n                                <div class="bg-white"></div>\n                                <div class="bg-white"></div>\n                                <div class="bg-white"></div>\n                                <div class="bg-white"></div>\n                                <div class="bg-white"></div>\n                                <div class="bg-white"></div>\n                                <div class="bg-white"></div>\n                                <div class="bg-white"></div>\n                                <div class="bg-white"></div>\n                            </div>\n                        </div>')})}),t(".block-element-btn-example-2").click(function(){t(".element-block-example").block({message:t('<div class="loader mx-auto">\n                            <div class="line-scale-pulse-out">\n                                <div class="bg-success"></div>\n                                <div class="bg-success"></div>\n                                <div class="bg-success"></div>\n                                <div class="bg-success"></div>\n                                <div class="bg-success"></div>\n                            </div>\n                        </div>')})}),t(".block-element-btn-example-3").click(function(){t(".element-block-example").block({message:t('<div class="loader mx-auto">\n                            <div class="ball-pulse-sync">\n                                <div class="bg-warning"></div>\n                                <div class="bg-warning"></div>\n                                <div class="bg-warning"></div>\n                            </div>\n                        </div>')})})})}.call(this,i(0))},function(t,e,i){var n,a,r;
/*!
 * jQuery blockUI plugin
 * Version 2.70.0-2014.11.23
 * Requires jQuery v1.7 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2013 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */!function(){"use strict";a=[i(0)],void 0===(r="function"==typeof(n=function(t){t.fn._fadeIn=t.fn.fadeIn;var e=t.noop||function(){},i=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),a=(document.documentMode,t.isFunction(document.createElement("div").style.setExpression));t.blockUI=function(t){s(window,t)},t.unblockUI=function(t){l(window,t)},t.growlUI=function(e,i,n,a){var r=t('<div class="growlUI"></div>');e&&r.append("<h1>"+e+"</h1>"),i&&r.append("<h2>"+i+"</h2>"),void 0===n&&(n=3e3);var o=function(e){e=e||{},t.blockUI({message:r,fadeIn:void 0!==e.fadeIn?e.fadeIn:700,fadeOut:void 0!==e.fadeOut?e.fadeOut:1e3,timeout:void 0!==e.timeout?e.timeout:n,centerY:!1,showOverlay:!1,onUnblock:a,css:t.blockUI.defaults.growlCSS})};o(),r.css("opacity"),r.mouseover(function(){o({fadeIn:0,timeout:3e4});var e=t(".blockMsg");e.stop(),e.fadeTo(300,1)}).mouseout(function(){t(".blockMsg").fadeOut(1e3)})},t.fn.block=function(e){if(this[0]===window)return t.blockUI(e),this;var i=t.extend({},t.blockUI.defaults,e||{});return this.each(function(){var e=t(this);i.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==t.css(this,"position")&&(this.style.position="relative",t(this).data("blockUI.static",!0)),this.style.zoom=1,s(this,e)})},t.fn.unblock=function(e){return this[0]===window?(t.unblockUI(e),this):this.each(function(){l(this,e)})},t.blockUI.version=2.7,t.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var r=null,o=[];function s(s,c){var u,f,g=s==window,m=c&&void 0!==c.message?c.message:void 0;if(!(c=t.extend({},t.blockUI.defaults,c||{})).ignoreIfBlocked||!t(s).data("blockUI.isBlocked")){if(c.overlayCSS=t.extend({},t.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=t.extend({},t.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),f=t.extend({},t.blockUI.defaults.themedCSS,c.themedCSS||{}),m=void 0===m?c.message:m,g&&r&&l(window,{fadeOut:0}),m&&"string"!=typeof m&&(m.parentNode||m.jquery)){var v=m.jquery?m[0]:m,y={};t(s).data("blockUI.history",y),y.el=v,y.parent=v.parentNode,y.display=v.style.display,y.position=v.style.position,y.parent&&y.parent.removeChild(v)}t(s).data("blockUI.onUnblock",c.onUnblock);var b,w,x,_,k=c.baseZ;b=i||c.forceIframe?t('<iframe class="blockUI" style="z-index:'+k+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):t('<div class="blockUI" style="display:none"></div>'),w=c.theme?t('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+k+++';display:none"></div>'):t('<div class="blockUI blockOverlay" style="z-index:'+k+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&g?(_='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(k+10)+';display:none;position:fixed">',c.title&&(_+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),_+='<div class="ui-widget-content ui-dialog-content"></div>',_+="</div>"):c.theme?(_='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(k+10)+';display:none;position:absolute">',c.title&&(_+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),_+='<div class="ui-widget-content ui-dialog-content"></div>',_+="</div>"):_=g?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(k+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(k+10)+';display:none;position:absolute"></div>',x=t(_),m&&(c.theme?(x.css(f),x.addClass("ui-widget-content")):x.css(u)),c.theme||w.css(c.overlayCSS),w.css("position",g?"fixed":"absolute"),(i||c.forceIframe)&&b.css("opacity",0);var S=[b,w,x],M=t(g?"body":s);t.each(S,function(){this.appendTo(M)}),c.theme&&c.draggable&&t.fn.draggable&&x.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var C=a&&(!t.support.boxModel||t("object,embed",g?null:s).length>0);if(n||C){if(g&&c.allowBodyStretch&&t.support.boxModel&&t("html,body").css("height","100%"),(n||!t.support.boxModel)&&!g)var T=p(s,"borderTopWidth"),D=p(s,"borderLeftWidth"),L=T?"(0 - "+T+")":0,E=D?"(0 - "+D+")":0;t.each(S,function(t,e){var i=e[0].style;if(i.position="absolute",t<2)g?i.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):i.setExpression("height",'this.parentNode.offsetHeight + "px"'),g?i.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):i.setExpression("width",'this.parentNode.offsetWidth + "px"'),E&&i.setExpression("left",E),L&&i.setExpression("top",L);else if(c.centerY)g&&i.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),i.marginTop=0;else if(!c.centerY&&g){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';i.setExpression("top",n)}})}if(m&&(c.theme?x.find(".ui-widget-content").append(m):x.append(m),(m.jquery||m.nodeType)&&t(m).show()),(i||c.forceIframe)&&c.showOverlay&&b.show(),c.fadeIn){var A=c.onBlock?c.onBlock:e,P=c.showOverlay&&!m?A:e,Y=m?A:e;c.showOverlay&&w._fadeIn(c.fadeIn,P),m&&x._fadeIn(c.fadeIn,Y)}else c.showOverlay&&w.show(),m&&x.show(),c.onBlock&&c.onBlock.bind(x)();if(d(1,s,c),g?(r=x[0],o=t(c.focusableElements,r),c.focusInput&&setTimeout(h,20)):function(t,e,i){var n=t.parentNode,a=t.style,r=(n.offsetWidth-t.offsetWidth)/2-p(n,"borderLeftWidth"),o=(n.offsetHeight-t.offsetHeight)/2-p(n,"borderTopWidth");e&&(a.left=r>0?r+"px":"0"),i&&(a.top=o>0?o+"px":"0")}(x[0],c.centerX,c.centerY),c.timeout){var O=setTimeout(function(){g?t.unblockUI(c):t(s).unblock(c)},c.timeout);t(s).data("blockUI.timeout",O)}}}function l(e,i){var n,a,s=e==window,l=t(e),u=l.data("blockUI.history"),h=l.data("blockUI.timeout");h&&(clearTimeout(h),l.removeData("blockUI.timeout")),i=t.extend({},t.blockUI.defaults,i||{}),d(0,e,i),null===i.onUnblock&&(i.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),a=s?t("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),i.cursorReset&&(a.length>1&&(a[1].style.cursor=i.cursorReset),a.length>2&&(a[2].style.cursor=i.cursorReset)),s&&(r=o=null),i.fadeOut?(n=a.length,a.stop().fadeOut(i.fadeOut,function(){0==--n&&c(a,u,i,e)})):c(a,u,i,e)}function c(e,i,n,a){var r=t(a);if(!r.data("blockUI.isBlocked")){e.each(function(t,e){this.parentNode&&this.parentNode.removeChild(this)}),i&&i.el&&(i.el.style.display=i.display,i.el.style.position=i.position,i.el.style.cursor="default",i.parent&&i.parent.appendChild(i.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(a,n);var o=t(document.body),s=o.width(),l=o[0].style.width;o.width(s-1).width(s),o[0].style.width=l}}function d(e,i,n){var a=i==window,o=t(i);if((e||(!a||r)&&(a||o.data("blockUI.isBlocked")))&&(o.data("blockUI.isBlocked",e),a&&n.bindEvents&&(!e||n.showOverlay))){var s="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";e?t(document).bind(s,n,u):t(document).unbind(s,u)}}function u(e){if("keydown"===e.type&&e.keyCode&&9==e.keyCode&&r&&e.data.constrainTabKey){var i=o,n=!e.shiftKey&&e.target===i[i.length-1],a=e.shiftKey&&e.target===i[0];if(n||a)return setTimeout(function(){h(a)},10),!1}var s=e.data,l=t(e.target);return l.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(e),l.parents("div."+s.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function h(t){if(o){var e=o[!0===t?o.length-1:0];e&&e.focus()}}function p(e,i){return parseInt(t.css(e,i),10)||0}})?n.apply(e,a):n)||(t.exports=r)}()},function(t,e,i){"use strict";i.r(e),function(t){i(169);t(document).ready(function(){t(".circle-progress-primary").circleProgress({value:.64,size:52,lineCap:"round",fill:{color:"#3f6ad8"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-success").circleProgress({value:.81,size:52,lineCap:"round",fill:{color:"#3ac47d"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-danger").circleProgress({value:.23,size:52,lineCap:"round",fill:{color:"#d92550"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-info").circleProgress({value:.69,size:52,lineCap:"round",fill:{color:"#16aaff"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-alternate").circleProgress({value:.69,size:52,lineCap:"round",fill:{color:"#6f42c1"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-dark").circleProgress({value:.69,size:52,lineCap:"round",fill:{color:"#6c757d"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-warning").circleProgress({value:.23,size:52,lineCap:"round",fill:{color:"#fd7e14"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-success-xl").circleProgress({value:.16,size:114,lineCap:"round",fill:{color:"#3ac47d"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html('<span class="fsize-2">'+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-gradient-xl").circleProgress({value:.51,size:114,lineCap:"round",fill:{gradient:["#fdb83a","#fd7e14"]}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html('<span class="fsize-2">'+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-danger-xl").circleProgress({value:.51,size:114,lineCap:"round",fill:{gradient:["#ff1e41","#ff8130"]}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html('<span class="fsize-2">'+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-gradient").circleProgress({value:.72,size:52,lineCap:"round",fill:{gradient:["#ff1e41","#ff8130"]}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-gradient-lg").circleProgress({value:.64,size:64,lineCap:"round",fill:{gradient:["#ff1e41","#ff8130"]}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-gradient-alt-lg").circleProgress({value:.58,size:64,lineCap:"round",fill:{gradient:["#007bff","#16aaff"]}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"%<span>")}),t(".circle-progress-gradient-alt-sm").circleProgress({value:.58,size:46,lineCap:"round",fill:{gradient:["#007bff","#16aaff"]}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"<span>")}),t(".circle-progress-danger-sm").circleProgress({value:.62,size:46,lineCap:"round",fill:{color:"#d92550"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"<span>")}),t(".circle-progress-warning-sm").circleProgress({value:.72,size:46,lineCap:"round",fill:{color:"#fd7e14"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"<span>")}),t(".circle-progress-success-sm").circleProgress({value:.81,size:46,lineCap:"round",fill:{color:"#3ac47d"}}).on("circle-animation-progress",function(e,i,n){t(this).find("small").html("<span>"+n.toFixed(2).substr(2)+"<span>")})})}.call(this,i(0))},function(t,e,i){var n,a,r;
/**
 * jquery-circle-progress - jQuery Plugin to draw animated circular progress bars:
 * {@link http://kottenator.github.io/jquery-circle-progress/}
 *
 * @author Rostyslav Bryzgunov <kottenator@gmail.com>
 * @version 1.2.2
 * @licence MIT
 * @preserve
 */a=[i(0)],void 0===(r="function"==typeof(n=function(t){function e(t){this.init(t)}e.prototype={value:0,size:100,startAngle:-Math.PI,thickness:"auto",fill:{gradient:["#3aeabb","#fdd250"]},emptyFill:"rgba(0, 0, 0, .1)",animation:{duration:1200,easing:"circleProgressEasing"},animationStartValue:0,reverse:!1,lineCap:"butt",insertMode:"prepend",constructor:e,el:null,canvas:null,ctx:null,radius:0,arcFill:null,lastFrameValue:0,init:function(e){t.extend(this,e),this.radius=this.size/2,this.initWidget(),this.initFill(),this.draw(),this.el.trigger("circle-inited")},initWidget:function(){this.canvas||(this.canvas=t("<canvas>")["prepend"==this.insertMode?"prependTo":"appendTo"](this.el)[0]);var e=this.canvas;if(e.width=this.size,e.height=this.size,this.ctx=e.getContext("2d"),window.devicePixelRatio>1){var i=window.devicePixelRatio;e.style.width=e.style.height=this.size+"px",e.width=e.height=this.size*i,this.ctx.scale(i,i)}},initFill:function(){var e,i=this,n=this.fill,a=this.ctx,r=this.size;if(!n)throw Error("The fill is not specified!");if("string"==typeof n&&(n={color:n}),n.color&&(this.arcFill=n.color),n.gradient){var o=n.gradient;if(1==o.length)this.arcFill=o[0];else if(o.length>1){for(var s=n.gradientAngle||0,l=n.gradientDirection||[r/2*(1-Math.cos(s)),r/2*(1+Math.sin(s)),r/2*(1+Math.cos(s)),r/2*(1-Math.sin(s))],c=a.createLinearGradient.apply(a,l),d=0;d<o.length;d++){var u=o[d],h=d/(o.length-1);t.isArray(u)&&(h=u[1],u=u[0]),c.addColorStop(h,u)}this.arcFill=c}}function p(){var n=t("<canvas>")[0];n.width=i.size,n.height=i.size,n.getContext("2d").drawImage(e,0,0,r,r),i.arcFill=i.ctx.createPattern(n,"no-repeat"),i.drawFrame(i.lastFrameValue)}n.image&&(n.image instanceof Image?e=n.image:(e=new Image).src=n.image,e.complete?p():e.onload=p)},draw:function(){this.animation?this.drawAnimated(this.value):this.drawFrame(this.value)},drawFrame:function(t){this.lastFrameValue=t,this.ctx.clearRect(0,0,this.size,this.size),this.drawEmptyArc(t),this.drawArc(t)},drawArc:function(t){if(0!==t){var e=this.ctx,i=this.radius,n=this.getThickness(),a=this.startAngle;e.save(),e.beginPath(),this.reverse?e.arc(i,i,i-n/2,a-2*Math.PI*t,a):e.arc(i,i,i-n/2,a,a+2*Math.PI*t),e.lineWidth=n,e.lineCap=this.lineCap,e.strokeStyle=this.arcFill,e.stroke(),e.restore()}},drawEmptyArc:function(t){var e=this.ctx,i=this.radius,n=this.getThickness(),a=this.startAngle;t<1&&(e.save(),e.beginPath(),t<=0?e.arc(i,i,i-n/2,0,2*Math.PI):this.reverse?e.arc(i,i,i-n/2,a,a-2*Math.PI*t):e.arc(i,i,i-n/2,a+2*Math.PI*t,a),e.lineWidth=n,e.strokeStyle=this.emptyFill,e.stroke(),e.restore())},drawAnimated:function(e){var i=this,n=this.el,a=t(this.canvas);a.stop(!0,!1),n.trigger("circle-animation-start"),a.css({animationProgress:0}).animate({animationProgress:1},t.extend({},this.animation,{step:function(t){var a=i.animationStartValue*(1-t)+e*t;i.drawFrame(a),n.trigger("circle-animation-progress",[t,a])}})).promise().always(function(){n.trigger("circle-animation-end")})},getThickness:function(){return t.isNumeric(this.thickness)?this.thickness:this.size/14},getValue:function(){return this.value},setValue:function(t){this.animation&&(this.animationStartValue=this.lastFrameValue),this.value=t,this.draw()}},t.circleProgress={defaults:e.prototype},t.easing.circleProgressEasing=function(t){return t<.5?.5*(t*=2)*t*t:1-.5*(t=2-2*t)*t*t},t.fn.circleProgress=function(i,n){var a="circle-progress",r=this.data(a);if("widget"==i){if(!r)throw Error('Calling "widget" method on not initialized instance is forbidden');return r.canvas}if("value"==i){if(!r)throw Error('Calling "value" method on not initialized instance is forbidden');if(void 0===n)return r.getValue();var o=arguments[1];return this.each(function(){t(this).data(a).setValue(o)})}return this.each(function(){var n=t(this),r=n.data(a),o=t.isPlainObject(i)?i:{};if(r)r.init(o);else{var s=t.extend({},n.data());"string"==typeof s.fill&&(s.fill=JSON.parse(s.fill)),"string"==typeof s.animation&&(s.animation=JSON.parse(s.animation)),(o=t.extend(s,o)).el=n,r=new e(o),n.data(a,r)}})}})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";i.r(e),function(t){var e=i(15),n=i.n(e);t(document).ready(function(){var e={useEasing:!0,separator:",",decimal:".",prefix:"$"},i={useEasing:!0,separator:",",decimal:".",prefix:"",suffix:"k"},a={useEasing:!0,separator:",",decimal:".",prefix:"",suffix:" %"},r={useEasing:!0,separator:",",decimal:".",prefix:"",suffix:" "},o=c(0,983),s=c(0,97),l=c(0,187);function c(t,e){return Math.floor(Math.random()*(e-t+1)+t)}t(".count-up-wrapper").each(function(){var i=new n.a(t(this)[0],0,o,0,8,e);i.error||i.start()}),t(".count-up-wrapper-2").each(function(){var e=new n.a(t(this)[0],0,s,0,15,i);e.error||e.start()}),t(".count-up-wrapper-3").each(function(){var e=new n.a(t(this)[0],0,l,0,12,a);e.error||e.start()}),t(".count-up-wrapper-4").each(function(){var e=new n.a(t(this)[0],0,o,0,12,r);e.error||e.start()})})}.call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){var e=i(5),n=i.n(e);t(document).ready(function(){t(function(){var e,i=-1,a=0;t("#closeButton").click(function(){t(this).is(":checked")?t("#addBehaviorOnToastCloseClick").prop("disabled",!1):(t("#addBehaviorOnToastCloseClick").prop("disabled",!0),t("#addBehaviorOnToastCloseClick").prop("checked",!1))}),t("#showtoast").click(function(){var r,o=t("#toastTypeGroup input:radio:checked").val(),s=t("#message").val(),l=t("#title").val()||"",c=t("#showDuration"),d=t("#hideDuration"),u=t("#timeOut"),h=t("#extendedTimeOut"),p=t("#showEasing"),f=t("#hideEasing"),g=t("#showMethod"),m=t("#hideMethod"),v=a++,y=t("#addClear").prop("checked");n.a.options={closeButton:t("#closeButton").prop("checked"),debug:t("#debugInfo").prop("checked"),newestOnTop:t("#newestOnTop").prop("checked"),progressBar:t("#progressBar").prop("checked"),rtl:t("#rtl").prop("checked"),positionClass:t("#positionGroup input:radio:checked").val()||"toast-top-right",preventDuplicates:t("#preventDuplicates").prop("checked"),onclick:null},t("#addBehaviorOnToastClick").prop("checked")&&(n.a.options.onclick=function(){alert("You can perform some custom action after a toast goes away")}),t("#addBehaviorOnToastCloseClick").prop("checked")&&(n.a.options.onCloseClick=function(){alert("You can perform some custom action when the close button is clicked")}),c.val().length&&(n.a.options.showDuration=parseInt(c.val())),d.val().length&&(n.a.options.hideDuration=parseInt(d.val())),u.val().length&&(n.a.options.timeOut=y?0:parseInt(u.val())),h.val().length&&(n.a.options.extendedTimeOut=y?0:parseInt(h.val())),p.val().length&&(n.a.options.showEasing=p.val()),f.val().length&&(n.a.options.hideEasing=f.val()),g.val().length&&(n.a.options.showMethod=g.val()),m.val().length&&(n.a.options.hideMethod=m.val()),y&&(s=function(t){return t=t||"Clear itself?",t+='<br /><br /><button type="button" class="btn clear">Yes</button>'}(s),n.a.options.tapToDismiss=!1),s||(++i===(r=["My name is Inigo Montoya. You killed my father. Prepare to die!",'<div><input class="input-small" value="textbox"/>&nbsp;<a href="http://johnpapa.net" target="_blank">This is a hyperlink</a></div><div><button type="button" id="okBtn" class="btn btn-primary">Close me</button><button type="button" id="surpriseBtn" class="btn" style="margin: 0 8px 0 8px">Surprise me</button></div>',"Are you the six fingered man?","Inconceivable!","I do not think that means what you think it means.","Have fun storming the castle!"]).length&&(i=0),s=r[i]),t("#toastrOptions").text('Command: toastr["'+o+'"]("'+s+(l?'", "'+l:"")+'")\n\ntoastr.options = '+JSON.stringify(n.a.options,null,2));var b=n.a[o](s,l);e=b,void 0!==b&&(b.find("#okBtn").length&&b.delegate("#okBtn","click",function(){alert("you clicked me. i was toast #"+v+". goodbye!"),b.remove()}),b.find("#surpriseBtn").length&&b.delegate("#surpriseBtn","click",function(){alert("Surprise! you clicked me. i was toast #"+v+". You could perform an action here.")}),b.find(".clear").length&&b.delegate(".clear","click",function(){n.a.clear(b,{force:!0})}))}),t("#clearlasttoast").click(function(){n.a.clear(e)}),t("#cleartoasts").click(function(){n.a.clear()})}),t(".show-toastr-example").click(function(){n.a.options={closeButton:!0,debug:!1,newestOnTop:!0,progressBar:!0,positionClass:"toast-bottom-center",preventDuplicates:!1,onclick:null,showDuration:"300",hideDuration:"1000",timeOut:"5000",extendedTimeOut:"1000",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut"},n.a.info("You don't have any new items in your calendar today!","Example Toastr")})})}.call(this,i(0))},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e,i){"use strict";i.r(e),function(t){var e=i(16),n=i.n(e);t(document).ready(function(){t(".btn-show-swal").each(function(){t(this).click(function(){var e=t(this).attr("data-type");n()({title:"Type: "+e,text:"Do you want to continue",type:e,confirmButtonText:"Cool"})})}),t(".btn-show-swal-basic").click(function(){n()({text:"The Internet?",title:"That thing is still around?",type:"question"})}),t(".btn-show-swal-basic-2").click(function(){n()({type:"error",title:"Oops...",text:"Something went wrong!",footer:"<a href>Why do I have this issue?</a>"})}),t(".btn-show-swal-basic-3").click(function(){n()({title:"Custom animation with Animate.css",animation:!1,customClass:"animated lightSpeedIn"})})})}.call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){var e=i(19);t(document).ready(function(){setTimeout(function(){if(t(".scrollbar-container")[0]){t(".scrollbar-container").each(function(){new e.a(t(this)[0],{wheelSpeed:2,wheelPropagation:!1,minScrollbarLength:20})});new e.a(".scrollbar-sidebar",{wheelSpeed:2,wheelPropagation:!0,minScrollbarLength:20})}},1e3)})}.call(this,i(0))},function(t,e,i){(function(t){t(document).ready(function(){})}).call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(177);t(document).ready(function(){setTimeout(function(){t(".slick-slider").slick({dots:!0,slidesToShow:1,slidesToScroll:1}),t(".slick-slider-3").slick({dots:!0,slidesToShow:1,slidesToScroll:1}),t(".slick-slider-2").slick({className:"center",centerMode:!0,infinite:!0,centerPadding:"60px",slidesToShow:3,speed:500,dots:!0}),t(".slick-slider-variable").slick({className:"slider variable-width",dots:!0,infinite:!0,centerMode:!0,slidesToShow:1,slidesToScroll:1,variableWidth:!0}),t(".slick-slider-responsive").slick({dots:!0,infinite:!1,speed:500,slidesToShow:4,slidesToScroll:4,initialSlide:0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2,initialSlide:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]}),t(".slick-slider-inverted").slick({infinite:!0,slidesToShow:1,speed:500,dots:!0,adaptiveHeight:!0})},2e3)})}.call(this,i(0))},function(t,e,i){var n,a,r;!function(o){"use strict";a=[i(0)],void 0===(r="function"==typeof(n=function(t){var e=window.Slick||{};(e=function(){var e=0;return function(i,n){var a,r=this;r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!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,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},r.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,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.focussed=!1,r.interrupted=!1,r.hidden="hidden",r.paused=!0,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=t(i),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,a=t(i).data("slick")||{},r.options=t.extend({},r.defaults,n,a),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,void 0!==document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange");r.autoPlay=t.proxy(r.autoPlay,r),r.autoPlayClear=t.proxy(r.autoPlayClear,r),r.autoPlayIterator=t.proxy(r.autoPlayIterator,r),r.changeSlide=t.proxy(r.changeSlide,r),r.clickHandler=t.proxy(r.clickHandler,r),r.selectHandler=t.proxy(r.selectHandler,r),r.setPosition=t.proxy(r.setPosition,r),r.swipeHandler=t.proxy(r.swipeHandler,r),r.dragHandler=t.proxy(r.dragHandler,r),r.keyHandler=t.proxy(r.keyHandler,r),r.instanceUid=e++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.registerBreakpoints(),r.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var a=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=a.slideCount)return!1;a.unload(),"number"==typeof i?0===i&&0===a.$slides.length?t(e).appendTo(a.$slideTrack):n?t(e).insertBefore(a.$slides.eq(i)):t(e).insertAfter(a.$slides.eq(i)):!0===n?t(e).prependTo(a.$slideTrack):t(e).appendTo(a.$slideTrack),a.$slides=a.$slideTrack.children(this.options.slide),a.$slideTrack.children(this.options.slide).detach(),a.$slideTrack.append(a.$slides),a.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),a.$slidesCache=a.$slides,a.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){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={},a=this;a.animateHeight(),!0===a.options.rtl&&!1===a.options.vertical&&(e=-e),!1===a.transformsEnabled?!1===a.options.vertical?a.$slideTrack.animate({left:e},a.options.speed,a.options.easing,i):a.$slideTrack.animate({top:e},a.options.speed,a.options.easing,i):!1===a.cssTransitions?(!0===a.options.rtl&&(a.currentLeft=-a.currentLeft),t({animStart:a.currentLeft}).animate({animStart:e},{duration:a.options.speed,easing:a.options.easing,step:function(t){t=Math.ceil(t),!1===a.options.vertical?(n[a.animType]="translate("+t+"px, 0px)",a.$slideTrack.css(n)):(n[a.animType]="translate(0px,"+t+"px)",a.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(a.applyTransition(),e=Math.ceil(e),!1===a.options.vertical?n[a.animType]="translate3d("+e+"px, 0px, 0px)":n[a.animType]="translate3d(0px,"+e+"px, 0px)",a.$slideTrack.css(n),i&&setTimeout(function(){a.disableTransition(),i.call()},a.options.speed))},e.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},e.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(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),!0!==e.options.infinite&&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(!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(n.options.dotsClass),e=0;e<=n.getDotCount();e+=1)i.append(t("<li />").append(n.options.customPaging.call(this,n,e)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},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.$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 class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(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),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,n,a,r,o,s=this;if(n=document.createDocumentFragment(),r=s.$slider.children(),s.options.rows>0){for(o=s.options.slidesPerRow*s.options.rows,a=Math.ceil(r.length/o),t=0;t<a;t++){var l=document.createElement("div");for(e=0;e<s.options.rows;e++){var c=document.createElement("div");for(i=0;i<s.options.slidesPerRow;i++){var d=t*o+(e*s.options.slidesPerRow+i);r.get(d)&&c.appendChild(r.get(d))}l.appendChild(c)}n.appendChild(l)}s.$slider.empty().append(n),s.$slider.children().children().children().css({width:100/s.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var n,a,r,o=this,s=!1,l=o.$slider.width(),c=window.innerWidth||t(window).width();if("window"===o.respondTo?r=c:"slider"===o.respondTo?r=l:"min"===o.respondTo&&(r=Math.min(c,l)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(n in a=null,o.breakpoints)o.breakpoints.hasOwnProperty(n)&&(!1===o.originalSettings.mobileFirst?r<o.breakpoints[n]&&(a=o.breakpoints[n]):r>o.breakpoints[n]&&(a=o.breakpoints[n]));null!==a?null!==o.activeBreakpoint?(a!==o.activeBreakpoint||i)&&(o.activeBreakpoint=a,"unslick"===o.breakpointSettings[a]?o.unslick(a):(o.options=t.extend({},o.originalSettings,o.breakpointSettings[a]),!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),s=a):(o.activeBreakpoint=a,"unslick"===o.breakpointSettings[a]?o.unslick(a):(o.options=t.extend({},o.originalSettings,o.breakpointSettings[a]),!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),s=a):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e),s=a),e||!1===s||o.$slider.trigger("breakpoint",[o,s])}},e.prototype.changeSlide=function(e,i){var n,a,r,o=this,s=t(e.currentTarget);switch(s.is("a")&&e.preventDefault(),s.is("li")||(s=s.closest("li")),r=o.slideCount%o.options.slidesToScroll!=0,n=r?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,e.data.message){case"previous":a=0===n?o.options.slidesToScroll:o.options.slidesToShow-n,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-a,!1,i);break;case"next":a=0===n?o.options.slidesToScroll:n,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+a,!1,i);break;case"index":var l=0===e.data.index?0:e.data.index||s.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(l),!1,i),s.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(e=this.getNavigableIndexes(),i=0,t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.slick",t.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),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.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&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)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>0&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(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.$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.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(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;!1===e.cssTransitions?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.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var n=t(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=n.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++n;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},e.prototype.getLeft=function(t){var e,i,n,a,r=this,o=0;return r.slideOffset=0,i=r.$slides.first().outerHeight(!0),!0===r.options.infinite?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,a=-1,!0===r.options.vertical&&!0===r.options.centerMode&&(2===r.options.slidesToShow?a=-1.5:1===r.options.slidesToShow&&(a=-2)),o=i*r.options.slidesToShow*a),r.slideCount%r.options.slidesToScroll!=0&&t+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(t>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(t-r.slideCount))*r.slideWidth*-1,o=(r.options.slidesToShow-(t-r.slideCount))*i*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,o=r.slideCount%r.options.slidesToScroll*i*-1))):t+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(t+r.options.slidesToShow-r.slideCount)*r.slideWidth,o=(t+r.options.slidesToShow-r.slideCount)*i),r.slideCount<=r.options.slidesToShow&&(r.slideOffset=0,o=0),!0===r.options.centerMode&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:!0===r.options.centerMode&&!0===r.options.infinite?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:!0===r.options.centerMode&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),e=!1===r.options.vertical?t*r.slideWidth*-1+r.slideOffset:t*i*-1+o,!0===r.options.variableWidth&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow),e=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===r.options.centerMode&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow+1),e=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(r.$list.width()-n.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,a=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)a.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return a},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(a,r){if(r.offsetLeft-i+t(r).outerWidth()/2>-1*n.swipeLeft)return e=r,!1}),Math.abs(t(e).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.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(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},e.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),n=e.getNavigableIndexes().filter(function(t){return t>=0&&t<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(i){var a=n.indexOf(i);if(t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1}),-1!==a){var r="slick-slide-control"+e.instanceUid+a;t("#"+r).length&&t(this).attr({"aria-describedby":r})}}),e.$dots.attr("role","tablist").find("li").each(function(a){var r=n[a];t(this).attr({role:"presentation"}),t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+a,"aria-controls":"slick-slide"+e.instanceUid+r,"aria-label":a+1+" of "+i,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var a=e.currentSlide,r=a+e.options.slidesToShow;a<r;a++)e.options.focusOnChange?e.$slides.eq(a).attr({tabindex:"0"}):e.$slides.eq(a).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),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)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&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(e.setPosition)},e.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){var e,i,n,a=this;function r(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),n=t(this).attr("data-srcset"),r=t(this).attr("data-sizes")||a.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){e.animate({opacity:0},100,function(){n&&(e.attr("srcset",n),r&&e.attr("sizes",r)),e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),a.$slider.trigger("lazyLoaded",[a,e,i])})},o.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,e,i])},o.src=i})}if(!0===a.options.centerMode?!0===a.options.infinite?(i=a.currentSlide+(a.options.slidesToShow/2+1),n=i+a.options.slidesToShow+2):(i=Math.max(0,a.currentSlide-(a.options.slidesToShow/2+1)),n=a.options.slidesToShow/2+1+2+a.currentSlide):(i=a.options.infinite?a.options.slidesToShow+a.currentSlide:a.currentSlide,n=Math.ceil(i+a.options.slidesToShow),!0===a.options.fade&&(i>0&&i--,n<=a.slideCount&&n++)),e=a.$slider.find(".slick-slide").slice(i,n),"anticipated"===a.options.lazyLoad)for(var o=i-1,s=n,l=a.$slider.find(".slick-slide"),c=0;c<a.options.slidesToScroll;c++)o<0&&(o=a.slideCount-1),e=(e=e.add(l.eq(o))).add(l.eq(s)),o--,s++;r(e),a.slideCount<=a.options.slidesToShow?r(a.$slider.find(".slick-slide")):a.currentSlide>=a.slideCount-a.options.slidesToShow?r(a.$slider.find(".slick-cloned").slice(0,a.options.slidesToShow)):0===a.currentSlide&&r(a.$slider.find(".slick-cloned").slice(-1*a.options.slidesToShow))},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(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(e){var i=this;if(!i.unslicked&&(i.$slider.trigger("afterChange",[i,e]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange))){var n=t(i.$slides.get(i.currentSlide));n.attr("tabindex",0).focus()}},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,n,a,r,o,s=this,l=t("img[data-lazy]",s.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),a=i.attr("data-srcset"),r=i.attr("data-sizes")||s.$slider.attr("data-sizes"),(o=document.createElement("img")).onload=function(){a&&(i.attr("srcset",a),r&&i.attr("sizes",r)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,i,n]),s.progressiveLazyLoad()},o.onerror=function(){e<3?setTimeout(function(){s.progressiveLazyLoad(e+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,i,n]),s.progressiveLazyLoad())},o.src=n):s.$slider.trigger("allImagesLoaded",[s])},e.prototype.refresh=function(e){var i,n,a=this;n=a.slideCount-a.options.slidesToShow,!a.options.infinite&&a.currentSlide>n&&(a.currentSlide=n),a.slideCount<=a.options.slidesToShow&&(a.currentSlide=0),i=a.currentSlide,a.destroy(!0),t.extend(a,a.initials,{currentSlide:i}),a.init(),e||a.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,n,a=this,r=a.options.responsive||null;if("array"===t.type(r)&&r.length){for(e in a.respondTo=a.options.respondTo||"window",r)if(n=a.breakpoints.length-1,r.hasOwnProperty(e)){for(i=r[e].breakpoint;n>=0;)a.breakpoints[n]&&a.breakpoints[n]===i&&a.breakpoints.splice(n,1),n--;a.breakpoints.push(i),a.breakpointSettings[i]=r[e].settings}a.breakpoints.sort(function(t,e){return a.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.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},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;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!1;n.unload(),!0===i?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,n.reinit()},e.prototype.setCSS=function(t){var e,i,n=this,a={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",a[n.positionProp]=t,!1===n.transformsEnabled?n.$slideTrack.css(a):(a={},!1===n.cssTransitions?(a[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(a)):(a[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(a)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?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();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(n,a){e=i.slideWidth*n*-1,!0===i.options.rtl?t(a).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}):t(a).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&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,i,n,a,r,o=this,s=!1;if("object"===t.type(arguments[0])?(n=arguments[0],s=arguments[1],r="multiple"):"string"===t.type(arguments[0])&&(n=arguments[0],a=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)o.options[n]=a;else if("multiple"===r)t.each(n,function(t,e){o.options[t]=e});else if("responsive"===r)for(i in a)if("array"!==t.type(o.options.responsive))o.options.responsive=[a[i]];else{for(e=o.options.responsive.length-1;e>=0;)o.options.responsive[e].breakpoint===a[i].breakpoint&&o.options.responsive.splice(e,1),e--;o.options.responsive.push(a[i])}s&&(o.unload(),o.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?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=!0===t.options.vertical?"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||!0===t.options.useCSS&&(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&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,n,a,r=this;if(i=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(t).addClass("slick-current"),!0===r.options.centerMode){var o=r.options.slidesToShow%2==0?1:0;e=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(t>=e&&t<=r.slideCount-1-e?r.$slides.slice(t-e+o,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=r.options.slidesToShow+t,i.slice(n-e+1+o,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-r.options.slidesToShow).addClass("slick-center"):t===r.slideCount-1&&i.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(t).addClass("slick-center")}else t>=0&&t<=r.slideCount-r.options.slidesToShow?r.$slides.slice(t,t+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=r.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(a=r.slideCount%r.options.slidesToShow,n=!0===r.options.infinite?r.options.slidesToShow+t:t,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-t<r.options.slidesToShow?i.slice(n-(r.options.slidesToShow-a),n+a).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,n,a=this;if(!0===a.options.fade&&(a.options.centerMode=!1),!0===a.options.infinite&&!1===a.options.fade&&(i=null,a.slideCount>a.options.slidesToShow)){for(n=!0===a.options.centerMode?a.options.slidesToShow+1:a.options.slidesToShow,e=a.slideCount;e>a.slideCount-n;e-=1)i=e-1,t(a.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-a.slideCount).prependTo(a.$slideTrack).addClass("slick-cloned");for(e=0;e<n+a.slideCount;e+=1)i=e,t(a.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+a.slideCount).appendTo(a.$slideTrack).addClass("slick-cloned");a.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},e.prototype.selectHandler=function(e){var i=this,n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),a=parseInt(n.attr("data-slick-index"));a||(a=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(a,!1,!0):i.slideHandler(a)},e.prototype.slideHandler=function(t,e,i){var n,a,r,o,s,l=null,c=this;if(e=e||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t))if(!1===e&&c.asNavFor(t),n=t,l=c.getLeft(n),o=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?o:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(o,function(){c.postSlide(n)}):c.postSlide(n));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(o,function(){c.postSlide(n)}):c.postSlide(n));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),a=n<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,a]),r=c.currentSlide,c.currentSlide=a,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(s=(s=c.getNavTarget()).slick("getSlick")).slideCount<=s.options.slidesToShow&&s.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(r),c.fadeSlide(a,function(){c.postSlide(a)})):c.postSlide(a),void c.animateHeight();!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(l,function(){c.postSlide(a)}):c.postSlide(a)}},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,n,a=this;return t=a.touchObject.startX-a.touchObject.curX,e=a.touchObject.startY-a.touchObject.curY,i=Math.atan2(e,t),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0?!1===a.options.rtl?"left":"right":n<=360&&n>=315?!1===a.options.rtl?"left":"right":n>=135&&n<=225?!1===a.options.rtl?"right":"left":!0===a.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-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,!0===e.options.verticalSwiping&&(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,a,r,o,s=this;return r=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!s.dragging||s.scrolling||r&&1!==r.length)&&(e=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==r?r[0].pageX:t.clientX,s.touchObject.curY=void 0!==r?r[0].pageY:t.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2))),!s.options.verticalSwiping&&!s.swiping&&o>4?(s.scrolling=!0,!1):(!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=o),i=s.swipeDirection(),void 0!==t.originalEvent&&s.touchObject.swipeLength>4&&(s.swiping=!0,t.preventDefault()),a=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(a=s.touchObject.curY>s.touchObject.startY?1:-1),n=s.touchObject.swipeLength,s.touchObject.edgeHit=!1,!1===s.options.infinite&&(0===s.currentSlide&&"right"===i||s.currentSlide>=s.getDotCount()&&"left"===i)&&(n=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=e+n*a:s.swipeLeft=e+n*(s.$list.height()/s.listWidth)*a,!0===s.options.verticalSwiping&&(s.swipeLeft=e+n*a),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))))},e.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return 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,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=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$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").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,i,n=this,a=arguments[0],r=Array.prototype.slice.call(arguments,1),o=n.length;for(t=0;t<o;t++)if("object"==typeof a||void 0===a?n[t].slick=new e(n[t],a):i=n[t].slick[a].apply(n[t].slick,r),void 0!==i)return i;return n}})?n.apply(e,a):n)||(t.exports=r)}()},function(t,e,i){"use strict";i.r(e),function(t){i(179);t(document).ready(function(){t("#calendar-list").fullCalendar({header:{left:"prev,next today",center:"title",right:"listDay,listWeek,month"},themeSystem:"bootstrap4",bootstrapFontAwesome:!0,views:{listDay:{buttonText:"list day"},listWeek:{buttonText:"list week"}},defaultView:"listWeek",defaultDate:"2018-03-12",navLinks:!0,editable:!0,eventLimit:!0,events:[{title:"All Day Event",start:"2018-03-01"},{title:"Long Event",start:"2018-03-07",end:"2018-03-10"},{id:999,title:"Repeating Event",start:"2018-03-09T16:00:00"},{id:999,title:"Repeating Event",start:"2018-03-16T16:00:00"},{title:"Conference",start:"2018-03-11",end:"2018-03-13"},{title:"Meeting",start:"2018-03-12T10:30:00",end:"2018-03-12T12:30:00"},{title:"Lunch",start:"2018-03-12T12:00:00"},{title:"Meeting",start:"2018-03-12T14:30:00"},{title:"Happy Hour",start:"2018-03-12T17:30:00"},{title:"Dinner",start:"2018-03-12T20:00:00"},{title:"Birthday Party",start:"2018-03-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2018-03-28"}]}),t("#calendar").fullCalendar({header:{left:"prev,next today",center:"title",right:"month,basicWeek,basicDay"},themeSystem:"bootstrap4",bootstrapFontAwesome:!0,defaultDate:"2018-03-12",navLinks:!0,editable:!0,eventLimit:!0,events:[{title:"All Day Event",start:"2018-03-01"},{title:"Long Event",start:"2018-03-07",end:"2018-03-10"},{id:999,title:"Repeating Event",start:"2018-03-09T16:00:00"},{id:999,title:"Repeating Event",start:"2018-03-16T16:00:00"},{title:"Conference",start:"2018-03-11",end:"2018-03-13"},{title:"Meeting",start:"2018-03-12T10:30:00",end:"2018-03-12T12:30:00"},{title:"Lunch",start:"2018-03-12T12:00:00"},{title:"Meeting",start:"2018-03-12T14:30:00"},{title:"Happy Hour",start:"2018-03-12T17:30:00"},{title:"Dinner",start:"2018-03-12T20:00:00"},{title:"Birthday Party",start:"2018-03-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2018-03-28"}]}),t("#calendar-bg-events").fullCalendar({header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay,listMonth"},themeSystem:"bootstrap4",bootstrapFontAwesome:!0,defaultDate:"2018-03-12",navLinks:!0,businessHours:!0,editable:!0,events:[{title:"Business Lunch",start:"2018-03-03T13:00:00",constraint:"businessHours"},{title:"Meeting",start:"2018-03-13T11:00:00",constraint:"availableForMeeting",color:"#257e4a"},{title:"Conference",start:"2018-03-18",end:"2018-03-20"},{title:"Party",start:"2018-03-29T20:00:00"},{id:"availableForMeeting",start:"2018-03-11T10:00:00",end:"2018-03-11T16:00:00",rendering:"background"},{id:"availableForMeeting",start:"2018-03-13T10:00:00",end:"2018-03-13T16:00:00",rendering:"background"},{start:"2018-03-24",end:"2018-03-28",overlap:!1,rendering:"background",color:"var(--danger)"},{start:"2018-03-06",end:"2018-03-08",overlap:!1,rendering:"background",color:"var(--success)"}]})})}.call(this,i(0))},function(t,e,i){
/*!
 * FullCalendar v3.10.0
 * Docs & License: https://fullcalendar.io/
 * (c) 2018 Adam Shaw
 */
var n;"undefined"!=typeof self&&self,n=function(t,e){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=256)}([function(e,i){e.exports=t},,function(t,e){var i=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.__extends=function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},function(t,i){t.exports=e},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=i(3);function r(t){t.height("")}function o(t){var e,i=t[0].offsetWidth-t[0].clientWidth,n=t[0].offsetHeight-t[0].clientHeight;return i=s(i),e={left:0,right:0,top:0,bottom:n=s(n)},!function(){null===l&&(t=a("<div><div/></div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),e=t.children().offset().left>t.offset().left,t.remove(),l=e);var t,e;return l}()||"rtl"!==t.css("direction")?e.right=i:e.left=i,e}function s(t){return t=Math.max(0,t),t=Math.round(t)}e.compensateScroll=function(t,e){e.left&&t.css({"border-left-width":1,"margin-left":e.left-1}),e.right&&t.css({"border-right-width":1,"margin-right":e.right-1})},e.uncompensateScroll=function(t){t.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})},e.disableCursor=function(){a("body").addClass("fc-not-allowed")},e.enableCursor=function(){a("body").removeClass("fc-not-allowed")},e.distributeHeight=function(t,e,i){var n=Math.floor(e/t.length),o=Math.floor(e-n*(t.length-1)),s=[],l=[],c=[],d=0;r(t),t.each(function(e,i){var r=e===t.length-1?o:n,u=a(i).outerHeight(!0);u<r?(s.push(i),l.push(u),c.push(a(i).height())):d+=u}),i&&(e-=d,n=Math.floor(e/s.length),o=Math.floor(e-n*(s.length-1))),a(s).each(function(t,e){var i=t===s.length-1?o:n,r=l[t],d=i-(r-c[t]);r<i&&a(e).height(d)})},e.undistributeHeight=r,e.matchCellWidths=function(t){var e=0;return t.find("> *").each(function(t,i){var n=a(i).outerWidth();n>e&&(e=n)}),e++,t.width(e),e},e.subtractInnerElHeight=function(t,e){var i,n=t.add(e);return n.css({position:"relative",left:-1}),i=t.outerHeight()-e.outerHeight(),n.css({position:"",left:""}),i},e.getScrollParent=function(t){var e=t.css("position"),i=t.parents().filter(function(){var t=a(this);return/(auto|scroll)/.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&i.length?i:a(t[0].ownerDocument||document)},e.getOuterRect=function(t,e){var i=t.offset(),n=i.left-(e?e.left:0),a=i.top-(e?e.top:0);return{left:n,right:n+t.outerWidth(),top:a,bottom:a+t.outerHeight()}},e.getClientRect=function(t,e){var i=t.offset(),n=o(t),a=i.left+c(t,"border-left-width")+n.left-(e?e.left:0),r=i.top+c(t,"border-top-width")+n.top-(e?e.top:0);return{left:a,right:a+t[0].clientWidth,top:r,bottom:r+t[0].clientHeight}},e.getContentRect=function(t,e){var i=t.offset(),n=i.left+c(t,"border-left-width")+c(t,"padding-left")-(e?e.left:0),a=i.top+c(t,"border-top-width")+c(t,"padding-top")-(e?e.top:0);return{left:n,right:n+t.width(),top:a,bottom:a+t.height()}},e.getScrollbarWidths=o;var l=null;function c(t,e){return parseFloat(t.css(e))||0}function d(t){t.preventDefault()}function u(t,e,i,n,a){if(i.func)return i.func(t,e);var r=t[i.field],o=e[i.field];return null==r&&n&&(r=n[i.field]),null==o&&a&&(o=a[i.field]),h(r,o)*(i.order||1)}function h(t,e){return t||e?null==e?-1:null==t?1:"string"===a.type(t)||"string"===a.type(e)?String(t).localeCompare(String(e)):t-e:0}function p(t,i){var n,a,r;for(n=0;n<e.unitsDesc.length&&!((r=f(a=e.unitsDesc[n],t,i))>=1&&w(r));n++);return a}function f(t,e,i){return null!=i?i.diff(e,t,!0):n.isDuration(e)?e.as(t):e.end.diff(e.start,t,!0)}function g(t){return Boolean(t.hours()||t.minutes()||t.seconds()||t.milliseconds())}function m(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=window.console;if(i&&i.log)return i.log.apply(i,t)}e.isPrimaryMouseButton=function(t){return 1===t.which&&!t.ctrlKey},e.getEvX=function(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageX:t.pageX},e.getEvY=function(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageY:t.pageY},e.getEvIsTouch=function(t){return/^touch/.test(t.type)},e.preventSelection=function(t){t.addClass("fc-unselectable").on("selectstart",d)},e.allowSelection=function(t){t.removeClass("fc-unselectable").off("selectstart",d)},e.preventDefault=d,e.intersectRects=function(t,e){var i={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return i.left<i.right&&i.top<i.bottom&&i},e.constrainPoint=function(t,e){return{left:Math.min(Math.max(t.left,e.left),e.right),top:Math.min(Math.max(t.top,e.top),e.bottom)}},e.getRectCenter=function(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}},e.diffPoints=function(t,e){return{left:t.left-e.left,top:t.top-e.top}},e.parseFieldSpecs=function(t){var e,i,n=[],r=[];for("string"==typeof t?r=t.split(/\s*,\s*/):"function"==typeof t?r=[t]:a.isArray(t)&&(r=t),e=0;e<r.length;e++)"string"==typeof(i=r[e])?n.push("-"===i.charAt(0)?{field:i.substring(1),order:-1}:{field:i,order:1}):"function"==typeof i&&n.push({func:i});return n},e.compareByFieldSpecs=function(t,e,i,n,a){var r,o;for(r=0;r<i.length;r++)if(o=u(t,e,i[r],n,a))return o;return 0},e.compareByFieldSpec=u,e.flexibleCompare=h,e.dayIDs=["sun","mon","tue","wed","thu","fri","sat"],e.unitsDesc=["year","month","week","day","hour","minute","second","millisecond"],e.diffDayTime=function(t,e){return n.duration({days:t.clone().stripTime().diff(e.clone().stripTime(),"days"),ms:t.time()-e.time()})},e.diffDay=function(t,e){return n.duration({days:t.clone().stripTime().diff(e.clone().stripTime(),"days")})},e.diffByUnit=function(t,e,i){return n.duration(Math.round(t.diff(e,i,!0)),i)},e.computeGreatestUnit=p,e.computeDurationGreatestUnit=function(t,e){var i=p(t);return"week"===i&&"object"==typeof e&&e.days&&(i="day"),i},e.divideRangeByDuration=function(t,e,i){var n;return g(i)?(e-t)/i:(n=i.asMonths(),Math.abs(n)>=1&&w(n)?e.diff(t,"months",!0)/n:e.diff(t,"days",!0)/i.asDays())},e.divideDurationByDuration=function(t,e){var i,n;return g(t)||g(e)?t/e:(i=t.asMonths(),n=e.asMonths(),Math.abs(i)>=1&&w(i)&&Math.abs(n)>=1&&w(n)?i/n:t.asDays()/e.asDays())},e.multiplyDuration=function(t,e){var i;return g(t)?n.duration(t*e):(i=t.asMonths(),Math.abs(i)>=1&&w(i)?n.duration({months:i*e}):n.duration({days:t.asDays()*e}))},e.durationHasTime=g,e.isNativeDate=function(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date},e.isTimeString=function(t){return"string"==typeof t&&/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(t)},e.log=m,e.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=window.console;return i&&i.warn?i.warn.apply(i,t):m.apply(null,t)};var v={}.hasOwnProperty;function y(t,e){return v.call(t,e)}function b(t){return(t+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function w(t){return t%1==0}e.mergeProps=function t(e,i){var n,a,r,o,s,l,c={};if(i)for(n=0;n<i.length;n++){for(a=i[n],r=[],o=e.length-1;o>=0;o--)if("object"==typeof(s=e[o][a]))r.unshift(s);else if(void 0!==s){c[a]=s;break}r.length&&(c[a]=t(r))}for(n=e.length-1;n>=0;n--)for(a in l=e[n])a in c||(c[a]=l[a]);return c},e.copyOwnProps=function(t,e){for(var i in t)y(t,i)&&(e[i]=t[i])},e.hasOwnProp=y,e.applyAll=function(t,e,i){if(a.isFunction(t)&&(t=[t]),t){var n=void 0,r=void 0;for(n=0;n<t.length;n++)r=t[n].apply(e,i)||r;return r}},e.removeMatching=function(t,e){for(var i=0,n=0;n<t.length;)e(t[n])?(t.splice(n,1),i++):n++;return i},e.removeExact=function(t,e){for(var i=0,n=0;n<t.length;)t[n]===e?(t.splice(n,1),i++):n++;return i},e.isArraysEqual=function(t,e){var i,n=t.length;if(null==n||n!==e.length)return!1;for(i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0},e.firstDefined=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i=0;i<t.length;i++)if(void 0!==t[i])return t[i]},e.htmlEscape=b,e.stripHtmlEntities=function(t){return t.replace(/&.*?;/g,"")},e.cssToStr=function(t){var e=[];return a.each(t,function(t,i){null!=i&&e.push(t+":"+i)}),e.join(";")},e.attrsToStr=function(t){var e=[];return a.each(t,function(t,i){null!=i&&e.push(t+'="'+b(i)+'"')}),e.join(" ")},e.capitaliseFirstLetter=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},e.compareNumbers=function(t,e){return t-e},e.isInt=w,e.proxy=function(t,e){var i=t[e];return function(){return i.apply(t,arguments)}},e.debounce=function(t,e,i){var n,a,r,o,s;void 0===i&&(i=!1);var l=function(){var c=+new Date-o;c<e?n=setTimeout(l,e-c):(n=null,i||(s=t.apply(r,a),r=a=null))};return function(){r=this,a=arguments,o=+new Date;var c=i&&!n;return n||(n=setTimeout(l,e)),c&&(s=t.apply(r,a),r=a=null),s}}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=i(11),r=function(){function t(t,e){this.isStart=!0,this.isEnd=!0,n.isMoment(t)&&(t=t.clone().stripZone()),n.isMoment(e)&&(e=e.clone().stripZone()),t&&(this.startMs=t.valueOf()),e&&(this.endMs=e.valueOf())}return t.invertRanges=function(e,i){var n,a,r=[],s=i.startMs;for(e.sort(o),n=0;n<e.length;n++)(a=e[n]).startMs>s&&r.push(new t(s,a.startMs)),a.endMs>s&&(s=a.endMs);return s<i.endMs&&r.push(new t(s,i.endMs)),r},t.prototype.intersect=function(e){var i=this.startMs,n=this.endMs,a=null;return null!=e.startMs&&(i=null==i?e.startMs:Math.max(i,e.startMs)),null!=e.endMs&&(n=null==n?e.endMs:Math.min(n,e.endMs)),(null==i||null==n||i<n)&&((a=new t(i,n)).isStart=this.isStart&&i===this.startMs,a.isEnd=this.isEnd&&n===this.endMs),a},t.prototype.intersectsWith=function(t){return(null==this.endMs||null==t.startMs||this.endMs>t.startMs)&&(null==this.startMs||null==t.endMs||this.startMs<t.endMs)},t.prototype.containsRange=function(t){return(null==this.startMs||null!=t.startMs&&t.startMs>=this.startMs)&&(null==this.endMs||null!=t.endMs&&t.endMs<=this.endMs)},t.prototype.containsDate=function(t){var e=t.valueOf();return(null==this.startMs||e>=this.startMs)&&(null==this.endMs||e<this.endMs)},t.prototype.constrainDate=function(t){var e=t.valueOf();return null!=this.startMs&&e<this.startMs&&(e=this.startMs),null!=this.endMs&&e>=this.endMs&&(e=this.endMs-1),e},t.prototype.equals=function(t){return this.startMs===t.startMs&&this.endMs===t.endMs},t.prototype.clone=function(){var e=new t(this.startMs,this.endMs);return e.isStart=this.isStart,e.isEnd=this.isEnd,e},t.prototype.getStart=function(){return null!=this.startMs?a.default.utc(this.startMs).stripZone():null},t.prototype.getEnd=function(){return null!=this.endMs?a.default.utc(this.endMs).stripZone():null},t.prototype.as=function(t){return n.utc(this.endMs).diff(n.utc(this.startMs),t,!0)},t}();function o(t,e){return t.startMs-e.startMs}e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(52),o=i(35),s=i(36),l=function(t){function e(i){var n=t.call(this)||this;return n.calendar=i,n.className=[],n.uid=String(e.uuid++),n}return n.__extends(e,t),e.parse=function(t,e){var i=new this(e);return!("object"!=typeof t||!i.applyProps(t))&&i},e.normalizeId=function(t){return t?String(t):null},e.prototype.fetch=function(t,e,i){},e.prototype.removeEventDefsById=function(t){},e.prototype.removeAllEventDefs=function(){},e.prototype.getPrimitive=function(t){},e.prototype.parseEventDefs=function(t){var e,i,n=[];for(e=0;e<t.length;e++)(i=this.parseEventDef(t[e]))&&n.push(i);return n},e.prototype.parseEventDef=function(t){var e=this.calendar.opt("eventDataTransform"),i=this.eventDataTransform;return e&&(t=e(t,this.calendar)),i&&(t=i(t,this.calendar)),s.default.parse(t,this)},e.prototype.applyManualStandardProps=function(t){return null!=t.id&&(this.id=e.normalizeId(t.id)),a.isArray(t.className)?this.className=t.className:"string"==typeof t.className&&(this.className=t.className.split(/\s+/)),!0},e.uuid=0,e.defineStandardProps=r.default.defineStandardProps,e.copyVerbatimStandardProps=r.default.copyVerbatimStandardProps,e}(o.default);e.default=l,r.default.mixInto(l),l.defineStandardProps({id:!1,className:!1,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0,editable:!0,startEditable:!0,durationEditable:!0,rendering:!0,overlap:!0,constraint:!0,allDayDefault:!0,eventDataTransform:!0})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(15),o=0,s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.listenTo=function(t,e,i){if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&this.listenTo(t,n,e[n]);else"string"==typeof e&&t.on(e+"."+this.getListenerNamespace(),a.proxy(i,this))},e.prototype.stopListeningTo=function(t,e){t.off((e||"")+"."+this.getListenerNamespace())},e.prototype.getListenerNamespace=function(){return null==this.listenerId&&(this.listenerId=o++),"_listener"+this.listenerId},e}(r.default);e.default=s},,function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(37),r=i(53),o=i(16),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.buildInstances=function(){return[this.buildInstance()]},e.prototype.buildInstance=function(){return new r.default(this,this.dateProfile)},e.prototype.isAllDay=function(){return this.dateProfile.isAllDay()},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.dateProfile=this.dateProfile,e},e.prototype.rezone=function(){var t=this.source.calendar,e=this.dateProfile;this.dateProfile=new o.default(t.moment(e.start),e.end?t.moment(e.end):null,t)},e.prototype.applyManualStandardProps=function(e){var i=t.prototype.applyManualStandardProps.call(this,e),n=o.default.parse(e,this.source);return!!n&&(this.dateProfile=n,null!=e.date&&(this.miscProps.date=e.date),i)},e}(a.default);e.default=s,s.defineStandardProps({start:!1,date:!1,end:!1,allDay:!1})},,function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=i(3),r=i(4),o=/^\s*\d{4}-\d\d$/,s=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,l=n.fn;e.newMomentProto=l;var c=a.extend({},l);e.oldMomentProto=c;var d=n.momentProperties;d.push("_fullCalendar"),d.push("_ambigTime"),d.push("_ambigZone"),e.oldMomentFormat=function(t,e){return c.format.call(t,e)};var u=function(){return h(arguments)};function h(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var l,c,d,u,h=t[0],p=1===t.length&&"string"==typeof h;return n.isMoment(h)||r.isNativeDate(h)||void 0===h?u=n.apply(null,t):(l=!1,c=!1,p?o.test(h)?(t=[h+="-01"],l=!0,c=!0):(d=s.exec(h))&&(l=!d[5],c=!0):a.isArray(h)&&(c=!0),u=e||l?n.utc.apply(n,t):n.apply(null,t),l?(u._ambigTime=!0,u._ambigZone=!0):i&&(c?u._ambigZone=!0:p&&u.utcOffset(h))),u._fullCalendar=!0,u}e.default=u,u.utc=function(){var t=h(arguments,!0);return t.hasTime()&&t.utc(),t},u.parseZone=function(){return h(arguments,!0,!0)},l.week=l.weeks=function(t){var e=this._locale._fullCalendar_weekCalc;return null==t&&"function"==typeof e?e(this):"ISO"===e?c.isoWeek.apply(this,arguments):c.week.apply(this,arguments)},l.time=function(t){if(!this._fullCalendar)return c.time.apply(this,arguments);if(null==t)return n.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,n.isDuration(t)||n.isMoment(t)||(t=n.duration(t));var e=0;return n.isDuration(t)&&(e=24*Math.floor(t.asDays())),this.hours(e+t.hours()).minutes(t.minutes()).seconds(t.seconds()).milliseconds(t.milliseconds())},l.stripTime=function(){return this._ambigTime||(this.utc(!0),this.set({hours:0,minutes:0,seconds:0,ms:0}),this._ambigTime=!0,this._ambigZone=!0),this},l.hasTime=function(){return!this._ambigTime},l.stripZone=function(){var t;return this._ambigZone||(t=this._ambigTime,this.utc(!0),this._ambigTime=t||!1,this._ambigZone=!0),this},l.hasZone=function(){return!this._ambigZone},l.local=function(t){return c.local.call(this,this._ambigZone||t),this._ambigTime=!1,this._ambigZone=!1,this},l.utc=function(t){return c.utc.call(this,t),this._ambigTime=!1,this._ambigZone=!1,this},l.utcOffset=function(t){return null!=t&&(this._ambigTime=!1,this._ambigZone=!1),c.utcOffset.apply(this,arguments)}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.isAllDay=!1,this.unzonedRange=t,this.isAllDay=e}return t.prototype.toLegacy=function(t){return{start:t.msToMoment(this.unzonedRange.startMs,this.isAllDay),end:t.msToMoment(this.unzonedRange.endMs,this.isAllDay)}},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.on=function(t,e){return a(this).on(t,this._prepareIntercept(e)),this},e.prototype.one=function(t,e){return a(this).one(t,this._prepareIntercept(e)),this},e.prototype._prepareIntercept=function(t){var e=function(e,i){return t.apply(i.context||this,i.args||[])};return t.guid||(t.guid=a.guid++),e.guid=t.guid,e},e.prototype.off=function(t,e){return a(this).off(t,e),this},e.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return a(this).triggerHandler(t,{args:e}),this},e.prototype.triggerWith=function(t,e,i){return a(this).triggerHandler(t,{context:e,args:i}),this},e.prototype.hasHandlers=function(t){var e=a._data(this,"events");return e&&e[t]&&e[t].length>0},e}(i(15).default);e.default=r},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.view=t._getView(),this.component=t}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.end=function(){},t}();e.default=i},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.mixInto=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){t.prototype[i]||(t.prototype[i]=e.prototype[i])})},t.mixOver=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){t.prototype[i]=e.prototype[i]})},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),a=function(){function t(t,e,i){this.start=t,this.end=e||null,this.unzonedRange=this.buildUnzonedRange(i)}return t.parse=function(e,i){var n=e.start||e.date,a=e.end;if(!n)return!1;var r=i.calendar,o=r.moment(n),s=a?r.moment(a):null,l=e.allDay,c=r.opt("forceEventDuration");return!!o.isValid()&&(null==l&&null==(l=i.allDayDefault)&&(l=r.opt("allDayDefault")),!0===l?(o.stripTime(),s&&s.stripTime()):!1===l&&(o.hasTime()||o.time(0),s&&!s.hasTime()&&s.time(0)),!s||s.isValid()&&s.isAfter(o)||(s=null),!s&&c&&(s=r.getDefaultEventEnd(!o.hasTime(),o)),new t(o,s,r))},t.isStandardProp=function(t){return"start"===t||"date"===t||"end"===t||"allDay"===t},t.prototype.isAllDay=function(){return!(this.start.hasTime()||this.end&&this.end.hasTime())},t.prototype.buildUnzonedRange=function(t){var e=this.start.clone().stripZone().valueOf(),i=this.getEnd(t).stripZone().valueOf();return new n.default(e,i)},t.prototype.getEnd=function(t){return this.end?this.end.clone():t.getDefaultEventEnd(this.isAllDay(),this.start)},t}();e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(4),r=function(t){function e(e,i){var n=t.call(this,i)||this;return n.component=e,n}return n.__extends(e,t),e.prototype.handleInteractionStart=function(e){var i,n,r,o=this.subjectEl;this.component.hitsNeeded(),this.computeScrollBounds(),e?(r=n={left:a.getEvX(e),top:a.getEvY(e)},o&&(i=a.getOuterRect(o),r=a.constrainPoint(r,i)),this.origHit=this.queryHit(r.left,r.top),o&&this.options.subjectCenter&&(this.origHit&&(i=a.intersectRects(this.origHit,i)||i),r=a.getRectCenter(i)),this.coordAdjust=a.diffPoints(r,n)):(this.origHit=null,this.coordAdjust=null),t.prototype.handleInteractionStart.call(this,e)},e.prototype.handleDragStart=function(e){var i;t.prototype.handleDragStart.call(this,e),(i=this.queryHit(a.getEvX(e),a.getEvY(e)))&&this.handleHitOver(i)},e.prototype.handleDrag=function(e,i,n){var r;t.prototype.handleDrag.call(this,e,i,n),o(r=this.queryHit(a.getEvX(n),a.getEvY(n)),this.hit)||(this.hit&&this.handleHitOut(),r&&this.handleHitOver(r))},e.prototype.handleDragEnd=function(e){this.handleHitDone(),t.prototype.handleDragEnd.call(this,e)},e.prototype.handleHitOver=function(t){var e=o(t,this.origHit);this.hit=t,this.trigger("hitOver",this.hit,e,this.origHit)},e.prototype.handleHitOut=function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},e.prototype.handleHitDone=function(){this.hit&&this.trigger("hitDone",this.hit)},e.prototype.handleInteractionEnd=function(e,i){t.prototype.handleInteractionEnd.call(this,e,i),this.origHit=null,this.hit=null,this.component.hitsNotNeeded()},e.prototype.handleScrollEnd=function(){t.prototype.handleScrollEnd.call(this),this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},e.prototype.queryHit=function(t,e){return this.coordAdjust&&(t+=this.coordAdjust.left,e+=this.coordAdjust.top),this.component.queryHit(t,e)},e}(i(59).default);function o(t,e){return!t&&!e||!(!t||!e)&&(t.component===e.component&&s(t,e)&&s(e,t))}function s(t,e){for(var i in t)if(!/^(component|left|right|top|bottom)$/.test(i)&&t[i]!==e[i])return!1;return!0}e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.version="3.10.0",e.internalApiVersion=12;var n=i(4);e.applyAll=n.applyAll,e.debounce=n.debounce,e.isInt=n.isInt,e.htmlEscape=n.htmlEscape,e.cssToStr=n.cssToStr,e.proxy=n.proxy,e.capitaliseFirstLetter=n.capitaliseFirstLetter,e.getOuterRect=n.getOuterRect,e.getClientRect=n.getClientRect,e.getContentRect=n.getContentRect,e.getScrollbarWidths=n.getScrollbarWidths,e.preventDefault=n.preventDefault,e.parseFieldSpecs=n.parseFieldSpecs,e.compareByFieldSpecs=n.compareByFieldSpecs,e.compareByFieldSpec=n.compareByFieldSpec,e.flexibleCompare=n.flexibleCompare,e.computeGreatestUnit=n.computeGreatestUnit,e.divideRangeByDuration=n.divideRangeByDuration,e.divideDurationByDuration=n.divideDurationByDuration,e.multiplyDuration=n.multiplyDuration,e.durationHasTime=n.durationHasTime,e.log=n.log,e.warn=n.warn,e.removeExact=n.removeExact,e.intersectRects=n.intersectRects,e.allowSelection=n.allowSelection,e.attrsToStr=n.attrsToStr,e.compareNumbers=n.compareNumbers,e.compensateScroll=n.compensateScroll,e.computeDurationGreatestUnit=n.computeDurationGreatestUnit,e.constrainPoint=n.constrainPoint,e.copyOwnProps=n.copyOwnProps,e.diffByUnit=n.diffByUnit,e.diffDay=n.diffDay,e.diffDayTime=n.diffDayTime,e.diffPoints=n.diffPoints,e.disableCursor=n.disableCursor,e.distributeHeight=n.distributeHeight,e.enableCursor=n.enableCursor,e.firstDefined=n.firstDefined,e.getEvIsTouch=n.getEvIsTouch,e.getEvX=n.getEvX,e.getEvY=n.getEvY,e.getRectCenter=n.getRectCenter,e.getScrollParent=n.getScrollParent,e.hasOwnProp=n.hasOwnProp,e.isArraysEqual=n.isArraysEqual,e.isNativeDate=n.isNativeDate,e.isPrimaryMouseButton=n.isPrimaryMouseButton,e.isTimeString=n.isTimeString,e.matchCellWidths=n.matchCellWidths,e.mergeProps=n.mergeProps,e.preventSelection=n.preventSelection,e.removeMatching=n.removeMatching,e.stripHtmlEntities=n.stripHtmlEntities,e.subtractInnerElHeight=n.subtractInnerElHeight,e.uncompensateScroll=n.uncompensateScroll,e.undistributeHeight=n.undistributeHeight,e.dayIDs=n.dayIDs,e.unitsDesc=n.unitsDesc;var a=i(49);e.formatDate=a.formatDate,e.formatRange=a.formatRange,e.queryMostGranularFormatUnit=a.queryMostGranularFormatUnit;var r=i(32);e.datepickerLocale=r.datepickerLocale,e.locale=r.locale,e.getMomentLocaleData=r.getMomentLocaleData,e.populateInstanceComputableOptions=r.populateInstanceComputableOptions;var o=i(19);e.eventDefsToEventInstances=o.eventDefsToEventInstances,e.eventFootprintToComponentFootprint=o.eventFootprintToComponentFootprint,e.eventInstanceToEventRange=o.eventInstanceToEventRange,e.eventInstanceToUnzonedRange=o.eventInstanceToUnzonedRange,e.eventRangeToEventFootprint=o.eventRangeToEventFootprint;var s=i(11);e.moment=s.default;var l=i(13);e.EmitterMixin=l.default;var c=i(7);e.ListenerMixin=c.default;var d=i(51);e.Model=d.default;var u=i(217);e.Constraints=u.default;var h=i(55);e.DateProfileGenerator=h.default;var p=i(5);e.UnzonedRange=p.default;var f=i(12);e.ComponentFootprint=f.default;var g=i(218);e.BusinessHourGenerator=g.default;var m=i(219);e.EventPeriod=m.default;var v=i(220);e.EventManager=v.default;var y=i(37);e.EventDef=y.default;var b=i(39);e.EventDefMutation=b.default;var w=i(36);e.EventDefParser=w.default;var x=i(53);e.EventInstance=x.default;var _=i(50);e.EventRange=_.default;var k=i(54);e.RecurringEventDef=k.default;var S=i(9);e.SingleEventDef=S.default;var M=i(40);e.EventDefDateMutation=M.default;var C=i(16);e.EventDateProfile=C.default;var T=i(38);e.EventSourceParser=T.default;var D=i(6);e.EventSource=D.default;var L=i(57);e.defineThemeSystem=L.defineThemeSystem,e.getThemeSystemClass=L.getThemeSystemClass;var E=i(20);e.EventInstanceGroup=E.default;var A=i(56);e.ArrayEventSource=A.default;var P=i(223);e.FuncEventSource=P.default;var Y=i(224);e.JsonFeedEventSource=Y.default;var O=i(34);e.EventFootprint=O.default;var I=i(35);e.Class=I.default;var H=i(15);e.Mixin=H.default;var R=i(58);e.CoordCache=R.default;var N=i(225);e.Iterator=N.default;var j=i(59);e.DragListener=j.default;var F=i(17);e.HitDragListener=F.default;var z=i(226);e.MouseFollower=z.default;var W=i(52);e.ParsableModelMixin=W.default;var B=i(227);e.Popover=B.default;var V=i(21);e.Promise=V.default;var $=i(228);e.TaskQueue=$.default;var X=i(229);e.RenderQueue=X.default;var q=i(41);e.Scroller=q.default;var U=i(22);e.Theme=U.default;var G=i(230);e.Component=G.default;var Z=i(231);e.DateComponent=Z.default;var J=i(42);e.InteractiveDateComponent=J.default;var K=i(232);e.Calendar=K.default;var Q=i(43);e.View=Q.default;var tt=i(24);e.defineView=tt.defineView,e.getViewConfig=tt.getViewConfig;var et=i(60);e.DayTableMixin=et.default;var it=i(61);e.BusinessHourRenderer=it.default;var nt=i(44);e.EventRenderer=nt.default;var at=i(62);e.FillRenderer=at.default;var rt=i(63);e.HelperRenderer=rt.default;var ot=i(233);e.ExternalDropping=ot.default;var st=i(234);e.EventResizing=st.default;var lt=i(64);e.EventPointing=lt.default;var ct=i(235);e.EventDragging=ct.default;var dt=i(236);e.DateSelecting=dt.default;var ut=i(237);e.DateClicking=ut.default;var ht=i(14);e.Interaction=ht.default;var pt=i(65);e.StandardInteractionsMixin=pt.default;var ft=i(238);e.AgendaView=ft.default;var gt=i(239);e.TimeGrid=gt.default;var mt=i(240);e.TimeGridEventRenderer=mt.default;var vt=i(242);e.TimeGridFillRenderer=vt.default;var yt=i(241);e.TimeGridHelperRenderer=yt.default;var bt=i(66);e.DayGrid=bt.default;var wt=i(243);e.DayGridEventRenderer=wt.default;var xt=i(245);e.DayGridFillRenderer=xt.default;var _t=i(244);e.DayGridHelperRenderer=_t.default;var kt=i(67);e.BasicView=kt.default;var St=i(68);e.BasicViewDateProfileGenerator=St.default;var Mt=i(246);e.MonthView=Mt.default;var Ct=i(247);e.MonthViewDateProfileGenerator=Ct.default;var Tt=i(248);e.ListView=Tt.default;var Dt=i(250);e.ListEventPointing=Dt.default;var Lt=i(249);e.ListEventRenderer=Lt.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(50),a=i(34),r=i(12);e.eventDefsToEventInstances=function(t,e){var i,n=[];for(i=0;i<t.length;i++)n.push.apply(n,t[i].buildInstances(e));return n},e.eventInstanceToEventRange=function(t){return new n.default(t.dateProfile.unzonedRange,t.def,t)},e.eventRangeToEventFootprint=function(t){return new a.default(new r.default(t.unzonedRange,t.eventDef.isAllDay()),t.eventDef,t.eventInstance)},e.eventInstanceToUnzonedRange=function(t){return t.dateProfile.unzonedRange},e.eventFootprintToComponentFootprint=function(t){return t.componentFootprint}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),a=i(19),r=i(50),o=function(){function t(t){this.eventInstances=t||[]}return t.prototype.getAllEventRanges=function(t){return t?this.sliceNormalRenderRanges(t):this.eventInstances.map(a.eventInstanceToEventRange)},t.prototype.sliceRenderRanges=function(t){return this.isInverse()?this.sliceInverseRenderRanges(t):this.sliceNormalRenderRanges(t)},t.prototype.sliceNormalRenderRanges=function(t){var e,i,n,a=this.eventInstances,o=[];for(e=0;e<a.length;e++)(n=(i=a[e]).dateProfile.unzonedRange.intersect(t))&&o.push(new r.default(n,i.def,i));return o},t.prototype.sliceInverseRenderRanges=function(t){var e=this.eventInstances.map(a.eventInstanceToUnzonedRange),i=this.getEventDef();return(e=n.default.invertRanges(e,t)).map(function(t){return new r.default(t,i)})},t.prototype.isInverse=function(){return this.getEventDef().hasInverseRendering()},t.prototype.getEventDef=function(){return this.explicitEventDef||this.eventInstances[0].def},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a={construct:function(t){var e=n.Deferred(),i=e.promise();return"function"==typeof t&&t(function(t){e.resolve(t),r(i,t)},function(){e.reject(),o(i)}),i},resolve:function(t){var e=n.Deferred().resolve(t).promise();return r(e,t),e},reject:function(){var t=n.Deferred().reject().promise();return o(t),t}};function r(t,e){t.then=function(i){return"function"==typeof i?a.resolve(i(e)):t}}function o(t){t.then=function(e,i){return"function"==typeof i&&i(),t}}e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=function(){function t(t){this.optionsManager=t,this.processIconOverride()}return t.prototype.processIconOverride=function(){this.iconOverrideOption&&this.setIconOverride(this.optionsManager.get(this.iconOverrideOption))},t.prototype.setIconOverride=function(t){var e,i;if(n.isPlainObject(t)){for(i in e=n.extend({},this.iconClasses),t)e[i]=this.applyIconOverridePrefix(t[i]);this.iconClasses=e}else!1===t&&(this.iconClasses={})},t.prototype.applyIconOverridePrefix=function(t){var e=this.iconOverridePrefix;return e&&0!==t.indexOf(e)&&(t=e+t),t},t.prototype.getClass=function(t){return this.classes[t]||""},t.prototype.getIconClass=function(t){var e=this.iconClasses[t];return e?this.baseIconClass+" "+e:""},t.prototype.getCustomButtonIconClass=function(t){var e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""},t}();e.default=a,a.prototype.classes={},a.prototype.iconClasses={},a.prototype.baseIconClass="",a.prototype.iconOverridePrefix=""},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(18),r=i(13),o=i(7);a.touchMouseIgnoreWait=500;var s=null,l=0,c=function(){function t(){this.isTouching=!1,this.mouseIgnoreDepth=0}return t.get=function(){return s||(s=new t).bind(),s},t.needed=function(){t.get(),l++},t.unneeded=function(){--l||(s.unbind(),s=null)},t.prototype.bind=function(){var t=this;this.listenTo(n(document),{touchstart:this.handleTouchStart,touchcancel:this.handleTouchCancel,touchend:this.handleTouchEnd,mousedown:this.handleMouseDown,mousemove:this.handleMouseMove,mouseup:this.handleMouseUp,click:this.handleClick,selectstart:this.handleSelectStart,contextmenu:this.handleContextMenu}),window.addEventListener("touchmove",this.handleTouchMoveProxy=function(e){t.handleTouchMove(n.Event(e))},{passive:!1}),window.addEventListener("scroll",this.handleScrollProxy=function(e){t.handleScroll(n.Event(e))},!0)},t.prototype.unbind=function(){this.stopListeningTo(n(document)),window.removeEventListener("touchmove",this.handleTouchMoveProxy,{passive:!1}),window.removeEventListener("scroll",this.handleScrollProxy,!0)},t.prototype.handleTouchStart=function(t){this.stopTouch(t,!0),this.isTouching=!0,this.trigger("touchstart",t)},t.prototype.handleTouchMove=function(t){this.isTouching&&this.trigger("touchmove",t)},t.prototype.handleTouchCancel=function(t){this.isTouching&&(this.trigger("touchcancel",t),this.stopTouch(t))},t.prototype.handleTouchEnd=function(t){this.stopTouch(t)},t.prototype.handleMouseDown=function(t){this.shouldIgnoreMouse()||this.trigger("mousedown",t)},t.prototype.handleMouseMove=function(t){this.shouldIgnoreMouse()||this.trigger("mousemove",t)},t.prototype.handleMouseUp=function(t){this.shouldIgnoreMouse()||this.trigger("mouseup",t)},t.prototype.handleClick=function(t){this.shouldIgnoreMouse()||this.trigger("click",t)},t.prototype.handleSelectStart=function(t){this.trigger("selectstart",t)},t.prototype.handleContextMenu=function(t){this.trigger("contextmenu",t)},t.prototype.handleScroll=function(t){this.trigger("scroll",t)},t.prototype.stopTouch=function(t,e){void 0===e&&(e=!1),this.isTouching&&(this.isTouching=!1,this.trigger("touchend",t),e||this.startTouchMouseIgnore())},t.prototype.startTouchMouseIgnore=function(){var t=this,e=a.touchMouseIgnoreWait;e&&(this.mouseIgnoreDepth++,setTimeout(function(){t.mouseIgnoreDepth--},e))},t.prototype.shouldIgnoreMouse=function(){return this.isTouching||Boolean(this.mouseIgnoreDepth)},t}();e.default=c,o.default.mixInto(c),r.default.mixInto(c)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(18);e.viewHash={},n.views=e.viewHash,e.defineView=function(t,i){e.viewHash[t]=i},e.getViewConfig=function(t){return e.viewHash[t]}},,,,,,,,function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(0),r=i(18),o=i(33),s=i(4);e.localeOptionHash={},r.locales=e.localeOptionHash;var l={buttonText:function(t){return{prev:s.stripHtmlEntities(t.prevText),next:s.stripHtmlEntities(t.nextText),today:s.stripHtmlEntities(t.currentText)}},monthYearFormat:function(t){return t.showMonthAfterYear?"YYYY["+t.yearSuffix+"] MMMM":"MMMM YYYY["+t.yearSuffix+"]"}},c={dayOfMonthFormat:function(t,e){var i=t.longDateFormat("l");return i=i.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),e.isRTL?i+=" ddd":i="ddd "+i,i},mediumTimeFormat:function(t){return t.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(t){return t.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(t){return t.longDateFormat("LT").replace(/\s*a$/i,"")}},d={smallDayDateFormat:function(t){return t.isRTL?"D dd":"dd D"},weekFormat:function(t){return t.isRTL?"w[ "+t.weekNumberTitle+"]":"["+t.weekNumberTitle+" ]w"},smallWeekFormat:function(t){return t.isRTL?"w["+t.weekNumberTitle+"]":"["+t.weekNumberTitle+"]w"}};function u(t,i){var a,r;a=e.localeOptionHash[t]||(e.localeOptionHash[t]={}),i&&(a=e.localeOptionHash[t]=o.mergeOptions([a,i])),r=h(t),n.each(c,function(t,e){null==a[t]&&(a[t]=e(r,a))}),o.globalDefaults.locale=t}function h(t){return a.localeData(t)||a.localeData("en")}e.populateInstanceComputableOptions=function(t){n.each(d,function(e,i){null==t[e]&&(t[e]=i(t))})},e.datepickerLocale=function(t,i,a){var r=e.localeOptionHash[t]||(e.localeOptionHash[t]={});r.isRTL=a.isRTL,r.weekNumberTitle=a.weekHeader,n.each(l,function(t,e){r[t]=e(a)});var o=n.datepicker;o&&(o.regional[i]=o.regional[t]=a,o.regional.en=o.regional[""],o.setDefaults(a))},e.locale=u,e.getMomentLocaleData=h,u("en",o.englishDefaults)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(4);e.globalDefaults={titleRangeSeparator:" – ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",columnHeader:!0,defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,locale:null,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},allDayText:"all-day",agendaEventMinHeight:0,theme:!1,dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventOrder:"title",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3},e.englishDefaults={dayPopoverFormat:"dddd, MMMM D"},e.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};var a=["header","footer","buttonText","buttonIcons","themeButtonIcons"];e.mergeOptions=function(t){return n.mergeProps(t,a)}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,i){this.componentFootprint=t,this.eventDef=e,i&&(this.eventInstance=i)}return t.prototype.getEventLegacy=function(){return(this.eventInstance||this.eventDef).toLegacy()},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(4),r=function(){function t(){}return t.extend=function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(this);return a.copyOwnProps(t,e.prototype),e},t.mixin=function(t){a.copyOwnProps(t,this.prototype)},t}();e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=i(4),r=i(9),o=i(54);e.default={parse:function(t,e){return a.isTimeString(t.start)||n.isDuration(t.start)||a.isTimeString(t.end)||n.isDuration(t.end)?o.default.parse(t,e):r.default.parse(t,e)}}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(52),r=function(){function t(t){this.source=t,this.className=[],this.miscProps={}}return t.parse=function(t,e){var i=new this(e);return!!i.applyProps(t)&&i},t.normalizeId=function(t){return String(t)},t.generateId=function(){return"_fc"+t.uuid++},t.prototype.clone=function(){var e=new this.constructor(this.source);return e.id=this.id,e.rawId=this.rawId,e.uid=this.uid,t.copyVerbatimStandardProps(this,e),e.className=this.className.slice(),e.miscProps=n.extend({},this.miscProps),e},t.prototype.hasInverseRendering=function(){return"inverse-background"===this.getRendering()},t.prototype.hasBgRendering=function(){var t=this.getRendering();return"inverse-background"===t||"background"===t},t.prototype.getRendering=function(){return null!=this.rendering?this.rendering:this.source.rendering},t.prototype.getConstraint=function(){return null!=this.constraint?this.constraint:null!=this.source.constraint?this.source.constraint:this.source.calendar.opt("eventConstraint")},t.prototype.getOverlap=function(){return null!=this.overlap?this.overlap:null!=this.source.overlap?this.source.overlap:this.source.calendar.opt("eventOverlap")},t.prototype.isStartExplicitlyEditable=function(){return null!=this.startEditable?this.startEditable:this.source.startEditable},t.prototype.isDurationExplicitlyEditable=function(){return null!=this.durationEditable?this.durationEditable:this.source.durationEditable},t.prototype.isExplicitlyEditable=function(){return null!=this.editable?this.editable:this.source.editable},t.prototype.toLegacy=function(){var e=n.extend({},this.miscProps);return e._id=this.uid,e.source=this.source,e.className=this.className.slice(),e.allDay=this.isAllDay(),null!=this.rawId&&(e.id=this.rawId),t.copyVerbatimStandardProps(this,e),e},t.prototype.applyManualStandardProps=function(e){return null!=e.id?this.id=t.normalizeId(this.rawId=e.id):this.id=t.generateId(),null!=e._id?this.uid=String(e._id):this.uid=t.generateId(),n.isArray(e.className)&&(this.className=e.className),"string"==typeof e.className&&(this.className=e.className.split(/\s+/)),!0},t.prototype.applyMiscProps=function(t){n.extend(this.miscProps,t)},t.uuid=0,t.defineStandardProps=a.default.defineStandardProps,t.copyVerbatimStandardProps=a.default.copyVerbatimStandardProps,t}();e.default=r,a.default.mixInto(r),r.defineStandardProps({_id:!1,id:!1,className:!1,source:!1,title:!0,url:!0,rendering:!0,constraint:!0,overlap:!0,editable:!0,startEditable:!0,durationEditable:!0,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default={sourceClasses:[],registerClass:function(t){this.sourceClasses.unshift(t)},parse:function(t,e){var i,n,a=this.sourceClasses;for(i=0;i<a.length;i++)if(n=a[i].parse(t,e))return n}}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(4),a=i(16),r=i(37),o=i(40),s=i(9),l=function(){function t(){}return t.createFromRawProps=function(e,i,s){var l,c,d,u,h=e.def,p={},f={},g={},m={},v=null,y=null;for(l in i)a.default.isStandardProp(l)?p[l]=i[l]:h.isStandardProp(l)?f[l]=i[l]:h.miscProps[l]!==i[l]&&(g[l]=i[l]);return(c=a.default.parse(p,h.source))&&(d=o.default.createFromDiff(e.dateProfile,c,s)),f.id!==h.id&&(v=f.id),n.isArraysEqual(f.className,h.className)||(y=f.className),r.default.copyVerbatimStandardProps(f,m),(u=new t).eventDefId=v,u.className=y,u.verbatimStandardProps=m,u.miscProps=g,d&&(u.dateMutation=d),u},t.prototype.mutateSingle=function(t){var e;return this.dateMutation&&(e=t.dateProfile,t.dateProfile=this.dateMutation.buildNewDateProfile(e,t.source.calendar)),null!=this.eventDefId&&(t.id=r.default.normalizeId(t.rawId=this.eventDefId)),this.className&&(t.className=this.className),this.verbatimStandardProps&&s.default.copyVerbatimStandardProps(this.verbatimStandardProps,t),this.miscProps&&t.applyMiscProps(this.miscProps),e?function(){t.dateProfile=e}:function(){}},t.prototype.setDateMutation=function(t){t&&!t.isEmpty()?this.dateMutation=t:this.dateMutation=null},t.prototype.isEmpty=function(){return!this.dateMutation},t}();e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(4),a=i(16),r=function(){function t(){this.clearEnd=!1,this.forceTimed=!1,this.forceAllDay=!1}return t.createFromDiff=function(e,i,a){var r,o,s,l=e.end&&!i.end,c=e.isAllDay()&&!i.isAllDay(),d=!e.isAllDay()&&i.isAllDay();function u(t,e){return a?n.diffByUnit(t,e,a):i.isAllDay()?n.diffDay(t,e):n.diffDayTime(t,e)}return r=u(i.start,e.start),i.end&&(o=u(i.unzonedRange.getEnd(),e.unzonedRange.getEnd()).subtract(r)),(s=new t).clearEnd=l,s.forceTimed=c,s.forceAllDay=d,s.setDateDelta(r),s.setEndDelta(o),s},t.prototype.buildNewDateProfile=function(t,e){var i=t.start.clone(),n=null,r=!1;return t.end&&!this.clearEnd?n=t.end.clone():this.endDelta&&!n&&(n=e.getDefaultEventEnd(t.isAllDay(),i)),this.forceTimed?(r=!0,i.hasTime()||i.time(0),n&&!n.hasTime()&&n.time(0)):this.forceAllDay&&(i.hasTime()&&i.stripTime(),n&&n.hasTime()&&n.stripTime()),this.dateDelta&&(r=!0,i.add(this.dateDelta),n&&n.add(this.dateDelta)),this.endDelta&&(r=!0,n.add(this.endDelta)),this.startDelta&&(r=!0,i.add(this.startDelta)),r&&(i=e.applyTimezone(i),n&&(n=e.applyTimezone(n))),!n&&e.opt("forceEventDuration")&&(n=e.getDefaultEventEnd(t.isAllDay(),i)),new a.default(i,n,e)},t.prototype.setDateDelta=function(t){t&&t.valueOf()?this.dateDelta=t:this.dateDelta=null},t.prototype.setStartDelta=function(t){t&&t.valueOf()?this.startDelta=t:this.startDelta=null},t.prototype.setEndDelta=function(t){t&&t.valueOf()?this.endDelta=t:this.endDelta=null},t.prototype.isEmpty=function(){return!(this.clearEnd||this.forceTimed||this.forceAllDay||this.dateDelta||this.startDelta||this.endDelta)},t}();e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=function(t){function e(e){var i=t.call(this)||this;return e=e||{},i.overflowX=e.overflowX||e.overflow||"auto",i.overflowY=e.overflowY||e.overflow||"auto",i}return n.__extends(e,t),e.prototype.render=function(){this.el=this.renderEl(),this.applyOverflow()},e.prototype.renderEl=function(){return this.scrollEl=a('<div class="fc-scroller"></div>')},e.prototype.clear=function(){this.setHeight("auto"),this.applyOverflow()},e.prototype.destroy=function(){this.el.remove()},e.prototype.applyOverflow=function(){this.scrollEl.css({"overflow-x":this.overflowX,"overflow-y":this.overflowY})},e.prototype.lockOverflow=function(t){var e=this.overflowX,i=this.overflowY;t=t||this.getScrollbarWidths(),"auto"===e&&(e=t.top||t.bottom||this.scrollEl[0].scrollWidth-1>this.scrollEl[0].clientWidth?"scroll":"hidden"),"auto"===i&&(i=t.left||t.right||this.scrollEl[0].scrollHeight-1>this.scrollEl[0].clientHeight?"scroll":"hidden"),this.scrollEl.css({"overflow-x":e,"overflow-y":i})},e.prototype.setHeight=function(t){this.scrollEl.height(t)},e.prototype.getScrollTop=function(){return this.scrollEl.scrollTop()},e.prototype.setScrollTop=function(t){this.scrollEl.scrollTop(t)},e.prototype.getClientWidth=function(){return this.scrollEl[0].clientWidth},e.prototype.getClientHeight=function(){return this.scrollEl[0].clientHeight},e.prototype.getScrollbarWidths=function(){return r.getScrollbarWidths(this.scrollEl)},e}(i(35).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=i(231),s=i(23),l=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.segSelector=".fc-event-container > *",n.dateSelectingClass&&(n.dateClicking=new n.dateClickingClass(n)),n.dateSelectingClass&&(n.dateSelecting=new n.dateSelectingClass(n)),n.eventPointingClass&&(n.eventPointing=new n.eventPointingClass(n)),n.eventDraggingClass&&n.eventPointing&&(n.eventDragging=new n.eventDraggingClass(n,n.eventPointing)),n.eventResizingClass&&n.eventPointing&&(n.eventResizing=new n.eventResizingClass(n,n.eventPointing)),n.externalDroppingClass&&(n.externalDropping=new n.externalDroppingClass(n)),n}return n.__extends(e,t),e.prototype.setElement=function(e){t.prototype.setElement.call(this,e),this.dateClicking&&this.dateClicking.bindToEl(e),this.dateSelecting&&this.dateSelecting.bindToEl(e),this.bindAllSegHandlersToEl(e)},e.prototype.removeElement=function(){this.endInteractions(),t.prototype.removeElement.call(this)},e.prototype.executeEventUnrender=function(){this.endInteractions(),t.prototype.executeEventUnrender.call(this)},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.bindToDocument()},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.unbindFromDocument()},e.prototype.bindDateHandlerToEl=function(t,e,i){var n=this;this.el.on(e,function(t){if(!a(t.target).is(n.segSelector+":not(.fc-helper),"+n.segSelector+":not(.fc-helper) *,.fc-more,a[data-goto]"))return i.call(n,t)})},e.prototype.bindAllSegHandlersToEl=function(t){[this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(e){e&&e.bindToEl(t)})},e.prototype.bindSegHandlerToEl=function(t,e,i){var n=this;t.on(e,this.segSelector,function(t){var e=a(t.currentTarget);if(!e.is(".fc-helper")){var r=e.data("fc-seg");if(r&&!n.shouldIgnoreEventPointing())return i.call(n,r,t)}})},e.prototype.shouldIgnoreMouse=function(){return s.default.get().shouldIgnoreMouse()},e.prototype.shouldIgnoreTouch=function(){var t=this._getView();return t.isSelected||t.selectedEvent},e.prototype.shouldIgnoreEventPointing=function(){return this.eventDragging&&this.eventDragging.isDragging||this.eventResizing&&this.eventResizing.isResizing},e.prototype.canStartSelection=function(t,e){return r.getEvIsTouch(e)&&!this.canStartResize(t,e)&&(this.isEventDefDraggable(t.footprint.eventDef)||this.isEventDefResizable(t.footprint.eventDef))},e.prototype.canStartDrag=function(t,e){return!this.canStartResize(t,e)&&this.isEventDefDraggable(t.footprint.eventDef)},e.prototype.canStartResize=function(t,e){var i=this._getView(),n=t.footprint.eventDef;return(!r.getEvIsTouch(e)||i.isEventDefSelected(n))&&this.isEventDefResizable(n)&&a(e.target).is(".fc-resizer")},e.prototype.endInteractions=function(){[this.dateClicking,this.dateSelecting,this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(t){t&&t.end()})},e.prototype.isEventDefDraggable=function(t){return this.isEventDefStartEditable(t)},e.prototype.isEventDefStartEditable=function(t){var e=t.isStartExplicitlyEditable();return null==e&&null==(e=this.opt("eventStartEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.isEventDefGenerallyEditable=function(t){var e=t.isExplicitlyEditable();return null==e&&(e=this.opt("editable")),e},e.prototype.isEventDefResizableFromStart=function(t){return this.opt("eventResizableFromStart")&&this.isEventDefResizable(t)},e.prototype.isEventDefResizableFromEnd=function(t){return this.isEventDefResizable(t)},e.prototype.isEventDefResizable=function(t){var e=t.isDurationExplicitlyEditable();return null==e&&null==(e=this.opt("eventDurationEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.diffDates=function(t,e){return this.largeUnit?r.diffByUnit(t,e,this.largeUnit):r.diffDayTime(t,e)},e.prototype.isEventInstanceGroupAllowed=function(t){var e,i=this._getView(),n=this.dateProfile,a=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e<a.length;e++)if(!n.validUnzonedRange.containsRange(a[e].componentFootprint.unzonedRange))return!1;return i.calendar.constraints.isEventInstanceGroupAllowed(t)},e.prototype.isExternalInstanceGroupAllowed=function(t){var e,i=this._getView(),n=this.dateProfile,a=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e<a.length;e++)if(!n.validUnzonedRange.containsRange(a[e].componentFootprint.unzonedRange))return!1;for(e=0;e<a.length;e++)if(!i.calendar.constraints.isSelectionFootprintAllowed(a[e].componentFootprint))return!1;return!0},e}(o.default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(0),o=i(4),s=i(229),l=i(55),c=i(42),d=i(23),u=i(5),h=function(t){function e(e,i){var n=t.call(this,null,i.options)||this;return n.batchRenderDepth=0,n.isSelected=!1,n.calendar=e,n.viewSpec=i,n.type=i.type,n.name=n.type,n.initRenderQueue(),n.initHiddenDays(),n.dateProfileGenerator=new n.dateProfileGeneratorClass(n),n.bindBaseRenderHandlers(),n.eventOrderSpecs=o.parseFieldSpecs(n.opt("eventOrder")),n.initialize&&n.initialize(),n}return n.__extends(e,t),e.prototype._getView=function(){return this},e.prototype.opt=function(t){return this.options[t]},e.prototype.initRenderQueue=function(){this.renderQueue=new s.default({event:this.opt("eventRenderWait")}),this.renderQueue.on("start",this.onRenderQueueStart.bind(this)),this.renderQueue.on("stop",this.onRenderQueueStop.bind(this)),this.on("before:change",this.startBatchRender),this.on("change",this.stopBatchRender)},e.prototype.onRenderQueueStart=function(){this.calendar.freezeContentHeight(),this.addScroll(this.queryScroll())},e.prototype.onRenderQueueStop=function(){this.calendar.updateViewSize()&&this.popScroll(),this.calendar.thawContentHeight()},e.prototype.startBatchRender=function(){this.batchRenderDepth++||this.renderQueue.pause()},e.prototype.stopBatchRender=function(){--this.batchRenderDepth||this.renderQueue.resume()},e.prototype.requestRender=function(t,e,i){this.renderQueue.queue(t,e,i)},e.prototype.whenSizeUpdated=function(t){this.renderQueue.isRunning?this.renderQueue.one("stop",t.bind(this)):t.call(this)},e.prototype.computeTitle=function(t){var e;return e=/^(year|month)$/.test(t.currentRangeUnit)?t.currentUnzonedRange:t.activeUnzonedRange,this.formatRange({start:this.calendar.msToMoment(e.startMs,t.isRangeAllDay),end:this.calendar.msToMoment(e.endMs,t.isRangeAllDay)},t.isRangeAllDay,this.opt("titleFormat")||this.computeTitleFormat(t),this.opt("titleRangeSeparator"))},e.prototype.computeTitleFormat=function(t){var e=t.currentRangeUnit;return"year"===e?"YYYY":"month"===e?this.opt("monthYearFormat"):t.currentUnzonedRange.as("days")>1?"ll":"LL"},e.prototype.setDate=function(t){var e=this.get("dateProfile"),i=this.dateProfileGenerator.build(t,void 0,!0);e&&e.activeUnzonedRange.equals(i.activeUnzonedRange)||this.set("dateProfile",i)},e.prototype.unsetDate=function(){this.unset("dateProfile")},e.prototype.fetchInitialEvents=function(t){var e=this.calendar,i=t.isRangeAllDay&&!this.usesMinMaxTime;return e.requestEvents(e.msToMoment(t.activeUnzonedRange.startMs,i),e.msToMoment(t.activeUnzonedRange.endMs,i))},e.prototype.bindEventChanges=function(){this.listenTo(this.calendar,"eventsReset",this.resetEvents)},e.prototype.unbindEventChanges=function(){this.stopListeningTo(this.calendar,"eventsReset")},e.prototype.setEvents=function(t){this.set("currentEvents",t),this.set("hasEvents",!0)},e.prototype.unsetEvents=function(){this.unset("currentEvents"),this.unset("hasEvents")},e.prototype.resetEvents=function(t){this.startBatchRender(),this.unsetEvents(),this.setEvents(t),this.stopBatchRender()},e.prototype.requestDateRender=function(t){var e=this;this.requestRender(function(){e.executeDateRender(t)},"date","init")},e.prototype.requestDateUnrender=function(){var t=this;this.requestRender(function(){t.executeDateUnrender()},"date","destroy")},e.prototype.executeDateRender=function(e){t.prototype.executeDateRender.call(this,e),this.render&&this.render(),this.trigger("datesRendered"),this.addScroll({isDateInit:!0}),this.startNowIndicator()},e.prototype.executeDateUnrender=function(){this.unselect(),this.stopNowIndicator(),this.trigger("before:datesUnrendered"),this.destroy&&this.destroy(),t.prototype.executeDateUnrender.call(this)},e.prototype.bindBaseRenderHandlers=function(){var t=this;this.on("datesRendered",function(){t.whenSizeUpdated(t.triggerViewRender)}),this.on("before:datesUnrendered",function(){t.triggerViewDestroy()})},e.prototype.triggerViewRender=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerViewDestroy=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.requestEventsRender=function(t){var e=this;this.requestRender(function(){e.executeEventRender(t),e.whenSizeUpdated(e.triggerAfterEventsRendered)},"event","init")},e.prototype.requestEventsUnrender=function(){var t=this;this.requestRender(function(){t.triggerBeforeEventsDestroyed(),t.executeEventUnrender()},"event","destroy")},e.prototype.requestBusinessHoursRender=function(t){var e=this;this.requestRender(function(){e.renderBusinessHours(t)},"businessHours","init")},e.prototype.requestBusinessHoursUnrender=function(){var t=this;this.requestRender(function(){t.unrenderBusinessHours()},"businessHours","destroy")},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.listenTo(d.default.get(),{touchstart:this.processUnselect,mousedown:this.handleDocumentMousedown})},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.stopListeningTo(d.default.get())},e.prototype.startNowIndicator=function(){var t,e,i,n=this;this.opt("nowIndicator")&&(t=this.getNowIndicatorUnit())&&(e=o.proxy(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),i=this.initialNowDate.clone().startOf(t).add(1,t).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout(function(){n.nowIndicatorTimeoutID=null,e(),i=+r.duration(1,t),i=Math.max(100,i),n.nowIndicatorIntervalID=setInterval(e,i)},i))},e.prototype.updateNowIndicator=function(){this.isDatesRendered&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add((new Date).valueOf()-this.initialNowQueriedMs)),this.isNowIndicatorRendered=!0)},e.prototype.stopNowIndicator=function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearInterval(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},e.prototype.updateSize=function(e,i,n){this.setHeight?this.setHeight(e,i):t.prototype.updateSize.call(this,e,i,n),this.updateNowIndicator()},e.prototype.addScroll=function(t){var e=this.queuedScroll||(this.queuedScroll={});a.extend(e,t)},e.prototype.popScroll=function(){this.applyQueuedScroll(),this.queuedScroll=null},e.prototype.applyQueuedScroll=function(){this.queuedScroll&&this.applyScroll(this.queuedScroll)},e.prototype.queryScroll=function(){var t={};return this.isDatesRendered&&a.extend(t,this.queryDateScroll()),t},e.prototype.applyScroll=function(t){t.isDateInit&&this.isDatesRendered&&a.extend(t,this.computeInitialDateScroll()),this.isDatesRendered&&this.applyDateScroll(t)},e.prototype.computeInitialDateScroll=function(){return{}},e.prototype.queryDateScroll=function(){return{}},e.prototype.applyDateScroll=function(t){},e.prototype.reportEventDrop=function(t,e,i,n){var a=this.calendar.eventManager.mutateEventsWithId(t.def.id,e),o=e.dateMutation;o&&(t.dateProfile=o.buildNewDateProfile(t.dateProfile,this.calendar)),this.triggerEventDrop(t,o&&o.dateDelta||r.duration(),a,i,n)},e.prototype.triggerEventDrop=function(t,e,i,n,a){this.publiclyTrigger("eventDrop",{context:n[0],args:[t.toLegacy(),e,i,a,{},this]})},e.prototype.reportExternalDrop=function(t,e,i,n,a,r){e&&this.calendar.eventManager.addEventDef(t,i),this.triggerExternalDrop(t,e,n,a,r)},e.prototype.triggerExternalDrop=function(t,e,i,n,a){this.publiclyTrigger("drop",{context:i[0],args:[t.dateProfile.start.clone(),n,a,this]}),e&&this.publiclyTrigger("eventReceive",{context:this,args:[t.buildInstance().toLegacy(),this]})},e.prototype.reportEventResize=function(t,e,i,n){var a=this.calendar.eventManager.mutateEventsWithId(t.def.id,e);t.dateProfile=e.dateMutation.buildNewDateProfile(t.dateProfile,this.calendar);var r=e.dateMutation.endDelta||e.dateMutation.startDelta;this.triggerEventResize(t,r,a,i,n)},e.prototype.triggerEventResize=function(t,e,i,n,a){this.publiclyTrigger("eventResize",{context:n[0],args:[t.toLegacy(),e,i,a,{},this]})},e.prototype.select=function(t,e){this.unselect(e),this.renderSelectionFootprint(t),this.reportSelection(t,e)},e.prototype.renderSelectionFootprint=function(e){this.renderSelection?this.renderSelection(e.toLegacy(this.calendar)):t.prototype.renderSelectionFootprint.call(this,e)},e.prototype.reportSelection=function(t,e){this.isSelected=!0,this.triggerSelect(t,e)},e.prototype.triggerSelect=function(t,e){var i=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("select",{context:this,args:[i.start,i.end,e,this]})},e.prototype.unselect=function(t){this.isSelected&&(this.isSelected=!1,this.destroySelection&&this.destroySelection(),this.unrenderSelection(),this.publiclyTrigger("unselect",{context:this,args:[t,this]}))},e.prototype.selectEventInstance=function(t){this.selectedEventInstance&&this.selectedEventInstance===t||(this.unselectEventInstance(),this.getEventSegs().forEach(function(e){e.footprint.eventInstance===t&&e.el&&e.el.addClass("fc-selected")}),this.selectedEventInstance=t)},e.prototype.unselectEventInstance=function(){this.selectedEventInstance&&(this.getEventSegs().forEach(function(t){t.el&&t.el.removeClass("fc-selected")}),this.selectedEventInstance=null)},e.prototype.isEventDefSelected=function(t){return this.selectedEventInstance&&this.selectedEventInstance.def.id===t.id},e.prototype.handleDocumentMousedown=function(t){o.isPrimaryMouseButton(t)&&this.processUnselect(t)},e.prototype.processUnselect=function(t){this.processRangeUnselect(t),this.processEventUnselect(t)},e.prototype.processRangeUnselect=function(t){var e;this.isSelected&&this.opt("unselectAuto")&&((e=this.opt("unselectCancel"))&&a(t.target).closest(e).length||this.unselect(t))},e.prototype.processEventUnselect=function(t){this.selectedEventInstance&&(a(t.target).closest(".fc-selected").length||this.unselectEventInstance())},e.prototype.triggerBaseRendered=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerBaseUnrendered=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.triggerDayClick=function(t,e,i){var n=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("dayClick",{context:e,args:[n.start,i,this]})},e.prototype.isDateInOtherMonth=function(t,e){return!1},e.prototype.getUnzonedRangeOption=function(t){var e=this.opt(t);if("function"==typeof e&&(e=e.apply(null,Array.prototype.slice.call(arguments,1))),e)return this.calendar.parseUnzonedRange(e)},e.prototype.initHiddenDays=function(){var t,e=this.opt("hiddenDays")||[],i=[],n=0;for(!1===this.opt("weekends")&&e.push(0,6),t=0;t<7;t++)(i[t]=-1!==a.inArray(t,e))||n++;if(!n)throw new Error("invalid hiddenDays");this.isHiddenDayHash=i},e.prototype.trimHiddenDays=function(t){var e=t.getStart(),i=t.getEnd();return e&&(e=this.skipHiddenDays(e)),i&&(i=this.skipHiddenDays(i,-1,!0)),null===e||null===i||e<i?new u.default(e,i):null},e.prototype.isHiddenDay=function(t){return r.isMoment(t)&&(t=t.day()),this.isHiddenDayHash[t]},e.prototype.skipHiddenDays=function(t,e,i){void 0===e&&(e=1),void 0===i&&(i=!1);for(var n=t.clone();this.isHiddenDayHash[(n.day()+(i?e:0)+7)%7];)n.add(e,"days");return n},e}(c.default);e.default=h,h.prototype.usesMinMaxTime=!1,h.prototype.dateProfileGeneratorClass=l.default,h.watch("displayingDates",["isInDom","dateProfile"],function(t){this.requestDateRender(t.dateProfile)},function(){this.requestDateUnrender()}),h.watch("displayingBusinessHours",["displayingDates","businessHourGenerator"],function(t){this.requestBusinessHoursRender(t.businessHourGenerator)},function(){this.requestBusinessHoursUnrender()}),h.watch("initialEvents",["dateProfile"],function(t){return this.fetchInitialEvents(t.dateProfile)}),h.watch("bindingEvents",["initialEvents"],function(t){this.setEvents(t.initialEvents),this.bindEventChanges()},function(){this.unbindEventChanges(),this.unsetEvents()}),h.watch("displayingEvents",["displayingDates","hasEvents"],function(){this.requestEventsRender(this.get("currentEvents"))},function(){this.requestEventsUnrender()}),h.watch("title",["dateProfile"],function(t){return this.title=this.computeTitle(t.dateProfile)}),h.watch("legacyDateProps",["dateProfile"],function(t){var e=this.calendar,i=t.dateProfile;this.start=e.msToMoment(i.activeUnzonedRange.startMs,i.isRangeAllDay),this.end=e.msToMoment(i.activeUnzonedRange.endMs,i.isRangeAllDay),this.intervalStart=e.msToMoment(i.currentUnzonedRange.startMs,i.isRangeAllDay),this.intervalEnd=e.msToMoment(i.currentUnzonedRange.endMs,i.isRangeAllDay)})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=function(){function t(t,e){this.view=t._getView(),this.component=t,this.fillRenderer=e}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.rangeUpdated=function(){var t,e;this.eventTimeFormat=this.opt("eventTimeFormat")||this.opt("timeFormat")||this.computeEventTimeFormat(),null==(t=this.opt("displayEventTime"))&&(t=this.computeDisplayEventTime()),null==(e=this.opt("displayEventEnd"))&&(e=this.computeDisplayEventEnd()),this.displayEventTime=t,this.displayEventEnd=e},t.prototype.render=function(t){var e,i,n,a=this.component._getDateProfile(),r=[],o=[];for(e in t)n=(i=t[e]).sliceRenderRanges(a.activeUnzonedRange),i.getEventDef().hasBgRendering()?r.push.apply(r,n):o.push.apply(o,n);this.renderBgRanges(r),this.renderFgRanges(o)},t.prototype.unrender=function(){this.unrenderBgRanges(),this.unrenderFgRanges()},t.prototype.renderFgRanges=function(t){var e=this.component.eventRangesToEventFootprints(t),i=this.component.eventFootprintsToSegs(e);i=this.renderFgSegEls(i),!1!==this.renderFgSegs(i)&&(this.fgSegs=i)},t.prototype.unrenderFgRanges=function(){this.unrenderFgSegs(this.fgSegs||[]),this.fgSegs=null},t.prototype.renderBgRanges=function(t){var e=this.component.eventRangesToEventFootprints(t),i=this.component.eventFootprintsToSegs(e);!1!==this.renderBgSegs(i)&&(this.bgSegs=i)},t.prototype.unrenderBgRanges=function(){this.unrenderBgSegs(),this.bgSegs=null},t.prototype.getSegs=function(){return(this.bgSegs||[]).concat(this.fgSegs||[])},t.prototype.renderFgSegs=function(t){return!1},t.prototype.unrenderFgSegs=function(t){},t.prototype.renderBgSegs=function(t){var e=this;if(!this.fillRenderer)return!1;this.fillRenderer.renderSegs("bgEvent",t,{getClasses:function(t){return e.getBgClasses(t.footprint.eventDef)},getCss:function(t){return{"background-color":e.getBgColor(t.footprint.eventDef)}},filterEl:function(t,i){return e.filterEventRenderEl(t.footprint,i)}})},t.prototype.unrenderBgSegs=function(){this.fillRenderer&&this.fillRenderer.unrender("bgEvent")},t.prototype.renderFgSegEls=function(t,e){var i=this;void 0===e&&(e=!1);var a,r=this.view.hasPublicHandlers("eventRender"),o="",s=[];if(t.length){for(a=0;a<t.length;a++)this.beforeFgSegHtml(t[a]),o+=this.fgSegHtml(t[a],e);n(o).each(function(e,a){var o=t[e],l=n(a);r&&(l=i.filterEventRenderEl(o.footprint,l)),l&&(l.data("fc-seg",o),o.el=l,s.push(o))})}return s},t.prototype.beforeFgSegHtml=function(t){},t.prototype.fgSegHtml=function(t,e){},t.prototype.getSegClasses=function(t,e,i){var n=["fc-event",t.isStart?"fc-start":"fc-not-start",t.isEnd?"fc-end":"fc-not-end"].concat(this.getClasses(t.footprint.eventDef));return e&&n.push("fc-draggable"),i&&n.push("fc-resizable"),this.view.isEventDefSelected(t.footprint.eventDef)&&n.push("fc-selected"),n},t.prototype.filterEventRenderEl=function(t,e){var i=t.getEventLegacy(),a=this.view.publiclyTrigger("eventRender",{context:i,args:[i,e,this.view]});return!1===a?e=null:a&&!0!==a&&(e=n(a)),e},t.prototype.getTimeText=function(t,e,i){return this._getTimeText(t.eventInstance.dateProfile.start,t.eventInstance.dateProfile.end,t.componentFootprint.isAllDay,e,i)},t.prototype._getTimeText=function(t,e,i,n,a){return null==n&&(n=this.eventTimeFormat),null==a&&(a=this.displayEventEnd),this.displayEventTime&&!i?a&&e?this.view.formatRange({start:t,end:e},!1,n):t.format(n):""},t.prototype.computeEventTimeFormat=function(){return this.opt("smallTimeFormat")},t.prototype.computeDisplayEventTime=function(){return!0},t.prototype.computeDisplayEventEnd=function(){return!0},t.prototype.getBgClasses=function(t){var e=this.getClasses(t);return e.push("fc-bgevent"),e},t.prototype.getClasses=function(t){var e,i=this.getStylingObjs(t),n=[];for(e=0;e<i.length;e++)n.push.apply(n,i[e].eventClassName||i[e].className||[]);return n},t.prototype.getSkinCss=function(t){return{"background-color":this.getBgColor(t),"border-color":this.getBorderColor(t),color:this.getTextColor(t)}},t.prototype.getBgColor=function(t){var e,i,n=this.getStylingObjs(t);for(e=0;e<n.length&&!i;e++)i=n[e].eventBackgroundColor||n[e].eventColor||n[e].backgroundColor||n[e].color;return i||(i=this.opt("eventBackgroundColor")||this.opt("eventColor")),i},t.prototype.getBorderColor=function(t){var e,i,n=this.getStylingObjs(t);for(e=0;e<n.length&&!i;e++)i=n[e].eventBorderColor||n[e].eventColor||n[e].borderColor||n[e].color;return i||(i=this.opt("eventBorderColor")||this.opt("eventColor")),i},t.prototype.getTextColor=function(t){var e,i,n=this.getStylingObjs(t);for(e=0;e<n.length&&!i;e++)i=n[e].eventTextColor||n[e].textColor;return i||(i=this.opt("eventTextColor")),i},t.prototype.getStylingObjs=function(t){var e=this.getFallbackStylingObjs(t);return e.unshift(t),e},t.prototype.getFallbackStylingObjs=function(t){return[t.source]},t.prototype.sortEventSegs=function(t){t.sort(a.proxy(this,"compareEventSegs"))},t.prototype.compareEventSegs=function(t,e){var i=t.footprint,n=e.footprint,r=i.componentFootprint,o=n.componentFootprint,s=r.unzonedRange,l=o.unzonedRange;return s.startMs-l.startMs||l.endMs-l.startMs-(s.endMs-s.startMs)||o.isAllDay-r.isAllDay||a.compareByFieldSpecs(i.eventDef,n.eventDef,this.view.eventOrderSpecs,i.eventDef.miscProps,n.eventDef.miscProps)},t}();e.default=r},,,,,function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(11);function a(t){return"en"!==t.locale()?t.clone().locale("en"):t}n.newMomentProto.format=function(){return this._fullCalendar&&arguments[0]?u(this,arguments[0]):this._ambigTime?n.oldMomentFormat(a(this),"YYYY-MM-DD"):this._ambigZone?n.oldMomentFormat(a(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?n.oldMomentFormat(a(this)):n.oldMomentProto.format.apply(this,arguments)},n.newMomentProto.toISOString=function(){return this._ambigTime?n.oldMomentFormat(a(this),"YYYY-MM-DD"):this._ambigZone?n.oldMomentFormat(a(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?n.oldMomentProto.toISOString.apply(a(this),arguments):n.oldMomentProto.toISOString.apply(this,arguments)};var r="\v",o="",s="",l=new RegExp(s+"([^"+s+"]*)"+s,"g"),c={t:function(t){return n.oldMomentFormat(t,"a").charAt(0)},T:function(t){return n.oldMomentFormat(t,"A").charAt(0)}},d={Y:{value:1,unit:"year"},M:{value:2,unit:"month"},W:{value:3,unit:"week"},w:{value:3,unit:"week"},D:{value:4,unit:"day"},d:{value:4,unit:"day"}};function u(t,e){return function(t,e){return b(y(t,e).join(""))}(p(e).fakeFormatString,t)}e.formatDate=u,e.formatRange=function(t,e,i,a,r){return t=n.default.parseZone(t),e=n.default.parseZone(e),function(t,e,i,n,a){var r,o,s,l=t.sameUnits,c=e.clone().stripZone(),d=i.clone().stripZone(),u=y(t.fakeFormatString,e),h=y(t.fakeFormatString,i),p="",f="",g="",m="",v="";for(r=0;r<l.length&&(!l[r]||c.isSame(d,l[r]));r++)p+=u[r];for(o=l.length-1;o>r&&(!l[o]||c.isSame(d,l[o]))&&(o-1!==r||"."!==u[o]);o--)f=u[o]+f;for(s=r;s<=o;s++)g+=u[s],m+=h[s];return(g||m)&&(v=a?m+n+g:g+n+m),b(p+v+f)}(p(i=t.localeData().longDateFormat(i)||i),t,e,a||" - ",r)};var h={};function p(t){return h[t]||(h[t]=function(t){var e=f(t);return{fakeFormatString:m(e),sameUnits:v(e)}}(t))}function f(t){for(var e,i=[],n=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;e=n.exec(t);)e[1]?i.push.apply(i,g(e[1])):e[2]?i.push({maybe:f(e[2])}):e[3]?i.push({token:e[3]}):e[5]&&i.push.apply(i,g(e[5]));return i}function g(t){return". "===t?["."," "]:[t]}function m(t){var e,i,n=[];for(e=0;e<t.length;e++)"string"==typeof(i=t[e])?n.push("["+i+"]"):i.token?i.token in c?n.push(o+"["+i.token+"]"):n.push(i.token):i.maybe&&n.push(s+m(i.maybe)+s);return n.join(r)}function v(t){var e,i,n,a=[];for(e=0;e<t.length;e++)(i=t[e]).token?(n=d[i.token.charAt(0)],a.push(n?n.unit:"second")):i.maybe?a.push.apply(a,v(i.maybe)):a.push(null);return a}function y(t,e){var i,a,s=[],l=n.oldMomentFormat(e,t).split(r);for(i=0;i<l.length;i++)(a=l[i]).charAt(0)===o?s.push(c[a.substring(1)](e)):s.push(a);return s}function b(t){return t.replace(l,function(t,e){return e.match(/[1-9]/)?e:""})}e.queryMostGranularFormatUnit=function(t){var e,i,n,a,r=f(t);for(e=0;e<r.length;e++)(i=r[e]).token&&(n=d[i.token.charAt(0)])&&(!a||n.value>a.value)&&(a=n);return a?a.unit:null}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){return function(t,e,i){this.unzonedRange=t,this.eventDef=e,i&&(this.eventInstance=i)}}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(35),r=i(13),o=i(7),s=function(t){function e(){var e=t.call(this)||this;return e._watchers={},e._props={},e.applyGlobalWatchers(),e.constructed(),e}return n.__extends(e,t),e.watch=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this.prototype.hasOwnProperty("_globalWatchArgs")||(this.prototype._globalWatchArgs=Object.create(this.prototype._globalWatchArgs)),this.prototype._globalWatchArgs[t]=e},e.prototype.constructed=function(){},e.prototype.applyGlobalWatchers=function(){var t,e=this._globalWatchArgs;for(t in e)this.watch.apply(this,[t].concat(e[t]))},e.prototype.has=function(t){return t in this._props},e.prototype.get=function(t){return void 0===t?this._props:this._props[t]},e.prototype.set=function(t,e){var i;"string"==typeof t?(i={})[t]=void 0===e?null:e:i=t,this.setProps(i)},e.prototype.reset=function(t){var e,i=this._props,n={};for(e in i)n[e]=void 0;for(e in t)n[e]=t[e];this.setProps(n)},e.prototype.unset=function(t){var e,i,n={};for(e="string"==typeof t?[t]:t,i=0;i<e.length;i++)n[e[i]]=void 0;this.setProps(n)},e.prototype.setProps=function(t){var e,i,n={},a=0;for(e in t)"object"!=typeof(i=t[e])&&i===this._props[e]||(n[e]=i,a++);if(a){for(e in this.trigger("before:batchChange",n),n)i=n[e],this.trigger("before:change",e,i),this.trigger("before:change:"+e,i);for(e in n)void 0===(i=n[e])?delete this._props[e]:this._props[e]=i,this.trigger("change:"+e,i),this.trigger("change",e,i);this.trigger("batchChange",n)}},e.prototype.watch=function(t,e,i,n){var a=this;this.unwatch(t),this._watchers[t]=this._watchDeps(e,function(e){var n=i.call(a,e);n&&n.then?(a.unset(t),n.then(function(e){a.set(t,e)})):a.set(t,n)},function(e){a.unset(t),n&&n.call(a,e)})},e.prototype.unwatch=function(t){var e=this._watchers[t];e&&(delete this._watchers[t],e.teardown())},e.prototype._watchDeps=function(t,e,i){var n=this,a=0,r=t.length,o=0,s={},l=[],c=!1,d=function(t,e){n.on(t,e),l.push([t,e])};return t.forEach(function(t){var n=!1;"?"===t.charAt(0)&&(t=t.substring(1),n=!0),d("before:change:"+t,function(t){1==++a&&o===r&&(c=!0,i(s),c=!1)}),d("change:"+t,function(i){!function(t,i,n){void 0===i?(n||void 0===s[t]||o--,delete s[t]):(n||void 0!==s[t]||o++,s[t]=i),--a||o===r&&(c||e(s))}(t,i,n)})}),t.forEach(function(t){var e=!1;"?"===t.charAt(0)&&(t=t.substring(1),e=!0),n.has(t)?(s[t]=n.get(t),o++):e&&o++}),o===r&&e(s),{teardown:function(){for(var t=0;t<l.length;t++)n.off(l[t][0],l[t][1]);l=null,o===r&&i()},flash:function(){o===r&&(i(),e(s))}}},e.prototype.flash=function(t){var e=this._watchers[t];e&&e.flash()},e}(a.default);e.default=s,s.prototype._globalWatchArgs={},r.default.mixInto(s),o.default.mixInto(s)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(4),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.defineStandardProps=function(t){var e=this.prototype;e.hasOwnProperty("standardPropMap")||(e.standardPropMap=Object.create(e.standardPropMap)),a.copyOwnProps(t,e.standardPropMap)},e.copyVerbatimStandardProps=function(t,e){var i,n=this.prototype.standardPropMap;for(i in n)null!=t[i]&&!0===n[i]&&(e[i]=t[i])},e.prototype.applyProps=function(t){var e,i=this.standardPropMap,n={},a={};for(e in t)!0===i[e]?this[e]=t[e]:!1===i[e]?n[e]=t[e]:a[e]=t[e];return this.applyMiscProps(a),this.applyManualStandardProps(n)},e.prototype.applyManualStandardProps=function(t){return!0},e.prototype.applyMiscProps=function(t){},e.prototype.isStandardProp=function(t){return t in this.standardPropMap},e}(i(15).default);e.default=r,r.prototype.standardPropMap={}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.def=t,this.dateProfile=e}return t.prototype.toLegacy=function(){var t=this.dateProfile,e=this.def.toLegacy();return e.start=t.start.clone(),e.end=t.end?t.end.clone():null,e},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(0),o=i(37),s=i(53),l=i(16),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.isAllDay=function(){return!this.startTime&&!this.endTime},e.prototype.buildInstances=function(t){for(var e,i,n,a=this.source.calendar,r=t.getStart(),o=t.getEnd(),c=[];r.isBefore(o);)this.dowHash&&!this.dowHash[r.day()]||(i=(e=a.applyTimezone(r)).clone(),n=null,this.startTime?i.time(this.startTime):i.stripTime(),this.endTime&&(n=e.clone().time(this.endTime)),c.push(new s.default(this,new l.default(i,n,a)))),r.add(1,"days");return c},e.prototype.setDow=function(t){this.dowHash||(this.dowHash={});for(var e=0;e<t.length;e++)this.dowHash[t[e]]=!0},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.startTime&&(e.startTime=r.duration(this.startTime)),e.endTime&&(e.endTime=r.duration(this.endTime)),this.dowHash&&(e.dowHash=a.extend({},this.dowHash)),e},e}(o.default);e.default=c,c.prototype.applyProps=function(t){var e=o.default.prototype.applyProps.call(this,t);return t.start&&(this.startTime=r.duration(t.start)),t.end&&(this.endTime=r.duration(t.end)),t.dow&&this.setDow(t.dow),e},c.defineStandardProps({start:!1,end:!1,dow:!1})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=i(4),r=i(5),o=function(){function t(t){this._view=t}return t.prototype.opt=function(t){return this._view.opt(t)},t.prototype.trimHiddenDays=function(t){return this._view.trimHiddenDays(t)},t.prototype.msToUtcMoment=function(t,e){return this._view.calendar.msToUtcMoment(t,e)},t.prototype.buildPrev=function(t){var e=t.date.clone().startOf(t.currentRangeUnit).subtract(t.dateIncrement);return this.build(e,-1)},t.prototype.buildNext=function(t){var e=t.date.clone().startOf(t.currentRangeUnit).add(t.dateIncrement);return this.build(e,1)},t.prototype.build=function(t,e,i){void 0===i&&(i=!1);var a,r,o,s,l,c,d,u,h=!t.hasTime();return a=this.buildValidRange(),a=this.trimHiddenDays(a),i&&(t=this.msToUtcMoment(a.constrainDate(t),h)),s=this.buildCurrentRangeInfo(t,e),l=/^(year|month|week|day)$/.test(s.unit),c=this.buildRenderRange(this.trimHiddenDays(s.unzonedRange),s.unit,l),d=(c=this.trimHiddenDays(c)).clone(),this.opt("showNonCurrentDates")||(d=d.intersect(s.unzonedRange)),r=n.duration(this.opt("minTime")),o=n.duration(this.opt("maxTime")),(d=(d=this.adjustActiveRange(d,r,o)).intersect(a))&&(t=this.msToUtcMoment(d.constrainDate(t),h)),u=s.unzonedRange.intersectsWith(a),{validUnzonedRange:a,currentUnzonedRange:s.unzonedRange,currentRangeUnit:s.unit,isRangeAllDay:l,activeUnzonedRange:d,renderUnzonedRange:c,minTime:r,maxTime:o,isValid:u,date:t,dateIncrement:this.buildDateIncrement(s.duration)}},t.prototype.buildValidRange=function(){return this._view.getUnzonedRangeOption("validRange",this._view.calendar.getNow())||new r.default},t.prototype.buildCurrentRangeInfo=function(t,e){var i,n=this._view.viewSpec,r=null,o=null,s=null;return n.duration?(r=n.duration,o=n.durationUnit,s=this.buildRangeFromDuration(t,e,r,o)):(i=this.opt("dayCount"))?(o="day",s=this.buildRangeFromDayCount(t,e,i)):(s=this.buildCustomVisibleRange(t))?o=a.computeGreatestUnit(s.getStart(),s.getEnd()):(r=this.getFallbackDuration(),o=a.computeGreatestUnit(r),s=this.buildRangeFromDuration(t,e,r,o)),{duration:r,unit:o,unzonedRange:s}},t.prototype.getFallbackDuration=function(){return n.duration({days:1})},t.prototype.adjustActiveRange=function(t,e,i){var n=t.getStart(),a=t.getEnd();return this._view.usesMinMaxTime&&(e<0&&n.time(0).add(e),i>864e5&&a.time(i-864e5)),new r.default(n,a)},t.prototype.buildRangeFromDuration=function(t,e,i,o){var s,l,c,d,u,h=this.opt("dateAlignment");function p(){c=t.clone().startOf(h),d=c.clone().add(i),u=new r.default(c,d)}return h||((s=this.opt("dateIncrement"))?(l=n.duration(s),h=l<i?a.computeDurationGreatestUnit(l,s):o):h=o),i.as("days")<=1&&this._view.isHiddenDay(c)&&(c=this._view.skipHiddenDays(c,e)).startOf("day"),p(),this.trimHiddenDays(u)||(t=this._view.skipHiddenDays(t,e),p()),u},t.prototype.buildRangeFromDayCount=function(t,e,i){var n,a,o=this.opt("dateAlignment"),s=0;if(o||-1!==e){n=t.clone(),o&&n.startOf(o),n.startOf("day"),a=(n=this._view.skipHiddenDays(n)).clone();do{a.add(1,"day"),this._view.isHiddenDay(a)||s++}while(s<i)}else{a=t.clone().startOf("day").add(1,"day"),n=(a=this._view.skipHiddenDays(a,-1,!0)).clone();do{n.add(-1,"day"),this._view.isHiddenDay(n)||s++}while(s<i)}return new r.default(n,a)},t.prototype.buildCustomVisibleRange=function(t){var e=this._view.getUnzonedRangeOption("visibleRange",this._view.calendar.applyTimezone(t));return!e||null!=e.startMs&&null!=e.endMs?e:null},t.prototype.buildRenderRange=function(t,e,i){return t.clone()},t.prototype.buildDateIncrement=function(t){var e,i=this.opt("dateIncrement");return i?n.duration(i):(e=this.opt("dateAlignment"))?n.duration(1,e):t||n.duration({days:1})},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=i(21),s=i(6),l=i(9),c=function(t){function e(e){var i=t.call(this,e)||this;return i.eventDefs=[],i}return n.__extends(e,t),e.parse=function(t,e){var i;return a.isArray(t.events)?i=t:a.isArray(t)&&(i={events:t}),!!i&&s.default.parse.call(this,i,e)},e.prototype.setRawEventDefs=function(t){this.rawEventDefs=t,this.eventDefs=this.parseEventDefs(t)},e.prototype.fetch=function(t,e,i){var n,a=this.eventDefs;if(null!=this.currentTimezone&&this.currentTimezone!==i)for(n=0;n<a.length;n++)a[n]instanceof l.default&&a[n].rezone();return this.currentTimezone=i,o.default.resolve(a)},e.prototype.addEventDef=function(t){this.eventDefs.push(t)},e.prototype.removeEventDefsById=function(t){return r.removeMatching(this.eventDefs,function(e){return e.id===t})},e.prototype.removeAllEventDefs=function(){this.eventDefs=[]},e.prototype.getPrimitive=function(){return this.rawEventDefs},e.prototype.applyManualStandardProps=function(e){var i=t.prototype.applyManualStandardProps.call(this,e);return this.setRawEventDefs(e.events),i},e}(s.default);e.default=c,c.defineStandardProps({events:!1})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(221),a=i(222),r={};e.defineThemeSystem=function(t,e){r[t]=e},e.getThemeSystemClass=function(t){return t?!0===t?a.default:r[t]:n.default}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=function(){function t(t){this.isHorizontal=!1,this.isVertical=!1,this.els=n(t.els),this.isHorizontal=t.isHorizontal,this.isVertical=t.isVertical,this.forcedOffsetParentEl=t.offsetParent?n(t.offsetParent):null}return t.prototype.build=function(){var t=this.forcedOffsetParentEl;!t&&this.els.length>0&&(t=this.els.eq(0).offsetParent()),this.origin=t?t.offset():null,this.boundingRect=this.queryBoundingRect(),this.isHorizontal&&this.buildElHorizontals(),this.isVertical&&this.buildElVerticals()},t.prototype.clear=function(){this.origin=null,this.boundingRect=null,this.lefts=null,this.rights=null,this.tops=null,this.bottoms=null},t.prototype.ensureBuilt=function(){this.origin||this.build()},t.prototype.buildElHorizontals=function(){var t=[],e=[];this.els.each(function(i,a){var r=n(a),o=r.offset().left,s=r.outerWidth();t.push(o),e.push(o+s)}),this.lefts=t,this.rights=e},t.prototype.buildElVerticals=function(){var t=[],e=[];this.els.each(function(i,a){var r=n(a),o=r.offset().top,s=r.outerHeight();t.push(o),e.push(o+s)}),this.tops=t,this.bottoms=e},t.prototype.getHorizontalIndex=function(t){this.ensureBuilt();var e,i=this.lefts,n=this.rights,a=i.length;for(e=0;e<a;e++)if(t>=i[e]&&t<n[e])return e},t.prototype.getVerticalIndex=function(t){this.ensureBuilt();var e,i=this.tops,n=this.bottoms,a=i.length;for(e=0;e<a;e++)if(t>=i[e]&&t<n[e])return e},t.prototype.getLeftOffset=function(t){return this.ensureBuilt(),this.lefts[t]},t.prototype.getLeftPosition=function(t){return this.ensureBuilt(),this.lefts[t]-this.origin.left},t.prototype.getRightOffset=function(t){return this.ensureBuilt(),this.rights[t]},t.prototype.getRightPosition=function(t){return this.ensureBuilt(),this.rights[t]-this.origin.left},t.prototype.getWidth=function(t){return this.ensureBuilt(),this.rights[t]-this.lefts[t]},t.prototype.getTopOffset=function(t){return this.ensureBuilt(),this.tops[t]},t.prototype.getTopPosition=function(t){return this.ensureBuilt(),this.tops[t]-this.origin.top},t.prototype.getBottomOffset=function(t){return this.ensureBuilt(),this.bottoms[t]},t.prototype.getBottomPosition=function(t){return this.ensureBuilt(),this.bottoms[t]-this.origin.top},t.prototype.getHeight=function(t){return this.ensureBuilt(),this.bottoms[t]-this.tops[t]},t.prototype.queryBoundingRect=function(){var t;return this.els.length>0&&!(t=a.getScrollParent(this.els.eq(0))).is(document)&&!t.is("html,body")?a.getClientRect(t):null},t.prototype.isPointInBounds=function(t,e){return this.isLeftInBounds(t)&&this.isTopInBounds(e)},t.prototype.isLeftInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.left&&t<this.boundingRect.right},t.prototype.isTopInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.top&&t<this.boundingRect.bottom},t}();e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=i(7),o=i(23),s=function(){function t(t){this.isInteracting=!1,this.isDistanceSurpassed=!1,this.isDelayEnded=!1,this.isDragging=!1,this.isTouch=!1,this.isGeneric=!1,this.shouldCancelTouchScroll=!0,this.scrollAlwaysKills=!1,this.isAutoScroll=!1,this.scrollSensitivity=30,this.scrollSpeed=200,this.scrollIntervalMs=50,this.options=t||{}}return t.prototype.startInteraction=function(t,e){if(void 0===e&&(e={}),"mousedown"===t.type){if(o.default.get().shouldIgnoreMouse())return;if(!a.isPrimaryMouseButton(t))return;t.preventDefault()}this.isInteracting||(this.delay=a.firstDefined(e.delay,this.options.delay,0),this.minDistance=a.firstDefined(e.distance,this.options.distance,0),this.subjectEl=this.options.subjectEl,a.preventSelection(n("body")),this.isInteracting=!0,this.isTouch=a.getEvIsTouch(t),this.isGeneric="dragstart"===t.type,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.originX=a.getEvX(t),this.originY=a.getEvY(t),this.scrollEl=a.getScrollParent(n(t.target)),this.bindHandlers(),this.initAutoScroll(),this.handleInteractionStart(t),this.startDelay(t),this.minDistance||this.handleDistanceSurpassed(t))},t.prototype.handleInteractionStart=function(t){this.trigger("interactionStart",t)},t.prototype.endInteraction=function(t,e){this.isInteracting&&(this.endDrag(t),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null),this.destroyAutoScroll(),this.unbindHandlers(),this.isInteracting=!1,this.handleInteractionEnd(t,e),a.allowSelection(n("body")))},t.prototype.handleInteractionEnd=function(t,e){this.trigger("interactionEnd",t,e||!1)},t.prototype.bindHandlers=function(){var t=o.default.get();this.isGeneric?this.listenTo(n(document),{drag:this.handleMove,dragstop:this.endInteraction}):this.isTouch?this.listenTo(t,{touchmove:this.handleTouchMove,touchend:this.endInteraction,scroll:this.handleTouchScroll}):this.listenTo(t,{mousemove:this.handleMouseMove,mouseup:this.endInteraction}),this.listenTo(t,{selectstart:a.preventDefault,contextmenu:a.preventDefault})},t.prototype.unbindHandlers=function(){this.stopListeningTo(o.default.get()),this.stopListeningTo(n(document))},t.prototype.startDrag=function(t,e){this.startInteraction(t,e),this.isDragging||(this.isDragging=!0,this.handleDragStart(t))},t.prototype.handleDragStart=function(t){this.trigger("dragStart",t)},t.prototype.handleMove=function(t){var e=a.getEvX(t)-this.originX,i=a.getEvY(t)-this.originY,n=this.minDistance;this.isDistanceSurpassed||e*e+i*i>=n*n&&this.handleDistanceSurpassed(t),this.isDragging&&this.handleDrag(e,i,t)},t.prototype.handleDrag=function(t,e,i){this.trigger("drag",t,e,i),this.updateAutoScroll(i)},t.prototype.endDrag=function(t){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(t))},t.prototype.handleDragEnd=function(t){this.trigger("dragEnd",t)},t.prototype.startDelay=function(t){var e=this;this.delay?this.delayTimeoutId=setTimeout(function(){e.handleDelayEnd(t)},this.delay):this.handleDelayEnd(t)},t.prototype.handleDelayEnd=function(t){this.isDelayEnded=!0,this.isDistanceSurpassed&&this.startDrag(t)},t.prototype.handleDistanceSurpassed=function(t){this.isDistanceSurpassed=!0,this.isDelayEnded&&this.startDrag(t)},t.prototype.handleTouchMove=function(t){this.isDragging&&this.shouldCancelTouchScroll&&t.preventDefault(),this.handleMove(t)},t.prototype.handleMouseMove=function(t){this.handleMove(t)},t.prototype.handleTouchScroll=function(t){this.isDragging&&!this.scrollAlwaysKills||this.endInteraction(t,!0)},t.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this.options[t]&&this.options[t].apply(this,e),this["_"+t]&&this["_"+t].apply(this,e)},t.prototype.initAutoScroll=function(){var t=this.scrollEl;this.isAutoScroll=this.options.scroll&&t&&!t.is(window)&&!t.is(document),this.isAutoScroll&&this.listenTo(t,"scroll",a.debounce(this.handleDebouncedScroll,100))},t.prototype.destroyAutoScroll=function(){this.endAutoScroll(),this.isAutoScroll&&this.stopListeningTo(this.scrollEl,"scroll")},t.prototype.computeScrollBounds=function(){this.isAutoScroll&&(this.scrollBounds=a.getOuterRect(this.scrollEl))},t.prototype.updateAutoScroll=function(t){var e,i,n,r,o=this.scrollSensitivity,s=this.scrollBounds,l=0,c=0;s&&(e=(o-(a.getEvY(t)-s.top))/o,i=(o-(s.bottom-a.getEvY(t)))/o,n=(o-(a.getEvX(t)-s.left))/o,r=(o-(s.right-a.getEvX(t)))/o,e>=0&&e<=1?l=e*this.scrollSpeed*-1:i>=0&&i<=1&&(l=i*this.scrollSpeed),n>=0&&n<=1?c=n*this.scrollSpeed*-1:r>=0&&r<=1&&(c=r*this.scrollSpeed)),this.setScrollVel(l,c)},t.prototype.setScrollVel=function(t,e){this.scrollTopVel=t,this.scrollLeftVel=e,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(a.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},t.prototype.constrainScrollVel=function(){var t=this.scrollEl;this.scrollTopVel<0?t.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&t.scrollTop()+t[0].clientHeight>=t[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?t.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&t.scrollLeft()+t[0].clientWidth>=t[0].scrollWidth&&(this.scrollLeftVel=0)},t.prototype.scrollIntervalFunc=function(){var t=this.scrollEl,e=this.scrollIntervalMs/1e3;this.scrollTopVel&&t.scrollTop(t.scrollTop()+this.scrollTopVel*e),this.scrollLeftVel&&t.scrollLeft(t.scrollLeft()+this.scrollLeftVel*e),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},t.prototype.endAutoScroll=function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},t.prototype.handleDebouncedScroll=function(){this.scrollIntervalId||this.handleScrollEnd()},t.prototype.handleScrollEnd=function(){},t}();e.default=s,r.default.mixInto(s)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(4),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.updateDayTable=function(){for(var t,e,i,n=this,a=n.view,r=a.calendar,o=r.msToUtcMoment(n.dateProfile.renderUnzonedRange.startMs,!0),s=r.msToUtcMoment(n.dateProfile.renderUnzonedRange.endMs,!0),l=-1,c=[],d=[];o.isBefore(s);)a.isHiddenDay(o)?c.push(l+.5):(l++,c.push(l),d.push(o.clone())),o.add(1,"days");if(this.breakOnWeeks){for(e=d[0].day(),t=1;t<d.length&&d[t].day()!==e;t++);i=Math.ceil(d.length/t)}else i=1,t=d.length;this.dayDates=d,this.dayIndices=c,this.daysPerRow=t,this.rowCnt=i,this.updateDayTableCols()},e.prototype.updateDayTableCols=function(){this.colCnt=this.computeColCnt(),this.colHeadFormat=this.opt("columnHeaderFormat")||this.opt("columnFormat")||this.computeColHeadFormat()},e.prototype.computeColCnt=function(){return this.daysPerRow},e.prototype.getCellDate=function(t,e){return this.dayDates[this.getCellDayIndex(t,e)].clone()},e.prototype.getCellRange=function(t,e){var i=this.getCellDate(t,e),n=i.clone().add(1,"days");return{start:i,end:n}},e.prototype.getCellDayIndex=function(t,e){return t*this.daysPerRow+this.getColDayIndex(e)},e.prototype.getColDayIndex=function(t){return this.isRTL?this.colCnt-1-t:t},e.prototype.getDateDayIndex=function(t){var e=this.dayIndices,i=t.diff(this.dayDates[0],"days");return i<0?e[0]-1:i>=e.length?e[e.length-1]+1:e[i]},e.prototype.computeColHeadFormat=function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.opt("dayOfMonthFormat"):"dddd"},e.prototype.sliceRangeByRow=function(t){var e,i,n,a,r,o=this.daysPerRow,s=this.view.computeDayRange(t),l=this.getDateDayIndex(s.start),c=this.getDateDayIndex(s.end.clone().subtract(1,"days")),d=[];for(e=0;e<this.rowCnt;e++)n=(i=e*o)+o-1,a=Math.max(l,i),r=Math.min(c,n),(a=Math.ceil(a))<=(r=Math.floor(r))&&d.push({row:e,firstRowDayIndex:a-i,lastRowDayIndex:r-i,isStart:a===l,isEnd:r===c});return d},e.prototype.sliceRangeByDay=function(t){var e,i,n,a,r,o,s=this.daysPerRow,l=this.view.computeDayRange(t),c=this.getDateDayIndex(l.start),d=this.getDateDayIndex(l.end.clone().subtract(1,"days")),u=[];for(e=0;e<this.rowCnt;e++)for(n=(i=e*s)+s-1,a=i;a<=n;a++)r=Math.max(c,a),o=Math.min(d,a),(r=Math.ceil(r))<=(o=Math.floor(o))&&u.push({row:e,firstRowDayIndex:r-i,lastRowDayIndex:o-i,isStart:r===c,isEnd:o===d});return u},e.prototype.renderHeadHtml=function(){var t=this.view.calendar.theme;return'<div class="fc-row '+t.getClass("headerRow")+'"><table class="'+t.getClass("tableGrid")+'"><thead>'+this.renderHeadTrHtml()+"</thead></table></div>"},e.prototype.renderHeadIntroHtml=function(){return this.renderIntroHtml()},e.prototype.renderHeadTrHtml=function(){return"<tr>"+(this.isRTL?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRTL?this.renderHeadIntroHtml():"")+"</tr>"},e.prototype.renderHeadDateCellsHtml=function(){var t,e,i=[];for(t=0;t<this.colCnt;t++)e=this.getCellDate(0,t),i.push(this.renderHeadDateCellHtml(e));return i.join("")},e.prototype.renderHeadDateCellHtml=function(t,e,i){var n,r=this,o=r.view,s=r.dateProfile.activeUnzonedRange.containsDate(t),l=["fc-day-header",o.calendar.theme.getClass("widgetHeader")];return n="function"==typeof r.opt("columnHeaderHtml")?r.opt("columnHeaderHtml")(t):"function"==typeof r.opt("columnHeaderText")?a.htmlEscape(r.opt("columnHeaderText")(t)):a.htmlEscape(t.format(r.colHeadFormat)),1===r.rowCnt?l=l.concat(r.getDayClasses(t,!0)):l.push("fc-"+a.dayIDs[t.day()]),'<th class="'+l.join(" ")+'"'+(1===(s&&r.rowCnt)?' data-date="'+t.format("YYYY-MM-DD")+'"':"")+(e>1?' colspan="'+e+'"':"")+(i?" "+i:"")+">"+(s?o.buildGotoAnchorHtml({date:t,forceOff:r.rowCnt>1||1===r.colCnt},n):n)+"</th>"},e.prototype.renderBgTrHtml=function(t){return"<tr>"+(this.isRTL?"":this.renderBgIntroHtml(t))+this.renderBgCellsHtml(t)+(this.isRTL?this.renderBgIntroHtml(t):"")+"</tr>"},e.prototype.renderBgIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderBgCellsHtml=function(t){var e,i,n=[];for(e=0;e<this.colCnt;e++)i=this.getCellDate(t,e),n.push(this.renderBgCellHtml(i));return n.join("")},e.prototype.renderBgCellHtml=function(t,e){var i=this,n=i.view,a=i.dateProfile.activeUnzonedRange.containsDate(t),r=i.getDayClasses(t);return r.unshift("fc-day",n.calendar.theme.getClass("widgetContent")),'<td class="'+r.join(" ")+'"'+(a?' data-date="'+t.format("YYYY-MM-DD")+'"':"")+(e?" "+e:"")+"></td>"},e.prototype.renderIntroHtml=function(){},e.prototype.bookendCells=function(t){var e=this.renderIntroHtml();e&&(this.isRTL?t.append(e):t.prepend(e))},e}(i(15).default);e.default=r},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.component=t,this.fillRenderer=e}return t.prototype.render=function(t){var e=this.component,i=e._getDateProfile().activeUnzonedRange,n=t.buildEventInstanceGroup(e.hasAllDayBusinessHours,i),a=n?e.eventRangesToEventFootprints(n.sliceRenderRanges(i)):[];this.renderEventFootprints(a)},t.prototype.renderEventFootprints=function(t){var e=this.component.eventFootprintsToSegs(t);this.renderSegs(e),this.segs=e},t.prototype.renderSegs=function(t){this.fillRenderer&&this.fillRenderer.renderSegs("businessHours",t,{getClasses:function(t){return["fc-nonbusiness","fc-bgevent"]}})},t.prototype.unrender=function(){this.fillRenderer&&this.fillRenderer.unrender("businessHours"),this.segs=null},t.prototype.getSegs=function(){return this.segs||[]},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=function(){function t(t){this.fillSegTag="div",this.component=t,this.elsByFill={}}return t.prototype.renderFootprint=function(t,e,i){this.renderSegs(t,this.component.componentFootprintToSegs(e),i)},t.prototype.renderSegs=function(t,e,i){var n;return e=this.buildSegEls(t,e,i),(n=this.attachSegEls(t,e))&&this.reportEls(t,n),e},t.prototype.unrender=function(t){var e=this.elsByFill[t];e&&(e.remove(),delete this.elsByFill[t])},t.prototype.buildSegEls=function(t,e,i){var a,r=this,o="",s=[];if(e.length){for(a=0;a<e.length;a++)o+=this.buildSegHtml(t,e[a],i);n(o).each(function(t,a){var o=e[t],l=n(a);i.filterEl&&(l=i.filterEl(o,l)),l&&(l=n(l)).is(r.fillSegTag)&&(o.el=l,s.push(o))})}return s},t.prototype.buildSegHtml=function(t,e,i){var n=i.getClasses?i.getClasses(e):[],r=a.cssToStr(i.getCss?i.getCss(e):{});return"<"+this.fillSegTag+(n.length?' class="'+n.join(" ")+'"':"")+(r?' style="'+r+'"':"")+" />"},t.prototype.attachSegEls=function(t,e){},t.prototype.reportEls=function(t,e){this.elsByFill[t]?this.elsByFill[t]=this.elsByFill[t].add(e):this.elsByFill[t]=n(e)},t}();e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(9),a=i(34),r=i(6),o=function(){function t(t,e){this.view=t._getView(),this.component=t,this.eventRenderer=e}return t.prototype.renderComponentFootprint=function(t){this.renderEventFootprints([this.fabricateEventFootprint(t)])},t.prototype.renderEventDraggingFootprints=function(t,e,i){this.renderEventFootprints(t,e,"fc-dragging",i?null:this.view.opt("dragOpacity"))},t.prototype.renderEventResizingFootprints=function(t,e,i){this.renderEventFootprints(t,e,"fc-resizing")},t.prototype.renderEventFootprints=function(t,e,i,n){var a,r=this.component.eventFootprintsToSegs(t),o="fc-helper "+(i||"");for(r=this.eventRenderer.renderFgSegEls(r),a=0;a<r.length;a++)r[a].el.addClass(o);if(null!=n)for(a=0;a<r.length;a++)r[a].el.css("opacity",n);this.helperEls=this.renderSegs(r,e)},t.prototype.renderSegs=function(t,e){},t.prototype.unrender=function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},t.prototype.fabricateEventFootprint=function(t){var e,i=this.view.calendar,o=i.footprintToDateProfile(t),s=new n.default(new r.default(i));return s.dateProfile=o,e=s.buildInstance(),new a.default(t,s,e)},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(23),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"click",this.handleClick.bind(this)),e.bindSegHandlerToEl(t,"mouseenter",this.handleMouseover.bind(this)),e.bindSegHandlerToEl(t,"mouseleave",this.handleMouseout.bind(this))},e.prototype.handleClick=function(t,e){!1===this.component.publiclyTrigger("eventClick",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,this.view]})&&e.preventDefault()},e.prototype.handleMouseover=function(t,e){a.default.get().shouldIgnoreMouse()||this.mousedOverSeg||(this.mousedOverSeg=t,this.view.isEventDefResizable(t.footprint.eventDef)&&t.el.addClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseover",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,this.view]}))},e.prototype.handleMouseout=function(t,e){this.mousedOverSeg&&(this.mousedOverSeg=null,this.view.isEventDefResizable(t.footprint.eventDef)&&t.el.removeClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseout",{context:t.el[0],args:[t.footprint.getEventLegacy(),e||{},this.view]}))},e.prototype.end=function(){this.mousedOverSeg&&this.handleMouseout(this.mousedOverSeg)},e}(i(14).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(15),r=i(237),o=i(236),s=i(64),l=i(235),c=i(234),d=i(233),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(a.default);e.default=u,u.prototype.dateClickingClass=r.default,u.prototype.dateSelectingClass=o.default,u.prototype.eventPointingClass=s.default,u.prototype.eventDraggingClass=l.default,u.prototype.eventResizingClass=c.default,u.prototype.externalDroppingClass=d.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=i(58),s=i(227),l=i(5),c=i(12),d=i(34),u=i(61),h=i(65),p=i(42),f=i(60),g=i(243),m=i(244),v=i(245),y=function(t){function e(e){var i=t.call(this,e)||this;return i.cellWeekNumbersVisible=!1,i.bottomCoordPadding=0,i.isRigid=!1,i.hasAllDayBusinessHours=!0,i}return n.__extends(e,t),e.prototype.componentFootprintToSegs=function(t){var e,i,n=this.sliceRangeByRow(t.unzonedRange);for(e=0;e<n.length;e++)i=n[e],this.isRTL?(i.leftCol=this.daysPerRow-1-i.lastRowDayIndex,i.rightCol=this.daysPerRow-1-i.firstRowDayIndex):(i.leftCol=i.firstRowDayIndex,i.rightCol=i.lastRowDayIndex);return n},e.prototype.renderDates=function(t){this.dateProfile=t,this.updateDayTable(),this.renderGrid()},e.prototype.unrenderDates=function(){this.removeSegPopover()},e.prototype.renderGrid=function(){var t,e,i=this.view,n=this.rowCnt,a=this.colCnt,r="";for(this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),t=0;t<n;t++)r+=this.renderDayRowHtml(t,this.isRigid);for(this.el.html(r),this.rowEls=this.el.find(".fc-row"),this.cellEls=this.el.find(".fc-day, .fc-disabled-day"),this.rowCoordCache=new o.default({els:this.rowEls,isVertical:!0}),this.colCoordCache=new o.default({els:this.cellEls.slice(0,this.colCnt),isHorizontal:!0}),t=0;t<n;t++)for(e=0;e<a;e++)this.publiclyTrigger("dayRender",{context:i,args:[this.getCellDate(t,e),this.getCellEl(t,e),i]})},e.prototype.renderDayRowHtml=function(t,e){var i=this.view.calendar.theme,n=["fc-row","fc-week",i.getClass("dayRow")];return e&&n.push("fc-rigid"),'<div class="'+n.join(" ")+'"><div class="fc-bg"><table class="'+i.getClass("tableGrid")+'">'+this.renderBgTrHtml(t)+'</table></div><div class="fc-content-skeleton"><table>'+(this.getIsNumbersVisible()?"<thead>"+this.renderNumberTrHtml(t)+"</thead>":"")+"</table></div></div>"},e.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.cellWeekNumbersVisible},e.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},e.prototype.renderNumberTrHtml=function(t){return"<tr>"+(this.isRTL?"":this.renderNumberIntroHtml(t))+this.renderNumberCellsHtml(t)+(this.isRTL?this.renderNumberIntroHtml(t):"")+"</tr>"},e.prototype.renderNumberIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderNumberCellsHtml=function(t){var e,i,n=[];for(e=0;e<this.colCnt;e++)i=this.getCellDate(t,e),n.push(this.renderNumberCellHtml(i));return n.join("")},e.prototype.renderNumberCellHtml=function(t){var e,i,n=this.view,a="",r=this.dateProfile.activeUnzonedRange.containsDate(t),o=this.getIsDayNumbersVisible()&&r;return o||this.cellWeekNumbersVisible?((e=this.getDayClasses(t)).unshift("fc-day-top"),this.cellWeekNumbersVisible&&(i="ISO"===t._locale._fullCalendar_weekCalc?1:t._locale.firstDayOfWeek()),a+='<td class="'+e.join(" ")+'"'+(r?' data-date="'+t.format()+'"':"")+">",this.cellWeekNumbersVisible&&t.day()===i&&(a+=n.buildGotoAnchorHtml({date:t,type:"week"},{class:"fc-week-number"},t.format("w"))),o&&(a+=n.buildGotoAnchorHtml(t,{class:"fc-day-number"},t.format("D"))),a+="</td>"):"<td/>"},e.prototype.prepareHits=function(){this.colCoordCache.build(),this.rowCoordCache.build(),this.rowCoordCache.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},e.prototype.releaseHits=function(){this.colCoordCache.clear(),this.rowCoordCache.clear()},e.prototype.queryHit=function(t,e){if(this.colCoordCache.isLeftInBounds(t)&&this.rowCoordCache.isTopInBounds(e)){var i=this.colCoordCache.getHorizontalIndex(t),n=this.rowCoordCache.getVerticalIndex(e);if(null!=n&&null!=i)return this.getCellHit(n,i)}},e.prototype.getHitFootprint=function(t){var e=this.getCellRange(t.row,t.col);return new c.default(new l.default(e.start,e.end),!0)},e.prototype.getHitEl=function(t){return this.getCellEl(t.row,t.col)},e.prototype.getCellHit=function(t,e){return{row:t,col:e,component:this,left:this.colCoordCache.getLeftOffset(e),right:this.colCoordCache.getRightOffset(e),top:this.rowCoordCache.getTopOffset(t),bottom:this.rowCoordCache.getBottomOffset(t)}},e.prototype.getCellEl=function(t,e){return this.cellEls.eq(t*this.colCnt+e)},e.prototype.executeEventUnrender=function(){this.removeSegPopover(),t.prototype.executeEventUnrender.call(this)},e.prototype.getOwnEventSegs=function(){return t.prototype.getOwnEventSegs.call(this).concat(this.popoverSegs||[])},e.prototype.renderDrag=function(t,e,i){var n;for(n=0;n<t.length;n++)this.renderHighlight(t[n].componentFootprint);if(t.length&&e&&e.component!==this)return this.helperRenderer.renderEventDraggingFootprints(t,e,i),!0},e.prototype.unrenderDrag=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.renderEventResize=function(t,e,i){var n;for(n=0;n<t.length;n++)this.renderHighlight(t[n].componentFootprint);this.helperRenderer.renderEventResizingFootprints(t,e,i)},e.prototype.unrenderEventResize=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},e.prototype.limitRows=function(t){var e,i,n=this.eventRenderer.rowStructs||[];for(e=0;e<n.length;e++)this.unlimitRow(e),!1!==(i=!!t&&("number"==typeof t?t:this.computeRowLevelLimit(e)))&&this.limitRow(e,i)},e.prototype.computeRowLevelLimit=function(t){var e,i,n,r=this.rowEls.eq(t).height(),o=this.eventRenderer.rowStructs[t].tbodyEl.children();function s(t,e){n=Math.max(n,a(e).outerHeight())}for(e=0;e<o.length;e++)if(i=o.eq(e).removeClass("fc-limited"),n=0,i.find("> td > :first-child").each(s),i.position().top+n>r)return e;return!1},e.prototype.limitRow=function(t,e){var i,n,r,o,s,l,c,d,u,h,p,f,g,m,v,y=this,b=this.eventRenderer.rowStructs[t],w=[],x=0,_=function(i){for(;x<i;)(l=y.getCellSegs(t,x,e)).length&&(u=n[e-1][x],v=y.renderMoreLink(t,x,l),m=a("<div/>").append(v),u.append(m),w.push(m[0])),x++};if(e&&e<b.segLevels.length){for(i=b.segLevels[e-1],n=b.cellMatrix,r=b.tbodyEl.children().slice(e).addClass("fc-limited").get(),o=0;o<i.length;o++){for(_((s=i[o]).leftCol),d=[],c=0;x<=s.rightCol;)l=this.getCellSegs(t,x,e),d.push(l),c+=l.length,x++;if(c){for(h=(u=n[e-1][s.leftCol]).attr("rowspan")||1,p=[],f=0;f<d.length;f++)g=a('<td class="fc-more-cell"/>').attr("rowspan",h),l=d[f],v=this.renderMoreLink(t,s.leftCol+f,[s].concat(l)),m=a("<div/>").append(v),g.append(m),p.push(g[0]),w.push(g[0]);u.addClass("fc-limited").after(a(p)),r.push(u[0])}}_(this.colCnt),b.moreEls=a(w),b.limitedEls=a(r)}},e.prototype.unlimitRow=function(t){var e=this.eventRenderer.rowStructs[t];e.moreEls&&(e.moreEls.remove(),e.moreEls=null),e.limitedEls&&(e.limitedEls.removeClass("fc-limited"),e.limitedEls=null)},e.prototype.renderMoreLink=function(t,e,i){var n=this,r=this.view;return a('<a class="fc-more"/>').text(this.getMoreLinkText(i.length)).on("click",function(o){var s=n.opt("eventLimitClick"),l=n.getCellDate(t,e),c=a(o.currentTarget),d=n.getCellEl(t,e),u=n.getCellSegs(t,e),h=n.resliceDaySegs(u,l),p=n.resliceDaySegs(i,l);"function"==typeof s&&(s=n.publiclyTrigger("eventLimitClick",{context:r,args:[{date:l.clone(),dayEl:d,moreEl:c,segs:h,hiddenSegs:p},o,r]})),"popover"===s?n.showSegPopover(t,e,c,h):"string"==typeof s&&r.calendar.zoomTo(l,s)})},e.prototype.showSegPopover=function(t,e,i,n){var a,r,o=this,l=this.view,c=i.parent();a=1===this.rowCnt?l.el:this.rowEls.eq(t),r={className:"fc-more-popover "+l.calendar.theme.getClass("popover"),content:this.renderSegPopoverContent(t,e,n),parentEl:l.el,top:a.offset().top,autoHide:!0,viewportConstrain:this.opt("popoverViewportConstrain"),hide:function(){o.popoverSegs&&o.triggerBeforeEventSegsDestroyed(o.popoverSegs),o.segPopover.removeElement(),o.segPopover=null,o.popoverSegs=null}},this.isRTL?r.right=c.offset().left+c.outerWidth()+1:r.left=c.offset().left-1,this.segPopover=new s.default(r),this.segPopover.show(),this.bindAllSegHandlersToEl(this.segPopover.el),this.triggerAfterEventSegsRendered(n)},e.prototype.renderSegPopoverContent=function(t,e,i){var n,o=this.view.calendar.theme,s=this.getCellDate(t,e).format(this.opt("dayPopoverFormat")),l=a('<div class="fc-header '+o.getClass("popoverHeader")+'"><span class="fc-close '+o.getIconClass("close")+'"></span><span class="fc-title">'+r.htmlEscape(s)+'</span><div class="fc-clear"/></div><div class="fc-body '+o.getClass("popoverContent")+'"><div class="fc-event-container"></div></div>'),c=l.find(".fc-event-container");for(i=this.eventRenderer.renderFgSegEls(i,!0),this.popoverSegs=i,n=0;n<i.length;n++)this.hitsNeeded(),i[n].hit=this.getCellHit(t,e),this.hitsNotNeeded(),c.append(i[n].el);return l},e.prototype.resliceDaySegs=function(t,e){var i,n,r,o=e.clone(),s=o.clone().add(1,"days"),u=new l.default(o,s),h=[];for(i=0;i<t.length;i++)(r=(n=t[i]).footprint.componentFootprint.unzonedRange.intersect(u))&&h.push(a.extend({},n,{footprint:new d.default(new c.default(r,n.footprint.componentFootprint.isAllDay),n.footprint.eventDef,n.footprint.eventInstance),isStart:n.isStart&&r.isStart,isEnd:n.isEnd&&r.isEnd}));return this.eventRenderer.sortEventSegs(h),h},e.prototype.getMoreLinkText=function(t){var e=this.opt("eventLimitText");return"function"==typeof e?e(t):"+"+t+" "+e},e.prototype.getCellSegs=function(t,e,i){for(var n,a=this.eventRenderer.rowStructs[t].segMatrix,r=i||0,o=[];r<a.length;)(n=a[r][e])&&o.push(n),r++;return o},e}(p.default);e.default=y,y.prototype.eventRendererClass=g.default,y.prototype.businessHourRendererClass=u.default,y.prototype.helperRendererClass=m.default,y.prototype.fillRendererClass=v.default,h.default.mixInto(y),f.default.mixInto(y)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=i(41),s=i(43),l=i(68),c=i(66),d=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.dayGrid=n.instantiateDayGrid(),n.dayGrid.isRigid=n.hasRigidRows(),n.opt("weekNumbers")&&(n.opt("weekNumbersWithinDays")?(n.dayGrid.cellWeekNumbersVisible=!0,n.dayGrid.colWeekNumbersVisible=!1):(n.dayGrid.cellWeekNumbersVisible=!1,n.dayGrid.colWeekNumbersVisible=!0)),n.addChild(n.dayGrid),n.scroller=new o.default({overflowX:"hidden",overflowY:"auto"}),n}return n.__extends(e,t),e.prototype.instantiateDayGrid=function(){return new(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.colWeekNumbersVisible=!1,e}return n.__extends(e,t),e.prototype.renderHeadIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<th class="fc-week-number '+t.calendar.theme.getClass("widgetHeader")+'" '+t.weekNumberStyleAttr()+"><span>"+r.htmlEscape(this.opt("weekNumberTitle"))+"</span></th>":""},e.prototype.renderNumberIntroHtml=function(t){var e=this.view,i=this.getCellDate(t,0);return this.colWeekNumbersVisible?'<td class="fc-week-number" '+e.weekNumberStyleAttr()+">"+e.buildGotoAnchorHtml({date:i,type:"week",forceOff:1===this.colCnt},i.format("w"))+"</td>":""},e.prototype.renderBgIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number '+t.calendar.theme.getClass("widgetContent")+'" '+t.weekNumberStyleAttr()+"></td>":""},e.prototype.renderIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number" '+t.weekNumberStyleAttr()+"></td>":""},e.prototype.getIsNumbersVisible=function(){return c.default.prototype.getIsNumbersVisible.apply(this,arguments)||this.colWeekNumbersVisible},e}(this.dayGridClass))(this)},e.prototype.executeDateRender=function(e){this.dayGrid.breakOnWeeks=/year|month|week/.test(e.currentRangeUnit),t.prototype.executeDateRender.call(this,e)},e.prototype.renderSkeleton=function(){var t,e;this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml()),this.scroller.render(),t=this.scroller.el.addClass("fc-day-grid-container"),e=a('<div class="fc-day-grid" />').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.dayGrid.headContainerEl=this.el.find(".fc-head-container"),this.dayGrid.setElement(e)},e.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return'<table class="'+t.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+t.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+t.getClass("widgetContent")+'"></td></tr></tbody></table>'},e.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},e.prototype.hasRigidRows=function(){var t=this.opt("eventLimit");return t&&"number"!=typeof t},e.prototype.updateSize=function(e,i,n){var a,o,s=this.opt("eventLimit"),l=this.dayGrid.headContainerEl.find(".fc-row");this.dayGrid.rowEls?(t.prototype.updateSize.call(this,e,i,n),this.dayGrid.colWeekNumbersVisible&&(this.weekNumberWidth=r.matchCellWidths(this.el.find(".fc-week-number"))),this.scroller.clear(),r.uncompensateScroll(l),this.dayGrid.removeSegPopover(),s&&"number"==typeof s&&this.dayGrid.limitRows(s),a=this.computeScrollerHeight(e),this.setGridHeight(a,i),s&&"number"!=typeof s&&this.dayGrid.limitRows(s),i||(this.scroller.setHeight(a),((o=this.scroller.getScrollbarWidths()).left||o.right)&&(r.compensateScroll(l,o),a=this.computeScrollerHeight(e),this.scroller.setHeight(a)),this.scroller.lockOverflow(o))):i||(a=this.computeScrollerHeight(e),this.scroller.setHeight(a))},e.prototype.computeScrollerHeight=function(t){return t-r.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.setGridHeight=function(t,e){e?r.undistributeHeight(this.dayGrid.rowEls):r.distributeHeight(this.dayGrid.rowEls,t,!0)},e.prototype.computeInitialDateScroll=function(){return{top:0}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e}(s.default);e.default=d,d.prototype.dateProfileGeneratorClass=l.default,d.prototype.dayGridClass=c.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(5),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.buildRenderRange=function(e,i,n){var r=t.prototype.buildRenderRange.call(this,e,i,n),o=this.msToUtcMoment(r.startMs,n),s=this.msToUtcMoment(r.endMs,n);return/^(year|month)$/.test(i)&&(o.startOf("week"),s.weekday()&&s.add(1,"week").startOf("week")),new a.default(o,s)},e}(i(55).default);e.default=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),a=i(12),r=i(36),o=i(6),s=i(19),l=function(){function t(t,e){this.eventManager=t,this._calendar=e}return t.prototype.opt=function(t){return this._calendar.opt(t)},t.prototype.isEventInstanceGroupAllowed=function(t){var e,i=t.getEventDef(),n=this.eventRangesToEventFootprints(t.getAllEventRanges()),a=this.getPeerEventInstances(i).map(s.eventInstanceToEventRange),r=this.eventRangesToEventFootprints(a),o=i.getConstraint(),l=i.getOverlap(),c=this.opt("eventAllow");for(e=0;e<n.length;e++)if(!this.isFootprintAllowed(n[e].componentFootprint,r,o,l,n[e].eventInstance))return!1;if(c)for(e=0;e<n.length;e++)if(!1===c(n[e].componentFootprint.toLegacy(this._calendar),n[e].getEventLegacy()))return!1;return!0},t.prototype.getPeerEventInstances=function(t){return this.eventManager.getEventInstancesWithoutId(t.id)},t.prototype.isSelectionFootprintAllowed=function(t){var e,i=this.eventManager.getEventInstances().map(s.eventInstanceToEventRange),n=this.eventRangesToEventFootprints(i);return!!this.isFootprintAllowed(t,n,this.opt("selectConstraint"),this.opt("selectOverlap"))&&(!(e=this.opt("selectAllow"))||!1!==e(t.toLegacy(this._calendar)))},t.prototype.isFootprintAllowed=function(t,e,i,n,a){var r,o;if(null!=i&&(r=this.constraintValToFootprints(i,t.isAllDay),!this.isFootprintWithinConstraints(t,r)))return!1;if(o=this.collectOverlapEventFootprints(e,t),!1===n){if(o.length)return!1}else if("function"==typeof n&&!function(t,e,i){var n;for(n=0;n<t.length;n++)if(!e(t[n].eventInstance.toLegacy(),i?i.toLegacy():null))return!1;return!0}(o,n,a))return!1;return!(a&&!function(t,e){var i,n,a,r,o=e.toLegacy();for(i=0;i<t.length;i++){if(n=t[i].eventInstance,a=n.def,!1===(r=a.getOverlap()))return!1;if("function"==typeof r&&!r(n.toLegacy(),o))return!1}return!0}(o,a))},t.prototype.isFootprintWithinConstraints=function(t,e){var i;for(i=0;i<e.length;i++)if(this.footprintContainsFootprint(e[i],t))return!0;return!1},t.prototype.constraintValToFootprints=function(t,e){var i;return"businessHours"===t?this.buildCurrentBusinessFootprints(e):"object"==typeof t?(i=this.parseEventDefToInstances(t))?this.eventInstancesToFootprints(i):this.parseFootprints(t):null!=t?(i=this.eventManager.getEventInstancesWithId(t),this.eventInstancesToFootprints(i)):void 0},t.prototype.buildCurrentBusinessFootprints=function(t){var e=this._calendar.view,i=e.get("businessHourGenerator"),n=e.dateProfile.activeUnzonedRange,a=i.buildEventInstanceGroup(t,n);return a?this.eventInstancesToFootprints(a.eventInstances):[]},t.prototype.eventInstancesToFootprints=function(t){var e=t.map(s.eventInstanceToEventRange);return this.eventRangesToEventFootprints(e).map(s.eventFootprintToComponentFootprint)},t.prototype.collectOverlapEventFootprints=function(t,e){var i,n=[];for(i=0;i<t.length;i++)this.footprintsIntersect(e,t[i].componentFootprint)&&n.push(t[i]);return n},t.prototype.parseEventDefToInstances=function(t){var e=this.eventManager,i=r.default.parse(t,new o.default(this._calendar));return!!i&&i.buildInstances(e.currentPeriod.unzonedRange)},t.prototype.eventRangesToEventFootprints=function(t){var e,i=[];for(e=0;e<t.length;e++)i.push.apply(i,this.eventRangeToEventFootprints(t[e]));return i},t.prototype.eventRangeToEventFootprints=function(t){return[s.eventRangeToEventFootprint(t)]},t.prototype.parseFootprints=function(t){var e,i;return t.start&&((e=this._calendar.moment(t.start)).isValid()||(e=null)),t.end&&((i=this._calendar.moment(t.end)).isValid()||(i=null)),[new a.default(new n.default(e,i),e&&!e.hasTime()||i&&!i.hasTime())]},t.prototype.footprintContainsFootprint=function(t,e){return t.unzonedRange.containsRange(e.unzonedRange)},t.prototype.footprintsIntersect=function(t,e){return t.unzonedRange.intersectsWith(e.unzonedRange)},t}();e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(19),r=i(20),o=i(54),s=i(6),l={start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},c=function(){function t(t,e){this.rawComplexDef=t,this.calendar=e}return t.prototype.buildEventInstanceGroup=function(t,e){var i,n=this.buildEventDefs(t);if(n.length)return(i=new r.default(a.eventDefsToEventInstances(n,e))).explicitEventDef=n[0],i},t.prototype.buildEventDefs=function(t){var e,i=this.rawComplexDef,a=[],r=!1,o=[];for(!0===i?a=[{}]:n.isPlainObject(i)?a=[i]:n.isArray(i)&&(a=i,r=!0),e=0;e<a.length;e++)r&&!a[e].dow||o.push(this.buildEventDef(t,a[e]));return o},t.prototype.buildEventDef=function(t,e){var i=n.extend({},l,e);return t&&(i.start=null,i.end=null),o.default.parse(i,new s.default(this.calendar))},t}();e.default=c},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=i(21),o=i(13),s=i(5),l=i(20),c=function(){function t(t,e,i){this.pendingCnt=0,this.freezeDepth=0,this.stuntedReleaseCnt=0,this.releaseCnt=0,this.start=t,this.end=e,this.timezone=i,this.unzonedRange=new s.default(t.clone().stripZone(),e.clone().stripZone()),this.requestsByUid={},this.eventDefsByUid={},this.eventDefsById={},this.eventInstanceGroupsById={}}return t.prototype.isWithinRange=function(t,e){return!t.isBefore(this.start)&&!e.isAfter(this.end)},t.prototype.requestSources=function(t){this.freeze();for(var e=0;e<t.length;e++)this.requestSource(t[e]);this.thaw()},t.prototype.requestSource=function(t){var e=this,i={source:t,status:"pending",eventDefs:null};this.requestsByUid[t.uid]=i,this.pendingCnt+=1,t.fetch(this.start,this.end,this.timezone).then(function(t){"cancelled"!==i.status&&(i.status="completed",i.eventDefs=t,e.addEventDefs(t),e.pendingCnt--,e.tryRelease())},function(){"cancelled"!==i.status&&(i.status="failed",e.pendingCnt--,e.tryRelease())})},t.prototype.purgeSource=function(t){var e=this.requestsByUid[t.uid];e&&(delete this.requestsByUid[t.uid],"pending"===e.status?(e.status="cancelled",this.pendingCnt--,this.tryRelease()):"completed"===e.status&&e.eventDefs.forEach(this.removeEventDef.bind(this)))},t.prototype.purgeAllSources=function(){var t,e,i=this.requestsByUid,n=0;for(t in i)"pending"===(e=i[t]).status?e.status="cancelled":"completed"===e.status&&n++;this.requestsByUid={},this.pendingCnt=0,n&&this.removeAllEventDefs()},t.prototype.getEventDefByUid=function(t){return this.eventDefsByUid[t]},t.prototype.getEventDefsById=function(t){var e=this.eventDefsById[t];return e?e.slice():[]},t.prototype.addEventDefs=function(t){for(var e=0;e<t.length;e++)this.addEventDef(t[e])},t.prototype.addEventDef=function(t){var e,i=this.eventDefsById,n=t.id,a=i[n]||(i[n]=[]),r=t.buildInstances(this.unzonedRange);for(a.push(t),this.eventDefsByUid[t.uid]=t,e=0;e<r.length;e++)this.addEventInstance(r[e],n)},t.prototype.removeEventDefsById=function(t){var e=this;this.getEventDefsById(t).forEach(function(t){e.removeEventDef(t)})},t.prototype.removeAllEventDefs=function(){var t=n.isEmptyObject(this.eventDefsByUid);this.eventDefsByUid={},this.eventDefsById={},this.eventInstanceGroupsById={},t||this.tryRelease()},t.prototype.removeEventDef=function(t){var e=this.eventDefsById,i=e[t.id];delete this.eventDefsByUid[t.uid],i&&(a.removeExact(i,t),i.length||delete e[t.id],this.removeEventInstancesForDef(t))},t.prototype.getEventInstances=function(){var t,e=this.eventInstanceGroupsById,i=[];for(t in e)i.push.apply(i,e[t].eventInstances);return i},t.prototype.getEventInstancesWithId=function(t){var e=this.eventInstanceGroupsById[t];return e?e.eventInstances.slice():[]},t.prototype.getEventInstancesWithoutId=function(t){var e,i=this.eventInstanceGroupsById,n=[];for(e in i)e!==t&&n.push.apply(n,i[e].eventInstances);return n},t.prototype.addEventInstance=function(t,e){var i=this.eventInstanceGroupsById;(i[e]||(i[e]=new l.default)).eventInstances.push(t),this.tryRelease()},t.prototype.removeEventInstancesForDef=function(t){var e,i=this.eventInstanceGroupsById,n=i[t.id];n&&(e=a.removeMatching(n.eventInstances,function(e){return e.def===t}),n.eventInstances.length||delete i[t.id],e&&this.tryRelease())},t.prototype.tryRelease=function(){this.pendingCnt||(this.freezeDepth?this.stuntedReleaseCnt++:this.release())},t.prototype.release=function(){this.releaseCnt++,this.trigger("release",this.eventInstanceGroupsById)},t.prototype.whenReleased=function(){var t=this;return this.releaseCnt?r.default.resolve(this.eventInstanceGroupsById):r.default.construct(function(e){t.one("release",e)})},t.prototype.freeze=function(){this.freezeDepth++||(this.stuntedReleaseCnt=0)},t.prototype.thaw=function(){--this.freezeDepth||!this.stuntedReleaseCnt||this.pendingCnt||this.release()},t}();e.default=c,o.default.mixInto(c)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=i(219),o=i(56),s=i(6),l=i(38),c=i(9),d=i(20),u=i(13),h=i(7),p=function(){function t(t){this.calendar=t,this.stickySource=new o.default(t),this.otherSources=[]}return t.prototype.requestEvents=function(t,e,i,n){return!n&&this.currentPeriod&&this.currentPeriod.isWithinRange(t,e)&&i===this.currentPeriod.timezone||this.setPeriod(new r.default(t,e,i)),this.currentPeriod.whenReleased()},t.prototype.addSource=function(t){this.otherSources.push(t),this.currentPeriod&&this.currentPeriod.requestSource(t)},t.prototype.removeSource=function(t){a.removeExact(this.otherSources,t),this.currentPeriod&&this.currentPeriod.purgeSource(t)},t.prototype.removeAllSources=function(){this.otherSources=[],this.currentPeriod&&this.currentPeriod.purgeAllSources()},t.prototype.refetchSource=function(t){var e=this.currentPeriod;e&&(e.freeze(),e.purgeSource(t),e.requestSource(t),e.thaw())},t.prototype.refetchAllSources=function(){var t=this.currentPeriod;t&&(t.freeze(),t.purgeAllSources(),t.requestSources(this.getSources()),t.thaw())},t.prototype.getSources=function(){return[this.stickySource].concat(this.otherSources)},t.prototype.multiQuerySources=function(t){t?n.isArray(t)||(t=[t]):t=[];var e,i=[];for(e=0;e<t.length;e++)i.push.apply(i,this.querySources(t[e]));return i},t.prototype.querySources=function(t){var e,i,a=this.otherSources;for(e=0;e<a.length;e++)if((i=a[e])===t)return[i];return(i=this.getSourceById(s.default.normalizeId(t)))?[i]:(t=l.default.parse(t,this.calendar))?n.grep(a,function(e){return i=e,t.getPrimitive()===i.getPrimitive();var i}):void 0},t.prototype.getSourceById=function(t){return n.grep(this.otherSources,function(e){return e.id&&e.id===t})[0]},t.prototype.setPeriod=function(t){this.currentPeriod&&(this.unbindPeriod(this.currentPeriod),this.currentPeriod=null),this.currentPeriod=t,this.bindPeriod(t),t.requestSources(this.getSources())},t.prototype.bindPeriod=function(t){this.listenTo(t,"release",function(t){this.trigger("release",t)})},t.prototype.unbindPeriod=function(t){this.stopListeningTo(t)},t.prototype.getEventDefByUid=function(t){if(this.currentPeriod)return this.currentPeriod.getEventDefByUid(t)},t.prototype.addEventDef=function(t,e){e&&this.stickySource.addEventDef(t),this.currentPeriod&&this.currentPeriod.addEventDef(t)},t.prototype.removeEventDefsById=function(t){this.getSources().forEach(function(e){e.removeEventDefsById(t)}),this.currentPeriod&&this.currentPeriod.removeEventDefsById(t)},t.prototype.removeAllEventDefs=function(){this.getSources().forEach(function(t){t.removeAllEventDefs()}),this.currentPeriod&&this.currentPeriod.removeAllEventDefs()},t.prototype.mutateEventsWithId=function(t,e){var i,n=this.currentPeriod,a=[];return n?(n.freeze(),(i=n.getEventDefsById(t)).forEach(function(t){n.removeEventDef(t),a.push(e.mutateSingle(t)),n.addEventDef(t)}),n.thaw(),function(){n.freeze();for(var t=0;t<i.length;t++)n.removeEventDef(i[t]),a[t](),n.addEventDef(i[t]);n.thaw()}):function(){}},t.prototype.buildMutatedEventInstanceGroup=function(t,e){var i,n,a=this.getEventDefsById(t),r=[];for(i=0;i<a.length;i++)(n=a[i].clone())instanceof c.default&&(e.mutateSingle(n),r.push.apply(r,n.buildInstances()));return new d.default(r)},t.prototype.freeze=function(){this.currentPeriod&&this.currentPeriod.freeze()},t.prototype.thaw=function(){this.currentPeriod&&this.currentPeriod.thaw()},t.prototype.getEventDefsById=function(t){return this.currentPeriod.getEventDefsById(t)},t.prototype.getEventInstances=function(){return this.currentPeriod.getEventInstances()},t.prototype.getEventInstancesWithId=function(t){return this.currentPeriod.getEventInstancesWithId(t)},t.prototype.getEventInstancesWithoutId=function(t){return this.currentPeriod.getEventInstancesWithoutId(t)},t}();e.default=p,u.default.mixInto(p),h.default.mixInto(p)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(i(22).default);e.default=a,a.prototype.classes={widget:"fc-unthemed",widgetHeader:"fc-widget-header",widgetContent:"fc-widget-content",buttonGroup:"fc-button-group",button:"fc-button",cornerLeft:"fc-corner-left",cornerRight:"fc-corner-right",stateDefault:"fc-state-default",stateActive:"fc-state-active",stateDisabled:"fc-state-disabled",stateHover:"fc-state-hover",stateDown:"fc-state-down",popoverHeader:"fc-widget-header",popoverContent:"fc-widget-content",headerRow:"fc-widget-header",dayRow:"fc-widget-content",listView:"fc-widget-content"},a.prototype.baseIconClass="fc-icon",a.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-left-single-arrow",next:"fc-icon-right-single-arrow",prevYear:"fc-icon-left-double-arrow",nextYear:"fc-icon-right-double-arrow"},a.prototype.iconOverrideOption="buttonIcons",a.prototype.iconOverrideCustomButtonOption="icon",a.prototype.iconOverridePrefix="fc-icon-"},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(i(22).default);e.default=a,a.prototype.classes={widget:"ui-widget",widgetHeader:"ui-widget-header",widgetContent:"ui-widget-content",buttonGroup:"fc-button-group",button:"ui-button",cornerLeft:"ui-corner-left",cornerRight:"ui-corner-right",stateDefault:"ui-state-default",stateActive:"ui-state-active",stateDisabled:"ui-state-disabled",stateHover:"ui-state-hover",stateDown:"ui-state-down",today:"ui-state-highlight",popoverHeader:"ui-widget-header",popoverContent:"ui-widget-content",headerRow:"ui-widget-header",dayRow:"ui-widget-content",listView:"ui-widget-content"},a.prototype.baseIconClass="ui-icon",a.prototype.iconClasses={close:"ui-icon-closethick",prev:"ui-icon-circle-triangle-w",next:"ui-icon-circle-triangle-e",prevYear:"ui-icon-seek-prev",nextYear:"ui-icon-seek-next"},a.prototype.iconOverrideOption="themeButtonIcons",a.prototype.iconOverrideCustomButtonOption="themeIcon",a.prototype.iconOverridePrefix="ui-icon-"},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(21),o=i(6),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.parse=function(t,e){var i;return a.isFunction(t.events)?i=t:a.isFunction(t)&&(i={events:t}),!!i&&o.default.parse.call(this,i,e)},e.prototype.fetch=function(t,e,i){var n=this;return this.calendar.pushLoading(),r.default.construct(function(a){n.func.call(n.calendar,t.clone(),e.clone(),i,function(t){n.calendar.popLoading(),a(n.parseEventDefs(t))})})},e.prototype.getPrimitive=function(){return this.func},e.prototype.applyManualStandardProps=function(e){var i=t.prototype.applyManualStandardProps.call(this,e);return this.func=e.events,i},e}(o.default);e.default=s,s.defineStandardProps({events:!1})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=i(21),s=i(6),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.parse=function(t,e){var i;return"string"==typeof t.url?i=t:"string"==typeof t&&(i={url:t}),!!i&&s.default.parse.call(this,i,e)},e.prototype.fetch=function(t,i,n){var s=this,l=this.ajaxSettings,c=l.success,d=l.error,u=this.buildRequestParams(t,i,n);return this.calendar.pushLoading(),o.default.construct(function(t,i){a.ajax(a.extend({},e.AJAX_DEFAULTS,l,{url:s.url,data:u,success:function(e,n,o){var l;s.calendar.popLoading(),e?(l=r.applyAll(c,s,[e,n,o]),a.isArray(l)&&(e=l),t(s.parseEventDefs(e))):i()},error:function(t,e,n){s.calendar.popLoading(),r.applyAll(d,s,[t,e,n]),i()}}))})},e.prototype.buildRequestParams=function(t,e,i){var n,r,o,s,l=this.calendar,c=this.ajaxSettings,d={};return null==(n=this.startParam)&&(n=l.opt("startParam")),null==(r=this.endParam)&&(r=l.opt("endParam")),null==(o=this.timezoneParam)&&(o=l.opt("timezoneParam")),s=a.isFunction(c.data)?c.data():c.data||{},a.extend(d,s),d[n]=t.format(),d[r]=e.format(),i&&"local"!==i&&(d[o]=i),d},e.prototype.getPrimitive=function(){return this.url},e.prototype.applyMiscProps=function(t){this.ajaxSettings=t},e.AJAX_DEFAULTS={dataType:"json",cache:!1},e}(s.default);e.default=l,l.defineStandardProps({url:!0,startParam:!0,endParam:!0,timezoneParam:!0})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.items=t||[]}return t.prototype.proxyCall=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];var n=[];return this.items.forEach(function(i){n.push(i[t].apply(i,e))}),n},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=i(7),o=function(){function t(t,e){this.isFollowing=!1,this.isHidden=!1,this.isAnimating=!1,this.options=e=e||{},this.sourceEl=t,this.parentEl=e.parentEl?n(e.parentEl):t.parent()}return t.prototype.start=function(t){this.isFollowing||(this.isFollowing=!0,this.y0=a.getEvY(t),this.x0=a.getEvX(t),this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),a.getEvIsTouch(t)?this.listenTo(n(document),"touchmove",this.handleMove):this.listenTo(n(document),"mousemove",this.handleMove))},t.prototype.stop=function(t,e){var i=this,a=this.options.revertDuration,r=function(){i.isAnimating=!1,i.removeElement(),i.top0=i.left0=null,e&&e()};this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,this.stopListeningTo(n(document)),t&&a&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:a,complete:r})):r())},t.prototype.getEl=function(){var t=this.el;return t||((t=this.el=this.sourceEl.clone().addClass(this.options.additionalClass||"").css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex})).addClass("fc-unselectable"),t.appendTo(this.parentEl)),t},t.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},t.prototype.updatePosition=function(){var t,e;this.getEl(),null==this.top0&&(t=this.sourceEl.offset(),e=this.el.offsetParent().offset(),this.top0=t.top-e.top,this.left0=t.left-e.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},t.prototype.handleMove=function(t){this.topDelta=a.getEvY(t)-this.y0,this.leftDelta=a.getEvX(t)-this.x0,this.isHidden||this.updatePosition()},t.prototype.hide=function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},t.prototype.show=function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())},t}();e.default=o,r.default.mixInto(o)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=i(7),o=function(){function t(t){this.isHidden=!0,this.margin=10,this.options=t||{}}return t.prototype.show=function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},t.prototype.hide=function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},t.prototype.render=function(){var t=this,e=this.options;this.el=n('<div class="fc-popover"/>').addClass(e.className||"").css({top:0,left:0}).append(e.content).appendTo(e.parentEl),this.el.on("click",".fc-close",function(){t.hide()}),e.autoHide&&this.listenTo(n(document),"mousedown",this.documentMousedown)},t.prototype.documentMousedown=function(t){this.el&&!n(t.target).closest(this.el).length&&this.hide()},t.prototype.removeElement=function(){this.hide(),this.el&&(this.el.remove(),this.el=null),this.stopListeningTo(n(document),"mousedown")},t.prototype.position=function(){var t,e,i,r,o,s=this.options,l=this.el.offsetParent().offset(),c=this.el.outerWidth(),d=this.el.outerHeight(),u=n(window),h=a.getScrollParent(this.el);r=s.top||0,o=void 0!==s.left?s.left:void 0!==s.right?s.right-c:0,h.is(window)||h.is(document)?(h=u,t=0,e=0):(t=(i=h.offset()).top,e=i.left),t+=u.scrollTop(),e+=u.scrollLeft(),!1!==s.viewportConstrain&&(r=Math.min(r,t+h.outerHeight()-d-this.margin),r=Math.max(r,t+this.margin),o=Math.min(o,e+h.outerWidth()-c-this.margin),o=Math.max(o,e+this.margin)),this.el.css({top:r-l.top,left:o-l.left})},t.prototype.trigger=function(t){this.options[t]&&this.options[t].apply(this,Array.prototype.slice.call(arguments,1))},t}();e.default=o,r.default.mixInto(o)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(13),a=function(){function t(){this.q=[],this.isPaused=!1,this.isRunning=!1}return t.prototype.queue=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.q.push.apply(this.q,t),this.tryStart()},t.prototype.pause=function(){this.isPaused=!0},t.prototype.resume=function(){this.isPaused=!1,this.tryStart()},t.prototype.getIsIdle=function(){return!this.isRunning&&!this.isPaused},t.prototype.tryStart=function(){!this.isRunning&&this.canRunNext()&&(this.isRunning=!0,this.trigger("start"),this.runRemaining())},t.prototype.canRunNext=function(){return!this.isPaused&&this.q.length},t.prototype.runRemaining=function(){var t,e,i=this;do{if(t=this.q.shift(),(e=this.runTask(t))&&e.then)return void e.then(function(){i.canRunNext()&&i.runRemaining()})}while(this.canRunNext());this.trigger("stop"),this.isRunning=!1,this.tryStart()},t.prototype.runTask=function(t){return t()},t}();e.default=a,n.default.mixInto(a)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=function(t){function e(e){var i=t.call(this)||this;return i.waitsByNamespace=e||{},i}return n.__extends(e,t),e.prototype.queue=function(t,e,i){var n,a={func:t,namespace:e,type:i};e&&(n=this.waitsByNamespace[e]),this.waitNamespace&&(e===this.waitNamespace&&null!=n?this.delayWait(n):(this.clearWait(),this.tryStart())),this.compoundTask(a)&&(this.waitNamespace||null==n?this.tryStart():this.startWait(e,n))},e.prototype.startWait=function(t,e){this.waitNamespace=t,this.spawnWait(e)},e.prototype.delayWait=function(t){clearTimeout(this.waitId),this.spawnWait(t)},e.prototype.spawnWait=function(t){var e=this;this.waitId=setTimeout(function(){e.waitNamespace=null,e.tryStart()},t)},e.prototype.clearWait=function(){this.waitNamespace&&(clearTimeout(this.waitId),this.waitId=null,this.waitNamespace=null)},e.prototype.canRunNext=function(){if(!t.prototype.canRunNext.call(this))return!1;if(this.waitNamespace){for(var e=this.q,i=0;i<e.length;i++)if(e[i].namespace!==this.waitNamespace)return!0;return!1}return!0},e.prototype.runTask=function(t){t.func()},e.prototype.compoundTask=function(t){var e,i,n=this.q,a=!0;if(t.namespace&&"destroy"===t.type)for(e=n.length-1;e>=0;e--)if((i=n[e]).namespace===t.namespace)switch(i.type){case"init":a=!1;case"add":case"remove":n.splice(e,1)}return a&&n.push(t),a},e}(i(228).default);e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.setElement=function(t){this.el=t,this.bindGlobalHandlers(),this.renderSkeleton(),this.set("isInDom",!0)},e.prototype.removeElement=function(){this.unset("isInDom"),this.unrenderSkeleton(),this.unbindGlobalHandlers(),this.el.remove()},e.prototype.bindGlobalHandlers=function(){},e.prototype.unbindGlobalHandlers=function(){},e.prototype.renderSkeleton=function(){},e.prototype.unrenderSkeleton=function(){},e}(i(51).default);e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(0),o=i(4),s=i(11),l=i(49),c=i(230),d=i(19),u=function(t){function e(i,n){var a=t.call(this)||this;return a.isRTL=!1,a.hitsNeededDepth=0,a.hasAllDayBusinessHours=!1,a.isDatesRendered=!1,i&&(a.view=i),n&&(a.options=n),a.uid=String(e.guid++),a.childrenByUid={},a.nextDayThreshold=r.duration(a.opt("nextDayThreshold")),a.isRTL=a.opt("isRTL"),a.fillRendererClass&&(a.fillRenderer=new a.fillRendererClass(a)),a.eventRendererClass&&(a.eventRenderer=new a.eventRendererClass(a,a.fillRenderer)),a.helperRendererClass&&a.eventRenderer&&(a.helperRenderer=new a.helperRendererClass(a,a.eventRenderer)),a.businessHourRendererClass&&a.fillRenderer&&(a.businessHourRenderer=new a.businessHourRendererClass(a,a.fillRenderer)),a}return n.__extends(e,t),e.prototype.addChild=function(t){return!this.childrenByUid[t.uid]&&(this.childrenByUid[t.uid]=t,!0)},e.prototype.removeChild=function(t){return!!this.childrenByUid[t.uid]&&(delete this.childrenByUid[t.uid],!0)},e.prototype.updateSize=function(t,e,i){this.callChildren("updateSize",arguments)},e.prototype.opt=function(t){return this._getView().opt(t)},e.prototype.publiclyTrigger=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=this._getCalendar();return i.publiclyTrigger.apply(i,t)},e.prototype.hasPublicHandlers=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=this._getCalendar();return i.hasPublicHandlers.apply(i,t)},e.prototype.executeDateRender=function(t){this.dateProfile=t,this.renderDates(t),this.isDatesRendered=!0,this.callChildren("executeDateRender",arguments)},e.prototype.executeDateUnrender=function(){this.callChildren("executeDateUnrender",arguments),this.dateProfile=null,this.unrenderDates(),this.isDatesRendered=!1},e.prototype.renderDates=function(t){},e.prototype.unrenderDates=function(){},e.prototype.getNowIndicatorUnit=function(){},e.prototype.renderNowIndicator=function(t){this.callChildren("renderNowIndicator",arguments)},e.prototype.unrenderNowIndicator=function(){this.callChildren("unrenderNowIndicator",arguments)},e.prototype.renderBusinessHours=function(t){this.businessHourRenderer&&this.businessHourRenderer.render(t),this.callChildren("renderBusinessHours",arguments)},e.prototype.unrenderBusinessHours=function(){this.callChildren("unrenderBusinessHours",arguments),this.businessHourRenderer&&this.businessHourRenderer.unrender()},e.prototype.executeEventRender=function(t){this.eventRenderer?(this.eventRenderer.rangeUpdated(),this.eventRenderer.render(t)):this.renderEvents&&this.renderEvents(function(t){var e,i,n,a=[];for(e in t)for(i=t[e].eventInstances,n=0;n<i.length;n++)a.push(i[n].toLegacy());return a}(t)),this.callChildren("executeEventRender",arguments)},e.prototype.executeEventUnrender=function(){this.callChildren("executeEventUnrender",arguments),this.eventRenderer?this.eventRenderer.unrender():this.destroyEvents&&this.destroyEvents()},e.prototype.getBusinessHourSegs=function(){var t=this.getOwnBusinessHourSegs();return this.iterChildren(function(e){t.push.apply(t,e.getBusinessHourSegs())}),t},e.prototype.getOwnBusinessHourSegs=function(){return this.businessHourRenderer?this.businessHourRenderer.getSegs():[]},e.prototype.getEventSegs=function(){var t=this.getOwnEventSegs();return this.iterChildren(function(e){t.push.apply(t,e.getEventSegs())}),t},e.prototype.getOwnEventSegs=function(){return this.eventRenderer?this.eventRenderer.getSegs():[]},e.prototype.triggerAfterEventsRendered=function(){this.triggerAfterEventSegsRendered(this.getEventSegs()),this.publiclyTrigger("eventAfterAllRender",{context:this,args:[this]})},e.prototype.triggerAfterEventSegsRendered=function(t){var e=this;this.hasPublicHandlers("eventAfterRender")&&t.forEach(function(t){var i;t.el&&(i=t.footprint.getEventLegacy(),e.publiclyTrigger("eventAfterRender",{context:i,args:[i,t.el,e]}))})},e.prototype.triggerBeforeEventsDestroyed=function(){this.triggerBeforeEventSegsDestroyed(this.getEventSegs())},e.prototype.triggerBeforeEventSegsDestroyed=function(t){var e=this;this.hasPublicHandlers("eventDestroy")&&t.forEach(function(t){var i;t.el&&(i=t.footprint.getEventLegacy(),e.publiclyTrigger("eventDestroy",{context:i,args:[i,t.el,e]}))})},e.prototype.showEventsWithId=function(t){this.getEventSegs().forEach(function(e){e.footprint.eventDef.id===t&&e.el&&e.el.css("visibility","")}),this.callChildren("showEventsWithId",arguments)},e.prototype.hideEventsWithId=function(t){this.getEventSegs().forEach(function(e){e.footprint.eventDef.id===t&&e.el&&e.el.css("visibility","hidden")}),this.callChildren("hideEventsWithId",arguments)},e.prototype.renderDrag=function(t,e,i){var n=!1;return this.iterChildren(function(a){a.renderDrag(t,e,i)&&(n=!0)}),n},e.prototype.unrenderDrag=function(){this.callChildren("unrenderDrag",arguments)},e.prototype.renderEventResize=function(t,e,i){this.callChildren("renderEventResize",arguments)},e.prototype.unrenderEventResize=function(){this.callChildren("unrenderEventResize",arguments)},e.prototype.renderSelectionFootprint=function(t){this.renderHighlight(t),this.callChildren("renderSelectionFootprint",arguments)},e.prototype.unrenderSelection=function(){this.unrenderHighlight(),this.callChildren("unrenderSelection",arguments)},e.prototype.renderHighlight=function(t){this.fillRenderer&&this.fillRenderer.renderFootprint("highlight",t,{getClasses:function(){return["fc-highlight"]}}),this.callChildren("renderHighlight",arguments)},e.prototype.unrenderHighlight=function(){this.fillRenderer&&this.fillRenderer.unrender("highlight"),this.callChildren("unrenderHighlight",arguments)},e.prototype.hitsNeeded=function(){this.hitsNeededDepth++||this.prepareHits(),this.callChildren("hitsNeeded",arguments)},e.prototype.hitsNotNeeded=function(){this.hitsNeededDepth&&!--this.hitsNeededDepth&&this.releaseHits(),this.callChildren("hitsNotNeeded",arguments)},e.prototype.prepareHits=function(){},e.prototype.releaseHits=function(){},e.prototype.queryHit=function(t,e){var i,n,a=this.childrenByUid;for(i in a)if(n=a[i].queryHit(t,e))break;return n},e.prototype.getSafeHitFootprint=function(t){var e=this.getHitFootprint(t);return this.dateProfile.activeUnzonedRange.containsRange(e.unzonedRange)?e:null},e.prototype.getHitFootprint=function(t){},e.prototype.getHitEl=function(t){},e.prototype.eventRangesToEventFootprints=function(t){var e,i=[];for(e=0;e<t.length;e++)i.push.apply(i,this.eventRangeToEventFootprints(t[e]));return i},e.prototype.eventRangeToEventFootprints=function(t){return[d.eventRangeToEventFootprint(t)]},e.prototype.eventFootprintsToSegs=function(t){var e,i=[];for(e=0;e<t.length;e++)i.push.apply(i,this.eventFootprintToSegs(t[e]));return i},e.prototype.eventFootprintToSegs=function(t){var e,i,n,a=t.componentFootprint.unzonedRange;for(e=this.componentFootprintToSegs(t.componentFootprint),i=0;i<e.length;i++)n=e[i],a.isStart||(n.isStart=!1),a.isEnd||(n.isEnd=!1),n.footprint=t;return e},e.prototype.componentFootprintToSegs=function(t){return[]},e.prototype.callChildren=function(t,e){this.iterChildren(function(i){i[t].apply(i,e)})},e.prototype.iterChildren=function(t){var e,i=this.childrenByUid;for(e in i)t(i[e])},e.prototype._getCalendar=function(){return this.calendar||this.view.calendar},e.prototype._getView=function(){return this.view},e.prototype._getDateProfile=function(){return this._getView().get("dateProfile")},e.prototype.buildGotoAnchorHtml=function(t,e,i){var n,r,l,c;return a.isPlainObject(t)?(n=t.date,r=t.type,l=t.forceOff):n=t,c={date:(n=s.default(n)).format("YYYY-MM-DD"),type:r||"day"},"string"==typeof e&&(i=e,e=null),e=e?" "+o.attrsToStr(e):"",i=i||"",!l&&this.opt("navLinks")?"<a"+e+' data-goto="'+o.htmlEscape(JSON.stringify(c))+'">'+i+"</a>":"<span"+e+">"+i+"</span>"},e.prototype.getAllDayHtml=function(){return this.opt("allDayHtml")||o.htmlEscape(this.opt("allDayText"))},e.prototype.getDayClasses=function(t,e){var i,n=this._getView(),a=[];return this.dateProfile.activeUnzonedRange.containsDate(t)?(a.push("fc-"+o.dayIDs[t.day()]),n.isDateInOtherMonth(t,this.dateProfile)&&a.push("fc-other-month"),i=n.calendar.getNow(),t.isSame(i,"day")?(a.push("fc-today"),!0!==e&&a.push(n.calendar.theme.getClass("today"))):t<i?a.push("fc-past"):a.push("fc-future")):a.push("fc-disabled-day"),a},e.prototype.formatRange=function(t,e,i,n){var a=t.end;return e&&(a=a.clone().subtract(1)),l.formatRange(t.start,a,i,n,this.isRTL)},e.prototype.currentRangeAs=function(t){return this._getDateProfile().currentUnzonedRange.as(t)},e.prototype.computeDayRange=function(t){var e=this._getCalendar(),i=e.msToUtcMoment(t.startMs,!0),n=e.msToUtcMoment(t.endMs),a=+n.time(),r=n.clone().stripTime();return a&&a>=this.nextDayThreshold&&r.add(1,"days"),r<=i&&(r=i.clone().add(1,"days")),{start:i,end:r}},e.prototype.isMultiDayRange=function(t){var e=this.computeDayRange(t);return e.end.diff(e.start,"days")>1},e.guid=0,e}(c.default);e.default=u},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(0),r=i(4),o=i(33),s=i(225),l=i(23),c=i(13),d=i(7),u=i(257),h=i(258),p=i(259),f=i(217),g=i(32),m=i(11),v=i(5),y=i(12),b=i(16),w=i(220),x=i(218),_=i(38),k=i(36),S=i(9),M=i(39),C=i(6),T=i(57),D=function(){function t(t,e){this.loadingLevel=0,this.ignoreUpdateViewSize=0,this.freezeContentHeightDepth=0,l.default.needed(),this.el=t,this.viewsByType={},this.optionsManager=new h.default(this,e),this.viewSpecManager=new p.default(this.optionsManager,this),this.initMomentInternals(),this.initCurrentDate(),this.initEventManager(),this.constraints=new f.default(this.eventManager,this),this.constructed()}return t.prototype.constructed=function(){},t.prototype.getView=function(){return this.view},t.prototype.publiclyTrigger=function(t,e){var i,a,r=this.opt(t);if(n.isPlainObject(e)?(i=e.context,a=e.args):n.isArray(e)&&(a=e),null==i&&(i=this.el[0]),a||(a=[]),this.triggerWith(t,i,a),r)return r.apply(i,a)},t.prototype.hasPublicHandlers=function(t){return this.hasHandlers(t)||this.opt(t)},t.prototype.option=function(t,e){var i;if("string"==typeof t){if(void 0===e)return this.optionsManager.get(t);(i={})[t]=e,this.optionsManager.add(i)}else"object"==typeof t&&this.optionsManager.add(t)},t.prototype.opt=function(t){return this.optionsManager.get(t)},t.prototype.instantiateView=function(t){var e=this.viewSpecManager.getViewSpec(t);if(!e)throw new Error('View type "'+t+'" is not valid');return new e.class(this,e)},t.prototype.isValidViewType=function(t){return Boolean(this.viewSpecManager.getViewSpec(t))},t.prototype.changeView=function(t,e){e&&(e.start&&e.end?this.optionsManager.recordOverrides({visibleRange:e}):this.currentDate=this.moment(e).stripZone()),this.renderView(t)},t.prototype.zoomTo=function(t,e){var i;e=e||"day",i=this.viewSpecManager.getViewSpec(e)||this.viewSpecManager.getUnitViewSpec(e),this.currentDate=t.clone(),this.renderView(i?i.type:null)},t.prototype.initCurrentDate=function(){var t=this.opt("defaultDate");this.currentDate=null!=t?this.moment(t).stripZone():this.getNow()},t.prototype.prev=function(){var t=this.view,e=t.dateProfileGenerator.buildPrev(t.get("dateProfile"));e.isValid&&(this.currentDate=e.date,this.renderView())},t.prototype.next=function(){var t=this.view,e=t.dateProfileGenerator.buildNext(t.get("dateProfile"));e.isValid&&(this.currentDate=e.date,this.renderView())},t.prototype.prevYear=function(){this.currentDate.add(-1,"years"),this.renderView()},t.prototype.nextYear=function(){this.currentDate.add(1,"years"),this.renderView()},t.prototype.today=function(){this.currentDate=this.getNow(),this.renderView()},t.prototype.gotoDate=function(t){this.currentDate=this.moment(t).stripZone(),this.renderView()},t.prototype.incrementDate=function(t){this.currentDate.add(a.duration(t)),this.renderView()},t.prototype.getDate=function(){return this.applyTimezone(this.currentDate)},t.prototype.pushLoading=function(){this.loadingLevel++||this.publiclyTrigger("loading",[!0,this.view])},t.prototype.popLoading=function(){--this.loadingLevel||this.publiclyTrigger("loading",[!1,this.view])},t.prototype.render=function(){this.contentEl?this.elementVisible()&&(this.calcSize(),this.updateViewSize()):this.initialRender()},t.prototype.initialRender=function(){var t=this,e=this.el;e.addClass("fc"),e.on("click.fc","a[data-goto]",function(e){var i=n(e.currentTarget).data("goto"),a=t.moment(i.date),o=i.type,s=t.view.opt("navLink"+r.capitaliseFirstLetter(o)+"Click");"function"==typeof s?s(a,e):("string"==typeof s&&(o=s),t.zoomTo(a,o))}),this.optionsManager.watch("settingTheme",["?theme","?themeSystem"],function(i){var n=new(T.getThemeSystemClass(i.themeSystem||i.theme))(t.optionsManager),a=n.getClass("widget");t.theme=n,a&&e.addClass(a)},function(){var i=t.theme.getClass("widget");t.theme=null,i&&e.removeClass(i)}),this.optionsManager.watch("settingBusinessHourGenerator",["?businessHours"],function(e){t.businessHourGenerator=new x.default(e.businessHours,t),t.view&&t.view.set("businessHourGenerator",t.businessHourGenerator)},function(){t.businessHourGenerator=null}),this.optionsManager.watch("applyingDirClasses",["?isRTL","?locale"],function(t){e.toggleClass("fc-ltr",!t.isRTL),e.toggleClass("fc-rtl",t.isRTL)}),this.contentEl=n("<div class='fc-view-container'/>").prependTo(e),this.initToolbars(),this.renderHeader(),this.renderFooter(),this.renderView(this.opt("defaultView")),this.opt("handleWindowResize")&&n(window).resize(this.windowResizeProxy=r.debounce(this.windowResize.bind(this),this.opt("windowResizeDelay")))},t.prototype.destroy=function(){this.view&&this.clearView(),this.toolbarsManager.proxyCall("removeElement"),this.contentEl.remove(),this.el.removeClass("fc fc-ltr fc-rtl"),this.optionsManager.unwatch("settingTheme"),this.optionsManager.unwatch("settingBusinessHourGenerator"),this.el.off(".fc"),this.windowResizeProxy&&(n(window).unbind("resize",this.windowResizeProxy),this.windowResizeProxy=null),l.default.unneeded()},t.prototype.elementVisible=function(){return this.el.is(":visible")},t.prototype.bindViewHandlers=function(t){var e=this;t.watch("titleForCalendar",["title"],function(i){t===e.view&&e.setToolbarsTitle(i.title)}),t.watch("dateProfileForCalendar",["dateProfile"],function(i){t===e.view&&(e.currentDate=i.dateProfile.date,e.updateToolbarButtons(i.dateProfile))})},t.prototype.unbindViewHandlers=function(t){t.unwatch("titleForCalendar"),t.unwatch("dateProfileForCalendar")},t.prototype.renderView=function(t){var e,i=this.view;this.freezeContentHeight(),i&&t&&i.type!==t&&this.clearView(),!this.view&&t&&(e=this.view=this.viewsByType[t]||(this.viewsByType[t]=this.instantiateView(t)),this.bindViewHandlers(e),e.startBatchRender(),e.setElement(n("<div class='fc-view fc-"+t+"-view' />").appendTo(this.contentEl)),this.toolbarsManager.proxyCall("activateButton",t)),this.view&&(this.view.get("businessHourGenerator")!==this.businessHourGenerator&&this.view.set("businessHourGenerator",this.businessHourGenerator),this.view.setDate(this.currentDate),e&&e.stopBatchRender()),this.thawContentHeight()},t.prototype.clearView=function(){var t=this.view;this.toolbarsManager.proxyCall("deactivateButton",t.type),this.unbindViewHandlers(t),t.removeElement(),t.unsetDate(),this.view=null},t.prototype.reinitView=function(){var t=this.view,e=t.queryScroll();this.freezeContentHeight(),this.clearView(),this.calcSize(),this.renderView(t.type),this.view.applyScroll(e),this.thawContentHeight()},t.prototype.getSuggestedViewHeight=function(){return null==this.suggestedViewHeight&&this.calcSize(),this.suggestedViewHeight},t.prototype.isHeightAuto=function(){return"auto"===this.opt("contentHeight")||"auto"===this.opt("height")},t.prototype.updateViewSize=function(t){void 0===t&&(t=!1);var e,i=this.view;if(!this.ignoreUpdateViewSize&&i)return t&&(this.calcSize(),e=i.queryScroll()),this.ignoreUpdateViewSize++,i.updateSize(this.getSuggestedViewHeight(),this.isHeightAuto(),t),this.ignoreUpdateViewSize--,t&&i.applyScroll(e),!0},t.prototype.calcSize=function(){this.elementVisible()&&this._calcSize()},t.prototype._calcSize=function(){var t=this.opt("contentHeight"),e=this.opt("height");this.suggestedViewHeight="number"==typeof t?t:"function"==typeof t?t():"number"==typeof e?e-this.queryToolbarsHeight():"function"==typeof e?e()-this.queryToolbarsHeight():"parent"===e?this.el.parent().height()-this.queryToolbarsHeight():Math.round(this.contentEl.width()/Math.max(this.opt("aspectRatio"),.5))},t.prototype.windowResize=function(t){t.target===window&&this.view&&this.view.isDatesRendered&&this.updateViewSize(!0)&&this.publiclyTrigger("windowResize",[this.view])},t.prototype.freezeContentHeight=function(){this.freezeContentHeightDepth++||this.forceFreezeContentHeight()},t.prototype.forceFreezeContentHeight=function(){this.contentEl.css({width:"100%",height:this.contentEl.height(),overflow:"hidden"})},t.prototype.thawContentHeight=function(){this.freezeContentHeightDepth--,this.contentEl.css({width:"",height:"",overflow:""}),this.freezeContentHeightDepth&&this.forceFreezeContentHeight()},t.prototype.initToolbars=function(){this.header=new u.default(this,this.computeHeaderOptions()),this.footer=new u.default(this,this.computeFooterOptions()),this.toolbarsManager=new s.default([this.header,this.footer])},t.prototype.computeHeaderOptions=function(){return{extraClasses:"fc-header-toolbar",layout:this.opt("header")}},t.prototype.computeFooterOptions=function(){return{extraClasses:"fc-footer-toolbar",layout:this.opt("footer")}},t.prototype.renderHeader=function(){var t=this.header;t.setToolbarOptions(this.computeHeaderOptions()),t.render(),t.el&&this.el.prepend(t.el)},t.prototype.renderFooter=function(){var t=this.footer;t.setToolbarOptions(this.computeFooterOptions()),t.render(),t.el&&this.el.append(t.el)},t.prototype.setToolbarsTitle=function(t){this.toolbarsManager.proxyCall("updateTitle",t)},t.prototype.updateToolbarButtons=function(t){var e=this.getNow(),i=this.view,n=i.dateProfileGenerator.build(e),a=i.dateProfileGenerator.buildPrev(i.get("dateProfile")),r=i.dateProfileGenerator.buildNext(i.get("dateProfile"));this.toolbarsManager.proxyCall(n.isValid&&!t.currentUnzonedRange.containsDate(e)?"enableButton":"disableButton","today"),this.toolbarsManager.proxyCall(a.isValid?"enableButton":"disableButton","prev"),this.toolbarsManager.proxyCall(r.isValid?"enableButton":"disableButton","next")},t.prototype.queryToolbarsHeight=function(){return this.toolbarsManager.items.reduce(function(t,e){return t+(e.el?e.el.outerHeight(!0):0)},0)},t.prototype.select=function(t,e){this.view.select(this.buildSelectFootprint.apply(this,arguments))},t.prototype.unselect=function(){this.view&&this.view.unselect()},t.prototype.buildSelectFootprint=function(t,e){var i,n=this.moment(t).stripZone();return i=e?this.moment(e).stripZone():n.hasTime()?n.clone().add(this.defaultTimedEventDuration):n.clone().add(this.defaultAllDayEventDuration),new y.default(new v.default(n,i),!n.hasTime())},t.prototype.initMomentInternals=function(){var t=this;this.defaultAllDayEventDuration=a.duration(this.opt("defaultAllDayEventDuration")),this.defaultTimedEventDuration=a.duration(this.opt("defaultTimedEventDuration")),this.optionsManager.watch("buildingMomentLocale",["?locale","?monthNames","?monthNamesShort","?dayNames","?dayNamesShort","?firstDay","?weekNumberCalculation"],function(e){var i,n=e.weekNumberCalculation,a=e.firstDay;"iso"===n&&(n="ISO");var r=Object.create(g.getMomentLocaleData(e.locale));e.monthNames&&(r._months=e.monthNames),e.monthNamesShort&&(r._monthsShort=e.monthNamesShort),e.dayNames&&(r._weekdays=e.dayNames),e.dayNamesShort&&(r._weekdaysShort=e.dayNamesShort),null==a&&"ISO"===n&&(a=1),null!=a&&((i=Object.create(r._week)).dow=a,r._week=i),"ISO"!==n&&"local"!==n&&"function"!=typeof n||(r._fullCalendar_weekCalc=n),t.localeData=r,t.currentDate&&t.localizeMoment(t.currentDate)})},t.prototype.moment=function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return"local"===this.opt("timezone")?(t=m.default.apply(null,e)).hasTime()&&t.local():t="UTC"===this.opt("timezone")?m.default.utc.apply(null,e):m.default.parseZone.apply(null,e),this.localizeMoment(t),t},t.prototype.msToMoment=function(t,e){var i=m.default.utc(t);return e?i.stripTime():i=this.applyTimezone(i),this.localizeMoment(i),i},t.prototype.msToUtcMoment=function(t,e){var i=m.default.utc(t);return e&&i.stripTime(),this.localizeMoment(i),i},t.prototype.localizeMoment=function(t){t._locale=this.localeData},t.prototype.getIsAmbigTimezone=function(){return"local"!==this.opt("timezone")&&"UTC"!==this.opt("timezone")},t.prototype.applyTimezone=function(t){if(!t.hasTime())return t.clone();var e,i=this.moment(t.toArray()),n=t.time().asMilliseconds()-i.time().asMilliseconds();return n&&(e=i.clone().add(n),t.time().asMilliseconds()-e.time().asMilliseconds()==0&&(i=e)),i},t.prototype.footprintToDateProfile=function(t,e){void 0===e&&(e=!1);var i,n=m.default.utc(t.unzonedRange.startMs);return e||(i=m.default.utc(t.unzonedRange.endMs)),t.isAllDay?(n.stripTime(),i&&i.stripTime()):(n=this.applyTimezone(n),i&&(i=this.applyTimezone(i))),this.localizeMoment(n),i&&this.localizeMoment(i),new b.default(n,i,this)},t.prototype.getNow=function(){var t=this.opt("now");return"function"==typeof t&&(t=t()),this.moment(t).stripZone()},t.prototype.humanizeDuration=function(t){return t.locale(this.opt("locale")).humanize()},t.prototype.parseUnzonedRange=function(t){var e=null,i=null;return t.start&&(e=this.moment(t.start).stripZone()),t.end&&(i=this.moment(t.end).stripZone()),e||i?e&&i&&i.isBefore(e)?null:new v.default(e,i):null},t.prototype.initEventManager=function(){var t=this,e=new w.default(this),i=this.opt("eventSources")||[],n=this.opt("events");this.eventManager=e,n&&i.unshift(n),e.on("release",function(e){t.trigger("eventsReset",e)}),e.freeze(),i.forEach(function(i){var n=_.default.parse(i,t);n&&e.addSource(n)}),e.thaw()},t.prototype.requestEvents=function(t,e){return this.eventManager.requestEvents(t,e,this.opt("timezone"),!this.opt("lazyFetching"))},t.prototype.getEventEnd=function(t){return t.end?t.end.clone():this.getDefaultEventEnd(t.allDay,t.start)},t.prototype.getDefaultEventEnd=function(t,e){var i=e.clone();return t?i.stripTime().add(this.defaultAllDayEventDuration):i.add(this.defaultTimedEventDuration),this.getIsAmbigTimezone()&&i.stripZone(),i},t.prototype.rerenderEvents=function(){this.view.flash("displayingEvents")},t.prototype.refetchEvents=function(){this.eventManager.refetchAllSources()},t.prototype.renderEvents=function(t,e){this.eventManager.freeze();for(var i=0;i<t.length;i++)this.renderEvent(t[i],e);this.eventManager.thaw()},t.prototype.renderEvent=function(t,e){void 0===e&&(e=!1);var i=this.eventManager,n=k.default.parse(t,t.source||i.stickySource);n&&i.addEventDef(n,e)},t.prototype.removeEvents=function(t){var e,i=this.eventManager,n=[],a={};if(null==t)i.removeAllEventDefs();else{for(i.getEventInstances().forEach(function(t){n.push(t.toLegacy())}),n=L(n,t),e=0;e<n.length;e++)a[this.eventManager.getEventDefByUid(n[e]._id).id]=!0;for(e in i.freeze(),a)i.removeEventDefsById(e);i.thaw()}},t.prototype.clientEvents=function(t){var e=[];return this.eventManager.getEventInstances().forEach(function(t){e.push(t.toLegacy())}),L(e,t)},t.prototype.updateEvents=function(t){this.eventManager.freeze();for(var e=0;e<t.length;e++)this.updateEvent(t[e]);this.eventManager.thaw()},t.prototype.updateEvent=function(t){var e,i,n=this.eventManager.getEventDefByUid(t._id);n instanceof S.default&&(e=n.buildInstance(),i=M.default.createFromRawProps(e,t,null),this.eventManager.mutateEventsWithId(n.id,i))},t.prototype.getEventSources=function(){return this.eventManager.otherSources.slice()},t.prototype.getEventSourceById=function(t){return this.eventManager.getSourceById(C.default.normalizeId(t))},t.prototype.addEventSource=function(t){var e=_.default.parse(t,this);e&&this.eventManager.addSource(e)},t.prototype.removeEventSources=function(t){var e,i,n=this.eventManager;if(null==t)this.eventManager.removeAllSources();else{for(e=n.multiQuerySources(t),n.freeze(),i=0;i<e.length;i++)n.removeSource(e[i]);n.thaw()}},t.prototype.removeEventSource=function(t){var e,i=this.eventManager,n=i.querySources(t);for(i.freeze(),e=0;e<n.length;e++)i.removeSource(n[e]);i.thaw()},t.prototype.refetchEventSources=function(t){var e,i=this.eventManager,n=i.multiQuerySources(t);for(i.freeze(),e=0;e<n.length;e++)i.refetchSource(n[e]);i.thaw()},t.defaults=o.globalDefaults,t.englishDefaults=o.englishDefaults,t.rtlDefaults=o.rtlDefaults,t}();function L(t,e){return null==e?t:n.isFunction(e)?t.filter(e):(e+="",t.filter(function(t){return t.id==e||t._id===e}))}e.default=D,c.default.mixInto(D),d.default.mixInto(D)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(0),o=i(18),s=i(4),l=i(11),c=i(7),d=i(17),u=i(9),h=i(20),p=i(6),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isDragging=!1,e}return n.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.bindToDocument=function(){this.listenTo(a(document),{dragstart:this.handleDragStart,sortstart:this.handleDragStart})},e.prototype.unbindFromDocument=function(){this.stopListeningTo(a(document))},e.prototype.handleDragStart=function(t,e){var i,n;this.opt("droppable")&&(i=a((e?e.item:null)||t.target),n=this.opt("dropAccept"),(a.isFunction(n)?n.call(i[0],i):i.is(n))&&(this.isDragging||this.listenToExternalDrag(i,t,e)))},e.prototype.listenToExternalDrag=function(t,e,i){var n,l=this,c=this.component,u=this.view,p=function(t){var e,i,n,s,l=o.dataAttrPrefix;l&&(l+="-");(e=t.data(l+"event")||null)&&(e="object"==typeof e?a.extend({},e):{},null==(i=e.start)&&(i=e.time),n=e.duration,s=e.stick,delete e.start,delete e.time,delete e.duration,delete e.stick);null==i&&(i=t.data(l+"start"));null==i&&(i=t.data(l+"time"));null==n&&(n=t.data(l+"duration"));null==s&&(s=t.data(l+"stick"));return i=null!=i?r.duration(i):null,n=null!=n?r.duration(n):null,s=Boolean(s),{eventProps:e,startTime:i,duration:n,stick:s}}(t);(this.dragListener=new d.default(c,{interactionStart:function(){l.isDragging=!0},hitOver:function(t){var e,i=!0,a=t.component.getSafeHitFootprint(t);a&&(n=l.computeExternalDrop(a,p))?(e=new h.default(n.buildInstances()),i=p.eventProps?c.isEventInstanceGroupAllowed(e):c.isExternalInstanceGroupAllowed(e)):i=!1,i||(n=null,s.disableCursor()),n&&c.renderDrag(c.eventRangesToEventFootprints(e.sliceRenderRanges(c.dateProfile.renderUnzonedRange,u.calendar)))},hitOut:function(){n=null},hitDone:function(){s.enableCursor(),c.unrenderDrag()},interactionEnd:function(e){n&&u.reportExternalDrop(n,Boolean(p.eventProps),Boolean(p.stick),t,e,i),l.isDragging=!1,l.dragListener=null}})).startDrag(e)},e.prototype.computeExternalDrop=function(t,e){var i,n=this.view.calendar,r=l.default.utc(t.unzonedRange.startMs).stripZone();return t.isAllDay&&(e.startTime?r.time(e.startTime):r.stripTime()),e.duration&&(i=r.clone().add(e.duration)),r=n.applyTimezone(r),i&&(i=n.applyTimezone(i)),u.default.parse(a.extend({},e.eventProps,{start:r,end:i}),new p.default(n))},e}(i(14).default);e.default=f,c.default.mixInto(f),o.dataAttrPrefix=""},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=i(39),s=i(40),l=i(17),c=function(t){function e(e,i){var n=t.call(this,e)||this;return n.isResizing=!1,n.eventPointing=i,n}return n.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"mousedown",this.handleMouseDown.bind(this)),e.bindSegHandlerToEl(t,"touchstart",this.handleTouchStart.bind(this))},e.prototype.handleMouseDown=function(t,e){this.component.canStartResize(t,e)&&this.buildDragListener(t,a(e.target).is(".fc-start-resizer")).startInteraction(e,{distance:5})},e.prototype.handleTouchStart=function(t,e){this.component.canStartResize(t,e)&&this.buildDragListener(t,a(e.target).is(".fc-start-resizer")).startInteraction(e)},e.prototype.buildDragListener=function(t,e){var i,n,a=this,o=this.component,s=this.view,c=s.calendar,d=c.eventManager,u=t.el,h=t.footprint.eventDef,p=t.footprint.eventInstance;return this.dragListener=new l.default(o,{scroll:this.opt("dragScroll"),subjectEl:u,interactionStart:function(){i=!1},dragStart:function(e){i=!0,a.eventPointing.handleMouseout(t,e),a.segResizeStart(t,e)},hitOver:function(i,l,u){var p,f=!0,g=o.getSafeHitFootprint(u),m=o.getSafeHitFootprint(i);g&&m&&(n=e?a.computeEventStartResizeMutation(g,m,t.footprint):a.computeEventEndResizeMutation(g,m,t.footprint))?(p=d.buildMutatedEventInstanceGroup(h.id,n),f=o.isEventInstanceGroupAllowed(p)):f=!1,f?n.isEmpty()&&(n=null):(n=null,r.disableCursor()),n&&(s.hideEventsWithId(t.footprint.eventDef.id),s.renderEventResize(o.eventRangesToEventFootprints(p.sliceRenderRanges(o.dateProfile.renderUnzonedRange,c)),t))},hitOut:function(){n=null},hitDone:function(){s.unrenderEventResize(t),s.showEventsWithId(t.footprint.eventDef.id),r.enableCursor()},interactionEnd:function(e){i&&a.segResizeStop(t,e),n&&s.reportEventResize(p,n,u,e),a.dragListener=null}})},e.prototype.segResizeStart=function(t,e){this.isResizing=!0,this.component.publiclyTrigger("eventResizeStart",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.segResizeStop=function(t,e){this.isResizing=!1,this.component.publiclyTrigger("eventResizeStop",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.computeEventStartResizeMutation=function(t,e,i){var n,a,r=i.componentFootprint.unzonedRange,l=this.component.diffDates(e.unzonedRange.getStart(),t.unzonedRange.getStart());return r.getStart().add(l)<r.getEnd()&&((n=new s.default).setStartDelta(l),(a=new o.default).setDateMutation(n),a)},e.prototype.computeEventEndResizeMutation=function(t,e,i){var n,a,r=i.componentFootprint.unzonedRange,l=this.component.diffDates(e.unzonedRange.getEnd(),t.unzonedRange.getEnd());return r.getEnd().add(l)>r.getStart()&&((n=new s.default).setEndDelta(l),(a=new o.default).setDateMutation(n),a)},e}(i(14).default);e.default=c},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(4),r=i(39),o=i(40),s=i(59),l=i(17),c=i(226),d=function(t){function e(e,i){var n=t.call(this,e)||this;return n.isDragging=!1,n.eventPointing=i,n}return n.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.getSelectionDelay=function(){var t=this.opt("eventLongPressDelay");return null==t&&(t=this.opt("longPressDelay")),t},e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"mousedown",this.handleMousedown.bind(this)),e.bindSegHandlerToEl(t,"touchstart",this.handleTouchStart.bind(this))},e.prototype.handleMousedown=function(t,e){!this.component.shouldIgnoreMouse()&&this.component.canStartDrag(t,e)&&this.buildDragListener(t).startInteraction(e,{distance:5})},e.prototype.handleTouchStart=function(t,e){var i=this.component,n={delay:this.view.isEventDefSelected(t.footprint.eventDef)?0:this.getSelectionDelay()};i.canStartDrag(t,e)?this.buildDragListener(t).startInteraction(e,n):i.canStartSelection(t,e)&&this.buildSelectListener(t).startInteraction(e,n)},e.prototype.buildSelectListener=function(t){var e=this,i=this.view,n=t.footprint.eventDef,a=t.footprint.eventInstance;if(this.dragListener)return this.dragListener;var r=this.dragListener=new s.default({dragStart:function(t){r.isTouch&&!i.isEventDefSelected(n)&&a&&i.selectEventInstance(a)},interactionEnd:function(t){e.dragListener=null}});return r},e.prototype.buildDragListener=function(t){var e,i,n,r=this,o=this.component,s=this.view,d=s.calendar,u=d.eventManager,h=t.el,p=t.footprint.eventDef,f=t.footprint.eventInstance;if(this.dragListener)return this.dragListener;var g=this.dragListener=new l.default(s,{scroll:this.opt("dragScroll"),subjectEl:h,subjectCenter:!0,interactionStart:function(n){t.component=o,e=!1,(i=new c.default(t.el,{additionalClass:"fc-dragging",parentEl:s.el,opacity:g.isTouch?null:r.opt("dragOpacity"),revertDuration:r.opt("dragRevertDuration"),zIndex:2})).hide(),i.start(n)},dragStart:function(i){g.isTouch&&!s.isEventDefSelected(p)&&f&&s.selectEventInstance(f),e=!0,r.eventPointing.handleMouseout(t,i),r.segDragStart(t,i),s.hideEventsWithId(t.footprint.eventDef.id)},hitOver:function(e,l,c){var h,f,m,v=!0;t.hit&&(c=t.hit),h=c.component.getSafeHitFootprint(c),f=e.component.getSafeHitFootprint(e),h&&f&&(n=r.computeEventDropMutation(h,f,p))?(m=u.buildMutatedEventInstanceGroup(p.id,n),v=o.isEventInstanceGroupAllowed(m)):v=!1,v||(n=null,a.disableCursor()),n&&s.renderDrag(o.eventRangesToEventFootprints(m.sliceRenderRanges(o.dateProfile.renderUnzonedRange,d)),t,g.isTouch)?i.hide():i.show(),l&&(n=null)},hitOut:function(){s.unrenderDrag(t),i.show(),n=null},hitDone:function(){a.enableCursor()},interactionEnd:function(a){delete t.component,i.stop(!n,function(){e&&(s.unrenderDrag(t),r.segDragStop(t,a)),s.showEventsWithId(t.footprint.eventDef.id),n&&s.reportEventDrop(f,n,h,a)}),r.dragListener=null}});return g},e.prototype.segDragStart=function(t,e){this.isDragging=!0,this.component.publiclyTrigger("eventDragStart",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.segDragStop=function(t,e){this.isDragging=!1,this.component.publiclyTrigger("eventDragStop",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.computeEventDropMutation=function(t,e,i){var n=new r.default;return n.setDateMutation(this.computeEventDateMutation(t,e)),n},e.prototype.computeEventDateMutation=function(t,e){var i,n,a=t.unzonedRange.getStart(),r=e.unzonedRange.getStart(),s=!1,l=!1,c=!1;return t.isAllDay!==e.isAllDay&&(s=!0,e.isAllDay?(c=!0,a.stripTime()):l=!0),i=this.component.diffDates(r,a),(n=new o.default).clearEnd=s,n.forceTimed=l,n.forceAllDay=c,n.setDateDelta(i),n},e}(i(14).default);e.default=d},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(4),r=i(17),o=i(12),s=i(5),l=function(t){function e(e){var i=t.call(this,e)||this;return i.dragListener=i.buildDragListener(),i}return n.__extends(e,t),e.prototype.end=function(){this.dragListener.endInteraction()},e.prototype.getDelay=function(){var t=this.opt("selectLongPressDelay");return null==t&&(t=this.opt("longPressDelay")),t},e.prototype.bindToEl=function(t){var e=this,i=this.component,n=this.dragListener;i.bindDateHandlerToEl(t,"mousedown",function(t){e.opt("selectable")&&!i.shouldIgnoreMouse()&&n.startInteraction(t,{distance:e.opt("selectMinDistance")})}),i.bindDateHandlerToEl(t,"touchstart",function(t){e.opt("selectable")&&!i.shouldIgnoreTouch()&&n.startInteraction(t,{delay:e.getDelay()})}),a.preventSelection(t)},e.prototype.buildDragListener=function(){var t,e=this,i=this.component;return new r.default(i,{scroll:this.opt("dragScroll"),interactionStart:function(){t=null},dragStart:function(t){e.view.unselect(t)},hitOver:function(n,r,o){var s,l;o&&(s=i.getSafeHitFootprint(o),l=i.getSafeHitFootprint(n),(t=s&&l?e.computeSelection(s,l):null)?i.renderSelectionFootprint(t):!1===t&&a.disableCursor())},hitOut:function(){t=null,i.unrenderSelection()},hitDone:function(){a.enableCursor()},interactionEnd:function(i,n){!n&&t&&e.view.reportSelection(t,i)}})},e.prototype.computeSelection=function(t,e){var i=this.computeSelectionFootprint(t,e);return!(i&&!this.isSelectionFootprintAllowed(i))&&i},e.prototype.computeSelectionFootprint=function(t,e){var i=[t.unzonedRange.startMs,t.unzonedRange.endMs,e.unzonedRange.startMs,e.unzonedRange.endMs];return i.sort(a.compareNumbers),new o.default(new s.default(i[0],i[3]),t.isAllDay)},e.prototype.isSelectionFootprintAllowed=function(t){return this.component.dateProfile.validUnzonedRange.containsRange(t.unzonedRange)&&this.view.calendar.constraints.isSelectionFootprintAllowed(t)},e}(i(14).default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(17),r=function(t){function e(e){var i=t.call(this,e)||this;return i.dragListener=i.buildDragListener(),i}return n.__extends(e,t),e.prototype.end=function(){this.dragListener.endInteraction()},e.prototype.bindToEl=function(t){var e=this.component,i=this.dragListener;e.bindDateHandlerToEl(t,"mousedown",function(t){e.shouldIgnoreMouse()||i.startInteraction(t)}),e.bindDateHandlerToEl(t,"touchstart",function(t){e.shouldIgnoreTouch()||i.startInteraction(t)})},e.prototype.buildDragListener=function(){var t,e=this,i=this.component,n=new a.default(i,{scroll:this.opt("dragScroll"),interactionStart:function(){t=n.origHit},hitOver:function(e,i,n){i||(t=null)},hitOut:function(){t=null},interactionEnd:function(n,a){var r;!a&&t&&(r=i.getSafeHitFootprint(t))&&e.view.triggerDayClick(r,i.getHitEl(t),n)}});return n.shouldCancelTouchScroll=!1,n.scrollAlwaysKills=!0,n},e}(i(14).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n,a,r=i(2),o=i(0),s=i(3),l=i(4),c=i(41),d=i(43),u=i(239),h=i(66),p=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.usesMinMaxTime=!0,n.timeGrid=n.instantiateTimeGrid(),n.addChild(n.timeGrid),n.opt("allDaySlot")&&(n.dayGrid=n.instantiateDayGrid(),n.addChild(n.dayGrid)),n.scroller=new c.default({overflowX:"hidden",overflowY:"auto"}),n}return r.__extends(e,t),e.prototype.instantiateTimeGrid=function(){var t=new this.timeGridClass(this);return l.copyOwnProps(n,t),t},e.prototype.instantiateDayGrid=function(){var t=new this.dayGridClass(this);return l.copyOwnProps(a,t),t},e.prototype.renderSkeleton=function(){var t,e;this.el.addClass("fc-agenda-view").html(this.renderSkeletonHtml()),this.scroller.render(),t=this.scroller.el.addClass("fc-time-grid-container"),e=s('<div class="fc-time-grid" />').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.timeGrid.headContainerEl=this.el.find(".fc-head-container"),this.timeGrid.setElement(e),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight())},e.prototype.unrenderSkeleton=function(){this.timeGrid.removeElement(),this.dayGrid&&this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return'<table class="'+t.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+t.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+t.getClass("widgetContent")+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="fc-divider '+t.getClass("widgetHeader")+'"/>':"")+"</td></tr></tbody></table>"},e.prototype.axisStyleAttr=function(){return null!=this.axisWidth?'style="width:'+this.axisWidth+'px"':""},e.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},e.prototype.updateSize=function(e,i,n){var a,r,o;if(t.prototype.updateSize.call(this,e,i,n),this.axisWidth=l.matchCellWidths(this.el.find(".fc-axis")),this.timeGrid.colEls){var s=this.el.find(".fc-row:not(.fc-scroller *)");this.timeGrid.bottomRuleEl.hide(),this.scroller.clear(),l.uncompensateScroll(s),this.dayGrid&&(this.dayGrid.removeSegPopover(),(a=this.opt("eventLimit"))&&"number"!=typeof a&&(a=5),a&&this.dayGrid.limitRows(a)),i||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r),((o=this.scroller.getScrollbarWidths()).left||o.right)&&(l.compensateScroll(s,o),r=this.computeScrollerHeight(e),this.scroller.setHeight(r)),this.scroller.lockOverflow(o),this.timeGrid.getTotalSlatHeight()<r&&this.timeGrid.bottomRuleEl.show())}else i||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r))},e.prototype.computeScrollerHeight=function(t){return t-l.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.computeInitialDateScroll=function(){var t=o.duration(this.opt("scrollTime")),e=this.timeGrid.computeTimeTop(t);return(e=Math.ceil(e))&&e++,{top:e}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e.prototype.getHitFootprint=function(t){return t.component.getHitFootprint(t)},e.prototype.getHitEl=function(t){return t.component.getHitEl(t)},e.prototype.executeEventRender=function(t){var e,i,n={},a={};for(e in t)(i=t[e]).getEventDef().isAllDay()?n[e]=i:a[e]=i;this.timeGrid.executeEventRender(a),this.dayGrid&&this.dayGrid.executeEventRender(n)},e.prototype.renderDrag=function(t,e,i){var n=f(t),a=!1;return a=this.timeGrid.renderDrag(n.timed,e,i),this.dayGrid&&(a=this.dayGrid.renderDrag(n.allDay,e,i)||a),a},e.prototype.renderEventResize=function(t,e,i){var n=f(t);this.timeGrid.renderEventResize(n.timed,e,i),this.dayGrid&&this.dayGrid.renderEventResize(n.allDay,e,i)},e.prototype.renderSelectionFootprint=function(t){t.isAllDay?this.dayGrid&&this.dayGrid.renderSelectionFootprint(t):this.timeGrid.renderSelectionFootprint(t)},e}(d.default);function f(t){var e,i=[],n=[];for(e=0;e<t.length;e++)t[e].componentFootprint.isAllDay?i.push(t[e]):n.push(t[e]);return{allDay:i,timed:n}}e.default=p,p.prototype.timeGridClass=u.default,p.prototype.dayGridClass=h.default,n={renderHeadIntroHtml:function(){var t,e=this.view,i=e.calendar,n=i.msToUtcMoment(this.dateProfile.renderUnzonedRange.startMs,!0);return this.opt("weekNumbers")?(t=n.format(this.opt("smallWeekFormat")),'<th class="fc-axis fc-week-number '+i.theme.getClass("widgetHeader")+'" '+e.axisStyleAttr()+">"+e.buildGotoAnchorHtml({date:n,type:"week",forceOff:this.colCnt>1},l.htmlEscape(t))+"</th>"):'<th class="fc-axis '+i.theme.getClass("widgetHeader")+'" '+e.axisStyleAttr()+"></th>"},renderBgIntroHtml:function(){var t=this.view;return'<td class="fc-axis '+t.calendar.theme.getClass("widgetContent")+'" '+t.axisStyleAttr()+"></td>"},renderIntroHtml:function(){return'<td class="fc-axis" '+this.view.axisStyleAttr()+"></td>"}},a={renderBgIntroHtml:function(){var t=this.view;return'<td class="fc-axis '+t.calendar.theme.getClass("widgetContent")+'" '+t.axisStyleAttr()+"><span>"+t.getAllDayHtml()+"</span></td>"},renderIntroHtml:function(){return'<td class="fc-axis" '+this.view.axisStyleAttr()+"></td>"}}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(0),o=i(4),s=i(42),l=i(61),c=i(65),d=i(60),u=i(58),h=i(5),p=i(12),f=i(240),g=i(241),m=i(242),v=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],y=function(t){function e(e){var i=t.call(this,e)||this;return i.processOptions(),i}return n.__extends(e,t),e.prototype.componentFootprintToSegs=function(t){var e,i=this.sliceRangeByTimes(t.unzonedRange);for(e=0;e<i.length;e++)this.isRTL?i[e].col=this.daysPerRow-1-i[e].dayIndex:i[e].col=i[e].dayIndex;return i},e.prototype.sliceRangeByTimes=function(t){var e,i,n=[];for(i=0;i<this.daysPerRow;i++)(e=t.intersect(this.dayRanges[i]))&&n.push({startMs:e.startMs,endMs:e.endMs,isStart:e.isStart,isEnd:e.isEnd,dayIndex:i});return n},e.prototype.processOptions=function(){var t,e=this.opt("slotDuration"),i=this.opt("snapDuration");e=r.duration(e),i=i?r.duration(i):e,this.slotDuration=e,this.snapDuration=i,this.snapsPerSlot=e/i,t=this.opt("slotLabelFormat"),a.isArray(t)&&(t=t[t.length-1]),this.labelFormat=t||this.opt("smallTimeFormat"),t=this.opt("slotLabelInterval"),this.labelInterval=t?r.duration(t):this.computeLabelInterval(e)},e.prototype.computeLabelInterval=function(t){var e,i,n;for(e=v.length-1;e>=0;e--)if(i=r.duration(v[e]),n=o.divideDurationByDuration(i,t),o.isInt(n)&&n>1)return i;return r.duration(t)},e.prototype.renderDates=function(t){this.dateProfile=t,this.updateDayTable(),this.renderSlats(),this.renderColumns()},e.prototype.unrenderDates=function(){this.unrenderColumns()},e.prototype.renderSkeleton=function(){var t=this.view.calendar.theme;this.el.html('<div class="fc-bg"></div><div class="fc-slats"></div><hr class="fc-divider '+t.getClass("widgetHeader")+'" style="display:none" />'),this.bottomRuleEl=this.el.find("hr")},e.prototype.renderSlats=function(){var t=this.view.calendar.theme;this.slatContainerEl=this.el.find("> .fc-slats").html('<table class="'+t.getClass("tableGrid")+'">'+this.renderSlatRowHtml()+"</table>"),this.slatEls=this.slatContainerEl.find("tr"),this.slatCoordCache=new u.default({els:this.slatEls,isVertical:!0})},e.prototype.renderSlatRowHtml=function(){for(var t,e,i,n=this.view,a=n.calendar,s=a.theme,l=this.isRTL,c=this.dateProfile,d="",u=r.duration(+c.minTime),h=r.duration(0);u<c.maxTime;)t=a.msToUtcMoment(c.renderUnzonedRange.startMs).time(u),e=o.isInt(o.divideDurationByDuration(h,this.labelInterval)),i='<td class="fc-axis fc-time '+s.getClass("widgetContent")+'" '+n.axisStyleAttr()+">"+(e?"<span>"+o.htmlEscape(t.format(this.labelFormat))+"</span>":"")+"</td>",d+='<tr data-time="'+t.format("HH:mm:ss")+'"'+(e?"":' class="fc-minor"')+">"+(l?"":i)+'<td class="'+s.getClass("widgetContent")+'"/>'+(l?i:"")+"</tr>",u.add(this.slotDuration),h.add(this.slotDuration);return d},e.prototype.renderColumns=function(){var t=this.dateProfile,e=this.view.calendar.theme;this.dayRanges=this.dayDates.map(function(e){return new h.default(e.clone().add(t.minTime),e.clone().add(t.maxTime))}),this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),this.el.find("> .fc-bg").html('<table class="'+e.getClass("tableGrid")+'">'+this.renderBgTrHtml(0)+"</table>"),this.colEls=this.el.find(".fc-day, .fc-disabled-day"),this.colCoordCache=new u.default({els:this.colEls,isHorizontal:!0}),this.renderContentSkeleton()},e.prototype.unrenderColumns=function(){this.unrenderContentSkeleton()},e.prototype.renderContentSkeleton=function(){var t,e,i="";for(t=0;t<this.colCnt;t++)i+='<td><div class="fc-content-col"><div class="fc-event-container fc-helper-container"></div><div class="fc-event-container"></div><div class="fc-highlight-container"></div><div class="fc-bgevent-container"></div><div class="fc-business-container"></div></div></td>';e=this.contentSkeletonEl=a('<div class="fc-content-skeleton"><table><tr>'+i+"</tr></table></div>"),this.colContainerEls=e.find(".fc-content-col"),this.helperContainerEls=e.find(".fc-helper-container"),this.fgContainerEls=e.find(".fc-event-container:not(.fc-helper-container)"),this.bgContainerEls=e.find(".fc-bgevent-container"),this.highlightContainerEls=e.find(".fc-highlight-container"),this.businessContainerEls=e.find(".fc-business-container"),this.bookendCells(e.find("tr")),this.el.append(e)},e.prototype.unrenderContentSkeleton=function(){this.contentSkeletonEl&&(this.contentSkeletonEl.remove(),this.contentSkeletonEl=null,this.colContainerEls=null,this.helperContainerEls=null,this.fgContainerEls=null,this.bgContainerEls=null,this.highlightContainerEls=null,this.businessContainerEls=null)},e.prototype.groupSegsByCol=function(t){var e,i=[];for(e=0;e<this.colCnt;e++)i.push([]);for(e=0;e<t.length;e++)i[t[e].col].push(t[e]);return i},e.prototype.attachSegsByCol=function(t,e){var i,n,a;for(i=0;i<this.colCnt;i++)for(n=t[i],a=0;a<n.length;a++)e.eq(i).append(n[a].el)},e.prototype.getNowIndicatorUnit=function(){return"minute"},e.prototype.renderNowIndicator=function(t){if(this.colContainerEls){var e,i=this.componentFootprintToSegs(new p.default(new h.default(t,t.valueOf()+1),!1)),n=this.computeDateTop(t,t),r=[];for(e=0;e<i.length;e++)r.push(a('<div class="fc-now-indicator fc-now-indicator-line"></div>').css("top",n).appendTo(this.colContainerEls.eq(i[e].col))[0]);i.length>0&&r.push(a('<div class="fc-now-indicator fc-now-indicator-arrow"></div>').css("top",n).appendTo(this.el.find(".fc-content-skeleton"))[0]),this.nowIndicatorEls=a(r)}},e.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},e.prototype.updateSize=function(e,i,n){t.prototype.updateSize.call(this,e,i,n),this.slatCoordCache.build(),n&&this.updateSegVerticals([].concat(this.eventRenderer.getSegs(),this.businessSegs||[]))},e.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.outerHeight()},e.prototype.computeDateTop=function(t,e){return this.computeTimeTop(r.duration(t-e.clone().stripTime()))},e.prototype.computeTimeTop=function(t){var e,i,n=this.slatEls.length,a=(t-this.dateProfile.minTime)/this.slotDuration;return a=Math.max(0,a),a=Math.min(n,a),e=Math.floor(a),i=a-(e=Math.min(e,n-1)),this.slatCoordCache.getTopPosition(e)+this.slatCoordCache.getHeight(e)*i},e.prototype.updateSegVerticals=function(t){this.computeSegVerticals(t),this.assignSegVerticals(t)},e.prototype.computeSegVerticals=function(t){var e,i,n,a=this.opt("agendaEventMinHeight");for(e=0;e<t.length;e++)i=t[e],n=this.dayDates[i.dayIndex],i.top=this.computeDateTop(i.startMs,n),i.bottom=Math.max(i.top+a,this.computeDateTop(i.endMs,n))},e.prototype.assignSegVerticals=function(t){var e,i;for(e=0;e<t.length;e++)(i=t[e]).el.css(this.generateSegVerticalCss(i))},e.prototype.generateSegVerticalCss=function(t){return{top:t.top,bottom:-t.bottom}},e.prototype.prepareHits=function(){this.colCoordCache.build(),this.slatCoordCache.build()},e.prototype.releaseHits=function(){this.colCoordCache.clear()},e.prototype.queryHit=function(t,e){var i=this.snapsPerSlot,n=this.colCoordCache,a=this.slatCoordCache;if(n.isLeftInBounds(t)&&a.isTopInBounds(e)){var r=n.getHorizontalIndex(t),o=a.getVerticalIndex(e);if(null!=r&&null!=o){var s=a.getTopOffset(o),l=a.getHeight(o),c=(e-s)/l,d=Math.floor(c*i),u=s+d/i*l,h=s+(d+1)/i*l;return{col:r,snap:o*i+d,component:this,left:n.getLeftOffset(r),right:n.getRightOffset(r),top:u,bottom:h}}}},e.prototype.getHitFootprint=function(t){var e,i=this.getCellDate(0,t.col),n=this.computeSnapTime(t.snap);return i.time(n),e=i.clone().add(this.snapDuration),new p.default(new h.default(i,e),!1)},e.prototype.computeSnapTime=function(t){return r.duration(this.dateProfile.minTime+this.snapDuration*t)},e.prototype.getHitEl=function(t){return this.colEls.eq(t.col)},e.prototype.renderDrag=function(t,e,i){var n;if(e){if(t.length)return this.helperRenderer.renderEventDraggingFootprints(t,e,i),!0}else for(n=0;n<t.length;n++)this.renderHighlight(t[n].componentFootprint)},e.prototype.unrenderDrag=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.renderEventResize=function(t,e,i){this.helperRenderer.renderEventResizingFootprints(t,e,i)},e.prototype.unrenderEventResize=function(){this.helperRenderer.unrender()},e.prototype.renderSelectionFootprint=function(t){this.opt("selectHelper")?this.helperRenderer.renderComponentFootprint(t):this.renderHighlight(t)},e.prototype.unrenderSelection=function(){this.helperRenderer.unrender(),this.unrenderHighlight()},e}(s.default);e.default=y,y.prototype.eventRendererClass=f.default,y.prototype.businessHourRendererClass=l.default,y.prototype.helperRendererClass=g.default,y.prototype.fillRendererClass=m.default,c.default.mixInto(y),d.default.mixInto(y)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(4),r=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.timeGrid=e,n}return n.__extends(e,t),e.prototype.renderFgSegs=function(t){this.renderFgSegsIntoContainers(t,this.timeGrid.fgContainerEls)},e.prototype.renderFgSegsIntoContainers=function(t,e){var i,n;for(i=this.timeGrid.groupSegsByCol(t),n=0;n<this.timeGrid.colCnt;n++)this.updateFgSegCoords(i[n]);this.timeGrid.attachSegsByCol(i,e)},e.prototype.unrenderFgSegs=function(){this.fgSegs&&this.fgSegs.forEach(function(t){t.el.remove()})},e.prototype.computeEventTimeFormat=function(){return this.opt("noMeridiemTimeFormat")},e.prototype.computeDisplayEventEnd=function(){return!0},e.prototype.fgSegHtml=function(t,e){var i,n,r,o=this.view,s=o.calendar,l=t.footprint.componentFootprint,c=l.isAllDay,d=t.footprint.eventDef,u=o.isEventDefDraggable(d),h=!e&&t.isStart&&o.isEventDefResizableFromStart(d),p=!e&&t.isEnd&&o.isEventDefResizableFromEnd(d),f=this.getSegClasses(t,u,h||p),g=a.cssToStr(this.getSkinCss(d));if(f.unshift("fc-time-grid-event","fc-v-event"),o.isMultiDayRange(l.unzonedRange)){if(t.isStart||t.isEnd){var m=s.msToMoment(t.startMs),v=s.msToMoment(t.endMs);i=this._getTimeText(m,v,c),n=this._getTimeText(m,v,c,"LT"),r=this._getTimeText(m,v,c,null,!1)}}else i=this.getTimeText(t.footprint),n=this.getTimeText(t.footprint,"LT"),r=this.getTimeText(t.footprint,null,!1);return'<a class="'+f.join(" ")+'"'+(d.url?' href="'+a.htmlEscape(d.url)+'"':"")+(g?' style="'+g+'"':"")+'><div class="fc-content">'+(i?'<div class="fc-time" data-start="'+a.htmlEscape(r)+'" data-full="'+a.htmlEscape(n)+'"><span>'+a.htmlEscape(i)+"</span></div>":"")+(d.title?'<div class="fc-title">'+a.htmlEscape(d.title)+"</div>":"")+'</div><div class="fc-bg"/>'+(p?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},e.prototype.updateFgSegCoords=function(t){this.timeGrid.computeSegVerticals(t),this.computeFgSegHorizontals(t),this.timeGrid.assignSegVerticals(t),this.assignFgSegHorizontals(t)},e.prototype.computeFgSegHorizontals=function(t){var e,i,n;if(this.sortEventSegs(t),function(t){var e,i,n,a,r;for(e=0;e<t.length;e++)for(i=t[e],n=0;n<i.length;n++)for((a=i[n]).forwardSegs=[],r=e+1;r<t.length;r++)s(a,t[r],a.forwardSegs)}(e=function(t){var e,i,n,a=[];for(e=0;e<t.length;e++){for(i=t[e],n=0;n<a.length&&s(i,a[n]).length;n++);i.level=n,(a[n]||(a[n]=[])).push(i)}return a}(t)),i=e[0]){for(n=0;n<i.length;n++)o(i[n]);for(n=0;n<i.length;n++)this.computeFgSegForwardBack(i[n],0,0)}},e.prototype.computeFgSegForwardBack=function(t,e,i){var n,a=t.forwardSegs;if(void 0===t.forwardCoord)for(a.length?(this.sortForwardSegs(a),this.computeFgSegForwardBack(a[0],e+1,i),t.forwardCoord=a[0].backwardCoord):t.forwardCoord=1,t.backwardCoord=t.forwardCoord-(t.forwardCoord-i)/(e+1),n=0;n<a.length;n++)this.computeFgSegForwardBack(a[n],0,t.forwardCoord)},e.prototype.sortForwardSegs=function(t){t.sort(a.proxy(this,"compareForwardSegs"))},e.prototype.compareForwardSegs=function(t,e){return e.forwardPressure-t.forwardPressure||(t.backwardCoord||0)-(e.backwardCoord||0)||this.compareEventSegs(t,e)},e.prototype.assignFgSegHorizontals=function(t){var e,i;for(e=0;e<t.length;e++)(i=t[e]).el.css(this.generateFgSegHorizontalCss(i)),i.footprint.eventDef.title&&i.bottom-i.top<30&&i.el.addClass("fc-short")},e.prototype.generateFgSegHorizontalCss=function(t){var e,i,n=this.opt("slotEventOverlap"),a=t.backwardCoord,r=t.forwardCoord,o=this.timeGrid.generateSegVerticalCss(t),s=this.timeGrid.isRTL;return n&&(r=Math.min(1,a+2*(r-a))),s?(e=1-r,i=a):(e=a,i=1-r),o.zIndex=t.level+1,o.left=100*e+"%",o.right=100*i+"%",n&&t.forwardPressure&&(o[s?"marginLeft":"marginRight"]=20),o},e}(i(44).default);function o(t){var e,i,n=t.forwardSegs,a=0;if(void 0===t.forwardPressure){for(e=0;e<n.length;e++)o(i=n[e]),a=Math.max(a,1+i.forwardPressure);t.forwardPressure=a}}function s(t,e,i){void 0===i&&(i=[]);for(var n=0;n<e.length;n++)a=t,r=e[n],a.bottom>r.top&&a.top<r.bottom&&i.push(e[n]);var a,r;return i}e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.renderSegs=function(t,e){var i,n,r,o=[];for(this.eventRenderer.renderFgSegsIntoContainers(t,this.component.helperContainerEls),i=0;i<t.length;i++)n=t[i],e&&e.col===n.col&&(r=e.el,n.el.css({left:r.css("left"),right:r.css("right"),"margin-left":r.css("margin-left"),"margin-right":r.css("margin-right")})),o.push(n.el[0]);return a(o)},e}(i(63).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.attachSegEls=function(t,e){var i,n=this.component;return"bgEvent"===t?i=n.bgContainerEls:"businessHours"===t?i=n.businessContainerEls:"highlight"===t&&(i=n.highlightContainerEls),n.updateSegVerticals(e),n.attachSegsByCol(n.groupSegsByCol(e),i),e.map(function(t){return t.el[0]})},e}(i(62).default);e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.dayGrid=e,n}return n.__extends(e,t),e.prototype.renderBgRanges=function(e){e=a.grep(e,function(t){return t.eventDef.isAllDay()}),t.prototype.renderBgRanges.call(this,e)},e.prototype.renderFgSegs=function(t){var e=this.rowStructs=this.renderSegRows(t);this.dayGrid.rowEls.each(function(t,i){a(i).find(".fc-content-skeleton > table").append(e[t].tbodyEl)})},e.prototype.unrenderFgSegs=function(){for(var t,e=this.rowStructs||[];t=e.pop();)t.tbodyEl.remove();this.rowStructs=null},e.prototype.renderSegRows=function(t){var e,i,n=[];for(e=this.groupSegRows(t),i=0;i<e.length;i++)n.push(this.renderSegRow(i,e[i]));return n},e.prototype.renderSegRow=function(t,e){var i,n,r,o,s,l,c,d=this.dayGrid.colCnt,u=this.buildSegLevels(e),h=Math.max(1,u.length),p=a("<tbody/>"),f=[],g=[],m=[];function v(t){for(;r<t;)(c=(m[i-1]||[])[r])?c.attr("rowspan",parseInt(c.attr("rowspan")||1,10)+1):(c=a("<td/>"),o.append(c)),g[i][r]=c,m[i][r]=c,r++}for(i=0;i<h;i++){if(n=u[i],r=0,o=a("<tr/>"),f.push([]),g.push([]),m.push([]),n)for(s=0;s<n.length;s++){for(v((l=n[s]).leftCol),c=a('<td class="fc-event-container"/>').append(l.el),l.leftCol!==l.rightCol?c.attr("colspan",l.rightCol-l.leftCol+1):m[i][r]=c;r<=l.rightCol;)g[i][r]=c,f[i][r]=l,r++;o.append(c)}v(d),this.dayGrid.bookendCells(o),p.append(o)}return{row:t,tbodyEl:p,cellMatrix:g,segMatrix:f,segLevels:u,segs:e}},e.prototype.buildSegLevels=function(t){var e,i,n,a=[];for(this.sortEventSegs(t),e=0;e<t.length;e++){for(i=t[e],n=0;n<a.length&&s(i,a[n]);n++);i.level=n,(a[n]||(a[n]=[])).push(i)}for(n=0;n<a.length;n++)a[n].sort(l);return a},e.prototype.groupSegRows=function(t){var e,i=[];for(e=0;e<this.dayGrid.rowCnt;e++)i.push([]);for(e=0;e<t.length;e++)i[t[e].row].push(t[e]);return i},e.prototype.computeEventTimeFormat=function(){return this.opt("extraSmallTimeFormat")},e.prototype.computeDisplayEventEnd=function(){return 1===this.dayGrid.colCnt},e.prototype.fgSegHtml=function(t,e){var i,n,a=this.view,o=t.footprint.eventDef,s=t.footprint.componentFootprint.isAllDay,l=a.isEventDefDraggable(o),c=!e&&s&&t.isStart&&a.isEventDefResizableFromStart(o),d=!e&&s&&t.isEnd&&a.isEventDefResizableFromEnd(o),u=this.getSegClasses(t,l,c||d),h=r.cssToStr(this.getSkinCss(o)),p="";return u.unshift("fc-day-grid-event","fc-h-event"),t.isStart&&(i=this.getTimeText(t.footprint))&&(p='<span class="fc-time">'+r.htmlEscape(i)+"</span>"),n='<span class="fc-title">'+(r.htmlEscape(o.title||"")||"&nbsp;")+"</span>",'<a class="'+u.join(" ")+'"'+(o.url?' href="'+r.htmlEscape(o.url)+'"':"")+(h?' style="'+h+'"':"")+'><div class="fc-content">'+(this.dayGrid.isRTL?n+" "+p:p+" "+n)+"</div>"+(c?'<div class="fc-resizer fc-start-resizer" />':"")+(d?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},e}(i(44).default);function s(t,e){var i,n;for(i=0;i<e.length;i++)if((n=e[i]).leftCol<=t.rightCol&&n.rightCol>=t.leftCol)return!0;return!1}function l(t,e){return t.leftCol-e.leftCol}e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.renderSegs=function(t,e){var i,n=[];return i=this.eventRenderer.renderSegRows(t),this.component.rowEls.each(function(t,r){var o,s,l=a(r),c=a('<div class="fc-helper-skeleton"><table/></div>');e&&e.row===t?s=e.el.position().top:((o=l.find(".fc-content-skeleton tbody")).length||(o=l.find(".fc-content-skeleton table")),s=o.position().top),c.css("top",s).find("table").append(i[t].tbodyEl),l.append(c),n.push(c[0])}),a(n)},e}(i(63).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.fillSegTag="td",e}return n.__extends(e,t),e.prototype.attachSegEls=function(t,e){var i,n,a,r=[];for(i=0;i<e.length;i++)n=e[i],a=this.renderFillRow(t,n),this.component.rowEls.eq(n.row).append(a),r.push(a[0]);return r},e.prototype.renderFillRow=function(t,e){var i,n,r,o=this.component.colCnt,s=e.leftCol,l=e.rightCol+1;return i="businessHours"===t?"bgevent":t.toLowerCase(),r=(n=a('<div class="fc-'+i+'-skeleton"><table><tr/></table></div>')).find("tr"),s>0&&r.append(new Array(s+1).join("<td/>")),r.append(e.el.attr("colspan",l-s)),l<o&&r.append(new Array(o-l+1).join("<td/>")),this.component.bookendCells(r),n},e}(i(62).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(0),r=i(4),o=i(67),s=i(247),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.setGridHeight=function(t,e){e&&(t*=this.dayGrid.rowCnt/6),r.distributeHeight(this.dayGrid.rowEls,t,!e)},e.prototype.isDateInOtherMonth=function(t,e){return t.month()!==a.utc(e.currentUnzonedRange.startMs).month()},e}(o.default);e.default=l,l.prototype.dateProfileGeneratorClass=s.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(68),r=i(5),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.buildRenderRange=function(e,i,n){var a,o=t.prototype.buildRenderRange.call(this,e,i,n),s=this.msToUtcMoment(o.startMs,n),l=this.msToUtcMoment(o.endMs,n);return this.opt("fixedWeekCount")&&(a=Math.ceil(l.diff(s,"weeks",!0)),l.add(6-a,"weeks")),new r.default(s,l)},e}(a.default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=i(5),s=i(43),l=i(41),c=i(249),d=i(250),u=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.segSelector=".fc-list-item",n.scroller=new l.default({overflowX:"hidden",overflowY:"auto"}),n}return n.__extends(e,t),e.prototype.renderSkeleton=function(){this.el.addClass("fc-list-view "+this.calendar.theme.getClass("listView")),this.scroller.render(),this.scroller.el.appendTo(this.el),this.contentEl=this.scroller.scrollEl},e.prototype.unrenderSkeleton=function(){this.scroller.destroy()},e.prototype.updateSize=function(e,i,n){t.prototype.updateSize.call(this,e,i,n),this.scroller.clear(),i||this.scroller.setHeight(this.computeScrollerHeight(e))},e.prototype.computeScrollerHeight=function(t){return t-r.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.renderDates=function(t){for(var e=this.calendar,i=e.msToUtcMoment(t.renderUnzonedRange.startMs,!0),n=e.msToUtcMoment(t.renderUnzonedRange.endMs,!0),a=[],r=[];i<n;)a.push(i.clone()),r.push(new o.default(i,i.clone().add(1,"day"))),i.add(1,"day");this.dayDates=a,this.dayRanges=r},e.prototype.componentFootprintToSegs=function(t){var e,i,n,a=this.dayRanges,r=[];for(e=0;e<a.length;e++)if((i=t.unzonedRange.intersect(a[e]))&&(n={startMs:i.startMs,endMs:i.endMs,isStart:i.isStart,isEnd:i.isEnd,dayIndex:e},r.push(n),!n.isEnd&&!t.isAllDay&&e+1<a.length&&t.unzonedRange.endMs<a[e+1].startMs+this.nextDayThreshold)){n.endMs=t.unzonedRange.endMs,n.isEnd=!0;break}return r},e.prototype.renderEmptyMessage=function(){this.contentEl.html('<div class="fc-list-empty-wrap2"><div class="fc-list-empty-wrap1"><div class="fc-list-empty">'+r.htmlEscape(this.opt("noEventsMessage"))+"</div></div></div>")},e.prototype.renderSegList=function(t){var e,i,n,r=this.groupSegsByDay(t),o=a('<table class="fc-list-table '+this.calendar.theme.getClass("tableList")+'"><tbody/></table>'),s=o.find("tbody");for(e=0;e<r.length;e++)if(i=r[e])for(s.append(this.dayHeaderHtml(this.dayDates[e])),this.eventRenderer.sortEventSegs(i),n=0;n<i.length;n++)s.append(i[n].el);this.contentEl.empty().append(o)},e.prototype.groupSegsByDay=function(t){var e,i,n=[];for(e=0;e<t.length;e++)(n[(i=t[e]).dayIndex]||(n[i.dayIndex]=[])).push(i);return n},e.prototype.dayHeaderHtml=function(t){var e=this.opt("listDayFormat"),i=this.opt("listDayAltFormat");return'<tr class="fc-list-heading" data-date="'+t.format("YYYY-MM-DD")+'"><td class="'+(this.calendar.theme.getClass("tableListHeading")||this.calendar.theme.getClass("widgetHeader"))+'" colspan="3">'+(e?this.buildGotoAnchorHtml(t,{class:"fc-list-heading-main"},r.htmlEscape(t.format(e))):"")+(i?this.buildGotoAnchorHtml(t,{class:"fc-list-heading-alt"},r.htmlEscape(t.format(i))):"")+"</td></tr>"},e}(s.default);e.default=u,u.prototype.eventRendererClass=c.default,u.prototype.eventPointingClass=d.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(4),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.renderFgSegs=function(t){t.length?this.component.renderSegList(t):this.component.renderEmptyMessage()},e.prototype.fgSegHtml=function(t){var e,i=this.view,n=i.calendar,r=n.theme,o=t.footprint,s=o.eventDef,l=o.componentFootprint,c=s.url,d=["fc-list-item"].concat(this.getClasses(s)),u=this.getBgColor(s);return e=l.isAllDay?i.getAllDayHtml():i.isMultiDayRange(l.unzonedRange)?t.isStart||t.isEnd?a.htmlEscape(this._getTimeText(n.msToMoment(t.startMs),n.msToMoment(t.endMs),l.isAllDay)):i.getAllDayHtml():a.htmlEscape(this.getTimeText(o)),c&&d.push("fc-has-url"),'<tr class="'+d.join(" ")+'">'+(this.displayEventTime?'<td class="fc-list-item-time '+r.getClass("widgetContent")+'">'+(e||"")+"</td>":"")+'<td class="fc-list-item-marker '+r.getClass("widgetContent")+'"><span class="fc-event-dot"'+(u?' style="background-color:'+u+'"':"")+'></span></td><td class="fc-list-item-title '+r.getClass("widgetContent")+'"><a'+(c?' href="'+a.htmlEscape(c)+'"':"")+">"+a.htmlEscape(s.title||"")+"</a></td></tr>"},e.prototype.computeEventTimeFormat=function(){return this.opt("mediumTimeFormat")},e}(i(44).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.handleClick=function(e,i){var n;t.prototype.handleClick.call(this,e,i),a(i.target).closest("a[href]").length||(n=e.footprint.eventDef.url)&&!i.isDefaultPrevented()&&(window.location.href=n)},e}(i(64).default);e.default=r},,,,,,function(t,e,i){var n=i(3),a=i(18),r=i(4),o=i(232);i(11),i(49),i(260),i(261),i(264),i(265),i(266),i(267),n.fullCalendar=a,n.fn.fullCalendar=function(t){var e=Array.prototype.slice.call(arguments,1),i=this;return this.each(function(a,s){var l,c=n(s),d=c.data("fullCalendar");"string"==typeof t?"getCalendar"===t?a||(i=d):"destroy"===t?d&&(d.destroy(),c.removeData("fullCalendar")):d?n.isFunction(d[t])?(l=d[t].apply(d,e),a||(i=l),"destroy"===t&&c.removeData("fullCalendar")):r.warn("'"+t+"' is an unknown FullCalendar method."):r.warn("Attempting to call a FullCalendar method on an element with no calendar."):d||(d=new o.default(c,t),c.data("fullCalendar",d),d.render())}),i},t.exports=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a=i(4),r=function(){function t(t,e){this.el=null,this.viewsWithButtons=[],this.calendar=t,this.toolbarOptions=e}return t.prototype.setToolbarOptions=function(t){this.toolbarOptions=t},t.prototype.render=function(){var t=this.toolbarOptions.layout,e=this.el;t?(e?e.empty():e=this.el=n("<div class='fc-toolbar "+this.toolbarOptions.extraClasses+"'/>"),e.append(this.renderSection("left")).append(this.renderSection("right")).append(this.renderSection("center")).append('<div class="fc-clear"/>')):this.removeElement()},t.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},t.prototype.renderSection=function(t){var e=this,i=this.calendar,r=i.theme,o=i.optionsManager,s=i.viewSpecManager,l=n('<div class="fc-'+t+'"/>'),c=this.toolbarOptions.layout[t],d=o.get("customButtons")||{},u=o.overrides.buttonText||{},h=o.get("buttonText")||{};return c&&n.each(c.split(" "),function(t,o){var c,p=n(),f=!0;n.each(o.split(","),function(t,o){var l,c,g,m,v,y,b,w,x;"title"===o?(p=p.add(n("<h2>&nbsp;</h2>")),f=!1):((l=d[o])?(g=function(t){l.click&&l.click.call(w[0],t)},(m=r.getCustomButtonIconClass(l))||(m=r.getIconClass(o))||(v=l.text)):(c=s.getViewSpec(o))?(e.viewsWithButtons.push(o),g=function(){i.changeView(o)},(v=c.buttonTextOverride)||(m=r.getIconClass(o))||(v=c.buttonTextDefault)):i[o]&&(g=function(){i[o]()},(v=u[o])||(m=r.getIconClass(o))||(v=h[o])),g&&(b=["fc-"+o+"-button",r.getClass("button"),r.getClass("stateDefault")],v?(y=a.htmlEscape(v),x=""):m&&(y="<span class='"+m+"'></span>",x=' aria-label="'+o+'"'),w=n('<button type="button" class="'+b.join(" ")+'"'+x+">"+y+"</button>").click(function(t){w.hasClass(r.getClass("stateDisabled"))||(g(t),(w.hasClass(r.getClass("stateActive"))||w.hasClass(r.getClass("stateDisabled")))&&w.removeClass(r.getClass("stateHover")))}).mousedown(function(){w.not("."+r.getClass("stateActive")).not("."+r.getClass("stateDisabled")).addClass(r.getClass("stateDown"))}).mouseup(function(){w.removeClass(r.getClass("stateDown"))}).hover(function(){w.not("."+r.getClass("stateActive")).not("."+r.getClass("stateDisabled")).addClass(r.getClass("stateHover"))},function(){w.removeClass(r.getClass("stateHover")).removeClass(r.getClass("stateDown"))}),p=p.add(w)))}),f&&p.first().addClass(r.getClass("cornerLeft")).end().last().addClass(r.getClass("cornerRight")).end(),p.length>1?(c=n("<div/>"),f&&c.addClass(r.getClass("buttonGroup")),c.append(p),l.append(c)):l.append(p)}),l},t.prototype.updateTitle=function(t){this.el&&this.el.find("h2").text(t)},t.prototype.activateButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").addClass(this.calendar.theme.getClass("stateActive"))},t.prototype.deactivateButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").removeClass(this.calendar.theme.getClass("stateActive"))},t.prototype.disableButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").prop("disabled",!0).addClass(this.calendar.theme.getClass("stateDisabled"))},t.prototype.enableButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").prop("disabled",!1).removeClass(this.calendar.theme.getClass("stateDisabled"))},t.prototype.getViewsWithButtons=function(){return this.viewsWithButtons},t}();e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=i(3),r=i(4),o=i(33),s=i(32),l=function(t){function e(e,i){var n=t.call(this)||this;return n._calendar=e,n.overrides=a.extend({},i),n.dynamicOverrides={},n.compute(),n}return n.__extends(e,t),e.prototype.add=function(t){var e,i=0;for(e in this.recordOverrides(t),t)i++;if(1===i){if("height"===e||"contentHeight"===e||"aspectRatio"===e)return void this._calendar.updateViewSize(!0);if("defaultDate"===e)return;if("businessHours"===e)return;if(/^(event|select)(Overlap|Constraint|Allow)$/.test(e))return;if("timezone"===e)return void this._calendar.view.flash("initialEvents")}this._calendar.renderHeader(),this._calendar.renderFooter(),this._calendar.viewsByType={},this._calendar.reinitView()},e.prototype.compute=function(){var t,e,i,n;t=r.firstDefined(this.dynamicOverrides.locale,this.overrides.locale),(e=s.localeOptionHash[t])||(t=o.globalDefaults.locale,e=s.localeOptionHash[t]||{}),i=r.firstDefined(this.dynamicOverrides.isRTL,this.overrides.isRTL,e.isRTL,o.globalDefaults.isRTL)?o.rtlDefaults:{},this.dirDefaults=i,this.localeDefaults=e,n=o.mergeOptions([o.globalDefaults,i,e,this.overrides,this.dynamicOverrides]),s.populateInstanceComputableOptions(n),this.reset(n)},e.prototype.recordOverrides=function(t){var e;for(e in t)this.dynamicOverrides[e]=t[e];this._calendar.viewSpecManager.clearCache(),this.compute()},e}(i(51).default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=i(3),r=i(24),o=i(4),s=i(33),l=i(32),c=function(){function t(t,e){this.optionsManager=t,this._calendar=e,this.clearCache()}return t.prototype.clearCache=function(){this.viewSpecCache={}},t.prototype.getViewSpec=function(t){var e=this.viewSpecCache;return e[t]||(e[t]=this.buildViewSpec(t))},t.prototype.getUnitViewSpec=function(t){var e,i,n;if(-1!==a.inArray(t,o.unitsDesc))for(e=this._calendar.header.getViewsWithButtons(),a.each(r.viewHash,function(t){e.push(t)}),i=0;i<e.length;i++)if((n=this.getViewSpec(e[i]))&&n.singleUnit===t)return n},t.prototype.buildViewSpec=function(t){for(var e,i,a,l,c,d=this.optionsManager.overrides.views||{},u=[],h=[],p=[],f=t;f;)e=r.viewHash[f],i=d[f],f=null,"function"==typeof e&&(e={class:e}),e&&(u.unshift(e),h.unshift(e.defaults||{}),a=a||e.duration,f=f||e.type),i&&(p.unshift(i),a=a||i.duration,f=f||i.type);return(e=o.mergeProps(u)).type=t,!!e.class&&((a=a||this.optionsManager.dynamicOverrides.duration||this.optionsManager.overrides.duration)&&(l=n.duration(a)).valueOf()&&(c=o.computeDurationGreatestUnit(l,a),e.duration=l,e.durationUnit=c,1===l.as(c)&&(e.singleUnit=c,p.unshift(d[c]||{}))),e.defaults=s.mergeOptions(h),e.overrides=s.mergeOptions(p),this.buildViewSpecOptions(e),this.buildViewSpecButtonText(e,t),e)},t.prototype.buildViewSpecOptions=function(t){var e=this.optionsManager;t.options=s.mergeOptions([s.globalDefaults,t.defaults,e.dirDefaults,e.localeDefaults,e.overrides,t.overrides,e.dynamicOverrides]),l.populateInstanceComputableOptions(t.options)},t.prototype.buildViewSpecButtonText=function(t,e){var i=this.optionsManager;function n(i){var n=i.buttonText||{};return n[e]||(t.buttonTextKey?n[t.buttonTextKey]:null)||(t.singleUnit?n[t.singleUnit]:null)}t.buttonTextOverride=n(i.dynamicOverrides)||n(i.overrides)||t.overrides.buttonText,t.buttonTextDefault=n(i.localeDefaults)||n(i.dirDefaults)||t.defaults.buttonText||n(s.globalDefaults)||(t.duration?this._calendar.humanizeDuration(t.duration):null)||e},t}();e.default=c},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(38),a=i(56),r=i(223),o=i(224);n.default.registerClass(a.default),n.default.registerClass(r.default),n.default.registerClass(o.default)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(57),a=i(221),r=i(222),o=i(262),s=i(263);n.defineThemeSystem("standard",a.default),n.defineThemeSystem("jquery-ui",r.default),n.defineThemeSystem("bootstrap3",o.default),n.defineThemeSystem("bootstrap4",s.default)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(i(22).default);e.default=a,a.prototype.classes={widget:"fc-bootstrap3",tableGrid:"table-bordered",tableList:"table",tableListHeading:"active",buttonGroup:"btn-group",button:"btn btn-default",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"panel panel-default",popoverHeader:"panel-heading",popoverContent:"panel-body",headerRow:"panel-default",dayRow:"panel-default",listView:"panel panel-default"},a.prototype.baseIconClass="glyphicon",a.prototype.iconClasses={close:"glyphicon-remove",prev:"glyphicon-chevron-left",next:"glyphicon-chevron-right",prevYear:"glyphicon-backward",nextYear:"glyphicon-forward"},a.prototype.iconOverrideOption="bootstrapGlyphicons",a.prototype.iconOverrideCustomButtonOption="bootstrapGlyphicon",a.prototype.iconOverridePrefix="glyphicon-"},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(i(22).default);e.default=a,a.prototype.classes={widget:"fc-bootstrap4",tableGrid:"table-bordered",tableList:"table",tableListHeading:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"card card-primary",popoverHeader:"card-header",popoverContent:"card-body",headerRow:"table-bordered",dayRow:"table-bordered",listView:"card card-primary"},a.prototype.baseIconClass="fa",a.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},a.prototype.iconOverrideOption="bootstrapFontAwesome",a.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",a.prototype.iconOverridePrefix="fa-"},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(24),a=i(67),r=i(246);n.defineView("basic",{class:a.default}),n.defineView("basicDay",{type:"basic",duration:{days:1}}),n.defineView("basicWeek",{type:"basic",duration:{weeks:1}}),n.defineView("month",{class:r.default,duration:{months:1},defaults:{fixedWeekCount:!0}})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(24),a=i(238);n.defineView("agenda",{class:a.default,defaults:{allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0}}),n.defineView("agendaDay",{type:"agenda",duration:{days:1}}),n.defineView("agendaWeek",{type:"agenda",duration:{weeks:1}})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(24),a=i(248);n.defineView("list",{class:a.default,buttonTextKey:"list",defaults:{buttonText:"list",listDayFormat:"LL",noEventsMessage:"No events to display"}}),n.defineView("listDay",{type:"list",duration:{days:1},defaults:{listDayFormat:"dddd"}}),n.defineView("listWeek",{type:"list",duration:{weeks:1},defaults:{listDayFormat:"dddd",listDayAltFormat:"LL"}}),n.defineView("listMonth",{type:"list",duration:{month:1},defaults:{listDayAltFormat:"dddd"}}),n.defineView("listYear",{type:"list",duration:{year:1},defaults:{listDayAltFormat:"dddd"}})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0})}])},t.exports=n(i(1),i(0))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,i){var n={"./af":21,"./af.js":21,"./ar":22,"./ar-dz":23,"./ar-dz.js":23,"./ar-kw":24,"./ar-kw.js":24,"./ar-ly":25,"./ar-ly.js":25,"./ar-ma":26,"./ar-ma.js":26,"./ar-sa":27,"./ar-sa.js":27,"./ar-tn":28,"./ar-tn.js":28,"./ar.js":22,"./az":29,"./az.js":29,"./be":30,"./be.js":30,"./bg":31,"./bg.js":31,"./bm":32,"./bm.js":32,"./bn":33,"./bn.js":33,"./bo":34,"./bo.js":34,"./br":35,"./br.js":35,"./bs":36,"./bs.js":36,"./ca":37,"./ca.js":37,"./cs":38,"./cs.js":38,"./cv":39,"./cv.js":39,"./cy":40,"./cy.js":40,"./da":41,"./da.js":41,"./de":42,"./de-at":43,"./de-at.js":43,"./de-ch":44,"./de-ch.js":44,"./de.js":42,"./dv":45,"./dv.js":45,"./el":46,"./el.js":46,"./en-au":47,"./en-au.js":47,"./en-ca":48,"./en-ca.js":48,"./en-gb":49,"./en-gb.js":49,"./en-ie":50,"./en-ie.js":50,"./en-il":51,"./en-il.js":51,"./en-nz":52,"./en-nz.js":52,"./eo":53,"./eo.js":53,"./es":54,"./es-do":55,"./es-do.js":55,"./es-us":56,"./es-us.js":56,"./es.js":54,"./et":57,"./et.js":57,"./eu":58,"./eu.js":58,"./fa":59,"./fa.js":59,"./fi":60,"./fi.js":60,"./fo":61,"./fo.js":61,"./fr":62,"./fr-ca":63,"./fr-ca.js":63,"./fr-ch":64,"./fr-ch.js":64,"./fr.js":62,"./fy":65,"./fy.js":65,"./gd":66,"./gd.js":66,"./gl":67,"./gl.js":67,"./gom-latn":68,"./gom-latn.js":68,"./gu":69,"./gu.js":69,"./he":70,"./he.js":70,"./hi":71,"./hi.js":71,"./hr":72,"./hr.js":72,"./hu":73,"./hu.js":73,"./hy-am":74,"./hy-am.js":74,"./id":75,"./id.js":75,"./is":76,"./is.js":76,"./it":77,"./it.js":77,"./ja":78,"./ja.js":78,"./jv":79,"./jv.js":79,"./ka":80,"./ka.js":80,"./kk":81,"./kk.js":81,"./km":82,"./km.js":82,"./kn":83,"./kn.js":83,"./ko":84,"./ko.js":84,"./ku":85,"./ku.js":85,"./ky":86,"./ky.js":86,"./lb":87,"./lb.js":87,"./lo":88,"./lo.js":88,"./lt":89,"./lt.js":89,"./lv":90,"./lv.js":90,"./me":91,"./me.js":91,"./mi":92,"./mi.js":92,"./mk":93,"./mk.js":93,"./ml":94,"./ml.js":94,"./mn":95,"./mn.js":95,"./mr":96,"./mr.js":96,"./ms":97,"./ms-my":98,"./ms-my.js":98,"./ms.js":97,"./mt":99,"./mt.js":99,"./my":100,"./my.js":100,"./nb":101,"./nb.js":101,"./ne":102,"./ne.js":102,"./nl":103,"./nl-be":104,"./nl-be.js":104,"./nl.js":103,"./nn":105,"./nn.js":105,"./pa-in":106,"./pa-in.js":106,"./pl":107,"./pl.js":107,"./pt":108,"./pt-br":109,"./pt-br.js":109,"./pt.js":108,"./ro":110,"./ro.js":110,"./ru":111,"./ru.js":111,"./sd":112,"./sd.js":112,"./se":113,"./se.js":113,"./si":114,"./si.js":114,"./sk":115,"./sk.js":115,"./sl":116,"./sl.js":116,"./sq":117,"./sq.js":117,"./sr":118,"./sr-cyrl":119,"./sr-cyrl.js":119,"./sr.js":118,"./ss":120,"./ss.js":120,"./sv":121,"./sv.js":121,"./sw":122,"./sw.js":122,"./ta":123,"./ta.js":123,"./te":124,"./te.js":124,"./tet":125,"./tet.js":125,"./tg":126,"./tg.js":126,"./th":127,"./th.js":127,"./tl-ph":128,"./tl-ph.js":128,"./tlh":129,"./tlh.js":129,"./tr":130,"./tr.js":130,"./tzl":131,"./tzl.js":131,"./tzm":132,"./tzm-latn":133,"./tzm-latn.js":133,"./tzm.js":132,"./ug-cn":134,"./ug-cn.js":134,"./uk":135,"./uk.js":135,"./ur":136,"./ur.js":136,"./uz":137,"./uz-latn":138,"./uz-latn.js":138,"./uz.js":137,"./vi":139,"./vi.js":139,"./x-pseudo":140,"./x-pseudo.js":140,"./yo":141,"./yo.js":141,"./zh-cn":142,"./zh-cn.js":142,"./zh-hk":143,"./zh-hk.js":143,"./zh-tw":144,"./zh-tw.js":144};function a(t){var e=r(t);return i(e)}function r(t){var e=n[t];if(!(e+1)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return e}a.keys=function(){return Object.keys(n)},a.resolve=r,t.exports=a,a.id=181},function(t,e,i){"use strict";i.r(e),function(t){i(183),i(541);t(document).ready(function(){t("#tree").fancytree({checkbox:!0,selectMode:3,source:{url:"https://cdn.rawgit.com/mar10/fancytree/72e03685/demo/ajax-tree-products.json"},lazyLoad:function(t,e){e.result={url:"https://cdn.rawgit.com/mar10/fancytree/72e03685/demo/ajax-sub2.json"}},activate:function(e,i){t("#statusLine").text(e.type+": "+i.node)},select:function(e,i){t("#statusLine").text(e.type+": "+i.node.isSelected()+" "+i.node)}}),t("#button1").click(function(){t.ui.fancytree.getTree().findFirst(function(t){return"The Hobbit"===t.title}).toggleSelected()})})}.call(this,i(0))},function(t,e,i){var n,a,r;
/*!
 * jquery.fancytree.js
 * Tree view control with support for lazy loading and much more.
 * https://github.com/mar10/fancytree/
 *
 * Copyright (c) 2008-2019, Martin Wendt (http://wwWendt.de)
 * Released under the MIT license
 * https://github.com/mar10/fancytree/wiki/LicenseInfo
 *
 * @version 2.30.2
 * @date 2019-01-13T08:17:01Z
 */a=[i(0),i(184)],void 0===(r="function"==typeof(n=function(t){"use strict";if(!t.ui||!t.ui.fancytree){var e,i,n=null,a=new RegExp(/\.|\//),r=/[&<>"'\/]/g,o=/[<>"'\/]/g,s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},l={16:!0,17:!0,18:!0},c={8:"backspace",9:"tab",10:"return",13:"return",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},d={16:"shift",17:"ctrl",18:"alt",91:"meta",93:"meta"},u={0:"",1:"left",2:"middle",3:"right"},h="active expanded focus folder lazy radiogroup selected unselectable unselectableIgnore".split(" "),p={},f="columns types".split(" "),g="checkbox expanded extraClasses folder icon iconTooltip key lazy partsel radiogroup refKey selected statusNodeType title tooltip type unselectable unselectableIgnore unselectableStatus".split(" "),m={},v={},y={active:!0,children:!0,data:!0,focus:!0};for(e=0;e<h.length;e++)p[h[e]]=!0;for(e=0;e<g.length;e++)i=g[e],m[i]=!0,i!==i.toLowerCase()&&(v[i.toLowerCase()]=i);return b(t.ui,"Fancytree requires jQuery UI (http://jqueryui.com)"),Date.now||(Date.now=function(){return(new Date).getTime()}),E.prototype={_findDirectChild:function(t){var e,i,n=this.children;if(n)if("string"==typeof t){for(e=0,i=n.length;e<i;e++)if(n[e].key===t)return n[e]}else{if("number"==typeof t)return this.children[t];if(t.parent===this)return t}return null},_setChildren:function(t){b(t&&(!this.children||0===this.children.length),"only init supported"),this.children=[];for(var e=0,i=t.length;e<i;e++)this.children.push(new E(this,t[e]))},addChildren:function(e,i){var n,a,r,o,s=this.getFirstChild(),l=this.getLastChild(),c=[];for(t.isPlainObject(e)&&(e=[e]),this.children||(this.children=[]),n=0,a=e.length;n<a;n++)c.push(new E(this,e[n]));if(o=c[0],null==i?this.children=this.children.concat(c):(i=this._findDirectChild(i),b((r=t.inArray(i,this.children))>=0,"insertBefore must be an existing child"),this.children.splice.apply(this.children,[r,0].concat(c))),s&&!i){for(n=0,a=c.length;n<a;n++)c[n].render();s!==this.getFirstChild()&&s.renderStatus(),l!==this.getLastChild()&&l.renderStatus()}else(!this.parent||this.parent.ul||this.tr)&&this.render();return 3===this.tree.options.selectMode&&this.fixSelection3FromEndNodes(),this.triggerModifyChild("add",1===c.length?c[0]:null),o},addClass:function(t){return this.toggleClass(t,!0)},addNode:function(t,e){switch(void 0!==e&&"over"!==e||(e="child"),e){case"after":return this.getParent().addChildren(t,this.getNextSibling());case"before":return this.getParent().addChildren(t,this);case"firstChild":var i=this.children?this.children[0]:null;return this.addChildren(t,i);case"child":case"over":return this.addChildren(t)}b(!1,"Invalid mode: "+e)},addPagingNode:function(e,i){var n,a;if(i=i||"child",!1!==e)return e=t.extend({title:this.tree.options.strings.moreData,statusNodeType:"paging",icon:!1},e),this.partload=!0,this.addNode(e,i);for(n=this.children.length-1;n>=0;n--)"paging"===(a=this.children[n]).statusNodeType&&this.removeChild(a);this.partload=!1},appendSibling:function(t){return this.addNode(t,"after")},applyPatch:function(e){if(null===e)return this.remove(),S(this);var i,n,a={children:!0,expanded:!0,parent:!0};for(i in e)n=e[i],a[i]||t.isFunction(n)||(m[i]?this[i]=n:this.data[i]=n);return e.hasOwnProperty("children")&&(this.removeChildren(),e.children&&this._setChildren(e.children)),this.isVisible()&&(this.renderTitle(),this.renderStatus()),e.hasOwnProperty("expanded")?this.setExpanded(e.expanded):S(this)},collapseSiblings:function(){return this.tree._callHook("nodeCollapseSiblings",this)},copyTo:function(t,e,i){return t.addNode(this.toDict(!0,i),e)},countChildren:function(t){var e,i,n,a=this.children;if(!a)return 0;if(n=a.length,!1!==t)for(e=0,i=n;e<i;e++)n+=a[e].countChildren();return n},debug:function(t){this.tree.options.debugLevel>=4&&(Array.prototype.unshift.call(arguments,this.toString()),w("log",arguments))},discard:function(){return this.warn("FancytreeNode.discard() is deprecated since 2014-02-16. Use .resetLazy() instead."),this.resetLazy()},discardMarkup:function(t){var e=t?"nodeRemoveMarkup":"nodeRemoveChildMarkup";this.tree._callHook(e,this)},error:function(t){this.options.debugLevel>=1&&(Array.prototype.unshift.call(arguments,this.toString()),w("error",arguments))},findAll:function(e){e=t.isFunction(e)?e:L(e);var i=[];return this.visit(function(t){e(t)&&i.push(t)}),i},findFirst:function(e){e=t.isFunction(e)?e:L(e);var i=null;return this.visit(function(t){if(e(t))return i=t,!1}),i},_changeSelectStatusAttrs:function(t){var e=!1,i=this.tree.options,a=n.evalOption("unselectable",this,this,i,!1),r=n.evalOption("unselectableStatus",this,this,i,void 0);switch(a&&null!=r&&(t=r),t){case!1:e=this.selected||this.partsel,this.selected=!1,this.partsel=!1;break;case!0:e=!this.selected||!this.partsel,this.selected=!0,this.partsel=!0;break;case void 0:e=this.selected||!this.partsel,this.selected=!1,this.partsel=!0;break;default:b(!1,"invalid state: "+t)}return e&&this.renderStatus(),e},fixSelection3AfterClick:function(t){var e=this.isSelected();this.visit(function(t){t._changeSelectStatusAttrs(e)}),this.fixSelection3FromEndNodes(t)},fixSelection3FromEndNodes:function(t){var e=this.tree.options;b(3===e.selectMode,"expected selectMode 3"),function t(i){var a,r,o,s,l,c,d,u,h=i.children;if(h&&h.length){for(c=!0,d=!1,a=0,r=h.length;a<r;a++)s=t(o=h[a]),n.evalOption("unselectableIgnore",o,o,e,!1)||(!1!==s&&(d=!0),!0!==s&&(c=!1));l=!!c||!!d&&void 0}else l=null==(u=n.evalOption("unselectableStatus",i,i,e,void 0))?!!i.selected:!!u;return i._changeSelectStatusAttrs(l),l}(this),this.visitParents(function(t){var i,a,r,o,s,l=t.children,c=!0,d=!1;for(i=0,a=l.length;i<a;i++)r=l[i],n.evalOption("unselectableIgnore",r,r,e,!1)||(((o=null==(s=n.evalOption("unselectableStatus",r,r,e,void 0))?!!r.selected:!!s)||r.partsel)&&(d=!0),o||(c=!1));o=!!c||!!d&&void 0,t._changeSelectStatusAttrs(o)})},fromDict:function(e){for(var i in e)m[i]?this[i]=e[i]:"data"===i?t.extend(this.data,e.data):t.isFunction(e[i])||y[i]||(this.data[i]=e[i]);e.children&&(this.removeChildren(),this.addChildren(e.children)),this.renderTitle()},getChildren:function(){if(void 0!==this.hasChildren())return this.children},getFirstChild:function(){return this.children?this.children[0]:null},getIndex:function(){return t.inArray(this,this.parent.children)},getIndexHier:function(e,i){e=e||".";var n,a=[];return t.each(this.getParentList(!1,!0),function(t,e){n=""+(e.getIndex()+1),i&&(n=("0000000"+n).substr(-i)),a.push(n)}),a.join(e)},getKeyPath:function(t){var e=[],i=this.tree.options.keyPathSeparator;return this.visitParents(function(t){t.parent&&e.unshift(t.key)},!t),i+e.join(i)},getLastChild:function(){return this.children?this.children[this.children.length-1]:null},getLevel:function(){for(var t=0,e=this.parent;e;)t++,e=e.parent;return t},getNextSibling:function(){if(this.parent){var t,e,i=this.parent.children;for(t=0,e=i.length-1;t<e;t++)if(i[t]===this)return i[t+1]}return null},getParent:function(){return this.parent},getParentList:function(t,e){for(var i=[],n=e?this:this.parent;n;)(t||n.parent)&&i.unshift(n),n=n.parent;return i},getPrevSibling:function(){if(this.parent){var t,e,i=this.parent.children;for(t=1,e=i.length;t<e;t++)if(i[t]===this)return i[t-1]}return null},getSelectedNodes:function(t){var e=[];return this.visit(function(i){if(i.selected&&(e.push(i),!0===t))return"skip"}),e},hasChildren:function(){if(this.lazy){if(null==this.children)return;if(0===this.children.length)return!1;if(1===this.children.length&&this.children[0].isStatusNode())return;return!0}return!(!this.children||!this.children.length)},hasFocus:function(){return this.tree.hasFocus()&&this.tree.focusNode===this},info:function(t){this.tree.options.debugLevel>=3&&(Array.prototype.unshift.call(arguments,this.toString()),w("info",arguments))},isActive:function(){return this.tree.activeNode===this},isBelowOf:function(t){return this.getIndexHier(".",5)>t.getIndexHier(".",5)},isChildOf:function(t){return this.parent&&this.parent===t},isDescendantOf:function(e){if(!e||e.tree!==this.tree)return!1;for(var i=this.parent;i;){if(i===e)return!0;i===i.parent&&t.error("Recursive parent link: "+i),i=i.parent}return!1},isExpanded:function(){return!!this.expanded},isFirstSibling:function(){var t=this.parent;return!t||t.children[0]===this},isFolder:function(){return!!this.folder},isLastSibling:function(){var t=this.parent;return!t||t.children[t.children.length-1]===this},isLazy:function(){return!!this.lazy},isLoaded:function(){return!this.lazy||void 0!==this.hasChildren()},isLoading:function(){return!!this._isLoading},isRoot:function(){return this.isRootNode()},isPartsel:function(){return!this.selected&&!!this.partsel},isPartload:function(){return!!this.partload},isRootNode:function(){return this.tree.rootNode===this},isSelected:function(){return!!this.selected},isStatusNode:function(){return!!this.statusNodeType},isPagingNode:function(){return"paging"===this.statusNodeType},isTopLevel:function(){return this.tree.rootNode===this.parent},isUndefined:function(){return void 0===this.hasChildren()},isVisible:function(){var t,e,i=this.getParentList(!1,!1);for(t=0,e=i.length;t<e;t++)if(!i[t].expanded)return!1;return!0},lazyLoad:function(t){return this.warn("FancytreeNode.lazyLoad() is deprecated since 2014-02-16. Use .load() instead."),this.load(t)},load:function(t){var e,i,n=this,a=this.isExpanded();return b(this.isLazy(),"load() requires a lazy node"),t||this.isUndefined()?(this.isLoaded()&&this.resetLazy(),!1===(i=this.tree._triggerNodeEvent("lazyLoad",this))?S(this):(b("boolean"!=typeof i,"lazyLoad event must return source in data.result"),e=this.tree._callHook("nodeLoadChildren",this,i),a?(this.expanded=!0,e.always(function(){n.render()})):e.always(function(){n.renderStatus()}),e)):S(this)},makeVisible:function(e){var i,n=this,a=[],r=new t.Deferred,o=this.getParentList(!1,!1),s=o.length,l=!(e&&!0===e.noAnimation),c=!(e&&!1===e.scrollIntoView);for(i=s-1;i>=0;i--)a.push(o[i].setExpanded(!0,e));return t.when.apply(t,a).done(function(){c?n.scrollIntoView(l).done(function(){r.resolve()}):r.resolve()}),r.promise()},moveTo:function(e,i,n){void 0===i||"over"===i?i="child":"firstChild"===i&&(e.children&&e.children.length?(i="before",e=e.children[0]):i="child");var a,r=this.parent,o="child"===i?e:e.parent;if(this!==e){if(this.parent?o.isDescendantOf(this)&&t.error("Cannot move a node to its own descendant"):t.error("Cannot move system root"),o!==r&&r.triggerModifyChild("remove",this),1===this.parent.children.length){if(this.parent===o)return;this.parent.children=this.parent.lazy?[]:null,this.parent.expanded=!1}else b((a=t.inArray(this,this.parent.children))>=0,"invalid source parent"),this.parent.children.splice(a,1);if(this.parent=o,o.hasChildren())switch(i){case"child":o.children.push(this);break;case"before":b((a=t.inArray(e,o.children))>=0,"invalid target parent"),o.children.splice(a,0,this);break;case"after":b((a=t.inArray(e,o.children))>=0,"invalid target parent"),o.children.splice(a+1,0,this);break;default:t.error("Invalid mode "+i)}else o.children=[this];n&&e.visit(n,!0),o===r?o.triggerModifyChild("move",this):o.triggerModifyChild("add",this),this.tree!==e.tree&&(this.warn("Cross-tree moveTo is experimantal!"),this.visit(function(t){t.tree=e.tree},!0)),r.isDescendantOf(o)||r.render(),o.isDescendantOf(r)||o===r||o.render()}},navigate:function(e,i){var n,a,r,o=t.ui.keyCode,s=null;function l(n){if(n){try{n.makeVisible({scrollIntoView:!1})}catch(t){}return t(n.span).is(":visible")?!1===i?n.setFocus():n.setActive():(n.debug("Navigate: skipping hidden node"),void n.navigate(e,i))}}switch(e){case o.BACKSPACE:this.parent&&this.parent.parent&&(r=l(this.parent));break;case o.HOME:this.tree.visit(function(e){if(t(e.span).is(":visible"))return r=l(e),!1});break;case o.END:this.tree.visit(function(e){t(e.span).is(":visible")&&(r=e)}),r&&(r=l(r));break;case o.LEFT:this.expanded?(this.setExpanded(!1),r=l(this)):this.parent&&this.parent.parent&&(r=l(this.parent));break;case o.RIGHT:this.expanded||!this.children&&!this.lazy?this.children&&this.children.length&&(r=l(this.children[0])):(this.setExpanded(),r=l(this));break;case o.UP:for(s=this.getPrevSibling();s&&!t(s.span).is(":visible");)s=s.getPrevSibling();for(;s&&s.expanded&&s.children&&s.children.length;)s=s.children[s.children.length-1];!s&&this.parent&&this.parent.parent&&(s=this.parent),r=l(s);break;case o.DOWN:if(this.expanded&&this.children&&this.children.length)s=this.children[0];else for(n=(a=this.getParentList(!1,!0)).length-1;n>=0;n--){for(s=a[n].getNextSibling();s&&!t(s.span).is(":visible");)s=s.getNextSibling();if(s)break}r=l(s)}return r||S()},remove:function(){return this.parent.removeChild(this)},removeChild:function(t){return this.tree._callHook("nodeRemoveChild",this,t)},removeChildren:function(){return this.tree._callHook("nodeRemoveChildren",this)},removeClass:function(t){return this.toggleClass(t,!1)},render:function(t,e){return this.tree._callHook("nodeRender",this,t,e)},renderTitle:function(){return this.tree._callHook("nodeRenderTitle",this)},renderStatus:function(){return this.tree._callHook("nodeRenderStatus",this)},replaceWith:function(i){var n,a=this.parent,r=t.inArray(this,a.children),o=this;return b(this.isPagingNode(),"replaceWith() currently requires a paging status node"),(n=this.tree._callHook("nodeLoadChildren",this,i)).done(function(t){var i=o.children;for(e=0;e<i.length;e++)i[e].parent=a;a.children.splice.apply(a.children,[r+1,0].concat(i)),o.children=null,o.remove(),a.render()}).fail(function(){o.setExpanded()}),n},resetLazy:function(){this.removeChildren(),this.expanded=!1,this.lazy=!0,this.children=void 0,this.renderStatus()},scheduleAction:function(e,i){this.tree.timer&&(clearTimeout(this.tree.timer),this.tree.debug("clearTimeout(%o)",this.tree.timer)),this.tree.timer=null;var n=this;switch(e){case"cancel":break;case"expand":this.tree.timer=setTimeout(function(){n.tree.debug("setTimeout: trigger expand"),n.setExpanded(!0)},i);break;case"activate":this.tree.timer=setTimeout(function(){n.tree.debug("setTimeout: trigger activate"),n.setActive(!0)},i);break;default:t.error("Invalid mode "+e)}},scrollIntoView:function(e,i){if(void 0!==i&&(n=i).tree&&void 0!==n.statusNodeType)throw"scrollIntoView() with 'topNode' option is deprecated since 2014-05-08. Use 'options.topNode' instead.";var n,a=t.extend({effects:!0===e?{duration:200,queue:!1}:e,scrollOfs:this.tree.options.scrollOfs,scrollParent:this.tree.options.scrollParent,topNode:null},i),r=a.scrollParent,o=this.tree.$container,s=o.css("overflow-y");r?r.jquery||(r=t(r)):r=this.tree.tbody?o.scrollParent():"scroll"===s||"auto"===s?o:o.scrollParent(),r[0]!==document&&r[0]!==document.body||(this.debug("scrollIntoView(): normalizing scrollParent to 'window':",r[0]),r=t(window));var l,c,d,u=new t.Deferred,h=this,p=t(this.span).height(),f=a.scrollOfs.top||0,g=a.scrollOfs.bottom||0,m=r.height(),v=r.scrollTop(),y=r,w=r[0]===window,x=a.topNode||null,_=null;return t(this.span).is(":visible")?(w?(c=t(this.span).offset().top,l=x&&x.span?t(x.span).offset().top:0,y=t("html,body")):(b(r[0]!==document&&r[0]!==document.body,"scrollParent should be a simple element or `window`, not document or body."),d=r.offset().top,c=t(this.span).offset().top-d+v,l=x?t(x.span).offset().top-d+v:0,m-=Math.max(0,r.innerHeight()-r[0].clientHeight)),c<v+f?_=c-f:c+p>v+m-g&&(_=c+p-m+g,x&&(b(x.isRootNode()||t(x.span).is(":visible"),"topNode must be visible"),l<_&&(_=l-f))),null!==_?a.effects?(a.effects.complete=function(){u.resolveWith(h)},y.stop(!0).animate({scrollTop:_},a.effects)):(y[0].scrollTop=_,u.resolveWith(this)):u.resolveWith(this),u.promise()):(this.warn("scrollIntoView(): node is invisible."),S())},setActive:function(t,e){return this.tree._callHook("nodeSetActive",this,t,e)},setExpanded:function(t,e){return this.tree._callHook("nodeSetExpanded",this,t,e)},setFocus:function(t){return this.tree._callHook("nodeSetFocus",this,t)},setSelected:function(t,e){return this.tree._callHook("nodeSetSelected",this,t,e)},setStatus:function(t,e,i){return this.tree._callHook("nodeSetStatus",this,t,e,i)},setTitle:function(t){this.title=t,this.renderTitle(),this.triggerModify("rename")},sortChildren:function(t,e){var i,n,a=this.children;if(a){if(t=t||function(t,e){var i=t.title.toLowerCase(),n=e.title.toLowerCase();return i===n?0:i>n?1:-1},a.sort(t),e)for(i=0,n=a.length;i<n;i++)a[i].children&&a[i].sortChildren(t,"$norender$");"$norender$"!==e&&this.render(),this.triggerModifyChild("sort")}},toDict:function(e,i){var n,a,r,o={},s=this;if(t.each(g,function(t,e){(s[e]||!1===s[e])&&(o[e]=s[e])}),t.isEmptyObject(this.data)||(o.data=t.extend({},this.data),t.isEmptyObject(o.data)&&delete o.data),i&&i(o,s),e&&this.hasChildren())for(o.children=[],n=0,a=this.children.length;n<a;n++)(r=this.children[n]).isStatusNode()||o.children.push(r.toDict(!0,i));return o},toggleClass:function(e,i){var n,a,r=e.match(/\S+/g)||[],o=0,s=!1,l=this[this.tree.statusClassPropName],c=" "+(this.extraClasses||"")+" ";for(l&&t(l).toggleClass(e,i);n=r[o++];)if(a=c.indexOf(" "+n+" ")>=0,i=void 0===i?!a:!!i)a||(c+=n+" ",s=!0);else for(;c.indexOf(" "+n+" ")>-1;)c=c.replace(" "+n+" "," ");return this.extraClasses=t.trim(c),s},toggleExpanded:function(){return this.tree._callHook("nodeToggleExpanded",this)},toggleSelected:function(){return this.tree._callHook("nodeToggleSelected",this)},toString:function(){return"FancytreeNode@"+this.key+"[title='"+this.title+"']"},triggerModifyChild:function(e,i,n){var a,r=this.tree.options.modifyChild;r&&(i&&i.parent!==this&&t.error("childNode "+i+" is not a child of "+this),a={node:this,tree:this.tree,operation:e,childNode:i||null},n&&t.extend(a,n),r({type:"modifyChild"},a))},triggerModify:function(t,e){this.parent.triggerModifyChild(t,this,e)},visit:function(t,e){var i,n,a=!0,r=this.children;if(!0===e&&(!1===(a=t(this))||"skip"===a))return a;if(r)for(i=0,n=r.length;i<n&&!1!==(a=r[i].visit(t,!0));i++);return a},visitAndLoad:function(e,i,n){var a,r,o,s=this;return!e||!0!==i||!1!==(r=e(s))&&"skip"!==r?s.children||s.lazy?(a=new t.Deferred,o=[],s.load().done(function(){for(var i=0,n=s.children.length;i<n;i++){if(!1===(r=s.children[i].visitAndLoad(e,!0,!0))){a.reject();break}"skip"!==r&&o.push(r)}t.when.apply(this,o).then(function(){a.resolve()})}),a.promise()):S():n?r:S()},visitParents:function(t,e){if(e&&!1===t(this))return!1;for(var i=this.parent;i;){if(!1===t(i))return!1;i=i.parent}return!0},visitSiblings:function(t,e){var i,n,a,r=this.parent.children;for(i=0,n=r.length;i<n;i++)if(a=r[i],(e||a!==this)&&!1===t(a))return!1;return!0},warn:function(t){this.tree.options.debugLevel>=2&&(Array.prototype.unshift.call(arguments,this.toString()),w("warn",arguments))}},A.prototype={_makeHookContext:function(e,i,n){var a,r;return void 0!==e.node?(i&&e.originalEvent!==i&&t.error("invalid args"),a=e):e.tree?a={node:e,tree:r=e.tree,widget:r.widget,options:r.widget.options,originalEvent:i,typeInfo:r.types[e.type]||{}}:e.widget?a={node:null,tree:e,widget:e.widget,options:e.widget.options,originalEvent:i}:t.error("invalid args"),n&&t.extend(a,n),a},_callHook:function(e,i,n){var a=this._makeHookContext(i),r=this[e],o=Array.prototype.slice.call(arguments,2);return t.isFunction(r)||t.error("_callHook('"+e+"') is not a function"),o.unshift(a),r.apply(this,o)},_setExpiringValue:function(t,e,i){this._tempCache[t]={value:e,expire:Date.now()+(+i||50)}},_getExpiringValue:function(t){var e=this._tempCache[t];return e&&e.expire>Date.now()?e.value:(delete this._tempCache[t],null)},_requireExtension:function(e,i,n,a){null!=n&&(n=!!n);var r=this._local.name,o=this.options.extensions,s=t.inArray(e,o)<t.inArray(r,o),l=i&&null==this.ext[e],c=!l&&null!=n&&n!==s;return b(r&&r!==e,"invalid or same name"),!l&&!c||(a||(l||i?(a="'"+r+"' extension requires '"+e+"'",c&&(a+=" to be registered "+(n?"before":"after")+" itself")):a="If used together, `"+e+"` must be registered "+(n?"before":"after")+" `"+r+"`"),t.error(a),!1)},activateKey:function(t,e){var i=this.getNodeByKey(t);return i?i.setActive(!0,e):this.activeNode&&this.activeNode.setActive(!1,e),i},addPagingNode:function(t,e){return this.rootNode.addPagingNode(t,e)},applyPatch:function(e){var i,n,a,r,o,s,l=e.length,c=[];for(n=0;n<l;n++)b(2===(a=e[n]).length,"patchList must be an array of length-2-arrays"),r=a[0],o=a[1],(s=null===r?this.rootNode:this.getNodeByKey(r))?(i=new t.Deferred,c.push(i),s.applyPatch(o).always(C(i,s))):this.warn("could not find node with key '"+r+"'");return t.when.apply(t,c).promise()},clear:function(t){this._callHook("treeClear",this)},count:function(){return this.rootNode.countChildren()},debug:function(t){this.options.debugLevel>=4&&(Array.prototype.unshift.call(arguments,this.toString()),w("log",arguments))},enable:function(t){!1===t?this.widget.disable():this.widget.enable()},enableUpdate:function(t){return t=!1!==t,!!this._enableUpdate==!!t?t:(this._enableUpdate=t,t?(this.debug("enableUpdate(true): redraw "),this.render()):this.debug("enableUpdate(false)..."),!t)},expandAll:function(t,e){t=!1!==t,this.visit(function(i){!1!==i.hasChildren()&&i.isExpanded()!==t&&i.setExpanded(t,e)})},findAll:function(t){return this.rootNode.findAll(t)},findFirst:function(t){return this.rootNode.findFirst(t)},findNextNode:function(e,i,n){var a;e="string"==typeof e?(a=new RegExp("^"+e,"i"),function(t){return a.test(t.title)}):e,i=i||this.getFirstChild();var r=null,o=i.parent.children,s=null,l=function(t,e,i){var n,a,r=t.children,o=r.length,s=r[e];if(s&&!1===i(s))return!1;if(s&&s.children&&s.expanded&&!1===l(s,0,i))return!1;for(n=e+1;n<o;n++)if(!1===l(t,n,i))return!1;return(a=t.parent)?l(a,a.children.indexOf(t)+1,i):l(t,0,i)};return l(i.parent,o.indexOf(i),function(n){return n!==r&&(r=r||n,t(n.span).is(":visible")?(!e(n)||(s=n)===i)&&void 0:void n.debug("quicksearch: skipping hidden node"))}),s},generateFormElements:function(e,i,n){n=n||{};var a,r="string"==typeof e?e:"ft_"+this._id+"[]",o="string"==typeof i?i:"ft_"+this._id+"_active",s="fancytree_result_"+this._id,l=t("#"+s),c=3===this.options.selectMode&&!1!==n.stopOnParents;function d(e){l.append(t("<input>",{type:"checkbox",name:r,value:e.key,checked:!0}))}l.length?l.empty():l=t("<div>",{id:s}).hide().insertAfter(this.$container),!1!==i&&this.activeNode&&l.append(t("<input>",{type:"radio",name:o,value:this.activeNode.key,checked:!0})),n.filter?this.visit(function(t){var e=n.filter(t);if("skip"===e)return e;!1!==e&&d(t)}):!1!==e&&(a=this.getSelectedNodes(c),t.each(a,function(t,e){d(e)}))},getActiveNode:function(){return this.activeNode},getFirstChild:function(){return this.rootNode.getFirstChild()},getFocusNode:function(){return this.focusNode},getOption:function(t){return this.widget.option(t)},getNodeByKey:function(t,e){var i,n;return!e&&(i=document.getElementById(this.options.idPrefix+t))?i.ftnode?i.ftnode:null:(e=e||this.rootNode,n=null,e.visit(function(e){if(e.key===t)return n=e,!1},!0),n)},getRootNode:function(){return this.rootNode},getSelectedNodes:function(t){return this.rootNode.getSelectedNodes(t)},hasFocus:function(){return!!this._hasFocus},info:function(t){this.options.debugLevel>=3&&(Array.prototype.unshift.call(arguments,this.toString()),w("info",arguments))},loadKeyPath:function(e,i){var n,a,r,o=this,s=new t.Deferred,l=this.getRootNode(),c=this.options.keyPathSeparator,d=[],u=t.extend({},i);for("function"==typeof i?n=i:i&&i.callback&&(n=i.callback),u.callback=function(t,e,i){n&&n.call(t,e,i),s.notifyWith(t,[{node:e,status:i}])},null==u.matchKey&&(u.matchKey=function(t,e){return t.key===e}),t.isArray(e)||(e=[e]),a=0;a<e.length;a++)(r=e[a]).charAt(0)===c&&(r=r.substr(1)),d.push(r.split(c));return setTimeout(function(){o._loadKeyPathImpl(s,u,l,d).done(function(){s.resolve()})},0),s.promise()},_loadKeyPathImpl:function(e,i,n,a){var r,o,s,l,c,d,u,h,p=this;function f(t,e){var n,a,r=t.children;if(r)for(n=0,a=r.length;n<a;n++)if(i.matchKey(r[n],e))return r[n];return null}for(c={},o=0;o<a.length;o++)for(u=a[o],d=n;u.length;){if(s=u.shift(),!(l=f(d,s))){this.warn("loadKeyPath: key not found: "+s+" (parent: "+d+")"),i.callback(this,s,"error");break}if(0===u.length){i.callback(this,l,"ok");break}if(l.lazy&&void 0===l.hasChildren()){i.callback(this,l,"loaded"),c[s=l.key]?c[s].pathSegList.push(u):c[s]={parent:l,pathSegList:[u]};break}i.callback(this,l,"loaded"),d=l}function g(t,e,n){i.callback(p,e,"loading"),e.load().done(function(){p._loadKeyPathImpl.call(p,t,i,e,n).always(C(t,p))}).fail(function(n){p.warn("loadKeyPath: error loading lazy "+e),i.callback(p,l,"error"),t.rejectWith(p)})}for(var m in r=[],c){var v=c[m];h=new t.Deferred,r.push(h),g(h,v.parent,v.pathSegList)}return t.when.apply(t,r).promise()},reactivate:function(t){var e,i=this.activeNode;return i?(this.activeNode=null,e=i.setActive(!0,{noFocus:!0}),t&&i.setFocus(),e):S()},reload:function(t){return this._callHook("treeClear",this),this._callHook("treeLoad",this,t)},render:function(t,e){return this.rootNode.render(t,e)},selectAll:function(t){this.visit(function(e){e.setSelected(t)})},setFocus:function(t){return this._callHook("treeSetFocus",this,t)},setOption:function(t,e){return this.widget.option(t,e)},toDict:function(t,e){var i=this.rootNode.toDict(!0,e);return t?i:i.children},toString:function(){return"Fancytree@"+this._id},_triggerNodeEvent:function(t,e,i,n){var a=this._makeHookContext(e,i,n),r=this.widget._trigger(t,i,a);return!1!==r&&void 0!==a.result?a.result:r},_triggerTreeEvent:function(t,e,i){var n=this._makeHookContext(this,e,i),a=this.widget._trigger(t,e,n);return!1!==a&&void 0!==n.result?n.result:a},visit:function(t){return this.rootNode.visit(t,!1)},visitRows:function(t,e){if(e&&e.reverse)return delete e.reverse,this._visitRowsUp(t,e);var i,n,a,r=0,o=!1===e.includeSelf,s=!!e.includeHidden,l=e.start||this.rootNode.children[0];for(n=l.parent;n;){for(i=(a=n.children).indexOf(l)+r;i<a.length;i++){if(l=a[i],!o&&!1===t(l))return!1;if(o=!1,l.children&&l.children.length&&(s||l.expanded)&&!1===l.visit(function(e){return!1!==t(e)&&(s||!e.children||e.expanded?void 0:"skip")},!1))return!1}l=n,n=n.parent,r=1}return!0},_visitRowsUp:function(e,i){for(var n,a,r,o=!!i.includeHidden,s=i.start||this.rootNode.children[0];;){if((n=(r=s.parent).children)[0]===s)s=r,n=r.children;else for(a=n.indexOf(s),s=n[a-1];(o||s.expanded)&&s.children&&s.children.length;)r=s,s=(n=s.children)[n.length-1];if((o||t(s.span).is(":visible"))&&!1===e(s))return!1}},warn:function(t){this.options.debugLevel>=2&&(Array.prototype.unshift.call(arguments,this.toString()),w("warn",arguments))}},t.extend(A.prototype,{nodeClick:function(t){var e,i,n=t.targetType,a=t.node;if("expander"===n){if(a.isLoading())return void a.debug("Got 2nd click while loading: ignored");this._callHook("nodeToggleExpanded",t)}else if("checkbox"===n)this._callHook("nodeToggleSelected",t),t.options.focusOnSelect&&this._callHook("nodeSetFocus",t,!0);else{if(i=!1,e=!0,a.folder)switch(t.options.clickFolderMode){case 2:i=!0,e=!1;break;case 3:e=!0,i=!0}e&&(this.nodeSetFocus(t),this._callHook("nodeSetActive",t,!0)),i&&this._callHook("nodeToggleExpanded",t)}},nodeCollapseSiblings:function(t,e){var i,n,a,r=t.node;if(r.parent)for(n=0,a=(i=r.parent.children).length;n<a;n++)i[n]!==r&&i[n].expanded&&this._callHook("nodeSetExpanded",i[n],!1,e)},nodeDblclick:function(t){"title"===t.targetType&&4===t.options.clickFolderMode&&this._callHook("nodeToggleExpanded",t),"title"===t.targetType&&t.originalEvent.preventDefault()},nodeKeydown:function(e){var i,a,r,o=e.originalEvent,s=e.node,l=e.tree,u=e.options,h=o.which,p=o.key||String.fromCharCode(h),f=!!(o.altKey||o.ctrlKey||o.metaKey),g=!d[h]&&!c[h]&&!f,m=t(o.target),v=!0,y=!(o.ctrlKey||!u.autoActivate);if(s||(r=this.getActiveNode()||this.getFirstChild())&&(r.setFocus(),(s=e.node=this.focusNode).debug("Keydown force focus on active node")),u.quicksearch&&g&&!m.is(":input:enabled"))return(a=Date.now())-l.lastQuicksearchTime>500&&(l.lastQuicksearchTerm=""),l.lastQuicksearchTime=a,l.lastQuicksearchTerm+=p,(i=l.findNextNode(l.lastQuicksearchTerm,l.getActiveNode()))&&i.setActive(),void o.preventDefault();switch(n.eventToString(o)){case"+":case"=":l.nodeSetExpanded(e,!0);break;case"-":l.nodeSetExpanded(e,!1);break;case"space":s.isPagingNode()?l._triggerNodeEvent("clickPaging",e,o):n.evalOption("checkbox",s,s,u,!1)?l.nodeToggleSelected(e):l.nodeSetActive(e,!0);break;case"return":l.nodeSetActive(e,!0);break;case"home":case"end":case"backspace":case"left":case"right":case"up":case"down":s.navigate(o.which,y);break;default:v=!1}v&&o.preventDefault()},nodeLoadChildren:function(e,i){var n,a,r,o=e.tree,s=e.node,l=Date.now();if(t.isFunction(i)&&(i=i.call(o,{type:"source"},e),b(!t.isFunction(i),"source callback must not return another function")),i.url&&(s._requestId&&s.warn("Recursive load request #"+l+" while #"+s._requestId+" is pending."),n=t.extend({},e.options.ajax,i),s._requestId=l,n.debugDelay?(a=n.debugDelay,delete n.debugDelay,t.isArray(a)&&(a=a[0]+Math.random()*(a[1]-a[0])),s.warn("nodeLoadChildren waiting debugDelay "+Math.round(a)+" ms ..."),r=t.Deferred(function(e){setTimeout(function(){t.ajax(n).done(function(){e.resolveWith(this,arguments)}).fail(function(){e.rejectWith(this,arguments)})},a)})):r=t.ajax(n),i=new t.Deferred,r.done(function(n,a,r){var c,d;if("json"!==this.dataType&&"jsonp"!==this.dataType||"string"!=typeof n||t.error("Ajax request returned a string (did you get the JSON dataType wrong?)."),s._requestId&&s._requestId>l)i.rejectWith(this,["$recursive_request"]);else{if(e.options.postProcess){try{d=o._triggerNodeEvent("postProcess",e,e.originalEvent,{response:n,error:null,dataType:this.dataType})}catch(t){d={error:t,message:""+t,details:"postProcess failed"}}if(d.error)return c=t.isPlainObject(d.error)?d.error:{message:d.error},c=o._makeHookContext(s,null,c),void i.rejectWith(this,[c]);(t.isArray(d)||t.isPlainObject(d)&&t.isArray(d.children))&&(n=d)}else n&&n.hasOwnProperty("d")&&e.options.enableAspx&&(n="string"==typeof n.d?t.parseJSON(n.d):n.d);i.resolveWith(this,[n])}}).fail(function(t,e,n){var a=o._makeHookContext(s,null,{error:t,args:Array.prototype.slice.call(arguments),message:n,details:t.status+": "+n});i.rejectWith(this,[a])})),t.isFunction(i.then)&&t.isFunction(i.catch)&&(r=i,i=new t.Deferred,r.then(function(t){i.resolve(t)},function(t){i.reject(t)})),t.isFunction(i.promise))o.nodeSetStatus(e,"loading"),i.done(function(t){o.nodeSetStatus(e,"ok"),s._requestId=null}).fail(function(t){var i;"$recursive_request"!==t?(t.node&&t.error&&t.message?i=t:"[object Object]"===(i=o._makeHookContext(s,null,{error:t,args:Array.prototype.slice.call(arguments),message:t?t.message||t.toString():""})).message&&(i.message=""),s.warn("Load children failed ("+i.message+")",i),!1!==o._triggerNodeEvent("loadError",i,null)&&o.nodeSetStatus(e,"error",i.message,i.details)):s.warn("Ignored response for obsolete load request #"+l+" (expected #"+s._requestId+")")});else if(e.options.postProcess){var c=o._triggerNodeEvent("postProcess",e,e.originalEvent,{response:i,error:null,dataType:typeof i});(t.isArray(c)||t.isPlainObject(c)&&t.isArray(c.children))&&(i=c)}return t.when(i).done(function(i){var n,a;t.isPlainObject(i)&&(b(s.isRootNode(),"source may only be an object for root nodes (expecting an array of child objects otherwise)"),b(t.isArray(i.children),"if an object is passed as source, it must contain a 'children' array (all other properties are added to 'tree.data')"),n=i,i=i.children,delete n.children,t.each(f,function(t,e){void 0!==n[e]&&(o[e]=n[e],delete n[e])}),t.extend(o.data,n)),b(t.isArray(i),"expected array of children"),s._setChildren(i),o.options.nodata&&0===i.length&&(t.isFunction(o.options.nodata)?a=o.options.nodata.call(o,{type:"nodata"},e):!0===o.options.nodata&&s.isRootNode()?a=o.options.strings.nodata:"string"==typeof o.options.nodata&&s.isRootNode()&&(a=o.options.nodata),a&&s.setStatus("nodata",a)),o._triggerNodeEvent("loadChildren",s)})},nodeLoadKeyPath:function(t,e){},nodeRemoveChild:function(e,i){var n,a=e.node,r=t.extend({},e,{node:i}),o=a.children;if(1===o.length)return b(i===o[0],"invalid single child"),this.nodeRemoveChildren(e);this.activeNode&&(i===this.activeNode||this.activeNode.isDescendantOf(i))&&this.activeNode.setActive(!1),this.focusNode&&(i===this.focusNode||this.focusNode.isDescendantOf(i))&&(this.focusNode=null),this.nodeRemoveMarkup(r),this.nodeRemoveChildren(r),b((n=t.inArray(i,o))>=0,"invalid child"),a.triggerModifyChild("remove",i),i.visit(function(t){t.parent=null},!0),this._callHook("treeRegisterNode",this,!1,i),o.splice(n,1)},nodeRemoveChildMarkup:function(e){var i=e.node;i.ul&&(i.isRootNode()?t(i.ul).empty():(t(i.ul).remove(),i.ul=null),i.visit(function(t){t.li=t.ul=null}))},nodeRemoveChildren:function(e){var i=e.tree,n=e.node;n.children&&(this.activeNode&&this.activeNode.isDescendantOf(n)&&this.activeNode.setActive(!1),this.focusNode&&this.focusNode.isDescendantOf(n)&&(this.focusNode=null),this.nodeRemoveChildMarkup(e),t.extend({},e),n.triggerModifyChild("remove",null),n.visit(function(t){t.parent=null,i._callHook("treeRegisterNode",i,!1,t)}),n.lazy?n.children=[]:n.children=null,n.isRootNode()||(n.expanded=!1),this.nodeRenderStatus(e))},nodeRemoveMarkup:function(e){var i=e.node;i.li&&(t(i.li).remove(),i.li=null),this.nodeRemoveChildMarkup(e)},nodeRender:function(e,i,n,a,r){var o,s,l,c,d,u,h,p=e.node,f=e.tree,g=e.options,m=g.aria,v=!1,y=p.parent,w=!y,x=p.children,_=null;if(!1!==f._enableUpdate&&(w||y.ul)){if(b(w||y.ul,"parent UL must exist"),w||(p.li&&(i||p.li.parentNode!==p.parent.ul)&&(p.li.parentNode===p.parent.ul?_=p.li.nextSibling:this.debug("Unlinking "+p+" (must be child of "+p.parent+")"),this.nodeRemoveMarkup(e)),p.li?this.nodeRenderStatus(e):(v=!0,p.li=document.createElement("li"),p.li.ftnode=p,p.key&&g.generateIds&&(p.li.id=g.idPrefix+p.key),p.span=document.createElement("span"),p.span.className="fancytree-node",m&&!p.tr&&t(p.li).attr("role","treeitem"),p.li.appendChild(p.span),this.nodeRenderTitle(e),g.createNode&&g.createNode.call(f,{type:"createNode"},e)),g.renderNode&&g.renderNode.call(f,{type:"renderNode"},e)),x){if(w||p.expanded||!0===n){for(p.ul||(p.ul=document.createElement("ul"),(!0!==a||r)&&p.expanded||(p.ul.style.display="none"),m&&t(p.ul).attr("role","group"),p.li?p.li.appendChild(p.ul):p.tree.$div.append(p.ul)),c=0,d=x.length;c<d;c++)h=t.extend({},e,{node:x[c]}),this.nodeRender(h,i,n,!1,!0);for(o=p.ul.firstChild;o;)(l=o.ftnode)&&l.parent!==p?(p.debug("_fixParent: remove missing "+l,o),u=o.nextSibling,o.parentNode.removeChild(o),o=u):o=o.nextSibling;for(o=p.ul.firstChild,c=0,d=x.length-1;c<d;c++)(s=x[c])!==(l=o.ftnode)?p.ul.insertBefore(s.li,l.li):o=o.nextSibling}}else p.ul&&(this.warn("remove child markup for "+p),this.nodeRemoveChildMarkup(e));w||v&&y.ul.insertBefore(p.li,_)}},nodeRenderTitle:function(e,i){var r,o,s,l,c,d,u,h=e.node,p=e.tree,f=e.options,g=f.aria,m=h.getLevel(),v=[];void 0!==i&&(h.title=i),h.span&&!1!==p._enableUpdate&&(c=g&&!1!==h.hasChildren()?" role='button'":"",m<f.minExpandLevel?(h.lazy||(h.expanded=!0),m>1&&v.push("<span "+c+" class='fancytree-expander fancytree-expander-fixed'></span>")):v.push("<span "+c+" class='fancytree-expander'></span>"),(r=n.evalOption("checkbox",h,h,f,!1))&&!h.isStatusNode()&&(c=g?" role='checkbox'":"",o="fancytree-checkbox",("radio"===r||h.parent&&h.parent.radiogroup)&&(o+=" fancytree-radio"),v.push("<span "+c+" class='"+o+"'></span>")),void 0!==h.data.iconClass&&(h.icon?t.error("'iconClass' node option is deprecated since v2.14.0: use 'icon' only instead"):(h.warn("'iconClass' node option is deprecated since v2.14.0: use 'icon' instead"),h.icon=h.data.iconClass)),!1!==(s=n.evalOption("icon",h,h,f,!0))&&(c=g?" role='presentation'":"",u=(u=n.evalOption("iconTooltip",h,h,f,null))?" title='"+D(u)+"'":"","string"==typeof s?a.test(s)?(s="/"===s.charAt(0)?s:(f.imagePath||"")+s,v.push("<img src='"+s+"' class='fancytree-icon'"+u+" alt='' />")):v.push("<span "+c+" class='fancytree-custom-icon "+s+"'"+u+"></span>"):s.text?v.push("<span "+c+" class='fancytree-custom-icon "+(s.addClass||"")+"'"+u+">"+n.escapeHtml(s.text)+"</span>"):s.html?v.push("<span "+c+" class='fancytree-custom-icon "+(s.addClass||"")+"'"+u+">"+s.html+"</span>"):v.push("<span "+c+" class='fancytree-icon'"+u+"></span>")),l="",f.renderTitle&&(l=f.renderTitle.call(p,{type:"renderTitle"},e)||""),l||(!0===(d=n.evalOption("tooltip",h,h,f,null))&&(d=h.title),l="<span class='fancytree-title'"+(d=d?" title='"+D(d)+"'":"")+(f.titlesTabbable?" tabindex='0'":"")+">"+(f.escapeTitles?n.escapeHtml(h.title):h.title)+"</span>"),v.push(l),h.span.innerHTML=v.join(""),this.nodeRenderStatus(e),f.enhanceTitle&&(e.$title=t(">span.fancytree-title",h.span),l=f.enhanceTitle.call(p,{type:"enhanceTitle"},e)||""))},nodeRenderStatus:function(e){var i,a=e.node,r=e.tree,o=e.options,s=a.hasChildren(),l=a.isLastSibling(),c=o.aria,d=o._classNames,u=[],h=a[r.statusClassPropName];h&&!1!==r._enableUpdate&&(c&&(i=t(a.tr||a.li)),u.push(d.node),r.activeNode===a&&u.push(d.active),r.focusNode===a&&u.push(d.focused),a.expanded&&u.push(d.expanded),c&&(!1!==s?i.attr("aria-expanded",Boolean(a.expanded)):i.removeAttr("aria-expanded")),a.folder&&u.push(d.folder),!1!==s&&u.push(d.hasChildren),l&&u.push(d.lastsib),a.lazy&&null==a.children&&u.push(d.lazy),a.partload&&u.push(d.partload),a.partsel&&u.push(d.partsel),n.evalOption("unselectable",a,a,o,!1)&&u.push(d.unselectable),a._isLoading&&u.push(d.loading),a._error&&u.push(d.error),a.statusNodeType&&u.push(d.statusNodePrefix+a.statusNodeType),a.selected?(u.push(d.selected),c&&i.attr("aria-selected",!0)):c&&i.attr("aria-selected",!1),a.extraClasses&&u.push(a.extraClasses),!1===s?u.push(d.combinedExpanderPrefix+"n"+(l?"l":"")):u.push(d.combinedExpanderPrefix+(a.expanded?"e":"c")+(a.lazy&&null==a.children?"d":"")+(l?"l":"")),u.push(d.combinedIconPrefix+(a.expanded?"e":"c")+(a.folder?"f":"")),h.className=u.join(" "),a.li&&t(a.li).toggleClass(d.lastsib,l))},nodeSetActive:function(e,i,n){n=n||{};var a,r=e.node,o=e.tree,s=e.options,l=!0===n.noEvents,c=!0===n.noFocus,d=!1!==n.scrollIntoView;return r===o.activeNode==(i=!1!==i)?S(r):i&&!l&&!1===this._triggerNodeEvent("beforeActivate",r,e.originalEvent)?M(r,["rejected"]):(i?(o.activeNode&&(b(o.activeNode!==r,"node was active (inconsistency)"),a=t.extend({},e,{node:o.activeNode}),o.nodeSetActive(a,!1),b(null===o.activeNode,"deactivate was out of sync?")),s.activeVisible&&r.makeVisible({scrollIntoView:d}),o.activeNode=r,o.nodeRenderStatus(e),c||o.nodeSetFocus(e),l||o._triggerNodeEvent("activate",r,e.originalEvent)):(b(o.activeNode===r,"node was not active (inconsistency)"),o.activeNode=null,this.nodeRenderStatus(e),l||e.tree._triggerNodeEvent("deactivate",r,e.originalEvent)),S(r))},nodeSetExpanded:function(e,i,n){n=n||{};var a,r,o,s,l,c,d=e.node,u=e.tree,h=e.options,p=!0===n.noAnimation,f=!0===n.noEvents;if(i=!1!==i,d.expanded&&i||!d.expanded&&!i)return S(d);if(i&&!d.lazy&&!d.hasChildren())return S(d);if(!i&&d.getLevel()<h.minExpandLevel)return M(d,["locked"]);if(!f&&!1===this._triggerNodeEvent("beforeExpand",d,e.originalEvent))return M(d,["rejected"]);if(p||d.isVisible()||(p=n.noAnimation=!0),r=new t.Deferred,i&&!d.expanded&&h.autoCollapse){l=d.getParentList(!1,!0),c=h.autoCollapse;try{for(h.autoCollapse=!1,o=0,s=l.length;o<s;o++)this._callHook("nodeCollapseSiblings",l[o],n)}finally{h.autoCollapse=c}}return r.done(function(){var t=d.getLastChild();i&&h.autoScroll&&!p&&t?t.scrollIntoView(!0,{topNode:d}).always(function(){f||e.tree._triggerNodeEvent(i?"expand":"collapse",e)}):f||e.tree._triggerNodeEvent(i?"expand":"collapse",e)}),a=function(n){var a=h._classNames,r=h.toggleEffect;if(d.expanded=i,u._callHook("nodeRender",e,!1,!1,!0),d.ul)if("none"!==d.ul.style.display==!!d.expanded)d.warn("nodeSetExpanded: UL.style.display already set");else{if(r&&!p)return t(d.li).addClass(a.animating),void(t.isFunction(t(d.ul)[r.effect])?(u.debug("use jquery."+r.effect+" method"),t(d.ul)[r.effect]({duration:r.duration,always:function(){t(this).removeClass(a.animating),t(d.li).removeClass(a.animating),n()}})):(t(d.ul).stop(!0,!0),t(d.ul).parent().find(".ui-effects-placeholder").remove(),t(d.ul).toggle(r.effect,r.options,r.duration,function(){t(this).removeClass(a.animating),t(d.li).removeClass(a.animating),n()})));d.ul.style.display=d.expanded||!parent?"":"none"}n()},i&&d.lazy&&void 0===d.hasChildren()?d.load().done(function(){r.notifyWith&&r.notifyWith(d,["loaded"]),a(function(){r.resolveWith(d)})}).fail(function(t){a(function(){r.rejectWith(d,["load failed ("+t+")"])})}):a(function(){r.resolveWith(d)}),r.promise()},nodeSetFocus:function(e,i){var n,a=e.tree,r=e.node,o=a.options,s=!!e.originalEvent&&t(e.originalEvent.target).is(":input");if(i=!1!==i,a.focusNode){if(a.focusNode===r&&i)return;n=t.extend({},e,{node:a.focusNode}),a.focusNode=null,this._triggerNodeEvent("blur",n),this._callHook("nodeRenderStatus",n)}i&&(this.hasFocus()||(r.debug("nodeSetFocus: forcing container focus"),this._callHook("treeSetFocus",e,!0,{calledByNode:!0})),r.makeVisible({scrollIntoView:!1}),a.focusNode=r,o.titlesTabbable?s||t(r.span).find(".fancytree-title").focus():0===t(document.activeElement).closest(".fancytree-container").length&&t(a.$container).focus(),o.aria&&t(a.$container).attr("aria-activedescendant",t(r.tr||r.li).uniqueId().attr("id")),this._triggerNodeEvent("focus",e),o.autoScroll&&r.scrollIntoView(),this._callHook("nodeRenderStatus",e))},nodeSetSelected:function(t,e,i){i=i||{};var a=t.node,r=t.tree,o=t.options,s=!0===i.noEvents,l=a.parent;if(e=!1!==e,!n.evalOption("unselectable",a,a,o,!1)){if(a._lastSelectIntent=e,!!a.selected===e&&(3!==o.selectMode||!a.partsel||e))return e;if(!s&&!1===this._triggerNodeEvent("beforeSelect",a,t.originalEvent))return!!a.selected;e&&1===o.selectMode?(r.lastSelectedNode&&r.lastSelectedNode.setSelected(!1),a.selected=e):3!==o.selectMode||!l||l.radiogroup||a.radiogroup?l&&l.radiogroup?a.visitSiblings(function(t){t._changeSelectStatusAttrs(e&&t===a)},!0):a.selected=e:(a.selected=e,a.fixSelection3AfterClick(i)),this.nodeRenderStatus(t),r.lastSelectedNode=e?a:null,s||r._triggerNodeEvent("select",t)}},nodeSetStatus:function(e,i,n,a){var r=e.node,o=e.tree;function s(e,i){var n=r.children?r.children[0]:null;return n&&n.isStatusNode()?(t.extend(n,e),n.statusNodeType=i,o._callHook("nodeRenderTitle",n)):(r._setChildren([e]),r.children[0].statusNodeType=i,o.render()),r.children[0]}switch(i){case"ok":!function(){var t=r.children?r.children[0]:null;if(t&&t.isStatusNode()){try{r.ul&&(r.ul.removeChild(t.li),t.li=null)}catch(t){}1===r.children.length?r.children=[]:r.children.shift()}}(),r._isLoading=!1,r._error=null,r.renderStatus();break;case"loading":r.parent||s({title:o.options.strings.loading+(n?" ("+n+")":""),checkbox:!1,tooltip:a},i),r._isLoading=!0,r._error=null,r.renderStatus();break;case"error":s({title:o.options.strings.loadError+(n?" ("+n+")":""),checkbox:!1,tooltip:a},i),r._isLoading=!1,r._error={message:n,details:a},r.renderStatus();break;case"nodata":s({title:n||o.options.strings.noData,checkbox:!1,tooltip:a},i),r._isLoading=!1,r._error=null,r.renderStatus();break;default:t.error("invalid node status "+i)}},nodeToggleExpanded:function(t){return this.nodeSetExpanded(t,!t.node.expanded)},nodeToggleSelected:function(t){var e=t.node,i=!e.selected;return e.partsel&&!e.selected&&!0===e._lastSelectIntent&&(i=!1,e.selected=!0),e._lastSelectIntent=i,this.nodeSetSelected(t,i)},treeClear:function(t){var e=t.tree;e.activeNode=null,e.focusNode=null,e.$div.find(">ul.fancytree-container").empty(),e.rootNode.children=null},treeCreate:function(t){},treeDestroy:function(t){this.$div.find(">ul.fancytree-container").remove(),this.$source&&this.$source.removeClass("fancytree-helper-hidden")},treeInit:function(e){var i=e.tree,n=i.options;i.$container.attr("tabindex",n.tabindex),t.each(f,function(t,e){void 0!==n[e]&&(i.info("Move option "+e+" to tree"),i[e]=n[e],delete n[e])}),n.rtl?i.$container.attr("DIR","RTL").addClass("fancytree-rtl"):i.$container.removeAttr("DIR").removeClass("fancytree-rtl"),n.aria&&(i.$container.attr("role","tree"),1!==n.selectMode&&i.$container.attr("aria-multiselectable",!0)),this.treeLoad(e)},treeLoad:function(e,i){var n,a,r,o=e.tree,s=e.widget.element,l=t.extend({},e,{node:this.rootNode});if(o.rootNode.children&&this.treeClear(e),i=i||this.options.source)"string"==typeof i&&t.error("Not implemented");else switch(a=s.data("type")||"html"){case"html":(r=s.find(">ul:first")).addClass("ui-fancytree-source fancytree-helper-hidden"),i=t.ui.fancytree.parseHtml(r),this.data=t.extend(this.data,T(r));break;case"json":i=t.parseJSON(s.text()),s.contents().filter(function(){return 3===this.nodeType}).remove(),t.isPlainObject(i)&&(b(t.isArray(i.children),"if an object is passed as source, it must contain a 'children' array (all other properties are added to 'tree.data')"),n=i,i=i.children,delete n.children,t.each(f,function(t,e){void 0!==n[e]&&(o[e]=n[e],delete n[e])}),t.extend(o.data,n));break;default:t.error("Invalid data-type: "+a)}return this.nodeLoadChildren(l,i).done(function(){o.render(),3===e.options.selectMode&&o.rootNode.fixSelection3FromEndNodes(),o.activeNode&&o.options.activeVisible&&o.activeNode.makeVisible(),o._triggerTreeEvent("init",null,{status:!0})}).fail(function(){o.render(),o._triggerTreeEvent("init",null,{status:!1})})},treeRegisterNode:function(t,e,i){},treeSetFocus:function(e,i,n){var a;(i=!1!==i)!==this.hasFocus()&&(this._hasFocus=i,!i&&this.focusNode?this.focusNode.setFocus(!1):!i||n&&n.calledByNode||t(this.$container).focus(),this.$container.toggleClass("fancytree-treefocus",i),this._triggerTreeEvent(i?"focusTree":"blurTree"),i&&!this.activeNode&&(a=this._lastMousedownNode||this.getFirstChild())&&a.setFocus())},treeSetOption:function(e,i,n){var a=e.tree,r=!0,o=!1,s=!1;switch(i){case"aria":case"checkbox":case"icon":case"minExpandLevel":case"tabindex":o=!0,s=!0;break;case"escapeTitles":case"tooltip":s=!0;break;case"rtl":!1===n?a.$container.removeAttr("DIR").removeClass("fancytree-rtl"):a.$container.attr("DIR","RTL").addClass("fancytree-rtl"),s=!0;break;case"source":r=!1,a._callHook("treeLoad",a,n),s=!0}a.debug("set option "+i+"="+n+" <"+typeof n+">"),r&&(this.widget._super?this.widget._super.call(this.widget,i,n):t.Widget.prototype._setOption.call(this.widget,i,n)),o&&a._callHook("treeCreate",a),s&&a.render(!0,!1)}}),t.widget("ui.fancytree",{options:{activeVisible:!0,ajax:{type:"GET",cache:!1,dataType:"json"},aria:!0,autoActivate:!0,autoCollapse:!1,autoScroll:!1,checkbox:!1,clickFolderMode:4,debugLevel:null,disabled:!1,enableAspx:!0,escapeTitles:!1,extensions:[],toggleEffect:{effect:"slideToggle",duration:200},generateIds:!1,icon:!0,idPrefix:"ft_",focusOnSelect:!1,keyboard:!0,keyPathSeparator:"/",minExpandLevel:1,nodata:!0,quicksearch:!1,rtl:!1,scrollOfs:{top:0,bottom:0},scrollParent:null,selectMode:2,strings:{loading:"Loading...",loadError:"Load error!",moreData:"More...",noData:"No data."},tabindex:"0",titlesTabbable:!1,tooltip:!1,_classNames:{node:"fancytree-node",folder:"fancytree-folder",animating:"fancytree-animating",combinedExpanderPrefix:"fancytree-exp-",combinedIconPrefix:"fancytree-ico-",hasChildren:"fancytree-has-children",active:"fancytree-active",selected:"fancytree-selected",expanded:"fancytree-expanded",lazy:"fancytree-lazy",focused:"fancytree-focused",partload:"fancytree-partload",partsel:"fancytree-partsel",radio:"fancytree-radio",unselectable:"fancytree-unselectable",lastsib:"fancytree-lastsib",loading:"fancytree-loading",error:"fancytree-error",statusNodePrefix:"fancytree-statusnode-"},lazyLoad:null,postProcess:null},_create:function(){this.tree=new A(this),this.$source=this.source||"json"===this.element.data("type")?this.element:this.element.find(">ul:first");var e,i,n,a=this.options,r=a.extensions;this.tree;for(n=0;n<r.length;n++)i=r[n],(e=t.ui.fancytree._extensions[i])||t.error("Could not apply extension '"+i+"' (it is not registered, did you forget to include it?)"),this.tree.options[i]=x({},e.options,this.tree.options[i]),b(void 0===this.tree.ext[i],"Extension name must not exist as Fancytree.ext attribute: '"+i+"'"),this.tree.ext[i]={},k(this.tree,0,e,i),e;void 0!==a.icons&&(!0!==a.icon?t.error("'icons' tree option is deprecated since v2.14.0: use 'icon' only instead"):(this.tree.warn("'icons' tree option is deprecated since v2.14.0: use 'icon' instead"),a.icon=a.icons)),void 0!==a.iconClass&&(a.icon?t.error("'iconClass' tree option is deprecated since v2.14.0: use 'icon' only instead"):(this.tree.warn("'iconClass' tree option is deprecated since v2.14.0: use 'icon' instead"),a.icon=a.iconClass)),void 0!==a.tabbable&&(a.tabindex=a.tabbable?"0":"-1",this.tree.warn("'tabbable' tree option is deprecated since v2.17.0: use 'tabindex='"+a.tabindex+"' instead")),this.tree._callHook("treeCreate",this.tree)},_init:function(){this.tree._callHook("treeInit",this.tree),this._bind()},_setOption:function(t,e){return this.tree._callHook("treeSetOption",this.tree,t,e)},destroy:function(){this._unbind(),this.tree._callHook("treeDestroy",this.tree),t.Widget.prototype.destroy.call(this)},_unbind:function(){var e=this.tree._ns;this.element.off(e),this.tree.$container.off(e),t(document).off(e)},_bind:function(){var e=this,i=this.options,a=this.tree,r=a._ns;this._unbind(),a.$container.on("focusin"+r+" focusout"+r,function(e){var i=n.getNode(e),r="focusin"===e.type;if(!r&&i&&t(e.target).is("a"))i.debug("Ignored focusout on embedded <a> element.");else{if(r){if(a._getExpiringValue("focusin"))return void a.debug("Ignored double focusin.");a._setExpiringValue("focusin",!0,50),i||(i=a._getExpiringValue("mouseDownNode"))&&a.debug("Reconstruct mouse target for focusin from recent event.")}i?a._callHook("nodeSetFocus",a._makeHookContext(i,e),r):a.tbody&&t(e.target).parents("table.fancytree-container > thead").length?a.debug("Ignore focus event outside table body.",e):a._callHook("treeSetFocus",a,r)}}).on("selectstart"+r,"span.fancytree-title",function(t){t.preventDefault()}).on("keydown"+r,function(t){if(i.disabled||!1===i.keyboard)return!0;var e,n=a.focusNode,r=a._makeHookContext(n||a,t),o=a.phase;try{return a.phase="userEvent","preventNav"===(e=n?a._triggerNodeEvent("keydown",n,t):a._triggerTreeEvent("keydown",t))?e=!0:!1!==e&&(e=a._callHook("nodeKeydown",r)),e}finally{a.phase=o}}).on("mousedown"+r,function(t){var e=n.getEventTarget(t);a._lastMousedownNode=e?e.node:null,a._setExpiringValue("mouseDownNode",a._lastMousedownNode)}).on("click"+r+" dblclick"+r,function(t){if(i.disabled)return!0;var a,r=n.getEventTarget(t),o=r.node,s=e.tree,l=s.phase;if(!o)return!0;a=s._makeHookContext(o,t);try{switch(s.phase="userEvent",t.type){case"click":return a.targetType=r.type,o.isPagingNode()?!0===s._triggerNodeEvent("clickPaging",a,t):!1!==s._triggerNodeEvent("click",a,t)&&s._callHook("nodeClick",a);case"dblclick":return a.targetType=r.type,!1!==s._triggerNodeEvent("dblclick",a,t)&&s._callHook("nodeDblclick",a)}}finally{s.phase=l}})},getActiveNode:function(){return this.tree.activeNode},getNodeByKey:function(t){return this.tree.getNodeByKey(t)},getRootNode:function(){return this.tree.rootNode},getTree:function(){return this.tree}}),n=t.ui.fancytree,t.extend(t.ui.fancytree,{version:"2.30.2",buildType:"production",debugLevel:3,_nextId:1,_nextNodeKey:1,_extensions:{},_FancytreeClass:A,_FancytreeNodeClass:E,jquerySupports:{positionMyOfs:function(e,i,n,a){var r,o,s,l=t.map(t.trim(e).split("."),function(t){return parseInt(t,10)}),c=t.map(Array.prototype.slice.call(arguments,1),function(t){return parseInt(t,10)});for(r=0;r<c.length;r++)if(o=l[r]||0,s=c[r]||0,o!==s)return o>s;return!0}(t.ui.version,1,9)},assert:function(t,e){return b(t,e)},createTree:function(e,i){return t(e).fancytree(i).fancytree("getTree")},debounce:function(t,e,i,n){var a;return 3===arguments.length&&"boolean"!=typeof i&&(n=i,i=!1),function(){var r=arguments;n=n||this,i&&!a&&e.apply(n,r),clearTimeout(a),a=setTimeout(function(){i||e.apply(n,r),a=null},t)}},debug:function(e){t.ui.fancytree.debugLevel>=4&&w("log",arguments)},error:function(e){t.ui.fancytree.debugLevel>=1&&w("error",arguments)},escapeHtml:function(t){return(""+t).replace(r,function(t){return s[t]})},fixPositionOptions:function(e){if((e.offset||(""+e.my+e.at).indexOf("%")>=0)&&t.error("expected new position syntax (but '%' is not supported)"),!t.ui.fancytree.jquerySupports.positionMyOfs){var i=/(\w+)([+-]?\d+)?\s+(\w+)([+-]?\d+)?/.exec(e.my),n=/(\w+)([+-]?\d+)?\s+(\w+)([+-]?\d+)?/.exec(e.at),a=(i[2]?+i[2]:0)+(n[2]?+n[2]:0),r=(i[4]?+i[4]:0)+(n[4]?+n[4]:0);e=t.extend({},e,{my:i[1]+" "+i[3],at:n[1]+" "+n[3]}),(a||r)&&(e.offset=a+" "+r)}return e},getEventTarget:function(e){var i,a=e&&e.target?e.target.className:"",r={node:this.getNode(e.target),type:void 0};return/\bfancytree-title\b/.test(a)?r.type="title":/\bfancytree-expander\b/.test(a)?r.type=!1===r.node.hasChildren()?"prefix":"expander":/\bfancytree-checkbox\b/.test(a)?r.type="checkbox":/\bfancytree(-custom)?-icon\b/.test(a)?r.type="icon":/\bfancytree-node\b/.test(a)?r.type="title":e&&e.target&&((i=t(e.target)).is("ul[role=group]")?((r.node&&r.node.tree||n).debug("Ignoring click on outer UL."),r.node=null):i.closest(".fancytree-title").length?r.type="title":i.closest(".fancytree-checkbox").length?r.type="checkbox":i.closest(".fancytree-expander").length&&(r.type="expander")),r},getEventTargetType:function(t){return this.getEventTarget(t).type},getNode:function(e){if(e instanceof E)return e;for(e instanceof t?e=e[0]:void 0!==e.originalEvent&&(e=e.target);e;){if(e.ftnode)return e.ftnode;e=e.parentNode}return null},getTree:function(e){var i;return e instanceof A?e:(void 0===e&&(e=0),"number"==typeof e?e=t(".fancytree-container").eq(e):"string"==typeof e?e=t(e).eq(0):e instanceof t?e=e.eq(0):void 0!==e.originalEvent&&(e=t(e.target)),(i=(e=e.closest(":ui-fancytree")).data("ui-fancytree")||e.data("fancytree"))?i.tree:null)},evalOption:function(e,i,n,a,r){var o,s,l=i.tree,c=a[e],d=n[e];return t.isFunction(c)?(o={node:i,tree:l,widget:l.widget,options:l.widget.options,typeInfo:l.types[i.type]||{}},null==(s=c.call(l,{type:e},o))&&(s=d)):s=null!=d?d:c,null==s&&(s=r),s},setSpanIcon:function(e,i,n){var a=t(e);"string"==typeof n?a.attr("class",i+" "+n):(n.text?a.text(""+n.text):n.html&&(e.innerHTML=n.html),a.attr("class",i+" "+(n.addClass||"")))},eventToString:function(t){var e=t.which,i=t.type,n=[];return t.altKey&&n.push("alt"),t.ctrlKey&&n.push("ctrl"),t.metaKey&&n.push("meta"),t.shiftKey&&n.push("shift"),"click"===i||"dblclick"===i?n.push(u[t.button]+i):l[e]||n.push(c[e]||String.fromCharCode(e).toLowerCase()),n.join("+")},info:function(e){t.ui.fancytree.debugLevel>=3&&w("info",arguments)},keyEventToString:function(t){return this.warn("keyEventToString() is deprecated: use eventToString()"),this.eventToString(t)},overrideMethod:function(e,i,n,a){var r,o=e[i]||t.noop;e[i]=function(){var t=a||this;try{return r=t._super,t._super=o,n.apply(t,arguments)}finally{t._super=r}}},parseHtml:function(e){var i,n,a,r,o,s,l,c,d=e.find(">li"),u=[];return d.each(function(){var d,f,m=t(this),y=m.find(">span:first",this),b=y.length?null:m.find(">a:first"),w={tooltip:null,data:{}};for(y.length?w.title=y.html():b&&b.length?(w.title=b.html(),w.data.href=b.attr("href"),w.data.target=b.attr("target"),w.tooltip=b.attr("title")):(w.title=m.html(),(o=w.title.search(/<ul/i))>=0&&(w.title=w.title.substring(0,o))),w.title=t.trim(w.title),r=0,s=h.length;r<s;r++)w[h[r]]=void 0;for(i=this.className.split(" "),a=[],r=0,s=i.length;r<s;r++)n=i[r],p[n]?w[n]=!0:a.push(n);if(w.extraClasses=a.join(" "),(l=m.attr("title"))&&(w.tooltip=l),(l=m.attr("id"))&&(w.key=l),m.attr("hideCheckbox")&&(w.checkbox=!1),(d=T(m))&&!t.isEmptyObject(d)){for(f in v)d.hasOwnProperty(f)&&(d[v[f]]=d[f],delete d[f]);for(r=0,s=g.length;r<s;r++)l=g[r],null!=(c=d[l])&&(delete d[l],w[l]=c);t.extend(w.data,d)}(e=m.find(">ul:first")).length?w.children=t.ui.fancytree.parseHtml(e):w.children=w.lazy?void 0:null,u.push(w)}),u},registerExtension:function(e){b(null!=e.name,"extensions must have a `name` property."),b(null!=e.version,"extensions must have a `version` property."),t.ui.fancytree._extensions[e.name]=e},unescapeHtml:function(t){var e=document.createElement("div");return e.innerHTML=t,0===e.childNodes.length?"":e.childNodes[0].nodeValue},warn:function(e){t.ui.fancytree.debugLevel>=2&&w("warn",arguments)}}),t.ui.fancytree}function b(e,i){e||(i=i?": "+i:"",t.error("Fancytree assertion failed"+i))}function w(t,e){var i,n,a=window.console?window.console[t]:null;if(a)try{a.apply(window.console,e)}catch(t){for(n="",i=0;i<e.length;i++)n+=e[i];a(n)}}function x(){var e,i,n,a,r,o=arguments[0]||{},s=1,l=arguments.length;if("object"==typeof o||t.isFunction(o)||(o={}),s===l)throw"need at least two args";for(;s<l;s++)if(null!=(e=arguments[s]))for(i in e)n=o[i],a=e[i],o!==a&&(a&&t.isPlainObject(a)?(r=n&&t.isPlainObject(n)?n:{},o[i]=x(r,a)):void 0!==a&&(o[i]=a));return o}function _(t,e,i,n,a){var r,o,s,l,c,d=(r=e[t],o=n[t],s=e.ext[a],l=function(){return r.apply(e,arguments)},c=function(t){return r.apply(e,t)},function(){var t=e._local,i=e._super,n=e._superApply;try{return e._local=s,e._super=l,e._superApply=c,o.apply(e,arguments)}finally{e._local=t,e._super=i,e._superApply=n}});return d}function k(e,i,n,a){for(var r in n)"function"==typeof n[r]?"function"==typeof e[r]?e[r]=_(r,e,0,n,a):"_"===r.charAt(0)?e.ext[a][r]=_(r,e,0,n,a):t.error("Could not override tree."+r+". Use prefix '_' to create tree."+a+"._"+r):"options"!==r&&(e.ext[a][r]=n[r])}function S(e,i){return void 0===e?t.Deferred(function(){this.resolve()}).promise():t.Deferred(function(){this.resolveWith(e,i)}).promise()}function M(e,i){return void 0===e?t.Deferred(function(){this.reject()}).promise():t.Deferred(function(){this.rejectWith(e,i)}).promise()}function C(t,e){return function(){t.resolveWith(e)}}function T(e){var i=t.extend({},e.data()),n=i.json;return delete i.fancytree,delete i.uiFancytree,n&&(delete i.json,i=t.extend(i,n)),i}function D(t){return(""+t).replace(o,function(t){return s[t]})}function L(t){return t=t.toLowerCase(),function(e){return e.title.toLowerCase().indexOf(t)>=0}}function E(e,i){var a,r,o,s;for(this.parent=e,this.tree=e.tree,this.ul=null,this.li=null,this.statusNodeType=null,this._isLoading=!1,this._error=null,this.data={},a=0,r=g.length;a<r;a++)this[o=g[a]]=i[o];for(o in null==this.unselectableIgnore&&null==this.unselectableStatus||(this.unselectable=!0),i.hideCheckbox&&t.error("'hideCheckbox' node option was removed in v2.23.0: use 'checkbox: false'"),i.data&&t.extend(this.data,i.data),i)m[o]||t.isFunction(i[o])||y[o]||(this.data[o]=i[o]);null==this.key?this.tree.options.defaultKey?(this.key=this.tree.options.defaultKey(this),b(this.key,"defaultKey() must return a unique key")):this.key="_"+n._nextNodeKey++:this.key=""+this.key,i.active&&(b(null===this.tree.activeNode,"only one active node allowed"),this.tree.activeNode=this),i.selected&&(this.tree.lastSelectedNode=this),(s=i.children)?s.length?this._setChildren(s):this.children=this.lazy?[]:null:this.children=null,this.tree._callHook("treeRegisterNode",this.tree,!0,this)}function A(e){this.widget=e,this.$div=e.element,this.options=e.options,this.options&&(t.isFunction(this.options.lazyload)&&!t.isFunction(this.options.lazyLoad)&&(this.options.lazyLoad=function(){return n.warn("The 'lazyload' event is deprecated since 2014-02-25. Use 'lazyLoad' (with uppercase L) instead."),e.options.lazyload.apply(this,arguments)}),t.isFunction(this.options.loaderror)&&t.error("The 'loaderror' event was renamed since 2014-07-03. Use 'loadError' (with uppercase E) instead."),void 0!==this.options.fx&&n.warn("The 'fx' option was replaced by 'toggleEffect' since 2014-11-30."),void 0!==this.options.removeNode&&t.error("The 'removeNode' event was replaced by 'modifyChild' since 2.20 (2016-09-10).")),this.ext={},this.types={},this.columns={},this.data=T(this.$div),this._id=t.ui.fancytree._nextId++,this._ns=".fancytree-"+this._id,this.activeNode=null,this.focusNode=null,this._hasFocus=null,this._tempCache={},this._lastMousedownNode=null,this._enableUpdate=!0,this.lastSelectedNode=null,this.systemFocusElement=null,this.lastQuicksearchTerm="",this.lastQuicksearchTime=0,this.statusClassPropName="span",this.ariaPropName="li",this.nodeContainerAttrName="li",this.$div.find(">ul.fancytree-container").remove();var i,a={tree:this};this.rootNode=new E(a,{title:"root",key:"root_"+this._id,children:null,expanded:!0}),this.rootNode.parent=null,i=t("<ul>",{class:"ui-fancytree fancytree-container fancytree-plain"}).appendTo(this.$div),this.$container=i,this.rootNode.ul=i[0],null==this.options.debugLevel&&(this.options.debugLevel=n.debugLevel)}t.ui.fancytree.warn("Fancytree: ignored duplicate include")})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){var n,a,r;
/*! jQuery UI - v1.12.1 - 2018-05-20
* http://jqueryui.com
* Includes: widget.js, position.js, keycode.js, scroll-parent.js, unique-id.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */a=[i(0)],void 0===(r="function"==typeof(n=function(t){t.ui=t.ui||{},t.ui.version="1.12.1";var e,i,n=0,a=Array.prototype.slice;
/*!
 * jQuery UI Widget 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */t.cleanData=t.cleanData||(e=t.cleanData,function(i){var n,a,r;for(r=0;null!=(a=i[r]);r++)try{(n=t._data(a,"events"))&&n.remove&&t(a).triggerHandler("remove")}catch(t){}e(i)}),t.widget=t.widget||function(e,i,n){var a,r,o,s={},l=e.split(".")[0];e=e.split(".")[1];var c=l+"-"+e;return n||(n=i,i=t.Widget),t.isArray(n)&&(n=t.extend.apply(null,[{}].concat(n))),t.expr[":"][c.toLowerCase()]=function(e){return!!t.data(e,c)},t[l]=t[l]||{},a=t[l][e],r=t[l][e]=function(t,e){if(!this._createWidget)return new r(t,e);arguments.length&&this._createWidget(t,e)},t.extend(r,a,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),(o=new i).options=t.widget.extend({},o.options),t.each(n,function(e,n){t.isFunction(n)?s[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function a(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,r=this._superApply;return this._super=t,this._superApply=a,e=n.apply(this,arguments),this._super=i,this._superApply=r,e}}():s[e]=n}),r.prototype=t.widget.extend(o,{widgetEventPrefix:a&&o.widgetEventPrefix||e},s,{constructor:r,namespace:l,widgetName:e,widgetFullName:c}),a?(t.each(a._childConstructors,function(e,i){var n=i.prototype;t.widget(n.namespace+"."+n.widgetName,r,i._proto)}),delete a._childConstructors):i._childConstructors.push(r),t.widget.bridge(e,r),r},t.widget.extend=function(e){for(var i,n,r=a.call(arguments,1),o=0,s=r.length;o<s;o++)for(i in r[o])n=r[o][i],r[o].hasOwnProperty(i)&&void 0!==n&&(t.isPlainObject(n)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):e[i]=n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(r){var o="string"==typeof r,s=a.call(arguments,1),l=this;return o?this.length||"instance"!==r?this.each(function(){var i,a=t.data(this,n);return"instance"===r?(l=a,!1):a?t.isFunction(a[r])&&"_"!==r.charAt(0)?(i=a[r].apply(a,s))!==a&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:t.error("no such method '"+r+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+r+"'")}):l=void 0:(s.length&&(r=t.widget.extend.apply(null,[r].concat(s))),this.each(function(){var e=t.data(this,n);e?(e.option(r||{}),e._init&&e._init()):t.data(this,n,new i(r,this))})),l}},t.Widget=t.Widget||function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var n,a,r,o=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(o={},n=e.split("."),e=n.shift(),n.length){for(a=o[e]=t.widget.extend({},this.options[e]),r=0;r<n.length-1;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(e=n.pop(),1===arguments.length)return void 0===a[e]?null:a[e];a[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];o[e]=i}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,n,a;for(i in e)a=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&a&&a.length&&(n=t(a.get()),this._removeClass(a,i),n.addClass(this._classes({element:n,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var i=[],n=this;function a(a,r){var o,s;for(s=0;s<a.length;s++)o=n.classesElementLookup[a[s]]||t(),o=e.add?t(t.unique(o.get().concat(e.element.get()))):t(o.not(e.element).get()),n.classesElementLookup[a[s]]=o,i.push(a[s]),r&&e.classes[a[s]]&&i.push(e.classes[a[s]])}return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&a(e.keys.match(/\S+/g)||[],!0),e.extra&&a(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(n,a){-1!==t.inArray(e.target,a)&&(i.classesElementLookup[n]=t(a.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){n="boolean"==typeof n?n:i;var a="string"==typeof t||null===t,r={extra:a?e:i,keys:a?t:e,element:a?this.element:t,add:n};return r.element.toggleClass(this._classes(r),n),this},_on:function(e,i,n){var a,r=this;"boolean"!=typeof e&&(n=i,i=e,e=!1),n?(i=a=t(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,a=this.widget()),t.each(n,function(n,o){function s(){if(e||!0!==r.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof o?r[o]:o).apply(r,arguments)}"string"!=typeof o&&(s.guid=o.guid=o.guid||s.guid||t.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+r.eventNamespace,d=l[2];d?a.on(c,d,s):i.on(c,s)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,n){var a,r,o=this.options[e];if(n=n||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],r=i.originalEvent)for(a in r)a in i||(i[a]=r[a]);return this.element.trigger(i,n),!(t.isFunction(o)&&!1===o.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(n,a,r){var o;"string"==typeof a&&(a={effect:a});var s=a?!0===a||"number"==typeof a?i:a.effect||i:e;"number"==typeof(a=a||{})&&(a={duration:a}),o=!t.isEmptyObject(a),a.complete=r,a.delay&&n.delay(a.delay),o&&t.effects&&t.effects.effect[s]?n[e](a):s!==e&&n[s]?n[s](a.duration,a.easing,r):n.queue(function(i){t(this)[e](),r&&r.call(n[0]),i()})}}),t.widget,
/*!
 * jQuery UI Position 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/position/
 */
function(){var e,i=Math.max,n=Math.abs,a=/left|center|right/,r=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,l=/%$/,c=t.fn.position;function d(t,e,i){return[parseFloat(t[0])*(l.test(t[0])?e/100:1),parseFloat(t[1])*(l.test(t[1])?i/100:1)]}function u(e,i){return parseInt(t.css(e,i),10)||0}t.position=t.position||{scrollbarWidth:function(){if(void 0!==e)return e;var i,n,a=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=a.children()[0];return t("body").append(a),i=r.offsetWidth,a.css("overflow","scroll"),n=r.offsetWidth,i===n&&(n=a[0].clientWidth),a.remove(),e=i-n},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),a="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,r="scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight;return{width:r?t.position.scrollbarWidth():0,height:a?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),n=t.isWindow(i[0]),a=!!i[0]&&9===i[0].nodeType,r=!n&&!a;return{element:i,isWindow:n,isDocument:a,offset:r?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return c.apply(this,arguments);e=t.extend({},e);var l,h,p,f,g,m,v,y,b=t(e.of),w=t.position.getWithinInfo(e.within),x=t.position.getScrollInfo(w),_=(e.collision||"flip").split(" "),k={};return y=(v=b)[0],m=9===y.nodeType?{width:v.width(),height:v.height(),offset:{top:0,left:0}}:t.isWindow(y)?{width:v.width(),height:v.height(),offset:{top:v.scrollTop(),left:v.scrollLeft()}}:y.preventDefault?{width:0,height:0,offset:{top:y.pageY,left:y.pageX}}:{width:v.outerWidth(),height:v.outerHeight(),offset:v.offset()},b[0].preventDefault&&(e.at="left top"),h=m.width,p=m.height,f=m.offset,g=t.extend({},f),t.each(["my","at"],function(){var t,i,n=(e[this]||"").split(" ");1===n.length&&(n=a.test(n[0])?n.concat(["center"]):r.test(n[0])?["center"].concat(n):["center","center"]),n[0]=a.test(n[0])?n[0]:"center",n[1]=r.test(n[1])?n[1]:"center",t=o.exec(n[0]),i=o.exec(n[1]),k[this]=[t?t[0]:0,i?i[0]:0],e[this]=[s.exec(n[0])[0],s.exec(n[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===e.at[0]?g.left+=h:"center"===e.at[0]&&(g.left+=h/2),"bottom"===e.at[1]?g.top+=p:"center"===e.at[1]&&(g.top+=p/2),l=d(k.at,h,p),g.left+=l[0],g.top+=l[1],this.each(function(){var a,r,o=t(this),s=o.outerWidth(),c=o.outerHeight(),m=u(this,"marginLeft"),v=u(this,"marginTop"),y=s+m+u(this,"marginRight")+x.width,S=c+v+u(this,"marginBottom")+x.height,M=t.extend({},g),C=d(k.my,o.outerWidth(),o.outerHeight());"right"===e.my[0]?M.left-=s:"center"===e.my[0]&&(M.left-=s/2),"bottom"===e.my[1]?M.top-=c:"center"===e.my[1]&&(M.top-=c/2),M.left+=C[0],M.top+=C[1],a={marginLeft:m,marginTop:v},t.each(["left","top"],function(i,n){t.ui.position[_[i]]&&t.ui.position[_[i]][n](M,{targetWidth:h,targetHeight:p,elemWidth:s,elemHeight:c,collisionPosition:a,collisionWidth:y,collisionHeight:S,offset:[l[0]+C[0],l[1]+C[1]],my:e.my,at:e.at,within:w,elem:o})}),e.using&&(r=function(t){var a=f.left-M.left,r=a+h-s,l=f.top-M.top,d=l+p-c,u={target:{element:b,left:f.left,top:f.top,width:h,height:p},element:{element:o,left:M.left,top:M.top,width:s,height:c},horizontal:r<0?"left":a>0?"right":"center",vertical:d<0?"top":l>0?"bottom":"middle"};h<s&&n(a+r)<h&&(u.horizontal="center"),p<c&&n(l+d)<p&&(u.vertical="middle"),i(n(a),n(r))>i(n(l),n(d))?u.important="horizontal":u.important="vertical",e.using.call(this,t,u)}),o.offset(t.extend(M,{using:r}))})},t.ui.position={fit:{left:function(t,e){var n,a=e.within,r=a.isWindow?a.scrollLeft:a.offset.left,o=a.width,s=t.left-e.collisionPosition.marginLeft,l=r-s,c=s+e.collisionWidth-o-r;e.collisionWidth>o?l>0&&c<=0?(n=t.left+l+e.collisionWidth-o-r,t.left+=l-n):t.left=c>0&&l<=0?r:l>c?r+o-e.collisionWidth:r:l>0?t.left+=l:c>0?t.left-=c:t.left=i(t.left-s,t.left)},top:function(t,e){var n,a=e.within,r=a.isWindow?a.scrollTop:a.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,l=r-s,c=s+e.collisionHeight-o-r;e.collisionHeight>o?l>0&&c<=0?(n=t.top+l+e.collisionHeight-o-r,t.top+=l-n):t.top=c>0&&l<=0?r:l>c?r+o-e.collisionHeight:r:l>0?t.top+=l:c>0?t.top-=c:t.top=i(t.top-s,t.top)}},flip:{left:function(t,e){var i,a,r=e.within,o=r.offset.left+r.scrollLeft,s=r.width,l=r.isWindow?r.scrollLeft:r.offset.left,c=t.left-e.collisionPosition.marginLeft,d=c-l,u=c+e.collisionWidth-s-l,h="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];d<0?((i=t.left+h+p+f+e.collisionWidth-s-o)<0||i<n(d))&&(t.left+=h+p+f):u>0&&((a=t.left-e.collisionPosition.marginLeft+h+p+f-l)>0||n(a)<u)&&(t.left+=h+p+f)},top:function(t,e){var i,a,r=e.within,o=r.offset.top+r.scrollTop,s=r.height,l=r.isWindow?r.scrollTop:r.offset.top,c=t.top-e.collisionPosition.marginTop,d=c-l,u=c+e.collisionHeight-s-l,h="top"===e.my[1],p=h?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];d<0?((a=t.top+p+f+g+e.collisionHeight-s-o)<0||a<n(d))&&(t.top+=p+f+g):u>0&&((i=t.top-e.collisionPosition.marginTop+p+f+g-l)>0||n(i)<u)&&(t.top+=p+f+g)}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.fn.scrollParent=function(e){var i=this.css("position"),n="absolute"===i,a=e?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter(function(){var e=t(this);return(!n||"static"!==e.css("position"))&&a.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&r.length?r:t(this[0].ownerDocument||document)},t.fn.extend({uniqueId:(i=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++i)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}})})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";i.r(e),function(t){i(186);var e=i(154),n=i.n(e);i(187);t(document).ready(function(){if(t(function(){var e={AF:16.63,AL:11.58,DZ:158.97};setTimeout(function(){t("#world-map-gdp").vectorMap({map:"world_mill",series:{regions:[{values:e,scale:["#C8EEFF","#0071A4"],normalizeFunction:"polynomial"}]},onRegionTipShow:function(t,i,n){i.html(i.html()+" (GDP - "+e[n]+")")}})},2e3)}),document.getElementById("gmap-example"))new n.a({el:"#gmap-example",lat:-12.043333,lng:-77.028333,width:"100%",height:"300px"})})}.call(this,i(0))},function(t,e,i){(function(n,a){var r,o,s,l;l={set:{colors:1,values:1,backgroundColor:1,scaleColors:1,normalizeFunction:1,focus:1},get:{selectedRegions:1,selectedMarkers:1,mapObject:1,regionName:1}},n.fn.vectorMap=function(t){var e=this.children(".jvectormap-container").data("mapObject");if("addMap"===t)c.Map.maps[arguments[1]]=arguments[2];else{if(("set"===t||"get"===t)&&l[t][arguments[1]])return e[t+(arguments[1].charAt(0).toUpperCase()+arguments[1].substr(1))].apply(e,Array.prototype.slice.call(arguments,2));(t=t||{}).container=this,e=new c.Map(t)}return this},o=[i(0)],void 0===(s="function"==typeof(r=function(t){function e(e){var o=e||window.event,s=l.call(arguments,1),c=0,d=0,u=0,h=0;if((e=t.event.fix(o)).type="mousewheel","detail"in o&&(u=-1*o.detail),"wheelDelta"in o&&(u=o.wheelDelta),"wheelDeltaY"in o&&(u=o.wheelDeltaY),"wheelDeltaX"in o&&(d=-1*o.wheelDeltaX),"axis"in o&&o.axis===o.HORIZONTAL_AXIS&&(d=-1*u,u=0),c=0===u?d:u,"deltaY"in o&&(u=-1*o.deltaY,c=u),"deltaX"in o&&(d=o.deltaX,0===u&&(c=-1*d)),0!==u||0!==d){if(1===o.deltaMode){var p=t.data(this,"mousewheel-line-height");c*=p,u*=p,d*=p}else if(2===o.deltaMode){var f=t.data(this,"mousewheel-page-height");c*=f,u*=f,d*=f}return h=Math.max(Math.abs(u),Math.abs(d)),(!r||r>h)&&(r=h,n(o,h)&&(r/=40)),n(o,h)&&(c/=40,d/=40,u/=40),c=Math[c>=1?"floor":"ceil"](c/r),d=Math[d>=1?"floor":"ceil"](d/r),u=Math[u>=1?"floor":"ceil"](u/r),e.deltaX=d,e.deltaY=u,e.deltaFactor=r,e.deltaMode=0,s.unshift(e,c,d,u),a&&clearTimeout(a),a=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,s)}}function i(){r=null}function n(t,e){return d.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var a,r,o=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=o.length;c;)t.event.fixHooks[o[--c]]=t.event.mouseHooks;var d=t.event.special.mousewheel={version:"3.1.9",setup:function(){if(this.addEventListener)for(var i=s.length;i;)this.addEventListener(s[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",d.getLineHeight(this)),t.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=s.length;t;)this.removeEventListener(s[--t],e,!1);else this.onmousewheel=null},getLineHeight:function(e){return parseInt(t(e)["offsetParent"in t.fn?"offsetParent":"parent"]().css("fontSize"),10)},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})})?r.apply(e,o):r)||(t.exports=s);var c={inherits:function(t,e){function i(){}i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.parentClass=e},mixin:function(t,e){var i;for(i in e.prototype)e.prototype.hasOwnProperty(i)&&(t.prototype[i]=e.prototype[i])},min:function(t){var e,i=Number.MAX_VALUE;if(t instanceof Array)for(e=0;e<t.length;e++)t[e]<i&&(i=t[e]);else for(e in t)t[e]<i&&(i=t[e]);return i},max:function(t){var e,i=Number.MIN_VALUE;if(t instanceof Array)for(e=0;e<t.length;e++)t[e]>i&&(i=t[e]);else for(e in t)t[e]>i&&(i=t[e]);return i},keys:function(t){var e,i=[];for(e in t)i.push(e);return i},values:function(t){var e,i,n=[];for(i=0;i<arguments.length;i++)for(e in t=arguments[i])n.push(t[e]);return n},whenImageLoaded:function(t){var e=new c.$.Deferred,i=c.$("<img/>");return i.error(function(){e.reject()}).load(function(){e.resolve(i)}),i.attr("src",t),e},isImageUrl:function(t){return/\.\w{3,4}$/.test(t)}};c.$=n,Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){var i;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),a=n.length>>>0;if(0===a)return-1;var r=+e||0;if(Math.abs(r)===1/0&&(r=0),r>=a)return-1;for(i=Math.max(r>=0?r:a-Math.abs(r),0);a>i;){if(i in n&&n[i]===t)return i;i++}return-1}),c.AbstractElement=function(t,e){this.node=this.createElement(t),this.name=t,this.properties={},e&&this.set(e)},c.AbstractElement.prototype.set=function(t,e){var i;if("object"==typeof t)for(i in t)this.properties[i]=t[i],this.applyAttr(i,t[i]);else this.properties[t]=e,this.applyAttr(t,e)},c.AbstractElement.prototype.get=function(t){return this.properties[t]},c.AbstractElement.prototype.applyAttr=function(t,e){this.node.setAttribute(t,e)},c.AbstractElement.prototype.remove=function(){c.$(this.node).remove()},c.AbstractCanvasElement=function(t,e,i){this.container=t,this.setSize(e,i),this.rootElement=new c[this.classPrefix+"GroupElement"],this.node.appendChild(this.rootElement.node),this.container.appendChild(this.node)},c.AbstractCanvasElement.prototype.add=function(t,e){(e=e||this.rootElement).add(t),t.canvas=this},c.AbstractCanvasElement.prototype.addPath=function(t,e,i){var n=new c[this.classPrefix+"PathElement"](t,e);return this.add(n,i),n},c.AbstractCanvasElement.prototype.addCircle=function(t,e,i){var n=new c[this.classPrefix+"CircleElement"](t,e);return this.add(n,i),n},c.AbstractCanvasElement.prototype.addImage=function(t,e,i){var n=new c[this.classPrefix+"ImageElement"](t,e);return this.add(n,i),n},c.AbstractCanvasElement.prototype.addText=function(t,e,i){var n=new c[this.classPrefix+"TextElement"](t,e);return this.add(n,i),n},c.AbstractCanvasElement.prototype.addGroup=function(t){var e=new c[this.classPrefix+"GroupElement"];return t?t.node.appendChild(e.node):this.node.appendChild(e.node),e.canvas=this,e},c.AbstractShapeElement=function(t,e,i){this.style=i||{},this.style.current=this.style.current||{},this.isHovered=!1,this.isSelected=!1,this.updateStyle()},c.AbstractShapeElement.prototype.setStyle=function(t,e){var i={};"object"==typeof t?i=t:i[t]=e,c.$.extend(this.style.current,i),this.updateStyle()},c.AbstractShapeElement.prototype.updateStyle=function(){var t={};c.AbstractShapeElement.mergeStyles(t,this.style.initial),c.AbstractShapeElement.mergeStyles(t,this.style.current),this.isHovered&&c.AbstractShapeElement.mergeStyles(t,this.style.hover),this.isSelected&&(c.AbstractShapeElement.mergeStyles(t,this.style.selected),this.isHovered&&c.AbstractShapeElement.mergeStyles(t,this.style.selectedHover)),this.set(t)},c.AbstractShapeElement.mergeStyles=function(t,e){var i;for(i in e=e||{})null===e[i]?delete t[i]:t[i]=e[i]},c.SVGElement=function(){c.SVGElement.parentClass.apply(this,arguments)},c.inherits(c.SVGElement,c.AbstractElement),c.SVGElement.svgns="http://www.w3.org/2000/svg",c.SVGElement.prototype.createElement=function(t){return document.createElementNS(c.SVGElement.svgns,t)},c.SVGElement.prototype.addClass=function(t){this.node.setAttribute("class",t)},c.SVGElement.prototype.getElementCtr=function(t){return c["SVG"+t]},c.SVGElement.prototype.getBBox=function(){return this.node.getBBox()},c.SVGGroupElement=function(){c.SVGGroupElement.parentClass.call(this,"g")},c.inherits(c.SVGGroupElement,c.SVGElement),c.SVGGroupElement.prototype.add=function(t){this.node.appendChild(t.node)},c.SVGCanvasElement=function(){this.classPrefix="SVG",c.SVGCanvasElement.parentClass.call(this,"svg"),this.defsElement=new c.SVGElement("defs"),this.node.appendChild(this.defsElement.node),c.AbstractCanvasElement.apply(this,arguments)},c.inherits(c.SVGCanvasElement,c.SVGElement),c.mixin(c.SVGCanvasElement,c.AbstractCanvasElement),c.SVGCanvasElement.prototype.setSize=function(t,e){this.width=t,this.height=e,this.node.setAttribute("width",t),this.node.setAttribute("height",e)},c.SVGCanvasElement.prototype.applyTransformParams=function(t,e,i){this.scale=t,this.transX=e,this.transY=i,this.rootElement.node.setAttribute("transform","scale("+t+") translate("+e+", "+i+")")},c.SVGShapeElement=function(t,e){c.SVGShapeElement.parentClass.call(this,t,e),c.AbstractShapeElement.apply(this,arguments)},c.inherits(c.SVGShapeElement,c.SVGElement),c.mixin(c.SVGShapeElement,c.AbstractShapeElement),c.SVGShapeElement.prototype.applyAttr=function(t,e){var i,n,a=this;"fill"===t&&c.isImageUrl(e)?c.SVGShapeElement.images[e]?this.applyAttr("fill","url(#image"+c.SVGShapeElement.images[e]+")"):c.whenImageLoaded(e).then(function(t){(n=new c.SVGElement("image")).node.setAttributeNS("http://www.w3.org/1999/xlink","href",e),n.applyAttr("x","0"),n.applyAttr("y","0"),n.applyAttr("width",t[0].width),n.applyAttr("height",t[0].height),(i=new c.SVGElement("pattern")).applyAttr("id","image"+c.SVGShapeElement.imageCounter),i.applyAttr("x",0),i.applyAttr("y",0),i.applyAttr("width",t[0].width/2),i.applyAttr("height",t[0].height/2),i.applyAttr("viewBox","0 0 "+t[0].width+" "+t[0].height),i.applyAttr("patternUnits","userSpaceOnUse"),i.node.appendChild(n.node),a.canvas.defsElement.node.appendChild(i.node),c.SVGShapeElement.images[e]=c.SVGShapeElement.imageCounter++,a.applyAttr("fill","url(#image"+c.SVGShapeElement.images[e]+")")}):c.SVGShapeElement.parentClass.prototype.applyAttr.apply(this,arguments)},c.SVGShapeElement.imageCounter=1,c.SVGShapeElement.images={},c.SVGPathElement=function(t,e){c.SVGPathElement.parentClass.call(this,"path",t,e),this.node.setAttribute("fill-rule","evenodd")},c.inherits(c.SVGPathElement,c.SVGShapeElement),c.SVGCircleElement=function(t,e){c.SVGCircleElement.parentClass.call(this,"circle",t,e)},c.inherits(c.SVGCircleElement,c.SVGShapeElement),c.SVGImageElement=function(t,e){c.SVGImageElement.parentClass.call(this,"image",t,e)},c.inherits(c.SVGImageElement,c.SVGShapeElement),c.SVGImageElement.prototype.applyAttr=function(t,e){var i=this;"image"==t?c.whenImageLoaded(e).then(function(t){i.node.setAttributeNS("http://www.w3.org/1999/xlink","href",e),i.width=t[0].width,i.height=t[0].height,i.applyAttr("width",i.width),i.applyAttr("height",i.height),i.applyAttr("x",i.cx-i.width/2),i.applyAttr("y",i.cy-i.height/2),c.$(i.node).trigger("imageloaded",[t])}):"cx"==t?(this.cx=e,this.width&&this.applyAttr("x",e-this.width/2)):"cy"==t?(this.cy=e,this.height&&this.applyAttr("y",e-this.height/2)):c.SVGImageElement.parentClass.prototype.applyAttr.apply(this,arguments)},c.SVGTextElement=function(t,e){c.SVGTextElement.parentClass.call(this,"text",t,e)},c.inherits(c.SVGTextElement,c.SVGShapeElement),c.SVGTextElement.prototype.applyAttr=function(t,e){"text"===t?this.node.textContent=e:c.SVGTextElement.parentClass.prototype.applyAttr.apply(this,arguments)},c.VMLElement=function(){c.VMLElement.VMLInitialized||c.VMLElement.initializeVML(),c.VMLElement.parentClass.apply(this,arguments)},c.inherits(c.VMLElement,c.AbstractElement),c.VMLElement.VMLInitialized=!1,c.VMLElement.initializeVML=function(){try{document.namespaces.rvml||document.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),c.VMLElement.prototype.createElement=function(t){return document.createElement("<rvml:"+t+' class="rvml">')}}catch(t){c.VMLElement.prototype.createElement=function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}document.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"),c.VMLElement.VMLInitialized=!0},c.VMLElement.prototype.getElementCtr=function(t){return c["VML"+t]},c.VMLElement.prototype.addClass=function(t){c.$(this.node).addClass(t)},c.VMLElement.prototype.applyAttr=function(t,e){this.node[t]=e},c.VMLElement.prototype.getBBox=function(){var t=c.$(this.node);return{x:t.position().left/this.canvas.scale,y:t.position().top/this.canvas.scale,width:t.width()/this.canvas.scale,height:t.height()/this.canvas.scale}},c.VMLGroupElement=function(){c.VMLGroupElement.parentClass.call(this,"group"),this.node.style.left="0px",this.node.style.top="0px",this.node.coordorigin="0 0"},c.inherits(c.VMLGroupElement,c.VMLElement),c.VMLGroupElement.prototype.add=function(t){this.node.appendChild(t.node)},c.VMLCanvasElement=function(){this.classPrefix="VML",c.VMLCanvasElement.parentClass.call(this,"group"),c.AbstractCanvasElement.apply(this,arguments),this.node.style.position="absolute"},c.inherits(c.VMLCanvasElement,c.VMLElement),c.mixin(c.VMLCanvasElement,c.AbstractCanvasElement),c.VMLCanvasElement.prototype.setSize=function(t,e){var i,n,a,r;if(this.width=t,this.height=e,this.node.style.width=t+"px",this.node.style.height=e+"px",this.node.coordsize=t+" "+e,this.node.coordorigin="0 0",this.rootElement){for(a=0,r=(i=this.rootElement.node.getElementsByTagName("shape")).length;r>a;a++)i[a].coordsize=t+" "+e,i[a].style.width=t+"px",i[a].style.height=e+"px";for(a=0,r=(n=this.node.getElementsByTagName("group")).length;r>a;a++)n[a].coordsize=t+" "+e,n[a].style.width=t+"px",n[a].style.height=e+"px"}},c.VMLCanvasElement.prototype.applyTransformParams=function(t,e,i){this.scale=t,this.transX=e,this.transY=i,this.rootElement.node.coordorigin=this.width-e-this.width/100+","+(this.height-i-this.height/100),this.rootElement.node.coordsize=this.width/t+","+this.height/t},c.VMLShapeElement=function(t,e){c.VMLShapeElement.parentClass.call(this,t,e),this.fillElement=new c.VMLElement("fill"),this.strokeElement=new c.VMLElement("stroke"),this.node.appendChild(this.fillElement.node),this.node.appendChild(this.strokeElement.node),this.node.stroked=!1,c.AbstractShapeElement.apply(this,arguments)},c.inherits(c.VMLShapeElement,c.VMLElement),c.mixin(c.VMLShapeElement,c.AbstractShapeElement),c.VMLShapeElement.prototype.applyAttr=function(t,e){switch(t){case"fill":this.node.fillcolor=e;break;case"fill-opacity":this.fillElement.node.opacity=Math.round(100*e)+"%";break;case"stroke":this.node.stroked="none"!==e,this.node.strokecolor=e;break;case"stroke-opacity":this.strokeElement.node.opacity=Math.round(100*e)+"%";break;case"stroke-width":this.node.stroked=0!==parseInt(e,10),this.node.strokeweight=e;break;case"d":this.node.path=c.VMLPathElement.pathSvgToVml(e);break;default:c.VMLShapeElement.parentClass.prototype.applyAttr.apply(this,arguments)}},c.VMLPathElement=function(t,e){var i=new c.VMLElement("skew");c.VMLPathElement.parentClass.call(this,"shape",t,e),this.node.coordorigin="0 0",i.node.on=!0,i.node.matrix="0.01,0,0,0.01,0,0",i.node.offset="0,0",this.node.appendChild(i.node)},c.inherits(c.VMLPathElement,c.VMLShapeElement),c.VMLPathElement.prototype.applyAttr=function(t,e){"d"===t?this.node.path=c.VMLPathElement.pathSvgToVml(e):c.VMLShapeElement.prototype.applyAttr.call(this,t,e)},c.VMLPathElement.pathSvgToVml=function(t){var e,i,n=0,a=0;return(t=t.replace(/(-?\d+)e(-?\d+)/g,"0")).replace(/([MmLlHhVvCcSs])\s*((?:-?\d*(?:\.\d+)?\s*,?\s*)+)/g,function(t,r,o){(o=o.replace(/(\d)-/g,"$1,-").replace(/^\s+/g,"").replace(/\s+$/g,"").replace(/\s+/g,",").split(","))[0]||o.shift();for(var s=0,l=o.length;l>s;s++)o[s]=Math.round(100*o[s]);switch(r){case"m":return n+=o[0],a+=o[1],"t"+o.join(",");case"M":return n=o[0],a=o[1],"m"+o.join(",");case"l":return n+=o[0],a+=o[1],"r"+o.join(",");case"L":return n=o[0],a=o[1],"l"+o.join(",");case"h":return n+=o[0],"r"+o[0]+",0";case"H":return"l"+(n=o[0])+","+a;case"v":return a+=o[0],"r0,"+o[0];case"V":return a=o[0],"l"+n+","+a;case"c":return e=n+o[o.length-4],i=a+o[o.length-3],n+=o[o.length-2],a+=o[o.length-1],"v"+o.join(",");case"C":return e=o[o.length-4],i=o[o.length-3],n=o[o.length-2],a=o[o.length-1],"c"+o.join(",");case"s":return o.unshift(a-i),o.unshift(n-e),e=n+o[o.length-4],i=a+o[o.length-3],n+=o[o.length-2],a+=o[o.length-1],"v"+o.join(",");case"S":return o.unshift(a+a-i),o.unshift(n+n-e),e=o[o.length-4],i=o[o.length-3],n=o[o.length-2],a=o[o.length-1],"c"+o.join(",")}return""}).replace(/z/g,"e")},c.VMLCircleElement=function(t,e){c.VMLCircleElement.parentClass.call(this,"oval",t,e)},c.inherits(c.VMLCircleElement,c.VMLShapeElement),c.VMLCircleElement.prototype.applyAttr=function(t,e){switch(t){case"r":this.node.style.width=2*e+"px",this.node.style.height=2*e+"px",this.applyAttr("cx",this.get("cx")||0),this.applyAttr("cy",this.get("cy")||0);break;case"cx":if(!e)return;this.node.style.left=e-(this.get("r")||0)+"px";break;case"cy":if(!e)return;this.node.style.top=e-(this.get("r")||0)+"px";break;default:c.VMLCircleElement.parentClass.prototype.applyAttr.call(this,t,e)}},c.VectorCanvas=function(t,e,i){return this.mode=window.SVGAngle?"svg":"vml",this.impl="svg"==this.mode?new c.SVGCanvasElement(t,e,i):new c.VMLCanvasElement(t,e,i),this.impl.mode=this.mode,this.impl},c.SimpleScale=function(t){this.scale=t},c.SimpleScale.prototype.getValue=function(t){return t},c.OrdinalScale=function(t){this.scale=t},c.OrdinalScale.prototype.getValue=function(t){return this.scale[t]},c.OrdinalScale.prototype.getTicks=function(){var t,e=[];for(t in this.scale)e.push({label:t,value:this.scale[t]});return e},c.NumericScale=function(t,e,i,n){this.scale=[],e=e||"linear",t&&this.setScale(t),e&&this.setNormalizeFunction(e),void 0!==i&&this.setMin(i),void 0!==n&&this.setMax(n)},c.NumericScale.prototype={setMin:function(t){this.clearMinValue=t,this.minValue="function"==typeof this.normalize?this.normalize(t):t},setMax:function(t){this.clearMaxValue=t,this.maxValue="function"==typeof this.normalize?this.normalize(t):t},setScale:function(t){var e;for(this.scale=[],e=0;e<t.length;e++)this.scale[e]=[t[e]]},setNormalizeFunction:function(t){"polynomial"===t?this.normalize=function(t){return Math.pow(t,.2)}:"linear"===t?delete this.normalize:this.normalize=t,this.setMin(this.clearMinValue),this.setMax(this.clearMaxValue)},getValue:function(t){var e,i,n=[],a=0,r=0;for("function"==typeof this.normalize&&(t=this.normalize(t)),r=0;r<this.scale.length-1;r++)e=this.vectorLength(this.vectorSubtract(this.scale[r+1],this.scale[r])),n.push(e),a+=e;for(i=(this.maxValue-this.minValue)/a,r=0;r<n.length;r++)n[r]*=i;for(r=0,t-=this.minValue;t-n[r]>=0;)t-=n[r],r++;return this.vectorToNum(r==this.scale.length-1?this.scale[r]:this.vectorAdd(this.scale[r],this.vectorMult(this.vectorSubtract(this.scale[r+1],this.scale[r]),t/n[r])))},vectorToNum:function(t){var e,i=0;for(e=0;e<t.length;e++)i+=Math.round(t[e])*Math.pow(256,t.length-e-1);return i},vectorSubtract:function(t,e){var i,n=[];for(i=0;i<t.length;i++)n[i]=t[i]-e[i];return n},vectorAdd:function(t,e){var i,n=[];for(i=0;i<t.length;i++)n[i]=t[i]+e[i];return n},vectorMult:function(t,e){var i,n=[];for(i=0;i<t.length;i++)n[i]=t[i]*e;return n},vectorLength:function(t){var e,i=0;for(e=0;e<t.length;e++)i+=t[e]*t[e];return Math.sqrt(i)},getTicks:function(){var t,e,i=[this.clearMinValue,this.clearMaxValue],n=i[1]-i[0],a=Math.pow(10,Math.floor(Math.log(n/5)/Math.LN10)),r=5/n*a,o=[];for(.15>=r?a*=10:.35>=r?a*=5:.75>=r&&(a*=2),i[0]=Math.floor(i[0]/a)*a,i[1]=Math.ceil(i[1]/a)*a,t=i[0];t<=i[1];)e=t==i[0]?this.clearMinValue:t==i[1]?this.clearMaxValue:t,o.push({label:t,value:this.getValue(e)}),t+=a;return o}},c.ColorScale=function(){c.ColorScale.parentClass.apply(this,arguments)},c.inherits(c.ColorScale,c.NumericScale),c.ColorScale.prototype.setScale=function(t){var e;for(e=0;e<t.length;e++)this.scale[e]=c.ColorScale.rgbToArray(t[e])},c.ColorScale.prototype.getValue=function(t){return c.ColorScale.numToRgb(c.ColorScale.parentClass.prototype.getValue.call(this,t))},c.ColorScale.arrayToRgb=function(t){var e,i,n="#";for(i=0;i<t.length;i++)n+=1==(e=t[i].toString(16)).length?"0"+e:e;return n},c.ColorScale.numToRgb=function(t){for(t=t.toString(16);t.length<6;)t="0"+t;return"#"+t},c.ColorScale.rgbToArray=function(t){return t=t.substr(1),[parseInt(t.substr(0,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(4,2),16)]},c.Legend=function(t){this.params=t||{},this.map=this.params.map,this.series=this.params.series,this.body=c.$("<div/>"),this.body.addClass("jvectormap-legend"),this.params.cssClass&&this.body.addClass(this.params.cssClass),t.vertical?this.map.legendCntVertical.append(this.body):this.map.legendCntHorizontal.append(this.body),this.render()},c.Legend.prototype.render=function(){var t,e,i,n,a=this.series.scale.getTicks(),r=c.$("<div/>").addClass("jvectormap-legend-inner");for(this.body.html(""),this.params.title&&this.body.append(c.$("<div/>").addClass("jvectormap-legend-title").html(this.params.title)),this.body.append(r),t=0;t<a.length;t++){switch(e=c.$("<div/>").addClass("jvectormap-legend-tick"),i=c.$("<div/>").addClass("jvectormap-legend-tick-sample"),this.series.params.attribute){case"fill":c.isImageUrl(a[t].value)?i.css("background","url("+a[t].value+")"):i.css("background",a[t].value);break;case"stroke":i.css("background",a[t].value);break;case"image":i.css("background","url("+a[t].value+") no-repeat center center");break;case"r":c.$("<div/>").css({"border-radius":a[t].value,border:this.map.params.markerStyle.initial["stroke-width"]+"px "+this.map.params.markerStyle.initial.stroke+" solid",width:2*a[t].value+"px",height:2*a[t].value+"px",background:this.map.params.markerStyle.initial.fill}).appendTo(i)}e.append(i),n=a[t].label,this.params.labelRender&&(n=this.params.labelRender(n)),e.append(c.$("<div>"+n+" </div>").addClass("jvectormap-legend-tick-text")),r.append(e)}r.append(c.$("<div/>").css("clear","both"))},c.DataSeries=function(t,e,i){var n;(t=t||{}).attribute=t.attribute||"fill",this.elements=e,this.params=t,this.map=i,t.attributes&&this.setAttributes(t.attributes),c.$.isArray(t.scale)?(n="fill"===t.attribute||"stroke"===t.attribute?c.ColorScale:c.NumericScale,this.scale=new n(t.scale,t.normalizeFunction,t.min,t.max)):this.scale=t.scale?new c.OrdinalScale(t.scale):new c.SimpleScale(t.scale),this.values=t.values||{},this.setValues(this.values),this.params.legend&&(this.legend=new c.Legend(a.extend({map:this.map,series:this},this.params.legend)))},c.DataSeries.prototype={setAttributes:function(t,e){var i,n=t;if("string"==typeof t)this.elements[t]&&this.elements[t].setStyle(this.params.attribute,e);else for(i in n)this.elements[i]&&this.elements[i].element.setStyle(this.params.attribute,n[i])},setValues:function(t){var e,i,n=-Number.MAX_VALUE,a=Number.MAX_VALUE,r={};if(this.scale instanceof c.OrdinalScale||this.scale instanceof c.SimpleScale)for(i in t)r[i]=t[i]?this.scale.getValue(t[i]):this.elements[i].element.style.initial[this.params.attribute];else{if(void 0===this.params.min||void 0===this.params.max)for(i in t)(e=parseFloat(t[i]))>n&&(n=e),a>e&&(a=e);for(i in void 0===this.params.min?(this.scale.setMin(a),this.params.min=a):this.scale.setMin(this.params.min),void 0===this.params.max?(this.scale.setMax(n),this.params.max=n):this.scale.setMax(this.params.max),t)"indexOf"!=i&&(e=parseFloat(t[i]),r[i]=isNaN(e)?this.elements[i].element.style.initial[this.params.attribute]:this.scale.getValue(e))}this.setAttributes(r),c.$.extend(this.values,t)},clear:function(){var t,e={};for(t in this.values)this.elements[t]&&(e[t]=this.elements[t].element.shape.style.initial[this.params.attribute]);this.setAttributes(e),this.values={}},setScale:function(t){this.scale.setScale(t),this.values&&this.setValues(this.values)},setNormalizeFunction:function(t){this.scale.setNormalizeFunction(t),this.values&&this.setValues(this.values)}},c.Proj={degRad:180/Math.PI,radDeg:Math.PI/180,radius:6381372,sgn:function(t){return t>0?1:0>t?-1:t},mill:function(t,e,i){return{x:this.radius*(e-i)*this.radDeg,y:-this.radius*Math.log(Math.tan((45+.4*t)*this.radDeg))/.8}},mill_inv:function(t,e,i){return{lat:(2.5*Math.atan(Math.exp(.8*e/this.radius))-5*Math.PI/8)*this.degRad,lng:(i*this.radDeg+t/this.radius)*this.degRad}},merc:function(t,e,i){return{x:this.radius*(e-i)*this.radDeg,y:-this.radius*Math.log(Math.tan(Math.PI/4+t*Math.PI/360))}},merc_inv:function(t,e,i){return{lat:(2*Math.atan(Math.exp(e/this.radius))-Math.PI/2)*this.degRad,lng:(i*this.radDeg+t/this.radius)*this.degRad}},aea:function(t,e,i){var n=i*this.radDeg,a=29.5*this.radDeg,r=45.5*this.radDeg,o=t*this.radDeg,s=e*this.radDeg,l=(Math.sin(a)+Math.sin(r))/2,c=Math.cos(a)*Math.cos(a)+2*l*Math.sin(a),d=l*(s-n),u=Math.sqrt(c-2*l*Math.sin(o))/l,h=Math.sqrt(c-2*l*Math.sin(0))/l;return{x:u*Math.sin(d)*this.radius,y:-(h-u*Math.cos(d))*this.radius}},aea_inv:function(t,e,i){var n=t/this.radius,a=e/this.radius,r=i*this.radDeg,o=29.5*this.radDeg,s=45.5*this.radDeg,l=(Math.sin(o)+Math.sin(s))/2,c=Math.cos(o)*Math.cos(o)+2*l*Math.sin(o),d=Math.sqrt(c-2*l*Math.sin(0))/l,u=Math.sqrt(n*n+(d-a)*(d-a)),h=Math.atan(n/(d-a));return{lat:Math.asin((c-u*u*l*l)/(2*l))*this.degRad,lng:(r+h/l)*this.degRad}},lcc:function(t,e,i){var n=i*this.radDeg,a=e*this.radDeg,r=33*this.radDeg,o=45*this.radDeg,s=t*this.radDeg,l=Math.log(Math.cos(r)*(1/Math.cos(o)))/Math.log(Math.tan(Math.PI/4+o/2)*(1/Math.tan(Math.PI/4+r/2))),c=Math.cos(r)*Math.pow(Math.tan(Math.PI/4+r/2),l)/l,d=c*Math.pow(1/Math.tan(Math.PI/4+s/2),l),u=c*Math.pow(1/Math.tan(Math.PI/4+0),l);return{x:d*Math.sin(l*(a-n))*this.radius,y:-(u-d*Math.cos(l*(a-n)))*this.radius}},lcc_inv:function(t,e,i){var n=t/this.radius,a=e/this.radius,r=i*this.radDeg,o=33*this.radDeg,s=45*this.radDeg,l=Math.log(Math.cos(o)*(1/Math.cos(s)))/Math.log(Math.tan(Math.PI/4+s/2)*(1/Math.tan(Math.PI/4+o/2))),c=Math.cos(o)*Math.pow(Math.tan(Math.PI/4+o/2),l)/l,d=c*Math.pow(1/Math.tan(Math.PI/4+0),l),u=this.sgn(l)*Math.sqrt(n*n+(d-a)*(d-a)),h=Math.atan(n/(d-a));return{lat:(2*Math.atan(Math.pow(c/u,1/l))-Math.PI/2)*this.degRad,lng:(r+h/l)*this.degRad}}},c.MapObject=function(){},c.MapObject.prototype.getLabelText=function(t){return this.config.label?"function"==typeof this.config.label.render?this.config.label.render(t):t:null},c.MapObject.prototype.getLabelOffsets=function(t){var e;return this.config.label&&("function"==typeof this.config.label.offsets?e=this.config.label.offsets(t):"object"==typeof this.config.label.offsets&&(e=this.config.label.offsets[t])),e||[0,0]},c.MapObject.prototype.setHovered=function(t){this.isHovered!==t&&(this.isHovered=t,this.shape.isHovered=t,this.shape.updateStyle(),this.label&&(this.label.isHovered=t,this.label.updateStyle()))},c.MapObject.prototype.setSelected=function(t){this.isSelected!==t&&(this.isSelected=t,this.shape.isSelected=t,this.shape.updateStyle(),this.label&&(this.label.isSelected=t,this.label.updateStyle()),c.$(this.shape).trigger("selected",[t]))},c.MapObject.prototype.setStyle=function(){this.shape.setStyle.apply(this.shape,arguments)},c.MapObject.prototype.remove=function(){this.shape.remove(),this.label&&this.label.remove()},c.Region=function(t){var e,i,n,a;this.config=t,this.map=this.config.map,a=t.canvas.addGroup(t.canvas.rootElement),this.shape=t.canvas.addPath({d:t.path},t.style,a),t.canvas.addPath({d:t.path,"data-code":t.code},{initial:{fill:"transparent",stroke:"transparent","stroke-width":t.margin}},a).addClass("jvectormap-region jvectormap-element"),e=this.shape.getBBox(),i=this.getLabelText(t.code),this.config.label&&i&&(n=this.getLabelOffsets(t.code),this.labelX=e.x+e.width/2+n[0],this.labelY=e.y+e.height/2+n[1],this.label=t.canvas.addText({text:i,"text-anchor":"middle","alignment-baseline":"central",x:this.labelX,y:this.labelY,"data-code":t.code},t.labelStyle,t.labelsGroup),this.label.addClass("jvectormap-region jvectormap-element"))},c.inherits(c.Region,c.MapObject),c.Region.prototype.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this.map.scale+this.map.transX*this.map.scale,y:this.labelY*this.map.scale+this.map.transY*this.map.scale})},c.Marker=function(t){var e;this.config=t,this.map=this.config.map,this.isImage=!!this.config.style.initial.image,this.createShape(),e=this.getLabelText(t.index),this.config.label&&e&&(this.offsets=this.getLabelOffsets(t.index),this.labelX=t.cx/this.map.scale-this.map.transX,this.labelY=t.cy/this.map.scale-this.map.transY,this.label=t.canvas.addText({text:e,"data-index":t.index,dy:"0.6ex",x:this.labelX,y:this.labelY},t.labelStyle,t.labelsGroup),this.label.addClass("jvectormap-marker jvectormap-element"))},c.inherits(c.Marker,c.MapObject),c.Marker.prototype.createShape=function(){var t=this;this.shape&&this.shape.remove(),this.shape=this.config.canvas[this.isImage?"addImage":"addCircle"]({"data-index":this.config.index,cx:this.config.cx,cy:this.config.cy},this.config.style,this.config.group),this.shape.addClass("jvectormap-marker jvectormap-element"),this.isImage&&c.$(this.shape.node).on("imageloaded",function(){t.updateLabelPosition()})},c.Marker.prototype.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this.map.scale+this.offsets[0]+this.map.transX*this.map.scale+5+(this.isImage?(this.shape.width||0)/2:this.shape.properties.r),y:this.labelY*this.map.scale+this.map.transY*this.map.scale+this.offsets[1]})},c.Marker.prototype.setStyle=function(t){var e;c.Marker.parentClass.prototype.setStyle.apply(this,arguments),"r"===t&&this.updateLabelPosition(),(e=!!this.shape.get("image"))!=this.isImage&&(this.isImage=e,this.config.style=c.$.extend(!0,{},this.shape.style),this.createShape())},c.Map=function(t){var e,i=this;if(this.params=c.$.extend(!0,{},c.Map.defaultParams,t),!c.Map.maps[this.params.map])throw new Error("Attempt to use map which was not loaded: "+this.params.map);for(e in this.mapData=c.Map.maps[this.params.map],this.markers={},this.regions={},this.regionsColors={},this.regionsData={},this.container=c.$("<div>").addClass("jvectormap-container"),this.params.container&&this.params.container.append(this.container),this.container.data("mapObject",this),this.defaultWidth=this.mapData.width,this.defaultHeight=this.mapData.height,this.setBackgroundColor(this.params.backgroundColor),this.onResize=function(){i.updateSize()},c.$(window).resize(this.onResize),c.Map.apiEvents)this.params[e]&&this.container.bind(c.Map.apiEvents[e]+".jvectormap",this.params[e]);this.canvas=new c.VectorCanvas(this.container[0],this.width,this.height),this.params.bindTouchEvents&&("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?this.bindContainerTouchEvents():window.MSGesture&&this.bindContainerPointerEvents()),this.bindContainerEvents(),this.bindElementEvents(),this.createTip(),this.params.zoomButtons&&this.bindZoomButtons(),this.createRegions(),this.createMarkers(this.params.markers||{}),this.updateSize(),this.params.focusOn&&("string"==typeof this.params.focusOn?this.params.focusOn={region:this.params.focusOn}:c.$.isArray(this.params.focusOn)&&(this.params.focusOn={regions:this.params.focusOn}),this.setFocus(this.params.focusOn)),this.params.selectedRegions&&this.setSelectedRegions(this.params.selectedRegions),this.params.selectedMarkers&&this.setSelectedMarkers(this.params.selectedMarkers),this.legendCntHorizontal=c.$("<div/>").addClass("jvectormap-legend-cnt jvectormap-legend-cnt-h"),this.legendCntVertical=c.$("<div/>").addClass("jvectormap-legend-cnt jvectormap-legend-cnt-v"),this.container.append(this.legendCntHorizontal),this.container.append(this.legendCntVertical),this.params.series&&this.createSeries()},c.Map.prototype={transX:0,transY:0,scale:1,baseTransX:0,baseTransY:0,baseScale:1,width:0,height:0,setBackgroundColor:function(t){this.container.css("background-color",t)},resize:function(){var t=this.baseScale;this.width/this.height>this.defaultWidth/this.defaultHeight?(this.baseScale=this.height/this.defaultHeight,this.baseTransX=Math.abs(this.width-this.defaultWidth*this.baseScale)/(2*this.baseScale)):(this.baseScale=this.width/this.defaultWidth,this.baseTransY=Math.abs(this.height-this.defaultHeight*this.baseScale)/(2*this.baseScale)),this.scale*=this.baseScale/t,this.transX*=this.baseScale/t,this.transY*=this.baseScale/t},updateSize:function(){this.width=this.container.width(),this.height=this.container.height(),this.resize(),this.canvas.setSize(this.width,this.height),this.applyTransform()},reset:function(){var t,e;for(t in this.series)for(e=0;e<this.series[t].length;e++)this.series[t][e].clear();this.scale=this.baseScale,this.transX=this.baseTransX,this.transY=this.baseTransY,this.applyTransform()},applyTransform:function(){var t,e,i,n;this.defaultWidth*this.scale<=this.width?(t=(this.width-this.defaultWidth*this.scale)/(2*this.scale),i=(this.width-this.defaultWidth*this.scale)/(2*this.scale)):(t=0,i=(this.width-this.defaultWidth*this.scale)/this.scale),this.defaultHeight*this.scale<=this.height?(e=(this.height-this.defaultHeight*this.scale)/(2*this.scale),n=(this.height-this.defaultHeight*this.scale)/(2*this.scale)):(e=0,n=(this.height-this.defaultHeight*this.scale)/this.scale),this.transY>e?this.transY=e:this.transY<n&&(this.transY=n),this.transX>t?this.transX=t:this.transX<i&&(this.transX=i),this.canvas.applyTransformParams(this.scale,this.transX,this.transY),this.markers&&this.repositionMarkers(),this.repositionLabels(),this.container.trigger("viewportChange",[this.scale/this.baseScale,this.transX,this.transY])},bindContainerEvents:function(){var t,e,i=!1,n=this;this.params.panOnDrag&&(this.container.mousemove(function(a){return i&&(n.transX-=(t-a.pageX)/n.scale,n.transY-=(e-a.pageY)/n.scale,n.applyTransform(),t=a.pageX,e=a.pageY),!1}).mousedown(function(n){return i=!0,t=n.pageX,e=n.pageY,!1}),this.onContainerMouseUp=function(){i=!1},c.$("body").mouseup(this.onContainerMouseUp)),this.params.zoomOnScroll&&this.container.mousewheel(function(t){var e=c.$(n.container).offset(),i=t.pageX-e.left,a=t.pageY-e.top,r=Math.pow(1+n.params.zoomOnScrollSpeed/1e3,t.deltaFactor*t.deltaY);n.tip.hide(),n.setScale(n.scale*r,i,a),t.preventDefault()})},bindContainerTouchEvents:function(){var t,e,i,n,a,r,o,s=this,l=function(l){var d,u,h,p,f=l.originalEvent.touches;"touchstart"==l.type&&(o=0),1==f.length?(1==o&&(h=s.transX,p=s.transY,s.transX-=(i-f[0].pageX)/s.scale,s.transY-=(n-f[0].pageY)/s.scale,s.applyTransform(),s.tip.hide(),(h!=s.transX||p!=s.transY)&&l.preventDefault()),i=f[0].pageX,n=f[0].pageY):2==f.length&&(2==o?(u=Math.sqrt(Math.pow(f[0].pageX-f[1].pageX,2)+Math.pow(f[0].pageY-f[1].pageY,2))/e,s.setScale(t*u,a,r),s.tip.hide(),l.preventDefault()):(d=c.$(s.container).offset(),a=f[0].pageX>f[1].pageX?f[1].pageX+(f[0].pageX-f[1].pageX)/2:f[0].pageX+(f[1].pageX-f[0].pageX)/2,r=f[0].pageY>f[1].pageY?f[1].pageY+(f[0].pageY-f[1].pageY)/2:f[0].pageY+(f[1].pageY-f[0].pageY)/2,a-=d.left,r-=d.top,t=s.scale,e=Math.sqrt(Math.pow(f[0].pageX-f[1].pageX,2)+Math.pow(f[0].pageY-f[1].pageY,2)))),o=f.length};c.$(this.container).bind("touchstart",l),c.$(this.container).bind("touchmove",l)},bindContainerPointerEvents:function(){var t=this,e=new MSGesture,i=this.container[0];e.target=i,i.addEventListener("MSGestureChange",function(e){var i,n;(0!=e.translationX||0!=e.translationY)&&(i=t.transX,n=t.transY,t.transX+=e.translationX/t.scale,t.transY+=e.translationY/t.scale,t.applyTransform(),t.tip.hide(),(i!=t.transX||n!=t.transY)&&e.preventDefault()),1!=e.scale&&(t.setScale(t.scale*e.scale,e.offsetX,e.offsetY),t.tip.hide(),e.preventDefault())},!1),i.addEventListener("pointerdown",function(t){e.addPointer(t.pointerId)},!1)},bindElementEvents:function(){var t,e,i,n=this;this.container.mousemove(function(n){Math.abs(t-n.pageX)+Math.abs(e-n.pageY)>2&&(i=!0)}),this.container.delegate("[class~='jvectormap-element']","mouseover mouseout",function(t){var e=-1===(c.$(this).attr("class").baseVal||c.$(this).attr("class")).indexOf("jvectormap-region")?"marker":"region",i=c.$(this).attr("region"==e?"data-code":"data-index"),a="region"==e?n.regions[i].element:n.markers[i].element,r="region"==e?n.mapData.paths[i].name:n.markers[i].config.name||"",o=c.$.Event(e+"TipShow.jvectormap"),s=c.$.Event(e+"Over.jvectormap");"mouseover"==t.type?(n.container.trigger(s,[i]),s.isDefaultPrevented()||a.setHovered(!0),n.tip.text(r),n.container.trigger(o,[n.tip,i]),o.isDefaultPrevented()||(n.tip.show(),n.tipWidth=n.tip.width(),n.tipHeight=n.tip.height())):(a.setHovered(!1),n.tip.hide(),n.container.trigger(e+"Out.jvectormap",[i]))}),this.container.delegate("[class~='jvectormap-element']","mousedown",function(n){t=n.pageX,e=n.pageY,i=!1}),this.container.delegate("[class~='jvectormap-element']","mouseup",function(){var t=-1===(c.$(this).attr("class").baseVal?c.$(this).attr("class").baseVal:c.$(this).attr("class")).indexOf("jvectormap-region")?"marker":"region",e=c.$(this).attr("region"==t?"data-code":"data-index"),a=c.$.Event(t+"Click.jvectormap"),r="region"==t?n.regions[e].element:n.markers[e].element;i||(n.container.trigger(a,[e]),("region"===t&&n.params.regionsSelectable||"marker"===t&&n.params.markersSelectable)&&(a.isDefaultPrevented()||(n.params[t+"sSelectableOne"]&&n.clearSelected(t+"s"),r.setSelected(!r.isSelected))))})},bindZoomButtons:function(){var t=this;c.$("<div/>").addClass("jvectormap-zoomin").text("+").appendTo(this.container),c.$("<div/>").addClass("jvectormap-zoomout").html("&#x2212;").appendTo(this.container),this.container.find(".jvectormap-zoomin").click(function(){t.setScale(t.scale*t.params.zoomStep,t.width/2,t.height/2,!1,t.params.zoomAnimate)}),this.container.find(".jvectormap-zoomout").click(function(){t.setScale(t.scale/t.params.zoomStep,t.width/2,t.height/2,!1,t.params.zoomAnimate)})},createTip:function(){var t=this;this.tip=c.$("<div/>").addClass("jvectormap-tip").appendTo(c.$("body")),this.container.mousemove(function(e){var i=e.pageX-15-t.tipWidth,n=e.pageY-15-t.tipHeight;5>i&&(i=e.pageX+15),5>n&&(n=e.pageY+15),t.tip.css({left:i,top:n})})},setScale:function(t,e,i,n,a){var r,o,s,l,d,u,h,p,f,g=c.$.Event("zoom.jvectormap"),m=this,v=0,y=Math.abs(Math.round(60*(t-this.scale)/Math.max(t,this.scale))),b=new c.$.Deferred;return t>this.params.zoomMax*this.baseScale?t=this.params.zoomMax*this.baseScale:t<this.params.zoomMin*this.baseScale&&(t=this.params.zoomMin*this.baseScale),void 0!==e&&void 0!==i&&(zoomStep=t/this.scale,n?(p=e+this.defaultWidth*(this.width/(this.defaultWidth*t))/2,f=i+this.defaultHeight*(this.height/(this.defaultHeight*t))/2):(p=this.transX-(zoomStep-1)/t*e,f=this.transY-(zoomStep-1)/t*i)),a&&y>0?(o=this.scale,s=(t-o)/y,l=this.transX*this.scale,u=this.transY*this.scale,d=(p*t-l)/y,h=(f*t-u)/y,r=setInterval(function(){v+=1,m.scale=o+s*v,m.transX=(l+d*v)/m.scale,m.transY=(u+h*v)/m.scale,m.applyTransform(),v==y&&(clearInterval(r),m.container.trigger(g,[t/m.baseScale]),b.resolve())},10)):(this.transX=p,this.transY=f,this.scale=t,this.applyTransform(),this.container.trigger(g,[t/this.baseScale]),b.resolve()),b},setFocus:function(t){var e,i,n,a,r;if((t=t||{}).region?n=[t.region]:t.regions&&(n=t.regions),n){for(a=0;a<n.length;a++)this.regions[n[a]]&&((i=this.regions[n[a]].element.shape.getBBox())&&(void 0===e?e=i:e={x:Math.min(e.x,i.x),y:Math.min(e.y,i.y),width:Math.max(e.x+e.width,i.x+i.width)-Math.min(e.x,i.x),height:Math.max(e.y+e.height,i.y+i.height)-Math.min(e.y,i.y)}));return this.setScale(Math.min(this.width/e.width,this.height/e.height),-(e.x+e.width/2),-(e.y+e.height/2),!0,t.animate)}return t.lat&&t.lng?(r=this.latLngToPoint(t.lat,t.lng),t.x=this.transX-r.x/this.scale,t.y=this.transY-r.y/this.scale):t.x&&t.y&&(t.x*=-this.defaultWidth,t.y*=-this.defaultHeight),this.setScale(t.scale*this.baseScale,t.x,t.y,!0,t.animate)},getSelected:function(t){var e,i=[];for(e in this[t])this[t][e].element.isSelected&&i.push(e);return i},getSelectedRegions:function(){return this.getSelected("regions")},getSelectedMarkers:function(){return this.getSelected("markers")},setSelected:function(t,e){var i;if("object"!=typeof e&&(e=[e]),c.$.isArray(e))for(i=0;i<e.length;i++)this[t][e[i]].element.setSelected(!0);else for(i in e)this[t][i].element.setSelected(!!e[i])},setSelectedRegions:function(t){this.setSelected("regions",t)},setSelectedMarkers:function(t){this.setSelected("markers",t)},clearSelected:function(t){var e,i={},n=this.getSelected(t);for(e=0;e<n.length;e++)i[n[e]]=!1;this.setSelected(t,i)},clearSelectedRegions:function(){this.clearSelected("regions")},clearSelectedMarkers:function(){this.clearSelected("markers")},getMapObject:function(){return this},getRegionName:function(t){return this.mapData.paths[t].name},createRegions:function(){var t,e,i=this;for(t in this.regionLabelsGroup=this.regionLabelsGroup||this.canvas.addGroup(),this.mapData.paths)e=new c.Region({map:this,path:this.mapData.paths[t].path,code:t,style:c.$.extend(!0,{},this.params.regionStyle),margin:this.params.regionMargin,labelStyle:c.$.extend(!0,{},this.params.regionLabelStyle),canvas:this.canvas,labelsGroup:this.regionLabelsGroup,label:"vml"!=this.canvas.mode?this.params.labels&&this.params.labels.regions:null}),c.$(e.shape).bind("selected",function(t,e){i.container.trigger("regionSelected.jvectormap",[c.$(this.node).attr("data-code"),e,i.getSelectedRegions()])}),this.regions[t]={element:e,config:this.mapData.paths[t]}},createMarkers:function(t){var e,i,n,a,r,o=this;if(this.markersGroup=this.markersGroup||this.canvas.addGroup(),this.markerLabelsGroup=this.markerLabelsGroup||this.canvas.addGroup(),c.$.isArray(t))for(r=t.slice(),t={},e=0;e<r.length;e++)t[e]=r[e];for(e in t)a=t[e]instanceof Array?{latLng:t[e]}:t[e],!1!==(n=this.getMarkerPosition(a))&&(i=new c.Marker({map:this,style:c.$.extend(!0,{},this.params.markerStyle,{initial:a.style||{}}),labelStyle:c.$.extend(!0,{},this.params.markerLabelStyle),index:e,cx:n.x,cy:n.y,group:this.markersGroup,canvas:this.canvas,labelsGroup:this.markerLabelsGroup,label:"vml"!=this.canvas.mode?this.params.labels&&this.params.labels.markers:null}),c.$(i.shape).bind("selected",function(t,e){o.container.trigger("markerSelected.jvectormap",[c.$(this.node).attr("data-index"),e,o.getSelectedMarkers()])}),this.markers[e]&&this.removeMarkers([e]),this.markers[e]={element:i,config:a})},repositionMarkers:function(){var t,e;for(t in this.markers)!1!==(e=this.getMarkerPosition(this.markers[t].config))&&this.markers[t].element.setStyle({cx:e.x,cy:e.y})},repositionLabels:function(){var t;for(t in this.regions)this.regions[t].element.updateLabelPosition();for(t in this.markers)this.markers[t].element.updateLabelPosition()},getMarkerPosition:function(t){return c.Map.maps[this.params.map].projection?this.latLngToPoint.apply(this,t.latLng||[0,0]):{x:t.coords[0]*this.scale+this.transX*this.scale,y:t.coords[1]*this.scale+this.transY*this.scale}},addMarker:function(t,e,i){var n,a,r={},o=[];i=i||[];for(r[t]=e,a=0;a<i.length;a++)n={},void 0!==i[a]&&(n[t]=i[a]),o.push(n);this.addMarkers(r,o)},addMarkers:function(t,e){var i;for(e=e||[],this.createMarkers(t),i=0;i<e.length;i++)this.series.markers[i].setValues(e[i]||{})},removeMarkers:function(t){var e;for(e=0;e<t.length;e++)this.markers[t[e]].element.remove(),delete this.markers[t[e]]},removeAllMarkers:function(){var t,e=[];for(t in this.markers)e.push(t);this.removeMarkers(e)},latLngToPoint:function(t,e){var i,n,a,r=c.Map.maps[this.params.map].projection,o=r.centralMeridian;return-180+o>e&&(e+=360),i=c.Proj[r.type](t,e,o),!!(n=this.getInsetForPoint(i.x,i.y))&&(a=n.bbox,i.x=(i.x-a[0].x)/(a[1].x-a[0].x)*n.width*this.scale,i.y=(i.y-a[0].y)/(a[1].y-a[0].y)*n.height*this.scale,{x:i.x+this.transX*this.scale+n.left*this.scale,y:i.y+this.transY*this.scale+n.top*this.scale})},pointToLatLng:function(t,e){var i,n,a,r,o,s=c.Map.maps[this.params.map].projection,l=s.centralMeridian,d=c.Map.maps[this.params.map].insets;for(i=0;i<d.length;i++)if(a=(n=d[i]).bbox,r=t-(this.transX*this.scale+n.left*this.scale),o=e-(this.transY*this.scale+n.top*this.scale),r=r/(n.width*this.scale)*(a[1].x-a[0].x)+a[0].x,o=o/(n.height*this.scale)*(a[1].y-a[0].y)+a[0].y,r>a[0].x&&r<a[1].x&&o>a[0].y&&o<a[1].y)return c.Proj[s.type+"_inv"](r,-o,l);return!1},getInsetForPoint:function(t,e){var i,n,a=c.Map.maps[this.params.map].insets;for(i=0;i<a.length;i++)if(t>(n=a[i].bbox)[0].x&&t<n[1].x&&e>n[0].y&&e<n[1].y)return a[i]},createSeries:function(){var t,e;for(e in this.series={markers:[],regions:[]},this.params.series)for(t=0;t<this.params.series[e].length;t++)this.series[e][t]=new c.DataSeries(this.params.series[e][t],this[e],this)},remove:function(){this.tip.remove(),this.container.remove(),c.$(window).unbind("resize",this.onResize),c.$("body").unbind("mouseup",this.onContainerMouseUp)}},c.Map.maps={},c.Map.defaultParams={map:"world_mill_en",backgroundColor:"#505050",zoomButtons:!0,zoomOnScroll:!0,zoomOnScrollSpeed:3,panOnDrag:!0,zoomMax:8,zoomMin:1,zoomStep:1.6,zoomAnimate:!0,regionsSelectable:!1,markersSelectable:!1,bindTouchEvents:!0,regionStyle:{initial:{fill:"white","fill-opacity":1,stroke:"none","stroke-width":0,"stroke-opacity":1},hover:{"fill-opacity":.8,cursor:"pointer"},selected:{fill:"yellow"},selectedHover:{}},regionMargin:0,regionLabelStyle:{initial:{"font-family":"Verdana","font-size":"12","font-weight":"bold",cursor:"default",fill:"black"},hover:{cursor:"pointer"}},markerStyle:{initial:{fill:"grey",stroke:"#505050","fill-opacity":1,"stroke-width":1,"stroke-opacity":1,r:5},hover:{stroke:"black","stroke-width":2,cursor:"pointer"},selected:{fill:"blue"},selectedHover:{}},markerLabelStyle:{initial:{"font-family":"Verdana","font-size":"12","font-weight":"bold",cursor:"default",fill:"black"},hover:{cursor:"pointer"}}},c.Map.apiEvents={onRegionTipShow:"regionTipShow",onRegionOver:"regionOver",onRegionOut:"regionOut",onRegionClick:"regionClick",onRegionSelected:"regionSelected",onMarkerTipShow:"markerTipShow",onMarkerOver:"markerOver",onMarkerOut:"markerOut",onMarkerClick:"markerClick",onMarkerSelected:"markerSelected",onViewportChange:"viewportChange"},c.MultiMap=function(t){var e=this;this.maps={},this.params=c.$.extend(!0,{},c.MultiMap.defaultParams,t),this.params.maxLevel=this.params.maxLevel||Number.MAX_VALUE,this.params.main=this.params.main||{},this.params.main.multiMapLevel=0,this.history=[this.addMap(this.params.main.map,this.params.main)],this.defaultProjection=this.history[0].mapData.projection.type,this.mapsLoaded={},this.params.container.css({position:"relative"}),this.backButton=c.$("<div/>").addClass("jvectormap-goback").text("Back").appendTo(this.params.container),this.backButton.hide(),this.backButton.click(function(){e.goBack()}),this.spinner=c.$("<div/>").addClass("jvectormap-spinner").appendTo(this.params.container),this.spinner.hide()},c.MultiMap.prototype={addMap:function(t,e){var i=c.$("<div/>").css({width:"100%",height:"100%"});return this.params.container.append(i),this.maps[t]=new c.Map(c.$.extend(e,{container:i})),this.params.maxLevel>e.multiMapLevel&&this.maps[t].container.on("regionClick.jvectormap",{scope:this},function(t,e){var i=t.data.scope,n=i.params.mapNameByCode(e,i);i.drillDownPromise&&"pending"===i.drillDownPromise.state()||i.drillDown(n,e)}),this.maps[t]},downloadMap:function(t){var e=this,i=c.$.Deferred();return this.mapsLoaded[t]?i.resolve():c.$.get(this.params.mapUrlByCode(t,this)).then(function(){e.mapsLoaded[t]=!0,i.resolve()},function(){i.reject()}),i},drillDown:function(t,e){var i=this.history[this.history.length-1],n=this,a=i.setFocus({region:e,animate:!0}),r=this.downloadMap(e);a.then(function(){"pending"===r.state()&&n.spinner.show()}),r.always(function(){n.spinner.hide()}),this.drillDownPromise=c.$.when(r,a),this.drillDownPromise.then(function(){i.params.container.hide(),n.maps[t]?n.maps[t].params.container.show():n.addMap(t,{map:t,multiMapLevel:i.params.multiMapLevel+1}),n.history.push(n.maps[t]),n.backButton.show()})},goBack:function(){var t=this.history.pop(),e=this.history[this.history.length-1],i=this;t.setFocus({scale:1,x:.5,y:.5,animate:!0}).then(function(){t.params.container.hide(),e.params.container.show(),e.updateSize(),1===i.history.length&&i.backButton.hide(),e.setFocus({scale:1,x:.5,y:.5,animate:!0})})}},c.MultiMap.defaultParams={mapNameByCode:function(t,e){return t.toLowerCase()+"_"+e.defaultProjection+"_en"},mapUrlByCode:function(t,e){return"jquery-jvectormap-data-"+t.toLowerCase()+"-"+e.defaultProjection+"-en.js"}}}).call(this,i(0),i(0))},function(t,e,i){(function(t){t.fn.vectorMap("addMap","world_mill",{insets:[{width:900,top:0,height:440.7063107441331,bbox:[{y:-12671671.123330014,x:-20004297.151525836},{y:6930392.025135122,x:20026572.394749384}],left:0}],paths:{BD:{path:"M651.84,230.21l-0.6,-2.0l-1.36,-1.71l-2.31,-0.11l-0.41,0.48l0.2,0.94l-0.53,0.99l-0.72,-0.36l-0.68,0.35l-1.2,-0.36l-0.37,-2.0l-0.81,-1.86l0.39,-1.46l-0.22,-0.47l-1.14,-0.53l0.29,-0.5l1.48,-0.94l0.03,-0.65l-1.55,-1.22l0.55,-1.14l1.61,0.94l1.04,0.15l0.18,1.54l0.34,0.35l5.64,0.63l-0.84,1.64l-1.22,0.34l-0.77,1.51l0.07,0.47l1.37,1.37l0.67,-0.19l0.42,-1.39l1.21,3.84l-0.03,1.21l-0.33,-0.15l-0.4,0.28Z",name:"Bangladesh"},BE:{path:"M429.29,144.05l1.91,0.24l2.1,-0.63l2.63,1.99l-0.21,1.66l-0.69,0.4l-0.18,1.2l-1.66,-1.13l-1.39,0.15l-2.73,-2.7l-1.17,-0.18l-0.16,-0.52l1.54,-0.5Z",name:"Belgium"},BF:{path:"M421.42,247.64l-0.11,0.95l0.34,1.16l1.4,1.71l0.07,1.1l0.32,0.37l2.55,0.51l-0.04,1.28l-0.38,0.53l-1.07,0.21l-0.72,1.18l-0.63,0.21l-3.22,-0.25l-0.94,0.39l-5.4,-0.05l-0.39,0.38l0.16,2.73l-1.23,-0.43l-1.17,0.1l-0.89,0.57l-2.27,-1.72l-0.13,-1.11l0.61,-0.96l0.02,-0.93l1.87,-1.98l0.44,-1.81l0.43,-0.39l1.28,0.26l1.05,-0.52l0.47,-0.73l1.84,-1.09l0.55,-0.83l2.2,-1.0l1.15,-0.3l0.72,0.45l1.13,-0.01Z",name:"Burkina Faso"},BG:{path:"M491.65,168.18l-0.86,0.88l-0.91,2.17l0.48,1.34l-1.6,-0.24l-2.55,0.95l-0.28,1.51l-1.8,0.22l-2.0,-1.0l-1.92,0.79l-1.42,-0.07l-0.15,-1.63l-1.05,-0.97l0.0,-0.8l1.2,-1.57l0.01,-0.56l-1.14,-1.23l-0.05,-0.94l0.88,0.97l0.88,-0.2l1.91,0.47l3.68,0.16l1.42,-0.81l2.72,-0.66l2.55,1.24Z",name:"Bulgaria"},BA:{path:"M463.49,163.65l2.1,0.5l1.72,-0.03l1.52,0.68l-0.36,0.78l0.08,0.45l1.04,1.02l-0.25,0.98l-1.81,1.15l-0.38,1.38l-1.67,-0.87l-0.89,-1.2l-2.11,-1.83l-1.63,-2.22l0.23,-0.57l0.48,0.38l0.55,-0.06l0.43,-0.51l0.94,-0.06Z",name:"Bosnia and Herz."},BN:{path:"M707.48,273.58l0.68,-0.65l1.41,-0.91l-0.15,1.63l-0.81,-0.05l-0.61,0.58l-0.53,-0.6Z",name:"Brunei"},BO:{path:"M263.83,340.69l-3.09,-0.23l-0.38,0.23l-0.7,1.52l-1.31,-1.53l-3.28,-0.64l-2.37,2.4l-1.31,0.26l-0.88,-3.26l-1.3,-2.86l0.74,-2.37l-0.13,-0.43l-1.2,-1.01l-0.37,-1.89l-1.08,-1.55l1.45,-2.56l-0.96,-2.33l0.47,-1.06l-0.34,-0.73l0.91,-1.32l0.16,-3.84l0.5,-1.18l-1.81,-3.41l2.46,0.07l0.8,-0.85l3.4,-1.91l2.66,-0.35l-0.19,1.38l0.3,1.07l-0.05,1.97l2.72,2.27l2.88,0.49l0.89,0.86l1.79,0.58l0.98,0.7l1.71,0.05l1.17,0.61l0.6,2.7l-0.7,0.54l0.96,2.99l0.37,0.28l4.3,0.1l-0.25,1.2l0.27,1.02l1.43,0.9l0.5,1.35l-0.41,1.86l-0.65,1.08l0.12,1.35l-2.69,-1.65l-2.4,-0.03l-4.36,0.76l-1.49,2.5l-0.11,1.52l-0.75,2.37Z",name:"Bolivia"},JP:{path:"M781.12,166.87l1.81,0.68l1.62,-0.97l0.39,2.42l-3.35,0.75l-2.23,2.88l-3.63,-1.9l-0.56,0.2l-1.26,3.05l-2.16,0.03l-0.29,-2.51l1.08,-2.03l2.45,-0.16l0.37,-0.33l1.25,-5.94l2.47,2.71l2.03,1.12ZM773.56,187.34l-0.91,2.22l0.37,1.52l-1.14,1.75l-3.02,1.26l-4.58,0.27l-3.34,3.01l-1.25,-0.8l-0.09,-1.9l-0.46,-0.38l-4.35,0.62l-3.0,1.32l-2.85,0.05l-0.37,0.27l0.13,0.44l2.32,1.89l-1.54,4.34l-1.26,0.9l-0.79,-0.7l0.56,-2.27l-0.21,-0.45l-1.47,-0.75l-0.74,-1.4l2.12,-0.84l1.26,-1.7l2.45,-1.42l1.83,-1.91l4.78,-0.81l2.6,0.57l0.44,-0.21l2.39,-4.66l1.29,1.06l0.5,0.01l5.1,-4.02l1.69,-3.73l-0.38,-3.4l0.9,-1.61l2.14,-0.44l1.23,3.72l-0.07,2.18l-2.23,2.84l-0.04,3.16ZM757.78,196.26l0.19,0.56l-1.01,1.21l-1.16,-0.68l-1.28,0.65l-0.69,1.45l-1.02,-0.5l0.01,-0.93l1.14,-1.38l1.57,0.14l0.85,-0.98l1.4,0.46Z",name:"Japan"},BI:{path:"M495.45,295.49l-1.08,-2.99l1.14,-0.11l0.64,-1.19l0.76,0.09l0.65,1.83l-2.1,2.36Z",name:"Burundi"},BJ:{path:"M429.57,255.75l-0.05,0.8l0.5,1.34l-0.42,0.86l0.17,0.79l-1.81,2.12l-0.57,1.76l-0.08,5.42l-1.41,0.2l-0.48,-1.36l0.11,-5.71l-0.52,-0.7l-0.2,-1.35l-1.48,-1.48l0.21,-0.9l0.89,-0.43l0.42,-0.92l1.27,-0.36l1.22,-1.34l0.61,-0.0l1.62,1.24Z",name:"Benin"},BT:{path:"M650.32,213.86l0.84,0.71l-0.12,1.1l-3.76,-0.11l-1.57,0.4l-1.93,-0.87l1.48,-1.96l1.13,-0.57l1.63,0.57l1.33,0.08l0.99,0.65Z",name:"Bhutan"},JM:{path:"M228.38,239.28l-0.8,0.4l-2.26,-1.06l0.84,-0.23l2.14,0.3l1.17,0.56l-1.08,0.03Z",name:"Jamaica"},BW:{path:"M483.92,330.07l2.27,4.01l2.83,2.86l0.96,0.31l0.78,2.43l2.13,0.61l1.02,0.76l-3.0,1.64l-2.32,2.02l-1.54,2.69l-1.52,0.45l-0.64,1.94l-1.34,0.52l-1.85,-0.12l-1.21,-0.74l-1.35,-0.3l-1.22,0.62l-0.75,1.37l-2.31,1.9l-1.4,0.21l-0.35,-0.59l0.16,-1.75l-1.48,-2.54l-0.62,-0.43l-0.0,-7.1l2.08,-0.08l0.39,-0.4l0.07,-8.9l5.19,-0.93l0.8,0.89l0.51,0.07l1.5,-0.95l2.21,-0.49Z",name:"Botswana"},BR:{path:"M259.98,275.05l3.24,0.7l0.65,-0.53l4.55,-1.32l1.08,-1.06l-0.02,-0.63l0.55,-0.05l0.28,0.28l-0.26,0.87l0.22,0.48l0.73,0.32l0.4,0.81l-0.62,0.86l-0.4,2.13l0.82,2.56l1.69,1.43l1.43,0.2l3.17,-1.68l3.18,0.3l0.65,-0.75l-0.27,-0.92l1.9,-0.09l2.39,0.99l1.06,-0.61l0.84,0.78l1.2,-0.18l1.18,-1.06l0.84,-1.94l1.36,-2.11l0.37,-0.05l1.89,5.45l1.33,0.59l0.05,1.28l-1.77,1.94l0.02,0.56l1.02,0.87l4.07,0.36l0.08,2.16l0.66,0.29l1.74,-1.5l6.97,2.32l1.02,1.22l-0.35,1.18l0.49,0.5l2.81,-0.74l4.77,1.3l3.75,-0.08l3.57,2.0l3.29,2.86l1.93,0.72l2.12,0.12l0.71,0.62l1.21,4.51l-0.95,3.98l-4.72,5.06l-1.64,2.92l-1.72,2.05l-0.8,0.3l-0.72,2.03l0.18,4.75l-0.94,5.53l-0.81,1.13l-0.43,3.36l-2.55,3.5l-0.4,2.51l-1.86,1.04l-0.67,1.53l-2.54,0.01l-3.94,1.01l-1.83,1.2l-2.87,0.82l-3.03,2.19l-2.2,2.83l-0.36,2.0l0.4,1.58l-0.44,2.6l-0.51,1.2l-1.77,1.54l-2.75,4.78l-3.83,3.42l-1.24,2.74l-1.18,1.15l-0.36,-0.83l0.95,-1.14l0.01,-0.5l-1.52,-1.97l-4.56,-3.32l-1.03,-0.0l-2.38,-2.02l-0.81,-0.0l5.34,-5.45l3.77,-2.58l0.22,-2.46l-1.35,-1.81l-0.91,0.07l0.58,-2.33l0.01,-1.54l-1.11,-0.83l-1.75,0.3l-0.44,-3.11l-0.52,-0.95l-1.88,-0.88l-1.24,0.47l-2.17,-0.41l0.15,-3.21l-0.62,-1.34l0.66,-0.73l-0.22,-1.34l0.66,-1.13l0.44,-2.04l-0.61,-1.83l-1.4,-0.86l-0.2,-0.75l0.34,-1.39l-0.38,-0.5l-4.52,-0.1l-0.72,-2.22l0.59,-0.42l-0.03,-1.1l-0.5,-0.87l-0.32,-1.7l-1.45,-0.76l-1.63,-0.02l-1.05,-0.72l-1.6,-0.48l-1.13,-0.99l-2.69,-0.4l-2.47,-2.06l0.13,-4.35l-0.45,-0.45l-3.46,0.5l-3.44,1.94l-0.6,0.74l-2.9,-0.17l-1.47,0.42l-0.72,-0.18l0.15,-3.52l-0.63,-0.34l-1.94,1.41l-1.87,-0.06l-0.83,-1.18l-1.37,-0.26l0.21,-1.01l-1.35,-1.49l-0.88,-1.91l0.56,-0.6l-0.0,-0.81l1.29,-0.62l0.22,-0.43l-0.22,-1.19l0.61,-0.91l0.15,-0.99l2.65,-1.58l1.99,-0.47l0.42,-0.36l2.06,0.11l0.42,-0.33l1.19,-8.0l-0.41,-1.56l-1.1,-1.0l0.01,-1.33l1.91,-0.42l0.08,-0.96l-0.33,-0.43l-1.14,-0.2l-0.02,-0.83l4.47,0.05l0.82,-0.67l0.82,1.81l0.8,0.07l1.15,1.1l2.26,-0.05l0.71,-0.83l2.78,-0.96l0.48,-1.13l1.6,-0.64l0.24,-0.47l-0.48,-0.82l-1.83,-0.19l-0.36,-3.22Z",name:"Brazil"},BS:{path:"M226.4,223.87l-0.48,-1.15l-0.84,-0.75l0.36,-1.11l0.95,1.95l0.01,1.06ZM225.56,216.43l-1.87,0.29l-0.04,-0.22l0.74,-0.14l1.17,0.06Z",name:"Bahamas"},BY:{path:"M493.84,128.32l0.29,0.7l0.49,0.23l1.19,-0.38l2.09,0.72l0.19,1.26l-0.45,1.24l1.57,2.26l0.89,0.59l0.17,0.81l1.58,0.56l0.4,0.5l-0.53,0.41l-1.87,-0.11l-0.73,0.38l-0.13,0.52l1.04,2.74l-1.91,0.26l-0.89,0.99l-0.11,1.18l-2.73,-0.04l-0.53,-0.62l-0.52,-0.08l-0.75,0.46l-0.91,-0.42l-1.92,-0.07l-2.75,-0.79l-2.6,-0.28l-2.0,0.07l-1.5,0.92l-0.67,0.07l-0.08,-1.22l-0.59,-1.19l1.36,-0.88l0.01,-1.35l-0.7,-1.41l-0.07,-1.0l2.16,-0.02l2.72,-1.3l0.75,-2.04l1.91,-1.04l0.2,-0.41l-0.19,-1.25l3.8,-1.78l2.3,0.77Z",name:"Belarus"},BZ:{path:"M198.03,244.38l0.1,-4.49l0.69,-0.06l0.74,-1.3l0.34,0.28l-0.4,1.3l0.17,0.58l-0.34,2.25l-1.3,1.42Z",name:"Belize"},RU:{path:"M491.55,115.25l2.55,-1.85l-0.01,-0.65l-2.2,-1.5l7.32,-6.76l1.03,-2.11l-0.13,-0.49l-3.46,-2.52l0.86,-2.7l-2.11,-2.81l1.56,-3.67l-2.77,-4.52l2.15,-2.99l-0.08,-0.55l-3.65,-2.73l0.3,-2.54l1.81,-0.37l4.26,-1.77l2.42,-1.45l4.06,2.61l6.79,1.04l9.34,4.85l1.78,1.88l0.14,2.46l-2.55,2.02l-3.9,1.06l-11.07,-3.14l-2.06,0.53l-0.13,0.7l3.94,2.94l0.31,5.86l0.26,0.36l5.14,2.24l0.58,-0.29l0.32,-1.94l-1.35,-1.78l1.13,-1.09l6.13,2.42l2.11,-0.98l0.18,-0.56l-1.51,-2.67l5.41,-3.76l2.07,0.22l2.26,1.41l0.57,-0.16l1.46,-2.87l-0.05,-0.44l-1.92,-2.32l1.12,-2.32l-1.32,-2.27l5.87,1.16l1.04,1.75l-2.59,0.43l-0.33,0.4l0.02,2.36l2.46,1.83l3.87,-0.91l0.86,-2.8l13.69,-5.65l0.99,0.11l-1.92,2.06l0.23,0.67l3.11,0.45l2.0,-1.48l4.56,-0.12l3.64,-1.73l2.65,2.44l0.56,-0.01l2.85,-2.88l-0.01,-0.57l-2.35,-2.29l0.9,-1.01l7.14,1.3l3.41,1.36l9.05,4.97l0.51,-0.11l1.67,-2.27l-0.05,-0.53l-2.43,-2.21l-0.06,-0.78l-0.34,-0.36l-2.52,-0.36l0.64,-1.93l-1.32,-3.46l-0.06,-1.21l4.48,-4.06l1.69,-4.29l1.6,-0.81l6.23,1.18l0.44,2.21l-2.29,3.64l0.06,0.5l1.47,1.39l0.76,3.0l-0.56,6.03l2.69,2.82l-0.96,2.57l-4.86,5.95l0.23,0.64l2.86,0.61l0.42,-0.17l0.93,-1.4l2.64,-1.03l0.87,-2.24l2.09,-1.96l0.07,-0.5l-1.36,-2.28l1.09,-2.69l-0.32,-0.55l-2.47,-0.33l-0.5,-2.06l1.94,-4.38l-0.06,-0.42l-2.96,-3.4l4.12,-2.88l0.16,-0.4l-0.51,-2.93l0.54,-0.05l1.13,2.25l-0.96,4.35l0.27,0.47l2.68,0.84l0.5,-0.51l-1.02,-2.99l3.79,-1.66l5.01,-0.24l4.53,2.61l0.48,-0.06l0.07,-0.48l-2.18,-3.82l-0.23,-4.67l3.98,-0.9l5.97,0.21l5.49,-0.64l0.27,-0.65l-1.83,-2.31l2.56,-2.9l2.87,-0.17l4.8,-2.47l6.54,-0.67l1.03,-1.42l6.25,-0.45l2.32,1.11l5.53,-2.7l4.5,0.08l0.39,-0.28l0.66,-2.15l2.26,-2.12l5.69,-2.11l3.21,1.29l-2.46,0.94l-0.25,0.42l0.34,0.35l5.41,0.77l0.61,2.33l0.58,0.25l2.2,-1.22l7.13,0.07l5.51,2.47l1.79,1.72l-0.53,2.24l-9.16,4.15l-1.97,1.52l0.16,0.71l6.77,1.91l2.16,-0.78l1.13,2.74l0.67,0.11l1.01,-1.15l3.81,-0.73l7.7,0.77l0.54,1.99l0.36,0.29l10.47,0.71l0.43,-0.38l0.13,-3.23l4.87,0.78l3.95,-0.02l3.83,2.4l1.03,2.71l-1.35,1.79l0.02,0.5l3.15,3.64l4.07,1.96l0.53,-0.18l2.23,-4.47l3.95,1.93l4.16,-1.21l4.73,1.39l2.05,-1.26l3.94,0.62l0.43,-0.55l-1.68,-4.02l2.89,-1.8l22.31,3.03l2.16,2.75l6.55,3.51l10.29,-0.81l4.82,0.73l1.85,1.66l-0.29,3.08l0.25,0.41l3.08,1.26l3.56,-0.88l4.35,-0.11l4.8,0.87l4.57,-0.47l4.23,3.79l0.43,0.07l3.1,-1.4l0.16,-0.6l-1.88,-2.62l0.85,-1.52l7.71,1.21l5.22,-0.26l7.09,2.09l9.59,5.22l6.35,4.11l-0.2,2.38l1.88,1.41l0.6,-0.42l-0.48,-2.53l6.15,0.57l4.4,3.51l-1.97,1.43l-4.0,0.41l-0.36,0.39l-0.06,3.79l-0.74,0.62l-2.07,-0.11l-1.91,-1.39l-3.14,-1.11l-0.78,-1.85l-2.72,-0.68l-2.63,0.49l-1.04,-1.1l0.46,-1.31l-0.5,-0.51l-3.0,0.98l-0.22,0.58l0.99,1.7l-1.21,1.48l-3.04,1.68l-3.12,-0.28l-0.4,0.23l0.09,0.46l2.2,2.09l1.46,3.2l1.15,1.1l0.24,1.33l-0.42,0.67l-4.63,-0.77l-6.96,2.9l-2.19,0.44l-7.6,5.06l-0.84,1.45l-3.61,-2.37l-6.24,2.82l-0.94,-1.15l-0.53,-0.08l-2.28,1.52l-3.2,-0.49l-0.44,0.27l-0.78,2.37l-3.05,3.78l0.09,1.47l0.29,0.36l2.54,0.72l-0.29,4.53l-1.97,0.11l-0.35,0.26l-1.07,2.94l0.8,1.45l-3.91,1.58l-1.05,3.95l-3.48,0.77l-0.3,0.3l-0.72,3.29l-3.09,2.65l-0.7,-1.74l-2.44,-12.44l1.16,-4.71l2.04,-2.06l0.22,-1.64l3.8,-0.86l4.46,-4.61l4.28,-3.81l4.48,-3.01l2.17,-5.63l-0.42,-0.54l-3.04,0.33l-1.77,3.31l-5.86,3.86l-1.86,-4.25l-0.45,-0.23l-6.46,1.3l-6.47,6.44l-0.01,0.55l1.58,1.74l-8.24,1.17l0.15,-2.2l-0.34,-0.42l-3.89,-0.56l-3.25,1.81l-7.62,-0.62l-8.45,1.19l-17.71,15.41l0.22,0.7l3.74,0.41l1.36,2.17l2.43,0.76l1.88,-1.68l2.4,0.2l3.4,3.54l0.08,2.6l-1.95,3.42l-0.21,3.9l-1.1,5.06l-3.71,4.54l-0.87,2.21l-8.29,8.89l-3.19,1.7l-1.32,0.03l-1.45,-1.36l-0.49,-0.04l-2.27,1.5l0.41,-3.65l-0.59,-2.47l1.75,-0.89l2.91,0.53l0.42,-0.2l1.68,-3.03l0.87,-3.46l0.97,-1.18l1.32,-2.88l-0.45,-0.56l-4.14,0.95l-2.19,1.25l-3.41,-0.0l-1.06,-2.93l-2.97,-2.3l-4.28,-1.06l-1.75,-5.07l-2.66,-5.01l-2.29,-1.29l-3.75,-1.01l-3.44,0.08l-3.18,0.62l-2.24,1.77l0.05,0.66l1.18,0.69l0.02,1.43l-1.33,1.05l-2.26,3.51l-0.04,1.43l-3.16,1.84l-2.82,-1.16l-3.01,0.23l-1.35,-1.07l-1.5,-0.35l-3.9,2.31l-3.22,0.52l-2.27,0.79l-3.05,-0.51l-2.21,0.03l-1.48,-1.6l-2.6,-1.63l-2.63,-0.43l-5.46,1.01l-3.23,-1.25l-0.72,-2.57l-5.2,-1.24l-2.75,-1.36l-0.5,0.12l-2.59,3.45l0.84,2.1l-2.06,1.93l-3.41,-0.77l-2.42,-0.12l-1.83,-1.54l-2.53,-0.05l-2.42,-0.98l-3.86,1.57l-4.72,2.78l-3.3,0.75l-1.55,-1.92l-3.0,0.41l-1.11,-1.33l-1.62,-0.59l-1.31,-1.94l-1.38,-0.6l-3.7,0.79l-3.31,-1.83l-0.51,0.11l-0.99,1.29l-5.29,-8.05l-2.96,-2.48l0.65,-0.77l0.01,-0.51l-0.5,-0.11l-6.2,3.21l-1.84,0.15l0.15,-1.39l-0.26,-0.42l-3.22,-1.17l-2.46,0.7l-0.69,-3.16l-0.32,-0.31l-4.5,-0.75l-2.47,1.47l-6.19,1.27l-1.29,0.86l-9.51,1.3l-1.15,1.17l-0.03,0.53l1.47,1.9l-1.89,0.69l-0.22,0.56l0.31,0.6l-2.11,1.44l0.03,0.68l3.75,2.12l-0.39,0.98l-3.23,-0.13l-0.86,0.86l-3.09,-1.59l-3.97,0.07l-2.66,1.35l-8.32,-3.56l-4.07,0.06l-5.39,3.68l-0.39,2.0l-2.03,-1.5l-0.59,0.13l-2.0,3.59l0.57,0.93l-1.28,2.16l0.06,0.48l2.13,2.17l1.95,0.04l1.37,1.82l-0.23,1.46l0.25,0.43l0.83,0.33l-0.8,1.31l-2.49,0.62l-2.49,3.2l0.0,0.49l2.17,2.78l-0.15,2.18l2.5,3.24l-1.58,1.59l-0.7,-0.13l-1.63,-1.72l-2.29,-0.84l-0.94,-1.31l-2.34,-0.63l-1.48,0.4l-0.43,-0.47l-3.51,-1.48l-5.76,-1.01l-0.45,0.19l-2.89,-2.34l-2.9,-1.2l-1.53,-1.29l1.29,-0.43l2.08,-2.61l-0.05,-0.55l-0.89,-0.79l3.05,-1.06l0.27,-0.42l-0.07,-0.69l-0.49,-0.35l-1.73,0.39l0.04,-0.68l1.04,-0.72l2.66,-0.48l0.4,-1.32l-0.5,-1.6l0.92,-1.54l0.03,-1.17l-0.29,-0.37l-3.69,-1.06l-1.41,0.02l-1.42,-1.41l-2.19,0.38l-2.77,-1.01l-0.03,-0.59l-0.89,-1.43l-2.0,-0.32l-0.11,-0.54l0.49,-0.53l0.01,-0.53l-1.6,-1.9l-3.58,0.02l-0.88,0.73l-0.46,-0.07l-1.0,-2.79l2.22,-0.02l0.97,-0.74l0.07,-0.57l-0.9,-1.04l-1.35,-0.48l-0.11,-0.7l-0.95,-0.58l-1.38,-1.99l0.46,-0.98l-0.51,-1.96l-2.45,-0.84l-1.21,0.3l-0.46,-0.76l-2.46,-0.83l-0.72,-1.87l-0.21,-1.69l-0.99,-0.85l0.85,-1.17l-0.7,-3.21l1.66,-1.97l-0.16,-0.79ZM749.2,170.72l-0.6,0.4l-0.13,0.16l-0.01,-0.51l0.74,-0.05ZM871.88,65.81l2.17,-0.13l3.19,1.16l-2.39,1.09l-5.63,0.48l-0.26,-0.84l2.92,-1.76ZM797.39,48.49l-2.0,1.36l-3.8,-0.42l-4.25,-1.8l0.35,-0.97l9.69,1.83ZM783.67,46.12l-1.63,3.09l-8.98,-0.13l-4.09,1.14l-4.54,-2.97l1.16,-3.01l3.05,-0.89l6.5,0.22l8.54,2.56ZM778.2,134.98l-0.56,-0.9l0.27,-0.12l0.29,1.01ZM778.34,135.48l0.94,3.53l-0.05,3.38l1.05,3.39l2.18,5.0l-2.89,-0.83l-0.49,0.26l-1.54,4.65l2.42,3.5l-0.04,1.13l-1.24,-1.24l-0.61,0.06l-1.09,1.61l-0.28,-1.61l0.27,-3.1l-0.28,-3.4l0.58,-2.47l0.11,-4.39l-1.46,-3.36l0.21,-4.32l2.15,-1.46l0.07,-0.34ZM771.95,56.61l1.76,-1.42l2.89,-0.42l3.28,1.71l0.14,0.6l-3.27,0.03l-4.81,-0.5ZM683.76,31.09l-13.01,1.93l4.03,-6.35l1.82,-0.56l1.73,0.34l5.99,2.98l-0.56,1.66ZM670.85,27.93l-5.08,0.64l-6.86,-1.57l-3.99,-2.05l-2.1,-4.16l-2.6,-0.87l5.72,-3.5l5.2,-1.28l4.69,2.85l5.59,5.4l-0.56,4.53ZM564.15,68.94l-0.64,0.17l-7.85,-0.57l-0.86,-2.04l-4.28,-1.17l-0.28,-1.94l2.27,-0.89l0.25,-0.39l-0.08,-2.38l4.81,-3.97l-0.15,-0.7l-1.47,-0.38l5.3,-3.81l0.15,-0.44l-0.58,-1.94l5.28,-2.51l8.21,-3.27l8.28,-0.96l4.35,-1.94l4.6,-0.64l1.36,1.61l-1.34,1.28l-16.43,4.94l-7.97,4.88l-7.74,9.63l0.66,4.14l4.16,3.27ZM548.81,18.48l-5.5,1.18l-0.58,1.02l-2.59,0.84l-2.13,-1.07l1.12,-1.42l-0.3,-0.65l-2.33,-0.07l1.68,-0.36l3.47,-0.06l0.42,1.29l0.66,0.16l1.38,-1.34l2.15,-0.88l2.94,1.01l-0.39,0.36ZM477.37,133.15l-4.08,0.05l-2.56,-0.32l0.33,-0.87l3.17,-1.03l3.24,0.96l-0.09,1.23Z",name:"Russia"},RW:{path:"M497.0,288.25l0.71,1.01l-0.11,1.09l-1.63,0.03l-1.04,1.39l-0.83,-0.11l0.51,-1.2l0.08,-1.34l0.42,-0.41l0.7,0.14l1.19,-0.61Z",name:"Rwanda"},RS:{path:"M469.4,163.99l0.42,-0.5l-0.01,-0.52l-1.15,-1.63l1.43,-0.62l1.33,0.12l1.17,1.06l0.46,1.13l1.34,0.64l0.35,1.35l1.46,0.9l0.76,-0.29l0.2,0.69l-0.48,0.78l0.22,1.12l1.05,1.22l-0.77,0.8l-0.37,1.52l-1.21,0.08l0.24,-0.64l-0.39,-0.54l-2.08,-1.64l-0.9,0.05l-0.48,0.94l-2.12,-1.37l0.53,-1.6l-1.11,-1.37l0.51,-1.1l-0.41,-0.57Z",name:"Serbia"},TL:{path:"M734.55,307.93l-0.1,-0.97l4.5,-0.86l-2.82,1.28l-1.59,0.55Z",name:"Timor-Leste"},TM:{path:"M553.03,173.76l-0.04,0.34l-0.09,-0.22l0.13,-0.12ZM555.87,172.66l0.45,-0.1l1.48,0.74l2.06,2.43l4.07,-0.18l0.38,-0.51l-0.32,-1.19l1.92,-0.94l1.91,-1.59l2.94,1.39l0.43,2.47l1.19,0.67l2.58,-0.13l0.62,0.4l1.32,3.12l4.54,3.44l2.67,1.45l3.06,1.14l-0.04,1.05l-1.33,-0.75l-0.59,0.19l-0.32,0.84l-2.2,0.81l-0.46,2.13l-1.21,0.74l-1.91,0.42l-0.73,1.33l-1.56,0.31l-2.22,-0.94l-0.2,-2.17l-0.38,-0.36l-1.73,-0.09l-2.76,-2.46l-2.14,-0.4l-2.84,-1.48l-1.78,-0.27l-1.24,0.53l-1.57,-0.08l-2.0,1.69l-1.7,0.43l-0.36,-1.58l0.36,-2.98l-0.22,-0.4l-1.65,-0.84l0.54,-1.69l-0.34,-0.52l-1.22,-0.13l0.36,-1.64l2.22,0.59l2.2,-0.95l0.12,-0.65l-1.77,-1.74l-0.66,-1.57Z",name:"Turkmenistan"},TJ:{path:"M597.75,178.82l-2.54,-0.44l-0.47,0.34l-0.24,1.7l0.43,0.45l2.64,-0.22l3.18,0.95l4.39,-0.41l0.56,2.37l0.52,0.29l0.67,-0.24l1.11,0.49l0.21,2.13l-3.76,-0.21l-1.8,1.32l-1.76,0.74l-0.61,-0.58l0.21,-2.23l-0.64,-0.49l-0.07,-0.93l-1.36,-0.66l-0.45,0.07l-1.08,1.01l-0.55,1.48l-1.31,-0.05l-0.95,1.16l-0.9,-0.35l-1.86,0.74l1.26,-2.83l-0.54,-2.17l-1.67,-0.82l0.33,-0.66l2.18,-0.04l1.19,-1.63l0.76,-1.79l2.43,-0.5l-0.26,1.0l0.73,1.05Z",name:"Tajikistan"},RO:{path:"M487.53,154.23l0.6,0.24l2.87,3.98l-0.17,2.69l0.45,1.42l1.32,0.81l1.35,-0.42l0.76,0.36l0.02,0.31l-0.83,0.45l-0.59,-0.22l-0.54,0.3l-0.62,3.3l-1.0,-0.22l-2.07,-1.13l-2.95,0.71l-1.25,0.76l-3.51,-0.15l-1.89,-0.47l-0.87,0.16l-0.82,-1.3l0.29,-0.26l-0.06,-0.64l-1.09,-0.34l-0.56,0.5l-1.05,-0.64l-0.39,-1.39l-1.36,-0.65l-0.35,-1.0l-0.83,-0.75l1.54,-0.54l2.66,-4.21l2.4,-1.24l2.96,0.34l1.48,0.73l0.79,-0.45l1.78,-0.3l0.75,-0.74l0.79,0.0Z",name:"Romania"},GW:{path:"M386.23,253.6l-0.29,0.84l0.15,0.6l-2.21,0.59l-0.86,0.96l-1.04,-0.83l-1.09,-0.23l-0.54,-1.06l-0.66,-0.49l2.41,-0.48l4.13,0.1Z",name:"Guinea-Bissau"},GT:{path:"M195.08,249.77l-2.48,-0.37l-1.03,-0.45l-1.14,-0.89l0.3,-0.99l-0.24,-0.68l0.96,-1.66l2.98,-0.01l0.4,-0.37l-0.19,-1.28l-1.67,-1.4l0.51,-0.4l0.0,-1.05l3.85,0.02l-0.21,4.53l0.4,0.43l1.46,0.38l-1.48,0.98l-0.35,0.7l0.12,0.57l-2.2,1.96Z",name:"Guatemala"},GR:{path:"M487.07,174.59l-0.59,1.43l-0.37,0.21l-2.84,-0.35l-3.03,0.77l-0.18,0.68l1.28,1.23l-0.61,0.23l-1.14,0.0l-1.2,-1.39l-0.63,0.03l-0.53,1.01l0.56,1.76l1.03,1.19l-0.56,0.38l-0.05,0.62l2.52,2.12l0.02,0.87l-1.78,-0.59l-0.48,0.56l0.5,1.0l-1.07,0.2l-0.3,0.53l0.75,2.01l-0.98,0.02l-1.84,-1.12l-1.37,-4.2l-2.21,-2.95l-0.11,-0.56l1.04,-1.28l0.2,-0.95l0.85,-0.66l0.03,-0.46l1.32,-0.21l1.01,-0.64l1.22,0.05l0.65,-0.56l2.26,-0.0l1.82,-0.75l1.85,1.0l2.28,-0.28l0.35,-0.39l0.01,-0.77l0.34,0.22ZM480.49,192.16l0.58,0.4l-0.68,-0.12l0.11,-0.28ZM482.52,192.82l2.51,0.06l0.24,0.32l-1.99,0.13l-0.77,-0.51Z",name:"Greece"},GQ:{path:"M448.79,279.62l0.02,2.22l-4.09,0.0l0.69,-2.27l3.38,0.05Z",name:"Eq. Guinea"},GY:{path:"M277.42,270.07l-0.32,1.83l-1.32,0.57l-0.23,0.46l-0.28,2.0l1.11,1.82l0.83,0.19l0.32,1.25l1.13,1.62l-1.21,-0.19l-1.08,0.71l-1.77,0.5l-0.44,0.46l-0.86,-0.09l-1.32,-1.01l-0.77,-2.27l0.36,-1.9l0.68,-1.23l-0.57,-1.17l-0.74,-0.43l0.12,-1.16l-0.9,-0.69l-1.1,0.09l-1.31,-1.48l0.53,-0.72l-0.04,-0.84l1.99,-0.86l0.05,-0.59l-0.71,-0.78l0.14,-0.57l1.66,-1.24l1.36,0.77l1.41,1.49l0.06,1.15l0.37,0.38l0.8,0.05l2.06,1.86Z",name:"Guyana"},GE:{path:"M521.71,168.93l5.29,0.89l4.07,2.01l1.41,-0.44l2.07,0.56l0.68,1.1l1.07,0.55l-0.12,0.59l0.98,1.29l-1.01,-0.13l-1.81,-0.83l-0.94,0.47l-3.23,0.43l-2.29,-1.39l-2.33,0.05l0.21,-0.97l-0.76,-2.26l-1.45,-1.12l-1.43,-0.39l-0.41,-0.42Z",name:"Georgia"},GB:{path:"M412.61,118.72l-2.19,3.22l-0.0,0.45l5.13,-0.3l-0.53,2.37l-2.2,3.12l0.29,0.63l2.37,0.21l2.33,4.3l1.76,0.69l2.2,5.12l2.94,0.77l-0.23,1.62l-1.15,0.88l-0.1,0.52l0.82,1.42l-1.86,1.43l-3.3,-0.02l-4.12,0.87l-1.04,-0.58l-0.47,0.06l-1.51,1.41l-2.12,-0.34l-1.86,1.18l-0.6,-0.29l3.19,-3.0l2.16,-0.69l0.28,-0.41l-0.34,-0.36l-3.73,-0.53l-0.4,-0.76l2.2,-0.87l0.17,-0.61l-1.26,-1.67l0.36,-1.7l3.38,0.28l0.43,-0.33l0.37,-1.99l-1.79,-2.49l-3.11,-0.72l-0.38,-0.59l0.79,-1.35l-0.04,-0.46l-0.82,-0.97l-0.61,0.01l-0.68,0.84l-0.1,-2.34l-1.23,-1.88l0.85,-3.47l1.77,-2.68l1.85,0.26l2.17,-0.22ZM406.26,132.86l-1.01,1.77l-1.57,-0.59l-1.16,0.01l0.37,-1.54l-0.39,-1.39l1.45,-0.1l2.3,1.84Z",name:"United Kingdom"},GA:{path:"M453.24,279.52l-0.08,0.98l0.7,1.29l2.36,0.24l-0.98,2.63l1.18,1.79l0.25,1.78l-0.29,1.52l-0.6,0.93l-1.84,-0.09l-1.23,-1.11l-0.66,0.23l-0.15,0.84l-1.42,0.26l-1.02,0.7l-0.11,0.52l0.77,1.35l-1.34,0.97l-3.94,-4.3l-1.44,-2.45l0.06,-0.6l0.54,-0.81l1.05,-3.46l4.17,-0.07l0.4,-0.4l-0.02,-2.66l2.39,0.21l1.25,-0.27Z",name:"Gabon"},GN:{path:"M391.8,254.11l0.47,0.8l1.11,-0.32l0.98,0.7l1.07,0.2l2.26,-1.22l0.64,0.44l1.13,1.56l-0.48,1.4l0.8,0.3l-0.08,0.48l0.46,0.68l-0.35,1.36l1.05,2.61l-1.0,0.69l0.03,1.41l-0.72,-0.06l-1.08,1.0l-0.24,-0.27l0.07,-1.11l-1.05,-1.54l-1.79,0.21l-0.35,-2.01l-1.6,-2.18l-2.0,-0.0l-1.31,0.54l-1.95,2.18l-1.86,-2.19l-1.2,-0.78l-0.3,-1.11l-0.8,-0.85l0.65,-0.72l0.81,-0.03l1.64,-0.8l0.23,-1.87l2.67,0.64l0.89,-0.3l1.21,0.15Z",name:"Guinea"},GM:{path:"M379.31,251.39l0.1,-0.35l2.43,-0.07l0.74,-0.61l0.51,-0.03l0.77,0.49l-1.03,-0.3l-1.87,0.9l-1.65,-0.04ZM384.03,250.91l0.91,0.05l0.75,-0.24l-0.59,0.31l-1.08,-0.13Z",name:"Gambia"},GL:{path:"M353.02,1.2l14.69,4.67l-3.68,1.89l-22.97,0.86l-0.36,0.27l0.12,0.43l1.55,1.18l8.79,-0.66l7.48,2.07l4.86,-1.77l1.66,1.73l-2.53,3.19l-0.01,0.48l0.46,0.15l6.35,-2.2l12.06,-2.31l7.24,1.13l1.09,1.99l-9.79,4.01l-1.44,1.32l-7.87,0.98l-0.35,0.41l0.38,0.38l5.07,0.24l-2.53,3.58l-2.07,3.81l0.08,6.05l2.57,3.11l-3.22,0.2l-4.12,1.66l-0.05,0.72l4.45,2.65l0.51,3.75l-2.3,0.4l-0.25,0.64l2.79,3.69l-4.82,0.31l-0.36,0.29l0.16,0.44l2.62,1.8l-0.59,1.22l-3.3,0.7l-3.45,0.01l-0.29,0.68l3.03,3.12l0.02,1.34l-4.4,-1.73l-1.72,1.35l0.15,0.66l3.31,1.15l3.13,2.71l0.81,3.16l-3.85,0.75l-4.89,-4.26l-0.47,-0.03l-0.17,0.44l0.79,2.86l-2.71,2.21l-0.13,0.44l0.37,0.27l8.73,0.34l-12.32,6.64l-7.24,1.48l-2.94,0.08l-2.69,1.75l-3.43,4.41l-5.24,2.84l-1.73,0.18l-7.12,2.1l-2.15,2.52l-0.13,2.99l-1.19,2.45l-4.01,3.09l-0.14,0.44l0.97,2.9l-2.28,6.48l-3.1,0.2l-3.83,-3.07l-4.86,-0.02l-2.25,-1.93l-1.7,-3.79l-4.3,-4.84l-1.21,-2.49l-0.44,-3.8l-3.32,-3.63l0.84,-2.86l-1.56,-1.7l2.28,-4.6l3.83,-1.74l1.03,-1.96l0.52,-3.47l-0.59,-0.41l-4.17,2.21l-2.07,0.58l-2.72,-1.28l-0.15,-2.71l0.85,-2.09l2.01,-0.06l5.06,1.2l0.46,-0.23l-0.14,-0.49l-6.54,-4.47l-2.67,0.55l-1.58,-0.86l2.56,-4.01l-0.03,-0.48l-1.5,-1.74l-4.98,-8.5l-3.13,-1.96l0.03,-1.88l-0.24,-0.37l-6.85,-3.02l-5.36,-0.38l-12.7,0.58l-2.78,-1.57l-3.66,-2.77l5.73,-1.45l5.0,-0.28l0.38,-0.38l-0.35,-0.41l-10.67,-1.38l-5.3,-2.06l0.25,-1.54l18.41,-5.26l1.22,-2.27l-0.25,-0.55l-6.14,-1.86l1.68,-1.77l8.55,-4.03l3.59,-0.63l0.3,-0.54l-0.88,-2.27l5.47,-1.47l7.65,-0.95l7.55,-0.05l3.04,1.85l6.48,-3.27l5.81,2.22l3.56,0.5l5.16,1.94l0.5,-0.21l-0.17,-0.52l-5.71,-3.13l0.28,-2.13l8.12,-3.6l8.7,0.28l3.35,-2.34l8.71,-0.6l19.93,0.8Z",name:"Greenland"},GH:{path:"M420.53,257.51l-0.01,0.72l0.96,1.2l0.24,3.73l0.59,0.95l-0.51,2.1l0.19,1.41l1.02,2.21l-6.97,2.84l-1.8,-0.57l0.04,-0.89l-1.02,-2.04l0.61,-2.65l1.07,-2.32l-0.96,-6.47l5.01,0.07l0.94,-0.39l0.61,0.11Z",name:"Ghana"},OM:{path:"M568.09,230.93l-0.91,1.67l-1.22,0.04l-0.6,0.76l-0.41,1.51l0.27,1.58l-1.16,0.05l-1.56,0.97l-0.76,1.74l-1.62,0.05l-0.98,0.65l-0.17,1.15l-0.89,0.52l-1.49,-0.18l-2.4,0.94l-2.47,-5.4l7.35,-2.71l1.67,-5.23l-1.12,-2.09l0.05,-0.83l0.67,-1.0l0.07,-1.05l0.9,-0.42l-0.05,-2.07l0.7,-0.01l1.0,1.62l1.51,1.08l3.3,0.84l1.73,2.29l0.81,0.37l-1.23,2.35l-0.99,0.79Z",name:"Oman"},TN:{path:"M448.1,188.24l-1.0,1.27l-0.02,1.32l0.84,0.88l-0.28,2.09l-1.53,1.32l-0.12,0.42l0.48,1.54l1.42,0.32l0.53,1.11l0.9,0.52l-0.11,1.67l-3.54,2.64l-0.1,2.38l-0.58,0.3l-0.96,-4.45l-1.54,-1.25l-0.16,-0.78l-1.92,-1.56l-0.18,-1.76l1.51,-1.62l0.59,-2.34l-0.38,-2.78l0.42,-1.21l2.45,-1.05l1.29,0.26l-0.06,1.11l0.58,0.38l1.47,-0.73Z",name:"Tunisia"},JO:{path:"M518.64,201.38l-5.14,1.56l-0.19,0.65l2.16,2.39l-0.89,1.14l-1.71,0.34l-1.71,1.8l-2.34,-0.37l1.21,-4.32l0.56,-4.07l2.8,0.94l4.46,-2.71l0.79,2.66Z",name:"Jordan"},HR:{path:"M455.59,162.84l1.09,0.07l-0.82,0.94l-0.27,-1.01ZM456.96,162.92l0.62,-0.41l1.73,0.45l0.42,-0.4l-0.01,-0.59l0.86,-0.52l0.2,-1.05l1.63,-0.68l2.57,1.68l2.07,0.6l0.87,-0.31l1.05,1.57l-0.52,0.63l-1.05,-0.56l-1.68,0.04l-2.1,-0.5l-1.29,0.06l-0.57,0.49l-0.59,-0.47l-0.62,0.16l-0.46,1.7l1.79,2.42l2.79,2.75l-1.18,-0.87l-2.21,-0.87l-1.67,-1.78l0.13,-0.63l-1.05,-1.19l-0.32,-1.27l-1.42,-0.43Z",name:"Croatia"},HT:{path:"M237.05,238.38l-1.16,0.43l-0.91,-0.55l0.05,-0.2l2.02,0.31ZM237.53,238.43l1.06,0.12l-0.05,0.01l-1.01,-0.12ZM239.25,238.45l0.79,-0.51l0.06,-0.62l-1.02,-1.0l0.02,-0.82l-0.3,-0.4l-0.93,-0.32l3.16,0.45l0.02,1.84l-0.48,0.34l-0.08,0.58l0.54,0.72l-1.78,-0.26Z",name:"Haiti"},HU:{path:"M462.08,157.89l0.65,-1.59l-0.09,-0.44l0.64,-0.0l0.39,-0.34l0.1,-0.69l1.75,0.87l2.32,-0.37l0.43,-0.66l3.49,-0.78l0.69,-0.78l0.57,-0.14l2.57,0.93l0.67,-0.23l1.03,0.65l0.08,0.37l-1.42,0.71l-2.59,4.14l-1.8,0.53l-1.68,-0.1l-2.74,1.23l-1.85,-0.54l-2.54,-1.66l-0.66,-1.1Z",name:"Hungary"},HN:{path:"M199.6,249.52l-1.7,-1.21l0.06,-0.94l3.04,-2.14l2.37,0.28l1.27,-0.09l1.1,-0.52l1.3,0.28l1.14,-0.25l1.38,0.37l2.23,1.37l-2.36,0.93l-1.23,-0.39l-0.88,1.3l-1.28,0.99l-0.98,-0.22l-0.42,0.52l-0.96,0.05l-0.36,0.41l0.04,0.88l-0.52,0.6l-0.3,0.04l-0.3,-0.55l-0.66,-0.31l0.11,-0.67l-0.48,-0.65l-0.87,-0.26l-0.73,0.2Z",name:"Honduras"},PR:{path:"M256.17,238.73l-0.26,0.27l-2.83,0.05l-0.07,-0.55l1.95,-0.1l1.22,0.33Z",name:"Puerto Rico"},PS:{path:"M509.21,203.07l0.1,-0.06l-0.02,0.03l-0.09,0.03ZM509.36,202.91l-0.02,-0.63l-0.33,-0.16l0.31,-1.09l0.24,0.1l-0.2,1.78Z",name:"Palestine"},PT:{path:"M401.84,187.38l-0.64,0.47l-1.13,-0.35l-0.91,0.17l0.28,-1.78l-0.24,-1.78l-1.25,-0.56l-0.45,-0.84l0.17,-1.66l1.01,-1.18l0.69,-2.92l-0.04,-1.39l-0.59,-1.9l1.3,-0.85l0.84,1.35l3.1,-0.3l0.46,0.99l-1.05,0.94l-0.03,2.16l-0.41,0.57l-0.08,1.1l-0.79,0.18l-0.26,0.59l0.91,1.6l-0.63,1.75l0.76,1.09l-1.1,1.52l0.07,1.05Z",name:"Portugal"},PY:{path:"M274.9,336.12l0.74,1.52l-0.16,3.45l0.32,0.41l2.64,0.5l1.11,-0.47l1.4,0.59l0.36,0.6l0.53,3.42l1.27,0.4l0.98,-0.38l0.51,0.27l-0.0,1.18l-1.21,5.32l-2.09,1.9l-1.8,0.4l-4.71,-0.98l2.2,-3.63l-0.32,-1.5l-2.78,-1.28l-3.03,-1.94l-2.07,-0.44l-4.34,-4.06l0.91,-2.9l0.08,-1.42l1.07,-2.04l4.13,-0.72l2.18,0.03l2.05,1.17l0.03,0.59Z",name:"Paraguay"},PA:{path:"M213.8,263.68l0.26,-1.52l-0.36,-0.26l-0.01,-0.49l0.44,-0.1l0.93,1.4l1.26,0.03l0.77,0.49l1.38,-0.23l2.51,-1.11l0.86,-0.72l3.45,0.85l1.4,1.18l0.41,1.74l-0.21,0.34l-0.53,-0.12l-0.47,0.29l-0.16,0.6l-0.68,-1.28l0.45,-0.49l-0.19,-0.66l-0.47,-0.13l-0.54,-0.84l-1.5,-0.75l-1.1,0.16l-0.75,0.99l-1.62,0.84l-0.18,0.96l0.85,0.97l-0.58,0.45l-0.69,0.08l-0.34,-1.18l-1.27,0.03l-0.71,-1.05l-2.59,-0.46Z",name:"Panama"},PG:{path:"M808.58,298.86l2.54,2.56l-0.13,0.26l-0.33,0.12l-0.87,-0.78l-1.22,-2.16ZM801.41,293.04l0.5,0.29l0.26,0.27l-0.49,-0.35l-0.27,-0.21ZM803.17,294.58l0.59,0.5l0.08,1.06l-0.29,-0.91l-0.38,-0.65ZM796.68,298.41l0.52,0.75l1.43,-0.19l2.27,-1.81l-0.01,-1.43l1.12,0.16l-0.04,1.1l-0.7,1.28l-1.12,0.18l-0.62,0.79l-2.46,1.11l-1.17,-0.0l-3.08,-1.25l3.41,0.0l0.45,-0.68ZM789.15,303.55l2.31,1.8l1.59,2.61l1.34,0.13l-0.06,0.66l0.31,0.43l1.06,0.24l0.06,0.65l2.25,1.05l-1.22,0.13l-0.72,-0.63l-4.56,-0.65l-3.22,-2.87l-1.49,-2.34l-3.27,-1.1l-2.38,0.72l-1.59,0.86l-0.2,0.42l0.27,1.55l-1.55,0.68l-1.36,-0.4l-2.21,-0.09l-0.08,-15.41l8.39,2.93l2.95,2.4l0.6,1.64l4.02,1.49l0.31,0.68l-1.76,0.21l-0.33,0.52l0.55,1.68Z",name:"Papua New Guinea"},PE:{path:"M244.96,295.21l-1.26,-0.07l-0.57,0.42l-1.93,0.45l-2.98,1.75l-0.36,1.36l-0.58,0.8l0.12,1.37l-1.24,0.59l-0.22,1.22l-0.62,0.84l1.04,2.27l1.28,1.44l-0.41,0.84l0.32,0.57l1.48,0.13l1.16,1.37l2.21,0.07l1.63,-1.08l-0.13,3.02l0.3,0.4l1.14,0.29l1.31,-0.34l1.9,3.59l-0.48,0.85l-0.17,3.85l-0.94,1.59l0.35,0.75l-0.47,1.07l0.98,1.97l-2.1,3.82l-0.98,0.5l-2.17,-1.28l-0.39,-1.16l-4.95,-2.58l-4.46,-2.79l-1.84,-1.51l-0.91,-1.84l0.3,-0.96l-2.11,-3.33l-4.82,-9.68l-1.04,-1.2l-0.87,-1.94l-3.4,-2.48l0.58,-1.18l-1.13,-2.23l0.66,-1.49l1.45,-1.15l-0.6,0.98l0.07,0.92l0.47,0.36l1.74,0.03l0.97,1.17l0.54,0.07l1.42,-1.03l0.6,-1.84l1.42,-2.02l3.04,-1.04l2.73,-2.62l0.86,-1.74l-0.1,-1.87l1.44,1.02l0.9,1.25l1.06,0.59l1.7,2.73l1.86,0.31l1.45,-0.61l0.96,0.39l1.36,-0.19l1.45,0.89l-1.4,2.21l0.31,0.61l0.59,0.05l0.47,0.5Z",name:"Peru"},PK:{path:"M615.09,192.34l-1.83,1.81l-2.6,0.39l-3.73,-0.68l-1.58,1.33l-0.09,0.42l1.77,4.39l1.7,1.23l-1.69,1.27l-0.12,2.14l-2.33,2.64l-1.6,2.8l-2.46,2.67l-3.03,-0.07l-2.76,2.83l0.05,0.6l1.5,1.11l0.26,1.9l1.44,1.5l0.37,1.68l-5.01,-0.01l-1.78,1.7l-1.42,-0.52l-0.76,-1.87l-2.27,-2.15l-11.61,0.86l0.71,-2.34l3.43,-1.32l0.25,-0.44l-0.21,-1.24l-1.2,-0.65l-0.28,-2.46l-2.29,-1.14l-1.28,-1.94l2.82,0.94l2.62,-0.38l1.42,0.33l0.76,-0.56l1.71,0.19l3.25,-1.14l0.27,-0.36l0.08,-2.19l1.18,-1.32l1.68,0.0l0.58,-0.82l1.6,-0.3l1.19,0.16l0.98,-0.78l0.02,-1.88l0.93,-1.47l1.48,-0.66l0.19,-0.55l-0.66,-1.25l2.04,-0.11l0.69,-1.01l-0.02,-1.16l1.11,-1.06l-0.17,-1.78l-0.49,-1.03l1.15,-0.98l5.42,-0.91l2.6,-0.82l1.6,1.16l0.97,2.34l3.45,0.97Z",name:"Pakistan"},PH:{path:"M737.01,263.84l0.39,2.97l-0.44,1.18l-0.55,-1.53l-0.67,-0.14l-1.17,1.28l0.65,2.09l-0.42,0.69l-2.48,-1.23l-0.57,-1.49l0.65,-1.03l-0.1,-0.54l-1.59,-1.19l-0.56,0.08l-0.65,0.87l-1.23,0.0l-1.58,0.97l0.83,-1.8l2.56,-1.42l0.65,0.84l0.45,0.13l1.9,-0.69l0.56,-1.11l1.5,-0.06l0.38,-0.43l-0.09,-1.19l1.21,0.71l0.36,2.02ZM733.59,256.58l0.05,0.75l0.08,0.26l-0.8,-0.42l-0.18,-0.71l0.85,0.12ZM734.08,256.1l-0.12,-1.12l-1.0,-1.27l1.36,0.03l0.53,0.73l0.51,2.04l-1.27,-0.4ZM733.76,257.68l0.38,0.98l-0.32,0.15l-0.07,-1.13ZM724.65,238.43l1.46,0.7l0.72,-0.31l-0.32,1.17l0.79,1.71l-0.57,1.84l-1.53,1.04l-0.39,2.25l0.56,2.04l1.63,0.57l1.16,-0.27l2.71,1.23l-0.19,1.08l0.76,0.84l-0.08,0.36l-1.4,-0.9l-0.88,-1.27l-0.66,0.0l-0.38,0.55l-1.6,-1.31l-2.15,0.36l-0.87,-0.39l0.07,-0.61l0.66,-0.55l-0.01,-0.62l-0.75,-0.59l-0.72,0.44l-0.74,-0.87l-0.39,-2.49l0.32,0.27l0.66,-0.28l0.26,-3.97l0.7,-2.02l1.14,0.0ZM731.03,258.87l-0.88,0.85l-1.19,1.94l-1.05,-1.19l0.93,-1.1l0.32,-1.47l0.52,-0.06l-0.27,1.15l0.22,0.45l0.49,-0.12l1.0,-1.32l-0.08,0.85ZM726.83,255.78l0.83,0.38l1.17,-0.0l-0.02,0.48l-2.0,1.4l0.03,-2.26ZM724.81,252.09l-0.38,1.27l-1.42,-1.95l1.2,0.05l0.6,0.63ZM716.55,261.82l1.1,-0.95l0.03,-0.03l-0.28,0.36l-0.85,0.61ZM719.22,259.06l0.04,-0.06l0.8,-1.53l0.16,0.75l-1.0,0.84Z",name:"Philippines"},PL:{path:"M468.44,149.42l-1.11,-1.54l-1.86,-0.33l-0.48,-1.05l-1.72,-0.37l-0.65,0.69l-0.72,-0.36l0.11,-0.61l-0.33,-0.46l-1.75,-0.27l-1.04,-0.93l-0.94,-1.94l0.16,-1.22l-0.62,-1.8l-0.78,-1.07l0.57,-1.04l-0.48,-1.43l1.41,-0.83l6.91,-2.71l2.14,0.5l0.52,0.91l5.51,0.44l4.55,-0.05l1.07,0.31l0.48,0.84l0.15,1.58l0.65,1.2l-0.01,0.99l-1.27,0.58l-0.19,0.54l0.73,1.48l0.08,1.55l1.2,2.76l-0.17,0.58l-1.23,0.44l-2.27,2.72l0.18,0.95l-1.97,-1.03l-1.98,0.4l-1.36,-0.28l-1.24,0.58l-1.07,-0.97l-1.16,0.24Z",name:"Poland"},ZM:{path:"M481.47,313.3l0.39,0.31l2.52,0.14l0.99,1.17l2.01,0.35l1.4,-0.64l0.69,1.17l1.78,0.33l1.84,2.35l2.23,0.18l0.4,-0.43l-0.21,-2.74l-0.62,-0.3l-0.48,0.32l-1.98,-1.17l0.72,-5.29l-0.51,-1.18l0.57,-1.3l3.68,-0.62l0.26,0.63l1.21,0.63l0.9,-0.22l2.16,0.67l1.33,0.71l1.07,1.02l0.56,1.87l-0.88,2.7l0.43,2.09l-0.73,0.87l-0.76,2.37l0.59,0.68l-6.6,1.83l-0.29,0.44l0.19,1.45l-1.68,0.35l-1.43,1.02l-0.38,0.87l-0.87,0.26l-3.48,3.69l-4.16,-0.53l-1.52,-1.0l-1.77,-0.13l-1.83,0.52l-3.04,-3.4l0.11,-7.59l4.82,0.03l0.39,-0.49l-0.18,-0.76l0.33,-0.83l-0.4,-1.36l0.24,-1.05Z",name:"Zambia"},EH:{path:"M384.42,230.28l0.25,-0.79l1.06,-1.29l0.8,-3.51l3.38,-2.78l0.7,-1.81l0.06,4.84l-1.98,0.2l-0.94,1.59l0.39,3.56l-3.7,-0.01ZM392.01,218.1l0.7,-1.8l1.77,-0.24l2.09,0.34l0.95,-0.62l1.28,-0.07l-0.0,2.51l-6.79,-0.12Z",name:"W. Sahara"},EE:{path:"M485.71,115.04l2.64,0.6l2.56,0.11l-1.6,1.91l0.61,3.54l-0.81,0.87l-1.78,-0.01l-3.22,-1.76l-1.8,0.45l0.21,-1.53l-0.58,-0.41l-0.69,0.34l-1.26,-1.03l-0.17,-1.63l2.83,-0.92l3.05,-0.52Z",name:"Estonia"},EG:{path:"M492.06,205.03l1.46,0.42l2.95,-1.64l2.04,-0.21l1.53,0.3l0.59,1.19l0.69,0.04l0.41,-0.64l1.81,0.58l1.95,0.16l1.04,-0.51l1.42,4.08l-2.03,4.54l-1.66,-1.77l-1.76,-3.85l-0.64,-0.12l-0.36,0.67l1.04,2.88l3.44,6.95l1.78,3.04l2.03,2.65l-0.36,0.53l0.23,2.01l2.7,2.19l-28.41,0.0l0.0,-18.96l-0.73,-2.2l0.59,-1.56l-0.32,-1.26l0.68,-0.99l3.06,-0.04l4.82,1.52Z",name:"Egypt"},ZA:{path:"M467.14,373.21l-0.13,-1.96l-0.68,-1.56l0.7,-0.68l-0.13,-2.33l-4.56,-8.19l0.77,-0.86l0.6,0.45l0.69,1.31l2.83,0.72l1.5,-0.26l2.24,-1.39l0.19,-9.55l1.35,2.3l-0.21,1.5l0.61,1.2l0.4,0.19l1.79,-0.27l2.6,-2.07l0.69,-1.32l0.96,-0.48l2.19,1.04l2.04,0.13l1.77,-0.65l0.85,-2.12l1.38,-0.33l1.59,-2.76l2.15,-1.89l3.41,-1.87l2.0,0.45l1.02,-0.28l0.99,0.2l1.75,5.29l-0.38,3.25l-0.81,-0.23l-1.0,0.46l-0.87,1.68l-0.05,1.16l1.97,1.84l1.47,-0.29l0.69,-1.18l1.09,0.01l-0.76,3.69l-0.58,1.09l-2.2,1.79l-3.17,4.76l-2.8,2.83l-3.57,2.88l-2.53,1.05l-1.22,0.14l-0.51,0.7l-1.18,-0.32l-1.39,0.5l-2.59,-0.52l-1.61,0.33l-1.18,-0.11l-2.55,1.1l-2.1,0.44l-1.6,1.07l-0.85,0.05l-0.93,-0.89l-0.93,-0.15l-0.97,-1.13l-0.25,0.05ZM491.45,364.19l0.62,-0.93l1.48,-0.59l1.18,-2.19l-0.07,-0.49l-1.99,-1.69l-1.66,0.56l-1.43,1.14l-1.34,1.73l0.02,0.51l1.88,2.11l1.31,-0.16Z",name:"South Africa"},EC:{path:"M231.86,285.53l0.29,1.59l-0.69,1.45l-2.61,2.51l-3.13,1.11l-1.53,2.18l-0.49,1.68l-1.0,0.73l-1.02,-1.11l-1.78,-0.16l0.67,-1.15l-0.24,-0.86l1.25,-2.13l-0.54,-1.09l-0.67,-0.08l-0.72,0.87l-0.87,-0.64l0.35,-0.69l-0.36,-1.96l0.81,-0.51l0.45,-1.51l0.92,-1.57l-0.07,-0.97l2.65,-1.33l2.75,1.35l0.77,1.05l2.12,0.35l0.76,-0.32l1.96,1.21Z",name:"Ecuador"},IT:{path:"M451.59,158.63l3.48,0.94l-0.21,1.17l0.3,0.83l-1.49,-0.24l-2.04,1.1l-0.21,0.39l0.13,1.45l-0.25,1.12l0.82,1.57l2.39,1.63l1.31,2.54l2.79,2.43l2.05,0.08l0.21,0.23l-0.39,0.33l0.09,0.67l4.05,1.97l2.17,1.76l-0.16,0.36l-1.17,-1.08l-2.18,-0.49l-0.44,0.2l-1.05,1.91l0.14,0.54l1.57,0.95l-0.19,0.98l-1.06,0.33l-1.25,2.34l-0.37,0.08l0.0,-0.33l1.0,-2.45l-1.73,-3.17l-1.12,-0.51l-0.88,-1.33l-1.51,-0.51l-1.27,-1.25l-1.75,-0.18l-4.12,-3.21l-1.62,-1.65l-1.03,-3.19l-3.53,-1.36l-1.3,0.51l-1.69,1.41l0.16,-0.72l-0.28,-0.47l-1.14,-0.33l-0.53,-1.96l0.72,-0.78l0.04,-0.48l-0.65,-1.17l0.8,0.39l1.4,-0.23l1.11,-0.84l0.52,0.35l1.19,-0.1l0.75,-1.2l1.53,0.33l1.36,-0.56l0.35,-1.14l1.08,0.32l0.68,-0.64l1.98,-0.44l0.42,0.82ZM459.19,184.75l-0.65,1.65l0.32,1.05l-0.31,0.89l-1.5,-0.85l-4.5,-1.67l0.19,-0.82l2.67,0.23l3.78,-0.48ZM443.93,176.05l1.18,1.66l-0.3,3.32l-1.06,-0.01l-0.77,0.73l-0.53,-0.44l-0.1,-3.37l-0.39,-1.22l1.04,0.01l0.92,-0.68Z",name:"Italy"},VN:{path:"M690.56,230.25l-2.7,1.82l-2.09,2.46l-0.63,1.95l4.31,6.45l2.32,1.65l1.43,1.94l1.11,4.59l-0.32,4.24l-1.93,1.54l-2.84,1.61l-2.11,2.15l-2.73,2.06l-0.59,-1.05l0.63,-1.53l-0.13,-0.47l-1.34,-1.04l1.51,-0.71l2.55,-0.18l0.3,-0.63l-0.82,-1.14l4.0,-2.07l0.31,-3.05l-0.57,-1.77l0.42,-2.66l-0.73,-1.97l-1.86,-1.76l-3.63,-5.29l-2.72,-1.46l0.36,-0.47l1.5,-0.64l0.21,-0.52l-0.97,-2.27l-0.37,-0.24l-2.83,-0.02l-2.24,-3.9l0.83,-0.4l4.39,-0.29l2.06,-1.31l1.15,0.89l1.88,0.4l-0.17,1.51l1.35,1.16l1.67,0.45Z",name:"Vietnam"},SB:{path:"M826.69,311.6l-0.61,0.09l-0.2,-0.33l0.37,0.15l0.44,0.09ZM824.18,307.38l-0.26,-0.3l-0.31,-0.91l0.03,0.0l0.54,1.21ZM823.04,309.33l-1.66,-0.22l-0.2,-0.52l1.16,0.28l0.69,0.46ZM819.28,304.68l1.14,0.65l0.02,0.03l-0.81,-0.44l-0.35,-0.23Z",name:"Solomon Is."},ET:{path:"M516.04,247.79l1.1,0.84l1.63,-0.45l0.68,0.47l1.63,0.03l2.01,0.94l1.73,1.66l1.64,2.07l-1.52,2.04l0.16,1.72l0.39,0.38l2.05,0.0l-0.36,1.03l2.86,3.58l8.32,3.08l1.31,0.02l-6.32,6.75l-3.1,0.11l-2.36,1.77l-1.47,0.04l-0.86,0.79l-1.38,-0.0l-1.32,-0.81l-2.29,1.05l-0.76,0.98l-3.29,-0.41l-3.07,-2.07l-1.8,-0.07l-0.62,-0.6l0.0,-1.24l-0.28,-0.38l-1.15,-0.37l-1.4,-2.59l-1.19,-0.68l-0.47,-1.0l-1.27,-1.23l-1.16,-0.22l0.43,-0.72l1.45,-0.28l0.41,-0.95l-0.03,-2.21l0.68,-2.44l1.05,-0.63l1.43,-3.06l1.57,-1.37l1.02,-2.51l0.35,-1.88l2.52,0.46l0.44,-0.24l0.58,-1.43Z",name:"Ethiopia"},SO:{path:"M525.13,288.48l-1.13,-1.57l-0.03,-8.86l2.66,-3.38l1.67,-0.13l2.13,-1.69l3.41,-0.23l7.08,-7.55l2.91,-3.69l0.08,-4.82l2.98,-0.67l1.24,-0.86l0.45,-0.0l-0.2,3.0l-1.21,3.62l-2.73,5.97l-2.13,3.65l-5.03,6.16l-8.56,6.4l-2.78,3.08l-0.8,1.56Z",name:"Somalia"},ZW:{path:"M498.91,341.09l-1.11,-0.22l-0.92,0.28l-2.09,-0.44l-1.5,-1.11l-1.89,-0.43l-0.62,-1.4l-0.01,-0.84l-0.3,-0.38l-0.97,-0.25l-2.71,-2.74l-1.92,-3.32l3.83,0.45l3.73,-3.82l1.08,-0.44l0.26,-0.77l1.25,-0.9l1.41,-0.26l0.5,0.89l1.99,-0.05l1.72,1.17l1.11,0.17l1.05,0.66l0.01,2.99l-0.59,3.76l0.38,0.86l-0.23,1.23l-0.39,0.35l-0.63,1.81l-2.43,2.75Z",name:"Zimbabwe"},ES:{path:"M416.0,169.21l1.07,1.17l4.61,1.38l1.06,-0.57l2.6,1.26l2.71,-0.3l0.09,1.12l-2.14,1.8l-3.11,0.61l-0.31,0.31l-0.2,0.89l-1.54,1.69l-0.97,2.4l0.84,1.74l-1.32,1.27l-0.48,1.68l-1.88,0.65l-1.66,2.07l-5.36,-0.01l-1.79,1.08l-0.89,0.98l-0.88,-0.17l-0.79,-0.82l-0.68,-1.59l-2.37,-0.63l-0.11,-0.5l1.21,-1.82l-0.77,-1.13l0.61,-1.68l-0.76,-1.62l0.87,-0.49l0.09,-1.25l0.42,-0.6l0.03,-2.11l0.99,-0.69l0.13,-0.5l-1.03,-1.73l-1.46,-0.11l-0.61,0.38l-1.06,0.0l-0.52,-1.23l-0.53,-0.21l-1.32,0.67l-0.01,-1.49l-0.75,-0.96l3.03,-1.88l2.99,0.53l3.32,-0.02l2.63,0.51l6.01,-0.06Z",name:"Spain"},ER:{path:"M520.38,246.23l3.42,2.43l3.5,3.77l0.84,0.54l-0.95,-0.01l-3.51,-3.89l-2.33,-1.15l-1.73,-0.07l-0.91,-0.51l-1.26,0.51l-1.34,-1.02l-0.61,0.17l-0.66,1.61l-2.35,-0.43l-0.17,-0.67l1.29,-5.29l0.61,-0.61l1.95,-0.53l0.87,-1.01l1.17,2.41l0.68,2.33l1.49,1.43Z",name:"Eritrea"},ME:{path:"M468.91,172.53l-1.22,-1.02l0.47,-1.81l0.89,-0.72l2.26,1.51l-0.5,0.57l-0.75,-0.27l-1.14,1.73Z",name:"Montenegro"},MD:{path:"M488.41,153.73l1.4,-0.27l1.72,0.93l1.07,0.15l0.85,0.65l-0.14,0.84l0.96,0.85l1.12,2.47l-1.15,-0.07l-0.66,-0.41l-0.52,0.25l-0.09,0.86l-1.08,1.89l-0.27,-0.86l0.25,-1.34l-0.16,-1.6l-3.29,-4.34Z",name:"Moldova"},MG:{path:"M545.91,319.14l0.4,3.03l0.62,1.21l-0.21,1.02l-0.57,-0.8l-0.69,-0.01l-0.47,0.76l0.41,2.12l-0.18,0.87l-0.73,0.78l-0.15,2.14l-4.71,15.2l-1.06,2.88l-3.92,1.64l-3.12,-1.49l-0.6,-1.21l-0.19,-2.4l-0.86,-2.05l-0.21,-1.77l0.38,-1.62l1.21,-0.75l0.01,-0.76l1.19,-2.04l0.23,-1.66l-1.06,-2.99l-0.19,-2.21l0.81,-1.33l0.32,-1.46l4.63,-1.22l3.44,-3.0l0.85,-1.4l-0.08,-0.7l0.78,-0.04l1.38,-1.77l0.13,-1.64l0.45,-0.61l1.16,1.69l0.59,1.6Z",name:"Madagascar"},MA:{path:"M378.78,230.02l0.06,-0.59l0.92,-0.73l0.82,-1.37l-0.09,-1.04l0.79,-1.7l1.31,-1.58l0.96,-0.59l0.66,-1.55l0.09,-1.47l0.81,-1.48l1.72,-1.07l1.55,-2.69l1.16,-0.96l2.44,-0.39l1.94,-1.82l1.31,-0.78l2.09,-2.28l-0.51,-3.65l1.24,-3.7l1.5,-1.75l4.46,-2.57l2.37,-4.47l1.44,0.01l1.68,1.21l2.32,-0.19l3.47,0.65l0.8,1.54l0.16,1.71l0.86,2.96l0.56,0.59l-0.26,0.61l-3.05,0.44l-1.26,1.05l-1.33,0.22l-0.33,0.37l-0.09,1.78l-2.68,1.0l-1.07,1.42l-4.47,1.13l-4.04,2.01l-0.54,4.64l-1.15,0.06l-0.92,0.61l-1.96,-0.35l-2.42,0.54l-0.74,1.9l-0.86,0.4l-1.14,3.26l-3.53,3.01l-0.8,3.55l-0.96,1.1l-0.29,0.82l-4.95,0.18Z",name:"Morocco"},UZ:{path:"M598.64,172.75l-1.63,1.52l0.06,0.64l1.85,1.12l1.97,-0.64l2.21,1.17l-2.52,1.68l-2.59,-0.22l-0.18,-0.41l0.46,-1.23l-0.45,-0.53l-3.35,0.69l-2.1,3.51l-1.87,-0.12l-1.03,1.51l0.22,0.55l1.64,0.62l0.46,1.83l-1.19,2.49l-2.66,-0.53l0.05,-1.36l-0.26,-0.39l-3.3,-1.23l-2.56,-1.4l-4.4,-3.34l-1.34,-3.14l-1.08,-0.6l-2.58,0.13l-0.69,-0.44l-0.47,-2.52l-3.37,-1.6l-0.43,0.05l-2.07,1.72l-2.1,1.01l-0.21,0.47l0.28,1.01l-1.91,0.03l-0.09,-10.5l5.99,-1.7l6.19,3.54l2.71,2.84l7.05,-0.67l2.71,2.01l-0.17,2.81l0.39,0.42l0.9,0.02l0.44,2.14l0.38,0.32l2.94,0.09l0.95,1.42l1.28,-0.24l1.05,-2.04l4.43,-2.5Z",name:"Uzbekistan"},MM:{path:"M673.9,230.21l-1.97,1.57l-0.57,0.96l-1.4,0.6l-1.36,1.05l-1.99,0.36l-1.08,2.66l-0.91,0.4l-0.19,0.55l1.21,2.27l2.52,3.43l-0.79,1.91l-0.74,0.41l-0.17,0.52l0.65,1.37l1.61,1.95l0.25,2.58l0.9,2.13l-1.92,3.57l0.68,-2.25l-0.81,-1.74l0.19,-2.65l-1.05,-1.53l-1.24,-6.17l-1.12,-2.26l-0.6,-0.13l-4.34,3.02l-2.39,-0.65l0.77,-2.84l-0.52,-2.61l-1.91,-2.96l0.25,-0.75l-0.29,-0.51l-1.33,-0.3l-1.61,-1.93l-0.1,-1.3l0.82,-0.24l0.04,-1.64l1.02,-0.52l0.21,-0.45l-0.23,-0.95l0.54,-0.96l0.08,-2.22l1.46,0.45l0.47,-0.2l1.12,-2.19l0.16,-1.35l1.33,-2.16l-0.0,-1.52l2.89,-1.66l1.63,0.44l0.5,-0.44l-0.17,-1.4l0.64,-0.36l0.08,-1.04l0.77,-0.11l0.71,1.35l1.06,0.69l-0.03,3.86l-2.38,2.37l-0.3,3.15l0.46,0.43l2.28,-0.38l0.51,2.08l1.47,0.67l-0.6,1.8l0.19,0.48l2.97,1.48l1.64,-0.55l0.02,0.32Z",name:"Myanmar"},ML:{path:"M392.61,254.08l-0.19,-2.37l-0.99,-0.87l-0.44,-1.3l-0.09,-1.28l0.81,-0.58l0.35,-1.24l2.37,0.65l1.31,-0.47l0.86,0.15l0.66,-0.56l9.83,-0.04l0.38,-0.28l0.56,-1.8l-0.44,-0.65l-2.35,-21.95l3.27,-0.04l16.7,11.38l0.74,1.31l2.5,1.09l0.02,1.38l0.44,0.39l2.34,-0.21l0.01,5.38l-1.28,1.61l-0.26,1.49l-5.31,0.57l-1.07,0.92l-2.9,0.1l-0.86,-0.48l-1.38,0.36l-2.4,1.08l-0.6,0.87l-1.85,1.09l-0.43,0.7l-0.79,0.39l-1.44,-0.21l-0.81,0.84l-0.34,1.64l-1.91,2.02l-0.06,1.03l-0.67,1.22l0.13,1.16l-0.97,0.39l-0.23,-0.64l-0.52,-0.24l-1.35,0.4l-0.34,0.55l-2.69,-0.28l-0.37,-0.35l-0.02,-0.9l-0.65,-0.35l0.45,-0.64l-0.03,-0.53l-2.12,-2.44l-0.76,-0.01l-2.0,1.16l-0.78,-0.15l-0.8,-0.67l-1.21,0.23Z",name:"Mali"},MN:{path:"M676.61,146.48l3.81,1.68l5.67,-1.0l2.37,0.41l2.34,1.5l1.79,1.75l2.29,-0.03l3.12,0.52l2.47,-0.81l3.41,-0.59l3.53,-2.21l1.25,0.29l1.53,1.13l2.27,-0.21l-2.66,5.01l0.64,1.68l0.47,0.21l1.32,-0.38l2.38,0.48l2.02,-1.11l1.76,0.89l2.06,2.02l-0.13,0.53l-1.72,-0.29l-3.77,0.46l-1.88,0.99l-1.76,1.99l-3.71,1.17l-2.45,1.6l-3.83,-0.87l-0.41,0.17l-1.31,1.99l1.04,2.24l-1.52,0.9l-1.74,1.57l-2.79,1.02l-3.78,0.13l-4.05,1.05l-2.77,1.52l-1.16,-0.85l-2.94,0.0l-3.62,-1.79l-2.58,-0.49l-3.4,0.41l-5.12,-0.67l-2.63,0.06l-1.31,-1.6l-1.4,-3.0l-1.48,-0.33l-3.13,-1.94l-6.16,-0.93l-0.71,-1.06l0.86,-3.82l-1.93,-2.71l-3.5,-1.18l-1.95,-1.58l-0.5,-1.72l2.34,-0.52l4.75,-2.8l3.62,-1.47l2.18,0.97l2.46,0.05l1.81,1.53l2.46,0.12l3.95,0.71l2.43,-2.28l0.08,-0.48l-0.9,-1.72l2.24,-2.98l2.62,1.27l4.94,1.17l0.43,2.24Z",name:"Mongolia"},MK:{path:"M472.8,173.98l0.49,-0.71l3.57,-0.71l1.0,0.77l0.13,1.45l-0.65,0.53l-1.15,-0.05l-1.12,0.67l-1.39,0.22l-0.79,-0.55l-0.29,-1.03l0.19,-0.6Z",name:"Macedonia"},MW:{path:"M505.5,309.31l0.85,1.95l0.15,2.86l-0.69,1.65l0.71,1.8l0.06,1.28l0.49,0.64l0.07,1.06l0.4,0.55l0.8,-0.23l0.55,0.61l0.69,-0.21l0.34,0.6l0.19,2.94l-1.04,0.62l-0.54,1.25l-1.11,-1.08l-0.16,-1.56l0.51,-1.31l-0.32,-1.3l-0.99,-0.65l-0.82,0.12l-2.36,-1.64l0.63,-1.96l0.82,-1.18l-0.46,-2.01l0.9,-2.86l-0.94,-2.51l0.96,0.18l0.29,0.4Z",name:"Malawi"},MR:{path:"M407.36,220.66l-2.58,0.03l-0.39,0.44l2.42,22.56l0.36,0.43l-0.39,1.24l-9.75,0.04l-0.56,0.53l-0.91,-0.11l-1.27,0.45l-1.61,-0.66l-0.97,0.03l-0.36,0.29l-0.38,1.35l-0.42,0.23l-2.93,-3.4l-2.96,-1.52l-1.62,-0.03l-1.27,0.54l-1.12,-0.2l-0.65,0.4l-0.08,-0.49l0.68,-1.29l0.31,-2.43l-0.57,-3.91l0.23,-1.21l-0.69,-1.5l-1.15,-1.02l0.25,-0.39l9.58,0.02l0.4,-0.45l-0.46,-3.68l0.47,-1.04l2.12,-0.21l0.36,-0.4l-0.08,-6.4l7.81,0.13l0.41,-0.4l0.01,-3.31l7.76,5.35Z",name:"Mauritania"},UG:{path:"M498.55,276.32l0.7,-0.46l1.65,0.5l1.96,-0.57l1.7,0.01l1.45,-0.98l0.91,1.33l1.33,3.95l-2.57,4.03l-1.46,-0.4l-2.54,0.91l-1.37,1.61l-0.01,0.81l-2.42,-0.01l-2.26,1.01l-0.17,-1.59l0.58,-1.04l0.14,-1.94l1.37,-2.28l1.78,-1.58l-0.17,-0.65l-0.72,-0.24l0.13,-2.43Z",name:"Uganda"},MY:{path:"M717.47,273.46l-1.39,0.65l-2.12,-0.41l-2.88,-0.0l-0.38,0.28l-0.84,2.75l-0.99,0.96l-1.21,3.29l-1.73,0.45l-2.45,-0.68l-1.39,0.31l-1.33,1.15l-1.59,-0.14l-1.41,0.44l-1.44,-1.19l-0.18,-0.73l1.34,0.53l1.93,-0.47l0.75,-2.22l4.02,-1.03l2.75,-3.21l0.82,0.94l0.64,-0.05l0.4,-0.65l0.96,0.06l0.42,-0.36l0.24,-2.68l1.81,-1.64l1.21,-1.86l0.63,-0.01l1.07,1.05l0.34,1.28l3.44,1.35l-0.06,0.35l-1.37,0.1l-0.35,0.54l0.32,0.88ZM673.68,269.59l0.17,1.09l0.47,0.33l1.65,-0.3l0.87,-0.94l1.61,1.52l0.98,1.56l-0.12,2.81l0.41,2.29l0.95,0.9l0.88,2.44l-1.27,0.12l-5.1,-3.67l-0.34,-1.29l-1.37,-1.59l-0.33,-1.97l-0.88,-1.4l0.25,-1.68l-0.46,-1.05l1.63,0.84Z",name:"Malaysia"},MX:{path:"M133.12,200.41l0.2,0.47l9.63,3.33l6.96,-0.02l0.4,-0.4l0.0,-0.74l3.77,0.0l3.55,2.93l1.39,2.83l1.52,1.04l2.08,0.82l0.47,-0.14l1.46,-2.0l1.73,-0.04l1.59,0.98l2.05,3.35l1.47,1.56l1.26,3.14l2.18,1.02l2.26,0.58l-1.18,3.72l-0.42,5.04l1.79,4.89l1.62,1.89l0.61,1.52l1.2,1.42l2.55,0.66l1.37,1.1l7.54,-1.89l1.86,-1.3l1.14,-4.3l4.1,-1.21l3.57,-0.11l0.32,0.3l-0.06,0.94l-1.26,1.45l-0.67,1.71l0.38,0.7l-0.72,2.27l-0.49,-0.3l-1.0,0.08l-1.0,1.39l-0.47,-0.11l-0.53,0.47l-4.26,-0.02l-0.4,0.4l-0.0,1.06l-1.1,0.26l0.1,0.44l1.82,1.44l0.56,0.91l-3.19,0.21l-1.21,2.09l0.24,0.72l-0.2,0.44l-2.24,-2.18l-1.45,-0.93l-2.22,-0.69l-1.52,0.22l-3.07,1.16l-10.55,-3.85l-2.86,-1.96l-3.78,-0.92l-1.08,-1.19l-2.62,-1.43l-1.18,-1.54l-0.38,-0.81l0.66,-0.63l-0.18,-0.53l0.52,-0.76l0.01,-0.91l-2.0,-3.82l-2.21,-2.63l-2.53,-2.09l-1.19,-1.62l-2.2,-1.17l-0.3,-0.43l0.34,-1.48l-0.21,-0.45l-1.23,-0.6l-1.36,-1.2l-0.59,-1.78l-1.54,-0.47l-2.44,-2.55l-0.16,-0.9l-1.33,-2.03l-0.84,-1.99l-0.16,-1.33l-1.81,-1.1l-0.97,0.05l-1.31,-0.7l-0.57,0.22l-0.4,1.12l0.72,3.77l3.51,3.89l0.28,0.78l0.53,0.26l0.41,1.43l1.33,1.73l1.58,1.41l0.8,2.39l1.43,2.41l0.13,1.32l0.37,0.36l1.04,0.08l1.67,2.28l-0.85,0.76l-0.66,-1.51l-1.68,-1.54l-2.91,-1.87l0.06,-1.82l-0.54,-1.68l-2.91,-2.03l-0.55,0.09l-1.95,-1.1l-0.88,-0.94l0.68,-0.08l0.93,-1.01l0.08,-1.78l-1.93,-1.94l-1.46,-0.77l-3.75,-7.56l4.88,-0.42Z",name:"Mexico"},IL:{path:"M507.76,203.05l0.4,-0.78l0.18,0.4l-0.33,1.03l0.52,0.44l0.68,-0.22l-0.86,3.6l-1.16,-3.32l0.59,-0.74l-0.03,-0.41ZM508.73,200.34l0.37,-1.02l0.64,0.0l0.52,-0.51l-0.49,1.53l-0.56,-0.24l-0.48,0.23Z",name:"Israel"},FR:{path:"M444.48,172.62l-0.64,1.78l-0.58,-0.31l-0.49,-1.72l0.4,-0.89l1.0,-0.72l0.3,1.85ZM429.64,147.1l1.78,1.58l1.46,-0.13l2.1,1.42l1.35,0.27l1.23,0.83l3.04,0.5l-1.03,1.85l-0.3,2.12l-0.41,0.32l-0.95,-0.24l-0.5,0.43l0.06,0.61l-1.81,1.92l-0.04,1.42l0.55,0.38l0.88,-0.36l0.61,0.97l-0.03,1.0l0.57,0.91l-0.75,1.09l0.65,2.39l1.27,0.57l-0.18,0.82l-2.01,1.53l-4.77,-0.8l-3.82,1.0l-0.53,1.85l-2.49,0.34l-2.71,-1.31l-1.16,0.57l-4.31,-1.29l-0.72,-0.86l1.19,-1.78l0.39,-6.45l-2.58,-3.3l-1.9,-1.66l-3.72,-1.23l-0.19,-1.72l2.81,-0.61l4.12,0.81l0.47,-0.48l-0.6,-2.77l1.94,0.95l5.83,-2.54l0.92,-2.74l1.6,-0.49l0.24,0.78l1.36,0.33l1.05,1.19ZM289.01,278.39l-0.81,0.8l-0.78,0.12l-0.5,-0.66l-0.56,-0.1l-0.91,0.6l-0.46,-0.22l1.09,-2.96l-0.96,-1.77l-0.17,-1.49l1.07,-1.77l2.32,0.75l2.51,2.01l0.3,0.74l-2.14,3.96Z",name:"France"},XS:{path:"M531.15,258.94l1.51,0.12l5.13,-0.95l5.3,-1.48l-0.01,4.4l-2.67,3.39l-1.85,0.01l-8.04,-2.94l-2.55,-3.17l1.12,-1.71l2.04,2.34Z",name:"Somaliland"},FI:{path:"M492.17,76.39l-0.23,3.5l3.52,2.63l-2.08,2.88l-0.02,0.44l2.8,4.56l-1.59,3.31l2.16,3.24l-0.94,2.39l0.14,0.47l3.44,2.51l-0.77,1.62l-7.52,6.95l-4.5,0.31l-4.38,1.37l-3.8,0.74l-1.44,-1.96l-2.17,-1.11l0.5,-3.66l-1.16,-3.33l1.09,-2.08l2.21,-2.42l5.67,-4.32l1.64,-0.83l0.21,-0.42l-0.46,-2.02l-3.38,-1.89l-0.75,-1.43l-0.22,-6.74l-6.79,-4.8l0.8,-0.62l2.54,2.12l3.46,-0.12l3.0,0.96l2.51,-2.11l1.17,-3.08l3.55,-1.38l2.76,1.53l-0.95,2.79Z",name:"Finland"},FJ:{path:"M869.95,326.98l-1.21,0.41l-0.08,-0.23l2.97,-1.21l-0.14,0.42l-1.54,0.61ZM867.58,329.25l0.43,0.37l-0.27,0.88l-1.24,0.28l-1.04,-0.24l-0.14,-0.66l0.63,-0.58l0.92,0.26l0.7,-0.31Z",name:"Fiji"},FK:{path:"M274.36,425.85l1.44,1.08l-0.47,0.73l-3.0,0.89l-0.96,-1.0l-0.52,-0.05l-1.83,1.29l-0.73,-0.88l2.46,-1.64l1.93,0.76l1.67,-1.19Z",name:"Falkland Is."},NI:{path:"M202.33,252.67l0.81,-0.18l1.03,-1.02l-0.04,-0.88l0.68,-0.0l0.63,-0.54l0.97,0.22l1.53,-1.26l0.58,-0.99l1.17,0.34l2.41,-0.94l0.13,1.32l-0.81,1.94l0.1,2.74l-0.36,0.37l-0.11,1.75l-0.47,0.81l0.18,1.14l-1.73,-0.85l-0.71,0.27l-1.47,-0.6l-0.52,0.16l-4.01,-3.81Z",name:"Nicaragua"},NL:{path:"M430.31,143.39l0.6,-0.5l2.13,-4.8l3.2,-1.33l1.74,0.08l0.33,0.8l-0.59,2.92l-0.5,0.99l-1.26,0.0l-0.4,0.45l0.33,2.7l-2.2,-1.78l-2.62,0.58l-0.75,-0.11Z",name:"Netherlands"},NO:{path:"M491.44,67.41l6.8,2.89l-2.29,0.86l-0.15,0.65l2.33,2.38l-4.98,1.79l0.84,-2.45l-0.18,-0.48l-3.55,-1.8l-3.89,1.52l-1.42,3.38l-2.12,1.72l-2.64,-1.0l-3.11,0.21l-2.66,-2.22l-0.5,-0.01l-1.41,1.1l-1.44,0.17l-0.35,0.35l-0.32,2.47l-4.32,-0.64l-0.44,0.29l-0.58,2.11l-2.45,0.2l-4.15,7.68l-3.88,5.76l0.78,1.62l-0.64,1.16l-2.24,-0.06l-0.38,0.24l-1.66,3.89l0.15,5.17l1.57,2.04l-0.78,4.16l-2.02,2.48l-0.85,1.63l-1.3,-1.75l-0.58,-0.07l-4.87,4.19l-3.1,0.79l-3.16,-1.7l-0.85,-3.77l-0.77,-8.55l2.14,-2.31l6.55,-3.27l5.02,-4.17l10.63,-13.84l10.98,-8.7l5.35,-1.91l4.34,0.12l3.69,-3.64l4.49,0.19l4.37,-0.89ZM484.55,20.04l4.26,1.75l-3.1,2.55l-7.1,0.65l-7.08,-0.9l-0.37,-1.31l-0.37,-0.29l-3.44,-0.1l-2.08,-2.0l6.87,-1.44l3.9,1.31l2.39,-1.64l6.13,1.4ZM481.69,33.93l-4.45,1.74l-3.54,-0.99l1.12,-0.9l0.05,-0.58l-1.06,-1.22l4.22,-0.89l1.09,1.97l2.57,0.87ZM466.44,24.04l7.43,3.77l-5.41,1.86l-1.58,4.08l-2.26,1.2l-1.12,4.11l-2.61,0.18l-4.79,-2.86l1.84,-1.54l-0.1,-0.68l-3.69,-1.53l-4.77,-4.51l-1.73,-3.89l6.11,-1.82l1.54,1.92l3.57,-0.08l1.2,-1.96l3.32,-0.18l3.05,1.92Z",name:"Norway"},NA:{path:"M474.26,330.66l-0.97,0.04l-0.38,0.4l-0.07,8.9l-2.09,0.08l-0.39,0.4l-0.0,17.42l-1.98,1.23l-1.17,0.17l-2.44,-0.66l-0.48,-1.13l-0.99,-0.74l-0.54,0.05l-0.9,1.01l-1.53,-1.68l-0.93,-1.88l-1.99,-8.56l-0.06,-3.12l-0.33,-1.52l-2.3,-3.34l-1.91,-4.83l-1.96,-2.43l-0.12,-1.57l2.33,-0.79l1.43,0.07l1.81,1.13l10.23,-0.25l1.84,1.23l5.87,0.35ZM474.66,330.64l6.51,-1.6l1.9,0.39l-1.69,0.4l-1.31,0.83l-1.12,-0.94l-4.29,0.92Z",name:"Namibia"},VU:{path:"M839.04,322.8l0.22,1.14l-0.44,0.03l-0.2,-1.45l0.42,0.27Z",name:"Vanuatu"},NC:{path:"M838.78,341.24l-0.33,0.22l-2.9,-1.75l-3.26,-3.37l1.65,0.83l4.85,4.07Z",name:"New Caledonia"},NE:{path:"M454.75,226.53l1.33,1.37l0.48,0.07l1.27,-0.7l0.53,3.52l0.94,0.83l0.17,0.92l0.81,0.69l-0.44,0.95l-0.96,5.26l-0.13,3.22l-3.04,2.31l-1.22,3.57l1.02,1.24l-0.0,1.46l0.39,0.4l1.13,0.04l-0.9,1.25l-1.47,-2.42l-0.86,-0.29l-2.09,1.37l-1.74,-0.67l-1.45,-0.17l-0.85,0.35l-1.36,-0.07l-1.64,1.09l-1.06,0.05l-2.94,-1.28l-1.44,0.59l-1.01,-0.03l-0.97,-0.94l-2.7,-0.98l-2.69,0.3l-0.87,0.64l-0.47,1.6l-0.75,1.16l-0.12,1.53l-1.57,-1.1l-1.31,0.24l0.03,-0.81l-0.32,-0.41l-2.59,-0.52l-0.15,-1.16l-1.35,-1.6l-0.29,-1.0l0.13,-0.84l1.29,-0.08l1.08,-0.92l3.31,-0.22l2.22,-0.41l0.32,-0.34l0.2,-1.47l1.39,-1.88l-0.01,-5.66l3.36,-1.12l7.24,-5.12l8.42,-4.92l3.69,1.06Z",name:"Niger"},NG:{path:"M456.32,253.89l0.64,0.65l-0.28,1.04l-2.11,2.01l-2.03,5.18l-1.37,1.16l-1.15,3.18l-1.33,0.66l-1.46,-0.97l-1.21,0.16l-1.38,1.36l-0.91,0.24l-1.79,4.06l-2.33,0.81l-1.11,-0.07l-0.86,0.5l-1.71,-0.05l-1.19,-1.39l-0.89,-1.89l-1.77,-1.66l-3.95,-0.08l0.07,-5.21l0.42,-1.43l1.95,-2.3l-0.14,-0.91l0.43,-1.18l-0.53,-1.41l0.25,-2.92l0.72,-1.07l0.32,-1.34l0.46,-0.39l2.47,-0.28l2.34,0.89l1.15,1.02l1.28,0.04l1.22,-0.58l3.03,1.27l1.49,-0.14l1.36,-1.0l1.33,0.07l0.82,-0.35l3.45,0.8l1.82,-1.32l1.84,2.67l0.66,0.16Z",name:"Nigeria"},NZ:{path:"M857.8,379.65l1.86,3.12l0.44,0.18l0.3,-0.38l0.03,-1.23l0.38,0.27l0.57,2.31l2.02,0.94l1.81,0.27l1.57,-1.06l0.7,0.18l-1.15,3.59l-1.98,0.11l-0.74,1.2l0.2,1.11l-2.42,3.98l-1.49,0.92l-1.04,-0.85l1.21,-2.05l-0.81,-2.01l-2.63,-1.25l0.04,-0.57l1.82,-1.19l0.43,-2.34l-0.16,-2.03l-0.95,-1.82l-0.06,-0.72l-3.11,-3.64l-0.79,-1.52l1.56,1.45l1.76,0.66l0.65,2.34ZM853.83,393.59l0.57,1.24l0.59,0.16l1.42,-0.97l0.46,0.79l0.0,1.03l-2.47,3.48l-1.26,1.2l-0.06,0.5l0.55,0.87l-1.41,0.07l-2.33,1.38l-2.03,5.02l-3.02,2.16l-2.06,-0.06l-1.71,-1.04l-2.47,-0.2l-0.27,-0.73l1.22,-2.1l3.05,-2.94l1.62,-0.59l4.02,-2.82l1.57,-1.67l1.07,-2.16l0.88,-0.7l0.48,-1.75l1.24,-0.97l0.35,0.79Z",name:"New Zealand"},NP:{path:"M641.14,213.62l0.01,3.19l-1.74,0.04l-4.8,-0.86l-1.58,-1.39l-3.37,-0.34l-7.65,-3.7l0.8,-2.09l2.33,-1.7l1.77,0.75l2.49,1.76l1.38,0.41l0.99,1.35l1.9,0.52l1.99,1.17l5.49,0.9Z",name:"Nepal"},XK:{path:"M472.77,172.64l-1.08,-1.29l0.96,-0.77l0.29,-0.83l1.98,1.64l-0.36,0.67l-1.79,0.58Z",name:"Kosovo"},CI:{path:"M407.4,259.27l0.86,0.42l0.56,0.9l1.13,0.53l1.19,-0.61l0.97,-0.08l1.42,0.54l0.6,3.24l-1.03,2.08l-0.65,2.84l1.06,2.33l-0.06,0.53l-2.54,-0.47l-1.66,0.03l-3.06,0.46l-4.11,1.6l0.32,-3.06l-1.18,-1.31l-1.32,-0.66l0.42,-0.85l-0.2,-1.4l0.5,-0.67l0.01,-1.59l0.84,-0.32l0.26,-0.5l-1.15,-3.01l0.12,-0.5l0.51,-0.25l0.66,0.31l1.93,0.02l0.67,-0.71l0.71,-0.14l0.25,0.69l0.57,0.22l1.4,-0.61Z",name:"Côte d'Ivoire"},CH:{path:"M444.62,156.35l-0.29,0.87l0.18,0.53l1.13,0.58l1.0,0.1l-0.1,0.65l-0.79,0.38l-1.72,-0.37l-0.45,0.23l-0.45,1.04l-0.75,0.06l-0.84,-0.4l-1.32,1.0l-0.96,0.12l-0.88,-0.55l-0.81,-1.3l-0.49,-0.16l-0.63,0.26l0.02,-0.65l1.71,-1.66l0.1,-0.56l0.93,0.08l0.58,-0.46l1.99,0.02l0.66,-0.61l2.19,0.79Z",name:"Switzerland"},CO:{path:"M242.07,254.93l-1.7,0.59l-0.59,1.18l-1.7,1.69l-0.38,1.93l-0.67,1.43l0.31,0.57l1.03,0.13l0.25,0.9l0.57,0.64l-0.04,2.34l1.64,1.42l3.16,-0.24l1.26,0.28l1.67,2.06l0.41,0.13l4.09,-0.39l0.45,0.22l-0.92,1.95l-0.2,1.8l0.52,1.83l0.75,1.05l-1.12,1.1l0.07,0.63l0.84,0.51l0.74,1.29l-0.39,-0.45l-0.59,-0.01l-0.71,0.74l-4.71,-0.05l-0.4,0.41l0.03,1.57l0.33,0.39l1.11,0.2l-1.68,0.4l-0.29,0.38l-0.01,1.82l1.16,1.14l0.34,1.25l-1.05,7.05l-1.04,-0.87l1.26,-1.99l-0.13,-0.56l-2.18,-1.23l-1.38,0.2l-1.14,-0.38l-1.27,0.61l-1.55,-0.26l-1.38,-2.46l-1.23,-0.75l-0.85,-1.2l-1.67,-1.19l-0.86,0.13l-2.11,-1.32l-1.01,0.31l-1.8,-0.29l-0.52,-0.91l-3.09,-1.68l0.77,-0.52l-0.1,-1.12l0.41,-0.64l1.34,-0.32l2.0,-2.88l-0.11,-0.57l-0.66,-0.43l0.39,-1.38l-0.52,-2.1l0.49,-0.83l-0.4,-2.13l-0.97,-1.35l0.17,-0.66l0.86,-0.08l0.47,-0.75l-0.46,-1.63l1.41,-0.07l1.8,-1.69l0.93,-0.24l0.3,-0.38l0.45,-2.76l1.22,-1.0l1.44,-0.04l0.45,-0.5l1.91,0.12l2.93,-1.84l1.15,-1.14l0.91,0.46l-0.25,0.45Z",name:"Colombia"},CN:{path:"M740.23,148.97l4.57,1.3l2.8,2.17l0.98,2.9l0.38,0.27l3.8,0.0l2.32,-1.28l3.29,-0.75l-0.96,2.09l-1.02,1.28l-0.85,3.4l-1.52,2.73l-2.76,-0.5l-2.4,1.13l-0.21,0.45l0.64,2.57l-0.32,3.2l-0.94,0.06l-0.37,0.89l-0.91,-1.01l-0.64,0.07l-0.92,1.57l-3.73,1.25l-0.26,0.48l0.26,1.06l-1.5,-0.08l-1.09,-0.86l-0.56,0.06l-1.67,2.06l-2.7,1.56l-2.03,1.88l-3.4,0.83l-1.93,1.4l-1.15,0.34l0.33,-0.7l-0.41,-0.89l1.79,-1.79l0.02,-0.54l-1.32,-1.56l-0.48,-0.1l-2.24,1.09l-2.83,2.06l-1.51,1.83l-2.28,0.13l-1.55,1.49l-0.04,0.5l1.32,1.97l2.0,0.58l0.31,1.35l1.98,0.84l3.0,-1.96l2.0,1.02l1.49,0.11l0.22,0.83l-3.37,0.86l-1.12,1.48l-2.5,1.52l-1.29,1.99l0.14,0.56l2.57,1.48l0.97,2.7l3.17,4.63l-0.03,1.66l-1.35,0.65l-0.2,0.51l0.6,1.47l1.4,0.91l-0.89,3.82l-1.43,0.38l-3.85,6.44l-2.27,3.11l-6.78,4.57l-2.73,0.29l-1.45,1.04l-0.62,-0.61l-0.55,-0.01l-1.36,1.25l-3.39,1.27l-2.61,0.4l-1.1,2.79l-0.81,0.09l-0.49,-1.42l0.5,-0.85l-0.25,-0.59l-3.36,-0.84l-1.3,0.4l-2.31,-0.62l-0.94,-0.84l0.33,-1.28l-0.3,-0.49l-2.19,-0.46l-1.13,-0.93l-0.47,-0.02l-2.06,1.36l-4.29,0.28l-2.76,1.05l-0.28,0.43l0.32,2.53l-0.59,-0.03l-0.19,-1.34l-0.55,-0.34l-1.68,0.7l-2.46,-1.23l0.62,-1.87l-0.26,-0.51l-1.37,-0.44l-0.54,-2.22l-0.45,-0.3l-2.13,0.35l0.24,-2.48l2.39,-2.4l0.03,-4.31l-1.19,-0.92l-0.78,-1.49l-0.41,-0.21l-1.41,0.19l-1.98,-0.3l0.46,-1.07l-1.17,-1.7l-0.55,-0.11l-1.63,1.05l-2.25,-0.57l-2.89,1.73l-2.25,1.98l-1.75,0.29l-1.17,-0.71l-3.31,-0.65l-1.48,0.79l-1.04,1.27l-0.12,-1.17l-0.54,-0.34l-1.44,0.54l-5.55,-0.86l-1.98,-1.16l-1.89,-0.54l-0.99,-1.35l-1.34,-0.37l-2.55,-1.79l-2.01,-0.84l-1.21,0.56l-5.57,-3.45l-0.53,-2.31l1.19,0.25l0.48,-0.37l0.08,-1.42l-0.98,-1.56l0.15,-2.44l-2.69,-3.32l-4.12,-1.23l-0.67,-2.0l-1.92,-1.48l-0.38,-0.7l-0.51,-3.01l-1.52,-0.66l-0.7,0.13l-0.48,-2.05l0.55,-0.51l-0.09,-0.82l2.03,-1.19l1.6,-0.54l2.56,0.38l0.42,-0.22l0.85,-1.7l3.0,-0.33l1.1,-1.26l4.05,-1.77l0.39,-0.91l-0.17,-1.44l1.45,-0.67l0.2,-0.52l-2.07,-4.9l4.51,-1.12l1.37,-0.73l1.89,-5.51l4.98,0.86l1.51,-1.7l0.11,-2.87l1.99,-0.38l1.83,-2.06l0.49,-0.13l0.68,2.08l2.23,1.77l3.44,1.16l1.55,2.29l-0.92,3.49l0.96,1.67l6.54,1.13l2.95,1.87l1.47,0.35l1.06,2.62l1.53,1.91l3.05,0.08l5.14,0.67l3.37,-0.41l2.36,0.43l3.65,1.8l3.06,0.04l1.45,0.88l2.87,-1.59l3.95,-1.02l3.83,-0.14l3.06,-1.14l1.77,-1.6l1.72,-1.01l0.17,-0.49l-1.1,-2.05l1.02,-1.54l4.02,0.8l2.45,-1.61l3.76,-1.19l1.96,-2.13l1.63,-0.83l3.51,-0.4l1.92,0.34l0.46,-0.3l0.17,-1.5l-2.27,-2.22l-2.11,-1.09l-2.18,1.11l-2.32,-0.47l-1.29,0.32l-0.4,-0.82l2.73,-5.16l3.02,1.06l3.53,-2.06l0.18,-1.68l2.16,-3.35l1.49,-1.35l-0.03,-1.85l-1.07,-0.85l1.54,-1.26l2.98,-0.59l3.23,-0.09l3.64,0.99l2.04,1.16l3.29,6.71l0.92,3.19ZM696.92,237.31l-1.87,1.08l-1.63,-0.64l-0.06,-1.79l1.03,-0.98l2.58,-0.69l1.16,0.05l0.3,0.54l-0.98,1.06l-0.53,1.37Z",name:"China"},CM:{path:"M457.92,257.49l1.05,1.91l-1.4,0.16l-1.05,-0.23l-0.45,0.22l-0.54,1.19l0.08,0.45l1.48,1.47l1.05,0.45l1.01,2.46l-1.52,2.99l-0.68,0.68l-0.13,3.69l2.38,3.84l1.09,0.8l0.24,2.48l-3.67,-1.14l-11.27,-0.13l0.23,-1.79l-0.98,-1.66l-1.19,-0.54l-0.44,-0.97l-0.6,-0.42l1.71,-4.27l0.75,-0.13l1.38,-1.36l0.65,-0.03l1.71,0.99l1.93,-1.12l1.14,-3.18l1.38,-1.17l2.0,-5.14l2.17,-2.13l0.3,-1.64l-0.86,-0.88l0.03,-0.33l0.94,1.28l0.07,3.22Z",name:"Cameroon"},CL:{path:"M246.5,429.18l-3.14,1.83l-0.57,3.16l-0.64,0.05l-2.68,-1.06l-2.82,-2.33l-3.04,-1.89l-0.69,-1.85l0.63,-2.14l-1.21,-2.11l-0.31,-5.37l1.01,-2.91l2.57,-2.38l-0.18,-0.68l-3.16,-0.77l2.05,-2.47l0.77,-4.65l2.32,0.9l0.54,-0.29l1.31,-6.31l-0.22,-0.44l-1.68,-0.8l-0.56,0.28l-0.7,3.36l-0.81,-0.22l1.56,-9.41l1.15,-2.24l-0.71,-2.82l-0.18,-2.84l1.01,-0.33l3.26,-9.14l1.07,-4.22l-0.56,-4.21l0.74,-2.34l-0.29,-3.27l1.46,-3.34l2.04,-16.59l-0.66,-7.76l1.03,-0.53l0.54,-0.9l0.79,1.14l0.32,1.78l1.25,1.16l-0.69,2.55l1.33,2.9l0.97,3.59l0.46,0.29l1.5,-0.3l0.11,0.23l-0.76,2.44l-2.57,1.23l-0.23,0.37l0.08,4.33l-0.46,0.77l0.56,1.21l-1.58,1.51l-1.68,2.62l-0.89,2.47l0.2,2.7l-1.48,2.73l1.12,5.09l0.64,0.61l-0.01,2.29l-1.38,2.68l0.01,2.4l-1.89,2.04l0.02,2.75l0.69,2.57l-1.43,1.13l-1.26,5.68l0.39,3.51l-0.97,0.89l0.58,3.5l1.02,1.14l-0.65,1.02l0.15,0.57l1.0,0.53l0.16,0.69l-1.03,0.85l0.26,1.75l-0.89,4.03l-1.31,2.66l0.24,1.75l-0.71,1.83l-1.99,1.7l0.3,3.67l0.88,1.19l1.58,0.01l0.01,2.21l1.04,1.95l5.98,0.63ZM248.69,430.79l0.0,7.33l0.4,0.4l3.52,0.05l-0.44,0.75l-1.94,0.98l-2.49,-0.37l-1.88,-1.06l-2.55,-0.49l-5.59,-3.71l-2.38,-2.63l4.1,2.48l3.32,1.23l0.45,-0.12l1.29,-1.57l0.83,-2.32l2.05,-1.24l1.31,0.29Z",name:"Chile"},XC:{path:"M504.91,192.87l0.34,0.01l0.27,-0.07l-0.29,0.26l-0.31,-0.2Z",name:"N. Cyprus"},CA:{path:"M280.06,145.6l-1.67,2.88l0.07,0.49l0.5,0.04l1.46,-0.98l1.0,0.42l-0.56,0.72l0.17,0.62l2.22,0.89l1.35,-0.71l1.95,0.78l-0.66,2.01l0.5,0.51l1.32,-0.42l0.98,3.17l-0.91,2.41l-0.8,0.08l-1.23,-0.45l0.47,-2.25l-0.89,-0.83l-0.48,0.06l-2.78,2.63l-0.34,-0.02l1.02,-0.85l-0.14,-0.69l-2.4,-0.77l-7.4,0.08l-0.17,-0.41l1.3,-0.94l0.02,-0.64l-0.73,-0.58l1.85,-1.74l2.57,-5.16l1.47,-1.79l1.99,-1.05l0.46,0.06l-1.53,2.45ZM68.32,74.16l4.13,0.95l4.02,2.14l2.61,0.4l2.47,-1.89l2.88,-1.31l3.85,0.48l3.71,-1.94l3.82,-1.04l1.56,1.68l0.49,0.08l1.87,-1.04l0.65,-1.98l1.24,0.35l4.16,3.94l0.54,0.01l2.75,-2.49l0.26,2.59l0.49,0.35l3.08,-0.73l1.04,-1.27l2.73,0.23l3.83,1.86l5.86,1.61l3.47,0.75l2.44,-0.26l2.73,1.78l-2.98,1.81l-0.19,0.41l0.31,0.32l4.53,0.92l6.87,-0.5l2.0,-0.69l2.49,2.39l0.53,0.02l2.72,-2.16l-0.02,-0.64l-2.16,-1.54l1.15,-1.06l4.83,-0.61l1.84,0.95l2.48,2.31l3.01,-0.23l4.55,1.92l3.85,-0.67l3.61,0.1l0.41,-0.44l-0.25,-2.36l1.79,-0.61l3.49,1.32l-0.01,3.77l0.31,0.39l0.45,-0.22l1.48,-3.16l1.74,0.1l0.41,-0.3l1.13,-4.37l-2.78,-3.11l-2.8,-1.74l0.19,-4.64l2.71,-3.07l2.98,0.67l2.41,1.95l3.19,4.8l-1.99,1.97l0.21,0.68l4.33,0.84l-0.01,4.15l0.25,0.37l0.44,-0.09l3.07,-3.15l2.54,2.39l-0.61,3.33l2.42,2.88l0.61,0.0l2.61,-3.08l1.88,-3.82l0.17,-4.58l6.72,0.94l3.13,2.04l0.13,1.82l-1.76,2.19l-0.01,0.49l1.66,2.16l-0.26,1.71l-4.68,2.8l-3.28,0.61l-2.47,-1.2l-0.55,0.23l-0.73,2.04l-2.38,3.43l-0.74,1.77l-2.74,2.57l-3.44,0.25l-2.21,1.78l-0.28,2.53l-2.82,0.55l-3.12,3.22l-2.72,4.31l-1.03,3.17l-0.14,4.31l0.33,0.41l3.44,0.57l2.24,5.95l0.45,0.23l3.4,-0.69l4.52,1.51l2.43,1.31l1.91,1.73l3.1,0.96l2.62,1.46l6.6,0.54l-0.35,2.74l0.81,3.53l1.81,3.78l3.83,3.3l0.45,0.04l2.1,-1.28l1.37,-3.69l-1.31,-5.38l-1.45,-1.58l3.57,-1.47l2.84,-2.46l1.52,-2.8l-0.25,-2.55l-1.7,-3.07l-2.85,-2.61l2.8,-3.95l-1.08,-3.37l-0.79,-5.67l1.36,-0.7l6.76,1.41l2.12,-0.96l5.12,3.36l1.05,1.61l4.08,0.26l-0.06,2.87l0.83,4.7l0.3,0.32l2.16,0.54l1.73,2.06l0.5,0.09l3.63,-2.03l2.52,-4.19l1.26,-1.32l7.6,11.72l-0.92,2.04l0.16,0.51l3.3,1.97l2.22,1.98l4.1,0.98l1.43,0.99l0.95,2.79l2.1,0.68l0.84,1.08l0.17,3.45l-3.37,2.26l-4.22,1.24l-3.06,2.63l-4.06,0.51l-5.35,-0.69l-6.39,0.2l-2.3,2.41l-3.26,1.51l-6.47,7.15l-0.06,0.48l0.44,0.19l2.13,-0.52l4.17,-4.24l5.12,-2.62l3.52,-0.3l1.69,1.21l-2.12,2.21l0.81,3.47l1.02,2.61l3.47,1.6l4.14,-0.45l2.15,-2.8l0.26,1.48l1.14,0.8l-2.56,1.69l-5.5,1.82l-2.54,1.27l-2.74,2.15l-1.4,-0.16l-0.07,-2.01l4.14,-2.44l0.18,-0.45l-0.39,-0.29l-6.63,0.45l-1.39,-1.49l-0.14,-4.43l-1.11,-0.91l-1.82,0.39l-0.66,-0.66l-0.6,0.03l-1.91,2.39l-0.82,2.52l-0.8,1.27l-1.67,0.56l-0.46,0.76l-8.31,0.07l-1.21,0.62l-2.35,1.97l-0.71,-0.14l-1.37,0.96l-1.12,-0.48l-4.74,1.26l-0.9,1.17l0.21,0.62l1.73,0.3l-1.81,0.31l-1.85,0.81l-2.11,-0.13l-2.95,1.78l-0.69,-0.09l1.39,-2.1l1.73,-1.21l0.1,-2.29l1.16,-1.99l0.49,0.53l2.03,0.42l1.2,-1.16l0.02,-0.47l-2.66,-3.51l-2.28,-0.61l-5.64,-0.71l-0.4,-0.57l-0.79,0.13l0.2,-0.41l-0.22,-0.55l-0.68,-0.26l0.19,-1.26l-0.78,-0.73l0.31,-0.64l-0.29,-0.57l-2.6,-0.44l-0.75,-1.63l-0.94,-0.66l-4.31,-0.65l-1.13,1.19l-1.48,0.59l-0.85,1.06l-2.83,-0.76l-2.09,0.39l-2.39,-0.97l-4.24,-0.7l-0.57,-0.4l-0.41,-1.63l-0.4,-0.3l-0.85,0.02l-0.39,0.4l-0.01,0.85l-69.13,-0.01l-6.51,-4.52l-4.5,-1.38l-1.26,-2.66l0.33,-1.93l-0.23,-0.43l-3.01,-1.35l-0.55,-2.77l-2.89,-2.38l-0.04,-1.45l1.39,-1.83l-0.28,-2.55l-4.16,-2.2l-4.07,-6.6l-4.02,-3.22l-1.3,-1.88l-0.5,-0.13l-2.51,1.21l-2.23,1.87l-3.85,-3.88l-2.44,-1.04l-2.22,-0.13l0.03,-37.49ZM260.37,148.65l3.04,0.76l2.26,1.2l-3.78,-0.95l-1.53,-1.01ZM249.4,3.81l6.68,0.49l5.32,0.79l4.26,1.57l-0.07,1.1l-5.85,2.53l-6.02,1.21l-2.39,1.39l-0.18,0.45l0.39,0.29l4.01,-0.02l-4.65,2.82l-4.2,1.74l-4.19,4.59l-5.03,0.92l-1.67,1.15l-7.47,0.59l-0.37,0.37l0.32,0.42l2.41,0.49l-0.81,0.47l-0.12,0.59l1.83,2.41l-2.02,1.59l-3.81,1.51l-1.32,2.16l-3.38,1.53l-0.22,0.48l0.35,1.19l0.4,0.29l3.88,-0.18l0.03,0.61l-6.33,2.95l-6.41,-1.4l-7.43,0.79l-3.72,-0.62l-4.4,-0.25l-0.23,-1.83l4.29,-1.11l0.28,-0.51l-1.1,-3.45l1.0,-0.25l6.58,2.28l0.47,-0.16l-0.05,-0.49l-3.41,-3.45l-3.58,-0.98l1.48,-1.55l4.34,-1.29l0.97,-2.19l-0.16,-0.48l-3.42,-2.13l-0.81,-2.26l6.2,0.22l2.24,0.58l3.91,-2.1l0.2,-0.43l-0.35,-0.32l-5.64,-0.67l-8.73,0.36l-4.26,-1.9l-2.12,-2.4l-2.78,-1.66l-0.41,-1.52l3.31,-1.03l2.93,-0.2l4.91,-0.99l3.7,-2.27l2.87,0.3l2.62,1.67l0.56,-0.14l1.82,-3.2l3.13,-0.94l4.44,-0.69l7.53,-0.26l1.48,0.67l7.19,-1.06l10.8,0.79ZM203.85,57.54l0.01,0.42l1.97,2.97l0.68,-0.02l2.24,-3.72l5.95,-1.86l4.01,4.64l-0.35,2.91l0.5,0.43l4.95,-1.36l2.32,-1.8l5.31,2.28l3.27,2.11l0.3,1.84l0.48,0.33l4.42,-0.99l2.64,2.87l5.97,1.77l2.06,1.72l2.11,3.71l-4.19,1.86l-0.01,0.73l5.9,2.83l3.94,0.94l3.78,3.95l3.46,0.25l-0.63,2.37l-4.11,4.47l-2.76,-1.56l-3.9,-3.94l-3.59,0.41l-0.33,0.34l-0.19,2.72l2.63,2.38l3.42,1.89l0.94,0.97l1.55,3.75l-0.7,2.29l-2.74,-0.92l-6.25,-3.15l-0.51,0.13l0.05,0.52l6.07,5.69l0.18,0.59l-6.09,-1.39l-5.31,-2.24l-2.63,-1.66l0.6,-0.77l-0.12,-0.6l-7.39,-4.01l-0.59,0.37l0.03,0.79l-6.73,0.6l-1.69,-1.1l1.36,-2.46l4.51,-0.07l5.15,-0.52l0.31,-0.6l-0.74,-1.3l0.78,-1.84l3.21,-4.05l-0.67,-2.35l-1.11,-1.6l-3.84,-2.1l-4.35,-1.28l0.91,-0.63l0.06,-0.61l-2.65,-2.75l-2.34,-0.36l-1.89,-1.46l-0.53,0.03l-1.24,1.23l-4.36,0.55l-9.04,-0.99l-9.26,-1.98l-1.6,-1.22l2.22,-1.77l0.13,-0.44l-0.38,-0.27l-3.22,-0.02l-0.72,-4.25l1.83,-4.04l2.42,-1.85l5.5,-1.1l-1.39,2.35ZM261.19,159.33l2.07,0.61l1.44,-0.04l-1.15,0.63l-2.94,-1.23l-0.4,-0.68l0.36,-0.37l0.61,1.07ZM230.83,84.39l-2.37,0.18l-0.49,-1.63l0.93,-2.09l1.94,-0.51l1.62,0.99l0.02,1.52l-1.66,1.54ZM229.43,58.25l0.11,0.65l-4.87,-0.21l-2.72,0.62l-3.1,-2.57l0.08,-1.26l0.86,-0.23l5.57,0.51l4.08,2.5ZM222.0,105.02l-0.72,1.49l-0.63,-0.19l-0.48,-0.84l0.81,-0.99l0.65,0.05l0.37,0.46ZM183.74,38.32l2.9,1.7l4.79,-0.01l1.84,1.46l-0.49,1.68l0.23,0.48l2.82,1.14l1.76,1.26l7.01,0.65l4.1,-1.1l5.03,-0.43l3.93,0.35l2.48,1.77l0.46,1.7l-1.3,1.1l-3.56,1.01l-3.23,-0.59l-7.17,0.76l-5.09,0.09l-3.99,-0.6l-6.42,-1.54l-0.79,-2.51l-0.3,-2.49l-2.64,-2.5l-5.32,-0.72l-2.52,-1.4l0.68,-1.57l4.78,0.31ZM207.38,91.35l0.4,1.56l0.56,0.26l1.06,-0.52l1.32,0.96l5.42,2.57l0.2,1.68l0.46,0.35l1.68,-0.28l1.15,0.85l-1.55,0.87l-3.61,-0.88l-1.32,-1.69l-0.57,-0.06l-2.45,2.1l-3.12,1.79l-0.7,-1.87l-0.42,-0.26l-2.16,0.24l1.39,-1.39l0.32,-3.14l0.76,-3.35l1.18,0.22ZM215.49,102.6l-2.67,1.95l-1.4,-0.07l-0.3,-0.58l1.53,-1.48l2.84,0.18ZM202.7,24.12l2.53,1.59l-2.87,1.4l-4.53,4.05l-4.25,0.38l-5.03,-0.68l-2.45,-2.04l0.03,-1.62l1.82,-1.37l0.14,-0.45l-0.38,-0.27l-4.45,0.04l-2.59,-1.76l-1.41,-2.29l1.57,-2.32l1.62,-1.66l2.44,-0.39l0.25,-0.65l-0.6,-0.74l4.86,-0.25l3.24,3.11l8.16,2.3l1.9,3.61ZM187.47,59.2l-2.76,3.49l-2.38,-0.15l-1.44,-3.84l0.04,-2.2l1.19,-1.88l2.3,-1.23l5.07,0.17l4.11,1.02l-3.24,3.72l-2.88,0.89ZM186.07,48.79l-1.08,1.53l-3.34,-0.34l-2.56,-1.1l1.03,-1.75l3.25,-1.23l1.95,1.58l0.75,1.3ZM185.71,35.32l-5.3,-0.2l-0.32,-0.71l4.31,0.07l1.3,0.84ZM180.68,32.48l-3.34,1.0l-1.79,-1.1l-0.98,-1.87l-0.15,-1.73l4.1,0.53l2.67,1.7l-0.51,1.47ZM180.9,76.31l-1.1,1.08l-3.13,-1.23l-2.12,0.43l-2.71,-1.57l1.72,-1.09l1.55,-1.72l3.81,1.9l1.98,2.2ZM169.74,54.87l2.96,0.97l4.17,-0.57l0.41,0.88l-2.14,2.11l0.09,0.64l3.55,1.92l-0.4,3.72l-3.79,1.65l-2.17,-0.35l-1.72,-1.74l-6.02,-3.5l0.03,-0.85l4.68,0.54l0.4,-0.21l-0.05,-0.45l-2.48,-2.81l2.46,-1.95ZM174.45,40.74l1.37,1.73l0.07,2.44l-1.05,3.45l-3.79,0.47l-2.32,-0.69l0.05,-2.64l-0.44,-0.41l-3.68,0.35l-0.12,-3.1l2.45,0.1l3.67,-1.73l3.41,0.29l0.37,-0.26ZM170.05,31.55l0.67,1.56l-3.33,-0.49l-4.22,-1.77l-4.35,-0.16l1.4,-0.94l-0.06,-0.7l-2.81,-1.23l-0.12,-1.39l4.39,0.68l6.62,1.98l1.81,2.47ZM134.5,58.13l-1.02,1.82l0.45,0.58l5.4,-1.39l3.33,2.29l0.49,-0.03l2.6,-2.23l1.94,1.32l2.0,4.5l0.7,0.06l1.3,-2.29l-1.63,-4.46l1.69,-0.54l2.31,0.71l2.65,1.81l2.49,7.92l8.48,4.27l-0.19,1.35l-3.79,0.33l-0.26,0.67l1.4,1.49l-0.58,1.1l-4.23,-0.64l-4.43,-1.19l-3.0,0.28l-4.66,1.47l-10.52,1.04l-1.43,-2.02l-3.42,-1.2l-2.21,0.43l-2.51,-2.86l4.84,-1.05l3.6,0.19l3.27,-0.78l0.31,-0.39l-0.31,-0.39l-4.84,-1.06l-8.79,0.27l-0.85,-1.07l5.26,-1.66l0.27,-0.45l-0.4,-0.34l-3.8,0.06l-3.81,-1.06l1.81,-3.01l1.66,-1.79l6.48,-2.81l1.97,0.71ZM158.7,56.61l-1.7,2.44l-3.2,-2.75l0.37,-0.3l3.11,-0.18l1.42,0.79ZM149.61,42.73l1.01,1.89l0.5,0.18l2.14,-0.82l2.23,0.19l0.36,2.04l-1.33,2.09l-8.28,0.76l-6.35,2.15l-3.41,0.1l-0.19,-0.96l4.9,-2.08l0.23,-0.46l-0.41,-0.31l-11.25,0.59l-2.89,-0.74l3.04,-4.44l2.14,-1.32l6.81,1.69l4.58,3.06l4.37,0.39l0.36,-0.63l-3.36,-4.6l1.85,-1.53l2.18,0.51l0.77,2.26ZM144.76,34.41l-4.36,1.44l-3.0,-1.4l1.46,-1.24l3.47,-0.52l2.96,0.71l-0.52,1.01ZM145.13,29.83l-1.9,0.66l-3.67,-0.0l2.27,-1.61l3.3,0.95ZM118.92,65.79l-6.03,2.02l-1.33,-1.9l-5.38,-2.28l2.59,-5.05l2.16,-3.14l-0.02,-0.48l-1.97,-2.41l7.64,-0.7l3.6,1.02l6.3,0.27l4.42,2.95l-2.53,0.98l-6.24,3.43l-3.1,3.28l-0.11,2.01ZM129.54,35.53l-0.28,3.37l-1.72,1.62l-2.33,0.28l-4.61,2.19l-3.86,0.76l-2.64,-0.87l3.72,-3.4l5.01,-3.34l3.72,0.07l3.0,-0.67ZM111.09,152.69l-0.67,0.24l-3.85,-1.37l-0.83,-1.17l-2.12,-1.07l-0.66,-1.02l-2.4,-0.55l-0.74,-1.71l6.02,1.45l2.0,2.55l2.52,1.39l0.73,1.27ZM87.8,134.64l0.89,0.29l1.86,-0.21l-0.65,3.34l1.69,2.33l-1.31,-1.33l-0.99,-1.62l-1.17,-0.98l-0.33,-1.82Z",name:"Canada"},CG:{path:"M466.72,276.48l-0.1,1.03l-1.25,2.97l-0.19,3.62l-0.46,1.78l-0.23,0.63l-1.61,1.19l-1.21,1.39l-1.09,2.43l0.04,2.09l-3.25,3.24l-0.5,-0.24l-0.5,-0.83l-1.36,-0.02l-0.98,0.89l-1.68,-0.99l-1.54,1.24l-1.52,-1.96l1.57,-1.14l0.11,-0.52l-0.77,-1.35l2.1,-0.66l0.39,-0.73l1.05,0.82l2.21,0.11l1.12,-1.37l0.37,-1.81l-0.27,-2.09l-1.13,-1.5l1.0,-2.69l-0.13,-0.45l-0.92,-0.58l-1.6,0.17l-0.51,-0.94l0.1,-0.61l2.75,0.09l3.97,1.24l0.51,-0.33l0.17,-1.28l1.24,-2.21l1.28,-1.14l2.76,0.49Z",name:"Congo"},CF:{path:"M461.16,278.2l-0.26,-1.19l-1.09,-0.77l-0.84,-1.17l-0.29,-1.0l-1.04,-1.15l0.08,-3.43l0.58,-0.49l1.16,-2.35l1.85,-0.17l0.61,-0.62l0.97,0.58l3.15,-0.96l2.48,-1.92l0.02,-0.96l2.81,0.02l2.36,-1.17l1.93,-2.85l1.16,-0.93l1.11,-0.3l0.27,0.86l1.34,1.47l-0.39,2.01l0.3,1.01l4.01,2.75l0.17,0.93l2.63,2.31l0.6,1.44l2.08,1.4l-3.84,-0.21l-1.94,0.88l-1.23,-0.49l-2.67,1.2l-1.29,-0.18l-0.51,0.36l-0.6,1.22l-3.35,-0.65l-1.57,-0.91l-2.42,-0.83l-1.45,0.91l-0.97,1.27l-0.26,1.56l-3.22,-0.43l-1.49,1.33l-0.94,1.62Z",name:"Central African Rep."},CD:{path:"M487.01,272.38l2.34,-0.14l1.35,1.84l1.34,0.45l0.86,-0.39l1.21,0.12l1.07,-0.41l0.54,0.89l2.04,1.54l-0.14,2.72l0.7,0.54l-1.38,1.13l-1.53,2.54l-0.17,2.05l-0.59,1.08l-0.02,1.72l-0.72,0.84l-0.66,3.01l0.63,1.32l-0.44,4.26l0.64,1.47l-0.37,1.22l0.86,1.8l1.53,1.41l0.3,1.26l0.44,0.5l-4.08,0.75l-0.92,1.81l0.51,1.34l-0.74,5.43l0.17,0.38l2.45,1.46l0.54,-0.1l0.12,1.62l-1.28,-0.01l-1.85,-2.35l-1.94,-0.45l-0.48,-1.13l-0.55,-0.2l-1.41,0.74l-1.71,-0.3l-1.01,-1.18l-2.49,-0.19l-0.44,-0.77l-1.98,-0.21l-2.88,0.36l0.11,-2.41l-0.85,-1.13l-0.16,-1.36l0.32,-1.73l-0.46,-0.89l-0.04,-1.49l-0.4,-0.39l-2.53,0.02l0.1,-0.41l-0.39,-0.49l-1.28,0.01l-0.43,0.45l-1.62,0.32l-0.83,1.79l-1.09,-0.28l-2.4,0.52l-1.37,-1.91l-1.3,-3.3l-0.38,-0.27l-7.39,-0.03l-2.46,0.42l0.5,-0.45l0.37,-1.47l0.66,-0.38l0.92,0.08l0.73,-0.82l0.87,0.02l0.31,0.68l1.4,0.36l3.59,-3.63l0.01,-2.23l1.02,-2.29l2.69,-2.39l0.43,-0.99l0.49,-1.96l0.17,-3.51l1.25,-2.95l0.36,-3.14l0.86,-1.13l1.1,-0.66l3.57,1.73l3.65,0.73l0.46,-0.21l0.8,-1.46l1.24,0.19l2.61,-1.17l0.81,0.44l1.04,-0.03l0.59,-0.66l0.7,-0.16l1.81,0.25Z",name:"Dem. Rep. Congo"},CZ:{path:"M458.46,144.88l1.22,1.01l1.47,0.23l0.13,0.93l1.36,0.68l0.54,-0.2l0.24,-0.55l1.15,0.25l0.53,1.09l1.68,0.18l0.6,0.84l-1.04,0.73l-0.96,1.28l-1.6,0.17l-0.55,0.56l-1.04,-0.46l-1.05,0.15l-2.12,-0.96l-1.05,0.34l-1.2,1.12l-1.56,-0.87l-2.57,-2.1l-0.53,-1.88l4.7,-2.52l0.71,0.26l0.9,-0.28Z",name:"Czech Rep."},CY:{path:"M504.36,193.47l0.43,0.28l-1.28,0.57l-0.92,-0.28l-0.24,-0.46l2.01,-0.13Z",name:"Cyprus"},CR:{path:"M211.34,258.05l0.48,0.99l1.6,1.6l-0.54,0.45l0.29,1.42l-0.25,1.19l-1.09,-0.59l-0.05,-1.25l-2.46,-1.42l-0.28,-0.77l-0.66,-0.45l-0.45,-0.0l-0.11,1.04l-1.32,-0.95l0.31,-1.3l-0.36,-0.6l0.31,-0.27l1.42,0.58l1.29,-0.14l0.56,0.56l0.74,0.17l0.55,-0.27Z",name:"Costa Rica"},CU:{path:"M221.21,227.25l1.27,1.02l2.19,-0.28l4.43,3.33l2.08,0.43l-0.1,0.38l0.36,0.5l1.75,0.1l1.48,0.84l-3.11,0.51l-4.15,-0.03l0.77,-0.67l-0.04,-0.64l-1.2,-0.74l-1.49,-0.16l-0.7,-0.61l-0.56,-1.4l-0.4,-0.25l-1.34,0.1l-2.2,-0.66l-0.88,-0.58l-3.18,-0.4l-0.27,-0.16l0.58,-0.74l-0.36,-0.29l-2.72,-0.05l-1.7,1.29l-0.91,0.03l-0.61,0.69l-1.01,0.22l1.11,-1.29l1.01,-0.52l3.69,-1.01l3.98,0.21l2.21,0.84Z",name:"Cuba"},SZ:{path:"M500.35,351.36l0.5,2.04l-0.38,0.89l-1.05,0.21l-1.23,-1.2l-0.02,-0.64l0.83,-1.57l1.34,0.27Z",name:"Swaziland"},SY:{path:"M511.0,199.79l0.05,-1.33l0.54,-1.36l1.28,-0.99l0.13,-0.45l-0.41,-1.11l-1.14,-0.36l-0.19,-1.74l0.52,-1.0l1.29,-1.21l0.2,-1.18l0.59,0.23l2.62,-0.76l1.36,0.52l2.06,-0.01l2.95,-1.08l3.25,-0.26l-0.67,0.94l-1.28,0.66l-0.21,0.4l0.23,2.01l-0.88,3.19l-10.15,5.73l-2.15,-0.85Z",name:"Syria"},KG:{path:"M621.35,172.32l-3.87,1.69l-0.96,1.18l-3.04,0.34l-1.13,1.86l-2.36,-0.35l-1.99,0.63l-2.39,1.4l0.06,0.95l-0.4,0.37l-4.52,0.43l-3.02,-0.93l-2.37,0.17l0.11,-0.79l2.32,0.42l1.13,-0.88l1.99,0.2l3.21,-2.14l-0.03,-0.69l-2.97,-1.57l-1.94,0.65l-1.22,-0.74l1.71,-1.58l-0.12,-0.67l-0.36,-0.15l0.32,-0.77l1.36,-0.35l4.02,1.02l0.49,-0.3l0.35,-1.59l1.09,-0.48l3.42,1.22l1.11,-0.31l7.64,0.39l1.16,1.0l1.23,0.39Z",name:"Kyrgyzstan"},KE:{path:"M506.26,284.69l1.87,-2.56l0.93,-2.15l-1.38,-4.08l-1.06,-1.6l2.82,-2.75l0.79,0.26l0.12,1.41l0.86,0.83l1.9,0.11l3.28,2.13l3.57,0.44l1.05,-1.12l1.96,-0.9l0.82,0.68l1.16,0.09l-1.78,2.45l0.03,9.12l1.3,1.94l-1.37,0.78l-0.67,1.03l-1.08,0.46l-0.34,1.67l-0.81,1.07l-0.45,1.55l-0.68,0.56l-3.2,-2.23l-0.35,-1.58l-8.86,-4.98l0.14,-1.6l-0.57,-1.04Z",name:"Kenya"},SS:{path:"M481.71,263.34l1.07,-0.72l1.2,-3.18l1.36,-0.26l1.61,1.99l0.87,0.34l1.1,-0.41l1.5,0.07l0.57,0.53l2.49,0.0l0.44,-0.63l1.07,-0.4l0.45,-0.84l0.59,-0.33l1.9,1.33l1.6,-0.2l2.83,-3.33l-0.32,-2.21l1.59,-0.52l-0.24,1.6l0.3,1.83l1.35,1.18l0.2,1.87l0.35,0.41l0.02,1.53l-0.23,0.47l-1.42,0.25l-0.85,1.44l0.3,0.6l1.4,0.16l1.11,1.08l0.59,1.13l1.03,0.53l1.28,2.36l-4.41,3.98l-1.74,0.01l-1.89,0.55l-1.47,-0.52l-1.15,0.57l-2.96,-2.62l-1.3,0.49l-1.06,-0.15l-0.79,0.39l-0.82,-0.22l-1.8,-2.7l-1.91,-1.1l-0.66,-1.5l-2.62,-2.32l-0.18,-0.94l-2.37,-1.6Z",name:"S. Sudan"},SR:{path:"M283.12,270.19l2.1,0.53l-1.08,1.95l0.2,1.72l0.93,1.49l-0.59,2.03l-0.43,0.71l-1.12,-0.42l-1.32,0.22l-0.93,-0.2l-0.46,0.26l-0.25,0.73l0.33,0.7l-0.89,-0.13l-1.39,-1.97l-0.31,-1.34l-0.97,-0.31l-0.89,-1.47l0.35,-1.61l1.45,-0.82l0.33,-1.87l2.61,0.44l0.57,-0.47l1.75,-0.16Z",name:"Suriname"},KH:{path:"M689.52,249.39l0.49,1.45l-0.28,2.74l-4.0,1.86l-0.16,0.6l0.68,0.95l-2.06,0.17l-2.05,0.97l-1.82,-0.32l-2.12,-3.7l-0.55,-2.85l1.4,-1.85l3.02,-0.45l2.23,0.35l2.01,0.98l0.51,-0.14l0.95,-1.48l1.74,0.74Z",name:"Cambodia"},SV:{path:"M195.8,250.13l1.4,-1.19l2.24,1.45l0.98,-0.27l0.44,0.2l-0.27,1.05l-1.14,-0.03l-3.64,-1.21Z",name:"El Salvador"},SK:{path:"M476.82,151.17l-1.14,1.9l-2.73,-0.92l-0.82,0.2l-0.74,0.8l-3.46,0.73l-0.47,0.69l-1.76,0.33l-1.88,-1.0l-0.18,-0.81l0.38,-0.75l1.87,-0.32l1.74,-1.89l0.83,0.16l0.79,-0.34l1.51,1.04l1.34,-0.63l1.25,0.3l1.65,-0.42l1.81,0.95Z",name:"Slovakia"},KR:{path:"M737.51,185.84l0.98,-0.1l0.87,-1.17l2.69,-0.32l0.33,-0.29l1.76,2.79l0.58,1.76l0.02,3.12l-0.8,1.32l-2.21,0.55l-1.93,1.13l-1.8,0.19l-0.2,-1.1l0.43,-2.28l-0.95,-2.56l1.43,-0.37l0.23,-0.62l-1.43,-2.06Z",name:"Korea"},SI:{path:"M456.18,162.07l-0.51,-1.32l0.18,-1.05l1.69,0.2l1.42,-0.71l2.09,-0.07l0.62,-0.51l0.21,0.47l-1.61,0.67l-0.44,1.34l-0.66,0.24l-0.26,0.82l-1.22,-0.49l-0.84,0.46l-0.69,-0.04Z",name:"Slovenia"},KP:{path:"M736.77,185.16l-0.92,-0.42l-0.88,0.62l-1.21,-0.88l0.96,-1.15l0.59,-2.59l-0.46,-0.74l-2.09,-0.77l1.64,-1.52l2.72,-1.58l1.58,-1.91l1.11,0.78l2.17,0.11l0.41,-0.5l-0.3,-1.22l3.52,-1.18l0.94,-1.4l0.98,1.08l-2.19,2.18l0.01,2.14l-1.06,0.54l-1.41,1.4l-1.7,0.52l-1.25,1.09l-0.14,1.98l0.94,0.45l1.15,1.04l-0.13,0.26l-2.6,0.29l-1.13,1.29l-1.22,0.08Z",name:"Dem. Rep. Korea"},KW:{path:"M540.81,207.91l0.37,0.86l-0.17,0.76l0.6,1.53l-0.95,0.04l-0.82,-1.28l-1.57,-0.18l1.31,-1.88l1.22,0.17Z",name:"Kuwait"},SN:{path:"M390.09,248.21l0.12,1.55l0.49,1.46l0.96,0.82l0.05,1.28l-1.26,-0.19l-0.75,0.33l-1.84,-0.61l-5.84,-0.13l-2.54,0.51l-0.22,-1.03l1.77,0.04l2.01,-0.91l1.03,0.48l1.09,0.04l1.29,-0.62l0.14,-0.58l-0.51,-0.74l-1.81,0.25l-1.13,-0.63l-0.79,0.04l-0.72,0.61l-2.31,0.06l-0.92,-1.77l-0.81,-0.64l0.64,-0.35l2.46,-3.74l1.04,0.19l1.38,-0.56l1.19,-0.02l2.72,1.37l3.03,3.48Z",name:"Senegal"},SL:{path:"M394.46,264.11l-1.73,1.98l-0.58,1.33l-2.07,-1.06l-1.22,-1.26l-0.65,-2.39l1.16,-0.96l0.67,-1.17l1.21,-0.52l1.66,0.0l1.03,1.64l0.52,2.41Z",name:"Sierra Leone"},KZ:{path:"M552.8,172.89l0.46,-1.27l-0.48,-1.05l-2.96,-1.19l-1.06,-2.58l-1.37,-0.87l-0.03,-0.3l1.95,0.23l0.45,-0.38l0.08,-1.96l1.75,-0.41l2.1,0.45l0.48,-0.33l0.45,-3.04l-0.45,-2.09l-0.41,-0.31l-2.42,0.15l-2.36,-0.73l-2.87,1.37l-2.17,0.61l-0.85,-0.34l0.13,-1.61l-1.6,-2.12l-2.02,-0.08l-1.78,-1.82l1.29,-2.18l-0.57,-0.95l1.62,-2.91l2.21,1.63l0.63,-0.27l0.29,-2.22l4.92,-3.43l3.71,-0.08l8.4,3.6l2.92,-1.36l3.77,-0.06l3.11,1.66l0.51,-0.11l0.6,-0.81l3.31,0.13l0.39,-0.25l0.63,-1.57l-0.17,-0.5l-3.5,-1.98l1.87,-1.27l-0.13,-1.03l1.98,-0.72l0.18,-0.62l-1.59,-2.06l0.81,-0.82l9.23,-1.18l1.33,-0.88l6.18,-1.26l2.26,-1.42l4.08,0.68l0.73,3.33l0.51,0.3l2.48,-0.8l2.79,1.02l-0.17,1.56l0.43,0.44l2.55,-0.24l4.89,-2.53l0.03,0.32l3.15,2.61l5.56,8.47l0.65,0.02l1.12,-1.46l3.15,1.74l3.76,-0.78l1.15,0.49l1.14,1.8l1.84,0.76l0.99,1.29l3.35,-0.25l1.02,1.52l-1.6,1.81l-1.93,0.28l-0.34,0.38l-0.11,3.05l-1.13,1.16l-4.75,-1.0l-0.46,0.27l-1.76,5.47l-1.1,0.59l-4.91,1.23l-0.27,0.54l2.1,4.97l-1.37,0.63l-0.23,0.41l0.13,1.13l-0.88,-0.25l-1.42,-1.13l-7.89,-0.4l-0.92,0.31l-3.73,-1.22l-1.42,0.63l-0.53,1.66l-3.72,-0.94l-1.85,0.43l-0.76,1.4l-4.65,2.62l-1.13,2.08l-0.44,0.01l-0.92,-1.4l-2.87,-0.09l-0.45,-2.14l-0.38,-0.32l-0.8,-0.01l0.0,-2.96l-3.0,-2.22l-7.31,0.58l-2.35,-2.68l-6.71,-3.69l-6.45,1.83l-0.29,0.39l0.1,10.85l-0.7,0.08l-1.62,-2.17l-1.83,-0.96l-3.11,0.59l-0.64,0.51Z",name:"Kazakhstan"},SA:{path:"M537.53,210.34l2.0,0.24l0.9,1.32l1.49,-0.06l0.87,2.08l1.29,0.76l0.51,0.99l1.56,1.03l-0.1,1.9l0.32,0.9l1.58,2.47l0.76,0.53l0.7,-0.04l1.68,4.23l7.53,1.33l0.51,-0.29l0.77,1.25l-1.55,4.87l-7.29,2.52l-7.3,1.03l-2.34,1.17l-1.88,2.74l-0.76,0.28l-0.82,-0.78l-0.91,0.12l-2.88,-0.51l-3.51,0.25l-0.86,-0.56l-0.57,0.15l-0.66,1.27l0.16,1.11l-0.43,0.32l-0.93,-1.4l-0.33,-1.16l-1.23,-0.88l-1.27,-2.06l-0.78,-2.22l-1.73,-1.79l-1.14,-0.48l-1.54,-2.31l-0.21,-3.41l-1.44,-2.93l-1.27,-1.16l-1.33,-0.57l-1.31,-3.37l-0.77,-0.67l-0.97,-1.97l-2.8,-4.03l-1.06,-0.17l0.37,-1.96l0.2,-0.72l2.74,0.3l1.08,-0.84l0.6,-0.94l1.74,-0.35l0.65,-1.03l0.71,-0.4l0.1,-0.62l-2.06,-2.28l4.39,-1.22l0.48,-0.37l2.77,0.69l3.66,1.9l7.03,5.5l4.87,0.3Z",name:"Saudi Arabia"},SE:{path:"M480.22,89.3l-4.03,1.17l-2.43,2.86l0.26,2.57l-8.77,6.64l-1.78,5.79l1.78,2.68l2.22,1.96l-2.07,3.77l-2.72,1.13l-0.95,6.04l-1.29,3.01l-2.74,-0.31l-0.4,0.22l-1.31,2.59l-2.34,0.13l-0.75,-3.09l-2.08,-4.03l-1.83,-4.96l1.0,-1.93l2.14,-2.7l0.83,-4.45l-1.6,-2.17l-0.15,-4.94l1.48,-3.39l2.58,-0.15l0.87,-1.59l-0.78,-1.57l3.76,-5.59l4.04,-7.48l2.17,0.01l0.39,-0.29l0.57,-2.07l4.37,0.64l0.46,-0.34l0.33,-2.56l1.1,-0.13l6.94,4.87l0.06,6.32l0.66,1.36Z",name:"Sweden"},SD:{path:"M505.98,259.4l-0.34,-0.77l-1.17,-0.9l-0.26,-1.61l0.29,-1.81l-0.34,-0.46l-1.16,-0.17l-0.54,0.59l-1.23,0.11l-0.28,0.65l0.53,0.65l0.17,1.22l-2.44,3.0l-0.96,0.19l-2.39,-1.4l-0.95,0.52l-0.38,0.78l-1.11,0.41l-0.29,0.5l-1.94,0.0l-0.54,-0.52l-1.81,-0.09l-0.95,0.4l-2.45,-2.35l-2.07,0.54l-0.73,1.26l-0.6,2.1l-1.25,0.58l-0.75,-0.62l0.27,-2.65l-1.48,-1.78l-0.22,-1.48l-0.92,-0.96l-0.02,-1.29l-0.57,-1.16l-0.68,-0.16l0.69,-1.29l-0.18,-1.14l0.65,-0.62l0.03,-0.55l-0.36,-0.41l1.55,-2.97l1.91,0.16l0.43,-0.4l-0.1,-10.94l2.49,-0.01l0.4,-0.4l-0.0,-4.82l29.02,0.0l0.64,2.04l-0.49,0.66l0.36,2.69l0.93,3.16l2.12,1.55l-0.89,1.04l-1.72,0.39l-0.98,0.9l-1.43,5.65l0.24,1.15l-0.38,2.06l-0.96,2.38l-1.53,1.31l-1.32,2.91l-1.22,0.86l-0.37,1.34Z",name:"Sudan"},DO:{path:"M241.8,239.2l0.05,-0.65l-0.46,-0.73l0.42,-0.44l0.19,-1.0l-0.09,-1.53l1.66,0.01l1.99,0.63l0.33,0.67l1.28,0.19l0.33,0.76l1.0,0.08l0.8,0.62l-0.45,0.51l-1.13,-0.47l-1.88,-0.01l-1.27,0.59l-0.75,-0.55l-1.01,0.54l-0.79,1.4l-0.23,-0.61Z",name:"Dominican Rep."},DJ:{path:"M528.43,256.18l-0.45,0.66l-0.58,-0.25l-1.51,0.13l-0.18,-1.01l1.45,-1.95l0.83,0.17l0.77,-0.44l0.2,1.0l-1.2,0.51l-0.06,0.7l0.73,0.47Z",name:"Djibouti"},DK:{path:"M452.28,129.07l-1.19,2.24l-2.13,-1.6l-0.23,-0.95l2.98,-0.95l0.57,1.26ZM447.74,126.31l-0.26,0.57l-0.88,-0.07l-1.8,2.53l0.48,1.69l-1.09,0.36l-1.61,-0.39l-0.89,-1.69l-0.07,-3.43l0.96,-1.73l2.02,-0.2l1.09,-1.07l1.33,-0.67l-0.05,1.06l-0.73,1.41l0.3,1.0l1.2,0.64Z",name:"Denmark"},DE:{path:"M453.14,155.55l-0.55,-0.36l-1.2,-0.1l-1.87,0.57l-2.13,-0.13l-0.56,0.63l-0.86,-0.6l-0.96,0.09l-2.57,-0.93l-0.85,0.67l-1.47,-0.02l0.24,-1.75l1.23,-2.14l-0.28,-0.59l-3.52,-0.58l-0.92,-0.66l0.12,-1.2l-0.48,-0.88l0.27,-2.17l-0.37,-3.03l1.41,-0.22l0.63,-1.26l0.66,-3.19l-0.41,-1.18l0.26,-0.39l1.66,-0.15l0.33,0.54l0.62,0.07l1.7,-1.69l-0.54,-3.02l1.37,0.33l1.31,-0.37l0.31,1.18l2.25,0.71l-0.02,0.92l0.5,0.4l2.55,-0.65l1.34,-0.87l2.57,1.24l1.06,0.98l0.48,1.44l-0.57,0.74l-0.0,0.48l0.87,1.15l0.57,1.64l-0.14,1.29l0.82,1.7l-1.5,-0.07l-0.56,0.57l-4.47,2.15l-0.22,0.54l0.68,2.26l2.58,2.16l-0.66,1.11l-0.79,0.36l-0.23,0.43l0.32,1.87Z",name:"Germany"},YE:{path:"M528.27,246.72l0.26,-0.42l-0.22,-1.01l0.19,-1.5l0.92,-0.69l-0.07,-1.35l0.39,-0.75l1.01,0.47l3.34,-0.27l3.76,0.41l0.95,0.81l1.36,-0.58l1.74,-2.62l2.18,-1.09l6.86,-0.94l2.48,5.41l-1.64,0.76l-0.56,1.9l-6.23,2.16l-2.29,1.8l-1.93,0.05l-1.41,1.02l-4.24,0.74l-1.72,1.49l-3.28,0.19l-0.52,-1.18l0.02,-1.51l-1.34,-3.29Z",name:"Yemen"},DZ:{path:"M441.46,188.44l-0.32,1.07l0.39,2.64l-0.54,2.16l-1.58,1.82l0.37,2.39l1.91,1.55l0.18,0.8l1.42,1.03l1.84,7.23l0.12,1.16l-0.57,5.0l0.2,1.51l-0.87,0.99l-0.02,0.51l1.41,1.86l0.14,1.2l0.89,1.48l0.5,0.16l0.98,-0.41l1.73,1.08l0.82,1.23l-8.22,4.81l-7.23,5.11l-3.43,1.13l-2.3,0.21l-0.28,-1.59l-2.56,-1.09l-0.67,-1.25l-26.12,-17.86l0.01,-3.47l3.77,-1.88l2.44,-0.41l2.12,-0.75l1.08,-1.42l2.81,-1.05l0.35,-2.08l1.33,-0.29l1.04,-0.94l3.47,-0.69l0.46,-1.08l-0.1,-0.45l-0.58,-0.52l-0.82,-2.81l-0.19,-1.83l-0.78,-1.49l2.03,-1.31l2.63,-0.48l1.7,-1.22l2.31,-0.84l8.24,-0.73l1.49,0.38l2.28,-1.1l2.46,-0.02l0.92,0.6l1.35,-0.05Z",name:"Algeria"},US:{path:"M892.72,99.2l1.31,0.53l1.41,-0.37l1.89,0.98l1.89,0.42l-1.32,0.58l-2.9,-1.53l-2.08,0.22l-0.26,-0.15l0.07,-0.67ZM183.22,150.47l0.37,1.47l1.12,0.85l4.23,0.7l2.39,0.98l2.17,-0.38l1.85,0.5l-1.55,0.65l-3.49,2.61l-0.16,0.77l0.5,0.39l2.33,-0.61l1.77,1.02l5.15,-2.4l-0.31,0.65l0.25,0.56l1.36,0.38l1.71,1.16l4.7,-0.88l0.67,0.85l1.31,0.21l0.58,0.58l-1.34,0.17l-2.18,-0.32l-3.6,0.89l-2.71,3.25l0.35,0.9l0.59,-0.0l0.55,-0.6l-1.36,4.65l0.29,3.09l0.67,1.58l0.61,0.45l1.77,-0.44l1.6,-1.96l0.14,-2.21l-0.82,-1.96l0.11,-1.13l1.19,-2.37l0.44,-0.33l0.48,0.75l0.4,-0.29l0.4,-1.37l0.6,-0.47l0.24,-0.8l1.69,0.49l1.65,1.08l-0.03,2.37l-1.27,1.13l-0.0,1.13l0.87,0.36l1.66,-1.29l0.5,0.17l0.5,2.6l-2.49,3.75l0.17,0.61l1.54,0.62l1.48,0.17l1.92,-0.44l4.72,-2.15l2.16,-1.8l-0.05,-1.24l0.75,-0.22l3.92,0.36l2.12,-1.05l0.21,-0.4l-0.28,-1.48l3.27,-2.4l8.32,-0.02l0.56,-0.82l1.9,-0.77l0.93,-1.51l0.74,-2.37l1.58,-1.98l0.92,0.62l1.47,-0.47l0.8,0.66l-0.0,4.09l1.96,2.6l-2.34,1.31l-5.37,2.09l-1.83,2.72l0.02,1.79l0.83,1.59l0.54,0.23l-6.19,0.94l-2.2,0.89l-0.23,0.48l0.45,0.29l2.99,-0.46l-2.19,0.56l-1.13,0.0l-0.15,-0.32l-0.48,0.08l-0.76,0.82l0.22,0.67l0.32,0.06l-0.41,1.62l-1.27,1.58l-1.48,-1.07l-0.49,-0.04l-0.16,0.46l0.52,1.58l0.61,0.59l0.03,0.79l-0.95,1.38l-1.21,-1.22l-0.27,-2.27l-0.35,-0.35l-0.42,0.25l-0.48,1.27l0.33,1.41l-0.97,-0.27l-0.48,0.24l0.18,0.5l1.52,0.83l0.1,2.52l0.79,0.51l0.52,3.42l-1.42,1.88l-2.47,0.8l-1.71,1.66l-1.31,0.25l-1.27,1.03l-0.43,0.99l-2.69,1.78l-2.64,3.03l-0.45,2.12l0.45,2.08l0.85,2.38l1.09,1.9l0.04,1.2l1.16,3.06l-0.18,2.69l-0.55,1.43l-0.47,0.21l-0.89,-0.23l-0.49,-1.18l-0.87,-0.56l-2.75,-5.16l0.48,-1.68l-0.72,-1.78l-2.01,-2.38l-1.12,-0.53l-2.72,1.18l-1.47,-1.35l-1.57,-0.68l-2.99,0.31l-2.17,-0.3l-2.0,0.19l-1.15,0.46l-0.19,0.58l0.39,0.63l0.14,1.34l-0.84,-0.2l-0.84,0.46l-1.58,-0.07l-2.08,-1.44l-2.09,0.33l-1.91,-0.62l-3.73,0.84l-2.39,2.07l-2.54,1.22l-1.45,1.41l-0.61,1.38l0.34,3.71l-0.29,0.02l-3.5,-1.33l-1.25,-3.11l-1.44,-1.5l-2.24,-3.56l-1.76,-1.09l-2.27,-0.01l-1.71,2.07l-1.76,-0.69l-1.16,-0.74l-1.52,-2.98l-3.93,-3.16l-4.34,-0.0l-0.4,0.4l-0.0,0.74l-6.5,0.02l-9.02,-3.14l-0.34,-0.71l-5.7,0.49l-0.43,-1.29l-1.62,-1.61l-1.14,-0.38l-0.55,-0.88l-1.28,-0.13l-1.01,-0.77l-2.22,-0.27l-0.43,-0.3l-0.36,-1.58l-2.4,-2.83l-2.01,-3.85l-0.06,-0.9l-2.92,-3.26l-0.33,-2.29l-1.3,-1.66l0.52,-2.37l-0.09,-2.57l-0.78,-2.3l0.95,-2.82l0.61,-5.68l-0.47,-4.27l-1.46,-4.08l3.19,0.79l1.26,2.83l0.69,0.08l0.69,-1.14l-1.1,-4.79l68.76,-0.0l0.4,-0.4l0.14,-0.86ZM32.44,67.52l1.73,1.97l0.55,0.05l0.99,-0.79l3.65,0.24l-0.09,0.62l0.32,0.45l3.83,0.77l2.61,-0.43l5.19,1.4l4.84,0.43l1.89,0.57l3.42,-0.7l6.14,1.87l-0.03,38.06l0.38,0.4l2.39,0.11l2.31,0.98l3.9,3.99l0.55,0.04l2.4,-2.03l2.16,-1.04l1.2,1.71l3.95,3.14l4.09,6.63l4.2,2.29l0.06,1.83l-1.02,1.23l-1.16,-1.08l-2.04,-1.03l-0.67,-2.89l-3.28,-3.03l-1.65,-3.57l-6.35,-0.32l-2.82,-1.01l-5.26,-3.85l-6.77,-2.04l-3.53,0.3l-4.81,-1.69l-3.25,-1.63l-2.78,0.8l-0.28,0.46l0.44,2.21l-3.91,0.96l-2.26,1.27l-2.3,0.65l-0.27,-1.65l1.05,-3.42l2.49,-1.09l0.16,-0.6l-0.69,-0.96l-0.55,-0.1l-3.19,2.12l-1.78,2.56l-3.55,2.61l-0.04,0.61l1.56,1.52l-2.07,2.29l-5.11,2.57l-0.77,1.66l-3.76,1.77l-0.92,1.73l-2.69,1.38l-1.81,-0.22l-6.95,3.32l-3.97,0.91l4.85,-2.5l2.59,-1.86l3.26,-0.52l1.19,-1.4l3.42,-2.1l2.59,-2.27l0.42,-2.68l1.23,-2.1l-0.04,-0.46l-0.45,-0.11l-2.68,1.03l-0.63,-0.49l-0.53,0.03l-1.05,1.04l-1.36,-1.54l-0.66,0.08l-0.32,0.62l-0.58,-1.14l-0.56,-0.16l-2.41,1.42l-1.07,-0.0l-0.17,-1.75l0.3,-1.71l-1.61,-1.33l-3.41,0.59l-1.96,-1.63l-1.57,-0.84l-0.15,-2.21l-1.7,-1.43l0.82,-1.88l1.99,-2.12l0.88,-1.92l1.71,-0.24l2.04,0.51l1.87,-1.77l1.91,0.25l1.91,-1.23l0.17,-0.43l-0.47,-1.82l-1.07,-0.7l1.39,-1.17l0.12,-0.45l-0.39,-0.26l-1.65,0.07l-2.66,0.88l-0.75,0.78l-1.92,-0.8l-3.46,0.44l-3.44,-0.91l-1.06,-1.61l-2.65,-1.99l2.91,-1.43l5.5,-2.0l1.52,0.0l-0.26,1.62l0.41,0.46l5.29,-0.16l0.3,-0.65l-2.03,-2.59l-3.14,-1.68l-1.79,-2.12l-2.4,-1.83l-3.09,-1.24l1.04,-1.69l4.23,-0.14l3.36,-2.07l0.73,-2.27l2.39,-1.99l2.42,-0.52l4.65,-1.97l2.46,0.23l3.71,-2.35l3.5,0.89ZM37.6,123.41l-2.25,1.23l-0.95,-0.69l-0.29,-1.24l3.21,-1.63l1.42,0.21l0.67,0.7l-1.8,1.42ZM31.06,234.03l0.98,0.47l0.74,0.87l-1.77,1.07l-0.44,-1.53l0.49,-0.89ZM29.34,232.07l0.18,0.05l0.08,0.05l-0.16,0.03l-0.11,-0.14ZM25.16,230.17l0.05,-0.03l0.18,0.22l-0.13,-0.01l-0.1,-0.18ZM5.89,113.26l-1.08,0.41l-2.21,-1.12l1.53,-0.4l1.62,0.28l0.14,0.83Z",name:"United States"},UY:{path:"M286.85,372.74l-0.92,1.5l-2.59,1.44l-1.69,-0.52l-1.42,0.26l-2.39,-1.19l-1.52,0.08l-1.27,-1.3l0.16,-1.5l0.56,-0.79l-0.02,-2.73l1.21,-4.74l1.19,-0.21l2.37,2.0l1.08,0.03l4.36,3.17l1.22,1.6l-0.96,1.5l0.61,1.4Z",name:"Uruguay"},LB:{path:"M510.37,198.01l-0.88,0.51l1.82,-3.54l0.62,0.08l0.22,0.61l-1.13,0.88l-0.65,1.47Z",name:"Lebanon"},LA:{path:"M689.54,248.53l-1.76,-0.74l-0.49,0.15l-0.94,1.46l-1.32,-0.64l0.62,-0.98l0.11,-2.17l-2.04,-2.42l-0.25,-2.65l-1.9,-2.1l-2.15,-0.31l-0.78,0.91l-1.12,0.06l-1.05,-0.4l-2.06,1.2l-0.04,-1.59l0.61,-2.68l-0.36,-0.49l-1.35,-0.1l-0.11,-1.23l-0.96,-0.88l1.96,-1.89l0.39,0.36l1.33,0.07l0.42,-0.45l-0.34,-2.66l0.7,-0.21l1.28,1.81l1.11,2.35l0.36,0.23l2.82,0.02l0.71,1.67l-1.39,0.65l-0.72,0.93l0.13,0.6l2.91,1.51l3.6,5.25l1.88,1.78l0.56,1.62l-0.35,1.96Z",name:"Lao PDR"},TW:{path:"M724.01,226.68l-0.74,1.48l-0.9,-1.52l-0.25,-1.74l1.38,-2.44l1.73,-1.74l0.64,0.44l-1.85,5.52Z",name:"Taiwan"},TT:{path:"M266.64,259.32l0.28,-1.16l1.13,-0.22l-0.06,1.2l-1.35,0.18Z",name:"Trinidad and Tobago"},TR:{path:"M513.21,175.47l3.64,1.17l3.05,-0.44l2.1,0.26l3.11,-1.56l2.46,-0.13l2.19,1.33l0.33,0.82l-0.22,1.33l0.25,0.44l2.28,1.13l-1.17,0.57l-0.21,0.45l0.75,3.2l-0.41,1.16l1.13,1.92l-0.55,0.22l-0.9,-0.67l-2.91,-0.37l-1.24,0.46l-4.23,0.41l-2.81,1.05l-1.91,0.01l-1.52,-0.53l-2.58,0.75l-0.66,-0.45l-0.62,0.3l-0.12,1.45l-0.89,0.84l-0.47,-0.67l0.79,-1.3l-0.41,-0.2l-1.43,0.23l-2.0,-0.63l-2.02,1.65l-3.51,0.3l-2.13,-1.53l-2.7,-0.1l-0.86,1.24l-1.38,0.27l-2.29,-1.44l-2.71,-0.01l-1.37,-2.65l-1.68,-1.52l1.07,-1.99l-0.09,-0.49l-1.27,-1.12l2.37,-2.41l3.7,-0.11l1.28,-2.24l4.49,0.37l3.21,-1.97l2.81,-0.82l3.99,-0.06l4.29,2.07ZM488.79,176.72l-1.72,1.31l-0.5,-0.88l1.37,-2.57l-0.7,-0.85l1.7,-0.63l1.8,0.34l0.46,1.17l1.76,0.78l-2.87,0.32l-1.3,1.01Z",name:"Turkey"},LK:{path:"M624.16,268.99l-1.82,0.48l-0.99,-1.67l-0.42,-3.46l0.95,-3.43l1.21,0.98l2.26,4.19l-0.34,2.33l-0.85,0.58Z",name:"Sri Lanka"},LV:{path:"M489.16,122.85l0.96,0.66l0.22,1.65l0.68,1.76l-3.65,1.7l-2.23,-1.58l-1.29,-0.26l-0.68,-0.77l-2.42,0.34l-4.16,-0.23l-2.47,0.9l0.06,-1.98l1.13,-2.06l1.95,-1.02l2.12,2.58l2.01,-0.07l0.38,-0.33l0.44,-2.52l1.76,-0.53l3.06,1.7l2.15,0.07Z",name:"Latvia"},LT:{path:"M486.93,129.3l0.17,1.12l-1.81,0.98l-0.72,2.02l-2.47,1.18l-2.1,-0.02l-0.73,-1.05l-1.06,-0.3l-0.09,-1.87l-3.56,-1.13l-0.43,-2.36l2.48,-0.94l4.12,0.22l2.25,-0.31l0.52,0.69l1.24,0.21l2.19,1.56Z",name:"Lithuania"},LU:{path:"M436.08,149.45l-0.48,-0.07l0.3,-1.28l0.27,0.4l-0.09,0.96Z",name:"Luxembourg"},LR:{path:"M399.36,265.97l0.18,1.54l-0.48,0.99l0.08,0.47l2.47,1.8l-0.33,2.8l-2.65,-1.13l-5.78,-4.61l0.58,-1.32l2.1,-2.33l0.86,-0.22l0.77,1.14l-0.14,0.85l0.59,0.87l1.0,0.14l0.76,-0.99Z",name:"Liberia"},LS:{path:"M491.06,363.48l-0.49,0.15l-1.49,-1.67l1.1,-1.43l2.19,-1.44l1.51,1.27l-0.98,1.82l-1.23,0.38l-0.62,0.93Z",name:"Lesotho"},TH:{path:"M670.27,255.86l-1.41,3.87l0.15,2.0l0.38,0.36l1.38,0.07l0.9,2.04l0.55,2.34l1.4,1.44l1.61,0.38l0.96,0.97l-0.5,0.64l-1.1,0.2l-0.34,-1.18l-2.04,-1.1l-0.63,0.23l-0.63,-0.62l-0.48,-1.3l-2.56,-2.63l-0.73,0.41l0.95,-3.89l2.16,-4.22ZM670.67,254.77l-0.92,-2.18l-0.26,-2.61l-2.14,-3.06l0.71,-0.49l0.89,-2.59l-3.61,-5.45l0.87,-0.51l1.05,-2.58l1.74,-0.18l2.6,-1.59l0.76,0.56l0.13,1.39l0.37,0.36l1.23,0.09l-0.51,2.28l0.05,2.42l0.6,0.34l2.43,-1.42l0.77,0.39l1.47,-0.07l0.71,-0.88l1.48,0.14l1.71,1.88l0.25,2.65l1.92,2.11l-0.1,1.89l-0.61,0.86l-2.22,-0.33l-3.5,0.64l-1.6,2.12l0.36,2.58l-1.51,-0.79l-1.84,-0.01l0.28,-1.52l-0.4,-0.47l-2.21,0.01l-0.4,0.37l-0.19,2.74l-0.34,0.93Z",name:"Thailand"},TF:{path:"M596.68,420.38l-3.2,0.18l-0.05,-1.26l0.39,-1.41l1.3,0.78l2.08,0.35l-0.52,1.36Z",name:"Fr. S. Antarctic Lands"},TG:{path:"M422.7,257.63l-0.09,1.23l1.53,1.52l0.08,1.09l0.5,0.65l-0.11,5.62l0.49,1.47l-1.31,0.35l-1.02,-2.13l-0.18,-1.12l0.53,-2.19l-0.63,-1.16l-0.22,-3.68l-1.01,-1.4l0.07,-0.28l1.37,0.03Z",name:"Togo"},TD:{path:"M480.25,235.49l0.12,9.57l-2.1,0.05l-1.14,1.89l-0.69,1.63l0.34,0.73l-0.66,0.91l0.24,0.89l-0.86,1.95l0.45,0.5l0.6,-0.1l0.34,0.64l0.03,1.38l0.9,1.04l-1.45,0.43l-1.27,1.03l-1.83,2.76l-2.16,1.07l-2.31,-0.15l-0.86,0.25l-0.26,0.49l0.17,0.61l-2.11,1.68l-2.85,0.87l-1.09,-0.57l-0.73,0.66l-1.12,0.1l-1.1,-3.12l-1.25,-0.64l-1.22,-1.22l0.29,-0.64l3.01,0.04l0.35,-0.6l-1.3,-2.2l-0.08,-3.31l-0.97,-1.66l0.22,-1.04l-0.38,-0.48l-1.22,-0.04l0.0,-1.25l-0.98,-1.07l0.96,-3.01l3.25,-2.65l0.13,-3.33l0.95,-5.18l0.52,-1.07l-0.1,-0.48l-0.91,-0.78l-0.2,-0.96l-0.8,-0.58l-0.55,-3.65l2.1,-1.2l19.57,9.83Z",name:"Chad"},LY:{path:"M483.48,203.15l-0.75,1.1l0.29,1.39l-0.6,1.83l0.73,2.14l0.0,24.12l-2.48,0.01l-0.41,0.85l-19.41,-9.76l-4.41,2.28l-1.37,-1.33l-3.82,-1.1l-1.14,-1.65l-1.98,-1.23l-1.22,0.32l-0.66,-1.11l-0.17,-1.26l-1.28,-1.69l0.87,-1.19l-0.07,-4.34l0.43,-2.27l-0.86,-3.45l1.13,-0.76l0.22,-1.16l-0.2,-1.03l3.48,-2.61l0.29,-1.94l2.45,0.8l1.18,-0.21l1.98,0.44l3.15,1.18l1.37,2.54l5.72,1.67l2.64,1.35l1.61,-0.72l1.29,-1.34l-0.44,-2.34l0.66,-1.13l1.67,-1.21l1.57,-0.35l3.14,0.53l1.08,1.28l3.99,0.78l0.36,0.54Z",name:"Libya"},AE:{path:"M550.76,223.97l1.88,-0.4l3.84,0.02l4.78,-4.75l0.19,0.36l0.26,1.58l-0.81,0.01l-0.39,0.35l-0.08,2.04l-0.81,0.63l-0.01,0.96l-0.66,0.99l-0.39,1.41l-7.08,-1.25l-0.7,-1.96Z",name:"United Arab Emirates"},VE:{path:"M240.68,256.69l0.53,0.75l-0.02,1.06l-1.07,1.78l0.95,2.0l0.42,0.22l1.4,-0.44l0.56,-1.83l-0.77,-1.17l-0.1,-1.47l2.82,-0.93l0.26,-0.49l-0.28,-0.96l0.3,-0.28l0.66,1.31l1.96,0.26l1.4,1.22l0.08,0.68l0.39,0.35l4.81,-0.22l1.49,1.11l1.92,0.31l1.67,-0.84l0.22,-0.6l3.44,-0.14l-0.17,0.55l0.86,1.19l2.19,0.35l1.67,1.1l0.37,1.86l0.41,0.32l1.55,0.17l-1.66,1.35l-0.22,0.92l0.65,0.97l-1.67,0.54l-0.3,0.4l0.04,0.99l-0.56,0.57l-0.01,0.55l1.85,2.27l-0.66,0.69l-4.47,1.29l-0.72,0.54l-3.69,-0.9l-0.71,0.27l-0.02,0.7l0.91,0.53l-0.08,1.54l0.35,1.58l0.35,0.31l1.66,0.17l-1.3,0.52l-0.48,1.13l-2.68,0.91l-0.6,0.77l-1.57,0.13l-1.17,-1.13l-0.8,-2.52l-1.25,-1.26l1.02,-1.23l-1.29,-2.95l0.18,-1.62l1.0,-2.21l-0.2,-0.49l-1.14,-0.46l-4.02,0.36l-1.82,-2.1l-1.57,-0.33l-2.99,0.22l-1.06,-0.97l0.25,-1.23l-0.2,-1.01l-0.59,-0.69l-0.29,-1.06l-1.08,-0.39l0.78,-2.79l1.9,-2.11Z",name:"Venezuela"},AF:{path:"M600.7,188.88l-1.57,1.3l-0.1,0.48l0.8,2.31l-1.09,1.04l-0.03,1.27l-0.48,0.71l-2.16,-0.08l-0.37,0.59l0.78,1.48l-1.38,0.69l-1.06,1.69l0.06,1.7l-0.65,0.52l-0.91,-0.21l-1.91,0.36l-0.48,0.77l-1.88,0.13l-1.4,1.56l-0.18,2.32l-2.91,1.02l-1.65,-0.23l-0.71,0.55l-1.41,-0.3l-2.41,0.39l-3.52,-1.17l1.96,-2.35l-0.21,-1.78l-0.3,-0.34l-1.63,-0.4l-0.19,-1.58l-0.75,-2.03l0.95,-1.36l-0.19,-0.6l-0.73,-0.28l1.47,-4.8l2.14,0.9l2.12,-0.36l0.74,-1.34l1.77,-0.39l1.54,-0.92l0.63,-2.31l1.87,-0.5l0.49,-0.81l0.94,0.56l2.13,0.11l2.55,0.92l1.95,-0.83l0.65,0.43l0.56,-0.13l0.69,-1.12l1.57,-0.08l0.72,-1.66l0.79,-0.74l0.8,0.39l-0.17,0.56l0.71,0.58l-0.08,2.39l1.11,0.95ZM601.37,188.71l1.73,-0.71l1.43,-1.18l4.03,0.35l-2.23,0.74l-4.95,0.8Z",name:"Afghanistan"},IQ:{path:"M530.82,187.47l0.79,0.66l1.26,-0.28l1.46,3.08l1.63,0.94l0.14,1.23l-1.22,1.05l-0.53,2.52l1.73,2.67l3.12,1.62l1.15,1.88l-0.38,1.85l0.39,0.48l0.41,-0.0l0.02,1.07l0.76,0.94l-2.47,-0.1l-1.71,2.44l-4.31,-0.2l-7.02,-5.48l-3.73,-1.94l-2.88,-0.73l-0.85,-2.87l5.45,-3.02l0.95,-3.43l-0.19,-1.96l1.27,-0.7l1.22,-1.7l0.87,-0.36l2.69,0.34Z",name:"Iraq"},IS:{path:"M384.14,88.06l-0.37,2.61l2.54,2.51l-2.9,2.75l-9.19,3.4l-9.25,-1.66l1.7,-1.22l-0.1,-0.7l-4.05,-1.47l2.96,-0.53l0.33,-0.43l-0.11,-1.2l-0.33,-0.36l-4.67,-0.85l1.28,-2.04l3.45,-0.56l3.77,2.72l0.44,0.02l3.64,-2.16l3.3,1.08l3.98,-2.16l3.58,0.26Z",name:"Iceland"},IR:{path:"M533.43,187.16l-1.27,-2.15l0.42,-0.98l-0.71,-3.04l1.03,-0.5l0.33,0.83l1.26,1.35l2.05,0.51l1.11,-0.16l2.89,-2.11l0.62,-0.14l0.39,0.46l-0.72,1.2l0.06,0.49l1.56,1.53l0.65,0.04l0.67,1.81l2.56,0.83l1.87,1.48l3.69,0.49l3.91,-0.76l0.47,-0.73l2.17,-0.6l1.66,-1.54l1.51,0.08l1.18,-0.53l1.59,0.24l2.83,1.48l1.88,0.3l2.77,2.47l1.77,0.18l0.18,1.99l-1.68,5.49l0.24,0.5l0.61,0.23l-0.82,1.48l0.8,2.18l0.19,1.71l0.3,0.34l1.63,0.4l0.15,1.32l-2.15,2.35l-0.01,0.53l2.21,3.03l2.34,1.24l0.06,2.14l1.24,0.72l0.11,0.69l-3.31,1.27l-1.08,3.03l-9.68,-1.68l-0.99,-3.05l-1.43,-0.73l-2.17,0.46l-2.47,1.26l-2.83,-0.82l-2.46,-2.02l-2.41,-0.8l-3.42,-6.06l-0.48,-0.2l-1.18,0.39l-1.44,-0.82l-0.5,0.08l-0.65,0.74l-0.97,-1.01l-0.02,-1.31l-0.71,-0.39l0.26,-1.81l-1.29,-2.11l-3.13,-1.63l-1.58,-2.43l0.5,-1.9l1.31,-1.26l-0.19,-1.66l-1.74,-1.1l-1.57,-3.3Z",name:"Iran"},AM:{path:"M536.99,182.33l-0.28,0.03l-1.23,-2.13l-0.93,0.01l-0.62,-0.66l-0.69,-0.07l-0.96,-0.81l-1.56,-0.62l0.19,-1.12l-0.26,-0.79l2.72,-0.36l1.09,1.01l-0.17,0.92l1.02,0.78l-0.47,0.62l0.08,0.56l2.04,1.23l0.04,1.4Z",name:"Armenia"},AL:{path:"M470.32,171.8l0.74,0.03l0.92,0.89l-0.17,1.95l0.36,1.28l1.01,0.82l-1.82,2.83l-0.19,-0.61l-1.25,-0.89l-0.18,-1.2l0.53,-2.82l-0.54,-1.47l0.6,-0.83Z",name:"Albania"},AO:{path:"M461.55,300.03l1.26,3.15l1.94,2.36l2.47,-0.53l1.25,0.32l0.44,-0.18l0.93,-1.92l1.31,-0.08l0.41,-0.44l0.47,-0.0l-0.1,0.41l0.39,0.49l2.65,-0.02l0.03,1.19l0.48,1.01l-0.34,1.52l0.18,1.55l0.83,1.04l-0.13,2.85l0.54,0.39l3.96,-0.41l-0.1,1.79l0.39,1.05l-0.24,1.43l-4.7,-0.03l-0.4,0.39l-0.12,8.13l2.92,3.49l-3.83,0.88l-5.89,-0.36l-1.88,-1.24l-10.47,0.22l-1.3,-1.01l-1.85,-0.16l-2.4,0.77l-0.15,-1.06l0.33,-2.16l1.0,-3.45l1.35,-3.2l2.24,-2.8l0.33,-2.06l-0.13,-1.53l-0.8,-1.08l-1.21,-2.87l0.87,-1.62l-1.27,-4.12l-1.17,-1.53l2.47,-0.63l7.03,0.03ZM451.71,298.87l-0.47,-1.25l1.25,-1.11l0.32,0.3l-0.99,1.03l-0.12,1.03Z",name:"Angola"},AR:{path:"M249.29,428.93l-2.33,-0.52l-5.83,-0.43l-0.89,-1.66l0.05,-2.37l-0.45,-0.4l-1.43,0.18l-0.67,-0.91l-0.2,-3.13l1.88,-1.47l0.79,-2.04l-0.25,-1.7l1.3,-2.68l0.91,-4.15l-0.22,-1.69l0.85,-0.45l0.2,-0.44l-0.27,-1.16l-0.98,-0.68l0.59,-0.92l-0.05,-0.5l-1.04,-1.07l-0.52,-3.1l0.97,-0.86l-0.42,-3.58l1.2,-5.43l1.38,-0.98l0.16,-0.43l-0.75,-2.79l-0.01,-2.43l1.78,-1.75l0.06,-2.57l1.43,-2.85l0.01,-2.58l-0.69,-0.74l-1.09,-4.52l1.47,-2.7l-0.18,-2.79l0.85,-2.35l1.59,-2.46l1.73,-1.64l0.05,-0.52l-0.6,-0.84l0.44,-0.85l-0.07,-4.19l2.7,-1.44l0.86,-2.75l-0.21,-0.71l1.76,-2.01l2.9,0.57l1.38,1.78l0.68,-0.08l0.87,-1.87l2.39,0.09l4.95,4.77l2.17,0.49l3.0,1.92l2.47,1.0l0.25,0.82l-2.37,3.93l0.23,0.59l5.39,1.16l2.12,-0.44l2.45,-2.16l0.5,-2.38l0.76,-0.31l0.98,1.2l-0.04,1.8l-3.67,2.51l-2.85,2.66l-3.43,3.88l-1.3,5.07l0.01,2.72l-0.54,0.73l-0.36,3.28l3.14,2.64l-0.16,2.11l1.4,1.11l-0.1,1.09l-2.29,3.52l-3.55,1.49l-4.92,0.6l-2.71,-0.29l-0.43,0.51l0.5,1.65l-0.49,2.1l0.38,1.42l-1.19,0.83l-2.36,0.38l-2.3,-1.04l-1.38,0.83l0.41,3.64l1.69,0.91l1.4,-0.71l0.36,0.76l-2.04,0.86l-2.01,1.89l-0.97,4.63l-2.34,0.1l-2.09,1.78l-0.61,2.75l2.46,2.31l2.17,0.63l-0.7,2.32l-2.83,1.73l-1.73,3.86l-2.17,1.22l-1.16,1.67l0.75,3.76l1.04,1.28ZM256.71,438.88l-2.0,0.15l-1.4,-1.22l-3.82,-0.1l-0.0,-5.83l1.6,3.05l3.26,2.07l3.08,0.78l-0.71,1.1Z",name:"Argentina"},AU:{path:"M705.8,353.26l0.26,0.04l0.17,-0.47l-0.48,-1.42l0.92,1.11l0.45,0.15l0.27,-0.39l-0.1,-1.56l-1.98,-3.63l1.09,-3.31l-0.24,-1.57l0.34,-0.62l0.38,1.06l0.43,-0.19l0.99,-1.7l1.91,-0.83l1.29,-1.15l1.81,-0.91l0.96,-0.17l0.92,0.26l1.92,-0.95l1.47,-0.28l1.03,-0.8l1.43,0.04l2.78,-0.84l1.36,-1.15l0.71,-1.45l1.41,-1.26l0.3,-2.58l1.27,-1.59l0.78,1.65l0.54,0.19l1.07,-0.51l0.15,-0.6l-0.73,-1.0l0.45,-0.71l0.78,0.39l0.58,-0.3l0.28,-1.82l1.87,-2.14l1.12,-0.39l0.28,-0.58l0.62,0.17l0.53,-0.73l1.87,-0.57l1.65,1.05l1.35,1.48l3.39,0.38l0.43,-0.54l-0.46,-1.23l1.05,-1.79l1.04,-0.61l0.14,-0.55l-0.25,-0.41l0.88,-1.17l1.31,-0.77l1.3,0.27l2.1,-0.48l0.31,-0.4l-0.05,-1.3l-0.92,-0.77l1.48,0.56l1.41,1.07l2.11,0.65l0.81,-0.2l1.4,0.7l1.69,-0.66l0.8,0.19l0.64,-0.33l0.71,0.77l-1.33,1.94l-0.71,0.07l-0.35,0.51l0.24,0.86l-1.52,2.35l0.12,1.05l2.15,1.65l1.97,0.85l3.04,2.36l1.97,0.65l0.55,0.88l2.72,0.85l1.84,-1.1l2.07,-5.97l-0.42,-3.59l0.3,-1.73l0.47,-0.87l-0.31,-0.68l1.09,-3.28l0.46,-0.47l0.4,0.71l0.16,1.51l0.65,0.52l0.16,1.04l0.85,1.21l0.12,2.38l0.9,2.0l0.57,0.18l1.3,-0.78l1.69,1.7l-0.2,1.08l0.53,2.2l0.39,1.3l0.68,0.48l0.6,1.95l-0.19,1.48l0.81,1.76l6.01,3.69l-0.11,0.76l1.38,1.58l0.95,2.77l0.58,0.22l0.72,-0.41l0.8,0.9l0.61,0.01l0.46,2.41l4.81,4.71l0.66,2.02l-0.07,3.31l1.14,2.2l-0.13,2.24l-1.1,3.68l0.03,1.64l-0.47,1.89l-1.05,2.4l-1.9,1.47l-1.72,3.51l-2.38,6.09l-0.24,2.82l-1.14,0.8l-2.85,0.15l-2.31,1.19l-2.51,2.25l-3.09,-1.57l0.3,-1.15l-0.54,-0.47l-1.5,0.63l-2.01,1.94l-7.12,-2.18l-1.48,-1.63l-1.14,-3.74l-1.45,-1.26l-1.81,-0.26l0.56,-1.18l-0.61,-2.1l-0.72,-0.1l-1.14,1.82l-0.9,0.21l0.63,-0.82l0.36,-1.55l0.92,-1.31l-0.13,-2.34l-0.7,-0.22l-2.0,2.34l-1.51,0.93l-0.94,2.01l-1.35,-0.81l-0.02,-1.52l-1.57,-2.04l-1.09,-0.88l0.24,-0.33l-0.14,-0.59l-3.21,-1.69l-1.83,-0.12l-2.54,-1.35l-4.58,0.28l-6.02,1.9l-2.53,-0.13l-2.62,1.41l-2.13,0.63l-1.49,2.6l-3.49,0.31l-2.29,-0.5l-3.48,0.43l-1.6,1.47l-0.81,-0.04l-2.37,1.63l-3.26,-0.1l-3.72,-2.21l0.04,-1.05l1.19,-0.46l0.49,-0.89l0.21,-2.97l-0.28,-1.64l-1.34,-2.86l-0.38,-1.47l0.05,-1.72l-0.95,-1.7l-0.18,-0.97l-1.01,-0.99l-0.29,-1.98l-1.13,-1.75ZM784.92,393.44l2.65,1.02l3.23,-0.96l1.09,0.14l0.15,3.06l-0.85,1.13l-0.17,1.63l-0.87,-0.24l-1.57,1.91l-1.68,-0.18l-1.4,-2.36l-0.37,-2.04l-1.39,-2.51l0.04,-0.8l1.15,0.18Z",name:"Australia"},AT:{path:"M462.89,152.8l0.04,2.25l-1.07,0.0l-0.33,0.63l0.36,0.51l-1.04,2.13l-2.02,0.07l-1.33,0.7l-5.29,-0.99l-0.47,-0.93l-0.44,-0.21l-2.47,0.55l-0.42,0.51l-3.18,-0.81l0.43,-0.91l1.12,0.78l0.6,-0.17l0.25,-0.58l1.93,0.12l1.86,-0.56l1.0,0.08l0.68,0.57l0.62,-0.15l0.26,-0.77l-0.3,-1.78l0.8,-0.44l0.68,-1.15l1.52,0.85l0.47,-0.06l1.34,-1.25l0.64,-0.17l1.81,0.92l1.28,-0.11l0.7,0.37Z",name:"Austria"},IN:{path:"M623.34,207.03l-1.24,1.04l-0.97,2.55l0.22,0.51l8.04,3.87l3.42,0.37l1.57,1.38l4.92,0.88l2.18,-0.04l0.38,-0.3l0.29,-1.24l-0.32,-1.64l0.14,-0.87l0.82,-0.31l0.45,2.48l2.28,1.02l1.77,-0.38l4.14,0.1l0.38,-0.36l0.18,-1.66l-0.5,-0.65l1.37,-0.29l2.25,-1.99l2.7,-1.62l1.93,0.62l1.8,-0.98l0.79,1.14l-0.68,0.91l0.26,0.63l2.42,0.36l0.09,0.47l-0.83,0.75l0.13,1.07l-1.52,-0.29l-3.24,1.86l-0.13,1.78l-1.32,2.14l-0.18,1.39l-0.93,1.82l-1.64,-0.5l-0.52,0.37l-0.09,2.63l-0.56,1.11l0.19,0.81l-0.53,0.27l-1.18,-3.73l-1.08,-0.27l-0.38,0.31l-0.24,1.0l-0.66,-0.66l0.54,-1.06l1.22,-0.34l1.15,-2.25l-0.24,-0.56l-1.57,-0.47l-4.34,-0.28l-0.18,-1.56l-0.35,-0.35l-1.11,-0.12l-1.91,-1.12l-0.56,0.17l-0.88,1.82l0.11,0.49l1.36,1.07l-1.09,0.69l-0.69,1.11l0.18,0.56l1.24,0.57l-0.32,1.54l0.85,1.94l0.36,2.01l-0.22,0.59l-4.58,0.52l-0.33,0.42l0.13,1.8l-1.17,1.36l-3.65,1.81l-2.79,3.03l-4.32,3.28l-0.18,1.27l-4.65,1.79l-0.77,2.16l0.64,5.3l-1.06,2.49l-0.01,3.94l-1.24,0.28l-1.14,1.93l0.39,0.84l-1.68,0.53l-1.04,1.83l-0.65,0.47l-2.06,-2.05l-2.1,-6.02l-2.2,-3.64l-1.05,-4.75l-2.29,-3.57l-1.76,-8.2l0.01,-3.11l-0.49,-2.53l-0.55,-0.29l-3.53,1.52l-1.53,-0.27l-2.86,-2.77l0.85,-0.67l0.08,-0.55l-0.74,-1.03l-2.67,-2.06l1.24,-1.32l5.34,0.01l0.39,-0.49l-0.5,-2.29l-1.42,-1.46l-0.27,-1.93l-1.43,-1.2l2.31,-2.37l3.05,0.06l2.62,-2.85l1.6,-2.81l2.4,-2.73l0.07,-2.04l1.97,-1.48l-0.02,-0.65l-1.93,-1.31l-0.82,-1.78l-0.8,-2.21l0.9,-0.89l3.59,0.65l2.92,-0.42l2.33,-2.19l2.31,2.85l-0.24,2.13l0.99,1.59l-0.05,0.82l-1.34,-0.28l-0.47,0.48l0.7,3.06l2.62,1.99l2.99,1.65Z",name:"India"},TZ:{path:"M495.56,296.42l2.8,-3.12l-0.02,-0.81l-0.64,-1.3l0.68,-0.52l0.14,-1.47l-0.76,-1.25l0.31,-0.11l2.26,0.03l-0.51,2.76l0.76,1.3l0.5,0.12l1.05,-0.53l1.19,-0.12l0.61,0.24l1.43,-0.62l0.1,-0.67l-0.71,-0.62l1.57,-1.7l8.65,4.86l0.32,1.53l3.34,2.33l-1.05,2.8l0.13,1.61l1.63,1.12l-0.6,1.76l-0.01,2.33l1.89,4.03l0.57,0.43l-1.46,1.08l-2.61,0.94l-1.43,-0.04l-1.06,0.77l-2.29,0.36l-2.87,-0.68l-0.83,0.07l-0.63,-0.75l-0.31,-2.78l-1.32,-1.35l-3.25,-0.77l-3.96,-1.58l-1.18,-2.41l-0.32,-1.75l-1.76,-1.49l0.42,-1.05l-0.44,-0.89l0.08,-0.96l-0.46,-0.58l0.06,-0.56Z",name:"Tanzania"},AZ:{path:"M539.29,175.73l1.33,0.32l1.94,-1.8l2.3,3.34l1.43,0.43l-1.26,0.15l-0.35,0.32l-0.8,3.14l-0.99,0.96l0.05,1.11l-1.26,-1.13l0.7,-1.18l-0.04,-0.47l-0.74,-0.86l-1.48,0.15l-2.34,1.71l-0.03,-1.27l-2.03,-1.35l0.47,-0.62l-0.08,-0.56l-1.03,-0.79l0.29,-0.43l-0.14,-0.58l-1.13,-0.86l1.89,0.68l1.69,0.06l0.37,-0.87l-0.81,-1.37l0.42,0.06l1.63,1.72ZM533.78,180.57l0.61,0.46l0.69,-0.0l0.59,1.15l-0.68,-0.15l-1.21,-1.45Z",name:"Azerbaijan"},IE:{path:"M405.08,135.42l0.35,2.06l-1.75,2.78l-4.22,1.88l-2.84,-0.4l1.73,-3.0l-1.18,-3.53l4.6,-3.74l0.32,1.15l-0.49,1.74l0.4,0.51l1.47,-0.04l1.6,0.6Z",name:"Ireland"},ID:{path:"M756.47,287.89l0.69,4.01l2.79,1.78l0.51,-0.1l2.04,-2.59l2.71,-1.43l2.05,-0.0l3.9,1.73l2.46,0.45l0.08,15.12l-1.75,-1.54l-2.54,-0.51l-0.88,0.71l-2.32,0.06l0.69,-1.33l1.45,-0.64l0.23,-0.46l-0.65,-2.74l-1.24,-2.21l-5.04,-2.29l-2.09,-0.23l-3.68,-2.27l-0.55,0.13l-0.65,1.07l-0.52,0.12l-0.55,-1.89l-1.21,-0.78l1.84,-0.62l1.72,0.05l0.39,-0.52l-0.21,-0.66l-0.38,-0.28l-3.45,-0.0l-1.13,-1.48l-2.1,-0.43l-0.52,-0.6l2.69,-0.48l1.28,-0.78l3.66,0.94l0.3,0.71ZM757.91,300.34l-0.62,0.82l-0.1,-0.8l0.59,-1.12l0.13,1.1ZM747.38,292.98l0.34,0.72l-1.22,-0.57l-4.68,-0.1l0.27,-0.62l2.78,-0.09l2.52,0.67ZM741.05,285.25l-0.67,-2.88l0.64,-2.01l0.41,0.86l1.21,0.18l0.16,0.7l-0.1,1.68l-0.84,-0.16l-0.46,0.3l-0.34,1.34ZM739.05,293.5l-0.5,0.44l-1.34,-0.36l-0.17,-0.37l1.73,-0.08l0.27,0.36ZM721.45,284.51l-0.19,1.97l2.24,2.23l0.54,0.02l1.27,-1.07l2.75,-0.5l-0.9,1.21l-2.11,0.93l-0.16,0.6l2.22,3.01l-0.3,1.07l1.36,1.74l-2.26,0.85l-0.28,-0.31l0.12,-1.19l-1.64,-1.34l0.17,-2.23l-0.56,-0.39l-1.67,0.76l-0.23,0.39l0.3,6.17l-1.1,0.25l-0.69,-0.47l0.64,-2.21l-0.39,-2.42l-0.39,-0.34l-0.8,-0.01l-0.58,-1.29l0.98,-1.6l0.35,-1.96l1.32,-3.87ZM728.59,296.27l0.38,0.49l-0.02,1.28l-0.88,0.49l-0.53,-0.47l1.04,-1.79ZM729.04,286.98l0.27,-0.05l-0.02,0.13l-0.24,-0.08ZM721.68,284.05l0.16,-0.32l1.89,-1.65l1.83,0.68l3.16,0.35l2.94,-0.1l2.39,-1.66l-1.73,2.13l-1.66,0.43l-2.41,-0.48l-4.17,0.13l-2.39,0.51ZM730.55,310.47l1.11,-1.93l2.03,-0.82l0.08,0.62l-1.45,1.67l-1.77,0.46ZM728.12,305.88l-0.1,0.38l-3.46,0.66l-2.91,-0.27l-0.0,-0.25l1.54,-0.41l1.66,0.73l1.67,-0.19l1.61,-0.65ZM722.9,310.24l-0.64,0.03l-2.26,-1.2l1.11,-0.24l1.78,1.41ZM716.26,305.77l0.88,0.51l1.28,-0.17l0.2,0.35l-4.65,0.73l0.39,-0.67l1.15,-0.02l0.75,-0.73ZM711.66,293.84l-0.38,-0.16l-2.54,1.01l-1.12,-1.44l-1.69,-0.13l-1.16,-0.75l-3.04,0.77l-1.1,-1.15l-3.31,-0.11l-0.35,-3.05l-1.35,-0.95l-1.11,-1.98l-0.33,-2.06l0.27,-2.14l0.9,-1.01l0.37,1.15l2.09,1.49l1.53,-0.48l1.82,0.08l1.38,-1.19l1.0,-0.18l2.28,0.67l2.26,-0.53l1.52,-3.64l1.01,-0.99l0.78,-2.57l4.1,0.3l-1.11,1.77l0.02,0.46l1.7,2.2l-0.23,1.39l2.07,1.71l-2.33,0.42l-0.88,1.9l0.1,2.05l-2.4,1.9l-0.06,2.45l-0.7,2.79ZM692.58,302.03l0.35,0.26l4.8,0.25l0.78,-0.97l4.17,1.09l1.13,1.68l3.69,0.45l2.13,1.04l-1.8,0.6l-2.77,-0.99l-4.8,-0.12l-5.24,-1.41l-1.84,-0.25l-1.11,0.3l-4.26,-0.97l-0.7,-1.14l-1.59,-0.13l1.18,-1.65l2.74,0.13l2.87,1.13l0.26,0.68ZM685.53,299.17l-2.22,0.04l-2.06,-2.03l-3.15,-2.01l-2.93,-3.51l-3.11,-5.33l-2.2,-2.12l-1.64,-4.06l-2.32,-1.69l-1.27,-2.07l-1.96,-1.5l-2.51,-2.65l-0.11,-0.66l4.81,0.53l2.15,2.38l3.31,2.74l2.35,2.66l2.7,0.17l1.95,1.59l1.54,2.17l1.59,0.95l-0.84,1.71l0.15,0.52l1.44,0.87l0.79,0.1l0.4,1.58l0.87,1.4l1.96,0.39l1.0,1.31l-0.6,3.01l-0.09,3.5Z",name:"Indonesia"},UA:{path:"M492.5,162.44l1.28,-2.49l1.82,0.19l0.66,-0.23l0.09,-0.71l-0.25,-0.75l-0.79,-0.72l-0.33,-1.21l-0.86,-0.62l-0.02,-1.19l-1.13,-0.86l-1.15,-0.19l-2.04,-1.0l-1.66,0.32l-0.66,0.47l-0.92,-0.0l-0.84,0.78l-2.48,0.7l-1.18,-0.71l-3.07,-0.36l-0.89,0.43l-0.24,-0.55l-1.11,-0.7l0.35,-0.93l1.26,-1.02l-0.54,-1.23l2.04,-2.43l1.4,-0.62l0.25,-1.19l-1.04,-2.39l0.83,-0.13l1.28,-0.84l1.8,-0.07l2.47,0.26l2.86,0.81l1.88,0.06l0.86,0.44l1.04,-0.41l0.77,0.66l2.18,-0.15l0.92,0.3l0.52,-0.34l0.15,-1.53l0.56,-0.54l2.85,-0.05l0.84,-0.72l3.04,-0.18l1.23,1.46l-0.48,0.77l0.21,1.03l0.36,0.32l1.8,0.14l0.93,2.08l3.18,1.15l1.94,-0.45l1.67,1.49l1.4,-0.03l3.35,0.96l0.02,0.54l-0.96,1.59l0.47,1.97l-0.26,0.7l-2.36,0.28l-1.29,0.89l-0.23,1.38l-1.83,0.27l-1.58,0.97l-2.41,0.21l-2.16,1.17l-0.21,0.38l0.34,2.26l1.23,0.75l2.13,-0.08l-0.14,0.31l-2.65,0.53l-3.23,1.69l-0.87,-0.39l0.42,-1.1l-0.25,-0.52l-2.21,-0.73l2.35,-1.06l0.12,-0.65l-0.93,-0.82l-3.62,-0.74l-0.13,-0.89l-0.46,-0.34l-2.61,0.59l-0.91,1.69l-1.71,2.04l-0.86,-0.4l-1.62,0.27Z",name:"Ukraine"},QA:{path:"M549.33,221.64l-0.76,-0.23l-0.14,-1.64l0.84,-1.29l0.47,0.52l0.04,1.34l-0.45,1.3Z",name:"Qatar"},MZ:{path:"M508.58,318.75l-0.34,-2.57l0.51,-2.05l3.55,0.63l2.5,-0.38l1.02,-0.76l1.49,0.01l2.74,-0.98l1.66,-1.2l0.5,9.24l0.41,1.23l-0.68,1.67l-0.93,1.71l-1.5,1.5l-5.16,2.28l-2.78,2.73l-1.02,0.53l-1.71,1.8l-0.98,0.57l-0.35,2.41l1.16,1.94l0.49,2.17l0.43,0.31l-0.06,2.06l-0.39,1.17l0.5,0.72l-0.25,0.73l-0.92,0.83l-5.12,2.39l-1.22,1.36l0.21,1.13l0.58,0.39l-0.11,0.72l-1.22,-0.01l-0.73,-2.97l0.42,-3.09l-1.78,-5.37l2.49,-2.81l0.69,-1.89l0.44,-0.43l0.28,-1.53l-0.39,-0.93l0.59,-3.65l-0.01,-3.26l-1.49,-1.16l-1.2,-0.22l-1.74,-1.17l-1.92,0.01l-0.29,-2.08l7.06,-1.96l1.28,1.09l0.89,-0.1l0.67,0.44l0.1,0.73l-0.51,1.29l0.19,1.81l1.75,1.83l0.65,-0.13l0.71,-1.65l1.17,-0.86l-0.26,-3.47l-1.05,-1.85l-1.04,-0.94Z",name:"Mozambique"}},height:440.7063107441331,projection:{type:"mill",centralMeridian:11.5},width:900})}).call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(189),i(547),i(548),i(549),i(550),i(551);t(document).ready(function(){t(function(){t("#bars-horizontal").barrating({theme:"bars-horizontal"})}),t(function(){t("#bars-movie").barrating({theme:"bars-movie",showValues:!1})}),t(function(){t("#bars-pill").barrating({theme:"bars-pill",initialRating:"A",showValues:!0,showSelectedRating:!1,allowEmpty:!0,emptyValue:"-- no rating selected --",onSelect:function(t,e){alert("Selected rating: "+t)}})}),t(function(){t("#css-stars").barrating({theme:"css-stars"})}),t(function(){t("#bars-1to10").barrating({theme:"bars-1to10"})})})}.call(this,i(0))},function(t,e,i){var n,a,r;a=[i(0)],void 0===(r="function"==typeof(n=function(t){var e=function(){function e(){var e=this,i=function(i){return t.isNumeric(i)&&(i=Math.floor(i)),t('option[value="'+i+'"]',e.$elem)},n=function(t){var i=e.$elem.data("barrating");return void 0!==t?i[t]:i},a=function(t,i){null!==i&&"object"==typeof i?e.$elem.data("barrating",i):e.$elem.data("barrating")[t]=i},r=function(){var n,r=(n=e.options.initialRating)?i(n):t("option:selected",e.$elem),o=function(){var i=e.$elem.find('option[value="'+e.options.emptyValue+'"]');return!i.length&&e.options.allowEmpty?(i=t("<option />",{value:e.options.emptyValue})).prependTo(e.$elem):i}(),s=r.val(),l=r.data("html")?r.data("html"):r.text(),c=null!==e.options.allowEmpty?e.options.allowEmpty:!!o.length,d=o.length?o.val():null,u=o.length?o.text():null;a(null,{userOptions:e.options,ratingValue:s,ratingText:l,originalRatingValue:s,originalRatingText:l,allowEmpty:c,emptyRatingValue:d,emptyRatingText:u,readOnly:e.options.readonly,ratingMade:!1})},o=function(){return n("ratingText")},s=function(){return n("ratingValue")},l=function(){return n("userOptions").reverse?"nextAll":"prevAll"},c=function(t){i(t).prop("selected",!0),e.$elem.change()},d=function(t){(t=t||o())==n("emptyRatingText")&&(t=""),e.options.showSelectedRating&&e.$elem.parent().find(".br-current-rating").text(t)},u=function(){e.$widget.find("a").removeClass(function(t,e){return(e.match(/(^|\s)br-\S+/g)||[]).join(" ")})},h=function(){var i,a,r,o=e.$widget.find('a[data-rating-value="'+s()+'"]'),c=n("userOptions").initialRating,d=t.isNumeric(s())?s():0,h=(i=c,Math.round(Math.floor(10*i)/10%1*100));if(u(),o.addClass("br-selected br-current")[l()]().addClass("br-selected"),!n("ratingMade")&&t.isNumeric(c)){if(c<=d||!h)return;a=e.$widget.find("a"),(r=o.length?o[n("userOptions").reverse?"prev":"next"]():a[n("userOptions").reverse?"last":"first"]()).addClass("br-fractional"),r.addClass("br-fractional-"+h)}},p=function(i){i.on("click.barrating",function(i){var r,l,u,p=t(this),f=n("userOptions");return i.preventDefault(),r=p.attr("data-rating-value"),l=p.attr("data-rating-text"),u=p,!(!n("allowEmpty")||!n("userOptions").deselectable)&&s()==u.attr("data-rating-value")&&(r=n("emptyRatingValue"),l=n("emptyRatingText")),a("ratingValue",r),a("ratingText",l),a("ratingMade",!0),c(r),d(l),h(),f.onSelect.call(e,s(),o(),i),!1})},f=function(e){e.on("touchstart.barrating",function(e){e.preventDefault(),e.stopPropagation(),t(this).click()})},g=function(i){p(i),e.options.hoverState&&(function(e){e.on("mouseenter.barrating",function(){var e=t(this);u(),e.addClass("br-active")[l()]().addClass("br-active"),d(e.attr("data-rating-text"))})}(i),e.$widget.on("mouseleave.barrating blur.barrating",function(){d(),h()}))},m=function(t){t.off(".barrating")},v=function(t){var i=e.$widget.find("a");f&&f(i),t?(m(i),function(t){t.on("click.barrating",function(t){t.preventDefault()})}(i)):g(i)};this.show=function(){var i,a;n()||(a=["br-wrapper"],""!==e.options.theme&&a.push("br-theme-"+e.options.theme),e.$elem.wrap(t("<div />",{class:a.join(" ")})),r(),e.$widget=(i=t("<div />",{class:"br-widget"}),e.$elem.find("option").each(function(){var a,r,o,s;(a=t(this).val())!==n("emptyRatingValue")&&(r=t(this).text(),(o=t(this).data("html"))&&(r=o),s=t("<a />",{href:"#","data-rating-value":a,"data-rating-text":r,html:e.options.showValues?r:""}),i.append(s))}),e.options.showSelectedRating&&i.append(t("<div />",{text:"",class:"br-current-rating"})),e.options.reverse&&i.addClass("br-reverse"),e.options.readonly&&i.addClass("br-readonly"),i),e.$widget.insertAfter(e.$elem),h(),d(),v(e.options.readonly),e.$elem.hide())},this.readonly=function(t){"boolean"==typeof t&&n("readOnly")!=t&&(v(t),a("readOnly",t),e.$widget.toggleClass("br-readonly"))},this.set=function(t){var i=n("userOptions");0!==e.$elem.find('option[value="'+t+'"]').length&&(a("ratingValue",t),a("ratingText",e.$elem.find('option[value="'+t+'"]').text()),a("ratingMade",!0),c(s()),d(o()),h(),i.silent||i.onSelect.call(this,s(),o()))},this.clear=function(){var i=n("userOptions");a("ratingValue",n("originalRatingValue")),a("ratingText",n("originalRatingText")),a("ratingMade",!1),t("option",e.$elem).prop("selected",function(){return this.defaultSelected}),e.$elem.change(),d(o()),h(),i.onClear.call(this,s(),o())},this.destroy=function(){var t=s(),i=o(),a=n("userOptions");m(e.$widget.find("a")),e.$widget.remove(),e.$elem.removeData("barrating"),e.$elem.unwrap(),e.$elem.show(),a.onDestroy.call(this,t,i)}}return e.prototype.init=function(e,i){return this.$elem=t(i),this.options=t.extend({},t.fn.barrating.defaults,e),this.options},e}();t.fn.barrating=function(i,n){return this.each(function(){var a=new e;if(t(this).is("select")||t.error("Sorry, this plugin only works with select fields."),a.hasOwnProperty(i)){if(a.init(n,this),"show"===i)return a.show(n);if(a.$elem.data("barrating"))return a.$widget=t(this).next(".br-widget"),a[i](n)}else{if("object"==typeof i||!i)return n=i,a.init(n,this),a.show();t.error("Method "+i+" does not exist on jQuery.barrating")}})},t.fn.barrating.defaults={theme:"",initialRating:null,allowEmpty:null,emptyValue:"",showValues:!1,showSelectedRating:!0,deselectable:!0,reverse:!1,readonly:!1,fastClicks:!0,hoverState:!0,silent:!1,onSelect:function(t,e,i){},onClear:function(t,e){},onDestroy:function(t,e){}},t.fn.barrating.BarRating=e})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";i.r(e),function(t){i(14),i(191);t(document).ready(function(){setTimeout(function(){var e=t("#image-crop"),i=e.height()+4;t(".preview").css({width:"100%",overflow:"hidden",height:i,maxWidth:e.width(),maxHeight:i}),e.cropper({preview:".preview",ready:function(e){t(this).cropper("setData",{height:222,rotate:0,scaleX:1,scaleY:1,width:222,x:55,y:19})}})},2e3)})}.call(this,i(0))},function(t,e,i){"use strict";var n=i(0),a=i.n(n),r=i(14);
/*!
 * jQuery Cropper v1.0.0
 * https://github.com/fengyuanchen/jquery-cropper
 *
 * Copyright (c) 2018 Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2018-04-01T06:20:13.168Z
 */
if(a.a.fn){var o=a.a.fn.cropper;a.a.fn.cropper=function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];var o=void 0;return this.each(function(e,n){var s=a()(n),l="destroy"===t,c=s.data("cropper");if(!c){if(l)return;var d=a.a.extend({},s.data(),a.a.isPlainObject(t)&&t);c=new r.a(n,d),s.data("cropper",c)}if("string"==typeof t){var u=c[t];a.a.isFunction(u)&&((o=u.apply(c,i))===c&&(o=void 0),l&&s.removeData("cropper"))}}),void 0!==o?o:this},a.a.fn.cropper.Constructor=r.a,a.a.fn.cropper.setDefaults=r.a.setDefaults,a.a.fn.cropper.noConflict=function(){return a.a.fn.cropper=o,this}}},function(t,e,i){"use strict";i.r(e),function(t){var e=i(155),n=i.n(e);t(document).ready(function(){t(".start-tour").click(function(){n()().start()})})}.call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(18),i(145),i(146),i(194),i(195);t(document).ready(function(){setTimeout(function(){t("#example").DataTable({responsive:!0}),t("#example2").DataTable({scrollY:"292px",scrollCollapse:!0,paging:!1,searching:!1,info:!1})},2e3)})}.call(this,i(0))},function(t,e,i){var n,a;
/*! Bootstrap 4 integration for DataTables' Responsive
 * ©2016 SpryMedia Ltd - datatables.net/license
 */n=[i(0),i(145),i(146)],void 0===(a=function(t){return function(t,e,i,n){"use strict";var a=t.fn.dataTable,r=a.Responsive.display,o=r.modal,s=t('<div class="modal fade dtr-bs-modal" role="dialog"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="modal-body"/></div></div></div>');return r.modal=function(e){return function(i,n,a){if(t.fn.modal){if(!n){if(e&&e.header){var r=s.find("div.modal-header"),l=r.find("button").detach();r.empty().append('<h4 class="modal-title">'+e.header(i)+"</h4>").append(l)}s.find("div.modal-body").empty().append(a()),s.appendTo("body").modal()}}else o(i,n,a)}},a.Responsive}(t,window,document)}.apply(e,n))||(t.exports=a)},function(t,e,i){(function(i){var n,a,r;a=[],void 0===(r="function"==typeof(n=function(){"use strict";var t=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),e=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,a=!1,r=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(i.push(o.value),!e||i.length!==e);n=!0);}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function n(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 a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){var r=3;try{var o=i.fn.dropdown.Constructor.VERSION;void 0!==o&&(r=parseInt(o,10))}catch(t){}var s={3:{iconsPrefix:"glyphicon",icons:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen"},classes:{buttons:"default",pull:"pull"},html:{toobarDropdow:['<ul class="dropdown-menu" role="menu">',"</ul>"],toobarDropdowItem:'<li role="menuitem"><label>%s</label></li>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>'}},4:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt"},classes:{buttons:"secondary",pull:"float"},html:{toobarDropdow:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toobarDropdowItem:'<label class="dropdown-item">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>'}}}[r],l={bootstrapVersion:r,sprintf:function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];var a=!0,r=0,o=t.replace(/%s/g,function(){var t=i[r++];return void 0===t?(a=!1,""):t});return a?o:""},getFieldTitle:function(t,e){var i=!0,n=!1,a=void 0;try{for(var r,o=t[Symbol.iterator]();!(i=(r=o.next()).done);i=!0){var s=r.value;if(s.field===e)return s.title}}catch(t){n=!0,a=t}finally{try{!i&&o.return&&o.return()}finally{if(n)throw a}}return""},setFieldIndex:function(t){var e=0,i=[],n=!0,a=!1,r=void 0;try{for(var o,s=t[0][Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;e+=l.colspan||1}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}for(var c=0;c<t.length;c++){i[c]=[];for(var d=0;d<e;d++)i[c][d]=!1}for(var u=0;u<t.length;u++){var h=!0,p=!1,f=void 0;try{for(var g,m=t[u][Symbol.iterator]();!(h=(g=m.next()).done);h=!0){var v=g.value,y=v.rowspan||1,b=v.colspan||1,w=i[u].indexOf(!1);1===b&&(v.fieldIndex=w,void 0===v.field&&(v.field=w));for(var x=0;x<y;x++)i[u+x][w]=!0;for(var _=0;_<b;_++)i[u][w+_]=!0}}catch(t){p=!0,f=t}finally{try{!h&&m.return&&m.return()}finally{if(p)throw f}}}},getScrollBarWidth:function(){if(null===this.cachedWidth){var t=i("<div/>").addClass("fixed-table-scroll-inner"),e=i("<div/>").addClass("fixed-table-scroll-outer");e.append(t),i("body").append(e);var n=t[0].offsetWidth;e.css("overflow","scroll");var a=t[0].offsetWidth;n===a&&(a=e[0].clientWidth),e.remove(),this.cachedWidth=n-a}return this.cachedWidth},calculateObjectValue:function(t,e,i,r){var o=e;if("string"==typeof e){var s=e.split(".");if(s.length>1){o=window;var l=!0,c=!1,d=void 0;try{for(var u,h=s[Symbol.iterator]();!(l=(u=h.next()).done);l=!0){var p=u.value;o=o[p]}}catch(t){c=!0,d=t}finally{try{!l&&h.return&&h.return()}finally{if(c)throw d}}}else o=window[e]}return null!==o&&"object"===(void 0===o?"undefined":a(o))?o:"function"==typeof o?o.apply(t,i||[]):!o&&"string"==typeof e&&this.sprintf.apply(this,[e].concat(n(i)))?this.sprintf.apply(this,[e].concat(n(i))):r},compareObjects:function(t,e,i){var n=Object.keys(t),a=Object.keys(e);if(i&&n.length!==a.length)return!1;var r=!0,o=!1,s=void 0;try{for(var l,c=n[Symbol.iterator]();!(r=(l=c.next()).done);r=!0){var d=l.value;if(a.includes(d)&&t[d]!==e[d])return!1}}catch(t){o=!0,s=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw s}}return!0},escapeHTML:function(t){return"string"==typeof t?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;").replace(/`/g,"&#x60;"):t},getRealDataAttr:function(t){var i=!0,n=!1,a=void 0;try{for(var r,o=Object.entries(t)[Symbol.iterator]();!(i=(r=o.next()).done);i=!0){var s=r.value,l=e(s,2),c=l[0],d=l[1],u=c.split(/(?=[A-Z])/).join("-").toLowerCase();u!==c&&(t[u]=d,delete t[c])}}catch(t){n=!0,a=t}finally{try{!i&&o.return&&o.return()}finally{if(n)throw a}}return t},getItemField:function(t,e,i){var n=t;if("string"!=typeof e||t.hasOwnProperty(e))return i?this.escapeHTML(t[e]):t[e];var a=e.split("."),r=!0,o=!1,s=void 0;try{for(var l,c=a[Symbol.iterator]();!(r=(l=c.next()).done);r=!0){var d=l.value;n=n&&n[d]}}catch(t){o=!0,s=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw s}}return i?this.escapeHTML(n):n},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)}},c={classes:"table table-hover",theadClasses:"",sortClass:void 0,locale:void 0,height:void 0,undefinedText:"-",sortName:void 0,sortOrder:"asc",sortStable:!1,rememberOrder:!1,striped:!1,columns:[[]],data:[],totalField:"total",dataField:"rows",method:"get",url:void 0,ajax:void 0,cache:!0,contentType:"application/json",dataType:"json",ajaxOptions:{},queryParams:function(t){return t},queryParamsType:"limit",responseHandler:function(t){return t},pagination:!1,onlyInfoPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"&lsaquo;",paginationNextText:"&rsaquo;",search:!1,searchOnEnterKey:!1,strictSearch:!1,searchAlign:"right",selectItemName:"btSelectItem",showHeader:!0,showFooter:!1,showColumns:!1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,minimumCountColumns:1,idField:void 0,uniqueId:void 0,cardView:!1,detailView:!1,detailFormatter:function(t,e){return""},detailFilter:function(t,e){return!0},trimOnSearch:!0,clickToSelect:!1,singleSelect:!1,toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",checkboxHeader:!0,sortable:!0,silentSort:!0,maintainSelected:!1,searchTimeOut:500,searchText:"",iconSize:void 0,buttonsClass:s.classes.buttons,iconsPrefix:s.iconsPrefix,icons:s.icons,customSearch:i.noop,customSort:i.noop,ignoreClickToSelectOn:function(t){var e=t.tagName;return["A","BUTTON"].includes(e)},rowStyle:function(t,e){return{}},rowAttributes:function(t,e){return{}},footerStyle:function(t,e){return{}},onAll:function(t,e){return!1},onClickCell:function(t,e,i,n){return!1},onDblClickCell:function(t,e,i,n){return!1},onClickRow:function(t,e){return!1},onDblClickRow:function(t,e){return!1},onSort:function(t,e){return!1},onCheck:function(t){return!1},onUncheck:function(t){return!1},onCheckAll:function(t){return!1},onUncheckAll:function(t){return!1},onCheckSome:function(t){return!1},onUncheckSome:function(t){return!1},onLoadSuccess:function(t){return!1},onLoadError:function(t){return!1},onColumnSwitch:function(t,e){return!1},onPageChange:function(t,e){return!1},onSearch:function(t){return!1},onToggle:function(t){return!1},onPreBody:function(t){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onExpandRow:function(t,e,i){return!1},onCollapseRow:function(t,e){return!1},onRefreshOptions:function(t){return!1},onRefresh:function(t){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1}},d={};d["en-US"]=d.en={formatLoadingMessage:function(){return"Loading, please wait..."},formatRecordsPerPage:function(t){return l.sprintf("%s rows per page",t)},formatShowingRows:function(t,e,i){return l.sprintf("Showing %s to %s of %s rows",t,e,i)},formatDetailPagination:function(t){return l.sprintf("Showing %s rows",t)},formatSearch:function(){return"Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatFullscreen:function(){return"Fullscreen"},formatColumns:function(){return"Columns"},formatAllRows:function(){return"All"}},i.extend(c,d["en-US"]);var u={radio:!1,checkbox:!1,checkboxEnabled:!0,field:void 0,title:void 0,titleTooltip:void 0,class:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,width:void 0,sortable:!1,order:"asc",visible:!0,switchable:!0,clickToSelect:!0,formatter:void 0,footerFormatter:void 0,events:void 0,sorter:void 0,sortName:void 0,cellStyle:void 0,searchable:!0,searchFormatter:!0,cardVisible:!0,escape:!1,showSelectTitle:!1},h=function(){function n(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.options=e,this.$el=i(t),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0,this.init()}return t(n,[{key:"init",value:function(){this.initLocale(),this.initContainer(),this.initTable(),this.initHeader(),this.initData(),this.initHiddenRows(),this.initFooter(),this.initToolbar(),this.initPagination(),this.initBody(),this.initSearchText(),this.initServer()}},{key:"initLocale",value:function(){if(this.options.locale){var t=i.fn.bootstrapTable.locales,e=this.options.locale.split(/-|_/);e[0].toLowerCase(),e[1]&&e[1].toUpperCase(),t[this.options.locale]?i.extend(this.options,t[this.options.locale]):i.fn.bootstrapTable.locales[e.join("-")]?i.extend(this.options,t[e.join("-")]):i.fn.bootstrapTable.locales[e[0]]&&i.extend(this.options,t[e[0]])}}},{key:"initContainer",value:function(){var t=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"></div>':"",e=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"></div>':"";this.$container=i('\n        <div class="bootstrap-table">\n        <div class="fixed-table-toolbar"></div>\n        '+t+'\n        <div class="fixed-table-container">\n        <div class="fixed-table-header"><table></table></div>\n        <div class="fixed-table-body">\n        <div class="fixed-table-loading">\n        '+this.options.formatLoadingMessage()+'\n        </div>\n        </div>\n        <div class="fixed-table-footer"><table><tr></tr></table></div>\n        </div>\n        '+e+"\n        </div>\n      "),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$container.find(".fixed-table-footer"),this.options.buttonsToolbar?this.$toolbar=i("body").find(this.options.buttonsToolbar):this.$toolbar=this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('<div class="clearfix"></div>'),this.$el.addClass(this.options.classes),this.options.striped&&this.$el.addClass("table-striped"),this.options.classes.split(" ").includes("table-no-bordered")&&this.$tableContainer.addClass("table-no-bordered")}},{key:"initTable",value:function(){var t=this,e=[],a=[];if(this.$header=this.$el.find(">thead"),this.$header.length||(this.$header=i('<thead class="'+this.options.theadClasses+'"></thead>').appendTo(this.$el)),this.$header.find("tr").each(function(t,n){var a=[];i(n).find("th").each(function(t,e){void 0!==i(e).data("field")&&i(e).data("field",""+i(e).data("field")),a.push(i.extend({},{title:i(e).html(),class:i(e).attr("class"),titleTooltip:i(e).attr("title"),rowspan:i(e).attr("rowspan")?+i(e).attr("rowspan"):void 0,colspan:i(e).attr("colspan")?+i(e).attr("colspan"):void 0},i(e).data()))}),e.push(a)}),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=i.extend(!0,[],e,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],l.setFieldIndex(this.options.columns),this.options.columns.forEach(function(e,a){e.forEach(function(e,r){var o=i.extend({},n.COLUMN_DEFAULTS,e);void 0!==o.fieldIndex&&(t.columns[o.fieldIndex]=o,t.fieldsColumnsIndex[o.field]=o.fieldIndex),t.options.columns[a][r]=o})}),!this.options.data.length){var r=[];this.$el.find(">tbody>tr").each(function(e,n){var o={};o._id=i(n).attr("id"),o._class=i(n).attr("class"),o._data=l.getRealDataAttr(i(n).data()),i(n).find(">td").each(function(n,a){for(var s=+i(a).attr("colspan")||1,c=+i(a).attr("rowspan")||1,d=n;r[e]&&r[e][d];d++);for(var u=d;u<d+s;u++)for(var h=e;h<e+c;h++)r[h]||(r[h]=[]),r[h][u]=!0;var p=t.columns[d].field;o[p]=i(a).html(),o["_"+p+"_id"]=i(a).attr("id"),o["_"+p+"_class"]=i(a).attr("class"),o["_"+p+"_rowspan"]=i(a).attr("rowspan"),o["_"+p+"_colspan"]=i(a).attr("colspan"),o["_"+p+"_title"]=i(a).attr("title"),o["_"+p+"_data"]=l.getRealDataAttr(i(a).data())}),a.push(o)}),this.options.data=a,a.length&&(this.fromHtml=!0)}}},{key:"initHeader",value:function(){var t=this,e={},n=[];this.header={fields:[],styles:[],classes:[],formatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},this.options.columns.forEach(function(i,a){n.push("<tr>"),0===a&&!t.options.cardView&&t.options.detailView&&n.push('<th class="detail" rowspan="'+t.options.columns.length+'">\n            <div class="fht-cell"></div>\n            </th>\n          '),i.forEach(function(i,r){var o="",s="",c="",d="",u=l.sprintf(' class="%s"',i.class),h="px",p=i.width;if(void 0===i.width||t.options.cardView||"string"==typeof i.width&&i.width.includes("%")&&(h="%"),i.width&&"string"==typeof i.width&&(p=i.width.replace("%","").replace("px","")),s=l.sprintf("text-align: %s; ",i.halign?i.halign:i.align),c=l.sprintf("text-align: %s; ",i.align),d=l.sprintf("vertical-align: %s; ",i.valign),d+=l.sprintf("width: %s; ",!i.checkbox&&!i.radio||p?p?p+h:void 0:i.showSelectTitle?void 0:"36px"),void 0!==i.fieldIndex){if(t.header.fields[i.fieldIndex]=i.field,t.header.styles[i.fieldIndex]=c+d,t.header.classes[i.fieldIndex]=u,t.header.formatters[i.fieldIndex]=i.formatter,t.header.events[i.fieldIndex]=i.events,t.header.sorters[i.fieldIndex]=i.sorter,t.header.sortNames[i.fieldIndex]=i.sortName,t.header.cellStyles[i.fieldIndex]=i.cellStyle,t.header.searchables[i.fieldIndex]=i.searchable,!i.visible)return;if(t.options.cardView&&!i.cardVisible)return;e[i.field]=i}n.push("<th"+l.sprintf(' title="%s"',i.titleTooltip),i.checkbox||i.radio?l.sprintf(' class="bs-checkbox %s"',i.class||""):u,l.sprintf(' style="%s"',s+d),l.sprintf(' rowspan="%s"',i.rowspan),l.sprintf(' colspan="%s"',i.colspan),l.sprintf(' data-field="%s"',i.field),0===r&&a>0?" data-not-first-th":"",">"),n.push(l.sprintf('<div class="th-inner %s">',t.options.sortable&&i.sortable?"sortable both":""));var f=o=t.options.escape?l.escapeHTML(i.title):i.title;i.checkbox&&(o="",!t.options.singleSelect&&t.options.checkboxHeader&&(o='<input name="btSelectAll" type="checkbox" />'),t.header.stateField=i.field),i.radio&&(o="",t.header.stateField=i.field,t.options.singleSelect=!0),!o&&i.showSelectTitle&&(o+=f),n.push(o),n.push("</div>"),n.push('<div class="fht-cell"></div>'),n.push("</div>"),n.push("</th>")}),n.push("</tr>")}),this.$header.html(n.join("")),this.$header.find("th[data-field]").each(function(t,n){i(n).data(e[i(n).data("field")])}),this.$container.off("click",".th-inner").on("click",".th-inner",function(e){var n=i(e.currentTarget);if(t.options.detailView&&!n.parent().hasClass("bs-checkbox")&&n.closest(".bootstrap-table")[0]!==t.$container[0])return!1;t.options.sortable&&n.parent().data().sortable&&t.onSort(e)}),this.$header.children().children().off("keypress").on("keypress",function(e){if(t.options.sortable&&i(e.currentTarget).data().sortable){var n=e.keyCode||e.which;13===n&&t.onSort(e)}}),i(window).off("resize.bootstrap-table"),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),i(window).on("resize.bootstrap-table",i.proxy(this.resetWidth,this))),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",function(e){var n=e.currentTarget,a=i(n).prop("checked");t[a?"checkAll":"uncheckAll"](),t.updateSelected()})}},{key:"initFooter",value:function(){!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initData",value:function(t,e){this.options.data="append"===e?this.options.data.concat(t):"prepend"===e?[].concat(t).concat(this.options.data):t||this.options.data,this.data=this.options.data,"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var t=this,e=this.options.sortName,n="desc"===this.options.sortOrder?-1:1,a=this.header.fields.indexOf(this.options.sortName),r=0;this.options.customSort===i.noop?-1!==a&&(this.options.sortStable&&this.data.forEach(function(t,e){t._position=e}),this.data.sort(function(r,o){t.header.sortNames[a]&&(e=t.header.sortNames[a]);var s=l.getItemField(r,e,t.options.escape),c=l.getItemField(o,e,t.options.escape),d=l.calculateObjectValue(t.header,t.header.sorters[a],[s,c,r,o]);return void 0!==d?t.options.sortStable&&0===d?r._position-o._position:n*d:(null==s&&(s=""),null==c&&(c=""),t.options.sortStable&&s===c?(s=r._position,c=o._position,r._position-o._position):i.isNumeric(s)&&i.isNumeric(c)?(s=parseFloat(s),c=parseFloat(c),s<c?-1*n:n):s===c?0:("string"!=typeof s&&(s=s.toString()),-1===s.localeCompare(c)?-1*n:n))}),void 0!==this.options.sortClass&&(clearTimeout(r),r=setTimeout(function(){t.$el.removeClass(t.options.sortClass);var e=t.$header.find(l.sprintf('[data-field="%s"]',t.options.sortName).index()+1);t.$el.find(l.sprintf("tr td:nth-child(%s)",e)).addClass(t.options.sortClass)},250))):this.options.customSort.apply(this,[this.options.sortName,this.options.sortOrder])}},{key:"onSort",value:function(t){var e=t.type,n=t.currentTarget,a="keypress"===e?i(n):i(n).parent(),r=this.$header.find("th").eq(a.index());this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===a.data("field")?this.options.sortOrder="asc"===this.options.sortOrder?"desc":"asc":(this.options.sortName=a.data("field"),this.options.rememberOrder?this.options.sortOrder="asc"===a.data("order")?"desc":"asc":this.options.sortOrder=this.columns[this.fieldsColumnsIndex[a.data("field")]].order),this.trigger("sort",this.options.sortName,this.options.sortOrder),a.add(r).data("order",this.options.sortOrder),this.getCaret(),"server"!==this.options.sidePagination?(this.initSort(),this.initBody()):this.initServer(this.options.silentSort)}},{key:"initToolbar",value:function(){var t=this,e=[],n=0,r=void 0,o=void 0,c=0;this.$toolbar.find(".bs-bars").children().length&&i("body").append(i(this.options.toolbar)),this.$toolbar.html(""),"string"!=typeof this.options.toolbar&&"object"!==a(this.options.toolbar)||i(l.sprintf('<div class="bs-bars %s-%s"></div>',s.classes.pull,this.options.toolbarAlign)).appendTo(this.$toolbar).append(i(this.options.toolbar)),e=[l.sprintf('<div class="columns columns-%s btn-group %s-%s">',this.options.buttonsAlign,s.classes.pull,this.options.buttonsAlign)],"string"==typeof this.options.icons&&(this.options.icons=l.calculateObjectValue(null,this.options.icons)),this.options.showPaginationSwitch&&e.push(l.sprintf('<button class="btn'+l.sprintf(" btn-%s",this.options.buttonsClass)+l.sprintf(" btn-%s",this.options.iconSize)+'" type="button" name="paginationSwitch" aria-label="pagination Switch" title="%s">',this.options.formatPaginationSwitch()),l.sprintf('<i class="%s %s"></i>',this.options.iconsPrefix,this.options.icons.paginationSwitchDown),"</button>"),this.options.showFullscreen&&this.$toolbar.find('button[name="fullscreen"]').off("click").on("click",i.proxy(this.toggleFullscreen,this)),this.options.showRefresh&&e.push(l.sprintf('<button class="btn'+l.sprintf(" btn-%s",this.options.buttonsClass)+l.sprintf(" btn-%s",this.options.iconSize)+'" type="button" name="refresh" aria-label="refresh" title="%s">',this.options.formatRefresh()),l.sprintf('<i class="%s %s"></i>',this.options.iconsPrefix,this.options.icons.refresh),"</button>"),this.options.showToggle&&e.push(l.sprintf('<button class="btn'+l.sprintf(" btn-%s",this.options.buttonsClass)+l.sprintf(" btn-%s",this.options.iconSize)+'" type="button" name="toggle" aria-label="toggle" title="%s">',this.options.formatToggle()),l.sprintf('<i class="%s %s"></i>',this.options.iconsPrefix,this.options.icons.toggleOff),"</button>"),this.options.showFullscreen&&e.push(l.sprintf('<button class="btn'+l.sprintf(" btn-%s",this.options.buttonsClass)+l.sprintf(" btn-%s",this.options.iconSize)+'" type="button" name="fullscreen" aria-label="fullscreen" title="%s">',this.options.formatFullscreen()),l.sprintf('<i class="%s %s"></i>',this.options.iconsPrefix,this.options.icons.fullscreen),"</button>"),this.options.showColumns&&(e.push(l.sprintf('<div class="keep-open btn-group" title="%s">',this.options.formatColumns()),'<button type="button" aria-label="columns" class="btn'+l.sprintf(" btn-%s",this.options.buttonsClass)+l.sprintf(" btn-%s",this.options.iconSize)+' dropdown-toggle" data-toggle="dropdown">',l.sprintf('<i class="%s %s"></i>',this.options.iconsPrefix,this.options.icons.columns),' <span class="caret"></span>',"</button>",s.html.toobarDropdow[0]),this.columns.forEach(function(i,n){if(!i.radio&&!i.checkbox&&(!t.options.cardView||i.cardVisible)){var a=i.visible?' checked="checked"':"";i.switchable&&(e.push(l.sprintf(s.html.toobarDropdowItem,l.sprintf('<input type="checkbox" data-field="%s" value="%s"%s> %s',i.field,n,a,i.title))),c++)}}),e.push(s.html.toobarDropdow[1],"</div>")),e.push("</div>"),(this.showToolbar||e.length>2)&&this.$toolbar.append(e.join("")),this.options.showPaginationSwitch&&this.$toolbar.find('button[name="paginationSwitch"]').off("click").on("click",i.proxy(this.togglePagination,this)),this.options.showRefresh&&this.$toolbar.find('button[name="refresh"]').off("click").on("click",i.proxy(this.refresh,this)),this.options.showToggle&&this.$toolbar.find('button[name="toggle"]').off("click").on("click",function(){t.toggleView()}),this.options.showColumns&&(r=this.$toolbar.find(".keep-open"),c<=this.options.minimumCountColumns&&r.find("input").prop("disabled",!0),r.find("li").off("click").on("click",function(t){t.stopImmediatePropagation()}),r.find("input").off("click").on("click",function(e){var n=e.currentTarget,a=i(n);t.toggleColumn(a.val(),a.prop("checked"),!1),t.trigger("column-switch",a.data("field"),a.prop("checked"))})),this.options.search&&((e=[]).push(l.sprintf('<div class="%s-%s search">',s.classes.pull,this.options.searchAlign),l.sprintf('<input class="form-control'+l.sprintf(" input-%s",this.options.iconSize)+'" type="text" placeholder="%s">',this.options.formatSearch()),"</div>"),this.$toolbar.append(e.join("")),(o=this.$toolbar.find(".search input")).off("keyup drop blur").on("keyup drop blur",function(e){t.options.searchOnEnterKey&&13!==e.keyCode||[37,38,39,40].includes(e.keyCode)||(clearTimeout(n),n=setTimeout(function(){t.onSearch(e)},t.options.searchTimeOut))}),l.isIEBrowser()&&o.off("mouseup").on("mouseup",function(e){clearTimeout(n),n=setTimeout(function(){t.onSearch(e)},t.options.searchTimeOut)}))}},{key:"onSearch",value:function(t){var e=t.currentTarget,n=t.firedByInitSearchText,a=i.trim(i(e).val());this.options.trimOnSearch&&i(e).val()!==a&&i(e).val(a),a!==this.searchText&&(this.searchText=a,this.options.searchText=a,n||(this.options.pageNumber=1),this.initSearch(),n?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",a))}},{key:"initSearch",value:function(){var t=this;if("server"!==this.options.sidePagination){if(this.options.customSearch!==i.noop)return void l.calculateObjectValue(this.options,this.options.customSearch,[this.searchText]);var e=this.searchText&&(this.options.escape?l.escapeHTML(this.searchText):this.searchText).toLowerCase(),n=i.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.data=n?this.options.data.filter(function(t,e){for(var i in n)if(Array.isArray(n[i])&&!n[i].includes(t[i])||!Array.isArray(n[i])&&t[i]!==n[i])return!1;return!0}):this.options.data,this.data=e?this.data.filter(function(n,a){for(var r=0;r<t.header.fields.length;r++)if(t.header.searchables[r]){var o=i.isNumeric(t.header.fields[r])?parseInt(t.header.fields[r],10):t.header.fields[r],s=t.columns[t.fieldsColumnsIndex[o]],c=void 0;if("string"==typeof o){c=n;for(var d=o.split("."),u=0;u<d.length;u++)null!==c[d[u]]&&(c=c[d[u]])}else c=n[o];if(s&&s.searchFormatter&&(c=l.calculateObjectValue(s,t.header.formatters[r],[c,n,a],c)),"string"==typeof c||"number"==typeof c)if(t.options.strictSearch){if((""+c).toLowerCase()===e)return!0}else if((""+c).toLowerCase().includes(e))return!0}return!1}):this.data}}},{key:"initPagination",value:function(){var t=this;if(this.options.pagination){this.$pagination.show();var e=[],n=!1,a=void 0,r=void 0,o=void 0,c=void 0,d=void 0,u=void 0,h=void 0,p=this.getData(),f=this.options.pageList;if("server"!==this.options.sidePagination&&(this.options.totalRows=p.length),this.totalPages=0,this.options.totalRows){if(this.options.pageSize===this.options.formatAllRows())this.options.pageSize=this.options.totalRows,n=!0;else if(this.options.pageSize===this.options.totalRows){var g="string"==typeof this.options.pageList?this.options.pageList.replace("[","").replace("]","").replace(/ /g,"").toLowerCase().split(","):this.options.pageList;g.includes(this.options.formatAllRows().toLowerCase())&&(n=!0)}this.totalPages=1+~~((this.options.totalRows-1)/this.options.pageSize),this.options.totalPages=this.totalPages}if(this.totalPages>0&&this.options.pageNumber>this.totalPages&&(this.options.pageNumber=this.totalPages),this.pageFrom=(this.options.pageNumber-1)*this.options.pageSize+1,this.pageTo=this.options.pageNumber*this.options.pageSize,this.pageTo>this.options.totalRows&&(this.pageTo=this.options.totalRows),e.push(l.sprintf('<div class="%s-%s pagination-detail">',s.classes.pull,this.options.paginationDetailHAlign),'<span class="pagination-info">',this.options.onlyInfoPagination?this.options.formatDetailPagination(this.options.totalRows):this.options.formatShowingRows(this.pageFrom,this.pageTo,this.options.totalRows),"</span>"),!this.options.onlyInfoPagination){e.push('<span class="page-list">');var m=[l.sprintf('<span class="btn-group %s">',"top"===this.options.paginationVAlign||"both"===this.options.paginationVAlign?"dropdown":"dropup"),'<button type="button" class="btn'+l.sprintf(" btn-%s",this.options.buttonsClass)+l.sprintf(" btn-%s",this.options.iconSize)+' dropdown-toggle" data-toggle="dropdown">','<span class="page-size">',n?this.options.formatAllRows():this.options.pageSize,"</span>",' <span class="caret"></span>',"</button>",s.html.pageDropdown[0]];if("string"==typeof this.options.pageList){var v=this.options.pageList.replace("[","").replace("]","").replace(/ /g,"").split(",");f=[];var y=!0,b=!1,w=void 0;try{for(var x,_=v[Symbol.iterator]();!(y=(x=_.next()).done);y=!0){var k=x.value;f.push(k.toUpperCase()===this.options.formatAllRows().toUpperCase()||"UNLIMITED"===k.toUpperCase()?this.options.formatAllRows():+k)}}catch(t){b=!0,w=t}finally{try{!y&&_.return&&_.return()}finally{if(b)throw w}}}for(f.forEach(function(e,i){if(!t.options.smartDisplay||0===i||f[i-1]<t.options.totalRows){var a=void 0;a=n?e===t.options.formatAllRows()?"active":"":e===t.options.pageSize?"active":"",m.push(l.sprintf(s.html.pageDropdownItem,a,e))}}),m.push(s.html.pageDropdown[1]+"</span>"),e.push(this.options.formatRecordsPerPage(m.join(""))),e.push("</span>"),e.push("</div>",l.sprintf('<div class="%s-%s pagination">',s.classes.pull,this.options.paginationHAlign),'<ul class="pagination'+l.sprintf(" pagination-%s",this.options.iconSize)+'">',l.sprintf('<li class="page-item page-pre"><a class="page-link" href="#">%s</a></li>',this.options.paginationPreText)),this.totalPages<5?(r=1,o=this.totalPages):(r=this.options.pageNumber-2,o=r+4,r<1&&(r=1,o=5),o>this.totalPages&&(o=this.totalPages,r=o-4)),this.totalPages>=6&&(this.options.pageNumber>=3&&(e.push(l.sprintf('<li class="page-item page-first%s">',1===this.options.pageNumber?" active":""),'<a class="page-link" href="#">',1,"</a>","</li>"),r++),this.options.pageNumber>=4&&(4===this.options.pageNumber||6===this.totalPages||7===this.totalPages?r--:e.push('<li class="page-item page-first-separator disabled">','<a class="page-link" href="#">...</a>',"</li>"),o--)),this.totalPages>=7&&this.options.pageNumber>=this.totalPages-2&&r--,6===this.totalPages?this.options.pageNumber>=this.totalPages-2&&o++:this.totalPages>=7&&(7===this.totalPages||this.options.pageNumber>=this.totalPages-3)&&o++,a=r;a<=o;a++)e.push(l.sprintf('<li class="page-item%s">',a===this.options.pageNumber?" active":""),'<a class="page-link" href="#">',a,"</a>","</li>");this.totalPages>=8&&this.options.pageNumber<=this.totalPages-4&&e.push('<li class="page-item page-last-separator disabled">','<a class="page-link" href="#">...</a>',"</li>"),this.totalPages>=6&&this.options.pageNumber<=this.totalPages-3&&e.push(l.sprintf('<li class="page-item page-last%s">',this.totalPages===this.options.pageNumber?" active":""),'<a class="page-link" href="#">',this.totalPages,"</a>","</li>"),e.push(l.sprintf('<li class="page-item page-next"><a class="page-link" href="#">%s</a></li>',this.options.paginationNextText),"</ul>","</div>")}this.$pagination.html(e.join("")),this.options.onlyInfoPagination||(c=this.$pagination.find(".page-list a"),d=this.$pagination.find(".page-pre"),u=this.$pagination.find(".page-next"),h=this.$pagination.find(".page-item").not(".page-next, .page-pre"),this.options.smartDisplay&&(this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),(f.length<2||this.options.totalRows<=f[0])&&this.$pagination.find("span.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"]()),this.options.paginationLoop||(1===this.options.pageNumber&&d.addClass("disabled"),this.options.pageNumber===this.totalPages&&u.addClass("disabled")),n&&(this.options.pageSize=this.options.formatAllRows()),c.off("click").on("click",i.proxy(this.onPageListChange,this)),d.off("click").on("click",i.proxy(this.onPagePre,this)),u.off("click").on("click",i.proxy(this.onPageNext,this)),h.off("click").on("click",i.proxy(this.onPageNumber,this)))}else this.$pagination.hide()}},{key:"updatePagination",value:function(t){t&&i(t.currentTarget).hasClass("disabled")||(this.options.maintainSelected||this.resetRows(),this.initPagination(),"server"===this.options.sidePagination?this.initServer():this.initBody(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize))}},{key:"onPageListChange",value:function(t){t.preventDefault();var e=i(t.currentTarget);return e.parent().addClass("active").siblings().removeClass("active"),this.options.pageSize=e.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+e.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(t),!1}},{key:"onPagePre",value:function(t){return t.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(t),!1}},{key:"onPageNext",value:function(t){return t.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(t),!1}},{key:"onPageNumber",value:function(t){if(t.preventDefault(),this.options.pageNumber!==+i(t.currentTarget).text())return this.options.pageNumber=+i(t.currentTarget).text(),this.updatePagination(t),!1}},{key:"initRow",value:function(t,n,a,r){var o=this,s=[],c={},d=[],u="",h={},p=[];if(!this.hiddenRows.includes(t)){if((c=l.calculateObjectValue(this.options,this.options.rowStyle,[t,n],c))&&c.css){var f=!0,g=!1,m=void 0;try{for(var v,y=Object.entries(c.css)[Symbol.iterator]();!(f=(v=y.next()).done);f=!0){var b=v.value,w=e(b,2),x=w[0],_=w[1];d.push(x+": "+_)}}catch(t){g=!0,m=t}finally{try{!f&&y.return&&y.return()}finally{if(g)throw m}}}if(h=l.calculateObjectValue(this.options,this.options.rowAttributes,[t,n],h)){var k=!0,S=!1,M=void 0;try{for(var C,T=Object.entries(h)[Symbol.iterator]();!(k=(C=T.next()).done);k=!0){var D=C.value,L=e(D,2),E=L[0],A=L[1];p.push(E+'="'+l.escapeHTML(A)+'"')}}catch(t){S=!0,M=t}finally{try{!k&&T.return&&T.return()}finally{if(S)throw M}}}if(t._data&&!i.isEmptyObject(t._data)){var P=!0,Y=!1,O=void 0;try{for(var I,H=Object.entries(t._data)[Symbol.iterator]();!(P=(I=H.next()).done);P=!0){var R=I.value,N=e(R,2),j=N[0],F=N[1];if("index"===j)return;u+=" data-"+j+'="'+F+'"'}}catch(t){Y=!0,O=t}finally{try{!P&&H.return&&H.return()}finally{if(Y)throw O}}}return s.push("<tr",l.sprintf(" %s",p.length?p.join(" "):void 0),l.sprintf(' id="%s"',Array.isArray(t)?void 0:t._id),l.sprintf(' class="%s"',c.classes||(Array.isArray(t)?void 0:t._class)),' data-index="'+n+'"',l.sprintf(' data-uniqueid="%s"',t[this.options.uniqueId]),l.sprintf("%s",u),">"),this.options.cardView&&s.push('<td colspan="'+this.header.fields.length+'"><div class="card-views">'),!this.options.cardView&&this.options.detailView&&(s.push("<td>"),l.calculateObjectValue(null,this.options.detailFilter,[n,t])&&s.push('\n            <a class="detail-icon" href="#">\n            <i class="'+this.options.iconsPrefix+" "+this.options.icons.detailOpen+'"></i>\n            </a>\n          '),s.push("</td>")),this.header.fields.forEach(function(a,r){var u="",h=l.getItemField(t,a,o.options.escape),p="",f="",g={},m="",v=o.header.classes[r],y="",b="",w="",x="",_="",k=o.columns[r];if((!o.fromHtml||void 0!==h||k.checkbox||k.radio)&&k.visible&&(!o.options.cardView||k.cardVisible)){if(k.escape&&(h=l.escapeHTML(h)),d.concat([o.header.styles[r]]).length&&(y=' style="'+d.concat([o.header.styles[r]]).join("; ")+'"'),t["_"+a+"_id"]&&(m=l.sprintf(' id="%s"',t["_"+a+"_id"])),t["_"+a+"_class"]&&(v=l.sprintf(' class="%s"',t["_"+a+"_class"])),t["_"+a+"_rowspan"]&&(w=l.sprintf(' rowspan="%s"',t["_"+a+"_rowspan"])),t["_"+a+"_colspan"]&&(x=l.sprintf(' colspan="%s"',t["_"+a+"_colspan"])),t["_"+a+"_title"]&&(_=l.sprintf(' title="%s"',t["_"+a+"_title"])),(g=l.calculateObjectValue(o.header,o.header.cellStyles[r],[h,t,n,a],g)).classes&&(v=' class="'+g.classes+'"'),g.css){var S=[],M=!0,C=!1,T=void 0;try{for(var D,L=Object.entries(g.css)[Symbol.iterator]();!(M=(D=L.next()).done);M=!0){var E=D.value,A=e(E,2),P=A[0],Y=A[1];S.push(P+": "+Y)}}catch(t){C=!0,T=t}finally{try{!M&&L.return&&L.return()}finally{if(C)throw T}}y=' style="'+S.concat(o.header.styles[r]).join("; ")+'"'}if(p=l.calculateObjectValue(k,o.header.formatters[r],[h,t,n,a],h),t["_"+a+"_data"]&&!i.isEmptyObject(t["_"+a+"_data"])){var O=!0,I=!1,H=void 0;try{for(var R,N=Object.entries(t["_"+a+"_data"])[Symbol.iterator]();!(O=(R=N.next()).done);O=!0){var j=R.value,F=e(j,2),z=F[0],W=F[1];if("index"===z)return;b+=" data-"+z+'="'+W+'"'}}catch(t){I=!0,H=t}finally{try{!O&&N.return&&N.return()}finally{if(I)throw H}}}if(k.checkbox||k.radio){f=k.checkbox?"checkbox":f,f=k.radio?"radio":f;var B=k.class||"",V=!0===p||h||p&&p.checked,$=!k.checkboxEnabled||p&&p.disabled;u=[o.options.cardView?'<div class="card-view '+B+'">':'<td class="bs-checkbox '+B+'">','<input\n              data-index="'+n+'"\n              name="'+o.options.selectItemName+'"\n              type="'+f+'"\n              '+l.sprintf('value="%s"',t[o.options.idField])+"\n              "+l.sprintf('checked="%s"',V?"checked":void 0)+"\n              "+l.sprintf('disabled="%s"',$?"disabled":void 0)+" />",o.header.formatters[r]&&"string"==typeof p?p:"",o.options.cardView?"</div>":"</td>"].join(""),t[o.header.stateField]=!0===p||!!h||p&&p.checked}else if(p=null==p?o.options.undefinedText:p,o.options.cardView){var X=o.options.showHeader?'<span class="title"'+c+">"+l.getFieldTitle(o.columns,a)+"</span>":"";u='<div class="card-view">'+X+'<span class="value">'+p+"</span></div>",o.options.smartDisplay&&""===p&&(u='<div class="card-view"></div>')}else u="<td"+m+v+y+b+w+x+_+">"+p+"</td>";s.push(u)}}),this.options.cardView&&s.push("</div></td>"),s.push("</tr>"),s.join("")}}},{key:"initBody",value:function(t){var n=this,a=this.getData();this.trigger("pre-body",a),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=i("<tbody></tbody>").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=a.length);for(var r=i(document.createDocumentFragment()),o=!1,s=this.pageFrom-1;s<this.pageTo;s++){var c=a[s],d=this.initRow(c,s,a,r);o=o||!!d,d&&"string"==typeof d&&r.append(d)}o?this.$body.html(r):this.$body.html('<tr class="no-records-found">'+l.sprintf('<td colspan="%s">%s</td>',this.$header.find("th").length,this.options.formatNoMatches())+"</tr>"),t||this.scrollTo(0),this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",function(t){var e=t.currentTarget,a=t.type,r=t.target,o=i(e),s=o.parent(),c=n.data[s.data("index")],d=o[0].cellIndex,u=n.getVisibleFields(),h=u[n.options.detailView&&!n.options.cardView?d-1:d],p=n.columns[n.fieldsColumnsIndex[h]],f=l.getItemField(c,h,n.options.escape);if(!o.find(".detail-icon").length&&(n.trigger("click"===a?"click-cell":"dbl-click-cell",h,f,c,o),n.trigger("click"===a?"click-row":"dbl-click-row",c,s,h),"click"===a&&n.options.clickToSelect&&p.clickToSelect&&!n.options.ignoreClickToSelectOn(r))){var g=s.find(l.sprintf('[name="%s"]',n.options.selectItemName));g.length&&g[0].click()}}),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",function(t){t.preventDefault();var e=i(t.currentTarget),r=e.parent().parent(),o=r.data("index"),s=a[o];if(r.next().is("tr.detail-view"))e.find("i").attr("class",l.sprintf("%s %s",n.options.iconsPrefix,n.options.icons.detailOpen)),n.trigger("collapse-row",o,s,r.next()),r.next().remove();else{e.find("i").attr("class",l.sprintf("%s %s",n.options.iconsPrefix,n.options.icons.detailClose)),r.after(l.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>',r.find("td").length));var c=r.next().find("td"),d=l.calculateObjectValue(n.options,n.options.detailFormatter,[o,s,c],"");1===c.length&&c.append(d),n.trigger("expand-row",o,s,c)}return n.resetView(),!1}),this.$selectItem=this.$body.find(l.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",function(t){t.stopImmediatePropagation();var e=i(t.currentTarget);n.check_(e.prop("checked"),e.data("index"))}),this.header.events.forEach(function(t,a){var r=t;if(r){"string"==typeof r&&(r=l.calculateObjectValue(null,r));var o=n.header.fields[a],s=n.getVisibleFields().indexOf(o);if(-1!==s){n.options.detailView&&!n.options.cardView&&(s+=1);var c=function(t,e){n.$body.find(">tr:not(.no-records-found)").each(function(a,r){var l=i(r),c=l.find(n.options.cardView?".card-view":"td").eq(s),d=t.indexOf(" "),u=t.substring(0,d),h=t.substring(d+1);c.find(h).off(u).on(u,function(t){var i=l.data("index"),a=n.data[i],r=a[o];e.apply(n,[t,r,a,i])})})},d=!0,u=!1,h=void 0;try{for(var p,f=Object.entries(r)[Symbol.iterator]();!(d=(p=f.next()).done);d=!0){var g=p.value,m=e(g,2),v=m[0],y=m[1];c(v,y)}}catch(t){u=!0,h=t}finally{try{!d&&f.return&&f.return()}finally{if(u)throw h}}}}}),this.updateSelected(),this.resetView(),this.trigger("post-body",a)}},{key:"initServer",value:function(t,e,n){var a=this,r={},o=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[o]&&(s.sortName=this.header.sortNames[o]),this.options.pagination&&"server"===this.options.sidePagination&&(s.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,s.pageNumber=this.options.pageNumber),(n||this.options.url||this.options.ajax)&&("limit"===this.options.queryParamsType&&(s={search:s.searchText,sort:s.sortName,order:s.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(s.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),s.limit=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,0===s.limit&&delete s.limit)),i.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),r=l.calculateObjectValue(this.options,this.options.queryParams,[s],r),i.extend(r,e||{}),!1!==r)){t||this.$tableLoading.show();var c=i.extend({},l.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:n||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(r):r,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(e){var i=l.calculateObjectValue(a.options,a.options.responseHandler,[e],e);a.load(i),a.trigger("load-success",i),t||a.$tableLoading.hide()},error:function(e){var i=[];"server"===a.options.sidePagination&&((i={})[a.options.totalField]=0,i[a.options.dataField]=[]),a.load(i),a.trigger("load-error",e.status,e),t||a.$tableLoading.hide()}});this.options.ajax?l.calculateObjectValue(this,this.options.ajax,[c],null):(this._xhr&&4!==this._xhr.readyState&&this._xhr.abort(),this._xhr=i.ajax(c))}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var t=this.$toolbar.find(".search input");t.val(this.options.searchText),this.onSearch({currentTarget:t,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var t=this;this.$header.find("th").each(function(e,n){i(n).find(".sortable").removeClass("desc asc").addClass(i(n).data("field")===t.options.sortName?t.options.sortOrder:"both")})}},{key:"updateSelected",value:function(){var t=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",t),this.$selectItem.each(function(t,e){i(e).closest("tr")[i(e).prop("checked")?"addClass":"removeClass"]("selected")})}},{key:"updateRows",value:function(){var t=this;this.$selectItem.each(function(e,n){t.data[i(n).data("index")][t.header.stateField]=i(n).prop("checked")})}},{key:"resetRows",value:function(){var t=!0,e=!1,i=void 0;try{for(var n,a=this.data[Symbol.iterator]();!(t=(n=a.next()).done);t=!0){var r=n.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(r[this.header.stateField]=!1)}}catch(t){e=!0,i=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw i}}this.initHiddenRows()}},{key:"trigger",value:function(t){for(var e,a=t+".bs.table",r=arguments.length,o=Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];(e=this.options)[n.EVENTS[a]].apply(e,o),this.$el.trigger(i.Event(a),o),this.options.onAll(a,o),this.$el.trigger(i.Event("all.bs.table"),[a,o])}},{key:"resetHeader",value:function(){clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(i.proxy(this.fitHeader,this),this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var t=this;if(this.$el.is(":hidden"))this.timeoutId_=setTimeout(i.proxy(this.fitHeader,this),100);else{var e=this.$tableBody.get(0),n=e.scrollWidth>e.clientWidth&&e.scrollHeight>e.clientHeight+this.$header.outerHeight()?l.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var a=i(":focus");if(a.length>0){var r=a.parents("th");if(r.length>0){var o=r.attr("data-field");if(void 0!==o){var s=this.$header.find("[data-field='"+o+"']");s.length>0&&s.find(":input").addClass("focus-temp")}}}this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css({"margin-right":n}).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_);var c=i(".focus-temp:visible:eq(0)");c.length>0&&(c.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each(function(e,n){t.$header_.find(l.sprintf('th[data-field="%s"]',i(n).data("field"))).data(i(n).data())});var d=this.getVisibleFields(),u=this.$header_.find("th");this.$body.find(">tr:first-child:not(.no-records-found) > *").each(function(e,n){var a=i(n),r=e;if(t.options.detailView&&!t.options.cardView&&(0===e&&t.$header_.find("th.detail").find(".fht-cell").width(a.innerWidth()),r=e-1),-1!==r){var o=t.$header_.find(l.sprintf('th[data-field="%s"]',d[r]));o.length>1&&(o=i(u[a[0].cellIndex]));var s=o.width()-o.find(".fht-cell").width();o.find(".fht-cell").width(a.innerWidth()-s)}}),this.horizontalScroll(),this.trigger("post-header")}}},{key:"resetFooter",value:function(){var t=this.getData(),n=[];if(this.options.showFooter&&!this.options.cardView){!this.options.cardView&&this.options.detailView&&n.push('<td><div class="th-inner">&nbsp;</div><div class="fht-cell"></div></td>');var a=!0,r=!1,o=void 0;try{for(var s,c=this.columns[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var d=s.value,u="",h="",p=[],f={},g=l.sprintf(' class="%s"',d.class);if(!d.visible)return;if(this.options.cardView&&!d.cardVisible)return;if(u=l.sprintf("text-align: %s; ",d.falign?d.falign:d.align),h=l.sprintf("vertical-align: %s; ",d.valign),(f=l.calculateObjectValue(null,this.options.footerStyle))&&f.css){var m=!0,v=!1,y=void 0;try{for(var b,w=Object.keys(f.css)[Symbol.iterator]();!(m=(b=w.next()).done);m=!0){var x=b.value,_=e(x,2),k=_[0],S=_[1];p.push(k+": "+S)}}catch(t){v=!0,y=t}finally{try{!m&&w.return&&w.return()}finally{if(v)throw y}}}n.push("<td",g,l.sprintf(' style="%s"',u+h+p.concat().join("; ")),">"),n.push('<div class="th-inner">'),n.push(l.calculateObjectValue(d,d.footerFormatter,[t],"&nbsp;")||"&nbsp;"),n.push("</div>"),n.push('<div class="fht-cell"></div>'),n.push("</div>"),n.push("</td>")}}catch(t){r=!0,o=t}finally{try{!a&&c.return&&c.return()}finally{if(r)throw o}}this.$tableFooter.find("tr").html(n.join("")),this.$tableFooter.show(),clearTimeout(this.timeoutFooter_),this.timeoutFooter_=setTimeout(i.proxy(this.fitFooter,this),this.$el.is(":hidden")?100:0)}}},{key:"fitFooter",value:function(){if(clearTimeout(this.timeoutFooter_),this.$el.is(":hidden"))this.timeoutFooter_=setTimeout(i.proxy(this.fitFooter,this),100);else{var t=this.$el.css("width"),e=t>this.$tableBody.width()?l.getScrollBarWidth():0;this.$tableFooter.css({"margin-right":e}).find("table").css("width",t).attr("class",this.$el.attr("class"));var n=this.$tableFooter.find("td");this.$body.find(">tr:first-child:not(.no-records-found) > *").each(function(t,e){var a=i(e);n.eq(t).find(".fht-cell").width(a.innerWidth())}),this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var t=this;this.trigger("scroll-body"),this.$tableBody.off("scroll").on("scroll",function(e){var n=e.currentTarget;t.options.showHeader&&t.options.height&&t.$tableHeader.scrollLeft(i(n).scrollLeft()),t.options.showFooter&&!t.options.cardView&&t.$tableFooter.scrollLeft(i(n).scrollLeft())})}},{key:"toggleColumn",value:function(t,e,i){if(-1!==t&&(this.columns[t].visible=e,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var n=this.$toolbar.find(".keep-open input").prop("disabled",!1);i&&n.filter(l.sprintf('[value="%s"]',t)).prop("checked",e),n.filter(":checked").length<=this.options.minimumCountColumns&&n.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleFields",value:function(){var t=[],e=!0,i=!1,n=void 0;try{for(var a,r=this.header.fields[Symbol.iterator]();!(e=(a=r.next()).done);e=!0){var o=a.value,s=this.columns[this.fieldsColumnsIndex[o]];s.visible&&t.push(o)}}catch(t){i=!0,n=t}finally{try{!e&&r.return&&r.return()}finally{if(i)throw n}}return t}},{key:"resetView",value:function(t){var e=0;if(t&&t.height&&(this.options.height=t.height),this.$selectAll.prop("checked",this.$selectItem.length>0&&this.$selectItem.length===this.$selectItem.filter(":checked").length),this.options.height){var i=this.$toolbar.outerHeight(!0),n=this.$pagination.outerHeight(!0),a=this.options.height-i-n;this.$tableContainer.css("height",a+"px")}if(this.options.cardView)return this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),void this.$tableFooter.hide();this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),e+=this.$header.outerHeight()):(this.$tableHeader.hide(),this.trigger("post-header")),this.options.showFooter&&(this.resetFooter(),this.options.height&&(e+=this.$tableFooter.outerHeight()+1)),this.getCaret(),this.$tableContainer.css("padding-bottom",e+"px"),this.trigger("reset-view")}},{key:"getData",value:function(t){var e=this.options.data;return!this.searchText&&!this.options.sortName&&i.isEmptyObject(this.filterColumns)&&i.isEmptyObject(this.filterColumnsPartial)||(e=this.data),t?e.slice(this.pageFrom-1,this.pageTo):e}},{key:"load",value:function(t){var e=!1,i=t;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=i[this.options.totalField]),e=i.fixedScroll,i=Array.isArray(i)?i:i[this.options.dataField],this.initData(i),this.initSearch(),this.initPagination(),this.initBody(e)}},{key:"append",value:function(t){this.initData(t,"append"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"prepend",value:function(t){this.initData(t,"prepend"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"remove",value:function(t){var e=this.options.data.length,i=void 0,n=void 0;if(t.hasOwnProperty("field")&&t.hasOwnProperty("values")){for(i=e-1;i>=0;i--)(n=this.options.data[i]).hasOwnProperty(t.field)&&t.values.includes(n[t.field])&&(this.options.data.splice(i,1),"server"===this.options.sidePagination&&(this.options.totalRows-=1));e!==this.options.data.length&&(this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"getRowByUniqueId",value:function(t){var e=this.options.uniqueId,i=this.options.data.length,n=t,a=null,r=void 0,o=void 0,s=void 0;for(r=i-1;r>=0;r--){if((o=this.options.data[r]).hasOwnProperty(e))s=o[e];else{if(!o._data||!o._data.hasOwnProperty(e))continue;s=o._data[e]}if("string"==typeof s?n=n.toString():"number"==typeof s&&(Number(s)===s&&s%1==0?n=parseInt(n):s===Number(s)&&0!==s&&(n=parseFloat(n))),s===n){a=o;break}}return a}},{key:"removeByUniqueId",value:function(t){var e=this.options.data.length,i=this.getRowByUniqueId(t);i&&this.options.data.splice(this.options.data.indexOf(i),1),e!==this.options.data.length&&(this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"updateByUniqueId",value:function(t){var e=Array.isArray(t)?t:[t],n=!0,a=!1,r=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;if(l.hasOwnProperty("id")&&l.hasOwnProperty("row")){var c=this.options.data.indexOf(this.getRowByUniqueId(l.id));-1!==c&&i.extend(this.options.data[c],l.row)}}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"refreshColumnTitle",value:function(t){if(t.hasOwnProperty("field")&&t.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[t.field]].title=this.options.escape?l.escapeHTML(t.title):t.title,this.columns[this.fieldsColumnsIndex[t.field]].visible)){var e=void 0!==this.options.height?this.$tableHeader:this.$header;e.find("th[data-field]").each(function(e,n){if(i(n).data("field")===t.field)return i(i(n).find(".th-inner")[0]).text(t.title),!1})}}},{key:"insertRow",value:function(t){t.hasOwnProperty("index")&&t.hasOwnProperty("row")&&(this.options.data.splice(t.index,0,t.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(t){var e=Array.isArray(t)?t:[t],n=!0,a=!1,r=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;l.hasOwnProperty("index")&&l.hasOwnProperty("row")&&i.extend(this.options.data[l.index],l.row)}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"showRow",value:function(t){this.toggleRow(t,!0)}},{key:"hideRow",value:function(t){this.toggleRow(t,!1)}},{key:"toggleRow",value:function(t,e){var i=void 0;if(t.hasOwnProperty("index")?i=this.getData()[t.index]:t.hasOwnProperty("uniqueId")&&(i=this.getRowByUniqueId(t.uniqueId)),i){var n=this.hiddenRows.indexOf(i);e||-1!==n?e&&n>-1&&this.hiddenRows.splice(n,1):this.hiddenRows.push(i),this.initBody(!0)}}},{key:"getHiddenRows",value:function(t){if(t)return this.initHiddenRows(),void this.initBody(!0);var e=this.getData(),i=[],n=!0,a=!1,r=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;this.hiddenRows.includes(l)&&i.push(l)}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}return this.hiddenRows=i,i}},{key:"mergeCells",value:function(t){var e=t.index,i=this.getVisibleFields().indexOf(t.field),n=t.rowspan||1,a=t.colspan||1,r=void 0,o=void 0,s=this.$body.find(">tr");this.options.detailView&&!this.options.cardView&&(i+=1);var l=s.eq(e).find(">td").eq(i);if(!(e<0||i<0||e>=this.data.length)){for(r=e;r<e+n;r++)for(o=i;o<i+a;o++)s.eq(r).find(">td").eq(o).hide();l.attr("rowspan",n).attr("colspan",a).show()}}},{key:"updateCell",value:function(t){t.hasOwnProperty("index")&&t.hasOwnProperty("field")&&t.hasOwnProperty("value")&&(this.data[t.index][t.field]=t.value,!1!==t.reinit&&(this.initSort(),this.initBody(!0)))}},{key:"updateCellById",value:function(t){var e=this;if(t.hasOwnProperty("id")&&t.hasOwnProperty("field")&&t.hasOwnProperty("value")){var i=Array.isArray(t)?t:[t];i.forEach(function(t){var i=t.id,n=t.field,a=t.value,r=e.options.data.indexOf(e.getRowByUniqueId(i));-1!==r&&(e.data[r][n]=a)}),!1!==t.reinit&&(this.initSort(),this.initBody(!0))}}},{key:"getOptions",value:function(){var t=i.extend({},this.options);return delete t.data,i.extend(!0,{},t)}},{key:"getSelections",value:function(){var t=this;return this.options.data.filter(function(e){return!0===e[t.header.stateField]})}},{key:"getAllSelections",value:function(){var t=this;return this.options.data.filter(function(e){return e[t.header.stateField]})}},{key:"checkAll",value:function(){this.checkAll_(!0)}},{key:"uncheckAll",value:function(){this.checkAll_(!1)}},{key:"checkInvert",value:function(){var t=this.$selectItem.filter(":enabled"),e=t.filter(":checked");t.each(function(t,e){i(e).prop("checked",!i(e).prop("checked"))}),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",e),e=this.getSelections(),this.trigger("check-some",e)}},{key:"checkAll_",value:function(t){var e=void 0;t||(e=this.getSelections()),this.$selectAll.add(this.$selectAll_).prop("checked",t),this.$selectItem.filter(":enabled").prop("checked",t),this.updateRows(),t&&(e=this.getSelections()),this.trigger(t?"check-all":"uncheck-all",e)}},{key:"check",value:function(t){this.check_(!0,t)}},{key:"uncheck",value:function(t){this.check_(!1,t)}},{key:"check_",value:function(t,e){var i=this.$selectItem.filter('[data-index="'+e+'"]'),n=this.data[e];if(i.is(":radio")||this.options.singleSelect){var a=!0,r=!1,o=void 0;try{for(var s,l=this.options.data[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;c[this.header.stateField]=!1}}catch(t){r=!0,o=t}finally{try{!a&&l.return&&l.return()}finally{if(r)throw o}}this.$selectItem.filter(":checked").not(i).prop("checked",!1)}n[this.header.stateField]=t,i.prop("checked",t),this.updateSelected(),this.trigger(t?"check":"uncheck",this.data[e],i)}},{key:"checkBy",value:function(t){this.checkBy_(!0,t)}},{key:"uncheckBy",value:function(t){this.checkBy_(!1,t)}},{key:"checkBy_",value:function(t,e){var i=this;if(e.hasOwnProperty("field")&&e.hasOwnProperty("values")){var n=[];this.options.data.forEach(function(a,r){if(!a.hasOwnProperty(e.field))return!1;if(e.values.includes(a[e.field])){var o=i.$selectItem.filter(":enabled").filter(l.sprintf('[data-index="%s"]',r)).prop("checked",t);a[i.header.stateField]=t,n.push(a),i.trigger(t?"check":"uncheck",a,o)}}),this.updateSelected(),this.trigger(t?"check-some":"uncheck-some",n)}}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container),i(this.options.toolbar).insertBefore(this.$el),this.$container.next().remove(),this.$container.remove(),this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"")}},{key:"showLoading",value:function(){this.$tableLoading.show()}},{key:"hideLoading",value:function(){this.$tableLoading.hide()}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var t=this.$toolbar.find('button[name="paginationSwitch"] i');this.options.pagination?t.attr("class",this.options.iconsPrefix+" "+this.options.icons.paginationSwitchDown):t.attr("class",this.options.iconsPrefix+" "+this.options.icons.paginationSwitchUp),this.updatePagination()}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen")}},{key:"refresh",value:function(t){t&&t.url&&(this.options.url=t.url),t&&t.pageNumber&&(this.options.pageNumber=t.pageNumber),t&&t.pageSize&&(this.options.pageSize=t.pageSize),this.initServer(t&&t.silent,t&&t.query,t&&t.url),this.trigger("refresh",t)}},{key:"resetWidth",value:function(){this.options.showHeader&&this.options.height&&this.fitHeader(),this.options.showFooter&&!this.options.cardView&&this.fitFooter()}},{key:"showColumn",value:function(t){this.toggleColumn(this.fieldsColumnsIndex[t],!0,!0)}},{key:"hideColumn",value:function(t){this.toggleColumn(this.fieldsColumnsIndex[t],!1,!0)}},{key:"getHiddenColumns",value:function(){return this.columns.filter(function(t){var e=t.visible;return!e})}},{key:"getVisibleColumns",value:function(){return this.columns.filter(function(t){var e=t.visible;return e})}},{key:"toggleAllColumns",value:function(t){var e=!0,i=!1,n=void 0;try{for(var a,r=this.columns[Symbol.iterator]();!(e=(a=r.next()).done);e=!0){var o=a.value;o.visible=t}}catch(t){i=!0,n=t}finally{try{!e&&r.return&&r.return()}finally{if(i)throw n}}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var s=this.$toolbar.find(".keep-open input").prop("disabled",!1);s.filter(":checked").length<=this.options.minimumCountColumns&&s.filter(":checked").prop("disabled",!0)}}},{key:"showAllColumns",value:function(){this.toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this.toggleAllColumns(!1)}},{key:"filterBy",value:function(t){this.filterColumns=i.isEmptyObject(t)?{}:t,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(t){if(void 0===t)return this.$tableBody.scrollTop();var e=0;"string"==typeof t&&"bottom"===t&&(e=this.$tableBody[0].scrollHeight),this.$tableBody.scrollTop(e)}},{key:"getScrollPosition",value:function(){return this.scrollTo()}},{key:"selectPage",value:function(t){t>0&&t<=this.options.totalPages&&(this.options.pageNumber=t,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber<this.options.totalPages&&(this.options.pageNumber++,this.updatePagination())}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView,this.initHeader();var t=this.$toolbar.find('button[name="toggle"] i');this.options.cardView?(t.removeClass(this.options.icons.toggleOff),t.addClass(this.options.icons.toggleOn)):(t.removeClass(this.options.icons.toggleOn),t.addClass(this.options.icons.toggleOff)),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"refreshOptions",value:function(t){l.compareObjects(this.options,t,!0)||(this.options=i.extend(this.options,t),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"resetSearch",value:function(t){var e=this.$toolbar.find(".search input");e.val(t||""),this.onSearch({currentTarget:e})}},{key:"expandRow_",value:function(t,e){var i=this.$body.find(l.sprintf('> tr[data-index="%s"]',e));i.next().is("tr.detail-view")===!t&&i.find("> td > .detail-icon").click()}},{key:"expandRow",value:function(t){this.expandRow_(!0,t)}},{key:"collapseRow",value:function(t){this.expandRow_(!1,t)}},{key:"expandAllRows",value:function(t){var e=this;if(t){var n=this.$body.find(l.sprintf('> tr[data-index="%s"]',0)),a=null,r=!1,o=-1;if(n.next().is("tr.detail-view")?n.next().next().is("tr.detail-view")||(n.next().find(".detail-icon").click(),r=!0):(n.find("> td > .detail-icon").click(),r=!0),r)try{o=setInterval(function(){(a=e.$body.find("tr.detail-view").last().find(".detail-icon")).length>0?a.click():clearInterval(o)},1)}catch(t){clearInterval(o)}}else for(var s=this.$body.children(),c=0;c<s.length;c++)this.expandRow_(!0,i(s[c]).data("index"))}},{key:"collapseAllRows",value:function(t){if(t)this.expandRow_(!1,0);else for(var e=this.$body.children(),n=0;n<e.length;n++)this.expandRow_(!1,i(e[n]).data("index"))}},{key:"updateFormatText",value:function(t,e){this.options[l.sprintf("format%s",t)]&&("string"==typeof e?this.options[l.sprintf("format%s",t)]=function(){return e}:"function"==typeof e&&(this.options[l.sprintf("format%s",t)]=e)),this.initToolbar(),this.initPagination(),this.initBody()}}]),n}();h.DEFAULTS=c,h.LOCALES=d,h.COLUMN_DEFAULTS=u,h.EVENTS={"all.bs.table":"onAll","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody"};var p=["getOptions","getSelections","getAllSelections","getData","load","append","prepend","remove","removeAll","insertRow","updateRow","updateCell","updateByUniqueId","removeByUniqueId","getRowByUniqueId","showRow","hideRow","getHiddenRows","mergeCells","refreshColumnTitle","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","resetView","resetWidth","destroy","showLoading","hideLoading","showColumn","hideColumn","getHiddenColumns","getVisibleColumns","showAllColumns","hideAllColumns","filterBy","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","togglePagination","toggleView","refreshOptions","resetSearch","expandRow","collapseRow","expandAllRows","collapseAllRows","updateFormatText","updateCellById"];i.BootstrapTable=h,i.fn.bootstrapTable=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=void 0;return this.each(function(e,r){var s=i(r).data("bootstrap.table"),l=i.extend({},h.DEFAULTS,i(r).data(),"object"===(void 0===t?"undefined":a(t))&&t);if("string"==typeof t){var c;if(!p.includes(t))throw new Error("Unknown method: "+t);if(!s)return;o=(c=s)[t].apply(c,n),"destroy"===t&&i(r).removeData("bootstrap.table")}s||i(r).data("bootstrap.table",s=new i.BootstrapTable(r,l))}),void 0===o?this:o},i.fn.bootstrapTable.Constructor=h,i.fn.bootstrapTable.defaults=h.DEFAULTS,i.fn.bootstrapTable.columnDefaults=h.COLUMN_DEFAULTS,i.fn.bootstrapTable.locales=h.LOCALES,i.fn.bootstrapTable.methods=p,i.fn.bootstrapTable.utils=l,i(function(){i('[data-toggle="table"]').bootstrapTable()})}(i)})?n.apply(e,a):n)||(t.exports=r)}).call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(197);t(document).ready(function(){t("#signupForm").validate({rules:{firstname:"required",lastname:"required",username:{required:!0,minlength:2},password:{required:!0,minlength:5},confirm_password:{required:!0,minlength:5,equalTo:"#password"},email:{required:!0,email:!0},agree:"required"},messages:{firstname:"Please enter your firstname",lastname:"Please enter your lastname",username:{required:"Please enter a username",minlength:"Your username must consist of at least 2 characters"},password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long"},confirm_password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long",equalTo:"Please enter the same password as above"},email:"Please enter a valid email address",agree:"Please accept our policy"},errorElement:"em",errorPlacement:function(t,e){t.addClass("invalid-feedback"),"checkbox"===e.prop("type")?t.insertAfter(e.next("label")):t.insertAfter(e)},highlight:function(e,i,n){t(e).addClass("is-invalid").removeClass("is-valid")},unhighlight:function(e,i,n){t(e).addClass("is-valid").removeClass("is-invalid")}})})}.call(this,i(0))},function(t,e,i){var n,a,r;
/*!
 * jQuery Validation Plugin v1.19.0
 *
 * https://jqueryvalidation.org/
 *
 * Copyright (c) 2018 Jörn Zaefferer
 * Released under the MIT license
 */a=[i(0)],void 0===(r="function"==typeof(n=function(t){var e;t.extend(t.fn,{validate:function(e){if(this.length){var i=t.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(e){i.submitButton=e.currentTarget,t(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(e){function n(){var n,a;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(n=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(a=i.settings.submitHandler.call(i,i.currentForm,e),n&&n.remove(),void 0!==a&&a)}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,n()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):n():(i.focusInvalid(),!1)})),i)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,i,n;return t(this[0]).is("form")?e=this.validate().form():(n=[],e=!0,i=t(this[0].form).validate(),this.each(function(){(e=i.element(this)&&e)||(n=n.concat(i.errorList))}),i.errorList=n),e},rules:function(e,i){var n,a,r,o,s,l,c=this[0],d=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=c&&(!c.form&&d&&(c.form=this.closest("form")[0],c.name=this.attr("name")),null!=c.form)){if(e)switch(n=t.data(c.form,"validator").settings,a=n.rules,r=t.validator.staticRules(c),e){case"add":t.extend(r,t.validator.normalizeRule(i)),delete r.messages,a[c.name]=r,i.messages&&(n.messages[c.name]=t.extend(n.messages[c.name],i.messages));break;case"remove":return i?(l={},t.each(i.split(/\s/),function(t,e){l[e]=r[e],delete r[e]}),l):(delete a[c.name],r)}return(o=t.validator.normalizeRules(t.extend({},t.validator.classRules(c),t.validator.attributeRules(c),t.validator.dataRules(c),t.validator.staticRules(c)),c)).required&&(s=o.required,delete o.required,o=t.extend({required:s},o)),o.remote&&(s=o.remote,delete o.remote,o=t.extend(o,{remote:s})),o}}}),t.extend(t.expr.pseudos||t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){var i=t(e).val();return null!==i&&!!t.trim(""+i)},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:void 0===i?e:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(new RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(e,i){9===i.which&&""===this.elementValue(e)||-1!==t.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,n){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(n):t(e).addClass(i).removeClass(n)},unhighlight:function(e,i,n){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(n):t(e).removeClass(i).addClass(n)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}."),step:t.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var e,i=this.currentForm,n=this.groups={};function a(e){var n=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");if(!this.form&&n&&(this.form=t(this).closest("form")[0],this.name=t(this).attr("name")),i===this.form){var a=t.data(this.form,"validator"),r="on"+e.type.replace(/^validate/,""),o=a.settings;o[r]&&!t(this).is(o.ignore)&&o[r].call(a,this,e)}}t.each(this.settings.groups,function(e,i){"string"==typeof i&&(i=i.split(/\s/)),t.each(i,function(t,i){n[i]=e})}),e=this.settings.rules,t.each(e,function(i,n){e[i]=t.validator.normalizeRule(n)}),t(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",a).on("click.validate","select, option, [type='radio'], [type='checkbox']",a),this.settings.invalidHandler&&t(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){var i,n,a=this.clean(e),r=this.validationTargetFor(a),o=this,s=!0;return void 0===r?delete this.invalid[a.name]:(this.prepareElement(r),this.currentElements=t(r),(n=this.groups[r.name])&&t.each(this.groups,function(t,e){e===n&&t!==r.name&&(a=o.validationTargetFor(o.clean(o.findByName(t))))&&a.name in o.invalid&&(o.currentElements.push(a),s=o.check(a)&&s)}),i=!1!==this.check(r),s=s&&i,this.invalid[r.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),t(e).attr("aria-invalid",!i)),s},showErrors:function(e){if(e){var i=this;t.extend(this.errorMap,e),this.errorList=t.map(this.errorMap,function(t,e){return{message:t,element:i.findByName(e)[0]}}),this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var n=this.name||t(this).attr("name"),a=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");return!n&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),a&&(this.form=t(this).closest("form")[0],this.name=n),!(this.form!==e.currentForm||n in i||!e.objectLength(t(this).rules())||(i[n]=!0,0))})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return t(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([])},reset:function(){this.resetInternals(),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i,n,a=t(e),r=e.type,o=void 0!==a.attr("contenteditable")&&"false"!==a.attr("contenteditable");return"radio"===r||"checkbox"===r?this.findByName(e.name).filter(":checked").val():"number"===r&&void 0!==e.validity?e.validity.badInput?"NaN":a.val():(i=o?a.text():a.val(),"file"===r?"C:\\fakepath\\"===i.substr(0,12)?i.substr(12):(n=i.lastIndexOf("/"))>=0?i.substr(n+1):(n=i.lastIndexOf("\\"))>=0?i.substr(n+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(e){e=this.validationTargetFor(this.clean(e));var i,n,a,r,o=t(e).rules(),s=t.map(o,function(t,e){return e}).length,l=!1,c=this.elementValue(e);for(n in"function"==typeof o.normalizer?r=o.normalizer:"function"==typeof this.settings.normalizer&&(r=this.settings.normalizer),r&&(c=r.call(e,c),delete o.normalizer),o){a={method:n,parameters:o[n]};try{if("dependency-mismatch"===(i=t.validator.methods[n].call(this,c,e,a.parameters))&&1===s){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!i)return this.formatAndAdd(e,a),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+a.method+"' method.",t),t instanceof TypeError&&(t.message+=".  Exception occurred when checking element "+e.id+", check the '"+a.method+"' method."),t}}if(!l)return this.objectLength(o)&&this.successList.push(e),!0},customDataMessage:function(e,i){return t(e).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||t(e).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,i){"string"==typeof i&&(i={method:i});var n=this.findDefined(this.customMessage(e.name,i.method),this.customDataMessage(e,i.method),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),a=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,i.parameters,e):a.test(n)&&(n=t.validator.format(n.replace(a,"{$1}"),i.parameters)),n},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,i;for(t=0;this.errorList[t];t++)i=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var n,a,r,o,s=this.errorsFor(e),l=this.idOrName(e),c=t(e).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(i)):(s=t("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(i||""),n=s,this.settings.wrapper&&(n=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,t(e)):n.insertAfter(e),s.is("label")?s.attr("for",l):0===s.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(r=s.attr("id"),c?c.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(c+=" "+r):c=r,t(e).attr("aria-describedby",c),(a=this.groups[e.name])&&(o=this,t.each(o.groups,function(e,i){i===a&&t("[name='"+o.escapeCssMeta(e)+"']",o.currentForm).attr("aria-describedby",s.attr("id"))})))),!i&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var i=this.escapeCssMeta(this.idOrName(e)),n=t(e).attr("aria-describedby"),a="label[for='"+i+"'], label[for='"+i+"'] *";return n&&(a=a+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(a)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),t(e).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(e,i){return!!t(e,i.form).length},function:function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,t(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.submitButton&&t("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,i){return i="string"==typeof i&&i||"remote",t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:i})})},destroy:function(){this.resetForm(),t(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},n=t(e).attr("class");return n&&t.each(n.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(t,e,i,n){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?t[i]=n:e===i&&"range"!==e&&(t[i]=!0)},attributeRules:function(e){var i,n,a={},r=t(e),o=e.getAttribute("type");for(i in t.validator.methods)"required"===i?(""===(n=e.getAttribute(i))&&(n=!0),n=!!n):n=r.attr(i),this.normalizeAttributeRule(a,o,i,n);return a.maxlength&&/-1|2147483647|524288/.test(a.maxlength)&&delete a.maxlength,a},dataRules:function(e){var i,n,a={},r=t(e),o=e.getAttribute("type");for(i in t.validator.methods)""===(n=r.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(n=!0),this.normalizeAttributeRule(a,o,i,n);return a},staticRules:function(e){var i={},n=t.data(e.form,"validator");return n.settings.rules&&(i=t.validator.normalizeRule(n.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(n,a){if(!1!==a){if(a.param||a.depends){var r=!0;switch(typeof a.depends){case"string":r=!!t(a.depends,i.form).length;break;case"function":r=a.depends.call(i,i)}r?e[n]=void 0===a.param||a.param:(t.data(i.form,"validator").resetElements(t(i)),delete e[n])}}else delete e[n]}),t.each(e,function(n,a){e[n]=t.isFunction(a)&&"normalizer"!==n?a(i):a}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var i;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(i=e[this].replace(/[\[\]]/g,"").split(/[\s,]+/),e[this]=[Number(i[0]),Number(i[1])]))}),t.validator.autoCreateRanges&&(null!=e.min&&null!=e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),null!=e.minlength&&null!=e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,n){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==n?n:t.validator.messages[e],i.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,n){if(!this.depend(n,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var a=t(i).val();return a&&a.length>0}return this.checkable(i)?this.getLength(e,i)>0:null!=e&&e.length>0},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[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.test(t)},date:(e=!1,function(t,i){return e||(e=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(e,i,n){var a=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||a>=n},maxlength:function(e,i,n){var a=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||a<=n},rangelength:function(e,i,n){var a=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||a>=n[0]&&a<=n[1]},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(e,i,n){var a,r=t(i).attr("type"),o="Step attribute on input type "+r+" is not supported.",s=new RegExp("\\b"+r+"\\b"),l=r&&!s.test(["text","number","range"].join()),c=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},d=function(t){return Math.round(t*Math.pow(10,a))},u=!0;if(l)throw new Error(o);return a=c(n),(c(e)>a||d(e)%d(n)!=0)&&(u=!1),this.optional(i)||u},equalTo:function(e,i,n){var a=t(n);return this.settings.onfocusout&&a.not(".validate-equalTo-blur").length&&a.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){t(i).valid()}),e===a.val()},remote:function(e,i,n,a){if(this.optional(i))return"dependency-mismatch";a="string"==typeof a&&a||"remote";var r,o,s,l=this.previousValue(i,a);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][a],this.settings.messages[i.name][a]=l.message,n="string"==typeof n&&{url:n}||n,s=t.param(t.extend({data:e},n.data)),l.old===s?l.valid:(l.old=s,r=this,this.startRequest(i),(o={})[i.name]=e,t.ajax(t.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:o,context:r.currentForm,success:function(t){var n,o,s,c=!0===t||"true"===t;r.settings.messages[i.name][a]=l.originalMessage,c?(s=r.formSubmitted,r.resetInternals(),r.toHide=r.errorsFor(i),r.formSubmitted=s,r.successList.push(i),r.invalid[i.name]=!1,r.showErrors()):(n={},o=t||r.defaultMessage(i,{method:a,parameters:e}),n[i.name]=l.message=o,r.invalid[i.name]=!0,r.showErrors(n)),l.valid=c,r.stopRequest(i,c)}},n)),"pending")}}});var i,n={};return t.ajaxPrefilter?t.ajaxPrefilter(function(t,e,i){var a=t.port;"abort"===t.mode&&(n[a]&&n[a].abort(),n[a]=i)}):(i=t.ajax,t.ajax=function(e){var a=("mode"in e?e:t.ajaxSettings).mode,r=("port"in e?e:t.ajaxSettings).port;return"abort"===a?(n[r]&&n[r].abort(),n[r]=i.apply(this,arguments),n[r]):i.apply(this,arguments)}),t})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";i.r(e),function(t){i(199);t(document).ready(function(){setTimeout(function(){t("#smartwizard").smartWizard({selected:0,transitionEffect:"fade",toolbarSettings:{toolbarPosition:"none"}}),t("#reset-btn").on("click",function(){return t("#smartwizard").smartWizard("reset"),!0}),t("#prev-btn").on("click",function(){return t("#smartwizard").smartWizard("prev"),!0}),t("#next-btn").on("click",function(){return t("#smartwizard").smartWizard("next"),!0}),t("#smartwizard2").smartWizard({selected:0,transitionEffect:"slide",toolbarSettings:{toolbarPosition:"none"}}),t("#reset-btn2").on("click",function(){return t("#smartwizard2").smartWizard("reset"),!0}),t("#prev-btn2").on("click",function(){return t("#smartwizard2").smartWizard("prev"),!0}),t("#next-btn2").on("click",function(){return t("#smartwizard2").smartWizard("next"),!0}),t("#smartwizard3").smartWizard({selected:0,transitionEffect:"fade",toolbarSettings:{toolbarPosition:"none"}}),t("#reset-btn22").on("click",function(){return t("#smartwizard3").smartWizard("reset"),!0}),t("#prev-btn22").on("click",function(){return t("#smartwizard3").smartWizard("prev"),!0}),t("#next-btn22").on("click",function(){return t("#smartwizard3").smartWizard("next"),!0})},2e3)})}.call(this,i(0))},function(t,e,i){(function(t){!function(t,e,i,n){"use strict";var a={selected:0,keyNavigation:!0,autoAdjustHeight:!0,cycleSteps:!1,backButtonSupport:!0,useURLhash:!0,showStepURLhash:!0,lang:{next:"Next",previous:"Previous"},toolbarSettings:{toolbarPosition:"bottom",toolbarButtonPosition:"end",showNextButton:!0,showPreviousButton:!0,toolbarExtraButtons:[]},anchorSettings:{anchorClickable:!0,enableAllAnchors:!1,markDoneStep:!0,markAllPreviousStepsAsDone:!0,removeDoneStepOnNavigateBack:!1,enableAnchorOnDoneStep:!0},contentURL:null,contentCache:!0,ajaxSettings:{},disabledSteps:[],errorSteps:[],hiddenSteps:[],theme:"default",transitionEffect:"none",transitionSpeed:"400"};function r(e,i){this.options=t.extend(!0,{},a,i),this.main=t(e),this.nav=this.main.children("ul"),this.steps=t("li > a",this.nav),this.container=this.main.children("div"),this.pages=this.container.children("div"),this.current_index=null,this.options.toolbarSettings.toolbarButtonPosition="right"===this.options.toolbarSettings.toolbarButtonPosition?"end":this.options.toolbarSettings.toolbarButtonPosition,this.options.toolbarSettings.toolbarButtonPosition="left"===this.options.toolbarSettings.toolbarButtonPosition?"start":this.options.toolbarSettings.toolbarButtonPosition,this.options.theme=null===this.options.theme||""===this.options.theme?"default":this.options.theme,this.init()}t.extend(r.prototype,{init:function(){this._setElements(),this._setToolbar(),this._setEvents();var i=this.options.selected;if(this.options.useURLhash){var n=e.location.hash;if(n&&n.length>0){var a=t("a[href*='"+n+"']",this.nav);if(a.length>0){var r=this.steps.index(a);i=r>=0?r:i}}}i>0&&this.options.anchorSettings.markDoneStep&&this.options.anchorSettings.markAllPreviousStepsAsDone&&this.steps.eq(i).parent("li").prevAll().addClass("done"),this._showStep(i)},_setElements:function(){this.main.addClass("sw-main sw-theme-"+this.options.theme),this.nav.addClass("nav nav-tabs step-anchor").children("li").addClass("nav-item").children("a").addClass("nav-link"),!1!==this.options.anchorSettings.enableAllAnchors&&!1!==this.options.anchorSettings.anchorClickable&&this.steps.parent("li").addClass("clickable"),this.container.addClass("sw-container tab-content"),this.pages.addClass("tab-pane step-content");var e=this;return this.options.disabledSteps&&this.options.disabledSteps.length>0&&t.each(this.options.disabledSteps,function(t,i){e.steps.eq(i).parent("li").addClass("disabled")}),this.options.errorSteps&&this.options.errorSteps.length>0&&t.each(this.options.errorSteps,function(t,i){e.steps.eq(i).parent("li").addClass("danger")}),this.options.hiddenSteps&&this.options.hiddenSteps.length>0&&t.each(this.options.hiddenSteps,function(t,i){e.steps.eq(i).parent("li").addClass("hidden")}),!0},_setToolbar:function(){if("none"===this.options.toolbarSettings.toolbarPosition)return!0;var e,i,n=!1!==this.options.toolbarSettings.showNextButton?t("<button></button>").text(this.options.lang.next).addClass("btn btn-secondary sw-btn-next").attr("type","button"):null,a=!1!==this.options.toolbarSettings.showPreviousButton?t("<button></button>").text(this.options.lang.previous).addClass("btn btn-secondary sw-btn-prev").attr("type","button"):null,r=t("<div></div>").addClass("btn-group mr-2 sw-btn-group").attr("role","group").append(a,n),o=null;switch(this.options.toolbarSettings.toolbarExtraButtons&&this.options.toolbarSettings.toolbarExtraButtons.length>0&&(o=t("<div></div>").addClass("btn-group mr-2 sw-btn-group-extra").attr("role","group"),t.each(this.options.toolbarSettings.toolbarExtraButtons,function(t,e){o.append(e.clone(!0))})),this.options.toolbarSettings.toolbarPosition){case"top":(e=t("<div></div>").addClass("btn-toolbar sw-toolbar sw-toolbar-top justify-content-"+this.options.toolbarSettings.toolbarButtonPosition)).append(r),"start"===this.options.toolbarSettings.toolbarButtonPosition?e.prepend(o):e.append(o),this.container.before(e);break;case"bottom":(i=t("<div></div>").addClass("btn-toolbar sw-toolbar sw-toolbar-bottom justify-content-"+this.options.toolbarSettings.toolbarButtonPosition)).append(r),"start"===this.options.toolbarSettings.toolbarButtonPosition?i.prepend(o):i.append(o),this.container.after(i);break;case"both":(e=t("<div></div>").addClass("btn-toolbar sw-toolbar sw-toolbar-top justify-content-"+this.options.toolbarSettings.toolbarButtonPosition)).append(r),"start"===this.options.toolbarSettings.toolbarButtonPosition?e.prepend(o):e.append(o),this.container.before(e),(i=t("<div></div>").addClass("btn-toolbar sw-toolbar sw-toolbar-bottom justify-content-"+this.options.toolbarSettings.toolbarButtonPosition)).append(r.clone(!0)),null!==o&&("start"===this.options.toolbarSettings.toolbarButtonPosition?i.prepend(o.clone(!0)):i.append(o.clone(!0))),this.container.after(i);break;default:(i=t("<div></div>").addClass("btn-toolbar sw-toolbar sw-toolbar-bottom justify-content-"+this.options.toolbarSettings.toolbarButtonPosition)).append(r),this.options.toolbarSettings.toolbarButtonPosition,i.append(o),this.container.after(i)}return!0},_setEvents:function(){var n=this;return t(this.steps).on("click",function(t){if(t.preventDefault(),!1===n.options.anchorSettings.anchorClickable)return!0;var e=n.steps.index(this);if(!1===n.options.anchorSettings.enableAnchorOnDoneStep&&n.steps.eq(e).parent("li").hasClass("done"))return!0;e!==n.current_index&&(!1!==n.options.anchorSettings.enableAllAnchors&&!1!==n.options.anchorSettings.anchorClickable?n._showStep(e):n.steps.eq(e).parent("li").hasClass("done")&&n._showStep(e))}),t(".sw-btn-next",this.main).on("click",function(t){t.preventDefault(),n._showNext()}),t(".sw-btn-prev",this.main).on("click",function(t){t.preventDefault(),n._showPrevious()}),this.options.keyNavigation&&t(i).keyup(function(t){n._keyNav(t)}),this.options.backButtonSupport&&t(e).on("hashchange",function(i){if(!n.options.useURLhash)return!0;if(e.location.hash){var a=t("a[href*='"+e.location.hash+"']",n.nav);a&&a.length>0&&(i.preventDefault(),n._showStep(n.steps.index(a)))}}),!0},_showNext:function(){for(var t=this.current_index+1,e=t;e<this.steps.length;e++)if(!this.steps.eq(e).parent("li").hasClass("disabled")&&!this.steps.eq(e).parent("li").hasClass("hidden")){t=e;break}if(this.steps.length<=t){if(!this.options.cycleSteps)return!1;t=0}return this._showStep(t),!0},_showPrevious:function(){for(var t=this.current_index-1,e=t;e>=0;e--)if(!this.steps.eq(e).parent("li").hasClass("disabled")&&!this.steps.eq(e).parent("li").hasClass("hidden")){t=e;break}if(0>t){if(!this.options.cycleSteps)return!1;t=this.steps.length-1}return this._showStep(t),!0},_showStep:function(t){return!!this.steps.eq(t)&&(t!=this.current_index&&(!this.steps.eq(t).parent("li").hasClass("disabled")&&!this.steps.eq(t).parent("li").hasClass("hidden")&&(this._loadStepContent(t),!0)))},_loadStepContent:function(e){var i=this,n=this.steps.eq(this.current_index),a="",r=this.steps.eq(e),o=r.data("content-url")&&r.data("content-url").length>0?r.data("content-url"):this.options.contentURL;if(null!==this.current_index&&this.current_index!==e&&(a=this.current_index<e?"forward":"backward"),null!==this.current_index&&!1===this._triggerEvent("leaveStep",[n,this.current_index,a]))return!1;if(!(o&&o.length>0)||r.data("has-content")&&this.options.contentCache)this._transitPage(e);else{var s=r.length>0?t(r.attr("href"),this.main):null,l=t.extend(!0,{},{url:o,type:"POST",data:{step_number:e},dataType:"text",beforeSend:function(){i._loader("show")},error:function(e,n,a){i._loader("hide"),t.error(a)},success:function(t){t&&t.length>0&&(r.data("has-content",!0),s.html(t)),i._loader("hide"),i._transitPage(e)}},this.options.ajaxSettings);t.ajax(l)}return!0},_transitPage:function(e){var i=this,n=this.steps.eq(this.current_index),a=n.length>0?t(n.attr("href"),this.main):null,r=this.steps.eq(e),o=r.length>0?t(r.attr("href"),this.main):null,s="";null!==this.current_index&&this.current_index!==e&&(s=this.current_index<e?"forward":"backward");var l="middle";return 0===e?l="first":e===this.steps.length-1&&(l="final"),this.options.transitionEffect=this.options.transitionEffect.toLowerCase(),this.pages.finish(),"slide"===this.options.transitionEffect?a&&a.length>0?a.slideUp("fast",this.options.transitionEasing,function(){o.slideDown(i.options.transitionSpeed,i.options.transitionEasing)}):o.slideDown(this.options.transitionSpeed,this.options.transitionEasing):"fade"===this.options.transitionEffect?a&&a.length>0?a.fadeOut("fast",this.options.transitionEasing,function(){o.fadeIn("fast",i.options.transitionEasing,function(){t(this).show()})}):o.fadeIn(this.options.transitionSpeed,this.options.transitionEasing,function(){t(this).show()}):(a&&a.length>0&&a.hide(),o.show()),this._setURLHash(r.attr("href")),this._setAnchor(e),this._setButtons(e),this._fixHeight(e),this.current_index=e,this._triggerEvent("showStep",[r,this.current_index,s,l]),!0},_setAnchor:function(t){return this.steps.eq(this.current_index).parent("li").removeClass("active"),!1!==this.options.anchorSettings.markDoneStep&&null!==this.current_index&&(this.steps.eq(this.current_index).parent("li").addClass("done"),!1!==this.options.anchorSettings.removeDoneStepOnNavigateBack&&this.steps.eq(t).parent("li").nextAll().removeClass("done")),this.steps.eq(t).parent("li").removeClass("done").addClass("active"),!0},_setButtons:function(e){return this.options.cycleSteps||(0>=e?t(".sw-btn-prev",this.main).addClass("disabled"):t(".sw-btn-prev",this.main).removeClass("disabled"),this.steps.length-1<=e?t(".sw-btn-next",this.main).addClass("disabled"):t(".sw-btn-next",this.main).removeClass("disabled")),!0},_keyNav:function(t){switch(t.which){case 37:this._showPrevious(),t.preventDefault();break;case 39:this._showNext(),t.preventDefault();break;default:return}},_fixHeight:function(e){if(this.options.autoAdjustHeight){var i=this.steps.eq(e).length>0?t(this.steps.eq(e).attr("href"),this.main):null;this.container.finish().animate({minHeight:i.outerHeight()},this.options.transitionSpeed,function(){})}return!0},_triggerEvent:function(e,i){var n=t.Event(e);return this.main.trigger(n,i),!n.isDefaultPrevented()&&n.result},_setURLHash:function(t){this.options.showStepURLhash&&e.location.hash!==t&&(e.location.hash=t)},_loader:function(t){switch(t){case"show":this.main.addClass("sw-loading");break;case"hide":this.main.removeClass("sw-loading");break;default:this.main.toggleClass("sw-loading")}},theme:function(t){if(this.options.theme===t)return!1;this.main.removeClass("sw-theme-"+this.options.theme),this.options.theme=t,this.main.addClass("sw-theme-"+this.options.theme),this._triggerEvent("themeChanged",[this.options.theme])},next:function(){this._showNext()},prev:function(){this._showPrevious()},reset:function(){if(!1===this._triggerEvent("beginReset"))return!1;this.container.stop(!0),this.pages.stop(!0),this.pages.hide(),this.current_index=null,this._setURLHash(this.steps.eq(this.options.selected).attr("href")),t(".sw-toolbar",this.main).remove(),this.steps.removeClass(),this.steps.parents("li").removeClass(),this.steps.data("has-content",!1),this.init(),this._triggerEvent("endReset")},stepState:function(e,i){e=t.isArray(e)?e:[e];var n=t.grep(this.steps,function(i,n){return-1!==t.inArray(n,e)});if(n&&n.length>0)switch(i){case"disable":t(n).parents("li").addClass("disabled");break;case"enable":t(n).parents("li").removeClass("disabled");break;case"hide":t(n).parents("li").addClass("hidden");break;case"show":t(n).parents("li").removeClass("hidden");break;case"error-on":t(n).parents("li").addClass("danger");break;case"error-off":t(n).parents("li").removeClass("danger")}}}),t.fn.smartWizard=function(e){var i,n=arguments;return void 0===e||"object"==typeof e?this.each(function(){t.data(this,"smartWizard")||t.data(this,"smartWizard",new r(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(i=t.data(this[0],"smartWizard"),"destroy"===e&&t.data(this,"smartWizard",null),i instanceof r&&"function"==typeof i[e]?i[e].apply(i,Array.prototype.slice.call(n,1)):this):void 0}}(t,window,document)}).call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){var e=i(156),n=i.n(e);t(document).ready(function(){new n.a(".clipboard-trigger")})}.call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(202),i(203);var e=i(1),n=i.n(e);t(document).ready(function(){t('[data-toggle="datepicker"]').datepicker(),t('[data-toggle="datepicker-year"]').datepicker({startView:2}),t('[data-toggle="datepicker-month"]').datepicker({startView:1}),t('[data-toggle="datepicker-inline"]').datepicker({inline:!0}),t('[data-toggle="datepicker-icon"]').datepicker({trigger:".datepicker-trigger"}),t('[data-toggle="datepicker-button"]').datepicker({trigger:".datepicker-trigger-btn"}),t('input[name="daterange"]').daterangepicker(),t('input[name="datetimes"]').daterangepicker({timePicker:!0,startDate:n()().startOf("hour"),endDate:n()().startOf("hour").add(32,"hour"),locale:{format:"M/DD hh:mm A"}}),t('input[name="birthday"]').daterangepicker({singleDatePicker:!0,showDropdowns:!0,minYear:1901,maxYear:parseInt(n()().format("YYYY"),10)},function(t,e,i){var a=n()().diff(t,"years");alert("You are "+a+" years old!")});var e=n()().subtract(29,"days"),i=n()();function a(e,i){t("#reportrange span").html(e.format("MMMM D, YYYY")+" - "+i.format("MMMM D, YYYY"))}t("#reportrange").daterangepicker({startDate:e,endDate:i,opens:"right",ranges:{Today:[n()(),n()()],Yesterday:[n()().subtract(1,"days"),n()().subtract(1,"days")],"Last 7 Days":[n()().subtract(6,"days"),n()()],"Last 30 Days":[n()().subtract(29,"days"),n()()],"This Month":[n()().startOf("month"),n()().endOf("month")],"Last Month":[n()().subtract(1,"month").startOf("month"),n()().subtract(1,"month").endOf("month")]}},a),a(e,i),t('input[name="daterange-centered"]').daterangepicker({timePicker:!0,buttonClasses:"btn btn-success",cancelClass:"btn-link bg-transparent rm-border text-danger",opens:"center",drops:"up",startDate:"12/12/2018",endDate:"12/18/2018"})})}.call(this,i(0))},function(t,e,i){"use strict";var n=i(0),a=i.n(n);function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o={autoShow:!1,autoHide:!1,autoPick:!1,inline:!1,container:null,trigger:null,language:"",format:"mm/dd/yyyy",date:null,startDate:null,endDate:null,startView:0,weekStart:0,yearFirst:!1,yearSuffix:"",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"],itemTag:"li",mutedClass:"muted",pickedClass:"picked",disabledClass:"disabled",highlightedClass:"highlighted",template:'<div class="datepicker-container"><div class="datepicker-panel" data-view="years picker"><ul><li data-view="years prev">&lsaquo;</li><li data-view="years current"></li><li data-view="years next">&rsaquo;</li></ul><ul data-view="years"></ul></div><div class="datepicker-panel" data-view="months picker"><ul><li data-view="year prev">&lsaquo;</li><li data-view="year current"></li><li data-view="year next">&rsaquo;</li></ul><ul data-view="months"></ul></div><div class="datepicker-panel" data-view="days picker"><ul><li data-view="month prev">&lsaquo;</li><li data-view="month current"></li><li data-view="month next">&rsaquo;</li></ul><ul data-view="week"></ul><ul data-view="days"></ul></div></div>',offset:10,zIndex:1e3,filter:null,show:null,hide:null,pick:null},s="undefined"!=typeof window?window:{},l="datepicker",c="click.".concat(l),d="focus.".concat(l),u="hide.".concat(l),h="keyup.".concat(l),p="pick.".concat(l),f="resize.".concat(l),g="scroll.".concat(l),m="show.".concat(l),v="".concat(l,"-hide"),y={},b=0,w=1,x=2,_=Object.prototype.toString;function k(t){return"string"==typeof t}var S=Number.isNaN||s.isNaN;function M(t){return"number"==typeof t&&!S(t)}function C(t){return void 0===t}function T(t){return"date"===(e=t,_.call(e).slice(8,-1).toLowerCase())&&!S(t.getTime());var e}function D(t,e){for(var i=arguments.length,n=new Array(i>2?i-2:0),a=2;a<i;a++)n[a-2]=arguments[a];return function(){for(var i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return t.apply(e,n.concat(a))}}function L(t){return'[data-view="'.concat(t,'"]')}function E(t){return t%4==0&&t%100!=0||t%400==0}function A(t,e){return[31,E(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]}function P(t,e,i){return Math.min(i,A(t,e))}var Y=/(y|m|d)+/g;function O(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=String(Math.abs(t)),n=i.length,a="";for(t<0&&(a+="-");n<e;)n+=1,a+="0";return a+i}var I=/\d+/g,H={show:function(){this.built||this.build(),this.shown||this.trigger(m).isDefaultPrevented()||(this.shown=!0,this.$picker.removeClass(v).on(c,a.a.proxy(this.click,this)),this.showView(this.options.startView),this.inline||(this.$scrollParent.on(g,a.a.proxy(this.place,this)),a()(window).on(f,this.onResize=D(this.place,this)),a()(document).on(c,this.onGlobalClick=D(this.globalClick,this)),a()(document).on(h,this.onGlobalKeyup=D(this.globalKeyup,this)),this.place()))},hide:function(){this.shown&&(this.trigger(u).isDefaultPrevented()||(this.shown=!1,this.$picker.addClass(v).off(c,this.click),this.inline||(this.$scrollParent.off(g,this.place),a()(window).off(f,this.onResize),a()(document).off(c,this.onGlobalClick),a()(document).off(h,this.onGlobalKeyup))))},toggle:function(){this.shown?this.hide():this.show()},update:function(){var t=this.getValue();t!==this.oldValue&&(this.setDate(t,!0),this.oldValue=t)},pick:function(t){var e=this.$element,i=this.date;this.trigger(p,{view:t||"",date:i}).isDefaultPrevented()||(i=this.formatDate(this.date),this.setValue(i),this.isInput&&(e.trigger("input"),e.trigger("change")))},reset:function(){this.setDate(this.initialDate,!0),this.setValue(this.initialValue),this.shown&&this.showView(this.options.startView)},getMonthName:function(t,e){var i=this.options,n=i.monthsShort,r=i.months;return a.a.isNumeric(t)?t=Number(t):C(e)&&(e=t),!0===e&&(r=n),r[M(t)?t:this.date.getMonth()]},getDayName:function(t,e,i){var n=this.options,r=n.days;return a.a.isNumeric(t)?t=Number(t):(C(i)&&(i=e),C(e)&&(e=t)),i?r=n.daysMin:e&&(r=n.daysShort),r[M(t)?t:this.date.getDay()]},getDate:function(t){var e=this.date;return t?this.formatDate(e):new Date(e)},setDate:function(t,e){var i=this.options.filter;if(T(t)||k(t)){if(t=this.parseDate(t),a.a.isFunction(i)&&!1===i.call(this.$element,t,"day"))return;this.date=t,this.viewDate=new Date(t),e||this.pick(),this.built&&this.render()}},setStartDate:function(t){T(t)||k(t)?this.startDate=this.parseDate(t):this.startDate=null,this.built&&this.render()},setEndDate:function(t){T(t)||k(t)?this.endDate=this.parseDate(t):this.endDate=null,this.built&&this.render()},parseDate:function(t){var e=this.format,i=[];return T(t)||(k(t)&&(i=t.match(I)||[]),T(t=t?new Date(t):new Date)||(t=new Date),i.length===e.parts.length&&a.a.each(i,function(i,n){var a=parseInt(n,10);switch(e.parts[i]){case"dd":case"d":t.setDate(a);break;case"mm":case"m":t.setMonth(a-1);break;case"yy":t.setFullYear(2e3+a);break;case"yyyy":t.setFullYear(2===n.length?2e3+a:a)}})),new Date(t.getFullYear(),t.getMonth(),t.getDate())},formatDate:function(t){var e=this.format,i="";if(T(t)){var n=t.getFullYear(),r=t.getMonth(),o=t.getDate(),s={d:o,dd:O(o,2),m:r+1,mm:O(r+1,2),yy:String(n).substring(2),yyyy:O(n,4)};i=e.source,a.a.each(e.parts,function(t,e){i=i.replace(e,s[e])})}return i},destroy:function(){this.unbind(),this.unbuild(),this.$element.removeData(l)}},R={click:function(t){var e=a()(t.target),i=this.options,n=this.date,r=this.viewDate,o=this.format;if(t.stopPropagation(),t.preventDefault(),!e.hasClass("disabled")){var s=e.data("view"),l=r.getFullYear(),c=r.getMonth(),d=r.getDate();switch(s){case"years prev":case"years next":l="years prev"===s?l-10:l+10,r.setFullYear(l),r.setDate(P(l,c,d)),this.renderYears();break;case"year prev":case"year next":l="year prev"===s?l-1:l+1,r.setFullYear(l),r.setDate(P(l,c,d)),this.renderMonths();break;case"year current":o.hasYear&&this.showView(x);break;case"year picked":o.hasMonth?this.showView(w):(e.addClass(i.pickedClass).siblings().removeClass(i.pickedClass),this.hideView()),this.pick("year");break;case"year":l=parseInt(e.text(),10),n.setFullYear(l),n.setDate(P(l,c,d)),r.setFullYear(l),r.setDate(P(l,c,d)),o.hasMonth?this.showView(w):(e.addClass(i.pickedClass).siblings().removeClass(i.pickedClass),this.hideView()),this.pick("year");break;case"month prev":case"month next":(c="month prev"===s?c-1:c+1)<0?(l-=1,c+=12):c>11&&(l+=1,c-=12),r.setFullYear(l),r.setDate(P(l,c,d)),r.setMonth(c),this.renderDays();break;case"month current":o.hasMonth&&this.showView(w);break;case"month picked":o.hasDay?this.showView(b):(e.addClass(i.pickedClass).siblings().removeClass(i.pickedClass),this.hideView()),this.pick("month");break;case"month":c=a.a.inArray(e.text(),i.monthsShort),n.setFullYear(l),n.setDate(P(l,c,d)),n.setMonth(c),r.setFullYear(l),r.setDate(P(l,c,d)),r.setMonth(c),o.hasDay?this.showView(b):(e.addClass(i.pickedClass).siblings().removeClass(i.pickedClass),this.hideView()),this.pick("month");break;case"day prev":case"day next":case"day":"day prev"===s?c-=1:"day next"===s&&(c+=1),d=parseInt(e.text(),10),n.setFullYear(l),n.setMonth(c),n.setDate(d),r.setFullYear(l),r.setMonth(c),r.setDate(d),this.renderDays(),"day"===s&&this.hideView(),this.pick("day");break;case"day picked":this.hideView(),this.pick("day")}}},globalClick:function(t){for(var e=t.target,i=this.element,n=this.$trigger[0],a=!0;e!==document;){if(e===n||e===i){a=!1;break}e=e.parentNode}a&&this.hide()},keyup:function(){this.update()},globalKeyup:function(t){var e=t.target,i=t.key,n=t.keyCode;this.isInput&&e!==this.element&&this.shown&&("Tab"===i||9===n)&&this.hide()}},N={render:function(){this.renderYears(),this.renderMonths(),this.renderDays()},renderWeek:function(){var t=this,e=[],i=this.options,n=i.weekStart,r=i.daysMin;n=parseInt(n,10)%7,r=r.slice(n).concat(r.slice(0,n)),a.a.each(r,function(i,n){e.push(t.createItem({text:n}))}),this.$week.html(e.join(""))},renderYears:function(){var t,e=this.options,i=this.startDate,n=this.endDate,a=e.disabledClass,r=e.filter,o=e.yearSuffix,s=this.viewDate.getFullYear(),l=(new Date).getFullYear(),c=this.date.getFullYear(),d=[],u=!1,h=!1;for(t=-5;t<=6;t+=1){var p=new Date(s+t,1,1),f=!1;i&&(f=p.getFullYear()<i.getFullYear(),-5===t&&(u=f)),!f&&n&&(f=p.getFullYear()>n.getFullYear(),6===t&&(h=f)),!f&&r&&(f=!1===r.call(this.$element,p,"year"));var g=s+t===c,m=g?"year picked":"year";d.push(this.createItem({picked:g,disabled:f,text:s+t,view:f?"year disabled":m,highlighted:p.getFullYear()===l}))}this.$yearsPrev.toggleClass(a,u),this.$yearsNext.toggleClass(a,h),this.$yearsCurrent.toggleClass(a,!0).html("".concat(s+-5+o," - ").concat(s+6).concat(o)),this.$years.html(d.join(""))},renderMonths:function(){var t,e=this.options,i=this.startDate,n=this.endDate,r=this.viewDate,o=e.disabledClass||"",s=e.monthsShort,l=a.a.isFunction(e.filter)&&e.filter,c=r.getFullYear(),d=new Date,u=d.getFullYear(),h=d.getMonth(),p=this.date.getFullYear(),f=this.date.getMonth(),g=[],m=!1,v=!1;for(t=0;t<=11;t+=1){var y=new Date(c,t,1),b=!1;i&&(b=(m=y.getFullYear()===i.getFullYear())&&y.getMonth()<i.getMonth()),!b&&n&&(b=(v=y.getFullYear()===n.getFullYear())&&y.getMonth()>n.getMonth()),!b&&l&&(b=!1===l.call(this.$element,y,"month"));var w=c===p&&t===f,x=w?"month picked":"month";g.push(this.createItem({disabled:b,picked:w,highlighted:c===u&&y.getMonth()===h,index:t,text:s[t],view:b?"month disabled":x}))}this.$yearPrev.toggleClass(o,m),this.$yearNext.toggleClass(o,v),this.$yearCurrent.toggleClass(o,m&&v).html(c+e.yearSuffix||""),this.$months.html(g.join(""))},renderDays:function(){var t,e,i,n=this.$element,a=this.options,r=this.startDate,o=this.endDate,s=this.viewDate,l=this.date,c=a.disabledClass,d=a.filter,u=a.months,h=a.weekStart,p=a.yearSuffix,f=s.getFullYear(),g=s.getMonth(),m=new Date,v=m.getFullYear(),y=m.getMonth(),b=m.getDate(),w=l.getFullYear(),x=l.getMonth(),_=l.getDate(),k=[],S=f,M=g,C=!1;0===g?(S-=1,M=11):M-=1,t=A(S,M);var T=new Date(f,g,1);for((i=T.getDay()-parseInt(h,10)%7)<=0&&(i+=7),r&&(C=T.getTime()<=r.getTime()),e=t-(i-1);e<=t;e+=1){var D=new Date(S,M,e),L=!1;r&&(L=D.getTime()<r.getTime()),!L&&d&&(L=!1===d.call(n,D,"day")),k.push(this.createItem({disabled:L,highlighted:S===v&&M===y&&D.getDate()===b,muted:!0,picked:S===w&&M===x&&e===_,text:e,view:"day prev"}))}var E=[],P=f,Y=g,O=!1;11===g?(P+=1,Y=0):Y+=1,t=A(f,g),i=42-(k.length+t);var I=new Date(f,g,t);for(o&&(O=I.getTime()>=o.getTime()),e=1;e<=i;e+=1){var H=new Date(P,Y,e),R=P===w&&Y===x&&e===_,N=!1;o&&(N=H.getTime()>o.getTime()),!N&&d&&(N=!1===d.call(n,H,"day")),E.push(this.createItem({disabled:N,picked:R,highlighted:P===v&&Y===y&&H.getDate()===b,muted:!0,text:e,view:"day next"}))}var j=[];for(e=1;e<=t;e+=1){var F=new Date(f,g,e),z=!1;r&&(z=F.getTime()<r.getTime()),!z&&o&&(z=F.getTime()>o.getTime()),!z&&d&&(z=!1===d.call(n,F,"day"));var W=f===w&&g===x&&e===_,B=W?"day picked":"day";j.push(this.createItem({disabled:z,picked:W,highlighted:f===v&&g===y&&F.getDate()===b,text:e,view:z?"day disabled":B}))}this.$monthPrev.toggleClass(c,C),this.$monthNext.toggleClass(c,O),this.$monthCurrent.toggleClass(c,C&&O).html(a.yearFirst?"".concat(f+p," ").concat(u[g]):"".concat(u[g]," ").concat(f).concat(p)),this.$days.html(k.join("")+j.join("")+E.join(""))}},j="".concat(l,"-top-left"),F="".concat(l,"-top-right"),z="".concat(l,"-bottom-left"),W="".concat(l,"-bottom-right"),B=[j,F,z,W].join(" "),V=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!
/*!
 * Datepicker v1.0.4
 * https://fengyuanchen.github.io/datepicker
 *
 * Copyright 2014-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2019-01-06T02:42:36.188Z
 */
function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$element=a()(e),this.element=e,this.options=a.a.extend({},o,y[i.language],a.a.isPlainObject(i)&&i),this.$scrollParent=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=a()(t),n=i.css("position"),r="absolute"===n,o=e?/auto|scroll|hidden/:/auto|scroll/,s=i.parents().filter(function(t,e){var i=a()(e);return(!r||"static"!==i.css("position"))&&o.test(i.css("overflow")+i.css("overflow-y")+i.css("overflow-x"))}).eq(0);return"fixed"!==n&&s.length?s:a()(t.ownerDocument||document)}(e,!0),this.built=!1,this.shown=!1,this.isInput=!1,this.inline=!1,this.initialValue="",this.initialDate=null,this.startDate=null,this.endDate=null,this.init()}var e,i,n;return e=t,n=[{key:"setDefaults",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a.a.extend(o,y[t.language],a.a.isPlainObject(t)&&t)}}],(i=[{key:"init",value:function(){var t=this.$element,e=this.options,i=e.startDate,n=e.endDate,r=e.date;this.$trigger=a()(e.trigger),this.isInput=t.is("input")||t.is("textarea"),this.inline=e.inline&&(e.container||!this.isInput),this.format=function(t){var e=String(t).toLowerCase(),i=e.match(Y);if(!i||0===i.length)throw new Error("Invalid date format.");return t={source:e,parts:i},a.a.each(i,function(e,i){switch(i){case"dd":case"d":t.hasDay=!0;break;case"mm":case"m":t.hasMonth=!0;break;case"yyyy":case"yy":t.hasYear=!0}}),t}(e.format);var o=this.getValue();this.initialValue=o,this.oldValue=o,r=this.parseDate(r||o),i&&(i=this.parseDate(i),r.getTime()<i.getTime()&&(r=new Date(i)),this.startDate=i),n&&(n=this.parseDate(n),i&&n.getTime()<i.getTime()&&(n=new Date(i)),r.getTime()>n.getTime()&&(r=new Date(n)),this.endDate=n),this.date=r,this.viewDate=new Date(r),this.initialDate=new Date(this.date),this.bind(),(e.autoShow||this.inline)&&this.show(),e.autoPick&&this.pick()}},{key:"build",value:function(){if(!this.built){this.built=!0;var t=this.$element,e=this.options,i=a()(e.template);this.$picker=i,this.$week=i.find(L("week")),this.$yearsPicker=i.find(L("years picker")),this.$yearsPrev=i.find(L("years prev")),this.$yearsNext=i.find(L("years next")),this.$yearsCurrent=i.find(L("years current")),this.$years=i.find(L("years")),this.$monthsPicker=i.find(L("months picker")),this.$yearPrev=i.find(L("year prev")),this.$yearNext=i.find(L("year next")),this.$yearCurrent=i.find(L("year current")),this.$months=i.find(L("months")),this.$daysPicker=i.find(L("days picker")),this.$monthPrev=i.find(L("month prev")),this.$monthNext=i.find(L("month next")),this.$monthCurrent=i.find(L("month current")),this.$days=i.find(L("days")),this.inline?a()(e.container||t).append(i.addClass("".concat(l,"-inline"))):(a()(document.body).append(i.addClass("".concat(l,"-dropdown"))),i.addClass(v).css({zIndex:parseInt(e.zIndex,10)})),this.renderWeek()}}},{key:"unbuild",value:function(){this.built&&(this.built=!1,this.$picker.remove())}},{key:"bind",value:function(){var t=this.options,e=this.$element;a.a.isFunction(t.show)&&e.on(m,t.show),a.a.isFunction(t.hide)&&e.on(u,t.hide),a.a.isFunction(t.pick)&&e.on(p,t.pick),this.isInput&&e.on(h,a.a.proxy(this.keyup,this)),this.inline||(t.trigger?this.$trigger.on(c,a.a.proxy(this.toggle,this)):this.isInput?e.on(d,a.a.proxy(this.show,this)):e.on(c,a.a.proxy(this.show,this)))}},{key:"unbind",value:function(){var t=this.$element,e=this.options;a.a.isFunction(e.show)&&t.off(m,e.show),a.a.isFunction(e.hide)&&t.off(u,e.hide),a.a.isFunction(e.pick)&&t.off(p,e.pick),this.isInput&&t.off(h,this.keyup),this.inline||(e.trigger?this.$trigger.off(c,this.toggle):this.isInput?t.off(d,this.show):t.off(c,this.show))}},{key:"showView",value:function(t){var e=this.$yearsPicker,i=this.$monthsPicker,n=this.$daysPicker,a=this.format;if(a.hasYear||a.hasMonth||a.hasDay)switch(Number(t)){case x:i.addClass(v),n.addClass(v),a.hasYear?(this.renderYears(),e.removeClass(v),this.place()):this.showView(b);break;case w:e.addClass(v),n.addClass(v),a.hasMonth?(this.renderMonths(),i.removeClass(v),this.place()):this.showView(x);break;default:e.addClass(v),i.addClass(v),a.hasDay?(this.renderDays(),n.removeClass(v),this.place()):this.showView(w)}}},{key:"hideView",value:function(){!this.inline&&this.options.autoHide&&this.hide()}},{key:"place",value:function(){if(!this.inline){var t=this.$element,e=this.options,i=this.$picker,n=a()(document).outerWidth(),r=a()(document).outerHeight(),o=t.outerWidth(),s=t.outerHeight(),l=i.width(),c=i.height(),d=t.offset(),u=d.left,h=d.top,p=parseFloat(e.offset),f=j;S(p)&&(p=10),h>c&&h+s+c>r?(h-=c+p,f=z):h+=s+p,u+l>n&&(u+=o-l,f=f.replace("left","right")),i.removeClass(B).addClass(f).css({top:h,left:u})}}},{key:"trigger",value:function(t,e){var i=a.a.Event(t,e);return this.$element.trigger(i),i}},{key:"createItem",value:function(t){var e=this.options,i=e.itemTag,n={text:"",view:"",muted:!1,picked:!1,disabled:!1,highlighted:!1},r=[];return a.a.extend(n,t),n.muted&&r.push(e.mutedClass),n.highlighted&&r.push(e.highlightedClass),n.picked&&r.push(e.pickedClass),n.disabled&&r.push(e.disabledClass),"<".concat(i,' class="').concat(r.join(" "),'" data-view="').concat(n.view,'">').concat(n.text,"</").concat(i,">")}},{key:"getValue",value:function(){var t=this.$element;return this.isInput?t.val():t.text()}},{key:"setValue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.$element;this.isInput?e.val(t):this.inline&&!this.options.container||e.text(t)}}])&&r(e.prototype,i),n&&r(e,n),t}();if(a.a.extend&&a.a.extend(V.prototype,N,R,H),a.a.fn){var $=a.a.fn.datepicker;a.a.fn.datepicker=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];var r;return this.each(function(e,n){var o=a()(n),s="destroy"===t,c=o.data(l);if(!c){if(s)return;var d=a.a.extend({},o.data(),a.a.isPlainObject(t)&&t);c=new V(n,d),o.data(l,c)}if(k(t)){var u=c[t];a.a.isFunction(u)&&(r=u.apply(c,i),s&&o.removeData(l))}}),C(r)?this:r},a.a.fn.datepicker.Constructor=V,a.a.fn.datepicker.languages=y,a.a.fn.datepicker.setDefaults=V.setDefaults,a.a.fn.datepicker.noConflict=function(){return a.a.fn.datepicker=$,this}}},function(t,e,i){var n,a;
/**
* @version: 3.0.3
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2018 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
* @website: http://www.daterangepicker.com/
*/n=[i(1),i(0)],void 0===(a=function(t,e){return e.fn||(e.fn={}),function(t,e){var i=function(i,n,a){if(this.parentEl="body",this.element=e(i),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=t().subtract(100,"year").format("YYYY"),this.maxYear=t().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof n&&null!==n||(n={}),"string"==typeof(n=e.extend(this.element.data(),n)).template||n.template instanceof e||(n.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=n.parentEl&&e(n.parentEl).length?e(n.parentEl):e(this.parentEl),this.container=e(n.template).appendTo(this.parentEl),"object"==typeof n.locale&&("string"==typeof n.locale.direction&&(this.locale.direction=n.locale.direction),"string"==typeof n.locale.format&&(this.locale.format=n.locale.format),"string"==typeof n.locale.separator&&(this.locale.separator=n.locale.separator),"object"==typeof n.locale.daysOfWeek&&(this.locale.daysOfWeek=n.locale.daysOfWeek.slice()),"object"==typeof n.locale.monthNames&&(this.locale.monthNames=n.locale.monthNames.slice()),"number"==typeof n.locale.firstDay&&(this.locale.firstDay=n.locale.firstDay),"string"==typeof n.locale.applyLabel&&(this.locale.applyLabel=n.locale.applyLabel),"string"==typeof n.locale.cancelLabel&&(this.locale.cancelLabel=n.locale.cancelLabel),"string"==typeof n.locale.weekLabel&&(this.locale.weekLabel=n.locale.weekLabel),"string"==typeof n.locale.customRangeLabel)){var r=document.createElement("textarea");r.innerHTML=n.locale.customRangeLabel;var o=r.value;this.locale.customRangeLabel=o}if(this.container.addClass(this.locale.direction),"string"==typeof n.startDate&&(this.startDate=t(n.startDate,this.locale.format)),"string"==typeof n.endDate&&(this.endDate=t(n.endDate,this.locale.format)),"string"==typeof n.minDate&&(this.minDate=t(n.minDate,this.locale.format)),"string"==typeof n.maxDate&&(this.maxDate=t(n.maxDate,this.locale.format)),"object"==typeof n.startDate&&(this.startDate=t(n.startDate)),"object"==typeof n.endDate&&(this.endDate=t(n.endDate)),"object"==typeof n.minDate&&(this.minDate=t(n.minDate)),"object"==typeof n.maxDate&&(this.maxDate=t(n.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof n.applyButtonClasses&&(this.applyButtonClasses=n.applyButtonClasses),"string"==typeof n.applyClass&&(this.applyButtonClasses=n.applyClass),"string"==typeof n.cancelButtonClasses&&(this.cancelButtonClasses=n.cancelButtonClasses),"string"==typeof n.cancelClass&&(this.cancelButtonClasses=n.cancelClass),"object"==typeof n.maxSpan&&(this.maxSpan=n.maxSpan),"object"==typeof n.dateLimit&&(this.maxSpan=n.dateLimit),"string"==typeof n.opens&&(this.opens=n.opens),"string"==typeof n.drops&&(this.drops=n.drops),"boolean"==typeof n.showWeekNumbers&&(this.showWeekNumbers=n.showWeekNumbers),"boolean"==typeof n.showISOWeekNumbers&&(this.showISOWeekNumbers=n.showISOWeekNumbers),"string"==typeof n.buttonClasses&&(this.buttonClasses=n.buttonClasses),"object"==typeof n.buttonClasses&&(this.buttonClasses=n.buttonClasses.join(" ")),"boolean"==typeof n.showDropdowns&&(this.showDropdowns=n.showDropdowns),"number"==typeof n.minYear&&(this.minYear=n.minYear),"number"==typeof n.maxYear&&(this.maxYear=n.maxYear),"boolean"==typeof n.showCustomRangeLabel&&(this.showCustomRangeLabel=n.showCustomRangeLabel),"boolean"==typeof n.singleDatePicker&&(this.singleDatePicker=n.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof n.timePicker&&(this.timePicker=n.timePicker),"boolean"==typeof n.timePickerSeconds&&(this.timePickerSeconds=n.timePickerSeconds),"number"==typeof n.timePickerIncrement&&(this.timePickerIncrement=n.timePickerIncrement),"boolean"==typeof n.timePicker24Hour&&(this.timePicker24Hour=n.timePicker24Hour),"boolean"==typeof n.autoApply&&(this.autoApply=n.autoApply),"boolean"==typeof n.autoUpdateInput&&(this.autoUpdateInput=n.autoUpdateInput),"boolean"==typeof n.linkedCalendars&&(this.linkedCalendars=n.linkedCalendars),"function"==typeof n.isInvalidDate&&(this.isInvalidDate=n.isInvalidDate),"function"==typeof n.isCustomDate&&(this.isCustomDate=n.isCustomDate),"boolean"==typeof n.alwaysShowCalendars&&(this.alwaysShowCalendars=n.alwaysShowCalendars),0!=this.locale.firstDay)for(var s=this.locale.firstDay;s>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),s--;var l,c,d;if(void 0===n.startDate&&void 0===n.endDate&&e(this.element).is(":text")){var u=e(this.element).val(),h=u.split(this.locale.separator);l=c=null,2==h.length?(l=t(h[0],this.locale.format),c=t(h[1],this.locale.format)):this.singleDatePicker&&""!==u&&(l=t(u,this.locale.format),c=t(u,this.locale.format)),null!==l&&null!==c&&(this.setStartDate(l),this.setEndDate(c))}if("object"==typeof n.ranges){for(d in n.ranges){l="string"==typeof n.ranges[d][0]?t(n.ranges[d][0],this.locale.format):t(n.ranges[d][0]),c="string"==typeof n.ranges[d][1]?t(n.ranges[d][1],this.locale.format):t(n.ranges[d][1]),this.minDate&&l.isBefore(this.minDate)&&(l=this.minDate.clone());var p=this.maxDate;if(this.maxSpan&&p&&l.clone().add(this.maxSpan).isAfter(p)&&(p=l.clone().add(this.maxSpan)),p&&c.isAfter(p)&&(c=p.clone()),!(this.minDate&&c.isBefore(this.minDate,this.timepicker?"minute":"day")||p&&l.isAfter(p,this.timepicker?"minute":"day"))){var r=document.createElement("textarea");r.innerHTML=d;var o=r.value;this.ranges[o]=[l,c]}}var f="<ul>";for(d in this.ranges)f+='<li data-range-key="'+d+'">'+d+"</li>";this.showCustomRangeLabel&&(f+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),f+="</ul>",this.container.find(".ranges").prepend(f)}"function"==typeof a&&(this.callback=a),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),"object"==typeof n.ranges&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),this.timePicker||this.container.addClass("auto-apply")),(void 0===n.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",e.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",e.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",e.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",e.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",e.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",e.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",e.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",e.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",e.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",e.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":e.proxy(this.show,this),"focus.daterangepicker":e.proxy(this.show,this),"keyup.daterangepicker":e.proxy(this.elementChanged,this),"keydown.daterangepicker":e.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",e.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",e.proxy(this.toggle,this))),this.updateElement()};return i.prototype={constructor:i,setStartDate:function(e){"string"==typeof e&&(this.startDate=t(e,this.locale.format)),"object"==typeof e&&(this.startDate=t(e)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(e){"string"==typeof e&&(this.endDate=t(e,this.locale.format)),"object"==typeof e&&(this.endDate=t(e)),this.timePicker||(this.endDate=this.endDate.add(1,"d").startOf("day").subtract(1,"second")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").removeAttr("disabled").removeClass("disabled"):this.container.find(".right .calendar-time select").attr("disabled","disabled").addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){var t,e,i,n;this.timePicker&&(this.endDate?(t=parseInt(this.container.find(".left .hourselect").val(),10),e=parseInt(this.container.find(".left .minuteselect").val(),10),i=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(n=this.container.find(".left .ampmselect").val())&&t<12&&(t+=12),"AM"===n&&12===t&&(t=0))):(t=parseInt(this.container.find(".right .hourselect").val(),10),e=parseInt(this.container.find(".right .minuteselect").val(),10),i=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(n=this.container.find(".right .ampmselect").val())&&t<12&&(t+=12),"AM"===n&&12===t&&(t=0))),this.leftCalendar.month.hour(t).minute(e).second(i),this.rightCalendar.month.hour(t).minute(e).second(i)),this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(i){var n,a=(n="left"==i?this.leftCalendar:this.rightCalendar).month.month(),r=n.month.year(),o=n.month.hour(),s=n.month.minute(),l=n.month.second(),c=t([r,a]).daysInMonth(),d=t([r,a,1]),u=t([r,a,c]),h=t(d).subtract(1,"month").month(),p=t(d).subtract(1,"month").year(),f=t([p,h]).daysInMonth(),g=d.day();(n=[]).firstDay=d,n.lastDay=u;for(var m=0;m<6;m++)n[m]=[];var v=f-g+this.locale.firstDay+1;v>f&&(v-=7),g==this.locale.firstDay&&(v=f-6);for(var y=t([p,h,v,12,s,l]),b=(m=0,0),w=0;m<42;m++,b++,y=t(y).add(24,"hour"))m>0&&b%7==0&&(b=0,w++),n[w][b]=y.clone().hour(o).minute(s).second(l),y.hour(12),this.minDate&&n[w][b].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&n[w][b].isBefore(this.minDate)&&"left"==i&&(n[w][b]=this.minDate.clone()),this.maxDate&&n[w][b].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&n[w][b].isAfter(this.maxDate)&&"right"==i&&(n[w][b]=this.maxDate.clone());"left"==i?this.leftCalendar.calendar=n:this.rightCalendar.calendar=n;var x="left"==i?this.minDate:this.startDate,_=this.maxDate,k=("left"==i?this.startDate:this.endDate,this.locale.direction,'<table class="table-condensed">');k+="<thead>",k+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(k+="<th></th>"),x&&!x.isBefore(n.firstDay)||this.linkedCalendars&&"left"!=i?k+="<th></th>":k+='<th class="prev available"><span></span></th>';var S=this.locale.monthNames[n[1][1].month()]+n[1][1].format(" YYYY");if(this.showDropdowns){for(var M=n[1][1].month(),C=n[1][1].year(),T=_&&_.year()||this.maxYear,D=x&&x.year()||this.minYear,L=C==D,E=C==T,A='<select class="monthselect">',P=0;P<12;P++)(!L||P>=x.month())&&(!E||P<=_.month())?A+="<option value='"+P+"'"+(P===M?" selected='selected'":"")+">"+this.locale.monthNames[P]+"</option>":A+="<option value='"+P+"'"+(P===M?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[P]+"</option>";A+="</select>";for(var Y='<select class="yearselect">',O=D;O<=T;O++)Y+='<option value="'+O+'"'+(O===C?' selected="selected"':"")+">"+O+"</option>";S=A+(Y+="</select>")}if(k+='<th colspan="5" class="month">'+S+"</th>",_&&!_.isAfter(n.lastDay)||this.linkedCalendars&&"right"!=i&&!this.singleDatePicker?k+="<th></th>":k+='<th class="next available"><span></span></th>',k+="</tr>",k+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(k+='<th class="week">'+this.locale.weekLabel+"</th>"),e.each(this.locale.daysOfWeek,function(t,e){k+="<th>"+e+"</th>"}),k+="</tr>",k+="</thead>",k+="<tbody>",null==this.endDate&&this.maxSpan){var I=this.startDate.clone().add(this.maxSpan).endOf("day");_&&!I.isBefore(_)||(_=I)}for(w=0;w<6;w++){for(k+="<tr>",this.showWeekNumbers?k+='<td class="week">'+n[w][0].week()+"</td>":this.showISOWeekNumbers&&(k+='<td class="week">'+n[w][0].isoWeek()+"</td>"),b=0;b<7;b++){var H=[];n[w][b].isSame(new Date,"day")&&H.push("today"),n[w][b].isoWeekday()>5&&H.push("weekend"),n[w][b].month()!=n[1][1].month()&&H.push("off"),this.minDate&&n[w][b].isBefore(this.minDate,"day")&&H.push("off","disabled"),_&&n[w][b].isAfter(_,"day")&&H.push("off","disabled"),this.isInvalidDate(n[w][b])&&H.push("off","disabled"),n[w][b].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&H.push("active","start-date"),null!=this.endDate&&n[w][b].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&H.push("active","end-date"),null!=this.endDate&&n[w][b]>this.startDate&&n[w][b]<this.endDate&&H.push("in-range");var R=this.isCustomDate(n[w][b]);!1!==R&&("string"==typeof R?H.push(R):Array.prototype.push.apply(H,R));var N="",j=!1;for(m=0;m<H.length;m++)N+=H[m]+" ","disabled"==H[m]&&(j=!0);j||(N+="available"),k+='<td class="'+N.replace(/^\s+|\s+$/g,"")+'" data-title="r'+w+"c"+b+'">'+n[w][b].date()+"</td>"}k+="</tr>"}k+="</tbody>",k+="</table>",this.container.find(".drp-calendar."+i+" .calendar-table").html(k)},renderTimePicker:function(t){if("right"!=t||this.endDate){var e,i,n,a=this.maxDate;if(!this.maxSpan||this.maxDate&&!this.startDate.clone().add(this.maxSpan).isAfter(this.maxDate)||(a=this.startDate.clone().add(this.maxSpan)),"left"==t)i=this.startDate.clone(),n=this.minDate;else if("right"==t){i=this.endDate.clone(),n=this.startDate;var r=this.container.find(".drp-calendar.right .calendar-time");if(""!=r.html()&&(i.hour(i.hour()||r.find(".hourselect option:selected").val()),i.minute(i.minute()||r.find(".minuteselect option:selected").val()),i.second(i.second()||r.find(".secondselect option:selected").val()),!this.timePicker24Hour)){var o=r.find(".ampmselect option:selected").val();"PM"===o&&i.hour()<12&&i.hour(i.hour()+12),"AM"===o&&12===i.hour()&&i.hour(0)}i.isBefore(this.startDate)&&(i=this.startDate.clone()),a&&i.isAfter(a)&&(i=a.clone())}e='<select class="hourselect">';for(var s=this.timePicker24Hour?0:1,l=this.timePicker24Hour?23:12,c=s;c<=l;c++){var d=c;this.timePicker24Hour||(d=i.hour()>=12?12==c?12:c+12:12==c?0:c);var u=i.clone().hour(d),h=!1;n&&u.minute(59).isBefore(n)&&(h=!0),a&&u.minute(0).isAfter(a)&&(h=!0),d!=i.hour()||h?e+=h?'<option value="'+c+'" disabled="disabled" class="disabled">'+c+"</option>":'<option value="'+c+'">'+c+"</option>":e+='<option value="'+c+'" selected="selected">'+c+"</option>"}for(e+="</select> ",e+=': <select class="minuteselect">',c=0;c<60;c+=this.timePickerIncrement){var p=c<10?"0"+c:c;u=i.clone().minute(c),h=!1,n&&u.second(59).isBefore(n)&&(h=!0),a&&u.second(0).isAfter(a)&&(h=!0),i.minute()!=c||h?e+=h?'<option value="'+c+'" disabled="disabled" class="disabled">'+p+"</option>":'<option value="'+c+'">'+p+"</option>":e+='<option value="'+c+'" selected="selected">'+p+"</option>"}if(e+="</select> ",this.timePickerSeconds){for(e+=': <select class="secondselect">',c=0;c<60;c++)p=c<10?"0"+c:c,u=i.clone().second(c),h=!1,n&&u.isBefore(n)&&(h=!0),a&&u.isAfter(a)&&(h=!0),i.second()!=c||h?e+=h?'<option value="'+c+'" disabled="disabled" class="disabled">'+p+"</option>":'<option value="'+c+'">'+p+"</option>":e+='<option value="'+c+'" selected="selected">'+p+"</option>";e+="</select> "}if(!this.timePicker24Hour){e+='<select class="ampmselect">';var f="",g="";n&&i.clone().hour(12).minute(0).second(0).isBefore(n)&&(f=' disabled="disabled" class="disabled"'),a&&i.clone().hour(0).minute(0).second(0).isAfter(a)&&(g=' disabled="disabled" class="disabled"'),i.hour()>=12?e+='<option value="AM"'+f+'>AM</option><option value="PM" selected="selected"'+g+">PM</option>":e+='<option value="AM" selected="selected"'+f+'>AM</option><option value="PM"'+g+">PM</option>",e+="</select>"}this.container.find(".drp-calendar."+t+" .calendar-time").html(e)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled")},move:function(){var t,i={top:0,left:0},n=e(window).width();this.parentEl.is("body")||(i={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},n=this.parentEl[0].clientWidth+this.parentEl.offset().left),t="up"==this.drops?this.element.offset().top-this.container.outerHeight()-i.top:this.element.offset().top+this.element.outerHeight()-i.top,this.container["up"==this.drops?"addClass":"removeClass"]("drop-up"),"left"==this.opens?(this.container.css({top:t,right:n-this.element.offset().left-this.element.outerWidth(),left:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):"center"==this.opens?(this.container.css({top:t,left:this.element.offset().left-i.left+this.element.outerWidth()/2-this.container.outerWidth()/2,right:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):(this.container.css({top:t,left:this.element.offset().left-i.left,right:"auto"}),this.container.offset().left+this.container.outerWidth()>e(window).width()&&this.container.css({left:"auto",right:0}))},show:function(t){this.isShowing||(this._outsideClickProxy=e.proxy(function(t){this.outsideClick(t)},this),e(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),e(window).on("resize.daterangepicker",e.proxy(function(t){this.move(t)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(t){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),e(document).off(".daterangepicker"),e(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(t){this.isShowing?this.hide():this.show()},outsideClick:function(t){var i=e(t.target);"focusin"==t.type||i.closest(this.element).length||i.closest(this.container).length||i.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(t){var e=t.target.getAttribute("data-range-key");if(this.chosenLabel=e,e==this.locale.customRangeLabel)this.showCalendars();else{var i=this.ranges[e];this.startDate=i[0],this.endDate=i[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(t){e(t.target).parents(".drp-calendar").hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(t){e(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(t){if(e(t.target).hasClass("available")){var i=e(t.target).attr("data-title"),n=i.substr(1,1),a=i.substr(3,1),r=e(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[n][a]:this.rightCalendar.calendar[n][a],o=this.leftCalendar,s=this.rightCalendar,l=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(t,i){if(!e(i).hasClass("week")){var n=e(i).attr("data-title"),a=n.substr(1,1),c=n.substr(3,1),d=e(i).parents(".drp-calendar").hasClass("left")?o.calendar[a][c]:s.calendar[a][c];d.isAfter(l)&&d.isBefore(r)||d.isSame(r,"day")?e(i).addClass("in-range"):e(i).removeClass("in-range")}})}},clickDate:function(t){if(e(t.target).hasClass("available")){var i=e(t.target).attr("data-title"),n=i.substr(1,1),a=i.substr(3,1),r=e(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[n][a]:this.rightCalendar.calendar[n][a];if(this.endDate||r.isBefore(this.startDate,"day")){if(this.timePicker){var o=parseInt(this.container.find(".left .hourselect").val(),10);this.timePicker24Hour||("PM"===(c=this.container.find(".left .ampmselect").val())&&o<12&&(o+=12),"AM"===c&&12===o&&(o=0));var s=parseInt(this.container.find(".left .minuteselect").val(),10),l=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;r=r.clone().hour(o).minute(s).second(l)}this.endDate=null,this.setStartDate(r.clone())}else if(!this.endDate&&r.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{var c;this.timePicker&&(o=parseInt(this.container.find(".right .hourselect").val(),10),this.timePicker24Hour||("PM"===(c=this.container.find(".right .ampmselect").val())&&o<12&&(o+=12),"AM"===c&&12===o&&(o=0)),s=parseInt(this.container.find(".right .minuteselect").val(),10),l=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,r=r.clone().hour(o).minute(s).second(l)),this.setEndDate(r.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),this.timePicker||this.clickApply()),this.updateView(),t.stopPropagation()}},calculateChosenLabel:function(){var t=!0,e=0;for(var i in this.ranges){if(this.timePicker){var n=this.timePickerSeconds?"YYYY-MM-DD hh:mm:ss":"YYYY-MM-DD hh:mm";if(this.startDate.format(n)==this.ranges[i][0].format(n)&&this.endDate.format(n)==this.ranges[i][1].format(n)){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+e+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[i][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[i][1].format("YYYY-MM-DD")){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+e+")").addClass("active").attr("data-range-key");break}e++}t&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(t){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(t){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(t){var i=e(t.target).closest(".drp-calendar").hasClass("left"),n=i?"left":"right",a=this.container.find(".drp-calendar."+n),r=parseInt(a.find(".monthselect").val(),10),o=a.find(".yearselect").val();i||(o<this.startDate.year()||o==this.startDate.year()&&r<this.startDate.month())&&(r=this.startDate.month(),o=this.startDate.year()),this.minDate&&(o<this.minDate.year()||o==this.minDate.year()&&r<this.minDate.month())&&(r=this.minDate.month(),o=this.minDate.year()),this.maxDate&&(o>this.maxDate.year()||o==this.maxDate.year()&&r>this.maxDate.month())&&(r=this.maxDate.month(),o=this.maxDate.year()),i?(this.leftCalendar.month.month(r).year(o),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(r).year(o),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(t){var i=e(t.target).closest(".drp-calendar"),n=i.hasClass("left"),a=parseInt(i.find(".hourselect").val(),10),r=parseInt(i.find(".minuteselect").val(),10),o=this.timePickerSeconds?parseInt(i.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var s=i.find(".ampmselect").val();"PM"===s&&a<12&&(a+=12),"AM"===s&&12===a&&(a=0)}if(n){var l=this.startDate.clone();l.hour(a),l.minute(r),l.second(o),this.setStartDate(l),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==l.format("YYYY-MM-DD")&&this.endDate.isBefore(l)&&this.setEndDate(l.clone())}else if(this.endDate){var c=this.endDate.clone();c.hour(a),c.minute(r),c.second(o),this.setEndDate(c)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var e=this.element.val().split(this.locale.separator),i=null,n=null;2===e.length&&(i=t(e[0],this.locale.format),n=t(e[1],this.locale.format)),(this.singleDatePicker||null===i||null===n)&&(n=i=t(this.element.val(),this.locale.format)),i.isValid()&&n.isValid()&&(this.setStartDate(i),this.setEndDate(n),this.updateView())}},keydown:function(t){9!==t.keyCode&&13!==t.keyCode||this.hide(),27===t.keyCode&&(t.preventDefault(),t.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var t=this.startDate.format(this.locale.format);this.singleDatePicker||(t+=this.locale.separator+this.endDate.format(this.locale.format)),t!==this.element.val()&&this.element.val(t).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},e.fn.daterangepicker=function(t,n){var a=e.extend(!0,{},e.fn.daterangepicker.defaultOptions,t);return this.each(function(){var t=e(this);t.data("daterangepicker")&&t.data("daterangepicker").remove(),t.data("daterangepicker",new i(t,a,n))}),this},i}(t,e)}.apply(e,n))||(t.exports=a)},function(t,e,i){"use strict";i.r(e),function(t){i(205);t(document).ready(function(){t(".input-mask-trigger").inputmask()})}.call(this,i(0))},function(module,exports,__webpack_require__){(function(jQuery){
/*!
* jquery.inputmask.bundle.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2019 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 4.0.6
*/
!function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){"use strict";i(1),i(6),i(7);var n=o(i(2)),a=o(i(3)),r=o(i(4));function o(t){return t&&t.__esModule?t:{default:t}}a.default===r.default&&i(8),window.Inputmask=n.default},function(t,e,i){"use strict";var n,a,r;"function"==typeof Symbol&&Symbol.iterator;a=[i(2)],void 0===(r="function"==typeof(n=function(t){return t.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}}),t.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)//.*",autoUnmask:!1},ip:{mask:"i[i[i]].i[i[i]].i[i[i]].i[i[i]]",definitions:{i:{validator:function(t,e,i,n,a){return i-1>-1&&"."!==e.buffer[i-1]?(t=e.buffer[i-1]+t,t=i-2>-1&&"."!==e.buffer[i-2]?e.buffer[i-2]+t:"0"+t):t="00"+t,new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]").test(t)}}},onUnMask:function(t,e,i){return t},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:!1,casing:"lower",onBeforePaste:function(t,e){return(t=t.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-9１-９A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(t,e,i){return t},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0}}),t})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";var n,a,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};a=[i(3),i(5)],void 0===(r="function"==typeof(n=function(t,e,i){var n=e.document,a=navigator.userAgent,r=a.indexOf("MSIE ")>0||a.indexOf("Trident/")>0,s=p("touchstart"),l=/iemobile/i.test(a),c=/iphone/i.test(a)&&!l;function d(e,n,a){if(!(this instanceof d))return new d(e,n,a);this.el=i,this.events={},this.maskset=i,this.refreshValue=!1,!0!==a&&(t.isPlainObject(e)?n=e:(n=n||{},e&&(n.alias=e)),this.opts=t.extend(!0,{},this.defaults,n),this.noMasksCache=n&&n.definitions!==i,this.userOptions=n||{},this.isRTL=this.opts.numericInput,u(this.opts.alias,n,this.opts))}function u(e,n,a){var r=d.prototype.aliases[e];return r?(r.alias&&u(r.alias,i,a),t.extend(!0,a,r),t.extend(!0,a,n),!0):(null===a.mask&&(a.mask=e),!1)}function h(e,n){function a(e,a,r){var o=!1;if(null!==e&&""!==e||((o=null!==r.regex)?e=(e=r.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(o=!0,e=".*")),1===e.length&&!1===r.greedy&&0!==r.repeat&&(r.placeholder=""),r.repeat>0||"*"===r.repeat||"+"===r.repeat){var s="*"===r.repeat?0:"+"===r.repeat?1:r.repeat;e=r.groupmarker[0]+e+r.groupmarker[1]+r.quantifiermarker[0]+s+","+r.repeat+r.quantifiermarker[1]}var l,c=o?"regex_"+r.regex:r.numericInput?e.split("").reverse().join(""):e;return d.prototype.masksCache[c]===i||!0===n?(l={mask:e,maskToken:d.prototype.analyseMask(e,o,r),validPositions:{},_buffer:i,buffer:i,tests:{},excludes:{},metadata:a,maskLength:i,jitOffset:{}},!0!==n&&(d.prototype.masksCache[c]=l,l=t.extend(!0,{},d.prototype.masksCache[c]))):l=t.extend(!0,{},d.prototype.masksCache[c]),l}if(t.isFunction(e.mask)&&(e.mask=e.mask(e)),t.isArray(e.mask)){if(e.mask.length>1){if(null===e.keepStatic){e.keepStatic="auto";for(var r=0;r<e.mask.length;r++)if(e.mask[r].charAt(0)!==e.mask[0].charAt(0)){e.keepStatic=!0;break}}var o=e.groupmarker[0];return t.each(e.isRTL?e.mask.reverse():e.mask,function(n,a){o.length>1&&(o+=e.groupmarker[1]+e.alternatormarker+e.groupmarker[0]),a.mask===i||t.isFunction(a.mask)?o+=a:o+=a.mask}),a(o+=e.groupmarker[1],e.mask,e)}e.mask=e.mask.pop()}return e.mask&&e.mask.mask!==i&&!t.isFunction(e.mask.mask)?a(e.mask.mask,e.mask,e):a(e.mask,e.mask,e)}function p(t){var e=n.createElement("input"),i="on"+t,a=i in e;return a||(e.setAttribute(i,"return;"),a="function"==typeof e[i]),e=null,a}function f(a,u,h){u=u||this.maskset,h=h||this.opts;var g,m,v,y,b,w=this,x=this.el,_=this.isRTL,k=!1,S=!1,M=!1,C=!1;function T(t,e,n,a,r){var o=h.greedy;r&&(h.greedy=!1),e=e||0;var s,l,c,d=[],u=0;E();do{if(!0===t&&D().validPositions[u])c=r&&!0===D().validPositions[u].match.optionality&&D().validPositions[u+1]===i&&(!0===D().validPositions[u].generatedInput||D().validPositions[u].input==h.skipOptionalPartCharacter&&u>0)?Y(u,R(u,s,u-1)):D().validPositions[u],l=c.match,s=c.locator.slice(),d.push(!0===n?c.input:!1===n?l.nativeDef:J(u,l));else{c=O(u,s,u-1),l=c.match,s=c.locator.slice();var p=!0!==a&&(!1!==h.jitMasking?h.jitMasking:l.jit);(!1===p||p===i||"number"==typeof p&&isFinite(p)&&p>u)&&d.push(!1===n?l.nativeDef:J(u,l))}"auto"===h.keepStatic&&l.newBlockMarker&&null!==l.fn&&(h.keepStatic=u-1),u++}while((v===i||u<v)&&(null!==l.fn||""!==l.def)||e>u);return""===d[d.length-1]&&d.pop(),!1===n&&D().maskLength!==i||(D().maskLength=u-1),h.greedy=o,d}function D(){return u}function L(t){var e=D();e.buffer=i,!0!==t&&(e.validPositions={},e.p=0)}function E(t,e,n){var a=-1,r=-1,o=n||D().validPositions;for(var s in t===i&&(t=-1),o){var l=parseInt(s);o[l]&&(e||!0!==o[l].generatedInput)&&(l<=t&&(a=l),l>=t&&(r=l))}return-1===a||a==t?r:-1==r?a:t-a<r-t?a:r}function A(t){var e=t.locator[t.alternation];return"string"==typeof e&&e.length>0&&(e=e.split(",")[0]),e!==i?e.toString():""}function P(t,e){var n=(t.alternation!=i?t.mloc[A(t)]:t.locator).join("");if(""!==n)for(;n.length<e;)n+="0";return n}function Y(t,e){for(var n,a,r,o=I(t=t>0?t-1:0),s=P(o),l=0;l<e.length;l++){var c=e[l];n=P(c,s.length);var d=Math.abs(n-s);(a===i||""!==n&&d<a||r&&!h.greedy&&r.match.optionality&&"master"===r.match.newBlockMarker&&(!c.match.optionality||!c.match.newBlockMarker)||r&&r.match.optionalQuantifier&&!c.match.optionalQuantifier)&&(a=d,r=c)}return r}function O(t,e,i){return D().validPositions[t]||Y(t,R(t,e?e.slice():e,i))}function I(t,e){return D().validPositions[t]?D().validPositions[t]:(e||R(t))[0]}function H(t,e){for(var i=!1,n=R(t),a=0;a<n.length;a++)if(n[a].match&&n[a].match.def===e){i=!0;break}return i}function R(e,n,a){var r,o=D().maskToken,s=n?a:0,l=n?n.slice():[0],c=[],d=!1,u=n?n.join(""):"";function p(n,a,o,l){function f(o,l,g){function m(e,i){var n=0===t.inArray(e,i.matches);return n||t.each(i.matches,function(t,a){if(!0===a.isQuantifier?n=m(e,i.matches[t-1]):a.hasOwnProperty("matches")&&(n=m(e,a)),n)return!1}),n}function v(e,n,a){var r,o;if((D().tests[e]||D().validPositions[e])&&t.each(D().tests[e]||[D().validPositions[e]],function(t,e){if(e.mloc[n])return r=e,!1;var s=a!==i?a:e.alternation,l=e.locator[s]!==i?e.locator[s].toString().indexOf(n):-1;(o===i||l<o)&&-1!==l&&(r=e,o=l)}),r){var s=r.locator[r.alternation],l=r.mloc[n]||r.mloc[s]||r.locator;return l.slice((a!==i?a:r.alternation)+1)}return a!==i?v(e,n):i}function y(t,e){function i(t){for(var e,i,n=[],a=0,r=t.length;a<r;a++)if("-"===t.charAt(a))for(i=t.charCodeAt(a+1);++e<i;)n.push(String.fromCharCode(e));else e=t.charCodeAt(a),n.push(t.charAt(a));return n.join("")}return h.regex&&null!==t.match.fn&&null!==e.match.fn?-1!==i(e.match.def.replace(/[\[\]]/g,"")).indexOf(i(t.match.def.replace(/[\[\]]/g,""))):t.match.def===e.match.nativeDef}function b(t,e){if(e===i||t.alternation===e.alternation&&-1===t.locator[t.alternation].toString().indexOf(e.locator[e.alternation])){t.mloc=t.mloc||{};var n=t.locator[t.alternation];if(n!==i){if("string"==typeof n&&(n=n.split(",")[0]),t.mloc[n]===i&&(t.mloc[n]=t.locator.slice()),e!==i){for(var a in e.mloc)"string"==typeof a&&(a=a.split(",")[0]),t.mloc[a]===i&&(t.mloc[a]=e.mloc[a]);t.locator[t.alternation]=Object.keys(t.mloc).join(",")}return!0}t.alternation=i}return!1}if(s>500&&g!==i)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+D().mask;if(s===e&&o.matches===i)return c.push({match:o,locator:l.reverse(),cd:u,mloc:{}}),!0;if(o.matches!==i){if(o.isGroup&&g!==o){if(o=f(n.matches[t.inArray(o,n.matches)+1],l,g))return!0}else if(o.isOptional){var w=o;if(o=p(o,a,l,g)){if(t.each(c,function(t,e){e.match.optionality=!0}),r=c[c.length-1].match,g!==i||!m(r,w))return!0;d=!0,s=e}}else if(o.isAlternator){var x,_=o,k=[],S=c.slice(),M=l.length,C=a.length>0?a.shift():-1;if(-1===C||"string"==typeof C){var T,L=s,E=a.slice(),A=[];if("string"==typeof C)A=C.split(",");else for(T=0;T<_.matches.length;T++)A.push(T.toString());if(D().excludes[e]){for(var P=A.slice(),Y=0,O=D().excludes[e].length;Y<O;Y++)A.splice(A.indexOf(D().excludes[e][Y].toString()),1);0===A.length&&(D().excludes[e]=i,A=P)}(!0===h.keepStatic||isFinite(parseInt(h.keepStatic))&&L>=h.keepStatic)&&(A=A.slice(0,1));for(var I=!1,H=0;H<A.length;H++){T=parseInt(A[H]),c=[],a="string"==typeof C&&v(s,T,M)||E.slice(),_.matches[T]&&f(_.matches[T],[T].concat(l),g)?o=!0:0===H&&(I=!0),x=c.slice(),s=L,c=[];for(var R=0;R<x.length;R++){var N=x[R],j=!1;N.match.jit=N.match.jit||I,N.alternation=N.alternation||M,b(N);for(var F=0;F<k.length;F++){var z=k[F];if("string"!=typeof C||N.alternation!==i&&-1!==t.inArray(N.locator[N.alternation].toString(),A)){if(N.match.nativeDef===z.match.nativeDef){j=!0,b(z,N);break}if(y(N,z)){b(N,z)&&(j=!0,k.splice(k.indexOf(z),0,N));break}if(y(z,N)){b(z,N);break}if($=N,X=z,void 0,!(!(($=N).locator.slice($.alternation).join("")==X.locator.slice(X.alternation).join(""))||null!==$.match.fn||null===X.match.fn)&&X.match.fn.test($.match.def,D(),e,!1,h,!1)){b(N,z)&&(j=!0,k.splice(k.indexOf(z),0,N));break}}}j||k.push(N)}}c=S.concat(k),s=e,d=c.length>0,o=k.length>0,a=E.slice()}else o=f(_.matches[C]||n.matches[C],[C].concat(l),g);if(o)return!0}else if(o.isQuantifier&&g!==n.matches[t.inArray(o,n.matches)-1])for(var W=o,B=a.length>0?a.shift():0;B<(isNaN(W.quantifier.max)?B+1:W.quantifier.max)&&s<=e;B++){var V=n.matches[t.inArray(W,n.matches)-1];if(o=f(V,[B].concat(l),V)){if((r=c[c.length-1].match).optionalQuantifier=B>=W.quantifier.min,r.jit=(B||1)*V.matches.indexOf(r)>=W.quantifier.jit,r.optionalQuantifier&&m(r,V)){d=!0,s=e;break}return r.jit&&(D().jitOffset[e]=V.matches.indexOf(r)),!0}}else if(o=p(o,a,l,g))return!0}else s++;var $,X}for(var g=a.length>0?a.shift():0;g<n.matches.length;g++)if(!0!==n.matches[g].isQuantifier){var m=f(n.matches[g],[g].concat(o),l);if(m&&s===e)return m;if(s>e)break}}if(e>-1){if(n===i){for(var f,g=e-1;(f=D().validPositions[g]||D().tests[g])===i&&g>-1;)g--;f!==i&&g>-1&&(l=function(e,n){var a=[];return t.isArray(n)||(n=[n]),n.length>0&&(n[0].alternation===i?0===(a=Y(e,n.slice()).locator.slice()).length&&(a=n[0].locator.slice()):t.each(n,function(t,e){if(""!==e.def)if(0===a.length)a=e.locator.slice();else for(var i=0;i<a.length;i++)e.locator[i]&&-1===a[i].toString().indexOf(e.locator[i])&&(a[i]+=","+e.locator[i])})),a}(g,f),u=l.join(""),s=g)}if(D().tests[e]&&D().tests[e][0].cd===u)return D().tests[e];for(var m=l.shift();m<o.length;m++){var v=p(o[m],l,[m]);if(v&&s===e||s>e)break}}return(0===c.length||d)&&c.push({match:{fn:null,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:u}),n!==i&&D().tests[e]?t.extend(!0,[],c):(D().tests[e]=t.extend(!0,[],c),D().tests[e])}function N(){return D()._buffer===i&&(D()._buffer=T(!1,1),D().buffer===i&&(D().buffer=D()._buffer.slice())),D()._buffer}function j(t){return D().buffer!==i&&!0!==t||(D().buffer=T(!0,E(),!0),D()._buffer===i&&(D()._buffer=D().buffer.slice())),D().buffer}function F(t,e,n){var a,r;if(!0===t)L(),t=0,e=n.length;else for(a=t;a<e;a++)delete D().validPositions[a];for(r=t,a=t;a<e;a++)if(L(!0),n[a]!==h.skipOptionalPartCharacter){var o=V(r,n[a],!0,!0);!1!==o&&(L(!0),r=o.caret!==i?o.caret:o.pos+1)}}function z(e,i,n){switch(h.casing||i.casing){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break;case"title":var a=D().validPositions[n-1];e=0===n||a&&a.input===String.fromCharCode(d.keyCode.SPACE)?e.toUpperCase():e.toLowerCase();break;default:if(t.isFunction(h.casing)){var r=Array.prototype.slice.call(arguments);r.push(D().validPositions),e=h.casing.apply(this,r)}}return e}function W(e,n,a){for(var r,o=h.greedy?n:n.slice(0,1),s=!1,l=a!==i?a.split(","):[],c=0;c<l.length;c++)-1!==(r=e.indexOf(l[c]))&&e.splice(r,1);for(var d=0;d<e.length;d++)if(-1!==t.inArray(e[d],o)){s=!0;break}return s}function B(e,n,a,r,o){var s,l,c,d,u,h,p,f=t.extend(!0,{},D().validPositions),g=!1,m=o!==i?o:E();if(-1===m&&o===i)d=I(s=0),l=d.alternation;else for(;m>=0;m--)if((c=D().validPositions[m])&&c.alternation!==i){if(d&&d.locator[c.alternation]!==c.locator[c.alternation])break;s=m,l=D().validPositions[s].alternation,d=c}if(l!==i){p=parseInt(s),D().excludes[p]=D().excludes[p]||[],!0!==e&&D().excludes[p].push(A(d));var v=[],y=0;for(u=p;u<E(i,!0)+1;u++)(h=D().validPositions[u])&&!0!==h.generatedInput?v.push(h.input):u<e&&y++,delete D().validPositions[u];for(;D().excludes[p]&&D().excludes[p].length<10;){var b=-1*y,w=v.slice();for(D().tests[p]=i,L(!0),g=!0;w.length>0;){var x=w.shift();if(!(g=V(E(i,!0)+1,x,!1,r,!0)))break}if(g&&n!==i){var _=E(e)+1;for(u=p;u<E()+1;u++)((h=D().validPositions[u])===i||null==h.match.fn)&&u<e+b&&b++;g=V((e+=b)>_?_:e,n,a,r,!0)}if(g)break;if(L(),d=I(p),D().validPositions=t.extend(!0,{},f),!D().excludes[p]){g=B(e,n,a,r,p-1);break}var k=A(d);if(-1!==D().excludes[p].indexOf(k)){g=B(e,n,a,r,p-1);break}for(D().excludes[p].push(k),u=p;u<E(i,!0)+1;u++)delete D().validPositions[u]}}return D().excludes[p]=i,g}function V(e,n,a,r,o,s){function l(t){return _?t.begin-t.end>1||t.begin-t.end==1:t.end-t.begin>1||t.end-t.begin==1}a=!0===a;var c=e;function d(n,a,o){var s=!1;return t.each(R(n),function(c,d){var u=d.match;if(j(!0),!1!==(s=null!=u.fn?u.fn.test(a,D(),n,o,h,l(e)):(a===u.def||a===h.skipOptionalPartCharacter)&&""!==u.def&&{c:J(n,u,!0)||u.def,pos:n})){var p=s.c!==i?s.c:a,f=n;return p=p===h.skipOptionalPartCharacter&&null===u.fn?J(n,u,!0)||u.def:p,s.remove!==i&&(t.isArray(s.remove)||(s.remove=[s.remove]),t.each(s.remove.sort(function(t,e){return e-t}),function(t,e){X({begin:e,end:e+1})})),s.insert!==i&&(t.isArray(s.insert)||(s.insert=[s.insert]),t.each(s.insert.sort(function(t,e){return t-e}),function(t,e){V(e.pos,e.c,!0,r)})),!0!==s&&s.pos!==i&&s.pos!==n&&(f=s.pos),(!0===s||s.pos!==i||s.c!==i)&&(X(e,t.extend({},d,{input:z(p,u,f)}),r,f)||(s=!1),!1)}}),s}e.begin!==i&&(c=_?e.end:e.begin);var u=!0,p=t.extend(!0,{},D().validPositions);if(t.isFunction(h.preValidation)&&!a&&!0!==r&&!0!==s&&(u=h.preValidation(j(),c,n,l(e),h,D())),!0===u){if($(i,c,!0),(v===i||c<v)&&(u=d(c,n,a),(!a||!0===r)&&!1===u&&!0!==s)){var f=D().validPositions[c];if(!f||null!==f.match.fn||f.match.def!==n&&n!==h.skipOptionalPartCharacter){if((h.insertMode||D().validPositions[U(c)]===i)&&(!q(c,!0)||D().jitOffset[c]))if(D().jitOffset[c]&&D().validPositions[U(c)]===i)!1!==(u=V(c+D().jitOffset[c],n,a))&&(u.caret=c);else for(var g=c+1,m=U(c);g<=m;g++)if(!1!==(u=d(g,n,a))){u=$(c,u.pos!==i?u.pos:g)||u,c=g;break}}else u={caret:U(c)}}!1!==u||!1===h.keepStatic||null!=h.regex&&!st(j())||a||!0===o||(u=B(c,n,a,r)),!0===u&&(u={pos:c})}if(t.isFunction(h.postValidation)&&!1!==u&&!a&&!0!==r&&!0!==s){var y=h.postValidation(j(!0),e.begin!==i?_?e.end:e.begin:e,u,h);if(y!==i){if(y.refreshFromBuffer&&y.buffer){var b=y.refreshFromBuffer;F(!0===b?b:b.start,b.end,y.buffer)}u=!0===y?u:y}}return u&&u.pos===i&&(u.pos=c),!1!==u&&!0!==s||(L(!0),D().validPositions=t.extend(!0,{},p)),u}function $(e,n,a){var r;if(e===i)for(e=n-1;e>0&&!D().validPositions[e];e--);for(var o=e;o<n;o++)if(D().validPositions[o]===i&&!q(o,!0)){var s=0==o?I(o):D().validPositions[o-1];if(s){var l=R(o).slice();""===l[l.length-1].match.def&&l.pop();var c=Y(o,l);if((c=t.extend({},c,{input:J(o,c.match,!0)||c.match.def})).generatedInput=!0,X(o,c,!0),!0!==a){var d=D().validPositions[n].input;D().validPositions[n]=i,r=V(n,d,!0,!0)}}}return r}function X(e,n,a,r){function o(t,e,n){var a=e[t];if(a!==i&&(null===a.match.fn&&!0!==a.match.optionality||a.input===h.radixPoint)){var r=n.begin<=t-1?e[t-1]&&null===e[t-1].match.fn&&e[t-1]:e[t-1],o=n.end>t+1?e[t+1]&&null===e[t+1].match.fn&&e[t+1]:e[t+1];return r&&o}return!1}var s=e.begin!==i?e.begin:e,l=e.end!==i?e.end:e;if(e.begin>e.end&&(s=e.end,l=e.begin),r=r!==i?r:s,s!==l||h.insertMode&&D().validPositions[r]!==i&&a===i){var c=t.extend(!0,{},D().validPositions),d=E(i,!0);for(D().p=s,m=d;m>=s;m--)D().validPositions[m]&&"+"===D().validPositions[m].match.nativeDef&&(h.isNegative=!1),delete D().validPositions[m];var u=!0,p=r,f=(D().validPositions,!1),g=p,m=p;for(n&&(D().validPositions[r]=t.extend(!0,{},n),g++,p++,s<l&&m++);m<=d;m++){var v=c[m];if(v!==i&&(m>=l||m>=s&&!0!==v.generatedInput&&o(m,c,{begin:s,end:l}))){for(;""!==I(g).match.def;){if(!1===f&&c[g]&&c[g].match.nativeDef===v.match.nativeDef)D().validPositions[g]=t.extend(!0,{},c[g]),D().validPositions[g].input=v.input,$(i,g,!0),p=g+1,u=!0;else if(h.shiftPositions&&H(g,v.match.def)){var y=V(g,v.input,!0,!0);u=!1!==y,p=y.caret||y.insert?E():g+1,f=!0}else u=!0===v.generatedInput||v.input===h.radixPoint&&!0===h.numericInput;if(u)break;if(!u&&g>l&&q(g,!0)&&(null!==v.match.fn||g>D().maskLength))break;g++}""==I(g).match.def&&(u=!1),g=p}if(!u)break}if(!u)return D().validPositions=t.extend(!0,{},c),L(!0),!1}else n&&(D().validPositions[r]=t.extend(!0,{},n));return L(!0),!0}function q(t,e){var i=O(t).match;if(""===i.def&&(i=I(t).match),null!=i.fn)return i.fn;if(!0!==e&&t>-1){var n=R(t);return n.length>1+(""===n[n.length-1].match.def?1:0)}return!1}function U(t,e){for(var i=t+1;""!==I(i).match.def&&(!0===e&&(!0!==I(i).match.newBlockMarker||!q(i))||!0!==e&&!q(i));)i++;return i}function G(t,e){var i,n=t;if(n<=0)return 0;for(;--n>0&&(!0===e&&!0!==I(n).match.newBlockMarker||!0!==e&&!q(n)&&((i=R(n)).length<2||2===i.length&&""===i[1].match.def)););return n}function Z(e,n,a,r,o){if(r&&t.isFunction(h.onBeforeWrite)){var s=h.onBeforeWrite.call(w,r,n,a,h);if(s){if(s.refreshFromBuffer){var l=s.refreshFromBuffer;F(!0===l?l:l.start,l.end,s.buffer||n),n=j(!0)}a!==i&&(a=s.caret!==i?s.caret:a)}}if(e!==i&&(e.inputmask._valueSet(n.join("")),a===i||r!==i&&"blur"===r.type?dt(e,a,0===n.length):at(e,a),!0===o)){var c=t(e),d=e.inputmask._valueGet();S=!0,c.trigger("input"),setTimeout(function(){d===N().join("")?c.trigger("cleared"):!0===st(n)&&c.trigger("complete")},0)}}function J(e,n,a){if((n=n||I(e).match).placeholder!==i||!0===a)return t.isFunction(n.placeholder)?n.placeholder(h):n.placeholder;if(null===n.fn){if(e>-1&&D().validPositions[e]===i){var r,o=R(e),s=[];if(o.length>1+(""===o[o.length-1].match.def?1:0))for(var l=0;l<o.length;l++)if(!0!==o[l].match.optionality&&!0!==o[l].match.optionalQuantifier&&(null===o[l].match.fn||r===i||!1!==o[l].match.fn.test(r.match.def,D(),e,!0,h))&&(s.push(o[l]),null===o[l].match.fn&&(r=o[l]),s.length>1&&/[0-9a-bA-Z]/.test(s[0].match.def)))return h.placeholder.charAt(e%h.placeholder.length)}return n.def}return h.placeholder.charAt(e%h.placeholder.length)}function K(t,e){if(r){if(t.inputmask._valueGet()!==e&&(t.placeholder!==e||""===t.placeholder)){var i=j().slice(),n=t.inputmask._valueGet();if(n!==e){var a=E();-1===a&&n===N().join("")?i=[]:-1!==a&&ot(i),Z(t,i)}}}else t.placeholder!==e&&(t.placeholder=e,""===t.placeholder&&t.removeAttribute("placeholder"))}var Q,tt={on:function(e,n,a){var r=function(e){var n=this;if(n.inputmask===i&&"FORM"!==this.nodeName){var r=t.data(n,"_inputmask_opts");r?new d(r).mask(n):tt.off(n)}else{if("setvalue"===e.type||"FORM"===this.nodeName||!(n.disabled||n.readOnly&&!("keydown"===e.type&&e.ctrlKey&&67===e.keyCode||!1===h.tabThrough&&e.keyCode===d.keyCode.TAB))){switch(e.type){case"input":if(!0===S)return S=!1,e.preventDefault();if(s){var o=arguments;return setTimeout(function(){a.apply(n,o),at(n,n.inputmask.caretPos,i,!0)},0),!1}break;case"keydown":k=!1,S=!1;break;case"keypress":if(!0===k)return e.preventDefault();k=!0;break;case"click":if(l||c){var o=arguments;return setTimeout(function(){a.apply(n,o)},0),!1}}var u=a.apply(n,arguments);return!1===u&&(e.preventDefault(),e.stopPropagation()),u}e.preventDefault()}};e.inputmask.events[n]=e.inputmask.events[n]||[],e.inputmask.events[n].push(r),-1!==t.inArray(n,["submit","reset"])?null!==e.form&&t(e.form).on(n,r):t(e).on(n,r)},off:function(e,i){var n;e.inputmask&&e.inputmask.events&&(i?(n=[])[i]=e.inputmask.events[i]:n=e.inputmask.events,t.each(n,function(i,n){for(;n.length>0;){var a=n.pop();-1!==t.inArray(i,["submit","reset"])?null!==e.form&&t(e.form).off(i,a):t(e).off(i,a)}delete e.inputmask.events[i]}))}},et={keydownEvent:function(e){var i=t(this),n=e.keyCode,a=at(this);if(n===d.keyCode.BACKSPACE||n===d.keyCode.DELETE||c&&n===d.keyCode.BACKSPACE_SAFARI||e.ctrlKey&&n===d.keyCode.X&&!p("cut"))e.preventDefault(),lt(0,n,a),Z(this,j(!0),D().p,e,this.inputmask._valueGet()!==j().join(""));else if(n===d.keyCode.END||n===d.keyCode.PAGE_DOWN){e.preventDefault();var r=U(E());at(this,e.shiftKey?a.begin:r,r,!0)}else n===d.keyCode.HOME&&!e.shiftKey||n===d.keyCode.PAGE_UP?(e.preventDefault(),at(this,0,e.shiftKey?a.begin:0,!0)):(h.undoOnEscape&&n===d.keyCode.ESCAPE||90===n&&e.ctrlKey)&&!0!==e.altKey?(it(this,!0,!1,g.split("")),i.trigger("click")):n!==d.keyCode.INSERT||e.shiftKey||e.ctrlKey?!0===h.tabThrough&&n===d.keyCode.TAB&&(!0===e.shiftKey?(null===I(a.begin).match.fn&&(a.begin=U(a.begin)),a.end=G(a.begin,!0),a.begin=G(a.end,!0)):(a.begin=U(a.begin,!0),a.end=U(a.begin,!0),a.end<D().maskLength&&a.end--),a.begin<D().maskLength&&(e.preventDefault(),at(this,a.begin,a.end))):(h.insertMode=!h.insertMode,this.setAttribute("im-insert",h.insertMode));h.onKeyDown.call(this,e,j(),at(this).begin,h),M=-1!==t.inArray(n,h.ignorables)},keypressEvent:function(e,n,a,r,o){var s=this,l=t(s),c=e.which||e.charCode||e.keyCode;if(!(!0===n||e.ctrlKey&&e.altKey)&&(e.ctrlKey||e.metaKey||M))return c===d.keyCode.ENTER&&g!==j().join("")&&(g=j().join(""),setTimeout(function(){l.trigger("change")},0)),!0;if(c){46===c&&!1===e.shiftKey&&""!==h.radixPoint&&(c=h.radixPoint.charCodeAt(0));var u,p=n?{begin:o,end:o}:at(s),f=String.fromCharCode(c),m=0;if(h._radixDance&&h.numericInput){var v=j().indexOf(h.radixPoint.charAt(0))+1;p.begin<=v&&(c===h.radixPoint.charCodeAt(0)&&(m=1),p.begin-=1,p.end-=1)}D().writeOutBuffer=!0;var y=V(p,f,r);if(!1!==y&&(L(!0),u=y.caret!==i?y.caret:U(y.pos.begin?y.pos.begin:y.pos),D().p=u),u=(h.numericInput&&y.caret===i?G(u):u)+m,!1!==a&&(setTimeout(function(){h.onKeyValidation.call(s,c,y,h)},0),D().writeOutBuffer&&!1!==y)){var b=j();Z(s,b,u,e,!0!==n)}if(e.preventDefault(),n)return!1!==y&&(y.forwardPosition=u),y}},pasteEvent:function(i){var n,a=i.originalEvent||i,r=(t(this),this.inputmask._valueGet(!0)),o=at(this);_&&(n=o.end,o.end=o.begin,o.begin=n);var s=r.substr(0,o.begin),l=r.substr(o.end,r.length);if(s===(_?N().reverse():N()).slice(0,o.begin).join("")&&(s=""),l===(_?N().reverse():N()).slice(o.end).join("")&&(l=""),e.clipboardData&&e.clipboardData.getData)r=s+e.clipboardData.getData("Text")+l;else{if(!a.clipboardData||!a.clipboardData.getData)return!0;r=s+a.clipboardData.getData("text/plain")+l}var c=r;if(t.isFunction(h.onBeforePaste)){if(!1===(c=h.onBeforePaste.call(w,r,h)))return i.preventDefault();c||(c=r)}return it(this,!1,!1,c.toString().split("")),Z(this,j(),U(E()),i,g!==j().join("")),i.preventDefault()},inputFallBackEvent:function(e){var i=this,n=i.inputmask._valueGet();if(j().join("")!==n){var a=at(i);if(n=function(t,e,i){if(l){var n=e.replace(j().join(""),"");if(1===n.length){var a=e.split("");a.splice(i.begin,0,n),e=a.join("")}}return e}(0,n=function(t,e,i){return"."===e.charAt(i.begin-1)&&""!==h.radixPoint&&((e=e.split(""))[i.begin-1]=h.radixPoint.charAt(0),e=e.join("")),e}(0,n,a),a),j().join("")!==n){var r=j().join(""),o=!h.numericInput&&n.length>r.length?-1:0,s=n.substr(0,a.begin),c=n.substr(a.begin),u=r.substr(0,a.begin+o),p=r.substr(a.begin+o),f=a,g="",m=!1;if(s!==u){var v,y=(m=s.length>=u.length)?s.length:u.length;for(v=0;s.charAt(v)===u.charAt(v)&&v<y;v++);m&&(f.begin=v-o,g+=s.slice(v,f.end))}if(c!==p&&(c.length>p.length?g+=c.slice(0,1):c.length<p.length&&(f.end+=p.length-c.length,m||""===h.radixPoint||""!==c||s.charAt(f.begin+o-1)!==h.radixPoint||(f.begin--,g=h.radixPoint))),Z(i,j(),{begin:f.begin+o,end:f.end+o}),g.length>0)t.each(g.split(""),function(e,n){var a=new t.Event("keypress");a.which=n.charCodeAt(0),M=!1,et.keypressEvent.call(i,a)});else{f.begin===f.end-1&&(f.begin=G(f.begin+1),f.begin===f.end-1?at(i,f.begin):at(i,f.begin,f.end));var b=new t.Event("keydown");b.keyCode=h.numericInput?d.keyCode.BACKSPACE:d.keyCode.DELETE,et.keydownEvent.call(i,b)}e.preventDefault()}}},beforeInputEvent:function(e){if(e.cancelable){var i=this;switch(e.inputType){case"insertText":return t.each(e.data.split(""),function(e,n){var a=new t.Event("keypress");a.which=n.charCodeAt(0),M=!1,et.keypressEvent.call(i,a)}),e.preventDefault();case"deleteContentBackward":var n=new t.Event("keydown");return n.keyCode=d.keyCode.BACKSPACE,et.keydownEvent.call(i,n),e.preventDefault();case"deleteContentForward":var n=new t.Event("keydown");return n.keyCode=d.keyCode.DELETE,et.keydownEvent.call(i,n),e.preventDefault()}}},setValueEvent:function(e){this.inputmask.refreshValue=!1;var i=e&&e.detail?e.detail[0]:arguments[1],i=i||this.inputmask._valueGet(!0);t.isFunction(h.onBeforeMask)&&(i=h.onBeforeMask.call(w,i,h)||i),it(this,!0,!1,i=i.split("")),g=j().join(""),(h.clearMaskOnLostFocus||h.clearIncomplete)&&this.inputmask._valueGet()===N().join("")&&this.inputmask._valueSet("")},focusEvent:function(t){var e=this.inputmask._valueGet();h.showMaskOnFocus&&(e!==j().join("")?Z(this,j(),U(E())):!1===C&&at(this,U(E()))),!0===h.positionCaretOnTab&&!1===C&&et.clickEvent.apply(this,[t,!0]),g=j().join("")},mouseleaveEvent:function(t){C=!1,h.clearMaskOnLostFocus&&n.activeElement!==this&&K(this,b)},clickEvent:function(e,a){var r=this;setTimeout(function(){if(n.activeElement===r){var e=at(r);if(a&&(_?e.end=e.begin:e.begin=e.end),e.begin===e.end)switch(h.positionCaretOnClick){case"none":break;case"select":at(r,0,j().length);break;case"ignore":at(r,U(E()));break;case"radixFocus":if(function(e){if(""!==h.radixPoint){var n=D().validPositions;if(n[e]===i||n[e].input===J(e)){if(e<U(-1))return!0;var a=t.inArray(h.radixPoint,j());if(-1!==a){for(var r in n)if(a<r&&n[r].input!==J(r))return!1;return!0}}}return!1}(e.begin)){var o=j().join("").indexOf(h.radixPoint);at(r,h.numericInput?U(o):o);break}default:var s=e.begin,l=E(s,!0),c=U(l);if(s<c)at(r,q(s,!0)||q(s-1,!0)?s:U(s));else{var d=D().validPositions[l],u=O(c,d?d.match.locator:i,d),p=J(c,u.match);if(""!==p&&j()[c]!==p&&!0!==u.match.optionalQuantifier&&!0!==u.match.newBlockMarker||!q(c,h.keepStatic)&&u.match.def===p){var f=U(c);(s>=f||s===c)&&(c=f)}at(r,c)}}}},0)},cutEvent:function(i){t(this);var a=at(this),r=i.originalEvent||i,o=e.clipboardData||r.clipboardData,s=_?j().slice(a.end,a.begin):j().slice(a.begin,a.end);o.setData("text",_?s.reverse().join(""):s.join("")),n.execCommand&&n.execCommand("copy"),lt(0,d.keyCode.DELETE,a),Z(this,j(),D().p,i,g!==j().join(""))},blurEvent:function(e){var n=t(this);if(this.inputmask){K(this,b);var a=this.inputmask._valueGet(),r=j().slice();""===a&&y===i||(h.clearMaskOnLostFocus&&(-1===E()&&a===N().join("")?r=[]:ot(r)),!1===st(r)&&(setTimeout(function(){n.trigger("incomplete")},0),h.clearIncomplete&&(L(),r=h.clearMaskOnLostFocus?[]:N().slice())),Z(this,r,i,e)),g!==j().join("")&&(g=r.join(""),n.trigger("change"))}},mouseenterEvent:function(t){C=!0,n.activeElement!==this&&h.showMaskOnHover&&K(this,(_?j().slice().reverse():j()).join(""))},submitEvent:function(t){g!==j().join("")&&m.trigger("change"),h.clearMaskOnLostFocus&&-1===E()&&x.inputmask._valueGet&&x.inputmask._valueGet()===N().join("")&&x.inputmask._valueSet(""),h.clearIncomplete&&!1===st(j())&&x.inputmask._valueSet(""),h.removeMaskOnSubmit&&(x.inputmask._valueSet(x.inputmask.unmaskedvalue(),!0),setTimeout(function(){Z(x,j())},0))},resetEvent:function(t){x.inputmask.refreshValue=!0,setTimeout(function(){m.trigger("setvalue")},0)}};function it(e,n,a,r,o){var s=this||e.inputmask,l=r.slice(),c="",u=-1,p=i;if(L(),a||!0===h.autoUnmask)u=U(u);else{var f=N().slice(0,U(-1)).join(""),g=l.join("").match(new RegExp("^"+d.escapeRegex(f),"g"));g&&g.length>0&&(l.splice(0,g.length*f.length),u=U(u))}-1===u?(D().p=U(u),u=0):D().p=u,s.caretPos={begin:u},t.each(l,function(n,r){if(r!==i)if(D().validPositions[n]===i&&l[n]===J(n)&&q(n,!0)&&!1===V(n,l[n],!0,i,i,!0))D().p++;else{var o=new t.Event("_checkval");o.which=r.charCodeAt(0),c+=r;var d=E(i,!0);!function(t,e){return-1!==T(!0,0,!1).slice(t,U(t)).join("").replace(/'/g,"").indexOf(e)&&!q(t)&&(I(t).match.nativeDef===e.charAt(0)||null===I(t).match.fn&&I(t).match.nativeDef==="'"+e.charAt(0)||" "===I(t).match.nativeDef&&(I(t+1).match.nativeDef===e.charAt(0)||null===I(t+1).match.fn&&I(t+1).match.nativeDef==="'"+e.charAt(0)))}(u,c)?(p=et.keypressEvent.call(e,o,!0,!1,a,s.caretPos.begin))&&(u=s.caretPos.begin+1,c=""):p=et.keypressEvent.call(e,o,!0,!1,a,d+1),p&&(Z(i,j(),p.forwardPosition,o,!1),s.caretPos={begin:p.forwardPosition,end:p.forwardPosition})}}),n&&Z(e,j(),p?p.forwardPosition:i,o||new t.Event("checkval"),o&&"input"===o.type)}function nt(e){if(e){if(e.inputmask===i)return e.value;e.inputmask&&e.inputmask.refreshValue&&et.setValueEvent.call(e)}var n=[],a=D().validPositions;for(var r in a)a[r].match&&null!=a[r].match.fn&&n.push(a[r].input);var o=0===n.length?"":(_?n.reverse():n).join("");if(t.isFunction(h.onUnMask)){var s=(_?j().slice().reverse():j()).join("");o=h.onUnMask.call(w,s,o,h)}return o}function at(a,r,o,s){function l(t){return!_||"number"!=typeof t||h.greedy&&""===h.placeholder||!x||(t=x.inputmask._valueGet().length-t),t}var c;if(r===i)return"selectionStart"in a?(r=a.selectionStart,o=a.selectionEnd):e.getSelection?(c=e.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==a&&c.commonAncestorContainer!==a||(r=c.startOffset,o=c.endOffset):n.selection&&n.selection.createRange&&(c=n.selection.createRange(),r=0-c.duplicate().moveStart("character",-a.inputmask._valueGet().length),o=r+c.text.length),{begin:s?r:l(r),end:s?o:l(o)};if(t.isArray(r)&&(o=_?r[0]:r[1],r=_?r[1]:r[0]),r.begin!==i&&(o=_?r.begin:r.end,r=_?r.end:r.begin),"number"==typeof r){r=s?r:l(r),o="number"==typeof(o=s?o:l(o))?o:r;var d=parseInt(((a.ownerDocument.defaultView||e).getComputedStyle?(a.ownerDocument.defaultView||e).getComputedStyle(a,null):a.currentStyle).fontSize)*o;if(a.scrollLeft=d>a.scrollWidth?d:0,a.inputmask.caretPos={begin:r,end:o},a===n.activeElement){if("selectionStart"in a)a.selectionStart=r,a.selectionEnd=o;else if(e.getSelection){if(c=n.createRange(),a.firstChild===i||null===a.firstChild){var u=n.createTextNode("");a.appendChild(u)}c.setStart(a.firstChild,r<a.inputmask._valueGet().length?r:a.inputmask._valueGet().length),c.setEnd(a.firstChild,o<a.inputmask._valueGet().length?o:a.inputmask._valueGet().length),c.collapse(!0);var p=e.getSelection();p.removeAllRanges(),p.addRange(c)}else a.createTextRange&&((c=a.createTextRange()).collapse(!0),c.moveEnd("character",o),c.moveStart("character",r),c.select());dt(a,{begin:r,end:o})}}}function rt(e){var n,a,r=T(!0,E(),!0,!0),o=r.length,s=E(),l={},c=D().validPositions[s],d=c!==i?c.locator.slice():i;for(n=s+1;n<r.length;n++)a=O(n,d,n-1),d=a.locator.slice(),l[n]=t.extend(!0,{},a);var u=c&&c.alternation!==i?c.locator[c.alternation]:i;for(n=o-1;n>s&&((a=l[n]).match.optionality||a.match.optionalQuantifier&&a.match.newBlockMarker||u&&(u!==l[n].locator[c.alternation]&&null!=a.match.fn||null===a.match.fn&&a.locator[c.alternation]&&W(a.locator[c.alternation].toString().split(","),u.toString().split(","))&&""!==R(n)[0].def))&&r[n]===J(n,a.match);n--)o--;return e?{l:o,def:l[o]?l[o].match:i}:o}function ot(t){t.length=0;for(var e,n=T(!0,0,!0,i,!0);(e=n.shift())!==i;)t.push(e);return t}function st(e){if(t.isFunction(h.isComplete))return h.isComplete(e,h);if("*"===h.repeat)return i;var n=!1,a=rt(!0),r=G(a.l);if(a.def===i||a.def.newBlockMarker||a.def.optionality||a.def.optionalQuantifier){n=!0;for(var o=0;o<=r;o++){var s=O(o).match;if(null!==s.fn&&D().validPositions[o]===i&&!0!==s.optionality&&!0!==s.optionalQuantifier||null===s.fn&&e[o]!==J(o,s)){n=!1;break}}}return n}function lt(t,e,n,a,r){if((h.numericInput||_)&&(e===d.keyCode.BACKSPACE?e=d.keyCode.DELETE:e===d.keyCode.DELETE&&(e=d.keyCode.BACKSPACE),_)){var o=n.end;n.end=n.begin,n.begin=o}if(e===d.keyCode.BACKSPACE&&n.end-n.begin<1?(n.begin=G(n.begin),D().validPositions[n.begin]!==i&&D().validPositions[n.begin].input===h.groupSeparator&&n.begin--):e===d.keyCode.DELETE&&n.begin===n.end&&(n.end=q(n.end,!0)&&D().validPositions[n.end]&&D().validPositions[n.end].input!==h.radixPoint?n.end+1:U(n.end)+1,D().validPositions[n.begin]!==i&&D().validPositions[n.begin].input===h.groupSeparator&&n.end++),X(n),!0!==a&&!1!==h.keepStatic||null!==h.regex){var s=B(!0);if(s){var l=s.caret!==i?s.caret:s.pos?U(s.pos.begin?s.pos.begin:s.pos):E(-1,!0);(e!==d.keyCode.DELETE||n.begin>l)&&n.begin}}var c=E(n.begin,!0);if(c<n.begin||-1===n.begin)D().p=U(c);else if(!0!==a&&(D().p=n.begin,!0!==r))for(;D().p<c&&D().validPositions[D().p]===i;)D().p++}function ct(i){var a=(i.ownerDocument.defaultView||e).getComputedStyle(i,null),r=n.createElement("div");r.style.width=a.width,r.style.textAlign=a.textAlign,y=n.createElement("div"),i.inputmask.colorMask=y,y.className="im-colormask",i.parentNode.insertBefore(y,i),i.parentNode.removeChild(i),y.appendChild(i),y.appendChild(r),i.style.left=r.offsetLeft+"px",t(y).on("mouseleave",function(t){return et.mouseleaveEvent.call(i,[t])}),t(y).on("mouseenter",function(t){return et.mouseenterEvent.call(i,[t])}),t(y).on("click",function(t){return at(i,function(t){var e,r=n.createElement("span");for(var o in a)isNaN(o)&&-1!==o.indexOf("font")&&(r.style[o]=a[o]);r.style.textTransform=a.textTransform,r.style.letterSpacing=a.letterSpacing,r.style.position="absolute",r.style.height="auto",r.style.width="auto",r.style.visibility="hidden",r.style.whiteSpace="nowrap",n.body.appendChild(r);var s,l=i.inputmask._valueGet(),c=0;for(e=0,s=l.length;e<=s;e++){if(r.innerHTML+=l.charAt(e)||"_",r.offsetWidth>=t){var d=t-c,u=r.offsetWidth-t;r.innerHTML=l.charAt(e),d-=r.offsetWidth/3,e=d<u?e-1:e;break}c=r.offsetWidth}return n.body.removeChild(r),e}(t.clientX)),et.clickEvent.call(i,[t])})}function dt(t,e,a){var r,o,s,l=[],c=!1,d=0;function u(t){if(t===i&&(t=""),c||null!==r.fn&&o.input!==i)if(c&&(null!==r.fn&&o.input!==i||""===r.def)){c=!1;var e=l.length;l[e-1]=l[e-1]+"</span>",l.push(t)}else l.push(t);else c=!0,l.push("<span class='im-static'>"+t)}if(y!==i){var p=j();if(e===i?e=at(t):e.begin===i&&(e={begin:e,end:e}),!0!==a){var f=E();do{D().validPositions[d]?(o=D().validPositions[d],r=o.match,s=o.locator.slice(),u(p[d])):(o=O(d,s,d-1),r=o.match,s=o.locator.slice(),!1===h.jitMasking||d<f||"number"==typeof h.jitMasking&&isFinite(h.jitMasking)&&h.jitMasking>d?u(J(d,r)):c=!1),d++}while((v===i||d<v)&&(null!==r.fn||""!==r.def)||f>d||c);c&&u(),n.activeElement===t&&(l.splice(e.begin,0,e.begin===e.end||e.end>D().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">'),l.splice(e.end+1,0,"</mark>"))}var g=y.getElementsByTagName("div")[0];g.innerHTML=l.join(""),t.inputmask.positionColorMask(t,g)}}if(d.prototype.positionColorMask=function(t,e){t.style.left=e.offsetLeft+"px"},a!==i)switch(a.action){case"isComplete":return x=a.el,st(j());case"unmaskedvalue":return x!==i&&a.value===i||(Q=a.value,Q=(t.isFunction(h.onBeforeMask)&&h.onBeforeMask.call(w,Q,h)||Q).split(""),it.call(this,i,!1,!1,Q),t.isFunction(h.onBeforeWrite)&&h.onBeforeWrite.call(w,i,j(),0,h)),nt(x);case"mask":!function(e){tt.off(e);var a=function(e,a){var r=e.getAttribute("type"),s="INPUT"===e.tagName&&-1!==t.inArray(r,a.supportsInputType)||e.isContentEditable||"TEXTAREA"===e.tagName;if(!s)if("INPUT"===e.tagName){var l=n.createElement("input");l.setAttribute("type",r),s="text"===l.type,l=null}else s="partial";return!1!==s?function(e){var r,s;function l(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==E()||!0!==a.nullable?n.activeElement===this&&a.clearMaskOnLostFocus?(_?ot(j().slice()).reverse():ot(j().slice())).join(""):r.call(this):"":r.call(this)}function c(e){s.call(this,e),this.inputmask&&t(this).trigger("setvalue",[e])}if(!e.inputmask.__valueGet){if(!0!==a.noValuePatching){if(Object.getOwnPropertyDescriptor){"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===o("test".__proto__)?function(t){return t.__proto__}:function(t){return t.constructor.prototype});var d=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value"):i;d&&d.get&&d.set?(r=d.get,s=d.set,Object.defineProperty(e,"value",{get:l,set:c,configurable:!0})):"INPUT"!==e.tagName&&(r=function(){return this.textContent},s=function(t){this.textContent=t},Object.defineProperty(e,"value",{get:l,set:c,configurable:!0}))}else n.__lookupGetter__&&e.__lookupGetter__("value")&&(r=e.__lookupGetter__("value"),s=e.__lookupSetter__("value"),e.__defineGetter__("value",l),e.__defineSetter__("value",c));e.inputmask.__valueGet=r,e.inputmask.__valueSet=s}e.inputmask._valueGet=function(t){return _&&!0!==t?r.call(this.el).split("").reverse().join(""):r.call(this.el)},e.inputmask._valueSet=function(t,e){s.call(this.el,null===t||t===i?"":!0!==e&&_?t.split("").reverse().join(""):t)},r===i&&(r=function(){return this.value},s=function(t){this.value=t},function(e){if(t.valHooks&&(t.valHooks[e]===i||!0!==t.valHooks[e].inputmaskpatch)){var n=t.valHooks[e]&&t.valHooks[e].get?t.valHooks[e].get:function(t){return t.value},r=t.valHooks[e]&&t.valHooks[e].set?t.valHooks[e].set:function(t,e){return t.value=e,t};t.valHooks[e]={get:function(t){if(t.inputmask){if(t.inputmask.opts.autoUnmask)return t.inputmask.unmaskedvalue();var e=n(t);return-1!==E(i,i,t.inputmask.maskset.validPositions)||!0!==a.nullable?e:""}return n(t)},set:function(e,i){var n,a=t(e);return n=r(e,i),e.inputmask&&a.trigger("setvalue",[i]),n},inputmaskpatch:!0}}}(e.type),function(e){tt.on(e,"mouseenter",function(e){var i=t(this),n=this.inputmask._valueGet();n!==j().join("")&&i.trigger("setvalue")})}(e))}}(e):e.inputmask=i,s}(e,h);if(!1!==a&&(m=t(x=e),b=x.placeholder,-1===(v=x!==i?x.maxLength:i)&&(v=i),!0===h.colorMask&&ct(x),s&&("inputmode"in x&&(x.inputmode=h.inputmode,x.setAttribute("inputmode",h.inputmode)),!0===h.disablePredictiveText&&("autocorrect"in x?x.autocorrect=!1:(!0!==h.colorMask&&ct(x),x.type="password"))),!0===a&&(x.setAttribute("im-insert",h.insertMode),tt.on(x,"submit",et.submitEvent),tt.on(x,"reset",et.resetEvent),tt.on(x,"blur",et.blurEvent),tt.on(x,"focus",et.focusEvent),!0!==h.colorMask&&(tt.on(x,"click",et.clickEvent),tt.on(x,"mouseleave",et.mouseleaveEvent),tt.on(x,"mouseenter",et.mouseenterEvent)),tt.on(x,"paste",et.pasteEvent),tt.on(x,"cut",et.cutEvent),tt.on(x,"complete",h.oncomplete),tt.on(x,"incomplete",h.onincomplete),tt.on(x,"cleared",h.oncleared),s||!0===h.inputEventOnly?x.removeAttribute("maxLength"):(tt.on(x,"keydown",et.keydownEvent),tt.on(x,"keypress",et.keypressEvent)),tt.on(x,"input",et.inputFallBackEvent),tt.on(x,"beforeinput",et.beforeInputEvent)),tt.on(x,"setvalue",et.setValueEvent),g=N().join(""),""!==x.inputmask._valueGet(!0)||!1===h.clearMaskOnLostFocus||n.activeElement===x)){var r=t.isFunction(h.onBeforeMask)&&h.onBeforeMask.call(w,x.inputmask._valueGet(!0),h)||x.inputmask._valueGet(!0);""!==r&&it(x,!0,!1,r.split(""));var l=j().slice();g=l.join(""),!1===st(l)&&h.clearIncomplete&&L(),h.clearMaskOnLostFocus&&n.activeElement!==x&&(-1===E()?l=[]:ot(l)),(!1===h.clearMaskOnLostFocus||h.showMaskOnFocus&&n.activeElement===x||""!==x.inputmask._valueGet(!0))&&Z(x,l),n.activeElement===x&&at(x,U(E()))}}(x);break;case"format":return Q=(t.isFunction(h.onBeforeMask)&&h.onBeforeMask.call(w,a.value,h)||a.value).split(""),it.call(this,i,!0,!1,Q),a.metadata?{value:_?j().slice().reverse().join(""):j().join(""),metadata:f.call(this,{action:"getmetadata"},u,h)}:_?j().slice().reverse().join(""):j().join("");case"isValid":a.value?(Q=a.value.split(""),it.call(this,i,!0,!0,Q)):a.value=j().join("");for(var ut=j(),ht=rt(),pt=ut.length-1;pt>ht&&!q(pt);pt--);return ut.splice(ht,pt+1-ht),st(ut)&&a.value===j().join("");case"getemptymask":return N().join("");case"remove":return x&&x.inputmask&&(t.data(x,"_inputmask_opts",null),m=t(x),x.inputmask._valueSet(h.autoUnmask?nt(x):x.inputmask._valueGet(!0)),tt.off(x),x.inputmask.colorMask&&((y=x.inputmask.colorMask).removeChild(x),y.parentNode.insertBefore(x,y),y.parentNode.removeChild(y)),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(x),"value")&&x.inputmask.__valueGet&&Object.defineProperty(x,"value",{get:x.inputmask.__valueGet,set:x.inputmask.__valueSet,configurable:!0}):n.__lookupGetter__&&x.__lookupGetter__("value")&&x.inputmask.__valueGet&&(x.__defineGetter__("value",x.inputmask.__valueGet),x.__defineSetter__("value",x.inputmask.__valueSet)),x.inputmask=i),x;case"getmetadata":if(t.isArray(u.metadata)){var ft=T(!0,0,!1).join("");return t.each(u.metadata,function(t,e){if(e.mask===ft)return ft=e,!1}),ft}return u.metadata}}return d.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:t.noop,onincomplete:t.noop,oncleared:t.noop,repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,clearIncomplete:!1,alias:null,onKeyDown:t.noop,onBeforeMask:null,onBeforePaste:function(e,i){return t.isFunction(i.onBeforeMask)?i.onBeforeMask.call(this,e,i):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:t.noop,skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:i,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:!1,disablePredictiveText:!1,importDataAttributes:!0,shiftPositions:!0},definitions:{9:{validator:"[0-9１-９]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-9１-９A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(a){var r=this;return"string"==typeof a&&(a=n.getElementById(a)||n.querySelectorAll(a)),a=a.nodeName?[a]:a,t.each(a,function(n,a){var o=t.extend(!0,{},r.opts);if(function(n,a,r,o){if(!0===a.importDataAttributes){var s,l,c,d,h=function(t,a){null!==(a=a!==i?a:n.getAttribute(o+"-"+t))&&("string"==typeof a&&(0===t.indexOf("on")?a=e[a]:"false"===a?a=!1:"true"===a&&(a=!0)),r[t]=a)},p=n.getAttribute(o);if(p&&""!==p&&(p=p.replace(/'/g,'"'),l=JSON.parse("{"+p+"}")),l)for(d in c=i,l)if("alias"===d.toLowerCase()){c=l[d];break}for(s in h("alias",c),r.alias&&u(r.alias,r,a),a){if(l)for(d in c=i,l)if(d.toLowerCase()===s.toLowerCase()){c=l[d];break}h(s,c)}}return t.extend(!0,a,r),("rtl"===n.dir||a.rightAlign)&&(n.style.textAlign="right"),("rtl"===n.dir||a.numericInput)&&(n.dir="ltr",n.removeAttribute("dir"),a.isRTL=!0),Object.keys(r).length}(a,o,t.extend(!0,{},r.userOptions),r.dataAttribute)){var s=h(o,r.noMasksCache);s!==i&&(a.inputmask!==i&&(a.inputmask.opts.autoUnmask=!0,a.inputmask.remove()),a.inputmask=new d(i,i,!0),a.inputmask.opts=o,a.inputmask.noMasksCache=r.noMasksCache,a.inputmask.userOptions=t.extend(!0,{},r.userOptions),a.inputmask.isRTL=o.isRTL||o.numericInput,a.inputmask.el=a,a.inputmask.maskset=s,t.data(a,"_inputmask_opts",o),f.call(a.inputmask,{action:"mask"}))}}),a&&a[0]&&a[0].inputmask||this},option:function(e,i){return"string"==typeof e?this.opts[e]:"object"===(void 0===e?"undefined":o(e))?(t.extend(this.userOptions,e),this.el&&!0!==i&&this.mask(this.el),this):void 0},unmaskedvalue:function(t){return this.maskset=this.maskset||h(this.opts,this.noMasksCache),f.call(this,{action:"unmaskedvalue",value:t})},remove:function(){return f.call(this,{action:"remove"})},getemptymask:function(){return this.maskset=this.maskset||h(this.opts,this.noMasksCache),f.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||h(this.opts,this.noMasksCache),f.call(this,{action:"isComplete"})},getmetadata:function(){return this.maskset=this.maskset||h(this.opts,this.noMasksCache),f.call(this,{action:"getmetadata"})},isValid:function(t){return this.maskset=this.maskset||h(this.opts,this.noMasksCache),f.call(this,{action:"isValid",value:t})},format:function(t,e){return this.maskset=this.maskset||h(this.opts,this.noMasksCache),f.call(this,{action:"format",value:t,metadata:e})},setValue:function(e){this.el&&t(this.el).trigger("setvalue",[e])},analyseMask:function(e,n,a){var r,o,s,l,c,u,h=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,p=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,f=!1,g=new y,m=[],v=[];function y(t,e,i,n){this.matches=[],this.openGroup=t||!1,this.alternatorGroup=!1,this.isGroup=t||!1,this.isOptional=e||!1,this.isQuantifier=i||!1,this.isAlternator=n||!1,this.quantifier={min:1,max:1}}function b(e,r,o){o=o!==i?o:e.matches.length;var s=e.matches[o-1];if(n)0===r.indexOf("[")||f&&/\\d|\\s|\\w]/i.test(r)||"."===r?e.matches.splice(o++,0,{fn:new RegExp(r,a.casing?"i":""),optionality:!1,newBlockMarker:s===i?"master":s.def!==r,casing:null,def:r,placeholder:i,nativeDef:r}):(f&&(r=r[r.length-1]),t.each(r.split(""),function(t,n){s=e.matches[o-1],e.matches.splice(o++,0,{fn:null,optionality:!1,newBlockMarker:s===i?"master":s.def!==n&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||n,placeholder:a.staticDefinitionSymbol!==i?n:i,nativeDef:(f?"'":"")+n})})),f=!1;else{var l=(a.definitions?a.definitions[r]:i)||d.prototype.definitions[r];l&&!f?e.matches.splice(o++,0,{fn:l.validator?"string"==typeof l.validator?new RegExp(l.validator,a.casing?"i":""):new function(){this.test=l.validator}:new RegExp("."),optionality:!1,newBlockMarker:s===i?"master":s.def!==(l.definitionSymbol||r),casing:l.casing,def:l.definitionSymbol||r,placeholder:l.placeholder,nativeDef:r}):(e.matches.splice(o++,0,{fn:null,optionality:!1,newBlockMarker:s===i?"master":s.def!==r&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||r,placeholder:a.staticDefinitionSymbol!==i?r:i,nativeDef:(f?"'":"")+r}),f=!1)}}function w(){if(m.length>0){if(b(l=m[m.length-1],o),l.isAlternator){c=m.pop();for(var t=0;t<c.matches.length;t++)c.matches[t].isGroup&&(c.matches[t].isGroup=!1);m.length>0?(l=m[m.length-1]).matches.push(c):g.matches.push(c)}}else b(g,o)}function x(t){var e=new y(!0);return e.openGroup=!1,e.matches=t,e}for(n&&(a.optionalmarker[0]=i,a.optionalmarker[1]=i);r=n?p.exec(e):h.exec(e);){if(o=r[0],n)switch(o.charAt(0)){case"?":o="{0,1}";break;case"+":case"*":o="{"+o+"}"}if(f)w();else switch(o.charAt(0)){case"(?=":case"(?!":case"(?<=":case"(?<!":break;case a.escapeChar:f=!0,n&&w();break;case a.optionalmarker[1]:case a.groupmarker[1]:if((s=m.pop()).openGroup=!1,s!==i)if(m.length>0){if((l=m[m.length-1]).matches.push(s),l.isAlternator){c=m.pop();for(var _=0;_<c.matches.length;_++)c.matches[_].isGroup=!1,c.matches[_].alternatorGroup=!1;m.length>0?(l=m[m.length-1]).matches.push(c):g.matches.push(c)}}else g.matches.push(s);else w();break;case a.optionalmarker[0]:m.push(new y(!1,!0));break;case a.groupmarker[0]:m.push(new y(!0));break;case a.quantifiermarker[0]:var k=new y(!1,!1,!0),S=(o=o.replace(/[{}]/g,"")).split("|"),M=S[0].split(","),C=isNaN(M[0])?M[0]:parseInt(M[0]),T=1===M.length?C:isNaN(M[1])?M[1]:parseInt(M[1]);"*"!==C&&"+"!==C||(C="*"===T?0:1),k.quantifier={min:C,max:T,jit:S[1]};var D=m.length>0?m[m.length-1].matches:g.matches;if((r=D.pop()).isAlternator){D.push(r),D=r.matches;var L=new y(!0),E=D.pop();D.push(L),D=L.matches,r=E}r.isGroup||(r=x([r])),D.push(r),D.push(k);break;case a.alternatormarker:var A=function(t){var e=t.pop();return e.isQuantifier&&(e=x([t.pop(),e])),e};if(m.length>0){var P=(l=m[m.length-1]).matches[l.matches.length-1];u=l.openGroup&&(P.matches===i||!1===P.isGroup&&!1===P.isAlternator)?m.pop():A(l.matches)}else u=A(g.matches);if(u.isAlternator)m.push(u);else if(u.alternatorGroup?(c=m.pop(),u.alternatorGroup=!1):c=new y(!1,!1,!1,!0),c.matches.push(u),m.push(c),u.openGroup){u.openGroup=!1;var Y=new y(!0);Y.alternatorGroup=!0,m.push(Y)}break;default:w()}}for(;m.length>0;)s=m.pop(),g.matches.push(s);return g.matches.length>0&&(function e(r){r&&r.matches&&t.each(r.matches,function(t,o){var s=r.matches[t+1];(s===i||s.matches===i||!1===s.isQuantifier)&&o&&o.isGroup&&(o.isGroup=!1,n||(b(o,a.groupmarker[0],0),!0!==o.openGroup&&b(o,a.groupmarker[1]))),e(o)})}(g),v.push(g)),(a.numericInput||a.isRTL)&&function t(e){for(var n in e.matches=e.matches.reverse(),e.matches)if(e.matches.hasOwnProperty(n)){var r=parseInt(n);if(e.matches[n].isQuantifier&&e.matches[r+1]&&e.matches[r+1].isGroup){var o=e.matches[n];e.matches.splice(n,1),e.matches.splice(r+1,0,o)}e.matches[n].matches!==i?e.matches[n]=t(e.matches[n]):e.matches[n]=((s=e.matches[n])===a.optionalmarker[0]?s=a.optionalmarker[1]:s===a.optionalmarker[1]?s=a.optionalmarker[0]:s===a.groupmarker[0]?s=a.groupmarker[1]:s===a.groupmarker[1]&&(s=a.groupmarker[0]),s)}var s;return e}(v[0]),v}},d.extendDefaults=function(e){t.extend(!0,d.prototype.defaults,e)},d.extendDefinitions=function(e){t.extend(!0,d.prototype.definitions,e)},d.extendAliases=function(e){t.extend(!0,d.prototype.aliases,e)},d.format=function(t,e,i){return d(e).format(t,i)},d.unmask=function(t,e){return d(e).unmaskedvalue(t)},d.isValid=function(t,e){return d(e).isValid(t)},d.remove=function(e){"string"==typeof e&&(e=n.getElementById(e)||n.querySelectorAll(e)),e=e.nodeName?[e]:e,t.each(e,function(t,e){e.inputmask&&e.inputmask.remove()})},d.setValue=function(e,i){"string"==typeof e&&(e=n.getElementById(e)||n.querySelectorAll(e)),e=e.nodeName?[e]:e,t.each(e,function(e,n){n.inputmask?n.inputmask.setValue(i):t(n).trigger("setvalue",[i])})},d.escapeRegex=function(t){return t.replace(new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim"),"\\$1")},d.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},d.dependencyLib=t,d})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";var n,a,r;"function"==typeof Symbol&&Symbol.iterator;a=[i(4)],void 0===(r="function"==typeof(n=function(t){return t})?n.apply(e,a):n)||(t.exports=r)},function(t,e){t.exports=jQuery},function(module,exports,__webpack_require__){"use strict";var __WEBPACK_AMD_DEFINE_RESULT__,_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};__WEBPACK_AMD_DEFINE_RESULT__=function(){return"undefined"!=typeof window?window:new(eval("require('jsdom').JSDOM"))("").window}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(t,e,i){"use strict";var n,a,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};a=[i(2)],void 0===(r="function"==typeof(n=function(t){var e=t.dependencyLib,i={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return s(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return s(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return s(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return s(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return s(Date.prototype.getHours.call(this),2)}],hhh:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return s(Date.prototype.getHours.call(this),2)}],HHH:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return s(Date.prototype.getMinutes.call(this),2)}],ss:["[0-5][0-9]",Date.prototype.setSeconds,"seconds",function(){return s(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return s(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return s(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},n={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function a(t){if(!t.tokenizer){var e=[];for(var n in i)-1===e.indexOf(n[0])&&e.push(n[0]);t.tokenizer="("+e.join("+|")+")+?|.",t.tokenizer=new RegExp(t.tokenizer,"g")}return t.tokenizer}function r(e,n,r,o){for(var s,l="";s=a(r).exec(e);)if(void 0===n)if(i[s[0]])l+="("+i[s[0]][0]+")";else switch(s[0]){case"[":l+="(";break;case"]":l+=")?";break;default:l+=t.escapeRegex(s[0])}else if(i[s[0]])if(!0!==o&&i[s[0]][3]){var c=i[s[0]][3];l+=c.call(n.date)}else i[s[0]][2]?l+=n["raw"+i[s[0]][2]]:l+=s[0];else l+=s[0];return l}function s(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}function l(t,e,n){var r,s,l,c={date:new Date(1,0,1)},d=t;function u(t){var e=t.replace(/[^0-9]/g,"0");if(e!=t){var i=t.replace(/[^0-9]/g,""),a=(n.min&&n.min[r]||t).toString(),o=(n.max&&n.max[r]||t).toString();e=i+(i<a.slice(0,i.length)?a.slice(i.length):i>o.slice(0,i.length)?o.slice(i.length):e.toString().slice(i.length))}return e}function h(t,e,i){t[r]=u(e),t["raw"+r]=e,void 0!==l&&l.call(t.date,"month"==r?parseInt(t[r])-1:t[r])}if("string"==typeof d){for(;s=a(n).exec(e);){var p=d.slice(0,s[0].length);i.hasOwnProperty(s[0])&&(i[s[0]][0],r=i[s[0]][2],l=i[s[0]][1],h(c,p)),d=d.slice(p.length)}return c}if(d&&"object"===(void 0===d?"undefined":o(d))&&d.hasOwnProperty("date"))return d}return t.extendAliases({datetime:{mask:function(t){return i.S=t.i18n.ordinalSuffix.join("|"),t.inputFormat=n[t.inputFormat]||t.inputFormat,t.displayFormat=n[t.displayFormat]||t.displayFormat||t.inputFormat,t.outputFormat=n[t.outputFormat]||t.outputFormat||t.inputFormat,t.placeholder=""!==t.placeholder?t.placeholder:t.inputFormat.replace(/[\[\]]/,""),t.regex=r(t.inputFormat,void 0,t),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:void 0,outputFormat:void 0,min:null,max:null,i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},postValidation:function(t,e,i,n){n.min=l(n.min,n.inputFormat,n),n.max=l(n.max,n.inputFormat,n);var a=i,o=l(t.join(""),n.inputFormat,n);return a&&o.date.getTime()==o.date.getTime()&&(a=(a=function(t,e){return(!isFinite(t.rawday)||"29"==t.day&&!isFinite(t.rawyear)||new Date(t.date.getFullYear(),isFinite(t.rawmonth)?t.month:t.date.getMonth()+1,0).getDate()>=t.day)&&e}(o,a))&&function(t,e){var i=!0;if(e.min){if(t.rawyear){var n=t.rawyear.replace(/[^0-9]/g,""),a=e.min.year.substr(0,n.length);i=a<=n}t.year===t.rawyear&&e.min.date.getTime()==e.min.date.getTime()&&(i=e.min.date.getTime()<=t.date.getTime())}return i&&e.max&&e.max.date.getTime()==e.max.date.getTime()&&(i=e.max.date.getTime()>=t.date.getTime()),i}(o,n)),e&&a&&i.pos!==e?{buffer:r(n.inputFormat,o,n),refreshFromBuffer:{start:e,end:i.pos}}:a},onKeyDown:function(i,n,r,o){if(i.ctrlKey&&i.keyCode===t.keyCode.RIGHT){for(var l,c=new Date,d="";l=a(o).exec(o.inputFormat);)"d"===l[0].charAt(0)?d+=s(c.getDate(),l[0].length):"m"===l[0].charAt(0)?d+=s(c.getMonth()+1,l[0].length):"yyyy"===l[0]?d+=c.getFullYear().toString():"y"===l[0].charAt(0)&&(d+=s(c.getYear(),l[0].length));this.inputmask._valueSet(d),e(this).trigger("setvalue")}},onUnMask:function(t,e,i){return r(i.outputFormat,l(t,i.inputFormat,i),i,!0)},casing:function(t,e,i,n){return 0==e.nativeDef.indexOf("[ap]")?t.toLowerCase():0==e.nativeDef.indexOf("[AP]")?t.toUpperCase():t},insertMode:!1,shiftPositions:!1}}),t})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";var n,a,r;"function"==typeof Symbol&&Symbol.iterator;a=[i(2)],void 0===(r="function"==typeof(n=function(t){var e=t.dependencyLib;function i(e,i){for(var n="",a=0;a<e.length;a++)t.prototype.definitions[e.charAt(a)]||i.definitions[e.charAt(a)]||i.optionalmarker.start===e.charAt(a)||i.optionalmarker.end===e.charAt(a)||i.quantifiermarker.start===e.charAt(a)||i.quantifiermarker.end===e.charAt(a)||i.groupmarker.start===e.charAt(a)||i.groupmarker.end===e.charAt(a)||i.alternatormarker===e.charAt(a)?n+="\\"+e.charAt(a):n+=e.charAt(a);return n}return t.extendAliases({numeric:{mask:function(t){if(0!==t.repeat&&isNaN(t.integerDigits)&&(t.integerDigits=t.repeat),t.repeat=0,t.groupSeparator===t.radixPoint&&t.digits&&"0"!==t.digits&&("."===t.radixPoint?t.groupSeparator=",":","===t.radixPoint?t.groupSeparator=".":t.groupSeparator="")," "===t.groupSeparator&&(t.skipOptionalPartCharacter=void 0),t.autoGroup=t.autoGroup&&""!==t.groupSeparator,t.autoGroup&&("string"==typeof t.groupSize&&isFinite(t.groupSize)&&(t.groupSize=parseInt(t.groupSize)),isFinite(t.integerDigits))){var e=Math.floor(t.integerDigits/t.groupSize),n=t.integerDigits%t.groupSize;t.integerDigits=parseInt(t.integerDigits)+(0===n?e-1:e),t.integerDigits<1&&(t.integerDigits="*")}t.placeholder.length>1&&(t.placeholder=t.placeholder.charAt(0)),"radixFocus"===t.positionCaretOnClick&&""===t.placeholder&&!1===t.integerOptional&&(t.positionCaretOnClick="lvp"),t.definitions[";"]=t.definitions["~"],t.definitions[";"].definitionSymbol="~",!0===t.numericInput&&(t.positionCaretOnClick="radixFocus"===t.positionCaretOnClick?"lvp":t.positionCaretOnClick,t.digitsOptional=!1,isNaN(t.digits)&&(t.digits=2),t.decimalProtect=!1);var a="[+]";if(a+=i(t.prefix,t),!0===t.integerOptional?a+="~{1,"+t.integerDigits+"}":a+="~{"+t.integerDigits+"}",void 0!==t.digits){var r=t.decimalProtect?":":t.radixPoint,o=t.digits.toString().split(",");isFinite(o[0])&&o[1]&&isFinite(o[1])?a+=r+";{"+t.digits+"}":(isNaN(t.digits)||parseInt(t.digits)>0)&&(t.digitsOptional?a+="["+r+";{1,"+t.digits+"}]":a+=r+";{"+t.digits+"}")}return a+=i(t.suffix,t),a+="[-]",t.greedy=!1,a},placeholder:"",greedy:!1,digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",groupSize:3,groupSeparator:"",autoGroup:!1,allowMinus:!0,negationSymbol:{front:"-",back:""},integerDigits:"+",integerOptional:!0,prefix:"",suffix:"",rightAlign:!0,decimalProtect:!0,min:null,max:null,step:1,insertMode:!0,autoUnmask:!1,unmaskAsNumber:!1,inputType:"text",inputmode:"numeric",preValidation:function(t,i,n,a,r,o){if("-"===n||n===r.negationSymbol.front)return!0===r.allowMinus&&(r.isNegative=void 0===r.isNegative||!r.isNegative,""===t.join("")||{caret:o.validPositions[i]?i:void 0,dopost:!0});if(!1===a&&n===r.radixPoint&&void 0!==r.digits&&(isNaN(r.digits)||parseInt(r.digits)>0)){var s=e.inArray(r.radixPoint,t);if(-1!==s&&void 0!==o.validPositions[s])return!0===r.numericInput?i===s:{caret:s+1}}return!0},postValidation:function(i,n,a,r){var o=r.suffix.split(""),s=r.prefix.split("");if(void 0===a.pos&&void 0!==a.caret&&!0!==a.dopost)return a;var l=void 0!==a.caret?a.caret:a.pos,c=i.slice();r.numericInput&&(l=c.length-l-1,c=c.reverse());var d=c[l];if(d===r.groupSeparator&&(d=c[l+=1]),l===c.length-r.suffix.length-1&&d===r.radixPoint)return a;void 0!==d&&d!==r.radixPoint&&d!==r.negationSymbol.front&&d!==r.negationSymbol.back&&(c[l]="?",r.prefix.length>0&&l>=(!1===r.isNegative?1:0)&&l<r.prefix.length-1+(!1===r.isNegative?1:0)?s[l-(!1===r.isNegative?1:0)]="?":r.suffix.length>0&&l>=c.length-r.suffix.length-(!1===r.isNegative?1:0)&&(o[l-(c.length-r.suffix.length-(!1===r.isNegative?1:0))]="?")),s=s.join(""),o=o.join("");var u=c.join("").replace(s,"");if(u=(u=(u=(u=u.replace(o,"")).replace(new RegExp(t.escapeRegex(r.groupSeparator),"g"),"")).replace(new RegExp("[-"+t.escapeRegex(r.negationSymbol.front)+"]","g"),"")).replace(new RegExp(t.escapeRegex(r.negationSymbol.back)+"$"),""),isNaN(r.placeholder)&&(u=u.replace(new RegExp(t.escapeRegex(r.placeholder),"g"),"")),u.length>1&&1!==u.indexOf(r.radixPoint)&&("0"===d&&(u=u.replace(/^\?/g,"")),u=u.replace(/^0/g,"")),u.charAt(0)===r.radixPoint&&""!==r.radixPoint&&!0!==r.numericInput&&(u="0"+u),""!==u){if(u=u.split(""),(!r.digitsOptional||r.enforceDigitsOnBlur&&"blur"===a.event)&&isFinite(r.digits)){var h=e.inArray(r.radixPoint,u),p=e.inArray(r.radixPoint,c);-1===h&&(u.push(r.radixPoint),h=u.length-1);for(var f=1;f<=r.digits;f++)r.digitsOptional&&(!r.enforceDigitsOnBlur||"blur"!==a.event)||void 0!==u[h+f]&&u[h+f]!==r.placeholder.charAt(0)?-1!==p&&void 0!==c[p+f]&&(u[h+f]=u[h+f]||c[p+f]):u[h+f]=a.placeholder||r.placeholder.charAt(0)}if(!0!==r.autoGroup||""===r.groupSeparator||d===r.radixPoint&&void 0===a.pos&&!a.dopost)u=u.join("");else{var g=u[u.length-1]===r.radixPoint&&a.c===r.radixPoint;u=t(function(t,e){var i="";if(i+="("+e.groupSeparator+"*{"+e.groupSize+"}){*}",""!==e.radixPoint){var n=t.join("").split(e.radixPoint);n[1]&&(i+=e.radixPoint+"*{"+n[1].match(/^\d*\??\d*/)[0].length+"}")}return i}(u,r),{numericInput:!0,jitMasking:!0,definitions:{"*":{validator:"[0-9?]",cardinality:1}}}).format(u.join("")),g&&(u+=r.radixPoint),u.charAt(0)===r.groupSeparator&&u.substr(1)}}if(r.isNegative&&"blur"===a.event&&(r.isNegative="0"!==u),u=s+u,u+=o,r.isNegative&&(u=r.negationSymbol.front+u,u+=r.negationSymbol.back),u=u.split(""),void 0!==d)if(d!==r.radixPoint&&d!==r.negationSymbol.front&&d!==r.negationSymbol.back)(l=e.inArray("?",u))>-1?u[l]=d:l=a.caret||0;else if(d===r.radixPoint||d===r.negationSymbol.front||d===r.negationSymbol.back){var m=e.inArray(d,u);-1!==m&&(l=m)}r.numericInput&&(l=u.length-l-1,u=u.reverse());var v={caret:void 0!==d&&void 0===a.pos||void 0===l?l:l+(r.numericInput?-1:1),buffer:u,refreshFromBuffer:a.dopost||i.join("")!==u.join("")};return v.refreshFromBuffer?v:a},onBeforeWrite:function(i,n,a,r){if(i)switch(i.type){case"keydown":return r.postValidation(n,a,{caret:a,dopost:!0},r);case"blur":case"checkval":var o;if(function(e){void 0===e.parseMinMaxOptions&&(null!==e.min&&(e.min=e.min.toString().replace(new RegExp(t.escapeRegex(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.min=e.min.replace(e.radixPoint,".")),e.min=isFinite(e.min)?parseFloat(e.min):NaN,isNaN(e.min)&&(e.min=Number.MIN_VALUE)),null!==e.max&&(e.max=e.max.toString().replace(new RegExp(t.escapeRegex(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.max=e.max.replace(e.radixPoint,".")),e.max=isFinite(e.max)?parseFloat(e.max):NaN,isNaN(e.max)&&(e.max=Number.MAX_VALUE)),e.parseMinMaxOptions="done")}(r),null!==r.min||null!==r.max){if(o=r.onUnMask(n.join(""),void 0,e.extend({},r,{unmaskAsNumber:!0})),null!==r.min&&o<r.min)return r.isNegative=r.min<0,r.postValidation(r.min.toString().replace(".",r.radixPoint).split(""),a,{caret:a,dopost:!0,placeholder:"0"},r);if(null!==r.max&&o>r.max)return r.isNegative=r.max<0,r.postValidation(r.max.toString().replace(".",r.radixPoint).split(""),a,{caret:a,dopost:!0,placeholder:"0"},r)}return r.postValidation(n,a,{caret:a,placeholder:"0",event:"blur"},r);case"_checkval":return{caret:a}}},regex:{integerPart:function(e,i){return i?new RegExp("["+t.escapeRegex(e.negationSymbol.front)+"+]?"):new RegExp("["+t.escapeRegex(e.negationSymbol.front)+"+]?\\d+")},integerNPart:function(e){return new RegExp("[\\d"+t.escapeRegex(e.groupSeparator)+t.escapeRegex(e.placeholder.charAt(0))+"]+")}},definitions:{"~":{validator:function(e,i,n,a,r,o){var s;if("k"===e||"m"===e){s={insert:[],c:0};for(var l=0,c="k"===e?2:5;l<c;l++)s.insert.push({pos:n+l,c:0});return s.pos=n+c,s}if(!0===(s=a?new RegExp("[0-9"+t.escapeRegex(r.groupSeparator)+"]").test(e):new RegExp("[0-9]").test(e))){if(!0!==r.numericInput&&void 0!==i.validPositions[n]&&"~"===i.validPositions[n].match.def&&!o){var d=i.buffer.join(""),u=(d=(d=d.replace(new RegExp("[-"+t.escapeRegex(r.negationSymbol.front)+"]","g"),"")).replace(new RegExp(t.escapeRegex(r.negationSymbol.back)+"$"),"")).split(r.radixPoint);u.length>1&&(u[1]=u[1].replace(/0/g,r.placeholder.charAt(0))),"0"===u[0]&&(u[0]=u[0].replace(/0/g,r.placeholder.charAt(0))),d=u[0]+r.radixPoint+u[1]||"";var h=i._buffer.join("");for(d===r.radixPoint&&(d=h);null===d.match(t.escapeRegex(h)+"$");)h=h.slice(1);s=void 0===(d=(d=d.replace(h,"")).split(""))[n]?{pos:n,remove:n}:{pos:n}}}else a||e!==r.radixPoint||void 0!==i.validPositions[n-1]||(s={insert:{pos:n,c:0},pos:n+1});return s},cardinality:1},"+":{validator:function(t,e,i,n,a){return a.allowMinus&&("-"===t||t===a.negationSymbol.front)},cardinality:1,placeholder:""},"-":{validator:function(t,e,i,n,a){return a.allowMinus&&t===a.negationSymbol.back},cardinality:1,placeholder:""},":":{validator:function(e,i,n,a,r){var o="["+t.escapeRegex(r.radixPoint)+"]",s=new RegExp(o).test(e);return s&&i.validPositions[n]&&i.validPositions[n].match.placeholder===r.radixPoint&&(s={caret:n+1}),s},cardinality:1,placeholder:function(t){return t.radixPoint}}},onUnMask:function(e,i,n){if(""===i&&!0===n.nullable)return i;var a=e.replace(n.prefix,"");return a=(a=a.replace(n.suffix,"")).replace(new RegExp(t.escapeRegex(n.groupSeparator),"g"),""),""!==n.placeholder.charAt(0)&&(a=a.replace(new RegExp(n.placeholder.charAt(0),"g"),"0")),n.unmaskAsNumber?(""!==n.radixPoint&&-1!==a.indexOf(n.radixPoint)&&(a=a.replace(t.escapeRegex.call(this,n.radixPoint),".")),a=(a=a.replace(new RegExp("^"+t.escapeRegex(n.negationSymbol.front)),"-")).replace(new RegExp(t.escapeRegex(n.negationSymbol.back)+"$"),""),Number(a)):a},isComplete:function(e,i){var n=(i.numericInput?e.slice().reverse():e).join("");return n=(n=(n=(n=(n=n.replace(new RegExp("^"+t.escapeRegex(i.negationSymbol.front)),"-")).replace(new RegExp(t.escapeRegex(i.negationSymbol.back)+"$"),"")).replace(i.prefix,"")).replace(i.suffix,"")).replace(new RegExp(t.escapeRegex(i.groupSeparator)+"([0-9]{3})","g"),"$1"),","===i.radixPoint&&(n=n.replace(t.escapeRegex(i.radixPoint),".")),isFinite(n)},onBeforeMask:function(i,n){n.isNegative=void 0;var a=n.radixPoint||",";"number"!=typeof i&&"number"!==n.inputType||""===a||(i=i.toString().replace(".",a));var r=i.split(a),o=r[0].replace(/[^\-0-9]/g,""),s=r.length>1?r[1].replace(/[^0-9]/g,""):"";i=o+(""!==s?a+s:s);var l=0;if(""!==a&&(l=s.length,""!==s)){var c=Math.pow(10,l||1);isFinite(n.digits)&&(l=parseInt(n.digits),c=Math.pow(10,l)),i=i.replace(t.escapeRegex(a),"."),isFinite(i)&&(i=Math.round(parseFloat(i)*c)/c),i=i.toString().replace(".",a)}return 0===n.digits&&-1!==i.indexOf(t.escapeRegex(a))&&(i=i.substring(0,i.indexOf(t.escapeRegex(a)))),function(t,i,n){if(i>0){var a=e.inArray(n.radixPoint,t);-1===a&&(t.push(n.radixPoint),a=t.length-1);for(var r=1;r<=i;r++)t[a+r]=t[a+r]||"0"}return t}(i.toString().split(""),l,n).join("")},onKeyDown:function(i,n,a,r){var o=e(this);if(i.ctrlKey)switch(i.keyCode){case t.keyCode.UP:o.val(parseFloat(this.inputmask.unmaskedvalue())+parseInt(r.step)),o.trigger("setvalue");break;case t.keyCode.DOWN:o.val(parseFloat(this.inputmask.unmaskedvalue())-parseInt(r.step)),o.trigger("setvalue")}}},currency:{prefix:"$ ",groupSeparator:",",alias:"numeric",placeholder:"0",autoGroup:!0,digits:2,digitsOptional:!1,clearMaskOnLostFocus:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0,radixPoint:""},percentage:{alias:"numeric",digits:2,digitsOptional:!0,radixPoint:".",placeholder:"0",autoGroup:!1,min:0,max:100,suffix:" %",allowMinus:!1}}),t})?n.apply(e,a):n)||(t.exports=r)},function(t,e,i){"use strict";var n,a,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};a=[i(4),i(2)],void 0===(r="function"==typeof(n=function(t,e){return void 0===t.fn.inputmask&&(t.fn.inputmask=function(i,n){var a,r=this[0];if(void 0===n&&(n={}),"string"==typeof i)switch(i){case"unmaskedvalue":return r&&r.inputmask?r.inputmask.unmaskedvalue():t(r).val();case"remove":return this.each(function(){this.inputmask&&this.inputmask.remove()});case"getemptymask":return r&&r.inputmask?r.inputmask.getemptymask():"";case"hasMaskedValue":return!(!r||!r.inputmask)&&r.inputmask.hasMaskedValue();case"isComplete":return!r||!r.inputmask||r.inputmask.isComplete();case"getmetadata":return r&&r.inputmask?r.inputmask.getmetadata():void 0;case"setvalue":e.setValue(r,n);break;case"option":if("string"!=typeof n)return this.each(function(){if(void 0!==this.inputmask)return this.inputmask.option(n)});if(r&&void 0!==r.inputmask)return r.inputmask.option(n);break;default:return n.alias=i,a=new e(n),this.each(function(){a.mask(this)})}else{if(Array.isArray(i))return n.alias=i,a=new e(n),this.each(function(){a.mask(this)});if("object"==(void 0===i?"undefined":o(i)))return a=new e(i),void 0===i.mask&&void 0===i.alias?this.each(function(){if(void 0!==this.inputmask)return this.inputmask.option(i);a.mask(this)}):this.each(function(){a.mask(this)});if(void 0===i)return this.each(function(){(a=new e(n)).mask(this)})}}),t.fn.inputmask})?n.apply(e,a):n)||(t.exports=r)}])}).call(this,__webpack_require__(0))},function(t,e,i){"use strict";i.r(e),function(t){i(207),i(208);t(document).ready(function(){setTimeout(function(){t(".multiselect-dropdown").select2({theme:"bootstrap4",placeholder:"Select an option"}),t("#example-single").multiselect({inheritClass:!0}),t("#example-multi").multiselect({inheritClass:!0}),t("#example-multi-check").multiselect({inheritClass:!0})},2e3)})}.call(this,i(0))},function(t,e,i){(function(n){var a,r,o;r=[i(0)],void 0===(o="function"==typeof(a=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var i,a,r;return e&&e.requirejs||(e?a=e:e={},function(t){var e,n,o,s,l={},c={},d={},u={},h=Object.prototype.hasOwnProperty,p=[].slice,f=/\.js$/;function g(t,e){return h.call(t,e)}function m(t,e){var i,n,a,r,o,s,l,c,u,h,p,g,m=e&&e.split("/"),v=d.map,y=v&&v["*"]||{};if(t){for(t=t.split("/"),o=t.length-1,d.nodeIdCompat&&f.test(t[o])&&(t[o]=t[o].replace(f,"")),"."===t[0].charAt(0)&&m&&(g=m.slice(0,m.length-1),t=g.concat(t)),u=0;u<t.length;u++)if("."===(p=t[u]))t.splice(u,1),u-=1;else if(".."===p){if(0===u||1===u&&".."===t[2]||".."===t[u-1])continue;u>0&&(t.splice(u-1,2),u-=2)}t=t.join("/")}if((m||y)&&v){for(i=t.split("/"),u=i.length;u>0;u-=1){if(n=i.slice(0,u).join("/"),m)for(h=m.length;h>0;h-=1)if((a=v[m.slice(0,h).join("/")])&&(a=a[n])){r=a,s=u;break}if(r)break;!l&&y&&y[n]&&(l=y[n],c=u)}!r&&l&&(r=l,s=c),r&&(i.splice(0,s,r),t=i.join("/"))}return t}function v(e,i){return function(){var a=p.call(arguments,0);return"string"!=typeof a[0]&&1===a.length&&a.push(null),n.apply(t,a.concat([e,i]))}}function y(t){return function(e){l[t]=e}}function b(i){if(g(c,i)){var n=c[i];delete c[i],u[i]=!0,e.apply(t,n)}if(!g(l,i)&&!g(u,i))throw new Error("No "+i);return l[i]}function w(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 x(t){return t?w(t):[]}function _(t){return function(){return d&&d.config&&d.config[t]||{}}}o=function(t,e){var i,n,a=w(t),r=a[0],o=e[1];return t=a[1],r&&(r=m(r,o),i=b(r)),r?t=i&&i.normalize?i.normalize(t,(n=o,function(t){return m(t,n)})):m(t,o):(t=m(t,o),a=w(t),r=a[0],t=a[1],r&&(i=b(r))),{f:r?r+"!"+t:t,n:t,pr:r,p:i}},s={require:function(t){return v(t)},exports:function(t){var e=l[t];return void 0!==e?e:l[t]={}},module:function(t){return{id:t,uri:"",exports:l[t],config:_(t)}}},e=function(e,i,n,a){var r,d,h,p,f,m,w,_=[],k=typeof n;if(m=x(a=a||e),"undefined"===k||"function"===k){for(i=!i.length&&n.length?["require","exports","module"]:i,f=0;f<i.length;f+=1)if(p=o(i[f],m),"require"===(d=p.f))_[f]=s.require(e);else if("exports"===d)_[f]=s.exports(e),w=!0;else if("module"===d)r=_[f]=s.module(e);else if(g(l,d)||g(c,d)||g(u,d))_[f]=b(d);else{if(!p.p)throw new Error(e+" missing "+d);p.p.load(p.n,v(a,!0),y(d),{}),_[f]=l[d]}h=n?n.apply(l[e],_):void 0,e&&(r&&r.exports!==t&&r.exports!==l[e]?l[e]=r.exports:h===t&&w||(l[e]=h))}else e&&(l[e]=n)},i=a=n=function(i,a,r,l,c){if("string"==typeof i)return s[i]?s[i](a):b(o(i,x(a)).f);if(!i.splice){if((d=i).deps&&n(d.deps,d.callback),!a)return;a.splice?(i=a,a=r,r=null):i=t}return a=a||function(){},"function"==typeof r&&(r=l,l=c),l?e(t,i,a,r):setTimeout(function(){e(t,i,a,r)},4),n},n.config=function(t){return n(t)},i._defined=l,(r=function(t,e,i){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(i=e,e=[]),g(l,t)||g(c,t)||(c[t]=[t,e,i])}).amd={jQuery:!0}}(),e.requirejs=i,e.require=a,e.define=r),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||n;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}),e.define("select2/utils",["jquery"],function(t){var e={};function i(t){var e=t.prototype,i=[];for(var n in e){var a=e[n];"function"==typeof a&&"constructor"!==n&&i.push(n)}return i}e.Extend=function(t,e){var i={}.hasOwnProperty;function n(){this.constructor=t}for(var a in e)i.call(e,a)&&(t[a]=e[a]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},e.Decorate=function(t,e){var n=i(e),a=i(t);function r(){var i=Array.prototype.unshift,n=e.prototype.constructor.length,a=t.prototype.constructor;n>0&&(i.call(arguments,t.prototype.constructor),a=e.prototype.constructor),a.apply(this,arguments)}e.displayName=t.displayName,r.prototype=new function(){this.constructor=r};for(var o=0;o<a.length;o++){var s=a[o];r.prototype[s]=t.prototype[s]}for(var l=function(t){var i=function(){};t in r.prototype&&(i=r.prototype[t]);var n=e.prototype[t];return function(){var t=Array.prototype.unshift;return t.call(arguments,i),n.apply(this,arguments)}},c=0;c<n.length;c++){var d=n[c];r.prototype[d]=l(d)}return r};var n=function(){this.listeners={}};n.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},n.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,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(t,e){for(var i=0,n=t.length;i<n;i++)t[i].apply(this,e)},e.Observable=n,e.generateChars=function(t){for(var e="",i=0;i<t;i++){var n=Math.floor(36*Math.random());e+=n.toString(36)}return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var a=0;a<i.length;a++){var r=i[a];(r=r.substring(0,1).toLowerCase()+r.substring(1))in n||(n[r]={}),a==i.length-1&&(n[r]=t[e]),n=n[r]}delete t[e]}}return t},e.hasScroll=function(e,i){var n=t(i),a=i.style.overflowX,r=i.style.overflowY;return(a!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===a||"scroll"===r||n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth)},e.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]})},e.appendMany=function(e,i){if("1.7"===t.fn.jquery.substr(0,3)){var n=t();t.map(i,function(t){n=n.add(t)}),i=n}e.append(i)},e.__cache={};var a=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++a),e=a.toString())),e},e.StoreData=function(t,i,n){var a=e.GetUniqueElementId(t);e.__cache[a]||(e.__cache[a]={}),e.__cache[a][i]=n},e.GetData=function(i,n){var a=e.GetUniqueElementId(i);return n?e.__cache[a]&&null!=e.__cache[a][n]?e.__cache[a][n]:t(i).data(n):e.__cache[a]},e.RemoveData=function(t){var i=e.GetUniqueElementId(t);null!=e.__cache[i]&&delete e.__cache[i]},e}),e.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="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,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="treeitem" aria-live="assertive" class="select2-results__option"></li>'),a=this.options.get("translations").get(e.message);n.append(i(a(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],a=this.option(n);e.push(a)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(t,e){var i=e.find(".select2-results");i.append(t)},i.prototype.sort=function(t){var e=this.options.get("sorter");return e(t)},i.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var i=this;this.data.current(function(n){var a=t.map(n,function(t){return t.id.toString()}),r=i.$results.find(".select2-results__option[aria-selected]");r.each(function(){var i=t(this),n=e.GetData(this,"data"),r=""+n.id;null!=n.element&&n.element.selected||null==n.element&&t.inArray(r,a)>-1?i.attr("aria-selected","true"):i.attr("aria-selected","false")})})},i.prototype.showLoading=function(t){this.hideLoading();var e=this.options.get("translations").get("searching"),i={disabled:!0,loading:!0,text:e(t)},n=this.option(i);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(i){var n=document.createElement("li");n.className="select2-results__option";var a={role:"treeitem","aria-selected":"false"};for(var r in i.disabled&&(delete a["aria-selected"],a["aria-disabled"]="true"),null==i.id&&delete a["aria-selected"],null!=i._resultId&&(n.id=i._resultId),i.title&&(n.title=i.title),i.children&&(a.role="group",a["aria-label"]=i.text,delete a["aria-selected"]),a){var o=a[r];n.setAttribute(r,o)}if(i.children){var s=t(n),l=document.createElement("strong");l.className="select2-results__group",t(l),this.template(i,l);for(var c=[],d=0;d<i.children.length;d++){var u=i.children[d],h=this.option(u);c.push(h)}var p=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(c),s.append(l),s.append(p)}else this.template(i,n);return e.StoreData(n,"data",i),n},i.prototype.bind=function(i,n){var a=this,r=i.id+"-results";this.$results.attr("id",r),i.on("results:all",function(t){a.clear(),a.append(t.data),i.isOpen()&&(a.setClasses(),a.highlightFirstItem())}),i.on("results:append",function(t){a.append(t.data),i.isOpen()&&a.setClasses()}),i.on("query",function(t){a.hideMessages(),a.showLoading(t)}),i.on("select",function(){i.isOpen()&&(a.setClasses(),a.highlightFirstItem())}),i.on("unselect",function(){i.isOpen()&&(a.setClasses(),a.highlightFirstItem())}),i.on("open",function(){a.$results.attr("aria-expanded","true"),a.$results.attr("aria-hidden","false"),a.setClasses(),a.ensureHighlightVisible()}),i.on("close",function(){a.$results.attr("aria-expanded","false"),a.$results.attr("aria-hidden","true"),a.$results.removeAttr("aria-activedescendant")}),i.on("results:toggle",function(){var t=a.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),i.on("results:select",function(){var t=a.getHighlightedResults();if(0!==t.length){var i=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?a.trigger("close",{}):a.trigger("select",{data:i})}}),i.on("results:previous",function(){var t=a.getHighlightedResults(),e=a.$results.find("[aria-selected]"),i=e.index(t);if(!(i<=0)){var n=i-1;0===t.length&&(n=0);var r=e.eq(n);r.trigger("mouseenter");var o=a.$results.offset().top,s=r.offset().top,l=a.$results.scrollTop()+(s-o);0===n?a.$results.scrollTop(0):s-o<0&&a.$results.scrollTop(l)}}),i.on("results:next",function(){var t=a.getHighlightedResults(),e=a.$results.find("[aria-selected]"),i=e.index(t),n=i+1;if(!(n>=e.length)){var r=e.eq(n);r.trigger("mouseenter");var o=a.$results.offset().top+a.$results.outerHeight(!1),s=r.offset().top+r.outerHeight(!1),l=a.$results.scrollTop()+s-o;0===n?a.$results.scrollTop(0):s>o&&a.$results.scrollTop(l)}}),i.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),i.on("results:message",function(t){a.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=a.$results.scrollTop(),i=a.$results.get(0).scrollHeight-e+t.deltaY,n=t.deltaY>0&&e-t.deltaY<=0,r=t.deltaY<0&&i<=a.$results.height();n?(a.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):r&&(a.$results.scrollTop(a.$results.get(0).scrollHeight-a.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(i){var n=t(this),r=e.GetData(this,"data");"true"!==n.attr("aria-selected")?a.trigger("select",{originalEvent:i,data:r}):a.options.get("multiple")?a.trigger("unselect",{originalEvent:i,data:r}):a.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(i){var n=e.GetData(this,"data");a.getHighlightedResults().removeClass("select2-results__option--highlighted"),a.trigger("results:focus",{data:n,element:t(this)})})},i.prototype.getHighlightedResults=function(){var t=this.$results.find(".select2-results__option--highlighted");return t},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]"),i=e.index(t),n=this.$results.offset().top,a=t.offset().top,r=this.$results.scrollTop()+(a-n),o=a-n;r-=2*t.outerHeight(!1),i<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),a=this.options.get("escapeMarkup"),r=n(e,i);null==r?i.style.display="none":"string"==typeof r?i.innerHTML=a(r):t(i).append(r)},i}),e.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}}),e.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),this.$selection=i,i},n.prototype.bind=function(t,e){var n=this,a=(t.id,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",a),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.focus(),window.setTimeout(function(){n.$selection.focus()},0),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),t.on("disable",function(){n.$selection.attr("tabindex","-1")})},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),a=n.closest(".select2"),r=t(".select2.select2-container--open");r.each(function(){if(t(this),this!=a[0]){var i=e.GetData(this,"element");i.select2("close")}})})},n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(t,e){var i=e.find(".selection");i.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}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function a(){a.__super__.constructor.apply(this,arguments)}return i.Extend(a,e),a.prototype.render=function(){var t=a.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},a.prototype.bind=function(t,e){var i=this;a.__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.focus()})},a.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},a.prototype.display=function(t,e){var i=this.options.get("templateSelection"),n=this.options.get("escapeMarkup");return n(i(t,e))},a.prototype.selectionContainer=function(){return t("<span></span>")},a.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),i.attr("title",e.title||e.text)}else this.clear()},a}),e.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.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},n.prototype.bind=function(e,a){var r=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){r.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!r.options.get("disabled")){var n=t(this),a=n.parent(),o=i.GetData(a[0],"data");r.trigger("unselect",{originalEvent:e,data:o})}})},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"),n=this.options.get("escapeMarkup");return n(i(t,e))},n.prototype.selectionContainer=function(){var e=t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>');return e},n.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n<t.length;n++){var a=t[n],r=this.selectionContainer(),o=this.display(a,r);r.append(o),r.attr("title",a.title||a.text),i.StoreData(r[0],"data",a),e.push(r)}var s=this.$selection.find(".select2-selection__rendered");i.appendMany(s,e)}},n}),e.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();return i.html(this.display(e)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},e.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id,n=e.length>1;if(n||i)return t.call(this,e);this.clear();var a=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(a)},e}),e.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.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();var a=i.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var o={data:a};if(this.trigger("clear",o),o.prevented)this.$element.val(r);else{for(var s=0;s<a.length;s++)if(o={data:a[s]},this.trigger("unselect",o),o.prevented)return void this.$element.val(r);this.$element.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__placeholder").length>0||0===n.length)){var a=t('<span class="select2-selection__clear">&times;</span>');i.StoreData(a[0],"data",n),this.$selection.find(".select2-selection__rendered").prepend(a)}},n}),e.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('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=i,this.$search=i.find("input");var n=e.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(t,n,a){var r=this;t.call(this,n,a),n.on("open",function(){r.$search.trigger("focus")}),n.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),n.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),n.on("disable",function(){r.$search.prop("disabled",!0)}),n.on("focus",function(t){r.$search.trigger("focus")}),n.on("results:focus",function(t){r.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){r.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){r._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){t.stopPropagation(),r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented();var n=t.which;if(n===i.BACKSPACE&&""===r.$search.val()){var a=r.$searchContainer.prev(".select2-selection__choice");if(a.length>0){var o=e.GetData(a[0],"data");r.searchRemoveChoice(o),t.preventDefault()}}});var o=document.documentMode,s=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){s?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(s&&"input"===t.type)r.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=i.SHIFT&&e!=i.CTRL&&e!=i.ALT&&e!=i.TAB&&r.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;if(this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i){var n=this.$element.find("[data-select2-tag]").length;n?this.$element.focus():this.$search.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="";if(""!==this.$search.attr("placeholder"))t=this.$selection.find(".select2-selection__rendered").innerWidth();else{var e=this.$search.val().length+1;t=.75*e+"em"}this.$search.css("width",t)},n}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,i,n){var a=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];e.call(this,i,n),i.on("*",function(e,i){if(-1!==t.inArray(e,r)){i=i||{};var n=t.Event("select2:"+e,{params:i});a.$element.trigger(n),-1!==t.inArray(e,o)&&(i.prevented=n.isDefaultPrevented())}})},e}),e.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}),e.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","Ƣ":"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","ƣ":"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","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),e.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),null!=i.id?n+="-"+i.id.toString():n+="-"+t.generateChars(4),n},e}),e.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=[],n=this;this.$element.find(":selected").each(function(){var t=i(this),a=n.item(t);e.push(a)}),t(e)},n.prototype.select=function(t){var e=this;if(t.selected=!0,i(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(n){var a=[];(t=[t]).push.apply(t,n);for(var r=0;r<t.length;r++){var o=t[r].id;-1===i.inArray(o,a)&&a.push(o)}e.$element.val(a),e.$element.trigger("change")});else{var n=t.id;this.$element.val(n),this.$element.trigger("change")}},n.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,i(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("change");this.current(function(n){for(var a=[],r=0;r<n.length;r++){var o=n[r].id;o!==t.id&&-1===i.inArray(o,a)&&a.push(o)}e.$element.val(a),e.$element.trigger("change")})}},n.prototype.bind=function(t,e){var i=this;this.container=t,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=[],a=this,r=this.$element.children();r.each(function(){var e=i(this);if(e.is("option")||e.is("optgroup")){var r=a.item(e),o=a.matches(t,r);null!==o&&n.push(o)}}),e({results:n})},n.prototype.addOptions=function(t){e.appendMany(this.$element,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 a=i(n),r=this._normalizeItem(t);return r.element=n,e.StoreData(n,"data",r),a},n.prototype.item=function(t){var n={};if(null!=(n=e.GetData(t[0],"data")))return n;if(t.is("option"))n={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){n={text:t.prop("label"),children:[],title:t.prop("title")};for(var a=t.children("option"),r=[],o=0;o<a.length;o++){var s=i(a[o]),l=this.item(s);r.push(l)}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){var i=this.options.get("matcher");return i(t,e)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,i){function n(t,e){var i=e.get("data")||[];n.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(i))}return e.Extend(n,t),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){var n=this,a=this.$element.find("option"),r=a.map(function(){return n.item(i(this)).id}).get(),o=[];function s(t){return function(){return i(this).val()==t.id}}for(var l=0;l<t.length;l++){var c=this._normalizeItem(t[l]);if(i.inArray(c.id,r)>=0){var d=a.filter(s(c)),u=this.item(d),h=i.extend(!0,{},c,u),p=this.option(h);d.replaceWith(p)}else{var f=this.option(c);if(c.children){var g=this.convertToOptions(c.children);e.appendMany(f,g)}o.push(f)}}return o},n}),e.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 a=i.ajax(t);return a.then(e),a.fail(n),a}};return i.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(t,e){var n=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var a=i.extend({type:"GET"},this.ajaxOptions);function r(){var r=a.transport(a,function(a){var r=n.processResults(a,t);n.options.get("debug")&&window.console&&console.error&&(r&&r.results&&i.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(r)},function(){"status"in r&&(0===r.status||"0"===r.status)||n.trigger("results:message",{message:"errorLoading"})});n._request=r}"function"==typeof a.url&&(a.url=a.url.call(this.$element,t)),"function"==typeof a.data&&(a.data=a.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},n}),e.define("select2/data/tags",["jquery"],function(t){function e(e,i,n){var a=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var o=n.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,i,n),t.isArray(a))for(var s=0;s<a.length;s++){var l=a[s],c=this._normalizeItem(l),d=this.option(c);this.$element.append(d)}}return e.prototype.query=function(t,e,i){var n=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,function t(a,r){for(var o=a.results,s=0;s<o.length;s++){var l=o[s],c=null!=l.children&&!t({results:l.children},!0),d=(l.text||"").toUpperCase(),u=(e.term||"").toUpperCase(),h=d===u;if(h||c)return!r&&(a.data=o,void i(a))}if(r)return!0;var p=n.createTag(e);if(null!=p){var f=n.option(p);f.attr("data-select2-tag",!0),n.addOptions([f]),n.insertTag(o,p)}a.results=o,i(a)}):t.call(this,e,i)},e.prototype.createTag=function(e,i){var n=t.trim(i.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(t,e,i){e.unshift(i)},e.prototype._removeOldTags=function(e){this._lastTag;var i=this.$element.find("option[data-select2-tag]");i.each(function(){this.selected||t(this).remove()})},e}),e.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 a=this;i.term=i.term||"";var r=this.tokenizer(i,this.options,function(e){var i=a._normalizeItem(e);if(!a.$element.find("option").filter(function(){return t(this).val()===i.id}).length){var n=a.option(i);n.attr("data-select2-tag",!0),a._removeOldTags(),a.addOptions([n])}!function(t){a.trigger("select",{data:t})}(i)});r.term!==i.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),i.term=r.term),e.call(this,i,n)},e.prototype.tokenizer=function(e,i,n,a){for(var r=n.get("tokenSeparators")||[],o=i.term,s=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};s<o.length;){var c=o[s];if(-1!==t.inArray(c,r)){var d=o.substr(0,s),u=t.extend({},i,{term:d}),h=l(u);null!=h?(a(h),o=o.substr(s+1)||"",s=0):s++}else s++}return{term:o}},e}),e.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}),e.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||"",this.maximumInputLength>0&&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}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){var n=this;this.current(function(a){var r=null!=a?a.length:0;n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t.call(n,e,i)})},t}),e.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,e},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function i(){}return i.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" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},i.prototype.bind=function(e,i,n){var a=this;e.call(this,i,n),this.$search.on("keydown",function(t){a.trigger("keypress",t),a._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){a.handleSearch(t)}),i.on("open",function(){a.$search.attr("tabindex",0),a.$search.focus(),window.setTimeout(function(){a.$search.focus()},0)}),i.on("close",function(){a.$search.attr("tabindex",-1),a.$search.val(""),a.$search.blur()}),i.on("focus",function(){i.isOpen()||a.$search.focus()}),i.on("results:all",function(t){if(null==t.query.term||""===t.query.term){var e=a.showSearch(t);e?a.$searchContainer.removeClass("select2-search--hide"):a.$searchContainer.addClass("select2-search--hide")}})},i.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.showSearch=function(t,e){return!0},i}),e.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 a=e[n];this.placeholder.id===a.id&&i.splice(n,1)}return i},t}),e.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)},e.prototype.bind=function(e,i,n){var a=this;e.call(this,i,n),i.on("query",function(t){a.lastParams=t,a.loading=!0}),i.on("query:append",function(t){a.lastParams=t,a.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,a.$loadingMore[0]);if(!a.loading&&e){var i=a.$results.offset().top+a.$results.outerHeight(!1),n=a.$loadingMore.offset().top+a.$loadingMore.outerHeight(!1);i+50>=n&&a.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="treeitem" aria-disabled="true"></li>'),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(e,i,n){this.$dropdownParent=n.get("dropdownParent")||t(document.body),e.call(this,i,n)}return i.prototype.bind=function(t,e,i){var n=this,a=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),a||(a=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),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.removeClass("select2"),e.addClass("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},i.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},i.prototype._attachPositioningHandler=function(i,n){var a=this,r="scroll.select2."+n.id,o="resize.select2."+n.id,s="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(r,function(i){var n=e.GetData(this,"select2-scroll-position");t(this).scrollTop(n.y)}),t(window).on(r+" "+o+" "+s,function(t){a._positionDropdown(),a._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i,n){var a="scroll.select2."+n.id,r="resize.select2."+n.id,o="orientationchange.select2."+n.id,s=this.$container.parents().filter(e.hasScroll);s.off(a),t(window).off(a+" "+r+" "+o)},i.prototype._positionDropdown=function(){var e=t(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),a=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var s={height:this.$dropdown.outerHeight(!1)},l={top:e.scrollTop(),bottom:e.scrollTop()+e.height()},c=l.top<r.top-s.height,d=l.bottom>r.bottom+s.height,u={left:r.left,top:o.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var p=h.offset();u.top-=p.top,u.left-=p.left,i||n||(a="below"),d||!c||i?!c&&d&&i&&(a="below"):a="above",("above"==a||i&&"below"!==a)&&(u.top=o.top-p.top-s.height),null!=a&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+a),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+a)),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}),e.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 t(e){for(var i=0,n=0;n<e.length;n++){var a=e[n];a.children?i+=t(a.children):i++}return i}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),e.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 a=this.getHighlightedResults();if(!(a.length<1)){var r=t.GetData(a[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),e.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||this.trigger("close",{originalEvent:i,originalSelect2Event:e})},t}),e.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){var e=t.minimum-t.input.length,i="Please enter "+e+" or more characters";return i},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…"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./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","./i18n/en"],function(t,e,i,n,a,r,o,s,l,c,d,u,h,p,f,g,m,v,y,b,w,x,_,k,S,M,C,T,D){function L(){this.reset()}L.prototype.apply=function(u){if(null==(u=t.extend(!0,{},this.defaults,u)).dataAdapter){if(null!=u.ajax?u.dataAdapter=f:null!=u.data?u.dataAdapter=p:u.dataAdapter=h,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,b)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null!=u.query){var D=e(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,D)}if(null!=u.initSelection){var L=e(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,L)}}if(null==u.resultsAdapter&&(u.resultsAdapter=i,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,k)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,_)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,C))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=w;else{var E=c.Decorate(w,x);u.dropdownAdapter=E}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,M)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,T)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var A=e(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,A)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,S)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=a:u.selectionAdapter=n,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,o)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var P=e(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,P)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}if("string"==typeof u.language)if(u.language.indexOf("-")>0){var Y=u.language.split("-"),O=Y[0];u.language=[u.language,O]}else u.language=[u.language];if(t.isArray(u.language)){var I=new d;u.language.push("en");for(var H=u.language,R=0;R<H.length;R++){var N=H[R],j={};try{j=d.loadPath(N)}catch(t){try{N=this.defaults.amdLanguageBase+N,j=d.loadPath(N)}catch(t){u.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+N+'" could not be automatically loaded. A fallback will be used instead.');continue}}I.extend(j)}u.translations=I}else{var F=d.loadPath(this.defaults.amdLanguageBase+"en"),z=new d(u.language);z.extend(F),u.translations=z}return u},L.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return u[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:D,matcher:function i(n,a){if(""===t.trim(n.term))return a;if(a.children&&a.children.length>0){for(var r=t.extend(!0,{},a),o=a.children.length-1;o>=0;o--){var s=a.children[o],l=i(n,s);null==l&&r.children.splice(o,1)}return r.children.length>0?r:i(n,r)}var c=e(a.text).toUpperCase(),d=e(n.term).toUpperCase();return c.indexOf(d)>-1?a:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},L.prototype.set=function(e,i){var n=t.camelCase(e),a={};a[n]=i;var r=c._convertData(a);t.extend(!0,this.defaults,r)};var E=new L;return E}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,i,n){function a(e,a){if(this.options=e,null!=a&&this.fromElement(a),this.options=i.apply(this.options),a&&a.is("input")){var r=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,r)}}return a.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),n.GetData(t[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.'),n.StoreData(t[0],"data",n.GetData(t[0],"select2Tags")),n.StoreData(t[0],"tags",!0)),n.GetData(t[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."),t.attr("ajax--url",n.GetData(t[0],"ajaxUrl")),n.StoreData(t[0],"ajax-Url",n.GetData(t[0],"ajaxUrl")));var a={};a=e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset?e.extend(!0,{},t[0].dataset,n.GetData(t[0])):n.GetData(t[0]);var r=e.extend(!0,{},a);for(var o in r=n._convertData(r))e.inArray(o,i)>-1||(e.isPlainObject(this.options[o])?e.extend(this.options[o],r[o]):this.options[o]=r[o]);return this},a.prototype.get=function(t){return this.options[t]},a.prototype.set=function(t,e){this.options[t]=e},a}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,i,n){var a=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),a.__super__.constructor.call(this);var r=t.attr("tabindex")||0;i.StoreData(t[0],"old-tabindex",r),t.attr("tabindex","-1");var o=this.options.get("dataAdapter");this.dataAdapter=new o(t,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var c=this.options.get("dropdownAdapter");this.dropdown=new c(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);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 u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){u.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),i.StoreData(t[0],"select2",this),t.data("select2",this)};return i.Extend(a,i.Observable),a.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,"")},a.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},a.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 a=t.outerWidth(!1);return a<=0?"auto":a+"px"}if("style"==e){var r=t.attr("style");if("string"!=typeof r)return null;for(var o=r.split(";"),s=0,l=o.length;s<l;s+=1){var c=o[s].replace(/\s/g,""),d=c.match(i);if(null!==d&&d.length>=1)return d[1]}return null}return e},a.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)},a.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(i){t.each(i,e._syncA),t.each(i,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},a.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,i){t.trigger(e,i)})},a.prototype._registerSelectionEvents=function(){var e=this,i=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(n,a){-1===t.inArray(n,i)&&e.trigger(n,a)})},a.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,i){t.trigger(e,i)})},a.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,i){t.trigger(e,i)})},a.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("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.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())})},a.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},a.prototype._syncSubtree=function(t,e){var i=!1,n=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&e.addedNodes.length>0)for(var a=0;a<e.addedNodes.length;a++){var r=e.addedNodes[a];r.selected&&(i=!0)}else e.removedNodes&&e.removedNodes.length>0&&(i=!0);else i=!0;i&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})}},a.prototype.trigger=function(t,e){var i=a.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in n){var r=n[t],o={prevented:!1,name:t,args:e};if(i.call(this,r,o),o.prevented)return void(e.prevented=!0)}i.call(this,t,e)},a.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},a.prototype.open=function(){this.isOpen()||this.trigger("query",{})},a.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},a.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},a.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},a.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},a.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)},a.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&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},a.prototype.val=function(e){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==e||0===e.length)return this.$element.val();var i=e[0];t.isArray(i)&&(i=t.map(i,function(t){return t.toString()})),this.$element.val(i).trigger("change")},a.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("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},a.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.addClass("select2-container--"+this.options.get("theme")),i.StoreData(e[0],"element",this.$element),e},a}),e.define("jquery-mousewheel",["jquery"],function(t){return t}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(t,e,i,n,a){if(null==t.fn.select2){var r=["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){var n,o=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=a.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,o)}),t.inArray(e,r)>-1?this:n}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=n),i}),{define:e.define,require:e.require}}(),i=e.require("jquery.select2");return t.fn.select2.amd=e,i})?a.apply(e,r):a)||(t.exports=o)}).call(this,i(0))},function(t,e,i){(function(t){!function(t){"use strict";function e(e,i){this.$select=t(e),this.$select.attr("data-placeholder")&&(i.nonSelectedText=this.$select.data("placeholder")),this.options=this.mergeOptions(t.extend({},i,this.$select.data())),this.originalOptions=this.$select.clone()[0].options,this.query="",this.searchTimeout=null,this.lastToggledInput=null,this.options.multiple="multiple"===this.$select.attr("multiple"),this.options.onChange=t.proxy(this.options.onChange,this),this.options.onDropdownShow=t.proxy(this.options.onDropdownShow,this),this.options.onDropdownHide=t.proxy(this.options.onDropdownHide,this),this.options.onDropdownShown=t.proxy(this.options.onDropdownShown,this),this.options.onDropdownHidden=t.proxy(this.options.onDropdownHidden,this),this.buildContainer(),this.buildButton(),this.buildDropdown(),this.buildSelectAll(),this.buildDropdownOptions(),this.buildFilter(),this.updateButtonText(),this.updateSelectAll(),this.options.disableIfEmpty&&t("option",this.$select).length<=0&&this.disable(),this.$select.hide().after(this.$container)}"undefined"!=typeof ko&&ko.bindingHandlers&&!ko.bindingHandlers.multiselect&&(ko.bindingHandlers.multiselect={after:["options","value","selectedOptions"],init:function(e,i,n,a,r){var o=t(e),s=ko.toJS(i());if(o.multiselect(s),n.has("options")){var l=n.get("options");ko.isObservable(l)&&ko.computed({read:function(){l(),setTimeout(function(){var t=o.data("multiselect");t&&t.updateOriginalOptions(),o.multiselect("rebuild")},1)},disposeWhenNodeIsRemoved:e})}if(n.has("value")){var c=n.get("value");ko.isObservable(c)&&ko.computed({read:function(){c(),setTimeout(function(){o.multiselect("refresh")},1)},disposeWhenNodeIsRemoved:e}).extend({rateLimit:100,notifyWhenChangesStop:!0})}if(n.has("selectedOptions")){var d=n.get("selectedOptions");ko.isObservable(d)&&ko.computed({read:function(){d(),setTimeout(function(){o.multiselect("refresh")},1)},disposeWhenNodeIsRemoved:e}).extend({rateLimit:100,notifyWhenChangesStop:!0})}ko.utils.domNodeDisposal.addDisposeCallback(e,function(){o.multiselect("destroy")})},update:function(e,i,n,a,r){var o=t(e),s=ko.toJS(i());o.multiselect("setOptions",s),o.multiselect("rebuild")}}),e.prototype={defaults:{buttonText:function(e,i){if(0===e.length)return this.nonSelectedText;if(this.allSelectedText&&e.length===t("option",t(i)).length&&1!==t("option",t(i)).length&&this.multiple)return this.selectAllNumber?this.allSelectedText+" ("+e.length+")":this.allSelectedText;if(e.length>this.numberDisplayed)return e.length+" "+this.nSelectedText;var n="",a=this.delimiterText;return e.each(function(){var e=void 0!==t(this).attr("label")?t(this).attr("label"):t(this).text();n+=e+a}),n.substr(0,n.length-2)},buttonTitle:function(e,i){if(0===e.length)return this.nonSelectedText;var n="",a=this.delimiterText;return e.each(function(){var e=void 0!==t(this).attr("label")?t(this).attr("label"):t(this).text();n+=e+a}),n.substr(0,n.length-2)},optionLabel:function(e){return t(e).attr("label")||t(e).text()},onChange:function(t,e){},onDropdownShow:function(t){},onDropdownHide:function(t){},onDropdownShown:function(t){},onDropdownHidden:function(t){},onSelectAll:function(){},enableHTML:!1,buttonClass:"btn btn-default",inheritClass:!1,buttonWidth:"auto",buttonContainer:'<div class="btn-group" />',dropRight:!1,selectedClass:"active",maxHeight:!1,checkboxName:!1,includeSelectAllOption:!1,includeSelectAllIfMoreThan:0,selectAllText:" Select all",selectAllValue:"multiselect-all",selectAllName:!1,selectAllNumber:!0,enableFiltering:!1,enableCaseInsensitiveFiltering:!1,enableClickableOptGroups:!1,filterPlaceholder:"Search",filterBehavior:"text",includeFilterClearBtn:!0,preventInputChangeEvent:!1,nonSelectedText:"None selected",nSelectedText:"selected",allSelectedText:"All selected",numberDisplayed:3,disableIfEmpty:!1,delimiterText:", ",templates:{button:'<button type="button" class="multiselect dropdown-toggle" data-toggle="dropdown"><span class="multiselect-selected-text"></span> <b class="caret"></b></button>',ul:'<ul class="multiselect-container dropdown-menu"></ul>',filter:'<li class="multiselect-item filter"><div class="input-group"><span class="input-group-addon"><i class="glyphicon glyphicon-search"></i></span><input class="form-control multiselect-search" type="text"></div></li>',filterClearBtn:'<span class="input-group-btn"><button class="btn btn-default multiselect-clear-filter" type="button"><i class="glyphicon glyphicon-remove-circle"></i></button></span>',li:'<li><a tabindex="0"><label></label></a></li>',divider:'<li class="multiselect-item divider"></li>',liGroup:'<li class="multiselect-item multiselect-group"><label></label></li>'}},constructor:e,buildContainer:function(){this.$container=t(this.options.buttonContainer),this.$container.on("show.bs.dropdown",this.options.onDropdownShow),this.$container.on("hide.bs.dropdown",this.options.onDropdownHide),this.$container.on("shown.bs.dropdown",this.options.onDropdownShown),this.$container.on("hidden.bs.dropdown",this.options.onDropdownHidden)},buildButton:function(){this.$button=t(this.options.templates.button).addClass(this.options.buttonClass),this.$select.attr("class")&&this.options.inheritClass&&this.$button.addClass(this.$select.attr("class")),this.$select.prop("disabled")?this.disable():this.enable(),this.options.buttonWidth&&"auto"!==this.options.buttonWidth&&(this.$button.css({width:this.options.buttonWidth,overflow:"hidden","text-overflow":"ellipsis"}),this.$container.css({width:this.options.buttonWidth}));var e=this.$select.attr("tabindex");e&&this.$button.attr("tabindex",e),this.$container.prepend(this.$button)},buildDropdown:function(){this.$ul=t(this.options.templates.ul),this.options.dropRight&&this.$ul.addClass("pull-right"),this.options.maxHeight&&this.$ul.css({"max-height":this.options.maxHeight+"px","overflow-y":"auto","overflow-x":"hidden"}),this.$container.append(this.$ul)},buildDropdownOptions:function(){this.$select.children().each(t.proxy(function(e,i){var n=t(i),a=n.prop("tagName").toLowerCase();n.prop("value")!==this.options.selectAllValue&&("optgroup"===a?this.createOptgroup(i):"option"===a&&("divider"===n.data("role")?this.createDivider():this.createOptionValue(i)))},this)),t("li input",this.$ul).on("change",t.proxy(function(e){var i=t(e.target),n=i.prop("checked")||!1,a=i.val()===this.options.selectAllValue;this.options.selectedClass&&(n?i.closest("li").addClass(this.options.selectedClass):i.closest("li").removeClass(this.options.selectedClass));var r=i.val(),o=this.getOptionByValue(r),s=t("option",this.$select).not(o),l=t("input",this.$container).not(i);if(a&&(n?this.selectAll():this.deselectAll()),a||(n?(o.prop("selected",!0),this.options.multiple?o.prop("selected",!0):(this.options.selectedClass&&t(l).closest("li").removeClass(this.options.selectedClass),t(l).prop("checked",!1),s.prop("selected",!1),this.$button.click()),"active"===this.options.selectedClass&&s.closest("a").css("outline","")):o.prop("selected",!1)),this.$select.change(),this.updateButtonText(),this.updateSelectAll(),this.options.onChange(o,n),this.options.preventInputChangeEvent)return!1},this)),t("li a",this.$ul).on("mousedown",function(t){if(t.shiftKey)return!1}),t("li a",this.$ul).on("touchstart click",t.proxy(function(e){e.stopPropagation();var i=t(e.target);if(e.shiftKey&&this.options.multiple){i.is("label")&&(e.preventDefault(),(i=i.find("input")).prop("checked",!i.prop("checked")));var n=i.prop("checked")||!1;if(null!==this.lastToggledInput&&this.lastToggledInput!==i){var a=i.closest("li").index(),r=this.lastToggledInput.closest("li").index();if(a>r){var o=r;r=a,a=o}++r;var s=this.$ul.find("li").slice(a,r).find("input");s.prop("checked",n),this.options.selectedClass&&s.closest("li").toggleClass(this.options.selectedClass,n);for(var l=0,c=s.length;l<c;l++){var d=t(s[l]);this.getOptionByValue(d.val()).prop("selected",n)}}i.trigger("change")}i.is("input")&&!i.closest("li").is(".multiselect-item")&&(this.lastToggledInput=i),i.blur()},this)),this.$container.off("keydown.multiselect").on("keydown.multiselect",t.proxy(function(e){if(!t('input[type="text"]',this.$container).is(":focus"))if(9===e.keyCode&&this.$container.hasClass("open"))this.$button.click();else{var i=t(this.$container).find("li:not(.divider):not(.disabled) a").filter(":visible");if(!i.length)return;var n=i.index(i.filter(":focus"));38===e.keyCode&&n>0?n--:40===e.keyCode&&n<i.length-1?n++:~n||(n=0);var a=i.eq(n);if(a.focus(),32===e.keyCode||13===e.keyCode){var r=a.find("input");r.prop("checked",!r.prop("checked")),r.change()}e.stopPropagation(),e.preventDefault()}},this)),this.options.enableClickableOptGroups&&this.options.multiple&&t("li.multiselect-group",this.$ul).on("click",t.proxy(function(e){e.stopPropagation();var i=t(e.target).parent().nextUntil("li.multiselect-group").filter(":visible:not(.disabled)"),n=!0,a=i.find("input");a.each(function(){n=n&&t(this).prop("checked")}),a.prop("checked",!n).trigger("change")},this))},createOptionValue:function(e){var i=t(e);i.is(":selected")&&i.prop("selected",!0);var n=this.options.optionLabel(e),a=i.val(),r=this.options.multiple?"checkbox":"radio",o=t(this.options.templates.li),s=t("label",o);s.addClass(r),this.options.enableHTML?s.html(" "+n):s.text(" "+n);var l=t("<input/>").attr("type",r);this.options.checkboxName&&l.attr("name",this.options.checkboxName),s.prepend(l);var c=i.prop("selected")||!1;l.val(a),a===this.options.selectAllValue&&(o.addClass("multiselect-item multiselect-all"),l.parent().parent().addClass("multiselect-all")),s.attr("title",i.attr("title")),this.$ul.append(o),i.is(":disabled")&&l.attr("disabled","disabled").prop("disabled",!0).closest("a").attr("tabindex","-1").closest("li").addClass("disabled"),l.prop("checked",c),c&&this.options.selectedClass&&l.closest("li").addClass(this.options.selectedClass)},createDivider:function(e){var i=t(this.options.templates.divider);this.$ul.append(i)},createOptgroup:function(e){var i=t(e).prop("label"),n=t(this.options.templates.liGroup);this.options.enableHTML?t("label",n).html(i):t("label",n).text(i),this.options.enableClickableOptGroups&&n.addClass("multiselect-group-clickable"),this.$ul.append(n),t(e).is(":disabled")&&n.addClass("disabled"),t("option",e).each(t.proxy(function(t,e){this.createOptionValue(e)},this))},buildSelectAll:function(){if("number"==typeof this.options.selectAllValue&&(this.options.selectAllValue=this.options.selectAllValue.toString()),!this.hasSelectAll()&&this.options.includeSelectAllOption&&this.options.multiple&&t("option",this.$select).length>this.options.includeSelectAllIfMoreThan){this.options.includeSelectAllDivider&&this.$ul.prepend(t(this.options.templates.divider));var e=t(this.options.templates.li);t("label",e).addClass("checkbox"),this.options.enableHTML?t("label",e).html(" "+this.options.selectAllText):t("label",e).text(" "+this.options.selectAllText),this.options.selectAllName?t("label",e).prepend('<input type="checkbox" name="'+this.options.selectAllName+'" />'):t("label",e).prepend('<input type="checkbox" />');var i=t("input",e);i.val(this.options.selectAllValue),e.addClass("multiselect-item multiselect-all"),i.parent().parent().addClass("multiselect-all"),this.$ul.prepend(e),i.prop("checked",!1)}},buildFilter:function(){if(this.options.enableFiltering||this.options.enableCaseInsensitiveFiltering){var e=Math.max(this.options.enableFiltering,this.options.enableCaseInsensitiveFiltering);if(this.$select.find("option").length>=e){if(this.$filter=t(this.options.templates.filter),t("input",this.$filter).attr("placeholder",this.options.filterPlaceholder),this.options.includeFilterClearBtn){var i=t(this.options.templates.filterClearBtn);i.on("click",t.proxy(function(e){clearTimeout(this.searchTimeout),this.$filter.find(".multiselect-search").val(""),t("li",this.$ul).show().removeClass("filter-hidden"),this.updateSelectAll()},this)),this.$filter.find(".input-group").append(i)}this.$ul.prepend(this.$filter),this.$filter.val(this.query).on("click",function(t){t.stopPropagation()}).on("input keydown",t.proxy(function(e){13===e.which&&e.preventDefault(),clearTimeout(this.searchTimeout),this.searchTimeout=this.asyncFunction(t.proxy(function(){var i,n;this.query!==e.target.value&&(this.query=e.target.value,t.each(t("li",this.$ul),t.proxy(function(e,a){var r=t("input",a).length>0?t("input",a).val():"",o=t("label",a).text(),s="";if("text"===this.options.filterBehavior?s=o:"value"===this.options.filterBehavior?s=r:"both"===this.options.filterBehavior&&(s=o+"\n"+r),r!==this.options.selectAllValue&&o){var l=!1;this.options.enableCaseInsensitiveFiltering&&s.toLowerCase().indexOf(this.query.toLowerCase())>-1?l=!0:s.indexOf(this.query)>-1&&(l=!0),t(a).toggle(l).toggleClass("filter-hidden",!l),t(a).hasClass("multiselect-group")?(i=a,n=l):(l&&t(i).show().removeClass("filter-hidden"),!l&&n&&t(a).show().removeClass("filter-hidden"))}},this)));this.updateSelectAll()},this),300,this)},this))}}},destroy:function(){this.$container.remove(),this.$select.show(),this.$select.data("multiselect",null)},refresh:function(){t("option",this.$select).each(t.proxy(function(e,i){var n=t("li input",this.$ul).filter(function(){return t(this).val()===t(i).val()});t(i).is(":selected")?(n.prop("checked",!0),this.options.selectedClass&&n.closest("li").addClass(this.options.selectedClass)):(n.prop("checked",!1),this.options.selectedClass&&n.closest("li").removeClass(this.options.selectedClass)),t(i).is(":disabled")?n.attr("disabled","disabled").prop("disabled",!0).closest("li").addClass("disabled"):n.prop("disabled",!1).closest("li").removeClass("disabled")},this)),this.updateButtonText(),this.updateSelectAll()},select:function(e,i){t.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var a=e[n];if(null!=a){var r=this.getOptionByValue(a),o=this.getInputByValue(a);void 0!==r&&void 0!==o&&(this.options.multiple||this.deselectAll(!1),this.options.selectedClass&&o.closest("li").addClass(this.options.selectedClass),o.prop("checked",!0),r.prop("selected",!0),i&&this.options.onChange(r,!0))}}this.updateButtonText(),this.updateSelectAll()},clearSelection:function(){this.deselectAll(!1),this.updateButtonText(),this.updateSelectAll()},deselect:function(e,i){t.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var a=e[n];if(null!=a){var r=this.getOptionByValue(a),o=this.getInputByValue(a);void 0!==r&&void 0!==o&&(this.options.selectedClass&&o.closest("li").removeClass(this.options.selectedClass),o.prop("checked",!1),r.prop("selected",!1),i&&this.options.onChange(r,!1))}}this.updateButtonText(),this.updateSelectAll()},selectAll:function(e,i){e=void 0===e||e;var n=t("li input[type='checkbox']:enabled",this.$ul),a=n.filter(":visible"),r=n.length,o=a.length;if(e?(a.prop("checked",!0),t("li:not(.divider):not(.disabled)",this.$ul).filter(":visible").addClass(this.options.selectedClass)):(n.prop("checked",!0),t("li:not(.divider):not(.disabled)",this.$ul).addClass(this.options.selectedClass)),r===o||!1===e)t("option:enabled",this.$select).prop("selected",!0);else{var s=a.map(function(){return t(this).val()}).get();t("option:enabled",this.$select).filter(function(e){return-1!==t.inArray(t(this).val(),s)}).prop("selected",!0)}i&&this.options.onSelectAll()},deselectAll:function(e){if(e=void 0===e||e){var i=t("li input[type='checkbox']:not(:disabled)",this.$ul).filter(":visible");i.prop("checked",!1);var n=i.map(function(){return t(this).val()}).get();t("option:enabled",this.$select).filter(function(e){return-1!==t.inArray(t(this).val(),n)}).prop("selected",!1),this.options.selectedClass&&t("li:not(.divider):not(.disabled)",this.$ul).filter(":visible").removeClass(this.options.selectedClass)}else t("li input[type='checkbox']:enabled",this.$ul).prop("checked",!1),t("option:enabled",this.$select).prop("selected",!1),this.options.selectedClass&&t("li:not(.divider):not(.disabled)",this.$ul).removeClass(this.options.selectedClass)},rebuild:function(){this.$ul.html(""),this.options.multiple="multiple"===this.$select.attr("multiple"),this.buildSelectAll(),this.buildDropdownOptions(),this.buildFilter(),this.updateButtonText(),this.updateSelectAll(),this.options.disableIfEmpty&&t("option",this.$select).length<=0?this.disable():this.enable(),this.options.dropRight&&this.$ul.addClass("pull-right")},dataprovider:function(e){var i=0,n=this.$select.empty();t.each(e,function(e,a){var r;t.isArray(a.children)?(i++,r=t("<optgroup/>").attr({label:a.label||"Group "+i,disabled:!!a.disabled}),function(t,e){for(var i=0;i<t.length;++i)e(t[i],i)}(a.children,function(e){r.append(t("<option/>").attr({value:e.value,label:e.label||e.value,title:e.title,selected:!!e.selected,disabled:!!e.disabled}))})):r=t("<option/>").attr({value:a.value,label:a.label||a.value,title:a.title,selected:!!a.selected,disabled:!!a.disabled}),n.append(r)}),this.rebuild()},enable:function(){this.$select.prop("disabled",!1),this.$button.prop("disabled",!1).removeClass("disabled")},disable:function(){this.$select.prop("disabled",!0),this.$button.prop("disabled",!0).addClass("disabled")},setOptions:function(t){this.options=this.mergeOptions(t)},mergeOptions:function(e){return t.extend(!0,{},this.defaults,this.options,e)},hasSelectAll:function(){return t("li.multiselect-all",this.$ul).length>0},updateSelectAll:function(){if(this.hasSelectAll()){var e=t("li:not(.multiselect-item):not(.filter-hidden) input:enabled",this.$ul),i=e.length,n=e.filter(":checked").length,a=t("li.multiselect-all",this.$ul),r=a.find("input");n>0&&n===i?(r.prop("checked",!0),a.addClass(this.options.selectedClass),this.options.onSelectAll()):(r.prop("checked",!1),a.removeClass(this.options.selectedClass))}},updateButtonText:function(){var e=this.getSelected();this.options.enableHTML?t(".multiselect .multiselect-selected-text",this.$container).html(this.options.buttonText(e,this.$select)):t(".multiselect .multiselect-selected-text",this.$container).text(this.options.buttonText(e,this.$select)),t(".multiselect",this.$container).attr("title",this.options.buttonTitle(e,this.$select))},getSelected:function(){return t("option",this.$select).filter(":selected")},getOptionByValue:function(e){for(var i=t("option",this.$select),n=e.toString(),a=0;a<i.length;a+=1){var r=i[a];if(r.value===n)return t(r)}},getInputByValue:function(e){for(var i=t("li input",this.$ul),n=e.toString(),a=0;a<i.length;a+=1){var r=i[a];if(r.value===n)return t(r)}},updateOriginalOptions:function(){this.originalOptions=this.$select.clone()[0].options},asyncFunction:function(t,e,i){var n=Array.prototype.slice.call(arguments,3);return setTimeout(function(){t.apply(i||window,n)},e)},setAllSelectedText:function(t){this.options.allSelectedText=t,this.updateButtonText()}},t.fn.multiselect=function(i,n,a){return this.each(function(){var r=t(this).data("multiselect");r||(r=new e(this,"object"==typeof i&&i),t(this).data("multiselect",r)),"string"==typeof i&&(r[i](n,a),"destroy"===i&&t(this).data("multiselect",!1))})},t.fn.multiselect.Constructor=e,t(function(){t("select[data-role=multiselect]").multiselect()})}(t)}).call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){var e=i(8),n=i.n(e),a=i(20),r=i.n(a);t(document).ready(function(){var t=document.getElementById("rangeslider-1"),e=document.getElementById("rangeslider-2"),i=document.getElementById("rangeslider-3"),a=document.getElementById("rangeslider-4"),o=document.getElementById("rangeslider-11"),s=document.getElementById("rangeslider-21"),l=document.getElementById("rangeslider-31"),c=document.getElementById("rangeslider-41"),d=document.getElementById("pips-steps");t&&n.a.create(t,{start:[20,80],connect:!0,range:{min:0,max:100}}),e&&n.a.create(e,{start:[20,40,60],connect:[!0,!1,!0,!0],range:{min:0,max:80}}),i&&n.a.create(i,{start:[20,80],step:10,range:{min:0,max:100}}),a&&n.a.create(a,{start:[20,80,120],tooltips:[!1,r()({decimals:1}),!0],range:{min:0,max:200}}),o&&n.a.create(o,{start:[20,80],connect:!0,range:{min:0,max:100}}),s&&n.a.create(s,{start:[20,40,60],connect:[!0,!1,!0,!0],range:{min:0,max:80}}),l&&n.a.create(l,{start:[20,80],step:10,connect:!0,range:{min:0,max:100}}),c&&n.a.create(c,{start:[20,80,120],connect:!0,tooltips:[!1,r()({decimals:1}),!0],range:{min:0,max:200}}),d&&n.a.create(d,{range:{min:[0],"10%":[500,500],"50%":[4e3,1e3],max:[1e4]},start:0,pips:{mode:"range",density:3}})})}.call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(211);t(document).ready(function(){t("textarea.autosize-input").textareaAutoSize()})}.call(this,i(0))},function(t,e,i){(function(t){!function(t,e,i,n){function a(e,i){this.element=e,this.$element=t(e),this.init()}a.prototype={init:function(){this.$element.outerHeight();var i=parseInt(this.$element.css("paddingBottom"))+parseInt(this.$element.css("paddingTop"))||0;this.element.value.replace(/\s/g,"").length>0&&this.$element.height(this.element.scrollHeight-i),this.$element.on("input keyup",function(n){var a=t(e),r=a.scrollTop();t(this).height(0).height(this.scrollHeight-i),a.scrollTop(r)})}},t.fn.textareaAutoSize=function(e){return this.each(function(){t.data(this,"plugin_textareaAutoSize")||t.data(this,"plugin_textareaAutoSize",new a(this,e))}),this}}(t,window,document)}).call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(213);t(document).ready(function(){})}.call(this,i(0))},function(t,e,i){(function(t){!function(t){"use strict";var e=function(e,i){this.$element=t(e),this.options=t.extend({},this.defaults(),i),this.render()};e.VERSION="3.4.0-beta",e.DEFAULTS={on:"On",off:"Off",onstyle:"primary",offstyle:"light",size:"normal",style:"",width:null,height:null},e.prototype.defaults=function(){return{on:this.$element.attr("data-on")||e.DEFAULTS.on,off:this.$element.attr("data-off")||e.DEFAULTS.off,onstyle:this.$element.attr("data-onstyle")||e.DEFAULTS.onstyle,offstyle:this.$element.attr("data-offstyle")||e.DEFAULTS.offstyle,size:this.$element.attr("data-size")||e.DEFAULTS.size,style:this.$element.attr("data-style")||e.DEFAULTS.style,width:this.$element.attr("data-width")||e.DEFAULTS.width,height:this.$element.attr("data-height")||e.DEFAULTS.height}},e.prototype.render=function(){this._onstyle="btn-"+this.options.onstyle,this._offstyle="btn-"+this.options.offstyle;var e="large"===this.options.size||"lg"===this.options.size?"btn-lg":"small"===this.options.size||"sm"===this.options.size?"btn-sm":"mini"===this.options.size||"xs"===this.options.size?"btn-xs":"",i=t('<label class="btn">').html(this.options.on).addClass(this._onstyle+" "+e),n=t('<label class="btn">').html(this.options.off).addClass(this._offstyle+" "+e),a=t('<span class="toggle-handle btn btn-light">').addClass(e),r=t('<div class="toggle-group">').append(i,n,a),o=t('<div class="toggle btn" data-toggle="toggle">').addClass(this.$element.prop("checked")?this._onstyle:this._offstyle+" off").addClass(e).addClass(this.options.style);this.$element.wrap(o),t.extend(this,{$toggle:this.$element.parent(),$toggleOn:i,$toggleOff:n,$toggleGroup:r}),this.$toggle.append(r);var s=this.options.width||Math.max(i.outerWidth(),n.outerWidth())+a.outerWidth()/2,l=this.options.height||Math.max(i.outerHeight(),n.outerHeight());i.addClass("toggle-on"),n.addClass("toggle-off"),this.$toggle.css({width:s,height:l}),this.options.height&&(i.css("line-height",i.height()+"px"),n.css("line-height",n.height()+"px")),this.update(!0),this.trigger(!0)},e.prototype.toggle=function(){this.$element.prop("checked")?this.off():this.on()},e.prototype.on=function(t){if(this.$element.prop("disabled"))return!1;this.$toggle.removeClass(this._offstyle+" off").addClass(this._onstyle),this.$element.prop("checked",!0),t||this.trigger()},e.prototype.off=function(t){if(this.$element.prop("disabled"))return!1;this.$toggle.removeClass(this._onstyle).addClass(this._offstyle+" off"),this.$element.prop("checked",!1),t||this.trigger()},e.prototype.enable=function(){this.$toggle.removeAttr("disabled"),this.$element.prop("disabled",!1)},e.prototype.disable=function(){this.$toggle.attr("disabled","disabled"),this.$element.prop("disabled",!0)},e.prototype.update=function(t){this.$element.prop("disabled")?this.disable():this.enable(),this.$element.prop("checked")?this.on(t):this.off(t)},e.prototype.trigger=function(e){this.$element.off("change.bs.toggle"),e||this.$element.change(),this.$element.on("change.bs.toggle",t.proxy(function(){this.update()},this))},e.prototype.destroy=function(){this.$element.off("change.bs.toggle"),this.$toggleGroup.remove(),this.$element.removeData("bs.toggle"),this.$element.unwrap()};var i=t.fn.bootstrapToggle;t.fn.bootstrapToggle=function(i){return this.each(function(){var n=t(this),a=n.data("bs.toggle"),r="object"==typeof i&&i;a||n.data("bs.toggle",a=new e(this,r)),"string"==typeof i&&a[i]&&a[i]()})},t.fn.bootstrapToggle.Constructor=e,t.fn.toggle.noConflict=function(){return t.fn.bootstrapToggle=i,this},t(function(){t("input[type=checkbox][data-toggle^=toggle]").bootstrapToggle()}),t(document).on("touch.bs.toggle click.bs.toggle","div[data-toggle^=toggle]",function(e){t(this).find("input[type=checkbox]").bootstrapToggle("toggle"),e.preventDefault()})}(t)}).call(this,i(0))},function(t,e,i){"use strict";i.r(e);var n=i(6),a=i.n(n),r=(i(256),function(){return Math.round(100*Math.random())}),o=a.a.helpers.color,s=(o(window.chartColors.red).alpha(.5).rgbString(),window.chartColors.red,r(),r(),r(),r(),r(),r(),r(),o(window.chartColors.blue).alpha(.5).rgbString(),window.chartColors.blue,r(),r(),r(),r(),r(),r(),r()),l={type:"pie",data:{datasets:[{data:[r(),r(),r(),r(),r()],backgroundColor:[window.chartColors.red,window.chartColors.orange,window.chartColors.yellow,window.chartColors.green,window.chartColors.blue],label:"Dataset 1"}],labels:["Red","Orange","Yellow","Green","Blue"]},options:{responsive:!0}},c=(s={labels:["January","February","March","April","May","June","July"],datasets:[{label:"Dataset 1",backgroundColor:window.chartColors.red,data:[r(),r(),r(),r(),r(),r(),r()]},{label:"Dataset 2",backgroundColor:window.chartColors.blue,data:[r(),r(),r(),r(),r(),r(),r()]},{label:"Dataset 3",backgroundColor:window.chartColors.green,data:[r(),r(),r(),r(),r(),r(),r()]}]},{type:"radar",data:{labels:[["Eating","Dinner"],["Drinking","Water"],"Sleeping",["Designing","Graphics"],"Coding","Cycling","Running"],datasets:[{label:"My First dataset",backgroundColor:o(window.chartColors.red).alpha(.2).rgbString(),borderColor:window.chartColors.red,pointBackgroundColor:window.chartColors.red,data:[r(),r(),r(),r(),r(),r(),r()]},{label:"My Second dataset",backgroundColor:o(window.chartColors.blue).alpha(.2).rgbString(),borderColor:window.chartColors.blue,pointBackgroundColor:window.chartColors.blue,data:[r(),r(),r(),r(),r(),r(),r()]}]},options:{legend:{position:"top"},title:{display:!1,text:"Chart.js Radar Chart"},scale:{ticks:{beginAtZero:!0}}}}),d={type:"doughnut",data:{datasets:[{data:[r(),r(),r(),r(),r()],backgroundColor:[window.chartColors.red,window.chartColors.orange,window.chartColors.yellow,window.chartColors.green,window.chartColors.blue],label:"Dataset 1"}],labels:["Red","Orange","Yellow","Green","Blue"]},options:{responsive:!0,legend:{position:"top"},title:{display:!1,text:"Chart.js Doughnut Chart"},animation:{animateScale:!0,animateRotate:!0}}},u={type:"doughnut",data:{datasets:[{data:[r(),r(),r(),r(),r()],backgroundColor:[window.chartColors.red,window.chartColors.orange,window.chartColors.yellow,window.chartColors.green,window.chartColors.blue],label:"Dataset 1"}],labels:["Red","Orange","Yellow","Green","Blue"]},options:{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},title:{display:!1,text:"Chart.js Doughnut Chart"},animation:{animateScale:!0,animateRotate:!0}}},h={data:{datasets:[{data:[r(),r(),r(),r(),r()],backgroundColor:[o(chartColors.red).alpha(.5).rgbString(),o(chartColors.orange).alpha(.5).rgbString(),o(chartColors.yellow).alpha(.5).rgbString(),o(chartColors.green).alpha(.5).rgbString(),o(chartColors.blue).alpha(.5).rgbString()],label:"My dataset"}],labels:["Red","Orange","Yellow","Green","Blue"]},options:{responsive:!0,legend:{position:"right"},title:{display:!1,text:"Chart.js Polar Area Chart"},scale:{ticks:{beginAtZero:!0},reverse:!1},animation:{animateRotate:!1,animateScale:!0}}},p={type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:window.chartColors.red,borderColor:window.chartColors.red,data:[r(),r(),r(),r(),r(),r(),r()],fill:!1},{label:"My Second dataset",fill:!1,backgroundColor:window.chartColors.blue,borderColor:window.chartColors.blue,data:[r(),r(),r(),r(),r(),r(),r()]}]},options:{responsive:!0,maintainAspectRatio:!1,title:{display:!1,text:"Chart.js Line Chart"},legend:{display:!1},layout:{padding:{left:10,right:10,top:10,bottom:0}},tooltips:{mode:"index",intersect:!1},hover:{mode:"nearest",intersect:!0},pointBackgroundColor:"#fff",pointBorderColor:window.chartColors.blue,pointBorderWidth:"2",scales:{xAxes:[{display:!1,scaleLabel:{display:!0,labelString:"Month"}}],yAxes:[{display:!1,scaleLabel:{display:!0,labelString:"Value"}}]}}},f={labels:["January","February","March","April","May","June","July"],datasets:[{label:"Dataset 1",backgroundColor:o(window.chartColors.red).alpha(.5).rgbString(),borderColor:window.chartColors.red,borderWidth:1,data:[r(),r(),r(),r(),r(),r(),r()]},{label:"Dataset 2",backgroundColor:o(window.chartColors.blue).alpha(.5).rgbString(),borderColor:window.chartColors.blue,data:[r(),r(),r(),r(),r(),r(),r()]}]};window.onload=function(){if(document.getElementById("canvas")){var t=document.getElementById("canvas").getContext("2d");window.myBar=new a.a(t,{type:"bar",data:s,options:{responsive:!0,legend:{position:"top"},title:{display:!1,text:"Chart.js Bar Chart"}}})}if(document.getElementById("chart-area")){var e=document.getElementById("chart-area").getContext("2d");window.myPie=new a.a(e,l)}if(document.getElementById("doughnut-chart")){var i=document.getElementById("doughnut-chart").getContext("2d");window.myDoughnut=new a.a(i,d)}if(document.getElementById("doughnut-chart-2")){var n=document.getElementById("doughnut-chart-2").getContext("2d");window.myDoughnut=new a.a(n,u)}if(document.getElementById("doughnut-chart-3")){var r=document.getElementById("doughnut-chart-3").getContext("2d");window.myDoughnut=new a.a(r,u)}if(document.getElementById("radar-chart")&&(window.myRadar=new a.a(document.getElementById("radar-chart"),c)),document.getElementById("polar-chart")){var o=document.getElementById("polar-chart");window.myPolarArea=a.a.PolarArea(o,h)}if(document.getElementById("line-chart")){var g=document.getElementById("line-chart").getContext("2d");window.myLine=new a.a(g,p)}if(document.getElementById("chart-horiz-bar")){var m=document.getElementById("chart-horiz-bar").getContext("2d");window.myHorizontalBar=new a.a(m,{type:"horizontalBar",data:f,options:{elements:{rectangle:{borderWidth:2}},responsive:!0,legend:{position:"right"},title:{display:!1,text:"Chart.js Horizontal Bar Chart"}}})}if(document.getElementById("stacked-bars-chart")){var v=document.getElementById("stacked-bars-chart").getContext("2d");window.myBar=new a.a(v,{type:"bar",data:s,options:{title:{display:!0,text:"Chart.js Bar Chart - Stacked"},tooltips:{mode:"index",intersect:!1},responsive:!0,scales:{xAxes:[{stacked:!0}],yAxes:[{stacked:!0}]}}})}}},function(t,e,i){"use strict";i(4)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),t.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.Chart=t,t}},function(t,e,i){"use strict";var n=i(17),a={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i||(i=.3),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},easeOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i||(i=.3),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:2==(t/=.5)?1:(i||(i=.45),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),t<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-a.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*a.easeInBounce(2*t):.5*a.easeOutBounce(2*t-1)+.5}};t.exports={effects:a},n.easingEffects=a},function(t,e,i){"use strict";var n=i(17);e=t.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,n,a,r){if(r){var o=Math.min(r,a/2-1e-7,n/2-1e-7);t.moveTo(e+o,i),t.lineTo(e+n-o,i),t.arcTo(e+n,i,e+n,i+o,o),t.lineTo(e+n,i+a-o),t.arcTo(e+n,i+a,e+n-o,i+a,o),t.lineTo(e+o,i+a),t.arcTo(e,i+a,e,i+a-o,o),t.lineTo(e,i+o),t.arcTo(e,i,e+o,i,o),t.closePath(),t.moveTo(e,i)}else t.rect(e,i,n,a)},drawPoint:function(t,e,i,n,a,r){var o,s,l,c,d,u;if(r=r||0,!e||"object"!=typeof e||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(i)||i<=0)){switch(t.save(),t.translate(n,a),t.rotate(r*Math.PI/180),t.beginPath(),e){default:t.arc(0,0,i,0,2*Math.PI),t.closePath();break;case"triangle":d=(s=3*i/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(-s/2,d/3),t.lineTo(s/2,d/3),t.lineTo(0,-2*d/3),t.closePath();break;case"rect":u=1/Math.SQRT2*i,t.rect(-u,-u,2*u,2*u);break;case"rectRounded":var h=i/Math.SQRT2,p=-h,f=-h,g=Math.SQRT2*i;this.roundedRect(t,p,f,g,g,.425*i);break;case"rectRot":u=1/Math.SQRT2*i,t.moveTo(-u,0),t.lineTo(0,u),t.lineTo(u,0),t.lineTo(0,-u),t.closePath();break;case"cross":t.moveTo(0,i),t.lineTo(0,-i),t.moveTo(-i,0),t.lineTo(i,0);break;case"crossRot":l=Math.cos(Math.PI/4)*i,c=Math.sin(Math.PI/4)*i,t.moveTo(-l,-c),t.lineTo(l,c),t.moveTo(-l,c),t.lineTo(l,-c);break;case"star":t.moveTo(0,i),t.lineTo(0,-i),t.moveTo(-i,0),t.lineTo(i,0),l=Math.cos(Math.PI/4)*i,c=Math.sin(Math.PI/4)*i,t.moveTo(-l,-c),t.lineTo(l,c),t.moveTo(-l,c),t.lineTo(l,-c);break;case"line":t.moveTo(-i,0),t.lineTo(i,0);break;case"dash":t.moveTo(0,0),t.lineTo(i,0)}t.fill(),t.stroke(),t.restore()}}else t.drawImage(e,n-e.width/2,a-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,i,n){if(i.steppedLine)return"after"===i.steppedLine&&!n||"after"!==i.steppedLine&&n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y),void t.lineTo(i.x,i.y);i.tension?t.bezierCurveTo(n?e.controlPointPreviousX:e.controlPointNextX,n?e.controlPointPreviousY:e.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}};n.clear=e.clear,n.drawRoundedRectangle=function(t){t.beginPath(),e.roundedRect.apply(e,arguments)}},function(t,e,i){"use strict";var n=i(17);t.exports={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,i,a,r;return n.isObject(t)?(e=+t.top||0,i=+t.right||0,a=+t.bottom||0,r=+t.left||0):e=i=a=r=+t||0,{top:e,right:i,bottom:a,left:r,height:e+a,width:r+i}},resolve:function(t,e,i){var a,r,o;for(a=0,r=t.length;a<r;++a)if(void 0!==(o=t[a])&&(void 0!==e&&"function"==typeof o&&(o=o(e)),void 0!==i&&n.isArray(o)&&(o=o[i]),void 0!==o))return o}}},function(t,e,i){"use strict";var n=i(147),a=i(4),r=i(3),o=i(9);t.exports=function(){function t(t,e,i){var n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[i])):n=t,n}function e(t){return null!=t&&"none"!==t}function i(i,n,a){var o=document.defaultView,s=r._getParentNode(i),l=o.getComputedStyle(i)[n],c=o.getComputedStyle(s)[n],d=e(l),u=e(c),h=Number.POSITIVE_INFINITY;return d||u?Math.min(d?t(l,i,a):h,u?t(c,s,a):h):"none"}r.configMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,i,n){var a=e[t]||{},s=i[t];"scales"===t?e[t]=r.scaleMerge(a,s):"scale"===t?e[t]=r.merge(a,[o.getScaleDefaults(s.type),s]):r._merger(t,e,i,n)}})},r.scaleMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,i,n){if("xAxes"===t||"yAxes"===t){var a,s,l,c=i[t].length;for(e[t]||(e[t]=[]),a=0;a<c;++a)l=i[t][a],s=r.valueOrDefault(l.type,"xAxes"===t?"category":"linear"),a>=e[t].length&&e[t].push({}),!e[t][a].type||l.type&&l.type!==e[t][a].type?r.merge(e[t][a],[o.getScaleDefaults(s),l]):r.merge(e[t][a],l)}else r._merger(t,e,i,n)}})},r.where=function(t,e){if(r.isArray(t)&&Array.prototype.filter)return t.filter(e);var i=[];return r.each(t,function(t){e(t)&&i.push(t)}),i},r.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var n=0,a=t.length;n<a;++n)if(e.call(i,t[n],n,t))return n;return-1},r.findNextWhere=function(t,e,i){r.isNullOrUndef(i)&&(i=-1);for(var n=i+1;n<t.length;n++){var a=t[n];if(e(a))return a}},r.findPreviousWhere=function(t,e,i){r.isNullOrUndef(i)&&(i=t.length);for(var n=i-1;n>=0;n--){var a=t[n];if(e(a))return a}},r.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},r.almostEquals=function(t,e,i){return Math.abs(t-e)<i},r.almostWhole=function(t,e){var i=Math.round(t);return i-e<t&&i+e>t},r.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},r.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},r.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0===(t=+t)||isNaN(t)?t:t>0?1:-1},r.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e);return t===Math.pow(10,i)?i:e},r.toRadians=function(t){return t*(Math.PI/180)},r.toDegrees=function(t){return t*(180/Math.PI)},r.getAngleFromPoint=function(t,e){var i=e.x-t.x,n=e.y-t.y,a=Math.sqrt(i*i+n*n),r=Math.atan2(n,i);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},r.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},r.aliasPixel=function(t){return t%2==0?0:.5},r.splineCurve=function(t,e,i,n){var a=t.skip?e:t,r=e,o=i.skip?e:i,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),c=s/(s+l),d=l/(s+l),u=n*(c=isNaN(c)?0:c),h=n*(d=isNaN(d)?0:d);return{previous:{x:r.x-u*(o.x-a.x),y:r.y-u*(o.y-a.y)},next:{x:r.x+h*(o.x-a.x),y:r.y+h*(o.y-a.y)}}},r.EPSILON=Number.EPSILON||1e-14,r.splineCurveMonotone=function(t){var e,i,n,a,o,s,l,c,d,u=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=u.length;for(e=0;e<h;++e)if(!(n=u[e]).model.skip){if(i=e>0?u[e-1]:null,(a=e<h-1?u[e+1]:null)&&!a.model.skip){var p=a.model.x-n.model.x;n.deltaK=0!==p?(a.model.y-n.model.y)/p:0}!i||i.model.skip?n.mK=n.deltaK:!a||a.model.skip?n.mK=i.deltaK:this.sign(i.deltaK)!==this.sign(n.deltaK)?n.mK=0:n.mK=(i.deltaK+n.deltaK)/2}for(e=0;e<h-1;++e)n=u[e],a=u[e+1],n.model.skip||a.model.skip||(r.almostEquals(n.deltaK,0,this.EPSILON)?n.mK=a.mK=0:(o=n.mK/n.deltaK,s=a.mK/n.deltaK,(c=Math.pow(o,2)+Math.pow(s,2))<=9||(l=3/Math.sqrt(c),n.mK=o*l*n.deltaK,a.mK=s*l*n.deltaK)));for(e=0;e<h;++e)(n=u[e]).model.skip||(i=e>0?u[e-1]:null,a=e<h-1?u[e+1]:null,i&&!i.model.skip&&(d=(n.model.x-i.model.x)/3,n.model.controlPointPreviousX=n.model.x-d,n.model.controlPointPreviousY=n.model.y-d*n.mK),a&&!a.model.skip&&(d=(a.model.x-n.model.x)/3,n.model.controlPointNextX=n.model.x+d,n.model.controlPointNextY=n.model.y+d*n.mK))},r.nextItem=function(t,e,i){return i?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},r.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},r.niceNum=function(t,e){var i=Math.floor(r.log10(t)),n=t/Math.pow(10,i);return(e?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},r.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},r.getRelativePosition=function(t,e){var i,n,a=t.originalEvent||t,o=t.target||t.srcElement,s=o.getBoundingClientRect(),l=a.touches;l&&l.length>0?(i=l[0].clientX,n=l[0].clientY):(i=a.clientX,n=a.clientY);var c=parseFloat(r.getStyle(o,"padding-left")),d=parseFloat(r.getStyle(o,"padding-top")),u=parseFloat(r.getStyle(o,"padding-right")),h=parseFloat(r.getStyle(o,"padding-bottom")),p=s.right-s.left-c-u,f=s.bottom-s.top-d-h;return{x:i=Math.round((i-s.left-c)/p*o.width/e.currentDevicePixelRatio),y:n=Math.round((n-s.top-d)/f*o.height/e.currentDevicePixelRatio)}},r.getConstraintWidth=function(t){return i(t,"max-width","clientWidth")},r.getConstraintHeight=function(t){return i(t,"max-height","clientHeight")},r._calculatePadding=function(t,e,i){return(e=r.getStyle(t,e)).indexOf("%")>-1?i/parseInt(e,10):parseInt(e,10)},r._getParentNode=function(t){var e=t.parentNode;return e&&e.host&&(e=e.host),e},r.getMaximumWidth=function(t){var e=r._getParentNode(t);if(!e)return t.clientWidth;var i=e.clientWidth,n=i-r._calculatePadding(e,"padding-left",i)-r._calculatePadding(e,"padding-right",i),a=r.getConstraintWidth(t);return isNaN(a)?n:Math.min(n,a)},r.getMaximumHeight=function(t){var e=r._getParentNode(t);if(!e)return t.clientHeight;var i=e.clientHeight,n=i-r._calculatePadding(e,"padding-top",i)-r._calculatePadding(e,"padding-bottom",i),a=r.getConstraintHeight(t);return isNaN(a)?n:Math.min(n,a)},r.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},r.retinaScale=function(t,e){var i=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==i){var n=t.canvas,a=t.height,r=t.width;n.height=a*i,n.width=r*i,t.ctx.scale(i,i),n.style.height||n.style.width||(n.style.height=a+"px",n.style.width=r+"px")}},r.fontString=function(t,e,i){return e+" "+t+"px "+i},r.longestText=function(t,e,i,n){var a=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(a=n.data={},o=n.garbageCollect=[],n.font=e),t.font=e;var s=0;r.each(i,function(e){null!=e&&!0!==r.isArray(e)?s=r.measureText(t,a,o,s,e):r.isArray(e)&&r.each(e,function(e){null==e||r.isArray(e)||(s=r.measureText(t,a,o,s,e))})});var l=o.length/2;if(l>i.length){for(var c=0;c<l;c++)delete a[o[c]];o.splice(0,l)}return s},r.measureText=function(t,e,i,n,a){var r=e[a];return r||(r=e[a]=t.measureText(a).width,i.push(a)),r>n&&(n=r),n},r.numberOfLabelLines=function(t){var e=1;return r.each(t,function(t){r.isArray(t)&&t.length>e&&(e=t.length)}),e},r.color=n?function(t){return t instanceof CanvasGradient&&(t=a.global.defaultColor),n(t)}:function(t){return console.error("Color.js not found!"),t},r.getHoverColor=function(t){return t instanceof CanvasPattern?t:r.color(t).saturate(.5).darken(.1).rgbString()}}},function(t,e,i){var n=i(221),a=function(){return new c};for(var r in n){a[r+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),n[t](e)}}(r);var o=/(\w+)2(\w+)/.exec(r),s=o[1],l=o[2];(a[s]=a[s]||{})[l]=a[r]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var i=n[t](e);if("string"==typeof i||void 0===i)return i;for(var a=0;a<i.length;a++)i[a]=Math.round(i[a]);return i}}(r)}var c=function(){this.convs={}};c.prototype.routeSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i))},c.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},c.prototype.getValues=function(t){var e=this.convs[t];if(!e){var i=this.space,n=this.convs[i];e=a[i][t](n),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){c.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),t.exports=a},function(t,e){function i(t){var e,i,n=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o;return s==o?e=0:n==s?e=(a-r)/l:a==s?e=2+(r-n)/l:r==s&&(e=4+(n-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),i=(o+s)/2,[e,100*(s==o?0:i<=.5?l/(s+o):l/(2-s-o)),100*i]}function n(t){var e,i,n=t[0],a=t[1],r=t[2],o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o;return i=0==s?0:l/s*1e3/10,s==o?e=0:n==s?e=(a-r)/l:a==s?e=2+(r-n)/l:r==s&&(e=4+(n-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,i,s/255*1e3/10]}function a(t){var e=t[0],n=t[1],a=t[2];return[i(t)[0],100*(1/255*Math.min(e,Math.min(n,a))),100*(a=1-1/255*Math.max(e,Math.max(n,a)))]}function o(t){var e,i=t[0]/255,n=t[1]/255,a=t[2]/255;return[100*((1-i-(e=Math.min(1-i,1-n,1-a)))/(1-e)||0),100*((1-n-e)/(1-e)||0),100*((1-a-e)/(1-e)||0),100*e]}function s(t){return S[JSON.stringify(t)]}function l(t){var e=t[0]/255,i=t[1]/255,n=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]}function c(t){var e=l(t),i=e[0],n=e[1],a=e[2];return n/=100,a/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(i-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]}function d(t){var e,i,n,a,r,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[r=255*l,r,r];e=2*l-(i=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var c=0;c<3;c++)(n=o+1/3*-(c-1))<0&&n++,n>1&&n--,r=6*n<1?e+6*(i-e)*n:2*n<1?i:3*n<2?e+(i-e)*(2/3-n)*6:e,a[c]=255*r;return a}function u(t){var e=t[0]/60,i=t[1]/100,n=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),o=255*n*(1-i),s=255*n*(1-i*r),l=255*n*(1-i*(1-r));n*=255;switch(a){case 0:return[n,l,o];case 1:return[s,n,o];case 2:return[o,n,l];case 3:return[o,s,n];case 4:return[l,o,n];case 5:return[n,o,s]}}function h(t){var e,i,n,a,o=t[0]/360,s=t[1]/100,l=t[2]/100,c=s+l;switch(c>1&&(s/=c,l/=c),n=6*o-(e=Math.floor(6*o)),0!=(1&e)&&(n=1-n),a=s+n*((i=1-l)-s),e){default:case 6:case 0:r=i,g=a,b=s;break;case 1:r=a,g=i,b=s;break;case 2:r=s,g=i,b=a;break;case 3:r=s,g=a,b=i;break;case 4:r=a,g=s,b=i;break;case 5:r=i,g=s,b=a}return[255*r,255*g,255*b]}function p(t){var e=t[0]/100,i=t[1]/100,n=t[2]/100,a=t[3]/100;return[255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]}function f(t){var e,i,n,a=t[0]/100,r=t[1]/100,o=t[2]/100;return i=-.9689*a+1.8758*r+.0415*o,n=.0557*a+-.204*r+1.057*o,e=(e=3.2406*a+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]}function m(t){var e=t[0],i=t[1],n=t[2];return i/=100,n/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]}function v(t){var e,i,n,a,r=t[0],o=t[1],s=t[2];return r<=8?a=(i=100*r/903.3)/100*7.787+16/116:(i=100*Math.pow((r+16)/116,3),a=Math.pow(i/100,1/3)),[e=e/95.047<=.008856?e=95.047*(o/500+a-16/116)/7.787:95.047*Math.pow(o/500+a,3),i,n=n/108.883<=.008859?n=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3)]}function y(t){var e,i=t[0],n=t[1],a=t[2];return(e=360*Math.atan2(a,n)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(n*n+a*a),e]}function w(t){return f(v(t))}function x(t){var e,i=t[0],n=t[1];return e=t[2]/360*2*Math.PI,[i,n*Math.cos(e),n*Math.sin(e)]}function _(t){return k[t]}t.exports={rgb2hsl:i,rgb2hsv:n,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:l,rgb2lab:c,rgb2lch:function(t){return y(c(t))},hsl2rgb:d,hsl2hsv:function(t){var e=t[0],i=t[1]/100,n=t[2]/100;if(0===n)return[0,0,0];return[e,100*(2*(i*=(n*=2)<=1?n:2-n)/(n+i)),100*((n+i)/2)]},hsl2hwb:function(t){return a(d(t))},hsl2cmyk:function(t){return o(d(t))},hsl2keyword:function(t){return s(d(t))},hsv2rgb:u,hsv2hsl:function(t){var e,i,n=t[0],a=t[1]/100,r=t[2]/100;return e=a*r,[n,100*(e=(e/=(i=(2-a)*r)<=1?i:2-i)||0),100*(i/=2)]},hsv2hwb:function(t){return a(u(t))},hsv2cmyk:function(t){return o(u(t))},hsv2keyword:function(t){return s(u(t))},hwb2rgb:h,hwb2hsl:function(t){return i(h(t))},hwb2hsv:function(t){return n(h(t))},hwb2cmyk:function(t){return o(h(t))},hwb2keyword:function(t){return s(h(t))},cmyk2rgb:p,cmyk2hsl:function(t){return i(p(t))},cmyk2hsv:function(t){return n(p(t))},cmyk2hwb:function(t){return a(p(t))},cmyk2keyword:function(t){return s(p(t))},keyword2rgb:_,keyword2hsl:function(t){return i(_(t))},keyword2hsv:function(t){return n(_(t))},keyword2hwb:function(t){return a(_(t))},keyword2cmyk:function(t){return o(_(t))},keyword2lab:function(t){return c(_(t))},keyword2xyz:function(t){return l(_(t))},xyz2rgb:f,xyz2lab:m,xyz2lch:function(t){return y(m(t))},lab2xyz:v,lab2rgb:w,lab2lch:y,lch2lab:x,lch2xyz:function(t){return v(x(t))},lch2rgb:function(t){return w(x(t))}};var k={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},S={};for(var M in k)S[JSON.stringify(k[M])]=M},function(t,e,i){var n=i(223);function a(t){if(t){var e=[0,0,0],i=1,a=t.match(/^#([a-fA-F0-9]{3})$/i);if(a){a=a[1];for(var r=0;r<e.length;r++)e[r]=parseInt(a[r]+a[r],16)}else if(a=t.match(/^#([a-fA-F0-9]{6})$/i)){a=a[1];for(r=0;r<e.length;r++)e[r]=parseInt(a.slice(2*r,2*r+2),16)}else if(a=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=parseInt(a[r+1]);i=parseFloat(a[4])}else if(a=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=Math.round(2.55*parseFloat(a[r+1]));i=parseFloat(a[4])}else if(a=t.match(/(\w+)/)){if("transparent"==a[1])return[0,0,0,0];if(!(e=n[a[1]]))return}for(r=0;r<e.length;r++)e[r]=d(e[r],0,255);return i=i||0==i?d(i,0,1):1,e[3]=i,e}}function r(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(i)?1:i,0,1)]}}}function o(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(i)?1:i,0,1)]}}}function s(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function l(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function c(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function d(t,e,i){return Math.min(Math.max(e,t),i)}function u(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}t.exports={getRgba:a,getHsla:r,getRgb:function(t){var e=a(t);return e&&e.slice(0,3)},getHsl:function(t){var e=r(t);return e&&e.slice(0,3)},getHwb:o,getAlpha:function(t){var e=a(t);if(e)return e[3];if(e=r(t))return e[3];if(e=o(t))return e[3]},hexString:function(t){return"#"+u(t[0])+u(t[1])+u(t[2])},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return s(t,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:s,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return l(t,e);var i=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgb("+i+"%, "+n+"%, "+a+"%)"},percentaString:l,hslString:function(t,e){if(e<1||t[3]&&t[3]<1)return c(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:c,hwbString:function(t,e){void 0===e&&(e=void 0!==t[3]?t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return h[t.slice(0,3)]}};var h={};for(var p in n)h[n[p]]=p},function(t,e,i){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(t,e,i){"use strict";var n=i(4),a=i(7),r=i(3);n._set("global",{elements:{arc:{backgroundColor:n.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),t.exports=a.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var i=this._view;if(i){for(var n=r.getAngleFromPoint(i,{x:t,y:e}),a=n.angle,o=n.distance,s=i.startAngle,l=i.endAngle;l<s;)l+=2*Math.PI;for(;a>l;)a-=2*Math.PI;for(;a<s;)a+=2*Math.PI;var c=a>=s&&a<=l,d=o>=i.innerRadius&&o<=i.outerRadius;return c&&d}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t=this._chart.ctx,e=this._view,i=e.startAngle,n=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,i,n),t.arc(e.x,e.y,e.innerRadius,n,i,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},function(t,e,i){"use strict";var n=i(4),a=i(7),r=i(3),o=n.global;n._set("global",{elements:{line:{tension:.4,backgroundColor:o.defaultColor,borderWidth:3,borderColor:o.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),t.exports=a.extend({draw:function(){var t,e,i,n,a=this._view,s=this._chart.ctx,l=a.spanGaps,c=this._children.slice(),d=o.elements.line,u=-1;for(this._loop&&c.length&&c.push(c[0]),s.save(),s.lineCap=a.borderCapStyle||d.borderCapStyle,s.setLineDash&&s.setLineDash(a.borderDash||d.borderDash),s.lineDashOffset=a.borderDashOffset||d.borderDashOffset,s.lineJoin=a.borderJoinStyle||d.borderJoinStyle,s.lineWidth=a.borderWidth||d.borderWidth,s.strokeStyle=a.borderColor||o.defaultColor,s.beginPath(),u=-1,t=0;t<c.length;++t)e=c[t],i=r.previousItem(c,t),n=e._view,0===t?n.skip||(s.moveTo(n.x,n.y),u=t):(i=-1===u?i:c[u],n.skip||(u!==t-1&&!l||-1===u?s.moveTo(n.x,n.y):r.canvas.lineTo(s,i._view,e._view),u=t));s.stroke(),s.restore()}})},function(t,e,i){"use strict";var n=i(4),a=i(7),r=i(3),o=n.global.defaultColor;function s(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}n._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:o,borderColor:o,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),t.exports=a.extend({inRange:function(t,e){var i=this._view;return!!i&&Math.pow(t-i.x,2)+Math.pow(e-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:s,inXRange:s,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,i=this._model,a=this._chart.ctx,s=e.pointStyle,l=e.rotation,c=e.radius,d=e.x,u=e.y;e.skip||(void 0===t||i.x>=t.left&&1.01*t.right>=i.x&&i.y>=t.top&&1.01*t.bottom>=i.y)&&(a.strokeStyle=e.borderColor||o,a.lineWidth=r.valueOrDefault(e.borderWidth,n.global.elements.point.borderWidth),a.fillStyle=e.backgroundColor||o,r.canvas.drawPoint(a,s,c,d,u,l))}})},function(t,e,i){"use strict";var n=i(4),a=i(7);function r(t){return void 0!==t._view.width}function o(t){var e,i,n,a,o=t._view;if(r(t)){var s=o.width/2;e=o.x-s,i=o.x+s,n=Math.min(o.y,o.base),a=Math.max(o.y,o.base)}else{var l=o.height/2;e=Math.min(o.x,o.base),i=Math.max(o.x,o.base),n=o.y-l,a=o.y+l}return{left:e,top:n,right:i,bottom:a}}n._set("global",{elements:{rectangle:{backgroundColor:n.global.defaultColor,borderColor:n.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),t.exports=a.extend({draw:function(){var t,e,i,n,a,r,o,s=this._chart.ctx,l=this._view,c=l.borderWidth;if(l.horizontal?(t=l.base,e=l.x,i=l.y-l.height/2,n=l.y+l.height/2,a=e>t?1:-1,r=1,o=l.borderSkipped||"left"):(t=l.x-l.width/2,e=l.x+l.width/2,i=l.y,a=1,r=(n=l.base)>i?1:-1,o=l.borderSkipped||"bottom"),c){var d=Math.min(Math.abs(t-e),Math.abs(i-n)),u=(c=c>d?d:c)/2,h=t+("left"!==o?u*a:0),p=e+("right"!==o?-u*a:0),f=i+("top"!==o?u*r:0),g=n+("bottom"!==o?-u*r:0);h!==p&&(i=f,n=g),f!==g&&(t=h,e=p)}s.beginPath(),s.fillStyle=l.backgroundColor,s.strokeStyle=l.borderColor,s.lineWidth=c;var m=[[t,n],[t,i],[e,i],[e,n]],v=["bottom","left","top","right"].indexOf(o,0);function y(t){return m[(v+t)%4]}-1===v&&(v=0);var b=y(0);s.moveTo(b[0],b[1]);for(var w=1;w<4;w++)b=y(w),s.lineTo(b[0],b[1]);s.fill(),c&&s.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var i=!1;if(this._view){var n=o(this);i=t>=n.left&&t<=n.right&&e>=n.top&&e<=n.bottom}return i},inLabelRange:function(t,e){if(!this._view)return!1;var i=o(this);return r(this)?t>=i.left&&t<=i.right:e>=i.top&&e<=i.bottom},inXRange:function(t){var e=o(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=o(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,i=this._view;return r(this)?(t=i.x,e=(i.y+i.base)/2):(t=(i.x+i.base)/2,e=i.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},function(t,e){t.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},function(t,e,i){"use strict";var n=i(3),a="$chartjs",r="chartjs-",o=r+"render-monitor",s=r+"render-animation",l=["animationstart","webkitAnimationStart"],c={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function d(t,e){var i=n.getStyle(t,e),a=i&&i.match(/^(\d+)(\.\d+)?px$/);return a?Number(a[1]):void 0}var u=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function h(t,e,i){t.addEventListener(e,i,u)}function p(t,e,i){t.removeEventListener(e,i,u)}function f(t,e,i,n,a){return{type:t,chart:e,native:a||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function g(t,e,i){var c,d,u,p,g=t[a]||(t[a]={}),m=g.resizer=function(t){var e=document.createElement("div"),i=r+"size-monitor",n="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=n,e.className=i,e.innerHTML='<div class="'+i+'-expand" style="'+n+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+i+'-shrink" style="'+n+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var a=e.childNodes[0],o=e.childNodes[1];e._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6};var s=function(){e._reset(),t()};return h(a,"scroll",s.bind(a,"expand")),h(o,"scroll",s.bind(o,"shrink")),e}((c=function(){if(g.resizer)return e(f("resize",i))},u=!1,p=[],function(){p=Array.prototype.slice.call(arguments),d=d||this,u||(u=!0,n.requestAnimFrame.call(window,function(){u=!1,c.apply(d,p)}))}));!function(t,e){var i=t[a]||(t[a]={}),r=i.renderProxy=function(t){t.animationName===s&&e()};n.each(l,function(e){h(t,e,r)}),i.reflow=!!t.offsetParent,t.classList.add(o)}(t,function(){if(g.resizer){var e=t.parentNode;e&&e!==m.parentNode&&e.insertBefore(m,e.firstChild),m._reset()}})}function m(t){var e=t[a]||{},i=e.resizer;delete e.resizer,function(t){var e=t[a]||{},i=e.renderProxy;i&&(n.each(l,function(e){p(t,e,i)}),delete e.renderProxy),t.classList.remove(o)}(t),i&&i.parentNode&&i.parentNode.removeChild(i)}t.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t,e,i,n="from{opacity:0.99}to{opacity:1}";e="@-webkit-keyframes "+s+"{"+n+"}@keyframes "+s+"{"+n+"}."+o+"{-webkit-animation:"+s+" 0.001s;animation:"+s+" 0.001s;}",i=(t=this)._style||document.createElement("style"),t._style||(t._style=i,e="/* Chart.js */\n"+e,i.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(i)),i.appendChild(document.createTextNode(e))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){var i=t.style,n=t.getAttribute("height"),r=t.getAttribute("width");if(t[a]={initial:{height:n,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===r||""===r){var o=d(t,"width");void 0!==o&&(t.width=o)}if(null===n||""===n)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var s=d(t,"height");void 0!==o&&(t.height=s)}}(t,e),i):null},releaseContext:function(t){var e=t.canvas;if(e[a]){var i=e[a].initial;["height","width"].forEach(function(t){var a=i[t];n.isNullOrUndef(a)?e.removeAttribute(t):e.setAttribute(t,a)}),n.each(i.style||{},function(t,i){e.style[i]=t}),e.width=e.width,delete e[a]}},addEventListener:function(t,e,i){var r=t.canvas;if("resize"!==e){var o=i[a]||(i[a]={});h(r,e,(o.proxies||(o.proxies={}))[t.id+"_"+e]=function(e){i(function(t,e){var i=c[t.type]||t.type,a=n.getRelativePosition(t,e);return f(i,e,a.x,a.y,t)}(e,t))})}else g(r,i,t)},removeEventListener:function(t,e,i){var n=t.canvas;if("resize"!==e){var r=((i[a]||{}).proxies||{})[t.id+"_"+e];r&&p(n,e,r)}else m(n)}},n.addEvent=h,n.removeEvent=p},function(t,e,i){"use strict";var n=i(148),a=i(149),r=i(4),o=i(3),s=i(150),l=i(11),c=i(151),d=i(152),u=i(9),h=i(153);t.exports=function(t){function e(t){return"top"===t||"bottom"===t}t.types={},t.instances={},t.controllers={},o.extend(t.prototype,{construct:function(e,i){var n=this;i=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=o.configMerge(r.global,r[t.type],t.options||{}),t}(i);var a=c.acquireContext(e,i),s=a&&a.canvas,l=s&&s.height,d=s&&s.width;n.id=o.uid(),n.ctx=a,n.canvas=s,n.config=i,n.width=d,n.height=l,n.aspectRatio=l?d/l:null,n.options=i.options,n._bufferedRender=!1,n.chart=n,n.controller=n,t.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),a&&s?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return d.notify(t,"beforeInit"),o.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),d.notify(t,"afterInit"),t},clear:function(){return o.canvas.clear(this),this},stop:function(){return a.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,n=e.canvas,a=i.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(o.getMaximumWidth(n))),s=Math.max(0,Math.floor(a?r/a:o.getMaximumHeight(n)));if((e.width!==r||e.height!==s)&&(n.width=e.width=r,n.height=e.height=s,n.style.width=r+"px",n.style.height=s+"px",o.retinaScale(e,i.devicePixelRatio),!t)){var l={width:r,height:s};d.notify(e,"resize",[l]),e.options.onResize&&e.options.onResize(e,l),e.stop(),e.update({duration:e.options.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},i=t.scale;o.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),o.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var t=this,i=t.options,n=t.scales||{},a=[],r=Object.keys(n).reduce(function(t,e){return t[e]=!1,t},{});i.scales&&(a=a.concat((i.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(i.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),i.scale&&a.push({options:i.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),o.each(a,function(i){var a=i.options,s=a.id,l=o.valueOrDefault(a.type,i.dtype);e(a.position)!==e(i.dposition)&&(a.position=i.dposition),r[s]=!0;var c=null;if(s in n&&n[s].type===l)(c=n[s]).options=a,c.ctx=t.ctx,c.chart=t;else{var d=u.getScaleConstructor(l);if(!d)return;c=new d({id:s,type:l,options:a,ctx:t.ctx,chart:t}),n[c.id]=c}c.mergeTicksOptions(),i.isDefault&&(t.scale=c)}),o.each(r,function(t,e){t||delete n[e]}),t.scales=n,u.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,i=[],n=[];return o.each(e.data.datasets,function(a,r){var o=e.getDatasetMeta(r),s=a.type||e.config.type;if(o.type&&o.type!==s&&(e.destroyDatasetMeta(r),o=e.getDatasetMeta(r)),o.type=s,i.push(o.type),o.controller)o.controller.updateIndex(r),o.controller.linkScales();else{var l=t.controllers[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(e,r),n.push(o.controller)}},e),n},resetElements:function(){var t=this;o.each(t.data.datasets,function(e,i){t.getDatasetMeta(i).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var i,n,a=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),n=(i=a).options,o.each(i.scales,function(t){l.removeBox(i,t)}),n=o.configMerge(t.defaults.global,t.defaults[i.config.type],n),i.options=i.config.options=n,i.ensureScalesHaveIDs(),i.buildOrUpdateScales(),i.tooltip._options=n.tooltips,i.tooltip.initialize(),d._invalidate(a),!1!==d.notify(a,"beforeUpdate")){a.tooltip._data=a.data;var r=a.buildOrUpdateControllers();o.each(a.data.datasets,function(t,e){a.getDatasetMeta(e).controller.buildOrUpdateElements()},a),a.updateLayout(),a.options.animation&&a.options.animation.duration&&o.each(r,function(t){t.reset()}),a.updateDatasets(),a.tooltip.initialize(),a.lastActive=[],d.notify(a,"afterUpdate"),a._bufferedRender?a._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:a.render(e)}},updateLayout:function(){!1!==d.notify(this,"beforeLayout")&&(l.update(this,this.width,this.height),d.notify(this,"afterScaleUpdate"),d.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==d.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);d.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),i={meta:e,index:t};!1!==d.notify(this,"beforeDatasetUpdate",[i])&&(e.controller.update(),d.notify(this,"afterDatasetUpdate",[i]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var i=t.duration,r=t.lazy;if(!1!==d.notify(e,"beforeRender")){var s=e.options.animation,l=function(t){d.notify(e,"afterRender"),o.callback(s&&s.onComplete,[t],e)};if(s&&(void 0!==i&&0!==i||void 0===i&&0!==s.duration)){var c=new n({numSteps:(i||s.duration)/16.66,easing:t.easing||s.easing,render:function(t,e){var i=o.easing.effects[e.easing],n=e.currentStep,a=n/e.numSteps;t.draw(i(a),a,n)},onAnimationProgress:s.onProgress,onAnimationComplete:l});a.addAnimation(e,c,i,r)}else e.draw(),l(new n({numSteps:0,chart:e}));return e}},draw:function(t){var e=this;e.clear(),o.isNullOrUndef(t)&&(t=1),e.transition(t),e.width<=0||e.height<=0||!1!==d.notify(e,"beforeDraw",[t])&&(o.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),d.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,i=(this.data.datasets||[]).length;e<i;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==d.notify(e,"beforeDatasetsDraw",[t])){for(var i=(e.data.datasets||[]).length-1;i>=0;--i)e.isDatasetVisible(i)&&e.drawDataset(i,t);d.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i=this.getDatasetMeta(t),n={meta:i,index:t,easingValue:e};!1!==d.notify(this,"beforeDatasetDraw",[n])&&(i.controller.draw(e),d.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,i={tooltip:e,easingValue:t};!1!==d.notify(this,"beforeTooltipDraw",[i])&&(e.draw(),d.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return s.modes.single(this,t)},getElementsAtEvent:function(t){return s.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return s.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,i){var n=s.modes[e];return"function"==typeof n?n(this,t,i):[]},getDatasetAtEvent:function(t){return s.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var i=e._meta[this.id];return i||(i=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e<i;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,i=this.data.datasets[t],n=i._meta&&i._meta[e];n&&(n.controller.destroy(),delete i._meta[e])},destroy:function(){var e,i,n=this,a=n.canvas;for(n.stop(),e=0,i=n.data.datasets.length;e<i;++e)n.destroyDatasetMeta(e);a&&(n.unbindEvents(),o.canvas.clear(n),c.releaseContext(n.ctx),n.canvas=null,n.ctx=null),d.notify(n,"destroy"),delete t.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new h({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};o.each(t.options.events,function(n){c.addEventListener(t,n,i),e[n]=i}),t.options.responsive&&(i=function(){t.resize()},c.addEventListener(t,"resize",i),e.resize=i)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,o.each(e,function(e,i){c.removeEventListener(t,i,e)}))},updateHoverStyle:function(t,e,i){var n,a,r,o=i?"setHoverStyle":"removeHoverStyle";for(a=0,r=t.length;a<r;++a)(n=t[a])&&this.getDatasetMeta(n._datasetIndex).controller[o](n)},eventHandler:function(t){var e=this,i=e.tooltip;if(!1!==d.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var n=e.handleEvent(t);i&&(n=i._start?i.handleEvent(t):n|i.handleEvent(t)),d.notify(e,"afterEvent",[t]);var a=e._bufferedRequest;return a?e.render(a):n&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,i=this,n=i.options||{},a=n.hover;return i.lastActive=i.lastActive||[],"mouseout"===t.type?i.active=[]:i.active=i.getElementsAtEventForMode(t,a.mode,a),o.callback(n.onHover||n.hover.onHover,[t.native,i.active],i),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(i,t.native,i.active),i.lastActive.length&&i.updateHoverStyle(i.lastActive,a.mode,!1),i.active.length&&a.mode&&i.updateHoverStyle(i.active,a.mode,!0),e=!o.arrayEquals(i.active,i.lastActive),i.lastActive=i.active,e}}),t.Controller=t}},function(t,e,i){"use strict";var n=i(3);t.exports=function(t){var e=["push","pop","shift","splice","unshift"];function i(t,i){var n=t._chartjs;if(n){var a=n.listeners,r=a.indexOf(i);-1!==r&&a.splice(r,1),a.length>0||(e.forEach(function(e){delete t[e]}),delete t._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},n.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),i=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=i.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=i.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&i(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,i=this.getMeta(),n=this.getDataset().data||[],a=i.data;for(t=0,e=n.length;t<e;++t)a[t]=a[t]||this.createMetaData(t);i.dataset=i.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,a,r=this,o=r.getDataset(),s=o.data||(o.data=[]);r._data!==s&&(r._data&&i(r._data,r),a=r,(t=s)._chartjs?t._chartjs.listeners.push(a):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[a]}}),e.forEach(function(e){var i="onData"+e.charAt(0).toUpperCase()+e.slice(1),a=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=a.apply(this,e);return n.each(t._chartjs.listeners,function(t){"function"==typeof t[i]&&t[i].apply(t,e)}),r}})})),r._data=s),r.resyncElements()},update:n.noop,transition:function(t){for(var e=this.getMeta(),i=e.data||[],n=i.length,a=0;a<n;++a)i[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],i=e.length,n=0;for(t.dataset&&t.dataset.draw();n<i;++n)e[n].draw()},removeHoverStyle:function(t){n.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},r=n.valueAtIndexOrDefault,o=n.getHoverColor,s=t._model;t.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth},s.backgroundColor=a.hoverBackgroundColor?a.hoverBackgroundColor:r(e.hoverBackgroundColor,i,o(s.backgroundColor)),s.borderColor=a.hoverBorderColor?a.hoverBorderColor:r(e.hoverBorderColor,i,o(s.borderColor)),s.borderWidth=a.hoverBorderWidth?a.hoverBorderWidth:r(e.hoverBorderWidth,i,s.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,i=t.data.length,n=e.length;n<i?t.data.splice(n,i-n):n>i&&this.insertElements(i,n-i)},insertElements:function(t,e){for(var i=0;i<e;++i)this.addElementAndReset(t+i)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=n.inherits}},function(t,e,i){"use strict";var n=i(3),a=i(12);t.exports=function(t){var e=n.noop;t.LinearScaleBase=a.extend({getRightValue:function(t){return"string"==typeof t?+t:a.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var i=n.sign(t.min),a=n.sign(t.max);i<0&&a<0?t.max=0:i>0&&a>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,o=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==o&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,i=t.getTickLimit(),a={maxTicks:i=Math.max(2,i),min:e.min,max:e.max,precision:e.precision,stepSize:n.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var i,a,r,o=[];if(t.stepSize&&t.stepSize>0)r=t.stepSize;else{var s=n.niceNum(e.max-e.min,!1);r=n.niceNum(s/(t.maxTicks-1),!0),void 0!==(a=t.precision)&&(i=Math.pow(10,a),r=Math.ceil(r*i)/i)}var l=Math.floor(e.min/r)*r,c=Math.ceil(e.max/r)*r;n.isNullOrUndef(t.min)||n.isNullOrUndef(t.max)||!t.stepSize||n.almostWhole((t.max-t.min)/t.stepSize,r/1e3)&&(l=t.min,c=t.max);var d=(c-l)/r;d=n.almostEquals(d,Math.round(d),r/1e3)?Math.round(d):Math.ceil(d),a=1,r<1&&(a=Math.pow(10,1-Math.floor(n.log10(r))),l=Math.round(l*a)/a,c=Math.round(c*a)/a),o.push(void 0!==t.min?t.min:l);for(var u=1;u<d;++u)o.push(Math.round((l+u*r)*a)/a);return o.push(void 0!==t.max?t.max:c),o}(a,t);t.handleDirectionalChanges(),t.max=n.max(r),t.min=n.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),a.prototype.convertTicksToLabels.call(t)}})}},function(t,e,i){"use strict";var n=i(12),a=i(9);t.exports=function(){var t=n.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,i=e.getLabels();e.minIndex=0,e.maxIndex=i.length-1,void 0!==e.options.ticks.min&&(t=i.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=i.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=i[e.minIndex],e.max=i[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var i=this,n=i.chart.data,a=i.isHorizontal();return n.yLabels&&!a?i.getRightValue(n.datasets[e].data[t]):i.ticks[t-i.minIndex]},getPixelForValue:function(t,e){var i,n=this,a=n.options.offset,r=Math.max(n.maxIndex+1-n.minIndex-(a?0:1),1);if(null!=t&&(i=n.isHorizontal()?t.x:t.y),void 0!==i||void 0!==t&&isNaN(e)){t=i||t;var o=n.getLabels().indexOf(t);e=-1!==o?o:e}if(n.isHorizontal()){var s=n.width/r,l=s*(e-n.minIndex);return a&&(l+=s/2),n.left+Math.round(l)}var c=n.height/r,d=c*(e-n.minIndex);return a&&(d+=c/2),n.top+Math.round(d)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,i=e.options.offset,n=Math.max(e._ticks.length-(i?0:1),1),a=e.isHorizontal(),r=(a?e.width:e.height)/n;return t-=a?e.left:e.top,i&&(t-=r/2),(t<=0?0:Math.round(t/r))+e.minIndex},getBasePixel:function(){return this.bottom}});a.registerScaleType("category",t,{position:"bottom"})}},function(t,e,i){"use strict";var n=i(4),a=i(3),r=i(9),o=i(13);t.exports=function(t){var e={position:"left",ticks:{callback:o.formatters.linear}},i=t.LinearScaleBase.extend({determineDataLimits:function(){var t=this,e=t.options,i=t.chart,n=i.data.datasets,r=t.isHorizontal();function o(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var s=e.stacked;if(void 0===s&&a.each(n,function(t,e){if(!s){var n=i.getDatasetMeta(e);i.isDatasetVisible(e)&&o(n)&&void 0!==n.stack&&(s=!0)}}),e.stacked||s){var l={};a.each(n,function(n,r){var s=i.getDatasetMeta(r),c=[s.type,void 0===e.stacked&&void 0===s.stack?r:"",s.stack].join(".");void 0===l[c]&&(l[c]={positiveValues:[],negativeValues:[]});var d=l[c].positiveValues,u=l[c].negativeValues;i.isDatasetVisible(r)&&o(s)&&a.each(n.data,function(i,n){var a=+t.getRightValue(i);isNaN(a)||s.data[n].hidden||(d[n]=d[n]||0,u[n]=u[n]||0,e.relativePoints?d[n]=100:a<0?u[n]+=a:d[n]+=a)})}),a.each(l,function(e){var i=e.positiveValues.concat(e.negativeValues),n=a.min(i),r=a.max(i);t.min=null===t.min?n:Math.min(t.min,n),t.max=null===t.max?r:Math.max(t.max,r)})}else a.each(n,function(e,n){var r=i.getDatasetMeta(n);i.isDatasetVisible(n)&&o(r)&&a.each(e.data,function(e,i){var n=+t.getRightValue(e);isNaN(n)||r.data[i].hidden||(null===t.min?t.min=n:n<t.min&&(t.min=n),null===t.max?t.max=n:n>t.max&&(t.max=n))})});t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var i=a.valueOrDefault(e.fontSize,n.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*i)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,i=e.start,n=+e.getRightValue(t),a=e.end-i;return e.isHorizontal()?e.left+e.width/a*(n-i):e.bottom-e.height/a*(n-i)},getValueForPixel:function(t){var e=this,i=e.isHorizontal(),n=i?e.width:e.height,a=(i?t-e.left:e.bottom-t)/n;return e.start+(e.end-e.start)*a},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});r.registerScaleType("linear",i,e)}},function(t,e,i){"use strict";var n=i(3),a=i(12),r=i(9),o=i(13);t.exports=function(t){var e={position:"left",ticks:{callback:o.formatters.logarithmic}},i=a.extend({determineDataLimits:function(){var t=this,e=t.options,i=t.chart,a=i.data.datasets,r=t.isHorizontal();function o(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var s=e.stacked;if(void 0===s&&n.each(a,function(t,e){if(!s){var n=i.getDatasetMeta(e);i.isDatasetVisible(e)&&o(n)&&void 0!==n.stack&&(s=!0)}}),e.stacked||s){var l={};n.each(a,function(a,r){var s=i.getDatasetMeta(r),c=[s.type,void 0===e.stacked&&void 0===s.stack?r:"",s.stack].join(".");i.isDatasetVisible(r)&&o(s)&&(void 0===l[c]&&(l[c]=[]),n.each(a.data,function(e,i){var n=l[c],a=+t.getRightValue(e);isNaN(a)||s.data[i].hidden||a<0||(n[i]=n[i]||0,n[i]+=a)}))}),n.each(l,function(e){if(e.length>0){var i=n.min(e),a=n.max(e);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?a:Math.max(t.max,a)}})}else n.each(a,function(e,a){var r=i.getDatasetMeta(a);i.isDatasetVisible(a)&&o(r)&&n.each(e.data,function(e,i){var n=+t.getRightValue(e);isNaN(n)||r.data[i].hidden||n<0||(null===t.min?t.min=n:n<t.min&&(t.min=n),null===t.max?t.max=n:n>t.max&&(t.max=n),0!==n&&(null===t.minNotZero||n<t.minNotZero)&&(t.minNotZero=n))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,i=n.valueOrDefault;t.min=i(e.min,t.min),t.max=i(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(n.log10(t.min))-1),t.max=Math.pow(10,Math.floor(n.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(n.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(n.log10(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(n.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,i=!t.isHorizontal(),a={min:e.min,max:e.max},r=t.ticks=function(t,e){var i,a,r=[],o=n.valueOrDefault,s=o(t.min,Math.pow(10,Math.floor(n.log10(e.min)))),l=Math.floor(n.log10(e.max)),c=Math.ceil(e.max/Math.pow(10,l));0===s?(i=Math.floor(n.log10(e.minNotZero)),a=Math.floor(e.minNotZero/Math.pow(10,i)),r.push(s),s=a*Math.pow(10,i)):(i=Math.floor(n.log10(s)),a=Math.floor(s/Math.pow(10,i)));var d=i<0?Math.pow(10,Math.abs(i)):1;do{r.push(s),10==++a&&(a=1,d=++i>=0?1:d),s=Math.round(a*Math.pow(10,i)*d)/d}while(i<l||i===l&&a<c);var u=o(t.max,s);return r.push(u),r}(a,t);t.max=n.max(r),t.min=n.min(r),e.reverse?(i=!i,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),i&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),a.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(n.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(e){var i,a,r,o,s,l=this,c=l.options.ticks.reverse,d=n.log10,u=l._getFirstTickValue(l.minNotZero),h=0;return e=+l.getRightValue(e),c?(r=l.end,o=l.start,s=-1):(r=l.start,o=l.end,s=1),l.isHorizontal()?(i=l.width,a=c?l.right:l.left):(i=l.height,s*=-1,a=c?l.top:l.bottom),e!==r&&(0===r&&(i-=h=n.getValueOrDefault(l.options.ticks.fontSize,t.defaults.global.defaultFontSize),r=u),0!==e&&(h+=i/(d(o)-d(r))*(d(e)-d(r))),a+=s*h),a},getValueForPixel:function(e){var i,a,r,o,s=this,l=s.options.ticks.reverse,c=n.log10,d=s._getFirstTickValue(s.minNotZero);if(l?(a=s.end,r=s.start):(a=s.start,r=s.end),s.isHorizontal()?(i=s.width,o=l?s.right-e:e-s.left):(i=s.height,o=l?e-s.top:s.bottom-e),o!==a){if(0===a){var u=n.getValueOrDefault(s.options.ticks.fontSize,t.defaults.global.defaultFontSize);o-=u,i-=u,a=d}o*=c(r)-c(a),o/=i,o=Math.pow(10,c(a)+o)}return o}});r.registerScaleType("logarithmic",i,e)}},function(t,e,i){"use strict";var n=i(4),a=i(3),r=i(9),o=i(13);t.exports=function(t){var e=n.global,i={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:o.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function s(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function l(t){var i=t.options.pointLabels,n=a.valueOrDefault(i.fontSize,e.defaultFontSize),r=a.valueOrDefault(i.fontStyle,e.defaultFontStyle),o=a.valueOrDefault(i.fontFamily,e.defaultFontFamily);return{size:n,style:r,family:o,font:a.fontString(n,r,o)}}function c(t,e,i,n,a){return t===n||t===a?{start:e-i/2,end:e+i/2}:t<n||t>a?{start:e-i-5,end:e}:{start:e,end:e+i+5}}function d(t){return 0===t||180===t?"center":t<180?"left":"right"}function u(t,e,i,n){if(a.isArray(e))for(var r=i.y,o=1.5*n,s=0;s<e.length;++s)t.fillText(e[s],i.x,r),r+=o;else t.fillText(e,i.x,i.y)}function h(t,e,i){90===t||270===t?i.y-=e.h/2:(t>270||t<90)&&(i.y-=e.h)}function p(t){return a.isNumber(t)?t:0}var f=t.LinearScaleBase.extend({setDimensions:function(){var t=this,i=t.options,n=i.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var r=a.min([t.height,t.width]),o=a.valueOrDefault(n.fontSize,e.defaultFontSize);t.drawingArea=i.display?r/2-(o/2+n.backdropPaddingY):r/2},determineDataLimits:function(){var t=this,e=t.chart,i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;a.each(e.data.datasets,function(r,o){if(e.isDatasetVisible(o)){var s=e.getDatasetMeta(o);a.each(r.data,function(e,a){var r=+t.getRightValue(e);isNaN(r)||s.data[a].hidden||(i=Math.min(r,i),n=Math.max(r,n))})}}),t.min=i===Number.POSITIVE_INFINITY?0:i,t.max=n===Number.NEGATIVE_INFINITY?0:n,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,i=a.valueOrDefault(t.fontSize,e.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*i)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,e;this.options.pointLabels.display?function(t){var e,i,n,r=l(t),o=Math.min(t.height/2,t.width/2),d={r:t.width,l:0,t:t.height,b:0},u={};t.ctx.font=r.font,t._pointLabelSizes=[];var h,p,f,g=s(t);for(e=0;e<g;e++){n=t.getPointPosition(e,o),h=t.ctx,p=r.size,f=t.pointLabels[e]||"",i=a.isArray(f)?{w:a.longestText(h,h.font,f),h:f.length*p+1.5*(f.length-1)*p}:{w:h.measureText(f).width,h:p},t._pointLabelSizes[e]=i;var m=t.getIndexAngle(e),v=a.toDegrees(m)%360,y=c(v,n.x,i.w,0,180),b=c(v,n.y,i.h,90,270);y.start<d.l&&(d.l=y.start,u.l=m),y.end>d.r&&(d.r=y.end,u.r=m),b.start<d.t&&(d.t=b.start,u.t=m),b.end>d.b&&(d.b=b.end,u.b=m)}t.setReductions(o,d,u)}(this):(t=this,e=Math.min(t.height/2,t.width/2),t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0))},setReductions:function(t,e,i){var n=e.l/Math.sin(i.l),a=Math.max(e.r-this.width,0)/Math.sin(i.r),r=-e.t/Math.cos(i.t),o=-Math.max(e.b-this.height,0)/Math.cos(i.b);n=p(n),a=p(a),r=p(r),o=p(o),this.drawingArea=Math.min(Math.round(t-(n+a)/2),Math.round(t-(r+o)/2)),this.setCenterPoint(n,a,r,o)},setCenterPoint:function(t,e,i,n){var a=this,r=a.width-e-a.drawingArea,o=t+a.drawingArea,s=i+a.drawingArea,l=a.height-n-a.drawingArea;a.xCenter=Math.round((o+r)/2+a.left),a.yCenter=Math.round((s+l)/2+a.top)},getIndexAngle:function(t){return t*(2*Math.PI/s(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var i=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*i:(t-e.min)*i},getPointPosition:function(t,e){var i=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(i)*e)+this.xCenter,y:Math.round(Math.sin(i)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,i=t.options,n=i.gridLines,r=i.ticks,o=a.valueOrDefault;if(i.display){var c=t.ctx,p=this.getIndexAngle(0),f=o(r.fontSize,e.defaultFontSize),g=o(r.fontStyle,e.defaultFontStyle),m=o(r.fontFamily,e.defaultFontFamily),v=a.fontString(f,g,m);a.each(t.ticks,function(i,l){if(l>0||r.reverse){var d=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]);if(n.display&&0!==l&&function(t,e,i,n){var r=t.ctx;if(r.strokeStyle=a.valueAtIndexOrDefault(e.color,n-1),r.lineWidth=a.valueAtIndexOrDefault(e.lineWidth,n-1),t.options.gridLines.circular)r.beginPath(),r.arc(t.xCenter,t.yCenter,i,0,2*Math.PI),r.closePath(),r.stroke();else{var o=s(t);if(0===o)return;r.beginPath();var l=t.getPointPosition(0,i);r.moveTo(l.x,l.y);for(var c=1;c<o;c++)l=t.getPointPosition(c,i),r.lineTo(l.x,l.y);r.closePath(),r.stroke()}}(t,n,d,l),r.display){var u=o(r.fontColor,e.defaultFontColor);if(c.font=v,c.save(),c.translate(t.xCenter,t.yCenter),c.rotate(p),r.showLabelBackdrop){var h=c.measureText(i).width;c.fillStyle=r.backdropColor,c.fillRect(-h/2-r.backdropPaddingX,-d-f/2-r.backdropPaddingY,h+2*r.backdropPaddingX,f+2*r.backdropPaddingY)}c.textAlign="center",c.textBaseline="middle",c.fillStyle=u,c.fillText(i,0,-d),c.restore()}}}),(i.angleLines.display||i.pointLabels.display)&&function(t){var i=t.ctx,n=t.options,r=n.angleLines,o=n.pointLabels;i.lineWidth=r.lineWidth,i.strokeStyle=r.color;var c=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),p=l(t);i.textBaseline="top";for(var f=s(t)-1;f>=0;f--){if(r.display){var g=t.getPointPosition(f,c);i.beginPath(),i.moveTo(t.xCenter,t.yCenter),i.lineTo(g.x,g.y),i.stroke(),i.closePath()}if(o.display){var m=t.getPointPosition(f,c+5),v=a.valueAtIndexOrDefault(o.fontColor,f,e.defaultFontColor);i.font=p.font,i.fillStyle=v;var y=t.getIndexAngle(f),b=a.toDegrees(y);i.textAlign=d(b),h(b,t._pointLabelSizes[f],m),u(i,t.pointLabels[f]||"",m,p.size)}}}(t)}}});r.registerScaleType("radialLinear",f,i)}},function(t,e,i){"use strict";var n=i(1);n="function"==typeof n?n:window.moment;var a=i(4),r=i(3),o=i(12),s=i(9),l=Number.MIN_SAFE_INTEGER||-9007199254740991,c=Number.MAX_SAFE_INTEGER||9007199254740991,d={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},u=Object.keys(d);function h(t,e){return t-e}function p(t){var e,i,n,a={},r=[];for(e=0,i=t.length;e<i;++e)a[n=t[e]]||(a[n]=!0,r.push(n));return r}function f(t,e,i,n){var a=function(t,e,i){for(var n,a,r,o=0,s=t.length-1;o>=0&&o<=s;){if(a=t[(n=o+s>>1)-1]||null,r=t[n],!a)return{lo:null,hi:r};if(r[e]<i)o=n+1;else{if(!(a[e]>i))return{lo:a,hi:r};s=n-1}}return{lo:r,hi:null}}(t,e,i),r=a.lo?a.hi?a.lo:t[t.length-2]:t[0],o=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=o[e]-r[e],l=s?(i-r[e])/s:0,c=(o[n]-r[n])*l;return r[n]+c}function g(t,e){var i=e.parser,a=e.parser||e.format;return"function"==typeof i?i(t):"string"==typeof t&&"string"==typeof a?n(t,a):(t instanceof n||(t=n(t)),t.isValid()?t:"function"==typeof a?a(t):t)}function m(t,e){if(r.isNullOrUndef(t))return null;var i=e.options.time,n=g(e.getRightValue(t),i);return n.isValid()?(i.round&&n.startOf(i.round),n.valueOf()):null}function v(t){for(var e=u.indexOf(t)+1,i=u.length;e<i;++e)if(d[u[e]].common)return u[e]}function y(t,e,i,a){var o,s=a.time,l=s.unit||function(t,e,i,n){var a,r,o,s=u.length;for(a=u.indexOf(t);a<s-1;++a)if(o=(r=d[u[a]]).steps?r.steps[r.steps.length-1]:c,r.common&&Math.ceil((i-e)/(o*r.size))<=n)return u[a];return u[s-1]}(s.minUnit,t,e,i),h=v(l),p=r.valueOrDefault(s.stepSize,s.unitStepSize),f="week"===l&&s.isoWeekday,g=a.ticks.major.enabled,m=d[l],y=n(t),b=n(e),w=[];for(p||(p=function(t,e,i,n){var a,r,o,s=e-t,l=d[i],c=l.size,u=l.steps;if(!u)return Math.ceil(s/(n*c));for(a=0,r=u.length;a<r&&(o=u[a],!(Math.ceil(s/(c*o))<=n));++a);return o}(t,e,l,i)),f&&(y=y.isoWeekday(f),b=b.isoWeekday(f)),y=y.startOf(f?"day":l),(b=b.startOf(f?"day":l))<e&&b.add(1,l),o=n(y),g&&h&&!f&&!s.round&&(o.startOf(h),o.add(~~((y-o)/(m.size*p))*p,l));o<b;o.add(p,l))w.push(+o);return w.push(+o),w}t.exports=function(){var t=o.extend({initialize:function(){if(!n)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),o.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),o.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),o.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,i,a,o,s,d=this,u=d.chart,f=d.options.time,g=f.unit||"day",v=c,y=l,b=[],w=[],x=[];for(t=0,i=u.data.labels.length;t<i;++t)x.push(m(u.data.labels[t],d));for(t=0,i=(u.data.datasets||[]).length;t<i;++t)if(u.isDatasetVisible(t))if(o=u.data.datasets[t].data,r.isObject(o[0]))for(w[t]=[],e=0,a=o.length;e<a;++e)s=m(o[e],d),b.push(s),w[t][e]=s;else b.push.apply(b,x),w[t]=x.slice(0);else w[t]=[];x.length&&(x=p(x).sort(h),v=Math.min(v,x[0]),y=Math.max(y,x[x.length-1])),b.length&&(b=p(b).sort(h),v=Math.min(v,b[0]),y=Math.max(y,b[b.length-1])),v=m(f.min,d)||v,y=m(f.max,d)||y,v=v===c?+n().startOf(g):v,y=y===l?+n().endOf(g)+1:y,d.min=Math.min(v,y),d.max=Math.max(v+1,y),d._horizontal=d.isHorizontal(),d._table=[],d._timestamps={data:b,datasets:w,labels:x}},buildTicks:function(){var t,e,i,a=this,r=a.min,o=a.max,s=a.options,l=s.time,c=[],h=[];switch(s.ticks.source){case"data":c=a._timestamps.data;break;case"labels":c=a._timestamps.labels;break;case"auto":default:c=y(r,o,a.getLabelCapacity(r),s)}for("ticks"===s.bounds&&c.length&&(r=c[0],o=c[c.length-1]),r=m(l.min,a)||r,o=m(l.max,a)||o,t=0,e=c.length;t<e;++t)(i=c[t])>=r&&i<=o&&h.push(i);return a.min=r,a.max=o,a._unit=l.unit||function(t,e,i,a){var r,o,s=n.duration(n(a).diff(n(i)));for(r=u.length-1;r>=u.indexOf(e);r--)if(o=u[r],d[o].common&&s.as(o)>=t.length)return o;return u[e?u.indexOf(e):0]}(h,l.minUnit,a.min,a.max),a._majorUnit=v(a._unit),a._table=function(t,e,i,n){if("linear"===n||!t.length)return[{time:e,pos:0},{time:i,pos:1}];var a,r,o,s,l,c=[],d=[e];for(a=0,r=t.length;a<r;++a)(s=t[a])>e&&s<i&&d.push(s);for(d.push(i),a=0,r=d.length;a<r;++a)l=d[a+1],o=d[a-1],s=d[a],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||c.push({time:s,pos:a/(r-1)});return c}(a._timestamps.data,r,o,s.distribution),a._offsets=function(t,e,i,n,a){var r,o,s=0,l=0;return a.offset&&e.length&&(a.time.min||(r=e.length>1?e[1]:n,o=e[0],s=(f(t,"time",r,"pos")-f(t,"time",o,"pos"))/2),a.time.max||(r=e[e.length-1],o=e.length>1?e[e.length-2]:i,l=(f(t,"time",r,"pos")-f(t,"time",o,"pos"))/2)),{left:s,right:l}}(a._table,h,r,o,s),a._labelFormat=function(t,e){var i,n,a,r=t.length;for(i=0;i<r;i++){if(0!==(n=g(t[i],e)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===n.second()&&0===n.minute()&&0===n.hour()||(a=!0)}return a?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(a._timestamps.data,l),function(t,e){var i,a,r,o,s=[];for(i=0,a=t.length;i<a;++i)r=t[i],o=!!e&&r===+n(r).startOf(e),s.push({value:r,major:o});return s}(h,a._majorUnit)},getLabelForIndex:function(t,e){var i=this.chart.data,n=this.options.time,a=i.labels&&t<i.labels.length?i.labels[t]:"",o=i.datasets[e].data[t];return r.isObject(o)&&(a=this.getRightValue(o)),n.tooltipFormat?g(a,n).format(n.tooltipFormat):"string"==typeof a?a:g(a,n).format(this._labelFormat)},tickFormatFunction:function(t,e,i,n){var a=this.options,o=t.valueOf(),s=a.time.displayFormats,l=s[this._unit],c=this._majorUnit,d=s[c],u=t.clone().startOf(c).valueOf(),h=a.ticks.major,p=h.enabled&&c&&d&&o===u,f=t.format(n||(p?d:l)),g=p?h:a.ticks.minor,m=r.valueOrDefault(g.callback,g.userCallback);return m?m(f,e,i):f},convertTicksToLabels:function(t){var e,i,a=[];for(e=0,i=t.length;e<i;++e)a.push(this.tickFormatFunction(n(t[e].value),e,t));return a},getPixelForOffset:function(t){var e=this,i=e._horizontal?e.width:e.height,n=e._horizontal?e.left:e.top,a=f(e._table,"time",t,"pos");return n+i*(e._offsets.left+a)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,i){var n=null;if(void 0!==e&&void 0!==i&&(n=this._timestamps.datasets[i][e]),null===n&&(n=m(t,this)),null!==n)return this.getPixelForOffset(n)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,i=e._horizontal?e.width:e.height,a=e._horizontal?e.left:e.top,r=(i?(t-a)/i:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,o=f(e._table,"pos",r,"time");return n(o)},getLabelWidth:function(t){var e=this.options.ticks,i=this.ctx.measureText(t).width,n=r.toRadians(e.maxRotation),o=Math.cos(n),s=Math.sin(n);return i*o+r.valueOrDefault(e.fontSize,a.global.defaultFontSize)*s},getLabelCapacity:function(t){var e=this,i=e.options.time.displayFormats.millisecond,a=e.tickFormatFunction(n(t),0,[],i),r=e.getLabelWidth(a),o=e.isHorizontal()?e.width:e.height,s=Math.floor(o/r);return s>0?s:1}});s.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},function(t,e,i){"use strict";var n=i(4),a=i(10),r=i(3);n._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),n._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var i="";return t.length>0&&(t[0].yLabel?i=t[0].yLabel:e.labels.length>0&&t[0].index<e.labels.length&&(i=e.labels[t[0].index])),i},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),t.exports=function(t){t.controllers.bar=t.DatasetController.extend({dataElementType:a.Rectangle,initialize:function(){var e;t.DatasetController.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0},update:function(t){var e,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,i=n.length;e<i;++e)this.updateElement(n[e],e,t)},updateElement:function(t,e,i){var n=this,a=n.chart,o=n.getMeta(),s=n.getDataset(),l=t.custom||{},c=a.options.elements.rectangle;t._xScale=n.getScaleForId(o.xAxisID),t._yScale=n.getScaleForId(o.yAxisID),t._datasetIndex=n.index,t._index=e,t._model={datasetLabel:s.label,label:a.data.labels[e],borderSkipped:l.borderSkipped?l.borderSkipped:c.borderSkipped,backgroundColor:l.backgroundColor?l.backgroundColor:r.valueAtIndexOrDefault(s.backgroundColor,e,c.backgroundColor),borderColor:l.borderColor?l.borderColor:r.valueAtIndexOrDefault(s.borderColor,e,c.borderColor),borderWidth:l.borderWidth?l.borderWidth:r.valueAtIndexOrDefault(s.borderWidth,e,c.borderWidth)},n.updateElementGeometry(t,e,i),t.pivot()},updateElementGeometry:function(t,e,i){var n=this,a=t._model,r=n.getValueScale(),o=r.getBasePixel(),s=r.isHorizontal(),l=n._ruler||n.getRuler(),c=n.calculateBarValuePixels(n.index,e),d=n.calculateBarIndexPixels(n.index,e,l);a.horizontal=s,a.base=i?o:c.base,a.x=s?i?o:c.head:d.center,a.y=s?d.center:i?o:c.head,a.height=s?d.size:void 0,a.width=s?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(t){var e,i,n=this.chart,a=this.getIndexScale().options.stacked,r=void 0===t?n.data.datasets.length:t+1,o=[];for(e=0;e<r;++e)(i=n.getDatasetMeta(e)).bar&&n.isDatasetVisible(e)&&(!1===a||!0===a&&-1===o.indexOf(i.stack)||void 0===a&&(void 0===i.stack||-1===o.indexOf(i.stack)))&&o.push(i.stack);return o},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var i=this._getStacks(t),n=void 0!==e?i.indexOf(e):-1;return-1===n?i.length-1:n},getRuler:function(){var t,e,i=this.getIndexScale(),n=this.getStackCount(),a=this.index,o=i.isHorizontal(),s=o?i.left:i.top,l=s+(o?i.width:i.height),c=[];for(t=0,e=this.getMeta().data.length;t<e;++t)c.push(i.getPixelForValue(null,t,a));return{min:r.isNullOrUndef(i.options.barThickness)?function(t,e){var i,n,a,r,o=t.isHorizontal()?t.width:t.height,s=t.getTicks();for(a=1,r=e.length;a<r;++a)o=Math.min(o,e[a]-e[a-1]);for(a=0,r=s.length;a<r;++a)n=t.getPixelForTick(a),o=a>0?Math.min(o,n-i):o,i=n;return o}(i,c):-1,pixels:c,start:s,end:l,stackCount:n,scale:i}},calculateBarValuePixels:function(t,e){var i,n,a,r,o,s,l=this.chart,c=this.getMeta(),d=this.getValueScale(),u=l.data.datasets,h=d.getRightValue(u[t].data[e]),p=d.options.stacked,f=c.stack,g=0;if(p||void 0===p&&void 0!==f)for(i=0;i<t;++i)(n=l.getDatasetMeta(i)).bar&&n.stack===f&&n.controller.getValueScaleId()===d.id&&l.isDatasetVisible(i)&&(a=d.getRightValue(u[i].data[e]),(h<0&&a<0||h>=0&&a>0)&&(g+=a));return r=d.getPixelForValue(g),{size:s=((o=d.getPixelForValue(g+h))-r)/2,base:r,head:o,center:o+s/2}},calculateBarIndexPixels:function(t,e,i){var n=i.scale.options,a="flex"===n.barThickness?function(t,e,i){var n,a=e.pixels,r=a[t],o=t>0?a[t-1]:null,s=t<a.length-1?a[t+1]:null,l=i.categoryPercentage;return null===o&&(o=r-(null===s?e.end-r:s-r)),null===s&&(s=r+r-o),n=r-(r-o)/2*l,{chunk:(s-o)/2*l/e.stackCount,ratio:i.barPercentage,start:n}}(e,i,n):function(t,e,i){var n,a,o=i.barThickness,s=e.stackCount,l=e.pixels[t];return r.isNullOrUndef(o)?(n=e.min*i.categoryPercentage,a=i.barPercentage):(n=o*s,a=1),{chunk:n/s,ratio:a,start:l-n/2}}(e,i,n),o=this.getStackIndex(t,this.getMeta().stack),s=a.start+a.chunk*o+a.chunk/2,l=Math.min(r.valueOrDefault(n.maxBarThickness,1/0),a.chunk*a.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}},draw:function(){var t=this.chart,e=this.getValueScale(),i=this.getMeta().data,n=this.getDataset(),a=i.length,o=0;for(r.canvas.clipArea(t.ctx,t.chartArea);o<a;++o)isNaN(e.getRightValue(n.data[o]))||i[o].draw();r.canvas.unclipArea(t.ctx)}}),t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},function(t,e,i){"use strict";var n=i(4),a=i(10),r=i(3);n._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.datasets[t.datasetIndex].label||"",n=e.datasets[t.datasetIndex].data[t.index];return i+": ("+t.xLabel+", "+t.yLabel+", "+n.r+")"}}}}),t.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:a.Point,update:function(t){var e=this,i=e.getMeta().data;r.each(i,function(i,n){e.updateElement(i,n,t)})},updateElement:function(t,e,i){var n=this,a=n.getMeta(),r=t.custom||{},o=n.getScaleForId(a.xAxisID),s=n.getScaleForId(a.yAxisID),l=n._resolveElementOptions(t,e),c=n.getDataset().data[e],d=n.index,u=i?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof c?c:NaN,e,d),h=i?s.getBasePixel():s.getPixelForValue(c,e,d);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=d,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:i?0:l.radius,skip:r.skip||isNaN(u)||isNaN(h),x:u,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,i=t._options;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=r.valueOrDefault(i.hoverBackgroundColor,r.getHoverColor(i.backgroundColor)),e.borderColor=r.valueOrDefault(i.hoverBorderColor,r.getHoverColor(i.borderColor)),e.borderWidth=r.valueOrDefault(i.hoverBorderWidth,i.borderWidth),e.radius=i.radius+i.hoverRadius},_resolveElementOptions:function(t,e){var i,n,a,o=this.chart,s=o.data.datasets[this.index],l=t.custom||{},c=o.options.elements.point,d=r.options.resolve,u=s.data[e],h={},p={chart:o,dataIndex:e,dataset:s,datasetIndex:this.index},f=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(i=0,n=f.length;i<n;++i)h[a=f[i]]=d([l[a],s[a],c[a]],p,e);return h.radius=d([l.radius,u?u.r:void 0,s.radius,c.radius],p,e),h}})}},function(t,e,i){"use strict";var n=i(4),a=i(10),r=i(3);n._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var i=t.data,n=i.datasets,a=i.labels;if(n.length)for(var r=0;r<n[0].data.length;++r)e.push('<li><span style="background-color:'+n[0].backgroundColor[r]+'"></span>'),a[r]&&e.push(a[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var a=t.getDatasetMeta(0),o=e.datasets[0],s=a.data[n],l=s&&s.custom||{},c=r.valueAtIndexOrDefault,d=t.options.elements.arc;return{text:i,fillStyle:l.backgroundColor?l.backgroundColor:c(o.backgroundColor,n,d.backgroundColor),strokeStyle:l.borderColor?l.borderColor:c(o.borderColor,n,d.borderColor),lineWidth:l.borderWidth?l.borderWidth:c(o.borderWidth,n,d.borderWidth),hidden:isNaN(o.data[n])||a.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,a,r=e.index,o=this.chart;for(i=0,n=(o.data.datasets||[]).length;i<n;++i)(a=o.getDatasetMeta(i)).data[r]&&(a.data[r].hidden=!a.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.labels[t.index],n=": "+e.datasets[t.datasetIndex].data[t.index];return r.isArray(i)?(i=i.slice())[0]+=n:i+=n,i}}}}),n._set("pie",r.clone(n.doughnut)),n._set("pie",{cutoutPercentage:0}),t.exports=function(t){t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:a.Arc,linkScales:r.noop,getRingIndex:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&++e;return e},update:function(t){var e=this,i=e.chart,n=i.chartArea,a=i.options,o=a.elements.arc,s=n.right-n.left-o.borderWidth,l=n.bottom-n.top-o.borderWidth,c=Math.min(s,l),d={x:0,y:0},u=e.getMeta(),h=a.cutoutPercentage,p=a.circumference;if(p<2*Math.PI){var f=a.rotation%(2*Math.PI),g=(f+=2*Math.PI*(f>=Math.PI?-1:f<-Math.PI?1:0))+p,m={x:Math.cos(f),y:Math.sin(f)},v={x:Math.cos(g),y:Math.sin(g)},y=f<=0&&g>=0||f<=2*Math.PI&&2*Math.PI<=g,b=f<=.5*Math.PI&&.5*Math.PI<=g||f<=2.5*Math.PI&&2.5*Math.PI<=g,w=f<=-Math.PI&&-Math.PI<=g||f<=Math.PI&&Math.PI<=g,x=f<=.5*-Math.PI&&.5*-Math.PI<=g||f<=1.5*Math.PI&&1.5*Math.PI<=g,_=h/100,k={x:w?-1:Math.min(m.x*(m.x<0?1:_),v.x*(v.x<0?1:_)),y:x?-1:Math.min(m.y*(m.y<0?1:_),v.y*(v.y<0?1:_))},S={x:y?1:Math.max(m.x*(m.x>0?1:_),v.x*(v.x>0?1:_)),y:b?1:Math.max(m.y*(m.y>0?1:_),v.y*(v.y>0?1:_))},M={width:.5*(S.x-k.x),height:.5*(S.y-k.y)};c=Math.min(s/M.width,l/M.height),d={x:-.5*(S.x+k.x),y:-.5*(S.y+k.y)}}i.borderWidth=e.getMaxBorderWidth(u.data),i.outerRadius=Math.max((c-i.borderWidth)/2,0),i.innerRadius=Math.max(h?i.outerRadius/100*h:0,0),i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount(),i.offsetX=d.x*i.outerRadius,i.offsetY=d.y*i.outerRadius,u.total=e.calculateTotal(),e.outerRadius=i.outerRadius-i.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-i.radiusLength,0),r.each(u.data,function(i,n){e.updateElement(i,n,t)})},updateElement:function(t,e,i){var n=this,a=n.chart,o=a.chartArea,s=a.options,l=s.animation,c=(o.left+o.right)/2,d=(o.top+o.bottom)/2,u=s.rotation,h=s.rotation,p=n.getDataset(),f=i&&l.animateRotate?0:t.hidden?0:n.calculateCircumference(p.data[e])*(s.circumference/(2*Math.PI)),g=i&&l.animateScale?0:n.innerRadius,m=i&&l.animateScale?0:n.outerRadius,v=r.valueAtIndexOrDefault;r.extend(t,{_datasetIndex:n.index,_index:e,_model:{x:c+a.offsetX,y:d+a.offsetY,startAngle:u,endAngle:h,circumference:f,outerRadius:m,innerRadius:g,label:v(p.label,e,a.data.labels[e])}});var y=t._model,b=t.custom||{},w=r.valueAtIndexOrDefault,x=this.chart.options.elements.arc;y.backgroundColor=b.backgroundColor?b.backgroundColor:w(p.backgroundColor,e,x.backgroundColor),y.borderColor=b.borderColor?b.borderColor:w(p.borderColor,e,x.borderColor),y.borderWidth=b.borderWidth?b.borderWidth:w(p.borderWidth,e,x.borderWidth),i&&l.animateRotate||(y.startAngle=0===e?s.rotation:n.getMeta().data[e-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),i=this.getMeta(),n=0;return r.each(i.data,function(i,a){t=e.data[a],isNaN(t)||i.hidden||(n+=Math.abs(t))}),n},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,i,n=0,a=this.index,r=t.length,o=0;o<r;o++)e=t[o]._model?t[o]._model.borderWidth:0,n=(i=t[o]._chart?t[o]._chart.config.data.datasets[a].hoverBorderWidth:0)>(n=e>n?e:n)?i:n;return n}})}},function(t,e,i){"use strict";var n=i(4),a=i(10),r=i(3);n._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),t.exports=function(t){function e(t,e){return r.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,update:function(t){var i,n,a,o=this,s=o.getMeta(),l=s.dataset,c=s.data||[],d=o.chart.options,u=d.elements.line,h=o.getScaleForId(s.yAxisID),p=o.getDataset(),f=e(p,d);for(f&&(a=l.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),l._scale=h,l._datasetIndex=o.index,l._children=c,l._model={spanGaps:p.spanGaps?p.spanGaps:d.spanGaps,tension:a.tension?a.tension:r.valueOrDefault(p.lineTension,u.tension),backgroundColor:a.backgroundColor?a.backgroundColor:p.backgroundColor||u.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:p.borderWidth||u.borderWidth,borderColor:a.borderColor?a.borderColor:p.borderColor||u.borderColor,borderCapStyle:a.borderCapStyle?a.borderCapStyle:p.borderCapStyle||u.borderCapStyle,borderDash:a.borderDash?a.borderDash:p.borderDash||u.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:p.borderDashOffset||u.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:p.borderJoinStyle||u.borderJoinStyle,fill:a.fill?a.fill:void 0!==p.fill?p.fill:u.fill,steppedLine:a.steppedLine?a.steppedLine:r.valueOrDefault(p.steppedLine,u.stepped),cubicInterpolationMode:a.cubicInterpolationMode?a.cubicInterpolationMode:r.valueOrDefault(p.cubicInterpolationMode,u.cubicInterpolationMode)},l.pivot()),i=0,n=c.length;i<n;++i)o.updateElement(c[i],i,t);for(f&&0!==l._model.tension&&o.updateBezierControlPoints(),i=0,n=c.length;i<n;++i)c[i].pivot()},getPointBackgroundColor:function(t,e){var i=this.chart.options.elements.point.backgroundColor,n=this.getDataset(),a=t.custom||{};return a.backgroundColor?i=a.backgroundColor:n.pointBackgroundColor?i=r.valueAtIndexOrDefault(n.pointBackgroundColor,e,i):n.backgroundColor&&(i=n.backgroundColor),i},getPointBorderColor:function(t,e){var i=this.chart.options.elements.point.borderColor,n=this.getDataset(),a=t.custom||{};return a.borderColor?i=a.borderColor:n.pointBorderColor?i=r.valueAtIndexOrDefault(n.pointBorderColor,e,i):n.borderColor&&(i=n.borderColor),i},getPointBorderWidth:function(t,e){var i=this.chart.options.elements.point.borderWidth,n=this.getDataset(),a=t.custom||{};return isNaN(a.borderWidth)?!isNaN(n.pointBorderWidth)||r.isArray(n.pointBorderWidth)?i=r.valueAtIndexOrDefault(n.pointBorderWidth,e,i):isNaN(n.borderWidth)||(i=n.borderWidth):i=a.borderWidth,i},getPointRotation:function(t,e){var i=this.chart.options.elements.point.rotation,n=this.getDataset(),a=t.custom||{};return isNaN(a.rotation)?isNaN(n.pointRotation)&&!r.isArray(n.pointRotation)||(i=r.valueAtIndexOrDefault(n.pointRotation,e,i)):i=a.rotation,i},updateElement:function(t,e,i){var n,a,o=this,s=o.getMeta(),l=t.custom||{},c=o.getDataset(),d=o.index,u=c.data[e],h=o.getScaleForId(s.yAxisID),p=o.getScaleForId(s.xAxisID),f=o.chart.options.elements.point;void 0!==c.radius&&void 0===c.pointRadius&&(c.pointRadius=c.radius),void 0!==c.hitRadius&&void 0===c.pointHitRadius&&(c.pointHitRadius=c.hitRadius),n=p.getPixelForValue("object"==typeof u?u:NaN,e,d),a=i?h.getBasePixel():o.calculatePointY(u,e,d),t._xScale=p,t._yScale=h,t._datasetIndex=d,t._index=e,t._model={x:n,y:a,skip:l.skip||isNaN(n)||isNaN(a),radius:l.radius||r.valueAtIndexOrDefault(c.pointRadius,e,f.radius),pointStyle:l.pointStyle||r.valueAtIndexOrDefault(c.pointStyle,e,f.pointStyle),rotation:o.getPointRotation(t,e),backgroundColor:o.getPointBackgroundColor(t,e),borderColor:o.getPointBorderColor(t,e),borderWidth:o.getPointBorderWidth(t,e),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:l.hitRadius||r.valueAtIndexOrDefault(c.pointHitRadius,e,f.hitRadius)}},calculatePointY:function(t,e,i){var n,a,r,o=this.chart,s=this.getMeta(),l=this.getScaleForId(s.yAxisID),c=0,d=0;if(l.options.stacked){for(n=0;n<i;n++)if(a=o.data.datasets[n],"line"===(r=o.getDatasetMeta(n)).type&&r.yAxisID===l.id&&o.isDatasetVisible(n)){var u=Number(l.getRightValue(a.data[e]));u<0?d+=u||0:c+=u||0}var h=Number(l.getRightValue(t));return h<0?l.getPixelForValue(d+h):l.getPixelForValue(c+h)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,i,n,a=this.getMeta(),o=this.chart.chartArea,s=a.data||[];function l(t,e,i){return Math.max(Math.min(t,i),e)}if(a.dataset._model.spanGaps&&(s=s.filter(function(t){return!t._model.skip})),"monotone"===a.dataset._model.cubicInterpolationMode)r.splineCurveMonotone(s);else for(t=0,e=s.length;t<e;++t)i=s[t]._model,n=r.splineCurve(r.previousItem(s,t)._model,i,r.nextItem(s,t)._model,a.dataset._model.tension),i.controlPointPreviousX=n.previous.x,i.controlPointPreviousY=n.previous.y,i.controlPointNextX=n.next.x,i.controlPointNextY=n.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,e=s.length;t<e;++t)(i=s[t]._model).controlPointPreviousX=l(i.controlPointPreviousX,o.left,o.right),i.controlPointPreviousY=l(i.controlPointPreviousY,o.top,o.bottom),i.controlPointNextX=l(i.controlPointNextX,o.left,o.right),i.controlPointNextY=l(i.controlPointNextY,o.top,o.bottom)},draw:function(){var t,i=this.chart,n=this.getMeta(),a=n.data||[],o=i.chartArea,s=a.length,l=0;for(e(this.getDataset(),i.options)&&(t=(n.dataset._model.borderWidth||0)/2,r.canvas.clipArea(i.ctx,{left:o.left,right:o.right,top:o.top-t,bottom:o.bottom+t}),n.dataset.draw(),r.canvas.unclipArea(i.ctx));l<s;++l)a[l].draw(o)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,n=t.custom||{},a=t._model;t.$previousStyle={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth,radius:a.radius},a.backgroundColor=n.hoverBackgroundColor||r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,r.getHoverColor(a.backgroundColor)),a.borderColor=n.hoverBorderColor||r.valueAtIndexOrDefault(e.pointHoverBorderColor,i,r.getHoverColor(a.borderColor)),a.borderWidth=n.hoverBorderWidth||r.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,a.borderWidth),a.radius=n.hoverRadius||r.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius)}})}},function(t,e,i){"use strict";var n=i(4),a=i(10),r=i(3);n._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var i=t.data,n=i.datasets,a=i.labels;if(n.length)for(var r=0;r<n[0].data.length;++r)e.push('<li><span style="background-color:'+n[0].backgroundColor[r]+'"></span>'),a[r]&&e.push(a[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var a=t.getDatasetMeta(0),o=e.datasets[0],s=a.data[n].custom||{},l=r.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:i,fillStyle:s.backgroundColor?s.backgroundColor:l(o.backgroundColor,n,c.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(o.borderColor,n,c.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(o.borderWidth,n,c.borderWidth),hidden:isNaN(o.data[n])||a.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,a,r=e.index,o=this.chart;for(i=0,n=(o.data.datasets||[]).length;i<n;++i)(a=o.getDatasetMeta(i)).data[r].hidden=!a.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),t.exports=function(t){t.controllers.polarArea=t.DatasetController.extend({dataElementType:a.Arc,linkScales:r.noop,update:function(t){var e,i,n,a=this,o=a.getDataset(),s=a.getMeta(),l=a.chart.options.startAngle||0,c=a._starts=[],d=a._angles=[];for(a._updateRadius(),s.count=a.countVisibleElements(),e=0,i=o.data.length;e<i;e++)c[e]=l,n=a._computeAngle(e),d[e]=n,l+=n;r.each(s.data,function(e,i){a.updateElement(e,i,t)})},_updateRadius:function(){var t=this,e=t.chart,i=e.chartArea,n=e.options,a=n.elements.arc,r=Math.min(i.right-i.left,i.bottom-i.top);e.outerRadius=Math.max((r-a.borderWidth/2)/2,0),e.innerRadius=Math.max(n.cutoutPercentage?e.outerRadius/100*n.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,i){var n=this,a=n.chart,o=n.getDataset(),s=a.options,l=s.animation,c=a.scale,d=a.data.labels,u=c.xCenter,h=c.yCenter,p=s.startAngle,f=t.hidden?0:c.getDistanceFromCenterForValue(o.data[e]),g=n._starts[e],m=g+(t.hidden?0:n._angles[e]),v=l.animateScale?0:c.getDistanceFromCenterForValue(o.data[e]);r.extend(t,{_datasetIndex:n.index,_index:e,_scale:c,_model:{x:u,y:h,innerRadius:0,outerRadius:i?v:f,startAngle:i&&l.animateRotate?p:g,endAngle:i&&l.animateRotate?p:m,label:r.valueAtIndexOrDefault(d,e,d[e])}});var y=this.chart.options.elements.arc,b=t.custom||{},w=r.valueAtIndexOrDefault,x=t._model;x.backgroundColor=b.backgroundColor?b.backgroundColor:w(o.backgroundColor,e,y.backgroundColor),x.borderColor=b.borderColor?b.borderColor:w(o.borderColor,e,y.borderColor),x.borderWidth=b.borderWidth?b.borderWidth:w(o.borderWidth,e,y.borderWidth),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),i=0;return r.each(e.data,function(e,n){isNaN(t.data[n])||e.hidden||i++}),i},_computeAngle:function(t){var e=this,i=this.getMeta().count,n=e.getDataset(),a=e.getMeta();if(isNaN(n.data[t])||a.data[t].hidden)return 0;var o={chart:e.chart,dataIndex:t,dataset:n,datasetIndex:e.index};return r.options.resolve([e.chart.options.elements.arc.angle,2*Math.PI/i],o,t)}})}},function(t,e,i){"use strict";var n=i(4),a=i(10),r=i(3);n._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),t.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,linkScales:r.noop,update:function(t){var e=this,i=e.getMeta(),n=i.dataset,a=i.data,o=n.custom||{},s=e.getDataset(),l=e.chart.options.elements.line,c=e.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),r.extend(i.dataset,{_datasetIndex:e.index,_scale:c,_children:a,_loop:!0,_model:{tension:o.tension?o.tension:r.valueOrDefault(s.lineTension,l.tension),backgroundColor:o.backgroundColor?o.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:s.borderWidth||l.borderWidth,borderColor:o.borderColor?o.borderColor:s.borderColor||l.borderColor,fill:o.fill?o.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:o.borderDash?o.borderDash:s.borderDash||l.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle}}),i.dataset.pivot(),r.each(a,function(i,n){e.updateElement(i,n,t)},e),e.updateBezierControlPoints()},updateElement:function(t,e,i){var n=this,a=t.custom||{},o=n.getDataset(),s=n.chart.scale,l=n.chart.options.elements.point,c=s.getPointPositionForValue(e,o.data[e]);void 0!==o.radius&&void 0===o.pointRadius&&(o.pointRadius=o.radius),void 0!==o.hitRadius&&void 0===o.pointHitRadius&&(o.pointHitRadius=o.hitRadius),r.extend(t,{_datasetIndex:n.index,_index:e,_scale:s,_model:{x:i?s.xCenter:c.x,y:i?s.yCenter:c.y,tension:a.tension?a.tension:r.valueOrDefault(o.lineTension,n.chart.options.elements.line.tension),radius:a.radius?a.radius:r.valueAtIndexOrDefault(o.pointRadius,e,l.radius),backgroundColor:a.backgroundColor?a.backgroundColor:r.valueAtIndexOrDefault(o.pointBackgroundColor,e,l.backgroundColor),borderColor:a.borderColor?a.borderColor:r.valueAtIndexOrDefault(o.pointBorderColor,e,l.borderColor),borderWidth:a.borderWidth?a.borderWidth:r.valueAtIndexOrDefault(o.pointBorderWidth,e,l.borderWidth),pointStyle:a.pointStyle?a.pointStyle:r.valueAtIndexOrDefault(o.pointStyle,e,l.pointStyle),rotation:a.rotation?a.rotation:r.valueAtIndexOrDefault(o.pointRotation,e,l.rotation),hitRadius:a.hitRadius?a.hitRadius:r.valueAtIndexOrDefault(o.pointHitRadius,e,l.hitRadius)}}),t._model.skip=a.skip?a.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();r.each(e.data,function(i,n){var a=i._model,o=r.splineCurve(r.previousItem(e.data,n,!0)._model,a,r.nextItem(e.data,n,!0)._model,a.tension);a.controlPointPreviousX=Math.max(Math.min(o.previous.x,t.right),t.left),a.controlPointPreviousY=Math.max(Math.min(o.previous.y,t.bottom),t.top),a.controlPointNextX=Math.max(Math.min(o.next.x,t.right),t.left),a.controlPointNextY=Math.max(Math.min(o.next.y,t.bottom),t.top),i.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t.custom||{},n=t._index,a=t._model;t.$previousStyle={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth,radius:a.radius},a.radius=i.hoverRadius?i.hoverRadius:r.valueAtIndexOrDefault(e.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,n,r.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:r.valueAtIndexOrDefault(e.pointHoverBorderColor,n,r.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:r.valueAtIndexOrDefault(e.pointHoverBorderWidth,n,a.borderWidth)}})}},function(t,e,i){"use strict";i(4)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),t.exports=function(t){t.controllers.scatter=t.controllers.line}},function(t,e,i){"use strict";t.exports=function(t){t.Bar=function(e,i){return i.type="bar",new t(e,i)}}},function(t,e,i){"use strict";t.exports=function(t){t.Bubble=function(e,i){return i.type="bubble",new t(e,i)}}},function(t,e,i){"use strict";t.exports=function(t){t.Doughnut=function(e,i){return i.type="doughnut",new t(e,i)}}},function(t,e,i){"use strict";t.exports=function(t){t.Line=function(e,i){return i.type="line",new t(e,i)}}},function(t,e,i){"use strict";t.exports=function(t){t.PolarArea=function(e,i){return i.type="polarArea",new t(e,i)}}},function(t,e,i){"use strict";t.exports=function(t){t.Radar=function(e,i){return i.type="radar",new t(e,i)}}},function(t,e,i){"use strict";t.exports=function(t){t.Scatter=function(e,i){return i.type="scatter",new t(e,i)}}},function(t,e,i){"use strict";t.exports={},t.exports.filler=i(253),t.exports.legend=i(254),t.exports.title=i(255)},function(t,e,i){"use strict";var n=i(4),a=i(10),r=i(3);n._set("global",{plugins:{filler:{propagate:!0}}});var o={dataset:function(t){var e=t.fill,i=t.chart,n=i.getDatasetMeta(e),a=n&&i.isDatasetVisible(e)&&n.dataset._children||[],r=a.length||0;return r?function(t,e){return e<r&&a[e]._view||null}:null},boundary:function(t){var e=t.boundary,i=e?e.x:null,n=e?e.y:null;return function(t){return{x:null===i?t.x:i,y:null===n?t.y:n}}}};function s(t,e,i){var n,a=t._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(n=parseFloat(r,10),isFinite(n)&&Math.floor(n)===n)return"-"!==r[0]&&"+"!==r[0]||(n=e+n),!(n===e||n<0||n>=i)&&n;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function l(t){var e,i=t.el._model||{},n=t.el._scale||{},a=t.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===i.scaleBottom?n.bottom:i.scaleBottom:"end"===a?r=void 0===i.scaleTop?n.top:i.scaleTop:void 0!==i.scaleZero?r=i.scaleZero:n.getBasePosition?r=n.getBasePosition():n.getBasePixel&&(r=n.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return{x:(e=n.isHorizontal())?r:null,y:e?null:r}}return null}function c(t,e,i){var n,a=t[e].fill,r=[e];if(!i)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(n=t[a]))return!1;if(n.visible)return a;r.push(a),a=n.fill}return!1}function d(t){var e=t.fill,i="dataset";return!1===e?null:(isFinite(e)||(i="boundary"),o[i](t))}function u(t){return t&&!t.skip}function h(t,e,i,n,a){var o;if(n&&a){for(t.moveTo(e[0].x,e[0].y),o=1;o<n;++o)r.canvas.lineTo(t,e[o-1],e[o]);for(t.lineTo(i[a-1].x,i[a-1].y),o=a-1;o>0;--o)r.canvas.lineTo(t,i[o],i[o-1],!0)}}t.exports={id:"filler",afterDatasetsUpdate:function(t,e){var i,n,r,o,u=(t.data.datasets||[]).length,h=e.propagate,p=[];for(n=0;n<u;++n)o=null,(r=(i=t.getDatasetMeta(n)).dataset)&&r._model&&r instanceof a.Line&&(o={visible:t.isDatasetVisible(n),fill:s(r,n,u),chart:t,el:r}),i.$filler=o,p.push(o);for(n=0;n<u;++n)(o=p[n])&&(o.fill=c(p,n,h),o.boundary=l(o),o.mapper=d(o))},beforeDatasetDraw:function(t,e){var i=e.meta.$filler;if(i){var a=t.ctx,o=i.el,s=o._view,l=o._children||[],c=i.mapper,d=s.backgroundColor||n.global.defaultColor;c&&d&&l.length&&(r.canvas.clipArea(a,t.chartArea),function(t,e,i,n,a,r){var o,s,l,c,d,p,f,g=e.length,m=n.spanGaps,v=[],y=[],b=0,w=0;for(t.beginPath(),o=0,s=g+!!r;o<s;++o)d=i(c=e[l=o%g]._view,l,n),p=u(c),f=u(d),p&&f?(b=v.push(c),w=y.push(d)):b&&w&&(m?(p&&v.push(c),f&&y.push(d)):(h(t,v,y,b,w),b=w=0,v=[],y=[]));h(t,v,y,b,w),t.closePath(),t.fillStyle=a,t.fill()}(a,l,c,s,d,o._loop),r.canvas.unclipArea(a))}}}},function(t,e,i){"use strict";var n=i(4),a=i(7),r=i(3),o=i(11),s=r.noop;function l(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}n._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var i=e.datasetIndex,n=this.chart,a=n.getDatasetMeta(i);a.hidden=null===a.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return r.isArray(e.datasets)?e.datasets.map(function(e,i){return{text:e.label,fillStyle:r.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(i),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:i}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var i=0;i<t.data.datasets.length;i++)e.push('<li><span style="background-color:'+t.data.datasets[i].backgroundColor+'"></span>'),t.data.datasets[i].label&&e.push(t.data.datasets[i].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var c=a.extend({initialize:function(t){r.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:s,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:function(){var t=this,e=t.options.labels||{},i=r.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(i=i.filter(function(i){return e.filter(i,t.chart.data)})),t.options.reverse&&i.reverse(),t.legendItems=i},afterBuildLabels:s,beforeFit:s,fit:function(){var t=this,e=t.options,i=e.labels,a=e.display,o=t.ctx,s=n.global,c=r.valueOrDefault,d=c(i.fontSize,s.defaultFontSize),u=c(i.fontStyle,s.defaultFontStyle),h=c(i.fontFamily,s.defaultFontFamily),p=r.fontString(d,u,h),f=t.legendHitBoxes=[],g=t.minSize,m=t.isHorizontal();if(m?(g.width=t.maxWidth,g.height=a?10:0):(g.width=a?10:0,g.height=t.maxHeight),a)if(o.font=p,m){var v=t.lineWidths=[0],y=t.legendItems.length?d+i.padding:0;o.textAlign="left",o.textBaseline="top",r.each(t.legendItems,function(e,n){var a=l(i,d)+d/2+o.measureText(e.text).width;v[v.length-1]+a+i.padding>=t.width&&(y+=d+i.padding,v[v.length]=t.left),f[n]={left:0,top:0,width:a,height:d},v[v.length-1]+=a+i.padding}),g.height+=y}else{var b=i.padding,w=t.columnWidths=[],x=i.padding,_=0,k=0,S=d+b;r.each(t.legendItems,function(t,e){var n=l(i,d)+d/2+o.measureText(t.text).width;k+S>g.height&&(x+=_+i.padding,w.push(_),_=0,k=0),_=Math.max(_,n),k+=S,f[e]={left:0,top:0,width:n,height:d}}),x+=_,w.push(_),g.width+=x}t.width=g.width,t.height=g.height},afterFit:s,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,i=e.labels,a=n.global,o=a.elements.line,s=t.width,c=t.lineWidths;if(e.display){var d,u=t.ctx,h=r.valueOrDefault,p=h(i.fontColor,a.defaultFontColor),f=h(i.fontSize,a.defaultFontSize),g=h(i.fontStyle,a.defaultFontStyle),m=h(i.fontFamily,a.defaultFontFamily),v=r.fontString(f,g,m);u.textAlign="left",u.textBaseline="middle",u.lineWidth=.5,u.strokeStyle=p,u.fillStyle=p,u.font=v;var y=l(i,f),b=t.legendHitBoxes,w=t.isHorizontal();d=w?{x:t.left+(s-c[0])/2,y:t.top+i.padding,line:0}:{x:t.left+i.padding,y:t.top+i.padding,line:0};var x=f+i.padding;r.each(t.legendItems,function(n,l){var p=u.measureText(n.text).width,g=y+f/2+p,m=d.x,v=d.y;w?m+g>=s&&(v=d.y+=x,d.line++,m=d.x=t.left+(s-c[d.line])/2):v+x>t.bottom&&(m=d.x=m+t.columnWidths[d.line]+i.padding,v=d.y=t.top+i.padding,d.line++),function(t,i,n){if(!(isNaN(y)||y<=0)){u.save(),u.fillStyle=h(n.fillStyle,a.defaultColor),u.lineCap=h(n.lineCap,o.borderCapStyle),u.lineDashOffset=h(n.lineDashOffset,o.borderDashOffset),u.lineJoin=h(n.lineJoin,o.borderJoinStyle),u.lineWidth=h(n.lineWidth,o.borderWidth),u.strokeStyle=h(n.strokeStyle,a.defaultColor);var s=0===h(n.lineWidth,o.borderWidth);if(u.setLineDash&&u.setLineDash(h(n.lineDash,o.borderDash)),e.labels&&e.labels.usePointStyle){var l=f*Math.SQRT2/2,c=l/Math.SQRT2,d=t+c,p=i+c;r.canvas.drawPoint(u,n.pointStyle,l,d,p)}else s||u.strokeRect(t,i,y,f),u.fillRect(t,i,y,f);u.restore()}}(m,v,n),b[l].left=m,b[l].top=v,function(t,e,i,n){var a=f/2,r=y+a+t,o=e+a;u.fillText(i.text,r,o),i.hidden&&(u.beginPath(),u.lineWidth=2,u.moveTo(r,o),u.lineTo(r+n,o),u.stroke())}(m,v,n,p),w?d.x+=g+i.padding:d.y+=x})}},handleEvent:function(t){var e=this,i=e.options,n="mouseup"===t.type?"click":t.type,a=!1;if("mousemove"===n){if(!i.onHover)return}else{if("click"!==n)return;if(!i.onClick)return}var r=t.x,o=t.y;if(r>=e.left&&r<=e.right&&o>=e.top&&o<=e.bottom)for(var s=e.legendHitBoxes,l=0;l<s.length;++l){var c=s[l];if(r>=c.left&&r<=c.left+c.width&&o>=c.top&&o<=c.top+c.height){if("click"===n){i.onClick.call(e,t.native,e.legendItems[l]),a=!0;break}if("mousemove"===n){i.onHover.call(e,t.native,e.legendItems[l]),a=!0;break}}}return a}});function d(t,e){var i=new c({ctx:t.ctx,options:e,chart:t});o.configure(t,i,e),o.addBox(t,i),t.legend=i}t.exports={id:"legend",_element:c,beforeInit:function(t){var e=t.options.legend;e&&d(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(r.mergeIf(e,n.global.legend),i?(o.configure(t,i,e),i.options=e):d(t,e)):i&&(o.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){var i=t.legend;i&&i.handleEvent(e)}}},function(t,e,i){"use strict";var n=i(4),a=i(7),r=i(3),o=i(11),s=r.noop;n._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var l=a.extend({initialize:function(t){r.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:s,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:s,afterBuildLabels:s,beforeFit:s,fit:function(){var t=this,e=r.valueOrDefault,i=t.options,a=i.display,o=e(i.fontSize,n.global.defaultFontSize),s=t.minSize,l=r.isArray(i.text)?i.text.length:1,c=r.options.toLineHeight(i.lineHeight,o),d=a?l*c+2*i.padding:0;t.isHorizontal()?(s.width=t.maxWidth,s.height=d):(s.width=d,s.height=t.maxHeight),t.width=s.width,t.height=s.height},afterFit:s,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,i=r.valueOrDefault,a=t.options,o=n.global;if(a.display){var s,l,c,d=i(a.fontSize,o.defaultFontSize),u=i(a.fontStyle,o.defaultFontStyle),h=i(a.fontFamily,o.defaultFontFamily),p=r.fontString(d,u,h),f=r.options.toLineHeight(a.lineHeight,d),g=f/2+a.padding,m=0,v=t.top,y=t.left,b=t.bottom,w=t.right;e.fillStyle=i(a.fontColor,o.defaultFontColor),e.font=p,t.isHorizontal()?(l=y+(w-y)/2,c=v+g,s=w-y):(l="left"===a.position?y+g:w-g,c=v+(b-v)/2,s=b-v,m=Math.PI*("left"===a.position?-.5:.5)),e.save(),e.translate(l,c),e.rotate(m),e.textAlign="center",e.textBaseline="middle";var x=a.text;if(r.isArray(x))for(var _=0,k=0;k<x.length;++k)e.fillText(x[k],0,_,s),_+=f;else e.fillText(x,0,0,s);e.restore()}}});function c(t,e){var i=new l({ctx:t.ctx,options:e,chart:t});o.configure(t,i,e),o.addBox(t,i),t.titleBlock=i}t.exports={id:"title",_element:l,beforeInit:function(t){var e=t.options.title;e&&c(t,e)},beforeUpdate:function(t){var e=t.options.title,i=t.titleBlock;e?(r.mergeIf(e,n.global.title),i?(o.configure(t,i,e),i.options=e):c(t,e)):i&&(o.removeBox(t,i),delete t.titleBlock)}}},function(t,e,i){"use strict";var n,a,r,o,s,l,c,d,u,h,p;window.chartColors={red:"#dc3545",orange:"#fd7e14",yellow:"#ffc107",green:"#28a745",blue:"#007bff",purple:"#6f42c1",grey:"#6c757d"},d=["January","February","March","April","May","June","July","August","September","October","November","December"],u=["#4dc9f6","#f67019","#f53794","#537bc4","#acc236","#166a8f","#00a950","#58595b","#8549ba"],h=(n=this).Samples||(n.Samples={}),p=n.Color,h.utils={srand:function(t){this._seed=t},rand:function(t,e){var i=this._seed;return t=void 0===t?0:t,e=void 0===e?1:e,this._seed=(9301*i+49297)%233280,t+this._seed/233280*(e-t)},numbers:function(t){var e,i,n=t||{},a=n.min||0,r=n.max||1,o=n.from||[],s=n.count||8,l=n.decimals||8,c=n.continuity||1,d=Math.pow(10,l)||0,u=[];for(e=0;e<s;++e)i=(o[e]||0)+this.rand(a,r),this.rand()<=c?u.push(Math.round(d*i)/d):u.push(null);return u},labels:function(t){var e,i=t||{},n=i.min||0,a=i.max||100,r=(a-n)/(i.count||8),o=i.decimals||8,s=Math.pow(10,o)||0,l=i.prefix||"",c=[];for(e=n;e<a;e+=r)c.push(l+Math.round(s*e)/s);return c},months:function(t){var e,i,n=t||{},a=n.count||12,r=n.section,o=[];for(e=0;e<a;++e)i=d[Math.ceil(e)%12],o.push(i.substring(0,r));return o},color:function(t){return u[t%u.length]},transparentize:function(t,e){var i=void 0===e?.5:1-e;return p(t).alpha(i).rgbString()}},window.randomScalingFactor=function(){return Math.round(h.utils.rand(-100,100))},h.utils.srand(Date.now()),document.location.hostname.match(/^(www\.)?chartjs\.org$/)&&(a=window,r=document,o="script",s="ga",a.GoogleAnalyticsObject=s,a.ga=a.ga||function(){(a.ga.q=a.ga.q||[]).push(arguments)},a.ga.l=1*new Date,l=r.createElement(o),c=r.getElementsByTagName(o)[0],l.async=1,l.src="//www.google-analytics.com/analytics.js",c.parentNode.insertBefore(l,c),ga("create","UA-28909194-3","auto"),ga("send","pageview"))},function(t,e,i){"use strict";i.r(e),function(t){var e=i(2),n=i.n(e);window.Apex={dataLabels:{enabled:!1},stroke:{width:2}};var a={monthDataSeries1:{prices:[8107.85,8128,8122.9,8165.5,8340.7,8423.7,8423.5,8514.3,8481.85,8487.7,8506.9,8626.2,8668.95,8602.3,8607.55,8512.9,8496.25,8600.65,8881.1,9340.85],dates:["13 Nov 2017","14 Nov 2017","15 Nov 2017","16 Nov 2017","17 Nov 2017","20 Nov 2017","21 Nov 2017","22 Nov 2017","23 Nov 2017","24 Nov 2017","27 Nov 2017","28 Nov 2017","29 Nov 2017","30 Nov 2017","01 Dec 2017","04 Dec 2017","05 Dec 2017","06 Dec 2017","07 Dec 2017","08 Dec 2017"]},monthDataSeries2:{prices:[8423.7,8423.5,8514.3,8481.85,8487.7,8506.9,8626.2,8668.95,8602.3,8607.55,8512.9,8496.25,8600.65,8881.1,9040.85,8340.7,8165.5,8122.9,8107.85,8128],dates:["13 Nov 2017","14 Nov 2017","15 Nov 2017","16 Nov 2017","17 Nov 2017","20 Nov 2017","21 Nov 2017","22 Nov 2017","23 Nov 2017","24 Nov 2017","27 Nov 2017","28 Nov 2017","29 Nov 2017","30 Nov 2017","01 Dec 2017","04 Dec 2017","05 Dec 2017","06 Dec 2017","07 Dec 2017","08 Dec 2017"]},monthDataSeries3:{prices:[7114.25,7126.6,7116.95,7203.7,7233.75,7451,7381.15,7348.95,7347.75,7311.25,7266.4,7253.25,7215.45,7266.35,7315.25,7237.2,7191.4,7238.95,7222.6,7217.9,7359.3,7371.55,7371.15,7469.2,7429.25,7434.65,7451.1,7475.25,7566.25,7556.8,7525.55,7555.45,7560.9,7490.7,7527.6,7551.9,7514.85,7577.95,7592.3,7621.95,7707.95,7859.1,7815.7,7739,7778.7,7839.45,7756.45,7669.2,7580.45,7452.85,7617.25,7701.6,7606.8,7620.05,7513.85,7498.45,7575.45,7601.95,7589.1,7525.85,7569.5,7702.5,7812.7,7803.75,7816.3,7851.15,7912.2,7972.8,8145,8161.1,8121.05,8071.25,8088.2,8154.45,8148.3,8122.05,8132.65,8074.55,7952.8,7885.55,7733.9,7897.15,7973.15,7888.5,7842.8,7838.4,7909.85,7892.75,7897.75,7820.05,7904.4,7872.2,7847.5,7849.55,7789.6,7736.35,7819.4,7875.35,7871.8,8076.5,8114.8,8193.55,8217.1,8235.05,8215.3,8216.4,8301.55,8235.25,8229.75,8201.95,8164.95,8107.85,8128,8122.9,8165.5,8340.7,8423.7,8423.5,8514.3,8481.85,8487.7,8506.9,8626.2],dates:["02 Jun 2017","05 Jun 2017","06 Jun 2017","07 Jun 2017","08 Jun 2017","09 Jun 2017","12 Jun 2017","13 Jun 2017","14 Jun 2017","15 Jun 2017","16 Jun 2017","19 Jun 2017","20 Jun 2017","21 Jun 2017","22 Jun 2017","23 Jun 2017","27 Jun 2017","28 Jun 2017","29 Jun 2017","30 Jun 2017","03 Jul 2017","04 Jul 2017","05 Jul 2017","06 Jul 2017","07 Jul 2017","10 Jul 2017","11 Jul 2017","12 Jul 2017","13 Jul 2017","14 Jul 2017","17 Jul 2017","18 Jul 2017","19 Jul 2017","20 Jul 2017","21 Jul 2017","24 Jul 2017","25 Jul 2017","26 Jul 2017","27 Jul 2017","28 Jul 2017","31 Jul 2017","01 Aug 2017","02 Aug 2017","03 Aug 2017","04 Aug 2017","07 Aug 2017","08 Aug 2017","09 Aug 2017","10 Aug 2017","11 Aug 2017","14 Aug 2017","16 Aug 2017","17 Aug 2017","18 Aug 2017","21 Aug 2017","22 Aug 2017","23 Aug 2017","24 Aug 2017","28 Aug 2017","29 Aug 2017","30 Aug 2017","31 Aug 2017","01 Sep 2017","04 Sep 2017","05 Sep 2017","06 Sep 2017","07 Sep 2017","08 Sep 2017","11 Sep 2017","12 Sep 2017","13 Sep 2017","14 Sep 2017","15 Sep 2017","18 Sep 2017","19 Sep 2017","20 Sep 2017","21 Sep 2017","22 Sep 2017","25 Sep 2017","26 Sep 2017","27 Sep 2017","28 Sep 2017","29 Sep 2017","03 Oct 2017","04 Oct 2017","05 Oct 2017","06 Oct 2017","09 Oct 2017","10 Oct 2017","11 Oct 2017","12 Oct 2017","13 Oct 2017","16 Oct 2017","17 Oct 2017","18 Oct 2017","19 Oct 2017","23 Oct 2017","24 Oct 2017","25 Oct 2017","26 Oct 2017","27 Oct 2017","30 Oct 2017","31 Oct 2017","01 Nov 2017","02 Nov 2017","03 Nov 2017","06 Nov 2017","07 Nov 2017","08 Nov 2017","09 Nov 2017","10 Nov 2017","13 Nov 2017","14 Nov 2017","15 Nov 2017","16 Nov 2017","17 Nov 2017","20 Nov 2017","21 Nov 2017","22 Nov 2017","23 Nov 2017","24 Nov 2017","27 Nov 2017","28 Nov 2017"]}},r={chart:{height:350,type:"radialBar",toolbar:{show:!0}},plotOptions:{radialBar:{startAngle:-135,endAngle:225,hollow:{margin:0,size:"70%",background:"#fff",image:void 0,imageOffsetX:0,imageOffsetY:0,position:"front",dropShadow:{enabled:!0,top:3,left:0,blur:4,opacity:.24}},track:{background:"#fff",strokeWidth:"67%",margin:0,dropShadow:{enabled:!0,top:-3,left:0,blur:4,opacity:.35}},dataLabels:{showOn:"always",name:{offsetY:-10,show:!0,color:"#888",fontSize:"17px"},value:{formatter:function(t){return parseInt(t)},color:"#111",fontSize:"36px",show:!0}}}},fill:{type:"gradient",gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:["#ABE5A1"],inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,100]}},series:[75],stroke:{lineCap:"round"},labels:["Percent"]},o=new n.a(document.querySelector("#chart-radial"),r),s=new n.a(document.querySelector("#bar-vertical-candle"),{chart:{type:"bar",height:200,width:"100%",stacked:!0,foreColor:"#999"},plotOptions:{bar:{dataLabels:{enabled:!1},columnWidth:"75%",endingShape:"rounded"}},colors:["#00C5A4","#F3F2FC"],series:[{name:"Sessions",data:[20,16,24,28,26,22,15,5,14,16,22,29,24,19,15,10,11,15,19,23]},{name:"Views",data:[20,16,24,28,26,22,15,5,14,16,22,29,24,19,15,10,11,15,19,23]}],labels:[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,1,2,3,4],xaxis:{axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{show:!1},labels:{show:!1,style:{fontSize:"14px"}}},grid:{xaxis:{lines:{show:!1}},yaxis:{lines:{show:!1}}},yaxis:{axisBorder:{show:!1},labels:{show:!1}},legend:{floating:!0,position:"top",horizontalAlign:"center",offsetY:15},subtitle:{text:"Sessions and Views"},tooltip:{shared:!0}}),l=new n.a(document.querySelector("#bar-vertical-candle-lg"),{chart:{type:"bar",height:318,width:"100%",stacked:!0,foreColor:"#999"},plotOptions:{bar:{dataLabels:{enabled:!1},columnWidth:"75%",endingShape:"rounded"}},colors:["#6086c5","#d2f5fc"],series:[{name:"Sessions",data:[20,16,24,28,26,22,15,5,14,16,22,29,24,19,15,10,11,15,19,23]},{name:"Views",data:[20,16,24,28,26,22,15,5,14,16,22,29,24,19,15,10,11,15,19,23]}],labels:[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,1,2,3,4],xaxis:{axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{show:!1},labels:{show:!1,style:{fontSize:"14px"}}},grid:{xaxis:{lines:{show:!1}},yaxis:{lines:{show:!1}}},yaxis:{axisBorder:{show:!1},labels:{show:!1}},legend:{floating:!0,position:"top",horizontalAlign:"center",offsetY:15},subtitle:{text:"Sessions and Views"},tooltip:{shared:!0}}),c=new n.a(document.querySelector("#chart-col-1"),{chart:{height:200,type:"bar",sparkline:{enabled:!0}},plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"55%"}},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},series:[{name:"Net Profit",data:[44,55,57,56,61,58,63,60,66]},{name:"Revenue",data:[76,85,101,98,87,105,91,114,94]},{name:"Free Cash Flow",data:[35,41,36,26,45,48,52,53,41]}],xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct"]},yaxis:{title:{text:"$ (thousands)"}},fill:{opacity:1},tooltip:{y:{formatter:function(t){return"$ "+t+" thousands"}}}}),d=new n.a(document.querySelector("#chart-col-2"),{chart:{height:200,type:"line",sparkline:{enabled:!0}},plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"55%"}},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},series:[{name:"Net Profit",data:[44,55,57,56,61,58,63,60,66]},{name:"Revenue",data:[76,85,101,98,87,105,91,114,94]},{name:"Free Cash Flow",data:[35,41,36,26,45,48,52,53,41]}],xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct"]},yaxis:{title:{text:"$ (thousands)"}},fill:{opacity:1},tooltip:{y:{formatter:function(t){return"$ "+t+" thousands"}}}}),u=new n.a(document.querySelector("#chart-col-3"),{chart:{height:200,type:"area",sparkline:{enabled:!0}},plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"55%"}},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},series:[{name:"Net Profit",data:[44,55,57,56,61,58,63,60,66]},{name:"Revenue",data:[76,85,101,98,87,105,91,114,94]},{name:"Free Cash Flow",data:[35,41,36,26,45,48,52,53,41]}],xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct"]},yaxis:{title:{text:"$ (thousands)"}},fill:{opacity:1},tooltip:{y:{formatter:function(t){return"$ "+t+" thousands"}}}}),h={chart:{height:397,type:"line",toolbar:{show:!1}},series:[{name:"Website Blog",type:"column",data:[440,505,414,671,227,413,201,352,752,320,257,160]},{name:"Social Media",type:"line",data:[23,42,35,27,43,22,17,31,22,22,12,16]}],stroke:{width:[0,4]},labels:["01 Jan 2001","02 Jan 2001","03 Jan 2001","04 Jan 2001","05 Jan 2001","06 Jan 2001","07 Jan 2001","08 Jan 2001","09 Jan 2001","10 Jan 2001","11 Jan 2001","12 Jan 2001"],xaxis:{type:"datetime"},yaxis:[{title:{text:"Website Blog"}},{opposite:!0,title:{text:"Social Media"}}]},p=new n.a(document.querySelector("#chart-combined"),h),f={chart:{height:350,type:"area",zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{curve:"straight"},series:[{name:"STOCK ABC",data:a.monthDataSeries1.prices}],title:{text:"Fundamental Analysis of Stocks",align:"left"},subtitle:{text:"Price Movements",align:"left"},labels:a.monthDataSeries1.dates,xaxis:{type:"datetime"},yaxis:{opposite:!0},legend:{horizontalAlign:"left"}},g=new n.a(document.querySelector("#chart-apex-area"),f),m=new n.a(document.querySelector("#chart-apex-negative"),{chart:{height:350,type:"area"},dataLabels:{enabled:!1},stroke:{curve:"straight"},series:[{name:"north",data:[{x:1996,y:322},{x:1997,y:324},{x:1998,y:329},{x:1999,y:342},{x:2e3,y:348},{x:2001,y:334},{x:2002,y:325},{x:2003,y:316},{x:2004,y:318},{x:2005,y:330},{x:2006,y:355},{x:2007,y:366},{x:2008,y:337},{x:2009,y:352},{x:2010,y:377},{x:2011,y:383},{x:2012,y:344},{x:2013,y:366},{x:2014,y:389},{x:2015,y:334}]},{name:"south",data:[{x:1996,y:162},{x:1997,y:90},{x:1998,y:50},{x:1999,y:77},{x:2e3,y:35},{x:2001,y:-45},{x:2002,y:-88},{x:2003,y:-120},{x:2004,y:-156},{x:2005,y:-123},{x:2006,y:-88},{x:2007,y:-66},{x:2008,y:-45},{x:2009,y:-29},{x:2010,y:-45},{x:2011,y:-88},{x:2012,y:-132},{x:2013,y:-146},{x:2014,y:-169},{x:2015,y:-184}]}],title:{text:"Area with Negative Values",align:"left",style:{fontSize:"14px"}},xaxis:{type:"datetime",axisBorder:{show:!1},axisTicks:{show:!1}},yaxis:{tickAmount:4,floating:!1,labels:{style:{color:"#8e8da4"},offsetY:-7,offsetX:0},axisBorder:{show:!1},axisTicks:{show:!1}},fill:{opacity:.5,gradient:{enabled:!1}},tooltip:{x:{format:"yyyy"},fixed:{enabled:!1,position:"topRight"}},grid:{yaxis:{lines:{offsetX:-30}},padding:{left:20}}}),v=new n.a(document.querySelector("#chart-apex-column"),{chart:{height:350,type:"bar"},plotOptions:{bar:{horizontal:!1,endingShape:"rounded",columnWidth:"55%"}},dataLabels:{enabled:!1},stroke:{show:!0,width:2,colors:["transparent"]},series:[{name:"Net Profit",data:[44,55,57,56,61,58,63,60,66]},{name:"Revenue",data:[76,85,101,98,87,105,91,114,94]},{name:"Free Cash Flow",data:[35,41,36,26,45,48,52,53,41]}],xaxis:{categories:["Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct"]},yaxis:{title:{text:"$ (thousands)"}},fill:{opacity:1},tooltip:{y:{formatter:function(t){return"$ "+t+" thousands"}}}}),y={chart:{height:350,type:"bar",stacked:!0},plotOptions:{bar:{horizontal:!0}},stroke:{width:1,colors:["#fff"]},series:[{name:"Marine Sprite",data:[44,55,41,37,22,43,21]},{name:"Striking Calf",data:[53,32,33,52,13,43,32]},{name:"Tank Picture",data:[12,17,11,9,15,11,20]},{name:"Bucket Slope",data:[9,7,5,8,6,9,4]},{name:"Reborn Kid",data:[25,12,19,32,25,24,10]}],title:{text:"Fiction Books Sales"},xaxis:{categories:[2008,2009,2010,2011,2012,2013,2014],labels:{formatter:function(t){return t+"K"}}},yaxis:{title:{text:void 0}},tooltip:{y:{formatter:function(t){return t+"K"}}},fill:{opacity:1},legend:{position:"top",horizontalAlign:"left",offsetX:40}},b=new n.a(document.querySelector("#chart-apex-stacked"),y),w={chart:{height:274,type:"bar",stacked:!0,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!0}},stroke:{width:1,colors:["#fff"]},series:[{name:"Marine",data:[44,55,41,37,22,43]},{name:"Striking",data:[53,32,33,52,13,43]},{name:"Tank",data:[12,17,11,9,15,11]},{name:"Bucket",data:[9,7,5,8,6,9]},{name:"Reborn",data:[25,12,19,32,25,24]}],tooltip:{y:{formatter:function(t){return t+"K"}}},fill:{opacity:1},legend:{position:"top",horizontalAlign:"center"}},x=new n.a(document.querySelector("#chart-apex-stacked-commerce"),w),_=function(t){for(var e,i,n=t.slice(),a=n.length;0!==a;)i=Math.floor(Math.random()*a),e=n[a-=1],n[a]=n[i],n[i]=e;return n},k=[47,45,54,38,56,24,65,31,37,39,62,51,35,41,35,27,93,53,61,27,54,43,19,46],S={chart:{type:"line",width:100,height:35,sparkline:{enabled:!0}},series:[{data:[25,66,41,89,63,25,44,12,36,9,54]}],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},M={chart:{type:"line",width:100,height:35,sparkline:{enabled:!0}},series:[{data:[12,14,2,47,42,15,47,75,65,19,14]}],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},C={chart:{type:"line",width:100,height:35,sparkline:{enabled:!0}},series:[{data:[47,45,74,14,56,74,14,11,7,39,82]}],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},T={chart:{type:"line",width:100,height:35,sparkline:{enabled:!0}},series:[{data:[15,75,47,65,14,2,41,54,4,27,15]}],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},D={chart:{type:"bar",width:100,height:35,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"80%"}},series:[{data:[25,66,41,89,63,25,44,12,36,9,54]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},L={chart:{type:"bar",width:100,height:35,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"80%"}},series:[{data:[12,14,2,47,42,15,47,75,65,19,14]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},E={chart:{type:"bar",width:100,height:35,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"80%"}},series:[{data:[47,45,74,14,56,74,14,11,7,39,82]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},A={chart:{type:"bar",width:100,height:35,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"80%"}},colors:["#4a47c4"],stroke:{width:0,curve:"smooth"},series:[{data:[25,66,41,89,63,25,44,12,36,9,54]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},P={chart:{type:"area",width:100,height:35,sparkline:{enabled:!0}},colors:["#3ac47d"],stroke:{width:2,curve:"smooth"},series:[{data:[25,66,41,89,63,25,44,12,36,9,54]}],labels:[1,2,3,4,5,6,7,8,9,10,11],xaxis:{crosshairs:{width:1}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}}},Y={chart:{type:"area",height:152,sparkline:{enabled:!0}},colors:["#3f6ad8"],stroke:{width:5,curve:"smooth"},markers:{size:0},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}},series:[{data:_(k)}],yaxis:{min:0}},O={chart:{type:"area",height:152,sparkline:{enabled:!0}},colors:["rgba(255,255,255,.8)"],stroke:{width:5,curve:"smooth"},markers:{size:0},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.2,opacityTo:.7,stops:[0,90,100]}},series:[{data:_(k)}],yaxis:{min:0}},I={chart:{type:"area",height:152,sparkline:{enabled:!0}},stroke:{width:5,curve:"smooth"},colors:["#f7b924"],markers:{size:0},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}},series:[{data:_(k)}],yaxis:{min:0}},H={chart:{type:"area",height:152,sparkline:{enabled:!0}},colors:["#3ac47d"],stroke:{width:5,curve:"smooth"},markers:{size:0},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}},series:[{data:_(k)}],yaxis:{min:0}},R={chart:{type:"area",height:332,sparkline:{enabled:!0}},colors:["#3ac47d"],stroke:{width:5,curve:"smooth"},markers:{size:0},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}},series:[{data:_(k)}],yaxis:{min:0}},N={chart:{type:"line",height:100,sparkline:{enabled:!0}},colors:["#3ac47d"],stroke:{width:3,curve:"smooth"},markers:{size:0},tooltip:{fixed:{enabled:!0},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},series:[{data:_(k)}],yaxis:{min:0}},j={chart:{type:"line",height:100,sparkline:{enabled:!0}},stroke:{width:3,curve:"smooth"},colors:["#007bff"],markers:{size:0},tooltip:{fixed:{enabled:!0},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},series:[{data:_(k)}],yaxis:{min:0}},F={chart:{type:"line",height:100,sparkline:{enabled:!0}},colors:["#f7b924"],stroke:{width:3,curve:"smooth"},markers:{size:0},tooltip:{fixed:{enabled:!0},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},series:[{data:_(k)}],yaxis:{min:0}},z={chart:{type:"line",height:100,sparkline:{enabled:!0}},colors:["#d92550"],stroke:{width:3,curve:"smooth"},markers:{size:0},tooltip:{fixed:{enabled:!0},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},series:[{data:_(k)}],yaxis:{min:0}},W={chart:{type:"line",height:120,sparkline:{enabled:!0}},tooltip:{enabled:!1},colors:["#3ac47d"],stroke:{width:3,curve:"smooth"},markers:{size:0},series:[{data:_(k)}],yaxis:{min:0}},B={chart:{type:"bar",height:120,sparkline:{enabled:!0}},tooltip:{enabled:!1},stroke:{width:3,curve:"smooth"},colors:["#007bff"],markers:{size:0},series:[{data:_(k)}],yaxis:{min:0}},V={chart:{type:"area",height:120,sparkline:{enabled:!0}},tooltip:{enabled:!1},colors:["#f7b924"],stroke:{width:3,curve:"smooth"},markers:{size:0},series:[{data:_(k)}],yaxis:{min:0}},$={chart:{height:265,type:"bar",stacked:!1,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!1}},colors:["#007bff","#16aaff"],stroke:{width:0,colors:["#fff"],curve:"smooth"},series:[{name:"Marine",data:[44,55,41,37,22,43]},{name:"Striking",data:[53,32,33,52,13,43]}],tooltip:{y:{formatter:function(t){return t+"K"}}},fill:{opacity:.8},legend:{position:"bottom",horizontalAlign:"center"}},X={chart:{type:"bar",height:174,sparkline:{enabled:!0}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},stroke:{width:2,curve:"smooth"},colors:["rgba(255,255,255,.3)"],markers:{size:0},series:[{data:_(k)}],yaxis:{min:0}},q={chart:{type:"line",height:148,sparkline:{enabled:!0}},tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(t){return""}}},marker:{show:!1}},colors:["rgba(255,255,255,.3)"],stroke:{width:2,curve:"smooth"},markers:{size:0},series:[{data:_(k)}],yaxis:{min:0}};t(document).ready(function(){setTimeout(function(){document.getElementById("chart-apex-area")&&g.render(),document.getElementById("chart-apex-negative")&&m.render(),document.getElementById("chart-apex-column")&&v.render(),document.getElementById("chart-apex-stacked")&&b.render(),document.getElementById("chart-col-1")&&c.render(),document.getElementById("chart-col-2")&&d.render(),document.getElementById("chart-col-3")&&u.render(),document.getElementById("sparkline-chart1")&&new n.a(document.querySelector("#sparkline-chart1"),S).render(),document.getElementById("sparkline-chart2")&&new n.a(document.querySelector("#sparkline-chart2"),M).render(),document.getElementById("sparkline-chart3")&&new n.a(document.querySelector("#sparkline-chart3"),C).render(),document.getElementById("sparkline-chart4")&&new n.a(document.querySelector("#sparkline-chart4"),T).render(),document.getElementById("sparkline-chart5")&&new n.a(document.querySelector("#sparkline-chart5"),D).render(),document.getElementById("sparkline-chart6")&&new n.a(document.querySelector("#sparkline-chart6"),L).render(),document.getElementById("sparkline-chart7")&&new n.a(document.querySelector("#sparkline-chart7"),E).render(),document.getElementById("sparkline-chart8")&&new n.a(document.querySelector("#sparkline-chart8"),A).render(),document.getElementById("sparkline-chart9")&&new n.a(document.querySelector("#sparkline-chart9"),P).render(),document.getElementById("dashboard-sparkline-1")&&new n.a(document.querySelector("#dashboard-sparkline-1"),Y).render(),document.getElementById("dashboard-sparkline-4")&&new n.a(document.querySelector("#dashboard-sparkline-4"),O).render(),document.getElementById("dashboard-sparkline-2")&&new n.a(document.querySelector("#dashboard-sparkline-2"),I).render(),document.getElementById("dashboard-sparkline-3")&&new n.a(document.querySelector("#dashboard-sparkline-3"),H).render(),document.getElementById("dashboard-sparklines-1")&&new n.a(document.querySelector("#dashboard-sparklines-1"),N).render(),document.getElementById("dashboard-sparklines-2")&&new n.a(document.querySelector("#dashboard-sparklines-2"),j).render(),document.getElementById("dashboard-sparklines-3")&&new n.a(document.querySelector("#dashboard-sparklines-3"),F).render(),document.getElementById("dashboard-sparklines-4")&&new n.a(document.querySelector("#dashboard-sparklines-4"),z).render(),document.getElementById("dashboard-sparklines-primary")&&new n.a(document.querySelector("#dashboard-sparklines-primary"),$).render(),document.getElementById("dashboard-sparklines-simple-1")&&new n.a(document.querySelector("#dashboard-sparklines-simple-1"),W).render(),document.getElementById("dashboard-sparklines-simple-2")&&new n.a(document.querySelector("#dashboard-sparklines-simple-2"),B).render(),document.getElementById("dashboard-sparklines-simple-3")&&new n.a(document.querySelector("#dashboard-sparklines-simple-3"),V).render(),document.getElementById("dashboard-sparklines-transparent-2")&&new n.a(document.querySelector("#dashboard-sparklines-transparent-2"),X).render(),document.getElementById("dashboard-sparklines-transparent-3")&&new n.a(document.querySelector("#dashboard-sparklines-transparent-3"),q).render(),document.getElementById("dashboard-sparkline-carousel-1")&&new n.a(document.querySelector("#dashboard-sparkline-carousel-1"),W).render(),document.getElementById("dashboard-sparkline-carousel-2")&&new n.a(document.querySelector("#dashboard-sparkline-carousel-2"),B).render(),document.getElementById("dashboard-sparkline-carousel-3")&&new n.a(document.querySelector("#dashboard-sparkline-carousel-3"),V).render(),document.getElementById("sparkline-carousel-3")&&new n.a(document.querySelector("#sparkline-carousel-3"),W).render(),document.getElementById("dashboard-sparkline-11")&&new n.a(document.querySelector("#dashboard-sparkline-11"),E).render(),document.getElementById("dashboard-sparkline-22")&&new n.a(document.querySelector("#dashboard-sparkline-22"),A).render(),document.getElementById("dashboard-sparkline-33")&&new n.a(document.querySelector("#dashboard-sparkline-33"),P).render(),document.getElementById("chart-apex-stacked-commerce")&&x.render(),document.getElementById("chart-radial")&&o.render(),document.getElementById("chart-combined")&&p.render(),document.getElementById("bar-vertical-candle")&&s.render(),document.getElementById("bar-vertical-candle-lg")&&l.render()},1e3),t(".minimal-tab-btn-1").one("click",function(){setTimeout(function(){new n.a(document.querySelector("#chart-combined-tab"),h).render()},500)}),t(".dd-chart-btn").one("click",function(){setTimeout(function(){document.getElementById("dashboard-sparkline-carousel-3-pop")&&new n.a(document.querySelector("#dashboard-sparkline-carousel-3-pop"),V).render()},500)}),t(".dd-chart-btn-2").one("click",function(){setTimeout(function(){document.getElementById("dashboard-sparkline-carousel-4-pop")&&new n.a(document.querySelector("#dashboard-sparkline-carousel-4-pop"),B).render()},500)}),t(".minimal-tab-btn-3").one("click",function(){setTimeout(function(){new n.a(document.querySelector("#chart-combined-tab-3"),w).render()},500)}),t(".second-tab-toggle").one("click",function(){setTimeout(function(){new n.a(document.querySelector("#dashboard-sparklines-333"),z).render()},500)}),t(".second-tab-toggle-alt").one("click",function(){setTimeout(function(){new n.a(document.querySelector("#dashboard-sparkline-37"),R).render()},500)})})}.call(this,i(0))},function(t,e,i){"use strict";i.r(e),function(t){i(259);t(document).ready(function(){t(function(){t(".bar-sparkline").sparkline([[4,8],[2,7],[2,6],[2,7],[3,5],[2,7],[2,6],[2,7],[3,5],[4,7],[2,5],[3,5],[4,7],[4,7],[5,7],[4,8],[2,7],[2,6],[2,7],[3,5]],{type:"bar",height:"35px",barWidth:"5px",barSpacing:"2px"}),t(".bar-sparkline-2").sparkline("html",{type:"bar",barColor:"#0099ff",height:"35px",barWidth:"5px",barSpacing:"2px"});t(".dynamic-sparkline").sparkline([10,8,5,7,4,4,1],{height:"35px",width:"135px"}),t(".tristate-sparkline").sparkline("html",{type:"tristate",barColor:"var(--primary)",height:"35px",barWidth:"5px",barSpacing:"2px"}),t(".discrete-sparkline").sparkline("html",{type:"discrete",barColor:"var(--primary)",height:"45px",barSpacing:"4px"}),t(".pie-sparkline").sparkline("html",{type:"pie",barColor:"var(--primary)",height:"45px",width:"45px"})})})}.call(this,i(0))},function(t,e,i){var n,a,r;!function(o,s,l){a=[i(0)],void 0===(r="function"==typeof(n=function(t){"use strict";var e,i,n,a,r,l,c,d,u,h,p,f,g,m,v,y,b,w,x,_,k,S,M,C,T,D,L,E,A,P={},Y=0;e=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:void 0,normalRangeMax:void 0,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:void 0,chartRangeMax:void 0,chartRangeMinX:void 0,chartRangeMaxX:void 0,tooltipFormat:new n('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:void 0,nullColor:void 0,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,colorMap:void 0,tooltipFormat:new n('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new n('<span style="color: {{color}}">&#9679;</span> {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:void 0,thresholdValue:0,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,tooltipFormat:new n("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:void 0,tooltipFormat:new n("{{fieldkey:fields}} - {{value}}"),tooltipValueLookups:{fields:{r:"Range",p:"Performance",t:"Target"}}},pie:{offset:0,sliceColors:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],borderWidth:0,borderColor:"#000",tooltipFormat:new n('<span style="color: {{color}}">&#9679;</span> {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:void 0,targetColor:"#4a2",chartRangeMax:void 0,chartRangeMin:void 0,tooltipFormat:new n("{{field:fields}}: {{value}}"),tooltipFormatFieldlistKey:"field",tooltipValueLookups:{fields:{lq:"Lower Quartile",med:"Median",uq:"Upper Quartile",lo:"Left Outlier",ro:"Right Outlier",lw:"Left Whisker",rw:"Right Whisker"}}}}},i=function(){var e,i;return e=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(e.prototype=t.extend(new arguments[0],arguments[arguments.length-1]),e._super=arguments[0].prototype):e.prototype=arguments[arguments.length-1],arguments.length>2&&((i=Array.prototype.slice.call(arguments,1,-1)).unshift(e.prototype),t.extend.apply(t,i))):e.prototype=arguments[0],e.prototype.cls=e,e},t.SPFormatClass=n=i({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(t,e){this.format=t,this.fclass=e},render:function(t,e,i){var n,a,r,o,s,l=this,c=t;return this.format.replace(this.fre,function(){return a=arguments[1],r=arguments[3],(n=l.precre.exec(a))?(s=n[2],a=n[1]):s=!1,void 0===(o=c[a])?"":r&&e&&e[r]?e[r].get?e[r].get(o)||o:e[r][o]||o:(u(o)&&(o=i.get("numberFormatter")?i.get("numberFormatter")(o):g(o,s,i.get("numberDigitGroupCount"),i.get("numberDigitGroupSep"),i.get("numberDecimalMark"))),o)})}}),t.spformat=function(t,e){return new n(t,e)},a=function(t,e,i){return t<e?e:t>i?i:t},r=function(t,e){var i;return 2===e?(i=s.floor(t.length/2),t.length%2?t[i]:(t[i-1]+t[i])/2):t.length%2?(i=(t.length*e+e)/4)%1?(t[s.floor(i)]+t[s.floor(i)-1])/2:t[i-1]:(i=(t.length*e+2)/4)%1?(t[s.floor(i)]+t[s.floor(i)-1])/2:t[i-1]},l=function(t){var e;switch(t){case"undefined":t=void 0;break;case"null":t=null;break;case"true":t=!0;break;case"false":t=!1;break;default:e=parseFloat(t),t==e&&(t=e)}return t},c=function(t){var e,i=[];for(e=t.length;e--;)i[e]=l(t[e]);return i},d=function(t,e){var i,n,a=[];for(i=0,n=t.length;i<n;i++)t[i]!==e&&a.push(t[i]);return a},u=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},g=function(e,i,n,a,r){var o,s;for(e=(!1===i?parseFloat(e).toString():e.toFixed(i)).split(""),(o=(o=t.inArray(".",e))<0?e.length:o)<e.length&&(e[o]=r),s=o-n;s>0;s-=n)e.splice(s,0,a);return e.join("")},h=function(t,e,i){var n;for(n=e.length;n--;)if((!i||null!==e[n])&&e[n]!==t)return!1;return!0},f=function(e){return t.isArray(e)?e:[e]},p=function(t){var e,i;if(o.createStyleSheet)try{return void(o.createStyleSheet().cssText=t)}catch(t){i=!0}(e=o.createElement("style")).type="text/css",o.getElementsByTagName("head")[0].appendChild(e),i?o.styleSheets[o.styleSheets.length-1].cssText=t:e["string"==typeof o.body.style.WebkitAppearance?"innerText":"innerHTML"]=t},t.fn.simpledraw=function(e,i,n,a){var r,s;if(n&&(r=this.data("_jqs_vcanvas")))return r;if(!1===t.fn.sparkline.canvas)return!1;if(void 0===t.fn.sparkline.canvas){var l=o.createElement("canvas");if(l.getContext&&l.getContext("2d"))t.fn.sparkline.canvas=function(t,e,i,n){return new L(t,e,i,n)};else{if(!o.namespaces||o.namespaces.v)return t.fn.sparkline.canvas=!1,!1;o.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),t.fn.sparkline.canvas=function(t,e,i,n){return new E(t,e,i)}}}return void 0===e&&(e=t(this).innerWidth()),void 0===i&&(i=t(this).innerHeight()),r=t.fn.sparkline.canvas(e,i,this,a),(s=t(this).data("_jqs_mhandler"))&&s.registerCanvas(r),r},t.fn.cleardraw=function(){var t=this.data("_jqs_vcanvas");t&&t.reset()},t.RangeMapClass=m=i({init:function(t){var e,i,n=[];for(e in t)t.hasOwnProperty(e)&&"string"==typeof e&&e.indexOf(":")>-1&&((i=e.split(":"))[0]=0===i[0].length?-1/0:parseFloat(i[0]),i[1]=0===i[1].length?1/0:parseFloat(i[1]),i[2]=t[e],n.push(i));this.map=t,this.rangelist=n||!1},get:function(t){var e,i,n,a=this.rangelist;if(void 0!==(n=this.map[t]))return n;if(a)for(e=a.length;e--;)if((i=a[e])[0]<=t&&i[1]>=t)return i[2]}}),t.range_map=function(t){return new m(t)},v=i({init:function(e,i){var n=t(e);this.$el=n,this.options=i,this.currentPageX=0,this.currentPageY=0,this.el=e,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!i.get("disableTooltips"),this.highlightEnabled=!i.get("disableHighlight")},registerSparkline:function(t){this.splist.push(t),this.over&&this.updateDisplay()},registerCanvas:function(e){var i=t(e.canvas);this.canvas=e,this.$canvas=i,i.mouseenter(t.proxy(this.mouseenter,this)),i.mouseleave(t.proxy(this.mouseleave,this)),i.click(t.proxy(this.mouseclick,this))},reset:function(t){this.splist=[],this.tooltip&&t&&(this.tooltip.remove(),this.tooltip=void 0)},mouseclick:function(e){var i=t.Event("sparklineClick");i.originalEvent=e,i.sparklines=this.splist,this.$el.trigger(i)},mouseenter:function(e){t(o.body).unbind("mousemove.jqs"),t(o.body).bind("mousemove.jqs",t.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new y(this.options),this.tooltip.updatePosition(e.pageX,e.pageY)),this.updateDisplay()},mouseleave:function(){t(o.body).unbind("mousemove.jqs");var e,i=this.splist,n=i.length,a=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),e=0;e<n;e++)i[e].clearRegionHighlight()&&(a=!0);a&&this.canvas.render()},mousemove:function(t){this.currentPageX=t.pageX,this.currentPageY=t.pageY,this.currentEl=t.target,this.tooltip&&this.tooltip.updatePosition(t.pageX,t.pageY),this.updateDisplay()},updateDisplay:function(){var e,i,n,a,r,o=this.splist,s=o.length,l=!1,c=this.$canvas.offset(),d=this.currentPageX-c.left,u=this.currentPageY-c.top;if(this.over){for(n=0;n<s;n++)i=o[n],(a=i.setRegionHighlight(this.currentEl,d,u))&&(l=!0);if(l){if((r=t.Event("sparklineRegionChange")).sparklines=this.splist,this.$el.trigger(r),this.tooltip){for(e="",n=0;n<s;n++)i=o[n],e+=i.getCurrentRegionTooltip();this.tooltip.setContent(e)}this.disableHighlight||this.canvas.render()}null===a&&this.mouseleave()}}}),y=i({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(e){var i,n=e.get("tooltipClassname","jqstooltip"),a=this.sizeStyle;this.container=e.get("tooltipContainer")||o.body,this.tooltipOffsetX=e.get("tooltipOffsetX",10),this.tooltipOffsetY=e.get("tooltipOffsetY",12),t("#jqssizetip").remove(),t("#jqstooltip").remove(),this.sizetip=t("<div/>",{id:"jqssizetip",style:a,class:n}),this.tooltip=t("<div/>",{id:"jqstooltip",class:n}).appendTo(this.container),i=this.tooltip.offset(),this.offsetLeft=i.left,this.offsetTop=i.top,this.hidden=!0,t(window).unbind("resize.jqs scroll.jqs"),t(window).bind("resize.jqs scroll.jqs",t.proxy(this.updateWindowDims,this)),this.updateWindowDims()},updateWindowDims:function(){this.scrollTop=t(window).scrollTop(),this.scrollLeft=t(window).scrollLeft(),this.scrollRight=this.scrollLeft+t(window).width(),this.updatePosition()},getSize:function(t){this.sizetip.html(t).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(t){if(!t)return this.tooltip.css("visibility","hidden"),void(this.hidden=!0);this.getSize(t),this.tooltip.html(t).css({width:this.width,height:this.height,visibility:"visible"}),this.hidden&&(this.hidden=!1,this.updatePosition())},updatePosition:function(t,e){if(void 0===t){if(void 0===this.mousex)return;t=this.mousex-this.offsetLeft,e=this.mousey-this.offsetTop}else this.mousex=t-=this.offsetLeft,this.mousey=e-=this.offsetTop;this.height&&this.width&&!this.hidden&&(e-=this.height+this.tooltipOffsetY,t+=this.tooltipOffsetX,e<this.scrollTop&&(e=this.scrollTop),t<this.scrollLeft?t=this.scrollLeft:t+this.width>this.scrollRight&&(t=this.scrollRight-this.width),this.tooltip.css({left:t,top:e}))},remove:function(){this.tooltip.remove(),this.sizetip.remove(),this.sizetip=this.tooltip=void 0,t(window).unbind("resize.jqs scroll.jqs")}}),t(function(){p('.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;box-sizing: content-box;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}')}),A=[],t.fn.sparkline=function(e,i){return this.each(function(){var n,a,r=new t.fn.sparkline.options(this,i),s=t(this);if(n=function(){var i,n,a,l,c,d,u;"html"===e||void 0===e?(null==(u=this.getAttribute(r.get("tagValuesAttribute")))&&(u=s.html()),i=u.replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(",")):i=e,n="auto"===r.get("width")?i.length*r.get("defaultPixelsPerValue"):r.get("width"),"auto"===r.get("height")?r.get("composite")&&t.data(this,"_jqs_vcanvas")||((l=o.createElement("span")).innerHTML="a",s.html(l),a=t(l).innerHeight()||t(l).height(),t(l).remove(),l=null):a=r.get("height"),r.get("disableInteraction")?c=!1:(c=t.data(this,"_jqs_mhandler"))?r.get("composite")||c.reset():(c=new v(this,r),t.data(this,"_jqs_mhandler",c)),!r.get("composite")||t.data(this,"_jqs_vcanvas")?((d=new(t.fn.sparkline[r.get("type")])(this,i,r,n,a)).render(),c&&c.registerSparkline(d)):t.data(this,"_jqs_errnotify")||(alert("Attempted to attach a composite sparkline to an element with no existing sparkline"),t.data(this,"_jqs_errnotify",!0))},t(this).html()&&!r.get("disableHiddenCheck")&&t(this).is(":hidden")||!t(this).parents("body").length){if(!r.get("composite")&&t.data(this,"_jqs_pending"))for(a=A.length;a;a--)A[a-1][0]==this&&A.splice(a-1,1);A.push([this,n]),t.data(this,"_jqs_pending",!0)}else n.call(this)})},t.fn.sparkline.defaults=e(),t.sparkline_display_visible=function(){var e,i,n,a=[];for(i=0,n=A.length;i<n;i++)e=A[i][0],t(e).is(":visible")&&!t(e).parents().is(":hidden")?(A[i][1].call(e),t.data(A[i][0],"_jqs_pending",!1),a.push(i)):t(e).closest("html").length||t.data(e,"_jqs_pending")||(t.data(A[i][0],"_jqs_pending",!1),a.push(i));for(i=a.length;i;i--)A.splice(a[i-1],1)},t.fn.sparkline.options=i({init:function(e,i){var n,a,r,o;this.userOptions=i=i||{},this.tag=e,this.tagValCache={},a=t.fn.sparkline.defaults,r=a.common,this.tagOptionsPrefix=i.enableTagOptions&&(i.tagOptionsPrefix||r.tagOptionsPrefix),o=this.getTagSetting("type"),n=o===P?a[i.type||r.type]:a[o],this.mergedOptions=t.extend({},r,n,i)},getTagSetting:function(t){var e,i,n,a,r=this.tagOptionsPrefix;if(!1===r||void 0===r)return P;if(this.tagValCache.hasOwnProperty(t))e=this.tagValCache.key;else{if(null==(e=this.tag.getAttribute(r+t)))e=P;else if("["===e.substr(0,1))for(e=e.substr(1,e.length-2).split(","),i=e.length;i--;)e[i]=l(e[i].replace(/(^\s*)|(\s*$)/g,""));else if("{"===e.substr(0,1))for(n=e.substr(1,e.length-2).split(","),e={},i=n.length;i--;)a=n[i].split(":",2),e[a[0].replace(/(^\s*)|(\s*$)/g,"")]=l(a[1].replace(/(^\s*)|(\s*$)/g,""));else e=l(e);this.tagValCache.key=e}return e},get:function(t,e){var i,n=this.getTagSetting(t);return n!==P?n:void 0===(i=this.mergedOptions[t])?e:i}}),t.fn.sparkline._base=i({disabled:!1,init:function(e,i,n,a,r){this.el=e,this.$el=t(e),this.values=i,this.options=n,this.width=a,this.height=r,this.currentRegion=void 0},initTarget:function(){var t=!this.options.get("disableInteraction");(this.target=this.$el.simpledraw(this.width,this.height,this.options.get("composite"),t))?(this.canvasWidth=this.target.pixelWidth,this.canvasHeight=this.target.pixelHeight):this.disabled=!0},render:function(){return!this.disabled||(this.el.innerHTML="",!1)},getRegion:function(t,e){},setRegionHighlight:function(t,e,i){var n,a=this.currentRegion,r=!this.options.get("disableHighlight");return e>this.canvasWidth||i>this.canvasHeight||e<0||i<0?null:(n=this.getRegion(t,e,i),a!==n&&(void 0!==a&&r&&this.removeHighlight(),this.currentRegion=n,void 0!==n&&r&&this.renderHighlight(),!0))},clearRegionHighlight:function(){return void 0!==this.currentRegion&&(this.removeHighlight(),this.currentRegion=void 0,!0)},renderHighlight:function(){this.changeHighlight(!0)},removeHighlight:function(){this.changeHighlight(!1)},changeHighlight:function(t){},getCurrentRegionTooltip:function(){var e,i,a,r,o,s,l,c,d,u,h,p,f,g,m=this.options,v="",y=[];if(void 0===this.currentRegion)return"";if(e=this.getCurrentRegionFields(),h=m.get("tooltipFormatter"))return h(this,m,e);if(m.get("tooltipChartTitle")&&(v+='<div class="jqs jqstitle">'+m.get("tooltipChartTitle")+"</div>\n"),!(i=this.options.get("tooltipFormat")))return"";if(t.isArray(i)||(i=[i]),t.isArray(e)||(e=[e]),l=this.options.get("tooltipFormatFieldlist"),c=this.options.get("tooltipFormatFieldlistKey"),l&&c){for(d=[],s=e.length;s--;)u=e[s][c],-1!=(g=t.inArray(u,l))&&(d[g]=e[s]);e=d}for(a=i.length,f=e.length,s=0;s<a;s++)for("string"==typeof(p=i[s])&&(p=new n(p)),r=p.fclass||"jqsfield",g=0;g<f;g++)e[g].isNull&&m.get("tooltipSkipNull")||(t.extend(e[g],{prefix:m.get("tooltipPrefix"),suffix:m.get("tooltipSuffix")}),o=p.render(e[g],m.get("tooltipValueLookups"),m),y.push('<div class="'+r+'">'+o+"</div>"));return y.length?v+y.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(t,e){var i,n,r,o,l=e.get("highlightColor"),c=e.get("highlightLighten");if(l)return l;if(c&&(i=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(t)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(t))){for(r=[],n=4===t.length?16:1,o=0;o<3;o++)r[o]=a(s.round(parseInt(i[o+1],16)*n*c),0,255);return"rgb("+r.join(",")+")"}return t}}),b={changeHighlight:function(e){var i,n=this.currentRegion,a=this.target,r=this.regionShapes[n];r&&(i=this.renderRegion(n,e),t.isArray(i)||t.isArray(r)?(a.replaceWithShapes(r,i),this.regionShapes[n]=t.map(i,function(t){return t.id})):(a.replaceWithShape(r,i),this.regionShapes[n]=i.id))},render:function(){var e,i,n,a,r=this.values,o=this.target,s=this.regionShapes;if(this.cls._super.render.call(this)){for(n=r.length;n--;)if(e=this.renderRegion(n))if(t.isArray(e)){for(i=[],a=e.length;a--;)e[a].append(),i.push(e[a].id);s[n]=i}else e.append(),s[n]=e.id;else s[n]=null;o.render()}}},t.fn.sparkline.line=w=i(t.fn.sparkline._base,{type:"line",init:function(t,e,i,n,a){w._super.init.call(this,t,e,i,n,a),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(t,e,i){var n,a=this.regionMap;for(n=a.length;n--;)if(null!==a[n]&&e>=a[n][0]&&e<=a[n][1])return a[n][2]},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:null===this.yvalues[t],x:this.xvalues[t],y:this.yvalues[t],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:t}},renderHighlight:function(){var t,e,i=this.currentRegion,n=this.target,a=this.vertices[i],r=this.options,o=r.get("spotRadius"),s=r.get("highlightSpotColor"),l=r.get("highlightLineColor");a&&(o&&s&&(t=n.drawCircle(a[0],a[1],o,void 0,s),this.highlightSpotId=t.id,n.insertAfterShape(this.lastShapeId,t)),l&&(e=n.drawLine(a[0],this.canvasTop,a[0],this.canvasTop+this.canvasHeight,l),this.highlightLineId=e.id,n.insertAfterShape(this.lastShapeId,e)))},removeHighlight:function(){var t=this.target;this.highlightSpotId&&(t.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(t.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){var t,e,i,n,a,r=this.values,o=r.length,l=this.xvalues,c=this.yvalues,d=this.yminmax;for(t=0;t<o;t++)e=r[t],i="string"==typeof r[t],n="object"==typeof r[t]&&r[t]instanceof Array,a=i&&r[t].split(":"),i&&2===a.length?(l.push(Number(a[0])),c.push(Number(a[1])),d.push(Number(a[1]))):n?(l.push(e[0]),c.push(e[1]),d.push(e[1])):(l.push(t),null===r[t]||"null"===r[t]?c.push(null):(c.push(Number(e)),d.push(Number(e))));this.options.get("xvalues")&&(l=this.options.get("xvalues")),this.maxy=this.maxyorg=s.max.apply(s,d),this.miny=this.minyorg=s.min.apply(s,d),this.maxx=s.max.apply(s,l),this.minx=s.min.apply(s,l),this.xvalues=l,this.yvalues=c,this.yminmax=d},processRangeOptions:function(){var t=this.options,e=t.get("normalRangeMin"),i=t.get("normalRangeMax");void 0!==e&&(e<this.miny&&(this.miny=e),i>this.maxy&&(this.maxy=i)),void 0!==t.get("chartRangeMin")&&(t.get("chartRangeClip")||t.get("chartRangeMin")<this.miny)&&(this.miny=t.get("chartRangeMin")),void 0!==t.get("chartRangeMax")&&(t.get("chartRangeClip")||t.get("chartRangeMax")>this.maxy)&&(this.maxy=t.get("chartRangeMax")),void 0!==t.get("chartRangeMinX")&&(t.get("chartRangeClipX")||t.get("chartRangeMinX")<this.minx)&&(this.minx=t.get("chartRangeMinX")),void 0!==t.get("chartRangeMaxX")&&(t.get("chartRangeClipX")||t.get("chartRangeMaxX")>this.maxx)&&(this.maxx=t.get("chartRangeMaxX"))},drawNormalRange:function(t,e,i,n,a){var r=this.options.get("normalRangeMin"),o=this.options.get("normalRangeMax"),l=e+s.round(i-i*((o-this.miny)/a)),c=s.round(i*(o-r)/a);this.target.drawRect(t,l,n,c,void 0,this.options.get("normalRangeColor")).append()},render:function(){var e,i,n,a,r,o,l,c,d,u,h,p,f,g,v,y,b,x,_,k,S,M,C,T,D,L=this.options,E=this.target,A=this.canvasWidth,P=this.canvasHeight,Y=this.vertices,O=L.get("spotRadius"),I=this.regionMap;if(w._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),C=this.xvalues,T=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(a=r=0,e=this.maxx-this.minx==0?1:this.maxx-this.minx,i=this.maxy-this.miny==0?1:this.maxy-this.miny,n=this.yvalues.length-1,O&&(A<4*O||P<4*O)&&(O=0),O&&(((S=L.get("highlightSpotColor")&&!L.get("disableInteraction"))||L.get("minSpotColor")||L.get("spotColor")&&T[n]===this.miny)&&(P-=s.ceil(O)),(S||L.get("maxSpotColor")||L.get("spotColor")&&T[n]===this.maxy)&&(P-=s.ceil(O),a+=s.ceil(O)),(S||(L.get("minSpotColor")||L.get("maxSpotColor"))&&(T[0]===this.miny||T[0]===this.maxy))&&(r+=s.ceil(O),A-=s.ceil(O)),(S||L.get("spotColor")||L.get("minSpotColor")||L.get("maxSpotColor")&&(T[n]===this.miny||T[n]===this.maxy))&&(A-=s.ceil(O))),P--,void 0===L.get("normalRangeMin")||L.get("drawNormalOnTop")||this.drawNormalRange(r,a,P,A,i),c=[l=[]],g=v=null,y=T.length,D=0;D<y;D++)d=C[D],h=C[D+1],u=T[D],p=r+s.round((d-this.minx)*(A/e)),f=D<y-1?r+s.round((h-this.minx)*(A/e)):A,v=p+(f-p)/2,I[D]=[g||0,v,D],g=v,null===u?D&&(null!==T[D-1]&&(l=[],c.push(l)),Y.push(null)):(u<this.miny&&(u=this.miny),u>this.maxy&&(u=this.maxy),l.length||l.push([p,a+P]),o=[p,a+s.round(P-P*((u-this.miny)/i))],l.push(o),Y.push(o));for(b=[],x=[],_=c.length,D=0;D<_;D++)(l=c[D]).length&&(L.get("fillColor")&&(l.push([l[l.length-1][0],a+P]),x.push(l.slice(0)),l.pop()),l.length>2&&(l[0]=[l[0][0],l[1][1]]),b.push(l));for(_=x.length,D=0;D<_;D++)E.drawShape(x[D],L.get("fillColor"),L.get("fillColor")).append();for(void 0!==L.get("normalRangeMin")&&L.get("drawNormalOnTop")&&this.drawNormalRange(r,a,P,A,i),_=b.length,D=0;D<_;D++)E.drawShape(b[D],L.get("lineColor"),void 0,L.get("lineWidth")).append();if(O&&L.get("valueSpots"))for(void 0===(k=L.get("valueSpots")).get&&(k=new m(k)),D=0;D<y;D++)(M=k.get(T[D]))&&E.drawCircle(r+s.round((C[D]-this.minx)*(A/e)),a+s.round(P-P*((T[D]-this.miny)/i)),O,void 0,M).append();O&&L.get("spotColor")&&null!==T[n]&&E.drawCircle(r+s.round((C[C.length-1]-this.minx)*(A/e)),a+s.round(P-P*((T[n]-this.miny)/i)),O,void 0,L.get("spotColor")).append(),this.maxy!==this.minyorg&&(O&&L.get("minSpotColor")&&(d=C[t.inArray(this.minyorg,T)],E.drawCircle(r+s.round((d-this.minx)*(A/e)),a+s.round(P-P*((this.minyorg-this.miny)/i)),O,void 0,L.get("minSpotColor")).append()),O&&L.get("maxSpotColor")&&(d=C[t.inArray(this.maxyorg,T)],E.drawCircle(r+s.round((d-this.minx)*(A/e)),a+s.round(P-P*((this.maxyorg-this.miny)/i)),O,void 0,L.get("maxSpotColor")).append())),this.lastShapeId=E.getLastShapeId(),this.canvasTop=a,E.render()}}}),t.fn.sparkline.bar=x=i(t.fn.sparkline._base,b,{type:"bar",init:function(e,i,n,r,o){var u,h,p,f,g,v,y,b,w,_,k,S,M,C,T,D,L,E,A,P,Y,O=parseInt(n.get("barWidth"),10),I=parseInt(n.get("barSpacing"),10),H=n.get("chartRangeMin"),R=n.get("chartRangeMax"),N=n.get("chartRangeClip"),j=1/0,F=-1/0;for(x._super.init.call(this,e,i,n,r,o),v=0,y=i.length;v<y;v++)P=i[v],((u="string"==typeof P&&P.indexOf(":")>-1)||t.isArray(P))&&(T=!0,u&&(P=i[v]=c(P.split(":"))),P=d(P,null),h=s.min.apply(s,P),p=s.max.apply(s,P),h<j&&(j=h),p>F&&(F=p));this.stacked=T,this.regionShapes={},this.barWidth=O,this.barSpacing=I,this.totalBarWidth=O+I,this.width=r=i.length*O+(i.length-1)*I,this.initTarget(),N&&(M=void 0===H?-1/0:H,C=void 0===R?1/0:R),g=[],f=T?[]:g;var z=[],W=[];for(v=0,y=i.length;v<y;v++)if(T)for(D=i[v],i[v]=A=[],z[v]=0,f[v]=W[v]=0,L=0,E=D.length;L<E;L++)null!==(P=A[L]=N?a(D[L],M,C):D[L])&&(P>0&&(z[v]+=P),j<0&&F>0?P<0?W[v]+=s.abs(P):f[v]+=P:f[v]+=s.abs(P-(P<0?F:j)),g.push(P));else P=N?a(i[v],M,C):i[v],null!==(P=i[v]=l(P))&&g.push(P);this.max=S=s.max.apply(s,g),this.min=k=s.min.apply(s,g),this.stackMax=F=T?s.max.apply(s,z):S,this.stackMin=j=T?s.min.apply(s,g):k,void 0!==n.get("chartRangeMin")&&(n.get("chartRangeClip")||n.get("chartRangeMin")<k)&&(k=n.get("chartRangeMin")),void 0!==n.get("chartRangeMax")&&(n.get("chartRangeClip")||n.get("chartRangeMax")>S)&&(S=n.get("chartRangeMax")),this.zeroAxis=w=n.get("zeroAxis",!0),_=k<=0&&S>=0&&w?0:0==w?k:k>0?k:S,this.xaxisOffset=_,b=T?s.max.apply(s,f)+s.max.apply(s,W):S-k,this.canvasHeightEf=w&&k<0?this.canvasHeight-2:this.canvasHeight-1,k<_?(Y=((T&&S>=0?F:S)-_)/b*this.canvasHeight)!==s.ceil(Y)&&(this.canvasHeightEf-=2,Y=s.ceil(Y)):Y=this.canvasHeight,this.yoffset=Y,t.isArray(n.get("colorMap"))?(this.colorMapByIndex=n.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=n.get("colorMap"),this.colorMapByValue&&void 0===this.colorMapByValue.get&&(this.colorMapByValue=new m(this.colorMapByValue))),this.range=b},getRegion:function(t,e,i){var n=s.floor(e/this.totalBarWidth);return n<0||n>=this.values.length?void 0:n},getCurrentRegionFields:function(){var t,e,i=this.currentRegion,n=f(this.values[i]),a=[];for(e=n.length;e--;)t=n[e],a.push({isNull:null===t,value:t,color:this.calcColor(e,t,i),offset:i});return a},calcColor:function(e,i,n){var a,r,o=this.colorMapByIndex,s=this.colorMapByValue,l=this.options;return a=this.stacked?l.get("stackedBarColor"):i<0?l.get("negBarColor"):l.get("barColor"),0===i&&void 0!==l.get("zeroColor")&&(a=l.get("zeroColor")),s&&(r=s.get(i))?a=r:o&&o.length>n&&(a=o[n]),t.isArray(a)?a[e%a.length]:a},renderRegion:function(e,i){var n,a,r,o,l,c,d,u,p,f,g=this.values[e],m=this.options,v=this.xaxisOffset,y=[],b=this.range,w=this.stacked,x=this.target,_=e*this.totalBarWidth,k=this.canvasHeightEf,S=this.yoffset;if(g=t.isArray(g)?g:[g],d=g.length,u=g[0],o=h(null,g),f=h(v,g,!0),o)return m.get("nullColor")?(r=i?m.get("nullColor"):this.calcHighlightColor(m.get("nullColor"),m),n=S>0?S-1:S,x.drawRect(_,n,this.barWidth-1,0,r,r)):void 0;for(l=S,c=0;c<d;c++){if(u=g[c],w&&u===v){if(!f||p)continue;p=!0}a=b>0?s.floor(k*(s.abs(u-v)/b))+1:1,u<v||u===v&&0===S?(n=l,l+=a):(n=S-a,S-=a),r=this.calcColor(c,u,e),i&&(r=this.calcHighlightColor(r,m)),y.push(x.drawRect(_,n,this.barWidth-1,a-1,r,r))}return 1===y.length?y[0]:y}}),t.fn.sparkline.tristate=_=i(t.fn.sparkline._base,b,{type:"tristate",init:function(e,i,n,a,r){var o=parseInt(n.get("barWidth"),10),s=parseInt(n.get("barSpacing"),10);_._super.init.call(this,e,i,n,a,r),this.regionShapes={},this.barWidth=o,this.barSpacing=s,this.totalBarWidth=o+s,this.values=t.map(i,Number),this.width=a=i.length*o+(i.length-1)*s,t.isArray(n.get("colorMap"))?(this.colorMapByIndex=n.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=n.get("colorMap"),this.colorMapByValue&&void 0===this.colorMapByValue.get&&(this.colorMapByValue=new m(this.colorMapByValue))),this.initTarget()},getRegion:function(t,e,i){return s.floor(e/this.totalBarWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:void 0===this.values[t],value:this.values[t],color:this.calcColor(this.values[t],t),offset:t}},calcColor:function(t,e){var i,n=this.values,a=this.options,r=this.colorMapByIndex,o=this.colorMapByValue;return o&&(i=o.get(t))?i:r&&r.length>e?r[e]:n[e]<0?a.get("negBarColor"):n[e]>0?a.get("posBarColor"):a.get("zeroBarColor")},renderRegion:function(t,e){var i,n,a,r,o,l,c=this.values,d=this.options,u=this.target;if(i=u.pixelHeight,a=s.round(i/2),r=t*this.totalBarWidth,c[t]<0?(o=a,n=a-1):c[t]>0?(o=0,n=a-1):(o=a-1,n=2),null!==(l=this.calcColor(c[t],t)))return e&&(l=this.calcHighlightColor(l,d)),u.drawRect(r,o,this.barWidth-1,n-1,l,l)}}),t.fn.sparkline.discrete=k=i(t.fn.sparkline._base,b,{type:"discrete",init:function(e,i,n,a,r){k._super.init.call(this,e,i,n,a,r),this.regionShapes={},this.values=i=t.map(i,Number),this.min=s.min.apply(s,i),this.max=s.max.apply(s,i),this.range=this.max-this.min,this.width=a="auto"===n.get("width")?2*i.length:this.width,this.interval=s.floor(a/i.length),this.itemWidth=a/i.length,void 0!==n.get("chartRangeMin")&&(n.get("chartRangeClip")||n.get("chartRangeMin")<this.min)&&(this.min=n.get("chartRangeMin")),void 0!==n.get("chartRangeMax")&&(n.get("chartRangeClip")||n.get("chartRangeMax")>this.max)&&(this.max=n.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===n.get("lineHeight")?s.round(.3*this.canvasHeight):n.get("lineHeight"))},getRegion:function(t,e,i){return s.floor(e/this.itemWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:void 0===this.values[t],value:this.values[t],offset:t}},renderRegion:function(t,e){var i,n,r,o,l=this.values,c=this.options,d=this.min,u=this.max,h=this.range,p=this.interval,f=this.target,g=this.canvasHeight,m=this.lineHeight,v=g-m;return n=a(l[t],d,u),o=t*p,i=s.round(v-v*((n-d)/h)),r=c.get("thresholdColor")&&n<c.get("thresholdValue")?c.get("thresholdColor"):c.get("lineColor"),e&&(r=this.calcHighlightColor(r,c)),f.drawLine(o,i,o,i+m,r)}}),t.fn.sparkline.bullet=S=i(t.fn.sparkline._base,{type:"bullet",init:function(t,e,i,n,a){var r,o,l;S._super.init.call(this,t,e,i,n,a),this.values=e=c(e),(l=e.slice())[0]=null===l[0]?l[2]:l[0],l[1]=null===e[1]?l[2]:l[1],r=s.min.apply(s,e),o=s.max.apply(s,e),r=void 0===i.get("base")?r<0?r:0:i.get("base"),this.min=r,this.max=o,this.range=o-r,this.shapes={},this.valueShapes={},this.regiondata={},this.width=n="auto"===i.get("width")?"4.0em":n,this.target=this.$el.simpledraw(n,a,i.get("composite")),e.length||(this.disabled=!0),this.initTarget()},getRegion:function(t,e,i){var n=this.target.getShapeAt(t,e,i);return void 0!==n&&void 0!==this.shapes[n]?this.shapes[n]:void 0},getCurrentRegionFields:function(){var t=this.currentRegion;return{fieldkey:t.substr(0,1),value:this.values[t.substr(1)],region:t}},changeHighlight:function(t){var e,i=this.currentRegion,n=this.valueShapes[i];switch(delete this.shapes[n],i.substr(0,1)){case"r":e=this.renderRange(i.substr(1),t);break;case"p":e=this.renderPerformance(t);break;case"t":e=this.renderTarget(t)}this.valueShapes[i]=e.id,this.shapes[e.id]=i,this.target.replaceWithShape(n,e)},renderRange:function(t,e){var i=this.values[t],n=s.round(this.canvasWidth*((i-this.min)/this.range)),a=this.options.get("rangeColors")[t-2];return e&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(0,0,n-1,this.canvasHeight-1,a,a)},renderPerformance:function(t){var e=this.values[1],i=s.round(this.canvasWidth*((e-this.min)/this.range)),n=this.options.get("performanceColor");return t&&(n=this.calcHighlightColor(n,this.options)),this.target.drawRect(0,s.round(.3*this.canvasHeight),i-1,s.round(.4*this.canvasHeight)-1,n,n)},renderTarget:function(t){var e=this.values[0],i=s.round(this.canvasWidth*((e-this.min)/this.range)-this.options.get("targetWidth")/2),n=s.round(.1*this.canvasHeight),a=this.canvasHeight-2*n,r=this.options.get("targetColor");return t&&(r=this.calcHighlightColor(r,this.options)),this.target.drawRect(i,n,this.options.get("targetWidth")-1,a-1,r,r)},render:function(){var t,e,i=this.values.length,n=this.target;if(S._super.render.call(this)){for(t=2;t<i;t++)e=this.renderRange(t).append(),this.shapes[e.id]="r"+t,this.valueShapes["r"+t]=e.id;null!==this.values[1]&&(e=this.renderPerformance().append(),this.shapes[e.id]="p1",this.valueShapes.p1=e.id),null!==this.values[0]&&(e=this.renderTarget().append(),this.shapes[e.id]="t0",this.valueShapes.t0=e.id),n.render()}}}),t.fn.sparkline.pie=M=i(t.fn.sparkline._base,{type:"pie",init:function(e,i,n,a,r){var o,l=0;if(M._super.init.call(this,e,i,n,a,r),this.shapes={},this.valueShapes={},this.values=i=t.map(i,Number),"auto"===n.get("width")&&(this.width=this.height),i.length>0)for(o=i.length;o--;)l+=i[o];this.total=l,this.initTarget(),this.radius=s.floor(s.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(t,e,i){var n=this.target.getShapeAt(t,e,i);return void 0!==n&&void 0!==this.shapes[n]?this.shapes[n]:void 0},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:void 0===this.values[t],value:this.values[t],percent:this.values[t]/this.total*100,color:this.options.get("sliceColors")[t%this.options.get("sliceColors").length],offset:t}},changeHighlight:function(t){var e=this.currentRegion,i=this.renderSlice(e,t),n=this.valueShapes[e];delete this.shapes[n],this.target.replaceWithShape(n,i),this.valueShapes[e]=i.id,this.shapes[i.id]=e},renderSlice:function(t,e){var i,n,a,r,o,l=this.target,c=this.options,d=this.radius,u=c.get("borderWidth"),h=c.get("offset"),p=2*s.PI,f=this.values,g=this.total,m=h?2*s.PI*(h/360):0;for(r=f.length,a=0;a<r;a++){if(i=m,n=m,g>0&&(n=m+p*(f[a]/g)),t===a)return o=c.get("sliceColors")[a%c.get("sliceColors").length],e&&(o=this.calcHighlightColor(o,c)),l.drawPieSlice(d,d,d-u,i,n,void 0,o);m=n}},render:function(){var t,e,i=this.target,n=this.values,a=this.options,r=this.radius,o=a.get("borderWidth"),l=a.get("donutWidth");if(M._super.render.call(this)){for(o&&i.drawCircle(r,r,s.floor(r-o/2),a.get("borderColor"),void 0,o).append(),e=n.length;e--;)n[e]&&(t=this.renderSlice(e).append(),this.valueShapes[e]=t.id,this.shapes[t.id]=e);l&&i.drawCircle(r,r,r-l,a.get("donutColor"),a.get("donutColor"),0).append(),i.render()}}}),t.fn.sparkline.box=C=i(t.fn.sparkline._base,{type:"box",init:function(e,i,n,a,r){C._super.init.call(this,e,i,n,a,r),this.values=t.map(i,Number),this.width="auto"===n.get("width")?"4.0em":a,this.initTarget(),this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){var t=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return void 0!==this.loutlier&&t.push({field:"lo",value:this.loutlier}),void 0!==this.routlier&&t.push({field:"ro",value:this.routlier}),void 0!==this.lwhisker&&t.push({field:"lw",value:this.lwhisker}),void 0!==this.rwhisker&&t.push({field:"rw",value:this.rwhisker}),t},render:function(){var t,e,i,n,a,o,l,c,d,u,h,p=this.target,f=this.values,g=f.length,m=this.options,v=this.canvasWidth,y=this.canvasHeight,b=void 0===m.get("chartRangeMin")?s.min.apply(s,f):m.get("chartRangeMin"),w=void 0===m.get("chartRangeMax")?s.max.apply(s,f):m.get("chartRangeMax"),x=0;if(C._super.render.call(this)){if(m.get("raw"))m.get("showOutliers")&&f.length>5?(e=f[0],t=f[1],n=f[2],a=f[3],o=f[4],l=f[5],c=f[6]):(t=f[0],n=f[1],a=f[2],o=f[3],l=f[4]);else if(f.sort(function(t,e){return t-e}),n=r(f,1),a=r(f,2),o=r(f,3),i=o-n,m.get("showOutliers")){for(t=l=void 0,d=0;d<g;d++)void 0===t&&f[d]>n-i*m.get("outlierIQR")&&(t=f[d]),f[d]<o+i*m.get("outlierIQR")&&(l=f[d]);e=f[0],c=f[g-1]}else t=f[0],l=f[g-1];this.quartiles=[n,a,o],this.lwhisker=t,this.rwhisker=l,this.loutlier=e,this.routlier=c,h=v/(w-b+1),m.get("showOutliers")&&(x=s.ceil(m.get("spotRadius")),v-=2*s.ceil(m.get("spotRadius")),h=v/(w-b+1),e<t&&p.drawCircle((e-b)*h+x,y/2,m.get("spotRadius"),m.get("outlierLineColor"),m.get("outlierFillColor")).append(),c>l&&p.drawCircle((c-b)*h+x,y/2,m.get("spotRadius"),m.get("outlierLineColor"),m.get("outlierFillColor")).append()),p.drawRect(s.round((n-b)*h+x),s.round(.1*y),s.round((o-n)*h),s.round(.8*y),m.get("boxLineColor"),m.get("boxFillColor")).append(),p.drawLine(s.round((t-b)*h+x),s.round(y/2),s.round((n-b)*h+x),s.round(y/2),m.get("lineColor")).append(),p.drawLine(s.round((t-b)*h+x),s.round(y/4),s.round((t-b)*h+x),s.round(y-y/4),m.get("whiskerColor")).append(),p.drawLine(s.round((l-b)*h+x),s.round(y/2),s.round((o-b)*h+x),s.round(y/2),m.get("lineColor")).append(),p.drawLine(s.round((l-b)*h+x),s.round(y/4),s.round((l-b)*h+x),s.round(y-y/4),m.get("whiskerColor")).append(),p.drawLine(s.round((a-b)*h+x),s.round(.1*y),s.round((a-b)*h+x),s.round(.9*y),m.get("medianColor")).append(),m.get("target")&&(u=s.ceil(m.get("spotRadius")),p.drawLine(s.round((m.get("target")-b)*h+x),s.round(y/2-u),s.round((m.get("target")-b)*h+x),s.round(y/2+u),m.get("targetColor")).append(),p.drawLine(s.round((m.get("target")-b)*h+x-u),s.round(y/2),s.round((m.get("target")-b)*h+x+u),s.round(y/2),m.get("targetColor")).append()),p.render()}}}),T=i({init:function(t,e,i,n){this.target=t,this.id=e,this.type=i,this.args=n},append:function(){return this.target.appendShape(this),this}}),D=i({_pxregex:/(\d+)(px)?\s*$/i,init:function(e,i,n){e&&(this.width=e,this.height=i,this.target=n,this.lastShapeId=null,n[0]&&(n=n[0]),t.data(n,"_jqs_vcanvas",this))},drawLine:function(t,e,i,n,a,r){return this.drawShape([[t,e],[i,n]],a,r)},drawShape:function(t,e,i,n){return this._genShape("Shape",[t,e,i,n])},drawCircle:function(t,e,i,n,a,r){return this._genShape("Circle",[t,e,i,n,a,r])},drawPieSlice:function(t,e,i,n,a,r,o){return this._genShape("PieSlice",[t,e,i,n,a,r,o])},drawRect:function(t,e,i,n,a,r){return this._genShape("Rect",[t,e,i,n,a,r])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(e,i){t(i).html(e)},_calculatePixelDims:function(e,i,n){var a;a=this._pxregex.exec(i),this.pixelHeight=a?a[1]:t(n).height(),a=this._pxregex.exec(e),this.pixelWidth=a?a[1]:t(n).width()},_genShape:function(t,e){var i=Y++;return e.unshift(i),new T(this,i,t,e)},appendShape:function(t){alert("appendShape not implemented")},replaceWithShape:function(t,e){alert("replaceWithShape not implemented")},insertAfterShape:function(t,e){alert("insertAfterShape not implemented")},removeShapeId:function(t){alert("removeShapeId not implemented")},getShapeAt:function(t,e,i){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),L=i(D,{init:function(e,i,n,a){L._super.init.call(this,e,i,n),this.canvas=o.createElement("canvas"),n[0]&&(n=n[0]),t.data(n,"_jqs_vcanvas",this),t(this.canvas).css({display:"inline-block",width:e,height:i,verticalAlign:"top"}),this._insert(this.canvas,n),this._calculatePixelDims(e,i,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=a,this.shapes={},this.shapeseq=[],this.currentTargetShapeId=void 0,t(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(t,e,i){var n=this.canvas.getContext("2d");return void 0!==t&&(n.strokeStyle=t),n.lineWidth=void 0===i?1:i,void 0!==e&&(n.fillStyle=e),n},reset:function(){var t=this._getContext();t.clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=void 0},_drawShape:function(t,e,i,n,a){var r,o,s=this._getContext(i,n,a);for(s.beginPath(),s.moveTo(e[0][0]+.5,e[0][1]+.5),r=1,o=e.length;r<o;r++)s.lineTo(e[r][0]+.5,e[r][1]+.5);void 0!==i&&s.stroke(),void 0!==n&&s.fill(),void 0!==this.targetX&&void 0!==this.targetY&&s.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawCircle:function(t,e,i,n,a,r,o){var l=this._getContext(a,r,o);l.beginPath(),l.arc(e,i,n,0,2*s.PI,!1),void 0!==this.targetX&&void 0!==this.targetY&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t),void 0!==a&&l.stroke(),void 0!==r&&l.fill()},_drawPieSlice:function(t,e,i,n,a,r,o,s){var l=this._getContext(o,s);l.beginPath(),l.moveTo(e,i),l.arc(e,i,n,a,r,!1),l.lineTo(e,i),l.closePath(),void 0!==o&&l.stroke(),s&&l.fill(),void 0!==this.targetX&&void 0!==this.targetY&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawRect:function(t,e,i,n,a,r,o){return this._drawShape(t,[[e,i],[e+n,i],[e+n,i+a],[e,i+a],[e,i]],r,o)},appendShape:function(t){return this.shapes[t.id]=t,this.shapeseq.push(t.id),this.lastShapeId=t.id,t.id},replaceWithShape:function(t,e){var i,n=this.shapeseq;for(this.shapes[e.id]=e,i=n.length;i--;)n[i]==t&&(n[i]=e.id);delete this.shapes[t]},replaceWithShapes:function(t,e){var i,n,a,r=this.shapeseq,o={};for(n=t.length;n--;)o[t[n]]=!0;for(n=r.length;n--;)i=r[n],o[i]&&(r.splice(n,1),delete this.shapes[i],a=n);for(n=e.length;n--;)r.splice(a,0,e[n].id),this.shapes[e[n].id]=e[n]},insertAfterShape:function(t,e){var i,n=this.shapeseq;for(i=n.length;i--;)if(n[i]===t)return n.splice(i+1,0,e.id),void(this.shapes[e.id]=e)},removeShapeId:function(t){var e,i=this.shapeseq;for(e=i.length;e--;)if(i[e]===t){i.splice(e,1);break}delete this.shapes[t]},getShapeAt:function(t,e,i){return this.targetX=e,this.targetY=i,this.render(),this.currentTargetShapeId},render:function(){var t,e,i,n=this.shapeseq,a=this.shapes,r=n.length,o=this._getContext();for(o.clearRect(0,0,this.pixelWidth,this.pixelHeight),i=0;i<r;i++)t=n[i],this["_draw"+(e=a[t]).type].apply(this,e.args);this.interact||(this.shapes={},this.shapeseq=[])}}),E=i(D,{init:function(e,i,n){var a;E._super.init.call(this,e,i,n),n[0]&&(n=n[0]),t.data(n,"_jqs_vcanvas",this),this.canvas=o.createElement("span"),t(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:e,height:i,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,n),this._calculatePixelDims(e,i,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,a='<v:group coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" style="position:absolute;top:0;left:0;width:'+this.pixelWidth+"px;height="+this.pixelHeight+'px;"></v:group>',this.canvas.insertAdjacentHTML("beforeEnd",a),this.group=t(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(t,e,i,n,a){var r,o,s,l,c,d,u=[];for(d=0,c=e.length;d<c;d++)u[d]=e[d][0]+","+e[d][1];return r=u.splice(0,1),a=void 0===a?1:a,o=void 0===i?' stroked="false" ':' strokeWeight="'+a+'px" strokeColor="'+i+'" ',s=void 0===n?' filled="false"':' fillColor="'+n+'" filled="true" ',l=u[0]===u[u.length-1]?"x ":"",'<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'"  id="jqsshape'+t+'" '+o+s+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;"  path="m '+r+" l "+u.join(", ")+" "+l+'e"> </v:shape>'},_drawCircle:function(t,e,i,n,a,r,o){return'<v:oval  id="jqsshape'+t+'" '+(void 0===a?' stroked="false" ':' strokeWeight="'+o+'px" strokeColor="'+a+'" ')+(void 0===r?' filled="false"':' fillColor="'+r+'" filled="true" ')+' style="position:absolute;top:'+(i-=n)+"px; left:"+(e-=n)+"px; width:"+2*n+"px; height:"+2*n+'px"></v:oval>'},_drawPieSlice:function(t,e,i,n,a,r,o,l){var c,d,u,h,p,f,g;if(a===r)return"";if(r-a==2*s.PI&&(a=0,r=2*s.PI),d=e+s.round(s.cos(a)*n),u=i+s.round(s.sin(a)*n),h=e+s.round(s.cos(r)*n),p=i+s.round(s.sin(r)*n),d===h&&u===p){if(r-a<s.PI)return"";d=h=e+n,u=p=i}return d===h&&u===p&&r-a<s.PI?"":(c=[e-n,i-n,e+n,i+n,d,u,h,p],f=void 0===o?' stroked="false" ':' strokeWeight="1px" strokeColor="'+o+'" ',g=void 0===l?' filled="false"':' fillColor="'+l+'" filled="true" ','<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'"  id="jqsshape'+t+'" '+f+g+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;"  path="m '+e+","+i+" wa "+c.join(", ")+' x e"> </v:shape>')},_drawRect:function(t,e,i,n,a,r,o){return this._drawShape(t,[[e,i],[e,i+a],[e+n,i+a],[e+n,i],[e,i]],r,o)},reset:function(){this.group.innerHTML=""},appendShape:function(t){var e=this["_draw"+t.type].apply(this,t.args);return this.rendered?this.group.insertAdjacentHTML("beforeEnd",e):this.prerender+=e,this.lastShapeId=t.id,t.id},replaceWithShape:function(e,i){var n=t("#jqsshape"+e),a=this["_draw"+i.type].apply(this,i.args);n[0].outerHTML=a},replaceWithShapes:function(e,i){var n,a=t("#jqsshape"+e[0]),r="",o=i.length;for(n=0;n<o;n++)r+=this["_draw"+i[n].type].apply(this,i[n].args);for(a[0].outerHTML=r,n=1;n<e.length;n++)t("#jqsshape"+e[n]).remove()},insertAfterShape:function(e,i){var n=t("#jqsshape"+e),a=this["_draw"+i.type].apply(this,i.args);n[0].insertAdjacentHTML("afterEnd",a)},removeShapeId:function(e){var i=t("#jqsshape"+e);this.group.removeChild(i[0])},getShapeAt:function(t,e,i){var n=t.id.substr(8);return n},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})})?n.apply(e,a):n)||(t.exports=r)}(document,Math)},function(t,e){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){},,,,,,function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){}]);