vue3-svg-gauge
Version:
Customizable gauge component with gradients and animations for Vue 3
18 lines • 89.5 kB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function r(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(n){if(n.ep)return;n.ep=!0;const i=r(n);fetch(n.href,i)}})();/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function nr(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const U={},st=[],ve=()=>{},Ui=()=>!1,cn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),rr=e=>e.startsWith("onUpdate:"),Z=Object.assign,sr=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Hi=Object.prototype.hasOwnProperty,$=(e,t)=>Hi.call(e,t),I=Array.isArray,it=e=>Dt(e)==="[object Map]",fn=e=>Dt(e)==="[object Set]",Rr=e=>Dt(e)==="[object Date]",P=e=>typeof e=="function",q=e=>typeof e=="string",Ce=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",ys=e=>(G(e)||P(e))&&P(e.then)&&P(e.catch),xs=Object.prototype.toString,Dt=e=>xs.call(e),Li=e=>Dt(e).slice(8,-1),Cs=e=>Dt(e)==="[object Object]",ir=e=>q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,St=nr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dn=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Bi=/-(\w)/g,me=dn(e=>e.replace(Bi,(t,r)=>r?r.toUpperCase():"")),Gi=/\B([A-Z])/g,ke=dn(e=>e.replace(Gi,"-$1").toLowerCase()),hn=dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),An=dn(e=>e?`on${hn(e)}`:""),Xe=(e,t)=>!Object.is(e,t),zt=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Ss=(e,t,r,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:r})},Zt=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Dr;const pn=()=>Dr||(Dr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function or(e){if(I(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],n=q(s)?qi(s):or(s);if(n)for(const i in n)t[i]=n[i]}return t}else if(q(e)||G(e))return e}const Ki=/;(?![^(]*\))/g,Wi=/:([^]+)/,zi=/\/\*[^]*?\*\//g;function qi(e){const t={};return e.replace(zi,"").split(Ki).forEach(r=>{if(r){const s=r.split(Wi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function lr(e){let t="";if(q(e))t=e;else if(I(e))for(let r=0;r<e.length;r++){const s=lr(e[r]);s&&(t+=s+" ")}else if(G(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const Yi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ji=nr(Yi);function ws(e){return!!e||e===""}function Qi(e,t){if(e.length!==t.length)return!1;let r=!0;for(let s=0;r&&s<e.length;s++)r=gn(e[s],t[s]);return r}function gn(e,t){if(e===t)return!0;let r=Rr(e),s=Rr(t);if(r||s)return r&&s?e.getTime()===t.getTime():!1;if(r=Ce(e),s=Ce(t),r||s)return e===t;if(r=I(e),s=I(t),r||s)return r&&s?Qi(e,t):!1;if(r=G(e),s=G(t),r||s){if(!r||!s)return!1;const n=Object.keys(e).length,i=Object.keys(t).length;if(n!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!gn(e[o],t[o]))return!1}}return String(e)===String(t)}function Xi(e,t){return e.findIndex(r=>gn(r,t))}const Ts=e=>!!(e&&e.__v_isRef===!0),Es=e=>q(e)?e:e==null?"":I(e)||G(e)&&(e.toString===xs||!P(e.toString))?Ts(e)?Es(e.value):JSON.stringify(e,Os,2):String(e),Os=(e,t)=>Ts(t)?Os(e,t.value):it(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[s,n],i)=>(r[Mn(s,i)+" =>"]=n,r),{})}:fn(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Mn(r))}:Ce(t)?Mn(t):G(t)&&!I(t)&&!Cs(t)?String(t):t,Mn=(e,t="")=>{var r;return Ce(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let pe;class Zi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=pe,!t&&pe&&(this.index=(pe.scopes||(pe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=pe;try{return pe=this,t()}finally{pe=r}}}on(){pe=this}off(){pe=this.parent}stop(t){if(this._active){this._active=!1;let r,s;for(r=0,s=this.effects.length;r<s;r++)this.effects[r].stop();for(this.effects.length=0,r=0,s=this.cleanups.length;r<s;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,s=this.scopes.length;r<s;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0}}}function ki(){return pe}let B;const Pn=new WeakSet;class Is{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,pe&&pe.active&&pe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Pn.has(this)&&(Pn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ms(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Fr(this),Ps(this);const t=B,r=ye;B=this,ye=!0;try{return this.fn()}finally{Rs(this),B=t,ye=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)cr(t);this.deps=this.depsTail=void 0,Fr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Pn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Kn(this)&&this.run()}get dirty(){return Kn(this)}}let As=0,wt,Tt;function Ms(e,t=!1){if(e.flags|=8,t){e.next=Tt,Tt=e;return}e.next=wt,wt=e}function ar(){As++}function ur(){if(--As>0)return;if(Tt){let t=Tt;for(Tt=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;wt;){let t=wt;for(wt=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=r}}if(e)throw e}function Ps(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Rs(e){let t,r=e.depsTail,s=r;for(;s;){const n=s.prevDep;s.version===-1?(s===r&&(r=n),cr(s),eo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=n}e.deps=t,e.depsTail=r}function Kn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ds(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ds(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===It))return;e.globalVersion=It;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Kn(e)){e.flags&=-3;return}const r=B,s=ye;B=e,ye=!0;try{Ps(e);const n=e.fn(e._value);(t.version===0||Xe(n,e._value))&&(e._value=n,t.version++)}catch(n){throw t.version++,n}finally{B=r,ye=s,Rs(e),e.flags&=-3}}function cr(e,t=!1){const{dep:r,prevSub:s,nextSub:n}=e;if(s&&(s.nextSub=n,e.prevSub=void 0),n&&(n.prevSub=s,e.nextSub=void 0),r.subs===e&&(r.subs=s,!s&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)cr(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function eo(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let ye=!0;const Fs=[];function Be(){Fs.push(ye),ye=!1}function Ge(){const e=Fs.pop();ye=e===void 0?!0:e}function Fr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=B;B=void 0;try{t()}finally{B=r}}}let It=0;class to{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $s{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!B||!ye||B===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==B)r=this.activeLink=new to(B,this),B.deps?(r.prevDep=B.depsTail,B.depsTail.nextDep=r,B.depsTail=r):B.deps=B.depsTail=r,js(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const s=r.nextDep;s.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=s),r.prevDep=B.depsTail,r.nextDep=void 0,B.depsTail.nextDep=r,B.depsTail=r,B.deps===r&&(B.deps=s)}return r}trigger(t){this.version++,It++,this.notify(t)}notify(t){ar();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{ur()}}}function js(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)js(s)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Wn=new WeakMap,Ze=Symbol(""),zn=Symbol(""),At=Symbol("");function te(e,t,r){if(ye&&B){let s=Wn.get(e);s||Wn.set(e,s=new Map);let n=s.get(r);n||(s.set(r,n=new $s),n.map=s,n.key=r),n.track()}}function De(e,t,r,s,n,i){const o=Wn.get(e);if(!o){It++;return}const l=a=>{a&&a.trigger()};if(ar(),t==="clear")o.forEach(l);else{const a=I(e),d=a&&ir(r);if(a&&r==="length"){const f=Number(s);o.forEach((p,S)=>{(S==="length"||S===At||!Ce(S)&&S>=f)&&l(p)})}else switch((r!==void 0||o.has(void 0))&&l(o.get(r)),d&&l(o.get(At)),t){case"add":a?d&&l(o.get("length")):(l(o.get(Ze)),it(e)&&l(o.get(zn)));break;case"delete":a||(l(o.get(Ze)),it(e)&&l(o.get(zn)));break;case"set":it(e)&&l(o.get(Ze));break}}ur()}function tt(e){const t=N(e);return t===e?t:(te(t,"iterate",At),xe(e)?t:t.map(ue))}function _n(e){return te(e=N(e),"iterate",At),e}const no={__proto__:null,[Symbol.iterator](){return Rn(this,Symbol.iterator,ue)},concat(...e){return tt(this).concat(...e.map(t=>I(t)?tt(t):t))},entries(){return Rn(this,"entries",e=>(e[1]=ue(e[1]),e))},every(e,t){return Pe(this,"every",e,t,void 0,arguments)},filter(e,t){return Pe(this,"filter",e,t,r=>r.map(ue),arguments)},find(e,t){return Pe(this,"find",e,t,ue,arguments)},findIndex(e,t){return Pe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Pe(this,"findLast",e,t,ue,arguments)},findLastIndex(e,t){return Pe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Pe(this,"forEach",e,t,void 0,arguments)},includes(...e){return Dn(this,"includes",e)},indexOf(...e){return Dn(this,"indexOf",e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return Dn(this,"lastIndexOf",e)},map(e,t){return Pe(this,"map",e,t,void 0,arguments)},pop(){return vt(this,"pop")},push(...e){return vt(this,"push",e)},reduce(e,...t){return $r(this,"reduce",e,t)},reduceRight(e,...t){return $r(this,"reduceRight",e,t)},shift(){return vt(this,"shift")},some(e,t){return Pe(this,"some",e,t,void 0,arguments)},splice(...e){return vt(this,"splice",e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return vt(this,"unshift",e)},values(){return Rn(this,"values",ue)}};function Rn(e,t,r){const s=_n(e),n=s[t]();return s!==e&&!xe(e)&&(n._next=n.next,n.next=()=>{const i=n._next();return i.value&&(i.value=r(i.value)),i}),n}const ro=Array.prototype;function Pe(e,t,r,s,n,i){const o=_n(e),l=o!==e&&!xe(e),a=o[t];if(a!==ro[t]){const p=a.apply(e,i);return l?ue(p):p}let d=r;o!==e&&(l?d=function(p,S){return r.call(this,ue(p),S,e)}:r.length>2&&(d=function(p,S){return r.call(this,p,S,e)}));const f=a.call(o,d,s);return l&&n?n(f):f}function $r(e,t,r,s){const n=_n(e);let i=r;return n!==e&&(xe(e)?r.length>3&&(i=function(o,l,a){return r.call(this,o,l,a,e)}):i=function(o,l,a){return r.call(this,o,ue(l),a,e)}),n[t](i,...s)}function Dn(e,t,r){const s=N(e);te(s,"iterate",At);const n=s[t](...r);return(n===-1||n===!1)&&pr(r[0])?(r[0]=N(r[0]),s[t](...r)):n}function vt(e,t,r=[]){Be(),ar();const s=N(e)[t].apply(e,r);return ur(),Ge(),s}const so=nr("__proto__,__v_isRef,__isVue"),Ns=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ce));function io(e){Ce(e)||(e=String(e));const t=N(this);return te(t,"has",e),t.hasOwnProperty(e)}class Vs{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,s){if(r==="__v_skip")return t.__v_skip;const n=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return i;if(r==="__v_raw")return s===(n?i?_o:Bs:i?Ls:Hs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=I(t);if(!n){let a;if(o&&(a=no[r]))return a;if(r==="hasOwnProperty")return io}const l=Reflect.get(t,r,ae(t)?t:s);return(Ce(r)?Ns.has(r):so(r))||(n||te(t,"get",r),i)?l:ae(l)?o&&ir(r)?l:l.value:G(l)?n?Gs(l):dr(l):l}}class Us extends Vs{constructor(t=!1){super(!1,t)}set(t,r,s,n){let i=t[r];if(!this._isShallow){const a=ft(i);if(!xe(s)&&!ft(s)&&(i=N(i),s=N(s)),!I(t)&&ae(i)&&!ae(s))return a?!1:(i.value=s,!0)}const o=I(t)&&ir(r)?Number(r)<t.length:$(t,r),l=Reflect.set(t,r,s,ae(t)?t:n);return t===N(n)&&(o?Xe(s,i)&&De(t,"set",r,s):De(t,"add",r,s)),l}deleteProperty(t,r){const s=$(t,r);t[r];const n=Reflect.deleteProperty(t,r);return n&&s&&De(t,"delete",r,void 0),n}has(t,r){const s=Reflect.has(t,r);return(!Ce(r)||!Ns.has(r))&&te(t,"has",r),s}ownKeys(t){return te(t,"iterate",I(t)?"length":Ze),Reflect.ownKeys(t)}}class oo extends Vs{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const lo=new Us,ao=new oo,uo=new Us(!0);const qn=e=>e,Lt=e=>Reflect.getPrototypeOf(e);function co(e,t,r){return function(...s){const n=this.__v_raw,i=N(n),o=it(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=n[e](...s),f=r?qn:t?Yn:ue;return!t&&te(i,"iterate",a?zn:Ze),{next(){const{value:p,done:S}=d.next();return S?{value:p,done:S}:{value:l?[f(p[0]),f(p[1])]:f(p),done:S}},[Symbol.iterator](){return this}}}}function Bt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fo(e,t){const r={get(n){const i=this.__v_raw,o=N(i),l=N(n);e||(Xe(n,l)&&te(o,"get",n),te(o,"get",l));const{has:a}=Lt(o),d=t?qn:e?Yn:ue;if(a.call(o,n))return d(i.get(n));if(a.call(o,l))return d(i.get(l));i!==o&&i.get(n)},get size(){const n=this.__v_raw;return!e&&te(N(n),"iterate",Ze),Reflect.get(n,"size",n)},has(n){const i=this.__v_raw,o=N(i),l=N(n);return e||(Xe(n,l)&&te(o,"has",n),te(o,"has",l)),n===l?i.has(n):i.has(n)||i.has(l)},forEach(n,i){const o=this,l=o.__v_raw,a=N(l),d=t?qn:e?Yn:ue;return!e&&te(a,"iterate",Ze),l.forEach((f,p)=>n.call(i,d(f),d(p),o))}};return Z(r,e?{add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear")}:{add(n){!t&&!xe(n)&&!ft(n)&&(n=N(n));const i=N(this);return Lt(i).has.call(i,n)||(i.add(n),De(i,"add",n,n)),this},set(n,i){!t&&!xe(i)&&!ft(i)&&(i=N(i));const o=N(this),{has:l,get:a}=Lt(o);let d=l.call(o,n);d||(n=N(n),d=l.call(o,n));const f=a.call(o,n);return o.set(n,i),d?Xe(i,f)&&De(o,"set",n,i):De(o,"add",n,i),this},delete(n){const i=N(this),{has:o,get:l}=Lt(i);let a=o.call(i,n);a||(n=N(n),a=o.call(i,n)),l&&l.call(i,n);const d=i.delete(n);return a&&De(i,"delete",n,void 0),d},clear(){const n=N(this),i=n.size!==0,o=n.clear();return i&&De(n,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(n=>{r[n]=co(n,e,t)}),r}function fr(e,t){const r=fo(e,t);return(s,n,i)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?s:Reflect.get($(r,n)&&n in s?r:s,n,i)}const ho={get:fr(!1,!1)},po={get:fr(!1,!0)},go={get:fr(!0,!1)};const Hs=new WeakMap,Ls=new WeakMap,Bs=new WeakMap,_o=new WeakMap;function mo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bo(e){return e.__v_skip||!Object.isExtensible(e)?0:mo(Li(e))}function dr(e){return ft(e)?e:hr(e,!1,lo,ho,Hs)}function vo(e){return hr(e,!1,uo,po,Ls)}function Gs(e){return hr(e,!0,ao,go,Bs)}function hr(e,t,r,s,n){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=n.get(e);if(i)return i;const o=bo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:r);return n.set(e,l),l}function ot(e){return ft(e)?ot(e.__v_raw):!!(e&&e.__v_isReactive)}function ft(e){return!!(e&&e.__v_isReadonly)}function xe(e){return!!(e&&e.__v_isShallow)}function pr(e){return e?!!e.__v_raw:!1}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function yo(e){return!$(e,"__v_skip")&&Object.isExtensible(e)&&Ss(e,"__v_skip",!0),e}const ue=e=>G(e)?dr(e):e,Yn=e=>G(e)?Gs(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function xo(e){return ae(e)?e.value:e}const Co={get:(e,t,r)=>t==="__v_raw"?e:xo(Reflect.get(e,t,r)),set:(e,t,r,s)=>{const n=e[t];return ae(n)&&!ae(r)?(n.value=r,!0):Reflect.set(e,t,r,s)}};function Ks(e){return ot(e)?e:new Proxy(e,Co)}class So{constructor(t,r,s){this.fn=t,this.setter=r,this._value=void 0,this.dep=new $s(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=It-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&B!==this)return Ms(this,!0),!0}get value(){const t=this.dep.track();return Ds(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function wo(e,t,r=!1){let s,n;return P(e)?s=e:(s=e.get,n=e.set),new So(s,n,r)}const Gt={},kt=new WeakMap;let Je;function To(e,t=!1,r=Je){if(r){let s=kt.get(r);s||kt.set(r,s=[]),s.push(e)}}function Eo(e,t,r=U){const{immediate:s,deep:n,once:i,scheduler:o,augmentJob:l,call:a}=r,d=A=>n?A:xe(A)||n===!1||n===0?Fe(A,1):Fe(A);let f,p,S,T,F=!1,D=!1;if(ae(e)?(p=()=>e.value,F=xe(e)):ot(e)?(p=()=>d(e),F=!0):I(e)?(D=!0,F=e.some(A=>ot(A)||xe(A)),p=()=>e.map(A=>{if(ae(A))return A.value;if(ot(A))return d(A);if(P(A))return a?a(A,2):A()})):P(e)?t?p=a?()=>a(e,2):e:p=()=>{if(S){Be();try{S()}finally{Ge()}}const A=Je;Je=f;try{return a?a(e,3,[T]):e(T)}finally{Je=A}}:p=ve,t&&n){const A=p,Y=n===!0?1/0:n;p=()=>Fe(A(),Y)}const k=ki(),V=()=>{f.stop(),k&&k.active&&sr(k.effects,f)};if(i&&t){const A=t;t=(...Y)=>{A(...Y),V()}}let W=D?new Array(e.length).fill(Gt):Gt;const z=A=>{if(!(!(f.flags&1)||!f.dirty&&!A))if(t){const Y=f.run();if(n||F||(D?Y.some((je,Se)=>Xe(je,W[Se])):Xe(Y,W))){S&&S();const je=Je;Je=f;try{const Se=[Y,W===Gt?void 0:D&&W[0]===Gt?[]:W,T];a?a(t,3,Se):t(...Se),W=Y}finally{Je=je}}}else f.run()};return l&&l(z),f=new Is(p),f.scheduler=o?()=>o(z,!1):z,T=A=>To(A,!1,f),S=f.onStop=()=>{const A=kt.get(f);if(A){if(a)a(A,4);else for(const Y of A)Y();kt.delete(f)}},t?s?z(!0):W=f.run():o?o(z.bind(null,!0),!0):f.run(),V.pause=f.pause.bind(f),V.resume=f.resume.bind(f),V.stop=V,V}function Fe(e,t=1/0,r){if(t<=0||!G(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,ae(e))Fe(e.value,t,r);else if(I(e))for(let s=0;s<e.length;s++)Fe(e[s],t,r);else if(fn(e)||it(e))e.forEach(s=>{Fe(s,t,r)});else if(Cs(e)){for(const s in e)Fe(e[s],t,r);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Fe(e[s],t,r)}return e}/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ft(e,t,r,s){try{return s?e(...s):e()}catch(n){mn(n,t,r)}}function Me(e,t,r,s){if(P(e)){const n=Ft(e,t,r,s);return n&&ys(n)&&n.catch(i=>{mn(i,t,r)}),n}if(I(e)){const n=[];for(let i=0;i<e.length;i++)n.push(Me(e[i],t,r,s));return n}}function mn(e,t,r,s=!0){const n=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||U;if(t){let l=t.parent;const a=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const f=l.ec;if(f){for(let p=0;p<f.length;p++)if(f[p](e,a,d)===!1)return}l=l.parent}if(i){Be(),Ft(i,null,10,[e,a,d]),Ge();return}}Oo(e,r,n,s,o)}function Oo(e,t,r,s=!0,n=!1){if(n)throw e;console.error(e)}const ie=[];let Ie=-1;const lt=[];let Ue=null,nt=0;const Ws=Promise.resolve();let en=null;function zs(e){const t=en||Ws;return e?t.then(this?e.bind(this):e):t}function Io(e){let t=Ie+1,r=ie.length;for(;t<r;){const s=t+r>>>1,n=ie[s],i=Mt(n);i<e||i===e&&n.flags&2?t=s+1:r=s}return t}function gr(e){if(!(e.flags&1)){const t=Mt(e),r=ie[ie.length-1];!r||!(e.flags&2)&&t>=Mt(r)?ie.push(e):ie.splice(Io(t),0,e),e.flags|=1,qs()}}function qs(){en||(en=Ws.then(Js))}function Ao(e){I(e)?lt.push(...e):Ue&&e.id===-1?Ue.splice(nt+1,0,e):e.flags&1||(lt.push(e),e.flags|=1),qs()}function jr(e,t,r=Ie+1){for(;r<ie.length;r++){const s=ie[r];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;ie.splice(r,1),r--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ys(e){if(lt.length){const t=[...new Set(lt)].sort((r,s)=>Mt(r)-Mt(s));if(lt.length=0,Ue){Ue.push(...t);return}for(Ue=t,nt=0;nt<Ue.length;nt++){const r=Ue[nt];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Ue=null,nt=0}}const Mt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Js(e){const t=ve;try{for(Ie=0;Ie<ie.length;Ie++){const r=ie[Ie];r&&!(r.flags&8)&&(r.flags&4&&(r.flags&=-2),Ft(r,r.i,r.i?15:14),r.flags&4||(r.flags&=-2))}}finally{for(;Ie<ie.length;Ie++){const r=ie[Ie];r&&(r.flags&=-2)}Ie=-1,ie.length=0,Ys(),en=null,(ie.length||lt.length)&&Js()}}let Q=null,Qs=null;function tn(e){const t=Q;return Q=e,Qs=e&&e.type.__scopeId||null,t}function qt(e,t=Q,r){if(!t||e._n)return e;const s=(...n)=>{s._d&&Wr(-1);const i=tn(t);let o;try{o=e(...n)}finally{tn(i),s._d&&Wr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function _e(e,t){if(Q===null)return e;const r=xn(Q),s=e.dirs||(e.dirs=[]);for(let n=0;n<t.length;n++){let[i,o,l,a=U]=t[n];i&&(P(i)&&(i={mounted:i,updated:i}),i.deep&&Fe(o),s.push({dir:i,instance:r,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function qe(e,t,r,s){const n=e.dirs,i=t&&t.dirs;for(let o=0;o<n.length;o++){const l=n[o];i&&(l.oldValue=i[o].value);let a=l.dir[s];a&&(Be(),Me(a,r,8,[e.el,l,e,t]),Ge())}}const Mo=Symbol("_vte"),Po=e=>e.__isTeleport;function _r(e,t){e.shapeFlag&6&&e.component?(e.transition=t,_r(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 Xs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function nn(e,t,r,s,n=!1){if(I(e)){e.forEach((F,D)=>nn(F,t&&(I(t)?t[D]:t),r,s,n));return}if(at(s)&&!n){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&nn(e,t,r,s.component.subTree);return}const i=s.shapeFlag&4?xn(s.component):s.el,o=n?null:i,{i:l,r:a}=e,d=t&&t.r,f=l.refs===U?l.refs={}:l.refs,p=l.setupState,S=N(p),T=p===U?()=>!1:F=>$(S,F);if(d!=null&&d!==a&&(q(d)?(f[d]=null,T(d)&&(p[d]=null)):ae(d)&&(d.value=null)),P(a))Ft(a,l,12,[o,f]);else{const F=q(a),D=ae(a);if(F||D){const k=()=>{if(e.f){const V=F?T(a)?p[a]:f[a]:a.value;n?I(V)&&sr(V,i):I(V)?V.includes(i)||V.push(i):F?(f[a]=[i],T(a)&&(p[a]=f[a])):(a.value=[i],e.k&&(f[e.k]=a.value))}else F?(f[a]=o,T(a)&&(p[a]=o)):D&&(a.value=o,e.k&&(f[e.k]=o))};o?(k.id=-1,he(k,r)):k()}}}pn().requestIdleCallback;pn().cancelIdleCallback;const at=e=>!!e.type.__asyncLoader,Zs=e=>e.type.__isKeepAlive;function Ro(e,t){ks(e,"a",t)}function Do(e,t){ks(e,"da",t)}function ks(e,t,r=X){const s=e.__wdc||(e.__wdc=()=>{let n=r;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(bn(t,s,r),r){let n=r.parent;for(;n&&n.parent;)Zs(n.parent.vnode)&&Fo(s,t,r,n),n=n.parent}}function Fo(e,t,r,s){const n=bn(t,e,s,!0);ei(()=>{sr(s[t],n)},r)}function bn(e,t,r=X,s=!1){if(r){const n=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Be();const l=$t(r),a=Me(t,r,e,o);return l(),Ge(),a});return s?n.unshift(i):n.push(i),i}}const $e=e=>(t,r=X)=>{(!Rt||e==="sp")&&bn(e,(...s)=>t(...s),r)},$o=$e("bm"),jo=$e("m"),No=$e("bu"),Vo=$e("u"),Uo=$e("bum"),ei=$e("um"),Ho=$e("sp"),Lo=$e("rtg"),Bo=$e("rtc");function Go(e,t=X){bn("ec",e,t)}const ti="components";function Ko(e,t){return zo(ti,e,!0,t)||e}const Wo=Symbol.for("v-ndc");function zo(e,t,r=!0,s=!1){const n=Q||X;if(n){const i=n.type;if(e===ti){const l=jl(i,!1);if(l&&(l===t||l===me(t)||l===hn(me(t))))return i}const o=Nr(n[e]||i[e],t)||Nr(n.appContext[e],t);return!o&&s?i:o}}function Nr(e,t){return e&&(e[t]||e[me(t)]||e[hn(me(t))])}function Fn(e,t,r,s){let n;const i=r&&r[s],o=I(e);if(o||q(e)){const l=o&&ot(e);let a=!1;l&&(a=!xe(e),e=_n(e)),n=new Array(e.length);for(let d=0,f=e.length;d<f;d++)n[d]=t(a?ue(e[d]):e[d],d,void 0,i&&i[d])}else if(typeof e=="number"){n=new Array(e);for(let l=0;l<e;l++)n[l]=t(l+1,l,void 0,i&&i[l])}else if(G(e))if(e[Symbol.iterator])n=Array.from(e,(l,a)=>t(l,a,void 0,i&&i[a]));else{const l=Object.keys(e);n=new Array(l.length);for(let a=0,d=l.length;a<d;a++){const f=l[a];n[a]=t(e[f],f,a,i&&i[a])}}else n=[];return r&&(r[s]=n),n}function qo(e,t,r={},s,n){if(Q.ce||Q.parent&&at(Q.parent)&&Q.parent.ce)return t!=="default"&&(r.name=t),J(),kn(oe,null,[le("slot",r,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),J();const o=i&&ni(i(r)),l=r.key||o&&o.key,a=kn(oe,{key:(l&&!Ce(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!n&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function ni(e){return e.some(t=>vr(t)?!(t.type===Le||t.type===oe&&!ni(t.children)):!0)?e:null}const Jn=e=>e?Si(e)?xn(e):Jn(e.parent):null,Et=Z(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=>Jn(e.parent),$root:e=>Jn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>mr(e),$forceUpdate:e=>e.f||(e.f=()=>{gr(e.update)}),$nextTick:e=>e.n||(e.n=zs.bind(e.proxy)),$watch:e=>gl.bind(e)}),$n=(e,t)=>e!==U&&!e.__isScriptSetup&&$(e,t),Yo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:s,data:n,props:i,accessCache:o,type:l,appContext:a}=e;let d;if(t[0]!=="$"){const T=o[t];if(T!==void 0)switch(T){case 1:return s[t];case 2:return n[t];case 4:return r[t];case 3:return i[t]}else{if($n(s,t))return o[t]=1,s[t];if(n!==U&&$(n,t))return o[t]=2,n[t];if((d=e.propsOptions[0])&&$(d,t))return o[t]=3,i[t];if(r!==U&&$(r,t))return o[t]=4,r[t];Qn&&(o[t]=0)}}const f=Et[t];let p,S;if(f)return t==="$attrs"&&te(e.attrs,"get",""),f(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(r!==U&&$(r,t))return o[t]=4,r[t];if(S=a.config.globalProperties,$(S,t))return S[t]},set({_:e},t,r){const{data:s,setupState:n,ctx:i}=e;return $n(n,t)?(n[t]=r,!0):s!==U&&$(s,t)?(s[t]=r,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:s,appContext:n,propsOptions:i}},o){let l;return!!r[o]||e!==U&&$(e,o)||$n(t,o)||(l=i[0])&&$(l,o)||$(s,o)||$(Et,o)||$(n.config.globalProperties,o)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:$(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Vr(e){return I(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let Qn=!0;function Jo(e){const t=mr(e),r=e.proxy,s=e.ctx;Qn=!1,t.beforeCreate&&Ur(t.beforeCreate,e,"bc");const{data:n,computed:i,methods:o,watch:l,provide:a,inject:d,created:f,beforeMount:p,mounted:S,beforeUpdate:T,updated:F,activated:D,deactivated:k,beforeDestroy:V,beforeUnmount:W,destroyed:z,unmounted:A,render:Y,renderTracked:je,renderTriggered:Se,errorCaptured:Ne,serverPrefetch:jt,expose:Ke,inheritAttrs:_t,components:Nt,directives:Vt,filters:Tn}=t;if(d&&Qo(d,s,null),o)for(const K in o){const H=o[K];P(H)&&(s[K]=H.bind(r))}if(n){const K=n.call(r,r);G(K)&&(e.data=dr(K))}if(Qn=!0,i)for(const K in i){const H=i[K],We=P(H)?H.bind(r,r):P(H.get)?H.get.bind(r,r):ve,Ut=!P(H)&&P(H.set)?H.set.bind(r):ve,ze=Vl({get:We,set:Ut});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>ze.value,set:we=>ze.value=we})}if(l)for(const K in l)ri(l[K],s,r,K);if(a){const K=P(a)?a.call(r):a;Reflect.ownKeys(K).forEach(H=>{nl(H,K[H])})}f&&Ur(f,e,"c");function ne(K,H){I(H)?H.forEach(We=>K(We.bind(r))):H&&K(H.bind(r))}if(ne($o,p),ne(jo,S),ne(No,T),ne(Vo,F),ne(Ro,D),ne(Do,k),ne(Go,Ne),ne(Bo,je),ne(Lo,Se),ne(Uo,W),ne(ei,A),ne(Ho,jt),I(Ke))if(Ke.length){const K=e.exposed||(e.exposed={});Ke.forEach(H=>{Object.defineProperty(K,H,{get:()=>r[H],set:We=>r[H]=We})})}else e.exposed||(e.exposed={});Y&&e.render===ve&&(e.render=Y),_t!=null&&(e.inheritAttrs=_t),Nt&&(e.components=Nt),Vt&&(e.directives=Vt),jt&&Xs(e)}function Qo(e,t,r=ve){I(e)&&(e=Xn(e));for(const s in e){const n=e[s];let i;G(n)?"default"in n?i=Yt(n.from||s,n.default,!0):i=Yt(n.from||s):i=Yt(n),ae(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ur(e,t,r){Me(I(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,r)}function ri(e,t,r,s){let n=s.includes(".")?mi(r,s):()=>r[s];if(q(e)){const i=t[e];P(i)&&Nn(n,i)}else if(P(e))Nn(n,e.bind(r));else if(G(e))if(I(e))e.forEach(i=>ri(i,t,r,s));else{const i=P(e.handler)?e.handler.bind(r):t[e.handler];P(i)&&Nn(n,i,e)}}function mr(e){const t=e.type,{mixins:r,extends:s}=t,{mixins:n,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!n.length&&!r&&!s?a=t:(a={},n.length&&n.forEach(d=>rn(a,d,o,!0)),rn(a,t,o)),G(t)&&i.set(t,a),a}function rn(e,t,r,s=!1){const{mixins:n,extends:i}=t;i&&rn(e,i,r,!0),n&&n.forEach(o=>rn(e,o,r,!0));for(const o in t)if(!(s&&o==="expose")){const l=Xo[o]||r&&r[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Xo={data:Hr,props:Lr,emits:Lr,methods:Ct,computed:Ct,beforeCreate:re,created:re,beforeMount:re,mounted:re,beforeUpdate:re,updated:re,beforeDestroy:re,beforeUnmount:re,destroyed:re,unmounted:re,activated:re,deactivated:re,errorCaptured:re,serverPrefetch:re,components:Ct,directives:Ct,watch:ko,provide:Hr,inject:Zo};function Hr(e,t){return t?e?function(){return Z(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Zo(e,t){return Ct(Xn(e),Xn(t))}function Xn(e){if(I(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function re(e,t){return e?[...new Set([].concat(e,t))]:t}function Ct(e,t){return e?Z(Object.create(null),e,t):t}function Lr(e,t){return e?I(e)&&I(t)?[...new Set([...e,...t])]:Z(Object.create(null),Vr(e),Vr(t??{})):t}function ko(e,t){if(!e)return t;if(!t)return e;const r=Z(Object.create(null),e);for(const s in t)r[s]=re(e[s],t[s]);return r}function si(){return{app:null,config:{isNativeTag:Ui,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 el=0;function tl(e,t){return function(s,n=null){P(s)||(s=Z({},s)),n!=null&&!G(n)&&(n=null);const i=si(),o=new WeakSet,l=[];let a=!1;const d=i.app={_uid:el++,_component:s,_props:n,_container:null,_context:i,_instance:null,version:Ul,get config(){return i.config},set config(f){},use(f,...p){return o.has(f)||(f&&P(f.install)?(o.add(f),f.install(d,...p)):P(f)&&(o.add(f),f(d,...p))),d},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),d},component(f,p){return p?(i.components[f]=p,d):i.components[f]},directive(f,p){return p?(i.directives[f]=p,d):i.directives[f]},mount(f,p,S){if(!a){const T=d._ceVNode||le(s,n);return T.appContext=i,S===!0?S="svg":S===!1&&(S=void 0),p&&t?t(T,f):e(T,f,S),a=!0,d._container=f,f.__vue_app__=d,xn(T.component)}},onUnmount(f){l.push(f)},unmount(){a&&(Me(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,p){return i.provides[f]=p,d},runWithContext(f){const p=ut;ut=d;try{return f()}finally{ut=p}}};return d}}let ut=null;function nl(e,t){if(X){let r=X.provides;const s=X.parent&&X.parent.provides;s===r&&(r=X.provides=Object.create(s)),r[e]=t}}function Yt(e,t,r=!1){const s=X||Q;if(s||ut){const n=ut?ut._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(n&&e in n)return n[e];if(arguments.length>1)return r&&P(t)?t.call(s&&s.proxy):t}}const ii={},oi=()=>Object.create(ii),li=e=>Object.getPrototypeOf(e)===ii;function rl(e,t,r,s=!1){const n={},i=oi();e.propsDefaults=Object.create(null),ai(e,t,n,i);for(const o in e.propsOptions[0])o in n||(n[o]=void 0);r?e.props=s?n:vo(n):e.type.props?e.props=n:e.props=i,e.attrs=i}function sl(e,t,r,s){const{props:n,attrs:i,vnode:{patchFlag:o}}=e,l=N(n),[a]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let p=0;p<f.length;p++){let S=f[p];if(vn(e.emitsOptions,S))continue;const T=t[S];if(a)if($(i,S))T!==i[S]&&(i[S]=T,d=!0);else{const F=me(S);n[F]=Zn(a,l,F,T,e,!1)}else T!==i[S]&&(i[S]=T,d=!0)}}}else{ai(e,t,n,i)&&(d=!0);let f;for(const p in l)(!t||!$(t,p)&&((f=ke(p))===p||!$(t,f)))&&(a?r&&(r[p]!==void 0||r[f]!==void 0)&&(n[p]=Zn(a,l,p,void 0,e,!0)):delete n[p]);if(i!==l)for(const p in i)(!t||!$(t,p))&&(delete i[p],d=!0)}d&&De(e.attrs,"set","")}function ai(e,t,r,s){const[n,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(St(a))continue;const d=t[a];let f;n&&$(n,f=me(a))?!i||!i.includes(f)?r[f]=d:(l||(l={}))[f]=d:vn(e.emitsOptions,a)||(!(a in s)||d!==s[a])&&(s[a]=d,o=!0)}if(i){const a=N(r),d=l||U;for(let f=0;f<i.length;f++){const p=i[f];r[p]=Zn(n,a,p,d[p],e,!$(d,p))}}return o}function Zn(e,t,r,s,n,i){const o=e[r];if(o!=null){const l=$(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&P(a)){const{propsDefaults:d}=n;if(r in d)s=d[r];else{const f=$t(n);s=d[r]=a.call(null,t),f()}}else s=a;n.ce&&n.ce._setProp(r,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===ke(r))&&(s=!0))}return s}const il=new WeakMap;function ui(e,t,r=!1){const s=r?il:t.propsCache,n=s.get(e);if(n)return n;const i=e.props,o={},l=[];let a=!1;if(!P(e)){const f=p=>{a=!0;const[S,T]=ui(p,t,!0);Z(o,S),T&&l.push(...T)};!r&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!a)return G(e)&&s.set(e,st),st;if(I(i))for(let f=0;f<i.length;f++){const p=me(i[f]);Br(p)&&(o[p]=U)}else if(i)for(const f in i){const p=me(f);if(Br(p)){const S=i[f],T=o[p]=I(S)||P(S)?{type:S}:Z({},S),F=T.type;let D=!1,k=!0;if(I(F))for(let V=0;V<F.length;++V){const W=F[V],z=P(W)&&W.name;if(z==="Boolean"){D=!0;break}else z==="String"&&(k=!1)}else D=P(F)&&F.name==="Boolean";T[0]=D,T[1]=k,(D||$(T,"default"))&&l.push(p)}}const d=[o,l];return G(e)&&s.set(e,d),d}function Br(e){return e[0]!=="$"&&!St(e)}const ci=e=>e[0]==="_"||e==="$stable",br=e=>I(e)?e.map(Ae):[Ae(e)],ol=(e,t,r)=>{if(t._n)return t;const s=qt((...n)=>br(t(...n)),r);return s._c=!1,s},fi=(e,t,r)=>{const s=e._ctx;for(const n in e){if(ci(n))continue;const i=e[n];if(P(i))t[n]=ol(n,i,s);else if(i!=null){const o=br(i);t[n]=()=>o}}},di=(e,t)=>{const r=br(t);e.slots.default=()=>r},hi=(e,t,r)=>{for(const s in t)(r||s!=="_")&&(e[s]=t[s])},ll=(e,t,r)=>{const s=e.slots=oi();if(e.vnode.shapeFlag&32){const n=t._;n?(hi(s,t,r),r&&Ss(s,"_",n,!0)):fi(t,s)}else t&&di(e,t)},al=(e,t,r)=>{const{vnode:s,slots:n}=e;let i=!0,o=U;if(s.shapeFlag&32){const l=t._;l?r&&l===1?i=!1:hi(n,t,r):(i=!t.$stable,fi(t,n)),o=t}else t&&(di(e,t),o={default:1});if(i)for(const l in n)!ci(l)&&o[l]==null&&delete n[l]},he=Cl;function ul(e){return cl(e)}function cl(e,t){const r=pn();r.__VUE__=!0;const{insert:s,remove:n,patchProp:i,createElement:o,createText:l,createComment:a,setText:d,setElementText:f,parentNode:p,nextSibling:S,setScopeId:T=ve,insertStaticContent:F}=e,D=(u,c,h,m=null,g=null,_=null,x=void 0,y=null,v=!!c.dynamicChildren)=>{if(u===c)return;u&&!yt(u,c)&&(m=Ht(u),we(u,g,_,!0),u=null),c.patchFlag===-2&&(v=!1,c.dynamicChildren=null);const{type:b,ref:O,shapeFlag:w}=c;switch(b){case yn:k(u,c,h,m);break;case Le:V(u,c,h,m);break;case Jt:u==null&&W(c,h,m,x);break;case oe:Nt(u,c,h,m,g,_,x,y,v);break;default:w&1?Y(u,c,h,m,g,_,x,y,v):w&6?Vt(u,c,h,m,g,_,x,y,v):(w&64||w&128)&&b.process(u,c,h,m,g,_,x,y,v,et)}O!=null&&g&&nn(O,u&&u.ref,_,c||u,!c)},k=(u,c,h,m)=>{if(u==null)s(c.el=l(c.children),h,m);else{const g=c.el=u.el;c.children!==u.children&&d(g,c.children)}},V=(u,c,h,m)=>{u==null?s(c.el=a(c.children||""),h,m):c.el=u.el},W=(u,c,h,m)=>{[u.el,u.anchor]=F(u.children,c,h,m,u.el,u.anchor)},z=({el:u,anchor:c},h,m)=>{let g;for(;u&&u!==c;)g=S(u),s(u,h,m),u=g;s(c,h,m)},A=({el:u,anchor:c})=>{let h;for(;u&&u!==c;)h=S(u),n(u),u=h;n(c)},Y=(u,c,h,m,g,_,x,y,v)=>{c.type==="svg"?x="svg":c.type==="math"&&(x="mathml"),u==null?je(c,h,m,g,_,x,y,v):jt(u,c,g,_,x,y,v)},je=(u,c,h,m,g,_,x,y)=>{let v,b;const{props:O,shapeFlag:w,transition:E,dirs:M}=u;if(v=u.el=o(u.type,_,O&&O.is,O),w&8?f(v,u.children):w&16&&Ne(u.children,v,null,m,g,jn(u,_),x,y),M&&qe(u,null,m,"created"),Se(v,u,u.scopeId,x,m),O){for(const L in O)L!=="value"&&!St(L)&&i(v,L,null,O[L],_,m);"value"in O&&i(v,"value",null,O.value,_),(b=O.onVnodeBeforeMount)&&Ee(b,m,u)}M&&qe(u,null,m,"beforeMount");const R=fl(g,E);R&&E.beforeEnter(v),s(v,c,h),((b=O&&O.onVnodeMounted)||R||M)&&he(()=>{b&&Ee(b,m,u),R&&E.enter(v),M&&qe(u,null,m,"mounted")},g)},Se=(u,c,h,m,g)=>{if(h&&T(u,h),m)for(let _=0;_<m.length;_++)T(u,m[_]);if(g){let _=g.subTree;if(c===_||vi(_.type)&&(_.ssContent===c||_.ssFallback===c)){const x=g.vnode;Se(u,x,x.scopeId,x.slotScopeIds,g.parent)}}},Ne=(u,c,h,m,g,_,x,y,v=0)=>{for(let b=v;b<u.length;b++){const O=u[b]=y?He(u[b]):Ae(u[b]);D(null,O,c,h,m,g,_,x,y)}},jt=(u,c,h,m,g,_,x)=>{const y=c.el=u.el;let{patchFlag:v,dynamicChildren:b,dirs:O}=c;v|=u.patchFlag&16;const w=u.props||U,E=c.props||U;let M;if(h&&Ye(h,!1),(M=E.onVnodeBeforeUpdate)&&Ee(M,h,c,u),O&&qe(c,u,h,"beforeUpdate"),h&&Ye(h,!0),(w.innerHTML&&E.innerHTML==null||w.textContent&&E.textContent==null)&&f(y,""),b?Ke(u.dynamicChildren,b,y,h,m,jn(c,g),_):x||H(u,c,y,null,h,m,jn(c,g),_,!1),v>0){if(v&16)_t(y,w,E,h,g);else if(v&2&&w.class!==E.class&&i(y,"class",null,E.class,g),v&4&&i(y,"style",w.style,E.style,g),v&8){const R=c.dynamicProps;for(let L=0;L<R.length;L++){const j=R[L],ce=w[j],ee=E[j];(ee!==ce||j==="value")&&i(y,j,ce,ee,g,h)}}v&1&&u.children!==c.children&&f(y,c.children)}else!x&&b==null&&_t(y,w,E,h,g);((M=E.onVnodeUpdated)||O)&&he(()=>{M&&Ee(M,h,c,u),O&&qe(c,u,h,"updated")},m)},Ke=(u,c,h,m,g,_,x)=>{for(let y=0;y<c.length;y++){const v=u[y],b=c[y],O=v.el&&(v.type===oe||!yt(v,b)||v.shapeFlag&70)?p(v.el):h;D(v,b,O,null,m,g,_,x,!0)}},_t=(u,c,h,m,g)=>{if(c!==h){if(c!==U)for(const _ in c)!St(_)&&!(_ in h)&&i(u,_,c[_],null,g,m);for(const _ in h){if(St(_))continue;const x=h[_],y=c[_];x!==y&&_!=="value"&&i(u,_,y,x,g,m)}"value"in h&&i(u,"value",c.value,h.value,g)}},Nt=(u,c,h,m,g,_,x,y,v)=>{const b=c.el=u?u.el:l(""),O=c.anchor=u?u.anchor:l("");let{patchFlag:w,dynamicChildren:E,slotScopeIds:M}=c;M&&(y=y?y.concat(M):M),u==null?(s(b,h,m),s(O,h,m),Ne(c.children||[],h,O,g,_,x,y,v)):w>0&&w&64&&E&&u.dynamicChildren?(Ke(u.dynamicChildren,E,h,g,_,x,y),(c.key!=null||g&&c===g.subTree)&&pi(u,c,!0)):H(u,c,h,O,g,_,x,y,v)},Vt=(u,c,h,m,g,_,x,y,v)=>{c.slotScopeIds=y,u==null?c.shapeFlag&512?g.ctx.activate(c,h,m,x,v):Tn(c,h,m,g,_,x,v):Or(u,c,v)},Tn=(u,c,h,m,g,_,x)=>{const y=u.component=Ml(u,m,g);if(Zs(u)&&(y.ctx.renderer=et),Rl(y,!1,x),y.asyncDep){if(g&&g.registerDep(y,ne,x),!u.el){const v=y.subTree=le(Le);V(null,v,c,h)}}else ne(y,u,c,h,g,_,x)},Or=(u,c,h)=>{const m=c.component=u.component;if(yl(u,c,h))if(m.asyncDep&&!m.asyncResolved){K(m,c,h);return}else m.next=c,m.update();else c.el=u.el,m.vnode=c},ne=(u,c,h,m,g,_,x)=>{const y=()=>{if(u.isMounted){let{next:w,bu:E,u:M,parent:R,vnode:L}=u;{const fe=gi(u);if(fe){w&&(w.el=L.el,K(u,w,x)),fe.asyncDep.then(()=>{u.isUnmounted||y()});return}}let j=w,ce;Ye(u,!1),w?(w.el=L.el,K(u,w,x)):w=L,E&&zt(E),(ce=w.props&&w.props.onVnodeBeforeUpdate)&&Ee(ce,R,w,L),Ye(u,!0);const ee=Vn(u),be=u.subTree;u.subTree=ee,D(be,ee,p(be.el),Ht(be),u,g,_),w.el=ee.el,j===null&&xl(u,ee.el),M&&he(M,g),(ce=w.props&&w.props.onVnodeUpdated)&&he(()=>Ee(ce,R,w,L),g)}else{let w;const{el:E,props:M}=c,{bm:R,m:L,parent:j,root:ce,type:ee}=u,be=at(c);if(Ye(u,!1),R&&zt(R),!be&&(w=M&&M.onVnodeBeforeMount)&&Ee(w,j,c),Ye(u,!0),E&&In){const fe=()=>{u.subTree=Vn(u),In(E,u.subTree,u,g,null)};be&&ee.__asyncHydrate?ee.__asyncHydrate(E,u,fe):fe()}else{ce.ce&&ce.ce._injectChildStyle(ee);const fe=u.subTree=Vn(u);D(null,fe,h,m,u,g,_),c.el=fe.el}if(L&&he(L,g),!be&&(w=M&&M.onVnodeMounted)){const fe=c;he(()=>Ee(w,j,fe),g)}(c.shapeFlag&256||j&&at(j.vnode)&&j.vnode.shapeFlag&256)&&u.a&&he(u.a,g),u.isMounted=!0,c=h=m=null}};u.scope.on();const v=u.effect=new Is(y);u.scope.off();const b=u.update=v.run.bind(v),O=u.job=v.runIfDirty.bind(v);O.i=u,O.id=u.uid,v.scheduler=()=>gr(O),Ye(u,!0),b()},K=(u,c,h)=>{c.component=u;const m=u.vnode.props;u.vnode=c,u.next=null,sl(u,c.props,m,h),al(u,c.children,h),Be(),jr(u),Ge()},H=(u,c,h,m,g,_,x,y,v=!1)=>{const b=u&&u.children,O=u?u.shapeFlag:0,w=c.children,{patchFlag:E,shapeFlag:M}=c;if(E>0){if(E&128){Ut(b,w,h,m,g,_,x,y,v);return}else if(E&256){We(b,w,h,m,g,_,x,y,v);return}}M&8?(O&16&&mt(b,g,_),w!==b&&f(h,w)):O&16?M&16?Ut(b,w,h,m,g,_,x,y,v):mt(b,g,_,!0):(O&8&&f(h,""),M&16&&Ne(w,h,m,g,_,x,y,v))},We=(u,c,h,m,g,_,x,y,v)=>{u=u||st,c=c||st;const b=u.length,O=c.length,w=Math.min(b,O);let E;for(E=0;E<w;E++){const M=c[E]=v?He(c[E]):Ae(c[E]);D(u[E],M,h,null,g,_,x,y,v)}b>O?mt(u,g,_,!0,!1,w):Ne(c,h,m,g,_,x,y,v,w)},Ut=(u,c,h,m,g,_,x,y,v)=>{let b=0;const O=c.length;let w=u.length-1,E=O-1;for(;b<=w&&b<=E;){const M=u[b],R=c[b]=v?He(c[b]):Ae(c[b]);if(yt(M,R))D(M,R,h,null,g,_,x,y,v);else break;b++}for(;b<=w&&b<=E;){const M=u[w],R=c[E]=v?He(c[E]):Ae(c[E]);if(yt(M,R))D(M,R,h,null,g,_,x,y,v);else break;w--,E--}if(b>w){if(b<=E){const M=E+1,R=M<O?c[M].el:m;for(;b<=E;)D(null,c[b]=v?He(c[b]):Ae(c[b]),h,R,g,_,x,y,v),b++}}else if(b>E)for(;b<=w;)we(u[b],g,_,!0),b++;else{const M=b,R=b,L=new Map;for(b=R;b<=E;b++){const de=c[b]=v?He(c[b]):Ae(c[b]);de.key!=null&&L.set(de.key,b)}let j,ce=0;const ee=E-R+1;let be=!1,fe=0;const bt=new Array(ee);for(b=0;b<ee;b++)bt[b]=0;for(b=M;b<=w;b++){const de=u[b];if(ce>=ee){we(de,g,_,!0);continue}let Te;if(de.key!=null)Te=L.get(de.key);else for(j=R;j<=E;j++)if(bt[j-R]===0&&yt(de,c[j])){Te=j;break}Te===void 0?we(de,g,_,!0):(bt[Te-R]=b+1,Te>=fe?fe=Te:be=!0,D(de,c[Te],h,null,g,_,x,y,v),ce++)}const Mr=be?dl(bt):st;for(j=Mr.length-1,b=ee-1;b>=0;b--){const de=R+b,Te=c[de],Pr=de+1<O?c[de+1].el:m;bt[b]===0?D(null,Te,h,Pr,g,_,x,y,v):be&&(j<0||b!==Mr[j]?ze(Te,h,Pr,2):j--)}}},ze=(u,c,h,m,g=null)=>{const{el:_,type:x,transition:y,children:v,shapeFlag:b}=u;if(b&6){ze(u.component.subTree,c,h,m);return}if(b&128){u.suspense.move(c,h,m);return}if(b&64){x.move(u,c,h,et);return}if(x===oe){s(_,c,h);for(let w=0;w<v.length;w++)ze(v[w],c,h,m);s(u.anchor,c,h);return}if(x===Jt){z(u,c,h);return}if(m!==2&&b&1&&y)if(m===0)y.beforeEnter(_),s(_,c,h),he(()=>y.enter(_),g);else{const{leave:w,delayLeave:E,afterLeave:M}=y,R=()=>s(_,c,h),L=()=>{w(_,()=>{R(),M&&M()})};E?E(_,R,L):L()}else s(_,c,h)},we=(u,c,h,m=!1,g=!1)=>{const{type:_,props:x,ref:y,children:v,dynamicChildren:b,shapeFlag:O,patchFlag:w,dirs:E,cacheIndex:M}=u;if(w===-2&&(g=!1),y!=null&&nn(y,null,h,u,!0),M!=null&&(c.renderCache[M]=void 0),O&256){c.ctx.deactivate(u);return}const R=O&1&&E,L=!at(u);let j;if(L&&(j=x&&x.onVnodeBeforeUnmount)&&Ee(j,c,u),O&6)Vi(u.component,h,m);else{if(O&128){u.suspense.unmount(h,m);return}R&&qe(u,null,c,"beforeUnmount"),O&64?u.type.remove(u,c,h,et,m):b&&!b.hasOnce&&(_!==oe||w>0&&w&64)?mt(b,c,h,!1,!0):(_===oe&&w&384||!g&&O&16)&&mt(v,c,h),m&&Ir(u)}(L&&(j=x&&x.onVnodeUnmounted)||R)&&he(()=>{j&&Ee(j,c,u),R&&qe(u,null,c,"unmounted")},h)},Ir=u=>{const{type:c,el:h,anchor:m,transition:g}=u;if(c===oe){Ni(h,m);return}if(c===Jt){A(u);return}const _=()=>{n(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(u.shapeFlag&1&&g&&!g.persisted){const{leave:x,delayLeave:y}=g,v=()=>x(h,_);y?y(u.el,_,v):v()}else _()},Ni=(u,c)=>{let h;for(;u!==c;)h=S(u),n(u),u=h;n(c)},Vi=(u,c,h)=>{const{bum:m,scope:g,job:_,subTree:x,um:y,m:v,a:b}=u;Gr(v),Gr(b),m&&zt(m),g.stop(),_&&(_.flags|=8,we(x,u,c,h)),y&&he(y,c),he(()=>{u.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},mt=(u,c,h,m=!1,g=!1,_=0)=>{for(let x=_;x<u.length;x++)we(u[x],c,h,m,g)},Ht=u=>{if(u.shapeFlag&6)return Ht(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const c=S(u.anchor||u.el),h=c&&c[Mo];return h?S(h):c};let En=!1;const Ar=(u,c,h)=>{u==null?c._vnode&&we(c._vnode,null,null,!0):D(c._vnode||null,u,c,null,null,null,h),c._vnode=u,En||(En=!0,jr(),Ys(),En=!1)},et={p:D,um:we,m:ze,r:Ir,mt:Tn,mc:Ne,pc:H,pbc:Ke,n:Ht,o:e};let On,In;return t&&([On,In]=t(et)),{render:Ar,hydrate:On,createApp:tl(Ar,On)}}function jn({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Ye({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pi(e,t,r=!1){const s=e.children,n=t.children;if(I(s)&&I(n))for(let i=0;i<s.length;i++){const o=s[i];let l=n[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=n[i]=He(n[i]),l.el=o.el),!r&&l.patchFlag!==-2&&pi(o,l)),l.type===yn&&(l.el=o.el)}}function dl(e){const t=e.slice(),r=[0];let s,n,i,o,l;const a=e.length;for(s=0;s<a;s++){const d=e[s];if(d!==0){if(n=r[r.length-1],e[n]<d){t[s]=n,r.push(s);continue}for(i=0,o=r.length-1;i<o;)l=i+o>>1,e[r[l]]<d?i=l+1:o=l;d<e[r[i]]&&(i>0&&(t[s]=r[i-1]),r[i]=s)}}for(i=r.length,o=r[i-1];i-- >0;)r[i]=o,o=t[o];return r}function gi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:gi(t)}function Gr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const hl=Symbol.for("v-scx"),pl=()=>Yt(hl);function Nn(e,t,r){return _i(e,t,r)}function _i(e,t,r=U){const{immediate:s,deep:n,flush:i,once:o}=r,l=Z({},r),a=t&&s||!t&&i!=="post";let d;if(Rt){if(i==="sync"){const T=pl();d=T.__watcherHandles||(T.__watcherHandles=[])}else if(!a){const T=()=>{};return T.stop=ve,T.resume=ve,T.pause=ve,T}}const f=X;l.call=(T,F,D)=>Me(T,f,F,D);let p=!1;i==="post"?l.scheduler=T=>{he(T,f&&f.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(T,F)=>{F?T():gr(T)}),l.augmentJob=T=>{t&&(T.flags|=4),p&&(T.flags|=2,f&&(T.id=f.uid,T.i=f))};const S=Eo(e,t,l);return Rt&&(d?d.push(S):a&&S()),S}function gl(e,t,r){const s=this.proxy,n=q(e)?e.includes(".")?mi(s,e):()=>s[e]:e.bind(s,s);let i;P(t)?i=t:(i=t.handler,r=t);const o=$t(this),l=_i(n,i.bind(s),r);return o(),l}function mi(e,t){const r=t.split(".");return()=>{let s=e;for(let n=0;n<r.length&&s;n++)s=s[r[n]];return s}}const _l=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${me(t)}Modifiers`]||e[`${ke(t)}Modifiers`];function ml(e,t,...r){if(e.isUnmounted)return;const s=e.vnode.props||U;let n=r;const i=t.startsWith("update:"),o=i&&_l(s,t.slice(7));o&&(o.trim&&(n=r.map(f=>q(f)?f.trim():f)),o.number&&(n=r.map(Zt)));let l,a=s[l=An(t)]||s[l=An(me(t))];!a&&i&&(a=s[l=An(ke(t))]),a&&Me(a,e,6,n);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(d,e,6,n)}}function bi(e,t,r=!1){const s=t.emitsCache,n=s.get(e);if(n!==void 0)return n;const i=e.emits;let o={},l=!1;if(!P(e)){const a=d=>{const f=bi(d,t,!0);f&&(l=!0,Z(o,f))};!r&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(G(e)&&s.set(e,null),null):(I(i)?i.forEach(a=>o[a]=null):Z(o,i),G(e)&&s.set(e,o),o)}function vn(e,t){return!e||!cn(t)?!1:(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,ke(t))||$(e,t))}function Vn(e){const{type:t,vnode:r,proxy:s,withProxy:n,propsOptions:[i],slots:o,attrs:l,emit:a,render:d,renderCache:f,props:p,data:S,setupState:T,ctx:F,inheritAttrs:D}=e,k=tn(e);let V,W;try{if(r.shapeFlag&4){const A=n||s,Y=A;V=Ae(d.call(Y,A,f,p,T,S,F)),W=l}else{const A=t;V=Ae(A.length>1?A(p,{attrs:l,slots:o,emit:a}):A(p,null)),W=t.props?l:bl(l)}}catch(A){Ot.length=0,mn(A,e,1),V=le(Le)}let z=V;if(W&&D!==!1){const A=Object.keys(W),{shapeFlag:Y}=z;A.length&&Y&7&&(i&&A.some(rr)&&(W=vl(W,i)),z=dt(z,W,!1,!0))}return r.dirs&&(z=dt(z,null,!1,!0),z.dirs=z.dirs?z.dirs.concat(r.dirs):r.dirs),r.transition&&_r(z,r.transition),V=z,tn(k),V}const bl=e=>{let t;for(const r in e)(r==="class"||r==="style"||cn(r))&&((t||(t={}))[r]=e[r]);return t},vl=(e,t)=>{const r={};for(const s in e)(!rr(s)||!(s.slice(9)in t))&&(r[s]=e[s]);return r};function yl(e,t,r){const{props:s,children:n,component:i}=e,{props:o,children:l,patchFlag:a}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&a>=0){if(a&1024)return!0;if(a&16)return s?Kr(s,o,d):!!o;if(a&8){const f=t.dynamicProps;for(let p=0;p<f.length;p++){const S=f[p];if(o[S]!==s[S]&&!vn(d,S))return!0}}}else return(n||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Kr(s,o,d):!0:!!o;return!1}function Kr(e,t,r){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let n=0;n<s.length;n++){const i=s[n];if(t[i]!==e[i]&&!vn(r,i))return!0}return!1}function xl({vnode:e,parent:t},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=r,t=t.parent;else break}}const vi=e=>e.__isSuspense;function Cl(e,t){t&&t.pendingBranch?I(e)?t.effects.push(...e):t.effects.push(e):Ao(e)}const oe=Symbol.for("v-fgt"),yn=Symbol.for("v-txt"),Le=Symbol.for("v-cmt"),Jt=Symbol.for("v-stc"),Ot=[];let ge=null;function J(e=!1){Ot.push(ge=e?null:[])}function Sl(){Ot.pop(),ge=Ot[Ot.length-1]||null}let Pt=1;function Wr(e,t=!1){Pt+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function yi(e){return e.dynamicChildren=Pt>0?ge||st:null,Sl(),Pt>0&&ge&&ge.push(e),e}function se(e,t,r,s,n,i){return yi(C(e,t,r,s,n,i,!0))}function kn(e,t,r,s,n){return yi(le(e,t,r,s,n,!0))}function vr(e){return e?e.__v_isVNode===!0:!1}function yt(e,t){return e.type===t.type&&e.key===t.key}const xi=({key:e})=>e??null,Qt=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?q(e)||ae(e)||P(e)?{i:Q,r:e,k:t,f:!!r}:e:null);function C(e,t=null,r=null,s=0,n=null,i=e===oe?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xi(t),ref:t&&Qt(t),scopeId:Qs,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:Q};return l?(yr(a,r),i&128&&e.normalize(a)):r&&(a.shapeFlag|=q(r)?8:16),Pt>0&&!o&&ge&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&ge.push(a),a}const le=wl;function wl(e,t=null,r=null,s=0,n=null,i=!1){if((!e||e===Wo)&&(e=Le),vr(e)){const l=dt(e,t,!0);return r&&yr(l,r),Pt>0&&!i&&ge&&(l.shapeFlag&6?ge[ge.indexOf(e)]=l:ge.push(l)),l.patchFlag=-2,l}if(Nl(e)&&(e=e.__vccOpts),t){t=Tl(t);let{class:l,style:a}=t;l&&!q(l)&&(t.class=lr(l)),G(a)&&(pr(a)&&!I(a)&&(a=Z({},a)),t.style=or(a))}const o=q(e)?1:vi(e)?128:Po(e)?64:G(e)?4:P(e)?2:0;return C(e,t,r,s,n,o,i,!0)}function Tl(e){return e?pr(e)||li(e)?Z({},e):e:null}function dt(e,t,r=!1,s=!1){const{props:n,ref:i,patchFlag:o,children:l,transition:a}=e,d=t?Ol(n||{},t):n,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&xi(d),ref:t&&t.ref?r&&i?I(i)?i.concat(Qt(t)):[i,Qt(t)]:Qt(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==oe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dt(e.ssContent),ssFallback:e.ssFallback&&dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&_r(f,a.clone(f)),f}function Ci(e=" ",t=0){return le(yn,null,e,t)}function El(e,t){const r=le(Jt,null,e);return r.staticCount=t,r}function Kt(e="",t=!1){return t?(J(),kn(Le,null,e)):le(Le,null,e)}function Ae(e){return e==null||typeof e=="boolean"?le(Le):I(e)?le(oe,null,e.slice()):vr(e)?He(e):le(yn,null,String(e))}function He(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dt(e)}function yr(e,t){let r=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(I(t))r=16;else if(typeof t=="object")if(s&65){const n=t.default;n&&(n._c&&(n._d=!1),yr(e,n()),n._c&&(n._d=!0));return}else{r=32;const n=t._;!n&&!li(t)?t._ctx=Q:n===3&&Q&&(Q.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else P(t)?(t={default:t,_ctx:Q},r=32):(t=String(t),s&64?(r=16,t=[Ci(t)]):r=8);e.children=t,e.shapeFlag|=r}function Ol(...e){const t={};for(let r=0;r<e.length;r++){const s=e[r];for(const n in s)if(n==="class")t.class!==s.class&&(t.class=lr([t.class,s.class]));else if(n==="style")t.style=or([t.style,s.style]);else if(cn(n)){const i=t[n],o=s[n];o&&i!==o&&!(I(i)&&i.includes(o))&&(t[n]=i?[].concat(i,o):o)}else n!==""&&(t[n]=s[n])}return t}function Ee(e,t,r,s=null){Me(e,t,7,[r,s])}const Il=si();let Al=0;function Ml(e,t,r){const s=e.type,n=(t?t.appContext:e.appContext)||Il,i={uid:Al++,vnode:e,type:s,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Zi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ui(s,n),emitsOptions:bi(s,n),emit:null,emitted:null,propsDefaults:U,inheritAttrs:s.inheritAttrs,ctx:U,data:U,props:U,attrs:U,slots:U,refs:U,setupState:U,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=ml.bind(null,i),e.ce&&e.ce(i),i}let X=null;const Pl=()=>X||Q;let sn,er;{const e=pn(),t=(r,s)=>{let n;return(n=e[r])||(n=e[r]=[]),n.push(s),i=>{n.length>1?n.forEach(o=>o(i)):n[0](i)}};sn=t("__VUE_INSTANCE_SETTERS__",r=>X=r),er=t("__VUE_SSR_SETTERS__",r=>Rt=r)}const $t=e=>{const t=X;return sn(e),e.scope.on(),()=>{e.scope.off(),sn(t)}},zr=()=>{X&&X.scope.off(),sn(null)};function Si(e){return e.vnode.shapeFlag&4}let Rt=!1;function Rl(e,t=!1,r=!1){t&&er(t);const{props:s,children:n}=e.vnode,i=Si(e);rl(e,s,i,t),ll(e,n,r);const o=i?Dl(e,t):void 0;return t&&er(!1),o}function Dl(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Yo);const{setup:s}=r;if(s){Be();const n=e.setupContext=s.length>1?$l(e):null,i=$t(e),o=Ft(s,e,0,[e.props,n]),l=ys(o);if(Ge(),i(),(l||e.sp)&&!at(e)&&Xs(e),l){if(o.then(zr,zr),t)return o.then(a=>{qr(e,a,t)}).catch(a=>{mn(a,e,0)});e.asyncDep=o}else qr(e,o,t)}else wi(e,t)}function qr(e,t,r){P(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=Ks(t)),wi(e,r)}let Yr;function wi(e,t,r){const s=e.type;if(!e.render){if(!t&&Yr&&!s.render){const n=s.template||mr(e).template;if(n){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,d=Z(Z({isCustomElement:i,delimiters:l},o),a);s.render=Yr(n,d)}}e.render=s.render||ve}{const n=$t(e);Be();try{Jo(e)}finally{Ge(),n()}}}const Fl={get(e,t){return te(e,"get",""),e[t]}};function $l(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Fl),slots:e.slots,emit:e.emit,expose:t}}function xn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ks(yo(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Et)return Et[r](e)},has(t,r){return r in t||r in Et}})):e.proxy}function jl(e,t=!0){return P(e)?e.displayName||e.name:e.name||t&&e.__name}function Nl(e){return P(e)&&"__vccOpts"in e}const Vl=(e,t)=>wo(e,t,Rt),Ul="3.5.13";/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let tr;const Jr=typeof window<"u"&&window.trustedTypes;if(Jr)try{tr=Jr.createPolicy("vue",{createHTML:e=>e})}catch{}const Ti=tr?e=>tr.createHTML(e):e=>e,Hl="http://www.w3.org/2000/svg",Ll="http://www.w3.org/1998/Math/MathML",Re=typeof document<"u"?document:null,Qr=Re&&Re.createElement("template"),Bl={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,s)=>{const n=t==="svg"?Re.createElementNS(Hl,e):t==="mathml"?Re.createElementNS(Ll,e):r?Re.createElement(e,{is:r}):Re.createElement(e);return e==="select"&&s&&s.multiple!=null&&n.setAttribute("multiple",s.multiple),n},createText:e=>Re.createTextNode(e),createComment:e=>Re.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Re.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,s,n,i){const o=r?r.previousSibling:t.lastChild;if(n&&(n===i||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),r),!(n===i||!(n=n.nextSibling)););else{Qr.innerHTML=Ti(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Qr.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Gl=Symbol("_vtc");function Kl(e,t,r){const s=e[Gl];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Xr=Symbol("_vod"),Wl=Symbol("_vsh"),zl=Symbol(""),ql=/(^|;)\s*display\s*:/;function Yl(e,t,r){const s=e.style,n=q(r);let i=!1;if(r&&!n){if(t)if(q(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();r[l]==null&&Xt(s,l,"")}else for(const o in t)r[o]==null&&Xt(s,o,"");for(const o in r)o==="display"&&(i=!0),Xt(s,o,r[o])}else if(n){if(t!==r){const o=s[zl];o&&(r+=";"+o),s.cssText=r,i=ql.test(r)}}else t&&e.removeAttribute("style");Xr in e&&(e[Xr]=i?s.display:"",e[Wl]&&(s.display="none"))}const Zr=/\s*!important$/;function Xt(e,t,r){if(I(r))r.forEach(s=>Xt(e,t,s));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const s=Jl(e,t);Zr.test(r)?e.setProperty(ke(s),r.replace(Zr,""),"important"):e[s]=r}}const kr=["Webkit","Moz","ms"],Un={};function Jl(e,t){const r=Un[t];if(r)return r;let s=me(t);if(s!=="filter"&&s in e)return Un[t]=s;s=hn(s);for(let n=0;n<kr.length;n++){const i=kr[n]+s;if(i in e)return Un[t]=i}return t}const es="http://www.w3.org/1999/xlink";function ts(e,t,r,s,n,i=Ji(t)){s&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(es,t.slice(6,t.length)):e.setAttributeNS(es,t,r):r==null||i&&!ws(r)?e.removeAttribute(t):e.setAttribute(t,i?"":Ce(r)?String(r):r)}function ns(e,t,r,s,n){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?Ti(r):r);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,a=r==null?e.type==="checkbox"?"on":"":String(r);(l!==a||!("_value"in e))&&(e.value=a),r==null&&e.removeAttribute(t),e._value=r;return}let o=!1;if(r===""||r==null){const l=typeof e[t];l==="boolean"?r=ws(r):r==null&&l==="string"?(r="",o=!0):l==="number"&&(r=0,o=!0)}try{e[t]=r}catch{}o&&e.removeAttribute(n||t)}function Qe(e,t,r,s){e.addEventListener(t,r,s)}function Ql(e,t,r,s){e.removeEventListener(t,r,s)}const rs=Symbol("_vei");function Xl(e,t,r,s,n=null){const i=e[rs]||(e[rs]={}),o=i[t];if(s&&o)o.value=s;else{const[l,a]=Zl(t);if(s){const d=i[t]=ta(s,n);Qe(e,l,d,a)}else o&&(Ql(e,l,o,a),i[t]=void 0)}}const ss=/(?:Once|Passive|Capture)$/;function Zl(e){let t;if(ss.test(e)){t={};let s;for(;s=e.match(ss);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ke(e.slice(2)),t]}let Hn=0;const kl=Promise.resolve(),ea=()=>Hn||(kl.then(()=>Hn=0),Hn=Date.now());function ta(e,t){const r=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=r.attached)return;Me(na(s,r.value),t,5,[s])};return r.value=e,r.attached=ea(),r}function na(e,t){if(I(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(s=>n=>!n._stopped&&s&&s(n))}else return t}const is=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ra=(e,t,r,s,n,i)=>{const o=n==="svg";t==="class"?Kl(e,s,o):t==="style"?Yl(e,r,s):cn(t)?rr(t)||Xl(e,t,r,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sa(e,t,s,o))?(ns(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ts(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!q(s))?ns(e,me(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ts(e,t,s,o))};function sa(e,t,r,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&is(t)&&P(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const n=e.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return is(t)&&q(r)?!1:t in e}const on=e=>{const t=e.props["onUpdate:modelValue"]||!1;return I(t)?r=>zt(t,r):t};function ia(e){e.target.composing=!0}function os(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ct=Symbol("_assign"),Oe={created(e,{modifiers:{lazy:t,trim:r,number:s}},n){e[ct]=on(n);const i=s||n.props&&n.props.type==="number";Qe(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;r&&(l=l.trim()),i&&(l=Zt(l)),e[ct](l)}),r&&Qe(e,"change",()=>{e.value=e.value.trim()}),t||(Qe(e,"compositionstart",ia),Qe(e,"compositionend",os),Qe(e,"change",os))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:s,trim:n,number:i}},o){if(e[ct]=on(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Zt(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===r||n&&e.value.trim()===a)||(e.value=a))}},ls={deep:!0,created(e,{value:t,modifiers:{number:r}},s){const n=fn(t);Qe(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>r?Zt(ln(o)):ln(o));e[ct](e.multiple?n?new Set(i):i:i[0]),e._assigning=!0,zs(()=>{e._assigning=!1})}),e[ct]=on(s)},mounted(e,{value:t}){as(e,t)},beforeUpdate(e,t,r){e[ct]=on(r)},updated(e,{value:t}){e._assigning||as(e,t)}};function as(e,t){const r=e.multiple,s=I(t);if(!(r&&!s&&!fn(t))){for(let n=0,i=e.options.length;n<i;n++){const o=e.options[n],l=ln(o);if(r)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(d=>String(d)===String(l)):o.selected=Xi(t,l)>-1}else o.selected=t.has(l);else if(gn(ln(o),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ln(e){return"_value"in e?e._value:e.value}const oa=Z({patchProp:ra},Bl);let us;function la(){return us||(us=ul(oa))}const aa=(...e)=>{const t=la().createApp(...e),{mount:r}=t;return t.mount=s=>{const n=ca(s);if(!n)return;const i=t._component;!P(i)&&!i.render&&!i.template&&(i.template=n.innerHTML),n.nodeType===1&&(n.textContent="");const o=r(n,!1,ua(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t};function ua(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ca(e){return q(e)?document.querySelector(e):e}const Ei=(e,t)=>{const r=e.__vccOpts||e;for(const[s,n]of t)r[s]=n;return r},fa={name:"app",data(){return{startAngle:-110,endAngle:110,value:75,separatorStep:25,min:0,max:100,scale:5,innerRadius:60,separatorThickness:4,baseColor:"#d0cdcd",easingFct:"Circular",easingType:"Out",random:30}},computed:{easing(){const{easingFct:e,easingType:t}=this;return[e,t].join(".")},text(){const{random:e}=this;return e<25?"Very Bad 🙁":e<50?"Pretty ok 😶":e<75?"Gets nice 🙂":"Super good 😄"}},mounted(){setInterval(()=>{this.random=Math.random()*(100-0)+0},4e3)}},da={id:"app"},ha={class:"content"},pa={class:"mutliple-examples"},ga={class:"inner-text inner-text--3"},_a={class:"lets-play"},ma={class:"customizer"},ba={class:"property"},va={class:"property"},ya={class:"property"},xa={class:"property"},Ca={class:"property"},Sa={class:"property"},wa={class:"property"},Ta={class:"property"},Ea={class:"property"},Oa={class:"property"},Ia={class:"property"},Aa={class:"select-container"},Ma={class:"property"},Pa={class:"select-container"};function Ra(e,t,r,s,n,i){const o=Ko("VueSvgGauge");return J(),se("div",da,[t[30]||(t[30]=C("h1",null,"vue-svg-gauge",-1)),t[31]||(t[31]=C("h3",null,"Customizable gauge component with gradients and animations for VueJs",-1)),t[32]||(t[32]=C("a",{href:"https://github.com/hellocomet/vue-svg-gauge",class:"button"}," Source on GitHub ",-1)),C("div",ha,[C("div",pa,[le(o,{class:"mini-gauge","start-angle":-300,"end-angle":-60,value:n.random,"separator-step":10,"gauge-color":"#de3a21","scale-interval":10,"separator-thickness":2,"inner-radius":55,easing:i.easing,"base-color":"#d0cdcd","transition-duration":3500},{default:qt(()=>t[12]||(t[12]=[C("div",{class:"inner-text inner-text--1"},[C("span",null,"Single color")],-1)])),_:1},8,["value","easing"]),le(o,{class:"mini-gauge","start-angle":-90,"end-angle":270,value:n.random,"separator-step":0,"gauge-color":[{offset:0,color:"#de3a21"},{offset:100,color:"#f4c009"}],"scale-interval":0,"inner-radius":65,easing:i.easing,"base-color":"#d0cdcd"},{default:qt(()=>t[13]||(t[13]=[C("div",{class:"inner-text inner-text--2"},[C("span",null,"Circle")],-1)])),_:1},8,["value","easing"]),le(o,{class:"mini-gauge","start-angle":-110,"end-angle":110,value:n.random,"separator-step":25,"gauge-color":[{offset:0,color:"#de3a21"},{offset:50,color:"#f4c009"},{offset:100,color:"#0b8c5a"}],"scale-interval":2,"inner-radius":80,easing:i.easing,"base-color":"#d0cdcd"},{default:qt(()=>[C("div",ga,[C("span",null,Es(i.text),1)])]),_:1},8,["value","easing"])]),C("div",_a,[t[28]||(t[28]=C("h2",null,"Wanna try ?",-1)),le(o,{class:"customizable-gauge","start-angle":parseInt(n.startAngle||110),"end-angle":parseInt(n.endAngle||-110),value:parseInt(n.value),"separator-step":parseInt(n.separatorStep),min:parseInt(n.min||0),max:parseInt(n.max||100),"scale-interval":parseInt(n.scale),"inner-radius":parseInt(n.innerRadius),"separator-thickness":parseInt(n.separatorThickness),"base-color":n.baseColor,"gauge-color":[{offset:0,color:"#64bf8a"},{offset:100,color:"#347AB0"}],easing:i.easing},null,8,["start-angle","end-angle","value","separator-step","min","max","scale-interval","inner-radius","separator-thickness","base-color","easing"]),t[29]||(t[29]=C("h3",{class:"customizer-title"},"Let's play 👇",-1)),C("div",ma,[C("div",ba,[t[14]||(t[14]=C("label",{for:"value"},"Value",-1)),_e(C("input",{id:"value",type:"number","onUpdate:modelValue":t[0]||(t[0]=l=>n.value=l)},null,512),[[Oe,n.value]])]),C("div",va,[t[15]||(t[15]=C("label",{for:"startAngle"},"Start angle",-1)),_e(C("input",{id:"startAngle",type:"number","onUpdate:modelValue":t[1]||(t[1]=l=>n.startAngle=l)},null,512),[[Oe,n.startAngle]])]),C("div",ya,[t[16]||(t[16]=C("label",{for:"endAngle"},"End angle",-1)),_e(C("input",{id:"endAngle",type:"number","onUpdate:modelValue":t[2]||(t[2]=l=>n.endAngle=l)},null,512),[[Oe,n.endAngle]])]),C("div",xa,[t[17]||(t[17]=C("label",{for:"min"},"Minimum value",-1)),_e(C("input",{id:"min",type:"number","onUpdate:modelValue":t[3]||(t[3]=l=>n.min=l)},null,512),[[Oe,n.min]])]),C("div",Ca,[t[18]||(t[18]=C("label",{for:"max"},"Maximum value",-1)),_e(C("input",{id:"max",type:"number","onUpdate:modelValue":t[4]||(t[4]=l=>n.max=l)},null,512),[[Oe,n.max]])]),C("div",Sa,[t[19]||(t[19]=C("label",{for:"separatorStep"},"Separators Step",-1)),_e(C("input",{id:"separatorStep",type:"number","onUpdate:modelValue":t[5]||(t[5]=l=>n.separatorStep=l)},null,512),[[Oe,n.separatorStep]])]),C("div",wa,[t[20]||(t[20]=C("label",{for:"scale"},"Separators thickness",-1)),_e(C("input",{id:"scale",type:"number","onUpdate:modelValue":t[6]||(t[6]=l=>n.separatorThickness=l)},null,512),[[Oe,n.separatorThickness]])]),C("div",Ta,[t[21]||(t[21]=C("label",{for:"scale"},"Scale step",-1)),_e(C("input",{id:"scale",type:"number","onUpdate:modelValue":t[7]||(t[7]=l=>n.scale=l)},null,512),[[Oe,n.scale]])]),C("div",Ea,[t[22]||(t[22]=C("label",{for:"scale"},"Inner radius",-1)),_e(C("input",{id:"scale",type:"number","onUpdate:modelValue":t[8]||(t[8]=l=>n.innerRadius=l)},null,512),[[Oe,n.innerRadius]])]),C("div",Oa,[t[23]||(t[23]=C("label",{for:"scale"},"Base color",-1)),_e(C("input",{id:"scale",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>n.baseColor=l)},null,512),[[Oe,n.baseColor]])]),C("div",Ia,[t[25]||(t[25]=C("label",{for:"scale"},"Easing function",-1)),C("div",Aa,[_e(C("select",{id:"scale","onUpdate:modelValue":t[10]||(t[10]=l=>n.easingFct=l)},t[24]||(t[24]=[El('<option disabled value=" ">Choisissez</option><option value="Linear">Linear</option><option value="Quadratic">Quadratic</option><option value="Cubic">Cubic</option><option value="Quartic">Quartic</option><option value="Quintic">Quintic</option><option value="Sinusoidal">Sinusoidal</option><option value="Exponential">Exponential</option><option value="Circular">Circular</option><option value="Elastic">Elastic</option><option value="Back">Back</option><option value="Bounce">Bounce</option>',12)]),512),[[ls,n.easingFct]])])]),C("div",Ma,[t[27]||(t[27]=C("label",{for:"scale"},"Easing type",-1)),C("div",Pa,[_e(C("select",{id:"scale","onUpdate:modelValue":t[11]||(t[11]=l=>n.easingType=l)},t[26]||(t[26]=[C("option",{disabled:"",value:" "},"Choisissez",-1),C("option",{value:"In"},"In",-1),C("option",{value:"Out"},"Out",-1),C("option",{value:"InOut"},"InOut",-1)]),512),[[ls,n.easingType]])])])])])]),t[33]||(t[33]=C("div",{class:"bottom"},[Ci("Made with ❤️ at "),C("a",{href:"https://comet.co/"},"comet")],-1))])}const Da=Ei(fa,[["render",Ra]]);var Wt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ii={exports:{}};(function(e,t){var r=function(){this._tweens={},this._tweensAddedDuringUpdate={}};r.prototype={getAll:function(){return Object.keys(this._tweens).map((function(n){return this._tweens[n]}).bind(this))},removeAll:function(){this._tweens={}},add:function(n){this._tweens[n.getId()]=n,this._tweensAddedDuringUpdate[n.getId()]=n},remove:function(n){delete this._tweens[n.getId()],delete this._tweensAddedDuringUpdate[n.getId()]},update:function(n,i){var o=Object.keys(this._tweens);if(o.length===0)return!1;for(n=n!==void 0?n:s.now();o.length>0;){this._tweensAddedDuringUpdate={};for(var l=0;l<o.length;l++){var a=this._tweens[o[l]];a&&a.update(n)===!1&&(a._isPlaying=!1,i||delete this._tweens[o[l]])}o=Object.keys(this._tweensAddedDuringUpdate)}return!0}};var s=new r;s.Group=r,s._nextId=0,s.nextId=function(){return s._nextId++},typeof window>"u"&&typeof process<"u"&&process.hrtime?s.now=function(){var n=process.hrtime();return n[0]*1e3+n[1]/1e6}:typeof window<"u"&&window.performance!==void 0&&window.performance.now!==void 0?s.now=window.performance.now.bind(window.performance):Date.now!==void 0?s.now=Date.now:s.now=function(){return new Date().getTime()},s.Tween=function(n,i){this._object=n,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._repeat=0,this._repeatDelayTime=void 0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=null,this._easingFunction=s.Easing.Linear.None,this._interpolationFunction=s.Interpolation.Linear,this._chainedTweens=[],this._onStartCallback=null,this._onStartCallbackFired=!1,this._onUpdateCallback=null,this._onCompleteCallback=null,this._onStopCallback=null,this._group=i||s,this._id=s.nextId()},s.Tween.prototype={getId:function(){return this._id},isPlaying:function(){return this._isPlaying},to:function(i,o){return this._valuesEnd=i,o!==void 0&&(this._duration=o),this},start:function(i){this._group.add(this),this._isPlaying=!0,this._onStartCallbackFired=!1,this._startTime=i!==void 0?typeof i=="string"?s.now()+parseFloat(i):i:s.now(),this._startTime+=this._delayTime;for(var o in this._valuesEnd){if(this._valuesEnd[o]instanceof Array){if(this._valuesEnd[o].length===0)continue;this._valuesEnd[o]=[this._object[o]].concat(this._valuesEnd[o])}this._object[o]!==void 0&&(this._valuesStart[o]=this._object[o],this._valuesStart[o]instanceof Array||(this._valuesStart[o]*=1),this._valuesStartRepeat[o]=this._valuesStart[o]||0)}return this},stop:function(){return this._isPlaying?(this._group.remove(this),this._isPlaying=!1,this._onStopCallback!==null&&this._onStopCallback(this._object),this.stopChainedTweens(),this):this},end:function(){return this.update(this._startTime+this._duration),this},stopChainedTweens:function(){for(var i=0,o=this._chainedTweens.length;i<o;i++)this._chainedTweens[i].stop()},group:function(n){return this._group=n,this},delay:function(i){return this._delayTime=i,this},repeat:function(i){return this._repeat=i,this},repeatDelay:function(i){return this._repeatDelayTime=i,this},yoyo:function(i){return this._yoyo=i,this},easing:function(i){return this._easingFunction=i,this},interpolation:function(i){return this._interpolationFunction=i,this},chain:function(){return this._chainedTweens=arguments,this},onStart:function(i){return this._onStartCallback=i,this},onUpdate:function(i){return this._onUpdateCallback=i,this},onComplete:function(i){return this._onCompleteCallback=i,this},onStop:function(i){return this._onStopCallback=i,this},update:function(i){var o,l,a;if(i<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback!==null&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),l=(i-this._startTime)/this._duration,l=this._duration===0||l>1?1:l,a=this._easingFunction(l);for(o in this._valuesEnd)if(this._valuesStart[o]!==void 0){var d=this._valuesStart[o]||0,f=this._valuesEnd[o];f instanceof Array?this._object[o]=this._interpolationFunction(f,a):(typeof f=="string"&&(f.charAt(0)==="+"||f.charAt(0)==="-"?f=d+parseFloat(f):f=parseFloat(f)),typeof f=="number"&&(this._object[o]=d+(f-d)*a))}if(this._onUpdateCallback!==null&&this._onUpdateCallback(this._object),l===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(o in this._valuesStartRepeat){if(typeof this._valuesEnd[o]=="string"&&(this._valuesStartRepeat[o]=this._valuesStartRepeat[o]+parseFloat(this._valuesEnd[o])),this._yoyo){var p=this._valuesStartRepeat[o];this._valuesStartRepeat[o]=this._valuesEnd[o],this._valuesEnd[o]=p}this._valuesStart[o]=this._valuesStartRepeat[o]}return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=i+this._repeatDelayTime:this._startTime=i+this._delayTime,!0}else{this._onCompleteCallback!==null&&this._onCompleteCallback(this._object);for(var S=0,T=this._chainedTweens.length;S<T;S++)this._chainedTweens[S].start(this._startTime+this._duration);return!1}return!0}},s.Easing={Linear:{None:function(n){return n}},Quadratic:{In:function(n){return n*n},Out:function(n){return n*(2-n)},InOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)}},Cubic:{In:function(n){return n*n*n},Out:function(n){return--n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)}},Quartic:{In:function(n){return n*n*n*n},Out:function(n){return 1- --n*n*n*n},InOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)}},Quintic:{In:function(n){return n*n*n*n*n},Out:function(n){return--n*n*n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)}},Sinusoidal:{In:function(n){return 1-Math.cos(n*Math.PI/2)},Out:function(n){return Math.sin(n*Math.PI/2)},InOut:function(n){return .5*(1-Math.cos(Math.PI*n))}},Exponential:{In:function(n){return n===0?0:Math.pow(1024,n-1)},Out:function(n){return n===1?1:1-Math.pow(2,-10*n)},InOut:function(n){return n===0?0:n===1?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(-Math.pow(2,-10*(n-1))+2)}},Circular:{In:function(n){return 1-Math.sqrt(1-n*n)},Out:function(n){return Math.sqrt(1- --n*n)},InOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)}},Elastic:{In:function(n){return n===0?0:n===1?1:-Math.pow(2,10*(n-1))*Math.sin((n-1.1)*5*Math.PI)},Out:function(n){return n===0?0:n===1?1:Math.pow(2,-10*n)*Math.sin((n-.1)*5*Math.PI)+1},InOut:function(n){return n===0?0:n===1?1:(n*=2,n<1?-.5*Math.pow(2,10*(n-1))*Math.sin((n-1.1)*5*Math.PI):.5*Math.pow(2,-10*(n-1))*Math.sin((n-1.1)*5*Math.PI)+1)}},Back:{In:function(n){var i=1.70158;return n*n*((i+1)*n-i)},Out:function(n){var i=1.70158;return--n*n*((i+1)*n+i)+1},InOut:function(n){var i=2.5949095;return(n*=2)<1?.5*(n*n*((i+1)*n-i)):.5*((n-=2)*n*((i+1)*n+i)+2)}},Bounce:{In:function(n){return 1-s.Easing.Bounce.Out(1-n)},Out:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},InOut:function(n){return n<.5?s.Easing.Bounce.In(n*2)*.5:s.Easing.Bounce.Out(n*2-1)*.5+.5}}},s.Interpolation={Linear:function(n,i){var o=n.length-1,l=o*i,a=Math.floor(l),d=s.Interpolation.Utils.Linear;return i<0?d(n[0],n[1],l):i>1?d(n[o],n[o-1],o-l):d(n[a],n[a+1>o?o:a+1],l-a)},Bezier:function(n,i){for(var o=0,l=n.length-1,a=Math.pow,d=s.Interpolation.Utils.Bernstein,f=0;f<=l;f++)o+=a(1-i,l-f)*a(i,f)*n[f]*d(l,f);return o},CatmullRom:function(n,i){var o=n.length-1,l=o*i,a=Math.floor(l),d=s.Interpolation.Utils.CatmullRom;return n[0]===n[o]?(i<0&&(a=Math.floor(l=o*(1+i))),d(n[(a-1+o)%o],n[a],n[(a+1)%o],n[(a+2)%o],l-a)):i<0?n[0]-(d(n[0],n[0],n[1],n[1],-l)-n[0]):i>1?n[o]-(d(n[o],n[o],n[o-1],n[o-1],l-o)-n[o]):d(n[a?a-1:0],n[a],n[o<a+1?o:a+1],n[o<a+2?o:a+2],l-a)},Utils:{Linear:function(n,i,o){return(i-n)*o+n},Bernstein:function(n,i){var o=s.Interpolation.Utils.Factorial;return o(n)/o(i)/o(n-i)},Factorial:function(){var n=[1];return function(i){var o=1;if(n[i])return n[i];for(var l=i;l>1;l--)o*=l;return n[i]=o,o}}(),CatmullRom:function(n,i,o,l,a){var d=(o-n)*.5,f=(l-i)*.5,p=a*a,S=a*p;return(2*i-2*o+d+f)*S+(-3*i+3*o-2*d-f)*p+d*a+i}}},function(n){e.exports=s}()})(Ii);var Fa=Ii.exports;const Ln=Oi(Fa);var $a=Array.isArray,xr=$a,ja=typeof Wt=="object"&&Wt&&Wt.Object===Object&&Wt,Na=ja,Va=Na,Ua=typeof self=="object"&&self&&self.Object===Object&&self,Ha=Va||Ua||Function("return this")(),Cr=Ha,La=Cr,Ba=La.Symbol,Sr=Ba,cs=Sr,Ai=Object.prototype,Ga=Ai.hasOwnProperty,Ka=Ai.toString,xt=cs?cs.toStringTag:void 0;function Wa(e){var t=Ga.call(e,xt),r=e[xt];try{e[xt]=void 0;var s=!0}catch{}var n=Ka.call(e);return s&&(t?e[xt]=r:delete e[xt]),n}var za=Wa,qa=Object.prototype,Ya=qa.toString;function Ja(e){return Ya.call(e)}var Qa=Ja,fs=Sr,Xa=za,Za=Qa,ka="[object Null]",eu="[object Undefined]",ds=fs?fs.toStringTag:void 0;function tu(e){return e==null?e===void 0?eu:ka:ds&&ds in Object(e)?Xa(e):Za(e)}var Mi=tu;function nu(e){return e!=null&&typeof e=="object"}var ru=nu,su=Mi,iu=ru,ou="[object Symbol]";function lu(e){return typeof e=="symbol"||iu(e)&&su(e)==ou}var wr=lu,au=xr,uu=wr,cu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fu=/^\w*$/;function du(e,t){if(au(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||uu(e)?!0:fu.test(e)||!cu.test(e)||t!=null&&e in Object(t)}var hu=du;function pu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Pi=pu,gu=Mi,_u=Pi,mu="[object AsyncFunction]",bu="[object Function]",vu="[object GeneratorFunction]",yu="[object Proxy]";function xu(e){if(!_u(e))return!1;var t=gu(e);return t==bu||t==vu||t==mu||t==yu}var Cu=xu,Su=Cr,wu=Su["__core-js_shared__"],Tu=wu,Bn=Tu,hs=function(){var e=/[^.]+$/.exec(Bn&&Bn.keys&&Bn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Eu(e){return!!hs&&hs in e}var Ou=Eu,Iu=Function.prototype,Au=Iu.toString;function Mu(e){if(e!=null){try{return Au.call(e)}catch{}try{return e+""}catch{}}return""}var Pu=Mu,Ru=Cu,Du=Ou,Fu=Pi,$u=Pu,ju=/[\\^$.*+?()[\]{}|]/g,Nu=/^\[object .+?Constructor\]$/,Vu=Function.prototype,Uu=Object.prototype,Hu=Vu.toString,Lu=Uu.hasOwnProperty,Bu=RegExp("^"+Hu.call(Lu).replace(ju,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gu(e){if(!Fu(e)||Du(e))return!1;var t=Ru(e)?Bu:Nu;return t.test($u(e))}var Ku=Gu;function Wu(e,t){return e==null?void 0:e[t]}var zu=Wu,qu=Ku,Yu=zu;function Ju(e,t){var r=Yu(e,t);return qu(r)?r:void 0}var Ri=Ju,Qu=Ri,Xu=Qu(Object,"create"),Cn=Xu,ps=Cn;function Zu(){this.__data__=ps?ps(null):{},this.size=0}var ku=Zu;function ec(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var tc=ec,nc=Cn,rc="__lodash_hash_undefined__",sc=Object.prototype,ic=sc.hasOwnProperty;function oc(e){var t=this.__data__;if(nc){var r=t[e];return r===rc?void 0:r}return ic.call(t,e)?t[e]:void 0}var lc=oc,ac=Cn,uc=Object.prototype,cc=uc.hasOwnProperty;function fc(e){var t=this.__data__;return ac?t[e]!==void 0:cc.call(t,e)}var dc=fc,hc=Cn,pc="__lodash_hash_undefined__";function gc(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=hc&&t===void 0?pc:t,this}var _c=gc,mc=ku,bc=tc,vc=lc,yc=dc,xc=_c;function ht(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}ht.prototype.clear=mc;ht.prototype.delete=bc;ht.prototype.get=vc;ht.prototype.has=yc;ht.prototype.set=xc;var Cc=ht;function Sc(){this.__data__=[],this.size=0}var wc=Sc;function Tc(e,t){return e===t||e!==e&&t!==t}var Ec=Tc,Oc=Ec;function Ic(e,t){for(var r=e.length;r--;)if(Oc(e[r][0],t))return r;return-1}var Sn=Ic,Ac=Sn,Mc=Array.prototype,Pc=Mc.splice;function Rc(e){var t=this.__data__,r=Ac(t,e);if(r<0)return!1;var s=t.length-1;return r==s?t.pop():Pc.call(t,r,1),--this.size,!0}var Dc=Rc,Fc=Sn;function $c(e){var t=this.__data__,r=Fc(t,e);return r<0?void 0:t[r][1]}var jc=$c,Nc=Sn;function Vc(e){return Nc(this.__data__,e)>-1}var Uc=Vc,Hc=Sn;function Lc(e,t){var r=this.__data__,s=Hc(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}var Bc=Lc,Gc=wc,Kc=Dc,Wc=jc,zc=Uc,qc=Bc;function pt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}pt.prototype.clear=Gc;pt.prototype.delete=Kc;pt.prototype.get=Wc;pt.prototype.has=zc;pt.prototype.set=qc;var Yc=pt,Jc=Ri,Qc=Cr,Xc=Jc(Qc,"Map"),Zc=Xc,gs=Cc,kc=Yc,ef=Zc;function tf(){this.size=0,this.__data__={hash:new gs,map:new(ef||kc),string:new gs}}var nf=tf;function rf(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var sf=rf,of=sf;function lf(e,t){var r=e.__data__;return of(t)?r[typeof t=="string"?"string":"hash"]:r.map}var wn=lf,af=wn;function uf(e){var t=af(this,e).delete(e);return this.size-=t?1:0,t}var cf=uf,ff=wn;function df(e){return ff(this,e).get(e)}var hf=df,pf=wn;function gf(e){return pf(this,e).has(e)}var _f=gf,mf=wn;function bf(e,t){var r=mf(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}var vf=bf,yf=nf,xf=cf,Cf=hf,Sf=_f,wf=vf;function gt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}gt.prototype.clear=yf;gt.prototype.delete=xf;gt.prototype.get=Cf;gt.prototype.has=Sf;gt.prototype.set=wf;var Tf=gt,Di=Tf,Ef="Expected a function";function Tr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Ef);var r=function(){var s=arguments,n=t?t.apply(this,s):s[0],i=r.cache;if(i.has(n))return i.get(n);var o=e.apply(this,s);return r.cache=i.set(n,o)||i,o};return r.cache=new(Tr.Cache||Di),r}Tr.Cache=Di;var Of=Tr,If=Of,Af=500;function Mf(e){var t=If(e,function(s){return r.size===Af&&r.clear(),s}),r=t.cache;return t}var Pf=Mf,Rf=Pf,Df=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ff=/\\(\\)?/g,$f=Rf(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Df,function(r,s,n,i){t.push(n?i.replace(Ff,"$1"):s||r)}),t}),jf=$f;function Nf(e,t){for(var r=-1,s=e==null?0:e.length,n=Array(s);++r<s;)n[r]=t(e[r],r,e);return n}var Vf=Nf,_s=Sr,Uf=Vf,Hf=xr,Lf=wr,Bf=1/0,ms=_s?_s.prototype:void 0,bs=ms?ms.toString:void 0;function Fi(e){if(typeof e=="string")return e;if(Hf(e))return Uf(e,Fi)+"";if(Lf(e))return bs?bs.call(e):"";var t=e+"";return t=="0"&&1/e==-Bf?"-0":t}var Gf=Fi,Kf=Gf;function Wf(e){return e==null?"":Kf(e)}var zf=Wf,qf=xr,Yf=hu,Jf=jf,Qf=zf;function Xf(e,t){return qf(e)?e:Yf(e,t)?[e]:Jf(Qf(e))}var Zf=Xf,kf=wr,ed=1/0;function td(e){if(typeof e=="string"||kf(e))return e;var t=e+"";return t=="0"&&1/e==-ed?"-0":t}var nd=td,rd=Zf,sd=nd;function id(e,t){t=rd(t,e);for(var r=0,s=t.length;e!=null&&r<s;)e=e[sd(t[r++])];return r&&r==s?e:void 0}var od=id,ld=od;function ad(e,t,r){var s=e==null?void 0:ld(e,t);return s===void 0?r:s}var ud=ad;const cd=Oi(ud);const Ve=100,Er=100,an=100;function rt(e,t){const r=(t-90)*Math.PI/180;return{x:Er+e*Math.cos(r),y:an+e*Math.sin(r)}}function Gn(e,t,r){const s=rt(e,r),n=rt(e,t),i=r-t<=180?"0":"1";return["M",s.x,s.y,"A",e,e,0,i,0,n.x,n.y,"L",Er,an].join(" ")}const fd={name:"Gauge",setup(){const{uid:e}=Pl();return{uid:e}},props:{value:{type:Number,default:70},min:{type:Number,default:0},max:{type:Number,default:100},startAngle:{type:Number,default:-90,validator:e=>((e<-360||e>360)&&console.warn('GaugeChart - props "startAngle" must be between -360 and 360'),!0)},endAngle:{type:Number,default:90,validator:e=>((e<-360||e>360)&&console.warn('GaugeChart - props "endAngle" must be between -360 and 360'),!0)},innerRadius:{type:Number,default:60,validator:e=>((e<0||e>100)&&console.warn(`GaugeChart - props "innerRadius" must be between 0 and ${Ve}`),!0)},separatorStep:{type:Number,default:10,validator:e=>(e!==null&&e<0&&console.warn('GaugeChart - props "separatorStep" must be null or >= 0'),!0)},separatorThickness:{type:Number,default:4},gaugeColor:{type:[Array,String],default:()=>[{offset:0,color:"#347AB0"},{offset:100,color:"#8CDFAD"}]},baseColor:{type:String,default:"#DDDDDD"},easing:{type:String,default:"Circular.Out"},scaleInterval:{type:Number,default:5,validator:e=>(e!==null&&e<0&&console.warn('GaugeChart - props "scaleInterval" must be null or >= 0'),!0)},transitionDuration:{type:Number,default:1500}},data(){return{X_CENTER:Er,Y_CENTER:an,RADIUS:Ve,tweenedValue:this.min}},computed:{height(){const{endAngle:e,startAngle:t}=this,{y:r}=rt(Ve,t),{y:s}=rt(Ve,e);return Math.abs(e)<=180&&Math.abs(t)<=180?Math.max(an,r,s):Ve*2},basePath(){const{startAngle:e,endAngle:t}=this;return Gn(Ve,e,t)},gaugePath(){const{endAngle:e,getAngle:t,tweenedValue:r}=this;return Gn(Ve,t(r),e)},totalAngle(){const{startAngle:e,endAngle:t}=this;return Math.abs(t-e)},isCircle(){return Math.abs(this.totalAngle)===360},hasGradient(){return Array.isArray(this.gaugeColor)},separatorPaths(){const{separatorStep:e,getAngle:t,min:r,max:s,separatorThickness:n,isCircle:i}=this;if(e>0){const o=[];let l=i?r:r+e;for(l;l<s;l+=e){const a=t(l),d=n/2;o.push(Gn(Ve+2,a-d,a+d))}return o}return null},scaleLines(){const{scaleInterval:e,isCircle:t,min:r,max:s,getAngle:n,innerRadius:i}=this;if(e>0){const o=[];let l=t?r+e:r;for(l;l<s+e;l+=e){const a=n(l),d=rt(i-4,a),f=rt(i-8,a);o.push({xS:d.x,yS:d.y,xE:f.x,yE:f.y})}return o}return null}},watch:{value:{immediate:!0,handler(e){const{easing:t,tweenedValue:r,min:s,max:n,transitionDuration:i}=this;let o=e;e<s&&(o=s),e>n&&(o=n);function l(){Ln.update()&&requestAnimationFrame(l)}new Ln.Tween({tweeningValue:r}).to({tweeningValue:o},i).easing(cd(Ln.Easing,t)).onUpdate(a=>{this.tweenedValue=a.tweeningValue}).start(),l()}}},methods:{getAngle(e){const{min:t,max:r,startAngle:s,totalAngle:n}=this,i=r-t||1;return e*n/i+s}}},dd={class:"gauge"},hd=["viewBox"],pd=["id"],gd=["id"],_d=["offset","stop-color"],md=["id"],bd=["r","cx","cy"],vd=["r","cx","cy"],yd=["d"],xd=["mask"],Cd=["r","cx","cy","fill"],Sd=["d","fill"],wd=["r","cx","cy","fill"],Td=["d","fill","filter"],Ed=["x1","y1","x2","y2","stroke"],Od=["height"];function Id(e,t,r,s,n,i){return J(),se("div",dd,[i.height?(J(),se("svg",{key:0,viewBox:`0 0 ${n.RADIUS*2} ${i.height}`,height:"100%",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[C("defs",null,[C("filter",{id:`innershadow-${s.uid}`},t[0]||(t[0]=[C("feFlood",{"flood-color":"#c7c6c6"},null,-1),C("feComposite",{in2:"SourceAlpha",operator:"out"},null,-1),C("feGaussianBlur",{stdDeviation:"2",result:"blur"},null,-1),C("feComposite",{operator:"atop",in2:"SourceGraphic"},null,-1)]),8,pd),i.hasGradient?(J(),se("linearGradient",{key:0,id:`gaugeGradient-${s.uid}`},[(J(!0),se(oe,null,Fn(r.gaugeColor,(o,l)=>(J(),se("stop",{key:`${o.color}-${l}`,offset:`${o.offset}%`,"stop-color":o.color},null,8,_d))),128))],8,gd)):Kt("",!0),C("mask",{id:`innerCircle-${s.uid}`},[C("circle",{r:n.RADIUS-.5,cx:n.X_CENTER,cy:n.Y_CENTER,fill:"white"},null,8,bd),C("circle",{r:r.innerRadius,cx:n.X_CENTER,cy:n.Y_CENTER,fill:"black"},null,8,vd),i.separatorPaths?(J(!0),se(oe,{key:0},Fn(i.separatorPaths,(o,l)=>(J(),se("path",{key:l,d:o,fill:"black"},null,8,yd))),128)):Kt("",!0)],8,md)]),C("g",{mask:`url(#innerCircle-${s.uid})`},[i.isCircle?(J(),se("circle",{key:0,r:n.RADIUS,cx:n.X_CENTER,cy:n.Y_CENTER,fill:i.hasGradient?`url(#gaugeGradient-${s.uid})`:r.gaugeColor},null,8,Cd)):(J(),se("path",{key:1,d:i.basePath,fill:i.hasGradient?`url(#gaugeGradient-${s.uid})`:r.gaugeColor},null,8,Sd)),r.value===r.min&&i.isCircle?(J(),se("circle",{key:2,r:n.RADIUS,cx:n.X_CENTER,cy:n.Y_CENTER,fill:r.baseColor},null,8,wd)):(J(),se("path",{key:3,d:i.gaugePath,fill:r.baseColor,filter:`url(#innershadow-${s.uid})`},null,8,Td))],8,xd),i.scaleLines?(J(!0),se(oe,{key:0},Fn(i.scaleLines,(o,l)=>(J(),se("line",{key:`${o.xE}-${l}`,x1:o.xS,y1:o.yS,x2:o.xE,y2:o.yE,"stroke-width":"1",stroke:r.baseColor},null,8,Ed))),128)):Kt("",!0),(J(),se("foreignObject",{x:"0",y:"0",width:"100%",height:i.height},[qo(e.$slots,"default")],8,Od))],8,hd)):Kt("",!0)])}const vs=Ei(fd,[["render",Id]]),$i={install(e,t){e.component("vue-svg-gauge",vs),e.component("VueSvgGauge",vs)}};let un=null;typeof window<"u"?un=window.Vue:typeof global<"u"&&(un=global.Vue);un&&un.use($i);const ji=aa(Da);ji.use($i);ji.mount("#app");