ep-lib-ts 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/basics/EpBadge.vue.d.ts +38 -4
- package/dist/components/basics/EpBtn.vue.d.ts +108 -4
- package/dist/components/basics/EpCard.vue.d.ts +95 -4
- package/dist/components/basics/EpChip.vue.d.ts +72 -4
- package/dist/components/basics/EpDivider.vue.d.ts +51 -4
- package/dist/components/basics/EpFlex.vue.d.ts +9 -4
- package/dist/components/basics/EpIcon.vue.d.ts +37 -4
- package/dist/components/basics/EpImg.vue.d.ts +76 -4
- package/dist/components/basics/EpSection.vue.d.ts +84 -4
- package/dist/components/basics/EpSpinner.vue.d.ts +32 -4
- package/dist/components/basics/EpTable.vue.d.ts +24 -4
- package/dist/components/basics/EpText.vue.d.ts +30 -4
- package/dist/components/charts/EpBarChart.vue.d.ts +82 -4
- package/dist/components/charts/EpLineChart.vue.d.ts +82 -4
- package/dist/components/charts/EpPieChart.vue.d.ts +1 -2
- package/dist/components/educationals/EpEdu.vue.d.ts +80 -4
- package/dist/components/educationals/EpReading.vue.d.ts +151 -4
- package/dist/components/educationals/EpScope.vue.d.ts +14 -4
- package/dist/components/interactions/EpAccordeon.vue.d.ts +53 -4
- package/dist/components/interactions/EpContentSlider.vue.d.ts +2 -5
- package/dist/components/interactions/EpModal.vue.d.ts +70 -5
- package/dist/components/interactions/EpQuestion.vue.d.ts +1 -2
- package/dist/components/interactions/EpTabs.vue.d.ts +2 -0
- package/dist/components/medias/EpAudio.vue.d.ts +79 -4
- package/dist/components/medias/EpCarousel.vue.d.ts +31 -4
- package/dist/components/medias/EpIframe.vue.d.ts +58 -4
- package/dist/components/medias/EpKatex.vue.d.ts +51 -4
- package/dist/components/medias/EpLink.vue.d.ts +73 -4
- package/dist/components/medias/EpSoftware.vue.d.ts +88 -4
- package/dist/components/medias/EpSvg.vue.d.ts +1 -2
- package/dist/components/medias/EpTerm.vue.d.ts +80 -4
- package/dist/components/medias/EpTimeLine.vue.d.ts +1 -2
- package/dist/components/medias/EpVideo.vue.d.ts +64 -4
- package/dist/components/medias/EpVideoPanopto.vue.d.ts +64 -4
- package/dist/components/signages/EpAlert.vue.d.ts +63 -4
- package/dist/components/signages/EpHeader.vue.d.ts +101 -4
- package/dist/components/signages/EpQuote.vue.d.ts +39 -4
- package/dist/components/tools/BgAudio.vue.d.ts +14 -4
- package/dist/components/tools/DisplayBox.vue.d.ts +17 -4
- package/dist/ep-lib-ts.js +27411 -0
- package/dist/ep-lib-ts.umd.cjs +1005 -0
- package/dist/index.d.ts +37 -1
- package/dist/{ep-lib-ts.css → style.css} +1 -1
- package/package.json +25 -23
- package/src/components/basics/EpBadge.vue +48 -0
- package/src/components/basics/EpBtn.vue +100 -0
- package/src/components/basics/EpCard.vue +95 -0
- package/src/components/basics/EpChip.vue +81 -0
- package/src/components/basics/EpDivider.vue +40 -0
- package/src/components/basics/EpFlex.vue +42 -0
- package/src/components/basics/EpIcon.vue +25 -0
- package/src/components/basics/EpImg.vue +59 -0
- package/src/components/basics/EpSection.vue +238 -0
- package/src/components/basics/EpSpinner.vue +47 -0
- package/src/components/basics/EpTable.vue +33 -0
- package/src/components/basics/EpText.vue +85 -0
- package/src/components/charts/EpBarChart.vue +82 -0
- package/src/components/charts/EpLineChart.vue +92 -0
- package/src/components/charts/EpPieChart.vue +8 -0
- package/src/components/educationals/EpEdu.vue +93 -0
- package/src/components/educationals/EpReading.vue +234 -0
- package/src/components/educationals/EpScope.vue +25 -0
- package/src/components/forms/EpCheckbox.vue +49 -0
- package/src/components/forms/EpInput.vue +178 -0
- package/src/components/forms/EpRadio.vue +72 -0
- package/src/components/forms/EpSelect.vue +145 -0
- package/src/components/forms/EpSwitch.vue +58 -0
- package/src/components/forms/EpTextarea.vue +79 -0
- package/src/components/forms/EpToggle.vue +97 -0
- package/src/components/interactions/EpAccordeon.vue +88 -0
- package/src/components/interactions/EpContentSlider.vue +12 -0
- package/src/components/interactions/EpModal.vue +117 -0
- package/src/components/interactions/EpQuestion.vue +8 -0
- package/src/components/interactions/EpTabs.vue +10 -0
- package/src/components/medias/EpAudio.vue +83 -0
- package/src/components/medias/EpCarousel.vue +84 -0
- package/src/components/medias/EpIframe.vue +57 -0
- package/src/components/medias/EpKatex.vue +75 -0
- package/src/components/medias/EpLink.vue +62 -0
- package/src/components/medias/EpSoftware.vue +89 -0
- package/src/components/medias/EpSvg.vue +8 -0
- package/src/components/medias/EpTerm.vue +145 -0
- package/src/components/medias/EpTimeLine.vue +8 -0
- package/src/components/medias/EpVideo.vue +77 -0
- package/src/components/medias/EpVideoPanopto.vue +62 -0
- package/src/components/signages/EpAlert.vue +70 -0
- package/src/components/signages/EpHeader.vue +223 -0
- package/src/components/signages/EpQuote.vue +48 -0
- package/src/components/tools/BgAudio.vue +51 -0
- package/src/components/tools/DisplayBox.vue +37 -0
- package/dist/components/basics/EpBadge.vue.d.ts.map +0 -1
- package/dist/components/basics/EpBtn.vue.d.ts.map +0 -1
- package/dist/components/basics/EpCard.vue.d.ts.map +0 -1
- package/dist/components/basics/EpChip.vue.d.ts.map +0 -1
- package/dist/components/basics/EpDivider.vue.d.ts.map +0 -1
- package/dist/components/basics/EpFlex.vue.d.ts.map +0 -1
- package/dist/components/basics/EpIcon.vue.d.ts.map +0 -1
- package/dist/components/basics/EpImg.vue.d.ts.map +0 -1
- package/dist/components/basics/EpSection.vue.d.ts.map +0 -1
- package/dist/components/basics/EpSpinner.vue.d.ts.map +0 -1
- package/dist/components/basics/EpTable.vue.d.ts.map +0 -1
- package/dist/components/basics/EpText.vue.d.ts.map +0 -1
- package/dist/components/charts/EpBarChart.vue.d.ts.map +0 -1
- package/dist/components/charts/EpLineChart.vue.d.ts.map +0 -1
- package/dist/components/charts/EpPieChart.vue.d.ts.map +0 -1
- package/dist/components/educationals/EpEdu.vue.d.ts.map +0 -1
- package/dist/components/educationals/EpReading.vue.d.ts.map +0 -1
- package/dist/components/educationals/EpScope.vue.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -38
- package/dist/components/interactions/EpAccordeon.vue.d.ts.map +0 -1
- package/dist/components/interactions/EpContentSlider.vue.d.ts.map +0 -1
- package/dist/components/interactions/EpModal.vue.d.ts.map +0 -1
- package/dist/components/interactions/EpQuestion.vue.d.ts.map +0 -1
- package/dist/components/main.d.ts +0 -7
- package/dist/components/medias/EpAudio.vue.d.ts.map +0 -1
- package/dist/components/medias/EpCarousel.vue.d.ts.map +0 -1
- package/dist/components/medias/EpIframe.vue.d.ts.map +0 -1
- package/dist/components/medias/EpKatex.vue.d.ts.map +0 -1
- package/dist/components/medias/EpLink.vue.d.ts.map +0 -1
- package/dist/components/medias/EpLinkVersion.vue.d.ts +0 -3
- package/dist/components/medias/EpLinkVersion.vue.d.ts.map +0 -1
- package/dist/components/medias/EpResource.vue.d.ts +0 -3
- package/dist/components/medias/EpResource.vue.d.ts.map +0 -1
- package/dist/components/medias/EpSoftware.vue.d.ts.map +0 -1
- package/dist/components/medias/EpSvg.vue.d.ts.map +0 -1
- package/dist/components/medias/EpTerm.vue.d.ts.map +0 -1
- package/dist/components/medias/EpTimeLine.vue.d.ts.map +0 -1
- package/dist/components/medias/EpVideo.vue.d.ts.map +0 -1
- package/dist/components/medias/EpVideoPanopto.vue.d.ts.map +0 -1
- package/dist/components/signages/EpAlert.vue.d.ts.map +0 -1
- package/dist/components/signages/EpHeader.vue.d.ts.map +0 -1
- package/dist/components/signages/EpQuote.vue.d.ts.map +0 -1
- package/dist/components/tools/BgAudio.vue.d.ts.map +0 -1
- package/dist/components/tools/DisplayBox.vue.d.ts.map +0 -1
- package/dist/ep-lib-ts.cjs.js +0 -984
- package/dist/ep-lib-ts.es.js +0 -22617
- package/dist/ep-lib-ts.umd.js +0 -985
package/dist/ep-lib-ts.umd.js
DELETED
|
@@ -1,985 +0,0 @@
|
|
|
1
|
-
(function(vt,ee){typeof exports=="object"&&typeof module<"u"?ee(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],ee):(vt=typeof globalThis<"u"?globalThis:vt||self,ee(vt.epLibTs={},vt.Vue))})(this,function(vt,ee){"use strict";var Mi=document.createElement("style");Mi.textContent=`.modal-mask{position:fixed;z-index:9998;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;transition:opacity .3s ease}.modal-container{margin:auto;transition:all .3s ease;z-index:9999}.modal-header h3{margin-top:0;color:#42b983}.modal-body{margin:20px 0}.modal-default-button{float:right}.modal-enter-from,.modal-leave-to{opacity:0}.modal-enter-from .modal-container,.modal-leave-to .modal-container{transform:scale(1.1)}.content[data-v-d8f20f72]{max-height:0;overflow:hidden}#scroll-content{min-width:100%}.v-enter-active[data-v-b6f21f1c],.v-leave-active[data-v-b6f21f1c]{transition:opacity .5s ease}.v-enter-from[data-v-b6f21f1c],.v-leave-to[data-v-b6f21f1c]{opacity:0}.katex[data-v-8d1e7f22]{font-size:1.3em}
|
|
2
|
-
`,document.head.appendChild(Mi);const ho={class:"p-12 bg-warning-light w-[50%] mx-auto border-2 border-warning"},uo=[ee.createElementVNode("p",{class:"text-center text-error font-bold uppercase"},"In progress",-1)],Ei=ee.defineComponent({__name:"EpBadge",setup(c){return(a,o)=>(ee.openBlock(),ee.createElementBlock("div",ho,uo))}}),po=["width","height","viewBox"],fo=["d"],Zt=ee.defineComponent({__name:"EpIcon",props:{size:{default:32},viewBox:{default:"0 0 24 24"},iconPath:null,extraClass:null},setup(c){const a=c,{size:o,viewBox:u,iconPath:f,extraClass:m}=ee.toRefs(a);return(k,w)=>(ee.openBlock(),ee.createElementBlock("svg",{width:ee.unref(o),height:ee.unref(o),viewBox:ee.unref(u),color:"currentColor",fill:"currentColor",class:ee.normalizeClass(`inline ${ee.unref(m)}`)},[ee.createElementVNode("path",{d:ee.unref(f)},null,8,fo)],10,po))}}),go={bgprimary:"bg-primary",borderprimary:"border border-solid border-primary",fillprimary:"fill-primary",textprimary:"text-primary",bgprimarylight:"bg-primary-light",borderprimarylight:"border border-solid border-primary-light",fillprimarylight:"fill-primary-light",textprimarylight:"text-primary-light",bgprimarydark:"bg-primary-dark",borderprimarydark:"border border-solid border-primary-dark",fillprimarydark:"fill-primary-dark",textprimarydark:"text-primary-dark",bgsecondary:"bg-secondary",bordersecondary:"border border-solid border-secondary",fillsecondary:"fill-secondary",textsecondary:"text-secondary",bgsecondarylight:"bg-secondary-light",bordersecondarylight:"border border-solid border-secondary-light",fillsecondarylight:"fill-secondary-light",textsecondarylight:"text-secondary-light",bgsecondarydark:"bg-secondary-dark",bordersecondarydark:"border border-solid border-secondary-dark",fillsecondarydark:"fill-secondary-dark",textsecondarydark:"text-secondary-dark",bgaccent:"bg-accent",borderaccent:"border border-solid border-accent",fillaccent:"fill-accent",textaccent:"text-accent",bgaccentlight:"bg-accent-light",borderaccentlight:"border border-solid border-accent-light",fillaccentlight:"fill-accent-light",textaccentlight:"text-accent-light",bgaccentdark:"bg-accent-dark",borderaccentdark:"border border-solid border-accent-dark",fillaccentdark:"fill-accent-dark",textaccentdark:"text-accent-dark",bgerror:"bg-error",bordererror:"border border-solid border-error",fillerror:"fill-error",texterror:"text-error",bgerrorlight:"bg-error-light",bordererrorlight:"border border-solid border-error-light",fillerrorlight:"fill-error-light",texterrorlight:"text-error-light",bgerrordark:"bg-error-dark",bordererrordark:"border border-solid border-error-dark",fillerrordark:"fill-error-dark",texterrordark:"text-error-dark",bgwarning:"bg-warning",borderwarning:"border border-solid border-warning",fillwarning:"fill-warning",textwarning:"text-warning",bgwarninglight:"bg-warning-light",borderwarninglight:"border border-solid border-warning-light",fillwarninglight:"fill-warning-light",textwarninglight:"text-warning-light",bgwarningdark:"bg-warning-dark",borderwarningdark:"border border-solid border-warning-dark",fillwarningdark:"fill-warning-dark",textwarningdark:"text-warning-dark",bgsuccess:"bg-success",bordersuccess:"border border-solid border-success",fillsuccess:"fill-success",textsuccess:"text-success",bgsuccesslight:"bg-success-light",bordersuccesslight:"border border-solid border-success-light",fillsuccesslight:"fill-success-light",textsuccesslight:"text-success-light",bgsuccessdark:"bg-success-dark",bordersuccessdark:"border border-solid border-success-dark",fillsuccessdark:"fill-success-dark",textsuccessdark:"text-success-dark",bginfo:"bg-info",borderinfo:"border border-solid border-info",fillinfo:"fill-info",textinfo:"text-info",bginfolight:"bg-info-light",borderinfolight:"border border-solid border-info-light",fillinfolight:"fill-info-light",textinfolight:"text-info-light",bginfodark:"bg-info-dark",borderinfodark:"border border-solid border-info-dark",fillinfodark:"fill-info-dark",textinfodark:"text-info-dark",bgquestion:"bg-question",borderquestion:"border border-solid border-question",fillquestion:"fill-question",textquestion:"text-question",bgquestionlight:"bg-question-light",borderquestionlight:"border border-solid border-question-light",fillquestionlight:"fill-question-light",textquestionlight:"text-question-light",bgquestiondark:"bg-question-dark",borderquestiondark:"border border-solid border-question-dark",fillquestiondark:"fill-question-dark",textquestiondark:"text-question-dark",bgtip:"bg-tip",bordertip:"border border-solid border-tip",filltip:"fill-tip",texttip:"text-tip",bgtiplight:"bg-tip-light",bordertiplight:"border border-solid border-tip-light",filltiplight:"fill-tip-light",texttiplight:"text-tip-light",bgtipdark:"bg-tip-dark",bordertipdark:"border border-solid border-tip-dark",filltipdark:"fill-tip-dark",texttipdark:"text-tip-dark",bgwhite:"bg-white",fillwhite:"fill-white",textwhite:"text-white",borderwhite:"border border-solid border-white",bgblack:"bg-black",fillblack:"fill-black",borderblack:"border border-solid border-black",textblack:"text-black",bgbase:"bg-gray-500",bgbaselight:"bg-gray-200",fillbase:"fill-gray-500",borderbase:"border border-solid border-gray-500",textbase:"text-gray-500"};function Ir(c,a){const u=`${c}${a}`.replace(/-/g,"");return go[u]}const mo={base:{default:"bg-gray-100 text-black hover:bg-gray-200",outlined:"bg-white ring-1 ring-grey-200 ring-inset text-black hover:bg-gray-200"},primary:{default:"bg-primary hover:bg-primary-light hover:text-primary-dark",outlined:"ring-1 ring-primary ring-inset text-primary hover:bg-primary-light hover:text-primary-dark"},secondary:{default:"bg-secondary hover:bg-secondary-light hover:text-secondary-dark",outlined:"ring-1 ring-secondary ring-inset text-secondary hover:bg-secondary-light hover:text-secondary-dark"},accent:{default:"bg-accent hover:bg-accent-light hover:text-accent-dark",outlined:"ring-1 ring-accent ring-inset text-accent hover:bg-accent-light hover:text-accent-dark"},info:{default:"bg-info hover:bg-info-light hover:text-info-dark",outlined:"ring-1 ring-info ring-inset text-info hover:bg-info-light hover:text-info-dark"},warning:{default:"bg-warning hover:bg-warning-light hover:text-warning-dark",outlined:"ring-1 ring-warning ring-inset text-warning hover:bg-warning-light hover:text-warning-dark"},success:{default:"bg-success hover:bg-success-light hover:text-success-dark",outlined:"ring-1 ring-success ring-inset text-success hover:bg-success-light hover:text-success-dark"},error:{default:"bg-error hover:bg-error-light hover:text-error-dark",outlined:"ring-1 ring-error ring-inset text-error hover:bg-error-light hover:text-error-dark"}},xo={small:"px-2 py-1 text-sm",medium:"px-4 py-2",large:"px-8 py-4 text-lg"},bo=["disabled"],vo=["disabled","href"],Di=ee.defineComponent({__name:"EpBtn",props:{type:{default:"base"},disabled:{type:Boolean},block:{type:Boolean},rounded:{type:Boolean,default:!1},size:{default:"medium"},appendIcon:{default:null},prependIcon:{default:null},outlined:{type:Boolean},text:{type:Boolean,default:!1},color:{default:"text-black"},extraClass:{default:null},href:null},setup(c){const a=c,o=ee.computed(()=>a.outlined?"":a.color),u=ee.computed(()=>a.outlined?"outlined":"default"),f=ee.computed(()=>{var F;return a.text?`uppercase ${Ir("text",a.type)} hover:${Ir("bg",a.type+"light")}`:`${(F=mo[a.type])==null?void 0:F[u.value]}`}),m=ee.computed(()=>`
|
|
3
|
-
transition
|
|
4
|
-
${f.value}
|
|
5
|
-
${xo[a.size]}
|
|
6
|
-
${o.value}
|
|
7
|
-
${a.disabled?"opacity-50":""}
|
|
8
|
-
${a.block?"w-full block":""}
|
|
9
|
-
${a.rounded?"rounded-md":""}
|
|
10
|
-
${a.extraClass?a.extraClass:"transition"}`),k=ee.computed(()=>{if(a.size==="large")return"30";if(a.size==="medium")return"20";if(a.size==="small")return"15"}),{disabled:w,prependIcon:S,appendIcon:D}=ee.toRefs(a);return(F,H)=>c.href?(ee.openBlock(),ee.createElementBlock("a",{key:1,class:ee.normalizeClass(`${ee.unref(m)} text-center inline-block`),disabled:ee.unref(w),href:c.href,target:"_blank"},[ee.unref(S)?(ee.openBlock(),ee.createBlock(Zt,{key:0,iconPath:ee.unref(S),size:ee.unref(k),extraClass:"mr-2"},null,8,["iconPath","size"])):ee.createCommentVNode("",!0),ee.renderSlot(F.$slots,"default"),ee.unref(D)?(ee.openBlock(),ee.createBlock(Zt,{key:1,iconPath:ee.unref(D),size:ee.unref(k),extraClass:"ml-2"},null,8,["iconPath","size"])):ee.createCommentVNode("",!0)],10,vo)):(ee.openBlock(),ee.createElementBlock("button",{key:0,class:ee.normalizeClass(ee.unref(m)),disabled:ee.unref(w)},[ee.unref(S)?(ee.openBlock(),ee.createBlock(Zt,{key:0,iconPath:ee.unref(S),size:ee.unref(k),extraClass:"mr-2"},null,8,["iconPath","size"])):ee.createCommentVNode("",!0),ee.renderSlot(F.$slots,"default"),ee.unref(D)?(ee.openBlock(),ee.createBlock(Zt,{key:1,iconPath:ee.unref(D),size:ee.unref(k),extraClass:"ml-2"},null,8,["iconPath","size"])):ee.createCommentVNode("",!0)],10,bo))}}),yo={compact:"p-0",default:"p-4",comfortable:"p-8"},wo=["src"],ko={key:0,class:"mb-2 flex items-center justify-between"},Ao={class:"text-2xl font-bold"},So={key:0},Pi=ee.defineComponent({__name:"EpCard",props:{title:{default:null},subtitle:{default:null},outlined:{type:Boolean,default:!1},flat:{type:Boolean,default:!1},icon:{default:null},color:{default:null},src:{default:null},maxWidth:{default:"max-w-full"},density:{default:"default"}},setup(c){const a=c,o=ee.computed(()=>a.flat?"":"shadow-lg"),u=ee.computed(()=>a.outlined&&a.color?`border solid ${Ir("border",a.color)}`:a.outlined?"border solid border-grey-700":""),f=ee.computed(()=>a.color&&!a.outlined?`${Ir("bg",a.color)} text-white`:"bg-white text-black"),m=ee.computed(()=>a.color&&!a.outlined?"text-white":"text-gray-600"),k=ee.computed(()=>yo[a.density]),w=ee.computed(()=>`${o.value} ${u.value} ${f.value} ${a.maxWidth} my-4 `),{title:S,subtitle:D,icon:F,src:H,density:Y}=ee.toRefs(a);return(q,Z)=>(ee.openBlock(),ee.createElementBlock("div",{class:ee.normalizeClass(`${ee.unref(w)} rounded-md`)},[ee.unref(H)?(ee.openBlock(),ee.createElementBlock("img",{key:0,src:ee.unref(H),class:"w-full rounded-t-md",alt:"header card"},null,8,wo)):ee.createCommentVNode("",!0),ee.createElementVNode("div",{class:ee.normalizeClass(ee.unref(k))},[ee.unref(S)||ee.unref(D)?(ee.openBlock(),ee.createElementBlock("div",ko,[ee.createElementVNode("div",null,[ee.createElementVNode("h3",Ao,ee.toDisplayString(ee.unref(S)),1),ee.createElementVNode("h4",{class:ee.normalizeClass(`text-xs ${ee.unref(m)}`)},ee.toDisplayString(ee.unref(D)),3)]),ee.unref(F)?(ee.openBlock(),ee.createElementBlock("div",So,[ee.createVNode(Zt,{"icon-path":ee.unref(F)},null,8,["icon-path"])])):ee.createCommentVNode("",!0)])):ee.createCommentVNode("",!0),ee.renderSlot(q.$slots,"card-header"),ee.renderSlot(q.$slots,"default"),ee.renderSlot(q.$slots,"card-actions")],2)],2))}}),Co={base:{default:"bg-white border-black border text-black",outlined:"bg-white border-black border text-black"},primary:{default:"bg-primary border-primary border",outlined:"border-primary border text-primary"},secondary:{default:"bg-secondary border-secondary border",outlined:"border-secondary border text-secondary"},accent:{default:"bg-accent border-accent border",outlined:"border-accent border text-accent"},info:{default:"bg-info border-info border",outlined:"border-info border text-info"},warning:{default:"bg-warning border-warning border",outlined:"border-warning border text-warning"},success:{default:"bg-success border-success border",outlined:"border-success border text-success"},error:{default:"bg-error border-error border",outlined:"border-error border text-error"}},zo={small:"px-1 py-1 text-xs",medium:"py-2 px-3 text-sm",large:"px-3 py-3 text-lg"},Ii=ee.defineComponent({__name:"EpChip",props:{type:{default:"base"},size:{default:"medium"},outlined:{type:Boolean},appendIcon:{default:null},prependIcon:{default:null},square:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},setup(c){const a=c,o=ee.computed(()=>a.outlined?"outlined":"default"),u=ee.computed(()=>a.square?"":"rounded-full"),f=ee.computed(()=>a.outlined?"":a.dark?"text-white":"text-black"),m=ee.computed(()=>{var S;return`
|
|
11
|
-
${f.value}
|
|
12
|
-
${zo[a.size]}
|
|
13
|
-
${u.value}
|
|
14
|
-
${(S=Co[a.type])==null?void 0:S[o.value]}
|
|
15
|
-
`}),k=ee.computed(()=>{if(a.size==="large")return"30";if(a.size==="medium")return"20";if(a.size==="small")return"15"}),{appendIcon:w}=ee.toRefs(a);return(S,D)=>(ee.openBlock(),ee.createElementBlock("span",{class:ee.normalizeClass(`${ee.unref(m)} mx-2 cursor-default`)},[c.prependIcon?(ee.openBlock(),ee.createBlock(Zt,{key:0,iconPath:c.prependIcon,size:ee.unref(k),extraClass:"mr-2"},null,8,["iconPath","size"])):ee.createCommentVNode("",!0),ee.renderSlot(S.$slots,"default"),ee.unref(w)?(ee.openBlock(),ee.createBlock(Zt,{key:1,iconPath:ee.unref(w),size:ee.unref(k),extraClass:"ml-2"},null,8,["iconPath","size"])):ee.createCommentVNode("",!0)],2))}}),Eu="";function To(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}function Lo(c){if(c.__esModule)return c;var a=c.default;if(typeof a=="function"){var o=function u(){if(this instanceof u){var f=[null];f.push.apply(f,arguments);var m=Function.bind.apply(a,f);return new m}return a.apply(this,arguments)};o.prototype=a.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(c).forEach(function(u){var f=Object.getOwnPropertyDescriptor(c,u);Object.defineProperty(o,u,f.get?f:{enumerable:!0,get:function(){return c[u]}})}),o}var ba={},Mo={get exports(){return ba},set exports(c){ba=c}},_e={},Rr={},Eo={get exports(){return Rr},set exports(c){Rr=c}};const Do={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
16
|
-
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""};(function(c){c.exports=Do})(Eo);var va=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,nr={},Ri={};function Po(c){var a,o,u=Ri[c];if(u)return u;for(u=Ri[c]=[],a=0;a<128;a++)o=String.fromCharCode(a),/^[0-9a-z]$/i.test(o)?u.push(o):u.push("%"+("0"+a.toString(16).toUpperCase()).slice(-2));for(a=0;a<c.length;a++)u[c.charCodeAt(a)]=c[a];return u}function Fr(c,a,o){var u,f,m,k,w,S="";for(typeof a!="string"&&(o=a,a=Fr.defaultChars),typeof o>"u"&&(o=!0),w=Po(a),u=0,f=c.length;u<f;u++){if(m=c.charCodeAt(u),o&&m===37&&u+2<f&&/^[0-9a-f]{2}$/i.test(c.slice(u+1,u+3))){S+=c.slice(u,u+3),u+=2;continue}if(m<128){S+=w[m];continue}if(m>=55296&&m<=57343){if(m>=55296&&m<=56319&&u+1<f&&(k=c.charCodeAt(u+1),k>=56320&&k<=57343)){S+=encodeURIComponent(c[u]+c[u+1]),u++;continue}S+="%EF%BF%BD";continue}S+=encodeURIComponent(c[u])}return S}Fr.defaultChars=";/?:@&=+$,-_.!~*'()#",Fr.componentChars="-_.!~*'()";var Io=Fr,Fi={};function Ro(c){var a,o,u=Fi[c];if(u)return u;for(u=Fi[c]=[],a=0;a<128;a++)o=String.fromCharCode(a),u.push(o);for(a=0;a<c.length;a++)o=c.charCodeAt(a),u[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2);return u}function _r(c,a){var o;return typeof a!="string"&&(a=_r.defaultChars),o=Ro(a),c.replace(/(%[a-f0-9]{2})+/gi,function(u){var f,m,k,w,S,D,F,H="";for(f=0,m=u.length;f<m;f+=3){if(k=parseInt(u.slice(f+1,f+3),16),k<128){H+=o[k];continue}if((k&224)===192&&f+3<m&&(w=parseInt(u.slice(f+4,f+6),16),(w&192)===128)){F=k<<6&1984|w&63,F<128?H+="��":H+=String.fromCharCode(F),f+=3;continue}if((k&240)===224&&f+6<m&&(w=parseInt(u.slice(f+4,f+6),16),S=parseInt(u.slice(f+7,f+9),16),(w&192)===128&&(S&192)===128)){F=k<<12&61440|w<<6&4032|S&63,F<2048||F>=55296&&F<=57343?H+="���":H+=String.fromCharCode(F),f+=6;continue}if((k&248)===240&&f+9<m&&(w=parseInt(u.slice(f+4,f+6),16),S=parseInt(u.slice(f+7,f+9),16),D=parseInt(u.slice(f+10,f+12),16),(w&192)===128&&(S&192)===128&&(D&192)===128)){F=k<<18&1835008|w<<12&258048|S<<6&4032|D&63,F<65536||F>1114111?H+="����":(F-=65536,H+=String.fromCharCode(55296+(F>>10),56320+(F&1023))),f+=9;continue}H+="�"}return H})}_r.defaultChars=";/?:@&=+$,#",_r.componentChars="";var Fo=_r,_o=function(a){var o="";return o+=a.protocol||"",o+=a.slashes?"//":"",o+=a.auth?a.auth+"@":"",a.hostname&&a.hostname.indexOf(":")!==-1?o+="["+a.hostname+"]":o+=a.hostname||"",o+=a.port?":"+a.port:"",o+=a.pathname||"",o+=a.search||"",o+=a.hash||"",o};function Br(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Bo=/^([a-z0-9.+-]+:)/i,No=/:[0-9]*$/,Oo=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ho=["<",">",'"',"`"," ","\r",`
|
|
17
|
-
`," "],qo=["{","}","|","\\","^","`"].concat(Ho),Xo=["'"].concat(qo),_i=["%","/","?",";","#"].concat(Xo),Bi=["/","?","#"],Yo=255,Ni=/^[+a-z0-9A-Z_-]{0,63}$/,Vo=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Oi={javascript:!0,"javascript:":!0},Hi={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Wo(c,a){if(c&&c instanceof Br)return c;var o=new Br;return o.parse(c,a),o}Br.prototype.parse=function(c,a){var o,u,f,m,k,w=c;if(w=w.trim(),!a&&c.split("#").length===1){var S=Oo.exec(w);if(S)return this.pathname=S[1],S[2]&&(this.search=S[2]),this}var D=Bo.exec(w);if(D&&(D=D[0],f=D.toLowerCase(),this.protocol=D,w=w.substr(D.length)),(a||D||w.match(/^\/\/[^@\/]+@[^@\/]+/))&&(k=w.substr(0,2)==="//",k&&!(D&&Oi[D])&&(w=w.substr(2),this.slashes=!0)),!Oi[D]&&(k||D&&!Hi[D])){var F=-1;for(o=0;o<Bi.length;o++)m=w.indexOf(Bi[o]),m!==-1&&(F===-1||m<F)&&(F=m);var H,Y;for(F===-1?Y=w.lastIndexOf("@"):Y=w.lastIndexOf("@",F),Y!==-1&&(H=w.slice(0,Y),w=w.slice(Y+1),this.auth=H),F=-1,o=0;o<_i.length;o++)m=w.indexOf(_i[o]),m!==-1&&(F===-1||m<F)&&(F=m);F===-1&&(F=w.length),w[F-1]===":"&&F--;var q=w.slice(0,F);w=w.slice(F),this.parseHost(q),this.hostname=this.hostname||"";var Z=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Z){var J=this.hostname.split(/\./);for(o=0,u=J.length;o<u;o++){var ae=J[o];if(ae&&!ae.match(Ni)){for(var K="",O=0,se=ae.length;O<se;O++)ae.charCodeAt(O)>127?K+="x":K+=ae[O];if(!K.match(Ni)){var le=J.slice(0,o),U=J.slice(o+1),re=ae.match(Vo);re&&(le.push(re[1]),U.unshift(re[2])),U.length&&(w=U.join(".")+w),this.hostname=le.join(".");break}}}}this.hostname.length>Yo&&(this.hostname=""),Z&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var fe=w.indexOf("#");fe!==-1&&(this.hash=w.substr(fe),w=w.slice(0,fe));var ye=w.indexOf("?");return ye!==-1&&(this.search=w.substr(ye),w=w.slice(0,ye)),w&&(this.pathname=w),Hi[f]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Br.prototype.parseHost=function(c){var a=No.exec(c);a&&(a=a[0],a!==":"&&(this.port=a.substr(1)),c=c.substr(0,c.length-a.length)),c&&(this.hostname=c)};var Go=Wo;nr.encode=Io,nr.decode=Fo,nr.format=_o,nr.parse=Go;var Jt={},ya,qi;function Xi(){return qi||(qi=1,ya=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),ya}var wa,Yi;function Vi(){return Yi||(Yi=1,wa=/[\0-\x1F\x7F-\x9F]/),wa}var ka,Wi;function jo(){return Wi||(Wi=1,ka=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),ka}var Aa,Gi;function ji(){return Gi||(Gi=1,Aa=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Aa}var Ui;function Uo(){return Ui||(Ui=1,Jt.Any=Xi(),Jt.Cc=Vi(),Jt.Cf=jo(),Jt.P=va,Jt.Z=ji()),Jt}(function(c){function a(ne){return Object.prototype.toString.call(ne)}function o(ne){return a(ne)==="[object String]"}var u=Object.prototype.hasOwnProperty;function f(ne,ze){return u.call(ne,ze)}function m(ne){var ze=Array.prototype.slice.call(arguments,1);return ze.forEach(function(ke){if(ke){if(typeof ke!="object")throw new TypeError(ke+"must be object");Object.keys(ke).forEach(function(Ve){ne[Ve]=ke[Ve]})}}),ne}function k(ne,ze,ke){return[].concat(ne.slice(0,ze),ke,ne.slice(ze+1))}function w(ne){return!(ne>=55296&&ne<=57343||ne>=64976&&ne<=65007||(ne&65535)===65535||(ne&65535)===65534||ne>=0&&ne<=8||ne===11||ne>=14&&ne<=31||ne>=127&&ne<=159||ne>1114111)}function S(ne){if(ne>65535){ne-=65536;var ze=55296+(ne>>10),ke=56320+(ne&1023);return String.fromCharCode(ze,ke)}return String.fromCharCode(ne)}var D=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,F=/&([a-z#][a-z0-9]{1,31});/gi,H=new RegExp(D.source+"|"+F.source,"gi"),Y=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,q=Rr;function Z(ne,ze){var ke=0;return f(q,ze)?q[ze]:ze.charCodeAt(0)===35&&Y.test(ze)&&(ke=ze[1].toLowerCase()==="x"?parseInt(ze.slice(2),16):parseInt(ze.slice(1),10),w(ke))?S(ke):ne}function J(ne){return ne.indexOf("\\")<0?ne:ne.replace(D,"$1")}function ae(ne){return ne.indexOf("\\")<0&&ne.indexOf("&")<0?ne:ne.replace(H,function(ze,ke,Ve){return ke||Z(ze,Ve)})}var K=/[&<>"]/,O=/[&<>"]/g,se={"&":"&","<":"<",">":">",'"':"""};function le(ne){return se[ne]}function U(ne){return K.test(ne)?ne.replace(O,le):ne}var re=/[.?*+^$[\]\\(){}|-]/g;function fe(ne){return ne.replace(re,"\\$&")}function ye(ne){switch(ne){case 9:case 32:return!0}return!1}function Ee(ne){if(ne>=8192&&ne<=8202)return!0;switch(ne){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var we=va;function Ce(ne){return we.test(ne)}function Pe(ne){switch(ne){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Je(ne){return ne=ne.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(ne=ne.replace(/ẞ/g,"ß")),ne.toLowerCase().toUpperCase()}c.lib={},c.lib.mdurl=nr,c.lib.ucmicro=Uo(),c.assign=m,c.isString=o,c.has=f,c.unescapeMd=J,c.unescapeAll=ae,c.isValidEntityCode=w,c.fromCodePoint=S,c.escapeHtml=U,c.arrayReplaceAt=k,c.isSpace=ye,c.isWhiteSpace=Ee,c.isMdAsciiPunct=Pe,c.isPunctChar=Ce,c.escapeRE=fe,c.normalizeReference=Je})(_e);var Nr={},Zo=function(a,o,u){var f,m,k,w,S=-1,D=a.posMax,F=a.pos;for(a.pos=o+1,f=1;a.pos<D;){if(k=a.src.charCodeAt(a.pos),k===93&&(f--,f===0)){m=!0;break}if(w=a.pos,a.md.inline.skipToken(a),k===91){if(w===a.pos-1)f++;else if(u)return a.pos=F,-1}}return m&&(S=a.pos),a.pos=F,S},Zi=_e.unescapeAll,Jo=function(a,o,u){var f,m,k=0,w=o,S={ok:!1,pos:0,lines:0,str:""};if(a.charCodeAt(o)===60){for(o++;o<u;){if(f=a.charCodeAt(o),f===10||f===60)return S;if(f===62)return S.pos=o+1,S.str=Zi(a.slice(w+1,o)),S.ok=!0,S;if(f===92&&o+1<u){o+=2;continue}o++}return S}for(m=0;o<u&&(f=a.charCodeAt(o),!(f===32||f<32||f===127));){if(f===92&&o+1<u){if(a.charCodeAt(o+1)===32)break;o+=2;continue}if(f===40&&(m++,m>32))return S;if(f===41){if(m===0)break;m--}o++}return w===o||m!==0||(S.str=Zi(a.slice(w,o)),S.lines=k,S.pos=o,S.ok=!0),S},Ko=_e.unescapeAll,Qo=function(a,o,u){var f,m,k=0,w=o,S={ok:!1,pos:0,lines:0,str:""};if(o>=u||(m=a.charCodeAt(o),m!==34&&m!==39&&m!==40))return S;for(o++,m===40&&(m=41);o<u;){if(f=a.charCodeAt(o),f===m)return S.pos=o+1,S.lines=k,S.str=Ko(a.slice(w+1,o)),S.ok=!0,S;if(f===40&&m===41)return S;f===10?k++:f===92&&o+1<u&&(o++,a.charCodeAt(o)===10&&k++),o++}return S};Nr.parseLinkLabel=Zo,Nr.parseLinkDestination=Jo,Nr.parseLinkTitle=Qo;var $o=_e.assign,el=_e.unescapeAll,Kt=_e.escapeHtml,St={};St.code_inline=function(c,a,o,u,f){var m=c[a];return"<code"+f.renderAttrs(m)+">"+Kt(c[a].content)+"</code>"},St.code_block=function(c,a,o,u,f){var m=c[a];return"<pre"+f.renderAttrs(m)+"><code>"+Kt(c[a].content)+`</code></pre>
|
|
18
|
-
`},St.fence=function(c,a,o,u,f){var m=c[a],k=m.info?el(m.info).trim():"",w="",S="",D,F,H,Y,q;return k&&(H=k.split(/(\s+)/g),w=H[0],S=H.slice(2).join("")),o.highlight?D=o.highlight(m.content,w,S)||Kt(m.content):D=Kt(m.content),D.indexOf("<pre")===0?D+`
|
|
19
|
-
`:k?(F=m.attrIndex("class"),Y=m.attrs?m.attrs.slice():[],F<0?Y.push(["class",o.langPrefix+w]):(Y[F]=Y[F].slice(),Y[F][1]+=" "+o.langPrefix+w),q={attrs:Y},"<pre><code"+f.renderAttrs(q)+">"+D+`</code></pre>
|
|
20
|
-
`):"<pre><code"+f.renderAttrs(m)+">"+D+`</code></pre>
|
|
21
|
-
`},St.image=function(c,a,o,u,f){var m=c[a];return m.attrs[m.attrIndex("alt")][1]=f.renderInlineAsText(m.children,o,u),f.renderToken(c,a,o)},St.hardbreak=function(c,a,o){return o.xhtmlOut?`<br />
|
|
22
|
-
`:`<br>
|
|
23
|
-
`},St.softbreak=function(c,a,o){return o.breaks?o.xhtmlOut?`<br />
|
|
24
|
-
`:`<br>
|
|
25
|
-
`:`
|
|
26
|
-
`},St.text=function(c,a){return Kt(c[a].content)},St.html_block=function(c,a){return c[a].content},St.html_inline=function(c,a){return c[a].content};function or(){this.rules=$o({},St)}or.prototype.renderAttrs=function(a){var o,u,f;if(!a.attrs)return"";for(f="",o=0,u=a.attrs.length;o<u;o++)f+=" "+Kt(a.attrs[o][0])+'="'+Kt(a.attrs[o][1])+'"';return f},or.prototype.renderToken=function(a,o,u){var f,m="",k=!1,w=a[o];return w.hidden?"":(w.block&&w.nesting!==-1&&o&&a[o-1].hidden&&(m+=`
|
|
27
|
-
`),m+=(w.nesting===-1?"</":"<")+w.tag,m+=this.renderAttrs(w),w.nesting===0&&u.xhtmlOut&&(m+=" /"),w.block&&(k=!0,w.nesting===1&&o+1<a.length&&(f=a[o+1],(f.type==="inline"||f.hidden||f.nesting===-1&&f.tag===w.tag)&&(k=!1))),m+=k?`>
|
|
28
|
-
`:">",m)},or.prototype.renderInline=function(c,a,o){for(var u,f="",m=this.rules,k=0,w=c.length;k<w;k++)u=c[k].type,typeof m[u]<"u"?f+=m[u](c,k,a,o,this):f+=this.renderToken(c,k,a);return f},or.prototype.renderInlineAsText=function(c,a,o){for(var u="",f=0,m=c.length;f<m;f++)c[f].type==="text"?u+=c[f].content:c[f].type==="image"?u+=this.renderInlineAsText(c[f].children,a,o):c[f].type==="softbreak"&&(u+=`
|
|
29
|
-
`);return u},or.prototype.render=function(c,a,o){var u,f,m,k="",w=this.rules;for(u=0,f=c.length;u<f;u++)m=c[u].type,m==="inline"?k+=this.renderInline(c[u].children,a,o):typeof w[m]<"u"?k+=w[c[u].type](c,u,a,o,this):k+=this.renderToken(c,u,a,o);return k};var tl=or;function yt(){this.__rules__=[],this.__cache__=null}yt.prototype.__find__=function(c){for(var a=0;a<this.__rules__.length;a++)if(this.__rules__[a].name===c)return a;return-1},yt.prototype.__compile__=function(){var c=this,a=[""];c.__rules__.forEach(function(o){o.enabled&&o.alt.forEach(function(u){a.indexOf(u)<0&&a.push(u)})}),c.__cache__={},a.forEach(function(o){c.__cache__[o]=[],c.__rules__.forEach(function(u){u.enabled&&(o&&u.alt.indexOf(o)<0||c.__cache__[o].push(u.fn))})})},yt.prototype.at=function(c,a,o){var u=this.__find__(c),f=o||{};if(u===-1)throw new Error("Parser rule not found: "+c);this.__rules__[u].fn=a,this.__rules__[u].alt=f.alt||[],this.__cache__=null},yt.prototype.before=function(c,a,o,u){var f=this.__find__(c),m=u||{};if(f===-1)throw new Error("Parser rule not found: "+c);this.__rules__.splice(f,0,{name:a,enabled:!0,fn:o,alt:m.alt||[]}),this.__cache__=null},yt.prototype.after=function(c,a,o,u){var f=this.__find__(c),m=u||{};if(f===-1)throw new Error("Parser rule not found: "+c);this.__rules__.splice(f+1,0,{name:a,enabled:!0,fn:o,alt:m.alt||[]}),this.__cache__=null},yt.prototype.push=function(c,a,o){var u=o||{};this.__rules__.push({name:c,enabled:!0,fn:a,alt:u.alt||[]}),this.__cache__=null},yt.prototype.enable=function(c,a){Array.isArray(c)||(c=[c]);var o=[];return c.forEach(function(u){var f=this.__find__(u);if(f<0){if(a)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[f].enabled=!0,o.push(u)},this),this.__cache__=null,o},yt.prototype.enableOnly=function(c,a){Array.isArray(c)||(c=[c]),this.__rules__.forEach(function(o){o.enabled=!1}),this.enable(c,a)},yt.prototype.disable=function(c,a){Array.isArray(c)||(c=[c]);var o=[];return c.forEach(function(u){var f=this.__find__(u);if(f<0){if(a)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[f].enabled=!1,o.push(u)},this),this.__cache__=null,o},yt.prototype.getRules=function(c){return this.__cache__===null&&this.__compile__(),this.__cache__[c]||[]};var Sa=yt,rl=/\r\n?|\n/g,al=/\0/g,il=function(a){var o;o=a.src.replace(rl,`
|
|
30
|
-
`),o=o.replace(al,"�"),a.src=o},sl=function(a){var o;a.inlineMode?(o=new a.Token("inline","",0),o.content=a.src,o.map=[0,1],o.children=[],a.tokens.push(o)):a.md.block.parse(a.src,a.md,a.env,a.tokens)},nl=function(a){var o=a.tokens,u,f,m;for(f=0,m=o.length;f<m;f++)u=o[f],u.type==="inline"&&a.md.inline.parse(u.content,a.md,a.env,u.children)},ol=_e.arrayReplaceAt;function ll(c){return/^<a[>\s]/i.test(c)}function cl(c){return/^<\/a\s*>/i.test(c)}var hl=function(a){var o,u,f,m,k,w,S,D,F,H,Y,q,Z,J,ae,K,O=a.tokens,se;if(a.md.options.linkify){for(u=0,f=O.length;u<f;u++)if(!(O[u].type!=="inline"||!a.md.linkify.pretest(O[u].content)))for(m=O[u].children,Z=0,o=m.length-1;o>=0;o--){if(w=m[o],w.type==="link_close"){for(o--;m[o].level!==w.level&&m[o].type!=="link_open";)o--;continue}if(w.type==="html_inline"&&(ll(w.content)&&Z>0&&Z--,cl(w.content)&&Z++),!(Z>0)&&w.type==="text"&&a.md.linkify.test(w.content)){for(F=w.content,se=a.md.linkify.match(F),S=[],q=w.level,Y=0,se.length>0&&se[0].index===0&&o>0&&m[o-1].type==="text_special"&&(se=se.slice(1)),D=0;D<se.length;D++)J=se[D].url,ae=a.md.normalizeLink(J),a.md.validateLink(ae)&&(K=se[D].text,se[D].schema?se[D].schema==="mailto:"&&!/^mailto:/i.test(K)?K=a.md.normalizeLinkText("mailto:"+K).replace(/^mailto:/,""):K=a.md.normalizeLinkText(K):K=a.md.normalizeLinkText("http://"+K).replace(/^http:\/\//,""),H=se[D].index,H>Y&&(k=new a.Token("text","",0),k.content=F.slice(Y,H),k.level=q,S.push(k)),k=new a.Token("link_open","a",1),k.attrs=[["href",ae]],k.level=q++,k.markup="linkify",k.info="auto",S.push(k),k=new a.Token("text","",0),k.content=K,k.level=q,S.push(k),k=new a.Token("link_close","a",-1),k.level=--q,k.markup="linkify",k.info="auto",S.push(k),Y=se[D].lastIndex);Y<F.length&&(k=new a.Token("text","",0),k.content=F.slice(Y),k.level=q,S.push(k)),O[u].children=m=ol(m,o,S)}}}},Ji=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,ul=/\((c|tm|r)\)/i,dl=/\((c|tm|r)\)/ig,pl={c:"©",r:"®",tm:"™"};function fl(c,a){return pl[a.toLowerCase()]}function gl(c){var a,o,u=0;for(a=c.length-1;a>=0;a--)o=c[a],o.type==="text"&&!u&&(o.content=o.content.replace(dl,fl)),o.type==="link_open"&&o.info==="auto"&&u--,o.type==="link_close"&&o.info==="auto"&&u++}function ml(c){var a,o,u=0;for(a=c.length-1;a>=0;a--)o=c[a],o.type==="text"&&!u&&Ji.test(o.content)&&(o.content=o.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),o.type==="link_open"&&o.info==="auto"&&u--,o.type==="link_close"&&o.info==="auto"&&u++}var xl=function(a){var o;if(a.md.options.typographer)for(o=a.tokens.length-1;o>=0;o--)a.tokens[o].type==="inline"&&(ul.test(a.tokens[o].content)&&gl(a.tokens[o].children),Ji.test(a.tokens[o].content)&&ml(a.tokens[o].children))},Ki=_e.isWhiteSpace,Qi=_e.isPunctChar,$i=_e.isMdAsciiPunct,bl=/['"]/,es=/['"]/g,ts="’";function Or(c,a,o){return c.slice(0,a)+o+c.slice(a+1)}function vl(c,a){var o,u,f,m,k,w,S,D,F,H,Y,q,Z,J,ae,K,O,se,le,U,re;for(le=[],o=0;o<c.length;o++){for(u=c[o],S=c[o].level,O=le.length-1;O>=0&&!(le[O].level<=S);O--);if(le.length=O+1,u.type!=="text")continue;f=u.content,k=0,w=f.length;e:for(;k<w&&(es.lastIndex=k,m=es.exec(f),!!m);){if(ae=K=!0,k=m.index+1,se=m[0]==="'",F=32,m.index-1>=0)F=f.charCodeAt(m.index-1);else for(O=o-1;O>=0&&!(c[O].type==="softbreak"||c[O].type==="hardbreak");O--)if(c[O].content){F=c[O].content.charCodeAt(c[O].content.length-1);break}if(H=32,k<w)H=f.charCodeAt(k);else for(O=o+1;O<c.length&&!(c[O].type==="softbreak"||c[O].type==="hardbreak");O++)if(c[O].content){H=c[O].content.charCodeAt(0);break}if(Y=$i(F)||Qi(String.fromCharCode(F)),q=$i(H)||Qi(String.fromCharCode(H)),Z=Ki(F),J=Ki(H),J?ae=!1:q&&(Z||Y||(ae=!1)),Z?K=!1:Y&&(J||q||(K=!1)),H===34&&m[0]==='"'&&F>=48&&F<=57&&(K=ae=!1),ae&&K&&(ae=Y,K=q),!ae&&!K){se&&(u.content=Or(u.content,m.index,ts));continue}if(K){for(O=le.length-1;O>=0&&(D=le[O],!(le[O].level<S));O--)if(D.single===se&&le[O].level===S){D=le[O],se?(U=a.md.options.quotes[2],re=a.md.options.quotes[3]):(U=a.md.options.quotes[0],re=a.md.options.quotes[1]),u.content=Or(u.content,m.index,re),c[D.token].content=Or(c[D.token].content,D.pos,U),k+=re.length-1,D.token===o&&(k+=U.length-1),f=u.content,w=f.length,le.length=O;continue e}}ae?le.push({token:o,pos:m.index,single:se,level:S}):K&&se&&(u.content=Or(u.content,m.index,ts))}}}var yl=function(a){var o;if(a.md.options.typographer)for(o=a.tokens.length-1;o>=0;o--)a.tokens[o].type!=="inline"||!bl.test(a.tokens[o].content)||vl(a.tokens[o].children,a)},wl=function(a){var o,u,f,m,k,w,S=a.tokens;for(o=0,u=S.length;o<u;o++)if(S[o].type==="inline"){for(f=S[o].children,k=f.length,m=0;m<k;m++)f[m].type==="text_special"&&(f[m].type="text");for(m=w=0;m<k;m++)f[m].type==="text"&&m+1<k&&f[m+1].type==="text"?f[m+1].content=f[m].content+f[m+1].content:(m!==w&&(f[w]=f[m]),w++);m!==w&&(f.length=w)}};function lr(c,a,o){this.type=c,this.tag=a,this.attrs=null,this.map=null,this.nesting=o,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}lr.prototype.attrIndex=function(a){var o,u,f;if(!this.attrs)return-1;for(o=this.attrs,u=0,f=o.length;u<f;u++)if(o[u][0]===a)return u;return-1},lr.prototype.attrPush=function(a){this.attrs?this.attrs.push(a):this.attrs=[a]},lr.prototype.attrSet=function(a,o){var u=this.attrIndex(a),f=[a,o];u<0?this.attrPush(f):this.attrs[u]=f},lr.prototype.attrGet=function(a){var o=this.attrIndex(a),u=null;return o>=0&&(u=this.attrs[o][1]),u},lr.prototype.attrJoin=function(a,o){var u=this.attrIndex(a);u<0?this.attrPush([a,o]):this.attrs[u][1]=this.attrs[u][1]+" "+o};var Ca=lr,kl=Ca;function rs(c,a,o){this.src=c,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=a}rs.prototype.Token=kl;var Al=rs,Sl=Sa,za=[["normalize",il],["block",sl],["inline",nl],["linkify",hl],["replacements",xl],["smartquotes",yl],["text_join",wl]];function Ta(){this.ruler=new Sl;for(var c=0;c<za.length;c++)this.ruler.push(za[c][0],za[c][1])}Ta.prototype.process=function(c){var a,o,u;for(u=this.ruler.getRules(""),a=0,o=u.length;a<o;a++)u[a](c)},Ta.prototype.State=Al;var Cl=Ta,La=_e.isSpace;function Ma(c,a){var o=c.bMarks[a]+c.tShift[a],u=c.eMarks[a];return c.src.slice(o,u)}function as(c){var a=[],o=0,u=c.length,f,m=!1,k=0,w="";for(f=c.charCodeAt(o);o<u;)f===124&&(m?(w+=c.substring(k,o-1),k=o):(a.push(w+c.substring(k,o)),w="",k=o+1)),m=f===92,o++,f=c.charCodeAt(o);return a.push(w+c.substring(k)),a}var zl=function(a,o,u,f){var m,k,w,S,D,F,H,Y,q,Z,J,ae,K,O,se,le,U,re;if(o+2>u||(F=o+1,a.sCount[F]<a.blkIndent)||a.sCount[F]-a.blkIndent>=4||(w=a.bMarks[F]+a.tShift[F],w>=a.eMarks[F])||(U=a.src.charCodeAt(w++),U!==124&&U!==45&&U!==58)||w>=a.eMarks[F]||(re=a.src.charCodeAt(w++),re!==124&&re!==45&&re!==58&&!La(re))||U===45&&La(re))return!1;for(;w<a.eMarks[F];){if(m=a.src.charCodeAt(w),m!==124&&m!==45&&m!==58&&!La(m))return!1;w++}for(k=Ma(a,o+1),H=k.split("|"),Z=[],S=0;S<H.length;S++){if(J=H[S].trim(),!J){if(S===0||S===H.length-1)continue;return!1}if(!/^:?-+:?$/.test(J))return!1;J.charCodeAt(J.length-1)===58?Z.push(J.charCodeAt(0)===58?"center":"right"):J.charCodeAt(0)===58?Z.push("left"):Z.push("")}if(k=Ma(a,o).trim(),k.indexOf("|")===-1||a.sCount[o]-a.blkIndent>=4||(H=as(k),H.length&&H[0]===""&&H.shift(),H.length&&H[H.length-1]===""&&H.pop(),Y=H.length,Y===0||Y!==Z.length))return!1;if(f)return!0;for(O=a.parentType,a.parentType="table",le=a.md.block.ruler.getRules("blockquote"),q=a.push("table_open","table",1),q.map=ae=[o,0],q=a.push("thead_open","thead",1),q.map=[o,o+1],q=a.push("tr_open","tr",1),q.map=[o,o+1],S=0;S<H.length;S++)q=a.push("th_open","th",1),Z[S]&&(q.attrs=[["style","text-align:"+Z[S]]]),q=a.push("inline","",0),q.content=H[S].trim(),q.children=[],q=a.push("th_close","th",-1);for(q=a.push("tr_close","tr",-1),q=a.push("thead_close","thead",-1),F=o+2;F<u&&!(a.sCount[F]<a.blkIndent);F++){for(se=!1,S=0,D=le.length;S<D;S++)if(le[S](a,F,u,!0)){se=!0;break}if(se||(k=Ma(a,F).trim(),!k)||a.sCount[F]-a.blkIndent>=4)break;for(H=as(k),H.length&&H[0]===""&&H.shift(),H.length&&H[H.length-1]===""&&H.pop(),F===o+2&&(q=a.push("tbody_open","tbody",1),q.map=K=[o+2,0]),q=a.push("tr_open","tr",1),q.map=[F,F+1],S=0;S<Y;S++)q=a.push("td_open","td",1),Z[S]&&(q.attrs=[["style","text-align:"+Z[S]]]),q=a.push("inline","",0),q.content=H[S]?H[S].trim():"",q.children=[],q=a.push("td_close","td",-1);q=a.push("tr_close","tr",-1)}return K&&(q=a.push("tbody_close","tbody",-1),K[1]=F),q=a.push("table_close","table",-1),ae[1]=F,a.parentType=O,a.line=F,!0},Tl=function(a,o,u){var f,m,k;if(a.sCount[o]-a.blkIndent<4)return!1;for(m=f=o+1;f<u;){if(a.isEmpty(f)){f++;continue}if(a.sCount[f]-a.blkIndent>=4){f++,m=f;continue}break}return a.line=m,k=a.push("code_block","code",0),k.content=a.getLines(o,m,4+a.blkIndent,!1)+`
|
|
31
|
-
`,k.map=[o,a.line],!0},Ll=function(a,o,u,f){var m,k,w,S,D,F,H,Y=!1,q=a.bMarks[o]+a.tShift[o],Z=a.eMarks[o];if(a.sCount[o]-a.blkIndent>=4||q+3>Z||(m=a.src.charCodeAt(q),m!==126&&m!==96)||(D=q,q=a.skipChars(q,m),k=q-D,k<3)||(H=a.src.slice(D,q),w=a.src.slice(q,Z),m===96&&w.indexOf(String.fromCharCode(m))>=0))return!1;if(f)return!0;for(S=o;S++,!(S>=u||(q=D=a.bMarks[S]+a.tShift[S],Z=a.eMarks[S],q<Z&&a.sCount[S]<a.blkIndent));)if(a.src.charCodeAt(q)===m&&!(a.sCount[S]-a.blkIndent>=4)&&(q=a.skipChars(q,m),!(q-D<k)&&(q=a.skipSpaces(q),!(q<Z)))){Y=!0;break}return k=a.sCount[o],a.line=S+(Y?1:0),F=a.push("fence","code",0),F.info=w,F.content=a.getLines(o+1,S,k,!0),F.markup=H,F.map=[o,a.line],!0},is=_e.isSpace,Ml=function(a,o,u,f){var m,k,w,S,D,F,H,Y,q,Z,J,ae,K,O,se,le,U,re,fe,ye,Ee=a.lineMax,we=a.bMarks[o]+a.tShift[o],Ce=a.eMarks[o];if(a.sCount[o]-a.blkIndent>=4||a.src.charCodeAt(we++)!==62)return!1;if(f)return!0;for(S=q=a.sCount[o]+1,a.src.charCodeAt(we)===32?(we++,S++,q++,m=!1,le=!0):a.src.charCodeAt(we)===9?(le=!0,(a.bsCount[o]+q)%4===3?(we++,S++,q++,m=!1):m=!0):le=!1,Z=[a.bMarks[o]],a.bMarks[o]=we;we<Ce&&(k=a.src.charCodeAt(we),is(k));){k===9?q+=4-(q+a.bsCount[o]+(m?1:0))%4:q++;we++}for(J=[a.bsCount[o]],a.bsCount[o]=a.sCount[o]+1+(le?1:0),F=we>=Ce,O=[a.sCount[o]],a.sCount[o]=q-S,se=[a.tShift[o]],a.tShift[o]=we-a.bMarks[o],re=a.md.block.ruler.getRules("blockquote"),K=a.parentType,a.parentType="blockquote",Y=o+1;Y<u&&(ye=a.sCount[Y]<a.blkIndent,we=a.bMarks[Y]+a.tShift[Y],Ce=a.eMarks[Y],!(we>=Ce));Y++){if(a.src.charCodeAt(we++)===62&&!ye){for(S=q=a.sCount[Y]+1,a.src.charCodeAt(we)===32?(we++,S++,q++,m=!1,le=!0):a.src.charCodeAt(we)===9?(le=!0,(a.bsCount[Y]+q)%4===3?(we++,S++,q++,m=!1):m=!0):le=!1,Z.push(a.bMarks[Y]),a.bMarks[Y]=we;we<Ce&&(k=a.src.charCodeAt(we),is(k));){k===9?q+=4-(q+a.bsCount[Y]+(m?1:0))%4:q++;we++}F=we>=Ce,J.push(a.bsCount[Y]),a.bsCount[Y]=a.sCount[Y]+1+(le?1:0),O.push(a.sCount[Y]),a.sCount[Y]=q-S,se.push(a.tShift[Y]),a.tShift[Y]=we-a.bMarks[Y];continue}if(F)break;for(U=!1,w=0,D=re.length;w<D;w++)if(re[w](a,Y,u,!0)){U=!0;break}if(U){a.lineMax=Y,a.blkIndent!==0&&(Z.push(a.bMarks[Y]),J.push(a.bsCount[Y]),se.push(a.tShift[Y]),O.push(a.sCount[Y]),a.sCount[Y]-=a.blkIndent);break}Z.push(a.bMarks[Y]),J.push(a.bsCount[Y]),se.push(a.tShift[Y]),O.push(a.sCount[Y]),a.sCount[Y]=-1}for(ae=a.blkIndent,a.blkIndent=0,fe=a.push("blockquote_open","blockquote",1),fe.markup=">",fe.map=H=[o,0],a.md.block.tokenize(a,o,Y),fe=a.push("blockquote_close","blockquote",-1),fe.markup=">",a.lineMax=Ee,a.parentType=K,H[1]=a.line,w=0;w<se.length;w++)a.bMarks[w+o]=Z[w],a.tShift[w+o]=se[w],a.sCount[w+o]=O[w],a.bsCount[w+o]=J[w];return a.blkIndent=ae,!0},El=_e.isSpace,Dl=function(a,o,u,f){var m,k,w,S,D=a.bMarks[o]+a.tShift[o],F=a.eMarks[o];if(a.sCount[o]-a.blkIndent>=4||(m=a.src.charCodeAt(D++),m!==42&&m!==45&&m!==95))return!1;for(k=1;D<F;){if(w=a.src.charCodeAt(D++),w!==m&&!El(w))return!1;w===m&&k++}return k<3?!1:(f||(a.line=o+1,S=a.push("hr","hr",0),S.map=[o,a.line],S.markup=Array(k+1).join(String.fromCharCode(m))),!0)},ss=_e.isSpace;function ns(c,a){var o,u,f,m;return u=c.bMarks[a]+c.tShift[a],f=c.eMarks[a],o=c.src.charCodeAt(u++),o!==42&&o!==45&&o!==43||u<f&&(m=c.src.charCodeAt(u),!ss(m))?-1:u}function os(c,a){var o,u=c.bMarks[a]+c.tShift[a],f=u,m=c.eMarks[a];if(f+1>=m||(o=c.src.charCodeAt(f++),o<48||o>57))return-1;for(;;){if(f>=m)return-1;if(o=c.src.charCodeAt(f++),o>=48&&o<=57){if(f-u>=10)return-1;continue}if(o===41||o===46)break;return-1}return f<m&&(o=c.src.charCodeAt(f),!ss(o))?-1:f}function Pl(c,a){var o,u,f=c.level+2;for(o=a+2,u=c.tokens.length-2;o<u;o++)c.tokens[o].level===f&&c.tokens[o].type==="paragraph_open"&&(c.tokens[o+2].hidden=!0,c.tokens[o].hidden=!0,o+=2)}var Il=function(a,o,u,f){var m,k,w,S,D,F,H,Y,q,Z,J,ae,K,O,se,le,U,re,fe,ye,Ee,we,Ce,Pe,Je,ne,ze,ke,Ve=!1,$e=!0;if(a.sCount[o]-a.blkIndent>=4||a.listIndent>=0&&a.sCount[o]-a.listIndent>=4&&a.sCount[o]<a.blkIndent)return!1;if(f&&a.parentType==="paragraph"&&a.sCount[o]>=a.blkIndent&&(Ve=!0),(Ce=os(a,o))>=0){if(H=!0,Je=a.bMarks[o]+a.tShift[o],K=Number(a.src.slice(Je,Ce-1)),Ve&&K!==1)return!1}else if((Ce=ns(a,o))>=0)H=!1;else return!1;if(Ve&&a.skipSpaces(Ce)>=a.eMarks[o])return!1;if(ae=a.src.charCodeAt(Ce-1),f)return!0;for(J=a.tokens.length,H?(ke=a.push("ordered_list_open","ol",1),K!==1&&(ke.attrs=[["start",K]])):ke=a.push("bullet_list_open","ul",1),ke.map=Z=[o,0],ke.markup=String.fromCharCode(ae),se=o,Pe=!1,ze=a.md.block.ruler.getRules("list"),re=a.parentType,a.parentType="list";se<u;){for(we=Ce,O=a.eMarks[se],F=le=a.sCount[se]+Ce-(a.bMarks[o]+a.tShift[o]);we<O;){if(m=a.src.charCodeAt(we),m===9)le+=4-(le+a.bsCount[se])%4;else if(m===32)le++;else break;we++}if(k=we,k>=O?D=1:D=le-F,D>4&&(D=1),S=F+D,ke=a.push("list_item_open","li",1),ke.markup=String.fromCharCode(ae),ke.map=Y=[o,0],H&&(ke.info=a.src.slice(Je,Ce-1)),Ee=a.tight,ye=a.tShift[o],fe=a.sCount[o],U=a.listIndent,a.listIndent=a.blkIndent,a.blkIndent=S,a.tight=!0,a.tShift[o]=k-a.bMarks[o],a.sCount[o]=le,k>=O&&a.isEmpty(o+1)?a.line=Math.min(a.line+2,u):a.md.block.tokenize(a,o,u,!0),(!a.tight||Pe)&&($e=!1),Pe=a.line-o>1&&a.isEmpty(a.line-1),a.blkIndent=a.listIndent,a.listIndent=U,a.tShift[o]=ye,a.sCount[o]=fe,a.tight=Ee,ke=a.push("list_item_close","li",-1),ke.markup=String.fromCharCode(ae),se=o=a.line,Y[1]=se,k=a.bMarks[o],se>=u||a.sCount[se]<a.blkIndent||a.sCount[o]-a.blkIndent>=4)break;for(ne=!1,w=0,q=ze.length;w<q;w++)if(ze[w](a,se,u,!0)){ne=!0;break}if(ne)break;if(H){if(Ce=os(a,se),Ce<0)break;Je=a.bMarks[se]+a.tShift[se]}else if(Ce=ns(a,se),Ce<0)break;if(ae!==a.src.charCodeAt(Ce-1))break}return H?ke=a.push("ordered_list_close","ol",-1):ke=a.push("bullet_list_close","ul",-1),ke.markup=String.fromCharCode(ae),Z[1]=se,a.line=se,a.parentType=re,$e&&Pl(a,J),!0},Rl=_e.normalizeReference,Hr=_e.isSpace,Fl=function(a,o,u,f){var m,k,w,S,D,F,H,Y,q,Z,J,ae,K,O,se,le,U=0,re=a.bMarks[o]+a.tShift[o],fe=a.eMarks[o],ye=o+1;if(a.sCount[o]-a.blkIndent>=4||a.src.charCodeAt(re)!==91)return!1;for(;++re<fe;)if(a.src.charCodeAt(re)===93&&a.src.charCodeAt(re-1)!==92){if(re+1===fe||a.src.charCodeAt(re+1)!==58)return!1;break}for(S=a.lineMax,se=a.md.block.ruler.getRules("reference"),Z=a.parentType,a.parentType="reference";ye<S&&!a.isEmpty(ye);ye++)if(!(a.sCount[ye]-a.blkIndent>3)&&!(a.sCount[ye]<0)){for(O=!1,F=0,H=se.length;F<H;F++)if(se[F](a,ye,S,!0)){O=!0;break}if(O)break}for(K=a.getLines(o,ye,a.blkIndent,!1).trim(),fe=K.length,re=1;re<fe;re++){if(m=K.charCodeAt(re),m===91)return!1;if(m===93){q=re;break}else m===10?U++:m===92&&(re++,re<fe&&K.charCodeAt(re)===10&&U++)}if(q<0||K.charCodeAt(q+1)!==58)return!1;for(re=q+2;re<fe;re++)if(m=K.charCodeAt(re),m===10)U++;else if(!Hr(m))break;if(J=a.md.helpers.parseLinkDestination(K,re,fe),!J.ok||(D=a.md.normalizeLink(J.str),!a.md.validateLink(D)))return!1;for(re=J.pos,U+=J.lines,k=re,w=U,ae=re;re<fe;re++)if(m=K.charCodeAt(re),m===10)U++;else if(!Hr(m))break;for(J=a.md.helpers.parseLinkTitle(K,re,fe),re<fe&&ae!==re&&J.ok?(le=J.str,re=J.pos,U+=J.lines):(le="",re=k,U=w);re<fe&&(m=K.charCodeAt(re),!!Hr(m));)re++;if(re<fe&&K.charCodeAt(re)!==10&&le)for(le="",re=k,U=w;re<fe&&(m=K.charCodeAt(re),!!Hr(m));)re++;return re<fe&&K.charCodeAt(re)!==10||(Y=Rl(K.slice(1,q)),!Y)?!1:(f||(typeof a.env.references>"u"&&(a.env.references={}),typeof a.env.references[Y]>"u"&&(a.env.references[Y]={title:le,href:D}),a.parentType=Z,a.line=o+U+1),!0)},_l=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qr={},Bl="[a-zA-Z_:][a-zA-Z0-9:._-]*",Nl="[^\"'=<>`\\x00-\\x20]+",Ol="'[^']*'",Hl='"[^"]*"',ql="(?:"+Nl+"|"+Ol+"|"+Hl+")",Xl="(?:\\s+"+Bl+"(?:\\s*=\\s*"+ql+")?)",ls="<[A-Za-z][A-Za-z0-9\\-]*"+Xl+"*\\s*\\/?>",cs="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Yl="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Vl="<[?][\\s\\S]*?[?]>",Wl="<![A-Z]+\\s+[^>]*>",Gl="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",jl=new RegExp("^(?:"+ls+"|"+cs+"|"+Yl+"|"+Vl+"|"+Wl+"|"+Gl+")"),Ul=new RegExp("^(?:"+ls+"|"+cs+")");qr.HTML_TAG_RE=jl,qr.HTML_OPEN_CLOSE_TAG_RE=Ul;var Zl=_l,Jl=qr.HTML_OPEN_CLOSE_TAG_RE,cr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Zl.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Jl.source+"\\s*$"),/^$/,!1]],Kl=function(a,o,u,f){var m,k,w,S,D=a.bMarks[o]+a.tShift[o],F=a.eMarks[o];if(a.sCount[o]-a.blkIndent>=4||!a.md.options.html||a.src.charCodeAt(D)!==60)return!1;for(S=a.src.slice(D,F),m=0;m<cr.length&&!cr[m][0].test(S);m++);if(m===cr.length)return!1;if(f)return cr[m][2];if(k=o+1,!cr[m][1].test(S)){for(;k<u&&!(a.sCount[k]<a.blkIndent);k++)if(D=a.bMarks[k]+a.tShift[k],F=a.eMarks[k],S=a.src.slice(D,F),cr[m][1].test(S)){S.length!==0&&k++;break}}return a.line=k,w=a.push("html_block","",0),w.map=[o,k],w.content=a.getLines(o,k,a.blkIndent,!0),!0},hs=_e.isSpace,Ql=function(a,o,u,f){var m,k,w,S,D=a.bMarks[o]+a.tShift[o],F=a.eMarks[o];if(a.sCount[o]-a.blkIndent>=4||(m=a.src.charCodeAt(D),m!==35||D>=F))return!1;for(k=1,m=a.src.charCodeAt(++D);m===35&&D<F&&k<=6;)k++,m=a.src.charCodeAt(++D);return k>6||D<F&&!hs(m)?!1:(f||(F=a.skipSpacesBack(F,D),w=a.skipCharsBack(F,35,D),w>D&&hs(a.src.charCodeAt(w-1))&&(F=w),a.line=o+1,S=a.push("heading_open","h"+String(k),1),S.markup="########".slice(0,k),S.map=[o,a.line],S=a.push("inline","",0),S.content=a.src.slice(D,F).trim(),S.map=[o,a.line],S.children=[],S=a.push("heading_close","h"+String(k),-1),S.markup="########".slice(0,k)),!0)},$l=function(a,o,u){var f,m,k,w,S,D,F,H,Y,q=o+1,Z,J=a.md.block.ruler.getRules("paragraph");if(a.sCount[o]-a.blkIndent>=4)return!1;for(Z=a.parentType,a.parentType="paragraph";q<u&&!a.isEmpty(q);q++)if(!(a.sCount[q]-a.blkIndent>3)){if(a.sCount[q]>=a.blkIndent&&(D=a.bMarks[q]+a.tShift[q],F=a.eMarks[q],D<F&&(Y=a.src.charCodeAt(D),(Y===45||Y===61)&&(D=a.skipChars(D,Y),D=a.skipSpaces(D),D>=F)))){H=Y===61?1:2;break}if(!(a.sCount[q]<0)){for(m=!1,k=0,w=J.length;k<w;k++)if(J[k](a,q,u,!0)){m=!0;break}if(m)break}}return H?(f=a.getLines(o,q,a.blkIndent,!1).trim(),a.line=q+1,S=a.push("heading_open","h"+String(H),1),S.markup=String.fromCharCode(Y),S.map=[o,a.line],S=a.push("inline","",0),S.content=f,S.map=[o,a.line-1],S.children=[],S=a.push("heading_close","h"+String(H),-1),S.markup=String.fromCharCode(Y),a.parentType=Z,!0):!1},ec=function(a,o){var u,f,m,k,w,S,D=o+1,F=a.md.block.ruler.getRules("paragraph"),H=a.lineMax;for(S=a.parentType,a.parentType="paragraph";D<H&&!a.isEmpty(D);D++)if(!(a.sCount[D]-a.blkIndent>3)&&!(a.sCount[D]<0)){for(f=!1,m=0,k=F.length;m<k;m++)if(F[m](a,D,H,!0)){f=!0;break}if(f)break}return u=a.getLines(o,D,a.blkIndent,!1).trim(),a.line=D,w=a.push("paragraph_open","p",1),w.map=[o,a.line],w=a.push("inline","",0),w.content=u,w.map=[o,a.line],w.children=[],w=a.push("paragraph_close","p",-1),a.parentType=S,!0},us=Ca,Xr=_e.isSpace;function Ct(c,a,o,u){var f,m,k,w,S,D,F,H;for(this.src=c,this.md=a,this.env=o,this.tokens=u,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",m=this.src,H=!1,k=w=D=F=0,S=m.length;w<S;w++){if(f=m.charCodeAt(w),!H)if(Xr(f)){D++,f===9?F+=4-F%4:F++;continue}else H=!0;(f===10||w===S-1)&&(f!==10&&w++,this.bMarks.push(k),this.eMarks.push(w),this.tShift.push(D),this.sCount.push(F),this.bsCount.push(0),H=!1,D=0,F=0,k=w+1)}this.bMarks.push(m.length),this.eMarks.push(m.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Ct.prototype.push=function(c,a,o){var u=new us(c,a,o);return u.block=!0,o<0&&this.level--,u.level=this.level,o>0&&this.level++,this.tokens.push(u),u},Ct.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]},Ct.prototype.skipEmptyLines=function(a){for(var o=this.lineMax;a<o&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a},Ct.prototype.skipSpaces=function(a){for(var o,u=this.src.length;a<u&&(o=this.src.charCodeAt(a),!!Xr(o));a++);return a},Ct.prototype.skipSpacesBack=function(a,o){if(a<=o)return a;for(;a>o;)if(!Xr(this.src.charCodeAt(--a)))return a+1;return a},Ct.prototype.skipChars=function(a,o){for(var u=this.src.length;a<u&&this.src.charCodeAt(a)===o;a++);return a},Ct.prototype.skipCharsBack=function(a,o,u){if(a<=u)return a;for(;a>u;)if(o!==this.src.charCodeAt(--a))return a+1;return a},Ct.prototype.getLines=function(a,o,u,f){var m,k,w,S,D,F,H,Y=a;if(a>=o)return"";for(F=new Array(o-a),m=0;Y<o;Y++,m++){for(k=0,H=S=this.bMarks[Y],Y+1<o||f?D=this.eMarks[Y]+1:D=this.eMarks[Y];S<D&&k<u;){if(w=this.src.charCodeAt(S),Xr(w))w===9?k+=4-(k+this.bsCount[Y])%4:k++;else if(S-H<this.tShift[Y])k++;else break;S++}k>u?F[m]=new Array(k-u+1).join(" ")+this.src.slice(S,D):F[m]=this.src.slice(S,D)}return F.join("")},Ct.prototype.Token=us;var tc=Ct,rc=Sa,Yr=[["table",zl,["paragraph","reference"]],["code",Tl],["fence",Ll,["paragraph","reference","blockquote","list"]],["blockquote",Ml,["paragraph","reference","blockquote","list"]],["hr",Dl,["paragraph","reference","blockquote","list"]],["list",Il,["paragraph","reference","blockquote"]],["reference",Fl],["html_block",Kl,["paragraph","reference","blockquote"]],["heading",Ql,["paragraph","reference","blockquote"]],["lheading",$l],["paragraph",ec]];function Vr(){this.ruler=new rc;for(var c=0;c<Yr.length;c++)this.ruler.push(Yr[c][0],Yr[c][1],{alt:(Yr[c][2]||[]).slice()})}Vr.prototype.tokenize=function(c,a,o){for(var u,f,m=this.ruler.getRules(""),k=m.length,w=a,S=!1,D=c.md.options.maxNesting;w<o&&(c.line=w=c.skipEmptyLines(w),!(w>=o||c.sCount[w]<c.blkIndent));){if(c.level>=D){c.line=o;break}for(f=0;f<k&&(u=m[f](c,w,o,!1),!u);f++);c.tight=!S,c.isEmpty(c.line-1)&&(S=!0),w=c.line,w<o&&c.isEmpty(w)&&(S=!0,w++,c.line=w)}},Vr.prototype.parse=function(c,a,o,u){var f;c&&(f=new this.State(c,a,o,u),this.tokenize(f,f.line,f.lineMax))},Vr.prototype.State=tc;var ac=Vr;function ic(c){switch(c){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var sc=function(a,o){for(var u=a.pos;u<a.posMax&&!ic(a.src.charCodeAt(u));)u++;return u===a.pos?!1:(o||(a.pending+=a.src.slice(a.pos,u)),a.pos=u,!0)},nc=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,oc=function(a,o){var u,f,m,k,w,S,D,F;return!a.md.options.linkify||a.linkLevel>0||(u=a.pos,f=a.posMax,u+3>f)||a.src.charCodeAt(u)!==58||a.src.charCodeAt(u+1)!==47||a.src.charCodeAt(u+2)!==47||(m=a.pending.match(nc),!m)||(k=m[1],w=a.md.linkify.matchAtStart(a.src.slice(u-k.length)),!w)||(S=w.url,S=S.replace(/\*+$/,""),D=a.md.normalizeLink(S),!a.md.validateLink(D))?!1:(o||(a.pending=a.pending.slice(0,-k.length),F=a.push("link_open","a",1),F.attrs=[["href",D]],F.markup="linkify",F.info="auto",F=a.push("text","",0),F.content=a.md.normalizeLinkText(S),F=a.push("link_close","a",-1),F.markup="linkify",F.info="auto"),a.pos+=S.length-k.length,!0)},lc=_e.isSpace,cc=function(a,o){var u,f,m,k=a.pos;if(a.src.charCodeAt(k)!==10)return!1;if(u=a.pending.length-1,f=a.posMax,!o)if(u>=0&&a.pending.charCodeAt(u)===32)if(u>=1&&a.pending.charCodeAt(u-1)===32){for(m=u-1;m>=1&&a.pending.charCodeAt(m-1)===32;)m--;a.pending=a.pending.slice(0,m),a.push("hardbreak","br",0)}else a.pending=a.pending.slice(0,-1),a.push("softbreak","br",0);else a.push("softbreak","br",0);for(k++;k<f&&lc(a.src.charCodeAt(k));)k++;return a.pos=k,!0},hc=_e.isSpace,Ea=[],ds=0;ds<256;ds++)Ea.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(c){Ea[c.charCodeAt(0)]=1});var uc=function(a,o){var u,f,m,k,w,S=a.pos,D=a.posMax;if(a.src.charCodeAt(S)!==92||(S++,S>=D))return!1;if(u=a.src.charCodeAt(S),u===10){for(o||a.push("hardbreak","br",0),S++;S<D&&(u=a.src.charCodeAt(S),!!hc(u));)S++;return a.pos=S,!0}return k=a.src[S],u>=55296&&u<=56319&&S+1<D&&(f=a.src.charCodeAt(S+1),f>=56320&&f<=57343&&(k+=a.src[S+1],S++)),m="\\"+k,o||(w=a.push("text_special","",0),u<256&&Ea[u]!==0?w.content=k:w.content=m,w.markup=m,w.info="escape"),a.pos=S+1,!0},dc=function(a,o){var u,f,m,k,w,S,D,F,H=a.pos,Y=a.src.charCodeAt(H);if(Y!==96)return!1;for(u=H,H++,f=a.posMax;H<f&&a.src.charCodeAt(H)===96;)H++;if(m=a.src.slice(u,H),D=m.length,a.backticksScanned&&(a.backticks[D]||0)<=u)return o||(a.pending+=m),a.pos+=D,!0;for(w=S=H;(w=a.src.indexOf("`",S))!==-1;){for(S=w+1;S<f&&a.src.charCodeAt(S)===96;)S++;if(F=S-w,F===D)return o||(k=a.push("code_inline","code",0),k.markup=m,k.content=a.src.slice(H,w).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),a.pos=S,!0;a.backticks[F]=w}return a.backticksScanned=!0,o||(a.pending+=m),a.pos+=D,!0},Wr={};Wr.tokenize=function(a,o){var u,f,m,k,w,S=a.pos,D=a.src.charCodeAt(S);if(o||D!==126||(f=a.scanDelims(a.pos,!0),k=f.length,w=String.fromCharCode(D),k<2))return!1;for(k%2&&(m=a.push("text","",0),m.content=w,k--),u=0;u<k;u+=2)m=a.push("text","",0),m.content=w+w,a.delimiters.push({marker:D,length:0,token:a.tokens.length-1,end:-1,open:f.can_open,close:f.can_close});return a.pos+=f.length,!0};function ps(c,a){var o,u,f,m,k,w=[],S=a.length;for(o=0;o<S;o++)f=a[o],f.marker===126&&f.end!==-1&&(m=a[f.end],k=c.tokens[f.token],k.type="s_open",k.tag="s",k.nesting=1,k.markup="~~",k.content="",k=c.tokens[m.token],k.type="s_close",k.tag="s",k.nesting=-1,k.markup="~~",k.content="",c.tokens[m.token-1].type==="text"&&c.tokens[m.token-1].content==="~"&&w.push(m.token-1));for(;w.length;){for(o=w.pop(),u=o+1;u<c.tokens.length&&c.tokens[u].type==="s_close";)u++;u--,o!==u&&(k=c.tokens[u],c.tokens[u]=c.tokens[o],c.tokens[o]=k)}}Wr.postProcess=function(a){var o,u=a.tokens_meta,f=a.tokens_meta.length;for(ps(a,a.delimiters),o=0;o<f;o++)u[o]&&u[o].delimiters&&ps(a,u[o].delimiters)};var Gr={};Gr.tokenize=function(a,o){var u,f,m,k=a.pos,w=a.src.charCodeAt(k);if(o||w!==95&&w!==42)return!1;for(f=a.scanDelims(a.pos,w===42),u=0;u<f.length;u++)m=a.push("text","",0),m.content=String.fromCharCode(w),a.delimiters.push({marker:w,length:f.length,token:a.tokens.length-1,end:-1,open:f.can_open,close:f.can_close});return a.pos+=f.length,!0};function fs(c,a){var o,u,f,m,k,w,S=a.length;for(o=S-1;o>=0;o--)u=a[o],!(u.marker!==95&&u.marker!==42)&&u.end!==-1&&(f=a[u.end],w=o>0&&a[o-1].end===u.end+1&&a[o-1].marker===u.marker&&a[o-1].token===u.token-1&&a[u.end+1].token===f.token+1,k=String.fromCharCode(u.marker),m=c.tokens[u.token],m.type=w?"strong_open":"em_open",m.tag=w?"strong":"em",m.nesting=1,m.markup=w?k+k:k,m.content="",m=c.tokens[f.token],m.type=w?"strong_close":"em_close",m.tag=w?"strong":"em",m.nesting=-1,m.markup=w?k+k:k,m.content="",w&&(c.tokens[a[o-1].token].content="",c.tokens[a[u.end+1].token].content="",o--))}Gr.postProcess=function(a){var o,u=a.tokens_meta,f=a.tokens_meta.length;for(fs(a,a.delimiters),o=0;o<f;o++)u[o]&&u[o].delimiters&&fs(a,u[o].delimiters)};var pc=_e.normalizeReference,Da=_e.isSpace,fc=function(a,o){var u,f,m,k,w,S,D,F,H,Y="",q="",Z=a.pos,J=a.posMax,ae=a.pos,K=!0;if(a.src.charCodeAt(a.pos)!==91||(w=a.pos+1,k=a.md.helpers.parseLinkLabel(a,a.pos,!0),k<0))return!1;if(S=k+1,S<J&&a.src.charCodeAt(S)===40){for(K=!1,S++;S<J&&(f=a.src.charCodeAt(S),!(!Da(f)&&f!==10));S++);if(S>=J)return!1;if(ae=S,D=a.md.helpers.parseLinkDestination(a.src,S,a.posMax),D.ok){for(Y=a.md.normalizeLink(D.str),a.md.validateLink(Y)?S=D.pos:Y="",ae=S;S<J&&(f=a.src.charCodeAt(S),!(!Da(f)&&f!==10));S++);if(D=a.md.helpers.parseLinkTitle(a.src,S,a.posMax),S<J&&ae!==S&&D.ok)for(q=D.str,S=D.pos;S<J&&(f=a.src.charCodeAt(S),!(!Da(f)&&f!==10));S++);}(S>=J||a.src.charCodeAt(S)!==41)&&(K=!0),S++}if(K){if(typeof a.env.references>"u")return!1;if(S<J&&a.src.charCodeAt(S)===91?(ae=S+1,S=a.md.helpers.parseLinkLabel(a,S),S>=0?m=a.src.slice(ae,S++):S=k+1):S=k+1,m||(m=a.src.slice(w,k)),F=a.env.references[pc(m)],!F)return a.pos=Z,!1;Y=F.href,q=F.title}return o||(a.pos=w,a.posMax=k,H=a.push("link_open","a",1),H.attrs=u=[["href",Y]],q&&u.push(["title",q]),a.linkLevel++,a.md.inline.tokenize(a),a.linkLevel--,H=a.push("link_close","a",-1)),a.pos=S,a.posMax=J,!0},gc=_e.normalizeReference,Pa=_e.isSpace,mc=function(a,o){var u,f,m,k,w,S,D,F,H,Y,q,Z,J,ae="",K=a.pos,O=a.posMax;if(a.src.charCodeAt(a.pos)!==33||a.src.charCodeAt(a.pos+1)!==91||(S=a.pos+2,w=a.md.helpers.parseLinkLabel(a,a.pos+1,!1),w<0))return!1;if(D=w+1,D<O&&a.src.charCodeAt(D)===40){for(D++;D<O&&(f=a.src.charCodeAt(D),!(!Pa(f)&&f!==10));D++);if(D>=O)return!1;for(J=D,H=a.md.helpers.parseLinkDestination(a.src,D,a.posMax),H.ok&&(ae=a.md.normalizeLink(H.str),a.md.validateLink(ae)?D=H.pos:ae=""),J=D;D<O&&(f=a.src.charCodeAt(D),!(!Pa(f)&&f!==10));D++);if(H=a.md.helpers.parseLinkTitle(a.src,D,a.posMax),D<O&&J!==D&&H.ok)for(Y=H.str,D=H.pos;D<O&&(f=a.src.charCodeAt(D),!(!Pa(f)&&f!==10));D++);else Y="";if(D>=O||a.src.charCodeAt(D)!==41)return a.pos=K,!1;D++}else{if(typeof a.env.references>"u")return!1;if(D<O&&a.src.charCodeAt(D)===91?(J=D+1,D=a.md.helpers.parseLinkLabel(a,D),D>=0?k=a.src.slice(J,D++):D=w+1):D=w+1,k||(k=a.src.slice(S,w)),F=a.env.references[gc(k)],!F)return a.pos=K,!1;ae=F.href,Y=F.title}return o||(m=a.src.slice(S,w),a.md.inline.parse(m,a.md,a.env,Z=[]),q=a.push("image","img",0),q.attrs=u=[["src",ae],["alt",""]],q.children=Z,q.content=m,Y&&u.push(["title",Y])),a.pos=D,a.posMax=O,!0},xc=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,bc=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,vc=function(a,o){var u,f,m,k,w,S,D=a.pos;if(a.src.charCodeAt(D)!==60)return!1;for(w=a.pos,S=a.posMax;;){if(++D>=S||(k=a.src.charCodeAt(D),k===60))return!1;if(k===62)break}return u=a.src.slice(w+1,D),bc.test(u)?(f=a.md.normalizeLink(u),a.md.validateLink(f)?(o||(m=a.push("link_open","a",1),m.attrs=[["href",f]],m.markup="autolink",m.info="auto",m=a.push("text","",0),m.content=a.md.normalizeLinkText(u),m=a.push("link_close","a",-1),m.markup="autolink",m.info="auto"),a.pos+=u.length+2,!0):!1):xc.test(u)?(f=a.md.normalizeLink("mailto:"+u),a.md.validateLink(f)?(o||(m=a.push("link_open","a",1),m.attrs=[["href",f]],m.markup="autolink",m.info="auto",m=a.push("text","",0),m.content=a.md.normalizeLinkText(u),m=a.push("link_close","a",-1),m.markup="autolink",m.info="auto"),a.pos+=u.length+2,!0):!1):!1},yc=qr.HTML_TAG_RE;function wc(c){return/^<a[>\s]/i.test(c)}function kc(c){return/^<\/a\s*>/i.test(c)}function Ac(c){var a=c|32;return a>=97&&a<=122}var Sc=function(a,o){var u,f,m,k,w=a.pos;return!a.md.options.html||(m=a.posMax,a.src.charCodeAt(w)!==60||w+2>=m)||(u=a.src.charCodeAt(w+1),u!==33&&u!==63&&u!==47&&!Ac(u))||(f=a.src.slice(w).match(yc),!f)?!1:(o||(k=a.push("html_inline","",0),k.content=a.src.slice(w,w+f[0].length),wc(k.content)&&a.linkLevel++,kc(k.content)&&a.linkLevel--),a.pos+=f[0].length,!0)},gs=Rr,Cc=_e.has,zc=_e.isValidEntityCode,ms=_e.fromCodePoint,Tc=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Lc=/^&([a-z][a-z0-9]{1,31});/i,Mc=function(a,o){var u,f,m,k,w=a.pos,S=a.posMax;if(a.src.charCodeAt(w)!==38||w+1>=S)return!1;if(u=a.src.charCodeAt(w+1),u===35){if(m=a.src.slice(w).match(Tc),m)return o||(f=m[1][0].toLowerCase()==="x"?parseInt(m[1].slice(1),16):parseInt(m[1],10),k=a.push("text_special","",0),k.content=zc(f)?ms(f):ms(65533),k.markup=m[0],k.info="entity"),a.pos+=m[0].length,!0}else if(m=a.src.slice(w).match(Lc),m&&Cc(gs,m[1]))return o||(k=a.push("text_special","",0),k.content=gs[m[1]],k.markup=m[0],k.info="entity"),a.pos+=m[0].length,!0;return!1};function xs(c,a){var o,u,f,m,k,w,S,D,F={},H=a.length;if(H){var Y=0,q=-2,Z=[];for(o=0;o<H;o++)if(f=a[o],Z.push(0),(a[Y].marker!==f.marker||q!==f.token-1)&&(Y=o),q=f.token,f.length=f.length||0,!!f.close){for(F.hasOwnProperty(f.marker)||(F[f.marker]=[-1,-1,-1,-1,-1,-1]),k=F[f.marker][(f.open?3:0)+f.length%3],u=Y-Z[Y]-1,w=u;u>k;u-=Z[u]+1)if(m=a[u],m.marker===f.marker&&m.open&&m.end<0&&(S=!1,(m.close||f.open)&&(m.length+f.length)%3===0&&(m.length%3!==0||f.length%3!==0)&&(S=!0),!S)){D=u>0&&!a[u-1].open?Z[u-1]+1:0,Z[o]=o-u+D,Z[u]=D,f.open=!1,m.end=o,m.close=!1,w=-1,q=-2;break}w!==-1&&(F[f.marker][(f.open?3:0)+(f.length||0)%3]=w)}}}var Ec=function(a){var o,u=a.tokens_meta,f=a.tokens_meta.length;for(xs(a,a.delimiters),o=0;o<f;o++)u[o]&&u[o].delimiters&&xs(a,u[o].delimiters)},Dc=function(a){var o,u,f=0,m=a.tokens,k=a.tokens.length;for(o=u=0;o<k;o++)m[o].nesting<0&&f--,m[o].level=f,m[o].nesting>0&&f++,m[o].type==="text"&&o+1<k&&m[o+1].type==="text"?m[o+1].content=m[o].content+m[o+1].content:(o!==u&&(m[u]=m[o]),u++);o!==u&&(m.length=u)},Ia=Ca,bs=_e.isWhiteSpace,vs=_e.isPunctChar,ys=_e.isMdAsciiPunct;function vr(c,a,o,u){this.src=c,this.env=o,this.md=a,this.tokens=u,this.tokens_meta=Array(u.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}vr.prototype.pushPending=function(){var c=new Ia("text","",0);return c.content=this.pending,c.level=this.pendingLevel,this.tokens.push(c),this.pending="",c},vr.prototype.push=function(c,a,o){this.pending&&this.pushPending();var u=new Ia(c,a,o),f=null;return o<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),u.level=this.level,o>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],f={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(f),u},vr.prototype.scanDelims=function(c,a){var o=c,u,f,m,k,w,S,D,F,H,Y=!0,q=!0,Z=this.posMax,J=this.src.charCodeAt(c);for(u=c>0?this.src.charCodeAt(c-1):32;o<Z&&this.src.charCodeAt(o)===J;)o++;return m=o-c,f=o<Z?this.src.charCodeAt(o):32,D=ys(u)||vs(String.fromCharCode(u)),H=ys(f)||vs(String.fromCharCode(f)),S=bs(u),F=bs(f),F?Y=!1:H&&(S||D||(Y=!1)),S?q=!1:D&&(F||H||(q=!1)),a?(k=Y,w=q):(k=Y&&(!q||D),w=q&&(!Y||H)),{can_open:k,can_close:w,length:m}},vr.prototype.Token=Ia;var Pc=vr,ws=Sa,Ra=[["text",sc],["linkify",oc],["newline",cc],["escape",uc],["backticks",dc],["strikethrough",Wr.tokenize],["emphasis",Gr.tokenize],["link",fc],["image",mc],["autolink",vc],["html_inline",Sc],["entity",Mc]],Fa=[["balance_pairs",Ec],["strikethrough",Wr.postProcess],["emphasis",Gr.postProcess],["fragments_join",Dc]];function yr(){var c;for(this.ruler=new ws,c=0;c<Ra.length;c++)this.ruler.push(Ra[c][0],Ra[c][1]);for(this.ruler2=new ws,c=0;c<Fa.length;c++)this.ruler2.push(Fa[c][0],Fa[c][1])}yr.prototype.skipToken=function(c){var a,o,u=c.pos,f=this.ruler.getRules(""),m=f.length,k=c.md.options.maxNesting,w=c.cache;if(typeof w[u]<"u"){c.pos=w[u];return}if(c.level<k)for(o=0;o<m&&(c.level++,a=f[o](c,!0),c.level--,!a);o++);else c.pos=c.posMax;a||c.pos++,w[u]=c.pos},yr.prototype.tokenize=function(c){for(var a,o,u=this.ruler.getRules(""),f=u.length,m=c.posMax,k=c.md.options.maxNesting;c.pos<m;){if(c.level<k)for(o=0;o<f&&(a=u[o](c,!1),!a);o++);if(a){if(c.pos>=m)break;continue}c.pending+=c.src[c.pos++]}c.pending&&c.pushPending()},yr.prototype.parse=function(c,a,o,u){var f,m,k,w=new this.State(c,a,o,u);for(this.tokenize(w),m=this.ruler2.getRules(""),k=m.length,f=0;f<k;f++)m[f](w)},yr.prototype.State=Pc;var Ic=yr,_a,ks;function Rc(){return ks||(ks=1,_a=function(c){var a={};c=c||{},a.src_Any=Xi().source,a.src_Cc=Vi().source,a.src_Z=ji().source,a.src_P=va.source,a.src_ZPCc=[a.src_Z,a.src_P,a.src_Cc].join("|"),a.src_ZCc=[a.src_Z,a.src_Cc].join("|");var o="[><|]";return a.src_pseudo_letter="(?:(?!"+o+"|"+a.src_ZPCc+")"+a.src_Any+")",a.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",a.src_auth="(?:(?:(?!"+a.src_ZCc+"|[@/\\[\\]()]).)+@)?",a.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",a.src_host_terminator="(?=$|"+o+"|"+a.src_ZPCc+")(?!"+(c["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+a.src_ZPCc+"))",a.src_path="(?:[/?#](?:(?!"+a.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+a.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+a.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+a.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+a.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+a.src_ZCc+"|[']).)+\\'|\\'(?="+a.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+a.src_ZCc+"|[.]|$)|"+(c["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+a.src_ZCc+"|$)|;(?!"+a.src_ZCc+"|$)|\\!+(?!"+a.src_ZCc+"|[!]|$)|\\?(?!"+a.src_ZCc+"|[?]|$))+|\\/)?",a.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',a.src_xn="xn--[a-z0-9\\-]{1,59}",a.src_domain_root="(?:"+a.src_xn+"|"+a.src_pseudo_letter+"{1,63})",a.src_domain="(?:"+a.src_xn+"|(?:"+a.src_pseudo_letter+")|(?:"+a.src_pseudo_letter+"(?:-|"+a.src_pseudo_letter+"){0,61}"+a.src_pseudo_letter+"))",a.src_host="(?:(?:(?:(?:"+a.src_domain+")\\.)*"+a.src_domain+"))",a.tpl_host_fuzzy="(?:"+a.src_ip4+"|(?:(?:(?:"+a.src_domain+")\\.)+(?:%TLDS%)))",a.tpl_host_no_ip_fuzzy="(?:(?:(?:"+a.src_domain+")\\.)+(?:%TLDS%))",a.src_host_strict=a.src_host+a.src_host_terminator,a.tpl_host_fuzzy_strict=a.tpl_host_fuzzy+a.src_host_terminator,a.src_host_port_strict=a.src_host+a.src_port+a.src_host_terminator,a.tpl_host_port_fuzzy_strict=a.tpl_host_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_port_no_ip_fuzzy_strict=a.tpl_host_no_ip_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+a.src_ZPCc+"|>|$))",a.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+a.src_ZCc+")("+a.src_email_name+"@"+a.tpl_host_fuzzy_strict+")",a.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+a.src_ZPCc+"))((?![$+<=>^`||])"+a.tpl_host_port_fuzzy_strict+a.src_path+")",a.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+a.src_ZPCc+"))((?![$+<=>^`||])"+a.tpl_host_port_no_ip_fuzzy_strict+a.src_path+")",a}),_a}function Ba(c){var a=Array.prototype.slice.call(arguments,1);return a.forEach(function(o){o&&Object.keys(o).forEach(function(u){c[u]=o[u]})}),c}function jr(c){return Object.prototype.toString.call(c)}function Fc(c){return jr(c)==="[object String]"}function _c(c){return jr(c)==="[object Object]"}function Bc(c){return jr(c)==="[object RegExp]"}function As(c){return jr(c)==="[object Function]"}function Nc(c){return c.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Ss={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Oc(c){return Object.keys(c||{}).reduce(function(a,o){return a||Ss.hasOwnProperty(o)},!1)}var Hc={"http:":{validate:function(c,a,o){var u=c.slice(a);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(u)?u.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(c,a,o){var u=c.slice(a);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(u)?a>=3&&c[a-3]===":"||a>=3&&c[a-3]==="/"?0:u.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(c,a,o){var u=c.slice(a);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(u)?u.match(o.re.mailto)[0].length:0}}},qc="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Xc="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Yc(c){c.__index__=-1,c.__text_cache__=""}function Vc(c){return function(a,o){var u=a.slice(o);return c.test(u)?u.match(c)[0].length:0}}function Cs(){return function(c,a){a.normalize(c)}}function Ur(c){var a=c.re=Rc()(c.__opts__),o=c.__tlds__.slice();c.onCompile(),c.__tlds_replaced__||o.push(qc),o.push(a.src_xn),a.src_tlds=o.join("|");function u(w){return w.replace("%TLDS%",a.src_tlds)}a.email_fuzzy=RegExp(u(a.tpl_email_fuzzy),"i"),a.link_fuzzy=RegExp(u(a.tpl_link_fuzzy),"i"),a.link_no_ip_fuzzy=RegExp(u(a.tpl_link_no_ip_fuzzy),"i"),a.host_fuzzy_test=RegExp(u(a.tpl_host_fuzzy_test),"i");var f=[];c.__compiled__={};function m(w,S){throw new Error('(LinkifyIt) Invalid schema "'+w+'": '+S)}Object.keys(c.__schemas__).forEach(function(w){var S=c.__schemas__[w];if(S!==null){var D={validate:null,link:null};if(c.__compiled__[w]=D,_c(S)){Bc(S.validate)?D.validate=Vc(S.validate):As(S.validate)?D.validate=S.validate:m(w,S),As(S.normalize)?D.normalize=S.normalize:S.normalize?m(w,S):D.normalize=Cs();return}if(Fc(S)){f.push(w);return}m(w,S)}}),f.forEach(function(w){c.__compiled__[c.__schemas__[w]]&&(c.__compiled__[w].validate=c.__compiled__[c.__schemas__[w]].validate,c.__compiled__[w].normalize=c.__compiled__[c.__schemas__[w]].normalize)}),c.__compiled__[""]={validate:null,normalize:Cs()};var k=Object.keys(c.__compiled__).filter(function(w){return w.length>0&&c.__compiled__[w]}).map(Nc).join("|");c.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+a.src_ZPCc+"))("+k+")","i"),c.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+a.src_ZPCc+"))("+k+")","ig"),c.re.schema_at_start=RegExp("^"+c.re.schema_search.source,"i"),c.re.pretest=RegExp("("+c.re.schema_test.source+")|("+c.re.host_fuzzy_test.source+")|@","i"),Yc(c)}function Wc(c,a){var o=c.__index__,u=c.__last_index__,f=c.__text_cache__.slice(o,u);this.schema=c.__schema__.toLowerCase(),this.index=o+a,this.lastIndex=u+a,this.raw=f,this.text=f,this.url=f}function Na(c,a){var o=new Wc(c,a);return c.__compiled__[o.schema].normalize(o,c),o}function lt(c,a){if(!(this instanceof lt))return new lt(c,a);a||Oc(c)&&(a=c,c={}),this.__opts__=Ba({},Ss,a),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ba({},Hc,c),this.__compiled__={},this.__tlds__=Xc,this.__tlds_replaced__=!1,this.re={},Ur(this)}lt.prototype.add=function(a,o){return this.__schemas__[a]=o,Ur(this),this},lt.prototype.set=function(a){return this.__opts__=Ba(this.__opts__,a),this},lt.prototype.test=function(a){if(this.__text_cache__=a,this.__index__=-1,!a.length)return!1;var o,u,f,m,k,w,S,D,F;if(this.re.schema_test.test(a)){for(S=this.re.schema_search,S.lastIndex=0;(o=S.exec(a))!==null;)if(m=this.testSchemaAt(a,o[2],S.lastIndex),m){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+m;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(D=a.search(this.re.host_fuzzy_test),D>=0&&(this.__index__<0||D<this.__index__)&&(u=a.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(k=u.index+u[1].length,(this.__index__<0||k<this.__index__)&&(this.__schema__="",this.__index__=k,this.__last_index__=u.index+u[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(F=a.indexOf("@"),F>=0&&(f=a.match(this.re.email_fuzzy))!==null&&(k=f.index+f[1].length,w=f.index+f[0].length,(this.__index__<0||k<this.__index__||k===this.__index__&&w>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=k,this.__last_index__=w))),this.__index__>=0},lt.prototype.pretest=function(a){return this.re.pretest.test(a)},lt.prototype.testSchemaAt=function(a,o,u){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(a,u,this):0},lt.prototype.match=function(a){var o=0,u=[];this.__index__>=0&&this.__text_cache__===a&&(u.push(Na(this,o)),o=this.__last_index__);for(var f=o?a.slice(o):a;this.test(f);)u.push(Na(this,o)),f=f.slice(this.__last_index__),o+=this.__last_index__;return u.length?u:null},lt.prototype.matchAtStart=function(a){if(this.__text_cache__=a,this.__index__=-1,!a.length)return null;var o=this.re.schema_at_start.exec(a);if(!o)return null;var u=this.testSchemaAt(a,o[2],o[0].length);return u?(this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+u,Na(this,0)):null},lt.prototype.tlds=function(a,o){return a=Array.isArray(a)?a:[a],o?(this.__tlds__=this.__tlds__.concat(a).sort().filter(function(u,f,m){return u!==m[f-1]}).reverse(),Ur(this),this):(this.__tlds__=a.slice(),this.__tlds_replaced__=!0,Ur(this),this)},lt.prototype.normalize=function(a){a.schema||(a.url="http://"+a.url),a.schema==="mailto:"&&!/^mailto:/i.test(a.url)&&(a.url="mailto:"+a.url)},lt.prototype.onCompile=function(){};var Gc=lt;const hr=2147483647,zt=36,Oa=1,wr=26,jc=38,Uc=700,zs=72,Ts=128,Ls="-",Zc=/^xn--/,Jc=/[^\0-\x7F]/,Kc=/[\x2E\u3002\uFF0E\uFF61]/g,Qc={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ha=zt-Oa,Tt=Math.floor,qa=String.fromCharCode;function Ht(c){throw new RangeError(Qc[c])}function $c(c,a){const o=[];let u=c.length;for(;u--;)o[u]=a(c[u]);return o}function Ms(c,a){const o=c.split("@");let u="";o.length>1&&(u=o[0]+"@",c=o[1]),c=c.replace(Kc,".");const f=c.split("."),m=$c(f,a).join(".");return u+m}function Xa(c){const a=[];let o=0;const u=c.length;for(;o<u;){const f=c.charCodeAt(o++);if(f>=55296&&f<=56319&&o<u){const m=c.charCodeAt(o++);(m&64512)==56320?a.push(((f&1023)<<10)+(m&1023)+65536):(a.push(f),o--)}else a.push(f)}return a}const Es=c=>String.fromCodePoint(...c),e0=function(c){return c>=48&&c<58?26+(c-48):c>=65&&c<91?c-65:c>=97&&c<123?c-97:zt},Ds=function(c,a){return c+22+75*(c<26)-((a!=0)<<5)},Ps=function(c,a,o){let u=0;for(c=o?Tt(c/Uc):c>>1,c+=Tt(c/a);c>Ha*wr>>1;u+=zt)c=Tt(c/Ha);return Tt(u+(Ha+1)*c/(c+jc))},Ya=function(c){const a=[],o=c.length;let u=0,f=Ts,m=zs,k=c.lastIndexOf(Ls);k<0&&(k=0);for(let w=0;w<k;++w)c.charCodeAt(w)>=128&&Ht("not-basic"),a.push(c.charCodeAt(w));for(let w=k>0?k+1:0;w<o;){const S=u;for(let F=1,H=zt;;H+=zt){w>=o&&Ht("invalid-input");const Y=e0(c.charCodeAt(w++));Y>=zt&&Ht("invalid-input"),Y>Tt((hr-u)/F)&&Ht("overflow"),u+=Y*F;const q=H<=m?Oa:H>=m+wr?wr:H-m;if(Y<q)break;const Z=zt-q;F>Tt(hr/Z)&&Ht("overflow"),F*=Z}const D=a.length+1;m=Ps(u-S,D,S==0),Tt(u/D)>hr-f&&Ht("overflow"),f+=Tt(u/D),u%=D,a.splice(u++,0,f)}return String.fromCodePoint(...a)},Va=function(c){const a=[];c=Xa(c);const o=c.length;let u=Ts,f=0,m=zs;for(const S of c)S<128&&a.push(qa(S));const k=a.length;let w=k;for(k&&a.push(Ls);w<o;){let S=hr;for(const F of c)F>=u&&F<S&&(S=F);const D=w+1;S-u>Tt((hr-f)/D)&&Ht("overflow"),f+=(S-u)*D,u=S;for(const F of c)if(F<u&&++f>hr&&Ht("overflow"),F===u){let H=f;for(let Y=zt;;Y+=zt){const q=Y<=m?Oa:Y>=m+wr?wr:Y-m;if(H<q)break;const Z=H-q,J=zt-q;a.push(qa(Ds(q+Z%J,0))),H=Tt(Z/J)}a.push(qa(Ds(H,0))),m=Ps(f,D,w===k),f=0,++w}++f,++u}return a.join("")},Is=function(c){return Ms(c,function(a){return Zc.test(a)?Ya(a.slice(4).toLowerCase()):a})},Rs=function(c){return Ms(c,function(a){return Jc.test(a)?"xn--"+Va(a):a})},t0=Lo(Object.freeze(Object.defineProperty({__proto__:null,decode:Ya,default:{version:"2.1.0",ucs2:{decode:Xa,encode:Es},decode:Ya,encode:Va,toASCII:Rs,toUnicode:Is},encode:Va,toASCII:Rs,toUnicode:Is,ucs2decode:Xa,ucs2encode:Es},Symbol.toStringTag,{value:"Module"})));var r0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},a0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},i0={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},kr=_e,s0=Nr,n0=tl,o0=Cl,l0=ac,c0=Ic,h0=Gc,Qt=nr,Fs=t0,u0={default:r0,zero:a0,commonmark:i0},d0=/^(vbscript|javascript|file|data):/,p0=/^data:image\/(gif|png|jpeg|webp);/;function f0(c){var a=c.trim().toLowerCase();return d0.test(a)?!!p0.test(a):!0}var _s=["http:","https:","mailto:"];function g0(c){var a=Qt.parse(c,!0);if(a.hostname&&(!a.protocol||_s.indexOf(a.protocol)>=0))try{a.hostname=Fs.toASCII(a.hostname)}catch{}return Qt.encode(Qt.format(a))}function m0(c){var a=Qt.parse(c,!0);if(a.hostname&&(!a.protocol||_s.indexOf(a.protocol)>=0))try{a.hostname=Fs.toUnicode(a.hostname)}catch{}return Qt.decode(Qt.format(a),Qt.decode.defaultChars+"%")}function pt(c,a){if(!(this instanceof pt))return new pt(c,a);a||kr.isString(c)||(a=c||{},c="default"),this.inline=new c0,this.block=new l0,this.core=new o0,this.renderer=new n0,this.linkify=new h0,this.validateLink=f0,this.normalizeLink=g0,this.normalizeLinkText=m0,this.utils=kr,this.helpers=kr.assign({},s0),this.options={},this.configure(c),a&&this.set(a)}pt.prototype.set=function(c){return kr.assign(this.options,c),this},pt.prototype.configure=function(c){var a=this,o;if(kr.isString(c)&&(o=c,c=u0[o],!c))throw new Error('Wrong `markdown-it` preset "'+o+'", check name');if(!c)throw new Error("Wrong `markdown-it` preset, can't be empty");return c.options&&a.set(c.options),c.components&&Object.keys(c.components).forEach(function(u){c.components[u].rules&&a[u].ruler.enableOnly(c.components[u].rules),c.components[u].rules2&&a[u].ruler2.enableOnly(c.components[u].rules2)}),this},pt.prototype.enable=function(c,a){var o=[];Array.isArray(c)||(c=[c]),["core","block","inline"].forEach(function(f){o=o.concat(this[f].ruler.enable(c,!0))},this),o=o.concat(this.inline.ruler2.enable(c,!0));var u=c.filter(function(f){return o.indexOf(f)<0});if(u.length&&!a)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this},pt.prototype.disable=function(c,a){var o=[];Array.isArray(c)||(c=[c]),["core","block","inline"].forEach(function(f){o=o.concat(this[f].ruler.disable(c,!0))},this),o=o.concat(this.inline.ruler2.disable(c,!0));var u=c.filter(function(f){return o.indexOf(f)<0});if(u.length&&!a)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this},pt.prototype.use=function(c){var a=[this].concat(Array.prototype.slice.call(arguments,1));return c.apply(c,a),this},pt.prototype.parse=function(c,a){if(typeof c!="string")throw new Error("Input data should be a String");var o=new this.core.State(c,this,a);return this.core.process(o),o.tokens},pt.prototype.render=function(c,a){return a=a||{},this.renderer.render(this.parse(c,a),this.options,a)},pt.prototype.parseInline=function(c,a){var o=new this.core.State(c,this,a);return o.inlineMode=!0,this.core.process(o),o.tokens},pt.prototype.renderInline=function(c,a){return a=a||{},this.renderer.render(this.parseInline(c,a),this.options,a)};var x0=pt;(function(c){c.exports=x0})(Mo);const b0=To(ba);new b0({breaks:!0,linkify:!0,typographer:!0});var Bs={},v0={get exports(){return Bs},set exports(c){Bs=c}},Ar={},y0={get exports(){return Ar},set exports(c){Ar=c}};/*!
|
|
32
|
-
* ApexCharts v3.41.1
|
|
33
|
-
* (c) 2018-2023 ApexCharts
|
|
34
|
-
* Released under the MIT License.
|
|
35
|
-
*/var Ns;function w0(){return Ns||(Ns=1,function(c,a){function o(E,e){var t=Object.keys(E);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(E);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(E,i).enumerable})),t.push.apply(t,r)}return t}function u(E){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?o(Object(t),!0).forEach(function(r){S(E,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach(function(r){Object.defineProperty(E,r,Object.getOwnPropertyDescriptor(t,r))})}return E}function f(E){return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(E)}function m(E,e){if(!(E instanceof e))throw new TypeError("Cannot call a class as a function")}function k(E,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(E,r.key,r)}}function w(E,e,t){return e&&k(E.prototype,e),t&&k(E,t),E}function S(E,e,t){return e in E?Object.defineProperty(E,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):E[e]=t,E}function D(E,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(e&&e.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),e&&H(E,e)}function F(E){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},F(E)}function H(E,e){return H=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},H(E,e)}function Y(E,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(E)}function q(E){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,r=F(E);if(e){var i=F(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return Y(this,t)}}function Z(E,e){return function(t){if(Array.isArray(t))return t}(E)||function(t,r){var i=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var s,n,l=[],h=!0,p=!1;try{for(i=i.call(t);!(h=(s=i.next()).done)&&(l.push(s.value),!r||l.length!==r);h=!0);}catch(g){p=!0,n=g}finally{try{h||i.return==null||i.return()}finally{if(p)throw n}}return l}}(E,e)||ae(E,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
36
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function J(E){return function(e){if(Array.isArray(e))return K(e)}(E)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(E)||ae(E)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
37
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ae(E,e){if(E){if(typeof E=="string")return K(E,e);var t=Object.prototype.toString.call(E).slice(8,-1);return t==="Object"&&E.constructor&&(t=E.constructor.name),t==="Map"||t==="Set"?Array.from(E):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?K(E,e):void 0}}function K(E,e){(e==null||e>E.length)&&(e=E.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=E[t];return r}var O=function(){function E(){m(this,E)}return w(E,[{key:"shadeRGBColor",value:function(e,t){var r=t.split(","),i=e<0?0:255,s=e<0?-1*e:e,n=parseInt(r[0].slice(4),10),l=parseInt(r[1],10),h=parseInt(r[2],10);return"rgb("+(Math.round((i-n)*s)+n)+","+(Math.round((i-l)*s)+l)+","+(Math.round((i-h)*s)+h)+")"}},{key:"shadeHexColor",value:function(e,t){var r=parseInt(t.slice(1),16),i=e<0?0:255,s=e<0?-1*e:e,n=r>>16,l=r>>8&255,h=255&r;return"#"+(16777216+65536*(Math.round((i-n)*s)+n)+256*(Math.round((i-l)*s)+l)+(Math.round((i-h)*s)+h)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return E.isColorHex(t)?this.shadeHexColor(e,t):this.shadeRGBColor(e,t)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&f(e)==="object"&&!Array.isArray(e)&&e!=null}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"listToArray",value:function(e){var t,r=[];for(t=0;t<e.length;t++)r[t]=e[t];return r}},{key:"extend",value:function(e,t){var r=this;typeof Object.assign!="function"&&(Object.assign=function(s){if(s==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(s),l=1;l<arguments.length;l++){var h=arguments[l];if(h!=null)for(var p in h)h.hasOwnProperty(p)&&(n[p]=h[p])}return n});var i=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach(function(s){r.isObject(t[s])&&s in e?i[s]=r.extend(e[s],t[s]):Object.assign(i,S({},s,t[s]))}),i}},{key:"extendArray",value:function(e,t){var r=[];return e.map(function(i){r.push(E.extend(t,i))}),e=r}},{key:"monthMod",value:function(e){return e%12}},{key:"clone",value:function(e){if(E.is("Array",e)){for(var t=[],r=0;r<e.length;r++)t[r]=this.clone(e[r]);return t}if(E.is("Null",e))return null;if(E.is("Date",e))return e;if(f(e)==="object"){var i={};for(var s in e)e.hasOwnProperty(s)&&(i[s]=this.clone(e[s]));return i}return e}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return e===null?e:parseFloat(e)}},{key:"stripNumber",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return parseFloat(e.toPrecision(t))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(e){var t=String(e).split(/[eE]/);if(t.length===1)return t[0];var r="",i=e<0?"-":"",s=t[0].replace(".",""),n=Number(t[1])+1;if(n<0){for(r=i+"0.";n++;)r+="0";return r+s.replace(/^-/,"")}for(n-=s.length;n--;)r+="0";return s+r}},{key:"getDimensions",value:function(e){var t=getComputedStyle(e,null),r=e.clientHeight,i=e.clientWidth;return r-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),[i-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),r]}},{key:"getBoundingClientRect",value:function(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:e.clientWidth,height:e.clientHeight,x:t.left,y:t.top}}},{key:"getLargestStringFromArr",value:function(e){return e.reduce(function(t,r){return Array.isArray(r)&&(r=r.reduce(function(i,s){return i.length>s.length?i:s})),t.length>r.length?t:r},0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;e.substring(0,1)!=="#"&&(e="#999999");var r=e.replace("#","");r=r.match(new RegExp("(.{"+r.length/3+"})","g"));for(var i=0;i<r.length;i++)r[i]=parseInt(r[i].length===1?r[i]+r[i]:r[i],16);return t!==void 0&&r.push(t),"rgba("+r.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return parseFloat(e.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&e.length===4?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(e)}},{key:"getPolygonPos",value:function(e,t){for(var r=[],i=2*Math.PI/t,s=0;s<t;s++){var n={};n.x=e*Math.sin(s*i),n.y=-e*Math.cos(s*i),r.push(n)}return r}},{key:"polarToCartesian",value:function(e,t,r,i){var s=(i-90)*Math.PI/180;return{x:e+r*Math.cos(s),y:t+r*Math.sin(s)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",r=e.toString().slice();return r=r.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,r){if(r>=e.length)for(var i=r-e.length+1;i--;)e.push(void 0);return e.splice(r,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e.style.key=t[r])}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(window.navigator.userAgent.indexOf("MSIE")!==-1||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var i=e.indexOf("Edge/");return i>0&&parseInt(e.substring(i+5,e.indexOf(".",i)),10)}}]),E}(),se=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.setEasingFunctions()}return w(E,[{key:"setEasingFunctions",value:function(){var e;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":e="-";break;case"easein":e="<";break;case"easeout":e=">";break;case"easeinout":default:e="<>";break;case"swing":e=function(t){var r=1.70158;return(t-=1)*t*((r+1)*t+r)+1};break;case"bounce":e=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375};break;case"elastic":e=function(t){return t===!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1}}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,r,i){e.attr(t).animate(i).attr(r)}},{key:"animateMarker",value:function(e,t,r,i,s,n){t||(t=0),e.attr({r:t,width:t,height:t}).animate(i,s).attr({r,width:r.width,height:r.height}).afterAll(function(){n()})}},{key:"animateCircle",value:function(e,t,r,i,s){e.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(i,s).attr({r:r.r,cx:r.cx,cy:r.cy})}},{key:"animateRect",value:function(e,t,r,i,s){e.attr(t).animate(i).attr(r).afterAll(function(){return s()})}},{key:"animatePathsGradually",value:function(e){var t=e.el,r=e.realIndex,i=e.j,s=e.fill,n=e.pathFrom,l=e.pathTo,h=e.speed,p=e.delay,g=this.w,x=0;g.config.chart.animations.animateGradually.enabled&&(x=g.config.chart.animations.animateGradually.delay),g.config.chart.animations.dynamicAnimation.enabled&&g.globals.dataChanged&&g.config.chart.type!=="bar"&&(x=0),this.morphSVG(t,r,i,g.config.chart.type!=="line"||g.globals.comboCharts?s:"stroke",n,l,h,p*x)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(e){var t=e.el;t.classList.remove("apexcharts-element-hidden"),t.classList.add("apexcharts-hidden-element-shown")})}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),typeof t.config.chart.events.animationEnd=="function"&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,r,i,s,n,l,h){var p=this,g=this.w;s||(s=e.attr("pathFrom")),n||(n=e.attr("pathTo"));var x=function(b){return g.config.chart.type==="radar"&&(l=1),"M 0 ".concat(g.globals.gridHeight)};(!s||s.indexOf("undefined")>-1||s.indexOf("NaN")>-1)&&(s=x()),(!n||n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n=x()),g.globals.shouldAnimate||(l=1),e.plot(s).animate(1,g.globals.easing,h).plot(s).animate(l,g.globals.easing,h).plot(n).afterAll(function(){O.isNumber(r)?r===g.globals.series[g.globals.maxValsInArrayIndex].length-2&&g.globals.shouldAnimate&&p.animationCompleted(e):i!=="none"&&g.globals.shouldAnimate&&(!g.globals.comboCharts&&t===g.globals.series.length-1||g.globals.comboCharts)&&p.animationCompleted(e),p.showDelayedElements()})}}]),E}(),le=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"getDefaultFilter",value:function(e,t){var r=this.w;e.unfilter(!0),new window.SVG.Filter().size("120%","180%","-5%","-40%"),r.config.states.normal.filter!=="none"?this.applyFilter(e,t,r.config.states.normal.filter.type,r.config.states.normal.filter.value):r.config.chart.dropShadow.enabled&&this.dropShadow(e,r.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var r=this.w;r.config.chart.dropShadow.enabled&&!e.node.classList.contains("apexcharts-marker")&&this.dropShadow(e,r.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,t,r){var i=this,s=this.w,n=r.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter(function(l){var h=s.config.chart.dropShadow;(h.enabled?i.addShadow(l,t,h):l).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:n}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"addDarkenFilter",value:function(e,t,r){var i=this,s=this.w,n=r.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter(function(l){var h=s.config.chart.dropShadow;(h.enabled?i.addShadow(l,t,h):l).componentTransfer({rgb:{type:"linear",slope:n}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"applyFilter",value:function(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5;switch(r){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:i});break;case"darken":this.addDarkenFilter(e,t,{intensity:i})}}},{key:"addShadow",value:function(e,t,r){var i=r.blur,s=r.top,n=r.left,l=r.color,h=r.opacity,p=e.flood(Array.isArray(l)?l[t]:l,h).composite(e.sourceAlpha,"in").offset(n,s).gaussianBlur(i).merge(e.source);return e.blend(e.source,p)}},{key:"dropShadow",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=t.top,s=t.left,n=t.blur,l=t.color,h=t.opacity,p=t.noUserSpaceOnUse,g=this.w;return e.unfilter(!0),O.isIE()&&g.config.chart.type==="radialBar"||(l=Array.isArray(l)?l[r]:l,e.filter(function(x){var b=null;b=O.isSafari()||O.isFirefox()||O.isIE()?x.flood(l,h).composite(x.sourceAlpha,"in").offset(s,i).gaussianBlur(n):x.flood(l,h).composite(x.sourceAlpha,"in").offset(s,i).gaussianBlur(n).merge(x.source),x.blend(x.source,b)}),p||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)),e}},{key:"setSelectionFilter",value:function(e,t,r){var i=this.w;if(i.globals.selectedDataPoints[t]!==void 0&&i.globals.selectedDataPoints[t].indexOf(r)>-1){e.node.setAttribute("selected",!0);var s=i.config.states.active.filter;s!=="none"&&this.applyFilter(e,t,s.type,s.value)}}},{key:"_scaleFilterSize",value:function(e){(function(t){for(var r in t)t.hasOwnProperty(r)&&e.setAttribute(r,t[r])})({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),E}(),U=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"roundPathCorners",value:function(e,t){function r(N,W,G){var $=W.x-N.x,ie=W.y-N.y,te=Math.sqrt($*$+ie*ie);return i(N,W,Math.min(1,G/te))}function i(N,W,G){return{x:N.x+(W.x-N.x)*G,y:N.y+(W.y-N.y)*G}}function s(N,W){N.length>2&&(N[N.length-2]=W.x,N[N.length-1]=W.y)}function n(N){return{x:parseFloat(N[N.length-2]),y:parseFloat(N[N.length-1])}}e.indexOf("NaN")>-1&&(e="");var l=e.split(/[,\s]/).reduce(function(N,W){var G=W.match("([a-zA-Z])(.+)");return G?(N.push(G[1]),N.push(G[2])):N.push(W),N},[]).reduce(function(N,W){return parseFloat(W)==W&&N.length?N[N.length-1].push(W):N.push([W]),N},[]),h=[];if(l.length>1){var p=n(l[0]),g=null;l[l.length-1][0]=="Z"&&l[0].length>2&&(g=["L",p.x,p.y],l[l.length-1]=g),h.push(l[0]);for(var x=1;x<l.length;x++){var b=h[h.length-1],y=l[x],C=y==g?l[1]:l[x+1];if(C&&b&&b.length>2&&y[0]=="L"&&C.length>2&&C[0]=="L"){var T,M,R=n(b),_=n(y),d=n(C);T=r(_,R,t),M=r(_,d,t),s(y,T),y.origPoint=_,h.push(y);var v=i(T,_,.5),z=i(_,M,.5),P=["C",v.x,v.y,z.x,z.y,M.x,M.y];P.origPoint=_,h.push(P)}else h.push(y)}if(g){var B=n(h[h.length-1]);h.push(["Z"]),s(h[0],B)}}else h=l;return h.reduce(function(N,W){return N+W.join(" ")+" "},"")}},{key:"drawLine",value:function(e,t,r,i){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#a8a8a8",n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,h=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"butt";return this.w.globals.dom.Paper.line().attr({x1:e,y1:t,x2:r,y2:i,stroke:s,"stroke-dasharray":n,"stroke-width":l,"stroke-linecap":h})}},{key:"drawRect",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#fefefe",l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1,h=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,p=arguments.length>8&&arguments[8]!==void 0?arguments[8]:null,g=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0,x=this.w.globals.dom.Paper.rect();return x.attr({x:e,y:t,width:r>0?r:0,height:i>0?i:0,rx:s,ry:s,opacity:l,"stroke-width":h!==null?h:0,stroke:p!==null?p:"none","stroke-dasharray":g}),x.node.setAttribute("fill",n),x}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#e1e1e1",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none";return this.w.globals.dom.Paper.polygon(e).attr({fill:i,stroke:t,"stroke-width":r})}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;e<0&&(e=0);var r=this.w.globals.dom.Paper.circle(2*e);return t!==null&&r.attr(t),r}},{key:"drawPath",value:function(e){var t=e.d,r=t===void 0?"":t,i=e.stroke,s=i===void 0?"#a8a8a8":i,n=e.strokeWidth,l=n===void 0?1:n,h=e.fill,p=e.fillOpacity,g=p===void 0?1:p,x=e.strokeOpacity,b=x===void 0?1:x,y=e.classes,C=e.strokeLinecap,T=C===void 0?null:C,M=e.strokeDashArray,R=M===void 0?0:M,_=this.w;return T===null&&(T=_.config.stroke.lineCap),(r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r="M 0 ".concat(_.globals.gridHeight)),_.globals.dom.Paper.path(r).attr({fill:h,"fill-opacity":g,stroke:s,"stroke-opacity":b,"stroke-linecap":T,"stroke-width":l,"stroke-dasharray":R,class:y})}},{key:"group",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w.globals.dom.Paper.group();return e!==null&&t.attr(e),t}},{key:"move",value:function(e,t){var r=["M",e,t].join(" ");return r}},{key:"line",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=null;return r===null?i=[" L",e,t].join(" "):r==="H"?i=[" H",e].join(" "):r==="V"&&(i=[" V",t].join(" ")),i}},{key:"curve",value:function(e,t,r,i,s,n){var l=["C",e,t,r,i,s,n].join(" ");return l}},{key:"quadraticCurve",value:function(e,t,r,i){return["Q",e,t,r,i].join(" ")}},{key:"arc",value:function(e,t,r,i,s,n,l){var h="A";arguments.length>7&&arguments[7]!==void 0&&arguments[7]&&(h="a");var p=[h,e,t,r,i,s,n,l].join(" ");return p}},{key:"renderPaths",value:function(e){var t,r=e.j,i=e.realIndex,s=e.pathFrom,n=e.pathTo,l=e.stroke,h=e.strokeWidth,p=e.strokeLinecap,g=e.fill,x=e.animationDelay,b=e.initialSpeed,y=e.dataChangeSpeed,C=e.className,T=e.shouldClipToGrid,M=T===void 0||T,R=e.bindEventsOnPaths,_=R===void 0||R,d=e.drawShadow,v=d===void 0||d,z=this.w,P=new le(this.ctx),B=new se(this.ctx),N=this.w.config.chart.animations.enabled,W=N&&this.w.config.chart.animations.dynamicAnimation.enabled,G=!!(N&&!z.globals.resized||W&&z.globals.dataChanged&&z.globals.shouldAnimate);G?t=s:(t=n,z.globals.animationEnded=!0);var $=z.config.stroke.dashArray,ie=0;ie=Array.isArray($)?$[i]:z.config.stroke.dashArray;var te=this.drawPath({d:t,stroke:l,strokeWidth:h,fill:g,fillOpacity:1,classes:C,strokeLinecap:p,strokeDashArray:ie});if(te.attr("index",i),M&&te.attr({"clip-path":"url(#gridRectMask".concat(z.globals.cuid,")")}),z.config.states.normal.filter.type!=="none")P.getDefaultFilter(te,i);else if(z.config.chart.dropShadow.enabled&&v&&(!z.config.chart.dropShadow.enabledOnSeries||z.config.chart.dropShadow.enabledOnSeries&&z.config.chart.dropShadow.enabledOnSeries.indexOf(i)!==-1)){var ce=z.config.chart.dropShadow;P.dropShadow(te,ce,i)}_&&(te.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,te)),te.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,te)),te.node.addEventListener("mousedown",this.pathMouseDown.bind(this,te))),te.attr({pathTo:n,pathFrom:s});var me={el:te,j:r,realIndex:i,pathFrom:s,pathTo:n,fill:g,strokeWidth:h,delay:x};return!N||z.globals.resized||z.globals.dataChanged?!z.globals.resized&&z.globals.dataChanged||B.showDelayedElements():B.animatePathsGradually(u(u({},me),{},{speed:b})),z.globals.dataChanged&&W&&G&&B.animatePathsGradually(u(u({},me),{},{speed:y})),te}},{key:"drawPattern",value:function(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#a8a8a8",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;return this.w.globals.dom.Paper.pattern(t,r,function(n){e==="horizontalLines"?n.line(0,0,r,0).stroke({color:i,width:s+1}):e==="verticalLines"?n.line(0,0,0,t).stroke({color:i,width:s+1}):e==="slantedLines"?n.line(0,0,t,r).stroke({color:i,width:s}):e==="squares"?n.rect(t,r).fill("none").stroke({color:i,width:s}):e==="circles"&&n.circle(t).fill("none").stroke({color:i,width:s})})}},{key:"drawGradient",value:function(e,t,r,i,s){var n,l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,h=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,p=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,g=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,x=this.w;t.length<9&&t.indexOf("#")===0&&(t=O.hexToRgba(t,i)),r.length<9&&r.indexOf("#")===0&&(r=O.hexToRgba(r,s));var b=0,y=1,C=1,T=null;h!==null&&(b=h[0]!==void 0?h[0]/100:0,y=h[1]!==void 0?h[1]/100:1,C=h[2]!==void 0?h[2]/100:1,T=h[3]!==void 0?h[3]/100:null);var M=!(x.config.chart.type!=="donut"&&x.config.chart.type!=="pie"&&x.config.chart.type!=="polarArea"&&x.config.chart.type!=="bubble");if(n=p===null||p.length===0?x.globals.dom.Paper.gradient(M?"radial":"linear",function(d){d.at(b,t,i),d.at(y,r,s),d.at(C,r,s),T!==null&&d.at(T,t,i)}):x.globals.dom.Paper.gradient(M?"radial":"linear",function(d){(Array.isArray(p[g])?p[g]:p).forEach(function(v){d.at(v.offset/100,v.color,v.opacity)})}),M){var R=x.globals.gridWidth/2,_=x.globals.gridHeight/2;x.config.chart.type!=="bubble"?n.attr({gradientUnits:"userSpaceOnUse",cx:R,cy:_,r:l}):n.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else e==="vertical"?n.from(0,0).to(0,1):e==="diagonal"?n.from(0,0).to(1,1):e==="horizontal"?n.from(0,1).to(1,1):e==="diagonal2"&&n.from(1,0).to(0,1);return n}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,r=e.maxWidth,i=e.fontSize,s=e.fontFamily,n=this.getTextRects(t,i,s),l=n.width/t.length,h=Math.floor(r/l);return r<n.width?t.slice(0,h-3)+"...":t}},{key:"drawText",value:function(e){var t=this,r=e.x,i=e.y,s=e.text,n=e.textAnchor,l=e.fontSize,h=e.fontFamily,p=e.fontWeight,g=e.foreColor,x=e.opacity,b=e.maxWidth,y=e.cssClass,C=y===void 0?"":y,T=e.isPlainText,M=T===void 0||T,R=this.w;s===void 0&&(s="");var _=s;n||(n="start"),g&&g.length||(g=R.config.chart.foreColor),h=h||R.config.chart.fontFamily,p=p||"regular";var d,v={maxWidth:b,fontSize:l=l||"11px",fontFamily:h};return Array.isArray(s)?d=R.globals.dom.Paper.text(function(z){for(var P=0;P<s.length;P++)_=s[P],b&&(_=t.getTextBasedOnMaxWidth(u({text:s[P]},v))),P===0?z.tspan(_):z.tspan(_).newLine()}):(b&&(_=this.getTextBasedOnMaxWidth(u({text:s},v))),d=M?R.globals.dom.Paper.plain(s):R.globals.dom.Paper.text(function(z){return z.tspan(_)})),d.attr({x:r,y:i,"text-anchor":n,"dominant-baseline":"auto","font-size":l,"font-family":h,"font-weight":p,fill:g,class:"apexcharts-text "+C}),d.node.style.fontFamily=h,d.node.style.opacity=x,d}},{key:"drawMarker",value:function(e,t,r){e=e||0;var i=r.pSize||0,s=null;if(r.shape==="square"||r.shape==="rect"){var n=r.pRadius===void 0?i/2:r.pRadius;t!==null&&i||(i=0,n=0);var l=1.2*i+n,h=this.drawRect(l,l,l,l,n);h.attr({x:e-l/2,y:t-l/2,cx:e,cy:t,class:r.class?r.class:"",fill:r.pointFillColor,"fill-opacity":r.pointFillOpacity?r.pointFillOpacity:1,stroke:r.pointStrokeColor,"stroke-width":r.pointStrokeWidth?r.pointStrokeWidth:0,"stroke-opacity":r.pointStrokeOpacity?r.pointStrokeOpacity:1}),s=h}else r.shape!=="circle"&&r.shape||(O.isNumber(t)||(i=0,t=0),s=this.drawCircle(i,{cx:e,cy:t,class:r.class?r.class:"",stroke:r.pointStrokeColor,fill:r.pointFillColor,"fill-opacity":r.pointFillOpacity?r.pointFillOpacity:1,"stroke-width":r.pointStrokeWidth?r.pointStrokeWidth:0,"stroke-opacity":r.pointStrokeOpacity?r.pointStrokeOpacity:1}));return s}},{key:"pathMouseEnter",value:function(e,t){var r=this.w,i=new le(this.ctx),s=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);if(typeof r.config.chart.events.dataPointMouseEnter=="function"&&r.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:s,dataPointIndex:n,w:r}),this.ctx.events.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:s,dataPointIndex:n,w:r}]),(r.config.states.active.filter.type==="none"||e.node.getAttribute("selected")!=="true")&&r.config.states.hover.filter.type!=="none"&&!r.globals.isTouchDevice){var l=r.config.states.hover.filter;i.applyFilter(e,s,l.type,l.value)}}},{key:"pathMouseLeave",value:function(e,t){var r=this.w,i=new le(this.ctx),s=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);typeof r.config.chart.events.dataPointMouseLeave=="function"&&r.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:s,dataPointIndex:n,w:r}),this.ctx.events.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:s,dataPointIndex:n,w:r}]),r.config.states.active.filter.type!=="none"&&e.node.getAttribute("selected")==="true"||r.config.states.hover.filter.type!=="none"&&i.getDefaultFilter(e,s)}},{key:"pathMouseDown",value:function(e,t){var r=this.w,i=new le(this.ctx),s=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10),l="false";if(e.node.getAttribute("selected")==="true"){if(e.node.setAttribute("selected","false"),r.globals.selectedDataPoints[s].indexOf(n)>-1){var h=r.globals.selectedDataPoints[s].indexOf(n);r.globals.selectedDataPoints[s].splice(h,1)}}else{if(!r.config.states.active.allowMultipleDataPointsSelection&&r.globals.selectedDataPoints.length>0){r.globals.selectedDataPoints=[];var p=r.globals.dom.Paper.select(".apexcharts-series path").members,g=r.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,x=function(C){Array.prototype.forEach.call(C,function(T){T.node.setAttribute("selected","false"),i.getDefaultFilter(T,s)})};x(p),x(g)}e.node.setAttribute("selected","true"),l="true",r.globals.selectedDataPoints[s]===void 0&&(r.globals.selectedDataPoints[s]=[]),r.globals.selectedDataPoints[s].push(n)}if(l==="true"){var b=r.config.states.active.filter;if(b!=="none")i.applyFilter(e,s,b.type,b.value);else if(r.config.states.hover.filter!=="none"&&!r.globals.isTouchDevice){var y=r.config.states.hover.filter;i.applyFilter(e,s,y.type,y.value)}}else r.config.states.active.filter.type!=="none"&&(r.config.states.hover.filter.type==="none"||r.globals.isTouchDevice?i.getDefaultFilter(e,s):(y=r.config.states.hover.filter,i.applyFilter(e,s,y.type,y.value)));typeof r.config.chart.events.dataPointSelection=="function"&&r.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:r.globals.selectedDataPoints,seriesIndex:s,dataPointIndex:n,w:r}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:r.globals.selectedDataPoints,seriesIndex:s,dataPointIndex:n,w:r}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&typeof e.getBBox=="function"&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,r,i){var s=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],n=this.w,l=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:r,foreColor:"#fff",opacity:0});i&&l.attr("transform",i),n.globals.dom.Paper.add(l);var h=l.bbox();return s||(h=l.node.getBoundingClientRect()),l.remove(),{width:h.width,height:h.height}}},{key:"placeTextWithEllipsis",value:function(e,t,r){if(typeof e.getComputedTextLength=="function"&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=r/1.1)){for(var i=t.length-3;i>0;i-=3)if(e.getSubStringLength(0,i)<=r/1.1)return void(e.textContent=t.substring(0,i)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var r in t)t.hasOwnProperty(r)&&e.setAttribute(r,t[r])}}]),E}(),re=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=this.w,r=[];if(t.globals.series.length===0)return r;for(var i=0;i<t.globals.series[t.globals.maxValsInArrayIndex].length;i++){for(var s=0,n=0;n<t.globals.series.length;n++)t.globals.series[n][i]!==void 0&&e.indexOf(n)===-1&&(s+=t.globals.series[n][i]);r.push(s)}return r}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return e===null?this.w.config.series.reduce(function(t,r){return t+r},0):this.w.globals.series[e].reduce(function(t,r){return t+r},0)}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(e===null?this.w.config.series.filter(function(t){return t!==null}):this.w.config.series[e].data.filter(function(t){return t!==null})).length===0}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every(function(t,r,i){return t===i[0]})}},{key:"getCategoryLabels",value:function(e){var t=this.w,r=e.slice();return t.config.xaxis.convertedCatToNumeric&&(r=e.map(function(i,s){return t.config.xaxis.labels.formatter(i-t.globals.minX+1)})),r}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map(function(t){return t.length}).indexOf(Math.max.apply(Math,e.globals.series.map(function(t){return t.length})))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach(function(r){t=Math.max(t,r)}),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach(function(r){t=Math.max(t,r.size)}),t>0&&(t+=e.config.markers.hover.sizeOffset+1),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map(function(t,r){var i=0;if(Array.isArray(t))for(var s=0;s<t.length;s++)i+=t[s];else i+=t;return i})}},{key:"getSeriesTotalsXRange",value:function(e,t){var r=this.w;return r.globals.series.map(function(i,s){for(var n=0,l=0;l<i.length;l++)r.globals.seriesX[s][l]>e&&r.globals.seriesX[s][l]<t&&(n+=i[l]);return n})}},{key:"getPercentSeries",value:function(){var e=this.w;e.globals.seriesPercent=e.globals.series.map(function(t,r){var i=[];if(Array.isArray(t))for(var s=0;s<t.length;s++){var n=e.globals.stackedSeriesTotals[s],l=0;n&&(l=100*t[s]/n),i.push(l)}else{var h=100*t/e.globals.seriesTotals.reduce(function(p,g){return p+g},0);i.push(h)}return i})}},{key:"getCalculatedRatios",value:function(){var e,t,r,i,s=this.w.globals,n=[],l=0,h=[],p=.1,g=0;if(s.yRange=[],s.isMultipleYAxis)for(var x=0;x<s.minYArr.length;x++)s.yRange.push(Math.abs(s.minYArr[x]-s.maxYArr[x])),h.push(0);else s.yRange.push(Math.abs(s.minY-s.maxY));s.xRange=Math.abs(s.maxX-s.minX),s.zRange=Math.abs(s.maxZ-s.minZ);for(var b=0;b<s.yRange.length;b++)n.push(s.yRange[b]/s.gridHeight);if(t=s.xRange/s.gridWidth,r=Math.abs(s.initialMaxX-s.initialMinX)/s.gridWidth,e=s.yRange/s.gridWidth,i=s.xRange/s.gridHeight,(l=s.zRange/s.gridHeight*16)||(l=1),s.minY!==Number.MIN_VALUE&&Math.abs(s.minY)!==0&&(s.hasNegs=!0),s.isMultipleYAxis){h=[];for(var y=0;y<n.length;y++)h.push(-s.minYArr[y]/n[y])}else h.push(-s.minY/n[0]),s.minY!==Number.MIN_VALUE&&Math.abs(s.minY)!==0&&(p=-s.minY/e,g=s.minX/t);return{yRatio:n,invertedYRatio:e,zRatio:l,xRatio:t,initialXRatio:r,invertedXRatio:i,baseLineInvertedY:p,baseLineY:h,baseLineX:g}}},{key:"getLogSeries",value:function(e){var t=this,r=this.w;return r.globals.seriesLog=e.map(function(i,s){return r.config.yaxis[s]&&r.config.yaxis[s].logarithmic?i.map(function(n){return n===null?null:t.getLogVal(r.config.yaxis[s].logBase,n,s)}):i}),r.globals.invalidLogScale?e:r.globals.seriesLog}},{key:"getBaseLog",value:function(e,t){return Math.log(t)/Math.log(e)}},{key:"getLogVal",value:function(e,t,r){if(t===0)return 0;var i=this.w,s=i.globals.minYArr[r]===0?-1:this.getBaseLog(e,i.globals.minYArr[r]),n=(i.globals.maxYArr[r]===0?0:this.getBaseLog(e,i.globals.maxYArr[r]))-s;return t<1?t/n:(this.getBaseLog(e,t)-s)/n}},{key:"getLogYRatios",value:function(e){var t=this,r=this.w,i=this.w.globals;return i.yLogRatio=e.slice(),i.logYRange=i.yRange.map(function(s,n){if(r.config.yaxis[n]&&t.w.config.yaxis[n].logarithmic){var l,h=-Number.MAX_VALUE,p=Number.MIN_VALUE;return i.seriesLog.forEach(function(g,x){g.forEach(function(b){r.config.yaxis[x]&&r.config.yaxis[x].logarithmic&&(h=Math.max(b,h),p=Math.min(b,p))})}),l=Math.pow(i.yRange[n],Math.abs(p-h)/i.yRange[n]),i.yLogRatio[n]=l/i.gridHeight,l}}),i.invalidLogScale?e.slice():i.yLogRatio}}],[{key:"checkComboSeries",value:function(e){var t=!1,r=0,i=0;return e.length&&e[0].type!==void 0&&e.forEach(function(s){s.type!=="bar"&&s.type!=="column"&&s.type!=="candlestick"&&s.type!=="boxPlot"||r++,s.type!==void 0&&i++}),i>0&&(t=!0),{comboBarCount:r,comboCharts:t}}},{key:"extendArrayProps",value:function(e,t,r){return t.yaxis&&(t=e.extendYAxis(t,r)),t.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=e.extendXAxisAnnotations(t)),t.annotations.points&&(t=e.extendPointAnnotations(t))),t}}]),E}(),fe=function(){function E(e){m(this,E),this.w=e.w,this.annoCtx=e}return w(E,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=this.w;if(e.label.orientation==="vertical"){var i=t!==null?t:0,s=r.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(i,"']"));if(s!==null){var n=s.getBoundingClientRect();s.setAttribute("x",parseFloat(s.getAttribute("x"))-n.height+4),e.label.position==="top"?s.setAttribute("y",parseFloat(s.getAttribute("y"))+n.width):s.setAttribute("y",parseFloat(s.getAttribute("y"))-n.width);var l=this.annoCtx.graphics.rotateAroundCenter(s),h=l.x,p=l.y;s.setAttribute("transform","rotate(-90 ".concat(h," ").concat(p,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var r=this.w;if(!e||t.label.text===void 0||t.label.text!==void 0&&!String(t.label.text).trim())return null;var i=r.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),s=e.getBoundingClientRect(),n=t.label.style.padding.left,l=t.label.style.padding.right,h=t.label.style.padding.top,p=t.label.style.padding.bottom;t.label.orientation==="vertical"&&(h=t.label.style.padding.left,p=t.label.style.padding.right,n=t.label.style.padding.top,l=t.label.style.padding.bottom);var g=s.left-i.left-n,x=s.top-i.top-h,b=this.annoCtx.graphics.drawRect(g-r.globals.barPadForNumericAxis,x,s.width+n+l,s.height+h+p,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&b.node.classList.add(t.id),b}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,r=function(i,s,n){var l=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(n,"-annotations .apexcharts-").concat(n,"-annotation-label[rel='").concat(s,"']"));if(l){var h=l.parentNode,p=e.addBackgroundToAnno(l,i);p&&(h.insertBefore(p.node,l),i.label.mouseEnter&&p.node.addEventListener("mouseenter",i.label.mouseEnter.bind(e,i)),i.label.mouseLeave&&p.node.addEventListener("mouseleave",i.label.mouseLeave.bind(e,i)),i.label.click&&p.node.addEventListener("click",i.label.click.bind(e,i)))}};t.config.annotations.xaxis.map(function(i,s){r(i,s,"xaxis")}),t.config.annotations.yaxis.map(function(i,s){r(i,s,"yaxis")}),t.config.annotations.points.map(function(i,s){r(i,s,"point")})}},{key:"getY1Y2",value:function(e,t){var r,i=e==="y1"?t.y:t.y2,s=this.w;if(this.annoCtx.invertAxis){var n=s.globals.labels.indexOf(i);s.config.xaxis.convertedCatToNumeric&&(n=s.globals.categoryLabels.indexOf(i));var l=s.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(n+1)+")");l&&(r=parseFloat(l.getAttribute("y")))}else{var h;s.config.yaxis[t.yAxisIndex].logarithmic?h=(i=new re(this.annoCtx.ctx).getLogVal(i,t.yAxisIndex))/s.globals.yLogRatio[t.yAxisIndex]:h=(i-s.globals.minYArr[t.yAxisIndex])/(s.globals.yRange[t.yAxisIndex]/s.globals.gridHeight),r=s.globals.gridHeight-h,!t.marker||t.y!==void 0&&t.y!==null||(r=0),s.config.yaxis[t.yAxisIndex]&&s.config.yaxis[t.yAxisIndex].reversed&&(r=h)}return typeof i=="string"&&i.indexOf("px")>-1&&(r=parseFloat(i)),r}},{key:"getX1X2",value:function(e,t){var r=this.w,i=this.annoCtx.invertAxis?r.globals.minY:r.globals.minX,s=this.annoCtx.invertAxis?r.globals.maxY:r.globals.maxX,n=this.annoCtx.invertAxis?r.globals.yRange[0]:r.globals.xRange,l=(t.x-i)/(n/r.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(l=(s-t.x)/(n/r.globals.gridWidth)),r.config.xaxis.type!=="category"&&!r.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||r.globals.dataFormatXNumeric||(l=this.getStringX(t.x));var h=(t.x2-i)/(n/r.globals.gridWidth);return this.annoCtx.inversedReversedAxis&&(h=(s-t.x2)/(n/r.globals.gridWidth)),r.config.xaxis.type!=="category"&&!r.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||r.globals.dataFormatXNumeric||(h=this.getStringX(t.x2)),t.x!==void 0&&t.x!==null||!t.marker||(l=r.globals.gridWidth),e==="x1"&&typeof t.x=="string"&&t.x.indexOf("px")>-1&&(l=parseFloat(t.x)),e==="x2"&&typeof t.x2=="string"&&t.x2.indexOf("px")>-1&&(h=parseFloat(t.x2)),e==="x1"?l:h}},{key:"getStringX",value:function(e){var t=this.w,r=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var i=t.globals.labels.indexOf(e),s=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(i+1)+")");return s&&(r=parseFloat(s.getAttribute("x"))),r}}]),E}(),ye=function(){function E(e){m(this,E),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new fe(this.annoCtx)}return w(E,[{key:"addXaxisAnnotation",value:function(e,t,r){var i,s=this.w,n=this.helpers.getX1X2("x1",e),l=e.label.text,h=e.strokeDashArray;if(O.isNumber(n)){if(e.x2===null||e.x2===void 0){var p=this.annoCtx.graphics.drawLine(n+e.offsetX,0+e.offsetY,n+e.offsetX,s.globals.gridHeight+e.offsetY,e.borderColor,h,e.borderWidth);t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}else{if((i=this.helpers.getX1X2("x2",e))<n){var g=n;n=i,i=g}var x=this.annoCtx.graphics.drawRect(n+e.offsetX,0+e.offsetY,i-n,s.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,h);x.node.classList.add("apexcharts-annotation-rect"),x.attr("clip-path","url(#gridRectMask".concat(s.globals.cuid,")")),t.appendChild(x.node),e.id&&x.node.classList.add(e.id)}var b=this.annoCtx.graphics.getTextRects(l,parseFloat(e.label.style.fontSize)),y=e.label.position==="top"?4:e.label.position==="center"?s.globals.gridHeight/2+(e.label.orientation==="vertical"?b.width/2:0):s.globals.gridHeight,C=this.annoCtx.graphics.drawText({x:n+e.label.offsetX,y:y+e.label.offsetY-(e.label.orientation==="vertical"?e.label.position==="top"?b.width/2-12:-b.width/2:0),text:l,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-xaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});C.attr({rel:r}),t.appendChild(C.node),this.annoCtx.helpers.setOrientations(e,r)}}},{key:"drawXAxisAnnotations",value:function(){var e=this,t=this.w,r=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return t.config.annotations.xaxis.map(function(i,s){e.addXaxisAnnotation(i,r.node,s)}),r}}]),E}(),Ee=function(){function E(e){m(this,E),this.w=e.w,this.annoCtx=e,this.helpers=new fe(this.annoCtx)}return w(E,[{key:"addYaxisAnnotation",value:function(e,t,r){var i,s=this.w,n=e.strokeDashArray,l=this.helpers.getY1Y2("y1",e),h=e.label.text;if(e.y2===null||e.y2===void 0){var p=this.annoCtx.graphics.drawLine(0+e.offsetX,l+e.offsetY,this._getYAxisAnnotationWidth(e),l+e.offsetY,e.borderColor,n,e.borderWidth);t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}else{if((i=this.helpers.getY1Y2("y2",e))>l){var g=l;l=i,i=g}var x=this.annoCtx.graphics.drawRect(0+e.offsetX,i+e.offsetY,this._getYAxisAnnotationWidth(e),l-i,0,e.fillColor,e.opacity,1,e.borderColor,n);x.node.classList.add("apexcharts-annotation-rect"),x.attr("clip-path","url(#gridRectMask".concat(s.globals.cuid,")")),t.appendChild(x.node),e.id&&x.node.classList.add(e.id)}var b=e.label.position==="right"?s.globals.gridWidth:e.label.position==="center"?s.globals.gridWidth/2:0,y=this.annoCtx.graphics.drawText({x:b+e.label.offsetX,y:(i??l)+e.label.offsetY-3,text:h,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});y.attr({rel:r}),t.appendChild(y.node)}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,r=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.map(function(i,s){e.addYaxisAnnotation(i,r.node,s)}),r}}]),E}(),we=function(){function E(e){m(this,E),this.w=e.w,this.annoCtx=e,this.helpers=new fe(this.annoCtx)}return w(E,[{key:"addPointAnnotation",value:function(e,t,r){this.w;var i=this.helpers.getX1X2("x1",e),s=this.helpers.getY1Y2("y1",e);if(O.isNumber(i)){var n={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},l=this.annoCtx.graphics.drawMarker(i+e.marker.offsetX,s+e.marker.offsetY,n);t.appendChild(l.node);var h=e.label.text?e.label.text:"",p=this.annoCtx.graphics.drawText({x:i+e.label.offsetX,y:s+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:h,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(p.attr({rel:r}),t.appendChild(p.node),e.customSVG.SVG){var g=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});g.attr({transform:"translate(".concat(i+e.customSVG.offsetX,", ").concat(s+e.customSVG.offsetY,")")}),g.node.innerHTML=e.customSVG.SVG,t.appendChild(g.node)}if(e.image.path){var x=e.image.width?e.image.width:20,b=e.image.height?e.image.height:20;l=this.annoCtx.addImage({x:i+e.image.offsetX-x/2,y:s+e.image.offsetY-b/2,width:x,height:b,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&l.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&l.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&l.node.addEventListener("click",e.click.bind(this,e))}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,r=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map(function(i,s){e.addPointAnnotation(i,r.node,s)}),r}}]),E}(),Ce={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},Pe=function(){function E(){m(this,E),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return w(E,[{key:"init",value:function(){return{annotations:{yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[Ce],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,xAxisLabelClick:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0,targets:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(e){return new Date(e).toDateString()}},png:{filename:void 0},svg:{filename:void 0}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,borderRadiusApplication:"around",borderRadiusWhenStacked:"last",rangeBarOverlap:!0,rangeBarGroupRows:!1,hideZeroBarsWhenGrouped:!1,isDumbbell:!1,dumbbellColors:void 0,isFunnel:!1,isFunnel3d:!0,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal",total:{enabled:!1,formatter:void 0,offsetX:0,offsetY:0,style:{color:"#373d3f",fontSize:"12px",fontFamily:void 0,fontWeight:600}}}},bubble:{zScaling:!0,minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,dataLabels:{format:"scale"},colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce(function(t,r){return t+r},0)/e.globals.series.length+"%"}}}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce(function(t,r){return t+r},0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return e!==null?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",width:8,height:8,radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.1}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.5}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),E}(),Je=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.graphics=new U(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new fe(this),this.xAxisAnnotations=new ye(this),this.yAxisAnnotations=new Ee(this),this.pointsAnnotations=new we(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return w(E,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),r=this.xAxisAnnotations.drawXAxisAnnotations(),i=this.pointsAnnotations.drawPointAnnotations(),s=e.config.chart.animations.enabled,n=[t,r,i],l=[r.node,t.node,i.node],h=0;h<3;h++)e.globals.dom.elGraphical.add(n[h]),!s||e.globals.resized||e.globals.dataChanged||e.config.chart.type!=="scatter"&&e.config.chart.type!=="bubble"&&e.globals.dataPoints>1&&l[h].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:l[h],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map(function(t,r){e.addImage(t,r)})}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map(function(t,r){e.addText(t,r)})}},{key:"addXaxisAnnotation",value:function(e,t,r){this.xAxisAnnotations.addXaxisAnnotation(e,t,r)}},{key:"addYaxisAnnotation",value:function(e,t,r){this.yAxisAnnotations.addYaxisAnnotation(e,t,r)}},{key:"addPointAnnotation",value:function(e,t,r){this.pointsAnnotations.addPointAnnotation(e,t,r)}},{key:"addText",value:function(e,t){var r=e.x,i=e.y,s=e.text,n=e.textAnchor,l=e.foreColor,h=e.fontSize,p=e.fontFamily,g=e.fontWeight,x=e.cssClass,b=e.backgroundColor,y=e.borderWidth,C=e.strokeDashArray,T=e.borderRadius,M=e.borderColor,R=e.appendTo,_=R===void 0?".apexcharts-annotations":R,d=e.paddingLeft,v=d===void 0?4:d,z=e.paddingRight,P=z===void 0?4:z,B=e.paddingBottom,N=B===void 0?2:B,W=e.paddingTop,G=W===void 0?2:W,$=this.w,ie=this.graphics.drawText({x:r,y:i,text:s,textAnchor:n||"start",fontSize:h||"12px",fontWeight:g||"regular",fontFamily:p||$.config.chart.fontFamily,foreColor:l||$.config.chart.foreColor,cssClass:x}),te=$.globals.dom.baseEl.querySelector(_);te&&te.appendChild(ie.node);var ce=ie.bbox();if(s){var me=this.graphics.drawRect(ce.x-v,ce.y-G,ce.width+v+P,ce.height+N+G,T,b||"transparent",1,y,M,C);te.insertBefore(me.node,ie.node)}}},{key:"addImage",value:function(e,t){var r=this.w,i=e.path,s=e.x,n=s===void 0?0:s,l=e.y,h=l===void 0?0:l,p=e.width,g=p===void 0?20:p,x=e.height,b=x===void 0?20:x,y=e.appendTo,C=y===void 0?".apexcharts-annotations":y,T=r.globals.dom.Paper.image(i);T.size(g,b).move(n,h);var M=r.globals.dom.baseEl.querySelector(C);return M&&M.appendChild(T.node),T}},{key:"addXaxisAnnotationExternal",value:function(e,t,r){return this.addAnnotationExternal({params:e,pushToMemory:t,context:r,type:"xaxis",contextMethod:r.addXaxisAnnotation}),r}},{key:"addYaxisAnnotationExternal",value:function(e,t,r){return this.addAnnotationExternal({params:e,pushToMemory:t,context:r,type:"yaxis",contextMethod:r.addYaxisAnnotation}),r}},{key:"addPointAnnotationExternal",value:function(e,t,r){return this.invertAxis===void 0&&(this.invertAxis=r.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:r,type:"point",contextMethod:r.addPointAnnotation}),r}},{key:"addAnnotationExternal",value:function(e){var t=e.params,r=e.pushToMemory,i=e.context,s=e.type,n=e.contextMethod,l=i,h=l.w,p=h.globals.dom.baseEl.querySelector(".apexcharts-".concat(s,"-annotations")),g=p.childNodes.length+1,x=new Pe,b=Object.assign({},s==="xaxis"?x.xAxisAnnotation:s==="yaxis"?x.yAxisAnnotation:x.pointAnnotation),y=O.extend(b,t);switch(s){case"xaxis":this.addXaxisAnnotation(y,p,g);break;case"yaxis":this.addYaxisAnnotation(y,p,g);break;case"point":this.addPointAnnotation(y,p,g)}var C=h.globals.dom.baseEl.querySelector(".apexcharts-".concat(s,"-annotations .apexcharts-").concat(s,"-annotation-label[rel='").concat(g,"']")),T=this.helpers.addBackgroundToAnno(C,y);return T&&p.insertBefore(T.node,C),r&&h.globals.memory.methodsToExec.push({context:l,id:y.id?y.id:O.randomId(),method:n,label:"addAnnotation",params:t}),i}},{key:"clearAnnotations",value:function(e){var t=e.w,r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");t.globals.memory.methodsToExec.map(function(i,s){i.label!=="addText"&&i.label!=="addAnnotation"||t.globals.memory.methodsToExec.splice(s,1)}),r=O.listToArray(r),Array.prototype.forEach.call(r,function(i){for(;i.firstChild;)i.removeChild(i.firstChild)})}},{key:"removeAnnotation",value:function(e,t){var r=e.w,i=r.globals.dom.baseEl.querySelectorAll(".".concat(t));i&&(r.globals.memory.methodsToExec.map(function(s,n){s.id===t&&r.globals.memory.methodsToExec.splice(n,1)}),Array.prototype.forEach.call(i,function(s){s.parentElement.removeChild(s)}))}}]),E}(),ne=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return w(E,[{key:"isValidDate",value:function(e){return!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var r=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return r=this.getTimeStamp(r)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var r=this.w.globals.locale,i=this.w.config.xaxis.labels.datetimeUTC,s=["\0"].concat(J(r.months)),n=[""].concat(J(r.shortMonths)),l=[""].concat(J(r.days)),h=[""].concat(J(r.shortDays));function p(N,W){var G=N+"";for(W=W||2;G.length<W;)G="0"+G;return G}var g=i?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+g)).replace(/(^|[^\\])yy/g,"$1"+g.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+g);var x=(i?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+s[0])).replace(/(^|[^\\])MMM/g,"$1"+n[0])).replace(/(^|[^\\])MM/g,"$1"+p(x))).replace(/(^|[^\\])M/g,"$1"+x);var b=i?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+l[0])).replace(/(^|[^\\])ddd/g,"$1"+h[0])).replace(/(^|[^\\])dd/g,"$1"+p(b))).replace(/(^|[^\\])d/g,"$1"+b);var y=i?e.getUTCHours():e.getHours(),C=y>12?y-12:y===0?12:y;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+p(y))).replace(/(^|[^\\])H/g,"$1"+y)).replace(/(^|[^\\])hh+/g,"$1"+p(C))).replace(/(^|[^\\])h/g,"$1"+C);var T=i?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+p(T))).replace(/(^|[^\\])m/g,"$1"+T);var M=i?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+p(M))).replace(/(^|[^\\])s/g,"$1"+M);var R=i?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+p(R,3)),R=Math.round(R/10),t=t.replace(/(^|[^\\])ff/g,"$1"+p(R)),R=Math.round(R/10);var _=y<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+R)).replace(/(^|[^\\])TT+/g,"$1"+_)).replace(/(^|[^\\])T/g,"$1"+_.charAt(0));var d=_.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+d)).replace(/(^|[^\\])t/g,"$1"+d.charAt(0));var v=-e.getTimezoneOffset(),z=i||!v?"Z":v>0?"+":"-";if(!i){var P=(v=Math.abs(v))%60;z+=p(Math.floor(v/60))+":"+p(P)}t=t.replace(/(^|[^\\])K/g,"$1"+z);var B=(i?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(l[0],"g"),l[B])).replace(new RegExp(h[0],"g"),h[B])).replace(new RegExp(s[0],"g"),s[x])).replace(new RegExp(n[0],"g"),n[x])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,r){var i=this.w;i.config.xaxis.min!==void 0&&(e=i.config.xaxis.min),i.config.xaxis.max!==void 0&&(t=i.config.xaxis.max);var s=this.getDate(e),n=this.getDate(t),l=this.formatDate(s,"yyyy MM dd HH mm ss fff").split(" "),h=this.formatDate(n,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(l[6],10),maxMillisecond:parseInt(h[6],10),minSecond:parseInt(l[5],10),maxSecond:parseInt(h[5],10),minMinute:parseInt(l[4],10),maxMinute:parseInt(h[4],10),minHour:parseInt(l[3],10),maxHour:parseInt(h[3],10),minDate:parseInt(l[2],10),maxDate:parseInt(h[2],10),minMonth:parseInt(l[1],10)-1,maxMonth:parseInt(h[1],10)-1,minYear:parseInt(l[0],10),maxYear:parseInt(h[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,r){return this.determineDaysOfMonths(e,t)-r}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,r){var i=this.daysCntOfYear[t]+r;return t>1&&this.isLeapYear()&&i++,i}},{key:"determineDaysOfMonths",value:function(e,t){var r=30;switch(e=O.monthMod(e),!0){case this.months30.indexOf(e)>-1:e===2&&(r=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:r=31}return r}}]),E}(),ze=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.tooltipKeyFormat="dd MMM"}return w(E,[{key:"xLabelFormat",value:function(e,t,r,i){var s=this.w;if(s.config.xaxis.type==="datetime"&&s.config.xaxis.labels.formatter===void 0&&s.config.tooltip.x.formatter===void 0){var n=new ne(this.ctx);return n.formatDate(n.getDate(t),s.config.tooltip.x.format)}return e(t,r,i)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map(function(t){return t}):e}},{key:"defaultYFormatter",value:function(e,t,r){var i=this.w;return O.isNumber(e)&&(e=i.globals.yValueDecimal!==0?e.toFixed(t.decimalsInFloat!==void 0?t.decimalsInFloat:i.globals.yValueDecimal):i.globals.maxYArr[r]-i.globals.minYArr[r]<5?e.toFixed(1):e.toFixed(0)),e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(r){return e.defaultGeneralFormatter(r)},t.globals.ttKeyFormatter=function(r){return e.defaultGeneralFormatter(r)},t.globals.ttZFormatter=function(r){return r},t.globals.legendFormatter=function(r){return e.defaultGeneralFormatter(r)},t.config.xaxis.labels.formatter!==void 0?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(r){if(O.isNumber(r)){if(!t.config.xaxis.convertedCatToNumeric&&t.config.xaxis.type==="numeric"){if(O.isNumber(t.config.xaxis.decimalsInFloat))return r.toFixed(t.config.xaxis.decimalsInFloat);var i=t.globals.maxX-t.globals.minX;return i>0&&i<100?r.toFixed(1):r.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?r.toFixed(1):r.toFixed(0)}return r},typeof t.config.tooltip.x.formatter=="function"?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,typeof t.config.xaxis.tooltip.formatter=="function"&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||t.config.tooltip.y.formatter!==void 0)&&(t.globals.ttVal=t.config.tooltip.y),t.config.tooltip.z.formatter!==void 0&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),t.config.legend.formatter!==void 0&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach(function(r,i){r.labels.formatter!==void 0?t.globals.yLabelFormatters[i]=r.labels.formatter:t.globals.yLabelFormatters[i]=function(s){return t.globals.xyCharts?Array.isArray(s)?s.map(function(n){return e.defaultYFormatter(n,r,i)}):e.defaultYFormatter(s,r,i):s}}),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if(e.config.chart.type==="heatmap"){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce(function(r,i){return r.length>i.length?r:i},0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),E}(),ke=function(E){var e,t=E.isTimeline,r=E.ctx,i=E.seriesIndex,s=E.dataPointIndex,n=E.y1,l=E.y2,h=E.w,p=h.globals.seriesRangeStart[i][s],g=h.globals.seriesRangeEnd[i][s],x=h.globals.labels[s],b=h.config.series[i].name?h.config.series[i].name:"",y=h.globals.ttKeyFormatter,C=h.config.tooltip.y.title.formatter,T={w:h,seriesIndex:i,dataPointIndex:s,start:p,end:g};typeof C=="function"&&(b=C(b,T)),(e=h.config.series[i].data[s])!==null&&e!==void 0&&e.x&&(x=h.config.series[i].data[s].x),t||h.config.xaxis.type==="datetime"&&(x=new ze(r).xLabelFormat(h.globals.ttKeyFormatter,x,x,{i:void 0,dateFormatter:new ne(r).formatDate,w:h})),typeof y=="function"&&(x=y(x,T)),Number.isFinite(n)&&Number.isFinite(l)&&(p=n,g=l);var M="",R="",_=h.globals.colors[i];if(h.config.tooltip.x.formatter===void 0)if(h.config.xaxis.type==="datetime"){var d=new ne(r);M=d.formatDate(d.getDate(p),h.config.tooltip.x.format),R=d.formatDate(d.getDate(g),h.config.tooltip.x.format)}else M=p,R=g;else M=h.config.tooltip.x.formatter(p),R=h.config.tooltip.x.formatter(g);return{start:p,end:g,startVal:M,endVal:R,ylabel:x,color:_,seriesName:b}},Ve=function(E){var e=E.color,t=E.seriesName,r=E.ylabel,i=E.start,s=E.end,n=E.seriesIndex,l=E.dataPointIndex,h=E.ctx.tooltip.tooltipLabels.getFormatters(n);i=h.yLbFormatter(i),s=h.yLbFormatter(s);var p=h.yLbFormatter(E.w.globals.series[n][l]),g=`<span class="value start-value">
|
|
38
|
-
`.concat(i,`
|
|
39
|
-
</span> <span class="separator">-</span> <span class="value end-value">
|
|
40
|
-
`).concat(s,`
|
|
41
|
-
</span>`);return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+e+'">'+(t||"")+'</span></div><div> <span class="category">'+r+": </span> "+(E.w.globals.comboCharts?E.w.config.series[n].type==="rangeArea"||E.w.config.series[n].type==="rangeBar"?g:"<span>".concat(p,"</span>"):g)+" </div></div>"},$e=function(){function E(e){m(this,E),this.opts=e}return w(E,[{key:"hideYAxis",value:function(){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0}},{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.hideYAxis(),O.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"funnel",value:function(){return this.hideYAxis(),u(u({},this.bar()),{},{chart:{animations:{easing:"linear",speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var r=t.seriesIndex,i=t.dataPointIndex,s=t.w;return e._getBoxTooltip(s,r,i,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var r=t.seriesIndex,i=t.dataPointIndex,s=t.w;return e._getBoxTooltip(s,r,i,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var r=t.seriesIndex,i=t.dataPointIndex,s=t.w,n=function(){var l=s.globals.seriesRangeStart[r][i];return s.globals.seriesRangeEnd[r][i]-l};return s.globals.comboCharts?s.config.series[r].type==="rangeBar"||s.config.series[r].type==="rangeArea"?n():e:n()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?function(t){var r=ke(u(u({},t),{},{isTimeline:!0})),i=r.color,s=r.seriesName,n=r.ylabel,l=r.startVal,h=r.endVal;return Ve(u(u({},t),{},{color:i,seriesName:s,ylabel:n,start:l,end:h}))}(e):function(t){var r=ke(t),i=r.color,s=r.seriesName,n=r.ylabel,l=r.start,h=r.end;return Ve(u(u({},t),{},{color:i,seriesName:s,ylabel:n,start:l,end:h}))}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,r;return(t=e.plotOptions.bar)!==null&&t!==void 0&&t.barHeight||(e.plotOptions.bar.barHeight=2),(r=e.plotOptions.bar)!==null&&r!==void 0&&r.columnWidth||(e.plotOptions.bar.columnWidth=2),e}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(e){return function(t){var r=ke(t),i=r.color,s=r.seriesName,n=r.ylabel,l=r.start,h=r.end;return Ve(u(u({},t),{},{color:i,seriesName:s,ylabel:n,start:l,end:h}))}(e)}}}}},{key:"brush",value:function(e){return O.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach(function(r,i){e.yaxis[i].min=0,e.yaxis[i].max=100}),e.chart.type==="bar"&&(e.dataLabels.formatter=t||function(r){return typeof r=="number"&&r?r.toFixed(0)+"%":r}),e}},{key:"stackedBars",value:function(){var e=this.bar();return u(u({},e),{},{plotOptions:u(u({},e.plotOptions),{},{bar:u(u({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,r){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(n){return O.isNumber(n)?Math.floor(n):n};var i=e.xaxis.labels.formatter,s=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return r&&r.length&&(s=r.map(function(n){return Array.isArray(n)?n:String(n)})),s&&s.length&&(e.xaxis.labels.formatter=function(n){return O.isNumber(n)?i(s[Math.floor(n)-1]):i(n)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"polarArea",value:function(){return this.opts.yaxis[0].tickAmount=this.opts.yaxis[0].tickAmount?this.opts.yaxis[0].tickAmount:6,{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}},{key:"_getBoxTooltip",value:function(e,t,r,i,s){var n=e.globals.seriesCandleO[t][r],l=e.globals.seriesCandleH[t][r],h=e.globals.seriesCandleM[t][r],p=e.globals.seriesCandleL[t][r],g=e.globals.seriesCandleC[t][r];return e.config.series[t].type&&e.config.series[t].type!==s?`<div class="apexcharts-custom-tooltip">
|
|
42
|
-
`.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": <strong>").concat(e.globals.series[t][r],`</strong>
|
|
43
|
-
</div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(e.config.chart.type,'">')+"<div>".concat(i[0],': <span class="value">')+n+"</span></div>"+"<div>".concat(i[1],': <span class="value">')+l+"</span></div>"+(h?"<div>".concat(i[2],': <span class="value">')+h+"</span></div>":"")+"<div>".concat(i[3],': <span class="value">')+p+"</span></div>"+"<div>".concat(i[4],': <span class="value">')+g+"</span></div></div>"}}]),E}(),At=function(){function E(e){m(this,E),this.opts=e}return w(E,[{key:"init",value:function(e){var t=e.responsiveOverride,r=this.opts,i=new Pe,s=new $e(r);this.chartType=r.chart.type,r=this.extendYAxis(r),r=this.extendAnnotations(r);var n=i.init(),l={};if(r&&f(r)==="object"){var h,p,g,x,b,y,C,T,M={};M=["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(r.chart.type)!==-1?s[r.chart.type]():s.line(),(h=r.plotOptions)!==null&&h!==void 0&&(p=h.bar)!==null&&p!==void 0&&p.isFunnel&&(M=s.funnel()),r.chart.stacked&&r.chart.type==="bar"&&(M=s.stackedBars()),(g=r.chart.brush)!==null&&g!==void 0&&g.enabled&&(M=s.brush(M)),r.chart.stacked&&r.chart.stackType==="100%"&&(r=s.stacked100(r)),(x=r.plotOptions)!==null&&x!==void 0&&(b=x.bar)!==null&&b!==void 0&&b.isDumbbell&&(r=s.dumbbell(r)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(r),r.xaxis=r.xaxis||window.Apex.xaxis||{},t||(r.xaxis.convertedCatToNumeric=!1),((y=(r=this.checkForCatToNumericXAxis(this.chartType,M,r)).chart.sparkline)!==null&&y!==void 0&&y.enabled||(C=window.Apex.chart)!==null&&C!==void 0&&(T=C.sparkline)!==null&&T!==void 0&&T.enabled)&&(M=s.sparkline(M)),l=O.extend(n,M)}var R=O.extend(l,window.Apex);return n=O.extend(R,r),n=this.handleUserInputErrors(n)}},{key:"checkForCatToNumericXAxis",value:function(e,t,r){var i,s,n=new $e(r),l=(e==="bar"||e==="boxPlot")&&((i=r.plotOptions)===null||i===void 0||(s=i.bar)===null||s===void 0?void 0:s.horizontal),h=e==="pie"||e==="polarArea"||e==="donut"||e==="radar"||e==="radialBar"||e==="heatmap",p=r.xaxis.type!=="datetime"&&r.xaxis.type!=="numeric",g=r.xaxis.tickPlacement?r.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return l||h||!p||g==="between"||(r=n.convertCatToNumeric(r)),r}},{key:"extendYAxis",value:function(e,t){var r=new Pe;(e.yaxis===void 0||!e.yaxis||Array.isArray(e.yaxis)&&e.yaxis.length===0)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=O.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[O.extend(r.yAxis,e.yaxis)]:e.yaxis=O.extendArray(e.yaxis,r.yAxis);var i=!1;e.yaxis.forEach(function(n){n.logarithmic&&(i=!0)});var s=e.series;return t&&!s&&(s=t.config.series),i&&s.length!==e.yaxis.length&&s.length&&(e.yaxis=s.map(function(n,l){if(n.name||(s[l].name="series-".concat(l+1)),e.yaxis[l])return e.yaxis[l].seriesName=s[l].name,e.yaxis[l];var h=O.extend(r.yAxis,e.yaxis[0]);return h.show=!1,h})),i&&s.length>1&&s.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes. Please make sure to equalize both."),e}},{key:"extendAnnotations",value:function(e){return e.annotations===void 0&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),e=this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new Pe;return e.annotations.yaxis=O.extendArray(e.annotations.yaxis!==void 0?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new Pe;return e.annotations.xaxis=O.extendArray(e.annotations.xaxis!==void 0?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new Pe;return e.annotations.points=O.extendArray(e.annotations.points!==void 0?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&e.theme.mode==="dark"&&(e.tooltip||(e.tooltip={}),e.tooltip.theme!=="light"&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.chart.background||(e.chart.background="#424242"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(t.chart.type==="bar"&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return t.chart.type!=="bar"&&t.chart.type!=="rangeBar"||t.tooltip.shared&&t.xaxis.crosshairs.width==="barWidth"&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),t.chart.type!=="candlestick"&&t.chart.type!=="boxPlot"||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),E}(),ut=function(){function E(){m(this,E)}return w(E,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRange=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.labels=[],e.hasXaxisGroups=!1,e.groups=[],e.hasSeriesGroups=!1,e.seriesGroups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],goldenPadding:35,invalidLogScale:!1,ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:e.chart.toolbar.autoSelected==="zoom"&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:e.chart.toolbar.autoSelected==="pan"&&e.chart.toolbar.tools.pan,selectionEnabled:e.chart.toolbar.autoSelected==="selection"&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=O.extend({},e),t.initialSeries=O.clone(e.series),t.lastXAxis=O.clone(t.initialConfig.xaxis),t.lastYAxis=O.clone(t.initialConfig.yaxis),t}}]),E}(),mt=function(){function E(e){m(this,E),this.opts=e}return w(E,[{key:"init",value:function(){var e=new At(this.opts).init({responsiveOverride:!1});return{config:e,globals:new ut().init(e)}}}]),E}(),Ne=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0}return w(E,[{key:"clippedImgArea",value:function(e){var t=this.w,r=t.config,i=parseInt(t.globals.gridWidth,10),s=parseInt(t.globals.gridHeight,10),n=i>s?i:s,l=e.image,h=0,p=0;e.width===void 0&&e.height===void 0?r.fill.image.width!==void 0&&r.fill.image.height!==void 0?(h=r.fill.image.width+1,p=r.fill.image.height):(h=n+1,p=n):(h=e.width,p=e.height);var g=document.createElementNS(t.globals.SVGNS,"pattern");U.setAttrs(g,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:h+"px",height:p+"px"});var x=document.createElementNS(t.globals.SVGNS,"image");g.appendChild(x),x.setAttributeNS(window.SVG.xlink,"href",l),U.setAttrs(x,{x:0,y:0,preserveAspectRatio:"none",width:h+"px",height:p+"px"}),x.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(g)}},{key:"getSeriesIndex",value:function(e){var t=this.w,r=t.config.chart.type;return(r==="bar"||r==="rangeBar")&&t.config.plotOptions.bar.distributed||r==="heatmap"||r==="treemap"?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(e){var t=this.w;this.opts=e;var r,i,s,n=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var l=this.getFillColors()[this.seriesIndex];t.globals.seriesColors[this.seriesIndex]!==void 0&&(l=t.globals.seriesColors[this.seriesIndex]),typeof l=="function"&&(l=l({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:t}));var h=e.fillType?e.fillType:this.getFillType(this.seriesIndex),p=Array.isArray(n.fill.opacity)?n.fill.opacity[this.seriesIndex]:n.fill.opacity;e.color&&(l=e.color);var g=l;if(l.indexOf("rgb")===-1?l.length<9&&(g=O.hexToRgba(l,p)):l.indexOf("rgba")>-1&&(p=O.getOpacityFromRGBA(l)),e.opacity&&(p=e.opacity),h==="pattern"&&(i=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:i,fillColor:l,fillOpacity:p,defaultColor:g})),h==="gradient"&&(s=this.handleGradientFill({fillConfig:e.fillConfig,fillColor:l,fillOpacity:p,i:this.seriesIndex})),h==="image"){var x=n.fill.image.src,b=e.patternID?e.patternID:"";this.clippedImgArea({opacity:p,image:Array.isArray(x)?e.seriesNumber<x.length?x[e.seriesNumber]:x[0]:x,width:e.width?e.width:void 0,height:e.height?e.height:void 0,patternUnits:e.patternUnits,patternID:"pattern".concat(t.globals.cuid).concat(e.seriesNumber+1).concat(b)}),r="url(#pattern".concat(t.globals.cuid).concat(e.seriesNumber+1).concat(b,")")}else r=h==="gradient"?s:h==="pattern"?i:g;return e.solid&&(r=g),r}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,r=this.opts,i=[];return e.globals.comboCharts?e.config.series[this.seriesIndex].type==="line"?Array.isArray(e.globals.stroke.colors)?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?i=e.globals.fill.colors:i.push(e.globals.fill.colors):t.chart.type==="line"?Array.isArray(e.globals.stroke.colors)?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?i=e.globals.fill.colors:i.push(e.globals.fill.colors),r.fillColors!==void 0&&(i=[],Array.isArray(r.fillColors)?i=r.fillColors.slice():i.push(r.fillColors)),i}},{key:"handlePatternFill",value:function(e){var t=e.fillConfig,r=e.patternFill,i=e.fillColor,s=e.fillOpacity,n=e.defaultColor,l=this.w.config.fill;t&&(l=t);var h=this.opts,p=new U(this.ctx),g=Array.isArray(l.pattern.strokeWidth)?l.pattern.strokeWidth[this.seriesIndex]:l.pattern.strokeWidth,x=i;return Array.isArray(l.pattern.style)?r=l.pattern.style[h.seriesNumber]!==void 0?p.drawPattern(l.pattern.style[h.seriesNumber],l.pattern.width,l.pattern.height,x,g,s):n:r=p.drawPattern(l.pattern.style,l.pattern.width,l.pattern.height,x,g,s),r}},{key:"handleGradientFill",value:function(e){var t=e.fillColor,r=e.fillOpacity,i=e.fillConfig,s=e.i,n=this.w.config.fill;i&&(n=u(u({},n),i));var l,h=this.opts,p=new U(this.ctx),g=new O,x=n.gradient.type,b=t,y=n.gradient.opacityFrom===void 0?r:Array.isArray(n.gradient.opacityFrom)?n.gradient.opacityFrom[s]:n.gradient.opacityFrom;b.indexOf("rgba")>-1&&(y=O.getOpacityFromRGBA(b));var C=n.gradient.opacityTo===void 0?r:Array.isArray(n.gradient.opacityTo)?n.gradient.opacityTo[s]:n.gradient.opacityTo;if(n.gradient.gradientToColors===void 0||n.gradient.gradientToColors.length===0)l=n.gradient.shade==="dark"?g.shadeColor(-1*parseFloat(n.gradient.shadeIntensity),t.indexOf("rgb")>-1?O.rgb2hex(t):t):g.shadeColor(parseFloat(n.gradient.shadeIntensity),t.indexOf("rgb")>-1?O.rgb2hex(t):t);else if(n.gradient.gradientToColors[h.seriesNumber]){var T=n.gradient.gradientToColors[h.seriesNumber];l=T,T.indexOf("rgba")>-1&&(C=O.getOpacityFromRGBA(T))}else l=t;if(n.gradient.gradientFrom&&(b=n.gradient.gradientFrom),n.gradient.gradientTo&&(l=n.gradient.gradientTo),n.gradient.inverseColors){var M=b;b=l,l=M}return b.indexOf("rgb")>-1&&(b=O.rgb2hex(b)),l.indexOf("rgb")>-1&&(l=O.rgb2hex(l)),p.drawGradient(x,b,l,y,C,h.size,n.gradient.stops,n.gradient.colorStops,s)}}]),E}(),dt=function(){function E(e,t){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length<e.globals.series.length+1)for(var t=0;t<=e.globals.series.length;t++)e.globals.markers.size[t]===void 0&&e.globals.markers.size.push(e.globals.markers.size[0])}else e.globals.markers.size=e.config.series.map(function(r){return e.config.markers.size})}},{key:"plotChartMarkers",value:function(e,t,r,i){var s,n=arguments.length>4&&arguments[4]!==void 0&&arguments[4],l=this.w,h=t,p=e,g=null,x=new U(this.ctx),b=l.config.markers.discrete&&l.config.markers.discrete.length;if((l.globals.markers.size[t]>0||n||b)&&(g=x.group({class:n||b?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(l.globals.cuid,")")),Array.isArray(p.x))for(var y=0;y<p.x.length;y++){var C=r;r===1&&y===0&&(C=0),r===1&&y===1&&(C=1);var T="apexcharts-marker";if(l.config.chart.type!=="line"&&l.config.chart.type!=="area"||l.globals.comboCharts||l.config.tooltip.intersect||(T+=" no-pointer-events"),(Array.isArray(l.config.markers.size)?l.globals.markers.size[t]>0:l.config.markers.size>0)||n||b){O.isNumber(p.y[y])?T+=" w".concat(O.randomId()):T="apexcharts-nullpoint";var M=this.getMarkerConfig({cssClass:T,seriesIndex:t,dataPointIndex:C});l.config.series[h].data[C]&&(l.config.series[h].data[C].fillColor&&(M.pointFillColor=l.config.series[h].data[C].fillColor),l.config.series[h].data[C].strokeColor&&(M.pointStrokeColor=l.config.series[h].data[C].strokeColor)),i&&(M.pSize=i),(p.x[y]<0||p.x[y]>l.globals.gridWidth||p.y[y]<0||p.y[y]>l.globals.gridHeight)&&(M.pSize=0),(s=x.drawMarker(p.x[y],p.y[y],M)).attr("rel",C),s.attr("j",C),s.attr("index",t),s.node.setAttribute("default-marker-size",M.pSize),new le(this.ctx).setSelectionFilter(s,t,C),this.addEvents(s),g&&g.add(s)}else l.globals.pointsArray[t]===void 0&&(l.globals.pointsArray[t]=[]),l.globals.pointsArray[t].push([p.x[y],p.y[y]])}return g}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,r=e.seriesIndex,i=e.dataPointIndex,s=i===void 0?null:i,n=e.finishRadius,l=n===void 0?null:n,h=this.w,p=this.getMarkerStyle(r),g=h.globals.markers.size[r],x=h.config.markers;return s!==null&&x.discrete.length&&x.discrete.map(function(b){b.seriesIndex===r&&b.dataPointIndex===s&&(p.pointStrokeColor=b.strokeColor,p.pointFillColor=b.fillColor,g=b.size,p.pointShape=b.shape)}),{pSize:l===null?g:l,pRadius:x.radius,width:Array.isArray(x.width)?x.width[r]:x.width,height:Array.isArray(x.height)?x.height[r]:x.height,pointStrokeWidth:Array.isArray(x.strokeWidth)?x.strokeWidth[r]:x.strokeWidth,pointStrokeColor:p.pointStrokeColor,pointFillColor:p.pointFillColor,shape:p.pointShape||(Array.isArray(x.shape)?x.shape[r]:x.shape),class:t,pointStrokeOpacity:Array.isArray(x.strokeOpacity)?x.strokeOpacity[r]:x.strokeOpacity,pointStrokeDashArray:Array.isArray(x.strokeDashArray)?x.strokeDashArray[r]:x.strokeDashArray,pointFillOpacity:Array.isArray(x.fillOpacity)?x.fillOpacity[r]:x.fillOpacity,seriesIndex:r}}},{key:"addEvents",value:function(e){var t=this.w,r=new U(this.ctx);e.node.addEventListener("mouseenter",r.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",r.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",r.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",r.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,r=t.globals.markers.colors,i=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(i)?i[e]:i,pointFillColor:Array.isArray(r)?r[e]:r}}}]),E}(),xt=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return w(E,[{key:"draw",value:function(e,t,r){var i=this.w,s=new U(this.ctx),n=r.realIndex,l=r.pointsPos,h=r.zRatio,p=r.elParent,g=s.group({class:"apexcharts-series-markers apexcharts-series-".concat(i.config.chart.type)});if(g.attr("clip-path","url(#gridRectMarkerMask".concat(i.globals.cuid,")")),Array.isArray(l.x))for(var x=0;x<l.x.length;x++){var b=t+1,y=!0;t===0&&x===0&&(b=0),t===0&&x===1&&(b=1);var C=0,T=i.globals.markers.size[n];if(h!==1/0){var M=i.config.plotOptions.bubble;T=i.globals.seriesZ[n][b],M.zScaling&&(T/=h),M.minBubbleRadius&&T<M.minBubbleRadius&&(T=M.minBubbleRadius),M.maxBubbleRadius&&T>M.maxBubbleRadius&&(T=M.maxBubbleRadius)}i.config.chart.animations.enabled||(C=T);var R=l.x[x],_=l.y[x];if(C=C||0,_!==null&&i.globals.series[n][b]!==void 0||(y=!1),y){var d=this.drawPoint(R,_,C,T,n,b,t);g.add(d)}p.add(g)}}},{key:"drawPoint",value:function(e,t,r,i,s,n,l){var h=this.w,p=s,g=new se(this.ctx),x=new le(this.ctx),b=new Ne(this.ctx),y=new dt(this.ctx),C=new U(this.ctx),T=y.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:p,dataPointIndex:n,finishRadius:h.config.chart.type==="bubble"||h.globals.comboCharts&&h.config.series[s]&&h.config.series[s].type==="bubble"?i:null});i=T.pSize;var M,R=b.fillPath({seriesNumber:s,dataPointIndex:n,color:T.pointFillColor,patternUnits:"objectBoundingBox",value:h.globals.series[s][l]});if(T.shape==="circle"?M=C.drawCircle(r):T.shape!=="square"&&T.shape!=="rect"||(M=C.drawRect(0,0,T.width-T.pointStrokeWidth/2,T.height-T.pointStrokeWidth/2,T.pRadius)),h.config.series[p].data[n]&&h.config.series[p].data[n].fillColor&&(R=h.config.series[p].data[n].fillColor),M.attr({x:e-T.width/2-T.pointStrokeWidth/2,y:t-T.height/2-T.pointStrokeWidth/2,cx:e,cy:t,fill:R,"fill-opacity":T.pointFillOpacity,stroke:T.pointStrokeColor,r:i,"stroke-width":T.pointStrokeWidth,"stroke-dasharray":T.pointStrokeDashArray,"stroke-opacity":T.pointStrokeOpacity}),h.config.chart.dropShadow.enabled){var _=h.config.chart.dropShadow;x.dropShadow(M,_,s)}if(!this.initialAnim||h.globals.dataChanged||h.globals.resized)h.globals.animationEnded=!0;else{var d=h.config.chart.animations.speed;g.animateMarker(M,0,T.shape==="circle"?i:{width:T.width,height:T.height},d,h.globals.easing,function(){window.setTimeout(function(){g.animationCompleted(M)},100)})}if(h.globals.dataChanged&&T.shape==="circle")if(this.dynamicAnim){var v,z,P,B,N=h.config.chart.animations.dynamicAnimation.speed;(B=h.globals.previousPaths[s]&&h.globals.previousPaths[s][l])!=null&&(v=B.x,z=B.y,P=B.r!==void 0?B.r:i);for(var W=0;W<h.globals.collapsedSeries.length;W++)h.globals.collapsedSeries[W].index===s&&(N=1,i=0);e===0&&t===0&&(i=0),g.animateCircle(M,{cx:v,cy:z,r:P},{cx:e,cy:t,r:i},N,h.globals.easing)}else M.attr({r:i});return M.attr({rel:n,j:n,index:s,"default-marker-size":i}),x.setSelectionFilter(M,s,n),y.addEvents(M),M.node.classList.add("apexcharts-marker"),M}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),E}(),ge=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"dataLabelsCorrection",value:function(e,t,r,i,s,n,l){var h=this.w,p=!1,g=new U(this.ctx).getTextRects(r,l),x=g.width,b=g.height;t<0&&(t=0),t>h.globals.gridHeight+b&&(t=h.globals.gridHeight+b/2),h.globals.dataLabelsRects[i]===void 0&&(h.globals.dataLabelsRects[i]=[]),h.globals.dataLabelsRects[i].push({x:e,y:t,width:x,height:b});var y=h.globals.dataLabelsRects[i].length-2,C=h.globals.lastDrawnDataLabelsIndexes[i]!==void 0?h.globals.lastDrawnDataLabelsIndexes[i][h.globals.lastDrawnDataLabelsIndexes[i].length-1]:0;if(h.globals.dataLabelsRects[i][y]!==void 0){var T=h.globals.dataLabelsRects[i][C];(e>T.x+T.width+2||t>T.y+T.height+2||e+x<T.x)&&(p=!0)}return(s===0||n)&&(p=!0),{x:e,y:t,textRects:g,drawnextLabel:p}}},{key:"drawDataLabel",value:function(e){var t=this,r=e.type,i=e.pos,s=e.i,n=e.j,l=e.isRangeStart,h=e.strokeWidth,p=h===void 0?2:h,g=this.w,x=new U(this.ctx),b=g.config.dataLabels,y=0,C=0,T=n,M=null;if(!b.enabled||!Array.isArray(i.x))return M;M=x.group({class:"apexcharts-data-labels"});for(var R=0;R<i.x.length;R++)if(y=i.x[R]+b.offsetX,C=i.y[R]+b.offsetY+p,!isNaN(y)){n===1&&R===0&&(T=0),n===1&&R===1&&(T=1);var _=g.globals.series[s][T];r==="rangeArea"&&(_=l?g.globals.seriesRangeStart[s][T]:g.globals.seriesRangeEnd[s][T]);var d="",v=function(z){return g.config.dataLabels.formatter(z,{ctx:t.ctx,seriesIndex:s,dataPointIndex:T,w:g})};g.config.chart.type==="bubble"?(d=v(_=g.globals.seriesZ[s][T]),C=i.y[R],C=new xt(this.ctx).centerTextInBubble(C,s,T).y):_!==void 0&&(d=v(_)),this.plotDataLabelsText({x:y,y:C,text:d,i:s,j:T,parent:M,offsetCorrection:!0,dataLabelsConfig:g.config.dataLabels})}return M}},{key:"plotDataLabelsText",value:function(e){var t=this.w,r=new U(this.ctx),i=e.x,s=e.y,n=e.i,l=e.j,h=e.text,p=e.textAnchor,g=e.fontSize,x=e.parent,b=e.dataLabelsConfig,y=e.color,C=e.alwaysDrawDataLabel,T=e.offsetCorrection;if(!(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(n)<0)){var M={x:i,y:s,drawnextLabel:!0,textRects:null};T&&(M=this.dataLabelsCorrection(i,s,h,n,l,C,parseInt(b.style.fontSize,10))),t.globals.zoomed||(i=M.x,s=M.y),M.textRects&&(i<-10-M.textRects.width||i>t.globals.gridWidth+M.textRects.width+10)&&(h="");var R=t.globals.dataLabels.style.colors[n];((t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(R=t.globals.dataLabels.style.colors[l]),typeof R=="function"&&(R=R({series:t.globals.series,seriesIndex:n,dataPointIndex:l,w:t})),y&&(R=y);var _=b.offsetX,d=b.offsetY;if(t.config.chart.type!=="bar"&&t.config.chart.type!=="rangeBar"||(_=0,d=0),M.drawnextLabel){var v=r.drawText({width:100,height:parseInt(b.style.fontSize,10),x:i+_,y:s+d,foreColor:R,textAnchor:p||b.textAnchor,text:h,fontSize:g||b.style.fontSize,fontFamily:b.style.fontFamily,fontWeight:b.style.fontWeight||"normal"});if(v.attr({class:"apexcharts-datalabel",cx:i,cy:s}),b.dropShadow.enabled){var z=b.dropShadow;new le(this.ctx).dropShadow(v,z)}x.add(v),t.globals.lastDrawnDataLabelsIndexes[n]===void 0&&(t.globals.lastDrawnDataLabelsIndexes[n]=[]),t.globals.lastDrawnDataLabelsIndexes[n].push(l)}}}},{key:"addBackgroundToDataLabel",value:function(e,t){var r=this.w,i=r.config.dataLabels.background,s=i.padding,n=i.padding/2,l=t.width,h=t.height,p=new U(this.ctx).drawRect(t.x-s,t.y-n/2,l+2*s,h+n,i.borderRadius,r.config.chart.background==="transparent"?"#fff":r.config.chart.background,i.opacity,i.borderWidth,i.borderColor);return i.dropShadow.enabled&&new le(this.ctx).dropShadow(p,i.dropShadow),p}},{key:"dataLabelsBackground",value:function(){var e=this.w;if(e.config.chart.type!=="bubble")for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),r=0;r<t.length;r++){var i=t[r],s=i.getBBox(),n=null;if(s.width&&s.height&&(n=this.addBackgroundToDataLabel(i,s)),n){i.parentNode.insertBefore(n.node,i);var l=i.getAttribute("fill");e.config.chart.animations.enabled&&!e.globals.resized&&!e.globals.dataChanged?n.animate().attr({fill:l}):n.attr({fill:l}),i.setAttribute("fill",e.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),r=e.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),i=0;i<t.length;i++)r&&r.insertBefore(t[i],r.nextSibling)}}]),E}(),Te=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.legendInactiveClass="legend-mouseover-inactive"}return w(E,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(O.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),r=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:r}}},{key:"addCollapsedClassToSeries",value:function(e,t){var r=this.w;function i(s){for(var n=0;n<s.length;n++)s[n].index===t&&e.node.classList.add("apexcharts-series-collapsed")}i(r.globals.collapsedSeries),i(r.globals.ancillaryCollapsedSeries)}},{key:"toggleSeries",value:function(e){var t=this.isSeriesHidden(e);return this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,t.isHidden),t.isHidden}},{key:"showSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden&&this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!0)}},{key:"hideSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden||this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!1)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],i=this.w,s=O.clone(i.globals.initialSeries);i.globals.previousPaths=[],r?(i.globals.collapsedSeries=[],i.globals.ancillaryCollapsedSeries=[],i.globals.collapsedSeriesIndices=[],i.globals.ancillaryCollapsedSeriesIndices=[]):s=this.emptyCollapsedSeries(s),i.config.series=s,e&&(t&&(i.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(s,i.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,r=0;r<e.length;r++)t.globals.collapsedSeriesIndices.indexOf(r)>-1&&(e[r].data=[]);return e}},{key:"toggleSeriesOnHover",value:function(e,t){var r=this.w;t||(t=e.target);var i=r.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if(e.type==="mousemove"){var s=parseInt(t.getAttribute("rel"),10)-1,n=null,l=null;r.globals.axisCharts||r.config.chart.type==="radialBar"?r.globals.axisCharts?(n=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(s,"']")),l=r.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(s,"']"))):n=r.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(s+1,"']")):n=r.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(s+1,"'] path"));for(var h=0;h<i.length;h++)i[h].classList.add(this.legendInactiveClass);n!==null&&(r.globals.axisCharts||n.parentNode.classList.remove(this.legendInactiveClass),n.classList.remove(this.legendInactiveClass),l!==null&&l.classList.remove(this.legendInactiveClass))}else if(e.type==="mouseout")for(var p=0;p<i.length;p++)i[p].classList.remove(this.legendInactiveClass)}},{key:"highlightRangeInSeries",value:function(e,t){var r=this,i=this.w,s=i.globals.dom.baseEl.getElementsByClassName("apexcharts-heatmap-rect"),n=function(h){for(var p=0;p<s.length;p++)s[p].classList[h](r.legendInactiveClass)};if(e.type==="mousemove"){var l=parseInt(t.getAttribute("rel"),10)-1;n("add"),function(h){for(var p=0;p<s.length;p++){var g=parseInt(s[p].getAttribute("val"),10);g>=h.from&&g<=h.to&&s[p].classList.remove(r.legendInactiveClass)}}(i.config.plotOptions.heatmap.colorScale.ranges[l])}else e.type==="mouseout"&&n("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"asc",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=this.w,i=0;if(r.config.series.length>1){for(var s=r.config.series.map(function(l,h){return l.data&&l.data.length>0&&r.globals.collapsedSeriesIndices.indexOf(h)===-1&&(!r.globals.comboCharts||t.length===0||t.length&&t.indexOf(r.config.series[h].type)>-1)?h:-1}),n=e==="asc"?0:s.length-1;e==="asc"?n<s.length:n>=0;e==="asc"?n++:n--)if(s[n]!==-1){i=s[n];break}}return i}},{key:"getBarSeriesIndices",value:function(){return this.w.globals.comboCharts?this.w.config.series.map(function(e,t){return e.type==="bar"||e.type==="column"?t:-1}).filter(function(e){return e!==-1}):this.w.config.series.map(function(e,t){return t})}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(n,l,h){for(var p=n[l].childNodes,g={type:h,paths:[],realIndex:n[l].getAttribute("data:realIndex")},x=0;x<p.length;x++)if(p[x].hasAttribute("pathTo")){var b=p[x].getAttribute("pathTo");g.paths.push({d:b})}e.globals.previousPaths.push(g)}e.globals.previousPaths=[],["line","area","bar","rangebar","rangeArea","candlestick","radar"].forEach(function(n){for(var l,h=(l=n,e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(l,"-series .apexcharts-series"))),p=0;p<h.length;p++)t(h,p,n)}),this.handlePrevBubbleScatterPaths("bubble"),this.handlePrevBubbleScatterPaths("scatter");var r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series"));if(r.length>0)for(var i=function(n){for(var l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(n,"'] rect")),h=[],p=function(x){var b=function(C){return l[x].getAttribute(C)},y={x:parseFloat(b("x")),y:parseFloat(b("y")),width:parseFloat(b("width")),height:parseFloat(b("height"))};h.push({rect:y,color:l[x].getAttribute("color")})},g=0;g<l.length;g++)p(g);e.globals.previousPaths.push(h)},s=0;s<r.length;s++)i(s);e.globals.axisCharts||(e.globals.previousPaths=e.globals.series)}},{key:"handlePrevBubbleScatterPaths",value:function(e){var t=this.w,r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e,"-series .apexcharts-series"));if(r.length>0)for(var i=0;i<r.length;i++){for(var s=t.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e,"-series .apexcharts-series[data\\:realIndex='").concat(i,"'] circle")),n=[],l=0;l<s.length;l++)n.push({x:s[l].getAttribute("cx"),y:s[l].getAttribute("cy"),r:s[l].getAttribute("r")});t.globals.previousPaths.push(n)}}},{key:"clearPreviousPaths",value:function(){var e=this.w;e.globals.previousPaths=[],e.globals.allSeriesCollapsed=!1}},{key:"handleNoData",value:function(){var e=this.w,t=e.config.noData,r=new U(this.ctx),i=e.globals.svgWidth/2,s=e.globals.svgHeight/2,n="middle";if(e.globals.noData=!0,e.globals.animationEnded=!0,t.align==="left"?(i=10,n="start"):t.align==="right"&&(i=e.globals.svgWidth-10,n="end"),t.verticalAlign==="top"?s=50:t.verticalAlign==="bottom"&&(s=e.globals.svgHeight-50),i+=t.offsetX,s=s+parseInt(t.style.fontSize,10)+2+t.offsetY,t.text!==void 0&&t.text!==""){var l=r.drawText({x:i,y:s,text:t.text,textAnchor:n,fontSize:t.style.fontSize,fontFamily:t.style.fontFamily,foreColor:t.style.color,opacity:1,class:"apexcharts-text-nodata"});e.globals.dom.Paper.add(l)}}},{key:"setNullSeriesToZeroValues",value:function(e){for(var t=this.w,r=0;r<e.length;r++)if(e[r].length===0)for(var i=0;i<e[t.globals.maxValsInArrayIndex].length;i++)e[r].push(0);return e}},{key:"hasAllSeriesEqualX",value:function(){for(var e=!0,t=this.w,r=this.filteredSeriesX(),i=0;i<r.length-1;i++)if(r[i][0]!==r[i+1][0]){e=!1;break}return t.globals.allSeriesHasEqualX=e,e}},{key:"filteredSeriesX",value:function(){var e=this.w.globals.seriesX.map(function(t){return t.length>0?t:[]});return e}}]),E}(),Ue=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new re(this.ctx)}return w(E,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new Te(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),e[this.activeSeriesIndex].data!==void 0&&e[this.activeSeriesIndex].data.length>0&&e[this.activeSeriesIndex].data[0]!==null&&e[this.activeSeriesIndex].data[0].x!==void 0&&e[this.activeSeriesIndex].data[0]!==null)return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new Te(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),e[this.activeSeriesIndex].data!==void 0&&e[this.activeSeriesIndex].data.length>0&&e[this.activeSeriesIndex].data[0]!==void 0&&e[this.activeSeriesIndex].data[0]!==null&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var r=this.w.config,i=this.w.globals,s=r.chart.type==="boxPlot"||r.series[t].type==="boxPlot",n=0;n<e[t].data.length;n++)if(e[t].data[n][1]!==void 0&&(Array.isArray(e[t].data[n][1])&&e[t].data[n][1].length===4&&!s?this.twoDSeries.push(O.parseNumber(e[t].data[n][1][3])):e[t].data[n].length>=5?this.twoDSeries.push(O.parseNumber(e[t].data[n][4])):this.twoDSeries.push(O.parseNumber(e[t].data[n][1])),i.dataFormatXNumeric=!0),r.xaxis.type==="datetime"){var l=new Date(e[t].data[n][0]);l=new Date(l).getTime(),this.twoDSeriesX.push(l)}else this.twoDSeriesX.push(e[t].data[n][0]);for(var h=0;h<e[t].data.length;h++)e[t].data[h][2]!==void 0&&(this.threeDSeries.push(e[t].data[h][2]),i.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(e,t){var r=this.w.config,i=this.w.globals,s=new ne(this.ctx),n=t;i.collapsedSeriesIndices.indexOf(t)>-1&&(n=this.activeSeriesIndex);for(var l=0;l<e[t].data.length;l++)e[t].data[l].y!==void 0&&(Array.isArray(e[t].data[l].y)?this.twoDSeries.push(O.parseNumber(e[t].data[l].y[e[t].data[l].y.length-1])):this.twoDSeries.push(O.parseNumber(e[t].data[l].y))),e[t].data[l].goals!==void 0&&Array.isArray(e[t].data[l].goals)?(this.seriesGoals[t]===void 0&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(e[t].data[l].goals)):(this.seriesGoals[t]===void 0&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(null));for(var h=0;h<e[n].data.length;h++){var p=typeof e[n].data[h].x=="string",g=Array.isArray(e[n].data[h].x),x=!g&&!!s.isValidDate(e[n].data[h].x.toString());if(p||x)if(p||r.xaxis.convertedCatToNumeric){var b=i.isBarHorizontal&&i.isRangeData;r.xaxis.type!=="datetime"||b?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[n].data[h].x)):this.twoDSeriesX.push(s.parseDate(e[n].data[h].x))}else r.xaxis.type==="datetime"?this.twoDSeriesX.push(s.parseDate(e[n].data[h].x.toString())):(i.dataFormatXNumeric=!0,i.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(e[n].data[h].x)));else g?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[n].data[h].x)):(i.isXNumeric=!0,i.dataFormatXNumeric=!0,this.twoDSeriesX.push(e[n].data[h].x))}if(e[t].data[0]&&e[t].data[0].z!==void 0){for(var y=0;y<e[t].data.length;y++)this.threeDSeries.push(e[t].data[y].z);i.isDataXYZ=!0}}},{key:"handleRangeData",value:function(e,t){var r=this.w.globals,i={};return this.isFormat2DArray()?i=this.handleRangeDataFormat("array",e,t):this.isFormatXY()&&(i=this.handleRangeDataFormat("xy",e,t)),r.seriesRangeStart.push(i.start),r.seriesRangeEnd.push(i.end),r.seriesRange.push(i.rangeUniques),r.seriesRange.forEach(function(s,n){s&&s.forEach(function(l,h){l.y.forEach(function(p,g){for(var x=0;x<l.y.length;x++)if(g!==x){var b=p.y1,y=p.y2,C=l.y[x].y1;b<=l.y[x].y2&&C<=y&&(l.overlaps.indexOf(p.rangeName)<0&&l.overlaps.push(p.rangeName),l.overlaps.indexOf(l.y[x].rangeName)<0&&l.overlaps.push(l.y[x].rangeName))}})})}),i}},{key:"handleCandleStickBoxData",value:function(e,t){var r=this.w.globals,i={};return this.isFormat2DArray()?i=this.handleCandleStickBoxDataFormat("array",e,t):this.isFormatXY()&&(i=this.handleCandleStickBoxDataFormat("xy",e,t)),r.seriesCandleO[t]=i.o,r.seriesCandleH[t]=i.h,r.seriesCandleM[t]=i.m,r.seriesCandleL[t]=i.l,r.seriesCandleC[t]=i.c,i}},{key:"handleRangeDataFormat",value:function(e,t,r){var i=[],s=[],n=t[r].data.filter(function(g,x,b){return x===b.findIndex(function(y){return y.x===g.x})}).map(function(g,x){return{x:g.x,overlaps:[],y:[]}});if(e==="array")for(var l=0;l<t[r].data.length;l++)Array.isArray(t[r].data[l])?(i.push(t[r].data[l][1][0]),s.push(t[r].data[l][1][1])):(i.push(t[r].data[l]),s.push(t[r].data[l]));else if(e==="xy")for(var h=function(g){var x=Array.isArray(t[r].data[g].y),b=O.randomId(),y=t[r].data[g].x,C={y1:x?t[r].data[g].y[0]:t[r].data[g].y,y2:x?t[r].data[g].y[1]:t[r].data[g].y,rangeName:b};t[r].data[g].rangeName=b;var T=n.findIndex(function(M){return M.x===y});n[T].y.push(C),i.push(C.y1),s.push(C.y2)},p=0;p<t[r].data.length;p++)h(p);return{start:i,end:s,rangeUniques:n}}},{key:"handleCandleStickBoxDataFormat",value:function(e,t,r){var i=this.w,s=i.config.chart.type==="boxPlot"||i.config.series[r].type==="boxPlot",n=[],l=[],h=[],p=[],g=[];if(e==="array")if(s&&t[r].data[0].length===6||!s&&t[r].data[0].length===5)for(var x=0;x<t[r].data.length;x++)n.push(t[r].data[x][1]),l.push(t[r].data[x][2]),s?(h.push(t[r].data[x][3]),p.push(t[r].data[x][4]),g.push(t[r].data[x][5])):(p.push(t[r].data[x][3]),g.push(t[r].data[x][4]));else for(var b=0;b<t[r].data.length;b++)Array.isArray(t[r].data[b][1])&&(n.push(t[r].data[b][1][0]),l.push(t[r].data[b][1][1]),s?(h.push(t[r].data[b][1][2]),p.push(t[r].data[b][1][3]),g.push(t[r].data[b][1][4])):(p.push(t[r].data[b][1][2]),g.push(t[r].data[b][1][3])));else if(e==="xy")for(var y=0;y<t[r].data.length;y++)Array.isArray(t[r].data[y].y)&&(n.push(t[r].data[y].y[0]),l.push(t[r].data[y].y[1]),s?(h.push(t[r].data[y].y[2]),p.push(t[r].data[y].y[3]),g.push(t[r].data[y].y[4])):(p.push(t[r].data[y].y[2]),g.push(t[r].data[y].y[3])));return{o:n,h:l,m:h,l:p,c:g}}},{key:"parseDataAxisCharts",value:function(e){var t,r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.ctx,s=this.w.config,n=this.w.globals,l=new ne(i),h=s.labels.length>0?s.labels.slice():s.xaxis.categories.slice();if(n.isRangeBar=s.chart.type==="rangeBar"&&n.isBarHorizontal,n.hasXaxisGroups=s.xaxis.type==="category"&&s.xaxis.group.groups.length>0,n.hasXaxisGroups&&(n.groups=s.xaxis.group.groups),n.hasSeriesGroups=(t=e[0])===null||t===void 0?void 0:t.group,n.hasSeriesGroups){var p=[],g=J(new Set(e.map(function(C){return C.group})));e.forEach(function(C,T){var M=g.indexOf(C.group);p[M]||(p[M]=[]),p[M].push(C.name)}),n.seriesGroups=p}for(var x=function(){for(var C=0;C<h.length;C++)if(typeof h[C]=="string"){if(!l.isValidDate(h[C]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");r.twoDSeriesX.push(l.parseDate(h[C]))}else r.twoDSeriesX.push(h[C])},b=0;b<e.length;b++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],e[b].data===void 0)return void console.error("It is a possibility that you may have not included 'data' property in series.");if(s.chart.type!=="rangeBar"&&s.chart.type!=="rangeArea"&&e[b].type!=="rangeBar"&&e[b].type!=="rangeArea"||(n.isRangeData=!0,n.isComboCharts?e[b].type!=="rangeBar"&&e[b].type!=="rangeArea"||this.handleRangeData(e,b):s.chart.type!=="rangeBar"&&s.chart.type!=="rangeArea"||this.handleRangeData(e,b)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(e,b):this.isFormatXY()&&this.handleFormatXY(e,b),s.chart.type!=="candlestick"&&e[b].type!=="candlestick"&&s.chart.type!=="boxPlot"&&e[b].type!=="boxPlot"||this.handleCandleStickBoxData(e,b),n.series.push(this.twoDSeries),n.labels.push(this.twoDSeriesX),n.seriesX.push(this.twoDSeriesX),n.seriesGoals=this.seriesGoals,b!==this.activeSeriesIndex||this.fallbackToCategory||(n.isXNumeric=!0);else{s.xaxis.type==="datetime"?(n.isXNumeric=!0,x(),n.seriesX.push(this.twoDSeriesX)):s.xaxis.type==="numeric"&&(n.isXNumeric=!0,h.length>0&&(this.twoDSeriesX=h,n.seriesX.push(this.twoDSeriesX))),n.labels.push(this.twoDSeriesX);var y=e[b].data.map(function(C){return O.parseNumber(C)});n.series.push(y)}n.seriesZ.push(this.threeDSeries),e[b].name!==void 0?n.seriesNames.push(e[b].name):n.seriesNames.push("series-"+parseInt(b+1,10)),e[b].color!==void 0?n.seriesColors.push(e[b].color):n.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,r=this.w.config;t.series=e.slice(),t.seriesNames=r.labels.slice();for(var i=0;i<t.series.length;i++)t.seriesNames[i]===void 0&&t.seriesNames.push("series-"+(i+1));return this.w}},{key:"handleExternalLabelsData",value:function(e){var t=this.w.config,r=this.w.globals;t.xaxis.categories.length>0?r.labels=t.xaxis.categories:t.labels.length>0?r.labels=t.labels.slice():this.fallbackToCategory?(r.labels=r.labels[0],r.seriesRange.length&&(r.seriesRange.map(function(i){i.forEach(function(s){r.labels.indexOf(s.x)<0&&s.x&&r.labels.push(s.x)})}),r.labels=Array.from(new Set(r.labels.map(JSON.stringify)),JSON.parse)),t.xaxis.convertedCatToNumeric&&(new $e(t).convertCatToNumericXaxis(t,this.ctx,r.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,r=this.w.config,i=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var s=r.series.map(function(x,b){return x.data.filter(function(y,C,T){return T.findIndex(function(M){return M.x===y.x})===C})}),n=s.reduce(function(x,b,y,C){return C[x].length>b.length?x:y},0),l=0;l<s[n].length;l++)i.push(l+1);else for(var h=0;h<t.series[t.maxValsInArrayIndex].length;h++)i.push(h+1);t.seriesX=[];for(var p=0;p<e.length;p++)t.seriesX.push(i);this.w.globals.isBarHorizontal||(t.isXNumeric=!0)}if(i.length===0){i=t.axisCharts?[]:t.series.map(function(x,b){return b+1});for(var g=0;g<e.length;g++)t.seriesX.push(i)}t.labels=i,r.xaxis.convertedCatToNumeric&&(t.categoryLabels=i.map(function(x){return r.xaxis.labels.formatter(x)})),t.noLabelsProvided=!0}},{key:"parseData",value:function(e){var t=this.w,r=t.config,i=t.globals;if(this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.ctx.core.resetGlobals(),this.ctx.core.isMultipleY(),i.axisCharts?(this.parseDataAxisCharts(e),this.coreUtils.getLargestSeries()):this.parseDataNonAxisCharts(e),r.chart.stacked){var s=new Te(this.ctx);i.series=s.setNullSeriesToZeroValues(i.series)}this.coreUtils.getSeriesTotals(),i.axisCharts&&(i.stackedSeriesTotals=this.coreUtils.getStackedSeriesTotals()),this.coreUtils.getPercentSeries(),i.dataFormatXNumeric||i.isXNumeric&&(r.xaxis.type!=="numeric"||r.labels.length!==0||r.xaxis.categories.length!==0)||this.handleExternalLabelsData(e);for(var n=this.coreUtils.getCategoryLabels(i.labels),l=0;l<n.length;l++)if(Array.isArray(n[l])){i.isMultiLineX=!0;break}}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var e=this,t=this.w;t.globals.ignoreYAxisIndexes=t.globals.collapsedSeries.map(function(r,i){if(e.w.globals.isMultipleYAxis&&!t.config.chart.stacked)return r.index})}}]),E}(),Fe=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"getLabel",value:function(e,t,r,i){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"12px",l=!(arguments.length>6&&arguments[6]!==void 0)||arguments[6],h=this.w,p=e[i]===void 0?"":e[i],g=p,x=h.globals.xLabelFormatter,b=h.config.xaxis.labels.formatter,y=!1,C=new ze(this.ctx),T=p;l&&(g=C.xLabelFormat(x,p,T,{i,dateFormatter:new ne(this.ctx).formatDate,w:h}),b!==void 0&&(g=b(p,e[i],{i,dateFormatter:new ne(this.ctx).formatDate,w:h})));var M,R;t.length>0?(M=t[i].unit,R=null,t.forEach(function(z){z.unit==="month"?R="year":z.unit==="day"?R="month":z.unit==="hour"?R="day":z.unit==="minute"&&(R="hour")}),y=R===M,r=t[i].position,g=t[i].value):h.config.xaxis.type==="datetime"&&b===void 0&&(g=""),g===void 0&&(g=""),g=Array.isArray(g)?g:g.toString();var _=new U(this.ctx),d={};d=h.globals.rotateXLabels&&l?_.getTextRects(g,parseInt(n,10),null,"rotate(".concat(h.config.xaxis.labels.rotate," 0 0)"),!1):_.getTextRects(g,parseInt(n,10));var v=!h.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(g)&&(g.indexOf("NaN")===0||g.toLowerCase().indexOf("invalid")===0||g.toLowerCase().indexOf("infinity")>=0||s.indexOf(g)>=0&&v)&&(g=""),{x:r,text:g,textRect:d,isBold:y}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,r){var i=this.w,s=i.config.xaxis.tickAmount;return s==="dataPoints"&&(s=Math.round(i.globals.gridWidth/120)),s>r||e%Math.round(r/(s+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,r,i,s){var n=this.w;if(e===0&&n.globals.skipFirstTimelinelabel&&(t.text=""),e===r-1&&n.globals.skipLastTimelinelabel&&(t.text=""),n.config.xaxis.labels.hideOverlappingLabels&&i.length>0){var l=s[s.length-1];t.x<l.textRect.width/(n.globals.rotateXLabels?Math.abs(n.config.xaxis.labels.rotate)/12:1.01)+l.x&&(t.text="")}return t}},{key:"checkForReversedLabels",value:function(e,t){var r=this.w;return r.config.yaxis[e]&&r.config.yaxis[e].reversed&&t.reverse(),t}},{key:"isYAxisHidden",value:function(e){var t=this.w,r=new re(this.ctx);return!t.config.yaxis[e].show||!t.config.yaxis[e].showForNullSeries&&r.isSeriesNull(e)&&t.globals.collapsedSeriesIndices.indexOf(e)===-1}},{key:"getYAxisForeColor",value:function(e,t){var r=this.w;return Array.isArray(e)&&r.globals.yAxisScale[t]&&this.ctx.theme.pushExtraColors(e,r.globals.yAxisScale[t].result.length,!1),e}},{key:"drawYAxisTicks",value:function(e,t,r,i,s,n,l){var h=this.w,p=new U(this.ctx),g=h.globals.translateY;if(i.show&&t>0){h.config.yaxis[s].opposite===!0&&(e+=i.width);for(var x=t;x>=0;x--){var b=g+t/10+h.config.yaxis[s].labels.offsetY-1;h.globals.isBarHorizontal&&(b=n*x),h.config.chart.type==="heatmap"&&(b+=n/2);var y=p.drawLine(e+r.offsetX-i.width+i.offsetX,b+i.offsetY,e+r.offsetX+i.offsetX,b+i.offsetY,i.color);l.add(y),g+=n}}}}]),E}(),st=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"scaleSvgNode",value:function(e,t){var r=parseFloat(e.getAttributeNS(null,"width")),i=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",r*t),e.setAttributeNS(null,"height",i*t),e.setAttributeNS(null,"viewBox","0 0 "+r+" "+i)}},{key:"fixSvgStringForIe11",value:function(e){if(!O.isIE11())return e.replace(/ /g," ");var t=0,r=e.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,function(i){return++t===2?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev"':i});return r=(r=r.replace(/xmlns:NS\d+=""/g,"")).replace(/NS\d+:(\w+:\w+=")/g,"$1")}},{key:"getSvgString",value:function(e){e==null&&(e=1);var t=this.w.globals.dom.Paper.svg();if(e!==1){var r=this.w.globals.dom.Paper.node.cloneNode(!0);this.scaleSvgNode(r,e),t=new XMLSerializer().serializeToString(r)}return this.fixSvgStringForIe11(t)}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),r=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(i,function(s){s.setAttribute("width",0)}),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),r&&r[0]&&(r[0].setAttribute("y",-100),r[0].setAttribute("y1",-100),r[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var e=this.getSvgString(),t=new Blob([e],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(t)}},{key:"dataURI",value:function(e){var t=this;return new Promise(function(r){var i=t.w,s=e?e.scale||e.width/i.globals.svgWidth:1;t.cleanup();var n=document.createElement("canvas");n.width=i.globals.svgWidth*s,n.height=parseInt(i.globals.dom.elWrap.style.height,10)*s;var l=i.config.chart.background==="transparent"?"#fff":i.config.chart.background,h=n.getContext("2d");h.fillStyle=l,h.fillRect(0,0,n.width*s,n.height*s);var p=t.getSvgString(s);if(window.canvg&&O.isIE11()){var g=window.canvg.Canvg.fromString(h,p,{ignoreClear:!0,ignoreDimensions:!0});g.start();var x=n.msToBlob();g.stop(),r({blob:x})}else{var b="data:image/svg+xml,"+encodeURIComponent(p),y=new Image;y.crossOrigin="anonymous",y.onload=function(){if(h.drawImage(y,0,0),n.msToBlob){var C=n.msToBlob();r({blob:C})}else{var T=n.toDataURL("image/png");r({imgURI:T})}},y.src=b}})}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),this.w.config.chart.toolbar.export.svg.filename,".svg")}},{key:"exportToPng",value:function(){var e=this;this.dataURI().then(function(t){var r=t.imgURI,i=t.blob;i?navigator.msSaveOrOpenBlob(i,e.w.globals.chartID+".png"):e.triggerDownload(r,e.w.config.chart.toolbar.export.png.filename,".png")})}},{key:"exportToCSV",value:function(e){var t=this,r=e.series,i=e.fileName,s=e.columnDelimiter,n=s===void 0?",":s,l=e.lineDelimiter,h=l===void 0?`
|
|
44
|
-
`:l,p=this.w;r||(r=p.config.series);var g=[],x=[],b="",y=p.globals.series.map(function(d,v){return p.globals.collapsedSeriesIndices.indexOf(v)===-1?d:[]}),C=Math.max.apply(Math,J(r.map(function(d){return d.data?d.data.length:0}))),T=new Ue(this.ctx),M=new Fe(this.ctx),R=function(d){var v="";if(p.globals.axisCharts){if(p.config.xaxis.type==="category"||p.config.xaxis.convertedCatToNumeric)if(p.globals.isBarHorizontal){var z=p.globals.yLabelFormatters[0],P=new Te(t.ctx).getActiveConfigSeriesIndex();v=z(p.globals.labels[d],{seriesIndex:P,dataPointIndex:d,w:p})}else v=M.getLabel(p.globals.labels,p.globals.timescaleLabels,0,d).text;p.config.xaxis.type==="datetime"&&(p.config.xaxis.categories.length?v=p.config.xaxis.categories[d]:p.config.labels.length&&(v=p.config.labels[d]))}else v=p.config.labels[d];return Array.isArray(v)&&(v=v.join(" ")),O.isNumber(v)?v:v.split(n).join("")},_=function(d,v){if(g.length&&v===0&&x.push(g.join(n)),d.data){d.data=d.data.length&&d.data||J(Array(C)).map(function(){return""});for(var z=0;z<d.data.length;z++){g=[];var P=R(z);if(P||(T.isFormatXY()?P=r[v].data[z].x:T.isFormat2DArray()&&(P=r[v].data[z]?r[v].data[z][0]:"")),v===0){g.push((W=P,p.config.xaxis.type==="datetime"&&String(W).length>=10?p.config.chart.toolbar.export.csv.dateFormatter(P):O.isNumber(P)?P:P.split(n).join("")));for(var B=0;B<p.globals.series.length;B++){var N;T.isFormatXY()?g.push((N=r[B].data[z])===null||N===void 0?void 0:N.y):g.push(y[B][z])}}(p.config.chart.type==="candlestick"||d.type&&d.type==="candlestick")&&(g.pop(),g.push(p.globals.seriesCandleO[v][z]),g.push(p.globals.seriesCandleH[v][z]),g.push(p.globals.seriesCandleL[v][z]),g.push(p.globals.seriesCandleC[v][z])),(p.config.chart.type==="boxPlot"||d.type&&d.type==="boxPlot")&&(g.pop(),g.push(p.globals.seriesCandleO[v][z]),g.push(p.globals.seriesCandleH[v][z]),g.push(p.globals.seriesCandleM[v][z]),g.push(p.globals.seriesCandleL[v][z]),g.push(p.globals.seriesCandleC[v][z])),p.config.chart.type==="rangeBar"&&(g.pop(),g.push(p.globals.seriesRangeStart[v][z]),g.push(p.globals.seriesRangeEnd[v][z])),g.length&&x.push(g.join(n))}}var W};g.push(p.config.chart.toolbar.export.csv.headerCategory),p.config.chart.type==="boxPlot"?(g.push("minimum"),g.push("q1"),g.push("median"),g.push("q3"),g.push("maximum")):p.config.chart.type==="candlestick"?(g.push("open"),g.push("high"),g.push("low"),g.push("close")):p.config.chart.type==="rangeBar"?(g.push("minimum"),g.push("maximum")):r.map(function(d,v){var z=(d.name?d.name:"series-".concat(v))+"";p.globals.axisCharts&&g.push(z.split(n).join("")?z.split(n).join(""):"series-".concat(v))}),p.globals.axisCharts||(g.push(p.config.chart.toolbar.export.csv.headerValue),x.push(g.join(n))),r.map(function(d,v){p.globals.axisCharts?_(d,v):((g=[]).push(p.globals.labels[v].split(n).join("")),g.push(y[v]),x.push(g.join(n)))}),b+=x.join(h),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\uFEFF"+b),i||p.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(e,t,r){var i=document.createElement("a");i.href=e,i.download=(t||this.w.globals.chartID)+r,document.body.appendChild(i),i.click(),document.body.removeChild(i)}}]),E}(),nt=function(){function E(e,t){m(this,E),this.ctx=e,this.elgrid=t,this.w=e.w;var r=this.w;this.axesUtils=new Fe(e),this.xaxisLabels=r.globals.labels.slice(),r.globals.timescaleLabels.length>0&&!r.globals.isBarHorizontal&&(this.xaxisLabels=r.globals.timescaleLabels.slice()),r.config.xaxis.overwriteCategories&&(this.xaxisLabels=r.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],r.config.xaxis.position==="top"?this.offY=0:this.offY=r.globals.gridHeight+1,this.offY=this.offY+r.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=r.config.chart.type==="bar"&&r.config.plotOptions.bar.horizontal,this.xaxisFontSize=r.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=r.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=r.config.xaxis.labels.style.colors,this.xaxisBorderWidth=r.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=r.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=r.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=r.config.xaxis.axisBorder.height,this.yaxis=r.config.yaxis[0]}return w(E,[{key:"drawXaxis",value:function(){var e=this.w,t=new U(this.ctx),r=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),i=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});r.add(i);for(var s=[],n=0;n<this.xaxisLabels.length;n++)s.push(this.xaxisLabels[n]);if(this.drawXAxisLabelAndGroup(!0,t,i,s,e.globals.isXNumeric,function(C,T){return T}),e.globals.hasXaxisGroups){var l=e.globals.groups;s=[];for(var h=0;h<l.length;h++)s.push(l[h].title);var p={};e.config.xaxis.group.style&&(p.xaxisFontSize=e.config.xaxis.group.style.fontSize,p.xaxisFontFamily=e.config.xaxis.group.style.fontFamily,p.xaxisForeColors=e.config.xaxis.group.style.colors,p.fontWeight=e.config.xaxis.group.style.fontWeight,p.cssClass=e.config.xaxis.group.style.cssClass),this.drawXAxisLabelAndGroup(!1,t,i,s,!1,function(C,T){return l[C].cols*T},p)}if(e.config.xaxis.title.text!==void 0){var g=t.group({class:"apexcharts-xaxis-title"}),x=t.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+(e.config.xaxis.position==="bottom"?e.globals.xAxisLabelsHeight:-e.globals.xAxisLabelsHeight-10)+e.config.xaxis.title.offsetY,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,fontWeight:e.config.xaxis.title.style.fontWeight,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});g.add(x),r.add(g)}if(e.config.xaxis.axisBorder.show){var b=e.globals.barPadForNumericAxis,y=t.drawLine(e.globals.padHorizontal+e.config.xaxis.axisBorder.offsetX-b,this.offY,this.xaxisBorderWidth+b,this.offY,e.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);this.elgrid&&this.elgrid.elGridBorders&&e.config.grid.show?this.elgrid.elGridBorders.add(y):r.add(y)}return r}},{key:"drawXAxisLabelAndGroup",value:function(e,t,r,i,s,n){var l,h=this,p=arguments.length>6&&arguments[6]!==void 0?arguments[6]:{},g=[],x=[],b=this.w,y=p.xaxisFontSize||this.xaxisFontSize,C=p.xaxisFontFamily||this.xaxisFontFamily,T=p.xaxisForeColors||this.xaxisForeColors,M=p.fontWeight||b.config.xaxis.labels.style.fontWeight,R=p.cssClass||b.config.xaxis.labels.style.cssClass,_=b.globals.padHorizontal,d=i.length,v=b.config.xaxis.type==="category"?b.globals.dataPoints:d;if(v===0&&d>v&&(v=d),s){var z=v>1?v-1:v;l=b.globals.gridWidth/z,_=_+n(0,l)/2+b.config.xaxis.labels.offsetX}else l=b.globals.gridWidth/v,_=_+n(0,l)+b.config.xaxis.labels.offsetX;for(var P=function(N){var W=_-n(N,l)/2+b.config.xaxis.labels.offsetX;N===0&&d===1&&l/2===_&&v===1&&(W=b.globals.gridWidth/2);var G=h.axesUtils.getLabel(i,b.globals.timescaleLabels,W,N,g,y,e),$=28;if(b.globals.rotateXLabels&&e&&($=22),b.config.xaxis.title.text&&b.config.xaxis.position==="top"&&($+=parseFloat(b.config.xaxis.title.style.fontSize)+2),e||($=$+parseFloat(y)+(b.globals.xAxisLabelsHeight-b.globals.xAxisGroupLabelsHeight)+(b.globals.rotateXLabels?10:0)),G=b.config.xaxis.tickAmount!==void 0&&b.config.xaxis.tickAmount!=="dataPoints"&&b.config.xaxis.type!=="datetime"?h.axesUtils.checkLabelBasedOnTickamount(N,G,d):h.axesUtils.checkForOverflowingLabels(N,G,d,g,x),b.config.xaxis.labels.show){var ie=t.drawText({x:G.x,y:h.offY+b.config.xaxis.labels.offsetY+$-(b.config.xaxis.position==="top"?b.globals.xAxisHeight+b.config.xaxis.axisTicks.height-2:0),text:G.text,textAnchor:"middle",fontWeight:G.isBold?600:M,fontSize:y,fontFamily:C,foreColor:Array.isArray(T)?e&&b.config.xaxis.convertedCatToNumeric?T[b.globals.minX+N-1]:T[N]:T,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+R});if(r.add(ie),ie.on("click",function(ce){if(typeof b.config.chart.events.xAxisLabelClick=="function"){var me=Object.assign({},b,{labelIndex:N});b.config.chart.events.xAxisLabelClick(ce,h.ctx,me)}}),e){var te=document.createElementNS(b.globals.SVGNS,"title");te.textContent=Array.isArray(G.text)?G.text.join(" "):G.text,ie.node.appendChild(te),G.text!==""&&(g.push(G.text),x.push(G))}}N<d-1&&(_+=n(N+1,l))},B=0;B<=d-1;B++)P(B)}},{key:"drawXaxisInversed",value:function(e){var t,r,i=this,s=this.w,n=new U(this.ctx),l=s.config.yaxis[0].opposite?s.globals.translateYAxisX[e]:0,h=n.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),p=n.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+l+", 0)"});h.add(p);var g=[];if(s.config.yaxis[e].show)for(var x=0;x<this.xaxisLabels.length;x++)g.push(this.xaxisLabels[x]);t=s.globals.gridHeight/g.length,r=-t/2.2;var b=s.globals.yLabelFormatters[0],y=s.config.yaxis[0].labels;if(y.show)for(var C=function(z){var P=g[z]===void 0?"":g[z];P=b(P,{seriesIndex:e,dataPointIndex:z,w:s});var B=i.axesUtils.getYAxisForeColor(y.style.colors,e),N=0;Array.isArray(P)&&(N=P.length/2*parseInt(y.style.fontSize,10));var W=y.offsetX-15,G="end";i.yaxis.opposite&&(G="start"),s.config.yaxis[0].labels.align==="left"?(W=y.offsetX,G="start"):s.config.yaxis[0].labels.align==="center"?(W=y.offsetX,G="middle"):s.config.yaxis[0].labels.align==="right"&&(G="end");var $=n.drawText({x:W,y:r+t+y.offsetY-N,text:P,textAnchor:G,foreColor:Array.isArray(B)?B[z]:B,fontSize:y.style.fontSize,fontFamily:y.style.fontFamily,fontWeight:y.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+y.style.cssClass,maxWidth:y.maxWidth});p.add($),$.on("click",function(ce){if(typeof s.config.chart.events.xAxisLabelClick=="function"){var me=Object.assign({},s,{labelIndex:z});s.config.chart.events.xAxisLabelClick(ce,i.ctx,me)}});var ie=document.createElementNS(s.globals.SVGNS,"title");if(ie.textContent=Array.isArray(P)?P.join(" "):P,$.node.appendChild(ie),s.config.yaxis[e].labels.rotate!==0){var te=n.rotateAroundCenter($.node);$.node.setAttribute("transform","rotate(".concat(s.config.yaxis[e].labels.rotate," 0 ").concat(te.y,")"))}r+=t},T=0;T<=g.length-1;T++)C(T);if(s.config.yaxis[0].title.text!==void 0){var M=n.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+l+", 0)"}),R=n.drawText({x:s.config.yaxis[0].title.offsetX,y:s.globals.gridHeight/2+s.config.yaxis[0].title.offsetY,text:s.config.yaxis[0].title.text,textAnchor:"middle",foreColor:s.config.yaxis[0].title.style.color,fontSize:s.config.yaxis[0].title.style.fontSize,fontWeight:s.config.yaxis[0].title.style.fontWeight,fontFamily:s.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+s.config.yaxis[0].title.style.cssClass});M.add(R),h.add(M)}var _=0;this.isCategoryBarHorizontal&&s.config.yaxis[0].opposite&&(_=s.globals.gridWidth);var d=s.config.xaxis.axisBorder;if(d.show){var v=n.drawLine(s.globals.padHorizontal+d.offsetX+_,1+d.offsetY,s.globals.padHorizontal+d.offsetX+_,s.globals.gridHeight+d.offsetY,d.color,0);this.elgrid&&this.elgrid.elGridBorders&&s.config.grid.show?this.elgrid.elGridBorders.add(v):h.add(v)}return s.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(_,g.length,s.config.yaxis[0].axisBorder,s.config.yaxis[0].axisTicks,0,t,h),h}},{key:"drawXaxisTicks",value:function(e,t,r){var i=this.w,s=e;if(!(e<0||e-2>i.globals.gridWidth)){var n=this.offY+i.config.xaxis.axisTicks.offsetY;if(t=t+n+i.config.xaxis.axisTicks.height,i.config.xaxis.position==="top"&&(t=n-i.config.xaxis.axisTicks.height),i.config.xaxis.axisTicks.show){var l=new U(this.ctx).drawLine(e+i.config.xaxis.axisTicks.offsetX,n+i.config.xaxis.offsetY,s+i.config.xaxis.axisTicks.offsetX,t+i.config.xaxis.offsetY,i.config.xaxis.axisTicks.color);r.add(l),l.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],r=this.xaxisLabels.length,i=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var s=0;s<r;s++)i=this.xaxisLabels[s].position,t.push(i);else for(var n=r,l=0;l<n;l++){var h=n;e.globals.isXNumeric&&e.config.chart.type!=="bar"&&(h-=1),i+=e.globals.gridWidth/h,t.push(i)}return t}},{key:"xAxisLabelCorrections",value:function(){var e=this.w,t=new U(this.ctx),r=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text:not(.apexcharts-xaxis-group-label)"),s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(e.globals.rotateXLabels||e.config.xaxis.labels.rotateAlways)for(var l=0;l<i.length;l++){var h=t.rotateAroundCenter(i[l]);h.y=h.y-1,h.x=h.x+1,i[l].setAttribute("transform","rotate(".concat(e.config.xaxis.labels.rotate," ").concat(h.x," ").concat(h.y,")")),i[l].setAttribute("text-anchor","end"),r.setAttribute("transform","translate(0, ".concat(-10,")"));var p=i[l].childNodes;e.config.xaxis.labels.trim&&Array.prototype.forEach.call(p,function(y){t.placeTextWithEllipsis(y,y.textContent,e.globals.xAxisLabelsHeight-(e.config.legend.position==="bottom"?20:10))})}else(function(){for(var y=e.globals.gridWidth/(e.globals.labels.length+1),C=0;C<i.length;C++){var T=i[C].childNodes;e.config.xaxis.labels.trim&&e.config.xaxis.type!=="datetime"&&Array.prototype.forEach.call(T,function(M){t.placeTextWithEllipsis(M,M.textContent,y)})}})();if(s.length>0){var g=s[s.length-1].getBBox(),x=s[0].getBBox();g.x<-20&&s[s.length-1].parentNode.removeChild(s[s.length-1]),x.x+x.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&s[0].parentNode.removeChild(s[0]);for(var b=0;b<n.length;b++)t.placeTextWithEllipsis(n[b],n[b].textContent,e.config.yaxis[0].labels.maxWidth-(e.config.yaxis[0].title.text?2*parseFloat(e.config.yaxis[0].title.style.fontSize):0)-15)}}}]),E}(),It=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w;var t=this.w;this.xaxisLabels=t.globals.labels.slice(),this.axesUtils=new Fe(e),this.isRangeBar=t.globals.seriesRange.length&&t.globals.isBarHorizontal,t.globals.timescaleLabels.length>0&&(this.xaxisLabels=t.globals.timescaleLabels.slice())}return w(E,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,r=new U(this.ctx);e===null&&(e=r.group({class:"apexcharts-grid"}));var i=r.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),s=r.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(s),e.add(i),e}},{key:"drawGrid",value:function(){var e=null;return this.w.globals.axisCharts&&(e=this.renderGrid(),this.drawGridArea(e.el)),e}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,r=new U(this.ctx),i=Array.isArray(e.config.stroke.width)?0:e.config.stroke.width;if(Array.isArray(e.config.stroke.width)){var s=0;e.config.stroke.width.forEach(function(x){s=Math.max(s,x)}),i=s}t.dom.elGridRectMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elForecastMask.setAttribute("id","forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elNonForecastMask.setAttribute("id","nonForecastMask".concat(t.cuid));var n=e.config.chart.type,l=0,h=0;(n==="bar"||n==="rangeBar"||n==="candlestick"||n==="boxPlot"||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(l=e.config.grid.padding.left,h=e.config.grid.padding.right,t.barPadForNumericAxis>l&&(l=t.barPadForNumericAxis,h=t.barPadForNumericAxis)),t.dom.elGridRect=r.drawRect(-i/2-l-2,-i/2,t.gridWidth+i+h+l+4,t.gridHeight+i,0,"#fff");var p=e.globals.markers.largestSize+1;t.dom.elGridRectMarker=r.drawRect(2*-p,2*-p,t.gridWidth+4*p,t.gridHeight+4*p,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var g=t.dom.baseEl.querySelector("defs");g.appendChild(t.dom.elGridRectMask),g.appendChild(t.dom.elForecastMask),g.appendChild(t.dom.elNonForecastMask),g.appendChild(t.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,r=e.x1,i=e.y1,s=e.x2,n=e.y2,l=e.xCount,h=e.parent,p=this.w;if(!(t===0&&p.globals.skipFirstTimelinelabel||t===l-1&&p.globals.skipLastTimelinelabel&&!p.config.xaxis.labels.formatter||p.config.chart.type==="radar")){p.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:r,y1:i,x2:s,y2:n,xCount:l,parent:h});var g=0;if(p.globals.hasXaxisGroups&&p.config.xaxis.tickPlacement==="between"){var x=p.globals.groups;if(x){for(var b=0,y=0;b<t&&y<x.length;y++)b+=x[y].cols;b===t&&(g=.6*p.globals.xAxisLabelsHeight)}}new nt(this.ctx).drawXaxisTicks(r,g,p.globals.dom.elGraphical)}}},{key:"_drawGridLine",value:function(e){var t=e.i,r=e.x1,i=e.y1,s=e.x2,n=e.y2,l=e.xCount,h=e.parent,p=this.w,g=!1,x=h.node.classList.contains("apexcharts-gridlines-horizontal"),b=p.config.grid.strokeDashArray,y=p.globals.barPadForNumericAxis;(i===0&&n===0||r===0&&s===0)&&(g=!0),i===p.globals.gridHeight&&n===p.globals.gridHeight&&(g=!0),!p.globals.isBarHorizontal||t!==0&&t!==l-1||(g=!0);var C=new U(this).drawLine(r-(x?y:0),i,s+(x?y:0),n,p.config.grid.borderColor,b);C.node.classList.add("apexcharts-gridline"),g&&p.config.grid.show?this.elGridBorders.add(C):h.add(C)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,r=e.x1,i=e.y1,s=e.x2,n=e.y2,l=e.type,h=this.w,p=new U(this.ctx),g=h.globals.barPadForNumericAxis;if(l!=="column"||h.config.xaxis.type!=="datetime"){var x=h.config.grid[l].colors[t],b=p.drawRect(r-(l==="row"?g:0),i,s+(l==="row"?2*g:0),n,0,x,h.config.grid[l].opacity);this.elg.add(b),b.attr("clip-path","url(#gridRectMask".concat(h.globals.cuid,")")),b.node.classList.add("apexcharts-grid-".concat(l))}}},{key:"_drawXYLines",value:function(e){var t=this,r=e.xCount,i=e.tickAmount,s=this.w;if(s.config.grid.xaxis.lines.show||s.config.xaxis.axisTicks.show){var n,l=s.globals.padHorizontal,h=s.globals.gridHeight;s.globals.timescaleLabels.length?function(C){for(var T=C.xC,M=C.x1,R=C.y1,_=C.x2,d=C.y2,v=0;v<T;v++)M=t.xaxisLabels[v].position,_=t.xaxisLabels[v].position,t._drawGridLines({i:v,x1:M,y1:R,x2:_,y2:d,xCount:r,parent:t.elgridLinesV})}({xC:r,x1:l,y1:0,x2:n,y2:h}):(s.globals.isXNumeric&&(r=s.globals.xAxisScale.result.length),function(C){for(var T=C.xC,M=C.x1,R=C.y1,_=C.x2,d=C.y2,v=0;v<T+(s.globals.isXNumeric?0:1);v++)v===0&&T===1&&s.globals.dataPoints===1&&(_=M=s.globals.gridWidth/2),t._drawGridLines({i:v,x1:M,y1:R,x2:_,y2:d,xCount:r,parent:t.elgridLinesV}),_=M+=s.globals.gridWidth/(s.globals.isXNumeric?T-1:T)}({xC:r,x1:l,y1:0,x2:n,y2:h}))}if(s.config.grid.yaxis.lines.show){var p=0,g=0,x=s.globals.gridWidth,b=i+1;this.isRangeBar&&(b=s.globals.labels.length);for(var y=0;y<b+(this.isRangeBar?1:0);y++)this._drawGridLine({i:y,xCount:b+(this.isRangeBar?1:0),x1:0,y1:p,x2:x,y2:g,parent:this.elgridLinesH}),g=p+=s.globals.gridHeight/(this.isRangeBar?b:i)}}},{key:"_drawInvertedXYLines",value:function(e){var t=e.xCount,r=this.w;if(r.config.grid.xaxis.lines.show||r.config.xaxis.axisTicks.show)for(var i,s=r.globals.padHorizontal,n=r.globals.gridHeight,l=0;l<t+1;l++)r.config.grid.xaxis.lines.show&&this._drawGridLine({i:l,xCount:t+1,x1:s,y1:0,x2:i,y2:n,parent:this.elgridLinesV}),new nt(this.ctx).drawXaxisTicks(s,0,r.globals.dom.elGraphical),i=s=s+r.globals.gridWidth/t+.3;if(r.config.grid.yaxis.lines.show)for(var h=0,p=0,g=r.globals.gridWidth,x=0;x<r.globals.dataPoints+1;x++)this._drawGridLine({i:x,xCount:r.globals.dataPoints+1,x1:0,y1:h,x2:g,y2:p,parent:this.elgridLinesH}),p=h+=r.globals.gridHeight/r.globals.dataPoints}},{key:"renderGrid",value:function(){var e=this.w,t=new U(this.ctx);this.elg=t.group({class:"apexcharts-grid"}),this.elgridLinesH=t.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=t.group({class:"apexcharts-gridlines-vertical"}),this.elGridBorders=t.group({class:"apexcharts-grid-borders"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),e.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide(),this.elGridBorders.hide());for(var r,i=e.globals.yAxisScale.length?e.globals.yAxisScale[0].result.length-1:5,s=0;s<e.globals.series.length&&(e.globals.yAxisScale[s]!==void 0&&(i=e.globals.yAxisScale[s].result.length-1),!(i>2));s++);return!e.globals.isBarHorizontal||this.isRangeBar?(r=this.xaxisLabels.length,this.isRangeBar&&(r--,i=e.globals.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(r=e.config.xaxis.tickAmount)),this._drawXYLines({xCount:r,tickAmount:i})):(r=i,i=e.globals.xTickAmount,this._drawInvertedXYLines({xCount:r,tickAmount:i})),this.drawGridBands(r,i),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:e.globals.gridWidth/r}}},{key:"drawGridBands",value:function(e,t){var r=this.w;if(r.config.grid.row.colors!==void 0&&r.config.grid.row.colors.length>0)for(var i=0,s=r.globals.gridHeight/t,n=r.globals.gridWidth,l=0,h=0;l<t;l++,h++)h>=r.config.grid.row.colors.length&&(h=0),this._drawGridBandRect({c:h,x1:0,y1:i,x2:n,y2:s,type:"row"}),i+=r.globals.gridHeight/t;if(r.config.grid.column.colors!==void 0&&r.config.grid.column.colors.length>0)for(var p=r.globals.isBarHorizontal||r.config.xaxis.type!=="category"&&!r.config.xaxis.convertedCatToNumeric?e:e-1,g=r.globals.padHorizontal,x=r.globals.padHorizontal+r.globals.gridWidth/p,b=r.globals.gridHeight,y=0,C=0;y<e;y++,C++)C>=r.config.grid.column.colors.length&&(C=0),this._drawGridBandRect({c:C,x1:g,y1:0,x2:x,y2:b,type:"column"}),g+=r.globals.gridWidth/p}}]),E}(),bt=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"niceScale",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4?arguments[4]:void 0,n=this.w,l=Math.abs(t-e);if((r=this._adjustTicksForSmallRange(r,i,l))==="dataPoints"&&(r=n.globals.dataPoints-1),e===Number.MIN_VALUE&&t===0||!O.isNumber(e)&&!O.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)return e=0,t=r,this.linearScale(e,t,r);e>t?(console.warn("axis.min cannot be greater than axis.max"),t=e+.1):e===t&&(e=e===0?0:e-.5,t=t===0?2:t+.5);var h=[];l<1&&s&&(n.config.chart.type==="candlestick"||n.config.series[i].type==="candlestick"||n.config.chart.type==="boxPlot"||n.config.series[i].type==="boxPlot"||n.globals.isRangeData)&&(t*=1.01);var p=r+1;p<2?p=2:p>2&&(p-=2);var g=l/p,x=Math.floor(O.log10(g)),b=Math.pow(10,x),y=Math.round(g/b);y<1&&(y=1);var C=y*b,T=C*Math.floor(e/C),M=C*Math.ceil(t/C),R=T;if(s&&l>2){for(;h.push(O.stripNumber(R,7)),!((R+=C)>M););return{result:h,niceMin:h[0],niceMax:h[h.length-1]}}var _=e;(h=[]).push(O.stripNumber(_,7));for(var d=Math.abs(t-e)/r,v=0;v<=r;v++)_+=d,h.push(_);return h[h.length-2]>=t&&h.pop(),{result:h,niceMin:h[0],niceMax:h[h.length-1]}}},{key:"linearScale",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,i=arguments.length>3?arguments[3]:void 0,s=Math.abs(t-e);(r=this._adjustTicksForSmallRange(r,i,s))==="dataPoints"&&(r=this.w.globals.dataPoints-1);var n=s/r;r===Number.MAX_VALUE&&(r=10,n=1);for(var l=[],h=e;r>=0;)l.push(h),h+=n,r-=1;return{result:l,niceMin:l[0],niceMax:l[l.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,r){t<=0&&(t=Math.max(e,r)),e<=0&&(e=Math.min(t,r));for(var i=[],s=Math.ceil(Math.log(t)/Math.log(r)+1),n=Math.floor(Math.log(e)/Math.log(r));n<s;n++)i.push(Math.pow(r,n));return{result:i,niceMin:i[0],niceMax:i[i.length-1]}}},{key:"logarithmicScale",value:function(e,t,r){t<=0&&(t=Math.max(e,r)),e<=0&&(e=Math.min(t,r));for(var i=[],s=Math.log(t)/Math.log(r),n=Math.log(e)/Math.log(r),l=s-n,h=Math.round(l),p=l/h,g=0,x=n;g<h;g++,x+=p)i.push(Math.pow(r,x));return i.push(Math.pow(r,s)),{result:i,niceMin:e,niceMax:t}}},{key:"_adjustTicksForSmallRange",value:function(e,t,r){var i=e;if(t!==void 0&&this.w.config.yaxis[t].labels.formatter&&this.w.config.yaxis[t].tickAmount===void 0){var s=Number(this.w.config.yaxis[t].labels.formatter(1));O.isNumber(s)&&this.w.globals.yValueDecimal===0&&(i=Math.ceil(r))}return i<e?i:e}},{key:"setYScaleForIndex",value:function(e,t,r){var i=this.w.globals,s=this.w.config,n=i.isBarHorizontal?s.xaxis:s.yaxis[e];i.yAxisScale[e]===void 0&&(i.yAxisScale[e]=[]);var l=Math.abs(r-t);if(n.logarithmic&&l<=5&&(i.invalidLogScale=!0),n.logarithmic&&l>5)i.allSeriesCollapsed=!1,i.yAxisScale[e]=this.logarithmicScale(t,r,n.logBase),i.yAxisScale[e]=n.forceNiceScale?this.logarithmicScaleNice(t,r,n.logBase):this.logarithmicScale(t,r,n.logBase);else if(r!==-Number.MAX_VALUE&&O.isNumber(r))if(i.allSeriesCollapsed=!1,n.min===void 0&&n.max===void 0||n.forceNiceScale){var h=s.yaxis[e].max===void 0&&s.yaxis[e].min===void 0||s.yaxis[e].forceNiceScale;i.yAxisScale[e]=this.niceScale(t,r,n.tickAmount?n.tickAmount:l<5&&l>1?l+1:5,e,h)}else i.yAxisScale[e]=this.linearScale(t,r,n.tickAmount,e);else i.yAxisScale[e]=this.linearScale(0,5,5)}},{key:"setXScale",value:function(e,t){var r=this.w,i=r.globals,s=r.config.xaxis,n=Math.abs(t-e);return t!==-Number.MAX_VALUE&&O.isNumber(t)?i.xAxisScale=this.linearScale(e,t,s.tickAmount?s.tickAmount:n<5&&n>1?n+1:5,0):i.xAxisScale=this.linearScale(0,5,5),i.xAxisScale}},{key:"setMultipleYScales",value:function(){var e=this,t=this.w.globals,r=this.w.config,i=t.minYArr.concat([]),s=t.maxYArr.concat([]),n=[];r.yaxis.forEach(function(l,h){var p=h;r.series.forEach(function(b,y){b.name===l.seriesName&&(p=y,h!==y?n.push({index:y,similarIndex:h,alreadyExists:!0}):n.push({index:y}))});var g=i[p],x=s[p];e.setYScaleForIndex(h,g,x)}),this.sameScaleInMultipleAxes(i,s,n)}},{key:"sameScaleInMultipleAxes",value:function(e,t,r){var i=this,s=this.w.config,n=this.w.globals,l=[];r.forEach(function(T){T.alreadyExists&&(l[T.index]===void 0&&(l[T.index]=[]),l[T.index].push(T.index),l[T.index].push(T.similarIndex))}),n.yAxisSameScaleIndices=l,l.forEach(function(T,M){l.forEach(function(R,_){var d,v;M!==_&&(d=T,v=R,d.filter(function(z){return v.indexOf(z)!==-1})).length>0&&(l[M]=l[M].concat(l[_]))})});var h=l.map(function(T){return T.filter(function(M,R){return T.indexOf(M)===R})}).map(function(T){return T.sort()});l=l.filter(function(T){return!!T});var p=h.slice(),g=p.map(function(T){return JSON.stringify(T)});p=p.filter(function(T,M){return g.indexOf(JSON.stringify(T))===M});var x=[],b=[];e.forEach(function(T,M){p.forEach(function(R,_){R.indexOf(M)>-1&&(x[_]===void 0&&(x[_]=[],b[_]=[]),x[_].push({key:M,value:T}),b[_].push({key:M,value:t[M]}))})});var y=Array.apply(null,Array(p.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),C=Array.apply(null,Array(p.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);x.forEach(function(T,M){T.forEach(function(R,_){y[M]=Math.min(R.value,y[M])})}),b.forEach(function(T,M){T.forEach(function(R,_){C[M]=Math.max(R.value,C[M])})}),e.forEach(function(T,M){b.forEach(function(R,_){var d=y[_],v=C[_];s.chart.stacked&&(v=0,R.forEach(function(z,P){z.value!==-Number.MAX_VALUE&&(v+=z.value),d!==Number.MIN_VALUE&&(d+=x[_][P].value)})),R.forEach(function(z,P){R[P].key===M&&(s.yaxis[M].min!==void 0&&(d=typeof s.yaxis[M].min=="function"?s.yaxis[M].min(n.minY):s.yaxis[M].min),s.yaxis[M].max!==void 0&&(v=typeof s.yaxis[M].max=="function"?s.yaxis[M].max(n.maxY):s.yaxis[M].max),i.setYScaleForIndex(M,d,v))})})})}},{key:"autoScaleY",value:function(e,t,r){e||(e=this);var i=e.w;if(i.globals.isMultipleYAxis||i.globals.collapsedSeries.length)return console.warn("autoScaleYaxis is not supported in a multi-yaxis chart."),t;var s=i.globals.seriesX[0],n=i.config.chart.stacked;return t.forEach(function(l,h){for(var p=0,g=0;g<s.length;g++)if(s[g]>=r.xaxis.min){p=g;break}var x,b,y=i.globals.minYArr[h],C=i.globals.maxYArr[h],T=i.globals.stackedSeriesTotals;i.globals.series.forEach(function(M,R){var _=M[p];n?(_=T[p],x=b=_,T.forEach(function(d,v){s[v]<=r.xaxis.max&&s[v]>=r.xaxis.min&&(d>b&&d!==null&&(b=d),M[v]<x&&M[v]!==null&&(x=M[v]))})):(x=b=_,M.forEach(function(d,v){if(s[v]<=r.xaxis.max&&s[v]>=r.xaxis.min){var z=d,P=d;i.globals.series.forEach(function(B,N){d!==null&&(z=Math.min(B[v],z),P=Math.max(B[v],P))}),P>b&&P!==null&&(b=P),z<x&&z!==null&&(x=z)}})),x===void 0&&b===void 0&&(x=y,b=C),b*=b<0?.9:1.1,(x*=x<0?1.1:.9)===0&&b===0&&(x=-1,b=1),b<0&&b<C&&(b=C),x<0&&x>y&&(x=y),t.length>1?(t[R].min=l.min===void 0?x:l.min,t[R].max=l.max===void 0?b:l.max):(t[0].min=l.min===void 0?x:l.min,t[0].max=l.max===void 0?b:l.max)})}),t}}]),E}(),Dr=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.scales=new bt(e)}return w(E,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Number.MAX_VALUE,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,s=this.w.config,n=this.w.globals,l=-Number.MAX_VALUE,h=Number.MIN_VALUE;i===null&&(i=e+1);var p=n.series,g=p,x=p;s.chart.type==="candlestick"?(g=n.seriesCandleL,x=n.seriesCandleH):s.chart.type==="boxPlot"?(g=n.seriesCandleO,x=n.seriesCandleC):n.isRangeData&&(g=n.seriesRangeStart,x=n.seriesRangeEnd);for(var b=e;b<i;b++){n.dataPoints=Math.max(n.dataPoints,p[b].length),n.categoryLabels.length&&(n.dataPoints=n.categoryLabels.filter(function(T){return T!==void 0}).length),n.labels.length&&s.xaxis.type!=="datetime"&&n.series.reduce(function(T,M){return T+M.length},0)!==0&&(n.dataPoints=Math.max(n.dataPoints,n.labels.length));for(var y=0;y<n.series[b].length;y++){var C=p[b][y];C!==null&&O.isNumber(C)?(x[b][y]!==void 0&&(l=Math.max(l,x[b][y]),t=Math.min(t,x[b][y])),g[b][y]!==void 0&&(t=Math.min(t,g[b][y]),r=Math.max(r,g[b][y])),this.w.config.chart.type!=="candlestick"&&this.w.config.chart.type!=="boxPlot"&&this.w.config.chart.type==="rangeArea"&&this.w.config.chart.type==="rangeBar"||(this.w.config.chart.type!=="candlestick"&&this.w.config.chart.type!=="boxPlot"||n.seriesCandleC[b][y]!==void 0&&(l=Math.max(l,n.seriesCandleO[b][y]),l=Math.max(l,n.seriesCandleH[b][y]),l=Math.max(l,n.seriesCandleL[b][y]),l=Math.max(l,n.seriesCandleC[b][y]),this.w.config.chart.type==="boxPlot"&&(l=Math.max(l,n.seriesCandleM[b][y]))),!s.series[b].type||s.series[b].type==="candlestick"&&s.series[b].type==="boxPlot"&&s.series[b].type==="rangeArea"&&s.series[b].type==="rangeBar"||(l=Math.max(l,n.series[b][y]),t=Math.min(t,n.series[b][y])),r=l),n.seriesGoals[b]&&n.seriesGoals[b][y]&&Array.isArray(n.seriesGoals[b][y])&&n.seriesGoals[b][y].forEach(function(T){h!==Number.MIN_VALUE&&(h=Math.min(h,T.value),t=h),l=Math.max(l,T.value),r=l}),O.isFloat(C)&&(C=O.noExponents(C),n.yValueDecimal=Math.max(n.yValueDecimal,C.toString().split(".")[1].length)),h>g[b][y]&&g[b][y]<0&&(h=g[b][y])):n.hasNullValues=!0}}return s.chart.type==="rangeBar"&&n.seriesRangeStart.length&&n.isBarHorizontal&&(h=t),s.chart.type==="bar"&&(h<0&&l<0&&(l=0),h===Number.MIN_VALUE&&(h=0)),{minY:h,maxY:l,lowestY:t,highestY:r}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var r=Number.MAX_VALUE;if(e.isMultipleYAxis)for(var i=0;i<e.series.length;i++){var s=this.getMinYMaxY(i,r,null,i+1);e.minYArr.push(s.minY),e.maxYArr.push(s.maxY),r=s.lowestY}var n=this.getMinYMaxY(0,r,null,e.series.length);if(e.minY=n.minY,e.maxY=n.maxY,r=n.lowestY,t.chart.stacked&&this._setStackedMinMax(),(t.chart.type==="line"||t.chart.type==="area"||t.chart.type==="candlestick"||t.chart.type==="boxPlot"||t.chart.type==="rangeBar"&&!e.isBarHorizontal)&&e.minY===Number.MIN_VALUE&&r!==-Number.MAX_VALUE&&r!==e.maxY){var l=e.maxY-r;(r>=0&&r<=10||t.yaxis[0].min!==void 0||t.yaxis[0].max!==void 0)&&(l=0),e.minY=r-5*l/100,r>0&&e.minY<0&&(e.minY=0),e.maxY=e.maxY+5*l/100}return t.yaxis.forEach(function(h,p){h.max!==void 0&&(typeof h.max=="number"?e.maxYArr[p]=h.max:typeof h.max=="function"&&(e.maxYArr[p]=h.max(e.isMultipleYAxis?e.maxYArr[p]:e.maxY)),e.maxY=e.maxYArr[p]),h.min!==void 0&&(typeof h.min=="number"?e.minYArr[p]=h.min:typeof h.min=="function"&&(e.minYArr[p]=h.min(e.isMultipleYAxis?e.minYArr[p]===Number.MIN_VALUE?0:e.minYArr[p]:e.minY)),e.minY=e.minYArr[p])}),e.isBarHorizontal&&["min","max"].forEach(function(h){t.xaxis[h]!==void 0&&typeof t.xaxis[h]=="number"&&(h==="min"?e.minY=t.xaxis[h]:e.maxY=t.xaxis[h])}),e.isMultipleYAxis?(this.scales.setMultipleYScales(),e.minY=r,e.yAxisScale.forEach(function(h,p){e.minYArr[p]=h.niceMin,e.maxYArr[p]=h.niceMax})):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.yAxisScale[0].niceMin,e.maxYArr[0]=e.yAxisScale[0].niceMax),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,r=t.xaxis.type==="numeric"||t.xaxis.type==="datetime"||t.xaxis.type==="category"&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&function(){for(var l=0;l<e.series.length;l++)if(e.labels[l])for(var h=0;h<e.labels[l].length;h++)e.labels[l][h]!==null&&O.isNumber(e.labels[l][h])&&(e.maxX=Math.max(e.maxX,e.labels[l][h]),e.initialMaxX=Math.max(e.maxX,e.labels[l][h]),e.minX=Math.min(e.minX,e.labels[l][h]),e.initialMinX=Math.min(e.minX,e.labels[l][h]))}(),e.noLabelsProvided&&t.xaxis.categories.length===0&&(e.maxX=e.labels[e.labels.length-1],e.initialMaxX=e.labels[e.labels.length-1],e.minX=1,e.initialMinX=1),e.isXNumeric||e.noLabelsProvided||e.dataFormatXNumeric){var i;if(t.xaxis.tickAmount===void 0?(i=Math.round(e.svgWidth/150),t.xaxis.type==="numeric"&&e.dataPoints<30&&(i=e.dataPoints-1),i>e.dataPoints&&e.dataPoints!==0&&(i=e.dataPoints-1)):t.xaxis.tickAmount==="dataPoints"?(e.series.length>1&&(i=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric&&(i=e.maxX-e.minX-1)):i=t.xaxis.tickAmount,e.xTickAmount=i,t.xaxis.max!==void 0&&typeof t.xaxis.max=="number"&&(e.maxX=t.xaxis.max),t.xaxis.min!==void 0&&typeof t.xaxis.min=="number"&&(e.minX=t.xaxis.min),t.xaxis.range!==void 0&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var s=[],n=e.minX-1;n<e.maxX;n++)s.push(n+1);e.xAxisScale={result:s,niceMin:s[0],niceMax:s[s.length-1]}}else e.xAxisScale=this.scales.setXScale(e.minX,e.maxX);else e.xAxisScale=this.scales.linearScale(1,i,i),e.noLabelsProvided&&e.labels.length>0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,i-1),e.seriesX=e.labels.slice());r&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ){for(var t=0;t<e.series.length;t++)if(e.seriesZ[t]!==void 0)for(var r=0;r<e.seriesZ[t].length;r++)e.seriesZ[t][r]!==null&&O.isNumber(e.seriesZ[t][r])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][r]),e.minZ=Math.min(e.minZ,e.seriesZ[t][r]))}}},{key:"_handleSingleDataPoint",value:function(){var e=this.w.globals,t=this.w.config;if(e.minX===e.maxX){var r=new ne(this.ctx);if(t.xaxis.type==="datetime"){var i=r.getDate(e.minX);t.xaxis.labels.datetimeUTC?i.setUTCDate(i.getUTCDate()-2):i.setDate(i.getDate()-2),e.minX=new Date(i).getTime();var s=r.getDate(e.maxX);t.xaxis.labels.datetimeUTC?s.setUTCDate(s.getUTCDate()+2):s.setDate(s.getDate()+2),e.maxX=new Date(s).getTime()}else(t.xaxis.type==="numeric"||t.xaxis.type==="category"&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.initialMinX=e.minX,e.maxX=e.maxX+2,e.initialMaxX=e.maxX)}}},{key:"_getMinXDiff",value:function(){var e=this.w.globals;e.isXNumeric&&e.seriesX.forEach(function(t,r){t.length===1&&t.push(e.seriesX[e.maxValsInArrayIndex][e.seriesX[e.maxValsInArrayIndex].length-1]);var i=t.slice();i.sort(function(s,n){return s-n}),i.forEach(function(s,n){if(n>0){var l=s-i[n-1];l>0&&(e.minXDiff=Math.min(l,e.minXDiff))}}),e.dataPoints!==1&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)})}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var r=t.seriesGroups;r.length||(r=[this.w.config.series.map(function(n){return n.name})]);var i={},s={};r.forEach(function(n){i[n]=[],s[n]=[],e.w.config.series.map(function(l,h){return n.indexOf(l.name)>-1?h:null}).filter(function(l){return l!==null}).forEach(function(l){for(var h=0;h<t.series[t.maxValsInArrayIndex].length;h++)i[n][h]===void 0&&(i[n][h]=0,s[n][h]=0),t.series[l][h]!==null&&O.isNumber(t.series[l][h])&&(t.series[l][h]>0?i[n][h]+=parseFloat(t.series[l][h])+1e-4:s[n][h]+=parseFloat(t.series[l][h]))})}),Object.entries(i).forEach(function(n){var l=Z(n,1)[0];i[l].forEach(function(h,p){t.maxY=Math.max(t.maxY,i[l][p]),t.minY=Math.min(t.minY,s[l][p])})})}}}]),E}(),ar=function(){function E(e,t){m(this,E),this.ctx=e,this.elgrid=t,this.w=e.w;var r=this.w;this.xaxisFontSize=r.config.xaxis.labels.style.fontSize,this.axisFontFamily=r.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=r.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal=r.config.chart.type==="bar"&&r.config.plotOptions.bar.horizontal,this.xAxisoffX=0,r.config.xaxis.position==="bottom"&&(this.xAxisoffX=r.globals.gridHeight),this.drawnLabels=[],this.axesUtils=new Fe(e)}return w(E,[{key:"drawYaxis",value:function(e){var t=this,r=this.w,i=new U(this.ctx),s=r.config.yaxis[e].labels.style,n=s.fontSize,l=s.fontFamily,h=s.fontWeight,p=i.group({class:"apexcharts-yaxis",rel:e,transform:"translate("+r.globals.translateYAxisX[e]+", 0)"});if(this.axesUtils.isYAxisHidden(e))return p;var g=i.group({class:"apexcharts-yaxis-texts-g"});p.add(g);var x=r.globals.yAxisScale[e].result.length-1,b=r.globals.gridHeight/x,y=r.globals.translateY,C=r.globals.yLabelFormatters[e],T=r.globals.yAxisScale[e].result.slice();T=this.axesUtils.checkForReversedLabels(e,T);var M="";if(r.config.yaxis[e].labels.show)for(var R=function(W){var G=T[W];G=C(G,W,r);var $=r.config.yaxis[e].labels.padding;r.config.yaxis[e].opposite&&r.config.yaxis.length!==0&&($*=-1);var ie="end";r.config.yaxis[e].opposite&&(ie="start"),r.config.yaxis[e].labels.align==="left"?ie="start":r.config.yaxis[e].labels.align==="center"?ie="middle":r.config.yaxis[e].labels.align==="right"&&(ie="end");var te=t.axesUtils.getYAxisForeColor(s.colors,e),ce=i.drawText({x:$,y:y+x/10+r.config.yaxis[e].labels.offsetY+1,text:G,textAnchor:ie,fontSize:n,fontFamily:l,fontWeight:h,maxWidth:r.config.yaxis[e].labels.maxWidth,foreColor:Array.isArray(te)?te[W]:te,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+s.cssClass});W===x&&(M=ce),g.add(ce);var me=document.createElementNS(r.globals.SVGNS,"title");if(me.textContent=Array.isArray(G)?G.join(" "):G,ce.node.appendChild(me),r.config.yaxis[e].labels.rotate!==0){var Me=i.rotateAroundCenter(M.node),De=i.rotateAroundCenter(ce.node);ce.node.setAttribute("transform","rotate(".concat(r.config.yaxis[e].labels.rotate," ").concat(Me.x," ").concat(De.y,")"))}y+=b},_=x;_>=0;_--)R(_);if(r.config.yaxis[e].title.text!==void 0){var d=i.group({class:"apexcharts-yaxis-title"}),v=0;r.config.yaxis[e].opposite&&(v=r.globals.translateYAxisX[e]);var z=i.drawText({x:v,y:r.globals.gridHeight/2+r.globals.translateY+r.config.yaxis[e].title.offsetY,text:r.config.yaxis[e].title.text,textAnchor:"end",foreColor:r.config.yaxis[e].title.style.color,fontSize:r.config.yaxis[e].title.style.fontSize,fontWeight:r.config.yaxis[e].title.style.fontWeight,fontFamily:r.config.yaxis[e].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+r.config.yaxis[e].title.style.cssClass});d.add(z),p.add(d)}var P=r.config.yaxis[e].axisBorder,B=31+P.offsetX;if(r.config.yaxis[e].opposite&&(B=-31-P.offsetX),P.show){var N=i.drawLine(B,r.globals.translateY+P.offsetY-2,B,r.globals.gridHeight+r.globals.translateY+P.offsetY+2,P.color,0,P.width);p.add(N)}return r.config.yaxis[e].axisTicks.show&&this.axesUtils.drawYAxisTicks(B,x,P,r.config.yaxis[e].axisTicks,e,b,p),p}},{key:"drawYaxisInversed",value:function(e){var t=this.w,r=new U(this.ctx),i=r.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),s=r.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});i.add(s);var n=t.globals.yAxisScale[e].result.length-1,l=t.globals.gridWidth/n+.1,h=l+t.config.xaxis.labels.offsetX,p=t.globals.xLabelFormatter,g=t.globals.yAxisScale[e].result.slice(),x=t.globals.timescaleLabels;x.length>0&&(this.xaxisLabels=x.slice(),n=(g=x.slice()).length),g=this.axesUtils.checkForReversedLabels(e,g);var b=x.length;if(t.config.xaxis.labels.show)for(var y=b?0:n;b?y<b:y>=0;b?y++:y--){var C=g[y];C=p(C,y,t);var T=t.globals.gridWidth+t.globals.padHorizontal-(h-l+t.config.xaxis.labels.offsetX);if(x.length){var M=this.axesUtils.getLabel(g,x,T,y,this.drawnLabels,this.xaxisFontSize);T=M.x,C=M.text,this.drawnLabels.push(M.text),y===0&&t.globals.skipFirstTimelinelabel&&(C=""),y===g.length-1&&t.globals.skipLastTimelinelabel&&(C="")}var R=r.drawText({x:T,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-(t.config.xaxis.position==="top"?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:C,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});s.add(R),R.tspan(C);var _=document.createElementNS(t.globals.SVGNS,"title");_.textContent=C,R.node.appendChild(_),h+=l}return this.inversedYAxisTitleText(i),this.inversedYAxisBorder(i),i}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,r=new U(this.ctx),i=t.config.xaxis.axisBorder;if(i.show){var s=0;t.config.chart.type==="bar"&&t.globals.isXNumeric&&(s-=15);var n=r.drawLine(t.globals.padHorizontal+s+i.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,i.color,0,i.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(n):e.add(n)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,r=new U(this.ctx);if(t.config.xaxis.title.text!==void 0){var i=r.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),s=r.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});i.add(s),e.add(i)}}},{key:"yAxisTitleRotate",value:function(e,t){var r=this.w,i=new U(this.ctx),s={width:0,height:0},n={width:0,height:0},l=r.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g"));l!==null&&(s=l.getBoundingClientRect());var h=r.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text"));if(h!==null&&(n=h.getBoundingClientRect()),h!==null){var p=this.xPaddingForYAxisTitle(e,s,n,t);h.setAttribute("x",p.xPos-(t?10:0))}if(h!==null){var g=i.rotateAroundCenter(h);h.setAttribute("transform","rotate(".concat(t?-1*r.config.yaxis[e].title.rotate:r.config.yaxis[e].title.rotate," ").concat(g.x," ").concat(g.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,r,i){var s=this.w,n=0,l=0,h=10;return s.config.yaxis[e].title.text===void 0||e<0?{xPos:l,padd:0}:(i?(l=t.width+s.config.yaxis[e].title.offsetX+r.width/2+h/2,(n+=1)===0&&(l-=h/2)):(l=-1*t.width+s.config.yaxis[e].title.offsetX+h/2+r.width/2,s.globals.isBarHorizontal&&(h=25,l=-1*t.width-s.config.yaxis[e].title.offsetX-h)),{xPos:l,padd:h})}},{key:"setYAxisXPosition",value:function(e,t){var r=this.w,i=0,s=0,n=18,l=1;r.config.yaxis.length>1&&(this.multipleYs=!0),r.config.yaxis.map(function(h,p){var g=r.globals.ignoreYAxisIndexes.indexOf(p)>-1||!h.show||h.floating||e[p].width===0,x=e[p].width+t[p].width;h.opposite?r.globals.isBarHorizontal?(s=r.globals.gridWidth+r.globals.translateX-1,r.globals.translateYAxisX[p]=s-h.labels.offsetX):(s=r.globals.gridWidth+r.globals.translateX+l,g||(l=l+x+20),r.globals.translateYAxisX[p]=s-h.labels.offsetX+20):(i=r.globals.translateX-n,g||(n=n+x+20),r.globals.translateYAxisX[p]=i+h.labels.offsetX)})}},{key:"setYAxisTextAlignments",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");(t=O.listToArray(t)).forEach(function(r,i){var s=e.config.yaxis[i];if(s&&!s.floating&&s.labels.align!==void 0){var n=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(i,"'] .apexcharts-yaxis-texts-g")),l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(i,"'] .apexcharts-yaxis-label"));l=O.listToArray(l);var h=n.getBoundingClientRect();s.labels.align==="left"?(l.forEach(function(p,g){p.setAttribute("text-anchor","start")}),s.opposite||n.setAttribute("transform","translate(-".concat(h.width,", 0)"))):s.labels.align==="center"?(l.forEach(function(p,g){p.setAttribute("text-anchor","middle")}),n.setAttribute("transform","translate(".concat(h.width/2*(s.opposite?1:-1),", 0)"))):s.labels.align==="right"&&(l.forEach(function(p,g){p.setAttribute("text-anchor","end")}),s.opposite&&n.setAttribute("transform","translate(".concat(h.width,", 0)")))}})}}]),E}(),fa=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.documentEvent=O.bind(this.documentEvent,this)}return w(E,[{key:"addEventListener",value:function(e,t){var r=this.w;r.globals.events.hasOwnProperty(e)?r.globals.events[e].push(t):r.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var r=this.w;if(r.globals.events.hasOwnProperty(e)){var i=r.globals.events[e].indexOf(t);i!==-1&&r.globals.events[e].splice(i,1)}}},{key:"fireEvent",value:function(e,t){var r=this.w;if(r.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var i=r.globals.events[e],s=i.length,n=0;n<s;n++)i[n].apply(null,t)}}},{key:"setupEventHandlers",value:function(){var e=this,t=this.w,r=this.ctx,i=t.globals.dom.baseEl.querySelector(t.globals.chartClass);this.ctx.eventList.forEach(function(s){i.addEventListener(s,function(n){var l=Object.assign({},t,{seriesIndex:t.globals.capturedSeriesIndex,dataPointIndex:t.globals.capturedDataPointIndex});n.type==="mousemove"||n.type==="touchmove"?typeof t.config.chart.events.mouseMove=="function"&&t.config.chart.events.mouseMove(n,r,l):n.type==="mouseleave"||n.type==="touchleave"?typeof t.config.chart.events.mouseLeave=="function"&&t.config.chart.events.mouseLeave(n,r,l):(n.type==="mouseup"&&n.which===1||n.type==="touchend")&&(typeof t.config.chart.events.click=="function"&&t.config.chart.events.click(n,r,l),r.ctx.events.fireEvent("click",[n,r,l]))},{capture:!1,passive:!0})}),this.ctx.eventList.forEach(function(s){t.globals.dom.baseEl.addEventListener(s,e.documentEvent,{passive:!0})}),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w,r=e.target.className;if(e.type==="click"){var i=t.globals.dom.baseEl.querySelector(".apexcharts-menu");i&&i.classList.contains("apexcharts-menu-open")&&r!=="apexcharts-menu-icon"&&i.classList.remove("apexcharts-menu-open")}t.globals.clientX=e.type==="touchmove"?e.touches[0].clientX:e.clientX,t.globals.clientY=e.type==="touchmove"?e.touches[0].clientY:e.clientY}}]),E}(),ga=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"setCurrentLocaleValues",value:function(e){var t=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var r=t.filter(function(s){return s.name===e})[0];if(!r)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var i=O.extend(Ce,r);this.w.globals.locale=i.options}}]),E}(),Pr=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"drawAxis",value:function(e,t){var r,i,s=this,n=this.w.globals,l=this.w.config,h=new nt(this.ctx,t),p=new ar(this.ctx,t);n.axisCharts&&e!=="radar"&&(n.isBarHorizontal?(i=p.drawYaxisInversed(0),r=h.drawXaxisInversed(0),n.dom.elGraphical.add(r),n.dom.elGraphical.add(i)):(r=h.drawXaxis(),n.dom.elGraphical.add(r),l.yaxis.map(function(g,x){if(n.ignoreYAxisIndexes.indexOf(x)===-1&&(i=p.drawYaxis(x),n.dom.Paper.add(i),s.w.config.grid.position==="back")){var b=n.dom.Paper.children()[1];b.remove(),n.dom.Paper.add(b)}})))}}]),E}(),jt=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new U(this.ctx),r=new le(this.ctx),i=e.config.xaxis.crosshairs.fill.gradient,s=e.config.xaxis.crosshairs.dropShadow,n=e.config.xaxis.crosshairs.fill.type,l=i.colorFrom,h=i.colorTo,p=i.opacityFrom,g=i.opacityTo,x=i.stops,b=s.enabled,y=s.left,C=s.top,T=s.blur,M=s.color,R=s.opacity,_=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){n==="gradient"&&(_=t.drawGradient("vertical",l,h,p,g,null,x,null));var d=t.drawRect();e.config.xaxis.crosshairs.width===1&&(d=t.drawLine());var v=e.globals.gridHeight;(!O.isNumber(v)||v<0)&&(v=0);var z=e.config.xaxis.crosshairs.width;(!O.isNumber(z)||z<0)&&(z=0),d.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:v,width:z,height:v,fill:_,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),b&&(d=r.dropShadow(d,{left:y,top:C,blur:T,color:M,opacity:R})),e.globals.dom.elGraphical.add(d)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new U(this.ctx),r=e.config.yaxis[0].crosshairs,i=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var s=t.drawLine(-i,0,e.globals.gridWidth+i,0,r.stroke.color,r.stroke.dashArray,r.stroke.width);s.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(s)}var n=t.drawLine(-i,0,e.globals.gridWidth+i,0,r.stroke.color,0,0);n.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(n)}}]),E}(),xr=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"checkResponsiveConfig",value:function(e){var t=this,r=this.w,i=r.config;if(i.responsive.length!==0){var s=i.responsive.slice();s.sort(function(p,g){return p.breakpoint>g.breakpoint?1:g.breakpoint>p.breakpoint?-1:0}).reverse();var n=new At({}),l=function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=s[0].breakpoint,x=window.innerWidth>0?window.innerWidth:screen.width;if(x>g){var b=re.extendArrayProps(n,r.globals.initialConfig,r);p=O.extend(b,p),p=O.extend(r.config,p),t.overrideResponsiveOptions(p)}else for(var y=0;y<s.length;y++)x<s[y].breakpoint&&(p=re.extendArrayProps(n,s[y].options,r),p=O.extend(r.config,p),t.overrideResponsiveOptions(p))};if(e){var h=re.extendArrayProps(n,e,r);h=O.extend(r.config,h),l(h=O.extend(h,e))}else l({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new At(e).init({responsiveOverride:!0});this.w.config=t}}]),E}(),iu=function(){function E(e){m(this,E),this.ctx=e,this.colors=[],this.w=e.w;var t=this.w;this.isColorFn=!1,this.isHeatmapDistributed=t.config.chart.type==="treemap"&&t.config.plotOptions.treemap.distributed||t.config.chart.type==="heatmap"&&t.config.plotOptions.heatmap.distributed,this.isBarDistributed=t.config.plotOptions.bar.distributed&&(t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")}return w(E,[{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var e,t=this,r=this.w,i=new O;if(r.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(r.config.theme.mode)),r.config.colors===void 0||((e=r.config.colors)===null||e===void 0?void 0:e.length)===0?r.globals.colors=this.predefined():(r.globals.colors=r.config.colors,Array.isArray(r.config.colors)&&r.config.colors.length>0&&typeof r.config.colors[0]=="function"&&(r.globals.colors=r.config.series.map(function(C,T){var M=r.config.colors[T];return M||(M=r.config.colors[0]),typeof M=="function"?(t.isColorFn=!0,M({value:r.globals.axisCharts?r.globals.series[T][0]?r.globals.series[T][0]:0:r.globals.series[T],seriesIndex:T,dataPointIndex:T,w:r})):M}))),r.globals.seriesColors.map(function(C,T){C&&(r.globals.colors[T]=C)}),r.config.theme.monochrome.enabled){var s=[],n=r.globals.series.length;(this.isBarDistributed||this.isHeatmapDistributed)&&(n=r.globals.series[0].length*r.globals.series.length);for(var l=r.config.theme.monochrome.color,h=1/(n/r.config.theme.monochrome.shadeIntensity),p=r.config.theme.monochrome.shadeTo,g=0,x=0;x<n;x++){var b=void 0;p==="dark"?(b=i.shadeColor(-1*g,l),g+=h):(b=i.shadeColor(g,l),g+=h),s.push(b)}r.globals.colors=s.slice()}var y=r.globals.colors.slice();this.pushExtraColors(r.globals.colors),["fill","stroke"].forEach(function(C){r.config[C].colors===void 0?r.globals[C].colors=t.isColorFn?r.config.colors:y:r.globals[C].colors=r.config[C].colors.slice(),t.pushExtraColors(r.globals[C].colors)}),r.config.dataLabels.style.colors===void 0?r.globals.dataLabels.style.colors=y:r.globals.dataLabels.style.colors=r.config.dataLabels.style.colors.slice(),this.pushExtraColors(r.globals.dataLabels.style.colors,50),r.config.plotOptions.radar.polygons.fill.colors===void 0?r.globals.radarPolygons.fill.colors=[r.config.theme.mode==="dark"?"#424242":"none"]:r.globals.radarPolygons.fill.colors=r.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(r.globals.radarPolygons.fill.colors,20),r.config.markers.colors===void 0?r.globals.markers.colors=y:r.globals.markers.colors=r.config.markers.colors.slice(),this.pushExtraColors(r.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.w,s=t||i.globals.series.length;if(r===null&&(r=this.isBarDistributed||this.isHeatmapDistributed||i.config.chart.type==="heatmap"&&i.config.plotOptions.heatmap.colorScale.inverse),r&&i.globals.series.length&&(s=i.globals.series[i.globals.maxValsInArrayIndex].length*i.globals.series.length),e.length<s)for(var n=s-e.length,l=0;l<n;l++)e.push(e[l])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode||"light",r=e.theme.palette?e.theme.palette:t==="dark"?"palette4":"palette1",i=e.chart.foreColor?e.chart.foreColor:t==="dark"?"#f6f7f8":"#373d3f";return e.tooltip.theme=t,e.chart.foreColor=i,e.theme.palette=r,e}},{key:"predefined",value:function(){switch(this.w.config.theme.palette){case"palette1":default:this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"];break;case"palette2":this.colors=["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#FF9800"];break;case"palette3":this.colors=["#33b2df","#546E7A","#d4526e","#13d8aa","#A5978B"];break;case"palette4":this.colors=["#4ecdc4","#c7f464","#81D4FA","#fd6a6a","#546E7A"];break;case"palette5":this.colors=["#2b908f","#f9a3a4","#90ee7e","#fa4443","#69d2e7"];break;case"palette6":this.colors=["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"];break;case"palette7":this.colors=["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"];break;case"palette8":this.colors=["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"];break;case"palette9":this.colors=["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"];break;case"palette10":this.colors=["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"]}return this.colors}}]),E}(),su=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,r=e==="title"?t.config.title:t.config.subtitle,i=t.globals.svgWidth/2,s=r.offsetY,n="middle";if(r.align==="left"?(i=10,n="start"):r.align==="right"&&(i=t.globals.svgWidth-10,n="end"),i+=r.offsetX,s=s+parseInt(r.style.fontSize,10)+r.margin/2,r.text!==void 0){var l=new U(this.ctx).drawText({x:i,y:s,text:r.text,textAnchor:n,fontSize:r.style.fontSize,fontFamily:r.style.fontFamily,fontWeight:r.style.fontWeight,foreColor:r.style.color,opacity:1});l.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(l)}}}]),E}(),nu=function(){function E(e){m(this,E),this.w=e.w,this.dCtx=e}return w(E,[{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,r=0,i=0,s=e==="title"?t.config.title.floating:t.config.subtitle.floating,n=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(n!==null&&!s){var l=n.getBoundingClientRect();r=l.width,i=t.globals.axisCharts?l.height+5:l.height}return{width:r,height:i}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.elLegendWrap;e.config.legend.height||e.config.legend.position!=="top"&&e.config.legend.position!=="bottom"||(t.style.maxHeight=e.globals.svgHeight/2+"px");var r=Object.assign({},O.getBoundingClientRect(t));return t!==null&&!e.config.legend.floating&&e.config.legend.show?this.dCtx.lgRect={x:r.x,y:r.y,height:r.height,width:r.height===0?0:r.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},e.config.legend.position!=="left"&&e.config.legend.position!=="right"||1.5*this.dCtx.lgRect.width>e.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(e,t){var r=e;if(this.w.globals.isMultiLineX){var i=t.map(function(n,l){return Array.isArray(n)?n.length:1}),s=Math.max.apply(Math,J(i));r=t[i.indexOf(s)]}return r}}]),E}(),ou=function(){function E(e){m(this,E),this.w=e.w,this.dCtx=e}return w(E,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,r=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&r.length===0&&(r=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var i=this.getxAxisTimeScaleLabelsCoords();e={width:i.width,height:i.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends=t.config.legend.position!=="left"&&t.config.legend.position!=="right"||t.config.legend.floating?0:this.dCtx.lgRect.width;var s=t.globals.xLabelFormatter,n=O.getLargestStringFromArr(r),l=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,r);t.globals.isBarHorizontal&&(l=n=t.globals.yAxisScale[0].result.reduce(function(C,T){return C.length>T.length?C:T},0));var h=new ze(this.dCtx.ctx),p=n;n=h.xLabelFormat(s,n,p,{i:void 0,dateFormatter:new ne(this.dCtx.ctx).formatDate,w:t}),l=h.xLabelFormat(s,l,p,{i:void 0,dateFormatter:new ne(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&n===void 0||String(n).trim()==="")&&(l=n="1");var g=new U(this.dCtx.ctx),x=g.getTextRects(n,t.config.xaxis.labels.style.fontSize),b=x;if(n!==l&&(b=g.getTextRects(l,t.config.xaxis.labels.style.fontSize)),(e={width:x.width>=b.width?x.width:b.width,height:x.height>=b.height?x.height:b.height}).width*r.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&t.config.xaxis.labels.rotate!==0||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var y=function(C){return g.getTextRects(C,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};x=y(n),n!==l&&(b=y(l)),e.height=(x.height>b.height?x.height:b.height)/1.5,e.width=x.width>b.width?x.width:b.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasXaxisGroups)return{width:0,height:0};var r,i=((e=t.config.xaxis.group.style)===null||e===void 0?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,s=t.globals.groups.map(function(x){return x.title}),n=O.getLargestStringFromArr(s),l=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,s),h=new U(this.dCtx.ctx),p=h.getTextRects(n,i),g=p;return n!==l&&(g=h.getTextRects(l,i)),r={width:p.width>=g.width?p.width:g.width,height:p.height>=g.height?p.height:g.height},t.config.xaxis.labels.show||(r={width:0,height:0}),{width:r.width,height:r.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,r=0;if(e.config.xaxis.title.text!==void 0){var i=new U(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=i.width,r=i.height}return{width:t,height:r}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var r=this.dCtx.timescaleLabels.map(function(s){return s.value}),i=r.reduce(function(s,n){return s===void 0?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):s.length>n.length?s:n},0);return 1.05*(e=new U(this.dCtx.ctx).getTextRects(i,t.config.xaxis.labels.style.fontSize)).width*r.length>t.globals.gridWidth&&t.config.xaxis.labels.rotate!==0&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,r=this.w,i=r.globals,s=r.config,n=s.xaxis.type,l=e.width;i.skipLastTimelinelabel=!1,i.skipFirstTimelinelabel=!1;var h=r.config.yaxis[0].opposite&&r.globals.isBarHorizontal,p=function(g,x){s.yaxis.length>1&&function(b){return i.collapsedSeriesIndices.indexOf(b)!==-1}(x)||function(b){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var y=t.dCtx.timescaleLabels[0],C=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+l/1.75-t.dCtx.yAxisWidthRight,T=y.position-l/1.75+t.dCtx.yAxisWidthLeft,M=r.config.legend.position==="right"&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;C>i.svgWidth-i.translateX-M&&(i.skipLastTimelinelabel=!0),T<-(b.show&&!b.floating||s.chart.type!=="bar"&&s.chart.type!=="candlestick"&&s.chart.type!=="rangeBar"&&s.chart.type!=="boxPlot"?10:l/1.75)&&(i.skipFirstTimelinelabel=!0)}else n==="datetime"?t.dCtx.gridPad.right<l&&!i.rotateXLabels&&(i.skipLastTimelinelabel=!0):n!=="datetime"&&t.dCtx.gridPad.right<l/2-t.dCtx.yAxisWidthRight&&!i.rotateXLabels&&!r.config.xaxis.labels.trim&&(r.config.xaxis.tickPlacement!=="between"||r.globals.isBarHorizontal)&&(t.dCtx.xPadRight=l/2+1)}(g)};s.yaxis.forEach(function(g,x){h?(t.dCtx.gridPad.left<l&&(t.dCtx.xPadLeft=l/2+1),t.dCtx.xPadRight=l/2+1):p(g,x)})}}]),E}(),lu=function(){function E(e){m(this,E),this.w=e.w,this.dCtx=e}return w(E,[{key:"getyAxisLabelsCoords",value:function(){var e=this,t=this.w,r=[],i=10,s=new Fe(this.dCtx.ctx);return t.config.yaxis.map(function(n,l){var h=t.globals.yAxisScale[l],p=0;if(!s.isYAxisHidden(l)&&n.labels.show&&n.labels.minWidth!==void 0&&(p=n.labels.minWidth),!s.isYAxisHidden(l)&&n.labels.show&&h.result.length){var g=t.globals.yLabelFormatters[l],x=h.niceMin===Number.MIN_VALUE?0:h.niceMin,b=String(x).length>String(h.niceMax).length?x:h.niceMax,y=g(b,{seriesIndex:l,dataPointIndex:-1,w:t}),C=y;if(y!==void 0&&y.length!==0||(y=b),t.globals.isBarHorizontal){i=0;var T=t.globals.labels.slice();y=g(y=O.getLargestStringFromArr(T),{seriesIndex:l,dataPointIndex:-1,w:t}),C=e.dCtx.dimHelpers.getLargestStringFromMultiArr(y,T)}var M=new U(e.dCtx.ctx),R="rotate(".concat(n.labels.rotate," 0 0)"),_=M.getTextRects(y,n.labels.style.fontSize,n.labels.style.fontFamily,R,!1),d=_;y!==C&&(d=M.getTextRects(C,n.labels.style.fontSize,n.labels.style.fontFamily,R,!1)),r.push({width:(p>d.width||p>_.width?p:d.width>_.width?d.width:_.width)+i,height:d.height>_.height?d.height:_.height})}else r.push({width:0,height:0})}),r}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,r=[];return t.config.yaxis.map(function(i,s){if(i.show&&i.title.text!==void 0){var n=new U(e.dCtx.ctx),l="rotate(".concat(i.title.rotate," 0 0)"),h=n.getTextRects(i.title.text,i.title.style.fontSize,i.title.style.fontFamily,l,!1);r.push({width:h.width,height:h.height})}else r.push({width:0,height:0})}),r}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,r=0,i=0,s=e.globals.yAxisScale.length>1?10:0,n=new Fe(this.dCtx.ctx),l=function(h,p){var g=e.config.yaxis[p].floating,x=0;h.width>0&&!g?(x=h.width+s,function(b){return e.globals.ignoreYAxisIndexes.indexOf(b)>-1}(p)&&(x=x-h.width-s)):x=g||n.isYAxisHidden(p)?0:5,e.config.yaxis[p].opposite?i+=x:r+=x,t+=x};return e.globals.yLabelsCoords.map(function(h,p){l(h,p)}),e.globals.yTitleCoords.map(function(h,p){l(h,p)}),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=r,this.dCtx.yAxisWidthRight=i,t}}]),E}(),cu=function(){function E(e){m(this,E),this.w=e.w,this.dCtx=e}return w(E,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w;if(t.globals.noData||t.globals.allSeriesCollapsed)return 0;var r=function(g){return g==="bar"||g==="rangeBar"||g==="candlestick"||g==="boxPlot"},i=t.config.chart.type,s=0,n=r(i)?t.config.series.length:1;if(t.globals.comboBarCount>0&&(n=t.globals.comboBarCount),t.globals.collapsedSeries.forEach(function(g){r(g.type)&&(n-=1)}),t.config.chart.stacked&&(n=1),(r(i)||t.globals.comboBarCount>0)&&t.globals.isXNumeric&&!t.globals.isBarHorizontal&&n>0){var l,h,p=Math.abs(t.globals.initialMaxX-t.globals.initialMinX);p<=3&&(p=t.globals.dataPoints),l=p/e,t.globals.minXDiff&&t.globals.minXDiff/l>0&&(h=t.globals.minXDiff/l),h>e/2&&(h/=2),(s=h/n*parseInt(t.config.plotOptions.bar.columnWidth,10)/100)<1&&(s=1),s=s/(n>1?1:1.5)+5,t.globals.barPadForNumericAxis=s}return s}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,r=t.globals,i=this.dCtx.isSparkline||!t.globals.axisCharts?0:10;["title","subtitle"].forEach(function(l){t.config[l].text!==void 0?i+=t.config[l].margin:i+=e.dCtx.isSparkline||!t.globals.axisCharts?0:5}),!t.config.legend.show||t.config.legend.position!=="bottom"||t.config.legend.floating||t.globals.axisCharts||(i+=10);var s=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),n=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");r.gridHeight=r.gridHeight-s.height-n.height-i,r.translateY=r.translateY+s.height+n.height+i}},{key:"setGridXPosForDualYAxis",value:function(e,t){var r=this.w,i=new Fe(this.dCtx.ctx);r.config.yaxis.map(function(s,n){r.globals.ignoreYAxisIndexes.indexOf(n)!==-1||s.floating||i.isYAxisHidden(n)||(s.opposite&&(r.globals.translateX=r.globals.translateX-(t[n].width+e[n].width)-parseInt(r.config.yaxis[n].labels.style.fontSize,10)/1.2-12),r.globals.translateX<2&&(r.globals.translateX=2))})}}]),E}(),ma=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new nu(this),this.dimYAxis=new lu(this),this.dimXAxis=new ou(this),this.dimGrid=new cu(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return w(E,[{key:"plotCoords",value:function(){var e=this,t=this.w,r=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.isSparkline&&(t.config.markers.discrete.length>0||t.config.markers.size>0)&&Object.entries(this.gridPad).forEach(function(s){var n=Z(s,2),l=n[0],h=n[1];e.gridPad[l]=Math.max(h,e.w.globals.markers.largestSize/1.5)}),r.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),r.gridHeight=r.gridHeight-this.gridPad.top-this.gridPad.bottom,r.gridWidth=r.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var i=this.dimGrid.gridPadForColumnsInNumericAxis(r.gridWidth);r.gridWidth=r.gridWidth-2*i,r.translateX=r.translateX+this.gridPad.left+this.xPadLeft+(i>0?i+4:0),r.translateY=r.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,r=t.globals,i=this.dimYAxis.getyAxisLabelsCoords(),s=this.dimYAxis.getyAxisTitleCoords();t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map(function(y,C){t.globals.yLabelsCoords.push({width:i[C].width,index:C}),t.globals.yTitleCoords.push({width:s[C].width,index:C})}),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var n=this.dimXAxis.getxAxisLabelsCoords(),l=this.dimXAxis.getxAxisGroupLabelsCoords(),h=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(n,h,l),r.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,r.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(r.rotateXLabels=!1,r.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),r.translateXAxisY=r.translateXAxisY+t.config.xaxis.labels.offsetY,r.translateXAxisX=r.translateXAxisX+t.config.xaxis.labels.offsetX;var p=this.yAxisWidth,g=this.xAxisHeight;r.xAxisLabelsHeight=this.xAxisHeight-h.height,r.xAxisGroupLabelsHeight=r.xAxisLabelsHeight-n.height,r.xAxisLabelsWidth=this.xAxisWidth,r.xAxisHeight=this.xAxisHeight;var x=10;(t.config.chart.type==="radar"||this.isSparkline)&&(p=0,g=r.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||t.config.chart.type==="treemap")&&(p=0,g=0,x=0),this.isSparkline||this.dimXAxis.additionalPaddingXLabels(n);var b=function(){r.translateX=p,r.gridHeight=r.svgHeight-e.lgRect.height-g-(e.isSparkline||t.config.chart.type==="treemap"?0:t.globals.rotateXLabels?10:15),r.gridWidth=r.svgWidth-p};switch(t.config.xaxis.position==="top"&&(x=r.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":r.translateY=x,b();break;case"top":r.translateY=this.lgRect.height+x,b();break;case"left":r.translateY=x,r.translateX=this.lgRect.width+p,r.gridHeight=r.svgHeight-g-12,r.gridWidth=r.svgWidth-this.lgRect.width-p;break;case"right":r.translateY=x,r.translateX=p,r.gridHeight=r.svgHeight-g-12,r.gridWidth=r.svgWidth-this.lgRect.width-p-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(s,i),new ar(this.ctx).setYAxisXPosition(i,s)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,r=e.config,i=0;e.config.legend.show&&!e.config.legend.floating&&(i=20);var s=r.chart.type==="pie"||r.chart.type==="polarArea"||r.chart.type==="donut"?"pie":"radialBar",n=r.plotOptions[s].offsetY,l=r.plotOptions[s].offsetX;if(!r.legend.show||r.legend.floating)return t.gridHeight=t.svgHeight-r.grid.padding.left+r.grid.padding.right,t.gridWidth=t.gridHeight,t.translateY=n,void(t.translateX=l+(t.svgWidth-t.gridWidth)/2);switch(r.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=n-10,t.translateX=l+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+n+10,t.translateX=l+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-i,t.gridHeight=r.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=l+this.lgRect.width+i;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-i-5,t.gridHeight=r.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=l+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,r){var i=this.w,s=i.globals.hasXaxisGroups?2:1,n=r.height+e.height+t.height,l=i.globals.isMultiLineX?1.2:i.globals.LINE_HEIGHT_RATIO,h=i.globals.rotateXLabels?22:10,p=i.globals.rotateXLabels&&i.config.legend.position==="bottom"?10:0;this.xAxisHeight=n*l+s*h+p,this.xAxisWidth=e.width,this.xAxisHeight-t.height>i.config.xaxis.labels.maxHeight&&(this.xAxisHeight=i.config.xaxis.labels.maxHeight),i.config.xaxis.labels.minHeight&&this.xAxisHeight<i.config.xaxis.labels.minHeight&&(this.xAxisHeight=i.config.xaxis.labels.minHeight),i.config.xaxis.floating&&(this.xAxisHeight=0);var g=0,x=0;i.config.yaxis.forEach(function(b){g+=b.labels.minWidth,x+=b.labels.maxWidth}),this.yAxisWidth<g&&(this.yAxisWidth=g),this.yAxisWidth>x&&(this.yAxisWidth=x)}}]),E}(),hu=function(){function E(e){m(this,E),this.w=e.w,this.lgCtx=e}return w(E,[{key:"getLegendStyles",value:function(){var e=document.createElement("style");e.setAttribute("type","text/css");var t=document.createTextNode(`
|
|
45
|
-
|
|
46
|
-
.apexcharts-legend {
|
|
47
|
-
display: flex;
|
|
48
|
-
overflow: auto;
|
|
49
|
-
padding: 0 10px;
|
|
50
|
-
}
|
|
51
|
-
.apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {
|
|
52
|
-
flex-wrap: wrap
|
|
53
|
-
}
|
|
54
|
-
.apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
|
55
|
-
flex-direction: column;
|
|
56
|
-
bottom: 0;
|
|
57
|
-
}
|
|
58
|
-
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
|
59
|
-
justify-content: flex-start;
|
|
60
|
-
}
|
|
61
|
-
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {
|
|
62
|
-
justify-content: center;
|
|
63
|
-
}
|
|
64
|
-
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {
|
|
65
|
-
justify-content: flex-end;
|
|
66
|
-
}
|
|
67
|
-
.apexcharts-legend-series {
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
line-height: normal;
|
|
70
|
-
}
|
|
71
|
-
.apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
}
|
|
75
|
-
.apexcharts-legend-text {
|
|
76
|
-
position: relative;
|
|
77
|
-
font-size: 14px;
|
|
78
|
-
}
|
|
79
|
-
.apexcharts-legend-text *, .apexcharts-legend-marker * {
|
|
80
|
-
pointer-events: none;
|
|
81
|
-
}
|
|
82
|
-
.apexcharts-legend-marker {
|
|
83
|
-
position: relative;
|
|
84
|
-
display: inline-block;
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
margin-right: 3px;
|
|
87
|
-
border-style: solid;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{
|
|
91
|
-
display: inline-block;
|
|
92
|
-
}
|
|
93
|
-
.apexcharts-legend-series.apexcharts-no-click {
|
|
94
|
-
cursor: auto;
|
|
95
|
-
}
|
|
96
|
-
.apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {
|
|
97
|
-
display: none !important;
|
|
98
|
-
}
|
|
99
|
-
.apexcharts-inactive-legend {
|
|
100
|
-
opacity: 0.45;
|
|
101
|
-
}`);return e.appendChild(t),e}},{key:"getLegendBBox",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){this.w.globals.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(e,t){var r=this,i=this.w;if(i.globals.axisCharts||i.config.chart.type==="radialBar"){i.globals.resized=!0;var s=null,n=null;i.globals.risingSeries=[],i.globals.axisCharts?(s=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),n=parseInt(s.getAttribute("data:realIndex"),10)):(s=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),n=parseInt(s.getAttribute("rel"),10)-1),t?[{cs:i.globals.collapsedSeries,csi:i.globals.collapsedSeriesIndices},{cs:i.globals.ancillaryCollapsedSeries,csi:i.globals.ancillaryCollapsedSeriesIndices}].forEach(function(g){r.riseCollapsedSeries(g.cs,g.csi,n)}):this.hideSeries({seriesEl:s,realIndex:n})}else{var l=i.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),h=i.config.chart.type;if(h==="pie"||h==="polarArea"||h==="donut"){var p=i.config.plotOptions.pie.donut.labels;new U(this.lgCtx.ctx).pathMouseDown(l.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(l.members[0].node,p)}l.fire("click")}}},{key:"hideSeries",value:function(e){var t=e.seriesEl,r=e.realIndex,i=this.w,s=O.clone(i.config.series);if(i.globals.axisCharts){var n=!1;if(i.config.yaxis[r]&&i.config.yaxis[r].show&&i.config.yaxis[r].showAlways&&(n=!0,i.globals.ancillaryCollapsedSeriesIndices.indexOf(r)<0&&(i.globals.ancillaryCollapsedSeries.push({index:r,data:s[r].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),i.globals.ancillaryCollapsedSeriesIndices.push(r))),!n){i.globals.collapsedSeries.push({index:r,data:s[r].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),i.globals.collapsedSeriesIndices.push(r);var l=i.globals.risingSeries.indexOf(r);i.globals.risingSeries.splice(l,1)}}else i.globals.collapsedSeries.push({index:r,data:s[r]}),i.globals.collapsedSeriesIndices.push(r);for(var h=t.childNodes,p=0;p<h.length;p++)h[p].classList.contains("apexcharts-series-markers-wrap")&&(h[p].classList.contains("apexcharts-hide")?h[p].classList.remove("apexcharts-hide"):h[p].classList.add("apexcharts-hide"));i.globals.allSeriesCollapsed=i.globals.collapsedSeries.length===i.config.series.length,s=this._getSeriesBasedOnCollapsedState(s),this.lgCtx.ctx.updateHelpers._updateSeries(s,i.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(e,t,r){var i=this.w,s=O.clone(i.config.series);if(e.length>0){for(var n=0;n<e.length;n++)e[n].index===r&&(i.globals.axisCharts?(s[r].data=e[n].data.slice(),e.splice(n,1),t.splice(n,1),i.globals.risingSeries.push(r)):(s[r]=e[n].data,e.splice(n,1),t.splice(n,1),i.globals.risingSeries.push(r)));s=this._getSeriesBasedOnCollapsedState(s),this.lgCtx.ctx.updateHelpers._updateSeries(s,i.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(e){var t=this.w;return t.globals.axisCharts?e.forEach(function(r,i){t.globals.collapsedSeriesIndices.indexOf(i)>-1&&(e[i].data=[])}):e.forEach(function(r,i){t.globals.collapsedSeriesIndices.indexOf(i)>-1&&(e[i]=0)}),e}}]),E}(),Qn=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed=this.w.config.chart.type==="bar"&&this.w.config.plotOptions.bar.distributed&&this.w.config.series.length===1,this.legendHelpers=new hu(this)}return w(E,[{key:"init",value:function(){var e=this.w,t=e.globals,r=e.config;if((r.legend.showForSingleSeries&&t.series.length===1||this.isBarsDistributed||t.series.length>1||!t.axisCharts)&&r.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),O.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),r.legend.position==="bottom"||r.legend.position==="top"?this.legendAlignHorizontal():r.legend.position!=="right"&&r.legend.position!=="left"||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var e=this,t=this.w,r=t.config.legend.fontFamily,i=t.globals.seriesNames,s=t.globals.colors.slice();if(t.config.chart.type==="heatmap"){var n=t.config.plotOptions.heatmap.colorScale.ranges;i=n.map(function(te){return te.name?te.name:te.from+" - "+te.to}),s=n.map(function(te){return te.color})}else this.isBarsDistributed&&(i=t.globals.labels.slice());t.config.legend.customLegendItems.length&&(i=t.config.legend.customLegendItems);for(var l=t.globals.legendFormatter,h=t.config.legend.inverseOrder,p=h?i.length-1:0;h?p>=0:p<=i.length-1;h?p--:p++){var g,x=l(i[p],{seriesIndex:p,w:t}),b=!1,y=!1;if(t.globals.collapsedSeries.length>0)for(var C=0;C<t.globals.collapsedSeries.length;C++)t.globals.collapsedSeries[C].index===p&&(b=!0);if(t.globals.ancillaryCollapsedSeriesIndices.length>0)for(var T=0;T<t.globals.ancillaryCollapsedSeriesIndices.length;T++)t.globals.ancillaryCollapsedSeriesIndices[T]===p&&(y=!0);var M=document.createElement("span");M.classList.add("apexcharts-legend-marker");var R=t.config.legend.markers.offsetX,_=t.config.legend.markers.offsetY,d=t.config.legend.markers.height,v=t.config.legend.markers.width,z=t.config.legend.markers.strokeWidth,P=t.config.legend.markers.strokeColor,B=t.config.legend.markers.radius,N=M.style;N.background=s[p],N.color=s[p],N.setProperty("background",s[p],"important"),t.config.legend.markers.fillColors&&t.config.legend.markers.fillColors[p]&&(N.background=t.config.legend.markers.fillColors[p]),t.globals.seriesColors[p]!==void 0&&(N.background=t.globals.seriesColors[p],N.color=t.globals.seriesColors[p]),N.height=Array.isArray(d)?parseFloat(d[p])+"px":parseFloat(d)+"px",N.width=Array.isArray(v)?parseFloat(v[p])+"px":parseFloat(v)+"px",N.left=(Array.isArray(R)?parseFloat(R[p]):parseFloat(R))+"px",N.top=(Array.isArray(_)?parseFloat(_[p]):parseFloat(_))+"px",N.borderWidth=Array.isArray(z)?z[p]:z,N.borderColor=Array.isArray(P)?P[p]:P,N.borderRadius=Array.isArray(B)?parseFloat(B[p])+"px":parseFloat(B)+"px",t.config.legend.markers.customHTML&&(Array.isArray(t.config.legend.markers.customHTML)?t.config.legend.markers.customHTML[p]&&(M.innerHTML=t.config.legend.markers.customHTML[p]()):M.innerHTML=t.config.legend.markers.customHTML()),U.setAttrs(M,{rel:p+1,"data:collapsed":b||y}),(b||y)&&M.classList.add("apexcharts-inactive-legend");var W=document.createElement("div"),G=document.createElement("span");G.classList.add("apexcharts-legend-text"),G.innerHTML=Array.isArray(x)?x.join(" "):x;var $=t.config.legend.labels.useSeriesColors?t.globals.colors[p]:Array.isArray(t.config.legend.labels.colors)?(g=t.config.legend.labels.colors)===null||g===void 0?void 0:g[p]:t.config.legend.labels.colors;$||($=t.config.chart.foreColor),G.style.color=$,G.style.fontSize=parseFloat(t.config.legend.fontSize)+"px",G.style.fontWeight=t.config.legend.fontWeight,G.style.fontFamily=r||t.config.chart.fontFamily,U.setAttrs(G,{rel:p+1,i:p,"data:default-text":encodeURIComponent(x),"data:collapsed":b||y}),W.appendChild(M),W.appendChild(G);var ie=new re(this.ctx);t.config.legend.showForZeroSeries||ie.getSeriesTotalByIndex(p)===0&&ie.seriesHaveSameValues(p)&&!ie.isSeriesNull(p)&&t.globals.collapsedSeriesIndices.indexOf(p)===-1&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(p)===-1&&W.classList.add("apexcharts-hidden-zero-series"),t.config.legend.showForNullSeries||ie.isSeriesNull(p)&&t.globals.collapsedSeriesIndices.indexOf(p)===-1&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(p)===-1&&W.classList.add("apexcharts-hidden-null-series"),t.globals.dom.elLegendWrap.appendChild(W),t.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(t.config.legend.horizontalAlign)),t.globals.dom.elLegendWrap.classList.add("apx-legend-position-"+t.config.legend.position),W.classList.add("apexcharts-legend-series"),W.style.margin="".concat(t.config.legend.itemMargin.vertical,"px ").concat(t.config.legend.itemMargin.horizontal,"px"),t.globals.dom.elLegendWrap.style.width=t.config.legend.width?t.config.legend.width+"px":"",t.globals.dom.elLegendWrap.style.height=t.config.legend.height?t.config.legend.height+"px":"",U.setAttrs(W,{rel:p+1,seriesName:O.escapeString(i[p]),"data:collapsed":b||y}),(b||y)&&W.classList.add("apexcharts-inactive-legend"),t.config.legend.onItemClick.toggleDataSeries||W.classList.add("apexcharts-no-click")}t.globals.dom.elWrap.addEventListener("click",e.onLegendClick,!0),t.config.legend.onItemHover.highlightDataSeries&&t.config.legend.customLegendItems.length===0&&(t.globals.dom.elWrap.addEventListener("mousemove",e.onLegendHovered,!0),t.globals.dom.elWrap.addEventListener("mouseout",e.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(e,t){var r=this.w,i=r.globals.dom.elLegendWrap,s=i.getBoundingClientRect(),n=0,l=0;if(r.config.legend.position==="bottom")l+=r.globals.svgHeight-s.height/2;else if(r.config.legend.position==="top"){var h=new ma(this.ctx),p=h.dimHelpers.getTitleSubtitleCoords("title").height,g=h.dimHelpers.getTitleSubtitleCoords("subtitle").height;l=l+(p>0?p-10:0)+(g>0?g-10:0)}i.style.position="absolute",n=n+e+r.config.legend.offsetX,l=l+t+r.config.legend.offsetY,i.style.left=n+"px",i.style.top=l+"px",r.config.legend.position==="bottom"?(i.style.top="auto",i.style.bottom=5-r.config.legend.offsetY+"px"):r.config.legend.position==="right"&&(i.style.left="auto",i.style.right=25+r.config.legend.offsetX+"px"),["width","height"].forEach(function(x){i.style[x]&&(i.style[x]=parseInt(r.config.legend[x],10)+"px")})}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=this.legendHelpers.getLegendBBox(),r=new ma(this.ctx),i=r.dimHelpers.getTitleSubtitleCoords("title"),s=r.dimHelpers.getTitleSubtitleCoords("subtitle"),n=0;e.config.legend.position==="bottom"?n=-t.clwh/1.8:e.config.legend.position==="top"&&(n=i.height+s.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,n)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendBBox(),r=0;e.config.legend.position==="left"&&(r=20),e.config.legend.position==="right"&&(r=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(r,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,r=e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if(t.config.chart.type==="heatmap"||this.isBarsDistributed){if(r){var i=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,i,this.w]),new Te(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&r&&new Te(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var r=parseInt(e.target.getAttribute("rel"),10)-1,i=e.target.getAttribute("data:collapsed")==="true",s=this.w.config.chart.events.legendClick;typeof s=="function"&&s(this.ctx,r,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,r,this.w]);var n=this.w.config.legend.markers.onClick;typeof n=="function"&&e.target.classList.contains("apexcharts-legend-marker")&&(n(this.ctx,r,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,r,this.w])),t.config.chart.type!=="treemap"&&t.config.chart.type!=="heatmap"&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(r,i)}}}]),E}(),$n=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w;var t=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=t.globals.minX,this.maxX=t.globals.maxX}return w(E,[{key:"createToolbar",value:function(){var e=this,t=this.w,r=function(){return document.createElement("div")},i=r();if(i.setAttribute("class","apexcharts-toolbar"),i.style.top=t.config.chart.toolbar.offsetY+"px",i.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(i),this.elZoom=r(),this.elZoomIn=r(),this.elZoomOut=r(),this.elPan=r(),this.elSelection=r(),this.elZoomReset=r(),this.elMenuIcon=r(),this.elMenu=r(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var s=0;s<this.t.customIcons.length;s++)this.elCustomIcons.push(r());var n=[],l=function(x,b,y){var C=x.toLowerCase();e.t[C]&&t.config.chart.zoom.enabled&&n.push({el:b,icon:typeof e.t[C]=="string"?e.t[C]:y,title:e.localeValues[x],class:"apexcharts-".concat(C,"-icon")})};l("zoomIn",this.elZoomIn,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
102
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
103
|
-
<path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
|
104
|
-
</svg>
|
|
105
|
-
`),l("zoomOut",this.elZoomOut,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
106
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
107
|
-
<path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
|
108
|
-
</svg>
|
|
109
|
-
`);var h=function(x){e.t[x]&&t.config.chart[x].enabled&&n.push({el:x==="zoom"?e.elZoom:e.elSelection,icon:typeof e.t[x]=="string"?e.t[x]:x==="zoom"?`<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
|
110
|
-
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
|
|
111
|
-
<path d="M0 0h24v24H0V0z" fill="none"/>
|
|
112
|
-
<path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>
|
|
113
|
-
</svg>`:`<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
114
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
115
|
-
<path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>
|
|
116
|
-
</svg>`,title:e.localeValues[x==="zoom"?"selectionZoom":"selection"],class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(x,"-icon")})};h("zoom"),h("selection"),this.t.pan&&t.config.chart.zoom.enabled&&n.push({el:this.elPan,icon:typeof this.t.pan=="string"?this.t.pan:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
|
117
|
-
<defs>
|
|
118
|
-
<path d="M0 0h24v24H0z" id="a"/>
|
|
119
|
-
</defs>
|
|
120
|
-
<clipPath id="b">
|
|
121
|
-
<use overflow="visible" xlink:href="#a"/>
|
|
122
|
-
</clipPath>
|
|
123
|
-
<path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>
|
|
124
|
-
</svg>`,title:this.localeValues.pan,class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),l("reset",this.elZoomReset,`<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
125
|
-
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
|
|
126
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
127
|
-
</svg>`),this.t.download&&n.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var p=0;p<this.elCustomIcons.length;p++)n.push({el:this.elCustomIcons[p],icon:this.t.customIcons[p].icon,title:this.t.customIcons[p].title,index:this.t.customIcons[p].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[p].class});n.forEach(function(x,b){x.index&&O.moveIndexInArray(n,b,x.index)});for(var g=0;g<n.length;g++)U.setAttrs(n[g].el,{class:n[g].class,title:n[g].title}),n[g].el.innerHTML=n[g].icon,i.appendChild(n[g].el);this._createHamburgerMenu(i),t.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):t.globals.panEnabled?this.elPan.classList.add(this.selectedClass):t.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(e){this.elMenuItems=[],e.appendChild(this.elMenu),U.setAttrs(this.elMenu,{class:"apexcharts-menu"});var t=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}];this.w.globals.allSeriesHasEqualX||t.splice(2,1);for(var r=0;r<t.length;r++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[r].innerHTML=t[r].title,U.setAttrs(this.elMenuItems[r],{class:"apexcharts-menu-item ".concat(t[r].name),title:t[r].title}),this.elMenu.appendChild(this.elMenuItems[r])}},{key:"addToolbarEventListeners",value:function(){var e=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach(function(r){r.classList.contains("exportSVG")?r.addEventListener("click",e.handleDownload.bind(e,"svg")):r.classList.contains("exportPNG")?r.addEventListener("click",e.handleDownload.bind(e,"png")):r.classList.contains("exportCSV")&&r.addEventListener("click",e.handleDownload.bind(e,"csv"))});for(var t=0;t<this.t.customIcons.length;t++)this.elCustomIcons[t].addEventListener("click",this.t.customIcons[t].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(e){this.ctx.getSyncedCharts().forEach(function(t){t.ctx.toolbar.toggleOtherControls();var r=e==="selection"?t.ctx.toolbar.elSelection:t.ctx.toolbar.elZoom,i=e==="selection"?"selectionEnabled":"zoomEnabled";t.w.globals[i]=!t.w.globals[i],r.classList.contains(t.ctx.toolbar.selectedClass)?r.classList.remove(t.ctx.toolbar.selectedClass):r.classList.add(t.ctx.toolbar.selectedClass)})}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(e){this.toggleOtherControls(),e==="pan"?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var t=e==="pan"?this.elPan:this.elZoom,r=e==="pan"?this.elZoom:this.elPan;t&&t.classList.add(this.selectedClass),r&&r.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach(function(e){e.ctx.toolbar.toggleOtherControls(),e.w.globals.panEnabled=!e.w.globals.panEnabled,e.ctx.toolbar.elPan.classList.contains(e.ctx.toolbar.selectedClass)?e.ctx.toolbar.elPan.classList.remove(e.ctx.toolbar.selectedClass):e.ctx.toolbar.elPan.classList.add(e.ctx.toolbar.selectedClass)})}},{key:"toggleOtherControls",value:function(){var e=this,t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach(function(r){r&&r.classList.remove(e.selectedClass)})}},{key:"handleZoomIn",value:function(){var e=this.w;e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY);var t=(this.minX+this.maxX)/2,r=(this.minX+t)/2,i=(this.maxX+t)/2,s=this._getNewMinXMaxX(r,i);e.globals.disableZoomIn||this.zoomUpdateOptions(s.minX,s.maxX)}},{key:"handleZoomOut",value:function(){var e=this.w;if(e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY),!(e.config.xaxis.type==="datetime"&&new Date(this.minX).getUTCFullYear()<1e3)){var t=(this.minX+this.maxX)/2,r=this.minX-(t-this.minX),i=this.maxX-(t-this.maxX),s=this._getNewMinXMaxX(r,i);e.globals.disableZoomOut||this.zoomUpdateOptions(s.minX,s.maxX)}}},{key:"_getNewMinXMaxX",value:function(e,t){var r=this.w.config.xaxis.convertedCatToNumeric;return{minX:r?Math.floor(e):e,maxX:r?Math.floor(t):t}}},{key:"zoomUpdateOptions",value:function(e,t){var r=this.w;if(e!==void 0||t!==void 0){if(!(r.config.xaxis.convertedCatToNumeric&&(e<1&&(e=1,t=r.globals.dataPoints),t-e<2))){var i={min:e,max:t},s=this.getBeforeZoomRange(i);s&&(i=s.xaxis);var n={xaxis:i},l=O.clone(r.globals.initialConfig.yaxis);r.config.chart.zoom.autoScaleYaxis&&(l=new bt(this.ctx).autoScaleY(this.ctx,l,{xaxis:i})),r.config.chart.group||(n.yaxis=l),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(n,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(i,l)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(e,t){typeof this.ev.zoomed=="function"&&this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t})}},{key:"getBeforeZoomRange",value:function(e,t){var r=null;return typeof this.ev.beforeZoom=="function"&&(r=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),r}},{key:"toggleMenu",value:function(){var e=this;window.setTimeout(function(){e.elMenu.classList.contains("apexcharts-menu-open")?e.elMenu.classList.remove("apexcharts-menu-open"):e.elMenu.classList.add("apexcharts-menu-open")},0)}},{key:"handleDownload",value:function(e){var t=this.w,r=new st(this.ctx);switch(e){case"svg":r.exportToSVG(this.ctx);break;case"png":r.exportToPng(this.ctx);break;case"csv":r.exportToCSV({series:t.config.series,columnDelimiter:t.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(e){this.ctx.getSyncedCharts().forEach(function(t){var r=t.w;if(r.globals.lastXAxis.min=void 0,r.globals.lastXAxis.max=void 0,t.updateHelpers.revertDefaultAxisMinMax(),typeof r.config.chart.events.beforeResetZoom=="function"){var i=r.config.chart.events.beforeResetZoom(t,r);i&&t.updateHelpers.revertDefaultAxisMinMax(i)}typeof r.config.chart.events.zoomed=="function"&&t.ctx.toolbar.zoomCallback({min:r.config.xaxis.min,max:r.config.xaxis.max}),r.globals.zoomed=!1;var s=t.ctx.series.emptyCollapsedSeries(O.clone(r.globals.initialSeries));t.updateHelpers._updateSeries(s,r.config.chart.animations.dynamicAnimation.enabled)})}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),E}(),uu=function(E){D(t,$n);var e=q(t);function t(r){var i;return m(this,t),(i=e.call(this,r)).ctx=r,i.w=r.w,i.dragged=!1,i.graphics=new U(i.ctx),i.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend"],i.clientX=0,i.clientY=0,i.startX=0,i.endX=0,i.dragX=0,i.startY=0,i.endY=0,i.dragY=0,i.moveDirection="none",i}return w(t,[{key:"init",value:function(r){var i=this,s=r.xyRatios,n=this.w,l=this;this.xyRatios=s,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=n.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),n.globals.dom.elGraphical.add(this.zoomRect),n.globals.dom.elGraphical.add(this.selectionRect),n.config.chart.selection.type==="x"?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:n.globals.gridWidth,maxY:n.globals.gridHeight}).on("dragmove",this.selectionDragging.bind(this,"dragging")):n.config.chart.selection.type==="y"?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:n.globals.gridWidth}).on("dragmove",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=n.globals.dom.baseEl.querySelector("".concat(n.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach(function(h){i.hoverArea.addEventListener(h,l.svgMouseEvents.bind(l,s),{capture:!1,passive:!0})})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(r,i){var s=this.w,n=this,l=this.ctx.toolbar,h=s.globals.zoomEnabled?s.config.chart.zoom.type:s.config.chart.selection.type,p=s.config.chart.toolbar.autoSelected;if(i.shiftKey?(this.shiftWasPressed=!0,l.enableZoomPanFromToolbar(p==="pan"?"zoom":"pan")):this.shiftWasPressed&&(l.enableZoomPanFromToolbar(p),this.shiftWasPressed=!1),i.target){var g,x=i.target.classList;if(i.target.parentNode&&i.target.parentNode!==null&&(g=i.target.parentNode.classList),!(x.contains("apexcharts-selection-rect")||x.contains("apexcharts-legend-marker")||x.contains("apexcharts-legend-text")||g&&g.contains("apexcharts-toolbar"))){if(n.clientX=i.type==="touchmove"||i.type==="touchstart"?i.touches[0].clientX:i.type==="touchend"?i.changedTouches[0].clientX:i.clientX,n.clientY=i.type==="touchmove"||i.type==="touchstart"?i.touches[0].clientY:i.type==="touchend"?i.changedTouches[0].clientY:i.clientY,i.type==="mousedown"&&i.which===1){var b=n.gridRect.getBoundingClientRect();n.startX=n.clientX-b.left,n.startY=n.clientY-b.top,n.dragged=!1,n.w.globals.mousedown=!0}if((i.type==="mousemove"&&i.which===1||i.type==="touchmove")&&(n.dragged=!0,s.globals.panEnabled?(s.globals.selection=null,n.w.globals.mousedown&&n.panDragging({context:n,zoomtype:h,xyRatios:r})):(n.w.globals.mousedown&&s.globals.zoomEnabled||n.w.globals.mousedown&&s.globals.selectionEnabled)&&(n.selection=n.selectionDrawing({context:n,zoomtype:h}))),i.type==="mouseup"||i.type==="touchend"||i.type==="mouseleave"){var y=n.gridRect.getBoundingClientRect();n.w.globals.mousedown&&(n.endX=n.clientX-y.left,n.endY=n.clientY-y.top,n.dragX=Math.abs(n.endX-n.startX),n.dragY=Math.abs(n.endY-n.startY),(s.globals.zoomEnabled||s.globals.selectionEnabled)&&n.selectionDrawn({context:n,zoomtype:h}),s.globals.panEnabled&&s.config.xaxis.convertedCatToNumeric&&n.delayedPanScrolled()),s.globals.zoomEnabled&&n.hideSelectionRect(this.selectionRect),n.dragged=!1,n.w.globals.mousedown=!1}this.makeSelectionRectDraggable()}}}},{key:"makeSelectionRectDraggable",value:function(){var r=this.w;if(this.selectionRect){var i=this.selectionRect.node.getBoundingClientRect();i.width>0&&i.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:r.globals.gridWidth,maxY:r.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var r=this.w,i=this.xyRatios;if(!r.globals.zoomEnabled){if(r.globals.selection!==void 0&&r.globals.selection!==null)this.drawSelectionRect(r.globals.selection);else if(r.config.chart.selection.xaxis.min!==void 0&&r.config.chart.selection.xaxis.max!==void 0){var s=(r.config.chart.selection.xaxis.min-r.globals.minX)/i.xRatio,n={x:s,y:0,width:r.globals.gridWidth-(r.globals.maxX-r.config.chart.selection.xaxis.max)/i.xRatio-s,height:r.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(n),this.makeSelectionRectDraggable(),typeof r.config.chart.events.selection=="function"&&r.config.chart.events.selection(this.ctx,{xaxis:{min:r.config.chart.selection.xaxis.min,max:r.config.chart.selection.xaxis.max},yaxis:{}})}}}},{key:"drawSelectionRect",value:function(r){var i=r.x,s=r.y,n=r.width,l=r.height,h=r.translateX,p=h===void 0?0:h,g=r.translateY,x=g===void 0?0:g,b=this.w,y=this.zoomRect,C=this.selectionRect;if(this.dragged||b.globals.selection!==null){var T={transform:"translate("+p+", "+x+")"};b.globals.zoomEnabled&&this.dragged&&(n<0&&(n=1),y.attr({x:i,y:s,width:n,height:l,fill:b.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":b.config.chart.zoom.zoomedArea.fill.opacity,stroke:b.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":b.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":b.config.chart.zoom.zoomedArea.stroke.opacity}),U.setAttrs(y.node,T)),b.globals.selectionEnabled&&(C.attr({x:i,y:s,width:n>0?n:0,height:l>0?l:0,fill:b.config.chart.selection.fill.color,"fill-opacity":b.config.chart.selection.fill.opacity,stroke:b.config.chart.selection.stroke.color,"stroke-width":b.config.chart.selection.stroke.width,"stroke-dasharray":b.config.chart.selection.stroke.dashArray,"stroke-opacity":b.config.chart.selection.stroke.opacity}),U.setAttrs(C.node,T))}}},{key:"hideSelectionRect",value:function(r){r&&r.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(r){var i=r.context,s=r.zoomtype,n=this.w,l=i,h=this.gridRect.getBoundingClientRect(),p=l.startX-1,g=l.startY,x=!1,b=!1,y=l.clientX-h.left-p,C=l.clientY-h.top-g,T={};return Math.abs(y+p)>n.globals.gridWidth?y=n.globals.gridWidth-p:l.clientX-h.left<0&&(y=p),p>l.clientX-h.left&&(x=!0,y=Math.abs(y)),g>l.clientY-h.top&&(b=!0,C=Math.abs(C)),T=s==="x"?{x:x?p-y:p,y:0,width:y,height:n.globals.gridHeight}:s==="y"?{x:0,y:b?g-C:g,width:n.globals.gridWidth,height:C}:{x:x?p-y:p,y:b?g-C:g,width:y,height:C},l.drawSelectionRect(T),l.selectionDragging("resizing"),T}},{key:"selectionDragging",value:function(r,i){var s=this,n=this.w,l=this.xyRatios,h=this.selectionRect,p=0;r==="resizing"&&(p=30);var g=function(b){return parseFloat(h.node.getAttribute(b))},x={x:g("x"),y:g("y"),width:g("width"),height:g("height")};n.globals.selection=x,typeof n.config.chart.events.selection=="function"&&n.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout(function(){var b=s.gridRect.getBoundingClientRect(),y=h.node.getBoundingClientRect(),C={xaxis:{min:n.globals.xAxisScale.niceMin+(y.left-b.left)*l.xRatio,max:n.globals.xAxisScale.niceMin+(y.right-b.left)*l.xRatio},yaxis:{min:n.globals.yAxisScale[0].niceMin+(b.bottom-y.bottom)*l.yRatio[0],max:n.globals.yAxisScale[0].niceMax-(y.top-b.top)*l.yRatio[0]}};n.config.chart.events.selection(s.ctx,C),n.config.chart.brush.enabled&&n.config.chart.events.brushScrolled!==void 0&&n.config.chart.events.brushScrolled(s.ctx,C)},p))}},{key:"selectionDrawn",value:function(r){var i=r.context,s=r.zoomtype,n=this.w,l=i,h=this.xyRatios,p=this.ctx.toolbar;if(l.startX>l.endX){var g=l.startX;l.startX=l.endX,l.endX=g}if(l.startY>l.endY){var x=l.startY;l.startY=l.endY,l.endY=x}var b=void 0,y=void 0;n.globals.isRangeBar?(b=n.globals.yAxisScale[0].niceMin+l.startX*h.invertedYRatio,y=n.globals.yAxisScale[0].niceMin+l.endX*h.invertedYRatio):(b=n.globals.xAxisScale.niceMin+l.startX*h.xRatio,y=n.globals.xAxisScale.niceMin+l.endX*h.xRatio);var C=[],T=[];if(n.config.yaxis.forEach(function(B,N){C.push(n.globals.yAxisScale[N].niceMax-h.yRatio[N]*l.startY),T.push(n.globals.yAxisScale[N].niceMax-h.yRatio[N]*l.endY)}),l.dragged&&(l.dragX>10||l.dragY>10)&&b!==y){if(n.globals.zoomEnabled){var M=O.clone(n.globals.initialConfig.yaxis),R=O.clone(n.globals.initialConfig.xaxis);if(n.globals.zoomed=!0,n.config.xaxis.convertedCatToNumeric&&(b=Math.floor(b),y=Math.floor(y),b<1&&(b=1,y=n.globals.dataPoints),y-b<2&&(y=b+1)),s!=="xy"&&s!=="x"||(R={min:b,max:y}),s!=="xy"&&s!=="y"||M.forEach(function(B,N){M[N].min=T[N],M[N].max=C[N]}),n.config.chart.zoom.autoScaleYaxis){var _=new bt(l.ctx);M=_.autoScaleY(l.ctx,M,{xaxis:R})}if(p){var d=p.getBeforeZoomRange(R,M);d&&(R=d.xaxis?d.xaxis:R,M=d.yaxis?d.yaxis:M)}var v={xaxis:R};n.config.chart.group||(v.yaxis=M),l.ctx.updateHelpers._updateOptions(v,!1,l.w.config.chart.animations.dynamicAnimation.enabled),typeof n.config.chart.events.zoomed=="function"&&p.zoomCallback(R,M)}else if(n.globals.selectionEnabled){var z,P=null;z={min:b,max:y},s!=="xy"&&s!=="y"||(P=O.clone(n.config.yaxis)).forEach(function(B,N){P[N].min=T[N],P[N].max=C[N]}),n.globals.selection=l.selection,typeof n.config.chart.events.selection=="function"&&n.config.chart.events.selection(l.ctx,{xaxis:z,yaxis:P})}}}},{key:"panDragging",value:function(r){var i=r.context,s=this.w,n=i;if(s.globals.lastClientPosition.x!==void 0){var l=s.globals.lastClientPosition.x-n.clientX,h=s.globals.lastClientPosition.y-n.clientY;Math.abs(l)>Math.abs(h)&&l>0?this.moveDirection="left":Math.abs(l)>Math.abs(h)&&l<0?this.moveDirection="right":Math.abs(h)>Math.abs(l)&&h>0?this.moveDirection="up":Math.abs(h)>Math.abs(l)&&h<0&&(this.moveDirection="down")}s.globals.lastClientPosition={x:n.clientX,y:n.clientY};var p=s.globals.isRangeBar?s.globals.minY:s.globals.minX,g=s.globals.isRangeBar?s.globals.maxY:s.globals.maxX;s.config.xaxis.convertedCatToNumeric||n.panScrolled(p,g)}},{key:"delayedPanScrolled",value:function(){var r=this.w,i=r.globals.minX,s=r.globals.maxX,n=(r.globals.maxX-r.globals.minX)/2;this.moveDirection==="left"?(i=r.globals.minX+n,s=r.globals.maxX+n):this.moveDirection==="right"&&(i=r.globals.minX-n,s=r.globals.maxX-n),i=Math.floor(i),s=Math.floor(s),this.updateScrolledChart({xaxis:{min:i,max:s}},i,s)}},{key:"panScrolled",value:function(r,i){var s=this.w,n=this.xyRatios,l=O.clone(s.globals.initialConfig.yaxis),h=n.xRatio,p=s.globals.minX,g=s.globals.maxX;s.globals.isRangeBar&&(h=n.invertedYRatio,p=s.globals.minY,g=s.globals.maxY),this.moveDirection==="left"?(r=p+s.globals.gridWidth/15*h,i=g+s.globals.gridWidth/15*h):this.moveDirection==="right"&&(r=p-s.globals.gridWidth/15*h,i=g-s.globals.gridWidth/15*h),s.globals.isRangeBar||(r<s.globals.initialMinX||i>s.globals.initialMaxX)&&(r=p,i=g);var x={min:r,max:i};s.config.chart.zoom.autoScaleYaxis&&(l=new bt(this.ctx).autoScaleY(this.ctx,l,{xaxis:x}));var b={xaxis:{min:r,max:i}};s.config.chart.group||(b.yaxis=l),this.updateScrolledChart(b,r,i)}},{key:"updateScrolledChart",value:function(r,i,s){var n=this.w;this.ctx.updateHelpers._updateOptions(r,!1,!1),typeof n.config.chart.events.scrolled=="function"&&n.config.chart.events.scrolled(this.ctx,{xaxis:{min:i,max:s}})}}]),t}(),eo=function(){function E(e){m(this,E),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return w(E,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,r=e.elGrid,i=e.clientX,s=e.clientY,n=this.w,l=r.getBoundingClientRect(),h=l.width,p=l.height,g=h/(n.globals.dataPoints-1),x=p/n.globals.dataPoints,b=this.hasBars();!n.globals.comboCharts&&!b||n.config.xaxis.convertedCatToNumeric||(g=h/n.globals.dataPoints);var y=i-l.left-n.globals.barPadForNumericAxis,C=s-l.top;y<0||C<0||y>h||C>p?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):n.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):n.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var T=Math.round(y/g),M=Math.floor(C/x);b&&!n.config.xaxis.convertedCatToNumeric&&(T=Math.ceil(y/g),T-=1);var R=null,_=null,d=[],v=[];if(n.globals.seriesXvalues.forEach(function(N){d.push([N[0]+1e-6].concat(N))}),n.globals.seriesYvalues.forEach(function(N){v.push([N[0]+1e-6].concat(N))}),d=d.map(function(N){return N.filter(function(W){return O.isNumber(W)})}),v=v.map(function(N){return N.filter(function(W){return O.isNumber(W)})}),n.globals.isXNumeric){var z=this.ttCtx.getElGrid().getBoundingClientRect(),P=y*(z.width/h),B=C*(z.height/p);R=(_=this.closestInMultiArray(P,B,d,v)).index,T=_.j,R!==null&&(d=n.globals.seriesXvalues[R],T=(_=this.closestInArray(P,d)).index)}return n.globals.capturedSeriesIndex=R===null?-1:R,(!T||T<1)&&(T=0),n.globals.isBarHorizontal?n.globals.capturedDataPointIndex=M:n.globals.capturedDataPointIndex=T,{capturedSeries:R,j:n.globals.isBarHorizontal?M:T,hoverX:y,hoverY:C}}},{key:"closestInMultiArray",value:function(e,t,r,i){var s=this.w,n=0,l=null,h=-1;s.globals.series.length>1?n=this.getFirstActiveXArray(r):l=0;var p=r[n][0],g=Math.abs(e-p);if(r.forEach(function(y){y.forEach(function(C,T){var M=Math.abs(e-C);M<g&&(g=M,h=T)})}),h!==-1){var x=i[n][h],b=Math.abs(t-x);l=n,i.forEach(function(y,C){var T=Math.abs(t-y[h]);T<b&&(b=T,l=C)})}return{index:l,j:h}}},{key:"getFirstActiveXArray",value:function(e){for(var t=this.w,r=0,i=e.map(function(n,l){return n.length>0?l:-1}),s=0;s<i.length;s++)if(i[s]!==-1&&t.globals.collapsedSeriesIndices.indexOf(s)===-1&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(s)===-1){r=i[s];break}return r}},{key:"closestInArray",value:function(e,t){for(var r=t[0],i=null,s=Math.abs(e-r),n=0;n<t.length;n++){var l=Math.abs(e-t[n]);l<s&&(s=l,i=n)}return{index:i}}},{key:"isXoverlap",value:function(e){var t=[],r=this.w.globals.seriesX.filter(function(s){return s[0]!==void 0});if(r.length>0)for(var i=0;i<r.length-1;i++)r[i][e]!==void 0&&r[i+1][e]!==void 0&&r[i][e]!==r[i+1][e]&&t.push("unEqual");return t.length===0}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,r=0;r<t.length-1;r++)if(t[r].data.length!==t[r+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return J(e).reduce(function(t,r){return t+r.getBBox().height},0)}},{key:"getElMarkers",value:function(e){return typeof e=="number"?this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-series-markers-wrap > *")):this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap > *")}},{key:"getAllMarkers",value:function(){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");(e=J(e)).sort(function(r,i){var s=Number(r.getAttribute("data:realIndex")),n=Number(i.getAttribute("data:realIndex"));return n<s?1:n>s?-1:0});var t=[];return e.forEach(function(r){t.push(r.querySelector(".apexcharts-marker"))}),t}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,r=t.config.markers.hover.size;return r===void 0&&(r=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),r}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,r=this.ttCtx;r.allTooltipSeriesGroups.length===0&&(r.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var i=r.allTooltipSeriesGroups,s=0;s<i.length;s++)e==="enable"?(i[s].classList.add("apexcharts-active"),i[s].style.display=t.config.tooltip.items.display):(i[s].classList.remove("apexcharts-active"),i[s].style.display="none")}}]),E}(),du=function(){function E(e){m(this,E),this.w=e.w,this.ctx=e.ctx,this.ttCtx=e,this.tooltipUtil=new eo(e)}return w(E,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,r=t===void 0||t,i=e.ttItems,s=e.i,n=s===void 0?0:s,l=e.j,h=l===void 0?null:l,p=e.y1,g=e.y2,x=e.e,b=this.w;b.config.tooltip.custom!==void 0?this.handleCustomTooltip({i:n,j:h,y1:p,y2:g,w:b}):this.toggleActiveInactiveSeries(r);var y=this.getValuesToPrint({i:n,j:h});this.printLabels({i:n,j:h,values:y,ttItems:i,shared:r,e:x});var C=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=C.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=C.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var t,r=this,i=e.i,s=e.j,n=e.values,l=e.ttItems,h=e.shared,p=e.e,g=this.w,x=[],b=function(z){return g.globals.seriesGoals[z]&&g.globals.seriesGoals[z][s]&&Array.isArray(g.globals.seriesGoals[z][s])},y=n.xVal,C=n.zVal,T=n.xAxisTTVal,M="",R=g.globals.colors[i];s!==null&&g.config.plotOptions.bar.distributed&&(R=g.globals.colors[s]);for(var _=function(z,P){var B=r.getFormatters(i);M=r.getSeriesName({fn:B.yLbTitleFormatter,index:i,seriesIndex:i,j:s}),g.config.chart.type==="treemap"&&(M=B.yLbTitleFormatter(String(g.config.series[i].data[s].x),{series:g.globals.series,seriesIndex:i,dataPointIndex:s,w:g}));var N=g.config.tooltip.inverseOrder?P:z;if(g.globals.axisCharts){var W=function(ie){var te,ce,me,Me;return g.globals.isRangeData?B.yLbFormatter((te=g.globals.seriesRangeStart)===null||te===void 0||(ce=te[ie])===null||ce===void 0?void 0:ce[s],{series:g.globals.seriesRangeStart,seriesIndex:ie,dataPointIndex:s,w:g})+" - "+B.yLbFormatter((me=g.globals.seriesRangeEnd)===null||me===void 0||(Me=me[ie])===null||Me===void 0?void 0:Me[s],{series:g.globals.seriesRangeEnd,seriesIndex:ie,dataPointIndex:s,w:g}):B.yLbFormatter(g.globals.series[ie][s],{series:g.globals.series,seriesIndex:ie,dataPointIndex:s,w:g})};if(h)B=r.getFormatters(N),M=r.getSeriesName({fn:B.yLbTitleFormatter,index:N,seriesIndex:i,j:s}),R=g.globals.colors[N],t=W(N),b(N)&&(x=g.globals.seriesGoals[N][s].map(function(ie){return{attrs:ie,val:B.yLbFormatter(ie.value,{seriesIndex:N,dataPointIndex:s,w:g})}}));else{var G,$=p==null||(G=p.target)===null||G===void 0?void 0:G.getAttribute("fill");$&&(R=$.indexOf("url")!==-1?document.querySelector($.substr(4).slice(0,-1)).childNodes[0].getAttribute("stroke"):$),t=W(i),b(i)&&Array.isArray(g.globals.seriesGoals[i][s])&&(x=g.globals.seriesGoals[i][s].map(function(ie){return{attrs:ie,val:B.yLbFormatter(ie.value,{seriesIndex:i,dataPointIndex:s,w:g})}}))}}s===null&&(t=B.yLbFormatter(g.globals.series[i],u(u({},g),{},{seriesIndex:i,dataPointIndex:i}))),r.DOMHandling({i,t:N,j:s,ttItems:l,values:{val:t,goalVals:x,xVal:y,xAxisTTVal:T,zVal:C},seriesName:M,shared:h,pColor:R})},d=0,v=g.globals.series.length-1;d<g.globals.series.length;d++,v--)_(d,v)}},{key:"getFormatters",value:function(e){var t,r=this.w,i=r.globals.yLabelFormatters[e];return r.globals.ttVal!==void 0?Array.isArray(r.globals.ttVal)?(i=r.globals.ttVal[e]&&r.globals.ttVal[e].formatter,t=r.globals.ttVal[e]&&r.globals.ttVal[e].title&&r.globals.ttVal[e].title.formatter):(i=r.globals.ttVal.formatter,typeof r.globals.ttVal.title.formatter=="function"&&(t=r.globals.ttVal.title.formatter)):t=r.config.tooltip.y.title.formatter,typeof i!="function"&&(i=r.globals.yLabelFormatters[0]?r.globals.yLabelFormatters[0]:function(s){return s}),typeof t!="function"&&(t=function(s){return s}),{yLbFormatter:i,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,r=e.index,i=e.seriesIndex,s=e.j,n=this.w;return t(String(n.globals.seriesNames[r]),{series:n.globals.series,seriesIndex:i,dataPointIndex:s,w:n})}},{key:"DOMHandling",value:function(e){e.i;var t=e.t,r=e.j,i=e.ttItems,s=e.values,n=e.seriesName,l=e.shared,h=e.pColor,p=this.w,g=this.ttCtx,x=s.val,b=s.goalVals,y=s.xVal,C=s.xAxisTTVal,T=s.zVal,M=null;M=i[t].children,p.config.tooltip.fillSeriesColor&&(i[t].style.backgroundColor=h,M[0].style.display="none"),g.showTooltipTitle&&(g.tooltipTitle===null&&(g.tooltipTitle=p.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),g.tooltipTitle.innerHTML=y),g.isXAxisTooltipEnabled&&(g.xaxisTooltipText.innerHTML=C!==""?C:y);var R=i[t].querySelector(".apexcharts-tooltip-text-y-label");R&&(R.innerHTML=n||"");var _=i[t].querySelector(".apexcharts-tooltip-text-y-value");_&&(_.innerHTML=x!==void 0?x:""),M[0]&&M[0].classList.contains("apexcharts-tooltip-marker")&&(p.config.tooltip.marker.fillColors&&Array.isArray(p.config.tooltip.marker.fillColors)&&(h=p.config.tooltip.marker.fillColors[t]),M[0].style.backgroundColor=h),p.config.tooltip.marker.show||(M[0].style.display="none");var d=i[t].querySelector(".apexcharts-tooltip-text-goals-label"),v=i[t].querySelector(".apexcharts-tooltip-text-goals-value");if(b.length&&p.globals.seriesGoals[t]){var z=function(){var P="<div >",B="<div>";b.forEach(function(N,W){P+=' <div style="display: flex"><span class="apexcharts-tooltip-marker" style="background-color: '.concat(N.attrs.strokeColor,'; height: 3px; border-radius: 0; top: 5px;"></span> ').concat(N.attrs.name,"</div>"),B+="<div>".concat(N.val,"</div>")}),d.innerHTML=P+"</div>",v.innerHTML=B+"</div>"};l?p.globals.seriesGoals[t][r]&&Array.isArray(p.globals.seriesGoals[t][r])?z():(d.innerHTML="",v.innerHTML=""):z()}else d.innerHTML="",v.innerHTML="";T!==null&&(i[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=p.config.tooltip.z.title,i[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=T!==void 0?T:""),l&&M[0]&&(x==null||p.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||p.globals.collapsedSeriesIndices.indexOf(t)>-1?M[0].parentNode.style.display="none":M[0].parentNode.style.display=p.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(e){var t=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var r=t.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");r&&(r.classList.add("apexcharts-active"),r.style.display=t.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,r=e.j,i=this.w,s=this.ctx.series.filteredSeriesX(),n="",l="",h=null,p=null,g={series:i.globals.series,seriesIndex:t,dataPointIndex:r,w:i},x=i.globals.ttZFormatter;r===null?p=i.globals.series[t]:i.globals.isXNumeric&&i.config.chart.type!=="treemap"?(n=s[t][r],s[t].length===0&&(n=s[this.tooltipUtil.getFirstActiveXArray(s)][r])):n=i.globals.labels[r]!==void 0?i.globals.labels[r]:"";var b=n;return i.globals.isXNumeric&&i.config.xaxis.type==="datetime"?n=new ze(this.ctx).xLabelFormat(i.globals.ttKeyFormatter,b,b,{i:void 0,dateFormatter:new ne(this.ctx).formatDate,w:this.w}):n=i.globals.isBarHorizontal?i.globals.yLabelFormatters[0](b,g):i.globals.xLabelFormatter(b,g),i.config.tooltip.x.formatter!==void 0&&(n=i.globals.ttKeyFormatter(b,g)),i.globals.seriesZ.length>0&&i.globals.seriesZ[t].length>0&&(h=x(i.globals.seriesZ[t][r],i)),l=typeof i.config.xaxis.tooltip.formatter=="function"?i.globals.xaxisTooltipFormatter(b,g):n,{val:Array.isArray(p)?p.join(" "):p,xVal:Array.isArray(n)?n.join(" "):n,xAxisTTVal:Array.isArray(l)?l.join(" "):l,zVal:h}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,r=e.j,i=e.y1,s=e.y2,n=e.w,l=this.ttCtx.getElTooltip(),h=n.config.tooltip.custom;Array.isArray(h)&&h[t]&&(h=h[t]),l.innerHTML=h({ctx:this.ctx,series:n.globals.series,seriesIndex:t,dataPointIndex:r,y1:i,y2:s,w:n})}}]),E}(),to=function(){function E(e){m(this,E),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return w(E,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=this.ttCtx,i=this.w,s=r.getElXCrosshairs(),n=e-r.xcrosshairsWidth/2,l=i.globals.labels.slice().length;if(t!==null&&(n=i.globals.gridWidth/l*t),s===null||i.globals.isBarHorizontal||(s.setAttribute("x",n),s.setAttribute("x1",n),s.setAttribute("x2",n),s.setAttribute("y2",i.globals.gridHeight),s.classList.add("apexcharts-active")),n<0&&(n=0),n>i.globals.gridWidth&&(n=i.globals.gridWidth),r.isXAxisTooltipEnabled){var h=n;i.config.xaxis.crosshairs.width!=="tickWidth"&&i.config.xaxis.crosshairs.width!=="barWidth"||(h=n+r.xcrosshairsWidth/2),this.moveXAxisTooltip(h)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;t.ycrosshairs!==null&&U.setAttrs(t.ycrosshairs,{y1:e,y2:e}),t.ycrosshairsHidden!==null&&U.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,r=this.ttCtx;if(r.xaxisTooltip!==null&&r.xcrosshairsWidth!==0){r.xaxisTooltip.classList.add("apexcharts-active");var i=r.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=r.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e)){e+=t.globals.translateX;var s;s=new U(this.ctx).getTextRects(r.xaxisTooltipText.innerHTML),r.xaxisTooltipText.style.minWidth=s.width+"px",r.xaxisTooltip.style.left=e+"px",r.xaxisTooltip.style.top=i+"px"}}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,r=this.ttCtx;r.yaxisTTEls===null&&(r.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var i=parseInt(r.ycrosshairsHidden.getAttribute("y1"),10),s=t.globals.translateY+i,n=r.yaxisTTEls[e].getBoundingClientRect().height,l=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(l-=26),s-=n/2,t.globals.ignoreYAxisIndexes.indexOf(e)===-1?(r.yaxisTTEls[e].classList.add("apexcharts-active"),r.yaxisTTEls[e].style.top=s+"px",r.yaxisTTEls[e].style.left=l+t.config.yaxis[e].tooltip.offsetX+"px"):r.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.w,s=this.ttCtx,n=s.getElTooltip(),l=s.tooltipRect,h=r!==null?parseFloat(r):1,p=parseFloat(e)+h+5,g=parseFloat(t)+h/2;if(p>i.globals.gridWidth/2&&(p=p-l.ttWidth-h-10),p>i.globals.gridWidth-l.ttWidth-10&&(p=i.globals.gridWidth-l.ttWidth),p<-20&&(p=-20),i.config.tooltip.followCursor){var x=s.getElGrid().getBoundingClientRect();(p=s.e.clientX-x.left)>i.globals.gridWidth/2&&(p-=s.tooltipRect.ttWidth),(g=s.e.clientY+i.globals.translateY-x.top)>i.globals.gridHeight/2&&(g-=s.tooltipRect.ttHeight)}else i.globals.isBarHorizontal||l.ttHeight/2+g>i.globals.gridHeight&&(g=i.globals.gridHeight-l.ttHeight+i.globals.translateY);isNaN(p)||(p+=i.globals.translateX,n.style.left=p+"px",n.style.top=g+"px")}},{key:"moveMarkers",value:function(e,t){var r=this.w,i=this.ttCtx;if(r.globals.markers.size[e]>0)for(var s=r.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),n=0;n<s.length;n++)parseInt(s[n].getAttribute("rel"),10)===t&&(i.marker.resetPointsSize(),i.marker.enlargeCurrentPoint(t,s[n]));else i.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var r,i,s=this.w,n=this.ttCtx,l=s.globals.pointsArray,h=n.tooltipUtil.getHoverMarkerSize(t),p=s.config.series[t].type;if(!p||p!=="column"&&p!=="candlestick"&&p!=="boxPlot"){r=l[t][e][0],i=l[t][e][1]?l[t][e][1]:0;var g=s.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers circle"));g&&i<s.globals.gridHeight&&i>0&&(g.setAttribute("r",h),g.setAttribute("cx",r),g.setAttribute("cy",i)),this.moveXCrosshairs(r),n.fixedTooltip||this.moveTooltip(r,i,h)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,r=this.ttCtx,i=r.w,s=0,n=0,l=i.globals.pointsArray;t=new Te(this.ctx).getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var h=r.tooltipUtil.getHoverMarkerSize(t);l[t]&&(s=l[t][e][0],n=l[t][e][1]);var p=r.tooltipUtil.getAllMarkers();if(p!==null)for(var g=0;g<i.globals.series.length;g++){var x=l[g];if(i.globals.comboCharts&&x===void 0&&p.splice(g,0,null),x&&x.length){var b=l[g][e][1],y=void 0;if(p[g].setAttribute("cx",s),i.config.chart.type==="rangeArea"&&!i.globals.comboCharts){var C=e+i.globals.series[g].length;y=l[g][C][1],b-=Math.abs(b-y)/2}b!==null&&!isNaN(b)&&b<i.globals.gridHeight+h&&b+h>0?(p[g]&&p[g].setAttribute("r",h),p[g]&&p[g].setAttribute("cy",b)):p[g]&&p[g].setAttribute("r",0)}}this.moveXCrosshairs(s),r.fixedTooltip||this.moveTooltip(s,n||i.globals.gridHeight,h)}},{key:"moveStickyTooltipOverBars",value:function(e,t){var r=this.w,i=this.ttCtx,s=r.globals.columnSeries?r.globals.columnSeries.length:r.globals.series.length,n=s>=2&&s%2==0?Math.floor(s/2):Math.floor(s/2)+1;r.globals.isBarHorizontal&&(n=new Te(this.ctx).getActiveConfigSeriesIndex("desc")+1);var l=r.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(n,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"']"));l||typeof t!="number"||(l=r.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,`'],
|
|
128
|
-
.apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'],
|
|
129
|
-
.apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'],
|
|
130
|
-
.apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,"']")));var h=l?parseFloat(l.getAttribute("cx")):0,p=l?parseFloat(l.getAttribute("cy")):0,g=l?parseFloat(l.getAttribute("barWidth")):0,x=i.getElGrid().getBoundingClientRect(),b=l&&(l.classList.contains("apexcharts-candlestick-area")||l.classList.contains("apexcharts-boxPlot-area"));r.globals.isXNumeric?(l&&!b&&(h-=s%2!=0?g/2:0),l&&b&&r.globals.comboCharts&&(h-=g/2)):r.globals.isBarHorizontal||(h=i.xAxisTicksPositions[e-1]+i.dataPointsDividedWidth/2,isNaN(h)&&(h=i.xAxisTicksPositions[e]-i.dataPointsDividedWidth/2)),r.globals.isBarHorizontal?p-=i.tooltipRect.ttHeight:r.config.tooltip.followCursor?p=i.e.clientY-x.top-i.tooltipRect.ttHeight/2:p+i.tooltipRect.ttHeight+15>r.globals.gridHeight&&(p=r.globals.gridHeight),r.globals.isBarHorizontal||this.moveXCrosshairs(h),i.fixedTooltip||this.moveTooltip(h,p||r.globals.gridHeight)}}]),E}(),pu=function(){function E(e){m(this,E),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new to(e)}return w(E,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new U(this.ctx),r=new dt(this.ctx),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");i=J(i),e.config.chart.stacked&&i.sort(function(x,b){return parseFloat(x.getAttribute("data:realIndex"))-parseFloat(b.getAttribute("data:realIndex"))});for(var s=0;s<i.length;s++){var n=i[s].querySelector(".apexcharts-series-markers-wrap");if(n!==null){var l=void 0,h="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));e.config.chart.type!=="line"&&e.config.chart.type!=="area"||e.globals.comboCharts||e.config.tooltip.intersect||(h+=" no-pointer-events");var p=r.getMarkerConfig({cssClass:h,seriesIndex:Number(n.getAttribute("data:realIndex"))});(l=t.drawMarker(0,0,p)).node.setAttribute("default-marker-size",0);var g=document.createElementNS(e.globals.SVGNS,"g");g.classList.add("apexcharts-series-markers"),g.appendChild(l.node),n.appendChild(g)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,s=this.w;s.config.chart.type!=="bubble"&&this.newPointSize(e,t);var n=t.getAttribute("cx"),l=t.getAttribute("cy");if(r!==null&&i!==null&&(n=r,l=i),this.tooltipPosition.moveXCrosshairs(n),!this.fixedTooltip){if(s.config.chart.type==="radar"){var h=this.ttCtx.getElGrid().getBoundingClientRect();n=this.ttCtx.e.clientX-h.left}this.tooltipPosition.moveTooltip(n,l,s.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,r=this,i=this.ttCtx,s=e,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),l=t.config.markers.hover.size,h=0;h<n.length;h++){var p=n[h].getAttribute("rel"),g=n[h].getAttribute("index");if(l===void 0&&(l=t.globals.markers.size[g]+t.config.markers.hover.sizeOffset),s===parseInt(p,10)){r.newPointSize(s,n[h]);var x=n[h].getAttribute("cx"),b=n[h].getAttribute("cy");r.tooltipPosition.moveXCrosshairs(x),i.fixedTooltip||r.tooltipPosition.moveTooltip(x,b,l)}else r.oldPointSize(n[h])}}},{key:"newPointSize",value:function(e,t){var r=this.w,i=r.config.markers.hover.size,s=e===0?t.parentNode.firstChild:t.parentNode.lastChild;if(s.getAttribute("default-marker-size")!=="0"){var n=parseInt(s.getAttribute("index"),10);i===void 0&&(i=r.globals.markers.size[n]+r.config.markers.hover.sizeOffset),i<0&&(i=0),s.setAttribute("r",i)}}},{key:"oldPointSize",value:function(e){var t=parseFloat(e.getAttribute("default-marker-size"));e.setAttribute("r",t)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var r=parseFloat(e[t].getAttribute("default-marker-size"));O.isNumber(r)&&r>=0?e[t].setAttribute("r",r):e[t].setAttribute("r",0)}}}]),E}(),fu=function(){function E(e){m(this,E),this.w=e.w;var t=this.w;this.ttCtx=e,this.isVerticalGroupedRangeBar=!t.globals.isBarHorizontal&&t.config.chart.type==="rangeBar"&&t.config.plotOptions.bar.rangeBarGroupRows}return w(E,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,r=e.opt,i=e.x,s=e.y,n=e.type,l=this.ttCtx,h=this.w;if(t.target.classList.contains("apexcharts-".concat(n,"-rect"))){var p=this.getAttr(t,"i"),g=this.getAttr(t,"j"),x=this.getAttr(t,"cx"),b=this.getAttr(t,"cy"),y=this.getAttr(t,"width"),C=this.getAttr(t,"height");if(l.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:p,j:g,shared:!1,e:t}),h.globals.capturedSeriesIndex=p,h.globals.capturedDataPointIndex=g,i=x+l.tooltipRect.ttWidth/2+y,s=b+l.tooltipRect.ttHeight/2-C/2,l.tooltipPosition.moveXCrosshairs(x+y/2),i>h.globals.gridWidth/2&&(i=x-l.tooltipRect.ttWidth/2+y),l.w.config.tooltip.followCursor){var T=h.globals.dom.elWrap.getBoundingClientRect();i=h.globals.clientX-T.left-(i>h.globals.gridWidth/2?l.tooltipRect.ttWidth:0),s=h.globals.clientY-T.top-(s>h.globals.gridHeight/2?l.tooltipRect.ttHeight:0)}}return{x:i,y:s}}},{key:"handleMarkerTooltip",value:function(e){var t,r,i=e.e,s=e.opt,n=e.x,l=e.y,h=this.w,p=this.ttCtx;if(i.target.classList.contains("apexcharts-marker")){var g=parseInt(s.paths.getAttribute("cx"),10),x=parseInt(s.paths.getAttribute("cy"),10),b=parseFloat(s.paths.getAttribute("val"));if(r=parseInt(s.paths.getAttribute("rel"),10),t=parseInt(s.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,p.intersect){var y=O.findAncestor(s.paths,"apexcharts-series");y&&(t=parseInt(y.getAttribute("data:realIndex"),10))}if(p.tooltipLabels.drawSeriesTexts({ttItems:s.ttItems,i:t,j:r,shared:!p.showOnIntersect&&h.config.tooltip.shared,e:i}),i.type==="mouseup"&&p.markerClick(i,t,r),h.globals.capturedSeriesIndex=t,h.globals.capturedDataPointIndex=r,n=g,l=x+h.globals.translateY-1.4*p.tooltipRect.ttHeight,p.w.config.tooltip.followCursor){var C=p.getElGrid().getBoundingClientRect();l=p.e.clientY+h.globals.translateY-C.top}b<0&&(l=x),p.marker.enlargeCurrentPoint(r,s.paths,n,l)}return{x:n,y:l}}},{key:"handleBarTooltip",value:function(e){var t,r,i=e.e,s=e.opt,n=this.w,l=this.ttCtx,h=l.getElTooltip(),p=0,g=0,x=0,b=this.getBarTooltipXY({e:i,opt:s});t=b.i;var y=b.barHeight,C=b.j;n.globals.capturedSeriesIndex=t,n.globals.capturedDataPointIndex=C,n.globals.isBarHorizontal&&l.tooltipUtil.hasBars()||!n.config.tooltip.shared?(g=b.x,x=b.y,r=Array.isArray(n.config.stroke.width)?n.config.stroke.width[t]:n.config.stroke.width,p=g):n.globals.comboCharts||n.config.tooltip.shared||(p/=2),isNaN(x)&&(x=n.globals.svgHeight-l.tooltipRect.ttHeight);var T=parseInt(s.paths.parentNode.getAttribute("data:realIndex"),10),M=n.globals.isMultipleYAxis?n.config.yaxis[T]&&n.config.yaxis[T].reversed:n.config.yaxis[0].reversed;if(g+l.tooltipRect.ttWidth>n.globals.gridWidth&&!M?g-=l.tooltipRect.ttWidth:g<0&&(g=0),l.w.config.tooltip.followCursor){var R=l.getElGrid().getBoundingClientRect();x=l.e.clientY-R.top}l.tooltip===null&&(l.tooltip=n.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),n.config.tooltip.shared||(n.globals.comboBarCount>0?l.tooltipPosition.moveXCrosshairs(p+r/2):l.tooltipPosition.moveXCrosshairs(p)),!l.fixedTooltip&&(!n.config.tooltip.shared||n.globals.isBarHorizontal&&l.tooltipUtil.hasBars())&&(M&&(g-=l.tooltipRect.ttWidth)<0&&(g=0),!M||n.globals.isBarHorizontal&&l.tooltipUtil.hasBars()||(x=x+y-2*(n.globals.series[t][C]<0?y:0)),x=x+n.globals.translateY-l.tooltipRect.ttHeight/2,h.style.left=g+n.globals.translateX+"px",h.style.top=x+"px")}},{key:"getBarTooltipXY",value:function(e){var t=this,r=e.e,i=e.opt,s=this.w,n=null,l=this.ttCtx,h=0,p=0,g=0,x=0,b=0,y=r.target.classList;if(y.contains("apexcharts-bar-area")||y.contains("apexcharts-candlestick-area")||y.contains("apexcharts-boxPlot-area")||y.contains("apexcharts-rangebar-area")){var C=r.target,T=C.getBoundingClientRect(),M=i.elGrid.getBoundingClientRect(),R=T.height;b=T.height;var _=T.width,d=parseInt(C.getAttribute("cx"),10),v=parseInt(C.getAttribute("cy"),10);x=parseFloat(C.getAttribute("barWidth"));var z=r.type==="touchmove"?r.touches[0].clientX:r.clientX;n=parseInt(C.getAttribute("j"),10),h=parseInt(C.parentNode.getAttribute("rel"),10)-1;var P=C.getAttribute("data-range-y1"),B=C.getAttribute("data-range-y2");s.globals.comboCharts&&(h=parseInt(C.parentNode.getAttribute("data:realIndex"),10));var N=function(G){return s.globals.isXNumeric?d-_/2:t.isVerticalGroupedRangeBar?d+_/2:d-l.dataPointsDividedWidth+_/2},W=function(){return v-l.dataPointsDividedHeight+R/2-l.tooltipRect.ttHeight/2};l.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:h,j:n,y1:P?parseInt(P,10):null,y2:B?parseInt(B,10):null,shared:!l.showOnIntersect&&s.config.tooltip.shared,e:r}),s.config.tooltip.followCursor?s.globals.isBarHorizontal?(p=z-M.left+15,g=W()):(p=N(),g=r.clientY-M.top-l.tooltipRect.ttHeight/2-15):s.globals.isBarHorizontal?((p=d)<l.xyRatios.baseLineInvertedY&&(p=d-l.tooltipRect.ttWidth),g=W()):(p=N(),g=v)}return{x:p,y:g,barHeight:b,barWidth:x,i:h,j:n}}}]),E}(),gu=function(){function E(e){m(this,E),this.w=e.w,this.ttCtx=e}return w(E,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,r=e.config.xaxis.position==="bottom";t.xaxisOffY=r?e.globals.gridHeight+1:-e.globals.xAxisHeight-e.config.xaxis.axisTicks.height+3;var i=r?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",s=e.globals.dom.elWrap;t.isXAxisTooltipEnabled&&e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")===null&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",i+" apexcharts-theme-"+e.config.tooltip.theme),s.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var e=this.w,t=this.ttCtx,r=function(s){var n=e.config.yaxis[s].opposite||e.config.yaxis[s].crosshairs.opposite;t.yaxisOffX=n?e.globals.gridWidth+1:1;var l="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(s,n?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left");e.globals.yAxisSameScaleIndices.map(function(p,g){p.map(function(x,b){b===s&&(l+=e.config.yaxis[b].show?" ":" apexcharts-yaxistooltip-hidden")})});var h=e.globals.dom.elWrap;e.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(s))===null&&(t.yaxisTooltip=document.createElement("div"),t.yaxisTooltip.setAttribute("class",l+" apexcharts-theme-"+e.config.tooltip.theme),h.appendChild(t.yaxisTooltip),s===0&&(t.yaxisTooltipText=[]),t.yaxisTooltipText[s]=document.createElement("div"),t.yaxisTooltipText[s].classList.add("apexcharts-yaxistooltip-text"),t.yaxisTooltip.appendChild(t.yaxisTooltipText[s]))},i=0;i<e.config.yaxis.length;i++)r(i)}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,r=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width,10),e.globals.comboCharts){var i=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(i!==null&&e.config.xaxis.crosshairs.width==="barWidth"){var s=parseFloat(i.getAttribute("barWidth"));t.xcrosshairsWidth=s}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var n=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/n}}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var l=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/l}else if(e.config.xaxis.crosshairs.width==="barWidth"){var h=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(h!==null){var p=parseFloat(h.getAttribute("barWidth"));t.xcrosshairsWidth=p}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),r!==null&&t.xcrosshairsWidth>0&&r.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,r){var i=this.ttCtx,s=this.w,n=s.globals.yLabelFormatters[e];if(i.yaxisTooltips[e]){var l=i.getElGrid().getBoundingClientRect(),h=(t-l.top)*r.yRatio[e],p=s.globals.maxYArr[e]-s.globals.minYArr[e],g=s.globals.minYArr[e]+(p-h);i.tooltipPosition.moveYCrosshairs(t-l.top),i.yaxisTooltipText[e].innerHTML=n(g),i.tooltipPosition.moveYAxisTooltip(e)}}}]),E}(),ro=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w;var t=this.w;this.tConfig=t.config.tooltip,this.tooltipUtil=new eo(this),this.tooltipLabels=new du(this),this.tooltipPosition=new to(this),this.marker=new pu(this),this.intersect=new fu(this),this.axesTooltip=new gu(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!t.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return w(E,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map(function(n,l){return!!(n.show&&n.tooltip.enabled&&t.globals.axisCharts)}),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var r=document.createElement("div");if(r.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&r.classList.add(t.config.tooltip.cssClass),r.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),t.globals.dom.elWrap.appendChild(r),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var i=new nt(this.ctx);this.xAxisTicksPositions=i.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&t.config.chart.type!=="rangeBar"||this.tConfig.shared||(this.showOnIntersect=!0),t.config.markers.size!==0&&t.globals.markers.largestSize!==0||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,r.appendChild(this.tooltipTitle));var s=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(s=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(s),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,r=this.w,i=[],s=this.getElTooltip(),n=function(h){var p=document.createElement("div");p.classList.add("apexcharts-tooltip-series-group"),p.style.order=r.config.tooltip.inverseOrder?e-h:h+1,t.tConfig.shared&&t.tConfig.enabledOnSeries&&Array.isArray(t.tConfig.enabledOnSeries)&&t.tConfig.enabledOnSeries.indexOf(h)<0&&p.classList.add("apexcharts-tooltip-series-group-hidden");var g=document.createElement("span");g.classList.add("apexcharts-tooltip-marker"),g.style.backgroundColor=r.globals.colors[h],p.appendChild(g);var x=document.createElement("div");x.classList.add("apexcharts-tooltip-text"),x.style.fontFamily=t.tConfig.style.fontFamily||r.config.chart.fontFamily,x.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach(function(b){var y=document.createElement("div");y.classList.add("apexcharts-tooltip-".concat(b,"-group"));var C=document.createElement("span");C.classList.add("apexcharts-tooltip-text-".concat(b,"-label")),y.appendChild(C);var T=document.createElement("span");T.classList.add("apexcharts-tooltip-text-".concat(b,"-value")),y.appendChild(T),x.appendChild(y)}),p.appendChild(x),s.appendChild(p),i.push(p)},l=0;l<e;l++)n(l);return i}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,r=this.getElTooltip(),i=!(t!=="bar"&&t!=="candlestick"&&t!=="boxPlot"&&t!=="rangeBar"),s=t==="area"||t==="line"||t==="scatter"||t==="bubble"||t==="radar",n=e.globals.dom.Paper.node,l=this.getElGrid();l&&(this.seriesBound=l.getBoundingClientRect());var h,p=[],g=[],x={hoverArea:n,elGrid:l,tooltipEl:r,tooltipY:p,tooltipX:g,ttItems:this.ttItems};if(e.globals.axisCharts&&(s?h=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):i?h=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-boxPlot-area, .apexcharts-series .apexcharts-rangebar-area"):t!=="heatmap"&&t!=="treemap"||(h=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap, .apexcharts-series .apexcharts-treemap")),h&&h.length))for(var b=0;b<h.length;b++)p.push(h[b].getAttribute("cy")),g.push(h[b].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||i&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([n],x);else if(i&&!e.globals.comboCharts||s&&this.showOnIntersect)this.addDatapointEventsListeners(x);else if(!e.globals.axisCharts||t==="heatmap"||t==="treemap"){var y=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(y,x)}if(this.showOnIntersect){var C=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");C.length>0&&this.addPathsEventListeners(C,x),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(x)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),r=t.getBoundingClientRect(),i=r.width+10,s=r.height+10,n=this.tConfig.fixed.offsetX,l=this.tConfig.fixed.offsetY,h=this.tConfig.fixed.position.toLowerCase();return h.indexOf("right")>-1&&(n=n+e.globals.svgWidth-i+10),h.indexOf("bottom")>-1&&(l=l+e.globals.svgHeight-s-10),t.style.left=n+"px",t.style.top=l+"px",{x:n,y:l,ttWidth:i,ttHeight:s}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var r=this,i=function(n){var l={paths:e[n],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map(function(h){return e[n].addEventListener(h,r.onSeriesHover.bind(r,l),{capture:!1,passive:!0})})},s=0;s<e.length;s++)i(s)}},{key:"onSeriesHover",value:function(e,t){var r=this,i=Date.now()-this.lastHoverTime;i>=100?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout(function(){r.seriesHover(e,t)},100-i))}},{key:"seriesHover",value:function(e,t){var r=this;this.lastHoverTime=Date.now();var i=[],s=this.w;s.config.chart.group&&(i=this.ctx.getGroupedCharts()),s.globals.axisCharts&&(s.globals.minX===-1/0&&s.globals.maxX===1/0||s.globals.dataPoints===0)||(i.length?i.forEach(function(n){var l=r.getElTooltip(n),h={paths:e.paths,tooltipEl:l,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:n.w.globals.tooltip.ttItems};n.w.globals.minX===r.w.globals.minX&&n.w.globals.maxX===r.w.globals.maxX&&n.w.globals.tooltip.seriesHoverByContext({chartCtx:n,ttCtx:n.w.globals.tooltip,opt:h,e:t})}):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,r=e.ttCtx,i=e.opt,s=e.e,n=t.w,l=this.getElTooltip();l&&(r.tooltipRect={x:0,y:0,ttWidth:l.getBoundingClientRect().width,ttHeight:l.getBoundingClientRect().height},r.e=s,r.tooltipUtil.hasBars()&&!n.globals.comboCharts&&!r.isBarShared&&this.tConfig.onDatasetHover.highlightDataSeries&&new Te(t).toggleSeriesOnHover(s,s.target.parentNode),r.fixedTooltip&&r.drawFixedTooltipRect(),n.globals.axisCharts?r.axisChartsTooltips({e:s,opt:i,tooltipRect:r.tooltipRect}):r.nonAxisChartsTooltips({e:s,opt:i,tooltipRect:r.tooltipRect}))}},{key:"axisChartsTooltips",value:function(e){var t,r,i=e.e,s=e.opt,n=this.w,l=s.elGrid.getBoundingClientRect(),h=i.type==="touchmove"?i.touches[0].clientX:i.clientX,p=i.type==="touchmove"?i.touches[0].clientY:i.clientY;if(this.clientY=p,this.clientX=h,n.globals.capturedSeriesIndex=-1,n.globals.capturedDataPointIndex=-1,p<l.top||p>l.top+l.height)this.handleMouseOut(s);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!n.config.tooltip.shared){var g=parseInt(s.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(g)<0)return void this.handleMouseOut(s)}var x=this.getElTooltip(),b=this.getElXCrosshairs(),y=n.globals.xyCharts||n.config.chart.type==="bar"&&!n.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||n.globals.comboCharts&&this.tooltipUtil.hasBars();if(i.type==="mousemove"||i.type==="touchmove"||i.type==="mouseup"){if(n.globals.collapsedSeries.length+n.globals.ancillaryCollapsedSeries.length===n.globals.series.length)return;b!==null&&b.classList.add("apexcharts-active");var C=this.yaxisTooltips.filter(function(R){return R===!0});if(this.ycrosshairs!==null&&C.length&&this.ycrosshairs.classList.add("apexcharts-active"),y&&!this.showOnIntersect)this.handleStickyTooltip(i,h,p,s);else if(n.config.chart.type==="heatmap"||n.config.chart.type==="treemap"){var T=this.intersect.handleHeatTreeTooltip({e:i,opt:s,x:t,y:r,type:n.config.chart.type});t=T.x,r=T.y,x.style.left=t+"px",x.style.top=r+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:i,opt:s}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:i,opt:s,x:t,y:r});if(this.yaxisTooltips.length)for(var M=0;M<n.config.yaxis.length;M++)this.axesTooltip.drawYaxisTooltipText(M,p,this.xyRatios);s.tooltipEl.classList.add("apexcharts-active")}else i.type!=="mouseout"&&i.type!=="touchend"||this.handleMouseOut(s)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,r=e.opt,i=e.tooltipRect,s=this.w,n=r.paths.getAttribute("rel"),l=this.getElTooltip(),h=s.globals.dom.elWrap.getBoundingClientRect();if(t.type==="mousemove"||t.type==="touchmove"){l.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:parseInt(n,10)-1,shared:!1});var p=s.globals.clientX-h.left-i.ttWidth/2,g=s.globals.clientY-h.top-i.ttHeight-10;if(l.style.left=p+"px",l.style.top=g+"px",s.config.legend.tooltipHoverFormatter){var x=n-1,b=(0,s.config.legend.tooltipHoverFormatter)(this.legendLabels[x].getAttribute("data:default-text"),{seriesIndex:x,dataPointIndex:x,w:s});this.legendLabels[x].innerHTML=b}}else t.type!=="mouseout"&&t.type!=="touchend"||(l.classList.remove("apexcharts-active"),s.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach(function(y){var C=y.getAttribute("data:default-text");y.innerHTML=decodeURIComponent(C)}))}},{key:"handleStickyTooltip",value:function(e,t,r,i){var s=this.w,n=this.tooltipUtil.getNearestValues({context:this,hoverArea:i.hoverArea,elGrid:i.elGrid,clientX:t,clientY:r}),l=n.j,h=n.capturedSeries;s.globals.collapsedSeriesIndices.includes(h)&&(h=null);var p=i.elGrid.getBoundingClientRect();if(n.hoverX<0||n.hoverX>p.width)this.handleMouseOut(i);else if(h!==null)this.handleStickyCapturedSeries(e,h,i,l);else if(this.tooltipUtil.isXoverlap(l)||s.globals.isBarHorizontal){var g=s.globals.series.findIndex(function(x,b){return!s.globals.collapsedSeriesIndices.includes(b)});this.create(e,this,g,l,i.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,r,i){var s=this.w;if(!this.tConfig.shared&&s.globals.series[t][i]===null)return void this.handleMouseOut(r);if(s.globals.series[t][i]!==void 0)this.tConfig.shared&&this.tooltipUtil.isXoverlap(i)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,i,r.ttItems):this.create(e,this,t,i,r.ttItems,!1);else if(this.tooltipUtil.isXoverlap(i)){var n=s.globals.series.findIndex(function(l,h){return!s.globals.collapsedSeriesIndices.includes(h)});this.create(e,this,n,i,r.ttItems)}}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new U(this.ctx),r=e.globals.dom.Paper.select(".apexcharts-bar-area"),i=0;i<r.length;i++)t.pathMouseLeave(r[i])}},{key:"handleMouseOut",value:function(e){var t=this.w,r=this.getElXCrosshairs();if(e.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),t.config.chart.type!=="bubble"&&this.marker.resetPointsSize(),r!==null&&r.classList.remove("apexcharts-active"),this.ycrosshairs!==null&&this.ycrosshairs.classList.remove("apexcharts-active"),this.isXAxisTooltipEnabled&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){this.yaxisTTEls===null&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var i=0;i<this.yaxisTTEls.length;i++)this.yaxisTTEls[i].classList.remove("apexcharts-active")}t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach(function(s){var n=s.getAttribute("data:default-text");s.innerHTML=decodeURIComponent(n)})}},{key:"markerClick",value:function(e,t,r){var i=this.w;typeof i.config.chart.events.markerClick=="function"&&i.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:r,w:i}),this.ctx.events.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:r,w:i}])}},{key:"create",value:function(e,t,r,i,s){var n,l,h,p,g,x,b,y,C,T,M,R,_,d,v,z,P=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,B=this.w,N=t;e.type==="mouseup"&&this.markerClick(e,r,i),P===null&&(P=this.tConfig.shared);var W=this.tooltipUtil.hasMarkers(r),G=this.tooltipUtil.getElBars();if(B.config.legend.tooltipHoverFormatter){var $=B.config.legend.tooltipHoverFormatter,ie=Array.from(this.legendLabels);ie.forEach(function(Ut){var sr=Ut.getAttribute("data:default-text");Ut.innerHTML=decodeURIComponent(sr)});for(var te=0;te<ie.length;te++){var ce=ie[te],me=parseInt(ce.getAttribute("i"),10),Me=decodeURIComponent(ce.getAttribute("data:default-text")),De=$(Me,{seriesIndex:P?me:r,dataPointIndex:i,w:B});if(P)ce.innerHTML=B.globals.collapsedSeriesIndices.indexOf(me)<0?De:Me;else if(ce.innerHTML=me===r?De:Me,r===me)break}}var Ie=u(u({ttItems:s,i:r,j:i},((n=B.globals.seriesRange)===null||n===void 0||(l=n[r])===null||l===void 0||(h=l[i])===null||h===void 0||(p=h.y[0])===null||p===void 0?void 0:p.y1)!==void 0&&{y1:(g=B.globals.seriesRange)===null||g===void 0||(x=g[r])===null||x===void 0||(b=x[i])===null||b===void 0||(y=b.y[0])===null||y===void 0?void 0:y.y1}),((C=B.globals.seriesRange)===null||C===void 0||(T=C[r])===null||T===void 0||(M=T[i])===null||M===void 0||(R=M.y[0])===null||R===void 0?void 0:R.y2)!==void 0&&{y2:(_=B.globals.seriesRange)===null||_===void 0||(d=_[r])===null||d===void 0||(v=d[i])===null||v===void 0||(z=v.y[0])===null||z===void 0?void 0:z.y2});if(P){if(N.tooltipLabels.drawSeriesTexts(u(u({},Ie),{},{shared:!this.showOnIntersect&&this.tConfig.shared})),W)B.globals.markers.largestSize>0?N.marker.enlargePoints(i):N.tooltipPosition.moveDynamicPointsOnHover(i);else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(G),this.barSeriesHeight>0)){var We=new U(this.ctx),He=B.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(i,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(i,r);for(var Ze=0;Ze<He.length;Ze++)We.pathMouseEnter(He[Ze])}}else N.tooltipLabels.drawSeriesTexts(u({shared:!1},Ie)),this.tooltipUtil.hasBars()&&N.tooltipPosition.moveStickyTooltipOverBars(i,r),W&&N.tooltipPosition.moveMarkers(r,i)}}]),E}(),mu=function(){function E(e){m(this,E),this.w=e.w,this.barCtx=e,this.totalFormatter=this.w.config.plotOptions.bar.dataLabels.total.formatter,this.totalFormatter||(this.totalFormatter=this.w.config.dataLabels.formatter)}return w(E,[{key:"handleBarDataLabels",value:function(e){var t=e.x,r=e.y,i=e.y1,s=e.y2,n=e.i,l=e.j,h=e.realIndex,p=e.groupIndex,g=e.series,x=e.barHeight,b=e.barWidth,y=e.barXPosition,C=e.barYPosition,T=e.visibleSeries,M=e.renderedPath,R=this.w,_=new U(this.barCtx.ctx),d=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[h]:this.barCtx.strokeWidth,v=t+parseFloat(b*T),z=r+parseFloat(x*T);R.globals.isXNumeric&&!R.globals.isBarHorizontal&&(v=t+parseFloat(b*(T+1)),z=r+parseFloat(x*(T+1))-d);var P,B=null,N=t,W=r,G={},$=R.config.dataLabels,ie=this.barCtx.barOptions.dataLabels,te=this.barCtx.barOptions.dataLabels.total;C!==void 0&&this.barCtx.isRangeBar&&(z=C,W=C),y!==void 0&&this.barCtx.isVerticalGroupedRangeBar&&(v=y,N=y);var ce=$.offsetX,me=$.offsetY,Me={width:0,height:0};if(R.config.dataLabels.enabled){var De=this.barCtx.series[n][l];Me=_.getTextRects(R.globals.yLabelFormatters[0](De),parseFloat($.style.fontSize))}var Ie={x:t,y:r,i:n,j:l,realIndex:h,groupIndex:p||-1,renderedPath:M,bcx:v,bcy:z,barHeight:x,barWidth:b,textRects:Me,strokeWidth:d,dataLabelsX:N,dataLabelsY:W,dataLabelsConfig:$,barDataLabelsConfig:ie,barTotalDataLabelsConfig:te,offX:ce,offY:me};return G=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(Ie):this.calculateColumnsDataLabelsPosition(Ie),M.attr({cy:G.bcy,cx:G.bcx,j:l,val:g[n][l],barHeight:x,barWidth:b}),P=this.drawCalculatedDataLabels({x:G.dataLabelsX,y:G.dataLabelsY,val:this.barCtx.isRangeBar?[i,s]:g[n][l],i:h,j:l,barWidth:b,barHeight:x,textRects:Me,dataLabelsConfig:$}),R.config.chart.stacked&&te.enabled&&(B=this.drawTotalDataLabels({x:G.totalDataLabelsX,y:G.totalDataLabelsY,realIndex:h,textAnchor:G.totalDataLabelsAnchor,val:this.getStackedTotalDataLabel({realIndex:h,j:l}),dataLabelsConfig:$,barTotalDataLabelsConfig:te})),{dataLabels:P,totalDataLabels:B}}},{key:"getStackedTotalDataLabel",value:function(e){var t=e.realIndex,r=e.j,i=this.w,s=this.barCtx.stackedSeriesTotals[r];return this.totalFormatter&&(s=this.totalFormatter(s,u(u({},i),{},{seriesIndex:t,dataPointIndex:r,w:i}))),s}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t,r,i=this.w,s=e.i,n=e.j,l=e.realIndex,h=e.groupIndex,p=e.y,g=e.bcx,x=e.barWidth,b=e.barHeight,y=e.textRects,C=e.dataLabelsX,T=e.dataLabelsY,M=e.dataLabelsConfig,R=e.barDataLabelsConfig,_=e.barTotalDataLabelsConfig,d=e.strokeWidth,v=e.offX,z=e.offY;b=Math.abs(b);var P=i.config.plotOptions.bar.dataLabels.orientation==="vertical";g=g-d/2+(h!==-1?h*x:0);var B=i.globals.gridWidth/i.globals.dataPoints;this.barCtx.isVerticalGroupedRangeBar?C+=x/2:C=i.globals.isXNumeric?g-x/2+v:g-B+x/2+v,P&&(C=C+y.height/2-d/2-2);var N=this.barCtx.series[s][n]<0,W=p;switch(this.barCtx.isReversed&&(W=p-b+(N?2*b:0),p-=b),R.position){case"center":T=P?N?W+b/2+z:W+b/2-z:N?W-b/2+y.height/2+z:W+b/2+y.height/2-z;break;case"bottom":T=P?N?W+b+z:W+b-z:N?W-b+y.height+d+z:W+b-y.height/2+d-z;break;case"top":T=P?N?W+z:W-z:N?W-y.height/2-z:W+y.height+z}if(this.barCtx.lastActiveBarSerieIndex===l&&_.enabled){var G=new U(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:l,j:n}),M.fontSize);t=N?W-G.height/2-z-_.offsetY+18:W+G.height+z+_.offsetY-18,r=C+_.offsetX}return i.config.chart.stacked||(T<0?T=0+d:T+y.height/3>i.globals.gridHeight&&(T=i.globals.gridHeight-d)),{bcx:g,bcy:p,dataLabelsX:C,dataLabelsY:T,totalDataLabelsX:r,totalDataLabelsY:t,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,r=e.x,i=e.i,s=e.j,n=e.realIndex,l=e.groupIndex,h=e.bcy,p=e.barHeight,g=e.barWidth,x=e.textRects,b=e.dataLabelsX,y=e.strokeWidth,C=e.dataLabelsConfig,T=e.barDataLabelsConfig,M=e.barTotalDataLabelsConfig,R=e.offX,_=e.offY,d=t.globals.gridHeight/t.globals.dataPoints;g=Math.abs(g);var v,z,P=(h+=l!==-1?l*p:0)-(this.barCtx.isRangeBar?0:d)+p/2+x.height/2+_-3,B="start",N=this.barCtx.series[i][s]<0,W=r;switch(this.barCtx.isReversed&&(W=r+g-(N?2*g:0),r=t.globals.gridWidth-g),T.position){case"center":b=N?W+g/2-R:Math.max(x.width/2,W-g/2)+R;break;case"bottom":b=N?W+g-y-Math.round(x.width/2)-R:W-g+y+Math.round(x.width/2)+R;break;case"top":b=N?W-y+Math.round(x.width/2)-R:W-y-Math.round(x.width/2)+R}if(this.barCtx.lastActiveBarSerieIndex===n&&M.enabled){var G=new U(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:n,j:s}),C.fontSize);N?(v=W-y+Math.round(G.width/2)-R-M.offsetX-15,B="end"):v=W-y-Math.round(G.width/2)+R+M.offsetX+15,z=P+M.offsetY}return t.config.chart.stacked||(b<0?b=b+x.width+y:b+x.width/2>t.globals.gridWidth&&(b=t.globals.gridWidth-x.width-y)),{bcx:r,bcy:h,dataLabelsX:b,dataLabelsY:P,totalDataLabelsX:v,totalDataLabelsY:z,totalDataLabelsAnchor:B}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,r=e.y,i=e.val,s=e.i,n=e.j,l=e.textRects,h=e.barHeight,p=e.barWidth,g=e.dataLabelsConfig,x=this.w,b="rotate(0)";x.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(b="rotate(-90, ".concat(t,", ").concat(r,")"));var y=new ge(this.barCtx.ctx),C=new U(this.barCtx.ctx),T=g.formatter,M=null,R=x.globals.collapsedSeriesIndices.indexOf(s)>-1;if(g.enabled&&!R){M=C.group({class:"apexcharts-data-labels",transform:b});var _="";i!==void 0&&(_=T(i,u(u({},x),{},{seriesIndex:s,dataPointIndex:n,w:x}))),!i&&x.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(_="");var d=x.globals.series[s][n]<0,v=x.config.plotOptions.bar.dataLabels.position;x.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(v==="top"&&(g.textAnchor=d?"end":"start"),v==="center"&&(g.textAnchor="middle"),v==="bottom"&&(g.textAnchor=d?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&p<C.getTextRects(_,parseFloat(g.style.fontSize)).width&&(_=""),x.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?l.width/1.6>Math.abs(p)&&(_=""):l.height/1.6>Math.abs(h)&&(_=""));var z=u({},g);this.barCtx.isHorizontal&&i<0&&(g.textAnchor==="start"?z.textAnchor="end":g.textAnchor==="end"&&(z.textAnchor="start")),y.plotDataLabelsText({x:t,y:r,text:_,i:s,j:n,parent:M,dataLabelsConfig:z,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return M}},{key:"drawTotalDataLabels",value:function(e){var t,r=e.x,i=e.y,s=e.val,n=e.realIndex,l=e.textAnchor,h=e.barTotalDataLabelsConfig,p=new U(this.barCtx.ctx);return h.enabled&&r!==void 0&&i!==void 0&&this.barCtx.lastActiveBarSerieIndex===n&&(t=p.drawText({x:r,y:i,foreColor:h.style.color,text:s,textAnchor:l,fontFamily:h.style.fontFamily,fontSize:h.style.fontSize,fontWeight:h.style.fontWeight})),t}}]),E}(),xu=function(){function E(e){m(this,E),this.w=e.w,this.barCtx=e}return w(E,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var r=0;r<e.length;r++)if(e[r].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[r].length),t.globals.isXNumeric)for(var i=0;i<e[r].length;i++)t.globals.seriesX[r][i]>t.globals.minX&&t.globals.seriesX[r][i]<t.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=t.globals.dataPoints;this.barCtx.seriesLen===0&&(this.barCtx.seriesLen=1),this.barCtx.zeroSerieses=[],t.globals.comboCharts||this.checkZeroSeries({series:e})}},{key:"initialPositions",value:function(){var e,t,r,i,s,n,l,h,p=this.w,g=p.globals.dataPoints;this.barCtx.isRangeBar&&(g=p.globals.labels.length);var x=this.barCtx.seriesLen;if(p.config.plotOptions.bar.rangeBarGroupRows&&(x=1),this.barCtx.isHorizontal)s=(r=p.globals.gridHeight/g)/x,p.globals.isXNumeric&&(s=(r=p.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),s=s*parseInt(this.barCtx.barOptions.barHeight,10)/100,String(this.barCtx.barOptions.barHeight).indexOf("%")===-1&&(s=parseInt(this.barCtx.barOptions.barHeight,10)),h=this.barCtx.baseLineInvertedY+p.globals.padHorizontal+(this.barCtx.isReversed?p.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),this.barCtx.isFunnel&&(h=p.globals.gridWidth/2),t=(r-s*this.barCtx.seriesLen)/2;else{if(i=p.globals.gridWidth/this.barCtx.visibleItems,p.config.xaxis.convertedCatToNumeric&&(i=p.globals.gridWidth/p.globals.dataPoints),n=i/x*parseInt(this.barCtx.barOptions.columnWidth,10)/100,p.globals.isXNumeric){var b=this.barCtx.xRatio;p.config.xaxis.convertedCatToNumeric&&(b=this.barCtx.initialXRatio),p.globals.minXDiff&&p.globals.minXDiff!==.5&&p.globals.minXDiff/b>0&&(i=p.globals.minXDiff/b),(n=i/x*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(n=1)}String(this.barCtx.barOptions.columnWidth).indexOf("%")===-1&&(n=parseInt(this.barCtx.barOptions.columnWidth,10)),l=p.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?p.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),e=p.globals.padHorizontal+(i-n*this.barCtx.seriesLen)/2}return{x:e,y:t,yDivision:r,xDivision:i,barHeight:s,barWidth:n,zeroH:l,zeroW:h}}},{key:"initializeStackedPrevVars",value:function(e){var t=e.w;t.globals.hasSeriesGroups?t.globals.seriesGroups.forEach(function(r){e[r]||(e[r]={}),e[r].prevY=[],e[r].prevX=[],e[r].prevYF=[],e[r].prevXF=[],e[r].prevYVal=[],e[r].prevXVal=[]}):(e.prevY=[],e.prevX=[],e.prevYF=[],e.prevXF=[],e.prevYVal=[],e.prevXVal=[])}},{key:"initializeStackedXYVars",value:function(e){var t=e.w;t.globals.hasSeriesGroups?t.globals.seriesGroups.forEach(function(r){e[r]||(e[r]={}),e[r].xArrj=[],e[r].xArrjF=[],e[r].xArrjVal=[],e[r].yArrj=[],e[r].yArrjF=[],e[r].yArrjVal=[]}):(e.xArrj=[],e.xArrjF=[],e.xArrjVal=[],e.yArrj=[],e.yArrjF=[],e.yArrjVal=[])}},{key:"getPathFillColor",value:function(e,t,r,i){var s,n,l,h,p=this.w,g=new Ne(this.barCtx.ctx),x=null,b=this.barCtx.barOptions.distributed?r:t;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map(function(y){e[t][r]>=y.from&&e[t][r]<=y.to&&(x=y.color)}),p.config.series[t].data[r]&&p.config.series[t].data[r].fillColor&&(x=p.config.series[t].data[r].fillColor),g.fillPath({seriesNumber:this.barCtx.barOptions.distributed?b:i,dataPointIndex:r,color:x,value:e[t][r],fillConfig:(s=p.config.series[t].data[r])===null||s===void 0?void 0:s.fill,fillType:(n=p.config.series[t].data[r])!==null&&n!==void 0&&(l=n.fill)!==null&&l!==void 0&&l.type?(h=p.config.series[t].data[r])===null||h===void 0?void 0:h.fill.type:p.config.fill.type})}},{key:"getStrokeWidth",value:function(e,t,r){var i=0,s=this.w;return this.barCtx.series[e][t]?this.barCtx.isNullValue=!1:this.barCtx.isNullValue=!0,s.config.stroke.show&&(this.barCtx.isNullValue||(i=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[r]:this.barCtx.strokeWidth)),i}},{key:"shouldApplyRadius",value:function(e){var t=this.w,r=!1;return t.config.plotOptions.bar.borderRadius>0&&(t.config.chart.stacked&&t.config.plotOptions.bar.borderRadiusWhenStacked==="last"?this.barCtx.lastActiveBarSerieIndex===e&&(r=!0):r=!0),r}},{key:"barBackground",value:function(e){var t=e.j,r=e.i,i=e.x1,s=e.x2,n=e.y1,l=e.y2,h=e.elSeries,p=this.w,g=new U(this.barCtx.ctx),x=new Te(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&x===r){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var b=this.barCtx.barOptions.colors.backgroundBarColors[t],y=g.drawRect(i!==void 0?i:0,n!==void 0?n:0,s!==void 0?s:p.globals.gridWidth,l!==void 0?l:p.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,b,this.barCtx.barOptions.colors.backgroundBarOpacity);h.add(y),y.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,r=e.barWidth,i=e.barXPosition,s=e.y1,n=e.y2,l=e.strokeWidth,h=e.seriesGroup,p=e.realIndex,g=e.i,x=e.j,b=e.w,y=new U(this.barCtx.ctx);(l=Array.isArray(l)?l[p]:l)||(l=0);var C=r,T=i;(t=b.config.series[p].data[x])!==null&&t!==void 0&&t.columnWidthOffset&&(T=i-b.config.series[p].data[x].columnWidthOffset/2,C=r+b.config.series[p].data[x].columnWidthOffset);var M=T,R=T+C;s+=.001,n+=.001;var _=y.move(M,s),d=y.move(M,s),v=y.line(R-l,s);if(b.globals.previousPaths.length>0&&(d=this.barCtx.getPreviousPath(p,x,!1)),_=_+y.line(M,n)+y.line(R-l,n)+y.line(R-l,s)+(b.config.plotOptions.bar.borderRadiusApplication==="around"?" Z":" z"),d=d+y.line(M,s)+v+v+v+v+v+y.line(M,s)+(b.config.plotOptions.bar.borderRadiusApplication==="around"?" Z":" z"),this.shouldApplyRadius(p)&&(_=y.roundPathCorners(_,b.config.plotOptions.bar.borderRadius)),b.config.chart.stacked){var z=this.barCtx;b.globals.hasSeriesGroups&&h&&(z=this.barCtx[h]),z.yArrj.push(n),z.yArrjF.push(Math.abs(s-n)),z.yArrjVal.push(this.barCtx.series[g][x])}return{pathTo:_,pathFrom:d}}},{key:"getBarpaths",value:function(e){var t,r=e.barYPosition,i=e.barHeight,s=e.x1,n=e.x2,l=e.strokeWidth,h=e.seriesGroup,p=e.realIndex,g=e.i,x=e.j,b=e.w,y=new U(this.barCtx.ctx);(l=Array.isArray(l)?l[p]:l)||(l=0);var C=r,T=i;(t=b.config.series[p].data[x])!==null&&t!==void 0&&t.barHeightOffset&&(C=r-b.config.series[p].data[x].barHeightOffset/2,T=i+b.config.series[p].data[x].barHeightOffset);var M=C,R=C+T;s+=.001,n+=.001;var _=y.move(s,M),d=y.move(s,M);b.globals.previousPaths.length>0&&(d=this.barCtx.getPreviousPath(p,x,!1));var v=y.line(s,R-l);if(_=_+y.line(n,M)+y.line(n,R-l)+v+(b.config.plotOptions.bar.borderRadiusApplication==="around"?" Z":" z"),d=d+y.line(s,M)+v+v+v+v+v+y.line(s,M)+(b.config.plotOptions.bar.borderRadiusApplication==="around"?" Z":" z"),this.shouldApplyRadius(p)&&(_=y.roundPathCorners(_,b.config.plotOptions.bar.borderRadius)),b.config.chart.stacked){var z=this.barCtx;b.globals.hasSeriesGroups&&h&&(z=this.barCtx[h]),z.xArrj.push(n),z.xArrjF.push(Math.abs(s-n)),z.xArrjVal.push(this.barCtx.series[g][x])}return{pathTo:_,pathFrom:d}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,r=this.w,i=0;i<t.length;i++){for(var s=0,n=0;n<t[r.globals.maxValsInArrayIndex].length;n++)s+=t[i][n];s===0&&this.barCtx.zeroSerieses.push(i)}}},{key:"getXForValue",value:function(e,t){var r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2]?t:null;return e!=null&&(r=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),r}},{key:"getYForValue",value:function(e,t){var r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2]?t:null;return e!=null&&(r=t-e/this.barCtx.yRatio[this.barCtx.yaxisIndex]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[this.barCtx.yaxisIndex]:0)),r}},{key:"getGoalValues",value:function(e,t,r,i,s){var n=this,l=this.w,h=[],p=function(b,y){var C;h.push((S(C={},e,e==="x"?n.getXForValue(b,t,!1):n.getYForValue(b,r,!1)),S(C,"attrs",y),C))};if(l.globals.seriesGoals[i]&&l.globals.seriesGoals[i][s]&&Array.isArray(l.globals.seriesGoals[i][s])&&l.globals.seriesGoals[i][s].forEach(function(b){p(b.value,b)}),this.barCtx.barOptions.isDumbbell&&l.globals.seriesRange.length){var g=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:l.globals.colors,x={strokeHeight:e==="x"?0:l.globals.markers.size[i],strokeWidth:e==="x"?l.globals.markers.size[i]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(g[i])?g[i][0]:g[i]};p(l.globals.seriesRangeStart[i][s],x),p(l.globals.seriesRangeEnd[i][s],u(u({},x),{},{strokeColor:Array.isArray(g[i])?g[i][1]:g[i]}))}return h}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,r=e.barYPosition,i=e.goalX,s=e.goalY,n=e.barWidth,l=e.barHeight,h=new U(this.barCtx.ctx),p=h.group({className:"apexcharts-bar-goals-groups"});p.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:p.node}),p.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var g=null;return this.barCtx.isHorizontal?Array.isArray(i)&&i.forEach(function(x){var b=x.attrs.strokeHeight!==void 0?x.attrs.strokeHeight:l/2,y=r+b+l/2;g=h.drawLine(x.x,y-2*b,x.x,y,x.attrs.strokeColor?x.attrs.strokeColor:void 0,x.attrs.strokeDashArray,x.attrs.strokeWidth?x.attrs.strokeWidth:2,x.attrs.strokeLineCap),p.add(g)}):Array.isArray(s)&&s.forEach(function(x){var b=x.attrs.strokeWidth!==void 0?x.attrs.strokeWidth:n/2,y=t+b+n/2;g=h.drawLine(y-2*b,x.y,y,x.y,x.attrs.strokeColor?x.attrs.strokeColor:void 0,x.attrs.strokeDashArray,x.attrs.strokeHeight?x.attrs.strokeHeight:2,x.attrs.strokeLineCap),p.add(g)}),p}},{key:"drawBarShadow",value:function(e){var t=e.prevPaths,r=e.currPaths,i=e.color,s=this.w,n=t.x,l=t.x1,h=t.barYPosition,p=r.x,g=r.x1,x=r.barYPosition,b=h+r.barHeight,y=new U(this.barCtx.ctx),C=new O,T=y.move(l,b)+y.line(n,b)+y.line(p,x)+y.line(g,x)+y.line(l,b)+(s.config.plotOptions.bar.borderRadiusApplication==="around"?" Z":" z");return y.drawPath({d:T,fill:C.shadeColor(.5,O.rgb2hex(i)),stroke:"none",strokeWidth:0,fillOpacity:1,classes:"apexcharts-bar-shadows"})}}]),E}(),br=function(){function E(e,t){m(this,E),this.ctx=e,this.w=e.w;var r=this.w;this.barOptions=r.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=r.config.stroke.width,this.isNullValue=!1,this.isRangeBar=r.globals.seriesRange.length&&this.isHorizontal,this.isVerticalGroupedRangeBar=!r.globals.isBarHorizontal&&r.globals.seriesRange.length&&r.config.plotOptions.bar.rangeBarGroupRows,this.isFunnel=this.barOptions.isFunnel,this.xyRatios=t,this.xyRatios!==null&&(this.xRatio=t.xRatio,this.initialXRatio=t.initialXRatio,this.yRatio=t.yRatio,this.invertedXRatio=t.invertedXRatio,this.invertedYRatio=t.invertedYRatio,this.baseLineY=t.baseLineY,this.baseLineInvertedY=t.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0,this.pathArr=[];var i=new Te(this.ctx);this.lastActiveBarSerieIndex=i.getActiveConfigSeriesIndex("desc",["bar","column"]);var s=i.getBarSeriesIndices(),n=new re(this.ctx);this.stackedSeriesTotals=n.getStackedSeriesTotals(this.w.config.series.map(function(l,h){return s.indexOf(h)===-1?h:-1}).filter(function(l){return l!==-1})),this.barHelpers=new xu(this)}return w(E,[{key:"draw",value:function(e,t){var r=this.w,i=new U(this.ctx),s=new re(this.ctx,r);e=s.getLogSeries(e),this.series=e,this.yRatio=s.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var n=i.group({class:"apexcharts-bar-series apexcharts-plot-series"});r.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var l=0,h=0;l<e.length;l++,h++){var p,g,x,b,y=void 0,C=void 0,T=[],M=[],R=r.globals.comboCharts?t[l]:l,_=i.group({class:"apexcharts-series",rel:l+1,seriesName:O.escapeString(r.globals.seriesNames[R]),"data:realIndex":R});this.ctx.series.addCollapsedClassToSeries(_,R),e[l].length>0&&(this.visibleI=this.visibleI+1);var d=0,v=0;this.yRatio.length>1&&(this.yaxisIndex=R),this.isReversed=r.config.yaxis[this.yaxisIndex]&&r.config.yaxis[this.yaxisIndex].reversed;var z=this.barHelpers.initialPositions();C=z.y,d=z.barHeight,g=z.yDivision,b=z.zeroW,y=z.x,v=z.barWidth,p=z.xDivision,x=z.zeroH,this.horizontal||M.push(y+v/2);var P=i.group({class:"apexcharts-datalabels","data:realIndex":R});r.globals.delayedElements.push({el:P.node}),P.node.classList.add("apexcharts-element-hidden");var B=i.group({class:"apexcharts-bar-goals-markers"}),N=i.group({class:"apexcharts-bar-shadows"});r.globals.delayedElements.push({el:N.node}),N.node.classList.add("apexcharts-element-hidden");for(var W=0;W<r.globals.dataPoints;W++){var G=this.barHelpers.getStrokeWidth(l,W,R),$=null,ie={indexes:{i:l,j:W,realIndex:R,bc:h},x:y,y:C,strokeWidth:G,elSeries:_};this.isHorizontal?($=this.drawBarPaths(u(u({},ie),{},{barHeight:d,zeroW:b,yDivision:g})),v=this.series[l][W]/this.invertedYRatio):($=this.drawColumnPaths(u(u({},ie),{},{xDivision:p,barWidth:v,zeroH:x})),d=this.series[l][W]/this.yRatio[this.yaxisIndex]);var te=this.barHelpers.getPathFillColor(e,l,W,R);if(this.isFunnel&&this.barOptions.isFunnel3d&&this.pathArr.length&&W>0){var ce=this.barHelpers.drawBarShadow({color:typeof te=="string"&&(te==null?void 0:te.indexOf("url"))===-1?te:O.hexToRgba(r.globals.colors[l]),prevPaths:this.pathArr[this.pathArr.length-1],currPaths:$});ce&&N.add(ce)}this.pathArr.push($);var me=this.barHelpers.drawGoalLine({barXPosition:$.barXPosition,barYPosition:$.barYPosition,goalX:$.goalX,goalY:$.goalY,barHeight:d,barWidth:v});me&&B.add(me),C=$.y,y=$.x,W>0&&M.push(y+v/2),T.push(C),this.renderSeries({realIndex:R,pathFill:te,j:W,i:l,pathFrom:$.pathFrom,pathTo:$.pathTo,strokeWidth:G,elSeries:_,x:y,y:C,series:e,barHeight:$.barHeight?$.barHeight:d,barWidth:$.barWidth?$.barWidth:v,elDataLabelsWrap:P,elGoalsMarkers:B,elBarShadows:N,visibleSeries:this.visibleI,type:"bar"})}r.globals.seriesXvalues[R]=M,r.globals.seriesYvalues[R]=T,n.add(_)}return n}},{key:"renderSeries",value:function(e){var t=e.realIndex,r=e.pathFill,i=e.lineFill,s=e.j,n=e.i,l=e.groupIndex,h=e.pathFrom,p=e.pathTo,g=e.strokeWidth,x=e.elSeries,b=e.x,y=e.y,C=e.y1,T=e.y2,M=e.series,R=e.barHeight,_=e.barWidth,d=e.barXPosition,v=e.barYPosition,z=e.elDataLabelsWrap,P=e.elGoalsMarkers,B=e.elBarShadows,N=e.visibleSeries,W=e.type,G=this.w,$=new U(this.ctx);i||(i=this.barOptions.distributed?G.globals.stroke.colors[s]:G.globals.stroke.colors[t]),G.config.series[n].data[s]&&G.config.series[n].data[s].strokeColor&&(i=G.config.series[n].data[s].strokeColor),this.isNullValue&&(r="none");var ie=s/G.config.chart.animations.animateGradually.delay*(G.config.chart.animations.speed/G.globals.dataPoints)/2.4,te=$.renderPaths({i:n,j:s,realIndex:t,pathFrom:h,pathTo:p,stroke:i,strokeWidth:g,strokeLineCap:G.config.stroke.lineCap,fill:r,animationDelay:ie,initialSpeed:G.config.chart.animations.speed,dataChangeSpeed:G.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(W,"-area")});te.attr("clip-path","url(#gridRectMask".concat(G.globals.cuid,")"));var ce=G.config.forecastDataPoints;ce.count>0&&s>=G.globals.dataPoints-ce.count&&(te.node.setAttribute("stroke-dasharray",ce.dashArray),te.node.setAttribute("stroke-width",ce.strokeWidth),te.node.setAttribute("fill-opacity",ce.fillOpacity)),C!==void 0&&T!==void 0&&(te.attr("data-range-y1",C),te.attr("data-range-y2",T)),new le(this.ctx).setSelectionFilter(te,t,s),x.add(te);var me=new mu(this).handleBarDataLabels({x:b,y,y1:C,y2:T,i:n,j:s,series:M,realIndex:t,groupIndex:l,barHeight:R,barWidth:_,barXPosition:d,barYPosition:v,renderedPath:te,visibleSeries:N});return me.dataLabels!==null&&z.add(me.dataLabels),me.totalDataLabels&&z.add(me.totalDataLabels),x.add(z),P&&x.add(P),B&&x.add(B),x}},{key:"drawBarPaths",value:function(e){var t,r=e.indexes,i=e.barHeight,s=e.strokeWidth,n=e.zeroW,l=e.x,h=e.y,p=e.yDivision,g=e.elSeries,x=this.w,b=r.i,y=r.j;if(x.globals.isXNumeric)t=(h=(x.globals.seriesX[b][y]-x.globals.minX)/this.invertedXRatio-i)+i*this.visibleI;else if(x.config.plotOptions.bar.hideZeroBarsWhenGrouped){var C=0,T=0;x.globals.seriesPercent.forEach(function(R,_){R[y]&&C++,_<b&&R[y]===0&&T++}),C>0&&(i=this.seriesLen*i/C),t=h+i*this.visibleI,t-=i*T}else t=h+i*this.visibleI;this.isFunnel&&(n-=(this.barHelpers.getXForValue(this.series[b][y],n)-n)/2),l=this.barHelpers.getXForValue(this.series[b][y],n);var M=this.barHelpers.getBarpaths({barYPosition:t,barHeight:i,x1:n,x2:l,strokeWidth:s,series:this.series,realIndex:r.realIndex,i:b,j:y,w:x});return x.globals.isXNumeric||(h+=p),this.barHelpers.barBackground({j:y,i:b,y1:t-i*this.visibleI,y2:i*this.seriesLen,elSeries:g}),{pathTo:M.pathTo,pathFrom:M.pathFrom,x1:n,x:l,y:h,goalX:this.barHelpers.getGoalValues("x",n,null,b,y),barYPosition:t,barHeight:i}}},{key:"drawColumnPaths",value:function(e){var t,r=e.indexes,i=e.x,s=e.y,n=e.xDivision,l=e.barWidth,h=e.zeroH,p=e.strokeWidth,g=e.elSeries,x=this.w,b=r.realIndex,y=r.i,C=r.j,T=r.bc;if(x.globals.isXNumeric){var M=b;x.globals.seriesX[b].length||(M=x.globals.maxValsInArrayIndex),x.globals.seriesX[M][C]&&(i=(x.globals.seriesX[M][C]-x.globals.minX)/this.xRatio-l*this.seriesLen/2),t=i+l*this.visibleI}else if(x.config.plotOptions.bar.hideZeroBarsWhenGrouped){var R=0,_=0;x.globals.seriesPercent.forEach(function(v,z){v[C]&&R++,z<y&&v[C]===0&&_++}),R>0&&(l=this.seriesLen*l/R),t=i+l*this.visibleI,t-=l*_}else t=i+l*this.visibleI;s=this.barHelpers.getYForValue(this.series[y][C],h);var d=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:l,y1:h,y2:s,strokeWidth:p,series:this.series,realIndex:r.realIndex,i:y,j:C,w:x});return x.globals.isXNumeric||(i+=n),this.barHelpers.barBackground({bc:T,j:C,i:y,x1:t-p/2-l*this.visibleI,x2:l*this.seriesLen+p/2,elSeries:g}),{pathTo:d.pathTo,pathFrom:d.pathFrom,x:i,y:s,goalY:this.barHelpers.getGoalValues("y",null,h,y,C),barXPosition:t,barWidth:l}}},{key:"getPreviousPath",value:function(e,t){for(var r,i=this.w,s=0;s<i.globals.previousPaths.length;s++){var n=i.globals.previousPaths[s];n.paths&&n.paths.length>0&&parseInt(n.realIndex,10)===parseInt(e,10)&&i.globals.previousPaths[s].paths[t]!==void 0&&(r=i.globals.previousPaths[s].paths[t].d)}return r}}]),E}(),ao=function(E){D(t,br);var e=q(t);function t(){return m(this,t),e.apply(this,arguments)}return w(t,[{key:"draw",value:function(r,i){var s=this,n=this.w;this.graphics=new U(this.ctx),this.bar=new br(this.ctx,this.xyRatios);var l=new re(this.ctx,n);r=l.getLogSeries(r),this.yRatio=l.getLogYRatios(this.yRatio),this.barHelpers.initVariables(r),n.config.chart.stackType==="100%"&&(r=n.globals.seriesPercent.slice()),this.series=r,this.barHelpers.initializeStackedPrevVars(this);for(var h=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),p=0,g=0,x=function(C,T){var M=void 0,R=void 0,_=void 0,d=void 0,v=-1;s.groupCtx=s,n.globals.seriesGroups.forEach(function(He,Ze){He.indexOf(n.config.series[C].name)>-1&&(v=Ze)}),v!==-1&&(s.groupCtx=s[n.globals.seriesGroups[v]]);var z=[],P=[],B=n.globals.comboCharts?i[C]:C;s.yRatio.length>1&&(s.yaxisIndex=B),s.isReversed=n.config.yaxis[s.yaxisIndex]&&n.config.yaxis[s.yaxisIndex].reversed;var N=s.graphics.group({class:"apexcharts-series",seriesName:O.escapeString(n.globals.seriesNames[B]),rel:C+1,"data:realIndex":B});s.ctx.series.addCollapsedClassToSeries(N,B);var W=s.graphics.group({class:"apexcharts-datalabels","data:realIndex":B}),G=s.graphics.group({class:"apexcharts-bar-goals-markers"}),$=0,ie=0,te=s.initialPositions(p,g,M,R,_,d);g=te.y,$=te.barHeight,R=te.yDivision,d=te.zeroW,p=te.x,ie=te.barWidth,M=te.xDivision,_=te.zeroH,s.barHelpers.initializeStackedXYVars(s),s.groupCtx.prevY.length===1&&s.groupCtx.prevY[0].every(function(He){return isNaN(He)})&&(s.groupCtx.prevY[0]=s.groupCtx.prevY[0].map(function(He){return _}),s.groupCtx.prevYF[0]=s.groupCtx.prevYF[0].map(function(He){return 0}));for(var ce=0;ce<n.globals.dataPoints;ce++){var me=s.barHelpers.getStrokeWidth(C,ce,B),Me={indexes:{i:C,j:ce,realIndex:B,bc:T},strokeWidth:me,x:p,y:g,elSeries:N,groupIndex:v,seriesGroup:n.globals.seriesGroups[v]},De=null;s.isHorizontal?(De=s.drawStackedBarPaths(u(u({},Me),{},{zeroW:d,barHeight:$,yDivision:R})),ie=s.series[C][ce]/s.invertedYRatio):(De=s.drawStackedColumnPaths(u(u({},Me),{},{xDivision:M,barWidth:ie,zeroH:_})),$=s.series[C][ce]/s.yRatio[s.yaxisIndex]);var Ie=s.barHelpers.drawGoalLine({barXPosition:De.barXPosition,barYPosition:De.barYPosition,goalX:De.goalX,goalY:De.goalY,barHeight:$,barWidth:ie});Ie&&G.add(Ie),g=De.y,p=De.x,z.push(p),P.push(g);var We=s.barHelpers.getPathFillColor(r,C,ce,B);N=s.renderSeries({realIndex:B,pathFill:We,j:ce,i:C,groupIndex:v,pathFrom:De.pathFrom,pathTo:De.pathTo,strokeWidth:me,elSeries:N,x:p,y:g,series:r,barHeight:$,barWidth:ie,elDataLabelsWrap:W,elGoalsMarkers:G,type:"bar",visibleSeries:0})}n.globals.seriesXvalues[B]=z,n.globals.seriesYvalues[B]=P,s.groupCtx.prevY.push(s.groupCtx.yArrj),s.groupCtx.prevYF.push(s.groupCtx.yArrjF),s.groupCtx.prevYVal.push(s.groupCtx.yArrjVal),s.groupCtx.prevX.push(s.groupCtx.xArrj),s.groupCtx.prevXF.push(s.groupCtx.xArrjF),s.groupCtx.prevXVal.push(s.groupCtx.xArrjVal),h.add(N)},b=0,y=0;b<r.length;b++,y++)x(b,y);return h}},{key:"initialPositions",value:function(r,i,s,n,l,h){var p,g,x,b,y=this.w;return this.isHorizontal?(x=(x=n=y.globals.gridHeight/y.globals.dataPoints)*parseInt(y.config.plotOptions.bar.barHeight,10)/100,String(y.config.plotOptions.bar.barHeight).indexOf("%")===-1&&(x=parseInt(y.config.plotOptions.bar.barHeight,10)),h=this.baseLineInvertedY+y.globals.padHorizontal+(this.isReversed?y.globals.gridWidth:0)-(this.isReversed?2*this.baseLineInvertedY:0),i=(n-x)/2):(b=s=y.globals.gridWidth/y.globals.dataPoints,b=y.globals.isXNumeric&&y.globals.dataPoints>1?(s=y.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:b*parseInt(y.config.plotOptions.bar.columnWidth,10)/100,String(y.config.plotOptions.bar.columnWidth).indexOf("%")===-1&&(b=parseInt(y.config.plotOptions.bar.columnWidth,10)),l=y.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?y.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),r=y.globals.padHorizontal+(s-b)/2),{x:r,y:i,yDivision:n,xDivision:s,barHeight:(p=y.globals.seriesGroups)!==null&&p!==void 0&&p.length?x/y.globals.seriesGroups.length:x,barWidth:(g=y.globals.seriesGroups)!==null&&g!==void 0&&g.length?b/y.globals.seriesGroups.length:b,zeroH:l,zeroW:h}}},{key:"drawStackedBarPaths",value:function(r){for(var i,s=r.indexes,n=r.barHeight,l=r.strokeWidth,h=r.zeroW,p=r.x,g=r.y,x=r.groupIndex,b=r.seriesGroup,y=r.yDivision,C=r.elSeries,T=this.w,M=g+(x!==-1?x*n:0),R=s.i,_=s.j,d=0,v=0;v<this.groupCtx.prevXF.length;v++)d+=this.groupCtx.prevXF[v][_];var z=R;if(b&&(z=b.indexOf(T.config.series[R].name)),z>0){var P=h;this.groupCtx.prevXVal[z-1][_]<0?P=this.series[R][_]>=0?this.groupCtx.prevX[z-1][_]+d-2*(this.isReversed?d:0):this.groupCtx.prevX[z-1][_]:this.groupCtx.prevXVal[z-1][_]>=0&&(P=this.series[R][_]>=0?this.groupCtx.prevX[z-1][_]:this.groupCtx.prevX[z-1][_]-d+2*(this.isReversed?d:0)),i=P}else i=h;p=this.series[R][_]===null?i:i+this.series[R][_]/this.invertedYRatio-2*(this.isReversed?this.series[R][_]/this.invertedYRatio:0);var B=this.barHelpers.getBarpaths({barYPosition:M,barHeight:n,x1:i,x2:p,strokeWidth:l,series:this.series,realIndex:s.realIndex,seriesGroup:b,i:R,j:_,w:T});return this.barHelpers.barBackground({j:_,i:R,y1:M,y2:n,elSeries:C}),g+=y,{pathTo:B.pathTo,pathFrom:B.pathFrom,goalX:this.barHelpers.getGoalValues("x",h,null,R,_),barYPosition:M,x:p,y:g}}},{key:"drawStackedColumnPaths",value:function(r){var i=r.indexes,s=r.x,n=r.y,l=r.xDivision,h=r.barWidth,p=r.zeroH,g=r.groupIndex,x=r.seriesGroup,b=r.elSeries,y=this.w,C=i.i,T=i.j,M=i.bc;if(y.globals.isXNumeric){var R=y.globals.seriesX[C][T];R||(R=0),s=(R-y.globals.minX)/this.xRatio-h/2,y.globals.seriesGroups.length&&(s=(R-y.globals.minX)/this.xRatio-h/2*y.globals.seriesGroups.length)}for(var _,d=s+(g!==-1?g*h:0),v=0,z=0;z<this.groupCtx.prevYF.length;z++)v+=isNaN(this.groupCtx.prevYF[z][T])?0:this.groupCtx.prevYF[z][T];var P=C;if(x&&(P=x.indexOf(y.config.series[C].name)),P>0&&!y.globals.isXNumeric||P>0&&y.globals.isXNumeric&&y.globals.seriesX[C-1][T]===y.globals.seriesX[C][T]){var B,N,W,G=Math.min(this.yRatio.length+1,C+1);if(this.groupCtx.prevY[P-1]!==void 0&&this.groupCtx.prevY[P-1].length)for(var $=1;$<G;$++){var ie;if(!isNaN((ie=this.groupCtx.prevY[P-$])===null||ie===void 0?void 0:ie[T])){W=this.groupCtx.prevY[P-$][T];break}}for(var te=1;te<G;te++){var ce,me;if(((ce=this.groupCtx.prevYVal[P-te])===null||ce===void 0?void 0:ce[T])<0){N=this.series[C][T]>=0?W-v+2*(this.isReversed?v:0):W;break}if(((me=this.groupCtx.prevYVal[P-te])===null||me===void 0?void 0:me[T])>=0){N=this.series[C][T]>=0?W:W+v-2*(this.isReversed?v:0);break}}N===void 0&&(N=y.globals.gridHeight),_=(B=this.groupCtx.prevYF[0])!==null&&B!==void 0&&B.every(function(De){return De===0})&&this.groupCtx.prevYF.slice(1,P).every(function(De){return De.every(function(Ie){return isNaN(Ie)})})?p:N}else _=p;n=this.series[C][T]?_-this.series[C][T]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[C][T]/this.yRatio[this.yaxisIndex]:0):_;var Me=this.barHelpers.getColumnPaths({barXPosition:d,barWidth:h,y1:_,y2:n,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,seriesGroup:x,realIndex:i.realIndex,i:C,j:T,w:y});return this.barHelpers.barBackground({bc:M,j:T,i:C,x1:d,x2:h,elSeries:b}),s+=l,{pathTo:Me.pathTo,pathFrom:Me.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,p,C,T),barXPosition:d,x:y.globals.isXNumeric?s-l:s,y:n}}}]),t}(),Si=function(E){D(t,br);var e=q(t);function t(){return m(this,t),e.apply(this,arguments)}return w(t,[{key:"draw",value:function(r,i,s){var n=this,l=this.w,h=new U(this.ctx),p=l.globals.comboCharts?i:l.config.chart.type,g=new Ne(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=l.config.plotOptions.bar.horizontal;var x=new re(this.ctx,l);r=x.getLogSeries(r),this.series=r,this.yRatio=x.getLogYRatios(this.yRatio),this.barHelpers.initVariables(r);for(var b=h.group({class:"apexcharts-".concat(p,"-series apexcharts-plot-series")}),y=function(T){n.isBoxPlot=l.config.chart.type==="boxPlot"||l.config.series[T].type==="boxPlot";var M,R,_,d,v=void 0,z=void 0,P=[],B=[],N=l.globals.comboCharts?s[T]:T,W=h.group({class:"apexcharts-series",seriesName:O.escapeString(l.globals.seriesNames[N]),rel:T+1,"data:realIndex":N});n.ctx.series.addCollapsedClassToSeries(W,N),r[T].length>0&&(n.visibleI=n.visibleI+1);var G,$;n.yRatio.length>1&&(n.yaxisIndex=N);var ie=n.barHelpers.initialPositions();z=ie.y,G=ie.barHeight,R=ie.yDivision,d=ie.zeroW,v=ie.x,$=ie.barWidth,M=ie.xDivision,_=ie.zeroH,B.push(v+$/2);for(var te=h.group({class:"apexcharts-datalabels","data:realIndex":N}),ce=function(Me){var De=n.barHelpers.getStrokeWidth(T,Me,N),Ie=null,We={indexes:{i:T,j:Me,realIndex:N},x:v,y:z,strokeWidth:De,elSeries:W};Ie=n.isHorizontal?n.drawHorizontalBoxPaths(u(u({},We),{},{yDivision:R,barHeight:G,zeroW:d})):n.drawVerticalBoxPaths(u(u({},We),{},{xDivision:M,barWidth:$,zeroH:_})),z=Ie.y,v=Ie.x,Me>0&&B.push(v+$/2),P.push(z),Ie.pathTo.forEach(function(He,Ze){var Ut=!n.isBoxPlot&&n.candlestickOptions.wick.useFillColor?Ie.color[Ze]:l.globals.stroke.colors[T],sr=g.fillPath({seriesNumber:N,dataPointIndex:Me,color:Ie.color[Ze],value:r[T][Me]});n.renderSeries({realIndex:N,pathFill:sr,lineFill:Ut,j:Me,i:T,pathFrom:Ie.pathFrom,pathTo:He,strokeWidth:De,elSeries:W,x:v,y:z,series:r,barHeight:G,barWidth:$,elDataLabelsWrap:te,visibleSeries:n.visibleI,type:l.config.chart.type})})},me=0;me<l.globals.dataPoints;me++)ce(me);l.globals.seriesXvalues[N]=B,l.globals.seriesYvalues[N]=P,b.add(W)},C=0;C<r.length;C++)y(C);return b}},{key:"drawVerticalBoxPaths",value:function(r){var i=r.indexes,s=r.x;r.y;var n=r.xDivision,l=r.barWidth,h=r.zeroH,p=r.strokeWidth,g=this.w,x=new U(this.ctx),b=i.i,y=i.j,C=!0,T=g.config.plotOptions.candlestick.colors.upward,M=g.config.plotOptions.candlestick.colors.downward,R="";this.isBoxPlot&&(R=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var _=this.yRatio[this.yaxisIndex],d=i.realIndex,v=this.getOHLCValue(d,y),z=h,P=h;v.o>v.c&&(C=!1);var B=Math.min(v.o,v.c),N=Math.max(v.o,v.c),W=v.m;g.globals.isXNumeric&&(s=(g.globals.seriesX[d][y]-g.globals.minX)/this.xRatio-l/2);var G=s+l*this.visibleI;this.series[b][y]===void 0||this.series[b][y]===null?(B=h,N=h):(B=h-B/_,N=h-N/_,z=h-v.h/_,P=h-v.l/_,W=h-v.m/_);var $=x.move(G,h),ie=x.move(G+l/2,B);return g.globals.previousPaths.length>0&&(ie=this.getPreviousPath(d,y,!0)),$=this.isBoxPlot?[x.move(G,B)+x.line(G+l/2,B)+x.line(G+l/2,z)+x.line(G+l/4,z)+x.line(G+l-l/4,z)+x.line(G+l/2,z)+x.line(G+l/2,B)+x.line(G+l,B)+x.line(G+l,W)+x.line(G,W)+x.line(G,B+p/2),x.move(G,W)+x.line(G+l,W)+x.line(G+l,N)+x.line(G+l/2,N)+x.line(G+l/2,P)+x.line(G+l-l/4,P)+x.line(G+l/4,P)+x.line(G+l/2,P)+x.line(G+l/2,N)+x.line(G,N)+x.line(G,W)+"z"]:[x.move(G,N)+x.line(G+l/2,N)+x.line(G+l/2,z)+x.line(G+l/2,N)+x.line(G+l,N)+x.line(G+l,B)+x.line(G+l/2,B)+x.line(G+l/2,P)+x.line(G+l/2,B)+x.line(G,B)+x.line(G,N-p/2)],ie+=x.move(G,B),g.globals.isXNumeric||(s+=n),{pathTo:$,pathFrom:ie,x:s,y:N,barXPosition:G,color:this.isBoxPlot?R:C?[T]:[M]}}},{key:"drawHorizontalBoxPaths",value:function(r){var i=r.indexes;r.x;var s=r.y,n=r.yDivision,l=r.barHeight,h=r.zeroW,p=r.strokeWidth,g=this.w,x=new U(this.ctx),b=i.i,y=i.j,C=this.boxOptions.colors.lower;this.isBoxPlot&&(C=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var T=this.invertedYRatio,M=i.realIndex,R=this.getOHLCValue(M,y),_=h,d=h,v=Math.min(R.o,R.c),z=Math.max(R.o,R.c),P=R.m;g.globals.isXNumeric&&(s=(g.globals.seriesX[M][y]-g.globals.minX)/this.invertedXRatio-l/2);var B=s+l*this.visibleI;this.series[b][y]===void 0||this.series[b][y]===null?(v=h,z=h):(v=h+v/T,z=h+z/T,_=h+R.h/T,d=h+R.l/T,P=h+R.m/T);var N=x.move(h,B),W=x.move(v,B+l/2);return g.globals.previousPaths.length>0&&(W=this.getPreviousPath(M,y,!0)),N=[x.move(v,B)+x.line(v,B+l/2)+x.line(_,B+l/2)+x.line(_,B+l/2-l/4)+x.line(_,B+l/2+l/4)+x.line(_,B+l/2)+x.line(v,B+l/2)+x.line(v,B+l)+x.line(P,B+l)+x.line(P,B)+x.line(v+p/2,B),x.move(P,B)+x.line(P,B+l)+x.line(z,B+l)+x.line(z,B+l/2)+x.line(d,B+l/2)+x.line(d,B+l-l/4)+x.line(d,B+l/4)+x.line(d,B+l/2)+x.line(z,B+l/2)+x.line(z,B)+x.line(P,B)+"z"],W+=x.move(v,B),g.globals.isXNumeric||(s+=n),{pathTo:N,pathFrom:W,x:z,y:s,barYPosition:B,color:C}}},{key:"getOHLCValue",value:function(r,i){var s=this.w;return{o:this.isBoxPlot?s.globals.seriesCandleH[r][i]:s.globals.seriesCandleO[r][i],h:this.isBoxPlot?s.globals.seriesCandleO[r][i]:s.globals.seriesCandleH[r][i],m:s.globals.seriesCandleM[r][i],l:this.isBoxPlot?s.globals.seriesCandleC[r][i]:s.globals.seriesCandleL[r][i],c:this.isBoxPlot?s.globals.seriesCandleL[r][i]:s.globals.seriesCandleC[r][i]}}}]),t}(),io=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,r=e.config.plotOptions[e.config.chart.type];return r.colorScale.ranges.length>0&&r.colorScale.ranges.map(function(i,s){i.from<=0&&(t=!0)}),t}},{key:"getShadeColor",value:function(e,t,r,i){var s=this.w,n=1,l=s.config.plotOptions[e].shadeIntensity,h=this.determineColor(e,t,r);s.globals.hasNegs||i?n=s.config.plotOptions[e].reverseNegativeShade?h.percent<0?h.percent/100*(1.25*l):(1-h.percent/100)*(1.25*l):h.percent<=0?1-(1+h.percent/100)*l:(1-h.percent/100)*l:(n=1-h.percent/100,e==="treemap"&&(n=(1-h.percent/100)*(1.25*l)));var p=h.color,g=new O;return s.config.plotOptions[e].enableShades&&(p=this.w.config.theme.mode==="dark"?O.hexToRgba(g.shadeColor(-1*n,h.color),s.config.fill.opacity):O.hexToRgba(g.shadeColor(n,h.color),s.config.fill.opacity)),{color:p,colorProps:h}}},{key:"determineColor",value:function(e,t,r){var i=this.w,s=i.globals.series[t][r],n=i.config.plotOptions[e],l=n.colorScale.inverse?r:t;n.distributed&&i.config.chart.type==="treemap"&&(l=r);var h=i.globals.colors[l],p=null,g=Math.min.apply(Math,J(i.globals.series[t])),x=Math.max.apply(Math,J(i.globals.series[t]));n.distributed||e!=="heatmap"||(g=i.globals.minY,x=i.globals.maxY),n.colorScale.min!==void 0&&(g=n.colorScale.min<i.globals.minY?n.colorScale.min:i.globals.minY,x=n.colorScale.max>i.globals.maxY?n.colorScale.max:i.globals.maxY);var b=Math.abs(x)+Math.abs(g),y=100*s/(b===0?b-1e-6:b);return n.colorScale.ranges.length>0&&n.colorScale.ranges.map(function(C,T){if(s>=C.from&&s<=C.to){h=C.color,p=C.foreColor?C.foreColor:null,g=C.from,x=C.to;var M=Math.abs(x)+Math.abs(g);y=100*s/(M===0?M-1e-6:M)}}),{color:h,foreColor:p,percent:y}}},{key:"calculateDataLabels",value:function(e){var t=e.text,r=e.x,i=e.y,s=e.i,n=e.j,l=e.colorProps,h=e.fontSize,p=this.w.config.dataLabels,g=new U(this.ctx),x=new ge(this.ctx),b=null;if(p.enabled){b=g.group({class:"apexcharts-data-labels"});var y=p.offsetX,C=p.offsetY,T=r+y,M=i+parseFloat(p.style.fontSize)/3+C;x.plotDataLabelsText({x:T,y:M,text:t,i:s,j:n,color:l.foreColor,parent:b,fontSize:h,dataLabelsConfig:p})}return b}},{key:"addListeners",value:function(e){var t=new U(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),E}(),bu=function(){function E(e,t){m(this,E),this.ctx=e,this.w=e.w,this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new io(e),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return w(E,[{key:"draw",value:function(e){var t=this.w,r=new U(this.ctx),i=r.group({class:"apexcharts-heatmap"});i.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var s=t.globals.gridWidth/t.globals.dataPoints,n=t.globals.gridHeight/t.globals.series.length,l=0,h=!1;this.negRange=this.helpers.checkColorRange();var p=e.slice();t.config.yaxis[0].reversed&&(h=!0,p.reverse());for(var g=h?0:p.length-1;h?g<p.length:g>=0;h?g++:g--){var x=r.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:O.escapeString(t.globals.seriesNames[g]),rel:g+1,"data:realIndex":g});if(this.ctx.series.addCollapsedClassToSeries(x,g),t.config.chart.dropShadow.enabled){var b=t.config.chart.dropShadow;new le(this.ctx).dropShadow(x,b,g)}for(var y=0,C=t.config.plotOptions.heatmap.shadeIntensity,T=0;T<p[g].length;T++){var M=this.helpers.getShadeColor(t.config.chart.type,g,T,this.negRange),R=M.color,_=M.colorProps;t.config.fill.type==="image"&&(R=new Ne(this.ctx).fillPath({seriesNumber:g,dataPointIndex:T,opacity:t.globals.hasNegs?_.percent<0?1-(1+_.percent/100):C+_.percent/100:_.percent/100,patternID:O.randomId(),width:t.config.fill.image.width?t.config.fill.image.width:s,height:t.config.fill.image.height?t.config.fill.image.height:n}));var d=this.rectRadius,v=r.drawRect(y,l,s,n,d);if(v.attr({cx:y,cy:l}),v.node.classList.add("apexcharts-heatmap-rect"),x.add(v),v.attr({fill:R,i:g,index:g,j:T,val:p[g][T],"stroke-width":this.strokeWidth,stroke:t.config.plotOptions.heatmap.useFillColorAsStroke?R:t.globals.stroke.colors[0],color:R}),this.helpers.addListeners(v),t.config.chart.animations.enabled&&!t.globals.dataChanged){var z=1;t.globals.resized||(z=t.config.chart.animations.speed),this.animateHeatMap(v,y,l,s,n,z)}if(t.globals.dataChanged){var P=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){P=this.dynamicAnim.speed;var B=t.globals.previousPaths[g]&&t.globals.previousPaths[g][T]&&t.globals.previousPaths[g][T].color;B||(B="rgba(255, 255, 255, 0)"),this.animateHeatColor(v,O.isColorHex(B)?B:O.rgb2hex(B),O.isColorHex(R)?R:O.rgb2hex(R),P)}}var N=(0,t.config.dataLabels.formatter)(t.globals.series[g][T],{value:t.globals.series[g][T],seriesIndex:g,dataPointIndex:T,w:t}),W=this.helpers.calculateDataLabels({text:N,x:y+s/2,y:l+n/2,i:g,j:T,colorProps:_,series:p});W!==null&&x.add(W),y+=s}l+=n,i.add(x)}var G=t.globals.yAxisScale[0].result.slice();t.config.yaxis[0].reversed?G.unshift(""):G.push(""),t.globals.yAxisScale[0].result=G;var $=t.globals.gridHeight/t.globals.series.length;return t.config.yaxis[0].labels.offsetY=-$/2,i}},{key:"animateHeatMap",value:function(e,t,r,i,s,n){var l=new se(this.ctx);l.animateRect(e,{x:t+i/2,y:r+s/2,width:0,height:0},{x:t,y:r,width:i,height:s},n,function(){l.animationCompleted(e)})}},{key:"animateHeatColor",value:function(e,t,r,i){e.attr({fill:t}).animate(i).attr({fill:r})}}]),E}(),so=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"drawYAxisTexts",value:function(e,t,r,i){var s=this.w,n=s.config.yaxis[0],l=s.globals.yLabelFormatters[0];return new U(this.ctx).drawText({x:e+n.labels.offsetX,y:t+n.labels.offsetY,text:l(i,r),textAnchor:"middle",fontSize:n.labels.style.fontSize,fontFamily:n.labels.style.fontFamily,foreColor:Array.isArray(n.labels.style.colors)?n.labels.style.colors[r]:n.labels.style.colors})}}]),E}(),no=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w;var t=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=Math.min(t.globals.gridWidth,t.globals.gridHeight),this.centerY=this.defaultSize/2,this.centerX=t.globals.gridWidth/2,t.config.chart.type==="radialBar"?this.fullAngle=360:this.fullAngle=Math.abs(t.config.plotOptions.pie.endAngle-t.config.plotOptions.pie.startAngle),this.initialAngle=t.config.plotOptions.pie.startAngle%this.fullAngle,t.globals.radialSize=this.defaultSize/2.05-t.config.stroke.width-(t.config.chart.sparkline.enabled?0:t.config.chart.dropShadow.blur),this.donutSize=t.globals.radialSize*parseInt(t.config.plotOptions.pie.donut.size,10)/100,this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return w(E,[{key:"draw",value:function(e){var t=this,r=this.w,i=new U(this.ctx);if(this.ret=i.group({class:"apexcharts-pie"}),r.globals.noData)return this.ret;for(var s=0,n=0;n<e.length;n++)s+=O.negToZero(e[n]);var l=[],h=i.group();s===0&&(s=1e-5),e.forEach(function(B){t.maxY=Math.max(t.maxY,B)}),r.config.yaxis[0].max&&(this.maxY=r.config.yaxis[0].max),r.config.grid.position==="back"&&this.chartType==="polarArea"&&this.drawPolarElements(this.ret);for(var p=0;p<e.length;p++){var g=this.fullAngle*O.negToZero(e[p])/s;l.push(g),this.chartType==="polarArea"?(l[p]=this.fullAngle/e.length,this.sliceSizes.push(r.globals.radialSize*e[p]/this.maxY)):this.sliceSizes.push(r.globals.radialSize)}if(r.globals.dataChanged){for(var x,b=0,y=0;y<r.globals.previousPaths.length;y++)b+=O.negToZero(r.globals.previousPaths[y]);for(var C=0;C<r.globals.previousPaths.length;C++)x=this.fullAngle*O.negToZero(r.globals.previousPaths[C])/b,this.prevSectorAngleArr.push(x)}this.donutSize<0&&(this.donutSize=0);var T=r.config.plotOptions.pie.customScale,M=r.globals.gridWidth/2,R=r.globals.gridHeight/2,_=M-r.globals.gridWidth/2*T,d=R-r.globals.gridHeight/2*T;if(this.chartType==="donut"){var v=i.drawCircle(this.donutSize);v.attr({cx:this.centerX,cy:this.centerY,fill:r.config.plotOptions.pie.donut.background?r.config.plotOptions.pie.donut.background:"transparent"}),h.add(v)}var z=this.drawArcs(l,e);if(this.sliceLabels.forEach(function(B){z.add(B)}),h.attr({transform:"translate(".concat(_,", ").concat(d,") scale(").concat(T,")")}),h.add(z),this.ret.add(h),this.donutDataLabels.show){var P=this.renderInnerDataLabels(this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show,translateX:_,translateY:d});this.ret.add(P)}return r.config.grid.position==="front"&&this.chartType==="polarArea"&&this.drawPolarElements(this.ret),this.ret}},{key:"drawArcs",value:function(e,t){var r=this.w,i=new le(this.ctx),s=new U(this.ctx),n=new Ne(this.ctx),l=s.group({class:"apexcharts-slices"}),h=this.initialAngle,p=this.initialAngle,g=this.initialAngle,x=this.initialAngle;this.strokeWidth=r.config.stroke.show?r.config.stroke.width:0;for(var b=0;b<e.length;b++){var y=s.group({class:"apexcharts-series apexcharts-pie-series",seriesName:O.escapeString(r.globals.seriesNames[b]),rel:b+1,"data:realIndex":b});l.add(y),p=x,g=(h=g)+e[b],x=p+this.prevSectorAngleArr[b];var C=g<h?this.fullAngle+g-h:g-h,T=n.fillPath({seriesNumber:b,size:this.sliceSizes[b],value:t[b]}),M=this.getChangedPath(p,x),R=s.drawPath({d:M,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[b]:this.lineColorArr,strokeWidth:0,fill:T,fillOpacity:r.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(b)});if(R.attr({index:0,j:b}),i.setSelectionFilter(R,0,b),r.config.chart.dropShadow.enabled){var _=r.config.chart.dropShadow;i.dropShadow(R,_,b)}this.addListeners(R,this.donutDataLabels),U.setAttrs(R.node,{"data:angle":C,"data:startAngle":h,"data:strokeWidth":this.strokeWidth,"data:value":t[b]});var d={x:0,y:0};this.chartType==="pie"||this.chartType==="polarArea"?d=O.polarToCartesian(this.centerX,this.centerY,r.globals.radialSize/1.25+r.config.plotOptions.pie.dataLabels.offset,(h+C/2)%this.fullAngle):this.chartType==="donut"&&(d=O.polarToCartesian(this.centerX,this.centerY,(r.globals.radialSize+this.donutSize)/2+r.config.plotOptions.pie.dataLabels.offset,(h+C/2)%this.fullAngle)),y.add(R);var v=0;if(!this.initialAnim||r.globals.resized||r.globals.dataChanged?this.animBeginArr.push(0):((v=C/this.fullAngle*r.config.chart.animations.speed)===0&&(v=1),this.animDur=v+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&r.globals.dataChanged?this.animatePaths(R,{size:this.sliceSizes[b],endAngle:g,startAngle:h,prevStartAngle:p,prevEndAngle:x,animateStartingPos:!0,i:b,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:r.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(R,{size:this.sliceSizes[b],endAngle:g,startAngle:h,i:b,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:v}),r.config.plotOptions.pie.expandOnClick&&this.chartType!=="polarArea"&&R.click(this.pieClicked.bind(this,b)),r.globals.selectedDataPoints[0]!==void 0&&r.globals.selectedDataPoints[0].indexOf(b)>-1&&this.pieClicked(b),r.config.dataLabels.enabled){var z=d.x,P=d.y,B=100*C/this.fullAngle+"%";if(C!==0&&r.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[b]){var N=r.config.dataLabels.formatter;N!==void 0&&(B=N(r.globals.seriesPercent[b][0],{seriesIndex:b,w:r}));var W=r.globals.dataLabels.style.colors[b],G=s.group({class:"apexcharts-datalabels"}),$=s.drawText({x:z,y:P,text:B,textAnchor:"middle",fontSize:r.config.dataLabels.style.fontSize,fontFamily:r.config.dataLabels.style.fontFamily,fontWeight:r.config.dataLabels.style.fontWeight,foreColor:W});if(G.add($),r.config.dataLabels.dropShadow.enabled){var ie=r.config.dataLabels.dropShadow;i.dropShadow($,ie)}$.node.classList.add("apexcharts-pie-label"),r.config.chart.animations.animate&&r.globals.resized===!1&&($.node.classList.add("apexcharts-pie-label-delay"),$.node.style.animationDelay=r.config.chart.animations.speed/940+"s"),this.sliceLabels.push(G)}}}return l}},{key:"addListeners",value:function(e,t){var r=new U(this.ctx);e.node.addEventListener("mouseenter",r.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",r.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",r.pathMouseDown.bind(this,e)),this.donutDataLabels.total.showAlways||(e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t)))}},{key:"animatePaths",value:function(e,t){var r=this.w,i=t.endAngle<t.startAngle?this.fullAngle+t.endAngle-t.startAngle:t.endAngle-t.startAngle,s=i,n=t.startAngle,l=t.startAngle;t.prevStartAngle!==void 0&&t.prevEndAngle!==void 0&&(n=t.prevEndAngle,s=t.prevEndAngle<t.prevStartAngle?this.fullAngle+t.prevEndAngle-t.prevStartAngle:t.prevEndAngle-t.prevStartAngle),t.i===r.config.series.length-1&&(i+l>this.fullAngle?t.endAngle=t.endAngle-(i+l):i+l<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(i+l)))),i===this.fullAngle&&(i=this.fullAngle-.01),this.animateArc(e,n,l,i,s,t)}},{key:"animateArc",value:function(e,t,r,i,s,n){var l,h=this,p=this.w,g=new se(this.ctx),x=n.size;(isNaN(t)||isNaN(s))&&(t=r,s=i,n.dur=0);var b=i,y=r,C=t<r?this.fullAngle+t-r:t-r;p.globals.dataChanged&&n.shouldSetPrevPaths&&n.prevEndAngle&&(l=h.getPiePath({me:h,startAngle:n.prevStartAngle,angle:n.prevEndAngle<n.prevStartAngle?this.fullAngle+n.prevEndAngle-n.prevStartAngle:n.prevEndAngle-n.prevStartAngle,size:x}),e.attr({d:l})),n.dur!==0?e.animate(n.dur,p.globals.easing,n.animBeginArr[n.i]).afterAll(function(){h.chartType!=="pie"&&h.chartType!=="donut"&&h.chartType!=="polarArea"||this.animate(p.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":h.strokeWidth}),n.i===p.config.series.length-1&&g.animationCompleted(e)}).during(function(T){b=C+(i-C)*T,n.animateStartingPos&&(b=s+(i-s)*T,y=t-s+(r-(t-s))*T),l=h.getPiePath({me:h,startAngle:y,angle:b,size:x}),e.node.setAttribute("data:pathOrig",l),e.attr({d:l})}):(l=h.getPiePath({me:h,startAngle:y,angle:i,size:x}),n.isTrack||(p.globals.animationEnded=!0),e.node.setAttribute("data:pathOrig",l),e.attr({d:l,"stroke-width":h.strokeWidth}))}},{key:"pieClicked",value:function(e){var t,r=this.w,i=this,s=i.sliceSizes[e]+(r.config.plotOptions.pie.expandOnClick?4:0),n=r.globals.dom.Paper.select(".apexcharts-".concat(i.chartType.toLowerCase(),"-slice-").concat(e)).members[0];if(n.attr("data:pieClicked")!=="true"){var l=r.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(l,function(x){x.setAttribute("data:pieClicked","false");var b=x.getAttribute("data:pathOrig");b&&x.setAttribute("d",b)}),n.attr("data:pieClicked","true");var h=parseInt(n.attr("data:startAngle"),10),p=parseInt(n.attr("data:angle"),10);t=i.getPiePath({me:i,startAngle:h,angle:p,size:s}),p!==360&&n.plot(t)}else{n.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(n.node,this.donutDataLabels);var g=n.attr("data:pathOrig");n.attr({d:g})}}},{key:"getChangedPath",value:function(e,t){var r="";return this.dynamicAnim&&this.w.globals.dataChanged&&(r=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),r}},{key:"getPiePath",value:function(e){var t=e.me,r=e.startAngle,i=e.angle,s=e.size,n=r,l=Math.PI*(n-90)/180,h=i+r;Math.ceil(h)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(h=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(h)>this.fullAngle&&(h-=this.fullAngle);var p=Math.PI*(h-90)/180,g=t.centerX+s*Math.cos(l),x=t.centerY+s*Math.sin(l),b=t.centerX+s*Math.cos(p),y=t.centerY+s*Math.sin(p),C=O.polarToCartesian(t.centerX,t.centerY,t.donutSize,h),T=O.polarToCartesian(t.centerX,t.centerY,t.donutSize,n),M=i>180?1:0,R=["M",g,x,"A",s,s,0,M,1,b,y];return t.chartType==="donut"?[].concat(R,["L",C.x,C.y,"A",t.donutSize,t.donutSize,0,M,0,T.x,T.y,"L",g,x,"z"]).join(" "):t.chartType==="pie"||t.chartType==="polarArea"?[].concat(R,["L",t.centerX,t.centerY,"L",g,x]).join(" "):[].concat(R).join(" ")}},{key:"drawPolarElements",value:function(e){var t=this.w,r=new bt(this.ctx),i=new U(this.ctx),s=new so(this.ctx),n=i.group(),l=i.group(),h=r.niceScale(0,Math.ceil(this.maxY),t.config.yaxis[0].tickAmount,0,!0),p=h.result.reverse(),g=h.result.length;this.maxY=h.niceMax;for(var x=t.globals.radialSize,b=x/(g-1),y=0;y<g-1;y++){var C=i.drawCircle(x);if(C.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":t.config.plotOptions.polarArea.rings.strokeWidth,stroke:t.config.plotOptions.polarArea.rings.strokeColor}),t.config.yaxis[0].show){var T=s.drawYAxisTexts(this.centerX,this.centerY-x+parseInt(t.config.yaxis[0].labels.style.fontSize,10)/2,y,p[y]);l.add(T)}n.add(C),x-=b}this.drawSpokes(e),e.add(n),e.add(l)}},{key:"renderInnerDataLabels",value:function(e,t){var r=this.w,i=new U(this.ctx),s=i.group({class:"apexcharts-datalabels-group",transform:"translate(".concat(t.translateX?t.translateX:0,", ").concat(t.translateY?t.translateY:0,") scale(").concat(r.config.plotOptions.pie.customScale,")")}),n=e.total.show;s.node.style.opacity=t.opacity;var l,h,p=t.centerX,g=t.centerY;l=e.name.color===void 0?r.globals.colors[0]:e.name.color;var x=e.name.fontSize,b=e.name.fontFamily,y=e.name.fontWeight;h=e.value.color===void 0?r.config.chart.foreColor:e.value.color;var C=e.value.formatter,T="",M="";if(n?(l=e.total.color,x=e.total.fontSize,b=e.total.fontFamily,y=e.total.fontWeight,M=e.total.label,T=e.total.formatter(r)):r.globals.series.length===1&&(T=C(r.globals.series[0],r),M=r.globals.seriesNames[0]),M&&(M=e.name.formatter(M,e.total.show,r)),e.name.show){var R=i.drawText({x:p,y:g+parseFloat(e.name.offsetY),text:M,textAnchor:"middle",foreColor:l,fontSize:x,fontWeight:y,fontFamily:b});R.node.classList.add("apexcharts-datalabel-label"),s.add(R)}if(e.value.show){var _=e.name.show?parseFloat(e.value.offsetY)+16:e.value.offsetY,d=i.drawText({x:p,y:g+_,text:T,textAnchor:"middle",foreColor:h,fontWeight:e.value.fontWeight,fontSize:e.value.fontSize,fontFamily:e.value.fontFamily});d.node.classList.add("apexcharts-datalabel-value"),s.add(d)}return s}},{key:"printInnerLabels",value:function(e,t,r,i){var s,n=this.w;i?s=e.name.color===void 0?n.globals.colors[parseInt(i.parentNode.getAttribute("rel"),10)-1]:e.name.color:n.globals.series.length>1&&e.total.show&&(s=e.total.color);var l=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),h=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");r=(0,e.value.formatter)(r,n),i||typeof e.total.formatter!="function"||(r=e.total.formatter(n));var p=t===e.total.label;t=e.name.formatter(t,p,n),l!==null&&(l.textContent=t),h!==null&&(h.textContent=r),l!==null&&(l.style.fill=s)}},{key:"printDataLabelsInner",value:function(e,t){var r=this.w,i=e.getAttribute("data:value"),s=r.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];r.globals.series.length>1&&this.printInnerLabels(t,s,i,e);var n=r.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");n!==null&&(n.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,r=this.w,i=new U(this.ctx),s=r.config.plotOptions.polarArea.spokes;if(s.strokeWidth!==0){for(var n=[],l=360/r.globals.series.length,h=0;h<r.globals.series.length;h++)n.push(O.polarToCartesian(this.centerX,this.centerY,r.globals.radialSize,r.config.plotOptions.pie.startAngle+l*h));n.forEach(function(p,g){var x=i.drawLine(p.x,p.y,t.centerX,t.centerY,Array.isArray(s.connectorColors)?s.connectorColors[g]:s.connectorColors);e.add(x)})}}},{key:"revertDataLabelsInner",value:function(e,t,r){var i=this,s=this.w,n=s.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group"),l=!1,h=s.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area"),p=function(b){var y=b.makeSliceOut,C=b.printLabel;Array.prototype.forEach.call(h,function(T){T.getAttribute("data:pieClicked")==="true"&&(y&&(l=!0),C&&i.printDataLabelsInner(T,t))})};if(p({makeSliceOut:!0,printLabel:!1}),t.total.show&&s.globals.series.length>1)l&&!t.total.showAlways?p({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(t,t.total.label,t.total.formatter(s));else if(p({makeSliceOut:!1,printLabel:!0}),!l)if(s.globals.selectedDataPoints.length&&s.globals.series.length>1)if(s.globals.selectedDataPoints[0].length>0){var g=s.globals.selectedDataPoints[0],x=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(g));this.printDataLabelsInner(x,t)}else n&&s.globals.selectedDataPoints.length&&s.globals.selectedDataPoints[0].length===0&&(n.style.opacity=0);else n&&s.globals.series.length>1&&(n.style.opacity=0)}}]),E}(),vu=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var t=this.w;this.graphics=new U(this.ctx),this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=t.globals.svgHeight<t.globals.svgWidth?t.globals.gridHeight+1.5*t.globals.goldenPadding:t.globals.gridWidth,this.isLog=t.config.yaxis[0].logarithmic,this.coreUtils=new re(this.ctx),this.maxValue=this.isLog?this.coreUtils.getLogVal(t.globals.maxY,0):t.globals.maxY,this.minValue=this.isLog?this.coreUtils.getLogVal(this.w.globals.minY,0):t.globals.minY,this.polygons=t.config.plotOptions.radar.polygons,this.strokeWidth=t.config.stroke.show?t.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-t.config.chart.dropShadow.blur,t.config.xaxis.labels.show&&(this.size=this.size-t.globals.xAxisLabelsWidth/1.75),t.config.plotOptions.radar.size!==void 0&&(this.size=t.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return w(E,[{key:"draw",value:function(e){var t=this,r=this.w,i=new Ne(this.ctx),s=[],n=new ge(this.ctx);e.length&&(this.dataPointsLen=e[r.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var l=r.globals.gridWidth/2,h=r.globals.gridHeight/2,p=l+r.config.plotOptions.radar.offsetX,g=h+r.config.plotOptions.radar.offsetY,x=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(p||0,", ").concat(g||0,")")}),b=[],y=null,C=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach(function(M,R){var _=M.length===r.globals.dataPoints,d=t.graphics.group().attr({class:"apexcharts-series","data:longestSeries":_,seriesName:O.escapeString(r.globals.seriesNames[R]),rel:R+1,"data:realIndex":R});t.dataRadiusOfPercent[R]=[],t.dataRadius[R]=[],t.angleArr[R]=[],M.forEach(function(te,ce){var me=Math.abs(t.maxValue-t.minValue);te+=Math.abs(t.minValue),t.isLog&&(te=t.coreUtils.getLogVal(te,0)),t.dataRadiusOfPercent[R][ce]=te/me,t.dataRadius[R][ce]=t.dataRadiusOfPercent[R][ce]*t.size,t.angleArr[R][ce]=ce*t.disAngle}),b=t.getDataPointsPos(t.dataRadius[R],t.angleArr[R]);var v=t.createPaths(b,{x:0,y:0});y=t.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),C=t.graphics.group({class:"apexcharts-datalabels","data:realIndex":R}),r.globals.delayedElements.push({el:y.node,index:R});var z={i:R,realIndex:R,animationDelay:R,initialSpeed:r.config.chart.animations.speed,dataChangeSpeed:r.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:r.globals.stroke.colors[R],strokeLineCap:r.config.stroke.lineCap},P=null;r.globals.previousPaths.length>0&&(P=t.getPreviousPath(R));for(var B=0;B<v.linePathsTo.length;B++){var N=t.graphics.renderPaths(u(u({},z),{},{pathFrom:P===null?v.linePathsFrom[B]:P,pathTo:v.linePathsTo[B],strokeWidth:Array.isArray(t.strokeWidth)?t.strokeWidth[R]:t.strokeWidth,fill:"none",drawShadow:!1}));d.add(N);var W=i.fillPath({seriesNumber:R}),G=t.graphics.renderPaths(u(u({},z),{},{pathFrom:P===null?v.areaPathsFrom[B]:P,pathTo:v.areaPathsTo[B],strokeWidth:0,fill:W,drawShadow:!1}));if(r.config.chart.dropShadow.enabled){var $=new le(t.ctx),ie=r.config.chart.dropShadow;$.dropShadow(G,Object.assign({},ie,{noUserSpaceOnUse:!0}),R)}d.add(G)}M.forEach(function(te,ce){var me=new dt(t.ctx).getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:R,dataPointIndex:ce}),Me=t.graphics.drawMarker(b[ce].x,b[ce].y,me);Me.attr("rel",ce),Me.attr("j",ce),Me.attr("index",R),Me.node.setAttribute("default-marker-size",me.pSize);var De=t.graphics.group({class:"apexcharts-series-markers"});De&&De.add(Me),y.add(De),d.add(y);var Ie=r.config.dataLabels;if(Ie.enabled){var We=Ie.formatter(r.globals.series[R][ce],{seriesIndex:R,dataPointIndex:ce,w:r});n.plotDataLabelsText({x:b[ce].x,y:b[ce].y,text:We,textAnchor:"middle",i:R,j:R,parent:C,offsetCorrection:!1,dataLabelsConfig:u({},Ie)})}d.add(C)}),s.push(d)}),this.drawPolygons({parent:x}),r.config.xaxis.labels.show){var T=this.drawXAxisTexts();x.add(T)}return s.forEach(function(M){x.add(M)}),x.add(this.yaxisLabels),x}},{key:"drawPolygons",value:function(e){for(var t=this,r=this.w,i=e.parent,s=new so(this.ctx),n=r.globals.yAxisScale[0].result.reverse(),l=n.length,h=[],p=this.size/(l-1),g=0;g<l;g++)h[g]=p*g;h.reverse();var x=[],b=[];h.forEach(function(y,C){var T=O.getPolygonPos(y,t.dataPointsLen),M="";T.forEach(function(R,_){if(C===0){var d=t.graphics.drawLine(R.x,R.y,0,0,Array.isArray(t.polygons.connectorColors)?t.polygons.connectorColors[_]:t.polygons.connectorColors);b.push(d)}_===0&&t.yaxisLabelsTextsPos.push({x:R.x,y:R.y}),M+=R.x+","+R.y+" "}),x.push(M)}),x.forEach(function(y,C){var T=t.polygons.strokeColors,M=t.polygons.strokeWidth,R=t.graphics.drawPolygon(y,Array.isArray(T)?T[C]:T,Array.isArray(M)?M[C]:M,r.globals.radarPolygons.fill.colors[C]);i.add(R)}),b.forEach(function(y){i.add(y)}),r.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach(function(y,C){var T=s.drawYAxisTexts(y.x,y.y,C,n[C]);t.yaxisLabels.add(T)})}},{key:"drawXAxisTexts",value:function(){var e=this,t=this.w,r=t.config.xaxis.labels,i=this.graphics.group({class:"apexcharts-xaxis"}),s=O.getPolygonPos(this.size,this.dataPointsLen);return t.globals.labels.forEach(function(n,l){var h=t.config.xaxis.labels.formatter,p=new ge(e.ctx);if(s[l]){var g=e.getTextPos(s[l],e.size),x=h(n,{seriesIndex:-1,dataPointIndex:l,w:t});p.plotDataLabelsText({x:g.newX,y:g.newY,text:x,textAnchor:g.textAnchor,i:l,j:l,parent:i,color:Array.isArray(r.style.colors)&&r.style.colors[l]?r.style.colors[l]:"#a8a8a8",dataLabelsConfig:u({textAnchor:g.textAnchor,dropShadow:{enabled:!1}},r),offsetCorrection:!1})}}),i}},{key:"createPaths",value:function(e,t){var r=this,i=[],s=[],n=[],l=[];if(e.length){s=[this.graphics.move(t.x,t.y)],l=[this.graphics.move(t.x,t.y)];var h=this.graphics.move(e[0].x,e[0].y),p=this.graphics.move(e[0].x,e[0].y);e.forEach(function(g,x){h+=r.graphics.line(g.x,g.y),p+=r.graphics.line(g.x,g.y),x===e.length-1&&(h+="Z",p+="Z")}),i.push(h),n.push(p)}return{linePathsFrom:s,linePathsTo:i,areaPathsFrom:l,areaPathsTo:n}}},{key:"getTextPos",value:function(e,t){var r="middle",i=e.x,s=e.y;return Math.abs(e.x)>=10?e.x>0?(r="start",i+=10):e.x<0&&(r="end",i-=10):r="middle",Math.abs(e.y)>=t-10&&(e.y<0?s-=10:e.y>0&&(s+=10)),{textAnchor:r,newX:i,newY:s}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,r=null,i=0;i<t.globals.previousPaths.length;i++){var s=t.globals.previousPaths[i];s.paths.length>0&&parseInt(s.realIndex,10)===parseInt(e,10)&&t.globals.previousPaths[i].paths[0]!==void 0&&(r=t.globals.previousPaths[i].paths[0].d)}return r}},{key:"getDataPointsPos",value:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var i=[],s=0;s<r;s++){var n={};n.x=e[s]*Math.sin(t[s]),n.y=-e[s]*Math.cos(t[s]),i.push(n)}return i}}]),E}(),yu=function(E){D(t,no);var e=q(t);function t(r){var i;m(this,t),(i=e.call(this,r)).ctx=r,i.w=r.w,i.animBeginArr=[0],i.animDur=0;var s=i.w;return i.startAngle=s.config.plotOptions.radialBar.startAngle,i.endAngle=s.config.plotOptions.radialBar.endAngle,i.totalAngle=Math.abs(s.config.plotOptions.radialBar.endAngle-s.config.plotOptions.radialBar.startAngle),i.trackStartAngle=s.config.plotOptions.radialBar.track.startAngle,i.trackEndAngle=s.config.plotOptions.radialBar.track.endAngle,i.donutDataLabels=i.w.config.plotOptions.radialBar.dataLabels,i.radialDataLabels=i.donutDataLabels,i.trackStartAngle||(i.trackStartAngle=i.startAngle),i.trackEndAngle||(i.trackEndAngle=i.endAngle),i.endAngle===360&&(i.endAngle=359.99),i.margin=parseInt(s.config.plotOptions.radialBar.track.margin,10),i}return w(t,[{key:"draw",value:function(r){var i=this.w,s=new U(this.ctx),n=s.group({class:"apexcharts-radialbar"});if(i.globals.noData)return n;var l=s.group(),h=this.defaultSize/2,p=i.globals.gridWidth/2,g=this.defaultSize/2.05;i.config.chart.sparkline.enabled||(g=g-i.config.stroke.width-i.config.chart.dropShadow.blur);var x=i.globals.fill.colors;if(i.config.plotOptions.radialBar.track.show){var b=this.drawTracks({size:g,centerX:p,centerY:h,colorArr:x,series:r});l.add(b)}var y=this.drawArcs({size:g,centerX:p,centerY:h,colorArr:x,series:r}),C=360;i.config.plotOptions.radialBar.startAngle<0&&(C=this.totalAngle);var T=(360-C)/360;if(i.globals.radialSize=g-g*T,this.radialDataLabels.value.show){var M=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);i.globals.radialSize+=M*T}return l.add(y.g),i.config.plotOptions.radialBar.hollow.position==="front"&&(y.g.add(y.elHollow),y.dataLabels&&y.g.add(y.dataLabels)),n.add(l),n}},{key:"drawTracks",value:function(r){var i=this.w,s=new U(this.ctx),n=s.group({class:"apexcharts-tracks"}),l=new le(this.ctx),h=new Ne(this.ctx),p=this.getStrokeWidth(r);r.size=r.size-p/2;for(var g=0;g<r.series.length;g++){var x=s.group({class:"apexcharts-radialbar-track apexcharts-track"});n.add(x),x.attr({rel:g+1}),r.size=r.size-p-this.margin;var b=i.config.plotOptions.radialBar.track,y=h.fillPath({seriesNumber:0,size:r.size,fillColors:Array.isArray(b.background)?b.background[g]:b.background,solid:!0}),C=this.trackStartAngle,T=this.trackEndAngle;Math.abs(T)+Math.abs(C)>=360&&(T=360-Math.abs(this.startAngle)-.1);var M=s.drawPath({d:"",stroke:y,strokeWidth:p*parseInt(b.strokeWidth,10)/100,fill:"none",strokeOpacity:b.opacity,classes:"apexcharts-radialbar-area"});if(b.dropShadow.enabled){var R=b.dropShadow;l.dropShadow(M,R)}x.add(M),M.attr("id","apexcharts-radialbarTrack-"+g),this.animatePaths(M,{centerX:r.centerX,centerY:r.centerY,endAngle:T,startAngle:C,size:r.size,i:g,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:i.globals.easing})}return n}},{key:"drawArcs",value:function(r){var i=this.w,s=new U(this.ctx),n=new Ne(this.ctx),l=new le(this.ctx),h=s.group(),p=this.getStrokeWidth(r);r.size=r.size-p/2;var g=i.config.plotOptions.radialBar.hollow.background,x=r.size-p*r.series.length-this.margin*r.series.length-p*parseInt(i.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,b=x-i.config.plotOptions.radialBar.hollow.margin;i.config.plotOptions.radialBar.hollow.image!==void 0&&(g=this.drawHollowImage(r,h,x,g));var y=this.drawHollow({size:b,centerX:r.centerX,centerY:r.centerY,fill:g||"transparent"});if(i.config.plotOptions.radialBar.hollow.dropShadow.enabled){var C=i.config.plotOptions.radialBar.hollow.dropShadow;l.dropShadow(y,C)}var T=1;!this.radialDataLabels.total.show&&i.globals.series.length>1&&(T=0);var M=null;this.radialDataLabels.show&&(M=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:x,centerX:r.centerX,centerY:r.centerY,opacity:T})),i.config.plotOptions.radialBar.hollow.position==="back"&&(h.add(y),M&&h.add(M));var R=!1;i.config.plotOptions.radialBar.inverseOrder&&(R=!0);for(var _=R?r.series.length-1:0;R?_>=0:_<r.series.length;R?_--:_++){var d=s.group({class:"apexcharts-series apexcharts-radial-series",seriesName:O.escapeString(i.globals.seriesNames[_])});h.add(d),d.attr({rel:_+1,"data:realIndex":_}),this.ctx.series.addCollapsedClassToSeries(d,_),r.size=r.size-p-this.margin;var v=n.fillPath({seriesNumber:_,size:r.size,value:r.series[_]}),z=this.startAngle,P=void 0,B=O.negToZero(r.series[_]>100?100:r.series[_])/100,N=Math.round(this.totalAngle*B)+this.startAngle,W=void 0;i.globals.dataChanged&&(P=this.startAngle,W=Math.round(this.totalAngle*O.negToZero(i.globals.previousPaths[_])/100)+P),Math.abs(N)+Math.abs(z)>=360&&(N-=.01),Math.abs(W)+Math.abs(P)>=360&&(W-=.01);var G=N-z,$=Array.isArray(i.config.stroke.dashArray)?i.config.stroke.dashArray[_]:i.config.stroke.dashArray,ie=s.drawPath({d:"",stroke:v,strokeWidth:p,fill:"none",fillOpacity:i.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+_,strokeDashArray:$});if(U.setAttrs(ie.node,{"data:angle":G,"data:value":r.series[_]}),i.config.chart.dropShadow.enabled){var te=i.config.chart.dropShadow;l.dropShadow(ie,te,_)}l.setSelectionFilter(ie,0,_),this.addListeners(ie,this.radialDataLabels),d.add(ie),ie.attr({index:0,j:_});var ce=0;!this.initialAnim||i.globals.resized||i.globals.dataChanged||(ce=i.config.chart.animations.speed),i.globals.dataChanged&&(ce=i.config.chart.animations.dynamicAnimation.speed),this.animDur=ce/(1.2*r.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(ie,{centerX:r.centerX,centerY:r.centerY,endAngle:N,startAngle:z,prevEndAngle:W,prevStartAngle:P,size:r.size,i:_,totalItems:2,animBeginArr:this.animBeginArr,dur:ce,shouldSetPrevPaths:!0,easing:i.globals.easing})}return{g:h,elHollow:y,dataLabels:M}}},{key:"drawHollow",value:function(r){var i=new U(this.ctx).drawCircle(2*r.size);return i.attr({class:"apexcharts-radialbar-hollow",cx:r.centerX,cy:r.centerY,r:r.size,fill:r.fill}),i}},{key:"drawHollowImage",value:function(r,i,s,n){var l=this.w,h=new Ne(this.ctx),p=O.randomId(),g=l.config.plotOptions.radialBar.hollow.image;if(l.config.plotOptions.radialBar.hollow.imageClipped)h.clippedImgArea({width:s,height:s,image:g,patternID:"pattern".concat(l.globals.cuid).concat(p)}),n="url(#pattern".concat(l.globals.cuid).concat(p,")");else{var x=l.config.plotOptions.radialBar.hollow.imageWidth,b=l.config.plotOptions.radialBar.hollow.imageHeight;if(x===void 0&&b===void 0){var y=l.globals.dom.Paper.image(g).loaded(function(T){this.move(r.centerX-T.width/2+l.config.plotOptions.radialBar.hollow.imageOffsetX,r.centerY-T.height/2+l.config.plotOptions.radialBar.hollow.imageOffsetY)});i.add(y)}else{var C=l.globals.dom.Paper.image(g).loaded(function(T){this.move(r.centerX-x/2+l.config.plotOptions.radialBar.hollow.imageOffsetX,r.centerY-b/2+l.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(x,b)});i.add(C)}}return n}},{key:"getStrokeWidth",value:function(r){var i=this.w;return r.size*(100-parseInt(i.config.plotOptions.radialBar.hollow.size,10))/100/(r.series.length+1)-this.margin}}]),t}(),wu=function(E){D(t,br);var e=q(t);function t(){return m(this,t),e.apply(this,arguments)}return w(t,[{key:"draw",value:function(r,i){var s=this.w,n=new U(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=r,this.seriesRangeStart=s.globals.seriesRangeStart,this.seriesRangeEnd=s.globals.seriesRangeEnd,this.barHelpers.initVariables(r);for(var l=n.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),h=0;h<r.length;h++){var p,g,x,b,y=void 0,C=void 0,T=s.globals.comboCharts?i[h]:h,M=n.group({class:"apexcharts-series",seriesName:O.escapeString(s.globals.seriesNames[T]),rel:h+1,"data:realIndex":T});this.ctx.series.addCollapsedClassToSeries(M,T),r[h].length>0&&(this.visibleI=this.visibleI+1);var R=0,_=0;this.yRatio.length>1&&(this.yaxisIndex=T);var d=this.barHelpers.initialPositions();C=d.y,b=d.zeroW,y=d.x,_=d.barWidth,R=d.barHeight,p=d.xDivision,g=d.yDivision,x=d.zeroH;for(var v=n.group({class:"apexcharts-datalabels","data:realIndex":T}),z=n.group({class:"apexcharts-rangebar-goals-markers"}),P=0;P<s.globals.dataPoints;P++){var B,N=this.barHelpers.getStrokeWidth(h,P,T),W=this.seriesRangeStart[h][P],G=this.seriesRangeEnd[h][P],$=null,ie=null,te=null,ce={x:y,y:C,strokeWidth:N,elSeries:M},me=this.seriesLen;if(s.config.plotOptions.bar.rangeBarGroupRows&&(me=1),s.config.series[h].data[P]===void 0)break;if(this.isHorizontal){te=C+R*this.visibleI;var Me=(g-R*me)/2;if(s.config.series[h].data[P].x){var De=this.detectOverlappingBars({i:h,j:P,barYPosition:te,srty:Me,barHeight:R,yDivision:g,initPositions:d});R=De.barHeight,te=De.barYPosition}_=($=this.drawRangeBarPaths(u({indexes:{i:h,j:P,realIndex:T},barHeight:R,barYPosition:te,zeroW:b,yDivision:g,y1:W,y2:G},ce))).barWidth}else{s.globals.isXNumeric&&(y=(s.globals.seriesX[h][P]-s.globals.minX)/this.xRatio-_/2),ie=y+_*this.visibleI;var Ie=(p-_*me)/2;if(s.config.series[h].data[P].x){var We=this.detectOverlappingBars({i:h,j:P,barXPosition:ie,srtx:Ie,barWidth:_,xDivision:p,initPositions:d});_=We.barWidth,ie=We.barXPosition}R=($=this.drawRangeColumnPaths(u({indexes:{i:h,j:P,realIndex:T},barWidth:_,barXPosition:ie,zeroH:x,xDivision:p},ce))).barHeight}var He=this.barHelpers.drawGoalLine({barXPosition:$.barXPosition,barYPosition:te,goalX:$.goalX,goalY:$.goalY,barHeight:R,barWidth:_});He&&z.add(He),C=$.y,y=$.x;var Ze=this.barHelpers.getPathFillColor(r,h,P,T),Ut=s.globals.stroke.colors[T];this.renderSeries((S(B={realIndex:T,pathFill:Ze,lineFill:Ut,j:P,i:h,x:y,y:C,y1:W,y2:G,pathFrom:$.pathFrom,pathTo:$.pathTo,strokeWidth:N,elSeries:M,series:r,barHeight:R,barWidth:_,barXPosition:ie,barYPosition:te},"barWidth",_),S(B,"elDataLabelsWrap",v),S(B,"elGoalsMarkers",z),S(B,"visibleSeries",this.visibleI),S(B,"type","rangebar"),B))}l.add(M)}return l}},{key:"detectOverlappingBars",value:function(r){var i=r.i,s=r.j,n=r.barYPosition,l=r.barXPosition,h=r.srty,p=r.srtx,g=r.barHeight,x=r.barWidth,b=r.yDivision,y=r.xDivision,C=r.initPositions,T=this.w,M=[],R=T.config.series[i].data[s].rangeName,_=T.config.series[i].data[s].x,d=Array.isArray(_)?_.join(" "):_,v=T.globals.labels.map(function(P){return Array.isArray(P)?P.join(" "):P}).indexOf(d),z=T.globals.seriesRange[i].findIndex(function(P){return P.x===d&&P.overlaps.length>0});return this.isHorizontal?(n=T.config.plotOptions.bar.rangeBarGroupRows?h+b*v:h+g*this.visibleI+b*v,z>-1&&!T.config.plotOptions.bar.rangeBarOverlap&&(M=T.globals.seriesRange[i][z].overlaps).indexOf(R)>-1&&(n=(g=C.barHeight/M.length)*this.visibleI+b*(100-parseInt(this.barOptions.barHeight,10))/100/2+g*(this.visibleI+M.indexOf(R))+b*v)):(v>-1&&(l=T.config.plotOptions.bar.rangeBarGroupRows?p+y*v:p+x*this.visibleI+y*v),z>-1&&!T.config.plotOptions.bar.rangeBarOverlap&&(M=T.globals.seriesRange[i][z].overlaps).indexOf(R)>-1&&(l=(x=C.barWidth/M.length)*this.visibleI+y*(100-parseInt(this.barOptions.barWidth,10))/100/2+x*(this.visibleI+M.indexOf(R))+y*v)),{barYPosition:n,barXPosition:l,barHeight:g,barWidth:x}}},{key:"drawRangeColumnPaths",value:function(r){var i=r.indexes,s=r.x,n=r.xDivision,l=r.barWidth,h=r.barXPosition,p=r.zeroH,g=this.w,x=i.i,b=i.j,y=this.yRatio[this.yaxisIndex],C=i.realIndex,T=this.getRangeValue(C,b),M=Math.min(T.start,T.end),R=Math.max(T.start,T.end);this.series[x][b]===void 0||this.series[x][b]===null?M=p:(M=p-M/y,R=p-R/y);var _=Math.abs(R-M),d=this.barHelpers.getColumnPaths({barXPosition:h,barWidth:l,y1:M,y2:R,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:i.realIndex,i:C,j:b,w:g});return g.globals.isXNumeric||(s+=n),{pathTo:d.pathTo,pathFrom:d.pathFrom,barHeight:_,x:s,y:R,goalY:this.barHelpers.getGoalValues("y",null,p,x,b),barXPosition:h}}},{key:"drawRangeBarPaths",value:function(r){var i=r.indexes,s=r.y,n=r.y1,l=r.y2,h=r.yDivision,p=r.barHeight,g=r.barYPosition,x=r.zeroW,b=this.w,y=x+n/this.invertedYRatio,C=x+l/this.invertedYRatio,T=Math.abs(C-y),M=this.barHelpers.getBarpaths({barYPosition:g,barHeight:p,x1:y,x2:C,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:i.realIndex,realIndex:i.realIndex,j:i.j,w:b});return b.globals.isXNumeric||(s+=h),{pathTo:M.pathTo,pathFrom:M.pathFrom,barWidth:T,x:C,goalX:this.barHelpers.getGoalValues("x",x,null,i.realIndex,i.j),y:s}}},{key:"getRangeValue",value:function(r,i){var s=this.w;return{start:s.globals.seriesRangeStart[r][i],end:s.globals.seriesRangeEnd[r][i]}}}]),t}(),ku=function(){function E(e){m(this,E),this.w=e.w,this.lineCtx=e}return w(E,[{key:"sameValueSeriesFix",value:function(e,t){var r=this.w;if((r.config.fill.type==="gradient"||r.config.fill.type[e]==="gradient")&&new re(this.lineCtx.ctx,r).seriesHaveSameValues(e)){var i=t[e].slice();i[i.length-1]=i[i.length-1]+1e-6,t[e]=i}return t}},{key:"calculatePoints",value:function(e){var t=e.series,r=e.realIndex,i=e.x,s=e.y,n=e.i,l=e.j,h=e.prevY,p=this.w,g=[],x=[];if(l===0){var b=this.lineCtx.categoryAxisCorrection+p.config.markers.offsetX;p.globals.isXNumeric&&(b=(p.globals.seriesX[r][0]-p.globals.minX)/this.lineCtx.xRatio+p.config.markers.offsetX),g.push(b),x.push(O.isNumber(t[n][0])?h+p.config.markers.offsetY:null),g.push(i+p.config.markers.offsetX),x.push(O.isNumber(t[n][l+1])?s+p.config.markers.offsetY:null)}else g.push(i+p.config.markers.offsetX),x.push(O.isNumber(t[n][l+1])?s+p.config.markers.offsetY:null);return{x:g,y:x}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,r=e.pathFromArea,i=e.realIndex,s=this.w,n=0;n<s.globals.previousPaths.length;n++){var l=s.globals.previousPaths[n];(l.type==="line"||l.type==="area")&&l.paths.length>0&&parseInt(l.realIndex,10)===parseInt(i,10)&&(l.type==="line"?(this.lineCtx.appendPathFrom=!1,t=s.globals.previousPaths[n].paths[0].d):l.type==="area"&&(this.lineCtx.appendPathFrom=!1,r=s.globals.previousPaths[n].paths[0].d,s.config.stroke.show&&s.globals.previousPaths[n].paths[1]&&(t=s.globals.previousPaths[n].paths[1].d)))}return{pathFromLine:t,pathFromArea:r}}},{key:"determineFirstPrevY",value:function(e){var t,r=e.i,i=e.series,s=e.prevY,n=e.lineYPosition,l=this.w;if(((t=i[r])===null||t===void 0?void 0:t[0])!==void 0)s=(n=l.config.chart.stacked&&r>0?this.lineCtx.prevSeriesY[r-1][0]:this.lineCtx.zeroY)-i[r][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?i[r][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(l.config.chart.stacked&&r>0&&i[r][0]===void 0){for(var h=r-1;h>=0;h--)if(i[h][0]!==null&&i[h][0]!==void 0){s=n=this.lineCtx.prevSeriesY[h][0];break}}return{prevY:s,lineYPosition:n}}}]),E}(),Ci=function(){function E(e,t,r){m(this,E),this.ctx=e,this.w=e.w,this.xyRatios=t,this.pointsChart=!(this.w.config.chart.type!=="bubble"&&this.w.config.chart.type!=="scatter")||r,this.scatter=new xt(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new ku(this),this.markers=new dt(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return w(E,[{key:"draw",value:function(e,t,r,i){var s=this.w,n=new U(this.ctx),l=s.globals.comboCharts?t:s.config.chart.type,h=n.group({class:"apexcharts-".concat(l,"-series apexcharts-plot-series")}),p=new re(this.ctx,s);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=p.getLogSeries(e),this.yRatio=p.getLogYRatios(this.yRatio);for(var g=[],x=0;x<e.length;x++){e=this.lineHelpers.sameValueSeriesFix(x,e);var b=s.globals.comboCharts?r[x]:x;this._initSerieVariables(e,x,b);var y=[],C=[],T=s.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,b),s.globals.isXNumeric&&s.globals.seriesX.length>0&&(T=(s.globals.seriesX[b][0]-s.globals.minX)/this.xRatio),C.push(T);var M,R=T,_=void 0,d=R,v=this.zeroY,z=this.zeroY;v=this.lineHelpers.determineFirstPrevY({i:x,series:e,prevY:v,lineYPosition:0}).prevY,y.push(v),M=v,l==="rangeArea"&&(_=z=this.lineHelpers.determineFirstPrevY({i:x,series:i,prevY:z,lineYPosition:0}).prevY);var P={type:l,series:e,realIndex:b,i:x,x:T,y:1,pX:R,pY:M,pathsFrom:this._calculatePathsFrom({type:l,series:e,i:x,realIndex:b,prevX:d,prevY:v,prevY2:z}),linePaths:[],areaPaths:[],seriesIndex:r,lineYPosition:0,xArrj:C,yArrj:y,seriesRangeEnd:i},B=this._iterateOverDataPoints(u(u({},P),{},{iterations:l==="rangeArea"?e[x].length-1:void 0,isRangeStart:!0}));if(l==="rangeArea"){var N=this._calculatePathsFrom({series:i,i:x,realIndex:b,prevX:d,prevY:z}),W=this._iterateOverDataPoints(u(u({},P),{},{series:i,pY:_,pathsFrom:N,iterations:i[x].length-1,isRangeStart:!1}));B.linePaths[0]=W.linePath+B.linePath,B.pathFromLine=W.pathFromLine+B.pathFromLine}this._handlePaths({type:l,realIndex:b,i:x,paths:B}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),g.push(this.elSeries)}if(s.config.chart.stacked)for(var G=g.length;G>0;G--)h.add(g[G-1]);else for(var $=0;$<g.length;$++)h.add(g[$]);return h}},{key:"_initSerieVariables",value:function(e,t,r){var i=this.w,s=new U(this.ctx);this.xDivision=i.globals.gridWidth/(i.globals.dataPoints-(i.config.xaxis.tickPlacement==="on"?1:0)),this.strokeWidth=Array.isArray(i.config.stroke.width)?i.config.stroke.width[r]:i.config.stroke.width,this.yRatio.length>1&&(this.yaxisIndex=r),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed,this.zeroY=i.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?i.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>i.globals.gridHeight||i.config.plotOptions.area.fillTo==="end")&&(this.areaBottomY=i.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=s.group({class:"apexcharts-series",seriesName:O.escapeString(i.globals.seriesNames[r])}),this.elPointsMain=s.group({class:"apexcharts-series-markers-wrap","data:realIndex":r}),this.elDataLabelsWrap=s.group({class:"apexcharts-datalabels","data:realIndex":r});var n=e[t].length===i.globals.dataPoints;this.elSeries.attr({"data:longestSeries":n,rel:t+1,"data:realIndex":r}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,r,i,s,n=e.type,l=e.series,h=e.i,p=e.realIndex,g=e.prevX,x=e.prevY,b=e.prevY2,y=this.w,C=new U(this.ctx);if(l[h][0]===null){for(var T=0;T<l[h].length;T++)if(l[h][T]!==null){g=this.xDivision*T,x=this.zeroY-l[h][T]/this.yRatio[this.yaxisIndex],t=C.move(g,x),r=C.move(g,this.areaBottomY);break}}else t=C.move(g,x),n==="rangeArea"&&(t=C.move(g,b)+C.line(g,x)),r=C.move(g,this.areaBottomY)+C.line(g,x);if(i=C.move(-1,this.zeroY)+C.line(-1,this.zeroY),s=C.move(-1,this.zeroY)+C.line(-1,this.zeroY),y.globals.previousPaths.length>0){var M=this.lineHelpers.checkPreviousPaths({pathFromLine:i,pathFromArea:s,realIndex:p});i=M.pathFromLine,s=M.pathFromArea}return{prevX:g,prevY:x,linePath:t,areaPath:r,pathFromLine:i,pathFromArea:s}}},{key:"_handlePaths",value:function(e){var t=e.type,r=e.realIndex,i=e.i,s=e.paths,n=this.w,l=new U(this.ctx),h=new Ne(this.ctx);this.prevSeriesY.push(s.yArrj),n.globals.seriesXvalues[r]=s.xArrj,n.globals.seriesYvalues[r]=s.yArrj;var p=n.config.forecastDataPoints;if(p.count>0&&t!=="rangeArea"){var g=n.globals.seriesXvalues[r][n.globals.seriesXvalues[r].length-p.count-1],x=l.drawRect(g,0,n.globals.gridWidth,n.globals.gridHeight,0);n.globals.dom.elForecastMask.appendChild(x.node);var b=l.drawRect(0,0,g,n.globals.gridHeight,0);n.globals.dom.elNonForecastMask.appendChild(b.node)}this.pointsChart||n.globals.delayedElements.push({el:this.elPointsMain.node,index:r});var y={i,realIndex:r,animationDelay:i,initialSpeed:n.config.chart.animations.speed,dataChangeSpeed:n.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if(t==="area")for(var C=h.fillPath({seriesNumber:r}),T=0;T<s.areaPaths.length;T++){var M=l.renderPaths(u(u({},y),{},{pathFrom:s.pathFromArea,pathTo:s.areaPaths[T],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:C}));this.elSeries.add(M)}if(n.config.stroke.show&&!this.pointsChart){var R=null;if(t==="line")R=h.fillPath({seriesNumber:r,i});else if(n.config.stroke.fill.type==="solid")R=n.globals.stroke.colors[r];else{var _=n.config.fill;n.config.fill=n.config.stroke.fill,R=h.fillPath({seriesNumber:r,i}),n.config.fill=_}for(var d=0;d<s.linePaths.length;d++){var v=R;t==="rangeArea"&&(v=h.fillPath({seriesNumber:r}));var z=u(u({},y),{},{pathFrom:s.pathFromLine,pathTo:s.linePaths[d],stroke:R,strokeWidth:this.strokeWidth,strokeLineCap:n.config.stroke.lineCap,fill:t==="rangeArea"?v:"none"}),P=l.renderPaths(z);if(this.elSeries.add(P),P.attr("fill-rule","evenodd"),p.count>0&&t!=="rangeArea"){var B=l.renderPaths(z);B.node.setAttribute("stroke-dasharray",p.dashArray),p.strokeWidth&&B.node.setAttribute("stroke-width",p.strokeWidth),this.elSeries.add(B),B.attr("clip-path","url(#forecastMask".concat(n.globals.cuid,")")),P.attr("clip-path","url(#nonForecastMask".concat(n.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t=e.type,r=e.series,i=e.iterations,s=e.realIndex,n=e.i,l=e.x,h=e.y,p=e.pX,g=e.pY,x=e.pathsFrom,b=e.linePaths,y=e.areaPaths,C=e.seriesIndex,T=e.lineYPosition,M=e.xArrj,R=e.yArrj,_=e.isRangeStart,d=e.seriesRangeEnd,v=this.w,z=new U(this.ctx),P=this.yRatio,B=x.prevY,N=x.linePath,W=x.areaPath,G=x.pathFromLine,$=x.pathFromArea,ie=O.isNumber(v.globals.minYArr[s])?v.globals.minYArr[s]:v.globals.minY;i||(i=v.globals.dataPoints>1?v.globals.dataPoints-1:v.globals.dataPoints);for(var te=h,ce=0;ce<i;ce++){var me=r[n][ce+1]===void 0||r[n][ce+1]===null;if(v.globals.isXNumeric){var Me=v.globals.seriesX[s][ce+1];v.globals.seriesX[s][ce+1]===void 0&&(Me=v.globals.seriesX[s][i-1]),l=(Me-v.globals.minX)/this.xRatio}else l+=this.xDivision;v.config.chart.stacked?n>0&&v.globals.collapsedSeries.length<v.config.series.length-1?T=this.prevSeriesY[function(We){for(var He=We,Ze=0;Ze<v.globals.series.length;Ze++)if(v.globals.collapsedSeriesIndices.indexOf(We)>-1){He--;break}return He>=0?He:0}(n-1)][ce+1]:T=this.zeroY:T=this.zeroY,me?h=T-ie/P[this.yaxisIndex]+2*(this.isReversed?ie/P[this.yaxisIndex]:0):(h=T-r[n][ce+1]/P[this.yaxisIndex]+2*(this.isReversed?r[n][ce+1]/P[this.yaxisIndex]:0),t==="rangeArea"&&(te=T-d[n][ce+1]/P[this.yaxisIndex]+2*(this.isReversed?d[n][ce+1]/P[this.yaxisIndex]:0))),M.push(l),R.push(h);var De=this.lineHelpers.calculatePoints({series:r,x:l,y:h,realIndex:s,i:n,j:ce,prevY:B}),Ie=this._createPaths({type:t,series:r,i:n,realIndex:s,j:ce,x:l,y:h,y2:te,pX:p,pY:g,linePath:N,areaPath:W,linePaths:b,areaPaths:y,seriesIndex:C,isRangeStart:_});y=Ie.areaPaths,b=Ie.linePaths,p=Ie.pX,g=Ie.pY,W=Ie.areaPath,N=Ie.linePath,this.appendPathFrom&&(G+=z.line(l,this.zeroY),$+=z.line(l,this.zeroY)),this.handleNullDataPoints(r,De,n,ce,s),this._handleMarkersAndLabels({type:t,pointsPos:De,i:n,j:ce,realIndex:s,isRangeStart:_})}return{yArrj:R,xArrj:M,pathFromArea:$,areaPaths:y,pathFromLine:G,linePaths:b,linePath:N,areaPath:W}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,r=e.pointsPos,i=e.isRangeStart,s=e.i,n=e.j,l=e.realIndex,h=this.w,p=new ge(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,n,{realIndex:l,pointsPos:r,zRatio:this.zRatio,elParent:this.elPointsMain});else{h.globals.series[s].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var g=this.markers.plotChartMarkers(r,l,n+1);g!==null&&this.elPointsMain.add(g)}var x=p.drawDataLabel({type:t,isRangeStart:i,pos:r,i:l,j:n+1});x!==null&&this.elDataLabelsWrap.add(x)}},{key:"_createPaths",value:function(e){var t=e.type,r=e.series,i=e.i,s=e.realIndex,n=e.j,l=e.x,h=e.y,p=e.y2,g=e.pX,x=e.pY,b=e.linePath,y=e.areaPath,C=e.linePaths,T=e.areaPaths,M=e.seriesIndex,R=e.isRangeStart,_=this.w,d=new U(this.ctx),v=_.config.stroke.curve,z=this.areaBottomY;if(Array.isArray(_.config.stroke.curve)&&(v=Array.isArray(M)?_.config.stroke.curve[M[i]]:_.config.stroke.curve[i]),v==="smooth"){var P=.35*(l-g);_.globals.hasNullValues?(r[i][n]!==null&&(r[i][n+1]!==null?(b=d.move(g,x)+d.curve(g+P,x,l-P,h,l+1,h),y=d.move(g+1,x)+d.curve(g+P,x,l-P,h,l+1,h)+d.line(l,z)+d.line(g,z)+"z"):(b=d.move(g,x),y=d.move(g,x)+"z")),C.push(b),T.push(y)):(b+=d.curve(g+P,x,l-P,h,l,h),y+=d.curve(g+P,x,l-P,h,l,h)),g=l,x=h,n===r[i].length-2&&(y=y+d.curve(g,x,l,h,l,z)+d.move(l,h)+"z",t==="rangeArea"&&R?b=b+d.curve(g,x,l,h,l,p)+d.move(l,p)+"z":_.globals.hasNullValues||(C.push(b),T.push(y)))}else{if(r[i][n+1]===null){b+=d.move(l,h);var B=_.globals.isXNumeric?(_.globals.seriesX[s][n]-_.globals.minX)/this.xRatio:l-this.xDivision;y=y+d.line(B,z)+d.move(l,h)+"z"}r[i][n]===null&&(b+=d.move(l,h),y+=d.move(l,z)),v==="stepline"?(b=b+d.line(l,null,"H")+d.line(null,h,"V"),y=y+d.line(l,null,"H")+d.line(null,h,"V")):v==="straight"&&(b+=d.line(l,h),y+=d.line(l,h)),n===r[i].length-2&&(y=y+d.line(l,z)+d.move(l,h)+"z",t==="rangeArea"&&R?b=b+d.line(l,p)+d.move(l,p)+"z":(C.push(b),T.push(y)))}return{linePaths:C,areaPaths:T,pX:g,pY:x,linePath:b,areaPath:y}}},{key:"handleNullDataPoints",value:function(e,t,r,i,s){var n=this.w;if(e[r][i]===null&&n.config.markers.showNullDataPoints||e[r].length===1){var l=this.markers.plotChartMarkers(t,s,i+1,this.strokeWidth-n.config.markers.strokeWidth/2,!0);l!==null&&this.elPointsMain.add(l)}}}]),E}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function E(l,h,p,g){this.xoffset=l,this.yoffset=h,this.height=g,this.width=p,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(x){var b,y=[],C=this.xoffset,T=this.yoffset,M=s(x)/this.height,R=s(x)/this.width;if(this.width>=this.height)for(b=0;b<x.length;b++)y.push([C,T,C+M,T+x[b]/M]),T+=x[b]/M;else for(b=0;b<x.length;b++)y.push([C,T,C+x[b]/R,T+R]),C+=x[b]/R;return y},this.cutArea=function(x){var b;if(this.width>=this.height){var y=x/this.height,C=this.width-y;b=new E(this.xoffset+y,this.yoffset,C,this.height)}else{var T=x/this.width,M=this.height-T;b=new E(this.xoffset,this.yoffset+T,this.width,M)}return b}}function e(l,h,p,g,x){g=g===void 0?0:g,x=x===void 0?0:x;var b=t(function(y,C){var T,M=[],R=C/s(y);for(T=0;T<y.length;T++)M[T]=y[T]*R;return M}(l,h*p),[],new E(g,x,h,p),[]);return function(y){var C,T,M=[];for(C=0;C<y.length;C++)for(T=0;T<y[C].length;T++)M.push(y[C][T]);return M}(b)}function t(l,h,p,g){var x,b,y;if(l.length!==0)return x=p.shortestEdge(),function(C,T,M){var R;if(C.length===0)return!0;(R=C.slice()).push(T);var _=r(C,M),d=r(R,M);return _>=d}(h,b=l[0],x)?(h.push(b),t(l.slice(1),h,p,g)):(y=p.cutArea(s(h),g),g.push(p.getCoordinates(h)),t(l,[],y,g)),g;g.push(p.getCoordinates(h))}function r(l,h){var p=Math.min.apply(Math,l),g=Math.max.apply(Math,l),x=s(l);return Math.max(Math.pow(h,2)*g/Math.pow(x,2),Math.pow(x,2)/(Math.pow(h,2)*p))}function i(l){return l&&l.constructor===Array}function s(l){var h,p=0;for(h=0;h<l.length;h++)p+=l[h];return p}function n(l){var h,p=0;if(i(l[0]))for(h=0;h<l.length;h++)p+=n(l[h]);else p=s(l);return p}return function l(h,p,g,x,b){x=x===void 0?0:x,b=b===void 0?0:b;var y,C,T=[],M=[];if(i(h[0])){for(C=0;C<h.length;C++)T[C]=n(h[C]);for(y=e(T,p,g,x,b),C=0;C<h.length;C++)M.push(l(h[C],y[C][2]-y[C][0],y[C][3]-y[C][1],y[C][0],y[C][1]))}else M=e(h,p,g,x,b);return M}}();var ir,xa,Au=function(){function E(e,t){m(this,E),this.ctx=e,this.w=e.w,this.strokeWidth=this.w.config.stroke.width,this.helpers=new io(e),this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.labels=[]}return w(E,[{key:"draw",value:function(e){var t=this,r=this.w,i=new U(this.ctx),s=new Ne(this.ctx),n=i.group({class:"apexcharts-treemap"});if(r.globals.noData)return n;var l=[];return e.forEach(function(h){var p=h.map(function(g){return Math.abs(g)});l.push(p)}),this.negRange=this.helpers.checkColorRange(),r.config.series.forEach(function(h,p){h.data.forEach(function(g){Array.isArray(t.labels[p])||(t.labels[p]=[]),t.labels[p].push(g.x)})}),window.TreemapSquared.generate(l,r.globals.gridWidth,r.globals.gridHeight).forEach(function(h,p){var g=i.group({class:"apexcharts-series apexcharts-treemap-series",seriesName:O.escapeString(r.globals.seriesNames[p]),rel:p+1,"data:realIndex":p});if(r.config.chart.dropShadow.enabled){var x=r.config.chart.dropShadow;new le(t.ctx).dropShadow(n,x,p)}var b=i.group({class:"apexcharts-data-labels"});h.forEach(function(y,C){var T=y[0],M=y[1],R=y[2],_=y[3],d=i.drawRect(T,M,R-T,_-M,0,"#fff",1,t.strokeWidth,r.config.plotOptions.treemap.useFillColorAsStroke?z:r.globals.stroke.colors[p]);d.attr({cx:T,cy:M,index:p,i:p,j:C,width:R-T,height:_-M});var v=t.helpers.getShadeColor(r.config.chart.type,p,C,t.negRange),z=v.color;r.config.series[p].data[C]!==void 0&&r.config.series[p].data[C].fillColor&&(z=r.config.series[p].data[C].fillColor);var P=s.fillPath({color:z,seriesNumber:p,dataPointIndex:C});d.node.classList.add("apexcharts-treemap-rect"),d.attr({fill:P}),t.helpers.addListeners(d);var B={x:T+(R-T)/2,y:M+(_-M)/2,width:0,height:0},N={x:T,y:M,width:R-T,height:_-M};if(r.config.chart.animations.enabled&&!r.globals.dataChanged){var W=1;r.globals.resized||(W=r.config.chart.animations.speed),t.animateTreemap(d,B,N,W)}if(r.globals.dataChanged){var G=1;t.dynamicAnim.enabled&&r.globals.shouldAnimate&&(G=t.dynamicAnim.speed,r.globals.previousPaths[p]&&r.globals.previousPaths[p][C]&&r.globals.previousPaths[p][C].rect&&(B=r.globals.previousPaths[p][C].rect),t.animateTreemap(d,B,N,G))}var $=t.getFontSize(y),ie=r.config.dataLabels.formatter(t.labels[p][C],{value:r.globals.series[p][C],seriesIndex:p,dataPointIndex:C,w:r});r.config.plotOptions.treemap.dataLabels.format==="truncate"&&($=parseInt(r.config.dataLabels.style.fontSize,10),ie=t.truncateLabels(ie,$,T,M,R,_));var te=t.helpers.calculateDataLabels({text:ie,x:(T+R)/2,y:(M+_)/2+t.strokeWidth/2+$/3,i:p,j:C,colorProps:v,fontSize:$,series:e});r.config.dataLabels.enabled&&te&&t.rotateToFitLabel(te,$,ie,T,M,R,_),g.add(d),te!==null&&g.add(te)}),g.add(b),n.add(g)}),n}},{key:"getFontSize",value:function(e){var t=this.w,r,i,s,n,l=function h(p){var g,x=0;if(Array.isArray(p[0]))for(g=0;g<p.length;g++)x+=h(p[g]);else for(g=0;g<p.length;g++)x+=p[g].length;return x}(this.labels)/function h(p){var g,x=0;if(Array.isArray(p[0]))for(g=0;g<p.length;g++)x+=h(p[g]);else for(g=0;g<p.length;g++)x+=1;return x}(this.labels);return r=e[2]-e[0],i=e[3]-e[1],s=r*i,n=Math.pow(s,.5),Math.min(n/l,parseInt(t.config.dataLabels.style.fontSize,10))}},{key:"rotateToFitLabel",value:function(e,t,r,i,s,n,l){var h=new U(this.ctx),p=h.getTextRects(r,t);if(p.width+this.w.config.stroke.width+5>n-i&&p.width<=l-s){var g=h.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(g.x," ").concat(g.y,") translate(").concat(p.height/3,")"))}}},{key:"truncateLabels",value:function(e,t,r,i,s,n){var l=new U(this.ctx),h=l.getTextRects(e,t).width+this.w.config.stroke.width+5>s-r&&n-i>s-r?n-i:s-r,p=l.getTextBasedOnMaxWidth({text:e,maxWidth:h,fontSize:t});return e.length!==p.length&&h/t<5?"":p}},{key:"animateTreemap",value:function(e,t,r,i){var s=new se(this.ctx);s.animateRect(e,{x:t.x,y:t.y,width:t.width,height:t.height},{x:r.x,y:r.y,width:r.width,height:r.height},i,function(){s.animationCompleted(e)})}}]),E}(),Su=86400,Cu=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return w(E,[{key:"calculateTimeScaleTicks",value:function(e,t){var r=this,i=this.w;if(i.globals.allSeriesCollapsed)return i.globals.labels=[],i.globals.timescaleLabels=[],[];var s=new ne(this.ctx),n=(t-e)/864e5;this.determineInterval(n),i.globals.disableZoomIn=!1,i.globals.disableZoomOut=!1,n<.00011574074074074075?i.globals.disableZoomIn=!0:n>5e4&&(i.globals.disableZoomOut=!0);var l=s.getTimeUnitsfromTimestamp(e,t,this.utc),h=i.globals.gridWidth/n,p=h/24,g=p/60,x=g/60,b=Math.floor(24*n),y=Math.floor(1440*n),C=Math.floor(n*Su),T=Math.floor(n),M=Math.floor(n/30),R=Math.floor(n/365),_={minMillisecond:l.minMillisecond,minSecond:l.minSecond,minMinute:l.minMinute,minHour:l.minHour,minDate:l.minDate,minMonth:l.minMonth,minYear:l.minYear},d={firstVal:_,currentMillisecond:_.minMillisecond,currentSecond:_.minSecond,currentMinute:_.minMinute,currentHour:_.minHour,currentMonthDate:_.minDate,currentDate:_.minDate,currentMonth:_.minMonth,currentYear:_.minYear,daysWidthOnXAxis:h,hoursWidthOnXAxis:p,minutesWidthOnXAxis:g,secondsWidthOnXAxis:x,numberOfSeconds:C,numberOfMinutes:y,numberOfHours:b,numberOfDays:T,numberOfMonths:M,numberOfYears:R};switch(this.tickInterval){case"years":this.generateYearScale(d);break;case"months":case"half_year":this.generateMonthScale(d);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(d);break;case"hours":this.generateHourScale(d);break;case"minutes_fives":case"minutes":this.generateMinuteScale(d);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(d)}var v=this.timeScaleArray.map(function(z){var P={position:z.position,unit:z.unit,year:z.year,day:z.day?z.day:1,hour:z.hour?z.hour:0,month:z.month+1};return z.unit==="month"?u(u({},P),{},{day:1,value:z.value+1}):z.unit==="day"||z.unit==="hour"?u(u({},P),{},{value:z.value}):z.unit==="minute"?u(u({},P),{},{value:z.value,minute:z.value}):z.unit==="second"?u(u({},P),{},{value:z.value,minute:z.minute,second:z.second}):z});return v.filter(function(z){var P=1,B=Math.ceil(i.globals.gridWidth/120),N=z.value;i.config.xaxis.tickAmount!==void 0&&(B=i.config.xaxis.tickAmount),v.length>B&&(P=Math.floor(v.length/B));var W=!1,G=!1;switch(r.tickInterval){case"years":z.unit==="year"&&(W=!0);break;case"half_year":P=7,z.unit==="year"&&(W=!0);break;case"months":P=1,z.unit==="year"&&(W=!0);break;case"months_fortnight":P=15,z.unit!=="year"&&z.unit!=="month"||(W=!0),N===30&&(G=!0);break;case"months_days":P=10,z.unit==="month"&&(W=!0),N===30&&(G=!0);break;case"week_days":P=8,z.unit==="month"&&(W=!0);break;case"days":P=1,z.unit==="month"&&(W=!0);break;case"hours":z.unit==="day"&&(W=!0);break;case"minutes_fives":case"seconds_fives":N%5!=0&&(G=!0);break;case"seconds_tens":N%10!=0&&(G=!0)}if(r.tickInterval==="hours"||r.tickInterval==="minutes_fives"||r.tickInterval==="seconds_tens"||r.tickInterval==="seconds_fives"){if(!G)return!0}else if((N%P==0||W)&&!G)return!0})}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var r=this.w,i=this.formatDates(e),s=this.removeOverlappingTS(i);r.globals.timescaleLabels=s.slice(),new ma(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,r=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case r>15:this.tickInterval="minutes_fives";break;case r>5:this.tickInterval="minutes";break;case r>1:this.tickInterval="seconds_tens";break;case 60*r>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,r=e.currentMonth,i=e.currentYear,s=e.daysWidthOnXAxis,n=e.numberOfYears,l=t.minYear,h=0,p=new ne(this.ctx),g="year";if(t.minDate>1||t.minMonth>0){var x=p.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);h=(p.determineDaysOfYear(t.minYear)-x+1)*s,l=t.minYear+1,this.timeScaleArray.push({position:h,value:l,unit:g,year:l,month:O.monthMod(r+1)})}else t.minDate===1&&t.minMonth===0&&this.timeScaleArray.push({position:h,value:l,unit:g,year:i,month:O.monthMod(r+1)});for(var b=l,y=h,C=0;C<n;C++)b++,y=p.determineDaysOfYear(b-1)*s+y,this.timeScaleArray.push({position:y,value:b,unit:g,year:b,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,r=e.currentMonthDate,i=e.currentMonth,s=e.currentYear,n=e.daysWidthOnXAxis,l=e.numberOfMonths,h=i,p=0,g=new ne(this.ctx),x="month",b=0;if(t.minDate>1){p=(g.determineDaysOfMonths(i+1,t.minYear)-r+1)*n,h=O.monthMod(i+1);var y=s+b,C=O.monthMod(h),T=h;h===0&&(x="year",T=y,C=1,y+=b+=1),this.timeScaleArray.push({position:p,value:T,unit:x,year:y,month:C})}else this.timeScaleArray.push({position:p,value:h,unit:x,year:s,month:O.monthMod(i)});for(var M=h+1,R=p,_=0,d=1;_<l;_++,d++){(M=O.monthMod(M))===0?(x="year",b+=1):x="month";var v=this._getYear(s,M,b);R=g.determineDaysOfMonths(M,v)*n+R;var z=M===0?v:M;this.timeScaleArray.push({position:R,value:z,unit:x,year:v,month:M===0?1:M}),M++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,r=e.currentMonth,i=e.currentYear,s=e.hoursWidthOnXAxis,n=e.numberOfDays,l=new ne(this.ctx),h="day",p=t.minDate+1,g=p,x=function(d,v,z){return d>l.determineDaysOfMonths(v+1,z)&&(g=1,h="month",y=v+=1),v},b=(24-t.minHour)*s,y=p,C=x(g,r,i);t.minHour===0&&t.minDate===1?(b=0,y=O.monthMod(t.minMonth),h="month",g=t.minDate,n++):t.minDate!==1&&t.minHour===0&&t.minMinute===0&&(b=0,p=t.minDate,y=p,C=x(g=p,r,i)),this.timeScaleArray.push({position:b,value:y,unit:h,year:this._getYear(i,C,0),month:O.monthMod(C),day:g});for(var T=b,M=0;M<n;M++){h="day",C=x(g+=1,C,this._getYear(i,C,0));var R=this._getYear(i,C,0);T=24*s+T;var _=g===1?O.monthMod(C):g;this.timeScaleArray.push({position:T,value:_,unit:h,year:R,month:O.monthMod(C),day:_})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,r=e.currentDate,i=e.currentMonth,s=e.currentYear,n=e.minutesWidthOnXAxis,l=e.numberOfHours,h=new ne(this.ctx),p="hour",g=function(P,B){return P>h.determineDaysOfMonths(B+1,s)&&(M=1,B+=1),{month:B,date:M}},x=function(P,B){return P>h.determineDaysOfMonths(B+1,s)?B+=1:B},b=60-(t.minMinute+t.minSecond/60),y=b*n,C=t.minHour+1,T=C+1;b===60&&(y=0,T=(C=t.minHour)+1);var M=r,R=x(M,i);this.timeScaleArray.push({position:y,value:C,unit:p,day:M,hour:T,year:s,month:O.monthMod(R)});for(var _=y,d=0;d<l;d++){p="hour",T>=24&&(T=0,p="day",R=g(M+=1,R).month,R=x(M,R));var v=this._getYear(s,R,0);_=60*n+_;var z=T===0?M:T;this.timeScaleArray.push({position:_,value:z,unit:p,hour:T,day:M,year:v,month:O.monthMod(R)}),T++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,r=e.currentSecond,i=e.currentMinute,s=e.currentHour,n=e.currentDate,l=e.currentMonth,h=e.currentYear,p=e.minutesWidthOnXAxis,g=e.secondsWidthOnXAxis,x=e.numberOfMinutes,b=i+1,y=n,C=l,T=h,M=s,R=(60-r-t/1e3)*g,_=0;_<x;_++)b>=60&&(b=0,(M+=1)===24&&(M=0)),this.timeScaleArray.push({position:R,value:b,unit:"minute",hour:M,minute:b,day:y,year:this._getYear(T,C,0),month:O.monthMod(C)}),R+=p,b++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,r=e.currentSecond,i=e.currentMinute,s=e.currentHour,n=e.currentDate,l=e.currentMonth,h=e.currentYear,p=e.secondsWidthOnXAxis,g=e.numberOfSeconds,x=r+1,b=i,y=n,C=l,T=h,M=s,R=(1e3-t)/1e3*p,_=0;_<g;_++)x>=60&&(x=0,++b>=60&&(b=0,++M===24&&(M=0))),this.timeScaleArray.push({position:R,value:x,unit:"second",hour:M,minute:b,second:x,day:y,year:this._getYear(T,C,0),month:O.monthMod(C)}),R+=p,x++}},{key:"createRawDateString",value:function(e,t){var r=e.year;return e.month===0&&(e.month=1),r+="-"+("0"+e.month.toString()).slice(-2),e.unit==="day"?r+=e.unit==="day"?"-"+("0"+t).slice(-2):"-01":r+="-"+("0"+(e.day?e.day:"1")).slice(-2),e.unit==="hour"?r+=e.unit==="hour"?"T"+("0"+t).slice(-2):"T00":r+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),e.unit==="minute"?r+=":"+("0"+t).slice(-2):r+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),e.unit==="second"?r+=":"+("0"+t).slice(-2):r+=":00",this.utc&&(r+=".000Z"),r}},{key:"formatDates",value:function(e){var t=this,r=this.w;return e.map(function(i){var s=i.value.toString(),n=new ne(t.ctx),l=t.createRawDateString(i,s),h=n.getDate(n.parseDate(l));if(t.utc||(h=n.getDate(n.parseDateWithTimezone(l))),r.config.xaxis.labels.format===void 0){var p="dd MMM",g=r.config.xaxis.labels.datetimeFormatter;i.unit==="year"&&(p=g.year),i.unit==="month"&&(p=g.month),i.unit==="day"&&(p=g.day),i.unit==="hour"&&(p=g.hour),i.unit==="minute"&&(p=g.minute),i.unit==="second"&&(p=g.second),s=n.formatDate(h,p)}else s=n.formatDate(h,r.config.xaxis.labels.format);return{dateString:l,position:i.position,value:s,unit:i.unit,year:i.year,month:i.month}})}},{key:"removeOverlappingTS",value:function(e){var t,r=this,i=new U(this.ctx),s=!1;e.length>0&&e[0].value&&e.every(function(h){return h.value.length===e[0].value.length})&&(s=!0,t=i.getTextRects(e[0].value).width);var n=0,l=e.map(function(h,p){if(p>0&&r.w.config.xaxis.labels.hideOverlappingLabels){var g=s?t:i.getTextRects(e[n].value).width,x=e[n].position;return h.position>x+g+10?(n=p,h):null}return h});return l=l.filter(function(h){return h!==null})}},{key:"_getYear",value:function(e,t,r){return e+Math.floor(t/12)+r}}]),E}(),zu=function(){function E(e,t){m(this,E),this.ctx=t,this.w=t.w,this.el=e}return w(E,[{key:"setupElements",value:function(){var e=this.w.globals,t=this.w.config,r=t.chart.type;e.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].indexOf(r)>-1,e.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].indexOf(r)>-1,e.isBarHorizontal=(t.chart.type==="bar"||t.chart.type==="rangeBar"||t.chart.type==="boxPlot")&&t.plotOptions.bar.horizontal,e.chartClass=".apexcharts"+e.chartID,e.dom.baseEl=this.el,e.dom.elWrap=document.createElement("div"),U.setAttrs(e.dom.elWrap,{id:e.chartClass.substring(1),class:"apexcharts-canvas "+e.chartClass.substring(1)}),this.el.appendChild(e.dom.elWrap),e.dom.Paper=new window.SVG.Doc(e.dom.elWrap),e.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(t.chart.offsetX,", ").concat(t.chart.offsetY,")")}),e.dom.Paper.node.style.background=t.chart.background,this.setSVGDimensions(),e.dom.elLegendForeign=document.createElementNS(e.SVGNS,"foreignObject"),U.setAttrs(e.dom.elLegendForeign,{x:0,y:0,width:e.svgWidth,height:e.svgHeight}),e.dom.elLegendWrap=document.createElement("div"),e.dom.elLegendWrap.classList.add("apexcharts-legend"),e.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),e.dom.elLegendForeign.appendChild(e.dom.elLegendWrap),e.dom.Paper.node.appendChild(e.dom.elLegendForeign),e.dom.elGraphical=e.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),e.dom.elDefs=e.dom.Paper.defs(),e.dom.Paper.add(e.dom.elGraphical),e.dom.elGraphical.add(e.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var r=this.w,i=r.config,s=r.globals,n={series:[],i:[]},l={series:[],i:[]},h={series:[],i:[]},p={series:[],i:[]},g={series:[],i:[]},x={series:[],i:[]},b={series:[],i:[]},y={series:[],i:[]},C={series:[],seriesRangeEnd:[],i:[]};s.series.map(function(B,N){var W=0;e[N].type!==void 0?(e[N].type==="column"||e[N].type==="bar"?(s.series.length>1&&i.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),g.series.push(B),g.i.push(N),W++,r.globals.columnSeries=g.series):e[N].type==="area"?(l.series.push(B),l.i.push(N),W++):e[N].type==="line"?(n.series.push(B),n.i.push(N),W++):e[N].type==="scatter"?(h.series.push(B),h.i.push(N)):e[N].type==="bubble"?(p.series.push(B),p.i.push(N),W++):e[N].type==="candlestick"?(x.series.push(B),x.i.push(N),W++):e[N].type==="boxPlot"?(b.series.push(B),b.i.push(N),W++):e[N].type==="rangeBar"?(y.series.push(B),y.i.push(N),W++):e[N].type==="rangeArea"?(C.series.push(s.seriesRangeStart[N]),C.seriesRangeEnd.push(s.seriesRangeEnd[N]),C.i.push(N),W++):console.warn("You have specified an unrecognized chart type. Available types for this property are line/area/column/bar/scatter/bubble/candlestick/boxPlot/rangeBar/rangeArea"),W>1&&(s.comboCharts=!0)):(n.series.push(B),n.i.push(N))});var T=new Ci(this.ctx,t),M=new Si(this.ctx,t);this.ctx.pie=new no(this.ctx);var R=new yu(this.ctx);this.ctx.rangeBar=new wu(this.ctx,t);var _=new vu(this.ctx),d=[];if(s.comboCharts){if(l.series.length>0&&d.push(T.draw(l.series,"area",l.i)),g.series.length>0)if(r.config.chart.stacked){var v=new ao(this.ctx,t);d.push(v.draw(g.series,g.i))}else this.ctx.bar=new br(this.ctx,t),d.push(this.ctx.bar.draw(g.series,g.i));if(C.series.length>0&&d.push(T.draw(C.series,"rangeArea",C.i,C.seriesRangeEnd)),n.series.length>0&&d.push(T.draw(n.series,"line",n.i)),x.series.length>0&&d.push(M.draw(x.series,"candlestick",x.i)),b.series.length>0&&d.push(M.draw(b.series,"boxPlot",b.i)),y.series.length>0&&d.push(this.ctx.rangeBar.draw(y.series,y.i)),h.series.length>0){var z=new Ci(this.ctx,t,!0);d.push(z.draw(h.series,"scatter",h.i))}if(p.series.length>0){var P=new Ci(this.ctx,t,!0);d.push(P.draw(p.series,"bubble",p.i))}}else switch(i.chart.type){case"line":d=T.draw(s.series,"line");break;case"area":d=T.draw(s.series,"area");break;case"bar":i.chart.stacked?d=new ao(this.ctx,t).draw(s.series):(this.ctx.bar=new br(this.ctx,t),d=this.ctx.bar.draw(s.series));break;case"candlestick":d=new Si(this.ctx,t).draw(s.series,"candlestick");break;case"boxPlot":d=new Si(this.ctx,t).draw(s.series,i.chart.type);break;case"rangeBar":d=this.ctx.rangeBar.draw(s.series);break;case"rangeArea":d=T.draw(s.seriesRangeStart,"rangeArea",void 0,s.seriesRangeEnd);break;case"heatmap":d=new bu(this.ctx,t).draw(s.series);break;case"treemap":d=new Au(this.ctx,t).draw(s.series);break;case"pie":case"donut":case"polarArea":d=this.ctx.pie.draw(s.series);break;case"radialBar":d=R.draw(s.series);break;case"radar":d=_.draw(s.series);break;default:d=T.draw(s.series)}return d}},{key:"setSVGDimensions",value:function(){var e=this.w.globals,t=this.w.config;e.svgWidth=t.chart.width,e.svgHeight=t.chart.height;var r=O.getDimensions(this.el),i=t.chart.width.toString().split(/[0-9]+/g).pop();i==="%"?O.isNumber(r[0])&&(r[0].width===0&&(r=O.getDimensions(this.el.parentNode)),e.svgWidth=r[0]*parseInt(t.chart.width,10)/100):i!=="px"&&i!==""||(e.svgWidth=parseInt(t.chart.width,10));var s=t.chart.height.toString().split(/[0-9]+/g).pop();if(e.svgHeight!=="auto"&&e.svgHeight!=="")if(s==="%"){var n=O.getDimensions(this.el.parentNode);e.svgHeight=n[1]*parseInt(t.chart.height,10)/100}else e.svgHeight=parseInt(t.chart.height,10);else e.axisCharts?e.svgHeight=e.svgWidth/1.61:e.svgHeight=e.svgWidth/1.2;if(e.svgWidth<0&&(e.svgWidth=0),e.svgHeight<0&&(e.svgHeight=0),U.setAttrs(e.dom.Paper.node,{width:e.svgWidth,height:e.svgHeight}),s!=="%"){var l=t.chart.sparkline.enabled?0:e.axisCharts?t.chart.parentHeightOffset:0;e.dom.Paper.node.parentNode.parentNode.style.minHeight=e.svgHeight+l+"px"}e.dom.elWrap.style.width=e.svgWidth+"px",e.dom.elWrap.style.height=e.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,r={transform:"translate("+e.translateX+", "+t+")"};U.setAttrs(e.dom.elGraphical.node,r)}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,r=0,i=e.config.chart.sparkline.enabled?1:15;i+=e.config.grid.padding.bottom,e.config.legend.position!=="top"&&e.config.legend.position!=="bottom"||!e.config.legend.show||e.config.legend.floating||(r=new Qn(this.ctx).legendHelpers.getLegendBBox().clwh+10);var s=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),n=2.05*e.globals.radialSize;if(s&&!e.config.chart.sparkline.enabled&&e.config.plotOptions.radialBar.startAngle!==0){var l=O.getBoundingClientRect(s);n=l.bottom;var h=l.bottom-l.top;n=Math.max(2.05*e.globals.radialSize,h)}var p=n+t.translateY+r+i;t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",p),e.config.chart.height&&String(e.config.chart.height).indexOf("%")>0||(t.dom.elWrap.style.height=p+"px",U.setAttrs(t.dom.Paper.node,{height:p}),t.dom.Paper.node.parentNode.parentNode.style.minHeight=p+"px")}},{key:"coreCalculations",value:function(){new Dr(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map(function(s){return[]})},r=new ut,i=this.w.globals;r.initGlobalVars(i),i.seriesXvalues=t(),i.seriesYvalues=t()}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"xySettings",value:function(){var e=null,t=this.w;if(t.globals.axisCharts){if(t.config.xaxis.crosshairs.position==="back"&&new jt(this.ctx).drawXCrosshairs(),t.config.yaxis[0].crosshairs.position==="back"&&new jt(this.ctx).drawYCrosshairs(),t.config.xaxis.type==="datetime"&&t.config.xaxis.labels.formatter===void 0){this.ctx.timeScale=new Cu(this.ctx);var r=[];isFinite(t.globals.minX)&&isFinite(t.globals.maxX)&&!t.globals.isBarHorizontal?r=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minX,t.globals.maxX):t.globals.isBarHorizontal&&(r=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minY,t.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(r)}e=new re(this.ctx).getCalculatedRatios()}return e}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.w;if(t.config.chart.brush.enabled&&typeof t.config.chart.events.selection!="function"){var r=Array.isArray(t.config.chart.brush.targets)||[t.config.chart.brush.target];r.forEach(function(i){var s=ApexCharts.getChartByID(i);s.w.globals.brushSource=e.ctx,typeof s.w.config.chart.events.zoomed!="function"&&(s.w.config.chart.events.zoomed=function(){e.updateSourceChart(s)}),typeof s.w.config.chart.events.scrolled!="function"&&(s.w.config.chart.events.scrolled=function(){e.updateSourceChart(s)})}),t.config.chart.events.selection=function(i,s){r.forEach(function(n){var l=ApexCharts.getChartByID(n),h=O.clone(t.config.yaxis);if(t.config.chart.brush.autoScaleYaxis&&l.w.globals.series.length===1){var p=new bt(l);h=p.autoScaleY(l,h,s)}var g=l.w.config.yaxis.reduce(function(x,b,y){return[].concat(J(x),[u(u({},l.w.config.yaxis[y]),{},{min:h[0].min,max:h[0].max})])},[]);l.ctx.updateHelpers._updateOptions({xaxis:{min:s.xaxis.min,max:s.xaxis.max},yaxis:g},!1,!1,!1,!1)})}}}}]),E}(),Tu=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"_updateOptions",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return new Promise(function(l){var h=[t.ctx];s&&(h=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(h=[t.ctx],t.ctx.w.globals.isExecCalled=!1),h.forEach(function(p,g){var x=p.w;if(x.globals.shouldAnimate=i,r||(x.globals.resized=!0,x.globals.dataChanged=!0,i&&p.series.getPreviousPaths()),e&&f(e)==="object"&&(p.config=new At(e),e=re.extendArrayProps(p.config,e,x),p.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,x.config=O.extend(x.config,e),n&&(x.globals.lastXAxis=e.xaxis?O.clone(e.xaxis):[],x.globals.lastYAxis=e.yaxis?O.clone(e.yaxis):[],x.globals.initialConfig=O.extend({},x.config),x.globals.initialSeries=O.clone(x.config.series),e.series))){for(var b=0;b<x.globals.collapsedSeriesIndices.length;b++){var y=x.config.series[x.globals.collapsedSeriesIndices[b]];x.globals.collapsedSeries[b].data=x.globals.axisCharts?y.data.slice():y}for(var C=0;C<x.globals.ancillaryCollapsedSeriesIndices.length;C++){var T=x.config.series[x.globals.ancillaryCollapsedSeriesIndices[C]];x.globals.ancillaryCollapsedSeries[C].data=x.globals.axisCharts?T.data.slice():T}p.series.emptyCollapsedSeries(x.config.series)}return p.update(e).then(function(){g===h.length-1&&l(p)})})})}},{key:"_updateSeries",value:function(e,t){var r=this,i=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return new Promise(function(s){var n,l=r.w;return l.globals.shouldAnimate=t,l.globals.dataChanged=!0,t&&r.ctx.series.getPreviousPaths(),l.globals.axisCharts?((n=e.map(function(h,p){return r._extendSeries(h,p)})).length===0&&(n=[{data:[]}]),l.config.series=n):l.config.series=e.slice(),i&&(l.globals.initialConfig.series=O.clone(l.config.series),l.globals.initialSeries=O.clone(l.config.series)),r.ctx.update().then(function(){s(r.ctx)})})}},{key:"_extendSeries",value:function(e,t){var r=this.w,i=r.config.series[t];return u(u({},r.config.series[t]),{},{name:e.name?e.name:i&&i.name,color:e.color?e.color:i&&i.color,type:e.type?e.type:i&&i.type,group:e.group?e.group:i&&i.group,data:e.data?e.data:i&&i.data})}},{key:"toggleDataPointSelection",value:function(e,t){var r=this.w,i=null,s=".apexcharts-series[data\\:realIndex='".concat(e,"']");return r.globals.axisCharts?i=r.globals.dom.Paper.select("".concat(s," path[j='").concat(t,"'], ").concat(s," circle[j='").concat(t,"'], ").concat(s," rect[j='").concat(t,"']")).members[0]:t===void 0&&(i=r.globals.dom.Paper.select("".concat(s," path[j='").concat(e,"']")).members[0],r.config.chart.type!=="pie"&&r.config.chart.type!=="polarArea"&&r.config.chart.type!=="donut"||this.ctx.pie.pieClicked(e)),i?(new U(this.ctx).pathMouseDown(i,null),i.node?i.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach(function(i){e.xaxis[i]!==void 0&&(t.config.xaxis[i]=e.xaxis[i],t.globals.lastXAxis[i]=e.xaxis[i])}),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var r=new $e(e);e=r.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&e.chart.stackType==="100%"&&(Array.isArray(e.yaxis)?e.yaxis.forEach(function(t,r){e.yaxis[r].min=0,e.yaxis[r].max=100}):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,r=this.w,i=r.globals.lastXAxis,s=r.globals.lastYAxis;e&&e.xaxis&&(i=e.xaxis),e&&e.yaxis&&(s=e.yaxis),r.config.xaxis.min=i.min,r.config.xaxis.max=i.max;var n=function(l){s[l]!==void 0&&(r.config.yaxis[l].min=s[l].min,r.config.yaxis[l].max=s[l].max)};r.config.yaxis.map(function(l,h){r.globals.zoomed||s[h]!==void 0?n(h):t.ctx.opts.yaxis[h]!==void 0&&(l.min=t.ctx.opts.yaxis[h].min,l.max=t.ctx.opts.yaxis[h].max)})}}]),E}();ir=typeof window<"u"?window:void 0,xa=function(E,e){var t=(this!==void 0?this:E).SVG=function(d){if(t.supported)return d=new t.Doc(d),t.parser.draw||t.prepare(),d};if(t.ns="http://www.w3.org/2000/svg",t.xmlns="http://www.w3.org/2000/xmlns/",t.xlink="http://www.w3.org/1999/xlink",t.svgjs="http://svgjs.dev",t.supported=!0,!t.supported)return!1;t.did=1e3,t.eid=function(d){return"Svgjs"+g(d)+t.did++},t.create=function(d){var v=e.createElementNS(this.ns,d);return v.setAttribute("id",this.eid(d)),v},t.extend=function(){var d,v;v=(d=[].slice.call(arguments)).pop();for(var z=d.length-1;z>=0;z--)if(d[z])for(var P in v)d[z].prototype[P]=v[P];t.Set&&t.Set.inherit&&t.Set.inherit()},t.invent=function(d){var v=typeof d.create=="function"?d.create:function(){this.constructor.call(this,t.create(d.create))};return d.inherit&&(v.prototype=new d.inherit),d.extend&&t.extend(v,d.extend),d.construct&&t.extend(d.parent||t.Container,d.construct),v},t.adopt=function(d){return d?d.instance?d.instance:((v=d.nodeName=="svg"?d.parentNode instanceof E.SVGElement?new t.Nested:new t.Doc:d.nodeName=="linearGradient"?new t.Gradient("linear"):d.nodeName=="radialGradient"?new t.Gradient("radial"):t[g(d.nodeName)]?new t[g(d.nodeName)]:new t.Element(d)).type=d.nodeName,v.node=d,d.instance=v,v instanceof t.Doc&&v.namespace().defs(),v.setData(JSON.parse(d.getAttribute("svgjs:data"))||{}),v):null;var v},t.prepare=function(){var d=e.getElementsByTagName("body")[0],v=(d?new t.Doc(d):t.adopt(e.documentElement).nested()).size(2,0);t.parser={body:d||e.documentElement,draw:v.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:v.polyline().node,path:v.path().node,native:t.create("svg")}},t.parser={native:t.create("svg")},e.addEventListener("DOMContentLoaded",function(){t.parser.draw||t.prepare()},!1),t.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},t.utils={map:function(d,v){for(var z=d.length,P=[],B=0;B<z;B++)P.push(v(d[B]));return P},filter:function(d,v){for(var z=d.length,P=[],B=0;B<z;B++)v(d[B])&&P.push(d[B]);return P},filterSVGElements:function(d){return this.filter(d,function(v){return v instanceof E.SVGElement})}},t.defaults={attrs:{"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","font-size":16,"font-family":"Helvetica, Arial, sans-serif","text-anchor":"start"}},t.Color=function(d){var v,z;this.r=0,this.g=0,this.b=0,d&&(typeof d=="string"?t.regex.isRgb.test(d)?(v=t.regex.rgb.exec(d.replace(t.regex.whitespace,"")),this.r=parseInt(v[1]),this.g=parseInt(v[2]),this.b=parseInt(v[3])):t.regex.isHex.test(d)&&(v=t.regex.hex.exec((z=d).length==4?["#",z.substring(1,2),z.substring(1,2),z.substring(2,3),z.substring(2,3),z.substring(3,4),z.substring(3,4)].join(""):z),this.r=parseInt(v[1],16),this.g=parseInt(v[2],16),this.b=parseInt(v[3],16)):f(d)==="object"&&(this.r=d.r,this.g=d.g,this.b=d.b))},t.extend(t.Color,{toString:function(){return this.toHex()},toHex:function(){return"#"+x(this.r)+x(this.g)+x(this.b)},toRgb:function(){return"rgb("+[this.r,this.g,this.b].join()+")"},brightness:function(){return this.r/255*.3+this.g/255*.59+this.b/255*.11},morph:function(d){return this.destination=new t.Color(d),this},at:function(d){return this.destination?(d=d<0?0:d>1?1:d,new t.Color({r:~~(this.r+(this.destination.r-this.r)*d),g:~~(this.g+(this.destination.g-this.g)*d),b:~~(this.b+(this.destination.b-this.b)*d)})):this}}),t.Color.test=function(d){return d+="",t.regex.isHex.test(d)||t.regex.isRgb.test(d)},t.Color.isRgb=function(d){return d&&typeof d.r=="number"&&typeof d.g=="number"&&typeof d.b=="number"},t.Color.isColor=function(d){return t.Color.isRgb(d)||t.Color.test(d)},t.Array=function(d,v){(d=(d||[]).valueOf()).length==0&&v&&(d=v.valueOf()),this.value=this.parse(d)},t.extend(t.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(d){return d=d.valueOf(),Array.isArray(d)?d:this.split(d)}}),t.PointArray=function(d,v){t.Array.call(this,d,v||[[0,0]])},t.PointArray.prototype=new t.Array,t.PointArray.prototype.constructor=t.PointArray;for(var r={M:function(d,v,z){return v.x=z.x=d[0],v.y=z.y=d[1],["M",v.x,v.y]},L:function(d,v){return v.x=d[0],v.y=d[1],["L",d[0],d[1]]},H:function(d,v){return v.x=d[0],["H",d[0]]},V:function(d,v){return v.y=d[0],["V",d[0]]},C:function(d,v){return v.x=d[4],v.y=d[5],["C",d[0],d[1],d[2],d[3],d[4],d[5]]},Q:function(d,v){return v.x=d[2],v.y=d[3],["Q",d[0],d[1],d[2],d[3]]},Z:function(d,v,z){return v.x=z.x,v.y=z.y,["Z"]}},i="mlhvqtcsaz".split(""),s=0,n=i.length;s<n;++s)r[i[s]]=function(d){return function(v,z,P){if(d=="H")v[0]=v[0]+z.x;else if(d=="V")v[0]=v[0]+z.y;else if(d=="A")v[5]=v[5]+z.x,v[6]=v[6]+z.y;else for(var B=0,N=v.length;B<N;++B)v[B]=v[B]+(B%2?z.y:z.x);if(r&&typeof r[d]=="function")return r[d](v,z,P)}}(i[s].toUpperCase());t.PathArray=function(d,v){t.Array.call(this,d,v||[["M",0,0]])},t.PathArray.prototype=new t.Array,t.PathArray.prototype.constructor=t.PathArray,t.extend(t.PathArray,{toString:function(){return function(d){for(var v=0,z=d.length,P="";v<z;v++)P+=d[v][0],d[v][1]!=null&&(P+=d[v][1],d[v][2]!=null&&(P+=" ",P+=d[v][2],d[v][3]!=null&&(P+=" ",P+=d[v][3],P+=" ",P+=d[v][4],d[v][5]!=null&&(P+=" ",P+=d[v][5],P+=" ",P+=d[v][6],d[v][7]!=null&&(P+=" ",P+=d[v][7])))));return P+" "}(this.value)},move:function(d,v){var z=this.bbox();return z.x,z.y,this},at:function(d){if(!this.destination)return this;for(var v=this.value,z=this.destination.value,P=[],B=new t.PathArray,N=0,W=v.length;N<W;N++){P[N]=[v[N][0]];for(var G=1,$=v[N].length;G<$;G++)P[N][G]=v[N][G]+(z[N][G]-v[N][G])*d;P[N][0]==="A"&&(P[N][4]=+(P[N][4]!=0),P[N][5]=+(P[N][5]!=0))}return B.value=P,B},parse:function(d){if(d instanceof t.PathArray)return d.valueOf();var v,z={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};d=typeof d=="string"?d.replace(t.regex.numbersWithDots,h).replace(t.regex.pathLetters," $& ").replace(t.regex.hyphen,"$1 -").trim().split(t.regex.delimiter):d.reduce(function($,ie){return[].concat.call($,ie)},[]);var P=[],B=new t.Point,N=new t.Point,W=0,G=d.length;do t.regex.isPathLetter.test(d[W])?(v=d[W],++W):v=="M"?v="L":v=="m"&&(v="l"),P.push(r[v].call(null,d.slice(W,W+=z[v.toUpperCase()]).map(parseFloat),B,N));while(G>W);return P},bbox:function(){return t.parser.draw||t.prepare(),t.parser.path.setAttribute("d",this.toString()),t.parser.path.getBBox()}}),t.Number=t.invent({create:function(d,v){this.value=0,this.unit=v||"",typeof d=="number"?this.value=isNaN(d)?0:isFinite(d)?d:d<0?-34e37:34e37:typeof d=="string"?(v=d.match(t.regex.numberAndUnit))&&(this.value=parseFloat(v[1]),v[5]=="%"?this.value/=100:v[5]=="s"&&(this.value*=1e3),this.unit=v[5]):d instanceof t.Number&&(this.value=d.valueOf(),this.unit=d.unit)},extend:{toString:function(){return(this.unit=="%"?~~(1e8*this.value)/1e6:this.unit=="s"?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(d){return d=new t.Number(d),new t.Number(this+d,this.unit||d.unit)},minus:function(d){return d=new t.Number(d),new t.Number(this-d,this.unit||d.unit)},times:function(d){return d=new t.Number(d),new t.Number(this*d,this.unit||d.unit)},divide:function(d){return d=new t.Number(d),new t.Number(this/d,this.unit||d.unit)},to:function(d){var v=new t.Number(this);return typeof d=="string"&&(v.unit=d),v},morph:function(d){return this.destination=new t.Number(d),d.relative&&(this.destination.value+=this.value),this},at:function(d){return this.destination?new t.Number(this.destination).minus(this).times(d).plus(this):this}}}),t.Element=t.invent({create:function(d){this._stroke=t.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=d)&&(this.type=d.nodeName,this.node.instance=this,this._stroke=d.getAttribute("stroke")||this._stroke)},extend:{x:function(d){return this.attr("x",d)},y:function(d){return this.attr("y",d)},cx:function(d){return d==null?this.x()+this.width()/2:this.x(d-this.width()/2)},cy:function(d){return d==null?this.y()+this.height()/2:this.y(d-this.height()/2)},move:function(d,v){return this.x(d).y(v)},center:function(d,v){return this.cx(d).cy(v)},width:function(d){return this.attr("width",d)},height:function(d){return this.attr("height",d)},size:function(d,v){var z=b(this,d,v);return this.width(new t.Number(z.width)).height(new t.Number(z.height))},clone:function(d){this.writeDataToDom();var v=T(this.node.cloneNode(!0));return d?d.add(v):this.after(v),v},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(d){return this.after(d).remove(),d},addTo:function(d){return d.put(this)},putIn:function(d){return d.add(this)},id:function(d){return this.attr("id",d)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return this.style("display")!="none"},toString:function(){return this.attr("id")},classes:function(){var d=this.attr("class");return d==null?[]:d.trim().split(t.regex.delimiter)},hasClass:function(d){return this.classes().indexOf(d)!=-1},addClass:function(d){if(!this.hasClass(d)){var v=this.classes();v.push(d),this.attr("class",v.join(" "))}return this},removeClass:function(d){return this.hasClass(d)&&this.attr("class",this.classes().filter(function(v){return v!=d}).join(" ")),this},toggleClass:function(d){return this.hasClass(d)?this.removeClass(d):this.addClass(d)},reference:function(d){return t.get(this.attr(d))},parent:function(d){var v=this;if(!v.node.parentNode)return null;if(v=t.adopt(v.node.parentNode),!d)return v;for(;v&&v.node instanceof E.SVGElement;){if(typeof d=="string"?v.matches(d):v instanceof d)return v;if(!v.node.parentNode||v.node.parentNode.nodeName=="#document")return null;v=t.adopt(v.node.parentNode)}},doc:function(){return this instanceof t.Doc?this:this.parent(t.Doc)},parents:function(d){var v=[],z=this;do{if(!(z=z.parent(d))||!z.node)break;v.push(z)}while(z.parent);return v},matches:function(d){return function(v,z){return(v.matches||v.matchesSelector||v.msMatchesSelector||v.mozMatchesSelector||v.webkitMatchesSelector||v.oMatchesSelector).call(v,z)}(this.node,d)},native:function(){return this.node},svg:function(d){var v=e.createElement("svg");if(!(d&&this instanceof t.Parent))return v.appendChild(d=e.createElement("svg")),this.writeDataToDom(),d.appendChild(this.node.cloneNode(!0)),v.innerHTML.replace(/^<svg>/,"").replace(/<\/svg>$/,"");v.innerHTML="<svg>"+d.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2></$1>")+"</svg>";for(var z=0,P=v.firstChild.childNodes.length;z<P;z++)this.node.appendChild(v.firstChild.firstChild);return this},writeDataToDom:function(){return(this.each||this.lines)&&(this.each?this:this.lines()).each(function(){this.writeDataToDom()}),this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),this},setData:function(d){return this.dom=d,this},is:function(d){return function(v,z){return v instanceof z}(this,d)}}}),t.easing={"-":function(d){return d},"<>":function(d){return-Math.cos(d*Math.PI)/2+.5},">":function(d){return Math.sin(d*Math.PI/2)},"<":function(d){return 1-Math.cos(d*Math.PI/2)}},t.morph=function(d){return function(v,z){return new t.MorphObj(v,z).at(d)}},t.Situation=t.invent({create:function(d){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new t.Number(d.duration).valueOf(),this.delay=new t.Number(d.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=d.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),t.FX=t.invent({create:function(d){this._target=d,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(d,v,z){f(d)==="object"&&(v=d.ease,z=d.delay,d=d.duration);var P=new t.Situation({duration:d||1e3,delay:z||0,ease:t.easing[v||"-"]||v});return this.queue(P),this},target:function(d){return d&&d instanceof t.Element?(this._target=d,this):this._target},timeToAbsPos:function(d){return(d-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(d){return this.situation.duration/this._speed*d+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=E.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){E.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(d){return(typeof d=="function"||d instanceof t.Situation)&&this.situations.push(d),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof t.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var d,v=this.situation;if(v.init)return this;for(var z in v.animations){d=this.target()[z](),Array.isArray(d)||(d=[d]),Array.isArray(v.animations[z])||(v.animations[z]=[v.animations[z]]);for(var P=d.length;P--;)v.animations[z][P]instanceof t.Number&&(d[P]=new t.Number(d[P])),v.animations[z][P]=d[P].morph(v.animations[z][P])}for(var z in v.attrs)v.attrs[z]=new t.MorphObj(this.target().attr(z),v.attrs[z]);for(var z in v.styles)v.styles[z]=new t.MorphObj(this.target().style(z),v.styles[z]);return v.initialTransformation=this.target().matrixify(),v.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(d,v){var z=this.active;return this.active=!1,v&&this.clearQueue(),d&&this.situation&&(!z&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(d){var v=this.last();return this.target().on("finished.fx",function z(P){P.detail.situation==v&&(d.call(this,v),this.off("finished.fx",z))}),this._callStart()},during:function(d){var v=this.last(),z=function(P){P.detail.situation==v&&d.call(this,P.detail.pos,t.morph(P.detail.pos),P.detail.eased,v)};return this.target().off("during.fx",z).on("during.fx",z),this.after(function(){this.off("during.fx",z)}),this._callStart()},afterAll:function(d){var v=function z(P){d.call(this),this.off("allfinished.fx",z)};return this.target().off("allfinished.fx",v).on("allfinished.fx",v),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(d,v,z){return this.last()[z||"animations"][d]=v,this._callStart()},step:function(d){var v,z,P;d||(this.absPos=this.timeToAbsPos(+new Date)),this.situation.loops!==!1?(v=Math.max(this.absPos,0),z=Math.floor(v),this.situation.loops===!0||z<this.situation.loops?(this.pos=v-z,P=this.situation.loop,this.situation.loop=z):(this.absPos=this.situation.loops,this.pos=1,P=this.situation.loop-1,this.situation.loop=this.situation.loops),this.situation.reversing&&(this.situation.reversed=this.situation.reversed!=Boolean((this.situation.loop-P)%2))):(this.absPos=Math.min(this.absPos,1),this.pos=this.absPos),this.pos<0&&(this.pos=0),this.situation.reversed&&(this.pos=1-this.pos);var B=this.situation.ease(this.pos);for(var N in this.situation.once)N>this.lastPos&&N<=B&&(this.situation.once[N].call(this.target(),this.pos,B),delete this.situation.once[N]);return this.active&&this.target().fire("during",{pos:this.pos,eased:B,fx:this,situation:this.situation}),this.situation?(this.eachAt(),this.pos==1&&!this.situation.reversed||this.situation.reversed&&this.pos==0?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=B,this):this},eachAt:function(){var d,v=this,z=this.target(),P=this.situation;for(var B in P.animations)d=[].concat(P.animations[B]).map(function(G){return typeof G!="string"&&G.at?G.at(P.ease(v.pos),v.pos):G}),z[B].apply(z,d);for(var B in P.attrs)d=[B].concat(P.attrs[B]).map(function($){return typeof $!="string"&&$.at?$.at(P.ease(v.pos),v.pos):$}),z.attr.apply(z,d);for(var B in P.styles)d=[B].concat(P.styles[B]).map(function($){return typeof $!="string"&&$.at?$.at(P.ease(v.pos),v.pos):$}),z.style.apply(z,d);if(P.transforms.length){d=P.initialTransformation,B=0;for(var N=P.transforms.length;B<N;B++){var W=P.transforms[B];W instanceof t.Matrix?d=W.relative?d.multiply(new t.Matrix().morph(W).at(P.ease(this.pos))):d.morph(W).at(P.ease(this.pos)):(W.relative||W.undo(d.extract()),d=d.multiply(W.at(P.ease(this.pos))))}z.matrix(d)}return this},once:function(d,v,z){var P=this.last();return z||(d=P.ease(d)),P.once[d]=v,this},_callStart:function(){return setTimeout(function(){this.start()}.bind(this),0),this}},parent:t.Element,construct:{animate:function(d,v,z){return(this.fx||(this.fx=new t.FX(this))).animate(d,v,z)},delay:function(d){return(this.fx||(this.fx=new t.FX(this))).delay(d)},stop:function(d,v){return this.fx&&this.fx.stop(d,v),this},finish:function(){return this.fx&&this.fx.finish(),this}}}),t.MorphObj=t.invent({create:function(d,v){return t.Color.isColor(v)?new t.Color(d).morph(v):t.regex.delimiter.test(d)?t.regex.pathLetters.test(d)?new t.PathArray(d).morph(v):new t.Array(d).morph(v):t.regex.numberAndUnit.test(v)?new t.Number(d).morph(v):(this.value=d,void(this.destination=v))},extend:{at:function(d,v){return v<1?this.value:this.destination},valueOf:function(){return this.value}}}),t.extend(t.FX,{attr:function(d,v,z){if(f(d)==="object")for(var P in d)this.attr(P,d[P]);else this.add(d,v,"attrs");return this},plot:function(d,v,z,P){return arguments.length==4?this.plot([d,v,z,P]):this.add("plot",new(this.target()).morphArray(d))}}),t.Box=t.invent({create:function(d,v,z,P){if(!(f(d)!=="object"||d instanceof t.Element))return t.Box.call(this,d.left!=null?d.left:d.x,d.top!=null?d.top:d.y,d.width,d.height);var B;arguments.length==4&&(this.x=d,this.y=v,this.width=z,this.height=P),(B=this).x==null&&(B.x=0,B.y=0,B.width=0,B.height=0),B.w=B.width,B.h=B.height,B.x2=B.x+B.width,B.y2=B.y+B.height,B.cx=B.x+B.width/2,B.cy=B.y+B.height/2}}),t.BBox=t.invent({create:function(d){if(t.Box.apply(this,[].slice.call(arguments)),d instanceof t.Element){var v;try{if(!e.documentElement.contains){for(var z=d.node;z.parentNode;)z=z.parentNode;if(z!=e)throw new Error("Element not in the dom")}v=d.node.getBBox()}catch{if(d instanceof t.Shape){t.parser.draw||t.prepare();var P=d.clone(t.parser.draw.instance).show();P&&P.node&&typeof P.node.getBBox=="function"&&(v=P.node.getBBox()),P&&typeof P.remove=="function"&&P.remove()}else v={x:d.node.clientLeft,y:d.node.clientTop,width:d.node.clientWidth,height:d.node.clientHeight}}t.Box.call(this,v)}},inherit:t.Box,parent:t.Element,construct:{bbox:function(){return new t.BBox(this)}}}),t.BBox.prototype.constructor=t.BBox,t.Matrix=t.invent({create:function(d){var v=C([1,0,0,1,0,0]);d=d===null?v:d instanceof t.Element?d.matrixify():typeof d=="string"?C(d.split(t.regex.delimiter).map(parseFloat)):arguments.length==6?C([].slice.call(arguments)):Array.isArray(d)?C(d):d&&f(d)==="object"?d:v;for(var z=R.length-1;z>=0;--z)this[R[z]]=d[R[z]]!=null?d[R[z]]:v[R[z]]},extend:{extract:function(){var d=y(this,0,1);y(this,1,0);var v=180/Math.PI*Math.atan2(d.y,d.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(v*Math.PI/180)+this.f*Math.sin(v*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(v*Math.PI/180)+this.e*Math.sin(-v*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:v,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new t.Matrix(this)}},clone:function(){return new t.Matrix(this)},morph:function(d){return this.destination=new t.Matrix(d),this},multiply:function(d){return new t.Matrix(this.native().multiply(function(v){return v instanceof t.Matrix||(v=new t.Matrix(v)),v}(d).native()))},inverse:function(){return new t.Matrix(this.native().inverse())},translate:function(d,v){return new t.Matrix(this.native().translate(d||0,v||0))},native:function(){for(var d=t.parser.native.createSVGMatrix(),v=R.length-1;v>=0;v--)d[R[v]]=this[R[v]];return d},toString:function(){return"matrix("+M(this.a)+","+M(this.b)+","+M(this.c)+","+M(this.d)+","+M(this.e)+","+M(this.f)+")"}},parent:t.Element,construct:{ctm:function(){return new t.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof t.Nested){var d=this.rect(1,1),v=d.node.getScreenCTM();return d.remove(),new t.Matrix(v)}return new t.Matrix(this.node.getScreenCTM())}}}),t.Point=t.invent({create:function(d,v){var z;z=Array.isArray(d)?{x:d[0],y:d[1]}:f(d)==="object"?{x:d.x,y:d.y}:d!=null?{x:d,y:v??d}:{x:0,y:0},this.x=z.x,this.y=z.y},extend:{clone:function(){return new t.Point(this)},morph:function(d,v){return this.destination=new t.Point(d,v),this}}}),t.extend(t.Element,{point:function(d,v){return new t.Point(d,v).transform(this.screenCTM().inverse())}}),t.extend(t.Element,{attr:function(d,v,z){if(d==null){for(d={},z=(v=this.node.attributes).length-1;z>=0;z--)d[v[z].nodeName]=t.regex.isNumber.test(v[z].nodeValue)?parseFloat(v[z].nodeValue):v[z].nodeValue;return d}if(f(d)==="object")for(var P in d)this.attr(P,d[P]);else if(v===null)this.node.removeAttribute(d);else{if(v==null)return(v=this.node.getAttribute(d))==null?t.defaults.attrs[d]:t.regex.isNumber.test(v)?parseFloat(v):v;d=="stroke-width"?this.attr("stroke",parseFloat(v)>0?this._stroke:null):d=="stroke"&&(this._stroke=v),d!="fill"&&d!="stroke"||(t.regex.isImage.test(v)&&(v=this.doc().defs().image(v,0,0)),v instanceof t.Image&&(v=this.doc().defs().pattern(0,0,function(){this.add(v)}))),typeof v=="number"?v=new t.Number(v):t.Color.isColor(v)?v=new t.Color(v):Array.isArray(v)&&(v=new t.Array(v)),d=="leading"?this.leading&&this.leading(v):typeof z=="string"?this.node.setAttributeNS(z,d,v.toString()):this.node.setAttribute(d,v.toString()),!this.rebuild||d!="font-size"&&d!="x"||this.rebuild(d,v)}return this}}),t.extend(t.Element,{transform:function(d,v){var z;return f(d)!=="object"?(z=new t.Matrix(this).extract(),typeof d=="string"?z[d]:z):(z=new t.Matrix(this),v=!!v||!!d.relative,d.a!=null&&(z=v?z.multiply(new t.Matrix(d)):new t.Matrix(d)),this.attr("transform",z))}}),t.extend(t.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(t.regex.transforms).slice(0,-1).map(function(d){var v=d.trim().split("(");return[v[0],v[1].split(t.regex.delimiter).map(function(z){return parseFloat(z)})]}).reduce(function(d,v){return v[0]=="matrix"?d.multiply(C(v[1])):d[v[0]].apply(d,v[1])},new t.Matrix)},toParent:function(d){if(this==d)return this;var v=this.screenCTM(),z=d.screenCTM().inverse();return this.addTo(d).untransform().transform(z.multiply(v)),this},toDoc:function(){return this.toParent(this.doc())}}),t.Transformation=t.invent({create:function(d,v){if(arguments.length>1&&typeof v!="boolean")return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(d))for(var z=0,P=this.arguments.length;z<P;++z)this[this.arguments[z]]=d[z];else if(d&&f(d)==="object")for(z=0,P=this.arguments.length;z<P;++z)this[this.arguments[z]]=d[this.arguments[z]];this.inversed=!1,v===!0&&(this.inversed=!0)}}),t.Translate=t.invent({parent:t.Matrix,inherit:t.Transformation,create:function(d,v){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["transformedX","transformedY"],method:"translate"}}),t.extend(t.Element,{style:function(d,v){if(arguments.length==0)return this.node.style.cssText||"";if(arguments.length<2)if(f(d)==="object")for(var z in d)this.style(z,d[z]);else{if(!t.regex.isCss.test(d))return this.node.style[p(d)];for(d=d.split(/\s*;\s*/).filter(function(P){return!!P}).map(function(P){return P.split(/\s*:\s*/)});v=d.pop();)this.style(v[0],v[1])}else this.node.style[p(d)]=v===null||t.regex.isBlank.test(v)?"":v;return this}}),t.Parent=t.invent({create:function(d){this.constructor.call(this,d)},inherit:t.Element,extend:{children:function(){return t.utils.map(t.utils.filterSVGElements(this.node.childNodes),function(d){return t.adopt(d)})},add:function(d,v){return v==null?this.node.appendChild(d.node):d.node!=this.node.childNodes[v]&&this.node.insertBefore(d.node,this.node.childNodes[v]),this},put:function(d,v){return this.add(d,v),d},has:function(d){return this.index(d)>=0},index:function(d){return[].slice.call(this.node.childNodes).indexOf(d.node)},get:function(d){return t.adopt(this.node.childNodes[d])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(d,v){for(var z=this.children(),P=0,B=z.length;P<B;P++)z[P]instanceof t.Element&&d.apply(z[P],[P,z]),v&&z[P]instanceof t.Container&&z[P].each(d,v);return this},removeElement:function(d){return this.node.removeChild(d.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,this},defs:function(){return this.doc().defs()}}}),t.extend(t.Parent,{ungroup:function(d,v){return v===0||this instanceof t.Defs||this.node==t.parser.draw||(d=d||(this instanceof t.Doc?this:this.parent(t.Parent)),v=v||1/0,this.each(function(){return this instanceof t.Defs?this:this instanceof t.Parent?this.ungroup(d,v-1):this.toParent(d)}),this.node.firstChild||this.remove()),this},flatten:function(d,v){return this.ungroup(d,v)}}),t.Container=t.invent({create:function(d){this.constructor.call(this,d)},inherit:t.Parent}),t.ViewBox=t.invent({parent:t.Container,construct:{}}),["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","touchstart","touchmove","touchleave","touchend","touchcancel"].forEach(function(d){t.Element.prototype[d]=function(v){return t.on(this.node,d,v),this}}),t.listeners=[],t.handlerMap=[],t.listenerId=0,t.on=function(d,v,z,P,B){var N=z.bind(P||d.instance||d),W=(t.handlerMap.indexOf(d)+1||t.handlerMap.push(d))-1,G=v.split(".")[0],$=v.split(".")[1]||"*";t.listeners[W]=t.listeners[W]||{},t.listeners[W][G]=t.listeners[W][G]||{},t.listeners[W][G][$]=t.listeners[W][G][$]||{},z._svgjsListenerId||(z._svgjsListenerId=++t.listenerId),t.listeners[W][G][$][z._svgjsListenerId]=N,d.addEventListener(G,N,B||{passive:!0})},t.off=function(d,v,z){var P=t.handlerMap.indexOf(d),B=v&&v.split(".")[0],N=v&&v.split(".")[1],W="";if(P!=-1)if(z){if(typeof z=="function"&&(z=z._svgjsListenerId),!z)return;t.listeners[P][B]&&t.listeners[P][B][N||"*"]&&(d.removeEventListener(B,t.listeners[P][B][N||"*"][z],!1),delete t.listeners[P][B][N||"*"][z])}else if(N&&B){if(t.listeners[P][B]&&t.listeners[P][B][N]){for(var G in t.listeners[P][B][N])t.off(d,[B,N].join("."),G);delete t.listeners[P][B][N]}}else if(N)for(var $ in t.listeners[P])for(var W in t.listeners[P][$])N===W&&t.off(d,[$,N].join("."));else if(B){if(t.listeners[P][B]){for(var W in t.listeners[P][B])t.off(d,[B,W].join("."));delete t.listeners[P][B]}}else{for(var $ in t.listeners[P])t.off(d,$);delete t.listeners[P],delete t.handlerMap[P]}},t.extend(t.Element,{on:function(d,v,z,P){return t.on(this.node,d,v,z,P),this},off:function(d,v){return t.off(this.node,d,v),this},fire:function(d,v){return d instanceof E.Event?this.node.dispatchEvent(d):this.node.dispatchEvent(d=new t.CustomEvent(d,{detail:v,cancelable:!0})),this._event=d,this},event:function(){return this._event}}),t.Defs=t.invent({create:"defs",inherit:t.Container}),t.G=t.invent({create:"g",inherit:t.Container,extend:{x:function(d){return d==null?this.transform("x"):this.transform({x:d-this.x()},!0)}},construct:{group:function(){return this.put(new t.G)}}}),t.Doc=t.invent({create:function(d){d&&((d=typeof d=="string"?e.getElementById(d):d).nodeName=="svg"?this.constructor.call(this,d):(this.constructor.call(this,t.create("svg")),d.appendChild(this.node),this.size("100%","100%")),this.namespace().defs())},inherit:t.Container,extend:{namespace:function(){return this.attr({xmlns:t.ns,version:"1.1"}).attr("xmlns:xlink",t.xlink,t.xmlns).attr("xmlns:svgjs",t.svgjs,t.xmlns)},defs:function(){var d;return this._defs||((d=this.node.getElementsByTagName("defs")[0])?this._defs=t.adopt(d):this._defs=new t.Defs,this.node.appendChild(this._defs.node)),this._defs},parent:function(){return this.node.parentNode&&this.node.parentNode.nodeName!="#document"?this.node.parentNode:null},remove:function(){return this.parent()&&this.parent().removeChild(this.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,t.parser.draw&&!t.parser.draw.parentNode&&this.node.appendChild(t.parser.draw),this},clone:function(d){this.writeDataToDom();var v=this.node,z=T(v.cloneNode(!0));return d?(d.node||d).appendChild(z.node):v.parentNode.insertBefore(z.node,v.nextSibling),z}}}),t.extend(t.Element,{}),t.Gradient=t.invent({create:function(d){this.constructor.call(this,t.create(d+"Gradient")),this.type=d},inherit:t.Container,extend:{at:function(d,v,z){return this.put(new t.Stop).update(d,v,z)},update:function(d){return this.clear(),typeof d=="function"&&d.call(this,this),this},fill:function(){return"url(#"+this.id()+")"},toString:function(){return this.fill()},attr:function(d,v,z){return d=="transform"&&(d="gradientTransform"),t.Container.prototype.attr.call(this,d,v,z)}},construct:{gradient:function(d,v){return this.defs().gradient(d,v)}}}),t.extend(t.Gradient,t.FX,{from:function(d,v){return(this._target||this).type=="radial"?this.attr({fx:new t.Number(d),fy:new t.Number(v)}):this.attr({x1:new t.Number(d),y1:new t.Number(v)})},to:function(d,v){return(this._target||this).type=="radial"?this.attr({cx:new t.Number(d),cy:new t.Number(v)}):this.attr({x2:new t.Number(d),y2:new t.Number(v)})}}),t.extend(t.Defs,{gradient:function(d,v){return this.put(new t.Gradient(d)).update(v)}}),t.Stop=t.invent({create:"stop",inherit:t.Element,extend:{update:function(d){return(typeof d=="number"||d instanceof t.Number)&&(d={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),d.opacity!=null&&this.attr("stop-opacity",d.opacity),d.color!=null&&this.attr("stop-color",d.color),d.offset!=null&&this.attr("offset",new t.Number(d.offset)),this}}}),t.Pattern=t.invent({create:"pattern",inherit:t.Container,extend:{fill:function(){return"url(#"+this.id()+")"},update:function(d){return this.clear(),typeof d=="function"&&d.call(this,this),this},toString:function(){return this.fill()},attr:function(d,v,z){return d=="transform"&&(d="patternTransform"),t.Container.prototype.attr.call(this,d,v,z)}},construct:{pattern:function(d,v,z){return this.defs().pattern(d,v,z)}}}),t.extend(t.Defs,{pattern:function(d,v,z){return this.put(new t.Pattern).update(z).attr({x:0,y:0,width:d,height:v,patternUnits:"userSpaceOnUse"})}}),t.Shape=t.invent({create:function(d){this.constructor.call(this,d)},inherit:t.Element}),t.Symbol=t.invent({create:"symbol",inherit:t.Container,construct:{symbol:function(){return this.put(new t.Symbol)}}}),t.Use=t.invent({create:"use",inherit:t.Shape,extend:{element:function(d,v){return this.attr("href",(v||"")+"#"+d,t.xlink)}},construct:{use:function(d,v){return this.put(new t.Use).element(d,v)}}}),t.Rect=t.invent({create:"rect",inherit:t.Shape,construct:{rect:function(d,v){return this.put(new t.Rect).size(d,v)}}}),t.Circle=t.invent({create:"circle",inherit:t.Shape,construct:{circle:function(d){return this.put(new t.Circle).rx(new t.Number(d).divide(2)).move(0,0)}}}),t.extend(t.Circle,t.FX,{rx:function(d){return this.attr("r",d)},ry:function(d){return this.rx(d)}}),t.Ellipse=t.invent({create:"ellipse",inherit:t.Shape,construct:{ellipse:function(d,v){return this.put(new t.Ellipse).size(d,v).move(0,0)}}}),t.extend(t.Ellipse,t.Rect,t.FX,{rx:function(d){return this.attr("rx",d)},ry:function(d){return this.attr("ry",d)}}),t.extend(t.Circle,t.Ellipse,{x:function(d){return d==null?this.cx()-this.rx():this.cx(d+this.rx())},y:function(d){return d==null?this.cy()-this.ry():this.cy(d+this.ry())},cx:function(d){return d==null?this.attr("cx"):this.attr("cx",d)},cy:function(d){return d==null?this.attr("cy"):this.attr("cy",d)},width:function(d){return d==null?2*this.rx():this.rx(new t.Number(d).divide(2))},height:function(d){return d==null?2*this.ry():this.ry(new t.Number(d).divide(2))},size:function(d,v){var z=b(this,d,v);return this.rx(new t.Number(z.width).divide(2)).ry(new t.Number(z.height).divide(2))}}),t.Line=t.invent({create:"line",inherit:t.Shape,extend:{array:function(){return new t.PointArray([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])},plot:function(d,v,z,P){return d==null?this.array():(d=v!==void 0?{x1:d,y1:v,x2:z,y2:P}:new t.PointArray(d).toLine(),this.attr(d))},move:function(d,v){return this.attr(this.array().move(d,v).toLine())},size:function(d,v){var z=b(this,d,v);return this.attr(this.array().size(z.width,z.height).toLine())}},construct:{line:function(d,v,z,P){return t.Line.prototype.plot.apply(this.put(new t.Line),d!=null?[d,v,z,P]:[0,0,0,0])}}}),t.Polyline=t.invent({create:"polyline",inherit:t.Shape,construct:{polyline:function(d){return this.put(new t.Polyline).plot(d||new t.PointArray)}}}),t.Polygon=t.invent({create:"polygon",inherit:t.Shape,construct:{polygon:function(d){return this.put(new t.Polygon).plot(d||new t.PointArray)}}}),t.extend(t.Polyline,t.Polygon,{array:function(){return this._array||(this._array=new t.PointArray(this.attr("points")))},plot:function(d){return d==null?this.array():this.clear().attr("points",typeof d=="string"?d:this._array=new t.PointArray(d))},clear:function(){return delete this._array,this},move:function(d,v){return this.attr("points",this.array().move(d,v))},size:function(d,v){var z=b(this,d,v);return this.attr("points",this.array().size(z.width,z.height))}}),t.extend(t.Line,t.Polyline,t.Polygon,{morphArray:t.PointArray,x:function(d){return d==null?this.bbox().x:this.move(d,this.bbox().y)},y:function(d){return d==null?this.bbox().y:this.move(this.bbox().x,d)},width:function(d){var v=this.bbox();return d==null?v.width:this.size(d,v.height)},height:function(d){var v=this.bbox();return d==null?v.height:this.size(v.width,d)}}),t.Path=t.invent({create:"path",inherit:t.Shape,extend:{morphArray:t.PathArray,array:function(){return this._array||(this._array=new t.PathArray(this.attr("d")))},plot:function(d){return d==null?this.array():this.clear().attr("d",typeof d=="string"?d:this._array=new t.PathArray(d))},clear:function(){return delete this._array,this}},construct:{path:function(d){return this.put(new t.Path).plot(d||new t.PathArray)}}}),t.Image=t.invent({create:"image",inherit:t.Shape,extend:{load:function(d){if(!d)return this;var v=this,z=new E.Image;return t.on(z,"load",function(){t.off(z);var P=v.parent(t.Pattern);P!==null&&(v.width()==0&&v.height()==0&&v.size(z.width,z.height),P&&P.width()==0&&P.height()==0&&P.size(v.width(),v.height()),typeof v._loaded=="function"&&v._loaded.call(v,{width:z.width,height:z.height,ratio:z.width/z.height,url:d}))}),t.on(z,"error",function(P){t.off(z),typeof v._error=="function"&&v._error.call(v,P)}),this.attr("href",z.src=this.src=d,t.xlink)},loaded:function(d){return this._loaded=d,this},error:function(d){return this._error=d,this}},construct:{image:function(d,v,z){return this.put(new t.Image).load(d).size(v||0,z||v||0)}}}),t.Text=t.invent({create:function(){this.constructor.call(this,t.create("text")),this.dom.leading=new t.Number(1.3),this._rebuild=!0,this._build=!1,this.attr("font-family",t.defaults.attrs["font-family"])},inherit:t.Shape,extend:{x:function(d){return d==null?this.attr("x"):this.attr("x",d)},text:function(d){if(d===void 0){d="";for(var v=this.node.childNodes,z=0,P=v.length;z<P;++z)z!=0&&v[z].nodeType!=3&&t.adopt(v[z]).dom.newLined==1&&(d+=`
|
|
131
|
-
`),d+=v[z].textContent;return d}if(this.clear().build(!0),typeof d=="function")d.call(this,this);else{z=0;for(var B=(d=d.split(`
|
|
132
|
-
`)).length;z<B;z++)this.tspan(d[z]).newLine()}return this.build(!1).rebuild()},size:function(d){return this.attr("font-size",d).rebuild()},leading:function(d){return d==null?this.dom.leading:(this.dom.leading=new t.Number(d),this.rebuild())},lines:function(){var d=(this.textPath&&this.textPath()||this).node,v=t.utils.map(t.utils.filterSVGElements(d.childNodes),function(z){return t.adopt(z)});return new t.Set(v)},rebuild:function(d){if(typeof d=="boolean"&&(this._rebuild=d),this._rebuild){var v=this,z=0,P=this.dom.leading*new t.Number(this.attr("font-size"));this.lines().each(function(){this.dom.newLined&&(v.textPath()||this.attr("x",v.attr("x")),this.text()==`
|
|
133
|
-
`?z+=P:(this.attr("dy",P+z),z=0))}),this.fire("rebuild")}return this},build:function(d){return this._build=!!d,this},setData:function(d){return this.dom=d,this.dom.leading=new t.Number(d.leading||1.3),this}},construct:{text:function(d){return this.put(new t.Text).text(d)},plain:function(d){return this.put(new t.Text).plain(d)}}}),t.Tspan=t.invent({create:"tspan",inherit:t.Shape,extend:{text:function(d){return d==null?this.node.textContent+(this.dom.newLined?`
|
|
134
|
-
`:""):(typeof d=="function"?d.call(this,this):this.plain(d),this)},dx:function(d){return this.attr("dx",d)},dy:function(d){return this.attr("dy",d)},newLine:function(){var d=this.parent(t.Text);return this.dom.newLined=!0,this.dy(d.dom.leading*d.attr("font-size")).attr("x",d.x())}}}),t.extend(t.Text,t.Tspan,{plain:function(d){return this._build===!1&&this.clear(),this.node.appendChild(e.createTextNode(d)),this},tspan:function(d){var v=(this.textPath&&this.textPath()||this).node,z=new t.Tspan;return this._build===!1&&this.clear(),v.appendChild(z.node),z.text(d)},clear:function(){for(var d=(this.textPath&&this.textPath()||this).node;d.hasChildNodes();)d.removeChild(d.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),t.TextPath=t.invent({create:"textPath",inherit:t.Parent,parent:t.Text,construct:{morphArray:t.PathArray,array:function(){var d=this.track();return d?d.array():null},plot:function(d){var v=this.track(),z=null;return v&&(z=v.plot(d)),d==null?z:this},track:function(){var d=this.textPath();if(d)return d.reference("href")},textPath:function(){if(this.node.firstChild&&this.node.firstChild.nodeName=="textPath")return t.adopt(this.node.firstChild)}}}),t.Nested=t.invent({create:function(){this.constructor.call(this,t.create("svg")),this.style("overflow","visible")},inherit:t.Container,construct:{nested:function(){return this.put(new t.Nested)}}});var l={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(d,v){return v=="color"?d:d+"-"+v}};function h(d,v,z,P){return z+P.replace(t.regex.dots," .")}function p(d){return d.toLowerCase().replace(/-(.)/g,function(v,z){return z.toUpperCase()})}function g(d){return d.charAt(0).toUpperCase()+d.slice(1)}function x(d){var v=d.toString(16);return v.length==1?"0"+v:v}function b(d,v,z){if(v==null||z==null){var P=d.bbox();v==null?v=P.width/P.height*z:z==null&&(z=P.height/P.width*v)}return{width:v,height:z}}function y(d,v,z){return{x:v*d.a+z*d.c+0,y:v*d.b+z*d.d+0}}function C(d){return{a:d[0],b:d[1],c:d[2],d:d[3],e:d[4],f:d[5]}}function T(d){for(var v=d.childNodes.length-1;v>=0;v--)d.childNodes[v]instanceof E.SVGElement&&T(d.childNodes[v]);return t.adopt(d).id(t.eid(d.nodeName))}function M(d){return Math.abs(d)>1e-37?d:0}["fill","stroke"].forEach(function(d){var v={};v[d]=function(z){if(z===void 0)return this;if(typeof z=="string"||t.Color.isRgb(z)||z&&typeof z.fill=="function")this.attr(d,z);else for(var P=l[d].length-1;P>=0;P--)z[l[d][P]]!=null&&this.attr(l.prefix(d,l[d][P]),z[l[d][P]]);return this},t.extend(t.Element,t.FX,v)}),t.extend(t.Element,t.FX,{translate:function(d,v){return this.transform({x:d,y:v})},matrix:function(d){return this.attr("transform",new t.Matrix(arguments.length==6?[].slice.call(arguments):d))},opacity:function(d){return this.attr("opacity",d)},dx:function(d){return this.x(new t.Number(d).plus(this instanceof t.FX?0:this.x()),!0)},dy:function(d){return this.y(new t.Number(d).plus(this instanceof t.FX?0:this.y()),!0)}}),t.extend(t.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(d){return this.node.getPointAtLength(d)}}),t.Set=t.invent({create:function(d){Array.isArray(d)?this.members=d:this.clear()},extend:{add:function(){for(var d=[].slice.call(arguments),v=0,z=d.length;v<z;v++)this.members.push(d[v]);return this},remove:function(d){var v=this.index(d);return v>-1&&this.members.splice(v,1),this},each:function(d){for(var v=0,z=this.members.length;v<z;v++)d.apply(this.members[v],[v,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(d){return this.index(d)>=0},index:function(d){return this.members.indexOf(d)},get:function(d){return this.members[d]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(d){return new t.Set(d)}}}),t.FX.Set=t.invent({create:function(d){this.set=d}}),t.Set.inherit=function(){var d=[];for(var v in t.Shape.prototype)typeof t.Shape.prototype[v]=="function"&&typeof t.Set.prototype[v]!="function"&&d.push(v);for(var v in d.forEach(function(P){t.Set.prototype[P]=function(){for(var B=0,N=this.members.length;B<N;B++)this.members[B]&&typeof this.members[B][P]=="function"&&this.members[B][P].apply(this.members[B],arguments);return P=="animate"?this.fx||(this.fx=new t.FX.Set(this)):this}}),d=[],t.FX.prototype)typeof t.FX.prototype[v]=="function"&&typeof t.FX.Set.prototype[v]!="function"&&d.push(v);d.forEach(function(z){t.FX.Set.prototype[z]=function(){for(var P=0,B=this.set.members.length;P<B;P++)this.set.members[P].fx[z].apply(this.set.members[P].fx,arguments);return this}})},t.extend(t.Element,{}),t.extend(t.Element,{remember:function(d,v){if(f(arguments[0])==="object")for(var z in d)this.remember(z,d[z]);else{if(arguments.length==1)return this.memory()[d];this.memory()[d]=v}return this},forget:function(){if(arguments.length==0)this._memory={};else for(var d=arguments.length-1;d>=0;d--)delete this.memory()[arguments[d]];return this},memory:function(){return this._memory||(this._memory={})}}),t.get=function(d){var v=e.getElementById(function(z){var P=(z||"").toString().match(t.regex.reference);if(P)return P[1]}(d)||d);return t.adopt(v)},t.select=function(d,v){return new t.Set(t.utils.map((v||e).querySelectorAll(d),function(z){return t.adopt(z)}))},t.extend(t.Parent,{select:function(d){return t.select(d,this.node)}});var R="abcdef".split("");if(typeof E.CustomEvent!="function"){var _=function(d,v){v=v||{bubbles:!1,cancelable:!1,detail:void 0};var z=e.createEvent("CustomEvent");return z.initCustomEvent(d,v.bubbles,v.cancelable,v.detail),z};_.prototype=E.Event.prototype,t.CustomEvent=_}else t.CustomEvent=E.CustomEvent;return t},f(a)==="object"?c.exports=ir.document?xa(ir,ir.document):function(E){return xa(E,E.document)}:ir.SVG=xa(ir,ir.document),function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(n,l){return this.add(n,l),!n.attr("in")&&this.autoSetIn&&n.attr("in",this.source),n.attr("result")||n.attr("result",n),n},blend:function(n,l,h){return this.put(new SVG.BlendEffect(n,l,h))},colorMatrix:function(n,l){return this.put(new SVG.ColorMatrixEffect(n,l))},convolveMatrix:function(n){return this.put(new SVG.ConvolveMatrixEffect(n))},componentTransfer:function(n){return this.put(new SVG.ComponentTransferEffect(n))},composite:function(n,l,h){return this.put(new SVG.CompositeEffect(n,l,h))},flood:function(n,l){return this.put(new SVG.FloodEffect(n,l))},offset:function(n,l){return this.put(new SVG.OffsetEffect(n,l))},image:function(n){return this.put(new SVG.ImageEffect(n))},merge:function(){var n=[void 0];for(var l in arguments)n.push(arguments[l]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,n)))},gaussianBlur:function(n,l){return this.put(new SVG.GaussianBlurEffect(n,l))},morphology:function(n,l){return this.put(new SVG.MorphologyEffect(n,l))},diffuseLighting:function(n,l,h){return this.put(new SVG.DiffuseLightingEffect(n,l,h))},displacementMap:function(n,l,h,p,g){return this.put(new SVG.DisplacementMapEffect(n,l,h,p,g))},specularLighting:function(n,l,h,p){return this.put(new SVG.SpecularLightingEffect(n,l,h,p))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(n,l,h,p,g){return this.put(new SVG.TurbulenceEffect(n,l,h,p,g))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(n){var l=this.put(new SVG.Filter);return typeof n=="function"&&n.call(l,l),l}}),SVG.extend(SVG.Container,{filter:function(n){return this.defs().filter(n)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(n){return this.filterer=n instanceof SVG.Element?n:this.doc().filter(n),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(n){return this.filterer&&n===!0&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(n){return n==null?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",n)},result:function(n){return n==null?this.attr("result"):this.attr("result",n)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(n){return n==null?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",n)},result:function(n){return n==null?this.attr("result"):this.attr("result",n)},toString:function(){return this.result()}}});var E={blend:function(n,l){return this.parent()&&this.parent().blend(this,n,l)},colorMatrix:function(n,l){return this.parent()&&this.parent().colorMatrix(n,l).in(this)},convolveMatrix:function(n){return this.parent()&&this.parent().convolveMatrix(n).in(this)},componentTransfer:function(n){return this.parent()&&this.parent().componentTransfer(n).in(this)},composite:function(n,l){return this.parent()&&this.parent().composite(this,n,l)},flood:function(n,l){return this.parent()&&this.parent().flood(n,l)},offset:function(n,l){return this.parent()&&this.parent().offset(n,l).in(this)},image:function(n){return this.parent()&&this.parent().image(n)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(n,l){return this.parent()&&this.parent().gaussianBlur(n,l).in(this)},morphology:function(n,l){return this.parent()&&this.parent().morphology(n,l).in(this)},diffuseLighting:function(n,l,h){return this.parent()&&this.parent().diffuseLighting(n,l,h).in(this)},displacementMap:function(n,l,h,p){return this.parent()&&this.parent().displacementMap(this,n,l,h,p)},specularLighting:function(n,l,h,p){return this.parent()&&this.parent().specularLighting(n,l,h,p).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(n,l,h,p,g){return this.parent()&&this.parent().turbulence(n,l,h,p,g).in(this)}};SVG.extend(SVG.Effect,E),SVG.extend(SVG.ParentEffect,E),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(n){this.attr("in",n)}}});var e={blend:function(n,l,h){this.attr({in:n,in2:l,mode:h||"normal"})},colorMatrix:function(n,l){n=="matrix"&&(l=i(l)),this.attr({type:n,values:l===void 0?null:l})},convolveMatrix:function(n){n=i(n),this.attr({order:Math.sqrt(n.split(" ").length),kernelMatrix:n})},composite:function(n,l,h){this.attr({in:n,in2:l,operator:h})},flood:function(n,l){this.attr("flood-color",n),l!=null&&this.attr("flood-opacity",l)},offset:function(n,l){this.attr({dx:n,dy:l})},image:function(n){this.attr("href",n,SVG.xlink)},displacementMap:function(n,l,h,p,g){this.attr({in:n,in2:l,scale:h,xChannelSelector:p,yChannelSelector:g})},gaussianBlur:function(n,l){n!=null||l!=null?this.attr("stdDeviation",function(h){if(!Array.isArray(h))return h;for(var p=0,g=h.length,x=[];p<g;p++)x.push(h[p]);return x.join(" ")}(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(n,l){this.attr({operator:n,radius:l})},tile:function(){},turbulence:function(n,l,h,p,g){this.attr({numOctaves:l,seed:h,stitchTiles:p,baseFrequency:n,type:g})}},t={merge:function(){var n;if(arguments[0]instanceof SVG.Set){var l=this;arguments[0].each(function(p){this instanceof SVG.MergeNode?l.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&l.put(new SVG.MergeNode(this))})}else{n=Array.isArray(arguments[0])?arguments[0]:arguments;for(var h=0;h<n.length;h++)n[h]instanceof SVG.MergeNode?this.put(n[h]):this.put(new SVG.MergeNode(n[h]))}},componentTransfer:function(n){if(this.rgb=new SVG.Set,["r","g","b","a"].forEach(function(h){this[h]=new SVG["Func"+h.toUpperCase()]("identity"),this.rgb.add(this[h]),this.node.appendChild(this[h].node)}.bind(this)),n)for(var l in n.rgb&&(["r","g","b"].forEach(function(h){this[h].attr(n.rgb)}.bind(this)),delete n.rgb),n)this[l].attr(n[l])},diffuseLighting:function(n,l,h){this.attr({surfaceScale:n,diffuseConstant:l,kernelUnitLength:h})},specularLighting:function(n,l,h,p){this.attr({surfaceScale:n,diffuseConstant:l,specularExponent:h,kernelUnitLength:p})}},r={distantLight:function(n,l){this.attr({azimuth:n,elevation:l})},pointLight:function(n,l,h){this.attr({x:n,y:l,z:h})},spotLight:function(n,l,h,p,g,x){this.attr({x:n,y:l,z:h,pointsAtX:p,pointsAtY:g,pointsAtZ:x})},mergeNode:function(n){this.attr("in",n)}};function i(n){return Array.isArray(n)&&(n=new SVG.Array(n)),n.toString().replace(/^\s+/,"").replace(/\s+$/,"").replace(/\s+/g," ")}function s(){var n=function(){};for(var l in typeof arguments[arguments.length-1]=="function"&&(n=arguments[arguments.length-1],Array.prototype.splice.call(arguments,arguments.length-1,1)),arguments)for(var h in arguments[l])n(arguments[l][h],h,arguments[l])}["r","g","b","a"].forEach(function(n){r["Func"+n.toUpperCase()]=function(l){switch(this.attr("type",l),l){case"table":this.attr("tableValues",arguments[1]);break;case"linear":this.attr("slope",arguments[1]),this.attr("intercept",arguments[2]);break;case"gamma":this.attr("amplitude",arguments[1]),this.attr("exponent",arguments[2]),this.attr("offset",arguments[2])}}}),s(e,function(n,l){var h=l.charAt(0).toUpperCase()+l.slice(1);SVG[h+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+h)),n.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.Effect,extend:{}})}),s(t,function(n,l){var h=l.charAt(0).toUpperCase()+l.slice(1);SVG[h+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+h)),n.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.ParentEffect,extend:{}})}),s(r,function(n,l){var h=l.charAt(0).toUpperCase()+l.slice(1);SVG[h]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+h)),n.apply(this,arguments)},inherit:SVG.ChildEffect,extend:{}})}),SVG.extend(SVG.MergeEffect,{in:function(n){return n instanceof SVG.MergeNode?this.add(n,0):this.add(new SVG.MergeNode(n),0),this}}),SVG.extend(SVG.CompositeEffect,SVG.BlendEffect,SVG.DisplacementMapEffect,{in2:function(n){return n==null?this.parent()&&this.parent().select('[result="'+this.attr("in2")+'"]').get(0)||this.attr("in2"):this.attr("in2",n)}}),SVG.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]}}.call(void 0),function(){function E(s,n,l,h,p,g,x){for(var b=s.slice(n,l||x),y=h.slice(p,g||x),C=0,T={pos:[0,0],start:[0,0]},M={pos:[0,0],start:[0,0]};b[C]=e.call(T,b[C]),y[C]=e.call(M,y[C]),b[C][0]!=y[C][0]||b[C][0]=="M"||b[C][0]=="A"&&(b[C][4]!=y[C][4]||b[C][5]!=y[C][5])?(Array.prototype.splice.apply(b,[C,1].concat(r.call(T,b[C]))),Array.prototype.splice.apply(y,[C,1].concat(r.call(M,y[C])))):(b[C]=t.call(T,b[C]),y[C]=t.call(M,y[C])),!(++C==b.length&&C==y.length);)C==b.length&&b.push(["C",T.pos[0],T.pos[1],T.pos[0],T.pos[1],T.pos[0],T.pos[1]]),C==y.length&&y.push(["C",M.pos[0],M.pos[1],M.pos[0],M.pos[1],M.pos[0],M.pos[1]]);return{start:b,dest:y}}function e(s){switch(s[0]){case"z":case"Z":s[0]="L",s[1]=this.start[0],s[2]=this.start[1];break;case"H":s[0]="L",s[2]=this.pos[1];break;case"V":s[0]="L",s[2]=s[1],s[1]=this.pos[0];break;case"T":s[0]="Q",s[3]=s[1],s[4]=s[2],s[1]=this.reflection[1],s[2]=this.reflection[0];break;case"S":s[0]="C",s[6]=s[4],s[5]=s[3],s[4]=s[2],s[3]=s[1],s[2]=this.reflection[1],s[1]=this.reflection[0]}return s}function t(s){var n=s.length;return this.pos=[s[n-2],s[n-1]],"SCQT".indexOf(s[0])!=-1&&(this.reflection=[2*this.pos[0]-s[n-4],2*this.pos[1]-s[n-3]]),s}function r(s){var n=[s];switch(s[0]){case"M":return this.pos=this.start=[s[1],s[2]],n;case"L":s[5]=s[3]=s[1],s[6]=s[4]=s[2],s[1]=this.pos[0],s[2]=this.pos[1];break;case"Q":s[6]=s[4],s[5]=s[3],s[4]=1*s[4]/3+2*s[2]/3,s[3]=1*s[3]/3+2*s[1]/3,s[2]=1*this.pos[1]/3+2*s[2]/3,s[1]=1*this.pos[0]/3+2*s[1]/3;break;case"A":n=function(l,h){var p,g,x,b,y,C,T,M,R,_,d,v,z,P,B,N,W,G,$,ie,te,ce,me,Me,De,Ie,We=Math.abs(h[1]),He=Math.abs(h[2]),Ze=h[3]%360,Ut=h[4],sr=h[5],Ti=h[6],Li=h[7],ot=new SVG.Point(l),et=new SVG.Point(Ti,Li),co=[];if(We===0||He===0||ot.x===et.x&&ot.y===et.y)return[["C",ot.x,ot.y,et.x,et.y,et.x,et.y]];for(p=new SVG.Point((ot.x-et.x)/2,(ot.y-et.y)/2).transform(new SVG.Matrix().rotate(Ze)),(g=p.x*p.x/(We*We)+p.y*p.y/(He*He))>1&&(We*=g=Math.sqrt(g),He*=g),x=new SVG.Matrix().rotate(Ze).scale(1/We,1/He).rotate(-Ze),ot=ot.transform(x),et=et.transform(x),b=[et.x-ot.x,et.y-ot.y],C=b[0]*b[0]+b[1]*b[1],y=Math.sqrt(C),b[0]/=y,b[1]/=y,T=C<4?Math.sqrt(1-C/4):0,Ut===sr&&(T*=-1),M=new SVG.Point((et.x+ot.x)/2+T*-b[1],(et.y+ot.y)/2+T*b[0]),R=new SVG.Point(ot.x-M.x,ot.y-M.y),_=new SVG.Point(et.x-M.x,et.y-M.y),d=Math.acos(R.x/Math.sqrt(R.x*R.x+R.y*R.y)),R.y<0&&(d*=-1),v=Math.acos(_.x/Math.sqrt(_.x*_.x+_.y*_.y)),_.y<0&&(v*=-1),sr&&d>v&&(v+=2*Math.PI),!sr&&d<v&&(v-=2*Math.PI),P=Math.ceil(2*Math.abs(d-v)/Math.PI),N=[],W=d,z=(v-d)/P,B=4*Math.tan(z/4)/3,te=0;te<=P;te++)$=Math.cos(W),G=Math.sin(W),ie=new SVG.Point(M.x+$,M.y+G),N[te]=[new SVG.Point(ie.x+B*G,ie.y-B*$),ie,new SVG.Point(ie.x-B*G,ie.y+B*$)],W+=z;for(N[0][0]=N[0][1].clone(),N[N.length-1][2]=N[N.length-1][1].clone(),x=new SVG.Matrix().rotate(Ze).scale(We,He).rotate(-Ze),te=0,ce=N.length;te<ce;te++)N[te][0]=N[te][0].transform(x),N[te][1]=N[te][1].transform(x),N[te][2]=N[te][2].transform(x);for(te=1,ce=N.length;te<ce;te++)me=(ie=N[te-1][2]).x,Me=ie.y,De=(ie=N[te][0]).x,Ie=ie.y,Ti=(ie=N[te][1]).x,Li=ie.y,co.push(["C",me,Me,De,Ie,Ti,Li]);return co}(this.pos,s),s=n[0]}return s[0]="C",this.pos=[s[5],s[6]],this.reflection=[2*s[5]-s[3],2*s[6]-s[4]],n}function i(s,n){if(n===!1)return!1;for(var l=n,h=s.length;l<h;++l)if(s[l][0]=="M")return l;return!1}SVG.extend(SVG.PathArray,{morph:function(s){for(var n=this.value,l=this.parse(s),h=0,p=0,g=!1,x=!1;h!==!1||p!==!1;){var b;g=i(n,h!==!1&&h+1),x=i(l,p!==!1&&p+1),h===!1&&(h=(b=new SVG.PathArray(y.start).bbox()).height==0||b.width==0?n.push(n[0])-1:n.push(["M",b.x+b.width/2,b.y+b.height/2])-1),p===!1&&(p=(b=new SVG.PathArray(y.dest).bbox()).height==0||b.width==0?l.push(l[0])-1:l.push(["M",b.x+b.width/2,b.y+b.height/2])-1);var y=E(n,h,g,l,p,x);n=n.slice(0,h).concat(y.start,g===!1?[]:n.slice(g)),l=l.slice(0,p).concat(y.dest,x===!1?[]:l.slice(x)),h=g!==!1&&h+y.start.length,p=x!==!1&&p+y.dest.length}return this.value=n,this.destination=new SVG.PathArray,this.destination.value=l,this}})}(),function(){function E(e){e.remember("_draggable",this),this.el=e}E.prototype.init=function(e,t){var r=this;this.constraint=e,this.value=t,this.el.on("mousedown.drag",function(i){r.start(i)}),this.el.on("touchstart.drag",function(i){r.start(i)})},E.prototype.transformPoint=function(e,t){var r=(e=e||window.event).changedTouches&&e.changedTouches[0]||e;return this.p.x=r.clientX-(t||0),this.p.y=r.clientY,this.p.matrixTransform(this.m)},E.prototype.getBBox=function(){var e=this.el.bbox();return this.el instanceof SVG.Nested&&(e=this.el.rbox()),(this.el instanceof SVG.G||this.el instanceof SVG.Use||this.el instanceof SVG.Nested)&&(e.x=this.el.x(),e.y=this.el.y()),e},E.prototype.start=function(e){if(e.type!="click"&&e.type!="mousedown"&&e.type!="mousemove"||(e.which||e.buttons)==1){var t=this;if(this.el.fire("beforedrag",{event:e,handler:this}),!this.el.event().defaultPrevented){e.preventDefault(),e.stopPropagation(),this.parent=this.parent||this.el.parent(SVG.Nested)||this.el.parent(SVG.Doc),this.p=this.parent.node.createSVGPoint(),this.m=this.el.node.getScreenCTM().inverse();var r,i=this.getBBox();if(this.el instanceof SVG.Text)switch(r=this.el.node.getComputedTextLength(),this.el.attr("text-anchor")){case"middle":r/=2;break;case"start":r=0}this.startPoints={point:this.transformPoint(e,r),box:i,transform:this.el.transform()},SVG.on(window,"mousemove.drag",function(s){t.drag(s)}),SVG.on(window,"touchmove.drag",function(s){t.drag(s)}),SVG.on(window,"mouseup.drag",function(s){t.end(s)}),SVG.on(window,"touchend.drag",function(s){t.end(s)}),this.el.fire("dragstart",{event:e,p:this.startPoints.point,m:this.m,handler:this})}}},E.prototype.drag=function(e){var t=this.getBBox(),r=this.transformPoint(e),i=this.startPoints.box.x+r.x-this.startPoints.point.x,s=this.startPoints.box.y+r.y-this.startPoints.point.y,n=this.constraint,l=r.x-this.startPoints.point.x,h=r.y-this.startPoints.point.y;if(this.el.fire("dragmove",{event:e,p:r,m:this.m,handler:this}),this.el.event().defaultPrevented)return r;if(typeof n=="function"){var p=n.call(this.el,i,s,this.m);typeof p=="boolean"&&(p={x:p,y:p}),p.x===!0?this.el.x(i):p.x!==!1&&this.el.x(p.x),p.y===!0?this.el.y(s):p.y!==!1&&this.el.y(p.y)}else typeof n=="object"&&(n.minX!=null&&i<n.minX?l=(i=n.minX)-this.startPoints.box.x:n.maxX!=null&&i>n.maxX-t.width&&(l=(i=n.maxX-t.width)-this.startPoints.box.x),n.minY!=null&&s<n.minY?h=(s=n.minY)-this.startPoints.box.y:n.maxY!=null&&s>n.maxY-t.height&&(h=(s=n.maxY-t.height)-this.startPoints.box.y),n.snapToGrid!=null&&(i-=i%n.snapToGrid,s-=s%n.snapToGrid,l-=l%n.snapToGrid,h-=h%n.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:l,y:h},!0):this.el.move(i,s));return r},E.prototype.end=function(e){var t=this.drag(e);this.el.fire("dragend",{event:e,p:t,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(e,t){typeof e!="function"&&typeof e!="object"||(t=e,e=!0);var r=this.remember("_draggable")||new E(this);return(e=e===void 0||e)?r.init(t||{},e):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function E(e){this.el=e,e.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1},this.pointsList={lt:[0,0],rt:["width",0],rb:["width","height"],lb:[0,"height"],t:["width",0],r:["width","height"],b:["width","height"],l:[0,"height"]},this.pointCoord=function(t,r,i){var s=typeof t!="string"?t:r[t];return i?s/2:s},this.pointCoords=function(t,r){var i=this.pointsList[t];return{x:this.pointCoord(i[0],r,t==="t"||t==="b"),y:this.pointCoord(i[1],r,t==="r"||t==="l")}}}E.prototype.init=function(e,t){var r=this.el.bbox();this.options={};var i=this.el.selectize.defaults.points;for(var s in this.el.selectize.defaults)this.options[s]=this.el.selectize.defaults[s],t[s]!==void 0&&(this.options[s]=t[s]);var n=["points","pointsExclude"];for(var s in n){var l=this.options[n[s]];typeof l=="string"?l=l.length>0?l.split(/\s*,\s*/i):[]:typeof l=="boolean"&&n[s]==="points"&&(l=l?i:[]),this.options[n[s]]=l}this.options.points=[i,this.options.points].reduce(function(h,p){return h.filter(function(g){return p.indexOf(g)>-1})}),this.options.points=[this.options.points,this.options.pointsExclude].reduce(function(h,p){return h.filter(function(g){return p.indexOf(g)<0})}),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(r.x,r.y)),this.options.deepSelect&&["line","polyline","polygon"].indexOf(this.el.type)!==-1?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},E.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},E.prototype.getPointArray=function(){var e=this.el.bbox();return this.el.array().valueOf().map(function(t){return[t[0]-e.x,t[1]-e.y]})},E.prototype.drawPoints=function(){for(var e=this,t=this.getPointArray(),r=0,i=t.length;r<i;++r){var s=function(l){return function(h){(h=h||window.event).preventDefault?h.preventDefault():h.returnValue=!1,h.stopPropagation();var p=h.pageX||h.touches[0].pageX,g=h.pageY||h.touches[0].pageY;e.el.fire("point",{x:p,y:g,i:l,event:h})}}(r),n=this.drawPoint(t[r][0],t[r][1]).addClass(this.options.classPoints).addClass(this.options.classPoints+"_point").on("touchstart",s).on("mousedown",s);this.pointSelection.set.add(n)}},E.prototype.drawPoint=function(e,t){var r=this.options.pointType;switch(r){case"circle":return this.drawCircle(e,t);case"rect":return this.drawRect(e,t);default:if(typeof r=="function")return r.call(this,e,t);throw new Error("Unknown "+r+" point type!")}},E.prototype.drawCircle=function(e,t){return this.nested.circle(this.options.pointSize).center(e,t)},E.prototype.drawRect=function(e,t){return this.nested.rect(this.options.pointSize,this.options.pointSize).center(e,t)},E.prototype.updatePointSelection=function(){var e=this.getPointArray();this.pointSelection.set.each(function(t){this.cx()===e[t][0]&&this.cy()===e[t][1]||this.center(e[t][0],e[t][1])})},E.prototype.updateRectSelection=function(){var e=this,t=this.el.bbox();if(this.rectSelection.set.get(0).attr({width:t.width,height:t.height}),this.options.points.length&&this.options.points.map(function(i,s){var n=e.pointCoords(i,t);e.rectSelection.set.get(s+1).center(n.x,n.y)}),this.options.rotationPoint){var r=this.rectSelection.set.length();this.rectSelection.set.get(r-1).center(t.width/2,20)}},E.prototype.selectRect=function(e){var t=this,r=this.el.bbox();function i(l){return function(h){(h=h||window.event).preventDefault?h.preventDefault():h.returnValue=!1,h.stopPropagation();var p=h.pageX||h.touches[0].pageX,g=h.pageY||h.touches[0].pageY;t.el.fire(l,{x:p,y:g,event:h})}}if(this.rectSelection.isSelected=e,this.rectSelection.set=this.rectSelection.set||this.parent.set(),this.rectSelection.set.get(0)||this.rectSelection.set.add(this.nested.rect(r.width,r.height).addClass(this.options.classRect)),this.options.points.length&&this.rectSelection.set.length()<2&&(this.options.points.map(function(l,h){var p=t.pointCoords(l,r),g=t.drawPoint(p.x,p.y).attr("class",t.options.classPoints+"_"+l).on("mousedown",i(l)).on("touchstart",i(l));t.rectSelection.set.add(g)}),this.rectSelection.set.each(function(){this.addClass(t.options.classPoints)})),this.options.rotationPoint&&(this.options.points&&!this.rectSelection.set.get(9)||!this.options.points&&!this.rectSelection.set.get(1))){var s=function(l){(l=l||window.event).preventDefault?l.preventDefault():l.returnValue=!1,l.stopPropagation();var h=l.pageX||l.touches[0].pageX,p=l.pageY||l.touches[0].pageY;t.el.fire("rot",{x:h,y:p,event:l})},n=this.drawPoint(r.width/2,20).attr("class",this.options.classPoints+"_rot").on("touchstart",s).on("mousedown",s);this.rectSelection.set.add(n)}},E.prototype.handler=function(){var e=this.el.bbox();this.nested.matrix(new SVG.Matrix(this.el).translate(e.x,e.y)),this.rectSelection.isSelected&&this.updateRectSelection(),this.pointSelection.isSelected&&this.updatePointSelection()},E.prototype.observe=function(){var e=this;if(MutationObserver)if(this.rectSelection.isSelected||this.pointSelection.isSelected)this.observerInst=this.observerInst||new MutationObserver(function(){e.handler()}),this.observerInst.observe(this.el.node,{attributes:!0});else try{this.observerInst.disconnect(),delete this.observerInst}catch{}else this.el.off("DOMAttrModified.select"),(this.rectSelection.isSelected||this.pointSelection.isSelected)&&this.el.on("DOMAttrModified.select",function(){e.handler()})},E.prototype.cleanup=function(){!this.rectSelection.isSelected&&this.rectSelection.set&&(this.rectSelection.set.each(function(){this.remove()}),this.rectSelection.set.clear(),delete this.rectSelection.set),!this.pointSelection.isSelected&&this.pointSelection.set&&(this.pointSelection.set.each(function(){this.remove()}),this.pointSelection.set.clear(),delete this.pointSelection.set),this.pointSelection.isSelected||this.rectSelection.isSelected||(this.nested.remove(),delete this.nested)},SVG.extend(SVG.Element,{selectize:function(e,t){return typeof e=="object"&&(t=e,e=!0),(this.remember("_selectHandler")||new E(this)).init(e===void 0||e,t||{}),this}}),SVG.Element.prototype.selectize.defaults={points:["lt","rt","rb","lb","t","r","b","l"],pointsExclude:[],classRect:"svg_select_boundingRect",classPoints:"svg_select_points",pointSize:7,rotationPoint:!0,deepSelect:!1,pointType:"circle"}}(),function(){(function(){function E(e){e.remember("_resizeHandler",this),this.el=e,this.parameters={},this.lastUpdateCall=null,this.p=e.doc().node.createSVGPoint()}E.prototype.transformPoint=function(e,t,r){return this.p.x=e-(this.offset.x-window.pageXOffset),this.p.y=t-(this.offset.y-window.pageYOffset),this.p.matrixTransform(r||this.m)},E.prototype._extractPosition=function(e){return{x:e.clientX!=null?e.clientX:e.touches[0].clientX,y:e.clientY!=null?e.clientY:e.touches[0].clientY}},E.prototype.init=function(e){var t=this;if(this.stop(),e!=="stop"){for(var r in this.options={},this.el.resize.defaults)this.options[r]=this.el.resize.defaults[r],e[r]!==void 0&&(this.options[r]=e[r]);this.el.on("lt.resize",function(i){t.resize(i||window.event)}),this.el.on("rt.resize",function(i){t.resize(i||window.event)}),this.el.on("rb.resize",function(i){t.resize(i||window.event)}),this.el.on("lb.resize",function(i){t.resize(i||window.event)}),this.el.on("t.resize",function(i){t.resize(i||window.event)}),this.el.on("r.resize",function(i){t.resize(i||window.event)}),this.el.on("b.resize",function(i){t.resize(i||window.event)}),this.el.on("l.resize",function(i){t.resize(i||window.event)}),this.el.on("rot.resize",function(i){t.resize(i||window.event)}),this.el.on("point.resize",function(i){t.resize(i||window.event)}),this.update()}},E.prototype.stop=function(){return this.el.off("lt.resize"),this.el.off("rt.resize"),this.el.off("rb.resize"),this.el.off("lb.resize"),this.el.off("t.resize"),this.el.off("r.resize"),this.el.off("b.resize"),this.el.off("l.resize"),this.el.off("rot.resize"),this.el.off("point.resize"),this},E.prototype.resize=function(e){var t=this;this.m=this.el.node.getScreenCTM().inverse(),this.offset={x:window.pageXOffset,y:window.pageYOffset};var r=this._extractPosition(e.detail.event);if(this.parameters={type:this.el.type,p:this.transformPoint(r.x,r.y),x:e.detail.x,y:e.detail.y,box:this.el.bbox(),rotation:this.el.transform().rotation},this.el.type==="text"&&(this.parameters.fontSize=this.el.attr()["font-size"]),e.detail.i!==void 0){var i=this.el.array().valueOf();this.parameters.i=e.detail.i,this.parameters.pointCoords=[i[e.detail.i][0],i[e.detail.i][1]]}switch(e.type){case"lt":this.calc=function(s,n){var l=this.snapToGrid(s,n);if(this.parameters.box.width-l[0]>0&&this.parameters.box.height-l[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x+l[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-l[0]);l=this.checkAspectRatio(l),this.el.move(this.parameters.box.x+l[0],this.parameters.box.y+l[1]).size(this.parameters.box.width-l[0],this.parameters.box.height-l[1])}};break;case"rt":this.calc=function(s,n){var l=this.snapToGrid(s,n,2);if(this.parameters.box.width+l[0]>0&&this.parameters.box.height-l[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x-l[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+l[0]);l=this.checkAspectRatio(l,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+l[1]).size(this.parameters.box.width+l[0],this.parameters.box.height-l[1])}};break;case"rb":this.calc=function(s,n){var l=this.snapToGrid(s,n,0);if(this.parameters.box.width+l[0]>0&&this.parameters.box.height+l[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x-l[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+l[0]);l=this.checkAspectRatio(l),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+l[0],this.parameters.box.height+l[1])}};break;case"lb":this.calc=function(s,n){var l=this.snapToGrid(s,n,1);if(this.parameters.box.width-l[0]>0&&this.parameters.box.height+l[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x+l[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-l[0]);l=this.checkAspectRatio(l,!0),this.el.move(this.parameters.box.x+l[0],this.parameters.box.y).size(this.parameters.box.width-l[0],this.parameters.box.height+l[1])}};break;case"t":this.calc=function(s,n){var l=this.snapToGrid(s,n,2);if(this.parameters.box.height-l[1]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y+l[1]).height(this.parameters.box.height-l[1])}};break;case"r":this.calc=function(s,n){var l=this.snapToGrid(s,n,0);if(this.parameters.box.width+l[0]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+l[0])}};break;case"b":this.calc=function(s,n){var l=this.snapToGrid(s,n,0);if(this.parameters.box.height+l[1]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+l[1])}};break;case"l":this.calc=function(s,n){var l=this.snapToGrid(s,n,1);if(this.parameters.box.width-l[0]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x+l[0],this.parameters.box.y).width(this.parameters.box.width-l[0])}};break;case"rot":this.calc=function(s,n){var l=s+this.parameters.p.x,h=n+this.parameters.p.y,p=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),g=Math.atan2(h-this.parameters.box.y-this.parameters.box.height/2,l-this.parameters.box.x-this.parameters.box.width/2),x=this.parameters.rotation+180*(g-p)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(x-x%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(s,n){var l=this.snapToGrid(s,n,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),h=this.el.array().valueOf();h[this.parameters.i][0]=this.parameters.pointCoords[0]+l[0],h[this.parameters.i][1]=this.parameters.pointCoords[1]+l[1],this.el.plot(h)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:e}),SVG.on(window,"touchmove.resize",function(s){t.update(s||window.event)}),SVG.on(window,"touchend.resize",function(){t.done()}),SVG.on(window,"mousemove.resize",function(s){t.update(s||window.event)}),SVG.on(window,"mouseup.resize",function(){t.done()})},E.prototype.update=function(e){if(e){var t=this._extractPosition(e),r=this.transformPoint(t.x,t.y),i=r.x-this.parameters.p.x,s=r.y-this.parameters.p.y;this.lastUpdateCall=[i,s],this.calc(i,s),this.el.fire("resizing",{dx:i,dy:s,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},E.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},E.prototype.snapToGrid=function(e,t,r,i){var s;return i!==void 0?s=[(r+e)%this.options.snapToGrid,(i+t)%this.options.snapToGrid]:(r=r??3,s=[(this.parameters.box.x+e+(1&r?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&r?0:this.parameters.box.height))%this.options.snapToGrid]),e<0&&(s[0]-=this.options.snapToGrid),t<0&&(s[1]-=this.options.snapToGrid),e-=Math.abs(s[0])<this.options.snapToGrid/2?s[0]:s[0]-(e<0?-this.options.snapToGrid:this.options.snapToGrid),t-=Math.abs(s[1])<this.options.snapToGrid/2?s[1]:s[1]-(t<0?-this.options.snapToGrid:this.options.snapToGrid),this.constraintToBox(e,t,r,i)},E.prototype.constraintToBox=function(e,t,r,i){var s,n,l=this.options.constraint||{};return i!==void 0?(s=r,n=i):(s=this.parameters.box.x+(1&r?0:this.parameters.box.width),n=this.parameters.box.y+(2&r?0:this.parameters.box.height)),l.minX!==void 0&&s+e<l.minX&&(e=l.minX-s),l.maxX!==void 0&&s+e>l.maxX&&(e=l.maxX-s),l.minY!==void 0&&n+t<l.minY&&(t=l.minY-n),l.maxY!==void 0&&n+t>l.maxY&&(t=l.maxY-n),[e,t]},E.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var r=e.slice(),i=this.parameters.box.width/this.parameters.box.height,s=this.parameters.box.width+e[0],n=this.parameters.box.height-e[1],l=s/n;return l<i?(r[1]=s/i-this.parameters.box.height,t&&(r[1]=-r[1])):l>i&&(r[0]=this.parameters.box.width-n*i,t&&(r[0]=-r[0])),r},SVG.extend(SVG.Element,{resize:function(e){return(this.remember("_resizeHandler")||new E(this)).init(e||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),window.Apex===void 0&&(window.Apex={});var oo=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new se(this.ctx),this.ctx.axes=new Pr(this.ctx),this.ctx.core=new zu(this.ctx.el,this.ctx),this.ctx.config=new At({}),this.ctx.data=new Ue(this.ctx),this.ctx.grid=new It(this.ctx),this.ctx.graphics=new U(this.ctx),this.ctx.coreUtils=new re(this.ctx),this.ctx.crosshairs=new jt(this.ctx),this.ctx.events=new fa(this.ctx),this.ctx.exports=new st(this.ctx),this.ctx.localization=new ga(this.ctx),this.ctx.options=new Pe,this.ctx.responsive=new xr(this.ctx),this.ctx.series=new Te(this.ctx),this.ctx.theme=new iu(this.ctx),this.ctx.formatters=new ze(this.ctx),this.ctx.titleSubtitle=new su(this.ctx),this.ctx.legend=new Qn(this.ctx),this.ctx.toolbar=new $n(this.ctx),this.ctx.tooltip=new ro(this.ctx),this.ctx.dimensions=new ma(this.ctx),this.ctx.updateHelpers=new Tu(this.ctx),this.ctx.zoomPanSelection=new uu(this.ctx),this.ctx.w.globals.tooltip=new ro(this.ctx)}}]),E}(),lo=function(){function E(e){m(this,E),this.ctx=e,this.w=e.w}return w(E,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each(function(t,r){this.removeClass("*"),this.off(),this.stop()},!0),e.ungroup(),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,r=e.isUpdating,i=this.w.globals.dom.Paper.node;i.parentNode&&i.parentNode.parentNode&&!r&&(i.parentNode.parentNode.style.minHeight="unset");var s=this.w.globals.dom.baseEl;s&&this.ctx.eventList.forEach(function(l){s.removeEventListener(l,t.ctx.events.documentEvent)});var n=this.w.globals.dom;if(this.ctx.el!==null)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(n.Paper),n.Paper.remove(),n.elWrap=null,n.elGraphical=null,n.elLegendWrap=null,n.elLegendForeign=null,n.baseEl=null,n.elGridRect=null,n.elGridRectMask=null,n.elGridRectMarkerMask=null,n.elForecastMask=null,n.elNonForecastMask=null,n.elDefs=null}}]),E}(),zi=new WeakMap,Lu=function(){function E(e,t){m(this,E),this.opts=t,this.ctx=this,this.w=new mt(t).init(),this.el=e,this.w.globals.cuid=O.randomId(),this.w.globals.chartID=this.w.config.chart.id?O.escapeString(this.w.config.chart.id):this.w.globals.cuid,new oo(this).initModules(),this.create=O.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return w(E,[{key:"render",value:function(){var e=this;return new Promise(function(t,r){if(e.el!==null){Apex._chartInstances===void 0&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var i=e.w.config.chart.events.beforeMount;if(typeof i=="function"&&i(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),function(g,x){var b=!1;if(g.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var y=g.getBoundingClientRect();g.style.display!=="none"&&y.width!==0||(b=!0)}var C=new ResizeObserver(function(T){b&&x.call(g,T),b=!0});g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(g.children).forEach(function(T){return C.observe(T)}):C.observe(g),zi.set(x,C)}(e.el.parentNode,e.parentResizeHandler),!e.css){var s=e.el.getRootNode&&e.el.getRootNode(),n=O.is("ShadowRoot",s),l=e.el.ownerDocument,h=l.getElementById("apexcharts-css");!n&&h||(e.css=document.createElement("style"),e.css.id="apexcharts-css",e.css.textContent=`@keyframes opaque {
|
|
135
|
-
0% {
|
|
136
|
-
opacity: 0
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
to {
|
|
140
|
-
opacity: 1
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@keyframes resizeanim {
|
|
145
|
-
0%,to {
|
|
146
|
-
opacity: 0
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.apexcharts-canvas {
|
|
151
|
-
position: relative;
|
|
152
|
-
user-select: none
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.apexcharts-canvas ::-webkit-scrollbar {
|
|
156
|
-
-webkit-appearance: none;
|
|
157
|
-
width: 6px
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.apexcharts-canvas ::-webkit-scrollbar-thumb {
|
|
161
|
-
border-radius: 4px;
|
|
162
|
-
background-color: rgba(0,0,0,.5);
|
|
163
|
-
box-shadow: 0 0 1px rgba(255,255,255,.5);
|
|
164
|
-
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5)
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.apexcharts-inner {
|
|
168
|
-
position: relative
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.apexcharts-text tspan {
|
|
172
|
-
font-family: inherit
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.legend-mouseover-inactive {
|
|
176
|
-
transition: .15s ease all;
|
|
177
|
-
opacity: .2
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.apexcharts-legend-text {
|
|
181
|
-
padding-left: 15px;
|
|
182
|
-
margin-left: -15px;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.apexcharts-series-collapsed {
|
|
186
|
-
opacity: 0
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.apexcharts-tooltip {
|
|
190
|
-
border-radius: 5px;
|
|
191
|
-
box-shadow: 2px 2px 6px -4px #999;
|
|
192
|
-
cursor: default;
|
|
193
|
-
font-size: 14px;
|
|
194
|
-
left: 62px;
|
|
195
|
-
opacity: 0;
|
|
196
|
-
pointer-events: none;
|
|
197
|
-
position: absolute;
|
|
198
|
-
top: 20px;
|
|
199
|
-
display: flex;
|
|
200
|
-
flex-direction: column;
|
|
201
|
-
overflow: hidden;
|
|
202
|
-
white-space: nowrap;
|
|
203
|
-
z-index: 12;
|
|
204
|
-
transition: .15s ease all
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.apexcharts-tooltip.apexcharts-active {
|
|
208
|
-
opacity: 1;
|
|
209
|
-
transition: .15s ease all
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.apexcharts-tooltip.apexcharts-theme-light {
|
|
213
|
-
border: 1px solid #e3e3e3;
|
|
214
|
-
background: rgba(255,255,255,.96)
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.apexcharts-tooltip.apexcharts-theme-dark {
|
|
218
|
-
color: #fff;
|
|
219
|
-
background: rgba(30,30,30,.8)
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.apexcharts-tooltip * {
|
|
223
|
-
font-family: inherit
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.apexcharts-tooltip-title {
|
|
227
|
-
padding: 6px;
|
|
228
|
-
font-size: 15px;
|
|
229
|
-
margin-bottom: 4px
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
|
|
233
|
-
background: #eceff1;
|
|
234
|
-
border-bottom: 1px solid #ddd
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
|
|
238
|
-
background: rgba(0,0,0,.7);
|
|
239
|
-
border-bottom: 1px solid #333
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.apexcharts-tooltip-text-goals-value,.apexcharts-tooltip-text-y-value,.apexcharts-tooltip-text-z-value {
|
|
243
|
-
display: inline-block;
|
|
244
|
-
margin-left: 5px;
|
|
245
|
-
font-weight: 600
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.apexcharts-tooltip-text-goals-label:empty,.apexcharts-tooltip-text-goals-value:empty,.apexcharts-tooltip-text-y-label:empty,.apexcharts-tooltip-text-y-value:empty,.apexcharts-tooltip-text-z-value:empty,.apexcharts-tooltip-title:empty {
|
|
249
|
-
display: none
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {
|
|
253
|
-
padding: 6px 0 5px
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.apexcharts-tooltip-goals-group,.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {
|
|
257
|
-
display: flex
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.apexcharts-tooltip-text-goals-label:not(:empty),.apexcharts-tooltip-text-goals-value:not(:empty) {
|
|
261
|
-
margin-top: -6px
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.apexcharts-tooltip-marker {
|
|
265
|
-
width: 12px;
|
|
266
|
-
height: 12px;
|
|
267
|
-
position: relative;
|
|
268
|
-
top: 0;
|
|
269
|
-
margin-right: 10px;
|
|
270
|
-
border-radius: 50%
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.apexcharts-tooltip-series-group {
|
|
274
|
-
padding: 0 10px;
|
|
275
|
-
display: none;
|
|
276
|
-
text-align: left;
|
|
277
|
-
justify-content: left;
|
|
278
|
-
align-items: center
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
|
|
282
|
-
opacity: 1
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.apexcharts-tooltip-series-group.apexcharts-active,.apexcharts-tooltip-series-group:last-child {
|
|
286
|
-
padding-bottom: 4px
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.apexcharts-tooltip-series-group-hidden {
|
|
290
|
-
opacity: 0;
|
|
291
|
-
height: 0;
|
|
292
|
-
line-height: 0;
|
|
293
|
-
padding: 0!important
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.apexcharts-tooltip-y-group {
|
|
297
|
-
padding: 6px 0 5px
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.apexcharts-custom-tooltip,.apexcharts-tooltip-box {
|
|
301
|
-
padding: 4px 8px
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.apexcharts-tooltip-boxPlot {
|
|
305
|
-
display: flex;
|
|
306
|
-
flex-direction: column-reverse
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.apexcharts-tooltip-box>div {
|
|
310
|
-
margin: 4px 0
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.apexcharts-tooltip-box span.value {
|
|
314
|
-
font-weight: 700
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.apexcharts-tooltip-rangebar {
|
|
318
|
-
padding: 5px 8px
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.apexcharts-tooltip-rangebar .category {
|
|
322
|
-
font-weight: 600;
|
|
323
|
-
color: #777
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.apexcharts-tooltip-rangebar .series-name {
|
|
327
|
-
font-weight: 700;
|
|
328
|
-
display: block;
|
|
329
|
-
margin-bottom: 5px
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.apexcharts-xaxistooltip,.apexcharts-yaxistooltip {
|
|
333
|
-
opacity: 0;
|
|
334
|
-
pointer-events: none;
|
|
335
|
-
color: #373d3f;
|
|
336
|
-
font-size: 13px;
|
|
337
|
-
text-align: center;
|
|
338
|
-
border-radius: 2px;
|
|
339
|
-
position: absolute;
|
|
340
|
-
z-index: 10;
|
|
341
|
-
background: #eceff1;
|
|
342
|
-
border: 1px solid #90a4ae
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.apexcharts-xaxistooltip {
|
|
346
|
-
padding: 9px 10px;
|
|
347
|
-
transition: .15s ease all
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.apexcharts-xaxistooltip.apexcharts-theme-dark {
|
|
351
|
-
background: rgba(0,0,0,.7);
|
|
352
|
-
border: 1px solid rgba(0,0,0,.5);
|
|
353
|
-
color: #fff
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.apexcharts-xaxistooltip:after,.apexcharts-xaxistooltip:before {
|
|
357
|
-
left: 50%;
|
|
358
|
-
border: solid transparent;
|
|
359
|
-
content: " ";
|
|
360
|
-
height: 0;
|
|
361
|
-
width: 0;
|
|
362
|
-
position: absolute;
|
|
363
|
-
pointer-events: none
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.apexcharts-xaxistooltip:after {
|
|
367
|
-
border-color: transparent;
|
|
368
|
-
border-width: 6px;
|
|
369
|
-
margin-left: -6px
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.apexcharts-xaxistooltip:before {
|
|
373
|
-
border-color: transparent;
|
|
374
|
-
border-width: 7px;
|
|
375
|
-
margin-left: -7px
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.apexcharts-xaxistooltip-bottom:after,.apexcharts-xaxistooltip-bottom:before {
|
|
379
|
-
bottom: 100%
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.apexcharts-xaxistooltip-top:after,.apexcharts-xaxistooltip-top:before {
|
|
383
|
-
top: 100%
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.apexcharts-xaxistooltip-bottom:after {
|
|
387
|
-
border-bottom-color: #eceff1
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.apexcharts-xaxistooltip-bottom:before {
|
|
391
|
-
border-bottom-color: #90a4ae
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
|
|
395
|
-
border-bottom-color: rgba(0,0,0,.5)
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.apexcharts-xaxistooltip-top:after {
|
|
399
|
-
border-top-color: #eceff1
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.apexcharts-xaxistooltip-top:before {
|
|
403
|
-
border-top-color: #90a4ae
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
|
|
407
|
-
border-top-color: rgba(0,0,0,.5)
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
.apexcharts-xaxistooltip.apexcharts-active {
|
|
411
|
-
opacity: 1;
|
|
412
|
-
transition: .15s ease all
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.apexcharts-yaxistooltip {
|
|
416
|
-
padding: 4px 10px
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.apexcharts-yaxistooltip.apexcharts-theme-dark {
|
|
420
|
-
background: rgba(0,0,0,.7);
|
|
421
|
-
border: 1px solid rgba(0,0,0,.5);
|
|
422
|
-
color: #fff
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.apexcharts-yaxistooltip:after,.apexcharts-yaxistooltip:before {
|
|
426
|
-
top: 50%;
|
|
427
|
-
border: solid transparent;
|
|
428
|
-
content: " ";
|
|
429
|
-
height: 0;
|
|
430
|
-
width: 0;
|
|
431
|
-
position: absolute;
|
|
432
|
-
pointer-events: none
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.apexcharts-yaxistooltip:after {
|
|
436
|
-
border-color: transparent;
|
|
437
|
-
border-width: 6px;
|
|
438
|
-
margin-top: -6px
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
.apexcharts-yaxistooltip:before {
|
|
442
|
-
border-color: transparent;
|
|
443
|
-
border-width: 7px;
|
|
444
|
-
margin-top: -7px
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.apexcharts-yaxistooltip-left:after,.apexcharts-yaxistooltip-left:before {
|
|
448
|
-
left: 100%
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
.apexcharts-yaxistooltip-right:after,.apexcharts-yaxistooltip-right:before {
|
|
452
|
-
right: 100%
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.apexcharts-yaxistooltip-left:after {
|
|
456
|
-
border-left-color: #eceff1
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.apexcharts-yaxistooltip-left:before {
|
|
460
|
-
border-left-color: #90a4ae
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
|
|
464
|
-
border-left-color: rgba(0,0,0,.5)
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.apexcharts-yaxistooltip-right:after {
|
|
468
|
-
border-right-color: #eceff1
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
.apexcharts-yaxistooltip-right:before {
|
|
472
|
-
border-right-color: #90a4ae
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
|
|
476
|
-
border-right-color: rgba(0,0,0,.5)
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.apexcharts-yaxistooltip.apexcharts-active {
|
|
480
|
-
opacity: 1
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.apexcharts-yaxistooltip-hidden {
|
|
484
|
-
display: none
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.apexcharts-xcrosshairs,.apexcharts-ycrosshairs {
|
|
488
|
-
pointer-events: none;
|
|
489
|
-
opacity: 0;
|
|
490
|
-
transition: .15s ease all
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.apexcharts-xcrosshairs.apexcharts-active,.apexcharts-ycrosshairs.apexcharts-active {
|
|
494
|
-
opacity: 1;
|
|
495
|
-
transition: .15s ease all
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
.apexcharts-ycrosshairs-hidden {
|
|
499
|
-
opacity: 0
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
.apexcharts-selection-rect {
|
|
503
|
-
cursor: move
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.svg_select_boundingRect,.svg_select_points_rot {
|
|
507
|
-
pointer-events: none;
|
|
508
|
-
opacity: 0;
|
|
509
|
-
visibility: hidden
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.apexcharts-selection-rect+g .svg_select_boundingRect,.apexcharts-selection-rect+g .svg_select_points_rot {
|
|
513
|
-
opacity: 0;
|
|
514
|
-
visibility: hidden
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
.apexcharts-selection-rect+g .svg_select_points_l,.apexcharts-selection-rect+g .svg_select_points_r {
|
|
518
|
-
cursor: ew-resize;
|
|
519
|
-
opacity: 1;
|
|
520
|
-
visibility: visible
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
.svg_select_points {
|
|
524
|
-
fill: #efefef;
|
|
525
|
-
stroke: #333;
|
|
526
|
-
rx: 2
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
|
|
530
|
-
cursor: crosshair
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.apexcharts-svg.apexcharts-zoomable.hovering-pan {
|
|
534
|
-
cursor: move
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {
|
|
538
|
-
cursor: pointer;
|
|
539
|
-
width: 20px;
|
|
540
|
-
height: 20px;
|
|
541
|
-
line-height: 24px;
|
|
542
|
-
color: #6e8192;
|
|
543
|
-
text-align: center
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.apexcharts-menu-icon svg,.apexcharts-reset-icon svg,.apexcharts-zoom-icon svg,.apexcharts-zoomin-icon svg,.apexcharts-zoomout-icon svg {
|
|
547
|
-
fill: #6e8192
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
.apexcharts-selection-icon svg {
|
|
551
|
-
fill: #444;
|
|
552
|
-
transform: scale(.76)
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
.apexcharts-theme-dark .apexcharts-menu-icon svg,.apexcharts-theme-dark .apexcharts-pan-icon svg,.apexcharts-theme-dark .apexcharts-reset-icon svg,.apexcharts-theme-dark .apexcharts-selection-icon svg,.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,.apexcharts-theme-dark .apexcharts-zoom-icon svg,.apexcharts-theme-dark .apexcharts-zoomin-icon svg,.apexcharts-theme-dark .apexcharts-zoomout-icon svg {
|
|
556
|
-
fill: #f3f4f5
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {
|
|
560
|
-
fill: #008ffb
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.apexcharts-theme-light .apexcharts-menu-icon:hover svg,.apexcharts-theme-light .apexcharts-reset-icon:hover svg,.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {
|
|
564
|
-
fill: #333
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.apexcharts-menu-icon,.apexcharts-selection-icon {
|
|
568
|
-
position: relative
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.apexcharts-reset-icon {
|
|
572
|
-
margin-left: 5px
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon {
|
|
576
|
-
transform: scale(.85)
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {
|
|
580
|
-
transform: scale(.7)
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
.apexcharts-zoomout-icon {
|
|
584
|
-
margin-right: 3px
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
.apexcharts-pan-icon {
|
|
588
|
-
transform: scale(.62);
|
|
589
|
-
position: relative;
|
|
590
|
-
left: 1px;
|
|
591
|
-
top: 0
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.apexcharts-pan-icon svg {
|
|
595
|
-
fill: #fff;
|
|
596
|
-
stroke: #6e8192;
|
|
597
|
-
stroke-width: 2
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
.apexcharts-pan-icon.apexcharts-selected svg {
|
|
601
|
-
stroke: #008ffb
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
|
|
605
|
-
stroke: #333
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
.apexcharts-toolbar {
|
|
609
|
-
position: absolute;
|
|
610
|
-
z-index: 11;
|
|
611
|
-
max-width: 176px;
|
|
612
|
-
text-align: right;
|
|
613
|
-
border-radius: 3px;
|
|
614
|
-
padding: 0 6px 2px;
|
|
615
|
-
display: flex;
|
|
616
|
-
justify-content: space-between;
|
|
617
|
-
align-items: center
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
.apexcharts-menu {
|
|
621
|
-
background: #fff;
|
|
622
|
-
position: absolute;
|
|
623
|
-
top: 100%;
|
|
624
|
-
border: 1px solid #ddd;
|
|
625
|
-
border-radius: 3px;
|
|
626
|
-
padding: 3px;
|
|
627
|
-
right: 10px;
|
|
628
|
-
opacity: 0;
|
|
629
|
-
min-width: 110px;
|
|
630
|
-
transition: .15s ease all;
|
|
631
|
-
pointer-events: none
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
.apexcharts-menu.apexcharts-menu-open {
|
|
635
|
-
opacity: 1;
|
|
636
|
-
pointer-events: all;
|
|
637
|
-
transition: .15s ease all
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
.apexcharts-menu-item {
|
|
641
|
-
padding: 6px 7px;
|
|
642
|
-
font-size: 12px;
|
|
643
|
-
cursor: pointer
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
.apexcharts-theme-light .apexcharts-menu-item:hover {
|
|
647
|
-
background: #eee
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.apexcharts-theme-dark .apexcharts-menu {
|
|
651
|
-
background: rgba(0,0,0,.7);
|
|
652
|
-
color: #fff
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
@media screen and (min-width:768px) {
|
|
656
|
-
.apexcharts-canvas:hover .apexcharts-toolbar {
|
|
657
|
-
opacity: 1
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.apexcharts-canvas .apexcharts-element-hidden,.apexcharts-datalabel.apexcharts-element-hidden,.apexcharts-hide .apexcharts-series-points {
|
|
662
|
-
opacity: 0
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
.apexcharts-hidden-element-shown {
|
|
666
|
-
opacity: 1;
|
|
667
|
-
transition: 0.25s ease all;
|
|
668
|
-
}
|
|
669
|
-
.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value,.apexcharts-datalabels,.apexcharts-pie-label {
|
|
670
|
-
cursor: default;
|
|
671
|
-
pointer-events: none
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.apexcharts-pie-label-delay {
|
|
675
|
-
opacity: 0;
|
|
676
|
-
animation-name: opaque;
|
|
677
|
-
animation-duration: .3s;
|
|
678
|
-
animation-fill-mode: forwards;
|
|
679
|
-
animation-timing-function: ease
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
.apexcharts-annotation-rect,.apexcharts-area-series .apexcharts-area,.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-gridline,.apexcharts-line,.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-point-annotation-label,.apexcharts-radar-series path,.apexcharts-radar-series polygon,.apexcharts-toolbar svg,.apexcharts-tooltip .apexcharts-marker,.apexcharts-xaxis-annotation-label,.apexcharts-yaxis-annotation-label,.apexcharts-zoom-rect {
|
|
683
|
-
pointer-events: none
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
.apexcharts-marker {
|
|
687
|
-
transition: .15s ease all
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
.resize-triggers {
|
|
691
|
-
animation: 1ms resizeanim;
|
|
692
|
-
visibility: hidden;
|
|
693
|
-
opacity: 0;
|
|
694
|
-
height: 100%;
|
|
695
|
-
width: 100%;
|
|
696
|
-
overflow: hidden
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.contract-trigger:before,.resize-triggers,.resize-triggers>div {
|
|
700
|
-
content: " ";
|
|
701
|
-
display: block;
|
|
702
|
-
position: absolute;
|
|
703
|
-
top: 0;
|
|
704
|
-
left: 0
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
.resize-triggers>div {
|
|
708
|
-
height: 100%;
|
|
709
|
-
width: 100%;
|
|
710
|
-
background: #eee;
|
|
711
|
-
overflow: auto
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
.contract-trigger:before {
|
|
715
|
-
overflow: hidden;
|
|
716
|
-
width: 200%;
|
|
717
|
-
height: 200%
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
.apexcharts-bar-goals-markers{
|
|
721
|
-
pointer-events: none
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
.apexcharts-bar-shadows{
|
|
725
|
-
pointer-events: none
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
.apexcharts-rangebar-goals-markers{
|
|
729
|
-
pointer-events: none
|
|
730
|
-
}`,n?s.prepend(e.css):l.head.appendChild(e.css))}var p=e.create(e.w.config.series,{});if(!p)return t(e);e.mount(p).then(function(){typeof e.w.config.chart.events.mounted=="function"&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(p)}).catch(function(g){r(g)})}else r(new Error("Element not found"))})}},{key:"create",value:function(e,t){var r=this.w;new oo(this).initModules();var i=this.w.globals;if(i.noData=!1,i.animationEnded=!1,this.responsive.checkResponsiveConfig(t),r.config.xaxis.convertedCatToNumeric&&new $e(r.config).convertCatToNumericXaxis(r.config,this.ctx),this.el===null||(this.core.setupElements(),r.config.chart.type==="treemap"&&(r.config.grid.show=!1,r.config.yaxis[0].show=!1),i.svgWidth===0))return i.animationEnded=!0,null;var s=re.checkComboSeries(e);i.comboCharts=s.comboCharts,i.comboBarCount=s.comboBarCount;var n=e.every(function(g){return g.data&&g.data.length===0});(e.length===0||n)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new dt(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),i.noData&&i.collapsedSeries.length!==i.series.length&&!r.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),i.axisCharts&&(this.core.coreCalculations(),r.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=r.globals.minX,this.ctx.toolbar.maxX=r.globals.maxX),this.formatters.heatmapLabelFormatters(),new re(this).getLargestMarkerSize(),this.dimensions.plotCoords();var l=this.core.xySettings();this.grid.createGridMask();var h=this.core.plotChartType(e,l),p=new ge(this);return p.bringForward(),r.config.dataLabels.background.enabled&&p.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:h,xyRatios:l,dimensions:{plot:{left:r.globals.translateX,top:r.globals.translateY,width:r.globals.gridWidth,height:r.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this,i=r.w;return new Promise(function(s,n){if(r.el===null)return n(new Error("Not enough data to display or target element not found"));(t===null||i.globals.allSeriesCollapsed)&&r.series.handleNoData(),r.grid=new It(r);var l,h,p=r.grid.drawGrid();if(r.annotations=new Je(r),r.annotations.drawImageAnnos(),r.annotations.drawTextAnnos(),i.config.grid.position==="back"&&(p&&i.globals.dom.elGraphical.add(p.el),p!=null&&(l=p.elGridBorders)!==null&&l!==void 0&&l.node&&i.globals.dom.elGraphical.add(p.elGridBorders)),Array.isArray(t.elGraph))for(var g=0;g<t.elGraph.length;g++)i.globals.dom.elGraphical.add(t.elGraph[g]);else i.globals.dom.elGraphical.add(t.elGraph);i.config.grid.position==="front"&&(p&&i.globals.dom.elGraphical.add(p.el),p!=null&&(h=p.elGridBorders)!==null&&h!==void 0&&h.node&&i.globals.dom.elGraphical.add(p.elGridBorders)),i.config.xaxis.crosshairs.position==="front"&&r.crosshairs.drawXCrosshairs(),i.config.yaxis[0].crosshairs.position==="front"&&r.crosshairs.drawYCrosshairs(),i.config.chart.type!=="treemap"&&r.axes.drawAxis(i.config.chart.type,p);var x=new nt(e.ctx,p),b=new ar(e.ctx,p);if(p!==null&&(x.xAxisLabelCorrections(p.xAxisTickWidth),b.setYAxisTextAlignments(),i.config.yaxis.map(function(C,T){i.globals.ignoreYAxisIndexes.indexOf(T)===-1&&b.yAxisTitleRotate(T,C.opposite)})),r.annotations.drawAxesAnnotations(),!i.globals.noData){if(i.config.tooltip.enabled&&!i.globals.noData&&r.w.globals.tooltip.drawTooltip(t.xyRatios),i.globals.axisCharts&&(i.globals.isXNumeric||i.config.xaxis.convertedCatToNumeric||i.globals.isRangeBar))(i.config.chart.zoom.enabled||i.config.chart.selection&&i.config.chart.selection.enabled||i.config.chart.pan&&i.config.chart.pan.enabled)&&r.zoomPanSelection.init({xyRatios:t.xyRatios});else{var y=i.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach(function(C){y[C]=!1})}i.config.chart.toolbar.show&&!i.globals.allSeriesCollapsed&&r.toolbar.createToolbar()}i.globals.memory.methodsToExec.length>0&&i.globals.memory.methodsToExec.forEach(function(C){C.method(C.params,!1,C.context)}),i.globals.axisCharts||i.globals.noData||r.core.resizeNonAxisCharts(),s(r)})}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=zi.get(e))&&(t.disconnect(),zi.delete(e));var r=this.w.config.chart.id;r&&Apex._chartInstances.forEach(function(i,s){i.id===O.escapeString(r)&&Apex._chartInstances.splice(s,1)}),new lo(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],l=this.w;return l.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map(function(h,p){return t.updateHelpers._extendSeries(h,p)})),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),l.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,r,i,s,n)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,r)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],i=this.w.config.series.slice();return i.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(i,t,r)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=this;r.w.globals.dataChanged=!0,r.series.getPreviousPaths();for(var i=r.w.config.series.slice(),s=0;s<i.length;s++)if(e[s]!==null&&e[s]!==void 0)for(var n=0;n<e[s].data.length;n++)i[s].data.push(e[s].data[n]);return r.w.config.series=i,t&&(r.w.globals.initialSeries=O.clone(r.w.config.series)),this.update()}},{key:"update",value:function(e){var t=this;return new Promise(function(r,i){new lo(t.ctx).clear({isUpdating:!0});var s=t.create(t.w.config.series,e);if(!s)return r(t);t.mount(s).then(function(){typeof t.w.config.chart.events.updated=="function"&&t.w.config.chart.events.updated(t,t.w),t.events.fireEvent("updated",[t,t.w]),t.w.globals.isDirty=!0,r(t)}).catch(function(n){i(n)})})}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach(function(r){t.push(r)})),t}},{key:"getGroupedCharts",value:function(){var e=this;return Apex._chartInstances.filter(function(t){if(t.group)return!0}).map(function(t){return e.w.config.chart.group===t.group?t.chart:e})}},{key:"toggleSeries",value:function(e){return this.series.toggleSeries(e)}},{key:"highlightSeriesOnLegendHover",value:function(e,t){return this.series.toggleSeriesOnHover(e,t)}},{key:"showSeries",value:function(e){this.series.showSeries(e)}},{key:"hideSeries",value:function(e){this.series.hideSeries(e)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;r&&(i=r),i.annotations.addXaxisAnnotationExternal(e,t,i)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;r&&(i=r),i.annotations.addYaxisAnnotationExternal(e,t,i)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;r&&(i=r),i.annotations.addPointAnnotationExternal(e,t,i)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=this;t&&(r=t),r.annotations.removeAnnotation(r,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Dr(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Dr(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new st(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new st(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout(function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()},150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;typeof e=="function"&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=O.escapeString(e),r=Apex._chartInstances.filter(function(i){return i.id===t})[0];return r&&r.chart}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t<e.length;t++)new E(e[t],JSON.parse(e[t].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var r=this.getChartByID(e);if(r){r.w.globals.isExecCalled=!0;var i=null;if(r.publicMethods.indexOf(t)!==-1){for(var s=arguments.length,n=new Array(s>2?s-2:0),l=2;l<s;l++)n[l-2]=arguments[l];i=r[t].apply(r,n)}return i}}},{key:"merge",value:function(e,t){return O.extend(e,t)}}]),E}();c.exports=Lu}(y0,Ar)),Ar}(function(c){c.exports=function(a){var o={};function u(f){if(o[f])return o[f].exports;var m=o[f]={i:f,l:!1,exports:{}};return a[f].call(m.exports,m,m.exports,u),m.l=!0,m.exports}return u.m=a,u.c=o,u.d=function(f,m,k){u.o(f,m)||Object.defineProperty(f,m,{enumerable:!0,get:k})},u.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},u.t=function(f,m){if(m&1&&(f=u(f)),m&8||m&4&&typeof f=="object"&&f&&f.__esModule)return f;var k=Object.create(null);if(u.r(k),Object.defineProperty(k,"default",{enumerable:!0,value:f}),m&2&&typeof f!="string")for(var w in f)u.d(k,w,function(S){return f[S]}.bind(null,w));return k},u.n=function(f){var m=f&&f.__esModule?function(){return f.default}:function(){return f};return u.d(m,"a",m),m},u.o=function(f,m){return Object.prototype.hasOwnProperty.call(f,m)},u.p="",u(u.s="fb15")}({"8bbf":function(a,o){a.exports=ee},"95e6":function(a,o){a.exports=w0()},fb15:function(a,o,u){if(u.r(o),typeof window<"u"){var f=window.document.currentScript,m=f&&f.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);m&&(u.p=m[1])}var k=u("8bbf"),w=u("95e6"),S=u.n(w);const D=["animationEnd","beforeMount","mounted","updated","click","mouseMove","mouseLeave","legendClick","markerClick","selection","dataPointSelection","dataPointMouseEnter","dataPointMouseLeave","beforeZoom","beforeResetZoom","zoomed","scrolled","brushScrolled"];var H=Object(k.defineComponent)({name:"apexchart",props:{options:{type:Object},type:{type:String},series:{type:Array,required:!0},width:{default:"100%"},height:{default:"auto"}},emits:D,setup(Z,{emit:J}){const ae=Object(k.ref)(null),K=Object(k.ref)(null),O=ge=>ge&&typeof ge=="object"&&!Array.isArray(ge)&&ge!=null,se=(ge,Te)=>{typeof Object.assign!="function"&&function(){Object.assign=function(Fe){if(Fe==null)throw new TypeError("Cannot convert undefined or null to object");let st=Object(Fe);for(let nt=1;nt<arguments.length;nt++){let It=arguments[nt];if(It!=null)for(let bt in It)It.hasOwnProperty(bt)&&(st[bt]=It[bt])}return st}}();let Ue=Object.assign({},ge);return O(ge)&&O(Te)&&Object.keys(Te).forEach(Fe=>{O(Te[Fe])?Fe in ge?Ue[Fe]=se(ge[Fe],Te[Fe]):Object.assign(Ue,{[Fe]:Te[Fe]}):Object.assign(Ue,{[Fe]:Te[Fe]})}),Ue},le=async()=>{if(await Object(k.nextTick)(),K.value)return;const ge={chart:{type:Z.type||Z.options.chart.type||"line",height:Z.height,width:Z.width,events:{}},series:Z.series};D.forEach(Ue=>{let Fe=(...st)=>J(Ue,...st);ge.chart.events[Ue]=Fe});const Te=se(Z.options,ge);return K.value=new S.a(ae.value,Te),K.value.render()},U=()=>(re(),le()),re=()=>{K.value.destroy()},fe=(ge,Te)=>K.value.updateSeries(ge,Te),ye=(ge,Te,Ue,Fe)=>K.value.updateOptions(ge,Te,Ue,Fe),Ee=ge=>K.value.toggleSeries(ge),we=ge=>{K.value.showSeries(ge)},Ce=ge=>{K.value.hideSeries(ge)},Pe=(ge,Te)=>K.value.appendSeries(ge,Te),Je=()=>{K.value.resetSeries()},ne=(ge,Te)=>{K.value.toggleDataPointSelection(ge,Te)},ze=ge=>K.value.appendData(ge),ke=(ge,Te)=>K.value.zoomX(ge,Te),Ve=ge=>K.value.dataURI(ge),$e=ge=>K.value.setLocale(ge),At=(ge,Te)=>{K.value.addXaxisAnnotation(ge,Te)},ut=(ge,Te)=>{K.value.addYaxisAnnotation(ge,Te)},mt=(ge,Te)=>{K.value.addPointAnnotation(ge,Te)},Ne=(ge,Te)=>{K.value.removeAnnotation(ge,Te)},dt=()=>{K.value.clearAnnotations()};Object(k.onBeforeMount)(()=>{window.ApexCharts=S.a}),Object(k.onMounted)(()=>{ae.value=Object(k.getCurrentInstance)().proxy.$el,le()}),Object(k.onBeforeUnmount)(()=>{K.value&&re()});const xt=Object(k.toRefs)(Z);return Object(k.watch)(xt.options,()=>{!K.value&&Z.options?le():K.value.updateOptions(Z.options)}),Object(k.watch)(xt.series,()=>{!K.value&&Z.series?le():K.value.updateSeries(Z.series)},{deep:!0}),Object(k.watch)(xt.type,()=>{U()}),Object(k.watch)(xt.width,()=>{U()}),Object(k.watch)(xt.height,()=>{U()}),{chart:K,init:le,refresh:U,destroy:re,updateOptions:ye,updateSeries:fe,toggleSeries:Ee,showSeries:we,hideSeries:Ce,resetSeries:Je,zoomX:ke,toggleDataPointSelection:ne,appendData:ze,appendSeries:Pe,addXaxisAnnotation:At,addYaxisAnnotation:ut,addPointAnnotation:mt,removeAnnotation:Ne,clearAnnotations:dt,setLocale:$e,dataURI:Ve}},render(){return Object(k.h)("div",{class:"vue-apexcharts"})}});const Y=Z=>{Z.component(H.name,H)};H.install=Y;var q=H;o.default=q}})})(v0);const Kq="",Qq="",$q="";class Wa{constructor(a,o,u){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=a,this.start=o,this.end=u}static range(a,o){return o?!a||!a.loc||!o.loc||a.loc.lexer!==o.loc.lexer?null:new Wa(a.loc.lexer,a.loc.start,o.loc.end):a&&a.loc}}class Ga{constructor(a,o){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=a,this.loc=o}range(a,o){return new Ga(o,Wa.range(this,a))}}class ve{constructor(a,o){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var u="KaTeX parse error: "+a,f,m,k=o&&o.loc;if(k&&k.start<=k.end){var w=k.lexer.input;f=k.start,m=k.end,f===w.length?u+=" at end of input: ":u+=" at position "+(f+1)+": ";var S=w.slice(f,m).replace(/[^]/g,"$&̲"),D;f>15?D="…"+w.slice(f-15,f):D=w.slice(0,f);var F;m+15<w.length?F=w.slice(m,m+15)+"…":F=w.slice(m),u+=D+S+F}var H=new Error(u);return H.name="ParseError",H.__proto__=ve.prototype,H.position=f,f!=null&&m!=null&&(H.length=m-f),H.rawMessage=a,H}}ve.prototype.__proto__=Error.prototype;var k0=function(a,o){return a.indexOf(o)!==-1},A0=function(a,o){return a===void 0?o:a},S0=/([A-Z])/g,C0=function(a){return a.replace(S0,"-$1").toLowerCase()},z0={"&":"&",">":">","<":"<",'"':""","'":"'"},T0=/[&><"']/g;function L0(c){return String(c).replace(T0,a=>z0[a])}var Os=function c(a){return a.type==="ordgroup"||a.type==="color"?a.body.length===1?c(a.body[0]):a:a.type==="font"?c(a.body):a},M0=function(a){var o=Os(a);return o.type==="mathord"||o.type==="textord"||o.type==="atom"},E0=function(a){if(!a)throw new Error("Expected non-null, but got "+String(a));return a},D0=function(a){var o=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(a);return o!=null?o[1]:"_relative"},Ae={contains:k0,deflt:A0,escape:L0,hyphenate:C0,getBaseElem:Os,isCharacterBox:M0,protocolFromUrl:D0};class qt{constructor(a,o,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=a,this.size=o,this.cramped=u}sup(){return Lt[P0[this.id]]}sub(){return Lt[I0[this.id]]}fracNum(){return Lt[R0[this.id]]}fracDen(){return Lt[F0[this.id]]}cramp(){return Lt[_0[this.id]]}text(){return Lt[B0[this.id]]}isTight(){return this.size>=2}}var ja=0,Zr=1,ur=2,Rt=3,Sr=4,ft=5,dr=6,tt=7,Lt=[new qt(ja,0,!1),new qt(Zr,0,!0),new qt(ur,1,!1),new qt(Rt,1,!0),new qt(Sr,2,!1),new qt(ft,2,!0),new qt(dr,3,!1),new qt(tt,3,!0)],P0=[Sr,ft,Sr,ft,dr,tt,dr,tt],I0=[ft,ft,ft,ft,tt,tt,tt,tt],R0=[ur,Rt,Sr,ft,dr,tt,dr,tt],F0=[Rt,Rt,ft,ft,tt,tt,tt,tt],_0=[Zr,Zr,Rt,Rt,ft,ft,tt,tt],B0=[ja,Zr,ur,Rt,ur,Rt,ur,Rt],be={DISPLAY:Lt[ja],TEXT:Lt[ur],SCRIPT:Lt[Sr],SCRIPTSCRIPT:Lt[dr]},Ua=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function N0(c){for(var a=0;a<Ua.length;a++)for(var o=Ua[a],u=0;u<o.blocks.length;u++){var f=o.blocks[u];if(c>=f[0]&&c<=f[1])return o.name}return null}var Jr=[];Ua.forEach(c=>c.blocks.forEach(a=>Jr.push(...a)));function O0(c){for(var a=0;a<Jr.length;a+=2)if(c>=Jr[a]&&c<=Jr[a+1])return!0;return!1}var pr=80,H0=function(a,o){return"M95,"+(622+a+o)+`
|
|
731
|
-
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
732
|
-
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
733
|
-
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
734
|
-
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
735
|
-
c69,-144,104.5,-217.7,106.5,-221
|
|
736
|
-
l`+a/2.075+" -"+a+`
|
|
737
|
-
c5.3,-9.3,12,-14,20,-14
|
|
738
|
-
H400000v`+(40+a)+`H845.2724
|
|
739
|
-
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
740
|
-
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
741
|
-
M`+(834+a)+" "+o+"h400000v"+(40+a)+"h-400000z"},q0=function(a,o){return"M263,"+(601+a+o)+`c0.7,0,18,39.7,52,119
|
|
742
|
-
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
743
|
-
c340,-704.7,510.7,-1060.3,512,-1067
|
|
744
|
-
l`+a/2.084+" -"+a+`
|
|
745
|
-
c4.7,-7.3,11,-11,19,-11
|
|
746
|
-
H40000v`+(40+a)+`H1012.3
|
|
747
|
-
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
748
|
-
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
749
|
-
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
750
|
-
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
751
|
-
M`+(1001+a)+" "+o+"h400000v"+(40+a)+"h-400000z"},X0=function(a,o){return"M983 "+(10+a+o)+`
|
|
752
|
-
l`+a/3.13+" -"+a+`
|
|
753
|
-
c4,-6.7,10,-10,18,-10 H400000v`+(40+a)+`
|
|
754
|
-
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
755
|
-
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
756
|
-
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
757
|
-
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
758
|
-
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
759
|
-
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
760
|
-
M`+(1001+a)+" "+o+"h400000v"+(40+a)+"h-400000z"},Y0=function(a,o){return"M424,"+(2398+a+o)+`
|
|
761
|
-
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
762
|
-
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
763
|
-
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
764
|
-
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
765
|
-
l`+a/4.223+" -"+a+`c4,-6.7,10,-10,18,-10 H400000
|
|
766
|
-
v`+(40+a)+`H1014.6
|
|
767
|
-
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
768
|
-
c-2,6,-10,9,-24,9
|
|
769
|
-
c-8,0,-12,-0.7,-12,-2z M`+(1001+a)+" "+o+`
|
|
770
|
-
h400000v`+(40+a)+"h-400000z"},V0=function(a,o){return"M473,"+(2713+a+o)+`
|
|
771
|
-
c339.3,-1799.3,509.3,-2700,510,-2702 l`+a/5.298+" -"+a+`
|
|
772
|
-
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+a)+`H1017.7
|
|
773
|
-
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
774
|
-
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
775
|
-
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
776
|
-
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
777
|
-
606zM`+(1001+a)+" "+o+"h400000v"+(40+a)+"H1017.7z"},W0=function(a){var o=a/2;return"M400000 "+a+" H0 L"+o+" 0 l65 45 L145 "+(a-80)+" H400000z"},G0=function(a,o,u){var f=u-54-o-a;return"M702 "+(a+o)+"H400000"+(40+a)+`
|
|
778
|
-
H742v`+f+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
779
|
-
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
780
|
-
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
781
|
-
219 661 l218 661zM702 `+o+"H400000v"+(40+a)+"H742z"},j0=function(a,o,u){o=1e3*o;var f="";switch(a){case"sqrtMain":f=H0(o,pr);break;case"sqrtSize1":f=q0(o,pr);break;case"sqrtSize2":f=X0(o,pr);break;case"sqrtSize3":f=Y0(o,pr);break;case"sqrtSize4":f=V0(o,pr);break;case"sqrtTall":f=G0(o,pr,u)}return f},U0=function(a,o){switch(a){case"⎜":return"M291 0 H417 V"+o+" H291z M291 0 H417 V"+o+" H291z";case"∣":return"M145 0 H188 V"+o+" H145z M145 0 H188 V"+o+" H145z";case"∥":return"M145 0 H188 V"+o+" H145z M145 0 H188 V"+o+" H145z"+("M367 0 H410 V"+o+" H367z M367 0 H410 V"+o+" H367z");case"⎟":return"M457 0 H583 V"+o+" H457z M457 0 H583 V"+o+" H457z";case"⎢":return"M319 0 H403 V"+o+" H319z M319 0 H403 V"+o+" H319z";case"⎥":return"M263 0 H347 V"+o+" H263z M263 0 H347 V"+o+" H263z";case"⎪":return"M384 0 H504 V"+o+" H384z M384 0 H504 V"+o+" H384z";case"⏐":return"M312 0 H355 V"+o+" H312z M312 0 H355 V"+o+" H312z";case"‖":return"M257 0 H300 V"+o+" H257z M257 0 H300 V"+o+" H257z"+("M478 0 H521 V"+o+" H478z M478 0 H521 V"+o+" H478z");default:return""}},Hs={doubleleftarrow:`M262 157
|
|
782
|
-
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
783
|
-
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
784
|
-
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
785
|
-
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
786
|
-
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
787
|
-
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
788
|
-
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
789
|
-
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
790
|
-
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
791
|
-
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
792
|
-
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
793
|
-
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
794
|
-
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
795
|
-
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
796
|
-
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
797
|
-
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
798
|
-
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
799
|
-
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
800
|
-
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
801
|
-
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
802
|
-
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
803
|
-
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
804
|
-
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
805
|
-
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
806
|
-
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
807
|
-
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
808
|
-
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
809
|
-
435 0h399565z`,leftgroupunder:`M400000 262
|
|
810
|
-
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
811
|
-
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
812
|
-
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
813
|
-
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
814
|
-
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
815
|
-
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
816
|
-
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
817
|
-
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
818
|
-
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
819
|
-
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
820
|
-
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
821
|
-
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
822
|
-
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
823
|
-
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
824
|
-
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
825
|
-
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
826
|
-
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
827
|
-
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
828
|
-
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
829
|
-
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
830
|
-
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
831
|
-
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
832
|
-
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
833
|
-
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
834
|
-
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
835
|
-
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
836
|
-
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
837
|
-
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
838
|
-
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
839
|
-
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
840
|
-
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
841
|
-
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
842
|
-
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
843
|
-
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
844
|
-
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
845
|
-
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
846
|
-
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
847
|
-
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
848
|
-
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
849
|
-
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
850
|
-
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
851
|
-
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
852
|
-
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
853
|
-
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
854
|
-
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
855
|
-
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
856
|
-
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
857
|
-
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
858
|
-
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
859
|
-
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
860
|
-
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
861
|
-
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
862
|
-
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
863
|
-
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
864
|
-
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
865
|
-
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
866
|
-
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
867
|
-
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
868
|
-
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
869
|
-
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
870
|
-
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
871
|
-
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
872
|
-
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
873
|
-
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
874
|
-
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
875
|
-
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
876
|
-
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
877
|
-
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
878
|
-
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
879
|
-
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
880
|
-
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
881
|
-
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
882
|
-
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
883
|
-
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
884
|
-
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
885
|
-
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
886
|
-
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
887
|
-
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
888
|
-
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
889
|
-
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
890
|
-
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
891
|
-
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
892
|
-
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
893
|
-
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
894
|
-
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
895
|
-
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
896
|
-
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
897
|
-
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
898
|
-
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
899
|
-
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
900
|
-
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
901
|
-
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
902
|
-
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
903
|
-
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
904
|
-
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
905
|
-
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
906
|
-
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
907
|
-
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
908
|
-
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
909
|
-
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
910
|
-
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
911
|
-
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
912
|
-
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
913
|
-
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
914
|
-
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
915
|
-
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
916
|
-
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
917
|
-
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
918
|
-
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
919
|
-
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
920
|
-
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
921
|
-
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
922
|
-
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
923
|
-
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
924
|
-
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
925
|
-
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
926
|
-
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
927
|
-
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
928
|
-
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
929
|
-
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
930
|
-
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
931
|
-
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
932
|
-
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
933
|
-
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
934
|
-
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
935
|
-
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
936
|
-
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
937
|
-
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
938
|
-
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
939
|
-
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
940
|
-
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
941
|
-
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
942
|
-
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
943
|
-
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
944
|
-
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
945
|
-
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
946
|
-
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
947
|
-
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
948
|
-
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
949
|
-
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
950
|
-
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
951
|
-
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
952
|
-
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
953
|
-
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
954
|
-
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
955
|
-
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
956
|
-
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Z0=function(a,o){switch(a){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+o+` v1759 h347 v-84
|
|
957
|
-
H403z M403 1759 V0 H319 V1759 v`+o+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+o+` v1759 H0 v84 H347z
|
|
958
|
-
M347 1759 V0 H263 V1759 v`+o+" v1759 h84z";case"vert":return"M145 15 v585 v"+o+` v585 c2.667,10,9.667,15,21,15
|
|
959
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-o+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
960
|
-
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+o+" v585 h43z";case"doublevert":return"M145 15 v585 v"+o+` v585 c2.667,10,9.667,15,21,15
|
|
961
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-o+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
962
|
-
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+o+` v585 h43z
|
|
963
|
-
M367 15 v585 v`+o+` v585 c2.667,10,9.667,15,21,15
|
|
964
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-o+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
965
|
-
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+o+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+o+` v1715 h263 v84 H319z
|
|
966
|
-
MM319 602 V0 H403 V602 v`+o+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+o+` v1799 H0 v-84 H319z
|
|
967
|
-
MM319 602 V0 H403 V602 v`+o+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+o+` v602 h84z
|
|
968
|
-
M403 1759 V0 H319 V1759 v`+o+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+o+` v602 h84z
|
|
969
|
-
M347 1759 V0 h-84 V1759 v`+o+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
970
|
-
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
971
|
-
-36,557 l0,`+(o+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
972
|
-
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
973
|
-
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
974
|
-
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
975
|
-
l0,-`+(o+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
976
|
-
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
977
|
-
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
978
|
-
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(o+9)+`
|
|
979
|
-
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
980
|
-
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
981
|
-
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
982
|
-
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
983
|
-
l0,-`+(o+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
984
|
-
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Cr{constructor(a){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=a,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(a){return Ae.contains(this.classes,a)}toNode(){for(var a=document.createDocumentFragment(),o=0;o<this.children.length;o++)a.appendChild(this.children[o].toNode());return a}toMarkup(){for(var a="",o=0;o<this.children.length;o++)a+=this.children[o].toMarkup();return a}toText(){var a=o=>o.toText();return this.children.map(a).join("")}}var Ft={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},qs={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Za(c,a,o){if(!Ft[a])throw new Error("Font metrics not found for font: "+a+".");var u=c.charCodeAt(0),f=Ft[a][u];if(!f&&c[0]in qs&&(u=qs[c[0]].charCodeAt(0),f=Ft[a][u]),!f&&o==="text"&&O0(u)&&(f=Ft[a][77]),f)return{depth:f[0],height:f[1],italic:f[2],skew:f[3],width:f[4]}}var Ja={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},J0={ex:!0,em:!0,mu:!0},K0=function(a){return typeof a!="string"&&(a=a.unit),a in Ja||a in J0||a==="ex"},qe=function(a,o){var u;if(a.unit in Ja)u=Ja[a.unit]/o.fontMetrics().ptPerEm/o.sizeMultiplier;else if(a.unit==="mu")u=o.fontMetrics().cssEmPerMu;else{var f;if(o.style.isTight()?f=o.havingStyle(o.style.text()):f=o,a.unit==="ex")u=f.fontMetrics().xHeight;else if(a.unit==="em")u=f.fontMetrics().quad;else throw new ve("Invalid unit: '"+a.unit+"'");f!==o&&(u*=f.sizeMultiplier/o.sizeMultiplier)}return Math.min(a.number*u,o.maxSize)},ue=function(a){return+a.toFixed(4)+"em"},Xt=function(a){return a.filter(o=>o).join(" ")},Xs=function(a,o,u){if(this.classes=a||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=u||{},o){o.style.isTight()&&this.classes.push("mtight");var f=o.getColor();f&&(this.style.color=f)}},Ys=function(a){var o=document.createElement(a);o.className=Xt(this.classes);for(var u in this.style)this.style.hasOwnProperty(u)&&(o.style[u]=this.style[u]);for(var f in this.attributes)this.attributes.hasOwnProperty(f)&&o.setAttribute(f,this.attributes[f]);for(var m=0;m<this.children.length;m++)o.appendChild(this.children[m].toNode());return o},Vs=function(a){var o="<"+a;this.classes.length&&(o+=' class="'+Ae.escape(Xt(this.classes))+'"');var u="";for(var f in this.style)this.style.hasOwnProperty(f)&&(u+=Ae.hyphenate(f)+":"+this.style[f]+";");u&&(o+=' style="'+Ae.escape(u)+'"');for(var m in this.attributes)this.attributes.hasOwnProperty(m)&&(o+=" "+m+'="'+Ae.escape(this.attributes[m])+'"');o+=">";for(var k=0;k<this.children.length;k++)o+=this.children[k].toMarkup();return o+="</"+a+">",o};class Kr{constructor(a,o,u,f){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Xs.call(this,a,u,f),this.children=o||[]}setAttribute(a,o){this.attributes[a]=o}hasClass(a){return Ae.contains(this.classes,a)}toNode(){return Ys.call(this,"span")}toMarkup(){return Vs.call(this,"span")}}class Ws{constructor(a,o,u,f){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Xs.call(this,o,f),this.children=u||[],this.setAttribute("href",a)}setAttribute(a,o){this.attributes[a]=o}hasClass(a){return Ae.contains(this.classes,a)}toNode(){return Ys.call(this,"a")}toMarkup(){return Vs.call(this,"a")}}class Q0{constructor(a,o,u){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=o,this.src=a,this.classes=["mord"],this.style=u}hasClass(a){return Ae.contains(this.classes,a)}toNode(){var a=document.createElement("img");a.src=this.src,a.alt=this.alt,a.className="mord";for(var o in this.style)this.style.hasOwnProperty(o)&&(a.style[o]=this.style[o]);return a}toMarkup(){var a="<img src='"+this.src+" 'alt='"+this.alt+"' ",o="";for(var u in this.style)this.style.hasOwnProperty(u)&&(o+=Ae.hyphenate(u)+":"+this.style[u]+";");return o&&(a+=' style="'+Ae.escape(o)+'"'),a+="'/>",a}}var $0={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Mt{constructor(a,o,u,f,m,k,w,S){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=a,this.height=o||0,this.depth=u||0,this.italic=f||0,this.skew=m||0,this.width=k||0,this.classes=w||[],this.style=S||{},this.maxFontSize=0;var D=N0(this.text.charCodeAt(0));D&&this.classes.push(D+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=$0[this.text])}hasClass(a){return Ae.contains(this.classes,a)}toNode(){var a=document.createTextNode(this.text),o=null;this.italic>0&&(o=document.createElement("span"),o.style.marginRight=ue(this.italic)),this.classes.length>0&&(o=o||document.createElement("span"),o.className=Xt(this.classes));for(var u in this.style)this.style.hasOwnProperty(u)&&(o=o||document.createElement("span"),o.style[u]=this.style[u]);return o?(o.appendChild(a),o):a}toMarkup(){var a=!1,o="<span";this.classes.length&&(a=!0,o+=' class="',o+=Ae.escape(Xt(this.classes)),o+='"');var u="";this.italic>0&&(u+="margin-right:"+this.italic+"em;");for(var f in this.style)this.style.hasOwnProperty(f)&&(u+=Ae.hyphenate(f)+":"+this.style[f]+";");u&&(a=!0,o+=' style="'+Ae.escape(u)+'"');var m=Ae.escape(this.text);return a?(o+=">",o+=m,o+="</span>",o):m}}class Yt{constructor(a,o){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=o||{}}toNode(){var a="http://www.w3.org/2000/svg",o=document.createElementNS(a,"svg");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&o.setAttribute(u,this.attributes[u]);for(var f=0;f<this.children.length;f++)o.appendChild(this.children[f].toNode());return o}toMarkup(){var a='<svg xmlns="http://www.w3.org/2000/svg"';for(var o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(a+=" "+o+"='"+this.attributes[o]+"'");a+=">";for(var u=0;u<this.children.length;u++)a+=this.children[u].toMarkup();return a+="</svg>",a}}class $t{constructor(a,o){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=o}toNode(){var a="http://www.w3.org/2000/svg",o=document.createElementNS(a,"path");return this.alternate?o.setAttribute("d",this.alternate):o.setAttribute("d",Hs[this.pathName]),o}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Hs[this.pathName]+"'/>"}}class Gs{constructor(a){this.attributes=void 0,this.attributes=a||{}}toNode(){var a="http://www.w3.org/2000/svg",o=document.createElementNS(a,"line");for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&o.setAttribute(u,this.attributes[u]);return o}toMarkup(){var a="<line";for(var o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(a+=" "+o+"='"+this.attributes[o]+"'");return a+="/>",a}}function js(c){if(c instanceof Mt)return c;throw new Error("Expected symbolNode but got "+String(c)+".")}function eh(c){if(c instanceof Kr)return c;throw new Error("Expected span<HtmlDomNode> but got "+String(c)+".")}var th={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ke={math:{},text:{}};function A(c,a,o,u,f,m){Ke[c][f]={font:a,group:o,replace:u},m&&u&&(Ke[c][u]=Ke[c][f])}var L="math",oe="text",I="main",X="ams",Oe="accent-token",pe="bin",rt="close",fr="inner",xe="mathord",Ge="op-token",ct="open",Qr="punct",V="rel",_t="spacing",j="textord";A(L,I,V,"≡","\\equiv",!0),A(L,I,V,"≺","\\prec",!0),A(L,I,V,"≻","\\succ",!0),A(L,I,V,"∼","\\sim",!0),A(L,I,V,"⊥","\\perp"),A(L,I,V,"⪯","\\preceq",!0),A(L,I,V,"⪰","\\succeq",!0),A(L,I,V,"≃","\\simeq",!0),A(L,I,V,"∣","\\mid",!0),A(L,I,V,"≪","\\ll",!0),A(L,I,V,"≫","\\gg",!0),A(L,I,V,"≍","\\asymp",!0),A(L,I,V,"∥","\\parallel"),A(L,I,V,"⋈","\\bowtie",!0),A(L,I,V,"⌣","\\smile",!0),A(L,I,V,"⊑","\\sqsubseteq",!0),A(L,I,V,"⊒","\\sqsupseteq",!0),A(L,I,V,"≐","\\doteq",!0),A(L,I,V,"⌢","\\frown",!0),A(L,I,V,"∋","\\ni",!0),A(L,I,V,"∝","\\propto",!0),A(L,I,V,"⊢","\\vdash",!0),A(L,I,V,"⊣","\\dashv",!0),A(L,I,V,"∋","\\owns"),A(L,I,Qr,".","\\ldotp"),A(L,I,Qr,"⋅","\\cdotp"),A(L,I,j,"#","\\#"),A(oe,I,j,"#","\\#"),A(L,I,j,"&","\\&"),A(oe,I,j,"&","\\&"),A(L,I,j,"ℵ","\\aleph",!0),A(L,I,j,"∀","\\forall",!0),A(L,I,j,"ℏ","\\hbar",!0),A(L,I,j,"∃","\\exists",!0),A(L,I,j,"∇","\\nabla",!0),A(L,I,j,"♭","\\flat",!0),A(L,I,j,"ℓ","\\ell",!0),A(L,I,j,"♮","\\natural",!0),A(L,I,j,"♣","\\clubsuit",!0),A(L,I,j,"℘","\\wp",!0),A(L,I,j,"♯","\\sharp",!0),A(L,I,j,"♢","\\diamondsuit",!0),A(L,I,j,"ℜ","\\Re",!0),A(L,I,j,"♡","\\heartsuit",!0),A(L,I,j,"ℑ","\\Im",!0),A(L,I,j,"♠","\\spadesuit",!0),A(L,I,j,"§","\\S",!0),A(oe,I,j,"§","\\S"),A(L,I,j,"¶","\\P",!0),A(oe,I,j,"¶","\\P"),A(L,I,j,"†","\\dag"),A(oe,I,j,"†","\\dag"),A(oe,I,j,"†","\\textdagger"),A(L,I,j,"‡","\\ddag"),A(oe,I,j,"‡","\\ddag"),A(oe,I,j,"‡","\\textdaggerdbl"),A(L,I,rt,"⎱","\\rmoustache",!0),A(L,I,ct,"⎰","\\lmoustache",!0),A(L,I,rt,"⟯","\\rgroup",!0),A(L,I,ct,"⟮","\\lgroup",!0),A(L,I,pe,"∓","\\mp",!0),A(L,I,pe,"⊖","\\ominus",!0),A(L,I,pe,"⊎","\\uplus",!0),A(L,I,pe,"⊓","\\sqcap",!0),A(L,I,pe,"∗","\\ast"),A(L,I,pe,"⊔","\\sqcup",!0),A(L,I,pe,"◯","\\bigcirc",!0),A(L,I,pe,"∙","\\bullet",!0),A(L,I,pe,"‡","\\ddagger"),A(L,I,pe,"≀","\\wr",!0),A(L,I,pe,"⨿","\\amalg"),A(L,I,pe,"&","\\And"),A(L,I,V,"⟵","\\longleftarrow",!0),A(L,I,V,"⇐","\\Leftarrow",!0),A(L,I,V,"⟸","\\Longleftarrow",!0),A(L,I,V,"⟶","\\longrightarrow",!0),A(L,I,V,"⇒","\\Rightarrow",!0),A(L,I,V,"⟹","\\Longrightarrow",!0),A(L,I,V,"↔","\\leftrightarrow",!0),A(L,I,V,"⟷","\\longleftrightarrow",!0),A(L,I,V,"⇔","\\Leftrightarrow",!0),A(L,I,V,"⟺","\\Longleftrightarrow",!0),A(L,I,V,"↦","\\mapsto",!0),A(L,I,V,"⟼","\\longmapsto",!0),A(L,I,V,"↗","\\nearrow",!0),A(L,I,V,"↩","\\hookleftarrow",!0),A(L,I,V,"↪","\\hookrightarrow",!0),A(L,I,V,"↘","\\searrow",!0),A(L,I,V,"↼","\\leftharpoonup",!0),A(L,I,V,"⇀","\\rightharpoonup",!0),A(L,I,V,"↙","\\swarrow",!0),A(L,I,V,"↽","\\leftharpoondown",!0),A(L,I,V,"⇁","\\rightharpoondown",!0),A(L,I,V,"↖","\\nwarrow",!0),A(L,I,V,"⇌","\\rightleftharpoons",!0),A(L,X,V,"≮","\\nless",!0),A(L,X,V,"","\\@nleqslant"),A(L,X,V,"","\\@nleqq"),A(L,X,V,"⪇","\\lneq",!0),A(L,X,V,"≨","\\lneqq",!0),A(L,X,V,"","\\@lvertneqq"),A(L,X,V,"⋦","\\lnsim",!0),A(L,X,V,"⪉","\\lnapprox",!0),A(L,X,V,"⊀","\\nprec",!0),A(L,X,V,"⋠","\\npreceq",!0),A(L,X,V,"⋨","\\precnsim",!0),A(L,X,V,"⪹","\\precnapprox",!0),A(L,X,V,"≁","\\nsim",!0),A(L,X,V,"","\\@nshortmid"),A(L,X,V,"∤","\\nmid",!0),A(L,X,V,"⊬","\\nvdash",!0),A(L,X,V,"⊭","\\nvDash",!0),A(L,X,V,"⋪","\\ntriangleleft"),A(L,X,V,"⋬","\\ntrianglelefteq",!0),A(L,X,V,"⊊","\\subsetneq",!0),A(L,X,V,"","\\@varsubsetneq"),A(L,X,V,"⫋","\\subsetneqq",!0),A(L,X,V,"","\\@varsubsetneqq"),A(L,X,V,"≯","\\ngtr",!0),A(L,X,V,"","\\@ngeqslant"),A(L,X,V,"","\\@ngeqq"),A(L,X,V,"⪈","\\gneq",!0),A(L,X,V,"≩","\\gneqq",!0),A(L,X,V,"","\\@gvertneqq"),A(L,X,V,"⋧","\\gnsim",!0),A(L,X,V,"⪊","\\gnapprox",!0),A(L,X,V,"⊁","\\nsucc",!0),A(L,X,V,"⋡","\\nsucceq",!0),A(L,X,V,"⋩","\\succnsim",!0),A(L,X,V,"⪺","\\succnapprox",!0),A(L,X,V,"≆","\\ncong",!0),A(L,X,V,"","\\@nshortparallel"),A(L,X,V,"∦","\\nparallel",!0),A(L,X,V,"⊯","\\nVDash",!0),A(L,X,V,"⋫","\\ntriangleright"),A(L,X,V,"⋭","\\ntrianglerighteq",!0),A(L,X,V,"","\\@nsupseteqq"),A(L,X,V,"⊋","\\supsetneq",!0),A(L,X,V,"","\\@varsupsetneq"),A(L,X,V,"⫌","\\supsetneqq",!0),A(L,X,V,"","\\@varsupsetneqq"),A(L,X,V,"⊮","\\nVdash",!0),A(L,X,V,"⪵","\\precneqq",!0),A(L,X,V,"⪶","\\succneqq",!0),A(L,X,V,"","\\@nsubseteqq"),A(L,X,pe,"⊴","\\unlhd"),A(L,X,pe,"⊵","\\unrhd"),A(L,X,V,"↚","\\nleftarrow",!0),A(L,X,V,"↛","\\nrightarrow",!0),A(L,X,V,"⇍","\\nLeftarrow",!0),A(L,X,V,"⇏","\\nRightarrow",!0),A(L,X,V,"↮","\\nleftrightarrow",!0),A(L,X,V,"⇎","\\nLeftrightarrow",!0),A(L,X,V,"△","\\vartriangle"),A(L,X,j,"ℏ","\\hslash"),A(L,X,j,"▽","\\triangledown"),A(L,X,j,"◊","\\lozenge"),A(L,X,j,"Ⓢ","\\circledS"),A(L,X,j,"®","\\circledR"),A(oe,X,j,"®","\\circledR"),A(L,X,j,"∡","\\measuredangle",!0),A(L,X,j,"∄","\\nexists"),A(L,X,j,"℧","\\mho"),A(L,X,j,"Ⅎ","\\Finv",!0),A(L,X,j,"⅁","\\Game",!0),A(L,X,j,"‵","\\backprime"),A(L,X,j,"▲","\\blacktriangle"),A(L,X,j,"▼","\\blacktriangledown"),A(L,X,j,"■","\\blacksquare"),A(L,X,j,"⧫","\\blacklozenge"),A(L,X,j,"★","\\bigstar"),A(L,X,j,"∢","\\sphericalangle",!0),A(L,X,j,"∁","\\complement",!0),A(L,X,j,"ð","\\eth",!0),A(oe,I,j,"ð","ð"),A(L,X,j,"╱","\\diagup"),A(L,X,j,"╲","\\diagdown"),A(L,X,j,"□","\\square"),A(L,X,j,"□","\\Box"),A(L,X,j,"◊","\\Diamond"),A(L,X,j,"¥","\\yen",!0),A(oe,X,j,"¥","\\yen",!0),A(L,X,j,"✓","\\checkmark",!0),A(oe,X,j,"✓","\\checkmark"),A(L,X,j,"ℶ","\\beth",!0),A(L,X,j,"ℸ","\\daleth",!0),A(L,X,j,"ℷ","\\gimel",!0),A(L,X,j,"ϝ","\\digamma",!0),A(L,X,j,"ϰ","\\varkappa"),A(L,X,ct,"┌","\\@ulcorner",!0),A(L,X,rt,"┐","\\@urcorner",!0),A(L,X,ct,"└","\\@llcorner",!0),A(L,X,rt,"┘","\\@lrcorner",!0),A(L,X,V,"≦","\\leqq",!0),A(L,X,V,"⩽","\\leqslant",!0),A(L,X,V,"⪕","\\eqslantless",!0),A(L,X,V,"≲","\\lesssim",!0),A(L,X,V,"⪅","\\lessapprox",!0),A(L,X,V,"≊","\\approxeq",!0),A(L,X,pe,"⋖","\\lessdot"),A(L,X,V,"⋘","\\lll",!0),A(L,X,V,"≶","\\lessgtr",!0),A(L,X,V,"⋚","\\lesseqgtr",!0),A(L,X,V,"⪋","\\lesseqqgtr",!0),A(L,X,V,"≑","\\doteqdot"),A(L,X,V,"≓","\\risingdotseq",!0),A(L,X,V,"≒","\\fallingdotseq",!0),A(L,X,V,"∽","\\backsim",!0),A(L,X,V,"⋍","\\backsimeq",!0),A(L,X,V,"⫅","\\subseteqq",!0),A(L,X,V,"⋐","\\Subset",!0),A(L,X,V,"⊏","\\sqsubset",!0),A(L,X,V,"≼","\\preccurlyeq",!0),A(L,X,V,"⋞","\\curlyeqprec",!0),A(L,X,V,"≾","\\precsim",!0),A(L,X,V,"⪷","\\precapprox",!0),A(L,X,V,"⊲","\\vartriangleleft"),A(L,X,V,"⊴","\\trianglelefteq"),A(L,X,V,"⊨","\\vDash",!0),A(L,X,V,"⊪","\\Vvdash",!0),A(L,X,V,"⌣","\\smallsmile"),A(L,X,V,"⌢","\\smallfrown"),A(L,X,V,"≏","\\bumpeq",!0),A(L,X,V,"≎","\\Bumpeq",!0),A(L,X,V,"≧","\\geqq",!0),A(L,X,V,"⩾","\\geqslant",!0),A(L,X,V,"⪖","\\eqslantgtr",!0),A(L,X,V,"≳","\\gtrsim",!0),A(L,X,V,"⪆","\\gtrapprox",!0),A(L,X,pe,"⋗","\\gtrdot"),A(L,X,V,"⋙","\\ggg",!0),A(L,X,V,"≷","\\gtrless",!0),A(L,X,V,"⋛","\\gtreqless",!0),A(L,X,V,"⪌","\\gtreqqless",!0),A(L,X,V,"≖","\\eqcirc",!0),A(L,X,V,"≗","\\circeq",!0),A(L,X,V,"≜","\\triangleq",!0),A(L,X,V,"∼","\\thicksim"),A(L,X,V,"≈","\\thickapprox"),A(L,X,V,"⫆","\\supseteqq",!0),A(L,X,V,"⋑","\\Supset",!0),A(L,X,V,"⊐","\\sqsupset",!0),A(L,X,V,"≽","\\succcurlyeq",!0),A(L,X,V,"⋟","\\curlyeqsucc",!0),A(L,X,V,"≿","\\succsim",!0),A(L,X,V,"⪸","\\succapprox",!0),A(L,X,V,"⊳","\\vartriangleright"),A(L,X,V,"⊵","\\trianglerighteq"),A(L,X,V,"⊩","\\Vdash",!0),A(L,X,V,"∣","\\shortmid"),A(L,X,V,"∥","\\shortparallel"),A(L,X,V,"≬","\\between",!0),A(L,X,V,"⋔","\\pitchfork",!0),A(L,X,V,"∝","\\varpropto"),A(L,X,V,"◀","\\blacktriangleleft"),A(L,X,V,"∴","\\therefore",!0),A(L,X,V,"∍","\\backepsilon"),A(L,X,V,"▶","\\blacktriangleright"),A(L,X,V,"∵","\\because",!0),A(L,X,V,"⋘","\\llless"),A(L,X,V,"⋙","\\gggtr"),A(L,X,pe,"⊲","\\lhd"),A(L,X,pe,"⊳","\\rhd"),A(L,X,V,"≂","\\eqsim",!0),A(L,I,V,"⋈","\\Join"),A(L,X,V,"≑","\\Doteq",!0),A(L,X,pe,"∔","\\dotplus",!0),A(L,X,pe,"∖","\\smallsetminus"),A(L,X,pe,"⋒","\\Cap",!0),A(L,X,pe,"⋓","\\Cup",!0),A(L,X,pe,"⩞","\\doublebarwedge",!0),A(L,X,pe,"⊟","\\boxminus",!0),A(L,X,pe,"⊞","\\boxplus",!0),A(L,X,pe,"⋇","\\divideontimes",!0),A(L,X,pe,"⋉","\\ltimes",!0),A(L,X,pe,"⋊","\\rtimes",!0),A(L,X,pe,"⋋","\\leftthreetimes",!0),A(L,X,pe,"⋌","\\rightthreetimes",!0),A(L,X,pe,"⋏","\\curlywedge",!0),A(L,X,pe,"⋎","\\curlyvee",!0),A(L,X,pe,"⊝","\\circleddash",!0),A(L,X,pe,"⊛","\\circledast",!0),A(L,X,pe,"⋅","\\centerdot"),A(L,X,pe,"⊺","\\intercal",!0),A(L,X,pe,"⋒","\\doublecap"),A(L,X,pe,"⋓","\\doublecup"),A(L,X,pe,"⊠","\\boxtimes",!0),A(L,X,V,"⇢","\\dashrightarrow",!0),A(L,X,V,"⇠","\\dashleftarrow",!0),A(L,X,V,"⇇","\\leftleftarrows",!0),A(L,X,V,"⇆","\\leftrightarrows",!0),A(L,X,V,"⇚","\\Lleftarrow",!0),A(L,X,V,"↞","\\twoheadleftarrow",!0),A(L,X,V,"↢","\\leftarrowtail",!0),A(L,X,V,"↫","\\looparrowleft",!0),A(L,X,V,"⇋","\\leftrightharpoons",!0),A(L,X,V,"↶","\\curvearrowleft",!0),A(L,X,V,"↺","\\circlearrowleft",!0),A(L,X,V,"↰","\\Lsh",!0),A(L,X,V,"⇈","\\upuparrows",!0),A(L,X,V,"↿","\\upharpoonleft",!0),A(L,X,V,"⇃","\\downharpoonleft",!0),A(L,I,V,"⊶","\\origof",!0),A(L,I,V,"⊷","\\imageof",!0),A(L,X,V,"⊸","\\multimap",!0),A(L,X,V,"↭","\\leftrightsquigarrow",!0),A(L,X,V,"⇉","\\rightrightarrows",!0),A(L,X,V,"⇄","\\rightleftarrows",!0),A(L,X,V,"↠","\\twoheadrightarrow",!0),A(L,X,V,"↣","\\rightarrowtail",!0),A(L,X,V,"↬","\\looparrowright",!0),A(L,X,V,"↷","\\curvearrowright",!0),A(L,X,V,"↻","\\circlearrowright",!0),A(L,X,V,"↱","\\Rsh",!0),A(L,X,V,"⇊","\\downdownarrows",!0),A(L,X,V,"↾","\\upharpoonright",!0),A(L,X,V,"⇂","\\downharpoonright",!0),A(L,X,V,"⇝","\\rightsquigarrow",!0),A(L,X,V,"⇝","\\leadsto"),A(L,X,V,"⇛","\\Rrightarrow",!0),A(L,X,V,"↾","\\restriction"),A(L,I,j,"‘","`"),A(L,I,j,"$","\\$"),A(oe,I,j,"$","\\$"),A(oe,I,j,"$","\\textdollar"),A(L,I,j,"%","\\%"),A(oe,I,j,"%","\\%"),A(L,I,j,"_","\\_"),A(oe,I,j,"_","\\_"),A(oe,I,j,"_","\\textunderscore"),A(L,I,j,"∠","\\angle",!0),A(L,I,j,"∞","\\infty",!0),A(L,I,j,"′","\\prime"),A(L,I,j,"△","\\triangle"),A(L,I,j,"Γ","\\Gamma",!0),A(L,I,j,"Δ","\\Delta",!0),A(L,I,j,"Θ","\\Theta",!0),A(L,I,j,"Λ","\\Lambda",!0),A(L,I,j,"Ξ","\\Xi",!0),A(L,I,j,"Π","\\Pi",!0),A(L,I,j,"Σ","\\Sigma",!0),A(L,I,j,"Υ","\\Upsilon",!0),A(L,I,j,"Φ","\\Phi",!0),A(L,I,j,"Ψ","\\Psi",!0),A(L,I,j,"Ω","\\Omega",!0),A(L,I,j,"A","Α"),A(L,I,j,"B","Β"),A(L,I,j,"E","Ε"),A(L,I,j,"Z","Ζ"),A(L,I,j,"H","Η"),A(L,I,j,"I","Ι"),A(L,I,j,"K","Κ"),A(L,I,j,"M","Μ"),A(L,I,j,"N","Ν"),A(L,I,j,"O","Ο"),A(L,I,j,"P","Ρ"),A(L,I,j,"T","Τ"),A(L,I,j,"X","Χ"),A(L,I,j,"¬","\\neg",!0),A(L,I,j,"¬","\\lnot"),A(L,I,j,"⊤","\\top"),A(L,I,j,"⊥","\\bot"),A(L,I,j,"∅","\\emptyset"),A(L,X,j,"∅","\\varnothing"),A(L,I,xe,"α","\\alpha",!0),A(L,I,xe,"β","\\beta",!0),A(L,I,xe,"γ","\\gamma",!0),A(L,I,xe,"δ","\\delta",!0),A(L,I,xe,"ϵ","\\epsilon",!0),A(L,I,xe,"ζ","\\zeta",!0),A(L,I,xe,"η","\\eta",!0),A(L,I,xe,"θ","\\theta",!0),A(L,I,xe,"ι","\\iota",!0),A(L,I,xe,"κ","\\kappa",!0),A(L,I,xe,"λ","\\lambda",!0),A(L,I,xe,"μ","\\mu",!0),A(L,I,xe,"ν","\\nu",!0),A(L,I,xe,"ξ","\\xi",!0),A(L,I,xe,"ο","\\omicron",!0),A(L,I,xe,"π","\\pi",!0),A(L,I,xe,"ρ","\\rho",!0),A(L,I,xe,"σ","\\sigma",!0),A(L,I,xe,"τ","\\tau",!0),A(L,I,xe,"υ","\\upsilon",!0),A(L,I,xe,"ϕ","\\phi",!0),A(L,I,xe,"χ","\\chi",!0),A(L,I,xe,"ψ","\\psi",!0),A(L,I,xe,"ω","\\omega",!0),A(L,I,xe,"ε","\\varepsilon",!0),A(L,I,xe,"ϑ","\\vartheta",!0),A(L,I,xe,"ϖ","\\varpi",!0),A(L,I,xe,"ϱ","\\varrho",!0),A(L,I,xe,"ς","\\varsigma",!0),A(L,I,xe,"φ","\\varphi",!0),A(L,I,pe,"∗","*",!0),A(L,I,pe,"+","+"),A(L,I,pe,"−","-",!0),A(L,I,pe,"⋅","\\cdot",!0),A(L,I,pe,"∘","\\circ",!0),A(L,I,pe,"÷","\\div",!0),A(L,I,pe,"±","\\pm",!0),A(L,I,pe,"×","\\times",!0),A(L,I,pe,"∩","\\cap",!0),A(L,I,pe,"∪","\\cup",!0),A(L,I,pe,"∖","\\setminus",!0),A(L,I,pe,"∧","\\land"),A(L,I,pe,"∨","\\lor"),A(L,I,pe,"∧","\\wedge",!0),A(L,I,pe,"∨","\\vee",!0),A(L,I,j,"√","\\surd"),A(L,I,ct,"⟨","\\langle",!0),A(L,I,ct,"∣","\\lvert"),A(L,I,ct,"∥","\\lVert"),A(L,I,rt,"?","?"),A(L,I,rt,"!","!"),A(L,I,rt,"⟩","\\rangle",!0),A(L,I,rt,"∣","\\rvert"),A(L,I,rt,"∥","\\rVert"),A(L,I,V,"=","="),A(L,I,V,":",":"),A(L,I,V,"≈","\\approx",!0),A(L,I,V,"≅","\\cong",!0),A(L,I,V,"≥","\\ge"),A(L,I,V,"≥","\\geq",!0),A(L,I,V,"←","\\gets"),A(L,I,V,">","\\gt",!0),A(L,I,V,"∈","\\in",!0),A(L,I,V,"","\\@not"),A(L,I,V,"⊂","\\subset",!0),A(L,I,V,"⊃","\\supset",!0),A(L,I,V,"⊆","\\subseteq",!0),A(L,I,V,"⊇","\\supseteq",!0),A(L,X,V,"⊈","\\nsubseteq",!0),A(L,X,V,"⊉","\\nsupseteq",!0),A(L,I,V,"⊨","\\models"),A(L,I,V,"←","\\leftarrow",!0),A(L,I,V,"≤","\\le"),A(L,I,V,"≤","\\leq",!0),A(L,I,V,"<","\\lt",!0),A(L,I,V,"→","\\rightarrow",!0),A(L,I,V,"→","\\to"),A(L,X,V,"≱","\\ngeq",!0),A(L,X,V,"≰","\\nleq",!0),A(L,I,_t," ","\\ "),A(L,I,_t," ","\\space"),A(L,I,_t," ","\\nobreakspace"),A(oe,I,_t," ","\\ "),A(oe,I,_t," "," "),A(oe,I,_t," ","\\space"),A(oe,I,_t," ","\\nobreakspace"),A(L,I,_t,null,"\\nobreak"),A(L,I,_t,null,"\\allowbreak"),A(L,I,Qr,",",","),A(L,I,Qr,";",";"),A(L,X,pe,"⊼","\\barwedge",!0),A(L,X,pe,"⊻","\\veebar",!0),A(L,I,pe,"⊙","\\odot",!0),A(L,I,pe,"⊕","\\oplus",!0),A(L,I,pe,"⊗","\\otimes",!0),A(L,I,j,"∂","\\partial",!0),A(L,I,pe,"⊘","\\oslash",!0),A(L,X,pe,"⊚","\\circledcirc",!0),A(L,X,pe,"⊡","\\boxdot",!0),A(L,I,pe,"△","\\bigtriangleup"),A(L,I,pe,"▽","\\bigtriangledown"),A(L,I,pe,"†","\\dagger"),A(L,I,pe,"⋄","\\diamond"),A(L,I,pe,"⋆","\\star"),A(L,I,pe,"◃","\\triangleleft"),A(L,I,pe,"▹","\\triangleright"),A(L,I,ct,"{","\\{"),A(oe,I,j,"{","\\{"),A(oe,I,j,"{","\\textbraceleft"),A(L,I,rt,"}","\\}"),A(oe,I,j,"}","\\}"),A(oe,I,j,"}","\\textbraceright"),A(L,I,ct,"{","\\lbrace"),A(L,I,rt,"}","\\rbrace"),A(L,I,ct,"[","\\lbrack",!0),A(oe,I,j,"[","\\lbrack",!0),A(L,I,rt,"]","\\rbrack",!0),A(oe,I,j,"]","\\rbrack",!0),A(L,I,ct,"(","\\lparen",!0),A(L,I,rt,")","\\rparen",!0),A(oe,I,j,"<","\\textless",!0),A(oe,I,j,">","\\textgreater",!0),A(L,I,ct,"⌊","\\lfloor",!0),A(L,I,rt,"⌋","\\rfloor",!0),A(L,I,ct,"⌈","\\lceil",!0),A(L,I,rt,"⌉","\\rceil",!0),A(L,I,j,"\\","\\backslash"),A(L,I,j,"∣","|"),A(L,I,j,"∣","\\vert"),A(oe,I,j,"|","\\textbar",!0),A(L,I,j,"∥","\\|"),A(L,I,j,"∥","\\Vert"),A(oe,I,j,"∥","\\textbardbl"),A(oe,I,j,"~","\\textasciitilde"),A(oe,I,j,"\\","\\textbackslash"),A(oe,I,j,"^","\\textasciicircum"),A(L,I,V,"↑","\\uparrow",!0),A(L,I,V,"⇑","\\Uparrow",!0),A(L,I,V,"↓","\\downarrow",!0),A(L,I,V,"⇓","\\Downarrow",!0),A(L,I,V,"↕","\\updownarrow",!0),A(L,I,V,"⇕","\\Updownarrow",!0),A(L,I,Ge,"∐","\\coprod"),A(L,I,Ge,"⋁","\\bigvee"),A(L,I,Ge,"⋀","\\bigwedge"),A(L,I,Ge,"⨄","\\biguplus"),A(L,I,Ge,"⋂","\\bigcap"),A(L,I,Ge,"⋃","\\bigcup"),A(L,I,Ge,"∫","\\int"),A(L,I,Ge,"∫","\\intop"),A(L,I,Ge,"∬","\\iint"),A(L,I,Ge,"∭","\\iiint"),A(L,I,Ge,"∏","\\prod"),A(L,I,Ge,"∑","\\sum"),A(L,I,Ge,"⨂","\\bigotimes"),A(L,I,Ge,"⨁","\\bigoplus"),A(L,I,Ge,"⨀","\\bigodot"),A(L,I,Ge,"∮","\\oint"),A(L,I,Ge,"∯","\\oiint"),A(L,I,Ge,"∰","\\oiiint"),A(L,I,Ge,"⨆","\\bigsqcup"),A(L,I,Ge,"∫","\\smallint"),A(oe,I,fr,"…","\\textellipsis"),A(L,I,fr,"…","\\mathellipsis"),A(oe,I,fr,"…","\\ldots",!0),A(L,I,fr,"…","\\ldots",!0),A(L,I,fr,"⋯","\\@cdots",!0),A(L,I,fr,"⋱","\\ddots",!0),A(L,I,j,"⋮","\\varvdots"),A(L,I,Oe,"ˊ","\\acute"),A(L,I,Oe,"ˋ","\\grave"),A(L,I,Oe,"¨","\\ddot"),A(L,I,Oe,"~","\\tilde"),A(L,I,Oe,"ˉ","\\bar"),A(L,I,Oe,"˘","\\breve"),A(L,I,Oe,"ˇ","\\check"),A(L,I,Oe,"^","\\hat"),A(L,I,Oe,"⃗","\\vec"),A(L,I,Oe,"˙","\\dot"),A(L,I,Oe,"˚","\\mathring"),A(L,I,xe,"","\\@imath"),A(L,I,xe,"","\\@jmath"),A(L,I,j,"ı","ı"),A(L,I,j,"ȷ","ȷ"),A(oe,I,j,"ı","\\i",!0),A(oe,I,j,"ȷ","\\j",!0),A(oe,I,j,"ß","\\ss",!0),A(oe,I,j,"æ","\\ae",!0),A(oe,I,j,"œ","\\oe",!0),A(oe,I,j,"ø","\\o",!0),A(oe,I,j,"Æ","\\AE",!0),A(oe,I,j,"Œ","\\OE",!0),A(oe,I,j,"Ø","\\O",!0),A(oe,I,Oe,"ˊ","\\'"),A(oe,I,Oe,"ˋ","\\`"),A(oe,I,Oe,"ˆ","\\^"),A(oe,I,Oe,"˜","\\~"),A(oe,I,Oe,"ˉ","\\="),A(oe,I,Oe,"˘","\\u"),A(oe,I,Oe,"˙","\\."),A(oe,I,Oe,"¸","\\c"),A(oe,I,Oe,"˚","\\r"),A(oe,I,Oe,"ˇ","\\v"),A(oe,I,Oe,"¨",'\\"'),A(oe,I,Oe,"˝","\\H"),A(oe,I,Oe,"◯","\\textcircled");var Us={"--":!0,"---":!0,"``":!0,"''":!0};A(oe,I,j,"–","--",!0),A(oe,I,j,"–","\\textendash"),A(oe,I,j,"—","---",!0),A(oe,I,j,"—","\\textemdash"),A(oe,I,j,"‘","`",!0),A(oe,I,j,"‘","\\textquoteleft"),A(oe,I,j,"’","'",!0),A(oe,I,j,"’","\\textquoteright"),A(oe,I,j,"“","``",!0),A(oe,I,j,"“","\\textquotedblleft"),A(oe,I,j,"”","''",!0),A(oe,I,j,"”","\\textquotedblright"),A(L,I,j,"°","\\degree",!0),A(oe,I,j,"°","\\degree"),A(oe,I,j,"°","\\textdegree",!0),A(L,I,j,"£","\\pounds"),A(L,I,j,"£","\\mathsterling",!0),A(oe,I,j,"£","\\pounds"),A(oe,I,j,"£","\\textsterling",!0),A(L,X,j,"✠","\\maltese"),A(oe,X,j,"✠","\\maltese");for(var Zs='0123456789/@."',Ka=0;Ka<Zs.length;Ka++){var Js=Zs.charAt(Ka);A(L,I,j,Js,Js)}for(var Ks='0123456789!@*()-=+";:?/.,',Qa=0;Qa<Ks.length;Qa++){var Qs=Ks.charAt(Qa);A(oe,I,j,Qs,Qs)}for(var $r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",$a=0;$a<$r.length;$a++){var ea=$r.charAt($a);A(L,I,xe,ea,ea),A(oe,I,j,ea,ea)}A(L,X,j,"C","ℂ"),A(oe,X,j,"C","ℂ"),A(L,X,j,"H","ℍ"),A(oe,X,j,"H","ℍ"),A(L,X,j,"N","ℕ"),A(oe,X,j,"N","ℕ"),A(L,X,j,"P","ℙ"),A(oe,X,j,"P","ℙ"),A(L,X,j,"Q","ℚ"),A(oe,X,j,"Q","ℚ"),A(L,X,j,"R","ℝ"),A(oe,X,j,"R","ℝ"),A(L,X,j,"Z","ℤ"),A(oe,X,j,"Z","ℤ"),A(L,I,xe,"h","ℎ"),A(oe,I,xe,"h","ℎ");for(var Se="",at=0;at<$r.length;at++){var je=$r.charAt(at);Se=String.fromCharCode(55349,56320+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),Se=String.fromCharCode(55349,56372+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),Se=String.fromCharCode(55349,56424+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),Se=String.fromCharCode(55349,56580+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),Se=String.fromCharCode(55349,56736+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),Se=String.fromCharCode(55349,56788+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),Se=String.fromCharCode(55349,56840+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),Se=String.fromCharCode(55349,56944+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),at<26&&(Se=String.fromCharCode(55349,56632+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se),Se=String.fromCharCode(55349,56476+at),A(L,I,xe,je,Se),A(oe,I,j,je,Se))}Se=String.fromCharCode(55349,56668),A(L,I,xe,"k",Se),A(oe,I,j,"k",Se);for(var er=0;er<10;er++){var Vt=er.toString();Se=String.fromCharCode(55349,57294+er),A(L,I,xe,Vt,Se),A(oe,I,j,Vt,Se),Se=String.fromCharCode(55349,57314+er),A(L,I,xe,Vt,Se),A(oe,I,j,Vt,Se),Se=String.fromCharCode(55349,57324+er),A(L,I,xe,Vt,Se),A(oe,I,j,Vt,Se),Se=String.fromCharCode(55349,57334+er),A(L,I,xe,Vt,Se),A(oe,I,j,Vt,Se)}for(var $s="ÐÞþ",ei=0;ei<$s.length;ei++){var ta=$s.charAt(ei);A(L,I,xe,ta,ta),A(oe,I,j,ta,ta)}var ra=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],en=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],rh=function(a,o){var u=a.charCodeAt(0),f=a.charCodeAt(1),m=(u-55296)*1024+(f-56320)+65536,k=o==="math"?0:1;if(119808<=m&&m<120484){var w=Math.floor((m-119808)/26);return[ra[w][2],ra[w][k]]}else if(120782<=m&&m<=120831){var S=Math.floor((m-120782)/10);return[en[S][2],en[S][k]]}else{if(m===120485||m===120486)return[ra[0][2],ra[0][k]];if(120486<m&&m<120782)return["",""];throw new ve("Unsupported character: "+a)}},aa=function(a,o,u){return Ke[u][a]&&Ke[u][a].replace&&(a=Ke[u][a].replace),{value:a,metrics:Za(a,o,u)}},wt=function(a,o,u,f,m){var k=aa(a,o,u),w=k.metrics;a=k.value;var S;if(w){var D=w.italic;(u==="text"||f&&f.font==="mathit")&&(D=0),S=new Mt(a,w.height,w.depth,D,w.skew,w.width,m)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+a+"' in style '"+o+"' and mode '"+u+"'")),S=new Mt(a,0,0,0,0,0,m);if(f){S.maxFontSize=f.sizeMultiplier,f.style.isTight()&&S.classes.push("mtight");var F=f.getColor();F&&(S.style.color=F)}return S},ah=function(a,o,u,f){return f===void 0&&(f=[]),u.font==="boldsymbol"&&aa(a,"Main-Bold",o).metrics?wt(a,"Main-Bold",o,u,f.concat(["mathbf"])):a==="\\"||Ke[o][a].font==="main"?wt(a,"Main-Regular",o,u,f):wt(a,"AMS-Regular",o,u,f.concat(["amsrm"]))},ih=function(a,o,u,f,m){return m!=="textord"&&aa(a,"Math-BoldItalic",o).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},sh=function(a,o,u){var f=a.mode,m=a.text,k=["mord"],w=f==="math"||f==="text"&&o.font,S=w?o.font:o.fontFamily;if(m.charCodeAt(0)===55349){var[D,F]=rh(m,f);return wt(m,D,f,o,k.concat(F))}else if(S){var H,Y;if(S==="boldsymbol"){var q=ih(m,f,o,k,u);H=q.fontName,Y=[q.fontClass]}else w?(H=an[S].fontName,Y=[S]):(H=ia(S,o.fontWeight,o.fontShape),Y=[S,o.fontWeight,o.fontShape]);if(aa(m,H,f).metrics)return wt(m,H,f,o,k.concat(Y));if(Us.hasOwnProperty(m)&&H.slice(0,10)==="Typewriter"){for(var Z=[],J=0;J<m.length;J++)Z.push(wt(m[J],H,f,o,k.concat(Y)));return rn(Z)}}if(u==="mathord")return wt(m,"Math-Italic",f,o,k.concat(["mathnormal"]));if(u==="textord"){var ae=Ke[f][m]&&Ke[f][m].font;if(ae==="ams"){var K=ia("amsrm",o.fontWeight,o.fontShape);return wt(m,K,f,o,k.concat("amsrm",o.fontWeight,o.fontShape))}else if(ae==="main"||!ae){var O=ia("textrm",o.fontWeight,o.fontShape);return wt(m,O,f,o,k.concat(o.fontWeight,o.fontShape))}else{var se=ia(ae,o.fontWeight,o.fontShape);return wt(m,se,f,o,k.concat(se,o.fontWeight,o.fontShape))}}else throw new Error("unexpected type: "+u+" in makeOrd")},nh=(c,a)=>{if(Xt(c.classes)!==Xt(a.classes)||c.skew!==a.skew||c.maxFontSize!==a.maxFontSize)return!1;if(c.classes.length===1){var o=c.classes[0];if(o==="mbin"||o==="mord")return!1}for(var u in c.style)if(c.style.hasOwnProperty(u)&&c.style[u]!==a.style[u])return!1;for(var f in a.style)if(a.style.hasOwnProperty(f)&&c.style[f]!==a.style[f])return!1;return!0},oh=c=>{for(var a=0;a<c.length-1;a++){var o=c[a],u=c[a+1];o instanceof Mt&&u instanceof Mt&&nh(o,u)&&(o.text+=u.text,o.height=Math.max(o.height,u.height),o.depth=Math.max(o.depth,u.depth),o.italic=u.italic,c.splice(a+1,1),a--)}return c},ti=function(a){for(var o=0,u=0,f=0,m=0;m<a.children.length;m++){var k=a.children[m];k.height>o&&(o=k.height),k.depth>u&&(u=k.depth),k.maxFontSize>f&&(f=k.maxFontSize)}a.height=o,a.depth=u,a.maxFontSize=f},it=function(a,o,u,f){var m=new Kr(a,o,u,f);return ti(m),m},tn=(c,a,o,u)=>new Kr(c,a,o,u),lh=function(a,o,u){var f=it([a],[],o);return f.height=Math.max(u||o.fontMetrics().defaultRuleThickness,o.minRuleThickness),f.style.borderBottomWidth=ue(f.height),f.maxFontSize=1,f},ch=function(a,o,u,f){var m=new Ws(a,o,u,f);return ti(m),m},rn=function(a){var o=new Cr(a);return ti(o),o},hh=function(a,o){return a instanceof Cr?it([],[a],o):a},uh=function(a){if(a.positionType==="individualShift"){for(var o=a.children,u=[o[0]],f=-o[0].shift-o[0].elem.depth,m=f,k=1;k<o.length;k++){var w=-o[k].shift-m-o[k].elem.depth,S=w-(o[k-1].elem.height+o[k-1].elem.depth);m=m+w,u.push({type:"kern",size:S}),u.push(o[k])}return{children:u,depth:f}}var D;if(a.positionType==="top"){for(var F=a.positionData,H=0;H<a.children.length;H++){var Y=a.children[H];F-=Y.type==="kern"?Y.size:Y.elem.height+Y.elem.depth}D=F}else if(a.positionType==="bottom")D=-a.positionData;else{var q=a.children[0];if(q.type!=="elem")throw new Error('First child must have type "elem".');if(a.positionType==="shift")D=-q.elem.depth-a.positionData;else if(a.positionType==="firstBaseline")D=-q.elem.depth;else throw new Error("Invalid positionType "+a.positionType+".")}return{children:a.children,depth:D}},dh=function(a,o){for(var{children:u,depth:f}=uh(a),m=0,k=0;k<u.length;k++){var w=u[k];if(w.type==="elem"){var S=w.elem;m=Math.max(m,S.maxFontSize,S.height)}}m+=2;var D=it(["pstrut"],[]);D.style.height=ue(m);for(var F=[],H=f,Y=f,q=f,Z=0;Z<u.length;Z++){var J=u[Z];if(J.type==="kern")q+=J.size;else{var ae=J.elem,K=J.wrapperClasses||[],O=J.wrapperStyle||{},se=it(K,[D,ae],void 0,O);se.style.top=ue(-m-q-ae.depth),J.marginLeft&&(se.style.marginLeft=J.marginLeft),J.marginRight&&(se.style.marginRight=J.marginRight),F.push(se),q+=ae.height+ae.depth}H=Math.min(H,q),Y=Math.max(Y,q)}var le=it(["vlist"],F);le.style.height=ue(Y);var U;if(H<0){var re=it([],[]),fe=it(["vlist"],[re]);fe.style.height=ue(-H);var ye=it(["vlist-s"],[new Mt("")]);U=[it(["vlist-r"],[le,ye]),it(["vlist-r"],[fe])]}else U=[it(["vlist-r"],[le])];var Ee=it(["vlist-t"],U);return U.length===2&&Ee.classes.push("vlist-t2"),Ee.height=Y,Ee.depth=-H,Ee},ph=(c,a)=>{var o=it(["mspace"],[],a),u=qe(c,a);return o.style.marginRight=ue(u),o},ia=function(a,o,u){var f="";switch(a){case"amsrm":f="AMS";break;case"textrm":f="Main";break;case"textsf":f="SansSerif";break;case"texttt":f="Typewriter";break;default:f=a}var m;return o==="textbf"&&u==="textit"?m="BoldItalic":o==="textbf"?m="Bold":o==="textit"?m="Italic":m="Regular",f+"-"+m},an={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},sn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},fh=function(a,o){var[u,f,m]=sn[a],k=new $t(u),w=new Yt([k],{width:ue(f),height:ue(m),style:"width:"+ue(f),viewBox:"0 0 "+1e3*f+" "+1e3*m,preserveAspectRatio:"xMinYMin"}),S=tn(["overlay"],[w],o);return S.height=m,S.style.height=ue(m),S.style.width=ue(f),S},Q={fontMap:an,makeSymbol:wt,mathsym:ah,makeSpan:it,makeSvgSpan:tn,makeLineSpan:lh,makeAnchor:ch,makeFragment:rn,wrapFragment:hh,makeVList:dh,makeOrd:sh,makeGlue:ph,staticSvg:fh,svgData:sn,tryCombineChars:oh},Xe={number:3,unit:"mu"},tr={number:4,unit:"mu"},Bt={number:5,unit:"mu"},gh={mord:{mop:Xe,mbin:tr,mrel:Bt,minner:Xe},mop:{mord:Xe,mop:Xe,mrel:Bt,minner:Xe},mbin:{mord:tr,mop:tr,mopen:tr,minner:tr},mrel:{mord:Bt,mop:Bt,mopen:Bt,minner:Bt},mopen:{},mclose:{mop:Xe,mbin:tr,mrel:Bt,minner:Xe},mpunct:{mord:Xe,mop:Xe,mrel:Bt,mopen:Xe,mclose:Xe,mpunct:Xe,minner:Xe},minner:{mord:Xe,mop:Xe,mbin:tr,mrel:Bt,mopen:Xe,mpunct:Xe,minner:Xe}},mh={mord:{mop:Xe},mop:{mord:Xe,mop:Xe},mbin:{},mrel:{},mopen:{},mclose:{mop:Xe},mpunct:{},minner:{mop:Xe}},xh={},sa={},na={};function de(c){for(var{type:a,names:o,props:u,handler:f,htmlBuilder:m,mathmlBuilder:k}=c,w={type:a,numArgs:u.numArgs,argTypes:u.argTypes,allowedInArgument:!!u.allowedInArgument,allowedInText:!!u.allowedInText,allowedInMath:u.allowedInMath===void 0?!0:u.allowedInMath,numOptionalArgs:u.numOptionalArgs||0,infix:!!u.infix,primitive:!!u.primitive,handler:f},S=0;S<o.length;++S)xh[o[S]]=w;a&&(m&&(sa[a]=m),k&&(na[a]=k))}function rr(c){var{type:a,htmlBuilder:o,mathmlBuilder:u}=c;de({type:a,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:o,mathmlBuilder:u})}var oa=function(a){return a.type==="ordgroup"&&a.body.length===1?a.body[0]:a},Ye=function(a){return a.type==="ordgroup"?a.body:[a]},gr=Q.makeSpan,bh=["leftmost","mbin","mopen","mrel","mop","mpunct"],vh=["rightmost","mrel","mclose","mpunct"],yh={display:be.DISPLAY,text:be.TEXT,script:be.SCRIPT,scriptscript:be.SCRIPTSCRIPT},wh={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Qe=function(a,o,u,f){f===void 0&&(f=[null,null]);for(var m=[],k=0;k<a.length;k++){var w=Re(a[k],o);if(w instanceof Cr){var S=w.children;m.push(...S)}else m.push(w)}if(Q.tryCombineChars(m),!u)return m;var D=o;if(a.length===1){var F=a[0];F.type==="sizing"?D=o.havingSize(F.size):F.type==="styling"&&(D=o.havingStyle(yh[F.style]))}var H=gr([f[0]||"leftmost"],[],o),Y=gr([f[1]||"rightmost"],[],o),q=u==="root";return nn(m,(Z,J)=>{var ae=J.classes[0],K=Z.classes[0];ae==="mbin"&&Ae.contains(vh,K)?J.classes[0]="mord":K==="mbin"&&Ae.contains(bh,ae)&&(Z.classes[0]="mord")},{node:H},Y,q),nn(m,(Z,J)=>{var ae=ri(J),K=ri(Z),O=ae&&K?Z.hasClass("mtight")?mh[ae][K]:gh[ae][K]:null;if(O)return Q.makeGlue(O,D)},{node:H},Y,q),m},nn=function c(a,o,u,f,m){f&&a.push(f);for(var k=0;k<a.length;k++){var w=a[k],S=on(w);if(S){c(S.children,o,u,null,m);continue}var D=!w.hasClass("mspace");if(D){var F=o(w,u.node);F&&(u.insertAfter?u.insertAfter(F):(a.unshift(F),k++))}D?u.node=w:m&&w.hasClass("newline")&&(u.node=gr(["leftmost"])),u.insertAfter=(H=>Y=>{a.splice(H+1,0,Y),k++})(k)}f&&a.pop()},on=function(a){return a instanceof Cr||a instanceof Ws||a instanceof Kr&&a.hasClass("enclosing")?a:null},kh=function c(a,o){var u=on(a);if(u){var f=u.children;if(f.length){if(o==="right")return c(f[f.length-1],"right");if(o==="left")return c(f[0],"left")}}return a},ri=function(a,o){return a?(o&&(a=kh(a,o)),wh[a.classes[0]]||null):null},zr=function(a,o){var u=["nulldelimiter"].concat(a.baseSizingClasses());return gr(o.concat(u))},Re=function(a,o,u){if(!a)return gr();if(sa[a.type]){var f=sa[a.type](a,o);if(u&&o.size!==u.size){f=gr(o.sizingClasses(u),[f],o);var m=o.sizeMultiplier/u.sizeMultiplier;f.height*=m,f.depth*=m}return f}else throw new ve("Got group of unknown type: '"+a.type+"'")};function ln(c){return new Cr(c)}class kt{constructor(a,o,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=a,this.attributes={},this.children=o||[],this.classes=u||[]}setAttribute(a,o){this.attributes[a]=o}getAttribute(a){return this.attributes[a]}toNode(){var a=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&a.setAttribute(o,this.attributes[o]);this.classes.length>0&&(a.className=Xt(this.classes));for(var u=0;u<this.children.length;u++)a.appendChild(this.children[u].toNode());return a}toMarkup(){var a="<"+this.type;for(var o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(a+=" "+o+'="',a+=Ae.escape(this.attributes[o]),a+='"');this.classes.length>0&&(a+=' class ="'+Ae.escape(Xt(this.classes))+'"'),a+=">";for(var u=0;u<this.children.length;u++)a+=this.children[u].toMarkup();return a+="</"+this.type+">",a}toText(){return this.children.map(a=>a.toText()).join("")}}class Tr{constructor(a){this.text=void 0,this.text=a}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ae.escape(this.toText())}toText(){return this.text}}class Ah{constructor(a){this.width=void 0,this.character=void 0,this.width=a,a>=.05555&&a<=.05556?this.character=" ":a>=.1666&&a<=.1667?this.character=" ":a>=.2222&&a<=.2223?this.character=" ":a>=.2777&&a<=.2778?this.character=" ":a>=-.05556&&a<=-.05555?this.character=" ":a>=-.1667&&a<=-.1666?this.character=" ":a>=-.2223&&a<=-.2222?this.character=" ":a>=-.2778&&a<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var a=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return a.setAttribute("width",ue(this.width)),a}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ue(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var he={MathNode:kt,TextNode:Tr,SpaceNode:Ah,newDocumentFragment:ln},gt=function(a,o,u){return Ke[o][a]&&Ke[o][a].replace&&a.charCodeAt(0)!==55349&&!(Us.hasOwnProperty(a)&&u&&(u.fontFamily&&u.fontFamily.slice(4,6)==="tt"||u.font&&u.font.slice(4,6)==="tt"))&&(a=Ke[o][a].replace),new he.TextNode(a)},ai=function(a){return a.length===1?a[0]:new he.MathNode("mrow",a)},ii=function(a,o){if(o.fontFamily==="texttt")return"monospace";if(o.fontFamily==="textsf")return o.fontShape==="textit"&&o.fontWeight==="textbf"?"sans-serif-bold-italic":o.fontShape==="textit"?"sans-serif-italic":o.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(o.fontShape==="textit"&&o.fontWeight==="textbf")return"bold-italic";if(o.fontShape==="textit")return"italic";if(o.fontWeight==="textbf")return"bold";var u=o.font;if(!u||u==="mathnormal")return null;var f=a.mode;if(u==="mathit")return"italic";if(u==="boldsymbol")return a.type==="textord"?"bold":"bold-italic";if(u==="mathbf")return"bold";if(u==="mathbb")return"double-struck";if(u==="mathfrak")return"fraktur";if(u==="mathscr"||u==="mathcal")return"script";if(u==="mathsf")return"sans-serif";if(u==="mathtt")return"monospace";var m=a.text;if(Ae.contains(["\\imath","\\jmath"],m))return null;Ke[f][m]&&Ke[f][m].replace&&(m=Ke[f][m].replace);var k=Q.fontMap[u].fontName;return Za(m,k,f)?Q.fontMap[u].variant:null},ht=function(a,o,u){if(a.length===1){var f=Be(a[0],o);return u&&f instanceof kt&&f.type==="mo"&&(f.setAttribute("lspace","0em"),f.setAttribute("rspace","0em")),[f]}for(var m=[],k,w=0;w<a.length;w++){var S=Be(a[w],o);if(S instanceof kt&&k instanceof kt){if(S.type==="mtext"&&k.type==="mtext"&&S.getAttribute("mathvariant")===k.getAttribute("mathvariant")){k.children.push(...S.children);continue}else if(S.type==="mn"&&k.type==="mn"){k.children.push(...S.children);continue}else if(S.type==="mi"&&S.children.length===1&&k.type==="mn"){var D=S.children[0];if(D instanceof Tr&&D.text==="."){k.children.push(...S.children);continue}}else if(k.type==="mi"&&k.children.length===1){var F=k.children[0];if(F instanceof Tr&&F.text==="̸"&&(S.type==="mo"||S.type==="mi"||S.type==="mn")){var H=S.children[0];H instanceof Tr&&H.text.length>0&&(H.text=H.text.slice(0,1)+"̸"+H.text.slice(1),m.pop())}}}m.push(S),k=S}return m},Wt=function(a,o,u){return ai(ht(a,o,u))},Be=function(a,o){if(!a)return new he.MathNode("mrow");if(na[a.type]){var u=na[a.type](a,o);return u}else throw new ve("Got group of unknown type: '"+a.type+"'")},Sh={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Ch=function(a){var o=new he.MathNode("mo",[new he.TextNode(Sh[a.replace(/^\\/,"")])]);return o.setAttribute("stretchy","true"),o},zh={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Th=function(a){return a.type==="ordgroup"?a.body.length:1},Lh=function(a,o){function u(){var w=4e5,S=a.label.slice(1);if(Ae.contains(["widehat","widecheck","widetilde","utilde"],S)){var D=a,F=Th(D.base),H,Y,q;if(F>5)S==="widehat"||S==="widecheck"?(H=420,w=2364,q=.42,Y=S+"4"):(H=312,w=2340,q=.34,Y="tilde4");else{var Z=[1,1,2,2,3,3][F];S==="widehat"||S==="widecheck"?(w=[0,1062,2364,2364,2364][Z],H=[0,239,300,360,420][Z],q=[0,.24,.3,.3,.36,.42][Z],Y=S+Z):(w=[0,600,1033,2339,2340][Z],H=[0,260,286,306,312][Z],q=[0,.26,.286,.3,.306,.34][Z],Y="tilde"+Z)}var J=new $t(Y),ae=new Yt([J],{width:"100%",height:ue(q),viewBox:"0 0 "+w+" "+H,preserveAspectRatio:"none"});return{span:Q.makeSvgSpan([],[ae],o),minWidth:0,height:q}}else{var K=[],O=zh[S],[se,le,U]=O,re=U/1e3,fe=se.length,ye,Ee;if(fe===1){var we=O[3];ye=["hide-tail"],Ee=[we]}else if(fe===2)ye=["halfarrow-left","halfarrow-right"],Ee=["xMinYMin","xMaxYMin"];else if(fe===3)ye=["brace-left","brace-center","brace-right"],Ee=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
985
|
-
`+fe+" children.");for(var Ce=0;Ce<fe;Ce++){var Pe=new $t(se[Ce]),Je=new Yt([Pe],{width:"400em",height:ue(re),viewBox:"0 0 "+w+" "+U,preserveAspectRatio:Ee[Ce]+" slice"}),ne=Q.makeSvgSpan([ye[Ce]],[Je],o);if(fe===1)return{span:ne,minWidth:le,height:re};ne.style.height=ue(re),K.push(ne)}return{span:Q.makeSpan(["stretchy"],K,o),minWidth:le,height:re}}}var{span:f,minWidth:m,height:k}=u();return f.height=k,f.style.height=ue(k),m>0&&(f.style.minWidth=ue(m)),f},Mh=function(a,o,u,f,m){var k,w=a.height+a.depth+u+f;if(/fbox|color|angl/.test(o)){if(k=Q.makeSpan(["stretchy",o],[],m),o==="fbox"){var S=m.color&&m.getColor();S&&(k.style.borderColor=S)}}else{var D=[];/^[bx]cancel$/.test(o)&&D.push(new Gs({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(o)&&D.push(new Gs({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var F=new Yt(D,{width:"100%",height:ue(w)});k=Q.makeSvgSpan([],[F],m)}return k.height=w,k.style.height=ue(w),k},Nt={encloseSpan:Mh,mathMLnode:Ch,svgSpan:Lh};function Le(c,a){if(!c||c.type!==a)throw new Error("Expected node of type "+a+", but got "+(c?"node of type "+c.type:String(c)));return c}function si(c){var a=la(c);if(!a)throw new Error("Expected node of symbol group type, but got "+(c?"node of type "+c.type:String(c)));return a}function la(c){return c&&(c.type==="atom"||th.hasOwnProperty(c.type))?c:null}var ni=(c,a)=>{var o,u,f;c&&c.type==="supsub"?(u=Le(c.base,"accent"),o=u.base,c.base=o,f=eh(Re(c,a)),c.base=u):(u=Le(c,"accent"),o=u.base);var m=Re(o,a.havingCrampedStyle()),k=u.isShifty&&Ae.isCharacterBox(o),w=0;if(k){var S=Ae.getBaseElem(o),D=Re(S,a.havingCrampedStyle());w=js(D).skew}var F=u.label==="\\c",H=F?m.height+m.depth:Math.min(m.height,a.fontMetrics().xHeight),Y;if(u.isStretchy)Y=Nt.svgSpan(u,a),Y=Q.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"elem",elem:Y,wrapperClasses:["svg-align"],wrapperStyle:w>0?{width:"calc(100% - "+ue(2*w)+")",marginLeft:ue(2*w)}:void 0}]},a);else{var q,Z;u.label==="\\vec"?(q=Q.staticSvg("vec",a),Z=Q.svgData.vec[1]):(q=Q.makeOrd({mode:u.mode,text:u.label},a,"textord"),q=js(q),q.italic=0,Z=q.width,F&&(H+=q.depth)),Y=Q.makeSpan(["accent-body"],[q]);var J=u.label==="\\textcircled";J&&(Y.classes.push("accent-full"),H=m.height);var ae=w;J||(ae-=Z/2),Y.style.left=ue(ae),u.label==="\\textcircled"&&(Y.style.top=".2em"),Y=Q.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:-H},{type:"elem",elem:Y}]},a)}var K=Q.makeSpan(["mord","accent"],[Y],a);return f?(f.children[0]=K,f.height=Math.max(K.height,f.height),f.classes[0]="mord",f):K},cn=(c,a)=>{var o=c.isStretchy?Nt.mathMLnode(c.label):new he.MathNode("mo",[gt(c.label,c.mode)]),u=new he.MathNode("mover",[Be(c.base,a),o]);return u.setAttribute("accent","true"),u},Eh=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(c=>"\\"+c).join("|"));de({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(c,a)=>{var o=oa(a[0]),u=!Eh.test(c.funcName),f=!u||c.funcName==="\\widehat"||c.funcName==="\\widetilde"||c.funcName==="\\widecheck";return{type:"accent",mode:c.parser.mode,label:c.funcName,isStretchy:u,isShifty:f,base:o}},htmlBuilder:ni,mathmlBuilder:cn}),de({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(c,a)=>{var o=a[0],u=c.parser.mode;return u==="math"&&(c.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+c.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:c.funcName,isStretchy:!1,isShifty:!0,base:o}},htmlBuilder:ni,mathmlBuilder:cn}),de({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(c,a)=>{var{parser:o,funcName:u}=c,f=a[0];return{type:"accentUnder",mode:o.mode,label:u,base:f}},htmlBuilder:(c,a)=>{var o=Re(c.base,a),u=Nt.svgSpan(c,a),f=c.label==="\\utilde"?.12:0,m=Q.makeVList({positionType:"top",positionData:o.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:f},{type:"elem",elem:o}]},a);return Q.makeSpan(["mord","accentunder"],[m],a)},mathmlBuilder:(c,a)=>{var o=Nt.mathMLnode(c.label),u=new he.MathNode("munder",[Be(c.base,a),o]);return u.setAttribute("accentunder","true"),u}});var ca=c=>{var a=new he.MathNode("mpadded",c?[c]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};de({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(c,a,o){var{parser:u,funcName:f}=c;return{type:"xArrow",mode:u.mode,label:f,body:a[0],below:o[0]}},htmlBuilder(c,a){var o=a.style,u=a.havingStyle(o.sup()),f=Q.wrapFragment(Re(c.body,u,a),a),m=c.label.slice(0,2)==="\\x"?"x":"cd";f.classes.push(m+"-arrow-pad");var k;c.below&&(u=a.havingStyle(o.sub()),k=Q.wrapFragment(Re(c.below,u,a),a),k.classes.push(m+"-arrow-pad"));var w=Nt.svgSpan(c,a),S=-a.fontMetrics().axisHeight+.5*w.height,D=-a.fontMetrics().axisHeight-.5*w.height-.111;(f.depth>.25||c.label==="\\xleftequilibrium")&&(D-=f.depth);var F;if(k){var H=-a.fontMetrics().axisHeight+k.height+.5*w.height+.111;F=Q.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:D},{type:"elem",elem:w,shift:S},{type:"elem",elem:k,shift:H}]},a)}else F=Q.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:D},{type:"elem",elem:w,shift:S}]},a);return F.children[0].children[0].children[1].classes.push("svg-align"),Q.makeSpan(["mrel","x-arrow"],[F],a)},mathmlBuilder(c,a){var o=Nt.mathMLnode(c.label);o.setAttribute("minsize",c.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(c.body){var f=ca(Be(c.body,a));if(c.below){var m=ca(Be(c.below,a));u=new he.MathNode("munderover",[o,m,f])}else u=new he.MathNode("mover",[o,f])}else if(c.below){var k=ca(Be(c.below,a));u=new he.MathNode("munder",[o,k])}else u=ca(),u=new he.MathNode("mover",[o,u]);return u}});var Dh=Q.makeSpan;function hn(c,a){var o=Qe(c.body,a,!0);return Dh([c.mclass],o,a)}function un(c,a){var o,u=ht(c.body,a);return c.mclass==="minner"?o=new he.MathNode("mpadded",u):c.mclass==="mord"?c.isCharacterBox?(o=u[0],o.type="mi"):o=new he.MathNode("mi",u):(c.isCharacterBox?(o=u[0],o.type="mo"):o=new he.MathNode("mo",u),c.mclass==="mbin"?(o.attributes.lspace="0.22em",o.attributes.rspace="0.22em"):c.mclass==="mpunct"?(o.attributes.lspace="0em",o.attributes.rspace="0.17em"):c.mclass==="mopen"||c.mclass==="mclose"?(o.attributes.lspace="0em",o.attributes.rspace="0em"):c.mclass==="minner"&&(o.attributes.lspace="0.0556em",o.attributes.width="+0.1111em")),o}de({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(c,a){var{parser:o,funcName:u}=c,f=a[0];return{type:"mclass",mode:o.mode,mclass:"m"+u.slice(5),body:Ye(f),isCharacterBox:Ae.isCharacterBox(f)}},htmlBuilder:hn,mathmlBuilder:un});var ha=c=>{var a=c.type==="ordgroup"&&c.body.length?c.body[0]:c;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};de({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(c,a){var{parser:o}=c;return{type:"mclass",mode:o.mode,mclass:ha(a[0]),body:Ye(a[1]),isCharacterBox:Ae.isCharacterBox(a[1])}}}),de({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(c,a){var{parser:o,funcName:u}=c,f=a[1],m=a[0],k;u!=="\\stackrel"?k=ha(f):k="mrel";var w={type:"op",mode:f.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:Ye(f)},S={type:"supsub",mode:m.mode,base:w,sup:u==="\\underset"?null:m,sub:u==="\\underset"?m:null};return{type:"mclass",mode:o.mode,mclass:k,body:[S],isCharacterBox:Ae.isCharacterBox(S)}},htmlBuilder:hn,mathmlBuilder:un}),de({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(c,a){var{parser:o}=c;return{type:"pmb",mode:o.mode,mclass:ha(a[0]),body:Ye(a[0])}},htmlBuilder(c,a){var o=Qe(c.body,a,!0),u=Q.makeSpan([c.mclass],o,a);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder(c,a){var o=ht(c.body,a),u=new he.MathNode("mstyle",o);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var Ph={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},dn=()=>({type:"styling",body:[],mode:"math",style:"display"}),pn=c=>c.type==="textord"&&c.text==="@",Ih=(c,a)=>(c.type==="mathord"||c.type==="atom")&&c.text===a;function Rh(c,a,o){var u=Ph[c];switch(u){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return o.callFunction(u,[a[0]],[a[1]]);case"\\uparrow":case"\\downarrow":{var f=o.callFunction("\\\\cdleft",[a[0]],[]),m={type:"atom",text:u,mode:"math",family:"rel"},k=o.callFunction("\\Big",[m],[]),w=o.callFunction("\\\\cdright",[a[1]],[]),S={type:"ordgroup",mode:"math",body:[f,k,w]};return o.callFunction("\\\\cdparent",[S],[])}case"\\\\cdlongequal":return o.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var D={type:"textord",text:"\\Vert",mode:"math"};return o.callFunction("\\Big",[D],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Fh(c){var a=[];for(c.gullet.beginGroup(),c.gullet.macros.set("\\cr","\\\\\\relax"),c.gullet.beginGroup();;){a.push(c.parseExpression(!1,"\\\\")),c.gullet.endGroup(),c.gullet.beginGroup();var o=c.fetch().text;if(o==="&"||o==="\\\\")c.consume();else if(o==="\\end"){a[a.length-1].length===0&&a.pop();break}else throw new ve("Expected \\\\ or \\cr or \\end",c.nextToken)}for(var u=[],f=[u],m=0;m<a.length;m++){for(var k=a[m],w=dn(),S=0;S<k.length;S++)if(!pn(k[S]))w.body.push(k[S]);else{u.push(w),S+=1;var D=si(k[S]).text,F=new Array(2);if(F[0]={type:"ordgroup",mode:"math",body:[]},F[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(D)>-1))if("<>AV".indexOf(D)>-1)for(var H=0;H<2;H++){for(var Y=!0,q=S+1;q<k.length;q++){if(Ih(k[q],D)){Y=!1,S=q;break}if(pn(k[q]))throw new ve("Missing a "+D+" character to complete a CD arrow.",k[q]);F[H].body.push(k[q])}if(Y)throw new ve("Missing a "+D+" character to complete a CD arrow.",k[S])}else throw new ve('Expected one of "<>AV=|." after @',k[S]);var Z=Rh(D,F,c),J={type:"styling",body:[Z],mode:"math",style:"display"};u.push(J),w=dn()}m%2===0?u.push(w):u.shift(),u=[],f.push(u)}c.gullet.endGroup(),c.gullet.endGroup();var ae=new Array(f[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:f,arraystretch:1,addJot:!0,rowGaps:[null],cols:ae,colSeparationType:"CD",hLinesBeforeRow:new Array(f.length+1).fill([])}}de({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(c,a){var{parser:o,funcName:u}=c;return{type:"cdlabel",mode:o.mode,side:u.slice(4),label:a[0]}},htmlBuilder(c,a){var o=a.havingStyle(a.style.sup()),u=Q.wrapFragment(Re(c.label,o,a),a);return u.classes.push("cd-label-"+c.side),u.style.bottom=ue(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder(c,a){var o=new he.MathNode("mrow",[Be(c.label,a)]);return o=new he.MathNode("mpadded",[o]),o.setAttribute("width","0"),c.side==="left"&&o.setAttribute("lspace","-1width"),o.setAttribute("voffset","0.7em"),o=new he.MathNode("mstyle",[o]),o.setAttribute("displaystyle","false"),o.setAttribute("scriptlevel","1"),o}}),de({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(c,a){var{parser:o}=c;return{type:"cdlabelparent",mode:o.mode,fragment:a[0]}},htmlBuilder(c,a){var o=Q.wrapFragment(Re(c.fragment,a),a);return o.classes.push("cd-vert-arrow"),o},mathmlBuilder(c,a){return new he.MathNode("mrow",[Be(c.fragment,a)])}}),de({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(c,a){for(var{parser:o}=c,u=Le(a[0],"ordgroup"),f=u.body,m="",k=0;k<f.length;k++){var w=Le(f[k],"textord");m+=w.text}var S=parseInt(m),D;if(isNaN(S))throw new ve("\\@char has non-numeric argument "+m);if(S<0||S>=1114111)throw new ve("\\@char with invalid code point "+m);return S<=65535?D=String.fromCharCode(S):(S-=65536,D=String.fromCharCode((S>>10)+55296,(S&1023)+56320)),{type:"textord",mode:o.mode,text:D}}});var fn=(c,a)=>{var o=Qe(c.body,a.withColor(c.color),!1);return Q.makeFragment(o)},gn=(c,a)=>{var o=ht(c.body,a.withColor(c.color)),u=new he.MathNode("mstyle",o);return u.setAttribute("mathcolor",c.color),u};de({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(c,a){var{parser:o}=c,u=Le(a[0],"color-token").color,f=a[1];return{type:"color",mode:o.mode,color:u,body:Ye(f)}},htmlBuilder:fn,mathmlBuilder:gn}),de({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(c,a){var{parser:o,breakOnTokenText:u}=c,f=Le(a[0],"color-token").color;o.gullet.macros.set("\\current@color",f);var m=o.parseExpression(!0,u);return{type:"color",mode:o.mode,color:f,body:m}},htmlBuilder:fn,mathmlBuilder:gn}),de({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(c,a,o){var{parser:u}=c,f=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,m=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:m,size:f&&Le(f,"size").value}},htmlBuilder(c,a){var o=Q.makeSpan(["mspace"],[],a);return c.newLine&&(o.classes.push("newline"),c.size&&(o.style.marginTop=ue(qe(c.size,a)))),o},mathmlBuilder(c,a){var o=new he.MathNode("mspace");return c.newLine&&(o.setAttribute("linebreak","newline"),c.size&&o.setAttribute("height",ue(qe(c.size,a)))),o}});var oi={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},mn=c=>{var a=c.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ve("Expected a control sequence",c);return a},_h=c=>{var a=c.gullet.popToken();return a.text==="="&&(a=c.gullet.popToken(),a.text===" "&&(a=c.gullet.popToken())),a},xn=(c,a,o,u)=>{var f=c.gullet.macros.get(o.text);f==null&&(o.noexpand=!0,f={tokens:[o],numArgs:0,unexpandable:!c.gullet.isExpandable(o.text)}),c.gullet.macros.set(a,f,u)};de({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(c){var{parser:a,funcName:o}=c;a.consumeSpaces();var u=a.fetch();if(oi[u.text])return(o==="\\global"||o==="\\\\globallong")&&(u.text=oi[u.text]),Le(a.parseFunction(),"internal");throw new ve("Invalid token after macro prefix",u)}}),de({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:a,funcName:o}=c,u=a.gullet.popToken(),f=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(f))throw new ve("Expected a control sequence",u);for(var m=0,k,w=[[]];a.gullet.future().text!=="{";)if(u=a.gullet.popToken(),u.text==="#"){if(a.gullet.future().text==="{"){k=a.gullet.future(),w[m].push("{");break}if(u=a.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new ve('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==m+1)throw new ve('Argument number "'+u.text+'" out of order');m++,w.push([])}else{if(u.text==="EOF")throw new ve("Expected a macro definition");w[m].push(u.text)}var{tokens:S}=a.gullet.consumeArg();return k&&S.unshift(k),(o==="\\edef"||o==="\\xdef")&&(S=a.gullet.expandTokens(S),S.reverse()),a.gullet.macros.set(f,{tokens:S,numArgs:m,delimiters:w},o===oi[o]),{type:"internal",mode:a.mode}}}),de({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:a,funcName:o}=c,u=mn(a.gullet.popToken());a.gullet.consumeSpaces();var f=_h(a);return xn(a,u,f,o==="\\\\globallet"),{type:"internal",mode:a.mode}}}),de({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:a,funcName:o}=c,u=mn(a.gullet.popToken()),f=a.gullet.popToken(),m=a.gullet.popToken();return xn(a,u,m,o==="\\\\globalfuture"),a.gullet.pushToken(m),a.gullet.pushToken(f),{type:"internal",mode:a.mode}}});var Lr=function(a,o,u){var f=Ke.math[a]&&Ke.math[a].replace,m=Za(f||a,o,u);if(!m)throw new Error("Unsupported symbol "+a+" and font size "+o+".");return m},li=function(a,o,u,f){var m=u.havingBaseStyle(o),k=Q.makeSpan(f.concat(m.sizingClasses(u)),[a],u),w=m.sizeMultiplier/u.sizeMultiplier;return k.height*=w,k.depth*=w,k.maxFontSize=m.sizeMultiplier,k},bn=function(a,o,u){var f=o.havingBaseStyle(u),m=(1-o.sizeMultiplier/f.sizeMultiplier)*o.fontMetrics().axisHeight;a.classes.push("delimcenter"),a.style.top=ue(m),a.height-=m,a.depth+=m},Bh=function(a,o,u,f,m,k){var w=Q.makeSymbol(a,"Main-Regular",m,f),S=li(w,o,f,k);return u&&bn(S,f,o),S},Nh=function(a,o,u,f){return Q.makeSymbol(a,"Size"+o+"-Regular",u,f)},vn=function(a,o,u,f,m,k){var w=Nh(a,o,m,f),S=li(Q.makeSpan(["delimsizing","size"+o],[w],f),be.TEXT,f,k);return u&&bn(S,f,be.TEXT),S},ci=function(a,o,u){var f;o==="Size1-Regular"?f="delim-size1":f="delim-size4";var m=Q.makeSpan(["delimsizinginner",f],[Q.makeSpan([],[Q.makeSymbol(a,o,u)])]);return{type:"elem",elem:m}},hi=function(a,o,u){var f=Ft["Size4-Regular"][a.charCodeAt(0)]?Ft["Size4-Regular"][a.charCodeAt(0)][4]:Ft["Size1-Regular"][a.charCodeAt(0)][4],m=new $t("inner",U0(a,Math.round(1e3*o))),k=new Yt([m],{width:ue(f),height:ue(o),style:"width:"+ue(f),viewBox:"0 0 "+1e3*f+" "+Math.round(1e3*o),preserveAspectRatio:"xMinYMin"}),w=Q.makeSvgSpan([],[k],u);return w.height=o,w.style.height=ue(o),w.style.width=ue(f),{type:"elem",elem:w}},ui=.008,ua={type:"kern",size:-1*ui},Oh=["|","\\lvert","\\rvert","\\vert"],Hh=["\\|","\\lVert","\\rVert","\\Vert"],yn=function(a,o,u,f,m,k){var w,S,D,F,H="",Y=0;w=D=F=a,S=null;var q="Size1-Regular";a==="\\uparrow"?D=F="⏐":a==="\\Uparrow"?D=F="‖":a==="\\downarrow"?w=D="⏐":a==="\\Downarrow"?w=D="‖":a==="\\updownarrow"?(w="\\uparrow",D="⏐",F="\\downarrow"):a==="\\Updownarrow"?(w="\\Uparrow",D="‖",F="\\Downarrow"):Ae.contains(Oh,a)?(D="∣",H="vert",Y=333):Ae.contains(Hh,a)?(D="∥",H="doublevert",Y=556):a==="["||a==="\\lbrack"?(w="⎡",D="⎢",F="⎣",q="Size4-Regular",H="lbrack",Y=667):a==="]"||a==="\\rbrack"?(w="⎤",D="⎥",F="⎦",q="Size4-Regular",H="rbrack",Y=667):a==="\\lfloor"||a==="⌊"?(D=w="⎢",F="⎣",q="Size4-Regular",H="lfloor",Y=667):a==="\\lceil"||a==="⌈"?(w="⎡",D=F="⎢",q="Size4-Regular",H="lceil",Y=667):a==="\\rfloor"||a==="⌋"?(D=w="⎥",F="⎦",q="Size4-Regular",H="rfloor",Y=667):a==="\\rceil"||a==="⌉"?(w="⎤",D=F="⎥",q="Size4-Regular",H="rceil",Y=667):a==="("||a==="\\lparen"?(w="⎛",D="⎜",F="⎝",q="Size4-Regular",H="lparen",Y=875):a===")"||a==="\\rparen"?(w="⎞",D="⎟",F="⎠",q="Size4-Regular",H="rparen",Y=875):a==="\\{"||a==="\\lbrace"?(w="⎧",S="⎨",F="⎩",D="⎪",q="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(w="⎫",S="⎬",F="⎭",D="⎪",q="Size4-Regular"):a==="\\lgroup"||a==="⟮"?(w="⎧",F="⎩",D="⎪",q="Size4-Regular"):a==="\\rgroup"||a==="⟯"?(w="⎫",F="⎭",D="⎪",q="Size4-Regular"):a==="\\lmoustache"||a==="⎰"?(w="⎧",F="⎭",D="⎪",q="Size4-Regular"):(a==="\\rmoustache"||a==="⎱")&&(w="⎫",F="⎩",D="⎪",q="Size4-Regular");var Z=Lr(w,q,m),J=Z.height+Z.depth,ae=Lr(D,q,m),K=ae.height+ae.depth,O=Lr(F,q,m),se=O.height+O.depth,le=0,U=1;if(S!==null){var re=Lr(S,q,m);le=re.height+re.depth,U=2}var fe=J+se+le,ye=Math.max(0,Math.ceil((o-fe)/(U*K))),Ee=fe+ye*U*K,we=f.fontMetrics().axisHeight;u&&(we*=f.sizeMultiplier);var Ce=Ee/2-we,Pe=[];if(H.length>0){var Je=Ee-J-se,ne=Math.round(Ee*1e3),ze=Z0(H,Math.round(Je*1e3)),ke=new $t(H,ze),Ve=(Y/1e3).toFixed(3)+"em",$e=(ne/1e3).toFixed(3)+"em",At=new Yt([ke],{width:Ve,height:$e,viewBox:"0 0 "+Y+" "+ne}),ut=Q.makeSvgSpan([],[At],f);ut.height=ne/1e3,ut.style.width=Ve,ut.style.height=$e,Pe.push({type:"elem",elem:ut})}else{if(Pe.push(ci(F,q,m)),Pe.push(ua),S===null){var mt=Ee-J-se+2*ui;Pe.push(hi(D,mt,f))}else{var Ne=(Ee-J-se-le)/2+2*ui;Pe.push(hi(D,Ne,f)),Pe.push(ua),Pe.push(ci(S,q,m)),Pe.push(ua),Pe.push(hi(D,Ne,f))}Pe.push(ua),Pe.push(ci(w,q,m))}var dt=f.havingBaseStyle(be.TEXT),xt=Q.makeVList({positionType:"bottom",positionData:Ce,children:Pe},dt);return li(Q.makeSpan(["delimsizing","mult"],[xt],dt),be.TEXT,f,k)},di=80,pi=.08,fi=function(a,o,u,f,m){var k=j0(a,f,u),w=new $t(a,k),S=new Yt([w],{width:"400em",height:ue(o),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});return Q.makeSvgSpan(["hide-tail"],[S],m)},qh=function(a,o){var u=o.havingBaseSizing(),f=Sn("\\surd",a*u.sizeMultiplier,An,u),m=u.sizeMultiplier,k=Math.max(0,o.minRuleThickness-o.fontMetrics().sqrtRuleThickness),w,S=0,D=0,F=0,H;return f.type==="small"?(F=1e3+1e3*k+di,a<1?m=1:a<1.4&&(m=.7),S=(1+k+pi)/m,D=(1+k)/m,w=fi("sqrtMain",S,F,k,o),w.style.minWidth="0.853em",H=.833/m):f.type==="large"?(F=(1e3+di)*Mr[f.size],D=(Mr[f.size]+k)/m,S=(Mr[f.size]+k+pi)/m,w=fi("sqrtSize"+f.size,S,F,k,o),w.style.minWidth="1.02em",H=1/m):(S=a+k+pi,D=a+k,F=Math.floor(1e3*a+k)+di,w=fi("sqrtTall",S,F,k,o),w.style.minWidth="0.742em",H=1.056),w.height=D,w.style.height=ue(S),{span:w,advanceWidth:H,ruleWidth:(o.fontMetrics().sqrtRuleThickness+k)*m}},wn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Xh=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],kn=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Mr=[0,1.2,1.8,2.4,3],Yh=function(a,o,u,f,m){if(a==="<"||a==="\\lt"||a==="⟨"?a="\\langle":(a===">"||a==="\\gt"||a==="⟩")&&(a="\\rangle"),Ae.contains(wn,a)||Ae.contains(kn,a))return vn(a,o,!1,u,f,m);if(Ae.contains(Xh,a))return yn(a,Mr[o],!1,u,f,m);throw new ve("Illegal delimiter: '"+a+"'")},Vh=[{type:"small",style:be.SCRIPTSCRIPT},{type:"small",style:be.SCRIPT},{type:"small",style:be.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Wh=[{type:"small",style:be.SCRIPTSCRIPT},{type:"small",style:be.SCRIPT},{type:"small",style:be.TEXT},{type:"stack"}],An=[{type:"small",style:be.SCRIPTSCRIPT},{type:"small",style:be.SCRIPT},{type:"small",style:be.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Gh=function(a){if(a.type==="small")return"Main-Regular";if(a.type==="large")return"Size"+a.size+"-Regular";if(a.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+a.type+"' here.")},Sn=function(a,o,u,f){for(var m=Math.min(2,3-f.style.size),k=m;k<u.length&&u[k].type!=="stack";k++){var w=Lr(a,Gh(u[k]),"math"),S=w.height+w.depth;if(u[k].type==="small"){var D=f.havingBaseStyle(u[k].style);S*=D.sizeMultiplier}if(S>o)return u[k]}return u[u.length-1]},Cn=function(a,o,u,f,m,k){a==="<"||a==="\\lt"||a==="⟨"?a="\\langle":(a===">"||a==="\\gt"||a==="⟩")&&(a="\\rangle");var w;Ae.contains(kn,a)?w=Vh:Ae.contains(wn,a)?w=An:w=Wh;var S=Sn(a,o,w,f);return S.type==="small"?Bh(a,S.style,u,f,m,k):S.type==="large"?vn(a,S.size,u,f,m,k):yn(a,o,u,f,m,k)},jh=function(a,o,u,f,m,k){var w=f.fontMetrics().axisHeight*f.sizeMultiplier,S=901,D=5/f.fontMetrics().ptPerEm,F=Math.max(o-w,u+w),H=Math.max(F/500*S,2*F-D);return Cn(a,H,!0,f,m,k)},Ot={sqrtImage:qh,sizedDelim:Yh,sizeToMaxHeight:Mr,customSizedDelim:Cn,leftRightDelim:jh},zn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Uh=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function da(c,a){var o=la(c);if(o&&Ae.contains(Uh,o.text))return o;throw o?new ve("Invalid delimiter '"+o.text+"' after '"+a.funcName+"'",c):new ve("Invalid delimiter type '"+c.type+"'",c)}de({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(c,a)=>{var o=da(a[0],c);return{type:"delimsizing",mode:c.parser.mode,size:zn[c.funcName].size,mclass:zn[c.funcName].mclass,delim:o.text}},htmlBuilder:(c,a)=>c.delim==="."?Q.makeSpan([c.mclass]):Ot.sizedDelim(c.delim,c.size,a,c.mode,[c.mclass]),mathmlBuilder:c=>{var a=[];c.delim!=="."&&a.push(gt(c.delim,c.mode));var o=new he.MathNode("mo",a);c.mclass==="mopen"||c.mclass==="mclose"?o.setAttribute("fence","true"):o.setAttribute("fence","false"),o.setAttribute("stretchy","true");var u=ue(Ot.sizeToMaxHeight[c.size]);return o.setAttribute("minsize",u),o.setAttribute("maxsize",u),o}});function Tn(c){if(!c.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}de({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(c,a)=>{var o=c.parser.gullet.macros.get("\\current@color");if(o&&typeof o!="string")throw new ve("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:c.parser.mode,delim:da(a[0],c).text,color:o}}}),de({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(c,a)=>{var o=da(a[0],c),u=c.parser;++u.leftrightDepth;var f=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var m=Le(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:f,left:o.text,right:m.delim,rightColor:m.color}},htmlBuilder:(c,a)=>{Tn(c);for(var o=Qe(c.body,a,!0,["mopen","mclose"]),u=0,f=0,m=!1,k=0;k<o.length;k++)o[k].isMiddle?m=!0:(u=Math.max(o[k].height,u),f=Math.max(o[k].depth,f));u*=a.sizeMultiplier,f*=a.sizeMultiplier;var w;if(c.left==="."?w=zr(a,["mopen"]):w=Ot.leftRightDelim(c.left,u,f,a,c.mode,["mopen"]),o.unshift(w),m)for(var S=1;S<o.length;S++){var D=o[S],F=D.isMiddle;F&&(o[S]=Ot.leftRightDelim(F.delim,u,f,F.options,c.mode,[]))}var H;if(c.right===".")H=zr(a,["mclose"]);else{var Y=c.rightColor?a.withColor(c.rightColor):a;H=Ot.leftRightDelim(c.right,u,f,Y,c.mode,["mclose"])}return o.push(H),Q.makeSpan(["minner"],o,a)},mathmlBuilder:(c,a)=>{Tn(c);var o=ht(c.body,a);if(c.left!=="."){var u=new he.MathNode("mo",[gt(c.left,c.mode)]);u.setAttribute("fence","true"),o.unshift(u)}if(c.right!=="."){var f=new he.MathNode("mo",[gt(c.right,c.mode)]);f.setAttribute("fence","true"),c.rightColor&&f.setAttribute("mathcolor",c.rightColor),o.push(f)}return ai(o)}}),de({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(c,a)=>{var o=da(a[0],c);if(!c.parser.leftrightDepth)throw new ve("\\middle without preceding \\left",o);return{type:"middle",mode:c.parser.mode,delim:o.text}},htmlBuilder:(c,a)=>{var o;if(c.delim===".")o=zr(a,[]);else{o=Ot.sizedDelim(c.delim,1,a,c.mode,[]);var u={delim:c.delim,options:a};o.isMiddle=u}return o},mathmlBuilder:(c,a)=>{var o=c.delim==="\\vert"||c.delim==="|"?gt("|","text"):gt(c.delim,c.mode),u=new he.MathNode("mo",[o]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var gi=(c,a)=>{var o=Q.wrapFragment(Re(c.body,a),a),u=c.label.slice(1),f=a.sizeMultiplier,m,k=0,w=Ae.isCharacterBox(c.body);if(u==="sout")m=Q.makeSpan(["stretchy","sout"]),m.height=a.fontMetrics().defaultRuleThickness/f,k=-.5*a.fontMetrics().xHeight;else if(u==="phase"){var S=qe({number:.6,unit:"pt"},a),D=qe({number:.35,unit:"ex"},a),F=a.havingBaseSizing();f=f/F.sizeMultiplier;var H=o.height+o.depth+S+D;o.style.paddingLeft=ue(H/2+S);var Y=Math.floor(1e3*H*f),q=W0(Y),Z=new Yt([new $t("phase",q)],{width:"400em",height:ue(Y/1e3),viewBox:"0 0 400000 "+Y,preserveAspectRatio:"xMinYMin slice"});m=Q.makeSvgSpan(["hide-tail"],[Z],a),m.style.height=ue(H),k=o.depth+S+D}else{/cancel/.test(u)?w||o.classes.push("cancel-pad"):u==="angl"?o.classes.push("anglpad"):o.classes.push("boxpad");var J=0,ae=0,K=0;/box/.test(u)?(K=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),J=a.fontMetrics().fboxsep+(u==="colorbox"?0:K),ae=J):u==="angl"?(K=Math.max(a.fontMetrics().defaultRuleThickness,a.minRuleThickness),J=4*K,ae=Math.max(0,.25-o.depth)):(J=w?.2:0,ae=J),m=Nt.encloseSpan(o,u,J,ae,a),/fbox|boxed|fcolorbox/.test(u)?(m.style.borderStyle="solid",m.style.borderWidth=ue(K)):u==="angl"&&K!==.049&&(m.style.borderTopWidth=ue(K),m.style.borderRightWidth=ue(K)),k=o.depth+ae,c.backgroundColor&&(m.style.backgroundColor=c.backgroundColor,c.borderColor&&(m.style.borderColor=c.borderColor))}var O;if(c.backgroundColor)O=Q.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:k},{type:"elem",elem:o,shift:0}]},a);else{var se=/cancel|phase/.test(u)?["svg-align"]:[];O=Q.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:m,shift:k,wrapperClasses:se}]},a)}return/cancel/.test(u)&&(O.height=o.height,O.depth=o.depth),/cancel/.test(u)&&!w?Q.makeSpan(["mord","cancel-lap"],[O],a):Q.makeSpan(["mord"],[O],a)},mi=(c,a)=>{var o=0,u=new he.MathNode(c.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Be(c.body,a)]);switch(c.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(o=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*o+"pt"),u.setAttribute("height","+"+2*o+"pt"),u.setAttribute("lspace",o+"pt"),u.setAttribute("voffset",o+"pt"),c.label==="\\fcolorbox"){var f=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);u.setAttribute("style","border: "+f+"em solid "+String(c.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return c.backgroundColor&&u.setAttribute("mathbackground",c.backgroundColor),u};de({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(c,a,o){var{parser:u,funcName:f}=c,m=Le(a[0],"color-token").color,k=a[1];return{type:"enclose",mode:u.mode,label:f,backgroundColor:m,body:k}},htmlBuilder:gi,mathmlBuilder:mi}),de({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(c,a,o){var{parser:u,funcName:f}=c,m=Le(a[0],"color-token").color,k=Le(a[1],"color-token").color,w=a[2];return{type:"enclose",mode:u.mode,label:f,backgroundColor:k,borderColor:m,body:w}},htmlBuilder:gi,mathmlBuilder:mi}),de({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(c,a){var{parser:o}=c;return{type:"enclose",mode:o.mode,label:"\\fbox",body:a[0]}}}),de({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(c,a){var{parser:o,funcName:u}=c,f=a[0];return{type:"enclose",mode:o.mode,label:u,body:f}},htmlBuilder:gi,mathmlBuilder:mi}),de({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(c,a){var{parser:o}=c;return{type:"enclose",mode:o.mode,label:"\\angl",body:a[0]}}});var Ln={};function Et(c){for(var{type:a,names:o,props:u,handler:f,htmlBuilder:m,mathmlBuilder:k}=c,w={type:a,numArgs:u.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:f},S=0;S<o.length;++S)Ln[o[S]]=w;m&&(sa[a]=m),k&&(na[a]=k)}function Mn(c){var a=[];c.consumeSpaces();var o=c.fetch().text;for(o==="\\relax"&&(c.consume(),c.consumeSpaces(),o=c.fetch().text);o==="\\hline"||o==="\\hdashline";)c.consume(),a.push(o==="\\hdashline"),c.consumeSpaces(),o=c.fetch().text;return a}var pa=c=>{var a=c.parser.settings;if(!a.displayMode)throw new ve("{"+c.envName+"} can be used only in display mode.")};function xi(c){if(c.indexOf("ed")===-1)return c.indexOf("*")===-1}function Gt(c,a,o){var{hskipBeforeAndAfter:u,addJot:f,cols:m,arraystretch:k,colSeparationType:w,autoTag:S,singleRow:D,emptySingleRow:F,maxNumCols:H,leqno:Y}=a;if(c.gullet.beginGroup(),D||c.gullet.macros.set("\\cr","\\\\\\relax"),!k){var q=c.gullet.expandMacroAsText("\\arraystretch");if(q==null)k=1;else if(k=parseFloat(q),!k||k<0)throw new ve("Invalid \\arraystretch: "+q)}c.gullet.beginGroup();var Z=[],J=[Z],ae=[],K=[],O=S!=null?[]:void 0;function se(){S&&c.gullet.macros.set("\\@eqnsw","1",!0)}function le(){O&&(c.gullet.macros.get("\\df@tag")?(O.push(c.subparse([new Ga("\\df@tag")])),c.gullet.macros.set("\\df@tag",void 0,!0)):O.push(Boolean(S)&&c.gullet.macros.get("\\@eqnsw")==="1"))}for(se(),K.push(Mn(c));;){var U=c.parseExpression(!1,D?"\\end":"\\\\");c.gullet.endGroup(),c.gullet.beginGroup(),U={type:"ordgroup",mode:c.mode,body:U},o&&(U={type:"styling",mode:c.mode,style:o,body:[U]}),Z.push(U);var re=c.fetch().text;if(re==="&"){if(H&&Z.length===H){if(D||w)throw new ve("Too many tab characters: &",c.nextToken);c.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}c.consume()}else if(re==="\\end"){le(),Z.length===1&&U.type==="styling"&&U.body[0].body.length===0&&(J.length>1||!F)&&J.pop(),K.length<J.length+1&&K.push([]);break}else if(re==="\\\\"){c.consume();var fe=void 0;c.gullet.future().text!==" "&&(fe=c.parseSizeGroup(!0)),ae.push(fe?fe.value:null),le(),K.push(Mn(c)),Z=[],J.push(Z),se()}else throw new ve("Expected & or \\\\ or \\cr or \\end",c.nextToken)}return c.gullet.endGroup(),c.gullet.endGroup(),{type:"array",mode:c.mode,addJot:f,arraystretch:k,body:J,cols:m,rowGaps:ae,hskipBeforeAndAfter:u,hLinesBeforeRow:K,colSeparationType:w,tags:O,leqno:Y}}function bi(c){return c.slice(0,1)==="d"?"display":"text"}var Dt=function(a,o){var u,f,m=a.body.length,k=a.hLinesBeforeRow,w=0,S=new Array(m),D=[],F=Math.max(o.fontMetrics().arrayRuleWidth,o.minRuleThickness),H=1/o.fontMetrics().ptPerEm,Y=5*H;if(a.colSeparationType&&a.colSeparationType==="small"){var q=o.havingStyle(be.SCRIPT).sizeMultiplier;Y=.2778*(q/o.sizeMultiplier)}var Z=a.colSeparationType==="CD"?qe({number:3,unit:"ex"},o):12*H,J=3*H,ae=a.arraystretch*Z,K=.7*ae,O=.3*ae,se=0;function le(jt){for(var xr=0;xr<jt.length;++xr)xr>0&&(se+=.25),D.push({pos:se,isDashed:jt[xr]})}for(le(k[0]),u=0;u<a.body.length;++u){var U=a.body[u],re=K,fe=O;w<U.length&&(w=U.length);var ye=new Array(U.length);for(f=0;f<U.length;++f){var Ee=Re(U[f],o);fe<Ee.depth&&(fe=Ee.depth),re<Ee.height&&(re=Ee.height),ye[f]=Ee}var we=a.rowGaps[u],Ce=0;we&&(Ce=qe(we,o),Ce>0&&(Ce+=O,fe<Ce&&(fe=Ce),Ce=0)),a.addJot&&(fe+=J),ye.height=re,ye.depth=fe,se+=re,ye.pos=se,se+=fe+Ce,S[u]=ye,le(k[u+1])}var Pe=se/2+o.fontMetrics().axisHeight,Je=a.cols||[],ne=[],ze,ke,Ve=[];if(a.tags&&a.tags.some(jt=>jt))for(u=0;u<m;++u){var $e=S[u],At=$e.pos-Pe,ut=a.tags[u],mt=void 0;ut===!0?mt=Q.makeSpan(["eqn-num"],[],o):ut===!1?mt=Q.makeSpan([],[],o):mt=Q.makeSpan([],Qe(ut,o,!0),o),mt.depth=$e.depth,mt.height=$e.height,Ve.push({type:"elem",elem:mt,shift:At})}for(f=0,ke=0;f<w||ke<Je.length;++f,++ke){for(var Ne=Je[ke]||{},dt=!0;Ne.type==="separator";){if(dt||(ze=Q.makeSpan(["arraycolsep"],[]),ze.style.width=ue(o.fontMetrics().doubleRuleSep),ne.push(ze)),Ne.separator==="|"||Ne.separator===":"){var xt=Ne.separator==="|"?"solid":"dashed",ge=Q.makeSpan(["vertical-separator"],[],o);ge.style.height=ue(se),ge.style.borderRightWidth=ue(F),ge.style.borderRightStyle=xt,ge.style.margin="0 "+ue(-F/2);var Te=se-Pe;Te&&(ge.style.verticalAlign=ue(-Te)),ne.push(ge)}else throw new ve("Invalid separator type: "+Ne.separator);ke++,Ne=Je[ke]||{},dt=!1}if(!(f>=w)){var Ue=void 0;(f>0||a.hskipBeforeAndAfter)&&(Ue=Ae.deflt(Ne.pregap,Y),Ue!==0&&(ze=Q.makeSpan(["arraycolsep"],[]),ze.style.width=ue(Ue),ne.push(ze)));var Fe=[];for(u=0;u<m;++u){var st=S[u],nt=st[f];if(nt){var It=st.pos-Pe;nt.depth=st.depth,nt.height=st.height,Fe.push({type:"elem",elem:nt,shift:It})}}Fe=Q.makeVList({positionType:"individualShift",children:Fe},o),Fe=Q.makeSpan(["col-align-"+(Ne.align||"c")],[Fe]),ne.push(Fe),(f<w-1||a.hskipBeforeAndAfter)&&(Ue=Ae.deflt(Ne.postgap,Y),Ue!==0&&(ze=Q.makeSpan(["arraycolsep"],[]),ze.style.width=ue(Ue),ne.push(ze)))}}if(S=Q.makeSpan(["mtable"],ne),D.length>0){for(var bt=Q.makeLineSpan("hline",o,F),Dr=Q.makeLineSpan("hdashline",o,F),ar=[{type:"elem",elem:S,shift:0}];D.length>0;){var fa=D.pop(),ga=fa.pos-Pe;fa.isDashed?ar.push({type:"elem",elem:Dr,shift:ga}):ar.push({type:"elem",elem:bt,shift:ga})}S=Q.makeVList({positionType:"individualShift",children:ar},o)}if(Ve.length===0)return Q.makeSpan(["mord"],[S],o);var Pr=Q.makeVList({positionType:"individualShift",children:Ve},o);return Pr=Q.makeSpan(["tag"],[Pr],o),Q.makeFragment([S,Pr])},Zh={c:"center ",l:"left ",r:"right "},Pt=function(a,o){for(var u=[],f=new he.MathNode("mtd",[],["mtr-glue"]),m=new he.MathNode("mtd",[],["mml-eqn-num"]),k=0;k<a.body.length;k++){for(var w=a.body[k],S=[],D=0;D<w.length;D++)S.push(new he.MathNode("mtd",[Be(w[D],o)]));a.tags&&a.tags[k]&&(S.unshift(f),S.push(f),a.leqno?S.unshift(m):S.push(m)),u.push(new he.MathNode("mtr",S))}var F=new he.MathNode("mtable",u),H=a.arraystretch===.5?.1:.16+a.arraystretch-1+(a.addJot?.09:0);F.setAttribute("rowspacing",ue(H));var Y="",q="";if(a.cols&&a.cols.length>0){var Z=a.cols,J="",ae=!1,K=0,O=Z.length;Z[0].type==="separator"&&(Y+="top ",K=1),Z[Z.length-1].type==="separator"&&(Y+="bottom ",O-=1);for(var se=K;se<O;se++)Z[se].type==="align"?(q+=Zh[Z[se].align],ae&&(J+="none "),ae=!0):Z[se].type==="separator"&&ae&&(J+=Z[se].separator==="|"?"solid ":"dashed ",ae=!1);F.setAttribute("columnalign",q.trim()),/[sd]/.test(J)&&F.setAttribute("columnlines",J.trim())}if(a.colSeparationType==="align"){for(var le=a.cols||[],U="",re=1;re<le.length;re++)U+=re%2?"0em ":"1em ";F.setAttribute("columnspacing",U.trim())}else a.colSeparationType==="alignat"||a.colSeparationType==="gather"?F.setAttribute("columnspacing","0em"):a.colSeparationType==="small"?F.setAttribute("columnspacing","0.2778em"):a.colSeparationType==="CD"?F.setAttribute("columnspacing","0.5em"):F.setAttribute("columnspacing","1em");var fe="",ye=a.hLinesBeforeRow;Y+=ye[0].length>0?"left ":"",Y+=ye[ye.length-1].length>0?"right ":"";for(var Ee=1;Ee<ye.length-1;Ee++)fe+=ye[Ee].length===0?"none ":ye[Ee][0]?"dashed ":"solid ";return/[sd]/.test(fe)&&F.setAttribute("rowlines",fe.trim()),Y!==""&&(F=new he.MathNode("menclose",[F]),F.setAttribute("notation",Y.trim())),a.arraystretch&&a.arraystretch<1&&(F=new he.MathNode("mstyle",[F]),F.setAttribute("scriptlevel","1")),F},En=function(a,o){a.envName.indexOf("ed")===-1&&pa(a);var u=[],f=a.envName.indexOf("at")>-1?"alignat":"align",m=a.envName==="split",k=Gt(a.parser,{cols:u,addJot:!0,autoTag:m?void 0:xi(a.envName),emptySingleRow:!0,colSeparationType:f,maxNumCols:m?2:void 0,leqno:a.parser.settings.leqno},"display"),w,S=0,D={type:"ordgroup",mode:a.mode,body:[]};if(o[0]&&o[0].type==="ordgroup"){for(var F="",H=0;H<o[0].body.length;H++){var Y=Le(o[0].body[H],"textord");F+=Y.text}w=Number(F),S=w*2}var q=!S;k.body.forEach(function(K){for(var O=1;O<K.length;O+=2){var se=Le(K[O],"styling"),le=Le(se.body[0],"ordgroup");le.body.unshift(D)}if(q)S<K.length&&(S=K.length);else{var U=K.length/2;if(w<U)throw new ve("Too many math in a row: "+("expected "+w+", but got "+U),K[0])}});for(var Z=0;Z<S;++Z){var J="r",ae=0;Z%2===1?J="l":Z>0&&q&&(ae=1),u[Z]={type:"align",align:J,pregap:ae,postgap:0}}return k.colSeparationType=q?"align":"alignat",k};Et({type:"array",names:["array","darray"],props:{numArgs:1},handler(c,a){var o=la(a[0]),u=o?[a[0]]:Le(a[0],"ordgroup").body,f=u.map(function(k){var w=si(k),S=w.text;if("lcr".indexOf(S)!==-1)return{type:"align",align:S};if(S==="|")return{type:"separator",separator:"|"};if(S===":")return{type:"separator",separator:":"};throw new ve("Unknown column alignment: "+S,k)}),m={cols:f,hskipBeforeAndAfter:!0,maxNumCols:f.length};return Gt(c.parser,m,bi(c.envName))},htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(c){var a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[c.envName.replace("*","")],o="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:o}]};if(c.envName.charAt(c.envName.length-1)==="*"){var f=c.parser;if(f.consumeSpaces(),f.fetch().text==="["){if(f.consume(),f.consumeSpaces(),o=f.fetch().text,"lcr".indexOf(o)===-1)throw new ve("Expected l or c or r",f.nextToken);f.consume(),f.consumeSpaces(),f.expect("]"),f.consume(),u.cols=[{type:"align",align:o}]}}var m=Gt(c.parser,u,bi(c.envName)),k=Math.max(0,...m.body.map(w=>w.length));return m.cols=new Array(k).fill({type:"align",align:o}),a?{type:"leftright",mode:c.mode,body:[m],left:a[0],right:a[1],rightColor:void 0}:m},htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(c){var a={arraystretch:.5},o=Gt(c.parser,a,"script");return o.colSeparationType="small",o},htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["subarray"],props:{numArgs:1},handler(c,a){var o=la(a[0]),u=o?[a[0]]:Le(a[0],"ordgroup").body,f=u.map(function(k){var w=si(k),S=w.text;if("lc".indexOf(S)!==-1)return{type:"align",align:S};throw new ve("Unknown column alignment: "+S,k)});if(f.length>1)throw new ve("{subarray} can contain only one column");var m={cols:f,hskipBeforeAndAfter:!1,arraystretch:.5};if(m=Gt(c.parser,m,"script"),m.body.length>0&&m.body[0].length>1)throw new ve("{subarray} can contain only one column");return m},htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(c){var a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},o=Gt(c.parser,a,bi(c.envName));return{type:"leftright",mode:c.mode,body:[o],left:c.envName.indexOf("r")>-1?".":"\\{",right:c.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:En,htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(c){Ae.contains(["gather","gather*"],c.envName)&&pa(c);var a={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:xi(c.envName),emptySingleRow:!0,leqno:c.parser.settings.leqno};return Gt(c.parser,a,"display")},htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:En,htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(c){pa(c);var a={autoTag:xi(c.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:c.parser.settings.leqno};return Gt(c.parser,a,"display")},htmlBuilder:Dt,mathmlBuilder:Pt}),Et({type:"array",names:["CD"],props:{numArgs:0},handler(c){return pa(c),Fh(c.parser)},htmlBuilder:Dt,mathmlBuilder:Pt}),de({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(c,a){throw new ve(c.funcName+" valid only within array environment")}});var Dn=Ln;de({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(c,a){var{parser:o,funcName:u}=c,f=a[0];if(f.type!=="ordgroup")throw new ve("Invalid environment name",f);for(var m="",k=0;k<f.body.length;++k)m+=Le(f.body[k],"textord").text;if(u==="\\begin"){if(!Dn.hasOwnProperty(m))throw new ve("No such environment: "+m,f);var w=Dn[m],{args:S,optArgs:D}=o.parseArguments("\\begin{"+m+"}",w),F={mode:o.mode,envName:m,parser:o},H=w.handler(F,S,D);o.expect("\\end",!1);var Y=o.nextToken,q=Le(o.parseFunction(),"environment");if(q.name!==m)throw new ve("Mismatch: \\begin{"+m+"} matched by \\end{"+q.name+"}",Y);return H}return{type:"environment",mode:o.mode,name:m,nameGroup:f}}});var Pn=(c,a)=>{var o=c.font,u=a.withFont(o);return Re(c.body,u)},In=(c,a)=>{var o=c.font,u=a.withFont(o);return Be(c.body,u)},Rn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};de({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(c,a)=>{var{parser:o,funcName:u}=c,f=oa(a[0]),m=u;return m in Rn&&(m=Rn[m]),{type:"font",mode:o.mode,font:m.slice(1),body:f}},htmlBuilder:Pn,mathmlBuilder:In}),de({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(c,a)=>{var{parser:o}=c,u=a[0],f=Ae.isCharacterBox(u);return{type:"mclass",mode:o.mode,mclass:ha(u),body:[{type:"font",mode:o.mode,font:"boldsymbol",body:u}],isCharacterBox:f}}}),de({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(c,a)=>{var{parser:o,funcName:u,breakOnTokenText:f}=c,{mode:m}=o,k=o.parseExpression(!0,f),w="math"+u.slice(1);return{type:"font",mode:m,font:w,body:{type:"ordgroup",mode:o.mode,body:k}}},htmlBuilder:Pn,mathmlBuilder:In});var Fn=(c,a)=>{var o=a;return c==="display"?o=o.id>=be.SCRIPT.id?o.text():be.DISPLAY:c==="text"&&o.size===be.DISPLAY.size?o=be.TEXT:c==="script"?o=be.SCRIPT:c==="scriptscript"&&(o=be.SCRIPTSCRIPT),o},vi=(c,a)=>{var o=Fn(c.size,a.style),u=o.fracNum(),f=o.fracDen(),m;m=a.havingStyle(u);var k=Re(c.numer,m,a);if(c.continued){var w=8.5/a.fontMetrics().ptPerEm,S=3.5/a.fontMetrics().ptPerEm;k.height=k.height<w?w:k.height,k.depth=k.depth<S?S:k.depth}m=a.havingStyle(f);var D=Re(c.denom,m,a),F,H,Y;c.hasBarLine?(c.barSize?(H=qe(c.barSize,a),F=Q.makeLineSpan("frac-line",a,H)):F=Q.makeLineSpan("frac-line",a),H=F.height,Y=F.height):(F=null,H=0,Y=a.fontMetrics().defaultRuleThickness);var q,Z,J;o.size===be.DISPLAY.size||c.size==="display"?(q=a.fontMetrics().num1,H>0?Z=3*Y:Z=7*Y,J=a.fontMetrics().denom1):(H>0?(q=a.fontMetrics().num2,Z=Y):(q=a.fontMetrics().num3,Z=3*Y),J=a.fontMetrics().denom2);var ae;if(F){var O=a.fontMetrics().axisHeight;q-k.depth-(O+.5*H)<Z&&(q+=Z-(q-k.depth-(O+.5*H))),O-.5*H-(D.height-J)<Z&&(J+=Z-(O-.5*H-(D.height-J)));var se=-(O-.5*H);ae=Q.makeVList({positionType:"individualShift",children:[{type:"elem",elem:D,shift:J},{type:"elem",elem:F,shift:se},{type:"elem",elem:k,shift:-q}]},a)}else{var K=q-k.depth-(D.height-J);K<Z&&(q+=.5*(Z-K),J+=.5*(Z-K)),ae=Q.makeVList({positionType:"individualShift",children:[{type:"elem",elem:D,shift:J},{type:"elem",elem:k,shift:-q}]},a)}m=a.havingStyle(o),ae.height*=m.sizeMultiplier/a.sizeMultiplier,ae.depth*=m.sizeMultiplier/a.sizeMultiplier;var le;o.size===be.DISPLAY.size?le=a.fontMetrics().delim1:o.size===be.SCRIPTSCRIPT.size?le=a.havingStyle(be.SCRIPT).fontMetrics().delim2:le=a.fontMetrics().delim2;var U,re;return c.leftDelim==null?U=zr(a,["mopen"]):U=Ot.customSizedDelim(c.leftDelim,le,!0,a.havingStyle(o),c.mode,["mopen"]),c.continued?re=Q.makeSpan([]):c.rightDelim==null?re=zr(a,["mclose"]):re=Ot.customSizedDelim(c.rightDelim,le,!0,a.havingStyle(o),c.mode,["mclose"]),Q.makeSpan(["mord"].concat(m.sizingClasses(a)),[U,Q.makeSpan(["mfrac"],[ae]),re],a)},yi=(c,a)=>{var o=new he.MathNode("mfrac",[Be(c.numer,a),Be(c.denom,a)]);if(!c.hasBarLine)o.setAttribute("linethickness","0px");else if(c.barSize){var u=qe(c.barSize,a);o.setAttribute("linethickness",ue(u))}var f=Fn(c.size,a.style);if(f.size!==a.style.size){o=new he.MathNode("mstyle",[o]);var m=f.size===be.DISPLAY.size?"true":"false";o.setAttribute("displaystyle",m),o.setAttribute("scriptlevel","0")}if(c.leftDelim!=null||c.rightDelim!=null){var k=[];if(c.leftDelim!=null){var w=new he.MathNode("mo",[new he.TextNode(c.leftDelim.replace("\\",""))]);w.setAttribute("fence","true"),k.push(w)}if(k.push(o),c.rightDelim!=null){var S=new he.MathNode("mo",[new he.TextNode(c.rightDelim.replace("\\",""))]);S.setAttribute("fence","true"),k.push(S)}return ai(k)}return o};de({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(c,a)=>{var{parser:o,funcName:u}=c,f=a[0],m=a[1],k,w=null,S=null,D="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":k=!0;break;case"\\\\atopfrac":k=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":k=!1,w="(",S=")";break;case"\\\\bracefrac":k=!1,w="\\{",S="\\}";break;case"\\\\brackfrac":k=!1,w="[",S="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":D="display";break;case"\\tfrac":case"\\tbinom":D="text";break}return{type:"genfrac",mode:o.mode,continued:!1,numer:f,denom:m,hasBarLine:k,leftDelim:w,rightDelim:S,size:D,barSize:null}},htmlBuilder:vi,mathmlBuilder:yi}),de({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(c,a)=>{var{parser:o,funcName:u}=c,f=a[0],m=a[1];return{type:"genfrac",mode:o.mode,continued:!0,numer:f,denom:m,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),de({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(c){var{parser:a,funcName:o,token:u}=c,f;switch(o){case"\\over":f="\\frac";break;case"\\choose":f="\\binom";break;case"\\atop":f="\\\\atopfrac";break;case"\\brace":f="\\\\bracefrac";break;case"\\brack":f="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:f,token:u}}});var _n=["display","text","script","scriptscript"],Bn=function(a){var o=null;return a.length>0&&(o=a,o=o==="."?null:o),o};de({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(c,a){var{parser:o}=c,u=a[4],f=a[5],m=oa(a[0]),k=m.type==="atom"&&m.family==="open"?Bn(m.text):null,w=oa(a[1]),S=w.type==="atom"&&w.family==="close"?Bn(w.text):null,D=Le(a[2],"size"),F,H=null;D.isBlank?F=!0:(H=D.value,F=H.number>0);var Y="auto",q=a[3];if(q.type==="ordgroup"){if(q.body.length>0){var Z=Le(q.body[0],"textord");Y=_n[Number(Z.text)]}}else q=Le(q,"textord"),Y=_n[Number(q.text)];return{type:"genfrac",mode:o.mode,numer:u,denom:f,continued:!1,hasBarLine:F,barSize:H,leftDelim:k,rightDelim:S,size:Y}},htmlBuilder:vi,mathmlBuilder:yi}),de({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(c,a){var{parser:o,funcName:u,token:f}=c;return{type:"infix",mode:o.mode,replaceWith:"\\\\abovefrac",size:Le(a[0],"size").value,token:f}}}),de({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(c,a)=>{var{parser:o,funcName:u}=c,f=a[0],m=E0(Le(a[1],"infix").size),k=a[2],w=m.number>0;return{type:"genfrac",mode:o.mode,numer:f,denom:k,continued:!1,hasBarLine:w,barSize:m,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:vi,mathmlBuilder:yi});var Nn=(c,a)=>{var o=a.style,u,f;c.type==="supsub"?(u=c.sup?Re(c.sup,a.havingStyle(o.sup()),a):Re(c.sub,a.havingStyle(o.sub()),a),f=Le(c.base,"horizBrace")):f=Le(c,"horizBrace");var m=Re(f.base,a.havingBaseStyle(be.DISPLAY)),k=Nt.svgSpan(f,a),w;if(f.isOver?(w=Q.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:.1},{type:"elem",elem:k}]},a),w.children[0].children[0].children[1].classes.push("svg-align")):(w=Q.makeVList({positionType:"bottom",positionData:m.depth+.1+k.height,children:[{type:"elem",elem:k},{type:"kern",size:.1},{type:"elem",elem:m}]},a),w.children[0].children[0].children[0].classes.push("svg-align")),u){var S=Q.makeSpan(["mord",f.isOver?"mover":"munder"],[w],a);f.isOver?w=Q.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:S},{type:"kern",size:.2},{type:"elem",elem:u}]},a):w=Q.makeVList({positionType:"bottom",positionData:S.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:S}]},a)}return Q.makeSpan(["mord",f.isOver?"mover":"munder"],[w],a)},Jh=(c,a)=>{var o=Nt.mathMLnode(c.label);return new he.MathNode(c.isOver?"mover":"munder",[Be(c.base,a),o])};de({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(c,a){var{parser:o,funcName:u}=c;return{type:"horizBrace",mode:o.mode,label:u,isOver:/^\\over/.test(u),base:a[0]}},htmlBuilder:Nn,mathmlBuilder:Jh}),de({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(c,a)=>{var{parser:o}=c,u=a[1],f=Le(a[0],"url").url;return o.settings.isTrusted({command:"\\href",url:f})?{type:"href",mode:o.mode,href:f,body:Ye(u)}:o.formatUnsupportedCmd("\\href")},htmlBuilder:(c,a)=>{var o=Qe(c.body,a,!1);return Q.makeAnchor(c.href,[],o,a)},mathmlBuilder:(c,a)=>{var o=Wt(c.body,a);return o instanceof kt||(o=new kt("mrow",[o])),o.setAttribute("href",c.href),o}}),de({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(c,a)=>{var{parser:o}=c,u=Le(a[0],"url").url;if(!o.settings.isTrusted({command:"\\url",url:u}))return o.formatUnsupportedCmd("\\url");for(var f=[],m=0;m<u.length;m++){var k=u[m];k==="~"&&(k="\\textasciitilde"),f.push({type:"textord",mode:"text",text:k})}var w={type:"text",mode:o.mode,font:"\\texttt",body:f};return{type:"href",mode:o.mode,href:u,body:Ye(w)}}}),de({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(c,a){var{parser:o}=c;return{type:"hbox",mode:o.mode,body:Ye(a[0])}},htmlBuilder(c,a){var o=Qe(c.body,a,!1);return Q.makeFragment(o)},mathmlBuilder(c,a){return new he.MathNode("mrow",ht(c.body,a))}}),de({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(c,a)=>{var{parser:o,funcName:u,token:f}=c,m=Le(a[0],"raw").string,k=a[1];o.settings.strict&&o.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var w,S={};switch(u){case"\\htmlClass":S.class=m,w={command:"\\htmlClass",class:m};break;case"\\htmlId":S.id=m,w={command:"\\htmlId",id:m};break;case"\\htmlStyle":S.style=m,w={command:"\\htmlStyle",style:m};break;case"\\htmlData":{for(var D=m.split(","),F=0;F<D.length;F++){var H=D[F].split("=");if(H.length!==2)throw new ve("Error parsing key-value for \\htmlData");S["data-"+H[0].trim()]=H[1].trim()}w={command:"\\htmlData",attributes:S};break}default:throw new Error("Unrecognized html command")}return o.settings.isTrusted(w)?{type:"html",mode:o.mode,attributes:S,body:Ye(k)}:o.formatUnsupportedCmd(u)},htmlBuilder:(c,a)=>{var o=Qe(c.body,a,!1),u=["enclosing"];c.attributes.class&&u.push(...c.attributes.class.trim().split(/\s+/));var f=Q.makeSpan(u,o,a);for(var m in c.attributes)m!=="class"&&c.attributes.hasOwnProperty(m)&&f.setAttribute(m,c.attributes[m]);return f},mathmlBuilder:(c,a)=>Wt(c.body,a)}),de({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(c,a)=>{var{parser:o}=c;return{type:"htmlmathml",mode:o.mode,html:Ye(a[0]),mathml:Ye(a[1])}},htmlBuilder:(c,a)=>{var o=Qe(c.html,a,!1);return Q.makeFragment(o)},mathmlBuilder:(c,a)=>Wt(c.mathml,a)});var wi=function(a){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(a))return{number:+a,unit:"bp"};var o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(a);if(!o)throw new ve("Invalid size: '"+a+"' in \\includegraphics");var u={number:+(o[1]+o[2]),unit:o[3]};if(!K0(u))throw new ve("Invalid unit: '"+u.unit+"' in \\includegraphics.");return u};de({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(c,a,o)=>{var{parser:u}=c,f={number:0,unit:"em"},m={number:.9,unit:"em"},k={number:0,unit:"em"},w="";if(o[0])for(var S=Le(o[0],"raw").string,D=S.split(","),F=0;F<D.length;F++){var H=D[F].split("=");if(H.length===2){var Y=H[1].trim();switch(H[0].trim()){case"alt":w=Y;break;case"width":f=wi(Y);break;case"height":m=wi(Y);break;case"totalheight":k=wi(Y);break;default:throw new ve("Invalid key: '"+H[0]+"' in \\includegraphics.")}}}var q=Le(a[0],"url").url;return w===""&&(w=q,w=w.replace(/^.*[\\/]/,""),w=w.substring(0,w.lastIndexOf("."))),u.settings.isTrusted({command:"\\includegraphics",url:q})?{type:"includegraphics",mode:u.mode,alt:w,width:f,height:m,totalheight:k,src:q}:u.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(c,a)=>{var o=qe(c.height,a),u=0;c.totalheight.number>0&&(u=qe(c.totalheight,a)-o);var f=0;c.width.number>0&&(f=qe(c.width,a));var m={height:ue(o+u)};f>0&&(m.width=ue(f)),u>0&&(m.verticalAlign=ue(-u));var k=new Q0(c.src,c.alt,m);return k.height=o,k.depth=u,k},mathmlBuilder:(c,a)=>{var o=new he.MathNode("mglyph",[]);o.setAttribute("alt",c.alt);var u=qe(c.height,a),f=0;if(c.totalheight.number>0&&(f=qe(c.totalheight,a)-u,o.setAttribute("valign",ue(-f))),o.setAttribute("height",ue(u+f)),c.width.number>0){var m=qe(c.width,a);o.setAttribute("width",ue(m))}return o.setAttribute("src",c.src),o}}),de({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(c,a){var{parser:o,funcName:u}=c,f=Le(a[0],"size");if(o.settings.strict){var m=u[1]==="m",k=f.value.unit==="mu";m?(k||o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+f.value.unit+" units")),o.mode!=="math"&&o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):k&&o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:o.mode,dimension:f.value}},htmlBuilder(c,a){return Q.makeGlue(c.dimension,a)},mathmlBuilder(c,a){var o=qe(c.dimension,a);return new he.SpaceNode(o)}}),de({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(c,a)=>{var{parser:o,funcName:u}=c,f=a[0];return{type:"lap",mode:o.mode,alignment:u.slice(5),body:f}},htmlBuilder:(c,a)=>{var o;c.alignment==="clap"?(o=Q.makeSpan([],[Re(c.body,a)]),o=Q.makeSpan(["inner"],[o],a)):o=Q.makeSpan(["inner"],[Re(c.body,a)]);var u=Q.makeSpan(["fix"],[]),f=Q.makeSpan([c.alignment],[o,u],a),m=Q.makeSpan(["strut"]);return m.style.height=ue(f.height+f.depth),f.depth&&(m.style.verticalAlign=ue(-f.depth)),f.children.unshift(m),f=Q.makeSpan(["thinbox"],[f],a),Q.makeSpan(["mord","vbox"],[f],a)},mathmlBuilder:(c,a)=>{var o=new he.MathNode("mpadded",[Be(c.body,a)]);if(c.alignment!=="rlap"){var u=c.alignment==="llap"?"-1":"-0.5";o.setAttribute("lspace",u+"width")}return o.setAttribute("width","0px"),o}}),de({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(c,a){var{funcName:o,parser:u}=c,f=u.mode;u.switchMode("math");var m=o==="\\("?"\\)":"$",k=u.parseExpression(!1,m);return u.expect(m),u.switchMode(f),{type:"styling",mode:u.mode,style:"text",body:k}}}),de({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(c,a){throw new ve("Mismatched "+c.funcName)}});var On=(c,a)=>{switch(a.style.size){case be.DISPLAY.size:return c.display;case be.TEXT.size:return c.text;case be.SCRIPT.size:return c.script;case be.SCRIPTSCRIPT.size:return c.scriptscript;default:return c.text}};de({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(c,a)=>{var{parser:o}=c;return{type:"mathchoice",mode:o.mode,display:Ye(a[0]),text:Ye(a[1]),script:Ye(a[2]),scriptscript:Ye(a[3])}},htmlBuilder:(c,a)=>{var o=On(c,a),u=Qe(o,a,!1);return Q.makeFragment(u)},mathmlBuilder:(c,a)=>{var o=On(c,a);return Wt(o,a)}});var Hn=(c,a,o,u,f,m,k)=>{c=Q.makeSpan([],[c]);var w=o&&Ae.isCharacterBox(o),S,D;if(a){var F=Re(a,u.havingStyle(f.sup()),u);D={elem:F,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-F.depth)}}if(o){var H=Re(o,u.havingStyle(f.sub()),u);S={elem:H,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-H.height)}}var Y;if(D&&S){var q=u.fontMetrics().bigOpSpacing5+S.elem.height+S.elem.depth+S.kern+c.depth+k;Y=Q.makeVList({positionType:"bottom",positionData:q,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:S.elem,marginLeft:ue(-m)},{type:"kern",size:S.kern},{type:"elem",elem:c},{type:"kern",size:D.kern},{type:"elem",elem:D.elem,marginLeft:ue(m)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(S){var Z=c.height-k;Y=Q.makeVList({positionType:"top",positionData:Z,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:S.elem,marginLeft:ue(-m)},{type:"kern",size:S.kern},{type:"elem",elem:c}]},u)}else if(D){var J=c.depth+k;Y=Q.makeVList({positionType:"bottom",positionData:J,children:[{type:"elem",elem:c},{type:"kern",size:D.kern},{type:"elem",elem:D.elem,marginLeft:ue(m)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return c;var ae=[Y];if(S&&m!==0&&!w){var K=Q.makeSpan(["mspace"],[],u);K.style.marginRight=ue(m),ae.unshift(K)}return Q.makeSpan(["mop","op-limits"],ae,u)},qn=["\\smallint"],mr=(c,a)=>{var o,u,f=!1,m;c.type==="supsub"?(o=c.sup,u=c.sub,m=Le(c.base,"op"),f=!0):m=Le(c,"op");var k=a.style,w=!1;k.size===be.DISPLAY.size&&m.symbol&&!Ae.contains(qn,m.name)&&(w=!0);var S;if(m.symbol){var D=w?"Size2-Regular":"Size1-Regular",F="";if((m.name==="\\oiint"||m.name==="\\oiiint")&&(F=m.name.slice(1),m.name=F==="oiint"?"\\iint":"\\iiint"),S=Q.makeSymbol(m.name,D,"math",a,["mop","op-symbol",w?"large-op":"small-op"]),F.length>0){var H=S.italic,Y=Q.staticSvg(F+"Size"+(w?"2":"1"),a);S=Q.makeVList({positionType:"individualShift",children:[{type:"elem",elem:S,shift:0},{type:"elem",elem:Y,shift:w?.08:0}]},a),m.name="\\"+F,S.classes.unshift("mop"),S.italic=H}}else if(m.body){var q=Qe(m.body,a,!0);q.length===1&&q[0]instanceof Mt?(S=q[0],S.classes[0]="mop"):S=Q.makeSpan(["mop"],q,a)}else{for(var Z=[],J=1;J<m.name.length;J++)Z.push(Q.mathsym(m.name[J],m.mode,a));S=Q.makeSpan(["mop"],Z,a)}var ae=0,K=0;return(S instanceof Mt||m.name==="\\oiint"||m.name==="\\oiiint")&&!m.suppressBaseShift&&(ae=(S.height-S.depth)/2-a.fontMetrics().axisHeight,K=S.italic),f?Hn(S,o,u,a,k,K,ae):(ae&&(S.style.position="relative",S.style.top=ue(ae)),S)},Er=(c,a)=>{var o;if(c.symbol)o=new kt("mo",[gt(c.name,c.mode)]),Ae.contains(qn,c.name)&&o.setAttribute("largeop","false");else if(c.body)o=new kt("mo",ht(c.body,a));else{o=new kt("mi",[new Tr(c.name.slice(1))]);var u=new kt("mo",[gt("","text")]);c.parentIsSupSub?o=new kt("mrow",[o,u]):o=ln([o,u])}return o},Kh={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};de({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(c,a)=>{var{parser:o,funcName:u}=c,f=u;return f.length===1&&(f=Kh[f]),{type:"op",mode:o.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:f}},htmlBuilder:mr,mathmlBuilder:Er}),de({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(c,a)=>{var{parser:o}=c,u=a[0];return{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ye(u)}},htmlBuilder:mr,mathmlBuilder:Er});var Qh={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};de({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(c){var{parser:a,funcName:o}=c;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:o}},htmlBuilder:mr,mathmlBuilder:Er}),de({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(c){var{parser:a,funcName:o}=c;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:o}},htmlBuilder:mr,mathmlBuilder:Er}),de({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(c){var{parser:a,funcName:o}=c,u=o;return u.length===1&&(u=Qh[u]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:mr,mathmlBuilder:Er});var Xn=(c,a)=>{var o,u,f=!1,m;c.type==="supsub"?(o=c.sup,u=c.sub,m=Le(c.base,"operatorname"),f=!0):m=Le(c,"operatorname");var k;if(m.body.length>0){for(var w=m.body.map(H=>{var Y=H.text;return typeof Y=="string"?{type:"textord",mode:H.mode,text:Y}:H}),S=Qe(w,a.withFont("mathrm"),!0),D=0;D<S.length;D++){var F=S[D];F instanceof Mt&&(F.text=F.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}k=Q.makeSpan(["mop"],S,a)}else k=Q.makeSpan(["mop"],[],a);return f?Hn(k,o,u,a,a.style,0,0):k},$h=(c,a)=>{for(var o=ht(c.body,a.withFont("mathrm")),u=!0,f=0;f<o.length;f++){var m=o[f];if(!(m instanceof he.SpaceNode))if(m instanceof he.MathNode)switch(m.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var k=m.children[0];m.children.length===1&&k instanceof he.TextNode?k.text=k.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):u=!1;break}default:u=!1}else u=!1}if(u){var w=o.map(F=>F.toText()).join("");o=[new he.TextNode(w)]}var S=new he.MathNode("mi",o);S.setAttribute("mathvariant","normal");var D=new he.MathNode("mo",[gt("","text")]);return c.parentIsSupSub?new he.MathNode("mrow",[S,D]):he.newDocumentFragment([S,D])};de({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(c,a)=>{var{parser:o,funcName:u}=c,f=a[0];return{type:"operatorname",mode:o.mode,body:Ye(f),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Xn,mathmlBuilder:$h}),rr({type:"ordgroup",htmlBuilder(c,a){return c.semisimple?Q.makeFragment(Qe(c.body,a,!1)):Q.makeSpan(["mord"],Qe(c.body,a,!0),a)},mathmlBuilder(c,a){return Wt(c.body,a,!0)}}),de({type:"overline",names:["\\overline"],props:{numArgs:1},handler(c,a){var{parser:o}=c,u=a[0];return{type:"overline",mode:o.mode,body:u}},htmlBuilder(c,a){var o=Re(c.body,a.havingCrampedStyle()),u=Q.makeLineSpan("overline-line",a),f=a.fontMetrics().defaultRuleThickness,m=Q.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:3*f},{type:"elem",elem:u},{type:"kern",size:f}]},a);return Q.makeSpan(["mord","overline"],[m],a)},mathmlBuilder(c,a){var o=new he.MathNode("mo",[new he.TextNode("‾")]);o.setAttribute("stretchy","true");var u=new he.MathNode("mover",[Be(c.body,a),o]);return u.setAttribute("accent","true"),u}}),de({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(c,a)=>{var{parser:o}=c,u=a[0];return{type:"phantom",mode:o.mode,body:Ye(u)}},htmlBuilder:(c,a)=>{var o=Qe(c.body,a.withPhantom(),!1);return Q.makeFragment(o)},mathmlBuilder:(c,a)=>{var o=ht(c.body,a);return new he.MathNode("mphantom",o)}}),de({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(c,a)=>{var{parser:o}=c,u=a[0];return{type:"hphantom",mode:o.mode,body:u}},htmlBuilder:(c,a)=>{var o=Q.makeSpan([],[Re(c.body,a.withPhantom())]);if(o.height=0,o.depth=0,o.children)for(var u=0;u<o.children.length;u++)o.children[u].height=0,o.children[u].depth=0;return o=Q.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},a),Q.makeSpan(["mord"],[o],a)},mathmlBuilder:(c,a)=>{var o=ht(Ye(c.body),a),u=new he.MathNode("mphantom",o),f=new he.MathNode("mpadded",[u]);return f.setAttribute("height","0px"),f.setAttribute("depth","0px"),f}}),de({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(c,a)=>{var{parser:o}=c,u=a[0];return{type:"vphantom",mode:o.mode,body:u}},htmlBuilder:(c,a)=>{var o=Q.makeSpan(["inner"],[Re(c.body,a.withPhantom())]),u=Q.makeSpan(["fix"],[]);return Q.makeSpan(["mord","rlap"],[o,u],a)},mathmlBuilder:(c,a)=>{var o=ht(Ye(c.body),a),u=new he.MathNode("mphantom",o),f=new he.MathNode("mpadded",[u]);return f.setAttribute("width","0px"),f}}),de({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(c,a){var{parser:o}=c,u=Le(a[0],"size").value,f=a[1];return{type:"raisebox",mode:o.mode,dy:u,body:f}},htmlBuilder(c,a){var o=Re(c.body,a),u=qe(c.dy,a);return Q.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:o}]},a)},mathmlBuilder(c,a){var o=new he.MathNode("mpadded",[Be(c.body,a)]),u=c.dy.number+c.dy.unit;return o.setAttribute("voffset",u),o}}),de({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(c){var{parser:a}=c;return{type:"internal",mode:a.mode}}}),de({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(c,a,o){var{parser:u}=c,f=o[0],m=Le(a[0],"size"),k=Le(a[1],"size");return{type:"rule",mode:u.mode,shift:f&&Le(f,"size").value,width:m.value,height:k.value}},htmlBuilder(c,a){var o=Q.makeSpan(["mord","rule"],[],a),u=qe(c.width,a),f=qe(c.height,a),m=c.shift?qe(c.shift,a):0;return o.style.borderRightWidth=ue(u),o.style.borderTopWidth=ue(f),o.style.bottom=ue(m),o.width=u,o.height=f+m,o.depth=-m,o.maxFontSize=f*1.125*a.sizeMultiplier,o},mathmlBuilder(c,a){var o=qe(c.width,a),u=qe(c.height,a),f=c.shift?qe(c.shift,a):0,m=a.color&&a.getColor()||"black",k=new he.MathNode("mspace");k.setAttribute("mathbackground",m),k.setAttribute("width",ue(o)),k.setAttribute("height",ue(u));var w=new he.MathNode("mpadded",[k]);return f>=0?w.setAttribute("height",ue(f)):(w.setAttribute("height",ue(f)),w.setAttribute("depth",ue(-f))),w.setAttribute("voffset",ue(f)),w}});function Yn(c,a,o){for(var u=Qe(c,a,!1),f=a.sizeMultiplier/o.sizeMultiplier,m=0;m<u.length;m++){var k=u[m].classes.indexOf("sizing");k<0?Array.prototype.push.apply(u[m].classes,a.sizingClasses(o)):u[m].classes[k+1]==="reset-size"+a.size&&(u[m].classes[k+1]="reset-size"+o.size),u[m].height*=f,u[m].depth*=f}return Q.makeFragment(u)}var Vn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],eu=(c,a)=>{var o=a.havingSize(c.size);return Yn(c.body,o,a)};de({type:"sizing",names:Vn,props:{numArgs:0,allowedInText:!0},handler:(c,a)=>{var{breakOnTokenText:o,funcName:u,parser:f}=c,m=f.parseExpression(!1,o);return{type:"sizing",mode:f.mode,size:Vn.indexOf(u)+1,body:m}},htmlBuilder:eu,mathmlBuilder:(c,a)=>{var o=a.havingSize(c.size),u=ht(c.body,o),f=new he.MathNode("mstyle",u);return f.setAttribute("mathsize",ue(o.sizeMultiplier)),f}}),de({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(c,a,o)=>{var{parser:u}=c,f=!1,m=!1,k=o[0]&&Le(o[0],"ordgroup");if(k)for(var w="",S=0;S<k.body.length;++S){var D=k.body[S];if(w=D.text,w==="t")f=!0;else if(w==="b")m=!0;else{f=!1,m=!1;break}}else f=!0,m=!0;var F=a[0];return{type:"smash",mode:u.mode,body:F,smashHeight:f,smashDepth:m}},htmlBuilder:(c,a)=>{var o=Q.makeSpan([],[Re(c.body,a)]);if(!c.smashHeight&&!c.smashDepth)return o;if(c.smashHeight&&(o.height=0,o.children))for(var u=0;u<o.children.length;u++)o.children[u].height=0;if(c.smashDepth&&(o.depth=0,o.children))for(var f=0;f<o.children.length;f++)o.children[f].depth=0;var m=Q.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},a);return Q.makeSpan(["mord"],[m],a)},mathmlBuilder:(c,a)=>{var o=new he.MathNode("mpadded",[Be(c.body,a)]);return c.smashHeight&&o.setAttribute("height","0px"),c.smashDepth&&o.setAttribute("depth","0px"),o}}),de({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(c,a,o){var{parser:u}=c,f=o[0],m=a[0];return{type:"sqrt",mode:u.mode,body:m,index:f}},htmlBuilder(c,a){var o=Re(c.body,a.havingCrampedStyle());o.height===0&&(o.height=a.fontMetrics().xHeight),o=Q.wrapFragment(o,a);var u=a.fontMetrics(),f=u.defaultRuleThickness,m=f;a.style.id<be.TEXT.id&&(m=a.fontMetrics().xHeight);var k=f+m/4,w=o.height+o.depth+k+f,{span:S,ruleWidth:D,advanceWidth:F}=Ot.sqrtImage(w,a),H=S.height-D;H>o.height+o.depth+k&&(k=(k+H-o.height-o.depth)/2);var Y=S.height-o.height-k-D;o.style.paddingLeft=ue(F);var q=Q.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o,wrapperClasses:["svg-align"]},{type:"kern",size:-(o.height+Y)},{type:"elem",elem:S},{type:"kern",size:D}]},a);if(c.index){var Z=a.havingStyle(be.SCRIPTSCRIPT),J=Re(c.index,Z,a),ae=.6*(q.height-q.depth),K=Q.makeVList({positionType:"shift",positionData:-ae,children:[{type:"elem",elem:J}]},a),O=Q.makeSpan(["root"],[K]);return Q.makeSpan(["mord","sqrt"],[O,q],a)}else return Q.makeSpan(["mord","sqrt"],[q],a)},mathmlBuilder(c,a){var{body:o,index:u}=c;return u?new he.MathNode("mroot",[Be(o,a),Be(u,a)]):new he.MathNode("msqrt",[Be(o,a)])}});var Wn={display:be.DISPLAY,text:be.TEXT,script:be.SCRIPT,scriptscript:be.SCRIPTSCRIPT};de({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c,a){var{breakOnTokenText:o,funcName:u,parser:f}=c,m=f.parseExpression(!0,o),k=u.slice(1,u.length-5);return{type:"styling",mode:f.mode,style:k,body:m}},htmlBuilder(c,a){var o=Wn[c.style],u=a.havingStyle(o).withFont("");return Yn(c.body,u,a)},mathmlBuilder(c,a){var o=Wn[c.style],u=a.havingStyle(o),f=ht(c.body,u),m=new he.MathNode("mstyle",f),k={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},w=k[c.style];return m.setAttribute("scriptlevel",w[0]),m.setAttribute("displaystyle",w[1]),m}});var tu=function(a,o){var u=a.base;if(u)if(u.type==="op"){var f=u.limits&&(o.style.size===be.DISPLAY.size||u.alwaysHandleSupSub);return f?mr:null}else if(u.type==="operatorname"){var m=u.alwaysHandleSupSub&&(o.style.size===be.DISPLAY.size||u.limits);return m?Xn:null}else{if(u.type==="accent")return Ae.isCharacterBox(u.base)?ni:null;if(u.type==="horizBrace"){var k=!a.sub;return k===u.isOver?Nn:null}else return null}else return null};rr({type:"supsub",htmlBuilder(c,a){var o=tu(c,a);if(o)return o(c,a);var{base:u,sup:f,sub:m}=c,k=Re(u,a),w,S,D=a.fontMetrics(),F=0,H=0,Y=u&&Ae.isCharacterBox(u);if(f){var q=a.havingStyle(a.style.sup());w=Re(f,q,a),Y||(F=k.height-q.fontMetrics().supDrop*q.sizeMultiplier/a.sizeMultiplier)}if(m){var Z=a.havingStyle(a.style.sub());S=Re(m,Z,a),Y||(H=k.depth+Z.fontMetrics().subDrop*Z.sizeMultiplier/a.sizeMultiplier)}var J;a.style===be.DISPLAY?J=D.sup1:a.style.cramped?J=D.sup3:J=D.sup2;var ae=a.sizeMultiplier,K=ue(.5/D.ptPerEm/ae),O=null;if(S){var se=c.base&&c.base.type==="op"&&c.base.name&&(c.base.name==="\\oiint"||c.base.name==="\\oiiint");(k instanceof Mt||se)&&(O=ue(-k.italic))}var le;if(w&&S){F=Math.max(F,J,w.depth+.25*D.xHeight),H=Math.max(H,D.sub2);var U=D.defaultRuleThickness,re=4*U;if(F-w.depth-(S.height-H)<re){H=re-(F-w.depth)+S.height;var fe=.8*D.xHeight-(F-w.depth);fe>0&&(F+=fe,H-=fe)}var ye=[{type:"elem",elem:S,shift:H,marginRight:K,marginLeft:O},{type:"elem",elem:w,shift:-F,marginRight:K}];le=Q.makeVList({positionType:"individualShift",children:ye},a)}else if(S){H=Math.max(H,D.sub1,S.height-.8*D.xHeight);var Ee=[{type:"elem",elem:S,marginLeft:O,marginRight:K}];le=Q.makeVList({positionType:"shift",positionData:H,children:Ee},a)}else if(w)F=Math.max(F,J,w.depth+.25*D.xHeight),le=Q.makeVList({positionType:"shift",positionData:-F,children:[{type:"elem",elem:w,marginRight:K}]},a);else throw new Error("supsub must have either sup or sub.");var we=ri(k,"right")||"mord";return Q.makeSpan([we],[k,Q.makeSpan(["msupsub"],[le])],a)},mathmlBuilder(c,a){var o=!1,u,f;c.base&&c.base.type==="horizBrace"&&(f=!!c.sup,f===c.base.isOver&&(o=!0,u=c.base.isOver)),c.base&&(c.base.type==="op"||c.base.type==="operatorname")&&(c.base.parentIsSupSub=!0);var m=[Be(c.base,a)];c.sub&&m.push(Be(c.sub,a)),c.sup&&m.push(Be(c.sup,a));var k;if(o)k=u?"mover":"munder";else if(c.sub)if(c.sup){var D=c.base;D&&D.type==="op"&&D.limits&&a.style===be.DISPLAY||D&&D.type==="operatorname"&&D.alwaysHandleSupSub&&(a.style===be.DISPLAY||D.limits)?k="munderover":k="msubsup"}else{var S=c.base;S&&S.type==="op"&&S.limits&&(a.style===be.DISPLAY||S.alwaysHandleSupSub)||S&&S.type==="operatorname"&&S.alwaysHandleSupSub&&(S.limits||a.style===be.DISPLAY)?k="munder":k="msub"}else{var w=c.base;w&&w.type==="op"&&w.limits&&(a.style===be.DISPLAY||w.alwaysHandleSupSub)||w&&w.type==="operatorname"&&w.alwaysHandleSupSub&&(w.limits||a.style===be.DISPLAY)?k="mover":k="msup"}return new he.MathNode(k,m)}}),rr({type:"atom",htmlBuilder(c,a){return Q.mathsym(c.text,c.mode,a,["m"+c.family])},mathmlBuilder(c,a){var o=new he.MathNode("mo",[gt(c.text,c.mode)]);if(c.family==="bin"){var u=ii(c,a);u==="bold-italic"&&o.setAttribute("mathvariant",u)}else c.family==="punct"?o.setAttribute("separator","true"):(c.family==="open"||c.family==="close")&&o.setAttribute("stretchy","false");return o}});var Gn={mi:"italic",mn:"normal",mtext:"normal"};rr({type:"mathord",htmlBuilder(c,a){return Q.makeOrd(c,a,"mathord")},mathmlBuilder(c,a){var o=new he.MathNode("mi",[gt(c.text,c.mode,a)]),u=ii(c,a)||"italic";return u!==Gn[o.type]&&o.setAttribute("mathvariant",u),o}}),rr({type:"textord",htmlBuilder(c,a){return Q.makeOrd(c,a,"textord")},mathmlBuilder(c,a){var o=gt(c.text,c.mode,a),u=ii(c,a)||"normal",f;return c.mode==="text"?f=new he.MathNode("mtext",[o]):/[0-9]/.test(c.text)?f=new he.MathNode("mn",[o]):c.text==="\\prime"?f=new he.MathNode("mo",[o]):f=new he.MathNode("mi",[o]),u!==Gn[f.type]&&f.setAttribute("mathvariant",u),f}});var ki={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ai={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};rr({type:"spacing",htmlBuilder(c,a){if(Ai.hasOwnProperty(c.text)){var o=Ai[c.text].className||"";if(c.mode==="text"){var u=Q.makeOrd(c,a,"textord");return u.classes.push(o),u}else return Q.makeSpan(["mspace",o],[Q.mathsym(c.text,c.mode,a)],a)}else{if(ki.hasOwnProperty(c.text))return Q.makeSpan(["mspace",ki[c.text]],[],a);throw new ve('Unknown type of space "'+c.text+'"')}},mathmlBuilder(c,a){var o;if(Ai.hasOwnProperty(c.text))o=new he.MathNode("mtext",[new he.TextNode(" ")]);else{if(ki.hasOwnProperty(c.text))return new he.MathNode("mspace");throw new ve('Unknown type of space "'+c.text+'"')}return o}});var jn=()=>{var c=new he.MathNode("mtd",[]);return c.setAttribute("width","50%"),c};rr({type:"tag",mathmlBuilder(c,a){var o=new he.MathNode("mtable",[new he.MathNode("mtr",[jn(),new he.MathNode("mtd",[Wt(c.body,a)]),jn(),new he.MathNode("mtd",[Wt(c.tag,a)])])]);return o.setAttribute("width","100%"),o}});var Un={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Zn={"\\textbf":"textbf","\\textmd":"textmd"},ru={"\\textit":"textit","\\textup":"textup"},Jn=(c,a)=>{var o=c.font;return o?Un[o]?a.withTextFontFamily(Un[o]):Zn[o]?a.withTextFontWeight(Zn[o]):a.withTextFontShape(ru[o]):a};de({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(c,a){var{parser:o,funcName:u}=c,f=a[0];return{type:"text",mode:o.mode,body:Ye(f),font:u}},htmlBuilder(c,a){var o=Jn(c,a),u=Qe(c.body,o,!0);return Q.makeSpan(["mord","text"],u,o)},mathmlBuilder(c,a){var o=Jn(c,a);return Wt(c.body,o)}}),de({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(c,a){var{parser:o}=c;return{type:"underline",mode:o.mode,body:a[0]}},htmlBuilder(c,a){var o=Re(c.body,a),u=Q.makeLineSpan("underline-line",a),f=a.fontMetrics().defaultRuleThickness,m=Q.makeVList({positionType:"top",positionData:o.height,children:[{type:"kern",size:f},{type:"elem",elem:u},{type:"kern",size:3*f},{type:"elem",elem:o}]},a);return Q.makeSpan(["mord","underline"],[m],a)},mathmlBuilder(c,a){var o=new he.MathNode("mo",[new he.TextNode("‾")]);o.setAttribute("stretchy","true");var u=new he.MathNode("munder",[Be(c.body,a),o]);return u.setAttribute("accentunder","true"),u}}),de({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(c,a){var{parser:o}=c;return{type:"vcenter",mode:o.mode,body:a[0]}},htmlBuilder(c,a){var o=Re(c.body,a),u=a.fontMetrics().axisHeight,f=.5*(o.height-u-(o.depth+u));return Q.makeVList({positionType:"shift",positionData:f,children:[{type:"elem",elem:o}]},a)},mathmlBuilder(c,a){return new he.MathNode("mpadded",[Be(c.body,a)],["vcenter"])}}),de({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(c,a,o){throw new ve("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(c,a){for(var o=Kn(c),u=[],f=a.havingStyle(a.style.text()),m=0;m<o.length;m++){var k=o[m];k==="~"&&(k="\\textasciitilde"),u.push(Q.makeSymbol(k,"Typewriter-Regular",c.mode,f,["mord","texttt"]))}return Q.makeSpan(["mord","text"].concat(f.sizingClasses(a)),Q.tryCombineChars(u),f)},mathmlBuilder(c,a){var o=new he.TextNode(Kn(c)),u=new he.MathNode("mtext",[o]);return u.setAttribute("mathvariant","monospace"),u}});var Kn=c=>c.body.replace(/ /g,c.star?"␣":" ");ue(Ft["Main-Regular"]["T".charCodeAt(0)][1]-.7*Ft["Main-Regular"]["A".charCodeAt(0)][1]),typeof document<"u"&&document.compatMode!=="CSS1Compat"&&typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.");const eX="",au={install:c=>{c.component("EpBadge",Ei),c.component("EpBtn",Di),c.component("EpCard",Pi),c.component("EpChip",Ii)}};vt.EpBadge=Ei,vt.EpBtn=Di,vt.EpCard=Pi,vt.EpChip=Ii,vt.default=au,Object.defineProperties(vt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|