diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/assets/Attendee_survey2024.a643c0bc.png b/assets/Attendee_survey2024.a643c0bc.png new file mode 100644 index 00000000..4ff386c8 Binary files /dev/null and b/assets/Attendee_survey2024.a643c0bc.png differ diff --git a/assets/Form.0dd054b1.css b/assets/Form.0dd054b1.css new file mode 100644 index 00000000..5cd9e73c --- /dev/null +++ b/assets/Form.0dd054b1.css @@ -0,0 +1 @@ +.base[data-v-7b37bd6a]{display:flex;justify-content:center;align-items:center;font-size:1.5rem}.base label[data-v-7b37bd6a]{margin:5px}.base .switch[data-v-7b37bd6a]{display:flex;justify-content:center;align-items:center;border:3px solid var(--accent-color);position:relative;cursor:pointer}.base .switch .point[data-v-7b37bd6a]{position:absolute;top:8px;left:8px;width:24px;height:24px;background:var(--primary-color);transition:transform .2s ease-in-out}.base .switch input[type=radio][data-v-7b37bd6a]{-webkit-appearance:none;appearance:none;width:40px;height:40px;margin:0} diff --git a/assets/Form.9acaa8e4.js b/assets/Form.9acaa8e4.js new file mode 100644 index 00000000..293cb670 --- /dev/null +++ b/assets/Form.9acaa8e4.js @@ -0,0 +1,4 @@ +const Fo=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))u(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&u(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerpolicy&&(r.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?r.credentials="include":s.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function u(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}};Fo();function On(e,t){const n=Object.create(null),u=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const Co="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",Eo=On(Co),_o="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ao=On(_o);function Ks(e){return!!e||e===""}function en(e){if(M(e)){const t={};for(let n=0;n{if(n){const u=n.split(Bo);u.length>1&&(t[u[0].trim()]=u[1].trim())}}),t}function kn(e){let t="";if(ue(e))t=e;else if(M(e))for(let n=0;nze(n,t))}const ts=e=>ue(e)?e:e==null?"":M(e)||oe(e)&&(e.toString===Js||!$(e.toString))?JSON.stringify(e,Vs,2):String(e),Vs=(e,t)=>t&&t.__v_isRef?Vs(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[u,s])=>(n[`${u} =>`]=s,n),{})}:ft(t)?{[`Set(${t.size})`]:[...t.values()]}:oe(t)&&!M(t)&&!Ys(t)?String(t):t,X={},Et=[],we=()=>{},wo=()=>!1,vo=/^on[^a-z]/,tn=e=>vo.test(e),xu=e=>e.startsWith("onUpdate:"),re=Object.assign,wu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},So=Object.prototype.hasOwnProperty,J=(e,t)=>So.call(e,t),M=Array.isArray,_t=e=>nn(e)==="[object Map]",ft=e=>nn(e)==="[object Set]",ns=e=>nn(e)==="[object Date]",$=e=>typeof e=="function",ue=e=>typeof e=="string",Vt=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",vu=e=>oe(e)&&$(e.then)&&$(e.catch),Js=Object.prototype.toString,nn=e=>Js.call(e),To=e=>nn(e).slice(8,-1),Ys=e=>nn(e)==="[object Object]",Su=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ut=On(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),In=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Po=/-(\w)/g,Be=In(e=>e.replace(Po,(t,n)=>n?n.toUpperCase():"")),Oo=/\B([A-Z])/g,Pe=In(e=>e.replace(Oo,"-$1").toLowerCase()),Rn=In(e=>e.charAt(0).toUpperCase()+e.slice(1)),yn=In(e=>e?`on${Rn(e)}`:""),xt=(e,t)=>!Object.is(e,t),At=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Qe=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let us;const ko=()=>us||(us=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Fe;class Gs{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Fe&&(this.parent=Fe,this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Fe;try{return Fe=this,t()}finally{Fe=n}}}on(){Fe=this}off(){Fe=this.parent}stop(t){if(this.active){let n,u;for(n=0,u=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},zs=e=>(e.w&Ze)>0,Qs=e=>(e.n&Ze)>0,Mo=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let u=0;u{(a==="length"||a>=u)&&i.push(l)});else switch(n!==void 0&&i.push(o.get(n)),t){case"add":M(e)?Su(n)&&i.push(o.get("length")):(i.push(o.get(it)),_t(e)&&i.push(o.get(cu)));break;case"delete":M(e)||(i.push(o.get(it)),_t(e)&&i.push(o.get(cu)));break;case"set":_t(e)&&i.push(o.get(it));break}if(i.length===1)i[0]&&au(i[0]);else{const l=[];for(const a of i)a&&l.push(...a);au(Tu(l))}}function au(e,t){const n=M(e)?e:[...e];for(const u of n)u.computed&&rs(u);for(const u of n)u.computed||rs(u)}function rs(e,t){(e!==xe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ro=On("__proto__,__v_isRef,__isVue"),tr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vt)),No=Ln(),Lo=Ln(!1,!0),Uo=Ln(!0),qo=Ln(!0,!0),os=Ho();function Ho(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const u=Y(this);for(let r=0,o=this.length;r{e[t]=function(...n){dt();const u=Y(this)[t].apply(this,n);return pt(),u}}),e}function Ln(e=!1,t=!1){return function(u,s,r){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&r===(e?t?lr:ir:t?or:rr).get(u))return u;const o=M(u);if(!e&&o&&J(os,s))return Reflect.get(os,s,r);const i=Reflect.get(u,s,r);return(Vt(s)?tr.has(s):Ro(s))||(e||_e(u,"get",s),t)?i:ie(i)?o&&Su(s)?i:i.value:oe(i)?e?cr(i):Ou(i):i}}const jo=nr(),Wo=nr(!0);function nr(e=!1){return function(n,u,s,r){let o=n[u];if(Jt(o)&&ie(o)&&!ie(s))return!1;if(!e&&!Jt(s)&&(fu(s)||(s=Y(s),o=Y(o)),!M(n)&&ie(o)&&!ie(s)))return o.value=s,!0;const i=M(n)&&Su(u)?Number(u)e,Un=e=>Reflect.getPrototypeOf(e);function on(e,t,n=!1,u=!1){e=e.__v_raw;const s=Y(e),r=Y(t);n||(t!==r&&_e(s,"get",t),_e(s,"get",r));const{has:o}=Un(s),i=u?Pu:n?ku:Yt;if(o.call(s,t))return i(e.get(t));if(o.call(s,r))return i(e.get(r));e!==s&&e.get(t)}function ln(e,t=!1){const n=this.__v_raw,u=Y(n),s=Y(e);return t||(e!==s&&_e(u,"has",e),_e(u,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function cn(e,t=!1){return e=e.__v_raw,!t&&_e(Y(e),"iterate",it),Reflect.get(e,"size",e)}function is(e){e=Y(e);const t=Y(this);return Un(t).has.call(t,e)||(t.add(e),Le(t,"add",e,e)),this}function ls(e,t){t=Y(t);const n=Y(this),{has:u,get:s}=Un(n);let r=u.call(n,e);r||(e=Y(e),r=u.call(n,e));const o=s.call(n,e);return n.set(e,t),r?xt(t,o)&&Le(n,"set",e,t):Le(n,"add",e,t),this}function cs(e){const t=Y(this),{has:n,get:u}=Un(t);let s=n.call(t,e);s||(e=Y(e),s=n.call(t,e)),u&&u.call(t,e);const r=t.delete(e);return s&&Le(t,"delete",e,void 0),r}function as(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&Le(e,"clear",void 0,void 0),n}function an(e,t){return function(u,s){const r=this,o=r.__v_raw,i=Y(o),l=t?Pu:e?ku:Yt;return!e&&_e(i,"iterate",it),o.forEach((a,h)=>u.call(s,l(a),l(h),r))}}function fn(e,t,n){return function(...u){const s=this.__v_raw,r=Y(s),o=_t(r),i=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,a=s[e](...u),h=n?Pu:t?ku:Yt;return!t&&_e(r,"iterate",l?cu:it),{next(){const{value:p,done:g}=a.next();return g?{value:p,done:g}:{value:i?[h(p[0]),h(p[1])]:h(p),done:g}},[Symbol.iterator](){return this}}}}function je(e){return function(...t){return e==="delete"?!1:this}}function Go(){const e={get(r){return on(this,r)},get size(){return cn(this)},has:ln,add:is,set:ls,delete:cs,clear:as,forEach:an(!1,!1)},t={get(r){return on(this,r,!1,!0)},get size(){return cn(this)},has:ln,add:is,set:ls,delete:cs,clear:as,forEach:an(!1,!0)},n={get(r){return on(this,r,!0)},get size(){return cn(this,!0)},has(r){return ln.call(this,r,!0)},add:je("add"),set:je("set"),delete:je("delete"),clear:je("clear"),forEach:an(!0,!1)},u={get(r){return on(this,r,!0,!0)},get size(){return cn(this,!0)},has(r){return ln.call(this,r,!0)},add:je("add"),set:je("set"),delete:je("delete"),clear:je("clear"),forEach:an(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=fn(r,!1,!1),n[r]=fn(r,!0,!1),t[r]=fn(r,!1,!0),u[r]=fn(r,!0,!0)}),[e,n,t,u]}const[Xo,zo,Qo,Zo]=Go();function qn(e,t){const n=t?e?Zo:Qo:e?zo:Xo;return(u,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?u:Reflect.get(J(n,s)&&s in u?n:u,s,r)}const ei={get:qn(!1,!1)},ti={get:qn(!1,!0)},ni={get:qn(!0,!1)},ui={get:qn(!0,!0)},rr=new WeakMap,or=new WeakMap,ir=new WeakMap,lr=new WeakMap;function si(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ri(e){return e.__v_skip||!Object.isExtensible(e)?0:si(To(e))}function Ou(e){return Jt(e)?e:Hn(e,!1,ur,ei,rr)}function oi(e){return Hn(e,!1,Jo,ti,or)}function cr(e){return Hn(e,!0,sr,ni,ir)}function Sc(e){return Hn(e,!0,Yo,ui,lr)}function Hn(e,t,n,u,s){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const o=ri(e);if(o===0)return e;const i=new Proxy(e,o===2?u:n);return s.set(e,i),i}function bt(e){return Jt(e)?bt(e.__v_raw):!!(e&&e.__v_isReactive)}function Jt(e){return!!(e&&e.__v_isReadonly)}function fu(e){return!!(e&&e.__v_isShallow)}function ar(e){return bt(e)||Jt(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function fr(e){return bn(e,"__v_skip",!0),e}const Yt=e=>oe(e)?Ou(e):e,ku=e=>oe(e)?cr(e):e;function Mu(e){Ge&&xe&&(e=Y(e),er(e.dep||(e.dep=Tu())))}function jn(e,t){e=Y(e),e.dep&&au(e.dep)}function ie(e){return!!(e&&e.__v_isRef===!0)}function eu(e){return dr(e,!1)}function Tc(e){return dr(e,!0)}function dr(e,t){return ie(e)?e:new ii(e,t)}class ii{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:Yt(t)}get value(){return Mu(this),this._value}set value(t){t=this.__v_isShallow?t:Y(t),xt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Yt(t),jn(this))}}function Pc(e){jn(e)}function Fn(e){return ie(e)?e.value:e}const li={get:(e,t,n)=>Fn(Reflect.get(e,t,n)),set:(e,t,n,u)=>{const s=e[t];return ie(s)&&!ie(n)?(s.value=n,!0):Reflect.set(e,t,n,u)}};function pr(e){return bt(e)?e:new Proxy(e,li)}class ci{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:u}=t(()=>Mu(this),()=>jn(this));this._get=n,this._set=u}get value(){return this._get()}set value(t){this._set(t)}}function Oc(e){return new ci(e)}function kc(e){const t=M(e)?new Array(e.length):{};for(const n in e)t[n]=fi(e,n);return t}class ai{constructor(t,n,u){this._object=t,this._key=n,this._defaultValue=u,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function fi(e,t,n){const u=e[t];return ie(u)?u:new ai(e,t,n)}class di{constructor(t,n,u,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Nn(t,()=>{this._dirty||(this._dirty=!0,jn(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=u}get value(){const t=Y(this);return Mu(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function pi(e,t,n=!1){let u,s;const r=$(e);return r?(u=e,s=we):(u=e.get,s=e.set),new di(u,s,r||!s,n)}const qt=[];function hi(e,...t){dt();const n=qt.length?qt[qt.length-1].component:null,u=n&&n.appContext.config.warnHandler,s=gi();if(u)Ne(u,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:r})=>`at <${zr(n,r.type)}>`).join(` +`),s]);else{const r=[`[Vue warn]: ${e}`,...t];s.length&&r.push(` +`,...mi(s)),console.warn(...r)}pt()}function gi(){let e=qt[qt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const u=e.component&&e.component.parent;e=u&&u.vnode}return t}function mi(e){const t=[];return e.forEach((n,u)=>{t.push(...u===0?[]:[` +`],...yi(n))}),t}function yi({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",u=e.component?e.component.parent==null:!1,s=` at <${zr(e.component,e.type,u)}`,r=">"+n;return e.props?[s,...Fi(e.props),r]:[s+r]}function Fi(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(u=>{t.push(...hr(u,e[u]))}),n.length>3&&t.push(" ..."),t}function hr(e,t,n){return ue(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ie(t)?(t=hr(e,Y(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):$(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Y(t),n?t:[`${e}=`,t])}function Ne(e,t,n,u){let s;try{s=u?e(...u):e()}catch(r){Tt(r,t,n)}return s}function be(e,t,n,u){if($(e)){const r=Ne(e,t,n,u);return r&&vu(r)&&r.catch(o=>{Tt(o,t,n)}),r}const s=[];for(let r=0;r>>1;Gt(Ee[u])Ie&&Ee.splice(t,1)}function Fr(e,t,n,u){M(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?u+1:u))&&n.push(e),yr()}function Ai(e){Fr(e,Nt,Ht,Ft)}function Cr(e){Fr(e,Ke,jt,Ct)}function Wn(e,t=null){if(Ht.length){for(pu=t,Nt=[...new Set(Ht)],Ht.length=0,Ft=0;FtGt(n)-Gt(u)),Ct=0;Cte.id==null?1/0:e.id;function Er(e){du=!1,Bn=!0,Wn(e),Ee.sort((n,u)=>Gt(n)-Gt(u));const t=we;try{for(Ie=0;Iekt.emit(s,...r)),dn=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((u=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||u===void 0)&&u.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{bi(r,t)}),setTimeout(()=>{kt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,dn=[])},3e3)):dn=[]}function Bi(e,t,...n){if(e.isUnmounted)return;const u=e.vnode.props||X;let s=n;const r=t.startsWith("update:"),o=r&&t.slice(7);if(o&&o in u){const h=`${o==="modelValue"?"model":o}Modifiers`,{number:p,trim:g}=u[h]||X;g&&(s=n.map(A=>A.trim())),p&&(s=n.map(Qe))}let i,l=u[i=yn(t)]||u[i=yn(Be(t))];!l&&r&&(l=u[i=yn(Pe(t))]),l&&be(l,e,6,s);const a=u[i+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,be(a,e,6,s)}}function _r(e,t,n=!1){const u=t.emitsCache,s=u.get(e);if(s!==void 0)return s;const r=e.emits;let o={},i=!1;if(!$(e)){const l=a=>{const h=_r(a,t,!0);h&&(i=!0,re(o,h))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!i?(u.set(e,null),null):(M(r)?r.forEach(l=>o[l]=null):re(o,r),u.set(e,o),o)}function $n(e,t){return!e||!tn(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,Pe(t))||J(e,t))}let fe=null,Kn=null;function Xt(e){const t=fe;return fe=e,Kn=e&&e.type.__scopeId||null,t}function Mc(e){Kn=e}function Ic(){Kn=null}const Rc=e=>Ar;function Ar(e,t=fe,n){if(!t||e._n)return e;const u=(...s)=>{u._d&&Bs(-1);const r=Xt(t),o=e(...s);return Xt(r),u._d&&Bs(1),o};return u._n=!0,u._c=!0,u._d=!0,u}function Cn(e){const{type:t,vnode:n,proxy:u,withProxy:s,props:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:h,renderCache:p,data:g,setupState:A,ctx:w,inheritAttrs:L}=e;let O,y;const d=Xt(e);try{if(n.shapeFlag&4){const b=s||u;O=Ce(h.call(b,b,p,r,A,g,w)),y=l}else{const b=t;O=Ce(b.length>1?b(r,{attrs:l,slots:i,emit:a}):b(r,null)),y=t.props?l:xi(l)}}catch(b){$t.length=0,Tt(b,e,1),O=ne(pe)}let F=O;if(y&&L!==!1){const b=Object.keys(y),{shapeFlag:T}=F;b.length&&T&7&&(o&&b.some(xu)&&(y=wi(y,o)),F=Ue(F,y))}return n.dirs&&(F=Ue(F),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&(F.transition=n.transition),O=F,Xt(d),O}function Di(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||tn(n))&&((t||(t={}))[n]=e[n]);return t},wi=(e,t)=>{const n={};for(const u in e)(!xu(u)||!(u.slice(9)in t))&&(n[u]=e[u]);return n};function vi(e,t,n){const{props:u,children:s,component:r}=e,{props:o,children:i,patchFlag:l}=t,a=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return u?fs(u,o,a):!!o;if(l&8){const h=t.dynamicProps;for(let p=0;pe.__isSuspense,Si={name:"Suspense",__isSuspense:!0,process(e,t,n,u,s,r,o,i,l,a){e==null?Ti(t,n,u,s,r,o,i,l,a):Pi(e,t,n,u,s,o,i,l,a)},hydrate:Oi,create:Lu,normalize:ki},Nc=Si;function zt(e,t){const n=e.props&&e.props[t];$(n)&&n()}function Ti(e,t,n,u,s,r,o,i,l){const{p:a,o:{createElement:h}}=l,p=h("div"),g=e.suspense=Lu(e,s,u,t,p,n,r,o,i,l);a(null,g.pendingBranch=e.ssContent,p,null,u,g,r,o),g.deps>0?(zt(e,"onPending"),zt(e,"onFallback"),a(null,e.ssFallback,t,n,u,null,r,o),Bt(g,e.ssFallback)):g.resolve()}function Pi(e,t,n,u,s,r,o,i,{p:l,um:a,o:{createElement:h}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const g=t.ssContent,A=t.ssFallback,{activeBranch:w,pendingBranch:L,isInFallback:O,isHydrating:y}=p;if(L)p.pendingBranch=g,Te(g,L)?(l(L,g,p.hiddenContainer,null,s,p,r,o,i),p.deps<=0?p.resolve():O&&(l(w,A,n,u,s,null,r,o,i),Bt(p,A))):(p.pendingId++,y?(p.isHydrating=!1,p.activeBranch=L):a(L,s,p),p.deps=0,p.effects.length=0,p.hiddenContainer=h("div"),O?(l(null,g,p.hiddenContainer,null,s,p,r,o,i),p.deps<=0?p.resolve():(l(w,A,n,u,s,null,r,o,i),Bt(p,A))):w&&Te(g,w)?(l(w,g,n,u,s,p,r,o,i),p.resolve(!0)):(l(null,g,p.hiddenContainer,null,s,p,r,o,i),p.deps<=0&&p.resolve()));else if(w&&Te(g,w))l(w,g,n,u,s,p,r,o,i),Bt(p,g);else if(zt(t,"onPending"),p.pendingBranch=g,p.pendingId++,l(null,g,p.hiddenContainer,null,s,p,r,o,i),p.deps<=0)p.resolve();else{const{timeout:d,pendingId:F}=p;d>0?setTimeout(()=>{p.pendingId===F&&p.fallback(A)},d):d===0&&p.fallback(A)}}function Lu(e,t,n,u,s,r,o,i,l,a,h=!1){const{p,m:g,um:A,n:w,o:{parentNode:L,remove:O}}=a,y=Qe(e.props&&e.props.timeout),d={vnode:e,parent:t,parentComponent:n,isSVG:o,container:u,hiddenContainer:s,anchor:r,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:h,isUnmounted:!1,effects:[],resolve(F=!1){const{vnode:b,activeBranch:T,pendingBranch:I,pendingId:U,effects:B,parentComponent:R,container:q}=d;if(d.isHydrating)d.isHydrating=!1;else if(!F){const V=T&&I.transition&&I.transition.mode==="out-in";V&&(T.transition.afterLeave=()=>{U===d.pendingId&&g(I,q,N,0)});let{anchor:N}=d;T&&(N=w(T),A(T,R,d,!0)),V||g(I,q,N,0)}Bt(d,I),d.pendingBranch=null,d.isInFallback=!1;let W=d.parent,P=!1;for(;W;){if(W.pendingBranch){W.effects.push(...B),P=!0;break}W=W.parent}P||Cr(B),d.effects=[],zt(b,"onResolve")},fallback(F){if(!d.pendingBranch)return;const{vnode:b,activeBranch:T,parentComponent:I,container:U,isSVG:B}=d;zt(b,"onFallback");const R=w(T),q=()=>{!d.isInFallback||(p(null,F,U,R,I,null,B,i,l),Bt(d,F))},W=F.transition&&F.transition.mode==="out-in";W&&(T.transition.afterLeave=q),d.isInFallback=!0,A(T,I,null,!0),W||q()},move(F,b,T){d.activeBranch&&g(d.activeBranch,F,b,T),d.container=F},next(){return d.activeBranch&&w(d.activeBranch)},registerDep(F,b){const T=!!d.pendingBranch;T&&d.deps++;const I=F.vnode.el;F.asyncDep.catch(U=>{Tt(U,F,0)}).then(U=>{if(F.isUnmounted||d.isUnmounted||d.pendingId!==F.suspenseId)return;F.asyncResolved=!0;const{vnode:B}=F;Eu(F,U,!1),I&&(B.el=I);const R=!I&&F.subTree.el;b(F,B,L(I||F.subTree.el),I?null:w(F.subTree),d,o,l),R&&O(R),Nu(F,B.el),T&&--d.deps===0&&d.resolve()})},unmount(F,b){d.isUnmounted=!0,d.activeBranch&&A(d.activeBranch,n,F,b),d.pendingBranch&&A(d.pendingBranch,n,F,b)}};return d}function Oi(e,t,n,u,s,r,o,i,l){const a=t.suspense=Lu(t,u,n,e.parentNode,document.createElement("div"),null,s,r,o,i,!0),h=l(e,a.pendingBranch=t.ssContent,n,a,r,o);return a.deps===0&&a.resolve(),h}function ki(e){const{shapeFlag:t,children:n}=e,u=t&32;e.ssContent=ds(u?n.default:n),e.ssFallback=u?ds(n.fallback):ne(pe)}function ds(e){let t;if($(e)){const n=ct&&e._c;n&&(e._d=!1,Yn()),e=e(),n&&(e._d=!0,t=me,Hr())}return M(e)&&(e=Di(e)),e=Ce(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Br(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Cr(e)}function Bt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:u}=e,s=n.el=t.el;u&&u.subTree===n&&(u.vnode.el=s,Nu(u,s))}function Mi(e,t){if(le){let n=le.provides;const u=le.parent&&le.parent.provides;u===n&&(n=le.provides=Object.create(u)),n[e]=t}}function En(e,t,n=!1){const u=le||fe;if(u){const s=u.parent==null?u.vnode.appContext&&u.vnode.appContext.provides:u.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&$(t)?t.call(u.proxy):t}}function Lc(e,t){return un(e,null,t)}function Ii(e,t){return un(e,null,{flush:"post"})}function Uc(e,t){return un(e,null,{flush:"sync"})}const ps={};function _n(e,t,n){return un(e,t,n)}function un(e,t,{immediate:n,deep:u,flush:s,onTrack:r,onTrigger:o}=X){const i=le;let l,a=!1,h=!1;if(ie(e)?(l=()=>e.value,a=fu(e)):bt(e)?(l=()=>e,u=!0):M(e)?(h=!0,a=e.some(y=>bt(y)||fu(y)),l=()=>e.map(y=>{if(ie(y))return y.value;if(bt(y))return ot(y);if($(y))return Ne(y,i,2)})):$(e)?t?l=()=>Ne(e,i,2):l=()=>{if(!(i&&i.isUnmounted))return p&&p(),be(e,i,3,[g])}:l=we,t&&u){const y=l;l=()=>ot(y())}let p,g=y=>{p=O.onStop=()=>{Ne(y,i,4)}};if(vt)return g=we,t?n&&be(t,i,3,[l(),h?[]:void 0,g]):l(),we;let A=h?[]:ps;const w=()=>{if(!!O.active)if(t){const y=O.run();(u||a||(h?y.some((d,F)=>xt(d,A[F])):xt(y,A)))&&(p&&p(),be(t,i,3,[y,A===ps?void 0:A,g]),A=y)}else O.run()};w.allowRecurse=!!t;let L;s==="sync"?L=w:s==="post"?L=()=>ce(w,i&&i.suspense):L=()=>Ai(w);const O=new Nn(l,L);return t?n?w():A=O.run():s==="post"?ce(O.run.bind(O),i&&i.suspense):O.run(),()=>{O.stop(),i&&i.scope&&wu(i.scope.effects,O)}}function Ri(e,t,n){const u=this.proxy,s=ue(e)?e.includes(".")?Dr(u,e):()=>u[e]:e.bind(u,u);let r;$(t)?r=t:(r=t.handler,n=t);const o=le;et(this);const i=un(s,r.bind(u),n);return o?et(o):Xe(),i}function Dr(e,t){const n=t.split(".");return()=>{let u=e;for(let s=0;s{ot(n,t)});else if(Ys(e))for(const n in e)ot(e[n],t);return e}function xr(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jn(()=>{e.isMounted=!0}),ju(()=>{e.isUnmounting=!0}),e}const Ae=[Function,Array],Ni={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ae,onEnter:Ae,onAfterEnter:Ae,onEnterCancelled:Ae,onBeforeLeave:Ae,onLeave:Ae,onAfterLeave:Ae,onLeaveCancelled:Ae,onBeforeAppear:Ae,onAppear:Ae,onAfterAppear:Ae,onAppearCancelled:Ae},setup(e,{slots:t}){const n=ht(),u=xr();let s;return()=>{const r=t.default&&Uu(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const L of r)if(L.type!==pe){o=L;break}}const i=Y(e),{mode:l}=i;if(u.isLeaving)return tu(o);const a=hs(o);if(!a)return tu(o);const h=Qt(a,i,u,n);wt(a,h);const p=n.subTree,g=p&&hs(p);let A=!1;const{getTransitionKey:w}=a.type;if(w){const L=w();s===void 0?s=L:L!==s&&(s=L,A=!0)}if(g&&g.type!==pe&&(!Te(a,g)||A)){const L=Qt(g,i,u,n);if(wt(g,L),l==="out-in")return u.isLeaving=!0,L.afterLeave=()=>{u.isLeaving=!1,n.update()},tu(o);l==="in-out"&&a.type!==pe&&(L.delayLeave=(O,y,d)=>{const F=vr(u,g);F[String(g.key)]=g,O._leaveCb=()=>{y(),O._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=d})}return o}}},wr=Ni;function vr(e,t){const{leavingVNodes:n}=e;let u=n.get(t.type);return u||(u=Object.create(null),n.set(t.type,u)),u}function Qt(e,t,n,u){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:p,onLeave:g,onAfterLeave:A,onLeaveCancelled:w,onBeforeAppear:L,onAppear:O,onAfterAppear:y,onAppearCancelled:d}=t,F=String(e.key),b=vr(n,e),T=(B,R)=>{B&&be(B,u,9,R)},I=(B,R)=>{const q=R[1];T(B,R),M(B)?B.every(W=>W.length<=1)&&q():B.length<=1&&q()},U={mode:r,persisted:o,beforeEnter(B){let R=i;if(!n.isMounted)if(s)R=L||i;else return;B._leaveCb&&B._leaveCb(!0);const q=b[F];q&&Te(e,q)&&q.el._leaveCb&&q.el._leaveCb(),T(R,[B])},enter(B){let R=l,q=a,W=h;if(!n.isMounted)if(s)R=O||l,q=y||a,W=d||h;else return;let P=!1;const V=B._enterCb=N=>{P||(P=!0,N?T(W,[B]):T(q,[B]),U.delayedLeave&&U.delayedLeave(),B._enterCb=void 0)};R?I(R,[B,V]):V()},leave(B,R){const q=String(e.key);if(B._enterCb&&B._enterCb(!0),n.isUnmounting)return R();T(p,[B]);let W=!1;const P=B._leaveCb=V=>{W||(W=!0,R(),V?T(w,[B]):T(A,[B]),B._leaveCb=void 0,b[q]===e&&delete b[q])};b[q]=e,g?I(g,[B,P]):P()},clone(B){return Qt(B,t,n,u)}};return U}function tu(e){if(sn(e))return e=Ue(e),e.children=null,e}function hs(e){return sn(e)?e.children?e.children[0]:void 0:e}function wt(e,t){e.shapeFlag&6&&e.component?wt(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Uu(e,t=!1,n){let u=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;function qc(e){$(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:u,delay:s=200,timeout:r,suspensible:o=!0,onError:i}=e;let l=null,a,h=0;const p=()=>(h++,l=null,g()),g=()=>{let A;return l||(A=l=t().catch(w=>{if(w=w instanceof Error?w:new Error(String(w)),i)return new Promise((L,O)=>{i(w,()=>L(p()),()=>O(w),h+1)});throw w}).then(w=>A!==l&&l?l:(w&&(w.__esModule||w[Symbol.toStringTag]==="Module")&&(w=w.default),a=w,w)))};return qu({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return a},setup(){const A=le;if(a)return()=>nu(a,A);const w=d=>{l=null,Tt(d,A,13,!u)};if(o&&A.suspense||vt)return g().then(d=>()=>nu(d,A)).catch(d=>(w(d),()=>u?ne(u,{error:d}):null));const L=eu(!1),O=eu(),y=eu(!!s);return s&&setTimeout(()=>{y.value=!1},s),r!=null&&setTimeout(()=>{if(!L.value&&!O.value){const d=new Error(`Async component timed out after ${r}ms.`);w(d),O.value=d}},r),g().then(()=>{L.value=!0,A.parent&&sn(A.parent.vnode)&&Ru(A.parent.update)}).catch(d=>{w(d),O.value=d}),()=>{if(L.value&&a)return nu(a,A);if(O.value&&u)return ne(u,{error:O.value});if(n&&!y.value)return ne(n)}}})}function nu(e,{vnode:{ref:t,props:n,children:u,shapeFlag:s},parent:r}){const o=ne(e,n,u);return o.ref=t,o}const sn=e=>e.type.__isKeepAlive,Li={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ht(),u=n.ctx;if(!u.renderer)return()=>{const d=t.default&&t.default();return d&&d.length===1?d[0]:d};const s=new Map,r=new Set;let o=null;const i=n.suspense,{renderer:{p:l,m:a,um:h,o:{createElement:p}}}=u,g=p("div");u.activate=(d,F,b,T,I)=>{const U=d.component;a(d,F,b,0,i),l(U.vnode,d,F,b,U,i,T,d.slotScopeIds,I),ce(()=>{U.isDeactivated=!1,U.a&&At(U.a);const B=d.props&&d.props.onVnodeMounted;B&&ge(B,U.parent,d)},i)},u.deactivate=d=>{const F=d.component;a(d,g,null,1,i),ce(()=>{F.da&&At(F.da);const b=d.props&&d.props.onVnodeUnmounted;b&&ge(b,F.parent,d),F.isDeactivated=!0},i)};function A(d){uu(d),h(d,n,i,!0)}function w(d){s.forEach((F,b)=>{const T=Tn(F.type);T&&(!d||!d(T))&&L(b)})}function L(d){const F=s.get(d);!o||F.type!==o.type?A(F):o&&uu(o),s.delete(d),r.delete(d)}_n(()=>[e.include,e.exclude],([d,F])=>{d&&w(b=>Lt(d,b)),F&&w(b=>!Lt(F,b))},{flush:"post",deep:!0});let O=null;const y=()=>{O!=null&&s.set(O,su(n.subTree))};return Jn(y),Hu(y),ju(()=>{s.forEach(d=>{const{subTree:F,suspense:b}=n,T=su(F);if(d.type===T.type){uu(T);const I=T.component.da;I&&ce(I,b);return}A(d)})}),()=>{if(O=null,!t.default)return null;const d=t.default(),F=d[0];if(d.length>1)return o=null,d;if(!at(F)||!(F.shapeFlag&4)&&!(F.shapeFlag&128))return o=null,F;let b=su(F);const T=b.type,I=Tn(lt(b)?b.type.__asyncResolved||{}:T),{include:U,exclude:B,max:R}=e;if(U&&(!I||!Lt(U,I))||B&&I&&Lt(B,I))return o=b,F;const q=b.key==null?T:b.key,W=s.get(q);return b.el&&(b=Ue(b),F.shapeFlag&128&&(F.ssContent=b)),O=q,W?(b.el=W.el,b.component=W.component,b.transition&&wt(b,b.transition),b.shapeFlag|=512,r.delete(q),r.add(q)):(r.add(q),R&&r.size>parseInt(R,10)&&L(r.values().next().value)),b.shapeFlag|=256,o=b,br(F.type)?F:b}}},Hc=Li;function Lt(e,t){return M(e)?e.some(n=>Lt(n,t)):ue(e)?e.split(",").includes(t):e.test?e.test(t):!1}function Ui(e,t){Sr(e,"a",t)}function qi(e,t){Sr(e,"da",t)}function Sr(e,t,n=le){const u=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Vn(t,u,n),n){let s=n.parent;for(;s&&s.parent;)sn(s.parent.vnode)&&Hi(u,t,n,s),s=s.parent}}function Hi(e,t,n,u){const s=Vn(t,e,u,!0);Wu(()=>{wu(u[t],s)},n)}function uu(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function su(e){return e.shapeFlag&128?e.ssContent:e}function Vn(e,t,n=le,u=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;dt(),et(n);const i=be(t,n,e,o);return Xe(),pt(),i});return u?s.unshift(r):s.push(r),r}}const qe=e=>(t,n=le)=>(!vt||e==="sp")&&Vn(e,t,n),ji=qe("bm"),Jn=qe("m"),Wi=qe("bu"),Hu=qe("u"),ju=qe("bum"),Wu=qe("um"),$i=qe("sp"),Ki=qe("rtg"),Vi=qe("rtc");function Ji(e,t=le){Vn("ec",e,t)}function gs(e,t){const n=fe;if(n===null)return e;const u=Xn(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;rt(o,i,void 0,r&&r[i]));else{const o=Object.keys(e);s=new Array(o.length);for(let i=0,l=o.length;iat(t)?!(t.type===pe||t.type===ae&&!Pr(t.children)):!0)?e:null}function Yc(e){const t={};for(const n in e)t[yn(n)]=e[n];return t}const hu=e=>e?Jr(e)?Xn(e)||e.proxy:hu(e.parent):null,xn=re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>hu(e.parent),$root:e=>hu(e.root),$emit:e=>e.emit,$options:e=>kr(e),$forceUpdate:e=>e.f||(e.f=()=>Ru(e.update)),$nextTick:e=>e.n||(e.n=mr.bind(e.proxy)),$watch:e=>Ri.bind(e)}),gu={get({_:e},t){const{ctx:n,setupState:u,data:s,props:r,accessCache:o,type:i,appContext:l}=e;let a;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return u[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(u!==X&&J(u,t))return o[t]=1,u[t];if(s!==X&&J(s,t))return o[t]=2,s[t];if((a=e.propsOptions[0])&&J(a,t))return o[t]=3,r[t];if(n!==X&&J(n,t))return o[t]=4,n[t];mu&&(o[t]=0)}}const h=xn[t];let p,g;if(h)return t==="$attrs"&&_e(e,"get",t),h(e);if((p=i.__cssModules)&&(p=p[t]))return p;if(n!==X&&J(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,J(g,t))return g[t]},set({_:e},t,n){const{data:u,setupState:s,ctx:r}=e;return s!==X&&J(s,t)?(s[t]=n,!0):u!==X&&J(u,t)?(u[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:u,appContext:s,propsOptions:r}},o){let i;return!!n[o]||e!==X&&J(e,o)||t!==X&&J(t,o)||(i=r[0])&&J(i,o)||J(u,o)||J(xn,o)||J(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Gi=re({},gu,{get(e,t){if(t!==Symbol.unscopables)return gu.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Eo(t)}});let mu=!0;function Xi(e){const t=kr(e),n=e.proxy,u=e.ctx;mu=!1,t.beforeCreate&&ys(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:o,watch:i,provide:l,inject:a,created:h,beforeMount:p,mounted:g,beforeUpdate:A,updated:w,activated:L,deactivated:O,beforeDestroy:y,beforeUnmount:d,destroyed:F,unmounted:b,render:T,renderTracked:I,renderTriggered:U,errorCaptured:B,serverPrefetch:R,expose:q,inheritAttrs:W,components:P,directives:V,filters:N}=t;if(a&&zi(a,u,null,e.appContext.config.unwrapInjectedRef),o)for(const se in o){const ee=o[se];$(ee)&&(u[se]=ee.bind(n))}if(s){const se=s.call(n,n);oe(se)&&(e.data=Ou(se))}if(mu=!0,r)for(const se in r){const ee=r[se],Oe=$(ee)?ee.bind(n,n):$(ee.get)?ee.get.bind(n,n):we,zn=!$(ee)&&$(ee.set)?ee.set.bind(n):we,Pt=Qr({get:Oe,set:zn});Object.defineProperty(u,se,{enumerable:!0,configurable:!0,get:()=>Pt.value,set:gt=>Pt.value=gt})}if(i)for(const se in i)Or(i[se],u,n,se);if(l){const se=$(l)?l.call(n):l;Reflect.ownKeys(se).forEach(ee=>{Mi(ee,se[ee])})}h&&ys(h,e,"c");function z(se,ee){M(ee)?ee.forEach(Oe=>se(Oe.bind(n))):ee&&se(ee.bind(n))}if(z(ji,p),z(Jn,g),z(Wi,A),z(Hu,w),z(Ui,L),z(qi,O),z(Ji,B),z(Vi,I),z(Ki,U),z(ju,d),z(Wu,b),z($i,R),M(q))if(q.length){const se=e.exposed||(e.exposed={});q.forEach(ee=>{Object.defineProperty(se,ee,{get:()=>n[ee],set:Oe=>n[ee]=Oe})})}else e.exposed||(e.exposed={});T&&e.render===we&&(e.render=T),W!=null&&(e.inheritAttrs=W),P&&(e.components=P),V&&(e.directives=V)}function zi(e,t,n=we,u=!1){M(e)&&(e=yu(e));for(const s in e){const r=e[s];let o;oe(r)?"default"in r?o=En(r.from||s,r.default,!0):o=En(r.from||s):o=En(r),ie(o)&&u?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function ys(e,t,n){be(M(e)?e.map(u=>u.bind(t.proxy)):e.bind(t.proxy),t,n)}function Or(e,t,n,u){const s=u.includes(".")?Dr(n,u):()=>n[u];if(ue(e)){const r=t[e];$(r)&&_n(s,r)}else if($(e))_n(s,e.bind(n));else if(oe(e))if(M(e))e.forEach(r=>Or(r,t,n,u));else{const r=$(e.handler)?e.handler.bind(n):t[e.handler];$(r)&&_n(s,r,e)}}function kr(e){const t=e.type,{mixins:n,extends:u}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,i=r.get(t);let l;return i?l=i:!s.length&&!n&&!u?l=t:(l={},s.length&&s.forEach(a=>wn(l,a,o,!0)),wn(l,t,o)),r.set(t,l),l}function wn(e,t,n,u=!1){const{mixins:s,extends:r}=t;r&&wn(e,r,n,!0),s&&s.forEach(o=>wn(e,o,n,!0));for(const o in t)if(!(u&&o==="expose")){const i=Qi[o]||n&&n[o];e[o]=i?i(e[o],t[o]):t[o]}return e}const Qi={data:Fs,props:st,emits:st,methods:st,computed:st,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:st,directives:st,watch:el,provide:Fs,inject:Zi};function Fs(e,t){return t?e?function(){return re($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Zi(e,t){return st(yu(e),yu(t))}function yu(e){if(M(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const h=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[g,A]=Ir(p,t,!0);re(o,g),A&&i.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!r&&!l)return u.set(e,Et),Et;if(M(r))for(let h=0;h-1,A[1]=L<0||w-1||J(A,"default"))&&i.push(p)}}}const a=[o,i];return u.set(e,a),a}function Cs(e){return e[0]!=="$"}function Es(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function _s(e,t){return Es(e)===Es(t)}function As(e,t){return M(t)?t.findIndex(n=>_s(n,e)):$(t)&&_s(t,e)?0:-1}const Rr=e=>e[0]==="_"||e==="$stable",Vu=e=>M(e)?e.map(Ce):[Ce(e)],ul=(e,t,n)=>{if(t._n)return t;const u=Ar((...s)=>Vu(t(...s)),n);return u._c=!1,u},Nr=(e,t,n)=>{const u=e._ctx;for(const s in e){if(Rr(s))continue;const r=e[s];if($(r))t[s]=ul(s,r,u);else if(r!=null){const o=Vu(r);t[s]=()=>o}}},Lr=(e,t)=>{const n=Vu(t);e.slots.default=()=>n},sl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),bn(t,"_",n)):Nr(t,e.slots={})}else e.slots={},t&&Lr(e,t);bn(e.slots,Gn,1)},rl=(e,t,n)=>{const{vnode:u,slots:s}=e;let r=!0,o=X;if(u.shapeFlag&32){const i=t._;i?n&&i===1?r=!1:(re(s,t),!n&&i===1&&delete s._):(r=!t.$stable,Nr(t,s)),o=t}else t&&(Lr(e,t),o={default:1});if(r)for(const i in s)!Rr(i)&&!(i in o)&&delete s[i]};function Ur(){return{app:null,config:{isNativeTag:wo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ol=0;function il(e,t){return function(u,s=null){$(u)||(u=Object.assign({},u)),s!=null&&!oe(s)&&(s=null);const r=Ur(),o=new Set;let i=!1;const l=r.app={_uid:ol++,_component:u,_props:s,_container:null,_context:r,_instance:null,version:Sl,get config(){return r.config},set config(a){},use(a,...h){return o.has(a)||(a&&$(a.install)?(o.add(a),a.install(l,...h)):$(a)&&(o.add(a),a(l,...h))),l},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),l},component(a,h){return h?(r.components[a]=h,l):r.components[a]},directive(a,h){return h?(r.directives[a]=h,l):r.directives[a]},mount(a,h,p){if(!i){const g=ne(u,s);return g.appContext=r,h&&t?t(g,a):e(g,a,p),i=!0,l._container=a,a.__vue_app__=l,Xn(g.component)||g.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide(a,h){return r.provides[a]=h,l}};return l}}function vn(e,t,n,u,s=!1){if(M(e)){e.forEach((g,A)=>vn(g,t&&(M(t)?t[A]:t),n,u,s));return}if(lt(u)&&!s)return;const r=u.shapeFlag&4?Xn(u.component)||u.component.proxy:u.el,o=s?null:r,{i,r:l}=e,a=t&&t.r,h=i.refs===X?i.refs={}:i.refs,p=i.setupState;if(a!=null&&a!==l&&(ue(a)?(h[a]=null,J(p,a)&&(p[a]=null)):ie(a)&&(a.value=null)),$(l))Ne(l,i,12,[o,h]);else{const g=ue(l),A=ie(l);if(g||A){const w=()=>{if(e.f){const L=g?h[l]:l.value;s?M(L)&&wu(L,r):M(L)?L.includes(r)||L.push(r):g?(h[l]=[r],J(p,l)&&(p[l]=h[l])):(l.value=[r],e.k&&(h[e.k]=l.value))}else g?(h[l]=o,J(p,l)&&(p[l]=o)):A&&(l.value=o,e.k&&(h[e.k]=o))};o?(w.id=-1,ce(w,n)):w()}}}let We=!1;const pn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",hn=e=>e.nodeType===8;function ll(e){const{mt:t,p:n,o:{patchProp:u,createText:s,nextSibling:r,parentNode:o,remove:i,insert:l,createComment:a}}=e,h=(y,d)=>{if(!d.hasChildNodes()){n(null,y,d),Dn(),d._vnode=y;return}We=!1,p(d.firstChild,y,null,null,null),Dn(),d._vnode=y,We&&console.error("Hydration completed but contains mismatches.")},p=(y,d,F,b,T,I=!1)=>{const U=hn(y)&&y.data==="[",B=()=>L(y,d,F,b,T,U),{type:R,ref:q,shapeFlag:W,patchFlag:P}=d,V=y.nodeType;d.el=y,P===-2&&(I=!1,d.dynamicChildren=null);let N=null;switch(R){case Zt:V!==3?d.children===""?(l(d.el=s(""),o(y),y),N=y):N=B():(y.data!==d.children&&(We=!0,y.data=d.children),N=r(y));break;case pe:V!==8||U?N=B():N=r(y);break;case Dt:if(V!==1&&V!==3)N=B();else{N=y;const he=!d.children.length;for(let z=0;z{I=I||!!d.dynamicChildren;const{type:U,props:B,patchFlag:R,shapeFlag:q,dirs:W}=d,P=U==="input"&&W||U==="option";if(P||R!==-1){if(W&&Se(d,null,F,"created"),B)if(P||!I||R&48)for(const N in B)(P&&N.endsWith("value")||tn(N)&&!Ut(N))&&u(y,N,null,B[N],!1,void 0,F);else B.onClick&&u(y,"onClick",null,B.onClick,!1,void 0,F);let V;if((V=B&&B.onVnodeBeforeMount)&&ge(V,F,d),W&&Se(d,null,F,"beforeMount"),((V=B&&B.onVnodeMounted)||W)&&Br(()=>{V&&ge(V,F,d),W&&Se(d,null,F,"mounted")},b),q&16&&!(B&&(B.innerHTML||B.textContent))){let N=A(y.firstChild,d,y,F,b,T,I);for(;N;){We=!0;const he=N;N=N.nextSibling,i(he)}}else q&8&&y.textContent!==d.children&&(We=!0,y.textContent=d.children)}return y.nextSibling},A=(y,d,F,b,T,I,U)=>{U=U||!!d.dynamicChildren;const B=d.children,R=B.length;for(let q=0;q{const{slotScopeIds:U}=d;U&&(T=T?T.concat(U):U);const B=o(y),R=A(r(y),d,B,F,b,T,I);return R&&hn(R)&&R.data==="]"?r(d.anchor=R):(We=!0,l(d.anchor=a("]"),B,R),R)},L=(y,d,F,b,T,I)=>{if(We=!0,d.el=null,I){const R=O(y);for(;;){const q=r(y);if(q&&q!==R)i(q);else break}}const U=r(y),B=o(y);return i(y),n(null,d,B,U,F,b,pn(B),T),U},O=y=>{let d=0;for(;y;)if(y=r(y),y&&hn(y)&&(y.data==="["&&d++,y.data==="]")){if(d===0)return r(y);d--}return y};return[h,p]}const ce=Br;function cl(e){return qr(e)}function al(e){return qr(e,ll)}function qr(e,t){const n=ko();n.__VUE__=!0;const{insert:u,remove:s,patchProp:r,createElement:o,createText:i,createComment:l,setText:a,setElementText:h,parentNode:p,nextSibling:g,setScopeId:A=we,cloneNode:w,insertStaticContent:L}=e,O=(c,f,m,E=null,C=null,x=null,S=!1,D=null,v=!!f.dynamicChildren)=>{if(c===f)return;c&&!Te(c,f)&&(E=rn(c),He(c,C,x,!0),c=null),f.patchFlag===-2&&(v=!1,f.dynamicChildren=null);const{type:_,ref:H,shapeFlag:k}=f;switch(_){case Zt:y(c,f,m,E);break;case pe:d(c,f,m,E);break;case Dt:c==null&&F(f,m,E,S);break;case ae:V(c,f,m,E,C,x,S,D,v);break;default:k&1?I(c,f,m,E,C,x,S,D,v):k&6?N(c,f,m,E,C,x,S,D,v):(k&64||k&128)&&_.process(c,f,m,E,C,x,S,D,v,mt)}H!=null&&C&&vn(H,c&&c.ref,x,f||c,!f)},y=(c,f,m,E)=>{if(c==null)u(f.el=i(f.children),m,E);else{const C=f.el=c.el;f.children!==c.children&&a(C,f.children)}},d=(c,f,m,E)=>{c==null?u(f.el=l(f.children||""),m,E):f.el=c.el},F=(c,f,m,E)=>{[c.el,c.anchor]=L(c.children,f,m,E,c.el,c.anchor)},b=({el:c,anchor:f},m,E)=>{let C;for(;c&&c!==f;)C=g(c),u(c,m,E),c=C;u(f,m,E)},T=({el:c,anchor:f})=>{let m;for(;c&&c!==f;)m=g(c),s(c),c=m;s(f)},I=(c,f,m,E,C,x,S,D,v)=>{S=S||f.type==="svg",c==null?U(f,m,E,C,x,S,D,v):q(c,f,C,x,S,D,v)},U=(c,f,m,E,C,x,S,D)=>{let v,_;const{type:H,props:k,shapeFlag:j,transition:K,patchFlag:G,dirs:Q}=c;if(c.el&&w!==void 0&&G===-1)v=c.el=w(c.el);else{if(v=c.el=o(c.type,x,k&&k.is,k),j&8?h(v,c.children):j&16&&R(c.children,v,null,E,C,x&&H!=="foreignObject",S,D),Q&&Se(c,null,E,"created"),k){for(const te in k)te!=="value"&&!Ut(te)&&r(v,te,null,k[te],x,c.children,E,C,ke);"value"in k&&r(v,"value",null,k.value),(_=k.onVnodeBeforeMount)&&ge(_,E,c)}B(v,c,c.scopeId,S,E)}Q&&Se(c,null,E,"beforeMount");const Z=(!C||C&&!C.pendingBranch)&&K&&!K.persisted;Z&&K.beforeEnter(v),u(v,f,m),((_=k&&k.onVnodeMounted)||Z||Q)&&ce(()=>{_&&ge(_,E,c),Z&&K.enter(v),Q&&Se(c,null,E,"mounted")},C)},B=(c,f,m,E,C)=>{if(m&&A(c,m),E)for(let x=0;x{for(let _=v;_{const D=f.el=c.el;let{patchFlag:v,dynamicChildren:_,dirs:H}=f;v|=c.patchFlag&16;const k=c.props||X,j=f.props||X;let K;m&&nt(m,!1),(K=j.onVnodeBeforeUpdate)&&ge(K,m,f,c),H&&Se(f,c,m,"beforeUpdate"),m&&nt(m,!0);const G=C&&f.type!=="foreignObject";if(_?W(c.dynamicChildren,_,D,m,E,G,x):S||Oe(c,f,D,null,m,E,G,x,!1),v>0){if(v&16)P(D,f,k,j,m,E,C);else if(v&2&&k.class!==j.class&&r(D,"class",null,j.class,C),v&4&&r(D,"style",k.style,j.style,C),v&8){const Q=f.dynamicProps;for(let Z=0;Z{K&&ge(K,m,f,c),H&&Se(f,c,m,"updated")},E)},W=(c,f,m,E,C,x,S)=>{for(let D=0;D{if(m!==E){for(const D in E){if(Ut(D))continue;const v=E[D],_=m[D];v!==_&&D!=="value"&&r(c,D,_,v,S,f.children,C,x,ke)}if(m!==X)for(const D in m)!Ut(D)&&!(D in E)&&r(c,D,m[D],null,S,f.children,C,x,ke);"value"in E&&r(c,"value",m.value,E.value)}},V=(c,f,m,E,C,x,S,D,v)=>{const _=f.el=c?c.el:i(""),H=f.anchor=c?c.anchor:i("");let{patchFlag:k,dynamicChildren:j,slotScopeIds:K}=f;K&&(D=D?D.concat(K):K),c==null?(u(_,m,E),u(H,m,E),R(f.children,m,H,C,x,S,D,v)):k>0&&k&64&&j&&c.dynamicChildren?(W(c.dynamicChildren,j,m,C,x,S,D),(f.key!=null||C&&f===C.subTree)&&Ju(c,f,!0)):Oe(c,f,m,H,C,x,S,D,v)},N=(c,f,m,E,C,x,S,D,v)=>{f.slotScopeIds=D,c==null?f.shapeFlag&512?C.ctx.activate(f,m,E,S,v):he(f,m,E,C,x,S,v):z(c,f,v)},he=(c,f,m,E,C,x,S)=>{const D=c.component=Vr(c,E,C);if(sn(c)&&(D.ctx.renderer=mt),Yr(D),D.asyncDep){if(C&&C.registerDep(D,se),!c.el){const v=D.subTree=ne(pe);d(null,v,f,m)}return}se(D,c,f,m,C,x,S)},z=(c,f,m)=>{const E=f.component=c.component;if(vi(c,f,m))if(E.asyncDep&&!E.asyncResolved){ee(E,f,m);return}else E.next=f,_i(E.update),E.update();else f.el=c.el,E.vnode=f},se=(c,f,m,E,C,x,S)=>{const D=()=>{if(c.isMounted){let{next:H,bu:k,u:j,parent:K,vnode:G}=c,Q=H,Z;nt(c,!1),H?(H.el=G.el,ee(c,H,S)):H=G,k&&At(k),(Z=H.props&&H.props.onVnodeBeforeUpdate)&&ge(Z,K,H,G),nt(c,!0);const te=Cn(c),De=c.subTree;c.subTree=te,O(De,te,p(De.el),rn(De),c,C,x),H.el=te.el,Q===null&&Nu(c,te.el),j&&ce(j,C),(Z=H.props&&H.props.onVnodeUpdated)&&ce(()=>ge(Z,K,H,G),C)}else{let H;const{el:k,props:j}=f,{bm:K,m:G,parent:Q}=c,Z=lt(f);if(nt(c,!1),K&&At(K),!Z&&(H=j&&j.onVnodeBeforeMount)&&ge(H,Q,f),nt(c,!0),k&&Zn){const te=()=>{c.subTree=Cn(c),Zn(k,c.subTree,c,C,null)};Z?f.type.__asyncLoader().then(()=>!c.isUnmounted&&te()):te()}else{const te=c.subTree=Cn(c);O(null,te,m,E,c,C,x),f.el=te.el}if(G&&ce(G,C),!Z&&(H=j&&j.onVnodeMounted)){const te=f;ce(()=>ge(H,Q,te),C)}(f.shapeFlag&256||Q&<(Q.vnode)&&Q.vnode.shapeFlag&256)&&c.a&&ce(c.a,C),c.isMounted=!0,f=m=E=null}},v=c.effect=new Nn(D,()=>Ru(_),c.scope),_=c.update=()=>v.run();_.id=c.uid,nt(c,!0),_()},ee=(c,f,m)=>{f.component=c;const E=c.vnode.props;c.vnode=f,c.next=null,nl(c,f.props,E,m),rl(c,f.children,m),dt(),Wn(void 0,c.update),pt()},Oe=(c,f,m,E,C,x,S,D,v=!1)=>{const _=c&&c.children,H=c?c.shapeFlag:0,k=f.children,{patchFlag:j,shapeFlag:K}=f;if(j>0){if(j&128){Pt(_,k,m,E,C,x,S,D,v);return}else if(j&256){zn(_,k,m,E,C,x,S,D,v);return}}K&8?(H&16&&ke(_,C,x),k!==_&&h(m,k)):H&16?K&16?Pt(_,k,m,E,C,x,S,D,v):ke(_,C,x,!0):(H&8&&h(m,""),K&16&&R(k,m,E,C,x,S,D,v))},zn=(c,f,m,E,C,x,S,D,v)=>{c=c||Et,f=f||Et;const _=c.length,H=f.length,k=Math.min(_,H);let j;for(j=0;jH?ke(c,C,x,!0,!1,k):R(f,m,E,C,x,S,D,v,k)},Pt=(c,f,m,E,C,x,S,D,v)=>{let _=0;const H=f.length;let k=c.length-1,j=H-1;for(;_<=k&&_<=j;){const K=c[_],G=f[_]=v?Ye(f[_]):Ce(f[_]);if(Te(K,G))O(K,G,m,null,C,x,S,D,v);else break;_++}for(;_<=k&&_<=j;){const K=c[k],G=f[j]=v?Ye(f[j]):Ce(f[j]);if(Te(K,G))O(K,G,m,null,C,x,S,D,v);else break;k--,j--}if(_>k){if(_<=j){const K=j+1,G=Kj)for(;_<=k;)He(c[_],C,x,!0),_++;else{const K=_,G=_,Q=new Map;for(_=G;_<=j;_++){const ye=f[_]=v?Ye(f[_]):Ce(f[_]);ye.key!=null&&Q.set(ye.key,_)}let Z,te=0;const De=j-G+1;let yt=!1,Qu=0;const Ot=new Array(De);for(_=0;_=De){He(ye,C,x,!0);continue}let ve;if(ye.key!=null)ve=Q.get(ye.key);else for(Z=G;Z<=j;Z++)if(Ot[Z-G]===0&&Te(ye,f[Z])){ve=Z;break}ve===void 0?He(ye,C,x,!0):(Ot[ve-G]=_+1,ve>=Qu?Qu=ve:yt=!0,O(ye,f[ve],m,null,C,x,S,D,v),te++)}const Zu=yt?fl(Ot):Et;for(Z=Zu.length-1,_=De-1;_>=0;_--){const ye=G+_,ve=f[ye],es=ye+1{const{el:x,type:S,transition:D,children:v,shapeFlag:_}=c;if(_&6){gt(c.component.subTree,f,m,E);return}if(_&128){c.suspense.move(f,m,E);return}if(_&64){S.move(c,f,m,mt);return}if(S===ae){u(x,f,m);for(let k=0;kD.enter(x),C);else{const{leave:k,delayLeave:j,afterLeave:K}=D,G=()=>u(x,f,m),Q=()=>{k(x,()=>{G(),K&&K()})};j?j(x,G,Q):Q()}else u(x,f,m)},He=(c,f,m,E=!1,C=!1)=>{const{type:x,props:S,ref:D,children:v,dynamicChildren:_,shapeFlag:H,patchFlag:k,dirs:j}=c;if(D!=null&&vn(D,null,m,c,!0),H&256){f.ctx.deactivate(c);return}const K=H&1&&j,G=!lt(c);let Q;if(G&&(Q=S&&S.onVnodeBeforeUnmount)&&ge(Q,f,c),H&6)yo(c.component,m,E);else{if(H&128){c.suspense.unmount(m,E);return}K&&Se(c,null,f,"beforeUnmount"),H&64?c.type.remove(c,f,m,C,mt,E):_&&(x!==ae||k>0&&k&64)?ke(_,f,m,!1,!0):(x===ae&&k&384||!C&&H&16)&&ke(v,f,m),E&&Xu(c)}(G&&(Q=S&&S.onVnodeUnmounted)||K)&&ce(()=>{Q&&ge(Q,f,c),K&&Se(c,null,f,"unmounted")},m)},Xu=c=>{const{type:f,el:m,anchor:E,transition:C}=c;if(f===ae){mo(m,E);return}if(f===Dt){T(c);return}const x=()=>{s(m),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(c.shapeFlag&1&&C&&!C.persisted){const{leave:S,delayLeave:D}=C,v=()=>S(m,x);D?D(c.el,x,v):v()}else x()},mo=(c,f)=>{let m;for(;c!==f;)m=g(c),s(c),c=m;s(f)},yo=(c,f,m)=>{const{bum:E,scope:C,update:x,subTree:S,um:D}=c;E&&At(E),C.stop(),x&&(x.active=!1,He(S,c,f,m)),D&&ce(D,f),ce(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},ke=(c,f,m,E=!1,C=!1,x=0)=>{for(let S=x;Sc.shapeFlag&6?rn(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el),zu=(c,f,m)=>{c==null?f._vnode&&He(f._vnode,null,null,!0):O(f._vnode||null,c,f,null,null,null,m),Dn(),f._vnode=c},mt={p:O,um:He,m:gt,r:Xu,mt:he,mc:R,pc:Oe,pbc:W,n:rn,o:e};let Qn,Zn;return t&&([Qn,Zn]=t(mt)),{render:zu,hydrate:Qn,createApp:il(zu,Qn)}}function nt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ju(e,t,n=!1){const u=e.children,s=t.children;if(M(u)&&M(s))for(let r=0;r>1,e[n[i]]0&&(t[u]=n[r-1]),n[r]=u)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}const dl=e=>e.__isTeleport,Wt=e=>e&&(e.disabled||e.disabled===""),bs=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,Cu=(e,t)=>{const n=e&&e.to;return ue(n)?t?t(n):null:n},pl={__isTeleport:!0,process(e,t,n,u,s,r,o,i,l,a){const{mc:h,pc:p,pbc:g,o:{insert:A,querySelector:w,createText:L,createComment:O}}=a,y=Wt(t.props);let{shapeFlag:d,children:F,dynamicChildren:b}=t;if(e==null){const T=t.el=L(""),I=t.anchor=L("");A(T,n,u),A(I,n,u);const U=t.target=Cu(t.props,w),B=t.targetAnchor=L("");U&&(A(B,U),o=o||bs(U));const R=(q,W)=>{d&16&&h(F,q,W,s,r,o,i,l)};y?R(n,I):U&&R(U,B)}else{t.el=e.el;const T=t.anchor=e.anchor,I=t.target=e.target,U=t.targetAnchor=e.targetAnchor,B=Wt(e.props),R=B?n:I,q=B?T:U;if(o=o||bs(I),b?(g(e.dynamicChildren,b,R,s,r,o,i),Ju(e,t,!0)):l||p(e,t,R,q,s,r,o,i,!1),y)B||gn(t,n,T,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Cu(t.props,w);W&&gn(t,W,null,a,0)}else B&&gn(t,I,U,a,1)}},remove(e,t,n,u,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:a,targetAnchor:h,target:p,props:g}=e;if(p&&r(h),(o||!Wt(g))&&(r(a),i&16))for(let A=0;A0?me||Et:null,Hr(),ct>0&&me&&me.push(e),e}function gl(e,t,n,u,s,r){return jr(Je(e,t,n,u,s,r,!0))}function Wr(e,t,n,u,s){return jr(ne(e,t,n,u,s,!0))}function at(e){return e?e.__v_isVNode===!0:!1}function Te(e,t){return e.type===t.type&&e.key===t.key}function Xc(e){}const Gn="__vInternal",$r=({key:e})=>e!=null?e:null,An=({ref:e,ref_key:t,ref_for:n})=>e!=null?ue(e)||ie(e)||$(e)?{i:fe,r:e,k:t,f:!!n}:e:null;function Je(e,t=null,n=null,u=0,s=null,r=e===ae?0:1,o=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$r(t),ref:t&&An(t),scopeId:Kn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:u,dynamicProps:s,dynamicChildren:null,appContext:null};return i?(Yu(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=ue(n)?8:16),ct>0&&!o&&me&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&me.push(l),l}const ne=ml;function ml(e,t=null,n=null,u=0,s=null,r=!1){if((!e||e===Tr)&&(e=pe),at(e)){const i=Ue(e,t,!0);return n&&Yu(i,n),ct>0&&!r&&me&&(i.shapeFlag&6?me[me.indexOf(e)]=i:me.push(i)),i.patchFlag|=-2,i}if(Dl(e)&&(e=e.__vccOpts),t){t=yl(t);let{class:i,style:l}=t;i&&!ue(i)&&(t.class=kn(i)),oe(l)&&(ar(l)&&!M(l)&&(l=re({},l)),t.style=en(l))}const o=ue(e)?1:br(e)?128:dl(e)?64:oe(e)?4:$(e)?2:0;return Je(e,t,n,u,s,o,r,!0)}function yl(e){return e?ar(e)||Gn in e?re({},e):e:null}function Ue(e,t,n=!1){const{props:u,ref:s,patchFlag:r,children:o}=e,i=t?Fl(u||{},t):u;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&$r(i),ref:t&&t.ref?n&&s?M(s)?s.concat(An(t)):[s,An(t)]:An(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ue(e.ssContent),ssFallback:e.ssFallback&&Ue(e.ssFallback),el:e.el,anchor:e.anchor}}function Kr(e=" ",t=0){return ne(Zt,null,e,t)}function zc(e,t){const n=ne(Dt,null,e);return n.staticCount=t,n}function Qc(e="",t=!1){return t?(Yn(),Wr(pe,null,e)):ne(pe,null,e)}function Ce(e){return e==null||typeof e=="boolean"?ne(pe):M(e)?ne(ae,null,e.slice()):typeof e=="object"?Ye(e):ne(Zt,null,String(e))}function Ye(e){return e.el===null||e.memo?e:Ue(e)}function Yu(e,t){let n=0;const{shapeFlag:u}=e;if(t==null)t=null;else if(M(t))n=16;else if(typeof t=="object")if(u&65){const s=t.default;s&&(s._c&&(s._d=!1),Yu(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Gn in t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),u&64?(n=16,t=[Kr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fl(...e){const t={};for(let n=0;nle||fe,et=e=>{le=e,e.scope.on()},Xe=()=>{le&&le.scope.off(),le=null};function Jr(e){return e.vnode.shapeFlag&4}let vt=!1;function Yr(e,t=!1){vt=t;const{props:n,children:u}=e.vnode,s=Jr(e);tl(e,n,s,t),sl(e,u);const r=s?_l(e,t):void 0;return vt=!1,r}function _l(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=fr(new Proxy(e.ctx,gu));const{setup:u}=n;if(u){const s=e.setupContext=u.length>1?Xr(e):null;et(e),dt();const r=Ne(u,e,0,[e.props,s]);if(pt(),Xe(),vu(r)){if(r.then(Xe,Xe),t)return r.then(o=>{Eu(e,o,t)}).catch(o=>{Tt(o,e,0)});e.asyncDep=r}else Eu(e,r,t)}else Gr(e,t)}function Eu(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=pr(t)),Gr(e,n)}let Sn,_u;function Zc(e){Sn=e,_u=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Gi))}}const ea=()=>!Sn;function Gr(e,t,n){const u=e.type;if(!e.render){if(!t&&Sn&&!u.render){const s=u.template;if(s){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:l}=u,a=re(re({isCustomElement:r,delimiters:i},o),l);u.render=Sn(s,a)}}e.render=u.render||we,_u&&_u(e)}et(e),dt(),Xi(e),pt(),Xe()}function Al(e){return new Proxy(e.attrs,{get(t,n){return _e(e,"get","$attrs"),t[n]}})}function Xr(e){const t=u=>{e.exposed=u||{}};let n;return{get attrs(){return n||(n=Al(e))},slots:e.slots,emit:e.emit,expose:t}}function Xn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pr(fr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xn)return xn[n](e)}}))}const bl=/(?:^|[-_])(\w)/g,Bl=e=>e.replace(bl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Tn(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function zr(e,t,n=!1){let u=Tn(t);if(!u&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(u=s[1])}if(!u&&e&&e.parent){const s=r=>{for(const o in r)if(r[o]===t)return o};u=s(e.components||e.parent.type.components)||s(e.appContext.components)}return u?Bl(u):n?"App":"Anonymous"}function Dl(e){return $(e)&&"__vccOpts"in e}const Qr=(e,t)=>pi(e,t,vt);function ta(){return null}function na(){return null}function ua(e){}function sa(e,t){return null}function ra(){return Zr().slots}function oa(){return Zr().attrs}function Zr(){const e=ht();return e.setupContext||(e.setupContext=Xr(e))}function ia(e,t){const n=M(e)?e.reduce((u,s)=>(u[s]={},u),{}):e;for(const u in t){const s=n[u];s?M(s)||$(s)?n[u]={type:s,default:t[u]}:s.default=t[u]:s===null&&(n[u]={default:t[u]})}return n}function la(e,t){const n={};for(const u in e)t.includes(u)||Object.defineProperty(n,u,{enumerable:!0,get:()=>e[u]});return n}function ca(e){const t=ht();let n=e();return Xe(),vu(n)&&(n=n.catch(u=>{throw et(t),u})),[n,()=>et(t)]}function xl(e,t,n){const u=arguments.length;return u===2?oe(t)&&!M(t)?at(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(u>3?n=Array.prototype.slice.call(arguments,2):u===3&&at(n)&&(n=[n]),ne(e,t,n))}const wl=Symbol(""),aa=()=>{{const e=En(wl);return e||hi("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function fa(){}function da(e,t,n,u){const s=n[u];if(s&&vl(s,e))return s;const r=t();return r.memo=e.slice(),n[u]=r}function vl(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let u=0;u0&&me&&me.push(e),!0}const Sl="3.2.37",Tl={createComponentInstance:Vr,setupComponent:Yr,renderComponentRoot:Cn,setCurrentRenderingInstance:Xt,isVNode:at,normalizeVNode:Ce},pa=Tl,ha=null,ga=null,Pl="http://www.w3.org/2000/svg",rt=typeof document!="undefined"?document:null,Ds=rt&&rt.createElement("template"),Ol={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,u)=>{const s=t?rt.createElementNS(Pl,e):rt.createElement(e,n?{is:n}:void 0);return e==="select"&&u&&u.multiple!=null&&s.setAttribute("multiple",u.multiple),s},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,u,s,r){const o=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Ds.innerHTML=u?`${e}`:e;const i=Ds.content;if(u){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function kl(e,t,n){const u=e._vtc;u&&(t=(t?[t,...u]:[...u]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ml(e,t,n){const u=e.style,s=ue(n);if(n&&!s){for(const r in n)Au(u,r,n[r]);if(t&&!ue(t))for(const r in t)n[r]==null&&Au(u,r,"")}else{const r=u.display;s?t!==n&&(u.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(u.display=r)}}const xs=/\s*!important$/;function Au(e,t,n){if(M(n))n.forEach(u=>Au(e,t,u));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const u=Il(e,t);xs.test(n)?e.setProperty(Pe(u),n.replace(xs,""),"important"):e[u]=n}}const ws=["Webkit","Moz","ms"],ru={};function Il(e,t){const n=ru[t];if(n)return n;let u=Be(t);if(u!=="filter"&&u in e)return ru[t]=u;u=Rn(u);for(let s=0;s{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let bu=0;const Ul=Promise.resolve(),ql=()=>{bu=0},Hl=()=>bu||(Ul.then(ql),bu=eo());function Re(e,t,n,u){e.addEventListener(t,n,u)}function jl(e,t,n,u){e.removeEventListener(t,n,u)}function Wl(e,t,n,u,s=null){const r=e._vei||(e._vei={}),o=r[t];if(u&&o)o.value=u;else{const[i,l]=$l(t);if(u){const a=r[t]=Kl(u,s);Re(e,i,a,l)}else o&&(jl(e,i,o,l),r[t]=void 0)}}const Ss=/(?:Once|Passive|Capture)$/;function $l(e){let t;if(Ss.test(e)){t={};let n;for(;n=e.match(Ss);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Pe(e.slice(2)),t]}function Kl(e,t){const n=u=>{const s=u.timeStamp||eo();(Ll||s>=n.attached-1)&&be(Vl(u,n.value),t,5,[u])};return n.value=e,n.attached=Hl(),n}function Vl(e,t){if(M(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(u=>s=>!s._stopped&&u&&u(s))}else return t}const Ts=/^on[a-z]/,Jl=(e,t,n,u,s=!1,r,o,i,l)=>{t==="class"?kl(e,u,s):t==="style"?Ml(e,n,u):tn(t)?xu(t)||Wl(e,t,n,u,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yl(e,t,u,s))?Nl(e,t,u,r,o,i,l):(t==="true-value"?e._trueValue=u:t==="false-value"&&(e._falseValue=u),Rl(e,t,u,s))};function Yl(e,t,n,u){return u?!!(t==="innerHTML"||t==="textContent"||t in e&&Ts.test(t)&&$(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ts.test(t)&&ue(n)?!1:t in e}function Gl(e,t){const n=qu(e);class u extends Gu{constructor(r){super(n,r,t)}}return u.def=n,u}const ma=e=>Gl(e,hc),Xl=typeof HTMLElement!="undefined"?HTMLElement:class{};class Gu extends Xl{constructor(t,n={},u){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&u?u(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,mr(()=>{this._connected||(Hs(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let u=0;u{for(const s of u)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=u=>{const{props:s,styles:r}=u,o=!M(s),i=s?o?Object.keys(s):s:[];let l;if(o)for(const a in this._props){const h=s[a];(h===Number||h&&h.type===Number)&&(this._props[a]=Qe(this._props[a]),(l||(l=Object.create(null)))[a]=!0)}this._numberProps=l;for(const a of Object.keys(this))a[0]!=="_"&&this._setProp(a,this[a],!0,!1);for(const a of i.map(Be))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(h){this._setProp(a,h)}});this._applyStyles(r),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=Qe(n)),this._setProp(Be(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,u=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),u&&(n===!0?this.setAttribute(Pe(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Pe(t),n+""):n||this.removeAttribute(Pe(t))))}_update(){Hs(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ne(this._def,re({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(s,...r)=>{this.dispatchEvent(new CustomEvent(s,{detail:r}))};let u=this;for(;u=u&&(u.parentNode||u.host);)if(u instanceof Gu){n.parent=u._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const u=document.createElement("style");u.textContent=n,this.shadowRoot.appendChild(u)})}}function ya(e="$style"){{const t=ht();if(!t)return X;const n=t.type.__cssModules;if(!n)return X;const u=n[e];return u||X}}function Fa(e){const t=ht();if(!t)return;const n=()=>Bu(t.subTree,e(t.proxy));Ii(n),Jn(()=>{const u=new MutationObserver(n);u.observe(t.subTree.el.parentNode,{childList:!0}),Wu(()=>u.disconnect())})}function Bu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Bu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ps(e.el,t);else if(e.type===ae)e.children.forEach(n=>Bu(n,t));else if(e.type===Dt){let{el:n,anchor:u}=e;for(;n&&(Ps(n,t),n!==u);)n=n.nextSibling}}function Ps(e,t){if(e.nodeType===1){const n=e.style;for(const u in t)n.setProperty(`--${u}`,t[u])}}const $e="transition",Mt="animation",to=(e,{slots:t})=>xl(wr,uo(e),t);to.displayName="Transition";const no={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},zl=to.props=re({},wr.props,no),ut=(e,t=[])=>{M(e)?e.forEach(n=>n(...t)):e&&e(...t)},Os=e=>e?M(e)?e.some(t=>t.length>1):e.length>1:!1;function uo(e){const t={};for(const P in e)P in no||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:u,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:a=o,appearToClass:h=i,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:A=`${n}-leave-to`}=e,w=Ql(s),L=w&&w[0],O=w&&w[1],{onBeforeEnter:y,onEnter:d,onEnterCancelled:F,onLeave:b,onLeaveCancelled:T,onBeforeAppear:I=y,onAppear:U=d,onAppearCancelled:B=F}=t,R=(P,V,N)=>{Ve(P,V?h:i),Ve(P,V?a:o),N&&N()},q=(P,V)=>{P._isLeaving=!1,Ve(P,p),Ve(P,A),Ve(P,g),V&&V()},W=P=>(V,N)=>{const he=P?U:d,z=()=>R(V,P,N);ut(he,[V,z]),ks(()=>{Ve(V,P?l:r),Me(V,P?h:i),Os(he)||Ms(V,u,L,z)})};return re(t,{onBeforeEnter(P){ut(y,[P]),Me(P,r),Me(P,o)},onBeforeAppear(P){ut(I,[P]),Me(P,l),Me(P,a)},onEnter:W(!1),onAppear:W(!0),onLeave(P,V){P._isLeaving=!0;const N=()=>q(P,V);Me(P,p),ro(),Me(P,g),ks(()=>{!P._isLeaving||(Ve(P,p),Me(P,A),Os(b)||Ms(P,u,O,N))}),ut(b,[P,N])},onEnterCancelled(P){R(P,!1),ut(F,[P])},onAppearCancelled(P){R(P,!0),ut(B,[P])},onLeaveCancelled(P){q(P),ut(T,[P])}})}function Ql(e){if(e==null)return null;if(oe(e))return[ou(e.enter),ou(e.leave)];{const t=ou(e);return[t,t]}}function ou(e){return Qe(e)}function Me(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ve(e,t){t.split(/\s+/).forEach(u=>u&&e.classList.remove(u));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ks(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zl=0;function Ms(e,t,n,u){const s=e._endId=++Zl,r=()=>{s===e._endId&&u()};if(n)return setTimeout(r,n);const{type:o,timeout:i,propCount:l}=so(e,t);if(!o)return u();const a=o+"end";let h=0;const p=()=>{e.removeEventListener(a,g),r()},g=A=>{A.target===e&&++h>=l&&p()};setTimeout(()=>{h(n[w]||"").split(", "),s=u($e+"Delay"),r=u($e+"Duration"),o=Is(s,r),i=u(Mt+"Delay"),l=u(Mt+"Duration"),a=Is(i,l);let h=null,p=0,g=0;t===$e?o>0&&(h=$e,p=o,g=r.length):t===Mt?a>0&&(h=Mt,p=a,g=l.length):(p=Math.max(o,a),h=p>0?o>a?$e:Mt:null,g=h?h===$e?r.length:l.length:0);const A=h===$e&&/\b(transform|all)(,|$)/.test(n[$e+"Property"]);return{type:h,timeout:p,propCount:g,hasTransform:A}}function Is(e,t){for(;e.lengthRs(n)+Rs(e[u])))}function Rs(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ro(){return document.body.offsetHeight}const oo=new WeakMap,io=new WeakMap,ec={name:"TransitionGroup",props:re({},zl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ht(),u=xr();let s,r;return Hu(()=>{if(!s.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!sc(s[0].el,n.vnode.el,o))return;s.forEach(tc),s.forEach(nc);const i=s.filter(uc);ro(),i.forEach(l=>{const a=l.el,h=a.style;Me(a,o),h.transform=h.webkitTransform=h.transitionDuration="";const p=a._moveCb=g=>{g&&g.target!==a||(!g||/transform$/.test(g.propertyName))&&(a.removeEventListener("transitionend",p),a._moveCb=null,Ve(a,o))};a.addEventListener("transitionend",p)})}),()=>{const o=Y(e),i=uo(o);let l=o.tag||ae;s=r,r=t.default?Uu(t.default()):[];for(let a=0;a{o.split(/\s+/).forEach(i=>i&&u.classList.remove(i))}),n.split(/\s+/).forEach(o=>o&&u.classList.add(o)),u.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(u);const{hasTransform:r}=so(u);return s.removeChild(u),r}const tt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?n=>At(t,n):t};function rc(e){e.target.composing=!0}function Ns(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Du={created(e,{modifiers:{lazy:t,trim:n,number:u}},s){e._assign=tt(s);const r=u||s.props&&s.props.type==="number";Re(e,t?"change":"input",o=>{if(o.target.composing)return;let i=e.value;n&&(i=i.trim()),r&&(i=Qe(i)),e._assign(i)}),n&&Re(e,"change",()=>{e.value=e.value.trim()}),t||(Re(e,"compositionstart",rc),Re(e,"compositionend",Ns),Re(e,"change",Ns))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:u,number:s}},r){if(e._assign=tt(r),e.composing||document.activeElement===e&&e.type!=="range"&&(n||u&&e.value.trim()===t||(s||e.type==="number")&&Qe(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},lo={deep:!0,created(e,t,n){e._assign=tt(n),Re(e,"change",()=>{const u=e._modelValue,s=St(e),r=e.checked,o=e._assign;if(M(u)){const i=Mn(u,s),l=i!==-1;if(r&&!l)o(u.concat(s));else if(!r&&l){const a=[...u];a.splice(i,1),o(a)}}else if(ft(u)){const i=new Set(u);r?i.add(s):i.delete(s),o(i)}else o(co(e,r))})},mounted:Ls,beforeUpdate(e,t,n){e._assign=tt(n),Ls(e,t,n)}};function Ls(e,{value:t,oldValue:n},u){e._modelValue=t,M(t)?e.checked=Mn(t,u.props.value)>-1:ft(t)?e.checked=t.has(u.props.value):t!==n&&(e.checked=ze(t,co(e,!0)))}const Pn={created(e,{value:t},n){e.checked=ze(t,n.props.value),e._assign=tt(n),Re(e,"change",()=>{e._assign(St(e))})},beforeUpdate(e,{value:t,oldValue:n},u){e._assign=tt(u),t!==n&&(e.checked=ze(t,u.props.value))}},oc={deep:!0,created(e,{value:t,modifiers:{number:n}},u){const s=ft(t);Re(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Qe(St(o)):St(o));e._assign(e.multiple?s?new Set(r):r:r[0])}),e._assign=tt(u)},mounted(e,{value:t}){Us(e,t)},beforeUpdate(e,t,n){e._assign=tt(n)},updated(e,{value:t}){Us(e,t)}};function Us(e,t){const n=e.multiple;if(!(n&&!M(t)&&!ft(t))){for(let u=0,s=e.options.length;u-1:r.selected=t.has(o);else if(ze(St(r),t)){e.selectedIndex!==u&&(e.selectedIndex=u);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function St(e){return"_value"in e?e._value:e.value}function co(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ic={created(e,t,n){mn(e,t,n,null,"created")},mounted(e,t,n){mn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,u){mn(e,t,n,u,"beforeUpdate")},updated(e,t,n,u){mn(e,t,n,u,"updated")}};function ao(e,t){switch(e){case"SELECT":return oc;case"TEXTAREA":return Du;default:switch(t){case"checkbox":return lo;case"radio":return Pn;default:return Du}}}function mn(e,t,n,u,s){const o=ao(e.tagName,n.props&&n.props.type)[s];o&&o(e,t,n,u)}function lc(){Du.getSSRProps=({value:e})=>({value:e}),Pn.getSSRProps=({value:e},t)=>{if(t.props&&ze(t.props.value,e))return{checked:!0}},lo.getSSRProps=({value:e},t)=>{if(M(e)){if(t.props&&Mn(e,t.props.value)>-1)return{checked:!0}}else if(ft(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},ic.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=ao(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const cc=["ctrl","shift","alt","meta"],ac={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>cc.some(n=>e[`${n}Key`]&&!t.includes(n))},Ea=(e,t)=>(n,...u)=>{for(let s=0;sn=>{if(!("key"in n))return;const u=Pe(n.key);if(t.some(s=>s===u||fc[s]===u))return e(n)},dc={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):It(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:u}){!t!=!n&&(u?t?(u.beforeEnter(e),It(e,!0),u.enter(e)):u.leave(e,()=>{It(e,!1)}):It(e,t))},beforeUnmount(e,{value:t}){It(e,t)}};function It(e,t){e.style.display=t?e._vod:"none"}function pc(){dc.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const fo=re({patchProp:Jl},Ol);let Kt,qs=!1;function po(){return Kt||(Kt=cl(fo))}function ho(){return Kt=qs?Kt:al(fo),qs=!0,Kt}const Hs=(...e)=>{po().render(...e)},hc=(...e)=>{ho().hydrate(...e)},Aa=(...e)=>{const t=po().createApp(...e),{mount:n}=t;return t.mount=u=>{const s=go(u);if(!s)return;const r=t._component;!$(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},ba=(...e)=>{const t=ho().createApp(...e),{mount:n}=t;return t.mount=u=>{const s=go(u);if(s)return n(s,!0,s instanceof SVGElement)},t};function go(e){return ue(e)?document.querySelector(e):e}let js=!1;const Ba=()=>{js||(js=!0,lc(),pc())};var Da="/2024-survey/assets/Attendee_survey2024.a643c0bc.png",gc=(e,t)=>{const n=e.__vccOpts||e;for(const[u,s]of t)n[u]=s;return n};const mc={class:"base"},yc=["value"],Fc=["value"],Cc=qu({__name:"BaseSwitch",props:{modelValue:String,options:{type:Array,required:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,u=Qr({get:()=>n.modelValue,set:r=>t("update:modelValue",r)}),s=()=>{u.value=n.options[n.options[0].value===u.value?1:0].value};return(r,o)=>(Yn(),gl("div",mc,[Je("label",null,ts(e.options[0].text),1),Je("div",{class:"switch",onClick:s},[Je("div",{style:en({transform:Fn(u)===e.options[1].value?"translateX(40px)":"none"}),class:"point"},null,4),gs(Je("input",{type:"radio","onUpdate:modelValue":o[0]||(o[0]=i=>ie(u)?u.value=i:null),value:e.options[0].value},null,8,yc),[[Pn,Fn(u)]]),gs(Je("input",{type:"radio","onUpdate:modelValue":o[1]||(o[1]=i=>ie(u)?u.value=i:null),value:e.options[1].value},null,8,Fc),[[Pn,Fn(u)]])]),Je("label",null,ts(e.options[1].text),1)]))}});var xa=gc(Cc,[["__scopeId","data-v-7b37bd6a"]]);const Ws=e=>(t,n,u)=>t[e]?!0:u.findIndex(r=>r.find(o=>o.type==="Field"&&o.key==="what_hope_coscup")),Ec=(e,t,n)=>{const u=n.findIndex(o=>o.find(i=>i.type==="Field"&&i.key==="commonly_used_languages")),s=n.findIndex(o=>o.find(i=>i.type==="Field"&&i.key==="know_license")),r=n.findIndex(o=>o.find(i=>i.type==="Field"&&i.key==="why_promote_open_source"));return Array.isArray(e.open_source_role)&&e.open_source_role.includes("\u958B\u767C\u8005")?u:Array.isArray(e.open_source_role)&&e.open_source_role.includes("\u4F7F\u7528\u8005")?s:Array.isArray(e.open_source_role)&&e.open_source_role.includes("\u63A8\u5EE3\u8005")?r:!1},$s=(e,t,n)=>{const u=n.findIndex(i=>i.find(l=>l.type==="Field"&&l.key==="commonly_used_languages")),s=n.findIndex(i=>i.find(l=>l.type==="Field"&&l.key==="know_license")),r=n.findIndex(i=>i.find(l=>l.type==="Field"&&l.key==="why_promote_open_source")),o=n.findIndex(i=>i.find(l=>l.type==="Field"&&l.key==="what_hope_coscup"));if(t===u){if(Array.isArray(e.open_source_role)&&e.open_source_role.includes("\u4F7F\u7528\u8005"))return s;if(Array.isArray(e.open_source_role)&&e.open_source_role.includes("\u63A8\u5EE3\u8005"))return r}else if(t===s&&Array.isArray(e.open_source_role)&&e.open_source_role.includes("\u63A8\u5EE3\u8005"))return r;return o},_c=e=>t=>{const n=!!t.captchaToken;return n||alert(e("\u8ACB\u5B8C\u6210\u9A57\u8B49","Please finish captcha")),n},Ac=e=>t=>{const n=!!t.is_allow_coc;return n||alert(e("\u8ACB\u540C\u610F CoC","Please agree CoC")),n},wa=(e,t)=>{const n=r=>r.map(o=>({text:e(o[0],o[1]),value:o[0]})),u=r=>r.map(o=>({text:o,value:o})),s=u(["APL","Assembly","Bash/Shell","C","C#","C++","Clojure","COBOL","Crystal","Dart","Delphi","Elixir","Erlang","F#","Go","Groovy","Haskell","HTML/CSS","Java","JavaScript","Julia","Kotlin","LISP","Matlab","Markdown","Node.js","Objective-C","Perl","PHP","PowerShell","Python","R","Ruby","Rust","Scala","SQL","Swift","TypeScript","VBA","Other"]);return[[{type:"FormStartup"}],[{type:"Field",key:"nickname",required:!0,question:e("\u66B1\u7A31","Nickname"),config:{type:"text",autocomplete:"nickname"},inline:!0},{type:"Explain",text:e("\u66B1\u7A31\u5C07\u53EA\u63D0\u4F9B\u7D66\u9019\u6B21 OPass APP \u53C3\u8207\u9019\u6B21 COSCUP \u6D3B\u52D5\u4F7F\u7528\uFF0C\u8207\u554F\u5377\u5167\u5BB9\u7121\u95DC\u3002","The nickname will only be used for this OPass APP to participate in this COSCUP event and is not related to the content of the survey.")},{type:"Field",key:"email",required:!!t.is_subscribe_newsletter,question:"Email",config:{type:"email"},inline:!0},{type:"Explain",text:e("Email \u5C07\u53EA\u5728\u4F7F\u7528\u8005\u540C\u610F\u8A02\u95B1\u96FB\u5B50\u5831\u6642\uFF0C\u63D0\u4F9B\u7D66\u96FB\u5B50\u5831\u7CFB\u7D71\u4F7F\u7528\uFF0C\u8207\u554F\u5377\u5167\u5BB9\u7121\u95DC\u3002","The email will only be provided to the newsletter system when the user agrees to subscribe to the newsletter and is not related to the content of the survey.")},{type:"Field",key:"is_subscribe_newsletter",question:"",config:{type:"agree",question:e("\u662F\u5426\u9858\u610F\u8A02\u95B1\u96FB\u5B50\u5831\uFF1F","Would you like to subscribe to the COSCUP newsletter?")},inline:!0},{type:"Explain",text:e("\u8A02\u95B1\u96FB\u5B50\u5831\u5C07\u6536\u5230 COSCUP \u672A\u4F86\u7684\u76F8\u95DC\u8A0A\u606F\u3002","Subscribe to the newsletter to receive future information about COSCUP.")},{type:"Field",key:"is_take",question:"",config:{type:"agree",question:e("\u662F\u5426\u9858\u610F\u586B\u5BEB COSCUP 2024 \u53C3\u8207\u8005\u5927\u8ABF\u67E5\u554F\u5377\uFF1F","Would you like to take the COSCUP 2024 attendee survey?")},inline:!0},{type:"Explain",text:e("\u6B61\u8FCE\u6BCF\u500B\u6703\u773E\u3001\u793E\u7FA4\u5925\u4F34\u3001\u8D0A\u52A9\u5925\u4F34\u9084\u6709\u300C\u4F60\u300D\uFF0C\u4E00\u540C\u52D5\u52D5\u624B\u6307\uFF0C\u70BA\u62FC\u6E4A\u51FA\u53F0\u7063\u793E\u7FA4\u7684\u6A23\u8C8C\u76E1\u4E00\u4EFD\u529B\uFF01","Welcome every attendee, community partner, sponsor, and \u201Cyou\u201D to join us in piecing together the image of Taiwan\u2019s community by moving your fingers and contributing!")},{type:"Guard",to:Ws("is_take")}],[{type:"Field",key:"age",required:!0,question:e("\u4F60\u7684\u5E74\u9F61\uFF1F","What's your Age?"),config:{type:"single-option",options:n([["18 \u6B72\u4EE5\u4E0B","Under 18 years old"],["19-24 \u6B72","19-24 years old"],["25-34 \u6B72","25-34 years old"],["35-44 \u6B72","35-44 years old"],["45-54 \u6B72","45-54 years old"],["55-64 \u6B72","55-64 years old"],["65\u6B72\u4EE5\u4E0A","65 years or older"],["\u4E0D\u65B9\u4FBF\u544A\u77E5","Prefer not to say"]])}},{type:"Field",key:"gender",required:!0,question:e("\u4F60\u7684\u6027\u5225\uFF1F","What's your gender?"),config:{type:"single-option",options:n([["\u7537","Man"],["\u5973","Woman"],["\u4E0D\u65B9\u4FBF\u544A\u77E5","Prefer not to say"],["\u975E\u4E8C\u5143\u3001\u6027\u5225\u9177\u5152\u3001\u6027\u5225\u6D41\u52D5\u3001\u9593\u6027\u5225\u6216\u7121\u6027\u5225","Non-binary, genderqueer, or gender non-conforming"]]),other:{text:e("\u6216\u5C08\u5C6C\u4F60\u7684\u8A5E","Or, in your own words:")}}},{type:"Field",key:"education_level",required:!0,question:e("\u4F60\u7684\u6559\u80B2\u7A0B\u5EA6\uFF1F","What's your education level"),config:{type:"single-option",options:n([["\u570B\u5C0F","Primary/elementary school"],["\u570B\u4E2D","Junior high school"],["\u9AD8\u4E2D/\u9AD8\u8077","Senior high school"],["\u5C08\u79D1","Junior college"],["\u5B78\u58EB","Bachelor's degree"],["\u78A9\u58EB","Master's degree"],["\u535A\u58EB","Doctor's degree"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"current_primary_residence",required:!0,question:e("\u4F60\u76EE\u524D\u7684\u4E3B\u8981\u5C45\u4F4F\u5730\uFF1F","What's your current primary residence?"),config:{type:"single-option",options:n([["\u4E9E\u6D32","Asia"],["\u6B50\u6D32","Europe"],["\u5317\u7F8E\u6D32","North America"],["\u4E2D\u5357\u7F8E\u6D32","Central and South America"],["\u5927\u6D0B\u6D32","Oceania"],["\u975E\u6D32","Africa"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"nationality",required:!0,question:e("\u4F60\u7684\u570B\u7C4D\uFF1F","What's your nationality?"),config:{type:"single-option",options:n([["\u53F0\u7063","Taiwan"],["\u9999\u6E2F","Hong Kong"],["\u4E2D\u570B\u5927\u9678","China"],["\u82F1\u570B","UK"],["\u7F8E\u570B","U.S.A."],["\u52A0\u62FF\u5927","Canada"],["\u65E5\u672C","Japan"],["\u97D3\u570B","Korea"],["\u6FB3\u6D32","Australia"],["\u83F2\u5F8B\u8CD3","Philippines"],["\u65B0\u52A0\u5761","Singapore"],["\u6CD5\u570B","France"],["\u5FB7\u570B","Germany"]]),other:{text:e("\u5176\u4ED6","Other")}}}],[{type:"Field",key:"work_status",required:!0,question:e("\u4EE5\u4E0B\u54EA\u9805\u6700\u80FD\u5F62\u5BB9\u4F60\uFF1F\u8ACB\u9078\u64C7\u6240\u6709\u9069\u7528\u7684\u9078\u9805\u3002","Which of the following describe you, if any? Please check all that apply."),config:{type:"multi-option",options:n([["\u5168\u8077\u54E1\u5DE5","Employed full-time"],["\u5168\u8077\u5B78\u751F","Student, full-time"],["\u81EA\u71DF\u5546\u3001SOHO \u6216 \u81EA\u7531\u5DE5\u4F5C\u8005","Independent contractor, freelancer, or self-employed"],["\u76EE\u524D\u672A\u5C31\u696D\uFF0C\u4F46\u5728\u627E\u5DE5\u4F5C\u4E2D","Not employed, but looking for work"],["\u534A\u8077\u54E1\u5DE5","Employed part-time"],["\u534A\u8077\u5B78\u751F","Student, part-time"],["\u76EE\u524D\u672A\u5C31\u696D\uFF0C\u4F46\u5C0D\u5DE5\u4F5C\u4E0D\u611F\u8208\u8DA3","Not employed, and not looking for work"],["\u4E0D\u65B9\u4FBF\u544A\u77E5","I prefer not to say"],["\u5DF2\u9000\u4F11","Retired"]])}},{type:"Field",key:"work_job",required:!0,question:e("\u4EE5\u4E0B\u54EA\u9805\u6700\u80FD\u5F62\u5BB9\u4F60\u76EE\u524D\u7684\u5DE5\u4F5C\uFF1F\u8ACB\u9078\u64C7\u6240\u6709\u9069\u7528\u7684\u9078\u9805\u3002","Which of the following describes your current job? Please select all that apply."),config:{type:"multi-option",options:n([["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u524D\u7AEF","Developer, Front-end"],["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u5F8C\u7AEF","Developer, Back-end"],["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u5168\u7AEF","Developer, Full-stack"],["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u624B\u6A5F","Developer, Mobile"],["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u684C\u9762\u6216\u4F01\u696D\u61C9\u7528","Developer, Desktop or Enterprise Applications"],["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u5D4C\u5165\u5F0F\u61C9\u7528\u7A0B\u5E8F\u6216\u8A2D\u5099","Developer, Embedded Applications or Devices"],["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u904A\u6232\u6216\u5716\u50CF","Developer, Game or Graphics"],["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u54C1\u8CEA\u4FDD\u8B49\u6216\u6E2C\u8A66","Developer, QA or test"],["\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u81EA\u52D5\u5316","Developer, Automation"],["\u958B\u767C\u904B\u7DAD\u5DE5\u7A0B\u5E2B","DevOps Engineer"],["\u8CC7\u6599\u5DE5\u7A0B\u5E2B","Engineer, Data"],["\u7DB2\u7AD9\u53EF\u9760\u6027\u5DE5\u7A0B\u5DE5\u7A0B\u5E2B","Engineer, Site Reliability"],["\u6578\u4F4D\u96FB\u8DEF\u8A2D\u8A08\u5DE5\u7A0B\u5E2B","Engineer, Digital Circuit Design"],["\u5DE5\u7A0B\u5E2B\u7D93\u7406","Engineering Manager"],["\u7CFB\u7D71\u7BA1\u7406\u54E1","System Administrator"],["\u8CC7\u6599\u5EAB\u7BA1\u7406\u54E1","Database Administrator"],["\u8CC7\u6599\u79D1\u5B78\u5BB6\u6216\u6A5F\u5668\u5B78\u7FD2\u4EBA\u54E1","Data Scientist or Machine Learning specialist"],["\u8CC7\u6599\u6216\u5546\u696D\u5206\u6790\u4EBA\u54E1","Data or Business Analyst"],["\u8A2D\u8A08\u5E2B","Designer"],["\u5C08\u6848\u7BA1\u7406","Project Management"],["\u7522\u54C1\u7D93\u7406","Product Manager"],["\u884C\u92B7\u76F8\u95DC\u4EBA\u54E1","Marketing-related Professional"],["\u92B7\u552E\u696D\u52D9\u4EBA\u54E1","Business or Sales Professional"],["\u91D1\u878D\u76F8\u95DC\u4EBA\u54E1","Finance-related Professional"],["\u9AD8\u5C64\u7BA1\u7406\u8005\uFF08\u9996\u5E2D\u9577\u3001\u7E3D\u7D93\u7406\u7B49\uFF09","Senior Executive (C-Suite, VP, etc.)"],["\u4EBA\u529B\u8CC7\u6E90\u7BA1\u7406\u4EBA\u54E1","Human Resources Professional"],["\u7E3D\u52D9\u884C\u653F\u4EBA\u54E1","Administration Staff"],["\u5B78\u8853\u7814\u7A76\u4EBA\u54E1","Academic Researcher"],["\u57F9\u8A13\u8B1B\u5E2B/\u9867\u554F","Training Instructor/Consultant"],["\u6559\u80B2\u4EBA\u54E1","Educator"],["\u6280\u8853\u54E1","Technician"],["\u5B78\u751F","Student"],["\u76EE\u524D\u672A\u5C31\u696D","Not employed"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"job_time",required:!0,question:e("\u4F60\u5F9E\u4E8B\u76F8\u95DC\u5DE5\u4F5C\u591A\u4E45\u4E86\uFF1F","How long have you been working in the industry?"),config:{type:"single-option",options:n([["< 1 \u5E74","Less than 1 year"],["1 - 4 \u5E74","1 to 4 years"],["5 - 9 \u5E74","5 to 9 years"],["10 - 14 \u5E74","10 to 14 years"],["15 - 19 \u5E74","15 to 19 years"],["20 - 24 \u5E74","20 to 24 years"],["25 to 29 \u5E74","25 to 29 years"],["> 30 \u5E74","More than 30 years"]])}},{type:"Field",key:"job_industry",required:!0,question:e("\u4F60\u5728\u54EA\u500B\u7522\u696D\u5DE5\u4F5C\u6216\u662F\u53C3\u8207\u6700\u591A\u7684\u7522\u696D\uFF1F\u8ACB\u9078\u64C7\u6240\u6709\u9069\u7528\u7684\u9078\u9805\u3002","Which industry do you work in or are most involved with? Please select all that apply."),config:{type:"multi-option",options:n([["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D - \u8EDF\u9AD4\u53CA\u7DB2\u8DEF\u76F8\u95DC\u696D","Software and network"],["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D - \u96FB\u4FE1\u53CA\u901A\u8A0A\u76F8\u95DC\u696D","Telecommunications and communications"],["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D - \u96FB\u8166\u53CA\u6D88\u8CBB\u6027\u96FB\u5B50\u88FD\u9020\u696D","Computer and Consumer Electronics Manufacturing"],["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D - \u5149\u96FB\u53CA\u5149\u5B78\u76F8\u95DC\u696D","Optoelectronics and Optics"],["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D - \u96FB\u5B50\u96F6\u7D44\u4EF6\u76F8\u95DC\u696D","Electronic components"],["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D - \u534A\u5C0E\u9AD4\u696D","Semiconductor"],["\u4E00\u822C\u88FD\u9020\u696D","General Manufacturing"],["\u4E00\u822C\u670D\u52D9\u696D","General Service"],["\u6587\u6559\u76F8\u95DC\u696D","Culture and Education"],["\u653F\u5E9C\u516C\u5171\u884C\u653F","Government and public services"],["\u5927\u773E\u50B3\u64AD\u76F8\u95DC\u696D","Media and Communication"],["\u6279\u767C/\u96F6\u552E\u696D","Wholesale / Retail"],["\u91D1\u878D\u6295\u9867\u53CA\u4FDD\u96AA\u696D","Financial Investment and Insurance"],["\u904B\u8F38\u7269\u6D41\u53CA\u5009\u5132\u696D","Transportation logistics and warehousing"],["\u91AB\u7642\u4FDD\u5065\u53CA\u793E\u6703\u798F\u5229","Healthcare and social welfare"],["\u6CD5\u5F8B/\u6703\u8A08/\u9867\u554F/\u7814\u767C","Legal / Accounting / Consulting / R&D"],["\u85DD\u8853/\u65C5\u904A/\u5A1B\u6A02\u4F11\u9592/\u904B\u52D5\u696D","Art / Travel / Entertainment & Leisure / Sports"],["\u4F4F\u5BBF/\u9910\u98F2\u670D\u52D9\u696D","Accommodation / Food Service"],["\u653F\u6CBB\u53CA\u5B97\u6559","Politics and Religion"],["\u5EFA\u7BC9\u71DF\u9020\u53CA\u4E0D\u52D5\u7522\u76F8\u95DC\u696D","Construction and real estate"],["\u8FB2\u6797\u6F01\u7267\u6C34\u96FB\u8CC7\u6E90\u696D","Agriculture, Forestry, Fisheries, Livestock, Water, and Electronic Resources"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"job_salary",required:!0,question:e("\u4F60\u76EE\u524D\u7684\u7E3D\u5E74\u85AA\u662F\u591A\u5C11\uFF08\u6263\u7A0E\u524D\u7684\u85AA\u8CC7\u3001\u734E\u91D1\u548C\u5E74\u7D42\uFF09\uFF1F\u5982\u679C\u4F60\u662F\u6309\u7167\u5C0F\u6642\u8A08\u916C\uFF0C\u8ACB\u4F30\u7B97\u5927\u7D04\u7684\u5E74\u85AA\u3002(\u4EE5\u81FA\u5E63\u70BA\u55AE\u4F4D)","What is your current total compensation in TWD (salary, bonuses, and perks, before taxes and deductions)? If you are paid hourly, please estimate an equivalent yearly salary."),config:{type:"single-option",options:n([["0 - 36\u842C","0 - 360,000 TWD"],["36\u842C - 60\u842C","360,000 - 600,000 TWD"],["60\u842C - 84\u842C","600,000 - 840,000 TWD"],["84\u842C - 108\u842C","840,000 - 1,080,000 TWD"],["108\u842C - 132\u842C","1,080,000 - 1,320,000 TWD"],["132\u842C - 156\u842C","1,320,000 - 1,560,000 TWD"],["156\u842C - 180\u842C","1,560,000 - 1,800,000 TWD"],["180\u842C - 204\u842C","1,800,000 - 2,040,000 TWD"],["204\u842C\u4EE5\u4E0A","2,040,000 TWD or more"],["\u4E0D\u65B9\u4FBF\u544A\u77E5","Prefer not to say"]])}},{type:"Explain",text:e("\u6211\u5011\u5E0C\u671B\u80FD\u5206\u4EAB\u6700\u771F\u5BE6\u7684\u696D\u754C\u85AA\u8CC7\u60C5\u5831\uFF0C\u56E0\u6B64\u9080\u8ACB COSCUP \u6703\u773E\u7528\u533F\u540D\u7684\u65B9\u5F0F\u5206\u4EAB\u85AA\u8CC7\u8CC7\u8A0A\uFF0C\u8B93\u5927\u5BB6\u4E86\u89E3\u76F8\u4F3C\u7D93\u9A57\u8207\u8077\u4F4D\u7684\u5E02\u5834\u884C\u60C5\uFF0C\u66F4\u6E05\u695A\u81EA\u5DF1\u5728\u5E02\u5834\u4E0A\u7684\u50F9\u503C\u3002","We hope to share salary information anonymously through the experiences of COSCUP participants. By sharing the most realistic salary information in the industry, we can help people understand the market situation and better understand their value in the market.")}],[{type:"Field",key:"is_hear_open_source",required:!0,question:e("\u662F\u5426\u807D\u904E\u958B\u653E\u539F\u59CB\u78BC\uFF1F","Have you ever heard of Open Source"),config:{type:"single-option",options:[{text:e("\u662F","Yes"),value:!0},{text:e("\u5426","No"),value:!1}]}},{type:"Guard",to:Ws("is_hear_open_source")}],[{type:"Field",key:"how_know_open_source",required:!0,question:e("\u4F60\u662F\u5982\u4F55\u8A8D\u8B58\u958B\u653E\u539F\u59CB\u78BC\uFF1F","How do you know Open Source? Please select all that apply."),config:{type:"multi-option",options:n([["\u89AA\u53CB\u4ECB\u7D39","Friends and Family"],["\u5B78\u6821\u8001\u5E2B/\u5927\u5B78\u6559\u6388","School Teachers/ University Professors"],["\u5B78\u6821\u793E\u5718","School Clubs / Communities"],["\u5831\u7AE0\u96DC\u8A8C","Newspapers and Magazines"],["\u96FB\u8996\u65B0\u805E","TV News"],["\u7DB2\u8DEF\u8AD6\u58C7","Online Forums"],["\u7DB2\u8DEF\u65B0\u805E","Online News"],["\u793E\u7FA4\u5A92\u9AD4(FB, IG, Twitter, Plurk...)","Social Media"],["\u516C\u53F8\u540C\u4E8B","Co-worker"],["\u5DE5\u4F5C\u9700\u6C42","Job requirements"],["\u958B\u6E90\u793E\u7FA4","Open-source community"],["\u6D3B\u52D5/\u8B1B\u5EA7","event/seminar"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"encounter_COSCUP",required:!0,question:e("\u4F60\u5728\u54EA\u908A\u9047\u5230\u4E86 COSCUP\uFF1F","Where did you encounter COSCUP?"),config:{type:"multi-option",options:n([["\u53C3\u8207 FOSDEM","Participate in FOSDEM"],["\u53C3\u8207 SCaLE","Participate in SCaLE"],["\u53C3\u8207 FOSSAISA","Participate in FOSSAISA"],["\u53C3\u8207 OSPN.jp \u7CFB\u5217\u6D3B\u52D5","Participate in OSPN.jp series events"],["\u53C3\u8207 \u4E2D\u56FD\u5F00\u6E90\u5E74\u4F1A","Participate in the China Open Source Annual Conference"],["\u53C3\u8207 \u9999\u6E2F\u958B\u6E90\u5E74\u6703","Participate in the Hong Kong Open Source Conference"],["\u53C3\u8207 HITCON","Participate in HITCON"],["\u53C3\u8207 g0v Summit","Participate in g0v Summit"],["\u53C3\u8207 SITCON \u7CFB\u5217\u6D3B\u52D5","Participate in SITCON series events"],["\u53C3\u8207 PyCON \u7CFB\u5217\u6D3B\u52D5","Participate in PyCon series events"],["\u53C3\u8207 MOPCON","Participate in MOPCON"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"reasons_to_come_to_COSCUP",required:!0,question:e("\u4F60\u662F\u770B\u5230\u3001\u807D\u5230\u6216\u63A5\u89F8\u4E86\u4EC0\u9EBC\u800C\u4F86 COSCUP \u7684\u5462\uFF1F","What did you see, hear, or come into contact with that led you to COSCUP?"),config:{type:"multi-option",options:n([["\u6211\u662F\u8001\u670B\u53CB\uFF01","I'm an old friend!"],["\u6524\u4F4D\u4ECB\u7D39","Booth introduction"],["\u6F14\u8B1B\u5BA3\u50B3","Presentation promotion"],["\u770B\u5230\u50B3\u55AE","Saw flyers"],["\u96FB\u5B50\u5831\uFF1AOCF \u6BCF\u6708\u96FB\u5B50\u5831","E-newsletter: OCF monthly newsletter"],["\u96FB\u5B50\u5831\uFF1ACOSCUP","E-newsletter: COSCUP"],["COSCUP \u7684 GitHub \u5C08\u6848","COSCUP's GitHub projects"],["\u89AA\u53CB\u4ECB\u7D39","Introduced by friends or family"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"platforms_to_receive_updates",required:!0,question:e("\u4F60\u6709\u5728\u4F7F\u7528\u54EA\u4E9B\u5E73\u81FA\u6301\u7E8C\u63A5\u6536\u958B\u6E90\u65B0\u77E5\u5462\uFF1F","What platforms are you using to continuously receive open-source updates?"),config:{type:"multi-option",options:n([["Faecbook","Faecbook"],["X (\u904E\u53BB\u7684 Twitter)","X (formerly Twitter)"],["LinkedIn","LinkedIn"],["Mastodon","Mastodon"],["Plurk","Plurk"],["RSS Reader","RSS Reader"],["\u95DC\u6CE8\u793E\u7FA4\u8A0E\u8AD6 Mailing List","Follow community discussion mailing lists"],["\u8A02\u95B1 \u539F\u5EE0\u7684\u96FB\u5B50\u5831","Subscribe to the manufacturer's newsletter"],["\u8A02\u95B1 GitHub/GitLab \u7B49\u4EE3\u7BA1\u5E73\u81FA\u7684\u8CC7\u8A0A","Subscribing to information from hosting platforms like GitHub/GitLab"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"open_source_role",required:!0,question:e("\u4F60\u5728\u958B\u653E\u539F\u59CB\u78BC\u7684\u904B\u52D5\u4E2D\u626E\u6F14\u7684\u89D2\u8272\uFF1F","What is your role in the Open Source movement?"),config:{type:"multi-option",options:n([["\u958B\u767C\u8005","Coders"],["\u4F7F\u7528\u8005","Users"],["\u63A8\u5EE3\u8005","Promoters"]])}},{type:"Guard",to:Ec}],[{type:"Field",key:"commonly_used_languages",required:!0,question:e("\u904E\u53BB\u4E00\u5E74\u4E2D\uFF0C\u4F60\u6700\u5E38\u4F7F\u7528\u7684\u7A0B\u5F0F\u3001\u8173\u672C\u3001\u6A19\u8A18\u5F0F\u8A9E\u8A00\u662F\u4EC0\u9EBC\uFF1F","Which programming, scripting, and markup languages have you done extensive development work in over the past year?"),config:{type:"multi-option",options:s,maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"favorite_languages",required:!0,question:e("\u559C\u6B61\u7684\u7A0B\u5F0F\u8A9E\u8A00\uFF1F","Favorite programming languages?"),config:{type:"multi-option",options:s,maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"annoying_languages",required:!0,question:e("\u8A0E\u53AD\u7684\u7A0B\u5F0F\u8A9E\u8A00\uFF1F","Annoying programming languages?"),config:{type:"multi-option",options:s,maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"commonly_develop_platforms",required:!0,question:e("\u6700\u5E38\u958B\u767C\u7684\u5E73\u81FA\uFF1F","For which platforms do you develop?"),config:{type:"multi-option",options:u(["Web Backend","Web Frontend","Desktop","Mobile","Server/infrastructure","Cloud","IoT/Embedded","WebAssembly","AI (Deep Learning/Machine Learning)","Consoles(Xbox/PlayStation/Nintendo)","I don't develop anything"]).map(r=>r.value!=="Consoles(Xbox/PlayStation/Nintendo)"?r:{text:"Consoles (Xbox/PlayStation/Nintendo)",value:"Consoles(Xbox/PlayStation/Nintendo)"}),maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"commonly_used_editors",required:!0,question:e("\u6700\u5E38\u4F7F\u7528\u7684\u7DE8\u8F2F\u5668\u6216 IDE \uFF1F","Most commonly used editors or IDEs?"),config:{type:"multi-option",options:u(["GNU nano","Vim","Emacs","Sublime Text","Visual Studio Code","Visual Studio","XCode","Eclipse","JetBrains Family (Intellij, PhpStorm, WebStorm)","Android Studio","Atom","Notepad++"]),maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"commonly_used_os",required:!0,question:e("\u5E73\u5E38\u4F7F\u7528\u7684\u4F5C\u696D\u7CFB\u7D71\uFF1F","Commonly used operating systems?"),config:{type:"multi-option",options:u(["Windows 10","Windows 11","Windows 7 or XP","Ubuntu Linux","Debian Linux","Arch Linux","Fedora Linux","Redhat Linux","Kali Linux","alpine linux","WSL2","CentOS (including Stream & Rocky Linux)","openSUSE Linux","macOS","Chrome OS Flex"]),maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"commonly_used_web_browsers",required:!0,question:e("\u6700\u5E38\u4F7F\u7528\u7684\u700F\u89BD\u5668\uFF1F","Commonly used web browsers?"),config:{type:"multi-option",options:u(["Google Chrome","Mozilla Firefox","Apple Safari","Microsoft Edge","Vivaldi","Brave","Opera","Yandex","Internet Explorer","UC Browser","Arc"]),maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"commonly_used_database",required:!0,question:e("\u6700\u5E38\u4F7F\u7528\u7684\u8CC7\u6599\u5EAB\uFF1F","Commonly used database?"),config:{type:"multi-option",options:u(["MySQL","MariaDB","PostgreSQL","Microsoft SQL Server","MongoDB","Redis","SQLite","Elasticsearch","Oracle Database","CouchDB","Neo4j","ClickHouse","don\u2019t use"]),maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Guard",to:$s}],[{type:"Field",key:"know_license",required:!0,question:e("\u807D\u904E\u8207\u4E86\u89E3\u54EA\u4E9B\u5E38\u898B\u81EA\u7531\u53CA\u958B\u653E\u539F\u59CB\u78BC\u8EDF\u9AD4\u6388\u6B0A\u689D\u6B3E\uFF1F","What is some Free and Open Source Software license agreements you have heard of and know?"),config:{type:"multi-option",options:u(["MIT","ISC","WTFPL","(L/A)GPL 2.0","(L/A)GPL 3.0","MPL","Apache 2.0","BSD","Creative Commons license"]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"is_sponsored_open_source",required:!0,question:e("\u662F\u5426\u66FE\u7D93\u4ED8\u8CBB\u6216\u8D0A\u52A9\u904E\u4EFB\u4F55\u958B\u6E90\u5C08\u6848\u6216\u8CA2\u737B\u8005\uFF1F","Have you ever paid for or sponsored any open source projects or contributors?"),config:{type:"single-option",options:[{text:e("\u662F","Yes"),value:!0},{text:e("\u5426","No"),value:!1}]}},{type:"Field",key:"is_open_source_no_paid",required:!0,question:e("\u4F60\u77E5\u9053\u958B\u6E90\u4E0D\u610F\u5473\u8005\u4E00\u5B9A\u8981\u514D\u8CBB\u55CE\uFF1F","Do you know that open source doesn't mean it has to be free?"),config:{type:"single-option",options:[{text:e("\u662F","Yes"),value:!0},{text:e("\u5426","No"),value:!1}]}},{type:"Field",key:"is_rely_open_source",required:!0,question:e("\u4F60\u7684\u5DE5\u4F5C\u4E2D\u6709\u4F7F\u7528\u6216\u4F9D\u8CF4\u958B\u6E90\u55CE\uFF1F","Do you use or rely on open source in your work?"),config:{type:"single-option",options:[{text:e("\u662F","Yes"),value:!0},{text:e("\u5426","No"),value:!1}]}},{type:"Field",key:"commonly_used_open_source_software",required:!0,question:e("\u4F60\u6700\u5E38\u4F7F\u7528\u7684\u958B\u6E90\u8EDF\u9AD4\u662F\uFF1F","Commonly used open source software?"),config:{type:"multi-option",options:u(["Mozilla Firefox","Chromium","Mozilla Thunderbird","Linux (Android)","Libre Office","Open Office","GIMP","Krita","Blender"]),maxChosen:3,other:{text:e("\u5176\u4ED6","Other")}}},{type:"Guard",to:$s}],[{type:"Field",key:"why_promote_open_source",required:!0,question:e("\u4F60\u70BA\u4EC0\u9EBC\u9858\u610F\u63A8\u5EE3\u958B\u653E\u539F\u59CB\u78BC\u7684\u7CBE\u795E\uFF1F","Why are you willing to promote open source? Please select all that apply."),config:{type:"multi-option",options:n([["\u6211\u70BA\u4EBA\u4EBA \u4EBA\u4EBA\u70BA\u6211","One for all, all for one"],["\u5C0D\u8077\u696D\u751F\u6DAF\u6709\u5E6B\u52A9","For professional growth"],["\u88AB\u67D0\u4E9B\u958B\u767C\u8005\u611F\u52D5","Moved by, inspired by some developers"],["\u670B\u53CB\u5F37\u529B\u63A8\u5751","It was highly recommend by a friend"],["\u77E5\u8B58\u70BA\u4EBA\u985E\u5171\u540C\u8CC7\u7522\u61C9\u7576\u5171\u4EAB\u5F97\u4EE5\u6700\u5927\u5316\u6548\u76CA","Knowledge is a common asset of humanity and should be shared to maximize its benefits"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"how_promote_open_source",required:!0,question:e("\u4F60\u5E73\u5E38\u5982\u4F55\u63A8\u5EE3\u958B\u653E\u539F\u59CB\u78BC\u7684\u7CBE\u795E\uFF1F","How do you usually promote open source? Please select all that apply."),config:{type:"multi-option",options:n([["\u63A8\u5EE3\u5927\u5BB6\u4F7F\u7528\u958B\u6E90\u8EDF\u9AD4","Recommend people to use open source software"],["\u8207\u670B\u53CB\u79D1\u666E\u4F55\u8B02\u958B\u6E90","Introduce friends to open source"]]),other:{text:e("\u5176\u4ED6","Other")}}}],[{type:"Field",key:"what_hope_coscup",required:!0,question:e("\u4F60\u5E0C\u671B\u80FD\u5728 COSCUP \u5927\u6703\u4E2D\u6709\u4EC0\u9EBC\u6536\u7A6B\uFF1F","What do you hope to get out of COSCUP? Please select all that apply."),config:{type:"multi-option",options:n([["\u4E86\u89E3\u958B\u653E\u539F\u59CB\u78BC","Understand open source "],["\u8A8D\u8B58\u65B0\u670B\u53CB","Meet new people"],["\u7372\u53D6\u65B0\u77E5","Gain new knowledge"],["\u5B78\u7FD2\u65B0\u6280\u8853","Learn new technologies"],["\u8207\u597D\u670B\u53CB\u4EA4\u6D41","Connect with friends"],["\u8207\u5176\u4ED6\u793E\u7FA4\u4EA4\u6D41","Interact with other communities"]]),other:{text:e("\u5176\u4ED6","Other")}}},{type:"Field",key:"what_swag_in_coscup",question:e("\u4F60\u60F3\u7372\u5F97\u7684\u6524\u4F4D\u5C0F\u7269\uFF1F","What's a swag that you wish to get?"),config:{type:"multi-text"}},{type:"Field",key:"what_from_booth_in_coscup",question:e("\u4F60\u5E0C\u671B\u5728\u6524\u4F4D\u7372\u5F97\u7684\u8CC7\u8A0A\uFF1F","What do you want to learn the most from the booth?"),config:{type:"multi-text"}},{type:"Field",key:"where_is_codepecker",question:e("\u4F60\u7684\u5C0F\u5544\u73FE\u5728\u5F85\u5728\u54EA\u88E1\uFF1F\u4F60\u5728 COSCUP \u8CB7\u7684\u5404\u7A2E\u7D00\u5FF5\u54C1\u6216\u8005\u62FF\u7684\u5C0F\u7269\u6709\u653E\u5728\u54EA\u90A3\u908A\u6216\u8005\u4F7F\u7528\u55CE\uFF1F","Where is your codepecker now? Have you placed or used the various souvenirs or small items you bought or received at COSCUP anywhere?"),config:{type:"multi-text"}},{type:"Field",key:"technology_follow",question:e("\u4F60\u5E73\u5E38\u6709\u63A5\u89F8\u54EA\u4E9B\u79D1\u6280\u3001\u6280\u8853\u6216\u958B\u6E90\u7684\u65B0\u805E\u4F86\u6E90\u5462\uFF1F","What technology, technique, or open-source news sources do you usually follow?"),config:{type:"multi-text"}},{type:"Field",key:"is_allow_coc",question:"",required:!0,config:{type:"agree",question:e("\u6211\u5DF2\u95B1\u8B80\u8207\u77AD\u89E3 COSCUP \u7684 CoC","I have read and understood COSCUP\u2019s Code of Conduct (CoC).")},inline:!0},{type:"Coc"},{type:"Captcha"},{type:"Guard",to:Ac(e)},{type:"Guard",to:_c(e)}]]},va=e=>{const t={captchaToken:""},n=u=>{u.type==="FormStartup"||u.type==="Explain"||u.type==="FormEnd"||u.type==="Coc"||u.type==="Captcha"||u.type==="Guard"||(t[u.key]=(()=>u.config.type==="multi-option"?[]:u.config.type==="agree"?!1:"")())};return e.forEach(u=>{Array.isArray(u)?u.forEach(n):n(u)}),t};export{oi as $,en as A,xa as B,Mc as C,Ic as D,wa as E,ae as F,va as G,jc as H,Da as I,zc as J,Aa as K,Gs as L,Oc as M,wc as N,Bc as O,Dc as P,ar as Q,Nn as R,bt as S,Jt as T,fu as U,fr as V,xc as W,pr as X,Ou as Y,cr as Z,gc as _,Qr as a,wt as a$,Sc as a0,Tc as a1,vc as a2,Y as a3,fi as a4,kc as a5,Pc as a6,Be as a7,Rn as a8,bc as a9,fa as aA,En as aB,vl as aC,ea as aD,at as aE,ia as aF,mr as aG,Ui as aH,ji as aI,ju as aJ,Wi as aK,qi as aL,Ji as aM,Jn as aN,Vi as aO,Ki as aP,$i as aQ,Wu as aR,Hu as aS,Mi as aT,Cr as aU,Zc as aV,$c as aW,ha as aX,Qt as aY,Bs as aZ,bi as a_,yn as aa,wr as ab,pe as ac,Hc as ad,Dt as ae,Nc as af,Gc as ag,Zt as ah,be as ai,Ne as aj,Ue as ak,ga as al,al as am,la as an,cl as ao,Vc as ap,qc as aq,na as ar,ua as as,ta as at,kt as au,ht as av,Uu as aw,yl as ax,xl as ay,Tt as az,Fn as b,wl as b0,pa as b1,Yc as b2,Xc as b3,oa as b4,aa as b5,ra as b6,xr as b7,Sl as b8,hi as b9,Lc as ba,Ii as bb,Uc as bc,ca as bd,sa as be,da as bf,Rc as bg,to as bh,Ca as bi,Gu as bj,ba as bk,Gl as bl,ma as bm,hc as bn,Ba as bo,Hs as bp,ya as bq,oc as br,dc as bs,_a as bt,Ea as bu,gl as c,qu as d,Je as e,Kr as f,ic as g,Qc as h,ie as i,ne as j,Pn as k,Du as l,Fl as m,kn as n,Yn as o,eu as p,_n as q,Jc as r,Wr as s,ts as t,Fa as u,lo as v,gs as w,Wc as x,Kc as y,Ar as z}; diff --git a/assets/main.4527def1.css b/assets/main.4527def1.css new file mode 100644 index 00000000..319d4146 --- /dev/null +++ b/assets/main.4527def1.css @@ -0,0 +1 @@ +.base[data-v-767bd2f2]{border:1px solid var(--5bfd4b29);text-align:start;background:none;color:var(--5bfd4b29);padding:6px;font-size:1.2rem;overflow:hidden;position:relative;line-height:34px;cursor:pointer}.base[data-v-767bd2f2]:hover,.base[data-v-767bd2f2]:active{color:var(--text-color);background:var(--5bfd4b29)}.base[data-v-5766c0bb]{display:flex;justify-content:flex-start;align-items:center;border:1px solid var(--primary-color);text-align:start;background:none;color:var(--primary-color);padding:6px;font-size:1.2rem;overflow:hidden;position:relative;user-select:none}.base input[type=checkbox][data-v-5766c0bb]{margin:10px}.base.active[data-v-5766c0bb]{background:var(--primary-color);color:var(--text-color)}.base[data-v-324261ac]{display:flex;justify-content:flex-start;align-items:flex-end}.base input[data-v-324261ac]{width:100%;border:1px solid var(--primary-color);background:var(--background-color);color:var(--primary-color);padding:6px;font-size:1.2rem;line-height:34px}.base span[data-v-324261ac]{margin-left:2px;font-size:.8rem}.base[data-v-8909342e]{display:flex;justify-content:flex-start;align-items:flex-end}.base[data-v-72bea821]{display:flex;justify-content:flex-start;align-items:center;border:1px solid var(--primary-color);text-align:start;background:none;color:var(--primary-color);padding:6px;font-size:1.2rem;overflow:hidden;position:relative;user-select:none}.base input[type=radio][data-v-72bea821]{margin:10px}.base.active[data-v-72bea821]{background:var(--primary-color);color:var(--text-color)}.base[data-v-07bf621a]{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}.base textarea[data-v-07bf621a]{border:1px solid var(--primary-color);background:none;color:var(--primary-color);padding:6px;font-size:1.2rem;line-height:34px}.base span[data-v-07bf621a]{margin-left:2px;font-size:.8rem;text-align:end}.base[data-v-789a0d96]{position:relative}.base .error[data-v-789a0d96]{position:absolute;left:15px;bottom:5px;color:red;font-size:.9rem}.base.inline[data-v-201f6e56]{display:flex;justify-content:flex-start;align-items:center;padding:5px 10px}.base.inline .question[data-v-201f6e56]{margin:0 10px;flex:1 1 40px}.base.inline .answer[data-v-201f6e56]{flex:4 4 200px}.base.inline .answer>*[data-v-201f6e56]{flex:1;max-width:unset;padding:5px}.base .question[data-v-201f6e56]{color:var(--text-color);font-size:1.2rem;white-space:pre-line}.base .required[data-v-201f6e56]{color:red;font-size:1.2rem}.base .answer[data-v-201f6e56]{display:flex;justify-content:flex-start;align-items:stretch;flex-wrap:wrap;padding:0}.base .answer>*[data-v-201f6e56]{box-sizing:border-box;flex:1 1 25%;padding:10px}.base .answer>*>*[data-v-201f6e56]{box-sizing:border-box;height:100%}@media screen and (max-width: 600px){.base .answer>*[data-v-201f6e56]{box-sizing:border-box;flex:1 1 50%;padding:10px}}.base[data-v-91c58f90]{padding:10px}.base .text[data-v-91c58f90]{font-size:1rem;text-align:end}.base .bar[data-v-91c58f90]{position:relative;border:2px solid var(--primary-color);height:6px}.base .bar .iterator[data-v-91c58f90]{position:absolute;top:0;left:0;bottom:0;right:0;background:var(--primary-color)}.base2[data-v-223401c4]{flex:1 1;height:100%;position:relative;padding-bottom:50px;box-sizing:border-box}h1[data-v-223401c4]{font-size:1.4rem;word-break:keep-all}.description[data-v-223401c4]{font-size:1.2rem;text-align:start}.branding[data-v-223401c4]{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center}.base[data-v-07b69b6b]{flex:1 1}h1[data-v-07b69b6b]{font-size:1.4rem}.description[data-v-07b69b6b]{padding:12px;white-space:pre-line;font-size:1.3rem}.opass[data-v-07b69b6b]{display:flex;flex-direction:column;justify-content:center;align-items:center}.opass img[data-v-07b69b6b]{width:70%;max-width:500px}.opass>*[data-v-07b69b6b]{margin:10px}a[data-v-07b69b6b]{text-align:center;display:block}.base[data-v-47220e87]{flex:1 1;display:flex;flex-direction:column;justify-content:center;align-items:center}h1[data-v-47220e87]{font-size:1.4rem}.description[data-v-47220e87]{font-size:1.2rem;text-align:start}.lds-ripple[data-v-47220e87]{display:inline-block;position:relative;width:80px;height:80px}.lds-ripple div[data-v-47220e87]{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:lds-ripple-47220e87 1s cubic-bezier(0,.2,.8,1) infinite}.lds-ripple div[data-v-47220e87]:nth-child(2){animation-delay:-.5s}@keyframes lds-ripple-47220e87{0%{top:36px;left:36px;width:0;height:0;opacity:1}to{top:0;left:0;width:72px;height:72px;opacity:0}}:root{--primary-color: #25C2A5;--text-color: #fff;--accent-color: #94E73A;--background-color: #282635}html,body{height:100%;min-height:100%;max-width:1200px;margin:0 auto;font-size:14px;background-color:var(--background-color)}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--text-color);text-align:center;height:100%;min-height:100%}#app .main{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;height:100%;min-height:100%}#app .main a{color:var(--primary-color)}#app .main .block{flex:1}#app .main .explain{text-align:start;margin:0 10px;padding:5px;background:gray;font-size:.9rem}#app .main .coc{text-align:start;margin:0 10px 5px;padding:5px;background:gray;font-size:.9rem}#app .main .coc a{color:var(--accent-color);text-decoration:none}#app .banner{width:100%}#app .footer{padding:10px}#app .footer .action{display:flex}#app .footer .action>*{flex:1 1;margin:10px} diff --git a/assets/main.fd0a1de2.js b/assets/main.fd0a1de2.js new file mode 100644 index 00000000..30b8b3d9 --- /dev/null +++ b/assets/main.fd0a1de2.js @@ -0,0 +1,3 @@ +var G=(e,o,t)=>new Promise((a,l)=>{var u=b=>{try{m(t.next(b))}catch(C){l(C)}},s=b=>{try{m(t.throw(b))}catch(C){l(C)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(u,s);m((t=t.apply(e,o)).next())});import{_ as x,d as y,u as ue,o as n,c as i,r as O,a as v,w as U,v as ne,b as c,e as r,i as k,f as g,t as f,n as M,g as se,h as F,j as V,m as z,k as ie,l as re,p as S,q as le,s as w,x as R,F as A,y as X,z as P,A as de,B as ce,C as K,D as W,E as J,G as pe,H as he,I as me,J as Y,K as ve}from"./Form.9acaa8e4.js";const fe={ref:"el",class:"base"},ge=y({__name:"BaseButton",props:{modelValue:Boolean,color:String},setup(e){return ue(o=>({"5bfd4b29":e.color})),(o,t)=>(n(),i("button",fe,[O(o.$slots,"default",{},void 0,!0)],512))}});var N=x(ge,[["__scopeId","data-v-767bd2f2"]]);const _e=["value"],ye=y({__name:"BaseCheckbox",props:{modelValue:[Boolean,Array],text:String,value:String},emits:["update:modelValue"],setup(e,{emit:o}){const t=e,a=v({get:()=>t.modelValue,set:u=>o("update:modelValue",u)}),l=v(()=>a.value===null?!1:t.value?Array.isArray(a.value)?a.value.includes(t.value):!1:!!a.value);return(u,s)=>(n(),i("label",{class:M({base:!0,active:c(l)})},[U(r("input",{"onUpdate:modelValue":s[0]||(s[0]=m=>k(a)?a.value=m:null),type:"checkbox",value:e.value},null,8,_e),[[ne,c(a)]]),O(u.$slots,"default",{},()=>[g(f(e.text),1)],!0)],2))}});var j=x(ye,[["__scopeId","data-v-5766c0bb"]]);const xe={class:"base"},be=["type","autocomplete","maxlength","readonly"],Ce={key:0},Ee=y({__name:"BaseText",props:{modelValue:String,max:{type:Number,default:20},inputType:{type:String,default:"text"},readonly:{type:Boolean,default:!1},autocomplete:String},emits:["update:modelValue"],setup(e,{emit:o}){const t=e,a=v({get:()=>t.modelValue,set:l=>o("update:modelValue",l)});return(l,u)=>{var s;return n(),i("div",xe,[U(r("input",{type:e.inputType,autocomplete:e.autocomplete,"onUpdate:modelValue":u[0]||(u[0]=m=>k(a)?a.value=m:null),maxlength:e.max,readonly:e.readonly},null,8,be),[[se,c(a)]]),e.readonly?F("",!0):(n(),i("span",Ce,f(`${(s=c(a))==null?void 0:s.length}/${e.max}`),1))])}}});var q=x(Ee,[["__scopeId","data-v-324261ac"]]);const Be={class:"base"},Ae=y({__name:"BaseOther",props:{modelValue:String,text:String,max:{type:Number,default:20},inputType:{type:String,default:"text"},autocomplete:String},emits:["update:modelValue"],setup(e,{emit:o}){const t=e,a=v({get:()=>t.modelValue,set:l=>o("update:modelValue",l)});return(l,u)=>(n(),i("div",Be,[g(f(e.text)+" ",1),V(q,z({modelValue:c(a),"onUpdate:modelValue":u[0]||(u[0]=s=>k(a)?a.value=s:null)},l.$props),null,16,["modelValue"])]))}});var Fe=x(Ae,[["__scopeId","data-v-8909342e"]]);const ke=["value"],Se=y({__name:"BaseRadio",props:{modelValue:String,text:String,value:String},emits:["update:modelValue"],setup(e,{emit:o}){const t=e,a=v({get:()=>t.modelValue,set:u=>o("update:modelValue",u)}),l=v(()=>t.value===a.value);return(u,s)=>(n(),i("label",{class:M({base:!0,active:c(l)})},[U(r("input",{"onUpdate:modelValue":s[0]||(s[0]=m=>k(a)?a.value=m:null),type:"radio",value:e.value},null,8,ke),[[ie,c(a)]]),O(u.$slots,"default",{},()=>[g(f(e.text),1)],!0)],2))}});var Q=x(Se,[["__scopeId","data-v-72bea821"]]);const we={class:"base"},Ve=["maxlength"],$e=y({__name:"BaseTextarea",props:{modelValue:String,max:{type:Number,default:400}},emits:["update:modelValue"],setup(e,{emit:o}){const t=e,a=v({get:()=>t.modelValue,set:l=>o("update:modelValue",l)});return(l,u)=>{var s;return n(),i("div",we,[U(r("textarea",{"onUpdate:modelValue":u[0]||(u[0]=m=>k(a)?a.value=m:null),maxlength:e.max},null,8,Ve),[[re,c(a)]]),r("span",null,f(`${(s=c(a))==null?void 0:s.length}/${e.max}`),1)])}}});var De=x($e,[["__scopeId","data-v-07bf621a"]]);const ze={class:"base"},Ie={key:0,class:"error"},Pe=y({__name:"BaseEmail",props:{modelValue:{type:String,required:!0},lang:String},emits:["update:modelValue"],setup(e,{emit:o}){const t=e,a=v({get:()=>t.modelValue,set:u=>o("update:modelValue",u)}),l=v(()=>{if(a.value==="")return"";if(!/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/.test(a.value))return t.lang==="zh"?"\u932F\u8AA4\u7684 Email \u683C\u5F0F":"Invalid email format";const[u,s]=a.value.split("@");return/[gmail]{4,5}/.test(s)&&s!=="gmail.com"?"gmail.com?":""});return(u,s)=>(n(),i("div",ze,[V(q,{modelValue:c(a),"onUpdate:modelValue":s[0]||(s[0]=m=>k(a)?a.value=m:null),inputType:"email",autocomplete:"email",max:99},null,8,["modelValue"]),c(l)?(n(),i("div",Ie,f(c(l)),1)):F("",!0)]))}});var Oe=x(Pe,[["__scopeId","data-v-789a0d96"]]);const Ue={key:0,class:"question"},qe={key:0,class:"required"},Te={class:"answer"},Re=y({__name:"BaseField",props:{lang:{type:String,required:!0},modelValue:{required:!0},inline:{type:Boolean,default:!1},required:{type:Boolean,default:!1},question:{type:String},config:{type:Object,required:!0}},emits:["update:modelValue"],setup(e,{emit:o}){const t=e,a="iKoUaUTvgFpV4p",l=v(()=>t.config.type==="text"||t.config.type==="multi-text"?"":t.config.type==="multi-option"?[]:t.config.type==="agree"?!1:null),u=v({get:()=>{var p;let d=(p=t.modelValue)!=null?p:l.value;return t.config.type==="single-option"&&!t.config.options.map(h=>h.value).includes(d)&&d!==""?(s.value=d,a):(t.config.type==="multi-option"&&Array.isArray(d)&&(d=d.map(h=>t.config.type==="multi-option"&&!t.config.options.map(_=>_.value).includes(h)&&h!==""?(s.value=h,a):h)),d)},set:d=>{var h;let p=d;if(t.config.type==="single-option"&&d===a&&(p=s.value),t.config.type==="multi-option"){Array.isArray(p)&&(p.length>((h=t.config.maxChosen)!=null?h:Number.MAX_SAFE_INTEGER)&&p.splice(0,1),p=s.value?p.map(_=>_===a?s.value:_):p.filter(_=>_!==a)),o("update:modelValue",p);return}o("update:modelValue",p)}}),s=S("");le(s,(d,p)=>{t.config.type==="single-option"&&p===u.value&&(u.value=d),t.config.type==="multi-option"&&Array.isArray(u.value)&&(u.value=u.value.map(h=>h===p?d:h))});const m=v(()=>t.config.type==="text"?{is:q,max:t.config.maxLength,inputType:t.config.inputType,autocomplete:t.config.autocomplete}:t.config.type==="multi-text"?{is:De,max:t.config.maxLength}:t.config.type==="agree"?{is:j,text:t.config.question}:t.config.type==="email"?{is:Oe,lang:t.lang}:[...t.config.options.map(d=>({is:t.config.type==="single-option"?Q:j,text:d.text,value:d.value})),...t.config.other?[{is:t.config.type==="single-option"?Q:j,text:Fe,textProps:{text:t.config.other.text},value:a}]:[]]),b=(d,p)=>t.lang==="zh"?d:p,C=d=>typeof d!="string";return(d,p)=>(n(),i("section",{class:M({base:!0,inline:e.inline})},[e.question?(n(),i("h3",Ue,[O(d.$slots,"default",{},()=>[g(f(`${e.question}${e.config.type==="multi-option"&&e.config.maxChosen?b(`(\u6700\u591A\u9078 ${e.config.maxChosen} \u9805)`,`(Select up to ${e.config.maxChosen} items)`):""}`),1)],!0),e.required?(n(),i("span",qe,"*")):F("",!0)])):F("",!0),r("div",Te,[Array.isArray(c(m))?(n(!0),i(A,{key:1},X(c(m),h=>(n(),i("div",null,[(n(),w(R(h.is),z(h,{modelValue:c(u),"onUpdate:modelValue":p[2]||(p[2]=_=>k(u)?u.value=_:null)}),{default:P(()=>[C(h.text)?(n(),w(R(h.text),z({key:0},h.textProps,{modelValue:s.value,"onUpdate:modelValue":p[1]||(p[1]=_=>s.value=_)}),null,16,["modelValue"])):F("",!0)]),_:2},1040,["modelValue"]))]))),256)):(n(),w(R(c(m).is),z({key:0},c(m),{modelValue:c(u),"onUpdate:modelValue":p[0]||(p[0]=h=>k(u)?u.value=h:null)}),null,16,["modelValue"]))])],2))}});var je=x(Re,[["__scopeId","data-v-201f6e56"]]);const Le={class:"base"},Ne={class:"text"},He={class:"bar"},Me=y({__name:"BaseProgress",props:{modelValue:{type:Number,required:!0}},setup(e){return(o,t)=>(n(),i("div",Le,[r("div",Ne,"Finished: "+f(e.modelValue)+"%",1),r("div",He,[r("div",{class:"iterator",style:de({right:`${100-e.modelValue}%`})},null,4)])]))}});var Ke=x(Me,[["__scopeId","data-v-91c58f90"]]);const $=e=>(K("data-v-223401c4"),e=e(),W(),e),We={class:"base2"},Ge=g(" COSCUP 2024 \u53C3\u8207\u8005\u5927\u8ABF\u67E5 "),Je=g(" COSCUP 2024 Attendee Survey "),Qe={class:"description"},Ze=$(()=>r("li",null,"\u9001\u51FA\u8868\u55AE\u5373\u53EF\u53D6\u5F97 OPass \u7968\u5238\uFF0C\u900F\u904E\u51FA\u793A QR Code \u53C3\u8207\u5927\u5730\u904A\u6232\uFF0C\u5373\u53EF\u7372\u5F97\u9EDE\u6578\u5230\u5927\u6703\u6524\u4F4D\u514C\u63DB\u7CBE\u7F8E\u7D00\u5FF5\u54C1\u5594\uFF01",-1)),Xe=$(()=>r("li",null,[g("\u6BCF\u5E74 Stack Overflow \u90FD\u6703\u767C\u8868 "),r("a",{href:"https://survey.stackoverflow.co/2023/"},"Developer Survey"),g("\uFF0C\u8B93\u5927\u5BB6\u4E86\u89E3 Stack Overflow \u793E\u7FA4\u53C3\u8207\u8005\u7684\u7D44\u6210\u3002\u8EAB\u70BA\u4E9E\u6D32\u6700\u5927\u958B\u6E90\u5E74\u6703\uFF0C\u6211\u5011\u4E5F\u8981\u4F86\u5927\u8ABF\u67E5\uFF0C\u8B93\u5927\u5BB6\u53EF\u4EE5\u4E00\u7ABA COSCUP \u7684\u8207\u6703\u8005\u6A23\u8C8C\uFF01")],-1)),Ye=$(()=>r("li",null,"\u672C\u6B21\u8ABF\u67E5\u76EE\u7684\u70BA\u4E86\u89E3 COSCUP \u53D7\u773E\u7684\u7FA4\u9AD4\u72C0\u6CC1\uFF0C\u4E0D\u6703\u8490\u96C6\u4EFB\u4F55\u8DB3\u4EE5\u8FA8\u8B58\u500B\u4EBA\u7684\u8CC7\u6599\uFF0C\u8ACB\u653E\u5FC3\u586B\u5BEB\u3002\u7D71\u8A08\u7D50\u679C\u9810\u8A08\u65BC\u5E74\u6703\u9032\u884C\u4E2D\u516C\u958B\uFF0C\u4E26\u6301\u7E8C\u958B\u653E\u586B\u5BEB\uFF0C\u5728\u5E74\u6703\u7D50\u675F\u5F8C\u5B8C\u6210\u6700\u5F8C\u7D71\u8A08\u4E26\u516C\u958B\u3002",-1)),et=$(()=>r("li",null,"Fill out the survey to get OPass ticket, use QR Code to join booth reward activity, collect points to get souvenir!",-1)),tt=$(()=>r("li",null,"Every year, Stack Overflow publishes a Developer Survey for people to get to know the Stack Overflow community. As Asia's largest open source conference, we're doing this survey to give you a glimpse of COSCUP attendees!",-1)),at=$(()=>r("li",null,"The purpose of this survey is to understand the demographics of the COSCUP audience. We will collect no personally identifiable information. We'll release the survey results during the COSCUP, and the survey will be open for completion after the conference.",-1)),ot=$(()=>r("div",{class:"branding"},[g(" Source code: "),r("a",{href:"https://github.com/COSCUP/2024-survey",target:"_blank"},[r("img",{src:"https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white",alt:"Github"})])],-1)),ut=y({__name:"FormStartup",props:{modelValue:String},emits:["update:modelValue"],setup(e,{emit:o}){const t=e,a=v({get:()=>t.modelValue,set:l=>o("update:modelValue",l)});return(l,u)=>(n(),i("section",We,[r("h1",null,[c(a)==="zh"?(n(),i(A,{key:0},[Ge],64)):(n(),i(A,{key:1},[Je],64))]),r("ul",Qe,[c(a)==="zh"?(n(),i(A,{key:0},[Ze,Xe,Ye],64)):(n(),i(A,{key:1},[et,tt,at],64))]),V(ce,{modelValue:c(a),"onUpdate:modelValue":u[0]||(u[0]=s=>k(a)?a.value=s:null),options:[{text:"\u4E2D",value:"zh"},{text:"En",value:"en"}]},null,8,["modelValue"]),ot]))}});var nt=x(ut,[["__scopeId","data-v-223401c4"]]);const st=e=>(K("data-v-07b69b6b"),e=e(),W(),e),it={class:"base"},rt={class:"description"},lt={class:"description"},dt=st(()=>r("a",{href:"https://i.coscup.org/3vSpn26"},"https://i.coscup.org/3vSpn26",-1)),ct={class:"opass"},pt=["src"],ht=["href"],mt=y({__name:"FormEnd",props:{token:String,t:{type:Function,required:!0}},setup(e){const o=e,t=v(()=>`https://opass.app/r/COSCUP_2024/${o.token}`),a=S(""),l=()=>G(this,null,function*(){yield navigator.clipboard.writeText(t.value),a.value=o.t("\u8907\u88FD\u6210\u529F\uFF0C\u8ACB\u50B3\u5230\u667A\u6167\u578B\u624B\u6A5F\u4E26\u6253\u958B\u3002","Copy success, Please send and open in your smartphone."),setTimeout(()=>a.value="",1e3)}),u=()=>{window.localStorage.removeItem("ccip_token"),window.location.reload()};return(s,m)=>(n(),i("section",it,[r("p",rt,f(e.t(`\u611F\u8B1D\u4F60\u7684\u56DE\u7B54\uFF0C\u6211\u5011\u5C07\u6703\u5728 COSCUP \u7576\u5929\u516C\u4F48\u7D71\u8A08\u7D50\u679C\uFF0C\u76E1\u8ACB\u671F\u5F85\u3002 +\u60A8\u53EF\u4EE5\u900F\u904E\u4EE5\u4E0B\u7DB2\u5740\u5B89\u88DD\u4E26\u767B\u5165 OPass\uFF0C\u900F\u904E App \u53C3\u8207\u5927\u5730\u904A\u6232\u53CA\u63A5\u6536\u8B70\u7A0B\u53CA\u516C\u544A\u7B49\u5E74\u6703\u7B2C\u4E00\u624B\u8CC7\u8A0A\u3002`,`Thank you for completing our survey! We will announce the result on the day of COSCUP. Please stay tuned! +Here is the link to install the OPass app on your phone. You can join booth reward activity and get all the information (sessions & events) about COSCUP 2024 through the OPass app.`)),1),r("p",lt,[g(f(e.t("\u586B Attendee Survey, \u62BD IntelliJ IDEA \u4E00\u5E74\u671F\u8EDF\u9AD4\u6388\u6B0A! \u7531\u6B64\u53BB","Fill out the Attendee Survey for a chance to win a one-year software license for IntelliJ IDEA! Click here to participate."))+" ",1),dt]),r("div",ct,[r("img",{src:`https://quickchart.io/qr?text=${c(t)}&size=500`},null,8,pt),r("a",{class:"button",href:c(t)},[V(N,{color:"#94E73A"},{default:P(()=>[g(f(e.t("\u6253\u958B OPass APP","Open OPass APP")),1)]),_:1})],8,ht),V(q,{readonly:"","model-value":c(t),onClick:l},null,8,["model-value"]),g(" "+f(a.value),1)]),V(N,{color:"#94E73A",onClick:u},{default:P(()=>[g(f(e.t("\u79FB\u9664\u6B64\u88DD\u7F6E\u7684\u53C3\u8207\u6191\u8B49\u4E26\u91CD\u586B\u554F\u5377","Remove the participation certificate from the device and refill the survey.")),1)]),_:1})]))}});var vt=x(mt,[["__scopeId","data-v-07b69b6b"]]);const ft=e=>(K("data-v-47220e87"),e=e(),W(),e),gt={class:"base"},_t=ft(()=>r("div",{class:"lds-ripple"},[r("div"),r("div")],-1)),yt={key:0},xt=y({__name:"FormLoading",props:{modelValue:String,text:String},emits:["update:modelValue"],setup(e,{emit:o}){const t=e;return v({get:()=>t.modelValue,set:a=>o("update:modelValue",a)}),(a,l)=>(n(),i("section",gt,[_t,e.text?(n(),i("h2",yt,f(e.text),1)):F("",!0)]))}});var bt=x(xt,[["__scopeId","data-v-47220e87"]]);const Ct={class:"main"},Et=r("img",{class:"banner",src:me,alt:"COSCUP 2024 Developer Survey"},null,-1),Bt={key:0,class:"block"},At={key:0,class:"explain"},Ft={key:4,class:"coc"},kt=Y(' \u8ACB\u5C0A\u91CD\u6240\u6709\u4EBA\u3002 \u5982\u679C\u89BA\u5F97\u88AB\u5192\u72AF\u6216\u4E0D\u53D7\u5C0A\u91CD\u6642\uFF0C\u8ACB\u660E\u78BA\u52F8\u544A\u5C0D\u65B9\u505C\u624B\uFF0C\u4ECD\u7121\u6CD5\u89E3\u6C7A\u6642\u8ACB\u627E\u793E\u7FA4\u5925\u4F34\u5354\u52A9\uFF0C\u6216\u806F\u7E6B\u5927\u6703\u5DE5\u4F5C\u4EBA\u54E1\u3002 \u5982\u7D93\u5927\u6703\u5224\u65B7\u78BA\u5BE6\u70BA\u5192\u72AF\u9A37\u64FE\u60C5\u4E8B\uFF0C\u5927\u6703\u5C07\u660E\u78BA\u516C\u544A\u4E26\u8ACB\u5176\u96E2\u5834\u3002 ',10),St=Y('

Be respectful of other people. Respectfully ask people to stop if you are bothered, and if you can\u2019t resolve an issue, contact any ally you may know, or the event staff. If you engage in that behavior (offensive or disruptive), you\u2019ll be asked to leave.

',2),wt={key:3,class:"footer"},Vt={class:"action"},$t={href:"https://coscup.org/2024-survey/report",target:"_blank"},Dt=y({__name:"App",setup(e){var _;const t=S((()=>window.navigator.language.includes("zh")?"zh":"en")()),a=S(0),l=(D,I)=>t.value==="zh"?D:I,u=v(()=>J(l,s.value)),s=S(pe(J(l,{captchaToken:""}))),m=v(()=>u.value[a.value]),b=v(()=>Math.floor(a.value/u.value.length*100)),C=S(""),d=S((_=window.localStorage.getItem("ccip_token"))!=null?_:""),p="b281a373-2fc9-4359-9e15-ce908cd2a64c",h=D=>{s.value.captchaToken=D};return S([]),(D,I)=>{const oe=he("VueHcaptcha");return n(),i("main",Ct,[Et,!d.value&&!C.value?(n(),i("div",Bt,[(n(!0),i(A,null,X(c(m),E=>(n(),i(A,null,[E.type==="Explain"?(n(),i("div",At,f(E.text),1)):E.type==="FormStartup"?(n(),w(nt,{key:1,modelValue:t.value,"onUpdate:modelValue":I[0]||(I[0]=T=>t.value=T)},null,8,["modelValue"])):E.type==="Field"?(n(),w(je,z({key:2,lang:t.value,modelValue:s.value[E.key],"onUpdate:modelValue":T=>s.value[E.key]=T},E),null,16,["lang","modelValue","onUpdate:modelValue"])):E.type==="Captcha"?(n(),w(oe,{key:3,sitekey:c(p),theme:"dark",onVerify:h},null,8,["sitekey"])):E.type==="Coc"?(n(),i("div",Ft,[t.value==="zh"?(n(),i(A,{key:0},[kt],64)):(n(),i(A,{key:1},[St],64))])):F("",!0)],64))),256))])):C.value?(n(),w(bt,{key:1,text:C.value},null,8,["text"])):d.value?(n(),w(vt,{key:2,t:l,token:d.value},null,8,["token"])):F("",!0),!C.value&&!d.value?(n(),i("div",wt,[V(Ke,{"model-value":c(b)},null,8,["model-value"]),r("div",Vt,[r("a",$t,[V(N,{style:{"margin-top":"10px",width:"100%","text-align":"center"},color:"#25C2A5"},{default:P(()=>[g(f(t.value==="zh"?"\u67E5\u770B\u8ABF\u67E5\u7D50\u679C":"View survey report"),1)]),_:1})])])])):F("",!0)])}}}),Z="hcaptcha-api-script-id",ee="_hcaptchaOnLoad";let H,te;const L=new Promise((e,o)=>{H=e,te=o});function zt(e){if(window.hcaptcha)return H(),L;if(document.getElementById(Z))return L;window[ee]=H;const o=It(e),t=document.createElement("script");return t.id=Z,t.src=o,t.async=!0,t.defer=!0,t.onerror=a=>{console.error("Failed to load api: "+o,a),te("Failed to load api.js")},document.head.appendChild(t),L}function It(e){let o=e.apiEndpoint;return o=B(o,"render","explicit"),o=B(o,"onload",ee),o=B(o,"recaptchacompat",e.reCaptchaCompat===!1?"off":null),o=B(o,"hl",e.language),o=B(o,"sentry",e.sentry),o=B(o,"endpoint",e.endpoint),o=B(o,"assethost",e.assethost),o=B(o,"imghost",e.imghost),o=B(o,"reportapi",e.reportapi),o}function B(e,o,t){if(t!=null){const a=e.includes("?")?"&":"?";return e+a+o+"="+encodeURIComponent(t)}return e}var Pt=(e,o)=>{for(const[t,a]of o)e[t]=a;return e};const Ot={name:"VueHcaptcha",props:{sitekey:{type:String,required:!0},theme:{type:String,default:void 0},size:{type:String,default:void 0},tabindex:{type:String,default:void 0},language:{type:String,default:void 0},reCaptchaCompat:{type:Boolean,default:!0},challengeContainer:{type:String,default:void 0},rqdata:{type:String,default:void 0},sentry:{type:Boolean,default:!0},apiEndpoint:{type:String,default:"https://hcaptcha.com/1/api.js"},endpoint:{type:String,default:void 0},reportapi:{type:String,default:void 0},assethost:{type:String,default:void 0},imghost:{type:String,default:void 0}},data:()=>({widgetId:null,hcaptcha:null,renderedCb:null}),mounted(){return zt(this.$props).then(this.onApiLoaded).catch(this.onError)},unmounted(){this.teardown()},destroyed(){this.teardown()},methods:{teardown(){this.widgetId&&(this.hcaptcha.reset(this.widgetId),this.hcaptcha.remove(this.widgetId))},onApiLoaded(){this.hcaptcha=window.hcaptcha;const e={sitekey:this.sitekey,theme:this.theme,size:this.size,tabindex:this.tabindex,callback:this.onVerify,"expired-callback":this.onExpired,"chalexpired-callback":this.onChallengeExpired,"error-callback":this.onError,"open-callback":this.onOpen,"close-callback":this.onClose};this.challengeContainer&&(e["challenge-container"]=this.challengeContainer),this.widgetId=this.hcaptcha.render(this.$el,e),this.rqdata&&this.hcaptcha.setData(this.widgetId,{rqdata:this.rqdata}),this.onRendered()},execute(){this.widgetId?(this.hcaptcha.execute(this.widgetId),this.onExecuted()):this.renderedCb=()=>{this.renderedCb=null,this.execute()}},reset(){this.widgetId?(this.hcaptcha.reset(this.widgetId),this.onReset()):this.$emit("error","Element is not rendered yet and thus cannot reset it. Wait for `rendered` event to safely call reset.")},onRendered(){this.$emit("rendered"),this.renderedCb&&this.renderedCb()},onExecuted(){this.$emit("executed")},onReset(){this.$emit("reset")},onError(e){this.$emit("error",e),this.reset()},onVerify(){const e=this.hcaptcha.getResponse(this.widgetId),o=this.hcaptcha.getRespKey(this.widgetId);this.$emit("verify",e,o)},onExpired(){this.$emit("expired")},onChallengeExpired(){this.$emit("challengeExpired")},onOpen(){this.$emit("opened")},onClose(){this.$emit("closed")}}},Ut={id:"hcap-script"};function qt(e,o,t,a,l,u){return n(),i("div",Ut)}var Tt=Pt(Ot,[["render",qt]]);const ae=ve(Dt);ae.component("VueHcaptcha",Tt);ae.mount("#app"); diff --git a/assets/report.1acfd855.css b/assets/report.1acfd855.css new file mode 100644 index 00000000..937fbc7b --- /dev/null +++ b/assets/report.1acfd855.css @@ -0,0 +1 @@ +:root{--primary-color: #25C2A5;--text-color: #fff;--accent-color: #94E73A;--background-color: #282635}html,body{margin:0;font-size:14px;background-color:var(--background-color);scroll-behavior:smooth}*{box-sizing:border-box}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--text-color);text-align:center}#app .main{width:min(100vw - 32px,1200px);margin:0 auto}#app .main .banner{width:100%;border-radius:16px;margin:16px 0;border:2px solid rgba(255,255,255,.1);box-shadow:0 0 8px rgba(0,0,0,.1)}#app .main a{color:var(--primary-color)}#app .main section{border-radius:16px;padding:16px;border:2px solid rgba(255,255,255,.1);box-shadow:0 0 8px rgba(0,0,0,.1);background-color:#333043}#app .main .list{margin:16px 0}@media screen and (min-width: 769px){#app .main .list{column-count:2;gap:16px}}#app .main .list>section{max-width:calc(100vw - 32px);break-inside:avoid;scroll-margin-top:16px}#app .main .list>section h2 .question-link{opacity:.5;transition:opacity .2s ease-in-out;text-decoration:none}#app .main .list>section h2:hover .question-link{opacity:1}#app .main .list>section:target{animation:highlight-border .4s ease}#app .main .list>section:not(:first-child){margin-top:16px}@keyframes highlight-border{0%{border:2px solid rgb(255,255,255)}to{border:2px solid rgba(255,255,255,.1)}} diff --git a/assets/report.ed7c427c.js b/assets/report.ed7c427c.js new file mode 100644 index 00000000..954308ef --- /dev/null +++ b/assets/report.ed7c427c.js @@ -0,0 +1,787 @@ +var De=(N,G,Y)=>new Promise((X,D)=>{var T=H=>{try{M(Y.next(H))}catch(K){D(K)}},j=H=>{try{M(Y.throw(H))}catch(K){D(K)}},M=H=>H.done?X(H.value):Promise.resolve(H.value).then(T,j);M((Y=Y.apply(N,G)).next())});import{L as ti,R as ii,M as ai,N as si,O as ri,P as oi,Q as ni,S as li,T as hi,i as ci,U as di,V as ui,W as gi,X as pi,Y as fi,Z as xi,p as Je,$ as mi,a0 as bi,a1 as vi,a2 as yi,a3 as wi,a4 as ki,a5 as Si,a6 as Ai,b as xt,a7 as Ci,a8 as Pi,n as Li,a9 as Mi,A as mt,t as tt,aa as Ti,ab as Ei,ac as Ii,F as bt,ad as zi,ae as Xi,af as Fi,ag as Di,ah as Ri,ai as Oi,aj as Yi,ak as Hi,al as Ni,a as Qe,s as it,h as vt,c as Re,e as de,am as Wi,an as Bi,ao as Gi,ap as _i,J as Vi,f as at,j as yt,aq as ji,d as wt,ar as Ui,as as qi,at as Zi,au as $i,av as Ki,aw as Ji,ax as Qi,ay as ea,az as ta,aA as ia,aB as aa,aC as sa,aD as ra,aE as oa,aF as na,m as la,aG as ha,aH as ca,aI as da,aJ as ua,aK as ga,aL as pa,aM as fa,aN as kt,aO as xa,aP as ma,aQ as ba,aR as va,aS as ya,o as Te,D as wa,aT as ka,C as Sa,aU as Aa,aV as Ca,y as St,r as Pa,H as At,aW as La,x as Ma,aX as Ta,aY as Ea,aZ as Ia,a_ as za,a$ as Xa,b0 as Fa,b1 as Da,b2 as Ra,b3 as Oa,b4 as Ya,b5 as Ha,b6 as Na,b7 as Wa,b8 as Ba,b9 as Ga,q as _a,ba as Va,bb as ja,bc as Ua,bd as qa,z as Za,be as $a,w as Ka,bf as Ja,bg as Qa,bh as es,bi as ts,bj as is,K as Ct,bk as as,bl as ss,bm as rs,bn as os,bo as ns,bp as ls,bq as hs,u as cs,v as ds,g as us,k as gs,br as ps,l as fs,bs as xs,bt as ms,bu as bs,_ as vs,B as ys,I as ws,E as ks}from"./Form.9acaa8e4.js";const Ss=()=>{};var As=Object.freeze(Object.defineProperty({__proto__:null,compile:Ss,EffectScope:ti,ReactiveEffect:ii,customRef:ai,effect:si,effectScope:ri,getCurrentScope:oi,isProxy:ni,isReactive:li,isReadonly:hi,isRef:ci,isShallow:di,markRaw:ui,onScopeDispose:gi,proxyRefs:pi,reactive:fi,readonly:xi,ref:Je,shallowReactive:mi,shallowReadonly:bi,shallowRef:vi,stop:yi,toRaw:wi,toRef:ki,toRefs:Si,triggerRef:Ai,unref:xt,camelize:Ci,capitalize:Pi,normalizeClass:Li,normalizeProps:Mi,normalizeStyle:mt,toDisplayString:tt,toHandlerKey:Ti,BaseTransition:Ei,Comment:Ii,Fragment:bt,KeepAlive:zi,Static:Xi,Suspense:Fi,Teleport:Di,Text:Ri,callWithAsyncErrorHandling:Oi,callWithErrorHandling:Yi,cloneVNode:Hi,compatUtils:Ni,computed:Qe,createBlock:it,createCommentVNode:vt,createElementBlock:Re,createElementVNode:de,createHydrationRenderer:Wi,createPropsRestProxy:Bi,createRenderer:Gi,createSlots:_i,createStaticVNode:Vi,createTextVNode:at,createVNode:yt,defineAsyncComponent:ji,defineComponent:wt,defineEmits:Ui,defineExpose:qi,defineProps:Zi,get devtools(){return $i},getCurrentInstance:Ki,getTransitionRawChildren:Ji,guardReactiveProps:Qi,h:ea,handleError:ta,initCustomFormatter:ia,inject:aa,isMemoSame:sa,isRuntimeOnly:ra,isVNode:oa,mergeDefaults:na,mergeProps:la,nextTick:ha,onActivated:ca,onBeforeMount:da,onBeforeUnmount:ua,onBeforeUpdate:ga,onDeactivated:pa,onErrorCaptured:fa,onMounted:kt,onRenderTracked:xa,onRenderTriggered:ma,onServerPrefetch:ba,onUnmounted:va,onUpdated:ya,openBlock:Te,popScopeId:wa,provide:ka,pushScopeId:Sa,queuePostFlushCb:Aa,registerRuntimeCompiler:Ca,renderList:St,renderSlot:Pa,resolveComponent:At,resolveDirective:La,resolveDynamicComponent:Ma,resolveFilter:Ta,resolveTransitionHooks:Ea,setBlockTracking:Ia,setDevtoolsHook:za,setTransitionHooks:Xa,ssrContextKey:Fa,ssrUtils:Da,toHandlers:Ra,transformVNodeArgs:Oa,useAttrs:Ya,useSSRContext:Ha,useSlots:Na,useTransitionState:Wa,version:Ba,warn:Ga,watch:_a,watchEffect:Va,watchPostEffect:ja,watchSyncEffect:Ua,withAsyncContext:qa,withCtx:Za,withDefaults:$a,withDirectives:Ka,withMemo:Ja,withScopeId:Qa,Transition:es,TransitionGroup:ts,VueElement:is,createApp:Ct,createSSRApp:as,defineCustomElement:ss,defineSSRCustomElement:rs,hydrate:os,initDirectivesForSSR:ns,render:ls,useCssModule:hs,useCssVars:cs,vModelCheckbox:ds,vModelDynamic:us,vModelRadio:gs,vModelSelect:ps,vModelText:fs,vShow:xs,withKeys:ms,withModifiers:bs},Symbol.toStringTag,{value:"Module"}));const Cs={props:["config"],data(){return{showChart:!1}},methods:{checkInViewport(){if(this.showChart)return;const N=this.$refs["chart-wrapper"];if(N){const G=N.getBoundingClientRect(),Y=window.innerHeight||document.documentElement.clientHeight;G.top>=-100&&G.top<=Y+100&&(this.showChart=!0)}}},mounted(){window.addEventListener("scroll",this.checkInViewport),this.checkInViewport(),setTimeout(()=>{this.checkInViewport()},100)},beforeDestroy(){window.removeEventListener("scroll",this.checkInViewport)},computed:{chartData(){const{labels:N,datas:G}=this.config.data;var Y=[];return G.map((X,D)=>{N[D]!=="\u7121\u8CC7\u6599"&&Y.push({y:X,x:N[D]})}),Y.filter(X=>X.y>=1)},series(){if(this.config){if(this.config.type=="bar")return[{name:this.config.question,data:this.chartData}];if(this.config.type=="pie")return this.chartData.map(N=>N.y)}return null},chartOptions(){if(this.config){let N={colors:["#33B2DF","#D4526E","#13D8AA","#5800FF","#A5978B","#4ECDC4","#C7F464","#81D4FA","#546E7A","#FD6A6A","#F5C7A9","#D1512D","#411530","#FF8FB1","#FFC107","#FFEB3B"],chart:{id:`chart_${this.config.key}`,type:this.config.type,background:"transparent",toolbar:{show:!1}},markers:{size:0},plotOptions:{bar:{horizontal:!0,distributed:!0}},dataLabels:{textAnchor:"end",dropShadow:{enabled:!1},background:{enabled:!0,opacity:.8,blur:1,foreColor:"#000"}},tooltip:{fillSeriesColor:!1},theme:{mode:"dark",palette:"palette3"},legend:{position:"top"},xaxis:{categories:this.chartData.map(G=>G.x)},stroke:{show:!1}};return this.config.type=="bar"&&(N.legend.show=!1),this.config.type=="pie"&&(N.labels=this.chartData.map(G=>G.x)),N}return null},height(){if(this.config){if(this.config.type=="bar")return`${this.chartData.length*24+100}px`;if(this.config.type=="pie")return"512px"}return"auto"}}},Ps=["id"],Ls={ref:"chart-wrapper"},Ms=["href"];function Ts(N,G,Y,X,D,T){const j=At("apexchart");return Te(),Re("section",{id:Y.config.key},[de("h2",Ls,[de("a",{class:"question-link",href:`#${Y.config.key}`},"#",8,Ms),at(" "+tt(Y.config.question),1)],512),de("div",{style:mt(`height: ${T.height}`)},[Y.config&&D.showChart?(Te(),it(j,{key:0,width:"100%",height:T.height,options:T.chartOptions,series:T.series},null,8,["height","options","series"])):vt("",!0)],4)],8,Ps)}var Es=vs(Cs,[["render",Ts]]);const Is=[{key:"is_take",type:"pie",question:"\u662F\u5426\u9858\u610F\u586B\u5BEB COSCUP 2024 \u53C3\u8207\u8005\u5927\u8ABF\u67E5\u554F\u5377\uFF1F",data:{labels:["\u662F","\u5426"],datas:[561,165]}},{key:"age",type:"pie",question:"\u4F60\u7684\u5E74\u9F61\uFF1F",data:{labels:["18 \u6B72\u4EE5\u4E0B","19-24 \u6B72","25-34 \u6B72","35-44 \u6B72","45-54 \u6B72","55-64 \u6B72","65\u6B72\u4EE5\u4E0A","\u4E0D\u65B9\u4FBF\u544A\u77E5","\u7121\u8CC7\u6599"],datas:[35,158,231,93,29,12,2,1,165]}},{key:"gender",type:"pie",question:"\u4F60\u7684\u6027\u5225\uFF1F",data:{labels:["\u7537","\u5973","\u4E0D\u65B9\u4FBF\u544A\u77E5","\u975E\u4E8C\u5143\u3001\u6027\u5225\u9177\u5152\u3001\u6027\u5225\u6D41\u52D5\u3001\u9593\u6027\u5225\u6216\u7121\u6027\u5225","\u7121\u8CC7\u6599","j","\u6230\u9B25"],datas:[406,130,13,10,165,1,1]}},{key:"education_level",type:"pie",question:"\u4F60\u7684\u6559\u80B2\u7A0B\u5EA6\uFF1F",data:{labels:["\u570B\u5C0F","\u570B\u4E2D","\u9AD8\u4E2D/\u9AD8\u8077","\u5C08\u79D1","\u5B78\u58EB","\u78A9\u58EB","\u535A\u58EB","\u7121\u8CC7\u6599","P"],datas:[3,5,52,14,244,229,13,165,1]}},{key:"current_primary_residence",type:"pie",question:"\u4F60\u76EE\u524D\u7684\u4E3B\u8981\u5C45\u4F4F\u5730\uFF1F",data:{labels:["\u4E9E\u6D32","\u6B50\u6D32","\u5317\u7F8E\u6D32","\u4E2D\u5357\u7F8E\u6D32","\u5927\u6D0B\u6D32","\u975E\u6D32","\u7121\u8CC7\u6599","m"],datas:[542,10,2,0,6,0,165,1]}},{key:"nationality",type:"pie",question:"\u4F60\u7684\u570B\u7C4D\uFF1F",data:{labels:["\u53F0\u7063","\u9999\u6E2F","\u4E2D\u570B\u5927\u9678","\u82F1\u570B","\u7F8E\u570B","\u52A0\u62FF\u5927","\u65E5\u672C","\u97D3\u570B","\u6FB3\u6D32","\u83F2\u5F8B\u8CD3","\u65B0\u52A0\u5761","\u6CD5\u570B","\u5FB7\u570B","\u7121\u8CC7\u6599","T","\u4E2D\u83EF\u6C11\u570B","B","M","\u99AC\u4F86","N","\u6FB3","Indonesia","\u99AC\u4F86\u897F\u4E9E","P","X","Czech","A"],datas:[512,12,1,0,5,6,2,1,1,1,0,1,4,165,1,1,1,3,1,1,1,1,1,1,1,1,1]}},{key:"work_status",type:"bar",question:"\u4EE5\u4E0B\u54EA\u9805\u6700\u80FD\u5F62\u5BB9\u4F60\uFF1F\u8ACB\u9078\u64C7\u6240\u6709\u9069\u7528\u7684\u9078\u9805\u3002",data:{labels:["\u5168\u8077\u54E1\u5DE5","\u5168\u8077\u5B78\u751F","\u81EA\u71DF\u5546\u3001SOHO \u6216 \u81EA\u7531\u5DE5\u4F5C\u8005","\u534A\u8077\u5B78\u751F","\u76EE\u524D\u672A\u5C31\u696D\uFF0C\u4F46\u5728\u627E\u5DE5\u4F5C\u4E2D","\u534A\u8077\u54E1\u5DE5","\u76EE\u524D\u672A\u5C31\u696D\uFF0C\u4F46\u5C0D\u5DE5\u4F5C\u4E0D\u611F\u8208\u8DA3","\u4E0D\u65B9\u4FBF\u544A\u77E5","\u5DF2\u9000\u4F11"],datas:[301,162,46,36,33,15,5,5,2]}},{key:"work_job",type:"bar",question:"\u4EE5\u4E0B\u54EA\u9805\u6700\u80FD\u5F62\u5BB9\u4F60\u76EE\u524D\u7684\u5DE5\u4F5C\uFF1F\u8ACB\u9078\u64C7\u6240\u6709\u9069\u7528\u7684\u9078\u9805\u3002",data:{labels:["\u5B78\u751F","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u5F8C\u7AEF","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u5168\u7AEF","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u524D\u7AEF","\u958B\u767C\u904B\u7DAD\u5DE5\u7A0B\u5E2B","\u7CFB\u7D71\u7BA1\u7406\u54E1","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u5D4C\u5165\u5F0F\u61C9\u7528\u7A0B\u5E8F\u6216\u8A2D\u5099","\u5C08\u6848\u7BA1\u7406","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u81EA\u52D5\u5316","\u7DB2\u7AD9\u53EF\u9760\u6027\u5DE5\u7A0B\u5DE5\u7A0B\u5E2B","\u8CC7\u6599\u5DE5\u7A0B\u5E2B","\u8CC7\u6599\u79D1\u5B78\u5BB6\u6216\u6A5F\u5668\u5B78\u7FD2\u4EBA\u54E1","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u624B\u6A5F","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u684C\u9762\u6216\u4F01\u696D\u61C9\u7528","\u76EE\u524D\u672A\u5C31\u696D","\u7522\u54C1\u7D93\u7406","\u8A2D\u8A08\u5E2B","\u8CC7\u6599\u5EAB\u7BA1\u7406\u54E1","\u9AD8\u5C64\u7BA1\u7406\u8005\uFF08\u9996\u5E2D\u9577\u3001\u7E3D\u7D93\u7406\u7B49\uFF09","\u5B78\u8853\u7814\u7A76\u4EBA\u54E1","\u5DE5\u7A0B\u5E2B\u7D93\u7406","\u6559\u80B2\u4EBA\u54E1","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u54C1\u8CEA\u4FDD\u8B49\u6216\u6E2C\u8A66","\u8CC7\u6599\u6216\u5546\u696D\u5206\u6790\u4EBA\u54E1","\u884C\u92B7\u76F8\u95DC\u4EBA\u54E1","\u92B7\u552E\u696D\u52D9\u4EBA\u54E1","\u57F9\u8A13\u8B1B\u5E2B/\u9867\u554F","\u7E3D\u52D9\u884C\u653F\u4EBA\u54E1","\u6280\u8853\u54E1","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005, \u904A\u6232\u6216\u5716\u50CF","\u6578\u4F4D\u96FB\u8DEF\u8A2D\u8A08\u5DE5\u7A0B\u5E2B","\u4EBA\u529B\u8CC7\u6E90\u7BA1\u7406\u4EBA\u54E1","\u91D1\u878D\u76F8\u95DC\u4EBA\u54E1","\u8B6F\u8005","\u9867\u554F","DX Engineer","\u8CC7\u5B89\u5DE5\u7A0B\u5E2B","\u651D\u5F71\u5E2B / \u5BEB\u7A0B\u5F0F\u662F\u8208\u8DA3","CEO","prefer not to say","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005\uFF0C\u7CFB\u7D71\u8EDF\u9AD4","Firmware Engineer","Hobbyist","\u8077\u54E1","Solution Architect","\u96F2\u7AEF\u7CFB\u7D71\u5DE5\u7A0B\u5E2B","\u97CC\u9AD4\u5DE5\u7A0B\u5E2B","Cyber Security Engin","teams\u5DE5\u7A0B\u5E2B","Unaffiliated researc","Java\u5DE5\u7A0B\u5E2B\u5B78\u7FD2\u4E2D"," "],datas:[159,142,98,76,70,50,42,37,35,35,31,30,29,26,26,20,19,18,17,17,16,13,11,11,11,10,10,5,5,4,3,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"job_time",type:"pie",question:"\u4F60\u5F9E\u4E8B\u76F8\u95DC\u5DE5\u4F5C\u591A\u4E45\u4E86\uFF1F",data:{labels:["< 1 \u5E74","1 - 4 \u5E74","5 - 9 \u5E74","10 - 14 \u5E74","15 - 19 \u5E74","20 - 24 \u5E74","25 to 29 \u5E74","> 30 \u5E74","\u7121\u8CC7\u6599"],datas:[114,201,116,58,30,22,10,10,165]}},{key:"job_industry",type:"bar",question:"\u4F60\u5728\u54EA\u500B\u7522\u696D\u5DE5\u4F5C\u6216\u662F\u53C3\u8207\u6700\u591A\u7684\u7522\u696D\uFF1F\u8ACB\u9078\u64C7\u6240\u6709\u9069\u7528\u7684\u9078\u9805\u3002",data:{labels:[["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D","- \u8EDF\u9AD4\u53CA\u7DB2\u8DEF\u76F8\u95DC\u696D"],["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D","- \u96FB\u8166\u53CA\u6D88\u8CBB\u6027\u96FB\u5B50\u88FD\u9020\u696D"],["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D","- \u96FB\u4FE1\u53CA\u901A\u8A0A\u76F8\u95DC\u696D"],"\u6587\u6559\u76F8\u95DC\u696D",["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D","- \u534A\u5C0E\u9AD4\u696D"],"\u91D1\u878D\u6295\u9867\u53CA\u4FDD\u96AA\u696D",["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D","- \u96FB\u5B50\u96F6\u7D44\u4EF6\u76F8\u95DC\u696D"],"\u653F\u5E9C\u516C\u5171\u884C\u653F","\u4E00\u822C\u670D\u52D9\u696D","\u91AB\u7642\u4FDD\u5065\u53CA\u793E\u6703\u798F\u5229",["\u96FB\u5B50\u8CC7\u8A0A/\u8EDF\u9AD4/\u534A\u5C0E\u9AD4\u76F8\u95DC\u696D","- \u5149\u96FB\u53CA\u5149\u5B78\u76F8\u95DC\u696D"],"\u85DD\u8853/\u65C5\u904A/\u5A1B\u6A02\u4F11\u9592/\u904B\u52D5\u696D","\u5927\u773E\u50B3\u64AD\u76F8\u95DC\u696D","\u4F4F\u5BBF/\u9910\u98F2\u670D\u52D9\u696D","\u4E00\u822C\u88FD\u9020\u696D","\u5B78\u751F","\u5EFA\u7BC9\u71DF\u9020\u53CA\u4E0D\u52D5\u7522\u76F8\u95DC\u696D","\u904B\u8F38\u7269\u6D41\u53CA\u5009\u5132\u696D","\u6279\u767C/\u96F6\u552E\u696D","\u6CD5\u5F8B/\u6703\u8A08/\u9867\u554F/\u7814\u767C","\u653F\u6CBB\u53CA\u5B97\u6559","\u8FB2\u6797\u6F01\u7267\u6C34\u96FB\u8CC7\u6E90\u696D","\u7121","\u5B78\u8853\u7814\u7A76","\u751F\u7269\u6280\u8853","N/A","prefer not to say","\u76EE\u524D\u5B78\u751F","\u570B\u9632","\u8077\u54E1"," ","\u96FB\u529B\u7CFB\u7D71\u6578\u4F4D\u5316","\u5B78\u6821","\u4E0A\u5B78"],datas:[350,78,70,38,30,27,26,23,21,19,18,15,14,10,9,9,8,7,5,5,5,4,3,1,1,1,1,1,1,1,1,1,1,1]}},{key:"job_salary",type:"pie",question:"\u4F60\u76EE\u524D\u7684\u7E3D\u5E74\u85AA\u662F\u591A\u5C11\uFF08\u6263\u7A0E\u524D\u7684\u85AA\u8CC7\u3001\u734E\u91D1\u548C\u5E74\u7D42\uFF09\uFF1F\u5982\u679C\u4F60\u662F\u6309\u7167\u5C0F\u6642\u8A08\u916C\uFF0C\u8ACB\u4F30\u7B97\u5927\u7D04\u7684\u5E74\u85AA\u3002(\u4EE5\u81FA\u5E63\u70BA\u55AE\u4F4D)",data:{labels:["0 - 36\u842C","36\u842C - 60\u842C","60\u842C - 84\u842C","84\u842C - 108\u842C","108\u842C - 132\u842C","132\u842C - 156\u842C","156\u842C - 180\u842C","180\u842C - 204\u842C","204\u842C\u4EE5\u4E0A","\u4E0D\u65B9\u4FBF\u544A\u77E5","\u7121\u8CC7\u6599"],datas:[156,58,73,74,32,24,21,7,34,82,165]}},{key:"is_hear_open_source",type:"pie",question:"\u662F\u5426\u807D\u904E\u958B\u653E\u539F\u59CB\u78BC\uFF1F",data:{labels:["\u662F","\u5426","\u7121\u8CC7\u6599"],datas:[534,27,165]}},{key:"how_know_open_source",type:"bar",question:"\u4F60\u662F\u5982\u4F55\u8A8D\u8B58\u958B\u653E\u539F\u59CB\u78BC\uFF1F",data:{labels:["\u958B\u6E90\u793E\u7FA4","\u7DB2\u8DEF\u8AD6\u58C7","\u89AA\u53CB\u4ECB\u7D39","\u5B78\u6821\u8001\u5E2B/\u5927\u5B78\u6559\u6388",["\u793E\u7FA4\u5A92\u9AD4(FB,","IG, Twitter, Plurk...)"],"\u5DE5\u4F5C\u9700\u6C42","\u5B78\u6821\u793E\u5718","\u6D3B\u52D5/\u8B1B\u5EA7","\u7DB2\u8DEF\u65B0\u805E","\u516C\u53F8\u540C\u4E8B","\u5831\u7AE0\u96DC\u8A8C","\u96FB\u8996\u65B0\u805E","\u81EA\u5B78\u5076\u7136\u4E86\u89E3","OCF",",\u81EA\u5B78","\u540C\u5B78"],datas:[267,171,158,144,139,111,109,103,48,40,17,2,1,1,1,1]}},{key:"encounter_COSCUP",type:"bar",question:"\u4F60\u5728\u54EA\u908A\u9047\u5230\u4E86 COSCUP\uFF1F",data:{labels:["\u53C3\u8207 SITCON \u7CFB\u5217\u6D3B\u52D5","\u53C3\u8207 PyCON \u7CFB\u5217\u6D3B\u52D5","\u53C3\u8207 HITCON","\u53C3\u8207 g0v Summit","\u53C3\u8207 MOPCON","\u53C3\u8207 FOSDEM","\u7121","\u53C3\u8207 \u9999\u6E2F\u958B\u6E90\u5E74\u6703","\u53C3\u8207 FOSSAISA","\u53C3\u8207 OSPN.jp \u7CFB\u5217\u6D3B\u52D5","\u53C3\u8207 SCaLE","\u670B\u53CB","\u670B\u53CB\u4ECB\u7D39","\u7DB2\u8DEF","\u53C3\u8207 \u4E2D\u56FD\u5F00\u6E90\u5E74\u4F1A","\u5FD8\u4E86","\u958B\u6E90\u793E\u7FA4","\u5176\u4ED6","friend","\u89AA\u53CB\u4ECB\u7D39","N/A","fb","OSDC","?","\u6C92\u6709","\u540C\u4E8B\u4ECB\u7D39","COSCUP","Friend","\u53F0\u79D1\u5927","Coscup","\u7DB2\u8DEF\u770B\u5230","Fb","\u4E0D\u660E\u767D\u9019\u984C\u7684\u610F\u601D","\u540C\u5B78\u4ECB\u7D39","\u7DB2\u8DEF\u65B0\u805E","2006 COSCUP","WordPress Taiwan com","Twitter","jserv facebook","\u7DB2\u8DEF\u4E0A\u770B\u5230","\u66AB\u7121","Hancock Chang","company","OSFC","LinkedIn","\u5FD8\u8A18\u4E86 XD","\u672A\u53C3\u52A0","\u6C92","Jserv","DIGI Gold Card","\u670B\u53CB\u5E36\u4F86\u7684","\u53C3\u52A0 COSCUP 2019","na","\u793E\u7FA4\u5206\u4EAB","\u670B\u53CB\u8AAA\u7684","NA","\u793E\u5718","\u7DB2\u8DEF\u8CBC\u6587","\u4E0D\u77E5\u9053","\u5BA2\u6236\u901A\u77E5","Online","\u9996\u6B21\u53C3\u8207coscup","n/a","\u900F\u904E\u89AA\u53CB","\u89AA\u53CB\u5206\u4EAB","\u8001\u5E2B\u63A8\u85A6","\u76EE\u524D\u6C92\u6709\u53C3\u8207\u904E","\u7686\u975E","slat","\u521D\u59CB","\u5FD8\u8A18\u4E86","\u6F14\u8B1B\u8005","Social media","none","Taiwan ","\u670B\u53CB\u81C9\u66F8","\u5B78\u6821","\u5C1A\u7121","\u4EE5\u4E0A\u7686\u975E","\u7DB2\u969B\u7DB2\u8DEF","\u539F\u672C\u5C31\u77E5\u9053","\u9084\u6C92\u9047\u5230","Walk in","\u5B78\u9577\u4ECB\u7D39","\u793E\u7FA4\u5BA3\u50B3","\u670B\u53CB\u63A8\u85A6","FHIR"," cntug","\u5F88\u4E45\u5F88\u4E45\u4EE5\u524D...","ICOS","OpenFoundry","\u958B\u6E90\u9999\u6E2F","\u66FE\u7D93\u662F\u8B1B\u8005","\u53C3\u8207\u7C4C\u5099","\u81EA\u5DF1\u77E5\u9053","\u53C3\u8207coscup","\u9019\u88E1\uFF0C\u6211\u7B2C\u4E00\u6B21\u4F86","Club","\u6559\u6388","\u770B\u4E0D\u592A\u61C2\uFF08\uFF1F","\u5225\u4EBA\u4ECB\u7D39\uFF0C\u53C3\u52A0\u904E","GDSC","\u4EE5\u4E0A\u7686\u7121","\u793E\u7FA4\u7DB2\u7AD9","\u4EE5\u524D\u4F86\u904E","LOUCA 2023","\u53C3\u8207 sciwork","from Wikidata ","\u540C\u5B78\u63A8\u85A6","Lucien","HPCxAI","\u89AA\u53CB","\u5176\u4ED6\u55AE\u4F4D\u6D3B\u52D5","\u5225\u4EBA\u4ECB\u7D39","Hack Thursday ","\u5F88\u65E9\u5C31\u807D\u8AAA","Scale in Pasadena","\u91AB\u7642\u8CC7\u8A0A\u5354\u6703","\u4E0D\u7406\u89E3","None","\u53C3\u8207KCD","\u7DB2\u8DEF\u793E\u7FA4","word of mouth","\u516C\u53F8\u7FA4\u7D44","\u807D\u5230\u8001\u5E2B\u4ECB\u7D39"],datas:[162,70,65,59,56,40,20,13,11,8,7,6,6,5,4,4,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"reasons_to_come_to_COSCUP",type:"bar",question:"\u4F60\u662F\u770B\u5230\u3001\u807D\u5230\u6216\u63A5\u89F8\u4E86\u4EC0\u9EBC\u800C\u4F86 COSCUP \u7684\u5462\uFF1F",data:{labels:["\u6211\u662F\u8001\u670B\u53CB\uFF01","\u89AA\u53CB\u4ECB\u7D39","\u6F14\u8B1B\u5BA3\u50B3","\u6524\u4F4D\u4ECB\u7D39","\u770B\u5230\u50B3\u55AE","\u96FB\u5B50\u5831\uFF1ACOSCUP","COSCUP \u7684 GitHub \u5C08\u6848","\u96FB\u5B50\u5831\uFF1AOCF \u6BCF\u6708\u96FB\u5B50\u5831","\u8A8D\u8B58\u7684\u4EBA\u662F\u8B1B\u8005","friend","\u770B\u540C\u4E8B\u6F14\u8B1B","WordPress Taiwan com","Hancock Chang","company","work","\u5FD8\u8A18\u4E86 XD","Jserv","\u793E\u7FA4\u5A92\u9AD4","\u91AB\u5B78\u8CC7\u8A0A\u5B78\u6703","\u7DB2\u8DEF\u8CBC\u6587","Yotube","\u5E36\u4F60\u8B80\u6E90\u78BC","\u5BA2\u6236\u544A\u77E5","GDG Taipei","Mastodon","Facebook ","\u8077\u5834\u4FE1\u4EF6","MOPCON","LibreOffice ","\u7DB2\u8DEF\u770B\u5230","\u5176\u4ED6\u55AE\u4F4D\u6D3B\u52D5","\u91AB\u5354\u9080\u8ACB","\u53C3\u8207KCD","\u7DB2\u8DEF\u793E\u7FA4","cloud native fb","\u807D\u5230\u8001\u5E2B\u4ECB\u7D39","Google"],datas:[220,192,71,47,38,29,16,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"platforms_to_receive_updates",type:"bar",question:"\u4F60\u6709\u5728\u4F7F\u7528\u54EA\u4E9B\u5E73\u81FA\u6301\u7E8C\u63A5\u6536\u958B\u6E90\u65B0\u77E5\u5462\uFF1F",data:{labels:["Faecbook","X (\u904E\u53BB\u7684 Twitter)",["\u8A02\u95B1","GitHub/GitLab \u7B49\u4EE3\u7BA1\u5E73\u81FA\u7684\u8CC7\u8A0A"],"LinkedIn","\u95DC\u6CE8\u793E\u7FA4\u8A0E\u8AD6 Mailing List","\u8A02\u95B1 \u539F\u5EE0\u7684\u96FB\u5B50\u5831","Plurk","RSS Reader","Mastodon","\u76EE\u524D\u6C92\u6709","Hacker News","Telegram ","\u7121","Ig","Faecbook \u6253\u932F\u4E86 ww","na","Yotube","discord","reddit","slack","\u5176\u5B83 weekly \u96FB\u5B50\u5831","\u89AA\u53CB\u6587\u6458","Discord ","thread","Slack","None","\u7DB2\u8DEF","Telegram","Podcast","\u90FD\u6C92\u6709","NONE","Discord","\u670B\u53CB\u4ECB\u7D39","medium"],datas:[349,172,162,135,84,49,40,38,34,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"open_source_role",type:"bar",question:"\u4F60\u5728\u958B\u653E\u539F\u59CB\u78BC\u7684\u904B\u52D5\u4E2D\u626E\u6F14\u7684\u89D2\u8272\uFF1F",data:{labels:["\u4F7F\u7528\u8005","\u958B\u767C\u8005","\u63A8\u5EE3\u8005"],datas:[481,198,137]}},{key:"commonly_used_languages",type:"bar",question:"\u904E\u53BB\u4E00\u5E74\u4E2D\uFF0C\u4F60\u6700\u5E38\u4F7F\u7528\u7684\u7A0B\u5F0F\u3001\u8173\u672C\u3001\u6A19\u8A18\u5F0F\u8A9E\u8A00\u662F\u4EC0\u9EBC\uFF1F",data:{labels:["Python","C++","JavaScript","C","Bash/Shell","HTML/CSS","TypeScript","SQL","Go","Java","Node.js","Markdown","PHP","Rust","C#","Kotlin","Swift","Matlab","R","APL","Assembly","Ruby","Dart","COBOL","Crystal","Perl","Scala","VBA","Other","Emacs Lisp","ENGLISH","\u4E2D\u6587","Clojure","Delphi","Elixir","Erlang","F#","Groovy","Haskell","Julia","LISP","Objective-C","PowerShell"],datas:[106,50,46,33,30,30,30,29,27,27,24,17,16,15,11,9,5,4,4,3,3,3,2,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0]}},{key:"favorite_languages",type:"bar",question:"\u559C\u6B61\u7684\u7A0B\u5F0F\u8A9E\u8A00\uFF1F",data:{labels:["Python","C","C++","Go","Rust","TypeScript","JavaScript","Java","Markdown","PHP","HTML/CSS","Kotlin","Node.js","SQL","C#","Bash/Shell","Ruby","Swift","Assembly","Perl","APL","Dart","Delphi","Haskell","COBOL","Crystal","Elixir","Erlang","LISP","Objective-C","PowerShell","R","Racket","ENGLISH","Clojure","F#","Groovy","Julia","Matlab","Scala","VBA","Other"],datas:[98,37,37,33,32,31,24,21,17,16,13,13,13,12,11,10,8,7,5,4,3,3,3,3,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0]}},{key:"annoying_languages",type:"bar",question:"\u8A0E\u53AD\u7684\u7A0B\u5F0F\u8A9E\u8A00\uFF1F",data:{labels:["C++","JavaScript","C","PHP","Java","Python","VBA","Assembly","C#","Other","Bash/Shell","HTML/CSS","Go","R","TypeScript","Matlab","Node.js","Objective-C","PowerShell","Rust","Ruby","APL","Dart","Erlang","Scala","Swift","\u7121","COBOL","Elixir","Haskell","Julia","LISP","Perl","SQL","Delphi","F#","Groovy","Kotlin","\u90FD\u4E0D\u8A0E\u53AD","Go Template","SAS","\u4F46\u559C\u6B61tidyverse","nothing","None","N/A","No","none","Clojure","Crystal","Markdown"],datas:[38,37,31,31,30,25,20,18,15,13,8,8,7,7,7,6,5,5,5,5,4,3,3,3,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0]}},{key:"commonly_develop_platforms",type:"bar",question:"\u6700\u5E38\u958B\u767C\u7684\u5E73\u81FA\uFF1F",data:{labels:["Web Backend","Web Frontend",["Server/infrastructure",""],"Desktop","Cloud",["AI","(Deep Learning/Machine Learning)"],"Mobile","IoT/Embedded","WebAssembly",["Consoles","(Xbox/PlayStation/Nintendo)"],["I","don't develop anything"],"Discord Bot","Emacs","\u793E\u7FA4\u8EDF\u9AD4 bot"],datas:[109,74,73,50,46,33,27,26,2,1,1,1,1,1]}},{key:"commonly_used_editors",type:"bar",question:"\u6700\u5E38\u4F7F\u7528\u7684\u7DE8\u8F2F\u5668\u6216 IDE \uFF1F",data:{labels:["Visual Studio Code","Vim",["JetBrains","Family (Intellij, PhpStorm, WebStorm)"],"Visual Studio","Sublime Text","Notepad++","GNU nano","Android Studio","XCode","Eclipse","Emacs","Kate","Atom","Brackets","Helix","Neovim ","Neovim","Zed","micro","Cursor"],datas:[141,83,44,29,24,21,17,14,11,8,7,2,1,1,1,1,1,1,1,1]}},{key:"commonly_used_os",type:"bar",question:"\u5E73\u5E38\u4F7F\u7528\u7684\u4F5C\u696D\u7CFB\u7D71\uFF1F",data:{labels:["macOS","Ubuntu Linux","Windows 11","Windows 10","Arch Linux","Debian Linux","WSL2","Kali Linux","Fedora Linux",["CentOS","(including Stream & Rocky Linux)"],"Windows 7 or XP","openSUSE Linux","Redhat Linux","alpine linux","Chrome OS Flex","NixOS","FreeBSD","Endless OS","PopOS","Gentoo Linux","Linux Mint"],datas:[94,91,81,61,28,25,15,9,6,4,3,3,2,2,2,2,2,1,1,1,1]}},{key:"commonly_used_web_browsers",type:"bar",question:"\u6700\u5E38\u4F7F\u7528\u7684\u700F\u89BD\u5668\uFF1F",data:{labels:["Google Chrome","Mozilla Firefox","Microsoft Edge","Apple Safari","Arc","Brave","Vivaldi","Opera","Yandex","Falkon","ARC","Internet Explorer","UC Browser"],datas:[141,77,58,47,22,18,3,2,1,1,1,0,0]}},{key:"commonly_used_database",type:"bar",question:"\u6700\u5E38\u4F7F\u7528\u7684\u8CC7\u6599\u5EAB\uFF1F",data:{labels:["MySQL","PostgreSQL","MongoDB","MariaDB","Redis","SQLite","Microsoft SQL Server","don\u2019t use","Elasticsearch","Neo4j","Oracle Database","ClickHouse","CouchDB","DynamoDB","\u7121","BigQuery","db2","DuckDB","N/A"],datas:[90,83,48,44,42,40,19,14,9,4,3,3,2,1,1,1,1,1,1]}},{key:"know_license",type:"bar",question:"\u807D\u904E\u8207\u4E86\u89E3\u54EA\u4E9B\u5E38\u898B\u81EA\u7531\u53CA\u958B\u653E\u539F\u59CB\u78BC\u8EDF\u9AD4\u6388\u6B0A\u689D\u6B3E\uFF1F",data:{labels:["MIT","Apache 2.0","(L/A)GPL 3.0","(L/A)GPL 2.0","BSD",["Creative","Commons license"],"MPL","ISC","WTFPL","\u7121","\u4E0D\u77E5\u9053","N","\u4E0D\u78BA\u5B9A","\u4E0D\u719F","\u6C92\u6709","None","NONE","\u6C92\u807D\u904E"],datas:[359,308,203,169,168,138,64,45,39,5,2,1,1,1,1,1,1,1]}},{key:"is_sponsored_open_source",type:"pie",question:"\u662F\u5426\u66FE\u7D93\u4ED8\u8CBB\u6216\u8D0A\u52A9\u904E\u4EFB\u4F55\u958B\u6E90\u5C08\u6848\u6216\u8CA2\u737B\u8005\uFF1F",data:{labels:["\u662F","\u5426","\u7121\u8CC7\u6599"],datas:[117,363,246]}},{key:"is_open_source_no_paid",type:"pie",question:"\u4F60\u77E5\u9053\u958B\u6E90\u4E0D\u610F\u5473\u8005\u4E00\u5B9A\u8981\u514D\u8CBB\u55CE\uFF1F",data:{labels:["\u662F","\u5426","\u7121\u8CC7\u6599"],datas:[427,53,246]}},{key:"is_rely_open_source",type:"pie",question:"\u4F60\u7684\u5DE5\u4F5C\u4E2D\u6709\u4F7F\u7528\u6216\u4F9D\u8CF4\u958B\u6E90\u55CE\uFF1F",data:{labels:["\u662F","\u5426","\u7121\u8CC7\u6599"],datas:[414,66,246]}},{key:"commonly_used_open_source_software",type:"bar",question:"\u4F60\u6700\u5E38\u4F7F\u7528\u7684\u958B\u6E90\u8EDF\u9AD4\u662F\uFF1F",data:{labels:["Linux (Android)","Chromium","Mozilla Firefox","Libre Office","Open Office","Blender","Mozilla Thunderbird","GIMP","Krita","\u7121","PostgreSQL","Kubernetes","Emacs","\u5C1A\u672A\u4F7F\u7528","PHP","coreboot","FreshRSS\u3001PI-hole","WordPress","Diffusers / PEFT","\u9B6F\u5730\u5716","FreeBSD","Pytorch","kubernetes","Gnome","AFNI","QMK, ZMK","GCC","LLVM","gitlab","React","\u53EA\u662F\u77E5\u9053\u4F46\u4E26\u672A\u958B\u59CB\u8F49\u63DB\u4F5C\u696D\u74B0\u5883","Home Assistant, OBS","QGIS","\u9084\u6C92","Logseq","vim","SRE\u76F8\u95DC","No","Docker","Evdi","Vscode","Ubuntu ","Discourse","gcc","Mattermost, GitLab","\u6C92\u6709","k8s","Grafana"],datas:[283,189,178,73,44,43,35,24,8,7,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"why_promote_open_source",type:"bar",question:"\u4F60\u70BA\u4EC0\u9EBC\u9858\u610F\u63A8\u5EE3\u958B\u653E\u539F\u59CB\u78BC\u7684\u7CBE\u795E\uFF1F",data:{labels:["\u6211\u70BA\u4EBA\u4EBA \u4EBA\u4EBA\u70BA\u6211","\u77E5\u8B58\u70BA\u4EBA\u985E\u5171\u540C\u8CC7\u7522\u61C9\u7576\u5171\u4EAB\u5F97\u4EE5\u6700\u5927\u5316\u6548\u76CA","\u5C0D\u8077\u696D\u751F\u6DAF\u6709\u5E6B\u52A9","\u88AB\u67D0\u4E9B\u958B\u767C\u8005\u611F\u52D5","\u670B\u53CB\u5F37\u529B\u63A8\u5751","Selfhost","\u5C0D\u79D1\u6280\u6709\u8208\u8DA3"],datas:[106,95,67,47,22,1,1]}},{key:"how_promote_open_source",type:"bar",question:"\u4F60\u5E73\u5E38\u5982\u4F55\u63A8\u5EE3\u958B\u653E\u539F\u59CB\u78BC\u7684\u7CBE\u795E\uFF1F",data:{labels:["\u63A8\u5EE3\u5927\u5BB6\u4F7F\u7528\u958B\u6E90\u8EDF\u9AD4","\u8207\u670B\u53CB\u79D1\u666E\u4F55\u8B02\u958B\u6E90","\u5E36\u4E00\u5806\u4EBA\u4F86\u53C3\u52A0\u6D3B\u52D5\uFF01\uFF01\uFF01","OSS work","\u8B93\u4ED6\u5011\u770B\u958B\u6E90\u6709\u6A5F\u6703\u53C3\u8207\u6539\u8B8A","\u88FD\u4F5C\u6DFA\u986F\u6613\u61C2\u7684\u6559\u5B78","\u81EA\u5DF1\u770B"],datas:[119,98,1,1,1,1,1]}},{key:"what_hope_coscup",type:"bar",question:"\u4F60\u5E0C\u671B\u80FD\u5728 COSCUP \u5927\u6703\u4E2D\u6709\u4EC0\u9EBC\u6536\u7A6B\uFF1F",data:{labels:["\u7372\u53D6\u65B0\u77E5","\u5B78\u7FD2\u65B0\u6280\u8853","\u4E86\u89E3\u958B\u653E\u539F\u59CB\u78BC","\u8A8D\u8B58\u65B0\u670B\u53CB","\u8207\u5176\u4ED6\u793E\u7FA4\u4EA4\u6D41","\u8207\u597D\u670B\u53CB\u4EA4\u6D41","Snacks"],datas:[532,483,411,396,261,249,1]}}],zs=[{key:"is_take",type:"pie",question:"Would you like to take the COSCUP 2024 attendee survey?",data:{labels:["Yes","No"],datas:[561,165]}},{key:"age",type:"pie",question:"What's your Age?",data:{labels:["Under 18 years old","19-24 years old","25-34 years old","35-44 years old","45-54 years old","55-64 years old","65 years or older","Prefer not to say","No data"],datas:[35,158,231,93,29,12,2,1,165]}},{key:"gender",type:"pie",question:"What's your gender?",data:{labels:["Man","Woman","Prefer not to say","Non-binary, genderqueer, or gender non-conforming","No data","j","\u6230\u9B25"],datas:[406,130,13,10,165,1,1]}},{key:"education_level",type:"pie",question:"What's your education level",data:{labels:["Primary/elementary school","Junior high school","Senior high school","Junior college","Bachelor's degree","Master's degree","Doctor's degree","No data","P"],datas:[3,5,52,14,244,229,13,165,1]}},{key:"current_primary_residence",type:"pie",question:"What's your current primary residence?",data:{labels:["Asia","Europe","North America","Central and South America","Oceania","Africa","No data","m"],datas:[542,10,2,0,6,0,165,1]}},{key:"nationality",type:"pie",question:"What's your nationality?",data:{labels:["Taiwan","Hong Kong","China","UK","U.S.A.","Canada","Japan","Korea","Australia","Philippines","Singapore","France","Germany","No data","T","\u4E2D\u83EF\u6C11\u570B","B","M","\u99AC\u4F86","N","\u6FB3","Indonesia","\u99AC\u4F86\u897F\u4E9E","P","X","Czech","A"],datas:[512,12,1,0,5,6,2,1,1,1,0,1,4,165,1,1,1,3,1,1,1,1,1,1,1,1,1]}},{key:"work_status",type:"bar",question:"Which of the following describe you, if any? Please check all that apply.",data:{labels:["Employed full-time","Student, full-time",["Independent","contractor, freelancer, or self-employed"],"Student, part-time",["Not","employed, but looking for work"],"Employed part-time",["Not","employed, and not looking for work"],"I prefer not to say","Retired"],datas:[301,162,46,36,33,15,5,5,2]}},{key:"work_job",type:"bar",question:"Which of the following describes your current job? Please select all that apply.",data:{labels:["Student","Developer, Back-end",["Developer,","Full-stack"],"Developer, Front-end","DevOps Engineer","System Administrator",["Developer,","Embedded Applications or Devices"],"Project Management",["Developer,","Automation"],["Engineer,","Site Reliability"],"Engineer, Data",["Data","Scientist or Machine Learning specialist"],"Developer, Mobile",["Developer,","Desktop or Enterprise Applications"],"Not employed","Product Manager","Designer",["Database","Administrator"],["Senior","Executive (C-Suite, VP, etc.)"],"Academic Researcher","Engineering Manager","Educator",["Developer,","QA or test"],["Data","or Business Analyst"],["Marketing-related","Professional"],["Business","or Sales Professional"],["Training","Instructor/Consultant"],"Administration Staff","Technician",["Developer,","Game or Graphics"],["Engineer,","Digital Circuit Design"],["Human","Resources Professional"],["Finance-related","Professional"],"\u8B6F\u8005","\u9867\u554F","DX Engineer","\u8CC7\u5B89\u5DE5\u7A0B\u5E2B","\u651D\u5F71\u5E2B / \u5BEB\u7A0B\u5F0F\u662F\u8208\u8DA3","CEO","prefer not to say","\u5DE5\u7A0B\u5E2B/\u958B\u767C\u8005\uFF0C\u7CFB\u7D71\u8EDF\u9AD4","Firmware Engineer","Hobbyist","\u8077\u54E1","Solution Architect","\u96F2\u7AEF\u7CFB\u7D71\u5DE5\u7A0B\u5E2B","\u97CC\u9AD4\u5DE5\u7A0B\u5E2B","Cyber Security Engin","teams\u5DE5\u7A0B\u5E2B","Unaffiliated researc","Java\u5DE5\u7A0B\u5E2B\u5B78\u7FD2\u4E2D"," "],datas:[159,142,98,76,70,50,42,37,35,35,31,30,29,26,26,20,19,18,17,17,16,13,11,11,11,10,10,5,5,4,3,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"job_time",type:"pie",question:"How long have you been working in the industry?",data:{labels:["Less than 1 year","1 to 4 years","5 to 9 years","10 to 14 years","15 to 19 years","20 to 24 years","25 to 29 years","More than 30 years","No data"],datas:[114,201,116,58,30,22,10,10,165]}},{key:"job_industry",type:"bar",question:"Which industry do you work in or are most involved with? Please select all that apply.",data:{labels:["Software and network",["Computer","and Consumer Electronics Manufacturing"],["Telecommunications","and communications"],["Culture","and Education"],"Semiconductor",["Financial","Investment and Insurance"],["Electronic","components"],["Government","and public services"],"General Service",["Healthcare","and social welfare"],["Optoelectronics","and Optics"],["Art","/ Travel / Entertainment & Leisure / Sports"],["Media","and Communication"],["Accommodation","/ Food Service"],["General","Manufacturing"],"\u5B78\u751F",["Construction","and real estate"],["Transportation","logistics and warehousing"],"Wholesale / Retail",["Legal","/ Accounting / Consulting / R&D"],["Politics","and Religion"],["Agriculture,","Forestry, Fisheries, Livestock, Water, and Electronic Resources"],"\u7121","\u5B78\u8853\u7814\u7A76","\u751F\u7269\u6280\u8853","N/A","prefer not to say","\u76EE\u524D\u5B78\u751F","\u570B\u9632","\u8077\u54E1"," ","\u96FB\u529B\u7CFB\u7D71\u6578\u4F4D\u5316","\u5B78\u6821","\u4E0A\u5B78"],datas:[350,78,70,38,30,27,26,23,21,19,18,15,14,10,9,9,8,7,5,5,5,4,3,1,1,1,1,1,1,1,1,1,1,1]}},{key:"job_salary",type:"pie",question:"What is your current total compensation in TWD (salary, bonuses, and perks, before taxes and deductions)? If you are paid hourly, please estimate an equivalent yearly salary.",data:{labels:["0 - 360,000 TWD","360,000 - 600,000 TWD","600,000 - 840,000 TWD","840,000 - 1,080,000 TWD","1,080,000 - 1,320,000 TWD","1,320,000 - 1,560,000 TWD","1,560,000 - 1,800,000 TWD","1,800,000 - 2,040,000 TWD","2,040,000 TWD or more","Prefer not to say","No data"],datas:[156,58,73,74,32,24,21,7,34,82,165]}},{key:"is_hear_open_source",type:"pie",question:"Have you ever heard of Open Source",data:{labels:["Yes","No","No data"],datas:[534,27,165]}},{key:"how_know_open_source",type:"bar",question:"How do you know Open Source? Please select all that apply.",data:{labels:[["Open-source","community"],"Online Forums","Friends and Family",["School","Teachers/ University Professors"],"Social Media","Job requirements",["School","Clubs / Communities"],"event/seminar","Online News","Co-worker",["Newspapers","and Magazines"],"TV News","\u81EA\u5B78\u5076\u7136\u4E86\u89E3","OCF",",\u81EA\u5B78","\u540C\u5B78"],datas:[267,171,158,144,139,111,109,103,48,40,17,2,1,1,1,1]}},{key:"encounter_COSCUP",type:"bar",question:"Where did you encounter COSCUP?",data:{labels:[["Participate","in SITCON series events"],["Participate","in PyCon series events"],["Participate","in HITCON"],["Participate","in g0v Summit"],["Participate","in MOPCON"],["Participate","in FOSDEM"],"\u7121",["Participate","in the Hong Kong Open Source Conference"],["Participate","in FOSSAISA"],["Participate","in OSPN.jp series events"],"Participate in SCaLE","\u670B\u53CB","\u670B\u53CB\u4ECB\u7D39","\u7DB2\u8DEF",["Participate","in the China Open Source Annual Conference"],"\u5FD8\u4E86","\u958B\u6E90\u793E\u7FA4","\u5176\u4ED6","friend","\u89AA\u53CB\u4ECB\u7D39","N/A","fb","OSDC","?","\u6C92\u6709","\u540C\u4E8B\u4ECB\u7D39","COSCUP","Friend","\u53F0\u79D1\u5927","Coscup","\u7DB2\u8DEF\u770B\u5230","Fb","\u4E0D\u660E\u767D\u9019\u984C\u7684\u610F\u601D","\u540C\u5B78\u4ECB\u7D39","\u7DB2\u8DEF\u65B0\u805E","2006 COSCUP","WordPress Taiwan com","Twitter","jserv facebook","\u7DB2\u8DEF\u4E0A\u770B\u5230","\u66AB\u7121","Hancock Chang","company","OSFC","LinkedIn","\u5FD8\u8A18\u4E86 XD","\u672A\u53C3\u52A0","\u6C92","Jserv","DIGI Gold Card","\u670B\u53CB\u5E36\u4F86\u7684","\u53C3\u52A0 COSCUP 2019","na","\u793E\u7FA4\u5206\u4EAB","\u670B\u53CB\u8AAA\u7684","NA","\u793E\u5718","\u7DB2\u8DEF\u8CBC\u6587","\u4E0D\u77E5\u9053","\u5BA2\u6236\u901A\u77E5","Online","\u9996\u6B21\u53C3\u8207coscup","n/a","\u900F\u904E\u89AA\u53CB","\u89AA\u53CB\u5206\u4EAB","\u8001\u5E2B\u63A8\u85A6","\u76EE\u524D\u6C92\u6709\u53C3\u8207\u904E","\u7686\u975E","slat","\u521D\u59CB","\u5FD8\u8A18\u4E86","\u6F14\u8B1B\u8005","Social media","none","Taiwan ","\u670B\u53CB\u81C9\u66F8","\u5B78\u6821","\u5C1A\u7121","\u4EE5\u4E0A\u7686\u975E","\u7DB2\u969B\u7DB2\u8DEF","\u539F\u672C\u5C31\u77E5\u9053","\u9084\u6C92\u9047\u5230","Walk in","\u5B78\u9577\u4ECB\u7D39","\u793E\u7FA4\u5BA3\u50B3","\u670B\u53CB\u63A8\u85A6","FHIR"," cntug","\u5F88\u4E45\u5F88\u4E45\u4EE5\u524D...","ICOS","OpenFoundry","\u958B\u6E90\u9999\u6E2F","\u66FE\u7D93\u662F\u8B1B\u8005","\u53C3\u8207\u7C4C\u5099","\u81EA\u5DF1\u77E5\u9053","\u53C3\u8207coscup","\u9019\u88E1\uFF0C\u6211\u7B2C\u4E00\u6B21\u4F86","Club","\u6559\u6388","\u770B\u4E0D\u592A\u61C2\uFF08\uFF1F","\u5225\u4EBA\u4ECB\u7D39\uFF0C\u53C3\u52A0\u904E","GDSC","\u4EE5\u4E0A\u7686\u7121","\u793E\u7FA4\u7DB2\u7AD9","\u4EE5\u524D\u4F86\u904E","LOUCA 2023","\u53C3\u8207 sciwork","from Wikidata ","\u540C\u5B78\u63A8\u85A6","Lucien","HPCxAI","\u89AA\u53CB","\u5176\u4ED6\u55AE\u4F4D\u6D3B\u52D5","\u5225\u4EBA\u4ECB\u7D39","Hack Thursday ","\u5F88\u65E9\u5C31\u807D\u8AAA","Scale in Pasadena","\u91AB\u7642\u8CC7\u8A0A\u5354\u6703","\u4E0D\u7406\u89E3","None","\u53C3\u8207KCD","\u7DB2\u8DEF\u793E\u7FA4","word of mouth","\u516C\u53F8\u7FA4\u7D44","\u807D\u5230\u8001\u5E2B\u4ECB\u7D39"],datas:[162,70,65,59,56,40,20,13,11,8,7,6,6,5,4,4,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"reasons_to_come_to_COSCUP",type:"bar",question:"What did you see, hear, or come into contact with that led you to COSCUP?",data:{labels:["I'm an old friend!",["Introduced","by friends or family"],["Presentation","promotion"],"Booth introduction","Saw flyers","E-newsletter: COSCUP",["COSCUP's","GitHub projects"],["E-newsletter:","OCF monthly newsletter"],"\u8A8D\u8B58\u7684\u4EBA\u662F\u8B1B\u8005","friend","\u770B\u540C\u4E8B\u6F14\u8B1B","WordPress Taiwan com","Hancock Chang","company","work","\u5FD8\u8A18\u4E86 XD","Jserv","\u793E\u7FA4\u5A92\u9AD4","\u91AB\u5B78\u8CC7\u8A0A\u5B78\u6703","\u7DB2\u8DEF\u8CBC\u6587","Yotube","\u5E36\u4F60\u8B80\u6E90\u78BC","\u5BA2\u6236\u544A\u77E5","GDG Taipei","Mastodon","Facebook ","\u8077\u5834\u4FE1\u4EF6","MOPCON","LibreOffice ","\u7DB2\u8DEF\u770B\u5230","\u5176\u4ED6\u55AE\u4F4D\u6D3B\u52D5","\u91AB\u5354\u9080\u8ACB","\u53C3\u8207KCD","\u7DB2\u8DEF\u793E\u7FA4","cloud native fb","\u807D\u5230\u8001\u5E2B\u4ECB\u7D39","Google"],datas:[220,192,71,47,38,29,16,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"platforms_to_receive_updates",type:"bar",question:"What platforms are you using to continuously receive open-source updates?",data:{labels:["Faecbook","X (formerly Twitter)",["Subscribing","to information from hosting platforms like GitHub/GitLab"],"LinkedIn",["Follow","community discussion mailing lists"],["Subscribe","to the manufacturer's newsletter"],"Plurk","RSS Reader","Mastodon","\u76EE\u524D\u6C92\u6709","Hacker News","Telegram ","\u7121","Ig","Faecbook \u6253\u932F\u4E86 ww","na","Yotube","discord","reddit","slack","\u5176\u5B83 weekly \u96FB\u5B50\u5831","\u89AA\u53CB\u6587\u6458","Discord ","thread","Slack","None","\u7DB2\u8DEF","Telegram","Podcast","\u90FD\u6C92\u6709","NONE","Discord","\u670B\u53CB\u4ECB\u7D39","medium"],datas:[349,172,162,135,84,49,40,38,34,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"open_source_role",type:"bar",question:"What is your role in the Open Source movement?",data:{labels:["Users","Coders","Promoters"],datas:[481,198,137]}},{key:"commonly_used_languages",type:"bar",question:"Which programming, scripting, and markup languages have you done extensive development work in over the past year?",data:{labels:["Python","C++","JavaScript","C","Bash/Shell","HTML/CSS","TypeScript","SQL","Go","Java","Node.js","Markdown","PHP","Rust","C#","Kotlin","Swift","Matlab","R","APL","Assembly","Ruby","Dart","COBOL","Crystal","Perl","Scala","VBA","Other","Emacs Lisp","ENGLISH","\u4E2D\u6587","Clojure","Delphi","Elixir","Erlang","F#","Groovy","Haskell","Julia","LISP","Objective-C","PowerShell"],datas:[106,50,46,33,30,30,30,29,27,27,24,17,16,15,11,9,5,4,4,3,3,3,2,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0]}},{key:"favorite_languages",type:"bar",question:"Favorite programming languages?",data:{labels:["Python","C","C++","Go","Rust","TypeScript","JavaScript","Java","Markdown","PHP","HTML/CSS","Kotlin","Node.js","SQL","C#","Bash/Shell","Ruby","Swift","Assembly","Perl","APL","Dart","Delphi","Haskell","COBOL","Crystal","Elixir","Erlang","LISP","Objective-C","PowerShell","R","Racket","ENGLISH","Clojure","F#","Groovy","Julia","Matlab","Scala","VBA","Other"],datas:[98,37,37,33,32,31,24,21,17,16,13,13,13,12,11,10,8,7,5,4,3,3,3,3,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0]}},{key:"annoying_languages",type:"bar",question:"Annoying programming languages?",data:{labels:["C++","JavaScript","C","PHP","Java","Python","VBA","Assembly","C#","Other","Bash/Shell","HTML/CSS","Go","R","TypeScript","Matlab","Node.js","Objective-C","PowerShell","Rust","Ruby","APL","Dart","Erlang","Scala","Swift","\u7121","COBOL","Elixir","Haskell","Julia","LISP","Perl","SQL","Delphi","F#","Groovy","Kotlin","\u90FD\u4E0D\u8A0E\u53AD","Go Template","SAS","\u4F46\u559C\u6B61tidyverse","nothing","None","N/A","No","none","Clojure","Crystal","Markdown"],datas:[38,37,31,31,30,25,20,18,15,13,8,8,7,7,7,6,5,5,5,5,4,3,3,3,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0]}},{key:"commonly_develop_platforms",type:"bar",question:"For which platforms do you develop?",data:{labels:["Web Backend","Web Frontend",["Server/infrastructure",""],"Desktop","Cloud",["AI","(Deep Learning/Machine Learning)"],"Mobile","IoT/Embedded","WebAssembly",["Consoles","(Xbox/PlayStation/Nintendo)"],["I","don't develop anything"],"Discord Bot","Emacs","\u793E\u7FA4\u8EDF\u9AD4 bot"],datas:[109,74,73,50,46,33,27,26,2,1,1,1,1,1]}},{key:"commonly_used_editors",type:"bar",question:"Most commonly used editors or IDEs?",data:{labels:["Visual Studio Code","Vim",["JetBrains","Family (Intellij, PhpStorm, WebStorm)"],"Visual Studio","Sublime Text","Notepad++","GNU nano","Android Studio","XCode","Eclipse","Emacs","Kate","Atom","Brackets","Helix","Neovim ","Neovim","Zed","micro","Cursor"],datas:[141,83,44,29,24,21,17,14,11,8,7,2,1,1,1,1,1,1,1,1]}},{key:"commonly_used_os",type:"bar",question:"Commonly used operating systems?",data:{labels:["macOS","Ubuntu Linux","Windows 11","Windows 10","Arch Linux","Debian Linux","WSL2","Kali Linux","Fedora Linux",["CentOS","(including Stream & Rocky Linux)"],"Windows 7 or XP","openSUSE Linux","Redhat Linux","alpine linux","Chrome OS Flex","NixOS","FreeBSD","Endless OS","PopOS","Gentoo Linux","Linux Mint"],datas:[94,91,81,61,28,25,15,9,6,4,3,3,2,2,2,2,2,1,1,1,1]}},{key:"commonly_used_web_browsers",type:"bar",question:"Commonly used web browsers?",data:{labels:["Google Chrome","Mozilla Firefox","Microsoft Edge","Apple Safari","Arc","Brave","Vivaldi","Opera","Yandex","Falkon","ARC","Internet Explorer","UC Browser"],datas:[141,77,58,47,22,18,3,2,1,1,1,0,0]}},{key:"commonly_used_database",type:"bar",question:"Commonly used database?",data:{labels:["MySQL","PostgreSQL","MongoDB","MariaDB","Redis","SQLite","Microsoft SQL Server","don\u2019t use","Elasticsearch","Neo4j","Oracle Database","ClickHouse","CouchDB","DynamoDB","\u7121","BigQuery","db2","DuckDB","N/A"],datas:[90,83,48,44,42,40,19,14,9,4,3,3,2,1,1,1,1,1,1]}},{key:"know_license",type:"bar",question:"What is some Free and Open Source Software license agreements you have heard of and know?",data:{labels:["MIT","Apache 2.0","(L/A)GPL 3.0","(L/A)GPL 2.0","BSD",["Creative","Commons license"],"MPL","ISC","WTFPL","\u7121","\u4E0D\u77E5\u9053","N","\u4E0D\u78BA\u5B9A","\u4E0D\u719F","\u6C92\u6709","None","NONE","\u6C92\u807D\u904E"],datas:[359,308,203,169,168,138,64,45,39,5,2,1,1,1,1,1,1,1]}},{key:"is_sponsored_open_source",type:"pie",question:"Have you ever paid for or sponsored any open source projects or contributors?",data:{labels:["Yes","No","No data"],datas:[117,363,246]}},{key:"is_open_source_no_paid",type:"pie",question:"Do you know that open source doesn't mean it has to be free?",data:{labels:["Yes","No","No data"],datas:[427,53,246]}},{key:"is_rely_open_source",type:"pie",question:"Do you use or rely on open source in your work?",data:{labels:["Yes","No","No data"],datas:[414,66,246]}},{key:"commonly_used_open_source_software",type:"bar",question:"Commonly used open source software?",data:{labels:["Linux (Android)","Chromium","Mozilla Firefox","Libre Office","Open Office","Blender","Mozilla Thunderbird","GIMP","Krita","\u7121","PostgreSQL","Kubernetes","Emacs","\u5C1A\u672A\u4F7F\u7528","PHP","coreboot","FreshRSS\u3001PI-hole","WordPress","Diffusers / PEFT","\u9B6F\u5730\u5716","FreeBSD","Pytorch","kubernetes","Gnome","AFNI","QMK, ZMK","GCC","LLVM","gitlab","React","\u53EA\u662F\u77E5\u9053\u4F46\u4E26\u672A\u958B\u59CB\u8F49\u63DB\u4F5C\u696D\u74B0\u5883","Home Assistant, OBS","QGIS","\u9084\u6C92","Logseq","vim","SRE\u76F8\u95DC","No","Docker","Evdi","Vscode","Ubuntu ","Discourse","gcc","Mattermost, GitLab","\u6C92\u6709","k8s","Grafana"],datas:[283,189,178,73,44,43,35,24,8,7,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{key:"why_promote_open_source",type:"bar",question:"Why are you willing to promote open source? Please select all that apply.",data:{labels:[["One","for all, all for one"],["Knowledge","is a common asset of humanity and should be shared to maximize its benefits"],["For","professional growth"],["Moved","by, inspired by some developers"],["It","was highly recommend by a friend"],"Selfhost","\u5C0D\u79D1\u6280\u6709\u8208\u8DA3"],datas:[106,95,67,47,22,1,1]}},{key:"how_promote_open_source",type:"bar",question:"How do you usually promote open source? Please select all that apply.",data:{labels:[["Recommend","people to use open source software"],["Introduce","friends to open source"],"\u5E36\u4E00\u5806\u4EBA\u4F86\u53C3\u52A0\u6D3B\u52D5\uFF01\uFF01\uFF01","OSS work","\u8B93\u4ED6\u5011\u770B\u958B\u6E90\u6709\u6A5F\u6703\u53C3\u8207\u6539\u8B8A","\u88FD\u4F5C\u6DFA\u986F\u6613\u61C2\u7684\u6559\u5B78","\u81EA\u5DF1\u770B"],datas:[119,98,1,1,1,1,1]}},{key:"what_hope_coscup",type:"bar",question:"What do you hope to get out of COSCUP? Please select all that apply.",data:{labels:["Gain new knowledge",["Learn","new technologies"],["Understand","open source "],"Meet new people",["Interact","with other communities"],"Connect with friends","Snacks"],datas:[532,483,411,396,261,249,1]}}];var Xs={zh:Is,en:zs};const Fs={class:"main"},Ds=de("img",{class:"banner",src:ws,alt:"COSCUP 2024 Developer Survey Report"},null,-1),Rs=de("h1",null,"COSCUP 2024 Developer Survey Report",-1),Os=de("a",{href:"https://coscup.org/2024-survey/result.json",target:"_blank"},"https://coscup.org/2024-survey/result.json",-1),Ys={class:"list"},Hs=wt({__name:"App",setup(N){const G=()=>window.navigator.language.includes("zh")?"zh":"en",Y=Je(Xs),X=Je(G()),D=(M,H)=>X.value==="zh"?M:H;Qe(()=>ks(D,{captchaToken:""}));const T=Qe(()=>{var M,H;return(H=(M=Y.value)==null?void 0:M[X.value])!=null?H:[]});return setInterval(()=>De(this,null,function*(){const M=yield fetch("/2024-survey/result.json");Y.value=yield M.json()}),2*60*1e3),kt(()=>De(this,null,function*(){const M=window.location.hash;if(M){const H=document.querySelector(M);H&&(setTimeout(()=>{H.scrollIntoView()},100),H.scrollIntoView())}})),(M,H)=>(Te(),Re("main",Fs,[Ds,de("section",null,[Rs,de("p",null,[at(tt(D("\u672C\u8CC7\u6599\u6BCF 5-10 \u5206\u9418\u66F4\u65B0\u4E00\u6B21\uFF0C\u539F\u59CB\u7D71\u8A08\u8CC7\u6599\uFF1A","This data will update by 5-10 mins. Original stat data:")),1),Os]),yt(ys,{modelValue:X.value,"onUpdate:modelValue":H[0]||(H[0]=K=>X.value=K),options:[{text:"\u4E2D",value:"zh"},{text:"En",value:"en"}]},null,8,["modelValue"])]),de("div",Ys,[(Te(!0),Re(bt,null,St(xt(T),K=>(Te(),it(Es,{config:K,key:K.key+X.value},null,8,["config"]))),128))])]))}});function Ns(N){return N&&N.__esModule&&Object.prototype.hasOwnProperty.call(N,"default")?N.default:N}function Ws(N){if(N.__esModule)return N;var G=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(N).forEach(function(Y){var X=Object.getOwnPropertyDescriptor(N,Y);Object.defineProperty(G,Y,X.get?X:{enumerable:!0,get:function(){return N[Y]}})}),G}var Pt={exports:{}},Bs=Ws(As),et={exports:{}};/*! + * ApexCharts v3.35.4 + * (c) 2018-2022 ApexCharts + * Released under the MIT License. + */(function(N,G){function Y(v,e){var t=Object.keys(v);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(v);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(v,a).enumerable})),t.push.apply(t,i)}return t}function X(v){for(var e=1;ev.length)&&(e=v.length);for(var t=0,i=new Array(e);t>16,r=i>>8&255,n=255&i;return"#"+(16777216+65536*(Math.round((a-o)*s)+o)+256*(Math.round((a-r)*s)+r)+(Math.round((a-n)*s)+n)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return v.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&&D(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,i=[];for(t=0;ts.length?a:s})),t.length>i.length?t:i},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 i=e.replace("#","");i=i.match(new RegExp("(.{"+i.length/3+"})","g"));for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:"x",i=e.toString().slice();return i=i.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,i){if(i>=e.length)for(var a=i-e.length+1;a--;)e.push(void 0);return e.splice(i,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 i in t)t.hasOwnProperty(i)&&(e.style.key=t[i])}},{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 i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var a=e.indexOf("Edge/");return a>0&&parseInt(e.substring(a+5,e.indexOf(".",a)),10)}}]),v}(),Z=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w,this.setEasingFunctions()}return M(v,[{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":e="<>";break;case"swing":e=function(t){var i=1.70158;return(t-=1)*t*((i+1)*t+i)+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};break;default:e="<>"}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,i,a){e.attr(t).animate(a).attr(i)}},{key:"animateMarker",value:function(e,t,i,a,s,o){t||(t=0),e.attr({r:t,width:t,height:t}).animate(a,s).attr({r:i,width:i.width,height:i.height}).afterAll(function(){o()})}},{key:"animateCircle",value:function(e,t,i,a,s){e.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(a,s).attr({r:i.r,cx:i.cx,cy:i.cy})}},{key:"animateRect",value:function(e,t,i,a,s){e.attr(t).animate(a).attr(i).afterAll(function(){return s()})}},{key:"animatePathsGradually",value:function(e){var t=e.el,i=e.realIndex,a=e.j,s=e.fill,o=e.pathFrom,r=e.pathTo,n=e.speed,l=e.delay,c=this.w,d=0;c.config.chart.animations.animateGradually.enabled&&(d=c.config.chart.animations.animateGradually.delay),c.config.chart.animations.dynamicAnimation.enabled&&c.globals.dataChanged&&c.config.chart.type!=="bar"&&(d=0),this.morphSVG(t,i,a,c.config.chart.type!=="line"||c.globals.comboCharts?s:"stroke",o,r,n,l*d)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(e){e.el.classList.remove("apexcharts-element-hidden")})}},{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,i,a,s,o,r,n){var l=this,c=this.w;s||(s=e.attr("pathFrom")),o||(o=e.attr("pathTo"));var d=function(u){return c.config.chart.type==="radar"&&(r=1),"M 0 ".concat(c.globals.gridHeight)};(!s||s.indexOf("undefined")>-1||s.indexOf("NaN")>-1)&&(s=d()),(!o||o.indexOf("undefined")>-1||o.indexOf("NaN")>-1)&&(o=d()),c.globals.shouldAnimate||(r=1),e.plot(s).animate(1,c.globals.easing,n).plot(s).animate(r,c.globals.easing,n).plot(o).afterAll(function(){C.isNumber(i)?i===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&l.animationCompleted(e):a!=="none"&&c.globals.shouldAnimate&&(!c.globals.comboCharts&&t===c.globals.series.length-1||c.globals.comboCharts)&&l.animationCompleted(e),l.showDelayedElements()})}}]),v}(),q=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"getDefaultFilter",value:function(e,t){var i=this.w;e.unfilter(!0),new window.SVG.Filter().size("120%","180%","-5%","-40%"),i.config.states.normal.filter!=="none"?this.applyFilter(e,t,i.config.states.normal.filter.type,i.config.states.normal.filter.value):i.config.chart.dropShadow.enabled&&this.dropShadow(e,i.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var i=this.w;i.config.chart.dropShadow.enabled&&!e.node.classList.contains("apexcharts-marker")&&this.dropShadow(e,i.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,t,i){var a=this,s=this.w,o=i.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter(function(r){var n=s.config.chart.dropShadow;(n.enabled?a.addShadow(r,t,n):r).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:o}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"addDarkenFilter",value:function(e,t,i){var a=this,s=this.w,o=i.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter(function(r){var n=s.config.chart.dropShadow;(n.enabled?a.addShadow(r,t,n):r).componentTransfer({rgb:{type:"linear",slope:o}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"applyFilter",value:function(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5;switch(i){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:a});break;case"darken":this.addDarkenFilter(e,t,{intensity:a})}}},{key:"addShadow",value:function(e,t,i){var a=i.blur,s=i.top,o=i.left,r=i.color,n=i.opacity,l=e.flood(Array.isArray(r)?r[t]:r,n).composite(e.sourceAlpha,"in").offset(o,s).gaussianBlur(a).merge(e.source);return e.blend(e.source,l)}},{key:"dropShadow",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=t.top,s=t.left,o=t.blur,r=t.color,n=t.opacity,l=t.noUserSpaceOnUse,c=this.w;return e.unfilter(!0),C.isIE()&&c.config.chart.type==="radialBar"||(r=Array.isArray(r)?r[i]:r,e.filter(function(d){var u=null;u=C.isSafari()||C.isFirefox()||C.isIE()?d.flood(r,n).composite(d.sourceAlpha,"in").offset(s,a).gaussianBlur(o):d.flood(r,n).composite(d.sourceAlpha,"in").offset(s,a).gaussianBlur(o).merge(d.source),d.blend(d.source,u)}),l||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)),e}},{key:"setSelectionFilter",value:function(e,t,i){var a=this.w;if(a.globals.selectedDataPoints[t]!==void 0&&a.globals.selectedDataPoints[t].indexOf(i)>-1){e.node.setAttribute("selected",!0);var s=a.config.states.active.filter;s!=="none"&&this.applyFilter(e,t,s.type,s.value)}}},{key:"_scaleFilterSize",value:function(e){(function(t){for(var i in t)t.hasOwnProperty(i)&&e.setAttribute(i,t[i])})({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),v}(),I=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"drawLine",value:function(e,t,i,a){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#a8a8a8",o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,r=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,n=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"butt",l=this.w,c=l.globals.dom.Paper.line().attr({x1:e,y1:t,x2:i,y2:a,stroke:s,"stroke-dasharray":o,"stroke-width":r,"stroke-linecap":n});return c}},{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,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#fefefe",r=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1,n=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,l=arguments.length>8&&arguments[8]!==void 0?arguments[8]:null,c=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0,d=this.w,u=d.globals.dom.Paper.rect();return u.attr({x:e,y:t,width:i>0?i:0,height:a>0?a:0,rx:s,ry:s,opacity:r,"stroke-width":n!==null?n:0,stroke:l!==null?l:"none","stroke-dasharray":c}),u.node.setAttribute("fill",o),u}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#e1e1e1",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none",s=this.w,o=s.globals.dom.Paper.polygon(e).attr({fill:a,stroke:t,"stroke-width":i});return o}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=this.w;e<0&&(e=0);var a=i.globals.dom.Paper.circle(2*e);return t!==null&&a.attr(t),a}},{key:"drawPath",value:function(e){var t=e.d,i=t===void 0?"":t,a=e.stroke,s=a===void 0?"#a8a8a8":a,o=e.strokeWidth,r=o===void 0?1:o,n=e.fill,l=e.fillOpacity,c=l===void 0?1:l,d=e.strokeOpacity,u=d===void 0?1:d,p=e.classes,x=e.strokeLinecap,f=x===void 0?null:x,b=e.strokeDashArray,w=b===void 0?0:b,k=this.w;return f===null&&(f=k.config.stroke.lineCap),(i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i="M 0 ".concat(k.globals.gridHeight)),k.globals.dom.Paper.path(i).attr({fill:n,"fill-opacity":c,stroke:s,"stroke-opacity":u,"stroke-linecap":f,"stroke-width":r,"stroke-dasharray":w,class:p})}},{key:"group",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,i=t.globals.dom.Paper.group();return e!==null&&i.attr(e),i}},{key:"move",value:function(e,t){var i=["M",e,t].join(" ");return i}},{key:"line",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=null;return i===null?a=["L",e,t].join(" "):i==="H"?a=["H",e].join(" "):i==="V"&&(a=["V",t].join(" ")),a}},{key:"curve",value:function(e,t,i,a,s,o){var r=["C",e,t,i,a,s,o].join(" ");return r}},{key:"quadraticCurve",value:function(e,t,i,a){return["Q",e,t,i,a].join(" ")}},{key:"arc",value:function(e,t,i,a,s,o,r){var n=arguments.length>7&&arguments[7]!==void 0&&arguments[7],l="A";n&&(l="a");var c=[l,e,t,i,a,s,o,r].join(" ");return c}},{key:"renderPaths",value:function(e){var t,i=e.j,a=e.realIndex,s=e.pathFrom,o=e.pathTo,r=e.stroke,n=e.strokeWidth,l=e.strokeLinecap,c=e.fill,d=e.animationDelay,u=e.initialSpeed,p=e.dataChangeSpeed,x=e.className,f=e.shouldClipToGrid,b=f===void 0||f,w=e.bindEventsOnPaths,k=w===void 0||w,S=e.drawShadow,h=S===void 0||S,g=this.w,m=new q(this.ctx),y=new Z(this.ctx),A=this.w.config.chart.animations.enabled,L=A&&this.w.config.chart.animations.dynamicAnimation.enabled,P=!!(A&&!g.globals.resized||L&&g.globals.dataChanged&&g.globals.shouldAnimate);P?t=s:(t=o,g.globals.animationEnded=!0);var z=g.config.stroke.dashArray,E=0;E=Array.isArray(z)?z[a]:g.config.stroke.dashArray;var F=this.drawPath({d:t,stroke:r,strokeWidth:n,fill:c,fillOpacity:1,classes:x,strokeLinecap:l,strokeDashArray:E});if(F.attr("index",a),b&&F.attr({"clip-path":"url(#gridRectMask".concat(g.globals.cuid,")")}),g.config.states.normal.filter.type!=="none")m.getDefaultFilter(F,a);else if(g.config.chart.dropShadow.enabled&&h&&(!g.config.chart.dropShadow.enabledOnSeries||g.config.chart.dropShadow.enabledOnSeries&&g.config.chart.dropShadow.enabledOnSeries.indexOf(a)!==-1)){var R=g.config.chart.dropShadow;m.dropShadow(F,R,a)}k&&(F.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,F)),F.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,F)),F.node.addEventListener("mousedown",this.pathMouseDown.bind(this,F))),F.attr({pathTo:o,pathFrom:s});var V={el:F,j:i,realIndex:a,pathFrom:s,pathTo:o,fill:c,strokeWidth:n,delay:d};return!A||g.globals.resized||g.globals.dataChanged?!g.globals.resized&&g.globals.dataChanged||y.showDelayedElements():y.animatePathsGradually(X(X({},V),{},{speed:u})),g.globals.dataChanged&&L&&P&&y.animatePathsGradually(X(X({},V),{},{speed:p})),F}},{key:"drawPattern",value:function(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#a8a8a8",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,o=this.w,r=o.globals.dom.Paper.pattern(t,i,function(n){e==="horizontalLines"?n.line(0,0,i,0).stroke({color:a,width:s+1}):e==="verticalLines"?n.line(0,0,0,t).stroke({color:a,width:s+1}):e==="slantedLines"?n.line(0,0,t,i).stroke({color:a,width:s}):e==="squares"?n.rect(t,i).fill("none").stroke({color:a,width:s}):e==="circles"&&n.circle(t).fill("none").stroke({color:a,width:s})});return r}},{key:"drawGradient",value:function(e,t,i,a,s){var o,r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,n=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,d=this.w;t.length<9&&t.indexOf("#")===0&&(t=C.hexToRgba(t,a)),i.length<9&&i.indexOf("#")===0&&(i=C.hexToRgba(i,s));var u=0,p=1,x=1,f=null;n!==null&&(u=n[0]!==void 0?n[0]/100:0,p=n[1]!==void 0?n[1]/100:1,x=n[2]!==void 0?n[2]/100:1,f=n[3]!==void 0?n[3]/100:null);var b=!(d.config.chart.type!=="donut"&&d.config.chart.type!=="pie"&&d.config.chart.type!=="polarArea"&&d.config.chart.type!=="bubble");if(o=l===null||l.length===0?d.globals.dom.Paper.gradient(b?"radial":"linear",function(S){S.at(u,t,a),S.at(p,i,s),S.at(x,i,s),f!==null&&S.at(f,t,a)}):d.globals.dom.Paper.gradient(b?"radial":"linear",function(S){(Array.isArray(l[c])?l[c]:l).forEach(function(h){S.at(h.offset/100,h.color,h.opacity)})}),b){var w=d.globals.gridWidth/2,k=d.globals.gridHeight/2;d.config.chart.type!=="bubble"?o.attr({gradientUnits:"userSpaceOnUse",cx:w,cy:k,r}):o.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else e==="vertical"?o.from(0,0).to(0,1):e==="diagonal"?o.from(0,0).to(1,1):e==="horizontal"?o.from(0,1).to(1,1):e==="diagonal2"&&o.from(1,0).to(0,1);return o}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,i=e.maxWidth,a=e.fontSize,s=e.fontFamily,o=this.getTextRects(t,a,s),r=o.width/t.length,n=Math.floor(i/r);return i-1){var n=i.globals.selectedDataPoints[s].indexOf(o);i.globals.selectedDataPoints[s].splice(n,1)}}else{if(!i.config.states.active.allowMultipleDataPointsSelection&&i.globals.selectedDataPoints.length>0){i.globals.selectedDataPoints=[];var l=i.globals.dom.Paper.select(".apexcharts-series path").members,c=i.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,d=function(x){Array.prototype.forEach.call(x,function(f){f.node.setAttribute("selected","false"),a.getDefaultFilter(f,s)})};d(l),d(c)}e.node.setAttribute("selected","true"),r="true",i.globals.selectedDataPoints[s]===void 0&&(i.globals.selectedDataPoints[s]=[]),i.globals.selectedDataPoints[s].push(o)}if(r==="true"){var u=i.config.states.active.filter;if(u!=="none")a.applyFilter(e,s,u.type,u.value);else if(i.config.states.hover.filter!=="none"&&!i.globals.isTouchDevice){var p=i.config.states.hover.filter;a.applyFilter(e,s,p.type,p.value)}}else i.config.states.active.filter.type!=="none"&&(i.config.states.hover.filter.type==="none"||i.globals.isTouchDevice?a.getDefaultFilter(e,s):(p=i.config.states.hover.filter,a.applyFilter(e,s,p.type,p.value)));typeof i.config.chart.events.dataPointSelection=="function"&&i.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:s,dataPointIndex:o,w:i}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:s,dataPointIndex:o,w:i}])}},{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,i,a){var s=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],o=this.w,r=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:i,foreColor:"#fff",opacity:0});a&&r.attr("transform",a),o.globals.dom.Paper.add(r);var n=r.bbox();return s||(n=r.node.getBoundingClientRect()),r.remove(),{width:n.width,height:n.height}}},{key:"placeTextWithEllipsis",value:function(e,t,i){if(typeof e.getComputedTextLength=="function"&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=i/1.1)){for(var a=t.length-3;a>0;a-=3)if(e.getSubStringLength(0,a)<=i/1.1)return void(e.textContent=t.substring(0,a)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var i in t)t.hasOwnProperty(i)&&e.setAttribute(i,t[i])}}]),v}(),U=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"getStackedSeriesTotals",value:function(){var e=this.w,t=[];if(e.globals.series.length===0)return t;for(var i=0;i0&&arguments[0]!==void 0?arguments[0]:null;return e===null?this.w.config.series.reduce(function(t,i){return t+i},0):this.w.globals.series[e].reduce(function(t,i){return t+i},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,i,a){return t===a[0]})}},{key:"getCategoryLabels",value:function(e){var t=this.w,i=e.slice();return t.config.xaxis.convertedCatToNumeric&&(i=e.map(function(a,s){return t.config.xaxis.labels.formatter(a-t.globals.minX+1)})),i}},{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(i){t=Math.max(t,i)}),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach(function(i){t=Math.max(t,i.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,i){var a=0;if(Array.isArray(t))for(var s=0;se&&i.globals.seriesX[s][r]0&&(t=!0),{comboBarCount:i,comboCharts:t}}},{key:"extendArrayProps",value:function(e,t,i){return t.yaxis&&(t=e.extendYAxis(t,i)),t.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=e.extendXAxisAnnotations(t)),t.annotations.points&&(t=e.extendPointAnnotations(t))),t}}]),v}(),ve=function(){function v(e){T(this,v),this.w=e.w,this.annoCtx=e}return M(v,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=this.w;if(e.label.orientation==="vertical"){var a=t!==null?t:0,s=i.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(a,"']"));if(s!==null){var o=s.getBoundingClientRect();s.setAttribute("x",parseFloat(s.getAttribute("x"))-o.height+4),e.label.position==="top"?s.setAttribute("y",parseFloat(s.getAttribute("y"))+o.width):s.setAttribute("y",parseFloat(s.getAttribute("y"))-o.width);var r=this.annoCtx.graphics.rotateAroundCenter(s),n=r.x,l=r.y;s.setAttribute("transform","rotate(-90 ".concat(n," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var i=this.w;if(!e||t.label.text===void 0||t.label.text!==void 0&&!String(t.label.text).trim())return null;var a=i.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),s=e.getBoundingClientRect(),o=t.label.style.padding.left,r=t.label.style.padding.right,n=t.label.style.padding.top,l=t.label.style.padding.bottom;t.label.orientation==="vertical"&&(n=t.label.style.padding.left,l=t.label.style.padding.right,o=t.label.style.padding.top,r=t.label.style.padding.bottom);var c=s.left-a.left-o,d=s.top-a.top-n,u=this.annoCtx.graphics.drawRect(c-i.globals.barPadForNumericAxis,d,s.width+o+r,s.height+n+l,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&u.node.classList.add(t.id),u}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,i=function(a,s,o){var r=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations .apexcharts-").concat(o,"-annotation-label[rel='").concat(s,"']"));if(r){var n=r.parentNode,l=e.addBackgroundToAnno(r,a);l&&(n.insertBefore(l.node,r),a.label.mouseEnter&&l.node.addEventListener("mouseenter",a.label.mouseEnter.bind(e,a)),a.label.mouseLeave&&l.node.addEventListener("mouseleave",a.label.mouseLeave.bind(e,a)),a.label.click&&l.node.addEventListener("click",a.label.click.bind(e,a)))}};t.config.annotations.xaxis.map(function(a,s){i(a,s,"xaxis")}),t.config.annotations.yaxis.map(function(a,s){i(a,s,"yaxis")}),t.config.annotations.points.map(function(a,s){i(a,s,"point")})}},{key:"getY1Y2",value:function(e,t){var i,a=e==="y1"?t.y:t.y2,s=this.w;if(this.annoCtx.invertAxis){var o=s.globals.labels.indexOf(a);s.config.xaxis.convertedCatToNumeric&&(o=s.globals.categoryLabels.indexOf(a));var r=s.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(o+1)+")");r&&(i=parseFloat(r.getAttribute("y")))}else{var n;s.config.yaxis[t.yAxisIndex].logarithmic?n=(a=new U(this.annoCtx.ctx).getLogVal(a,t.yAxisIndex))/s.globals.yLogRatio[t.yAxisIndex]:n=(a-s.globals.minYArr[t.yAxisIndex])/(s.globals.yRange[t.yAxisIndex]/s.globals.gridHeight),i=s.globals.gridHeight-n,!t.marker||t.y!==void 0&&t.y!==null||(i=0),s.config.yaxis[t.yAxisIndex]&&s.config.yaxis[t.yAxisIndex].reversed&&(i=n)}return i}},{key:"getX1X2",value:function(e,t){var i=this.w,a=this.annoCtx.invertAxis?i.globals.minY:i.globals.minX,s=this.annoCtx.invertAxis?i.globals.maxY:i.globals.maxX,o=this.annoCtx.invertAxis?i.globals.yRange[0]:i.globals.xRange,r=(t.x-a)/(o/i.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(r=(s-t.x)/(o/i.globals.gridWidth)),i.config.xaxis.type!=="category"&&!i.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||i.globals.dataFormatXNumeric||(r=this.getStringX(t.x));var n=(t.x2-a)/(o/i.globals.gridWidth);return this.annoCtx.inversedReversedAxis&&(n=(s-t.x2)/(o/i.globals.gridWidth)),i.config.xaxis.type!=="category"&&!i.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||i.globals.dataFormatXNumeric||(n=this.getStringX(t.x2)),t.x!==void 0&&t.x!==null||!t.marker||(r=i.globals.gridWidth),e==="x1"?r:n}},{key:"getStringX",value:function(e){var t=this.w,i=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var a=t.globals.labels.indexOf(e),s=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(a+1)+")");return s&&(i=parseFloat(s.getAttribute("x"))),i}}]),v}(),Oe=function(){function v(e){T(this,v),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new ve(this.annoCtx)}return M(v,[{key:"addXaxisAnnotation",value:function(e,t,i){var a,s=this.w,o=this.helpers.getX1X2("x1",e),r=e.label.text,n=e.strokeDashArray;if(C.isNumber(o)){if(e.x2===null||e.x2===void 0){var l=this.annoCtx.graphics.drawLine(o+e.offsetX,0+e.offsetY,o+e.offsetX,s.globals.gridHeight+e.offsetY,e.borderColor,n,e.borderWidth);t.appendChild(l.node),e.id&&l.node.classList.add(e.id)}else{if((a=this.helpers.getX1X2("x2",e))r){var c=r;r=a,a=c}var d=this.annoCtx.graphics.drawRect(0+e.offsetX,a+e.offsetY,this._getYAxisAnnotationWidth(e),r-a,0,e.fillColor,e.opacity,1,e.borderColor,o);d.node.classList.add("apexcharts-annotation-rect"),d.attr("clip-path","url(#gridRectMask".concat(s.globals.cuid,")")),t.appendChild(d.node),e.id&&d.node.classList.add(e.id)}var u=e.label.position==="right"?s.globals.gridWidth:0,p=this.annoCtx.graphics.drawText({x:u+e.label.offsetX,y:(a!=null?a:r)+e.label.offsetY-3,text:n,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:"")});p.attr({rel:i}),t.appendChild(p.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,i=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.map(function(a,s){e.addYaxisAnnotation(a,i.node,s)}),i}}]),v}(),He=function(){function v(e){T(this,v),this.w=e.w,this.annoCtx=e,this.helpers=new ve(this.annoCtx)}return M(v,[{key:"addPointAnnotation",value:function(e,t,i){this.w;var a=this.helpers.getX1X2("x1",e),s=this.helpers.getY1Y2("y1",e);if(C.isNumber(a)){var o={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:"")},r=this.annoCtx.graphics.drawMarker(a+e.marker.offsetX,s+e.marker.offsetY,o);t.appendChild(r.node);var n=e.label.text?e.label.text:"",l=this.annoCtx.graphics.drawText({x:a+e.label.offsetX,y:s+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:n,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(l.attr({rel:i}),t.appendChild(l.node),e.customSVG.SVG){var c=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});c.attr({transform:"translate(".concat(a+e.customSVG.offsetX,", ").concat(s+e.customSVG.offsetY,")")}),c.node.innerHTML=e.customSVG.SVG,t.appendChild(c.node)}if(e.image.path){var d=e.image.width?e.image.width:20,u=e.image.height?e.image.height:20;r=this.annoCtx.addImage({x:a+e.image.offsetX-d/2,y:s+e.image.offsetY-u/2,width:d,height:u,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&r.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&r.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&r.node.addEventListener("click",e.click.bind(this,e))}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,i=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map(function(a,s){e.addPointAnnotation(a,i.node,s)}),i}}]),v}(),Ie={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 v(){T(this,v),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 M(v,[{key:"init",value:function(){return{annotations:{position:"front",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:[Ie],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,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},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,rangeBarOverlap:!0,rangeBarGroupRows:!1,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal"}},bubble:{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,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,i){return t+i},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,i){return t+i},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}}}}}]),v}(),Ne=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w,this.graphics=new I(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new ve(this),this.xAxisAnnotations=new Oe(this),this.yAxisAnnotations=new Ye(this),this.pointsAnnotations=new He(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 M(v,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),i=this.xAxisAnnotations.drawXAxisAnnotations(),a=this.pointsAnnotations.drawPointAnnotations(),s=e.config.chart.animations.enabled,o=[t,i,a],r=[i.node,t.node,a.node],n=0;n<3;n++)e.globals.dom.elGraphical.add(o[n]),!s||e.globals.resized||e.globals.dataChanged||e.config.chart.type!=="scatter"&&e.config.chart.type!=="bubble"&&e.globals.dataPoints>1&&r[n].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:r[n],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map(function(t,i){e.addImage(t,i)})}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map(function(t,i){e.addText(t,i)})}},{key:"addXaxisAnnotation",value:function(e,t,i){this.xAxisAnnotations.addXaxisAnnotation(e,t,i)}},{key:"addYaxisAnnotation",value:function(e,t,i){this.yAxisAnnotations.addYaxisAnnotation(e,t,i)}},{key:"addPointAnnotation",value:function(e,t,i){this.pointsAnnotations.addPointAnnotation(e,t,i)}},{key:"addText",value:function(e,t){var i=e.x,a=e.y,s=e.text,o=e.textAnchor,r=e.foreColor,n=e.fontSize,l=e.fontFamily,c=e.fontWeight,d=e.cssClass,u=e.backgroundColor,p=e.borderWidth,x=e.strokeDashArray,f=e.borderRadius,b=e.borderColor,w=e.appendTo,k=w===void 0?".apexcharts-annotations":w,S=e.paddingLeft,h=S===void 0?4:S,g=e.paddingRight,m=g===void 0?4:g,y=e.paddingBottom,A=y===void 0?2:y,L=e.paddingTop,P=L===void 0?2:L,z=this.w,E=this.graphics.drawText({x:i,y:a,text:s,textAnchor:o||"start",fontSize:n||"12px",fontWeight:c||"regular",fontFamily:l||z.config.chart.fontFamily,foreColor:r||z.config.chart.foreColor,cssClass:d}),F=z.globals.dom.baseEl.querySelector(k);F&&F.appendChild(E.node);var R=E.bbox();if(s){var V=this.graphics.drawRect(R.x-h,R.y-P,R.width+h+m,R.height+A+P,f,u||"transparent",1,p,b,x);F.insertBefore(V.node,E.node)}}},{key:"addImage",value:function(e,t){var i=this.w,a=e.path,s=e.x,o=s===void 0?0:s,r=e.y,n=r===void 0?0:r,l=e.width,c=l===void 0?20:l,d=e.height,u=d===void 0?20:d,p=e.appendTo,x=p===void 0?".apexcharts-annotations":p,f=i.globals.dom.Paper.image(a);f.size(c,u).move(o,n);var b=i.globals.dom.baseEl.querySelector(x);return b&&b.appendChild(f.node),f}},{key:"addXaxisAnnotationExternal",value:function(e,t,i){return this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"xaxis",contextMethod:i.addXaxisAnnotation}),i}},{key:"addYaxisAnnotationExternal",value:function(e,t,i){return this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"yaxis",contextMethod:i.addYaxisAnnotation}),i}},{key:"addPointAnnotationExternal",value:function(e,t,i){return this.invertAxis===void 0&&(this.invertAxis=i.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"point",contextMethod:i.addPointAnnotation}),i}},{key:"addAnnotationExternal",value:function(e){var t=e.params,i=e.pushToMemory,a=e.context,s=e.type,o=e.contextMethod,r=a,n=r.w,l=n.globals.dom.baseEl.querySelector(".apexcharts-".concat(s,"-annotations")),c=l.childNodes.length+1,d=new pe,u=Object.assign({},s==="xaxis"?d.xAxisAnnotation:s==="yaxis"?d.yAxisAnnotation:d.pointAnnotation),p=C.extend(u,t);switch(s){case"xaxis":this.addXaxisAnnotation(p,l,c);break;case"yaxis":this.addYaxisAnnotation(p,l,c);break;case"point":this.addPointAnnotation(p,l,c)}var x=n.globals.dom.baseEl.querySelector(".apexcharts-".concat(s,"-annotations .apexcharts-").concat(s,"-annotation-label[rel='").concat(c,"']")),f=this.helpers.addBackgroundToAnno(x,p);return f&&l.insertBefore(f.node,x),i&&n.globals.memory.methodsToExec.push({context:r,id:p.id?p.id:C.randomId(),method:o,label:"addAnnotation",params:t}),a}},{key:"clearAnnotations",value:function(e){var t=e.w,i=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");t.globals.memory.methodsToExec.map(function(a,s){a.label!=="addText"&&a.label!=="addAnnotation"||t.globals.memory.methodsToExec.splice(s,1)}),i=C.listToArray(i),Array.prototype.forEach.call(i,function(a){for(;a.firstChild;)a.removeChild(a.firstChild)})}},{key:"removeAnnotation",value:function(e,t){var i=e.w,a=i.globals.dom.baseEl.querySelectorAll(".".concat(t));a&&(i.globals.memory.methodsToExec.map(function(s,o){s.id===t&&i.globals.memory.methodsToExec.splice(o,1)}),Array.prototype.forEach.call(a,function(s){s.parentElement.removeChild(s)}))}}]),v}(),se=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0}return M(v,[{key:"clippedImgArea",value:function(e){var t=this.w,i=t.config,a=parseInt(t.globals.gridWidth,10),s=parseInt(t.globals.gridHeight,10),o=a>s?a:s,r=e.image,n=0,l=0;e.width===void 0&&e.height===void 0?i.fill.image.width!==void 0&&i.fill.image.height!==void 0?(n=i.fill.image.width+1,l=i.fill.image.height):(n=o+1,l=o):(n=e.width,l=e.height);var c=document.createElementNS(t.globals.SVGNS,"pattern");I.setAttrs(c,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:n+"px",height:l+"px"});var d=document.createElementNS(t.globals.SVGNS,"image");c.appendChild(d),d.setAttributeNS(window.SVG.xlink,"href",r),I.setAttrs(d,{x:0,y:0,preserveAspectRatio:"none",width:n+"px",height:l+"px"}),d.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(e){var t=this.w;return(t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.chart.type==="heatmap"||t.config.chart.type==="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 i,a,s,o=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var r=this.getFillColors()[this.seriesIndex];t.globals.seriesColors[this.seriesIndex]!==void 0&&(r=t.globals.seriesColors[this.seriesIndex]),typeof r=="function"&&(r=r({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:t}));var n=this.getFillType(this.seriesIndex),l=Array.isArray(o.fill.opacity)?o.fill.opacity[this.seriesIndex]:o.fill.opacity;e.color&&(r=e.color);var c=r;if(r.indexOf("rgb")===-1?r.length<9&&(c=C.hexToRgba(r,l)):r.indexOf("rgba")>-1&&(l=C.getOpacityFromRGBA(r)),e.opacity&&(l=e.opacity),n==="pattern"&&(a=this.handlePatternFill(a,r,l,c)),n==="gradient"&&(s=this.handleGradientFill(r,l,this.seriesIndex)),n==="image"){var d=o.fill.image.src,u=e.patternID?e.patternID:"";this.clippedImgArea({opacity:l,image:Array.isArray(d)?e.seriesNumber-1&&(d=C.getOpacityFromRGBA(c));var u=s.fill.gradient.opacityTo===void 0?t:Array.isArray(s.fill.gradient.opacityTo)?s.fill.gradient.opacityTo[i]:s.fill.gradient.opacityTo;if(s.fill.gradient.gradientToColors===void 0||s.fill.gradient.gradientToColors.length===0)a=s.fill.gradient.shade==="dark"?n.shadeColor(-1*parseFloat(s.fill.gradient.shadeIntensity),e.indexOf("rgb")>-1?C.rgb2hex(e):e):n.shadeColor(parseFloat(s.fill.gradient.shadeIntensity),e.indexOf("rgb")>-1?C.rgb2hex(e):e);else if(s.fill.gradient.gradientToColors[o.seriesNumber]){var p=s.fill.gradient.gradientToColors[o.seriesNumber];a=p,p.indexOf("rgba")>-1&&(u=C.getOpacityFromRGBA(p))}else a=e;if(s.fill.gradient.inverseColors){var x=c;c=a,a=x}return c.indexOf("rgb")>-1&&(c=C.rgb2hex(c)),a.indexOf("rgb")>-1&&(a=C.rgb2hex(a)),r.drawGradient(l,c,a,d,u,o.size,s.fill.gradient.stops,s.fill.gradient.colorStops,i)}}]),v}(),Ae=function(){function v(e,t){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{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.length4&&arguments[4]!==void 0&&arguments[4],r=this.w,n=t,l=e,c=null,d=new I(this.ctx),u=r.config.markers.discrete&&r.config.markers.discrete.length;if((r.globals.markers.size[t]>0||o||u)&&(c=d.group({class:o||u?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(r.globals.cuid,")")),Array.isArray(l.x))for(var p=0;p0:r.config.markers.size>0;if(b||o||u){C.isNumber(l.y[p])?f+=" w".concat(C.randomId()):f="apexcharts-nullpoint";var w=this.getMarkerConfig({cssClass:f,seriesIndex:t,dataPointIndex:x});r.config.series[n].data[x]&&(r.config.series[n].data[x].fillColor&&(w.pointFillColor=r.config.series[n].data[x].fillColor),r.config.series[n].data[x].strokeColor&&(w.pointStrokeColor=r.config.series[n].data[x].strokeColor)),a&&(w.pSize=a),(s=d.drawMarker(l.x[p],l.y[p],w)).attr("rel",x),s.attr("j",x),s.attr("index",t),s.node.setAttribute("default-marker-size",w.pSize);var k=new q(this.ctx);k.setSelectionFilter(s,t,x),this.addEvents(s),c&&c.add(s)}else r.globals.pointsArray[t]===void 0&&(r.globals.pointsArray[t]=[]),r.globals.pointsArray[t].push([l.x[p],l.y[p]])}return c}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,i=e.seriesIndex,a=e.dataPointIndex,s=a===void 0?null:a,o=e.finishRadius,r=o===void 0?null:o,n=this.w,l=this.getMarkerStyle(i),c=n.globals.markers.size[i],d=n.config.markers;return s!==null&&d.discrete.length&&d.discrete.map(function(u){u.seriesIndex===i&&u.dataPointIndex===s&&(l.pointStrokeColor=u.strokeColor,l.pointFillColor=u.fillColor,c=u.size,l.pointShape=u.shape)}),{pSize:r===null?c:r,pRadius:d.radius,width:Array.isArray(d.width)?d.width[i]:d.width,height:Array.isArray(d.height)?d.height[i]:d.height,pointStrokeWidth:Array.isArray(d.strokeWidth)?d.strokeWidth[i]:d.strokeWidth,pointStrokeColor:l.pointStrokeColor,pointFillColor:l.pointFillColor,shape:l.pointShape||(Array.isArray(d.shape)?d.shape[i]:d.shape),class:t,pointStrokeOpacity:Array.isArray(d.strokeOpacity)?d.strokeOpacity[i]:d.strokeOpacity,pointStrokeDashArray:Array.isArray(d.strokeDashArray)?d.strokeDashArray[i]:d.strokeDashArray,pointFillOpacity:Array.isArray(d.fillOpacity)?d.fillOpacity[i]:d.fillOpacity,seriesIndex:i}}},{key:"addEvents",value:function(e){var t=this.w,i=new I(this.ctx);e.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",i.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",i.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,i=t.globals.markers.colors,a=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(a)?a[e]:a,pointFillColor:Array.isArray(i)?i[e]:i}}}]),v}(),ze=function(){function v(e){T(this,v),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 M(v,[{key:"draw",value:function(e,t,i){var a=this.w,s=new I(this.ctx),o=i.realIndex,r=i.pointsPos,n=i.zRatio,l=i.elParent,c=s.group({class:"apexcharts-series-markers apexcharts-series-".concat(a.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(a.globals.cuid,")")),Array.isArray(r.x))for(var d=0;db.maxBubbleRadius&&(f=b.maxBubbleRadius)}a.config.chart.animations.enabled||(x=f);var w=r.x[d],k=r.y[d];if(x=x||0,k!==null&&a.globals.series[o][u]!==void 0||(p=!1),p){var S=this.drawPoint(w,k,x,f,o,u,t);c.add(S)}l.add(c)}}},{key:"drawPoint",value:function(e,t,i,a,s,o,r){var n=this.w,l=s,c=new Z(this.ctx),d=new q(this.ctx),u=new se(this.ctx),p=new Ae(this.ctx),x=new I(this.ctx),f=p.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:o,finishRadius:n.config.chart.type==="bubble"||n.globals.comboCharts&&n.config.series[s]&&n.config.series[s].type==="bubble"?a:null});a=f.pSize;var b,w=u.fillPath({seriesNumber:s,dataPointIndex:o,color:f.pointFillColor,patternUnits:"objectBoundingBox",value:n.globals.series[s][r]});if(f.shape==="circle"?b=x.drawCircle(i):f.shape!=="square"&&f.shape!=="rect"||(b=x.drawRect(0,0,f.width-f.pointStrokeWidth/2,f.height-f.pointStrokeWidth/2,f.pRadius)),n.config.series[l].data[o]&&n.config.series[l].data[o].fillColor&&(w=n.config.series[l].data[o].fillColor),b.attr({x:e-f.width/2-f.pointStrokeWidth/2,y:t-f.height/2-f.pointStrokeWidth/2,cx:e,cy:t,fill:w,"fill-opacity":f.pointFillOpacity,stroke:f.pointStrokeColor,r:a,"stroke-width":f.pointStrokeWidth,"stroke-dasharray":f.pointStrokeDashArray,"stroke-opacity":f.pointStrokeOpacity}),n.config.chart.dropShadow.enabled){var k=n.config.chart.dropShadow;d.dropShadow(b,k,s)}if(!this.initialAnim||n.globals.dataChanged||n.globals.resized)n.globals.animationEnded=!0;else{var S=n.config.chart.animations.speed;c.animateMarker(b,0,f.shape==="circle"?a:{width:f.width,height:f.height},S,n.globals.easing,function(){window.setTimeout(function(){c.animationCompleted(b)},100)})}if(n.globals.dataChanged&&f.shape==="circle")if(this.dynamicAnim){var h,g,m,y,A=n.config.chart.animations.dynamicAnimation.speed;(y=n.globals.previousPaths[s]&&n.globals.previousPaths[s][r])!=null&&(h=y.x,g=y.y,m=y.r!==void 0?y.r:a);for(var L=0;Ln.globals.gridHeight+u&&(t=n.globals.gridHeight+u/2),n.globals.dataLabelsRects[a]===void 0&&(n.globals.dataLabelsRects[a]=[]),n.globals.dataLabelsRects[a].push({x:e,y:t,width:d,height:u});var p=n.globals.dataLabelsRects[a].length-2,x=n.globals.lastDrawnDataLabelsIndexes[a]!==void 0?n.globals.lastDrawnDataLabelsIndexes[a][n.globals.lastDrawnDataLabelsIndexes[a].length-1]:0;if(n.globals.dataLabelsRects[a][p]!==void 0){var f=n.globals.dataLabelsRects[a][x];(e>f.x+f.width+2||t>f.y+f.height+2||e+d4&&arguments[4]!==void 0?arguments[4]:2,o=this.w,r=new I(this.ctx),n=o.config.dataLabels,l=0,c=0,d=i,u=null;if(!n.enabled||!Array.isArray(e.x))return u;u=r.group({class:"apexcharts-data-labels"});for(var p=0;pt.globals.gridWidth+b.textRects.width+10)&&(n="");var w=t.globals.dataLabels.style.colors[o];((t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(w=t.globals.dataLabels.style.colors[r]),typeof w=="function"&&(w=w({series:t.globals.series,seriesIndex:o,dataPointIndex:r,w:t})),p&&(w=p);var k=u.offsetX,S=u.offsetY;if(t.config.chart.type!=="bar"&&t.config.chart.type!=="rangeBar"||(k=0,S=0),b.drawnextLabel){var h=i.drawText({width:100,height:parseInt(u.style.fontSize,10),x:a+k,y:s+S,foreColor:w,textAnchor:l||u.textAnchor,text:n,fontSize:c||u.style.fontSize,fontFamily:u.style.fontFamily,fontWeight:u.style.fontWeight||"normal"});if(h.attr({class:"apexcharts-datalabel",cx:a,cy:s}),u.dropShadow.enabled){var g=u.dropShadow;new q(this.ctx).dropShadow(h,g)}d.add(h),t.globals.lastDrawnDataLabelsIndexes[o]===void 0&&(t.globals.lastDrawnDataLabelsIndexes[o]=[]),t.globals.lastDrawnDataLabelsIndexes[o].push(r)}}}},{key:"addBackgroundToDataLabel",value:function(e,t){var i=this.w,a=i.config.dataLabels.background,s=a.padding,o=a.padding/2,r=t.width,n=t.height,l=new I(this.ctx).drawRect(t.x-s,t.y-o/2,r+2*s,n+o,a.borderRadius,i.config.chart.background==="transparent"?"#fff":i.config.chart.background,a.opacity,a.borderWidth,a.borderColor);return a.dropShadow.enabled&&new q(this.ctx).dropShadow(l,a.dropShadow),l}},{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"),i=0;ii.globals.gridHeight&&(d=i.globals.gridHeight-p)),{bcx:r,bcy:o,dataLabelsX:t,dataLabelsY:d}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,i=e.x,a=e.i,s=e.j,o=e.bcy,r=e.barHeight,n=e.barWidth,l=e.textRects,c=e.dataLabelsX,d=e.strokeWidth,u=e.barDataLabelsConfig,p=e.offX,x=e.offY,f=t.globals.gridHeight/t.globals.dataPoints;n=Math.abs(n);var b=o-(this.barCtx.isRangeBar?0:f)+r/2+l.height/2+x-3,w=this.barCtx.series[a][s]<0,k=i;switch(this.barCtx.isReversed&&(k=i+n-(w?2*n:0),i=t.globals.gridWidth-n),u.position){case"center":c=w?k+n/2-p:Math.max(l.width/2,k-n/2)+p;break;case"bottom":c=w?k+n-d-Math.round(l.width/2)-p:k-n+d+Math.round(l.width/2)+p;break;case"top":c=w?k-d+Math.round(l.width/2)-p:k-d-Math.round(l.width/2)+p}return t.config.chart.stacked||(c<0?c=c+l.width+d:c+l.width/2>t.globals.gridWidth&&(c=t.globals.gridWidth-l.width-d)),{bcx:i,bcy:o,dataLabelsX:c,dataLabelsY:b}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,i=e.y,a=e.val,s=e.i,o=e.j,r=e.textRects,n=e.barHeight,l=e.barWidth,c=e.dataLabelsConfig,d=this.w,u="rotate(0)";d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(u="rotate(-90, ".concat(t,", ").concat(i,")"));var p=new ye(this.barCtx.ctx),x=new I(this.barCtx.ctx),f=c.formatter,b=null,w=d.globals.collapsedSeriesIndices.indexOf(s)>-1;if(c.enabled&&!w){b=x.group({class:"apexcharts-data-labels",transform:u});var k="";a!==void 0&&(k=f(a,{seriesIndex:s,dataPointIndex:o,w:d}));var S=d.globals.series[s][o]<0,h=d.config.plotOptions.bar.dataLabels.position;d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(h==="top"&&(c.textAnchor=S?"end":"start"),h==="center"&&(c.textAnchor="middle"),h==="bottom"&&(c.textAnchor=S?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&lMath.abs(l)&&(k=""):r.height/1.6>Math.abs(n)&&(k=""));var g=X({},c);this.barCtx.isHorizontal&&a<0&&(c.textAnchor==="start"?g.textAnchor="end":c.textAnchor==="end"&&(g.textAnchor="start")),p.plotDataLabelsText({x:t,y:i,text:k,i:s,j:o,parent:b,dataLabelsConfig:g,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return b}}]),v}(),te=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w,this.legendInactiveClass="legend-mouseover-inactive"}return M(v,[{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(C.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),i=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:i}}},{key:"addCollapsedClassToSeries",value:function(e,t){var i=this.w;function a(s){for(var o=0;o0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=this.w,s=C.clone(a.globals.initialSeries);a.globals.previousPaths=[],i?(a.globals.collapsedSeries=[],a.globals.ancillaryCollapsedSeries=[],a.globals.collapsedSeriesIndices=[],a.globals.ancillaryCollapsedSeriesIndices=[]):s=this.emptyCollapsedSeries(s),a.config.series=s,e&&(t&&(a.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(s,a.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,i=0;i-1&&(e[i].data=[]);return e}},{key:"toggleSeriesOnHover",value:function(e,t){var i=this.w;t||(t=e.target);var a=i.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if(e.type==="mousemove"){var s=parseInt(t.getAttribute("rel"),10)-1,o=null,r=null;i.globals.axisCharts||i.config.chart.type==="radialBar"?i.globals.axisCharts?(o=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(s,"']")),r=i.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(s,"']"))):o=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(s+1,"']")):o=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(s+1,"'] path"));for(var n=0;n=n.from&&c<=n.to&&s[l].classList.remove(i.legendInactiveClass)}}(a.config.plotOptions.heatmap.colorScale.ranges[r])}else e.type==="mouseout"&&o("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0&&arguments[0],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"asc",i=this.w,a=0;if(i.config.series.length>1){for(var s=i.config.series.map(function(r,n){var l=!1;return e&&(l=i.config.series[n].type==="bar"||i.config.series[n].type==="column"),r.data&&r.data.length>0&&!l?n:-1}),o=t==="asc"?0:s.length-1;t==="asc"?o=0;t==="asc"?o++:o--)if(s[o]!==-1){a=s[o];break}}return a}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(o,r,n){for(var l=o[r].childNodes,c={type:n,paths:[],realIndex:o[r].getAttribute("data:realIndex")},d=0;d0)for(var a=function(o){for(var r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(o,"'] rect")),n=[],l=function(d){var u=function(x){return r[d].getAttribute(x)},p={x:parseFloat(u("x")),y:parseFloat(u("y")),width:parseFloat(u("width")),height:parseFloat(u("height"))};n.push({rect:p,color:r[d].getAttribute("color")})},c=0;c0)for(var a=0;a0?t:[]});return e}}]),v}(),Be=function(){function v(e){T(this,v),this.w=e.w,this.barCtx=e}return M(v,[{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 i=0;i0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[i].length),t.globals.isXNumeric)for(var a=0;at.globals.minX&&t.globals.seriesX[i][a]0&&(a=l.globals.minXDiff/u),(o=a/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(o=1)}r=l.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?l.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),e=l.globals.padHorizontal+(a-o*this.barCtx.seriesLen)/2}return{x:e,y:t,yDivision:i,xDivision:a,barHeight:s,barWidth:o,zeroH:r,zeroW:n}}},{key:"getPathFillColor",value:function(e,t,i,a){var s=this.w,o=new se(this.barCtx.ctx),r=null,n=this.barCtx.barOptions.distributed?i:t;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map(function(l){e[t][i]>=l.from&&e[t][i]<=l.to&&(r=l.color)}),s.config.series[t].data[i]&&s.config.series[t].data[i].fillColor&&(r=s.config.series[t].data[i].fillColor),o.fillPath({seriesNumber:this.barCtx.barOptions.distributed?n:a,dataPointIndex:i,color:r,value:e[t][i]})}},{key:"getStrokeWidth",value:function(e,t,i){var a=0,s=this.w;return this.barCtx.series[e][t]===void 0||this.barCtx.series[e][t]===null?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,s.config.stroke.show&&(this.barCtx.isNullValue||(a=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[i]:this.barCtx.strokeWidth)),a}},{key:"barBackground",value:function(e){var t=e.j,i=e.i,a=e.x1,s=e.x2,o=e.y1,r=e.y2,n=e.elSeries,l=this.w,c=new I(this.barCtx.ctx),d=new te(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&d===i){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var u=this.barCtx.barOptions.colors.backgroundBarColors[t],p=c.drawRect(a!==void 0?a:0,o!==void 0?o:0,s!==void 0?s:l.globals.gridWidth,r!==void 0?r:l.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,u,this.barCtx.barOptions.colors.backgroundBarOpacity);n.add(p),p.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t=e.barWidth,i=e.barXPosition,a=e.yRatio,s=e.y1,o=e.y2,r=e.strokeWidth,n=e.series,l=e.realIndex,c=e.i,d=e.j,u=e.w,p=new I(this.barCtx.ctx);(r=Array.isArray(r)?r[l]:r)||(r=0);var x={barWidth:t,strokeWidth:r,yRatio:a,barXPosition:i,y1:s,y2:o},f=this.getRoundedBars(u,x,n,c,d),b=i,w=i+t,k=p.move(b,s),S=p.move(b,s),h=p.line(w-r,s);return u.globals.previousPaths.length>0&&(S=this.barCtx.getPreviousPath(l,d,!1)),k=k+p.line(b,f.y2)+f.pathWithRadius+p.line(w-r,f.y2)+h+h+"z",S=S+p.line(b,s)+h+h+h+h+h+p.line(b,s),u.config.chart.stacked&&(this.barCtx.yArrj.push(f.y2WithRadius),this.barCtx.yArrjF.push(Math.abs(s-f.y2WithRadius)),this.barCtx.yArrjVal.push(this.barCtx.series[c][d])),{pathTo:k,pathFrom:S}}},{key:"getBarpaths",value:function(e){var t=e.barYPosition,i=e.barHeight,a=e.x1,s=e.x2,o=e.strokeWidth,r=e.series,n=e.realIndex,l=e.i,c=e.j,d=e.w,u=new I(this.barCtx.ctx);(o=Array.isArray(o)?o[n]:o)||(o=0);var p={barHeight:i,strokeWidth:o,barYPosition:t,x2:s,x1:a},x=this.getRoundedBars(d,p,r,l,c),f=u.move(a,t),b=u.move(a,t);d.globals.previousPaths.length>0&&(b=this.barCtx.getPreviousPath(n,c,!1));var w=t,k=t+i,S=u.line(a,k-o);return f=f+u.line(x.x2,w)+x.pathWithRadius+u.line(x.x2,k-o)+S+S+"z",b=b+u.line(a,w)+S+S+S+S+S+u.line(a,w),d.config.chart.stacked&&(this.barCtx.xArrj.push(x.x2WithRadius),this.barCtx.xArrjF.push(Math.abs(a-x.x2WithRadius)),this.barCtx.xArrjVal.push(this.barCtx.series[l][c])),{pathTo:f,pathFrom:b}}},{key:"getRoundedBars",value:function(e,t,i,a,s){var o=new I(this.barCtx.ctx),r=0,n=e.config.plotOptions.bar.borderRadius,l=Array.isArray(n);if(l?r=n[a>n.length-1?n.length-1:a]:r=n,e.config.chart.stacked&&i.length>1&&a!==this.barCtx.radiusOnSeriesNumber&&!l&&(r=0),this.barCtx.isHorizontal){var c="",d=t.x2;if(Math.abs(t.x1-t.x2)0:i[a][s]<0;u&&(r*=-1),d-=r,c=o.quadraticCurve(d+r,t.barYPosition,d+r,t.barYPosition+(u?-1*r:r))+o.line(d+r,t.barYPosition+t.barHeight-t.strokeWidth-(u?-1*r:r))+o.quadraticCurve(d+r,t.barYPosition+t.barHeight-t.strokeWidth,d,t.barYPosition+t.barHeight-t.strokeWidth)}return{pathWithRadius:c,x2WithRadius:d+r,x2:d}}var p="",x=t.y2;if(Math.abs(t.y1-t.y2)=0;r--)this.barCtx.zeroSerieses.indexOf(r)>-1&&r===this.radiusOnSeriesNumber&&(this.barCtx.radiusOnSeriesNumber-=1);for(var n=t.length-1;n>=0;n--)i.globals.collapsedSeriesIndices.indexOf(this.barCtx.radiusOnSeriesNumber)>-1&&(this.barCtx.radiusOnSeriesNumber-=1)}},{key:"getXForValue",value:function(e,t){var i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=i?t:null;return e!=null&&(a=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),a}},{key:"getYForValue",value:function(e,t){var i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=i?t:null;return e!=null&&(a=t-e/this.barCtx.yRatio[this.barCtx.yaxisIndex]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[this.barCtx.yaxisIndex]:0)),a}},{key:"getGoalValues",value:function(e,t,i,a,s){var o=this,r=this.w,n=[];return r.globals.seriesGoals[a]&&r.globals.seriesGoals[a][s]&&Array.isArray(r.globals.seriesGoals[a][s])&&r.globals.seriesGoals[a][s].forEach(function(l){var c;n.push((H(c={},e,e==="x"?o.getXForValue(l.value,t,!1):o.getYForValue(l.value,i,!1)),H(c,"attrs",l),c))}),n}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,i=e.barYPosition,a=e.goalX,s=e.goalY,o=e.barWidth,r=e.barHeight,n=new I(this.barCtx.ctx),l=n.group({className:"apexcharts-bar-goals-groups"}),c=null;return this.barCtx.isHorizontal?Array.isArray(a)&&a.forEach(function(d){var u=d.attrs.strokeHeight!==void 0?d.attrs.strokeHeight:r/2,p=i+u+r/2;c=n.drawLine(d.x,p-2*u,d.x,p,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeWidth?d.attrs.strokeWidth:2,d.attrs.strokeLineCap),l.add(c)}):Array.isArray(s)&&s.forEach(function(d){var u=d.attrs.strokeWidth!==void 0?d.attrs.strokeWidth:o/2,p=t+u+o/2;c=n.drawLine(p-2*u,d.y,p,d.y,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeHeight?d.attrs.strokeHeight:2,d.attrs.strokeLineCap),l.add(c)}),l}}]),v}(),we=function(){function v(e,t){T(this,v),this.ctx=e,this.w=e.w;var i=this.w;this.barOptions=i.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=i.config.stroke.width,this.isNullValue=!1,this.isRangeBar=i.globals.seriesRangeBar.length&&this.isHorizontal,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.barHelpers=new Be(this)}return M(v,[{key:"draw",value:function(e,t){var i=this.w,a=new I(this.ctx),s=new U(this.ctx,i);e=s.getLogSeries(e),this.series=e,this.yRatio=s.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var o=a.group({class:"apexcharts-bar-series apexcharts-plot-series"});i.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 r=0,n=0;r0&&(this.visibleI=this.visibleI+1);var S=0,h=0;this.yRatio.length>1&&(this.yaxisIndex=w),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed;var g=this.barHelpers.initialPositions();x=g.y,S=g.barHeight,c=g.yDivision,u=g.zeroW,p=g.x,h=g.barWidth,l=g.xDivision,d=g.zeroH,this.horizontal||b.push(p+h/2);for(var m=a.group({class:"apexcharts-datalabels","data:realIndex":w}),y=a.group({class:"apexcharts-bar-goals-markers",style:"pointer-events: none"}),A=0;A0&&b.push(p+h/2),f.push(x);var F=this.barHelpers.getPathFillColor(e,r,A,w);this.renderSeries({realIndex:w,pathFill:F,j:A,i:r,pathFrom:P.pathFrom,pathTo:P.pathTo,strokeWidth:L,elSeries:k,x:p,y:x,series:e,barHeight:S,barWidth:h,elDataLabelsWrap:m,elGoalsMarkers:y,visibleSeries:this.visibleI,type:"bar"})}i.globals.seriesXvalues[w]=b,i.globals.seriesYvalues[w]=f,o.add(k)}return o}},{key:"renderSeries",value:function(e){var t=e.realIndex,i=e.pathFill,a=e.lineFill,s=e.j,o=e.i,r=e.pathFrom,n=e.pathTo,l=e.strokeWidth,c=e.elSeries,d=e.x,u=e.y,p=e.y1,x=e.y2,f=e.series,b=e.barHeight,w=e.barWidth,k=e.barYPosition,S=e.elDataLabelsWrap,h=e.elGoalsMarkers,g=e.visibleSeries,m=e.type,y=this.w,A=new I(this.ctx);a||(a=this.barOptions.distributed?y.globals.stroke.colors[s]:y.globals.stroke.colors[t]),y.config.series[o].data[s]&&y.config.series[o].data[s].strokeColor&&(a=y.config.series[o].data[s].strokeColor),this.isNullValue&&(i="none");var L=s/y.config.chart.animations.animateGradually.delay*(y.config.chart.animations.speed/y.globals.dataPoints)/2.4,P=A.renderPaths({i:o,j:s,realIndex:t,pathFrom:r,pathTo:n,stroke:a,strokeWidth:l,strokeLineCap:y.config.stroke.lineCap,fill:i,animationDelay:L,initialSpeed:y.config.chart.animations.speed,dataChangeSpeed:y.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(m,"-area")});P.attr("clip-path","url(#gridRectMask".concat(y.globals.cuid,")"));var z=y.config.forecastDataPoints;z.count>0&&s>=y.globals.dataPoints-z.count&&(P.node.setAttribute("stroke-dasharray",z.dashArray),P.node.setAttribute("stroke-width",z.strokeWidth),P.node.setAttribute("fill-opacity",z.fillOpacity)),p!==void 0&&x!==void 0&&(P.attr("data-range-y1",p),P.attr("data-range-y2",x)),new q(this.ctx).setSelectionFilter(P,t,s),c.add(P);var E=new We(this).handleBarDataLabels({x:d,y:u,y1:p,y2:x,i:o,j:s,series:f,realIndex:t,barHeight:b,barWidth:w,barYPosition:k,renderedPath:P,visibleSeries:g});return E!==null&&S.add(E),c.add(S),h&&c.add(h),c}},{key:"drawBarPaths",value:function(e){var t=e.indexes,i=e.barHeight,a=e.strokeWidth,s=e.zeroW,o=e.x,r=e.y,n=e.yDivision,l=e.elSeries,c=this.w,d=t.i,u=t.j;c.globals.isXNumeric&&(r=(c.globals.seriesX[d][u]-c.globals.minX)/this.invertedXRatio-i);var p=r+i*this.visibleI;o=this.barHelpers.getXForValue(this.series[d][u],s);var x=this.barHelpers.getBarpaths({barYPosition:p,barHeight:i,x1:s,x2:o,strokeWidth:a,series:this.series,realIndex:t.realIndex,i:d,j:u,w:c});return c.globals.isXNumeric||(r+=n),this.barHelpers.barBackground({j:u,i:d,y1:p-i*this.visibleI,y2:i*this.seriesLen,elSeries:l}),{pathTo:x.pathTo,pathFrom:x.pathFrom,x:o,y:r,goalX:this.barHelpers.getGoalValues("x",s,null,d,u),barYPosition:p}}},{key:"drawColumnPaths",value:function(e){var t=e.indexes,i=e.x,a=e.y,s=e.xDivision,o=e.barWidth,r=e.zeroH,n=e.strokeWidth,l=e.elSeries,c=this.w,d=t.realIndex,u=t.i,p=t.j,x=t.bc;if(c.globals.isXNumeric){var f=d;c.globals.seriesX[d].length||(f=c.globals.maxValsInArrayIndex),i=(c.globals.seriesX[f][p]-c.globals.minX)/this.xRatio-o*this.seriesLen/2}var b=i+o*this.visibleI;a=this.barHelpers.getYForValue(this.series[u][p],r);var w=this.barHelpers.getColumnPaths({barXPosition:b,barWidth:o,y1:r,y2:a,strokeWidth:n,series:this.series,realIndex:t.realIndex,i:u,j:p,w:c});return c.globals.isXNumeric||(i+=s),this.barHelpers.barBackground({bc:x,j:p,i:u,x1:b-n/2-o*this.visibleI,x2:o*this.seriesLen+n/2,elSeries:l}),{pathTo:w.pathTo,pathFrom:w.pathFrom,x:i,y:a,goalY:this.barHelpers.getGoalValues("y",null,r,u,p),barXPosition:b}}},{key:"getPreviousPath",value:function(e,t){for(var i,a=this.w,s=0;s0&&parseInt(o.realIndex,10)===parseInt(e,10)&&a.globals.previousPaths[s].paths[t]!==void 0&&(i=a.globals.previousPaths[s].paths[t].d)}return i}}]),v}(),J=function(){function v(e){T(this,v),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 M(v,[{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 i=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return i=this.getTimeStamp(i)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var i=this.w.globals.locale,a=this.w.config.xaxis.labels.datetimeUTC,s=["\0"].concat(_(i.months)),o=[""].concat(_(i.shortMonths)),r=[""].concat(_(i.days)),n=[""].concat(_(i.shortDays));function l(A,L){var P=A+"";for(L=L||2;P.length12?p-12:p===0?12:p;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+l(p))).replace(/(^|[^\\])H/g,"$1"+p)).replace(/(^|[^\\])hh+/g,"$1"+l(x))).replace(/(^|[^\\])h/g,"$1"+x);var f=a?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+l(f))).replace(/(^|[^\\])m/g,"$1"+f);var b=a?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+l(b))).replace(/(^|[^\\])s/g,"$1"+b);var w=a?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+l(w,3)),w=Math.round(w/10),t=t.replace(/(^|[^\\])ff/g,"$1"+l(w)),w=Math.round(w/10);var k=p<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+w)).replace(/(^|[^\\])TT+/g,"$1"+k)).replace(/(^|[^\\])T/g,"$1"+k.charAt(0));var S=k.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+S)).replace(/(^|[^\\])t/g,"$1"+S.charAt(0));var h=-e.getTimezoneOffset(),g=a||!h?"Z":h>0?"+":"-";if(!a){var m=(h=Math.abs(h))%60;g+=l(Math.floor(h/60))+":"+l(m)}t=t.replace(/(^|[^\\])K/g,"$1"+g);var y=(a?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(r[0],"g"),r[y])).replace(new RegExp(n[0],"g"),n[y])).replace(new RegExp(s[0],"g"),s[d])).replace(new RegExp(o[0],"g"),o[d])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,i){var a=this.w;a.config.xaxis.min!==void 0&&(e=a.config.xaxis.min),a.config.xaxis.max!==void 0&&(t=a.config.xaxis.max);var s=this.getDate(e),o=this.getDate(t),r=this.formatDate(s,"yyyy MM dd HH mm ss fff").split(" "),n=this.formatDate(o,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(r[6],10),maxMillisecond:parseInt(n[6],10),minSecond:parseInt(r[5],10),maxSecond:parseInt(n[5],10),minMinute:parseInt(r[4],10),maxMinute:parseInt(n[4],10),minHour:parseInt(r[3],10),maxHour:parseInt(n[3],10),minDate:parseInt(r[2],10),maxDate:parseInt(n[2],10),minMonth:parseInt(r[1],10)-1,maxMonth:parseInt(n[1],10)-1,minYear:parseInt(r[0],10),maxYear:parseInt(n[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,i){return this.determineDaysOfMonths(e,t)-i}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,i){var a=this.daysCntOfYear[t]+i;return t>1&&this.isLeapYear()&&a++,a}},{key:"determineDaysOfMonths",value:function(e,t){var i=30;switch(e=C.monthMod(e),!0){case this.months30.indexOf(e)>-1:e===2&&(i=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:i=31}return i}}]),v}(),Ee=function(v){K(t,we);var e=ue(t);function t(){return T(this,t),e.apply(this,arguments)}return M(t,[{key:"draw",value:function(i,a){var s=this.w,o=new I(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=i,this.seriesRangeStart=s.globals.seriesRangeStart,this.seriesRangeEnd=s.globals.seriesRangeEnd,this.barHelpers.initVariables(i);for(var r=o.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),n=0;n0&&(this.visibleI=this.visibleI+1);var w=0,k=0;this.yRatio.length>1&&(this.yaxisIndex=f);var S=this.barHelpers.initialPositions();p=S.y,d=S.zeroW,u=S.x,k=S.barWidth,l=S.xDivision,c=S.zeroH;for(var h=o.group({class:"apexcharts-datalabels","data:realIndex":f}),g=o.group({class:"apexcharts-rangebar-goals-markers",style:"pointer-events: none"}),m=0;m0});return o=d.config.plotOptions.bar.rangeBarGroupRows?r+l*f:r+n*this.visibleI+l*f,b>-1&&!d.config.plotOptions.bar.rangeBarOverlap&&(u=d.globals.seriesRangeBar[a][b].overlaps).indexOf(p)>-1&&(o=(n=c.barHeight/u.length)*this.visibleI+l*(100-parseInt(this.barOptions.barHeight,10))/100/2+n*(this.visibleI+u.indexOf(p))+l*f),{barYPosition:o,barHeight:n}}},{key:"drawRangeColumnPaths",value:function(i){var a=i.indexes,s=i.x;i.strokeWidth;var o=i.xDivision,r=i.barWidth,n=i.zeroH,l=this.w,c=a.i,d=a.j,u=this.yRatio[this.yaxisIndex],p=a.realIndex,x=this.getRangeValue(p,d),f=Math.min(x.start,x.end),b=Math.max(x.start,x.end);l.globals.isXNumeric&&(s=(l.globals.seriesX[c][d]-l.globals.minX)/this.xRatio-r/2);var w=s+r*this.visibleI;this.series[c][d]===void 0||this.series[c][d]===null?f=n:(f=n-f/u,b=n-b/u);var k=Math.abs(b-f),S=this.barHelpers.getColumnPaths({barXPosition:w,barWidth:r,y1:f,y2:b,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:a.realIndex,i:p,j:d,w:l});return l.globals.isXNumeric||(s+=o),{pathTo:S.pathTo,pathFrom:S.pathFrom,barHeight:k,x:s,y:b,goalY:this.barHelpers.getGoalValues("y",null,n,c,d),barXPosition:w}}},{key:"drawRangeBarPaths",value:function(i){var a=i.indexes,s=i.y,o=i.y1,r=i.y2,n=i.yDivision,l=i.barHeight,c=i.barYPosition,d=i.zeroW,u=this.w,p=d+o/this.invertedYRatio,x=d+r/this.invertedYRatio,f=Math.abs(x-p),b=this.barHelpers.getBarpaths({barYPosition:c,barHeight:l,x1:p,x2:x,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:a.realIndex,realIndex:a.realIndex,j:a.j,w:u});return u.globals.isXNumeric||(s+=n),{pathTo:b.pathTo,pathFrom:b.pathFrom,barWidth:f,x,goalX:this.barHelpers.getGoalValues("x",d,null,a.realIndex,a.j),y:s}}},{key:"getRangeValue",value:function(i,a){var s=this.w;return{start:s.globals.seriesRangeStart[i][a],end:s.globals.seriesRangeEnd[i][a]}}},{key:"getTooltipValues",value:function(i){var a=i.ctx,s=i.seriesIndex,o=i.dataPointIndex,r=i.y1,n=i.y2,l=i.w,c=l.globals.seriesRangeStart[s][o],d=l.globals.seriesRangeEnd[s][o],u=l.globals.labels[o],p=l.config.series[s].name?l.config.series[s].name:"",x=l.config.tooltip.y.formatter,f=l.config.tooltip.y.title.formatter,b={w:l,seriesIndex:s,dataPointIndex:o,start:c,end:d};typeof f=="function"&&(p=f(p,b)),Number.isFinite(r)&&Number.isFinite(n)&&(c=r,d=n,l.config.series[s].data[o].x&&(u=l.config.series[s].data[o].x+":"),typeof x=="function"&&(u=x(u,b)));var w="",k="",S=l.globals.colors[s];if(l.config.tooltip.x.formatter===void 0)if(l.config.xaxis.type==="datetime"){var h=new J(a);w=h.formatDate(h.getDate(c),l.config.tooltip.x.format),k=h.formatDate(h.getDate(d),l.config.tooltip.x.format)}else w=c,k=d;else w=l.config.tooltip.x.formatter(c),k=l.config.tooltip.x.formatter(d);return{start:c,end:d,startVal:w,endVal:k,ylabel:u,color:S,seriesName:p}}},{key:"buildCustomTooltipHTML",value:function(i){var a=i.color,s=i.seriesName;return'
'+(s||"")+'
'+i.ylabel+' '+i.start+' - '+i.end+"
"}}]),t}(),re=function(){function v(e){T(this,v),this.opts=e}return M(v,[{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.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,C.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:"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 i=t.seriesIndex,a=t.dataPointIndex,s=t.w;return e._getBoxTooltip(s,i,a,["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 i=t.seriesIndex,a=t.dataPointIndex,s=t.w;return e._getBoxTooltip(s,i,a,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var i=t.seriesIndex,a=t.dataPointIndex,s=t.w,o=s.globals.seriesRangeStart[i][a];return s.globals.seriesRangeEnd[i][a]-o},background:{enabled:!1},style:{colors:["#fff"]}},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 i=new Ee(t.ctx,null),a=i.getTooltipValues(t),s=a.color,o=a.seriesName,r=a.ylabel,n=a.startVal,l=a.endVal;return i.buildCustomTooltipHTML({color:s,seriesName:o,ylabel:r,start:n,end:l})}(e):function(t){var i=new Ee(t.ctx,null),a=i.getTooltipValues(t),s=a.color,o=a.seriesName,r=a.ylabel,n=a.start,l=a.end;return i.buildCustomTooltipHTML({color:s,seriesName:o,ylabel:r,start:n,end:l})}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{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:"brush",value:function(e){return C.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(i,a){e.yaxis[a].min=0,e.yaxis[a].max=100}),e.chart.type==="bar"&&(e.dataLabels.formatter=t||function(i){return typeof i=="number"&&i?i.toFixed(0)+"%":i}),e}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,i){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(o){return C.isNumber(o)?Math.floor(o):o};var a=e.xaxis.labels.formatter,s=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return i&&i.length&&(s=i.map(function(o){return Array.isArray(o)?o:String(o)})),s&&s.length&&(e.xaxis.labels.formatter=function(o){return C.isNumber(o)?a(s[Math.floor(o)-1]):a(o)}),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,i,a,s){var o=e.globals.seriesCandleO[t][i],r=e.globals.seriesCandleH[t][i],n=e.globals.seriesCandleM[t][i],l=e.globals.seriesCandleL[t][i],c=e.globals.seriesCandleC[t][i];return e.config.series[t].type&&e.config.series[t].type!==s?`
+ `.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": ").concat(e.globals.series[t][i],` +
`):'
')+"
".concat(a[0],': ')+o+"
"+"
".concat(a[1],': ')+r+"
"+(n?"
".concat(a[2],': ')+n+"
":"")+"
".concat(a[3],': ')+l+"
"+"
".concat(a[4],': ')+c+"
"}}]),v}(),O=function(){function v(e){T(this,v),this.opts=e}return M(v,[{key:"init",value:function(e){var t=e.responsiveOverride,i=this.opts,a=new pe,s=new re(i);this.chartType=i.chart.type,this.chartType==="histogram"&&(i.chart.type="bar",i=C.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},i)),i=this.extendYAxis(i),i=this.extendAnnotations(i);var o=a.init(),r={};if(i&&D(i)==="object"){var n={};n=["line","area","bar","candlestick","boxPlot","rangeBar","histogram","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(i.chart.type)!==-1?s[i.chart.type]():s.line(),i.chart.brush&&i.chart.brush.enabled&&(n=s.brush(n)),i.chart.stacked&&i.chart.stackType==="100%"&&(i=s.stacked100(i)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(i),i.xaxis=i.xaxis||window.Apex.xaxis||{},t||(i.xaxis.convertedCatToNumeric=!1),((i=this.checkForCatToNumericXAxis(this.chartType,n,i)).chart.sparkline&&i.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(n=s.sparkline(n)),r=C.extend(o,n)}var l=C.extend(r,window.Apex);return o=C.extend(l,i),o=this.handleUserInputErrors(o)}},{key:"checkForCatToNumericXAxis",value:function(e,t,i){var a=new re(i),s=(e==="bar"||e==="boxPlot")&&i.plotOptions&&i.plotOptions.bar&&i.plotOptions.bar.horizontal,o=e==="pie"||e==="polarArea"||e==="donut"||e==="radar"||e==="radialBar"||e==="heatmap",r=i.xaxis.type!=="datetime"&&i.xaxis.type!=="numeric",n=i.xaxis.tickPlacement?i.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return s||o||!r||n==="between"||(i=a.convertCatToNumeric(i)),i}},{key:"extendYAxis",value:function(e,t){var i=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=C.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[C.extend(i.yAxis,e.yaxis)]:e.yaxis=C.extendArray(e.yaxis,i.yAxis);var a=!1;e.yaxis.forEach(function(o){o.logarithmic&&(a=!0)});var s=e.series;return t&&!s&&(s=t.config.series),a&&s.length!==e.yaxis.length&&s.length&&(e.yaxis=s.map(function(o,r){if(o.name||(s[r].name="series-".concat(r+1)),e.yaxis[r])return e.yaxis[r].seriesName=s[r].name,e.yaxis[r];var n=C.extend(i.yAxis,e.yaxis[0]);return n.show=!1,n})),a&&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=C.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=C.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=C.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}}]),v}(),B=function(){function v(){T(this,v)}return M(v,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRangeBar=[],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.hasGroups=!1,e.groups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.xaxisLabelsCount=0,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=C.extend({},e),t.initialSeries=C.clone(e.series),t.lastXAxis=C.clone(t.initialConfig.xaxis),t.lastYAxis=C.clone(t.initialConfig.yaxis),t}}]),v}(),oe=function(){function v(e){T(this,v),this.opts=e}return M(v,[{key:"init",value:function(){var e=new O(this.opts).init({responsiveOverride:!1});return{config:e,globals:new B().init(e)}}}]),v}(),$=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new U(this.ctx)}return M(v,[{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 i=this.w.config,a=this.w.globals,s=i.chart.type==="boxPlot"||i.series[t].type==="boxPlot",o=0;o=5?this.twoDSeries.push(C.parseNumber(e[t].data[o][4])):this.twoDSeries.push(C.parseNumber(e[t].data[o][1])),a.dataFormatXNumeric=!0),i.xaxis.type==="datetime"){var r=new Date(e[t].data[o][0]);r=new Date(r).getTime(),this.twoDSeriesX.push(r)}else this.twoDSeriesX.push(e[t].data[o][0]);for(var n=0;n-1&&(o=this.activeSeriesIndex);for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:this.ctx,a=this.w.config,s=this.w.globals,o=new J(i),r=a.labels.length>0?a.labels.slice():a.xaxis.categories.slice();s.isRangeBar=a.chart.type==="rangeBar"&&s.isBarHorizontal,s.hasGroups=a.xaxis.type==="category"&&a.xaxis.group.groups.length>0,s.hasGroups&&(s.groups=a.xaxis.group.groups);for(var n=function(){for(var d=0;d0&&(this.twoDSeriesX=r,s.seriesX.push(this.twoDSeriesX))),s.labels.push(this.twoDSeriesX);var c=e[l].data.map(function(d){return C.parseNumber(d)});s.series.push(c)}s.seriesZ.push(this.threeDSeries),e[l].name!==void 0?s.seriesNames.push(e[l].name):s.seriesNames.push("series-"+parseInt(l+1,10)),e[l].color!==void 0?s.seriesColors.push(e[l].color):s.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,i=this.w.config;t.series=e.slice(),t.seriesNames=i.labels.slice();for(var a=0;a0?i.labels=t.xaxis.categories:t.labels.length>0?i.labels=t.labels.slice():this.fallbackToCategory?(i.labels=i.labels[0],i.seriesRangeBar.length&&(i.seriesRangeBar.map(function(a){a.forEach(function(s){i.labels.indexOf(s.x)<0&&s.x&&i.labels.push(s.x)})}),i.labels=i.labels.filter(function(a,s,o){return o.indexOf(a)===s})),t.xaxis.convertedCatToNumeric&&(new re(t).convertCatToNumericXaxis(t,this.ctx,i.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,i=this.w.config,a=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var s=i.series.map(function(d,u){return d.data.filter(function(p,x,f){return f.findIndex(function(b){return b.x===p.x})===x})}),o=s.reduce(function(d,u,p,x){return x[d].length>u.length?d:p},0),r=0;r0&&a<100?i.toFixed(1):i.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?i.toFixed(1):i.toFixed(0)}return i},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(i,a){i.labels.formatter!==void 0?t.globals.yLabelFormatters[a]=i.labels.formatter:t.globals.yLabelFormatters[a]=function(s){return t.globals.xyCharts?Array.isArray(s)?s.map(function(o){return e.defaultYFormatter(o,i,a)}):e.defaultYFormatter(s,i,a):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(i,a){return i.length>a.length?i:a},0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),v}(),ne=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"getLabel",value:function(e,t,i,a){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"12px",r=!(arguments.length>6&&arguments[6]!==void 0)||arguments[6],n=this.w,l=e[a]===void 0?"":e[a],c=l,d=n.globals.xLabelFormatter,u=n.config.xaxis.labels.formatter,p=!1,x=new fe(this.ctx),f=l;r&&(c=x.xLabelFormat(d,l,f,{i:a,dateFormatter:new J(this.ctx).formatDate,w:n}),u!==void 0&&(c=u(l,e[a],{i:a,dateFormatter:new J(this.ctx).formatDate,w:n})));var b=function(h){var g=null;return t.forEach(function(m){m.unit==="month"?g="year":m.unit==="day"?g="month":m.unit==="hour"?g="day":m.unit==="minute"&&(g="hour")}),g===h};t.length>0?(p=b(t[a].unit),i=t[a].position,c=t[a].value):n.config.xaxis.type==="datetime"&&u===void 0&&(c=""),c===void 0&&(c=""),c=Array.isArray(c)?c:c.toString();var w=new I(this.ctx),k={};k=n.globals.rotateXLabels&&r?w.getTextRects(c,parseInt(o,10),null,"rotate(".concat(n.config.xaxis.labels.rotate," 0 0)"),!1):w.getTextRects(c,parseInt(o,10));var S=!n.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(c)&&(c.indexOf("NaN")===0||c.toLowerCase().indexOf("invalid")===0||c.toLowerCase().indexOf("infinity")>=0||s.indexOf(c)>=0&&S)&&(c=""),{x:i,text:c,textRect:k,isBold:p}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,i){var a=this.w,s=a.config.xaxis.tickAmount;return s==="dataPoints"&&(s=Math.round(a.globals.gridWidth/120)),s>i||e%Math.round(i/(s+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,i,a,s){var o=this.w;if(e===0&&o.globals.skipFirstTimelinelabel&&(t.text=""),e===i-1&&o.globals.skipLastTimelinelabel&&(t.text=""),o.config.xaxis.labels.hideOverlappingLabels&&a.length>0){var r=s[s.length-1];t.x0){n.config.yaxis[s].opposite===!0&&(e+=a.width);for(var d=t;d>=0;d--){var u=c+t/10+n.config.yaxis[s].labels.offsetY-1;n.globals.isBarHorizontal&&(u=o*d),n.config.chart.type==="heatmap"&&(u+=o/2);var p=l.drawLine(e+i.offsetX-a.width+a.offsetX,u+a.offsetY,e+i.offsetX+a.offsetX,u+a.offsetY,a.color);r.add(p),c+=o}}}}]),v}(),ce=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"scaleSvgNode",value:function(e,t){var i=parseFloat(e.getAttributeNS(null,"width")),a=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",i*t),e.setAttributeNS(null,"height",a*t),e.setAttributeNS(null,"viewBox","0 0 "+i+" "+a)}},{key:"fixSvgStringForIe11",value:function(e){if(!C.isIE11())return e.replace(/ /g," ");var t=0,i=e.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,function(a){return++t===2?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev"':a});return i=(i=i.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 i=this.w.globals.dom.Paper.node.cloneNode(!0);this.scaleSvgNode(i,e),t=new XMLSerializer().serializeToString(i)}return this.fixSvgStringForIe11(t)}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),i=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(a,function(s){s.setAttribute("width",0)}),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),i&&i[0]&&(i[0].setAttribute("y",-100),i[0].setAttribute("y1",-100),i[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(i){var a=t.w,s=e?e.scale||e.width/a.globals.svgWidth:1;t.cleanup();var o=document.createElement("canvas");o.width=a.globals.svgWidth*s,o.height=parseInt(a.globals.dom.elWrap.style.height,10)*s;var r=a.config.chart.background==="transparent"?"#fff":a.config.chart.background,n=o.getContext("2d");n.fillStyle=r,n.fillRect(0,0,o.width*s,o.height*s);var l=t.getSvgString(s);if(window.canvg&&C.isIE11()){var c=window.canvg.Canvg.fromString(n,l,{ignoreClear:!0,ignoreDimensions:!0});c.start();var d=o.msToBlob();c.stop(),i({blob:d})}else{var u="data:image/svg+xml,"+encodeURIComponent(l),p=new Image;p.crossOrigin="anonymous",p.onload=function(){if(n.drawImage(p,0,0),o.msToBlob){var x=o.msToBlob();i({blob:x})}else{var f=o.toDataURL("image/png");i({imgURI:f})}},p.src=u}})}},{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 i=t.imgURI,a=t.blob;a?navigator.msSaveOrOpenBlob(a,e.w.globals.chartID+".png"):e.triggerDownload(i,e.w.config.chart.toolbar.export.png.filename,".png")})}},{key:"exportToCSV",value:function(e){var t=this,i=e.series,a=e.columnDelimiter,s=a===void 0?",":a,o=e.lineDelimiter,r=o===void 0?` +`:o,n=this.w;i||(i=n.config.series);var l=[],c=[],d="",u=new $(this.ctx),p=new ne(this.ctx),x=function(f){var b="";if(n.globals.axisCharts){if(n.config.xaxis.type==="category"||n.config.xaxis.convertedCatToNumeric)if(n.globals.isBarHorizontal){var w=n.globals.yLabelFormatters[0],k=new te(t.ctx).getActiveConfigSeriesIndex();b=w(n.globals.labels[f],{seriesIndex:k,dataPointIndex:f,w:n})}else b=p.getLabel(n.globals.labels,n.globals.timescaleLabels,0,f).text;n.config.xaxis.type==="datetime"&&(n.config.xaxis.categories.length?b=n.config.xaxis.categories[f]:n.config.labels.length&&(b=n.config.labels[f]))}else b=n.config.labels[f];return Array.isArray(b)&&(b=b.join(" ")),C.isNumber(b)?b:b.split(s).join("")};l.push(n.config.chart.toolbar.export.csv.headerCategory),i.map(function(f,b){var w=f.name?f.name:"series-".concat(b);n.globals.axisCharts&&l.push(w.split(s).join("")?w.split(s).join(""):"series-".concat(b))}),n.globals.axisCharts||(l.push(n.config.chart.toolbar.export.csv.headerValue),c.push(l.join(s))),i.map(function(f,b){n.globals.axisCharts?function(w,k){if(l.length&&k===0&&c.push(l.join(s)),w.data&&w.data.length)for(var S=0;S=10?n.config.chart.toolbar.export.csv.dateFormatter(h):C.isNumber(h)?h:h.split(s).join("")));for(var g=0;g0&&!t.globals.isBarHorizontal&&(this.xaxisLabels=t.globals.timescaleLabels.slice()),t.config.xaxis.overwriteCategories&&(this.xaxisLabels=t.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],t.config.xaxis.position==="top"?this.offY=0:this.offY=t.globals.gridHeight+1,this.offY=this.offY+t.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=t.config.chart.type==="bar"&&t.config.plotOptions.bar.horizontal,this.xaxisFontSize=t.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=t.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=t.config.xaxis.labels.style.colors,this.xaxisBorderWidth=t.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=t.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=t.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=t.config.xaxis.axisBorder.height,this.yaxis=t.config.yaxis[0]}return M(v,[{key:"drawXaxis",value:function(){var e=this.w,t=new I(this.ctx),i=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),a=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});i.add(a);for(var s=[],o=0;o6&&arguments[6]!==void 0?arguments[6]:{},c=[],d=[],u=this.w,p=l.xaxisFontSize||this.xaxisFontSize,x=l.xaxisFontFamily||this.xaxisFontFamily,f=l.xaxisForeColors||this.xaxisForeColors,b=l.fontWeight||u.config.xaxis.labels.style.fontWeight,w=l.cssClass||u.config.xaxis.labels.style.cssClass,k=u.globals.padHorizontal,S=a.length,h=u.config.xaxis.type==="category"?u.globals.dataPoints:S;if(s){var g=h>1?h-1:h;r=u.globals.gridWidth/g,k=k+o(0,r)/2+u.config.xaxis.labels.offsetX}else r=u.globals.gridWidth/h,k=k+o(0,r)+u.config.xaxis.labels.offsetX;for(var m=function(A){var L=k-o(A,r)/2+u.config.xaxis.labels.offsetX;A===0&&S===1&&r/2===k&&h===1&&(L=u.globals.gridWidth/2);var P=n.axesUtils.getLabel(a,u.globals.timescaleLabels,L,A,c,p,e),z=28;if(u.globals.rotateXLabels&&e&&(z=22),e||(z=z+parseFloat(p)+(u.globals.xAxisLabelsHeight-u.globals.xAxisGroupLabelsHeight)+(u.globals.rotateXLabels?10:0)),P=u.config.xaxis.tickAmount!==void 0&&u.config.xaxis.tickAmount!=="dataPoints"&&u.config.xaxis.type!=="datetime"?n.axesUtils.checkLabelBasedOnTickamount(A,P,S):n.axesUtils.checkForOverflowingLabels(A,P,S,c,d),e&&P.text&&u.globals.xaxisLabelsCount++,u.config.xaxis.labels.show){var E=t.drawText({x:P.x,y:n.offY+u.config.xaxis.labels.offsetY+z-(u.config.xaxis.position==="top"?u.globals.xAxisHeight+u.config.xaxis.axisTicks.height-2:0),text:P.text,textAnchor:"middle",fontWeight:P.isBold?600:b,fontSize:p,fontFamily:x,foreColor:Array.isArray(f)?e&&u.config.xaxis.convertedCatToNumeric?f[u.globals.minX+A-1]:f[A]:f,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+w});if(i.add(E),e){var F=document.createElementNS(u.globals.SVGNS,"title");F.textContent=Array.isArray(P.text)?P.text.join(" "):P.text,E.node.appendChild(F),P.text!==""&&(c.push(P.text),d.push(P))}}Aa.globals.gridWidth)){var o=this.offY+a.config.xaxis.axisTicks.offsetY;if(t=t+o+a.config.xaxis.axisTicks.height,a.config.xaxis.position==="top"&&(t=o-a.config.xaxis.axisTicks.height),a.config.xaxis.axisTicks.show){var r=new I(this.ctx).drawLine(e+a.config.xaxis.axisTicks.offsetX,o+a.config.xaxis.offsetY,s+a.config.xaxis.axisTicks.offsetX,t+a.config.xaxis.offsetY,a.config.xaxis.axisTicks.color);i.add(r),r.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],i=this.xaxisLabels.length,a=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var s=0;s0){var c=s[s.length-1].getBBox(),d=s[0].getBBox();c.x<-20&&s[s.length-1].parentNode.removeChild(s[s.length-1]),d.x+d.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&s[0].parentNode.removeChild(s[0]);for(var u=0;u0&&(this.xaxisLabels=t.globals.timescaleLabels.slice())}return M(v,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,i=new I(this.ctx);e===null&&(e=i.group({class:"apexcharts-grid"}));var a=i.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),s=i.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(s),e.add(a),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,i=new I(this.ctx),a=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(d){s=Math.max(s,d)}),a=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 o=e.config.chart.type,r=0,n=0;(o==="bar"||o==="rangeBar"||o==="candlestick"||o==="boxPlot"||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(r=e.config.grid.padding.left,n=e.config.grid.padding.right,t.barPadForNumericAxis>r&&(r=t.barPadForNumericAxis,n=t.barPadForNumericAxis)),t.dom.elGridRect=i.drawRect(-a/2-r-2,-a/2,t.gridWidth+a+n+r+4,t.gridHeight+a,0,"#fff");var l=e.globals.markers.largestSize+1;t.dom.elGridRectMarker=i.drawRect(2*-l,2*-l,t.gridWidth+4*l,t.gridHeight+4*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask),c.appendChild(t.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,i=e.x1,a=e.y1,s=e.x2,o=e.y2,r=e.xCount,n=e.parent,l=this.w;if(!(t===0&&l.globals.skipFirstTimelinelabel||t===r-1&&l.globals.skipLastTimelinelabel&&!l.config.xaxis.labels.formatter||l.config.chart.type==="radar")){l.config.grid.xaxis.lines.show&&this._drawGridLine({x1:i,y1:a,x2:s,y2:o,parent:n});var c=0;if(l.globals.hasGroups&&l.config.xaxis.tickPlacement==="between"){var d=l.globals.groups;if(d){for(var u=0,p=0;u2));s++);return!e.globals.isBarHorizontal||this.isRangeBar?(i=this.xaxisLabels.length,this.isRangeBar&&(a=e.globals.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(i=e.config.xaxis.tickAmount)),this._drawXYLines({xCount:i,tickAmount:a})):(i=a,a=e.globals.xTickAmount,this._drawInvertedXYLines({xCount:i,tickAmount:a})),this.drawGridBands(i,a),{el:this.elg,xAxisTickWidth:e.globals.gridWidth/i}}},{key:"drawGridBands",value:function(e,t){var i=this.w;if(i.config.grid.row.colors!==void 0&&i.config.grid.row.colors.length>0)for(var a=0,s=i.globals.gridHeight/t,o=i.globals.gridWidth,r=0,n=0;r=i.config.grid.row.colors.length&&(n=0),this._drawGridBandRect({c:n,x1:0,y1:a,x2:o,y2:s,type:"row"}),a+=i.globals.gridHeight/t;if(i.config.grid.column.colors!==void 0&&i.config.grid.column.colors.length>0)for(var l=i.globals.isBarHorizontal||i.config.xaxis.type!=="category"&&!i.config.xaxis.convertedCatToNumeric?e:e-1,c=i.globals.padHorizontal,d=i.globals.padHorizontal+i.globals.gridWidth/l,u=i.globals.gridHeight,p=0,x=0;p=i.config.grid.column.colors.length&&(x=0),this._drawGridBandRect({c:x,x1:c,y1:0,x2:d,y2:u,type:"column"}),c+=i.globals.gridWidth/l}}]),v}(),Me=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"niceScale",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4?arguments[4]:void 0,o=this.w,r=Math.abs(t-e);if((i=this._adjustTicksForSmallRange(i,a,r))==="dataPoints"&&(i=o.globals.dataPoints-1),e===Number.MIN_VALUE&&t===0||!C.isNumber(e)&&!C.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE){e=0,t=i;var n=this.linearScale(e,t,i);return n}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 l=[];r<1&&s&&(o.config.chart.type==="candlestick"||o.config.series[a].type==="candlestick"||o.config.chart.type==="boxPlot"||o.config.series[a].type==="boxPlot"||o.globals.isRangeData)&&(t*=1.01);var c=i+1;c<2?c=2:c>2&&(c-=2);var d=r/c,u=Math.floor(C.log10(d)),p=Math.pow(10,u),x=Math.round(d/p);x<1&&(x=1);var f=x*p,b=f*Math.floor(e/f),w=f*Math.ceil(t/f),k=b;if(s&&r>2){for(;l.push(k),!((k+=f)>w););return{result:l,niceMin:l[0],niceMax:l[l.length-1]}}var S=e;(l=[]).push(S);for(var h=Math.abs(t-e)/i,g=0;g<=i;g++)S+=h,l.push(S);return l[l.length-2]>=t&&l.pop(),{result:l,niceMin:l[0],niceMax:l[l.length-1]}}},{key:"linearScale",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,a=arguments.length>3?arguments[3]:void 0,s=Math.abs(t-e);(i=this._adjustTicksForSmallRange(i,a,s))==="dataPoints"&&(i=this.w.globals.dataPoints-1);var o=s/i;i===Number.MAX_VALUE&&(i=10,o=1);for(var r=[],n=e;i>=0;)r.push(n),n+=o,i-=1;return{result:r,niceMin:r[0],niceMax:r[r.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,i){t<=0&&(t=Math.max(e,i)),e<=0&&(e=Math.min(t,i));for(var a=[],s=Math.ceil(Math.log(t)/Math.log(i)+1),o=Math.floor(Math.log(e)/Math.log(i));o5)a.allSeriesCollapsed=!1,a.yAxisScale[e]=this.logarithmicScale(t,i,o.logBase),a.yAxisScale[e]=o.forceNiceScale?this.logarithmicScaleNice(t,i,o.logBase):this.logarithmicScale(t,i,o.logBase);else if(i!==-Number.MAX_VALUE&&C.isNumber(i))if(a.allSeriesCollapsed=!1,o.min===void 0&&o.max===void 0||o.forceNiceScale){var n=s.yaxis[e].max===void 0&&s.yaxis[e].min===void 0||s.yaxis[e].forceNiceScale;a.yAxisScale[e]=this.niceScale(t,i,o.tickAmount?o.tickAmount:r<5&&r>1?r+1:5,e,n)}else a.yAxisScale[e]=this.linearScale(t,i,o.tickAmount,e);else a.yAxisScale[e]=this.linearScale(0,5,5)}},{key:"setXScale",value:function(e,t){var i=this.w,a=i.globals,s=i.config.xaxis,o=Math.abs(t-e);return t!==-Number.MAX_VALUE&&C.isNumber(t)?a.xAxisScale=this.linearScale(e,t,s.tickAmount?s.tickAmount:o<5&&o>1?o+1:5,0):a.xAxisScale=this.linearScale(0,5,5),a.xAxisScale}},{key:"setMultipleYScales",value:function(){var e=this,t=this.w.globals,i=this.w.config,a=t.minYArr.concat([]),s=t.maxYArr.concat([]),o=[];i.yaxis.forEach(function(r,n){var l=n;i.series.forEach(function(u,p){u.name===r.seriesName&&(l=p,n!==p?o.push({index:p,similarIndex:n,alreadyExists:!0}):o.push({index:p}))});var c=a[l],d=s[l];e.setYScaleForIndex(n,c,d)}),this.sameScaleInMultipleAxes(a,s,o)}},{key:"sameScaleInMultipleAxes",value:function(e,t,i){var a=this,s=this.w.config,o=this.w.globals,r=[];i.forEach(function(f){f.alreadyExists&&(r[f.index]===void 0&&(r[f.index]=[]),r[f.index].push(f.index),r[f.index].push(f.similarIndex))}),o.yAxisSameScaleIndices=r,r.forEach(function(f,b){r.forEach(function(w,k){var S,h;b!==k&&(S=f,h=w,S.filter(function(g){return h.indexOf(g)!==-1})).length>0&&(r[b]=r[b].concat(r[k]))})});var n=r.map(function(f){return f.filter(function(b,w){return f.indexOf(b)===w})}).map(function(f){return f.sort()});r=r.filter(function(f){return!!f});var l=n.slice(),c=l.map(function(f){return JSON.stringify(f)});l=l.filter(function(f,b){return c.indexOf(JSON.stringify(f))===b});var d=[],u=[];e.forEach(function(f,b){l.forEach(function(w,k){w.indexOf(b)>-1&&(d[k]===void 0&&(d[k]=[],u[k]=[]),d[k].push({key:b,value:f}),u[k].push({key:b,value:t[b]}))})});var p=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),x=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);d.forEach(function(f,b){f.forEach(function(w,k){p[b]=Math.min(w.value,p[b])})}),u.forEach(function(f,b){f.forEach(function(w,k){x[b]=Math.max(w.value,x[b])})}),e.forEach(function(f,b){u.forEach(function(w,k){var S=p[k],h=x[k];s.chart.stacked&&(h=0,w.forEach(function(g,m){g.value!==-Number.MAX_VALUE&&(h+=g.value),S!==Number.MIN_VALUE&&(S+=d[k][m].value)})),w.forEach(function(g,m){w[m].key===b&&(s.yaxis[b].min!==void 0&&(S=typeof s.yaxis[b].min=="function"?s.yaxis[b].min(o.minY):s.yaxis[b].min),s.yaxis[b].max!==void 0&&(h=typeof s.yaxis[b].max=="function"?s.yaxis[b].max(o.maxY):s.yaxis[b].max),a.setYScaleForIndex(b,S,h))})})})}},{key:"autoScaleY",value:function(e,t,i){e||(e=this);var a=e.w;if(a.globals.isMultipleYAxis||a.globals.collapsedSeries.length)return console.warn("autoScaleYaxis is not supported in a multi-yaxis chart."),t;var s=a.globals.seriesX[0],o=a.config.chart.stacked;return t.forEach(function(r,n){for(var l=0,c=0;c=i.xaxis.min){l=c;break}var d,u,p=a.globals.minYArr[n],x=a.globals.maxYArr[n],f=a.globals.stackedSeriesTotals;a.globals.series.forEach(function(b,w){var k=b[l];o?(k=f[l],d=u=k,f.forEach(function(S,h){s[h]<=i.xaxis.max&&s[h]>=i.xaxis.min&&(S>u&&S!==null&&(u=S),b[h]=i.xaxis.min){var g=S,m=S;a.globals.series.forEach(function(y,A){S!==null&&(g=Math.min(y[h],g),m=Math.max(y[h],m))}),m>u&&m!==null&&(u=m),gp&&(d=p),t.length>1?(t[w].min=r.min===void 0?d:r.min,t[w].max=r.max===void 0?u:r.max):(t[0].min=r.min===void 0?d:r.min,t[0].max=r.max===void 0?u:r.max)})}),t}}]),v}(),Ge=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w,this.scales=new Me(e)}return M(v,[{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,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Number.MAX_VALUE,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,s=this.w.config,o=this.w.globals,r=-Number.MAX_VALUE,n=Number.MIN_VALUE;a===null&&(a=e+1);var l=o.series,c=l,d=l;s.chart.type==="candlestick"?(c=o.seriesCandleL,d=o.seriesCandleH):s.chart.type==="boxPlot"?(c=o.seriesCandleO,d=o.seriesCandleC):o.isRangeData&&(c=o.seriesRangeStart,d=o.seriesRangeEnd);for(var u=e;uc[u][p]&&c[u][p]<0&&(n=c[u][p])):o.hasNullValues=!0}}return s.chart.type==="rangeBar"&&o.seriesRangeStart.length&&o.isBarHorizontal&&(n=t),s.chart.type==="bar"&&(n<0&&r<0&&(r=0),n===Number.MIN_VALUE&&(n=0)),{minY:n,maxY:r,lowestY:t,highestY:i}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var i=Number.MAX_VALUE;if(e.isMultipleYAxis)for(var a=0;a=0&&i<=10||t.yaxis[0].min!==void 0||t.yaxis[0].max!==void 0)&&(r=0),e.minY=i-5*r/100,i>0&&e.minY<0&&(e.minY=0),e.maxY=e.maxY+5*r/100}return t.yaxis.forEach(function(n,l){n.max!==void 0&&(typeof n.max=="number"?e.maxYArr[l]=n.max:typeof n.max=="function"&&(e.maxYArr[l]=n.max(e.isMultipleYAxis?e.maxYArr[l]:e.maxY)),e.maxY=e.maxYArr[l]),n.min!==void 0&&(typeof n.min=="number"?e.minYArr[l]=n.min:typeof n.min=="function"&&(e.minYArr[l]=n.min(e.isMultipleYAxis?e.minYArr[l]===Number.MIN_VALUE?0:e.minYArr[l]:e.minY)),e.minY=e.minYArr[l])}),e.isBarHorizontal&&["min","max"].forEach(function(n){t.xaxis[n]!==void 0&&typeof t.xaxis[n]=="number"&&(n==="min"?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])}),e.isMultipleYAxis?(this.scales.setMultipleYScales(),e.minY=i,e.yAxisScale.forEach(function(n,l){e.minYArr[l]=n.niceMin,e.maxYArr[l]=n.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,i=t.xaxis.type==="numeric"||t.xaxis.type==="datetime"||t.xaxis.type==="category"&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&function(){for(var r=0;re.dataPoints&&e.dataPoints!==0&&(a=e.dataPoints-1)):t.xaxis.tickAmount==="dataPoints"?(e.series.length>1&&(a=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric&&(a=e.maxX-e.minX-1)):a=t.xaxis.tickAmount,e.xTickAmount=a,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=[],o=e.minX-1;o0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,a-1),e.seriesX=e.labels.slice());i&&(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;t0){var r=s-a[o-1];r>0&&(e.minXDiff=Math.min(r,e.minXDiff))}}),e.dataPoints!==1&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)})}},{key:"_setStackedMinMax",value:function(){var e=this.w.globals,t=[],i=[];if(e.series.length)for(var a=0;a0?s=s+parseFloat(e.series[r][a])+1e-4:o+=parseFloat(e.series[r][a])),r===e.series.length-1&&(t.push(s),i.push(o));for(var n=0;n=0;k--)w(k);if(i.config.yaxis[e].title.text!==void 0){var S=a.group({class:"apexcharts-yaxis-title"}),h=0;i.config.yaxis[e].opposite&&(h=i.globals.translateYAxisX[e]);var g=a.drawText({x:h,y:i.globals.gridHeight/2+i.globals.translateY+i.config.yaxis[e].title.offsetY,text:i.config.yaxis[e].title.text,textAnchor:"end",foreColor:i.config.yaxis[e].title.style.color,fontSize:i.config.yaxis[e].title.style.fontSize,fontWeight:i.config.yaxis[e].title.style.fontWeight,fontFamily:i.config.yaxis[e].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+i.config.yaxis[e].title.style.cssClass});S.add(g),l.add(S)}var m=i.config.yaxis[e].axisBorder,y=31+m.offsetX;if(i.config.yaxis[e].opposite&&(y=-31-m.offsetX),m.show){var A=a.drawLine(y,i.globals.translateY+m.offsetY-2,y,i.globals.gridHeight+i.globals.translateY+m.offsetY+2,m.color,0,m.width);l.add(A)}return i.config.yaxis[e].axisTicks.show&&this.axesUtils.drawYAxisTicks(y,d,m,i.config.yaxis[e].axisTicks,e,u,l),l}},{key:"drawYaxisInversed",value:function(e){var t=this.w,i=new I(this.ctx),a=i.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),s=i.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});a.add(s);var o=t.globals.yAxisScale[e].result.length-1,r=t.globals.gridWidth/o+.1,n=r+t.config.xaxis.labels.offsetX,l=t.globals.xLabelFormatter,c=t.globals.yAxisScale[e].result.slice(),d=t.globals.timescaleLabels;d.length>0&&(this.xaxisLabels=d.slice(),o=(c=d.slice()).length),c=this.axesUtils.checkForReversedLabels(e,c);var u=d.length;if(t.config.xaxis.labels.show)for(var p=u?0:o;u?p=0;u?p++:p--){var x=c[p];x=l(x,p,t);var f=t.globals.gridWidth+t.globals.padHorizontal-(n-r+t.config.xaxis.labels.offsetX);if(d.length){var b=this.axesUtils.getLabel(c,d,f,p,this.drawnLabels,this.xaxisFontSize);f=b.x,x=b.text,this.drawnLabels.push(b.text),p===0&&t.globals.skipFirstTimelinelabel&&(x=""),p===c.length-1&&t.globals.skipLastTimelinelabel&&(x="")}var w=i.drawText({x:f,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:x,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(w),w.tspan(x);var k=document.createElementNS(t.globals.SVGNS,"title");k.textContent=x,w.node.appendChild(k),n+=r}return this.inversedYAxisTitleText(a),this.inversedYAxisBorder(a),a}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,i=new I(this.ctx),a=t.config.xaxis.axisBorder;if(a.show){var s=0;t.config.chart.type==="bar"&&t.globals.isXNumeric&&(s-=15);var o=i.drawLine(t.globals.padHorizontal+s+a.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,a.color,0,a.height);e.add(o)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,i=new I(this.ctx);if(t.config.xaxis.title.text!==void 0){var a=i.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),s=i.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});a.add(s),e.add(a)}}},{key:"yAxisTitleRotate",value:function(e,t){var i=this.w,a=new I(this.ctx),s={width:0,height:0},o={width:0,height:0},r=i.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g"));r!==null&&(s=r.getBoundingClientRect());var n=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text"));if(n!==null&&(o=n.getBoundingClientRect()),n!==null){var l=this.xPaddingForYAxisTitle(e,s,o,t);n.setAttribute("x",l.xPos-(t?10:0))}if(n!==null){var c=a.rotateAroundCenter(n);n.setAttribute("transform","rotate(".concat(t?-1*i.config.yaxis[e].title.rotate:i.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,i,a){var s=this.w,o=0,r=0,n=10;return s.config.yaxis[e].title.text===void 0||e<0?{xPos:r,padd:0}:(a?(r=t.width+s.config.yaxis[e].title.offsetX+i.width/2+n/2,(o+=1)===0&&(r-=n/2)):(r=-1*t.width+s.config.yaxis[e].title.offsetX+n/2+i.width/2,s.globals.isBarHorizontal&&(n=25,r=-1*t.width-s.config.yaxis[e].title.offsetX-n)),{xPos:r,padd:n})}},{key:"setYAxisXPosition",value:function(e,t){var i=this.w,a=0,s=0,o=18,r=1;i.config.yaxis.length>1&&(this.multipleYs=!0),i.config.yaxis.map(function(n,l){var c=i.globals.ignoreYAxisIndexes.indexOf(l)>-1||!n.show||n.floating||e[l].width===0,d=e[l].width+t[l].width;n.opposite?i.globals.isBarHorizontal?(s=i.globals.gridWidth+i.globals.translateX-1,i.globals.translateYAxisX[l]=s-n.labels.offsetX):(s=i.globals.gridWidth+i.globals.translateX+r,c||(r=r+d+20),i.globals.translateYAxisX[l]=s-n.labels.offsetX+20):(a=i.globals.translateX-o,c||(o=o+d+20),i.globals.translateYAxisX[l]=a+n.labels.offsetX)})}},{key:"setYAxisTextAlignments",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");(t=C.listToArray(t)).forEach(function(i,a){var s=e.config.yaxis[a];if(s&&s.labels.align!==void 0){var o=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-texts-g")),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-label"));r=C.listToArray(r);var n=o.getBoundingClientRect();s.labels.align==="left"?(r.forEach(function(l,c){l.setAttribute("text-anchor","start")}),s.opposite||o.setAttribute("transform","translate(-".concat(n.width,", 0)"))):s.labels.align==="center"?(r.forEach(function(l,c){l.setAttribute("text-anchor","middle")}),o.setAttribute("transform","translate(".concat(n.width/2*(s.opposite?1:-1),", 0)"))):s.labels.align==="right"&&(r.forEach(function(l,c){l.setAttribute("text-anchor","end")}),s.opposite&&o.setAttribute("transform","translate(".concat(n.width,", 0)")))}})}}]),v}(),Mt=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w,this.documentEvent=C.bind(this.documentEvent,this)}return M(v,[{key:"addEventListener",value:function(e,t){var i=this.w;i.globals.events.hasOwnProperty(e)?i.globals.events[e].push(t):i.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var i=this.w;if(i.globals.events.hasOwnProperty(e)){var a=i.globals.events[e].indexOf(t);a!==-1&&i.globals.events[e].splice(a,1)}}},{key:"fireEvent",value:function(e,t){var i=this.w;if(i.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var a=i.globals.events[e],s=a.length,o=0;o0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var i=t.filter(function(s){return s.name===e})[0];if(!i)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var a=C.extend(Ie,i);this.w.globals.locale=a.options}}]),v}(),Et=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"drawAxis",value:function(e,t){var i,a,s=this.w.globals,o=this.w.config,r=new xe(this.ctx),n=new _e(this.ctx);s.axisCharts&&e!=="radar"&&(s.isBarHorizontal?(a=n.drawYaxisInversed(0),i=r.drawXaxisInversed(0),s.dom.elGraphical.add(i),s.dom.elGraphical.add(a)):(i=r.drawXaxis(),s.dom.elGraphical.add(i),o.yaxis.map(function(l,c){s.ignoreYAxisIndexes.indexOf(c)===-1&&(a=n.drawYaxis(c),s.dom.Paper.add(a))})))}}]),v}(),Ve=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new I(this.ctx),i=new q(this.ctx),a=e.config.xaxis.crosshairs.fill.gradient,s=e.config.xaxis.crosshairs.dropShadow,o=e.config.xaxis.crosshairs.fill.type,r=a.colorFrom,n=a.colorTo,l=a.opacityFrom,c=a.opacityTo,d=a.stops,u=s.enabled,p=s.left,x=s.top,f=s.blur,b=s.color,w=s.opacity,k=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){o==="gradient"&&(k=t.drawGradient("vertical",r,n,l,c,null,d,null));var S=t.drawRect();e.config.xaxis.crosshairs.width===1&&(S=t.drawLine());var h=e.globals.gridHeight;(!C.isNumber(h)||h<0)&&(h=0);var g=e.config.xaxis.crosshairs.width;(!C.isNumber(g)||g<0)&&(g=0),S.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:h,width:g,height:h,fill:k,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}),u&&(S=i.dropShadow(S,{left:p,top:x,blur:f,color:b,opacity:w})),e.globals.dom.elGraphical.add(S)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new I(this.ctx),i=e.config.yaxis[0].crosshairs,a=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var s=t.drawLine(-a,0,e.globals.gridWidth+a,0,i.stroke.color,i.stroke.dashArray,i.stroke.width);s.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(s)}var o=t.drawLine(-a,0,e.globals.gridWidth+a,0,i.stroke.color,0,0);o.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(o)}}]),v}(),It=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"checkResponsiveConfig",value:function(e){var t=this,i=this.w,a=i.config;if(a.responsive.length!==0){var s=a.responsive.slice();s.sort(function(l,c){return l.breakpoint>c.breakpoint?1:c.breakpoint>l.breakpoint?-1:0}).reverse();var o=new O({}),r=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=s[0].breakpoint,d=window.innerWidth>0?window.innerWidth:screen.width;if(d>c){var u=U.extendArrayProps(o,i.globals.initialConfig,i);l=C.extend(u,l),l=C.extend(i.config,l),t.overrideResponsiveOptions(l)}else for(var p=0;p0&&typeof t.config.colors[0]=="function"&&(t.globals.colors=t.config.series.map(function(p,x){var f=t.config.colors[x];return f||(f=t.config.colors[0]),typeof f=="function"?(e.isColorFn=!0,f({value:t.globals.axisCharts?t.globals.series[x][0]?t.globals.series[x][0]:0:t.globals.series[x],seriesIndex:x,dataPointIndex:x,w:t})):f}))),t.globals.seriesColors.map(function(p,x){p&&(t.globals.colors[x]=p)}),t.config.theme.monochrome.enabled){var a=[],s=t.globals.series.length;(this.isBarDistributed||this.isHeatmapDistributed)&&(s=t.globals.series[0].length*t.globals.series.length);for(var o=t.config.theme.monochrome.color,r=1/(s/t.config.theme.monochrome.shadeIntensity),n=t.config.theme.monochrome.shadeTo,l=0,c=0;c2&&arguments[2]!==void 0?arguments[2]:null,a=this.w,s=t||a.globals.series.length;if(i===null&&(i=this.isBarDistributed||this.isHeatmapDistributed||a.config.chart.type==="heatmap"&&a.config.plotOptions.heatmap.colorScale.inverse),i&&a.globals.series.length&&(s=a.globals.series[a.globals.maxValsInArrayIndex].length*a.globals.series.length),e.lengthe.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(e,t){var i=e;if(this.w.globals.isMultiLineX){var a=t.map(function(o,r){return Array.isArray(o)?o.length:1}),s=Math.max.apply(Math,_(a));i=t[a.indexOf(s)]}return i}}]),v}(),Dt=function(){function v(e){T(this,v),this.w=e.w,this.dCtx=e}return M(v,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,i=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&i.length===0&&(i=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var a=this.getxAxisTimeScaleLabelsCoords();e={width:a.width,height:a.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,o=C.getLargestStringFromArr(i),r=this.dCtx.dimHelpers.getLargestStringFromMultiArr(o,i);t.globals.isBarHorizontal&&(r=o=t.globals.yAxisScale[0].result.reduce(function(x,f){return x.length>f.length?x:f},0));var n=new fe(this.dCtx.ctx),l=o;o=n.xLabelFormat(s,o,l,{i:void 0,dateFormatter:new J(this.dCtx.ctx).formatDate,w:t}),r=n.xLabelFormat(s,r,l,{i:void 0,dateFormatter:new J(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&o===void 0||String(o).trim()==="")&&(r=o="1");var c=new I(this.dCtx.ctx),d=c.getTextRects(o,t.config.xaxis.labels.style.fontSize),u=d;if(o!==r&&(u=c.getTextRects(r,t.config.xaxis.labels.style.fontSize)),(e={width:d.width>=u.width?d.width:u.width,height:d.height>=u.height?d.height:u.height}).width*i.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 p=function(x){return c.getTextRects(x,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};d=p(o),o!==r&&(u=p(r)),e.height=(d.height>u.height?d.height:u.height)/1.5,e.width=d.width>u.width?d.width:u.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.hasGroups)return{width:0,height:0};var i,a=((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(d){return d.title}),o=C.getLargestStringFromArr(s),r=this.dCtx.dimHelpers.getLargestStringFromMultiArr(o,s),n=new I(this.dCtx.ctx),l=n.getTextRects(o,a),c=l;return o!==r&&(c=n.getTextRects(r,a)),i={width:l.width>=c.width?l.width:c.width,height:l.height>=c.height?l.height:c.height},t.config.xaxis.labels.show||(i={width:0,height:0}),{width:i.width,height:i.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,i=0;if(e.config.xaxis.title.text!==void 0){var a=new I(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=a.width,i=a.height}return{width:t,height:i}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var i=this.dCtx.timescaleLabels.map(function(s){return s.value}),a=i.reduce(function(s,o){return s===void 0?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):s.length>o.length?s:o},0);return 1.05*(e=new I(this.dCtx.ctx).getTextRects(a,t.config.xaxis.labels.style.fontSize)).width*i.length>t.globals.gridWidth&&t.config.xaxis.labels.rotate!==0&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,i=this.w,a=i.globals,s=i.config,o=s.xaxis.type,r=e.width;a.skipLastTimelinelabel=!1,a.skipFirstTimelinelabel=!1;var n=i.config.yaxis[0].opposite&&i.globals.isBarHorizontal,l=function(c,d){(function(u){return a.collapsedSeriesIndices.indexOf(u)!==-1})(d)||function(u){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var p=t.dCtx.timescaleLabels[0],x=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+r/1.75-t.dCtx.yAxisWidthRight,f=p.position-r/1.75+t.dCtx.yAxisWidthLeft,b=i.config.legend.position==="right"&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;x>a.svgWidth-a.translateX-b&&(a.skipLastTimelinelabel=!0),f<-(u.show&&!u.floating||s.chart.type!=="bar"&&s.chart.type!=="candlestick"&&s.chart.type!=="rangeBar"&&s.chart.type!=="boxPlot"?10:r/1.75)&&(a.skipFirstTimelinelabel=!0)}else o==="datetime"?t.dCtx.gridPad.rightString(n.niceMax).length?d:n.niceMax,p=c(u,{seriesIndex:r,dataPointIndex:-1,w:t}),x=p;if(p!==void 0&&p.length!==0||(p=u),t.globals.isBarHorizontal){a=0;var f=t.globals.labels.slice();p=c(p=C.getLargestStringFromArr(f),{seriesIndex:r,dataPointIndex:-1,w:t}),x=e.dCtx.dimHelpers.getLargestStringFromMultiArr(p,f)}var b=new I(e.dCtx.ctx),w="rotate(".concat(o.labels.rotate," 0 0)"),k=b.getTextRects(p,o.labels.style.fontSize,o.labels.style.fontFamily,w,!1),S=k;p!==x&&(S=b.getTextRects(x,o.labels.style.fontSize,o.labels.style.fontFamily,w,!1)),i.push({width:(l>S.width||l>k.width?l:S.width>k.width?S.width:k.width)+a,height:S.height>k.height?S.height:k.height})}else i.push({width:0,height:0})}),i}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,i=[];return t.config.yaxis.map(function(a,s){if(a.show&&a.title.text!==void 0){var o=new I(e.dCtx.ctx),r="rotate(".concat(a.title.rotate," 0 0)"),n=o.getTextRects(a.title.text,a.title.style.fontSize,a.title.style.fontFamily,r,!1);i.push({width:n.width,height:n.height})}else i.push({width:0,height:0})}),i}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,i=0,a=0,s=e.globals.yAxisScale.length>1?10:0,o=new ne(this.dCtx.ctx),r=function(n,l){var c=e.config.yaxis[l].floating,d=0;n.width>0&&!c?(d=n.width+s,function(u){return e.globals.ignoreYAxisIndexes.indexOf(u)>-1}(l)&&(d=d-n.width-s)):d=c||o.isYAxisHidden(l)?0:5,e.config.yaxis[l].opposite?a+=d:i+=d,t+=d};return e.globals.yLabelsCoords.map(function(n,l){r(n,l)}),e.globals.yTitleCoords.map(function(n,l){r(n,l)}),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=i,this.dCtx.yAxisWidthRight=a,t}}]),v}(),Ot=function(){function v(e){T(this,v),this.w=e.w,this.dCtx=e}return M(v,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w;if(t.globals.noData||t.globals.allSeriesCollapsed)return 0;var i=function(c){return c==="bar"||c==="rangeBar"||c==="candlestick"||c==="boxPlot"},a=t.config.chart.type,s=0,o=i(a)?t.config.series.length:1;if(t.globals.comboBarCount>0&&(o=t.globals.comboBarCount),t.globals.collapsedSeries.forEach(function(c){i(c.type)&&(o-=1)}),t.config.chart.stacked&&(o=1),(i(a)||t.globals.comboBarCount>0)&&t.globals.isXNumeric&&!t.globals.isBarHorizontal&&o>0){var r,n,l=Math.abs(t.globals.initialMaxX-t.globals.initialMinX);l<=3&&(l=t.globals.dataPoints),r=l/e,t.globals.minXDiff&&t.globals.minXDiff/r>0&&(n=t.globals.minXDiff/r),n>e/2&&(n/=2),(s=n/o*parseInt(t.config.plotOptions.bar.columnWidth,10)/100)<1&&(s=1),s=s/(o>1?1:1.5)+5,t.globals.barPadForNumericAxis=s}return s}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,i=t.globals,a=this.dCtx.isSparkline||!t.globals.axisCharts?0:10;["title","subtitle"].forEach(function(r){t.config[r].text!==void 0?a+=t.config[r].margin:a+=e.dCtx.isSparkline||!t.globals.axisCharts?0:5}),!t.config.legend.show||t.config.legend.position!=="bottom"||t.config.legend.floating||t.globals.axisCharts||(a+=10);var s=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),o=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");i.gridHeight=i.gridHeight-s.height-o.height-a,i.translateY=i.translateY+s.height+o.height+a}},{key:"setGridXPosForDualYAxis",value:function(e,t){var i=this.w,a=new ne(this.dCtx.ctx);i.config.yaxis.map(function(s,o){i.globals.ignoreYAxisIndexes.indexOf(o)!==-1||s.floating||a.isYAxisHidden(o)||(s.opposite&&(i.globals.translateX=i.globals.translateX-(t[o].width+e[o].width)-parseInt(i.config.yaxis[o].labels.style.fontSize,10)/1.2-12),i.globals.translateX<2&&(i.globals.translateX=2))})}}]),v}(),Xe=function(){function v(e){T(this,v),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 Ft(this),this.dimYAxis=new Rt(this),this.dimXAxis=new Dt(this),this.dimGrid=new Ot(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return M(v,[{key:"plotCoords",value:function(){var e=this,t=this.w,i=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 o=Le(s,2),r=o[0],n=o[1];e.gridPad[r]=Math.max(n,e.w.globals.markers.largestSize/1.5)}),i.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),i.gridHeight=i.gridHeight-this.gridPad.top-this.gridPad.bottom,i.gridWidth=i.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var a=this.dimGrid.gridPadForColumnsInNumericAxis(i.gridWidth);i.gridWidth=i.gridWidth-2*a,i.translateX=i.translateX+this.gridPad.left+this.xPadLeft+(a>0?a+4:0),i.translateY=i.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,i=t.globals,a=this.dimYAxis.getyAxisLabelsCoords(),s=this.dimYAxis.getyAxisTitleCoords();t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map(function(p,x){t.globals.yLabelsCoords.push({width:a[x].width,index:x}),t.globals.yTitleCoords.push({width:s[x].width,index:x})}),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var o=this.dimXAxis.getxAxisLabelsCoords(),r=this.dimXAxis.getxAxisGroupLabelsCoords(),n=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(o,n,r),i.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,i.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(i.rotateXLabels=!1,i.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),i.translateXAxisY=i.translateXAxisY+t.config.xaxis.labels.offsetY,i.translateXAxisX=i.translateXAxisX+t.config.xaxis.labels.offsetX;var l=this.yAxisWidth,c=this.xAxisHeight;i.xAxisLabelsHeight=this.xAxisHeight-n.height,i.xAxisGroupLabelsHeight=i.xAxisLabelsHeight-o.height,i.xAxisLabelsWidth=this.xAxisWidth,i.xAxisHeight=this.xAxisHeight;var d=10;(t.config.chart.type==="radar"||this.isSparkline)&&(l=0,c=i.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||t.config.chart.type==="treemap")&&(l=0,c=0,d=0),this.isSparkline||this.dimXAxis.additionalPaddingXLabels(o);var u=function(){i.translateX=l,i.gridHeight=i.svgHeight-e.lgRect.height-c-(e.isSparkline||t.config.chart.type==="treemap"?0:t.globals.rotateXLabels?10:15),i.gridWidth=i.svgWidth-l};switch(t.config.xaxis.position==="top"&&(d=i.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":i.translateY=d,u();break;case"top":i.translateY=this.lgRect.height+d,u();break;case"left":i.translateY=d,i.translateX=this.lgRect.width+l,i.gridHeight=i.svgHeight-c-12,i.gridWidth=i.svgWidth-this.lgRect.width-l;break;case"right":i.translateY=d,i.translateX=l,i.gridHeight=i.svgHeight-c-12,i.gridWidth=i.svgWidth-this.lgRect.width-l-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(s,a),new _e(this.ctx).setYAxisXPosition(a,s)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,i=e.config,a=0;e.config.legend.show&&!e.config.legend.floating&&(a=20);var s=i.chart.type==="pie"||i.chart.type==="polarArea"||i.chart.type==="donut"?"pie":"radialBar",o=i.plotOptions[s].offsetY,r=i.plotOptions[s].offsetX;if(!i.legend.show||i.legend.floating)return t.gridHeight=t.svgHeight-i.grid.padding.left+i.grid.padding.right,t.gridWidth=t.gridHeight,t.translateY=o,void(t.translateX=r+(t.svgWidth-t.gridWidth)/2);switch(i.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=o-10,t.translateX=r+(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+o+10,t.translateX=r+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-a,t.gridHeight=i.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=o,t.translateX=r+this.lgRect.width+a;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-a-5,t.gridHeight=i.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=o,t.translateX=r+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,i){var a=this.w,s=a.globals.hasGroups?2:1,o=i.height+e.height+t.height,r=a.globals.isMultiLineX?1.2:a.globals.LINE_HEIGHT_RATIO,n=a.globals.rotateXLabels?22:10,l=a.globals.rotateXLabels&&a.config.legend.position==="bottom"?10:0;this.xAxisHeight=o*r+s*n+l,this.xAxisWidth=e.width,this.xAxisHeight-t.height>a.config.xaxis.labels.maxHeight&&(this.xAxisHeight=a.config.xaxis.labels.maxHeight),a.config.xaxis.labels.minHeight&&this.xAxisHeightd&&(this.yAxisWidth=d)}}]),v}(),Yt=function(){function v(e){T(this,v),this.w=e.w,this.lgCtx=e}return M(v,[{key:"getLegendStyles",value:function(){var e=document.createElement("style");e.setAttribute("type","text/css");var t=document.createTextNode(` + + .apexcharts-legend { + display: flex; + overflow: auto; + padding: 0 10px; + } + .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top { + flex-wrap: wrap + } + .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left { + flex-direction: column; + bottom: 0; + } + .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 { + justify-content: flex-start; + } + .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center { + justify-content: center; + } + .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right { + justify-content: flex-end; + } + .apexcharts-legend-series { + cursor: pointer; + line-height: normal; + } + .apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{ + display: flex; + align-items: center; + } + .apexcharts-legend-text { + position: relative; + font-size: 14px; + } + .apexcharts-legend-text *, .apexcharts-legend-marker * { + pointer-events: none; + } + .apexcharts-legend-marker { + position: relative; + display: inline-block; + cursor: pointer; + margin-right: 3px; + border-style: solid; + } + + .apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{ + display: inline-block; + } + .apexcharts-legend-series.apexcharts-no-click { + cursor: auto; + } + .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series { + display: none !important; + } + .apexcharts-inactive-legend { + opacity: 0.45; + }`);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(){var e=this.w.globals;e.dom.elLegendForeign=document.createElementNS(e.SVGNS,"foreignObject");var t=e.dom.elLegendForeign;t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("width",e.svgWidth),t.setAttribute("height",e.svgHeight),e.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),t.appendChild(e.dom.elLegendWrap),t.appendChild(this.getLegendStyles()),e.dom.Paper.node.insertBefore(t,e.dom.elGraphical.node)}},{key:"toggleDataSeries",value:function(e,t){var i=this,a=this.w;if(a.globals.axisCharts||a.config.chart.type==="radialBar"){a.globals.resized=!0;var s=null,o=null;a.globals.risingSeries=[],a.globals.axisCharts?(s=a.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),o=parseInt(s.getAttribute("data:realIndex"),10)):(s=a.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),o=parseInt(s.getAttribute("rel"),10)-1),t?[{cs:a.globals.collapsedSeries,csi:a.globals.collapsedSeriesIndices},{cs:a.globals.ancillaryCollapsedSeries,csi:a.globals.ancillaryCollapsedSeriesIndices}].forEach(function(c){i.riseCollapsedSeries(c.cs,c.csi,o)}):this.hideSeries({seriesEl:s,realIndex:o})}else{var r=a.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),n=a.config.chart.type;if(n==="pie"||n==="polarArea"||n==="donut"){var l=a.config.plotOptions.pie.donut.labels;new I(this.lgCtx.ctx).pathMouseDown(r.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(r.members[0].node,l)}r.fire("click")}}},{key:"hideSeries",value:function(e){var t=e.seriesEl,i=e.realIndex,a=this.w,s=C.clone(a.config.series);if(a.globals.axisCharts){var o=!1;if(a.config.yaxis[i]&&a.config.yaxis[i].show&&a.config.yaxis[i].showAlways&&(o=!0,a.globals.ancillaryCollapsedSeriesIndices.indexOf(i)<0&&(a.globals.ancillaryCollapsedSeries.push({index:i,data:s[i].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),a.globals.ancillaryCollapsedSeriesIndices.push(i))),!o){a.globals.collapsedSeries.push({index:i,data:s[i].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),a.globals.collapsedSeriesIndices.push(i);var r=a.globals.risingSeries.indexOf(i);a.globals.risingSeries.splice(r,1)}}else a.globals.collapsedSeries.push({index:i,data:s[i]}),a.globals.collapsedSeriesIndices.push(i);for(var n=t.childNodes,l=0;l0){for(var o=0;o-1&&(e[a].data=[])}):e.forEach(function(i,a){t.globals.collapsedSeriesIndices.indexOf(a)>-1&&(e[a]=0)}),e}}]),v}(),rt=function(){function v(e,t){T(this,v),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 Yt(this)}return M(v,[{key:"init",value:function(){var e=this.w,t=e.globals,i=e.config;if((i.legend.showForSingleSeries&&t.series.length===1||this.isBarsDistributed||t.series.length>1||!t.axisCharts)&&i.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),C.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),i.legend.position==="bottom"||i.legend.position==="top"?this.legendAlignHorizontal():i.legend.position!=="right"&&i.legend.position!=="left"||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var e=this,t=this.w,i=t.config.legend.fontFamily,a=t.globals.seriesNames,s=t.globals.colors.slice();if(t.config.chart.type==="heatmap"){var o=t.config.plotOptions.heatmap.colorScale.ranges;a=o.map(function(E){return E.name?E.name:E.from+" - "+E.to}),s=o.map(function(E){return E.color})}else this.isBarsDistributed&&(a=t.globals.labels.slice());t.config.legend.customLegendItems.length&&(a=t.config.legend.customLegendItems);for(var r=t.globals.legendFormatter,n=t.config.legend.inverseOrder,l=n?a.length-1:0;n?l>=0:l<=a.length-1;n?l--:l++){var c=r(a[l],{seriesIndex:l,w:t}),d=!1,u=!1;if(t.globals.collapsedSeries.length>0)for(var p=0;p0)for(var x=0;x0?l-10:0)+(c>0?c-10:0)}a.style.position="absolute",o=o+e+i.config.legend.offsetX,r=r+t+i.config.legend.offsetY,a.style.left=o+"px",a.style.top=r+"px",i.config.legend.position==="bottom"?(a.style.top="auto",a.style.bottom=5-i.config.legend.offsetY+"px"):i.config.legend.position==="right"&&(a.style.left="auto",a.style.right=25+i.config.legend.offsetX+"px"),["width","height"].forEach(function(d){a.style[d]&&(a.style[d]=parseInt(i.config.legend[d],10)+"px")})}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var t=this.legendHelpers.getLegendBBox(),i=new Xe(this.ctx),a=i.dimHelpers.getTitleSubtitleCoords("title"),s=i.dimHelpers.getTitleSubtitleCoords("subtitle"),o=0;e.config.legend.position==="bottom"?o=-t.clwh/1.8:e.config.legend.position==="top"&&(o=a.height+s.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,o)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendBBox(),i=0;e.config.legend.position==="left"&&(i=20),e.config.legend.position==="right"&&(i=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(i,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,i=e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if(t.config.chart.type==="heatmap"||this.isBarsDistributed){if(i){var a=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,a,this.w]),new te(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&i&&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 i=parseInt(e.target.getAttribute("rel"),10)-1,a=e.target.getAttribute("data:collapsed")==="true",s=this.w.config.chart.events.legendClick;typeof s=="function"&&s(this.ctx,i,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,i,this.w]);var o=this.w.config.legend.markers.onClick;typeof o=="function"&&e.target.classList.contains("apexcharts-legend-marker")&&(o(this.ctx,i,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,i,this.w])),t.config.chart.type!=="treemap"&&t.config.chart.type!=="heatmap"&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(i,a)}}}]),v}(),ot=function(){function v(e){T(this,v),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 M(v,[{key:"createToolbar",value:function(){var e=this,t=this.w,i=function(){return document.createElement("div")},a=i();if(a.setAttribute("class","apexcharts-toolbar"),a.style.top=t.config.chart.toolbar.offsetY+"px",a.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(a),this.elZoom=i(),this.elZoomIn=i(),this.elZoomOut=i(),this.elPan=i(),this.elSelection=i(),this.elZoomReset=i(),this.elMenuIcon=i(),this.elMenu=i(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var s=0;s + + + +`),r("zoomOut",this.elZoomOut,` + + + +`);var n=function(d){e.t[d]&&t.config.chart[d].enabled&&o.push({el:d==="zoom"?e.elZoom:e.elSelection,icon:typeof e.t[d]=="string"?e.t[d]:d==="zoom"?` + + + +`:` + + +`,title:e.localeValues[d==="zoom"?"selectionZoom":"selection"],class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(d,"-icon")})};n("zoom"),n("selection"),this.t.pan&&t.config.chart.zoom.enabled&&o.push({el:this.elPan,icon:typeof this.t.pan=="string"?this.t.pan:` + + + + + + + +`,title:this.localeValues.pan,class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),r("reset",this.elZoomReset,` + + +`),this.t.download&&o.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var l=0;l0&&a.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:i.globals.gridWidth,maxY:i.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var i=this.w,a=this.xyRatios;if(!i.globals.zoomEnabled){if(i.globals.selection!==void 0&&i.globals.selection!==null)this.drawSelectionRect(i.globals.selection);else if(i.config.chart.selection.xaxis.min!==void 0&&i.config.chart.selection.xaxis.max!==void 0){var s=(i.config.chart.selection.xaxis.min-i.globals.minX)/a.xRatio,o={x:s,y:0,width:i.globals.gridWidth-(i.globals.maxX-i.config.chart.selection.xaxis.max)/a.xRatio-s,height:i.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(o),this.makeSelectionRectDraggable(),typeof i.config.chart.events.selection=="function"&&i.config.chart.events.selection(this.ctx,{xaxis:{min:i.config.chart.selection.xaxis.min,max:i.config.chart.selection.xaxis.max},yaxis:{}})}}}},{key:"drawSelectionRect",value:function(i){var a=i.x,s=i.y,o=i.width,r=i.height,n=i.translateX,l=n===void 0?0:n,c=i.translateY,d=c===void 0?0:c,u=this.w,p=this.zoomRect,x=this.selectionRect;if(this.dragged||u.globals.selection!==null){var f={transform:"translate("+l+", "+d+")"};u.globals.zoomEnabled&&this.dragged&&(o<0&&(o=1),p.attr({x:a,y:s,width:o,height:r,fill:u.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":u.config.chart.zoom.zoomedArea.fill.opacity,stroke:u.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":u.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":u.config.chart.zoom.zoomedArea.stroke.opacity}),I.setAttrs(p.node,f)),u.globals.selectionEnabled&&(x.attr({x:a,y:s,width:o>0?o:0,height:r>0?r:0,fill:u.config.chart.selection.fill.color,"fill-opacity":u.config.chart.selection.fill.opacity,stroke:u.config.chart.selection.stroke.color,"stroke-width":u.config.chart.selection.stroke.width,"stroke-dasharray":u.config.chart.selection.stroke.dashArray,"stroke-opacity":u.config.chart.selection.stroke.opacity}),I.setAttrs(x.node,f))}}},{key:"hideSelectionRect",value:function(i){i&&i.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(i){var a=i.context,s=i.zoomtype,o=this.w,r=a,n=this.gridRect.getBoundingClientRect(),l=r.startX-1,c=r.startY,d=!1,u=!1,p=r.clientX-n.left-l,x=r.clientY-n.top-c,f={};return Math.abs(p+l)>o.globals.gridWidth?p=o.globals.gridWidth-l:r.clientX-n.left<0&&(p=l),l>r.clientX-n.left&&(d=!0,p=Math.abs(p)),c>r.clientY-n.top&&(u=!0,x=Math.abs(x)),f=s==="x"?{x:d?l-p:l,y:0,width:p,height:o.globals.gridHeight}:s==="y"?{x:0,y:u?c-x:c,width:o.globals.gridWidth,height:x}:{x:d?l-p:l,y:u?c-x:c,width:p,height:x},r.drawSelectionRect(f),r.selectionDragging("resizing"),f}},{key:"selectionDragging",value:function(i,a){var s=this,o=this.w,r=this.xyRatios,n=this.selectionRect,l=0;i==="resizing"&&(l=30);var c=function(u){return parseFloat(n.node.getAttribute(u))},d={x:c("x"),y:c("y"),width:c("width"),height:c("height")};o.globals.selection=d,typeof o.config.chart.events.selection=="function"&&o.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout(function(){var u=s.gridRect.getBoundingClientRect(),p=n.node.getBoundingClientRect(),x={xaxis:{min:o.globals.xAxisScale.niceMin+(p.left-u.left)*r.xRatio,max:o.globals.xAxisScale.niceMin+(p.right-u.left)*r.xRatio},yaxis:{min:o.globals.yAxisScale[0].niceMin+(u.bottom-p.bottom)*r.yRatio[0],max:o.globals.yAxisScale[0].niceMax-(p.top-u.top)*r.yRatio[0]}};o.config.chart.events.selection(s.ctx,x),o.config.chart.brush.enabled&&o.config.chart.events.brushScrolled!==void 0&&o.config.chart.events.brushScrolled(s.ctx,x)},l))}},{key:"selectionDrawn",value:function(i){var a=i.context,s=i.zoomtype,o=this.w,r=a,n=this.xyRatios,l=this.ctx.toolbar;if(r.startX>r.endX){var c=r.startX;r.startX=r.endX,r.endX=c}if(r.startY>r.endY){var d=r.startY;r.startY=r.endY,r.endY=d}var u=void 0,p=void 0;o.globals.isRangeBar?(u=o.globals.yAxisScale[0].niceMin+r.startX*n.invertedYRatio,p=o.globals.yAxisScale[0].niceMin+r.endX*n.invertedYRatio):(u=o.globals.xAxisScale.niceMin+r.startX*n.xRatio,p=o.globals.xAxisScale.niceMin+r.endX*n.xRatio);var x=[],f=[];if(o.config.yaxis.forEach(function(y,A){x.push(o.globals.yAxisScale[A].niceMax-n.yRatio[A]*r.startY),f.push(o.globals.yAxisScale[A].niceMax-n.yRatio[A]*r.endY)}),r.dragged&&(r.dragX>10||r.dragY>10)&&u!==p){if(o.globals.zoomEnabled){var b=C.clone(o.globals.initialConfig.yaxis),w=C.clone(o.globals.initialConfig.xaxis);if(o.globals.zoomed=!0,o.config.xaxis.convertedCatToNumeric&&(u=Math.floor(u),p=Math.floor(p),u<1&&(u=1,p=o.globals.dataPoints),p-u<2&&(p=u+1)),s!=="xy"&&s!=="x"||(w={min:u,max:p}),s!=="xy"&&s!=="y"||b.forEach(function(y,A){b[A].min=f[A],b[A].max=x[A]}),o.config.chart.zoom.autoScaleYaxis){var k=new Me(r.ctx);b=k.autoScaleY(r.ctx,b,{xaxis:w})}if(l){var S=l.getBeforeZoomRange(w,b);S&&(w=S.xaxis?S.xaxis:w,b=S.yaxis?S.yaxis:b)}var h={xaxis:w};o.config.chart.group||(h.yaxis=b),r.ctx.updateHelpers._updateOptions(h,!1,r.w.config.chart.animations.dynamicAnimation.enabled),typeof o.config.chart.events.zoomed=="function"&&l.zoomCallback(w,b)}else if(o.globals.selectionEnabled){var g,m=null;g={min:u,max:p},s!=="xy"&&s!=="y"||(m=C.clone(o.config.yaxis)).forEach(function(y,A){m[A].min=f[A],m[A].max=x[A]}),o.globals.selection=r.selection,typeof o.config.chart.events.selection=="function"&&o.config.chart.events.selection(r.ctx,{xaxis:g,yaxis:m})}}}},{key:"panDragging",value:function(i){var a=i.context,s=this.w,o=a;if(s.globals.lastClientPosition.x!==void 0){var r=s.globals.lastClientPosition.x-o.clientX,n=s.globals.lastClientPosition.y-o.clientY;Math.abs(r)>Math.abs(n)&&r>0?this.moveDirection="left":Math.abs(r)>Math.abs(n)&&r<0?this.moveDirection="right":Math.abs(n)>Math.abs(r)&&n>0?this.moveDirection="up":Math.abs(n)>Math.abs(r)&&n<0&&(this.moveDirection="down")}s.globals.lastClientPosition={x:o.clientX,y:o.clientY};var l=s.globals.isRangeBar?s.globals.minY:s.globals.minX,c=s.globals.isRangeBar?s.globals.maxY:s.globals.maxX;s.config.xaxis.convertedCatToNumeric||o.panScrolled(l,c)}},{key:"delayedPanScrolled",value:function(){var i=this.w,a=i.globals.minX,s=i.globals.maxX,o=(i.globals.maxX-i.globals.minX)/2;this.moveDirection==="left"?(a=i.globals.minX+o,s=i.globals.maxX+o):this.moveDirection==="right"&&(a=i.globals.minX-o,s=i.globals.maxX-o),a=Math.floor(a),s=Math.floor(s),this.updateScrolledChart({xaxis:{min:a,max:s}},a,s)}},{key:"panScrolled",value:function(i,a){var s=this.w,o=this.xyRatios,r=C.clone(s.globals.initialConfig.yaxis),n=o.xRatio,l=s.globals.minX,c=s.globals.maxX;s.globals.isRangeBar&&(n=o.invertedYRatio,l=s.globals.minY,c=s.globals.maxY),this.moveDirection==="left"?(i=l+s.globals.gridWidth/15*n,a=c+s.globals.gridWidth/15*n):this.moveDirection==="right"&&(i=l-s.globals.gridWidth/15*n,a=c-s.globals.gridWidth/15*n),s.globals.isRangeBar||(is.globals.initialMaxX)&&(i=l,a=c);var d={min:i,max:a};s.config.chart.zoom.autoScaleYaxis&&(r=new Me(this.ctx).autoScaleY(this.ctx,r,{xaxis:d}));var u={xaxis:{min:i,max:a}};s.config.chart.group||(u.yaxis=r),this.updateScrolledChart(u,i,a)}},{key:"updateScrolledChart",value:function(i,a,s){var o=this.w;this.ctx.updateHelpers._updateOptions(i,!1,!1),typeof o.config.chart.events.scrolled=="function"&&o.config.chart.events.scrolled(this.ctx,{xaxis:{min:a,max:s}})}}]),t}(),nt=function(){function v(e){T(this,v),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return M(v,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,i=e.elGrid,a=e.clientX,s=e.clientY,o=this.w,r=i.getBoundingClientRect(),n=r.width,l=r.height,c=n/(o.globals.dataPoints-1),d=l/o.globals.dataPoints,u=this.hasBars();!o.globals.comboCharts&&!u||o.config.xaxis.convertedCatToNumeric||(c=n/o.globals.dataPoints);var p=a-r.left-o.globals.barPadForNumericAxis,x=s-r.top;p<0||x<0||p>n||x>l?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):o.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):o.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var f=Math.round(p/c),b=Math.floor(x/d);u&&!o.config.xaxis.convertedCatToNumeric&&(f=Math.ceil(p/c),f-=1);var w=null,k=null,S=[],h=[];if(o.globals.seriesXvalues.forEach(function(A){S.push([A[0]+1e-6].concat(A))}),o.globals.seriesYvalues.forEach(function(A){h.push([A[0]+1e-6].concat(A))}),S=S.map(function(A){return A.filter(function(L){return C.isNumber(L)})}),h=h.map(function(A){return A.filter(function(L){return C.isNumber(L)})}),o.globals.isXNumeric){var g=this.ttCtx.getElGrid().getBoundingClientRect(),m=p*(g.width/n),y=x*(g.height/l);w=(k=this.closestInMultiArray(m,y,S,h)).index,f=k.j,w!==null&&(S=o.globals.seriesXvalues[w],f=(k=this.closestInArray(m,S)).index)}return o.globals.capturedSeriesIndex=w===null?-1:w,(!f||f<1)&&(f=0),o.globals.isBarHorizontal?o.globals.capturedDataPointIndex=b:o.globals.capturedDataPointIndex=f,{capturedSeries:w,j:o.globals.isBarHorizontal?b:f,hoverX:p,hoverY:x}}},{key:"closestInMultiArray",value:function(e,t,i,a){var s=this.w,o=0,r=null,n=-1;s.globals.series.length>1?o=this.getFirstActiveXArray(i):r=0;var l=i[o][0],c=Math.abs(e-l);if(i.forEach(function(p){p.forEach(function(x,f){var b=Math.abs(e-x);b0?r:-1}),s=0;s0)for(var a=0;as?-1:0});var t=[];return e.forEach(function(i){t.push(i.querySelector(".apexcharts-marker"))}),t}},{key:"hasMarkers",value:function(){return this.getElMarkers().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,i=t.config.markers.hover.size;return i===void 0&&(i=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),i}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,i=this.ttCtx;i.allTooltipSeriesGroups.length===0&&(i.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var a=i.allTooltipSeriesGroups,s=0;s ').concat(A.attrs.name,""),y+="
".concat(A.val,"
")}),S.innerHTML=m+"",h.innerHTML=y+""};r?l.globals.seriesGoals[t][i]&&Array.isArray(l.globals.seriesGoals[t][i])?g():(S.innerHTML="",h.innerHTML=""):g()}else S.innerHTML="",h.innerHTML="";f!==null&&(a[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=l.config.tooltip.z.title,a[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=f!==void 0?f:""),r&&b[0]&&(d==null||l.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||l.globals.collapsedSeriesIndices.indexOf(t)>-1?b[0].parentNode.style.display="none":b[0].parentNode.style.display=l.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 i=t.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");i&&(i.classList.add("apexcharts-active"),i.style.display=t.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,i=e.j,a=this.w,s=this.ctx.series.filteredSeriesX(),o="",r="",n=null,l=null,c={series:a.globals.series,seriesIndex:t,dataPointIndex:i,w:a},d=a.globals.ttZFormatter;i===null?l=a.globals.series[t]:a.globals.isXNumeric&&a.config.chart.type!=="treemap"?(o=s[t][i],s[t].length===0&&(o=s[this.tooltipUtil.getFirstActiveXArray(s)][i])):o=a.globals.labels[i]!==void 0?a.globals.labels[i]:"";var u=o;return a.globals.isXNumeric&&a.config.xaxis.type==="datetime"?o=new fe(this.ctx).xLabelFormat(a.globals.ttKeyFormatter,u,u,{i:void 0,dateFormatter:new J(this.ctx).formatDate,w:this.w}):o=a.globals.isBarHorizontal?a.globals.yLabelFormatters[0](u,c):a.globals.xLabelFormatter(u,c),a.config.tooltip.x.formatter!==void 0&&(o=a.globals.ttKeyFormatter(u,c)),a.globals.seriesZ.length>0&&a.globals.seriesZ[t].length>0&&(n=d(a.globals.seriesZ[t][i],a)),r=typeof a.config.xaxis.tooltip.formatter=="function"?a.globals.xaxisTooltipFormatter(u,c):o,{val:Array.isArray(l)?l.join(" "):l,xVal:Array.isArray(o)?o.join(" "):o,xAxisTTVal:Array.isArray(r)?r.join(" "):r,zVal:n}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,i=e.j,a=e.y1,s=e.y2,o=e.w,r=this.ttCtx.getElTooltip(),n=o.config.tooltip.custom;Array.isArray(n)&&n[t]&&(n=n[t]),r.innerHTML=n({ctx:this.ctx,series:o.globals.series,seriesIndex:t,dataPointIndex:i,y1:a,y2:s,w:o})}}]),v}(),lt=function(){function v(e){T(this,v),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return M(v,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=this.ttCtx,a=this.w,s=i.getElXCrosshairs(),o=e-i.xcrosshairsWidth/2,r=a.globals.labels.slice().length;if(t!==null&&(o=a.globals.gridWidth/r*t),s===null||a.globals.isBarHorizontal||(s.setAttribute("x",o),s.setAttribute("x1",o),s.setAttribute("x2",o),s.setAttribute("y2",a.globals.gridHeight),s.classList.add("apexcharts-active")),o<0&&(o=0),o>a.globals.gridWidth&&(o=a.globals.gridWidth),i.isXAxisTooltipEnabled){var n=o;a.config.xaxis.crosshairs.width!=="tickWidth"&&a.config.xaxis.crosshairs.width!=="barWidth"||(n=o+i.xcrosshairsWidth/2),this.moveXAxisTooltip(n)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;t.ycrosshairs!==null&&I.setAttrs(t.ycrosshairs,{y1:e,y2:e}),t.ycrosshairsHidden!==null&&I.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,i=this.ttCtx;if(i.xaxisTooltip!==null&&i.xcrosshairsWidth!==0){i.xaxisTooltip.classList.add("apexcharts-active");var a=i.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=i.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e)){e+=t.globals.translateX;var s;s=new I(this.ctx).getTextRects(i.xaxisTooltipText.innerHTML),i.xaxisTooltipText.style.minWidth=s.width+"px",i.xaxisTooltip.style.left=e+"px",i.xaxisTooltip.style.top=a+"px"}}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,i=this.ttCtx;i.yaxisTTEls===null&&(i.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var a=parseInt(i.ycrosshairsHidden.getAttribute("y1"),10),s=t.globals.translateY+a,o=i.yaxisTTEls[e].getBoundingClientRect().height,r=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(r-=26),s-=o/2,t.globals.ignoreYAxisIndexes.indexOf(e)===-1?(i.yaxisTTEls[e].classList.add("apexcharts-active"),i.yaxisTTEls[e].style.top=s+"px",i.yaxisTTEls[e].style.left=r+t.config.yaxis[e].tooltip.offsetX+"px"):i.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=this.w,s=this.ttCtx,o=s.getElTooltip(),r=s.tooltipRect,n=i!==null?parseFloat(i):1,l=parseFloat(e)+n+5,c=parseFloat(t)+n/2;if(l>a.globals.gridWidth/2&&(l=l-r.ttWidth-n-10),l>a.globals.gridWidth-r.ttWidth-10&&(l=a.globals.gridWidth-r.ttWidth),l<-20&&(l=-20),a.config.tooltip.followCursor){var d=s.getElGrid(),u=d.getBoundingClientRect();c=s.e.clientY+a.globals.translateY-u.top-r.ttHeight/2}else a.globals.isBarHorizontal||(r.ttHeight/2+c>a.globals.gridHeight&&(c=a.globals.gridHeight-r.ttHeight+a.globals.translateY),c<0&&(c=0));isNaN(l)||(l+=a.globals.translateX,o.style.left=l+"px",o.style.top=c+"px")}},{key:"moveMarkers",value:function(e,t){var i=this.w,a=this.ttCtx;if(i.globals.markers.size[e]>0)for(var s=i.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),o=0;o0&&(c.setAttribute("r",n),c.setAttribute("cx",i),c.setAttribute("cy",a)),this.moveXCrosshairs(i),o.fixedTooltip||this.moveTooltip(i,a,n)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,i=this.ttCtx,a=i.w,s=0,o=0,r=a.globals.pointsArray;t=new te(this.ctx).getActiveConfigSeriesIndex(!0);var n=i.tooltipUtil.getHoverMarkerSize(t);r[t]&&(s=r[t][e][0],o=r[t][e][1]);var l=i.tooltipUtil.getAllMarkers();if(l!==null)for(var c=0;c0?(l[c]&&l[c].setAttribute("r",n),l[c]&&l[c].setAttribute("cy",u)):l[c]&&l[c].setAttribute("r",0)}}if(this.moveXCrosshairs(s),!i.fixedTooltip){var p=o||a.globals.gridHeight;this.moveTooltip(s,p,n)}}},{key:"moveStickyTooltipOverBars",value:function(e){var t=this.w,i=this.ttCtx,a=t.globals.columnSeries?t.globals.columnSeries.length:t.globals.series.length,s=a>=2&&a%2==0?Math.floor(a/2):Math.floor(a/2)+1;t.globals.isBarHorizontal&&(s=new te(this.ctx).getActiveConfigSeriesIndex(!1,"desc")+1);var o=t.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(s,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(s,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(s,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(s,"'] path[j='").concat(e,"']")),r=o?parseFloat(o.getAttribute("cx")):0,n=o?parseFloat(o.getAttribute("cy")):0,l=o?parseFloat(o.getAttribute("barWidth")):0,c=o?parseFloat(o.getAttribute("barHeight")):0,d=i.getElGrid().getBoundingClientRect(),u=o.classList.contains("apexcharts-candlestick-area")||o.classList.contains("apexcharts-boxPlot-area");if(t.globals.isXNumeric?(o&&!u&&(r-=a%2!=0?l/2:0),o&&u&&t.globals.comboCharts&&(r-=l/2)):t.globals.isBarHorizontal||(r=i.xAxisTicksPositions[e-1]+i.dataPointsDividedWidth/2,isNaN(r)&&(r=i.xAxisTicksPositions[e]-i.dataPointsDividedWidth/2)),t.globals.isBarHorizontal?(n>t.globals.gridHeight/2&&(n-=i.tooltipRect.ttHeight),(n=n+t.config.grid.padding.top+c/3)+c>t.globals.gridHeight&&(n=t.globals.gridHeight-c)):t.config.tooltip.followCursor?n=i.e.clientY-d.top-i.tooltipRect.ttHeight/2:n+i.tooltipRect.ttHeight+15>t.globals.gridHeight&&(n=t.globals.gridHeight),n<-10&&(n=-10),t.globals.isBarHorizontal||this.moveXCrosshairs(r),!i.fixedTooltip){var p=n||t.globals.gridHeight;this.moveTooltip(r,p)}}}]),v}(),Wt=function(){function v(e){T(this,v),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new lt(e)}return M(v,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new I(this.ctx),i=new Ae(this.ctx),a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");a=_(a),e.config.chart.stacked&&a.sort(function(d,u){return parseFloat(d.getAttribute("data:realIndex"))-parseFloat(u.getAttribute("data:realIndex"))});for(var s=0;s2&&arguments[2]!==void 0?arguments[2]:null,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,s=this.w;s.config.chart.type!=="bubble"&&this.newPointSize(e,t);var o=t.getAttribute("cx"),r=t.getAttribute("cy");if(i!==null&&a!==null&&(o=i,r=a),this.tooltipPosition.moveXCrosshairs(o),!this.fixedTooltip){if(s.config.chart.type==="radar"){var n=this.ttCtx.getElGrid(),l=n.getBoundingClientRect();o=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(o,r,s.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,i=this,a=this.ttCtx,s=e,o=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),r=t.config.markers.hover.size,n=0;n=0?e[t].setAttribute("r",i):e[t].setAttribute("r",0)}}}]),v}(),Bt=function(){function v(e){T(this,v),this.w=e.w,this.ttCtx=e}return M(v,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,i=e.opt,a=e.x,s=e.y,o=e.type,r=this.ttCtx,n=this.w;if(t.target.classList.contains("apexcharts-".concat(o,"-rect"))){var l=this.getAttr(t,"i"),c=this.getAttr(t,"j"),d=this.getAttr(t,"cx"),u=this.getAttr(t,"cy"),p=this.getAttr(t,"width"),x=this.getAttr(t,"height");if(r.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:l,j:c,shared:!1,e:t}),n.globals.capturedSeriesIndex=l,n.globals.capturedDataPointIndex=c,a=d+r.tooltipRect.ttWidth/2+p,s=u+r.tooltipRect.ttHeight/2-x/2,r.tooltipPosition.moveXCrosshairs(d+p/2),a>n.globals.gridWidth/2&&(a=d-r.tooltipRect.ttWidth/2+p),r.w.config.tooltip.followCursor){var f=n.globals.dom.elWrap.getBoundingClientRect();a=n.globals.clientX-f.left-(a>n.globals.gridWidth/2?r.tooltipRect.ttWidth:0),s=n.globals.clientY-f.top-(s>n.globals.gridHeight/2?r.tooltipRect.ttHeight:0)}}return{x:a,y:s}}},{key:"handleMarkerTooltip",value:function(e){var t,i,a=e.e,s=e.opt,o=e.x,r=e.y,n=this.w,l=this.ttCtx;if(a.target.classList.contains("apexcharts-marker")){var c=parseInt(s.paths.getAttribute("cx"),10),d=parseInt(s.paths.getAttribute("cy"),10),u=parseFloat(s.paths.getAttribute("val"));if(i=parseInt(s.paths.getAttribute("rel"),10),t=parseInt(s.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,l.intersect){var p=C.findAncestor(s.paths,"apexcharts-series");p&&(t=parseInt(p.getAttribute("data:realIndex"),10))}if(l.tooltipLabels.drawSeriesTexts({ttItems:s.ttItems,i:t,j:i,shared:!l.showOnIntersect&&n.config.tooltip.shared,e:a}),a.type==="mouseup"&&l.markerClick(a,t,i),n.globals.capturedSeriesIndex=t,n.globals.capturedDataPointIndex=i,o=c,r=d+n.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var x=l.getElGrid().getBoundingClientRect();r=l.e.clientY+n.globals.translateY-x.top}u<0&&(r=d),l.marker.enlargeCurrentPoint(i,s.paths,o,r)}return{x:o,y:r}}},{key:"handleBarTooltip",value:function(e){var t,i,a=e.e,s=e.opt,o=this.w,r=this.ttCtx,n=r.getElTooltip(),l=0,c=0,d=0,u=this.getBarTooltipXY({e:a,opt:s});t=u.i;var p=u.barHeight,x=u.j;o.globals.capturedSeriesIndex=t,o.globals.capturedDataPointIndex=x,o.globals.isBarHorizontal&&r.tooltipUtil.hasBars()||!o.config.tooltip.shared?(c=u.x,d=u.y,i=Array.isArray(o.config.stroke.width)?o.config.stroke.width[t]:o.config.stroke.width,l=c):o.globals.comboCharts||o.config.tooltip.shared||(l/=2),isNaN(d)?d=o.globals.svgHeight-r.tooltipRect.ttHeight:d<0&&(d=0);var f=parseInt(s.paths.parentNode.getAttribute("data:realIndex"),10),b=o.globals.isMultipleYAxis?o.config.yaxis[f]&&o.config.yaxis[f].reversed:o.config.yaxis[0].reversed;if(c+r.tooltipRect.ttWidth>o.globals.gridWidth&&!b?c-=r.tooltipRect.ttWidth:c<0&&(c=0),r.w.config.tooltip.followCursor){var w=r.getElGrid().getBoundingClientRect();d=r.e.clientY-w.top}r.tooltip===null&&(r.tooltip=o.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),o.config.tooltip.shared||(o.globals.comboBarCount>0?r.tooltipPosition.moveXCrosshairs(l+i/2):r.tooltipPosition.moveXCrosshairs(l)),!r.fixedTooltip&&(!o.config.tooltip.shared||o.globals.isBarHorizontal&&r.tooltipUtil.hasBars())&&(b&&(c-=r.tooltipRect.ttWidth)<0&&(c=0),!b||o.globals.isBarHorizontal&&r.tooltipUtil.hasBars()||(d=d+p-2*(o.globals.series[t][x]<0?p:0)),r.tooltipRect.ttHeight+d>o.globals.gridHeight?d=o.globals.gridHeight-r.tooltipRect.ttHeight+o.globals.translateY:(d=d+o.globals.translateY-r.tooltipRect.ttHeight/2)<0&&(d=0),n.style.left=c+o.globals.translateX+"px",n.style.top=d+"px")}},{key:"getBarTooltipXY",value:function(e){var t=e.e,i=e.opt,a=this.w,s=null,o=this.ttCtx,r=0,n=0,l=0,c=0,d=0,u=t.target.classList;if(u.contains("apexcharts-bar-area")||u.contains("apexcharts-candlestick-area")||u.contains("apexcharts-boxPlot-area")||u.contains("apexcharts-rangebar-area")){var p=t.target,x=p.getBoundingClientRect(),f=i.elGrid.getBoundingClientRect(),b=x.height;d=x.height;var w=x.width,k=parseInt(p.getAttribute("cx"),10),S=parseInt(p.getAttribute("cy"),10);c=parseFloat(p.getAttribute("barWidth"));var h=t.type==="touchmove"?t.touches[0].clientX:t.clientX;s=parseInt(p.getAttribute("j"),10),r=parseInt(p.parentNode.getAttribute("rel"),10)-1;var g=p.getAttribute("data-range-y1"),m=p.getAttribute("data-range-y2");a.globals.comboCharts&&(r=parseInt(p.parentNode.getAttribute("data:realIndex"),10)),o.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:r,j:s,y1:g?parseInt(g,10):null,y2:m?parseInt(m,10):null,shared:!o.showOnIntersect&&a.config.tooltip.shared,e:t}),a.config.tooltip.followCursor?a.globals.isBarHorizontal?(n=h-f.left+15,l=S-o.dataPointsDividedHeight+b/2-o.tooltipRect.ttHeight/2):(n=a.globals.isXNumeric?k-w/2:k-o.dataPointsDividedWidth+w/2,l=t.clientY-f.top-o.tooltipRect.ttHeight/2-15):a.globals.isBarHorizontal?((n=k)0&&i.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,i){var a=this.ttCtx,s=this.w,o=s.globals.yLabelFormatters[e];if(a.yaxisTooltips[e]){var r=a.getElGrid().getBoundingClientRect(),n=(t-r.top)*i.yRatio[e],l=s.globals.maxYArr[e]-s.globals.minYArr[e],c=s.globals.minYArr[e]+(l-n);a.tooltipPosition.moveYCrosshairs(t-r.top),a.yaxisTooltipText[e].innerHTML=o(c),a.tooltipPosition.moveYAxisTooltip(e)}}}]),v}(),_t=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w;var t=this.w;this.tConfig=t.config.tooltip,this.tooltipUtil=new nt(this),this.tooltipLabels=new Nt(this),this.tooltipPosition=new lt(this),this.marker=new Wt(this),this.intersect=new Bt(this),this.axesTooltip=new Gt(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 M(v,[{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(o,r){return!!(o.show&&o.tooltip.enabled&&t.globals.axisCharts)}),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var i=document.createElement("div");if(i.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&i.classList.add(t.config.tooltip.cssClass),i.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),t.globals.dom.elWrap.appendChild(i),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var a=new xe(this.ctx);this.xAxisTicksPositions=a.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,i.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,i=this.w,a=[],s=this.getElTooltip(),o=function(n){var l=document.createElement("div");l.classList.add("apexcharts-tooltip-series-group"),l.style.order=i.config.tooltip.inverseOrder?e-n:n+1,t.tConfig.shared&&t.tConfig.enabledOnSeries&&Array.isArray(t.tConfig.enabledOnSeries)&&t.tConfig.enabledOnSeries.indexOf(n)<0&&l.classList.add("apexcharts-tooltip-series-group-hidden");var c=document.createElement("span");c.classList.add("apexcharts-tooltip-marker"),c.style.backgroundColor=i.globals.colors[n],l.appendChild(c);var d=document.createElement("div");d.classList.add("apexcharts-tooltip-text"),d.style.fontFamily=t.tConfig.style.fontFamily||i.config.chart.fontFamily,d.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach(function(u){var p=document.createElement("div");p.classList.add("apexcharts-tooltip-".concat(u,"-group"));var x=document.createElement("span");x.classList.add("apexcharts-tooltip-text-".concat(u,"-label")),p.appendChild(x);var f=document.createElement("span");f.classList.add("apexcharts-tooltip-text-".concat(u,"-value")),p.appendChild(f),d.appendChild(p)}),l.appendChild(d),s.appendChild(l),a.push(l)},r=0;r0&&this.addPathsEventListeners(x,d),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(d)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),i=t.getBoundingClientRect(),a=i.width+10,s=i.height+10,o=this.tConfig.fixed.offsetX,r=this.tConfig.fixed.offsetY,n=this.tConfig.fixed.position.toLowerCase();return n.indexOf("right")>-1&&(o=o+e.globals.svgWidth-a+10),n.indexOf("bottom")>-1&&(r=r+e.globals.svgHeight-s-10),t.style.left=o+"px",t.style.top=r+"px",{x:o,y:r,ttWidth:a,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 i=this,a=function(o){var r={paths:e[o],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(n){return e[o].addEventListener(n,i.onSeriesHover.bind(i,r),{capture:!1,passive:!0})})},s=0;s=100?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout(function(){i.seriesHover(e,t)},100-a))}},{key:"seriesHover",value:function(e,t){var i=this;this.lastHoverTime=Date.now();var a=[],s=this.w;s.config.chart.group&&(a=this.ctx.getGroupedCharts()),s.globals.axisCharts&&(s.globals.minX===-1/0&&s.globals.maxX===1/0||s.globals.dataPoints===0)||(a.length?a.forEach(function(o){var r=i.getElTooltip(o),n={paths:e.paths,tooltipEl:r,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:o.w.globals.tooltip.ttItems};o.w.globals.minX===i.w.globals.minX&&o.w.globals.maxX===i.w.globals.maxX&&o.w.globals.tooltip.seriesHoverByContext({chartCtx:o,ttCtx:o.w.globals.tooltip,opt:n,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,i=e.ttCtx,a=e.opt,s=e.e,o=t.w,r=this.getElTooltip();r&&(i.tooltipRect={x:0,y:0,ttWidth:r.getBoundingClientRect().width,ttHeight:r.getBoundingClientRect().height},i.e=s,i.tooltipUtil.hasBars()&&!o.globals.comboCharts&&!i.isBarShared&&this.tConfig.onDatasetHover.highlightDataSeries&&new te(t).toggleSeriesOnHover(s,s.target.parentNode),i.fixedTooltip&&i.drawFixedTooltipRect(),o.globals.axisCharts?i.axisChartsTooltips({e:s,opt:a,tooltipRect:i.tooltipRect}):i.nonAxisChartsTooltips({e:s,opt:a,tooltipRect:i.tooltipRect}))}},{key:"axisChartsTooltips",value:function(e){var t,i,a=e.e,s=e.opt,o=this.w,r=s.elGrid.getBoundingClientRect(),n=a.type==="touchmove"?a.touches[0].clientX:a.clientX,l=a.type==="touchmove"?a.touches[0].clientY:a.clientY;if(this.clientY=l,this.clientX=n,o.globals.capturedSeriesIndex=-1,o.globals.capturedDataPointIndex=-1,lr.top+r.height)this.handleMouseOut(s);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!o.config.tooltip.shared){var c=parseInt(s.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(c)<0)return void this.handleMouseOut(s)}var d=this.getElTooltip(),u=this.getElXCrosshairs(),p=o.globals.xyCharts||o.config.chart.type==="bar"&&!o.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||o.globals.comboCharts&&this.tooltipUtil.hasBars();if(a.type==="mousemove"||a.type==="touchmove"||a.type==="mouseup"){if(o.globals.collapsedSeries.length+o.globals.ancillaryCollapsedSeries.length===o.globals.series.length)return;u!==null&&u.classList.add("apexcharts-active");var x=this.yaxisTooltips.filter(function(w){return w===!0});if(this.ycrosshairs!==null&&x.length&&this.ycrosshairs.classList.add("apexcharts-active"),p&&!this.showOnIntersect)this.handleStickyTooltip(a,n,l,s);else if(o.config.chart.type==="heatmap"||o.config.chart.type==="treemap"){var f=this.intersect.handleHeatTreeTooltip({e:a,opt:s,x:t,y:i,type:o.config.chart.type});t=f.x,i=f.y,d.style.left=t+"px",d.style.top=i+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:a,opt:s}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:a,opt:s,x:t,y:i});if(this.yaxisTooltips.length)for(var b=0;bl.width?this.handleMouseOut(a):n!==null?this.handleStickyCapturedSeries(e,n,a,r):(this.tooltipUtil.isXoverlap(r)||s.globals.isBarHorizontal)&&this.create(e,this,0,r,a.ttItems)}},{key:"handleStickyCapturedSeries",value:function(e,t,i,a){var s=this.w;if(!this.tConfig.shared&&s.globals.series[t][a]===null)return void this.handleMouseOut(i);s.globals.series[t][a]!==void 0?this.tConfig.shared&&this.tooltipUtil.isXoverlap(a)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,a,i.ttItems):this.create(e,this,t,a,i.ttItems,!1):this.tooltipUtil.isXoverlap(a)&&this.create(e,this,0,a,i.ttItems)}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new I(this.ctx),i=e.globals.dom.Paper.select(".apexcharts-bar-area"),a=0;a5&&arguments[5]!==void 0?arguments[5]:null,r=this.w,n=t;e.type==="mouseup"&&this.markerClick(e,i,a),o===null&&(o=this.tConfig.shared);var l=this.tooltipUtil.hasMarkers(),c=this.tooltipUtil.getElBars();if(r.config.legend.tooltipHoverFormatter){var d=r.config.legend.tooltipHoverFormatter,u=Array.from(this.legendLabels);u.forEach(function(g){var m=g.getAttribute("data:default-text");g.innerHTML=decodeURIComponent(m)});for(var p=0;p0?n.marker.enlargePoints(a):n.tooltipPosition.moveDynamicPointsOnHover(a)),this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(c),this.barSeriesHeight>0)){var k=new I(this.ctx),S=r.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(a,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(a);for(var h=0;h0&&(this.totalItems+=i[n].length);for(var l=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),c=0,d=0,u=function(f,b){var w=void 0,k=void 0,S=void 0,h=void 0,g=[],m=[],y=o.globals.comboCharts?a[f]:f;s.yRatio.length>1&&(s.yaxisIndex=y),s.isReversed=o.config.yaxis[s.yaxisIndex]&&o.config.yaxis[s.yaxisIndex].reversed;var A=s.graphics.group({class:"apexcharts-series",seriesName:C.escapeString(o.globals.seriesNames[y]),rel:f+1,"data:realIndex":y});s.ctx.series.addCollapsedClassToSeries(A,y);var L=s.graphics.group({class:"apexcharts-datalabels","data:realIndex":y}),P=0,z=0,E=s.initialPositions(c,d,w,k,S,h);d=E.y,P=E.barHeight,k=E.yDivision,h=E.zeroW,c=E.x,z=E.barWidth,w=E.xDivision,S=E.zeroH,s.yArrj=[],s.yArrjF=[],s.yArrjVal=[],s.xArrj=[],s.xArrjF=[],s.xArrjVal=[],s.prevY.length===1&&s.prevY[0].every(function(ie){return isNaN(ie)})&&(s.prevY[0]=s.prevY[0].map(function(ie){return S}),s.prevYF[0]=s.prevYF[0].map(function(ie){return 0}));for(var F=0;F1?(s=d.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:c*parseInt(d.config.plotOptions.bar.columnWidth,10)/100,r=this.baseLineY[this.yaxisIndex]+(this.isReversed?d.globals.gridHeight:0)-(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),i=d.globals.padHorizontal+(s-c)/2),{x:i,y:a,yDivision:o,xDivision:s,barHeight:l,barWidth:c,zeroH:r,zeroW:n}}},{key:"drawStackedBarPaths",value:function(i){for(var a,s=i.indexes,o=i.barHeight,r=i.strokeWidth,n=i.zeroW,l=i.x,c=i.y,d=i.yDivision,u=i.elSeries,p=this.w,x=c,f=s.i,b=s.j,w=0,k=0;k0){var S=n;this.prevXVal[f-1][b]<0?S=this.series[f][b]>=0?this.prevX[f-1][b]+w-2*(this.isReversed?w:0):this.prevX[f-1][b]:this.prevXVal[f-1][b]>=0&&(S=this.series[f][b]>=0?this.prevX[f-1][b]:this.prevX[f-1][b]-w+2*(this.isReversed?w:0)),a=S}else a=n;l=this.series[f][b]===null?a:a+this.series[f][b]/this.invertedYRatio-2*(this.isReversed?this.series[f][b]/this.invertedYRatio:0);var h=this.barHelpers.getBarpaths({barYPosition:x,barHeight:o,x1:a,x2:l,strokeWidth:r,series:this.series,realIndex:s.realIndex,i:f,j:b,w:p});return this.barHelpers.barBackground({j:b,i:f,y1:x,y2:o,elSeries:u}),c+=d,{pathTo:h.pathTo,pathFrom:h.pathFrom,x:l,y:c}}},{key:"drawStackedColumnPaths",value:function(i){var a=i.indexes,s=i.x,o=i.y,r=i.xDivision,n=i.barWidth,l=i.zeroH;i.strokeWidth;var c=i.elSeries,d=this.w,u=a.i,p=a.j,x=a.bc;if(d.globals.isXNumeric){var f=d.globals.seriesX[u][p];f||(f=0),s=(f-d.globals.minX)/this.xRatio-n/2}for(var b,w=s,k=0,S=0;S0&&!d.globals.isXNumeric||u>0&&d.globals.isXNumeric&&d.globals.seriesX[u-1][p]===d.globals.seriesX[u][p]){var h,g,m=Math.min(this.yRatio.length+1,u+1);if(this.prevY[u-1]!==void 0){for(var y=1;y=0?g-k+2*(this.isReversed?k:0):g;break}if(this.prevYVal[u-A][p]>=0){h=this.series[u][p]>=0?g:g+k-2*(this.isReversed?k:0);break}}h===void 0&&(h=d.globals.gridHeight),b=this.prevYF[0].every(function(P){return P===0})&&this.prevYF.slice(1,u).every(function(P){return P.every(function(z){return isNaN(z)})})?d.globals.gridHeight-l:h}else b=d.globals.gridHeight-l;o=b-this.series[u][p]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[u][p]/this.yRatio[this.yaxisIndex]:0);var L=this.barHelpers.getColumnPaths({barXPosition:w,barWidth:n,y1:b,y2:o,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,realIndex:a.realIndex,i:u,j:p,w:d});return this.barHelpers.barBackground({bc:x,j:p,i:u,x1:w,x2:n,elSeries:c}),s+=r,{pathTo:L.pathTo,pathFrom:L.pathFrom,x:d.globals.isXNumeric?s-r:s,y:o}}}]),t}(),je=function(v){K(t,we);var e=ue(t);function t(){return T(this,t),e.apply(this,arguments)}return M(t,[{key:"draw",value:function(i,a){var s=this,o=this.w,r=new I(this.ctx),n=new se(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=o.config.plotOptions.bar.horizontal;var l=new U(this.ctx,o);i=l.getLogSeries(i),this.series=i,this.yRatio=l.getLogYRatios(this.yRatio),this.barHelpers.initVariables(i);for(var c=r.group({class:"apexcharts-".concat(o.config.chart.type,"-series apexcharts-plot-series")}),d=function(p){s.isBoxPlot=o.config.chart.type==="boxPlot"||o.config.series[p].type==="boxPlot";var x,f,b,w,k=void 0,S=void 0,h=[],g=[],m=o.globals.comboCharts?a[p]:p,y=r.group({class:"apexcharts-series",seriesName:C.escapeString(o.globals.seriesNames[m]),rel:p+1,"data:realIndex":m});s.ctx.series.addCollapsedClassToSeries(y,m),i[p].length>0&&(s.visibleI=s.visibleI+1);var A,L;s.yRatio.length>1&&(s.yaxisIndex=m);var P=s.barHelpers.initialPositions();S=P.y,A=P.barHeight,f=P.yDivision,w=P.zeroW,k=P.x,L=P.barWidth,x=P.xDivision,b=P.zeroH,g.push(k+L/2);for(var z=r.group({class:"apexcharts-datalabels","data:realIndex":m}),E=function(R){var V=s.barHelpers.getStrokeWidth(p,R,m),W=null,Q={indexes:{i:p,j:R,realIndex:m},x:k,y:S,strokeWidth:V,elSeries:y};W=s.isHorizontal?s.drawHorizontalBoxPaths(X(X({},Q),{},{yDivision:f,barHeight:A,zeroW:w})):s.drawVerticalBoxPaths(X(X({},Q),{},{xDivision:x,barWidth:L,zeroH:b})),S=W.y,k=W.x,R>0&&g.push(k+L/2),h.push(S),W.pathTo.forEach(function(ie,le){var ke=!s.isBoxPlot&&s.candlestickOptions.wick.useFillColor?W.color[le]:o.globals.stroke.colors[p],Pe=n.fillPath({seriesNumber:m,dataPointIndex:R,color:W.color[le],value:i[p][R]});s.renderSeries({realIndex:m,pathFill:Pe,lineFill:ke,j:R,i:p,pathFrom:W.pathFrom,pathTo:ie,strokeWidth:V,elSeries:y,x:k,y:S,series:i,barHeight:A,barWidth:L,elDataLabelsWrap:z,visibleSeries:s.visibleI,type:o.config.chart.type})})},F=0;Fh.c&&(x=!1);var y=Math.min(h.o,h.c),A=Math.max(h.o,h.c),L=h.m;c.globals.isXNumeric&&(s=(c.globals.seriesX[S][p]-c.globals.minX)/this.xRatio-r/2);var P=s+r*this.visibleI;this.series[u][p]===void 0||this.series[u][p]===null?(y=n,A=n):(y=n-y/k,A=n-A/k,g=n-h.h/k,m=n-h.l/k,L=n-h.m/k);var z=d.move(P,n),E=d.move(P+r/2,y);return c.globals.previousPaths.length>0&&(E=this.getPreviousPath(S,p,!0)),z=this.isBoxPlot?[d.move(P,y)+d.line(P+r/2,y)+d.line(P+r/2,g)+d.line(P+r/4,g)+d.line(P+r-r/4,g)+d.line(P+r/2,g)+d.line(P+r/2,y)+d.line(P+r,y)+d.line(P+r,L)+d.line(P,L)+d.line(P,y+l/2),d.move(P,L)+d.line(P+r,L)+d.line(P+r,A)+d.line(P+r/2,A)+d.line(P+r/2,m)+d.line(P+r-r/4,m)+d.line(P+r/4,m)+d.line(P+r/2,m)+d.line(P+r/2,A)+d.line(P,A)+d.line(P,L)+"z"]:[d.move(P,A)+d.line(P+r/2,A)+d.line(P+r/2,g)+d.line(P+r/2,A)+d.line(P+r,A)+d.line(P+r,y)+d.line(P+r/2,y)+d.line(P+r/2,m)+d.line(P+r/2,y)+d.line(P,y)+d.line(P,A-l/2)],E+=d.move(P,y),c.globals.isXNumeric||(s+=o),{pathTo:z,pathFrom:E,x:s,y:A,barXPosition:P,color:this.isBoxPlot?w:x?[f]:[b]}}},{key:"drawHorizontalBoxPaths",value:function(i){var a=i.indexes;i.x;var s=i.y,o=i.yDivision,r=i.barHeight,n=i.zeroW,l=i.strokeWidth,c=this.w,d=new I(this.ctx),u=a.i,p=a.j,x=this.boxOptions.colors.lower;this.isBoxPlot&&(x=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var f=this.invertedYRatio,b=a.realIndex,w=this.getOHLCValue(b,p),k=n,S=n,h=Math.min(w.o,w.c),g=Math.max(w.o,w.c),m=w.m;c.globals.isXNumeric&&(s=(c.globals.seriesX[b][p]-c.globals.minX)/this.invertedXRatio-r/2);var y=s+r*this.visibleI;this.series[u][p]===void 0||this.series[u][p]===null?(h=n,g=n):(h=n+h/f,g=n+g/f,k=n+w.h/f,S=n+w.l/f,m=n+w.m/f);var A=d.move(n,y),L=d.move(h,y+r/2);return c.globals.previousPaths.length>0&&(L=this.getPreviousPath(b,p,!0)),A=[d.move(h,y)+d.line(h,y+r/2)+d.line(k,y+r/2)+d.line(k,y+r/2-r/4)+d.line(k,y+r/2+r/4)+d.line(k,y+r/2)+d.line(h,y+r/2)+d.line(h,y+r)+d.line(m,y+r)+d.line(m,y)+d.line(h+l/2,y),d.move(m,y)+d.line(m,y+r)+d.line(g,y+r)+d.line(g,y+r/2)+d.line(S,y+r/2)+d.line(S,y+r-r/4)+d.line(S,y+r/4)+d.line(S,y+r/2)+d.line(g,y+r/2)+d.line(g,y)+d.line(m,y)+"z"],L+=d.move(h,y),c.globals.isXNumeric||(s+=o),{pathTo:A,pathFrom:L,x:g,y:s,barYPosition:y,color:x}}},{key:"getOHLCValue",value:function(i,a){var s=this.w;return{o:this.isBoxPlot?s.globals.seriesCandleH[i][a]:s.globals.seriesCandleO[i][a],h:this.isBoxPlot?s.globals.seriesCandleO[i][a]:s.globals.seriesCandleH[i][a],m:s.globals.seriesCandleM[i][a],l:this.isBoxPlot?s.globals.seriesCandleC[i][a]:s.globals.seriesCandleL[i][a],c:this.isBoxPlot?s.globals.seriesCandleL[i][a]:s.globals.seriesCandleC[i][a]}}}]),t}(),ct=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,i=e.config.plotOptions[e.config.chart.type];return i.colorScale.ranges.length>0&&i.colorScale.ranges.map(function(a,s){a.from<=0&&(t=!0)}),t}},{key:"getShadeColor",value:function(e,t,i,a){var s=this.w,o=1,r=s.config.plotOptions[e].shadeIntensity,n=this.determineColor(e,t,i);s.globals.hasNegs||a?o=s.config.plotOptions[e].reverseNegativeShade?n.percent<0?n.percent/100*(1.25*r):(1-n.percent/100)*(1.25*r):n.percent<=0?1-(1+n.percent/100)*r:(1-n.percent/100)*r:(o=1-n.percent/100,e==="treemap"&&(o=(1-n.percent/100)*(1.25*r)));var l=n.color,c=new C;return s.config.plotOptions[e].enableShades&&(l=this.w.config.theme.mode==="dark"?C.hexToRgba(c.shadeColor(-1*o,n.color),s.config.fill.opacity):C.hexToRgba(c.shadeColor(o,n.color),s.config.fill.opacity)),{color:l,colorProps:n}}},{key:"determineColor",value:function(e,t,i){var a=this.w,s=a.globals.series[t][i],o=a.config.plotOptions[e],r=o.colorScale.inverse?i:t;o.distributed&&a.config.chart.type==="treemap"&&(r=i);var n=a.globals.colors[r],l=null,c=Math.min.apply(Math,_(a.globals.series[t])),d=Math.max.apply(Math,_(a.globals.series[t]));o.distributed||e!=="heatmap"||(c=a.globals.minY,d=a.globals.maxY),o.colorScale.min!==void 0&&(c=o.colorScale.mina.globals.maxY?o.colorScale.max:a.globals.maxY);var u=Math.abs(d)+Math.abs(c),p=100*s/(u===0?u-1e-6:u);return o.colorScale.ranges.length>0&&o.colorScale.ranges.map(function(x,f){if(s>=x.from&&s<=x.to){n=x.color,l=x.foreColor?x.foreColor:null,c=x.from,d=x.to;var b=Math.abs(d)+Math.abs(c);p=100*s/(b===0?b-1e-6:b)}}),{color:n,foreColor:l,percent:p}}},{key:"calculateDataLabels",value:function(e){var t=e.text,i=e.x,a=e.y,s=e.i,o=e.j,r=e.colorProps,n=e.fontSize,l=this.w.config.dataLabels,c=new I(this.ctx),d=new ye(this.ctx),u=null;if(l.enabled){u=c.group({class:"apexcharts-data-labels"});var p=l.offsetX,x=l.offsetY,f=i+p,b=a+parseFloat(l.style.fontSize)/3+x;d.plotDataLabelsText({x:f,y:b,text:t,i:s,j:o,color:r.foreColor,parent:u,fontSize:n,dataLabelsConfig:l})}return u}},{key:"addListeners",value:function(e){var t=new I(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))}}]),v}(),Vt=function(){function v(e,t){T(this,v),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 ct(e),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return M(v,[{key:"draw",value:function(e){var t=this.w,i=new I(this.ctx),a=i.group({class:"apexcharts-heatmap"});a.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var s=t.globals.gridWidth/t.globals.dataPoints,o=t.globals.gridHeight/t.globals.series.length,r=0,n=!1;this.negRange=this.helpers.checkColorRange();var l=e.slice();t.config.yaxis[0].reversed&&(n=!0,l.reverse());for(var c=n?0:l.length-1;n?c=0;n?c++:c--){var d=i.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:C.escapeString(t.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(this.ctx.series.addCollapsedClassToSeries(d,c),t.config.chart.dropShadow.enabled){var u=t.config.chart.dropShadow;new q(this.ctx).dropShadow(d,u,c)}for(var p=0,x=t.config.plotOptions.heatmap.shadeIntensity,f=0;f-1&&this.pieClicked(u),i.config.dataLabels.enabled){var g=S.x,m=S.y,y=100*x/this.fullAngle+"%";if(x!==0&&i.config.plotOptions.pie.dataLabels.minAngleToShowLabelthis.fullAngle?t.endAngle=t.endAngle-(a+r):a+r=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(n=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(n)>this.fullAngle&&(n-=this.fullAngle);var l=Math.PI*(n-90)/180,c=t.centerX+s*Math.cos(r),d=t.centerY+s*Math.sin(r),u=t.centerX+s*Math.cos(l),p=t.centerY+s*Math.sin(l),x=C.polarToCartesian(t.centerX,t.centerY,t.donutSize,n),f=C.polarToCartesian(t.centerX,t.centerY,t.donutSize,o),b=a>180?1:0,w=["M",c,d,"A",s,s,0,b,1,u,p];return t.chartType==="donut"?[].concat(w,["L",x.x,x.y,"A",t.donutSize,t.donutSize,0,b,0,f.x,f.y,"L",c,d,"z"]).join(" "):t.chartType==="pie"||t.chartType==="polarArea"?[].concat(w,["L",t.centerX,t.centerY,"L",c,d]).join(" "):[].concat(w).join(" ")}},{key:"drawPolarElements",value:function(e){var t=this.w,i=new Me(this.ctx),a=new I(this.ctx),s=new dt(this.ctx),o=a.group(),r=a.group(),n=i.niceScale(0,Math.ceil(this.maxY),t.config.yaxis[0].tickAmount,0,!0),l=n.result.reverse(),c=n.result.length;this.maxY=n.niceMax;for(var d=t.globals.radialSize,u=d/(c-1),p=0;p1&&e.total.show&&(s=e.total.color);var r=o.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),n=o.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");i=(0,e.value.formatter)(i,o),a||typeof e.total.formatter!="function"||(i=e.total.formatter(o));var l=t===e.total.label;t=e.name.formatter(t,l,o),r!==null&&(r.textContent=t),n!==null&&(n.textContent=i),r!==null&&(r.style.fill=s)}},{key:"printDataLabelsInner",value:function(e,t){var i=this.w,a=e.getAttribute("data:value"),s=i.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];i.globals.series.length>1&&this.printInnerLabels(t,s,a,e);var o=i.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");o!==null&&(o.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,i=this.w,a=new I(this.ctx),s=i.config.plotOptions.polarArea.spokes;if(s.strokeWidth!==0){for(var o=[],r=360/i.globals.series.length,n=0;n1)r&&!t.total.showAlways?l({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(t,t.total.label,t.total.formatter(s));else if(l({makeSliceOut:!1,printLabel:!0}),!r)if(s.globals.selectedDataPoints.length&&s.globals.series.length>1)if(s.globals.selectedDataPoints[0].length>0){var c=s.globals.selectedDataPoints[0],d=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(c));this.printDataLabelsInner(d,t)}else o&&s.globals.selectedDataPoints.length&&s.globals.selectedDataPoints[0].length===0&&(o.style.opacity=0);else o&&s.globals.series.length>1&&(o.style.opacity=0)}}]),v}(),jt=function(){function v(e){T(this,v),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 I(this.ctx),this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=t.globals.svgHeight0&&(m=t.getPreviousPath(w));for(var y=0;y=10?e.x>0?(i="start",a+=10):e.x<0&&(i="end",a-=10):i="middle",Math.abs(e.y)>=t-10&&(e.y<0?s-=10:e.y>0&&(s+=10)),{textAnchor:i,newX:a,newY:s}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,i=null,a=0;a0&&parseInt(s.realIndex,10)===parseInt(e,10)&&t.globals.previousPaths[a].paths[0]!==void 0&&(i=t.globals.previousPaths[a].paths[0].d)}return i}},{key:"getDataPointsPos",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var a=[],s=0;s=360&&(f=360-Math.abs(this.startAngle)-.1);var b=s.drawPath({d:"",stroke:p,strokeWidth:l*parseInt(u.strokeWidth,10)/100,fill:"none",strokeOpacity:u.opacity,classes:"apexcharts-radialbar-area"});if(u.dropShadow.enabled){var w=u.dropShadow;r.dropShadow(b,w)}d.add(b),b.attr("id","apexcharts-radialbarTrack-"+c),this.animatePaths(b,{centerX:i.centerX,centerY:i.centerY,endAngle:f,startAngle:x,size:i.size,i:c,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:a.globals.easing})}return o}},{key:"drawArcs",value:function(i){var a=this.w,s=new I(this.ctx),o=new se(this.ctx),r=new q(this.ctx),n=s.group(),l=this.getStrokeWidth(i);i.size=i.size-l/2;var c=a.config.plotOptions.radialBar.hollow.background,d=i.size-l*i.series.length-this.margin*i.series.length-l*parseInt(a.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,u=d-a.config.plotOptions.radialBar.hollow.margin;a.config.plotOptions.radialBar.hollow.image!==void 0&&(c=this.drawHollowImage(i,n,d,c));var p=this.drawHollow({size:u,centerX:i.centerX,centerY:i.centerY,fill:c||"transparent"});if(a.config.plotOptions.radialBar.hollow.dropShadow.enabled){var x=a.config.plotOptions.radialBar.hollow.dropShadow;r.dropShadow(p,x)}var f=1;!this.radialDataLabels.total.show&&a.globals.series.length>1&&(f=0);var b=null;this.radialDataLabels.show&&(b=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:d,centerX:i.centerX,centerY:i.centerY,opacity:f})),a.config.plotOptions.radialBar.hollow.position==="back"&&(n.add(p),b&&n.add(b));var w=!1;a.config.plotOptions.radialBar.inverseOrder&&(w=!0);for(var k=w?i.series.length-1:0;w?k>=0:k100?100:i.series[k])/100,A=Math.round(this.totalAngle*y)+this.startAngle,L=void 0;a.globals.dataChanged&&(m=this.startAngle,L=Math.round(this.totalAngle*C.negToZero(a.globals.previousPaths[k])/100)+m),Math.abs(A)+Math.abs(g)>=360&&(A-=.01),Math.abs(L)+Math.abs(m)>=360&&(L-=.01);var P=A-g,z=Array.isArray(a.config.stroke.dashArray)?a.config.stroke.dashArray[k]:a.config.stroke.dashArray,E=s.drawPath({d:"",stroke:h,strokeWidth:l,fill:"none",fillOpacity:a.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+k,strokeDashArray:z});if(I.setAttrs(E.node,{"data:angle":P,"data:value":i.series[k]}),a.config.chart.dropShadow.enabled){var F=a.config.chart.dropShadow;r.dropShadow(E,F,k)}r.setSelectionFilter(E,0,k),this.addListeners(E,this.radialDataLabels),S.add(E),E.attr({index:0,j:k});var R=0;!this.initialAnim||a.globals.resized||a.globals.dataChanged||(R=a.config.chart.animations.speed),a.globals.dataChanged&&(R=a.config.chart.animations.dynamicAnimation.speed),this.animDur=R/(1.2*i.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(E,{centerX:i.centerX,centerY:i.centerY,endAngle:A,startAngle:g,prevEndAngle:L,prevStartAngle:m,size:i.size,i:k,totalItems:2,animBeginArr:this.animBeginArr,dur:R,shouldSetPrevPaths:!0,easing:a.globals.easing})}return{g:n,elHollow:p,dataLabels:b}}},{key:"drawHollow",value:function(i){var a=new I(this.ctx).drawCircle(2*i.size);return a.attr({class:"apexcharts-radialbar-hollow",cx:i.centerX,cy:i.centerY,r:i.size,fill:i.fill}),a}},{key:"drawHollowImage",value:function(i,a,s,o){var r=this.w,n=new se(this.ctx),l=C.randomId(),c=r.config.plotOptions.radialBar.hollow.image;if(r.config.plotOptions.radialBar.hollow.imageClipped)n.clippedImgArea({width:s,height:s,image:c,patternID:"pattern".concat(r.globals.cuid).concat(l)}),o="url(#pattern".concat(r.globals.cuid).concat(l,")");else{var d=r.config.plotOptions.radialBar.hollow.imageWidth,u=r.config.plotOptions.radialBar.hollow.imageHeight;if(d===void 0&&u===void 0){var p=r.globals.dom.Paper.image(c).loaded(function(f){this.move(i.centerX-f.width/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,i.centerY-f.height/2+r.config.plotOptions.radialBar.hollow.imageOffsetY)});a.add(p)}else{var x=r.globals.dom.Paper.image(c).loaded(function(f){this.move(i.centerX-d/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,i.centerY-u/2+r.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(d,u)});a.add(x)}}return o}},{key:"getStrokeWidth",value:function(i){var a=this.w;return i.size*(100-parseInt(a.config.plotOptions.radialBar.hollow.size,10))/100/(i.series.length+1)-this.margin}}]),t}(),qt=function(){function v(e){T(this,v),this.w=e.w,this.lineCtx=e}return M(v,[{key:"sameValueSeriesFix",value:function(e,t){var i=this.w;if(i.config.chart.type==="line"&&(i.config.fill.type==="gradient"||i.config.fill.type[e]==="gradient")&&new U(this.lineCtx.ctx,i).seriesHaveSameValues(e)){var a=t[e].slice();a[a.length-1]=a[a.length-1]+1e-6,t[e]=a}return t}},{key:"calculatePoints",value:function(e){var t=e.series,i=e.realIndex,a=e.x,s=e.y,o=e.i,r=e.j,n=e.prevY,l=this.w,c=[],d=[];if(r===0){var u=this.lineCtx.categoryAxisCorrection+l.config.markers.offsetX;l.globals.isXNumeric&&(u=(l.globals.seriesX[i][0]-l.globals.minX)/this.lineCtx.xRatio+l.config.markers.offsetX),c.push(u),d.push(C.isNumber(t[o][0])?n+l.config.markers.offsetY:null),c.push(a+l.config.markers.offsetX),d.push(C.isNumber(t[o][r+1])?s+l.config.markers.offsetY:null)}else c.push(a+l.config.markers.offsetX),d.push(C.isNumber(t[o][r+1])?s+l.config.markers.offsetY:null);return{x:c,y:d}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,i=e.pathFromArea,a=e.realIndex,s=this.w,o=0;o0&&parseInt(r.realIndex,10)===parseInt(a,10)&&(r.type==="line"?(this.lineCtx.appendPathFrom=!1,t=s.globals.previousPaths[o].paths[0].d):r.type==="area"&&(this.lineCtx.appendPathFrom=!1,i=s.globals.previousPaths[o].paths[0].d,s.config.stroke.show&&s.globals.previousPaths[o].paths[1]&&(t=s.globals.previousPaths[o].paths[1].d)))}return{pathFromLine:t,pathFromArea:i}}},{key:"determineFirstPrevY",value:function(e){var t=e.i,i=e.series,a=e.prevY,s=e.lineYPosition,o=this.w;if(i[t][0]!==void 0)a=(s=o.config.chart.stacked&&t>0?this.lineCtx.prevSeriesY[t-1][0]:this.lineCtx.zeroY)-i[t][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?i[t][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(o.config.chart.stacked&&t>0&&i[t][0]===void 0){for(var r=t-1;r>=0;r--)if(i[r][0]!==null&&i[r][0]!==void 0){a=s=this.lineCtx.prevSeriesY[r][0];break}}return{prevY:a,lineYPosition:s}}}]),v}(),Ue=function(){function v(e,t,i){T(this,v),this.ctx=e,this.w=e.w,this.xyRatios=t,this.pointsChart=!(this.w.config.chart.type!=="bubble"&&this.w.config.chart.type!=="scatter")||i,this.scatter=new ze(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new qt(this),this.markers=new Ae(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return M(v,[{key:"draw",value:function(e,t,i){var a=this.w,s=new I(this.ctx),o=a.globals.comboCharts?t:a.config.chart.type,r=s.group({class:"apexcharts-".concat(o,"-series apexcharts-plot-series")}),n=new U(this.ctx,a);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=n.getLogSeries(e),this.yRatio=n.getLogYRatios(this.yRatio);for(var l=[],c=0;c0&&(x=(a.globals.seriesX[d][0]-a.globals.minX)/this.xRatio),p.push(x);var f,b=x,w=b,k=this.zeroY;k=this.lineHelpers.determineFirstPrevY({i:c,series:e,prevY:k,lineYPosition:0}).prevY,u.push(k),f=k;var S=this._calculatePathsFrom({series:e,i:c,realIndex:d,prevX:w,prevY:k}),h=this._iterateOverDataPoints({series:e,realIndex:d,i:c,x,y:1,pX:b,pY:f,pathsFrom:S,linePaths:[],areaPaths:[],seriesIndex:i,lineYPosition:0,xArrj:p,yArrj:u});this._handlePaths({type:o,realIndex:d,i:c,paths:h}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),l.push(this.elSeries)}if(a.config.chart.stacked)for(var g=l.length;g>0;g--)r.add(l[g-1]);else for(var m=0;m1&&(this.yaxisIndex=i),this.isReversed=a.config.yaxis[this.yaxisIndex]&&a.config.yaxis[this.yaxisIndex].reversed,this.zeroY=a.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?a.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>a.globals.gridHeight||a.config.plotOptions.area.fillTo==="end")&&(this.areaBottomY=a.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=s.group({class:"apexcharts-series",seriesName:C.escapeString(a.globals.seriesNames[i])}),this.elPointsMain=s.group({class:"apexcharts-series-markers-wrap","data:realIndex":i}),this.elDataLabelsWrap=s.group({class:"apexcharts-datalabels","data:realIndex":i});var o=e[t].length===a.globals.dataPoints;this.elSeries.attr({"data:longestSeries":o,rel:t+1,"data:realIndex":i}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,i,a,s,o=e.series,r=e.i,n=e.realIndex,l=e.prevX,c=e.prevY,d=this.w,u=new I(this.ctx);if(o[r][0]===null){for(var p=0;p0){var x=this.lineHelpers.checkPreviousPaths({pathFromLine:a,pathFromArea:s,realIndex:n});a=x.pathFromLine,s=x.pathFromArea}return{prevX:l,prevY:c,linePath:t,areaPath:i,pathFromLine:a,pathFromArea:s}}},{key:"_handlePaths",value:function(e){var t=e.type,i=e.realIndex,a=e.i,s=e.paths,o=this.w,r=new I(this.ctx),n=new se(this.ctx);this.prevSeriesY.push(s.yArrj),o.globals.seriesXvalues[i]=s.xArrj,o.globals.seriesYvalues[i]=s.yArrj;var l=o.config.forecastDataPoints;if(l.count>0){var c=o.globals.seriesXvalues[i][o.globals.seriesXvalues[i].length-l.count-1],d=r.drawRect(c,0,o.globals.gridWidth,o.globals.gridHeight,0);o.globals.dom.elForecastMask.appendChild(d.node);var u=r.drawRect(0,0,c,o.globals.gridHeight,0);o.globals.dom.elNonForecastMask.appendChild(u.node)}this.pointsChart||o.globals.delayedElements.push({el:this.elPointsMain.node,index:i});var p={i:a,realIndex:i,animationDelay:a,initialSpeed:o.config.chart.animations.speed,dataChangeSpeed:o.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if(t==="area")for(var x=n.fillPath({seriesNumber:i}),f=0;f0){var m=r.renderPaths(h);m.node.setAttribute("stroke-dasharray",l.dashArray),l.strokeWidth&&m.node.setAttribute("stroke-width",l.strokeWidth),this.elSeries.add(m),m.attr("clip-path","url(#forecastMask".concat(o.globals.cuid,")")),g.attr("clip-path","url(#nonForecastMask".concat(o.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){for(var t=e.series,i=e.realIndex,a=e.i,s=e.x,o=e.y,r=e.pX,n=e.pY,l=e.pathsFrom,c=e.linePaths,d=e.areaPaths,u=e.seriesIndex,p=e.lineYPosition,x=e.xArrj,f=e.yArrj,b=this.w,w=new I(this.ctx),k=this.yRatio,S=l.prevY,h=l.linePath,g=l.areaPath,m=l.pathFromLine,y=l.pathFromArea,A=C.isNumber(b.globals.minYArr[i])?b.globals.minYArr[i]:b.globals.minY,L=b.globals.dataPoints>1?b.globals.dataPoints-1:b.globals.dataPoints,P=0;P0&&b.globals.collapsedSeries.length-1){W--;break}return W>=0?W:0}(a-1)][P+1]:p=this.zeroY:p=this.zeroY,o=z?p-A/k[this.yaxisIndex]+2*(this.isReversed?A/k[this.yaxisIndex]:0):p-t[a][P+1]/k[this.yaxisIndex]+2*(this.isReversed?t[a][P+1]/k[this.yaxisIndex]:0),x.push(s),f.push(o);var F=this.lineHelpers.calculatePoints({series:t,x:s,y:o,realIndex:i,i:a,j:P,prevY:S}),R=this._createPaths({series:t,i:a,realIndex:i,j:P,x:s,y:o,pX:r,pY:n,linePath:h,areaPath:g,linePaths:c,areaPaths:d,seriesIndex:u});d=R.areaPaths,c=R.linePaths,r=R.pX,n=R.pY,g=R.areaPath,h=R.linePath,this.appendPathFrom&&(m+=w.line(s,this.zeroY),y+=w.line(s,this.zeroY)),this.handleNullDataPoints(t,F,a,P,i),this._handleMarkersAndLabels({pointsPos:F,series:t,x:s,y:o,prevY:S,i:a,j:P,realIndex:i})}return{yArrj:f,xArrj:x,pathFromArea:y,areaPaths:d,pathFromLine:m,linePaths:c}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.pointsPos;e.series,e.x,e.y,e.prevY;var i=e.i,a=e.j,s=e.realIndex,o=this.w,r=new ye(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,a,{realIndex:s,pointsPos:t,zRatio:this.zRatio,elParent:this.elPointsMain});else{o.globals.series[i].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var n=this.markers.plotChartMarkers(t,s,a+1);n!==null&&this.elPointsMain.add(n)}var l=r.drawDataLabel(t,s,a+1,null);l!==null&&this.elDataLabelsWrap.add(l)}},{key:"_createPaths",value:function(e){var t=e.series,i=e.i,a=e.realIndex,s=e.j,o=e.x,r=e.y,n=e.pX,l=e.pY,c=e.linePath,d=e.areaPath,u=e.linePaths,p=e.areaPaths,x=e.seriesIndex,f=this.w,b=new I(this.ctx),w=f.config.stroke.curve,k=this.areaBottomY;if(Array.isArray(f.config.stroke.curve)&&(w=Array.isArray(x)?f.config.stroke.curve[x[i]]:f.config.stroke.curve[i]),w==="smooth"){var S=.35*(o-n);f.globals.hasNullValues?(t[i][s]!==null&&(t[i][s+1]!==null?(c=b.move(n,l)+b.curve(n+S,l,o-S,r,o+1,r),d=b.move(n+1,l)+b.curve(n+S,l,o-S,r,o+1,r)+b.line(o,k)+b.line(n,k)+"z"):(c=b.move(n,l),d=b.move(n,l)+"z")),u.push(c),p.push(d)):(c+=b.curve(n+S,l,o-S,r,o,r),d+=b.curve(n+S,l,o-S,r,o,r)),n=o,l=r,s===t[i].length-2&&(d=d+b.curve(n,l,o,r,o,k)+b.move(o,r)+"z",f.globals.hasNullValues||(u.push(c),p.push(d)))}else{if(t[i][s+1]===null){c+=b.move(o,r);var h=f.globals.isXNumeric?(f.globals.seriesX[a][s]-f.globals.minX)/this.xRatio:o-this.xDivision;d=d+b.line(h,k)+b.move(o,r)+"z"}t[i][s]===null&&(c+=b.move(o,r),d+=b.move(o,k)),w==="stepline"?(c=c+b.line(o,null,"H")+b.line(null,r,"V"),d=d+b.line(o,null,"H")+b.line(null,r,"V")):w==="straight"&&(c+=b.line(o,r),d+=b.line(o,r)),s===t[i].length-2&&(d=d+b.line(o,k)+b.move(o,r)+"z",u.push(c),p.push(d))}return{linePaths:u,areaPaths:p,pX:n,pY:l,linePath:c,areaPath:d}}},{key:"handleNullDataPoints",value:function(e,t,i,a,s){var o=this.w;if(e[i][a]===null&&o.config.markers.showNullDataPoints||e[i].length===1){var r=this.markers.plotChartMarkers(t,s,a+1,this.strokeWidth-o.config.markers.strokeWidth/2,!0);r!==null&&this.elPointsMain.add(r)}}}]),v}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function v(r,n,l,c){this.xoffset=r,this.yoffset=n,this.height=c,this.width=l,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(d){var u,p=[],x=this.xoffset,f=this.yoffset,b=s(d)/this.height,w=s(d)/this.width;if(this.width>=this.height)for(u=0;u=this.height){var p=d/this.height,x=this.width-p;u=new v(this.xoffset+p,this.yoffset,x,this.height)}else{var f=d/this.width,b=this.height-f;u=new v(this.xoffset,this.yoffset+f,this.width,b)}return u}}function e(r,n,l,c,d){return c=c===void 0?0:c,d=d===void 0?0:d,function(u){var p,x,f=[];for(p=0;p=S}(n,u=r[0],d)?(n.push(u),t(r.slice(1),n,l,c)):(p=l.cutArea(s(n),c),c.push(l.getCoordinates(n)),t(r,[],p,c)),c;c.push(l.getCoordinates(n))}function i(r,n){var l=Math.min.apply(Math,r),c=Math.max.apply(Math,r),d=s(r);return Math.max(Math.pow(n,2)*c/Math.pow(d,2),Math.pow(d,2)/(Math.pow(n,2)*l))}function a(r){return r&&r.constructor===Array}function s(r){var n,l=0;for(n=0;no-a&&l.width<=r-s){var c=n.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(c.x," ").concat(c.y,")"))}}},{key:"animateTreemap",value:function(e,t,i,a){var s=new Z(this.ctx);s.animateRect(e,{x:t.x,y:t.y,width:t.width,height:t.height},{x:i.x,y:i.y,width:i.width,height:i.height},a,function(){s.animationCompleted(e)})}}]),v}(),$t=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return M(v,[{key:"calculateTimeScaleTicks",value:function(e,t){var i=this,a=this.w;if(a.globals.allSeriesCollapsed)return a.globals.labels=[],a.globals.timescaleLabels=[],[];var s=new J(this.ctx),o=(t-e)/864e5;this.determineInterval(o),a.globals.disableZoomIn=!1,a.globals.disableZoomOut=!1,o<.00011574074074074075?a.globals.disableZoomIn=!0:o>5e4&&(a.globals.disableZoomOut=!0);var r=s.getTimeUnitsfromTimestamp(e,t,this.utc),n=a.globals.gridWidth/o,l=n/24,c=l/60,d=c/60,u=Math.floor(24*o),p=Math.floor(1440*o),x=Math.floor(86400*o),f=Math.floor(o),b=Math.floor(o/30),w=Math.floor(o/365),k={minMillisecond:r.minMillisecond,minSecond:r.minSecond,minMinute:r.minMinute,minHour:r.minHour,minDate:r.minDate,minMonth:r.minMonth,minYear:r.minYear},S={firstVal:k,currentMillisecond:k.minMillisecond,currentSecond:k.minSecond,currentMinute:k.minMinute,currentHour:k.minHour,currentMonthDate:k.minDate,currentDate:k.minDate,currentMonth:k.minMonth,currentYear:k.minYear,daysWidthOnXAxis:n,hoursWidthOnXAxis:l,minutesWidthOnXAxis:c,secondsWidthOnXAxis:d,numberOfSeconds:x,numberOfMinutes:p,numberOfHours:u,numberOfDays:f,numberOfMonths:b,numberOfYears:w};switch(this.tickInterval){case"years":this.generateYearScale(S);break;case"months":case"half_year":this.generateMonthScale(S);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(S);break;case"hours":this.generateHourScale(S);break;case"minutes_fives":case"minutes":this.generateMinuteScale(S);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(S)}var h=this.timeScaleArray.map(function(g){var m={position:g.position,unit:g.unit,year:g.year,day:g.day?g.day:1,hour:g.hour?g.hour:0,month:g.month+1};return g.unit==="month"?X(X({},m),{},{day:1,value:g.value+1}):g.unit==="day"||g.unit==="hour"?X(X({},m),{},{value:g.value}):g.unit==="minute"?X(X({},m),{},{value:g.value,minute:g.value}):g.unit==="second"?X(X({},m),{},{value:g.value,minute:g.minute,second:g.second}):g});return h.filter(function(g){var m=1,y=Math.ceil(a.globals.gridWidth/120),A=g.value;a.config.xaxis.tickAmount!==void 0&&(y=a.config.xaxis.tickAmount),h.length>y&&(m=Math.floor(h.length/y));var L=!1,P=!1;switch(i.tickInterval){case"years":g.unit==="year"&&(L=!0);break;case"half_year":m=7,g.unit==="year"&&(L=!0);break;case"months":m=1,g.unit==="year"&&(L=!0);break;case"months_fortnight":m=15,g.unit!=="year"&&g.unit!=="month"||(L=!0),A===30&&(P=!0);break;case"months_days":m=10,g.unit==="month"&&(L=!0),A===30&&(P=!0);break;case"week_days":m=8,g.unit==="month"&&(L=!0);break;case"days":m=1,g.unit==="month"&&(L=!0);break;case"hours":g.unit==="day"&&(L=!0);break;case"minutes_fives":A%5!=0&&(P=!0);break;case"seconds_tens":A%10!=0&&(P=!0);break;case"seconds_fives":A%5!=0&&(P=!0)}if(i.tickInterval==="hours"||i.tickInterval==="minutes_fives"||i.tickInterval==="seconds_tens"||i.tickInterval==="seconds_fives"){if(!P)return!0}else if((A%m==0||L)&&!P)return!0})}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var i=this.w,a=this.formatDates(e),s=this.removeOverlappingTS(a);i.globals.timescaleLabels=s.slice(),new Xe(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,i=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 i>15:this.tickInterval="minutes_fives";break;case i>5:this.tickInterval="minutes";break;case i>1:this.tickInterval="seconds_tens";break;case 60*i>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,i=e.currentMonth,a=e.currentYear,s=e.daysWidthOnXAxis,o=e.numberOfYears,r=t.minYear,n=0,l=new J(this.ctx),c="year";if(t.minDate>1||t.minMonth>0){var d=l.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);n=(l.determineDaysOfYear(t.minYear)-d+1)*s,r=t.minYear+1,this.timeScaleArray.push({position:n,value:r,unit:c,year:r,month:C.monthMod(i+1)})}else t.minDate===1&&t.minMonth===0&&this.timeScaleArray.push({position:n,value:r,unit:c,year:a,month:C.monthMod(i+1)});for(var u=r,p=n,x=0;x1){l=(c.determineDaysOfMonths(a+1,t.minYear)-i+1)*o,n=C.monthMod(a+1);var p=s+u,x=C.monthMod(n),f=n;n===0&&(d="year",f=p,x=1,p+=u+=1),this.timeScaleArray.push({position:l,value:f,unit:d,year:p,month:x})}else this.timeScaleArray.push({position:l,value:n,unit:d,year:s,month:C.monthMod(a)});for(var b=n+1,w=l,k=0,S=1;kr.determineDaysOfMonths(h+1,g)&&(c=1,n="month",p=h+=1),h},u=(24-t.minHour)*s,p=l,x=d(c,i,a);t.minHour===0&&t.minDate===1?(u=0,p=C.monthMod(t.minMonth),n="month",c=t.minDate,o++):t.minDate!==1&&t.minHour===0&&t.minMinute===0&&(u=0,l=t.minDate,p=l,x=d(c=l,i,a)),this.timeScaleArray.push({position:u,value:p,unit:n,year:this._getYear(a,x,0),month:C.monthMod(x),day:c});for(var f=u,b=0;bn.determineDaysOfMonths(y+1,s)&&(b=1,y+=1),{month:y,date:b}},d=function(m,y){return m>n.determineDaysOfMonths(y+1,s)?y+=1:y},u=60-(t.minMinute+t.minSecond/60),p=u*o,x=t.minHour+1,f=x+1;u===60&&(p=0,f=(x=t.minHour)+1);var b=i,w=d(b,a);this.timeScaleArray.push({position:p,value:x,unit:l,day:b,hour:f,year:s,month:C.monthMod(w)});for(var k=p,S=0;S=24&&(f=0,l="day",w=c(b+=1,w).month,w=d(b,w));var h=this._getYear(s,w,0);k=f===0&&S===0?u*o:60*o+k;var g=f===0?b:f;this.timeScaleArray.push({position:k,value:g,unit:l,hour:f,day:b,year:h,month:C.monthMod(w)}),f++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,i=e.currentSecond,a=e.currentMinute,s=e.currentHour,o=e.currentDate,r=e.currentMonth,n=e.currentYear,l=e.minutesWidthOnXAxis,c=e.secondsWidthOnXAxis,d=e.numberOfMinutes,u=a+1,p=o,x=r,f=n,b=s,w=(60-i-t/1e3)*c,k=0;k=60&&(u=0,(b+=1)===24&&(b=0)),this.timeScaleArray.push({position:w,value:u,unit:"minute",hour:b,minute:u,day:p,year:this._getYear(f,x,0),month:C.monthMod(x)}),w+=l,u++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,i=e.currentSecond,a=e.currentMinute,s=e.currentHour,o=e.currentDate,r=e.currentMonth,n=e.currentYear,l=e.secondsWidthOnXAxis,c=e.numberOfSeconds,d=i+1,u=a,p=o,x=r,f=n,b=s,w=(1e3-t)/1e3*l,k=0;k=60&&(d=0,++u>=60&&(u=0,++b===24&&(b=0))),this.timeScaleArray.push({position:w,value:d,unit:"second",hour:b,minute:u,second:d,day:p,year:this._getYear(f,x,0),month:C.monthMod(x)}),w+=l,d++}},{key:"createRawDateString",value:function(e,t){var i=e.year;return e.month===0&&(e.month=1),i+="-"+("0"+e.month.toString()).slice(-2),e.unit==="day"?i+=e.unit==="day"?"-"+("0"+t).slice(-2):"-01":i+="-"+("0"+(e.day?e.day:"1")).slice(-2),e.unit==="hour"?i+=e.unit==="hour"?"T"+("0"+t).slice(-2):"T00":i+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),e.unit==="minute"?i+=":"+("0"+t).slice(-2):i+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),e.unit==="second"?i+=":"+("0"+t).slice(-2):i+=":00",this.utc&&(i+=".000Z"),i}},{key:"formatDates",value:function(e){var t=this,i=this.w;return e.map(function(a){var s=a.value.toString(),o=new J(t.ctx),r=t.createRawDateString(a,s),n=o.getDate(o.parseDate(r));if(t.utc||(n=o.getDate(o.parseDateWithTimezone(r))),i.config.xaxis.labels.format===void 0){var l="dd MMM",c=i.config.xaxis.labels.datetimeFormatter;a.unit==="year"&&(l=c.year),a.unit==="month"&&(l=c.month),a.unit==="day"&&(l=c.day),a.unit==="hour"&&(l=c.hour),a.unit==="minute"&&(l=c.minute),a.unit==="second"&&(l=c.second),s=o.formatDate(n,l)}else s=o.formatDate(n,i.config.xaxis.labels.format);return{dateString:r,position:a.position,value:s,unit:a.unit,year:a.year,month:a.month}})}},{key:"removeOverlappingTS",value:function(e){var t,i=this,a=new I(this.ctx),s=!1;e.length>0&&e[0].value&&e.every(function(n){return n.value.length===e[0].value.length})&&(s=!0,t=a.getTextRects(e[0].value).width);var o=0,r=e.map(function(n,l){if(l>0&&i.w.config.xaxis.labels.hideOverlappingLabels){var c=s?t:a.getTextRects(e[o].value).width,d=e[o].position;return n.position>d+c+10?(o=l,n):null}return n});return r=r.filter(function(n){return n!==null})}},{key:"_getYear",value:function(e,t,i){return e+Math.floor(t/12)+i}}]),v}(),Kt=function(){function v(e,t){T(this,v),this.ctx=t,this.w=t.w,this.el=e}return M(v,[{key:"setupElements",value:function(){var e=this.w.globals,t=this.w.config,i=t.chart.type;e.axisCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].indexOf(i)>-1,e.xyCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble"].indexOf(i)>-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"),I.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.elGraphical=e.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),e.dom.elAnnotations=e.dom.Paper.group().attr({class:"apexcharts-annotations"}),e.dom.elDefs=e.dom.Paper.defs(),e.dom.elLegendWrap=document.createElement("div"),e.dom.elLegendWrap.classList.add("apexcharts-legend"),e.dom.elWrap.appendChild(e.dom.elLegendWrap),e.dom.Paper.add(e.dom.elGraphical),e.dom.elGraphical.add(e.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var i=this.w,a=i.config,s=i.globals,o={series:[],i:[]},r={series:[],i:[]},n={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]},d={series:[],i:[]},u={series:[],i:[]};s.series.map(function(g,m){var y=0;e[m].type!==void 0?(e[m].type==="column"||e[m].type==="bar"?(s.series.length>1&&a.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),c.series.push(g),c.i.push(m),y++,i.globals.columnSeries=c.series):e[m].type==="area"?(r.series.push(g),r.i.push(m),y++):e[m].type==="line"?(o.series.push(g),o.i.push(m),y++):e[m].type==="scatter"?(n.series.push(g),n.i.push(m)):e[m].type==="bubble"?(l.series.push(g),l.i.push(m),y++):e[m].type==="candlestick"?(d.series.push(g),d.i.push(m),y++):e[m].type==="boxPlot"?(u.series.push(g),u.i.push(m),y++):console.warn("You have specified an unrecognized chart type. Available types for this property are line/area/column/bar/scatter/bubble"),y>1&&(s.comboCharts=!0)):(o.series.push(g),o.i.push(m))});var p=new Ue(this.ctx,t),x=new je(this.ctx,t);this.ctx.pie=new ut(this.ctx);var f=new Ut(this.ctx);this.ctx.rangeBar=new Ee(this.ctx,t);var b=new jt(this.ctx),w=[];if(s.comboCharts){if(r.series.length>0&&w.push(p.draw(r.series,"area",r.i)),c.series.length>0)if(i.config.chart.stacked){var k=new ht(this.ctx,t);w.push(k.draw(c.series,c.i))}else this.ctx.bar=new we(this.ctx,t),w.push(this.ctx.bar.draw(c.series,c.i));if(o.series.length>0&&w.push(p.draw(o.series,"line",o.i)),d.series.length>0&&w.push(x.draw(d.series,d.i)),u.series.length>0&&w.push(x.draw(u.series,u.i)),n.series.length>0){var S=new Ue(this.ctx,t,!0);w.push(S.draw(n.series,"scatter",n.i))}if(l.series.length>0){var h=new Ue(this.ctx,t,!0);w.push(h.draw(l.series,"bubble",l.i))}}else switch(a.chart.type){case"line":w=p.draw(s.series,"line");break;case"area":w=p.draw(s.series,"area");break;case"bar":a.chart.stacked?w=new ht(this.ctx,t).draw(s.series):(this.ctx.bar=new we(this.ctx,t),w=this.ctx.bar.draw(s.series));break;case"candlestick":w=new je(this.ctx,t).draw(s.series);break;case"boxPlot":w=new je(this.ctx,t).draw(s.series);break;case"rangeBar":w=this.ctx.rangeBar.draw(s.series);break;case"heatmap":w=new Vt(this.ctx,t).draw(s.series);break;case"treemap":w=new Zt(this.ctx,t).draw(s.series);break;case"pie":case"donut":case"polarArea":w=this.ctx.pie.draw(s.series);break;case"radialBar":w=f.draw(s.series);break;case"radar":w=b.draw(s.series);break;default:w=p.draw(s.series)}return w}},{key:"setSVGDimensions",value:function(){var e=this.w.globals,t=this.w.config;e.svgWidth=t.chart.width,e.svgHeight=t.chart.height;var i=C.getDimensions(this.el),a=t.chart.width.toString().split(/[0-9]+/g).pop();a==="%"?C.isNumber(i[0])&&(i[0].width===0&&(i=C.getDimensions(this.el.parentNode)),e.svgWidth=i[0]*parseInt(t.chart.width,10)/100):a!=="px"&&a!==""||(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 o=C.getDimensions(this.el.parentNode);e.svgHeight=o[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),I.setAttrs(e.dom.Paper.node,{width:e.svgWidth,height:e.svgHeight}),s!=="%"){var r=t.chart.sparkline.enabled?0:e.axisCharts?t.chart.parentHeightOffset:0;e.dom.Paper.node.parentNode.parentNode.style.minHeight=e.svgHeight+r+"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,i={transform:"translate("+e.translateX+", "+t+")"};I.setAttrs(e.dom.elGraphical.node,i)}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,i=0,a=e.config.chart.sparkline.enabled?1:15;a+=e.config.grid.padding.bottom,e.config.legend.position!=="top"&&e.config.legend.position!=="bottom"||!e.config.legend.show||e.config.legend.floating||(i=new rt(this.ctx).legendHelpers.getLegendBBox().clwh+10);var s=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),o=2.05*e.globals.radialSize;if(s&&!e.config.chart.sparkline.enabled&&e.config.plotOptions.radialBar.startAngle!==0){var r=C.getBoundingClientRect(s);o=r.bottom;var n=r.bottom-r.top;o=Math.max(2.05*e.globals.radialSize,n)}var l=o+t.translateY+i+a;t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",l),e.config.chart.height&&String(e.config.chart.height).indexOf("%")>0||(t.dom.elWrap.style.height=l+"px",I.setAttrs(t.dom.Paper.node,{height:l}),t.dom.Paper.node.parentNode.parentNode.style.minHeight=l+"px")}},{key:"coreCalculations",value:function(){new Ge(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map(function(s){return[]})},i=new B,a=this.w.globals;i.initGlobalVars(a),a.seriesXvalues=t(),a.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 Ve(this.ctx).drawXCrosshairs(),t.config.yaxis[0].crosshairs.position==="back"&&new Ve(this.ctx).drawYCrosshairs(),t.config.xaxis.type==="datetime"&&t.config.xaxis.labels.formatter===void 0){this.ctx.timeScale=new $t(this.ctx);var i=[];isFinite(t.globals.minX)&&isFinite(t.globals.maxX)&&!t.globals.isBarHorizontal?i=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minX,t.globals.maxX):t.globals.isBarHorizontal&&(i=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minY,t.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(i)}e=new U(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 i=t.config.chart.brush.targets||[t.config.chart.brush.target];i.forEach(function(a){var s=ApexCharts.getChartByID(a);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(a,s){i.forEach(function(o){var r=ApexCharts.getChartByID(o),n=C.clone(t.config.yaxis);if(t.config.chart.brush.autoScaleYaxis&&r.w.globals.series.length===1){var l=new Me(r);n=l.autoScaleY(r,n,s)}var c=r.w.config.yaxis.reduce(function(d,u,p){return[].concat(_(d),[X(X({},r.w.config.yaxis[p]),{},{min:n[0].min,max:n[0].max})])},[]);r.ctx.updateHelpers._updateOptions({xaxis:{min:s.xaxis.min,max:s.xaxis.max},yaxis:c},!1,!1,!1,!1)})}}}}]),v}(),Jt=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{key:"_updateOptions",value:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],o=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return new Promise(function(r){var n=[t.ctx];s&&(n=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(n=[t.ctx],t.ctx.w.globals.isExecCalled=!1),n.forEach(function(l,c){var d=l.w;if(d.globals.shouldAnimate=a,i||(d.globals.resized=!0,d.globals.dataChanged=!0,a&&l.series.getPreviousPaths()),e&&D(e)==="object"&&(l.config=new O(e),e=U.extendArrayProps(l.config,e,d),l.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,d.config=C.extend(d.config,e),o&&(d.globals.lastXAxis=e.xaxis?C.clone(e.xaxis):[],d.globals.lastYAxis=e.yaxis?C.clone(e.yaxis):[],d.globals.initialConfig=C.extend({},d.config),d.globals.initialSeries=C.clone(d.config.series),e.series))){for(var u=0;u2&&arguments[2]!==void 0&&arguments[2];return new Promise(function(s){var o,r=i.w;return r.globals.shouldAnimate=t,r.globals.dataChanged=!0,t&&i.ctx.series.getPreviousPaths(),r.globals.axisCharts?((o=e.map(function(n,l){return i._extendSeries(n,l)})).length===0&&(o=[{data:[]}]),r.config.series=o):r.config.series=e.slice(),a&&(r.globals.initialSeries=C.clone(r.config.series)),i.ctx.update().then(function(){s(i.ctx)})})}},{key:"_extendSeries",value:function(e,t){var i=this.w,a=i.config.series[t];return X(X({},i.config.series[t]),{},{name:e.name?e.name:a&&a.name,color:e.color?e.color:a&&a.color,type:e.type?e.type:a&&a.type,data:e.data?e.data:a&&a.data})}},{key:"toggleDataPointSelection",value:function(e,t){var i=this.w,a=null,s=".apexcharts-series[data\\:realIndex='".concat(e,"']");return i.globals.axisCharts?a=i.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&&(a=i.globals.dom.Paper.select("".concat(s," path[j='").concat(e,"']")).members[0],i.config.chart.type!=="pie"&&i.config.chart.type!=="polarArea"&&i.config.chart.type!=="donut"||this.ctx.pie.pieClicked(e)),a?(new I(this.ctx).pathMouseDown(a,null),a.node?a.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach(function(a){e.xaxis[a]!==void 0&&(t.config.xaxis[a]=e.xaxis[a],t.globals.lastXAxis[a]=e.xaxis[a])}),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var i=new re(e);e=i.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,i){e.yaxis[i].min=0,e.yaxis[i].max=100}):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,i=this.w,a=i.globals.lastXAxis,s=i.globals.lastYAxis;e&&e.xaxis&&(a=e.xaxis),e&&e.yaxis&&(s=e.yaxis),i.config.xaxis.min=a.min,i.config.xaxis.max=a.max;var o=function(r){s[r]!==void 0&&(i.config.yaxis[r].min=s[r].min,i.config.yaxis[r].max=s[r].max)};i.config.yaxis.map(function(r,n){i.globals.zoomed||s[n]!==void 0?o(n):t.ctx.opts.yaxis[n]!==void 0&&(r.min=t.ctx.opts.yaxis[n].min,r.max=t.ctx.opts.yaxis[n].max)})}}]),v}();Ce=typeof window!="undefined"?window:void 0,Fe=function(v,e){var t=(this!==void 0?this:v).SVG=function(h){if(t.supported)return h=new t.Doc(h),t.parser.draw||t.prepare(),h};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(h){return"Svgjs"+c(h)+t.did++},t.create=function(h){var g=e.createElementNS(this.ns,h);return g.setAttribute("id",this.eid(h)),g},t.extend=function(){var h,g;g=(h=[].slice.call(arguments)).pop();for(var m=h.length-1;m>=0;m--)if(h[m])for(var y in g)h[m].prototype[y]=g[y];t.Set&&t.Set.inherit&&t.Set.inherit()},t.invent=function(h){var g=typeof h.create=="function"?h.create:function(){this.constructor.call(this,t.create(h.create))};return h.inherit&&(g.prototype=new h.inherit),h.extend&&t.extend(g,h.extend),h.construct&&t.extend(h.parent||t.Container,h.construct),g},t.adopt=function(h){return h?h.instance?h.instance:((g=h.nodeName=="svg"?h.parentNode instanceof v.SVGElement?new t.Nested:new t.Doc:h.nodeName=="linearGradient"?new t.Gradient("linear"):h.nodeName=="radialGradient"?new t.Gradient("radial"):t[c(h.nodeName)]?new t[c(h.nodeName)]:new t.Element(h)).type=h.nodeName,g.node=h,h.instance=g,g instanceof t.Doc&&g.namespace().defs(),g.setData(JSON.parse(h.getAttribute("svgjs:data"))||{}),g):null;var g},t.prepare=function(){var h=e.getElementsByTagName("body")[0],g=(h?new t.Doc(h):t.adopt(e.documentElement).nested()).size(2,0);t.parser={body:h||e.documentElement,draw:g.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:g.polyline().node,path:g.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(h,g){for(var m=h.length,y=[],A=0;A1?1:h,new t.Color({r:~~(this.r+(this.destination.r-this.r)*h),g:~~(this.g+(this.destination.g-this.g)*h),b:~~(this.b+(this.destination.b-this.b)*h)})):this}}),t.Color.test=function(h){return h+="",t.regex.isHex.test(h)||t.regex.isRgb.test(h)},t.Color.isRgb=function(h){return h&&typeof h.r=="number"&&typeof h.g=="number"&&typeof h.b=="number"},t.Color.isColor=function(h){return t.Color.isRgb(h)||t.Color.test(h)},t.Array=function(h,g){(h=(h||[]).valueOf()).length==0&&g&&(h=g.valueOf()),this.value=this.parse(h)},t.extend(t.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(h){return h=h.valueOf(),Array.isArray(h)?h:this.split(h)}}),t.PointArray=function(h,g){t.Array.call(this,h,g||[[0,0]])},t.PointArray.prototype=new t.Array,t.PointArray.prototype.constructor=t.PointArray;for(var i={M:function(h,g,m){return g.x=m.x=h[0],g.y=m.y=h[1],["M",g.x,g.y]},L:function(h,g){return g.x=h[0],g.y=h[1],["L",h[0],h[1]]},H:function(h,g){return g.x=h[0],["H",h[0]]},V:function(h,g){return g.y=h[0],["V",h[0]]},C:function(h,g){return g.x=h[4],g.y=h[5],["C",h[0],h[1],h[2],h[3],h[4],h[5]]},Q:function(h,g){return g.x=h[2],g.y=h[3],["Q",h[0],h[1],h[2],h[3]]},Z:function(h,g,m){return g.x=m.x,g.y=m.y,["Z"]}},a="mlhvqtcsaz".split(""),s=0,o=a.length;sP);return y},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(h,g){this.value=0,this.unit=g||"",typeof h=="number"?this.value=isNaN(h)?0:isFinite(h)?h:h<0?-34e37:34e37:typeof h=="string"?(g=h.match(t.regex.numberAndUnit))&&(this.value=parseFloat(g[1]),g[5]=="%"?this.value/=100:g[5]=="s"&&(this.value*=1e3),this.unit=g[5]):h instanceof t.Number&&(this.value=h.valueOf(),this.unit=h.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(h){return h=new t.Number(h),new t.Number(this+h,this.unit||h.unit)},minus:function(h){return h=new t.Number(h),new t.Number(this-h,this.unit||h.unit)},times:function(h){return h=new t.Number(h),new t.Number(this*h,this.unit||h.unit)},divide:function(h){return h=new t.Number(h),new t.Number(this/h,this.unit||h.unit)},to:function(h){var g=new t.Number(this);return typeof h=="string"&&(g.unit=h),g},morph:function(h){return this.destination=new t.Number(h),h.relative&&(this.destination.value+=this.value),this},at:function(h){return this.destination?new t.Number(this.destination).minus(this).times(h).plus(this):this}}}),t.Element=t.invent({create:function(h){this._stroke=t.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=h)&&(this.type=h.nodeName,this.node.instance=this,this._stroke=h.getAttribute("stroke")||this._stroke)},extend:{x:function(h){return this.attr("x",h)},y:function(h){return this.attr("y",h)},cx:function(h){return h==null?this.x()+this.width()/2:this.x(h-this.width()/2)},cy:function(h){return h==null?this.y()+this.height()/2:this.y(h-this.height()/2)},move:function(h,g){return this.x(h).y(g)},center:function(h,g){return this.cx(h).cy(g)},width:function(h){return this.attr("width",h)},height:function(h){return this.attr("height",h)},size:function(h,g){var m=u(this,h,g);return this.width(new t.Number(m.width)).height(new t.Number(m.height))},clone:function(h){this.writeDataToDom();var g=f(this.node.cloneNode(!0));return h?h.add(g):this.after(g),g},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(h){return this.after(h).remove(),h},addTo:function(h){return h.put(this)},putIn:function(h){return h.add(this)},id:function(h){return this.attr("id",h)},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 h=this.attr("class");return h==null?[]:h.trim().split(t.regex.delimiter)},hasClass:function(h){return this.classes().indexOf(h)!=-1},addClass:function(h){if(!this.hasClass(h)){var g=this.classes();g.push(h),this.attr("class",g.join(" "))}return this},removeClass:function(h){return this.hasClass(h)&&this.attr("class",this.classes().filter(function(g){return g!=h}).join(" ")),this},toggleClass:function(h){return this.hasClass(h)?this.removeClass(h):this.addClass(h)},reference:function(h){return t.get(this.attr(h))},parent:function(h){var g=this;if(!g.node.parentNode)return null;if(g=t.adopt(g.node.parentNode),!h)return g;for(;g&&g.node instanceof v.SVGElement;){if(typeof h=="string"?g.matches(h):g instanceof h)return g;if(!g.node.parentNode||g.node.parentNode.nodeName=="#document")return null;g=t.adopt(g.node.parentNode)}},doc:function(){return this instanceof t.Doc?this:this.parent(t.Doc)},parents:function(h){var g=[],m=this;do{if(!(m=m.parent(h))||!m.node)break;g.push(m)}while(m.parent);return g},matches:function(h){return function(g,m){return(g.matches||g.matchesSelector||g.msMatchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.oMatchesSelector).call(g,m)}(this.node,h)},native:function(){return this.node},svg:function(h){var g=e.createElement("svg");if(!(h&&this instanceof t.Parent))return g.appendChild(h=e.createElement("svg")),this.writeDataToDom(),h.appendChild(this.node.cloneNode(!0)),g.innerHTML.replace(/^/,"").replace(/<\/svg>$/,"");g.innerHTML=""+h.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2>")+"";for(var m=0,y=g.firstChild.childNodes.length;m":function(h){return-Math.cos(h*Math.PI)/2+.5},">":function(h){return Math.sin(h*Math.PI/2)},"<":function(h){return 1-Math.cos(h*Math.PI/2)}},t.morph=function(h){return function(g,m){return new t.MorphObj(g,m).at(h)}},t.Situation=t.invent({create:function(h){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new t.Number(h.duration).valueOf(),this.delay=new t.Number(h.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=h.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),t.FX=t.invent({create:function(h){this._target=h,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(h,g,m){D(h)==="object"&&(g=h.ease,m=h.delay,h=h.duration);var y=new t.Situation({duration:h||1e3,delay:m||0,ease:t.easing[g||"-"]||g});return this.queue(y),this},target:function(h){return h&&h instanceof t.Element?(this._target=h,this):this._target},timeToAbsPos:function(h){return(h-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(h){return this.situation.duration/this._speed*h+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=v.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){v.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(h){return(typeof h=="function"||h instanceof t.Situation)&&this.situations.push(h),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 h,g=this.situation;if(g.init)return this;for(var m in g.animations){h=this.target()[m](),Array.isArray(h)||(h=[h]),Array.isArray(g.animations[m])||(g.animations[m]=[g.animations[m]]);for(var y=h.length;y--;)g.animations[m][y]instanceof t.Number&&(h[y]=new t.Number(h[y])),g.animations[m][y]=h[y].morph(g.animations[m][y])}for(var m in g.attrs)g.attrs[m]=new t.MorphObj(this.target().attr(m),g.attrs[m]);for(var m in g.styles)g.styles[m]=new t.MorphObj(this.target().style(m),g.styles[m]);return g.initialTransformation=this.target().matrixify(),g.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(h,g){var m=this.active;return this.active=!1,g&&this.clearQueue(),h&&this.situation&&(!m&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(h){var g=this.last();return this.target().on("finished.fx",function m(y){y.detail.situation==g&&(h.call(this,g),this.off("finished.fx",m))}),this._callStart()},during:function(h){var g=this.last(),m=function(y){y.detail.situation==g&&h.call(this,y.detail.pos,t.morph(y.detail.pos),y.detail.eased,g)};return this.target().off("during.fx",m).on("during.fx",m),this.after(function(){this.off("during.fx",m)}),this._callStart()},afterAll:function(h){var g=function m(y){h.call(this),this.off("allfinished.fx",m)};return this.target().off("allfinished.fx",g).on("allfinished.fx",g),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(h,g,m){return this.last()[m||"animations"][h]=g,this._callStart()},step:function(h){var g,m,y;h||(this.absPos=this.timeToAbsPos(+new Date)),this.situation.loops!==!1?(g=Math.max(this.absPos,0),m=Math.floor(g),this.situation.loops===!0||mthis.lastPos&&L<=A&&(this.situation.once[L].call(this.target(),this.pos,A),delete this.situation.once[L]);return this.active&&this.target().fire("during",{pos:this.pos,eased:A,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=A,this):this},eachAt:function(){var h,g=this,m=this.target(),y=this.situation;for(var A in y.animations)h=[].concat(y.animations[A]).map(function(z){return typeof z!="string"&&z.at?z.at(y.ease(g.pos),g.pos):z}),m[A].apply(m,h);for(var A in y.attrs)h=[A].concat(y.attrs[A]).map(function(E){return typeof E!="string"&&E.at?E.at(y.ease(g.pos),g.pos):E}),m.attr.apply(m,h);for(var A in y.styles)h=[A].concat(y.styles[A]).map(function(E){return typeof E!="string"&&E.at?E.at(y.ease(g.pos),g.pos):E}),m.style.apply(m,h);if(y.transforms.length){h=y.initialTransformation,A=0;for(var L=y.transforms.length;A=0;--m)this[k[m]]=h[k[m]]!=null?h[k[m]]:g[k[m]]},extend:{extract:function(){var h=p(this,0,1);p(this,1,0);var g=180/Math.PI*Math.atan2(h.y,h.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(g*Math.PI/180)+this.f*Math.sin(g*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(g*Math.PI/180)+this.e*Math.sin(-g*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:g,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(h){return this.destination=new t.Matrix(h),this},multiply:function(h){return new t.Matrix(this.native().multiply(function(g){return g instanceof t.Matrix||(g=new t.Matrix(g)),g}(h).native()))},inverse:function(){return new t.Matrix(this.native().inverse())},translate:function(h,g){return new t.Matrix(this.native().translate(h||0,g||0))},native:function(){for(var h=t.parser.native.createSVGMatrix(),g=k.length-1;g>=0;g--)h[k[g]]=this[k[g]];return h},toString:function(){return"matrix("+w(this.a)+","+w(this.b)+","+w(this.c)+","+w(this.d)+","+w(this.e)+","+w(this.f)+")"}},parent:t.Element,construct:{ctm:function(){return new t.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof t.Nested){var h=this.rect(1,1),g=h.node.getScreenCTM();return h.remove(),new t.Matrix(g)}return new t.Matrix(this.node.getScreenCTM())}}}),t.Point=t.invent({create:function(h,g){var m;m=Array.isArray(h)?{x:h[0],y:h[1]}:D(h)==="object"?{x:h.x,y:h.y}:h!=null?{x:h,y:g!=null?g:h}:{x:0,y:0},this.x=m.x,this.y=m.y},extend:{clone:function(){return new t.Point(this)},morph:function(h,g){return this.destination=new t.Point(h,g),this}}}),t.extend(t.Element,{point:function(h,g){return new t.Point(h,g).transform(this.screenCTM().inverse())}}),t.extend(t.Element,{attr:function(h,g,m){if(h==null){for(h={},m=(g=this.node.attributes).length-1;m>=0;m--)h[g[m].nodeName]=t.regex.isNumber.test(g[m].nodeValue)?parseFloat(g[m].nodeValue):g[m].nodeValue;return h}if(D(h)==="object")for(var y in h)this.attr(y,h[y]);else if(g===null)this.node.removeAttribute(h);else{if(g==null)return(g=this.node.getAttribute(h))==null?t.defaults.attrs[h]:t.regex.isNumber.test(g)?parseFloat(g):g;h=="stroke-width"?this.attr("stroke",parseFloat(g)>0?this._stroke:null):h=="stroke"&&(this._stroke=g),h!="fill"&&h!="stroke"||(t.regex.isImage.test(g)&&(g=this.doc().defs().image(g,0,0)),g instanceof t.Image&&(g=this.doc().defs().pattern(0,0,function(){this.add(g)}))),typeof g=="number"?g=new t.Number(g):t.Color.isColor(g)?g=new t.Color(g):Array.isArray(g)&&(g=new t.Array(g)),h=="leading"?this.leading&&this.leading(g):typeof m=="string"?this.node.setAttributeNS(m,h,g.toString()):this.node.setAttribute(h,g.toString()),!this.rebuild||h!="font-size"&&h!="x"||this.rebuild(h,g)}return this}}),t.extend(t.Element,{transform:function(h,g){var m;return D(h)!=="object"?(m=new t.Matrix(this).extract(),typeof h=="string"?m[h]:m):(m=new t.Matrix(this),g=!!g||!!h.relative,h.a!=null&&(m=g?m.multiply(new t.Matrix(h)):new t.Matrix(h)),this.attr("transform",m))}}),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(h){var g=h.trim().split("(");return[g[0],g[1].split(t.regex.delimiter).map(function(m){return parseFloat(m)})]}).reduce(function(h,g){return g[0]=="matrix"?h.multiply(x(g[1])):h[g[0]].apply(h,g[1])},new t.Matrix)},toParent:function(h){if(this==h)return this;var g=this.screenCTM(),m=h.screenCTM().inverse();return this.addTo(h).untransform().transform(m.multiply(g)),this},toDoc:function(){return this.toParent(this.doc())}}),t.Transformation=t.invent({create:function(h,g){if(arguments.length>1&&typeof g!="boolean")return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(h))for(var m=0,y=this.arguments.length;m=0},index:function(h){return[].slice.call(this.node.childNodes).indexOf(h.node)},get:function(h){return t.adopt(this.node.childNodes[h])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(h,g){for(var m=this.children(),y=0,A=m.length;y=0;g--)h.childNodes[g]instanceof v.SVGElement&&f(h.childNodes[g]);return t.adopt(h).id(t.eid(h.nodeName))}function b(h){return h.x==null&&(h.x=0,h.y=0,h.width=0,h.height=0),h.w=h.width,h.h=h.height,h.x2=h.x+h.width,h.y2=h.y+h.height,h.cx=h.x+h.width/2,h.cy=h.y+h.height/2,h}function w(h){return Math.abs(h)>1e-37?h:0}["fill","stroke"].forEach(function(h){var g={};g[h]=function(m){if(m===void 0)return this;if(typeof m=="string"||t.Color.isRgb(m)||m&&typeof m.fill=="function")this.attr(h,m);else for(var y=r[h].length-1;y>=0;y--)m[r[h][y]]!=null&&this.attr(r.prefix(h,r[h][y]),m[r[h][y]]);return this},t.extend(t.Element,t.FX,g)}),t.extend(t.Element,t.FX,{translate:function(h,g){return this.transform({x:h,y:g})},matrix:function(h){return this.attr("transform",new t.Matrix(arguments.length==6?[].slice.call(arguments):h))},opacity:function(h){return this.attr("opacity",h)},dx:function(h){return this.x(new t.Number(h).plus(this instanceof t.FX?0:this.x()),!0)},dy:function(h){return this.y(new t.Number(h).plus(this instanceof t.FX?0:this.y()),!0)}}),t.extend(t.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(h){return this.node.getPointAtLength(h)}}),t.Set=t.invent({create:function(h){Array.isArray(h)?this.members=h:this.clear()},extend:{add:function(){for(var h=[].slice.call(arguments),g=0,m=h.length;g-1&&this.members.splice(g,1),this},each:function(h){for(var g=0,m=this.members.length;g=0},index:function(h){return this.members.indexOf(h)},get:function(h){return this.members[h]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(h){return new t.Set(h)}}}),t.FX.Set=t.invent({create:function(h){this.set=h}}),t.Set.inherit=function(){var h=[];for(var g in t.Shape.prototype)typeof t.Shape.prototype[g]=="function"&&typeof t.Set.prototype[g]!="function"&&h.push(g);for(var g in h.forEach(function(y){t.Set.prototype[y]=function(){for(var A=0,L=this.members.length;A=0;h--)delete this.memory()[arguments[h]];return this},memory:function(){return this._memory||(this._memory={})}}),t.get=function(h){var g=e.getElementById(function(m){var y=(m||"").toString().match(t.regex.reference);if(y)return y[1]}(h)||h);return t.adopt(g)},t.select=function(h,g){return new t.Set(t.utils.map((g||e).querySelectorAll(h),function(m){return t.adopt(m)}))},t.extend(t.Parent,{select:function(h){return t.select(h,this.node)}});var k="abcdef".split("");if(typeof v.CustomEvent!="function"){var S=function(h,g){g=g||{bubbles:!1,cancelable:!1,detail:void 0};var m=e.createEvent("CustomEvent");return m.initCustomEvent(h,g.bubbles,g.cancelable,g.detail),m};S.prototype=v.Event.prototype,t.CustomEvent=S}else t.CustomEvent=v.CustomEvent;return t},D(G)==="object"?N.exports=Ce.document?Fe(Ce,Ce.document):function(v){return Fe(v,v.document)}:Ce.SVG=Fe(Ce,Ce.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(r,n){return this.add(r,n),!r.attr("in")&&this.autoSetIn&&r.attr("in",this.source),r.attr("result")||r.attr("result",r),r},blend:function(r,n,l){return this.put(new SVG.BlendEffect(r,n,l))},colorMatrix:function(r,n){return this.put(new SVG.ColorMatrixEffect(r,n))},convolveMatrix:function(r){return this.put(new SVG.ConvolveMatrixEffect(r))},componentTransfer:function(r){return this.put(new SVG.ComponentTransferEffect(r))},composite:function(r,n,l){return this.put(new SVG.CompositeEffect(r,n,l))},flood:function(r,n){return this.put(new SVG.FloodEffect(r,n))},offset:function(r,n){return this.put(new SVG.OffsetEffect(r,n))},image:function(r){return this.put(new SVG.ImageEffect(r))},merge:function(){var r=[void 0];for(var n in arguments)r.push(arguments[n]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,r)))},gaussianBlur:function(r,n){return this.put(new SVG.GaussianBlurEffect(r,n))},morphology:function(r,n){return this.put(new SVG.MorphologyEffect(r,n))},diffuseLighting:function(r,n,l){return this.put(new SVG.DiffuseLightingEffect(r,n,l))},displacementMap:function(r,n,l,c,d){return this.put(new SVG.DisplacementMapEffect(r,n,l,c,d))},specularLighting:function(r,n,l,c){return this.put(new SVG.SpecularLightingEffect(r,n,l,c))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(r,n,l,c,d){return this.put(new SVG.TurbulenceEffect(r,n,l,c,d))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(r){var n=this.put(new SVG.Filter);return typeof r=="function"&&r.call(n,n),n}}),SVG.extend(SVG.Container,{filter:function(r){return this.defs().filter(r)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(r){return this.filterer=r instanceof SVG.Element?r:this.doc().filter(r),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(r){return this.filterer&&r===!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(r){return r==null?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",r)},result:function(r){return r==null?this.attr("result"):this.attr("result",r)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(r){return r==null?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",r)},result:function(r){return r==null?this.attr("result"):this.attr("result",r)},toString:function(){return this.result()}}});var v={blend:function(r,n){return this.parent()&&this.parent().blend(this,r,n)},colorMatrix:function(r,n){return this.parent()&&this.parent().colorMatrix(r,n).in(this)},convolveMatrix:function(r){return this.parent()&&this.parent().convolveMatrix(r).in(this)},componentTransfer:function(r){return this.parent()&&this.parent().componentTransfer(r).in(this)},composite:function(r,n){return this.parent()&&this.parent().composite(this,r,n)},flood:function(r,n){return this.parent()&&this.parent().flood(r,n)},offset:function(r,n){return this.parent()&&this.parent().offset(r,n).in(this)},image:function(r){return this.parent()&&this.parent().image(r)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(r,n){return this.parent()&&this.parent().gaussianBlur(r,n).in(this)},morphology:function(r,n){return this.parent()&&this.parent().morphology(r,n).in(this)},diffuseLighting:function(r,n,l){return this.parent()&&this.parent().diffuseLighting(r,n,l).in(this)},displacementMap:function(r,n,l,c){return this.parent()&&this.parent().displacementMap(this,r,n,l,c)},specularLighting:function(r,n,l,c){return this.parent()&&this.parent().specularLighting(r,n,l,c).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(r,n,l,c,d){return this.parent()&&this.parent().turbulence(r,n,l,c,d).in(this)}};SVG.extend(SVG.Effect,v),SVG.extend(SVG.ParentEffect,v),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(r){this.attr("in",r)}}});var e={blend:function(r,n,l){this.attr({in:r,in2:n,mode:l||"normal"})},colorMatrix:function(r,n){r=="matrix"&&(n=a(n)),this.attr({type:r,values:n===void 0?null:n})},convolveMatrix:function(r){r=a(r),this.attr({order:Math.sqrt(r.split(" ").length),kernelMatrix:r})},composite:function(r,n,l){this.attr({in:r,in2:n,operator:l})},flood:function(r,n){this.attr("flood-color",r),n!=null&&this.attr("flood-opacity",n)},offset:function(r,n){this.attr({dx:r,dy:n})},image:function(r){this.attr("href",r,SVG.xlink)},displacementMap:function(r,n,l,c,d){this.attr({in:r,in2:n,scale:l,xChannelSelector:c,yChannelSelector:d})},gaussianBlur:function(r,n){r!=null||n!=null?this.attr("stdDeviation",s(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(r,n){this.attr({operator:r,radius:n})},tile:function(){},turbulence:function(r,n,l,c,d){this.attr({numOctaves:n,seed:l,stitchTiles:c,baseFrequency:r,type:d})}},t={merge:function(){var r;if(arguments[0]instanceof SVG.Set){var n=this;arguments[0].each(function(c){this instanceof SVG.MergeNode?n.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&n.put(new SVG.MergeNode(this))})}else{r=Array.isArray(arguments[0])?arguments[0]:arguments;for(var l=0;l1&&(le*=c=Math.sqrt(c),ke*=c),d=new SVG.Matrix().rotate(Pe).scale(1/le,1/ke).rotate(-Pe),ae=ae.transform(d),ee=ee.transform(d),u=[ee.x-ae.x,ee.y-ae.y],x=u[0]*u[0]+u[1]*u[1],p=Math.sqrt(x),u[0]/=p,u[1]/=p,f=x<4?Math.sqrt(1-x/4):0,ei===Ze&&(f*=-1),b=new SVG.Point((ee.x+ae.x)/2+f*-u[1],(ee.y+ae.y)/2+f*u[0]),w=new SVG.Point(ae.x-b.x,ae.y-b.y),k=new SVG.Point(ee.x-b.x,ee.y-b.y),S=Math.acos(w.x/Math.sqrt(w.x*w.x+w.y*w.y)),w.y<0&&(S*=-1),h=Math.acos(k.x/Math.sqrt(k.x*k.x+k.y*k.y)),k.y<0&&(h*=-1),Ze&&S>h&&(h+=2*Math.PI),!Ze&&So.maxX-t.width&&(r=(a=o.maxX-t.width)-this.startPoints.box.x),o.minY!=null&&so.maxY-t.height&&(n=(s=o.maxY-t.height)-this.startPoints.box.y),o.snapToGrid!=null&&(a-=a%o.snapToGrid,s-=s%o.snapToGrid,r-=r%o.snapToGrid,n-=n%o.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:r,y:n},!0):this.el.move(a,s));return i},v.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 i=this.remember("_draggable")||new v(this);return(e=e===void 0||e)?i.init(t||{},e):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function v(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,i,a){var s=typeof t!="string"?t:i[t];return a?s/2:s},this.pointCoords=function(t,i){var a=this.pointsList[t];return{x:this.pointCoord(a[0],i,t==="t"||t==="b"),y:this.pointCoord(a[1],i,t==="r"||t==="l")}}}v.prototype.init=function(e,t){var i=this.el.bbox();this.options={};var a=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 o=["points","pointsExclude"];for(var s in o){var r=this.options[o[s]];typeof r=="string"?r=r.length>0?r.split(/\s*,\s*/i):[]:typeof r=="boolean"&&o[s]==="points"&&(r=r?a:[]),this.options[o[s]]=r}this.options.points=[a,this.options.points].reduce(function(n,l){return n.filter(function(c){return l.indexOf(c)>-1})}),this.options.points=[this.options.points,this.options.pointsExclude].reduce(function(n,l){return n.filter(function(c){return l.indexOf(c)<0})}),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(i.x,i.y)),this.options.deepSelect&&["line","polyline","polygon"].indexOf(this.el.type)!==-1?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},v.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},v.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]})},v.prototype.drawPoints=function(){for(var e=this,t=this.getPointArray(),i=0,a=t.length;i0&&this.parameters.box.height-r[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x+r[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-r[0]);r=this.checkAspectRatio(r),this.el.move(this.parameters.box.x+r[0],this.parameters.box.y+r[1]).size(this.parameters.box.width-r[0],this.parameters.box.height-r[1])}};break;case"rt":this.calc=function(s,o){var r=this.snapToGrid(s,o,2);if(this.parameters.box.width+r[0]>0&&this.parameters.box.height-r[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x-r[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+r[0]);r=this.checkAspectRatio(r,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+r[1]).size(this.parameters.box.width+r[0],this.parameters.box.height-r[1])}};break;case"rb":this.calc=function(s,o){var r=this.snapToGrid(s,o,0);if(this.parameters.box.width+r[0]>0&&this.parameters.box.height+r[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x-r[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+r[0]);r=this.checkAspectRatio(r),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+r[0],this.parameters.box.height+r[1])}};break;case"lb":this.calc=function(s,o){var r=this.snapToGrid(s,o,1);if(this.parameters.box.width-r[0]>0&&this.parameters.box.height+r[1]>0){if(this.parameters.type==="text")return this.el.move(this.parameters.box.x+r[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-r[0]);r=this.checkAspectRatio(r,!0),this.el.move(this.parameters.box.x+r[0],this.parameters.box.y).size(this.parameters.box.width-r[0],this.parameters.box.height+r[1])}};break;case"t":this.calc=function(s,o){var r=this.snapToGrid(s,o,2);if(this.parameters.box.height-r[1]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y+r[1]).height(this.parameters.box.height-r[1])}};break;case"r":this.calc=function(s,o){var r=this.snapToGrid(s,o,0);if(this.parameters.box.width+r[0]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+r[0])}};break;case"b":this.calc=function(s,o){var r=this.snapToGrid(s,o,0);if(this.parameters.box.height+r[1]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+r[1])}};break;case"l":this.calc=function(s,o){var r=this.snapToGrid(s,o,1);if(this.parameters.box.width-r[0]>0){if(this.parameters.type==="text")return;this.el.move(this.parameters.box.x+r[0],this.parameters.box.y).width(this.parameters.box.width-r[0])}};break;case"rot":this.calc=function(s,o){var r=s+this.parameters.p.x,n=o+this.parameters.p.y,l=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),c=Math.atan2(n-this.parameters.box.y-this.parameters.box.height/2,r-this.parameters.box.x-this.parameters.box.width/2),d=this.parameters.rotation+180*(c-l)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(d-d%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(s,o){var r=this.snapToGrid(s,o,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),n=this.el.array().valueOf();n[this.parameters.i][0]=this.parameters.pointCoords[0]+r[0],n[this.parameters.i][1]=this.parameters.pointCoords[1]+r[1],this.el.plot(n)}}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()})},v.prototype.update=function(e){if(e){var t=this._extractPosition(e),i=this.transformPoint(t.x,t.y),a=i.x-this.parameters.p.x,s=i.y-this.parameters.p.y;this.lastUpdateCall=[a,s],this.calc(a,s),this.el.fire("resizing",{dx:a,dy:s,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},v.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")},v.prototype.snapToGrid=function(e,t,i,a){var s;return a!==void 0?s=[(i+e)%this.options.snapToGrid,(a+t)%this.options.snapToGrid]:(i=i==null?3:i,s=[(this.parameters.box.x+e+(1&i?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&i?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])r.maxX&&(e=r.maxX-s),r.minY!==void 0&&o+tr.maxY&&(t=r.maxY-o),[e,t]},v.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var i=e.slice(),a=this.parameters.box.width/this.parameters.box.height,s=this.parameters.box.width+e[0],o=this.parameters.box.height-e[1],r=s/o;return ra&&(i[0]=this.parameters.box.width-o*a,t&&(i[0]=-i[0])),i},SVG.extend(SVG.Element,{resize:function(e){return(this.remember("_resizeHandler")||new v(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 gt=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{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 Z(this.ctx),this.ctx.axes=new Et(this.ctx),this.ctx.core=new Kt(this.ctx.el,this.ctx),this.ctx.config=new O({}),this.ctx.data=new $(this.ctx),this.ctx.grid=new st(this.ctx),this.ctx.graphics=new I(this.ctx),this.ctx.coreUtils=new U(this.ctx),this.ctx.crosshairs=new Ve(this.ctx),this.ctx.events=new Mt(this.ctx),this.ctx.exports=new ce(this.ctx),this.ctx.localization=new Tt(this.ctx),this.ctx.options=new pe,this.ctx.responsive=new It(this.ctx),this.ctx.series=new te(this.ctx),this.ctx.theme=new zt(this.ctx),this.ctx.formatters=new fe(this.ctx),this.ctx.titleSubtitle=new Xt(this.ctx),this.ctx.legend=new rt(this.ctx),this.ctx.toolbar=new ot(this.ctx),this.ctx.dimensions=new Xe(this.ctx),this.ctx.updateHelpers=new Jt(this.ctx),this.ctx.zoomPanSelection=new Ht(this.ctx),this.ctx.w.globals.tooltip=new _t(this.ctx)}}]),v}(),pt=function(){function v(e){T(this,v),this.ctx=e,this.w=e.w}return M(v,[{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,i){this.removeClass("*"),this.off(),this.stop()},!0),e.ungroup(),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,i=e.isUpdating,a=this.w.globals.dom.Paper.node;a.parentNode&&a.parentNode.parentNode&&!i&&(a.parentNode.parentNode.style.minHeight="unset");var s=this.w.globals.dom.baseEl;s&&this.ctx.eventList.forEach(function(r){s.removeEventListener(r,t.ctx.events.documentEvent)});var o=this.w.globals.dom;if(this.ctx.el!==null)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(o.Paper),o.Paper.remove(),o.elWrap=null,o.elGraphical=null,o.elAnnotations=null,o.elLegendWrap=null,o.baseEl=null,o.elGridRect=null,o.elGridRectMask=null,o.elGridRectMarkerMask=null,o.elForecastMask=null,o.elNonForecastMask=null,o.elDefs=null}}]),v}(),qe=new WeakMap,Qt=function(){function v(e,t){T(this,v),this.opts=t,this.ctx=this,this.w=new oe(t).init(),this.el=e,this.w.globals.cuid=C.randomId(),this.w.globals.chartID=this.w.config.chart.id?C.escapeString(this.w.config.chart.id):this.w.globals.cuid,new gt(this).initModules(),this.create=C.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return M(v,[{key:"render",value:function(){var e=this;return new Promise(function(t,i){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 a=e.w.config.chart.events.beforeMount;if(typeof a=="function"&&a(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),function(c,d){var u=!1;if(c.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var p=c.getBoundingClientRect();c.style.display!=="none"&&p.width!==0||(u=!0)}var x=new ResizeObserver(function(f){u&&d.call(c,f),u=!0});c.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(c.children).forEach(function(f){return x.observe(f)}):x.observe(c),qe.set(d,x)}(e.el.parentNode,e.parentResizeHandler),!e.css){var s=e.el.getRootNode&&e.el.getRootNode(),o=C.is("ShadowRoot",s),r=e.el.ownerDocument,n=r.getElementById("apexcharts-css");!o&&n||(e.css=document.createElement("style"),e.css.id="apexcharts-css",e.css.textContent=`.apexcharts-canvas { + position: relative; + user-select: none; + /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */ +} + + +/* scrollbar is not visible by default for legend, hence forcing the visibility */ +.apexcharts-canvas ::-webkit-scrollbar { + -webkit-appearance: none; + width: 6px; +} + +.apexcharts-canvas ::-webkit-scrollbar-thumb { + border-radius: 4px; + background-color: rgba(0, 0, 0, .5); + box-shadow: 0 0 1px rgba(255, 255, 255, .5); + -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5); +} + + +.apexcharts-inner { + position: relative; +} + +.apexcharts-text tspan { + font-family: inherit; +} + +.legend-mouseover-inactive { + transition: 0.15s ease all; + opacity: 0.20; +} + +.apexcharts-series-collapsed { + opacity: 0; +} + +.apexcharts-tooltip { + border-radius: 5px; + box-shadow: 2px 2px 6px -4px #999; + cursor: default; + font-size: 14px; + left: 62px; + opacity: 0; + pointer-events: none; + position: absolute; + top: 20px; + display: flex; + flex-direction: column; + overflow: hidden; + white-space: nowrap; + z-index: 12; + transition: 0.15s ease all; +} + +.apexcharts-tooltip.apexcharts-active { + opacity: 1; + transition: 0.15s ease all; +} + +.apexcharts-tooltip.apexcharts-theme-light { + border: 1px solid #e3e3e3; + background: rgba(255, 255, 255, 0.96); +} + +.apexcharts-tooltip.apexcharts-theme-dark { + color: #fff; + background: rgba(30, 30, 30, 0.8); +} + +.apexcharts-tooltip * { + font-family: inherit; +} + + +.apexcharts-tooltip-title { + padding: 6px; + font-size: 15px; + margin-bottom: 4px; +} + +.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title { + background: #ECEFF1; + border-bottom: 1px solid #ddd; +} + +.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title { + background: rgba(0, 0, 0, 0.7); + border-bottom: 1px solid #333; +} + +.apexcharts-tooltip-text-y-value, +.apexcharts-tooltip-text-goals-value, +.apexcharts-tooltip-text-z-value { + display: inline-block; + font-weight: 600; + margin-left: 5px; +} + +.apexcharts-tooltip-title:empty, +.apexcharts-tooltip-text-y-label:empty, +.apexcharts-tooltip-text-y-value:empty, +.apexcharts-tooltip-text-goals-label:empty, +.apexcharts-tooltip-text-goals-value:empty, +.apexcharts-tooltip-text-z-value:empty { + display: none; +} + +.apexcharts-tooltip-text-y-value, +.apexcharts-tooltip-text-goals-value, +.apexcharts-tooltip-text-z-value { + font-weight: 600; +} + +.apexcharts-tooltip-text-goals-label, +.apexcharts-tooltip-text-goals-value { + padding: 6px 0 5px; +} + +.apexcharts-tooltip-goals-group, +.apexcharts-tooltip-text-goals-label, +.apexcharts-tooltip-text-goals-value { + display: flex; +} +.apexcharts-tooltip-text-goals-label:not(:empty), +.apexcharts-tooltip-text-goals-value:not(:empty) { + margin-top: -6px; +} + +.apexcharts-tooltip-marker { + width: 12px; + height: 12px; + position: relative; + top: 0px; + margin-right: 10px; + border-radius: 50%; +} + +.apexcharts-tooltip-series-group { + padding: 0 10px; + display: none; + text-align: left; + justify-content: left; + align-items: center; +} + +.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker { + opacity: 1; +} + +.apexcharts-tooltip-series-group.apexcharts-active, +.apexcharts-tooltip-series-group:last-child { + padding-bottom: 4px; +} + +.apexcharts-tooltip-series-group-hidden { + opacity: 0; + height: 0; + line-height: 0; + padding: 0 !important; +} + +.apexcharts-tooltip-y-group { + padding: 6px 0 5px; +} + +.apexcharts-tooltip-box, .apexcharts-custom-tooltip { + padding: 4px 8px; +} + +.apexcharts-tooltip-boxPlot { + display: flex; + flex-direction: column-reverse; +} + +.apexcharts-tooltip-box>div { + margin: 4px 0; +} + +.apexcharts-tooltip-box span.value { + font-weight: bold; +} + +.apexcharts-tooltip-rangebar { + padding: 5px 8px; +} + +.apexcharts-tooltip-rangebar .category { + font-weight: 600; + color: #777; +} + +.apexcharts-tooltip-rangebar .series-name { + font-weight: bold; + display: block; + margin-bottom: 5px; +} + +.apexcharts-xaxistooltip { + opacity: 0; + padding: 9px 10px; + pointer-events: none; + color: #373d3f; + font-size: 13px; + text-align: center; + border-radius: 2px; + position: absolute; + z-index: 10; + background: #ECEFF1; + border: 1px solid #90A4AE; + transition: 0.15s ease all; +} + +.apexcharts-xaxistooltip.apexcharts-theme-dark { + background: rgba(0, 0, 0, 0.7); + border: 1px solid rgba(0, 0, 0, 0.5); + color: #fff; +} + +.apexcharts-xaxistooltip:after, +.apexcharts-xaxistooltip:before { + left: 50%; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} + +.apexcharts-xaxistooltip:after { + border-color: rgba(236, 239, 241, 0); + border-width: 6px; + margin-left: -6px; +} + +.apexcharts-xaxistooltip:before { + border-color: rgba(144, 164, 174, 0); + border-width: 7px; + margin-left: -7px; +} + +.apexcharts-xaxistooltip-bottom:after, +.apexcharts-xaxistooltip-bottom:before { + bottom: 100%; +} + +.apexcharts-xaxistooltip-top:after, +.apexcharts-xaxistooltip-top:before { + top: 100%; +} + +.apexcharts-xaxistooltip-bottom:after { + border-bottom-color: #ECEFF1; +} + +.apexcharts-xaxistooltip-bottom:before { + border-bottom-color: #90A4AE; +} + +.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after { + border-bottom-color: rgba(0, 0, 0, 0.5); +} + +.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before { + border-bottom-color: rgba(0, 0, 0, 0.5); +} + +.apexcharts-xaxistooltip-top:after { + border-top-color: #ECEFF1 +} + +.apexcharts-xaxistooltip-top:before { + border-top-color: #90A4AE; +} + +.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after { + border-top-color: rgba(0, 0, 0, 0.5); +} + +.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before { + border-top-color: rgba(0, 0, 0, 0.5); +} + +.apexcharts-xaxistooltip.apexcharts-active { + opacity: 1; + transition: 0.15s ease all; +} + +.apexcharts-yaxistooltip { + opacity: 0; + padding: 4px 10px; + pointer-events: none; + color: #373d3f; + font-size: 13px; + text-align: center; + border-radius: 2px; + position: absolute; + z-index: 10; + background: #ECEFF1; + border: 1px solid #90A4AE; +} + +.apexcharts-yaxistooltip.apexcharts-theme-dark { + background: rgba(0, 0, 0, 0.7); + border: 1px solid rgba(0, 0, 0, 0.5); + color: #fff; +} + +.apexcharts-yaxistooltip:after, +.apexcharts-yaxistooltip:before { + top: 50%; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} + +.apexcharts-yaxistooltip:after { + border-color: rgba(236, 239, 241, 0); + border-width: 6px; + margin-top: -6px; +} + +.apexcharts-yaxistooltip:before { + border-color: rgba(144, 164, 174, 0); + border-width: 7px; + margin-top: -7px; +} + +.apexcharts-yaxistooltip-left:after, +.apexcharts-yaxistooltip-left:before { + left: 100%; +} + +.apexcharts-yaxistooltip-right:after, +.apexcharts-yaxistooltip-right:before { + right: 100%; +} + +.apexcharts-yaxistooltip-left:after { + border-left-color: #ECEFF1; +} + +.apexcharts-yaxistooltip-left:before { + border-left-color: #90A4AE; +} + +.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after { + border-left-color: rgba(0, 0, 0, 0.5); +} + +.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before { + border-left-color: rgba(0, 0, 0, 0.5); +} + +.apexcharts-yaxistooltip-right:after { + border-right-color: #ECEFF1; +} + +.apexcharts-yaxistooltip-right:before { + border-right-color: #90A4AE; +} + +.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after { + border-right-color: rgba(0, 0, 0, 0.5); +} + +.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before { + border-right-color: rgba(0, 0, 0, 0.5); +} + +.apexcharts-yaxistooltip.apexcharts-active { + opacity: 1; +} + +.apexcharts-yaxistooltip-hidden { + display: none; +} + +.apexcharts-xcrosshairs, +.apexcharts-ycrosshairs { + pointer-events: none; + opacity: 0; + transition: 0.15s ease all; +} + +.apexcharts-xcrosshairs.apexcharts-active, +.apexcharts-ycrosshairs.apexcharts-active { + opacity: 1; + transition: 0.15s ease all; +} + +.apexcharts-ycrosshairs-hidden { + opacity: 0; +} + +.apexcharts-selection-rect { + cursor: move; +} + +.svg_select_boundingRect, .svg_select_points_rot { + pointer-events: none; + opacity: 0; + visibility: hidden; +} +.apexcharts-selection-rect + g .svg_select_boundingRect, +.apexcharts-selection-rect + g .svg_select_points_rot { + opacity: 0; + visibility: hidden; +} + +.apexcharts-selection-rect + g .svg_select_points_l, +.apexcharts-selection-rect + g .svg_select_points_r { + cursor: ew-resize; + opacity: 1; + visibility: visible; +} + +.svg_select_points { + fill: #efefef; + stroke: #333; + rx: 2; +} + +.apexcharts-svg.apexcharts-zoomable.hovering-zoom { + cursor: crosshair +} + +.apexcharts-svg.apexcharts-zoomable.hovering-pan { + cursor: move +} + +.apexcharts-zoom-icon, +.apexcharts-zoomin-icon, +.apexcharts-zoomout-icon, +.apexcharts-reset-icon, +.apexcharts-pan-icon, +.apexcharts-selection-icon, +.apexcharts-menu-icon, +.apexcharts-toolbar-custom-icon { + cursor: pointer; + width: 20px; + height: 20px; + line-height: 24px; + color: #6E8192; + text-align: center; +} + +.apexcharts-zoom-icon svg, +.apexcharts-zoomin-icon svg, +.apexcharts-zoomout-icon svg, +.apexcharts-reset-icon svg, +.apexcharts-menu-icon svg { + fill: #6E8192; +} + +.apexcharts-selection-icon svg { + fill: #444; + transform: scale(0.76) +} + +.apexcharts-theme-dark .apexcharts-zoom-icon svg, +.apexcharts-theme-dark .apexcharts-zoomin-icon svg, +.apexcharts-theme-dark .apexcharts-zoomout-icon svg, +.apexcharts-theme-dark .apexcharts-reset-icon svg, +.apexcharts-theme-dark .apexcharts-pan-icon svg, +.apexcharts-theme-dark .apexcharts-selection-icon svg, +.apexcharts-theme-dark .apexcharts-menu-icon svg, +.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg { + fill: #f3f4f5; +} + +.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg, +.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg, +.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg { + fill: #008FFB; +} + +.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, +.apexcharts-theme-light .apexcharts-reset-icon:hover svg, +.apexcharts-theme-light .apexcharts-menu-icon:hover svg { + fill: #333; +} + +.apexcharts-selection-icon, +.apexcharts-menu-icon { + position: relative; +} + +.apexcharts-reset-icon { + margin-left: 5px; +} + +.apexcharts-zoom-icon, +.apexcharts-reset-icon, +.apexcharts-menu-icon { + transform: scale(0.85); +} + +.apexcharts-zoomin-icon, +.apexcharts-zoomout-icon { + transform: scale(0.7) +} + +.apexcharts-zoomout-icon { + margin-right: 3px; +} + +.apexcharts-pan-icon { + transform: scale(0.62); + position: relative; + left: 1px; + top: 0px; +} + +.apexcharts-pan-icon svg { + fill: #fff; + stroke: #6E8192; + stroke-width: 2; +} + +.apexcharts-pan-icon.apexcharts-selected svg { + stroke: #008FFB; +} + +.apexcharts-pan-icon:not(.apexcharts-selected):hover svg { + stroke: #333; +} + +.apexcharts-toolbar { + position: absolute; + z-index: 11; + max-width: 176px; + text-align: right; + border-radius: 3px; + padding: 0px 6px 2px 6px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.apexcharts-menu { + background: #fff; + position: absolute; + top: 100%; + border: 1px solid #ddd; + border-radius: 3px; + padding: 3px; + right: 10px; + opacity: 0; + min-width: 110px; + transition: 0.15s ease all; + pointer-events: none; +} + +.apexcharts-menu.apexcharts-menu-open { + opacity: 1; + pointer-events: all; + transition: 0.15s ease all; +} + +.apexcharts-menu-item { + padding: 6px 7px; + font-size: 12px; + cursor: pointer; +} + +.apexcharts-theme-light .apexcharts-menu-item:hover { + background: #eee; +} + +.apexcharts-theme-dark .apexcharts-menu { + background: rgba(0, 0, 0, 0.7); + color: #fff; +} + +@media screen and (min-width: 768px) { + .apexcharts-canvas:hover .apexcharts-toolbar { + opacity: 1; + } +} + +.apexcharts-datalabel.apexcharts-element-hidden { + opacity: 0; +} + +.apexcharts-pie-label, +.apexcharts-datalabels, +.apexcharts-datalabel, +.apexcharts-datalabel-label, +.apexcharts-datalabel-value { + cursor: default; + pointer-events: none; +} + +.apexcharts-pie-label-delay { + opacity: 0; + animation-name: opaque; + animation-duration: 0.3s; + animation-fill-mode: forwards; + animation-timing-function: ease; +} + +.apexcharts-canvas .apexcharts-element-hidden { + opacity: 0; +} + +.apexcharts-hide .apexcharts-series-points { + opacity: 0; +} + +.apexcharts-gridline, +.apexcharts-annotation-rect, +.apexcharts-xaxis-annotation-label, +.apexcharts-yaxis-annotation-label, +.apexcharts-point-annotation-label, +.apexcharts-tooltip .apexcharts-marker, +.apexcharts-area-series .apexcharts-area, +.apexcharts-line, +.apexcharts-zoom-rect, +.apexcharts-toolbar svg, +.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events, +.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events, +.apexcharts-radar-series path, +.apexcharts-radar-series polygon { + pointer-events: none; +} + + +/* markers */ + +.apexcharts-marker { + transition: 0.15s ease all; +} + +@keyframes opaque { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + + +/* Resize generated styles */ + +@keyframes resizeanim { + from { + opacity: 0; + } + to { + opacity: 0; + } +} + +.resize-triggers { + animation: 1ms resizeanim; + visibility: hidden; + opacity: 0; +} + +.resize-triggers, +.resize-triggers>div, +.contract-trigger:before { + content: " "; + display: block; + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + overflow: hidden; +} + +.resize-triggers>div { + background: #eee; + overflow: auto; +} + +.contract-trigger:before { + width: 200%; + height: 200%; +}`,o?s.prepend(e.css):r.head.appendChild(e.css))}var l=e.create(e.w.config.series,{});if(!l)return t(e);e.mount(l).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(l)}).catch(function(c){i(c)})}else i(new Error("Element not found"))})}},{key:"create",value:function(e,t){var i=this.w;new gt(this).initModules();var a=this.w.globals;if(a.noData=!1,a.animationEnded=!1,this.responsive.checkResponsiveConfig(t),i.config.xaxis.convertedCatToNumeric&&new re(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.el===null||(this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),a.svgWidth===0))return a.animationEnded=!0,null;var s=U.checkComboSeries(e);a.comboCharts=s.comboCharts,a.comboBarCount=s.comboBarCount;var o=e.every(function(d){return d.data&&d.data.length===0});(e.length===0||o)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new Ae(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),a.noData&&a.collapsedSeries.length!==a.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),a.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new U(this).getLargestMarkerSize(),this.dimensions.plotCoords();var r=this.core.xySettings();this.grid.createGridMask();var n=this.core.plotChartType(e,r),l=new ye(this);l.bringForward(),i.config.dataLabels.background.enabled&&l.dataLabelsBackground(),this.core.shiftGraphPosition();var c={plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}};return{elGraph:n,xyRatios:r,elInner:i.globals.dom.elGraphical,dimensions:c}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this,a=i.w;return new Promise(function(s,o){if(i.el===null)return o(new Error("Not enough data to display or target element not found"));(t===null||a.globals.allSeriesCollapsed)&&i.series.handleNoData(),a.config.chart.type!=="treemap"&&i.axes.drawAxis(a.config.chart.type,t.xyRatios),i.grid=new st(i);var r=i.grid.drawGrid();i.annotations=new Ne(i),i.annotations.drawImageAnnos(),i.annotations.drawTextAnnos(),a.config.grid.position==="back"&&r&&a.globals.dom.elGraphical.add(r.el);var n=new xe(e.ctx),l=new _e(e.ctx);if(r!==null&&(n.xAxisLabelCorrections(r.xAxisTickWidth),l.setYAxisTextAlignments(),a.config.yaxis.map(function(u,p){a.globals.ignoreYAxisIndexes.indexOf(p)===-1&&l.yAxisTitleRotate(p,u.opposite)})),a.config.annotations.position==="back"&&(a.globals.dom.Paper.add(a.globals.dom.elAnnotations),i.annotations.drawAxesAnnotations()),Array.isArray(t.elGraph))for(var c=0;c0&&a.globals.memory.methodsToExec.forEach(function(u){u.method(u.params,!1,u.context)}),a.globals.axisCharts||a.globals.noData||i.core.resizeNonAxisCharts(),s(i)})}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=qe.get(e))&&(t.disconnect(),qe.delete(e));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(a,s){a.id===C.escapeString(i)&&Apex._chartInstances.splice(s,1)}),new pt(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],o=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],r=this.w;return r.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(n,l){return t.updateHelpers._extendSeries(n,l)})),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),r.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,i,a,s,o)}},{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],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,i)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=this.w.config.series.slice();return a.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(a,t,i)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=this;i.w.globals.dataChanged=!0,i.series.getPreviousPaths();for(var a=i.w.config.series.slice(),s=0;s0&&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],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addXaxisAnnotationExternal(e,t,a)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addYaxisAnnotationExternal(e,t,a)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addPointAnnotationExternal(e,t,a)}},{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,i=this;t&&(i=t),i.annotations.removeAnnotation(i,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,t=new Ge(this.ctx);return t.getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=new Ge(this.ctx);return t.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 ce(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=new ce(this.ctx);return t.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=C.escapeString(e),i=Apex._chartInstances.filter(function(a){return a.id===t})[0];return i&&i.chart}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t2?s-2:0),r=2;r([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),ge=_.replace(Se,"$1").trim());for(var Z=0;ZO&&typeof O=="object"&&!Array.isArray(O)&&O!=null,q=(O,B)=>{typeof Object.assign!="function"&&function(){Object.assign=function($){if($==null)throw new TypeError("Cannot convert undefined or null to object");let fe=Object($);for(let ne=1;ne{Z(B[$])?$ in O?oe[$]=q(O[$],B[$]):Object.assign(oe,{[$]:B[$]}):Object.assign(oe,{[$]:B[$]})}),oe},I=()=>De(this,null,function*(){yield Object(M.nextTick)();const O={chart:{type:_.type||_.options.chart.type||"line",height:_.height,width:_.width,events:{}},series:_.series};me.forEach(oe=>{let $=(...fe)=>Se(oe,...fe);O.chart.events[oe]=$});const B=q(_.options,O);return C.value=new K.a(ge.value,B),C.value.render()}),U=()=>(ve(),I()),ve=()=>{C.value.destroy()},Oe=(O,B)=>C.value.updateSeries(O,B),Ye=(O,B,oe,$)=>C.value.updateOptions(O,B,oe,$),He=O=>C.value.toggleSeries(O),Ie=O=>{C.value.showSeries(O)},pe=O=>{C.value.hideSeries(O)},Ne=(O,B)=>C.value.appendSeries(O,B),se=()=>{C.value.resetSeries()},Ae=(O,B)=>{C.value.toggleDataPointSelection(O,B)},ze=O=>C.value.appendData(O),ye=(O,B)=>C.value.zoomX(O,B),We=()=>C.value.dataURI(),te=(O,B)=>{C.value.addXaxisAnnotation(O,B)},Be=(O,B)=>{C.value.addYaxisAnnotation(O,B)},we=(O,B)=>{C.value.addPointAnnotation(O,B)},J=(O,B)=>{C.value.removeAnnotation(O,B)},Ee=()=>{C.value.clearAnnotations()};Object(M.onBeforeMount)(()=>{window.ApexCharts=K.a}),Object(M.onMounted)(()=>{ge.value=Object(M.getCurrentInstance)().proxy.$el,I()}),Object(M.onBeforeUnmount)(()=>{!C.value||ve()});const re=Object(M.toRefs)(_);return Object(M.watch)(re.options,()=>{!C.value&&_.options?I():C.value.updateOptions(_.options)}),Object(M.watch)(re.series,()=>{!C.value&&_.series?I():C.value.updateSeries(_.series)},{deep:!0}),Object(M.watch)(re.type,()=>{U()}),Object(M.watch)(re.width,()=>{U()}),Object(M.watch)(re.height,()=>{U()}),{chart:C,init:I,refresh:U,destroy:ve,updateOptions:Ye,updateSeries:Oe,toggleSeries:He,showSeries:Ie,hideSeries:pe,resetSeries:se,zoomX:ye,toggleDataPointSelection:Ae,appendData:ze,appendSeries:Ne,addXaxisAnnotation:te,addYaxisAnnotation:Be,addPointAnnotation:we,removeAnnotation:J,clearAnnotations:Ee,dataURI:We}},render(){return Object(M.h)("div",{class:"vue-apexcharts"})}});const ue=_=>{_.component(he.name,he)};he.install=ue;var Le=he;Y.default=Le}})})(Pt);var Gs=Ns(Pt.exports);const Lt=Ct(Hs);Lt.use(Gs);Lt.mount("#app"); diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 00000000..4429619e --- /dev/null +++ b/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 00000000..64a7fbf5 --- /dev/null +++ b/index.html @@ -0,0 +1,25 @@ + + + + + + + + COSCUP 2024 Attendee Survey + + + + + + + + + + + + + +
+ + + diff --git a/report/index.html b/report/index.html new file mode 100644 index 00000000..30d96ea1 --- /dev/null +++ b/report/index.html @@ -0,0 +1,25 @@ + + + + + + + + COSCUP 2024 Attendee Survey Report + + + + + + + + + + + + + +
+ + + diff --git a/result.json b/result.json new file mode 100644 index 00000000..2697890d --- /dev/null +++ b/result.json @@ -0,0 +1 @@ +{"zh":[{"key":"is_take","type":"pie","question":"是否願意填寫 COSCUP 2024 參與者大調查問卷?","data":{"labels":["是","否"],"datas":[561,165]}},{"key":"age","type":"pie","question":"你的年齡?","data":{"labels":["18 歲以下","19-24 歲","25-34 歲","35-44 歲","45-54 歲","55-64 歲","65歲以上","不方便告知","無資料"],"datas":[35,158,231,93,29,12,2,1,165]}},{"key":"gender","type":"pie","question":"你的性別?","data":{"labels":["男","女","不方便告知","非二元、性別酷兒、性別流動、間性別或無性別","無資料","j","戰鬥"],"datas":[406,130,13,10,165,1,1]}},{"key":"education_level","type":"pie","question":"你的教育程度?","data":{"labels":["國小","國中","高中/高職","專科","學士","碩士","博士","無資料","P"],"datas":[3,5,52,14,244,229,13,165,1]}},{"key":"current_primary_residence","type":"pie","question":"你目前的主要居住地?","data":{"labels":["亞洲","歐洲","北美洲","中南美洲","大洋洲","非洲","無資料","m"],"datas":[542,10,2,0,6,0,165,1]}},{"key":"nationality","type":"pie","question":"你的國籍?","data":{"labels":["台灣","香港","中國大陸","英國","美國","加拿大","日本","韓國","澳洲","菲律賓","新加坡","法國","德國","無資料","T","中華民國","B","M","馬來","N","澳","Indonesia","馬來西亞","P","X","Czech","A"],"datas":[512,12,1,0,5,6,2,1,1,1,0,1,4,165,1,1,1,3,1,1,1,1,1,1,1,1,1]}},{"key":"work_status","type":"bar","question":"以下哪項最能形容你?請選擇所有適用的選項。","data":{"labels":["全職員工","全職學生","自營商、SOHO 或 自由工作者","半職學生","目前未就業,但在找工作中","半職員工","目前未就業,但對工作不感興趣","不方便告知","已退休"],"datas":[301,162,46,36,33,15,5,5,2]}},{"key":"work_job","type":"bar","question":"以下哪項最能形容你目前的工作?請選擇所有適用的選項。","data":{"labels":["學生","工程師/開發者, 後端","工程師/開發者, 全端","工程師/開發者, 前端","開發運維工程師","系統管理員","工程師/開發者, 嵌入式應用程序或設備","專案管理","工程師/開發者, 自動化","網站可靠性工程工程師","資料工程師","資料科學家或機器學習人員","工程師/開發者, 手機","工程師/開發者, 桌面或企業應用","目前未就業","產品經理","設計師","資料庫管理員","高層管理者(首席長、總經理等)","學術研究人員","工程師經理","教育人員","工程師/開發者, 品質保證或測試","資料或商業分析人員","行銷相關人員","銷售業務人員","培訓講師/顧問","總務行政人員","技術員","工程師/開發者, 遊戲或圖像","數位電路設計工程師","人力資源管理人員","金融相關人員","譯者","顧問","DX Engineer","資安工程師","攝影師 / 寫程式是興趣","CEO","prefer not to say","工程師/開發者,系統軟體","Firmware Engineer","Hobbyist","職員","Solution Architect","雲端系統工程師","韌體工程師","Cyber Security Engin","teams工程師","Unaffiliated researc","Java工程師學習中"," "],"datas":[159,142,98,76,70,50,42,37,35,35,31,30,29,26,26,20,19,18,17,17,16,13,11,11,11,10,10,5,5,4,3,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"job_time","type":"pie","question":"你從事相關工作多久了?","data":{"labels":["< 1 年","1 - 4 年","5 - 9 年","10 - 14 年","15 - 19 年","20 - 24 年","25 to 29 年","> 30 年","無資料"],"datas":[114,201,116,58,30,22,10,10,165]}},{"key":"job_industry","type":"bar","question":"你在哪個產業工作或是參與最多的產業?請選擇所有適用的選項。","data":{"labels":[["電子資訊/軟體/半導體相關業","- 軟體及網路相關業"],["電子資訊/軟體/半導體相關業","- 電腦及消費性電子製造業"],["電子資訊/軟體/半導體相關業","- 電信及通訊相關業"],"文教相關業",["電子資訊/軟體/半導體相關業","- 半導體業"],"金融投顧及保險業",["電子資訊/軟體/半導體相關業","- 電子零組件相關業"],"政府公共行政","一般服務業","醫療保健及社會福利",["電子資訊/軟體/半導體相關業","- 光電及光學相關業"],"藝術/旅遊/娛樂休閒/運動業","大眾傳播相關業","住宿/餐飲服務業","一般製造業","學生","建築營造及不動產相關業","運輸物流及倉儲業","批發/零售業","法律/會計/顧問/研發","政治及宗教","農林漁牧水電資源業","無","學術研究","生物技術","N/A","prefer not to say","目前學生","國防","職員"," ","電力系統數位化","學校","上學"],"datas":[350,78,70,38,30,27,26,23,21,19,18,15,14,10,9,9,8,7,5,5,5,4,3,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"job_salary","type":"pie","question":"你目前的總年薪是多少(扣税前的薪資、獎金和年終)?如果你是按照小時計酬,請估算大約的年薪。(以臺幣為單位)","data":{"labels":["0 - 36萬","36萬 - 60萬","60萬 - 84萬","84萬 - 108萬","108萬 - 132萬","132萬 - 156萬","156萬 - 180萬","180萬 - 204萬","204萬以上","不方便告知","無資料"],"datas":[156,58,73,74,32,24,21,7,34,82,165]}},{"key":"is_hear_open_source","type":"pie","question":"是否聽過開放原始碼?","data":{"labels":["是","否","無資料"],"datas":[534,27,165]}},{"key":"how_know_open_source","type":"bar","question":"你是如何認識開放原始碼?","data":{"labels":["開源社群","網路論壇","親友介紹","學校老師/大學教授",["社群媒體(FB,","IG, Twitter, Plurk...)"],"工作需求","學校社團","活動/講座","網路新聞","公司同事","報章雜誌","電視新聞","自學偶然了解","OCF",",自學","同學"],"datas":[267,171,158,144,139,111,109,103,48,40,17,2,1,1,1,1]}},{"key":"encounter_COSCUP","type":"bar","question":"你在哪邊遇到了 COSCUP?","data":{"labels":["參與 SITCON 系列活動","參與 PyCON 系列活動","參與 HITCON","參與 g0v Summit","參與 MOPCON","參與 FOSDEM","無","參與 香港開源年會","參與 FOSSAISA","參與 OSPN.jp 系列活動","參與 SCaLE","朋友","朋友介紹","網路","參與 中国开源年会","忘了","開源社群","其他","friend","親友介紹","N/A","fb","OSDC","?","沒有","同事介紹","COSCUP","Friend","台科大","Coscup","網路看到","Fb","不明白這題的意思","同學介紹","網路新聞","2006 COSCUP","WordPress Taiwan com","Twitter","jserv facebook","網路上看到","暫無","Hancock Chang","company","OSFC","LinkedIn","忘記了 XD","未參加","沒","Jserv","DIGI Gold Card","朋友帶來的","參加 COSCUP 2019","na","社群分享","朋友說的","NA","社團","網路貼文","不知道","客戶通知","Online","首次參與coscup","n/a","透過親友","親友分享","老師推薦","目前沒有參與過","皆非","slat","初始","忘記了","演講者","Social media","none","Taiwan ","朋友臉書","學校","尚無","以上皆非","網際網路","原本就知道","還沒遇到","Walk in","學長介紹","社群宣傳","朋友推薦","FHIR"," cntug","很久很久以前...","ICOS","OpenFoundry","開源香港","曾經是講者","參與籌備","自己知道","參與coscup","這裡,我第一次來","Club","教授","看不太懂(?","別人介紹,參加過","GDSC","以上皆無","社群網站","以前來過","LOUCA 2023","參與 sciwork","from Wikidata ","同學推薦","Lucien","HPCxAI","親友","其他單位活動","別人介紹","Hack Thursday ","很早就聽說","Scale in Pasadena","醫療資訊協會","不理解","None","參與KCD","網路社群","word of mouth","公司群組","聽到老師介紹"],"datas":[162,70,65,59,56,40,20,13,11,8,7,6,6,5,4,4,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"reasons_to_come_to_COSCUP","type":"bar","question":"你是看到、聽到或接觸了什麼而來 COSCUP 的呢?","data":{"labels":["我是老朋友!","親友介紹","演講宣傳","攤位介紹","看到傳單","電子報:COSCUP","COSCUP 的 GitHub 專案","電子報:OCF 每月電子報","認識的人是講者","friend","看同事演講","WordPress Taiwan com","Hancock Chang","company","work","忘記了 XD","Jserv","社群媒體","醫學資訊學會","網路貼文","Yotube","帶你讀源碼","客戶告知","GDG Taipei","Mastodon","Facebook ","職場信件","MOPCON","LibreOffice ","網路看到","其他單位活動","醫協邀請","參與KCD","網路社群","cloud native fb","聽到老師介紹","Google"],"datas":[220,192,71,47,38,29,16,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"platforms_to_receive_updates","type":"bar","question":"你有在使用哪些平臺持續接收開源新知呢?","data":{"labels":["Faecbook","X (過去的 Twitter)",["訂閱","GitHub/GitLab 等代管平臺的資訊"],"LinkedIn","關注社群討論 Mailing List","訂閱 原廠的電子報","Plurk","RSS Reader","Mastodon","目前沒有","Hacker News","Telegram ","無","Ig","Faecbook 打錯了 ww","na","Yotube","discord","reddit","slack","其它 weekly 電子報","親友文摘","Discord ","thread","Slack","None","網路","Telegram","Podcast","都沒有","NONE","Discord","朋友介紹","medium"],"datas":[349,172,162,135,84,49,40,38,34,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"open_source_role","type":"bar","question":"你在開放原始碼的運動中扮演的角色?","data":{"labels":["使用者","開發者","推廣者"],"datas":[481,198,137]}},{"key":"commonly_used_languages","type":"bar","question":"過去一年中,你最常使用的程式、腳本、標記式語言是什麼?","data":{"labels":["Python","C++","JavaScript","C","Bash/Shell","HTML/CSS","TypeScript","SQL","Go","Java","Node.js","Markdown","PHP","Rust","C#","Kotlin","Swift","Matlab","R","APL","Assembly","Ruby","Dart","COBOL","Crystal","Perl","Scala","VBA","Other","Emacs Lisp","ENGLISH","中文","Clojure","Delphi","Elixir","Erlang","F#","Groovy","Haskell","Julia","LISP","Objective-C","PowerShell"],"datas":[106,50,46,33,30,30,30,29,27,27,24,17,16,15,11,9,5,4,4,3,3,3,2,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0]}},{"key":"favorite_languages","type":"bar","question":"喜歡的程式語言?","data":{"labels":["Python","C","C++","Go","Rust","TypeScript","JavaScript","Java","Markdown","PHP","HTML/CSS","Kotlin","Node.js","SQL","C#","Bash/Shell","Ruby","Swift","Assembly","Perl","APL","Dart","Delphi","Haskell","COBOL","Crystal","Elixir","Erlang","LISP","Objective-C","PowerShell","R","Racket","ENGLISH","Clojure","F#","Groovy","Julia","Matlab","Scala","VBA","Other"],"datas":[98,37,37,33,32,31,24,21,17,16,13,13,13,12,11,10,8,7,5,4,3,3,3,3,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0]}},{"key":"annoying_languages","type":"bar","question":"討厭的程式語言?","data":{"labels":["C++","JavaScript","C","PHP","Java","Python","VBA","Assembly","C#","Other","Bash/Shell","HTML/CSS","Go","R","TypeScript","Matlab","Node.js","Objective-C","PowerShell","Rust","Ruby","APL","Dart","Erlang","Scala","Swift","無","COBOL","Elixir","Haskell","Julia","LISP","Perl","SQL","Delphi","F#","Groovy","Kotlin","都不討厭","Go Template","SAS","但喜歡tidyverse","nothing","None","N/A","No","none","Clojure","Crystal","Markdown"],"datas":[38,37,31,31,30,25,20,18,15,13,8,8,7,7,7,6,5,5,5,5,4,3,3,3,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0]}},{"key":"commonly_develop_platforms","type":"bar","question":"最常開發的平臺?","data":{"labels":["Web Backend","Web Frontend",["Server/infrastructure",""],"Desktop","Cloud",["AI","(Deep Learning/Machine Learning)"],"Mobile","IoT/Embedded","WebAssembly",["Consoles","(Xbox/PlayStation/Nintendo)"],["I","don't develop anything"],"Discord Bot","Emacs","社群軟體 bot"],"datas":[109,74,73,50,46,33,27,26,2,1,1,1,1,1]}},{"key":"commonly_used_editors","type":"bar","question":"最常使用的編輯器或 IDE ?","data":{"labels":["Visual Studio Code","Vim",["JetBrains","Family (Intellij, PhpStorm, WebStorm)"],"Visual Studio","Sublime Text","Notepad++","GNU nano","Android Studio","XCode","Eclipse","Emacs","Kate","Atom","Brackets","Helix","Neovim ","Neovim","Zed","micro","Cursor"],"datas":[141,83,44,29,24,21,17,14,11,8,7,2,1,1,1,1,1,1,1,1]}},{"key":"commonly_used_os","type":"bar","question":"平常使用的作業系統?","data":{"labels":["macOS","Ubuntu Linux","Windows 11","Windows 10","Arch Linux","Debian Linux","WSL2","Kali Linux","Fedora Linux",["CentOS","(including Stream & Rocky Linux)"],"Windows 7 or XP","openSUSE Linux","Redhat Linux","alpine linux","Chrome OS Flex","NixOS","FreeBSD","Endless OS","PopOS","Gentoo Linux","Linux Mint"],"datas":[94,91,81,61,28,25,15,9,6,4,3,3,2,2,2,2,2,1,1,1,1]}},{"key":"commonly_used_web_browsers","type":"bar","question":"最常使用的瀏覽器?","data":{"labels":["Google Chrome","Mozilla Firefox","Microsoft Edge","Apple Safari","Arc","Brave","Vivaldi","Opera","Yandex","Falkon","ARC","Internet Explorer","UC Browser"],"datas":[141,77,58,47,22,18,3,2,1,1,1,0,0]}},{"key":"commonly_used_database","type":"bar","question":"最常使用的資料庫?","data":{"labels":["MySQL","PostgreSQL","MongoDB","MariaDB","Redis","SQLite","Microsoft SQL Server","don’t use","Elasticsearch","Neo4j","Oracle Database","ClickHouse","CouchDB","DynamoDB","無","BigQuery","db2","DuckDB","N/A"],"datas":[90,83,48,44,42,40,19,14,9,4,3,3,2,1,1,1,1,1,1]}},{"key":"know_license","type":"bar","question":"聽過與了解哪些常見自由及開放原始碼軟體授權條款?","data":{"labels":["MIT","Apache 2.0","(L/A)GPL 3.0","(L/A)GPL 2.0","BSD",["Creative","Commons license"],"MPL","ISC","WTFPL","無","不知道","N","不確定","不熟","沒有","None","NONE","沒聽過"],"datas":[359,308,203,169,168,138,64,45,39,5,2,1,1,1,1,1,1,1]}},{"key":"is_sponsored_open_source","type":"pie","question":"是否曾經付費或贊助過任何開源專案或貢獻者?","data":{"labels":["是","否","無資料"],"datas":[117,363,246]}},{"key":"is_open_source_no_paid","type":"pie","question":"你知道開源不意味者一定要免費嗎?","data":{"labels":["是","否","無資料"],"datas":[427,53,246]}},{"key":"is_rely_open_source","type":"pie","question":"你的工作中有使用或依賴開源嗎?","data":{"labels":["是","否","無資料"],"datas":[414,66,246]}},{"key":"commonly_used_open_source_software","type":"bar","question":"你最常使用的開源軟體是?","data":{"labels":["Linux (Android)","Chromium","Mozilla Firefox","Libre Office","Open Office","Blender","Mozilla Thunderbird","GIMP","Krita","無","PostgreSQL","Kubernetes","Emacs","尚未使用","PHP","coreboot","FreshRSS、PI-hole","WordPress","Diffusers / PEFT","魯地圖","FreeBSD","Pytorch","kubernetes","Gnome","AFNI","QMK, ZMK","GCC","LLVM","gitlab","React","只是知道但並未開始轉換作業環境","Home Assistant, OBS","QGIS","還沒","Logseq","vim","SRE相關","No","Docker","Evdi","Vscode","Ubuntu ","Discourse","gcc","Mattermost, GitLab","沒有","k8s","Grafana"],"datas":[283,189,178,73,44,43,35,24,8,7,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"why_promote_open_source","type":"bar","question":"你為什麼願意推廣開放原始碼的精神?","data":{"labels":["我為人人 人人為我","知識為人類共同資產應當共享得以最大化效益","對職業生涯有幫助","被某些開發者感動","朋友強力推坑","Selfhost","對科技有興趣"],"datas":[106,95,67,47,22,1,1]}},{"key":"how_promote_open_source","type":"bar","question":"你平常如何推廣開放原始碼的精神?","data":{"labels":["推廣大家使用開源軟體","與朋友科普何謂開源","帶一堆人來參加活動!!!","OSS work","讓他們看開源有機會參與改變","製作淺顯易懂的教學","自己看"],"datas":[119,98,1,1,1,1,1]}},{"key":"what_hope_coscup","type":"bar","question":"你希望能在 COSCUP 大會中有什麼收穫?","data":{"labels":["獲取新知","學習新技術","了解開放原始碼","認識新朋友","與其他社群交流","與好朋友交流","Snacks"],"datas":[532,483,411,396,261,249,1]}}],"en":[{"key":"is_take","type":"pie","question":"Would you like to take the COSCUP 2024 attendee survey?","data":{"labels":["Yes","No"],"datas":[561,165]}},{"key":"age","type":"pie","question":"What's your Age?","data":{"labels":["Under 18 years old","19-24 years old","25-34 years old","35-44 years old","45-54 years old","55-64 years old","65 years or older","Prefer not to say","No data"],"datas":[35,158,231,93,29,12,2,1,165]}},{"key":"gender","type":"pie","question":"What's your gender?","data":{"labels":["Man","Woman","Prefer not to say","Non-binary, genderqueer, or gender non-conforming","No data","j","戰鬥"],"datas":[406,130,13,10,165,1,1]}},{"key":"education_level","type":"pie","question":"What's your education level","data":{"labels":["Primary/elementary school","Junior high school","Senior high school","Junior college","Bachelor's degree","Master's degree","Doctor's degree","No data","P"],"datas":[3,5,52,14,244,229,13,165,1]}},{"key":"current_primary_residence","type":"pie","question":"What's your current primary residence?","data":{"labels":["Asia","Europe","North America","Central and South America","Oceania","Africa","No data","m"],"datas":[542,10,2,0,6,0,165,1]}},{"key":"nationality","type":"pie","question":"What's your nationality?","data":{"labels":["Taiwan","Hong Kong","China","UK","U.S.A.","Canada","Japan","Korea","Australia","Philippines","Singapore","France","Germany","No data","T","中華民國","B","M","馬來","N","澳","Indonesia","馬來西亞","P","X","Czech","A"],"datas":[512,12,1,0,5,6,2,1,1,1,0,1,4,165,1,1,1,3,1,1,1,1,1,1,1,1,1]}},{"key":"work_status","type":"bar","question":"Which of the following describe you, if any? Please check all that apply.","data":{"labels":["Employed full-time","Student, full-time",["Independent","contractor, freelancer, or self-employed"],"Student, part-time",["Not","employed, but looking for work"],"Employed part-time",["Not","employed, and not looking for work"],"I prefer not to say","Retired"],"datas":[301,162,46,36,33,15,5,5,2]}},{"key":"work_job","type":"bar","question":"Which of the following describes your current job? Please select all that apply.","data":{"labels":["Student","Developer, Back-end",["Developer,","Full-stack"],"Developer, Front-end","DevOps Engineer","System Administrator",["Developer,","Embedded Applications or Devices"],"Project Management",["Developer,","Automation"],["Engineer,","Site Reliability"],"Engineer, Data",["Data","Scientist or Machine Learning specialist"],"Developer, Mobile",["Developer,","Desktop or Enterprise Applications"],"Not employed","Product Manager","Designer",["Database","Administrator"],["Senior","Executive (C-Suite, VP, etc.)"],"Academic Researcher","Engineering Manager","Educator",["Developer,","QA or test"],["Data","or Business Analyst"],["Marketing-related","Professional"],["Business","or Sales Professional"],["Training","Instructor/Consultant"],"Administration Staff","Technician",["Developer,","Game or Graphics"],["Engineer,","Digital Circuit Design"],["Human","Resources Professional"],["Finance-related","Professional"],"譯者","顧問","DX Engineer","資安工程師","攝影師 / 寫程式是興趣","CEO","prefer not to say","工程師/開發者,系統軟體","Firmware Engineer","Hobbyist","職員","Solution Architect","雲端系統工程師","韌體工程師","Cyber Security Engin","teams工程師","Unaffiliated researc","Java工程師學習中"," "],"datas":[159,142,98,76,70,50,42,37,35,35,31,30,29,26,26,20,19,18,17,17,16,13,11,11,11,10,10,5,5,4,3,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"job_time","type":"pie","question":"How long have you been working in the industry?","data":{"labels":["Less than 1 year","1 to 4 years","5 to 9 years","10 to 14 years","15 to 19 years","20 to 24 years","25 to 29 years","More than 30 years","No data"],"datas":[114,201,116,58,30,22,10,10,165]}},{"key":"job_industry","type":"bar","question":"Which industry do you work in or are most involved with? Please select all that apply.","data":{"labels":["Software and network",["Computer","and Consumer Electronics Manufacturing"],["Telecommunications","and communications"],["Culture","and Education"],"Semiconductor",["Financial","Investment and Insurance"],["Electronic","components"],["Government","and public services"],"General Service",["Healthcare","and social welfare"],["Optoelectronics","and Optics"],["Art","/ Travel / Entertainment & Leisure / Sports"],["Media","and Communication"],["Accommodation","/ Food Service"],["General","Manufacturing"],"學生",["Construction","and real estate"],["Transportation","logistics and warehousing"],"Wholesale / Retail",["Legal","/ Accounting / Consulting / R&D"],["Politics","and Religion"],["Agriculture,","Forestry, Fisheries, Livestock, Water, and Electronic Resources"],"無","學術研究","生物技術","N/A","prefer not to say","目前學生","國防","職員"," ","電力系統數位化","學校","上學"],"datas":[350,78,70,38,30,27,26,23,21,19,18,15,14,10,9,9,8,7,5,5,5,4,3,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"job_salary","type":"pie","question":"What is your current total compensation in TWD (salary, bonuses, and perks, before taxes and deductions)? If you are paid hourly, please estimate an equivalent yearly salary.","data":{"labels":["0 - 360,000 TWD","360,000 - 600,000 TWD","600,000 - 840,000 TWD","840,000 - 1,080,000 TWD","1,080,000 - 1,320,000 TWD","1,320,000 - 1,560,000 TWD","1,560,000 - 1,800,000 TWD","1,800,000 - 2,040,000 TWD","2,040,000 TWD or more","Prefer not to say","No data"],"datas":[156,58,73,74,32,24,21,7,34,82,165]}},{"key":"is_hear_open_source","type":"pie","question":"Have you ever heard of Open Source","data":{"labels":["Yes","No","No data"],"datas":[534,27,165]}},{"key":"how_know_open_source","type":"bar","question":"How do you know Open Source? Please select all that apply.","data":{"labels":[["Open-source","community"],"Online Forums","Friends and Family",["School","Teachers/ University Professors"],"Social Media","Job requirements",["School","Clubs / Communities"],"event/seminar","Online News","Co-worker",["Newspapers","and Magazines"],"TV News","自學偶然了解","OCF",",自學","同學"],"datas":[267,171,158,144,139,111,109,103,48,40,17,2,1,1,1,1]}},{"key":"encounter_COSCUP","type":"bar","question":"Where did you encounter COSCUP?","data":{"labels":[["Participate","in SITCON series events"],["Participate","in PyCon series events"],["Participate","in HITCON"],["Participate","in g0v Summit"],["Participate","in MOPCON"],["Participate","in FOSDEM"],"無",["Participate","in the Hong Kong Open Source Conference"],["Participate","in FOSSAISA"],["Participate","in OSPN.jp series events"],"Participate in SCaLE","朋友","朋友介紹","網路",["Participate","in the China Open Source Annual Conference"],"忘了","開源社群","其他","friend","親友介紹","N/A","fb","OSDC","?","沒有","同事介紹","COSCUP","Friend","台科大","Coscup","網路看到","Fb","不明白這題的意思","同學介紹","網路新聞","2006 COSCUP","WordPress Taiwan com","Twitter","jserv facebook","網路上看到","暫無","Hancock Chang","company","OSFC","LinkedIn","忘記了 XD","未參加","沒","Jserv","DIGI Gold Card","朋友帶來的","參加 COSCUP 2019","na","社群分享","朋友說的","NA","社團","網路貼文","不知道","客戶通知","Online","首次參與coscup","n/a","透過親友","親友分享","老師推薦","目前沒有參與過","皆非","slat","初始","忘記了","演講者","Social media","none","Taiwan ","朋友臉書","學校","尚無","以上皆非","網際網路","原本就知道","還沒遇到","Walk in","學長介紹","社群宣傳","朋友推薦","FHIR"," cntug","很久很久以前...","ICOS","OpenFoundry","開源香港","曾經是講者","參與籌備","自己知道","參與coscup","這裡,我第一次來","Club","教授","看不太懂(?","別人介紹,參加過","GDSC","以上皆無","社群網站","以前來過","LOUCA 2023","參與 sciwork","from Wikidata ","同學推薦","Lucien","HPCxAI","親友","其他單位活動","別人介紹","Hack Thursday ","很早就聽說","Scale in Pasadena","醫療資訊協會","不理解","None","參與KCD","網路社群","word of mouth","公司群組","聽到老師介紹"],"datas":[162,70,65,59,56,40,20,13,11,8,7,6,6,5,4,4,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"reasons_to_come_to_COSCUP","type":"bar","question":"What did you see, hear, or come into contact with that led you to COSCUP?","data":{"labels":["I'm an old friend!",["Introduced","by friends or family"],["Presentation","promotion"],"Booth introduction","Saw flyers","E-newsletter: COSCUP",["COSCUP's","GitHub projects"],["E-newsletter:","OCF monthly newsletter"],"認識的人是講者","friend","看同事演講","WordPress Taiwan com","Hancock Chang","company","work","忘記了 XD","Jserv","社群媒體","醫學資訊學會","網路貼文","Yotube","帶你讀源碼","客戶告知","GDG Taipei","Mastodon","Facebook ","職場信件","MOPCON","LibreOffice ","網路看到","其他單位活動","醫協邀請","參與KCD","網路社群","cloud native fb","聽到老師介紹","Google"],"datas":[220,192,71,47,38,29,16,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"platforms_to_receive_updates","type":"bar","question":"What platforms are you using to continuously receive open-source updates?","data":{"labels":["Faecbook","X (formerly Twitter)",["Subscribing","to information from hosting platforms like GitHub/GitLab"],"LinkedIn",["Follow","community discussion mailing lists"],["Subscribe","to the manufacturer's newsletter"],"Plurk","RSS Reader","Mastodon","目前沒有","Hacker News","Telegram ","無","Ig","Faecbook 打錯了 ww","na","Yotube","discord","reddit","slack","其它 weekly 電子報","親友文摘","Discord ","thread","Slack","None","網路","Telegram","Podcast","都沒有","NONE","Discord","朋友介紹","medium"],"datas":[349,172,162,135,84,49,40,38,34,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"open_source_role","type":"bar","question":"What is your role in the Open Source movement?","data":{"labels":["Users","Coders","Promoters"],"datas":[481,198,137]}},{"key":"commonly_used_languages","type":"bar","question":"Which programming, scripting, and markup languages have you done extensive development work in over the past year?","data":{"labels":["Python","C++","JavaScript","C","Bash/Shell","HTML/CSS","TypeScript","SQL","Go","Java","Node.js","Markdown","PHP","Rust","C#","Kotlin","Swift","Matlab","R","APL","Assembly","Ruby","Dart","COBOL","Crystal","Perl","Scala","VBA","Other","Emacs Lisp","ENGLISH","中文","Clojure","Delphi","Elixir","Erlang","F#","Groovy","Haskell","Julia","LISP","Objective-C","PowerShell"],"datas":[106,50,46,33,30,30,30,29,27,27,24,17,16,15,11,9,5,4,4,3,3,3,2,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0]}},{"key":"favorite_languages","type":"bar","question":"Favorite programming languages?","data":{"labels":["Python","C","C++","Go","Rust","TypeScript","JavaScript","Java","Markdown","PHP","HTML/CSS","Kotlin","Node.js","SQL","C#","Bash/Shell","Ruby","Swift","Assembly","Perl","APL","Dart","Delphi","Haskell","COBOL","Crystal","Elixir","Erlang","LISP","Objective-C","PowerShell","R","Racket","ENGLISH","Clojure","F#","Groovy","Julia","Matlab","Scala","VBA","Other"],"datas":[98,37,37,33,32,31,24,21,17,16,13,13,13,12,11,10,8,7,5,4,3,3,3,3,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0]}},{"key":"annoying_languages","type":"bar","question":"Annoying programming languages?","data":{"labels":["C++","JavaScript","C","PHP","Java","Python","VBA","Assembly","C#","Other","Bash/Shell","HTML/CSS","Go","R","TypeScript","Matlab","Node.js","Objective-C","PowerShell","Rust","Ruby","APL","Dart","Erlang","Scala","Swift","無","COBOL","Elixir","Haskell","Julia","LISP","Perl","SQL","Delphi","F#","Groovy","Kotlin","都不討厭","Go Template","SAS","但喜歡tidyverse","nothing","None","N/A","No","none","Clojure","Crystal","Markdown"],"datas":[38,37,31,31,30,25,20,18,15,13,8,8,7,7,7,6,5,5,5,5,4,3,3,3,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0]}},{"key":"commonly_develop_platforms","type":"bar","question":"For which platforms do you develop?","data":{"labels":["Web Backend","Web Frontend",["Server/infrastructure",""],"Desktop","Cloud",["AI","(Deep Learning/Machine Learning)"],"Mobile","IoT/Embedded","WebAssembly",["Consoles","(Xbox/PlayStation/Nintendo)"],["I","don't develop anything"],"Discord Bot","Emacs","社群軟體 bot"],"datas":[109,74,73,50,46,33,27,26,2,1,1,1,1,1]}},{"key":"commonly_used_editors","type":"bar","question":"Most commonly used editors or IDEs?","data":{"labels":["Visual Studio Code","Vim",["JetBrains","Family (Intellij, PhpStorm, WebStorm)"],"Visual Studio","Sublime Text","Notepad++","GNU nano","Android Studio","XCode","Eclipse","Emacs","Kate","Atom","Brackets","Helix","Neovim ","Neovim","Zed","micro","Cursor"],"datas":[141,83,44,29,24,21,17,14,11,8,7,2,1,1,1,1,1,1,1,1]}},{"key":"commonly_used_os","type":"bar","question":"Commonly used operating systems?","data":{"labels":["macOS","Ubuntu Linux","Windows 11","Windows 10","Arch Linux","Debian Linux","WSL2","Kali Linux","Fedora Linux",["CentOS","(including Stream & Rocky Linux)"],"Windows 7 or XP","openSUSE Linux","Redhat Linux","alpine linux","Chrome OS Flex","NixOS","FreeBSD","Endless OS","PopOS","Gentoo Linux","Linux Mint"],"datas":[94,91,81,61,28,25,15,9,6,4,3,3,2,2,2,2,2,1,1,1,1]}},{"key":"commonly_used_web_browsers","type":"bar","question":"Commonly used web browsers?","data":{"labels":["Google Chrome","Mozilla Firefox","Microsoft Edge","Apple Safari","Arc","Brave","Vivaldi","Opera","Yandex","Falkon","ARC","Internet Explorer","UC Browser"],"datas":[141,77,58,47,22,18,3,2,1,1,1,0,0]}},{"key":"commonly_used_database","type":"bar","question":"Commonly used database?","data":{"labels":["MySQL","PostgreSQL","MongoDB","MariaDB","Redis","SQLite","Microsoft SQL Server","don’t use","Elasticsearch","Neo4j","Oracle Database","ClickHouse","CouchDB","DynamoDB","無","BigQuery","db2","DuckDB","N/A"],"datas":[90,83,48,44,42,40,19,14,9,4,3,3,2,1,1,1,1,1,1]}},{"key":"know_license","type":"bar","question":"What is some Free and Open Source Software license agreements you have heard of and know?","data":{"labels":["MIT","Apache 2.0","(L/A)GPL 3.0","(L/A)GPL 2.0","BSD",["Creative","Commons license"],"MPL","ISC","WTFPL","無","不知道","N","不確定","不熟","沒有","None","NONE","沒聽過"],"datas":[359,308,203,169,168,138,64,45,39,5,2,1,1,1,1,1,1,1]}},{"key":"is_sponsored_open_source","type":"pie","question":"Have you ever paid for or sponsored any open source projects or contributors?","data":{"labels":["Yes","No","No data"],"datas":[117,363,246]}},{"key":"is_open_source_no_paid","type":"pie","question":"Do you know that open source doesn't mean it has to be free?","data":{"labels":["Yes","No","No data"],"datas":[427,53,246]}},{"key":"is_rely_open_source","type":"pie","question":"Do you use or rely on open source in your work?","data":{"labels":["Yes","No","No data"],"datas":[414,66,246]}},{"key":"commonly_used_open_source_software","type":"bar","question":"Commonly used open source software?","data":{"labels":["Linux (Android)","Chromium","Mozilla Firefox","Libre Office","Open Office","Blender","Mozilla Thunderbird","GIMP","Krita","無","PostgreSQL","Kubernetes","Emacs","尚未使用","PHP","coreboot","FreshRSS、PI-hole","WordPress","Diffusers / PEFT","魯地圖","FreeBSD","Pytorch","kubernetes","Gnome","AFNI","QMK, ZMK","GCC","LLVM","gitlab","React","只是知道但並未開始轉換作業環境","Home Assistant, OBS","QGIS","還沒","Logseq","vim","SRE相關","No","Docker","Evdi","Vscode","Ubuntu ","Discourse","gcc","Mattermost, GitLab","沒有","k8s","Grafana"],"datas":[283,189,178,73,44,43,35,24,8,7,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}},{"key":"why_promote_open_source","type":"bar","question":"Why are you willing to promote open source? Please select all that apply.","data":{"labels":[["One","for all, all for one"],["Knowledge","is a common asset of humanity and should be shared to maximize its benefits"],["For","professional growth"],["Moved","by, inspired by some developers"],["It","was highly recommend by a friend"],"Selfhost","對科技有興趣"],"datas":[106,95,67,47,22,1,1]}},{"key":"how_promote_open_source","type":"bar","question":"How do you usually promote open source? Please select all that apply.","data":{"labels":[["Recommend","people to use open source software"],["Introduce","friends to open source"],"帶一堆人來參加活動!!!","OSS work","讓他們看開源有機會參與改變","製作淺顯易懂的教學","自己看"],"datas":[119,98,1,1,1,1,1]}},{"key":"what_hope_coscup","type":"bar","question":"What do you hope to get out of COSCUP? Please select all that apply.","data":{"labels":["Gain new knowledge",["Learn","new technologies"],["Understand","open source "],"Meet new people",["Interact","with other communities"],"Connect with friends","Snacks"],"datas":[532,483,411,396,261,249,1]}}]} \ No newline at end of file