PageSourceSearch

https://nokia-datacenterfabric-bca.com/js/app.bundle.js

js nokia-datacenterfabric-bca.com collected 2026-10-04 04:07:31 UTC 601,593 bytes, 56 lines download raw bytes

vendor: 4,341 bytes, lines 1-14
1!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.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 o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));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=25)}([function(t,e,i){var n;
2/*!
3 * jQuery JavaScript Library v3.5.1
4 * https://jquery.com/
5 *
6 * Includes Sizzle.js
7 * https://sizzlejs.com/
8 *
9 * Copyright JS Foundation and other contributors
10 * Released under the MIT license
11 * https://jquery.org/license
12 *
13 * Date: 2020-05-04T22:49Z
14 */!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,o){"use strict";var r=[],s=Object.getPrototypeOf,a=r.slice,l=r.flat?function(t){return r.flat.call(t)}:function(t){return r.concat.apply([],t)},h=r.push,c=r.indexOf,d={},p=d.toString,u=d.hasOwnProperty,f=u.toString,g=f.call(Object),m={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function(t){return null!=t&&t===t.window},b=i.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,i){var n,o,r=(i=i||b).createElement("script");if(r.text=t,e)for(n in x)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&r.setAttribute(n,o);i.head.appendChild(r).parentNode.removeChild(r)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?d[p.call(t)]||"object":typeof t}var k=function(t,e){return new k.fn.init(t,e)};function C(t){var e=!!t&&"length"in t&&t.length,i=w(t);return!v(t)&&!y(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}k.fn=k.prototype={jquery:"3.5.1",constructor:k,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.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(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(t,e){return e%2})))},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:h,sort:r.sort,splice:r.splice},k.extend=k.fn.extend=function(){var t,e,i,n,o,r,s=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof s&&(h=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=t[e],"__proto__"!==e&&s!==n&&(h&&n&&(k.isPlainObject(n)||(o=Array.isArray(n)))?(i=s[e],r=o&&!Array.isArray(i)?[]:o||k.isPlainObject(i)?i:{},o=!1,s[e]=k.extend(h,r,n)):void 0!==n&&(s[e]=n));return s},k.extend({expando:"jQuery"+("3.5.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=u.call(e,"constructor")&&e.constructor)&&f.call(i)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,i){_(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(C(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},makeArray:function(t,e){var i=e||[];return null!=t&&(C(Object(t))?k.merge(i,"string"==typeof t?[t]:t):h.call(i,t)),i}
vendor: 8,864 bytes, lines 14-25
14,inArray:function(t,e,i){return null==e?-1:c.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;n++)t[o++]=e[n];return t.length=o,t},grep:function(t,e,i){for(var n=[],o=0,r=t.length,s=!i;o<r;o++)!e(t[o],o)!==s&&n.push(t[o]);return n},map:function(t,e,i){var n,o,r=0,s=[];if(C(t))for(n=t.length;r<n;r++)null!=(o=e(t[r],r,i))&&s.push(o);else for(r in t)null!=(o=e(t[r],r,i))&&s.push(o);return l(s)},guid:1,support:m}),"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){d["[object "+e+"]"]=e.toLowerCase()}));var S=
15/*!
16 * Sizzle CSS Selector Engine v2.3.5
17 * https://sizzlejs.com/
18 *
19 * Copyright JS Foundation and other contributors
20 * Released under the MIT license
21 * https://js.foundation/
22 *
23 * Date: 2020-03-14
24 */
25function(t){var e,i,n,o,r,s,a,l,h,c,d,p,u,f,g,m,v,y,b,x="sizzle"+1*new Date,_=t.document,w=0,k=0,C=lt(),S=lt(),T=lt(),E=lt(),M=function(t,e){return t===e&&(d=!0),0},A={}.hasOwnProperty,D=[],L=D.pop,O=D.push,P=D.push,I=D.slice,N=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",G="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",B=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+G+")*)|.*)\\)|)",H=new RegExp(R+"+","g"),z=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),$=new RegExp("^"+R+"*,"+R+"*"),W=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),X=new RegExp(R+"|>"),Y=new RegExp(B),U=new RegExp("^"+F+"$"),q={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+G),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},V=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),it=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){p()},st=xt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(D=I.call(_.childNodes),_.childNodes),D[_.childNodes.length].nodeType}catch(t){P={apply:D.length?function(t,e){O.apply(t,I.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function at(t,e,n,o){var r,a,h,c,d,f,v,y=e&&e.ownerDocument,_=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return n;if(!o&&(p(e),e=e||u,g)){if(11!==_&&(d=J.exec(t)))if(r=d[1]){if(9===_){if(!(h=e.getElementById(r)))return n;if(h.id===r)return n.push(h),n}else if(y&&(h=y.getElementById(r))&&b(e,h)&&h.id===r)return n.push(h),n}else{if(d[2])return P.apply(n,e.getElementsByTagName(t)),n;if((r=d[3])&&i.getElementsByClassName&&e.getElementsByClassName)return P.apply(n,e.getElementsByClassName(r)),n}if(i.qsa&&!E[t+" "]&&(!m||!m.test(t))&&(1!==_||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===_&&(X.test(t)||W.test(t))){for((y=tt.test(t)&&vt(e.parentNode)||e)===e&&i.scope||((c=e.getAttribute("id"))?c=c.replace(nt,ot):e.setAttribute("id",c=x)),a=(f=s(t)).length;a--;)f[a]=(c?"#"+c:":scope")+" "+bt(f[a]);v=f.join(",")}try{return P.apply(n,y.querySelectorAll(v)),n}catch(e){E(t,!0)}finally{c===x&&e.removeAttribute("id")}}}return l(t.replace(z,"$1"),e,n,o)}function lt(){var t=[];return function e(i,o){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=o}}function ht(t){return t[x]=!0,t}function ct(t){var e=u.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var i=t.split("|"),o=i.length;o--;)n.attrHandle[i[o]]=e}function pt(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 ft(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function gt(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&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ht((function(e){return e=+e,ht((function(i,n){for(var o,r=t([],i.length,e),s=r.length;s--;)i[o=r[s]]&&(i[o]=!(n[o]=i[o]))}))}))}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in i=at.support={},r=at.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!V.test(e||i&&i.nodeName||"HTML")},p=at.setDocument=function(t){var e,o,s=t?t.ownerDocument||t:_;return s!=u&&9===s.nodeType&&s.documentElement?(f=(u=s).documentElement,g=!r(u),_!=u&&(o=u.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",rt,!1):o.attachEvent&&o.attachEvent("onunload",rt)),i.scope=ct((function(t){return f.appendChild(t).appendChild(u.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),i.attributes=ct((function(t){return t.className="i",!t.getAttribute("className")})),i.getElementsByTagName=ct((function(t){return t.appendChild(u.createComment("")),!t.getElementsByTagName("*").length})),i.getElementsByClassName=Q.test(u.getElementsByClassName),i.getById=ct((function(t){return f.appendChild(t).id=x,!u.getElementsByName||!u.getElementsByName(x).length})),i.getById?(n.filter.ID=function(t){var e=t.replace(et,it);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(et,it);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,o,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(o=e.getElementsByName(t),n=0;r=o[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=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;i=r[o++];)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=Q.test(u.querySelectorAll))&&(ct((function(t){var e;f.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+j+")"),t.querySelectorAll("[id~="+x+"-]").length||m.push("~="),(e=u.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ct((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=u.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),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=Q.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ct((function(t){i.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",B)})),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.j
vendor: 13,440 bytes, line 25
25oin("|")),e=Q.test(f.compareDocumentPosition),b=e||Q.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},M=e?function(t,e){if(t===e)return d=!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==u||t.ownerDocument==_&&b(_,t)?-1:e==u||e.ownerDocument==_&&b(_,e)?1:c?N(c,t)-N(c,e):0:4&n?-1:1)}:function(t,e){if(t===e)return d=!0,0;var i,n=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t==u?-1:e==u?1:o?-1:r?1:c?N(c,t)-N(c,e):0;if(o===r)return pt(t,e);for(i=t;i=i.parentNode;)s.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;s[n]===a[n];)n++;return n?pt(s[n],a[n]):s[n]==_?-1:a[n]==_?1:0},u):u},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(p(t),i.matchesSelector&&g&&!E[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){E(e,!0)}return at(e,u,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=u&&p(t),b(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=u&&p(t);var o=n.attrHandle[e.toLowerCase()],r=o&&A.call(n.attrHandle,e.toLowerCase())?o(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},at.escape=function(t){return(t+"").replace(nt,ot)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,n=[],o=0,r=0;if(d=!i.detectDuplicates,c=!i.sortStable&&t.slice(0),t.sort(M),d){for(;e=t[r++];)e===t[r]&&(o=n.push(r));for(;o--;)t.splice(n[o],1)}return c=null,t},o=at.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+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=o(e);return i},(n=at.selectors={cacheLength:50,createPseudo:ht,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(et,it),t[3]=(t[3]||t[4]||t[5]||"").replace(et,it),"~="===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]||at.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]&&at.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&&Y.test(i)&&(e=s(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&C(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 o=at.attr(n,t);return null==o?"!="===e:!e||(o+="","="===e?o===i:"!="===e?o!==i:"^="===e?i&&0===o.indexOf(i):"*="===e?i&&o.indexOf(i)>-1:"$="===e?i&&o.slice(-i.length)===i:"~="===e?(" "+o.replace(H," ")+" ").indexOf(i)>-1:"|="===e&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,l){var h,c,d,p,u,f,g=r!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(r){for(;g;){for(p=e;p=p[g];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=g="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?m.firstChild:m.lastChild],s&&y){for(b=(u=(h=(c=(d=(p=m)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===w&&h[1])&&h[2],p=u&&m.childNodes[u];p=++u&&p&&p[g]||(b=u=0)||f.pop();)if(1===p.nodeType&&++b&&p===e){c[t]=[w,u,b];break}}else if(y&&(b=u=(h=(c=(d=(p=e)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===w&&h[1]),!1===b)for(;(p=++u&&p&&p[g]||(b=u=0)||f.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((c=(d=p[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]=[w,b]),p!==e)););return(b-=o)===n||b%n==0&&b/n>=0}}},PSEUDO:function(t,e){var i,o=n.pseudos[t]||n.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return o[x]?o(e):o.length>1?(i=[t,t,"",e],n.setFilters.hasOwnProperty(t.toLowerCase())?ht((function(t,i){for(var n,r=o(t,e),s=r.length;s--;)t[n=N(t,r[s])]=!(i[n]=r[s])})):function(t){return o(t,0,i)}):o}},pseudos:{not:ht((function(t){var e=[],i=[],n=a(t.replace(z,"$1"));return n[x]?ht((function(t,e,i,o){for(var r,s=n(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))})):function(t,o,r){return e[0]=t,n(e,null,r,i),e[0]=null,!i.pop()}})),has:ht((function(t){return function(e){return at(t,e).length>0}})),contains:ht((function(t){return t=t.replace(et,it),function(e){return(e.textContent||o(e)).indexOf(t)>-1}})),lang:ht((function(t){return U.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,it).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===u.activeElement&&(!u.hasFocus||u.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!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 Z.test(t.nodeName)},input:function(t){return K.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:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,i){return[i<0?i+e:i]})),even:mt((function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t})),odd:mt((function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t})),lt:mt((function(t,e,i){for(var n=i<0?i+e:i>e?e:i;--n>=0;)t.push(n);return t})),gt:mt((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]=ft(e);function yt(){}function bt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function xt(t,e,i){var n=e.dir,o=e.next,r=o||n,s=i&&"parentNode"===r,a=k++;return e.first?function(e,i,o){for(;e=e[n];)if(1===e.nodeType||s)return t(e,i,o);return!1}:function(e,i,l){var h,c,d,p=[w,a];if(l){for(;e=e[n];)if((1===e.nodeType||s)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||s)if(c=(d=e[x]||(e[x]={}))[e.uniqueID]||(d[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[n]||e;else{if((h=c[r])&&h[0]===w&&h[1]===a)return p[2]=h[2];if(c[r]=p,p[2]=t(e,i,l))return!0}return!1}}function _t(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function wt(t,e,i,n,o){for(var r,s=[],a=0,l=t.length,h=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,n,o)||(s.push(r),h&&e.push(a)));return s}function kt(t,e,i,n,o,r){return n&&!n[x]&&(n=kt(n)),o&&!o[x]&&(o=kt(o,r)),ht((function(r,s,a,l){var h,c,d,p=[],u=[],f=s.length,g=r||function(t,e,i){for(var n=0,o=e.length;n<o;n++)at(t,e[n],i);return i}(e||"*",a.nodeType?[a]:a,[]),m=!t||!r&&e?g:wt(g,p,t,a,l),v=i?o||(r?t:f||n)?[]:s:m;if(i&&i(m,v,a,l),n)for(h=wt(v,u),n(h,[],a,l),c=h.length;c--;)(d=h[c])&&(v[u[c]]=!(m[u[c]]=d));if(r){if(o||t){if(o){for(h=[],c=v.length;c--;)(d=v[c])&&h.push(m[c]=d);o(null,v=[],h,l)}for(c=v.length;c--;)(d=v[c])&&(h=o?N(r,d):p[c])>-1&&(r[h]=!(s[h]=d))}}else v=wt(v===s?v.splice(f,v.length):v),o?o(null,s,v,l):P.apply(s,v)}))}function Ct(t){for(var e,i,o,r=t.length,s=n.relative[t[0].type],a=s||n.relative[" "],l=s?1:0,c=xt((function(t){return t===e}),a,!0),d=xt((function(t){return N(e,t)>-1}),a,!0),p=[function(t,i,n){var o=!s&&(n||i!==h)||((e=i).nodeType?c(t,i,n):d(t,i,n));return e=null,o}];l<r;l++)if(i=n.relative[t[l].type])p=[xt(_t(p),i)];else{if((i=n.filter[t[l].type].apply(null,t[l].matches))[x]){for(o=++l;o<r&&!n.relative[t[o].type];o++);return kt(l>1&&_t(p),l>1&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(z,"$1"),i,l<o&&Ct(t.slice(l,o)),o<r&&Ct(t=t.slice(o)),o<r&&bt(t))}p.push(i)}return _t(p)}return yt.prototype=n.filters=n.pseudos,n.setFilters=new yt,s=at.tokenize=function(t,e){var i,o,r,s,a,l,h,c=S[t+" "];if(c)return e?0:c.slice(0);for(a=t,l=[],h=n.preFilter;a;){for(s in i&&!(o=$.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),i=!1,(o=W.exec(a))&&(i=o.shift(),r.push({value:i,type:o[0].replace(z," ")}),a=a.slice(i.length)),n.filter)!(o=q[s].exec(a))||h[s]&&!(o=h[s](o))||(i=o.shift(),r.push({value:i,type:s,matches:o}),a=a.slice(i.length));if(!i)break}return e?a.length:a?at.error(t):S(t,l).slice(0)},a=at.compile=function(t,e){var i,o=[],r=[],a=T[t+" "];if(!a){for(e||(e=s(t)),i=e.length;i--;)(a=Ct(e[i]))[x]?o.push(a):r.push(a);(a=T(t,function(t,e){var i=e.length>0,o=t.length>0,r=function(r,s,a,l,c){var d,f,m,v=0,y="0",b=r&&[],x=[],_=h,k=r||o&&n.find.TAG("*",c),C=w+=null==_?1:Math.random()||.1,S=k.length;for(c&&(h=s==u||s||c);y!==S&&null!=(d=k[y]);y++){if(o&&d){for(f=0,s||d.ownerDocument==u||(p(d),a=!g);m=t[f++];)if(m(d,s||u,a)){l.push(d);break}c&&(w=C)}i&&((d=!m&&d)&&v--,r&&b.push(d))}if(v+=y,i&&y!==v){for(f=0;m=e[f++];)m(b,x,s,a);if(r){if(v>0)for(;y--;)b[y]||x[y]||(x[y]=L.call(l));x=wt(x)}P.apply(l,x),c&&!r&&x.length>0&&v+e.length>1&&at.uniqueSort(l)}return c&&(w=C,h=_),b};return i?ht(r):r}(r,o))).selector=t}return a},l=at.select=function(t,e,i,o){var r,l,h,c,d,p="function"==typeof t&&t,u=!o&&s(t=p.selector||t);if(i=i||[],1===u.length){if((l=u[0]=u[0].slice(0)).length>2&&"ID"===(h=l[0]).type&&9===e.nodeType&&g&&n.relative[l[1].type]){if(!(e=(n.find.ID(h.matches[0].replace(et,it),e)||[])[0]))return i;p&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=q.needsContext.test(t)?0:l.length;r--&&(h=l[r],!n.relative[c=h.type]);)if((d=n.find[c])&&(o=d(h.matches[0].replace(et,it),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(r,1),!(t=o.length&&bt(l)))return P.apply(i,o),i;break}}return(p||a(t,u))(o,e,!g,i,!e||tt.test(t)&&vt(e.parentNode)||e),i},i.sortStable=x.split("").sort(M).join("")===x,i.detectDuplicates=!!d,p(),i.sortDetached=ct((function(t){return 1&t.compareDocumentPosition(u.createElement("fieldset"))})),ct((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||dt("type|href|height|width",(function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),i.attributes&&ct((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||dt("value",(function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ct((function(t){return null==t.getAttribute("disabled")}))||dt(j,(function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null})),at}(i);k.find=S,k.expr=S.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=S.uniqueSort,k.text=S.getText,k.isXMLDoc=S.isXML,k.contains=S.contains,k.escapeSelector=S.escape;var T=function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&k(t).is(i))break;n.push(t)}return n},E=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},M=k.expr.match.needsContext;function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(t,e,i){return v(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 c.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,o=this;if("string"!=typeof t)return this.pushStack(k(t).filter((function(){for(e=0;e<n;e++)if(k.contains(o[e],this))return!0})));for(i=this.pushStack([]),e=0;e<n;e++)k.find(t,o[e],i);return n>1?k.uniqueSort(i):i},filter:function(t){return this.pushStack(L(this,t||[],!1))},not:function(t){return this.pushStack(L(this,t||[],!0))},is:function(t){return!!L(this,"string"==typeof t&&M.test(t)?k(t):t||[],!1).length}});var O,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
vendor: 4,782 bytes, line 25
25(k.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||O,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:P.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:b,!0)),D.test(n[1])&&k.isPlainObject(e))for(n in e)v(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=b.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==i.ready?i.ready(t):t(k):k.makeArray(t,this)}).prototype=k.fn,O=k(b);var I=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function j(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,o=this.length,r=[],s="string"!=typeof t&&k(t);if(!M.test(t))for(;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(s?s.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?c.call(k(t),this[0]):c.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 j(t,"nextSibling")},prev:function(t){return j(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 E((t.parentNode||{}).firstChild,t)},children:function(t){return E(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(A(t,"template")&&(t=t.content||t),k.merge([],t.childNodes))}},(function(t,e){k.fn[t]=function(i,n){var o=k.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=k.filter(n,o)),this.length>1&&(N[t]||k.uniqueSort(o),I.test(t)&&o.reverse()),this.pushStack(o)}}));var R=/[^\x20\t\r\n\f]+/g;function F(t){return t}function G(t){throw t}function B(t,e,i,n){var o;try{t&&v(o=t.promise)?o.call(t).done(e).fail(i):t&&v(o=t.then)?o.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(R)||[],(function(t,i){e[i]=!0})),e}(t):k.extend({},t);var e,i,n,o,r=[],s=[],a=-1,l=function(){for(o=o||t.once,n=e=!0;s.length;a=-1)for(i=s.shift();++a<r.length;)!1===r[a].apply(i[0],i[1])&&t.stopOnFalse&&(a=r.length,i=!1);t.memory||(i=!1),e=!1,o&&(r=i?[]:"")},h={add:function(){return r&&(i&&!e&&(a=r.length-1,s.push(i)),function e(i){k.each(i,(function(i,n){v(n)?t.unique&&h.has(n)||r.push(n):n&&n.length&&"string"!==w(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<=a&&a--})),this},has:function(t){return t?k.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=i="",this},disabled:function(){return!r},lock:function(){return o=s=[],i||e||(r=i=""),this},locked:function(){return!!o},fireWith:function(t,i){return o||(i=[t,(i=i||[]).slice?i.slice():i],s.push(i),e||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},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",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return k.Deferred((function(i){k.each(e,(function(e,n){var o=v(t[n[4]])&&t[n[4]];r[n[1]]((function(){var t=o&&o.apply(this,arguments);t&&v(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,o?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,o){var r=0;function s(t,e,n,o){return function(){var a=this,l=arguments,h=function(){var i,h;if(!(t<r)){if((i=n.apply(a,l))===e.promise())throw new TypeError("Thenable self
25-resolution");h=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(h)?o?h.call(i,s(r,e,F,o),s(r,e,G,o)):(r++,h.call(i,s(r,e,F,o),s(r,e,G,o),s(r,e,F,e.notifyWith))):(n!==F&&(a=void 0,l=[i]),(o||e.resolveWith)(a,l))}},c=o?h:function(){try{h()}catch(i){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(i,c.stackTrace),t+1>=r&&(n!==G&&(a=void 0,l=[i]),e.rejectWith(a,l))}};t?c():(k.Deferred.getStackHook&&(c.stackTrace=k.Deferred.getStackHook()),i.setTimeout(c))}}return k.Deferred((function(i){e[0][3].add(s(0,i,v(o)?o:F,i.notifyWith)),e[1][3].add(s(0,i,v(t)?t:F)),e[2][3].add(s(0,i,v(n)?n:G))})).promise()},promise:function(t){return null!=t?k.extend(t,o):o}},r={};return k.each(e,(function(t,i){var s=i[2],a=i[5];o[i[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=s.fireWith})),o.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,i=e,n=Array(i),o=a.call(arguments),r=k.Deferred(),s=function(t){return function(i){n[t]=this,o[t]=arguments.length>1?a.call(arguments):i,--e||r.resolveWith(n,o)}};if(e<=1&&(B(t,r.done(s(i)).resolve,r.reject,!e),"pending"===r.state()||v(o[i]&&o[i].then)))return r.then();for(;i--;)B(o[i],s(i),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&H.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},k.readyException=function(t){i.setTimeout((function(){throw t}))};var z=k.Deferred();function $(){b.removeEventListener("DOMContentLoaded",$),i.removeEventListener("load",$),k.ready()}k.fn.ready=function(t){return z.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||z.resolveWith(b,[k]))}}),k.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?i.setTimeout(k.ready):(b.addEventListener("DOMContentLoaded",$),i.addEventListener("load",$));var W=function(t,e,i,n,o,r,s){var a=0,l=t.length,h=null==i;if("object"===w(i))for(a in o=!0,i)W(t,e,a,i[a],!0,r,s);else if(void 0!==n&&(o=!0,v(n)||(s=!0),h&&(s?(e.call(t,n),e=null):(h=e,e=function(t,e,i){return h.call(k(t),i)})),e))for(;a<l;a++)e(t[a],i,s?n:n.call(t[a],a,e(t[a],i)));return o?t:h?e.call(t):l?e(t[0],i):r},X=/^-ms-/,Y=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function q(t){return t.replace(X,"ms-").replace(Y,U)}var V=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function K(){this.expando=k.expando+K.uid++}K.uid=1,K.prototype={cache:function(t){var e=t[this.expando];return e||(e={},V(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,o=this.cache(t);if("string"==typeof e)o[q(e)]=i;else for(n in e)o[q(n)]=e[n];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][q(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(q):(e=q(e))in n?[e]:e.match(R)||[]).length;for(;i--;)delete n[e[i]]}
vendor: 4,555 bytes, line 25
25(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 Z=new K,Q=new K,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tt=/[A-Z]/g;function et(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(tt,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:J.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)||Z.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 Z.access(t,e,i)},_removeData:function(t,e){Z.remove(t,e)}}),k.fn.extend({data:function(t,e){var i,n,o,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(o=Q.get(r),1===r.nodeType&&!Z.get(r,"hasDataAttrs"))){for(i=s.length;i--;)s[i]&&0===(n=s[i].name).indexOf("data-")&&(n=q(n.slice(5)),et(r,n,o[n]));Z.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each((function(){Q.set(this,t)})):W(this,(function(e){var i;if(r&&void 0===e)return void 0!==(i=Q.get(r,t))||void 0!==(i=et(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=Z.get(t,e),i&&(!n||Array.isArray(i)?n=Z.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,o=i.shift(),r=k._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete r.stop,o.call(t,(function(){k.dequeue(t,e)}),r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Z.get(t,i)||Z.access(t,i,{empty:k.Callbacks("once memory").add((function(){Z.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,o=k.Deferred(),r=this,s=this.length,a=function(){--n||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(i=Z.get(r[s],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),o.promise(e)}});var it=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,nt=new RegExp("^(?:([+-])=|)("+it+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],rt=b.documentElement,st=function(t){return k.contains(t.ownerDocument,t)},at={composed:!0};rt.getRootNode&&(st=function(t){return k.contains(t.ownerDocument,t)||t.getRootNode(at)===t.ownerDocument});var lt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===k.css(t,"display")};function ht(t,e,i,n){var o,r,s=20,a=n?function(){return n.cur()}:function(){return k.css(t,e,"")},l=a(),h=i&&i[3]||(k.cssNumber[e]?"":"px"),c=t.nodeType&&(k.cssNumber[e]||"px"!==h&&+l)&&nt.exec(k.css(t,e));if(c&&c[3]!==h){for(l/=2,h=h||c[3],c=+l||1;s--;)k.style(t,e,c+h),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),c/=r;c*=2,k.style(t,e,c+h),i=i||[]}return i&&(c=+c||+l||0,o=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=c,n.end=o)),o}var ct={};function dt(t){var e,i=t.ownerDocument,n=t.nodeName,o=ct[n];return o||(e=i.body.appendChild(i.createElement(n)),o=k.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),ct[n]=o,o)}function pt(t,e){for(var i,n,o=[],r=0,s=t.length;r<s;r++)(n=t[r]).style&&(i=n.style.display,e?("none"===i&&(o[r]=Z.get(n,"display")||null,o[r]||(n.style.display="")),""===n.style.display&&lt(n)&&(o[r]=dt(n))):"none"!==i&&(o[r]="none",Z.set(n,"display",i)));for(r=0;r<s;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}k.fn.extend({show:function(){return pt(this,!0)},hide:function(){return pt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){lt(this)?k(this).show():k(this).hide()}))}});var ut,ft,gt=/^(?:checkbox|radio)$/i,mt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;ut=b.createDocumentFragment().appendChild(b.createElement("div")),(ft=b.createElement("input")).setAttribute("type","radio"),ft.setAttribute("checked","checked"),ft.setAttribute("name","t"),ut.appendChild(ft),m.checkClone
vendor: 6,534 bytes, line 25
25=ut.cloneNode(!0).cloneNode(!0).lastChild.checked,ut.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!ut.cloneNode(!0).lastChild.defaultValue,ut.innerHTML="<option></option>",m.option=!!ut.lastChild;var yt={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 bt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&A(t,e)?k.merge([t],i):i}function xt(t,e){for(var i=0,n=t.length;i<n;i++)Z.set(t[i],"globalEval",!e||Z.get(e[i],"globalEval"))}yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td,m.option||(yt.optgroup=yt.option=[1,"<select multiple='multiple'>","</select>"]);var _t=/<|&#?\w+;/;function wt(t,e,i,n,o){for(var r,s,a,l,h,c,d=e.createDocumentFragment(),p=[],u=0,f=t.length;u<f;u++)if((r=t[u])||0===r)if("object"===w(r))k.merge(p,r.nodeType?[r]:r);else if(_t.test(r)){for(s=s||d.appendChild(e.createElement("div")),a=(mt.exec(r)||["",""])[1].toLowerCase(),l=yt[a]||yt._default,s.innerHTML=l[1]+k.htmlPrefilter(r)+l[2],c=l[0];c--;)s=s.lastChild;k.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(e.createTextNode(r));for(d.textContent="",u=0;r=p[u++];)if(n&&k.inArray(r,n)>-1)o&&o.push(r);else if(h=st(r),s=bt(d.appendChild(r),"script"),h&&xt(s),i)for(c=0;r=s[c++];)vt.test(r.type||"")&&i.push(r);return d}var kt=/^key/,Ct=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,St=/^([^.]*)(?:\.(.+)|)/;function Tt(){return!0}function Et(){return!1}function Mt(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function At(t,e,i,n,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)At(t,a,i,n,e[a],r);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=Et;else if(!o)return t;return 1===r&&(s=o,(o=function(t){return k().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=k.guid++)),t.each((function(){k.event.add(this,e,o,n,i)}))}function Dt(t,e,i){i?(Z.set(t,e,!1),k.event.add(t,e,{namespace:!1,handler:function(t){var n,o,r=Z.get(this,e);if(1&t.isTrigger&&this[e]){if(r.length)(k.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=a.call(arguments),Z.set(this,e,r),n=i(this,e),this[e](),r!==(o=Z.get(this,e))||n?Z.set(this,e,!1):o={},r!==o)return t.stopImmediatePropagation(),t.preventDefault(),o.value}else r.length&&(Z.set(this,e,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Z.get(t,e)&&k.event.add(t,e,Tt)}k.event={global:{},add:function(t,e,i,n,o){var r,s,a,l,h,c,d,p,u,f,g,m=Z.get(t);if(V(t))for(i.handler&&(i=(r=i).handler,o=r.selector),o&&k.find.matchesSelector(rt,o),i.guid||(i.guid=k.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(R)||[""]).length;h--;)u=g=(a=St.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),u&&(d=k.event.special[u]||{},u=(o?d.delegateType:d.bindType)||u,d=k.event.special[u]||{},c=k.extend({type:u,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:f.join(".")},r),(p=l[u])||((p=l[u]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,n,f,s)||t.addEventListener&&t.addEventListener(u,s)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=i.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[u]=!0)},remove:function(t,e,i,n,o){var r,s,a,l,h,c,d,p,u,f,g,m=Z.hasData(t)&&Z.get(t);if(m&&(l=m.events)){for(h=(e=(e||"").match(R)||[""]).length;h--;)if(u=g=(a=St.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),u){for(d=k.event.special[u]||{},p=l[u=(n?d.delegateType:d.bindType)||u]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)c=p[r],!o&&g!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(p.splice(r,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(t,c));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,f,m.handle)||k.removeEvent(t,u,m.handle),delete l[u])}else for(u in l)k.event.remove(t,u+e[h],i,n,!0);k.isEmptyObject(l)&&Z.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,r,s,a=new Array(arguments.length),l=k.event.fix(t),h=(Z.get(this,"events")||Object.create(null))[l.type]||[],c=k.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=k.event.handlers.call(this,l,h),e=0;(o=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,i=0;(r=o.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(n=((k.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,n,o,r,s,a=[],l=e.delegateCount,h=t.target;if(l&&h.nodeType&&!("click"===t.type&&t.button>=1))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(r=[],s={},i=0;i<l;i++)void 0===s[o=(n=e[i]).selector+" "]&&(s[o]=n.needsContext?k(o,this).index(h)>-1:k.find(o,this,null,[h]).length),s[o]&&r.push(n);r.length&&a.push({elem:h,handlers:r})}return h=this,l<e.length&&a.push({elem:h,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(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},click:{setup:function(t){var e=this||t;return gt.test(e.type)&&e.click&&A(e,"input")&&Dt(e,"click",Tt),!1},trigger:function(t){var e=this||t;return gt.test(e.type)&&e.click&&A(e,"input")&&Dt(e,"click"),!0},_default:function(t){var e=t.target;return gt.test(e.type)&&e.click&&A(e,"input")&&Z.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}}
vendor: 1,811 bytes, line 25
25,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?Tt:Et,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:Et,isPropagationStopped:Et,isImmediatePropagationStopped:Et,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Tt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Tt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Tt,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,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&kt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Ct.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(t,e){k.event.special[t]={setup:function(){return Dt(this,t,Mt),!1},trigger:function(){return Dt(this,t),!0},delegateType:e}}
vendor: 4,565 bytes, line 25
25)),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=this,o=t.relatedTarget,r=t.handleObj;return o&&(o===n||k.contains(n,o))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}})),k.fn.extend({on:function(t,e,i,n){return At(this,t,e,i,n)},one:function(t,e,i,n){return At(this,t,e,i,n,1)},off:function(t,e,i){var n,o;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(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Et),this.each((function(){k.event.remove(this,t,i,e)}))}});var Lt=/<script|<style|<link/i,Ot=/checked\s*(?:[^=]|=\s*.checked.)/i,Pt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function It(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&k(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function jt(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,o,r,s,a;if(1===e.nodeType){if(Z.hasData(t)&&(a=Z.get(t).events))for(o in Z.remove(e,"handle events"),a)for(i=0,n=a[o].length;i<n;i++)k.event.add(e,o,a[o][i]);Q.hasData(t)&&(r=Q.access(t),s=k.extend({},r),Q.set(e,s))}}function Ft(t,e){var i=e.nodeName.toLowerCase();"input"===i&&gt.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function Gt(t,e,i,n){e=l(e);var o,r,s,a,h,c,d=0,p=t.length,u=p-1,f=e[0],g=v(f);if(g||p>1&&"string"==typeof f&&!m.checkClone&&Ot.test(f))return t.each((function(o){var r=t.eq(o);g&&(e[0]=f.call(this,o,r.html())),Gt(r,e,i,n)}));if(p&&(r=(o=wt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===o.childNodes.length&&(o=r),r||n)){for(a=(s=k.map(bt(o,"script"),Nt)).length;d<p;d++)h=o,d!==u&&(h=k.clone(h,!0,!0),a&&k.merge(s,bt(h,"script"))),i.call(t[d],h,d);if(a)for(c=s[s.length-1].ownerDocument,k.map(s,jt),d=0;d<a;d++)h=s[d],vt.test(h.type||"")&&!Z.access(h,"globalEval")&&k.contains(c,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?k._evalUrl&&!h.noModule&&k._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},c):_(h.textContent.replace(Pt,""),h,c))}return t}function Bt(t,e,i){for(var n,o=e?k.filter(e,t):t,r=0;null!=(n=o[r]);r++)i||1!==n.nodeType||k.cleanData(bt(n)),n.parentNode&&(i&&st(n)&&xt(bt(n,"script")),n.parentNode.removeChild(n));return t}k.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,r,s,a=t.cloneNode(!0),l=st(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(s=bt(a),n=0,o=(r=bt(t)).length;n<o;n++)Ft(r[n],s[n]);if(e)if(i)for(r=r||bt(t),s=s||bt(a),n=0,o=r.length;n<o;n++)Rt(r[n],s[n]);else Rt(t,a);return(s=bt(a,"script")).length>0&&xt(s,!l&&bt(t,"script")),a},cleanData:function(t){for(var e,i,n,o=k.event.special,r=0;void 0!==(i=t[r]);r++)if(V(i)){if(e=i[Z.expando]){if(e.events)for(n in e.events)o[n]?k.event.remove(i,n):k.removeEvent(i,n,e.handle);i[Z.expando]=void 0}i[Q.expando]&&(i[Q.expando]=void 0)}}}),k.fn.extend({detach:function(t){return Bt(this,t,!0)},remove:function(t){return Bt(this,t)},text:function(t){return W(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 Gt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||It(this,t).appendChild(t)}))},prepend:function(){return Gt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=It(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Gt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Gt(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(bt(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 W(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&&!Lt.test(t)&&!yt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}
vendor: 2,611 bytes, line 25
25).nodeType&&(k.cleanData(bt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Gt(this,arguments,(function(e){var i=this.parentNode;k.inArray(this,t)<0&&(k.cleanData(bt(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=[],o=k(t),r=o.length-1,s=0;s<=r;s++)i=s===r?this:this.clone(!0),k(o[s])[e](i),h.apply(n,i.get());return this.pushStack(n)}}));var Ht=new RegExp("^("+it+")(?!px)[a-z%]+$","i"),zt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},$t=function(t,e,i){var n,o,r={};for(o in e)r[o]=t.style[o],t.style[o]=e[o];for(o in n=i.call(t),e)t.style[o]=r[o];return n},Wt=new RegExp(ot.join("|"),"i");function Xt(t,e,i){var n,o,r,s,a=t.style;return(i=i||zt(t))&&(""!==(s=i.getPropertyValue(e)||i[e])||st(t)||(s=k.style(t,e)),!m.pixelBoxStyles()&&Ht.test(s)&&Wt.test(e)&&(n=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=i.width,a.width=n,a.minWidth=o,a.maxWidth=r)),void 0!==s?s+"":s}function Yt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",rt.appendChild(h).appendChild(c);var t=i.getComputedStyle(c);n="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),o=36===e(t.width),c.style.position="absolute",r=12===e(c.offsetWidth/3),rt.removeChild(h),c=null}}function e(t){return Math.round(parseFloat(t))}var n,o,r,s,a,l,h=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===c.style.backgroundClip,k.extend(m,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,e,n,o;return null==a&&(t=b.createElement("table"),e=b.createElement("tr"),n=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",n.style.height="9px",rt.appendChild(t).appendChild(e).appendChild(n),o=i.getComputedStyle(e),a=parseInt(o.height)>3,rt.removeChild(t)),a}}
vendor: 4,816 bytes, line 25
25))}();var Ut=["Webkit","Moz","ms"],qt=b.createElement("div").style,Vt={};function Kt(t){var e=k.cssProps[t]||Vt[t];return e||(t in qt?t:Vt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Ut.length;i--;)if((t=Ut[i]+e)in qt)return t}(t)||t)}var Zt=/^(none|table(?!-c[ea]).+)/,Qt=/^--/,Jt={position:"absolute",visibility:"hidden",display:"block"},te={letterSpacing:"0",fontWeight:"400"};function ee(t,e,i){var n=nt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function ie(t,e,i,n,o,r){var s="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;s<4;s+=2)"margin"===i&&(l+=k.css(t,i+ot[s],!0,o)),n?("content"===i&&(l-=k.css(t,"padding"+ot[s],!0,o)),"margin"!==i&&(l-=k.css(t,"border"+ot[s]+"Width",!0,o))):(l+=k.css(t,"padding"+ot[s],!0,o),"padding"!==i?l+=k.css(t,"border"+ot[s]+"Width",!0,o):a+=k.css(t,"border"+ot[s]+"Width",!0,o));return!n&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l}function ne(t,e,i){var n=zt(t),o=(!m.boxSizingReliable()||i)&&"border-box"===k.css(t,"boxSizing",!1,n),r=o,s=Xt(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if(Ht.test(s)){if(!i)return s;s="auto"}return(!m.boxSizingReliable()&&o||!m.reliableTrDimensions()&&A(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(t,"display",!1,n))&&t.getClientRects().length&&(o="border-box"===k.css(t,"boxSizing",!1,n),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+ie(t,e,i||(o?"border":"content"),r,n,s)+"px"}function oe(t,e,i,n,o){return new oe.prototype.init(t,e,i,n,o)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Xt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=q(e),l=Qt.test(e),h=t.style;if(l||(e=Kt(a)),s=k.cssHooks[e]||k.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(o=s.get(t,!1,n))?o:h[e];"string"===(r=typeof i)&&(o=nt.exec(i))&&o[1]&&(i=ht(t,e,o),r="number"),null!=i&&i==i&&("number"!==r||l||(i+=o&&o[3]||(k.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==i||0!==e.indexOf("background")||(h[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,n))||(l?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,n){var o,r,s,a=q(e);return Qt.test(e)||(e=Kt(a)),(s=k.cssHooks[e]||k.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,i)),void 0===o&&(o=Xt(t,e,n)),"normal"===o&&e in te&&(o=te[e]),""===i||i?(r=parseFloat(o),!0===i||isFinite(r)?r||0:o):o}}),k.each(["height","width"],(function(t,e){k.cssHooks[e]={get:function(t,i,n){if(i)return!Zt.test(k.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,n):$t(t,Jt,(function(){return ne(t,e,n)}))},set:function(t,i,n){var o,r=zt(t),s=!m.scrollboxSize()&&"absolute"===r.position,a=(s||n)&&"border-box"===k.css(t,"boxSizing",!1,r),l=n?ie(t,e,n,a,r):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-ie(t,e,"border",!1,r)-.5)),l&&(o=nt.exec(i))&&"px"!==(o[3]||"px")&&(t.style[e]=i,i=k.css(t,e)),ee(0,i,l)}}})),k.cssHooks.marginLeft=Yt(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Xt(t,"marginLeft"))||t.getBoundingClientRect().left-$t(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,o={},r="string"==typeof i?i.split(" "):[i];n<4;n++)o[t+ot[n]+e]=r[n]||r[n-2]||r[0];return o}},"margin"!==t&&(k.cssHooks[t+e].set=ee)})),k.fn.extend({css:function(t,e){return W(this,(function(t,e,i){var n,o,r={},s=0;if(Array.isArray(e)){for(n=zt(t),o=e.length;s<o;s++)r[e[s]]=k.css(t,e[s],!1,n);return r}return void 0!==i?k.style(t,e,i):k.css(t,e)}),t,e,arguments.length>1)}}),k.Tween=oe,oe.prototype={constructor:oe,init:function(t,e,i,n,o,r){this.elem=t,this.prop=i,this.easing=o||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=oe.propHooks[this.prop];return t&&t.get?t.get(this):oe.propHooks._default.get(this)},run:function(t){var e,i=oe.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):oe.propHooks._default.set(this),this}},oe.prototype.init.prototype=oe.prototype,oe.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.
vendor: 3,257 bytes, line 25
25css(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||!k.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:k.style(t.elem,t.prop,t.now+t.unit)}}},oe.propHooks.scrollTop=oe.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=oe.prototype.init,k.fx.step={};var re,se,ae=/^(?:toggle|show|hide)$/,le=/queueHooks$/;function he(){se&&(!1===b.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(he):i.setTimeout(he,k.fx.interval),k.fx.tick())}function ce(){return i.setTimeout((function(){re=void 0})),re=Date.now()}function de(t,e){var i,n=0,o={height:t};for(e=e?1:0;n<4;n+=2-e)o["margin"+(i=ot[n])]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function pe(t,e,i){for(var n,o=(ue.tweeners[e]||[]).concat(ue.tweeners["*"]),r=0,s=o.length;r<s;r++)if(n=o[r].call(i,e,t))return n}function ue(t,e,i){var n,o,r=0,s=ue.prefilters.length,a=k.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var e=re||ce(),i=Math.max(0,h.startTime+h.duration-e),n=1-(i/h.duration||0),r=0,s=h.tweens.length;r<s;r++)h.tweens[r].run(n);return a.notifyWith(t,[h,n,i]),n<1&&s?i:(s||a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h]),!1)},h=a.promise({elem:t,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},i),originalProperties:e,originalOptions:i,startTime:re||ce(),duration:i.duration,tweens:[],createTween:function(e,i){var n=k.Tween(t,h.opts,e,i,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(n),n},stop:function(e){var i=0,n=e?h.tweens.length:0;if(o)return this;for(o=!0;i<n;i++)h.tweens[i].run(1);return e?(a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h,e])):a.rejectWith(t,[h,e]),this}}),c=h.props;for(!function(t,e){var i,n,o,r,s;for(i in t)if(o=e[n=q(i)],r=t[i],Array.isArray(r)&&(o=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(s=k.cssHooks[n])&&"expand"in s)for(i in r=s.expand(r),delete t[n],r)i in t||(t[i]=r[i],e[i]=o);else e[n]=o}(c,h.opts.specialEasing);r<s;r++)if(n=ue.prefilters[r].call(h,t,c,h.opts))return v(n.stop)&&(k._queueHooks(h.elem,h.opts.queue).stop=n.stop.bind(n)),n;return k.map(c,pe,h),v(h.opts.start)&&h.opts.start.call(t,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),k.fx.timer(k.extend(l,{elem:t,anim:h,queue:h.opts.queue})),h}k.Animation=k.extend(ue,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return ht(i.elem,t,nt.exec(e),i),i}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(R);for(var i,n=0,o=t.length;n<o;n++)i=t[n],ue.tweeners[i]=ue.tweeners[i]||[],ue.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,o,r,s,a,l,h,c,d="width"in e||"height"in e,p=this,u={},f=t.style,g=t.nodeType&&lt(t),m=Z.get(t,"fxshow");for(n in i.queue||(null==(s=k._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,p.always((function(){p.always((function(){s.unqueued--,k.queue(t,"fx").length||s.empty.fire()}))}))),e)if(o=e[n],ae.test(o)){if(delete e[n],r=r||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||
vendor: 4,592 bytes, line 25
25!m||void 0===m[n])continue;g=!0}u[n]=m&&m[n]||k.style(t,n)}if((l=!k.isEmptyObject(e))||!k.isEmptyObject(u))for(n in d&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(h=m&&m.display)&&(h=Z.get(t,"display")),"none"===(c=k.css(t,"display"))&&(h?c=h:(pt([t],!0),h=t.style.display||h,c=k.css(t,"display"),pt([t]))),("inline"===c||"inline-block"===c&&null!=h)&&"none"===k.css(t,"float")&&(l||(p.done((function(){f.display=h})),null==h&&(c=f.display,h="none"===c?"":c)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",p.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,u)l||(m?"hidden"in m&&(g=m.hidden):m=Z.access(t,"fxshow",{display:h}),r&&(m.hidden=!g),g&&pt([t],!0),p.done((function(){for(n in g||pt([t]),Z.remove(t,"fxshow"),u)k.style(t,n,u[n])}))),l=pe(g?m[n]:0,n,p),n in m||(m[n]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ue.prefilters.unshift(t):ue.prefilters.push(t)}}),k.speed=function(t,e,i){var n=t&&"object"==typeof t?k.extend({},t):{complete:i||!i&&e||v(t)&&t,duration:t,easing:i&&e||e&&!v(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(){v(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(lt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var o=k.isEmptyObject(t),r=k.speed(e,i,n),s=function(){var e=ue(this,k.extend({},t),r);(o||Z.get(this,"finish"))&&e.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,o=null!=t&&t+"queueHooks",r=k.timers,s=Z.get(this);if(o)s[o]&&s[o].stop&&n(s[o]);else for(o in s)s[o]&&s[o].stop&&le.test(o)&&n(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(i),e=!1,r.splice(o,1));!e&&i||k.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,i=Z.get(this),n=i[t+"queue"],o=i[t+"queueHooks"],r=k.timers,s=n?n.length:0;for(i.finish=!0,k.queue(this,t,[]),o&&o.stop&&o.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<s;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,o){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(de(e,!0),t,n,o)}})),k.each({slideDown:de("show"),slideUp:de("hide"),slideToggle:de("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(re=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||k.fx.stop(),re=void 0},k.fx.timer=function(t){k.timers.push(t),k.fx.start()},k.fx.interval=13,k.fx.start=function(){se||(se=!0,he())},k.fx.stop=function(){se=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 o=i.setTimeout(e,t);n.stop=function(){i.clearTimeout(o)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var fe,ge=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return W(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,o,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)||(o=k.attrHooks[e.toLowerCase()]||(k.expr.match.bool.test(e)?fe:void 0)),void 0!==i?null===i?void k.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(n=o.get(t,e))?n:null==(n=k.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&A(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(R);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}
vendor: 12,770 bytes, line 25
25),fe={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=ge[e]||k.find.attr;ge[e]=function(t,e,n){var o,r,s=e.toLowerCase();return n||(r=ge[s],ge[s]=o,o=null!=i(t,e,n)?s:null,ge[s]=r),o}}));var me=/^(?:input|select|textarea|button)$/i,ve=/^(?:a|area)$/i;function ye(t){return(t.match(R)||[]).join(" ")}function be(t){return t.getAttribute&&t.getAttribute("class")||""}function xe(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(R)||[]}k.fn.extend({prop:function(t,e){return W(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,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&k.isXMLDoc(t)||(e=k.propFix[e]||e,o=k.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=k.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ve.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.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,o,r,s,a,l=0;if(v(t))return this.each((function(e){k(this).addClass(t.call(this,e,be(this)))}));if((e=xe(t)).length)for(;i=this[l++];)if(o=be(i),n=1===i.nodeType&&" "+ye(o)+" "){for(s=0;r=e[s++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");o!==(a=ye(n))&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,n,o,r,s,a,l=0;if(v(t))return this.each((function(e){k(this).removeClass(t.call(this,e,be(this)))}));if(!arguments.length)return this.attr("class","");if((e=xe(t)).length)for(;i=this[l++];)if(o=be(i),n=1===i.nodeType&&" "+ye(o)+" "){for(s=0;r=e[s++];)for(;n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");o!==(a=ye(n))&&i.setAttribute("class",a)}return this},toggleClass:function(t,e){var i=typeof t,n="string"===i||Array.isArray(t);return"boolean"==typeof e&&n?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(i){k(this).toggleClass(t.call(this,i,be(this),e),e)})):this.each((function(){var e,o,r,s;if(n)for(o=0,r=k(this),s=xe(t);e=s[o++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==i||((e=be(this))&&Z.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Z.get(this,"__className__")||""))}))},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+ye(be(i))+" ").indexOf(e)>-1)return!0;return!1}});var _e=/\r/g;k.fn.extend({val:function(t){var e,i,n,o=this[0];return arguments.length?(n=v(t),this.each((function(i){var o;1===this.nodeType&&(null==(o=n?t.call(this,i,k(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(t){return null==t?"":t+""}))),(e=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:"string"==typeof(i=o.value)?i.replace(_e,""):null==i?"":i:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:ye(k.text(t))}},select:{get:function(t){var e,i,n,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(n=r<0?l:s?r:0;n<l;n++)if(((i=o[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!A(i.parentNode,"optgroup"))){if(e=k(i).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var i,n,o=t.options,r=k.makeArray(e),s=o.length;s--;)((n=o[s]).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}},m.checkOn||(k.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),m.focusin="onfocusin"in i;var we=/^(?:focusinfocus|focusoutblur)$/,ke=function(t){t.stopPropagation()};k.extend(k.event,{trigger:function(t,e,n,o){var r,s,a,l,h,c,d,p,f=[n||b],g=u.call(t,"type")?t.type:t,m=u.call(t,"namespace")?t.namespace.split("."):[];if(s=p=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!we.test(g+k.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),h=g.indexOf(":")<0&&"on"+g,(t=t[k.expando]?t:new k.Event(g,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:k.makeArray(e,[t]),d=k.event.special[g]||{},o||!d.trigger||!1!==d.trigger.apply(n,e))){if(!o&&!d.noBubble&&!y(n)){for(l=d.delegateType||g,we.test(l+g)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(n.ownerDocument||b)&&f.push(a.defaultView||a.parentWindow||i)}for(r=0;(s=f[r++])&&!t.isPropagationStopped();)p=s,t.type=r>1?l:d.bindType||g,(c=(Z.get(s,"events")||Object.create(null))[t.type]&&Z.get(s,"handle"))&&c.apply(s,e),(c=h&&s[h])&&c.apply&&V(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),e)||!V(n)||h&&v(n[g])&&!y(n)&&((a=n[h])&&(n[h]=null),k.event.triggered=g,t.isPropagationStopped()&&p.addEventListener(g,ke),n[g](),t.isPropagationStopped()&&p.removeEventListener(g,ke),k.event.triggered=void 0,a&&(n[h]=a)),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)}}),m.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.document||this,o=Z.access(n,e);o||n.addEventListener(t,i,!0),Z.access(n,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=Z.access(n,e)-1;o?Z.access(n,e,o):(n.removeEventListener(t,i,!0),Z.remove(n,e))}}}));var Ce=i.location,Se={guid:Date.now()},Te=/\?/;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 Ee=/\[\]$/,Me=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,De=/^(?:input|select|textarea|keygen)/i;function Le(t,e,i,n){var o;if(Array.isArray(e))k.each(e,(function(e,o){i||Ee.test(t)?n(t,o):Le(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,i,n)}));else if(i||"object"!==w(e))n(t,e);else for(o in e)Le(t+"["+o+"]",e[o],i,n)}k.param=function(t,e){var i,n=[],o=function(t,e){var i=v(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!k.isPlainObject(t))k.each(t,(function(){o(this.name,this.value)}));else for(i in t)Le(i,t[i],e,o);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")&&De.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!gt.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 Oe=/%20/g,Pe=/#.*$/,Ie=/([?&])_=[^&]*/,Ne=/^(.*?):[ \t]*([^\r\n]*)$/gm,je=/^(?:GET|HEAD)$/,Re=/^\/\//,Fe={},Ge={},Be="*/".concat("*"),He=b.createElement("a");function ze(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,o=0,r=e.toLowerCase().match(R)||[];if(v(i))for(;n=r[o++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function $e(t,e,i,n){var o={},r=t===Ge;function s(a){var l;return o[a]=!0,k.each(t[a]||[],(function(t,a){var h=a(e,i,n);return"string"!=typeof h||r||o[h]?r?!(l=h):void 0:(e.dataTypes.unshift(h),s(h),!1)})),l}return s(e.dataTypes[0])||!o["*"]&&s("*")}function We(t,e){var i,n,o=k.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&k.extend(!0,t,n),t}He.href=Ce.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ce.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ce.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,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?We(We(t,k.ajaxSettings),e):We(k.ajaxSettings,t)},ajaxPrefilter:ze(Fe),ajaxTransport:ze(Ge),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,o,r,s,a,l,h,c,d,p,u=k.ajaxSetup({},e),f=u.context||u,g=u.context&&(f.nodeType||f.jquery)?k(f):k.event,m=k.Deferred(),v=k.Callbacks("once memory"),y=u.statusCode||{},x={},_={},w="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(h){if(!s)for(s={};e=Ne.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?r:null},setRequestHeader:function(t,e){return null==h&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==h&&(u.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||w;return n&&n.abort(e),S(0,e),this}};if(m.promise(C),u.url=((t||u.url||Ce.href)+"").replace(Re,Ce.protocol+"//"),u.type=e.method||e.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(R)||[""],null==u.crossDomain){l=b.createElement("a");try{l.href=u.url,l.href=l.href,u.crossDomain=He.protocol+"//"+He.host!=l.protocol+"//"+l.host}catch(t){u.crossDomain=!0}}if(u.data&&u.processData&&"string"!=typeof u.data&&(u.data=k.param(u.data,u.traditional)),$e(Fe,u,e,C),h)return C;for(d in(c=k.event&&u.global)&&0==k.active++&&k.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!je.test(u.type),o=u.url.replace(Pe,""),u.hasContent?u.data&&u.processData&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&(u.data=u.data.replace(Oe,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||"string"==typeof u.data)&&(o+=(Te.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(o=o.replace(Ie,"$1"),p=(Te.test(o)?"&":"?")+"_="+Se.guid+++p),u.url=o+p),u.ifModified&&(k.lastModified[o]&&C.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&C.setRequestHeader("If-None-Match",k.etag[o])),(u.data&&u.hasContent&&!1!==u.contentType||e.contentType)&&C.setRequestHeader("Content-Type",u.contentType),C.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+Be+"; q=0.01":""):u.accepts["*"]),u.headers)C.setRequestHeader(d,u.headers[d]);if(u.beforeSend&&(!1===u.beforeSend.call(f,C,u)||h))return C.abort();if(w="abort",v.add(u.complete),C.done(u.success),C.fail(u.error),n=$e(Ge,u,e,C)){if(C.readyState=1,c&&g.trigger("ajaxSend",[C,u]),h)return C;u.async&&u.timeout>0&&(a=i.setTimeout((function(){C.abort("timeout")}),u.timeout));try{h=!1,n.send(x,S)}catch(t){if(h)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,e,s,l){var d,p,b,x,_,w=e;h||(h=!0,a&&i.clearTimeout(a),n=void 0,r=l||"",C.readyState=t>0?4:0,d=t>=200&&t<300||304===t,s&&(x=function(t,e,i){for(var n,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in a)if(a[o]&&a[o].test(n)){l.unshift(o);break}if(l[0]in i)r=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),i[r]}(u,C,s)),!d&&k.inArray("script",u.dataTypes)>-1&&(u.converters["text script"]=function(){}
vendor: 4,399 bytes, line 25
25),x=function(t,e,i,n){var o,r,s,a,l,h={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)h[s.toLowerCase()]=t.converters[s];for(r=c.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=h[l+" "+r]||h["* "+r]))for(o in h)if((a=o.split(" "))[1]===r&&(s=h[l+" "+a[0]]||h["* "+a[0]])){!0===s?s=h[o]:!0!==h[o]&&(r=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(u,x,C,d),d?(u.ifModified&&((_=C.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=_),(_=C.getResponseHeader("etag"))&&(k.etag[o]=_)),204===t||"HEAD"===u.type?w="nocontent":304===t?w="notmodified":(w=x.state,p=x.data,d=!(b=x.error))):(b=w,!t&&w||(w="error",t<0&&(t=0))),C.status=t,C.statusText=(e||w)+"",d?m.resolveWith(f,[p,w,C]):m.rejectWith(f,[C,w,b]),C.statusCode(y),y=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[C,u,d?p:b]),v.fireWith(f,[C,w]),c&&(g.trigger("ajaxComplete",[C,u]),--k.active||k.event.trigger("ajaxStop")))}return C},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,o){return v(i)&&(o=o||n,n=i,i=void 0),k.ajax(k.extend({url:t,type:e,dataType:o,data:i,success:n},k.isPlainObject(t)&&t))}})),k.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),k._evalUrl=function(t,e,i){return k.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){k.globalEval(t,e,i)}})},k.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(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 v(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=v(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 Xe={0:200,1223:204},Ye=k.ajaxSettings.xhr();m.cors=!!Ye&&"withCredentials"in Ye,m.ajax=Ye=!!Ye,k.ajaxTransport((function(t){var e,n;if(m.cors||Ye&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Xe[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{a.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||t.scriptAttrs)return{send:function(n,o){e=k("<script>").attr(t.scriptAttrs||{}
vendor: 4,724 bytes, line 25
25).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){i&&i()}}}));var Ue,qe=[],Ve=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||k.expando+"_"+Se.guid++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",(function(t,e,n){var o,r,s,a=!1!==t.jsonp&&(Ve.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ve.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ve,"$1"+o):!1!==t.jsonp&&(t.url+=(Te.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||k.error(o+" was not called"),s[0]},t.dataTypes[0]="json",r=i[o],i[o]=function(){s=arguments},n.always((function(){void 0===r?k(i).removeProp(o):i[o]=r,t[o]&&(t.jsonpCallback=e.jsonpCallback,qe.push(o)),s&&v(r)&&r(s[0]),s=r=void 0})),"script"})),m.createHTMLDocument=((Ue=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ue.childNodes.length),k.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(m.createHTMLDocument?((n=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(n)):e=b),r=!i&&[],(o=D.exec(t))?[e.createElement(o[1])]:(o=wt([t],e,r),r&&r.length&&k(r).remove(),k.merge([],o.childNodes)));var n,o,r},k.fn.load=function(t,e,i){var n,o,r,s=this,a=t.indexOf(" ");return a>-1&&(n=ye(t.slice(a)),t=t.slice(0,a)),v(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&k.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done((function(t){r=arguments,s.html(n?k("<div>").append(k.parseHTML(t)).find(n):t)})).always(i&&function(t,e){s.each((function(){i.apply(this,r||[t.responseText,e,t])}))}),this},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,o,r,s,a,l,h=k.css(t,"position"),c=k(t),d={};"static"===h&&(t.style.position="relative"),a=c.offset(),r=k.css(t,"top"),l=k.css(t,"left"),("absolute"===h||"fixed"===h)&&(r+l).indexOf("auto")>-1?(s=(n=c.position()).top,o=n.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),v(e)&&(e=e.call(t,i,k.extend({},a))),null!=e.top&&(d.top=e.top-a.top+s),null!=e.left&&(d.left=e.left-a.left+o),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),c.css(d))}},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],o={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&&((o=k(t).offset()).top+=k.css(t,"borderTopWidth",!0),o.left+=k.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-k.css(n,"marginTop",!0),left:e.left-o.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||rt}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;k.fn[t]=function(n){return W(this,(function(t,n,o){var r;if(y(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===o)return r?r[e]:t[n];r?r.scrollTo(i?r.pageXOffset:o,i?o:r.pageYOffset):t[n]=o}),t,n,arguments.length)}})),k.each(["top","left"],(function(t,e){k.cssHooks[e]=Yt(m.pixelPosition,(function(t,i){if(i)return i=Xt(t,e),Ht.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(o,r){var s=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===r?"margin":"border");return W(this,(function(e,i,o){var r;return y(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===o?k.css(e,i,a):k.style(e,i,o,a)}),e,s?o:void 0,s)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){k.fn[e]=function(t){return this.on(e,t)}}
25)),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)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),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)}}));var Ke=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(t,e){var i,n,o;if("string"==typeof e&&(i=t[e],e=t,t=i),v(t))return n=a.call(arguments,2),(o=function(){return t.apply(e||this,n.concat(a.call(arguments)))}).guid=t.guid=t.guid||k.guid++,o},k.holdReady=function(t){t?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=A,k.isFunction=v,k.isWindow=y,k.camelCase=q,k.type=w,k.now=Date.now,k.isNumeric=function(t){var e=k.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},k.trim=function(t){return null==t?"":(t+"").replace(Ke,"")},void 0===(n=function(){return k}.apply(e,[]))||(t.exports=n);var Ze=i.jQuery,Qe=i.$;return k.noConflict=function(t){return i.$===k&&(i.$=Qe),t&&i.jQuery===k&&(i.jQuery=Ze),k},void 0===o&&(i.jQuery=i.$=k),k}))},function(t,e,i){"use strict";var n=i(0),o=i.n(n);i(14),i(19);function r(t,e){if(void 0===e.keymap||0===e.keymap.length)return t;let i=[];for(let n=0;n<e.keys;n++)e.keymap[n].from?i.push(e.keymap[n].from[t[n]]):i.push(t[n]);for(let n=e.keys;n<t.length;n++)i.push(t[n]);return i}const s=function(t){if(!t||void 0===t.info||void 0===t.data)throw"invalid DataTree initialization.";this.info=t.info,this.tree=l(t.data,t.info.keys),console.log("Tree created.")};s.prototype.select=function(t){let e=function(t,e){if(void 0===e.keymap||0===e.keymap.length)return t;let i=[];for(let n=0;n<e.keys;n++)if("*"!==t[n])if(e.numeric[n]&&(t[n]=+t[n]),e.keymap[n].to){let o=e.keymap[n].to[t[n]];i.push(o)}else i.push(t[n]);else i.push(t[n]);return i}(t,this.info),i=[];if(this.tree.resolveKeys(e,i),0===i.length)throw"No valid keys found for: "+t;let n=[];for(let t=0;t<i.length;t++)this.tree.select(i[t],n,this.info.interpolations);for(let t=0;t<n.length;t++)n[t]=r(n[t],this.info);return n};function a(t,e,i){this.numericKey=!0,this.children=[],this.add(t,e,i)}function l(t,e){let i=t[0].slice(0,e),n=new a(i,t[0]);for(let o=1;o<t.length;o++)i=t[o].slice(0,e),n.add(i,t[o]);return function t(e){if(e&&e.children){e.numericKey&&e.children.sort((function(t,e){return t.key-e.key}));for(let i=0;i<e.children.length;i++)t(e.children[i].node)}}(n),n}function h(t,e,i){let n=d(e,i),o=1;for(;e[o]<t;)o++;let r=(t-e[o-1])/(e[o]-e[o-1]),s=n[o-1]*(e[o]-e[o-1])-(i[o]-i[o-1]),a=-n[o]*(e[o]-e[o-1])+(i[o]-i[o-1]);return(1-r)*i[o-1]+r*i[o]+r*(1-r)*(s*(1-r)+a*r)}function c(t,e,i){let n=t[e];t[e]=t[i],t[i]=n}function d(t,e){let i=t.length-1,n=function(t,e){let i=[];for(let n=0;n<t;n++){i.push([]);for(let t=0;t<e;t++)i[n].push(0)}return i}(i+1,i+2);for(let o=1;o<i;o++)n[o][o-1]=1/(t[o]-t[o-1]),n[o][o]=2*(1/(t[o]-t[o-1])+1/(t[o+1]-t[o])),n[o][o+1]=1/(t[o+1]-t[o]),n[o][i+1]=3*((e[o]-e[o-1])/((t[o]-t[o-1])*(t[o]-t[o-1]))+(e[o+1]-e[o])/((t[o+1]-t[o])*(t[o+1]-t[o])));return n[0][0]=2/(t[1]-t[0]),n[0][1]=1/(t[1]-t[0]),n[0][i+1]=3*(e[1]-e[0])/((t[1]-t[0])*(t[1]-t[0])),n[i][i-1]=1/(t[i]-t[i-1]),n[i][i]=2/(t[i]-t[i-1]),n[i][i+1]=3*(e[i]-e[i-1])/((t[i]-t[i-1])*(t[i]-t[i-1])),function(t){let e=t.length,i=[];for(let i=0;i<e;i++){let n=0,o=Number.NEGATIVE_INFINITY;for(let r=i;r<e;r++)t[r][i]>o&&(n=r,o=t[r][i]);c(t,i,n),0===t[n][i]&&console.log("matrix is singular!");for(let n=i+1;n<e;n++){for(let o=i+1;o<e+1;o++)t[n][o]=t[n][o]-t[i][o]*(t[n][i]/t[i][i]);t[n][i]=0}}for(let n=e-1;n>=0;n--){let o=t[n][e]/t[n][n];i[n]=o;for(let i=n-1;i>=0;i--)t[i][e]-=t[i][n]*o,t[i][n]=0}return i}(n)}function p(t,e,i){let n,o,r=[i];for(n=1;n<e.length;n++)for(r.push([]),o=1;o<=n;o++)r[o][n]=((t-e[n-o])*r[o-1][n]-(t-e[n])*r[o-1][n-1])/(e[n]-e[n-o]);return r[o-1][n-1]}
25a.prototype.add=function(t,e,i){if(i||(i=0),t){let n=t[i];if(this.numericKey&&isNaN(+n)&&(this.numericKey=!1),t.length===i){if(this.data)throw"Blc.DataTree duplicate key: "+e;this.data=e}else{let o=this.children.findIndex((function(t){return t.key===n}));o>=0?this.children[o].node.add(t,e,i+1):this.children.push({key:n,node:new a(t,e,i+1)})}}},a.prototype.print=function(){if(this.data)console.log("%j",this.data);else for(let t=0;t<this.children.length;t++)this.children[t].node.print()},a.prototype.select=function(t,e,i,n,o){let r,s;n||(n=0),o||(o=!1);let a=this.children.length;if(t.length===n){if(!this.data)throw"Invalid key length: "+t.length;return this.data}{s=function(t,e){let i="linear";t&&(t instanceof Array?e<t.length&&(i=t[e]):i=t,"linear"!==i&&"spline"!==i&&"polynomial"!==i&&(i="none"));return i}(i,n);let l=t[n];if(a>0)if(r=this.children.findIndex((function(t){return t.key===l})),r>=0){let s=this.children[r].node.select(t,e,i,n+1,o);if(s){if(o)return s;e.push(s)}}else if("none"!==s&&this.numericKey){for(r=0;r<a&&!(this.children[r].key>l);r++);if(r>=1&&r<a){let c=[];if("linear"===s){let o=t.slice();o[n]=this.children[r-1].key;let s=t.slice();s[n]=this.children[r].key,c.push(this.children[r-1].node.select(o,e,i,n+1,!0)),c.push(this.children[r].node.select(s,e,i,n+1,!0))}else for(let o=0;o<a;o++){let r=t.slice();r[n]=this.children[o].key,c.push(this.children[o].node.select(r,e,i,n+1,!0))}let u=function(t,e,i,n,o){let r=o[0].slice();for(let t=0;t<i.length;t++)"*"!==i[t]&&(r[t]=i[t]);let s=[];for(let t=0;t<o.length;t++)s.push(o[t][n]);if("linear"===t)return function(t,e,i,n,o){let r=n[0],s=n[1];for(let n=i.length;n<o[0].length;n++){let i=o[0][n],a=o[1][n];t[n]=i+(e-r)*(a-i)/(s-r)}return t}(r,e,i,s,o);if("spline"===t)return function(t,e,i,n,o){for(let r=i.length;r<t.length;r++){let i=[];for(let t=0;t<o.length;t++)i.push(o[t][r]);d(n,i);t[r]=h(e,n,i)}return t}(r,e,i,s,o);if("polynomial"===t)return function(t,e,i,n,o){for(let r=i.length;r<t.length;r++){let i=[];for(let t=0;t<o.length;t++)i.push(o[t][r]);t[r]=p(e,n,i)}return t}(r,e,i,s,o);throw"Unknown interpolation method: "+t}(s,l,t,n,c);if(o)return u;e.push(u)}}}},a.prototype.resolveKeys=function(t,e,i){i||(i=0);let n=this.children.length;if(t)if(t.length===i){if(!this.data)throw"Invalid key length: "+t.length;e.push(t)}else{let o=t[i];if("*"===o)for(let o=0;o<n;o++){let n=t.slice();n[i]=this.children[o].key,this.children[o].node.resolveKeys(n,e,i+1)}else if(n>0){let r=this.children.findIndex((function(t){return t.key===o}));if(r>=0)this.children[r].node.resolveKeys(t,e,i+1);else if(this.numericKey){for(r=0;r<n&&!(this.children[r].key>o);r++);r>=1&&r<n&&this.children[r-1].node.resolveKeys(t,e,i+1)}}}};var u=s;let f=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/",g=null,m=null,v=",",y={};function b(t){return isNaN(+t)?t:+t}function x(t){o()("#bs-info-dialog").length>0&&(o()("#info-message").html(t),o()("#bs-info-dialog").modal())}function _(t){let e=t.target.files[0];if(!e)return;let i=new FileReader;i.onload=function(t){let i=t.target.result.replace(/\r/g,"\n").replace(/\n\n/g,"\n");if(e.name.endsWith(".json")&&g){let t=JSON.parse(i);g(t)}},i.readAsText(e)}function w(t){let e=t.target.files[0];if(!e)return;let i=new FileReader;i.onload=function(t){let i=[],n=t.target.result.replace(/\r/g,"\n").replace(/\n\n/g,"\n").split("\n");for(let t=0;t<n.length;t++){let e=n[t].trim();if(e.length>0){let t=[],n=e.split(v);for(let e=0;e<n.length;e++){let i=n[e].trim();isNaN(+i)?t.push(i):t.push(+i)}i.push(t)}}e.name.endsWith(".csv")&&m&&m(i)},i.readAsText(e)}e.a={init:function(t,e){e||(!function(t){let e='\x3c!-- Header with logo --\x3e<div class="blc-header">    <span class="blc-header-text">Bell Labs Consulting</span>    <span class="blc-header-text" id="blc-header-title">'+t+'</span>    <span class="pl-5"><button id="btn-help" class="btn-default btn-sm">Help</button></span></div>\x3c!-- Show the Nokia logo while loading content --\x3e<div class="blc-loading" style="position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 9999; background-color: #124191;">    <div style="position: absolute; left: calc(50% - 257px); top:calc(50% - 180px);">        <img src="./img/NokiaWhite.png" alt="Nokia">    \t</div>        <div style="position: absolute; left: calc(50% - 28px); top:calc(50% - 28px);">            <br>            <i style="font-size: 48px; color: white;"></i>            <br>
25            <span style="color:white;">Loading...</span>        </div>    </div></div>';o()("body").prepend(e),o()("#btn-help").on("click",(function(){x(o()("#help-text").html())}))}(t),o()("body").append('<div class="blc-footer"> <a href="http://www.bell-labs.com/consulting/" target="_blank">&#xA9; 2021 Bell Labs Consulting. Nokia internal use.</a></div>'),o()("body").append('\x3c!-- Information Dialog --\x3e<div class="fade modal" id="bs-info-dialog" role="dialog" style="display: none;">    <div class="modal-dialog modal-lg" role="document">        \x3c!-- Modal content--\x3e        <div class="modal-content">            <div class="modal-header">                <h4 class="modal-title">Info</h4>                <button type="button" class="close" data-dismiss="modal">&#xD7;</button>            </div>            <div class="modal-body">                <p id="info-message"></p>            </div>            <div class="modal-footer">                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>            </div>        </div>    </div></div>\x3c!-- Warning Dialog --\x3e<div class="modal fade" id="bs-warning-dialog" role="dialog" style="display: none;">    <div class="modal-dialog">        \x3c!-- Modal content--\x3e        <div class="modal-content">            <div class="modal-header">                <h4 class="modal-title">Warning</h4>                <button type="button" class="close" data-dismiss="modal">&#xD7;</button>            </div>            <div class="modal-body">                <p id="warning-message"></p>            </div>            <div class="modal-footer">                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>            </div>        </div>    </div></div>\x3c!-- Error Dialog --\x3e<div class="modal fade" id="bs-error-dialog" role="dialog" style="display: none;">    <div class="modal-dialog">        \x3c!-- Modal content--\x3e        <div class="modal-content">            <div class="modal-header">                <h4 class="modal-title">Error Message</h4>                <button type="button" class="close" data-dismiss="modal">&#xD7;</button>            </div>            <div class="modal-body">                <p id="error-message"></p>            </div>            <div class="modal-footer">                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>            </div>        </div>    </div></div>\x3c!-- Input Dialog --\x3e<div class="modal fade" id="bs-input-dialog" role="dialog" style="display: none;">    <div class="modal-dialog">        \x3c!-- Modal content--\x3e        <div class="modal-content">            <div class="modal-header">                <button type="button" class="close" data-dismiss="modal">&#xD7;</button>                <h4 class="modal-title">Input</h4>            </div>            <div class="modal-body">                <input type="text" id="bs-input-dialog-input">            </div>            <div class="modal-footer">                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>            </div>        </div>    </div></div>\x3c!-- Load JSON File Dialog --\x3e<div class="modal fade" id="dlg-json-load" tabindex="-1" role="dialog" style="display: none;">    <div class="modal-dialog" role="document">        <div class="modal-content">            <div class="modal-header">                <h5 class="modal-title">Load Json</h5>                <button type="button" class="close" data-dismiss="modal">                    <span aria-hidden="true">&times;</span>                </button>            </div>            <div class="modal-body">                Select JSON file                <input type="file" id="inp-json-file">            </div>            <div class="modal-footer">                <button type="button" class="btn btn-primary" data-dismiss="modal" id="btn-json-load-ok">Ok</button>            </div>        </div>    </div></div>\x3c!-- Load CSV File Dialog --\x3e<div class="modal fade" id="dlg-csv-load" tabindex="-1" role="dialog" style="display: none;">    <div class="modal-dialog" role="document">        <div class="modal-content">            <div class="modal-header">                <h5 class="modal-title">Load CSV</h5>                <button type="button" class="close" data-dismiss="modal">
25                    <span aria-hidden="true">&times;</span>                </button>            </div>            <div class="modal-body">                Select CSV file                <input type="file" id="inp-csv-file">            </div>            <div class="modal-footer">                <button type="button" class="btn btn-primary" data-dismiss="modal" id="btn-csv-load-ok">Ok</button>            </div>        </div>    </div></div>')),o()(document).on("shown.bs.tab",(function(t){o()(window).resize()})),o()(".blc-loading").fadeOut("slow"),o()(".container-fluid").css("opacity",1),o()("#inp-json-file").on("change",_),o()("#inp-csv-file").on("change",w)},warning:function(t){o()("#bs-warning-dialog").length>0&&(o()("#warning-message").html(t),o()("#bs-warning-dialog").modal())},error:function(t){console.log(t),o()("#bs-error-dialog").length>0&&(o()("#error-message").html(t),o()("#bs-error-dialog").modal())},info:x,nokiaGrey:["#EDF3F5","#BEC8D2","#98A2AE","#4D5766","#273142"],nokiaAccent:["#00C9FF","#FF3154","#FFFB00","#4BDD33","#FF9910","#000000"],nokiaPrimary:["#124191","#FFFFFF","#001135"],nokiaColors:["#124191","#00c9ff","#98a2ae","#4d5766","#edf3f5","#bec8d2","#273142","#000000","#4bdd33","#ff9910","#ff3154","#fffb00"],nokiaColor:{Blue:"#124191",White:"#FFFFFF",Black:"#001135",LightBlue:"#00C9FF",Red:"#FF3154",Yellow:"#FFFB00",Green:"#4BDD33",Orange:"#FF9910",Grey1:"#EDF3F5",Grey2:"#BEC8D2",Grey3:"#98A2AE",Grey4:"#4D5766",Grey5:"#273142"},genButton:function(t,e,i,n){let r=`<button id="button-${t}" type="button" class="btn btn-${i}">${e}</button>`;o()("#"+t).html(r),o()("#button-"+t).on("click",(function(){n(t)}))},genRadio:function(t,e,i,n,r){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let s=`<div>${e}</div><div>`;for(let e=0;e<i.length;e++){let n=i[e];s+=`<div class="custom-control custom-radio${r?" custom-control-inline":""}">`,s+=`<input type="radio" class="custom-control-input radio-input" id="radio-${t}-${e}" name="${t}" value="${n.value}"${n.checked?" checked":""}>`,s+=`<label class="custom-control-label" for="radio-${t}-${e}">${n.name}</label>`,s+="</div>\n",n.checked&&(y[t]=b(n.value))}s+="</div>",o()("#"+t).html(s),o()("#"+t).find("input").on("change",(function(){let e=b(o()('.radio-input[name="'+t+'"]:checked').val());y[t]=e,n(t)}))},setRadio:function(t,e){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let i=o()('.radio-input[name="'+t+'"][value="'+e+'"]');if(!(i&&i.length>0))throw"Invalid radio button id: "+t+" with value: "+e;i.prop("checked",!0),y[t]=b(e)},genRange:function(t,e,i,n,r){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let s=`<div>${e}</div>`;0===e.length&&(s="");let a=`${s}<input class="js-range-slider slider-input" id="slider-${t}"></input>`;o()("#"+t).html(a),y[t]=b(i.from),i.onFinish=e=>{y[t]=e.from,n(t)},i.onChange=e=>{y[t]=e.from,r&&r(t)},o()("#slider-"+t).ionRangeSlider(i)},setRange:function(t,e){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let i=o()("#slider-"+t).data("ionRangeSlider");if(!i)throw"Invalid slider id: "+t;i.update({from:e}),y[t]=b(e)},genCheckbox:function(t,e,i,n,r){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let s=`<div>${e}</div><div>`,a=[];for(let e=0;e<i.length;e++){let n=i[e];s+=`<div class="custom-control custom-checkbox${r?" custom-control-inline":""}">`,s+=`<input type="checkbox" class="custom-control-input checkbox-input" id="checkbox-${t}-${e}" data-idx="${e}" ${n.checked?" checked":""}>`,s+=`<label class="custom-control-label" for="checkbox-${t}-${e}">${n.name}</label>`,s+="</div>\n",a.push(n.checked)}i.length>
251?y[t]=a:y[t]=a[0],s+="</div>",o()("#"+t).html(s),o()("#"+t).find("input").on("change",(function(){let e=o()(this).prop("checked"),r=o()(this).data("idx");i.length>1?y[t][r]=e:y[t]=e,n(t)}))},setCheckbox:function(t,e,i){if(0===o()("#"+t).length)throw"No element in html with id: "+t;if(void 0===i){let i=o()(`#checkbox-${t}-0`);if(!(i&&i.length>0))throw"Invalid checkbox id: "+t;i.prop("checked",e),y[t]=e}else{let n=o()(`#checkbox-${t}-${i}`);if(!(n&&n.length>0))throw"Invalid checkbox id: "+t+" with index: "+i;n.prop("checked",e),y[t][i]=e}},genSwitch:function(t,e,i,n,r){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let s=`<div>${e}</div><div>`,a=[];for(let e=0;e<i.length;e++){let n=i[e];s+=`<div class="custom-control custom-switch${r?" custom-control-inline":""}">`,s+=`<input type="checkbox" class="custom-control-input" id="switch-${t}-${e}" data-idx="${e}" ${n.checked?" checked":""}>`,s+=`<label class="custom-control-label" for="switch-${t}-${e}">${n.name}</label>`,s+="</div>\n",a.push(n.checked)}i.length>
251?y[t]=a:y[t]=a[0],s+="</div>",o()("#"+t).html(s),o()("#"+t).find("input").on("change",(function(){let e=o()(this).prop("checked"),r=o()(this).data("idx");i.length>1?y[t][r]=e:y[t]=e,n(t)}))},setSwitch:function(t,e,i){if(0===o()("#"+t).length)throw"No element in html with id: "+t;if(void 0===i){let i=o()(`#switch-${t}-0`);if(!(i&&i.length>0))throw"Invalid switch id: "+t;i.prop("checked",e),y[t]=e}else{let n=o()(`#switch-${t}-${i}`);if(!(n&&n.length>0))throw"Invalid switch id: "+t+" with index: "+i;n.prop("checked",e),y[t][i]=e}},genNumber:function(t,e,i,n,r){if(0===o()("#"+t).length)throw"No element in html with id: "+t;if(void 0===e)throw"Parameter title missing for id: "+t;if(void 0===i)throw"Parameter options missing for id: "+t;if(void 0===n)throw"Parameter callback missing for id: "+t;void 0===r&&(r=!0);let s=void 0!==i.min?' min="'+i.min+'"':"",a=void 0!==i.max?' max="'+i.max+'"':"",l=void 0!==i.step?' step="'+i.step+'"':"",h=void 0!==i.from?' value="'+i.from+'"':"",c=`<div>${e}</div>`;!0===r&&(c=`<label for="number-${t}">${e}&nbsp;</label>`);let d=`${c}<input id="number-${t}" type="number"${s}${a}${l}${h} style="width: auto">`;o()("#"+t).html(d),o()("#number-"+t).on("change",(function(){y[t]=b(o()(this).val()),n(t)}))},setNumber:function(t,e){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let i=o()("#number-"+t);if(!(i&&i.length>0))throw"No number input: "+t;i.val(e),y[t]=b(e)},genSelection:function(t,e,i,n){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let r=`<div>${e}</div><select id="select-${t}" class="custom-select inp-value" aria-label="selection" style="width: auto">`;for(let e of i)r+=`<option value="${e.value}"${e.selected?" selected":""}>${e.name}</option>`,e.selected&&(y[t]=b(e.value));r+="</select>",o()("#"+t).html(r),o()("#"+t).find("select").on("change",(function(){y[t]=b(o()(this).val()),n(t)}))},setSelection:function(t,e){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let i=o()("#select-"+t).find('option[value="'+e+'"]');if(!(i&&i.length>0))throw"No select element: "+t+" with value "+e;i.prop("selected",!0),y[t]=b(e)},guiValues:y,disable:function(t,e,i){if(0===o()("#"+t).length)throw"No element in html with id: "+t;let n=o()("#slider-"+t);if(n&&n.length>0)n.data("ionRangeSlider").update({disable:e});else if(n=o()("#selection-"+t),n&&n.length>0)n.prop("disabled",e);else{if(void 0!==i){if(n=o()("#checkbox-"+t+"-"+i),n&&n.length>0)return void n.prop("disabled",e);if(n=o()("#radio-"+t+"-"+i),n&&n.length>0)return void n.prop("disabled",e);if(n=o()("#switch-"+t+"-"+i),n&&n.length>0)return void n.prop("disabled",e)}if(n=o()("#"+t).find("input"),!(n&&n.length>0))throw"Invalid element id: "+t;n.prop("disabled",e)}},getDataTree:function(t){return new u(t)},exportToCsv:function(t,e,i){void 0===i&&(i=",");let n=function(t){let e="";for(let n=0;n<t.length;n++){let o=null===t[n]?"":t[n].toString();t[n]instanceof Date&&(o=t[n].toLocaleString());let r=o.replace(/"/g,'""');r.search(/("|,|\n)/g)>=0&&(r='"'+r+'"'),n>0&&(e+=i),e+=r}return e+"\n"},o="";for(let t=0;t<e.length;t++)o+=n(e[t]);let r=new Blob([o],{type:"text/csv;charset=utf-8;"});if(navigator.msSaveBlob)navigator.msSaveBlob(r,t);else{let e=document.createElement("a");if(void 0!==e.download){let i=URL.createObjectURL(r);e.setAttribute("href",i),e.setAttribute("download",t),e.style.visibility="hidden",document.body.appendChild(e),e.click(),document.body.removeChild(e)}}},exportToJson:function(t,e){let i=JSON.stringify(e,null,4),n=new Blob([i],{type:"application/json;charset=utf-8;"});if(navigator.msSaveBlob)navigator.msSaveBlob(n,t);else{let e=document.createElement("a");if(void 0!==e.download){let i=URL.createObjectURL(n);e.setAttribute("href",i),e.setAttribute("download",t),e.style.visibility="hidden",document.body.appendChild(e),e.click(),document.body.removeChild(e)}}},importFromJson:function(t){g=t,o()("#inp-json-file").val(null),o()("#dlg-json-load").modal()},importFromCsv:function(t,e){v=void 0===e?",":e,m=t,o()("#inp-csv-file").val(null),o()("#dlg-csv-load").modal()},baseUrl:f}},function(t,e,i){"use strict";var n;!function(o,r){t.exports?(r.default=r,t.exports=o.document?r(o):r):void 0===(n=function(){return r(o)}.call(e,i,e,t))||(t.exports=n)}("undefined"!=typeof window?window:this,(function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}var i={};return e(i,"Core/Globals.js",[],(function(){var e,i=void 0!==t?t:"undefined"!=typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.1.2",t.win=i,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>
25parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,i),t.win.removeEventListener("testPassive",t.noop,i))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e})),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],(function(t){function e(i,n,o,r){var s=n?"Highcharts error":"Highcharts warning";32===i&&(i=s+": Deprecated member");var a=l(i),h=a?s+" #"+i+": www.highcharts.com/errors/"+i+"/":i.toString();if(void 0!==r){var c="";a&&(h+="?"),m(r,(function(t,e){c+="\n - "+e+": "+t,a&&(h+=encodeURI(e)+"="+encodeURI(t))})),h+=c}y(t,"displayError",{chart:o,code:i,message:h,params:r},(function(){if(n)throw Error(h);w.console&&-1===e.messages.indexOf(h)&&console.warn(h)})),e.messages.push(h)}function i(t,e){return parseInt(t,e||10)}function n(t){return"string"==typeof t}function o(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function r(t,e){return!(!t||"object"!=typeof t||e&&o(t))}function s(t){return r(t)&&"number"==typeof t.nodeType}function a(t){var e=t&&t.constructor;return!(!r(t,!0)||s(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function h(t){return null!=t}function c(t,e,i){var o;return n(e)?h(i)?t.setAttribute(e,i):t&&t.getAttribute&&((o=t.getAttribute(e))||"class"!==e||(o=t.getAttribute(e+"Name"))):m(e,(function(e,i){t.setAttribute(i,e)})),o}function d(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t}function p(){for(var t=arguments,e=t.length,i=0;i<e;i++){var n=t[i];if(null!=n)return n}}function u(e,i){t.isMS&&!t.svg&&i&&void 0!==i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")"),d(e.style,i)}function f(t,e,i,n,o){return t=_.createElement(t),e&&d(t,e),o&&u(t,{padding:"0",border:"none",margin:"0"}),i&&u(t,i),n&&n.appendChild(t),t}function g(t,e){return parseFloat(t.toPrecision(e||14))}function m(t,e,i){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(i||t[n],t[n],n,t)}function v(e,i,n){function o(i,n){var o=e.removeEventListener||t.removeEventListenerPolyfill;o&&o.call(e,i,n,!1)}function r(t){var n;if(e.nodeName){if(i){var r={};r[i]=!0}else r=t;m(r,(function(e,i){if(t[i])for(n=t[i].length;n--;)o(i,t[i][n].fn)}))}}var s="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(s,"hcEvents")){var a=s.hcEvents;i?(s=a[i]||[],n?(a[i]=s.filter((function(t){return n!==t.fn})),o(i,n)):(r(a),a[i]=[])):(r(a),delete s.hcEvents)}}function y(e,i,n,o){if(n=n||{},_.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var r=_.createEvent("Events");r.initEvent(i,!0,!0),n=d(r,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(i,n)}else if(e.hcEvents){n.target||d(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:i}),r=[];for(var s=e,a=!1;s.hcEvents;)Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents[i]&&(r.length&&(a=!0),r.unshift.apply(r,s.hcEvents[i])),s=Object.getPrototypeOf(s);a&&r.sort((function(t,e){return t.order-e.order})),r.forEach((function(t){!1===t.fn.call(e,n)&&n.preventDefault()}))}o&&!n.defaultPrevented&&o.call(e,n)}var b,x=t.charts,_=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var k=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,n=t.length;for(i=0;i<n;i++)if(e(t[i],i))return t[i]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(i,n){t[n]=function(t){var o;return e(32,!1,void 0,((o={})["Highcharts."+n]="use Array."+i,o)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}}));var C,S=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(C?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[n(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):x[c(this[0],"data-highcharts-chart")]}),{addEvent:function(e,i,n,o){void 0===o&&(o={});var r="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(r,"hcEvents")||(r.hcEvents={}),r=r.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var s=e.addEventListener||t.addEventListenerPolyfill;return s&&s.call(e,i,n,!!t.supportsPassiveEvents&&{passive:void 0===o.passive?-1!==i.indexOf("touch"):o.passive,capture:!1}),r[i]||(r[i]=[]),r[i].push({fn:n,order:"number"==typeof o.order?o.order:1/0}),r[i].sort((function(t,e){return t.order-e.order})),function(){v(e,i,n)}},arrayMax:function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}
25,attr:c,clamp:function(t,e,i){return t>e?t<i?t:i:e},cleanRecursively:function t(e,i){var n={};return m(e,(function(o,s){r(e[s],!0)&&!e.nodeType&&i[s]?(o=t(e[s],i[s]),Object.keys(o).length&&(n[s]=o)):(r(e[s])||e[s]!==i[s])&&(n[s]=e[s])})),n},clearTimeout:function(t){h(t)&&clearTimeout(t)},correctFloat:g,createElement:f,css:u,defined:h,destroyObjectProperties:function(t,e){m(t,(function(i,n){i&&i!==e&&i.destroy&&i.destroy(),delete t[n]}))},discardElement:function(t){b||(b=f("div")),t&&b.appendChild(t),b.innerHTML=""},erase:function(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}},error:e,extend:d,extendClass:function(t,e){var i=function(){};return d(i.prototype=new t,e),i},find:k,fireEvent:y,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&h(e);){var i=t.shift();if(void 0===i||"__proto__"===i)return;if(!h(e=e[i])||"function"==typeof e||"number"==typeof e.nodeType||e===w)return}return e},getStyle:function n(o,r,s){var a=t.getStyle||n;if("width"===r)return r=Math.min(o.offsetWidth,o.scrollWidth),(s=o.getBoundingClientRect&&o.getBoundingClientRect().width)<r&&s>=r-1&&(r=Math.floor(s)),Math.max(0,r-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0));if("height"===r)return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),o=w.getComputedStyle(o,void 0)){var l=o.getPropertyValue(r);p(s,"opacity"!==r)&&(l=i(l))}return l},inArray:function(t,i,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,n)},isArray:o,isClass:a,isDOMElement:s,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:r,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,i={},n=function(t,e){return"object"!=typeof t&&(t={}),m(e,(function(i,o){"__proto__"!==o&&"constructor"!==o&&(!r(i,!0)||a(i)||s(i)?t[o]=e[o]:t[o]=n(t[o]||{},i))})),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;t<o;t++)i=n(i,e[t]);return i},normalizeTickInterval:function(t,e,i,n,o){var r=t,s=t/(i=p(i,1));for(e||(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===i?e=e.filter((function(t){return 0==t%1})):.1>=i&&(e=[1/i]))),n=0;n<e.length&&(r=e[n],!(o&&r*i>=t||!o&&s<=(e[n]+(e[n+1]||e[n]))/2));n++);return g(r*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=_.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:p,pInt:i,relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:v,splat:function(t){return o(t)?t:[t]},stableSort:function(t,e){var i,n,o=t.length;for(n=0;n<o;n++)t[n].safeI=n;for(t.sort((function(t,n){return 0===(i=e(t,n))?t.safeI-n.safeI:i})),n=0;n<o;n++)delete t[n].safeI},syncTimeout:function(t,e,i){return 0<e?setTimeout(t,e,i):(t.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:S,useSerialIds:function(t){return C=p(t,C)},wrap:function(t,e,i){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,o=this;return o.proceed=function(){n.apply(o,arguments.length?arguments:e)},t.unshift(n),t=i.apply(this,t),o.proceed=null,t}}}})),e(i,"Core/Color/Palette.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",positiveColor:"#06b535",negativeColor:"#f21313"}})),e(i,"Core/Chart/ChartDefaults.js",[i["Core/Color/Palette.js"]],(function(t){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:t.highlightColor80,backgroundColor:t.backgroundColor,plotBorderColor:t.neutralColor20}})),e(i,"Core/Color/Color.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.isNumber,n=e.merge,o=e.pInt;return e=function(){function e(i){this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],this.rgba=[];var n=t.Color;return n&&n!==e?new n(i):this instanceof e?void this.init(i):new e(i)}return e.parse=function(t){return new e(t)},e.prototype.init=function(t){var i,n;
25if((this.input=t=e.names[t&&t.toLowerCase?t.toLowerCase():""]||t)&&t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else{if(t&&t.charAt&&"#"===t.charAt()){var o=t.length;t=parseInt(t.substr(1),16),7===o?i=[(16711680&t)>>16,(65280&t)>>8,255&t,1]:4===o&&(i=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])}if(!i)for(n=this.parsers.length;n--&&!i;){var r=this.parsers[n];(o=r.regex.exec(t))&&(i=r.parse(o))}}this.rgba=i||[]},e.prototype.get=function(t){var e=this.input,o=this.rgba;if(void 0!==this.stops){var r=n(e);r.stops=[].concat(r.stops),this.stops.forEach((function(e,i){r.stops[i]=[r.stops[i][0],e.get(t)]}))}else r=o&&i(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?o[3]:"rgba("+o.join(",")+")":e;return r},e.prototype.brighten=function(t){var e,n=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(i(t)&&0!==t)for(e=0;3>e;e++)n[e]+=o(255*t),0>n[e]&&(n[e]=0),255<n[e]&&(n[e]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var i=this.rgba,n=t.rgba;return n.length&&i&&i.length?e=((t=1!==n[3]||1!==i[3])?"rgba(":"rgb(")+Math.round(n[0]+(i[0]-n[0])*(1-e))+","+Math.round(n[1]+(i[1]-n[1])*(1-e))+","+Math.round(n[2]+(i[2]-n[2])*(1-e))+(t?","+(n[3]+(i[3]-n[3])*(1-e)):"")+")":e=t.input||"none",e},e.names={white:"#ffffff",black:"#000000"},e}()})),e(i,"Core/Time.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.win,n=e.defined,o=e.error,r=e.extend,s=e.isObject,a=e.merge,l=e.objectEach,h=e.pad,c=e.pick,d=e.splat,p=e.timeUnits,u=t.isSafari&&Intl&&Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&Intl&&!Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=i.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var i=e.getTime(),n=i-this.getTimezoneOffset(e);return e.setTime(n),t=e["getUTC"+t](),e.setTime(i),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](i);var n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](i),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||u&&"FullYear"===t?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){var e=c(t&&t.useUTC,!0);this.options=t=a(!0,this.options||{},t),this.Date=t.Date||i.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,i,n,o,r){if(this.useUTC){var s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s);s+=a;var l=this.getTimezoneOffset(s);a!==l?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||f||(s-=36e5)}else s=new this.Date(t,e,c(i,1),c(n,0),c(o,0),c(r,0)).getTime();return s},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.moment||i.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(n)return function(t){return 6e4*-n.tz(t,e.timezone).utcOffset()};o(25)}return this.useUTC&&e.getTimezoneOffset?function(t){return 6e4*e.getTimezoneOffset(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,i,o){if(!n(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");var s=this,a=new this.Date(i),d=this.get("Hours",a),p=this.get("Day",a),u=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=m&&m.weekdays,y=m&&m.shortWeekdays;return a=r({a:y?y[p]:v[p].substr(0,3),A:v[p],d:h(u),e:h(u,2," "),w:p,b:m.shortMonths[f],B:m.months[f],m:h(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:h(d),k:d,I:h(d%12||12),l:d%12||12,M:h(this.get("Minutes",a)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:h(a.getSeconds()),L:h(Math.floor(i%1e3),3)},t.dateFormats),l(a,(function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"==typeof t?t.call(s,i):t)})),o?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return s(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}}
25,e.prototype.getTimeTicks=function(t,e,i,o){var s,a=this,l=[],h={},d=new a.Date(e),u=t.unitRange,f=t.count||1;if(o=c(o,1),n(e)){if(a.set("Milliseconds",d,u>=p.second?0:f*Math.floor(a.get("Milliseconds",d)/f)),u>=p.second&&a.set("Seconds",d,u>=p.minute?0:f*Math.floor(a.get("Seconds",d)/f)),u>=p.minute&&a.set("Minutes",d,u>=p.hour?0:f*Math.floor(a.get("Minutes",d)/f)),u>=p.hour&&a.set("Hours",d,u>=p.day?0:f*Math.floor(a.get("Hours",d)/f)),u>=p.day&&a.set("Date",d,u>=p.month?1:Math.max(1,f*Math.floor(a.get("Date",d)/f))),u>=p.month){a.set("Month",d,u>=p.year?0:f*Math.floor(a.get("Month",d)/f));var g=a.get("FullYear",d)}u>=p.year&&a.set("FullYear",d,g-g%f),u===p.week&&(g=a.get("Day",d),a.set("Date",d,a.get("Date",d)-g+o+(g<o?-7:0))),g=a.get("FullYear",d),o=a.get("Month",d);var m=a.get("Date",d),v=a.get("Hours",d);for(e=d.getTime(),!a.variableTimezone&&a.useUTC||!n(i)||(s=i-e>4*p.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(i)),e=d.getTime(),d=1;e<i;)l.push(e),e=u===p.year?a.makeTime(g+d*f,0):u===p.month?a.makeTime(g,o+d*f):!s||u!==p.day&&u!==p.week?s&&u===p.hour&&1<f?a.makeTime(g,o,m,v+d*f):e+u*f:a.makeTime(g,o,m+d*f*(u===p.day?1:7)),d++;l.push(e),u<=p.hour&&1e4>l.length&&l.forEach((function(t){0==t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(h[t]="day")}))}return l.info=r(t,{higherRanks:h,totalRange:u*f}),l},e}()})),e(i,"Core/DefaultOptions.js",[i["Core/Globals.js"],i["Core/Chart/ChartDefaults.js"],i["Core/Color/Color.js"],i["Core/Color/Palette.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=t.isTouchDevice,a=t.svg;i=i.parse;var l=r.merge,h={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:e,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:n.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:n.neutralColor40,borderRadius:0,navigation:{activeColor:n.highlightColor100,inactiveColor:n.neutralColor20},itemStyle:{color:n.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:n.neutralColor100},itemHiddenStyle:{color:n.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:n.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:a,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:s?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:i(n.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:n.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:n.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};h.chart.styledMode=!1;var c=new o(l(h.global,h.time));return{defaultOptions:h,defaultTime:c,getOptions:function(){return h},setOptions:function(e){return l(!0,h,e),(e.time||e.global)&&(t.time?t.time.update(l(h.global,h.time,e.global,e.time)):t.time=c),h}}})),e(i,"Core/Animation/Fx.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,
25i){var n=t.parse,o=e.win,r=i.isNumber,s=i.objectEach;return function(){function t(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,n=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var o=0;o<t.length;o++){for(var s=e[o],a=t[o],l=[],h=0;h<a.length;h++){var c=s[h],d=a[h];r(c)&&r(d)&&("A"!==a[0]||4!==h&&5!==h)?l[h]=c+i*(d-c):l[h]=d}n.push(l)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,n&&n.call(t,i,this)},t.prototype.run=function(e,i,n){var r=this,s=r.options,a=function(t){return!a.stopped&&r.step(t)},l=o.requestAnimationFrame||function(t){setTimeout(t,13)},h=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(h)};e!==i||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=i,this.unit=n,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&l(h)):(delete s.curAnim[this.prop],s.complete&&0===Object.keys(s.curAnim).length&&s.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,i=this.options,n=this.elem,o=i.complete,r=i.duration,a=i.curAnim;if(n.attr&&!n.element)t=!1;else if(t||e>=r+this.startTime){this.now=this.end,this.pos=1,this.update();var l=a[this.prop]=!0;s(a,(function(t){!0!==t&&(l=!1)})),l&&o&&o.call(n),t=!1}else this.pos=i.easing((e-this.startTime)/r),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,i){function n(t,e){for(;t.length<p;){var i=t[0],n=e[p-t.length];n&&"M"===i[0]&&(t[0]="C"===n[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]),t.unshift(i),l&&(i=t.pop(),t.push(t[t.length-1],i))}}function o(t,e){for(;t.length<p;)if("C"===(e=t[Math.floor(t.length/h)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var i=t[Math.floor(t.length/h)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}var s=t.startX,a=t.endX;i=i.slice();var l=t.isArea,h=l?2:1;if(!(e=e&&e.slice()))return[i,i];if(s&&a&&a.length){for(t=0;t<s.length;t++){if(s[t]===a[0]){var c=t;break}if(s[0]===a[a.length-s.length+t]){c=t;var d=!0;break}if(s[s.length-1]===a[a.length-s.length+t]){c=s.length-t;break}}void 0===c&&(e=[])}if(e.length&&r(c)){var p=i.length+c*h;d?(n(e,i),o(i,e)):(n(i,e),o(e,i))}return[e,i]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(this.end),this.pos),null,!0)},t.timers=[],t}()})),e(i,"Core/Animation/AnimationUtilities.js",[i["Core/Animation/Fx.js"],i["Core/Utilities.js"]],(function(t,e){function i(t){return l(t)?h({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function n(e,i){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||i&&i!==t.timers[n].prop||(t.timers[n].stopped=!0)}var o=e.defined,r=e.getStyle,s=e.isArray,a=e.isNumber,l=e.isObject,h=e.merge,c=e.objectEach,d=e.pick;return{animate:function(e,i,o){var d,p,u,f="";if(!l(o)){var g=arguments;o={duration:g[2],easing:g[3],complete:g[4]}}a(o.duration)||(o.duration=400),o.easing="function"==typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=h(i),c(i,(function(a,l){n(e,l),u=new t(e,o,l),p=void 0,"d"===l&&s(i.d)?(u.paths=u.initPath(e,e.pathArray,i.d),u.toD=i.d,d=0,p=1):e.attr?d=e.attr(l):(d=parseFloat(r(e,l))||0,"opacity"!==l&&(f="px")),p||(p=a),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),u.run(d,p,f)}))},animObject:i,getDeferredAnimation:function(t,e,n){var r=i(e),s=0,a=0;return(n?[n]:t.series).forEach((function(t){t=i(t.options.animation),s=e&&o(e.defer)?r.defer:Math.max(s,t.duration+t.defer),a=Math.min(r.duration,t.duration)})),t.renderer.forExport&&(s=0),{defer:Math.max(0,s-a),duration:Math.min(s,a)}},setAnimation:function(t,e){e.renderer.globalAnimation=d(t,e.options.chart.animation,!0)},stop:n}})),e(i,"Core/Renderer/HTML/AST.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.SVG_NS,n=e.attr,o=e.createElement,r=e.discardElement,s=e.error,a=e.isString,l=e.objectEach,h=e.splat;try{var c=!!(new DOMParser).parseFromString("","text/html")}catch(t){c=!1}return e=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return l(t,(function(i,n){var o=!0;-1===e.allowedAttributes.indexOf(n)&&(o=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(o=a(i)&&e.allowedReferences.some((function(t){return 0===i.indexOf(t)}))),o||(s("Highcharts warning: Invalid attribute '"+n+"' in config"),delete t[n])})),t},e.setElementHTML=function(t,i){t.innerHTML="",i&&new e(i).addToDOM(t)},e.prototype.addToDOM=function(o){return function o(r,a){var c;return h(r).forEach((function(r){var h=r.tagName,d=r.textContent?t.doc.createTextNode(r.textContent):void 0;if(h)if("#text"===h)var p=d;else if(-1!==e.allowedTags.indexOf(h)){h=t.doc.createElementNS("svg"===h?i:a.namespaceURI||i,h);var u=r.attributes||{};l(r,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(u[e]=t)})),n(h,e.filterUserAttributes(u)),d&&h.appendChild(d),o(r.children||[],h),p=h}else s("Highcharts warning: Invalid tagName '"+h+"' in config");p&&a.appendChild(p),c=p})),c}(this.nodes,o)},e.prototype.parseMarkup=function(t){var e=[];
25if(c)t=(new DOMParser).parseFromString(t,"text/html");else{var i=o("div");i.innerHTML=t,t={body:i}}var n=function(t,e){var i=t.nodeName.toLowerCase(),o={tagName:i};if("#text"===i){if(i=t.textContent||"",/^[\s]*$/.test(i))return;o.textContent=i}if(i=t.attributes){var r={};[].forEach.call(i,(function(t){r[t.name]=t.value})),o.attributes=r}if(t.childNodes.length){var s=[];[].forEach.call(t.childNodes,(function(t){n(t,s)})),s.length&&(o.children=s)}e.push(o)};return[].forEach.call(t.body.childNodes,(function(t){return n(t,e)})),i&&r(i),e},e.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e}()})),e(i,"Core/FormatUtilities.js",[i["Core/DefaultOptions.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e,i,o){t=+t||0,e=+e;var r=n.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,c=t.toString().split("e"),d=e;if(-1===e)e=Math.min(h,20);else if(s(e)){if(e&&c[1]&&0>c[1]){var p=e+ +c[1];0<=p?(c[0]=(+c[0]).toExponential(p).split("e")[0],e=p):(c[0]=c[0].split(".")[0]||0,t=20>e?(c[0]*Math.pow(10,c[1])).toFixed(e):0,c[1]=0)}}else e=2;p=(Math.abs(c[1]?c[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e);var u=3<(h=String(l(p))).length?h.length%3:0;return i=a(i,r.decimalPoint),o=a(o,r.thousandsSep),t=(0>t?"-":"")+(u?h.substr(0,u)+o:""),t=0>+c[1]&&!d?"0":t+h.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(t+=i+p.slice(-e)),c[1]&&0!=+t&&(t+="e"+c[1]),t}var n=t.defaultOptions,o=t.defaultTime,r=e.getNestedProperty,s=e.isNumber,a=e.pick,l=e.pInt;return{dateFormat:function(t,e,i){return o.dateFormat(t,e,i)},format:function(t,e,s){var a="{",l=!1,h=/f$/,c=/\.([0-9])/,d=n.lang,p=s&&s.time||o;s=s&&s.numberFormatter||i;for(var u=[];t;){var f=t.indexOf(a);if(-1===f)break;var g=t.slice(0,f);if(l){if(g=g.split(":"),a=r(g.shift()||"",e),g.length&&"number"==typeof a)if(g=g.join(":"),h.test(g)){var m=parseInt((g.match(c)||["","-1"])[1],10);null!==a&&(a=s(a,m,d.decimalPoint,-1<g.indexOf(",")?d.thousandsSep:""))}else a=p.dateFormat(g,a);u.push(a)}else u.push(g);t=t.slice(f+1),a=(l=!l)?"}":"{"}return u.push(t),u.join("")},numberFormat:i}})),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=t.animate,a=t.animObject,l=t.stop,h=n.deg2rad,c=n.doc,d=n.noop,p=n.svg,u=n.SVG_NS,f=n.win,g=r.addEvent,m=r.attr,v=r.createElement,y=r.css,b=r.defined,x=r.erase,_=r.extend,w=r.fireEvent,k=r.isArray,C=r.isFunction,S=r.isNumber,T=r.isString,E=r.merge,M=r.objectEach,A=r.pick,D=r.pInt,L=r.syncTimeout,O=r.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY roun
25ded".split(" ")}return t.prototype._defaultGetter=function(t){return t=A(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,i=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(t?t.element:e.box).appendChild(i),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var i=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===i.indexOf(e)&&t.push(e),t}),i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,i){var n,o,r,s={},a=this.renderer,l=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||T(i))&&(this.alignTo=n=i||"renderer",x(l,this),l.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),i=A(i,a[n],"scrollablePlotBox"===n?a.plotBox:void 0,a),n=t.align;var h=t.verticalAlign;return a=(i.x||0)+(t.x||0),l=(i.y||0)+(t.y||0),"right"===n?o=1:"center"===n&&(o=2),o&&(a+=(i.width-(t.width||0))/o),s[e?"translateX":"x"]=Math.round(a),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(l+=(i.height-(t.height||0))/r),s[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](s),this.placed=!0,this.alignAttr=s,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,i){var n=this,o=a(A(e,this.renderer.globalAnimation,!0));return e=o.defer,A(c.hidden,c.msHidden,c.webkitHidden,!1)&&(o.duration=0),0!==o.duration?(i&&(o.complete=i),L((function(){n.element&&s(n,t,o)}),e)):(this.attr(t,void 0,i),M(t,(function(t,e){o.step&&o.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var i=t.split(" ");if(t=i[i.length-1],(i=i[0])&&"none"!==i&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,i=i.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*Number(e)+i})),this.removeTextOutline();var o=c.createElementNS(u,"tspan");m(o,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":i,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),o.appendChild(e)}));var r=c.createElementNS(u,"tspan");r.textContent="​",["x","y"].forEach((function(t){var i=e.getAttribute(t);i&&r.setAttribute(t,i)})),o.appendChild(r),e.insertBefore(o,e.firstChild)}},t.prototype.attr=function(t,e,i,n){var o,r,s,a=this.element,h=this.symbolCustomAttribs,c=this;if("string"==typeof t&&void 0!==e){var d=t;(t={})[d]=e}return"string"==typeof t?c=(this[t+"Getter"]||this._defaultGetter).call(this,t,a):(M(t,(function(e,i){r=!1,n||l(this,i),this.symbolName&&-1!==h.indexOf(i)&&(o||(this.symbolAttr(t),o=!0),r=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),r||((s=this[i+"Setter"]||this._defaultSetter).call(this,e,i,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,e,s))}),this),this.afterSetters()),i&&i.call(this),c},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),b(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,n){var o,r,s,a,l,h,c,d,p,u,f,g=this.renderer,m=[];w(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?r="radialGradient":t.linearGradient&&(r="linearGradient"),r){if(s=t[r],l=g.gradients,h=t.stops,p=n.radialReference,k(s)&&(t[r]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===r&&p&&!b(s.gradientUnits)&&(a=s,s=E(s,g.getRadialAttr(p,a),{gradientUnits:"userSpaceOnUse"})),M(s,(function(t,e){"id"!==e&&m.push(e,t)})),M(h,(function(t){m.push(t)})),m=m.join(","),l[m])u=l[m].attr("id");else{s.id=u=O();var v=l[m]=g.createElement(r).attr(s).add(g.defs);v.radAttr=a,v.stops=[],h.forEach((function(t){0===t[1].indexOf("rgba")?(o=i.parse(t[1]),c=o.get("rgb"),d=o.get("a")):(c=t[1],d=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":d}).add(v),v.stops.push(t)}))}f="url("+g.url+"#"+u+")",n.setAttribute(e,f),n.gradient=m,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,i={},n=this.element,o=["textOutline","textOverflow","width"],r="",s=!e;if(t&&t.color&&(t.fill=t.color),e&&M(t,(function(t,n){e&&e[n]!==t&&(i[n]=t,s=!0)})),s){if(e&&(t=_(e,i)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var a=this.textWidth=D(t.width);if(this.styles=t,a&&!p&&this.renderer.forExport&&delete t.width,n.namespaceURI===this.SVG_NS){var l=function(t,e){return"-"+e.toLowerCase()};M(t,(function(t,e){-1===o.indexOf(e)&&(r+=e.replace(/([A-Z])/g,l)+":"+t+";")})),r&&m(n,"style",r)}else y(n,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=i.length;t--;)i[t]=""+D(i[t])*A(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},i=t.renderer,n=e.ownerSVGElement,o=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,l(t),t.clipPath&&n){var r=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(r.element.i
25d)&&t.removeAttribute("clip-path")})),t.clipPath=r.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&x(i.alignedObjects,t),M(t,(function(e,i){t[i]&&t[i].parentGroup===t&&t[i].destroy&&t[i].destroy(),delete t[i]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var i=t.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)i.appendChild(t[0]);i.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,i){k(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,i){return e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0}
25,{duration:A(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)},t.prototype.getBBox=function(e,i){var n=this.renderer,o=this.element,r=this.styles,s=this.textStr,a=n.cache,l=n.cacheKeys,c=o.namespaceURI===this.SVG_NS;i=A(i,this.rotation,0);var d,p=n.styledMode?o&&t.prototype.getStyle.call(o,"font-size"):r&&r.fontSize;if(b(s)){var u=s.toString();-1===u.indexOf("<")&&(u=u.replace(/[0-9]/g,"0")),u+=["",i,p,this.textWidth,r&&r.textOverflow,r&&r.fontWeight].join()}if(u&&!e&&(d=a[u]),!d){if(c||n.forExport){try{var f=this.fakeTS&&function(t){var e=o.querySelector(".highcharts-text-outline");e&&y(e,{display:t})};C(f)&&f("none"),d=o.getBBox?_({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight},C(f)&&f("")}catch(t){}(!d||0>d.width)&&(d={width:0,height:0})}else d=this.htmlGetBBox();if(n.isSVG&&(e=d.width,n=d.height,c&&(d.height=n={"11px,17":14,"13px,20":16}[r&&r.fontSize+","+Math.round(n)]||n),i&&(r=i*h,d.width=Math.abs(n*Math.sin(r))+Math.abs(e*Math.cos(r)),d.height=Math.abs(n*Math.cos(r))+Math.abs(e*Math.sin(r)))),u&&0<d.height){for(;250<l.length;)delete a[l.shift()];a[u]||l.push(u),a[u]=d}}return d},t.prototype.getStyle=function(t){return f.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?v(e):c.createElementNS(this.SVG_NS,e),this.renderer=t,w(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var i=this.onEvents;return i[t]&&i[t](),i[t]=g(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,i){this.opacity=t=Number(Number(t).toFixed(3)),i.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(T(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,i){var n=this.element,o=this.text?this.text.element:n,r={textAnchor:"text-anchor"},s=!1,a=this.textPathWrapper,l=!a;i=E(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},i);var h=e.filterUserAttributes(i.attributes);if(t&&i&&i.enabled){a&&null===a.element.parentNode?(l=!0,a=a.destroy()):a&&this.removeTextOutline.call(a.parentGroup),this.options&&this.options.padding&&(h.dx=-this.options.padding),a||(this.textPathWrapper=a=this.renderer.createElement("textPath"),s=!0);var c=a.element;if((i=t.element.getAttribute("id"))||t.element.setAttribute("id",i=O()),l)for(o.setAttribute("y",0),S(h.dx)&&o.setAttribute("x",-h.dx),t=[].slice.call(o.childNodes),l=0;l<t.length;l++){var p=t[l];p.nodeType!==Node.TEXT_NODE&&"tspan"!==p.nodeName||c.appendChild(p)}s&&a&&a.add({element:o}),c.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+i),b(h.dy)&&(c.parentNode.setAttribute("dy",h.dy),delete h.dy),b(h.dx)&&(c.parentNode.setAttribute("dx",h.dx),delete h.dx),M(h,(function(t,e){c.setAttribute(r[e]||e,t)})),n.removeAttribute("transform"),this.removeTextOutline.call(a),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=d}else a&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this}
25,t.prototype.shadow=function(t,e,i){var n,r=[],s=this.element,a=this.oldShadowOptions,l={color:o.neutralColor100,offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},h=!1;if(!0===t?n=l:"object"==typeof t&&(n=_(l,t)),n&&(n&&a&&M(n,(function(t,e){t!==a[e]&&(h=!0)})),h&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var c=n.opacity/n.width,d=this.parentInverted?"translate("+n.offsetY+", "+n.offsetX+")":"translate("+n.offsetX+", "+n.offsetY+")";for(l=1;l<=n.width;l++){var p=s.cloneNode(!1),u=2*n.width+1-2*l;m(p,{stroke:t.color||o.neutralColor100,"stroke-opacity":c*l,"stroke-width":u,transform:d,fill:"none"}),p.setAttribute("class",(p.getAttribute("class")||"")+" highcharts-shadow"),i&&(m(p,"height",Math.max(m(p,"height")-u,0)),p.cutHeight=u),e?e.element.appendChild(p):s.parentNode&&s.parentNode.insertBefore(p,s),r.push(p)}this.shadows=r}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,n){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=D(t);else if(""!==t){var i=c.createElementNS(u,"rect");m(i,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(i){e[i]=A(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,i=e.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(A(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var n=this.shadows;if(n)for(var o=n.length;o--;)i.call(n[o],"height"===t?Math.max(e-(n[o].cutHeight||0),0):"d"===t?this.d:e,t,n[o])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,n=this.rotation,o=this.matrix,r=this.element,s=this.translateX||0,a=this.translateY||0;i&&(s+=this.width,a+=this.height),s=["translate("+s+","+a+")"],b(o)&&s.push("matrix("+o.join(",")+")"),i?s.push("rotate(90) scale(-1,1)"):n&&s.push("rotate("+n+" "+A(this.rotationOriginX,r.getAttribute("x"),0)+" "+A(this.rotationOriginY,r.getAttribute("y")||0)+")"),(b(t)||b(e))&&s.push("scale("+A(t,1)+" "+A(e,1)+")"),s.length&&r.setAttribute("transform",s.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,n=this.parentGroup,o=(n||i).element||i.box,r=this.element;i=o===i.box;var s,a=!1,l=this.added;if(b(t)?(r.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):b(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&n&&(n.handleZ=!0),s=(e=o.childNodes).length-1;0<=s&&!a;s--){l=(n=e[s]).getAttribute("data-z-index");var h=!b(l);n!==r&&(0>t&&h&&!i&&!s?(o.insertBefore(r,e[s]),a=!0):(D(l)<=t||h&&(!b(t)||0<=t))&&(o.insertBefore(r,e[s+1]||null),a=!0))}a||(o.insertBefore(r,e[i?3:0]||null),a=!0)}return a},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(i,"Core/Renderer/RendererRegistry.js",[i["Core/Globals.js"]],(function(t){var e;return function(e){var i;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=i),e.rendererTypes[t]||e.rendererTypes[i]},e.registerRendererType=function(n,o,r){e.rendererTypes[n]=o,i&&!r||(i=n,t.Renderer=o)}}(e||(e={})),e}
25)),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=e.defined,o=e.extend,r=e.isNumber,s=e.merge,a=e.pick,l=e.removeEvent;return function(e){function h(t,i,n,o,r,s,a,l,c,d){var p,u=e.call(this)||this;return u.paddingLeftSetter=u.paddingSetter,u.paddingRightSetter=u.paddingSetter,u.init(t,"g"),u.textStr=i,u.x=n,u.y=o,u.anchorX=s,u.anchorY=a,u.baseline=c,u.className=d,u.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&u.addClass("highcharts-"+d),u.text=t.text("",0,0,l).attr({zIndex:1}),"string"==typeof r&&((p=/^url\((.*?)\)$/.test(r))||u.renderer.symbols[r])&&(u.symbolKey=r),u.bBox=h.emptyBBox,u.padding=3,u.baselineOffset=0,u.needsBox=t.styledMode||p,u.deferredAttr={},u.alignFactor=0,u}return i(h,e),h.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))},h.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},h.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},h.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},h.prototype.css=function(e){if(e){var i={};e=s(e),h.textProps.forEach((function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])})),this.text.css(i);var n="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},h.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},h.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},h.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=a(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},h.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},h.prototype.heightSetter=function(t){this.heightSetting=t},h.prototype.on=function(e,i){var n=this,o=n.text,r=o&&"SPAN"===o.element.tagName?o:void 0;if(r){var s=function(t){("mouseenter"===e||"mouseleave"===e)&&t.relatedTarget instanceof Element&&(n.element.compareDocumentPosition(t.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||r.element.compareDocumentPosition(t.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||i.call(n.element,t)};r.on(e,s)}return t.prototype.on.call(n,e,s||i),n},h.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},h.prototype.paddingSetter=function(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},h.prototype.rSetter=function(t,e){this.boxAttr(e,t)},h.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},h.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},h.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},h.prototype["text-alignSetter"]=function(t){this.textAlign=t},h.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},h.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,s=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?h.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*i,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=i+Math.min((this.text.firstLineMetrics||t).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((i=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),i.add(this)),i=this.getCrispAdjust(),e.x=i,e.y=(this.baseline?-this.baselineOffset:0)+i,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(o(e,this.deferredAttr)),this.deferredAttr={})},h.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=a(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||
25(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e},h.prototype.widthSetter=function(t){this.widthSetting=r(t)?t:void 0},h.prototype.getPaddedWidth=function(){var t=this.padding,e=a(this.paddingLeft,t);return t=a(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},h.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},h.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},h.emptyBBox={width:0,height:0,x:0,y:0},h.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),h}(t)})),e(i,"Core/Renderer/SVG/Symbols.js",[i["Core/Utilities.js"]],(function(t){function e(t,e,i,n,r){var a=[];if(r){var l=r.start||0,h=s(r.r,i);i=s(r.r,n||i);var c=(r.end||0)-.001;n=r.innerR;var d=s(r.open,.001>Math.abs((r.end||0)-l-2*Math.PI)),p=Math.cos(l),u=Math.sin(l),f=Math.cos(c),g=Math.sin(c);l=s(r.longArc,.001>c-l-Math.PI?0:1),a.push(["M",t+h*p,e+i*u],["A",h,i,0,l,s(r.clockwise,1),t+h*f,e+i*g]),o(n)&&a.push(d?["M",t+n*f,e+n*g]:["L",t+n*f,e+n*g],["A",n,n,0,l,o(r.clockwise)?1-r.clockwise:0,t+n*p,e+n*u]),d||a.push(["Z"])}return a}function i(t,e,i,o,r){return r&&r.r?n(t,e,i,o,r):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function n(t,e,i,n,o){return[["M",t+(o=o&&o.r||0),e],["L",t+i-o,e],["C",t+i,e,t+i,e,t+i,e+o],["L",t+i,e+n-o],["C",t+i,e+n,t+i,e+n,t+i-o,e+n],["L",t+o,e+n],["C",t,e+n,t,e+n,t,e+n-o],["L",t,e+o],["C",t,e,t,e,t+o,e]]}var o=t.defined,r=t.isNumber,s=t.pick;return{arc:e,callout:function(t,e,i,o,s){var a=Math.min(s&&s.r||0,i,o),l=a+6,h=s&&s.anchorX;s=s&&s.anchorY||0;var c=n(t,e,i,o,{r:a});return r(h)?(t+h>=i?s>e+l&&s<e+o-l?c.splice(3,1,["L",t+i,s-6],["L",t+i+6,s],["L",t+i,s+6],["L",t+i,e+o-a]):c.splice(3,1,["L",t+i,o/2],["L",h,s],["L",t+i,o/2],["L",t+i,e+o-a]):0>=t+h?s>e+l&&s<e+o-l?c.splice(7,1,["L",t,s+6],["L",t-6,s],["L",t,s-6],["L",t,e+a]):c.splice(7,1,["L",t,o/2],["L",h,s],["L",t,o/2],["L",t,e+a]):s&&s>o&&h>t+l&&h<t+i-l?c.splice(5,1,["L",h+6,e+o],["L",h,e+o+6],["L",h-6,e+o],["L",t+a,e+o]):s&&0>s&&h>t+l&&h<t+i-l&&c.splice(1,1,["L",h-6,e],["L",h,e-6],["L",h+6,e],["L",i-a,e]),c):c},circle:function(t,i,n,o){return e(t+n/2,i+o/2,n/2,o/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n/2],["L",t+i/2,e+n],["L",t,e+n/2],["Z"]]},rect:i,roundedRect:n,square:i,triangle:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,i,n){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+n],["Z"]]}}})),e(i,"Core/Renderer/SVG/TextBuilder.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=e.doc,o=e.SVG_NS,r=i.attr,s=i.isString,a=i.objectEach,l=i.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,i=e.element,o=e.renderer,r=l(e.textStr,"").toString(),a=-1!==r.indexOf("<"),h=i.childNodes,c=h.length;o=this.width&&!e.added&&o.box;var d=[r,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(d!==e.textCache){for(e.textCache=d,delete e.actualWidth;c--;)i.removeChild(h[c]);a||this.ellipsis||this.width||-1!==r.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(r))?""!==r&&(o&&o.appendChild(i),r=new t(r),this.modifyTree(r.nodes),r.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),o&&o.removeChild(i)):i.appendChild(n.createTextNode(this.unescapeEntities(r))),s(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t=this,e=this.svgElement,i=r(e.element,"x");e.firstLineMetrics=void 0,[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),(function(n,o){n.nextSibling&&n.previousSibling&&(0===o&&1===n.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(void 0,n.previousSibling)),r(n,{dy:t.getLineHeight(n.nextSibling),x:i}))}));var s=this.width||0;if(s){var a=function(a,l){var h=a.textContent||"",c=h.replace(/([^\^])-/g,"$1- ").split(" "),d=!t.noWrap&&(1<c.length||1<e.element.childNodes.length),p=t.getLineHeight(l),u=0,f=e.actualWidth;if(t.ellipsis)h&&t.truncate(a,h,void 0,0,Math.max(0,s-parseInt(t.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(d){for(h=[],d=[];l.firstChild&&l.firstChild!==a;)d.push(l.firstChild),l.removeChild(l.firstChild);for(;c.length;)c.length&&!t.noWrap&&0<u&&(h.push(a.textContent||""),a.textContent=c.join(" ").replace(/- /g,"-")),t.truncate(a,void 0,c,0===u&&f||0,s,(function(t,e){return c.slice(0,e).join(" ").replace(/- /g,"-")})),f=e.actualWidth,u++;d.forEach((function(t){l.insertBefore(t,a)})),h.forEach((function(t){l.insertBefore(n.createTextNode(t),a),(t=n.createElementNS(o,"tspan")).textContent="​",r(t,{dy:p,x:i}
25),l.insertBefore(t,a)}))}},l=function(t){[].slice.call(t.childNodes).forEach((function(i){i.nodeType===Node.TEXT_NODE?a(i,t):(-1!==i.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),l(i))}))};l(e.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,i=function(n,o){var r=n.tagName,a=e.renderer.styledMode,l=n.attributes||{};"b"===r||"strong"===r?a?l.class="highcharts-strong":l.style="font-weight:bold;"+(l.style||""):"i"!==r&&"em"!==r||(a?l.class="highcharts-emphasized":l.style="font-style:italic;"+(l.style||"")),s(l.style)&&(l.style=l.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===r&&(l.class="highcharts-br",n.textContent="​",(o=t[o+1])&&o.textContent&&(o.textContent=o.textContent.replace(/^ +/gm,""))),"#text"!==r&&"a"!==r&&(n.tagName="tspan"),n.attributes=l,n.children&&n.children.filter((function(t){return"#text"!==t.tagName})).forEach(i)};for(t.forEach(i);t[0]&&"tspan"===t[0].tagName&&!t[0].children;)t.splice(0,1)},e.prototype.truncate=function(t,e,i,n,o,r){var s,a=this.svgElement,l=a.renderer,h=a.rotation,c=[],d=i?1:0,p=(e||i||"").length,u=p,f=function(o,s){s=s||o;var h=t.parentNode;if(h&&void 0===c[s])if(h.getSubStringLength)try{c[s]=n+h.getSubStringLength(0,i?s+1:s)}catch(t){}else l.getSpanWidth&&(t.textContent=r(e||i,o),c[s]=n+l.getSpanWidth(a,t));return c[s]};a.rotation=0;var g=f(t.textContent.length);if(n+g>o){for(;d<=p;)u=Math.ceil((d+p)/2),i&&(s=r(i,u)),g=f(u,s&&s.length-1),d===p?d=p+1:g>o?p=u-1:d=u;0===p?t.textContent="":e&&p===e.length-1||(t.textContent=s||r(e||i,u))}i&&i.splice(0,u),a.actualWidth=g,a.rotation=h},e.prototype.unescapeEntities=function(t,e){return a(this.renderer.escapes,(function(i,n){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),n))})),t},e}()})),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l,h){var c,d=i.charts,p=i.deg2rad,u=i.doc,f=i.isFirefox,g=i.isMS,m=i.isWebKit,v=i.noop,y=i.SVG_NS,b=i.symbolSizes,x=i.win,_=h.addEvent,w=h.attr,k=h.createElement,C=h.css,S=h.defined,T=h.destroyObjectProperties,E=h.extend,M=h.isArray,A=h.isNumber,D=h.isObject,L=h.isString,O=h.merge,P=h.pick,I=h.pInt,N=h.uniqueKey;return i=function(){function i(t,e,i,n,o,r,s){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,i,n,o,r,s)}return i.prototype.init=function(t,e,i,n,o,r,s){var a,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),h=l.element;s||l.css(this.getStyle(n)),t.appendChild(h),w(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&w(h,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=h,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(u.createTextNode("Created with Highcharts 9.1.2")),this.defs=this.createElement("defs").add(),this.allowHTML=r,this.forExport=o,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),f&&t.getBoundingClientRect&&((e=function(){C(t,{left:0,top:0}),a=t.getBoundingClientRect(),C(t,{left:Math.ceil(a.left)-a.left+"px",top:Math.ceil(a.top)-a.top+"px"})})(),this.unSubPixelFix=_(x,"resize",e))},i.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},i.prototype.getReferenceURL=function(){if((f||m)&&u.getElementsByTagName("base").length){if(!S(c)){var e=N();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(u.body),C(e,{position:"fixed",top:0,left:0,zIndex:9e5});var i=u.elementFromPoint(6,6);c="hitme"===(i&&i.id),u.body.removeChild(e)}if(c)return x.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},i.prototype.getStyle=function(t){return this.style=E({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},i.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},i.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},i.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),T(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},i.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},i.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},i.prototype.buildText=function(t){new l(t).buildSVG()},i.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},i.prototype.button=function(e,i,o,r,s,a,l,h,c,d){var p=this.label(e,i,o,
25c,void 0,void 0,d,void 0,"button"),u=this.styledMode,f=0,m=s?O(s):{};if(e=m&&m.style||{},m=t.filterUserAttributes(m),p.attr(O({padding:8,r:2},m)),!u){var v=(m=O({fill:n.neutralColor3,stroke:n.neutralColor20,"stroke-width":1,style:{color:n.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:e},m)).style;delete m.style;var y=(a=O(m,{fill:n.neutralColor10},t.filterUserAttributes(a||{}))).style;delete a.style;var b=(l=O(m,{fill:n.highlightColor10,style:{color:n.neutralColor100,fontWeight:"bold"}},t.filterUserAttributes(l||{}))).style;delete l.style;var x=(h=O(m,{style:{color:n.neutralColor20}},t.filterUserAttributes(h||{}))).style;delete h.style}return _(p.element,g?"mouseover":"mouseenter",(function(){3!==f&&p.setState(1)})),_(p.element,g?"mouseout":"mouseleave",(function(){3!==f&&p.setState(f)})),p.setState=function(t){1!==t&&(p.state=f=t),p.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),u||p.attr([m,a,l,h][t||0]).css([v,y,b,x][t||0])},u||p.attr(m).css(E({cursor:"default"},v)),p.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==f&&r.call(p,t)}))},i.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var n=t[0],o=t[1];return S(n[1])&&n[1]===o[1]&&(n[1]=o[1]=Math[i](n[1])-e%2/2),S(n[2])&&n[2]===o[2]&&(n[2]=o[2]=Math[i](n[2])+e%2/2),t},i.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:D(t)&&E(e,t),this.createElement("path").attr(e)},i.prototype.circle=function(t,e,i){return t=D(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},i.prototype.arc=function(t,e,i,n,o,r){return D(t)?(e=(n=t).y,i=n.r,t=n.x):n={innerR:n,start:o,end:r},(t=this.symbol("arc",t,e,i,i,n)).r=i,t},i.prototype.rect=function(t,e,i,n,o,r){o=D(t)?t.r:o;var s=this.createElement("rect");return t=D(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(n,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=s.crisp(t)),t.fill="none"),o&&(t.r=o),s.rSetter=function(t,e,i){s.r=t,w(i,{rx:t,ry:t})},s.rGetter=function(){return s.r||0},s.attr(t)},i.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(i,!0)?void 0:0}),this.alignElements()},i.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},i.prototype.image=function(t,e,i,n,o,r){var s={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};1<arguments.length&&E(s,{x:e,y:i,width:n,height:o});var l=this.createElement("image").attr(s);if(s=function(e){a(l.element,t),r.call(l,e)},r){a(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==");var h=new x.Image;_(h,"load",s),h.src=t,h.complete&&s({})}else a(l.element,t);return l},i.prototype.symbol=function(t,e,i,n,o,r){var s,a=this,l=/^url\((.*?)\)$/,h=l.test(t),c=!h&&(this.symbols[t]?t:"circle"),p=c&&this.symbols[c];if(p){"number"==typeof e&&(s=p.call(this.symbols,Math.round(e||0),Math.round(i||0),n||0,o||0,r));var f=this.path(s);a.styledMode||f.attr("fill","none"),E(f,{symbolName:c||void 0,x:e,y:i,width:n,height:o}),r&&E(f,r)}else if(h){var g=t.match(l)[1],m=f=this.image(g);m.imgwidth=P(b[g]&&b[g].width,r&&r.width),m.imgheight=P(b[g]&&b[g].height,r&&r.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){m[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,S(i)&&(r&&"within"===r.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),S(e)&&m.attr({x:e,y:i}),m.isImg=!0,S(m.imgwidth)&&S(m.imgheight)?v(m):(m.attr({width:0,height:0}),k("img",{onload:function(){var t=d[a.chartIndex];0===this.width&&(C(this,{position:"absolute",top:"-999em"}),u.body.appendChild(this)),b[g]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&v(m),this.parentNode&&this.parentNode.removeChild(this),a.imgCount--,a.imgCount||!t||t.hasLoaded||t.onload()},src:g}),this.imgCount++)}return f}
25,i.prototype.clipRect=function(t,e,i,n){var o=N()+"-",r=this.createElement("clipPath").attr({id:o}).add(this.defs);return(t=this.rect(t,e,i,n,0).add(r)).id=o,t.clipPath=r,t.count=0,t},i.prototype.text=function(t,e,i,n){var o={};return!n||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),i&&(o.y=Math.round(i)),S(t)&&(o.text=t),t=this.createElement("text").attr(o),n||(t.xSetter=function(t,e,i){for(var n,o=i.getElementsByTagName("tspan"),r=i.getAttribute(e),s=0;s<o.length;s++)(n=o[s]).getAttribute(e)===r&&n.setAttribute(e,t);i.setAttribute(e,t)}),t):this.html(t,e,i)},i.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!x.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&r.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?I(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},i.prototype.rotCorr=function(t,e,i){var n=t;return e&&i&&(n=Math.max(n*Math.cos(e*p),4)),{x:-t/3*Math.sin(e*p),y:n}},i.prototype.pathToSegments=function(t){for(var e=[],i=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o<t.length;o++)L(i[0])&&A(t[o])&&i.length===n[i[0].toUpperCase()]&&t.splice(o,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[o]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[o]);return e.push(i.slice(0)),e},i.prototype.label=function(t,e,i,n,o,r,a,l,h){return new s(this,t,e,i,n,o,r,a,l,h)},i.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},i}(),E(i.prototype,{Element:r,SVG_NS:y,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:v}),o.registerRendererType("svg",i,!0),i})),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.isFirefox,r=t.isMS,s=t.isWebKit,a=t.win,l=i.css,h=i.defined,c=i.extend,d=i.pick,p=i.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){t=t.prototype;var i=e.prototype;t.getSpanCorrection=i.getSpanCorrection,t.htmlCss=i.htmlCss,t.htmlGetBBox=i.htmlGetBBox,t.htmlUpdateTransform=i.htmlUpdateTransform,t.setSpanRotation=i.setSpanRotation},e.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=d(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),l(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,n=this.translateY||0,o=this.x||0,r=this.y||0,s=this.textAlign||"left",a={left:0,center:.5,right:1}[s],c=this.styles;if(c=c&&c.whiteSpace,l(e,{marginLeft:i,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:i+1,marginTop:n+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(i){t.invertChild(i,e)})),"SPAN"===e.tagName){var d=this.rotation,u=this.textWidth&&p(this.textWidth),f=[d,s,e.innerHTML,this.textWidth,this.textAlign].join(),g=void 0;(g=u!==this.oldTextWidth)&&!(g=u>this.oldTextWidth)&&((g=this.textPxLength)||(l(e,{width:"",whiteSpace:c||"nowrap"}),g=e.offsetWidth),g=g>u),g&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)?(l(e,{width:u+"px",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=u,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,f!==this.cTT&&(g=t.fontMetrics(e.style.fontSize,e).b,!h(d)||d===(this.oldRotation||0)&&s===this.oldAlign||this.setSpanRotation(d,a,g),this.get
25SpanCorrection(!h(d)&&this.textPxLength||e.offsetWidth,g,a,d,s)),l(e,{left:o+(this.xCorr||0)+"px",top:r+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=d,this.oldAlign=s}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,i){var n={},h=r&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":s?"-webkit-transform":o?"MozTransform":a.opera?"-o-transform":void 0;h&&(n[h]=n.transform="rotate("+t+"deg)",n[h+(o?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+i+"px",l(this.element,n))},e}(e)})),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=n.attr,s=n.createElement,a=n.extend,l=n.pick;return function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return o(n,i),n.compose=function(t){t.prototype.html=n.prototype.html},n.prototype.html=function(i,n,o){var h=this.createElement("span"),c=h.element,d=h.renderer,p=d.isSVG,u=function(t,i){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(o,r,s){var a=t.div?t.div.style:i;e.prototype[n+"Setter"].call(this,o,r,s),a&&(a[r]=o)}})),t.addedSetters=!0};return h.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,h.doTransform=!0)},p&&u(h,h.element.style),h.xSetter=h.ySetter=h.alignSetter=h.rotationSetter=function(t,e){"align"===e?h.alignValue=h.textAlign=t:h[e]=t,h.doTransform=!0},h.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},h.attr({text:i,x:Math.round(n),y:Math.round(o)}).css({position:"absolute"}),d.styledMode||h.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",h.css=h.htmlCss,p&&(h.add=function(t){var e=d.box.parentNode,i=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach((function(t){function o(e,i){t[i]=e,"translateX"===i?d.left=e+"px":d.top=e+"px",t.doTransform=!0}var l=r(t.element,"class"),c=t.styles||{},d=(n=t.div=t.div||s("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:c.cursor,pointerEvents:c.pointerEvents},n||e)).style;a(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return i[0].div&&h.on.apply({element:i[0].div,onEvents:h.onEvents},arguments),t},translateXSetter:o,translateYSetter:o}),t.addedSetters||u(t)}))}}else n=e;return n.appendChild(c),h.added=!0,h.alignOnAdd&&h.htmlUpdateTransform(),h}),h},n}(i)})),e(i,"Core/Foundation.js",[i["Core/Utilities.js"]],(function(t){var e=t.addEvent,i=t.isFunction,n=t.objectEach,o=t.removeEvent;return{registerEventOptions:function(t,r){t.eventOptions=t.eventOptions||{},n(r.events,(function(n,r){i(n)&&t.eventOptions[r]!==n&&(i(t.eventOptions[r])&&o(t,r,t.eventOptions[r]),t.eventOptions[r]=n,e(t,r,n))}))}}})),e(i,"Core/Axis/AxisDefaults.js",[i["Core/Color/Palette.js"]],(function(t){var e;return function(e){e.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:t.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,show
25FirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:t.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:t.neutralColor5,minorGridLineWidth:1,minorTickColor:t.neutralColor40,lineColor:t.highlightColor20,lineWidth:1,gridLineColor:t.neutralColor10,gridLineWidth:void 0,tickColor:t.highlightColor20},e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:t.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(e||(e={})),e})),e(i,"Core/Axis/Tick.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=e.deg2rad,o=i.clamp,r=i.correctFloat,s=i.defined,a=i.destroyObjectProperties,l=i.extend,h=i.fireEvent,c=i.isNumber,d=i.merge,p=i.objectEach,u=i.pick;return e=function(){function e(t,e,i,n,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,h(this,"init"),i||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,i=e.axis,n=i.options,o=i.chart,a=i.categories,d=i.logarithmic,p=i.names,f=e.pos,g=u(e.options&&e.options.labels,n.labels),m=i.tickPositions,v=f===m[0],y=f===m[m.length-1],b=(!g.step||1===g.step)&&1===i.tickInterval;m=m.info;var x,_=e.label;if(a=this.parameters.category||(a?u(a[f],p[f],f):f),d&&c(a)&&(a=r(d.lin2log(a))),i.dateTime&&m)var w=o.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&m.higherRanks[f]||m.unitName]),k=w.main;e.isFirst=v,e.isLast=y;var C={axis:i,chart:o,dateTimeLabelFormat:k,isFirst:v,isLast:y,pos:f,tick:e,tickPositionInfo:m,value:a};h(this,"labelFormat",C);var S=function(e){return g.formatter?g.formatter.call(e,e):g.format?(e.text=i.defaultLabelFormatter.call(e),t.format(g.format,e,o)):i.defaultLabelFormatter.call(e,e)};n=S.call(C,C);var T=w&&w.list;e.shortenLabel=T?function(){for(x=0;x<T.length;x++)if(l(C,{dateTimeLabelFormat:T[x]}),_.attr({text:S.call(C,C)}),_.getBBox().width<i.getSlotWidth(e)-2*g.padding)return;_.attr({text:""})}:void 0,b&&i._addedPlotLB&&e.moveLabel(n,g),s(_)||e.movedLabel?_&&_.textStr!==n&&!b&&(!_.textWidth||g.style.width||_.styles.width||_.css({width:null}),_.attr({text:n}),_.textPxLength=_.getBBox().width):(e.label=_=e.createLabel({x:0,y:0},n,g),e.rotation=0)},e.prototype.createLabel=function(t,e,i){var n=this.axis,o=n.chart;return(t=s(e)&&i.enabled?o.renderer.text(e,t.x,t.y,i.useHTML).add(n.labelGroup):null)&&(o.styledMode||t.css(d(i.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){a(this,this.axis)},e.prototype.getPosition=function(t,e,i,n){var s=this.axis,a=s.chart,l=n&&a.oldChartHeight||a.chartHeight;return(t={x:t?r(s.translate(e+i,null,null,n)+s.transB):s.left+s.offset+(s.opposite?(n&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):r(l-s.translate(e+i,null,null,n)-s.transB)}).y=o(t.y,-1e5,1e5),h(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,i,o,r,a,l,c){var d=this.axis,p=d.transA,u=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,f=d.staggerLines,g=d.tickRotCorr||{x:0,y:0},m=o||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),v={},y=r.y;return s(y)||(y=0===d.side?i.rotation?-8:-i.getBBox().height:2===d.side?g.y+8:Math.cos(i.rotation*n)*(g.y-i.getBBox(!1,0).height/2)),t=t+r.x+m+g.x-(a&&o?a*p*(u?-1:1):0),e=e+y-(a&&!o?a*p*(u?1:-1):0),f&&(i=l/(c||1)%f,d.opposite&&(i=f-i-1),e+=d.labelOffset/f*i),v.x=t,v.y=Math.round(e),h(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:a,index:l}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}
25,e.prototype.getMarkPath=function(t,e,i,n,o,r){return r.crispLine([["M",t,e],["L",t+(o?0:-i),e+(o?i:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,o=t.x,r=e.chart.chartWidth,s=e.chart.spacing,a=u(e.labelLeft,Math.min(e.pos,s[3]));s=u(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,r-s[1]));var l,h=this.label,c=this.rotation,d={left:0,center:.5,right:1}[e.labelAlign||h.attr("align")],p=h.getBBox().width,f=e.getSlotWidth(this),g={},m=f,v=1;c||"justify"!==i.overflow?0>c&&o-d*p<a?l=Math.round(o/Math.cos(c*n)-a):0<c&&o+d*p>s&&(l=Math.round((r-o)/Math.cos(c*n))):(r=o+(1-d)*p,o-d*p<a?m=t.x+m*(1-d)-a:r>s&&(m=s-t.x+m*d,v=-1),(m=Math.min(f,m))<f&&"center"===e.labelAlign&&(t.x+=v*(f-m-d*(f-Math.min(p,m)))),(p>m||e.autoRotation&&(h.styles||{}).width)&&(l=m)),l&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(l)+"px",(i.style||{}).textOverflow||(g.textOverflow="ellipsis"),h.css(g)))},e.prototype.moveLabel=function(t,e){var i=this,n=i.label,o=i.axis,r=o.reversed,s=!1;if(n&&n.textStr===t?(i.movedLabel=n,s=!0,delete i.label):p(o.ticks,(function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!s&&(i.labelPos||n)){var a=i.labelPos||n.xy;n=o.horiz?r?0:o.width+o.left:a.x,o=o.horiz?a.y:r?o.width+o.left:0,i.movedLabel=i.createLabel({x:n,y:o},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,i){var n=this.axis,o=n.horiz,r=this.pos,s=u(this.tickmarkOffset,n.tickmarkOffset);s=(r=this.getPosition(o,r,s,e)).x;var a=r.y;n=o&&s===n.pos+n.len||!o&&a===n.pos?-1:1,o=u(i,this.label&&this.label.newOpacity,1),i=u(i,1),this.isActive=!0,this.renderGridLine(e,i,n),this.renderMark(r,i,n),this.renderLabel(r,e,o,t),this.isNew=!1,h(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var n=this.axis,o=n.options,r={},s=this.pos,a=this.type,l=u(this.tickmarkOffset,n.tickmarkOffset),h=n.chart.renderer,c=this.gridLine,d=o.gridLineWidth,p=o.gridLineColor,f=o.gridLineDashStyle;"minor"===this.type&&(d=o.minorGridLineWidth,p=o.minorGridLineColor,f=o.minorGridLineDashStyle),c||(n.chart.styledMode||(r.stroke=p,r["stroke-width"]=d||0,r.dashstyle=f),a||(r.zIndex=1),t&&(e=0),this.gridLine=c=h.path().attr(r).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(n.gridGroup)),c&&(i=n.getPlotLinePath({value:s+l,lineWidth:c.strokeWidth()*i,force:"pass",old:t}))&&c[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},e.prototype.renderMark=function(t,e,i){var n=this.axis,o=n.options,r=n.chart.renderer,s=this.type,a=n.tickSize(s?s+"Tick":"tick"),l=t.x;t=t.y;var h=u(o["minor"!==s?"tickWidth":"minorTickWidth"],!s&&n.isXAxis?1:0);o=o["minor"!==s?"tickColor":"minorTickColor"];var c=this.mark,d=!c;a&&(n.opposite&&(a[0]=-a[0]),c||(this.mark=c=r.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||c.attr({stroke:o,"stroke-width":h})),c[d?"attr":"animate"]({d:this.getMarkPath(l,t,a[0],c.strokeWidth()*i,n.horiz,r),opacity:e}))},e.prototype.renderLabel=function(t,e,i,n){var o=this.axis,r=o.horiz,s=o.options,a=this.label,l=s.labels,h=l.step;o=u(this.tickmarkOffset,o.tickmarkOffset);var d=t.x;t=t.y;var p=!0;a&&c(d)&&(a.xy=t=this.getLabelPosition(d,t,a,r,l,o,n,h),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?p=!1:!r||l.step||l.rotation||e||0===i||this.handleOverflow(t),h&&n%h&&(p=!1),p&&c(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var n=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:n,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Color/Palette.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/Axis/AxisDefaults.js"],i["Core/Axis/Tick.js"]],(function(t,e,
25i,n,o,r,s,a,l){var h=t.animObject,c=o.registerEventOptions,d=r.deg2rad,p=n.defaultOptions,u=s.arrayMax,f=s.arrayMin,g=s.clamp,m=s.correctFloat,v=s.defined,y=s.destroyObjectProperties,b=s.erase,x=s.error,_=s.extend,w=s.fireEvent,k=s.getMagnitude,C=s.isArray,S=s.isNumber,T=s.isString,E=s.merge,M=s.normalizeTickInterval,A=s.objectEach,D=s.pick,L=s.relativeLength,O=s.removeEvent,P=s.splat,I=s.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!i:i,this.isXAxis=i,this.coll=this.coll||(i?"xAxis":"yAxis"),w(this,"init",{userOptions:e}),this.opposite=D(e.opposite,this.opposite),this.side=D(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,o=n.labels,r=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=D(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===r||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=v(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=D(n.crosshair,P(t.options.tooltip.crosshairs)[i?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=S(o.rotation)?o.rotation:void 0,c(this,n),w(this,"afterInit")},t.prototype.setOptions=function(t){this.options=E(a.defaultXAxisOptions,"yAxis"===this.coll&&a.defaultYAxisOptions,[a.defaultTopAxisOptions,a.defaultRightAxisOptions,a.defaultBottomAxisOptions,a.defaultLeftAxisOptions][this.side],E(p[this.coll],t)),w(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var i=S(this.value)?this.value:NaN,n=e.chart.time,o=this.dateTimeLabelFormat,r=p.lang,s=r.numericSymbols;r=r.numericSymbolMagnitude||1e3;var a=e.logarithmic?Math.abs(i):e.tickInterval,l=s&&s.length;if(e.categories)var h=""+this.value;else if(o)h=n.dateFormat(o,i);else if(l&&1e3<=a)for(;l--&&void 0===h;)a>=(e=Math.pow(r,l+1))&&0==10*i%e&&null!==s[l]&&0!==i&&(h=t(i/e,-1)+s[l]);return void 0===h&&(h=1e4<=Math.abs(i)?t(i,-1):t(i,-1,void 0,"")),h},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;w(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(n){if(n.visible||!i.options.chart.ignoreHiddenSeries){var o=n.options,r=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=r&&(r=null),e.isXAxis){if((o=n.xData).length){o=e.logarithmic?o.filter(e.validatePositiveValue):o;var s=(t=n.getXExtremes(o)).min,a=t.max;S(s)||s instanceof Date||(o=o.filter(S),s=(t=n.getXExtremes(o)).min,a=t.max),o.length&&(e.dataMin=Math.min(D(e.dataMin,s),s),e.dataMax=Math.max(D(e.dataMax,a),a))}}else n=n.applyExtremes(),S(n.dataMin)&&(s=n.dataMin,e.dataMin=Math.min(D(e.dataMin,s),s)),S(n.dataMax)&&(a=n.dataMax,e.dataMax=Math.max(D(e.dataMax,a),a)),v(r)&&(e.threshold=r),(!o.softThreshold||e.positiveValuesOnly)&&
25(e.softThreshold=!1)}}))})),w(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,n,o,r){var s=this.linkedParent||this,a=n&&s.old?s.old.min:s.min,l=s.minPixelPadding;o=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&o)&&s.lin2val;var h=1,c=0;return(n=n&&s.old?s.old.transA:s.transA)||(n=s.transA),i&&(h*=-1,c=s.len),s.reversed&&(c-=(h*=-1)*(s.sector||s.len)),e?(t=(t*h+c-l)/n+a,o&&(t=s.lin2val(t))):(o&&(t=s.val2lin(t)),t=S(a)?h*(t-a)*n+c+h*l+(S(r)?n*r:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==b&&t<e||t>i)&&(b?t=g(t,e,i):s=!0),t}var i,n,o,r,s,a=this,l=a.chart,h=a.left,c=a.top,d=t.old,p=t.value,u=t.lineWidth,f=d&&l.oldChartHeight||l.chartHeight,m=d&&l.oldChartWidth||l.chartWidth,v=a.transB,y=t.translatedValue,b=t.force;return t={value:p,lineWidth:u,old:d,force:b,acrossPanes:t.acrossPanes,translatedValue:y},w(this,"getPlotLinePath",t,(function(t){y=D(y,a.translate(p,null,null,d)),y=g(y,-1e5,1e5),i=o=Math.round(y+v),n=r=Math.round(f-y-v),S(y)?a.horiz?(n=c,r=f-a.bottom,i=o=e(i,h,h+a.width)):(i=h,o=m-a.right,n=r=e(n,c,c+a.height)):(s=!0,b=!1),t.path=s&&!b?null:l.renderer.crispLine([["M",i,n],["L",o,r]],u||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var n=m(Math.floor(e/t)*t);i=m(Math.ceil(i/t)*t);var o,r=[];if(m(n+t)===n&&(o=20),this.single)return[e];for(e=n;e<=i&&(r.push(e),(e=m(e+t,o))!==s);)var s=e;return r},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?D(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,n=this.pointRangePadding||0,o=this.min-n,r=(n=this.max+n)-o,s=[];if(r&&r/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach((function(t,e,n){e&&s.push.apply(s,a.getLogTickPositions(i,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())s=s.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),o,n,t.startOfWeek));else for(t=o+(e[0]-o)%i;t<=n&&t!==s[0];t+=i)s.push(t)}return 0!==s.length&&this.trimTicks(s),s},t.prototype.adjustForMinRange=function(){var t,e,i,n,o=this.options,r=this.logarithmic,s=this.min,a=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!r&&(v(o.min)||v(o.max)?this.minRange=null:(this.series.forEach((function(o){if(i=o.xData,n=o.xIncrement?1:i.length-1,1<i.length)for(t=n;0<t;t--)e=i[t]-i[t-1],(!l||e<l)&&(l=e)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),a-s<this.minRange){var h=this.dataMax-this.dataMin>=this.minRange,c=this.minRange,d=(c-a+s)/2;d=[s-d,D(o.min,s-d)],h&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),a=[(s=u(d))+c,D(o.max,s+c)],h&&(a[2]=r?r.log2lin(this.dataMax):this.dataMax),(a=f(a))-s<c&&(d[0]=a-c,d[1]=D(o.min,a-c),s=u(d))}this.min=s,this.max=a},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var i=e.closestPointRange,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&v(i)&&n&&(t=v(t)?Math.min(t,i):i)})),t},t.prototype.nameToX=function(t){var e=C(this.categories),i=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,v(n)||(n=this.options.uniqueNames?e?i.indexOf(t.name):D(i.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e)var o=i.length}else o=n;return void 0!==o&&(this.names[o]=t.name,this.names.keys[t.name]=o),o},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(i,n){if(i&&i.options&&void 0!==i.name){var o=t.nameToX(i);void 0!==o&&o!==i.x&&(i.x=o,e.xData[n]=o)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,i=t.linkedParent,n=!!t.categories,o=t.isXAxis,r=t.axisPointRange||0,s=0,a=0,l=t.transA;if(o||n||r){var h=t.getClosest();
25i?(s=i.minPointOffset,a=i.pointRangePadding):t.series.forEach((function(e){var i=n?1:o?D(e.options.pointRange,h,0):t.axisPointRange||0,l=e.options.pointPlacement;r=Math.max(r,i),t.single&&!n||(e=e.is("xrange")?!o:o,s=Math.max(s,e&&T(l)?0:i/2),a=Math.max(a,e&&"on"===l?0:i))})),i=t.ordinal&&t.ordinal.slope&&h?t.ordinal.slope/h:1,t.minPointOffset=s*=i,t.pointRangePadding=a*=i,t.pointRange=Math.min(r,t.single&&n?1:e),o&&(t.closestPointRange=h)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+a||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*s,w(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this,i=e.chart,n=e.logarithmic,o=e.options,r=e.isXAxis,s=e.isLinked,a=o.tickPixelInterval,l=e.categories,h=e.softThreshold,c=o.maxPadding,d=o.minPadding,p=o.tickInterval,u=S(e.threshold)?e.threshold:null;e.dateTime||l||s||this.getTickAmount();var f=D(e.userMin,o.min),g=D(e.userMax,o.max);if(s){e.linkedParent=i[e.coll][o.linkedTo];var y=e.linkedParent.getExtremes();e.min=D(y.min,y.dataMin),e.max=D(y.max,y.dataMax),o.type!==e.linkedParent.options.type&&x(11,1,i)}else{if(h&&v(u))if(e.dataMin>=u)y=u,d=0;else if(e.dataMax<=u){var b=u;c=0}e.min=D(f,y,e.dataMin),e.max=D(g,b,e.dataMax)}n&&(e.positiveValuesOnly&&!t&&0>=Math.min(e.min,D(e.dataMin,e.min))&&x(10,1,i),e.min=m(n.log2lin(e.min),16),e.max=m(n.log2lin(e.max),16)),e.range&&v(e.max)&&(e.userMin=e.min=f=Math.max(e.dataMin,e.minFromRange()),e.userMax=g=e.max,e.range=null),w(e,"foundExtremes"),e.beforePadding&&e.beforePadding(),e.adjustForMinRange(),!(l||e.axisPointRange||e.stacking&&e.stacking.usePercentage||s)&&v(e.min)&&v(e.max)&&(i=e.max-e.min)&&(!v(f)&&d&&(e.min-=i*d),!v(g)&&c&&(e.max+=i*c)),S(e.userMin)||(S(o.softMin)&&o.softMin<e.min&&(e.min=f=o.softMin),S(o.floor)&&(e.min=Math.max(e.min,o.floor))),S(e.userMax)||(S(o.softMax)&&o.softMax>e.max&&(e.max=g=o.softMax),S(o.ceiling)&&(e.max=Math.min(e.max,o.ceiling))),h&&v(e.dataMin)&&(u=u||0,!v(f)&&e.min<u&&e.dataMin>=u?e.min=e.options.minRange?Math.min(u,e.max-e.minRange):u:!v(g)&&e.max>u&&e.dataMax<=u&&(e.max=e.options.minRange?Math.max(u,e.min+e.minRange):u)),S(e.min)&&S(e.max)&&!this.chart.polar&&e.min>e.max&&(v(e.options.min)?e.max=e.min:v(e.options.max)&&(e.min=e.max)),e.tickInterval=e.min===e.max||void 0===e.min||void 0===e.max?1:s&&e.linkedParent&&!p&&a===e.linkedParent.options.tickPixelInterval?p=e.linkedParent.tickInterval:D(p,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,l?1:(e.max-e.min)*a/Math.max(e.len,a)),r&&!t&&e.series.forEach((function(t){t.processData(e.min!==(e.old&&e.old.min)||e.max!==(e.old&&e.old.max))})),e.setAxisTranslation(),w(this,"initialAxisTranslation"),e.pointRange&&!p&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval)),t=D(o.minTickInterval,e.dateTime&&!e.series.some((function(t){return t.noSharedTooltip}))?e.closestPointRange:0),!p&&e.tickInterval<t&&(e.tickInterval=t),e.dateTime||e.logarithmic||p||(e.tickInterval=M(e.tickInterval,void 0,k(e.tickInterval),D(o.allowDecimals,.5>e.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(e.tickInterval=e.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),n=this.hasVerticalPanning(),o="colorAxis"===this.coll,r=(o||!n)&&t.startOnTick;n=(o||!n)&&t.endOnTick,o=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&v(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],x(19,!1,this.chart)),i.length>this.len&&((i=[i[0],i.pop()])[0]===i[1]&&(i.length=1)),this.tickPositions=i,o&&(o=o.apply(this,[this.min,this.max])))&&
25(this.tickPositions=i=o),this.paddedTicks=i.slice(0),this.trimTicks(i,r,n),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||o||this.adjustTickAmount()),w(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var n=t[0],o=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-r>t[0];)t.shift();if(i)this.max=o;else for(;this.max+r<t[t.length-1];)t.pop();0===t.length&&v(n)&&!this.options.tickPositions&&t.push((o+n)/2)}},t.prototype.alignToOthers=function(){var t,e={},i=this.options;return!1!==this.chart.options.chart.alignTicks&&i.alignTicks&&!1!==i.startOnTick&&!1!==i.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(i){var n=i.options;n=[i.horiz?n.left:n.top,n.width,n.height,n.pane].join(),i.series.length&&(e[n]?t=!0:e[n]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,i=t.tickAmount;!v(t.tickInterval)&&!i&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(i=2),!i&&this.alignToOthers()&&(i=Math.ceil(this.len/e)+1),4>i&&(this.finalTickAmt=i,i=5),this.tickAmount=i},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,i=this.tickPositions,n=this.tickAmount,o=this.finalTickAmt,r=i&&i.length,s=D(this.threshold,this.softThreshold?0:null);if(this.hasData()&&S(this.min)&&S(this.max)){if(r<n){for(;i.length<n;)i.length%2||this.min===s?i.push(m(i[i.length-1]+e)):i.unshift(m(i[0]-e));this.transA*=(r-1)/(n-1),this.min=t.startOnTick?i[0]:Math.min(this.min,i[0]),this.max=t.endOnTick?i[i.length-1]:Math.max(this.max,i[i.length-1])}else r>n&&(this.tickInterval*=2,this.setTickPositions());if(v(o)){for(e=t=i.length;e--;)(3===o&&1==e%2||2>=o&&0<e&&e<t-1)&&i.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(i){t=t||i.isDirtyData||i.isDirty,e=e||i.xAxis&&i.xAxis.isDirty||!1})),this.setAxisSize();var i=this.len!==(this.old&&this.old.len);i||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=i||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),w(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,i,n,o){var r=this,s=r.chart;i=D(i,!0),r.series.forEach((function(t){delete t.kdTree})),o=_(o,{min:t,max:e}),w(r,"setExtremes",o,(function(){r.userMin=t,r.userMax=e,r.eventArgs=o,i&&s.redraw(n)}))},t.prototype.zoom=function(t,e){var i=this,n=this.dataMin,o=this.dataMax,r=this.options,s=Math.min(n,D(r.min,n)),a=Math.max(o,D(r.max,o));return w(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,r=t.newMax;e===i.min&&r===i.max||(i.allowZoomOutside||(v(n)&&(e<s&&(e=s),e>a&&(e=a)),v(o)&&(r<s&&(r=s),r>a&&(r=a))),i.displayBtn=void 0!==e||void 0!==r,i.setExtremes(e,r,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],n=this.horiz,o=this.width=Math.round(L(D(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),r=this.height=Math.round(L(D(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),s=this.top=Math.round(L(D(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(L(D(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-r-s,this.right=t.chartWidth-o-e,this.len=Math.max(n?o:r,0),this.pos=n?e:s},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(D(t,0)-90*this.side+720)%360;return w(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,i=D(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(i&&n){"inside"===e[t+"Position"]&&(n=-n);var o=[n,i]}return w(this,"afterTickSize",t={tickSize:o}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i=this.options.labels,n=this.horiz,o=this.tickInterval,r=this.len/(((this.categories?1:0)+this.max-this.min)/o),s=i.rotation,a=this.labelMetrics(),l=Math.max(this.max-this.min,0),h=function(t){var e=t/(r||1);return(e=1<e?Math.ceil(e):1)*o>l&&1/0!==t&&1/0!==r&&l&&(e=Math.ceil(l/o)),m(e*o)},c=o,p=Number.MAX_VALUE;if(n){if(!i.staggerLines&&!i.step)if(S(s))var u=[s];else r<i.autoRotationLimit&&(u=i.autoRotation);u&&u.forEach((function(i){if(i===s||i&&-90<=i&&90>=i){var n=(e=h(Math.abs(a.h/Math.sin(d*i))))+Math.abs(i/360);n<p&&(p=n,t=i,c=e)}}))}else i.step||(c=h(a.h));return this.autoRotation=u,this.labelRotation=D(t,S(s)?s:0),c},t.prototype.getSlotWidth=function(t){var e=this.chart,i=this.horiz,n=this.options.labels,o=Math.max(this.tickPositions.length-(this.categories?0:1),1),r=e.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(i&&2>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/o;if(!i){if(void 0!==(t=n.style.width))return parseInt(String(t),10);if(r)return r-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,n=this.ticks,o=this.options.labels,r=o.style,s=this.horiz,a=this.getSlotWidth(),l=Math.max(1,Math.round(a-2*o.padding)),h={},c=this.labelMetrics(),d=r.textOverflow,p=0;
25if(T(o.rotation)||(h.rotation=o.rotation||0),i.forEach((function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>p&&(p=t.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>l&&p>c.h?h.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=l;if(!d){var f="clip";for(l=i.length;!s&&l--;){var g=i[l];(g=n[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}h.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(h.align=this.labelAlign),i.forEach((function(t){var e=(t=n[t])&&t.label,i=r.width,o={};e&&(e.attr(h),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u<e.textPxLength||"SPAN"===e.element.tagName)?(o.width=u+"px",d||(o.textOverflow=e.specificTextOverflow||f),e.css(o)):e.styles&&e.styles.width&&!o.width&&!i&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=h.rotation)}),this),this.tickRotCorr=e.rotCorr(c.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&v(this.min)&&v(this.max)},t.prototype.addTitle=function(t){var e,i=this.chart.renderer,n=this.horiz,o=this.opposite,r=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=r.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:o?"right":"left",middle:"center",high:o?"left":"right"})[r.align]),this.axisTitle=i.text(r.text||"",0,0,r.useHTML).attr({zIndex:7,rotation:r.rotation,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(E(r.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||r.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new l(this,t)},t.prototype.getOffset=function(){var t=this,e=this,i=e.chart,n=i.renderer,o=e.options,r=e.tickPositions,s=e.ticks,a=e.horiz,l=e.side,h=i.inverted&&!e.isZAxis?[1,0,3,2][l]:l,c=e.hasData(),d=o.title,p=o.labels,u=i.axisOffset;i=i.clipOffset;var f,g=[-1,1,1,-1][l],m=o.className,y=e.axisParent,b=0,x=0,_=0;if(e.showAxis=f=c||o.showEmpty,e.staggerLines=e.horiz&&p.staggerLines||void 0,!e.axisGroup){var k=function(e,i,o){return n.g(e).attr({zIndex:o}).addClass("highcharts-"+t.coll.toLowerCase()+i+" "+(t.isRadial?"highcharts-radial-axis"+i+" ":"")+(m||"")).add(y)};e.gridGroup=k("grid","-grid",o.gridZIndex),e.axisGroup=k("axis","",o.zIndex),e.labelGroup=k("axis-labels","-labels",p.zIndex)}if(c||e.isLinked?(r.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===e.labelAlign,D(p.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&r.forEach((function(t){_=Math.max(s[t].getLabelSize(),_)})),e.staggerLines&&(_*=e.staggerLines),e.labelOffset=_*(e.opposite?-1:1)):A(s,(function(t,e){t.destroy(),delete s[e]})),d&&d.text&&!1!==d.enabled&&(e.addTitle(f),f&&!1!==d.reserveSpace)){e.titleOffset=b=e.axisTitle.getBBox()[a?"height":"width"];var C=d.offset;x=v(C)?0:D(d.margin,a?5:10)}e.renderLine(),e.offset=g*D(o.offset,u[l]?u[l]+(o.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},d=0===l?-e.labelMetrics().h:2===l?e.tickRotCorr.y:0,c=Math.abs(_)+x,_&&(c=c-d+g*(a?D(p.y,e.tickRotCorr.y+8*g):p.x)),e.axisTitleMargin=D(C,c),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(s,r)),a=this.tickSize("tick"),u[l]=Math.max(u[l],(e.axisTitleMargin||0)+b+g*e.offset,c,r&&r.length&&a?a[0]+g*e.offset:0),o=o.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),i[h]=Math.max(i[h],o),w(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,n=this.offset,o=this.horiz,r=this.left+(i?this.width:0)+n;return n=e.chartHeight-this.bottom-(i?this.height:0)+n,i&&(t*=-1),e.renderer.crispLine([["M",o?this.left:r,o?n:this.top],["L",o?e.chartWidth-this.right:r,o?n:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,i=this.top,n=this.len,o=this.options.title,r=t?e:i,s=this.opposite,a=this.offset,l=o.x,h=o.y,c=this.axisTitle,d=this.chart.renderer.fontMetrics(o.style.fontSize,c);return c=Math.max(c.getBBox(null,0).height-d.h-1,0),n={low:r+(t?0:n),middle:r
25+n/2,high:r+(t?n:0)}[o.align],e=(t?i+this.height:e)+(t?1:-1)*(s?-1:1)*this.axisTitleMargin+[-c,c,d.f,-c][this.side],t={x:t?n+l:e+(s?this.width:0)+a+l,y:t?e+h-(s?this.height:0)+a:n+h},w(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var i=this.minorTicks;i[t]||(i[t]=new l(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,i){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new l(this,t)),i&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,i=this,n=i.chart,o=i.logarithmic,s=i.options,a=i.isLinked,c=i.tickPositions,d=i.axisTitle,p=i.ticks,u=i.minorTicks,f=i.alternateBands,g=s.stackLabels,m=s.alternateGridColor,v=i.tickmarkOffset,y=i.axisLine,b=i.showAxis,x=h(n.renderer.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[p,u,f].forEach((function(t){A(t,(function(t){t.isActive=!1}))})),i.hasData()||a){var _=i.chart.hasRendered&&i.old&&S(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach((function(t){i.renderMinorTick(t,_)})),c.length&&(c.forEach((function(t,e){i.renderTick(t,e,_)})),v&&(0===i.min||i.single)&&(p[-1]||(p[-1]=new l(i,-1,null,!0)),p[-1].render(-1))),m&&c.forEach((function(s,a){e=void 0!==c[a+1]?c[a+1]+v:i.max-v,0==a%2&&s<i.max&&e<=i.max+(n.polar?-v:v)&&(f[s]||(f[s]=new r.PlotLineOrBand(i)),t=s+v,f[s].options={from:o?o.lin2log(t):t,to:o?o.lin2log(e):e,color:m,className:"highcharts-alternate-grid"},f[s].render(),f[s].isActive=!0)})),i._addedPlotLB||(i._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){i.addPlotBandOrLine(t)})))}[p,u,f].forEach((function(t){var e=[],i=x.duration;A(t,(function(t,i){t.isActive||(t.render(i,!1,0),t.isActive=!1,e.push(i))})),I((function(){for(var i=e.length;i--;)t[e[i]]&&!t[e[i]].isActive&&(t[e[i]].destroy(),delete t[e[i]])}),t!==f&&n.hasRendered&&i?i:0)})),y&&(y[y.isPlaced?"animate":"attr"]({d:this.getLinePath(y.strokeWidth())}),y.isPlaced=!0,y[b?"show":"hide"](b)),d&&b&&(s=i.getTitlePosition(),S(s.y)?(d[d.isNew?"attr":"animate"](s),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),g&&g.enabled&&i.stacking&&i.stacking.renderStackTotals(),i.old={len:i.len,max:i.max,min:i.min,transA:i.transA,userMax:i.userMax,userMin:i.userMin},i.isDirty=!1,w(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,i=e.plotLinesAndBands,n=this.eventOptions;if(w(this,"destroy",{keepEvents:t}),t||O(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){y(t)})),i)for(t=i.length;t--;)i[t].destroy();for(var o in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[o]=e.plotLinesAndBandsGroups[o].destroy();A(e,(function(t,i){-1===e.getKeepProps().indexOf(i)&&delete e[i]})),this.eventOptions=n},t.prototype.drawCrosshair=function(t,n){var o,r=this.crosshair,s=D(r&&r.snap,!0),a=this.chart,l=this.cross;if(w(this,"drawCrosshair",{e:t,point:n}),t||(t=this.cross&&this.cross.e),r&&!1!==(v(n)||!s)){if(s?v(n)&&(o=D("colorAxis"!==this.coll?n.crosshairPos:null,this.isXAxis?n.plotX:this.len-n.plotY)):o=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),v(o)){var h={value:n&&(this.isXAxis?n.x:D(n.stackY,n.y)),translatedValue:o};a.polar&&_(h,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:n}),h=this.getPlotLinePath(h)||null}if(!v(h))return void this.hideCrosshair();s=this.categories&&!this.isRadial,l||(this.cross=l=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(s?"category ":"thin ")+(r.className||"")).attr({zIndex:D(r.zIndex,2)}).add(),a.styledMode||(l.attr({stroke:r.color||(s?e.parse(i.highlightColor20).setOpacity(.25).get():i.neutralColor20),"stroke-width":D(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&l.attr({dashstyle:r.dashStyle}))),l.show().attr({d:h}),s&&!r.width&&l.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:t,point:n})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),w(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.prototype.update=function(t,e){var i=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(i,t),i.isDirtyBox=!0,D(e,!0)&&i.redraw()},t.prototype.remove=function(t){for(var e=this.chart,i=this.coll,n=this.series,o=n.length;o--;)n[o]&&n[o].remove(!1);
25b(e.axes,this),b(e[i],this),e[i].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,D(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=a.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(i,"Core/Axis/DateTimeAxis.js",[i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,n=e.getMagnitude,o=e.normalizeTickInterval,r=e.timeUnits,s=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=i[i.length-1];var s,a=r[e[0]],l=e[1];for(s=0;s<i.length&&(e=i[s],a=r[e[0]],l=e[1],!(i[s+1]&&t<=(a*l[l.length-1]+r[i[s+1][0]])/2));s++);return a===r.year&&t<5*a&&
25(l=[1,2,5]),{unitRange:a,count:t=o(t/a,l,"year"===e[0]?Math.max(n(t/a),1):1),unitName:e[0]}},t}();return(e=function(){function t(){}return t.compose=function(t){t.keepProps.push("dateTime"),t.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)},i(t,"init",(function(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new s(this))}))},t.AdditionsClass=s,t}()).compose(t),e})),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,n=e.getMagnitude,o=e.normalizeTickInterval,r=e.pick,s=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,s){var a=this.axis,l=a.len,h=a.options,c=[];if(s||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),c=a.getLinearTickPositions(t,e,i);else if(.08<=t){var d,p=Math.floor(e),u=h=void 0;for(l=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<i+1&&!u;p++){var f=l.length;for(d=0;d<f&&!u;d++){var g=this.log2lin(this.lin2log(p)*l[d]);g>e&&(!s||h<=i)&&void 0!==h&&c.push(h),h>i&&(u=!0),h=g}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?a.getMinorTickInterval():h.tickInterval,t=r("auto"===t?null:t,this.minorAutoInterval,h.tickPixelInterval/(s?5:1)*(i-e)/((s?l/a.tickPositions.length:l)||1)),t=o(t,void 0,n(t)),c=a.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();return(e=function(){function t(){}return t.compose=function(t){t.keepProps.push("logarithmic"),i(t,"init",(function(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new s(this))})),i(t,"afterInit",(function(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}))},t}()).compose(t),e})),e(i,"Core/Axis/PlotLineOrBand.js",[i["Core/Axis/Axis.js"],i["Core/Color/Palette.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=i.arrayMax,o=i.arrayMin,r=i.defined,s=i.destroyObjectProperties,a=i.erase,l=i.extend,h=i.fireEvent,c=i.isNumber,d=i.merge,p=i.objectEach,u=i.pick,f=function(){function t(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return t.prototype.render=function(){h(this,"render");var t=this,i=t.axis,n=i.horiz,o=i.logarithmic,s=t.options,a=s.label,l=t.label,c=s.to,f=s.from,g=s.value,m=r(f)&&r(c),v=r(g),y=t.svgElem,b=!y,x=[],_=s.color,w=u(s.zIndex,0),k=s.events;x={class:"highcharts-plot-"+(m?"band ":"line ")+(s.className||"")};var C={},S=i.chart.renderer,T=m?"bands":"lines";if(o&&(f=o.log2lin(f),c=o.log2lin(c),g=o.log2lin(g)),i.chart.styledMode||(v?(x.stroke=_||e.neutralColor40,x["stroke-width"]=u(s.width,1),s.dashStyle&&(x.dashstyle=s.dashStyle)):m&&(x.fill=_||e.highlightColor10,s.borderWidth&&(x.stroke=s.borderColor,x["stroke-width"]=s.borderWidth))),C.zIndex=w,T+="-"+w,(o=i.plotLinesAndBandsGroups[T])||(i.plotLinesAndBandsGroups[T]=o=S.g("plot-"+T).attr(C).add()),b&&(t.svgElem=y=S.path().attr(x).add(o)),v)x=i.getPlotLinePath({value:g,lineWidth:y.strokeWidth(),acrossPanes:s.acrossPanes});else{if(!m)return;x=i.getPlotBandPath(f,c,s)}return!t.eventsAdded&&k&&(p(k,(function(e,i){y.on(i,(function(e){k[i].apply(t,[e])}))})),t.eventsAdded=!0),(b||!y.d)&&x&&x.length?y.attr({d:x}):y&&(x?(y.show(!0),y.animate({d:x})):y.d&&(y.hide(),l&&(t.label=l=l.destroy()))),a&&(r(a.text)||r(a.formatter))&&x&&x.length&&0<i.width&&0<i.height&&!x.isFlat?(a=d({align:n&&m&&"center",x:n?!m&&4:10,verticalAlign:!n&&m&&"middle",y:n?m?16:10:m?6:-4,rotation:n&&!m&&90},a),this.renderLabel(a,x,m,w)):l&&l.hide(),t},t.prototype.renderLabel=function(t,e,i,r){var s=this.label,a=this.axis.chart.renderer;s||((s={align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||"")}).zIndex=r,r=this.getLabelText(t),this.label=s=a.text(r,0,0,t.useHTML).attr(s).add(),this.axis.chart.styledMode||s.css(t.style)),a=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],i=o(a),r=o(e),s.align(t,!1,{x:i,y:r,width:n(a)-i,height:n(e)-r}),s.show(!0)},t.prototype.getLabelText=function(t){return r(t.formatter)?t.formatter.call(this):t.text},t.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,s(this)},t}();
25return l(t.prototype,{getPlotBandPath:function(t,e,i){void 0===i&&(i=this.options);var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes});i=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes});var o=[],r=this.horiz,s=1;if(t=!c(this.min)||!c(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,i&&n){if(t){var a=i.toString()===n.toString();s=0}for(t=0;t<i.length;t+=2){e=i[t];var l=i[t+1],h=n[t],d=n[t+1];"M"!==e[0]&&"L"!==e[0]||"M"!==l[0]&&"L"!==l[0]||"M"!==h[0]&&"L"!==h[0]||"M"!==d[0]&&"L"!==d[0]||(r&&h[1]===e[1]?(h[1]+=s,d[1]+=s):r||h[2]!==e[2]||(h[2]+=s,d[2]+=s),o.push(["M",e[1],e[2]],["L",l[1],l[2]],["L",d[1],d[2]],["L",h[1],h[2]],["Z"])),o.isFlat=a}}return o},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(t,e){var i=this,n=new f(this,t),o=this.userOptions;if(this.visible&&(n=n.render()),n){if(this._addedPlotLB||(this._addedPlotLB=!0,(o.plotLines||[]).concat(o.plotBands||[]).forEach((function(t){i.addPlotBandOrLine(t)}))),e){var r=o[e]||[];r.push(t),o[e]=r}this.plotLinesAndBands.push(n)}return n},removePlotBandOrLine:function(t){var e=this.plotLinesAndBands,i=this.options,n=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],n.plotLines||[],i.plotBands||[],n.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&a(e,e[o])}))}},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}}),f})),e(i,"Core/Tooltip.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=t.format,s=e.doc,a=o.clamp,l=o.css,h=o.defined,c=o.discardElement,d=o.extend,p=o.fireEvent,u=o.isArray,f=o.isNumber,g=o.isString,m=o.merge,v=o.pick,y=o.splat,b=o.syncTimeout,x=o.timeUnits;return t=function(){function t(t,e){this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||y(this),i=[t.tooltipFooterHeaderFormatter(e[0])];return(i=i.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),i},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt
25=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),c(this.container)),o.clearTimeout(this.hideTimer),o.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var i,n,o=this.chart,r=o.pointer,s=o.inverted,a=o.plotTop,l=o.plotLeft,h=0,c=0;return t=y(t),this.followPointer&&e?(void 0===e.chartX&&(e=r.normalize(e)),r=[e.chartX-l,e.chartY-a]):t[0].tooltipPos?r=t[0].tooltipPos:(t.forEach((function(t){i=t.series.yAxis,n=t.series.xAxis,h+=t.plotX||0,c+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&i&&(s?(h+=a+o.plotHeight-n.len-n.pos,c+=l+o.plotWidth-i.len-i.pos):(h+=n.pos-l,c+=i.pos-a))})),h/=t.length,c/=t.length,r=[s?o.plotWidth-c:h,s?o.plotHeight-h:c],this.shared&&1<t.length&&e&&(s?r[0]=e.chartX-l:r[1]=e.chartY-a)),r.map(Math.round)},t.prototype.getDateFormat=function(t,e,i,n){var o=this.chart.time,r=o.dateFormat("%m-%d %H:%M:%S.%L",e),s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(l in x){if(t===x.week&&+o.dateFormat("%w",e)===i&&"00:00:00.000"===r.substr(6)){var l="week";break}if(x[l]>t){l=a;break}if(s[l]&&r.substr(s[l])!=="01-01 00:00:00.000".substr(s[l]))break;"week"!==l&&(a=l)}if(l)var h=o.resolveDTLFormat(n[l]).main;return h},t.prototype.getLabel=function(){var t,i=this,o=this.chart.renderer,r=this.chart.styledMode,s=this.options,a="tooltip"+(h(s.className)?" "+s.className:""),c=s.style&&s.style.pointerEvents||(!this.followPointer&&s.stickOnContact?"auto":"none");if(!this.label){if(this.outside){var d=this.chart.options.chart.style,p=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",l(t,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(d&&d.zIndex||0)+3)}),e.doc.body.appendChild(t),this.renderer=o=new p(t,0,0,d,void 0,void 0,o.styledMode)}if(this.split?this.label=o.g(a):(this.label=o.label("",0,0,s.shape||"callout",null,null,s.useHTML,null,a).attr({padding:s.padding,r:s.borderRadius}),r||this.label.attr({fill:s.backgroundColor,"stroke-width":s.borderWidth}).css(s.style).css({pointerEvents:c}).shadow(s.shadow)),r&&s.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),i.outside&&!i.split){var u=this.label,f=u.xSetter,g=u.ySetter;u.xSetter=function(e){f.call(u,i.distance),t.style.left=e+"px"},u.ySetter=function(e){g.call(u,i.distance),t.style.top=e+"px"}}this.label.on("mouseenter",(function(){i.inContact=!0})).on("mouseleave",(function(){var t=i.chart.hoverSeries;i.inContact=!1,t&&t.onMouseOut&&t.onMouseOut()})).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var n,o=this.chart,r=this.distance,a={},l=o.inverted&&i.h||0,h=this.outside,c=h?s.documentElement.clientWidth-2*r:o.chartWidth,d=h?Math.max(s.body.scrollHeight,s.documentElement.scrollHeight,s.body.offsetHeight,s.documentElement.offsetHeight,s.documentElement.clientHeight):o.chartHeight,p=o.pointer.getChartPosition(),u=function(n){var s="x"===n;return[n,s?c:d,s?t:e].concat(h?[s?t*p.scaleX:e*p.scaleY,s?p.left-r+(i.plotX+o.plotLeft)*p.scaleX:p.top-r+(i.plotY+o.plotTop)*p.scaleY,0,s?c:d]:[s?t:e,s?i.plotX+o.plotLeft:i.plotY+o.plotTop,s?o.plotLeft:o.plotTop,s?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},f=u("y"),g=u("x"),m=!this.followPointer&&v(i.ttBelow,!o.inverted==!!i.negative),y=function(t,e,i,n,o,s,c){var d=h?"y"===t?r*p.scaleY:r*p.scaleX:r,u=(i-n)/2,f=n<o-r,g=o+r+n<e,v=o-d-i+u;if(o=o+d-u,m&&g)a[t]=o;else if(!m&&f)a[t]=v;else if(f)a[t]=Math.min(c-n,0>v-l?v:v-l);else{if(!g)return!1;a[t]=Math.max(s,o+l+i>e?o:o+l)}},b=function(t,e,i,n,o){var s;return o<r||o>e-r?s=!1:a[t]=o<i/2?1:o>e-n/2?e-n-2:o-i/2,s},x=function(t){var e=f;f=g,g=e,n=t},_=function(){!1!==y.apply(0,f)?!1!==b.apply(0,g)||n||(x(!0),_()):n?a.x=a.y=0:(x(!0),_())};return(o.inverted||1<this.len)&&x(),_(),a},t.prototype.getXDateFormat=function(t,e,i){e=e.dateTimeLabelFormats;var n=i&&i.closestPointRange;return(n?this.getDateFormat(n,t.x,i.options.startOfWeek,e):e.day)||e.year},t.prototype.hide=function(t){var e=this;o.clearTimeout(this.hideTimer),t=v(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=b
25((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=v(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)},t.prototype.move=function(t,e,i,n){var r=this,s=r.now,a=!1!==r.options.animation&&!r.isHidden&&(1<Math.abs(t-s.x)||1<Math.abs(e-s.y)),l=r.followPointer||1<r.len;d(s,{x:a?(2*s.x+t)/3:t,y:a?(s.y+e)/2:e,anchorX:l?void 0:a?(2*s.anchorX+i)/3:i,anchorY:l?void 0:a?(s.anchorY+n)/2:n}),r.getLabel().attr(s),r.drawTracker(),a&&(o.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){r&&r.move(t,e,i,n)}),32))},t.prototype.refresh=function(t,e){var n=this.chart,r=this.options,s=y(t),a=s[0],l={},h=[],c=r.formatter||this.defaultFormatter;l=this.shared;var d=n.styledMode;if(r.enabled){o.clearTimeout(this.hideTimer),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var f=this.getAnchor(t,e),g=f[0],m=f[1];if(!l||!u(t)&&t.series&&t.series.noSharedTooltip?l=a.getLabelConfig():(n.pointer.applyInactiveState(s),s.forEach((function(t){t.setState("hover"),h.push(t.getLabelConfig())})),(l={x:a.category,y:a.y}).points=h),this.len=h.length,t=c.call(l,this),c=a.series,this.distance=v(c.tooltipOptions.distance,16),!1===t)this.hide();else{if(this.split)this.renderSplit(t,s);else{if(s=g,l=m,e&&n.pointer.isDirectTouch&&(s=e.chartX-n.plotLeft,l=e.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!c.shouldShowTooltip(s,l))return void this.hide();e=this.getLabel(),r.style.width&&!d||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:t&&t.join?t.join(""):t}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+v(a.colorIndex,c.colorIndex)),d||e.attr({stroke:r.borderColor||a.color||c.color||i.neutralColor60}),this.updatePosition({plotX:g,plotY:m,negative:a.negative,ttBelow:a.ttBelow,h:f[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}p(this,"refresh")}},t.prototype.renderSplit=function(t,n){function o(t,e,i,n,o){return void 0===o&&(o=!0),i?(e=D?0:I,t=a(t-n/2,E.left,E.right-n-(r.outside?L:0))):(e-=O,t=a(t=o?t-n-C:t+C,o?t:E.left,E.right)),{x:t,y:e}}var r=this,l=r.chart,h=r.chart,c=h.chartWidth,p=h.chartHeight,u=h.plotHeight,f=h.plotLeft,m=h.plotTop,y=h.pointer,b=h.scrollablePixelsY;b=void 0===b?0:b;var x=h.scrollablePixelsX,_=h.scrollingContainer,w=(_=void 0===_?{scrollLeft:0,scrollTop:0}:_).scrollLeft;_=_.scrollTop;var k=h.styledMode,C=r.distance,S=r.options,T=r.options.positioner,E=r.outside&&"number"!=typeof x?s.documentElement.getBoundingClientRect():{left:w,right:w+c,top:_,bottom:_+p},M=r.getLabel(),A=this.renderer||l.renderer,D=!(!l.xAxis[0]||!l.xAxis[0].opposite),L=(l=y.getChartPosition()).left;l=l.top;var O=m+_,P=0,I=u-b;g(t)&&(t=[!1,t]),t=t.slice(0,n.length+1).reduce((function(t,e,s){if(!1!==e&&""!==e){var l=(s=n[s-1]||{isHeader:!0,plotX:n[0].plotX,plotY:u,series:{}}).isHeader,h=l?r:s.series;e=e.toString();var c=h.tt,d=s.isHeader,p=s.series,g="highcharts-color-"+v(s.colorIndex,p.colorIndex,"none");if(c||(c={padding:S.padding,r:S.borderRadius},k||(c.fill=S.backgroundColor,c["stroke-width"]=S.borderWidth),c=A.label("",0,0,S[d?"headerShape":"shape"]||"callout",void 0,void 0,S.useHTML).addClass((d?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+g).attr(c).add(M)),c.isActive=!0,c.attr({text:e}),k||c.css(S.style).shadow(S.shadow).attr({stroke:S.borderColor||s.color||p.color||i.neutralColor80}),e=(d=(h=h.tt=c).getBBox()).width+h.strokeWidth(),l&&(P=d.height,I+=P,D&&(O-=P)),p=void 0===(p=s.plotX)?0:p,g=void 0===(g=s.plotY)?0:g,c=s.series,s.isHeader){p=f+p;var y=m+u/2}else{var b=c.xAxis,x=c.yAxis;p=b.pos+a(p,-C,b.len+C),c.shouldShowTooltip(0,x.pos-m+g,{ignoreX:!0})&&(y=x.pos+g)}p=a(p,E.left-C,E.right+C),"number"==typeof y?(d=d.height+1,g=T?T.call(r,e,d,s):o(p,y,l,e),t.push({align:T?0:void 0,anchorX:p,anchorY:y,boxWidth:e,point:s,rank:v(g.rank,l?1:0),size:d,target:g.y,tt:h,x:g.x})):h.isActive=!1}return t}),[]),!T&&t.some((function(t){var e=(r.outside?L:0)+t.anchorX;return e<E.left&&e+t.boxWidth<E.right||e<L-E.left+t.boxWidth&&E.right-e>e}))&&(t=t.map((function(t){var e=o(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return d(t,{target:e.y,x:e.x})}))),r.cleanSplit(),e.distribute(t,I);var N=L,j=L;t.forEach((function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(r.outside&&L+e<N&&(N=L+e),!t&&r.outside&&N+i>j&&(j=L+e))})),t.forEach((function(t){var e=t.x,i=t.anchorX,n=t.pos,o=t.point.isHeader;if(n={visibility:void 0===n?"hidden":"inherit",x:e,y:n+O,anchorX:i,anchorY:t.anchorY},r.outside&&e<i){var s=L-N;0<s&&(o||(n.x=e+s,n.anchorX=i+s),o&&(n.x=(j-N)/2,n.anchorX=i+s))}t.tt.attr(n)})),t=r.container,b=r.renderer,r.outside&&t&&b&&(h=M.getBBox(),b.setSize(h.width+h.x,h.height+h.y,!1),t.style.left=N+"px",t.style.top=l+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,i=this.shared?t.hoverPoints:t.hoverPoint;if(e&&i){var n={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var o=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,n.x=Math.min(0,i[0]),n.y=Math.min(0,i[1]),n.width=0>i[0]?Math.max(Math.abs(i[0]),o.width-i[0]):Math.max(Math.abs(i[0]),o.width),n.height=0>i[1]?Math.max(Math.abs(i[1]),o.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),o.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=e?"footer":"header",n=t.series,o=n.tooltipOptions,s=o.xDateFormat,a=n.xAxis,l=a&&"datetime"===a.options.type&&f(t.key),h=o[i+"Format"];return p(this,"headerFormatter",e={isFooter:e,labelConfig:t},(function(e){l&&!s&&(s=this.getXDateFormat(t,o,a)),l&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEac
25h((function(t){h=h.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(h=this.styledModeFormat(h)),e.text=r(h,{point:t,series:n},this.chart)})),e.text},t.prototype.update=function(t){this.destroy(),m(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,m(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,i=e.pointer,n=this.getLabel(),o=t.plotX+e.plotLeft;if(e=t.plotY+e.plotTop,i=i.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,n.width,n.height,t),this.outside){var r=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(n.width+r,n.height+r,!1),1===i.scaleX&&1===i.scaleY||(l(this.container,{transform:"scale("+i.scaleX+", "+i.scaleY+")"}),o*=i.scaleX,e*=i.scaleY),o+=i.left-t.x,e+=i.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),o,e)},t}(),e.Tooltip=t,e.Tooltip})),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=t.parse,s=e.charts,a=e.noop,l=o.addEvent,h=o.attr,c=o.css,d=o.defined,p=o.extend,u=o.find,f=o.fireEvent,g=o.isNumber,m=o.isObject,v=o.objectEach,y=o.offset,b=o.pick,x=o.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var i=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(i.tooltipTimeout),v(i,(function(t,e){i[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,o=this.zoomHor,s=this.zoomVert,a=e.plotLeft,l=e.plotTop,h=e.plotWidth,c=e.plotHeight,d=this.mouseDownX||0,p=this.mouseDownY||0,u=m(n.panning)?n.panning&&n.panning.enabled:n.panning,f=n.panKey&&t[n.panKey+"Key"],g=t.chartX,v=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(g<a?g=a:g>a+h&&(g=a+h),v<l?v=l:v>l+c&&(v=l+c),this.hasDragged=Math.sqrt(Math.pow(d-g,2)+Math.pow(p-v,2)),10<this.hasDragged)){var b=e.isInsidePlot(d-a,p-l,{visiblePlotOnly:!0});e.hasCartesianSeries&&(this.zoomX||this.zoomY)&&b&&!f&&!y&&(this.selectionMarker=y=e.renderer.rect(a,l,o?1:h,s?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||y.attr({fill:n.selectionMarkerFill||r(i.highlightColor80).setOpacity(.25).get()})),y&&o&&(o=g-d,y.attr({width:Math.abs(o),x:(0<o?0:o)+d})),y&&s&&(o=v-p,y.attr({height:Math.abs(o),y:(0<o?0:o)+p})),b&&!y&&u&&e.pan(t,n.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,i=this.chart,n=this.hasPinched;if(this.selectionMarker){var o,r={originalEvent:t,xAxis:[],yAxis:[]},s=this.selectionMarker,a=s.attr?s.attr("x"):s.x,l=s.attr?s.attr("y"):s.y,h=s.attr?s.attr("width"):s.width,u=s.attr?s.attr("height"):s.height;(this.hasDragged||n)&&(i.axes.forEach((function(i){if(i.zoomEnabled&&d(i.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&g(a)&&g(l)){var s=i.horiz,c="touchend"===t.type?i.minPixelPadding:0,p=i.toValue((s?a:l)+c);s=i.toValue((s?a+h:l+u)-c),r[i.coll].push({axis:i,min:Math.min(p,s),max:Math.max(p,s)}),o=!0}})),o&&f(i,"selection",r,(function(t){i.zoom(p(t,n?{animation:!1}:null))}))),g(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&this.scaleGroups()}i&&g(i.index)&&(c(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])}
25,t.prototype.findNearestKDPoint=function(t,e,i){var n,o=this.chart,r=o.hoverPoint;return o=o.tooltip,r&&o&&o.isStickyOnContact()?r:(t.forEach((function(t){var o=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,o),(o=m(t,!0)&&t.series)&&!(o=!m(n,!0))){o=n.distX-t.distX;var r=n.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);o=0<(0!==o&&e?o:0!==r?r:0!==s?s:n.series.index>t.series.index?-1:1)}o&&(n=t)})),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,n=i.xAxis;i=i.yAxis;var o=t.shapeArgs;if(n&&i){var r=b(t.clientX,t.plotX),s=t.plotY||0;return t.isNode&&o&&g(o.x)&&g(o.y)&&(r=o.x,s=o.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-r}:{chartX:r+n.pos,chartY:s+i.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=y(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,2<i&&2<t&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,i,n,o,r){var s=[];n=!(!n||!t);var a={chartX:r?r.chartX:void 0,chartY:r?r.chartY:void 0,shared:o};f(this,"beforeGetHoverData",a);var l=e&&!e.stickyTracking?[e]:i.filter((function(t){return a.filter?a.filter(t):t.visible&&!(!o&&t.directTouch)&&b(t.options.enableMouseTracking,!0)&&t.stickyTracking})),h=n||!r?t:this.findNearestKDPoint(l,o,r);return e=h&&h.series,h&&(o&&!e.noSharedTooltip?(l=i.filter((function(t){return a.filter?a.filter(t):t.visible&&!(!o&&t.directTouch)&&b(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=u(t.points,(function(t){return t.x===h.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),s.push(e))})):s.push(h)),f(this,"afterGetHoverData",a={hoverPoint:h}),{hoverPoint:a.hoverPoint,hoverSeries:e,hoverPoints:s}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var i;t;){if(i=h(t,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip),this.followTouchMove=b(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,n=i?i.length?i.item(0):b(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=n.pageX-e.left,n=n.pageY-e.top,i/=e.scaleX,n/=e.scaleY,p(t,{chartX:Math.round(i),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,o=e.plotTop;e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(f(i.series,"click",p(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(p(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-o,{visiblePlotOnly:!0})&&f(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var i=s[b(t.hoverChartIndex,-1)],n=this.chart.tooltip;e=this.normalize(e),i&&(e.relatedTarget||e.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset()},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var i=s[b(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);var n=e.tooltip;!i||n&&n.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var i=s[b(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,i=e.chart,n=e.pinchDown,o=t.touches||[],r=o.length,s=e.lastValidTouch,l=e.hasZoom,h={},c=1===r&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),d={},u=e.selectionMarker;1<r&&(e.initiated=!0),l&&e.initiated&&!c&&!1!==t.cancelable&&t.preventDefault(),[].map.call(o,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(o,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[n[0].chartX,n[1]&&n[1].chartX],s.y=[n[0].chartY,n[1]&&n[1].chartY],i.axes.forEac
25h((function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,o=t.toPixels(Math.min(b(t.options.min,t.dataMin),t.dataMin)),r=t.toPixels(Math.max(b(t.options.max,t.dataMax),t.dataMax)),s=Math.max(o,r);e.min=Math.min(t.pos,Math.min(o,r)-n),e.max=Math.max(t.pos+t.len,s+n)}})),e.res=!0):e.followTouchMove&&1===r?this.runPointActions(e.normalize(t)):n.length&&(u||(e.selectionMarker=u=p({destroy:a,touch:!0},i.plotBox)),e.pinchTranslate(n,o,h,u,d,s),e.hasPinched=l,e.scaleGroups(h,d),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,i,n,o,r){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,n,o,r),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,n,o,r)},t.prototype.pinchTranslateDirection=function(t,e,i,n,o,r,s,a){var l=this.chart,h=t?"x":"y",c=t?"X":"Y",d="chart"+c,p=t?"width":"height",u=l["plot"+(t?"Left":"Top")],f=l.inverted,g=l.bounds[t?"h":"v"],m=1===e.length,v=e[0][d],y=!m&&e[1][d];e=function(){"number"==typeof k&&20<Math.abs(v-y)&&(_=a||Math.abs(w-k)/Math.abs(v-y)),x=(u-w)/_+v,b=l["plot"+(t?"Width":"Height")]/_};var b,x,_=a||1,w=i[0][d],k=!m&&i[1][d];if(e(),(i=x)<g.min){i=g.min;var C=!0}else i+b>g.max&&(i=g.max-b,C=!0);C?(w-=.8*(w-s[h][0]),"number"==typeof k&&(k-=.8*(k-s[h][1])),e()):s[h]=[w,k],f||(r[h]=x-u,r[p]=b),r=f?1/_:_,o[p]=b,o[h]=i,n[f?t?"scaleY":"scaleX":"scale"+c]=_,n["translate"+c]=r*u+(w-r*v)},t.prototype.reset=function(t,e){var i=this.chart,n=i.hoverSeries,o=i.hoverPoint,r=i.hoverPoints,s=i.tooltip,a=s&&s.shared?r:o;t&&a&&x(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?s&&a&&x(a).length&&(s.refresh(a),s.shared&&r?r.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):o&&(o.setState(o.state,!0),i.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),r&&r.forEach((function(t){t.setState()})),n&&n.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(e,i){var n=this.chart,o=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,r=!!o&&o.shared,a=i||n.hoverPoint,h=a&&a.series||n.hoverSeries;a=(i=this.getHoverData(a,h,n.series,(!e||"touchmove"!==e.type)&&(!!i||h&&h.directTouch&&this.isDirectTouch),r,e)).hoverPoint,h=i.hoverSeries;var c=i.hoverPoints;if(i=h&&h.tooltipOptions.followPointer&&!h.tooltipOptions.split,r=r&&h&&!h.noSharedTooltip,a&&(a!==n.hoverPoint||o&&o.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===c.indexOf(t)&&t.setState()})),n.hoverSeries!==h&&h.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!a.series)return;n.hoverPoints=c,n.hoverPoint=a,a.firePointEvent("mouseOver"),o&&o.refresh(r?c:a,e)}else i&&o&&!o.isHidden&&(a=o.getAnchor([{}],e),n.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=l(n.container.ownerDocument,"mousemove",(function(e){var i=s[t.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var i,o=b((t.crosshair||{}).snap,!0);o&&((i=n.hoverPoint)&&i.series[t.coll]===t||(i=u(c,(function(e){return e.series[t.coll]===t})))),i||!o?t.drawCrosshair(e,i):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var i=this.chart;i.series.forEach((function(n){var o=t||n.getPlotBox();n.xAxis&&n.xAxis.zoomEnabled&&n.group&&(n.group.attr(o),n.markerGroup&&(n.markerGroup.attr(o),n.markerGroup.clip(e?i.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(o))})),i.clipRect.attr(e||i.clipBox)},t.prototype.setDOMEvents=function(){var i=this,n=this.chart.container,o=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(l(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=l(o,"mouseup",this.onDocumentMouseUp.bind(this)));for(var r=this.chart.renderTo.parentElement;r&&"BODY"!==r.tagName;)this.eventsToUnbind.push(l(r,"scroll",(function(){delete i.chartPosition}))),r=r.parentElement;e.hasTouch&&(this.eventsToUnbind.push(l(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(l(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=l(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var i=this.chart,n=e.charts[b(t.hoverChartIndex,-1)];n&&n!==i&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(t.hoverChartIndex=i.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));b(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart;e=e.inverted;var n=i.zoomType||"";/touch/.test(t.type)&&(n=b(i.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=i=/y/.test(n),this.zoomHor=t&&!e||i&&e,this.zoomVert=i&&!e||t&&e,this.hasZoom=t||i},t}()})),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],(function(t,e,
25i){function n(){var t=[];return t.item=function(t){return this[t]},p(f,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function o(t,i,o,r){var a=s[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!a||(a=a.pointer,r(t),a[i]({type:o,target:t.currentTarget,preventDefault:l,touches:n()}))}var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.charts,a=t.doc,l=t.noop,h=t.win,c=i.addEvent,d=i.css,p=i.objectEach,u=i.removeEvent,f={},g=!!h.PointerEvent;return function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return r(i,e),i.isRequired=function(){return!(t.hasTouch||!h.PointerEvent&&!h.MSPointerEvent)},i.prototype.batchMSEvents=function(t){t(this.chart.container,g?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,g?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,g?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},i.prototype.destroy=function(){this.batchMSEvents(u),e.prototype.destroy.call(this)},i.prototype.init=function(t,i){e.prototype.init.call(this,t,i),this.hasZoom&&d(t.container,{"-ms-touch-action":"none","touch-action":"none"})},i.prototype.onContainerPointerDown=function(t){o(t,"onContainerTouchStart","touchstart",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},i.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)}))},i.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",(function(t){delete f[t.pointerId]}))},i.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(c)},i}(e)})),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/DefaultOptions.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=e.animObject,a=i.format,l=o.defaultOptions,h=r.addEvent,c=r.defined,d=r.erase,p=r.extend,u=r.fireEvent,f=r.getNestedProperty,g=r.isArray,m=r.isFunction,v=r.isNumber,y=r.isObject,b=r.merge,x=r.objectEach,_=r.pick,w=r.syncTimeout,k=r.removeEvent,C=r.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t,e=this,i={x:e.startXPos,opacity:0},n=e.getGraphicalProps();n.singular.forEach((function(n){t="dataLabel"===n,e[n]=e[n].animate(t?{x:e[n].startXPos,y:e[n].startYPos,opacity:0}:i)})),n.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(p({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,i){var n=this.series,o=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),p(this,t),this.options=this.options?p(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,o&&(this.y=e.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=_(this.isValid&&!this.isValid(),null===this.x||!v(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===i&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n&&(this.x=void 0===i?n.autoIncrement(this):i),this},e.prototype.destroy=function(){function t(){for(o in(e.graphic||e.dataLabel||e.dataLabels)&&(k(e),e.destroyElements()),e)e[o]=null}var e=this,i=e.series,n=i.chart;i=i.options.dataSorting;var o,r=n.hoverPoints,a=s(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),r&&(e.setState(),d(r,e),r.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),w(t,a.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))}
25,e.prototype.firePointEvent=function(t,e,i){var n=this,o=this.series.options;(o.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&o.allowPointSelect&&(i=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),u(n,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,i=this,n=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var r=n[e];i[r]&&o.singular.push(r)}return["dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&i[n]&&o.plural.push(n)})),o},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?f(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,n=0;for(i=e[n];this[t]>=i.value;)i=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=c(this.id)?this.id:C(),this.resolveColor(),t.chart.pointCount++,u(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var i={},n=this.series,o=n.options.keys,r=o||n.pointArrayMap||["y"],s=r.length,a=0,l=0;if(v(t)||null===t)i[r[0]]=t;else if(g(t))for(!o&&t.length>s&&("string"===(n=typeof t[0])?i.name=t[0]:"number"===n&&(i.x=t[0]),a++);l<s;)o&&void 0===t[a]||(0<r[l].indexOf(".")?e.prototype.setNestedProperty(i,t[a],r[l]):i[r[l]]=t[a]),a++,l++;else"object"==typeof t&&(i=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return i},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.options.chart.colorCount,i=t.chart.styledMode;if(delete this.nonZonedColor,t.options.colorByPoint){if(!i){var n=(e=t.options.colors||t.chart.options.colors)[t.colorCounter];e=e.length}i=t.colorCounter,t.colorCounter++,t.colorCounter===e&&(t.colorCounter=0)}else i||(n=t.color),i=t.colorIndex;this.colorIndex=_(this.options.colorIndex,i),this.color=_(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce((function(t,i,n,o){return t[i]=o.length-1===n?e:y(t[i],!0)?t[i]:{},t[i]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,n=_(i.valueDecimals,""),o=i.valuePrefix||"",r=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEac
25h((function(e){e="{point."+e,(o||r)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+r)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")})),a(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,i,n){function o(){s.applyOptions(t);var n=l&&s.hasDummyGraphic;n=null===s.y?!n:n,l&&n&&(s.graphic=l.destroy(),delete s.hasDummyGraphic),y(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(s.graphic=l.destroy()),t&&t.dataLabels&&s.dataLabel&&(s.dataLabel=s.dataLabel.destroy()),s.connector&&(s.connector=s.connector.destroy())),r=s.index,a.updateParallelArrays(s,r),c.data[r]=y(c.data[r],!0)||y(t,!0)?s.options:_(t,c.data[r]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(h.isDirtyBox=!0),"point"===c.legendType&&(h.isDirtyLegend=!0),e&&h.redraw(i)}var r,s=this,a=s.series,l=s.graphic,h=a.chart,c=a.options;e=_(e,!0),!1===n?o():s.firePointEvent("update",{options:t},o)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var i=this,n=i.series,o=n.chart;this.selectedStaging=t=_(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,n.options.data[n.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||o.getSelectedPoints().forEac
25h((function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(o.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=b(t.series.options.point,t.options).events;t.events=e,x(e,(function(e,i){m(e)&&h(t,i,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,i){var n,o=this.series,r=this.state,s=o.options.states[e||"normal"]||{},a=l.plotOptions[o.type].marker&&o.options.marker,h=a&&!1===a.enabled,c=a&&a.states&&a.states[e||"normal"]||{},d=!1===c.enabled,f=o.stateMarkerGraphic,g=this.marker||{},m=o.chart,y=o.halo,b=a&&o.markerAttribs;if(!((e=e||"")===this.state&&!i||this.selected&&"select"!==e||!1===s.enabled||e&&(d||h&&!1===c.enabled)||e&&g.states&&g.states[e]&&!1===g.states[e].enabled)){if(this.state=e,b&&(n=o.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(r&&this.graphic.removeClass("highcharts-point-"+r),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var x=o.pointAttribs(this,e),w=_(m.options.chart.animation,s.animation);o.options.inactiveOtherPoints&&v(x.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:x.opacity},w)})),this.connector&&this.connector.animate({opacity:x.opacity},w)),this.graphic.animate(x,w)}n&&this.graphic.animate(n,_(m.options.chart.animation,c.animation,a.animation)),f&&f.hide()}else e&&c&&(r=g.symbol||o.symbol,f&&f.currentSymbol!==r&&(f=f.destroy()),n&&(f?f[i?"animate":"attr"]({x:n.x,y:n.y}):r&&(o.stateMarkerGraphic=f=m.renderer.symbol(r,n.x,n.y,n.width,n.height).add(o.markerGroup),f.currentSymbol=r)),!m.styledMode&&f&&f.attr(o.pointAttribs(this,e))),f&&(f[e&&this.isInside?"show":"hide"](),f.element.point=this);s=s.halo,n=(f=this.graphic||f)&&f.visibility||"inherit",s&&s.size&&f&&"hidden"!==n&&!this.isCluster?(y||(o.halo=y=m.renderer.path().add(f.parentGroup)),y.show()[i?"animate":"attr"]({d:this.haloPath(s.size)}),y.attr({class:"highcharts-halo highcharts-color-"+_(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),y.point=this,m.styledMode||y.attr(p({fill:this.color||o.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):y&&y.point&&y.point.haloPath&&y.animate({d:y.point.haloPath(0)},null,y.hide),u(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}(),n.Point=e})),e(i,"Core/Legend.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=t.animObject,s=t.setAnimation,a=e.format;t=i.isFirefox;var l=i.marginNames;e=i.win;var h=o.addEvent,c=o.createElement,d=o.css,p=o.defined,u=o.discardElement,f=o.find,g=o.fireEvent,m=o.isNumber,v=o.merge,y=o.pick,b=o.relativeLength,x=o.stableSort,_=o.syncTimeout;o=o.wrap;var w=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),h(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=h(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=y(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=v(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.
25itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=y(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var i=this.chart;this.setOptions(v(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,y(e,!0)&&i.redraw(),g(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,n=t.legendItem,o=t.legendLine,r=t.legendSymbol,s=this.itemHiddenStyle.color;i=e?i.itemStyle.color:s;var a=e&&t.color||s,l=t.options&&t.options.marker,h={fill:a};n&&n.css({fill:i,color:i}),o&&o.attr({stroke:a}),r&&(l&&r.isMarker&&(h=t.pointAttribs(),e||(h.stroke=h.fill=s)),r.attr(h))}g(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,i=this.options,n=i.symbolPadding,o=!i.rtl,r=t._legendItemPos;i=r[0],r=r[1];var s=t.checkbox,a=t.legendGroup;a&&a.element&&(n={translateX:o?i:this.legendWidth-i-2*n-4,translateY:r},o=function(){g(e,"afterPositionItem",{item:t})},p(a.translateY)?a.animate(n,void 0,o):(a.attr(n),o())),s&&(s.x=i,s.y=r)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&u(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}
25this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var n=t.translateY;this.allItems.forEach((function(o){var r=o.checkbox;if(r){var s=n+i+r.y+(this.scrollOffset||0)+3;d(r,{left:t.translateX+o.checkboxOffset+r.x-20+"px",top:s+"px",display:this.proximate||s>n-6&&s<n+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,n=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?a(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,i=e.renderer,n=this.options,o=this.symbolWidth,r=n.symbolPadding||0,s=this.itemStyle,a=this.itemHiddenStyle,l="horizontal"===n.layout?y(n.itemDistance,20):0,h=!n.rtl,c=t.legendItem,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,u=p.options,f=this.createCheckboxForItem&&u&&u.showCheckbox;u=o+r+l+(f?20:0);var g=n.useHTML,m=t.options.className;c||(t.legendGroup=i.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=c=i.text("",h?o+r:-r,this.baseline||0,g),e.styledMode||c.css(v(t.visible?s:a)),c.attr({align:h?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(e.styledMode?12:s.fontSize,c),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,c.attr("y",this.baseline),this.symbolHeight=n.symbolHeight||this.fontMetrics.f,n.squareSymbol&&(this.symbolWidth=y(n.symbolWidth,Math.max(this.symbolHeight,16)),u=this.symbolWidth+r+l+(f?20:0),h&&c.attr("x",this.symbolWidth+r))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,c,g)),f&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&s.width||c.css({width:(n.itemWidth||this.widthOption||e.spacingBox.width)-u+"px"}),this.setText(t),e=c.getBBox(),t.itemWidth=t.checkboxOffset=n.itemWidth||t.legendItemWidth||e.width+u,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||e.height||this.symbolHeight)},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,n="horizontal"===e.layout,o=t.itemHeight,r=this.itemMarginBottom,s=this.itemMarginTop,a=n?y(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,n&&this.itemX-i+e>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=s+this.itemY+r,this.lastLineHeight=Math.max(o,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=s+o+r,this.lastLineHeight=o),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var i=e&&e.options;e&&y(i.showInLegend,!p(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),g(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,n=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEac
25h((function(r,s){r.test(o)&&!p(t[s])&&(i[l[s]]=Math.max(i[l[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*n[s%2?"x":"y"]+y(n.margin,12)+e[s]+(i.titleOffset[s]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(i){var o,r=n;if(i.yAxis){i.xAxis.options.reversed&&(r=!r),i.points&&(o=f(r?i.points:i.points.slice(0).reverse(),(function(t){return m(t.plotY)}))),r=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom;var s=i.yAxis.top-t.plotTop;i.visible?(o=o?o.plotY:i.yAxis.height,o+=s-.3*r):o=s+i.yAxis.height,e.push({target:o,size:r,item:i})}}),this),i.distribute(e,t.plotHeight),e.forEach((function(e){e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.group,n=this.box,o=this.options,r=this.padding;this.itemX=r,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=b(o.width,t.spacingBox.width-r);var s=t.spacingBox.width-2*r-o.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=e.g("legend").addClass(o.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(i),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle();var a=this.getAllItems();x(a,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),o.reversed&&a.reverse(),this.allItems=a,this.display=s=!!a.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,a.forEach(this.renderItem,this),a.forEach(this.layoutItem,this),a=(this.widthOption||this.offsetWidth)+r;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=r,n||(this.box=n=e.rect().addClass("highcharts-legend-box").attr({r:o.borderRadius}).add(i),n.isNew=!0),t.styledMode||n.attr({stroke:o.borderColor,"stroke-width":o.borderWidth||0,fill:o.backgroundColor||"none"}).shadow(o.shadow),0<a&&0<l&&(n[n.isNew?"attr":"animate"](n.crisp.call({},{x:0,y:0,width:a,height:l},n.strokeWidth())),n.isNew=!1),n[s?"show":"hide"](),t.styledMode&&"none"===i.getStyle("display")&&(a=l=0),this.legendWidth=a,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),g(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=v(t,{y:n})),this.group.align(v(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e=this,i=this.chart,n=i.renderer,o=this.options,r=o.y,s=this.padding;r=i.spacingBox.height+("top"===o.verticalAlign?-r:r)-s;var a,l,h=o.maxHeight,c=this.clipRect,d=o.navigation,p=y(d.animation,!0),u=d.arrowSize||12,f=this.nav,g=this.pages,m=this.allItems,v=function(t){"number"==typeof t?c.attr({height:t}):c&&(e.clipRect=c.destroy(),e.contentGroup.clip()),e.contentGroup.div&&(e.contentGroup.div.style.clip=t?"rect("+s+"px,9999px,"+(s+t)+"px,0)":"auto")},b=function(t){return e[t]=n.circle(0,0,1.3*u).translate(u/2,u/2).add(f),i.styledMode||e[t].attr("fill","rgba(0,0,0,0.0001)"),e[t]};return"horizontal"!==o.layout||"middle"===o.verticalAlign||o.floating||(r/=2),h&&(r=Math.min(r,h)),g.length=0,t&&0<r&&t>r&&!1!==d.enabled?(this.clipHeight=a=Math.max(r-20-this.titleHeight-s,0),this.currentPage=y(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,e){var i=t._legendItemPos[1],n=Math.round(t.legendItem.getBBox().height),o=g.length;(!o||i-g[o-1]>a&&(l||i)!==g[o-1])&&(g.push(l||i),o++),t.pageIx=o-1,l&&(m[e-1].pageIx=o-1),e===m.length-1&&i+n-g[o-1]>a&&i!==l&&(g.push(i),t.pageIx=o),i!==l&&(l=i)})),c||(c=e.clipRect=n.clipRect(0,s,9999,0),e.contentGroup.clip(c)),v(a),f||(this.nav=f=n.g().attr({zIndex:1}).add(this.group),this.up=n.symbol("triangle",0,0,u,u).add(f),b("upTracker").on("click",(function(){e.scroll(-1,p)})),this.pager=n.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(d.style),this.pager.add(f),this.down=n.symbol("triangle-down",0,0,u,u).add(f),b("downTracker").on("click",(function(){e.scroll(1,p)}))),e.scroll(0),t=r):f&&(v(),this.nav=f.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,n=this.chart,o=this.pages,a=o.length,l=this.currentPage+t;t=this.clipHeight;var h=this.options.navigation,c=this.pager,d=this.padding;l>a&&(l=a),0<l&&(void 0!==e&&s(e,n),this.nav.attr({translateX:d,translateY:t+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===l?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),c.attr({text:l+"/"+a}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:l===a?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===l?h.inactiveColor:h.activeColor}),this.upTracker.css({cursor:1===l?"default":"pointer"}),this.down.attr({fill:l===a?h.inactiveColor:h.activeColor}),this.downTracker.css({cursor:l===a?"default":"pointer"})),this.scrollOffset=-o[l-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=l,this.positionCheckboxes(),e=r(y(e,n.renderer.globalAnimation,!0)),_((function(){g(i,"afterScroll",{currentPage:l})}),e.duration))}
25,t.prototype.setItemEvents=function(t,e,i){var o=this,r=o.chart.renderer.boxWrapper,s=t instanceof n,a="highcharts-legend-"+(s?"point":"series")+"-active",l=o.chart.styledMode;(i?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(i){i&&i.on("mouseover",(function(){t.visible&&o.allItems.forEach((function(e){t!==e&&e.setState("inactive",!s)})),t.setState("hover"),t.visible&&r.addClass(a),l||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(v(t.visible?o.itemStyle:o.itemHiddenStyle)),o.allItems.forEach((function(e){t!==e&&e.setState("",!s)})),r.removeClass(a),t.setState()})).on("click",(function(e){var i=function(){t.setVisible&&t.setVisible(),o.allItems.forEach((function(e){t!==e&&e.setState(t.visible?"inactive":"",!s)}))};r.removeClass(a),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):g(t,"legendItemClick",e,i)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=c("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),h(t.checkbox,"click",(function(e){g(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}();return(/Trident\/7\.0/.test(e.navigator&&e.navigator.userAgent)||t)&&o(w.prototype,"positionItem",(function(t,e){var i=this,n=function(){e._legendItemPos&&t.call(i,e)};n(),i.bubbleLegend||setTimeout(n)})),i.Legend=w,i.Legend})),e(i,"Core/Series/SeriesRegistry.js",[i["Core/Globals.js"],i["Core/DefaultOptions.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o,r=e.defaultOptions,s=n.error,a=n.extendClass,l=n.merge;return function(e){function n(t,n){var o=r.plotOptions||{},s=n.defaultOptions;n.prototype.pointClass||(n.prototype.pointClass=i),n.prototype.type=t,s&&(o[t]=s),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,i){void 0===i&&(i={});var n=t.options.chart;n=i.type||n.type||n.defaultSeriesType||"";var o=e.seriesTypes[n];return e||s(17,!0,t,{missingModuleFor:n}),"function"==typeof(n=new o).init&&n.init(t,i),n},e.registerSeriesType=n,e.seriesType=function(t,o,s,h,c){var d=r.plotOptions||{};return o=o||"",d[t]=l(d[o],s),n(t,a(e.seriesTypes[o]||function(){},h)),e.seriesTypes[t].prototype.type=t,c&&(e.seriesTypes[t].prototype.pointClass=a(i,c)),e.seriesTypes[t]}}(o||(o={})),t.seriesType=o.seriesType,o})),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/FormatUtilities.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend.js"],i["Core/MSPointer.js"],i["Core/DefaultOptions.js"],i["Core/Color/Palette.js"],i["Core/Pointer.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Time.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],(function(t,e,i,n,o,r,s,a,l,h,c,d,p,u,f){var g=t.animate,m=t.animObject,v=t.setAnimation,y=i.numberFormat,b=n.registerEventOptions,x=o.charts,_=o.doc,w=o.marginNames,k=o.win,C=a.defaultOptions,S=a.defaultTime,T=d.seriesTypes,E=u.addEvent,M=u.attr,A=u.cleanRecursively,D=u.createElement,L=u.css,O=u.defined,P=u.discardElement,I=u.erase,N=u.error,j=u.extend,R=u.find,F=u.fireEvent,G=u.getStyle,B=u.isArray,H=u.isNumber,z=u.isObject,$=u.isString,W=u.merge,X=u.objectEach,Y=u.pick,U=u.pInt,q=u.relativeLength,V=u.removeEvent,K=u.splat,Z=u.syncTimeout,Q=u.uniqueKey;return t=function(){function t(t,e,i){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,i)}return t.chart=function(e,i,n){return new t(e,i,n)},t.prototype.getArgs=function(t,e,i){$(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)},t.prototype.init=function(t,e){var i=t.plotOptions||{};F(this,"init",{args:arguments},(function(){var n=W(C,t),r=n.chart;X(n.plotOptions,(function(t,e){z(t)&&(t.tooltip=i[e]&&W(i[e].tooltip)||void 0)})),n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new p(t.time):o.time,this.numberFormatter=r.numberFormatter||y,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes,this.index=x.length,x.push(this),o.chartCount++,b(this,r),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,F(this,"afterInit"),this.firstRen
25der()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var i=T[e];return i||N(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new i).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var i=e.length;t<i;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,i){void 0===i&&(i={});var n=this.inverted,o=this.plotBox,r=this.plotLeft,s=this.plotTop,a=this.scrollablePlotBox,l=0,h=0;i.visiblePlotOnly&&this.scrollingContainer&&(l=(h=this.scrollingContainer).scrollLeft,h=h.scrollTop);var c=i.series;if(o=i.visiblePlotOnly&&a||o,t={x:a=i.inverted?e:t,y:e=i.inverted?t:e,isInsidePlot:!0},!i.ignoreX){var d=c&&(n?c.yAxis:c.xAxis)||{pos:r,len:1/0};(a=i.paneCoordinates?d.pos+a:r+a)>=Math.max(l+r,d.pos)&&a<=Math.min(l+r+o.width,d.pos+d.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(n=c&&(n?c.xAxis:c.yAxis)||{pos:s,len:1/0},(i=i.paneCoordinates?n.pos+e:s+e)>=Math.max(h+s,n.pos)&&i<=Math.min(h+s+o.height,n.pos+n.len)||(t.isInsidePlot=!1)),F(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){F(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,n=this.pointer,o=this.legend,r=this.userOptions.legend,s=this.renderer,a=s.isHidden(),l=[],h=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&F(t,"updatedData")})),c&&o&&o.options.enabled&&(o.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(h=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){F(t,"afterSetExtremes",j(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(h||p)&&t.redraw()})),h&&this.drawChartBox(),F(this,"predraw"),i.forEach((function(t){(h||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),s.draw(),F(this,"redraw"),F(this,"render"),a&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var i=this.series,n=R(this.axes,e)||R(this.series,e),o=0;!n&&o<i.length;o++)n=R(i[o].points||[],e);return n},t.prototype.getAxes=function(){var t=this,i=this.options,n=i.xAxis=K(i.xAxis||{});i=i.yAxis=K(i.yAxis||{}),F(this,"getAxes"),n.forEach((function(t,e){t.index=e,t.isX=!0})),i.forEach((function(t,e){t.index=e})),n.concat(i).forEach((function(i){new e(t,i)})),F(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){var t=[];return this.series.forEach((function(e){t=t.concat(e.getPointsCollection().filter((function(t){return Y(t.selectedStaging,t.selected)})))})),t},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)},t.prototype.applyDescription=function(t,e){var i=this,n="title"===t?{color:l.neutralColor80,fontSize:this.options.isStock?"16px":"18px"}:{color:l.neutralColor60};n=this.options[t]=W(!this.styledMode&&{style:n},this.options[t],e);var o=this[t];o&&e&&(this[t]=o=o.destroy()),n&&!o&&((o=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+t,zIndex:n.zIndex||4}
25).add()).update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||o.css(n.style),this[t]=o)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var o,r=this[t],s=this.options[t],a=s.verticalAlign||"top";if(t="title"===t?"top"===a?-3:0:"top"===a?e[0]+2:0,r){this.styledMode||(o=s.style&&s.style.fontSize),o=i.fontMetrics(o,r).b,r.css({width:(s.width||n.width+(s.widthAdjust||0))+"px"});var l=Math.round(r.getBBox(s.useHTML).height);r.align(j({y:"bottom"===a?o:t+o,height:l},s),!1,"spacingBox"),s.floating||("top"===a?e[0]=Math.ceil(e[0]+l):"bottom"===a&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,F(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.renderTo;O(e)||(this.containerWidth=G(i,"width")),O(t)||(this.containerHeight=G(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,q(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(L(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(_.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(_.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,_.body.appendChild(e)),("none"===G(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),L(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==_.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,i=e.chart,n=Q(),o=this.renderTo;o||(this.renderTo=o=i.renderTo),$(o)&&(this.renderTo=o=_.getElementById(o)),o||N(13,!0,this);var r=U(M(o,"data-highcharts-chart"));H(r)&&x[r]&&x[r].hasRendered&&x[r].destroy(),M(o,"data-highcharts-chart",this.index),o.innerHTML="",i.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize(),r=this.chartWidth;var s=this.chartHeight;if(L(o,{overflow:"hidden"}),this.styledMode||(t=j({position:"relative",overflow:"hidden",width:r+"px",height:s+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{})),this.container=n=D("div",{id:n},t,o),this._cursor=n.style.cursor,this.renderer=new(c.getRendererType(i.renderer))(n,r,s,void 0,i.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(i.className),this.styledMode)for(var a in e.defs)this.renderer.definition(e.defs[a]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,i=this.margin,n=this.titleOffset;this.resetMargins(),n[0]&&!O(i[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!O(i[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),F(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,n=t.margin,o=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?o(t.axes):i&&i.length&&o(i),w.forEach((function(i,o){O(n[o])||(t[i]+=e[o])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,n=e.renderTo,o=O(i.width)&&O(i.height),r=i.width||G(n,"width");
25i=i.height||G(n,"height"),n=t?t.target:k,delete e.pointer.chartPosition,o||e.isPrinting||!r||!i||n!==k&&n!==_||(r===e.containerWidth&&i===e.containerHeight||(u.clearTimeout(e.reflowTimeout),e.reflowTimeout=Z((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=r,e.containerHeight=i)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=E(k,"resize",(function(t){e.options&&e.reflow(t)})),E(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var n=this,o=n.renderer;n.isResizing+=1,v(i,n),i=o.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,void 0!==t&&(n.options.chart.width=t),void 0!==e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(i?g:L)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},i),n.setChartSize(!0),o.setSize(n.chartWidth,n.chartHeight,i),n.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(i),n.oldChartHeight=null,F(n,"resize"),Z((function(){n&&F(n,"endResize",null,(function(){--n.isResizing}))}),m(i).duration)},t.prototype.setChartSize=function(t){var e,i,n,o,r=this.inverted,s=this.renderer,a=this.chartWidth,l=this.chartHeight,h=this.options.chart,c=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(l-i-this.marginBottom)),this.plotSizeX=r?o:n,this.plotSizeY=r?n:o,this.plotBorderWidth=h.plotBorderWidth||0,this.spacingBox=s.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:l-c[0]-c[2]},this.plotBox=s.plotBox={x:e,y:i,width:n,height:o},r=2*Math.floor(this.plotBorderWidth/2),a=Math.ceil(Math.max(r,d[3])/2),l=Math.ceil(Math.max(r,d[0])/2),this.clipBox={x:a,y:l,width:Math.floor(this.plotSizeX-Math.max(r,d[1])/2-a),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(r,d[2])/2-l))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),s.alignElements()),F(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){F(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(i){var n=e[i],o=z(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach((function(n,r){t[i][r]=Y(e[i+n],o[r])}))})),w.forEach((function(e,i){t[e]=Y(t.margin[i],t.spacing[i])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,i=this.renderer,n=this.chartWidth,o=this.chartHeight,r=this.styledMode,s=this.plotBGImage,a=e.backgroundColor,l=e.plotBackgroun
25dColor,h=e.plotBackgroundImage,c=this.plotLeft,d=this.plotTop,p=this.plotWidth,u=this.plotHeight,f=this.plotBox,g=this.clipRect,m=this.clipBox,v=this.chartBackground,y=this.plotBackground,b=this.plotBorder,x="animate";if(v||(this.chartBackground=v=i.rect().addClass("highcharts-background").add(),x="attr"),r)var _=t=v.strokeWidth();else t=(_=e.borderWidth||0)+(e.shadow?8:0),a={fill:a||"none"},(_||v["stroke-width"])&&(a.stroke=e.borderColor,a["stroke-width"]=_),v.attr(a).shadow(e.shadow);v[x]({x:t/2,y:t/2,width:n-t-_%2,height:o-t-_%2,r:e.borderRadius}),x="animate",y||(x="attr",this.plotBackground=y=i.rect().addClass("highcharts-plot-background").add()),y[x](f),r||(y.attr({fill:l||"none"}).shadow(e.plotShadow),h&&(s?(h!==s.attr("href")&&s.attr("href",h),s.animate(f)):this.plotBGImage=i.image(h,c,d,p,u).add())),g?g.animate({width:m.width,height:m.height}):this.clipRect=i.clipRect(m),x="animate",b||(x="attr",this.plotBorder=b=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),r||b.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),b[x](b.crisp({x:c,y:d,width:p,height:u},-b.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,i,n=this,o=n.options.chart,r=n.options.series;["inverted","angular","polar"].forEach((function(s){for(e=T[o.type||o.defaultSeriesType],i=o[s]||e&&e.prototype[s],t=r&&r.length;!i&&t--;)(e=T[r[t].type])&&e.prototype[s]&&(i=!0);n[s]=i}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var i=e.options.linkedTo;$(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&i.linkedParent!==e&&(i.linkedSeries.push(e),e.linkedParent=i,i.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,i.options.visible,e.visible))})),F(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(i){var n=j(e.style,i.style),o=U(n.left)+t.plotLeft,r=U(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(i.html,o,r).attr({zIndex:2}).css(n).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,n=this.options,o=function(t){t.forEach((function(t){t.visible&&t.render()}))},s=0;this.setTitle(),this.legend=new r(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return s=21,!0}));var a=this.plotHeight=Math.max(this.plotHeight-s,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<n/this.plotWidth,h=1.05<a/this.plotHeight;(l||h)&&(t.forEach((function(t){(t.horiz&&l||!t.horiz&&h)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?o(t):e&&e.length&&o(e),this.seriesGroup||(this.seriesGroup=i.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,i=W(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i.href&&(k.location.href=i.href)})).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,i=e.axes,n=e.series,r=e.container,s=r&&r.parentNode;for(F(e,"destroy"),e.renderer.forExport?I(x,e):x[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),V(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();
25"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())})),r&&(r.innerHTML="",V(r),s&&P(r)),X(e,(function(t,i){delete e[i]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(B(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),F(t,"beforeRender"),h&&(s.isRequired()?t.pointer=new s(t,e):t.pointer=new h(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),F(this,"load"),F(this,"render"),O(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,i){var n,o=this;return t&&(e=Y(e,!0),F(o,"addSeries",{options:t},(function(){n=o.initSeries(t),o.isDirtyLegend=!0,o.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),F(o,"afterAddSeries",{series:n}),e&&o.redraw(i)}))),n},t.prototype.addAxis=function(t,e,i,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:n})},t.prototype.addColorAxis=function(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})},t.prototype.createAxis=function(t,i){var n="colorAxis"===t,r=i.redraw,s=i.animation;return t=W(i.axis,{index:this[t].length,isX:"xAxis"===t}),t=n?new o.ColorAxis(this,t):new e(this,t),n&&(this.isDirtyLegend=!0,this.axes.forEach((function(t){t.series=[]})),this.series.forEach((function(t){t.bindAxes(),t.isDirtyData=!0}))),Y(r,!0)&&this.redraw(s),t},t.prototype.showLoading=function(t){var e=this,i=e.options,n=i.loading,o=function(){r&&L(r,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},r=e.loadingDiv,s=e.loadingSpan;r||(e.loadingDiv=r=D("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=D("span",{className:"highcharts-loading-inner"},null,r),E(e,"redraw",o)),r.className="highcharts-loading",f.setElementHTML(s,Y(t,i.lang.loading,"")),e.styledMode||(L(r,j(n.style,{zIndex:10})),L(s,n.labelStyle),e.loadingShown||(L(r,{opacity:0,display:""}),g(r,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,o()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){L(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,i,n){var o,r,s=this,a={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,h=[];F(s,"update",{options:t}),l||s.setResponsive(!1,!0),t=A(t,s.options),s.userOptions=W(s.userOptions,t);var c=t.chart;if(c){if(W(!0,s.options.chart,c),"className"in c&&s.setClassName(c.className),"reflow"in c&&s.setReflow(c.reflow),"inverted"in c||"polar"in c||"type"in c){s.propFromSeries();var d=!0}"alignTicks"in c&&(d=!0),"events"in c&&b(this,c),X(c,(function(t,e){-1!==s.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==s.propsRequireDirtyBox.indexOf(e)&&(s.isDirtyBox=!0),-1!==s.propsRequireReflow.indexOf(e)&&(l?s.isDirtyBox=!0:r=!0)})),!s.styledMode&&"style"in c&&s.renderer.setStyle(c.style)}!s.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===S&&(this.time=new p(t.time)),W(!0,s.options.time,t.time)),X(t,(function(e,i){s[i]&&"function"==typeof s[i].update?s[i].update(e,!1):"function"==typeof s[a[i]]?s[a[i]](e):"colors"!==i&&-1===s.collectionsWithUpdate.indexOf(i)&&W(!0,s.options[i],t[i]),"chart"!==i&&-1!==s.propsRequireUpdateSeries.indexOf(i)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var n=[];s[e].forEach((function(t,e){t.options.isInternal||n.push(Y(t.options.index,e))}
25)),K(t[e]).forEach((function(t,o){var r,a=O(t.id);a&&(r=s.get(t.id)),!r&&s[e]&&(r=s[e][n?n[o]:o])&&a&&O(r.options.id)&&(r=void 0),r&&r.coll===e&&(r.update(t,!1),i&&(r.touched=!0)),!r&&i&&s.collectionsWithInit[e]&&(s.collectionsWithInit[e][0].apply(s,[t].concat(s.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),i&&s[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:h.push(t)}))}})),h.forEach((function(t){t.chart&&t.remove(!1)})),d&&s.axes.forEach((function(t){t.update({},!1)})),o&&s.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),d=c&&c.width,c=c&&($(c.height)?q(c.height,d||s.chartWidth):c.height),r||H(d)&&d!==s.chartWidth||H(c)&&c!==s.chartHeight?s.setSize(d,c,n):Y(e,!0)&&s.redraw(n),F(s,"afterUpdate",{options:t,redraw:e,animation:n})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,i=C.lang,n=e.options.chart.resetZoomButton,o=n.theme,r=o.states,s="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";F(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,o,r&&r.hover).attr({align:n.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,s)})),F(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){F(this,"selection",{resetSelection:!0}
25,this.zoom)},t.prototype.zoom=function(t){var e,i=this,n=i.pointer,o=i.inverted?n.mouseDownX:n.mouseDownY,r=!1;!t||t.resetSelection?(i.axes.forEach((function(t){e=t.zoom()})),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var s=t.axis,a=i.inverted?s.left:s.top,l=i.inverted?a+s.width:a+s.height,h=s.isXAxis,c=!1;(!h&&o>=a&&o<=l||h||!O(o))&&(c=!0),n[h?"zoomX":"zoomY"]&&c&&(e=s.zoom(t.min,t.max),s.displayBtn&&(r=!0))}));var s=i.resetZoomButton;r&&!s?i.showResetZoom():!r&&z(s)&&(i.resetZoomButton=s.destroy()),e&&i.redraw(Y(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i=this,n=i.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var o=i.options.chart,r=i.options.mapNavigation&&i.options.mapNavigation.enabled;o&&o.panning&&(o.panning=e);var s,a=e.type;F(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=i.xAxis;"xy"===a?e=e.concat(i.yAxis):"y"===a&&(e=i.yAxis);var o={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,l=t[n?"chartX":"chartY"],h=i[n=n?"mouseDownX":"mouseDownY"],c=e.minPointOffset||0,d=e.reversed&&!i.inverted||!e.reversed&&i.inverted?-1:1,p=e.getExtremes(),u=e.toValue(h-l,!0)+c*d,f=e.toValue(h+e.len-l,!0)-(c*d||e.isXAxis&&e.pointRangePadding||0),g=f<u;d=e.hasVerticalPanning(),h=g?f:u,u=g?u:f;var m=e.panningState;!d||e.isXAxis||m&&!m.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),m||(m={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),H(e.dataMin)&&H(e.dataMax)&&(m.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,m.startMin),m.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,m.startMax))}
25)),d=Math.min(Y(m&&m.startMin,p.dataMin),c?p.min:e.toValue(e.toPixels(p.min)-e.minPixelPadding)),f=Math.max(Y(m&&m.startMax,p.dataMax),c?p.max:e.toValue(e.toPixels(p.max)+e.minPixelPadding)),e.panningState=m,e.isOrdinal||(0<(c=d-h)&&(u+=c,h=d),0<(c=u-f)&&(u=f,h-=c),e.series.length&&h!==p.min&&u!==p.max&&h>=d&&u<=f&&(e.setExtremes(h,u,!1,!1,{trigger:"pan"}),i.resetZoomButton||r||h===d||u===f||!a.match("y")||(i.showResetZoom(),e.displayBtn=!1),s=!0),o[n]=l)}})),X(o,(function(t,e){i[e]=t})),s&&i.redraw(!1),L(i.container,{cursor:"move"})}))},t}(),j(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(i,"Mixins/LegendSymbol.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.merge,n=e.pick;return t.LegendSymbolMixin={drawRectangle:function(t,e){var i=t.symbolHeight,o=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(o?(t.symbolWidth-i)/2:0,t.baseline-i+1,o?i:t.symbolWidth,i,n(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e=this.options,o=e.marker,r=t.symbolWidth,s=t.symbolHeight,a=s/2,l=this.chart.renderer,h=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={};this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=l.path([["M",0,t],["L",r,t]]).addClass("highcharts-graph").attr(c).add(h),o&&!1!==o.enabled&&r&&(e=Math.min(n(o.radius,a),a),0===this.symbol.indexOf("url")&&(o=i(o,{width:s,height:s}),e=0),this.legendSymbol=o=l.symbol(this.symbol,r/2-e,t-e,2*e,2*e,o).addClass("highcharts-point").add(h),o.isMarker=!0)}}})),e(i,"Core/Series/Series.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/DefaultOptions.js"],i["Core/Color/Palette.js"],i["Core/Series/Point.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l,h){var c=t.animObject,d=t.setAnimation,p=e.registerEventOptions,u=i.hasTouch,f=i.svg,g=i.win,m=o.defaultOptions,v=a.seriesTypes,y=h.addEvent,b=h.arrayMax,x=h.arrayMin,_=h.clamp,w=h.cleanRecursively,k=h.correctFloat,C=h.defined,S=h.erase,T=h.error,E=h.extend,M=h.find,A=h.fireEvent,D=h.getNestedProperty,L=h.isArray,O=h.isNumber,P=h.isString,I=h.merge,N=h.objectEach,j=h.pick,R=h.removeEvent,F=h.splat,G=h.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){A(this,"init",{options:e});var i=this,n=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e),e=i.options,i.linkedSeries=[],i.bindAxes(),E(i,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var o,r=e.events;(r&&r.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach((function(t){i[t+"Data"]||(i[t+"Data"]=[])})),i.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(o=n[n.length-1]),i._i=j(o&&o._i,-1)+1,i.opacity=i.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(e.data,!1),A(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(O(i)){for(e=t.length;e--;)if(i>=j(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return j(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,n=e.chart;
25A(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){var r=0;n[o].forEach((function(n){t=n.options,(i[o]===r&&!t.isInternal||void 0!==i[o]&&i[o]===t.id||void 0===i[o]&&0===t.index)&&(e.insert(n.series),e[o]=n,n.isDirty=!0),t.isInternal||r++})),e[o]||e.optionalAxis===o||T(18,!0,n)}))})),A(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,n=arguments,o=O(e)?function(n){var o="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=o}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(n,2))};i.parallelArrays.forEach(o)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(){var t,e=this.options,i=this.xIncrement,n=e.pointIntervalUnit,o=this.chart.time;return i=j(i,e.pointStart,0),this.pointInterval=t=j(this.pointInterval,e.pointInterval,1),n&&(e=new o.Date(i),"day"===n?o.set("Date",e,o.get("Date",e)+t):"month"===n?o.set("Month",e,o.get("Month",e)+t):"year"===n&&o.set("FullYear",e,o.get("FullYear",e)+t),t=e.getTime()-i),this.xIncrement=i+t,i},t.prototype.setDataSortingOptions=function(){var t=this.options;E(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),C(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,i=e.options,n=i.plotOptions,o=e.userOptions||{};t=I(t),e=e.styledMode;var r={plotOptions:n,userOptions:t};A(this,"setOptions",r);var s=r.plotOptions[this.type],a=o.plotOptions||{};return this.userOptions=r.userOptions,o=I(s,n.series,o.plotOptions&&o.plotOptions[this.type],t),this.tooltipOptions=I(m.tooltip,m.plotOptions.series&&m.plotOptions.series.tooltip,m.plotOptions[this.type].tooltip,i.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=j(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||o.stickyTracking),null===s.marker&&delete o.marker,this.zoneAxis=o.zoneAxis,i=this.zones=(o.zones||[]).slice(),!o.negativeColor&&!o.negativeFillColor||o.zones||(n={value:o[this.zoneAxis+"Threshold"]||o.threshold||0,className:"highcharts-negative"},e||(n.color=o.negativeColor,n.fillColor=o.negativeFillColor),i.push(n)),i.length&&C(i[i.length-1].value)&&i.push(e?{}:{color:this.color,fillColor:this.fillColor}),A(this,"afterSetOptions",{options:o}),o},t.prototype.getName=function(){return j(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,i){var n=this.chart,o=this.userOptions,r=t+"Index",s=t+"Counter",a=i?i.length:j(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var l=j(o[r],o["_"+r]);C(l)||(n.series.length||(n[s]=0),o["_"+r]=l=n[s]%a,n[s]+=1),i&&(e=i[l])}void 0!==l&&(this[r]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color=r.neutralColor20:this.getCyclic("color",this.options.color||m.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var i,n=t.id,o=t.x,r=this.points,s=this.options.dataSorting;if(n)var a=this.chart.get(n);else if(this.linkedParent||this.enabledDataSorting){var l=s&&s.matchByName?"name":"index";if(!(a=M(r,(function(e){return!e.touched&&e[l]===t[l]}))))return}if(a){var h=a&&a.index;void 0!==h&&(i=!0)}return void 0===h&&O(o)&&(h=this.xData.indexOf(o,e)),-1!==h&&void 0!==h&&this.cropped&&(h=h>=this.cropStart?h-this.cropStart:h),!i&&r[h]&&r[h].touched&&(h=void 0),h},t.prototype.updateData=function(t,e){var i,n,o,r=this.options,s=r.dataSorting,a=this.points,l=[],h=this.requireSorting,c=t.length===a.length,d=!0;if(this.xIncrement=null,t.forEach((function(t,e){var n=C(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=n.x;n.id||O(d)?(-1===(d=this.findPointIndex(n,o))||void 0===d?l.push(t):a[d]&&t!==r.data[d]?(a[d].update(t,!1,null,!1),a[d].touched=!0,h&&(o=d+1)):a[d]&&(a[d].touched=!0),(!c||e!==d||s&&s.enabled||this.hasDerivedData)&&(i=!0)):l.push(t)}),this),i)for(t=a.length;t--;)(n=a[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!c||s&&s.enabled?d=!1:(t.forEach((function(t,e){t!==a[e].y&&a[e].update&&a[e].update(t,!1,null,!1)})),l.length=0);return a.forEach((function(t){t&&(t.touched=!1)})),!!d&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)}
25,t.prototype.setData=function(t,e,i,n){var o,r=this,s=r.points,a=s&&s.length||0,l=r.options,h=r.chart,c=l.dataSorting,d=null,p=r.xAxis;d=l.turboThreshold;var u,f=this.xData,g=this.yData,m=(o=r.pointArrayMap)&&o.length,v=l.keys,y=0,b=1;if(o=(t=t||[]).length,e=j(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==n&&o&&a&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(u=this.updateData(t,i)),!u){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(t){r[t+"Data"].length=0})),d&&o>d)if(d=r.getFirstValidPoint(t),O(d))for(i=0;i<o;i++)f[i]=this.autoIncrement(),g[i]=t[i];else if(L(d))if(m)for(i=0;i<o;i++)n=t[i],f[i]=n[0],g[i]=n.slice(1,m+1);else for(v&&(y=0<=(y=v.indexOf("x"))?y:0,b=0<=(b=v.indexOf("y"))?b:1),i=0;i<o;i++)n=t[i],f[i]=n[y],g[i]=n[b];else T(12,!1,h);else for(i=0;i<o;i++)void 0!==t[i]&&(n={series:r},r.pointClass.prototype.applyOptions.apply(n,[t[i]]),r.updateParallelArrays(n,i));for(g&&P(g[0])&&T(14,!0,h),r.data=[],r.options.data=r.userOptions.data=t,i=a;i--;)s[i]&&s[i].destroy&&s[i].destroy();p&&(p.minRange=p.userMinRange),r.isDirty=h.isDirtyBox=!0,r.isDirtyData=!!s,i=!1}"point"===l.legendType&&(this.processData(),this.generatePoints()),e&&h.redraw(i)},t.prototype.sortData=function(t){var e=this,i=e.options.dataSorting.sortKey||"y",n=function(t,e){return C(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(i,o){t[o]=n(e,i),t[o].index=o}),this),t.concat().sort((function(t,e){return t=D(i,t),(e=D(i,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var i=e.options,o=i.data;i.dataSorting&&i.dataSorting.enabled||!o||(o.forEach((function(i,r){o[r]=n(e,i),t[r]&&(o[r].x=t[r].x,o[r].index=r)})),e.setData(o,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xData,i=this.yData,n=e.length,o=0,r=this.xAxis,s=this.options,a=s.cropThreshold,l=t||this.getExtremesFromAll||s.getExtremesFromAll,h=this.isCartesian;t=r&&r.val2lin,s=!(!r||!r.logarithmic);var c=this.requireSorting;if(r)var d=(r=r.getExtremes()).min,p=r.max;if(h&&this.sorted&&!l&&(!a||n>a||this.forceCrop))if(e[n-1]<d||e[0]>p)e=[],i=[];else if(this.yData&&(e[0]<d||e[n-1]>p)){e=(o=this.cropData(this.xData,this.yData,d,p)).xData,i=o.yData,o=o.start;var u=!0}for(a=e.length||1;--a;)if(0<(n=s?t(e[a])-t(e[a-1]):e[a]-e[a-1])&&(void 0===f||n<f))var f=n;else 0>n&&c&&(T(15,!1,this.chart),c=!1);return{xData:e,yData:i,cropped:u,cropStart:o,closestPointRange:f}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange},t.prototype.cropData=function(t,e,i,n,o){var r,s=t.length,a=0,l=s;for(o=j(o,this.cropShoulder),r=0;r<s;r++)if(t[r]>=i){a=Math.max(0,r-o);break}for(i=r;i<s;i++)if(t[i]>n){l=i+o;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}},t.prototype.generatePoints=function(){var t,e,i=this.options,n=i.data,o=this.data,r=this.processedXData,s=this.processedYData,a=this.pointClass,l=r.length,h=this.cropStart||0,c=this.hasGroupedData,d=i.keys,p=[];for(i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,o||c||((o=[]).length=n.length,o=this.data=o),d&&c&&(this.options.keys=!1),e=0;e<l;e++){var u=h+e;if(c){var f=(new a).init(this,[r[e]].concat(F(s[e])));f.dataGroup=this.groupMap[i+e],f.dataGroup.options&&(f.options=f.dataGroup.options,E(f,f.dataGroup.options),delete f.dataLabels)}else(f=o[u])||void 0===n[u]||(o[u]=f=(new a).init(this,n[u],r[e]));f&&(f.index=c?i+e:u,p[e]=f)}if(this.options.keys=d,o&&(l!==(t=o.length)||c))for(e=0;e<t;e++)e!==h||c||(e+=l),o[e]&&(o[e].destroyElements(),o[e].plotX=void 0);this.data=o,this.points=p,A(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:x(t),max:b(t)}},t.prototype.getExtremes=function(t,e){var i,n=this.xAxis,o=this.yAxis,r=this.processedXData||this.xData,s=[],a=0,l=0,h=0,c=this.requireSorting?this.cropShoulder:0,d=!!o&&o.positiveValuesOnly;for(o=(t=t||this.stackedYData||this.processedYData||[]).length,n&&(l=(h=n.getExtremes()).min,h=h.max),i=0;i<o;i++){var p=r[i],u=t[i],f=(O(u)||L(u))&&(u.length||0<u||!d);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(r[i+c]||p)>=l&&(r[i-c]||p)<=h,f&&p)if(f=u.length)for(;f--;)O(u[f])&&(s[a++]=u[f]);else s[a++]=u}return t={dataMin:x(s),dataMax:b(s)},A(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=null,i=t.length,n=0;null===e&&n<i;)e=t[n],n++;return e},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,n=i.stacking,o=this.xAxis,r=o.categories,s=this.enabledDataSorting,a=this.yAxis,l=this.points,h=l.length,c=!!this.modifyValue,d=this.pointPlacementToXValue(),p=!!d,u=i.threshold,f=i.startFromThreshold?u:0,g=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<h;t++){var v=l[t],y=v.x,b=v.y,x=v.low,w=n&&a.stacking&&a.stacking.stacks[(this.negStacks&&b<(f?0:u)?"-":"")+this.stackKey],S=void 0,T=void 0;if((a.positiveValuesOnly&&!a.validatePositiveValue(b)||o.positiveValuesOnly&&!o.validatePositiveValue(y))&&(v.isNull=!0),v.plotX=e=k(_(o.translate(y,0,0,0,1,d,"flags"===this.type),-1e5,1e5)),n&&this.visible&&w&&w[y]){var E=this.getStackIndicator(E,y,this.index);v.isNull||(T=(S=w[y]).points[E.key])}if(L(T)&&(x=T[0],b=T[1],x===f&&E.key===w[y].base&&(x=j(O(u)&&u,a.min)),a.positiveValuesOnly&&0>=x&&(x=null),v.total=v.stackTotal=S.total,v.percentage=S.total&&v.y/S.total*100,v.stackY=b,this.irregularWidths||S.setOffset(this.pointXOffset||0,this.barW||0)),v.yBottom=C(x)?_(a.translate(x,0,1,0,1),-1e5,1e5):null,c&&(b=this.modifyValue(b,v)),v.plotY=void 0,O(b)&&(void 0!==(b=a.translate(b,!1,!0,!1,!0))&&(v.plotY=_(b,-1e5,
251e5))),v.isInside=this.isPointInside(v),v.clientX=p?k(o.translate(y,0,0,0,1,d)):e,v.negative=v[g]<(i[g+"Threshold"]||u||0),v.category=r&&void 0!==r[v.x]?r[v.x]:v.x,!v.isNull&&!1!==v.visible){void 0!==M&&(m=Math.min(m,Math.abs(e-M)));var M=e}v.zone=this.zones.length&&v.getZone(),!v.graphic&&this.group&&s&&(v.isNew=!0)}this.closestPointRangePx=m,A(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,i){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&(!1!==t.visible&&(i||!t.isNull))}))},t.prototype.getClipBox=function(t,e){var i=this.options,n=this.chart,o=n.inverted,r=this.xAxis,s=r&&this.yAxis,a=n.options.chart.scrollablePlotArea||{};return t&&!1===i.clip&&s?t=o?{y:-n.chartWidth+s.len+s.pos,height:n.chartWidth,width:n.chartHeight,x:-n.chartHeight+r.len+r.pos}:{y:-s.pos,height:n.chartHeight,width:n.chartWidth,x:-r.pos}:(t=this.clipBox||n.clipBox,e&&(t.width=n.plotSizeX,t.x=(n.scrollablePixelsX||0)*(a.scrollPositionX||0))),e?{width:t.width,x:t.x}:t},t.prototype.getSharedClipKey=function(t){if(this.sharedClipKey)return this.sharedClipKey;var e=[t&&t.duration,t&&t.easing,t&&t.defer,this.getClipBox(t).height,this.options.xAxis,this.options.yAxis].join();return(!1!==this.options.clip||t)&&(this.sharedClipKey=e),e},t.prototype.setClip=function(t){var e=this.chart,i=this.options,n=e.renderer,o=e.inverted,r=this.clipBox,s=this.getClipBox(t),a=this.getSharedClipKey(t),l=e.sharedClips[a],h=e.sharedCl
25ips[a+"m"];t&&(s.width=0,o&&(s.x=e.plotHeight+(!1!==i.clip?0:e.plotTop))),l?e.hasLoaded||l.attr(s):(t&&(e.sharedClips[a+"m"]=h=n.clipRect(o?(e.plotSizeX||0)+99:-99,o?-e.plotLeft:-e.plotTop,99,o?e.chartWidth:e.chartHeight)),e.sharedClips[a]=l=n.clipRect(s),l.count={length:0}),t&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),(!1!==i.clip||t)&&(this.group.clip(t||r?l:e.clipRect),this.markerGroup.clip(h)),t||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&(r||(e.sharedClips[a]=l.destroy()),h&&(e.sharedClips[a+"m"]=h.destroy())))},t.prototype.animate=function(t){var e=this.chart,i=c(this.options.animation),n=this.sharedClipKey;if(t)this.setClip(i);else if(n){t=e.sharedClips[n],n=e.sharedClips[n+"m"];var o=this.getClipBox(i,!0);t&&t.animate(o,i),n&&n.animate({width:o.width+99,x:o.x-(e.inverted?0:99)},i)}},t.prototype.afterAnimate=function(){this.setClip(),A(this,"afterAnimate"),this.finishedAnimating=!0},t.prototype.drawPoints=function(){var t,e,i=this.points,n=this.chart,o=this.options.marker,r=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=j(o.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(t=0;t<i.length;t++){var l=i[t],h=(e=l.graphic)?"animate":"attr",c=l.marker||{},d=!!l.marker;if((a&&void 0===c.enabled||c.enabled)&&!l.isNull&&!1!==l.visible){var p=j(c.symbol,this.symbol,"rect"),u=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=s.reversed?-(u.width||0):s.width);var f=!1!==l.isInside;e?e[f?"show":"hide"](f).animate(u):f&&(0<(u.width||0)||l.hasImage)&&(l.graphic=e=n.renderer.symbol(p,u.x,u.y,u.width,u.height,d?c:o).add(r),this.enabledDataSorting&&n.hasRendered&&(e.attr({x:l.startXPos}),h="animate")),e&&"animate"===h&&e[f?"show":"hide"](f).animate(u),e&&!n.styledMode&&e[h](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var i=this.options,n=i.marker,o=t.marker||{},r=o.symbol||n.symbol,s=j(o.radius,n.radius);return e&&(n=n.states[e],e=o.states&&o.states[e],s=j(e&&e.radius,n&&n.radius,s+(n&&n.radiusPlus||0))),t.hasImage=r&&0===r.indexOf("url"),t.hasImage&&(s=0),t={x:i.crisp?Math.floor(t.plotX-s):t.plotX-s,y:t.plotY-s},s&&(t.width=t.height=2*s),t},t.prototype.pointAttribs=function(t,e){var i=this.options.marker,n=t&&t.options,o=n&&n.marker||{},r=this.color,s=n&&n.color,a=t&&t.color;n=j(o.lineWidth,i.lineWidth);var l=t&&t.zone&&t.zone.color;return t=1,r=s||l||a||r,s=o.fillColor||i.fillColor||r,r=o.lineColor||i.lineColor||r,e=e||"normal",i=i.states[e],e=o.states&&o.states[e]||{},n=j(e.lineWidth,i.lineWidth,n+j(e.lineWidthPlus,i.lineWidthPlus,0)),s=e.fillColor||i.fillColor||s,{stroke:r=e.lineColor||i.lineColor||r,"stroke-width":n,fill:s,opacity:t=j(e.opacity,i.opacity,t)}},t.prototype.destroy=function(t){var e,i,n,o=this,r=o.chart,s=/AppleWebKit\/533/.test(g.navigator.userAgent),a=o.data||[];for(A(o,"destroy"),this.removeEvents(t),(o.axisTypes||[]).forEach((function(t){(n=o[t])&&n.series&&(S(n.series,o),n.isDirty=n.forceRedraw=!0)})),o.legendItem&&o.chart.legend.destroyItem(o),e=a.length;e--;)(i=a[e])&&i.destroy&&i.destroy();o.clips&&o.clips.forEach((function(t){return t.destroy()})),h.clearTimeout(o.animationTimeout),N(o,(function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()})),r.hoverSeries===o&&(r.hoverSeries=void 0),S(r.series,o),r.orderSeries(),N(o,(function(e,i){t&&"hcEvents"===i||delete o[i]}))},t.prototype.applyZones=function(){var t,e,i,n,o,r,s,a,l=this,h=this.chart,c=h.renderer,d=this.zones,p=this.clips||[],u=this.graph,f=this.area,g=Math.max(h.chartWidth,h.chartHeight),m=this[(this.zoneAxis||"y")+"Axis"],v=h.inverted,y=!1;if(d.length&&(u||f)&&m&&void 0!==m.min){var b=m.reversed,x=m.horiz;u&&!this.showLine&&u.hide(),f&&f.hide();var w=m.getExtremes();d.forEach((function(d,k){t=b?x?h.plotWidth:0:x?0:m.toPixels(w.min)||0,t=_(j(e,t),0,g),e=_(Math.round(m.toPixels(j(d.value,w.max),!0)||0),0,g),y&&(t=e=m.toPixels(w.max)),n=Math.abs(t-e),o=Math.min(t,e),r=Math.max(t,e),m.isXAxis?(i={x:v?r:o,y:0,width:n,height:g},x||(i.x=h.plotHeight-i.x)):(i={x:0,y:v?r:o,width:g,height:n},x&&(i.y=h.plotWidth-i.y)),v&&c.isVML&&(i=m.isXAxis?{x:0,y:b?o:r,height:i.width,width:h.chartWidth}:{x:i.y-h.plotLeft-h.spacingBox.x,y:0,width:i.height,height:h.chartHe
25ight}),p[k]?p[k].animate(i):p[k]=c.clipRect(i),s=l["zone-area-"+k],a=l["zone-graph-"+k],u&&a&&a.clip(p[k]),f&&s&&s.clip(p[k]),y=d.value>w.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=p}else l.visible&&(u&&u.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){i[e]&&(n.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))}))}var i=this,n=i.chart;i.xAxis&&(i.eventsToUnbind.push(y(n,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,n,o){var r=this[t],s=!r;return i={visibility:i,zIndex:n||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=r=this.chart.renderer.g().add(o)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[s?"attr":"animate"](this.getPlotBox()),r},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,i=t.options,n=c(i.animation),o=!t.finishedAnimating&&e.renderer.isSVG&&n.duration,r=t.visible?"inherit":"hidden",s=i.zIndex,a=t.hasRendered,l=e.seriesGroup,h=e.inverted;A(this,"render");var d=t.plotGroup("group","series",r,s,l);t.markerGroup=t.plotGroup("markerGroup","markers",r,s,l),o&&t.animate&&t.animate(!0),d.inverted=!!j(t.invertible,t.isCartesian)&&h,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(h),!1===i.clip||t.sharedClipKey||a||d.clip(e.clipRect),o&&t.animate&&t.animate(),a||(o&&n.defer&&(o+=n.defer),t.animationTimeout=G((function(){t.afterAnimate()}),o||0)),t.isDirty=!1,t.hasRendered=!0,A(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,n=this.xAxis,o=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:j(n&&n.left,t.plotLeft),translateY:j(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,n=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:o?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,i=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,G((function(){e.kdTree=function t(i,n,o){var r;if(r=i&&i.length){var s=e.kdAxisArray[n%o];return i.sort((function(t,e){return t[s]-e[s]})),{point:i[r=Math.floor(r/2)],left:t(i.slice(0,r),n+1,o),right:t(i.slice(r+1),n+1,o)}}}(e.getValidPoints(null,!e.directTouch),i,i),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,i){var n=this,o=this.kdAxisArray[0],r=this.kdAxisArray[1],s=e?"distX":"dist";if(e=-1<n.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,a,l){var h=i.point,c=n.kdAxisArray[a%l],d=h,p=C(e[o])&&C(h[o])?Math.pow(e[o]-h[o],2):null,u=C(e[r])&&C(h[r])?Math.pow(e[r]-h[r],2):null;return u=(p||0)+(u||0),h.dist=C(u)?Math.sqrt(u):Number.MAX_VALUE,h.distX=C(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(c=e[c]-h[c])?"right":"left",i[u=0>c?"left":"right"]&&(d=(u=t(e,i[u],a+1,l))[s]<d[s]?u:h),i[p]&&Math.sqrt(c*c)<d[s]&&(d=(e=t(e,i[p],a+1,l))[s]<d[s]?e:d),d}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,i=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=i.reversed?-.5:.5),O(t)?t*(e||i.pointRange):0},t.prototype.isPointInside=function(t){return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=this.yAxis.len&&0<=t.plotX&&t.plotX<=this.xAxis.len},t.prototype.drawTracker=function(){var t=this,e=t.options,i=e.trackByArea,n=[].concat(i?t.areaPath:t.graphPath),o=t.chart,r=o.pointer,s=o.renderer,a=o.options.tooltip.snap,l=t.tracker,h=function(e){o.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(f?1e-4:.002)+")";l?l.attr({d:n}):t.graph&&(t.tracker=s.path(n).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),o.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:i?c:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}
25),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",h).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),e.cursor&&!o.styledMode&&t.css({cursor:e.cursor}),u)&&t.on("touchstart",h)}))),A(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,i,n,o){var r=this.options,s=this.data,a=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var h,c=r.data,d=this.xData;e=j(e,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);var u=p.x,f=d.length;if(this.requireSorting&&u<d[f-1])for(h=!0;f&&d[f-1]>u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),c.splice(f,0,t),h&&(this.data.splice(f,0,null),this.processData()),"point"===r.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==o&&A(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(n)},t.prototype.removePoint=function(t,e,i){var n=this,o=n.data,r=o[t],s=n.points,a=n.chart,l=function(){s&&s.length===o.length&&s.splice(t,1),o.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(r||{series:n},"splice",t,1),r&&r.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&a.redraw()};d(i,a),e=j(e,!0),r?r.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,i,n){function o(){r.destroy(n),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),j(t,!0)&&s.redraw(e)}var r=this,s=r.chart;!1!==i?A(r,"remove",null,o):o()},t.prototype.update=function(t,e){t=w(t,this.userOptions),A(this,"update",{options:t});var i,n=this,o=n.chart,r=n.userOptions,s=n.initialType||n.type,a=o.options.plotOptions,l=t.type||r.type||o.options.chart.type,h=!(this.hasDerivedData||l&&l!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys")),c=v[s].prototype,d=["eventOptions","navigatorSeries","baseSeries"],p=n.finishedAnimating&&{animation:!1},u={};if(l=l||s,h&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),n.parallelArrays.forEach((function(t){d.push(t+"Data")})),t.data&&(t.dataSorting&&E(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=I(r,p,{index:void 0===r.index?n.index:r.index,pointStart:j(a&&a.series&&a.series.pointStart,r.pointStart,n.xData[0])},!h&&{data:n.options.data},t),h&&t.data&&(t.data=n.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(t){d[t]=n[t],delete n[t]})),r=!1,v[l]){if(r=l!==n.type,n.remove(!1,!1,!1,!0),r)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[l].prototype);else{for(i in a=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,c)n[i]=void 0;E(n,v[l].prototype),a?n.hcEvents=a:delete n.hcEvents}}else T(17,!0,o,{missingModuleFor:l});if(d.forEach((function(t){n[t]=d[t]})),n.init(o,t),h&&this.points){var f=n.options;!1===f.visible?(u.graphic=1,u.dataLabel=1):n._hasPointLabels||(t=f.marker,l=f.dataLabels,t&&(!1===t.enabled||"symbol"in t)&&(u.graphic=1),l&&!1===l.enabled&&(u.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(u).length&&t.destroyElements(u),!1===f.showInLegend&&t.legendItem&&o.legend.destroyItem(t))}),this)}n.initialType=s,o.linkSeries(),r&&n.linkedSeries.length&&(n.isDirtyData=!0),A(this,"afterUpdate"),j(e,!0)&&o.redraw(!!h&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==j(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&A(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&A(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEac
25h((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var i=this,n=i.options,o=i.graph,r=n.inactiveOtherPoints,s=n.states,a=n.lineWidth,l=n.opacity,h=j(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation);if(n=0,t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(a=s[t].lineWidth||a+(s[t].lineWidthPlus||0),l=j(s[t].opacity,l)),o&&!o.dashstyle)for(s={"stroke-width":a},o.animate(s,h);i["zone-graph-"+n];)i["zone-graph-"+n].animate(s,h),n+=1;r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:l},h)}))}e&&r&&i.points&&i.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var i=this,n=i.chart,o=i.legendItem,r=n.options.chart.ignoreHiddenSeries,s=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][a]()})),n.hoverSeries!==i&&(n.hoverPoint&&n.hoverPoint.series)!==i||i.onMouseOut(),o&&n.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),r&&(n.isDirtyBox=!0),A(i,a),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),A(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},t.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:r.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:r.neutralColor20,lineColor:r.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},t}(),E(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:n.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:s,requireSorting:!0,sorted:!0}),a.series=t,t})),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=t.stop,a=r.addEvent,l=r.createElement,h=r.merge,c=r.pick;a(i,"afterSetChartSize",(function(t){var i=this.options.chart.scrollablePlotArea,n=i&&i.minWidth;if(i=i&&i.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var o={1:{name:"right",value:n}}}}else i&&(this.scrollablePixelsY=n=Math.max(0,i-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,o={2:{name:"bottom",value:n}});
25o&&!t.skipAxes&&this.axes.forEach((function(t){o[t.side]?t.getPlotLinePath=function(){var i=o[t.side].name,n=this[i];this[i]=n-o[t.side].value;var r=e.prototype.getPlotLinePath.apply(this,arguments);return this[i]=n,r}:(t.setAxisSize(),t.setAxisTranslation())}))}})),a(i,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),i.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),a(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,n=o.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),s(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,i=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var r=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),h=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",r,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",r,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",i,h],["L",
25i,this.chartHeight],["L",n,this.chartHeight],["L",n,h],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),a(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.getDeferredAnimation,n=e.addEvent,o=e.destroyObjectProperties,r=e.fireEvent,s=e.isNumber,a=e.objectEach,l=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,n=e.options.reversedStacks,o=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=o;t--;){var s=i[n?t:o-t-1];s.setStackedPoints(),s.setGroupedPoints()}for(t=0;t<o;t++)i[t].modifyStacks();r(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;a(t,(function(t){a(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=this.stacks;this.axis.isXAxis||a(e,(function(e){a(e,(function(i,n){s(i.touched)&&i.touched<t.stacksTouched?(i.destroy(),delete e[n]):(i.total=null,i.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,n=e.renderer,o=this.stacks;t=i(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var r=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();r.translate(e.plotLeft,e.plotTop),a(o,(function(t){a(t,(function(t){t.render(r)}))})),r.animate({opacity:1},t)},t}();return function(){function t(){}return t.compose=function(e){n(e,"init",t.onInit),n(e,"destroy",t.onDestroy)},t.onDestroy=function(){var t=this.stacking;if(t){var e=t.stacks;a(e,(function(t,i){o(t),e[i]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}},t.onInit=function(){this.stacking||(this.stacking=new l(this))},t}()})),e(i,"Extensions/Stacking.js",[i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Axis/StackingAxis.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s){var a=i.format,l=s.correctFloat,h=s.defined,c=s.destroyObjectProperties,d=s.isArray,p=s.isNumber,u=s.objectEach,f=s.pick,g=function(){function t(t,e,i,n,o){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=n,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=o,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(r?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?i?"right":"left":"center")}return t.prototype.destroy=function(){c(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,n=i.format;n=n?a(n,this,e):i.formatter.call(this),this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),n={r:i.borderRadius||0,text:n,rotation:i.rotation,padding:f(i.padding,5),visibility:"hidden"},e.styledMode||(n.fill=i.backgroundColor,n.stroke=i.borderColor,n["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(n),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,i,n,r){var s=this.axis,a=s.chart;n=s.translate(s.stacking.usePercentage?100:n||this.total,0,0,0,1),i=s.translate(i||0),i=h(n)&&Math.abs(n-i),t=f(r,a.xAxis[0].translate(this.x))+t,s=h(n)&&this.getStackBox(a,this,t,n,e,i,s),e=this.label,i=this.isNegative,t="justify"===f(this.options.overflow,"justify");var l=this.textAlign;e&&s&&(r=e.getBBox(),n=e.padding,l="left"===l?a.inverted?-n:n:"right"===l?r.width:a.inverted&&"center"===l?r.width/2:a.inverted?i?r.width+n:-n:r.width/2,i=a.inverted?r.height/2:i?-n:r.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),s.x-=l,s.y-=i,e.align(this.alignOptions,null,s),a.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&o.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,r,s),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),f(!t&&this.options.crop,!0)&&((a=p(e.x)&&p(e.y)&&a.isInsidePlot(e.x-n+e.width,e.y)&&a.isInsidePlot(e.x+n,e.y))||e.hide()))}
25,t.prototype.getStackBox=function(t,e,i,n,o,r,s){var a=e.axis.reversed,l=t.inverted,h=s.height+s.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:l?e?n-s.right:n-r+s.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:l?s.height-i-o:e?h-n-r:h-n,width:l?r:o,height:l?o:r}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(i){var n=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,f(i.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())}))},r.compose(t),o.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?o.prototype.setStackedPoints.call(this,"group"):t&&u(t.stacks,(function(e,i){"group"===i.slice(-5)&&(u(e,(function(t){return t.destroy()})),delete t.stacks[i])}))},o.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var i=this.processedXData,n=this.processedYData,o=[],r=n.length,s=this.options,a=s.threshold,c=f(s.startFromThreshold&&a,0);s=s.stack;var p,u,m="-"+(t=t?this.type+","+e:this.stackKey),v=this.negStacks,y=this.yAxis,b=y.stacking.stacks,x=y.stacking.oldStacks;for(y.stacking.stacksTouched+=1,u=0;u<r;u++){var _=i[u],w=n[u],k=this.getStackIndicator(k,_,this.index),C=k.key,S=(p=v&&w<(c?0:a))?m:t;b[S]||(b[S]={}),b[S][_]||(x[S]&&x[S][_]?(b[S][_]=x[S][_],b[S][_].total=null):b[S][_]=new g(y,y.options.stackLabels,p,_,s)),S=b[S][_],null!==w?(S.points[C]=S.points[this.index]=[f(S.cumulative,c)],h(S.cumulative)||(S.base=C),S.touched=y.stacking.stacksTouched,0<k.index&&!1===this.singleStacks&&(S.points[C][0]=S.points[this.index+","+_+",0"][0])):S.points[C]=S.points[this.index]=null,"percent"===e?(p=p?t:m,v&&b[p]&&b[p][_]?(p=b[p][_],S.total=p.total=Math.max(p.total,S.total)+Math.abs(w)||0):S.total=l(S.total+(Math.abs(w)||0))):"group"===e?(d(w)&&(w=w[0]),null!==w&&(S.total=(S.total||0)+1)):S.total=l(S.total+(w||0)),S.cumulative="group"===e?(S.total||1)-1:f(S.cumulative,c)+(w||0),null!==w&&(S.points[C].push(S.cumulative),o[u]=S.cumulative,S.hasValidPoints=!0)}"percent"===e&&(y.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=o),y.stacking.oldStacks={}}},o.prototype.modifyStacks=function(){var t,e=this,i=e.stackKey,n=e.yAxis.stacking.stacks,o=e.processedXData,r=e.options.stacking;e[r+"Stacker"]&&[i,"-"+i].forEach((function(i){for(var s,a,l=o.length;l--;)s=o[l],t=e.getStackIndicator(t,s,e.index,i),(a=(s=n[i]&&n[i][s])&&s.points[t.key])&&e[r+"Stacker"](a,s,l)}))},o.prototype.percentStacker=function(t,e,i){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[i]=t[1]},o.prototype.getStackIndicator=function(t,e,i,n){return!h(t)||t.x!==e||n&&t.key!==n?t={x:e,index:0,key:n}:t.index++,t.key=[i,e,t.index].join(),t},n.StackItem=g,n.StackItem})),e(i,"Series/Line/LineSeries.js",[i["Core/Color/Palette.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=n.defined,s=n.merge;return n=function(i){function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(n,i),n.prototype.drawGraph=function(){var e=this,i=this.options,n=(this.gappedPath||this.getGraphPath).call(this),o=this.chart.styledMode,r=[["graph","highcharts-graph"]];o||r[0].push(i.lineColor||this.color||t.neutralColor20,i.dashStyle),(r=e.getZonesGraphs(r)).forEach((function(t,r){var s=t[0],a=e[s],l=a?"animate":"attr";a?(a.endX=e.preventGraphAnimation?null:n.xMap,a.animate({d:n})):n.length&&(e[s]=a=e.chart.renderer.path(n).addClass(t[1]).attr({zIndex:1}).add(e.group)),a&&!o&&(s={stroke:t[2],"stroke-width":i.lineWidth,fill:e.fillGraph&&e.color||"none"},t[3]?s.dashstyle=t[3]:"square"!==i.linecap&&(s["stroke-linecap"]=s["stroke-linejoin"]="round"),a[l](s).shadow(2>r&&i.shadow)),a&&(a.startX=n.xMap,a.isArea=n.isArea)}))}
25,n.prototype.getGraphPath=function(t,e,i){var n,o,s=this,a=s.options,l=a.step,h=[],c=[];return(n=(t=t||s.points).reversed)&&t.reverse(),(l={right:1,center:2}[l]||l&&3)&&n&&(l=4-l),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!i))).forEach((function(n,d){var p=n.plotX,u=n.plotY,f=t[d-1];(n.leftCliff||f&&f.rightCliff)&&!i&&(o=!0),n.isNull&&!r(e)&&0<d?o=!a.connectNulls:n.isNull&&!e?o=!0:(0===d||o?d=[["M",n.plotX,n.plotY]]:s.getPointSpline?d=[s.getPointSpline(t,n,d)]:l?(d=1===l?[["L",f.plotX,u]]:2===l?[["L",(f.plotX+p)/2,f.plotY],["L",(f.plotX+p)/2,u]]:[["L",p,f.plotY]]).push(["L",p,u]):d=[["L",p,u]],c.push(n.x),l&&(c.push(n.x),2===l&&c.push(n.x)),h.push.apply(h,d),o=!1)})),h.xMap=c,s.graphPath=h},n.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(e.className||"")],this.chart.styledMode||i.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(i)}),this),t},n.defaultOptions=s(e.defaultOptions,{}),n}(e),i.registerSeriesType("line",n),n})),e(i,"Series/Area/AreaSeries.js",[i["Core/Color/Color.js"],i["Mixins/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.parse,s=i.seriesTypes.line;t=n.extend;var a=n.merge,l=n.objectEach,h=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,i=this.areaPath,n=this.options,o=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach((function(t,i){o.push(["zone-area-"+i,"highcharts-area highcharts-zone-area-"+i+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])})),o.forEach((function(t){var o=t[0],s=e[o],a=s?"animate":"attr",l={};s?(s.endX=e.preventGraphAnimation?null:i.xMap,s.animate({d:i})):(l.zIndex=0,(s=e[o]=e.chart.renderer.path(i).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(l.fill=h(t[3],r(t[2]).setOpacity(h(n.fillOpacity,.75)).get())),s[a](l),s.startX=i.xMap,s.shiftUnit=n.step?2:1}))},e.prototype.getGraphPath=function(t){var e,i=s.prototype.getGraphPath,n=this.options,o=n.stacking,r=this.yAxis,a=[],l=[],c=this.index,d=r.stacking.stacks[this.stackKey],p=n.threshold,u=Math.round(r.getThreshold(n.threshold));n=h(n.connectNulls,"percent"===o);var f=function(e,i,n){var s=t[e];e=o&&d[s.x].points[c];var h=s[n+"Null"]||0;if(n=s[n+"Cliff"]||0,s=!0,n||h){var f=(h?e[0]:e[1])+n,g=e[0]+n;s=!!h}else!o&&t[i]&&t[i].isNull&&(f=g=p);void 0!==f&&(l.push({plotX:m,plotY:null===f?u:r.getThreshold(f),isNull:s,isCliff:!0}),a.push({plotX:m,plotY:null===g?u:r.getThreshold(g),doCurve:!1}))};for(t=t||this.points,o&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){o||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var g=t[e].isNull,m=h(t[e].rectPlotX,t[e].plotX),v=o?h(t[e].yBottom,u):u;g&&!n||(n||f(e,e-1,"left"),g&&!o&&n||(l.push(t[e]),a.push({x:e,plotX:m,plotY:v})),n||f(e,e+1,"right"))}return e=i.call(this,l,!0,!0),a.reversed=!0,(v=(g=i.call(this,a,!0,!0))[0])&&"M"===v[0]&&(g[0]=["L",v[1],v[2]]),(g=e.concat(g)).length&&g.push(["Z"]),i=i.call(this,l,!1,n),g.xMap=e.xMap,this.areaPath=g,i},e.prototype.getStackPoints=function(t){var e=this,i=[],n=[],o=this.xAxis,r=this.yAxis,s=r.stacking.stacks[this.stackKey],a={},c=r.series,d=c.length,p=r.options.reversedStacks?1:-1,u=c.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,a[t[f].x]=t[f];l(s,(function(t,e){null!==t.total&&n.push(e)})),n.sort((function(t,e){return t-e}));var g=c.map((function(t){return t.visible}));n.forEach((function(t,l){var f,m,v=0;
25if(a[t]&&!a[t].isNull)i.push(a[t]),[-1,1].forEach((function(i){var o=1===i?"rightNull":"leftNull",r=0,h=s[n[l+i]];if(h)for(var v=u;0<=v&&v<d;){var y=c[v].index;(f=h.points[y])||(y===e.index?a[t][o]=!0:g[v]&&(m=s[t].points[y])&&(r-=m[1]-m[0])),v+=p}a[t][1===i?"rightCliff":"leftCliff"]=r}));else{for(var y=u;0<=y&&y<d;){if(f=s[t].points[c[y].index]){v=f[1];break}y+=p}v=h(v,0),v=r.translate(v,0,1,0,1),i.push({isNull:!0,plotX:o.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return i},e.defaultOptions=a(s.defaultOptions,{threshold:0}),e}(s),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("area",n),n})),e(i,"Series/Spline/SplineSeries.js",[i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=t.seriesTypes.line,o=e.merge,r=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.getPointSpline=function(t,e,i){var n=e.plotX||0,o=e.plotY||0,s=t[i-1];if(i=t[i+1],s&&!s.isNull&&!1!==s.doCurve&&!e.isCliff&&i&&!i.isNull&&!1!==i.doCurve&&!e.isCliff){t=s.plotY||0;var a=i.plotX||0;i=i.plotY||0;var l=0,h=(1.5*n+(s.plotX||0))/2.5,c=(1.5*o+t)/2.5,d=(1.5*o+i)/2.5;(a=(1.5*n+a)/2.5)!==h&&(l=(d-c)*(a-n)/(a-h)+o-d),d+=l,(c+=l)>t&&c>o?d=2*o-(c=Math.max(t,o)):c<t&&c<o&&(d=2*o-(c=Math.min(t,o))),d>i&&d>o?c=2*o-(d=Math.max(i,o)):d<i&&d<o&&(c=2*o-(d=Math.min(i,o))),e.rightContX=a,e.rightContY=d}return e=["C",r(s.rightContX,s.plotX,0),r(s.rightContY,s.plotY,0),r(h,n,0),r(c,o,0),n,o],s.rightContX=s.rightContY=void 0,e},e.defaultOptions=o(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e})),e(i,"Series/AreaSpline/AreaSplineSeries.js",[i["Series/Area/AreaSeries.js"],i["Series/Spline/SplineSeries.js"],i["Mixins/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.prototype,a=o.extend,l=o.merge;return a((o=function(i){function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return r(n,i),n.defaultOptions=l(e.defaultOptions,t.defaultOptions),n}(e)).prototype,{getGraphPath:s.getGraphPath,getStackPoints:s.getStackPoints,drawGraph:s.drawGraph,drawLegendSymbol:i.drawRectangle}),n.registerSeriesType("areaspline",o),o})),e(i,"Series/Column/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Color/Palette.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a){var l=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),h=t.animObject,c=e.parse,d=i.hasTouch;t=i.noop;var p=a.clamp,u=a.css,f=a.defined,g=a.extend,m=a.fireEvent,v=a.isArray,y=a.isNumber,b=a.merge,x=a.pick,_=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return l(e,t),e.prototype.animate=function(t){var e=this,i=this.yAxis,n=e.options,o=this.chart.inverted,r={},s=o?"translateX":"translateY";if(t)r.scaleY=.001,t=p(i.toPixels(n.threshold),i.pos,i.pos+i.len),o?r.translateX=t-i.len:r.translateY=t,e.clipBox&&e.setClip(),e.group.attr(r);else{var a=Number(e.group.attr(s));e.group.animate({scaleY:1},g(h(e.options.animation),{step:function(t,n){e.group&&(r[s]=a+n.pos*(i.pos-a),e.group.attr(r))}}))}}
25,e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments);var n=this;(e=n.chart).hasRendered&&e.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,i=t.xAxis,n=t.yAxis,o=i.options.reversedStacks;o=i.reversed&&!o||!i.reversed&&o;var r,s={},a=0;!1===e.grouping?a=1:t.chart.series.forEach((function(e){var i=e.yAxis,o=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===i.len&&n.pos===i.pos){if(o.stacking&&"group"!==o.stacking){r=e.stackKey,void 0===s[r]&&(s[r]=a++);var l=s[r]}else!1!==o.grouping&&(l=a++);e.columnIndex=l}}));var l=Math.min(Math.abs(i.transA)*(i.ordinal&&i.ordinal.slope||e.pointRange||i.closestPointRange||i.tickInterval||1),i.len),h=l*e.groupPadding,c=(l-2*h)/(a||1);return e=Math.min(e.maxPointWidth||i.len,x(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(h+((t.columnIndex||0)+(o?1:0))*c-l/2)*(o?-1:1),paddedWidth:c,columnCount:a},t.columnMetrics},e.prototype.crispCol=function(t,e,i,n){var o=this.chart,r=this.borderWidth,s=-(r%2?.5:0);return r=r%2?.5:1,o.inverted&&o.renderer.isVML&&(r+=1),this.options.crisp&&(i=Math.round(t+i)+s,i-=t=Math.round(t)+s),n=Math.round(e+n)+r,s=.5>=Math.abs(e)&&.5<n,n-=e=Math.round(e)+r,s&&n&&(--e,n+=1),{x:t,y:e,width:i,height:n}},e.prototype.adjustForMissingColumns=function(t,e,i,n){var o=this,r=this.options.stacking;if(!i.isNull&&1<n.columnCount){var s=0,a=0;_(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"==typeof i.x&&(t=t[i.x.toString()])){var e=t.points[o.index],n=t.total;r?(e&&(s=a),t.hasValidPoints&&a++):v(e)&&(s=e[1],a=n||0)}})),t=(i.plotX||0)+((a-1)*n.paddedWidth+e)/2-e-s*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,i=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=x(i.borderWidth,n?0:1);var o=t.xAxis,s=t.yAxis,a=i.threshold,l=t.translatedThreshold=s.getThreshold(a),h=x(i.minPointLength,5),c=t.getColumnMetrics(),d=c.width,u=t.barW=Math.max(d,1+2*n),g=t.pointXOffset=c.offset,m=t.dataMin,v=t.dataMax;e.inverted&&(l-=.5),i.pointPadding&&(u=Math.ceil(u)),r.prototype.translate.apply(t),t.points.forEach((function(n){var r=x(n.yBottom,l),b=999+Math.abs(r),_=d,w=n.plotX||0;b=p(n.plotY,-b,s.len+b),w+=g;var k=u,C=Math.min(b,r),S=Math.max(b,r)-C;if(h&&Math.abs(S)<h){S=h;var T=!s.reversed&&!n.negative||s.reversed&&n.negative;y(a)&&y(v)&&n.y===a&&v<=a&&(s.min||0)<a&&(m!==v||(s.max||0)<=a)&&(T=!T),C=Math.abs(C-l)>h?r-h:l-(T?h:0)}f(n.options.pointWidth)&&(_=k=Math.ceil(n.options.pointWidth),w-=Math.round((_-d)/2)),i.centerInCategory&&(w=t.adjustForMissingColumns(w,_,n,c)),n.barX=w,n.pointWidth=_,n.tooltipPos=e.inverted?[p(s.len+s.pos-e.plotLeft-b,s.pos-e.plotLeft,s.len+s.pos-e.plotLeft),o.len+o.pos-e.plotTop-w-k/2,S]:[o.left-e.plotLeft+w+k/2,p(b+s.pos-e.plotTop,s.pos-e.plotTop,s.len+s.pos-e.plotTop),S],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[w,l,k,0]:[w,C,k,S])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,n=this.pointAttrToOptions||{},o=n.stroke||"borderColor",r=n["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[o]||i[o]||s,l=t&&t[r]||i[r]||this[r]||0;n=t&&t.options.dashStyle||i.dashStyle;var h=x(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var d=t.getZone();s=t.options.color||d&&(d.color||t.nonZonedColor)||this.color,d&&(a=d.borderColor||a,n=d.dashStyle||n,l=d.borderWidth||l)}return e&&t&&(e=(t=b(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,s=t.color||void 0!==e&&c(s).brighten(t.brightness).get()||s,a=t[o]||a,l=t[r]||l,n=t.dashStyle||n,h=x(t.opacity,h)),o={fill:s,stroke:a,"stroke-width":l,opacity:h},n&&(o.dashstyle=n),o},e.prototype.drawPoints=function(){var t,e=this,i=this.chart,n=e.options,o=i.renderer,r=n.animationLimit||250;e.points.forEach((function(s){var a=s.graphic,l=!!a,h=a&&i.pointCount<r?"animate":"attr";y(s.plotY)&&null!==s.y?(t=s.shapeArgs,a&&s.hasNewShapeType()&&(a=a.destroy()),e.enabledDataSorting&&(s.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),a||(s.graphic=a=o[s.shapeType](t).add(s.group||e.group))&&e.enabledDataSorting&&i.hasRendered&&i.pointCount<r&&(
25a.attr({x:s.startXPos}),l=!0,h="animate"),a&&l&&a[h](b(t)),n.borderRadius&&a[h]({r:n.borderRadius}),i.styledMode||a[h](e.pointAttribs(s,s.selected&&"select")).shadow(!1!==s.allowShadow&&n.shadow,null,n.stacking&&!n.borderRadius),a&&(a.addClass(s.getClassName(),!0),a.attr({visibility:s.visible?"inherit":"hidden"}))):a&&(s.graphic=a.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,i=e.chart,n=i.pointer,o=function(t){var e=n.getPointFromEvent(t);void 0!==e&&(n.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=v(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),d&&e[t].on("touchstart",o),!i.styledMode&&e.options.cursor&&e[t].css(u).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),r.prototype.remove.apply(t,arguments)},e.defaultOptions=b(r.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:o.neutralColor20,borderColor:o.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:o.backgroundColor}),e}(r),g(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:n.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("column",a),a})),e(i,"Series/Bar/BarSeries.js",[i["Series/Column/ColumnSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=i.extend,r=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(i,e),i.defaultOptions=r(t.defaultOptions,{}),i}(t),o(i.prototype,{inverted:!0}),e.registerSeriesType("bar",i),i})),e(i,"Series/Scatter/ScatterSeries.js",[i["Series/Column/ColumnSeries.js"],i["Series/Line/LineSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=n.addEvent,s=n.extend,a=n.merge;return s((n=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(i,t),i.prototype.applyJitter=function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(n,o){["x","y"].forEach((function(r,s){var a="plot"+r.toUpperCase();if(e[r]&&!n.isNull){var l=t[r+"Axis"],h=e[r]*l.transA;if(l&&!l.isLog){var c=Math.max(0,n[a]-h);l=Math.min(l.len,n[a]+h),s=1e4*Math.sin(o+s*i),n[a]=c+(l-c)*(s-Math.floor(s)),"x"===r&&(n.clientX=n.plotX)}}}))}))},i.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},i.defaultOptions=a(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),i}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),r(n,"afterTranslate",(function(){this.applyJitter()})),i.registerSeriesType("scatter",n),n})),e(i,"Mixins/CenteredSeries.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e,
25i){var n=i.isNumber,o=i.pick,r=i.relativeLength,s=t.deg2rad;return t.CenteredSeriesMixin={getCenter:function(){var t=this.options,i=this.chart,n=2*(t.slicedOffset||0),s=i.plotWidth-2*n,a=i.plotHeight-2*n,l=t.center,h=Math.min(s,a),c=t.size,d=t.innerSize||0;for("string"==typeof c&&(c=parseFloat(c)),"string"==typeof d&&(d=parseFloat(d)),t=[o(l[0],"50%"),o(l[1],"50%"),o(c&&0>c?void 0:t.size,"100%"),o(d&&0>d?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),l=0;4>l;++l)c=t[l],i=2>l||2===l&&/%$/.test(c),t[l]=r(c,[s,a,h,t[2]][l])+(i?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},getStartAndEndRadians:function(t,e){return t=n(t)?t:0,e=n(e)&&e>t&&360>e-t?e:t+360,{start:s*(t+-90),end:s*(e+-90)}}}})),e(i,"Series/Pie/PiePoint.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.setAnimation,r=i.addEvent,s=i.defined;t=i.extend;var a=i.isNumber,l=i.pick,h=i.relativeLength;return i=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(i,t),i.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=e.connectorShape,n=this.connectorShapes;return n[i]&&(i=n[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},i.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},i.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},i.prototype.init=function(){e.prototype.init.apply(this,arguments);var t=this;t.name=l(t.name,"Slice");var i=function(e){t.slice("select"===e.type)};return r(t,"select",i),r(t,"unselect",i),t},i.prototype.isValid=function(){return a(this.y)&&0<=this.y},i.prototype.setVisible=function(t,e){var i=this,n=i.series,o=n.chart,r=n.options.ignoreHiddenPoint;e=l(e,r),t!==i.visible&&(i.visible=i.options.visible=t=void 0===t?!i.visible:t,n.options.data[n.data.indexOf(i)]=i.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](t)})),i.legendItem&&o.legend.colorizeItem(i,t),t||"hover"!==i.state||i.setState(""),r&&(n.isDirty=!0),e&&o.redraw())},i.prototype.slice=function(t,e,i){var n=this.series;o(i,n.chart),l(e,!0),this.sliced=this.options.sliced=s(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},i}(e),t(i.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var n=this.series,o=n.center[0],r=n.chart.plotWidth,s=n.chart.plotLeft;n=t.alignment;var a=this.shapeArgs.r;return i=h(i.crookDistance,1),i=["L",r="left"===n?o+a+(r+s-o-a)*(1-i):s+(o-a)*i,t.y],o=!0,("left"===n?r>t.x||r<e.x:r<t.x||r>e.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),i})),e(i,"Series/Pie/PieSeries.js",[i["Mixins/CenteredSeries.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Color/Palette.js"],i["Series/Pie/PiePoint.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l,h){var c=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),d=t.getStartAndEndRadians;
25i=i.noop;var p=h.clamp,u=h.extend,f=h.fireEvent,g=h.merge,m=h.pick,v=h.relativeLength;return u((h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,i=e.points,n=e.startAngleRad;t||i.forEach((function(t){var i=t.graphic,o=t.shapeArgs;i&&o&&(i.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),i.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var n=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.arc(n,r,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||o.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,i){var n=this.center,o=this.radii?this.radii[i.index]||0:n[2]/2;return t=Math.asin(p((t-n[1])/(o+i.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(o+i.labelDistance)+(0<i.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,i,n,o=this,r=o.chart,s=r.renderer,a=o.options.shadow;this.drawEmpty(),!a||o.shadowGroup||r.styledMode||(o.shadowGroup=s.g("shadow").attr({zIndex:-1}).add(o.group)),o.points.forEach((function(l){var h={};if(e=l.graphic,!l.isNull&&e){var c=void 0;n=l.shapeArgs,t=l.getTranslate(),r.styledMode||(c=l.shadowGroup,a&&!c&&(c=l.shadowGroup=s.g("shadow").add(o.shadowGroup)),c&&c.attr(t),i=o.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(o.center).attr(n).attr(t),r.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,c),l.delayedRendering=!1):(e.setRadialReference(o.center),r.styledMode||g(!0,h,i),g(!0,h,n,t),e.animate(h)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=0,i=this.options,n=i.slicedOffset,o=n+(i.borderWidth||0),r=d(i.startAngle,i.endAngle),s=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-s;var a=this.points,l=i.dataLabels.distance;i=i.ignoreHiddenPoint;var h,c=a.length;for(t||(this.center=t=this.getCenter()),h=0;h<c;h++){var p=a[h],u=s+e*r;!p.isValid()||i&&!p.visible||(e+=p.percentage/100);var g=s+e*r,y={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*u)/1e3,end:Math.round(1e3*g)/1e3};p.shapeType="arc",p.shapeArgs=y,p.labelDistance=m(p.options.dataLabels&&p.options.dataLabels.distance,l),p.labelDistance=v(p.labelDistance,y.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(g=(g+u)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(g)*n),translateY:Math.round(Math.sin(g)*n)},y=Math.cos(g)*t[2]/2;var b=Math.sin(g)*t[2]/2;p.tooltipPos=[t[0]+.7*y,t[1]+.7*b],p.half=g<-Math.PI/2||g>Math.PI/2?1:0,p.angle=g,u=Math.min(o,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+y+Math.cos(g)*p.labelDistance,y:t[1]+b+Math.sin(g)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+y+Math.cos(g)*u,y:t[1]+b+Math.sin(g)*u},touchingSliceAt:{x:t[0]+y,y:t[1]+b}}}}f(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=0,i=this.points,n=i.length,o=this.options.ignoreHiddenPoint;for(t=0;t<n;t++){var r=i[t];!r.isValid()||o&&!r.visible||(e+=r.y)}for(this.total=e,t=0;t<n;t++)(r=i[t]).percentage=0<e&&(r.visible||!o)?r.y/e*100:0,r.total=e}
25,e.defaultOptions=g(s.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:o.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(s)).prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:i,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:i,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",h),h})),e(i,"Core/Series/DataLabels.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s){var a=t.getDeferredAnimation,l=e.format;t=i.noop,r=r.seriesTypes;var h=s.arrayMax,c=s.clamp,d=s.defined,p=s.extend,u=s.fireEvent,f=s.isArray,g=s.merge,m=s.objectEach,v=s.pick,y=s.relativeLength,b=s.splat,x=s.stableSort;i.distribute=function(t,e,n){function o(t,e){return t.target-e.target}var r,s=!0,a=t,l=[],h=0,d=a.reducedLen||e;for(r=t.length;r--;)h+=t[r].size;if(h>d){for(x(t,(function(t,e){return(e.rank||0)-(t.rank||0)})),h=r=0;h<=d;)h+=t[r].size,r++;l=t.splice(r-1,t.length)}for(x(t,o),t=t.map((function(t){return{size:t.size,targets:[t.target],align:v(t.align,.5)}}));s;){for(r=t.length;r--;)s=t[r],h=(Math.min.apply(0,s.targets)+Math.max.apply(0,s.targets))/2,s.pos=c(h-s.size*s.align,0,e-s.size);for(r=t.length,s=!1;r--;)0<r&&t[r-1].pos+t[r-1].size>t[r].pos&&(t[r-1].size+=t[r].size,t[r-1].targets=t[r-1].targets.concat(t[r].targets),t[r-1].align=.5,t[r-1].pos+t[r-1].size>e&&(t[r-1].pos=e-t[r-1].size),t.splice(r,1),s=!0)}a.push.apply(a,l),r=0,t.some((function(t){var o=0;if(t.targets.some((function(){if(a[r].pos=t.pos+o,void 0!==n&&Math.abs(a[r].pos-a[r].target)>
25n)return a.slice(0,r+1).forEach((function(t){delete t.pos})),a.reducedLen=(a.reducedLen||e)-.1*e,a.reducedLen>.1*e&&i.distribute(a,e,n),!0;o+=a[r].size,r++})))return!0})),x(a,o)},o.prototype.drawDataLabels=function(){function t(t,e){var i,n=[];if(f(t)&&!f(e))n=t.map((function(t){return g(t,e)}));else if(f(e)&&!f(t))n=e.map((function(e){return g(t,e)}));else if(f(t)||f(e))for(i=Math.max(t.length,e.length);i--;)n[i]=g(t[i],e[i]);else n=g(t,e);return n}var e=this,i=e.chart,o=e.options,r=o.dataLabels,s=e.points,h=e.hasRendered||0,c=r.animation;c=r.defer?a(i,c,e):{defer:0,duration:0};var p=i.renderer;if(r=t(t(i.options.plotOptions&&i.options.plotOptions.series&&i.options.plotOptions.series.dataLabels,i.options.plotOptions&&i.options.plotOptions[e.type]&&i.options.plotOptions[e.type].dataLabels),r),u(this,"drawDataLabels"),f(r)||r.enabled||e._hasPointLabels){var y=e.plotGroup("dataLabelsGroup","data-labels",h?"inherit":"hidden",r.zIndex||6);y.attr({opacity:+h}),!h&&(h=e.dataLabelsGroup)&&(e.visible&&y.show(!0),h[o.animation?"animate":"attr"]({opacity:1},c)),s.forEach((function(s){b(t(r,s.dlOptions||s.options&&s.options.dataLabels)).forEach((function(t,r){var a=t.enabled&&(!s.isNull||s.dataLabelOnNull)&&function(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t<i||">="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}(s,t),h=s.dataLabels?s.dataLabels[r]:s.dataLabel,c=s.connectors?s.connectors[r]:s.connector,u=v(t.distance,s.labelDistance),f=!h;if(a){var g=s.getLabelConfig(),b=v(t[s.formatPrefix+"Format"],t.format);g=d(b)?l(b,g,i):(t[s.formatPrefix+"Formatter"]||t.formatter).call(g,t),b=t.style;var x=t.rotation;i.styledMode||(b.color=v(t.color,b.color,e.color,n.neutralColor100),"contrast"===b.color?(s.contrastColor=p.getContrast(s.color||e.color),b.color=!d(u)&&t.inside||0>u||o.stacking?s.contrastColor:n.neutralColor100):delete s.contrastColor,o.cursor&&(b.cursor=o.cursor));var _={r:t.borderRadius||0,rotation:x,padding:t.padding,zIndex:1};i.styledMode||(_.fill=t.backgroundColor,_.stroke=t.borderColor,_["stroke-width"]=t.borderWidth),m(_,(function(t,e){void 0===t&&delete _[e]}))}!h||a&&d(g)?a&&d(g)&&(h?_.text=g:(s.dataLabels=s.dataLabels||[],h=s.dataLabels[r]=x?p.text(g,0,-9999,t.useHTML).addClass("highcharts-data-label"):p.label(g,0,-9999,t.shape,null,null,t.useHTML,null,"data-label"),r||(s.dataLabel=h),h.addClass(" highcharts-data-label-color-"+s.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),h.options=t,h.attr(_),i.styledMode||h.css(b).shadow(t.shadow),h.added||h.add(y),t.textPath&&!t.useHTML&&(h.setTextPath(s.getDataLabelPath&&s.getDataLabelPath(h)||s.graphic,t.textPath),s.dataLabelPath&&!t.textPath.enabled&&(s.dataLabelPath=s.dataLabelPath.destroy())),e.alignDataLabel(s,h,t,null,f)):(s.dataLabel=s.dataLabel&&s.dataLabel.destroy(),s.dataLabels&&(1===s.dataLabels.length?delete s.dataLabels:delete s.dataLabels[r]),r||delete s.dataLabel,c&&(s.connector=s.connector.destroy(),s.connectors&&(1===s.connectors.length?delete s.connectors:delete s.connectors[r])))}))}))}u(this,"afterDrawDataLabels")},o.prototype.alignDataLabel=function(t,e,i,n,o){var r=this,s=this.chart,a=this.isCartesian&&s.inverted,l=this.enabledDataSorting,h=v(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),c=v(t.plotY,-9999),d=e.getBBox(),u=i.rotation,f=i.align,g=s.isInsidePlot(h,Math.round(c),{inverted:a,paneCoordinates:!0,series:r}),m="justify"===v(i.overflow,l?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||l&&!m||g||v(i.inside,!!this.options.stacking)&&n&&s.isInsidePlot(h,a?n.x+1:n.y+n.height-1,{inverted:a,paneCoordinates:!0,series:r})),b=function(i){l&&r.xAxis&&!m&&r.setDataLabelStartPos(t,e,o,g,i)};if(y){var x=s.renderer.fontMetrics(s.styledMode?void 0:i.style.fontSize,e).b;n=p({x:a?this.yAxis.len-c:h,y:Math.round(a?this.xAxis.len-h:c),width:0,height:0},n),p(i,{width:d.width,height:d.height}),u?(m=!1,h=s.renderer.rotCorr(x,u),b(h={x:n.x+(i.x||0)+n.width/2+h.x,y:n.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*n.height}),e[o?"attr":"animate"](h).attr({align:f}),b=180<(b=(u+720)%360)&&360>b,"left"===f?h.y-=b?d.height:0:"center"===f?(h.x-=d.width/2,h.y-=d.height/2):"right"===f&&(h.x-=d.width,h.y-=b?0:d.height),e.placed=!0,e.alignAttr=h):(b(n),e.align(i,void 0,n),h=e.alignAttr),m&&0<=n.height?this.justifyDataLabel(e,i,h,d,n,o):v(i.crop,!0)&&(y=s.isInsidePlot(h.x,h.y,{paneCoordinates:!0,series:r})&&s.isInsidePlot(h.x+d.width,h.y+d.height,{paneCoordinates:!0,series:r})),i.shape&&!u&&e[o?"attr":"animate"]({anchorX:a?s.plotWidth-t.plotY:t.plotX,anchorY:a?s.plotHeight-t.plotX:t.plotY})}o&&l&&(e.placed=!1),y||l&&!m||(e.hide(!0),e.placed=!1)}
25,o.prototype.setDataLabelStartPos=function(t,e,i,n,o){var r=this.chart,s=r.inverted,a=this.xAxis,l=a.reversed,h=s?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,a=s?o.x:l?-h-t:a.width-h+t,o=s?l?this.yAxis.height-h+t:-h-t:o.y,e.startXPos=a,e.startYPos=o,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)},o.prototype.justifyDataLabel=function(t,e,i,n,o,r){var s=this.chart,a=e.align,l=e.verticalAlign,h=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var d=e.y,p=void 0===d?0:d;if(0>(d=(i.x||0)+h)){"right"===a&&0<=c?(e.align="left",e.inside=!0):c-=d;var u=!0}return(d=(i.x||0)+n.width-h)>s.plotWidth&&("left"===a&&0>=c?(e.align="right",e.inside=!0):c+=s.plotWidth-d,u=!0),0>(d=i.y+h)&&("bottom"===l&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=d,u=!0),(d=(i.y||0)+n.height-h)>s.plotHeight&&("top"===l&&0>=p?(e.verticalAlign="bottom",e.inside=!0):p+=s.plotHeight-d,u=!0),u&&(e.x=c,e.y=p,t.placed=!r,t.align(e,void 0,o)),u},r.pie&&(r.pie.prototype.dataLabelPositioners={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,i,n){return t.getX(i<e.top+2||i>e.bottom-2?n:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,n){return t=t.getBBox().width,e?t+n:i-t-n},alignToConnectors:function(t,e,i,n){var o,r=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>r&&(r=o)})),e?r+n:i-r-n}},r.pie.prototype.drawDataLabels=function(){var t,e,r,s,a,l,c,p,u,f,m,y,b=this,x=b.data,_=b.chart,w=b.options.dataLabels||{},k=w.connectorPadding,C=_.plotWidth,S=_.plotHeight,T=_.plotLeft,E=Math.round(_.chartWidth/3),M=b.center,A=M[2]/2,D=M[1],L=[[],[]],O=[0,0,0,0],P=b.dataLabelPositioners;b.visible&&(w.enabled||b._hasPointLabels)&&(x.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),o.prototype.drawDataLabels.apply(b),x.forEach((function(t){t.dataLabel&&(t.visible?(L[t.half].push(t),t.dataLabel._pos=null,!d(w.style.width)&&!d(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>E&&(t.dataLabel.css({width:Math.round(.7*E)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),L.forEach((function(e,n){var o,r=e.length,h=[];if(r){if(b.sortByAngle(e,n-.5),0<b.maxLabelDistance){var g=Math.max(0,D-A-b.maxLabelDistance),x=Math.min(D+A+b.maxLabelDistance,_.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,D-A-t.labelDistance),t.bottom=Math.min(D+A+t.labelDistance,_.plotHeight),o=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+o/2,size:o,rank:t.y},h.push(t.distributeBox))})),g=x+o-g,i.distribute(h,g,g/5)}for(m=0;m<r;m++){if(t=e[m],l=t.labelPosition,s=t.dataLabel,f=!1===t.visible?"hidden":"inherit",u=g=l.natural.y,h&&d(t.distributeBox)&&(void 0===t.distributeBox.pos?f="hidden":(c=t.distributeBox.size,u=P.radialDistributionY(t))),delete t.positionIndex,w.justify)p=P.justify(t,A,M);else switch(w.alignTo){case"connectors":p=P.alignToConnectors(e,n,C,T);break;case"plotEdges":p=P.alignToPlotEdges(s,n,C,T);break;default:p=P.radialDistributionX(b,t,u,g)}s._attr={visibility:f,align:l.alignment},y=t.options.dataLabels||{},s._pos={x:p+v(y.x,w.x)+({left:k,right:-k}[l.alignment]||0),y:u+v(y.y,w.y)-10},l.final.x=p,l.final.y=u,v(w.crop,!0)&&(a=s.getBBox().width,g=null,p-a<k&&1===n?(g=Math.round(a-p+k),O[3]=Math.max(g,O[3])):p+a>C-k&&0===n&&(g=Math.round(p+a-C+k),O[1]=Math.max(g,O[1])),0>u-c/2?O[0]=Math.max(Math.round(c/2-u),O[0]):u+c/2>S&&(O[2]=Math.max(Math.round(u+c/2-S),O[2])),s.sideOverflow=g)}}})),0===h(O)||this.verifyDataLabelOverflow(O))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;(y=g(w,t.options.dataLabels),e=v(y.connectorWidth,1))&&(r=t.connector,(s=t.dataLabel)&&s._pos&&t.visible&&0<t.labelDistance?(f=s._attr.visibility,(i=!r)&&(t.connector=r=_.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(b.dataLabelsGroup),_.styledMode||r.attr({"stroke-width":e,stroke:y.connectorColor||t.color||n.neutralColor60})),r[i?"attr":"animate"]({d:t.getConnectorPath()}),r.attr("visibility",f)):r&&(t.connector=r.destroy()))})))}
25,r.pie.prototype.placeDataLabels=function(){this.points.forEach((function(t){var e,i=t.dataLabel;i&&t.visible&&((e=i._pos)?(i.sideOverflow&&(i._attr.width=Math.max(i.getBBox().width-i.sideOverflow,0),i.css({width:i._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),i.shortened=!0),i.attr(i._attr),i[i.moved?"animate":"attr"](e),i.moved=!0):i&&i.attr({y:-9999})),delete t.distributeBox}),this)},r.pie.prototype.alignDataLabel=t,r.pie.prototype.verifyDataLabelOverflow=function(t){var e=this.center,i=this.options,n=i.center,o=i.minSize||80,r=null!==i.size;if(!r){if(null!==n[0])var s=Math.max(e[2]-Math.max(t[1],t[3]),o);else s=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2;null!==n[1]?s=c(s,o,e[2]-Math.max(t[0],t[2])):(s=c(s,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),s<e[2]?(e[2]=s,e[3]=Math.min(y(i.innerSize||0,s),s),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):r=!0}return r}),r.column&&(r.column.prototype.alignDataLabel=function(t,e,i,n,r){var s=this.chart.inverted,a=t.series,l=t.dlBox||t.shapeArgs,h=v(t.below,t.plotY>v(this.translatedThreshold,a.yAxis.len)),c=v(i.inside,!!this.options.stacking);l&&(0>(n=g(l)).y&&(n.height+=n.y,n.y=0),0<(l=n.y+n.height-a.yAxis.len)&&l<n.height&&(n.height-=l),s&&(n={x:a.yAxis.len-n.y-n.height,y:a.xAxis.len-n.x-n.width,width:n.height,height:n.width}),c||(s?(n.x+=h?0:n.width,n.width=0):(n.y+=h?n.height:0,n.height=0))),i.align=v(i.align,!s||c?"center":h?"right":"left"),i.verticalAlign=v(i.verticalAlign,s||c?"middle":h?"top":"bottom"),o.prototype.alignDataLabel.call(this,t,e,i,n,r),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})})})),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e){var i=!1;if(t){var n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})})),o(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return i}var n=e.addEvent,o=e.fireEvent,r=e.isArray,s=e.isNumber,a=e.objectEach,l=e.pick;n(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&a(t.stacking.stacks,(function(t){a(t,(function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(n){var o=n.options.dataLabels;n.visible&&(!1!==o.enabled||n._hasPointLabels)&&((o=function(n){return n.forEach((function(n){n.visible&&(r(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach((function(o){var r=o.options;o.labelrank=l(r.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),r.allowOverlap?(o.oldOpacity=o.opacity,o.newOpacity=1,i(o,t)):e.push(o)}))}))})(n.nodes||[]),o(n.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,n,r,a=this,l=t.length,h=a.renderer,c=!1,d=function(t){var e,i,n=t.box?0:t.padding||0,o=e=0;if(t&&(!t.alignAttr||t.placed)){var r=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},a=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=h.fontMetrics(null,t.element).h);var l=t.width-2*n;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?o=+i*l:s(t.x)&&Math.round(t.x)!==t.translateX&&(o=t.x-t.translateX),{x:r.x+(a.translateX||0)+n-(o||0),y:r.y+(a.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;n<l;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=d(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),n=0;n<l;n++){var p=(d=t[n])&&d.absoluteBox;for(e=n+1;e<l;++e){var u=(r=t[e])&&r.absoluteBox;!p||!u||d===r||0===d.newOpacity||0===r.newOpacity||u.x>=p.x+p.width||u.x+u.width<=p.x||u.y>=p.y+p.height||u.y+u.height<=p.y||((d.labelrank<r.labelrank?d:r).newOpacity=0)}}t.forEach((function(t){i(t,a)&&(c=!0)})),c&&o(a,"afterHideAllOverlappingLabels")}})),e(i,"Core/Responsive.js",[i["Core/Utilities.js"]],(function(t){var e=t.extend,i=t.find,n=t.isArray,o=t.isObject,r=t.merge,s=t.objectEach,a=t.pick,l=t.splat,h=t.uniqueKey,c=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,i={};return function t(i,r,a,h){var c;s(i,(function(i,s){if(!h&&-1<e.collectionsWithUpdate.indexOf(s)&&r[s])for(i=l(i),a[s]=[],c=0;c<Math.max(i.length,r[s].length);c++)r[s][c]&&(void 0===i[c]?a[s][c]=r[s][c]:(a[s][c]={},t(i[c],r[s][c],a[s][c],h+1)));else o(i)?(a[s]=n(i)?[]:{},t(i,r[s]||{},a[s],h+1)):a[s]=void 0===r[s]?null:r[s]}))}(t,this.options,i,0),i},t.prototype.matchResponsiveRule=function(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=a(i.maxWidth,Number.MAX_VALUE)&&this.chartHe
25ight<=a(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=a(i.minWidth,0)&&this.chartHeight>=a(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this.options.responsive,o=this.currentResponsive,s=[];!e&&n&&n.rules&&n.rules.forEach((function(t){void 0===t._id&&(t._id=h()),this.matchResponsiveRule(t,s)}),this),(e=r.apply(void 0,s.map((function(t){return i((n||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}();return t=function(){function t(){}return t.compose=function(t){return e(t.prototype,c.prototype),t},t}()})),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/DefaultOptions.js"],i["Core/Animation/Fx.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/FormatUtilities.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Renderer/HTML/HTMLElement.js"],i["Core/Renderer/HTML/HTMLRenderer.js"],i["Core/Axis/Axis.js"],i["Core/Axis/PlotLineOrBand.js"],i["Core/Axis/Tick.js"],i["Core/Pointer.js"],i["Core/MSPointer.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Responsive.js"],i["Core/Color/Color.js"],i["Core/Time.js"]],(function(t,e,i,n,o,r,s,a,l,h,c,d,p,u,f,g,m,v,y,b,x){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=n.timers,t.AST=r,t.Axis=d,t.Chart=m,t.chart=m.chart,t.Fx=n,t.PlotLineOrBand=p,t.Pointer=g.isRequired()?g:f,t.Series=v,t.SVGElement=a,t.SVGRenderer=l,t.Tick=u,t.Time=x,t.Color=b,t.color=b.parse,c.compose(l),h.compose(a),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=s.dateFormat,t.format=s.format,t.numberFormat=s.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,y.compose(m),t})),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]}))},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i(2),o=i.n(n);i(1);class r{constructor(t,e,i){this.id=t,this.chart=null,this.chartOptions={chart:{type:"column",zoomType:"y",renderTo:t},title:{useHTML:!0,text:e},subtitle:{text:i||"",x:-20},xAxis:{title:{text:""}},yAxis:{lineWidth:1,min:0,title:{text:""}},plotOptions:{series:{dataLabels:{enabled:!1}}},tooltip:{useHTML:!0,formatter:function(){let t=this.point.y;return this.series.name+" "+t.toFixed(1)}},legend:{enabled:!0},series:[],credits:{enabled:!1}}}update(t){this.chartOptions.series=[{name:"Example",data:[1,3,2,4]}],this.updateChartData()}updateChartData(){try{if(this.chart){let t=this.chart.series;for(let e=0;e<t.length;e++){let i=[];for(let t=0;t<this.chartOptions.series[e].data.length;t++)i.push(this.chartOptions.series[e].data[t]);t[e].setData(i,!1,!0,!0)}}else this.chart=new o.a.Chart(this.chartOptions);this.chart.redraw()}catch(t){console.error(t)}}}}
25,function(t,e,i){"use strict";(function(t){var n=i(1),o=i(5),r=i(17),s=i(11),a=i(18),l=i(13),h=i(7),c=i(12),d=i(8),p=i(9),u=i(10);let f=null,g=null,m=null,v=null,y=null,b=null,x=null,_=null,w=null,k=null,C=!1,S=null,T=null,E=null,M=null,A=null,D=!1;function L(e){var i;D?(g.updateChart(e["Day-0 Total Effort"]),m.updateChart(e["Day-1 Total Effort"]),v.updateChart(e["Day-2 Total Effort"]),M.updateChart(e["PMO Relative Savings SR Linux"]),A.updateChart(e["PMO Relative Savings SR Linux +Fabric Services System"]),w.updateChart(e["Job Savings"][0]),k.updateChart(e["Job Savings"][1]),function(e,i){let n=i[0][0]+i[0][1]+i[0][2],o=i[1][0]+i[1][1]+i[1][2],r=`\n        <li> The BCA assigns job role requirements for the different operational job functions and associated tasks within each phase of the operations life cycle.</li>\n        <li> FMO 1 provides cumulative effort savings over 4 years of up to <b>${(100*n).toFixed(0)}%</b>. When mapped to job roles, <b>${(100*i[0][0]).toFixed(1)}%</b> savings are realized for Level 1 operations job roles, <b>${(100*i[0][1]).toFixed(1)}%</b> for Level 2 \n        operations job roles and <b>${(100*i[0][2]).toFixed(1)}%</b> for Engineer/Architect job roles.</li>\n        <li>FMO 2 provides cumulative effort savings over 4 years of up to <b>${(100*o).toFixed(0)}%</b>. When mapped to job roles, <b>${(100*i[1][0]).toFixed(1)}%</b> savings are realized for Level 1 operations job roles, <b>${(100*i[1][1]).toFixed(1)}%</b> for Level 2 \n        operations job roles and <b>${(100*i[1][2]).toFixed(1)}%</b> for Engineer/Architect job \n        roles.</li>\n    `;t("#"+e).html(r)}("txt-job-breakdown",e["Job Savings"]),S.updateChart(e["Day-0 Effort Detail"]),T.updateChart(e["Day-1 Effort Detail"]),E.updateChart(e["Day-2 Effort Detail"]),R("day-0-effort-table",e["Day-0 Effort Detail"]),R("day-1-effort-table",e["Day-1 Effort Detail"]),R("day-2-effort-table",e["Day-2 Effort Detail"]),function(e,i){function n(t){return"<b>"+Number(+t.toFixed(0)).toLocaleString()+"</b>"}let o=[];for(let t=1;t<i.length;t++){let e=0;for(let n=0;n<i[0].length;n++)e+=i[t][n];o.push(e)}let r=`\n    <li>\n        The Configuration job function and associated tasks in the Day 1 phase require maximum effort compared to other job functions in the Day 1 phase.\n    </li>\n    <li>\n        The configuration job function include ZTP infrastructure management, node configurations and other related tasks\n    </li>\n    <li>\n        The effort for Day 1 configuration job functions and tasks for the PMO is ${n(o[0])} hours. \n        In comparison the effort for the FMO 1 is ${n(o[1])} hours (<b>${(100*(o[0]-o[1])/o[0]).toFixed(0)}</b>% effort savings compared to the \n        PMO) and the effort for the FMO 2 is ${n(o[2])} hours (<b>${(100*(o[0]-o[2])/o[0]).toFixed(0)}</b>% effort savings compared to the PMO)\n    </li>\n    `;t("#"+e).html(r)}("txt-day-1-effort",e["Day-1 Effort Detail"]),function(e,i){function n(t){return"<b>"+Number(+t.toFixed(0)).toLocaleString()+"</b>"}let o=[i[1][1],i[2][1],i[3][1]],r=`\n    <li>\n        The change management job function and associated tasks in the Day 2+ phase require maximum effort compared to other job functions in the Day 2+ phase.\n    </li>\n    <li>\n        The change management job function includes infrastructure/service change validation, impact analysis and change provisioning (add/move/delete) tasks\n    </li>\n    <li>\n    The effort for change management job functions and tasks for Day 2+ in the PMO scenario is ${n(o[0])} hours. \n        In comparison the effort for the FMO 1 is ${n(o[1])} hours (<b>${(100*(o[0]-o[1])/o[0]).toFixed(0)}</b>% effort savings compared to the \n        PMO) and the effort for the FMO 2 is ${n(o[2])} hours (<b>${(100*(o[0]-o[2])/o[0]).toFixed(0)}</b>% effort savings compared to the PMO)\n    </li>\n    `;t("#"+e).html(r)}("txt-day-2-effort",e["Day-2 Effort Detail"]),P("txt-effort-savings-fmo1",e["SR Linux Summary"],"1","SR Linux"),P("txt-effort-savings-fmo2",e["SR Linux +Fabric Services System Summary"],"2","EDA"),I("tbl-day-0-SR-Linux-summary","Day 0",e["SR Linux Summary"],"SR Linux"),I("tbl-day-0-SR-Linux-plus-summary","Day 0",e["SR Linux +Fabric Services System Summary"],"EDA"),I("tbl-day-1-SR-Linux-summary","Day 1",e["SR Linux Summary"],"SR Linux"),I("tbl-day-1-SR-Linux-plus-summary","Day 1",e["SR Linux +Fabric Services System Summary"],"EDA"),I("tbl-day-2-SR-Linux-summary","Day 2+",e["SR Linux Summary"],"SR Linux"),I("tbl-day-2-SR-Linux-plus-summary","Day 2+",e["SR Linux +Fabric Services System Summary"],"EDA"),j("tbl-day0-savings",e["Day-0 Total Effort"]),j("tbl-day1-savings",e["Day-1 Total Effort"]),j("tbl-day2-savings",e["Day-2 Total Effort"]),function(e,i){let n=`<li>The FMO 1 and FMO 2 scenarios in the Day 1 phase \n    offer efforts savings of <b>${((i[0]-i[1])/i[0]*100).toFixed(0)}%</b> and <b>${((i[0]-i[2])/i[0]*100).toFixed(0)}%</b> respectively</li>`;t("#"+e).html(n)}("txt-day1-savings",e["Day-1 Total Effort"]),function(e,i){function n(t){return"<b>
25"+Number(+t.toFixed(0)).toLocaleString()+"</b>"}let o=`<li>The Day 2+ phase offers higher savings compared \n    with other operations phases for total effort hours.</li>\n    <li>The total effort in the Day 2+ phase for the PMO \n    scenario is ${n(i[0])} hours. In comparison the total effort \n    in the Day 2+ phase for the FMO 1 scenario is ${n(i[1])} \n    hours (<b>${((i[0]-i[1])/i[0]*100).toFixed(0)}%</b> effort savings versus PMO) and the total \n    effort for the FMO 2 scenario is ${n(i[2])} hours (<b>${((i[0]-i[2])/i[0]*100).toFixed(0)}%</b>\n    effort savings versus PMO)</li>`;t("#"+e).html(o)}("txt-day2-savings",e["Day-2 Total Effort"]),N("tbl-pmo-relative-savings-SR-Linux",e["PMO Relative Savings SR Linux"]),N("tbl-pmo-relative-savings-SR-Linux-plus",e["PMO Relative Savings SR Linux +Fabric Services System"]),function(e,i,n){let o=`\n        <li> The Day 0 phases in the FMO scenarios, incur the upfront effort hours \n        due to integration and initial training costs associated with adopting SR \n        Linux and the EDA.</li>\n        <li>Despite the upfront Day 0 costs, the model indicates overall positive \n        effort savings as early as Year 1, that is cumulative savings of <b>${(100*i[3][0]).toFixed(0)}%</b> for \n        the FMO 1 scenario and cumulative savings of <b>${(100*n[3][0]).toFixed(0)}%</b> for the FMO 2 scenario in Year 1\n        </li>\n    `;t("#"+e).html(o)}("txt-pmo-relative-savings",e["PMO Relative Savings SR Linux"],e["PMO Relative Savings SR Linux +Fabric Services System"])):(O("tbl-effort-savings-fmo1",e["SR Linux Summary"]),O("tbl-effort-savings-fmo2",e["SR Linux +Fabric Services System Summary"]),function(e,i,n){let o=0,r=0;for(let t of["Day 0","Day 1","Day 2+"])for(let e=0;e<i.length;e++)i[e][0]===t&&1===i[e][1]&&i[e][3]>r&&(r=i[e][3],o=t);let s=0;for(let t of["Day 0","Day 1","Day 2+"])for(let e=0;e<n.length;e++)n[e][0]===t&&1===n[e][1]&&n[e][3]>s&&(s=n[e][3],o=t);let a=`\n        <li> For FMO 1 savings of up to <b>${(100*r).toFixed(0)}%</b> can be realized for specific job functions and tasks within the Day 0, Day 1, and Day 2+ phases.</li>\n        <li>For FMO 2 savings of up to <b>${(100*s).toFixed(0)}%</b> can be realized for specific job functions and tasks within the Day 0, Day 1, and Day 2+ phases.</li>\n    `;t("#"+e).html(a)}("txt-effort-savings-fmo1-fmo2",e["SR Linux Summary"],e["SR Linux +Fabric Services System Summary"])),y.updateChart(e["Effort by year"]),f.updateChart(e["4-Year Total Effort"]),b.updateChart(e["Power Costs per Gbps"]),x.updateChart(e["Space Costs per Gbps"]),_.updateChart(e["GigE Capacity per RU"]),function(e,i){function n(t){return"<b>"+Number(+t.toFixed(0)).toLocaleString()+"</b>"}let o=`<li>The total effort for the PMO scenario over 4 years is ${n(i[0])} hours.</li>\n    <li>The total effort for FMO 2 with SR Linux and EDA \n    is ${n(i[2])} hours (<b>${((i[0]-i[2])/i[0]*100).toFixed(0)}%</b> savings over PMO)</li>\n    <li>The total effort for FMO 1 with SR Linux only is ${n(i[1])} hours (<b>${((i[0]-i[1])/i[0]*100).toFixed(0)}%</b> savings over PMO)</li>`;t("#"+e).html(o)}("tbl-total-savings",e["4-Year Total Effort"]),i=[e["Power Costs per Gbps"],e["Space Costs per Gbps"],e["GigE Capacity per RU"]],t("#power-cost-savings").html(""+(100*(i[0][0][0]-i[0][1][0])/i[0][0][0]).toFixed(0)),t("#space-cost-savings").html(""+(100*(i[1][0][0]-i[1][1][0])/i[1][0][0]).toFixed(0)),t("#capacity-increase").html(""+(i[2][1]/i[2][0]).toFixed(1)),function(e,i){function n(t){return Number(+t.toFixed(0)).toLocaleString()}let o=`<table class="table table-striped table-responsive ${C?"table-sm":""}"><tr><th>Modelling scenario</th><th>Year 1</th><th>Year 2</th><th>Year 3</th><th>Year 4</th></tr>`;o+=`<tr><th>PMO</th><td>${n(i[0][0])}</td><td>${n(i[0][1])}</td><td>${n(i[0][2])}</td><td>${n(i[0][3])}</td></tr>`,o+=`<tr><th>FMO 1</th><td>${n(i[1][0])}</td><td>${n(i[1][1])}</td><td>${n(i[1][2])}</td><td>${n(i[1][3])}</td></tr>`,o+=`<tr><th>FMO 2</th><td>${n(i[2][0])}</td><td>${n(i[2][1])}</td><td>${n(i[2][2])}</td><td>${n(i[2][3])}</td></tr>`,o+="</table>",t("#"+e).html(o)}("tbl-effort-by-year",e["Effort by year"]),function(e,i){function n(t,e){return"<b>"+((t-e)/t*100).toFixed(0)+"%</b>"}let o=`<li>Significant effort savings can be realized from the very first year.</li>\n    <li>The FMO 2 scenario, offers effort savings (over the PMO scenario) of ${n(i[0][0],i[2][0])} in \n    Year 1, ${n(i[0][1],i[2][1])} in Year 2, ${n(i[0][2],i[2][2])} in Year 3 and ${n(i[0][3],i[2][3])} in Year 4</li>\n    <li>The FMO 1 scenario, offers effort savings (over the PMO scenario) of ${n(i[0][0],i[1][0])} in \n    Year 1, ${n(i[0][1],i[1][1])} in Year 2, ${n(i[0][2],i[1][2])} in Year 3 and ${n(i[0][3],i[1][3])} in Year 4</li>`;t("#"+e).html(o)}("txt-effort-by-year",e["Effort by year"])}function O(e,i){let n='<table class="table table-sm table-bordered table-responsive"><tr class="blc-table-header"><th>Phase&nbsp;&nbsp;&nbsp;&nbsp;</th><th>Job function and tasks</th><th>Savings (%)</th></tr>',o=0,r=0;for(let t of["Day 0","Day 1","Day 2+"])for(let e=0;e<i.length;e++)i[e][0]===t&&1===i[e][1]&&i[e][3]>r&&(r=i[e][3],o=t);for(let t of["Day 0","Day 1","Day 2+"])for(let e=0;e<i.length;e++){let r=i[e];r[0]===t&&1===r[1]&&(n+=`<tr${t==o?' style="background-color: #00C9FF;"':""}><td>${r[0]}</td><td>${r[2]}</td><td>${(100*r[3]).toFixed(0)}%</td></tr>`)}n+="</table>",t("#"+e).html(n)}function P(e,i,n,o){let r=0,s=0;for(let t of["Day 0","Day 1","Day 2+"])for(let e=0;e<i.length;e++)i[e][0]===t&&1===i[e][1]&&i[e][3]>s&&(s=i[e][3],r=t);let a="EDA"==o?"https://nokia.ly/3yziTEr":"https://www.nokia.com/networks/products/service-router-linux-NOS/",l=`\n        <li>Additional effort savings can be realized for specific job functions and tasks in the FMO scenarios</li>\n        <li>For FMO ${n} savings of up to <b>${(100*s).toFixed(0)}%</b>  can be realized for specific job functions and tasks within the Day 0, Day 1, and Day 2+ phases.</li>\n        <li>Nokia ${o} offers several unique benefits compared to the PMO scenario. For details on ${o} features, please refer to the resources at the <a href=${a} target="_blank">${o} web site</a></li>\n    `;t("#"+e).html(l)}function I(e,i,n,o){let r=0,s=0;for(let t=0;t<n.length;t++)n[t][0]===i&&n[t][3]>s&&(s=n[t][3],r=t);let a=`<table class="table table-sm table-bordered table-responsive"><tr class="blc-table-header"><th style="width: 5%;">Ranking</th><th style="width: 46%;">Job function and tasks</th><th style="width: 7%;">Savings (%)</th><th style="width: 42%;">Contributing ${o} features</th></tr>`;for(let t=0;t<n.length;t++){let e=n[t];e[0]===i&&(a+=`<tr${t==r?' style="background-color: #00C9FF;"':""}><td>${e[1]}</td><td>${e[2]}</td><td>${(100*e[3]).toFixed(0)}%</td><td>${e[5]}</td></tr>`)}a+="</table>",t("#"+e).html(a)}function N(e,i){function n(t){return Number(+t.toFixed(0)).toLocaleStr
25ing()}let o=`<table class="table ${C?"table-sm":""} table-striped table-responsive"><tr><th></th><th>Year 1</th><th>Year 2</th><th>Year 3</th><th>Year 4</th></tr>`;o+=`<tr><th>Day 2+</th><td>${n(i[2][0])}</td><td>${n(i[2][1])}</td><td>${n(i[2][2])}</td><td>${n(i[2][3])}</td></tr>`,o+=`<tr><th>Day 1</th><td>${n(i[1][0])}</td><td>${n(i[1][1])}</td><td>${n(i[1][2])}</td><td>${n(i[1][3])}</td></tr>`,o+=`<tr><th>Day 0</th><td>${n(i[0][0])}</td><td>${n(i[1][1])}</td><td>${n(i[0][2])}</td><td>${n(i[0][3])}</td></tr>`,o+=`<tr><th>Cumulative savings</th><td>${(100*i[3][0]).toFixed(0)}%</td><td>${(100*i[3][1]).toFixed(0)}%</td><td>${(100*i[3][2]).toFixed(0)}%</td><td>${(100*i[3][3]).toFixed(0)}%</td></tr>`,o+="</table>",t("#"+e).html(o)}function j(e,i){function n(t){return Number(+t.toFixed(0)).toLocaleString()}let o=`<table class="table table-striped table-responsive ${C?"table-sm":""}"><tr><th>Modelling scenario</th><th>Hours</th><th>Savings</th></tr>`;o+=`<tr><th>PMO</th><td>${n(i[0])}</td><td></td></tr>`,o+=`<tr><th>FMO 1</th><td>${n(i[1])}</td><td>${((i[0]-i[1])/i[0]*100).toFixed(0)}%</td></tr>`,o+=`<tr><th>FMO 2</th><td>${n(i[2])}</td><td>${((i[0]-i[2])/i[0]*100).toFixed(0)}%</td></tr>`,o+="</table>",t("#"+e).html(o)}function R(e,i){function n(t){return Number(+t.toFixed(0)).toLocaleString()}let o=`<table class="table table-striped table-responsive ${C?"table-sm":""}"><tr><th>Job function/Task</th><th>PMO</th><th>FMO 1</th><th>FMO 2</th></tr>`;for(let t=0;t<i[0].length;t++){o+=`<tr><th>${i[0][t]}</th>`;for(let e=1;e<i.length;e++)o+=`<td>${n(i[e][t])}</td>`;o+="</tr>"}let r=[];for(let t=1;t<i.length;t++){let e=0;for(let n=0;n<i[0].length;n++)e+=i[t][n];r.push(e)}o+="<tr><th>Total</th>";for(let t=0;t<r.length;t++)o+=`<td>${n(r[t])}</td>`;o+="</tr>",o+="</table>",t("#"+e).html(o)}e.a={init:function(t,e){e&&(C=!0),D=t,f=new o.a("chart-total-effort","Cumulative effort in hours across all tasks over 4 years"),g=new o.a("chart-day0-effort","Day 0 - Total effort savings"),m=new o.a("chart-day1-effort","Day 1 - Total effort savings"),v=new o.a("chart-day2-effort","Day 2+ Total effort savings"),y=new r.a("chart-effort-by-year","Yearly effort in hours"),b=new s.a("chart-power-cost","Power cost per GE port"),x=new s.a("chart-space-cost","Space cost per GE port"),_=new a.a("chart-gige-capacity","GE capacity per RU"),w=new l.a("chart-job-breakdown-pmo1","FMO 1",""),k=new l.a("chart-job-breakdown-pmo2","FMO 2",""),S=new h.a("chart-effort-detail-day0","Day 0 - Total effort hours by job functions and tasks"),T=new h.a("chart-effort-detail-day1","Day 1 - Total effort hours by job functions and tasks"),E=new h.a("chart-effort-detail-day2","Day 2+ Total effort hours by job functions and tasks"),M=new c.a("chart-pmo-relative-savings-SR-Linux","Effort savings for FMO 1",""),A=new c.a("chart-pmo-relative-savings-SR-Linux-plus","Effort savings for FMO 2","")},update:async function(t){let e=t["day-0-planning"]+t["day-0-design"]+t["day-0-installation"],i=t["day-1-deployment"]+t["day-1-configuration"]+t["day-1-integration"]+t["day-1-testing"],o=t["day-2-operations"]+t["day-2-change"]+t["day-2-incident"]+t["day-2-security"]+t["day-2-upgrade"]+t["day-2-training"]+t["day-2-integration"];if(100!==e)return n.a.error("The total effort for Day 0 must add up to 100%"),!1;if(100!==i)return n.a.error("The total effort for Day 1 must add up to 100%"),!1;if(100!==o)return n.a.error("The total effort for Day 2+ must add up to 100%"),!1;let r={inputs:{"pmo-dcs":t["pmo-dcs"],"pmo-pods":t["pmo-pods"],"pmo-dual-homing":t["pmo-dual-homing"],"pmo-uplinks":t["pmo-uplinks"],"pmo-utilization":t["pmo-utilization"]/100,"fmo-utilization":t["fmo-utilization"]/100,"pmo-growth":t["pmo-growth"]/100,"pmo-10G-servers-per-rack":t["pmo-10G-servers-per-rack"],"fmo-10G-servers-per-rack":t["fmo-10G-servers-per-rack"],"pmo-25G-servers-per-rack":t["pmo-25G-servers-per-rack"],"fmo-25G-servers-per-rack":t["fmo-25G-servers-per-rack"],"fmo-100G-servers-per-rack":t["fmo-100G-servers-per-rack"],"pmo-10G-racks-per-pod":t["pmo-10G-racks-per-pod"],"fmo-10G-racks-per-pod":t["fmo-10G-racks-per-pod"],"pmo-25G-racks-per-pod":t["pmo-25G-racks-per-pod"],"fmo-25G-racks-per-pod":t["fmo-25G-racks-per-pod"],"fmo-100G-racks-per-pod":t["fmo-100G-racks-per-pod"],"fmo-leaf-spine-uplink-speed-100G":t["fmo-12"],"pmo-leaf-uplink-count-40G":t["pmo-13"],"fmo-leaf-uplink-count-40G":t["fmo-13"],"pmo-leaf-uplink-count-100G":t["pmo-14"],"fmo-leaf-uplink-count-100G":t["fmo-14"],"fmo-leaf-uplink-count-100G2":t["fmo-15"],"pmo-spine-uplink-count-40G":t["pmo-16"],"pmo-spine-uplink-count-100G":t["pmo-17"],"fmo-spine-uplink-count-100G":t["fmo-17"],"fmo-spine-uplink-count-100G2":t["fmo-18"],"day-0-weeks":t["day-0-weeks"],"day-0-fte":t["day-0-fte"],"day-0-planning":t["day-0-planning"]/100,"day-0-design":t["day-0-design"]/100,"day-0-installation":t["day-0-installation"]/100,"day-1-weeks":t["day-1-weeks"],"day-1-fte":t["day-1-fte"],"day-1-deployment":t["day-1-deployment"]/100,"day-1-configuration":t["day-1-configuration"]/100,"day-1-integration":t["day-1-integration"]/100,"day-1-testing":t["day-1-testing"]/100,"day-2-growth":t["day-2-growth"]/100,"day-2-fte":t["day-2-fte"],"day-2-y2-growth":t["day-2-y2-growth"]/100,"day-2-y3-growth":t["day-2-y3-growth"]/100,"day-2-y4-growth":t["day-2-y4-growth"]/100,"day-2-operations":t["day-2-operations"]/100,"day-2-change":t["day-2-change"]/100,"day-2-incident":t["day-2-incident"]/100,"day-2-security":t["day-2-security"]/100,"day-2-upgrade":t["day-2-upgrade"]/100,"day-2-training":t["day-2-training"]/100,"day-2-integration":t["day-2-integration"]/100}};r.outputs=D?["Power Costs per Gbps","Space Costs per Gbps","GigE Capacity per RU","4-Year Total Effort","Day-0 Total Effort","Day-1 Total Effort","Day-2 Total Effort","Effort by year","4-Year Headcount Savings","Day-0 Headcount Savings","Day-1 Headcount Savings","Day-2 Headcount Savings","Day-0 Effort Detail","Day-1 Effort Detail","Day-2 Effort Detail","4-Year Cumulative Effort Savings SR Linux","4-Year Cumulative Effort Savings SR Linux +Fabric Services System","PMO Relative Savings SR Linux","PMO Relative Savings SR Linux +Fabric Services System","SR Linux Summary","SR Linux +Fabric Services System Summary","Job Savings"]:["Power Costs per Gbps","Space Costs per Gbps","GigE Capacity per RU","4-Year Total Effort","SR Linux Summary","SR Linux +Fabric Services System Summary","Effort by year"];const s=await fetch("/dcf/api",{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify(r)}),a=await s.json();return L(a),!0},setSmall:function(){L(d.b)},setMedium:function(){L(p.b)},setLarge:function(){L(u.b)}}}).call(this,i(0))}
25,function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));i(2);var n=i(1),o=i(3);class r extends o.a{constructor(t,e){super(t,e),this.chartOptions.tooltip={useHTML:!0,formatter:function(){let t=this.point.y,e=this.point.category;return this.point.delta?`${e} total effort: ${Number(+t.toFixed(0)).toLocaleString()} hours<br>${this.point.delta.toFixed(0)}% savings relative to PMO`:`${e} total effort: ${Number(+t.toFixed(0)).toLocaleString()} hours`}},this.chartOptions.plotOptions={series:{dataLabels:{style:{fontSize:18},formatter:function(){return this.point.delta?`Savings: ${this.point.delta.toFixed(0)}%`:""},enabled:!0}}},this.chartOptions.legend.enabled=!1,this.chartOptions.yAxis.title.text="Effort in hours",this.chartOptions.xAxis.categories=["PMO","FMO 1","FMO 2"]}updateChart(t){let e=[n.a.nokiaColor.Grey2,n.a.nokiaColor.Blue,n.a.nokiaColor.LightBlue];this.chartOptions.series=[{data:[]}];for(let i=0;i<t.length;i++)if(i>0){let n=(t[0]-t[i])/t[0]*100;this.chartOptions.series[0].data.push({y:t[i],color:e[i],delta:n})}else this.chartOptions.series[0].data.push({y:t[i],color:e[i]});this.updateChartData()}}},function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));i(2);var n=i(3);i(1);class o extends n.a{constructor(t,e,i){super(t,e,i),this.chartOptions.yAxis.stackLabels={enabled:!0},this.chartOptions.yAxis.stackLabels={formatter:function(t){return""+this.total.toFixed(0)}},this.chartOptions.plotOptions={column:{stacking:"normal"}}}}},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));i(2);var n=i(1),o=i(6);class r extends o.a{constructor(t,e){super(t,e),this.chartOptions.tooltip={useHTML:!0,formatter:function(){let t=this.point.y;return`${this.point.category}: ${t.toFixed(0)} hours`}},this.chartOptions.colors=n.a.nokiaColors,this.chartOptions.xAxis.categories=["PMO","FMO 1","FMO 2"],this.chartOptions.yAxis={lineWidth:1,min:0,title:{text:"Effort in hours"},stackLabels:{enabled:!0,formatter:function(){return(this.total/1e3).toFixed(1)+"k"}}}}updateChart(t){this.chartOptions.series=[];for(let e=0;e<t[0].length;e++)this.chartOptions.series.push({name:t[0][e],data:[]});for(let e=1;e<t.length;e++){let i=t[e];for(let n=0;n<i.length;n++)this.chartOptions.series[n].data.push({y:t[e][n]})}this.updateChartData()}}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return o}));const n={fascility:"small","pmo-dcs":1,"pmo-pods":2,"pmo-dual-homing":"No","pmo-uplinks":2,"pmo-utilization":20,"fmo-utilization":20,"pmo-growth":35,"pmo-10G-servers-per-rack":40,"fmo-10G-servers-per-rack":40,"pmo-25G-servers-per-rack":0,"fmo-25G-servers-per-rack":40,"fmo-100G-servers-per-rack":0,"pmo-10G-racks-per-pod":20,"fmo-10G-racks-per-pod":5,"pmo-25G-racks-per-pod":0,"fmo-25G-racks-per-pod":15,"fmo-100G-racks-per-pod":0,"fmo-leaf-spine-uplink-speed-100G":"Leaf: 100 GE, Spine: 100 GE","pmo-leaf-uplink-count-40G":4,"fmo-leaf-uplink-count-40G":4,"pmo-leaf-uplink-count-100G":4,"fmo-leaf-uplink-count-100G":4,"fmo-leaf-uplink-count-100G2":4,"pmo-spine-uplink-count-40G":4,"pmo-spine-uplink-count-100G":4,"fmo-spine-uplink-count-100G":4,"fmo-spine-uplink-count-100G2":4,"day-0-weeks":12,"day-0-fte":8,"day-0-planning":10,"day-0-design":80,"day-0-installation":10,"day-1-weeks":6,"day-1-fte":6,"day-1-deployment":20,"day-1-configuration":40,"day-1-integration":20,"day-1-testing":20,"day-2-growth":35,"day-2-fte":8,"day-2-y2-growth":10,"day-2-y3-growth":10,"day-2-y4-growth":20,"day-2-operations":15,"day-2-change":50,"day-2-incident":15,"day-2-security":3,"day-2-upgrade":7,"day-2-training":3,"day-2-integration":7},o={"Power Costs per Gbps":[[3.6053524591410753,2.6706314512156113,1.978245519418971,1.4653670514214598],[1.5886185428743316,1.1767544762032085,.871669982372747,.645681468424257]],"Space Costs per Gbps":[[24.3,18,13.33333333333333,9.87654320987654],[11.911764705882353,8.823529411764707,6.5359477124183,4.841442749939481]],"GigE Capacity per RU":[333.3333333333333,680],"4-Year Total Effort":[69251.20000000001,55707.84108800001,41846.47208000001],"Day-0 Total Effort":[3264.000000000001,3736.7456,3139.3584],"Day-1 Total Effort":[1224,1136.8512,820.3248000000001],"Day-2 Total Effort":[64763.200000000004,50834.244288,37886.78888000001],"Effort by year":[[18088,14960,16456,19747.200000000004],[15754.2768,11831.938800000004,12864.642560000004,15256.982928000003],[12159.803200000002,8857.816,9565.050000000001,11263.80288]],"4-Year Headcount Savings":[[.024490505996439663,.07547765633266386,.09560041860523417],[.058780821127485394,.14427485254330946,.19267361217551535]],"Day-0 Headcount Savings":[[-.015596347775538148,-.14134822480864895,.012108298074383248],[-.0011601617451846072,-.07086279520611809,.1102097216571851]],"Day-1 Headcount Savings":[[.012000000000000084,.0376,.0216],[.05700000000000007,.16719999999999996,.1056]],"Day-2 Headcount Savings":[[.02674690886182276,.08712133557328852,.10120691726165484],[.06183544309113818,.15468429651406973,.1984753674926501]],"Day-0 Effort Detail":[["Planning","Design","Installation Planning","Integration","Training"],[326.40000000000003,2611.2000000000007,326.4,0,0],[326.40000000000003,2237.1456,326.4,490,356.79999999999995],[295.39200000000005,1549.0944000000002,279.072,539,476.79999999999995]],"Day-1 Effort Detail":[["Physical Deployment","Initial Configuration","Onboarding & Integration","Acceptance Testing"],[244.8,489.6,244.8,244.8],[244.8,451.4112,215.42400000000004,225.21600000000004],[230.11200000000002,260.9568,151.776,177.48]],"Day-2 Effort Detail":[["Daily operations","Change management Infra/Service","Incident management","Security","Upgrade ","On-going Training","Updating Integration"],[9714.48,32381.600000000002,9714.480000000001,1942.8960000000002,4533.424000000001,1942.8960000000002,4533.424000000001],[8129.51424,23074.984000000004,8065.246080000001,1894.3236000000002,4016.349008000001,1845.7512000000002,3808.0761600000005],[5993.0712,16518.328800000003,6396.6036,1327.89312,3007.7488000000008,1635.3945600000004,3007.748800000001]],"4-Year Cumulative Effort Savings SR Linux":[[12.651999357838122,29.353299357838125,49.32555935783813,75.21326735783813],[43.905564555579815,119.27756455557983,204.36476455557977,309.0830045555798],[119.32693350110458,248.8717335011048,398.18089350110483,585.5237415011047]],"4-Year Cumulative Effort Savings SR Linux +Fabric Services System":[[38.913035002233,78.38433500223302,124.05699500223302,181.56926300223301],[125.65992933327612,259.94352933327616,410.74824933327614,595.4252253332761],[279.6900345412967,537.750034541297,828.2226345412971,1184.7176745412971]],"PMO Relative Savings SR Linux":[[-472.7455999999993,0,0,0],[87.14879999999994,0,0,0],[2719.3200000000015,3128.0611999999965,3591.357439999996,4490.217072000001],[.12902052189296775,.1652682280319534,.1828769764059469,.1955685809343376]],"PMO Relative Savings SR Linux +Fabric Services System":[[124.64160000000084,0,0,0],[403.6751999999999,0,0,0],[5399.879999999999,6102.183999999999,6890.949999999999,8483.397120000005],[.327741972578505,.3640274993948196,.38221822074983836,.3957292858463103]],"SR Linux Summary":[["Day 0",1,"Design - High Level Design (HLD) - Integrations investigations/selection",.25,114,"Model-driven data model and single API for all integrations"],["Day 0",2,"Design - High Level Design (HLD) - Documentation",.25,98,"Ubiquitous and consistent access to CLI and data models"],["Day 0",3,"Design - Low Level Design (LLD) - Lab test plan execution",.15,59,"Ubiquitous and consistent access to CLI and data models"],["Day 1",1,"Onboarding & Integration - In-service SW integration (interconnection to external OSS/BSS systems)",.2,29,"Open interfaces with ubiquitous and consistent access to data"],["Day 1",2,"Initial Configuration - Per node customized configuration  - generation",.15,26,"Leverage self
25-signed security certificates and provide customizable ZTP"],["Day 1",3,"Initial Configuration - Per node customized configuration  - push to node",.2,12,"Leverage self-signed certificates and customizable ZTP"],["Day 2+",1,"Change management Infra/Service - Service change validation",.43,4046.46,"Leverage flexible scripting options and customizable monitoring "],["Day 2+",2,"Change management Infra/Service - Infrastructure change validation",.43,2697.64,"Leverage flexible scripting options and customizable monitoring "],["Day 2+",3,"Change management Infra/Service - Service change impact analysis",.33,1537.51,"Leverage flexible scripting options and customizable monitoring "]],"SR Linux +Fabric Services System Summary":[["Day 0",1,"Design - Low Level Design (LLD) - Lab test plan execution",.52,204,"Leverage Digital Sandbox for physical and logical design maps, and feedback from testing results"],["Day 0",2,"Design - High Level Design (HLD) - Features investigation/selection",.6,196,"Leverage Digital Sandbox for design validation and certification of the network"],["Day 0",3,"Design - High Level Design (HLD) - Integrations investigations/selection",.35,160,"Secure, automated, and certified intgeration leveraing open APIs"],["Day 1",1,"Initial Configuration - Per node customized configuration  - generation",.6,105.75,"Automated intent based custom configuration"],["Day 1",2,"Onboarding & Integration - In-service SW integration (interconnection to external OSS/BSS systems)",.5,73.44,"Leverage stateful and filterable topology, with intent deviation tracking, and advanced telemetry "],["Day 1",3,"Initial Configuration - ZTP infra mgmt",.5,61.2,"Embedded Zero Touch Provisioning infrastructure"],["Day 2+",1,"Change management Infra/Service - Service change validation",.55,5342.96,"Leverage Digital Sandbox validation, certified design intents, deviation detection, and deployment consistency automation"],["Day 2+",2,"Change management Infra/Service - Infrastructure change validation",.55,3561.98,"Leverage Digital Sandbox validation, certified design intents, deviation detection, and deployment consistency automation"],["Day 2+",3,"Change management Infra/Service - Service change impact analysis",.46,2103.57,"Leverage visual and concise object association"]],"Job Savings":[[.024490505996439663,.07547765633266386,.09560041860523417],[.058780821127485394,.14427485254330946,.19267361217551535]]}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return o}));const n={fascility:"medium","pmo-dcs":2,"pmo-pods":4,"pmo-dual-homing":"Yes","pmo-uplinks":2,"pmo-utilization":20,"fmo-utilization":20,"pmo-growth":35,"pmo-10G-servers-per-rack":40,"fmo-10G-servers-per-rack":0,"pmo-25G-servers-per-rack":40,"fmo-25G-servers-per-rack":40,"fmo-100G-servers-per-rack":20,"pmo-10G-racks-per-pod":15,"fmo-10G-racks-per-pod":0,"pmo-25G-racks-per-pod":5,"fmo-25G-racks-per-pod":15,"fmo-100G-racks-per-pod":5,"fmo-leaf-spine-uplink-speed-100G":"Leaf: 100 GE, Spine: 100 GE","pmo-leaf-uplink-count-40G":4,"fmo-leaf-uplink-count-40G":4,"pmo-leaf-uplink-count-100G":4,"fmo-leaf-uplink-count-100G":4,"fmo-leaf-uplink-count-100G2":4,"pmo-spine-uplink-count-40G":4,"pmo-spine-uplink-count-100G":4,"fmo-spine-uplink-count-100G":4,"fmo-spine-uplink-count-100G2":4,"day-0-weeks":12,"day-0-fte":12,"day-0-planning":10,"day-0-design":80,"day-0-installation":10,"day-1-weeks":8,"day-1-fte":8,"day-1-deployment":20,"day-1-configuration":40,"day-1-integration":20,"day-1-testing":20,"day-2-growth":35,"day-2-fte":12,"day-2-y2-growth":10,"day-2-y3-growth":10,"day-2-y4-growth":20,"day-2-operations":15,"day-2-change":50,"day-2-incident":15,"day-2-security":3,"day-2-upgrade":7,"day-2-training":3,"day-2-integration":7},o={"Power Costs per Gbps":[[2.823092839345713,2.0911798809968243,1.5490221340717216,1.1474238030160901],[1.4259452883000001,1.0562557691111112,.7824116808230452,.5795642080170705]],"Space Costs per Gbps":[[18.40909090909091,13.636363636363637,10.1010101010101,7.4822297044519255],[8.1,6,4.444444444444444,3.2921810699588474]],"GigE Capacity per RU":[440,1e3],"4-Year Total Effort":[104216.80000000002,83632.55363200001,62728.076120000005],"Day-0 Total Effort":[4896.000000000001,5360.118399999999,4439.537600000001],"Day-1 Total Effort":[2176,2021.0688000000002,1458.3552000000002],"Day-2 Total Effort":[97144.79999999999,76251.36643200001,56830.18332000001],"Effort by year":[[27472,22440,24684.000000000007,29620.80000000001],[23702.2072,17747.908200000005,19296.96384,22885.474392000004],[18198.0728,13286.723999999998,14347.575,16895.704320000004]
25],"4-Year Headcount Savings":[[.024408734674566297,.07783159335890975,.09527337770302706],[.058689479677068127,.14716455661547329,.1922461153144931]],"Day-0 Headcount Savings":[[-.016469544968884812,-.08861166691853997,.010285787050823437],[-.0029807978739628846,-.010944257376744796,.10715675459711274]],"Day-1 Headcount Savings":[[.012000000000000037,.03759999999999999,.021600000000000025],[.05699999999999991,.1672,.1056]],"Day-2 Headcount Savings":[[.026746908861822776,.08712133557328854,.10120691726165475],[.06183544309113816,.15468429651406973,.19847536749265016]],"Day-0 Effort Detail":[["Planning","Design","Installation Planning","Integration","Training"],[489.6000000000001,3916.8,489.6,0,0],[489.6000000000001,3355.7183999999997,489.6,490,535.2],[443.0880000000001,2323.6416,418.60800000000006,539,715.2]],"Day-1 Effort Detail":[["Physical Deployment","Initial Configuration","Onboarding & Integration","Acceptance Testing"],[435.20000000000005,870.4000000000001,435.20000000000005,435.19999999999993],[435.20000000000005,802.5088000000001,382.97600000000006,400.384],[409.088,463.92320000000007,269.82400000000007,315.52000000000004]],"Day-2 Effort Detail":[["Daily operations","Change management Infra/Service","Incident management","Security","Upgrade ","On-going Training","Updating Integration"],[14571.720000000001,48572.4,14571.720000000001,2914.3440000000005,6800.136000000002,2914.3440000000005,6800.136],[12194.271360000002,34612.476,12097.869120000001,2841.4854000000005,6024.523512000001,2768.6268000000005,5712.114240000001],[8989.606800000001,24777.493200000004,9594.9054,1991.83968,4511.623200000001,2453.0918400000005,4511.623200000001]],"4-Year Cumulative Effort Savings SR Linux":[[19.088832614084822,44.14078261408483,74.09917261408481,112.93073461408483],[82.33813250547087,195.39613250547086,323.0269325054708,480.10429250547077],[179.27730923006573,373.5945092300658,597.5582492300657,878.5725212300656]],"4-Year Cumulative Effort Savings SR Linux +Fabric Services System":[[59.414685309057376,118.62163530905738,187.1306253090574,273.39902730905743],[211.51125135638404,412.93665135638406,639.143731356384,916.159195356384],[423.55109578382815,810.6410957838283,1246.3499957838285,1781.0925557838286]],"PMO Relative Savings SR Linux":[[-464.1183999999985,0,0,0],[154.93119999999976,0,0,0],[4078.9799999999977,4692.091799999995,5387.036160000007,6735.3256080000065],[.13722309260337795,.1695360754928672,.18565232398520015,.19751370573650318]],"PMO Relative Savings SR Linux +Fabric Services System":[[456.46240000000034,0,0,0],[717.6447999999998,0,0,0],[8099.82,9153.276000000002,10336.425000000007,12725.095680000006],[.33757743156668607,.36919384516749476,.38559209877205214,.3981001516070346]],"SR Linux Summary":[["Day 0",1,"Design - High Level Design (HLD) - Integrations investigations/selection",.25,171,"Model-driven data model and single API for all integrations"],["Day 0",2,"Design - High Level Design (HLD) - Documentation",.25,147,"
25Ubiquitous and consistent access to CLI and data models"],["Day 0",3,"Design - Low Level Design (LLD) - Lab test plan execution",.15,88,"Ubiquitous and consistent access to CLI and data models"],["Day 1",1,"Onboarding & Integration - In-service SW integration (interconnection to external OSS/BSS systems)",.2,52,"Open interfaces with ubiquitous and consistent access to data"],["Day 1",2,"Initial Configuration - Per node customized configuration  - generation",.15,47,"Leverage self-signed security certificates and provide customizable ZTP"],["Day 1",3,"Initial Configuration - Per node customized configuration  - push to node",.2,21,"Leverage self-signed certificates and customizable ZTP"],["Day 2+",1,"Change management Infra/Service - Service change validation",.43,6069.69,"Leverage flexible scripting options and customizable monitoring "],["Day 2+",2,"Change management Infra/Service - Infrastructure change validation",.43,4046.46,"Leverage flexible scripting options and customizable monitoring "],["Day 2+",3,"Change management Infra/Service - Service change impact analysis",.33,2306.26,"Leverage flexible scripting options and customizable monitoring "]],"SR Linux +Fabric Services System Summary":[["Day 0",1,"Design - Low Level Design (LLD) - Lab test plan execution",.52,306,"Leverage Digital Sandbox for physical and logical design maps, and feedback from testing results"],["Day 0",2,"Design - High Level Design (HLD) - Features investigation/selection",.6,294,"Leverage Digital Sandbox for design validation and certification of the network"],["Day 0",3,"Design - High Level Design (HLD) - Integrations investigations/selection",.35,240,"Secure, automated, and certified intgeration leveraing open APIs"],["Day 1",1,"Initial Configuration - Per node customized configuration  - generation",.6,188.01,"Automated intent based custom configuration"],["Day 1",2,"Onboarding & Integration - In-service SW integration (interconnection to external OSS/BSS systems)",.5,130.56,"Leverage stateful and filterable topology, with intent deviation tracking, and advanced telemetry "],["Day 1",3,"Initial Configuration - ZTP infra mgmt",.5,108.8,"Embedded Zero Touch Provisioning infrastructure"],["Day 2+",1,"Change management Infra/Service - Service change validation",.55,8014.45,"Leverage Digital Sandbox validation, certified design intents, deviation detection, and deployment consistency automation"],["Day 2+",2,"Change management Infra/Service - Infrastructure change validation",.55,5342.96,"Leverage Digital Sandbox validation, certified design intents, deviation detection, and deployment consistency automation"],["Day 2+",3,"Change management Infra/Service - Service change impact analysis",.46,3155.35,"Leverage visual and concise object association"]],"Job Savings":[[.024408734674566297,.07783159335890975,.09527337770302706],[.058689479677068127,.14716455661547329,.1922461153144931]]}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return o}));const n={fascility:"large","pmo-dcs":4,"pmo-pods":8,"pmo-dual-homing":"Yes","pmo-uplinks":2,"pmo-utilization":30,"fmo-utilization":30,"pmo-growth":45,"pmo-10G-servers-per-rack":40,"fmo-10G-servers-per-rack":0,"pmo-25G-servers-per-rack":40,"fmo-25G-servers-per-rack":40,"fmo-100G-servers-per-rack":20,"pmo-10G-racks-per-pod":30,"fmo-10G-racks-per-pod":0,"pmo-25G-racks-per-pod":10,"fmo-25G-racks-per-pod":30,"fmo-100G-racks-per-pod":20,"fmo-leaf-spine-uplink-speed-100G":"Leaf: 100 GE, Spine: 100 GE","pmo-leaf-uplink-count-40G":4,"fmo-leaf-uplink-count-40G":4,"pmo-leaf-uplink-count-100G":4,"fmo-leaf-uplink-count-100G":4,"fmo-leaf-uplink-count-100G2":4,"pmo-spine-uplink-count-40G":4,"pmo-spine-uplink-count-100G":4,"fmo-spine-uplink-count-100G":4,"fmo-spine-uplink-count-100G2":4,"day-0-weeks":16,"day-0-fte":12,"day-0-planning":10,"day-0-design":80,"day-0-installation":10,"day-1-weeks":8,"day-1-fte":24,"day-1-deployment":20,"day-1-configuration":40,"day-1-integration":20,"day-1-testing":20,"day-2-growth":45,"day-2-fte":20,"day-2-y2-growth":10,"day-2-y3-growth":10,"day-2-y4-growth":20,"day-2-operations":15,"day-2-change":50,"day-2-incident":15,"day-2-security":3,"day-2-upgrade":7,"day-2-training":3,"day-2-integration":7},o={"Power Costs per Gbps":[[1.8463249581649837,1.2733275573551612,.8781569361070077,.6056254731772467],[.9282808206250002,.6401936693965519,.44151287544589785,.30449163823855024]],"Space Costs per Gbps":[[11.781818181818181,8.12539184952978,5.60371851691709,3.8646334599428207],[4.474285714285714,3.08571428571428
256,2.12807881773399,1.467640563954476]],"GigE Capacity per RU":[458.3333333333333,1206.896551724138],"4-Year Total Effort":[174964,140272.30832,104911.75460000003],"Day-0 Total Effort":[6528.000000000002,7123.4912,5819.7168],"Day-1 Total Effort":[6528,6063.206400000001,4375.0656],"Day-2 Total Effort":[161907.99999999997,127085.61072,94716.9722],"Effort by year":[[47056,37400,41140.00000000001,49368.00000000001],[40388.397600000004,29579.847,32161.606400000008,38142.45732],[30695.082400000003,22144.540000000005,23912.625000000007,28159.507200000007]],"4-Year Headcount Savings":[[.024430989425763074,.07932352461713159,.09452451295694524],[.059111289970132305,.14987692614771536,.19139269309776236]],"Day-0 Headcount Savings":[[-.020577647994912553,-.0723549079179193,.0017114774814593694],[-.00634209277968309,.013321051854913071,.10152030563065248]],"Day-1 Headcount Savings":[[.011999999999999966,.0376,.021600000000000022],[.05700000000000003,.16719999999999996,.10559999999999999]],"Day-2 Headcount Savings":[[.026746908861822776,.08712133557328848,.10120691726165479],[.06183544309113818,.1546842965140697,.1984753674926501]],"Day-0 Effort Detail":[["Planning","Design","Installation Planning","Integration","Training"],[652.8000000000001,5222.4000000000015,652.8,0,0],[652.8000000000001,4474.2912,652.8,490,853.5999999999999],[590.7840000000001,3098.1888000000004,558.144,539,1033.6]],"Day-1 Effort Detail":[["Physical Deployment","Initial Configuration","Onboarding & Integration","Acceptance Testing"],[1305.6000000000001,2611.2,1305.6000000000001,1305.6],[1305.6000000000001,2407.5263999999997,1148.9280000000003,1201.152],[1227.2640000000001,1391.7696,809.4720000000002,946.56]],"Day-2 Effort Detail":[["Daily operations","Change management Infra/Service","Incident management","Security","Upgrade ","On-going Training","Updating Integration"],[24286.2,80954,24286.2,4857.24,11333.560000000001,4857.240000000001,11333.560000000001],[20323.785600000003,57687.46,20163.1152,4735.809,10040.87252,4614.378000000001,9520.190400000003],[14982.678000000002,41295.822,15991.509000000002,3319.7327999999998,7519.372000000001,4088.4864000000007,7519.372000000001]],"4-Year Cumulative Effort Savings SR Linux":[[34.43035496384414,76.18360496384415,126.11425496384419,190.83352496384424],[162.93000679468219,351.36000679468214,564.0780067946822,825.8736067946821],[301.783228136366,625.6452281363663,998.9181281363665,1467.275248136366]],"4-Year Cumulative Effort Savings SR Linux +Fabric Services System":[[110.72419602264125,209.40244602264121,323.58409602264123,467.3647660226413],[411.6860659164156,747.3950659164155,1124.4068659164157,1586.0993059164155],[733.365984952801,1378.5159849528009,2104.6974849528015,2995.9350849528014]],"PMO Relative Savings SR Linux":[[-595.4911999999986,0,0,0],[464.79359999999906,0,0,0],[6798.299999999999,7820.152999999998,8978.3936,11225.542680000006],[.14169505270316207,.1715420502983802,.18683834676263567,.1982790269998399]],"PMO Relative Savings SR Linux +Fabric Services System":[[708.2832000000017,0,0,0],[2152.9344,0,0,0],[13499.699999999997,15255.459999999995,17227.375,21208.4928],[.34769036042162527,.3743532442928862,.3888957657887192,.40038090921560987]],"SR Linux Summary":[["Day 0",1,"Design - High Level Design (HLD) - Integrations investigations/selection",.25,228,"Model-driven data model and single API for all integrations"],["Day 0",2,"Design - High Level Design (HLD) - Documentation",.25,196,"Ubiquitous and consistent access to CLI and data models"],["Day 0",3,"Design - Low Level Design (LLD) - Lab test plan execution",.15,118,"Ubiquitous and consistent access to CLI and data models"],["Day 1",1,"Onboarding & Integration - In-service SW integration (interconnection to external OSS/BSS systems)",.2,157,"Open interfaces with ubiquitous and consistent access to data"],["Day 1",2,"Initial Configuration - Per node customized configuration  - generation",.15,141,"Leverage self-signed security certificates and provide customizable ZTP"],["Day 1",3,"Initial Configuration - Per node customized configuration  - push to node",.2,63,"Leverage self
25-signed certificates and customizable ZTP"],["Day 2+",1,"Change management Infra/Service - Service change validation",.43,10116.16,"Leverage flexible scripting options and customizable monitoring "],["Day 2+",2,"Change management Infra/Service - Infrastructure change validation",.43,6744.1,"Leverage flexible scripting options and customizable monitoring "],["Day 2+",3,"Change management Infra/Service - Service change impact analysis",.33,3843.77,"Leverage flexible scripting options and customizable monitoring "]],"SR Linux +Fabric Services System Summary":[["Day 0",1,"Design - Low Level Design (LLD) - Lab test plan execution",.52,407,"Leverage Digital Sandbox for physical and logical design maps, and feedback from testing results"],["Day 0",2,"Design - High Level Design (HLD) - Features investigation/selection",.6,392,"Leverage Digital Sandbox for design validation and certification of the network"],["Day 0",3,"Design - High Level Design (HLD) - Integrations investigations/selection",.35,320,"Secure, automated, and certified intgeration leveraing open APIs"],["Day 1",1,"Initial Configuration - Per node customized configuration  - generation",.6,564.02,"Automated intent based custom configuration"],["Day 1",2,"Onboarding & Integration - In-service SW integration (interconnection to external OSS/BSS systems)",.5,391.68,"Leverage stateful and filterable topology, with intent deviation tracking, and advanced telemetry "],["Day 1",3,"Initial Configuration - ZTP infra mgmt",.5,326.4,"Embedded Zero Touch Provisioning infrastructure"],["Day 2+",1,"Change management Infra/Service - Service change validation",.55,13357.41,"Leverage Digital Sandbox validation, certified design intents, deviation detection, and deployment consistency automation"],["Day 2+",2,"Change management Infra/Service - Infrastructure change validation",.55,8904.94,"Leverage Digital Sandbox validation, certified design intents, deviation detection, and deployment consistency automation"],["Day 2+",3,"Change management Infra/Service - Service change impact analysis",.46,5258.92,"Leverage visual and concise object association"]],"Job Savings":[[.024430989425763074,.07932352461713159,.09452451295694524],[.059111289970132305,.14987692614771536,.19139269309776236]]}},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));i(2);var n=i(1),o=i(3);class r extends o.a{constructor(t,e){super(t,e),this.chartOptions.tooltip={useHTML:!0,formatter:function(){let t=this.point.y,e=this.point.category;return this.point.delta?`${e} cost: $${t.toFixed(2)}<br>${this.point.delta.toFixed(0)}% reduction`:`${e} cost: $${t.toFixed(2)}`}},this.chartOptions.yAxis={lineWidth:1,labels:{format:"${value}"},min:0,title:{text:"Cost"}},this.chartOptions.plotOptions={column:{groupPadding:0},series:{dataLabels:{style:{fontSize:15},formatter:function(){this.point.y;return this.point.delta?this.point.delta.toFixed(0)+"% reduction":""},enabled:!0}}},this.chartOptions.xAxis.categories=["PMO","FMO"],this.chartOptions.legend.enabled=!1}updateChart(t){this.chartOptions.series=[{data:[]}];let e=[n.a.nokiaColor.Grey3,n.a.nokiaColor.LightBlue];for(let i=0;i<t.length;i++){let n=t[i];for(let o=0;o<1;o++)if(1===i){let r=(t[0][o]-t[1][o])/t[0][o]*100;this.chartOptions.series[0].data.push({y:n[o],delta:r,color:e[i]})}else this.chartOptions.series[0].data.push({y:n[o],color:e[i]})}this.updateChartData()}}},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));i(2);var n=i(1),o=i(6);class r extends o.a{constructor(t,e,i){super(t,e,i),this.chartOptions.xAxis.categories=["Year 1","Year 2","Year 3","Year 4"],this.chartOptions.yAxis=[{lineWidth:1,title:{text:"Effort in hours"},stackLabels:{enabled:!0,formatter:function(t){return Number(+this.total.toFixed(0)).toLocaleString()+"h"}}},{lineWidth:1,min:0,labels:{format:"{value:.0f}%"},opposite:!0,title:{text:"Savings"}}]}updateChart(t){this.chartOptions.series=[{name:"Day 2+",data:[],yAxis:0,tooltip:{pointFormat:"{point.y:.0f}h"},color:n.a.nokiaColor.Blue},{name:"Day 1",data:[],yAxis:0,tooltip:{pointFormat:"{point.y:.0f}h"},color:n.a.nokiaColor.LightBlue},{name:"Day 0",data:[],yAxis:0,tooltip:{pointFormat:"{point.y:.0f}h"},color:n.a.nokiaColor.Grey2},{type:"line",name:"Savings",data:[],yAxis:1,tooltip:{pointFormat:"{point.y:.1f}%"},color:n.a.nokiaColor.Grey4}];for(let e=0;e<t.length-1;e++){let i=t[e];for(let n=0;n<i.length;n++)this.chartOptions.series[t.length-2-e].data.push({y:t[e][n]})}let e=t[t.length-1];for(let i=0;i<e.length;i++)this.chartOptions.series[t.length-1].data.push(100*e[i]);this.updateChartData()}}}
25,function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i(2),o=i.n(n),r=i(1);class s extends class{constructor(t,e,i){this.id=t,this.chart=null,this.chartOptions={chart:{type:"pie",renderTo:t},title:{useHTML:!0,text:e},subtitle:{text:i||"",x:-20},xAxis:{title:{text:""},categories:[""]},yAxis:{lineWidth:1,min:0,title:{text:"%"}},plotOptions:{pie:{shadow:!1},series:{dataLabels:{formatter:function(){return`${this.point.isNegative?"-":""}${this.y.toFixed(1)}%`},enabled:!0}}},tooltip:{useHTML:!0,formatter:function(){let t=this.point.y;return`${this.point.isNegative?"-":""}${this.point.name}: ${t.toFixed(1)}%`}},tooltip:{useHTML:!0,formatter:function(){let t=this.point.y;return this.series.name+" "+t.toFixed(1)}},series:[],credits:{enabled:!1}}}update(t){this.chartOptions.series=[{name:"Example",data:[1,3,2,4]}],this.updateChartData()}updateChartData(){try{if(this.chart){let t=this.chart.series;for(let e=0;e<t.length;e++){let i=[];for(let t=0;t<this.chartOptions.series[e].data.length;t++)i.push(this.chartOptions.series[e].data[t]);t[e].setData(i,!1,!0,!0)}}else this.chart=new o.a.Chart(this.chartOptions);this.chart.redraw()}catch(t){console.error(t)}}}{constructor(t,e,i){super(t,e,i),this.chartOptions.colors=[r.a.nokiaColor.LightBlue,r.a.nokiaColor.Grey3,r.a.nokiaColor.Grey2]}updateChart(t){this.chartOptions.series=[{name:"Job Savings Breakdown 1",size:"60%",innerSize:"40%",showInLegend:!0,dataLabels:{enable:!0},data:[]}];let e=["Level 1 operations savings","Level 2 operations savings","Engineer/Architect savings"];for(let i=0;i<t.length;i++)this.chartOptions.series[0].data.push({name:e[i],y:Math.abs(100*t[i]),isNegative:t[i]<0});this.updateChartData()}}},function(t,e,i){
26/*!
27  * Bootstrap v4.6.0 (https://getbootstrap.com/)
28  * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
29  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
30  */
31!function(t,e,i){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=n(e),r=n(i);function s(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&&s(t.prototype,e),i&&s(t,i),t}function l(){return(l=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 h(t){var e=this,i=!1;return o.default(this).one(c.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||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():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=o.default(t).css("transition-duration"),i=o.default(t).css("transition-delay"),n=parseFloat(e),r=parseFloat(i);return n||r?(e=e.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(e)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){o.default(t).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},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 o=i[n],r=e[n],s=r&&c.isElement(r)?"element":null==(a=r)?""+a:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+s+'" but expected type "'+o+'".')}var a},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},jQueryDetection:function(){if(void 0===o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=o.default.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")}};c.jQueryDetection(),o.default.fn.emulateTransitionEnd=h,o.default.event.special[c.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(o.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var d="alert",p=o.default.fn[d],u=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)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)}
vendor: 26,346 bytes, line 31
31,e.dispose=function(){o.default.removeData(this._element,"bs.alert"),this._element=null},e._getRootElement=function(t){var e=c.getSelectorFromElement(t),i=!1;return e&&(i=document.querySelector(e)),i||(i=o.default(t).closest(".alert")[0]),i},e._triggerCloseEvent=function(t){var e=o.default.Event("close.bs.alert");return o.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(o.default(t).removeClass("show"),o.default(t).hasClass("fade")){var i=c.getTransitionDurationFromElement(t);o.default(t).one(c.TRANSITION_END,(function(i){return e._destroyElement(t,i)})).emulateTransitionEnd(i)}else this._destroyElement(t)},e._destroyElement=function(t){o.default(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data("bs.alert");n||(n=new t(this),i.data("bs.alert",n)),"close"===e&&n[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),t}();o.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',u._handleDismiss(new u)),o.default.fn[d]=u._jQueryInterface,o.default.fn[d].Constructor=u,o.default.fn[d].noConflict=function(){return o.default.fn[d]=p,u._jQueryInterface};var f=o.default.fn.button,g=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,i=o.default(this._element).closest('[data-toggle="buttons"]')[0];if(i){var n=this._element.querySelector('input:not([type="hidden"])');if(n){if("radio"===n.type)if(n.checked&&this._element.classList.contains("active"))t=!1;else{var r=i.querySelector(".active");r&&o.default(r).removeClass("active")}t&&("checkbox"!==n.type&&"radio"!==n.type||(n.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||o.default(n).trigger("change")),n.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&o.default(this._element).toggleClass("active"))},e.dispose=function(){o.default.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(e,i){return this.each((function(){var n=o.default(this),r=n.data("bs.button");r||(r=new t(this),n.data("bs.button",r)),r.shouldAvoidTriggerChange=i,"toggle"===e&&r[e]()}))},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),t}();o.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var e=t.target,i=e;if(o.default(e).hasClass("btn")||(e=o.default(e).closest(".btn")[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var n=e.querySelector('input:not([type="hidden"])');if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==i.tagName&&"LABEL"===e.tagName||g._jQueryInterface.call(o.default(e),"toggle","INPUT"===i.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){var e=o.default(t.target).closest(".btn")[0];o.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))})),o.default(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,i=t.length;e<i;e++){var n=t[e],o=n.querySelector('input:not([type="hidden"])');o.checked||o.hasAttribute("checked")?n.classList.add("active"):n.classList.remove("active")}for(var r=0,s=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;r<s;r++){var a=t[r];"true"===a.getAttribute("aria-pressed")?a.classList.add("active"):a.classList.remove("active")}})),o.default.fn.button=g._jQueryInterface,o.default.fn.button.Constructor=g,o.default.fn.button.noConflict=function(){return o.default.fn.button=f,g._jQueryInterface};var m="carousel",v=".bs.carousel",y=o.default.fn[m],b={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},x={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},_={TOUCH:"touch",PEN:"pen"},w=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(".carousel-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("next")},e.nextWhenVisible=function(){var t=o.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide("prev")},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-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._updateInterval(),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(".active.carousel-item");var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)o.default(this._element).one("slid.bs.carousel",(function(){return e.to(t)}));else{if(i===t)return this.pause(),void this.cycle();var n=t>i?"next":"prev";this._slide(n,this._items[t])}},e.dispose=function(){o.default(this._element).off(v),o.default.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=l({},b,t),c.typeCheckConfig(m,t,x),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&o.default(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&o.default(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&_[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&_[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))};o.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(o.default(this._element).on("pointerdown.bs.carousel",(function(t){return e(t)})),o.default(this._element).on("pointerup.bs.carousel",(function(t){return i(t)})),this._element.classList.add("pointer-event")):(o.default(this._element).on("touchstart.bs.carousel",(function(t){return e(t)})),o.default(this._element).on("touchmove.bs.carousel",(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)})),o.default(this._element).on("touchend.bs.carousel",(function(t){return i(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(".carousel-item")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var i="next"===t,n="prev"===t,o=this._getItemIndex(e),r=this._items.length-1;if((n&&0===o||i&&o===r)&&!this._config.wrap)return e;var s=(o+("prev"===t?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(this._element.querySelector(".active.carousel-item")),r=o.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i});return o.default(this._element).trigger(r),r},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));o.default(e).removeClass("active");var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&o.default(i).addClass("active")}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(".active.carousel-item");if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var i,n,r,s=this,a=this._element.querySelector(".active.carousel-item"),l=this._getItemIndex(a),h=e||a&&this._getItemByDirection(t,a),d=this._getItemIndex(h),p=Boolean(this._interval);if("next"===t?(i="carousel-item-left",n="carousel-item-next",r="left"):(i="carousel-item-right",n="carousel-item-prev",r="right"),h&&o.default(h).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(h,r).isDefaultPrevented()&&a&&h){this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(h),this._activeElement=h;var u=o.default.Event("slid.bs.carousel",{relatedTarget:h,direction:r,from:l,to:d});if(o.default(this._element).hasClass("slide")){o.default(h).addClass(n),c.reflow(h),o.default(a).addClass(i),o.default(h).addClass(i);var f=c.getTransitionDurationFromElement(a);o.default(a).one(c.TRANSITION_END,(function(){o.default(h).removeClass(i+" "+n).addClass("active"),o.default(a).removeClass("active "+n+" "+i),s._isSliding=!1,setTimeout((function(){return o.default(s._element).trigger(u)}),0)})).emulateTransitionEnd(f)}else o.default(a).removeClass("active"),o.default(h).addClass("active"),this._isSliding=!1,o.default(this._element).trigger(u);p&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this).data("bs.carousel"),n=l({},b,o.default(this).data());"object"==typeof e&&(n=l({},n,e));var r="string"==typeof e?e:n.slide;if(i||(i=new t(this,n),o.default(this).data("bs.carousel",i)),"number"==typeof e)i.to(e);else if("string"==typeof r){if(void 0===i[r])throw new TypeError('No method named "'+r+'"');i[r]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}))},t._dataApiClickHandler=function(e){var i=c.getSelectorFromElement(this);if(i){var n=o.default(i)[0];if(n&&o.default(n).hasClass("carousel")){var r=l({},o.default(n).data(),o.default(this).data()),s=this.getAttribute("data-slide-to");s&&(r.interval=!1),t._jQueryInterface.call(o.default(n),r),s&&o.default(n).data("bs.carousel").to(s),e.preventDefault()}}},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return b}}]),t}();o.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",w._dataApiClickHandler),o.default(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,i=t.length;e<i;e++){var n=o.default(t[e]);w._jQueryInterface.call(n,n.data())}})),o.default.fn[m]=w._jQueryInterface,o.default.fn[m].Constructor=w,o.default.fn[m].noConflict=function(){return o.default.fn[m]=y,w._jQueryInterface};var k="collapse",C=o.default.fn[k],S={toggle:!0,parent:""},T={toggle:"boolean",parent:"(string|element)"},E=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('[data-toggle="collapse"]')),n=0,o=i.length;n<o;n++){var r=i[n],s=c.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter((function(e){return e===t}));null!==s&&a.length>0&&(this._selector=s,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(){o.default(this._element).hasClass("show")?this.hide():this.show()},e.show=function(){var e,i,n=this;if(!(this._isTransitioning||o.default(this._element).hasClass("show")||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains("collapse")}))).length&&(e=null),e&&(i=o.default(e).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var r=o.default.Event("show.bs.collapse");if(o.default(this._element).trigger(r),!r.isDefaultPrevented()){e&&(t._jQueryInterface.call(o.default(e).not(this._selector),"hide"),i||o.default(e).data("bs.collapse",null));var s=this._getDimension();o.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[s]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),l=c.getTransitionDurationFromElement(this._element);o.default(this._element).one(c.TRANSITION_END,(function(){o.default(n._element).removeClass("collapsing").addClass("collapse show"),n._element.style[s]="",n.setTransitioning(!1),o.default(n._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(l),this._element.style[s]=this._element[a]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&o.default(this._element).hasClass("show")){var e=o.default.Event("hide.bs.collapse");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",c.reflow(this._element),o.default(this._element).addClass("collapsing").removeClass("collapse show");var n=this._triggerArray.length;if(n>0)for(var r=0;r<n;r++){var s=this._triggerArray[r],a=c.getSelectorFromElement(s);null!==a&&(o.default([].slice.call(document.querySelectorAll(a))).hasClass("show")||o.default(s).addClass("collapsed").attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var l=c.getTransitionDurationFromElement(this._element);o.default(this._element).one(c.TRANSITION_END,(function(){t.setTransitioning(!1),o.default(t._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")})).emulateTransitionEnd(l)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){o.default.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=l({},S,t)).toggle=Boolean(t.toggle),c.typeCheckConfig(k,t,T),t},e._getDimension=function(){return o.default(this._element).hasClass("width")?"width":"height"},e._getParent=function(){var e,i=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 n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(e.querySelectorAll(n));return o.default(r).each((function(e,n){i._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])})),e},e._addAriaAndCollapsedClass=function(t,e){var i=o.default(t).hasClass("show");e.length&&o.default(e).toggleClass("collapsed",!i).attr("aria-expanded",i)},t._getTargetFromElement=function(t){var e=c.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data("bs.collapse"),r=l({},S,i.data(),"object"==typeof e&&e?e:{});if(!n&&r.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(r.toggle=!1),n||(n=new t(this,r),i.data("bs.collapse",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.6.0"}},{key:"Default",get:function(){return S}}]),t}();o.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=o.default(this),i=c.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(i));o.default(n).each((function(){var t=o.default(this),i=t.data("bs.collapse")?"toggle":e.data();E._jQueryInterface.call(t,i)}))})),o.default.fn[k]=E._jQueryInterface,o.default.fn[k].Constructor=E,o.default.fn[k].noConflict=function(){return o.default.fn[k]=C,E._jQueryInterface};var M="dropdown",A=o.default.fn[M],D=new RegExp("38|40|27"),L={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},O={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},P=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 e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!o.default(this._element).hasClass("disabled")){var e=o.default(this._menu).hasClass("show");t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||o.default(this._element).hasClass("disabled")||o.default(this._menu).hasClass("show"))){var i={relatedTarget:this._element},n=o.default.Event("show.bs.dropdown",i),s=t._getParentFromElement(this._element);if(o.default(s).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===r.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var a=this._element;"parent"===this._config.reference?a=s:c.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&o.default(s).addClass("position-static"),this._popper=new r.default(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o.default(s).closest(".navbar-nav").length&&o.default(document.body).children().on("mouseover",null,o.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o.default(this._menu).toggleClass("show"),o.default(s).toggleClass("show").trigger(o.default.Event("shown.bs.dropdown",i))}}},e.hide=function(){if(!this._element.disabled&&!o.default(this._element).hasClass("disabled")&&o.default(this._menu).hasClass("show")){var e={relatedTarget:this._element},i=o.default.Event("hide.bs.dropdown",e),n=t._getParentFromElement(this._element);o.default(n).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),o.default(this._menu).toggleClass("show"),o.default(n).toggleClass("show").trigger(o.default.Event("hidden.bs.dropdown",e)))}},e.dispose=function(){o.default.removeData(this._element,"bs.dropdown"),o.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;o.default(this._element).on("click.bs.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},e._getConfig=function(t){return t=l({},this.constructor.Default,o.default(this._element).data(),t),c.typeCheckConfig(M,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(".dropdown-menu"))}return this._menu},e._getPlacement=function(){var t=o.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=o.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":o.default(this._menu).hasClass("dropdown-menu-right")&&(e="bottom-end"),e},e._detectNavbar=function(){return o.default(this._element).closest(".navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),l({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this).data("bs.dropdown");if(i||(i=new t(this,"object"==typeof e?e:null),o.default(this).data("bs.dropdown",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var i=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),n=0,r=i.length;n<r;n++){var s=t._getParentFromElement(i[n]),a=o.default(i[n]).data("bs.dropdown"),l={relatedTarget:i[n]};if(e&&"click"===e.type&&(l.clickEvent=e),a){var h=a._menu;if(o.default(s).hasClass("show")&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&o.default.contains(s,e.target))){var c=o.default.Event("hide.bs.dropdown",l);o.default(s).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),i[n].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),o.default(h).removeClass("show"),o.default(s).removeClass("show").trigger(o.default.Event("hidden.bs.dropdown",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||o.default(e.target).closest(".dropdown-menu").length):!D.test(e.which))&&!this.disabled&&!o.default(this).hasClass("disabled")){var i=t._getParentFromElement(this),n=o.default(i).hasClass("show");if(n||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!n||27===e.which||32===e.which)return 27===e.which&&o.default(i.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void o.default(this).trigger("click");var r=[].slice.call(i.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function(t){return o.default(t).is(":visible")}));if(0!==r.length){var s=r.indexOf(e.target);38===e.which&&s>0&&s--,40===e.which&&s<r.length-1&&s++,s<0&&(s=0),r[s].focus()}}}},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return L}},{key:"DefaultType",get:function(){return O}}]),t}();o.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',P._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",P._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",P._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',(function(t){t.preventDefault(),t.stopPropagation(),P._jQueryInterface.call(o.default(this),"toggle")})).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})),o.default.fn[M]=P._jQueryInterface,o.default.fn[M].Constructor=P,o.default.fn[M].noConflict=function(){return o.default.fn[M]=A,P._jQueryInterface};var I=o.default.fn.modal,N={backdrop:!0,keyboard:!0,focus:!0,show:!0},j={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},R=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-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){o.default(this._element).hasClass("fade")&&(this._isTransitioning=!0);var i=o.default.Event("show.bs.modal",{relatedTarget:t});o.default(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',(function(t){return e.hide(t)})),o.default(this._dialog).on("mousedown.dismiss.bs.modal",(function(){o.default(e._element).one("mouseup.dismiss.bs.modal",(function(t){o.default(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 i=o.default.Event("hide.bs.modal");if(o.default(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var n=o.default(this._element).hasClass("fade");if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o.default(document).off("focusin.bs.modal"),o.default(this._element).removeClass("show"),o.default(this._element).off("
31click.dismiss.bs.modal"),o.default(this._dialog).off("mousedown.dismiss.bs.modal"),n){var r=c.getTransitionDurationFromElement(this._element);o.default(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 o.default(t).off(".bs.modal")})),o.default(document).off("focusin.bs.modal"),o.default.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=l({},N,t),c.typeCheckConfig("modal",t,j),t},e._triggerBackdropTransition=function(){var t=this,e=o.default.Event("hidePrevented.bs.modal");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._element.scrollHeight>document.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var n=c.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(c.TRANSITION_END),o.default(this._element).one(c.TRANSITION_END,(function(){t._element.classList.remove("modal-static"),i||o.default(t._element).one(c.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,n)})).emulateTransitionEnd(n),this._element.focus()}},e._showElement=function(t){var e=this,i=o.default(this._element).hasClass("fade"),n=this._dialog?this._dialog.querySelector(".modal-body"):null;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.setAttribute("role","dialog"),o.default(this._dialog).hasClass("modal-dialog-scrollable")&&n?n.scrollTop=0:this._element.scrollTop=0,i&&c.reflow(this._element),o.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var r=o.default.Event("shown.bs.modal",{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,o.default(e._element).trigger(r)};if(i){var a=c.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(c.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},e._enforceFocus=function(){var t=this;o.default(document).off("focusin.bs.modal").on("focusin.bs.modal",(function(e){document!==e.target&&t._element!==e.target&&0===o.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?o.default(this._element).on("keydown.dismiss.bs.modal",(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||o.default(this._element).off("keydown.dismiss.bs.modal")},e._setResizeEvent=function(){var t=this;this._isShown?o.default(window).on("resize.bs.modal",(function(e){return t.handleUpdate(e)})):o.default(window).off("resize.bs.modal")},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){o.default(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),o.default(t._element).trigger("hidden.bs.modal")}))},e._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,i=o.default(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on("click.dismiss.bs.modal",(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),i&&c.reflow(this._backdrop),o.default(this._backdrop).addClass("show"),!t)return;if(!i)return void t();var n=c.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(c.TRANSITION_END,t).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass("show");var r=function(){e._removeBackdrop(),t&&t()};if(o.default(this._element).hasClass("fade")){var s=c.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(c.TRANSITION_END,r).emulateTransitionEnd(s)}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=Math.round(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(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),i=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(e).each((function(e,i){var n=i.style.paddingRight,r=o.default(i).css("padding-right");o.default(i).data("padding-right",n).css("padding-right",parseFloat(r)+t._scrollbarWidth+"px")})),o.default(i).each((function(e,i){var n=i.style.marginRight,r=o.default(i).css("margin-right");o.default(i).data("margin-right",n).css("margin-right",parseFloat(r)-t._scrollbarWidth+"px")}));var n=document.body.style.paddingRight,r=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",n).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}o.default(document.body).addClass("modal-open")},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));o.default(t).each((function(t,e){var i=o.default(e).data("padding-right");o.default(e).removeData("padding-right"),e.style.paddingRight=i||""}));var e=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(e).each((function(t,e){var i=o.default(e).data("margin-right");void 0!==i&&o.default(e).css("margin-right",i).removeData("margin-right")}));var i=o.default(document.body).data("padding-right");o.default(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,i){return this.each((function(){var n=o.default(this).data("bs.modal"),r=l({},N,o.default(this).data(),"object"==typeof e&&e?e:{});if(n||(n=new t(this,r),o.default(this).data("bs.modal",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method n
31amed "'+e+'"');n[e](i)}else r.show&&n.show(i)}))},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return N}}]),t}();o.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){var e,i=this,n=c.getSelectorFromElement(this);n&&(e=document.querySelector(n));var r=o.default(e).data("bs.modal")?"toggle":l({},o.default(e).data(),o.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=o.default(e).one("show.bs.modal",(function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){o.default(i).is(":visible")&&i.focus()}))}));R._jQueryInterface.call(o.default(e),r,this)})),o.default.fn.modal=R._jQueryInterface,o.default.fn.modal.Constructor=R,o.default.fn.modal.noConflict=function(){return o.default.fn.modal=I,R._jQueryInterface};var F=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],G={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},B=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,H=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function z(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)return i(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),r=[].slice.call(n.body.querySelectorAll("*")),s=function(t,i){var n=r[t],s=n.nodeName.toLowerCase();if(-1===o.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var a=[].slice.call(n.attributes),l=[].concat(e["*"]||[],e[s]||[]);a.forEach((function(t){(function(t,e){var i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===F.indexOf(i)||Boolean(t.nodeValue.match(B)||t.nodeValue.match(H));for(var n=e.filter((function(t){return t instanceof RegExp})),o=0,r=n.length;o<r;o++)if(i.match(n[o]))return!0;return!1})(t,l)||n.removeAttribute(t.nodeName)}))},a=0,l=r.length;a<l;a++)s(a);return n.body.innerHTML}var $="tooltip",W=o.default.fn[$],X=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Y=["sanitize","whiteList","sanitizeFn"],U={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},q={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},V={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",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:G,popperConfig:null},K={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"},Z=function(){function t(t,e){if(void 0===r.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=o.default(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(o.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===o.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(e);var i=c.findShadowRoot(this.element),n=o.default.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var s=this.getTipElement(),a=c.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&o.default(s).addClass("fade");var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,h=this._getAttachment(l);this.addAttachmentClass(h);var d=this._getContainer();o.default(s).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(s).appendTo(d),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new r.default(this.element,s,this._getPopperConfig(h)),o.default(s).addClass("show"),o.default(s).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&o.default(document.body).children().on("mouseover",null,o.default.noop);var p=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,o.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(o.default(this.tip).hasClass("fade")){var u=c.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(c.TRANSITION_END,p).emulateTransitionEnd(u)}else p()}},e.hide=function(t){var e=this,i=this.getTipElement(),n=o.default.Event(this.constructor.Event.HIDE),r=function(){"show"!==e._hoverState&&i.parentNode&&i.parentNode.removeChild(i),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),o.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(o.default(this.element).trigger(n),!n.isDefaultPrevented()){if
vendor: 5,858 bytes, line 31
31(o.default(i).removeClass("show"),"ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,o.default(this.tip).hasClass("fade")){var s=c.getTransitionDurationFromElement(i);o.default(i).one(c.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(o.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),o.default(t).removeClass("fade show")},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=z(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?o.default(e).parent().is(t)||t.empty().append(e):t.text(o.default(e).text())},e.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},e._getPopperConfig=function(t){var e=this;return l({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:c.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},e._getAttachment=function(t){return q[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)o.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var i="hover"===e?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,n="hover"===e?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;o.default(t.element).on(i,t.config.selector,(function(e){return t._enter(e)})).on(n,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},o.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._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",""))},e._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),o.default(e.getTipElement()).hasClass("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){"show"===e._hoverState&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){"out"===e._hoverState&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=o.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Y.indexOf(t)&&delete e[t]})),"number"==typeof(t=l({},this.constructor.Default,e,"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($,t,this.constructor.DefaultType),t.sanitize&&(t.template=z(t.template,t.whiteList,t.sanitizeFn)),t},e._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},e._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr("class").match(X);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(o.default(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data("bs.tooltip"),r="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,r),i.data("bs.tooltip",n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method n
31amed "'+e+'"');n[e]()}}))},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return V}},{key:"NAME",get:function(){return $}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return K}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return U}}]),t}();o.default.fn[$]=Z._jQueryInterface,o.default.fn[$].Constructor=Z,o.default.fn[$].noConflict=function(){return o.default.fn[$]=W,Z._jQueryInterface};var Q="popover",J=o.default.fn[Q],tt=new RegExp("(^|\\s)bs-popover\\S+","g"),et=l({},Z.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>'}),it=l({},Z.DefaultType,{content:"(string|element|function)"}),nt={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"},ot=function(t){var e,i;function n(){return t.apply(this,arguments)||this}i=t,(e=n).prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i;var r=n.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass("bs-popover-"+t)},r.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},r.setContent=function(){var t=o.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr("class").match(tt);null!==e&&e.length>0&&t.removeClass(e.join(""))},n._jQueryInterface=function(t){return this.each((function(){var e=o.default(this).data("bs.popover"),i="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new n(this,i),o.default(this).data("bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},a(n,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return et}},{key:"NAME",get:function(){return Q}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return nt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return it}}]),n}(Z);o.default.fn[Q]=ot._jQueryInterface,o.default.fn[Q].Constructor=ot,o.default.fn[Q].noConflict=function(){return o.default.fn[Q]=J,ot._jQueryInterface};var rt="scrollspy",st=o.default.fn[rt],at={offset:10,method:"auto",target:""},lt={offset:"number",method:"string",target:"(string|element)"},ht=function(){function t(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return i._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,n="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,r=c.getSelectorFromElement(t);if(r&&(e=document.querySelector(r)),e){var s=e.getBoundingClientRect();if(s.width||s.height)return[o.default(e)[i]().top+n,r]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]}
vendor: 8,438 bytes, line 31
31)).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){o.default.removeData(this._element,"bs.scrollspy"),o.default(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=l({},at,"object"==typeof t&&t?t:{})).target&&c.isElement(t.target)){var e=o.default(t.target).attr("id");e||(e=c.getUID(rt),o.default(t.target).attr("id",e)),t.target="#"+e}return c.typeCheckConfig(rt,t,lt),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 o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},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+'"]'})),i=o.default([].slice.call(document.querySelectorAll(e.join(","))));i.hasClass("dropdown-item")?(i.closest(".dropdown").find(".dropdown-toggle").addClass("active"),i.addClass("active")):(i.addClass("active"),i.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),i.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),o.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(t){return t.classList.contains("active")})).forEach((function(t){return t.classList.remove("active")}))},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this).data("bs.scrollspy");if(i||(i=new t(this,"object"==typeof e&&e),o.default(this).data("bs.scrollspy",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return at}}]),t}();o.default(window).on("load.bs.scrollspy.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var i=o.default(t[e]);ht._jQueryInterface.call(i,i.data())}})),o.default.fn[rt]=ht._jQueryInterface,o.default.fn[rt].Constructor=ht,o.default.fn[rt].noConflict=function(){return o.default.fn[rt]=st,ht._jQueryInterface};var ct=o.default.fn.tab,dt=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&&o.default(this._element).hasClass("active")||o.default(this._element).hasClass("disabled"))){var e,i,n=o.default(this._element).closest(".nav, .list-group")[0],r=c.getSelectorFromElement(this._element);if(n){var s="UL"===n.nodeName||"OL"===n.nodeName?"> li > .active":".active";i=(i=o.default.makeArray(o.default(n).find(s)))[i.length-1]}var a=o.default.Event("hide.bs.tab",{relatedTarget:this._element}),l=o.default.Event("show.bs.tab",{relatedTarget:i});if(i&&o.default(i).trigger(a),o.default(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,n);var h=function(){var e=o.default.Event("hidden.bs.tab",{relatedTarget:t._element}),n=o.default.Event("shown.bs.tab",{relatedTarget:i});o.default(i).trigger(e),o.default(t._element).trigger(n)};e?this._activate(e,e.parentNode,h):h()}}},e.dispose=function(){o.default.removeData(this._element,"bs.tab"),this._element=null},e._activate=function(t,e,i){var n=this,r=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?o.default(e).children(".active"):o.default(e).find("> li > .active"))[0],s=i&&r&&o.default(r).hasClass("fade"),a=function(){return n._transitionComplete(t,r,i)};if(r&&s){var l=c.getTransitionDurationFromElement(r);o.default(r).removeClass("show").one(c.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},e._transitionComplete=function(t,e,i){if(e){o.default(e).removeClass("active");var n=o.default(e.parentNode).find("> .dropdown-menu .active")[0];n&&o.default(n).removeClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(o.default(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),c.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&o.default(t.parentNode).hasClass("dropdown-menu")){var r=o.default(t).closest(".dropdown")[0];if(r){var s=[].slice.call(r.querySelectorAll(".dropdown-toggle"));o.default(s).addClass("active")}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data("bs.tab");if(n||(n=new t(this),i.data("bs.tab",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.6.0"}}]),t}();o.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),dt._jQueryInterface.call(o.default(this),"show")})),o.default.fn.tab=dt._jQueryInterface,o.default.fn.tab.Constructor=dt,o.default.fn.tab.noConflict=function(){return o.default.fn.tab=ct,dt._jQueryInterface};var pt=o.default.fn.toast,ut={animation:"boolean",autohide:"boolean",delay:"number"},ft={animation:!0,autohide:!0,delay:500},gt=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,e=o.default.Event("show.bs.toast");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var i=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),o.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove("hide"),c.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var n=c.getTransitionDurationFromElement(this._element);o.default(this._element).one(c.TRANSITION_END,i).emulateTransitionEnd(n)}else i()}},e.hide=function(){if(this._element.classList.contains("show")){var t=o.default.Event("hide.bs.toast");o.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),o.default(this._element).off("click.dismiss.bs.toast"),o.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(t){return t=l({},ft,o.default(this._element).data(),"object"==typeof t&&t?t:{}),c.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;o.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',(function(){return t.hide()}))},e._close=function(){var t=this,e=function(){t._element.classList.add("hide"),o.default(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=c.getTransitionDurationFromElement(this._element);o.default(this._element).one(c.TRANSITION_END,e).emulateTransitionEnd(i)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each((function(){var i=o.default(this),n=i.data("bs.toast");if(n||(n=new t(this,"object"==typeof e&&e),i.data("bs.toast",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method n
31amed "'+e+'"');n[e](this)}}))},a(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"DefaultType",get:function(){return ut}},{key:"Default",get:function(){return ft}}]),t}();o.default.fn.toast=gt._jQueryInterface,o.default.fn.toast.Constructor=gt,o.default.fn.toast.noConflict=function(){return o.default.fn.toast=pt,gt._jQueryInterface},t.Alert=u,t.Button=g,t.Carousel=w,t.Collapse=E,t.Dropdown=P,t.Modal=R,t.Popover=ot,t.Scrollspy=ht,t.Tab=dt,t.Toast=gt,t.Tooltip=Z,t.Util=c,Object.defineProperty(t,"__esModule",{value:!0})}(e,i(0),i(20))},,,function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));i(2);var n=i(1),o=i(3);class r extends o.a{constructor(t,e){super(t,e),this.chartOptions.tooltip={useHTML:!0,formatter:function(){let t=this.point.y;return this.point.delta?`${this.x}: ${t.toFixed(0)} hours<br>${this.point.delta.toFixed(0)}% reduction`:`${this.x}: ${t.toFixed(0)} hours`}},this.chartOptions.yAxis.title.text="Effort in hours",this.chartOptions.xAxis.categories=["Year 1","Year 2","Year 3","Year 4"]}updateChart(t){this.chartOptions.series=[{name:"PMO",data:[],color:n.a.nokiaColor.Grey2},{name:"FMO 1",data:[],color:n.a.nokiaColor.Blue},{name:"FMO 2",data:[],color:n.a.nokiaColor.Grey4}];for(let e=0;e<t.length;e++){let i=t[e];for(let t=0;t<i.length;t++)this.chartOptions.series[e].data.push({y:i[t]})}this.updateChartData()}}},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));i(2);var n=i(1),o=i(3);class r extends o.a{constructor(t,e){super(t,e),this.chartOptions.plotOptions={column:{groupPadding:0},series:{dataLabels:{style:{fontSize:15},formatter:function(){return this.point.delta?this.point.delta.toFixed(1)+" times increase":""},enabled:!0}}},this.chartOptions.tooltip={useHTML:!0,formatter:function(){let t=this.point.y,e=this.point.category;return this.point.delta?`${e} capacity: ${t.toFixed(0)}<br>${this.point.delta.toFixed(1)} times increase`:`${e} capacity: ${t.toFixed(0)}`}},this.chartOptions.yAxis.title.text="Capacity",this.chartOptions.xAxis.categories=["PMO","FMO"],this.chartOptions.legend.enabled=!1}updateChart(t){this.chartOptions.series=[{data:[]}];let e=[n.a.nokiaColor.Grey3,n.a.nokiaColor.LightBlue];for(let i=0;i<t.length;i++)if(1==i){let n=t[1]/t[0];this.chartOptions.series[0].data.push({y:t[i],delta:n,color:e[i]})}else this.chartOptions.series[0].data.push({y:t[i],color:e[i]});this.updateChartData()}}},function(t,e,i){var n,o;n=[i(0)],void 0===(o=function(t){return function(t,e,i,n,o){"use strict";var r,s,a=0,l=(r=n.userAgent,s=/msie\s\d+/i,r.search(s)>0&&s.exec(r).toString().split(" ")[1]<9&&(t("html").addClass("lt-ie9"),!0));Function.prototype.bind||(Function.prototype.bind=function(t){var e=this,i=[].slice;if("function"!=typeof e)throw new TypeError;var n=i.call(arguments,1),o=function(){if(this instanceof o){var r=function(){};r.prototype=e.prototype;var s=new r,a=e.apply(s,n.concat(i.call(arguments)));return Object(a)===a?a:s}return e.apply(t,n.concat(i.call(arguments)))};return o}
31),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),o=n.length>>>0;if(0===o)return-1;var r=+e||0;if(Math.abs(r)===1/0&&(r=0),r>=o)return-1;for(i=Math.max(r>=0?r:o-Math.abs(r),0);i<o;){if(i in n&&n[i]===t)return i;i++}return-1});var h=function(n,r,s){this.VERSION="2.2.0",this.input=n,this.plugin_count=s,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,r=r||{},this.$cache={win:t(i),body:t(e.body),input:t(n),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var a,l,h,c=this.$cache.input,d=c.prop("value");for(h in a={type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null},"INPUT"!==c[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",c[0]),(l={type:c.data("type"),min:c.data("min"),max:c.data("max"),from:c.data("from"),to:c.data("to"),step:c.data("step"),min_interval:c.data("minInterval"),max_interval:c.data("maxInterval"),drag_interval:c.data("dragInterval"),values:c.data("values"),from_fixed:c.data("fromFixed"),from_min:c.data("fromMin"),from_max:c.data("fromMax"),from_shadow:c.data("fromShadow"),to_fixed:c.data("toFixed"),to_min:c.data("toMin"),to_max:c.data("toMax"),to_shadow:c.data("toShadow"),prettify_enabled:c.data("prettifyEnabled"),prettify_separator:c.data("prettifySeparator"),force_edges:c.data("forceEdges"),keyboard:c.data("keyboard"),grid:c.data("grid"),grid_margin:c.data("gridMargin"),grid_num:c.data("gridNum"),grid_snap:c.data("gridSnap"),hide_min_max:c.data("hideMinMax"),hide_from_to:c.data("hideFromTo"),prefix:c.data("prefix"),postfix:c.data("postfix"),max_postfix:c.data("maxPostfix"),decorate_both:c.data("decorateBoth"),values_separator:c.data("valuesSeparator"),input_values_separator:c.data("inputValuesSeparator"),disable:c.data("disable"),block:c.data("block"),extra_classes:c.data("extraClasses")}).values=l.values&&l.values.split(","),l)l.hasOwnProperty(h)&&(l[h]!==o&&""!==l[h]||delete l[h]);d!==o&&""!==d&&((d=d.split(l.input_values_separator||r.input_values_separator||";"))[0]&&d[0]==+d[0]&&(d[0]=+d[0]),d[1]&&d[1]==+d[1]&&(d[1]=+d[1]),r&&r.values&&r.values.length?(a.from=d[0]&&r.values.indexOf(d[0]),a.to=d[1]&&r.values.indexOf(d[1])):(a.from=d[0]&&+d[0],a.to=d[1]&&+d[1])),t.extend(a,r),t.extend(a,l),this.options=a,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()};h.prototype={init:function(t){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),t?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var t='<span class="irs js-irs-'+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(t),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="0"><span class="irs-line-left"></span><span class="irs-line-mid"></span><span class="irs-line-right"></span></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span><span class="irs-bar"></span>
31'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar-edge"></span><span class="irs-shadow shadow-single"></span><span class="irs-slider single"></span>'),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-slider from"></span><span class="irs-slider to"></span>'),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var t=this.options.min,e=this.options.max,i=this.options.from,n=this.options.to;i>t&&n===e?this.$cache.s_from.addClass("type_last"):n<e&&this.$cache.s_to.addClass("type_last")},changeLevel:function(t){switch(t){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),l&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("key
31down.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),l&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(t){var e,i;this.target||(e=(i="single"===this.options.type?this.$cache.single:this.$cache.from).offset().left,e+=i.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:e}))},pointerMove:function(t){if(this.dragging){var e=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;this.coords.x_pointer=e-this.coords.x_gap,this.calc()}},pointerUp:function(e){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,l&&t("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(t.contains(this.$cache.cont[0],e.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(e,i){i.preventDefault();var n=i.pageX||i.originalEvent.touches&&i.originalEvent.touches[0].pageX;2!==i.button&&("both"===e&&this.setTempMinInterval(),e||(e=this.target||"from"),this.current_plugin=this.plugin_count,this.target=e,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=n-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(e),l&&t("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(t,e){e.preventDefault();var i=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX;2!==e.button&&(this.current_plugin=this.plugin_count,this.target=t,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(i-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(t,e){if(!(this.current_plugin!==this.plugin_count||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){switch(e.which){case 83:case 65:case 40:case 37:e.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:e.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(t){var e=this.coords.p_pointer,i=(this.options.max-this.options.min)/100;i=this.options.step/i,t?e+=i:e-=i,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*e),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");if(this.options.values.length)this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]));else{var t=this._prettify(this.options.min),e=this._prettify(this.options.max);this.result.min_pretty=t,this.result.max_pretty=e,this.$cache.min.html(this.decorate(t,this.options.min)),this.$cache.max.html(this.decorate(e,this.options.max))}this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var t=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=t},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(t){if(this.options&&(this.calc_count++,(10===this.calc_count||t)&&(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var e=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,e=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,e=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(e)),this.target){case"base":var i=(this.options.max-this.options.min)/100,n=(this.result.from-this.options.min)/i,o=(this.result.to-this.options.min)/i;this.coords.p_single_real=this.toFixed(n),this.coords.p_from_real=this.toFixed(n),this.coords.p_to_real=this.toFixed(o),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(e),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(e),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(e),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;e=this.toFixed(e+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(e)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(e)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var r=this.convertToRealPercent(e),s=this.result.from_percent,a=this.result.to_percent-s,l=a/2,h=r-l,c=r+l;h<0&&(c=(h=0)+a),c>100&&(h=(c=100)-a),this.coords.p_from_real=this.calcWithStep(h),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(c),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}}
31,calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(t){return t/(100-this.coords.p_handle)*100},convertToFakePercent:function(t){return t/100*(100-this.coords.p_handle)},getHandleX:function(){var t=100-this.coords.p_handle,e=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return e<0?e=0:e>t&&(e=t),e},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(t){return"single"===this.options.type?"single":t>=this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake)):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake)))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),(this.coords.w_rs!==this.coords.w_rs_old||this.force_redraw)&&(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%",this.$cache.single[0].style.left=this.labels.p_single_left+"%"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",(this.old_from!==this.result.from||this.force_redraw)&&(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),(this.old_to!==this.result.to||this.force_redraw)&&(this.$cache.to[0].style.left=this.labels.p_to_left+"%"),this.$cache.single[0].style.left=this.labels.p_single_left+"%"),this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var t,e,i,n,o,r=this.options.values.length,s=this.options.p_values;if(!this.options.hide_from_to)if("single"===this.options.type)r?(t=this.decorate(s[this.result.from]),this.$cache.single.html(t)):(n=this._prettify(this.result.from),t=this.decorate(n,this.result.from),this.$cache.single.html(t)),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible";else{r?(this.options.decorate_both?(t=this.decorate(s[this.result.from]),t+=this.options.values_separator,t+=this.decorate(s[this.result.to])):t=this.decorate(s[this.result.from]+this.options.values_separator+s[this.result.to]),e=this.decorate(s[this.result.from]),i=this.decorate(s[this.result.to]),this.$cache.single.html(t),this.$cache.from.html(e),this.$cache.to.html(i)):(n=this._prettify(this.result.from),o=this._prettify(this.result.to),this.options.decorate_both?(t=this.decorate(n,this.result.from),t+=this.options.values_separator,t+=this.decorate(o,this.result.to)):t=this.decorate(n+this.options.values_separator+o,this.result.to),e=this.decorate(n,this.result.from),i=this.decorate(o,this.result.to),this.$cache.single.html(t),this.$cache.from.html(e),this.$cache.to.html(i)),this.calcLabels();var a=Math.min(this.labels.p_single_left,this.labels.p_from_left),l=this.labels.p_single_left+this.labels.p_single_fake,h=this.labels.p_to_left+this.labels.p_to_fake,c=Math.max(l,h);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",c=h):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",c=Math.max(l,h))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),a<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",c>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"}}},drawShadow:function(){var t,e,i,n,o=this.options,r=this.$cache,s="number"==typeof o.from_min&&!isNaN(o.from_min),a="number"==typeof o.from_max&&!isNaN(o.from_max),l="number"==typeof o.to_min&&!isNaN(o.to_min),h="number"==typeof o.to_max&&!isNaN(o.to_max);"single"===o.type?o.from_shadow&&(s||a)?(t=this.convertToPercent(s?o.from_min:o.min),e=this.convertToPercent(a?o.from_max:o.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,r.shad_single[0].style.display="block",r.shad_single[0].style.left=t+"%",r.shad_single[0].style.width=e+"%"):r.shad_single[0].style.display="none":(o.from_shadow&&(s||a)?(t=this.convertToPercent(s?o.from_min:o.min),e=this.convertToPercent(a?o.from_max:o.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,r.shad_from[0].style.display="block",r.shad_from[0].style.left=t+"%",r.shad_from[0].style.width=e+"%"):r.shad_from[0].style.display="none",o.to_shadow&&(l||h)?(i=this.convertToPercent(l?o.to_min:o.min),n=this.convertToPercent(h?o.to_max:o.max)-i,i=this.toFixed(i-this.coords.p_handle/100*i),n=this.toFixed(n-this.coords.p_handle/100*n),i+=this.coords.p_handle/2,r.shad_to[0].style.display="block",r.shad_to[0].style.left=i+"%",r.shad_to[0].style.width=n+"%"):r.shad_to[0].style.display="none")}
31,writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(t,e){var i,n=this.options.max-this.options.min,o=n/100;return n?(i=(e?t:t-this.options.min)/o,this.toFixed(i)):(this.no_diapason=!0,0)},convertToValue:function(t){var e,i,n=this.options.min,o=this.options.max,r=n.toString().split(".")[1],s=o.toString().split(".")[1],a=0,l=0;if(0===t)return this.options.min;if(100===t)return this.options.max;r&&(a=e=r.length),s&&(a=i=s.length),e&&i&&(a=e>=i?e:i),n<0&&(n=+(n+(l=Math.abs(n))).toFixed(a),o=+(o+l).toFixed(a));var h,c=(o-n)/100*t+n,d=this.options.step.toString().split(".")[1];return d?c=+c.toFixed(d.length):(c/=this.options.step,c=+(c*=this.options.step).toFixed(0)),l&&(c-=l),(h=d?+c.toFixed(d.length):this.toFixed(c))<this.options.min?h=this.options.min:h>this.options.max&&(h=this.options.max),h},calcWithStep:function(t){var e=Math.round(t/this.coords.p_step)*this.coords.p_step;return e>100&&(e=100),100===t&&(e=100),this.toFixed(e)},checkMinInterval:function(t,e,i){var n,o,r=this.options;return r.min_interval?(n=this.convertToValue(t),o=this.convertToValue(e),"from"===i?o-n<r.min_interval&&(n=o-r.min_interval):n-o<r.min_interval&&(n=o+r.min_interval),this.convertToPercent(n)):t},checkMaxInterval:function(t,e,i){var n,o,r=this.options;return r.max_interval?(n=this.convertToValue(t),o=this.convertToValue(e),"from"===i?o-n>r.max_interval&&(n=o-r.max_interval):n-o>r.max_interval&&(n=o+r.max_interval),this.convertToPercent(n)):t},checkDiapason:function(t,e,i){var n=this.convertToValue(t),o=this.options;return"number"!=typeof e&&(e=o.min),"number"!=typeof i&&(i=o.max),n<e&&(n=e),n>i&&(n=i),this.convertToPercent(n)},toFixed:function(t){return+(t=t.toFixed(20))},_prettify:function(t){return this.options.prettify_enabled?this.options.prettify&&"function"==typeof this.options.prettify?this.options.prettify(t):this.prettify(t):t},prettify:function(t){return t.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(t,e){return this.options.force_edges?(t<0?t=0:t>100-e&&(t=100-e),this.toFixed(t)):this.toFixed(t)},validate:function(){var t,e,i=this.options,n=this.result,o=i.values,r=o.length;if("string"==typeof i.min&&(i.min=+i.min),"string"==typeof i.max&&(i.max=+i.max),"string"==typeof i.from&&(i.from=+i.from),"string"==typeof i.to&&(i.to=+i.to),"string"==typeof i.step&&(i.step=+i.step),"string"==typeof i.from_min&&(i.from_min=+i.from_min),"string"==typeof i.from_max&&(i.from_max=+i.from_max),"string"==typeof i.to_min&&(i.to_min=+i.to_min),"string"==typeof i.to_max&&(i.to_max=+i.to_max),"string"==typeof i.grid_num&&(i.grid_num=+i.grid_num),i.max<i.min&&(i.max=i.min),r)for(i.p_values=[],i.min=0,i.max=r-1,i.step=1,i.grid_num=i.max,i.grid_snap=!0,e=0;e<r;e++)t=+o[e],isNaN(t)?t=o[e]:(o[e]=t,t=this._prettify(t)),i.p_values.push(t);("number"!=typeof i.from||isNaN(i.from))&&(i.from=i.min),("number"!=typeof i.to||isNaN(i.to))&&(i.to=i.max),"single"===i.type?(i.from<i.min&&(i.from=i.min),i.from>
31i.max&&(i.from=i.max)):(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max),i.to<i.min&&(i.to=i.min),i.to>i.max&&(i.to=i.max),this.update_check.from&&(this.update_check.from!==i.from&&i.from>i.to&&(i.from=i.to),this.update_check.to!==i.to&&i.to<i.from&&(i.to=i.from)),i.from>i.to&&(i.from=i.to),i.to<i.from&&(i.to=i.from)),("number"!=typeof i.step||isNaN(i.step)||!i.step||i.step<0)&&(i.step=1),"number"==typeof i.from_min&&i.from<i.from_min&&(i.from=i.from_min),"number"==typeof i.from_max&&i.from>i.from_max&&(i.from=i.from_max),"number"==typeof i.to_min&&i.to<i.to_min&&(i.to=i.to_min),"number"==typeof i.to_max&&i.from>i.to_max&&(i.to=i.to_max),n&&(n.min!==i.min&&(n.min=i.min),n.max!==i.max&&(n.max=i.max),(n.from<n.min||n.from>n.max)&&(n.from=i.from),(n.to<n.min||n.to>n.max)&&(n.to=i.to)),("number"!=typeof i.min_interval||isNaN(i.min_interval)||!i.min_interval||i.min_interval<0)&&(i.min_interval=0),("number"!=typeof i.max_interval||isNaN(i.max_interval)||!i.max_interval||i.max_interval<0)&&(i.max_interval=0),i.min_interval&&i.min_interval>i.max-i.min&&(i.min_interval=i.max-i.min),i.max_interval&&i.max_interval>i.max-i.min&&(i.max_interval=i.max-i.min)},decorate:function(t,e){var i="",n=this.options;return n.prefix&&(i+=n.prefix),i+=t,n.max_postfix&&(n.values.length&&t===n.p_values[n.max]||e===n.max)&&(i+=n.max_postfix,n.postfix&&(i+=" ")),n.postfix&&(i+=n.postfix),i},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var t,e,i,n,o,r=this.options,s=r.max-r.min,a=r.grid_num,l=0,h=0,c=4,d="";for(this.calcGridMargin(),r.grid_snap?s>50?(a=50/r.step,l=this.toFixed(r.step/.5)):(a=s/r.step,l=this.toFixed(r.step/(s/100))):l=this.toFixed(100/a),a>4&&(c=3),a>7&&(c=2),a>14&&(c=1),a>28&&(c=0),t=0;t<a+1;t++){for(i=c,(h=this.toFixed(l*t))>100&&(h=100),this.coords.big[t]=h,n=(h-l*(t-1))/(i+1),e=1;e<=i&&0!==h;e++)d+='<span class="irs-grid-pol small" style="left: '+this.toFixed(h-n*e)+'%"></span>';d+='<span class="irs-grid-pol" style="left: '+h+'%"></span>',o=this.convertToValue(h),d+='<span class="irs-grid-text js-grid-text-'+t+'" style="left: '+h+'%">'+(o=r.values.length?r.p_values[o]:this._prettify(o))+"</span>"}this.coords.big_num=Math.ceil(a+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(d),this.cacheGridLabels()}},cacheGridLabels:function(){var t,e,i=this.coords.big_num;for(e=0;e<i;e++)t=this.$cache.grid.find(".js-grid-text-"+e),this.$cache.grid_labels.push(t);this.calcGridLabels()},calcGridLabels:function(){var t,e,i=[],n=[],o=this.coords.big_num;for(t=0;t<o;t++)this.coords.big_w[t]=this.$cache.grid_labels[t].outerWidth(!1),this.coords.big_p[t]=this.toFixed(this.coords.big_w[t]/this.coords.w_rs*100),this.coords.big_x[t]=this.toFixed(this.coords.big_p[t]/2),i[t]=this.toFixed(this.coords.big[t]-this.coords.big_x[t]),n[t]=this.toFixed(i[t]+this.coords.big_p[t]);for(this.options.force_edges&&(i[0]<-this.coords.grid_gap&&(i[0]=-this.coords.grid_gap,n[0]=this.toFixed(i[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),n[o-1]>100+this.coords.grid_gap&&(n[o-1]=100+this.coords.grid_gap,i[o-1]=this.toFixed(n[o-1]-this.coords.big_p[o-1]),this.coords.big_x[o-1]=this.toFixed(this.coords.big_p[o-1]-this.coords.grid_gap))),this.calcGridCollision(2,i,n),this.calcGridCollision(4,i,n),t=0;t<o;t++)e=this.$cache.grid_labels[t][0],this.coords.big_x[t]!==Number.POSITIVE_INFINITY&&(e.style.marginLeft=-this.coords.big_x[t]+"%")},calcGridCollision:function(t,e,i){var n,o,r,s=this.coords.big_num;for(n=0;n<s&&!((o=n+t/2)>=s);n+=t)r=this.$cache.grid_labels[o][0],i[n]<=e[o]?r.style.visibility="visible":r.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[
310].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(e){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=t.extend(this.options,e),this.validate(),this.updateResult(e),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),t.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},t.fn.ionRangeSlider=function(e){return this.each((function(){t.data(this,"ionRangeSlider")||t.data(this,"ionRangeSlider",new h(this,e,a++))}))},function(){for(var t=0,e=["ms","moz","webkit","o"],n=0;n<e.length&&!i.requestAnimationFrame;++n)i.requestAnimationFrame=i[e[n]+"RequestAnimationFrame"],i.cancelAnimationFrame=i[e[n]+"CancelAnimationFrame"]||i[e[n]+"CancelRequestAnimationFrame"];i.requestAnimationFrame||(i.requestAnimationFrame=function(e,n){var o=(new Date).getTime(),r=Math.max(0,16-(o-t)),s=i.setTimeout((function(){e(o+r)}),r);return t=o+r,s}),i.cancelAnimationFrame||(i.cancelAnimationFrame=function(t){clearTimeout(t)})}()}(t,document,window,navigator)}.apply(e,n))||(t.exports=o)},function(t,e,i){"use strict";i.r(e),function(t){
32/**!
33 * @fileOverview Kickass library to create and place poppers near their reference elements.
34 * @version 1.16.1
35 * @license
36 * Copyright (c) 2016 Federico Zivolo and contributors
37 *
38 * Permission is hereby granted, free of charge, to any person obtaining a copy
39 * of this software and associated documentation files (the "Software"), to deal
40 * in the Software without restriction, including without limitation the rights
41 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
42 * copies of the Software, and to permit persons to whom the Software is
43 * furnished to do so, subject to the following conditions:
44 *
45 * The above copyright notice and this permission notice shall be included in all
46 * copies or substantial portions of the Software.
47 *
48 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
51 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
52 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
53 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
54 * SOFTWARE.
55 */
56var i="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,n=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(i&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();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()}),n))}};function r(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(i+o+n)?t:l(a(t))}function h(t){return t&&t.referenceNode?t.referenceNode:t}var c=i&&!(!window.MSInputMethodContext||!document.documentMode),d=i&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?c:10===t?d:c||d}function u(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"===s(i,"position")?u(i):i:t?t.ownerDocument.documentElement:document.documentElement}function f(t){return null!==t.parentNode?f(t.parentNode):t}function g(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,o=i?e:t,r=document.createRange();r.setStart(n,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&u(s.firstElementChild)!==s?u(l):l;var h=f(t);return h.host?g(h.host,e):g(t,f(e).host)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[i]}return t[i]}function v(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=m(e,"top"),o=m(e,"left"),r=i?-1:1;return t.top+=n*r,t.bottom+=n*r,t.left+=o*r,t.right+=o*r,t}function y(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"])+parseFloat(t["border"+n+"Width"])}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 x(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 _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},w=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)}}
vendor: 4,217 bytes, line 56
56return 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},C=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 S(t){return C({},t,{right:t.left+t.width,bottom:t.top+t.height})}function T(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var i=m(t,"top"),n=m(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?x(t.ownerDocument):{},a=r.width||t.clientWidth||o.width,l=r.height||t.clientHeight||o.height,h=t.offsetWidth-a,c=t.offsetHeight-l;if(h||c){var d=s(t);h-=y(d,"x"),c-=y(d,"y"),o.width-=h,o.height-=c}return S(o)}function E(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=p(10),o="HTML"===e.nodeName,r=T(t),a=T(e),h=l(t),c=s(e),d=parseFloat(c.borderTopWidth),u=parseFloat(c.borderLeftWidth);i&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=S({top:r.top-a.top-d,left:r.left-a.left-u,width:r.width,height:r.height});if(f.marginTop=0,f.marginLeft=0,!n&&o){var g=parseFloat(c.marginTop),m=parseFloat(c.marginLeft);f.top-=d-g,f.bottom-=d-g,f.left-=u-m,f.right-=u-m,f.marginTop=g,f.marginLeft=m}return(n&&!i?e.contains(h):e===h&&"BODY"!==h.nodeName)&&(f=v(f,e)),f}function M(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=E(t,i),o=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),s=e?0:m(i),a=e?0:m(i,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:r};return S(l)}function A(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var i=a(t);return!!i&&A(i)}function D(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function L(t,e,i,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?D(t):g(t,h(e));if("viewport"===n)r=M(s,o);else{var c=void 0;"scrollParent"===n?"BODY"===(c=l(a(e))).nodeName&&(c=t.ownerDocument.documentElement):c="window"===n?t.ownerDocument.documentElement:n;var d=E(c,s,o);if("HTML"!==c.nodeName||A(s))r=d;else{var p=x(t.ownerDocument),u=p.height,f=p.width;r.top+=d.top-d.marginTop,r.bottom=u+d.top,r.left+=d.left-d.marginLeft,r.right=f+d.left}}var m="number"==typeof(i=i||0);return r.left+=m?i:i.left||0,r.top+=m?i:i.top||0,r.right-=m?i:i.right||0,r.bottom-=m?i:i.bottom||0,r}function O(t){return t.width*t.height}function P(t,e,i,n,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=L(i,n,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return C({key:t},a[t],{area:O(a[t])})})).sort((function(t,e){return e.area-t.area})),h=l.filter((function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight})),c=h.length>0?h[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function I(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?D(e):g(e,h(i));return E(i,o,n)}function N(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 j(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 R(t,e,i){i=i.split("-")[0];var n=N(t),o={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",h=r?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[h]:e[j(a)],o}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}
vendor: 8,270 bytes, line 56
56function G(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=F(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&&r(i)&&(e.offsets.popper=S(e.offsets.popper),e.offsets.reference=S(e.offsets.reference),e=i(e,t))})),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=I(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=P(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=R(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=G(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function H(t,e){return t.some((function(t){var i=t.name;return t.enabled&&i===e}))}function z(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],r=o?""+o+i:t;if(void 0!==document.body.style[r])return r}return null}function $(){return this.state.isDestroyed=!0,H(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[z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(t){var e=t.ownerDocument;return e?e.defaultView:window}function X(t,e,i,n){i.updateBound=n,W(t).addEventListener("resize",i.updateBound,{passive:!0});var o=l(t);return function t(e,i,n,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(i,n,{passive:!0}),r||t(l(s.parentNode),i,n,o),o.push(s)}(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function Y(){this.state.eventsEnabled||(this.state=X(this.reference,this.options,this.state,this.scheduleUpdate))}function U(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,W(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 q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function V(t,e){Object.keys(e).forEach((function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&q(e[i])&&(n="px"),t.style[i]=e[i]+n}))}var K=i&&/Firefox/i.test(navigator.userAgent);function Z(t,e,i){var n=F(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===i&&t.enabled&&t.order<n.order}));if(!o){var r="`"+e+"`",s="`"+i+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var Q=["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"],J=Q.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=J.indexOf(t),n=J.slice(i+1).concat(J.slice(0,i));return e?n.reverse():n}var et="flip",it="clockwise",nt="counterclockwise";function ot(t,e,i,n){var o=[0,0],r=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(F(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,h=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(h=h.map((function(t,n){var o=(1===n?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=i;break;case"%":case"%r":default:a=n}return S(a)[e]/100*r}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(t,o,e,i)}))}))).forEach((function(t,e){t.forEach((function(i,n){q(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))}))})),o}var rt={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 o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",h=a?"width":"height",c={start:k({},l,r[l]),end:k({},l,r[l]+r[h]-s[h])};t.offsets.popper=C({},s,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=q(+i)?[+i,0]:ot(i,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(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||u(t.instance.popper);t.instance.reference===i&&(i=u(i));var n=z("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=L(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);o.top=r,o.left=s,o[n]=a,e.boundaries=l;var h=e.priority,c=t.offsets.popper,d={primary:function(t){var i=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(c[t],l[t])),k({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=c[i];return c[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(c[i],l[t]-("right"===t?c.width:c.height))),k({},i,n)}};return h.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=C({},c,d[e](t))})),t.offsets.popper=c,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,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",h=s?"width":"height";return i[a]<r(n[l])&&(t.offsets.popper[l]=r(n[l])-i[h]),i[l]>r(n[a])&&(t.offsets.popper[l]=r(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!Z(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 o=t.placement.split("-")[0],r=t.offsets,a=r.popper,l=r.reference,h=-1!==["left","right"].indexOf(o),c=h?"height":"width",d=h?"Top":"Left",p=d.toLowerCase(),u=h?"left":"top",f=h?"bottom":"right",g=N(n)[c];l[f]-g<a[p]&&(t.offsets.popper[p]-=a[p]-(l[f]-g)),l[p]+g>a[f]&&(t.offsets.popper[p]+=l[p]+g-a[f]),t.offsets.popper=S(t.offsets.popper);var m=l[p]+l[c]/2-g/2,v=s(t.instance.popper),y=parseFloat(v["margin"+d]),b=parseFloat(v["border"+d+"Width"]),x=m-t.offsets.popper[p]-y-b;return x=Math.max(Math.min(a[c]-g,x),0),t.arrowElement=n,t.offsets.arrow=(k(i={},p,Math.round(x)),k(i,u,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(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],o=j(n),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case et:s=[n,o];break;case it:s=tt(n);break;case nt:s=tt(n,!0);break;default:s=e.behavior}
vendor: 3,377 bytes, line 56
56return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=j(n);var h=t.offsets.popper,c=t.offsets.reference,d=Math.floor,p="left"===n&&d(h.right)>d(c.left)||"right"===n&&d(h.left)<d(c.right)||"top"===n&&d(h.bottom)>d(c.top)||"bottom"===n&&d(h.top)<d(c.bottom),u=d(h.left)<d(i.left),f=d(h.right)>d(i.right),g=d(h.top)<d(i.top),m=d(h.bottom)>d(i.bottom),v="left"===n&&u||"right"===n&&f||"top"===n&&g||"bottom"===n&&m,y=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(y&&"start"===r&&u||y&&"end"===r&&f||!y&&"start"===r&&g||!y&&"end"===r&&m),x=!!e.flipVariationsByContent&&(y&&"start"===r&&f||y&&"end"===r&&u||!y&&"start"===r&&m||!y&&"end"===r&&g),_=b||x;(p||v||_)&&(t.flipped=!0,(p||v)&&(n=s[l+1]),_&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=n+(r?"-"+r:""),t.offsets.popper=C({},t.offsets.popper,R(t.instance.popper,t.offsets.reference,t.placement)),t=G(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,r=n.reference,s=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[s?"left":"top"]=r[i]-(a?o[s?"width":"height"]:0),t.placement=j(e),t.offsets.popper=S(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=F(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,o=t.offsets.popper,r=F(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 s=void 0!==r?r:e.gpuAcceleration,a=u(t.instance.popper),l=T(a),h={position:o.position},c=function(t,e){var i=t.offsets,n=i.popper,o=i.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(o.width),h=r(n.width),c=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),p=e?c||d||l%2==h%2?r:s:a,u=e?r:a;return{left:p(l%2==1&&h%2==1&&!d&&e?n.left-1:n.left),top:u(n.top),bottom:u(n.bottom),right:p(n.right)}}(t,window.devicePixelRatio<2||!K),d="bottom"===i?"top":"bottom",p="right"===n?"left":"right",f=z("transform"),g=void 0,m=void 0;if(m="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,g="right"===p?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,s&&f)h[f]="translate3d("+g+"px, "+m+"px, 0)",h[d]=0,h[p]=0,h.willChange="transform";else{var v="bottom"===d?-1:1,y="right"===p?-1:1;h[d]=m*v,h[p]=g*y,h.willChange=d+", "+p}var b={"x-placement":t.placement};return t.attributes=C({},b,t.attributes),t.styles=C({},h,t.styles),t.arrowStyles=C({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return V(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEac
56h((function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&V(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var r=I(o,e,t,i.positionFixed),s=P(i.placement,r,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",s),V(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},st=function(){function t(e,i){var n=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=o(this.update.bind(this)),this.options=C({},t.Defaults,s),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(C({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){n.options.modifiers[e]=C({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return C({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&r(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return w(t,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),t}();st.Utils=("undefined"!=typeof window?window:t).PopperUtils,st.placements=Q,st.Defaults=rt,e.default=st}.call(this,i(21))},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){var i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(i){var n=new Uint8Array(16);t.exports=function(){return i(n),n}}else{var o=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),o[e]=t>>>((3&e)<<3)&255;return o}}},function(t,e){for(var i=[],n=0;n<256;++n)i[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0,o=i;return[o[t[n++]],o[t[n++]],o[t[n++]],o[t[n++]],"-",o[t[n++]],o[t[n++]],"-",o[t[n++]],o[t[n++]],"-",o[t[n++]],o[t[n++]],"-",o[t[n++]],o[t[n++]],o[t[n++]],o[t[n++]],o[t[n++]],o[t[n++]]].join("")}},function(t,e,i){var n=i(26),o=i(27),r=o;r.v1=n,r.v4=o,t.exports=r},function(t,e,i){"use strict";i.r(e);var n=i(0),o=i.n(n),r=(i(14),i(19),i(24)),s=i(1),a=i(4),l=i(8),h=i(9),c=i(10);let d=!1,p=null,u={interactions:0,actions:{fascility:!1,"pmo-dcs":!1,"pmo-pods":!1,"pmo-dual-homing":!1,"pmo-uplinks":!1,"pmo-utilization":!1,"fmo-utilization":!1,"pmo-growth":!1,"pmo-10G-servers-per-rack":!1,"fmo-10G-servers-per-rack":!1,"pmo-25G-servers-per-rack":!1,"fmo-25G-servers-per-rack":!1,"fmo-100G-servers-per-rack":!1,"pmo-10G-racks-per-pod":!1,"fmo-10G-racks-per-pod":!1,"pmo-25G-racks-per-pod":!1,"fmo-25G-racks-per-pod":!1,"fmo-100G-racks-per-pod":!1,"fmo-leaf-spine-uplink-speed-100G":!1,"pmo-leaf-uplink-count-40G":!1,"fmo-leaf-uplink-count-40G":!1,"pmo-leaf-uplink-count-100G":!1,"fmo-leaf-uplink-count-100G":!1,"fmo-leaf-uplink-count-100G2":!1,"pmo-spine-uplink-count-40G":!1,"pmo-spine-uplink-count-100G":!1,"fmo-spine-uplink-count-100G":!1,"fmo-spine-uplink-count-100G2":!1,"day-0-weeks":!1,"day-0-fte":!1,"day-0-planning":!1,"day-0-design":!1,"day-0-installation":!1,"day-1-weeks":!1,"day-1-fte":!1,"day-1-deployment":!1,"day-1-configuration":!1,"day-1-integration":!1,"day-1-testing":!1,"day-2-growth":!1,"day-2-fte":!1,"day-2-y2-growth":!1,"day-2-y3-growth":!1,"day-2-y4-growth":!1,"day-2-operations":!1,"day-2-change":!1,"day-2-incident":!1,"day-2-security":!1,"day-2-upgrade":!1,"day-2-training":!1,"day-2-integration":!1},configChanged:!1,tasksChanged:!1};function f(){g(),m(),v()}function g(){let t=s.a.guiValues["day-0-planning"]+s.a.guiValues["day-0-design"]+s.a.guiValues["day-0-installation"];return o()("#day-0-total-effort").html(t.toFixed(0)+"%"),100!==t?(o()("#day-0-total-effort").removeClass("pct-ok"),o()("#day-0-total-effort").addClass("pct-error"),!1):(o()("#day-0-total-effort").removeClass("pct-error"),o()("#day-0-total-effort").addClass("pct-ok"),!0)}function m(){let t=s.a.guiValues["day-1-deployment"]+s.a.guiValues["day-1-configuration"]+s.a.guiValues["day-1-integration"]+s.a.guiValues["day-1-testing"];return o()("#day-1-total-effort").html(t.toFixed(0)+"%"),100!==t?(o()("#day-1-total-effort").removeClass("pct-ok"),o()("#day-1-total-effort").addClass("pct-error"),!1):(o()("#day-1-total-effort").removeClass("pct-error"),o()("#day-1-total-effort").addClass("pct-ok"),!0)}function v(){let t=s.a.guiValues["day-2-operations"]+s.a.guiValues["day-2-change"]+s.a.guiValues["day-2-incident"]+s.a.guiValues["day-2-security"]+s.a.guiValues["day-2-upgrade"]+s.a.guiValues["day-2-training"]+s.a.guiValues["day-2-integration"];return o()("#day-2-total-effort").html(t.toFixed(0)+"%"),100!==t?(o()("#day-2-total-effort").removeClass("pct-ok"),o()("#day-2-total-effort").addClass("pct-error"),!1):(o()("#day-2-total-effort").removeClass("pct-error"),o()("#day-2-total-effort").addClass("pct-ok"),!0)}function y(){"small"===s.a.guiValues.fascility?(b(l.a),a.a.setSmall()):"medium"===s.a.guiValues.fascility?(b(h.a),a.a.setMedium()):(b(c.a),a.a.setLarge()),f()}function b(t){s.a.setRadio("fascility",t.fascility),s.a.setRange("pmo-dcs",t["pmo-dcs"]),s.a.setRange("pmo-pods",t["pmo-pods"]),s.a.setRadio("pmo-dual-homing",t["pmo-dual-homing"]),s.a.setRadio("pmo-uplinks",t["pmo-uplinks"]),s.a.setRange("pmo-utilization",t["pmo-utilization"]),s.a.setRange("fmo-utilization",t["fmo-utilization"]),s.a.setRange("pmo-growth",t["pmo-growth"]),s.a.setRange("pmo-10G-servers-per-rack",t["pmo-10G-servers-per-rack"]),s.a.setRange("fmo-10G-servers-per-rack",t["fmo-10G-servers-per-rack"]),s.a.setRange("pmo-25G-servers-per-rack",t["pmo-25G-servers-per-rack"]),s.a.setRange("fmo-25G-servers-per-rack",t["fmo-25G-servers-per-rack"]),s.a.setRange("fmo-100G-servers-per-rack",t["fmo-100G-servers-per-rack"]),s.a.setRange("pmo-10G-racks-per-pod",t["pmo-10G-racks-per-pod"]),s.a.setRange("fmo-10G-racks-per-pod",t["fmo-10G-racks-per-pod"]),s.a.setRange("pmo-25G-racks-per-pod",t["pmo-25G-racks-per-pod"]),s.a.setRange("fmo-25G-racks-per-pod",t["fmo-25G-racks-per-pod"]),s.a.setRange("fmo-100G-racks-per-pod",t["fmo-100G-racks-per-pod"]),s.a.setRadio("fmo-leaf-spine-uplink-speed-100G",t["fmo-leaf-spine-uplink-speed-100G"]),s.a.setRange("pmo-leaf-uplink-count-40G",t["pmo-leaf-uplink-count-40G"]),s.a.setRange("fmo-leaf-uplink-count-40G",t["fmo-leaf-uplink-count-40G"]),s.a.setRange("pmo-leaf-uplink-count-100G",t["pmo-leaf-uplink-count-100G"]),s.a.setRange("fmo-leaf-uplink-count-100G",t["fmo-leaf-uplink-count-100G"]),s.a.setRange("fmo-leaf-uplink-count-100G2",t["fmo-leaf-uplink-count-100G2"]),s.a.setRange("pmo-spine-uplink-count-40G",t["pmo-spine-uplink-count-40G"]),s.a.setRange("pmo-spine-uplink-count-100G",t["pmo-spine-uplink-count-100G"]),s.a.setRange("fmo-spine-uplink-count-100G",t["fmo-s
56pine-uplink-count-100G"]),s.a.setRange("fmo-spine-uplink-count-100G2",t["fmo-spine-uplink-count-100G2"]),s.a.setRange("day-0-weeks",t["day-0-weeks"]),s.a.setRange("day-0-fte",t["day-0-fte"]),s.a.setRange("day-0-planning",t["day-0-planning"]),s.a.setRange("day-0-design",t["day-0-design"]),s.a.setRange("day-0-installation",t["day-0-installation"]),s.a.setRange("day-1-weeks",t["day-1-weeks"]),s.a.setRange("day-1-fte",t["day-1-fte"]),s.a.setRange("day-1-deployment",t["day-1-deployment"]),s.a.setRange("day-1-configuration",t["day-1-configuration"]),s.a.setRange("day-1-integration",t["day-1-integration"]),s.a.setRange("day-1-testing",t["day-1-testing"]),s.a.setRange("day-2-growth",t["day-2-growth"]),s.a.setRange("day-2-fte",t["day-2-fte"]),s.a.setRange("day-2-y2-growth",t["day-2-y2-growth"]),s.a.setRange("day-2-y3-growth",t["day-2-y3-growth"]),s.a.setRange("day-2-y4-growth",t["day-2-y4-growth"]),s.a.setRange("day-2-operations",t["day-2-operations"]),s.a.setRange("day-2-change",t["day-2-change"]),s.a.setRange("day-2-incident",t["day-2-incident"]),s.a.setRange("day-2-security",t["day-2-security"]),s.a.setRange("day-2-upgrade",t["day-2-upgrade"]),s.a.setRange("day-2-training",t["day-2-training"]),s.a.setRange("day-2-integration",t["day-2-integration"]),w()}function x(t){u.tasksChanged=!0,w(t)}function _(t){u.configChanged=!0,w(t)}function w(t){void 0!==u.actions[t]&&0==u.actions[t]&&(u.actions[t]=!0,u.interactions+=1),"Leaf: 100 GE, Spine: 100 GE"==s.a.guiValues["fmo-leaf-spine-uplink-speed-100G"]?(s.a.disable("fmo-spine-uplink-count-100G2",!0),s.a.disable("fmo-spine-uplink-count-100G",!1),s.a.disable("pmo-spine-uplink-count-100G",!1)):(s.a.disable("fmo-spine-uplink-count-100G2",!1),s.a.disable("fmo-spine-uplink-count-100G",!0),s.a.disable("pmo-spine-uplink-count-100G",!0)),o()("#fmo-dcs").html(s.a.guiValues["pmo-dcs"]),o()("#fmo-pods").html(s.a.guiValues["pmo-pods"]),o()("#fmo-dual-homing").html(s.a.guiValues["pmo-dual-homing"]),o()("#fmo-uplinks").html(s.a.guiValues["pmo-uplinks"]),o()("#fmo-growth").html(s.a.guiValues["pmo-growth"]);let e=s.a.guiValues["pmo-10G-servers-per-rack"]*s.a.guiValues["pmo-10G-racks-per-pod"];o()("#pmo-10G-total").html(e);let i=s.a.guiValues["pmo-25G-servers-per-rack"]*s.a.guiValues["pmo-25G-racks-per-pod"];o()("#pmo-25G-total").html(i),o()("#pmo-10G-pct").html((100*e/(e+i)).toFixed(0)+"%"),o()("#pmo-25G-pct").html((100*i/(e+i)).toFixed(0)+"%"),o()("#pmo-total-servers").html((e+i)*s.a.guiValues["pmo-pods"]),e=s.a.guiValues["fmo-10G-servers-per-rack"]*s.a.guiValues["fmo-10G-racks-per-pod"],o()("#fmo-10G-total").html(e),i=s.a.guiValues["fmo-25G-servers-per-rack"]*s.a.guiValues["fmo-25G-racks-per-pod"],o()("#fmo-25G-total").html(i);let n=s.a.guiValues["fmo-100G-servers-per-rack"]*s.a.guiValues["fmo-100G-racks-per-pod"];o()("#fmo-100G-total").html(n),o()("#fmo-10G-pct").html((100*e/(e+i+n)).toFixed(0)+"%"),o()("#fmo-25G-pct").html((100*i/(e+i+n)).toFixed(0)+"%"),o()("#fmo-100G-pct").html((100*n/(e+i+n)).toFixed(0)+"%"),o()("#fmo-total-servers").html((e+i+n)*s.a.guiValues["pmo-pods"]);let r=s.a.guiValues["pmo-utilization"],a=Math.round(100*(Math.pow(99/r,1/3)-1)),l=s.a.guiValues["pmo-growth"];s.a.genRange("pmo-growth","",{min:1,max:Math.min(a,100),from:Math.min(a,l),step:1,postfix:"%"},w),r=s.a.guiValues["fmo-utilization"],a=Math.round(100*(Math.pow(99/r,1/3)-1)),o()("#fmo-growth").html(s.a.guiValues["pmo-growth"]+"%");let h=s.a.guiValues["day-2-fte"],c=Math.ceil((1+s.a.guiValues["day-2-y2-growth"]/100)*h),d=Math.ceil((1+s.a.guiValues["day-2-y3-growth"]/100)*c),p=Math.ceil((1+s.a.guiValues["day-2-y4-growth"]/100)*d);o()("#day-2-3a").html("("+c.toFixed(0)+" FTE)"),o()("#day-2-y3-growtha").html("("+d.toFixed(0)+" FTE)"),o()("#day-2-y4-growtha").html("("+p.toFixed(0)+" FTE)")}async function k(){let t=new URL(window.location.href);p=t.searchParams.get("id"),o()("#ready").fadeOut(1),o()((function(){o()('[data-toggle="tooltip"]').tooltip()})),o()(".blc-loading").fadeOut("slow"),o()(".container-fluid").css("opacity",1),o()("#btn-report").on("click",async()=>{await a.a.update(s.a.guiValues)&&function(){if(console.log("Print PDF"),p){window.open("/report.html?id="+p,"Report","height=2000,width=1000")}}()}),s.a.genRadio("fascility","",[{name:"Small - 1 DC, 1600 servers per DC, 22 Full Time Equivalent (FTE)",value:"small"},{name:"Medium - 2 DCs, 3200 servers per DC, 32 FTE",value:"medium",checked:!0},{name:"Large - 4 DCs, 12800 servers per DC, 56 FTE",value:"large"}],y,!1),s.a.genRange("pmo-dcs","",{min:1,max:10,from:2,step:1},_),s.a.genRange("pmo-pods","",{min:1,max:10,from:4,step:1},_),s.a.genRadio("pmo-dual-homing","",[{name:"Yes",value:"Yes",checked:!0},{name:"No",value:"No"}],_,!0),s.a.genRadio("pmo-uplinks","",[{name:"2",value:"2",checked:!0},{name:"4",value:"4"}],_,!0),s.a.genRange("pmo-utilization","",{min:5,max:100,from:20,step:5,postfix:"%"},_),s.a.genRange("fmo-utilization","",{min:5,max:100,from:20,step:5,postfix:"%"},_),s.a.genRange("pmo-growth","",{min:0,max:100,from:35,step:5,postfix:"%"},_),s.a.genRange("pmo-10G-servers-per-rack","",{min:0,max:48,from:20,step:1},_),s.a.genRange("fmo-10G-servers-per-rack","",{min:0,max:48,from:20,step:1},_),s.a.genRange("pmo-25G-servers-per-rack","",{min:0,max:48,from:20,step:1},_),s.a.genRange("fmo-25G-servers-per-rack","",{min:0,max:48,from:20,step:1},_),s.a.genRange("fmo-100G-servers-per-rack","",{min:0,max:30,from:24,step:1},_),s.a.genRange("pmo-10G-racks-per-pod","",{min:0,max:50,from:30,step:1},_),s.a.genRange("fmo-10G-racks-per-pod","",{min:0,max:50,from:0,step:1},_),s.a.genRange("pmo-25G-racks-per-pod","",{min:0,max:50,from:0,step:1},_),s.a.genRange("fmo-25G-racks-per-pod","",{min:0,max:50,from:20,step:1},_),s.a.genRange("fmo-100G-racks-per-pod","",{min:0,max:50,from:10,step:1},_),s.a.genRadio("fmo-leaf-spine-uplink-speed-100G","",[{name:"Spine: 100 GE",value:"Leaf: 100 GE, Spine: 100 GE",checked:!0},{name:"Spine: 400 GE",value:"Leaf: 100 GE, Spine: 400 GE"}],_,!0),s.a.genRange("pmo-leaf-uplink-count-40G","",{min:2,max:8,from:4,step:2},_),s.a.genRange("fmo-leaf-uplink-count-40G","",{min:2,max:8,from:4,step:2},_),s.a.genRange("pmo-leaf-uplink-count-100G","",{min:2,max:8,from:4,step:2},_),s.a.genRange("fmo-leaf-uplink-count-100G","",{min:2,max:8,from:4,step:2},_),s.a.genRange("fmo-leaf-uplink-count-100G2","",{min:2,max:8,from:4,step:2},_),s.a.genRange("pmo-spine-uplink-count-40G","",{min:2,max:4,from:4,step:2},_),s.a.genRange("pmo-spine-uplink-count-100G","",{min:2,max:8,from:4,step:2},_),s.a.genRange("fmo-spine-uplink-count-100G","",{min:2,max:16,from:4,step:2},_),s.a.genRange("fmo-spine-uplink-count-100G2","",{min:2,max:4,from:4,step:2},_),s.a.genRange("day-0-weeks","",{min:2,max:52,from:12,step:1},x),s.a.genRange("day-0-fte","",{min:1,max:30,from:12,step:1},x),s.a.genRange("day-0-planning","",{min:0,max:100,from:10,step:1,postfix:"%"},x,g),s.a.genRange("day-0-design","",{min:0,max:100,from:80,step:1,postfix:"%"},x,g),s.a.genRange("day-0-installation","",{min:0,max:100,from:10,step:1,postfix:"%"},x,g),s.a.genRange("day-1-weeks","",{min:1,max:26,from:8,step:1},x),s.a.genRange("day-1-fte","",{min:1,max:30,from:8,step:1},x),s.a.genRange("day-1-deployment","",{min:0,max:100,from:20,step:1,postfix:"%"},x,m),s.a.genRange("day-1-configuration","",{min:0,max:100,from:40,step:1,postfix:"%"},x,m),s.a.genRange("day-1-integration","",{min:0,max:100,from:20,step:1,postfix:"%"},x,m),s.a.genRange("day-1-testing","",{min:0,max:100,from:20,step:1,postfix:"%"},x,m),s.a.genRange("day-2-growth","",{min:0,max:100,from:35,step:5,postfix:"%"},x),s.a.genRange("day-2-fte","",{min:3,max:50,from:10,step:1},x),s.a.genRange("day-2-y2-growth","",{min:0,max:100,from:10,step:1,postfix:"%"},x),s.a.genRange("day-2-y3-growth","",{min:0,max:100,from:20,step:1,postfix:"%"},x),s.a.genRange("day-2-y4-growth","",{min:0,max:100,from:20,step:1,postfix:"%"},x),s.a.genRange("day-2-operations","",{min:0,max:100,from:15,step:1,postfix:"%"},x,v),s.a.genRange("day-2-change","",{min:0,max:100,from:50,step:1,postfix:"%"},x,v),s.a.genRange("day-2-incident","",{min:0,max:100,from:15,step:1,postfix:"%"},x,v),s.a.genRange("day-2-security","",{min:0,max:100,from:5,step:1,postfix:"%"},x,v),s.a.genRange("day-2-upgrade","",{min:0,max:100,from:5,step:1,postfix:"%"},x,v),s.a.genRange("day-2-training","",{min:0,max:100,from:5,step:1,postfix:"%"},x,v),s.a.genRange("day-2-integration","",{min:0,max:100,from:5,step:1,postfix:"%"},x,v),f(),p?(d=!0,a.a.init(d),o()("#btn-contact").hide(),o()(".level2").show(),o()(".level1").hide(),o()("#section-7").html("Print report"),await async function(t){try{const e=await fetch("/dcf/db?id="+t,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"GET"});if(!e.ok)throw new Error(`id=${t} ${e.status} ${e.statusText}`);const i=await e.json();b(i),await a.a.update(s.a.guiValues)}catch(t){s.a.error(t)}}(p)):(d=!1,a.a.init(d),o()(".level1").show(),o()(".level2").hide(),y()),o()("#btn-reset-inputs-1").on("click",(function(){y()})),o()("#btn-reset-inputs-2").on("click",(function(){y()})),o()("#btn-calculate-1").on("click",async()=>{try{o()("body").css("cursor","progress"),o()("#btn-calculate").css("cursor","progress"),await a.a.update(s.a.guiValues),o()("body").css("cursor","default"),o()("#btn-calculate").css("cursor","pointer")}catch(t){s.a.error("Connection error")}}),o()("#btn-calculate-2").on("click",async()=>{try{o()("body").css("cursor","progress"),o()("#btn-calculate").css("cursor","progress"),await a.a.update(s.a.guiValues),o()("body").css("cursor","default"),o()("#btn-calculate").css("cursor","pointer"),o()("#ready").fadeIn(1),o()("#ready").fadeOut(3e3)}catch(t){s.a.error("Connection error")}}),o()(".mktoFormRow").css("width","500px"),o()(window).resize(),p||(p=Object(r.v4)(),setTimeout((function(){o()('input[name="mktoBCAReportID"]').val(p),o()('button[type="submit"]').on("click",async()=>{await async function(t){await fetch("/dcf/db?id="+t,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify(s.a.guiValues,null,4)})}(p)})}),3e3)),window.addEventListener("beforeunload",(function(t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({"Number of calculator field interactions":u.interactions,event:"All calculator interactions"}),u.configChanged&&u.tasksChanged?window.dataLayer.push({"Calculator section":"Manual data center fabric configuration+Task configuration",event:"Calculator usage"}):u.configChanged?window.dataLayer.push({"Calculator section":"Manual data center fabric configuration",event:"Calculator usage"}):u.tasksChanged&&window.dataLayer.push({"Calculator section":"Task configuration",event:"Calculator usage"})}),!1)}o()(document).ready((function(){k()}))}
vendor: 1,098 bytes, line 56
56,function(t,e,i){var n,o,r=i(22),s=i(23),a=0,l=0;t.exports=function(t,e,i){var h=e&&i||0,c=e||[],d=(t=t||{}).node||n,p=void 0!==t.clockseq?t.clockseq:o;if(null==d||null==p){var u=r();null==d&&(d=n=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==p&&(p=o=16383&(u[6]<<8|u[7]))}var f=void 0!==t.msecs?t.msecs:(new Date).getTime(),g=void 0!==t.nsecs?t.nsecs:l+1,m=f-a+(g-l)/1e4;if(m<0&&void 0===t.clockseq&&(p=p+1&16383),(m<0||f>a)&&void 0===t.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=f,l=g,o=p;var v=(1e4*(268435455&(f+=122192928e5))+g)%4294967296;c[h++]=v>>>24&255,c[h++]=v>>>16&255,c[h++]=v>>>8&255,c[h++]=255&v;var y=f/4294967296*1e4&268435455;c[h++]=y>>>8&255,c[h++]=255&y,c[h++]=y>>>24&15|16,c[h++]=y>>>16&255,c[h++]=p>>>8|128,c[h++]=255&p;for(var b=0;b<6;++b)c[h+b]=d[b];return e||s(c)}},function(t,e,i){var n=i(22),o=i(23);t.exports=function(t,e,i){var r=e&&i||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var s=(t=t||{}).random||(t.rng||n)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,e)for(var a=0;a<16;++a)e[r+a]=s[a];return e||o(s)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.