telegram : @iamdarkcomedy i am hacker

path :/home/bisorgosof24/public_html/Backup23122024

upload file:

List of files:

name file size edit permission action
.env2733 KBDecember 22 2024 06:20:070644
404.html58370 KBNovember 20 2024 15:32:220644
502.html58368 KBNovember 20 2024 15:32:220644
Modules-December 11 2024 21:02:560755
README.md4158 KBFebruary 14 2023 12:31:560644
app-December 11 2024 17:57:480755
artisan1686 KBFebruary 14 2023 12:31:560644
bootstrap-December 11 2024 20:23:360755
composer.json3761 KBDecember 11 2024 22:15:000644
composer.lock512048 KBDecember 11 2024 22:13:280644
config-June 15 2025 02:09:360755
database-December 05 2024 20:18:120755
dfsdf dfds fd fds findex.html1420 KBNovember 20 2024 15:32:240644
error_log11795579 KBJuly 18 2025 12:31:150644
firoz-December 23 2024 13:24:460755
index.php1667 KBDecember 14 2024 05:20:360644
lang-December 11 2024 21:02:480755
modules_statuses.json472 KBNovember 20 2024 15:32:240644
mpos-March 31 2025 02:36:310755
package.json226 KBFebruary 14 2023 12:31:560644
phpunit.xml1146 KBFebruary 14 2023 12:31:560644
public-March 31 2025 02:36:310755
resources-December 11 2024 21:10:220755
routes-June 15 2025 02:09:310755
storage-December 11 2024 21:12:440755
tests-December 05 2024 20:18:120755
vendor-December 11 2024 22:13:300755
vite.config.js263 KBFebruary 14 2023 12:31:560644

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 230
if((()=>{var A,t={5496:function(A){A.exports=function(){"use strict";const A=(A,t,e,n)=>(A=""+A,t=""+t,n&&(A=A.trim(),t=t.trim()),e?A==t:A.toLowerCase()==t.toLowerCase());function t(A){var t=document.createElement("div");return A.replace(/\&#?[0-9a-z]+;/gi,(function(A){return t.innerHTML=A,t.innerText}))}function e(A,t){for(t=t||"previous";A=A[t+"Sibling"];)if(3==A.nodeType)return A}function n(A){return A.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/`|'/g,"'")}function i(A){return A instanceof Array}function r(A){var t=Object.prototype.toString.call(A).split(" ")[1].slice(0,-1);return A===Object(A)&&"Array"!=t&&"Function"!=t&&"RegExp"!=t&&"HTMLUnknownElement"!=t}function o(A,t,e){function n(A,t){for(var e in t)if(t.hasOwnProperty(e)){if(r(t[e])){r(A[e])?n(A[e],t[e]):A[e]=Object.assign({},t[e]);continue}if(i(t[e])){A[e]=Object.assign([],t[e]);continue}A[e]=t[e]}}return A instanceof Object||(A={}),n(A,t),e&&n(A,e),A}function s(A){return String.prototype.normalize?"string"==typeof A?A.normalize("NFD").replace(/[\u0300-\u036f]/g,""):void 0:A}var a,c=()=>/(?=.*chrome)(?=.*android)/i.test(navigator.userAgent),u={init(){this.DOM.dropdown=this.parseTemplate("dropdown",[this.settings]),this.DOM.dropdown.content=this.DOM.dropdown.querySelector(this.settings.classNames.dropdownWrapperSelector)},show(t){var e,n,i,o=this.settings,s="mix"==o.mode&&!o.enforceWhitelist,a=!o.whitelist||!o.whitelist.length,c="manual"==o.dropdown.position;if(t=void 0===t?this.state.inputText:t,(!a||s||o.templates.dropdownItemNoMatch)&&!1!==o.dropdown.enable&&!this.state.isLoading){if(clearTimeout(this.dropdownHide__bindEventsTimeout),this.suggestedListItems=this.dropdown.filterListItems.call(this,t),t&&!this.suggestedListItems.length&&(this.trigger("dropdown:noMatch",t),o.templates.dropdownItemNoMatch&&(i=o.templates.dropdownItemNoMatch.call(this,{value:t}))),!i){if(this.suggestedListItems.length)t&&s&&!this.state.editing.scope&&!A(this.suggestedListItems[0].value,t)&&this.suggestedListItems.unshift({value:t});else{if(!t||!s||this.state.editing.scope)return this.input.autocomplete.suggest.call(this),void this.dropdown.hide.call(this);this.suggestedListItems=[{value:t}]}n=""+(r(e=this.suggestedListItems[0])?e.value:e),o.autoComplete&&n&&0==n.indexOf(t)&&this.input.autocomplete.suggest.call(this,e)}this.dropdown.fill.call(this,i),o.dropdown.highlightFirst&&this.dropdown.highlightOption.call(this,this.DOM.dropdown.content.children[0]),this.state.dropdown.visible||setTimeout(this.dropdown.events.binding.bind(this)),this.state.dropdown.visible=t||!0,this.state.dropdown.query=t,this.setStateSelection(),c||setTimeout((()=>{this.dropdown.position.call(this),this.dropdown.render.call(this)})),setTimeout((()=>{this.trigger("dropdown:show",this.DOM.dropdown)}))}},hide(A){var t=this.DOM,e=t.scope,n=t.dropdown,i="manual"==this.settings.dropdown.position&&!A;if(n&&document.body.contains(n)&&!i)return window.removeEventListener("resize",this.dropdown.position),this.dropdown.events.binding.call(this,!1),e.setAttribute("aria-expanded",!1),n.parentNode.removeChild(n),setTimeout((()=>{this.state.dropdown.visible=!1}),100),this.state.dropdown.query=this.state.ddItemData=this.state.ddItemElm=this.state.selection=null,this.state.tag&&this.state.tag.value.length&&(this.state.flaggedTags[this.state.tag.baseOffset]=this.state.tag),this.trigger("dropdown:hide",n),this},render(){var A,t,e=((t=this.DOM.dropdown.cloneNode(!0)).style.cssText="position:fixed; top:-9999px; opacity:0",document.body.appendChild(t),A=t.clientHeight,t.parentNode.removeChild(t),A),n=this.settings;return this.DOM.scope.setAttribute("aria-expanded",!0),document.body.contains(this.DOM.dropdown)||(this.DOM.dropdown.classList.add(n.classNames.dropdownInital),this.dropdown.position.call(this,e),n.dropdown.appendTarget.appendChild(this.DOM.dropdown),setTimeout((()=>this.DOM.dropdown.classList.remove(n.classNames.dropdownInital)))),this},fill(A){var t;A="string"==typeof A?A:this.dropdown.createListHTML.call(this,A||this.suggestedListItems),this.DOM.dropdown.content.innerHTML=(t=A)?t.replace(/\>[\r\n ]+\<").replace(/(<.*?>)|\s+/g,((A,t)=>t||" ")):""},refilter(A){A=A||this.state.dropdown.query||"",this.suggestedListItems=this.dropdown.filterListItems.call(this,A),this.dropdown.fill.call(this),this.suggestedListItems.length||this.dropdown.hide.call(this),this.trigger("dropdown:updated",this.DOM.dropdown)},position(A){var t=this.settings.dropdown;if("manual"!=t.position){var e,n,i,r,o,s,a=this.DOM.dropdown,c=t.placeAbove,u=document.documentElement.clientHeight,l=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>480?t.position:"all",d=this.DOM["input"==l?"input":"scope"];A=A||a.clientHeight,this.state.dropdown.visible&&("text"==l?(i=(e=this.getCaretGlobalPosition()).bottom,n=e.top,r=e.left,o="auto"):(s=function(A){for(var t=0,e=0;A;)t+=A.offsetLeft||0,e+=A.offsetTop||0,A=A.parentNode;return{left:t,top:e}}(this.settings.dropdown.appendTarget),n=(e=d.getBoundingClientRect()).top-s.top,i=e.bottom-1-s.top,r=e.left-s.left,o=e.width+"px"),n=Math.floor(n),i=Math.ceil(i),c=void 0===c?u-e.bottom{t?this.dropdown.selectOption.call(this,t):this.dropdown.hide.call(this)})).catch((A=>A));break;case"Backspace":{if("mix"==this.settings.mode||this.state.editing.scope)return;let A=this.state.inputText.trim();""!=A&&8203!=A.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0))}}},onMouseOver(A){var t=A.target.closest(this.settings.classNames.dropdownItemSelector);t&&this.dropdown.highlightOption.call(this,t)},onMouseLeave(A){this.dropdown.highlightOption.call(this)},onClick(A){if(0==A.button&&A.target!=this.DOM.dropdown&&A.target!=this.DOM.dropdown.content){var t=A.target.closest(this.settings.classNames.dropdownItemSelector),e=this.dropdown.getSuggestionDataByNode.call(this,t);this.state.actions.selectOption=!0,setTimeout((()=>this.state.actions.selectOption=!1),50),this.settings.hooks.suggestionClick(A,{tagify:this,tagData:e,suggestionElm:t}).then((()=>{t?this.dropdown.selectOption.call(this,t):this.dropdown.hide.call(this)})).catch((A=>A))}},onScroll(A){var t=A.target,e=t.scrollTop/(t.scrollHeight-t.parentNode.clientHeight)*100;this.trigger("dropdown:scroll",{percentage:Math.round(e)})}}},getSuggestionDataByNode(A){var t=A?+A.getAttribute("tagifySuggestionIdx"):-1;return this.suggestedListItems[t]||null},highlightOption(A,t){var e,n=this.settings.classNames.dropdownItemActive;if(this.state.ddItemElm&&(this.state.ddItemElm.classList.remove(n),this.state.ddItemElm.removeAttribute("aria-selected")),!A)return this.state.ddItemData=null,this.state.ddItemElm=null,void this.input.autocomplete.suggest.call(this);e=this.suggestedListItems[this.getNodeIndex(A)],this.state.ddItemData=e,this.state.ddItemElm=A,A.classList.add(n),A.setAttribute("aria-selected",!0),t&&(A.parentNode.scrollTop=A.clientHeight+A.offsetTop-A.parentNode.clientHeight),this.settings.autoComplete&&(this.input.autocomplete.suggest.call(this,e),this.dropdown.position.call(this))},selectOption(A){var t=this.settings.dropdown,e=t.clearOnSelect,n=t.closeOnSelect;if(!A)return this.addTags(this.state.inputText,!0),void(n&&this.dropdown.hide.call(this));var i=A.getAttribute("tagifySuggestionIdx"),r=this.suggestedListItems[+i];if(this.trigger("dropdown:select",{data:r,elm:A}),i&&r){if(this.state.editing?this.onEditTagDone(null,o({__isValid:!0},r)):this["mix"==this.settings.mode?"addMixTags":"addTags"]([r],e),setTimeout((()=>{this.DOM.input.focus(),this.toggleFocusClass(!0)})),n)return this.dropdown.hide.call(this);this.dropdown.refilter.call(this)}else this.dropdown.hide.call(this)},selectAll(){return this.suggestedListItems.length=0,this.dropdown.hide.call(this),this.addTags(this.dropdown.filterListItems.call(this,""),!0),this},filterListItems(A,t){var e,n,i,o,a,c=this.settings,u=c.dropdown,l=(t=t||{},[]),d=c.whitelist,f=u.maxItems||1/0,h=u.searchKeys,p=0;if(!A||!h.length||"select"==c.mode)return(c.duplicates?d:d.filter((A=>!this.isTagDuplicate(r(A)?A.value:A)))).slice(0,f);function g(A,t){return t.toLowerCase().split(" ").every((t=>A.includes(t.toLowerCase())))}for(a=u.caseSensitive?""+A:(""+A).toLowerCase();ph.includes(A)))?h:["value"];if(u.fuzzySearch&&!t.exact?(i=A.reduce(((A,t)=>A+" "+(e[t]||"")),"").toLowerCase(),u.accentedSearch&&(i=s(i),a=s(a)),n=g(i,a)):n=A.some((A=>{var n=""+(e[A]||"");return u.accentedSearch&&(n=s(n),a=s(a)),u.caseSensitive||(n=n.toLowerCase()),t.exact?n==a:0==n.indexOf(a)})),o=!c.duplicates&&this.isTagDuplicate(r(e)?e.value:e),n&&!o&&f--&&l.push(e),0==f)break}return l},getMappedValue(A){var t=this.settings.dropdown.mapValueTo;return t?"function"==typeof t?t(A):A[t]||A.value:A.value},createListHTML(A){return o([],A).map(((A,t)=>{"string"!=typeof A&&"number"!=typeof A||(A={value:A});var e=this.dropdown.getMappedValue.call(this,A);return A.value=e&&"string"==typeof e?n(e):e,this.settings.templates.dropdownItem.call(this,A).replace(/\s*tagifySuggestionIdx=(["'])(.*?)\1/gim,"").replace(">",` tagifySuggestionIdx="${t}">`)})).join("")}},l={delimiters:",",pattern:null,tagTextProp:"value",maxTags:1/0,callbacks:{},addTagOnBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,keepInvalidTags:!1,mixTagsAllowedAfter:/,|\.|\:|\s/,mixTagsInterpolator:["[[","]]"],backspace:!0,skipInvalid:!1,editTags:{clicks:2,keepInvalid:!0},transformTag:()=>{},trim:!0,mixMode:{insertAfterTag:" "},autoComplete:{enabled:!0,rightKey:!1},classNames:{namespace:"tagify",mixMode:"tagify--mix",selectMode:"tagify--select",input:"tagify__input",focus:"tagify--focus",tag:"tagify__tag",tagNoAnimation:"tagify--noAnim",tagInvalid:"tagify--invalid",tagNotAllowed:"tagify--notAllowed",inputInvalid:"tagify__input--invalid",tagX:"tagify__tag__removeBtn",tagText:"tagify__tag-text",dropdown:"tagify__dropdown",dropdownWrapper:"tagify__dropdown__wrapper",dropdownItem:"tagify__dropdown__item",dropdownItemActive:"tagify__dropdown__item--active",dropdownInital:"tagify__dropdown--initial",scopeLoading:"tagify--loading",tagLoading:"tagify__tag--loading",tagEditing:"tagify__tag--editable",tagFlash:"tagify__tag--flash",tagHide:"tagify__tag--hide",hasMaxTags:"tagify--hasMaxTags",hasNoTags:"tagify--noTags",empty:"tagify--empty"},dropdown:{classname:"",enabled:2,maxItems:10,searchKeys:["value","searchBy"],fuzzySearch:!0,caseSensitive:!1,accentedSearch:!0,highlightFirst:!1,closeOnSelect:!0,clearOnSelect:!0,position:"all",appendTarget:null},hooks:{beforeRemoveTag:()=>Promise.resolve(),suggestionClick:()=>Promise.resolve()}},d={wrapper:(A,t)=>`\n \n `,tag(A){return`\n \n
\n ${A[this.settings.tagTextProp]||A.value}\n
\n
`},dropdown(A){var t=A.dropdown,e="manual"==t.position,n=`${A.classNames.dropdown}`;return`
\n
\n
`},dropdownItem(A){return`
${A.value}
`},dropdownItemNoMatch:null},f={customBinding(){this.customEventsList.forEach((A=>{this.on(A,this.settings.callbacks[A])}))},binding(A=!0){var t,e=this.events.callbacks,n=A?"addEventListener":"removeEventListener";if(!this.state.mainEvents||!A)for(var i in this.state.mainEvents=A,A&&!this.listeners.main&&(this.DOM.input.addEventListener(this.isIE?"keydown":"input",e[this.isIE?"onInputIE":"onInput"].bind(this)),this.settings.isJQueryPlugin&&jQuery(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),t=this.listeners.main=this.listeners.main||{focus:["input",e.onFocusBlur.bind(this)],blur:["input",e.onFocusBlur.bind(this)],keydown:["input",e.onKeydown.bind(this)],click:["scope",e.onClickScope.bind(this)],dblclick:["scope",e.onDoubleClickScope.bind(this)],paste:["input",e.onPaste.bind(this)]})("blur"!=i||A)&&this.DOM[t[i][0]][n](i,t[i][1])},callbacks:{onFocusBlur(A){var t=A.target?this.trim(A.target.textContent):"",e=this.settings,n=A.type,i=e.dropdown.enabled>=0,r={relatedTarget:A.relatedTarget},o=this.state.actions.selectOption&&(i||!e.dropdown.closeOnSelect),s=this.state.actions.addNew&&i;if("blur"==n){if(A.relatedTarget===this.DOM.scope)return this.dropdown.hide.call(this),void this.DOM.input.focus();this.postUpdate(),this.triggerChangeEvent()}if(!o&&!s)if(this.state.hasFocus="focus"==n&&+new Date,this.toggleFocusClass(this.state.hasFocus),"mix"!=e.mode){if("focus"==n)return this.trigger("focus",r),void(0===e.dropdown.enabled&&this.dropdown.show.call(this));"blur"==n&&(this.trigger("blur",r),this.loading(!1),("select"==this.settings.mode?!this.value.length||this.value[0].value!=t:t&&!this.state.actions.selectOption&&e.addTagOnBlur)&&this.addTags(t,!0)),this.DOM.input.removeAttribute("style"),this.dropdown.hide.call(this)}else"focus"==n?this.trigger("focus",r):"blur"==A.type&&(this.trigger("blur",r),this.loading(!1),this.dropdown.hide.call(this),this.state.dropdown.visible=void 0,this.setStateSelection())},onKeydown(A){var n=this.trim(A.target.textContent);if(this.trigger("keydown",{originalEvent:this.cloneEvent(A)}),"mix"==this.settings.mode){switch(A.key){case"Left":case"ArrowLeft":this.state.actions.ArrowLeft=!0;break;case"Delete":case"Backspace":if(this.state.editing)return;var i,r,o=document.getSelection(),s="Delete"==A.key&&o.anchorOffset==(o.anchorNode.length||0),u=1==o.anchorNode.nodeType||!o.anchorOffset&&o.anchorNode.previousElementSibling,l=t(this.DOM.input.innerHTML),d=this.getTagElms();if(c()&&u)return r=e(u),u.hasAttribute("readonly")||u.remove(),this.DOM.input.focus(),void setTimeout((()=>{this.placeCaretAfterNode(r),this.DOM.input.click()}));if("BR"==o.anchorNode.nodeName)return;if((s||u)&&1==o.anchorNode.nodeType?i=0==o.anchorOffset?s?d[0]:null:d[o.anchorOffset-1]:s?i=o.anchorNode.nextElementSibling:u&&(i=u),3==o.anchorNode.nodeType&&!o.anchorNode.nodeValue&&o.anchorNode.previousElementSibling&&A.preventDefault(),(u||s)&&!this.settings.backspace)return void A.preventDefault();if("Range"!=o.type&&!o.anchorOffset&&o.anchorNode==this.DOM.input&&"Delete"!=A.key)return void A.preventDefault();if("Range"!=o.type&&i&&i.hasAttribute("readonly"))return void this.placeCaretAfterNode(e(i));clearTimeout(a),a=setTimeout((()=>{console.log(111);var A=document.getSelection(),e=t(this.DOM.input.innerHTML),n=A.anchorNode.previousElementSibling;if(!c()&&e.length>=l.length&&n&&!n.hasAttribute("readonly")&&(this.removeTags(n),this.fixFirefoxLastTagNoCaret(),2==this.DOM.input.children.length&&"BR"==this.DOM.input.children[1].tagName))return this.DOM.input.innerHTML="",this.value.length=0,!0;this.value=[].map.call(d,((A,t)=>{var e=this.tagData(A);if(A.parentNode||e.readonly)return e;this.trigger("remove",{tag:A,index:t,data:e})})).filter((A=>A))}),20)}return!0}switch(A.key){case"Backspace":this.state.dropdown.visible&&"manual"!=this.settings.dropdown.position||""!=n&&8203!=n.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0));break;case"Esc":case"Escape":if(this.state.dropdown.visible)return;A.target.blur();break;case"Down":case"ArrowDown":this.state.dropdown.visible||this.dropdown.show.call(this);break;case"ArrowRight":{let A=this.state.inputSuggestion||this.state.ddItemData;if(A&&this.settings.autoComplete.rightKey)return void this.addTags([A],!0);break}case"Tab":{let t="select"==this.settings.mode;if(!n||t)return!0;A.preventDefault()}case"Enter":if(this.state.dropdown.visible||229==A.keyCode)return;A.preventDefault(),setTimeout((()=>{this.state.actions.selectOption||this.addTags(n,!0)}))}},onInput(A){if("mix"==this.settings.mode)return this.events.callbacks.onMixTagsInput.call(this,A);var t=this.input.normalize.call(this),e=t.length>=this.settings.dropdown.enabled,n={value:t,inputElm:this.DOM.input};n.isValid=this.validateTag({value:t}),this.trigger("input",n),this.state.inputText!=t&&(this.input.set.call(this,t,!1),-1!=t.search(this.settings.delimiters)?this.addTags(t)&&this.input.set.call(this):this.settings.dropdown.enabled>=0&&this.dropdown[e?"show":"hide"].call(this,t))},onMixTagsInput(A){var t,e,n,i,r,s,a,u,l=this.settings,d=this.value.length,f=this.getTagElms(),h=document.createDocumentFragment(),p=window.getSelection().getRangeAt(0),g=[].map.call(f,(A=>this.tagData(A).value));if("deleteContentBackward"==A.inputType&&c()&&this.events.callbacks.onKeydown.call(this,{target:A.target,key:"Backspace"}),this.value.slice().forEach((A=>{A.readonly&&!g.includes(A.value)&&h.appendChild(this.createTagElem(A))})),h.childNodes.length&&(p.insertNode(h),this.setRangeAtStartEnd(!1,h.lastChild)),f.length!=d)return this.value=[].map.call(this.getTagElms(),(A=>this.tagData(A))),void this.update({withoutChangeEvent:!0});if(this.hasMaxTags())return!0;if(window.getSelection&&(s=window.getSelection()).rangeCount>0&&3==s.anchorNode.nodeType){if((p=s.getRangeAt(0).cloneRange()).collapse(!0),p.setStart(s.focusNode,0),n=(t=p.toString().slice(0,p.endOffset)).split(l.pattern).length-1,(e=t.match(l.pattern))&&(i=t.slice(t.lastIndexOf(e[e.length-1]))),i){if(this.state.actions.ArrowLeft=!1,this.state.tag={prefix:i.match(l.pattern)[0],value:i.replace(l.pattern,"")},this.state.tag.baseOffset=s.baseOffset-this.state.tag.value.length,u=this.state.tag.value.match(l.delimiters))return this.state.tag.value=this.state.tag.value.replace(l.delimiters,""),this.state.tag.delimiters=u[0],this.addTags(this.state.tag.value,l.dropdown.clearOnSelect),void this.dropdown.hide.call(this);r=this.state.tag.value.length>=l.dropdown.enabled;try{a=(a=this.state.flaggedTags[this.state.tag.baseOffset]).prefix==this.state.tag.prefix&&a.value[0]==this.state.tag.value[0],this.state.flaggedTags[this.state.tag.baseOffset]&&!this.state.tag.value&&delete this.state.flaggedTags[this.state.tag.baseOffset]}catch(A){}(a||n{this.update({withoutChangeEvent:!0}),this.trigger("input",o({},this.state.tag,{textContent:this.DOM.input.textContent})),this.state.tag&&this.dropdown[r?"show":"hide"].call(this,this.state.tag.value)}),10)},onInputIE(A){var t=this;setTimeout((function(){t.events.callbacks.onInput.call(t,A)}))},onClickScope(A){var t=this.settings,e=A.target.closest("."+t.classNames.tag),n=+new Date-this.state.hasFocus;if(A.target!=this.DOM.scope){if(!A.target.classList.contains(t.classNames.tagX))return e?(this.trigger("click",{tag:e,index:this.getNodeIndex(e),data:this.tagData(e),originalEvent:this.cloneEvent(A)}),void(1!==t.editTags&&1!==t.editTags.clicks||this.events.callbacks.onDoubleClickScope.call(this,A))):void(A.target==this.DOM.input&&("mix"==t.mode&&this.fixFirefoxLastTagNoCaret(),n>500)?this.state.dropdown.visible?this.dropdown.hide.call(this):0===t.dropdown.enabled&&"mix"!=t.mode&&this.dropdown.show.call(this):"select"==t.mode&&!this.state.dropdown.visible&&this.dropdown.show.call(this));this.removeTags(A.target.parentNode)}else this.state.hasFocus||this.DOM.input.focus()},onPaste(A){var t;A.preventDefault(),this.settings.readonly||(t=(A.clipboardData||window.clipboardData).getData("Text"),this.injectAtCaret(t,window.getSelection().getRangeAt(0)),"mix"!=this.settings.mode&&this.addTags(this.DOM.input.textContent,!0))},onEditTagInput(A,t){var e=A.closest("."+this.settings.classNames.tag),n=this.getNodeIndex(e),i=this.tagData(e),r=this.input.normalize.call(this,A),s=e.innerHTML!=e.__tagifyTagData.__originalHTML,a=this.validateTag({[this.settings.tagTextProp]:r});s||!0!==A.originalIsValid||(a=!0),e.classList.toggle(this.settings.classNames.tagInvalid,!0!==a),i.__isValid=a,e.title=!0===a?i.title||i.value:a,r.length>=this.settings.dropdown.enabled&&(this.state.editing&&(this.state.editing.value=r),this.dropdown.show.call(this,r)),this.trigger("edit:input",{tag:e,index:n,data:o({},this.value[n],{newValue:r}),originalEvent:this.cloneEvent(t)})},onEditTagFocus(A){this.state.editing={scope:A,input:A.querySelector("[contenteditable]")}},onEditTagBlur(A){if(this.state.hasFocus||this.toggleFocusClass(),this.DOM.scope.contains(A)){var t,e=this.settings,n=A.closest("."+e.classNames.tag),i=this.input.normalize.call(this,A),r=this.tagData(n).__originalData,s=n.innerHTML!=n.__tagifyTagData.__originalHTML,a=this.validateTag({[e.tagTextProp]:i});if(i)if(s){if(t=this.getWhitelistItem(i)||o({},r,{[e.tagTextProp]:i,value:i}),e.transformTag.call(this,t,r),!0!==(a=this.validateTag({[e.tagTextProp]:t[e.tagTextProp]}))){if(this.trigger("invalid",{data:t,tag:n,message:a}),e.editTags.keepInvalid)return;e.keepInvalidTags?t.__isValid=a:t=r}this.onEditTagDone(n,t)}else this.onEditTagDone(n,r);else this.onEditTagDone(n)}},onEditTagkeydown(A,t){switch(this.trigger("edit:keydown",{originalEvent:this.cloneEvent(A)}),A.key){case"Esc":case"Escape":t.innerHTML=t.__tagifyTagData.__originalHTML;case"Enter":case"Tab":A.preventDefault(),A.target.blur()}},onDoubleClickScope(A){var t,e,n=A.target.closest("."+this.settings.classNames.tag),i=this.settings;n&&(t=n.classList.contains(this.settings.classNames.tagEditing),e=n.hasAttribute("readonly"),"select"==i.mode||i.readonly||t||e||!this.settings.editTags||this.editTag(n),this.toggleFocusClass(!0),this.trigger("dblclick",{tag:n,index:this.getNodeIndex(n),data:this.tagData(n)}))}}};function h(A,t){return A?A.previousElementSibling&&A.previousElementSibling.classList.contains("tagify")?(console.warn("Tagify: ","input element is already Tagified",A),this):(o(this,function(A){var t=document.createTextNode("");function e(A,e,n){n&&e.split(/\s+/g).forEach((e=>t[A+"EventListener"].call(t,e,n)))}return{off(A,t){return e("remove",A,t),this},on(A,t){return t&&"function"==typeof t&&e("add",A,t),this},trigger(e,n,i){var r;if(i=i||{cloneData:!0},e)if(A.settings.isJQueryPlugin)"remove"==e&&(e="removeTag"),jQuery(A.DOM.originalInput).triggerHandler(e,[n]);else{try{var s="object"==typeof n?n:{value:n};if((s=i.cloneData?o({},s):s).tagify=this,n instanceof Object)for(var a in n)n[a]instanceof HTMLElement&&(s[a]=n[a]);r=new CustomEvent(e,{detail:s})}catch(A){console.warn(A)}t.dispatchEvent(r)}}}}(this)),this.isFirefox="undefined"!=typeof InstallTrigger,this.isIE=window.document.documentMode,this.applySettings(A,t||{}),this.state={inputText:"",editing:!1,actions:{},mixMode:{},dropdown:{},flaggedTags:{}},this.value=[],this.listeners={},this.DOM={},this.build(A),this.getCSSVars(),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),void(A.autofocus&&this.DOM.input.focus())):(console.warn("Tagify: ","input element not found",A),this)}return h.prototype={dropdown:u,TEXTS:{empty:"empty",exceed:"number of tags exceeded",pattern:"pattern mismatch",duplicate:"already exists",notAllowed:"not allowed"},customEventsList:["change","add","remove","invalid","input","click","keydown","focus","blur","edit:input","edit:beforeUpdate","edit:updated","edit:start","edit:keydown","dropdown:show","dropdown:hide","dropdown:select","dropdown:updated","dropdown:noMatch"],trim(A){return this.settings.trim&&A&&"string"==typeof A?A.trim():A},parseHTML:function(A){return(new DOMParser).parseFromString(A.trim(),"text/html").body.firstElementChild},templates:d,parseTemplate(A,t){return A=this.settings.templates[A]||A,this.parseHTML(A.apply(this,t))},applySettings(A,t){l.templates=this.templates;var e=this.settings=o({},l,t);e.readonly=A.hasAttribute("readonly"),e.placeholder=A.getAttribute("placeholder")||e.placeholder||"",e.required=A.hasAttribute("required");for(let A in e.classNames)Object.defineProperty(e.classNames,A+"Selector",{get(){return"."+this[A].split(" ").join(".")}});if(this.isIE&&(e.autoComplete=!1),["whitelist","blacklist"].forEach((t=>{var n=A.getAttribute("data-"+t);n&&(n=n.split(e.delimiters))instanceof Array&&(e[t]=n)})),"autoComplete"in t&&!r(t.autoComplete)&&(e.autoComplete=l.autoComplete,e.autoComplete.enabled=t.autoComplete),"mix"==e.mode&&(e.autoComplete.rightKey=!0,e.delimiters=t.delimiters||null,e.tagTextProp&&!e.dropdown.searchKeys.includes(e.tagTextProp)&&e.dropdown.searchKeys.push(e.tagTextProp)),A.pattern)try{e.pattern=new RegExp(A.pattern)}catch(A){}if(this.settings.delimiters)try{e.delimiters=new RegExp(this.settings.delimiters,"g")}catch(A){}"select"==e.mode&&(e.dropdown.enabled=0),e.dropdown.appendTarget=t.dropdown&&t.dropdown.appendTarget?t.dropdown.appendTarget:document.body},getAttributes(A){if("[object Object]"!=Object.prototype.toString.call(A))return"";var t,e,n=Object.keys(A),i="";for(e=n.length;e--;)"class"!=(t=n[e])&&A.hasOwnProperty(t)&&void 0!==A[t]&&(i+=" "+t+(void 0!==A[t]?`="${A[t]}"`:""));return i},setStateSelection(){var A=window.getSelection(),t={anchorOffset:A.anchorOffset,anchorNode:A.anchorNode,range:A.getRangeAt&&A.rangeCount&&A.getRangeAt(0)};return this.state.selection=t,t},getCaretGlobalPosition(){const A=document.getSelection();if(A.rangeCount){const t=A.getRangeAt(0),e=t.startContainer,n=t.startOffset;let i,r;if(n>0)return r=document.createRange(),r.setStart(e,n-1),r.setEnd(e,n),i=r.getBoundingClientRect(),{left:i.right,top:i.top,bottom:i.bottom};if(e.getBoundingClientRect)return e.getBoundingClientRect()}return{left:-9999,top:-9999}},getCSSVars(){var A=getComputedStyle(this.DOM.scope,null);this.CSSVars={tagHideTransition:(({value:A,unit:t})=>"s"==t?1e3*A:A)(function(A){if(!A)return{};var t=(A=A.trim().split(" ")[0]).split(/\d+/g).filter((A=>A)).pop().trim();return{value:+A.split(t).filter((A=>A))[0].trim(),unit:t}}(("tag-hide-transition",A.getPropertyValue("--tag-hide-transition"))))}},build(A){var t=this.DOM;this.settings.mixMode.integrated?(t.originalInput=null,t.scope=A,t.input=A):(t.originalInput=A,t.scope=this.parseTemplate("wrapper",[A,this.settings]),t.input=t.scope.querySelector(this.settings.classNames.inputSelector),A.parentNode.insertBefore(t.scope,A)),this.settings.dropdown.enabled>=0&&this.dropdown.init.call(this)},destroy(){this.DOM.scope.parentNode.removeChild(this.DOM.scope),this.dropdown.hide.call(this,!0),clearTimeout(this.dropdownHide__bindEventsTimeout)},loadOriginalValues(A){var t,e=this.settings;if(A=A||(e.mixMode.integrated?this.DOM.input.textContent:this.DOM.originalInput.value))if(this.removeAllTags({withoutChangeEvent:!0}),"mix"==e.mode)this.parseMixTags(A.trim()),(t=this.DOM.input.lastChild)&&"BR"==t.tagName||this.DOM.input.insertAdjacentHTML("beforeend","
");else{try{JSON.parse(A)instanceof Array&&(A=JSON.parse(A))}catch(A){}this.addTags(A).forEach((A=>A&&A.classList.add(e.classNames.tagNoAnimation)))}else this.postUpdate();this.state.lastOriginalValueReported=e.mixMode.integrated?"":this.DOM.originalInput.value,this.state.loadedOriginalValues=!0},cloneEvent(A){var t={};for(var e in A)t[e]=A[e];return t},loading(A){return this.state.isLoading=A,this.DOM.scope.classList[A?"add":"remove"](this.settings.classNames.scopeLoading),this},tagLoading(A,t){return A&&A.classList[t?"add":"remove"](this.settings.classNames.tagLoading),this},toggleClass(A,t){"string"==typeof A&&this.DOM.scope.classList.toggle(A,t)},toggleFocusClass(A){this.toggleClass(this.settings.classNames.focus,!!A)},triggerChangeEvent:function(){if(!this.settings.mixMode.integrated){var A=this.DOM.originalInput,t=this.state.lastOriginalValueReported!==A.value,e=new CustomEvent("change",{bubbles:!0});t&&(this.state.lastOriginalValueReported=A.value,e.simulated=!0,A._valueTracker&&A._valueTracker.setValue(Math.random()),A.dispatchEvent(e),this.trigger("change",this.state.lastOriginalValueReported),A.value=this.state.lastOriginalValueReported)}},events:f,fixFirefoxLastTagNoCaret(){},placeCaretAfterNode(A){if(A&&A.parentNode){var t=A.nextSibling,e=window.getSelection(),n=e.getRangeAt(0);e.rangeCount&&(n.setStartBefore(t||A),n.setEndBefore(t||A),e.removeAllRanges(),e.addRange(n))}},insertAfterTag(A,t){if(t=t||this.settings.mixMode.insertAfterTag,A&&A.parentNode&&t)return t="string"==typeof t?document.createTextNode(t):t,A.parentNode.insertBefore(t,A.nextSibling),t},editTag(A,t){A=A||this.getLastTag(),t=t||{},this.dropdown.hide.call(this);var e=this.settings;function n(){return A.querySelector(e.classNames.tagTextSelector)}var i=n(),r=this.getNodeIndex(A),s=this.tagData(A),a=this.events.callbacks,c=this,u=!0;if(i){if(!(s instanceof Object&&"editable"in s)||s.editable)return i.setAttribute("contenteditable",!0),A.classList.add(e.classNames.tagEditing),this.tagData(A,{__originalData:o({},s),__originalHTML:A.innerHTML}),i.addEventListener("focus",a.onEditTagFocus.bind(this,A)),i.addEventListener("blur",(function(){setTimeout((()=>a.onEditTagBlur.call(c,n())))})),i.addEventListener("input",a.onEditTagInput.bind(this,i)),i.addEventListener("keydown",(t=>a.onEditTagkeydown.call(this,t,A))),i.focus(),this.setRangeAtStartEnd(!1,i),t.skipValidation||(u=this.editTagToggleValidity(A,s.value)),i.originalIsValid=u,this.trigger("edit:start",{tag:A,index:r,data:s,isValid:u}),this}else console.warn("Cannot find element in Tag template: .",e.classNames.tagTextSelector)},editTagToggleValidity(A,t){var e,n=this.tagData(A);if(n)return e=!(!n.__isValid||1==n.__isValid),A.classList.toggle(this.settings.classNames.tagInvalid,e),n.__isValid;console.warn("tag has no data: ",A,n)},onEditTagDone(A,t){t=t||{};var e={tag:A=A||this.state.editing.scope,index:this.getNodeIndex(A),previousData:this.tagData(A),data:t};this.trigger("edit:beforeUpdate",e,{cloneData:!1}),this.state.editing=!1,delete t.__originalData,delete t.__originalHTML,A&&t[this.settings.tagTextProp]?(this.editTagToggleValidity(A),this.replaceTag(A,t)):A&&this.removeTags(A),this.trigger("edit:updated",e),this.dropdown.hide.call(this),this.settings.keepInvalidTags&&this.reCheckInvalidTags()},replaceTag(A,t){t&&t.value||(t=A.__tagifyTagData),t.__isValid&&1!=t.__isValid&&o(t,this.getInvalidTagAttrs(t,t.__isValid));var e=this.createTagElem(t);A.parentNode.replaceChild(e,A),this.updateValueByDOMTags()},updateValueByDOMTags(){this.value.length=0,[].forEach.call(this.getTagElms(),(A=>{A.classList.contains(this.settings.classNames.tagNotAllowed.split(" ")[0])||this.value.push(this.tagData(A))})),this.update()},setRangeAtStartEnd(A,t){A="number"==typeof A?A:!!A,t=(t=t||this.DOM.input).lastChild||t;var e=document.getSelection();try{e.rangeCount>=1&&["Start","End"].forEach((n=>e.getRangeAt(0)["set"+n](t,A||t.length)))}catch(A){console.warn("Tagify: ",A)}},injectAtCaret(A,t){if(t=t||this.state.selection.range)return"string"==typeof A&&(A=document.createTextNode(A)),t.deleteContents(),t.insertNode(A),this.setRangeAtStartEnd(!1,A),this.updateValueByDOMTags(),this.update(),this},input:{set(A="",t=!0){var e=this.settings.dropdown.closeOnSelect;this.state.inputText=A,t&&(this.DOM.input.innerHTML=n(""+A)),!A&&e&&this.dropdown.hide.bind(this),this.input.autocomplete.suggest.call(this),this.input.validate.call(this)},validate(){var A=!this.state.inputText||!0===this.validateTag({value:this.state.inputText});return this.DOM.input.classList.toggle(this.settings.classNames.inputInvalid,!A),A},normalize(A){var t=A||this.DOM.input,e=[];t.childNodes.forEach((A=>3==A.nodeType&&e.push(A.nodeValue))),e=e.join("\n");try{e=e.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(0))}catch(A){}return e=e.replace(/\s/g," "),this.settings.trim&&(e=e.replace(/^\s+/,"")),e},autocomplete:{suggest(A){if(this.settings.autoComplete.enabled){"string"==typeof(A=A||{})&&(A={value:A});var t=A.value?""+A.value:"",e=t.substr(0,this.state.inputText.length).toLowerCase(),n=t.substring(this.state.inputText.length);t&&this.state.inputText&&e==this.state.inputText.toLowerCase()?(this.DOM.input.setAttribute("data-suggest",n),this.state.inputSuggestion=A):(this.DOM.input.removeAttribute("data-suggest"),delete this.state.inputSuggestion)}},set(A){var t=this.DOM.input.getAttribute("data-suggest"),e=A||(t?this.state.inputText+t:null);return!!e&&("mix"==this.settings.mode?this.replaceTextWithNode(document.createTextNode(this.state.tag.prefix+e)):(this.input.set.call(this,e),this.setRangeAtStartEnd()),this.input.autocomplete.suggest.call(this),this.dropdown.hide.call(this),!0)}}},getTagIdx(A){return this.value.findIndex((t=>t.value==(A||{}).value))},getNodeIndex(A){var t=0;if(A)for(;A=A.previousElementSibling;)t++;return t},getTagElms(...A){var t="."+[...this.settings.classNames.tag.split(" "),...A].join(".");return[].slice.call(this.DOM.scope.querySelectorAll(t))},getLastTag(){var A=this.DOM.scope.querySelectorAll(`${this.settings.classNames.tagSelector}:not(.${this.settings.classNames.tagHide}):not([readonly])`);return A[A.length-1]},tagData:(A,t,e)=>A?(t&&(A.__tagifyTagData=e?t:o({},A.__tagifyTagData||{},t)),A.__tagifyTagData):(console.warn("tag elment doesn't exist",A,t),t),isTagDuplicate(t,e){var n=this.settings;return"select"!=n.mode&&this.value.reduce(((i,r)=>A(this.trim(""+t),r.value,e||n.dropdown.caseSensitive)?i+1:i),0)},getTagIndexByValue(t){var e=[];return this.getTagElms().forEach(((n,i)=>{A(this.trim(n.textContent),t,this.settings.dropdown.caseSensitive)&&e.push(i)})),e},getTagElmByValue(A){var t=this.getTagIndexByValue(A)[0];return this.getTagElms()[t]},flashTag(A){A&&(A.classList.add(this.settings.classNames.tagFlash),setTimeout((()=>{A.classList.remove(this.settings.classNames.tagFlash)}),100))},isTagBlacklisted(A){return A=this.trim(A.toLowerCase()),this.settings.blacklist.filter((t=>(""+t).toLowerCase()==A)).length},isTagWhitelisted(A){return!!this.getWhitelistItem(A)},getWhitelistItem(t,e,n){e=e||"value";var i,r=this.settings;return(n=n||r.whitelist).some((n=>{var o="string"==typeof n?n:n[e]||n.value;if(A(o,t,r.dropdown.caseSensitive,r.trim))return i="string"==typeof n?{value:n}:n,!0})),i||"value"!=e||"value"==r.tagTextProp||(i=this.getWhitelistItem(t,r.tagTextProp,n)),i},validateTag(A){var t=this.settings,e="value"in A?"value":t.tagTextProp,n=this.trim(A[e]+"");return(A[e]+"").trim()?t.pattern&&t.pattern instanceof RegExp&&!t.pattern.test(n)?this.TEXTS.pattern:!t.duplicates&&this.isTagDuplicate(n,this.state.editing)?this.TEXTS.duplicate:this.isTagBlacklisted(n)||t.enforceWhitelist&&!this.isTagWhitelisted(n)?this.TEXTS.notAllowed:!t.validate||t.validate(A):this.TEXTS.empty},getInvalidTagAttrs(A,t){return{"aria-invalid":!0,class:`${A.class||""} ${this.settings.classNames.tagNotAllowed}`.trim(),title:t}},hasMaxTags(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},setReadonly(A){var t=this.settings;document.activeElement.blur(),t.readonly=A,this.DOM.scope[(A?"set":"remove")+"Attribute"]("readonly",!0),"mix"==t.mode&&(this.DOM.input.contentEditable=!A)},normalizeTags(A){var t=this.settings,e=t.whitelist,n=t.delimiters,i=t.mode,r=t.tagTextProp;t.enforceWhitelist;var o=[],s=!!e&&e[0]instanceof Object,a=A instanceof Array,c=A=>(A+"").split(n).filter((A=>A)).map((A=>({[r]:this.trim(A),value:this.trim(A)})));if("number"==typeof A&&(A=A.toString()),"string"==typeof A){if(!A.trim())return[];A=c(A)}else a&&(A=[].concat(...A.map((A=>A.value?A:c(A)))));return s&&(A.forEach((A=>{var t=o.map((A=>A.value)),e=this.dropdown.filterListItems.call(this,A[r],{exact:!0}).filter((A=>!t.includes(A.value))),n=e.length>1?this.getWhitelistItem(A[r],r,e):e[0];n&&n instanceof Object?o.push(n):"mix"!=i&&(null==A.value&&(A.value=A[r]),o.push(A))})),A=o),A},parseMixTags(A){var t=this.settings,e=t.mixTagsInterpolator,n=t.duplicates,i=t.transformTag,r=t.enforceWhitelist,o=t.maxTags,s=t.tagTextProp,a=[];return A=A.split(e[0]).map(((A,t)=>{var c,u,l,d=A.split(e[1]),f=d[0],h=a.length==o;try{if(f==+f)throw Error;u=JSON.parse(f)}catch(A){u=this.normalizeTags(f)[0]||{value:f}}if(h||!(d.length>1)||r&&!this.isTagWhitelisted(u.value)||!n&&this.isTagDuplicate(u.value)){if(A)return t?e[0]+A:A}else i.call(this,u),u[c=u[s]?s:"value"]=this.trim(u[c]),l=this.createTagElem(u),a.push(u),l.classList.add(this.settings.classNames.tagNoAnimation),d[0]=l.outerHTML,this.value.push(u);return d.join("")})).join(""),this.DOM.input.innerHTML=A,this.DOM.input.appendChild(document.createTextNode("")),this.DOM.input.normalize(),this.getTagElms().forEach(((A,t)=>this.tagData(A,a[t]))),this.update({withoutChangeEvent:!0}),A},replaceTextWithNode(A,t){if(this.state.tag||t){t=t||this.state.tag.prefix+this.state.tag.value;var e,n,i=window.getSelection(),r=i.anchorNode,o=this.state.tag.delimiters?this.state.tag.delimiters.length:0;return r.splitText(i.anchorOffset-o),e=r.nodeValue.lastIndexOf(t),n=r.splitText(e),A&&r.parentNode.replaceChild(A,n),!0}},selectTag(A,t){if(!this.settings.enforceWhitelist||this.isTagWhitelisted(t.value))return this.input.set.call(this,t.value,!0),this.state.actions.selectOption&&setTimeout(this.setRangeAtStartEnd.bind(this)),this.getLastTag()?this.replaceTag(this.getLastTag(),t):this.appendTag(A),this.value[0]=t,this.trigger("add",{tag:A,data:t}),this.update(),[A]},addEmptyTag(A){var t=o({value:""},A||{}),e=this.createTagElem(t);this.tagData(e,t),this.appendTag(e),this.editTag(e,{skipValidation:!0})},addTags(A,t,e=this.settings.skipInvalid){var n=[],i=this.settings;return A&&0!=A.length?(A=this.normalizeTags(A),"mix"==i.mode?this.addMixTags(A):("select"==i.mode&&(t=!1),this.DOM.input.removeAttribute("style"),A.forEach((A=>{var t,r={},s=Object.assign({},A,{value:A.value+""});if((A=Object.assign({},s)).__isValid=this.hasMaxTags()||this.validateTag(A),i.transformTag.call(this,A),!0!==A.__isValid){if(e)return;o(r,this.getInvalidTagAttrs(A,A.__isValid),{__preInvalidData:s}),A.__isValid==this.TEXTS.duplicate&&this.flashTag(this.getTagElmByValue(A.value))}if(A.readonly&&(r["aria-readonly"]=!0),t=this.createTagElem(o({},A,r)),n.push(t),"select"==i.mode)return this.selectTag(t,A);this.appendTag(t),A.__isValid&&!0===A.__isValid?(this.value.push(A),this.update(),this.trigger("add",{tag:t,index:this.value.length-1,data:A})):(this.trigger("invalid",{data:A,index:this.value.length,tag:t,message:A.__isValid}),i.keepInvalidTags||setTimeout((()=>this.removeTags(t,!0)),1e3)),this.dropdown.position.call(this)})),A.length&&t&&this.input.set.call(this),this.dropdown.refilter.call(this),n)):("select"==i.mode&&this.removeAllTags(),n)},addMixTags(A){if(A[0].prefix||this.state.tag)this.prefixedTextToTag(A[0]);else{"string"==typeof A&&(A=[{value:A}]);var t=!!this.state.selection,e=document.createDocumentFragment();A.forEach((A=>{var t=this.createTagElem(A);e.appendChild(t),this.insertAfterTag(t)})),t?this.injectAtCaret(e):(this.DOM.input.focus(),(t=this.setStateSelection()).range.setStart(this.DOM.input,t.range.endOffset),t.range.setEnd(this.DOM.input,t.range.endOffset),this.DOM.input.appendChild(e),this.updateValueByDOMTags(),this.update())}},prefixedTextToTag(A){var t,e=this.settings,n=this.state.tag.delimiters;if(e.transformTag.call(this,A),A.prefix=A.prefix||this.state.tag?this.state.tag.prefix:(e.pattern.source||e.pattern)[0],t=this.createTagElem(A),this.replaceTextWithNode(t)||this.DOM.input.appendChild(t),setTimeout((()=>t.classList.add(this.settings.classNames.tagNoAnimation)),300),this.value.push(A),this.update(),!n){var i=this.insertAfterTag(t)||t;this.placeCaretAfterNode(i)}return this.state.tag=null,this.trigger("add",o({},{tag:t},{data:A})),t},appendTag(A){var t=this.DOM.scope.lastElementChild;t===this.DOM.input?this.DOM.scope.insertBefore(A,t):this.DOM.scope.appendChild(A)},createTagElem(A){var t,e=o({},A,{value:n(A.value+"")});return function(A){for(var t,e=document.createNodeIterator(A,NodeFilter.SHOW_TEXT,null,!1);t=e.nextNode();)t.textContent.trim()||t.parentNode.removeChild(t)}(t=this.parseTemplate("tag",[e])),this.tagData(t,A),t},reCheckInvalidTags(){var A=this.settings,t=`${A.classNames.tagSelector}${A.classNames.tagNotAllowedSelector}`,e=this.DOM.scope.querySelectorAll(t);[].forEach.call(e,(A=>{var t=this.tagData(A),e=A.getAttribute("title")==this.TEXTS.duplicate,n=!0===this.validateTag(t);e&&n&&(t=t.__preInvalidData?t.__preInvalidData:{value:t.value},this.replaceTag(A,t))}))},removeTags(A,t,e){var n;A=A&&A instanceof HTMLElement?[A]:A instanceof Array?A:A?[A]:[this.getLastTag()],n=A.reduce(((A,t)=>(t&&"string"==typeof t&&(t=this.getTagElmByValue(t)),t&&A.push({node:t,idx:this.getTagIdx(this.tagData(t)),data:this.tagData(t,{__removed:!0})}),A)),[]),e="number"==typeof e?e:this.CSSVars.tagHideTransition,"select"==this.settings.mode&&(e=0,this.input.set.call(this)),1==n.length&&n[0].node.classList.contains(this.settings.classNames.tagNotAllowed)&&(t=!0),n.length&&this.settings.hooks.beforeRemoveTag(n,{tagify:this}).then((()=>{function A(A){A.node.parentNode&&(A.node.parentNode.removeChild(A.node),t?this.settings.keepInvalidTags&&this.trigger("remove",{tag:A.node,index:A.idx}):(this.trigger("remove",{tag:A.node,index:A.idx,data:A.data}),this.dropdown.refilter.call(this),this.dropdown.position.call(this),this.DOM.input.normalize(),this.settings.keepInvalidTags&&this.reCheckInvalidTags()))}e&&e>10&&1==n.length?function(t){t.node.style.width=parseFloat(window.getComputedStyle(t.node).width)+"px",document.body.clientTop,t.node.classList.add(this.settings.classNames.tagHide),setTimeout(A.bind(this),e,t)}.call(this,n[0]):n.forEach(A.bind(this)),t||(n.forEach((A=>{var t=Object.assign({},A.data);delete t.__removed;var e=this.getTagIdx(t);e>-1&&this.value.splice(e,1)})),this.update())})).catch((A=>{}))},removeAllTags(A){A=A||{},this.value=[],"mix"==this.settings.mode?this.DOM.input.innerHTML="":Array.prototype.slice.call(this.getTagElms()).forEach((A=>A.parentNode.removeChild(A))),this.dropdown.position.call(this),"select"==this.settings.mode&&this.input.set.call(this),this.update(A)},postUpdate(){var A=this.settings.classNames,t="mix"==this.settings.mode?this.settings.mixMode.integrated?this.DOM.input.textContent:this.DOM.originalInput.value:this.value.length;this.toggleClass(A.hasMaxTags,this.value.length>=this.settings.maxTags),this.toggleClass(A.hasNoTags,!this.value.length),this.toggleClass(A.empty,!t)},update(A){var t,e,n=this.DOM.originalInput,i=(A||{}).withoutChangeEvent,r=(t=this.value,e=["__isValid","__removed"],t.map((A=>{var t={};for(var n in A)e.indexOf(n)<0&&(t[n]=A[n]);return t})));this.settings.mixMode.integrated||(n.value="mix"==this.settings.mode?this.getMixedTagsAsString(r):r.length?this.settings.originalInputValueFormat?this.settings.originalInputValueFormat(r):JSON.stringify(r):""),this.postUpdate(),!i&&this.state.loadedOriginalValues&&this.triggerChangeEvent()},getMixedTagsAsString(){var A="",t=this,e=this.settings.mixTagsInterpolator;return function n(i){i.childNodes.forEach((i=>{if(1==i.nodeType){if(i.classList.contains(t.settings.classNames.tag)&&t.tagData(i)){if(t.tagData(i).__removed)return;return void(A+=e[0]+JSON.stringify(i.__tagifyTagData)+e[1])}"BR"!=i.tagName||i.parentNode!=t.DOM.input&&1!=i.parentNode.childNodes.length?"DIV"!=i.tagName&&"P"!=i.tagName||(A+="\r\n",n(i)):A+="\r\n"}else A+=i.textContent}))}(this.DOM.input),A}},h.prototype.removeTag=h.prototype.removeTags,h}()},2505:(A,t,e)=>{A.exports=e(8015)},5592:(A,t,e)=>{"use strict";var n=e(9516),i=e(7522),r=e(3948),o=e(9106),s=e(9615),a=e(2012),c=e(4202),u=e(7763),l=e(6987),d=e(1928);A.exports=function(A){return new Promise((function(t,e){var f,h=A.data,p=A.headers,g=A.responseType;function B(){A.cancelToken&&A.cancelToken.unsubscribe(f),A.signal&&A.signal.removeEventListener("abort",f)}n.isFormData(h)&&delete p["Content-Type"];var b=new XMLHttpRequest;if(A.auth){var w=A.auth.username||"",E=A.auth.password?unescape(encodeURIComponent(A.auth.password)):"";p.Authorization="Basic "+btoa(w+":"+E)}var M=s(A.baseURL,A.url);function m(){if(b){var n="getAllResponseHeaders"in b?a(b.getAllResponseHeaders()):null,r={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:A,request:b};i((function(A){t(A),B()}),(function(A){e(A),B()}),r),b=null}}if(b.open(A.method.toUpperCase(),o(M,A.params,A.paramsSerializer),!0),b.timeout=A.timeout,"onloadend"in b?b.onloadend=m:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(m)},b.onabort=function(){b&&(e(u("Request aborted",A,"ECONNABORTED",b)),b=null)},b.onerror=function(){e(u("Network Error",A,null,b)),b=null},b.ontimeout=function(){var t=A.timeout?"timeout of "+A.timeout+"ms exceeded":"timeout exceeded",n=A.transitional||l.transitional;A.timeoutErrorMessage&&(t=A.timeoutErrorMessage),e(u(t,A,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},n.isStandardBrowserEnv()){var C=(A.withCredentials||c(M))&&A.xsrfCookieName?r.read(A.xsrfCookieName):void 0;C&&(p[A.xsrfHeaderName]=C)}"setRequestHeader"in b&&n.forEach(p,(function(A,t){void 0===h&&"content-type"===t.toLowerCase()?delete p[t]:b.setRequestHeader(t,A)})),n.isUndefined(A.withCredentials)||(b.withCredentials=!!A.withCredentials),g&&"json"!==g&&(b.responseType=A.responseType),"function"==typeof A.onDownloadProgress&&b.addEventListener("progress",A.onDownloadProgress),"function"==typeof A.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",A.onUploadProgress),(A.cancelToken||A.signal)&&(f=function(A){b&&(e(!A||A&&A.type?new d("canceled"):A),b.abort(),b=null)},A.cancelToken&&A.cancelToken.subscribe(f),A.signal&&(A.signal.aborted?f():A.signal.addEventListener("abort",f))),h||(h=null),b.send(h)}))}},8015:(A,t,e)=>{"use strict";var n=e(9516),i=e(9012),r=e(5155),o=e(5343),s=function A(t){var e=new r(t),s=i(r.prototype.request,e);return n.extend(s,r.prototype,e),n.extend(s,e),s.create=function(e){return A(o(t,e))},s}(e(6987));s.Axios=r,s.Cancel=e(1928),s.CancelToken=e(3191),s.isCancel=e(3864),s.VERSION=e(9641).version,s.all=function(A){return Promise.all(A)},s.spread=e(7980),s.isAxiosError=e(5019),A.exports=s,A.exports.default=s},1928:A=>{"use strict";function t(A){this.message=A}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,A.exports=t},3191:(A,t,e)=>{"use strict";var n=e(1928);function i(A){if("function"!=typeof A)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(A){t=A}));var e=this;this.promise.then((function(A){if(e._listeners){var t,n=e._listeners.length;for(t=0;t{"use strict";A.exports=function(A){return!(!A||!A.__CANCEL__)}},5155:(A,t,e)=>{"use strict";var n=e(9516),i=e(9106),r=e(3471),o=e(4490),s=e(5343),a=e(4841),c=a.validators;function u(A){this.defaults=A,this.interceptors={request:new r,response:new r}}u.prototype.request=function(A,t){if("string"==typeof A?(t=t||{}).url=A:t=A||{},!t.url)throw new Error("Provided config url is not valid");(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&a.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(A){"function"==typeof A.runWhen&&!1===A.runWhen(t)||(i=i&&A.synchronous,n.unshift(A.fulfilled,A.rejected))}));var r,u=[];if(this.interceptors.response.forEach((function(A){u.push(A.fulfilled,A.rejected)})),!i){var l=[o,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(u),r=Promise.resolve(t);l.length;)r=r.then(l.shift(),l.shift());return r}for(var d=t;n.length;){var f=n.shift(),h=n.shift();try{d=f(d)}catch(A){h(A);break}}try{r=o(d)}catch(A){return Promise.reject(A)}for(;u.length;)r=r.then(u.shift(),u.shift());return r},u.prototype.getUri=function(A){if(!A.url)throw new Error("Provided config url is not valid");return A=s(this.defaults,A),i(A.url,A.params,A.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(A){u.prototype[A]=function(t,e){return this.request(s(e||{},{method:A,url:t,data:(e||{}).data}))}})),n.forEach(["post","put","patch"],(function(A){u.prototype[A]=function(t,e,n){return this.request(s(n||{},{method:A,url:t,data:e}))}})),A.exports=u},3471:(A,t,e)=>{"use strict";var n=e(9516);function i(){this.handlers=[]}i.prototype.use=function(A,t,e){return this.handlers.push({fulfilled:A,rejected:t,synchronous:!!e&&e.synchronous,runWhen:e?e.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(A){this.handlers[A]&&(this.handlers[A]=null)},i.prototype.forEach=function(A){n.forEach(this.handlers,(function(t){null!==t&&A(t)}))},A.exports=i},9615:(A,t,e)=>{"use strict";var n=e(9137),i=e(4680);A.exports=function(A,t){return A&&!n(t)?i(A,t):t}},7763:(A,t,e)=>{"use strict";var n=e(5449);A.exports=function(A,t,e,i,r){var o=new Error(A);return n(o,t,e,i,r)}},4490:(A,t,e)=>{"use strict";var n=e(9516),i=e(2881),r=e(3864),o=e(6987),s=e(1928);function a(A){if(A.cancelToken&&A.cancelToken.throwIfRequested(),A.signal&&A.signal.aborted)throw new s("canceled")}A.exports=function(A){return a(A),A.headers=A.headers||{},A.data=i.call(A,A.data,A.headers,A.transformRequest),A.headers=n.merge(A.headers.common||{},A.headers[A.method]||{},A.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete A.headers[t]})),(A.adapter||o.adapter)(A).then((function(t){return a(A),t.data=i.call(A,t.data,t.headers,A.transformResponse),t}),(function(t){return r(t)||(a(A),t&&t.response&&(t.response.data=i.call(A,t.response.data,t.response.headers,A.transformResponse))),Promise.reject(t)}))}},5449:A=>{"use strict";A.exports=function(A,t,e,n,i){return A.config=t,e&&(A.code=e),A.request=n,A.response=i,A.isAxiosError=!0,A.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},A}},5343:(A,t,e)=>{"use strict";var n=e(9516);A.exports=function(A,t){t=t||{};var e={};function i(A,t){return n.isPlainObject(A)&&n.isPlainObject(t)?n.merge(A,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function r(e){return n.isUndefined(t[e])?n.isUndefined(A[e])?void 0:i(void 0,A[e]):i(A[e],t[e])}function o(A){if(!n.isUndefined(t[A]))return i(void 0,t[A])}function s(e){return n.isUndefined(t[e])?n.isUndefined(A[e])?void 0:i(void 0,A[e]):i(void 0,t[e])}function a(e){return e in t?i(A[e],t[e]):e in A?i(void 0,A[e]):void 0}var c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return n.forEach(Object.keys(A).concat(Object.keys(t)),(function(A){var t=c[A]||r,i=t(A);n.isUndefined(i)&&t!==a||(e[A]=i)})),e}},7522:(A,t,e)=>{"use strict";var n=e(7763);A.exports=function(A,t,e){var i=e.config.validateStatus;e.status&&i&&!i(e.status)?t(n("Request failed with status code "+e.status,e.config,null,e.request,e)):A(e)}},2881:(A,t,e)=>{"use strict";var n=e(9516),i=e(6987);A.exports=function(A,t,e){var r=this||i;return n.forEach(e,(function(e){A=e.call(r,A,t)})),A}},6987:(A,t,e)=>{"use strict";var n=e(5606),i=e(9516),r=e(7018),o=e(5449),s={"Content-Type":"application/x-www-form-urlencoded"};function a(A,t){!i.isUndefined(A)&&i.isUndefined(A["Content-Type"])&&(A["Content-Type"]=t)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(c=e(5592)),c),transformRequest:[function(A,t){return r(t,"Accept"),r(t,"Content-Type"),i.isFormData(A)||i.isArrayBuffer(A)||i.isBuffer(A)||i.isStream(A)||i.isFile(A)||i.isBlob(A)?A:i.isArrayBufferView(A)?A.buffer:i.isURLSearchParams(A)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),A.toString()):i.isObject(A)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(A,t,e){if(i.isString(A))try{return(0,JSON.parse)(A),i.trim(A)}catch(A){if("SyntaxError"!==A.name)throw A}return(0,JSON.stringify)(A)}(A)):A}],transformResponse:[function(A){var t=this.transitional||u.transitional,e=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,r=!e&&"json"===this.responseType;if(r||n&&i.isString(A)&&A.length)try{return JSON.parse(A)}catch(A){if(r){if("SyntaxError"===A.name)throw o(A,this,"E_JSON_PARSE");throw A}}return A}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(A){return A>=200&&A<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(A){u.headers[A]={}})),i.forEach(["post","put","patch"],(function(A){u.headers[A]=i.merge(s)})),A.exports=u},9641:A=>{A.exports={version:"0.25.0"}},9012:A=>{"use strict";A.exports=function(A,t){return function(){for(var e=new Array(arguments.length),n=0;n{"use strict";var n=e(9516);function i(A){return encodeURIComponent(A).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}A.exports=function(A,t,e){if(!t)return A;var r;if(e)r=e(t);else if(n.isURLSearchParams(t))r=t.toString();else{var o=[];n.forEach(t,(function(A,t){null!=A&&(n.isArray(A)?t+="[]":A=[A],n.forEach(A,(function(A){n.isDate(A)?A=A.toISOString():n.isObject(A)&&(A=JSON.stringify(A)),o.push(i(t)+"="+i(A))})))})),r=o.join("&")}if(r){var s=A.indexOf("#");-1!==s&&(A=A.slice(0,s)),A+=(-1===A.indexOf("?")?"?":"&")+r}return A}},4680:A=>{"use strict";A.exports=function(A,t){return t?A.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):A}},3948:(A,t,e)=>{"use strict";var n=e(9516);A.exports=n.isStandardBrowserEnv()?{write:function(A,t,e,i,r,o){var s=[];s.push(A+"="+encodeURIComponent(t)),n.isNumber(e)&&s.push("expires="+new Date(e).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(r)&&s.push("domain="+r),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(A){var t=document.cookie.match(new RegExp("(^|;\\s*)("+A+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(A){this.write(A,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},9137:A=>{"use strict";A.exports=function(A){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(A)}},5019:(A,t,e)=>{"use strict";var n=e(9516);A.exports=function(A){return n.isObject(A)&&!0===A.isAxiosError}},4202:(A,t,e)=>{"use strict";var n=e(9516);A.exports=n.isStandardBrowserEnv()?function(){var A,t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");function i(A){var n=A;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return A=i(window.location.href),function(t){var e=n.isString(t)?i(t):t;return e.protocol===A.protocol&&e.host===A.host}}():function(){return!0}},7018:(A,t,e)=>{"use strict";var n=e(9516);A.exports=function(A,t){n.forEach(A,(function(e,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(A[t]=e,delete A[n])}))}},2012:(A,t,e)=>{"use strict";var n=e(9516),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];A.exports=function(A){var t,e,r,o={};return A?(n.forEach(A.split("\n"),(function(A){if(r=A.indexOf(":"),t=n.trim(A.substr(0,r)).toLowerCase(),e=n.trim(A.substr(r+1)),t){if(o[t]&&i.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([e]):o[t]?o[t]+", "+e:e}})),o):o}},7980:A=>{"use strict";A.exports=function(A){return function(t){return A.apply(null,t)}}},4841:(A,t,e)=>{"use strict";var n=e(9641).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(A,t){i[A]=function(e){return typeof e===A||"a"+(t<1?"n ":" ")+A}}));var r={};i.transitional=function(A,t,e){function i(A,t){return"[Axios v"+n+"] Transitional option '"+A+"'"+t+(e?". "+e:"")}return function(e,n,o){if(!1===A)throw new Error(i(n," has been removed"+(t?" in "+t:"")));return t&&!r[n]&&(r[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!A||A(e,n,o)}},A.exports={assertOptions:function(A,t,e){if("object"!=typeof A)throw new TypeError("options must be an object");for(var n=Object.keys(A),i=n.length;i-- >0;){var r=n[i],o=t[r];if(o){var s=A[r],a=void 0===s||o(s,r,A);if(!0!==a)throw new TypeError("option "+r+" must be "+a)}else if(!0!==e)throw Error("Unknown option "+r)}},validators:i}},9516:(A,t,e)=>{"use strict";var n=e(9012),i=Object.prototype.toString;function r(A){return Array.isArray(A)}function o(A){return void 0===A}function s(A){return"[object ArrayBuffer]"===i.call(A)}function a(A){return null!==A&&"object"==typeof A}function c(A){if("[object Object]"!==i.call(A))return!1;var t=Object.getPrototypeOf(A);return null===t||t===Object.prototype}function u(A){return"[object Function]"===i.call(A)}function l(A,t){if(null!=A)if("object"!=typeof A&&(A=[A]),r(A))for(var e=0,n=A.length;e{"use strict";var n=Object.freeze({}),i=Array.isArray;function r(A){return null==A}function o(A){return null!=A}function s(A){return!0===A}function a(A){return"string"==typeof A||"number"==typeof A||"symbol"==typeof A||"boolean"==typeof A}function c(A){return"function"==typeof A}function u(A){return null!==A&&"object"==typeof A}var l=Object.prototype.toString;function d(A){return"[object Object]"===l.call(A)}function f(A){var t=parseFloat(String(A));return t>=0&&Math.floor(t)===t&&isFinite(A)}function h(A){return o(A)&&"function"==typeof A.then&&"function"==typeof A.catch}function p(A){return null==A?"":Array.isArray(A)||d(A)&&A.toString===l?JSON.stringify(A,g,2):String(A)}function g(A,t){return t&&t.__v_isRef?t.value:t}function B(A){var t=parseFloat(A);return isNaN(t)?A:t}function b(A,t){for(var e=Object.create(null),n=A.split(","),i=0;i-1)return A.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function C(A,t){return m.call(A,t)}function v(A){var t=Object.create(null);return function(e){return t[e]||(t[e]=A(e))}}var Q=/-(\w)/g,y=v((function(A){return A.replace(Q,(function(A,t){return t?t.toUpperCase():""}))})),I=v((function(A){return A.charAt(0).toUpperCase()+A.slice(1)})),z=/\B([A-Z])/g,D=v((function(A){return A.replace(z,"-$1").toLowerCase()})),L=Function.prototype.bind?function(A,t){return A.bind(t)}:function(A,t){function e(e){var n=arguments.length;return n?n>1?A.apply(t,arguments):A.call(t,e):A.call(t)}return e._length=A.length,e};function O(A,t){t=t||0;for(var e=A.length-t,n=new Array(e);e--;)n[e]=A[e+t];return n}function x(A,t){for(var e in t)A[e]=t[e];return A}function Y(A){for(var t={},e=0;e0,$=K&&K.indexOf("edge/")>0;K&&K.indexOf("android");var AA=K&&/iphone|ipad|ipod|ios/.test(K);K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K);var tA,eA=K&&K.match(/firefox\/(\d+)/),nA={}.watch,iA=!1;if(J)try{var rA={};Object.defineProperty(rA,"passive",{get:function(){iA=!0}}),window.addEventListener("test-passive",null,rA)}catch(A){}var oA=function(){return void 0===tA&&(tA=!J&&void 0!==e.g&&e.g.process&&"server"===e.g.process.env.VUE_ENV),tA},sA=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function aA(A){return"function"==typeof A&&/native code/.test(A.toString())}var cA,uA="undefined"!=typeof Symbol&&aA(Symbol)&&"undefined"!=typeof Reflect&&aA(Reflect.ownKeys);cA="undefined"!=typeof Set&&aA(Set)?Set:function(){function A(){this.set=Object.create(null)}return A.prototype.has=function(A){return!0===this.set[A]},A.prototype.add=function(A){this.set[A]=!0},A.prototype.clear=function(){this.set=Object.create(null)},A}();var lA=null;function dA(A){void 0===A&&(A=null),A||lA&&lA._scope.off(),lA=A,A&&A._scope.on()}var fA=function(){function A(A,t,e,n,i,r,o,s){this.tag=A,this.data=t,this.children=e,this.text=n,this.elm=i,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(A.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),A}(),hA=function(A){void 0===A&&(A="");var t=new fA;return t.text=A,t.isComment=!0,t};function pA(A){return new fA(void 0,void 0,void 0,String(A))}function gA(A){var t=new fA(A.tag,A.data,A.children&&A.children.slice(),A.text,A.elm,A.context,A.componentOptions,A.asyncFactory);return t.ns=A.ns,t.isStatic=A.isStatic,t.key=A.key,t.isComment=A.isComment,t.fnContext=A.fnContext,t.fnOptions=A.fnOptions,t.fnScopeId=A.fnScopeId,t.asyncMeta=A.asyncMeta,t.isCloned=!0,t}"function"==typeof SuppressedError&&SuppressedError;var BA=0,bA=[],wA=function(){for(var A=0;A0&&(UA((n=VA(n,"".concat(t||"","_").concat(e)))[0])&&UA(u)&&(l[c]=pA(u.text+n[0].text),n.shift()),l.push.apply(l,n)):a(n)?UA(u)?l[c]=pA(u.text+n):""!==n&&l.push(pA(n)):UA(n)&&UA(u)?l[c]=pA(u.text+n.text):(s(A._isVList)&&o(n.tag)&&r(n.key)&&o(t)&&(n.key="__vlist".concat(t,"_").concat(e,"__")),l.push(n)));return l}var JA=1,KA=2;function XA(A,t,e,n,r,l){return(i(e)||a(e))&&(r=n,n=e,e=void 0),s(l)&&(r=KA),function(A,t,e,n,r){if(o(e)&&o(e.__ob__))return hA();if(o(e)&&o(e.is)&&(t=e.is),!t)return hA();var s,a;if(i(n)&&c(n[0])&&((e=e||{}).scopedSlots={default:n[0]},n.length=0),r===KA?n=jA(n):r===JA&&(n=function(A){for(var t=0;t0,s=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&i&&i!==n&&a===i.$key&&!o&&!i.$hasNormal)return i;for(var c in r={},t)t[c]&&"$"!==c[0]&&(r[c]=bt(A,e,c,t[c]))}else r={};for(var u in e)u in r||(r[u]=wt(e,u));return t&&Object.isExtensible(t)&&(t._normalized=r),j(r,"$stable",s),j(r,"$key",a),j(r,"$hasNormal",o),r}function bt(A,t,e,n){var r=function(){var t=lA;dA(A);var e=arguments.length?n.apply(null,arguments):n({}),r=(e=e&&"object"==typeof e&&!i(e)?[e]:jA(e))&&e[0];return dA(t),e&&(!r||1===e.length&&r.isComment&&!gt(r))?void 0:e};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function wt(A,t){return function(){return A[t]}}function Et(A){return{get attrs(){if(!A._attrsProxy){var t=A._attrsProxy={};j(t,"_v_attr_proxy",!0),Mt(t,A.$attrs,n,A,"$attrs")}return A._attrsProxy},get listeners(){return A._listenersProxy||Mt(A._listenersProxy={},A.$listeners,n,A,"$listeners"),A._listenersProxy},get slots(){return function(A){return A._slotsProxy||Ct(A._slotsProxy={},A.$scopedSlots),A._slotsProxy}(A)},emit:L(A.$emit,A),expose:function(t){t&&Object.keys(t).forEach((function(e){return TA(A,t,e)}))}}}function Mt(A,t,e,n,i){var r=!1;for(var o in t)o in A?t[o]!==e[o]&&(r=!0):(r=!0,mt(A,o,n,i));for(var o in A)o in t||(r=!0,delete A[o]);return r}function mt(A,t,e,n){Object.defineProperty(A,t,{enumerable:!0,configurable:!0,get:function(){return e[n][t]}})}function Ct(A,t){for(var e in t)A[e]=t[e];for(var e in A)e in t||delete A[e]}var vt,Qt,yt=null;function It(A,t){return(A.__esModule||uA&&"Module"===A[Symbol.toStringTag])&&(A=A.default),u(A)?t.extend(A):A}function zt(A){if(i(A))for(var t=0;tdocument.createEvent("Event").timeStamp&&(Ut=function(){return Vt.now()})}var Jt=function(A,t){if(A.post){if(!t.post)return 1}else if(t.post)return-1;return A.id-t.id};function Kt(){var A,t;for(jt=Ut(),_t=!0,Tt.sort(Jt),qt=0;qtqt&&Tt[e].id>A.id;)e--;Tt.splice(e+1,0,A)}else Tt.push(A);Nt||(Nt=!0,le(Kt))}}(this)},A.prototype.run=function(){if(this.active){var A=this.get();if(A!==this.value||u(A)||this.deep){var t=this.value;if(this.value=A,this.user){var e='callback for watcher "'.concat(this.expression,'"');$t(this.cb,this.vm,[A,t],this.vm,e)}else this.cb.call(this.vm,A,t)}}},A.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},A.prototype.depend=function(){for(var A=this.deps.length;A--;)this.deps[A].depend()},A.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&M(this.vm._scope.effects,this),this.active){for(var A=this.deps.length;A--;)this.deps[A].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},A}(),be={enumerable:!0,configurable:!0,get:R,set:R};function we(A,t,e){be.get=function(){return this[t][e]},be.set=function(A){this[t][e]=A},Object.defineProperty(A,e,be)}var Ee={lazy:!0};function Me(A,t,e){var n=!oA();c(e)?(be.get=n?me(t):Ce(e),be.set=R):(be.get=e.get?n&&!1!==e.cache?me(t):Ce(e.get):R,be.set=e.set||R),Object.defineProperty(A,t,be)}function me(A){return function(){var t=this._computedWatchers&&this._computedWatchers[A];if(t)return t.dirty&&t.evaluate(),EA.target&&t.depend(),t.value}}function Ce(A){return function(){return A.call(this,this)}}function ve(A,t,e,n){return d(e)&&(n=e,e=e.handler),"string"==typeof e&&(e=A[e]),A.$watch(t,e,n)}function Qe(A,t){if(A){for(var e=Object.create(null),n=uA?Reflect.ownKeys(A):Object.keys(A),i=0;i-1)if(r&&!C(i,"default"))o=!1;else if(""===o||o===D(A)){var a=Je(String,i.type);(a<0||s-1:"string"==typeof A?A.split(",").indexOf(t)>-1:!!function(A){return"[object RegExp]"===l.call(A)}(A)&&A.test(t)}function $e(A,t){var e=A.cache,n=A.keys,i=A._vnode,r=A.$vnode;for(var o in e){var s=e[o];if(s){var a=s.name;a&&!t(a)&&An(e,o,n,i)}}r.componentOptions.children=void 0}function An(A,t,e,n){var i=A[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),A[t]=null,M(e,t)}!function(A){A.prototype._init=function(A){var t=this;t._uid=ye++,t._isVue=!0,t.__v_skip=!0,t._scope=new Yt(!0),t._scope.parent=void 0,t._scope._vm=!0,A&&A._isComponent?function(A,t){var e=A.$options=Object.create(A.constructor.options),n=t._parentVnode;e.parent=t.parent,e._parentVnode=n;var i=n.componentOptions;e.propsData=i.propsData,e._parentListeners=i.listeners,e._renderChildren=i.children,e._componentTag=i.tag,t.render&&(e.render=t.render,e.staticRenderFns=t.staticRenderFns)}(t,A):t.$options=Ne(Ie(t.constructor),A||{},t),t._renderProxy=t,t._self=t,function(A){var t=A.$options,e=t.parent;if(e&&!t.abstract){for(;e.$options.abstract&&e.$parent;)e=e.$parent;e.$children.push(A)}A.$parent=e,A.$root=e?e.$root:A,A.$children=[],A.$refs={},A._provided=e?e._provided:Object.create(null),A._watcher=null,A._inactive=null,A._directInactive=!1,A._isMounted=!1,A._isDestroyed=!1,A._isBeingDestroyed=!1}(t),function(A){A._events=Object.create(null),A._hasHookEvent=!1;var t=A.$options._parentListeners;t&&xt(A,t)}(t),function(A){A._vnode=null,A._staticTrees=null;var t=A.$options,e=A.$vnode=t._parentVnode,i=e&&e.context;A.$slots=ht(t._renderChildren,i),A.$scopedSlots=e?Bt(A.$parent,e.data.scopedSlots,A.$slots):n,A._c=function(t,e,n,i){return XA(A,t,e,n,i,!1)},A.$createElement=function(t,e,n,i){return XA(A,t,e,n,i,!0)};var r=e&&e.data;YA(A,"$attrs",r&&r.attrs||n,null,!0),YA(A,"$listeners",t._parentListeners||n,null,!0)}(t),kt(t,"beforeCreate",void 0,!1),function(A){var t=Qe(A.$options.inject,A);t&&(DA(!1),Object.keys(t).forEach((function(e){YA(A,e,t[e])})),DA(!0))}(t),function(A){var t=A.$options;if(t.props&&function(A,t){var e=A.$options.propsData||{},n=A._props=SA({}),i=A.$options._propKeys=[];!A.$parent||DA(!1);var r=function(r){i.push(r);var o=qe(r,t,e,A);YA(n,r,o,void 0,!0),r in A||we(A,"_props",r)};for(var o in t)r(o);DA(!0)}(A,t.props),function(A){var t=A.$options,e=t.setup;if(e){var n=A._setupContext=Et(A);dA(A),mA();var i=$t(e,null,[A._props||SA({}),n],A,"setup");if(CA(),dA(),c(i))t.render=i;else if(u(i))if(A._setupState=i,i.__sfc){var r=A._setupProxy={};for(var o in i)"__sfc"!==o&&TA(r,i,o)}else for(var o in i)q(o)||TA(A,i,o)}}(A),t.methods&&function(A,t){for(var e in A.$options.props,t)A[e]="function"!=typeof t[e]?R:L(t[e],A)}(A,t.methods),t.data)!function(A){var t=A.$options.data;d(t=A._data=c(t)?function(A,t){mA();try{return A.call(t,t)}catch(A){return Zt(A,t,"data()"),{}}finally{CA()}}(t,A):t||{})||(t={});for(var e=Object.keys(t),n=A.$options.props,i=(A.$options.methods,e.length);i--;){var r=e[i];n&&C(n,r)||q(r)||we(A,"_data",r)}var o=xA(t);o&&o.vmCount++}(A);else{var e=xA(A._data={});e&&e.vmCount++}t.computed&&function(A,t){var e=A._computedWatchers=Object.create(null),n=oA();for(var i in t){var r=t[i],o=c(r)?r:r.get;n||(e[i]=new Be(A,o||R,R,Ee)),i in A||Me(A,i,r)}}(A,t.computed),t.watch&&t.watch!==nA&&function(A,t){for(var e in t){var n=t[e];if(i(n))for(var r=0;r1?O(e):e;for(var n=O(arguments,1),i='event handler for "'.concat(A,'"'),r=0,o=e.length;rparseInt(this.max)&&An(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var A in this.cache)An(this.cache,A,this.keys)},mounted:function(){var A=this;this.cacheVNode(),this.$watch("include",(function(t){$e(A,(function(A){return Ze(t,A)}))})),this.$watch("exclude",(function(t){$e(A,(function(A){return!Ze(t,A)}))}))},updated:function(){this.cacheVNode()},render:function(){var A=this.$slots.default,t=zt(A),e=t&&t.componentOptions;if(e){var n=Xe(e),i=this.include,r=this.exclude;if(i&&(!n||!Ze(i,n))||r&&n&&Ze(r,n))return t;var o=this.cache,s=this.keys,a=null==t.key?e.Ctor.cid+(e.tag?"::".concat(e.tag):""):t.key;o[a]?(t.componentInstance=o[a].componentInstance,M(s,a),s.push(a)):(this.vnodeToCache=t,this.keyToCache=a),t.data.keepAlive=!0}return t||A&&A[0]}},nn={KeepAlive:en};!function(A){var t={get:function(){return N}};Object.defineProperty(A,"config",t),A.util={warn:We,extend:x,mergeOptions:Ne,defineReactive:YA},A.set=RA,A.delete=FA,A.nextTick=le,A.observable=function(A){return xA(A),A},A.options=Object.create(null),G.forEach((function(t){A.options[t+"s"]=Object.create(null)})),A.options._base=A,x(A.options.components,nn),function(A){A.use=function(A){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(A)>-1)return this;var e=O(arguments,1);return e.unshift(this),c(A.install)?A.install.apply(A,e):c(A)&&A.apply(null,e),t.push(A),this}}(A),function(A){A.mixin=function(A){return this.options=Ne(this.options,A),this}}(A),function(A){A.cid=0;var t=1;A.extend=function(A){A=A||{};var e=this,n=e.cid,i=A._Ctor||(A._Ctor={});if(i[n])return i[n];var r=Oe(A)||Oe(e.options),o=function(A){this._init(A)};return(o.prototype=Object.create(e.prototype)).constructor=o,o.cid=t++,o.options=Ne(e.options,A),o.super=e,o.options.props&&function(A){var t=A.options.props;for(var e in t)we(A.prototype,"_props",e)}(o),o.options.computed&&function(A){var t=A.options.computed;for(var e in t)Me(A.prototype,e,t[e])}(o),o.extend=e.extend,o.mixin=e.mixin,o.use=e.use,G.forEach((function(A){o[A]=e[A]})),r&&(o.options.components[r]=o),o.superOptions=e.options,o.extendOptions=A,o.sealedOptions=x({},o.options),i[n]=o,o}}(A),function(A){G.forEach((function(t){A[t]=function(A,e){return e?("component"===t&&d(e)&&(e.name=e.name||A,e=this.options._base.extend(e)),"directive"===t&&c(e)&&(e={bind:e,update:e}),this.options[t+"s"][A]=e,e):this.options[t+"s"][A]}}))}(A)}(Ke),Object.defineProperty(Ke.prototype,"$isServer",{get:oA}),Object.defineProperty(Ke.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ke,"FunctionalRenderContext",{value:ze}),Ke.version="2.7.16";var rn=b("style,class"),on=b("input,textarea,option,select,progress"),sn=function(A,t,e){return"value"===e&&on(A)&&"button"!==t||"selected"===e&&"option"===A||"checked"===e&&"input"===A||"muted"===e&&"video"===A},an=b("contenteditable,draggable,spellcheck"),cn=b("events,caret,typing,plaintext-only"),un=function(A,t){return pn(t)||"false"===t?"false":"contenteditable"===A&&cn(t)?t:"true"},ln=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),dn="http://www.w3.org/1999/xlink",fn=function(A){return":"===A.charAt(5)&&"xlink"===A.slice(0,5)},hn=function(A){return fn(A)?A.slice(6,A.length):""},pn=function(A){return null==A||!1===A};function gn(A,t){return{staticClass:Bn(A.staticClass,t.staticClass),class:o(A.class)?[A.class,t.class]:t.class}}function Bn(A,t){return A?t?A+" "+t:A:t||""}function bn(A){return Array.isArray(A)?function(A){for(var t,e="",n=0,i=A.length;n-1?_n(A,t,e):ln(t)?pn(e)?A.removeAttribute(t):(e="allowfullscreen"===t&&"EMBED"===A.tagName?"true":t,A.setAttribute(t,e)):an(t)?A.setAttribute(t,un(t,e)):fn(t)?pn(e)?A.removeAttributeNS(dn,hn(t)):A.setAttributeNS(dn,t,e):_n(A,t,e)}function _n(A,t,e){if(pn(e))A.removeAttribute(t);else{if(X&&!Z&&"TEXTAREA"===A.tagName&&"placeholder"===t&&""!==e&&!A.__ieph){var n=function(t){t.stopImmediatePropagation(),A.removeEventListener("input",n)};A.addEventListener("input",n),A.__ieph=!0}A.setAttribute(t,e)}}var qn={create:Hn,update:Hn};function jn(A,t){var e=t.elm,n=t.data,i=A.data;if(!(r(n.staticClass)&&r(n.class)&&(r(i)||r(i.staticClass)&&r(i.class)))){var s=function(A){for(var t=A.data,e=A,n=A;o(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(t=gn(n.data,t));for(;o(e=e.parent);)e&&e.data&&(t=gn(t,e.data));return function(A,t){return o(A)||o(t)?Bn(A,bn(t)):""}(t.staticClass,t.class)}(t),a=e._transitionClasses;o(a)&&(s=Bn(s,bn(a))),s!==e._prevClass&&(e.setAttribute("class",s),e._prevClass=s)}}var Un,Vn,Jn,Kn,Xn,Zn,$n={create:jn,update:jn},Ai=/[\w).+\-_$\]]/;function ti(A){var t,e,n,i,r,o=!1,s=!1,a=!1,c=!1,u=0,l=0,d=0,f=0;for(n=0;n=0&&" "===(p=A.charAt(h));h--);p&&Ai.test(p)||(c=!0)}}else void 0===i?(f=n+1,i=A.slice(0,n).trim()):g();function g(){(r||(r=[])).push(A.slice(f,n).trim()),f=n+1}if(void 0===i?i=A.slice(0,n).trim():0!==f&&g(),r)for(n=0;n-1?{exp:A.slice(0,Kn),key:'"'+A.slice(Kn+1)+'"'}:{exp:A,key:null};for(Vn=A,Kn=Xn=Zn=0;!bi();)wi(Jn=Bi())?Mi(Jn):91===Jn&&Ei(Jn);return{exp:A.slice(0,Xn),key:A.slice(Xn+1,Zn)}}(A);return null===e.key?"".concat(A,"=").concat(t):"$set(".concat(e.exp,", ").concat(e.key,", ").concat(t,")")}function Bi(){return Vn.charCodeAt(++Kn)}function bi(){return Kn>=Un}function wi(A){return 34===A||39===A}function Ei(A){var t=1;for(Xn=Kn;!bi();)if(wi(A=Bi()))Mi(A);else if(91===A&&t++,93===A&&t--,0===t){Zn=Kn;break}}function Mi(A){for(var t=A;!bi()&&(A=Bi())!==t;);}var mi,Ci="__r",vi="__c";function Qi(A,t,e){var n=mi;return function i(){null!==t.apply(null,arguments)&&zi(A,i,e,n)}}var yi=ne&&!(eA&&Number(eA[1])<=53);function Ii(A,t,e,n){if(yi){var i=jt,r=t;t=r._wrapper=function(A){if(A.target===A.currentTarget||A.timeStamp>=i||A.timeStamp<=0||A.target.ownerDocument!==document)return r.apply(this,arguments)}}mi.addEventListener(A,t,iA?{capture:e,passive:n}:e)}function zi(A,t,e,n){(n||mi).removeEventListener(A,t._wrapper||t,e)}function Di(A,t){if(!r(A.data.on)||!r(t.data.on)){var e=t.data.on||{},n=A.data.on||{};mi=t.elm||A.elm,function(A){if(o(A[Ci])){var t=X?"change":"input";A[t]=[].concat(A[Ci],A[t]||[]),delete A[Ci]}o(A[vi])&&(A.change=[].concat(A[vi],A.change||[]),delete A[vi])}(e),NA(e,n,Ii,zi,Qi,t.context),mi=void 0}}var Li,Oi={create:Di,update:Di,destroy:function(A){return Di(A,On)}};function xi(A,t){if(!r(A.data.domProps)||!r(t.data.domProps)){var e,n,i=t.elm,a=A.data.domProps||{},c=t.data.domProps||{};for(e in(o(c.__ob__)||s(c._v_attr_proxy))&&(c=t.data.domProps=x({},c)),a)e in c||(i[e]="");for(e in c){if(n=c[e],"textContent"===e||"innerHTML"===e){if(t.children&&(t.children.length=0),n===a[e])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===e&&"PROGRESS"!==i.tagName){i._value=n;var u=r(n)?"":String(n);Yi(i,u)&&(i.value=u)}else if("innerHTML"===e&&Mn(i.tagName)&&r(i.innerHTML)){(Li=Li||document.createElement("div")).innerHTML="".concat(n,"");for(var l=Li.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(n!==a[e])try{i[e]=n}catch(A){}}}}function Yi(A,t){return!A.composing&&("OPTION"===A.tagName||function(A,t){var e=!0;try{e=document.activeElement!==A}catch(A){}return e&&A.value!==t}(A,t)||function(A,t){var e=A.value,n=A._vModifiers;if(o(n)){if(n.number)return B(e)!==B(t);if(n.trim)return e.trim()!==t.trim()}return e!==t}(A,t))}var Ri={create:xi,update:xi},Fi=v((function(A){var t={},e=/:(.+)/;return A.split(/;(?![^(]*\))/g).forEach((function(A){if(A){var n=A.split(e);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Wi(A){var t=Si(A.style);return A.staticStyle?x(A.staticStyle,t):t}function Si(A){return Array.isArray(A)?Y(A):"string"==typeof A?Fi(A):A}var Pi,ki=/^--/,Ti=/\s*!important$/,Gi=function(A,t,e){if(ki.test(t))A.style.setProperty(t,e);else if(Ti.test(e))A.style.setProperty(D(t),e.replace(Ti,""),"important");else{var n=Ni(t);if(Array.isArray(e))for(var i=0,r=e.length;i-1?t.split(ji).forEach((function(t){return A.classList.add(t)})):A.classList.add(t);else{var e=" ".concat(A.getAttribute("class")||""," ");e.indexOf(" "+t+" ")<0&&A.setAttribute("class",(e+t).trim())}}function Vi(A,t){if(t&&(t=t.trim()))if(A.classList)t.indexOf(" ")>-1?t.split(ji).forEach((function(t){return A.classList.remove(t)})):A.classList.remove(t),A.classList.length||A.removeAttribute("class");else{for(var e=" ".concat(A.getAttribute("class")||""," "),n=" "+t+" ";e.indexOf(n)>=0;)e=e.replace(n," ");(e=e.trim())?A.setAttribute("class",e):A.removeAttribute("class")}}function Ji(A){if(A){if("object"==typeof A){var t={};return!1!==A.css&&x(t,Ki(A.name||"v")),x(t,A),t}return"string"==typeof A?Ki(A):void 0}}var Ki=v((function(A){return{enterClass:"".concat(A,"-enter"),enterToClass:"".concat(A,"-enter-to"),enterActiveClass:"".concat(A,"-enter-active"),leaveClass:"".concat(A,"-leave"),leaveToClass:"".concat(A,"-leave-to"),leaveActiveClass:"".concat(A,"-leave-active")}})),Xi=J&&!Z,Zi="transition",$i="animation",Ar="transition",tr="transitionend",er="animation",nr="animationend";Xi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ar="WebkitTransition",tr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(er="WebkitAnimation",nr="webkitAnimationEnd"));var ir=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(A){return A()};function rr(A){ir((function(){ir(A)}))}function or(A,t){var e=A._transitionClasses||(A._transitionClasses=[]);e.indexOf(t)<0&&(e.push(t),Ui(A,t))}function sr(A,t){A._transitionClasses&&M(A._transitionClasses,t),Vi(A,t)}function ar(A,t,e){var n=ur(A,t),i=n.type,r=n.timeout,o=n.propCount;if(!i)return e();var s=i===Zi?tr:nr,a=0,c=function(){A.removeEventListener(s,u),e()},u=function(t){t.target===A&&++a>=o&&c()};setTimeout((function(){a0&&(e=Zi,u=o,l=r.length):t===$i?c>0&&(e=$i,u=c,l=a.length):l=(e=(u=Math.max(o,c))>0?o>c?Zi:$i:null)?e===Zi?r.length:a.length:0,{type:e,timeout:u,propCount:l,hasTransform:e===Zi&&cr.test(n[Ar+"Property"])}}function lr(A,t){for(;A.length1}function Br(A,t){!0!==t.data.show&&fr(t)}var br=function(A){var t,e,n={},c=A.modules,u=A.nodeOps;for(t=0;th?E(A,r(e[B+1])?null:e[B+1].elm,e,f,B,n):f>B&&m(t,l,h)}(l,p,B,e,c):o(B)?(o(A.text)&&u.setTextContent(l,""),E(l,null,B,0,B.length-1,e)):o(p)?m(p,0,p.length-1):o(A.text)&&u.setTextContent(l,""):A.text!==t.text&&u.setTextContent(l,t.text),o(h)&&o(f=h.hook)&&o(f=f.postpatch)&&f(A,t)}}}function y(A,t,e){if(s(e)&&o(A.parent))A.parent.data.pendingInsert=t;else for(var n=0;n-1,o.selected!==r&&(o.selected=r);else if(S(Cr(o),n))return void(A.selectedIndex!==s&&(A.selectedIndex=s));i||(A.selectedIndex=-1)}}function mr(A,t){return t.every((function(t){return!S(t,A)}))}function Cr(A){return"_value"in A?A._value:A.value}function vr(A){A.target.composing=!0}function Qr(A){A.target.composing&&(A.target.composing=!1,yr(A.target,"input"))}function yr(A,t){var e=document.createEvent("HTMLEvents");e.initEvent(t,!0,!0),A.dispatchEvent(e)}function Ir(A){return!A.componentInstance||A.data&&A.data.transition?A:Ir(A.componentInstance._vnode)}var zr={bind:function(A,t,e){var n=t.value,i=(e=Ir(e)).data&&e.data.transition,r=A.__vOriginalDisplay="none"===A.style.display?"":A.style.display;n&&i?(e.data.show=!0,fr(e,(function(){A.style.display=r}))):A.style.display=n?r:"none"},update:function(A,t,e){var n=t.value;!n!=!t.oldValue&&((e=Ir(e)).data&&e.data.transition?(e.data.show=!0,n?fr(e,(function(){A.style.display=A.__vOriginalDisplay})):hr(e,(function(){A.style.display="none"}))):A.style.display=n?A.__vOriginalDisplay:"none")},unbind:function(A,t,e,n,i){i||(A.style.display=A.__vOriginalDisplay)}},Dr={model:wr,show:zr},Lr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Or(A){var t=A&&A.componentOptions;return t&&t.Ctor.options.abstract?Or(zt(t.children)):A}function xr(A){var t={},e=A.$options;for(var n in e.propsData)t[n]=A[n];var i=e._parentListeners;for(var n in i)t[y(n)]=i[n];return t}function Yr(A,t){if(/\d-keep-alive$/.test(t.tag))return A("keep-alive",{props:t.componentOptions.propsData})}var Rr=function(A){return A.tag||gt(A)},Fr=function(A){return"show"===A.name},Wr={name:"transition",props:Lr,abstract:!0,render:function(A){var t=this,e=this.$slots.default;if(e&&(e=e.filter(Rr)).length){var n=this.mode,i=e[0];if(function(A){for(;A=A.parent;)if(A.data.transition)return!0}(this.$vnode))return i;var r=Or(i);if(!r)return i;if(this._leaving)return Yr(A,i);var o="__transition-".concat(this._uid,"-");r.key=null==r.key?r.isComment?o+"comment":o+r.tag:a(r.key)?0===String(r.key).indexOf(o)?r.key:o+r.key:r.key;var s=(r.data||(r.data={})).transition=xr(this),c=this._vnode,u=Or(c);if(r.data.directives&&r.data.directives.some(Fr)&&(r.data.show=!0),u&&u.data&&!function(A,t){return t.key===A.key&&t.tag===A.tag}(r,u)&&!gt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var l=u.data.transition=x({},s);if("out-in"===n)return this._leaving=!0,_A(l,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Yr(A,i);if("in-out"===n){if(gt(r))return c;var d,f=function(){d()};_A(s,"afterEnter",f),_A(s,"enterCancelled",f),_A(l,"delayLeave",(function(A){d=A}))}}return i}}},Sr=x({tag:String,moveClass:String},Lr);delete Sr.mode;var Pr={props:Sr,beforeMount:function(){var A=this,t=this._update;this._update=function(e,n){var i=Ft(A);A.__patch__(A._vnode,A.kept,!1,!0),A._vnode=A.kept,i(),t.call(A,e,n)}},render:function(A){for(var t=this.tag||this.$vnode.data.tag||"span",e=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],o=xr(this),s=0;s-1?vn[A]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:vn[A]=/HTMLUnknownElement/.test(t.toString())},x(Ke.options.directives,Dr),x(Ke.options.components,Hr),Ke.prototype.__patch__=J?br:R,Ke.prototype.$mount=function(A,t){return function(A,t,e){var n;A.$el=t,A.$options.render||(A.$options.render=hA),kt(A,"beforeMount"),n=function(){A._update(A._render(),e)},new Be(A,n,R,{before:function(){A._isMounted&&!A._isDestroyed&&kt(A,"beforeUpdate")}},!0),e=!1;var i=A._preWatchers;if(i)for(var r=0;r\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,$r=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ao="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(_.source,"]*"),to="((?:".concat(Ao,"\\:)?").concat(Ao,")"),eo=new RegExp("^<".concat(to)),no=/^\s*(\/?)>/,io=new RegExp("^<\\/".concat(to,"[^>]*>")),ro=/^]+>/i,oo=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},lo=/&(?:lt|gt|quot|amp|#39);/g,fo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ho=b("pre,textarea",!0),po=function(A,t){return A&&ho(A)&&"\n"===t[0]};function go(A,t){var e=t?fo:lo;return A.replace(e,(function(A){return uo[A]}))}var Bo,bo,wo,Eo,Mo,mo,Co,vo,Qo=/^@|^v-on:/,yo=/^v-|^@|^:|^#/,Io=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,zo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Do=/^\(|\)$/g,Lo=/^\[.*\]$/,Oo=/:(.*)$/,xo=/^:|^\.|^v-bind:/,Yo=/\.[^.\]]+(?=[^\]]*$)/g,Ro=/^v-slot(:|$)|^#/,Fo=/[\r\n]/,Wo=/[ \f\t\r\n]+/g,So=v((function(A){return(Nr=Nr||document.createElement("div")).innerHTML=A,Nr.textContent})),Po="_empty_";function ko(A,t,e){return{type:1,tag:A,attrsList:t,attrsMap:jo(t),rawAttrsMap:{},parent:e,children:[]}}function To(A,t){Bo=t.warn||ni,mo=t.isPreTag||F,Co=t.mustUseProp||F,vo=t.getTagNamespace||F;t.isReservedTag;wo=ii(t.modules,"transformNode"),Eo=ii(t.modules,"preTransformNode"),Mo=ii(t.modules,"postTransformNode"),bo=t.delimiters;var e,n,i=[],r=!1!==t.preserveWhitespace,o=t.whitespace,s=!1,a=!1;function c(A){if(u(A),s||A.processed||(A=Go(A,t)),i.length||A===e||e.if&&(A.elseif||A.else)&&No(e,{exp:A.elseif,block:A}),n&&!A.forbidden)if(A.elseif||A.else)o=A,c=function(A){for(var t=A.length;t--;){if(1===A[t].type)return A[t];A.pop()}}(n.children),c&&c.if&&No(c,{exp:o.elseif,block:o});else{if(A.slotScope){var r=A.slotTarget||'"default"';(n.scopedSlots||(n.scopedSlots={}))[r]=A}n.children.push(A),A.parent=n}var o,c;A.children=A.children.filter((function(A){return!A.slotScope})),u(A),A.pre&&(s=!1),mo(A.tag)&&(a=!1);for(var l=0;l]*>)","i"));m=A.replace(f,(function(A,e,n){return c=n.length,ao(d)||"noscript"===d||(e=e.replace(//g,"$1").replace(//g,"$1")),po(d,e)&&(e=e.slice(1)),t.chars&&t.chars(e),""})),a+=A.length-m.length,A=m,l(d,a-c,a)}else{var h=A.indexOf("<");if(0===h){if(oo.test(A)){var p=A.indexOf("--\x3e");if(p>=0)return t.shouldKeepComment&&t.comment&&t.comment(A.substring(4,p),a,a+p+3),u(p+3),"continue"}if(so.test(A)){var g=A.indexOf("]>");if(g>=0)return u(g+2),"continue"}var B=A.match(ro);if(B)return u(B[0].length),"continue";var b=A.match(io);if(b){var w=a;return u(b[0].length),l(b[1],w,a),"continue"}var E=function(){var t=A.match(eo);if(t){var e={tagName:t[1],attrs:[],start:a};u(t[0].length);for(var n=void 0,i=void 0;!(n=A.match(no))&&(i=A.match($r)||A.match(Zr));)i.start=a,u(i[0].length),i.end=a,e.attrs.push(i);if(n)return e.unarySlash=n[1],u(n[0].length),e.end=a,e}}();if(E)return function(A){var e=A.tagName,a=A.unarySlash;r&&("p"===n&&Xr(e)&&l(n),s(e)&&n===e&&l(e));for(var c=o(e)||!!a,u=A.attrs.length,d=new Array(u),f=0;f=0){for(m=A.slice(h);!(io.test(m)||eo.test(m)||oo.test(m)||so.test(m)||(C=m.indexOf("<",1))<0);)h+=C,m=A.slice(h);M=A.substring(0,h)}h<0&&(M=A),M&&u(M.length),t.chars&&M&&t.chars(M,a-M.length,a)}if(A===e)return t.chars&&t.chars(A),"break"};A&&"break"!==c(););function u(t){a+=t,A=A.substring(t)}function l(A,e,r){var o,s;if(null==e&&(e=a),null==r&&(r=a),A)for(s=A.toLowerCase(),o=i.length-1;o>=0&&i[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=i.length-1;c>=o;c--)t.end&&t.end(i[c].tag,e,r);i.length=o,n=o&&i[o-1].tag}else"br"===s?t.start&&t.start(A,[],!0,e,r):"p"===s&&(t.start&&t.start(A,[],!1,e,r),t.end&&t.end(A,e,r))}l()}(A,{warn:Bo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(A,r,o,u,l){var d=n&&n.ns||vo(A);X&&"svg"===d&&(r=function(A){for(var t=[],e=0;ea&&(s.push(r=A.slice(a,i)),o.push(JSON.stringify(r)));var c=ti(n[1].trim());o.push("_s(".concat(c,")")),s.push({"@binding":c}),a=i+n[0].length}return a-1")+("true"===r?":(".concat(t,")"):":_q(".concat(t,",").concat(r,")"))),ui(A,"change","var $$a=".concat(t,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(r,"):(").concat(o,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(n?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(gi(t,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(gi(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(gi(t,"$$c"),"}"),null,!0)}(A,n,i);else if("input"===r&&"radio"===o)!function(A,t,e){var n=e&&e.number,i=li(A,"value")||"null";i=n?"_n(".concat(i,")"):i,ri(A,"checked","_q(".concat(t,",").concat(i,")")),ui(A,"change",gi(t,i),null,!0)}(A,n,i);else if("input"===r||"textarea"===r)!function(A,t,e){var n=A.attrsMap.type,i=e||{},r=i.lazy,o=i.number,s=i.trim,a=!r&&"range"!==n,c=r?"change":"range"===n?Ci:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),o&&(u="_n(".concat(u,")"));var l=gi(t,u);a&&(l="if($event.target.composing)return;".concat(l)),ri(A,"value","(".concat(t,")")),ui(A,c,l,null,!0),(s||o)&&ui(A,"blur","$forceUpdate()")}(A,n,i);else if(!N.isReservedTag(r))return pi(A,n,i),!1;return!0},text:function(A,t){t.value&&ri(A,"textContent","_s(".concat(t.value,")"),t)},html:function(A,t){t.value&&ri(A,"innerHTML","_s(".concat(t.value,")"),t)}},As={expectHTML:!0,modules:Zo,directives:$o,isPreTag:function(A){return"pre"===A},isUnaryTag:Jr,mustUseProp:sn,canBeLeftOpenTag:Kr,isReservedTag:mn,getTagNamespace:Cn,staticKeys:function(A){return A.reduce((function(A,t){return A.concat(t.staticKeys||[])}),[]).join(",")}(Zo)},ts=v((function(A){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(A?","+A:""))}));function es(A,t){A&&(Ko=ts(t.staticKeys||""),Xo=t.isReservedTag||F,ns(A),is(A,!1))}function ns(A){if(A.static=function(A){return 2!==A.type&&(3===A.type||!(!A.pre&&(A.hasBindings||A.if||A.for||w(A.tag)||!Xo(A.tag)||function(A){for(;A.parent;){if("template"!==(A=A.parent).tag)return!1;if(A.for)return!0}return!1}(A)||!Object.keys(A).every(Ko))))}(A),1===A.type){if(!Xo(A.tag)&&"slot"!==A.tag&&null==A.attrsMap["inline-template"])return;for(var t=0,e=A.children.length;t|^function(?:\s+[\w$]+)?\s*\(/,os=/\([^)]*?\);*$/,ss=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,as={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},cs={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},us=function(A){return"if(".concat(A,")return null;")},ls={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:us("$event.target !== $event.currentTarget"),ctrl:us("!$event.ctrlKey"),shift:us("!$event.shiftKey"),alt:us("!$event.altKey"),meta:us("!$event.metaKey"),left:us("'button' in $event && $event.button !== 0"),middle:us("'button' in $event && $event.button !== 1"),right:us("'button' in $event && $event.button !== 2")};function ds(A,t){var e=t?"nativeOn:":"on:",n="",i="";for(var r in A){var o=fs(A[r]);A[r]&&A[r].dynamic?i+="".concat(r,",").concat(o,","):n+='"'.concat(r,'":').concat(o,",")}return n="{".concat(n.slice(0,-1),"}"),i?e+"_d(".concat(n,",[").concat(i.slice(0,-1),"])"):e+n}function fs(A){if(!A)return"function(){}";if(Array.isArray(A))return"[".concat(A.map((function(A){return fs(A)})).join(","),"]");var t=ss.test(A.value),e=rs.test(A.value),n=ss.test(A.value.replace(os,""));if(A.modifiers){var i="",r="",o=[],s=function(t){if(ls[t])r+=ls[t],as[t]&&o.push(t);else if("exact"===t){var e=A.modifiers;r+=us(["ctrl","shift","alt","meta"].filter((function(A){return!e[A]})).map((function(A){return"$event.".concat(A,"Key")})).join("||"))}else o.push(t)};for(var a in A.modifiers)s(a);o.length&&(i+=function(A){return"if(!$event.type.indexOf('key')&&"+"".concat(A.map(hs).join("&&"),")return null;")}(o)),r&&(i+=r);var c=t?"return ".concat(A.value,".apply(null, arguments)"):e?"return (".concat(A.value,").apply(null, arguments)"):n?"return ".concat(A.value):A.value;return"function($event){".concat(i).concat(c,"}")}return t||e?A.value:"function($event){".concat(n?"return ".concat(A.value):A.value,"}")}function hs(A){var t=parseInt(A,10);if(t)return"$event.keyCode!==".concat(t);var e=as[A],n=cs[A];return"_k($event.keyCode,"+"".concat(JSON.stringify(A),",")+"".concat(JSON.stringify(e),",")+"$event.key,"+"".concat(JSON.stringify(n))+")"}var ps={on:function(A,t){A.wrapListeners=function(A){return"_g(".concat(A,",").concat(t.value,")")}},bind:function(A,t){A.wrapData=function(e){return"_b(".concat(e,",'").concat(A.tag,"',").concat(t.value,",").concat(t.modifiers&&t.modifiers.prop?"true":"false").concat(t.modifiers&&t.modifiers.sync?",true":"",")")}},cloak:R},gs=function(A){this.options=A,this.warn=A.warn||ni,this.transforms=ii(A.modules,"transformCode"),this.dataGenFns=ii(A.modules,"genData"),this.directives=x(x({},ps),A.directives);var t=A.isReservedTag||F;this.maybeComponent=function(A){return!!A.component||!t(A.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Bs(A,t){var e=new gs(t),n=A?"script"===A.tag?"null":bs(A,e):'_c("div")';return{render:"with(this){return ".concat(n,"}"),staticRenderFns:e.staticRenderFns}}function bs(A,t){if(A.parent&&(A.pre=A.pre||A.parent.pre),A.staticRoot&&!A.staticProcessed)return ws(A,t);if(A.once&&!A.onceProcessed)return Es(A,t);if(A.for&&!A.forProcessed)return Cs(A,t);if(A.if&&!A.ifProcessed)return Ms(A,t);if("template"!==A.tag||A.slotTarget||t.pre){if("slot"===A.tag)return function(A,t){var e=A.slotName||'"default"',n=Is(A,t),i="_t(".concat(e).concat(n?",function(){return ".concat(n,"}"):""),r=A.attrs||A.dynamicAttrs?Ls((A.attrs||[]).concat(A.dynamicAttrs||[]).map((function(A){return{name:y(A.name),value:A.value,dynamic:A.dynamic}}))):null,o=A.attrsMap["v-bind"];return!r&&!o||n||(i+=",null"),r&&(i+=",".concat(r)),o&&(i+="".concat(r?"":",null",",").concat(o)),i+")"}(A,t);var e=void 0;if(A.component)e=function(A,t,e){var n=t.inlineTemplate?null:Is(t,e,!0);return"_c(".concat(A,",").concat(vs(t,e)).concat(n?",".concat(n):"",")")}(A.component,A,t);else{var n=void 0,i=t.maybeComponent(A);(!A.plain||A.pre&&i)&&(n=vs(A,t));var r=void 0,o=t.options.bindings;i&&o&&!1!==o.__isScriptSetup&&(r=function(A,t){var e=y(t),n=I(e),i=function(i){return A[t]===i?t:A[e]===i?e:A[n]===i?n:void 0},r=i("setup-const")||i("setup-reactive-const");if(r)return r;var o=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");return o||void 0}(o,A.tag)),r||(r="'".concat(A.tag,"'"));var s=A.inlineTemplate?null:Is(A,t,!0);e="_c(".concat(r).concat(n?",".concat(n):"").concat(s?",".concat(s):"",")")}for(var a=0;a>>0}(o)):"",")")}(A,A.scopedSlots,t),",")),A.model&&(e+="model:{value:".concat(A.model.value,",callback:").concat(A.model.callback,",expression:").concat(A.model.expression,"},")),A.inlineTemplate){var r=function(A,t){var e=A.children[0];if(e&&1===e.type){var n=Bs(e,t.options);return"inlineTemplate:{render:function(){".concat(n.render,"},staticRenderFns:[").concat(n.staticRenderFns.map((function(A){return"function(){".concat(A,"}")})).join(","),"]}")}}(A,t);r&&(e+="".concat(r,","))}return e=e.replace(/,$/,"")+"}",A.dynamicAttrs&&(e="_b(".concat(e,',"').concat(A.tag,'",').concat(Ls(A.dynamicAttrs),")")),A.wrapData&&(e=A.wrapData(e)),A.wrapListeners&&(e=A.wrapListeners(e)),e}function Qs(A){return 1===A.type&&("slot"===A.tag||A.children.some(Qs))}function ys(A,t){var e=A.attrsMap["slot-scope"];if(A.if&&!A.ifProcessed&&!e)return Ms(A,t,ys,"null");if(A.for&&!A.forProcessed)return Cs(A,t,ys);var n=A.slotScope===Po?"":String(A.slotScope),i="function(".concat(n,"){")+"return ".concat("template"===A.tag?A.if&&e?"(".concat(A.if,")?").concat(Is(A,t)||"undefined",":undefined"):Is(A,t)||"undefined":bs(A,t),"}"),r=n?"":",proxy:true";return"{key:".concat(A.slotTarget||'"default"',",fn:").concat(i).concat(r,"}")}function Is(A,t,e,n,i){var r=A.children;if(r.length){var o=r[0];if(1===r.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=e?t.maybeComponent(o)?",1":",0":"";return"".concat((n||bs)(o,t)).concat(s)}var a=e?function(A,t){for(var e=0,n=0;n':'
',Fs.innerHTML.indexOf(" ")>0}var ks=!!J&&Ps(!1),Ts=!!J&&Ps(!0),Gs=v((function(A){var t=yn(A);return t&&t.innerHTML})),Hs=Ke.prototype.$mount;Ke.prototype.$mount=function(A,t){if((A=A&&yn(A))===document.body||A===document.documentElement)return this;var e=this.$options;if(!e.render){var n=e.template;if(n)if("string"==typeof n)"#"===n.charAt(0)&&(n=Gs(n));else{if(!n.nodeType)return this;n=n.innerHTML}else A&&(n=function(A){if(A.outerHTML)return A.outerHTML;var t=document.createElement("div");return t.appendChild(A.cloneNode(!0)),t.innerHTML}(A));if(n){var i=Ss(n,{outputSourceRange:!1,shouldDecodeNewlines:ks,shouldDecodeNewlinesForHref:Ts,delimiters:e.delimiters,comments:e.comments},this),r=i.render,o=i.staticRenderFns;e.render=r,e.staticRenderFns=o}}return Hs.call(this,A,t)},Ke.compile=Ss,e(6697),Ke.component("example",e(2358)),Ke.component("passport-clients",e(911).A),Ke.component("passport-authorized-clients",e(2619).A),Ke.component("passport-personal-access-tokens",e(1575).A),new Ke({el:"#app"})},6697:(A,t,e)=>{"use strict";function n(A){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},n(A)}function i(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}function r(A,t){for(var e=0;e{"use strict";t.byteLength=function(A){var t=s(A),e=t[0],n=t[1];return 3*(e+n)/4-n},t.toByteArray=function(A){var t,e,r=s(A),o=r[0],a=r[1],c=new i(function(A,t,e){return 3*(t+e)/4-e}(0,o,a)),u=0,l=a>0?o-4:o;for(e=0;e>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===a&&(t=n[A.charCodeAt(e)]<<2|n[A.charCodeAt(e+1)]>>4,c[u++]=255&t),1===a&&(t=n[A.charCodeAt(e)]<<10|n[A.charCodeAt(e+1)]<<4|n[A.charCodeAt(e+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(A){for(var t,n=A.length,i=n%3,r=[],o=16383,s=0,c=n-i;sc?c:s+o));return 1===i?(t=A[n-1],r.push(e[t>>2]+e[t<<4&63]+"==")):2===i&&(t=(A[n-2]<<8)+A[n-1],r.push(e[t>>10]+e[t>>4&63]+e[t<<2&63]+"=")),r.join("")};for(var e=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)e[o]=r[o],n[r.charCodeAt(o)]=o;function s(A){var t=A.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=A.indexOf("=");return-1===e&&(e=t),[e,e===t?0:4-e%4]}function a(A,t,n){for(var i,r,o=[],s=t;s>18&63]+e[r>>12&63]+e[r>>6&63]+e[63&r]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8287:(A,t,e)=>{"use strict";var n=e(7526),i=e(251),r=e(4634);function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(A,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|A}function h(A,t){if(a.isBuffer(A))return A.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!=typeof A&&(A=""+A);var e=A.length;if(0===e)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":case void 0:return G(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return H(A).length;default:if(n)return G(A).length;t=(""+t).toLowerCase(),n=!0}}function p(A,t,e){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(t>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return L(this,t,e);case"utf8":case"utf-8":return y(this,t,e);case"ascii":return z(this,t,e);case"latin1":case"binary":return D(this,t,e);case"base64":return Q(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e);default:if(n)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),n=!0}}function g(A,t,e){var n=A[t];A[t]=A[e],A[e]=n}function B(A,t,e,n,i){if(0===A.length)return-1;if("string"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=i?0:A.length-1),e<0&&(e=A.length+e),e>=A.length){if(i)return-1;e=A.length-1}else if(e<0){if(!i)return-1;e=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:b(A,t,e,n,i);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(A,t,e):Uint8Array.prototype.lastIndexOf.call(A,t,e):b(A,[t],e,n,i);throw new TypeError("val must be string, number or Buffer")}function b(A,t,e,n,i){var r,o=1,s=A.length,a=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(A.length<2||t.length<2)return-1;o=2,s/=2,a/=2,e/=2}function c(A,t){return 1===o?A[t]:A.readUInt16BE(t*o)}if(i){var u=-1;for(r=e;rs&&(e=s-a),r=e;r>=0;r--){for(var l=!0,d=0;di&&(n=i):n=i;var r=t.length;if(r%2!=0)throw new TypeError("Invalid hex string");n>r/2&&(n=r/2);for(var o=0;o>8,i=e%256,r.push(i),r.push(n);return r}(t,A.length-e),A,e,n)}function Q(A,t,e){return 0===t&&e===A.length?n.fromByteArray(A):n.fromByteArray(A.slice(t,e))}function y(A,t,e){e=Math.min(A.length,e);for(var n=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+l<=e)switch(l){case 1:c<128&&(u=c);break;case 2:128==(192&(r=A[i+1]))&&(a=(31&c)<<6|63&r)>127&&(u=a);break;case 3:r=A[i+1],o=A[i+2],128==(192&r)&&128==(192&o)&&(a=(15&c)<<12|(63&r)<<6|63&o)>2047&&(a<55296||a>57343)&&(u=a);break;case 4:r=A[i+1],o=A[i+2],s=A[i+3],128==(192&r)&&128==(192&o)&&128==(192&s)&&(a=(15&c)<<18|(63&r)<<12|(63&o)<<6|63&s)>65535&&a<1114112&&(u=a)}null===u?(u=65533,l=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=l}return function(A){var t=A.length;if(t<=I)return String.fromCharCode.apply(String,A);for(var e="",n=0;n0&&(A=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(A+=" ... ")),""},a.prototype.compare=function(A,t,e,n,i){if(!a.isBuffer(A))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===e&&(e=A?A.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||e>A.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=e)return 0;if(n>=i)return-1;if(t>=e)return 1;if(this===A)return 0;for(var r=(i>>>=0)-(n>>>=0),o=(e>>>=0)-(t>>>=0),s=Math.min(r,o),c=this.slice(n,i),u=A.slice(t,e),l=0;li)&&(e=i),A.length>0&&(e<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return w(this,A,t,e);case"utf8":case"utf-8":return E(this,A,t,e);case"ascii":return M(this,A,t,e);case"latin1":case"binary":return m(this,A,t,e);case"base64":return C(this,A,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,A,t,e);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),r=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function z(A,t,e){var n="";e=Math.min(A.length,e);for(var i=t;in)&&(e=n);for(var i="",r=t;re)throw new RangeError("Trying to access beyond buffer length")}function Y(A,t,e,n,i,r){if(!a.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||tA.length)throw new RangeError("Index out of range")}function R(A,t,e,n){t<0&&(t=65535+t+1);for(var i=0,r=Math.min(A.length-e,2);i>>8*(n?i:1-i)}function F(A,t,e,n){t<0&&(t=4294967295+t+1);for(var i=0,r=Math.min(A.length-e,4);i>>8*(n?i:3-i)&255}function W(A,t,e,n,i,r){if(e+n>A.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function S(A,t,e,n,r){return r||W(A,0,e,4),i.write(A,t,e,n,23,4),e+4}function P(A,t,e,n,r){return r||W(A,0,e,8),i.write(A,t,e,n,52,8),e+8}a.prototype.slice=function(A,t){var e,n=this.length;if((A=~~A)<0?(A+=n)<0&&(A=0):A>n&&(A=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)n+=this[A+--t]*i;return n},a.prototype.readUInt8=function(A,t){return t||x(A,1,this.length),this[A]},a.prototype.readUInt16LE=function(A,t){return t||x(A,2,this.length),this[A]|this[A+1]<<8},a.prototype.readUInt16BE=function(A,t){return t||x(A,2,this.length),this[A]<<8|this[A+1]},a.prototype.readUInt32LE=function(A,t){return t||x(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},a.prototype.readUInt32BE=function(A,t){return t||x(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},a.prototype.readIntLE=function(A,t,e){A|=0,t|=0,e||x(A,t,this.length);for(var n=this[A],i=1,r=0;++r=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(A,t,e){A|=0,t|=0,e||x(A,t,this.length);for(var n=t,i=1,r=this[A+--n];n>0&&(i*=256);)r+=this[A+--n]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readInt8=function(A,t){return t||x(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},a.prototype.readInt16LE=function(A,t){t||x(A,2,this.length);var e=this[A]|this[A+1]<<8;return 32768&e?4294901760|e:e},a.prototype.readInt16BE=function(A,t){t||x(A,2,this.length);var e=this[A+1]|this[A]<<8;return 32768&e?4294901760|e:e},a.prototype.readInt32LE=function(A,t){return t||x(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},a.prototype.readInt32BE=function(A,t){return t||x(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},a.prototype.readFloatLE=function(A,t){return t||x(A,4,this.length),i.read(this,A,!0,23,4)},a.prototype.readFloatBE=function(A,t){return t||x(A,4,this.length),i.read(this,A,!1,23,4)},a.prototype.readDoubleLE=function(A,t){return t||x(A,8,this.length),i.read(this,A,!0,52,8)},a.prototype.readDoubleBE=function(A,t){return t||x(A,8,this.length),i.read(this,A,!1,52,8)},a.prototype.writeUIntLE=function(A,t,e,n){A=+A,t|=0,e|=0,n||Y(this,A,t,e,Math.pow(2,8*e)-1,0);var i=1,r=0;for(this[t]=255&A;++r=0&&(r*=256);)this[t+i]=A/r&255;return t+e},a.prototype.writeUInt8=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[t]=255&A,t+1},a.prototype.writeUInt16LE=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&A,this[t+1]=A>>>8):R(this,A,t,!0),t+2},a.prototype.writeUInt16BE=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=A>>>8,this[t+1]=255&A):R(this,A,t,!1),t+2},a.prototype.writeUInt32LE=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=A>>>24,this[t+2]=A>>>16,this[t+1]=A>>>8,this[t]=255&A):F(this,A,t,!0),t+4},a.prototype.writeUInt32BE=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A):F(this,A,t,!1),t+4},a.prototype.writeIntLE=function(A,t,e,n){if(A=+A,t|=0,!n){var i=Math.pow(2,8*e-1);Y(this,A,t,e,i-1,-i)}var r=0,o=1,s=0;for(this[t]=255&A;++r=0&&(o*=256);)A<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(A/o|0)-s&255;return t+e},a.prototype.writeInt8=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[t]=255&A,t+1},a.prototype.writeInt16LE=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&A,this[t+1]=A>>>8):R(this,A,t,!0),t+2},a.prototype.writeInt16BE=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=A>>>8,this[t+1]=255&A):R(this,A,t,!1),t+2},a.prototype.writeInt32LE=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&A,this[t+1]=A>>>8,this[t+2]=A>>>16,this[t+3]=A>>>24):F(this,A,t,!0),t+4},a.prototype.writeInt32BE=function(A,t,e){return A=+A,t|=0,e||Y(this,A,t,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),a.TYPED_ARRAY_SUPPORT?(this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A):F(this,A,t,!1),t+4},a.prototype.writeFloatLE=function(A,t,e){return S(this,A,t,!0,e)},a.prototype.writeFloatBE=function(A,t,e){return S(this,A,t,!1,e)},a.prototype.writeDoubleLE=function(A,t,e){return P(this,A,t,!0,e)},a.prototype.writeDoubleBE=function(A,t,e){return P(this,A,t,!1,e)},a.prototype.copy=function(A,t,e,n){if(e||(e=0),n||0===n||(n=this.length),t>=A.length&&(t=A.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),A.length-t=0;--i)A[i+t]=this[i+e];else if(r<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,e=void 0===e?this.length:e>>>0,A||(A=0),"number"==typeof A)for(r=t;r55295&&e<57344){if(!i){if(e>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&r.push(239,191,189);continue}i=e;continue}if(e<56320){(t-=3)>-1&&r.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(t-=3)>-1&&r.push(239,191,189);if(i=null,e<128){if((t-=1)<0)break;r.push(e)}else if(e<2048){if((t-=2)<0)break;r.push(e>>6|192,63&e|128)}else if(e<65536){if((t-=3)<0)break;r.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return r}function H(A){return n.toByteArray(function(A){if((A=function(A){return A.trim?A.trim():A.replace(/^\s+|\s+$/g,"")}(A).replace(k,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function N(A,t,e,n){for(var i=0;i=t.length||i>=A.length);++i)t[i+e]=A[i];return i}},4783:function(A,t,e){var n,i,r;i="undefined"!=typeof window?window:this,r=function(A){function t(A,t,e,n){A.hasOwnProperty(t)||(A[t]=n.apply(null,e))}var e={};return t(e,"Core/Globals.js",[],(function(){var t=void 0!==A?A:"undefined"!=typeof window?window:{},e=t.document,n=t.navigator&&t.navigator.userAgent||"",i=e&&e.createElementNS&&!!e.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r=/(edge|msie|trident)/i.test(n)&&!t.opera,o=-1!==n.indexOf("Firefox"),s=-1!==n.indexOf("Chrome"),a=o&&4>parseInt(n.split("Firefox/")[1],10);return{product:"Highcharts",version:"8.2.2",deg2rad:2*Math.PI/360,doc:e,hasBidiBug:a,hasTouch:!!t.TouchEvent,isMS:r,isWebKit:-1!==n.indexOf("AppleWebKit"),isFirefox:o,isChrome:s,isSafari:!s&&-1!==n.indexOf("Safari"),isTouchDevice:/(Mobile|Android|Windows Phone)/.test(n),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:i,win:t,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[],dateFormats:{}}})),t(e,"Core/Utilities.js",[e["Core/Globals.js"]],(function(A){function t(A,e,n,i){var r=e?"Highcharts error":"Highcharts warning";32===A&&(A=r+": Deprecated member");var o=p(A),s=o?r+" #"+A+": www.highcharts.com/errors/"+A+"/":A.toString();if(r=function(){if(e)throw Error(s);c.console&&-1===t.messages.indexOf(s)&&console.log(s)},void 0!==i){var a="";o&&(s+="?"),N(i,(function(A,t){a+="\n - "+t+": "+A,o&&(s+=encodeURI(t)+"="+encodeURI(A))})),s+=a}n?U(n,"displayError",{code:A,message:s,params:i},r):r(),t.messages.push(s)}function e(){var A,t=arguments,e={},i=function(A,t){return"object"!=typeof A&&(A={}),N(t,(function(e,r){!n(e,!0)||h(e)||f(e)?A[r]=t[r]:A[r]=i(A[r]||{},e)})),A};!0===t[0]&&(e=t[1],t=Array.prototype.slice.call(t,2));var r=t.length;for(A=0;AA&&-1/0=e&&(t=[1/e]))),n=0;n=A||!i&&s<=(t[n]+(t[n+1]||t[n]))/2));n++);return W(o*e,-Math.round(Math.log(.001)/Math.LN10))},O=A.stableSort=function(A,t){var e,n,i=A.length;for(n=0;ne&&(e=A[t]);return e},R=A.destroyObjectProperties=function(A,t){N(A,(function(e,n){e&&e!==t&&e.destroy&&e.destroy(),delete A[n]}))},F=A.discardElement=function(t){var e=A.garbageBin;e||(e=C("div")),t&&e.appendChild(t),e.innerHTML=""},W=A.correctFloat=function(A,t){return parseFloat(A.toPrecision(t||14))},S=A.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},P=A.numberFormat=function(t,e,n,i){t=+t||0,e=+e;var o=A.defaultOptions.lang,s=(t.toString().split(".")[1]||"").split("e")[0].length,a=t.toString().split("e");if(-1===e)e=Math.min(s,20);else if(p(e)){if(e&&a[1]&&0>a[1]){var c=e+ +a[1];0<=c?(a[0]=(+a[0]).toExponential(c).split("e")[0],e=c):(a[0]=a[0].split(".")[0]||0,t=20>e?(a[0]*Math.pow(10,a[1])).toFixed(e):0,a[1]=0)}}else e=2;var l=(Math.abs(a[1]?a[0]:t)+Math.pow(10,-Math.max(e,s)-1)).toFixed(e);return c=3<(s=String(u(l))).length?s.length%3:0,n=r(n,o.decimalPoint),i=r(i,o.thousandsSep),t=(0>t?"-":"")+(c?s.substr(0,c)+i:""),t+=s.substr(c).replace(/(\d{3})(?=\d)/g,"$1"+i),e&&(t+=n+l.slice(-e)),a[1]&&0!=+t&&(t+="e"+a[1]),t};Math.easeInOutSine=function(A){return-.5*(Math.cos(Math.PI*A)-1)};var k=A.getStyle=function(e,n,i){return"width"===n?(n=Math.min(e.offsetWidth,e.scrollWidth),(i=e.getBoundingClientRect&&e.getBoundingClientRect().width)=n-1&&(n=Math.floor(i)),Math.max(0,n-A.getStyle(e,"padding-left")-A.getStyle(e,"padding-right"))):"height"===n?Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-A.getStyle(e,"padding-top")-A.getStyle(e,"padding-bottom")):(c.getComputedStyle||t(27,!0),(e=c.getComputedStyle(e,void 0))&&(e=e.getPropertyValue(n),r(i,"opacity"!==n)&&(e=u(e))),e)},T=A.inArray=function(A,e,n){return t(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(A,n)},G=A.find=Array.prototype.find?function(A,t){return A.find(t)}:function(A,t){var e,n=A.length;for(e=0;et?A>16,(65280&A)>>8,255&A,1]:4===i&&(e=[(3840&A)>>4|(3840&A)>>8,(240&A)>>4|240&A,(15&A)<<4|15&A,1])}if(!e)for(n=this.parsers.length;n--&&!e;){var r=this.parsers[n];(i=r.regex.exec(A))&&(e=r.parse(i))}}this.rgba=e||[]},t.prototype.get=function(A){var t=this.input,i=this.rgba;if(void 0!==this.stops){var r=n(t);r.stops=[].concat(r.stops),this.stops.forEach((function(t,e){r.stops[e]=[r.stops[e][0],t.get(A)]}))}else r=i&&e(i[0])?"rgb"===A||!A&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===A?i[3]:"rgba("+i.join(",")+")":t;return r},t.prototype.brighten=function(A){var t,n=this.rgba;if(this.stops)this.stops.forEach((function(t){t.brighten(A)}));else if(e(A)&&0!==A)for(t=0;3>t;t++)n[t]+=i(255*A),0>n[t]&&(n[t]=0),255n)for(var i=0;i=o+this.startTime){this.now=this.end,this.pos=1,this.update();var a=s[this.prop]=!0;i(s,(function(A){!0!==A&&(a=!1)})),a&&r&&r.call(n),A=!1}else this.pos=e.easing((t-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),A=!0;return A},t.prototype.initPath=function(A,t,e){function i(A,t){for(;A.lengthn.width)&&(n={width:0,height:0})}else n=this.htmlGetBBox();if(i.isSVG&&(t=n.width,i=n.height,l&&(n.height=i={"11px,17":14,"13px,20":16}[o&&o.fontSize+","+Math.round(i)]||i),e&&(o=e*s,n.width=Math.abs(i*Math.sin(o))+Math.abs(t*Math.cos(o)),n.height=Math.abs(i*Math.cos(o))+Math.abs(t*Math.sin(o)))),f&&0]*>/g,"").replace(/</g,"<").replace(/>/g,">")))},A.prototype.toFront=function(){var A=this.element;return A.parentNode.appendChild(A),this},A.prototype.translate=function(A,t){return this.attr({translateX:A,translateY:t})},A.prototype.updateShadows=function(A,t,e){var n=this.shadows;if(n)for(var i=n.length;i--;)e.call(n[i],"height"===A?Math.max(t-(n[i].cutHeight||0),0):"d"===A?this.d:t,A,n[i])},A.prototype.updateTransform=function(){var A=this.translateX||0,t=this.translateY||0,e=this.scaleX,n=this.scaleY,i=this.inverted,r=this.rotation,o=this.matrix,s=this.element;i&&(A+=this.width,t+=this.height),A=["translate("+A+","+t+")"],b(o)&&A.push("matrix("+o.join(",")+")"),i?A.push("rotate(90) scale(-1,1)"):r&&A.push("rotate("+r+" "+z(this.rotationOriginX,s.getAttribute("x"),0)+" "+z(this.rotationOriginY,s.getAttribute("y")||0)+")"),(b(e)||b(n))&&A.push("scale("+z(e,1)+" "+z(n,1)+")"),A.length&&s.setAttribute("transform",A.join(" "))},A.prototype.visibilitySetter=function(A,t,e){"inherit"===A?e.removeAttribute(t):this[t]!==A&&e.setAttribute(t,A),this[t]=A},A.prototype.xGetter=function(A){return"circle"===this.element.nodeName&&("x"===A?A="cx":"y"===A&&(A="cy")),this._defaultGetter(A)},A.prototype.zIndexSetter=function(A,t){var e=this.renderer,n=this.parentGroup,i=(n||e).element||e.box,r=this.element,o=!1;e=i===e.box;var s,a=this.added;if(b(A)?(r.setAttribute("data-z-index",A),A=+A,this[t]===A&&(a=!1)):b(this[t])&&r.removeAttribute("data-z-index"),this[t]=A,a){for((A=this.zIndex)&&n&&(n.handleZ=!0),s=(t=i.childNodes).length-1;0<=s&&!o;s--){a=(n=t[s]).getAttribute("data-z-index");var c=!b(a);n!==r&&(0>A&&c&&!e&&!s?(i.insertBefore(r,t[s]),o=!0):(D(a)<=A||c&&(!b(A)||0<=A))&&(i.insertBefore(r,t[s+1]||null),o=!0))}o||(i.insertBefore(r,t[e?3:0]||null),o=!0)}return o},A}(),A.prototype["stroke-widthSetter"]=A.prototype.strokeSetter,A.prototype.yGetter=A.prototype.xGetter,A.prototype.matrixSetter=A.prototype.rotationOriginXSetter=A.prototype.rotationOriginYSetter=A.prototype.rotationSetter=A.prototype.scaleXSetter=A.prototype.scaleYSetter=A.prototype.translateXSetter=A.prototype.translateYSetter=A.prototype.verticalAlignSetter=function(A,t){this[t]=A,this.doTransform=!0},e.SVGElement=A,e.SVGElement})),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(A,t){var e=this&&this.__extends||function(){var A=function(t,e){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)t.hasOwnProperty(e)&&(A[e]=t[e])},A(t,e)};return function(t,e){function n(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),n=t.defined,i=t.extend,r=t.isNumber,o=t.merge,s=t.removeEvent;return function(t){function a(A,e,n,i,r,o,s,c,u,l){var d=t.call(this)||this;if(d.init(A,"g"),d.textStr=e,d.x=n,d.y=i,d.anchorX=o,d.anchorY=s,d.baseline=u,d.className=l,"button"!==l&&d.addClass("highcharts-label"),l&&d.addClass("highcharts-"+l),d.text=A.text("",0,0,c).attr({zIndex:1}),"string"==typeof r){var f=/^url\((.*?)\)$/.test(r);(d.renderer.symbols[r]||f)&&(d.symbolKey=r)}return d.bBox=a.emptyBBox,d.padding=3,d.paddingLeft=0,d.baselineOffset=0,d.needsBox=A.styledMode||f,d.deferredAttr={},d.alignFactor=0,d}return e(a,t),a.prototype.alignSetter=function(A){(A={left:0,center:.5,right:1}[A])!==this.alignFactor&&(this.alignFactor=A,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))},a.prototype.anchorXSetter=function(A,t){this.anchorX=A,this.boxAttr(t,Math.round(A)-this.getCrispAdjust()-this.xSetting)},a.prototype.anchorYSetter=function(A,t){this.anchorY=A,this.boxAttr(t,A-this.ySetting)},a.prototype.boxAttr=function(A,t){this.box?this.box.attr(A,t):this.deferredAttr[A]=t},a.prototype.css=function(t){if(t){var e={};t=o(t),a.textProps.forEach((function(A){void 0!==t[A]&&(e[A]=t[A],delete t[A])})),this.text.css(e);var n="fontSize"in e||"fontWeight"in e;("width"in e||n)&&(this.updateBoxSize(),n&&this.updateTextPadding())}return A.prototype.css.call(this,t)},a.prototype.destroy=function(){s(this.element,"mouseenter"),s(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),A.prototype.destroy.call(this)},a.prototype.fillSetter=function(A,t){A&&(this.needsBox=!0),this.fill=A,this.boxAttr(t,A)},a.prototype.getBBox=function(){var A=this.bBox,t=this.padding;return{width:A.width+2*t,height:A.height+2*t,x:A.x-t,y:A.y-t}},a.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},a.prototype.heightSetter=function(A){this.heightSetting=A},a.prototype.on=function(t,e){var n=this,i=n.text,r=i&&"SPAN"===i.element.tagName?i:void 0;if(r){var o=function(A){("mouseenter"===t||"mouseleave"===t)&&A.relatedTarget instanceof Element&&(n.element.contains(A.relatedTarget)||r.element.contains(A.relatedTarget))||e.call(n.element,A)};r.on(t,o)}return A.prototype.on.call(n,t,o||e),n},a.prototype.onAdd=function(){var A=this.textStr;this.text.add(this),this.attr({text:n(A)?A:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},a.prototype.paddingSetter=function(A){n(A)&&A!==this.padding&&(this.padding=A,this.updateTextPadding())},a.prototype.paddingLeftSetter=function(A){n(A)&&A!==this.paddingLeft&&(this.paddingLeft=A,this.updateTextPadding())},a.prototype.rSetter=function(A,t){this.boxAttr(t,A)},a.prototype.shadow=function(A){return A&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(A)),this},a.prototype.strokeSetter=function(A,t){this.stroke=A,this.boxAttr(t,A)},a.prototype["stroke-widthSetter"]=function(A,t){A&&(this.needsBox=!0),this["stroke-width"]=A,this.boxAttr(t,A)},a.prototype["text-alignSetter"]=function(A){this.textAlign=A},a.prototype.textSetter=function(A){void 0!==A&&this.text.attr({text:A}),this.updateBoxSize(),this.updateTextPadding()},a.prototype.updateBoxSize=function(){var A=this.text.element.style,t={},e=this.padding,o=this.paddingLeft,s=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?a.emptyBBox:this.text.getBBox();this.width=(this.widthSetting||s.width||0)+2*e+o,this.height=(this.heightSetting||s.height||0)+2*e,this.baselineOffset=e+Math.min(this.renderer.fontMetrics(A&&A.fontSize,this.text).b,s.height||1/0),this.needsBox&&(this.box||((A=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":"")),A.add(this),A=this.getCrispAdjust(),t.x=A,t.y=(this.baseline?-this.baselineOffset:0)+A),t.width=Math.round(this.width),t.height=Math.round(this.height),this.box.attr(i(t,this.deferredAttr)),this.deferredAttr={}),this.bBox=s},a.prototype.updateTextPadding=function(){var A=this.text,t=this.baseline?0:this.baselineOffset,e=this.paddingLeft+this.padding;n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===A.x&&t===A.y||(A.attr("x",e),A.hasBoxWidthChanged&&(this.bBox=A.getBBox(!0),this.updateBoxSize()),void 0!==t&&A.attr("y",t)),A.x=e,A.y=t},a.prototype.widthSetter=function(A){this.widthSetting=r(A)?A:void 0},a.prototype.xSetter=function(A){this.x=A,this.alignFactor&&(A-=this.alignFactor*((this.widthSetting||this.bBox.width)+2*this.padding),this["forceAnimate:x"]=!0),this.xSetting=Math.round(A),this.attr("translateX",this.xSetting)},a.prototype.ySetter=function(A){this.ySetting=this.y=Math.round(A),this.attr("translateY",this.ySetting)},a.emptyBBox={width:0,height:0,x:0,y:0},a.textProps="color cursor direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),a}(A)})),t(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Utilities.js"]],(function(A,t,e,n,i){var r=i.addEvent,o=i.attr,s=i.createElement,a=i.css,c=i.defined,u=i.destroyObjectProperties,l=i.extend,d=i.isArray,f=i.isNumber,h=i.isObject,p=i.isString,g=i.merge,B=i.objectEach,b=i.pick,w=i.pInt,E=i.splat,M=i.uniqueKey,m=t.charts,C=t.deg2rad,v=t.doc,Q=t.isFirefox,y=t.isMS,I=t.isWebKit;i=t.noop;var z=t.svg,D=t.SVG_NS,L=t.symbolSizes,O=t.win,x=function(){function t(A,t,e,n,i,r,o){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(A,t,e,n,i,r,o)}return t.prototype.init=function(A,t,e,n,i,s,c){var u,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"});c||l.css(this.getStyle(n)),n=l.element,A.appendChild(n),o(A,"dir","ltr"),-1===A.innerHTML.indexOf("xmlns")&&o(n,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=n,this.boxWrapper=l,this.alignedObjects=[],this.url=(Q||I)&&v.getElementsByTagName("base").length?O.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(v.createTextNode("Created with Highcharts 8.2.2")),this.defs=this.createElement("defs").add(),this.allowHTML=s,this.forExport=i,this.styledMode=c,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(t,e,!1),Q&&A.getBoundingClientRect&&((t=function(){a(A,{left:0,top:0}),u=A.getBoundingClientRect(),a(A,{left:Math.ceil(u.left)-u.left+"px",top:Math.ceil(u.top)-u.top+"px"})})(),this.unSubPixelFix=r(O,"resize",t))},t.prototype.definition=function(A){var t=this;return function A(e,n){var i;return E(e).forEach((function(e){var r=t.createElement(e.tagName),o={};B(e,(function(A,t){"tagName"!==t&&"children"!==t&&"textContent"!==t&&(o[t]=A)})),r.attr(o),r.add(n||t.defs),e.textContent&&r.element.appendChild(v.createTextNode(e.textContent)),A(e.children||[],r),i=r})),i}(A)},t.prototype.getStyle=function(A){return this.style=l({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},A)},t.prototype.setStyle=function(A){this.boxWrapper.css(this.getStyle(A))},t.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},t.prototype.destroy=function(){var A=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),u(this.gradients||{}),this.gradients=null,A&&(this.defs=A.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},t.prototype.createElement=function(A){var t=new this.Element;return t.init(this,A),t},t.prototype.getRadialAttr=function(A,t){return{cx:A[0]-A[2]/2+t.cx*A[2],cy:A[1]-A[2]/2+t.cy*A[2],r:t.r*A[2]}},t.prototype.truncate=function(A,t,e,n,i,r,o){var s,a,c=this,u=A.rotation,l=n?1:0,d=(e||n).length,f=d,h=[],p=function(A){t.firstChild&&t.removeChild(t.firstChild),A&&t.appendChild(v.createTextNode(A))},g=function(r,s){if(void 0===h[s=s||r])if(t.getSubStringLength)try{h[s]=i+t.getSubStringLength(0,n?s+1:s)}catch(A){}else c.getSpanWidth&&(p(o(e||n,r)),h[s]=i+c.getSpanWidth(A,t));return h[s]};A.rotation=0;var B=g(t.textContent.length);if(a=i+B>r){for(;l<=d;)f=Math.ceil((l+d)/2),n&&(s=o(n,f)),B=g(f,s&&s.length-1),l===d?l=d+1:B>r?d=f-1:l=f;0===d?p(""):e&&d===e.length-1||p(s||o(e||n,f))}return n&&n.splice(0,f),A.actualWidth=B,A.rotation=u,a},t.prototype.buildText=function(A){var t,e,n=A.element,i=this,r=i.forExport,s=b(A.textStr,"").toString(),c=-1!==s.indexOf("<"),u=n.childNodes,l=o(n,"x"),d=A.styles,f=A.textWidth,h=d&&d.lineHeight,g=d&&d.textOutline,E=d&&"ellipsis"===d.textOverflow,M=d&&"nowrap"===d.whiteSpace,m=d&&d.fontSize,C=u.length;d=f&&!A.added&&this.box;var Q=function(A){var t;return i.styledMode||(t=/(px|em)$/.test(A&&A.style.fontSize)?A.style.fontSize:m||i.style.fontSize||12),h?w(h):i.fontMetrics(t,A.getAttribute("style")?A:n).h},y=function(A,t){return B(i.escapes,(function(e,n){t&&-1!==t.indexOf(e)||(A=A.toString().replace(new RegExp(e,"g"),n))})),A},I=function(A,t){var e=A.indexOf("<");if(-1!==(e=(A=A.substring(e,A.indexOf(">")-e)).indexOf(t+"="))&&(e=e+t.length+1,'"'===(t=A.charAt(e))||"'"===t))return(A=A.substring(e+1)).substring(0,A.indexOf(t))},L=//g,O=[s,E,M,h,g,m,f].join();if(O!==A.textCache){for(A.textCache=O;C--;)n.removeChild(u[C]);c||g||E||f||-1!==s.indexOf(" ")&&(!M||L.test(s))?(d&&d.appendChild(n),s=(s=c?(s=i.styledMode?s.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,''):s.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'')).replace(//g,"").split(L):[s]).filter((function(A){return""!==A})),s.forEach((function(s,c){var u=0,d=0,h=(s=s.replace(/^\s+|\s+$/g,"").replace(//g,"|||")).split("|||");h.forEach((function(s){if(""!==s||1===h.length){var p,g,B={},b=v.createElementNS(i.SVG_NS,"tspan");if((p=I(s,"class"))&&o(b,"class",p),(p=I(s,"style"))&&(p=p.replace(/(;| |^)color([ :])/,"$1fill$2"),o(b,"style",p)),(g=I(s,"href"))&&!r&&-1===g.split(":")[0].toLowerCase().indexOf("javascript")){var w=v.createElementNS(i.SVG_NS,"a");o(w,"href",g),o(b,"class","highcharts-anchor"),w.appendChild(b),i.styledMode||a(b,{cursor:"pointer"})}if(" "!==(s=y(s.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" "))){if(b.appendChild(v.createTextNode(s)),u?B.dx=0:c&&null!==l&&(B.x=l),o(b,B),n.appendChild(w||b),!u&&e&&(!z&&r&&a(b,{display:"block"}),o(b,"dy",Q(b))),f){var C=s.replace(/([^\^])-/g,"$1- ").split(" ");if(B=!M&&(1(A=/px/.test(A)?w(A):12)?A+3:Math.round(1.2*A),b:Math.round(.8*t),f:A}},t.prototype.rotCorr=function(A,t,e){var n=A;return t&&e&&(n=Math.max(n*Math.cos(t*C),4)),{x:-A/3*Math.sin(t*C),y:n}},t.prototype.pathToSegments=function(A){for(var t=[],e=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},i=0;i":">","'":"'",'"':"""},x.prototype.symbols={circle:function(A,t,e,n){return this.arc(A+e/2,t+n/2,e/2,n/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(A,t,e,n){return[["M",A,t],["L",A+e,t],["L",A+e,t+n],["L",A,t+n],["Z"]]},triangle:function(A,t,e,n){return[["M",A+e/2,t],["L",A+e,t+n],["L",A,t+n],["Z"]]},"triangle-down":function(A,t,e,n){return[["M",A,t],["L",A+e,t],["L",A+e/2,t+n],["Z"]]},diamond:function(A,t,e,n){return[["M",A+e/2,t],["L",A+e,t+n/2],["L",A+e/2,t+n],["L",A,t+n/2],["Z"]]},arc:function(A,t,e,n,i){var r=[];if(i){var o=i.start||0,s=i.end||0,a=i.r||e;e=i.r||n||e;var u=.001>Math.abs(s-o-2*Math.PI);s-=.001,n=i.innerR,u=b(i.open,u);var l=Math.cos(o),d=Math.sin(o),f=Math.cos(s),h=Math.sin(s);o=b(i.longArc,.001>s-o-Math.PI?0:1),r.push(["M",A+a*l,t+e*d],["A",a,e,0,o,b(i.clockwise,1),A+a*f,t+e*h]),c(n)&&r.push(u?["M",A+n*f,t+n*h]:["L",A+n*f,t+n*h],["A",n,n,0,o,c(i.clockwise)?1-i.clockwise:0,A+n*l,t+n*d]),u||r.push(["Z"])}return r},callout:function(A,t,e,n,i){var r=Math.min(i&&i.r||0,e,n),o=r+6,s=i&&i.anchorX||0;i=i&&i.anchorY||0;var a=[["M",A+r,t],["L",A+e-r,t],["C",A+e,t,A+e,t,A+e,t+r],["L",A+e,t+n-r],["C",A+e,t+n,A+e,t+n,A+e-r,t+n],["L",A+r,t+n],["C",A,t+n,A,t+n,A,t+n-r],["L",A,t+r],["C",A,t,A,t,A+r,t]];return s&&s>e?i>t+o&&is?i>t+o&&in&&s>A+o&&si&&s>A+o&&sthis.oldTextWidth)&&((f=this.textPxLength)||(n(t,{width:"",whiteSpace:d||"nowrap"}),f=t.offsetWidth),f=f>h),f&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)?(n(t,{width:h+"px",display:"block",whiteSpace:d||"normal"}),this.oldTextWidth=h,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,p!==this.cTT&&(d=A.fontMetrics(t.style.fontSize,t).b,!i(l)||l===(this.oldRotation||0)&&c===this.oldAlign||this.setSpanRotation(l,u,d),this.getSpanCorrection(!i(l)&&this.textPxLength||t.offsetWidth,d,u,l,c)),n(t,{left:o+(this.xCorr||0)+"px",top:a+(this.yCorr||0)+"px"}),this.cTT=p,this.oldRotation=l,this.oldAlign=c}}else this.alignOnAdd=!0},setSpanRotation:function(A,t,e){var i={},r=this.renderer.getTransformKey();i[r]=i.transform="rotate("+A+"deg)",i[r+(a?"Origin":"-origin")]=i.transformOrigin=100*t+"% "+e+"px",n(this.element,i)},getSpanCorrection:function(A,t,e){this.xCorr=-A*e,this.yCorr=-t}}),t})),t(e,"Core/Renderer/HTML/HTMLRenderer.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],(function(A,t,e,n){var i=A.isFirefox,r=A.isMS,o=A.isWebKit,s=A.win,a=n.attr,c=n.createElement,u=n.extend,l=n.pick;return u(e.prototype,{getTransformKey:function(){return r&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":o?"-webkit-transform":i?"MozTransform":s.opera?"-o-transform":""},html:function(A,e,n){var i=this.createElement("span"),r=i.element,o=i.renderer,s=o.isSVG,d=function(A,e){["opacity","visibility"].forEach((function(n){A[n+"Setter"]=function(i,r,o){var s=A.div?A.div.style:e;t.prototype[n+"Setter"].call(this,i,r,o),s&&(s[r]=i)}})),A.addedSetters=!0};return i.textSetter=function(A){A!==r.innerHTML&&(delete this.bBox,delete this.oldTextWidth),this.textStr=A,r.innerHTML=l(A,""),i.doTransform=!0},s&&d(i,i.element.style),i.xSetter=i.ySetter=i.alignSetter=i.rotationSetter=function(A,t){"align"===t?i.alignValue=i.textAlign=A:i[t]=A,i.doTransform=!0},i.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},i.attr({text:A,x:Math.round(e),y:Math.round(n)}).css({position:"absolute"}),o.styledMode||i.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),r.style.whiteSpace="nowrap",i.css=i.htmlCss,s&&(i.add=function(A){var t=o.box.parentNode,e=[];if(this.parentGroup=A){var n=A.div;if(!n){for(;A;)e.push(A),A=A.parentGroup;e.reverse().forEach((function(A){function r(t,e){A[e]=t,"translateX"===e?s.left=t+"px":s.top=t+"px",A.doTransform=!0}var o=a(A.element,"class"),s=(n=A.div=A.div||c("div",o?{className:o}:void 0,{position:"absolute",left:(A.translateX||0)+"px",top:(A.translateY||0)+"px",display:A.display,opacity:A.opacity,pointerEvents:A.styles&&A.styles.pointerEvents},n||t)).style;u(A,{classSetter:function(A){return function(t){this.element.setAttribute("class",t),A.className=t}}(n),on:function(){return e[0].div&&i.on.apply({element:e[0].div},arguments),A},translateXSetter:r,translateYSetter:r}),A.addedSetters||d(A)}))}}else n=t;return n.appendChild(r),i.added=!0,i.alignOnAdd&&i.htmlUpdateTransform(),i}),i}}),e})),t(e,"Core/Axis/Tick.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(A,t){var e=t.clamp,n=t.correctFloat,i=t.defined,r=t.destroyObjectProperties,o=t.extend,s=t.fireEvent,a=t.isNumber,c=t.merge,u=t.objectEach,l=t.pick,d=A.deg2rad;return t=function(){function A(A,t,e,n,i){this.isNewLabel=this.isNew=!0,this.axis=A,this.pos=t,this.type=e||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,s(this,"init"),e||n||this.addLabel()}return A.prototype.addLabel=function(){var A=this,t=A.axis,e=t.options,r=t.chart,s=t.categories,a=t.logarithmic,c=t.names,u=A.pos,d=l(A.options&&A.options.labels,e.labels),f=t.tickPositions,h=u===f[0],p=u===f[f.length-1];c=this.parameters.category||(s?l(s[u],c[u],u):u);var g,B,b=A.label;if(s=(!d.step||1===d.step)&&1===t.tickInterval,f=f.info,t.dateTime&&f)var w=r.time.resolveDTLFormat(e.dateTimeLabelFormats[!e.grid&&f.higherRanks[u]||f.unitName]),E=w.main;A.isFirst=h,A.isLast=p,A.formatCtx={axis:t,chart:r,isFirst:h,isLast:p,dateTimeLabelFormat:E,tickPositionInfo:f,value:a?n(a.lin2log(c)):c,pos:u},e=t.labelFormatter.call(A.formatCtx,this.formatCtx),(B=w&&w.list)&&(A.shortenLabel=function(){for(g=0;gc&&n-u*fr&&(s=Math.round((i-n)/Math.cos(c*d))):(i=n+(1-u)*f,n-u*fr&&(p=r-A.x+p*u,g=-1),(p=Math.min(h,p))p||t.autoRotation&&(a.styles||{}).width)&&(s=p)),s&&(this.shortenLabel?this.shortenLabel():(B.width=Math.floor(s)+"px",(e.style||{}).textOverflow||(B.textOverflow="ellipsis"),a.css(B)))},A.prototype.moveLabel=function(A,t){var e=this,n=e.label,i=!1,r=e.axis,o=r.reversed;if(n&&n.textStr===A?(e.movedLabel=n,i=!0,delete e.label):u(r.ticks,(function(t){i||t.isNew||t===e||!t.label||t.label.textStr!==A||(e.movedLabel=t.label,i=!0,t.labelPos=e.movedLabel.xy,delete t.label)})),!i&&(e.labelPos||n)){var s=e.labelPos||n.xy;n=r.horiz?o?0:r.width+r.left:s.x,r=r.horiz?s.y:o?r.width+r.left:0,e.movedLabel=e.createLabel({x:n,y:r},A,t),e.movedLabel&&e.movedLabel.attr({opacity:0})}},A.prototype.render=function(A,t,e){var n=this.axis,i=n.horiz,r=this.pos,o=l(this.tickmarkOffset,n.tickmarkOffset);o=(r=this.getPosition(i,r,o,t)).x;var a=r.y;n=i&&o===n.pos+n.len||!i&&a===n.pos?-1:1,e=l(e,1),this.isActive=!0,this.renderGridLine(t,e,n),this.renderMark(r,e,n),this.renderLabel(r,t,e,A),this.isNew=!1,s(this,"afterRender")},A.prototype.renderGridLine=function(A,t,e){var n=this.axis,i=n.options,r=this.gridLine,o={},s=this.pos,a=this.type,c=l(this.tickmarkOffset,n.tickmarkOffset),u=n.chart.renderer,d=a?a+"Grid":"grid",f=i[d+"LineWidth"],h=i[d+"LineColor"];i=i[d+"LineDashStyle"],r||(n.chart.styledMode||(o.stroke=h,o["stroke-width"]=f,i&&(o.dashstyle=i)),a||(o.zIndex=1),A&&(t=0),this.gridLine=r=u.path().attr(o).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(n.gridGroup)),r&&(e=n.getPlotLinePath({value:s+c,lineWidth:r.strokeWidth()*e,force:"pass",old:A}))&&r[A||this.isNew?"attr":"animate"]({d:e,opacity:t})},A.prototype.renderMark=function(A,t,e){var n=this.axis,i=n.options,r=n.chart.renderer,o=this.type,s=o?o+"Tick":"tick",a=n.tickSize(s),c=this.mark,u=!c,d=A.x;A=A.y;var f=l(i[s+"Width"],!o&&n.isXAxis?1:0);i=i[s+"Color"],a&&(n.opposite&&(a[0]=-a[0]),u&&(this.mark=c=r.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||c.attr({stroke:i,"stroke-width":f})),c[u?"attr":"animate"]({d:this.getMarkPath(d,A,a[0],c.strokeWidth()*e,n.horiz,r),opacity:t}))},A.prototype.renderLabel=function(A,t,e,n){var i=this.axis,r=i.horiz,o=i.options,s=this.label,c=o.labels,u=c.step;i=l(this.tickmarkOffset,i.tickmarkOffset);var d=!0,f=A.x;A=A.y,s&&a(f)&&(s.xy=A=this.getLabelPosition(f,A,s,r,c,i,n,u),this.isFirst&&!this.isLast&&!l(o.showFirstLabel,1)||this.isLast&&!this.isFirst&&!l(o.showLastLabel,1)?d=!1:!r||c.step||c.rotation||t||0===e||this.handleOverflow(A),u&&n%u&&(d=!1),d&&a(A.y)?(A.opacity=e,s[this.isNewLabel?"attr":"animate"](A),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},A.prototype.replaceMovedLabel=function(){var A=this.label,t=this.axis,e=t.reversed;if(A&&!this.isNew){var n=t.horiz?e?t.left:t.width+t.left:A.xy.x;e=t.horiz?A.xy.y:e?t.width+t.top:t.top,A.animate({x:n,y:e,opacity:0},void 0,A.destroy),delete this.label}t.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},A}(),A.Tick=t,A.Tick})),t(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(A,t){var e=t.defined,n=t.error,i=t.extend,r=t.isObject,o=t.merge,s=t.objectEach,a=t.pad,c=t.pick,u=t.splat,l=t.timeUnits,d=A.win;return t=function(){function t(A){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=d.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(A)}return t.prototype.get=function(A,t){if(this.variableTimezone||this.timezoneOffset){var e=t.getTime(),n=e-this.getTimezoneOffset(t);return t.setTime(n),A=t["getUTC"+A](),t.setTime(e),A}return this.useUTC?t["getUTC"+A]():t["get"+A]()},t.prototype.set=function(A,t,e){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===A||"Seconds"===A||"Minutes"===A)return t["setUTC"+A](e);var n=this.getTimezoneOffset(t);return n=t.getTime()-n,t.setTime(n),t["setUTC"+A](e),A=this.getTimezoneOffset(t),n=t.getTime()+A,t.setTime(n)}return this.useUTC?t["setUTC"+A](e):t["set"+A](e)},t.prototype.update=function(A){var t=c(A&&A.useUTC,!0);this.options=A=o(!0,this.options||{},A),this.Date=A.Date||d.Date||Date,this.timezoneOffset=(this.useUTC=t)&&A.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=!(t&&!A.getTimezoneOffset&&!A.timezone)},t.prototype.makeTime=function(t,e,n,i,r,o){if(this.useUTC){var s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s);s+=a;var u=this.getTimezoneOffset(s);a!==u?s+=u-a:a-36e5!==this.getTimezoneOffset(s-36e5)||A.isSafari||(s-=36e5)}else s=new this.Date(t,e,c(n,1),c(i,0),c(r,0),c(o,0)).getTime();return s},t.prototype.timezoneOffsetFunction=function(){var A=this,t=this.options,e=t.moment||d.moment;if(!this.useUTC)return function(A){return 6e4*new Date(A.toString()).getTimezoneOffset()};if(t.timezone){if(e)return function(A){return 6e4*-e.tz(A,t.timezone).utcOffset()};n(25)}return this.useUTC&&t.getTimezoneOffset?function(A){return 6e4*t.getTimezoneOffset(A.valueOf())}:function(){return 6e4*(A.timezoneOffset||0)}},t.prototype.dateFormat=function(t,n,r){var o;if(!e(n)||isNaN(n))return(null===(o=A.defaultOptions.lang)||void 0===o?void 0:o.invalidDate)||"";t=c(t,"%Y-%m-%d %H:%M:%S");var u=this;o=new this.Date(n);var l=this.get("Hours",o),d=this.get("Day",o),f=this.get("Date",o),h=this.get("Month",o),p=this.get("FullYear",o),g=A.defaultOptions.lang,B=null==g?void 0:g.weekdays,b=null==g?void 0:g.shortWeekdays;return o=i({a:b?b[d]:B[d].substr(0,3),A:B[d],d:a(f),e:a(f,2," "),w:d,b:g.shortMonths[h],B:g.months[h],m:a(h+1),o:h+1,y:p.toString().substr(2,2),Y:p,H:a(l),k:l,I:a(l%12||12),l:l%12||12,M:a(this.get("Minutes",o)),p:12>l?"AM":"PM",P:12>l?"am":"pm",S:a(o.getSeconds()),L:a(Math.floor(n%1e3),3)},A.dateFormats),s(o,(function(A,e){for(;-1!==t.indexOf("%"+e);)t=t.replace("%"+e,"function"==typeof A?A.call(u,n):A)})),r?t.substr(0,1).toUpperCase()+t.substr(1):t},t.prototype.resolveDTLFormat=function(A){return r(A,!0)?A:{main:(A=u(A))[0],from:A[1],to:A[2]}},t.prototype.getTimeTicks=function(A,t,n,r){var o,s=this,a=[],u={},d=new s.Date(t),f=A.unitRange,h=A.count||1;if(r=c(r,1),e(t)){if(s.set("Milliseconds",d,f>=l.second?0:h*Math.floor(s.get("Milliseconds",d)/h)),f>=l.second&&s.set("Seconds",d,f>=l.minute?0:h*Math.floor(s.get("Seconds",d)/h)),f>=l.minute&&s.set("Minutes",d,f>=l.hour?0:h*Math.floor(s.get("Minutes",d)/h)),f>=l.hour&&s.set("Hours",d,f>=l.day?0:h*Math.floor(s.get("Hours",d)/h)),f>=l.day&&s.set("Date",d,f>=l.month?1:Math.max(1,h*Math.floor(s.get("Date",d)/h))),f>=l.month){s.set("Month",d,f>=l.year?0:h*Math.floor(s.get("Month",d)/h));var p=s.get("FullYear",d)}f>=l.year&&s.set("FullYear",d,p-p%h),f===l.week&&(p=s.get("Day",d),s.set("Date",d,s.get("Date",d)-p+r+(p4*l.month||s.getTimezoneOffset(t)!==s.getTimezoneOffset(n)),t=d.getTime(),d=1;ta.length&&a.forEach((function(A){0==A%18e5&&"000000000"===s.dateFormat("%H%M%S%L",A)&&(u[A]="day")}))}return a.info=i(A,{higherRanks:u,totalRange:f*h}),a},t}(),A.Time=t,A.Time})),t(e,"Core/Options.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Time.js"],e["Core/Utilities.js"]],(function(A,t,e,n){var i=A.isTouchDevice,r=A.svg;return t=t.parse,n=n.merge,A.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),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:{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}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:r,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:i?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:t("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:"#333333",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:"#999999",fontSize:"9px"},text:"Highcharts.com"}},A.time=new e(n(A.defaultOptions.global,A.defaultOptions.time)),A.dateFormat=function(t,e,n){return A.time.dateFormat(t,e,n)},{dateFormat:A.dateFormat,defaultOptions:A.defaultOptions,time:A.time}})),t(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"],e["Core/Options.js"]],(function(A,t,e,n,i,r){var o=A.animObject,s=i.addEvent,a=i.arrayMax,c=i.arrayMin,u=i.clamp,l=i.correctFloat,d=i.defined,f=i.destroyObjectProperties,h=i.error,p=i.extend,g=i.fireEvent,B=i.format,b=i.getMagnitude,w=i.isArray,E=i.isFunction,M=i.isNumber,m=i.isString,C=i.merge,v=i.normalizeTickInterval,Q=i.objectEach,y=i.pick,I=i.relativeLength,z=i.removeEvent,D=i.splat,L=i.syncTimeout,O=r.defaultOptions,x=e.deg2rad;return A=function(){function A(A,t){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.oldMin=this.oldMax=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.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(A,t)}return A.prototype.init=function(A,t){var e=t.isX,n=this;n.chart=A,n.horiz=A.inverted&&!n.isZAxis?!e:e,n.isXAxis=e,n.coll=n.coll||(e?"xAxis":"yAxis"),g(this,"init",{userOptions:t}),n.opposite=t.opposite,n.side=t.side||(n.horiz?n.opposite?0:2:n.opposite?1:3),n.setOptions(t);var i=this.options,r=i.type;n.labelFormatter=i.labels.formatter||n.defaultLabelFormatter,n.userOptions=t,n.minPixelPadding=0,n.reversed=i.reversed,n.visible=!1!==i.visible,n.zoomEnabled=!1!==i.zoomEnabled,n.hasNames="category"===r||!0===i.categories,n.categories=i.categories||n.hasNames,n.names||(n.names=[],n.names.keys={}),n.plotLinesAndBandsGroups={},n.positiveValuesOnly=!!n.logarithmic,n.isLinked=d(i.linkedTo),n.ticks={},n.labelEdge=[],n.minorTicks={},n.plotLinesAndBands=[],n.alternateBands={},n.len=0,n.minRange=n.userMinRange=i.minRange||i.maxZoom,n.range=i.range,n.offset=i.offset||0,n.max=null,n.min=null,n.crosshair=y(i.crosshair,D(A.options.tooltip.crosshairs)[e?0:1],!1),t=n.options.events,-1===A.axes.indexOf(n)&&(e?A.axes.splice(A.xAxis.length,0,n):A.axes.push(n),A[n.coll].push(n)),n.series=n.series||[],A.inverted&&!n.isZAxis&&e&&void 0===n.reversed&&(n.reversed=!0),n.labelRotation=n.options.labels.rotation,Q(t,(function(A,t){E(A)&&s(n,t,A)})),g(this,"afterInit")},A.prototype.setOptions=function(t){this.options=C(A.defaultOptions,"yAxis"===this.coll&&A.defaultYAxisOptions,[A.defaultTopAxisOptions,A.defaultRightAxisOptions,A.defaultBottomAxisOptions,A.defaultLeftAxisOptions][this.side],C(O[this.coll],t)),g(this,"afterSetOptions",{userOptions:t})},A.prototype.defaultLabelFormatter=function(){var A=this.axis,t=M(this.value)?this.value:NaN,e=A.chart.time,n=A.categories,i=this.dateTimeLabelFormat,r=O.lang,o=r.numericSymbols;r=r.numericSymbolMagnitude||1e3;var s=o&&o.length,a=A.options.labels.format;A=A.logarithmic?Math.abs(t):A.tickInterval;var c=this.chart,u=c.numberFormatter;if(a)var l=B(a,this,c);else if(n)l=""+this.value;else if(i)l=e.dateFormat(i,t);else if(s&&1e3<=A)for(;s--&&void 0===l;)A>=(e=Math.pow(r,s+1))&&0==10*t%e&&null!==o[s]&&0!==t&&(l=u(t/e,-1)+o[s]);return void 0===l&&(l=1e4<=Math.abs(t)?u(t,-1):u(t,-1,void 0,"")),l},A.prototype.getSeriesExtremes=function(){var A,t=this,e=t.chart;g(this,"getSeriesExtremes",null,(function(){t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.stacking&&t.stacking.buildStacks(),t.series.forEach((function(n){if(n.visible||!e.options.chart.ignoreHiddenSeries){var i=n.options,r=i.threshold;if(t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=r&&(r=null),t.isXAxis){if((i=n.xData).length){i=t.logarithmic?i.filter(t.validatePositiveValue):i;var o=(A=n.getXExtremes(i)).min,s=A.max;M(o)||o instanceof Date||(i=i.filter(M),o=(A=n.getXExtremes(i)).min,s=A.max),i.length&&(t.dataMin=Math.min(y(t.dataMin,o),o),t.dataMax=Math.max(y(t.dataMax,s),s))}}else n=n.applyExtremes(),M(n.dataMin)&&(o=n.dataMin,t.dataMin=Math.min(y(t.dataMin,o),o)),M(n.dataMax)&&(s=n.dataMax,t.dataMax=Math.max(y(t.dataMax,s),s)),d(r)&&(t.threshold=r),(!i.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1)}}))})),g(this,"afterGetSeriesExtremes")},A.prototype.translate=function(A,t,e,n,i,r){var o=this.linkedParent||this,s=1,a=0,c=n?o.oldTransA:o.transA;n=n?o.oldMin:o.min;var u=o.minPixelPadding;return i=(o.isOrdinal||o.brokenAxis&&o.brokenAxis.hasBreaks||o.logarithmic&&i)&&o.lin2val,c||(c=o.transA),e&&(s*=-1,a=o.len),o.reversed&&(a-=(s*=-1)*(o.sector||o.len)),t?(A=(A*s+a-u)/c+n,i&&(A=o.lin2val(A))):(i&&(A=o.val2lin(A)),A=M(n)?s*(A-n)*c+a+s*u+(M(r)?c*r:0):void 0),A},A.prototype.toPixels=function(A,t){return this.translate(A,!1,!this.horiz,null,!0)+(t?0:this.pos)},A.prototype.toValue=function(A,t){return this.translate(A-(t?0:this.pos),!0,!this.horiz,null,!0)},A.prototype.getPlotLinePath=function(A){function t(A,t,e){return("pass"!==B&&Ae)&&(B?A=u(A,t,e):o=!0),A}var e,n,i,r,o,s=this,a=s.chart,c=s.left,l=s.top,d=A.old,f=A.value,h=A.translatedValue,p=A.lineWidth,B=A.force,b=d&&a.oldChartHeight||a.chartHeight,w=d&&a.oldChartWidth||a.chartWidth,E=s.transB;return A={value:f,lineWidth:p,old:d,force:B,acrossPanes:A.acrossPanes,translatedValue:h},g(this,"getPlotLinePath",A,(function(A){h=y(h,s.translate(f,null,null,d)),h=u(h,-1e5,1e5),e=i=Math.round(h+E),n=r=Math.round(b-h-E),M(h)?s.horiz?(n=l,r=b-s.bottom,e=i=t(e,c,c+s.width)):(e=c,i=w-s.right,n=r=t(n,l,l+s.height)):(o=!0,B=!1),A.path=o&&!B?null:a.renderer.crispLine([["M",e,n],["L",i,r]],p||1)})),A.path},A.prototype.getLinearTickPositions=function(A,t,e){var n=l(Math.floor(t/A)*A);e=l(Math.ceil(e/A)*A);var i,r=[];if(l(n+A)===n&&(i=20),this.single)return[t];for(t=n;t<=e&&(r.push(t),(t=l(t+A,i))!==o);)var o=t;return r},A.prototype.getMinorTickInterval=function(){var A=this.options;return!0===A.minorTicks?y(A.minorTickInterval,"auto"):!1===A.minorTicks?null:A.minorTickInterval},A.prototype.getMinorTickPositions=function(){var A=this.options,t=this.tickPositions,e=this.minorTickInterval,n=[],i=this.pointRangePadding||0,r=this.min-i,o=(i=this.max+i)-r;if(o&&o/e=this.minRange,l=this.minRange,f=(l-o+r)/2;f=[r-f,y(i.min,r-f)],u&&(f[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),o=[(r=a(f))+l,y(i.max,r+l)],u&&(o[2]=s?s.log2lin(this.dataMax):this.dataMax),(o=c(o))-r=p)m=p,a=0;else if(t.dataMax<=p){var C=p;s=0}t.min=y(w,m,t.dataMin),t.max=y(E,C,t.dataMax)}n&&(t.positiveValuesOnly&&!A&&0>=Math.min(t.min,y(t.dataMin,t.min))&&h(10,1,e),t.min=l(n.log2lin(t.min),16),t.max=l(n.log2lin(t.max),16)),t.range&&d(t.max)&&(t.userMin=t.min=w=Math.max(t.dataMin,t.minFromRange()),t.userMax=E=t.max,t.range=null),g(t,"foundExtremes"),t.beforePadding&&t.beforePadding(),t.adjustForMinRange(),!(f||t.axisPointRange||t.stacking&&t.stacking.usePercentage||o)&&d(t.min)&&d(t.max)&&(e=t.max-t.min)&&(!d(w)&&a&&(t.min-=e*a),!d(E)&&s&&(t.max+=e*s)),M(t.userMin)||(M(i.softMin)&&i.softMint.max&&(t.max=E=i.softMax),M(i.ceiling)&&(t.max=Math.min(t.max,i.ceiling))),B&&d(t.dataMin)&&(p=p||0,!d(w)&&t.min=p?t.min=t.options.minRange?Math.min(p,t.max-t.minRange):p:!d(E)&&t.max>p&&t.dataMax<=p&&(t.max=t.options.minRange?Math.max(p,t.min+t.minRange):p)),t.tickInterval=t.min===t.max||void 0===t.min||void 0===t.max?1:o&&!c&&u===t.linkedParent.options.tickPixelInterval?c=t.linkedParent.tickInterval:y(c,this.tickAmount?(t.max-t.min)/Math.max(this.tickAmount-1,1):void 0,f?1:(t.max-t.min)*u/Math.max(t.len,u)),r&&!A&&t.series.forEach((function(A){A.processData(t.min!==t.oldMin||t.max!==t.oldMax)})),t.setAxisTranslation(!0),g(this,"initialAxisTranslation"),t.pointRange&&!c&&(t.tickInterval=Math.max(t.pointRange,t.tickInterval)),A=y(i.minTickInterval,t.dateTime&&!t.series.some((function(A){return A.noSharedTooltip}))?t.closestPointRange:0),!c&&t.tickIntervalt.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(t.tickInterval=t.unsquish()),this.setTickPositions()},A.prototype.setTickPositions=function(){var A=this.options,t=A.tickPositions,e=this.getMinorTickInterval(),n=A.tickPositioner,i=this.hasVerticalPanning(),r="colorAxis"===this.coll,o=(r||!i)&&A.startOnTick;i=(r||!i)&&A.endOnTick,this.tickmarkOffset=this.categories&&"between"===A.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===e&&this.tickInterval?this.tickInterval/5:e,this.single=this.min===this.max&&d(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==A.allowDecimals),this.tickPositions=e=t&&t.slice(),!e&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?e=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,A.units),this.min,this.max,A.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):(e=[this.min,this.max],h(19,!1,this.chart)),e.length>this.len&&(e=[e[0],e.pop()])[0]===e[1]&&(e.length=1),this.tickPositions=e,n&&(n=n.apply(this,[this.min,this.max])))&&(this.tickPositions=e=n),this.paddedTicks=e.slice(0),this.trimTicks(e,o,i),this.isLinked||(this.single&&2>e.length&&!this.categories&&!this.series.some((function(A){return A.is("heatmap")&&"between"===A.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),t||n||this.adjustTickAmount()),g(this,"afterSetTickPositions")},A.prototype.trimTicks=function(A,t,e){var n=A[0],i=A[A.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(g(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==n)this.min=n;else for(;this.min-r>A[0];)A.shift();if(e)this.max=i;else for(;this.max+rt&&(this.finalTickAmt=t,t=5),this.tickAmount=t},A.prototype.adjustTickAmount=function(){var A,t=this.options,e=this.tickInterval,n=this.tickPositions,i=this.tickAmount,r=this.finalTickAmt,o=n&&n.length,s=y(this.threshold,this.softThreshold?0:null);if(this.hasData()){if(oi&&(this.tickInterval*=2,this.setTickPositions());if(d(r)){for(e=t=n.length;e--;)(3===r&&1==e%2||2>=r&&0s&&(t=s)),d(i)&&(rs&&(r=s))),e.displayBtn=void 0!==t||void 0!==r,e.setExtremes(t,r,!1,void 0,{trigger:"zoom"})),A.zoomed=!0})),A.zoomed},A.prototype.setAxisSize=function(){var A=this.chart,t=this.options,e=t.offsets||[0,0,0,0],n=this.horiz,i=this.width=Math.round(I(y(t.width,A.plotWidth-e[3]+e[1]),A.plotWidth)),r=this.height=Math.round(I(y(t.height,A.plotHeight-e[0]+e[2]),A.plotHeight)),o=this.top=Math.round(I(y(t.top,A.plotTop+e[0]),A.plotHeight,A.plotTop));t=this.left=Math.round(I(y(t.left,A.plotLeft+e[3]),A.plotWidth,A.plotLeft)),this.bottom=A.chartHeight-r-o,this.right=A.chartWidth-i-t,this.len=Math.max(n?i:r,0),this.pos=n?t:o},A.prototype.getExtremes=function(){var A=this.logarithmic;return{min:A?l(A.lin2log(this.min)):this.min,max:A?l(A.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},A.prototype.getThreshold=function(A){var t=this.logarithmic,e=t?t.lin2log(this.min):this.min;return t=t?t.lin2log(this.max):this.max,null===A||-1/0===A?A=e:1/0===A?A=t:e>A?A=e:tt?A.align="right":195t&&(A.align="left")})),A.align},A.prototype.tickSize=function(A){var t=this.options,e=t["tick"===A?"tickLength":"minorTickLength"],n=y(t["tick"===A?"tickWidth":"minorTickWidth"],"tick"===A&&this.isXAxis&&!this.categories?1:0);if(n&&e){"inside"===t[A+"Position"]&&(e=-e);var i=[e,n]}return g(this,"afterTickSize",A={tickSize:i}),A.tickSize},A.prototype.labelMetrics=function(){var A=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[A]&&this.ticks[A].label)},A.prototype.unsquish=function(){var A,t,e,n=this.options.labels,i=this.horiz,r=this.tickInterval,o=r,s=this.len/(((this.categories?1:0)+this.max-this.min)/r),a=n.rotation,c=this.labelMetrics(),u=Number.MAX_VALUE,f=this.max-this.min,h=function(A){var t=A/(s||1);return(t=1f&&1/0!==A&&1/0!==s&&f&&(t=Math.ceil(f/r)),l(t*r)};return i?(e=!n.staggerLines&&!n.step&&(d(a)?[a]:s=e){var n=(t=h(Math.abs(c.h/Math.sin(x*e))))+Math.abs(e/360);n(i.step||0))return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(A=null===(t=null==i?void 0:i.style)||void 0===t?void 0:t.width))return parseInt(A,10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},A.prototype.renderUnsquish=function(){var A=this.chart,t=A.renderer,e=this.tickPositions,n=this.ticks,i=this.options.labels,r=i&&i.style||{},o=this.horiz,s=this.getSlotWidth(),a=Math.max(1,Math.round(s-2*(i.padding||5))),c={},u=this.labelMetrics(),l=i.style&&i.style.textOverflow,d=0;if(m(i.rotation)||(c.rotation=i.rotation||0),e.forEach((function(A){(A=n[A]).movedLabel&&A.replaceMovedLabel(),A&&A.label&&A.label.textPxLength>d&&(d=A.label.textPxLength)})),this.maxLabelLength=d,this.autoRotation)d>a&&d>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var f=a;if(!l){var h="clip";for(a=e.length;!o&&a--;){var p=e[a];(p=n[p].label)&&(p.styles&&"ellipsis"===p.styles.textOverflow?p.css({textOverflow:"clip"}):p.textPxLength>s&&p.css({width:s+"px"}),p.getBBox().height>this.len/e.length-(u.h-u.f)&&(p.specificTextOverflow="ellipsis"))}}}c.rotation&&(f=d>.5*A.chartHeight?.33*A.chartHeight:d,l||(h="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),e.forEach((function(A){var t=(A=n[A])&&A.label,e=r.width,i={};t&&(t.attr(c),A.shortenLabel?A.shortenLabel():f&&!e&&"nowrap"!==r.whiteSpace&&(f=this.min&&A<=this.max||null!==(e=this.grid)&&void 0!==e&&e.isColumn)&&(r[A]||(r[A]=new n(this,A)),o&&r[A].isNew&&r[A].render(t,!0,-1),r[A].render(t))},A.prototype.render=function(){var A,t,i=this,r=i.chart,s=i.logarithmic,a=i.options,c=i.isLinked,u=i.tickPositions,l=i.axisTitle,d=i.ticks,f=i.minorTicks,h=i.alternateBands,p=a.stackLabels,B=a.alternateGridColor,b=i.tickmarkOffset,w=i.axisLine,E=i.showAxis,m=o(r.renderer.globalAnimation);i.labelEdge.length=0,i.overlap=!1,[d,f,h].forEach((function(A){Q(A,(function(A){A.isActive=!1}))})),(i.hasData()||c)&&(i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach((function(A){i.renderMinorTick(A)})),u.length&&(u.forEach((function(A,t){i.renderTick(A,t)})),b&&(0===i.min||i.single)&&(d[-1]||(d[-1]=new n(i,-1,null,!0)),d[-1].render(-1))),B&&u.forEach((function(n,o){t=void 0!==u[o+1]?u[o+1]+b:i.max-b,0==o%2&&nt&&(!o||p<=e)&&void 0!==p&&u.push(p),p>e&&(d=!0);var p=h}}}else t=this.lin2log(t),e=this.lin2log(e),A=o?s.getMinorTickInterval():c.tickInterval,A=r("auto"===A?null:A,this.minorAutoInterval,c.tickPixelInterval/(o?5:1)*(e-t)/((o?a/s.tickPositions.length:a)||1)),A=i(A,void 0,n(A)),u=s.getLinearTickPositions(A,t,e).map(this.log2lin),o||(this.minorAutoInterval=A/5);return o||(s.tickInterval=A),u},A.prototype.lin2log=function(A){return Math.pow(10,A)},A.prototype.log2lin=function(A){return Math.log(A)/Math.LN10},A}();return t=function(){function A(){}return A.compose=function(A){A.keepProps.push("logarithmic");var t=A.prototype,n=o.prototype;t.log2lin=n.log2lin,t.lin2log=n.lin2log,e(A,"init",(function(A){var t=this.logarithmic;"logarithmic"!==A.userOptions.type?this.logarithmic=void 0:(t||(t=this.logarithmic=new o(this)),this.log2lin!==t.log2lin&&(t.log2lin=this.log2lin.bind(this)),this.lin2log!==t.lin2log&&(t.lin2log=this.lin2log.bind(this)))})),e(A,"afterInit",(function(){var A=this.logarithmic;A&&(this.lin2val=function(t){return A.lin2log(t)},this.val2lin=function(t){return A.log2lin(t)})}))},A}(),t.compose(A),t})),t(e,"Core/Axis/PlotLineOrBand.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(A,t,e){var n=e.arrayMax,i=e.arrayMin,r=e.defined,o=e.destroyObjectProperties,s=e.erase,a=e.extend,c=e.merge,u=e.objectEach,l=e.pick;return e=function(){function A(A,t){this.axis=A,t&&(this.options=t,this.id=t.id)}return A.prototype.render=function(){t.fireEvent(this,"render");var A=this,e=A.axis,n=e.horiz,i=e.logarithmic,o=A.options,s=o.label,a=A.label,d=o.to,f=o.from,h=o.value,p=r(f)&&r(d),g=r(h),B=A.svgElem,b=!B,w=[],E=o.color,M=l(o.zIndex,0),m=o.events;w={class:"highcharts-plot-"+(p?"band ":"line ")+(o.className||"")};var C={},v=e.chart.renderer,Q=p?"bands":"lines";if(i&&(f=i.log2lin(f),d=i.log2lin(d),h=i.log2lin(h)),e.chart.styledMode||(g?(w.stroke=E||"#999999",w["stroke-width"]=l(o.width,1),o.dashStyle&&(w.dashstyle=o.dashStyle)):p&&(w.fill=E||"#e6ebf5",o.borderWidth&&(w.stroke=o.borderColor,w["stroke-width"]=o.borderWidth))),C.zIndex=M,Q+="-"+M,(i=e.plotLinesAndBandsGroups[Q])||(e.plotLinesAndBandsGroups[Q]=i=v.g("plot-"+Q).attr(C).add()),b&&(A.svgElem=B=v.path().attr(w).add(i)),g)w=e.getPlotLinePath({value:h,lineWidth:B.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!p)return;w=e.getPlotBandPath(f,d,o)}return!A.eventsAdded&&m&&(u(m,(function(t,e){B.on(e,(function(t){m[e].apply(A,[t])}))})),A.eventsAdded=!0),(b||!B.d)&&w&&w.length?B.attr({d:w}):B&&(w?(B.show(!0),B.animate({d:w})):B.d&&(B.hide(),a&&(A.label=a=a.destroy()))),s&&(r(s.text)||r(s.formatter))&&w&&w.length&&0this.max&&t>this.max,e&&n){if(A){var s=e.toString()===n.toString();o=0}for(A=0;AA){a=s;break}if(o[a]&&r.substr(o[a])!=="01-01 00:00:00.000".substr(o[a]))break;"week"!==a&&(s=a)}if(a)var c=i.resolveDTLFormat(n[a]).main;return c},B.prototype.getLabel=function(){var t,e,n,o=this,s=this.chart.renderer,a=this.chart.styledMode,c=this.options,u="tooltip"+(r(c.className)?" "+c.className:""),l=(null===(t=c.style)||void 0===t?void 0:t.pointerEvents)||(!this.followPointer&&c.stickOnContact?"auto":"none");if(t=function(){o.inContact=!0},!this.label){if(this.outside&&(this.container=n=A.doc.createElement("div"),n.className="highcharts-tooltip-container",i(n,{position:"absolute",top:"1px",pointerEvents:l,zIndex:3}),A.doc.body.appendChild(n),this.renderer=s=new A.Renderer(n,0,0,null===(e=this.chart.options.chart)||void 0===e?void 0:e.style,void 0,void 0,s.styledMode)),this.split?this.label=s.g(u):(this.label=s.label("",0,0,c.shape||"callout",null,null,c.useHTML,null,u).attr({padding:c.padding,r:c.borderRadius}),a||this.label.attr({fill:c.backgroundColor,"stroke-width":c.borderWidth}).css(c.style).css({pointerEvents:l}).shadow(c.shadow)),a&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),o.outside&&!o.split){var d=this.label,f=d.xSetter,h=d.ySetter;d.xSetter=function(A){f.call(d,o.distance),n.style.left=A+"px"},d.ySetter=function(A){h.call(d,o.distance),n.style.top=A+"px"}}this.label.on("mouseenter",t).on("mouseleave",(function(){var A=o.chart.hoverSeries;o.inContact=!1,A&&A.onMouseOut&&A.onMouseOut()})).attr({zIndex:8}).add()}return this.label},B.prototype.getPosition=function(A,t,n){var i,r=this.chart,o=this.distance,s={},a=r.inverted&&n.h||0,c=this.outside,u=c?e.documentElement.clientWidth-2*o:r.chartWidth,l=c?Math.max(e.body.scrollHeight,e.documentElement.scrollHeight,e.body.offsetHeight,e.documentElement.offsetHeight,e.documentElement.clientHeight):r.chartHeight,d=r.pointer.getChartPosition(),h=r.containerScaling,p=function(A){return h?A*h.scaleX:A},g=function(A){return h?A*h.scaleY:A},B=function(e){var i="x"===e;return[e,i?u:l,i?A:t].concat(c?[i?p(A):g(t),i?d.left-o+p(n.plotX+r.plotLeft):d.top-o+g(n.plotY+r.plotTop),0,i?u:l]:[i?A:t,i?n.plotX+r.plotLeft:n.plotY+r.plotTop,i?r.plotLeft:r.plotTop,i?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},b=B("y"),w=B("x"),E=!this.followPointer&&f(n.ttBelow,!r.inverted==!!n.negative),M=function(A,t,e,n,i,r,c){var u="y"===A?g(o):p(o),l=(e-n)/2,d=nh-a?h:h-a);else{if(!f)return!1;s[A]=Math.max(r,i+a+e>t?i:i+a)}},m=function(A,t,e,n,i){var r;return it-o?r=!1:s[A]=it-n/2?t-n-2:i-e/2,r},C=function(A){var t=b;b=w,w=t,i=A},v=function(){!1!==M.apply(0,b)?!1!==m.apply(0,w)||i||(C(!0),v()):i?s.x=s.y=0:(C(!0),v())};return(r.inverted||1=w+d&&L.pos+b<=w+d+c-B&&(O=L.pos+b);g=n(g,v.left-M,v.right+M),"number"==typeof O?(h=h.height+1,b=C?C.call(r,a,h,o):i(g,O,s,a),A.push({align:C?0:void 0,anchorX:g,anchorY:O,boxWidth:a,point:o,rank:f(b.rank,s?1:0),size:h,target:b.y,tt:t,x:b.x})):t.isActive=!1}return A}),[]),!C&&t.some((function(A){return A.xe[0]?Math.max(Math.abs(e[0]),i.width-e[0]):Math.max(Math.abs(e[0]),i.width),n.height=0>e[1]?Math.max(Math.abs(e[1]),i.height-Math.abs(e[1])):Math.max(Math.abs(e[1]),i.height),this.tracker?this.tracker.attr(n):(this.tracker=t.renderer.rect(n).addClass("highcharts-tracker").add(t),A.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},B.prototype.styledModeFormat=function(A){return A.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},B.prototype.tooltipFooterHeaderFormatter=function(A,t){var e=t?"footer":"header",n=A.series,i=n.tooltipOptions,r=i.xDateFormat,o=n.xAxis,s=o&&"datetime"===o.options.type&&u(A.key),l=i[e+"Format"];return a(this,"headerFormatter",t={isFooter:t,labelConfig:A},(function(t){s&&!r&&(r=this.getXDateFormat(A,i,o)),s&&r&&(A.point&&A.point.tooltipDateKeys||["key"]).forEach((function(A){l=l.replace("{point."+A+"}","{point."+A+":"+r+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=c(l,{point:A,series:n},this.chart)})),t.text},B.prototype.update=function(A){this.destroy(),d(!0,this.chart.options.tooltip.userOptions,A),this.init(this.chart,d(!0,this.options,A))},B.prototype.updatePosition=function(A){var t=this.chart,e=t.pointer,n=this.getLabel(),r=A.plotX+t.plotLeft,o=A.plotY+t.plotTop;if(e=e.getChartPosition(),A=(this.options.positioner||this.getPosition).call(this,n.width,n.height,A),this.outside){var s=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(n.width+s,n.height+s,!1),(t=t.containerScaling)&&(i(this.container,{transform:"scale("+t.scaleX+", "+t.scaleY+")"}),r*=t.scaleX,o*=t.scaleY),r+=e.left-A.x,o+=e.top-A.y}this.move(Math.round(A.x),Math.round(A.y||0),r,o)},B}();return A.Tooltip=B,A.Tooltip})),t(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Tooltip.js"],e["Core/Utilities.js"]],(function(A,t,e,n){var i=A.parse,r=t.charts,o=t.noop,s=n.addEvent,a=n.attr,c=n.css,u=n.defined,l=n.extend,d=n.find,f=n.fireEvent,h=n.isNumber,p=n.isObject,g=n.objectEach,B=n.offset,b=n.pick,w=n.splat;return A=function(){function A(A,t){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.chart=A,this.hasDragged=!1,this.options=t,this.unbindContainerMouseLeave=function(){},this.unbindContainerMouseEnter=function(){},this.init(A,t)}return A.prototype.applyInactiveState=function(A){var t,e=[];(A||[]).forEach((function(A){t=A.series,e.push(t),t.linkedParent&&e.push(t.linkedParent),t.linkedSeries&&(e=e.concat(t.linkedSeries)),t.navigatorSeries&&e.push(t.navigatorSeries)})),this.chart.series.forEach((function(A){-1===e.indexOf(A)?A.setState("inactive",!0):A.options.inactiveOtherPoints&&A.setAllPointsToState("inactive")}))},A.prototype.destroy=function(){var A=this;void 0!==A.unDocMouseMove&&A.unDocMouseMove(),this.unbindContainerMouseLeave(),t.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(A.tooltipTimeout),g(A,(function(t,e){A[e]=void 0}))},A.prototype.drag=function(A){var t=this.chart,e=t.options.chart,n=A.chartX,r=A.chartY,o=this.zoomHor,s=this.zoomVert,a=t.plotLeft,c=t.plotTop,u=t.plotWidth,l=t.plotHeight,d=this.selectionMarker,f=this.mouseDownX||0,h=this.mouseDownY||0,g=p(e.panning)?e.panning&&e.panning.enabled:e.panning,B=e.panKey&&A[e.panKey+"Key"];if((!d||!d.touch)&&(na+u&&(n=a+u),rc+l&&(r=c+l),this.hasDragged=Math.sqrt(Math.pow(f-n,2)+Math.pow(h-r,2)),10A.options.findNearestPointBy.indexOf("y");if(A=A.searchPoint(e,i),(i=p(A,!0))&&!(i=!p(n,!0))){i=n.distX-A.distX;var r=n.dist-A.dist,o=(A.series.group&&A.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);i=0<(0!==i&&t?i:0!==r?r:0!==o?o:n.series.index>A.series.index?-1:1)}i&&(n=A)})),n)},A.prototype.getChartCoordinatesFromPoint=function(A,t){var e=A.series,n=e.xAxis;e=e.yAxis;var i=b(A.clientX,A.plotX),r=A.shapeArgs;return n&&e?t?{chartX:n.len+n.pos-i,chartY:e.len+e.pos-A.plotY}:{chartX:i+n.pos,chartY:A.plotY+e.pos}:r&&r.x&&r.y?{chartX:r.x,chartY:r.y}:void 0},A.prototype.getChartPosition=function(){return this.chartPosition||(this.chartPosition=B(this.chart.container))},A.prototype.getCoordinates=function(A){var t={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(e){t[e.isXAxis?"xAxis":"yAxis"].push({axis:e,value:e.toValue(A[e.horiz?"chartX":"chartY"])})})),t},A.prototype.getHoverData=function(A,t,e,n,i,r){var o,s=[];n=!(!n||!A);var a=t&&!t.stickyTracking,c={chartX:r?r.chartX:void 0,chartY:r?r.chartY:void 0,shared:i};return f(this,"beforeGetHoverData",c),a=a?[t]:e.filter((function(A){return c.filter?c.filter(A):A.visible&&!(!i&&A.directTouch)&&b(A.options.enableMouseTracking,!0)&&A.stickyTracking})),t=(o=n||!r?A:this.findNearestKDPoint(a,i,r))&&o.series,o&&(i&&!t.noSharedTooltip?(a=e.filter((function(A){return c.filter?c.filter(A):A.visible&&!(!i&&A.directTouch)&&b(A.options.enableMouseTracking,!0)&&!A.noSharedTooltip})),a.forEach((function(A){var t=d(A.points,(function(A){return A.x===o.x&&!A.isNull}));p(t)&&(A.chart.isBoosting&&(t=A.getPoint(t)),s.push(t))}))):s.push(o)),f(this,"afterGetHoverData",c={hoverPoint:o}),{hoverPoint:c.hoverPoint,hoverSeries:t,hoverPoints:s}},A.prototype.getPointFromEvent=function(A){A=A.target;for(var t;A&&!t;)t=A.point,A=A.parentNode;return t},A.prototype.onTrackerMouseOut=function(A){A=A.relatedTarget||A.toElement;var t=this.chart.hoverSeries;this.isDirectTouch=!1,!t||!A||t.stickyTracking||this.inClass(A,"highcharts-tooltip")||this.inClass(A,"highcharts-series-"+t.index)&&this.inClass(A,"highcharts-tracker")||t.onMouseOut()},A.prototype.inClass=function(A,t){for(var e;A;){if(e=a(A,"class")){if(-1!==e.indexOf(t))return!0;if(-1!==e.indexOf("highcharts-container"))return!1}A=A.parentNode}},A.prototype.init=function(A,t){this.options=t,this.chart=A,this.runChartClick=t.chart.events&&!!t.chart.events.click,this.pinchDown=[],this.lastValidTouch={},e&&(A.tooltip=new e(A,t.tooltip),this.followTouchMove=b(t.tooltip.followTouchMove,!0)),this.setDOMEvents()},A.prototype.normalize=function(A,t){var e=A.touches,n=e?e.length?e.item(0):b(e.changedTouches,A.changedTouches)[0]:A;return t||(t=this.getChartPosition()),e=n.pageX-t.left,t=n.pageY-t.top,(n=this.chart.containerScaling)&&(e/=n.scaleX,t/=n.scaleY),l(A,{chartX:Math.round(e),chartY:Math.round(t)})},A.prototype.onContainerClick=function(A){var t=this.chart,e=t.hoverPoint;A=this.normalize(A);var n=t.plotLeft,i=t.plotTop;t.cancelClick||(e&&this.inClass(A.target,"highcharts-tracker")?(f(e.series,"click",l(A,{point:e})),t.hoverPoint&&e.firePointEvent("click",A)):(l(A,this.getCoordinates(A)),t.isInsidePlot(A.chartX-n,A.chartY-i)&&f(t,"click",A)))},A.prototype.onContainerMouseDown=function(A){var e=!(1&~(A.buttons||A.button));A=this.normalize(A),t.isFirefox&&0!==A.button&&this.onContainerMouseMove(A),(void 0===A.button||e)&&(this.zoomOption(A),e&&A.preventDefault&&A.preventDefault(),this.dragStart(A))},A.prototype.onContainerMouseLeave=function(A){var e=r[b(t.hoverChartIndex,-1)],n=this.chart.tooltip;A=this.normalize(A),e&&(A.relatedTarget||A.toElement)&&(e.pointer.reset(),e.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset()},A.prototype.onContainerMouseEnter=function(A){delete this.chartPosition},A.prototype.onContainerMouseMove=function(A){var t=this.chart;A=this.normalize(A),this.setHoverChartIndex(),A.preventDefault||(A.returnValue=!1),"mousedown"===t.mouseIsDown&&this.drag(A),t.openMenu||!this.inClass(A.target,"highcharts-tracker")&&!t.isInsidePlot(A.chartX-t.plotLeft,A.chartY-t.plotTop)||this.runPointActions(A)},A.prototype.onDocumentTouchEnd=function(A){r[t.hoverChartIndex]&&r[t.hoverChartIndex].pointer.drop(A)},A.prototype.onContainerTouchMove=function(A){this.touch(A)},A.prototype.onContainerTouchStart=function(A){this.zoomOption(A),this.touch(A,!0)},A.prototype.onDocumentMouseMove=function(A){var t=this.chart,e=this.chartPosition;A=this.normalize(A,e);var n=t.tooltip;!e||n&&n.isStickyOnContact()||t.isInsidePlot(A.chartX-t.plotLeft,A.chartY-t.plotTop)||this.inClass(A.target,"highcharts-tracker")||this.reset()},A.prototype.onDocumentMouseUp=function(A){var e=r[b(t.hoverChartIndex,-1)];e&&e.pointer.drop(A)},A.prototype.pinch=function(A){var t=this,e=t.chart,n=t.pinchDown,i=A.touches||[],r=i.length,s=t.lastValidTouch,a=t.hasZoom,c=t.selectionMarker,u={},d=1===r&&(t.inClass(A.target,"highcharts-tracker")&&e.runTrackerClick||t.runChartClick),f={};1b.max&&(t=b.max-a,v=!0);v?(M-=.8*(M-o[l][0]),"number"==typeof C&&(C-=.8*(C-o[l][1])),e()):o[l]=[M,C],B||(r[l]=c-p,r[h]=a),r=B?1/g:g,i[h]=a,i[l]=t,n[B?A?"scaleY":"scaleX":"scale"+d]=g,n["translate"+d]=r*p+(M-r*E)},A.prototype.reset=function(A,t){var e=this.chart,n=e.hoverSeries,i=e.hoverPoint,r=e.hoverPoints,o=e.tooltip,s=o&&o.shared?r:i;A&&s&&w(s).forEach((function(t){t.series.isCartesian&&void 0===t.plotX&&(A=!1)})),A?o&&s&&w(s).length&&(o.refresh(s),o.shared&&r?r.forEach((function(A){A.setState(A.state,!0),A.series.isCartesian&&(A.series.xAxis.crosshair&&A.series.xAxis.drawCrosshair(null,A),A.series.yAxis.crosshair&&A.series.yAxis.drawCrosshair(null,A))})):i&&(i.setState(i.state,!0),e.axes.forEach((function(A){A.crosshair&&i.series[A.coll]===A&&A.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),r&&r.forEach((function(A){A.setState()})),n&&n.onMouseOut(),o&&o.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),e.axes.forEach((function(A){A.hideCrosshair()})),this.hoverX=e.hoverPoints=e.hoverPoint=null)},A.prototype.runPointActions=function(A,e){var n=this.chart,i=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,o=!!i&&i.shared,a=e||n.hoverPoint,c=a&&a.series||n.hoverSeries;a=(c=this.getHoverData(a,c,n.series,(!A||"touchmove"!==A.type)&&(!!e||c&&c.directTouch&&this.isDirectTouch),o,A)).hoverPoint;var u=c.hoverPoints;if(e=(c=c.hoverSeries)&&c.tooltipOptions.followPointer,o=o&&c&&!c.noSharedTooltip,a&&(a!==n.hoverPoint||i&&i.isHidden)){if((n.hoverPoints||[]).forEach((function(A){-1===u.indexOf(A)&&A.setState()})),n.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(A){A.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!a.series)return;n.hoverPoints=u,n.hoverPoint=a,a.firePointEvent("mouseOver"),i&&i.refresh(o?u:a,A)}else e&&i&&!i.isHidden&&(a=i.getAnchor([{}],A),i.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(n.container.ownerDocument,"mousemove",(function(A){var e=r[t.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(A)}))),n.axes.forEach((function(t){var e,i=b((t.crosshair||{}).snap,!0);i&&((e=n.hoverPoint)&&e.series[t.coll]===t||(e=d(u,(function(A){return A.series[t.coll]===t})))),e||!i?t.drawCrosshair(A,e):t.hideCrosshair()}))},A.prototype.scaleGroups=function(A,t){var e,n=this.chart;n.series.forEach((function(i){e=A||i.getPlotBox(),i.xAxis&&i.xAxis.zoomEnabled&&i.group&&(i.group.attr(e),i.markerGroup&&(i.markerGroup.attr(e),i.markerGroup.clip(t?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(e))})),n.clipRect.attr(t||n.clipBox)},A.prototype.setDOMEvents=function(){var A=this.chart.container,e=A.ownerDocument;A.onmousedown=this.onContainerMouseDown.bind(this),A.onmousemove=this.onContainerMouseMove.bind(this),A.onclick=this.onContainerClick.bind(this),this.unbindContainerMouseEnter=s(A,"mouseenter",this.onContainerMouseEnter.bind(this)),this.unbindContainerMouseLeave=s(A,"mouseleave",this.onContainerMouseLeave.bind(this)),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(e,"mouseup",this.onDocumentMouseUp.bind(this))),t.hasTouch&&(s(A,"touchstart",this.onContainerTouchStart.bind(this)),s(A,"touchmove",this.onContainerTouchMove.bind(this)),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(e,"touchend",this.onDocumentTouchEnd.bind(this))))},A.prototype.setHoverChartIndex=function(){var A=this.chart,e=t.charts[b(t.hoverChartIndex,-1)];e&&e!==A&&e.pointer.onContainerMouseLeave({relatedTarget:!0}),e&&e.mouseIsDown||(t.hoverChartIndex=A.index)},A.prototype.touch=function(A,t){var e=this.chart;if(this.setHoverChartIndex(),1===A.touches.length)if(A=this.normalize(A),e.isInsidePlot(A.chartX-e.plotLeft,A.chartY-e.plotTop)&&!e.openMenu){if(t&&this.runPointActions(A),"touchmove"===A.type)var n=!!(t=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(t[0].chartX-A.chartX,2)+Math.pow(t[0].chartY-A.chartY,2));b(n,!0)&&this.pinch(A)}else t&&this.reset();else 2===A.touches.length&&this.pinch(A)},A.prototype.zoomOption=function(A){var t=this.chart,e=t.options.chart,n=e.zoomType||"";t=t.inverted,/touch/.test(A.type)&&(n=b(e.pinchType,n)),this.zoomX=A=/x/.test(n),this.zoomY=n=/y/.test(n),this.zoomHor=A&&!t||n&&t,this.zoomVert=n&&!t||A&&t,this.hasZoom=A||n},A}(),t.Pointer=A})),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],(function(A,t,e){function n(){var A=[];return A.item=function(A){return this[A]},l(f,(function(t){A.push({pageX:t.pageX,pageY:t.pageY,target:t.target})})),A}function i(t,e,i,r){"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!o[A.hoverChartIndex]||(r(t),(r=o[A.hoverChartIndex].pointer)[e]({type:i,target:t.currentTarget,preventDefault:a,touches:n()}))}var r=this&&this.__extends||function(){var A=function(t,e){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)t.hasOwnProperty(e)&&(A[e]=t[e])})(t,e)};return function(t,e){function n(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),o=A.charts,s=A.doc,a=A.noop,c=e.addEvent,u=e.css,l=e.objectEach,d=e.removeEvent,f={},h=!!A.win.PointerEvent;return function(A){function t(){return null!==A&&A.apply(this,arguments)||this}return r(t,A),t.prototype.batchMSEvents=function(A){A(this.chart.container,h?"pointerdown":"MSPointerDown",this.onContainerPointerDown),A(this.chart.container,h?"pointermove":"MSPointerMove",this.onContainerPointerMove),A(s,h?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},t.prototype.destroy=function(){this.batchMSEvents(d),A.prototype.destroy.call(this)},t.prototype.init=function(t,e){A.prototype.init.call(this,t,e),this.hasZoom&&u(t.container,{"-ms-touch-action":"none","touch-action":"none"})},t.prototype.onContainerPointerDown=function(A){i(A,"onContainerTouchStart","touchstart",(function(A){f[A.pointerId]={pageX:A.pageX,pageY:A.pageY,target:A.currentTarget}}))},t.prototype.onContainerPointerMove=function(A){i(A,"onContainerTouchMove","touchmove",(function(A){f[A.pointerId]={pageX:A.pageX,pageY:A.pageY},f[A.pointerId].target||(f[A.pointerId].target=A.currentTarget)}))},t.prototype.onDocumentPointerUp=function(A){i(A,"onDocumentTouchEnd","touchend",(function(A){delete f[A.pointerId]}))},t.prototype.setDOMEvents=function(){A.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(c)},t}(t)})),t(e,"Core/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(A,t,e){var n=A.animObject,i=A.setAnimation,r=e.addEvent,o=e.css,s=e.defined,a=e.discardElement,c=e.find,u=e.fireEvent,l=e.format,d=e.isNumber,f=e.merge,h=e.pick,p=e.relativeLength,g=e.stableSort,B=e.syncTimeout;A=e.wrap,e=t.isFirefox;var b=t.marginNames,w=t.win,E=function(){function A(A,t){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=A,this.init(A,t)}return A.prototype.init=function(A,t){this.chart=A,this.setOptions(t),t.enabled&&(this.render(),r(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=r(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},A.prototype.setOptions=function(A){var t=h(A.padding,8);this.options=A,this.chart.styledMode||(this.itemStyle=A.itemStyle,this.itemHiddenStyle=f(this.itemStyle,A.itemHiddenStyle)),this.itemMarginTop=A.itemMarginTop||0,this.itemMarginBottom=A.itemMarginBottom||0,this.padding=t,this.initialItemY=t-5,this.symbolWidth=h(A.symbolWidth,16),this.pages=[],this.proximate="proximate"===A.layout&&!this.chart.inverted,this.baseline=void 0},A.prototype.update=function(A,t){var e=this.chart;this.setOptions(f(!0,this.options,A)),this.destroy(),e.isDirtyLegend=e.isDirtyBox=!0,h(t,!0)&&e.redraw(),u(this,"afterUpdate")},A.prototype.colorizeItem=function(A,t){if(A.legendGroup[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var e=this.options,n=A.legendItem,i=A.legendLine,r=A.legendSymbol,o=this.itemHiddenStyle.color;e=t?e.itemStyle.color:o;var s=t&&A.color||o,a=A.options&&A.options.marker,c={fill:s};n&&n.css({fill:e,color:e}),i&&i.attr({stroke:s}),r&&(a&&r.isMarker&&(c=A.pointAttribs(),t||(c.stroke=c.fill=o)),r.attr(c))}u(this,"afterColorizeItem",{item:A,visible:t})},A.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},A.prototype.positionItem=function(A){var t=this,e=this.options,n=e.symbolPadding,i=!e.rtl,r=A._legendItemPos;e=r[0],r=r[1];var o=A.checkbox,a=A.legendGroup;a&&a.element&&(n={translateX:i?e:this.legendWidth-e-2*n-4,translateY:r},i=function(){u(t,"afterPositionItem",{item:A})},s(a.translateY)?a.animate(n,void 0,i):(a.attr(n),i())),o&&(o.x=e,o.y=r)},A.prototype.destroyItem=function(A){var t=A.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(t){A[t]&&(A[t]=A[t].destroy())})),t&&a(A.checkbox)},A.prototype.destroy=function(){function A(A){this[A]&&(this[A]=this[A].destroy())}this.getAllItems().forEach((function(t){["legendItem","legendGroup"].forEach(A,t)})),"clipRect up down pager nav box title group".split(" ").forEach(A,this),this.display=null},A.prototype.positionCheckboxes=function(){var A=this.group&&this.group.alignAttr,t=this.clipHeight||this.legendHeight,e=this.titleHeight;if(A){var n=A.translateY;this.allItems.forEach((function(i){var r=i.checkbox;if(r){var s=n+e+r.y+(this.scrollOffset||0)+3;o(r,{left:A.translateX+i.checkboxOffset+r.x-20+"px",top:s+"px",display:this.proximate||s>n-6&&sa?this.maxItemWidth:A.itemWidth,n&&this.itemX-e+t>a&&(this.itemX=e,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=o+this.itemY+r,this.lastLineHeight=Math.max(i,this.lastLineHeight),A._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=t:(this.itemY+=o+i+r,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-e-(A.checkbox?0:s):t)+e,this.offsetWidth)},A.prototype.getAllItems=function(){var A=[];return this.chart.series.forEach((function(t){var e=t&&t.options;t&&h(e.showInLegend,!s(e.linkedTo)&&void 0,!0)&&(A=A.concat(t.legendItems||("point"===e.legendType?t.data:t)))})),u(this,"afterGetAllItems",{allItems:A}),A},A.prototype.getAlignment=function(){var A=this.options;return this.proximate?A.align.charAt(0)+"tv":A.floating?"":A.align.charAt(0)+A.verticalAlign.charAt(0)+A.layout.charAt(0)},A.prototype.adjustMargins=function(A,t){var e=this.chart,n=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(r,o){r.test(i)&&!s(A[o])&&(e[b[o]]=Math.max(e[b[o]],e.legend[(o+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][o]*n[o%2?"x":"y"]+h(n.margin,12)+t[o]+(e.titleOffset[o]||0)))}))},A.prototype.proximatePositions=function(){var A=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(t){var i,r=n;if(t.yAxis){t.xAxis.options.reversed&&(r=!r),t.points&&(i=c(r?t.points:t.points.slice(0).reverse(),(function(A){return d(A.plotY)}))),r=this.itemMarginTop+t.legendItem.getBBox().height+this.itemMarginBottom;var o=t.yAxis.top-A.plotTop;t.visible?(i=i?i.plotY:t.yAxis.height,i+=o-.3*r):i=o+t.yAxis.height,e.push({target:i,size:r,item:t})}}),this),t.distribute(e,A.plotHeight),e.forEach((function(t){t.item._legendItemPos[1]=A.plotTop-A.spacing[0]+t.pos}))},A.prototype.render=function(){var A=this.chart,t=A.renderer,e=this.group,n=this.box,i=this.options,r=this.padding;this.itemX=r,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=p(i.width,A.spacingBox.width-r);var o=A.spacingBox.width-2*r-i.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(o/=2),this.maxLegendWidth=this.widthOption||o,e||(this.group=e=t.g("legend").attr({zIndex:7}).add(),this.contentGroup=t.g().attr({zIndex:1}).add(e),this.scrollGroup=t.g().add(this.contentGroup)),this.renderTitle();var s=this.getAllItems();g(s,(function(A,t){return(A.options&&A.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)})),i.reversed&&s.reverse(),this.allItems=s,this.display=o=!!s.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,s.forEach(this.renderItem,this),s.forEach(this.layoutItem,this),s=(this.widthOption||this.offsetWidth)+r;var a=this.lastItemY+this.lastLineHeight+this.titleHeight;a=this.handleOverflow(a),a+=r,n||(this.box=n=t.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(e),n.isNew=!0),A.styledMode||n.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0r&&!1!==l.enabled?(this.clipHeight=s=Math.max(r-20-this.titleHeight-o,0),this.currentPage=h(this.currentPage,1),this.fullHeight=A,B.forEach((function(A,t){var e=A._legendItemPos[1],n=Math.round(A.legendItem.getBBox().height),i=g.length;(!i||e-g[i-1]>s&&(a||e)!==g[i-1])&&(g.push(a||e),i++),A.pageIx=i-1,a&&(B[t-1].pageIx=i-1),t===B.length-1&&e+n-g[i-1]>s&&e!==a&&(g.push(e),A.pageIx=i),e!==a&&(a=e)})),u||(u=t.clipRect=n.clipRect(0,o,9999,0),t.contentGroup.clip(u)),b(s),p||(this.nav=p=n.g().attr({zIndex:1}).add(this.group),this.up=n.symbol("triangle",0,0,f,f).add(p),w("upTracker").on("click",(function(){t.scroll(-1,d)})),this.pager=n.text("",15,10).addClass("highcharts-legend-navigation"),e.styledMode||this.pager.css(l.style),this.pager.add(p),this.down=n.symbol("triangle-down",0,0,f,f).add(p),w("downTracker").on("click",(function(){t.scroll(1,d)}))),t.scroll(0),A=r):p&&(b(),this.nav=p.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),A},A.prototype.scroll=function(A,t){var e=this,r=this.chart,o=this.pages,s=o.length,a=this.currentPage+A;A=this.clipHeight;var c=this.options.navigation,l=this.pager,d=this.padding;a>s&&(a=s),0=e.value;)e=t[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=e&&e.color&&!this.options.color?e.color:this.nonZonedColor,e},A.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},A.prototype.init=function(A,t,e){return this.series=A,this.applyOptions(t,e),this.id=i(this.id)?this.id:g(),this.resolveColor(),A.chart.pointCount++,s(this,"afterInit"),this},A.prototype.optionsToObject=function(t){var e={},n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,s=0,a=0;if(l(t)||null===t)e[r[0]]=t;else if(u(t))for(!i&&t.length>o&&("string"==(n=typeof t[0])?e.name=t[0]:"number"===n&&(e.x=t[0]),s++);a=z(A[t].options.index,A[t]._i)){A.splice(t+1,0,this);break}-1===t&&A.unshift(this),t+=1}else A.push(this);return z(t,A.length-1)},bindAxes:function(){var A,t=this,e=t.options,n=t.chart;E(this,"bindAxes",null,(function(){(t.axisTypes||[]).forEach((function(i){n[i].forEach((function(n){A=n.options,(e[i]===A.index||void 0!==e[i]&&e[i]===A.id||void 0===e[i]&&0===A.index)&&(t.insert(n.series),t[i]=n,n.isDirty=!0)})),t[i]||t.optionalAxis===i||B(18,!0,n)}))})),E(this,"afterBindAxes")},updateParallelArrays:function(A,t){var e=A.series,n=arguments,i=v(t)?function(n){var i="y"===n&&e.toYData?e.toYData(A):A[n];e[n+"Data"][t]=i}:function(A){Array.prototype[t].apply(e[A+"Data"],Array.prototype.slice.call(n,2))};e.parallelArrays.forEach(i)},hasData:function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?c-this.cropStart:c),!e&&r[c]&&r[c].touched&&(c=void 0),c},drawLegendSymbol:n.drawLineMarker,updateData:function(A,t){var e,n,i,r=this.options,o=r.dataSorting,s=this.points,a=[],c=this.requireSorting,u=A.length===s.length,d=!0;if(this.xIncrement=null,A.forEach((function(A,t){var n=p(A)&&this.pointClass.prototype.optionsToObject.call({series:this},A)||{},l=n.x;n.id||v(l)?(-1===(l=this.findPointIndex(n,i))||void 0===l?a.push(A):s[l]&&A!==r.data[l]?(s[l].update(A,!1,null,!1),s[l].touched=!0,c&&(i=l+1)):s[l]&&(s[l].touched=!0),(!u||t!==l||o&&o.enabled||this.hasDerivedData)&&(e=!0)):a.push(A)}),this),e)for(A=s.length;A--;)(n=s[A])&&!n.touched&&n.remove&&n.remove(!1,t);else!u||o&&o.enabled?d=!1:(A.forEach((function(A,t){s[t].update&&A!==s[t].y&&s[t].update(A,!1,null,!1)})),a.length=0);return s.forEach((function(A){A&&(A.touched=!1)})),!!d&&(a.forEach((function(A){this.addPoint(A,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=l(this.xData),this.autoIncrement()),!0)},setData:function(A,t,e,n){var i,r=this,o=r.points,s=o&&o.length||0,a=r.options,c=r.chart,u=a.dataSorting,l=null,d=r.xAxis;l=a.turboThreshold;var f,h=this.xData,p=this.yData,g=(i=r.pointArrayMap)&&i.length,b=a.keys,w=0,E=1;if(i=(A=A||[]).length,t=z(t,!0),u&&u.enabled&&(A=this.sortData(A)),!1!==n&&i&&s&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(f=this.updateData(A,e)),!f){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(A){r[A+"Data"].length=0})),l&&i>l)if(l=r.getFirstValidPoint(A),v(l))for(e=0;eA?1:0})).forEach((function(A,t){A.x=t}),this),t.linkedSeries&&t.linkedSeries.forEach((function(t){var e=t.options,i=e.data;e.dataSorting&&e.dataSorting.enabled||!i||(i.forEach((function(e,r){i[r]=n(t,e),A[r]&&(i[r].x=A[r].x,i[r].index=r)})),t.setData(i,!1))})),A},getProcessedData:function(A){var t=this.xData,e=this.yData,n=t.length,i=0,r=this.xAxis,o=this.options,s=o.cropThreshold,a=A||this.getExtremesFromAll||o.getExtremesFromAll,c=this.isCartesian;A=r&&r.val2lin,o=!(!r||!r.logarithmic);var u=this.requireSorting;if(r)var l=(r=r.getExtremes()).min,d=r.max;if(c&&this.sorted&&!a&&(!s||n>s||this.forceCrop))if(t[n-1]d)t=[],e=[];else if(this.yData&&(t[0]d)){t=(i=this.cropData(this.xData,this.yData,l,d)).xData,e=i.yData,i=i.start;var f=!0}for(s=t.length||1;--s;)if(0<(n=o?A(t[s])-A(t[s-1]):t[s]-t[s-1])&&(void 0===h||nn&&u&&(B(15,!1,this.chart),u=!1);return{xData:t,yData:e,cropped:f,cropStart:i,closestPointRange:h}},processData:function(A){var t=this.xAxis;if(this.isCartesian&&!this.isDirty&&!t.isDirty&&!this.yAxis.isDirty&&!A)return!1;A=this.getProcessedData(),this.cropped=A.cropped,this.cropStart=A.cropStart,this.processedXData=A.xData,this.processedYData=A.yData,this.closestPointRange=this.basePointRange=A.closestPointRange},cropData:function(A,t,e,n,i){var r,o=A.length,s=0,a=o;for(i=z(i,this.cropShoulder),r=0;r=e){s=Math.max(0,r-i);break}for(e=r;en){a=e+i;break}return{xData:A.slice(s,a),yData:t.slice(s,a),start:s,end:a}},generatePoints:function(){var A,t=this.options,e=t.data,n=this.data,i=this.processedXData,r=this.processedYData,o=this.pointClass,s=i.length,a=this.cropStart||0,c=this.hasGroupedData;t=t.keys;var u,l=[];for(n||c||((n=[]).length=e.length,n=this.data=n),t&&c&&(this.options.keys=!1),u=0;u=a&&(r[e-u]||h)<=c,g&&h)if(g=p.length)for(;g--;)v(p[g])&&(o[s++]=p[g]);else o[s++]=p}return A={dataMin:d(o),dataMax:l(o)},E(this,"afterGetExtremes",{dataExtremes:A}),A},applyExtremes:function(){var A=this.getExtremes();return this.dataMin=A.dataMin,this.dataMax=A.dataMax,A},getFirstValidPoint:function(A){for(var t=null,e=A.length,n=0;null===t&&n=y&&(y=null),M.total=M.stackTotal=L.total,M.percentage=L.total&&M.y/L.total*100,M.stackY=Q,this.irregularWidths||L.setOffset(this.pointXOffset||0,this.barW||0)),M.yBottom=p(y)?f(s.translate(y,0,1,0,1),-1e5,1e5):null,u&&(Q=this.modifyValue(Q,M)),M.plotY="number"==typeof Q&&1/0!==Q?f(s.translate(Q,0,1,0,1),-1e5,1e5):void 0,M.isInside=this.isPointInside(M),M.clientX=d?h(i.translate(C,0,0,0,1,l)):t,M.negative=M[b]<(e[b+"Threshold"]||g||0),M.category=r&&void 0!==r[M.x]?r[M.x]:M.x,!M.isNull&&!1!==M.visible){void 0!==x&&(w=Math.min(w,Math.abs(t-x)));var x=t}M.zone=this.zones.length&&M.getZone(),!M.graphic&&this.group&&o&&(M.isNew=!0)}this.closestPointRangePx=w,E(this,"afterTranslate")},getValidPoints:function(A,t,e){var n=this.chart;return(A||this.points||[]).filter((function(A){return!(t&&!n.isInsidePlot(A.plotX,A.plotY,n.inverted))&&!1!==A.visible&&(e||!A.isNull)}))},getClipBox:function(A,t){var e=this.options,n=this.chart,i=n.inverted,r=this.xAxis,o=r&&this.yAxis,s=n.options.chart.scrollablePlotArea||{};return A&&!1===e.clip&&o?A=i?{y:-n.chartWidth+o.len+o.pos,height:n.chartWidth,width:n.chartHeight,x:-n.chartHeight+r.len+r.pos}:{y:-o.pos,height:n.chartHeight,width:n.chartWidth,x:-r.pos}:(A=this.clipBox||n.clipBox,t&&(A.width=n.plotSizeX,A.x=(n.scrollablePixelsX||0)*(s.scrollPositionX||0))),t?{width:A.width,x:A.x}:A},setClip:function(A){var t=this.chart,e=this.options,n=t.renderer,i=t.inverted,r=this.clipBox,o=this.getClipBox(A),s=this.sharedClipKey||["_sharedClip",A&&A.duration,A&&A.easing,o.height,e.xAxis,e.yAxis].join(),a=t[s],c=t[s+"m"];A&&(o.width=0,i&&(o.x=t.plotHeight+(!1!==e.clip?0:t.plotTop))),a?t.hasLoaded||a.attr(o):(A&&(t[s+"m"]=c=n.clipRect(i?t.plotSizeX+99:-99,i?-t.plotLeft:-t.plotTop,99,i?t.chartWidth:t.chartHeight)),t[s]=a=n.clipRect(o),a.count={length:0}),A&&!a.count[this.index]&&(a.count[this.index]=!0,a.count.length+=1),(!1!==e.clip||A)&&(this.group.clip(A||r?a:t.clipRect),this.markerGroup.clip(c),this.sharedClipKey=s),A||(a.count[this.index]&&(delete a.count[this.index],--a.count.length),0===a.count.length&&s&&t[s]&&(r||(t[s]=t[s].destroy()),t[s+"m"]&&(t[s+"m"]=t[s+"m"].destroy())))},animate:function(A){var t=this.chart,e=a(this.options.animation);if(!t.hasRendered)if(A)this.setClip(e);else{var n=this.sharedClipKey;A=t[n];var i=this.getClipBox(e,!0);A&&A.animate(i,e),t[n+"m"]&&t[n+"m"].animate({width:i.width+99,x:i.x-(t.inverted?0:99)},e)}},afterAnimate:function(){this.setClip(),E(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var A,t,e=this.points,n=this.chart,i=this.options.marker,r=this[this.specialGroup]||this.markerGroup,o=this.xAxis,s=z(i.enabled,!(o&&!o.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(A=0;Ar&&t.shadow)),s&&(s.startX=e.xMap,s.isArea=e.isArea)}))},getZonesGraphs:function(A){return this.zones.forEach((function(t,e){e=["zone-graph-"+e,"highcharts-graph highcharts-zone-graph-"+e+" "+(t.className||"")],this.chart.styledMode||e.push(t.color||this.color,t.dashStyle||this.options.dashStyle),A.push(e)}),this),A},applyZones:function(){var A,t,e,n,i,r,o,s,a=this,c=this.chart,u=c.renderer,l=this.zones,d=this.clips||[],h=this.graph,p=this.area,g=Math.max(c.chartWidth,c.chartHeight),B=this[(this.zoneAxis||"y")+"Axis"],b=c.inverted,w=!1;if(l.length&&(h||p)&&B&&void 0!==B.min){var E=B.reversed,M=B.horiz;h&&!this.showLine&&h.hide(),p&&p.hide();var m=B.getExtremes();l.forEach((function(l,C){A=E?M?c.plotWidth:0:M?0:B.toPixels(m.min)||0,A=f(z(t,A),0,g),t=f(Math.round(B.toPixels(z(l.value,m.max),!0)||0),0,g),w&&(A=t=B.toPixels(m.max)),n=Math.abs(A-t),i=Math.min(A,t),r=Math.max(A,t),B.isXAxis?(e={x:b?r:i,y:0,width:n,height:g},M||(e.x=c.plotHeight-e.x)):(e={x:0,y:b?r:i,width:g,height:n},M&&(e.y=c.plotWidth-e.y)),b&&u.isVML&&(e=B.isXAxis?{x:0,y:E?i:r,height:e.width,width:c.chartWidth}:{x:e.y-c.plotLeft-c.spacingBox.x,y:0,width:e.height,height:c.chartHeight}),d[C]?d[C].animate(e):d[C]=u.clipRect(e),o=a["zone-area-"+C],s=a["zone-graph-"+C],h&&s&&s.clip(d[C]),p&&o&&o.clip(d[C]),w=l.value>m.max,a.resetZones&&0===t&&(t=void 0)})),this.clips=d}else a.visible&&(h&&h.show(!0),p&&p.show(!0))},invertGroups:function(A){function t(){["group","markerGroup"].forEach((function(t){e[t]&&(n.renderer.isVML&&e[t].attr({width:e.yAxis.len,height:e.xAxis.len}),e[t].width=e.yAxis.len,e[t].height=e.xAxis.len,e[t].invert(!e.isRadialSeries&&A))}))}var e=this,n=e.chart;e.xAxis&&(e.eventsToUnbind.push(u(n,"resize",t)),t(),e.invertGroups=t)},plotGroup:function(A,t,e,n,i){var r=this[A],o=!r;return e={visibility:e,zIndex:n||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(e.opacity=this.opacity),o&&(this[A]=r=this.chart.renderer.g().add(i)),r.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(p(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(e)[o?"attr":"animate"](this.getPlotBox()),r},getPlotBox:function(){var A=this.chart,t=this.xAxis,e=this.yAxis;return A.inverted&&(t=e,e=this.xAxis),{translateX:t?t.left:A.plotLeft,translateY:e?e.top:A.plotTop,scaleX:1,scaleY:1}},removeEvents:function(A){A?this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(A){A()})),this.eventsToUnbind.length=0):D(this)},render:function(){var A=this,t=A.chart,e=A.options,n=a(e.animation),i=!A.finishedAnimating&&t.renderer.isSVG&&n.duration,r=A.visible?"inherit":"hidden",o=e.zIndex,s=A.hasRendered,c=t.seriesGroup,u=t.inverted;E(this,"render");var l=A.plotGroup("group","series",r,o,c);A.markerGroup=A.plotGroup("markerGroup","markers",r,o,c),i&&A.animate&&A.animate(!0),l.inverted=!(!A.isCartesian&&!A.invertable)&&u,A.drawGraph&&(A.drawGraph(),A.applyZones()),A.visible&&A.drawPoints(),A.drawDataLabels&&A.drawDataLabels(),A.redrawPoints&&A.redrawPoints(),A.drawTracker&&!1!==A.options.enableMouseTracking&&A.drawTracker(),A.invertGroups(u),!1===e.clip||A.sharedClipKey||s||l.clip(t.clipRect),i&&A.animate&&A.animate(),s||(i&&n.defer&&(i+=n.defer),A.animationTimeout=O((function(){A.afterAnimate()}),i||0)),A.isDirty=!1,A.hasRendered=!0,E(A,"afterRender")},redraw:function(){var A=this.chart,t=this.isDirty||this.isDirtyData,e=this.group,n=this.xAxis,i=this.yAxis;e&&(A.inverted&&e.attr({width:A.plotWidth,height:A.plotHeight}),e.animate({translateX:z(n&&n.left,A.plotLeft),translateY:z(i&&i.top,A.plotTop)})),this.translate(),this.render(),t&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(A,t){var e=this.xAxis,n=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?e.len-A.chartY+e.pos:A.chartX-e.pos,plotY:i?n.len-A.chartX+n.pos:A.chartY-n.pos},t,A)},buildKDTree:function(A){function t(A,n,i){var r;if(r=A&&A.length){var o=e.kdAxisArray[n%i];return A.sort((function(A,t){return A[o]-t[o]})),{point:A[r=Math.floor(r/2)],left:t(A.slice(0,r),n+1,i),right:t(A.slice(r+1),n+1,i)}}}this.buildingKdTree=!0;var e=this,n=-1(u=t[u]-c[u])?"right":"left",e[f=0>u?"left":"right"]&&(l=(f=A(t,e[f],s+1,a))[o]f;)h--;this.updateParallelArrays(d,"splice",h,0,0),this.updateParallelArrays(d,h),a&&d.name&&(a[f]=d.name),u.splice(h,0,A),c&&(this.data.splice(h,0,null),this.processData()),"point"===r.legendType&&this.generatePoints(),e&&(o[0]&&o[0].remove?o[0].remove(!1):(o.shift(),this.updateParallelArrays(d,"shift"),u.shift())),!1!==i&&M(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,t&&s.redraw(n)},removePoint:function(A,t,e){var n=this,i=n.data,r=i[A],o=n.points,s=n.chart,a=function(){o&&o.length===i.length&&o.splice(A,1),i.splice(A,1),n.options.data.splice(A,1),n.updateParallelArrays(r||{series:n},"splice",A,1),r&&r.destroy(),n.isDirty=!0,n.isDirtyData=!0,t&&s.redraw()};l(e,s),t=z(t,!0),r?r.firePointEvent("remove",null,a):a()},remove:function(A,t,e,n){function i(){r.destroy(n),r.remove=null,o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),z(A,!0)&&o.redraw(t)}var r=this,o=r.chart;!1!==e?M(r,"remove",null,i):i()},update:function(A,t){A=i.cleanRecursively(A,this.userOptions),M(this,"update",{options:A});var e,n=this,r=n.chart,o=n.userOptions,s=n.initialType||n.type,a=r.options.plotOptions,c=A.type||o.type||r.options.chart.type,u=!(this.hasDerivedData||c&&c!==this.type||void 0!==A.pointStart||void 0!==A.pointInterval||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys")),l=d[s].prototype,f=["eventOptions","navigatorSeries","baseSeries"],h=n.finishedAnimating&&{animation:!1},p={};for(e in u&&(f.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","mapMap","mapData","minY","maxY","minX","maxX"),!1!==A.visible&&f.push("area","graph"),n.parallelArrays.forEach((function(A){f.push(A+"Data")})),A.data&&(A.dataSorting&&E(n.options.dataSorting,A.dataSorting),this.setData(A.data,!1))),A=y(o,h,{index:void 0===o.index?n.index:o.index,pointStart:z(a&&a.series&&a.series.pointStart,o.pointStart,n.xData[0])},!u&&{data:n.options.data},A),u&&A.data&&(A.data=n.options.data),(f=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(f)).forEach((function(A){f[A]=n[A],delete n[A]})),n.remove(!1,null,!1,!0),l)n[e]=void 0;if(d[c||s]?E(n,d[c||s].prototype):w(17,!0,r,{missingModuleFor:c||s}),f.forEach((function(A){n[A]=f[A]})),n.init(r,A),u&&this.points){var g=n.options;!1===g.visible?(p.graphic=1,p.dataLabel=1):n._hasPointLabels||(A=g.marker,o=g.dataLabels,A&&(!1===A.enabled||"symbol"in A)&&(p.graphic=1),o&&!1===o.enabled&&(p.dataLabel=1)),this.points.forEach((function(A){A&&A.series&&(A.resolveColor(),Object.keys(p).length&&A.destroyElements(p),!1===g.showInLegend&&A.legendItem&&r.legend.destroyItem(A))}),this)}n.initialType=s,r.linkSeries(),M(this,"afterUpdate"),z(t,!0)&&r.redraw(!!u&&void 0)},setName:function(A){this.name=this.options.name=this.userOptions.name=A,this.chart.isDirtyLegend=!0},hasOptionChanged:function(A){var t=this.options[A],e=this.chart.options.plotOptions,n=this.userOptions[A];return n?t!==n:t!==z(e&&e[this.type]&&e[this.type][A],e&&e.series&&e.series[A],t)}}),E(t.prototype,{update:function(A,t){var e=this.chart,n=A&&A.events||{};A=y(this.userOptions,A),e.options[this.coll].indexOf&&(e.options[this.coll][e.options[this.coll].indexOf(this.userOptions)]=A),I(e.options[this.coll].events,(function(A,t){void 0===n[t]&&(n[t]=void 0)})),this.destroy(!0),this.init(e,E(A,{events:n})),e.isDirtyBox=!0,z(t,!0)&&e.redraw()},remove:function(A){for(var t=this.chart,e=this.coll,n=this.series,i=n.length;i--;)n[i]&&n[i].remove(!1);b(t.axes,this),b(t[e],this),m(t.options[e])?t.options[e].splice(this.options.index,1):delete t.options[e],t[e].forEach((function(A,t){A.options.index=A.userOptions.index=t})),this.destroy(),t.isDirtyBox=!0,z(A,!0)&&t.redraw()},setTitle:function(A,t){this.update({title:A},t)},setCategories:function(A,t){this.update({categories:A},t)}})})),t(e,"Series/AreaSeries.js",[e["Core/Series/Series.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Core/Utilities.js"]],(function(A,t,e,n,i){var r=t.parse,o=i.objectEach,s=i.pick,a=e.Series;A.seriesType("area","line",{threshold:0},{singleStacks:!1,getStackPoints:function(A){var t,e=[],n=[],i=this.xAxis,r=this.yAxis,a=r.stacking.stacks[this.stackKey],c={},u=this.index,l=r.series,d=l.length,f=s(r.options.reversedStacks,!0)?1:-1;if(A=A||this.points,this.options.stacking){for(t=0;tA&&u>r?l=2*r-(u=Math.max(A,r)):un&&l>r?u=2*r-(l=Math.max(n,r)):l=Math.abs(t)&&.5A.closestPointRange*A.xAxis.transA;n=A.borderWidth=p(e.borderWidth,n?0:1);var i=A.xAxis,o=A.yAxis,s=e.threshold,a=A.translatedThreshold=o.getThreshold(s),l=p(e.minPointLength,5),d=A.getColumnMetrics(),h=d.width,g=A.barW=Math.max(h,1+2*n),B=A.pointXOffset=d.offset,b=A.dataMin,w=A.dataMax;t.inverted&&(a-=.5),e.pointPadding&&(g=Math.ceil(g)),r.prototype.translate.apply(A),A.points.forEach((function(n){var r=p(n.yBottom,a),E=999+Math.abs(r),M=h,m=n.plotX||0;E=c(n.plotY,-E,o.len+E);var C=m+B,v=g,Q=Math.min(E,r),y=Math.max(E,r)-Q;if(l&&Math.abs(y)l?r-l:a-(I?l:0)}u(n.options.pointWidth)&&(M=v=Math.ceil(n.options.pointWidth),C-=Math.round((M-h)/2)),e.centerInCategory&&(C=A.adjustForMissingColumns(C,M,n,d)),n.barX=C,n.pointWidth=M,n.tooltipPos=t.inverted?[o.len+o.pos-t.plotLeft-E,i.len+i.pos-t.plotTop-(m||0)-B-v/2,y]:[C+v/2,E+o.pos-t.plotTop,y],n.shapeType=A.pointClass.prototype.shapeType||"rect",n.shapeArgs=A.crispCol.apply(A,n.isNull?[C,a,v,0]:[C,Q,v,y])}))},getSymbol:A,drawLegendSymbol:i.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(A,t){var e=this.options,n=this.pointAttrToOptions||{},i=n.stroke||"borderColor",r=n["stroke-width"]||"borderWidth",o=A&&A.color||this.color,s=A&&A[i]||e[i]||this.color||o,c=A&&A[r]||e[r]||this[r]||0;n=A&&A.options.dashStyle||e.dashStyle;var u=p(A&&A.opacity,e.opacity,1);if(A&&this.zones.length){var l=A.getZone();o=A.options.color||l&&(l.color||A.nonZonedColor)||this.color,l&&(s=l.borderColor||s,n=l.dashStyle||n,c=l.borderWidth||c)}return t&&A&&(t=(A=h(e.states[t],A.options.states&&A.options.states[t]||{})).brightness,o=A.color||void 0!==t&&a(o).brighten(A.brightness).get()||o,s=A[i]||s,c=A[r]||c,n=A.dashStyle||n,u=p(A.opacity,u)),i={fill:o,stroke:s,"stroke-width":c,opacity:u},n&&(i.dashstyle=n),i},drawPoints:function(){var A,t=this,e=this.chart,n=t.options,i=e.renderer,r=n.animationLimit||250;t.points.forEach((function(o){var s=o.graphic,a=!!s,c=s&&e.pointCount
{series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&n.prototype.drawGraph.call(this)},applyJitter:function(){var A=this,t=this.options.jitter,e=this.points.length;t&&this.points.forEach((function(n,i){["x","y"].forEach((function(r,o){var s="plot"+r.toUpperCase();if(t[r]&&!n.isNull){var a=A[r+"Axis"],c=t[r]*a.transA;if(a&&!a.isLog){var u=Math.max(0,n[s]-c);a=Math.min(a.len,n[s]+c),o=1e4*Math.sin(i+o*e),n[s]=u+(a-u)*(o-Math.floor(o)),"x"===r&&(n.clientX=n.plotX)}}}))}))}}),e(n,"afterTranslate",(function(){this.applyJitter&&this.applyJitter()}))})),t(e,"Mixins/CenteredSeries.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(A,t){var e=t.isNumber,n=t.pick,i=t.relativeLength,r=A.deg2rad;return A.CenteredSeriesMixin={getCenter:function(){var t=this.options,e=this.chart,r=2*(t.slicedOffset||0),o=e.plotWidth-2*r,s=e.plotHeight-2*r,a=t.center,c=Math.min(o,s),u=t.size,l=t.innerSize||0;for("string"==typeof u&&(u=parseFloat(u)),"string"==typeof l&&(l=parseFloat(l)),t=[n(a[0],"50%"),n(a[1],"50%"),n(u&&0>u?void 0:t.size,"100%"),n(l&&0>l?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof A.Series||(t[3]=0),a=0;4>a;++a)u=t[a],e=2>a||2===a&&/%$/.test(u),t[a]=i(u,[o,s,c,t[2]][a])+(e?r:0);return t[3]>t[2]&&(t[3]=t[2]),t},getStartAndEndRadians:function(A,t){return A=e(A)?A:0,t=e(t)&&t>A&&360>t-A?t:A+360,{start:r*(A+-90),end:r*(t+-90)}}}})),t(e,"Series/PieSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Series.js"],e["Mixins/CenteredSeries.js"],e["Core/Globals.js"],e["Mixins/LegendSymbol.js"],e["Series/LineSeries.js"],e["Core/Series/Point.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],(function(A,t,e,n,i,r,o,s,a){var c=A.setAnimation,u=e.getStartAndEndRadians;A=n.noop;var l=a.addEvent,d=a.clamp,f=a.defined,h=a.fireEvent,p=a.isNumber,g=a.merge,B=a.pick,b=a.relativeLength;t.seriesType("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:t.seriesTypes.column.prototype.pointAttribs,animate:function(A){var t=this,e=t.points,n=t.startAngleRad;A||e.forEach((function(A){var e=A.graphic,i=A.shapeArgs;e&&i&&(e.attr({r:B(A.startR,t.center&&t.center[3]/2),start:n,end:n}),e.animate({r:i.r,start:i.start,end:i.end},t.options.animation))}))},hasData:function(){return!!this.processedXData.length},updateTotals:function(){var A,t=0,e=this.points,n=e.length,i=this.options.ignoreHiddenPoint;for(A=0;A1.5*Math.PI?p-=2*Math.PI:p<-Math.PI/2&&(p+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(p)*n),translateY:Math.round(Math.sin(p)*n)};var g=Math.cos(p)*A[2]/2,w=Math.sin(p)*A[2]/2;d.tooltipPos=[A[0]+.7*g,A[1]+.7*w],d.half=p<-Math.PI/2||p>Math.PI/2?1:0,d.angle=p,f=Math.min(i,d.labelDistance/5),d.labelPosition={natural:{x:A[0]+g+Math.cos(p)*d.labelDistance,y:A[1]+w+Math.sin(p)*d.labelDistance},final:{},alignment:0>d.labelDistance?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:A[0]+g+Math.cos(p)*f,y:A[1]+w+Math.sin(p)*f},touchingSliceAt:{x:A[0]+g,y:A[1]+w}}}}h(this,"afterTranslate")},drawEmpty:function(){var A=this.startAngleRad,t=this.endAngleRad,e=this.options;if(0===this.total&&this.center){var n=this.center[0],i=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,i,this.center[1]/2,0,A,t).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.prototype.symbols.arc(n,i,this.center[2]/2,0,{start:A,end:t,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":e.borderWidth,fill:e.fillColor||"none",stroke:e.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},redrawPoints:function(){var A,t,e,n,i=this,r=i.chart,o=r.renderer,s=i.options.shadow;this.drawEmpty(),!s||i.shadowGroup||r.styledMode||(i.shadowGroup=o.g("shadow").attr({zIndex:-1}).add(i.group)),i.points.forEach((function(a){var c={};if(t=a.graphic,!a.isNull&&t){if(n=a.shapeArgs,A=a.getTranslate(),!r.styledMode){var u=a.shadowGroup;s&&!u&&(u=a.shadowGroup=o.g("shadow").add(i.shadowGroup)),u&&u.attr(A),e=i.pointAttribs(a,a.selected&&"select")}a.delayedRendering?(t.setRadialReference(i.center).attr(n).attr(A),r.styledMode||t.attr(e).attr({"stroke-linejoin":"round"}).shadow(s,u),a.delayedRendering=!1):(t.setRadialReference(i.center),r.styledMode||g(!0,c,e),g(!0,c,n,A),t.animate(c)),t.attr({visibility:a.visible?"inherit":"hidden"}),t.addClass(a.getClassName())}else t&&(a.graphic=t.destroy())}))},drawPoints:function(){var A=this.chart.renderer;this.points.forEach((function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=A[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)}))},searchPoint:A,sortByAngle:function(A,t){A.sort((function(A,e){return void 0!==A.angle&&(e.angle-A.angle)*t}))},drawLegendSymbol:i.drawRectangle,getCenter:e.getCenter,getSymbol:A,drawGraph:null},{init:function(){o.prototype.init.apply(this,arguments);var A=this;A.name=B(A.name,"Slice");var t=function(t){A.slice("select"===t.type)};return l(A,"select",t),l(A,"unselect",t),A},isValid:function(){return p(this.y)&&0<=this.y},setVisible:function(A,t){var e=this,n=e.series,i=n.chart,r=n.options.ignoreHiddenPoint;t=B(t,r),A!==e.visible&&(e.visible=e.options.visible=A=void 0===A?!e.visible:A,n.options.data[n.data.indexOf(e)]=e.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(t){e[t]&&e[t][A?"show":"hide"](!0)})),e.legendItem&&i.legend.colorizeItem(e,A),A||"hover"!==e.state||e.setState(""),r&&(n.isDirty=!0),t&&i.redraw())},slice:function(A,t,e){var n=this.series;c(e,n.chart),B(t,!0),this.sliced=this.options.sliced=f(A)?A:!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())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(A){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+A,t.r+A,{innerR:t.r-1,start:t.start,end:t.end})},connectorShapes:{fixedOffset:function(A,t,e){var n=t.breakAt;return t=t.touchingSliceAt,[["M",A.x,A.y],e.softConnector?["C",A.x+("left"===A.alignment?-5:5),A.y,2*n.x-t.x,2*n.y-t.y,n.x,n.y]:["L",n.x,n.y],["L",t.x,t.y]]},straight:function(A,t){return t=t.touchingSliceAt,[["M",A.x,A.y],["L",t.x,t.y]]},crookedLine:function(A,t,e){t=t.touchingSliceAt;var n=this.series,i=n.center[0],r=n.chart.plotWidth,o=n.chart.plotLeft;n=A.alignment;var s=this.shapeArgs.r;return e=b(e.crookDistance,1),e=["L",r="left"===n?i+s+(r+o-i-s)*(1-e):o+(i-s)*e,A.y],i=!0,("left"===n?r>A.x||rt.x)&&(i=!1),A=[["M",A.x,A.y]],i&&A.push(e),A.push(["L",t.x,t.y]),A}},getConnectorPath:function(){var A=this.labelPosition,t=this.series.options.dataLabels,e=t.connectorShape,n=this.connectorShapes;return n[e]&&(e=n[e]),e.call(this,{x:A.final.x,y:A.final.y,alignment:A.alignment},A.connectorPosition,t)}})})),t(e,"Core/Series/DataLabels.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Series/CartesianSeries.js"],e["Core/Utilities.js"]],(function(A,t,e,n){var i=A.getDeferredAnimation;A=t.noop;var r=t.seriesTypes,o=n.arrayMax,s=n.clamp,a=n.defined,c=n.extend,u=n.fireEvent,l=n.format,d=n.isArray,f=n.merge,h=n.objectEach,p=n.pick,g=n.relativeLength,B=n.splat,b=n.stableSort;t.distribute=function(A,e,n){function i(A,t){return A.target-t.target}var r,o=!0,a=A,c=[],u=0,l=a.reducedLen||e;for(r=A.length;r--;)u+=A[r].size;if(u>l){for(b(A,(function(A,t){return(t.rank||0)-(A.rank||0)})),u=r=0;u<=l;)u+=A[r].size,r++;c=A.splice(r-1,A.length)}for(b(A,i),A=A.map((function(A){return{size:A.size,targets:[A.target],align:p(A.align,.5)}}));o;){for(r=A.length;r--;)o=A[r],u=(Math.min.apply(0,o.targets)+Math.max.apply(0,o.targets))/2,o.pos=s(u-o.size*o.align,0,e-o.size);for(r=A.length,o=!1;r--;)0A[r].pos&&(A[r-1].size+=A[r].size,A[r-1].targets=A[r-1].targets.concat(A[r].targets),A[r-1].align=.5,A[r-1].pos+A[r-1].size>e&&(A[r-1].pos=e-A[r-1].size),A.splice(r,1),o=!0)}a.push.apply(a,c),r=0,A.some((function(A){var i=0;if(A.targets.some((function(){if(a[r].pos=A.pos+i,void 0!==n&&Math.abs(a[r].pos-a[r].target)>n)return a.slice(0,r+1).forEach((function(A){delete A.pos})),a.reducedLen=(a.reducedLen||e)-.1*e,a.reducedLen>.1*e&&t.distribute(a,e,n),!0;i+=a[r].size,r++})))return!0})),b(a,i)},e.prototype.drawDataLabels=function(){function A(A,t){var e,n=[];if(d(A)&&!d(t))n=A.map((function(A){return f(A,t)}));else if(d(t)&&!d(A))n=t.map((function(t){return f(A,t)}));else if(d(A)||d(t))for(e=Math.max(A.length,t.length);e--;)n[e]=f(A[e],t[e]);else n=f(A,t);return n}var t=this,e=t.chart,n=t.options,r=n.dataLabels,o=t.points,s=t.hasRendered||0,c=r.animation;c=r.defer?i(e,c,t):{defer:0,duration:0};var g=e.renderer;if(r=A(A(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),r),u(this,"drawDataLabels"),d(r)||r.enabled||t._hasPointLabels){var b=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",r.zIndex||6);b.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&b.show(!0),s[n.animation?"animate":"attr"]({opacity:1},c)),o.forEach((function(i){B(A(r,i.dlOptions||i.options&&i.options.dataLabels)).forEach((function(A,r){var o=A.enabled&&(!i.isNull||i.dataLabelOnNull)&&function(A,t){var e=t.filter;return!e||(t=e.operator,A=A[e.property],e=e.value,">"===t&&A>e||"<"===t&&A="===t&&A>=e||"<="===t&&A<=e||"=="===t&&A==e||"==="===t&&A===e)}(i,A),s=i.dataLabels?i.dataLabels[r]:i.dataLabel,c=i.connectors?i.connectors[r]:i.connector,u=p(A.distance,i.labelDistance),d=!s;if(o){var f=i.getLabelConfig(),B=p(A[i.formatPrefix+"Format"],A.format);f=a(B)?l(B,f,e):(A[i.formatPrefix+"Formatter"]||A.formatter).call(f,A),B=A.style;var w=A.rotation;e.styledMode||(B.color=p(A.color,B.color,t.color,"#000000"),"contrast"===B.color?(i.contrastColor=g.getContrast(i.color||t.color),B.color=!a(u)&&A.inside||0>u||n.stacking?i.contrastColor:"#000000"):delete i.contrastColor,n.cursor&&(B.cursor=n.cursor));var E={r:A.borderRadius||0,rotation:w,padding:A.padding,zIndex:1};e.styledMode||(E.fill=A.backgroundColor,E.stroke=A.borderColor,E["stroke-width"]=A.borderWidth),h(E,(function(A,t){void 0===A&&delete E[t]}))}!s||o&&a(f)?o&&a(f)&&(s?E.text=f:(i.dataLabels=i.dataLabels||[],s=i.dataLabels[r]=w?g.text(f,0,-9999,A.useHTML).addClass("highcharts-data-label"):g.label(f,0,-9999,A.shape,null,null,A.useHTML,null,"data-label"),r||(i.dataLabel=s),s.addClass(" highcharts-data-label-color-"+i.colorIndex+" "+(A.className||"")+(A.useHTML?" highcharts-tracker":""))),s.options=A,s.attr(E),e.styledMode||s.css(B).shadow(A.shadow),s.added||s.add(b),A.textPath&&!A.useHTML&&(s.setTextPath(i.getDataLabelPath&&i.getDataLabelPath(s)||i.graphic,A.textPath),i.dataLabelPath&&!A.textPath.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy())),t.alignDataLabel(i,s,A,null,d)):(i.dataLabel=i.dataLabel&&i.dataLabel.destroy(),i.dataLabels&&(1===i.dataLabels.length?delete i.dataLabels:delete i.dataLabels[r]),r||delete i.dataLabel,c&&(i.connector=i.connector.destroy(),i.connectors&&(1===i.connectors.length?delete i.connectors:delete i.connectors[r])))}))}))}u(this,"afterDrawDataLabels")},e.prototype.alignDataLabel=function(A,t,e,n,i){var r=this,o=this.chart,s=this.isCartesian&&o.inverted,a=this.enabledDataSorting,u=p(A.dlBox&&A.dlBox.centerX,A.plotX,-9999),l=p(A.plotY,-9999),d=t.getBBox(),f=e.rotation,h=e.align,g=o.isInsidePlot(u,Math.round(l),s),B="justify"===p(e.overflow,a?"none":"justify"),b=this.visible&&!1!==A.visible&&(A.series.forceDL||a&&!B||g||e.inside&&n&&o.isInsidePlot(u,s?n.x+1:n.y+n.height-1,s)),w=function(e){a&&r.xAxis&&!B&&r.setDataLabelStartPos(A,t,i,g,e)};if(b){var E=o.renderer.fontMetrics(o.styledMode?void 0:e.style.fontSize,t).b;n=c({x:s?this.yAxis.len-l:u,y:Math.round(s?this.xAxis.len-u:l),width:0,height:0},n),c(e,{width:d.width,height:d.height}),f?(B=!1,u=o.renderer.rotCorr(E,f),w(u={x:n.x+(e.x||0)+n.width/2+u.x,y:n.y+(e.y||0)+{top:0,middle:.5,bottom:1}[e.verticalAlign]*n.height}),t[i?"attr":"animate"](u).attr({align:h}),w=180<(w=(f+720)%360)&&360>w,"left"===h?u.y-=w?d.height:0:"center"===h?(u.x-=d.width/2,u.y-=d.height/2):"right"===h&&(u.x-=d.width,u.y-=w?0:d.height),t.placed=!0,t.alignAttr=u):(w(n),t.align(e,null,n),u=t.alignAttr),B&&0<=n.height?this.justifyDataLabel(t,e,u,d,n,i):p(e.crop,!0)&&(b=o.isInsidePlot(u.x,u.y)&&o.isInsidePlot(u.x+d.width,u.y+d.height)),e.shape&&!f&&t[i?"attr":"animate"]({anchorX:s?o.plotWidth-A.plotY:A.plotX,anchorY:s?o.plotHeight-A.plotX:A.plotY})}i&&a&&(t.placed=!1),b||a&&!B||(t.hide(!0),t.placed=!1)},e.prototype.setDataLabelStartPos=function(A,t,e,n,i){var r=this.chart,o=r.inverted,s=this.xAxis,a=s.reversed,c=o?t.height/2:t.width/2;A=(A=A.pointWidth)?A/2:0,s=o?i.x:a?-c-A:s.width-c+A,i=o?a?this.yAxis.height-c+A:-c-A:i.y,t.startXPos=s,t.startYPos=i,n?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),r.hasRendered&&(e&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)},e.prototype.justifyDataLabel=function(A,t,e,n,i,r){var o=this.chart,s=t.align,a=t.verticalAlign,c=A.box?0:A.padding||0,u=t.x;u=void 0===u?0:u;var l=t.y,d=void 0===l?0:l;if(0>(l=e.x+c)){"right"===s&&0<=u?(t.align="left",t.inside=!0):u-=l;var f=!0}return(l=e.x+n.width-c)>o.plotWidth&&("left"===s&&0>=u?(t.align="right",t.inside=!0):u+=o.plotWidth-l,f=!0),0>(l=e.y+c)&&("bottom"===a&&0<=d?(t.verticalAlign="top",t.inside=!0):d-=l,f=!0),(l=e.y+n.height-c)>o.plotHeight&&("top"===a&&0>=d?(t.verticalAlign="bottom",t.inside=!0):d+=o.plotHeight-l,f=!0),f&&(t.x=u,t.y=d,A.placed=!r,A.align(t,void 0,i)),f},r.pie&&(r.pie.prototype.dataLabelPositioners={radialDistributionY:function(A){return A.top+A.distributeBox.pos},radialDistributionX:function(A,t,e,n){return A.getX(et.bottom-2?n:e,t.half,t)},justify:function(A,t,e){return e[0]+(A.half?-1:1)*(t+A.labelDistance)},alignToPlotEdges:function(A,t,e,n){return A=A.getBBox().width,t?A+n:e-A-n},alignToConnectors:function(A,t,e,n){var i,r=0;return A.forEach((function(A){(i=A.dataLabel.getBBox().width)>r&&(r=i)})),t?r+n:e-r-n}},r.pie.prototype.drawDataLabels=function(){var A,n,i,r,s,c,u,l,d,h,g,B,b=this,w=b.data,E=b.chart,M=b.options.dataLabels||{},m=M.connectorPadding,C=E.plotWidth,v=E.plotHeight,Q=E.plotLeft,y=Math.round(E.chartWidth/3),I=b.center,z=I[2]/2,D=I[1],L=[[],[]],O=[0,0,0,0],x=b.dataLabelPositioners;b.visible&&(M.enabled||b._hasPointLabels)&&(w.forEach((function(A){A.dataLabel&&A.visible&&A.dataLabel.shortened&&(A.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),A.dataLabel.shortened=!1)})),e.prototype.drawDataLabels.apply(b),w.forEach((function(A){A.dataLabel&&(A.visible?(L[A.half].push(A),A.dataLabel._pos=null,!a(M.style.width)&&!a(A.options.dataLabels&&A.options.dataLabels.style&&A.options.dataLabels.style.width)&&A.dataLabel.getBBox().width>y&&(A.dataLabel.css({width:Math.round(.7*y)+"px"}),A.dataLabel.shortened=!0)):(A.dataLabel=A.dataLabel.destroy(),A.dataLabels&&1===A.dataLabels.length&&delete A.dataLabels))})),L.forEach((function(e,n){var i,o=e.length,f=[];if(o){if(b.sortByAngle(e,n-.5),0C-m&&0===n&&(w=Math.round(l+s-C+m),O[1]=Math.max(w,O[1])),0>d-u/2?O[0]=Math.max(Math.round(u/2-d),O[0]):d+u/2>v&&(O[2]=Math.max(Math.round(d+u/2-v),O[2])),r.sideOverflow=w)}}})),0===o(O)||this.verifyDataLabelOverflow(O))&&(this.placeDataLabels(),this.points.forEach((function(A){var t;B=f(M,A.options.dataLabels),(n=p(B.connectorWidth,1))&&(i=A.connector,(r=A.dataLabel)&&r._pos&&A.visible&&0p(this.translatedThreshold,s.yAxis.len)),u=p(n.inside,!!this.options.stacking);a&&(0>(i=f(a)).y&&(i.height+=i.y,i.y=0),0<(a=i.y+i.height-s.yAxis.len)&&a=l.x+l.width||d.x+d.width<=l.x||d.y>=l.y+l.height||d.y+d.height<=l.y||((u.labelrank=s&&r<=a||c||!h(r))&&(u=!0),n[c?"zoomX":"zoomY"]&&u&&(t=o.zoom(A.min,A.max),o.displayBtn&&(i=!0))}));var o=e.resetZoomButton;i&&!o?e.showResetZoom():!i&&E(o)&&(e.resetZoomButton=o.destroy()),t&&e.redraw(C(e.options.chart.animation,A&&A.animation,100>e.pointCount))},pan:function(A,t){var e,n=this,i=n.hoverPoints,r=n.options.chart,o=n.options.mapNavigation&&n.options.mapNavigation.enabled;t="object"==typeof t?t:{enabled:t,type:"x"},r&&r.panning&&(r.panning=t);var s=t.type;g(this,"pan",{originalEvent:A},(function(){i&&i.forEach((function(A){A.setState()}));var t=[1];"xy"===s?t=[1,0]:"y"===s&&(t=[0]),t.forEach((function(t){var i=n[t?"xAxis":"yAxis"][0],r=i.horiz,a=A[r?"chartX":"chartY"],c=n[r=r?"mouseDownX":"mouseDownY"],u=(i.pointRange||0)/2,l=i.reversed&&!n.inverted||!i.reversed&&n.inverted?-1:1,d=i.getExtremes(),f=i.toValue(c-a,!0)+u*l,h=(l=i.toValue(c+i.len-a,!0)-u*l)=l&&f<=u&&(i.setExtremes(c,f,!1,!1,{trigger:"pan"}),n.resetZoomButton||o||c===l||f===u||!s.match("y")||(n.showResetZoom(),i.displayBtn=!1),e=!0),n[r]=a)})),e&&n.redraw(!1),f(n.container,{cursor:"move"})}))}}),p(o.prototype,{select:function(A,t){var e=this,n=e.series,i=n.chart;this.selectedStaging=A=C(A,!e.selected),e.firePointEvent(A?"select":"unselect",{accumulate:t},(function(){e.selected=e.options.selected=A,n.options.data[n.data.indexOf(e)]=e.options,e.setState(A&&"select"),t||i.getSelectedPoints().forEach((function(A){var t=A.series;A.selected&&A!==e&&(A.selected=A.options.selected=!1,t.options.data[t.data.indexOf(A)]=A.options,A.setState(i.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),A.firePointEvent("unselect"))}))})),delete this.selectedStaging},onMouseOver:function(A){var t=this.series.chart,e=t.pointer;A=A?e.normalize(A):e.getChartCoordinatesFromPoint(this,t.inverted),e.runPointActions(A,this)},onMouseOut:function(){var A=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(A.hoverPoints||[]).forEach((function(A){A.setState()})),A.hoverPoints=A.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var A=this,t=M(A.series.options.point,A.options).events;A.events=t,m(t,(function(t,e){b(t)&&l(A,e,t)})),this.hasImportedEvents=!0}},setState:function(A,t){var e,n=this.series,i=this.state,r=n.options.states[A||"normal"]||{},o=u.plotOptions[n.type].marker&&n.options.marker,s=o&&!1===o.enabled,a=o&&o.states&&o.states[A||"normal"]||{},c=!1===a.enabled,l=n.stateMarkerGraphic,d=this.marker||{},f=n.chart,h=n.halo,B=o&&n.markerAttribs;if(!((A=A||"")===this.state&&!t||this.selected&&"select"!==A||!1===r.enabled||A&&(c||s&&!1===a.enabled)||A&&d.states&&d.states[A]&&!1===d.states[A].enabled)){if(this.state=A,B&&(e=n.markerAttribs(this,A)),this.graphic){if(i&&this.graphic.removeClass("highcharts-point-"+i),A&&this.graphic.addClass("highcharts-point-"+A),!f.styledMode){var b=n.pointAttribs(this,A),w=C(f.options.chart.animation,r.animation);n.options.inactiveOtherPoints&&b.opacity&&((this.dataLabels||[]).forEach((function(A){A&&A.animate({opacity:b.opacity},w)})),this.connector&&this.connector.animate({opacity:b.opacity},w)),this.graphic.animate(b,w)}e&&this.graphic.animate(e,C(f.options.chart.animation,a.animation,o.animation)),l&&l.hide()}else A&&a&&(i=d.symbol||n.symbol,l&&l.currentSymbol!==i&&(l=l.destroy()),e&&(l?l[t?"animate":"attr"]({x:e.x,y:e.y}):i&&(n.stateMarkerGraphic=l=f.renderer.symbol(i,e.x,e.y,e.width,e.height).add(n.markerGroup),l.currentSymbol=i)),!f.styledMode&&l&&l.attr(n.pointAttribs(this,A))),l&&(l[A&&this.isInside?"show":"hide"](),l.element.point=this);A=r.halo,r=(l=this.graphic||l)&&l.visibility||"inherit",A&&A.size&&l&&"hidden"!==r&&!this.isCluster?(h||(n.halo=h=f.renderer.path().add(l.parentGroup)),h.show()[t?"animate":"attr"]({d:this.haloPath(A.size)}),h.attr({class:"highcharts-halo highcharts-color-"+C(this.colorIndex,n.colorIndex)+(this.className?" "+this.className:""),visibility:r,zIndex:-1}),h.point=this,f.styledMode||h.attr(p({fill:this.color||n.color,"fill-opacity":A.opacity},A.attributes))):h&&h.point&&h.point.haloPath&&h.animate({d:h.point.haloPath(0)},null,h.hide),g(this,"afterSetState")}},haloPath:function(A){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-A,this.plotY-A,2*A,2*A)}}),p(i.prototype,{onMouseOver:function(){var A=this.chart,t=A.hoverSeries;A.pointer.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&g(this,"mouseOver"),this.setState("hover"),A.hoverSeries=this},onMouseOut:function(){var A=this.options,t=this.chart,e=t.tooltip,n=t.hoverPoint;t.hoverSeries=null,n&&n.onMouseOut(),this&&A.events.mouseOut&&g(this,"mouseOut"),!e||this.stickyTracking||e.shared&&!this.noSharedTooltip||e.hide(),t.series.forEach((function(A){A.setState("",!0)}))},setState:function(A,t){var e=this,n=e.options,i=e.graph,r=n.inactiveOtherPoints,o=n.states,s=n.lineWidth,a=n.opacity,c=C(o[A||"normal"]&&o[A||"normal"].animation,e.chart.options.chart.animation);if(n=0,A=A||"",e.state!==A&&([e.group,e.markerGroup,e.dataLabelsGroup].forEach((function(t){t&&(e.state&&t.removeClass("highcharts-series-"+e.state),A&&t.addClass("highcharts-series-"+A))})),e.state=A,!e.chart.styledMode)){if(o[A]&&!1===o[A].enabled)return;if(A&&(s=o[A].lineWidth||s+(o[A].lineWidthPlus||0),a=C(o[A].opacity,a)),i&&!i.dashstyle)for(o={"stroke-width":s},i.animate(o,c);e["zone-graph-"+n];)e["zone-graph-"+n].attr(o),n+=1;r||[e.group,e.markerGroup,e.dataLabelsGroup,e.labelBySeries].forEach((function(A){A&&A.animate({opacity:a},c)}))}t&&r&&e.points&&e.setAllPointsToState(A)},setAllPointsToState:function(A){this.points.forEach((function(t){t.setState&&t.setState(A)}))},setVisible:function(A,t){var e=this,n=e.chart,i=e.legendItem,r=n.options.chart.ignoreHiddenSeries,o=e.visible,s=(e.visible=A=e.options.visible=e.userOptions.visible=void 0===A?!o:A)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(A){e[A]&&e[A][s]()})),n.hoverSeries!==e&&(n.hoverPoint&&n.hoverPoint.series)!==e||e.onMouseOut(),i&&n.legend.colorizeItem(e,A),e.isDirty=!0,e.options.stacking&&n.series.forEach((function(A){A.options.stacking&&A.visible&&(A.isDirty=!0)})),e.linkedSeries.forEach((function(t){t.setVisible(A,!1)})),r&&(n.isDirtyBox=!0),g(e,s),!1!==t&&n.redraw()},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(A){this.selected=A=this.options.selected=void 0===A?!this.selected:A,this.checkbox&&(this.checkbox.checked=A),g(this,A?"select":"unselect")},drawTracker:e.drawTrackerGraph})})),t(e,"Core/Responsive.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],(function(A,t){var e=t.find,n=t.isArray,i=t.isObject,r=t.merge,o=t.objectEach,s=t.pick,a=t.splat,c=t.uniqueKey;A.prototype.setResponsive=function(A,t){var n=this.options.responsive,i=[],o=this.currentResponsive;!t&&n&&n.rules&&n.rules.forEach((function(A){void 0===A._id&&(A._id=c()),this.matchResponsiveRule(A,i)}),this),t=r.apply(0,i.map((function(A){return e(n.rules,(function(t){return t._id===A})).chartOptions}))),t.isResponsiveOptions=!0,(i=i.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,A,!0),i?((o=this.currentOptions(t)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:i,mergedOptions:t,undoOptions:o},this.update(t,A,!0)):this.currentResponsive=void 0)},A.prototype.matchResponsiveRule=function(A,t){var e=A.condition;(e.callback||function(){return this.chartWidth<=s(e.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(e.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(e.minWidth,0)&&this.chartHeight>=s(e.minHeight,0)}).call(this)&&t.push(A._id)},A.prototype.currentOptions=function(A){var t=this,e={};return function A(e,r,s,c){var u;o(e,(function(e,o){if(!c&&-1{var n,i,r;r=function(A){function t(A,t,e,n){A.hasOwnProperty(t)||(A[t]=n.apply(null,e))}t(A=A?A._modules:{},"Extensions/FullScreen.js",[A["Core/Chart/Chart.js"],A["Core/Globals.js"],A["Core/Utilities.js"]],(function(A,t,e){var n=e.addEvent;return e=function(){function A(A){this.chart=A,this.isOpen=!1,A=A.renderTo,this.browserProps||("function"==typeof A.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:A.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:A.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:A.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return A.prototype.close=function(){var A=this.chart;this.isOpen&&this.browserProps&&A.container.ownerDocument instanceof Document&&A.container.ownerDocument[this.browserProps.exitFullscreen](),this.unbindFullscreenEvent&&this.unbindFullscreenEvent(),this.isOpen=!1,this.setButtonText()},A.prototype.open=function(){var A=this,t=A.chart;if(A.browserProps){A.unbindFullscreenEvent=n(t.container.ownerDocument,A.browserProps.fullscreenChange,(function(){A.isOpen?(A.isOpen=!1,A.close()):(A.isOpen=!0,A.setButtonText())}));var e=t.renderTo[A.browserProps.requestFullscreen]();e&&e.catch((function(){alert("Full screen is not supported inside a frame.")})),n(t,"destroy",A.unbindFullscreenEvent)}},A.prototype.setButtonText=function(){var A,t=this.chart,e=t.exportDivElements,n=t.options.exporting,i=null===(A=null==n?void 0:n.buttons)||void 0===A?void 0:A.contextButton.menuItems;A=t.options.lang,null!=n&&n.menuItemDefinitions&&null!=A&&A.exitFullscreen&&A.viewFullscreen&&i&&e&&e.length&&(e[i.indexOf("viewFullscreen")].innerHTML=this.isOpen?A.exitFullscreen:n.menuItemDefinitions.viewFullscreen.text||A.viewFullscreen)},A.prototype.toggle=function(){this.isOpen?this.close():this.open()},A}(),t.Fullscreen=e,n(A,"beforeRender",(function(){this.fullscreen=new t.Fullscreen(this)})),t.Fullscreen})),t(A,"Mixins/Navigation.js",[],(function(){return{initUpdate:function(A){A.navigation||(A.navigation={updates:[],update:function(A,t){this.updates.forEach((function(e){e.update.call(e.context,A,t)}))}})},addUpdate:function(A,t){t.navigation||this.initUpdate(t),t.navigation.updates.push({update:A,context:t})}}})),t(A,"Extensions/Exporting.js",[A["Core/Chart/Chart.js"],A["Mixins/Navigation.js"],A["Core/Globals.js"],A["Core/Options.js"],A["Core/Renderer/SVG/SVGRenderer.js"],A["Core/Utilities.js"]],(function(A,t,e,n,i,r){var o=e.doc,s=e.isTouchDevice,a=e.win;n=n.defaultOptions;var c=r.addEvent,u=r.css,l=r.createElement,d=r.discardElement,f=r.extend,h=r.find,p=r.fireEvent,g=r.isObject,B=r.merge,b=r.objectEach,w=r.pick,E=r.removeEvent,M=r.uniqueKey,m=a.navigator.userAgent,C=e.Renderer.prototype.symbols,v=/Edge\/|Trident\/|MSIE /.test(m),Q=/firefox/i.test(m);f(n.lang,{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"}),n.navigation||(n.navigation={}),B(!0,n.navigation,{buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}}),B(!0,n.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:s?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}}}),n.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},e.post=function(A,t,e){var n=l("form",B({method:"post",action:A,enctype:"multipart/form-data"},e),{display:"none"},o.body);b(t,(function(A,t){l("input",{type:"hidden",name:t,value:A},null,n)})),n.submit(),d(n)},e.isSafari&&e.win.matchMedia("print").addListener((function(A){e.printingChart&&(A.matches?e.printingChart.beforePrint():e.printingChart.afterPrint())})),f(A.prototype,{sanitizeSVG:function(A,t){var e=A.indexOf("")+6,n=A.substr(e);return A=A.substr(0,e),t&&t.exporting&&t.exporting.allowHTML&&n&&(n=''+n.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"",A=A.replace("",n+"")),A=A.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!t||5>t.length)&&(t="chart"),t)},exportChart:function(A,t){t=this.getSVGForExport(A,t),A=B(this.options.exporting,A),e.post(A.url,{filename:A.filename?A.filename.replace(/\//g,"-"):this.getFilename(),type:A.type,width:A.width||0,scale:A.scale,svg:t},A.formAttributes)},moveContainers:function(A){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(t){A.appendChild(t)}))},beforePrint:function(){var A=o.body,t=this.options.exporting.printMaxWidth,e={childNodes:A.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),p(this,"beforePrint"),t&&this.chartWidth>t&&(e.resetParams=[this.options.chart.width,void 0,!1],this.setSize(t,void 0,!1)),[].forEach.call(e.childNodes,(function(A,t){1===A.nodeType&&(e.origDisplay[t]=A.style.display,A.style.display="none")})),this.moveContainers(A),this.printReverseInfo=e},afterPrint:function(){if(this.printReverseInfo){var A=this.printReverseInfo.childNodes,t=this.printReverseInfo.origDisplay,n=this.printReverseInfo.resetParams;this.moveContainers(this.renderTo),[].forEach.call(A,(function(A,e){1===A.nodeType&&(A.style.display=t[e]||"")})),this.isPrinting=!1,n&&this.setSize.apply(this,n),delete this.printReverseInfo,delete e.printingChart,p(this,"afterPrint")}},print:function(){var A=this;A.isPrinting||(e.printingChart=A,e.isSafari||A.beforePrint(),setTimeout((function(){a.focus(),a.print(),e.isSafari||setTimeout((function(){A.afterPrint()}),1e3)}),1))},contextMenu:function(A,t,e,n,i,s,d){var h=this,B=h.options.navigation,b=h.chartWidth,w=h.chartHeight,E="cache-"+A,M=h[E],m=Math.max(i,s);if(!M){h.exportContextMenu=h[E]=M=l("div",{className:A},{position:"absolute",zIndex:1e3,padding:m+"px",pointerEvents:"auto"},h.fixedDiv||h.container);var C=l("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},M);h.styledMode||u(C,f({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},B.menuStyle)),M.hideMenu=function(){u(M,{display:"none"}),d&&d.setState(0),h.openMenu=!1,u(h.renderTo,{overflow:"hidden"}),r.clearTimeout(M.hideTimer),p(h,"exportMenuHidden")},h.exportEvents.push(c(M,"mouseleave",(function(){M.hideTimer=a.setTimeout(M.hideMenu,500)})),c(M,"mouseenter",(function(){r.clearTimeout(M.hideTimer)})),c(o,"mouseup",(function(t){h.pointer.inClass(t.target,A)||M.hideMenu()})),c(M,"click",(function(){h.openMenu&&M.hideMenu()}))),t.forEach((function(A){if("string"==typeof A&&(A=h.options.exporting.menuItemDefinitions[A]),g(A,!0)){if(A.separator)var t=l("hr",null,null,C);else"viewData"===A.textKey&&h.isDataTableVisible&&(A.textKey="hideData"),t=l("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),M.hideMenu(),A.onclick&&A.onclick.apply(h,arguments)},innerHTML:A.text||h.options.lang[A.textKey]},null,C),h.styledMode||(t.onmouseover=function(){u(this,B.menuItemHoverStyle)},t.onmouseout=function(){u(this,B.menuItemStyle)},u(t,f({cursor:"pointer"},B.menuItemStyle)));h.exportDivElements.push(t)}})),h.exportDivElements.push(C,M),h.exportMenuWidth=M.offsetWidth,h.exportMenuHeight=M.offsetHeight}t={display:"block"},e+h.exportMenuWidth>b?t.right=b-e-i-m+"px":t.left=e-m+"px",n+s+h.exportMenuHeight>w&&"top"!==d.alignOptions.verticalAlign?t.bottom=w-n-m+"px":t.top=n+s-m+"px",u(M,t),u(h.renderTo,{overflow:""}),h.openMenu=!0,p(h,"exportMenuShown")},addButton:function(A){var t=this,e=t.renderer,n=B(t.options.navigation.buttonOptions,A),i=n.onclick,r=n.menuItems,o=n.symbolSize||12;if(t.btnCount||(t.btnCount=0),t.exportDivElements||(t.exportDivElements=[],t.exportSVGElements=[]),!1!==n.enabled){var s,a=n.theme,c=a.states,u=c&&c.hover;c=c&&c.select,t.styledMode||(a.fill=w(a.fill,"#ffffff"),a.stroke=w(a.stroke,"none")),delete a.states,i?s=function(A){A&&A.stopPropagation(),i.call(t,A)}:r&&(s=function(A){A&&A.stopPropagation(),t.contextMenu(l.menuClassName,r,l.translateX,l.translateY,l.width,l.height,l),l.setState(2)}),n.text&&n.symbol?a.paddingLeft=w(a.paddingLeft,25):n.text||f(a,{width:n.width,height:n.height,padding:0}),t.styledMode||(a["stroke-linecap"]="round",a.fill=w(a.fill,"#ffffff"),a.stroke=w(a.stroke,"none"));var l=e.button(n.text,0,0,s,a,u,c).addClass(A.className).attr({title:w(t.options.lang[n._titleKey||n.titleKey],"")});if(l.menuClassName=A.menuClassName||"highcharts-menu-"+t.btnCount++,n.symbol){var d=e.symbol(n.symbol,n.symbolX-o/2,n.symbolY-o/2,o,o,{width:o,height:o}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(l);t.styledMode||d.attr({stroke:n.symbolStroke,fill:n.symbolFill,"stroke-width":n.symbolStrokeWidth||1})}l.add(t.exportingGroup).align(f(n,{width:l.width,x:w(n.x,t.buttonOffset)}),!0,"spacingBox"),t.buttonOffset+=(l.width+n.buttonSpacing)*("right"===n.align?-1:1),t.exportSVGElements.push(l,d)}},destroyExport:function(A){var t=A?A.target:this;A=t.exportSVGElements;var e,n=t.exportDivElements,i=t.exportEvents;A&&(A.forEach((function(A,n){A&&(A.onclick=A.ontouchstart=null,e="cache-"+A.menuClassName,t[e]&&delete t[e],t.exportSVGElements[n]=A.destroy())})),A.length=0),t.exportingGroup&&(t.exportingGroup.destroy(),delete t.exportingGroup),n&&(n.forEach((function(A,e){r.clearTimeout(A.hideTimer),E(A,"mouseleave"),t.exportDivElements[e]=A.onmouseout=A.onmouseover=A.ontouchstart=A.onclick=null,d(A)})),n.length=0),i&&(i.forEach((function(A){A()})),i.length=0)}}),i.prototype.inlineToAttributes="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" "),i.prototype.inlineBlacklist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],i.prototype.unstyledElements=["clipPath","defs","desc"],A.prototype.inlineStyles=function(){function A(A){return A.replace(/([A-Z])/g,(function(A,t){return"-"+t.toLowerCase()}))}var t,e=this.renderer,n=e.inlineToAttributes,i=e.inlineBlacklist,r=e.inlineWhitelist,s=e.unstyledElements,c={};e=o.createElement("iframe"),u(e,{width:"1px",height:"1px",visibility:"hidden"}),o.body.appendChild(e);var l=e.contentWindow.document;l.open(),l.write(''),l.close(),function e(o){function u(t,e){if(d=f=!1,r){for(h=r.length;h--&&!f;)f=r[h].test(e);d=!f}for("transform"===e&&"none"===t&&(d=!0),h=i.length;h--&&!d;)d=i[h].test(e)||"function"==typeof t;d||w[e]===t&&"svg"!==o.nodeName||c[o.nodeName][e]===t||(n&&-1===n.indexOf(e)?p+=A(e)+":"+t+";":t&&o.setAttribute(A(e),t))}var d,f,h,p="";if(1===o.nodeType&&-1===s.indexOf(o.nodeName)){var g=a.getComputedStyle(o,null),w="svg"===o.nodeName?{}:a.getComputedStyle(o.parentNode,null);if(!c[o.nodeName]){t=l.getElementsByTagName("svg")[0];var E=l.createElementNS(o.namespaceURI,o.nodeName);t.appendChild(E),c[o.nodeName]=B(a.getComputedStyle(E,null)),"text"===o.nodeName&&delete c.text.fill,t.removeChild(E)}if(Q||v)for(var M in g)u(g[M],M);else b(g,u);p&&(g=o.getAttribute("style"),o.setAttribute("style",(g?g+";":"")+p)),"svg"===o.nodeName&&o.setAttribute("stroke-width","1px"),"text"!==o.nodeName&&[].forEach.call(o.children||o.childNodes,e)}}(this.container.querySelector("svg")),t.parentNode.remove(),e.remove()},C.menu=function(A,t,e,n){return[["M",A,t+2.5],["L",A+e,t+2.5],["M",A,t+n/2+.5],["L",A+e,t+n/2+.5],["M",A,t+n-1.5],["L",A+e,t+n-1.5]]},C.menuball=function(A,t,e,n){return n=n/3-2,[].concat(this.circle(e-n,t,n,n),this.circle(e-n,t+n+4,n,n),this.circle(e-n,t+2*(n+4),n,n))},A.prototype.renderExporting=function(){var A=this,t=A.options.exporting,e=t.buttons,n=A.isDirtyExporting||!A.exportSVGElements;A.buttonOffset=0,A.isDirtyExporting&&A.destroyExport(),n&&!1!==t.enabled&&(A.exportEvents=[],A.exportingGroup=A.exportingGroup||A.renderer.g("exporting-group").attr({zIndex:3}).add(),b(e,(function(t){A.addButton(t)})),A.isDirtyExporting=!1),c(A,"destroy",A.destroyExport)},c(A,"init",(function(){var A=this;A.exporting={update:function(t,e){A.isDirtyExporting=!0,B(!0,A.options.exporting,t),w(e,!0)&&A.redraw()}},t.addUpdate((function(t,e){A.isDirtyExporting=!0,B(!0,A.options.navigation,t),w(e,!0)&&A.redraw()}),A)})),A.prototype.callbacks.push((function(A){A.renderExporting(),c(A,"redraw",A.renderExporting)}))})),t(A,"masters/modules/exporting.src.js",[],(function(){}))},A.exports?(r.default=r,A.exports=r):(n=[e(4783)],void 0===(i=function(A){return r(A),r.Highcharts=A,r}.apply(t,n))||(A.exports=i))},3425:()=>{!function(A){function t(A,t,i){var r=A[0],o=/er/.test(i)?_indeterminate:/bl/.test(i)?f:l,s=i==_update?{checked:r[l],disabled:r[f],indeterminate:"true"==A.attr(_indeterminate)||"false"==A.attr(_determinate)}:r[o];if(/^(ch|di|in)/.test(i)&&!s)e(A,o);else if(/^(un|en|de)/.test(i)&&s)n(A,o);else if(i==_update)for(var a in s)s[a]?e(A,a,!0):n(A,a,!0);else t&&"toggle"!=i||(t||A[_callback]("ifClicked"),s?r[_type]!==u&&n(A,o):e(A,o))}function e(t,e,i){var h=t[0],p=t.parent(),g=e==l,B=e==_indeterminate,b=e==f,w=B?_determinate:g?d:"enabled",E=r(t,w+o(h[_type])),M=r(t,e+o(h[_type]));if(!0!==h[e]){if(!i&&e==l&&h[_type]==u&&h.name){var m=t.closest("form"),C='input[name="'+h.name+'"]';(C=m.length?m.find(C):A(C)).each((function(){this!==h&&A(this).data(a)&&n(A(this),e)}))}B?(h[e]=!0,h[l]&&n(t,l,"force")):(i||(h[e]=!0),g&&h[_indeterminate]&&n(t,_indeterminate,!1)),s(t,g,e,i)}h[f]&&r(t,_cursor,!0)&&p.find("."+c).css(_cursor,"default"),p[_add](M||r(t,e)||""),p.attr("role")&&!B&&p.attr("aria-"+(b?f:l),"true"),p[_remove](E||r(t,w)||"")}function n(A,t,e){var n=A[0],i=A.parent(),a=t==l,u=t==_indeterminate,h=t==f,p=u?_determinate:a?d:"enabled",g=r(A,p+o(n[_type])),B=r(A,t+o(n[_type]));!1!==n[t]&&(!u&&e&&"force"!=e||(n[t]=!1),s(A,a,p,e)),!n[f]&&r(A,_cursor,!0)&&i.find("."+c).css(_cursor,"pointer"),i[_remove](B||r(A,t)||""),i.attr("role")&&!u&&i.attr("aria-"+(h?f:l),"false"),i[_add](g||r(A,p)||"")}function i(t,e){t.data(a)&&(t.parent().html(t.attr("style",t.data(a).s||"")),e&&t[_callback](e),t.off(".i").unwrap(),A(_label+'[for="'+t[0].id+'"]').add(t.closest(_label)).off(".i"))}function r(A,t,e){if(A.data(a))return A.data(a).o[t+(e?"":"Class")]}function o(A){return A.charAt(0).toUpperCase()+A.slice(1)}function s(A,t,e,n){n||(t&&A[_callback]("ifToggled"),A[_callback]("ifChanged")[_callback]("if"+o(e)))}var a="iCheck",c=a+"-helper",u="radio",l="checked",d="un"+l,f="disabled";_determinate="determinate",_indeterminate="in"+_determinate,_update="update",_type="type",_click="click",_touch="touchbegin.i touchend.i",_add="addClass",_remove="removeClass",_callback="trigger",_label="label",_cursor="cursor",_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent),A.fn[a]=function(r,o){var s='input[type="checkbox"], input[type="'+u+'"]',d=A(),h=function(t){t.each((function(){var t=A(this);d=t.is(s)?d.add(t):d.add(t.find(s))}))};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(r))return r=r.toLowerCase(),h(this),d.each((function(){var e=A(this);"destroy"==r?i(e,"ifDestroyed"):t(e,!0,r),A.isFunction(o)&&o()}));if("object"!=typeof r&&r)return this;var p=A.extend({checkedClass:l,disabledClass:f,indeterminateClass:_indeterminate,labelHover:!0},r),g=p.handle,B=p.hoverClass||"hover",b=p.focusClass||"focus",w=p.activeClass||"active",E=!!p.labelHover,M=p.labelHoverClass||"hover",m=0|(""+p.increaseArea).replace("%","");return"checkbox"!=g&&g!=u||(s='input[type="'+g+'"]'),-50>m&&(m=-50),h(this),d.each((function(){var r=A(this);i(r);var o=this,s=o.id,d={position:"absolute",top:h=-m+"%",left:h,display:"block",width:d=100+2*m+"%",height:d,margin:0,padding:0,background:"#fff",border:0,opacity:0},h=_mobile?{position:"absolute",visibility:"hidden"}:m?d:{position:"absolute",opacity:0},g="checkbox"==o[_type]?p.checkboxClass||"icheckbox":p.radioClass||"i"+u,C=A(_label+'[for="'+s+'"]').add(r.closest(_label)),v=!!p.aria,Q=a+"-"+Math.random().toString(36).substr(2,6),y='
")[_callback]("ifCreated").parent().append(p.insert),d=A('').css(d).appendTo(y),r.data(a,{o:p,s:r.attr("style")}).css(h),p.inheritClass&&y[_add](o.className||""),p.inheritID&&s&&y.attr("id",a+"-"+s),"static"==y.css("position")&&y.css("position","relative"),t(r,!0,_update),C.length&&C.on(_click+".i mouseover.i mouseout.i "+_touch,(function(e){var n=e[_type],i=A(this);if(!o[f]){if(n==_click){if(A(e.target).is("a"))return;t(r,!1,!0)}else E&&(/ut|nd/.test(n)?(y[_remove](B),i[_remove](M)):(y[_add](B),i[_add](M)));if(!_mobile)return!1;e.stopPropagation()}})),r.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",(function(A){var t=A[_type];return A=A.keyCode,t!=_click&&("keydown"==t&&32==A?(o[_type]==u&&o[l]||(o[l]?n(r,l):e(r,l)),!1):void("keyup"==t&&o[_type]==u?!o[l]&&e(r,l):/us|ur/.test(t)&&y["blur"==t?_remove:_add](b)))})),d.on(_click+" mousedown mouseup mouseover mouseout "+_touch,(function(A){var e=A[_type],n=/wn|up/.test(e)?w:B;if(!o[f]){if(e==_click?t(r,!1,!0):(/wn|er|in/.test(e)?y[_add](n):y[_remove](n+" "+w),C.length&&E&&n==B&&C[/ut|nd/.test(e)?_remove:_add](M)),!_mobile)return!1;A.stopPropagation()}}))}))}}(window.jQuery||window.Zepto)},251:(A,t)=>{t.read=function(A,t,e,n,i){var r,o,s=8*i-n-1,a=(1<>1,u=-7,l=e?i-1:0,d=e?-1:1,f=A[t+l];for(l+=d,r=f&(1<<-u)-1,f>>=-u,u+=s;u>0;r=256*r+A[t+l],l+=d,u-=8);for(o=r&(1<<-u)-1,r>>=-u,u+=n;u>0;o=256*o+A[t+l],l+=d,u-=8);if(0===r)r=1-c;else{if(r===a)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),r-=c}return(f?-1:1)*o*Math.pow(2,r-n)},t.write=function(A,t,e,n,i,r){var o,s,a,c=8*r-i-1,u=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:r-1,h=n?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-o))<1&&(o--,a*=2),(t+=o+l>=1?d/a:d*Math.pow(2,1-l))*a>=2&&(o++,a/=2),o+l>=u?(s=0,o=u):o+l>=1?(s=(t*a-1)*Math.pow(2,i),o+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;A[e+f]=255&s,f+=h,s/=256,i-=8);for(o=o<0;A[e+f]=255&o,f+=h,o/=256,c-=8);A[e+f-h]|=128*p}},4634:A=>{var t={}.toString;A.exports=Array.isArray||function(A){return"[object Array]"==t.call(A)}},1292:(A,t,e)=>{!function A(t,e,n){function i(o,s){if(!e[o]){if(!t[o]){if(r)return r(o,!0);var a=new Error("Cannot find module '"+o+"'");throw a.code="MODULE_NOT_FOUND",a}var c=e[o]={exports:{}};t[o][0].call(c.exports,(function(A){return i(t[o][1][A]||A)}),c,c.exports,A,t,e,n)}return e[o].exports}for(var r=void 0,o=0;o-1||t.setAttribute("data-"+n,e[n])}function c(t){var e=t;if(A.options.itemHandleOptions.enabled)if(void 0===(A.options.itemHandleOptions.customHandler||void 0)){var n=A.options.itemHandleOptions.customCssHandler,i=A.options.itemHandleOptions.customCssIconHandler;void 0===(n||void 0)&&(n="drag_handler"),void 0===(i||void 0)&&(i=n+"_icon"),e="
"+e+"
"}else e=A.options.itemHandleOptions.customHandler.replace("%s",e);return e}arguments[0]&&"object"==typeof arguments[0]&&(this.options=function(A,t){var e;for(e in t)t.hasOwnProperty(e)&&(A[e]=t[e]);return A}(i,arguments[0])),this.__getCanMove=function(t){return A.options.itemHandleOptions.enabled?A.options.itemHandleOptions.handleClass?t.classList.contains(A.options.itemHandleOptions.handleClass):t.classList.contains("item_handle"):!!A.options.dragItems},this.init=function(){!function(){A.element=document.querySelector(A.options.element);var t=document.createElement("div");t.classList.add("kanban-container"),A.container=t,document.querySelector(A.options.element).dataset.hasOwnProperty("board")?(url=document.querySelector(A.options.element).dataset.board,window.fetch(url,{method:"GET",headers:{"Content-Type":"application/json"}}).then((t=>{t.json().then((function(t){A.options.boards=t,A.addBoards(A.options.boards,!0)}))})).catch((A=>{console.log("Error: ",A)}))):A.addBoards(A.options.boards,!0),A.element.appendChild(A.container)}(),window.innerWidth>A.options.responsive&&(A.drakeBoard=A.dragula([A.container],{moves:function(t,e,n,i){return!!A.options.dragBoards&&(n.classList.contains("kanban-board-header")||n.classList.contains("kanban-title-board"))},accepts:function(A,t,e,n){return t.classList.contains("kanban-container")},revertOnSpill:!0,direction:"horizontal"}).on("drag",(function(t,e){t.classList.add("is-moving"),A.options.dragBoard(t,e),"function"==typeof t.dragfn&&t.dragfn(t,e)})).on("dragend",(function(t){!function(){for(var t=1,e=0;e-1)A.drake.cancel(!0);else{t.classList.add("is-moving"),A.options.dragEl(t,e);var i=s(e.parentNode.dataset.id);void 0!==i.dragTo&&A.options.boards.map((function(t){-1===i.dragTo.indexOf(t.id)&&t.id!==e.parentNode.dataset.id&&A.findBoard(t.id).classList.add("disabled-board")})),null!==t&&"function"==typeof t.dragfn&&t.dragfn(t,e)}})).on("dragend",(function(t){A.options.dragendEl(t),null!==t&&"function"==typeof t.dragendfn&&t.dragendfn(t)})).on("drop",(function(t,e,n,i){A.enableAllBoards();var r=s(n.parentNode.dataset.id);void 0!==r.dragTo&&-1===r.dragTo.indexOf(e.parentNode.dataset.id)&&e.parentNode.dataset.id!==n.parentNode.dataset.id&&A.drake.cancel(!0),null!==t&&(!1===A.options.dropEl(t,e,n,i)&&A.drake.cancel(!0),t.classList.remove("is-moving"),"function"==typeof t.dropfn&&t.dropfn(t,e,n,i))})))},this.enableAllBoards=function(){var A=document.querySelectorAll(".kanban-board");if(A.length>0&&void 0!==A)for(var t=0;tA.options.responsive)var n=(100-2*t.length)/t.length;else n=100-2*t.length;else n=A.options.widthBoard;var i=A.options.itemAddOptions.enabled,s=A.options.itemAddOptions.content,u=A.options.itemAddOptions.class,l=A.options.itemAddOptions.footer;for(var d in t){var f=t[d];e||A.options.boards.push(f),A.options.responsivePercentage||(""===A.container.style.width?A.container.style.width=parseInt(n)+2*parseInt(A.options.gutter)+"px":A.container.style.width=parseInt(A.container.style.width)+parseInt(n)+2*parseInt(A.options.gutter)+"px");var h=document.createElement("div");h.dataset.id=f.id,h.dataset.order=A.container.childNodes.length+1,h.classList.add("kanban-board"),A.options.responsivePercentage?h.style.width=n+"%":h.style.width=n,h.style.marginLeft=A.options.gutter,h.style.marginRight=A.options.gutter;var p=document.createElement("header");if(""!==f.class&&void 0!==f.class)var g=f.class.split(",");else g=[];p.classList.add("kanban-board-header"),g.map((function(A){A=A.replace(/^[ ]+/g,""),p.classList.add(A)})),p.innerHTML='
'+f.title+"
";var B=document.createElement("main");if(B.classList.add("kanban-drag"),""!==f.bodyClass&&void 0!==f.bodyClass)var b=f.bodyClass.split(",");else b=[];for(var w in b.map((function(A){B.classList.add(A)})),A.boardContainer.push(B),f.item){var E=f.item[w],M=document.createElement("div");M.classList.add("kanban-item"),E.id&&(M.dataset.eid=E.id),E.class&&Array.isArray(E.class)&&E.class.forEach((function(A){M.classList.add(A)})),M.innerHTML=c(E.title),M.clickfn=E.click,M.dragfn=E.drag,M.dragendfn=E.dragend,M.dropfn=E.drop,a(M,E),r(M),A.options.itemHandleOptions.enabled&&(M.style.cursor="default"),B.appendChild(M)}var m=document.createElement("footer");if(i){var C=document.createElement("BUTTON"),v=document.createTextNode(s||"+");C.setAttribute("class",u||"kanban-title-button btn btn-default btn-xs"),C.appendChild(v),l?m.appendChild(C):p.appendChild(C),o(C,f.id)}h.appendChild(p),h.appendChild(B),h.appendChild(m),A.container.appendChild(h)}return A},this.findBoard=function(t){return A.element.querySelector('[data-id="'+t+'"]')},this.getParentBoardID=function(t){return"string"==typeof t&&(t=A.element.querySelector('[data-eid="'+t+'"]')),null===t?null:t.parentNode.parentNode.dataset.id},this.moveElement=function(A,t,e){if(A!==this.getParentBoardID(t))return this.removeElement(t),this.addElement(A,e)},this.replaceElement=function(t,e){var n=t;return"string"==typeof n&&(n=A.element.querySelector('[data-eid="'+t+'"]')),n.innerHTML=e.title,n.clickfn=e.click,n.dragfn=e.drag,n.dragendfn=e.dragend,n.dropfn=e.drop,a(n,e),A},this.findElement=function(t){return A.element.querySelector('[data-eid="'+t+'"]')},this.getBoardElements=function(t){return A.element.querySelector('[data-id="'+t+'"] .kanban-drag').childNodes},this.removeElement=function(t){return"string"==typeof t&&(t=A.element.querySelector('[data-eid="'+t+'"]')),null!==t&&("function"==typeof t.remove?t.remove():t.parentNode.removeChild(t)),A},this.removeBoard=function(t){var e=null;"string"==typeof t&&(e=A.element.querySelector('[data-id="'+t+'"]')),null!==e&&("function"==typeof e.remove?e.remove():e.parentNode.removeChild(e));for(var n=0;n0?A:x.revertOnSpill,e=z||M,n=g(e),i=K(n);!1===i&&t&&(z?n&&n.removeChild(z):E.insertBefore(e,y)),i||t?Y.emit("cancel",e,E,E):Y.emit("drop",e,n,E,I),J()}}function J(){var A=z||M;_(),e&&(r.rm(x.mirrorContainer,"gu-unselectable"),a(s,"remove","mousemove",Z),g(e).removeChild(e),e=null),A&&r.rm(A,"gu-transit"),D&&clearTimeout(D),Y.dragging=!1,O&&Y.emit("out",A,O,E),Y.emit("dragend",A),E=M=z=y=I=D=O=null}function K(A,t){var n;return n=void 0!==t?t:e?I:b(z||M),A===E&&n===y}function X(A,t,e){for(var n=A;n&&!i();)n=g(n);return n;function i(){if(!1===R(n))return!1;var i=$(n,A),r=AA(n,i,t,e);return!!K(n,r)||x.accepts(M,n,E,r)}}function Z(A){if(e){A.preventDefault();var t=w("clientX",A)||0,n=w("clientY",A)||0,i=t-m,r=n-C;e.style.left=i+"px",e.style.top=r+"px";var o=z||M,s=l(e,t,n),a=X(s,t,n),c=null!==a&&a!==O;(c||null===a)&&(O&&h("out"),O=a,c&&h("over"));var u=g(o);if(a!==E||!z||x.copySortSource){var d,f=$(a,s);if(null!==f)d=AA(a,f,t,n);else{if(!0!==x.revertOnSpill||z)return void(z&&u&&u.removeChild(o));d=y,a=E}(null===d&&c||d!==o&&d!==b(o))&&(I=d,a.insertBefore(o,d),Y.emit("shadow",o,a,E))}else u&&u.removeChild(o)}function h(A){Y.emit(A,o,O,E)}}function $(A,t){for(var e=t;e!==A&&g(e)!==A;)e=g(e);return e===s?null:e}function AA(A,t,e,n){var i,r="horizontal"===x.direction;return t!==A?(i=t.getBoundingClientRect(),function(A){return A?b(t):t}(r?e>i.left+h(i)/2:n>i.top+p(i)/2)):function(){var t,i,o,s=A.children.length;for(t=0;te)return i;if(!r&&o.top+o.height/2>n)return i}return null}()}}}).call(this)}).call(this,void 0!==e.g?e.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./classes":8,"contra/emitter":4,crossvent:5}],10:[function(A,t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(A){if(n===setTimeout)return setTimeout(A,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(A,0);try{return n(A,0)}catch(t){try{return n.call(null,A,0)}catch(t){return n.call(this,A,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(A){n=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(A){i=s}}();var c,u=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&h())}function h(){if(!l){var A=a(f);l=!0;for(var t=u.length;t;){for(c=u,u=[];++d1)for(var e=1;e=0&&(A._idleTimeoutId=setTimeout((function(){A._onTimeout&&A._onTimeout()}),t))},e.setImmediate="function"==typeof t?t:function(A){var t=a++,n=!(arguments.length<2)&&o.call(arguments,1);return s[t]=!0,i((function(){s[t]&&(n?A.apply(null,n):A.call(null),e.clearImmediate(t))})),t},e.clearImmediate="function"==typeof n?n:function(A){delete s[A]}}).call(this)}).call(this,A("timers").setImmediate,A("timers").clearImmediate)},{"process/browser.js":10,timers:12}]},{},[1])},4692:function(A,t){var e;!function(t,e){"use strict";"object"==typeof A.exports?A.exports=t.document?e(t,!0):function(A){if(!A.document)throw new Error("jQuery requires a window with a document");return e(A)}:e(t)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var r=[],o=Object.getPrototypeOf,s=r.slice,a=r.flat?function(A){return r.flat.call(A)}:function(A){return r.concat.apply([],A)},c=r.push,u=r.indexOf,l={},d=l.toString,f=l.hasOwnProperty,h=f.toString,p=h.call(Object),g={},B=function(A){return"function"==typeof A&&"number"!=typeof A.nodeType&&"function"!=typeof A.item},b=function(A){return null!=A&&A===A.window},w=n.document,E={type:!0,src:!0,nonce:!0,noModule:!0};function M(A,t,e){var n,i,r=(e=e||w).createElement("script");if(r.text=A,t)for(n in E)(i=t[n]||t.getAttribute&&t.getAttribute(n))&&r.setAttribute(n,i);e.head.appendChild(r).parentNode.removeChild(r)}function m(A){return null==A?A+"":"object"==typeof A||"function"==typeof A?l[d.call(A)]||"object":typeof A}var C="3.7.1",v=/HTML$/i,Q=function(A,t){return new Q.fn.init(A,t)};function y(A){var t=!!A&&"length"in A&&A.length,e=m(A);return!B(A)&&!b(A)&&("array"===e||0===t||"number"==typeof t&&t>0&&t-1 in A)}function I(A,t){return A.nodeName&&A.nodeName.toLowerCase()===t.toLowerCase()}Q.fn=Q.prototype={jquery:C,constructor:Q,length:0,toArray:function(){return s.call(this)},get:function(A){return null==A?s.call(this):A<0?this[A+this.length]:this[A]},pushStack:function(A){var t=Q.merge(this.constructor(),A);return t.prevObject=this,t},each:function(A){return Q.each(this,A)},map:function(A){return this.pushStack(Q.map(this,(function(t,e){return A.call(t,e,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Q.grep(this,(function(A,t){return(t+1)%2})))},odd:function(){return this.pushStack(Q.grep(this,(function(A,t){return t%2})))},eq:function(A){var t=this.length,e=+A+(A<0?t:0);return this.pushStack(e>=0&&e+~]|"+O+")"+O+"*"),G=new RegExp(O+"|>"),H=new RegExp(S),N=new RegExp("^"+Y+"$"),_={ID:new RegExp("^#("+Y+")"),CLASS:new RegExp("^\\.("+Y+")"),TAG:new RegExp("^("+Y+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+S),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),bool:new RegExp("^(?:"+y+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,j=/^h\d$/i,U=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,V=/[+~]/,J=new RegExp("\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\([^\\r\\n\\f])","g"),K=function(A,t){var e="0x"+A.slice(1)-65536;return t||(e<0?String.fromCharCode(e+65536):String.fromCharCode(e>>10|55296,1023&e|56320))},X=function(){aA()},Z=dA((function(A){return!0===A.disabled&&I(A,"fieldset")}),{dir:"parentNode",next:"legend"});try{p.apply(r=s.call(F.childNodes),F.childNodes),r[F.childNodes.length].nodeType}catch(A){p={apply:function(A,t){W.apply(A,s.call(t))},call:function(A){W.apply(A,s.call(arguments,1))}}}function $(A,t,e,n){var i,r,o,s,c,u,f,h=t&&t.ownerDocument,b=t?t.nodeType:9;if(e=e||[],"string"!=typeof A||!A||1!==b&&9!==b&&11!==b)return e;if(!n&&(aA(t),t=t||a,l)){if(11!==b&&(c=U.exec(A)))if(i=c[1]){if(9===b){if(!(o=t.getElementById(i)))return e;if(o.id===i)return p.call(e,o),e}else if(h&&(o=h.getElementById(i))&&$.contains(t,o)&&o.id===i)return p.call(e,o),e}else{if(c[2])return p.apply(e,t.getElementsByTagName(A)),e;if((i=c[3])&&t.getElementsByClassName)return p.apply(e,t.getElementsByClassName(i)),e}if(!(C[A+" "]||d&&d.test(A))){if(f=A,h=t,1===b&&(G.test(A)||T.test(A))){for((h=V.test(A)&&sA(t.parentNode)||t)==t&&g.scope||((s=t.getAttribute("id"))?s=Q.escapeSelector(s):t.setAttribute("id",s=B)),r=(u=uA(A)).length;r--;)u[r]=(s?"#"+s:":scope")+" "+lA(u[r]);f=u.join(",")}try{return p.apply(e,h.querySelectorAll(f)),e}catch(t){C(A,!0)}finally{s===B&&t.removeAttribute("id")}}}return bA(A.replace(x,"$1"),t,e,n)}function AA(){var A=[];return function e(n,i){return A.push(n+" ")>t.cacheLength&&delete e[A.shift()],e[n+" "]=i}}function tA(A){return A[B]=!0,A}function eA(A){var t=a.createElement("fieldset");try{return!!A(t)}catch(A){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function nA(A){return function(t){return I(t,"input")&&t.type===A}}function iA(A){return function(t){return(I(t,"input")||I(t,"button"))&&t.type===A}}function rA(A){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===A:t.disabled===A:t.isDisabled===A||t.isDisabled!==!A&&Z(t)===A:t.disabled===A:"label"in t&&t.disabled===A}}function oA(A){return tA((function(t){return t=+t,tA((function(e,n){for(var i,r=A([],e.length,t),o=r.length;o--;)e[i=r[o]]&&(e[i]=!(n[i]=e[i]))}))}))}function sA(A){return A&&void 0!==A.getElementsByTagName&&A}function aA(A){var e,n=A?A.ownerDocument||A:F;return n!=a&&9===n.nodeType&&n.documentElement?(c=(a=n).documentElement,l=!Q.isXMLDoc(a),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&F!=a&&(e=a.defaultView)&&e.top!==e&&e.addEventListener("unload",X),g.getById=eA((function(A){return c.appendChild(A).id=Q.expando,!a.getElementsByName||!a.getElementsByName(Q.expando).length})),g.disconnectedMatch=eA((function(A){return h.call(A,"*")})),g.scope=eA((function(){return a.querySelectorAll(":scope")})),g.cssHas=eA((function(){try{return a.querySelector(":has(*,:jqfake)"),!1}catch(A){return!0}})),g.getById?(t.filter.ID=function(A){var t=A.replace(J,K);return function(A){return A.getAttribute("id")===t}},t.find.ID=function(A,t){if(void 0!==t.getElementById&&l){var e=t.getElementById(A);return e?[e]:[]}}):(t.filter.ID=function(A){var t=A.replace(J,K);return function(A){var e=void 0!==A.getAttributeNode&&A.getAttributeNode("id");return e&&e.value===t}},t.find.ID=function(A,t){if(void 0!==t.getElementById&&l){var e,n,i,r=t.getElementById(A);if(r){if((e=r.getAttributeNode("id"))&&e.value===A)return[r];for(i=t.getElementsByName(A),n=0;r=i[n++];)if((e=r.getAttributeNode("id"))&&e.value===A)return[r]}return[]}}),t.find.TAG=function(A,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(A):t.querySelectorAll(A)},t.find.CLASS=function(A,t){if(void 0!==t.getElementsByClassName&&l)return t.getElementsByClassName(A)},d=[],eA((function(A){var t;c.appendChild(A).innerHTML="
",A.querySelectorAll("[selected]").length||d.push("\\["+O+"*(?:value|"+y+")"),A.querySelectorAll("[id~="+B+"-]").length||d.push("~="),A.querySelectorAll("a#"+B+"+*").length||d.push(".#.+[+~]"),A.querySelectorAll(":checked").length||d.push(":checked"),(t=a.createElement("input")).setAttribute("type","hidden"),A.appendChild(t).setAttribute("name","D"),c.appendChild(A).disabled=!0,2!==A.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=a.createElement("input")).setAttribute("name",""),A.appendChild(t),A.querySelectorAll("[name='']").length||d.push("\\["+O+"*name"+O+"*="+O+"*(?:''|\"\")")})),g.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),v=function(A,t){if(A===t)return o=!0,0;var e=!A.compareDocumentPosition-!t.compareDocumentPosition;return e||(1&(e=(A.ownerDocument||A)==(t.ownerDocument||t)?A.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(A)===e?A===a||A.ownerDocument==F&&$.contains(F,A)?-1:t===a||t.ownerDocument==F&&$.contains(F,t)?1:i?u.call(i,A)-u.call(i,t):0:4&e?-1:1)},a):a}for(A in $.matches=function(A,t){return $(A,null,null,t)},$.matchesSelector=function(A,t){if(aA(A),l&&!C[t+" "]&&(!d||!d.test(t)))try{var e=h.call(A,t);if(e||g.disconnectedMatch||A.document&&11!==A.document.nodeType)return e}catch(A){C(t,!0)}return $(t,a,null,[A]).length>0},$.contains=function(A,t){return(A.ownerDocument||A)!=a&&aA(A),Q.contains(A,t)},$.attr=function(A,e){(A.ownerDocument||A)!=a&&aA(A);var n=t.attrHandle[e.toLowerCase()],i=n&&f.call(t.attrHandle,e.toLowerCase())?n(A,e,!l):void 0;return void 0!==i?i:A.getAttribute(e)},$.error=function(A){throw new Error("Syntax error, unrecognized expression: "+A)},Q.uniqueSort=function(A){var t,e=[],n=0,r=0;if(o=!g.sortStable,i=!g.sortStable&&s.call(A,0),D.call(A,v),o){for(;t=A[r++];)t===A[r]&&(n=e.push(r));for(;n--;)L.call(A,e[n],1)}return i=null,A},Q.fn.uniqueSort=function(){return this.pushStack(Q.uniqueSort(s.apply(this)))},t=Q.expr={cacheLength:50,createPseudo:tA,match:_,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(A){return A[1]=A[1].replace(J,K),A[3]=(A[3]||A[4]||A[5]||"").replace(J,K),"~="===A[2]&&(A[3]=" "+A[3]+" "),A.slice(0,4)},CHILD:function(A){return A[1]=A[1].toLowerCase(),"nth"===A[1].slice(0,3)?(A[3]||$.error(A[0]),A[4]=+(A[4]?A[5]+(A[6]||1):2*("even"===A[3]||"odd"===A[3])),A[5]=+(A[7]+A[8]||"odd"===A[3])):A[3]&&$.error(A[0]),A},PSEUDO:function(A){var t,e=!A[6]&&A[2];return _.CHILD.test(A[0])?null:(A[3]?A[2]=A[4]||A[5]||"":e&&H.test(e)&&(t=uA(e,!0))&&(t=e.indexOf(")",e.length-t)-e.length)&&(A[0]=A[0].slice(0,t),A[2]=e.slice(0,t)),A.slice(0,3))}},filter:{TAG:function(A){var t=A.replace(J,K).toLowerCase();return"*"===A?function(){return!0}:function(A){return I(A,t)}},CLASS:function(A){var t=E[A+" "];return t||(t=new RegExp("(^|"+O+")"+A+"("+O+"|$)"))&&E(A,(function(A){return t.test("string"==typeof A.className&&A.className||void 0!==A.getAttribute&&A.getAttribute("class")||"")}))},ATTR:function(A,t,e){return function(n){var i=$.attr(n,A);return null==i?"!="===t:!t||(i+="","="===t?i===e:"!="===t?i!==e:"^="===t?e&&0===i.indexOf(e):"*="===t?e&&i.indexOf(e)>-1:"$="===t?e&&i.slice(-e.length)===e:"~="===t?(" "+i.replace(P," ")+" ").indexOf(e)>-1:"|="===t&&(i===e||i.slice(0,e.length+1)===e+"-"))}},CHILD:function(A,t,e,n,i){var r="nth"!==A.slice(0,3),o="last"!==A.slice(-4),s="of-type"===t;return 1===n&&0===i?function(A){return!!A.parentNode}:function(t,e,a){var c,u,l,d,f,h=r!==o?"nextSibling":"previousSibling",p=t.parentNode,g=s&&t.nodeName.toLowerCase(),w=!a&&!s,E=!1;if(p){if(r){for(;h;){for(l=t;l=l[h];)if(s?I(l,g):1===l.nodeType)return!1;f=h="only"===A&&!f&&"nextSibling"}return!0}if(f=[o?p.firstChild:p.lastChild],o&&w){for(E=(d=(c=(u=p[B]||(p[B]={}))[A]||[])[0]===b&&c[1])&&c[2],l=d&&p.childNodes[d];l=++d&&l&&l[h]||(E=d=0)||f.pop();)if(1===l.nodeType&&++E&&l===t){u[A]=[b,d,E];break}}else if(w&&(E=d=(c=(u=t[B]||(t[B]={}))[A]||[])[0]===b&&c[1]),!1===E)for(;(l=++d&&l&&l[h]||(E=d=0)||f.pop())&&(!(s?I(l,g):1===l.nodeType)||!++E||(w&&((u=l[B]||(l[B]={}))[A]=[b,E]),l!==t)););return(E-=i)===n||E%n==0&&E/n>=0}}},PSEUDO:function(A,e){var n,i=t.pseudos[A]||t.setFilters[A.toLowerCase()]||$.error("unsupported pseudo: "+A);return i[B]?i(e):i.length>1?(n=[A,A,"",e],t.setFilters.hasOwnProperty(A.toLowerCase())?tA((function(A,t){for(var n,r=i(A,e),o=r.length;o--;)A[n=u.call(A,r[o])]=!(t[n]=r[o])})):function(A){return i(A,0,n)}):i}},pseudos:{not:tA((function(A){var t=[],e=[],n=BA(A.replace(x,"$1"));return n[B]?tA((function(A,t,e,i){for(var r,o=n(A,null,i,[]),s=A.length;s--;)(r=o[s])&&(A[s]=!(t[s]=r))})):function(A,i,r){return t[0]=A,n(t,null,r,e),t[0]=null,!e.pop()}})),has:tA((function(A){return function(t){return $(A,t).length>0}})),contains:tA((function(A){return A=A.replace(J,K),function(t){return(t.textContent||Q.text(t)).indexOf(A)>-1}})),lang:tA((function(A){return N.test(A||"")||$.error("unsupported lang: "+A),A=A.replace(J,K).toLowerCase(),function(t){var e;do{if(e=l?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===A||0===e.indexOf(A+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(A){var t=n.location&&n.location.hash;return t&&t.slice(1)===A.id},root:function(A){return A===c},focus:function(A){return A===function(){try{return a.activeElement}catch(A){}}()&&a.hasFocus()&&!!(A.type||A.href||~A.tabIndex)},enabled:rA(!1),disabled:rA(!0),checked:function(A){return I(A,"input")&&!!A.checked||I(A,"option")&&!!A.selected},selected:function(A){return A.parentNode&&A.parentNode.selectedIndex,!0===A.selected},empty:function(A){for(A=A.firstChild;A;A=A.nextSibling)if(A.nodeType<6)return!1;return!0},parent:function(A){return!t.pseudos.empty(A)},header:function(A){return j.test(A.nodeName)},input:function(A){return q.test(A.nodeName)},button:function(A){return I(A,"input")&&"button"===A.type||I(A,"button")},text:function(A){var t;return I(A,"input")&&"text"===A.type&&(null==(t=A.getAttribute("type"))||"text"===t.toLowerCase())},first:oA((function(){return[0]})),last:oA((function(A,t){return[t-1]})),eq:oA((function(A,t,e){return[e<0?e+t:e]})),even:oA((function(A,t){for(var e=0;et?t:e;--n>=0;)A.push(n);return A})),gt:oA((function(A,t,e){for(var n=e<0?e+t:e;++n1?function(t,e,n){for(var i=A.length;i--;)if(!A[i](t,e,n))return!1;return!0}:A[0]}function hA(A,t,e,n,i){for(var r,o=[],s=0,a=A.length,c=null!=t;s-1&&(r[c]=!(o[c]=d))}}else f=hA(f===o?f.splice(B,f.length):f),i?i(null,o,f,a):p.apply(o,f)}))}function gA(A){for(var n,i,r,o=A.length,s=t.relative[A[0].type],a=s||t.relative[" "],c=s?1:0,l=dA((function(A){return A===n}),a,!0),d=dA((function(A){return u.call(n,A)>-1}),a,!0),f=[function(A,t,i){var r=!s&&(i||t!=e)||((n=t).nodeType?l(A,t,i):d(A,t,i));return n=null,r}];c1&&fA(f),c>1&&lA(A.slice(0,c-1).concat({value:" "===A[c-2].type?"*":""})).replace(x,"$1"),i,c0,r=A.length>0,o=function(o,s,c,u,d){var f,h,g,B=0,w="0",E=o&&[],M=[],m=e,C=o||r&&t.find.TAG("*",d),v=b+=null==m?1:Math.random()||.1,y=C.length;for(d&&(e=s==a||s||d);w!==y&&null!=(f=C[w]);w++){if(r&&f){for(h=0,s||f.ownerDocument==a||(aA(f),c=!l);g=A[h++];)if(g(f,s||a,c)){p.call(u,f);break}d&&(b=v)}i&&((f=!g&&f)&&B--,o&&E.push(f))}if(B+=w,i&&w!==B){for(h=0;g=n[h++];)g(E,M,s,c);if(o){if(B>0)for(;w--;)E[w]||M[w]||(M[w]=z.call(u));M=hA(M)}p.apply(u,M),d&&!o&&M.length>0&&B+n.length>1&&Q.uniqueSort(u)}return d&&(b=v,e=m),E};return i?tA(o):o}(o,r)),s.selector=A}return s}function bA(A,e,n,i){var r,o,s,a,c,u="function"==typeof A&&A,d=!i&&uA(A=u.selector||A);if(n=n||[],1===d.length){if((o=d[0]=d[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===e.nodeType&&l&&t.relative[o[1].type]){if(!(e=(t.find.ID(s.matches[0].replace(J,K),e)||[])[0]))return n;u&&(e=e.parentNode),A=A.slice(o.shift().value.length)}for(r=_.needsContext.test(A)?0:o.length;r--&&(s=o[r],!t.relative[a=s.type]);)if((c=t.find[a])&&(i=c(s.matches[0].replace(J,K),V.test(o[0].type)&&sA(e.parentNode)||e))){if(o.splice(r,1),!(A=i.length&&lA(o)))return p.apply(n,i),n;break}}return(u||BA(A,d))(i,e,!l,n,!e||V.test(A)&&sA(e.parentNode)||e),n}cA.prototype=t.filters=t.pseudos,t.setFilters=new cA,g.sortStable=B.split("").sort(v).join("")===B,aA(),g.sortDetached=eA((function(A){return 1&A.compareDocumentPosition(a.createElement("fieldset"))})),Q.find=$,Q.expr[":"]=Q.expr.pseudos,Q.unique=Q.uniqueSort,$.compile=BA,$.select=bA,$.setDocument=aA,$.tokenize=uA,$.escape=Q.escapeSelector,$.getText=Q.text,$.isXML=Q.isXMLDoc,$.selectors=Q.expr,$.support=Q.support,$.uniqueSort=Q.uniqueSort}();var S=function(A,t,e){for(var n=[],i=void 0!==e;(A=A[t])&&9!==A.nodeType;)if(1===A.nodeType){if(i&&Q(A).is(e))break;n.push(A)}return n},P=function(A,t){for(var e=[];A;A=A.nextSibling)1===A.nodeType&&A!==t&&e.push(A);return e},k=Q.expr.match.needsContext,T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function G(A,t,e){return B(t)?Q.grep(A,(function(A,n){return!!t.call(A,n,A)!==e})):t.nodeType?Q.grep(A,(function(A){return A===t!==e})):"string"!=typeof t?Q.grep(A,(function(A){return u.call(t,A)>-1!==e})):Q.filter(t,A,e)}Q.filter=function(A,t,e){var n=t[0];return e&&(A=":not("+A+")"),1===t.length&&1===n.nodeType?Q.find.matchesSelector(n,A)?[n]:[]:Q.find.matches(A,Q.grep(t,(function(A){return 1===A.nodeType})))},Q.fn.extend({find:function(A){var t,e,n=this.length,i=this;if("string"!=typeof A)return this.pushStack(Q(A).filter((function(){for(t=0;t1?Q.uniqueSort(e):e},filter:function(A){return this.pushStack(G(this,A||[],!1))},not:function(A){return this.pushStack(G(this,A||[],!0))},is:function(A){return!!G(this,"string"==typeof A&&k.test(A)?Q(A):A||[],!1).length}});var H,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Q.fn.init=function(A,t,e){var n,i;if(!A)return this;if(e=e||H,"string"==typeof A){if(!(n="<"===A[0]&&">"===A[A.length-1]&&A.length>=3?[null,A,null]:N.exec(A))||!n[1]&&t)return!t||t.jquery?(t||e).find(A):this.constructor(t).find(A);if(n[1]){if(t=t instanceof Q?t[0]:t,Q.merge(this,Q.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:w,!0)),T.test(n[1])&&Q.isPlainObject(t))for(n in t)B(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=w.getElementById(n[2]))&&(this[0]=i,this.length=1),this}return A.nodeType?(this[0]=A,this.length=1,this):B(A)?void 0!==e.ready?e.ready(A):A(Q):Q.makeArray(A,this)}).prototype=Q.fn,H=Q(w);var _=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function j(A,t){for(;(A=A[t])&&1!==A.nodeType;);return A}Q.fn.extend({has:function(A){var t=Q(A,this),e=t.length;return this.filter((function(){for(var A=0;A-1:1===e.nodeType&&Q.find.matchesSelector(e,A))){r.push(e);break}return this.pushStack(r.length>1?Q.uniqueSort(r):r)},index:function(A){return A?"string"==typeof A?u.call(Q(A),this[0]):u.call(this,A.jquery?A[0]:A):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(A,t){return this.pushStack(Q.uniqueSort(Q.merge(this.get(),Q(A,t))))},addBack:function(A){return this.add(null==A?this.prevObject:this.prevObject.filter(A))}}),Q.each({parent:function(A){var t=A.parentNode;return t&&11!==t.nodeType?t:null},parents:function(A){return S(A,"parentNode")},parentsUntil:function(A,t,e){return S(A,"parentNode",e)},next:function(A){return j(A,"nextSibling")},prev:function(A){return j(A,"previousSibling")},nextAll:function(A){return S(A,"nextSibling")},prevAll:function(A){return S(A,"previousSibling")},nextUntil:function(A,t,e){return S(A,"nextSibling",e)},prevUntil:function(A,t,e){return S(A,"previousSibling",e)},siblings:function(A){return P((A.parentNode||{}).firstChild,A)},children:function(A){return P(A.firstChild)},contents:function(A){return null!=A.contentDocument&&o(A.contentDocument)?A.contentDocument:(I(A,"template")&&(A=A.content||A),Q.merge([],A.childNodes))}},(function(A,t){Q.fn[A]=function(e,n){var i=Q.map(this,t,e);return"Until"!==A.slice(-5)&&(n=e),n&&"string"==typeof n&&(i=Q.filter(n,i)),this.length>1&&(q[A]||Q.uniqueSort(i),_.test(A)&&i.reverse()),this.pushStack(i)}}));var U=/[^\x20\t\r\n\f]+/g;function V(A){return A}function J(A){throw A}function K(A,t,e,n){var i;try{A&&B(i=A.promise)?i.call(A).done(t).fail(e):A&&B(i=A.then)?i.call(A,t,e):t.apply(void 0,[A].slice(n))}catch(A){e.apply(void 0,[A])}}Q.Callbacks=function(A){A="string"==typeof A?function(A){var t={};return Q.each(A.match(U)||[],(function(A,e){t[e]=!0})),t}(A):Q.extend({},A);var t,e,n,i,r=[],o=[],s=-1,a=function(){for(i=i||A.once,n=t=!0;o.length;s=-1)for(e=o.shift();++s-1;)r.splice(e,1),e<=s&&s--})),this},has:function(A){return A?Q.inArray(A,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return i=o=[],r=e="",this},disabled:function(){return!r},lock:function(){return i=o=[],e||t||(r=e=""),this},locked:function(){return!!i},fireWith:function(A,e){return i||(e=[A,(e=e||[]).slice?e.slice():e],o.push(e),t||a()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},Q.extend({Deferred:function(A){var t=[["notify","progress",Q.Callbacks("memory"),Q.Callbacks("memory"),2],["resolve","done",Q.Callbacks("once memory"),Q.Callbacks("once memory"),0,"resolved"],["reject","fail",Q.Callbacks("once memory"),Q.Callbacks("once memory"),1,"rejected"]],e="pending",i={state:function(){return e},always:function(){return r.done(arguments).fail(arguments),this},catch:function(A){return i.then(null,A)},pipe:function(){var A=arguments;return Q.Deferred((function(e){Q.each(t,(function(t,n){var i=B(A[n[4]])&&A[n[4]];r[n[1]]((function(){var A=i&&i.apply(this,arguments);A&&B(A.promise)?A.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[n[0]+"With"](this,i?[A]:arguments)}))})),A=null})).promise()},then:function(A,e,i){var r=0;function o(A,t,e,i){return function(){var s=this,a=arguments,c=function(){var n,c;if(!(A=r&&(e!==J&&(s=void 0,a=[n]),t.rejectWith(s,a))}};A?u():(Q.Deferred.getErrorHook?u.error=Q.Deferred.getErrorHook():Q.Deferred.getStackHook&&(u.error=Q.Deferred.getStackHook()),n.setTimeout(u))}}return Q.Deferred((function(n){t[0][3].add(o(0,n,B(i)?i:V,n.notifyWith)),t[1][3].add(o(0,n,B(A)?A:V)),t[2][3].add(o(0,n,B(e)?e:J))})).promise()},promise:function(A){return null!=A?Q.extend(A,i):i}},r={};return Q.each(t,(function(A,n){var o=n[2],s=n[5];i[n[1]]=o.add,s&&o.add((function(){e=s}),t[3-A][2].disable,t[3-A][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),r[n[0]]=function(){return r[n[0]+"With"](this===r?void 0:this,arguments),this},r[n[0]+"With"]=o.fireWith})),i.promise(r),A&&A.call(r,r),r},when:function(A){var t=arguments.length,e=t,n=Array(e),i=s.call(arguments),r=Q.Deferred(),o=function(A){return function(e){n[A]=this,i[A]=arguments.length>1?s.call(arguments):e,--t||r.resolveWith(n,i)}};if(t<=1&&(K(A,r.done(o(e)).resolve,r.reject,!t),"pending"===r.state()||B(i[e]&&i[e].then)))return r.then();for(;e--;)K(i[e],o(e),r.reject);return r.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Q.Deferred.exceptionHook=function(A,t){n.console&&n.console.warn&&A&&X.test(A.name)&&n.console.warn("jQuery.Deferred exception: "+A.message,A.stack,t)},Q.readyException=function(A){n.setTimeout((function(){throw A}))};var Z=Q.Deferred();function $(){w.removeEventListener("DOMContentLoaded",$),n.removeEventListener("load",$),Q.ready()}Q.fn.ready=function(A){return Z.then(A).catch((function(A){Q.readyException(A)})),this},Q.extend({isReady:!1,readyWait:1,ready:function(A){(!0===A?--Q.readyWait:Q.isReady)||(Q.isReady=!0,!0!==A&&--Q.readyWait>0||Z.resolveWith(w,[Q]))}}),Q.ready.then=Z.then,"complete"===w.readyState||"loading"!==w.readyState&&!w.documentElement.doScroll?n.setTimeout(Q.ready):(w.addEventListener("DOMContentLoaded",$),n.addEventListener("load",$));var AA=function(A,t,e,n,i,r,o){var s=0,a=A.length,c=null==e;if("object"===m(e))for(s in i=!0,e)AA(A,t,s,e[s],!0,r,o);else if(void 0!==n&&(i=!0,B(n)||(o=!0),c&&(o?(t.call(A,n),t=null):(c=t,t=function(A,t,e){return c.call(Q(A),e)})),t))for(;s1,null,!0)},removeData:function(A){return this.each((function(){aA.remove(this,A)}))}}),Q.extend({queue:function(A,t,e){var n;if(A)return t=(t||"fx")+"queue",n=sA.get(A,t),e&&(!n||Array.isArray(e)?n=sA.access(A,t,Q.makeArray(e)):n.push(e)),n||[]},dequeue:function(A,t){t=t||"fx";var e=Q.queue(A,t),n=e.length,i=e.shift(),r=Q._queueHooks(A,t);"inprogress"===i&&(i=e.shift(),n--),i&&("fx"===t&&e.unshift("inprogress"),delete r.stop,i.call(A,(function(){Q.dequeue(A,t)}),r)),!n&&r&&r.empty.fire()},_queueHooks:function(A,t){var e=t+"queueHooks";return sA.get(A,e)||sA.access(A,e,{empty:Q.Callbacks("once memory").add((function(){sA.remove(A,[t+"queue",e])}))})}}),Q.fn.extend({queue:function(A,t){var e=2;return"string"!=typeof A&&(t=A,A="fx",e--),arguments.length\x20\t\r\n\f]*)/i,IA=/^$|^module$|\/(?:java|ecma)script/i;CA=w.createDocumentFragment().appendChild(w.createElement("div")),(vA=w.createElement("input")).setAttribute("type","radio"),vA.setAttribute("checked","checked"),vA.setAttribute("name","t"),CA.appendChild(vA),g.checkClone=CA.cloneNode(!0).cloneNode(!0).lastChild.checked,CA.innerHTML="",g.noCloneChecked=!!CA.cloneNode(!0).lastChild.defaultValue,CA.innerHTML="",g.option=!!CA.lastChild;var zA={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function DA(A,t){var e;return e=void 0!==A.getElementsByTagName?A.getElementsByTagName(t||"*"):void 0!==A.querySelectorAll?A.querySelectorAll(t||"*"):[],void 0===t||t&&I(A,t)?Q.merge([A],e):e}function LA(A,t){for(var e=0,n=A.length;e",""]);var OA=/<|&#?\w+;/;function xA(A,t,e,n,i){for(var r,o,s,a,c,u,l=t.createDocumentFragment(),d=[],f=0,h=A.length;f-1)i&&i.push(r);else if(c=gA(r),o=DA(l.appendChild(r),"script"),c&&LA(o),e)for(u=0;r=o[u++];)IA.test(r.type||"")&&e.push(r);return l}var YA=/^([^.]*)(?:\.(.+)|)/;function RA(){return!0}function FA(){return!1}function WA(A,t,e,n,i,r){var o,s;if("object"==typeof t){for(s in"string"!=typeof e&&(n=n||e,e=void 0),t)WA(A,s,e,n,t[s],r);return A}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),!1===i)i=FA;else if(!i)return A;return 1===r&&(o=i,i=function(A){return Q().off(A),o.apply(this,arguments)},i.guid=o.guid||(o.guid=Q.guid++)),A.each((function(){Q.event.add(this,t,i,n,e)}))}function SA(A,t,e){e?(sA.set(A,t,!1),Q.event.add(A,t,{namespace:!1,handler:function(A){var e,n=sA.get(this,t);if(1&A.isTrigger&&this[t]){if(n)(Q.event.special[t]||{}).delegateType&&A.stopPropagation();else if(n=s.call(arguments),sA.set(this,t,n),this[t](),e=sA.get(this,t),sA.set(this,t,!1),n!==e)return A.stopImmediatePropagation(),A.preventDefault(),e}else n&&(sA.set(this,t,Q.event.trigger(n[0],n.slice(1),this)),A.stopPropagation(),A.isImmediatePropagationStopped=RA)}})):void 0===sA.get(A,t)&&Q.event.add(A,t,RA)}Q.event={global:{},add:function(A,t,e,n,i){var r,o,s,a,c,u,l,d,f,h,p,g=sA.get(A);if(rA(A))for(e.handler&&(e=(r=e).handler,i=r.selector),i&&Q.find.matchesSelector(pA,i),e.guid||(e.guid=Q.guid++),(a=g.events)||(a=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==Q&&Q.event.triggered!==t.type?Q.event.dispatch.apply(A,arguments):void 0}),c=(t=(t||"").match(U)||[""]).length;c--;)f=p=(s=YA.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(l=Q.event.special[f]||{},f=(i?l.delegateType:l.bindType)||f,l=Q.event.special[f]||{},u=Q.extend({type:f,origType:p,data:n,handler:e,guid:e.guid,selector:i,needsContext:i&&Q.expr.match.needsContext.test(i),namespace:h.join(".")},r),(d=a[f])||((d=a[f]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(A,n,h,o)||A.addEventListener&&A.addEventListener(f,o)),l.add&&(l.add.call(A,u),u.handler.guid||(u.handler.guid=e.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),Q.event.global[f]=!0)},remove:function(A,t,e,n,i){var r,o,s,a,c,u,l,d,f,h,p,g=sA.hasData(A)&&sA.get(A);if(g&&(a=g.events)){for(c=(t=(t||"").match(U)||[""]).length;c--;)if(f=p=(s=YA.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(l=Q.event.special[f]||{},d=a[f=(n?l.delegateType:l.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=d.length;r--;)u=d[r],!i&&p!==u.origType||e&&e.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(r,1),u.selector&&d.delegateCount--,l.remove&&l.remove.call(A,u));o&&!d.length&&(l.teardown&&!1!==l.teardown.call(A,h,g.handle)||Q.removeEvent(A,f,g.handle),delete a[f])}else for(f in a)Q.event.remove(A,f+t[c],e,n,!0);Q.isEmptyObject(a)&&sA.remove(A,"handle events")}},dispatch:function(A){var t,e,n,i,r,o,s=new Array(arguments.length),a=Q.event.fix(A),c=(sA.get(this,"events")||Object.create(null))[a.type]||[],u=Q.event.special[a.type]||{};for(s[0]=a,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==A.type||!0!==c.disabled)){for(r=[],o={},e=0;e-1:Q.find(i,this,null,[c]).length),o[i]&&r.push(n);r.length&&s.push({elem:c,handlers:r})}return c=this,a\s*$/g;function GA(A,t){return I(A,"table")&&I(11!==t.nodeType?t:t.firstChild,"tr")&&Q(A).children("tbody")[0]||A}function HA(A){return A.type=(null!==A.getAttribute("type"))+"/"+A.type,A}function NA(A){return"true/"===(A.type||"").slice(0,5)?A.type=A.type.slice(5):A.removeAttribute("type"),A}function _A(A,t){var e,n,i,r,o,s;if(1===t.nodeType){if(sA.hasData(A)&&(s=sA.get(A).events))for(i in sA.remove(t,"handle events"),s)for(e=0,n=s[i].length;e1&&"string"==typeof h&&!g.checkClone&&kA.test(h))return A.each((function(i){var r=A.eq(i);p&&(t[0]=h.call(this,i,r.html())),jA(r,t,e,n)}));if(d&&(r=(i=xA(t,A[0].ownerDocument,!1,A,n)).firstChild,1===i.childNodes.length&&(i=r),r||n)){for(s=(o=Q.map(DA(i,"script"),HA)).length;l0&&LA(o,!a&&DA(A,"script")),s},cleanData:function(A){for(var t,e,n,i=Q.event.special,r=0;void 0!==(e=A[r]);r++)if(rA(e)){if(t=e[sA.expando]){if(t.events)for(n in t.events)i[n]?Q.event.remove(e,n):Q.removeEvent(e,n,t.handle);e[sA.expando]=void 0}e[aA.expando]&&(e[aA.expando]=void 0)}}}),Q.fn.extend({detach:function(A){return UA(this,A,!0)},remove:function(A){return UA(this,A)},text:function(A){return AA(this,(function(A){return void 0===A?Q.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=A)}))}),null,A,arguments.length)},append:function(){return jA(this,arguments,(function(A){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||GA(this,A).appendChild(A)}))},prepend:function(){return jA(this,arguments,(function(A){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=GA(this,A);t.insertBefore(A,t.firstChild)}}))},before:function(){return jA(this,arguments,(function(A){this.parentNode&&this.parentNode.insertBefore(A,this)}))},after:function(){return jA(this,arguments,(function(A){this.parentNode&&this.parentNode.insertBefore(A,this.nextSibling)}))},empty:function(){for(var A,t=0;null!=(A=this[t]);t++)1===A.nodeType&&(Q.cleanData(DA(A,!1)),A.textContent="");return this},clone:function(A,t){return A=null!=A&&A,t=null==t?A:t,this.map((function(){return Q.clone(this,A,t)}))},html:function(A){return AA(this,(function(A){var t=this[0]||{},e=0,n=this.length;if(void 0===A&&1===t.nodeType)return t.innerHTML;if("string"==typeof A&&!PA.test(A)&&!zA[(yA.exec(A)||["",""])[1].toLowerCase()]){A=Q.htmlPrefilter(A);try{for(;e=0&&(a+=Math.max(0,Math.ceil(A["offset"+t[0].toUpperCase()+t.slice(1)]-r-a-s-.5))||0),a+c}function ut(A,t,e){var n=KA(A),i=(!g.boxSizingReliable()||e)&&"border-box"===Q.css(A,"boxSizing",!1,n),r=i,o=$A(A,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(VA.test(o)){if(!e)return o;o="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&I(A,"tr")||"auto"===o||!parseFloat(o)&&"inline"===Q.css(A,"display",!1,n))&&A.getClientRects().length&&(i="border-box"===Q.css(A,"boxSizing",!1,n),(r=s in A)&&(o=A[s])),(o=parseFloat(o)||0)+ct(A,t,e||(i?"border":"content"),r,n,o)+"px"}function lt(A,t,e,n,i){return new lt.prototype.init(A,t,e,n,i)}Q.extend({cssHooks:{opacity:{get:function(A,t){if(t){var e=$A(A,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(A,t,e,n){if(A&&3!==A.nodeType&&8!==A.nodeType&&A.style){var i,r,o,s=iA(t),a=JA.test(t),c=A.style;if(a||(t=it(s)),o=Q.cssHooks[t]||Q.cssHooks[s],void 0===e)return o&&"get"in o&&void 0!==(i=o.get(A,!1,n))?i:c[t];"string"==(r=typeof e)&&(i=fA.exec(e))&&i[1]&&(e=wA(A,t,i),r="number"),null!=e&&e==e&&("number"!==r||a||(e+=i&&i[3]||(Q.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==e||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(e=o.set(A,e,n))||(a?c.setProperty(t,e):c[t]=e))}},css:function(A,t,e,n){var i,r,o,s=iA(t);return JA.test(t)||(t=it(s)),(o=Q.cssHooks[t]||Q.cssHooks[s])&&"get"in o&&(i=o.get(A,!0,e)),void 0===i&&(i=$A(A,t,n)),"normal"===i&&t in st&&(i=st[t]),""===e||e?(r=parseFloat(i),!0===e||isFinite(r)?r||0:i):i}}),Q.each(["height","width"],(function(A,t){Q.cssHooks[t]={get:function(A,e,n){if(e)return!rt.test(Q.css(A,"display"))||A.getClientRects().length&&A.getBoundingClientRect().width?ut(A,t,n):XA(A,ot,(function(){return ut(A,t,n)}))},set:function(A,e,n){var i,r=KA(A),o=!g.scrollboxSize()&&"absolute"===r.position,s=(o||n)&&"border-box"===Q.css(A,"boxSizing",!1,r),a=n?ct(A,t,n,s,r):0;return s&&o&&(a-=Math.ceil(A["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-ct(A,t,"border",!1,r)-.5)),a&&(i=fA.exec(e))&&"px"!==(i[3]||"px")&&(A.style[t]=e,e=Q.css(A,t)),at(0,e,a)}}})),Q.cssHooks.marginLeft=At(g.reliableMarginLeft,(function(A,t){if(t)return(parseFloat($A(A,"marginLeft"))||A.getBoundingClientRect().left-XA(A,{marginLeft:0},(function(){return A.getBoundingClientRect().left})))+"px"})),Q.each({margin:"",padding:"",border:"Width"},(function(A,t){Q.cssHooks[A+t]={expand:function(e){for(var n=0,i={},r="string"==typeof e?e.split(" "):[e];n<4;n++)i[A+hA[n]+t]=r[n]||r[n-2]||r[0];return i}},"margin"!==A&&(Q.cssHooks[A+t].set=at)})),Q.fn.extend({css:function(A,t){return AA(this,(function(A,t,e){var n,i,r={},o=0;if(Array.isArray(t)){for(n=KA(A),i=t.length;o1)}}),Q.Tween=lt,lt.prototype={constructor:lt,init:function(A,t,e,n,i,r){this.elem=A,this.prop=e,this.easing=i||Q.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=r||(Q.cssNumber[e]?"":"px")},cur:function(){var A=lt.propHooks[this.prop];return A&&A.get?A.get(this):lt.propHooks._default.get(this)},run:function(A){var t,e=lt.propHooks[this.prop];return this.options.duration?this.pos=t=Q.easing[this.easing](A,this.options.duration*A,0,1,this.options.duration):this.pos=t=A,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):lt.propHooks._default.set(this),this}},lt.prototype.init.prototype=lt.prototype,lt.propHooks={_default:{get:function(A){var t;return 1!==A.elem.nodeType||null!=A.elem[A.prop]&&null==A.elem.style[A.prop]?A.elem[A.prop]:(t=Q.css(A.elem,A.prop,""))&&"auto"!==t?t:0},set:function(A){Q.fx.step[A.prop]?Q.fx.step[A.prop](A):1!==A.elem.nodeType||!Q.cssHooks[A.prop]&&null==A.elem.style[it(A.prop)]?A.elem[A.prop]=A.now:Q.style(A.elem,A.prop,A.now+A.unit)}}},lt.propHooks.scrollTop=lt.propHooks.scrollLeft={set:function(A){A.elem.nodeType&&A.elem.parentNode&&(A.elem[A.prop]=A.now)}},Q.easing={linear:function(A){return A},swing:function(A){return.5-Math.cos(A*Math.PI)/2},_default:"swing"},Q.fx=lt.prototype.init,Q.fx.step={};var dt,ft,ht=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function gt(){ft&&(!1===w.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(gt):n.setTimeout(gt,Q.fx.interval),Q.fx.tick())}function Bt(){return n.setTimeout((function(){dt=void 0})),dt=Date.now()}function bt(A,t){var e,n=0,i={height:A};for(t=t?1:0;n<4;n+=2-t)i["margin"+(e=hA[n])]=i["padding"+e]=A;return t&&(i.opacity=i.width=A),i}function wt(A,t,e){for(var n,i=(Et.tweeners[t]||[]).concat(Et.tweeners["*"]),r=0,o=i.length;r1)},removeAttr:function(A){return this.each((function(){Q.removeAttr(this,A)}))}}),Q.extend({attr:function(A,t,e){var n,i,r=A.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===A.getAttribute?Q.prop(A,t,e):(1===r&&Q.isXMLDoc(A)||(i=Q.attrHooks[t.toLowerCase()]||(Q.expr.match.bool.test(t)?Mt:void 0)),void 0!==e?null===e?void Q.removeAttr(A,t):i&&"set"in i&&void 0!==(n=i.set(A,e,t))?n:(A.setAttribute(t,e+""),e):i&&"get"in i&&null!==(n=i.get(A,t))?n:null==(n=Q.find.attr(A,t))?void 0:n)},attrHooks:{type:{set:function(A,t){if(!g.radioValue&&"radio"===t&&I(A,"input")){var e=A.value;return A.setAttribute("type",t),e&&(A.value=e),t}}}},removeAttr:function(A,t){var e,n=0,i=t&&t.match(U);if(i&&1===A.nodeType)for(;e=i[n++];)A.removeAttribute(e)}}),Mt={set:function(A,t,e){return!1===t?Q.removeAttr(A,e):A.setAttribute(e,e),e}},Q.each(Q.expr.match.bool.source.match(/\w+/g),(function(A,t){var e=mt[t]||Q.find.attr;mt[t]=function(A,t,n){var i,r,o=t.toLowerCase();return n||(r=mt[o],mt[o]=i,i=null!=e(A,t,n)?o:null,mt[o]=r),i}}));var Ct=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function Qt(A){return(A.match(U)||[]).join(" ")}function yt(A){return A.getAttribute&&A.getAttribute("class")||""}function It(A){return Array.isArray(A)?A:"string"==typeof A&&A.match(U)||[]}Q.fn.extend({prop:function(A,t){return AA(this,Q.prop,A,t,arguments.length>1)},removeProp:function(A){return this.each((function(){delete this[Q.propFix[A]||A]}))}}),Q.extend({prop:function(A,t,e){var n,i,r=A.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&Q.isXMLDoc(A)||(t=Q.propFix[t]||t,i=Q.propHooks[t]),void 0!==e?i&&"set"in i&&void 0!==(n=i.set(A,e,t))?n:A[t]=e:i&&"get"in i&&null!==(n=i.get(A,t))?n:A[t]},propHooks:{tabIndex:{get:function(A){var t=Q.find.attr(A,"tabindex");return t?parseInt(t,10):Ct.test(A.nodeName)||vt.test(A.nodeName)&&A.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(Q.propHooks.selected={get:function(A){var t=A.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(A){var t=A.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Q.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){Q.propFix[this.toLowerCase()]=this})),Q.fn.extend({addClass:function(A){var t,e,n,i,r,o;return B(A)?this.each((function(t){Q(this).addClass(A.call(this,t,yt(this)))})):(t=It(A)).length?this.each((function(){if(n=yt(this),e=1===this.nodeType&&" "+Qt(n)+" "){for(r=0;r-1;)e=e.replace(" "+i+" "," ");o=Qt(e),n!==o&&this.setAttribute("class",o)}})):this:this.attr("class","")},toggleClass:function(A,t){var e,n,i,r,o=typeof A,s="string"===o||Array.isArray(A);return B(A)?this.each((function(e){Q(this).toggleClass(A.call(this,e,yt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(A):this.removeClass(A):(e=It(A),this.each((function(){if(s)for(r=Q(this),i=0;i-1)return!0;return!1}});var zt=/\r/g;Q.fn.extend({val:function(A){var t,e,n,i=this[0];return arguments.length?(n=B(A),this.each((function(e){var i;1===this.nodeType&&(null==(i=n?A.call(this,e,Q(this).val()):A)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=Q.map(i,(function(A){return null==A?"":A+""}))),(t=Q.valHooks[this.type]||Q.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=Q.valHooks[i.type]||Q.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(e=t.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(zt,""):null==e?"":e:void 0}}),Q.extend({valHooks:{option:{get:function(A){var t=Q.find.attr(A,"value");return null!=t?t:Qt(Q.text(A))}},select:{get:function(A){var t,e,n,i=A.options,r=A.selectedIndex,o="select-one"===A.type,s=o?null:[],a=o?r+1:i.length;for(n=r<0?a:o?r:0;n-1)&&(e=!0);return e||(A.selectedIndex=-1),r}}}}),Q.each(["radio","checkbox"],(function(){Q.valHooks[this]={set:function(A,t){if(Array.isArray(t))return A.checked=Q.inArray(Q(A).val(),t)>-1}},g.checkOn||(Q.valHooks[this].get=function(A){return null===A.getAttribute("value")?"on":A.value})}));var Dt=n.location,Lt={guid:Date.now()},Ot=/\?/;Q.parseXML=function(A){var t,e;if(!A||"string"!=typeof A)return null;try{t=(new n.DOMParser).parseFromString(A,"text/xml")}catch(A){}return e=t&&t.getElementsByTagName("parsererror")[0],t&&!e||Q.error("Invalid XML: "+(e?Q.map(e.childNodes,(function(A){return A.textContent})).join("\n"):A)),t};var xt=/^(?:focusinfocus|focusoutblur)$/,Yt=function(A){A.stopPropagation()};Q.extend(Q.event,{trigger:function(A,t,e,i){var r,o,s,a,c,u,l,d,h=[e||w],p=f.call(A,"type")?A.type:A,g=f.call(A,"namespace")?A.namespace.split("."):[];if(o=d=s=e=e||w,3!==e.nodeType&&8!==e.nodeType&&!xt.test(p+Q.event.triggered)&&(p.indexOf(".")>-1&&(g=p.split("."),p=g.shift(),g.sort()),c=p.indexOf(":")<0&&"on"+p,(A=A[Q.expando]?A:new Q.Event(p,"object"==typeof A&&A)).isTrigger=i?2:3,A.namespace=g.join("."),A.rnamespace=A.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,A.result=void 0,A.target||(A.target=e),t=null==t?[A]:Q.makeArray(t,[A]),l=Q.event.special[p]||{},i||!l.trigger||!1!==l.trigger.apply(e,t))){if(!i&&!l.noBubble&&!b(e)){for(a=l.delegateType||p,xt.test(a+p)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(e.ownerDocument||w)&&h.push(s.defaultView||s.parentWindow||n)}for(r=0;(o=h[r++])&&!A.isPropagationStopped();)d=o,A.type=r>1?a:l.bindType||p,(u=(sA.get(o,"events")||Object.create(null))[A.type]&&sA.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&rA(o)&&(A.result=u.apply(o,t),!1===A.result&&A.preventDefault());return A.type=p,i||A.isDefaultPrevented()||l._default&&!1!==l._default.apply(h.pop(),t)||!rA(e)||c&&B(e[p])&&!b(e)&&((s=e[c])&&(e[c]=null),Q.event.triggered=p,A.isPropagationStopped()&&d.addEventListener(p,Yt),e[p](),A.isPropagationStopped()&&d.removeEventListener(p,Yt),Q.event.triggered=void 0,s&&(e[c]=s)),A.result}},simulate:function(A,t,e){var n=Q.extend(new Q.Event,e,{type:A,isSimulated:!0});Q.event.trigger(n,null,t)}}),Q.fn.extend({trigger:function(A,t){return this.each((function(){Q.event.trigger(A,t,this)}))},triggerHandler:function(A,t){var e=this[0];if(e)return Q.event.trigger(A,t,e,!0)}});var Rt=/\[\]$/,Ft=/\r?\n/g,Wt=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function Pt(A,t,e,n){var i;if(Array.isArray(t))Q.each(t,(function(t,i){e||Rt.test(A)?n(A,i):Pt(A+"["+("object"==typeof i&&null!=i?t:"")+"]",i,e,n)}));else if(e||"object"!==m(t))n(A,t);else for(i in t)Pt(A+"["+i+"]",t[i],e,n)}Q.param=function(A,t){var e,n=[],i=function(A,t){var e=B(t)?t():t;n[n.length]=encodeURIComponent(A)+"="+encodeURIComponent(null==e?"":e)};if(null==A)return"";if(Array.isArray(A)||A.jquery&&!Q.isPlainObject(A))Q.each(A,(function(){i(this.name,this.value)}));else for(e in A)Pt(e,A[e],t,i);return n.join("&")},Q.fn.extend({serialize:function(){return Q.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var A=Q.prop(this,"elements");return A?Q.makeArray(A):this})).filter((function(){var A=this.type;return this.name&&!Q(this).is(":disabled")&&St.test(this.nodeName)&&!Wt.test(A)&&(this.checked||!QA.test(A))})).map((function(A,t){var e=Q(this).val();return null==e?null:Array.isArray(e)?Q.map(e,(function(A){return{name:t.name,value:A.replace(Ft,"\r\n")}})):{name:t.name,value:e.replace(Ft,"\r\n")}})).get()}});var kt=/%20/g,Tt=/#.*$/,Gt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,_t=/^\/\//,qt={},jt={},Ut="*/".concat("*"),Vt=w.createElement("a");function Jt(A){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,r=t.toLowerCase().match(U)||[];if(B(e))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(A[n]=A[n]||[]).unshift(e)):(A[n]=A[n]||[]).push(e)}}function Kt(A,t,e,n){var i={},r=A===jt;function o(s){var a;return i[s]=!0,Q.each(A[s]||[],(function(A,s){var c=s(t,e,n);return"string"!=typeof c||r||i[c]?r?!(a=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),a}return o(t.dataTypes[0])||!i["*"]&&o("*")}function Xt(A,t){var e,n,i=Q.ajaxSettings.flatOptions||{};for(e in t)void 0!==t[e]&&((i[e]?A:n||(n={}))[e]=t[e]);return n&&Q.extend(!0,A,n),A}Vt.href=Dt.href,Q.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Dt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,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":Q.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(A,t){return t?Xt(Xt(A,Q.ajaxSettings),t):Xt(Q.ajaxSettings,A)},ajaxPrefilter:Jt(qt),ajaxTransport:Jt(jt),ajax:function(A,t){"object"==typeof A&&(t=A,A=void 0),t=t||{};var e,i,r,o,s,a,c,u,l,d,f=Q.ajaxSetup({},t),h=f.context||f,p=f.context&&(h.nodeType||h.jquery)?Q(h):Q.event,g=Q.Deferred(),B=Q.Callbacks("once memory"),b=f.statusCode||{},E={},M={},m="canceled",C={readyState:0,getResponseHeader:function(A){var t;if(c){if(!o)for(o={};t=Ht.exec(r);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[A.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(A,t){return null==c&&(A=M[A.toLowerCase()]=M[A.toLowerCase()]||A,E[A]=t),this},overrideMimeType:function(A){return null==c&&(f.mimeType=A),this},statusCode:function(A){var t;if(A)if(c)C.always(A[C.status]);else for(t in A)b[t]=[b[t],A[t]];return this},abort:function(A){var t=A||m;return e&&e.abort(t),v(0,t),this}};if(g.promise(C),f.url=((A||f.url||Dt.href)+"").replace(_t,Dt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(U)||[""],null==f.crossDomain){a=w.createElement("a");try{a.href=f.url,a.href=a.href,f.crossDomain=Vt.protocol+"//"+Vt.host!=a.protocol+"//"+a.host}catch(A){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=Q.param(f.data,f.traditional)),Kt(qt,f,t,C),c)return C;for(l in(u=Q.event&&f.global)&&0==Q.active++&&Q.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Nt.test(f.type),i=f.url.replace(Tt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(kt,"+")):(d=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(Ot.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(Gt,"$1"),d=(Ot.test(i)?"&":"?")+"_="+Lt.guid+++d),f.url=i+d),f.ifModified&&(Q.lastModified[i]&&C.setRequestHeader("If-Modified-Since",Q.lastModified[i]),Q.etag[i]&&C.setRequestHeader("If-None-Match",Q.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ut+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(l,f.headers[l]);if(f.beforeSend&&(!1===f.beforeSend.call(h,C,f)||c))return C.abort();if(m="abort",B.add(f.complete),C.done(f.success),C.fail(f.error),e=Kt(jt,f,t,C)){if(C.readyState=1,u&&p.trigger("ajaxSend",[C,f]),c)return C;f.async&&f.timeout>0&&(s=n.setTimeout((function(){C.abort("timeout")}),f.timeout));try{c=!1,e.send(E,v)}catch(A){if(c)throw A;v(-1,A)}}else v(-1,"No Transport");function v(A,t,o,a){var l,d,w,E,M,m=t;c||(c=!0,s&&n.clearTimeout(s),e=void 0,r=a||"",C.readyState=A>0?4:0,l=A>=200&&A<300||304===A,o&&(E=function(A,t,e){for(var n,i,r,o,s=A.contents,a=A.dataTypes;"*"===a[0];)a.shift(),void 0===n&&(n=A.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){a.unshift(i);break}if(a[0]in e)r=a[0];else{for(i in e){if(!a[0]||A.converters[i+" "+a[0]]){r=i;break}o||(o=i)}r=r||o}if(r)return r!==a[0]&&a.unshift(r),e[r]}(f,C,o)),!l&&Q.inArray("script",f.dataTypes)>-1&&Q.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),E=function(A,t,e,n){var i,r,o,s,a,c={},u=A.dataTypes.slice();if(u[1])for(o in A.converters)c[o.toLowerCase()]=A.converters[o];for(r=u.shift();r;)if(A.responseFields[r]&&(e[A.responseFields[r]]=t),!a&&n&&A.dataFilter&&(t=A.dataFilter(t,A.dataType)),a=r,r=u.shift())if("*"===r)r=a;else if("*"!==a&&a!==r){if(!(o=c[a+" "+r]||c["* "+r]))for(i in c)if((s=i.split(" "))[1]===r&&(o=c[a+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[i]:!0!==c[i]&&(r=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&A.throws)t=o(t);else try{t=o(t)}catch(A){return{state:"parsererror",error:o?A:"No conversion from "+a+" to "+r}}}return{state:"success",data:t}}(f,E,C,l),l?(f.ifModified&&((M=C.getResponseHeader("Last-Modified"))&&(Q.lastModified[i]=M),(M=C.getResponseHeader("etag"))&&(Q.etag[i]=M)),204===A||"HEAD"===f.type?m="nocontent":304===A?m="notmodified":(m=E.state,d=E.data,l=!(w=E.error))):(w=m,!A&&m||(m="error",A<0&&(A=0))),C.status=A,C.statusText=(t||m)+"",l?g.resolveWith(h,[d,m,C]):g.rejectWith(h,[C,m,w]),C.statusCode(b),b=void 0,u&&p.trigger(l?"ajaxSuccess":"ajaxError",[C,f,l?d:w]),B.fireWith(h,[C,m]),u&&(p.trigger("ajaxComplete",[C,f]),--Q.active||Q.event.trigger("ajaxStop")))}return C},getJSON:function(A,t,e){return Q.get(A,t,e,"json")},getScript:function(A,t){return Q.get(A,void 0,t,"script")}}),Q.each(["get","post"],(function(A,t){Q[t]=function(A,e,n,i){return B(e)&&(i=i||n,n=e,e=void 0),Q.ajax(Q.extend({url:A,type:t,dataType:i,data:e,success:n},Q.isPlainObject(A)&&A))}})),Q.ajaxPrefilter((function(A){var t;for(t in A.headers)"content-type"===t.toLowerCase()&&(A.contentType=A.headers[t]||"")})),Q._evalUrl=function(A,t,e){return Q.ajax({url:A,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(A){Q.globalEval(A,t,e)}})},Q.fn.extend({wrapAll:function(A){var t;return this[0]&&(B(A)&&(A=A.call(this[0])),t=Q(A,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var A=this;A.firstElementChild;)A=A.firstElementChild;return A})).append(this)),this},wrapInner:function(A){return B(A)?this.each((function(t){Q(this).wrapInner(A.call(this,t))})):this.each((function(){var t=Q(this),e=t.contents();e.length?e.wrapAll(A):t.append(A)}))},wrap:function(A){var t=B(A);return this.each((function(e){Q(this).wrapAll(t?A.call(this,e):A)}))},unwrap:function(A){return this.parent(A).not("body").each((function(){Q(this).replaceWith(this.childNodes)})),this}}),Q.expr.pseudos.hidden=function(A){return!Q.expr.pseudos.visible(A)},Q.expr.pseudos.visible=function(A){return!!(A.offsetWidth||A.offsetHeight||A.getClientRects().length)},Q.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(A){}};var Zt={0:200,1223:204},$t=Q.ajaxSettings.xhr();g.cors=!!$t&&"withCredentials"in $t,g.ajax=$t=!!$t,Q.ajaxTransport((function(A){var t,e;if(g.cors||$t&&!A.crossDomain)return{send:function(i,r){var o,s=A.xhr();if(s.open(A.type,A.url,A.async,A.username,A.password),A.xhrFields)for(o in A.xhrFields)s[o]=A.xhrFields[o];for(o in A.mimeType&&s.overrideMimeType&&s.overrideMimeType(A.mimeType),A.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);t=function(A){return function(){t&&(t=e=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===A?s.abort():"error"===A?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),e=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=e:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&e()}))},t=t("abort");try{s.send(A.hasContent&&A.data||null)}catch(A){if(t)throw A}},abort:function(){t&&t()}}})),Q.ajaxPrefilter((function(A){A.crossDomain&&(A.contents.script=!1)})),Q.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(A){return Q.globalEval(A),A}}}),Q.ajaxPrefilter("script",(function(A){void 0===A.cache&&(A.cache=!1),A.crossDomain&&(A.type="GET")})),Q.ajaxTransport("script",(function(A){var t,e;if(A.crossDomain||A.scriptAttrs)return{send:function(n,i){t=Q("