mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 09:27:19 +08:00
527 lines
2.5 MiB
527 lines
2.5 MiB
var zi=Object.defineProperty;var Hi=(t,r,V)=>r in t?zi(t,r,{enumerable:!0,configurable:!0,writable:!0,value:V}):t[r]=V;var io=(t,r,V)=>(Hi(t,typeof r!="symbol"?r+"":r,V),V);(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const ie of document.querySelectorAll('link[rel="modulepreload"]'))oe(ie);new MutationObserver(ie=>{for(const le of ie)if(le.type==="childList")for(const ue of le.addedNodes)ue.tagName==="LINK"&&ue.rel==="modulepreload"&&oe(ue)}).observe(document,{childList:!0,subtree:!0});function V(ie){const le={};return ie.integrity&&(le.integrity=ie.integrity),ie.referrerPolicy&&(le.referrerPolicy=ie.referrerPolicy),ie.crossOrigin==="use-credentials"?le.credentials="include":ie.crossOrigin==="anonymous"?le.credentials="omit":le.credentials="same-origin",le}function oe(ie){if(ie.ep)return;ie.ep=!0;const le=V(ie);fetch(ie.href,le)}})();function makeMap(t,r){const V=Object.create(null),oe=t.split(",");for(let ie=0;ie<oe.length;ie++)V[oe[ie]]=!0;return r?ie=>!!V[ie.toLowerCase()]:ie=>!!V[ie]}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=t=>onRE.test(t),isModelListener=t=>t.startsWith("onUpdate:"),extend$2=Object.assign,remove=(t,r)=>{const V=t.indexOf(r);V>-1&&t.splice(V,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$4=(t,r)=>hasOwnProperty$g.call(t,r),isArray$c=Array.isArray,isMap$3=t=>toTypeString$1(t)==="[object Map]",isSet$3=t=>toTypeString$1(t)==="[object Set]",isDate$3=t=>toTypeString$1(t)==="[object Date]",isRegExp$5=t=>toTypeString$1(t)==="[object RegExp]",isFunction$5=t=>typeof t=="function",isString$6=t=>typeof t=="string",isSymbol$2=t=>typeof t=="symbol",isObject$9=t=>t!==null&&typeof t=="object",isPromise=t=>isObject$9(t)&&isFunction$5(t.then)&&isFunction$5(t.catch),objectToString$3=Object.prototype.toString,toTypeString$1=t=>objectToString$3.call(t),toRawType=t=>toTypeString$1(t).slice(8,-1),isPlainObject$4=t=>toTypeString$1(t)==="[object Object]",isIntegerKey=t=>isString$6(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=t=>{const r=Object.create(null);return V=>r[V]||(r[V]=t(V))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(t=>t.replace(camelizeRE,(r,V)=>V?V.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(t=>t.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$2=cacheStringFunction(t=>t.charAt(0).toUpperCase()+t.slice(1)),toHandlerKey=cacheStringFunction(t=>t?`on${capitalize$2(t)}`:""),hasChanged=(t,r)=>!Object.is(t,r),invokeArrayFns=(t,r)=>{for(let V=0;V<t.length;V++)t[V](r)},def=(t,r,V)=>{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:V})},looseToNumber=t=>{const r=parseFloat(t);return isNaN(r)?t:r},toNumber$1=t=>{const r=isString$6(t)?Number(t):NaN;return isNaN(r)?t:r};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GLOBALS_WHITE_LISTED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",isGloballyWhitelisted=makeMap(GLOBALS_WHITE_LISTED);function normalizeStyle$1(t){if(isArray$c(t)){const r={};for(let V=0;V<t.length;V++){const oe=t[V],ie=isString$6(oe)?parseStringStyle(oe):normalizeStyle$1(oe);if(ie)for(const le in ie)r[le]=ie[le]}return r}else{if(isString$6(t))return t;if(isObject$9(t))return t}}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(t){const r={};return t.replace(styleCommentRE,"").split(listDelimiterRE).forEach(V=>{if(V){const oe=V.split(propertyDelimiterRE);oe.length>1&&(r[oe[0].trim()]=oe[1].trim())}}),r}function normalizeClass(t){let r="";if(isString$6(t))r=t;else if(isArray$c(t))for(let V=0;V<t.length;V++){const oe=normalizeClass(t[V]);oe&&(r+=oe+" ")}else if(isObject$9(t))for(const V in t)t[V]&&(r+=V+" ");return r.trim()}function normalizeProps(t){if(!t)return null;let{class:r,style:V}=t;return r&&!isString$6(r)&&(t.class=normalizeClass(r)),V&&(t.style=normalizeStyle$1(V)),t}const HTML_TAGS="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",isHTMLTag=makeMap(HTML_TAGS),specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(t){return!!t||t===""}function looseCompareArrays(t,r){if(t.length!==r.length)return!1;let V=!0;for(let oe=0;V&&oe<t.length;oe++)V=looseEqual(t[oe],r[oe]);return V}function looseEqual(t,r){if(t===r)return!0;let V=isDate$3(t),oe=isDate$3(r);if(V||oe)return V&&oe?t.getTime()===r.getTime():!1;if(V=isSymbol$2(t),oe=isSymbol$2(r),V||oe)return t===r;if(V=isArray$c(t),oe=isArray$c(r),V||oe)return V&&oe?looseCompareArrays(t,r):!1;if(V=isObject$9(t),oe=isObject$9(r),V||oe){if(!V||!oe)return!1;const ie=Object.keys(t).length,le=Object.keys(r).length;if(ie!==le)return!1;for(const ue in t){const de=t.hasOwnProperty(ue),pe=r.hasOwnProperty(ue);if(de&&!pe||!de&&pe||!looseEqual(t[ue],r[ue]))return!1}}return String(t)===String(r)}function looseIndexOf(t,r){return t.findIndex(V=>looseEqual(V,r))}const toDisplayString$1=t=>isString$6(t)?t:t==null?"":isArray$c(t)||isObject$9(t)&&(t.toString===objectToString$3||!isFunction$5(t.toString))?JSON.stringify(t,replacer,2):String(t),replacer=(t,r)=>r&&r.__v_isRef?replacer(t,r.value):isMap$3(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((V,[oe,ie])=>(V[`${oe} =>`]=ie,V),{})}:isSet$3(r)?{[`Set(${r.size})`]:[...r.values()]}:isObject$9(r)&&!isArray$c(r)&&!isPlainObject$4(r)?String(r):r;let activeEffectScope;class EffectScope{constructor(r=!1){this.detached=r,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!r&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(r){if(this._active){const V=activeEffectScope;try{return activeEffectScope=this,r()}finally{activeEffectScope=V}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(r){if(this._active){let V,oe;for(V=0,oe=this.effects.length;V<oe;V++)this.effects[V].stop();for(V=0,oe=this.cleanups.length;V<oe;V++)this.cleanups[V]();if(this.scopes)for(V=0,oe=this.scopes.length;V<oe;V++)this.scopes[V].stop(!0);if(!this.detached&&this.parent&&!r){const ie=this.parent.scopes.pop();ie&&ie!==this&&(this.parent.scopes[this.index]=ie,ie.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope(t){return new EffectScope(t)}function recordEffectScope(t,r=activeEffectScope){r&&r.active&&r.effects.push(t)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(t){activeEffectScope&&activeEffectScope.cleanups.push(t)}const createDep=t=>{const r=new Set(t);return r.w=0,r.n=0,r},wasTracked=t=>(t.w&trackOpBit)>0,newTracked=t=>(t.n&trackOpBit)>0,initDepMarkers=({deps:t})=>{if(t.length)for(let r=0;r<t.length;r++)t[r].w|=trackOpBit},finalizeDepMarkers=t=>{const{deps:r}=t;if(r.length){let V=0;for(let oe=0;oe<r.length;oe++){const ie=r[oe];wasTracked(ie)&&!newTracked(ie)?ie.delete(t):r[V++]=ie,ie.w&=~trackOpBit,ie.n&=~trackOpBit}r.length=V}},targetMap=new WeakMap;let effectTrackDepth=0,trackOpBit=1;const maxMarkerBits=30;let activeEffect;const ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");class ReactiveEffect{constructor(r,V=null,oe){this.fn=r,this.scheduler=V,this.active=!0,this.deps=[],this.parent=void 0,recordEffectScope(this,oe)}run(){if(!this.active)return this.fn();let r=activeEffect,V=shouldTrack;for(;r;){if(r===this)return;r=r.parent}try{return this.parent=activeEffect,activeEffect=this,shouldTrack=!0,trackOpBit=1<<++effectTrackDepth,effectTrackDepth<=maxMarkerBits?initDepMarkers(this):cleanupEffect(this),this.fn()}finally{effectTrackDepth<=maxMarkerBits&&finalizeDepMarkers(this),trackOpBit=1<<--effectTrackDepth,activeEffect=this.parent,shouldTrack=V,this.parent=void 0,this.deferStop&&this.stop()}}stop(){activeEffect===this?this.deferStop=!0:this.active&&(cleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function cleanupEffect(t){const{deps:r}=t;if(r.length){for(let V=0;V<r.length;V++)r[V].delete(t);r.length=0}}function effect(t,r){t.effect&&(t=t.effect.fn);const V=new ReactiveEffect(t);r&&(extend$2(V,r),r.scope&&recordEffectScope(V,r.scope)),(!r||!r.lazy)&&V.run();const oe=V.run.bind(V);return oe.effect=V,oe}function stop$1(t){t.effect.stop()}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const t=trackStack.pop();shouldTrack=t===void 0?!0:t}function track(t,r,V){if(shouldTrack&&activeEffect){let oe=targetMap.get(t);oe||targetMap.set(t,oe=new Map);let ie=oe.get(V);ie||oe.set(V,ie=createDep()),trackEffects(ie)}}function trackEffects(t,r){let V=!1;effectTrackDepth<=maxMarkerBits?newTracked(t)||(t.n|=trackOpBit,V=!wasTracked(t)):V=!t.has(activeEffect),V&&(t.add(activeEffect),activeEffect.deps.push(t))}function trigger$2(t,r,V,oe,ie,le){const ue=targetMap.get(t);if(!ue)return;let de=[];if(r==="clear")de=[...ue.values()];else if(V==="length"&&isArray$c(t)){const pe=Number(oe);ue.forEach((he,_e)=>{(_e==="length"||_e>=pe)&&de.push(he)})}else switch(V!==void 0&&de.push(ue.get(V)),r){case"add":isArray$c(t)?isIntegerKey(V)&&de.push(ue.get("length")):(de.push(ue.get(ITERATE_KEY)),isMap$3(t)&&de.push(ue.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$c(t)||(de.push(ue.get(ITERATE_KEY)),isMap$3(t)&&de.push(ue.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$3(t)&&de.push(ue.get(ITERATE_KEY));break}if(de.length===1)de[0]&&triggerEffects(de[0]);else{const pe=[];for(const he of de)he&&pe.push(...he);triggerEffects(createDep(pe))}}function triggerEffects(t,r){const V=isArray$c(t)?t:[...t];for(const oe of V)oe.computed&&triggerEffect(oe);for(const oe of V)oe.computed||triggerEffect(oe)}function triggerEffect(t,r){(t!==activeEffect||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function getDepFromReactive(t,r){var V;return(V=targetMap.get(t))==null?void 0:V.get(r)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(isSymbol$2)),get$1$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),shallowReadonlyGet=createGetter(!0,!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...V){const oe=toRaw(this);for(let le=0,ue=this.length;le<ue;le++)track(oe,"get",le+"");const ie=oe[r](...V);return ie===-1||ie===!1?oe[r](...V.map(toRaw)):ie}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...V){pauseTracking();const oe=toRaw(this)[r].apply(this,V);return resetTracking(),oe}}),t}function hasOwnProperty$f(t){const r=toRaw(this);return track(r,"has",t),r.hasOwnProperty(t)}function createGetter(t=!1,r=!1){return function(oe,ie,le){if(ie==="__v_isReactive")return!t;if(ie==="__v_isReadonly")return t;if(ie==="__v_isShallow")return r;if(ie==="__v_raw"&&le===(t?r?shallowReadonlyMap:readonlyMap:r?shallowReactiveMap:reactiveMap).get(oe))return oe;const ue=isArray$c(oe);if(!t){if(ue&&hasOwn$4(arrayInstrumentations,ie))return Reflect.get(arrayInstrumentations,ie,le);if(ie==="hasOwnProperty")return hasOwnProperty$f}const de=Reflect.get(oe,ie,le);return(isSymbol$2(ie)?builtInSymbols.has(ie):isNonTrackableKeys(ie))||(t||track(oe,"get",ie),r)?de:isRef(de)?ue&&isIntegerKey(ie)?de:de.value:isObject$9(de)?t?readonly(de):reactive(de):de}}const set$1$1=createSetter(),shallowSet=createSetter(!0);function createSetter(t=!1){return function(V,oe,ie,le){let ue=V[oe];if(isReadonly(ue)&&isRef(ue)&&!isRef(ie))return!1;if(!t&&(!isShallow(ie)&&!isReadonly(ie)&&(ue=toRaw(ue),ie=toRaw(ie)),!isArray$c(V)&&isRef(ue)&&!isRef(ie)))return ue.value=ie,!0;const de=isArray$c(V)&&isIntegerKey(oe)?Number(oe)<V.length:hasOwn$4(V,oe),pe=Reflect.set(V,oe,ie,le);return V===toRaw(le)&&(de?hasChanged(ie,ue)&&trigger$2(V,"set",oe,ie):trigger$2(V,"add",oe,ie)),pe}}function deleteProperty(t,r){const V=hasOwn$4(t,r);t[r];const oe=Reflect.deleteProperty(t,r);return oe&&V&&trigger$2(t,"delete",r,void 0),oe}function has$1$1(t,r){const V=Reflect.has(t,r);return(!isSymbol$2(r)||!builtInSymbols.has(r))&&track(t,"has",r),V}function ownKeys(t){return track(t,"iterate",isArray$c(t)?"length":ITERATE_KEY),Reflect.ownKeys(t)}const mutableHandlers={get:get$1$1,set:set$1$1,deleteProperty,has:has$1$1,ownKeys},readonlyHandlers={get:readonlyGet,set(t,r){return!0},deleteProperty(t,r){return!0}},shallowReactiveHandlers=extend$2({},mutableHandlers,{get:shallowGet,set:shallowSet}),shallowReadonlyHandlers=extend$2({},readonlyHandlers,{get:shallowReadonlyGet}),toShallow=t=>t,getProto$1=t=>Reflect.getPrototypeOf(t);function get$2(t,r,V=!1,oe=!1){t=t.__v_raw;const ie=toRaw(t),le=toRaw(r);V||(r!==le&&track(ie,"get",r),track(ie,"get",le));const{has:ue}=getProto$1(ie),de=oe?toShallow:V?toReadonly:toReactive;if(ue.call(ie,r))return de(t.get(r));if(ue.call(ie,le))return de(t.get(le));t!==ie&&t.get(r)}function has$5(t,r=!1){const V=this.__v_raw,oe=toRaw(V),ie=toRaw(t);return r||(t!==ie&&track(oe,"has",t),track(oe,"has",ie)),t===ie?V.has(t):V.has(t)||V.has(ie)}function size(t,r=!1){return t=t.__v_raw,!r&&track(toRaw(t),"iterate",ITERATE_KEY),Reflect.get(t,"size",t)}function add$1(t){t=toRaw(t);const r=toRaw(this);return getProto$1(r).has.call(r,t)||(r.add(t),trigger$2(r,"add",t,t)),this}function set$3(t,r){r=toRaw(r);const V=toRaw(this),{has:oe,get:ie}=getProto$1(V);let le=oe.call(V,t);le||(t=toRaw(t),le=oe.call(V,t));const ue=ie.call(V,t);return V.set(t,r),le?hasChanged(r,ue)&&trigger$2(V,"set",t,r):trigger$2(V,"add",t,r),this}function deleteEntry(t){const r=toRaw(this),{has:V,get:oe}=getProto$1(r);let ie=V.call(r,t);ie||(t=toRaw(t),ie=V.call(r,t)),oe&&oe.call(r,t);const le=r.delete(t);return ie&&trigger$2(r,"delete",t,void 0),le}function clear$2(){const t=toRaw(this),r=t.size!==0,V=t.clear();return r&&trigger$2(t,"clear",void 0,void 0),V}function createForEach(t,r){return function(oe,ie){const le=this,ue=le.__v_raw,de=toRaw(ue),pe=r?toShallow:t?toReadonly:toReactive;return!t&&track(de,"iterate",ITERATE_KEY),ue.forEach((he,_e)=>oe.call(ie,pe(he),pe(_e),le))}}function createIterableMethod(t,r,V){return function(...oe){const ie=this.__v_raw,le=toRaw(ie),ue=isMap$3(le),de=t==="entries"||t===Symbol.iterator&&ue,pe=t==="keys"&&ue,he=ie[t](...oe),_e=V?toShallow:r?toReadonly:toReactive;return!r&&track(le,"iterate",pe?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:$e,done:Ie}=he.next();return Ie?{value:$e,done:Ie}:{value:de?[_e($e[0]),_e($e[1])]:_e($e),done:Ie}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(t){return function(...r){return t==="delete"?!1:this}}function createInstrumentations(){const t={get(le){return get$2(this,le)},get size(){return size(this)},has:has$5,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!1)},r={get(le){return get$2(this,le,!1,!0)},get size(){return size(this)},has:has$5,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!0)},V={get(le){return get$2(this,le,!0)},get size(){return size(this,!0)},has(le){return has$5.call(this,le,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},oe={get(le){return get$2(this,le,!0,!0)},get size(){return size(this,!0)},has(le){return has$5.call(this,le,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(le=>{t[le]=createIterableMethod(le,!1,!1),V[le]=createIterableMethod(le,!0,!1),r[le]=createIterableMethod(le,!1,!0),oe[le]=createIterableMethod(le,!0,!0)}),[t,V,r,oe]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(t,r){const V=r?t?shallowReadonlyInstrumentations:shallowInstrumentations:t?readonlyInstrumentations:mutableInstrumentations;return(oe,ie,le)=>ie==="__v_isReactive"?!t:ie==="__v_isReadonly"?t:ie==="__v_raw"?oe:Reflect.get(hasOwn$4(V,ie)&&ie in oe?V:oe,ie,le)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(t){return t.__v_skip||!Object.isExtensible(t)?0:targetTypeMap(toRawType(t))}function reactive(t){return isReadonly(t)?t:createReactiveObject(t,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(t){return createReactiveObject(t,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(t){return createReactiveObject(t,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(t){return createReactiveObject(t,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(t,r,V,oe,ie){if(!isObject$9(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const le=ie.get(t);if(le)return le;const ue=getTargetType(t);if(ue===0)return t;const de=new Proxy(t,ue===2?oe:V);return ie.set(t,de),de}function isReactive(t){return isReadonly(t)?isReactive(t.__v_raw):!!(t&&t.__v_isReactive)}function isReadonly(t){return!!(t&&t.__v_isReadonly)}function isShallow(t){return!!(t&&t.__v_isShallow)}function isProxy(t){return isReactive(t)||isReadonly(t)}function toRaw(t){const r=t&&t.__v_raw;return r?toRaw(r):t}function markRaw(t){return def(t,"__v_skip",!0),t}const toReactive=t=>isObject$9(t)?reactive(t):t,toReadonly=t=>isObject$9(t)?readonly(t):t;function trackRefValue(t){shouldTrack&&activeEffect&&(t=toRaw(t),trackEffects(t.dep||(t.dep=createDep())))}function triggerRefValue(t,r){t=toRaw(t);const V=t.dep;V&&triggerEffects(V)}function isRef(t){return!!(t&&t.__v_isRef===!0)}function ref(t){return createRef(t,!1)}function shallowRef(t){return createRef(t,!0)}function createRef(t,r){return isRef(t)?t:new RefImpl(t,r)}class RefImpl{constructor(r,V){this.__v_isShallow=V,this.dep=void 0,this.__v_isRef=!0,this._rawValue=V?r:toRaw(r),this._value=V?r:toReactive(r)}get value(){return trackRefValue(this),this._value}set value(r){const V=this.__v_isShallow||isShallow(r)||isReadonly(r);r=V?r:toRaw(r),hasChanged(r,this._rawValue)&&(this._rawValue=r,this._value=V?r:toReactive(r),triggerRefValue(this))}}function triggerRef(t){triggerRefValue(t)}function unref(t){return isRef(t)?t.value:t}function toValue$1(t){return isFunction$5(t)?t():unref(t)}const shallowUnwrapHandlers={get:(t,r,V)=>unref(Reflect.get(t,r,V)),set:(t,r,V,oe)=>{const ie=t[r];return isRef(ie)&&!isRef(V)?(ie.value=V,!0):Reflect.set(t,r,V,oe)}};function proxyRefs(t){return isReactive(t)?t:new Proxy(t,shallowUnwrapHandlers)}class CustomRefImpl{constructor(r){this.dep=void 0,this.__v_isRef=!0;const{get:V,set:oe}=r(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=V,this._set=oe}get value(){return this._get()}set value(r){this._set(r)}}function customRef(t){return new CustomRefImpl(t)}function toRefs(t){const r=isArray$c(t)?new Array(t.length):{};for(const V in t)r[V]=propertyToRef(t,V);return r}class ObjectRefImpl{constructor(r,V,oe){this._object=r,this._key=V,this._defaultValue=oe,this.__v_isRef=!0}get value(){const r=this._object[this._key];return r===void 0?this._defaultValue:r}set value(r){this._object[this._key]=r}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(r){this._getter=r,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef(t,r,V){return isRef(t)?t:isFunction$5(t)?new GetterRefImpl(t):isObject$9(t)&&arguments.length>1?propertyToRef(t,r,V):ref(t)}function propertyToRef(t,r,V){const oe=t[r];return isRef(oe)?oe:new ObjectRefImpl(t,r,V)}class ComputedRefImpl{constructor(r,V,oe,ie){this._setter=V,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ReactiveEffect(r,()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!ie,this.__v_isReadonly=oe}get value(){const r=toRaw(this);return trackRefValue(r),(r._dirty||!r._cacheable)&&(r._dirty=!1,r._value=r.effect.run()),r._value}set value(r){this._setter(r)}}function computed$1(t,r,V=!1){let oe,ie;const le=isFunction$5(t);return le?(oe=t,ie=NOOP):(oe=t.get,ie=t.set),new ComputedRefImpl(oe,ie,le||!ie,V)}function warn$2(t,...r){}function assertNumber(t,r){}function callWithErrorHandling(t,r,V,oe){let ie;try{ie=oe?t(...oe):t()}catch(le){handleError(le,r,V)}return ie}function callWithAsyncErrorHandling(t,r,V,oe){if(isFunction$5(t)){const le=callWithErrorHandling(t,r,V,oe);return le&&isPromise(le)&&le.catch(ue=>{handleError(ue,r,V)}),le}const ie=[];for(let le=0;le<t.length;le++)ie.push(callWithAsyncErrorHandling(t[le],r,V,oe));return ie}function handleError(t,r,V,oe=!0){const ie=r?r.vnode:null;if(r){let le=r.parent;const ue=r.proxy,de=V;for(;le;){const he=le.ec;if(he){for(let _e=0;_e<he.length;_e++)if(he[_e](t,ue,de)===!1)return}le=le.parent}const pe=r.appContext.config.errorHandler;if(pe){callWithErrorHandling(pe,null,10,[t,ue,de]);return}}logError$1(t,V,ie,oe)}function logError$1(t,r,V,oe=!0){console.error(t)}let isFlushing=!1,isFlushPending=!1;const queue=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(t){const r=currentFlushPromise||resolvedPromise;return t?r.then(this?t.bind(this):t):r}function findInsertionIndex(t){let r=flushIndex+1,V=queue.length;for(;r<V;){const oe=r+V>>>1;getId$1(queue[oe])<t?r=oe+1:V=oe}return r}function queueJob(t){(!queue.length||!queue.includes(t,isFlushing&&t.allowRecurse?flushIndex+1:flushIndex))&&(t.id==null?queue.push(t):queue.splice(findInsertionIndex(t.id),0,t),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(t){const r=queue.indexOf(t);r>flushIndex&&queue.splice(r,1)}function queuePostFlushCb(t){isArray$c(t)?pendingPostFlushCbs.push(...t):(!activePostFlushCbs||!activePostFlushCbs.includes(t,t.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(t),queueFlush()}function flushPreFlushCbs(t,r=isFlushing?flushIndex+1:0){for(;r<queue.length;r++){const V=queue[r];V&&V.pre&&(queue.splice(r,1),r--,V())}}function flushPostFlushCbs(t){if(pendingPostFlushCbs.length){const r=[...new Set(pendingPostFlushCbs)];if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...r);return}for(activePostFlushCbs=r,activePostFlushCbs.sort((V,oe)=>getId$1(V)-getId$1(oe)),postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId$1=t=>t.id==null?1/0:t.id,comparator=(t,r)=>{const V=getId$1(t)-getId$1(r);if(V===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return V};function flushJobs(t){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);const r=NOOP;try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const V=queue[flushIndex];V&&V.active!==!1&&callWithErrorHandling(V,null,14)}}finally{flushIndex=0,queue.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools,buffer=[];function setDevtoolsHook(t,r){var V,oe;devtools=t,devtools?(devtools.enabled=!0,buffer.forEach(({event:ie,args:le})=>devtools.emit(ie,...le)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((oe=(V=window.navigator)==null?void 0:V.userAgent)!=null&&oe.includes("jsdom"))?((r.__VUE_DEVTOOLS_HOOK_REPLAY__=r.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(le=>{setDevtoolsHook(le,r)}),setTimeout(()=>{devtools||(r.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(t,r,...V){if(t.isUnmounted)return;const oe=t.vnode.props||EMPTY_OBJ$1;let ie=V;const le=r.startsWith("update:"),ue=le&&r.slice(7);if(ue&&ue in oe){const _e=`${ue==="modelValue"?"model":ue}Modifiers`,{number:$e,trim:Ie}=oe[_e]||EMPTY_OBJ$1;Ie&&(ie=V.map(Ve=>isString$6(Ve)?Ve.trim():Ve)),$e&&(ie=V.map(looseToNumber))}let de,pe=oe[de=toHandlerKey(r)]||oe[de=toHandlerKey(camelize(r))];!pe&&le&&(pe=oe[de=toHandlerKey(hyphenate(r))]),pe&&callWithAsyncErrorHandling(pe,t,6,ie);const he=oe[de+"Once"];if(he){if(!t.emitted)t.emitted={};else if(t.emitted[de])return;t.emitted[de]=!0,callWithAsyncErrorHandling(he,t,6,ie)}}function normalizeEmitsOptions(t,r,V=!1){const oe=r.emitsCache,ie=oe.get(t);if(ie!==void 0)return ie;const le=t.emits;let ue={},de=!1;if(!isFunction$5(t)){const pe=he=>{const _e=normalizeEmitsOptions(he,r,!0);_e&&(de=!0,extend$2(ue,_e))};!V&&r.mixins.length&&r.mixins.forEach(pe),t.extends&&pe(t.extends),t.mixins&&t.mixins.forEach(pe)}return!le&&!de?(isObject$9(t)&&oe.set(t,null),null):(isArray$c(le)?le.forEach(pe=>ue[pe]=null):extend$2(ue,le),isObject$9(t)&&oe.set(t,ue),ue)}function isEmitListener(t,r){return!t||!isOn(r)?!1:(r=r.slice(2).replace(/Once$/,""),hasOwn$4(t,r[0].toLowerCase()+r.slice(1))||hasOwn$4(t,hyphenate(r))||hasOwn$4(t,r))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(t){const r=currentRenderingInstance;return currentRenderingInstance=t,currentScopeId=t&&t.type.__scopeId||null,r}function pushScopeId(t){currentScopeId=t}function popScopeId(){currentScopeId=null}const withScopeId=t=>withCtx;function withCtx(t,r=currentRenderingInstance,V){if(!r||t._n)return t;const oe=(...ie)=>{oe._d&&setBlockTracking(-1);const le=setCurrentRenderingInstance(r);let ue;try{ue=t(...ie)}finally{setCurrentRenderingInstance(le),oe._d&&setBlockTracking(1)}return ue};return oe._n=!0,oe._c=!0,oe._d=!0,oe}function markAttrsAccessed(){}function renderComponentRoot(t){const{type:r,vnode:V,proxy:oe,withProxy:ie,props:le,propsOptions:[ue],slots:de,attrs:pe,emit:he,render:_e,renderCache:$e,data:Ie,setupState:Ve,ctx:Fe,inheritAttrs:Ue}=t;let qe,Et;const At=setCurrentRenderingInstance(t);try{if(V.shapeFlag&4){const hn=ie||oe;qe=normalizeVNode(_e.call(hn,hn,$e,le,Ve,Ie,Fe)),Et=pe}else{const hn=r;qe=normalizeVNode(hn.length>1?hn(le,{attrs:pe,slots:de,emit:he}):hn(le,null)),Et=r.props?pe:getFunctionalFallthrough(pe)}}catch(hn){blockStack.length=0,handleError(hn,t,1),qe=createVNode(Comment)}let Lt=qe;if(Et&&Ue!==!1){const hn=Object.keys(Et),{shapeFlag:_n}=Lt;hn.length&&_n&7&&(ue&&hn.some(isModelListener)&&(Et=filterModelListeners(Et,ue)),Lt=cloneVNode(Lt,Et))}return V.dirs&&(Lt=cloneVNode(Lt),Lt.dirs=Lt.dirs?Lt.dirs.concat(V.dirs):V.dirs),V.transition&&(Lt.transition=V.transition),qe=Lt,setCurrentRenderingInstance(At),qe}function filterSingleRoot(t){let r;for(let V=0;V<t.length;V++){const oe=t[V];if(isVNode$1(oe)){if(oe.type!==Comment||oe.children==="v-if"){if(r)return;r=oe}}else return}return r}const getFunctionalFallthrough=t=>{let r;for(const V in t)(V==="class"||V==="style"||isOn(V))&&((r||(r={}))[V]=t[V]);return r},filterModelListeners=(t,r)=>{const V={};for(const oe in t)(!isModelListener(oe)||!(oe.slice(9)in r))&&(V[oe]=t[oe]);return V};function shouldUpdateComponent(t,r,V){const{props:oe,children:ie,component:le}=t,{props:ue,children:de,patchFlag:pe}=r,he=le.emitsOptions;if(r.dirs||r.transition)return!0;if(V&&pe>=0){if(pe&1024)return!0;if(pe&16)return oe?hasPropsChanged(oe,ue,he):!!ue;if(pe&8){const _e=r.dynamicProps;for(let $e=0;$e<_e.length;$e++){const Ie=_e[$e];if(ue[Ie]!==oe[Ie]&&!isEmitListener(he,Ie))return!0}}}else return(ie||de)&&(!de||!de.$stable)?!0:oe===ue?!1:oe?ue?hasPropsChanged(oe,ue,he):!0:!!ue;return!1}function hasPropsChanged(t,r,V){const oe=Object.keys(r);if(oe.length!==Object.keys(t).length)return!0;for(let ie=0;ie<oe.length;ie++){const le=oe[ie];if(r[le]!==t[le]&&!isEmitListener(V,le))return!0}return!1}function updateHOCHostEl({vnode:t,parent:r},V){for(;r&&r.subTree===t;)(t=r.vnode).el=V,r=r.parent}const isSuspense=t=>t.__isSuspense,SuspenseImpl={name:"Suspense",__isSuspense:!0,process(t,r,V,oe,ie,le,ue,de,pe,he){t==null?mountSuspense(r,V,oe,ie,le,ue,de,pe,he):patchSuspense(t,r,V,oe,ie,ue,de,pe,he)},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1(t,r){const V=t.props&&t.props[r];isFunction$5(V)&&V()}function mountSuspense(t,r,V,oe,ie,le,ue,de,pe){const{p:he,o:{createElement:_e}}=pe,$e=_e("div"),Ie=t.suspense=createSuspenseBoundary(t,ie,oe,r,$e,V,le,ue,de,pe);he(null,Ie.pendingBranch=t.ssContent,$e,null,oe,Ie,le,ue),Ie.deps>0?(triggerEvent$1(t,"onPending"),triggerEvent$1(t,"onFallback"),he(null,t.ssFallback,r,V,oe,null,le,ue),setActiveBranch(Ie,t.ssFallback)):Ie.resolve(!1,!0)}function patchSuspense(t,r,V,oe,ie,le,ue,de,{p:pe,um:he,o:{createElement:_e}}){const $e=r.suspense=t.suspense;$e.vnode=r,r.el=t.el;const Ie=r.ssContent,Ve=r.ssFallback,{activeBranch:Fe,pendingBranch:Ue,isInFallback:qe,isHydrating:Et}=$e;if(Ue)$e.pendingBranch=Ie,isSameVNodeType(Ie,Ue)?(pe(Ue,Ie,$e.hiddenContainer,null,ie,$e,le,ue,de),$e.deps<=0?$e.resolve():qe&&(pe(Fe,Ve,V,oe,ie,null,le,ue,de),setActiveBranch($e,Ve))):($e.pendingId++,Et?($e.isHydrating=!1,$e.activeBranch=Ue):he(Ue,ie,$e),$e.deps=0,$e.effects.length=0,$e.hiddenContainer=_e("div"),qe?(pe(null,Ie,$e.hiddenContainer,null,ie,$e,le,ue,de),$e.deps<=0?$e.resolve():(pe(Fe,Ve,V,oe,ie,null,le,ue,de),setActiveBranch($e,Ve))):Fe&&isSameVNodeType(Ie,Fe)?(pe(Fe,Ie,V,oe,ie,$e,le,ue,de),$e.resolve(!0)):(pe(null,Ie,$e.hiddenContainer,null,ie,$e,le,ue,de),$e.deps<=0&&$e.resolve()));else if(Fe&&isSameVNodeType(Ie,Fe))pe(Fe,Ie,V,oe,ie,$e,le,ue,de),setActiveBranch($e,Ie);else if(triggerEvent$1(r,"onPending"),$e.pendingBranch=Ie,$e.pendingId++,pe(null,Ie,$e.hiddenContainer,null,ie,$e,le,ue,de),$e.deps<=0)$e.resolve();else{const{timeout:At,pendingId:Lt}=$e;At>0?setTimeout(()=>{$e.pendingId===Lt&&$e.fallback(Ve)},At):At===0&&$e.fallback(Ve)}}function createSuspenseBoundary(t,r,V,oe,ie,le,ue,de,pe,he,_e=!1){const{p:$e,m:Ie,um:Ve,n:Fe,o:{parentNode:Ue,remove:qe}}=he;let Et;const At=isVNodeSuspensible(t);At&&r!=null&&r.pendingBranch&&(Et=r.pendingId,r.deps++);const Lt=t.props?toNumber$1(t.props.timeout):void 0,hn={vnode:t,parent:r,parentComponent:V,isSVG:ue,container:oe,hiddenContainer:ie,anchor:le,deps:0,pendingId:0,timeout:typeof Lt=="number"?Lt:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:_e,isUnmounted:!1,effects:[],resolve(_n=!1,vn=!1){const{vnode:bn,activeBranch:Cn,pendingBranch:Sn,pendingId:wn,effects:En,parentComponent:xn,container:Pn}=hn;if(hn.isHydrating)hn.isHydrating=!1;else if(!_n){const Dn=Cn&&Sn.transition&&Sn.transition.mode==="out-in";Dn&&(Cn.transition.afterLeave=()=>{wn===hn.pendingId&&Ie(Sn,Pn,Mn,0)});let{anchor:Mn}=hn;Cn&&(Mn=Fe(Cn),Ve(Cn,xn,hn,!0)),Dn||Ie(Sn,Pn,Mn,0)}setActiveBranch(hn,Sn),hn.pendingBranch=null,hn.isInFallback=!1;let kn=hn.parent,Nn=!1;for(;kn;){if(kn.pendingBranch){kn.effects.push(...En),Nn=!0;break}kn=kn.parent}Nn||queuePostFlushCb(En),hn.effects=[],At&&r&&r.pendingBranch&&Et===r.pendingId&&(r.deps--,r.deps===0&&!vn&&r.resolve()),triggerEvent$1(bn,"onResolve")},fallback(_n){if(!hn.pendingBranch)return;const{vnode:vn,activeBranch:bn,parentComponent:Cn,container:Sn,isSVG:wn}=hn;triggerEvent$1(vn,"onFallback");const En=Fe(bn),xn=()=>{hn.isInFallback&&($e(null,_n,Sn,En,Cn,null,wn,de,pe),setActiveBranch(hn,_n))},Pn=_n.transition&&_n.transition.mode==="out-in";Pn&&(bn.transition.afterLeave=xn),hn.isInFallback=!0,Ve(bn,Cn,null,!0),Pn||xn()},move(_n,vn,bn){hn.activeBranch&&Ie(hn.activeBranch,_n,vn,bn),hn.container=_n},next(){return hn.activeBranch&&Fe(hn.activeBranch)},registerDep(_n,vn){const bn=!!hn.pendingBranch;bn&&hn.deps++;const Cn=_n.vnode.el;_n.asyncDep.catch(Sn=>{handleError(Sn,_n,0)}).then(Sn=>{if(_n.isUnmounted||hn.isUnmounted||hn.pendingId!==_n.suspenseId)return;_n.asyncResolved=!0;const{vnode:wn}=_n;handleSetupResult(_n,Sn,!1),Cn&&(wn.el=Cn);const En=!Cn&&_n.subTree.el;vn(_n,wn,Ue(Cn||_n.subTree.el),Cn?null:Fe(_n.subTree),hn,ue,pe),En&&qe(En),updateHOCHostEl(_n,wn.el),bn&&--hn.deps===0&&hn.resolve()})},unmount(_n,vn){hn.isUnmounted=!0,hn.activeBranch&&Ve(hn.activeBranch,V,_n,vn),hn.pendingBranch&&Ve(hn.pendingBranch,V,_n,vn)}};return hn}function hydrateSuspense(t,r,V,oe,ie,le,ue,de,pe){const he=r.suspense=createSuspenseBoundary(r,oe,V,t.parentNode,document.createElement("div"),null,ie,le,ue,de,!0),_e=pe(t,he.pendingBranch=r.ssContent,V,he,le,ue);return he.deps===0&&he.resolve(!1,!0),_e}function normalizeSuspenseChildren(t){const{shapeFlag:r,children:V}=t,oe=r&32;t.ssContent=normalizeSuspenseSlot(oe?V.default:V),t.ssFallback=oe?normalizeSuspenseSlot(V.fallback):createVNode(Comment)}function normalizeSuspenseSlot(t){let r;if(isFunction$5(t)){const V=isBlockTreeEnabled&&t._c;V&&(t._d=!1,openBlock()),t=t(),V&&(t._d=!0,r=currentBlock,closeBlock())}return isArray$c(t)&&(t=filterSingleRoot(t)),t=normalizeVNode(t),r&&!t.dynamicChildren&&(t.dynamicChildren=r.filter(V=>V!==t)),t}function queueEffectWithSuspense(t,r){r&&r.pendingBranch?isArray$c(t)?r.effects.push(...t):r.effects.push(t):queuePostFlushCb(t)}function setActiveBranch(t,r){t.activeBranch=r;const{vnode:V,parentComponent:oe}=t,ie=V.el=r.el;oe&&oe.subTree===V&&(oe.vnode.el=ie,updateHOCHostEl(oe,ie))}function isVNodeSuspensible(t){var r;return((r=t.props)==null?void 0:r.suspensible)!=null&&t.props.suspensible!==!1}function watchEffect(t,r){return doWatch(t,null,r)}function watchPostEffect(t,r){return doWatch(t,null,{flush:"post"})}function watchSyncEffect(t,r){return doWatch(t,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(t,r,V){return doWatch(t,r,V)}function doWatch(t,r,{immediate:V,deep:oe,flush:ie,onTrack:le,onTrigger:ue}=EMPTY_OBJ$1){var de;const pe=getCurrentScope()===((de=currentInstance)==null?void 0:de.scope)?currentInstance:null;let he,_e=!1,$e=!1;if(isRef(t)?(he=()=>t.value,_e=isShallow(t)):isReactive(t)?(he=()=>t,oe=!0):isArray$c(t)?($e=!0,_e=t.some(hn=>isReactive(hn)||isShallow(hn)),he=()=>t.map(hn=>{if(isRef(hn))return hn.value;if(isReactive(hn))return traverse(hn);if(isFunction$5(hn))return callWithErrorHandling(hn,pe,2)})):isFunction$5(t)?r?he=()=>callWithErrorHandling(t,pe,2):he=()=>{if(!(pe&&pe.isUnmounted))return Ie&&Ie(),callWithAsyncErrorHandling(t,pe,3,[Ve])}:he=NOOP,r&&oe){const hn=he;he=()=>traverse(hn())}let Ie,Ve=hn=>{Ie=At.onStop=()=>{callWithErrorHandling(hn,pe,4)}},Fe;if(isInSSRComponentSetup)if(Ve=NOOP,r?V&&callWithAsyncErrorHandling(r,pe,3,[he(),$e?[]:void 0,Ve]):he(),ie==="sync"){const hn=useSSRContext();Fe=hn.__watcherHandles||(hn.__watcherHandles=[])}else return NOOP;let Ue=$e?new Array(t.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const qe=()=>{if(At.active)if(r){const hn=At.run();(oe||_e||($e?hn.some((_n,vn)=>hasChanged(_n,Ue[vn])):hasChanged(hn,Ue)))&&(Ie&&Ie(),callWithAsyncErrorHandling(r,pe,3,[hn,Ue===INITIAL_WATCHER_VALUE?void 0:$e&&Ue[0]===INITIAL_WATCHER_VALUE?[]:Ue,Ve]),Ue=hn)}else At.run()};qe.allowRecurse=!!r;let Et;ie==="sync"?Et=qe:ie==="post"?Et=()=>queuePostRenderEffect(qe,pe&&pe.suspense):(qe.pre=!0,pe&&(qe.id=pe.uid),Et=()=>queueJob(qe));const At=new ReactiveEffect(he,Et);r?V?qe():Ue=At.run():ie==="post"?queuePostRenderEffect(At.run.bind(At),pe&&pe.suspense):At.run();const Lt=()=>{At.stop(),pe&&pe.scope&&remove(pe.scope.effects,At)};return Fe&&Fe.push(Lt),Lt}function instanceWatch(t,r,V){const oe=this.proxy,ie=isString$6(t)?t.includes(".")?createPathGetter(oe,t):()=>oe[t]:t.bind(oe,oe);let le;isFunction$5(r)?le=r:(le=r.handler,V=r);const ue=currentInstance;setCurrentInstance(this);const de=doWatch(ie,le.bind(oe),V);return ue?setCurrentInstance(ue):unsetCurrentInstance(),de}function createPathGetter(t,r){const V=r.split(".");return()=>{let oe=t;for(let ie=0;ie<V.length&&oe;ie++)oe=oe[V[ie]];return oe}}function traverse(t,r){if(!isObject$9(t)||t.__v_skip||(r=r||new Set,r.has(t)))return t;if(r.add(t),isRef(t))traverse(t.value,r);else if(isArray$c(t))for(let V=0;V<t.length;V++)traverse(t[V],r);else if(isSet$3(t)||isMap$3(t))t.forEach(V=>{traverse(V,r)});else if(isPlainObject$4(t))for(const V in t)traverse(t[V],r);return t}function withDirectives(t,r){const V=currentRenderingInstance;if(V===null)return t;const oe=getExposeProxy(V)||V.proxy,ie=t.dirs||(t.dirs=[]);for(let le=0;le<r.length;le++){let[ue,de,pe,he=EMPTY_OBJ$1]=r[le];ue&&(isFunction$5(ue)&&(ue={mounted:ue,updated:ue}),ue.deep&&traverse(de),ie.push({dir:ue,instance:oe,value:de,oldValue:void 0,arg:pe,modifiers:he}))}return t}function invokeDirectiveHook(t,r,V,oe){const ie=t.dirs,le=r&&r.dirs;for(let ue=0;ue<ie.length;ue++){const de=ie[ue];le&&(de.oldValue=le[ue].value);let pe=de.dir[oe];pe&&(pauseTracking(),callWithAsyncErrorHandling(pe,V,8,[t.el,de,t,r]),resetTracking())}}function useTransitionState(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{t.isMounted=!0}),onBeforeUnmount(()=>{t.isUnmounting=!0}),t}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(t,{slots:r}){const V=getCurrentInstance(),oe=useTransitionState();let ie;return()=>{const le=r.default&&getTransitionRawChildren(r.default(),!0);if(!le||!le.length)return;let ue=le[0];if(le.length>1){for(const Ue of le)if(Ue.type!==Comment){ue=Ue;break}}const de=toRaw(t),{mode:pe}=de;if(oe.isLeaving)return emptyPlaceholder(ue);const he=getKeepAliveChild(ue);if(!he)return emptyPlaceholder(ue);const _e=resolveTransitionHooks(he,de,oe,V);setTransitionHooks(he,_e);const $e=V.subTree,Ie=$e&&getKeepAliveChild($e);let Ve=!1;const{getTransitionKey:Fe}=he.type;if(Fe){const Ue=Fe();ie===void 0?ie=Ue:Ue!==ie&&(ie=Ue,Ve=!0)}if(Ie&&Ie.type!==Comment&&(!isSameVNodeType(he,Ie)||Ve)){const Ue=resolveTransitionHooks(Ie,de,oe,V);if(setTransitionHooks(Ie,Ue),pe==="out-in")return oe.isLeaving=!0,Ue.afterLeave=()=>{oe.isLeaving=!1,V.update.active!==!1&&V.update()},emptyPlaceholder(ue);pe==="in-out"&&he.type!==Comment&&(Ue.delayLeave=(qe,Et,At)=>{const Lt=getLeavingNodesForType(oe,Ie);Lt[String(Ie.key)]=Ie,qe._leaveCb=()=>{Et(),qe._leaveCb=void 0,delete _e.delayedLeave},_e.delayedLeave=At})}return ue}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(t,r){const{leavingVNodes:V}=t;let oe=V.get(r.type);return oe||(oe=Object.create(null),V.set(r.type,oe)),oe}function resolveTransitionHooks(t,r,V,oe){const{appear:ie,mode:le,persisted:ue=!1,onBeforeEnter:de,onEnter:pe,onAfterEnter:he,onEnterCancelled:_e,onBeforeLeave:$e,onLeave:Ie,onAfterLeave:Ve,onLeaveCancelled:Fe,onBeforeAppear:Ue,onAppear:qe,onAfterAppear:Et,onAppearCancelled:At}=r,Lt=String(t.key),hn=getLeavingNodesForType(V,t),_n=(Cn,Sn)=>{Cn&&callWithAsyncErrorHandling(Cn,oe,9,Sn)},vn=(Cn,Sn)=>{const wn=Sn[1];_n(Cn,Sn),isArray$c(Cn)?Cn.every(En=>En.length<=1)&&wn():Cn.length<=1&&wn()},bn={mode:le,persisted:ue,beforeEnter(Cn){let Sn=de;if(!V.isMounted)if(ie)Sn=Ue||de;else return;Cn._leaveCb&&Cn._leaveCb(!0);const wn=hn[Lt];wn&&isSameVNodeType(t,wn)&&wn.el._leaveCb&&wn.el._leaveCb(),_n(Sn,[Cn])},enter(Cn){let Sn=pe,wn=he,En=_e;if(!V.isMounted)if(ie)Sn=qe||pe,wn=Et||he,En=At||_e;else return;let xn=!1;const Pn=Cn._enterCb=kn=>{xn||(xn=!0,kn?_n(En,[Cn]):_n(wn,[Cn]),bn.delayedLeave&&bn.delayedLeave(),Cn._enterCb=void 0)};Sn?vn(Sn,[Cn,Pn]):Pn()},leave(Cn,Sn){const wn=String(t.key);if(Cn._enterCb&&Cn._enterCb(!0),V.isUnmounting)return Sn();_n($e,[Cn]);let En=!1;const xn=Cn._leaveCb=Pn=>{En||(En=!0,Sn(),Pn?_n(Fe,[Cn]):_n(Ve,[Cn]),Cn._leaveCb=void 0,hn[wn]===t&&delete hn[wn])};hn[wn]=t,Ie?vn(Ie,[Cn,xn]):xn()},clone(Cn){return resolveTransitionHooks(Cn,r,V,oe)}};return bn}function emptyPlaceholder(t){if(isKeepAlive(t))return t=cloneVNode(t),t.children=null,t}function getKeepAliveChild(t){return isKeepAlive(t)?t.children?t.children[0]:void 0:t}function setTransitionHooks(t,r){t.shapeFlag&6&&t.component?setTransitionHooks(t.component.subTree,r):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function getTransitionRawChildren(t,r=!1,V){let oe=[],ie=0;for(let le=0;le<t.length;le++){let ue=t[le];const de=V==null?ue.key:String(V)+String(ue.key!=null?ue.key:le);ue.type===Fragment?(ue.patchFlag&128&&ie++,oe=oe.concat(getTransitionRawChildren(ue.children,r,de))):(r||ue.type!==Comment)&&oe.push(de!=null?cloneVNode(ue,{key:de}):ue)}if(ie>1)for(let le=0;le<oe.length;le++)oe[le].patchFlag=-2;return oe}function defineComponent(t,r){return isFunction$5(t)?(()=>extend$2({name:t.name},r,{setup:t}))():t}const isAsyncWrapper=t=>!!t.type.__asyncLoader;function defineAsyncComponent(t){isFunction$5(t)&&(t={loader:t});const{loader:r,loadingComponent:V,errorComponent:oe,delay:ie=200,timeout:le,suspensible:ue=!0,onError:de}=t;let pe=null,he,_e=0;const $e=()=>(_e++,pe=null,Ie()),Ie=()=>{let Ve;return pe||(Ve=pe=r().catch(Fe=>{if(Fe=Fe instanceof Error?Fe:new Error(String(Fe)),de)return new Promise((Ue,qe)=>{de(Fe,()=>Ue($e()),()=>qe(Fe),_e+1)});throw Fe}).then(Fe=>Ve!==pe&&pe?pe:(Fe&&(Fe.__esModule||Fe[Symbol.toStringTag]==="Module")&&(Fe=Fe.default),he=Fe,Fe)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:Ie,get __asyncResolved(){return he},setup(){const Ve=currentInstance;if(he)return()=>createInnerComp(he,Ve);const Fe=At=>{pe=null,handleError(At,Ve,13,!oe)};if(ue&&Ve.suspense||isInSSRComponentSetup)return Ie().then(At=>()=>createInnerComp(At,Ve)).catch(At=>(Fe(At),()=>oe?createVNode(oe,{error:At}):null));const Ue=ref(!1),qe=ref(),Et=ref(!!ie);return ie&&setTimeout(()=>{Et.value=!1},ie),le!=null&&setTimeout(()=>{if(!Ue.value&&!qe.value){const At=new Error(`Async component timed out after ${le}ms.`);Fe(At),qe.value=At}},le),Ie().then(()=>{Ue.value=!0,Ve.parent&&isKeepAlive(Ve.parent.vnode)&&queueJob(Ve.parent.update)}).catch(At=>{Fe(At),qe.value=At}),()=>{if(Ue.value&&he)return createInnerComp(he,Ve);if(qe.value&&oe)return createVNode(oe,{error:qe.value});if(V&&!Et.value)return createVNode(V)}}})}function createInnerComp(t,r){const{ref:V,props:oe,children:ie,ce:le}=r.vnode,ue=createVNode(t,oe,ie);return ue.ref=V,ue.ce=le,delete r.vnode.ce,ue}const isKeepAlive=t=>t.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:r}){const V=getCurrentInstance(),oe=V.ctx;if(!oe.renderer)return()=>{const At=r.default&&r.default();return At&&At.length===1?At[0]:At};const ie=new Map,le=new Set;let ue=null;const de=V.suspense,{renderer:{p:pe,m:he,um:_e,o:{createElement:$e}}}=oe,Ie=$e("div");oe.activate=(At,Lt,hn,_n,vn)=>{const bn=At.component;he(At,Lt,hn,0,de),pe(bn.vnode,At,Lt,hn,bn,de,_n,At.slotScopeIds,vn),queuePostRenderEffect(()=>{bn.isDeactivated=!1,bn.a&&invokeArrayFns(bn.a);const Cn=At.props&&At.props.onVnodeMounted;Cn&&invokeVNodeHook(Cn,bn.parent,At)},de)},oe.deactivate=At=>{const Lt=At.component;he(At,Ie,null,1,de),queuePostRenderEffect(()=>{Lt.da&&invokeArrayFns(Lt.da);const hn=At.props&&At.props.onVnodeUnmounted;hn&&invokeVNodeHook(hn,Lt.parent,At),Lt.isDeactivated=!0},de)};function Ve(At){resetShapeFlag(At),_e(At,V,de,!0)}function Fe(At){ie.forEach((Lt,hn)=>{const _n=getComponentName(Lt.type);_n&&(!At||!At(_n))&&Ue(hn)})}function Ue(At){const Lt=ie.get(At);!ue||!isSameVNodeType(Lt,ue)?Ve(Lt):ue&&resetShapeFlag(ue),ie.delete(At),le.delete(At)}watch(()=>[t.include,t.exclude],([At,Lt])=>{At&&Fe(hn=>matches(At,hn)),Lt&&Fe(hn=>!matches(Lt,hn))},{flush:"post",deep:!0});let qe=null;const Et=()=>{qe!=null&&ie.set(qe,getInnerChild(V.subTree))};return onMounted(Et),onUpdated(Et),onBeforeUnmount(()=>{ie.forEach(At=>{const{subTree:Lt,suspense:hn}=V,_n=getInnerChild(Lt);if(At.type===_n.type&&At.key===_n.key){resetShapeFlag(_n);const vn=_n.component.da;vn&&queuePostRenderEffect(vn,hn);return}Ve(At)})}),()=>{if(qe=null,!r.default)return null;const At=r.default(),Lt=At[0];if(At.length>1)return ue=null,At;if(!isVNode$1(Lt)||!(Lt.shapeFlag&4)&&!(Lt.shapeFlag&128))return ue=null,Lt;let hn=getInnerChild(Lt);const _n=hn.type,vn=getComponentName(isAsyncWrapper(hn)?hn.type.__asyncResolved||{}:_n),{include:bn,exclude:Cn,max:Sn}=t;if(bn&&(!vn||!matches(bn,vn))||Cn&&vn&&matches(Cn,vn))return ue=hn,Lt;const wn=hn.key==null?_n:hn.key,En=ie.get(wn);return hn.el&&(hn=cloneVNode(hn),Lt.shapeFlag&128&&(Lt.ssContent=hn)),qe=wn,En?(hn.el=En.el,hn.component=En.component,hn.transition&&setTransitionHooks(hn,hn.transition),hn.shapeFlag|=512,le.delete(wn),le.add(wn)):(le.add(wn),Sn&&le.size>parseInt(Sn,10)&&Ue(le.values().next().value)),hn.shapeFlag|=256,ue=hn,isSuspense(Lt.type)?Lt:hn}}},KeepAlive=KeepAliveImpl;function matches(t,r){return isArray$c(t)?t.some(V=>matches(V,r)):isString$6(t)?t.split(",").includes(r):isRegExp$5(t)?t.test(r):!1}function onActivated(t,r){registerKeepAliveHook(t,"a",r)}function onDeactivated(t,r){registerKeepAliveHook(t,"da",r)}function registerKeepAliveHook(t,r,V=currentInstance){const oe=t.__wdc||(t.__wdc=()=>{let ie=V;for(;ie;){if(ie.isDeactivated)return;ie=ie.parent}return t()});if(injectHook(r,oe,V),V){let ie=V.parent;for(;ie&&ie.parent;)isKeepAlive(ie.parent.vnode)&&injectToKeepAliveRoot(oe,r,V,ie),ie=ie.parent}}function injectToKeepAliveRoot(t,r,V,oe){const ie=injectHook(r,t,oe,!0);onUnmounted(()=>{remove(oe[r],ie)},V)}function resetShapeFlag(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function getInnerChild(t){return t.shapeFlag&128?t.ssContent:t}function injectHook(t,r,V=currentInstance,oe=!1){if(V){const ie=V[t]||(V[t]=[]),le=r.__weh||(r.__weh=(...ue)=>{if(V.isUnmounted)return;pauseTracking(),setCurrentInstance(V);const de=callWithAsyncErrorHandling(r,V,t,ue);return unsetCurrentInstance(),resetTracking(),de});return oe?ie.unshift(le):ie.push(le),le}}const createHook=t=>(r,V=currentInstance)=>(!isInSSRComponentSetup||t==="sp")&&injectHook(t,(...oe)=>r(...oe),V),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(t,r=currentInstance){injectHook("ec",t,r)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(t,r){return resolveAsset(COMPONENTS,t,!0,r)||t}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(t){return isString$6(t)?resolveAsset(COMPONENTS,t,!1)||t:t||NULL_DYNAMIC_COMPONENT}function resolveDirective(t){return resolveAsset(DIRECTIVES,t)}function resolveAsset(t,r,V=!0,oe=!1){const ie=currentRenderingInstance||currentInstance;if(ie){const le=ie.type;if(t===COMPONENTS){const de=getComponentName(le,!1);if(de&&(de===r||de===camelize(r)||de===capitalize$2(camelize(r))))return le}const ue=resolve(ie[t]||le[t],r)||resolve(ie.appContext[t],r);return!ue&&oe?le:ue}}function resolve(t,r){return t&&(t[r]||t[camelize(r)]||t[capitalize$2(camelize(r))])}function renderList(t,r,V,oe){let ie;const le=V&&V[oe];if(isArray$c(t)||isString$6(t)){ie=new Array(t.length);for(let ue=0,de=t.length;ue<de;ue++)ie[ue]=r(t[ue],ue,void 0,le&&le[ue])}else if(typeof t=="number"){ie=new Array(t);for(let ue=0;ue<t;ue++)ie[ue]=r(ue+1,ue,void 0,le&&le[ue])}else if(isObject$9(t))if(t[Symbol.iterator])ie=Array.from(t,(ue,de)=>r(ue,de,void 0,le&&le[de]));else{const ue=Object.keys(t);ie=new Array(ue.length);for(let de=0,pe=ue.length;de<pe;de++){const he=ue[de];ie[de]=r(t[he],he,de,le&&le[de])}}else ie=[];return V&&(V[oe]=ie),ie}function createSlots(t,r){for(let V=0;V<r.length;V++){const oe=r[V];if(isArray$c(oe))for(let ie=0;ie<oe.length;ie++)t[oe[ie].name]=oe[ie].fn;else oe&&(t[oe.name]=oe.key?(...ie)=>{const le=oe.fn(...ie);return le&&(le.key=oe.key),le}:oe.fn)}return t}function renderSlot(t,r,V={},oe,ie){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return r!=="default"&&(V.name=r),createVNode("slot",V,oe&&oe());let le=t[r];le&&le._c&&(le._d=!1),openBlock();const ue=le&&ensureValidVNode(le(V)),de=createBlock(Fragment,{key:V.key||ue&&ue.key||`_${r}`},ue||(oe?oe():[]),ue&&t._===1?64:-2);return!ie&&de.scopeId&&(de.slotScopeIds=[de.scopeId+"-s"]),le&&le._c&&(le._d=!0),de}function ensureValidVNode(t){return t.some(r=>isVNode$1(r)?!(r.type===Comment||r.type===Fragment&&!ensureValidVNode(r.children)):!0)?t:null}function toHandlers(t,r){const V={};for(const oe in t)V[r&&/[A-Z]/.test(oe)?`on:${oe}`:toHandlerKey(oe)]=t[oe];return V}const getPublicInstance=t=>t?isStatefulComponent(t)?getExposeProxy(t)||t.proxy:getPublicInstance(t.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>getPublicInstance(t.parent),$root:t=>getPublicInstance(t.root),$emit:t=>t.emit,$options:t=>resolveMergedOptions(t),$forceUpdate:t=>t.f||(t.f=()=>queueJob(t.update)),$nextTick:t=>t.n||(t.n=nextTick.bind(t.proxy)),$watch:t=>instanceWatch.bind(t)}),hasSetupBinding=(t,r)=>t!==EMPTY_OBJ$1&&!t.__isScriptSetup&&hasOwn$4(t,r),PublicInstanceProxyHandlers={get({_:t},r){const{ctx:V,setupState:oe,data:ie,props:le,accessCache:ue,type:de,appContext:pe}=t;let he;if(r[0]!=="$"){const Ve=ue[r];if(Ve!==void 0)switch(Ve){case 1:return oe[r];case 2:return ie[r];case 4:return V[r];case 3:return le[r]}else{if(hasSetupBinding(oe,r))return ue[r]=1,oe[r];if(ie!==EMPTY_OBJ$1&&hasOwn$4(ie,r))return ue[r]=2,ie[r];if((he=t.propsOptions[0])&&hasOwn$4(he,r))return ue[r]=3,le[r];if(V!==EMPTY_OBJ$1&&hasOwn$4(V,r))return ue[r]=4,V[r];shouldCacheAccess&&(ue[r]=0)}}const _e=publicPropertiesMap[r];let $e,Ie;if(_e)return r==="$attrs"&&track(t,"get",r),_e(t);if(($e=de.__cssModules)&&($e=$e[r]))return $e;if(V!==EMPTY_OBJ$1&&hasOwn$4(V,r))return ue[r]=4,V[r];if(Ie=pe.config.globalProperties,hasOwn$4(Ie,r))return Ie[r]},set({_:t},r,V){const{data:oe,setupState:ie,ctx:le}=t;return hasSetupBinding(ie,r)?(ie[r]=V,!0):oe!==EMPTY_OBJ$1&&hasOwn$4(oe,r)?(oe[r]=V,!0):hasOwn$4(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(le[r]=V,!0)},has({_:{data:t,setupState:r,accessCache:V,ctx:oe,appContext:ie,propsOptions:le}},ue){let de;return!!V[ue]||t!==EMPTY_OBJ$1&&hasOwn$4(t,ue)||hasSetupBinding(r,ue)||(de=le[0])&&hasOwn$4(de,ue)||hasOwn$4(oe,ue)||hasOwn$4(publicPropertiesMap,ue)||hasOwn$4(ie.config.globalProperties,ue)},defineProperty(t,r,V){return V.get!=null?t._.accessCache[r]=0:hasOwn$4(V,"value")&&this.set(t,r,V.value,null),Reflect.defineProperty(t,r,V)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get(t,r){if(r!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(t,r,t)},has(t,r){return r[0]!=="_"&&!isGloballyWhitelisted(r)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(t){}function defineOptions(t){}function defineSlots(){return null}function defineModel(){}function withDefaults(t,r){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function useModel(t,r,V){const oe=getCurrentInstance();if(V&&V.local){const ie=ref(t[r]);return watch(()=>t[r],le=>ie.value=le),watch(ie,le=>{le!==t[r]&&oe.emit(`update:${r}`,le)}),ie}else return{__v_isRef:!0,get value(){return t[r]},set value(ie){oe.emit(`update:${r}`,ie)}}}function getContext(){const t=getCurrentInstance();return t.setupContext||(t.setupContext=createSetupContext(t))}function normalizePropsOrEmits(t){return isArray$c(t)?t.reduce((r,V)=>(r[V]=null,r),{}):t}function mergeDefaults(t,r){const V=normalizePropsOrEmits(t);for(const oe in r){if(oe.startsWith("__skip"))continue;let ie=V[oe];ie?isArray$c(ie)||isFunction$5(ie)?ie=V[oe]={type:ie,default:r[oe]}:ie.default=r[oe]:ie===null&&(ie=V[oe]={default:r[oe]}),ie&&r[`__skip_${oe}`]&&(ie.skipFactory=!0)}return V}function mergeModels(t,r){return!t||!r?t||r:isArray$c(t)&&isArray$c(r)?t.concat(r):extend$2({},normalizePropsOrEmits(t),normalizePropsOrEmits(r))}function createPropsRestProxy(t,r){const V={};for(const oe in t)r.includes(oe)||Object.defineProperty(V,oe,{enumerable:!0,get:()=>t[oe]});return V}function withAsyncContext(t){const r=getCurrentInstance();let V=t();return unsetCurrentInstance(),isPromise(V)&&(V=V.catch(oe=>{throw setCurrentInstance(r),oe})),[V,()=>setCurrentInstance(r)]}let shouldCacheAccess=!0;function applyOptions(t){const r=resolveMergedOptions(t),V=t.proxy,oe=t.ctx;shouldCacheAccess=!1,r.beforeCreate&&callHook$1(r.beforeCreate,t,"bc");const{data:ie,computed:le,methods:ue,watch:de,provide:pe,inject:he,created:_e,beforeMount:$e,mounted:Ie,beforeUpdate:Ve,updated:Fe,activated:Ue,deactivated:qe,beforeDestroy:Et,beforeUnmount:At,destroyed:Lt,unmounted:hn,render:_n,renderTracked:vn,renderTriggered:bn,errorCaptured:Cn,serverPrefetch:Sn,expose:wn,inheritAttrs:En,components:xn,directives:Pn,filters:kn}=r;if(he&&resolveInjections(he,oe,null),ue)for(const Mn in ue){const Ln=ue[Mn];isFunction$5(Ln)&&(oe[Mn]=Ln.bind(V))}if(ie){const Mn=ie.call(V,V);isObject$9(Mn)&&(t.data=reactive(Mn))}if(shouldCacheAccess=!0,le)for(const Mn in le){const Ln=le[Mn],An=isFunction$5(Ln)?Ln.bind(V,V):isFunction$5(Ln.get)?Ln.get.bind(V,V):NOOP,Vn=!isFunction$5(Ln)&&isFunction$5(Ln.set)?Ln.set.bind(V):NOOP,Wn=computed({get:An,set:Vn});Object.defineProperty(oe,Mn,{enumerable:!0,configurable:!0,get:()=>Wn.value,set:Fn=>Wn.value=Fn})}if(de)for(const Mn in de)createWatcher(de[Mn],oe,V,Mn);if(pe){const Mn=isFunction$5(pe)?pe.call(V):pe;Reflect.ownKeys(Mn).forEach(Ln=>{provide(Ln,Mn[Ln])})}_e&&callHook$1(_e,t,"c");function Dn(Mn,Ln){isArray$c(Ln)?Ln.forEach(An=>Mn(An.bind(V))):Ln&&Mn(Ln.bind(V))}if(Dn(onBeforeMount,$e),Dn(onMounted,Ie),Dn(onBeforeUpdate,Ve),Dn(onUpdated,Fe),Dn(onActivated,Ue),Dn(onDeactivated,qe),Dn(onErrorCaptured,Cn),Dn(onRenderTracked,vn),Dn(onRenderTriggered,bn),Dn(onBeforeUnmount,At),Dn(onUnmounted,hn),Dn(onServerPrefetch,Sn),isArray$c(wn))if(wn.length){const Mn=t.exposed||(t.exposed={});wn.forEach(Ln=>{Object.defineProperty(Mn,Ln,{get:()=>V[Ln],set:An=>V[Ln]=An})})}else t.exposed||(t.exposed={});_n&&t.render===NOOP&&(t.render=_n),En!=null&&(t.inheritAttrs=En),xn&&(t.components=xn),Pn&&(t.directives=Pn)}function resolveInjections(t,r,V=NOOP){isArray$c(t)&&(t=normalizeInject(t));for(const oe in t){const ie=t[oe];let le;isObject$9(ie)?"default"in ie?le=inject(ie.from||oe,ie.default,!0):le=inject(ie.from||oe):le=inject(ie),isRef(le)?Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>le.value,set:ue=>le.value=ue}):r[oe]=le}}function callHook$1(t,r,V){callWithAsyncErrorHandling(isArray$c(t)?t.map(oe=>oe.bind(r.proxy)):t.bind(r.proxy),r,V)}function createWatcher(t,r,V,oe){const ie=oe.includes(".")?createPathGetter(V,oe):()=>V[oe];if(isString$6(t)){const le=r[t];isFunction$5(le)&&watch(ie,le)}else if(isFunction$5(t))watch(ie,t.bind(V));else if(isObject$9(t))if(isArray$c(t))t.forEach(le=>createWatcher(le,r,V,oe));else{const le=isFunction$5(t.handler)?t.handler.bind(V):r[t.handler];isFunction$5(le)&&watch(ie,le,t)}}function resolveMergedOptions(t){const r=t.type,{mixins:V,extends:oe}=r,{mixins:ie,optionsCache:le,config:{optionMergeStrategies:ue}}=t.appContext,de=le.get(r);let pe;return de?pe=de:!ie.length&&!V&&!oe?pe=r:(pe={},ie.length&&ie.forEach(he=>mergeOptions$2(pe,he,ue,!0)),mergeOptions$2(pe,r,ue)),isObject$9(r)&&le.set(r,pe),pe}function mergeOptions$2(t,r,V,oe=!1){const{mixins:ie,extends:le}=r;le&&mergeOptions$2(t,le,V,!0),ie&&ie.forEach(ue=>mergeOptions$2(t,ue,V,!0));for(const ue in r)if(!(oe&&ue==="expose")){const de=internalOptionMergeStrats[ue]||V&&V[ue];t[ue]=de?de(t[ue],r[ue]):r[ue]}return t}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(t,r){return r?t?function(){return extend$2(isFunction$5(t)?t.call(this,this):t,isFunction$5(r)?r.call(this,this):r)}:r:t}function mergeInject(t,r){return mergeObjectOptions(normalizeInject(t),normalizeInject(r))}function normalizeInject(t){if(isArray$c(t)){const r={};for(let V=0;V<t.length;V++)r[t[V]]=t[V];return r}return t}function mergeAsArray(t,r){return t?[...new Set([].concat(t,r))]:r}function mergeObjectOptions(t,r){return t?extend$2(Object.create(null),t,r):r}function mergeEmitsOrPropsOptions(t,r){return t?isArray$c(t)&&isArray$c(r)?[...new Set([...t,...r])]:extend$2(Object.create(null),normalizePropsOrEmits(t),normalizePropsOrEmits(r??{})):r}function mergeWatchOptions(t,r){if(!t)return r;if(!r)return t;const V=extend$2(Object.create(null),t);for(const oe in r)V[oe]=mergeAsArray(t[oe],r[oe]);return V}function createAppContext(){return{app:null,config:{isNativeTag:NO,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 uid$1=0;function createAppAPI(t,r){return function(oe,ie=null){isFunction$5(oe)||(oe=extend$2({},oe)),ie!=null&&!isObject$9(ie)&&(ie=null);const le=createAppContext(),ue=new Set;let de=!1;const pe=le.app={_uid:uid$1++,_component:oe,_props:ie,_container:null,_context:le,_instance:null,version:version$3,get config(){return le.config},set config(he){},use(he,..._e){return ue.has(he)||(he&&isFunction$5(he.install)?(ue.add(he),he.install(pe,..._e)):isFunction$5(he)&&(ue.add(he),he(pe,..._e))),pe},mixin(he){return le.mixins.includes(he)||le.mixins.push(he),pe},component(he,_e){return _e?(le.components[he]=_e,pe):le.components[he]},directive(he,_e){return _e?(le.directives[he]=_e,pe):le.directives[he]},mount(he,_e,$e){if(!de){const Ie=createVNode(oe,ie);return Ie.appContext=le,_e&&r?r(Ie,he):t(Ie,he,$e),de=!0,pe._container=he,he.__vue_app__=pe,getExposeProxy(Ie.component)||Ie.component.proxy}},unmount(){de&&(t(null,pe._container),delete pe._container.__vue_app__)},provide(he,_e){return le.provides[he]=_e,pe},runWithContext(he){currentApp=pe;try{return he()}finally{currentApp=null}}};return pe}}let currentApp=null;function provide(t,r){if(currentInstance){let V=currentInstance.provides;const oe=currentInstance.parent&¤tInstance.parent.provides;oe===V&&(V=currentInstance.provides=Object.create(oe)),V[t]=r}}function inject(t,r,V=!1){const oe=currentInstance||currentRenderingInstance;if(oe||currentApp){const ie=oe?oe.parent==null?oe.vnode.appContext&&oe.vnode.appContext.provides:oe.parent.provides:currentApp._context.provides;if(ie&&t in ie)return ie[t];if(arguments.length>1)return V&&isFunction$5(r)?r.call(oe&&oe.proxy):r}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps$1(t,r,V,oe=!1){const ie={},le={};def(le,InternalObjectKey,1),t.propsDefaults=Object.create(null),setFullProps(t,r,ie,le);for(const ue in t.propsOptions[0])ue in ie||(ie[ue]=void 0);V?t.props=oe?ie:shallowReactive(ie):t.type.props?t.props=ie:t.props=le,t.attrs=le}function updateProps$2(t,r,V,oe){const{props:ie,attrs:le,vnode:{patchFlag:ue}}=t,de=toRaw(ie),[pe]=t.propsOptions;let he=!1;if((oe||ue>0)&&!(ue&16)){if(ue&8){const _e=t.vnode.dynamicProps;for(let $e=0;$e<_e.length;$e++){let Ie=_e[$e];if(isEmitListener(t.emitsOptions,Ie))continue;const Ve=r[Ie];if(pe)if(hasOwn$4(le,Ie))Ve!==le[Ie]&&(le[Ie]=Ve,he=!0);else{const Fe=camelize(Ie);ie[Fe]=resolvePropValue(pe,de,Fe,Ve,t,!1)}else Ve!==le[Ie]&&(le[Ie]=Ve,he=!0)}}}else{setFullProps(t,r,ie,le)&&(he=!0);let _e;for(const $e in de)(!r||!hasOwn$4(r,$e)&&((_e=hyphenate($e))===$e||!hasOwn$4(r,_e)))&&(pe?V&&(V[$e]!==void 0||V[_e]!==void 0)&&(ie[$e]=resolvePropValue(pe,de,$e,void 0,t,!0)):delete ie[$e]);if(le!==de)for(const $e in le)(!r||!hasOwn$4(r,$e))&&(delete le[$e],he=!0)}he&&trigger$2(t,"set","$attrs")}function setFullProps(t,r,V,oe){const[ie,le]=t.propsOptions;let ue=!1,de;if(r)for(let pe in r){if(isReservedProp(pe))continue;const he=r[pe];let _e;ie&&hasOwn$4(ie,_e=camelize(pe))?!le||!le.includes(_e)?V[_e]=he:(de||(de={}))[_e]=he:isEmitListener(t.emitsOptions,pe)||(!(pe in oe)||he!==oe[pe])&&(oe[pe]=he,ue=!0)}if(le){const pe=toRaw(V),he=de||EMPTY_OBJ$1;for(let _e=0;_e<le.length;_e++){const $e=le[_e];V[$e]=resolvePropValue(ie,pe,$e,he[$e],t,!hasOwn$4(he,$e))}}return ue}function resolvePropValue(t,r,V,oe,ie,le){const ue=t[V];if(ue!=null){const de=hasOwn$4(ue,"default");if(de&&oe===void 0){const pe=ue.default;if(ue.type!==Function&&!ue.skipFactory&&isFunction$5(pe)){const{propsDefaults:he}=ie;V in he?oe=he[V]:(setCurrentInstance(ie),oe=he[V]=pe.call(null,r),unsetCurrentInstance())}else oe=pe}ue[0]&&(le&&!de?oe=!1:ue[1]&&(oe===""||oe===hyphenate(V))&&(oe=!0))}return oe}function normalizePropsOptions(t,r,V=!1){const oe=r.propsCache,ie=oe.get(t);if(ie)return ie;const le=t.props,ue={},de=[];let pe=!1;if(!isFunction$5(t)){const _e=$e=>{pe=!0;const[Ie,Ve]=normalizePropsOptions($e,r,!0);extend$2(ue,Ie),Ve&&de.push(...Ve)};!V&&r.mixins.length&&r.mixins.forEach(_e),t.extends&&_e(t.extends),t.mixins&&t.mixins.forEach(_e)}if(!le&&!pe)return isObject$9(t)&&oe.set(t,EMPTY_ARR),EMPTY_ARR;if(isArray$c(le))for(let _e=0;_e<le.length;_e++){const $e=camelize(le[_e]);validatePropName($e)&&(ue[$e]=EMPTY_OBJ$1)}else if(le)for(const _e in le){const $e=camelize(_e);if(validatePropName($e)){const Ie=le[_e],Ve=ue[$e]=isArray$c(Ie)||isFunction$5(Ie)?{type:Ie}:extend$2({},Ie);if(Ve){const Fe=getTypeIndex(Boolean,Ve.type),Ue=getTypeIndex(String,Ve.type);Ve[0]=Fe>-1,Ve[1]=Ue<0||Fe<Ue,(Fe>-1||hasOwn$4(Ve,"default"))&&de.push($e)}}}const he=[ue,de];return isObject$9(t)&&oe.set(t,he),he}function validatePropName(t){return t[0]!=="$"}function getType(t){const r=t&&t.toString().match(/^\s*(function|class) (\w+)/);return r?r[2]:t===null?"null":""}function isSameType(t,r){return getType(t)===getType(r)}function getTypeIndex(t,r){return isArray$c(r)?r.findIndex(V=>isSameType(V,t)):isFunction$5(r)&&isSameType(r,t)?0:-1}const isInternalKey=t=>t[0]==="_"||t==="$stable",normalizeSlotValue=t=>isArray$c(t)?t.map(normalizeVNode):[normalizeVNode(t)],normalizeSlot$1=(t,r,V)=>{if(r._n)return r;const oe=withCtx((...ie)=>normalizeSlotValue(r(...ie)),V);return oe._c=!1,oe},normalizeObjectSlots=(t,r,V)=>{const oe=t._ctx;for(const ie in t){if(isInternalKey(ie))continue;const le=t[ie];if(isFunction$5(le))r[ie]=normalizeSlot$1(ie,le,oe);else if(le!=null){const ue=normalizeSlotValue(le);r[ie]=()=>ue}}},normalizeVNodeSlots=(t,r)=>{const V=normalizeSlotValue(r);t.slots.default=()=>V},initSlots=(t,r)=>{if(t.vnode.shapeFlag&32){const V=r._;V?(t.slots=toRaw(r),def(r,"_",V)):normalizeObjectSlots(r,t.slots={})}else t.slots={},r&&normalizeVNodeSlots(t,r);def(t.slots,InternalObjectKey,1)},updateSlots=(t,r,V)=>{const{vnode:oe,slots:ie}=t;let le=!0,ue=EMPTY_OBJ$1;if(oe.shapeFlag&32){const de=r._;de?V&&de===1?le=!1:(extend$2(ie,r),!V&&de===1&&delete ie._):(le=!r.$stable,normalizeObjectSlots(r,ie)),ue=r}else r&&(normalizeVNodeSlots(t,r),ue={default:1});if(le)for(const de in ie)!isInternalKey(de)&&!(de in ue)&&delete ie[de]};function setRef(t,r,V,oe,ie=!1){if(isArray$c(t)){t.forEach((Ie,Ve)=>setRef(Ie,r&&(isArray$c(r)?r[Ve]:r),V,oe,ie));return}if(isAsyncWrapper(oe)&&!ie)return;const le=oe.shapeFlag&4?getExposeProxy(oe.component)||oe.component.proxy:oe.el,ue=ie?null:le,{i:de,r:pe}=t,he=r&&r.r,_e=de.refs===EMPTY_OBJ$1?de.refs={}:de.refs,$e=de.setupState;if(he!=null&&he!==pe&&(isString$6(he)?(_e[he]=null,hasOwn$4($e,he)&&($e[he]=null)):isRef(he)&&(he.value=null)),isFunction$5(pe))callWithErrorHandling(pe,de,12,[ue,_e]);else{const Ie=isString$6(pe),Ve=isRef(pe);if(Ie||Ve){const Fe=()=>{if(t.f){const Ue=Ie?hasOwn$4($e,pe)?$e[pe]:_e[pe]:pe.value;ie?isArray$c(Ue)&&remove(Ue,le):isArray$c(Ue)?Ue.includes(le)||Ue.push(le):Ie?(_e[pe]=[le],hasOwn$4($e,pe)&&($e[pe]=_e[pe])):(pe.value=[le],t.k&&(_e[t.k]=pe.value))}else Ie?(_e[pe]=ue,hasOwn$4($e,pe)&&($e[pe]=ue)):Ve&&(pe.value=ue,t.k&&(_e[t.k]=ue))};ue?(Fe.id=-1,queuePostRenderEffect(Fe,V)):Fe()}}}let hasMismatch=!1;const isSVGContainer=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",isComment$1=t=>t.nodeType===8;function createHydrationFunctions(t){const{mt:r,p:V,o:{patchProp:oe,createText:ie,nextSibling:le,parentNode:ue,remove:de,insert:pe,createComment:he}}=t,_e=(Et,At)=>{if(!At.hasChildNodes()){V(null,Et,At),flushPostFlushCbs(),At._vnode=Et;return}hasMismatch=!1,$e(At.firstChild,Et,null,null,null),flushPostFlushCbs(),At._vnode=Et,hasMismatch&&console.error("Hydration completed but contains mismatches.")},$e=(Et,At,Lt,hn,_n,vn=!1)=>{const bn=isComment$1(Et)&&Et.data==="[",Cn=()=>Ue(Et,At,Lt,hn,_n,bn),{type:Sn,ref:wn,shapeFlag:En,patchFlag:xn}=At;let Pn=Et.nodeType;At.el=Et,xn===-2&&(vn=!1,At.dynamicChildren=null);let kn=null;switch(Sn){case Text$1:Pn!==3?At.children===""?(pe(At.el=ie(""),ue(Et),Et),kn=Et):kn=Cn():(Et.data!==At.children&&(hasMismatch=!0,Et.data=At.children),kn=le(Et));break;case Comment:Pn!==8||bn?kn=Cn():kn=le(Et);break;case Static:if(bn&&(Et=le(Et),Pn=Et.nodeType),Pn===1||Pn===3){kn=Et;const Nn=!At.children.length;for(let Dn=0;Dn<At.staticCount;Dn++)Nn&&(At.children+=kn.nodeType===1?kn.outerHTML:kn.data),Dn===At.staticCount-1&&(At.anchor=kn),kn=le(kn);return bn?le(kn):kn}else Cn();break;case Fragment:bn?kn=Fe(Et,At,Lt,hn,_n,vn):kn=Cn();break;default:if(En&1)Pn!==1||At.type.toLowerCase()!==Et.tagName.toLowerCase()?kn=Cn():kn=Ie(Et,At,Lt,hn,_n,vn);else if(En&6){At.slotScopeIds=_n;const Nn=ue(Et);if(r(At,Nn,null,Lt,hn,isSVGContainer(Nn),vn),kn=bn?qe(Et):le(Et),kn&&isComment$1(kn)&&kn.data==="teleport end"&&(kn=le(kn)),isAsyncWrapper(At)){let Dn;bn?(Dn=createVNode(Fragment),Dn.anchor=kn?kn.previousSibling:Nn.lastChild):Dn=Et.nodeType===3?createTextVNode(""):createVNode("div"),Dn.el=Et,At.component.subTree=Dn}}else En&64?Pn!==8?kn=Cn():kn=At.type.hydrate(Et,At,Lt,hn,_n,vn,t,Ve):En&128&&(kn=At.type.hydrate(Et,At,Lt,hn,isSVGContainer(ue(Et)),_n,vn,t,$e))}return wn!=null&&setRef(wn,null,hn,At),kn},Ie=(Et,At,Lt,hn,_n,vn)=>{vn=vn||!!At.dynamicChildren;const{type:bn,props:Cn,patchFlag:Sn,shapeFlag:wn,dirs:En}=At,xn=bn==="input"&&En||bn==="option";if(xn||Sn!==-1){if(En&&invokeDirectiveHook(At,null,Lt,"created"),Cn)if(xn||!vn||Sn&48)for(const kn in Cn)(xn&&kn.endsWith("value")||isOn(kn)&&!isReservedProp(kn))&&oe(Et,kn,null,Cn[kn],!1,void 0,Lt);else Cn.onClick&&oe(Et,"onClick",null,Cn.onClick,!1,void 0,Lt);let Pn;if((Pn=Cn&&Cn.onVnodeBeforeMount)&&invokeVNodeHook(Pn,Lt,At),En&&invokeDirectiveHook(At,null,Lt,"beforeMount"),((Pn=Cn&&Cn.onVnodeMounted)||En)&&queueEffectWithSuspense(()=>{Pn&&invokeVNodeHook(Pn,Lt,At),En&&invokeDirectiveHook(At,null,Lt,"mounted")},hn),wn&16&&!(Cn&&(Cn.innerHTML||Cn.textContent))){let kn=Ve(Et.firstChild,At,Et,Lt,hn,_n,vn);for(;kn;){hasMismatch=!0;const Nn=kn;kn=kn.nextSibling,de(Nn)}}else wn&8&&Et.textContent!==At.children&&(hasMismatch=!0,Et.textContent=At.children)}return Et.nextSibling},Ve=(Et,At,Lt,hn,_n,vn,bn)=>{bn=bn||!!At.dynamicChildren;const Cn=At.children,Sn=Cn.length;for(let wn=0;wn<Sn;wn++){const En=bn?Cn[wn]:Cn[wn]=normalizeVNode(Cn[wn]);if(Et)Et=$e(Et,En,hn,_n,vn,bn);else{if(En.type===Text$1&&!En.children)continue;hasMismatch=!0,V(null,En,Lt,null,hn,_n,isSVGContainer(Lt),vn)}}return Et},Fe=(Et,At,Lt,hn,_n,vn)=>{const{slotScopeIds:bn}=At;bn&&(_n=_n?_n.concat(bn):bn);const Cn=ue(Et),Sn=Ve(le(Et),At,Cn,Lt,hn,_n,vn);return Sn&&isComment$1(Sn)&&Sn.data==="]"?le(At.anchor=Sn):(hasMismatch=!0,pe(At.anchor=he("]"),Cn,Sn),Sn)},Ue=(Et,At,Lt,hn,_n,vn)=>{if(hasMismatch=!0,At.el=null,vn){const Sn=qe(Et);for(;;){const wn=le(Et);if(wn&&wn!==Sn)de(wn);else break}}const bn=le(Et),Cn=ue(Et);return de(Et),V(null,At,Cn,bn,Lt,hn,isSVGContainer(Cn),_n),bn},qe=Et=>{let At=0;for(;Et;)if(Et=le(Et),Et&&isComment$1(Et)&&(Et.data==="["&&At++,Et.data==="]")){if(At===0)return le(Et);At--}return Et};return[_e,$e]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(t){return baseCreateRenderer(t)}function createHydrationRenderer(t){return baseCreateRenderer(t,createHydrationFunctions)}function baseCreateRenderer(t,r){const V=getGlobalThis();V.__VUE__=!0;const{insert:oe,remove:ie,patchProp:le,createElement:ue,createText:de,createComment:pe,setText:he,setElementText:_e,parentNode:$e,nextSibling:Ie,setScopeId:Ve=NOOP,insertStaticContent:Fe}=t,Ue=(Un,qn,er,pr=null,Er=null,dr=null,xr=!1,wr=null,Cr=!!qn.dynamicChildren)=>{if(Un===qn)return;Un&&!isSameVNodeType(Un,qn)&&(pr=Kn(Un),Fn(Un,Er,dr,!0),Un=null),qn.patchFlag===-2&&(Cr=!1,qn.dynamicChildren=null);const{type:gr,ref:or,shapeFlag:fr}=qn;switch(gr){case Text$1:qe(Un,qn,er,pr);break;case Comment:Et(Un,qn,er,pr);break;case Static:Un==null&&At(qn,er,pr,xr);break;case Fragment:xn(Un,qn,er,pr,Er,dr,xr,wr,Cr);break;default:fr&1?_n(Un,qn,er,pr,Er,dr,xr,wr,Cr):fr&6?Pn(Un,qn,er,pr,Er,dr,xr,wr,Cr):(fr&64||fr&128)&&gr.process(Un,qn,er,pr,Er,dr,xr,wr,Cr,Qn)}or!=null&&Er&&setRef(or,Un&&Un.ref,dr,qn||Un,!qn)},qe=(Un,qn,er,pr)=>{if(Un==null)oe(qn.el=de(qn.children),er,pr);else{const Er=qn.el=Un.el;qn.children!==Un.children&&he(Er,qn.children)}},Et=(Un,qn,er,pr)=>{Un==null?oe(qn.el=pe(qn.children||""),er,pr):qn.el=Un.el},At=(Un,qn,er,pr)=>{[Un.el,Un.anchor]=Fe(Un.children,qn,er,pr,Un.el,Un.anchor)},Lt=({el:Un,anchor:qn},er,pr)=>{let Er;for(;Un&&Un!==qn;)Er=Ie(Un),oe(Un,er,pr),Un=Er;oe(qn,er,pr)},hn=({el:Un,anchor:qn})=>{let er;for(;Un&&Un!==qn;)er=Ie(Un),ie(Un),Un=er;ie(qn)},_n=(Un,qn,er,pr,Er,dr,xr,wr,Cr)=>{xr=xr||qn.type==="svg",Un==null?vn(qn,er,pr,Er,dr,xr,wr,Cr):Sn(Un,qn,Er,dr,xr,wr,Cr)},vn=(Un,qn,er,pr,Er,dr,xr,wr)=>{let Cr,gr;const{type:or,props:fr,shapeFlag:kr,transition:br,dirs:Ar}=Un;if(Cr=Un.el=ue(Un.type,dr,fr&&fr.is,fr),kr&8?_e(Cr,Un.children):kr&16&&Cn(Un.children,Cr,null,pr,Er,dr&&or!=="foreignObject",xr,wr),Ar&&invokeDirectiveHook(Un,null,pr,"created"),bn(Cr,Un,Un.scopeId,xr,pr),fr){for(const Br in fr)Br!=="value"&&!isReservedProp(Br)&&le(Cr,Br,null,fr[Br],dr,Un.children,pr,Er,Jn);"value"in fr&&le(Cr,"value",null,fr.value),(gr=fr.onVnodeBeforeMount)&&invokeVNodeHook(gr,pr,Un)}Ar&&invokeDirectiveHook(Un,null,pr,"beforeMount");const Dr=(!Er||Er&&!Er.pendingBranch)&&br&&!br.persisted;Dr&&br.beforeEnter(Cr),oe(Cr,qn,er),((gr=fr&&fr.onVnodeMounted)||Dr||Ar)&&queuePostRenderEffect(()=>{gr&&invokeVNodeHook(gr,pr,Un),Dr&&br.enter(Cr),Ar&&invokeDirectiveHook(Un,null,pr,"mounted")},Er)},bn=(Un,qn,er,pr,Er)=>{if(er&&Ve(Un,er),pr)for(let dr=0;dr<pr.length;dr++)Ve(Un,pr[dr]);if(Er){let dr=Er.subTree;if(qn===dr){const xr=Er.vnode;bn(Un,xr,xr.scopeId,xr.slotScopeIds,Er.parent)}}},Cn=(Un,qn,er,pr,Er,dr,xr,wr,Cr=0)=>{for(let gr=Cr;gr<Un.length;gr++){const or=Un[gr]=wr?cloneIfMounted(Un[gr]):normalizeVNode(Un[gr]);Ue(null,or,qn,er,pr,Er,dr,xr,wr)}},Sn=(Un,qn,er,pr,Er,dr,xr)=>{const wr=qn.el=Un.el;let{patchFlag:Cr,dynamicChildren:gr,dirs:or}=qn;Cr|=Un.patchFlag&16;const fr=Un.props||EMPTY_OBJ$1,kr=qn.props||EMPTY_OBJ$1;let br;er&&toggleRecurse(er,!1),(br=kr.onVnodeBeforeUpdate)&&invokeVNodeHook(br,er,qn,Un),or&&invokeDirectiveHook(qn,Un,er,"beforeUpdate"),er&&toggleRecurse(er,!0);const Ar=Er&&qn.type!=="foreignObject";if(gr?wn(Un.dynamicChildren,gr,wr,er,pr,Ar,dr):xr||Ln(Un,qn,wr,null,er,pr,Ar,dr,!1),Cr>0){if(Cr&16)En(wr,qn,fr,kr,er,pr,Er);else if(Cr&2&&fr.class!==kr.class&&le(wr,"class",null,kr.class,Er),Cr&4&&le(wr,"style",fr.style,kr.style,Er),Cr&8){const Dr=qn.dynamicProps;for(let Br=0;Br<Dr.length;Br++){const zr=Dr[Br],Rr=fr[zr],mr=kr[zr];(mr!==Rr||zr==="value")&&le(wr,zr,Rr,mr,Er,Un.children,er,pr,Jn)}}Cr&1&&Un.children!==qn.children&&_e(wr,qn.children)}else!xr&&gr==null&&En(wr,qn,fr,kr,er,pr,Er);((br=kr.onVnodeUpdated)||or)&&queuePostRenderEffect(()=>{br&&invokeVNodeHook(br,er,qn,Un),or&&invokeDirectiveHook(qn,Un,er,"updated")},pr)},wn=(Un,qn,er,pr,Er,dr,xr)=>{for(let wr=0;wr<qn.length;wr++){const Cr=Un[wr],gr=qn[wr],or=Cr.el&&(Cr.type===Fragment||!isSameVNodeType(Cr,gr)||Cr.shapeFlag&70)?$e(Cr.el):er;Ue(Cr,gr,or,null,pr,Er,dr,xr,!0)}},En=(Un,qn,er,pr,Er,dr,xr)=>{if(er!==pr){if(er!==EMPTY_OBJ$1)for(const wr in er)!isReservedProp(wr)&&!(wr in pr)&&le(Un,wr,er[wr],null,xr,qn.children,Er,dr,Jn);for(const wr in pr){if(isReservedProp(wr))continue;const Cr=pr[wr],gr=er[wr];Cr!==gr&&wr!=="value"&&le(Un,wr,gr,Cr,xr,qn.children,Er,dr,Jn)}"value"in pr&&le(Un,"value",er.value,pr.value)}},xn=(Un,qn,er,pr,Er,dr,xr,wr,Cr)=>{const gr=qn.el=Un?Un.el:de(""),or=qn.anchor=Un?Un.anchor:de("");let{patchFlag:fr,dynamicChildren:kr,slotScopeIds:br}=qn;br&&(wr=wr?wr.concat(br):br),Un==null?(oe(gr,er,pr),oe(or,er,pr),Cn(qn.children,er,or,Er,dr,xr,wr,Cr)):fr>0&&fr&64&&kr&&Un.dynamicChildren?(wn(Un.dynamicChildren,kr,er,Er,dr,xr,wr),(qn.key!=null||Er&&qn===Er.subTree)&&traverseStaticChildren(Un,qn,!0)):Ln(Un,qn,er,or,Er,dr,xr,wr,Cr)},Pn=(Un,qn,er,pr,Er,dr,xr,wr,Cr)=>{qn.slotScopeIds=wr,Un==null?qn.shapeFlag&512?Er.ctx.activate(qn,er,pr,xr,Cr):kn(qn,er,pr,Er,dr,xr,Cr):Nn(Un,qn,Cr)},kn=(Un,qn,er,pr,Er,dr,xr)=>{const wr=Un.component=createComponentInstance(Un,pr,Er);if(isKeepAlive(Un)&&(wr.ctx.renderer=Qn),setupComponent(wr),wr.asyncDep){if(Er&&Er.registerDep(wr,Dn),!Un.el){const Cr=wr.subTree=createVNode(Comment);Et(null,Cr,qn,er)}return}Dn(wr,Un,qn,er,Er,dr,xr)},Nn=(Un,qn,er)=>{const pr=qn.component=Un.component;if(shouldUpdateComponent(Un,qn,er))if(pr.asyncDep&&!pr.asyncResolved){Mn(pr,qn,er);return}else pr.next=qn,invalidateJob(pr.update),pr.update();else qn.el=Un.el,pr.vnode=qn},Dn=(Un,qn,er,pr,Er,dr,xr)=>{const wr=()=>{if(Un.isMounted){let{next:or,bu:fr,u:kr,parent:br,vnode:Ar}=Un,Dr=or,Br;toggleRecurse(Un,!1),or?(or.el=Ar.el,Mn(Un,or,xr)):or=Ar,fr&&invokeArrayFns(fr),(Br=or.props&&or.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Br,br,or,Ar),toggleRecurse(Un,!0);const zr=renderComponentRoot(Un),Rr=Un.subTree;Un.subTree=zr,Ue(Rr,zr,$e(Rr.el),Kn(Rr),Un,Er,dr),or.el=zr.el,Dr===null&&updateHOCHostEl(Un,zr.el),kr&&queuePostRenderEffect(kr,Er),(Br=or.props&&or.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Br,br,or,Ar),Er)}else{let or;const{el:fr,props:kr}=qn,{bm:br,m:Ar,parent:Dr}=Un,Br=isAsyncWrapper(qn);if(toggleRecurse(Un,!1),br&&invokeArrayFns(br),!Br&&(or=kr&&kr.onVnodeBeforeMount)&&invokeVNodeHook(or,Dr,qn),toggleRecurse(Un,!0),fr&&cr){const zr=()=>{Un.subTree=renderComponentRoot(Un),cr(fr,Un.subTree,Un,Er,null)};Br?qn.type.__asyncLoader().then(()=>!Un.isUnmounted&&zr()):zr()}else{const zr=Un.subTree=renderComponentRoot(Un);Ue(null,zr,er,pr,Un,Er,dr),qn.el=zr.el}if(Ar&&queuePostRenderEffect(Ar,Er),!Br&&(or=kr&&kr.onVnodeMounted)){const zr=qn;queuePostRenderEffect(()=>invokeVNodeHook(or,Dr,zr),Er)}(qn.shapeFlag&256||Dr&&isAsyncWrapper(Dr.vnode)&&Dr.vnode.shapeFlag&256)&&Un.a&&queuePostRenderEffect(Un.a,Er),Un.isMounted=!0,qn=er=pr=null}},Cr=Un.effect=new ReactiveEffect(wr,()=>queueJob(gr),Un.scope),gr=Un.update=()=>Cr.run();gr.id=Un.uid,toggleRecurse(Un,!0),gr()},Mn=(Un,qn,er)=>{qn.component=Un;const pr=Un.vnode.props;Un.vnode=qn,Un.next=null,updateProps$2(Un,qn.props,pr,er),updateSlots(Un,qn.children,er),pauseTracking(),flushPreFlushCbs(),resetTracking()},Ln=(Un,qn,er,pr,Er,dr,xr,wr,Cr=!1)=>{const gr=Un&&Un.children,or=Un?Un.shapeFlag:0,fr=qn.children,{patchFlag:kr,shapeFlag:br}=qn;if(kr>0){if(kr&128){Vn(gr,fr,er,pr,Er,dr,xr,wr,Cr);return}else if(kr&256){An(gr,fr,er,pr,Er,dr,xr,wr,Cr);return}}br&8?(or&16&&Jn(gr,Er,dr),fr!==gr&&_e(er,fr)):or&16?br&16?Vn(gr,fr,er,pr,Er,dr,xr,wr,Cr):Jn(gr,Er,dr,!0):(or&8&&_e(er,""),br&16&&Cn(fr,er,pr,Er,dr,xr,wr,Cr))},An=(Un,qn,er,pr,Er,dr,xr,wr,Cr)=>{Un=Un||EMPTY_ARR,qn=qn||EMPTY_ARR;const gr=Un.length,or=qn.length,fr=Math.min(gr,or);let kr;for(kr=0;kr<fr;kr++){const br=qn[kr]=Cr?cloneIfMounted(qn[kr]):normalizeVNode(qn[kr]);Ue(Un[kr],br,er,null,Er,dr,xr,wr,Cr)}gr>or?Jn(Un,Er,dr,!0,!1,fr):Cn(qn,er,pr,Er,dr,xr,wr,Cr,fr)},Vn=(Un,qn,er,pr,Er,dr,xr,wr,Cr)=>{let gr=0;const or=qn.length;let fr=Un.length-1,kr=or-1;for(;gr<=fr&&gr<=kr;){const br=Un[gr],Ar=qn[gr]=Cr?cloneIfMounted(qn[gr]):normalizeVNode(qn[gr]);if(isSameVNodeType(br,Ar))Ue(br,Ar,er,null,Er,dr,xr,wr,Cr);else break;gr++}for(;gr<=fr&&gr<=kr;){const br=Un[fr],Ar=qn[kr]=Cr?cloneIfMounted(qn[kr]):normalizeVNode(qn[kr]);if(isSameVNodeType(br,Ar))Ue(br,Ar,er,null,Er,dr,xr,wr,Cr);else break;fr--,kr--}if(gr>fr){if(gr<=kr){const br=kr+1,Ar=br<or?qn[br].el:pr;for(;gr<=kr;)Ue(null,qn[gr]=Cr?cloneIfMounted(qn[gr]):normalizeVNode(qn[gr]),er,Ar,Er,dr,xr,wr,Cr),gr++}}else if(gr>kr)for(;gr<=fr;)Fn(Un[gr],Er,dr,!0),gr++;else{const br=gr,Ar=gr,Dr=new Map;for(gr=Ar;gr<=kr;gr++){const Zn=qn[gr]=Cr?cloneIfMounted(qn[gr]):normalizeVNode(qn[gr]);Zn.key!=null&&Dr.set(Zn.key,gr)}let Br,zr=0;const Rr=kr-Ar+1;let mr=!1,ir=0;const ar=new Array(Rr);for(gr=0;gr<Rr;gr++)ar[gr]=0;for(gr=br;gr<=fr;gr++){const Zn=Un[gr];if(zr>=Rr){Fn(Zn,Er,dr,!0);continue}let Or;if(Zn.key!=null)Or=Dr.get(Zn.key);else for(Br=Ar;Br<=kr;Br++)if(ar[Br-Ar]===0&&isSameVNodeType(Zn,qn[Br])){Or=Br;break}Or===void 0?Fn(Zn,Er,dr,!0):(ar[Or-Ar]=gr+1,Or>=ir?ir=Or:mr=!0,Ue(Zn,qn[Or],er,null,Er,dr,xr,wr,Cr),zr++)}const $r=mr?getSequence(ar):EMPTY_ARR;for(Br=$r.length-1,gr=Rr-1;gr>=0;gr--){const Zn=Ar+gr,Or=qn[Zn],Lr=Zn+1<or?qn[Zn+1].el:pr;ar[gr]===0?Ue(null,Or,er,Lr,Er,dr,xr,wr,Cr):mr&&(Br<0||gr!==$r[Br]?Wn(Or,er,Lr,2):Br--)}}},Wn=(Un,qn,er,pr,Er=null)=>{const{el:dr,type:xr,transition:wr,children:Cr,shapeFlag:gr}=Un;if(gr&6){Wn(Un.component.subTree,qn,er,pr);return}if(gr&128){Un.suspense.move(qn,er,pr);return}if(gr&64){xr.move(Un,qn,er,Qn);return}if(xr===Fragment){oe(dr,qn,er);for(let fr=0;fr<Cr.length;fr++)Wn(Cr[fr],qn,er,pr);oe(Un.anchor,qn,er);return}if(xr===Static){Lt(Un,qn,er);return}if(pr!==2&&gr&1&&wr)if(pr===0)wr.beforeEnter(dr),oe(dr,qn,er),queuePostRenderEffect(()=>wr.enter(dr),Er);else{const{leave:fr,delayLeave:kr,afterLeave:br}=wr,Ar=()=>oe(dr,qn,er),Dr=()=>{fr(dr,()=>{Ar(),br&&br()})};kr?kr(dr,Ar,Dr):Dr()}else oe(dr,qn,er)},Fn=(Un,qn,er,pr=!1,Er=!1)=>{const{type:dr,props:xr,ref:wr,children:Cr,dynamicChildren:gr,shapeFlag:or,patchFlag:fr,dirs:kr}=Un;if(wr!=null&&setRef(wr,null,er,Un,!0),or&256){qn.ctx.deactivate(Un);return}const br=or&1&&kr,Ar=!isAsyncWrapper(Un);let Dr;if(Ar&&(Dr=xr&&xr.onVnodeBeforeUnmount)&&invokeVNodeHook(Dr,qn,Un),or&6)yr(Un.component,er,pr);else{if(or&128){Un.suspense.unmount(er,pr);return}br&&invokeDirectiveHook(Un,null,qn,"beforeUnmount"),or&64?Un.type.remove(Un,qn,er,Er,Qn,pr):gr&&(dr!==Fragment||fr>0&&fr&64)?Jn(gr,qn,er,!1,!0):(dr===Fragment&&fr&384||!Er&&or&16)&&Jn(Cr,qn,er),pr&&Yn(Un)}(Ar&&(Dr=xr&&xr.onVnodeUnmounted)||br)&&queuePostRenderEffect(()=>{Dr&&invokeVNodeHook(Dr,qn,Un),br&&invokeDirectiveHook(Un,null,qn,"unmounted")},er)},Yn=Un=>{const{type:qn,el:er,anchor:pr,transition:Er}=Un;if(qn===Fragment){tr(er,pr);return}if(qn===Static){hn(Un);return}const dr=()=>{ie(er),Er&&!Er.persisted&&Er.afterLeave&&Er.afterLeave()};if(Un.shapeFlag&1&&Er&&!Er.persisted){const{leave:xr,delayLeave:wr}=Er,Cr=()=>xr(er,dr);wr?wr(Un.el,dr,Cr):Cr()}else dr()},tr=(Un,qn)=>{let er;for(;Un!==qn;)er=Ie(Un),ie(Un),Un=er;ie(qn)},yr=(Un,qn,er)=>{const{bum:pr,scope:Er,update:dr,subTree:xr,um:wr}=Un;pr&&invokeArrayFns(pr),Er.stop(),dr&&(dr.active=!1,Fn(xr,Un,qn,er)),wr&&queuePostRenderEffect(wr,qn),queuePostRenderEffect(()=>{Un.isUnmounted=!0},qn),qn&&qn.pendingBranch&&!qn.isUnmounted&&Un.asyncDep&&!Un.asyncResolved&&Un.suspenseId===qn.pendingId&&(qn.deps--,qn.deps===0&&qn.resolve())},Jn=(Un,qn,er,pr=!1,Er=!1,dr=0)=>{for(let xr=dr;xr<Un.length;xr++)Fn(Un[xr],qn,er,pr,Er)},Kn=Un=>Un.shapeFlag&6?Kn(Un.component.subTree):Un.shapeFlag&128?Un.suspense.next():Ie(Un.anchor||Un.el),Gn=(Un,qn,er)=>{Un==null?qn._vnode&&Fn(qn._vnode,null,null,!0):Ue(qn._vnode||null,Un,qn,null,null,null,er),flushPreFlushCbs(),flushPostFlushCbs(),qn._vnode=Un},Qn={p:Ue,um:Fn,m:Wn,r:Yn,mt:kn,mc:Cn,pc:Ln,pbc:wn,n:Kn,o:t};let ur,cr;return r&&([ur,cr]=r(Qn)),{render:Gn,hydrate:ur,createApp:createAppAPI(Gn,ur)}}function toggleRecurse({effect:t,update:r},V){t.allowRecurse=r.allowRecurse=V}function traverseStaticChildren(t,r,V=!1){const oe=t.children,ie=r.children;if(isArray$c(oe)&&isArray$c(ie))for(let le=0;le<oe.length;le++){const ue=oe[le];let de=ie[le];de.shapeFlag&1&&!de.dynamicChildren&&((de.patchFlag<=0||de.patchFlag===32)&&(de=ie[le]=cloneIfMounted(ie[le]),de.el=ue.el),V||traverseStaticChildren(ue,de)),de.type===Text$1&&(de.el=ue.el)}}function getSequence(t){const r=t.slice(),V=[0];let oe,ie,le,ue,de;const pe=t.length;for(oe=0;oe<pe;oe++){const he=t[oe];if(he!==0){if(ie=V[V.length-1],t[ie]<he){r[oe]=ie,V.push(oe);continue}for(le=0,ue=V.length-1;le<ue;)de=le+ue>>1,t[V[de]]<he?le=de+1:ue=de;he<t[V[le]]&&(le>0&&(r[oe]=V[le-1]),V[le]=oe)}}for(le=V.length,ue=V[le-1];le-- >0;)V[le]=ue,ue=r[ue];return V}const isTeleport=t=>t.__isTeleport,isTeleportDisabled=t=>t&&(t.disabled||t.disabled===""),isTargetSVG=t=>typeof SVGElement<"u"&&t instanceof SVGElement,resolveTarget=(t,r)=>{const V=t&&t.to;return isString$6(V)?r?r(V):null:V},TeleportImpl={__isTeleport:!0,process(t,r,V,oe,ie,le,ue,de,pe,he){const{mc:_e,pc:$e,pbc:Ie,o:{insert:Ve,querySelector:Fe,createText:Ue,createComment:qe}}=he,Et=isTeleportDisabled(r.props);let{shapeFlag:At,children:Lt,dynamicChildren:hn}=r;if(t==null){const _n=r.el=Ue(""),vn=r.anchor=Ue("");Ve(_n,V,oe),Ve(vn,V,oe);const bn=r.target=resolveTarget(r.props,Fe),Cn=r.targetAnchor=Ue("");bn&&(Ve(Cn,bn),ue=ue||isTargetSVG(bn));const Sn=(wn,En)=>{At&16&&_e(Lt,wn,En,ie,le,ue,de,pe)};Et?Sn(V,vn):bn&&Sn(bn,Cn)}else{r.el=t.el;const _n=r.anchor=t.anchor,vn=r.target=t.target,bn=r.targetAnchor=t.targetAnchor,Cn=isTeleportDisabled(t.props),Sn=Cn?V:vn,wn=Cn?_n:bn;if(ue=ue||isTargetSVG(vn),hn?(Ie(t.dynamicChildren,hn,Sn,ie,le,ue,de),traverseStaticChildren(t,r,!0)):pe||$e(t,r,Sn,wn,ie,le,ue,de,!1),Et)Cn||moveTeleport(r,V,_n,he,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const En=r.target=resolveTarget(r.props,Fe);En&&moveTeleport(r,En,null,he,0)}else Cn&&moveTeleport(r,vn,bn,he,1)}updateCssVars(r)},remove(t,r,V,oe,{um:ie,o:{remove:le}},ue){const{shapeFlag:de,children:pe,anchor:he,targetAnchor:_e,target:$e,props:Ie}=t;if($e&&le(_e),(ue||!isTeleportDisabled(Ie))&&(le(he),de&16))for(let Ve=0;Ve<pe.length;Ve++){const Fe=pe[Ve];ie(Fe,r,V,!0,!!Fe.dynamicChildren)}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(t,r,V,{o:{insert:oe},m:ie},le=2){le===0&&oe(t.targetAnchor,r,V);const{el:ue,anchor:de,shapeFlag:pe,children:he,props:_e}=t,$e=le===2;if($e&&oe(ue,r,V),(!$e||isTeleportDisabled(_e))&&pe&16)for(let Ie=0;Ie<he.length;Ie++)ie(he[Ie],r,V,2);$e&&oe(de,r,V)}function hydrateTeleport(t,r,V,oe,ie,le,{o:{nextSibling:ue,parentNode:de,querySelector:pe}},he){const _e=r.target=resolveTarget(r.props,pe);if(_e){const $e=_e._lpa||_e.firstChild;if(r.shapeFlag&16)if(isTeleportDisabled(r.props))r.anchor=he(ue(t),r,de(t),V,oe,ie,le),r.targetAnchor=$e;else{r.anchor=ue(t);let Ie=$e;for(;Ie;)if(Ie=ue(Ie),Ie&&Ie.nodeType===8&&Ie.data==="teleport anchor"){r.targetAnchor=Ie,_e._lpa=r.targetAnchor&&ue(r.targetAnchor);break}he($e,r,_e,V,oe,ie,le)}updateCssVars(r)}return r.anchor&&ue(r.anchor)}const Teleport=TeleportImpl;function updateCssVars(t){const r=t.ctx;if(r&&r.ut){let V=t.children[0].el;for(;V!==t.targetAnchor;)V.nodeType===1&&V.setAttribute("data-v-owner",r.uid),V=V.nextSibling;r.ut()}}const Fragment=Symbol.for("v-fgt"),Text$1=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(t=!1){blockStack.push(currentBlock=t?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(t){isBlockTreeEnabled+=t}function setupBlock(t){return t.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(t),t}function createElementBlock(t,r,V,oe,ie,le){return setupBlock(createBaseVNode(t,r,V,oe,ie,le,!0))}function createBlock(t,r,V,oe,ie){return setupBlock(createVNode(t,r,V,oe,ie,!0))}function isVNode$1(t){return t?t.__v_isVNode===!0:!1}function isSameVNodeType(t,r){return t.type===r.type&&t.key===r.key}function transformVNodeArgs(t){}const InternalObjectKey="__vInternal",normalizeKey=({key:t})=>t??null,normalizeRef=({ref:t,ref_key:r,ref_for:V})=>(typeof t=="number"&&(t=""+t),t!=null?isString$6(t)||isRef(t)||isFunction$5(t)?{i:currentRenderingInstance,r:t,k:r,f:!!V}:t:null);function createBaseVNode(t,r=null,V=null,oe=0,ie=null,le=t===Fragment?0:1,ue=!1,de=!1){const pe={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&normalizeKey(r),ref:r&&normalizeRef(r),scopeId:currentScopeId,slotScopeIds:null,children:V,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:le,patchFlag:oe,dynamicProps:ie,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return de?(normalizeChildren(pe,V),le&128&&t.normalize(pe)):V&&(pe.shapeFlag|=isString$6(V)?8:16),isBlockTreeEnabled>0&&!ue&¤tBlock&&(pe.patchFlag>0||le&6)&&pe.patchFlag!==32&¤tBlock.push(pe),pe}const createVNode=_createVNode;function _createVNode(t,r=null,V=null,oe=0,ie=null,le=!1){if((!t||t===NULL_DYNAMIC_COMPONENT)&&(t=Comment),isVNode$1(t)){const de=cloneVNode(t,r,!0);return V&&normalizeChildren(de,V),isBlockTreeEnabled>0&&!le&¤tBlock&&(de.shapeFlag&6?currentBlock[currentBlock.indexOf(t)]=de:currentBlock.push(de)),de.patchFlag|=-2,de}if(isClassComponent(t)&&(t=t.__vccOpts),r){r=guardReactiveProps(r);let{class:de,style:pe}=r;de&&!isString$6(de)&&(r.class=normalizeClass(de)),isObject$9(pe)&&(isProxy(pe)&&!isArray$c(pe)&&(pe=extend$2({},pe)),r.style=normalizeStyle$1(pe))}const ue=isString$6(t)?1:isSuspense(t)?128:isTeleport(t)?64:isObject$9(t)?4:isFunction$5(t)?2:0;return createBaseVNode(t,r,V,oe,ie,ue,le,!0)}function guardReactiveProps(t){return t?isProxy(t)||InternalObjectKey in t?extend$2({},t):t:null}function cloneVNode(t,r,V=!1){const{props:oe,ref:ie,patchFlag:le,children:ue}=t,de=r?mergeProps(oe||{},r):oe;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:de,key:de&&normalizeKey(de),ref:r&&r.ref?V&&ie?isArray$c(ie)?ie.concat(normalizeRef(r)):[ie,normalizeRef(r)]:normalizeRef(r):ie,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:ue,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Fragment?le===-1?16:le|16:le,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&cloneVNode(t.ssContent),ssFallback:t.ssFallback&&cloneVNode(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function createTextVNode(t=" ",r=0){return createVNode(Text$1,null,t,r)}function createStaticVNode(t,r){const V=createVNode(Static,null,t);return V.staticCount=r,V}function createCommentVNode(t="",r=!1){return r?(openBlock(),createBlock(Comment,null,t)):createVNode(Comment,null,t)}function normalizeVNode(t){return t==null||typeof t=="boolean"?createVNode(Comment):isArray$c(t)?createVNode(Fragment,null,t.slice()):typeof t=="object"?cloneIfMounted(t):createVNode(Text$1,null,String(t))}function cloneIfMounted(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:cloneVNode(t)}function normalizeChildren(t,r){let V=0;const{shapeFlag:oe}=t;if(r==null)r=null;else if(isArray$c(r))V=16;else if(typeof r=="object")if(oe&65){const ie=r.default;ie&&(ie._c&&(ie._d=!1),normalizeChildren(t,ie()),ie._c&&(ie._d=!0));return}else{V=32;const ie=r._;!ie&&!(InternalObjectKey in r)?r._ctx=currentRenderingInstance:ie===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else isFunction$5(r)?(r={default:r,_ctx:currentRenderingInstance},V=32):(r=String(r),oe&64?(V=16,r=[createTextVNode(r)]):V=8);t.children=r,t.shapeFlag|=V}function mergeProps(...t){const r={};for(let V=0;V<t.length;V++){const oe=t[V];for(const ie in oe)if(ie==="class")r.class!==oe.class&&(r.class=normalizeClass([r.class,oe.class]));else if(ie==="style")r.style=normalizeStyle$1([r.style,oe.style]);else if(isOn(ie)){const le=r[ie],ue=oe[ie];ue&&le!==ue&&!(isArray$c(le)&&le.includes(ue))&&(r[ie]=le?[].concat(le,ue):ue)}else ie!==""&&(r[ie]=oe[ie])}return r}function invokeVNodeHook(t,r,V,oe=null){callWithAsyncErrorHandling(t,r,7,[V,oe])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance(t,r,V){const oe=t.type,ie=(r?r.appContext:t.appContext)||emptyAppContext,le={uid:uid$2++,vnode:t,type:oe,parent:r,appContext:ie,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:r?r.provides:Object.create(ie.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(oe,ie),emitsOptions:normalizeEmitsOptions(oe,ie),emit:null,emitted:null,propsDefaults:EMPTY_OBJ$1,inheritAttrs:oe.inheritAttrs,ctx:EMPTY_OBJ$1,data:EMPTY_OBJ$1,props:EMPTY_OBJ$1,attrs:EMPTY_OBJ$1,slots:EMPTY_OBJ$1,refs:EMPTY_OBJ$1,setupState:EMPTY_OBJ$1,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:V,suspenseId:V?V.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 le.ctx={_:le},le.root=r?r.root:le,le.emit=emit.bind(null,le),t.ce&&t.ce(le),le}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,globalCurrentInstanceSetters,settersKey="__VUE_INSTANCE_SETTERS__";(globalCurrentInstanceSetters=getGlobalThis()[settersKey])||(globalCurrentInstanceSetters=getGlobalThis()[settersKey]=[]),globalCurrentInstanceSetters.push(t=>currentInstance=t),internalSetCurrentInstance=t=>{globalCurrentInstanceSetters.length>1?globalCurrentInstanceSetters.forEach(r=>r(t)):globalCurrentInstanceSetters[0](t)};const setCurrentInstance=t=>{internalSetCurrentInstance(t),t.scope.on()},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(t){return t.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(t,r=!1){isInSSRComponentSetup=r;const{props:V,children:oe}=t.vnode,ie=isStatefulComponent(t);initProps$1(t,V,ie,r),initSlots(t,oe);const le=ie?setupStatefulComponent(t,r):void 0;return isInSSRComponentSetup=!1,le}function setupStatefulComponent(t,r){const V=t.type;t.accessCache=Object.create(null),t.proxy=markRaw(new Proxy(t.ctx,PublicInstanceProxyHandlers));const{setup:oe}=V;if(oe){const ie=t.setupContext=oe.length>1?createSetupContext(t):null;setCurrentInstance(t),pauseTracking();const le=callWithErrorHandling(oe,t,0,[t.props,ie]);if(resetTracking(),unsetCurrentInstance(),isPromise(le)){if(le.then(unsetCurrentInstance,unsetCurrentInstance),r)return le.then(ue=>{handleSetupResult(t,ue,r)}).catch(ue=>{handleError(ue,t,0)});t.asyncDep=le}else handleSetupResult(t,le,r)}else finishComponentSetup(t,r)}function handleSetupResult(t,r,V){isFunction$5(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:isObject$9(r)&&(t.setupState=proxyRefs(r)),finishComponentSetup(t,V)}let compile$1,installWithProxy;function registerRuntimeCompiler(t){compile$1=t,installWithProxy=r=>{r.render._rc&&(r.withProxy=new Proxy(r.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$1;function finishComponentSetup(t,r,V){const oe=t.type;if(!t.render){if(!r&&compile$1&&!oe.render){const ie=oe.template||resolveMergedOptions(t).template;if(ie){const{isCustomElement:le,compilerOptions:ue}=t.appContext.config,{delimiters:de,compilerOptions:pe}=oe,he=extend$2(extend$2({isCustomElement:le,delimiters:de},ue),pe);oe.render=compile$1(ie,he)}}t.render=oe.render||NOOP,installWithProxy&&installWithProxy(t)}setCurrentInstance(t),pauseTracking(),applyOptions(t),resetTracking(),unsetCurrentInstance()}function getAttrsProxy(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(r,V){return track(t,"get","$attrs"),r[V]}}))}function createSetupContext(t){const r=V=>{t.exposed=V||{}};return{get attrs(){return getAttrsProxy(t)},slots:t.slots,emit:t.emit,expose:r}}function getExposeProxy(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(proxyRefs(markRaw(t.exposed)),{get(r,V){if(V in r)return r[V];if(V in publicPropertiesMap)return publicPropertiesMap[V](t)},has(r,V){return V in r||V in publicPropertiesMap}}))}function getComponentName(t,r=!0){return isFunction$5(t)?t.displayName||t.name:t.name||r&&t.__name}function isClassComponent(t){return isFunction$5(t)&&"__vccOpts"in t}const computed=(t,r)=>computed$1(t,r,isInSSRComponentSetup);function h$2(t,r,V){const oe=arguments.length;return oe===2?isObject$9(r)&&!isArray$c(r)?isVNode$1(r)?createVNode(t,null,[r]):createVNode(t,r):createVNode(t,null,r):(oe>3?V=Array.prototype.slice.call(arguments,2):oe===3&&isVNode$1(V)&&(V=[V]),createVNode(t,r,V))}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function initCustomFormatter(){}function withMemo(t,r,V,oe){const ie=V[oe];if(ie&&isMemoSame(ie,t))return ie;const le=r();return le.memo=t.slice(),V[oe]=le}function isMemoSame(t,r){const V=t.memo;if(V.length!=r.length)return!1;for(let oe=0;oe<V.length;oe++)if(hasChanged(V[oe],r[oe]))return!1;return isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(t),!0}const version$3="3.3.4",_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode:isVNode$1,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,svgNS="http://www.w3.org/2000/svg",doc$1=typeof document<"u"?document:null,templateContainer=doc$1&&doc$1.createElement("template"),nodeOps={insert:(t,r,V)=>{r.insertBefore(t,V||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,V,oe)=>{const ie=r?doc$1.createElementNS(svgNS,t):doc$1.createElement(t,V?{is:V}:void 0);return t==="select"&&oe&&oe.multiple!=null&&ie.setAttribute("multiple",oe.multiple),ie},createText:t=>doc$1.createTextNode(t),createComment:t=>doc$1.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>doc$1.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,V,oe,ie,le){const ue=V?V.previousSibling:r.lastChild;if(ie&&(ie===le||ie.nextSibling))for(;r.insertBefore(ie.cloneNode(!0),V),!(ie===le||!(ie=ie.nextSibling)););else{templateContainer.innerHTML=oe?`<svg>${t}</svg>`:t;const de=templateContainer.content;if(oe){const pe=de.firstChild;for(;pe.firstChild;)de.appendChild(pe.firstChild);de.removeChild(pe)}r.insertBefore(de,V)}return[ue?ue.nextSibling:r.firstChild,V?V.previousSibling:r.lastChild]}};function patchClass(t,r,V){const oe=t._vtc;oe&&(r=(r?[r,...oe]:[...oe]).join(" ")),r==null?t.removeAttribute("class"):V?t.setAttribute("class",r):t.className=r}function patchStyle(t,r,V){const oe=t.style,ie=isString$6(V);if(V&&!ie){if(r&&!isString$6(r))for(const le in r)V[le]==null&&setStyle(oe,le,"");for(const le in V)setStyle(oe,le,V[le])}else{const le=oe.display;ie?r!==V&&(oe.cssText=V):r&&t.removeAttribute("style"),"_vod"in t&&(oe.display=le)}}const importantRE=/\s*!important$/;function setStyle(t,r,V){if(isArray$c(V))V.forEach(oe=>setStyle(t,r,oe));else if(V==null&&(V=""),r.startsWith("--"))t.setProperty(r,V);else{const oe=autoPrefix(t,r);importantRE.test(V)?t.setProperty(hyphenate(oe),V.replace(importantRE,""),"important"):t[oe]=V}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(t,r){const V=prefixCache[r];if(V)return V;let oe=camelize(r);if(oe!=="filter"&&oe in t)return prefixCache[r]=oe;oe=capitalize$2(oe);for(let ie=0;ie<prefixes.length;ie++){const le=prefixes[ie]+oe;if(le in t)return prefixCache[r]=le}return r}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(t,r,V,oe,ie){if(oe&&r.startsWith("xlink:"))V==null?t.removeAttributeNS(xlinkNS,r.slice(6,r.length)):t.setAttributeNS(xlinkNS,r,V);else{const le=isSpecialBooleanAttr(r);V==null||le&&!includeBooleanAttr(V)?t.removeAttribute(r):t.setAttribute(r,le?"":V)}}function patchDOMProp(t,r,V,oe,ie,le,ue){if(r==="innerHTML"||r==="textContent"){oe&&ue(oe,ie,le),t[r]=V??"";return}const de=t.tagName;if(r==="value"&&de!=="PROGRESS"&&!de.includes("-")){t._value=V;const he=de==="OPTION"?t.getAttribute("value"):t.value,_e=V??"";he!==_e&&(t.value=_e),V==null&&t.removeAttribute(r);return}let pe=!1;if(V===""||V==null){const he=typeof t[r];he==="boolean"?V=includeBooleanAttr(V):V==null&&he==="string"?(V="",pe=!0):he==="number"&&(V=0,pe=!0)}try{t[r]=V}catch{}pe&&t.removeAttribute(r)}function addEventListener$1(t,r,V,oe){t.addEventListener(r,V,oe)}function removeEventListener$1(t,r,V,oe){t.removeEventListener(r,V,oe)}function patchEvent(t,r,V,oe,ie=null){const le=t._vei||(t._vei={}),ue=le[r];if(oe&&ue)ue.value=oe;else{const[de,pe]=parseName(r);if(oe){const he=le[r]=createInvoker(oe,ie);addEventListener$1(t,de,he,pe)}else ue&&(removeEventListener$1(t,de,ue,pe),le[r]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(t){let r;if(optionsModifierRE.test(t)){r={};let oe;for(;oe=t.match(optionsModifierRE);)t=t.slice(0,t.length-oe[0].length),r[oe[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):hyphenate(t.slice(2)),r]}let cachedNow=0;const p$2=Promise.resolve(),getNow=()=>cachedNow||(p$2.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(t,r){const V=oe=>{if(!oe._vts)oe._vts=Date.now();else if(oe._vts<=V.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(oe,V.value),r,5,[oe])};return V.value=t,V.attached=getNow(),V}function patchStopImmediatePropagation(t,r){if(isArray$c(r)){const V=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{V.call(t),t._stopped=!0},r.map(oe=>ie=>!ie._stopped&&oe&&oe(ie))}else return r}const nativeOnRE=/^on[a-z]/,patchProp=(t,r,V,oe,ie=!1,le,ue,de,pe)=>{r==="class"?patchClass(t,oe,ie):r==="style"?patchStyle(t,V,oe):isOn(r)?isModelListener(r)||patchEvent(t,r,V,oe,ue):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):shouldSetAsProp(t,r,oe,ie))?patchDOMProp(t,r,oe,le,ue,de,pe):(r==="true-value"?t._trueValue=oe:r==="false-value"&&(t._falseValue=oe),patchAttr(t,r,oe,ie))};function shouldSetAsProp(t,r,V,oe){return oe?!!(r==="innerHTML"||r==="textContent"||r in t&&nativeOnRE.test(r)&&isFunction$5(V)):r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA"||nativeOnRE.test(r)&&isString$6(V)?!1:r in t}function defineCustomElement(t,r){const V=defineComponent(t);class oe extends VueElement{constructor(le){super(V,le,r)}}return oe.def=V,oe}const defineSSRCustomElement=t=>defineCustomElement(t,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(r,V={},oe){super(),this._def=r,this._props=V,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&oe?oe(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(render$4(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let oe=0;oe<this.attributes.length;oe++)this._setAttr(this.attributes[oe].name);new MutationObserver(oe=>{for(const ie of oe)this._setAttr(ie.attributeName)}).observe(this,{attributes:!0});const r=(oe,ie=!1)=>{const{props:le,styles:ue}=oe;let de;if(le&&!isArray$c(le))for(const pe in le){const he=le[pe];(he===Number||he&&he.type===Number)&&(pe in this._props&&(this._props[pe]=toNumber$1(this._props[pe])),(de||(de=Object.create(null)))[camelize(pe)]=!0)}this._numberProps=de,ie&&this._resolveProps(oe),this._applyStyles(ue),this._update()},V=this._def.__asyncLoader;V?V().then(oe=>r(oe,!0)):r(this._def)}_resolveProps(r){const{props:V}=r,oe=isArray$c(V)?V:Object.keys(V||{});for(const ie of Object.keys(this))ie[0]!=="_"&&oe.includes(ie)&&this._setProp(ie,this[ie],!0,!1);for(const ie of oe.map(camelize))Object.defineProperty(this,ie,{get(){return this._getProp(ie)},set(le){this._setProp(ie,le)}})}_setAttr(r){let V=this.getAttribute(r);const oe=camelize(r);this._numberProps&&this._numberProps[oe]&&(V=toNumber$1(V)),this._setProp(oe,V,!1)}_getProp(r){return this._props[r]}_setProp(r,V,oe=!0,ie=!0){V!==this._props[r]&&(this._props[r]=V,ie&&this._instance&&this._update(),oe&&(V===!0?this.setAttribute(hyphenate(r),""):typeof V=="string"||typeof V=="number"?this.setAttribute(hyphenate(r),V+""):V||this.removeAttribute(hyphenate(r))))}_update(){render$4(this._createVNode(),this.shadowRoot)}_createVNode(){const r=createVNode(this._def,extend$2({},this._props));return this._instance||(r.ce=V=>{this._instance=V,V.isCE=!0;const oe=(le,ue)=>{this.dispatchEvent(new CustomEvent(le,{detail:ue}))};V.emit=(le,...ue)=>{oe(le,ue),hyphenate(le)!==le&&oe(hyphenate(le),ue)};let ie=this;for(;ie=ie&&(ie.parentNode||ie.host);)if(ie instanceof VueElement){V.parent=ie._instance,V.provides=ie._instance.provides;break}}),r}_applyStyles(r){r&&r.forEach(V=>{const oe=document.createElement("style");oe.textContent=V,this.shadowRoot.appendChild(oe)})}}function useCssModule(t="$style"){{const r=getCurrentInstance();if(!r)return EMPTY_OBJ$1;const V=r.type.__cssModules;if(!V)return EMPTY_OBJ$1;const oe=V[t];return oe||EMPTY_OBJ$1}}function useCssVars(t){const r=getCurrentInstance();if(!r)return;const V=r.ut=(ie=t(r.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${r.uid}"]`)).forEach(le=>setVarsOnNode(le,ie))},oe=()=>{const ie=t(r.proxy);setVarsOnVNode(r.subTree,ie),V(ie)};watchPostEffect(oe),onMounted(()=>{const ie=new MutationObserver(oe);ie.observe(r.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ie.disconnect())})}function setVarsOnVNode(t,r){if(t.shapeFlag&128){const V=t.suspense;t=V.activeBranch,V.pendingBranch&&!V.isHydrating&&V.effects.push(()=>{setVarsOnVNode(V.activeBranch,r)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)setVarsOnNode(t.el,r);else if(t.type===Fragment)t.children.forEach(V=>setVarsOnVNode(V,r));else if(t.type===Static){let{el:V,anchor:oe}=t;for(;V&&(setVarsOnNode(V,r),V!==oe);)V=V.nextSibling}}function setVarsOnNode(t,r){if(t.nodeType===1){const V=t.style;for(const oe in r)V.setProperty(`--${oe}`,r[oe])}}const TRANSITION="transition",ANIMATION="animation",Transition=(t,{slots:r})=>h$2(BaseTransition,resolveTransitionProps(t),r);Transition.displayName="Transition";const DOMTransitionPropsValidators={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},TransitionPropsValidators=Transition.props=extend$2({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(t,r=[])=>{isArray$c(t)?t.forEach(V=>V(...r)):t&&t(...r)},hasExplicitCallback=t=>t?isArray$c(t)?t.some(r=>r.length>1):t.length>1:!1;function resolveTransitionProps(t){const r={};for(const xn in t)xn in DOMTransitionPropsValidators||(r[xn]=t[xn]);if(t.css===!1)return r;const{name:V="v",type:oe,duration:ie,enterFromClass:le=`${V}-enter-from`,enterActiveClass:ue=`${V}-enter-active`,enterToClass:de=`${V}-enter-to`,appearFromClass:pe=le,appearActiveClass:he=ue,appearToClass:_e=de,leaveFromClass:$e=`${V}-leave-from`,leaveActiveClass:Ie=`${V}-leave-active`,leaveToClass:Ve=`${V}-leave-to`}=t,Fe=normalizeDuration(ie),Ue=Fe&&Fe[0],qe=Fe&&Fe[1],{onBeforeEnter:Et,onEnter:At,onEnterCancelled:Lt,onLeave:hn,onLeaveCancelled:_n,onBeforeAppear:vn=Et,onAppear:bn=At,onAppearCancelled:Cn=Lt}=r,Sn=(xn,Pn,kn)=>{removeTransitionClass(xn,Pn?_e:de),removeTransitionClass(xn,Pn?he:ue),kn&&kn()},wn=(xn,Pn)=>{xn._isLeaving=!1,removeTransitionClass(xn,$e),removeTransitionClass(xn,Ve),removeTransitionClass(xn,Ie),Pn&&Pn()},En=xn=>(Pn,kn)=>{const Nn=xn?bn:At,Dn=()=>Sn(Pn,xn,kn);callHook(Nn,[Pn,Dn]),nextFrame(()=>{removeTransitionClass(Pn,xn?pe:le),addTransitionClass(Pn,xn?_e:de),hasExplicitCallback(Nn)||whenTransitionEnds(Pn,oe,Ue,Dn)})};return extend$2(r,{onBeforeEnter(xn){callHook(Et,[xn]),addTransitionClass(xn,le),addTransitionClass(xn,ue)},onBeforeAppear(xn){callHook(vn,[xn]),addTransitionClass(xn,pe),addTransitionClass(xn,he)},onEnter:En(!1),onAppear:En(!0),onLeave(xn,Pn){xn._isLeaving=!0;const kn=()=>wn(xn,Pn);addTransitionClass(xn,$e),forceReflow(),addTransitionClass(xn,Ie),nextFrame(()=>{xn._isLeaving&&(removeTransitionClass(xn,$e),addTransitionClass(xn,Ve),hasExplicitCallback(hn)||whenTransitionEnds(xn,oe,qe,kn))}),callHook(hn,[xn,kn])},onEnterCancelled(xn){Sn(xn,!1),callHook(Lt,[xn])},onAppearCancelled(xn){Sn(xn,!0),callHook(Cn,[xn])},onLeaveCancelled(xn){wn(xn),callHook(_n,[xn])}})}function normalizeDuration(t){if(t==null)return null;if(isObject$9(t))return[NumberOf(t.enter),NumberOf(t.leave)];{const r=NumberOf(t);return[r,r]}}function NumberOf(t){return toNumber$1(t)}function addTransitionClass(t,r){r.split(/\s+/).forEach(V=>V&&t.classList.add(V)),(t._vtc||(t._vtc=new Set)).add(r)}function removeTransitionClass(t,r){r.split(/\s+/).forEach(oe=>oe&&t.classList.remove(oe));const{_vtc:V}=t;V&&(V.delete(r),V.size||(t._vtc=void 0))}function nextFrame(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let endId=0;function whenTransitionEnds(t,r,V,oe){const ie=t._endId=++endId,le=()=>{ie===t._endId&&oe()};if(V)return setTimeout(le,V);const{type:ue,timeout:de,propCount:pe}=getTransitionInfo(t,r);if(!ue)return oe();const he=ue+"end";let _e=0;const $e=()=>{t.removeEventListener(he,Ie),le()},Ie=Ve=>{Ve.target===t&&++_e>=pe&&$e()};setTimeout(()=>{_e<pe&&$e()},de+1),t.addEventListener(he,Ie)}function getTransitionInfo(t,r){const V=window.getComputedStyle(t),oe=Fe=>(V[Fe]||"").split(", "),ie=oe(`${TRANSITION}Delay`),le=oe(`${TRANSITION}Duration`),ue=getTimeout(ie,le),de=oe(`${ANIMATION}Delay`),pe=oe(`${ANIMATION}Duration`),he=getTimeout(de,pe);let _e=null,$e=0,Ie=0;r===TRANSITION?ue>0&&(_e=TRANSITION,$e=ue,Ie=le.length):r===ANIMATION?he>0&&(_e=ANIMATION,$e=he,Ie=pe.length):($e=Math.max(ue,he),_e=$e>0?ue>he?TRANSITION:ANIMATION:null,Ie=_e?_e===TRANSITION?le.length:pe.length:0);const Ve=_e===TRANSITION&&/\b(transform|all)(,|$)/.test(oe(`${TRANSITION}Property`).toString());return{type:_e,timeout:$e,propCount:Ie,hasTransform:Ve}}function getTimeout(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((V,oe)=>toMs(V)+toMs(t[oe])))}function toMs(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}const positionMap=new WeakMap,newPositionMap=new WeakMap,TransitionGroupImpl={name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(t,{slots:r}){const V=getCurrentInstance(),oe=useTransitionState();let ie,le;return onUpdated(()=>{if(!ie.length)return;const ue=t.moveClass||`${t.name||"v"}-move`;if(!hasCSSTransform(ie[0].el,V.vnode.el,ue))return;ie.forEach(callPendingCbs),ie.forEach(recordPosition);const de=ie.filter(applyTranslation);forceReflow(),de.forEach(pe=>{const he=pe.el,_e=he.style;addTransitionClass(he,ue),_e.transform=_e.webkitTransform=_e.transitionDuration="";const $e=he._moveCb=Ie=>{Ie&&Ie.target!==he||(!Ie||/transform$/.test(Ie.propertyName))&&(he.removeEventListener("transitionend",$e),he._moveCb=null,removeTransitionClass(he,ue))};he.addEventListener("transitionend",$e)})}),()=>{const ue=toRaw(t),de=resolveTransitionProps(ue);let pe=ue.tag||Fragment;ie=le,le=r.default?getTransitionRawChildren(r.default()):[];for(let he=0;he<le.length;he++){const _e=le[he];_e.key!=null&&setTransitionHooks(_e,resolveTransitionHooks(_e,de,oe,V))}if(ie)for(let he=0;he<ie.length;he++){const _e=ie[he];setTransitionHooks(_e,resolveTransitionHooks(_e,de,oe,V)),positionMap.set(_e,_e.el.getBoundingClientRect())}return createVNode(pe,null,le)}}},removeMode=t=>delete t.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(t){const r=t.el;r._moveCb&&r._moveCb(),r._enterCb&&r._enterCb()}function recordPosition(t){newPositionMap.set(t,t.el.getBoundingClientRect())}function applyTranslation(t){const r=positionMap.get(t),V=newPositionMap.get(t),oe=r.left-V.left,ie=r.top-V.top;if(oe||ie){const le=t.el.style;return le.transform=le.webkitTransform=`translate(${oe}px,${ie}px)`,le.transitionDuration="0s",t}}function hasCSSTransform(t,r,V){const oe=t.cloneNode();t._vtc&&t._vtc.forEach(ue=>{ue.split(/\s+/).forEach(de=>de&&oe.classList.remove(de))}),V.split(/\s+/).forEach(ue=>ue&&oe.classList.add(ue)),oe.style.display="none";const ie=r.nodeType===1?r:r.parentNode;ie.appendChild(oe);const{hasTransform:le}=getTransitionInfo(oe);return ie.removeChild(oe),le}const getModelAssigner=t=>{const r=t.props["onUpdate:modelValue"]||!1;return isArray$c(r)?V=>invokeArrayFns(r,V):r};function onCompositionStart(t){t.target.composing=!0}function onCompositionEnd(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const vModelText={created(t,{modifiers:{lazy:r,trim:V,number:oe}},ie){t._assign=getModelAssigner(ie);const le=oe||ie.props&&ie.props.type==="number";addEventListener$1(t,r?"change":"input",ue=>{if(ue.target.composing)return;let de=t.value;V&&(de=de.trim()),le&&(de=looseToNumber(de)),t._assign(de)}),V&&addEventListener$1(t,"change",()=>{t.value=t.value.trim()}),r||(addEventListener$1(t,"compositionstart",onCompositionStart),addEventListener$1(t,"compositionend",onCompositionEnd),addEventListener$1(t,"change",onCompositionEnd))},mounted(t,{value:r}){t.value=r??""},beforeUpdate(t,{value:r,modifiers:{lazy:V,trim:oe,number:ie}},le){if(t._assign=getModelAssigner(le),t.composing||document.activeElement===t&&t.type!=="range"&&(V||oe&&t.value.trim()===r||(ie||t.type==="number")&&looseToNumber(t.value)===r))return;const ue=r??"";t.value!==ue&&(t.value=ue)}},vModelCheckbox={deep:!0,created(t,r,V){t._assign=getModelAssigner(V),addEventListener$1(t,"change",()=>{const oe=t._modelValue,ie=getValue$2(t),le=t.checked,ue=t._assign;if(isArray$c(oe)){const de=looseIndexOf(oe,ie),pe=de!==-1;if(le&&!pe)ue(oe.concat(ie));else if(!le&&pe){const he=[...oe];he.splice(de,1),ue(he)}}else if(isSet$3(oe)){const de=new Set(oe);le?de.add(ie):de.delete(ie),ue(de)}else ue(getCheckboxValue(t,le))})},mounted:setChecked,beforeUpdate(t,r,V){t._assign=getModelAssigner(V),setChecked(t,r,V)}};function setChecked(t,{value:r,oldValue:V},oe){t._modelValue=r,isArray$c(r)?t.checked=looseIndexOf(r,oe.props.value)>-1:isSet$3(r)?t.checked=r.has(oe.props.value):r!==V&&(t.checked=looseEqual(r,getCheckboxValue(t,!0)))}const vModelRadio={created(t,{value:r},V){t.checked=looseEqual(r,V.props.value),t._assign=getModelAssigner(V),addEventListener$1(t,"change",()=>{t._assign(getValue$2(t))})},beforeUpdate(t,{value:r,oldValue:V},oe){t._assign=getModelAssigner(oe),r!==V&&(t.checked=looseEqual(r,oe.props.value))}},vModelSelect={deep:!0,created(t,{value:r,modifiers:{number:V}},oe){const ie=isSet$3(r);addEventListener$1(t,"change",()=>{const le=Array.prototype.filter.call(t.options,ue=>ue.selected).map(ue=>V?looseToNumber(getValue$2(ue)):getValue$2(ue));t._assign(t.multiple?ie?new Set(le):le:le[0])}),t._assign=getModelAssigner(oe)},mounted(t,{value:r}){setSelected(t,r)},beforeUpdate(t,r,V){t._assign=getModelAssigner(V)},updated(t,{value:r}){setSelected(t,r)}};function setSelected(t,r){const V=t.multiple;if(!(V&&!isArray$c(r)&&!isSet$3(r))){for(let oe=0,ie=t.options.length;oe<ie;oe++){const le=t.options[oe],ue=getValue$2(le);if(V)isArray$c(r)?le.selected=looseIndexOf(r,ue)>-1:le.selected=r.has(ue);else if(looseEqual(getValue$2(le),r)){t.selectedIndex!==oe&&(t.selectedIndex=oe);return}}!V&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function getValue$2(t){return"_value"in t?t._value:t.value}function getCheckboxValue(t,r){const V=r?"_trueValue":"_falseValue";return V in t?t[V]:r}const vModelDynamic={created(t,r,V){callModelHook(t,r,V,null,"created")},mounted(t,r,V){callModelHook(t,r,V,null,"mounted")},beforeUpdate(t,r,V,oe){callModelHook(t,r,V,oe,"beforeUpdate")},updated(t,r,V,oe){callModelHook(t,r,V,oe,"updated")}};function resolveDynamicModel(t,r){switch(t){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(r){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(t,r,V,oe,ie){const ue=resolveDynamicModel(t.tagName,V.props&&V.props.type)[ie];ue&&ue(t,r,V,oe)}function initVModelForSSR(){vModelText.getSSRProps=({value:t})=>({value:t}),vModelRadio.getSSRProps=({value:t},r)=>{if(r.props&&looseEqual(r.props.value,t))return{checked:!0}},vModelCheckbox.getSSRProps=({value:t},r)=>{if(isArray$c(t)){if(r.props&&looseIndexOf(t,r.props.value)>-1)return{checked:!0}}else if(isSet$3(t)){if(r.props&&t.has(r.props.value))return{checked:!0}}else if(t)return{checked:!0}},vModelDynamic.getSSRProps=(t,r)=>{if(typeof r.type!="string")return;const V=resolveDynamicModel(r.type.toUpperCase(),r.props&&r.props.type);if(V.getSSRProps)return V.getSSRProps(t,r)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>systemModifiers.some(V=>t[`${V}Key`]&&!r.includes(V))},withModifiers=(t,r)=>(V,...oe)=>{for(let ie=0;ie<r.length;ie++){const le=modifierGuards[r[ie]];if(le&&le(V,r))return}return t(V,...oe)},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(t,r)=>V=>{if(!("key"in V))return;const oe=hyphenate(V.key);if(r.some(ie=>ie===oe||keyNames[ie]===oe))return t(V)},vShow={beforeMount(t,{value:r},{transition:V}){t._vod=t.style.display==="none"?"":t.style.display,V&&r?V.beforeEnter(t):setDisplay(t,r)},mounted(t,{value:r},{transition:V}){V&&r&&V.enter(t)},updated(t,{value:r,oldValue:V},{transition:oe}){!r!=!V&&(oe?r?(oe.beforeEnter(t),setDisplay(t,!0),oe.enter(t)):oe.leave(t,()=>{setDisplay(t,!1)}):setDisplay(t,r))},beforeUnmount(t,{value:r}){setDisplay(t,r)}};function setDisplay(t,r){t.style.display=r?t._vod:"none"}function initVShowForSSR(){vShow.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const rendererOptions=extend$2({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const render$4=(...t)=>{ensureRenderer().render(...t)},hydrate=(...t)=>{ensureHydrationRenderer().hydrate(...t)},createApp=(...t)=>{const r=ensureRenderer().createApp(...t),{mount:V}=r;return r.mount=oe=>{const ie=normalizeContainer(oe);if(!ie)return;const le=r._component;!isFunction$5(le)&&!le.render&&!le.template&&(le.template=ie.innerHTML),ie.innerHTML="";const ue=V(ie,!1,ie instanceof SVGElement);return ie instanceof Element&&(ie.removeAttribute("v-cloak"),ie.setAttribute("data-v-app","")),ue},r},createSSRApp=(...t)=>{const r=ensureHydrationRenderer().createApp(...t),{mount:V}=r;return r.mount=oe=>{const ie=normalizeContainer(oe);if(ie)return V(ie,!0,ie instanceof SVGElement)},r};function normalizeContainer(t){return isString$6(t)?document.querySelector(t):t}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},compile=()=>{},vue_runtime_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,EffectScope,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text:Text$1,Transition,TransitionGroup,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize:capitalize$2,cloneVNode,compatUtils,compile,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,get devtools(){return devtools},effect,effectScope,getCurrentInstance,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h:h$2,handleError,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode:isVNode$1,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle:normalizeStyle$1,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render:render$4,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop:stop$1,toDisplayString:toDisplayString$1,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue:toValue$1,transformVNodeArgs,triggerRef,unref,useAttrs:useAttrs$1,useCssModule,useCssVars,useModel,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$3,warn:warn$2,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"})),versionBg="/vue-pure-admin/static/png/version-bg.png",versionTipDialog$1="",setVersionTipTheme=(t="#FA8D88",r="#FE7D66")=>`<?xml version="1.0" encoding="UTF-8"?>
|
||
<svg viewBox="0 0 2009 2108" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||
<title>version-rokect</title>
|
||
<defs>
|
||
<!-- 1. background -->
|
||
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
||
<stop stop-color="${t}" offset="0%"></stop>
|
||
<stop stop-color="${t}" offset="100%"></stop>
|
||
</linearGradient>
|
||
</defs>
|
||
<g id="page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||
<g id="version-rokect" transform="translate(0.000000, -0.000000)" fill-rule="nonzero">
|
||
<g id="bg" transform="translate(18.451214, 78.361595)" fill="url(#linearGradient-1)">
|
||
<path
|
||
d="M679.108786,0.0184053537 L679.008786,1.25840535 C680.628786,1.23840535 682.258786,1.21840535 683.908786,1.19840535 C684.218786,1.66840535 684.828786,2.61840535 685.138786,3.08840535 C687.348786,3.02840535 689.488786,3.46840535 691.158786,5.02840535 C691.638786,5.13507202 692.130144,5.22149177 692.62474,5.30599109 L693.368045,5.43359054 C694.855453,5.69507202 696.335453,6.02173869 697.588786,6.90840535 C703.968786,8.77840535 710.108786,11.2284054 715.978786,14.3484054 C717.778786,15.9084054 719.718786,17.2984054 721.858786,18.3684054 C724.418786,20.5484054 727.468786,22.2084054 729.508786,24.9584054 C730.398786,25.3684054 731.298786,25.7784054 732.218786,26.1784054 L732.218786,27.9584054 L732.218786,27.9584054 C732.410036,27.9584054 732.673005,27.9555929 732.953376,27.9520772 L733.521228,27.9447335 C733.800661,27.9412179 734.061286,27.9384054 734.248786,27.9384054 C734.248786,28.4384054 734.228786,29.4484054 734.228786,29.9484054 C734.628786,29.9684054 735.428786,30.0084054 735.828786,30.0184054 C737.778786,33.9884054 741.488786,36.6984054 743.348786,40.7084054 C743.938786,41.6184054 744.558786,42.5184054 745.188786,43.3984054 C745.548786,43.3684054 746.248786,43.2884054 746.598786,43.2584054 C746.728786,44.4984054 746.878786,45.7384054 747.048786,46.9784054 C747.908786,48.1484054 748.648786,49.3984054 749.488786,50.5884054 C750.548786,52.4384054 750.948786,54.5284054 751.288786,56.6184054 C752.604171,57.0722515 752.88997,58.2361568 753.106583,59.4364754 L753.202631,59.9768032 C753.235251,60.156216 753.269555,60.3341746 753.308786,60.5084054 C754.562579,61.3215088 754.826265,62.6470023 754.963083,64.0209848 L755.005174,64.4801385 C755.064815,65.1696539 755.116717,65.8584054 755.268786,66.4884054 C756.311286,67.3959054 756.656286,68.6746554 756.936599,69.9660616 L757.046774,70.4824491 C757.101636,70.7401304 757.157286,70.9964054 757.218786,71.2484054 C757.678786,71.2184054 758.598786,71.1584054 759.058786,71.1384054 C759.068786,71.6484054 759.088786,72.6784054 759.098786,73.1884054 C760.888786,73.1184054 762.688786,73.0384054 764.498786,72.9584054 C767.058786,70.5484054 770.758786,71.2984054 773.958786,71.0784054 L773.838786,69.9484054 C777.658786,69.2284054 781.548786,69.0684054 785.428786,68.9884054 C786.448246,67.2975945 788.259853,67.1524375 790.116576,67.1453449 L790.601471,67.1457011 C791.571343,67.1489751 792.535813,67.1565135 793.388786,66.9684054 C795.861367,65.4238892 798.861679,65.3111317 801.833273,65.2529977 L802.681038,65.2366847 C803.809067,65.2137435 804.925238,65.1796957 805.998786,65.0584054 L805.838786,63.9784054 C809.858786,63.3184054 813.928786,62.9884054 818.018786,63.0684054 L817.828786,61.9584054 C821.848786,61.3684054 825.918786,61.1084054 829.988786,61.0884054 L829.838786,59.9684054 C833.668786,59.3384054 837.548786,59.1484054 841.428786,59.0084054 C844.286059,57.4493144 847.730522,57.2832814 851.169462,57.2449944 L852.151355,57.2364383 C853.785884,57.2243282 855.406362,57.2138599 856.948786,57.0684054 L856.898786,56.0084054 C862.488786,55.0284054 868.188786,55.1284054 873.848786,55.0384054 C873.898786,54.7684054 874.008786,54.2284054 874.058786,53.9684054 C880.428786,53.1684054 886.858786,52.9884054 893.278786,53.1484054 C893.098786,52.8484054 892.738786,52.2584054 892.558786,51.9584054 C900.018786,51.2184054 907.508786,50.9484054 915.008786,51.0984054 L914.748786,49.9084054 C925.818786,49.7284054 936.888786,48.7084054 947.998786,49.1084054 L947.868786,47.9284054 C975.958786,46.8784054 1004.16879,46.9384054 1032.24879,47.8784054 C1032.24545,47.975072 1032.2399,48.105072 1032.2336,48.2461831 L1032.21397,48.6806276 C1032.20768,48.8217387 1032.20212,48.9517387 1032.19879,49.0484054 C1044.20879,48.6784054 1056.16879,49.8984054 1068.15879,49.9284054 L1068.15879,51.0884054 C1070.13379,51.1828498 1072.16589,51.1600103 1074.21264,51.1362706 L1075.44212,51.1228498 C1080.36434,51.0761831 1085.32212,51.1584054 1089.72879,52.9784054 C1095.90879,53.1284054 1102.07879,53.2584054 1108.21879,54.0484054 L1108.10879,55.0984054 C1113.82879,55.1284054 1119.57879,55.0684054 1125.25879,55.9584054 L1125.09879,57.0784054 C1129.76879,57.0284054 1134.40879,57.7784054 1139.07879,57.9884054 C1139.08545,58.0784054 1139.09434,58.1984054 1139.10397,58.3284054 L1139.1336,58.7284054 C1139.14323,58.8584054 1139.15212,58.9784054 1139.15879,59.0684054 C1143.20879,59.0184054 1147.24879,59.3284054 1151.25879,59.9684054 L1151.09879,61.0884054 C1155.48879,61.0684054 1159.85879,61.5284054 1164.21879,62.0484054 L1164.10879,63.0484054 C1167.83879,63.0484054 1171.56879,63.3884054 1175.25879,63.9784054 L1175.11879,65.0484054 C1178.49879,65.1284054 1181.87879,65.4584054 1185.22879,65.9684054 C1185.21879,66.2284054 1185.19879,66.7484054 1185.17879,67.0184054 C1188.54879,67.0584054 1191.91879,67.3684054 1195.24879,67.9484054 L1195.14879,69.0384054 C1198.51879,69.1684054 1201.88879,69.4984054 1205.23879,69.9584054 L1205.11879,70.9984054 C1207.83879,71.1584054 1210.54879,71.4984054 1213.25879,71.9584054 L1213.14879,73.0384054 C1216.52879,73.1284054 1219.89879,73.4584054 1223.25879,73.9684054 L1223.11879,75.0084054 C1225.95879,75.3284054 1229.36879,74.8384054 1231.56879,77.0884054 C1234.21879,77.5984054 1237.74879,76.5284054 1239.68879,78.9184054 C1242.15879,79.2384054 1244.64879,79.5984054 1247.12879,80.0484054 L1247.00879,81.1384054 C1249.75879,81.2684054 1252.49879,81.5784054 1255.24879,81.9584054 L1255.12879,83.0184054 C1255.73151,83.1274963 1256.39226,83.1488186 1257.06193,83.1693971 L1257.50916,83.1839609 C1259.1499,83.2439609 1260.77879,83.415072 1261.67879,84.9684054 C1264.18879,85.2884054 1266.70879,85.6084054 1269.23879,85.9684054 L1269.16879,86.9584054 C1271.17879,87.2684054 1273.19879,87.6184054 1275.22879,87.9684054 L1275.16879,89.0184054 C1277.96879,89.4084054 1281.25879,89.0284054 1283.58879,90.9884054 C1285.57879,91.5284054 1287.99879,91.4384054 1289.56879,93.0384054 C1291.42879,93.3884054 1293.31879,93.6984054 1295.21879,93.9784054 L1295.17879,94.9184054 C1297.35879,95.3184054 1299.87879,95.3384054 1301.55879,97.0384054 C1303.42879,97.3884054 1305.31879,97.6984054 1307.22879,97.9784054 L1307.16879,98.9384054 C1309.37879,99.2684054 1311.84879,99.3084054 1313.55879,100.988405 C1315.59879,101.428405 1317.98879,101.358405 1319.55879,102.998405 C1321.04879,103.308405 1322.91879,103.198405 1323.58879,104.938405 C1326.24879,105.288405 1328.91879,105.668405 1331.57879,106.198405 C1333.65959,107.933605 1336.27434,108.699397 1338.8781,109.413971 L1339.74487,109.651525 C1340.46559,109.850005 1341.18079,110.052405 1341.87879,110.278405 C1346.67879,113.268405 1352.29879,114.408405 1357.54879,116.368405 C1360.73879,118.028405 1364.09879,119.348405 1367.56879,120.338405 C1370.53879,122.268405 1374.14879,122.978405 1377.11879,124.998405 C1383.74879,126.158405 1389.00879,130.898405 1395.55879,132.338405 C1402.88879,135.588405 1409.80879,140.038405 1417.53879,142.328405 C1418.39263,143.136098 1419.4595,143.594678 1420.55276,144.01821 L1421.21039,144.270636 C1421.32003,144.312843 1421.42956,144.355328 1421.53879,144.398405 C1422.80879,145.568405 1424.53879,145.808405 1426.16879,146.228405 C1426.45879,146.658405 1427.03879,147.508405 1427.33879,147.928405 C1428.04879,147.938405 1429.48879,147.968405 1430.20879,147.988405 C1430.46879,148.458405 1430.98879,149.408405 1431.24879,149.878405 C1431.88879,149.948405 1433.16879,150.078405 1433.81879,150.148405 C1437.72879,152.558405 1441.87879,154.578405 1446.14879,156.298405 C1446.45879,156.708405 1447.05879,157.508405 1447.36879,157.918405 C1448.06879,157.938405 1449.47879,157.968405 1450.17879,157.988405 C1450.45879,158.468405 1451.00879,159.428405 1451.27879,159.908405 C1451.84879,159.958405 1452.98879,160.068405 1453.55879,160.128405 C1454.50879,161.838405 1456.53879,161.818405 1458.22879,162.218405 C1458.49879,162.648405 1459.01879,163.488405 1459.28879,163.918405 C1459.88879,163.958405 1461.08879,164.038405 1461.69879,164.078405 C1462.02879,166.098405 1464.00879,165.928405 1465.58879,166.268405 C1467.35754,168.087155 1469.5755,169.253562 1471.83742,170.35112 L1472.74357,170.787855 C1473.80123,171.296322 1474.8567,171.806739 1475.86879,172.378405 C1477.07879,173.068405 1478.28879,173.758405 1479.53879,174.468405 C1480.82879,175.548405 1482.45879,175.948405 1484.09879,176.308405 C1484.11879,176.618405 1484.17879,177.248405 1484.19879,177.568405 C1486.16879,178.528405 1488.16879,179.468405 1490.20879,180.318405 C1490.48879,180.718405 1491.04879,181.528405 1491.31879,181.928405 C1492.01879,181.958405 1493.41879,182.008405 1494.11879,182.038405 C1494.13879,182.418405 1494.17879,183.178405 1494.19879,183.558405 C1496.18879,184.408405 1498.15879,185.338405 1500.15879,186.238405 C1500.44879,186.648405 1501.03879,187.478405 1501.32879,187.898405 C1501.89879,187.958405 1503.01879,188.078405 1503.57879,188.148405 C1505.20879,190.288405 1507.73879,191.308405 1510.17879,192.248405 C1510.45879,192.658405 1511.02879,193.478405 1511.30879,193.888405 C1511.87879,193.958405 1513.02879,194.078405 1513.59879,194.138405 C1515.22879,196.228405 1517.58879,197.448405 1520.05879,198.308405 C1521.04879,199.188405 1522.07879,200.068405 1523.11879,200.958405 C1524.79879,201.558405 1526.57879,202.178405 1527.56879,203.818405 C1528.20879,203.878405 1529.47879,204.008405 1530.11879,204.068405 C1530.13879,204.428405 1530.17879,205.148405 1530.19879,205.498405 C1531.55879,205.898405 1532.74879,206.668405 1533.64879,207.798405 C1534.26879,207.878405 1535.50879,208.018405 1536.11879,208.088405 C1536.13879,208.438405 1536.17879,209.148405 1536.19879,209.508405 C1537.54879,209.898405 1538.77879,210.658405 1539.65879,211.808405 C1540.27879,211.878405 1541.49879,212.018405 1542.10879,212.088405 C1542.13879,212.448405 1542.18879,213.188405 1542.20879,213.548405 C1544.13879,214.518405 1546.07879,215.468405 1548.03879,216.398405 C1548.08879,216.678405 1548.18879,217.238405 1548.23879,217.508405 C1549.57879,217.888405 1550.76879,218.658405 1551.60879,219.808405 C1552.23879,219.878405 1553.47879,220.018405 1554.10879,220.088405 C1554.13879,220.438405 1554.20879,221.138405 1554.24879,221.498405 C1559.22879,224.518405 1563.99879,227.918405 1568.69879,231.388405 C1569.86879,232.375072 1571.10434,233.280628 1572.3536,234.169146 L1573.85597,235.231291 C1575.85905,236.647516 1577.84412,238.085739 1579.59879,239.808405 C1580.24879,239.878405 1581.55879,240.018405 1582.20879,240.078405 C1582.17879,240.548405 1582.10879,241.488405 1582.06879,241.948405 C1582.51879,241.958405 1583.40879,241.968405 1583.85879,241.978405 C1585.05879,243.268405 1586.29879,244.548405 1587.51879,245.858405 C1588.19879,245.908405 1589.55879,246.018405 1590.23879,246.068405 C1590.18879,246.558405 1590.07879,247.528405 1590.01879,248.008405 C1590.46879,248.008405 1591.35879,247.998405 1591.79879,247.988405 C1593.50247,250.068405 1595.63217,251.64281 1597.8003,253.176067 L1598.80229,253.882493 C1599.47023,254.353752 1600.13615,254.827879 1600.78879,255.318405 C1603.24879,257.558405 1606.13879,259.278405 1608.67879,261.458405 C1611.93879,264.208405 1615.24879,266.898405 1618.67879,269.448405 C1620.12521,270.419834 1621.40328,271.606824 1622.6592,272.817593 L1623.41126,273.545373 C1625.41593,275.485548 1627.43879,277.388405 1630.07879,278.468405 C1630.10879,278.728405 1630.18879,279.248405 1630.22879,279.518405 C1634.83879,282.178405 1638.11879,286.598405 1642.64879,289.458405 C1643.27879,290.148405 1643.93879,290.838405 1644.62879,291.528405 C1647.80879,293.648405 1650.31879,296.548405 1653.23879,298.998405 C1654.68879,300.358405 1656.26879,301.598405 1658.06879,302.488405 C1658.09879,302.778405 1658.15879,303.348405 1658.18879,303.638405 C1659.51879,304.498405 1660.77879,305.488405 1662.15879,306.338405 C1662.20879,306.618405 1662.30879,307.178405 1662.35879,307.458405 C1670.58879,313.868405 1677.69879,321.838405 1685.21879,328.998405 C1686.64879,330.418405 1688.24879,331.668405 1690.14879,332.468405 C1690.12879,332.868405 1690.08879,333.688405 1690.06879,334.098405 C1690.59879,334.068405 1691.67879,334.018405 1692.20879,333.988405 C1692.17879,334.518405 1692.10879,335.578405 1692.06879,336.108405 C1692.59879,336.078405 1693.65879,336.018405 1694.18879,335.978405 C1694.18129,336.177155 1694.17097,336.447624 1694.15996,336.736023 L1694.13761,337.320788 C1694.1266,337.609187 1694.11629,337.879655 1694.10879,338.078405 C1694.30379,338.070905 1694.57332,338.060593 1694.86201,338.049577 L1695.44853,338.027233 C1695.73816,338.016218 1696.01004,338.005905 1696.20879,337.998405 C1696.16879,338.528405 1696.10879,339.578405 1696.07879,340.108405 C1696.60879,340.078405 1697.65879,340.018405 1698.18879,339.978405 C1698.16879,340.508405 1698.12879,341.558405 1698.11879,342.078405 C1698.63879,342.058405 1699.67879,342.018405 1700.20879,341.998405 C1700.17879,342.528405 1700.10879,343.578405 1700.07879,344.108405 C1700.60879,344.078405 1701.66879,344.008405 1702.19879,343.978405 C1702.18754,344.177155 1702.17347,344.450437 1702.15871,344.742351 L1702.12886,345.33446 C1702.1141,345.626374 1702.10004,345.899655 1702.08879,346.098405 C1702.48879,346.088405 1703.29879,346.068405 1703.69879,346.058405 C1706.65636,350.819617 1710.62477,354.802721 1714.67283,358.725773 L1716.95212,360.93089 C1720.49165,364.365944 1723.95848,367.858102 1726.72879,371.888405 C1727.09879,371.928405 1727.83879,371.998405 1728.19879,372.028405 C1728.19879,372.215905 1728.19738,372.473718 1728.19562,372.749108 L1728.19195,373.307702 C1728.19019,373.583093 1728.18879,373.840905 1728.18879,374.028405 C1728.69879,374.018405 1729.72879,373.978405 1730.24879,373.968405 C1730.21879,374.498405 1730.17879,375.568405 1730.15879,376.108405 C1730.66879,376.078405 1731.69879,376.018405 1732.21879,375.988405 C1732.17879,376.538405 1732.08879,377.638405 1732.04879,378.198405 C1732.48879,378.138405 1733.34879,378.038405 1733.78879,377.978405 C1735.65879,383.178405 1740.71879,386.258405 1744.08879,390.448405 C1744.11879,390.838405 1744.17879,391.628405 1744.21879,392.028405 C1744.71879,392.008405 1745.73879,391.978405 1746.23879,391.968405 C1746.22879,392.508405 1746.18879,393.598405 1746.16879,394.138405 C1746.65879,394.098405 1747.63879,394.008405 1748.11879,393.958405 C1748.17879,394.638405 1748.27879,395.998405 1748.33879,396.668405 C1750.82879,398.718405 1753.40879,400.878405 1754.70879,403.928405 C1755.08879,403.948405 1755.85879,403.978405 1756.23879,403.998405 C1756.21879,404.528405 1756.19879,405.608405 1756.17879,406.138405 C1756.66879,406.098405 1757.63879,406.008405 1758.11879,405.958405 C1758.17879,406.638405 1758.27879,407.988405 1758.33879,408.668405 C1760.83879,410.558405 1762.89879,412.948405 1764.79879,415.448405 C1767.17879,419.138405 1770.58879,422.078405 1772.71879,425.918405 C1772.80879,425.928405 1772.93101,425.941739 1773.06434,425.956183 L1773.47656,426.000628 C1773.61101,426.015072 1773.73545,426.028405 1773.82879,426.038405 C1774.40833,428.049769 1775.67124,429.661339 1776.99311,431.231282 L1777.52352,431.857888 C1777.96569,432.379624 1778.40515,432.902042 1778.81879,433.438405 C1779.61379,434.402155 1780.35535,435.406687 1781.08408,436.421941 L1782.53646,438.457839 C1783.26613,439.47403 1784.01004,440.480905 1784.80879,441.448405 C1786.91879,444.018405 1788.71879,446.838405 1790.78879,449.458405 C1792.94879,452.148405 1795.05879,454.908405 1796.72879,457.948405 C1797.09879,457.958405 1797.83879,457.978405 1798.20879,457.978405 C1798.23879,458.638405 1798.29879,459.948405 1798.33879,460.598405 C1799.54879,461.808405 1800.70879,463.088405 1801.86879,464.398405 C1803.26879,467.528405 1805.97879,469.808405 1807.30879,472.988405 C1808.61879,474.498405 1809.89879,476.078405 1810.71879,477.948405 C1811.00879,477.958405 1811.59879,477.988405 1811.88879,478.008405 C1812.36879,480.598405 1814.06879,482.588405 1815.84879,484.438405 C1816.90879,486.618405 1818.25879,488.648405 1819.80879,490.538405 C1820.69879,492.868405 1822.20879,494.848405 1824.10879,496.478405 C1824.16879,497.018405 1824.28879,498.108405 1824.35879,498.648405 C1825.59879,499.918405 1826.83879,501.188405 1828.10879,502.458405 C1828.17879,502.998405 1828.31879,504.058405 1828.38879,504.588405 C1829.59937,505.469582 1830.27418,506.764461 1830.89913,508.098835 L1831.16532,508.672037 C1831.20965,508.76761 1831.25408,508.863111 1831.29879,508.958405 C1833.83879,511.938405 1835.39879,515.608405 1838.03879,518.538405 C1838.14879,519.038405 1838.36879,520.038405 1838.47879,520.538405 C1839.82879,521.748405 1840.64879,523.348405 1841.25879,525.058405 C1842.15879,526.118405 1843.10879,527.178405 1844.07879,528.228405 C1844.13879,528.868405 1844.25879,530.168405 1844.30879,530.818405 C1844.72879,531.088405 1845.57879,531.628405 1845.99879,531.898405 C1846.72879,534.378405 1848.02879,536.628405 1849.81879,538.518405 C1850.38879,539.858405 1851.02879,541.208405 1851.75879,542.498405 C1853.96879,545.718405 1855.26879,549.488405 1857.82879,552.488405 C1858.38879,553.838405 1859.01879,555.198405 1859.76879,556.488405 C1861.95879,559.758405 1863.22879,563.598405 1865.96879,566.508405 C1866.27879,567.968405 1866.11879,569.868405 1867.87879,570.418405 C1868.34879,571.898405 1868.97879,573.348405 1869.98879,574.568405 C1870.11879,575.068405 1870.35879,576.058405 1870.48879,576.558405 C1872.01349,578.231347 1873.03993,580.238129 1874.02885,582.265721 L1874.52231,583.279802 C1874.76962,583.78626 1875.01937,584.290758 1875.27879,584.788405 C1875.97879,586.078405 1876.62879,587.398405 1877.32879,588.728405 C1877.97879,590.058405 1878.62879,591.378405 1879.31879,592.728405 C1879.98879,594.048405 1880.63879,595.378405 1881.31879,596.728405 C1881.97879,598.058405 1882.62879,599.378405 1883.31879,600.728405 C1883.97879,602.048405 1884.63879,603.378405 1885.31879,604.728405 C1885.97879,606.048405 1886.63879,607.378405 1887.31879,608.728405 C1887.98879,610.048405 1888.60879,611.378405 1889.30879,612.728405 C1890.00879,614.098405 1890.62879,615.498405 1891.31879,616.908405 C1893.12879,620.028405 1893.79879,623.758405 1896.05879,626.628405 C1896.09879,627.188405 1896.17879,628.318405 1896.21879,628.878405 C1896.64879,629.188405 1897.48879,629.798405 1897.91879,630.108405 C1898.37879,634.748405 1901.82879,638.318405 1902.44879,642.928405 C1902.86879,643.248405 1903.71879,643.888405 1904.14879,644.208405 C1904.15879,644.878405 1904.18879,646.208405 1904.19879,646.878405 C1904.62879,647.178405 1905.47879,647.798405 1905.90879,648.098405 C1906.41434,650.416183 1907.11953,652.685566 1907.85496,654.948899 L1908.48879,656.888405 L1908.48879,656.888405 C1908.84879,657.208405 1909.55879,657.858405 1909.91879,658.178405 C1910.57879,661.858405 1911.85879,665.388405 1913.83879,668.578405 C1915.94879,674.718405 1918.96879,680.508405 1920.47879,686.878405 C1920.83879,687.208405 1921.54879,687.848405 1921.89879,688.168405 C1922.58879,691.148405 1923.60879,694.048405 1924.47879,696.998405 C1924.89879,697.308405 1925.73879,697.938405 1926.15879,698.258405 C1926.16879,699.798405 1926.17879,701.338405 1926.24879,702.898405 C1926.65879,703.198405 1927.49879,703.788405 1927.91879,704.088405 C1930.54879,715.958405 1936.57879,726.998405 1938.36879,739.008405 C1938.81879,739.308405 1939.70879,739.898405 1940.15879,740.198405 C1940.15879,741.778405 1940.16879,743.368405 1940.22879,744.978405 C1940.67879,745.278405 1941.57879,745.868405 1942.02879,746.168405 C1942.31807,750.30412 1943.54581,754.25616 1944.84643,758.199797 L1945.36851,759.777218 C1946.32527,762.669859 1947.25914,765.570548 1947.82879,768.548405 C1951.24736,781.110304 1957.0298,792.149198 1960.64818,805.376077 C1963.14474,808.118422 1964.62797,812.572203 1965.17879,815.858405 C1966.40879,818.358405 1966.67879,821.168405 1967.19879,823.898405 C1969.26879,827.408405 1968.03879,831.798405 1969.92879,835.358405 C1969.97705,835.795362 1970.01918,836.235551 1970.05954,836.67753 L1970.13919,837.563448 C1970.37875,840.225797 1970.65879,842.917971 1971.91879,845.328405 C1972.58879,848.648405 1972.33879,852.268405 1973.96879,855.348405 C1974.18879,858.878405 1974.34879,862.438405 1975.17879,865.908405 C1976.96879,869.598405 1976.46879,873.878405 1977.17879,877.848405 C1978.27079,880.093072 1978.39585,882.568583 1978.4717,885.0605 L1978.50387,886.128844 C1978.58439,888.621072 1978.74679,891.099072 1979.90879,893.348405 C1980.37879,896.838405 1980.73879,900.348405 1981.18879,903.858405 C1983.13879,910.198405 1982.01879,917.248405 1983.14879,923.848405 C1984.55479,927.002405 1984.7374,930.445205 1984.82708,933.894824 L1984.85364,934.984075 C1984.89279,936.617305 1984.93779,938.245405 1985.10879,939.838405 C1986.34129,942.752016 1986.3607,946.013498 1986.35695,949.281669 L1986.3566,950.434864 C1986.36386,953.699887 1986.48795,956.931461 1987.91879,959.788405 C1988.04535,961.273405 1988.04377,962.779763 1988.0275,964.289012 L1988.01573,965.295405 C1987.97562,968.817858 1987.99285,972.333718 1989.50879,975.608405 L1990.54879,972.468405 L1990.54879,1103.94841 L1988.02879,1103.94841 L1988.02879,1103.94841 C1988.01879,1108.59841 1987.87879,1113.24841 1987.87879,1117.90841 C1987.52879,1117.94841 1986.83879,1118.01841 1986.49879,1118.04841 C1986.28879,1126.23841 1985.62879,1134.43841 1986.04879,1142.63841 C1985.67879,1141.75841 1984.92879,1139.98841 1984.55879,1139.10841 C1983.89792,1141.70645 1984.03377,1144.56211 1984.16444,1147.4069 L1984.20459,1148.30458 C1984.36338,1152.0408 1984.36705,1155.70927 1982.38879,1158.69841 C1981.97879,1169.61841 1982.36879,1180.54841 1982.34879,1191.46841 L1981.16879,1192.50841 C1981.14879,1203.13841 1977.09879,1213.11841 1976.15879,1223.62841 C1975.78379,1225.44068 1975.41753,1227.25537 1975.05481,1229.07116 L1974.33255,1232.70381 C1972.29081,1242.99826 1970.25151,1253.29977 1967.26879,1263.36841 C1959.79879,1296.94841 1949.98879,1330.04841 1938.87879,1362.67841 C1938.02879,1365.71841 1936.75879,1368.62841 1935.24879,1371.40841 C1933.95879,1377.05841 1931.23879,1382.23841 1929.81879,1387.85841 C1926.68879,1394.32841 1924.23879,1401.10841 1921.81879,1407.85841 C1919.98879,1410.97841 1918.62879,1414.33841 1917.83879,1417.87841 C1911.60879,1430.26841 1906.42879,1443.16841 1900.50879,1455.70841 C1900.17879,1456.09841 1899.53879,1456.86841 1899.20879,1457.25841 C1896.94327,1463.90496 1893.76009,1470.17428 1890.50201,1476.41648 L1889.19678,1478.91274 C1886.58631,1483.90569 1883.99982,1488.91116 1881.86879,1494.10841 C1881.57879,1494.12841 1881.00879,1494.15841 1880.71879,1494.16841 C1880.46879,1495.42841 1880.25879,1496.71841 1880.06879,1498.03841 C1879.80879,1498.09841 1879.27879,1498.21841 1879.00879,1498.28841 C1878.08879,1499.99841 1877.19879,1501.73841 1876.40879,1503.52841 C1872.94879,1510.38841 1868.70879,1516.87841 1865.88879,1524.04841 C1865.64879,1524.10841 1865.16879,1524.20841 1864.93879,1524.26841 C1856.20879,1539.61841 1847.55879,1555.25841 1837.14879,1569.46841 C1836.93879,1570.14841 1836.75879,1570.85841 1836.58879,1571.58841 C1786.83879,1647.60841 1728.04879,1717.67841 1660.10879,1778.13841 C1599.39879,1831.56841 1532.80879,1878.85841 1461.12879,1916.52841 C1448.55879,1919.92841 1437.77879,1928.27841 1425.50879,1932.73841 C1326.97879,1980.54841 1220.06879,2011.18841 1111.33879,2023.54841 C1107.23879,2024.32507 1103.01434,2024.59729 1098.77138,2024.79211 L1097.17961,2024.86237 L1097.17961,2024.86237 L1095.58734,2024.93038 C1088.15754,2025.25028 1080.75212,2025.66007 1073.93879,2028.44841 C1016.13879,2028.73841 958.338786,2028.80841 900.548786,2028.30841 C895.728786,2028.38841 891.118786,2026.41841 886.268786,2027.14841 C885.498786,2026.44841 884.738786,2025.76841 883.988786,2025.11841 C819.998786,2019.79841 756.988786,2004.73841 695.368786,1986.78841 C694.978786,1986.41841 694.178786,1985.66841 693.788786,1985.29841 C684.338786,1983.87841 675.518786,1979.73841 666.568786,1976.54841 C643.668786,1969.23841 621.598786,1959.76841 599.398786,1950.70841 C598.978786,1950.38841 598.148786,1949.75841 597.728786,1949.43841 C506.738786,1911.01841 422.618786,1856.92841 347.198786,1793.35841 C318.338786,1768.60841 290.158786,1742.82841 264.678786,1714.51841 C221.878786,1668.51841 182.918786,1618.69841 149.738786,1565.29841 C148.094342,1563.44952 146.787675,1561.37149 145.529952,1559.25923 L144.591324,1557.67166 C143.340021,1555.55445 142.065453,1553.45174 140.478786,1551.55841 C140.338786,1550.99841 140.068786,1549.88841 139.928786,1549.32841 C124.061994,1525.49595 111.032823,1499.95167 98.323923,1474.262 L96.3195491,1470.20476 C95.985808,1469.52843 95.652197,1468.85205 95.3186701,1468.17566 L93.3181518,1464.11736 C89.9844146,1457.35399 86.6499183,1450.59482 83.2687862,1443.86841 C80.4900362,1436.91028 77.5878878,1429.98933 74.6711303,1423.06886 L72.7256548,1418.45487 C65.9172726,1402.30335 59.1609737,1386.10997 53.8387862,1369.40841 C49.6587862,1361.25841 47.7587862,1352.18841 44.5687862,1343.64841 C42.4287862,1336.22841 38.9787862,1329.15841 37.8587862,1321.48841 C34.5487862,1312.30841 31.7187862,1302.88841 29.8787862,1293.32841 C26.6387862,1285.66841 25.8987862,1277.33841 23.8287862,1269.36841 C16.2287862,1243.31841 12.8887862,1216.21841 7.16878624,1189.87841 C7.04878624,1180.60841 4.49878624,1171.71841 3.84878624,1162.53841 L2.13878624,1161.48841 C2.22878624,1142.12841 2.20878624,1122.76841 1.94878624,1103.40841 C1.64878624,1103.30841 1.05878624,1103.12841 0.768786237,1103.03841 C-0.201213763,1056.93841 -0.381213763,1010.74841 0.978786237,964.638405 C0.978786237,898.361875 0.971997713,832.087042 0.980793605,765.813206 L0.808786238,765.878405 L0.808786238,765.878405 C0.798786238,674.808405 -0.261213762,583.738405 0.248786238,492.668405 C0.468807184,489.04944 0.844244167,485.436231 0.990787998,481.815677 L0.418786237,481.208405 C0.579400479,481.234736 0.782304776,481.267305 1.00522901,481.302646 C1.04356706,480.322694 1.05906413,479.340972 1.04878624,478.358405 C1.06878624,476.328405 1.11878624,474.308405 1.16878624,472.298405 C1.58878624,472.288405 2.43878624,472.258405 2.85878624,472.248405 C2.90878624,470.988405 2.97878624,469.738405 3.03878624,468.488405 C5.24878624,465.418405 6.73878624,461.888405 7.24878624,458.138405 C7.34878624,458.131739 7.48323068,458.125072 7.62952698,458.118405 L8.08137883,458.098405 C8.22878624,458.091739 8.3654529,458.085072 8.46878624,458.078405 C9.33878624,456.178405 10.3687862,454.358405 11.2387862,452.468405 C12.9187862,450.708405 14.2987862,448.698405 15.2587862,446.458405 L16.1129464,445.412917 C18.1151925,442.978093 20.1987862,440.595905 22.7187862,438.688405 C22.8087862,438.058405 22.9987862,436.798405 23.0887862,436.168405 C23.7187862,436.088405 24.9687862,435.908405 25.5887862,435.828405 C27.6587862,433.348405 29.7987862,430.728405 32.8687862,429.478405 C32.9087862,429.208405 32.9787862,428.668405 33.0187862,428.398405 C34.9487862,427.638405 36.8387862,426.738405 38.4987862,425.478405 C39.3687862,424.548405 40.5087862,423.968405 41.6987862,423.548405 C42.0287862,423.238405 42.6787862,422.608405 43.0087862,422.298405 C44.5987862,421.808405 46.4187862,421.628405 47.5487862,420.248405 C47.8091311,420.194957 48.081961,420.157264 48.3578456,420.121898 L48.6897699,420.079715 C49.9077755,419.922841 51.1118897,419.707026 51.4987862,418.288405 C53.5887862,417.838405 56.0887862,418.038405 57.6487862,416.298405 C60.1687862,416.018405 62.6987862,415.708405 65.2087862,415.318405 L65.0887862,414.208405 C66.3099984,413.95689 67.6267109,413.889948 68.9629577,413.852864 L69.7664421,413.832958 C72.5825879,413.767166 75.4178771,413.696587 77.5687862,412.188405 C81.5187862,412.178405 85.4687862,412.158405 89.4087862,412.248405 C92.8787862,414.458405 97.5187862,413.478405 101.448786,414.268405 C102.810399,415.812921 104.773167,415.976158 106.737119,416.057533 L107.297762,416.079678 C108.043948,416.109227 108.782012,416.144857 109.478786,416.258405 C110.248198,417.19017 111.346468,417.578821 112.457048,417.937868 L113.011898,418.117302 C113.288371,418.208163 113.562316,418.302523 113.828786,418.408405 C115.658786,419.698405 117.828786,420.128405 120.028786,420.258405 C120.048786,420.638405 120.078786,421.408405 120.088786,421.798405 C121.258786,421.888405 122.418786,421.998405 123.588786,422.118405 C125.238786,424.308405 127.758786,425.438405 130.298786,426.248405 C130.538786,426.658405 131.028786,427.488405 131.268786,427.908405 C131.978786,427.968405 133.388786,428.088405 134.088786,428.148405 C134.078786,428.618405 134.058786,429.548405 134.048786,430.008405 C134.588786,429.998405 135.658786,429.968405 136.188786,429.948405 C136.208786,430.328405 136.238786,431.088405 136.258786,431.468405 C139.908097,433.532198 142.789048,436.574684 145.61316,439.670603 L146.503926,440.648959 C147.691307,441.952924 148.88189,443.249095 150.128786,444.468405 C150.138786,444.878405 150.178786,445.708405 150.188786,446.118405 C150.638786,446.118405 151.538786,446.108405 151.978786,446.108405 C152.088786,446.728405 152.308786,447.958405 152.408786,448.568405 C153.338786,449.438405 154.108786,450.448405 154.788786,451.528405 C155.608786,452.488405 156.208786,453.578405 156.618786,454.788405 C156.928786,455.118405 157.538786,455.768405 157.848786,456.098405 C158.318786,457.648405 158.928786,459.168405 159.758786,460.578405 C160.408786,461.928405 161.098786,463.278405 162.048786,464.468405 C162.148786,465.888405 162.238786,467.318405 162.328786,468.758405 C162.718786,469.068405 163.508786,469.708405 163.908786,470.018405 C164.398786,471.658405 164.518786,473.598405 166.008786,474.738405 C166.26059,478.030209 166.224126,481.388747 166.144275,484.761687 L166.064175,487.926442 C165.856537,496.368521 165.855999,504.798405 169.888786,512.398405 C170.308786,513.898405 170.138786,515.848405 171.798786,516.628405 C172.828786,519.368405 173.708786,522.708405 176.188786,524.488405 C176.158786,524.918405 176.108786,525.788405 176.088786,526.228405 C176.578786,526.178405 177.558786,526.088405 178.058786,526.038405 C178.098786,526.758405 178.198786,528.208405 178.248786,528.928405 C178.668786,529.228405 179.528786,529.828405 179.948786,530.128405 C180.648786,530.918405 181.368786,531.698405 182.098786,532.468405 C182.118786,532.848405 182.168786,533.618405 182.198786,533.998405 C182.386286,533.998405 182.645505,533.996999 182.922653,533.995241 L183.484919,533.991569 C183.762067,533.989812 184.021286,533.988405 184.208786,533.988405 C184.198786,534.488405 184.188786,535.508405 184.178786,536.018405 C184.688786,536.008405 185.698786,535.988405 186.208786,535.978405 C186.198786,536.478405 186.178786,537.488405 186.178786,537.988405 C186.366286,537.988405 186.625505,537.989812 186.902653,537.991569 L187.464919,537.995241 C187.742067,537.996999 188.001286,537.998405 188.188786,537.998405 C188.188786,538.488405 188.198786,539.488405 188.208786,539.988405 C188.578786,540.018405 189.318786,540.078405 189.688786,540.108405 C190.508786,540.848405 191.338786,541.578405 192.188786,542.308405 C192.478786,542.698405 193.058786,543.498405 193.348786,543.898405 C194.038786,543.958405 195.428786,544.098405 196.118786,544.168405 C196.088786,544.638405 196.018786,545.598405 195.988786,546.078405 L196.421498,546.078172 C196.833888,546.077589 197.335929,546.075548 197.628786,546.068405 C198.668786,547.508405 200.468786,547.778405 202.038786,548.288405 C202.166286,548.442155 202.341599,548.650749 202.529392,548.873054 L202.91115,549.323757 C203.09988,549.546062 203.277536,549.754655 203.408786,549.908405 C204.078786,549.938405 205.408786,549.998405 206.078786,550.028405 C206.398786,550.498405 207.038786,551.438405 207.358786,551.908405 C208.718786,551.988405 210.088786,552.098405 211.448786,552.228405 C213.418786,554.598405 216.788786,553.798405 219.488786,554.258405 C226.078786,556.508405 235.098786,557.098405 241.658786,554.268405 C244.158786,554.088405 246.658786,553.988405 249.168786,553.898405 C249.118786,553.468405 248.998786,552.598405 248.938786,552.168405 C249.591741,552.029542 250.372144,552.058281 251.164192,552.090076 L251.530158,552.104369 C253.298915,552.168705 255.036968,552.122269 255.458786,550.138405 C256.698786,550.058405 257.938786,549.998405 259.178786,549.948405 C259.118786,549.538405 258.998786,548.708405 258.938786,548.298405 C260.868786,547.888405 262.798786,547.458405 264.738786,547.038405 C264.868786,546.398405 265.148786,545.098405 265.278786,544.448405 C266.798786,544.058405 268.768786,544.228405 269.438786,542.488405 C270.758786,541.378405 272.108786,540.328405 273.638786,539.518405 C275.968786,537.208405 278.208786,534.788405 280.728786,532.668405 C280.818786,532.028405 280.998786,530.738405 281.088786,530.098405 C281.548786,530.108405 282.458786,530.128405 282.918786,530.138405 C282.908786,529.698405 282.908786,528.828405 282.908786,528.388405 C285.158786,528.188405 284.908786,525.898405 285.308786,524.248405 C285.658786,524.238405 286.378786,524.218405 286.738786,524.208405 C286.824786,523.894405 286.873186,523.553205 286.911506,523.203285 L286.947485,522.851143 C287.074564,521.554316 287.189453,520.223072 288.648786,519.768405 C289.098786,518.258405 288.848786,516.188405 290.838786,515.788405 C290.858786,515.685072 290.884342,515.547294 290.911749,515.398035 L290.995823,514.938776 C291.023231,514.789516 291.048786,514.651739 291.068786,514.548405 C293.778786,511.858405 292.838786,507.728405 293.208786,504.298405 C293.588786,504.288405 294.338786,504.258405 294.718786,504.248405 C294.868786,502.398405 294.898786,500.468405 295.998786,498.888405 C296.478786,401.488405 296.058786,304.058405 296.208786,206.638405 C295.948786,200.448405 296.418786,194.298405 297.138786,188.158405 C297.518786,188.148405 298.288786,188.138405 298.668786,188.138405 C298.798786,186.968405 298.938786,185.798405 299.088786,184.638405 C300.898786,181.968405 301.968786,178.908405 303.188786,175.948405 C303.335036,175.835905 303.53613,175.682624 303.750935,175.519148 L304.186638,175.187663 C304.401442,175.024187 304.602536,174.870905 304.748786,174.758405 C304.828786,174.218405 304.988786,173.128405 305.068786,172.578405 C306.978786,170.938405 308.258786,168.768405 309.358786,166.538405 C314.658786,160.378405 320.048786,153.908405 326.938786,149.498405 C326.928786,149.138405 326.908786,148.428405 326.898786,148.068405 C327.558786,148.008405 328.878786,147.898405 329.538786,147.848405 C330.268786,146.548405 331.478786,145.848405 332.908786,145.538405 C332.928786,145.158405 332.958786,144.408405 332.968786,144.028405 C333.678786,144.008405 335.098786,143.958405 335.808786,143.938405 C336.078786,143.508405 336.608786,142.638405 336.868786,142.198405 C338.548786,141.948405 340.318786,141.688405 341.568786,140.398405 C342.968786,139.818405 344.508786,139.398405 345.538786,138.198405 C348.368786,137.018405 352.718786,138.398405 354.468786,135.408405 C357.668786,135.058405 360.898786,134.968405 364.118786,135.028405 C363.988786,134.638405 363.738786,133.838405 363.618786,133.438405 C381.178786,132.498405 399.328786,132.618405 415.248786,140.908405 C417.568786,142.058405 419.888786,143.218405 422.248786,144.298405 C422.538786,144.698405 423.118786,145.498405 423.408786,145.908405 C424.078786,145.938405 425.428786,146.018405 426.108786,146.058405 C426.138786,146.398405 426.208786,147.088405 426.238786,147.428405 C429.048786,148.798405 431.158786,151.248405 434.068786,152.478405 C434.108786,152.738405 434.198786,153.258405 434.248786,153.518405 C435.248786,154.108405 436.058786,154.898405 436.668786,155.898405 C437.068786,155.908405 437.868786,155.908405 438.268786,155.918405 C438.248786,156.438405 438.218786,157.468405 438.198786,157.978405 C438.718786,157.968405 439.748786,157.938405 440.268786,157.928405 C440.268786,158.318405 440.288786,159.118405 440.288786,159.518405 C441.278786,160.128405 442.068786,160.938405 442.668786,161.938405 C442.938786,161.988405 443.468786,162.068405 443.738786,162.118405 C444.788786,164.418405 446.238786,166.498405 447.928786,168.368405 C448.958786,170.648405 450.048786,172.988405 452.048786,174.618405 C452.098786,175.188405 452.218786,176.348405 452.278786,176.928405 C452.458786,177.025905 452.706286,177.161374 452.970661,177.306862 L453.506911,177.602917 C453.771286,177.749343 454.018786,177.887155 454.198786,177.988405 C454.218786,178.698405 454.248786,180.118405 454.258786,180.828405 C454.698786,181.138405 455.578786,181.738405 456.018786,182.038405 C456.978786,185.648405 457.478786,189.748405 460.068786,192.618405 C460.618786,215.438405 459.568786,238.288405 461.088786,261.078405 L462.208786,260.938405 C462.558786,263.498405 462.898786,266.068405 463.228786,268.638405 C464.666643,269.031262 464.919194,270.269885 465.126326,271.524823 L465.182547,271.86686 C465.220419,272.094324 465.260215,272.319834 465.308786,272.538405 C466.123959,273.039095 466.466551,273.85655 466.755296,274.702406 L466.89712,275.126365 C467.250154,276.185504 467.628097,277.213923 468.848786,277.648405 C468.938786,278.798405 469.018786,279.968405 469.098786,281.138405 C469.478786,281.128405 470.228786,281.118405 470.608786,281.108405 C471.538786,282.498405 472.368786,283.978405 473.288786,285.398405 C473.442536,285.488405 473.653942,285.612155 473.879763,285.74487 L474.33781,286.014909 C474.56363,286.148562 474.775036,286.274655 474.928786,286.368405 C474.947536,286.585905 474.971911,286.884968 474.997692,287.204421 L475.04988,287.85239 C475.075661,288.171843 475.100036,288.470905 475.118786,288.688405 C478.768786,290.308405 481.818786,293.418405 483.498786,297.038405 C483.693786,297.068405 483.963317,297.112468 484.252009,297.160046 L484.838532,297.256765 C485.128161,297.304343 485.400036,297.348405 485.598786,297.378405 C487.038786,299.018405 488.748786,300.388405 490.488786,301.718405 C492.108786,302.868405 493.838786,303.858405 495.588786,304.818405 C496.928786,305.428405 498.258786,306.098405 499.568786,306.798405 C500.948786,307.418405 502.368786,308.008405 503.568786,308.968405 C505.078786,309.308405 506.898786,309.278405 507.628786,310.958405 C509.838786,311.258405 512.058786,311.538405 514.278786,311.868405 L514.168786,313.128405 C522.768786,313.328405 531.378786,313.408405 539.978786,313.098405 L539.848786,311.978405 C541.748786,311.698405 543.648786,311.398405 545.548786,311.048405 C546.516059,310.049314 547.827547,309.702207 549.155969,309.409217 L549.725375,309.28522 C550.29391,309.16105 550.856968,309.031133 551.388786,308.848405 C554.768786,306.808405 558.228786,304.868405 561.628786,302.828405 C562.154786,302.406405 562.676386,301.978405 563.196946,301.548965 L564.758866,300.260885 C566.324386,298.977605 567.910786,297.722405 569.608786,296.618405 C570.138786,295.838405 570.658786,295.048405 571.198786,294.268405 C571.968786,293.748405 572.758786,293.248405 573.558786,292.738405 C574.77612,290.567739 576.375275,288.671339 577.993432,286.792865 L578.875767,285.768479 C579.169053,285.426583 579.460786,285.083739 579.748786,284.738405 C580.778786,282.448405 582.108786,280.288405 583.888786,278.508405 C584.048786,277.368405 584.198786,276.238405 584.358786,275.108405 C584.738786,275.108405 585.478786,275.118405 585.858786,275.118405 C586.198786,272.868405 586.218786,270.338405 587.948786,268.628405 C588.288786,266.738405 588.598786,264.848405 588.898786,262.948405 L589.928786,263.038405 C590.068786,259.568405 590.628786,256.128405 590.838786,252.658405 C591.018786,189.328405 590.608786,125.988405 591.038786,62.6684054 C592.498786,61.4884054 592.678786,59.5284054 593.238786,57.8584054 C594.038786,56.0884054 594.898786,54.3384054 595.858786,52.6384054 C596.248786,51.1784054 596.308786,49.4284054 597.888786,48.7084054 C598.268786,47.2584054 598.368786,45.5884054 599.748786,44.6584054 C600.948786,42.5584054 602.058786,40.4184054 603.188786,38.2784054 C605.438786,35.8584054 607.488786,33.2484054 609.758786,30.8284054 C613.388786,26.2984054 617.798786,22.4184054 622.738786,19.3784054 C622.788786,19.1184054 622.878786,18.5784054 622.928786,18.3084054 C625.238786,17.3684054 627.468786,16.2284054 629.528786,14.7884054 C630.578786,13.5984054 632.158786,13.3784054 633.618786,12.9384054 C635.15408,11.0060524 637.334011,10.2228344 639.594728,9.54859465 L640.350518,9.32645746 C642.117402,8.8108967 643.895257,8.29134653 645.418786,7.27840535 C645.617536,7.26715535 645.890817,7.2516866 646.182204,7.23516317 L646.7724,7.20164754 C647.062849,7.1851241 647.333786,7.16965535 647.528786,7.15840535 C648.812657,5.66808277 650.745852,5.43894646 652.686565,5.3109145 L653.268363,5.27437796 C654.139473,5.22064261 654.999109,5.16388922 655.788786,4.99840535 C656.998786,4.20840535 658.308786,3.58840535 659.528786,2.78840535 C661.098786,0.738405354 663.808786,1.28840535 666.098786,1.18840535 L665.988786,0.0184053537 C670.358786,-0.0115946463 674.728786,1.13686838e-13 679.108786,0.0184053537 Z">
|
||
</path>
|
||
</g>
|
||
<!-- 这里是背景的星星,白色 -->
|
||
<g id="stars" transform="translate(244.126845, 279.940000)" fill="#FFF">
|
||
<path
|
||
d="M973.413155,2.45 C974.243155,1.63 975.083155,0.81 975.943155,0 C981.453155,8.35 986.863155,20.02 998.403155,20.57 C999.723155,21.83 1002.02315,22.84 1001.26315,25.09 C998.843155,27.87 994.953155,28.38 992.033155,30.44 C985.413155,35.12 981.393155,42.84 980.223155,50.75 C975.303155,50.75 976.313155,43.67 972.933155,41.05 C969.233155,32.89 959.933155,30.58 952.383155,27.25 C952.383155,26.66 952.383155,25.47 952.383155,24.87 C956.883155,23.18 961.393155,21.34 965.303155,18.49 C968.463155,16.18 969.323155,12.05 972.313155,9.57 C972.803155,7.22 973.183155,4.84 973.413155,2.45 Z">
|
||
</path>
|
||
<path
|
||
d="M345.353155,192.41 C346.333155,192.4 347.313155,192.4 348.313155,192.41 C351.593155,203.08 355.303155,214.42 363.763155,222.29 C373.053155,232.84 386.603155,239.71 400.683155,240.52 C401.483155,241.43 402.193155,242.43 402.893155,243.43 C397.293155,243.94 392.963155,248.19 387.323155,248.63 C386.323155,249.58 385.333155,250.53 384.353155,251.49 C383.753155,251.61 382.543155,251.85 381.933155,251.97 C370.853155,258.64 362.783155,269.15 357.503155,280.77 C356.293155,285.97 356.093155,292.28 351.953155,296.11 C351.093155,295.26 350.253155,294.42 349.423155,293.58 C347.683155,280.22 338.323155,269.22 328.313155,260.76 C324.503155,259.18 321.963155,255.14 317.433155,255.47 C316.393155,254.52 315.373155,253.57 314.363155,252.62 C308.783155,252.1 302.593155,251.54 298.643155,247.03 C309.113155,243.06 319.573155,238.74 328.153155,231.32 C333.203155,224.23 340.223155,217.86 341.533155,208.72 C345.203155,204.04 344.653155,197.97 345.353155,192.41 Z">
|
||
</path>
|
||
<path
|
||
d="M1133.62315,362.82 C1135.33315,362.18 1136.93315,361.23 1138.39315,360.09 C1138.52315,365.23 1138.19315,370.44 1139.49315,375.48 C1141.12315,384.55 1147.69315,391.81 1155.07315,397.02 C1155.20315,397.62 1155.45315,398.82 1155.58315,399.42 C1150.78315,400.98 1145.73315,400.02 1140.81315,400.42 C1131.99315,403.11 1124.15315,408.33 1118.44315,415.67 C1117.37315,415.66 1116.32315,415.66 1115.29315,415.67 C1116.41315,406.17 1114.08315,396.77 1108.92315,388.98 C1105.92315,385.89 1102.67315,383.05 1099.86315,379.79 C1099.22315,379.73 1097.93315,379.62 1097.29315,379.56 C1097.27315,378.52 1097.27315,377.5 1097.29315,376.48 C1104.05315,376.43 1110.88315,376.89 1117.60315,375.77 C1117.51315,375.44 1117.34315,374.78 1117.25315,374.45 C1117.95315,374.46 1119.34315,374.47 1120.04315,374.48 C1120.40315,374.01 1121.13315,373.08 1121.49315,372.61 C1122.12315,372.56 1123.39315,372.46 1124.02315,372.41 C1126.78315,368.67 1132.27315,367.65 1133.62315,362.82 Z">
|
||
</path>
|
||
<path
|
||
d="M1541.38315,416.48 C1542.37315,416.47 1543.38315,416.47 1544.42315,416.48 C1544.43315,417.17 1544.46315,418.54 1544.47315,419.23 C1544.93315,419.6 1545.86315,420.32 1546.32315,420.69 C1546.37315,421.32 1546.49315,422.58 1546.54315,423.21 C1546.96315,423.58 1547.81315,424.32 1548.23315,424.69 C1550.04315,433.94 1559.49315,439.62 1567.47315,443.51 C1570.18315,444.45 1575.73315,442.91 1575.53315,447.2 C1561.92315,451.26 1548.98315,462.79 1548.42315,477.72 C1547.41315,477.71 1546.43315,477.72 1545.47315,477.74 C1540.98315,464.64 1529.80315,452.18 1515.21315,451.58 C1515.19315,450.54 1515.19315,449.51 1515.22315,448.49 C1516.60315,447.38 1518.13315,446.43 1519.92315,446.11 C1520.33315,445.77 1521.15315,445.09 1521.56315,444.75 C1530.65315,442.11 1536.54315,433.69 1540.31315,425.48 C1540.86315,422.5 1541.24315,419.5 1541.38315,416.48 Z">
|
||
</path>
|
||
<path
|
||
d="M37.1831549,683.39 C38.3531549,683.39 39.5231549,683.4 40.6931549,683.4 C41.2931549,685.37 41.3831549,687.43 41.3731549,689.49 C41.8531549,689.82 42.8031549,690.47 43.2731549,690.8 C43.3231549,691.39 43.4031549,692.58 43.4431549,693.17 C44.6731549,694.36 45.2831549,695.91 45.4831549,697.62 C47.2831549,699.25 48.8231549,701.14 49.5031549,703.53 C52.1231549,706.19 54.7431549,708.87 57.5631549,711.32 C60.0731549,711.8 61.7631549,713.74 63.4831549,715.46 C65.6631549,715.6 67.9431549,715.9 69.5231549,717.58 C70.1631549,717.6 71.4231549,717.65 72.0531549,717.67 C72.3831549,718.15 73.0231549,719.1 73.3531549,719.58 C76.1431549,719.52 78.9631549,719.67 81.6731549,720.49 C82.3831549,723.48 80.1431549,724.92 77.4631549,724.65 C76.3231549,725.28 75.1631549,725.88 74.0031549,726.48 C73.4431549,726.52 72.3231549,726.59 71.7731549,726.63 C70.5531549,727.85 68.9931549,728.44 67.3131549,728.67 C65.6731549,730.47 63.7831549,732.01 61.4031549,732.7 C58.7531549,735.29 56.1231549,737.91 53.5231549,740.57 C52.9531549,743.07 51.3331549,745 49.4731549,746.68 C49.3331549,748.85 49.0531549,751.14 47.3431549,752.71 C47.3231549,753.34 47.2831549,754.61 47.2631549,755.25 C46.7931549,755.57 45.8331549,756.21 45.3531549,756.53 C45.4031549,759.32 45.2531549,762.15 44.4431549,764.86 C40.0931549,765.93 40.1531549,761.54 40.3931549,758.63 C39.9131549,758.3 38.9631549,757.65 38.4931549,757.32 C38.4331549,756.71 38.3131549,755.48 38.2531549,754.87 C36.9431549,750.98 33.6131549,748.39 32.2331549,744.59 C29.6231549,741.91 27.0131549,739.23 24.1431549,736.83 C21.7531549,736.11 19.9231549,734.43 18.2531549,732.66 C16.0631549,732.51 13.7831549,732.22 12.2231549,730.53 C11.5831549,730.51 10.3131549,730.48 9.68315489,730.46 C9.36315489,729.98 8.73315489,729.02 8.41315489,728.54 C5.34315489,728.26 -0.916845113,729.61 0.113154887,724.61 C2.77315489,723.97 5.33315489,722.98 7.76315489,721.7 C8.31315489,721.64 9.42315489,721.53 9.98315489,721.48 C11.2031549,720.27 12.7631549,719.67 14.4431549,719.44 C16.0731549,717.64 17.9731549,716.1 20.3431549,715.42 C23.0231549,712.8 25.6931549,710.17 28.1331549,707.33 C28.6531549,704.84 30.5631549,703.15 32.2731549,701.44 C32.4031549,699.25 32.7031549,696.98 34.3831549,695.42 C34.4131549,694.79 34.4731549,693.54 34.5131549,692.91 C34.9831549,692.57 35.9431549,691.89 36.4131549,691.55 C36.4631549,688.81 36.1631549,685.98 37.1831549,683.39 Z">
|
||
</path>
|
||
<path
|
||
d="M1387.21315,1131.17 C1387.33315,1130 1387.47315,1128.85 1387.64315,1127.72 C1389.67315,1129.68 1390.94315,1132.22 1392.20315,1134.73 C1395.94315,1148.17 1405.19315,1161.12 1418.28315,1166.77 C1418.65315,1167.16 1419.37315,1167.93 1419.73315,1168.32 C1420.38315,1168.39 1421.67315,1168.52 1422.31315,1168.59 C1423.99315,1169.58 1425.71315,1170.53 1427.44315,1171.5 C1430.68315,1172.83 1436.03315,1170.82 1437.78315,1174.5 C1438.60315,1174.52 1440.24315,1174.56 1441.06315,1174.58 C1440.18315,1175.51 1439.30315,1176.45 1438.45315,1177.4 C1436.85315,1177.65 1435.52315,1178.52 1434.24315,1179.4 C1420.77315,1183.08 1407.82315,1192.39 1402.16315,1205.48 C1401.78315,1205.84 1401.00315,1206.56 1400.61315,1206.92 C1400.54315,1207.56 1400.41315,1208.86 1400.34315,1209.51 C1399.32315,1211.17 1398.38315,1212.88 1397.45315,1214.59 C1396.76315,1217.54 1396.37315,1220.56 1396.36315,1223.6 C1395.71315,1224.27 1395.09315,1224.95 1394.49315,1225.65 C1393.44315,1225.64 1392.42315,1225.67 1391.42315,1225.71 C1391.52315,1223.97 1390.43315,1222.7 1389.46315,1221.44 C1388.81315,1214.03 1383.31315,1208.32 1379.86315,1202.06 C1375.04315,1197.03 1370.24315,1191.59 1363.42315,1189.36 C1363.07315,1188.97 1362.38315,1188.18 1362.04315,1187.79 C1361.39315,1187.73 1360.08315,1187.6 1359.43315,1187.54 C1357.72315,1186.53 1356.00315,1185.58 1354.30315,1184.62 C1351.02315,1183.41 1345.68315,1185.3 1343.96315,1181.61 C1343.15315,1181.6 1341.51315,1181.58 1340.70315,1181.57 C1342.19315,1179.12 1345.03315,1178.1 1347.40315,1176.67 C1360.96315,1173.12 1373.86315,1163.73 1379.59315,1150.67 C1379.97315,1150.3 1380.73315,1149.55 1381.11315,1149.18 C1381.18315,1148.54 1381.33315,1147.25 1381.41315,1146.61 C1382.39315,1144.92 1383.32315,1143.21 1384.30315,1141.53 C1385.94315,1138.31 1383.57315,1132.95 1387.21315,1131.17 Z">
|
||
</path>
|
||
<path
|
||
d="M313.673155,1254.04 C314.563155,1254.8 315.453155,1255.56 316.353155,1256.35 C316.683155,1258.05 317.043155,1259.78 317.413155,1261.52 C322.703155,1269.03 330.513155,1273.55 338.863155,1276.9 C338.093155,1277.76 337.323155,1278.64 336.573155,1279.55 C334.833155,1279.86 333.113155,1280.22 331.403155,1280.6 C324.123155,1286.02 318.923155,1293.7 316.203155,1302.15 C315.263155,1301.34 314.323155,1300.54 313.383155,1299.78 C313.043155,1298.03 312.683155,1296.31 312.333155,1294.6 C306.983155,1287.23 299.313155,1282.31 290.853155,1279.27 C291.623155,1278.36 292.383155,1277.45 293.163155,1276.58 C294.883155,1276.22 296.603155,1275.86 298.333155,1275.52 C305.723155,1270.17 310.583155,1262.49 313.673155,1254.04 Z">
|
||
</path>
|
||
</g>
|
||
<!-- 这里是右上角的泡泡,颜色可以是渐变的开头色 -->
|
||
<g id="sub" transform="translate(0.000000, 0.000000)" fill="${t}">
|
||
<path
|
||
d="M382.02,0 L398.79,0 C402.63,3.36 407.68,4.87 412.75,4.43 C414.61,4.34 416.54,4.69 418.28,3.76 L415.16,6.84 L418.37,5.16 C418.42,5.9 418.53,7.37 418.58,8.1 L419.97,4.8 C419.86,5.73 419.64,7.57 419.52,8.49 L420.89,7.31 C421.97,8.19 423.24,8.6 424.7,8.51 C424.58,9.01 424.34,10 424.21,10.5 C425.46,10.4 427.94,10.2 429.19,10.11 L424.64,11.94 L428.43,11.39 L428.42,12.62 C428.96,12.5 430.04,12.24 430.58,12.11 L430.16,15.06 L431.6,12.58 L431.67,14.95 L434.3,13.51 L431.36,16.79 L434.18,15.19 C434.29,15.65 434.49,16.57 434.6,17.03 L436.62,15.6 C431.03,21.96 444.79,14.22 435.78,19.85 L438.7,19.37 L438.15,22.12 L440.54,19.2 C440.23,20.06 439.62,21.78 439.32,22.65 C439.88,22.36 441,21.78 441.55,21.49 C441,24.47 441.71,25.14 443.69,23.51 C443.65,24.3 443.57,25.89 443.53,26.69 L446.53,26.13 L442.9,28.12 C443.59,27.96 444.97,27.65 445.66,27.49 C445.75,28.53 445.94,30.61 446.03,31.65 L447.13,27.15 C447.27,28.38 447.54,30.83 447.67,32.05 C447.7,32.84 447.75,34.43 447.78,35.22 C448.18,35.49 448.97,36.03 449.36,36.3 C449.98,37.79 450.65,39.26 451.39,40.7 C451.78,42.22 451.61,44.23 453.44,44.79 C453.93,46.83 454.39,48.9 455.42,50.75 C456.03,54.74 455.48,59.09 457.45,62.76 C457.68,67.02 457.54,71.28 457.61,75.54 C457.3,75.55 456.69,75.58 456.38,75.6 C455.92,81.48 456.3,87.92 452.6,92.92 C451.72,95.93 450.62,98.86 449.33,101.71 C448.94,101.66 448.18,101.57 447.8,101.53 C447.72,102.9 447.66,104.28 447.59,105.65 C447.26,105.64 446.58,105.63 446.25,105.62 C444.73,109.74 439.57,111.85 439.48,116.45 C438.99,116.4 438.02,116.29 437.53,116.24 C439.16,118.56 438.72,119.01 436.22,117.62 C436.31,118.31 436.5,119.7 436.59,120.4 C435.82,120.4 434.28,120.4 433.51,120.4 C433.57,120.97 433.7,122.11 433.76,122.68 L431.1,122.05 L433.03,124.15 C432.4,123.95 431.13,123.54 430.49,123.33 L430.24,124.89 L427.54,123.45 L430.58,126.58 L427.82,125.31 C427.73,125.97 427.56,127.3 427.48,127.96 L425.75,124.81 L426.68,127.91 L425.46,127.32 L425.59,128.36 C424.17,128.38 422.76,128.41 421.35,128.44 C421.49,128.93 421.75,129.92 421.89,130.41 C420.66,130.41 418.21,130.41 416.99,130.41 L421.59,131.9 C420.26,131.8 417.62,131.61 416.3,131.52 L416.52,132.55 C414.74,132.43 412.96,132.29 411.18,132.13 L414.89,133.55 C412.99,133.71 409.17,134.03 407.26,134.19 C409.19,134.4 413.05,134.83 414.98,135.04 C398.97,136.8 382.76,137.26 366.76,135.08 C368.33,134.83 371.49,134.31 373.07,134.05 L363.8,133.27 L369.78,131.99 C367.67,132.08 365.57,132.25 363.48,132.51 L363.67,131.6 C362.22,131.6 360.77,131.6 359.33,131.6 C359.44,131.17 359.66,130.31 359.77,129.89 C357.33,127.76 353.95,127.37 350.85,127.75 L354.71,126.61 C353.47,126.47 350.98,126.18 349.74,126.03 L353.03,124.67 C351.85,124.59 349.48,124.42 348.3,124.34 L348.57,123.34 L347.1,123.6 C347.32,123.1 347.76,122.11 347.98,121.62 C346.9,121.61 344.76,121.6 343.68,121.6 C345.18,119.89 344.77,119.21 342.44,119.55 C342.76,117.24 342.05,116.9 340.3,118.52 C340.04,116.83 339.86,115.14 339.76,113.45 C339.12,113.77 337.84,114.43 337.2,114.76 C337.57,113.92 338.3,112.24 338.67,111.4 L335.48,114.4 L336.89,111.76 L335.61,111.59 C335.59,111.06 335.56,110.02 335.54,109.5 L333.16,109.69 L334.98,107.98 C334.35,108.12 333.09,108.42 332.47,108.57 C332.46,107.92 332.44,106.63 332.43,105.98 C332.6,104.21 331.89,102.57 330.69,101.3 C329.99,99.93 329.19,98.63 328.46,97.28 C328.34,96.05 328.24,94.82 328.16,93.6 C327.75,93.59 326.94,93.58 326.53,93.58 C326.11,91.33 325.92,88.94 324.55,87.03 C323.8,83.76 324.78,79.69 322.5,76.99 C322.27,71.66 322.28,66.31 322.48,60.98 C324.95,57.35 324.09,52.55 324.44,48.38 C324.83,48.4 325.6,48.42 325.99,48.44 C326.14,47.28 326.31,46.12 326.49,44.97 C328.57,42 329.2,38.27 331.32,35.3 C332.39,31.57 336.4,29.41 336.67,25.41 C336.53,24.92 336.26,23.95 336.12,23.47 C341.44,27.84 334.66,18.28 339.61,22.98 L339.37,21.5 L340.92,21.81 L339.1,19.82 L341.55,20.72 L341.77,19.04 L344.07,20.38 L341.34,16.98 L344.66,19.24 C344.3,18.58 343.6,17.25 343.24,16.59 C343.85,16.56 345.07,16.5 345.68,16.48 C349.38,15.92 351.67,12.48 355.16,11.31 C355.98,9.99 357.51,9.69 358.88,9.19 C360.17,8.41 361.58,7.85 362.98,7.26 C364.59,5.37 367.23,5.69 369.45,5.41 C369.42,5.16 369.37,4.67 369.34,4.43 C372.08,4.13 374.81,3.74 377.56,3.44 C377.53,2.96 377.46,2.01 377.43,1.54 C378.68,1.54 379.93,1.54 381.19,1.54 C381.4,1.16 381.82,0.39 382.02,0 Z M54.4,176.49 C59.94,175.04 66.31,175.28 69.71,180.56 C71.23,193.58 70.11,206.81 70.32,219.92 C70.83,219.79 71.86,219.54 72.38,219.42 C72.37,220.81 72.37,222.2 72.37,223.6 C86.42,223.61 100.46,223.52 114.5,223.64 L114.56,224.8 C115.23,224.48 116.59,223.84 117.26,223.51 L115.01,226.22 L117.69,225.07 L117.27,226.5 L118.97,226.09 L117.12,228.11 L119.67,227.2 L119.4,228.67 L120.37,228.28 C120.54,232.16 120.58,236.04 120.4,239.92 L118.25,239.34 C118.91,240.12 120.23,241.7 120.9,242.49 L117.5,239.79 L118.97,242.38 L117.13,242.28 L118,243.64 C117.53,243.63 116.61,243.61 116.15,243.6 C101.27,244.23 86.25,242.82 71.47,244.37 C71.52,245.16 71.63,246.75 71.69,247.55 L70.38,247.47 C70.4,259.65 70.47,271.83 70.39,284.01 C70.5,286.89 68.51,289.16 67.22,291.55 C66,291.66 64.78,291.79 63.56,291.91 C63.57,292.35 63.59,293.21 63.61,293.65 C62.08,293.61 60.56,293.58 59.03,293.53 C57.69,292.36 55.93,291.97 54.27,291.47 C54.25,291.05 54.21,290.2 54.19,289.78 C53.71,289.77 52.74,289.75 52.26,289.74 C50.85,275.84 52.18,261.82 51.52,247.89 L50.39,247.09 C50.41,246.45 50.43,245.16 50.45,244.52 C35.75,242.71 20.83,244.25 6.05,243.63 C5.42,243.63 4.17,243.63 3.55,243.63 C3.6,243.07 3.71,241.94 3.76,241.38 L1.68,242.77 L2.83,240.43 C2.12,240.44 0.71,240.46 0,240.46 L0,225.2 L1.01,231.55 L1.67,227.06 L4.51,228.72 L1.36,225.22 C1.97,225.61 3.21,226.38 3.83,226.77 C5.53,226.21 7.15,225.41 8.68,224.49 C22.16,224.16 35.65,224.59 49.14,224.26 C49.95,223.33 50.77,222.42 51.59,221.51 C52.14,207.15 50.72,192.69 52.46,178.4 C52.93,178.39 53.88,178.36 54.35,178.34 C54.36,177.88 54.39,176.95 54.4,176.49 Z M205.55,287.22 C207.6,287.27 209.65,287.29 211.71,287.3 C211.69,287.68 211.66,288.45 211.64,288.83 C215.72,290.54 218.05,294.82 221.44,297.56 C223.24,299.47 225.38,301.1 226.73,303.41 C228.51,303.11 230.87,303.8 232.05,302.04 C236.67,296.95 242.13,292.08 246.56,287.26 C253.86,284.52 256.85,294.74 250.58,297.53 C248.47,300.49 245.51,303.32 242.63,305.56 C242.2,306.46 241.49,307.11 240.51,307.5 C240.08,308.52 239.37,309.24 238.38,309.65 C235.49,315.33 242.81,317.6 245.42,321.59 C248.54,323.9 250.57,327.39 253.79,329.57 C253.8,331.85 253.76,334.14 253.72,336.42 C253.08,336.7 251.79,337.26 251.15,337.53 C249.37,337.25 247.03,337.78 245.86,336.02 C241.15,331 235.96,326.37 231.35,321.33 C229.79,321.31 228.24,321.31 226.69,321.34 C222.01,326.35 216.86,331.01 212.13,336.03 C210.18,338.46 206.79,337.07 204.22,336.78 C203.98,334.39 202.75,331.55 204.39,329.45 C209.54,324.48 214.42,319.27 219.71,314.45 C219.69,312.85 219.69,311.24 219.69,309.64 C218.59,309.3 217.87,308.53 217.53,307.34 C217,307.13 215.96,306.71 215.44,306.5 L215.78,305.22 L214.47,305.57 C214.28,305.01 213.9,303.88 213.71,303.32 C213.14,303.12 212,302.72 211.43,302.52 L211.78,301.22 L210.48,301.57 C210.28,301 209.89,299.87 209.69,299.31 C209.13,299.11 208,298.71 207.43,298.52 L207.78,297.23 L206.6,297.55 C206.29,296.08 205.61,294.96 203.95,295.09 C203.97,293.01 202.25,288.19 205.72,288.58 C205.68,288.24 205.59,287.56 205.55,287.22 Z">
|
||
</path>
|
||
</g>
|
||
<!-- rocket -->
|
||
<g id="rokect" transform="translate(674.281285, 337.290000)">
|
||
<!-- rocket background -->
|
||
<g id="rokect-bg-light" transform="translate(69.244698, 155.410000)" fill="#FFF">
|
||
<path
|
||
d="M119.354017,0.77 C120.264017,0.67 121.194017,0.59 122.124017,0.51 C122.064017,3.18 122.034017,5.86 122.104017,8.54 C122.094017,14.65 121.904017,20.79 122.934017,26.84 L124.084017,26.81 C124.064017,27.51 124.024017,28.89 124.014017,29.59 C124.474017,29.92 125.394017,30.58 125.854017,30.91 C126.124017,32.8 126.474017,34.7 126.904017,36.58 C134.804017,51.28 147.464017,62.41 161.364017,71.31 C162.584017,72.18 163.984017,72.66 165.454017,73.02 C168.624017,76.17 173.054017,77.37 176.824017,79.61 C177.024017,79.72 177.434017,79.93 177.634017,80.04 C182.604017,84.75 189.924017,84.86 195.654017,88.23 C226.544017,97.93 259.124017,99.66 291.354017,97.86 C291.134017,97.39 290.684017,96.44 290.464017,95.96 C293.414017,95.6 297.074017,96.98 299.534017,94.87 C302.874017,94.67 306.604017,95.31 309.344017,92.91 C313.404017,92.46 317.964017,93.22 321.564017,90.87 C322.904017,90.77 324.254017,90.7 325.634017,90.64 C325.964017,90.19 326.644017,89.27 326.974017,88.82 C331.984017,88.93 337.144017,88.02 341.204017,84.91 C343.454017,84.67 345.994017,84.83 347.564017,82.86 C348.104017,82.82 349.194017,82.74 349.734017,82.7 C350.064017,82.26 350.724017,81.36 351.054017,80.91 C356.884017,79.7 363.074017,77.04 367.444017,73 C380.174017,66.99 391.464017,57.2 399.774017,45.75 C399.874017,45.61 400.074017,45.33 400.174017,45.19 C406.344017,40.92 407.714017,32.82 410.414017,26.28 C411.694017,17.61 410.464017,8.74 410.974017,5.68434189e-14 C421.024017,12.01 427.644017,26.57 436.524017,39.51 C436.844017,51.9 446.694017,62.35 446.664017,75.07 C451.414017,81.35 449.004017,89.46 452.544017,96.22 C454.604017,100.68 453.704017,105.86 455.824017,110.33 C458.674017,115.97 457.654017,122.58 460.504017,128.24 C463.284017,133.57 460.954017,139.81 463.434017,145.23 C463.964017,149.01 465.674017,152.53 466.074017,156.32 C465.344017,166.29 471.274017,175.3 470.294017,185.32 C472.834017,190.36 471.094017,196.19 473.514017,201.22 C475.224017,207.26 472.864017,213.82 475.034017,219.79 C476.984017,224.06 474.984017,229.08 477.514017,233.21 C479.574017,244.07 476.094017,255.71 479.824017,266.3 C481.034017,275.58 478.214017,285.39 481.834017,294.3 C482.354017,307.94 481.794017,321.64 482.084017,335.31 C482.464017,339.18 479.534017,342.41 479.994017,346.3 C479.514017,353.63 481.424017,361.38 478.514017,368.37 C476.944017,378.57 480.094017,389.49 476.174017,399.29 C475.814017,402.19 476.414017,405.25 475.314017,408.04 C472.284017,415.49 476.044017,424.04 472.164017,431.32 C468.444017,438.22 471.784017,446.41 468.164017,453.32 C465.284017,458.65 467.054017,464.97 464.544017,470.39 C461.594017,476.63 462.444017,483.82 459.234017,490 C458.144017,497.65 453.984017,504.52 453.844017,512.32 C443.864017,539.36 434.854017,567.12 421.844017,593.04 C410.914017,615.18 399.884017,637.49 385.594017,657.51 C372.674017,679.32 356.434017,698.88 340.864017,718.7 C334.204017,724.12 331.274017,733.43 322.864017,736.83 C322.454017,737.66 322.074017,738.51 321.704017,739.38 C316.054017,741.86 313.174017,747.83 307.694017,750.57 C300.994017,756.04 293.664017,760.69 286.334017,765.28 C284.754017,766.27 284.414017,768.29 283.594017,769.86 C282.674017,769.88 281.764017,769.91 280.864017,769.97 C281.704017,759.8 277.424017,750.37 276.334017,740.47 C275.794017,740.87 274.714017,741.67 274.174017,742.07 C274.074017,739.26 274.074017,736.46 274.084017,733.68 L272.964017,733.93 C272.944017,730.43 272.154017,727.12 271.954017,723.67 L270.904017,723.93 C271.164017,718.84 270.084017,713.86 268.624017,709.03 C268.234017,708.74 267.454017,708.17 267.064017,707.88 C266.844017,705.76 266.554017,703.66 266.204017,701.59 L264.694017,702.01 C264.794017,701.59 264.984017,700.73 265.084017,700.31 C264.014017,697.07 260.524017,697.92 257.894017,697.76 C257.964017,698.2 258.104017,699.09 258.174017,699.53 C255.944017,700.1 255.304017,702.41 254.364017,704.2 C254.204017,705.74 254.094017,707.31 253.964017,708.88 L252.554017,708.66 C252.654017,709.05 252.844017,709.83 252.944017,710.22 C250.034017,715.41 250.844017,721.52 249.184017,727 C248.864017,728.38 248.594017,729.78 248.314017,731.2 C247.684017,735.95 246.264017,740.58 246.794017,745.45 L246.184017,746.23 C246.104017,750.11 245.994017,754.01 246.074017,757.91 L244.854017,757.7 C244.784017,761.29 245.484017,765.07 244.044017,768.49 C244.134017,768.87 244.324017,769.65 244.414017,770.04 L242.844017,770.46 C241.604017,777.49 242.304017,784.66 241.994017,791.76 C241.624017,792.15 240.864017,792.92 240.494017,793.3 C240.864017,793.68 241.614017,794.44 241.994017,794.82 C242.004017,795.71 242.034017,796.62 242.084017,797.55 C240.754017,798.23 239.104017,798.88 238.024017,799.7 C228.134017,797.41 217.394017,798.92 207.254017,797.49 C202.134017,795.93 196.764017,795.82 191.474017,795.93 C180.934017,796.3 170.984017,791.56 160.464017,791.88 C153.264017,791.47 146.714017,787.52 139.434017,787.81 C122.994017,783.79 106.714017,779.17 90.3840166,774.64 C86.3240166,773.28 86.3340166,768.08 83.1440166,765.64 C83.2140166,762.4 81.4640166,759.83 79.1440166,757.78 C79.1440166,754.53 77.5140166,751.84 75.1340166,749.77 C73.6840166,740.77 66.4740166,733.8 65.1040166,724.69 C64.4240166,720.42 61.9840166,716.8 60.2740166,712.92 C59.9540166,712.82 59.3240166,712.61 59.0140166,712.51 C59.1040166,708.84 57.7640166,705.45 56.1540166,702.25 C55.6840166,702.82 55.2340166,703.41 54.7940166,704.01 C55.9440166,699.18 53.3140166,695.11 51.3140166,691.01 C51.6440166,684.47 45.6940166,679.82 46.7640166,673.21 C45.4640166,671.81 44.1540166,670.44 42.8340166,669.1 C42.6940166,664.12 43.7540166,658.88 41.1140166,654.38 C41.8840166,647.08 35.7840166,641.77 36.3340166,634.54 C35.7840166,634.94 34.6840166,635.74 34.1340166,636.14 C34.1240166,635.5 34.1240166,634.22 34.1140166,633.58 L33.0940166,634.03 C32.8840166,632.25 32.2940166,630.6 31.0140166,629.34 C30.8540166,625.74 30.4840166,622.17 30.0140166,618.62 L29.1340166,618.85 C27.0540166,614.57 26.5140166,609.9 26.7140166,605.21 C26.4240166,604.02 26.1540166,602.84 25.9140166,601.67 L24.9740166,602.03 C22.6940166,595.93 22.9840166,589.51 22.0140166,583.18 C21.0440166,582.27 20.5840166,581.12 20.6240166,579.73 C19.9440166,579.8 19.2640166,579.89 18.6040166,579.99 C19.0840166,576.18 18.7440166,572.35 18.7740166,568.54 C18.7740166,566.75 18.7640166,564.98 18.7640166,563.23 C18.1640166,562.53 17.6040166,561.89 17.0240166,561.23 C13.4640166,553.24 16.5140166,544.27 13.0140166,536.27 C9.07401662,526.64 12.7140166,515.96 8.93401662,506.3 C5.84401662,499.68 7.15401662,492.31 6.94401662,485.29 C7.10401662,473.77 1.96401662,462.88 2.85401662,451.31 C3.35401662,440.28 2.38401662,429.3 2.04401662,418.3 C-0.955983376,398.14 0.324016624,377.64 0.0240166238,357.3 C-0.235983376,341.21 3.78401662,325.41 2.83401662,309.3 C1.96401662,299.01 8.06401662,289.62 6.92401662,279.3 C5.75401662,271.2 12.1240166,264.4 10.9240166,256.3 C9.69401662,249.73 16.0140166,244.88 14.9140166,238.3 C13.6340166,232.69 18.4840166,228.64 18.7740166,223.31 C19.0540166,215.96 23.4340166,209.63 23.8940166,202.28 C26.8040166,196.96 26.4640166,190.67 29.6440166,185.5 C31.6440166,182.04 29.9340166,177.55 32.5340166,174.33 C34.6640166,171.62 35.1740166,168.25 35.0340166,164.89 C37.5040166,162.62 39.1840166,159.71 39.0040166,156.26 C45.2140166,139.64 52.7540166,123.32 59.1740166,106.68 C60.0340166,105.68 60.9040166,104.69 61.7940166,103.7 C62.4340166,99.87 64.3240166,96.5 66.1440166,93.13 C81.7740166,61.15 100.004017,30.55 119.354017,0.77 M234.814017,234.72 C234.824017,235.23 234.844017,236.24 234.854017,236.74 C232.954017,236.68 231.074017,236.69 229.194017,236.77 C228.444017,237.52 227.544017,238 226.484017,238.19 C225.404017,238.58 224.284017,238.76 223.134017,238.73 C221.094017,241.52 215.914017,239.4 213.244017,242.03 C212.714017,242.27 211.664017,242.74 211.134017,242.98 C209.784017,244.02 208.004017,244.07 206.424017,244.44 C205.304017,244.46 204.414017,244.87 203.754017,245.68 C202.814017,246.1 201.874017,246.53 200.944017,246.96 C199.294017,248.25 197.214017,248.65 195.184017,248.81 C193.424017,251.15 190.764017,252.35 187.954017,252.87 L188.144017,253.77 C187.124017,254.1 186.114017,254.46 185.124017,254.84 C179.904017,258.24 174.234017,261.05 169.864017,265.74 C168.944017,266.09 168.034017,266.46 167.144017,266.84 C164.824017,269.24 162.184017,271.3 159.814017,273.64 C158.554017,273.85 157.924017,274.6 157.914017,275.9 C156.894017,276.17 155.884017,276.44 154.884017,276.73 C154.604017,277.77 154.334017,278.83 154.074017,279.9 C153.004017,280.16 151.944017,280.43 150.894017,280.71 C150.614017,281.72 150.344017,282.73 150.064017,283.75 C148.664017,283.71 147.964017,284.38 147.954017,285.76 C146.804017,285.9 146.074017,286.61 145.764017,287.87 C144.164017,289.54 142.554017,291.21 141.164017,293.02 C140.484017,293.73 139.774017,294.39 139.024017,295.02 C138.874017,295.56 138.554017,296.64 138.404017,297.18 C137.404017,298.45 136.244017,299.57 135.024017,300.62 C134.654017,301.73 134.294017,302.85 133.944017,303.99 C132.954017,304.85 131.974017,305.73 130.994017,306.6 C130.634017,307.75 130.284017,308.92 129.954017,310.09 C128.964017,311.06 127.974017,312.05 126.964017,312.99 C126.604017,314.59 126.264017,316.2 125.934017,317.82 C123.064017,319.57 122.294017,322.71 121.924017,325.84 C120.944017,326.81 119.984017,327.78 119.014017,328.76 C117.934017,331.35 119.564017,336.52 115.944017,336.97 C116.014017,337.64 116.134017,338.97 116.204017,339.64 C114.894017,339.9 114.364017,340.79 114.614017,342.31 C113.934017,343.74 114.844017,346.46 112.904017,346.96 C113.254017,351.17 109.484017,354.23 110.884017,358.7 C110.394017,358.68 109.434017,358.65 108.954017,358.63 C108.584017,362.1 108.934017,365.95 107.044017,369.05 C105.604017,387.65 105.274017,406.87 109.924017,424.86 C109.464017,429.59 112.564017,433.48 112.984017,438.07 C113.454017,438.03 114.394017,437.96 114.864017,437.93 C114.924017,439.55 114.414017,441.54 115.814017,442.79 C116.254017,443.8 116.704017,444.82 117.174017,445.85 C118.674017,447.9 118.104017,450.8 119.804017,452.79 C120.254017,453.8 120.704017,454.82 121.164017,455.85 C122.234017,457.32 122.594017,459.13 123.014017,460.89 L123.934017,460.61 C125.634017,464.2 126.454017,468.64 130.094017,470.93 C130.084017,471.59 130.054017,472.93 130.044017,473.59 C130.524017,473.9 131.464017,474.51 131.944017,474.81 C131.814017,476.35 132.534017,477.02 134.104017,476.82 C134.104017,477.48 134.114017,478.79 134.114017,479.44 C136.024017,480.02 135.834017,482.85 137.974017,482.92 C138.714017,486.02 141.474017,489.48 144.144017,490.89 C144.094017,491.39 143.994017,492.39 143.944017,492.89 C144.444017,492.82 145.444017,492.68 145.944017,492.61 C145.874017,494.58 147.004017,496 148.584017,497.06 C152.954017,501.02 156.394017,507.16 162.164017,508.83 C162.094017,509.33 161.954017,510.33 161.884017,510.83 C162.384017,510.78 163.384017,510.68 163.874017,510.63 C165.344017,513.28 168.784017,516.17 171.954017,516.8 C171.764017,518.19 172.374017,518.88 173.764017,518.89 C174.634017,520.65 176.334017,520.86 178.144017,520.77 C178.094017,521.26 177.994017,522.24 177.944017,522.73 C178.404017,522.72 179.314017,522.7 179.764017,522.69 C180.424017,524.51 182.064017,524.9 183.844017,524.76 C184.014017,525.85 184.664017,526.63 185.784017,527.11 C187.464017,528.03 189.344017,528.58 190.934017,529.7 C191.974017,530.14 193.054017,530.53 194.164017,530.86 L193.864017,531.79 C195.604017,532.2 197.494017,532.45 198.904017,533.68 C199.854017,534.07 200.834017,534.46 201.814017,534.85 C202.224017,535.88 203.114017,536.3 204.474017,536.1 C207.184017,536.57 209.484017,537.89 211.984017,538.97 C216.564017,540.57 221.384017,541.96 226.154017,542.75 L225.744017,543.94 C227.454017,543.93 229.174017,543.92 230.914017,543.94 C230.884017,544.41 230.824017,545.36 230.794017,545.84 C258.354017,550.77 287.524017,550.06 314.254017,541.83 C314.214017,541.35 314.134017,540.4 314.094017,539.93 C315.964017,540.5 316.944017,540.11 317.044017,538.74 C318.774017,538.76 320.494017,538.45 322.084017,537.7 C325.004017,535.87 329.174017,536.21 331.244017,532.84 C333.314017,532.65 335.444017,532.39 337.164017,531.09 C338.334017,530.62 338.984017,529.8 339.094017,528.63 C339.734017,528.67 341.004017,528.74 341.644017,528.77 C347.394017,524.79 353.754017,521.65 358.874017,516.86 C359.914017,516.47 360.974017,516.1 362.044017,515.76 C362.614017,515.02 363.224017,514.31 363.864017,513.63 C365.994017,511.12 369.684017,509.59 371.004017,506.73 C372.554017,506.96 373.224017,506.26 373.004017,504.64 C373.514017,504.69 374.534017,504.78 375.034017,504.82 C374.974017,504.27 374.854017,503.17 374.794017,502.61 C375.364017,502.68 376.494017,502.81 377.064017,502.88 C376.994017,502.31 376.854017,501.18 376.784017,500.62 C377.334017,500.68 378.454017,500.8 379.014017,500.87 C378.954017,500.36 378.854017,499.35 378.804017,498.85 C380.854017,498.58 382.324017,496.7 382.954017,494.87 C384.004017,494.61 384.734017,493.93 385.144017,492.83 C386.864017,490.91 388.684017,489.08 390.414017,487.17 C390.554017,486.6 390.814017,485.45 390.944017,484.88 C392.174017,484.82 392.894017,484.18 393.094017,482.98 C395.044017,482.44 394.904017,480.39 394.934017,478.77 C396.474017,479.09 397.144017,478.49 396.934017,476.98 C398.944017,476.57 398.944017,474.55 398.934017,472.92 C400.364017,472.84 401.054017,472.06 401.004017,470.58 L401.894017,470.75 C402.014017,467.73 404.734017,465.8 404.954017,462.93 C407.194017,463.01 406.734017,460.24 406.994017,458.79 C407.964017,457.8 408.934017,456.82 409.914017,455.85 C410.094017,454.63 410.304017,453.42 410.524017,452.22 C410.654017,451.14 411.094017,450.25 411.854017,449.55 C412.554017,447.36 414.364017,445.62 414.324017,443.2 C414.684017,439.73 416.094017,436.5 417.884017,433.55 C419.044017,430.47 417.544017,425.67 420.084017,423.62 C420.084017,422.49 420.104017,421.37 420.154017,420.27 C420.634017,417.9 422.114017,415.79 422.054017,413.32 C422.864017,396.37 423.994017,378.9 420.724017,362.26 C418.194017,357.8 419.604017,351.32 416.904017,347.65 C416.684017,346.06 416.234017,344.52 416.044017,342.95 C413.294017,341.85 415.604017,336.97 413.014017,335.64 C412.564017,333.29 410.464017,331.62 410.794017,329.11 C410.274017,327.96 409.754017,326.86 409.144017,325.8 C408.674017,324.79 408.214017,323.79 407.764017,322.8 C406.844017,321.11 406.324017,319.19 405.014017,317.77 C404.604017,316.72 404.234017,315.68 403.894017,314.64 L403.014017,314.9 C402.734017,312.06 401.404017,309.6 399.034017,308 C398.644017,306.86 398.274017,305.74 397.914017,304.63 C394.184017,301.59 393.104017,296.44 388.984017,293.74 C388.664017,292.78 388.344017,291.84 388.004017,290.91 C386.904017,290.63 386.154017,289.92 385.774017,288.77 C379.924017,282.72 374.084017,276.65 367.854017,270.99 C366.704017,270.68 366.034017,269.94 365.854017,268.78 C364.914017,268.42 363.984017,268.08 363.064017,267.74 C361.404017,265.99 359.494017,264.53 357.794017,262.85 C356.824017,262.45 355.874017,262.07 354.924017,261.71 C353.944017,260.76 352.984017,259.82 352.054017,258.87 C350.954017,258.49 349.864017,258.11 348.794017,257.75 C348.524017,257.29 347.984017,256.39 347.714017,255.93 C347.044017,255.92 345.694017,255.89 345.014017,255.87 C343.654017,252.65 339.654017,253 337.824017,250.73 C336.794017,250.4 335.764017,250.1 334.744017,249.82 L335.114017,248.69 C334.434017,248.71 333.084017,248.75 332.414017,248.77 C332.304017,248.32 332.074017,247.44 331.964017,246.99 C315.744017,239.06 297.974017,233.79 279.814017,233.96 C279.884017,233.63 280.044017,232.98 280.114017,232.66 C270.894017,232.88 261.664017,232.49 252.444017,232.8 C246.754017,234.39 240.704017,234.39 234.814017,234.72 Z">
|
||
</path>
|
||
<path
|
||
d="M259.044017,320.8 C260.624017,318.19 261.774017,314.14 265.394017,313.94 C287.114017,313.85 308.834017,314.07 330.554017,313.84 C332.884017,313.17 333.294017,315.67 332.764017,317.32 C328.904017,320.64 326.634017,325.26 323.164017,328.91 C319.004017,335.89 314.504017,342.75 309.264017,349.05 C307.734017,352.1 305.934017,355.23 303.044017,357.2 C302.964017,357.74 302.794017,358.84 302.714017,359.39 C301.484017,360.48 300.284017,361.58 299.114017,362.72 C297.474017,366.79 294.464017,370.38 291.084017,373.13 C290.774017,374.66 288.934017,376.96 290.574017,378.19 C301.554017,379.61 313.124017,380.23 324.534017,379.8 C327.184017,379.34 327.584017,382.23 325.884017,383.72 C316.694017,392.68 310.004017,403.73 301.284017,413.1 C298.834017,417.74 294.724017,421.27 291.294017,425.18 C289.534017,429.13 285.804017,431.61 283.264017,435 C280.694017,440.46 275.244017,443.84 271.804017,448.74 C267.814017,455.21 260.984017,459.37 257.394017,466.15 C250.814017,472.39 245.764017,479.93 239.574017,486.51 C237.724017,490.2 235.034017,493.86 230.994017,495.3 C230.904017,493.78 230.834017,492.29 230.784017,490.8 C231.804017,489.68 232.824017,488.56 233.854017,487.46 C234.594017,484.01 235.724017,480.58 237.914017,477.77 C238.464017,474.14 239.744017,470.68 241.894017,467.69 C242.584017,464.15 243.424017,460.47 245.904017,457.71 C246.284017,454.74 247.394017,451.98 248.384017,449.19 C248.764017,448.81 249.514017,448.04 249.894017,447.65 C250.134017,445.34 250.554017,443.06 251.044017,440.81 C252.004017,439.1 252.954017,437.39 253.944017,435.71 C253.884017,433.46 254.184017,431.18 255.884017,429.55 C255.944017,428.94 256.054017,427.72 256.104017,427.1 C256.584017,426.79 257.544017,426.17 258.034017,425.86 C258.024017,424.27 258.034017,422.67 258.054017,421.1 C258.544017,420.8 259.524017,420.19 260.014017,419.89 C260.024017,418.85 260.054017,417.83 260.104017,416.81 C254.064017,415.04 247.724017,416.39 241.574017,415.76 C236.864017,413.45 231.224017,415.92 226.504017,414.27 C225.254017,411.63 225.904017,407.79 227.824017,405.45 C227.924017,404.88 228.134017,403.75 228.234017,403.19 C228.654017,402.81 229.494017,402.05 229.904017,401.67 C230.274017,399.43 230.654017,397.19 231.034017,394.96 C234.674017,390.45 234.324017,384.23 237.874017,379.69 C238.614017,376.1 239.464017,372.38 241.824017,369.48 C242.314017,367.27 242.714017,365.06 243.044017,362.84 C246.664017,358.35 246.374017,352.21 249.874017,347.68 C250.594017,344.09 251.494017,340.42 253.794017,337.48 C253.984017,334.44 255.874017,331.93 256.184017,328.95 C256.614017,328.62 257.464017,327.95 257.894017,327.61 C258.194017,325.32 258.594017,323.05 259.044017,320.8 Z">
|
||
</path>
|
||
<path
|
||
d="M118.704017,818.14 C130.774017,824.14 143.034017,831.86 156.714017,832.69 C157.704017,832.66 158.704017,832.65 159.724017,832.66 C160.054017,833.84 160.944017,834.36 162.374017,834.23 C163.664017,834.42 164.974017,834.61 166.304017,834.83 L165.664017,835.82 C167.594017,835.91 169.524017,836.08 171.434017,836.46 C173.324017,836.58 175.234017,836.68 177.144017,836.75 L176.754017,838.02 C178.124017,837.92 179.494017,837.83 180.894017,837.77 L180.984017,838.83 C182.374017,838.74 183.774017,838.67 185.184017,838.61 L184.694017,839.88 C193.214017,839.73 201.484017,841.77 209.884017,842.69 C210.464017,842.7 211.634017,842.73 212.214017,842.74 L211.734017,843.92 C221.104017,844.01 230.454017,845.02 239.844017,844.73 C240.574017,845.4 241.304017,846.09 242.064017,846.79 C242.094017,847.54 242.134017,848.31 242.184017,849.1 C241.764017,857.32 242.084017,865.56 242.114017,873.8 C241.424017,874.54 240.744017,875.29 240.074017,876.07 C230.764017,875.69 221.744017,872.83 212.464017,871.98 C177.684017,864.59 142.244017,850.01 118.984017,821.64 C118.884017,820.45 118.784017,819.29 118.704017,818.14 Z">
|
||
</path>
|
||
<path
|
||
d="M406.944017,818.6 C408.134017,818.61 409.334017,818.64 410.554017,818.69 C402.244017,833.31 387.474017,842.42 373.874017,851.54 C372.124017,852.2 370.114017,852.63 369.374017,854.63 C367.464017,855.84 365.274017,856.44 363.124017,857.02 C361.864017,857.72 360.624017,858.43 359.404017,859.18 C356.134017,860.56 352.704017,861.65 349.744017,863.67 C347.504017,864.09 345.274017,864.5 343.044017,864.87 C341.284017,865.8 339.534017,866.73 337.824017,867.71 C334.954017,868.16 332.094017,868.59 329.224017,868.96 C323.234017,872.35 316.204017,871.92 309.824017,873.63 C306.994017,874.26 304.124017,874.64 301.264017,874.99 C293.924017,876.57 286.004017,877.35 278.534017,876.05 C279.144017,866.6 278.764017,857.13 278.824017,847.67 L279.664017,847.91 C280.704017,846.83 281.774017,845.8 282.854017,844.77 C294.294017,844.97 305.704017,844.3 317.114017,843.89 L316.834017,842.73 C326.404017,842.89 335.604017,839.78 345.204017,839.83 L344.754017,838.78 C346.704017,838.73 348.654017,838.57 350.564017,838.1 C351.224017,838.05 352.524017,837.95 353.174017,837.9 L352.784017,836.73 C358.414017,837 363.914017,835.72 369.154017,833.77 L368.764017,832.75 C376.244017,833.85 381.984017,828.17 389.204017,827.87 L388.734017,826.64 C389.484017,826.65 390.994017,826.69 391.744017,826.71 C391.984017,826.26 392.464017,825.35 392.694017,824.9 C396.134017,824.73 399.294017,823.4 401.264017,820.49 C401.464017,820.5 401.854017,820.53 402.044017,820.54 C402.954017,820.58 404.764017,820.65 405.674017,820.69 C405.984017,820.17 406.624017,819.12 406.944017,818.6 Z">
|
||
</path>
|
||
</g>
|
||
<g id="rokect-bg-dark" transform="translate(69.244698, 155.410000)" fill="#F4E8E1">
|
||
<path
|
||
d="M436.524017,39.51 C443.114017,49.73 447.034017,61.46 453.864017,71.57 C495.224017,150.8 521.934017,238.04 528.144017,327.3 C527.744017,332.39 528.154017,337.45 529.854017,342.28 C530.234017,359.27 530.054017,376.31 529.904017,393.31 C526.674017,408.14 529.464017,423.44 526.784017,438.3 C525.984017,446.69 525.914017,455.13 526.064017,463.56 C525.754017,463.66 525.124017,463.88 524.804017,463.99 C523.044017,480.44 522.214017,497.01 518.964017,513.28 C517.834017,532.83 511.944017,551.72 510.034017,571.18 C507.894017,576.05 506.054017,581.38 506.174017,586.78 C506.264017,596.59 501.214017,605.55 500.574017,615.4 C500.184017,615.75 499.404017,616.45 499.014017,616.8 C498.484017,620.13 498.054017,623.49 498.024017,626.89 L496.994017,626.73 C496.874017,628.97 496.554017,631.22 495.894017,633.39 C493.684017,637.74 494.064017,642.97 491.764017,647.36 C490.254017,649.85 490.144017,652.81 489.914017,655.64 C488.974017,657.43 488.054017,659.22 487.104017,661.01 C486.774017,665.2 484.624017,669.08 484.894017,673.34 C487.574017,676.31 489.264017,679.98 491.544017,683.25 C492.264017,683.85 492.994017,684.47 493.744017,685.09 C494.594017,687.33 496.114017,689.2 497.794017,690.91 C498.204017,693.46 499.474017,695.73 501.734017,697.11 C502.584017,699.3 504.074017,701.12 505.764017,702.75 C506.434017,705.23 507.444017,707.68 509.704017,709.14 C512.204017,713.12 514.904017,716.98 517.614017,720.85 C517.724017,721.02 517.954017,721.37 518.064017,721.54 C521.104017,729.73 520.674017,738.79 519.004017,747.27 C518.734017,775.62 518.874017,803.98 518.834017,832.34 C518.854017,835.87 518.454017,839.4 517.704017,842.86 C515.734017,841.13 514.234017,838.97 513.304017,836.54 C509.814017,827.86 504.544017,820 501.584017,811.11 C498.494017,807.81 498.554017,802.86 495.174017,799.79 C487.614017,781.06 477.434017,763.41 468.944017,745.06 C467.614017,740.14 465.174017,735.62 461.354017,732.2 C458.944017,734.02 458.234017,736.9 457.744017,739.74 C453.884017,744.12 453.124017,750.24 449.934017,755.09 C447.774017,760.97 443.104017,765.63 441.764017,771.79 C411.764017,784.38 379.654017,790.58 347.554017,794.94 C340.654017,796.83 333.384017,795.16 326.444017,796.9 C317.114017,799.25 307.214017,797.44 297.914017,799.56 C297.744017,799.44 297.394017,799.21 297.214017,799.1 C292.114017,800.7 286.644017,799.51 281.404017,799.85 C280.324017,798.99 279.254017,798.15 278.194017,797.32 C278.104017,789.23 278.264017,781.14 277.874017,773.07 C275.464017,767.53 277.254017,761.05 275.074017,755.52 C274.894017,751.02 274.544017,746.54 274.174017,742.07 C274.714017,741.67 275.794017,740.87 276.334017,740.47 C277.424017,750.37 281.704017,759.8 280.864017,769.97 C281.764017,769.91 282.674017,769.88 283.594017,769.86 C284.414017,768.29 284.754017,766.27 286.334017,765.28 C293.664017,760.69 300.994017,756.04 307.694017,750.57 C313.174017,747.83 316.054017,741.86 321.704017,739.38 C322.074017,738.51 322.454017,737.66 322.864017,736.83 C331.274017,733.43 334.204017,724.12 340.864017,718.7 C356.434017,698.88 372.674017,679.32 385.594017,657.51 C399.884017,637.49 410.914017,615.18 421.844017,593.04 C434.854017,567.12 443.864017,539.36 453.844017,512.32 C453.984017,504.52 458.144017,497.65 459.234017,490 C462.444017,483.82 461.594017,476.63 464.544017,470.39 C467.054017,464.97 465.284017,458.65 468.164017,453.32 C471.784017,446.41 468.444017,438.22 472.164017,431.32 C476.044017,424.04 472.284017,415.49 475.314017,408.04 C476.414017,405.25 475.814017,402.19 476.174017,399.29 C480.094017,389.49 476.944017,378.57 478.514017,368.37 C481.424017,361.38 479.514017,353.63 479.994017,346.3 C479.534017,342.41 482.464017,339.18 482.084017,335.31 C481.794017,321.64 482.354017,307.94 481.834017,294.3 C478.214017,285.39 481.034017,275.58 479.824017,266.3 C476.094017,255.71 479.574017,244.07 477.514017,233.21 C474.984017,229.08 476.984017,224.06 475.034017,219.79 C472.864017,213.82 475.224017,207.26 473.514017,201.22 C471.094017,196.19 472.834017,190.36 470.294017,185.32 C471.274017,175.3 465.344017,166.29 466.074017,156.32 C465.674017,152.53 463.964017,149.01 463.434017,145.23 C460.954017,139.81 463.284017,133.57 460.504017,128.24 C457.654017,122.58 458.674017,115.97 455.824017,110.33 C453.704017,105.86 454.604017,100.68 452.544017,96.22 C449.004017,89.46 451.414017,81.35 446.664017,75.07 C446.694017,62.35 436.844017,51.9 436.524017,39.51 Z">
|
||
</path>
|
||
<path
|
||
d="M34.1340166,636.14 C34.6840166,635.74 35.7840166,634.94 36.3340166,634.54 C35.7840166,641.77 41.8840166,647.08 41.1140166,654.38 C43.7540166,658.88 42.6940166,664.12 42.8340166,669.1 C44.1540166,670.44 45.4640166,671.81 46.7640166,673.21 C45.6940166,679.82 51.6440166,684.47 51.3140166,691.01 C53.3140166,695.11 55.9440166,699.18 54.7940166,704.01 C55.2340166,703.41 55.6840166,702.82 56.1540166,702.25 C57.7640166,705.45 59.1040166,708.84 59.0140166,712.51 C59.3240166,712.61 59.9540166,712.82 60.2740166,712.92 C61.9840166,716.8 64.4240166,720.42 65.1040166,724.69 C63.1340166,723.75 61.1240166,722.93 59.0340166,722.32 C58.9640166,723.07 58.8240166,724.58 58.7540166,725.34 C58.3740166,725.75 57.6140166,726.59 57.2340166,727.01 C49.4940166,746.91 38.3740166,765.61 29.8540166,785.15 C22.3640166,802.43 11.9440166,818.56 5.83401662,836.34 C5.12401662,836.55 3.70401662,836.96 2.99401662,837.16 C1.72401662,830.94 2.15401662,824.59 2.10401662,818.3 C2.07401662,793.29 2.21401662,768.27 1.94401662,743.27 C0.354016624,737.05 0.834016624,730.62 0.794016624,724.27 C1.51401662,718.96 6.32401662,715.17 6.86401662,709.78 C6.90401662,709.61 6.97401662,709.26 7.01401662,709.08 C7.82401662,708.48 8.62401662,707.88 9.40401662,707.26 C12.4840166,703.52 13.4940166,698.13 17.7840166,695.48 C18.8240166,693.27 19.9540166,691.12 21.1840166,689.02 C22.5440166,687.04 24.0540166,685.16 25.7340166,683.44 C26.5940166,681.14 28.1840166,679.29 30.0140166,677.71 C30.0640166,677.08 30.1540166,675.8 30.2040166,675.17 C31.3940166,674.08 32.5840166,672.98 33.7540166,671.88 C35.0640166,667.9 38.7240166,665.34 39.9440166,661.26 C39.9140166,660.59 39.9040166,659.95 39.9140166,659.33 C38.0240166,656.16 38.5540166,652.23 38.0140166,648.72 C37.5540166,648.38 36.6340166,647.72 36.1740166,647.39 C36.1540166,646.71 36.1040166,645.35 36.0740166,644.68 L34.9140166,644.85 C34.6940166,641.94 34.2840166,639.05 34.1340166,636.14 Z">
|
||
</path>
|
||
</g>
|
||
<!-- 这里是火箭前景 -->
|
||
<path fill="${r}"
|
||
d="M334.348715,0.06 C335.298715,0.03 336.268715,0.01 337.248715,-1.42108547e-14 C337.628715,0.95 338.018715,1.9 338.428715,2.86 C353.978715,12.63 366.498715,26.25 380.578715,37.89 C413.128715,68.67 441.908715,103.13 468.558715,139 C476.638715,152.19 481.328708,168.54 476.168715,183.69 C475.068715,189.81 470.358715,194.47 469.418715,200.6 C469.318715,200.74 469.118715,201.02 469.018715,201.16 C460.708715,212.61 449.418715,222.4 436.688715,228.41 C432.318715,232.45 426.128715,235.11 420.298715,236.32 C419.968715,236.77 419.308715,237.67 418.978715,238.11 C418.438715,238.15 417.348715,238.23 416.808715,238.27 C415.238715,240.24 412.698715,240.08 410.448715,240.32 C406.388715,243.43 401.228715,244.34 396.218715,244.23 C395.888715,244.68 395.208715,245.6 394.878715,246.05 C393.498715,246.11 392.148715,246.18 390.808715,246.28 C387.208715,248.63 382.648715,247.87 378.588715,248.32 C375.848715,250.72 372.118715,250.08 368.778715,250.28 C366.318715,252.39 362.658715,251.01 359.708715,251.37 C345.708715,251.32 331.698715,251.6 317.688715,251.32 C299.148715,248.73 280.418715,246.33 262.748715,239.81 C257.338715,238.64 252.608715,234.83 246.878715,235.45 C246.678715,235.34 246.268715,235.13 246.068715,235.02 C242.298715,232.78 237.868715,231.58 234.698715,228.43 C233.228715,228.07 231.828708,227.59 230.608715,226.72 C216.708715,217.82 204.048715,206.69 196.148715,191.99 C195.718715,190.11 195.368715,188.21 195.098715,186.32 C194.638715,185.99 193.718715,185.33 193.258715,185 C193.268715,184.3 193.308715,182.92 193.328708,182.22 L192.178715,182.25 C191.148715,176.2 191.338715,170.06 191.348715,163.95 C194.428715,162.44 193.218715,158.27 194.618715,155.61 C198.108715,141.55 208.448715,131.01 216.708715,119.62 C250.848715,76.61 288.498715,35.39 333.098715,2.89 C333.498715,1.94 333.918715,1 334.348715,0.06 Z M358.738715,392.19 C362.155752,392.247037 365.398029,393.175185 368.631444,394.16308 L370.017134,394.587756 C372.558345,395.364362 375.108715,396.106296 377.748715,396.42 C386.068715,397.87 393.368715,403.31 401.658715,404.18 C402.328715,404.16 403.678715,404.12 404.358715,404.1 L403.988715,405.23 C405.008715,405.51 406.038715,405.81 407.068715,406.14 C408.898715,408.41 412.898715,408.06 414.258715,411.28 C414.938715,411.3 416.288715,411.33 416.958715,411.34 C417.228715,411.8 417.768715,412.7 418.038715,413.16 C419.108715,413.52 420.198715,413.9 421.298715,414.28 C422.228715,415.23 423.188715,416.17 424.168715,417.12 C425.118715,417.48 426.068715,417.86 427.038715,418.26 C428.738715,419.94 430.648715,421.4 432.308715,423.15 C433.228715,423.49 434.158715,423.83 435.098715,424.19 C435.278715,425.35 435.948715,426.09 437.098715,426.4 C443.328715,432.06 449.168715,438.13 455.018715,444.18 C455.398715,445.33 456.148715,446.04 457.248715,446.32 C457.588715,447.25 457.908715,448.19 458.228715,449.15 C462.348715,451.85 463.428715,457 467.158715,460.04 C467.518715,461.15 467.888715,462.27 468.278715,463.41 C470.648715,465.01 471.978715,467.47 472.258715,470.31 L473.138715,470.05 C473.478715,471.09 473.848715,472.13 474.258715,473.18 C475.568715,474.6 476.088715,476.52 477.008715,478.21 C477.458715,479.2 477.918715,480.2 478.388715,481.21 C478.998715,482.27 479.518715,483.37 480.038715,484.52 C479.708715,487.03 481.808715,488.7 482.258715,491.05 C484.848715,492.38 482.538715,497.26 485.288715,498.36 C485.478715,499.93 485.928715,501.47 486.148715,503.06 C488.848715,506.73 487.438715,513.21 489.968715,517.67 C493.238715,534.31 492.108715,551.78 491.298715,568.73 C491.358715,571.2 489.878715,573.31 489.398715,575.68 C489.348715,576.78 489.328715,577.9 489.328715,579.03 C486.788715,581.08 488.288715,585.88 487.128715,588.96 C485.338715,591.91 483.928715,595.14 483.568715,598.61 C483.608715,601.03 481.798715,602.77 481.098715,604.96 C480.338715,605.66 479.898715,606.55 479.768715,607.63 C479.548715,608.83 479.338715,610.04 479.158715,611.26 C478.178715,612.23 477.208715,613.21 476.238715,614.2 C475.978715,615.65 476.438715,618.42 474.198715,618.34 C473.978715,621.21 471.258715,623.14 471.138715,626.16 L470.248715,625.99 C470.298715,627.47 469.608715,628.25 468.178715,628.33 L468.179608,628.494226 L468.179608,628.494226 L468.179415,628.8287 C468.168615,630.3479 467.987715,632.021 466.178715,632.39 C466.388715,633.9 465.718715,634.5 464.178715,634.18 C464.148715,635.8 464.288715,637.85 462.338715,638.39 C462.138715,639.59 461.418715,640.23 460.188715,640.29 C460.058715,640.86 459.798715,642.01 459.658715,642.58 C457.928715,644.49 456.108715,646.32 454.388715,648.24 C453.978715,649.34 453.248715,650.02 452.198715,650.28 C451.568715,652.11 450.098715,653.99 448.048715,654.26 C448.098715,654.76 448.198715,655.77 448.258715,656.28 C447.698715,656.21 446.578715,656.09 446.028715,656.03 C446.054965,656.24 446.091059,656.530156 446.129613,656.840879 L446.207817,657.47209 C446.246371,657.78375 446.282465,658.07625 446.308715,658.29 C445.738715,658.22 444.608715,658.09 444.038715,658.02 C444.098715,658.58 444.218715,659.68 444.278715,660.23 C444.091215,660.215 443.83059,660.192969 443.551156,660.168652 L442.983305,660.118379 C442.702934,660.093125 442.439965,660.06875 442.248715,660.05 C442.468715,661.67 441.798715,662.37 440.248715,662.14 C438.928715,665 435.238715,666.53 433.108715,669.04 C432.468715,669.72 431.858715,670.43 431.288715,671.17 C430.218715,671.51 429.158715,671.88 428.118715,672.27 C422.998715,677.06 416.638715,680.2 410.888715,684.18 C410.248715,684.15 408.978715,684.08 408.338715,684.04 C408.228715,685.21 407.578715,686.03 406.408715,686.5 C404.688715,687.8 402.558715,688.06 400.488715,688.25 C398.418715,691.62 394.248715,691.28 391.328715,693.11 C389.738715,693.86 388.018715,694.17 386.288715,694.15 C386.188715,695.52 385.208715,695.91 383.338715,695.34 C378.108715,694.94 373.428715,697.69 368.408715,698.62 C351.878715,700.89 335.088715,702.99 318.378715,700.86 C313.231442,699.625 307.927537,699.46405 302.653806,699.385145 L300.989638,699.361798 C300.712517,699.357975 300.435533,699.354091 300.158715,699.35 C298.418715,699.33 296.698715,699.34 294.988715,699.35 L295.398715,698.16 C290.628715,697.37 285.808715,695.98 281.228715,694.38 C278.728715,693.3 276.428715,691.98 273.718715,691.51 C272.358715,691.71 271.468715,691.29 271.058715,690.26 C270.078715,689.87 269.098715,689.48 268.148715,689.09 C266.738715,687.86 264.848715,687.61 263.108715,687.2 L263.408715,686.27 C262.298715,685.94 261.218715,685.55 260.178715,685.11 C258.588715,683.99 256.708715,683.44 255.028715,682.52 C253.908715,682.04 253.258715,681.26 253.088715,680.17 C251.308715,680.31 249.668715,679.92 249.008715,678.1 C248.558715,678.11 247.648715,678.13 247.188715,678.14 C247.238715,677.65 247.338715,676.67 247.388715,676.18 C245.578715,676.27 243.878715,676.06 243.008715,674.3 C241.618715,674.29 241.008715,673.6 241.198715,672.21 C238.028715,671.58 234.588715,668.69 233.118715,666.04 C232.628715,666.09 231.628715,666.19 231.128715,666.24 C231.198715,665.74 231.338715,664.74 231.408715,664.24 C225.638715,662.57 222.198715,656.43 217.828715,652.47 C216.248715,651.41 215.118715,649.99 215.188715,648.02 C214.688715,648.09 213.688715,648.23 213.188715,648.3 C213.238715,647.8 213.338715,646.8 213.388715,646.3 C210.718715,644.89 207.958715,641.43 207.218715,638.33 C206.148715,638.295 205.661215,637.57 205.202465,636.78125 L205.006004,636.441137 C204.610144,635.760408 204.177286,635.098571 203.358715,634.85 C203.358715,634.2 203.348715,632.89 203.348715,632.23 C201.778715,632.43 201.058715,631.76 201.188715,630.22 C200.708715,629.92 199.768715,629.31 199.288715,629 C199.298715,628.34 199.328715,627 199.338715,626.34 C196.801745,624.743939 195.634638,622.10348 194.584703,619.434317 L194.312642,618.73803 C193.95124,617.81056 193.590836,616.890303 193.178715,616.02 L192.258715,616.3 L192.09209,615.594258 C191.730093,614.063378 191.336048,612.534 190.408715,611.26 C189.948715,610.23 189.498715,609.21 189.048715,608.2 C187.348715,606.21 187.918715,603.31 186.418715,601.26 C185.948715,600.23 185.498715,599.21 185.058715,598.2 C183.658715,596.95 184.168715,594.96 184.108715,593.34 C184.528715,585.87 179.758715,579.24 180.088715,571.74 C180.658715,559.01 175.868715,546.26 179.418715,533.68 C180.156897,529.581818 180.214748,525.410744 180.17725,521.24151 L180.157047,519.455026 C180.134417,517.669091 180.109624,515.885455 180.128715,514.11 C179.408715,511.811143 180.056127,509.885216 180.807295,507.984001 L181.185675,507.03384 C181.769515,505.554 182.288715,504.054 182.148715,502.37 C184.088715,501.87 183.178715,499.15 183.858715,497.72 C183.608715,496.2 184.138715,495.31 185.448715,495.05 C185.378715,494.38 185.258715,493.05 185.188715,492.38 C187.360715,492.11 187.642715,490.1408 187.754075,488.0492 L187.784083,487.419625 C187.837591,486.229448 187.891515,485.0506 188.258715,484.17 C189.228715,483.19 190.188715,482.22 191.168715,481.25 C191.538715,478.12 192.308715,474.98 195.178715,473.23 C195.508715,471.61 195.848715,470 196.208715,468.4 C197.218715,467.46 198.208715,466.47 199.198715,465.5 C199.528715,464.33 199.878715,463.16 200.238715,462.01 C201.218715,461.14 202.198715,460.26 203.188715,459.4 C203.538715,458.26 203.898715,457.14 204.268715,456.03 C205.488715,454.98 206.648715,453.86 207.648715,452.59 C207.798715,452.05 208.118715,450.97 208.268715,450.43 C209.018715,449.8 209.728715,449.14 210.408715,448.43 C211.798715,446.62 213.408715,444.95 215.008715,443.28 C215.318715,442.02 216.048715,441.31 217.198715,441.17 C217.208715,439.79 217.908715,439.12 219.308715,439.16 C219.588715,438.14 219.858715,437.13 220.138715,436.12 C221.188715,435.84 222.248715,435.57 223.318715,435.31 C223.578715,434.24 223.848715,433.18 224.128715,432.14 C225.128715,431.85 226.138715,431.58 227.158715,431.31 C227.168715,430.01 227.798715,429.26 229.058715,429.05 C231.428715,426.71 234.068715,424.65 236.388715,422.25 C237.278715,421.87 238.188715,421.5 239.108715,421.15 C243.478715,416.46 249.148715,413.65 254.368715,410.25 C255.358715,409.87 256.368715,409.51 257.388715,409.18 L257.198715,408.28 C260.008715,407.76 262.668715,406.56 264.428715,404.22 C266.458715,404.06 268.538715,403.66 270.188715,402.37 C271.118715,401.94 272.058715,401.51 272.998715,401.09 C273.658715,400.28 274.548715,399.87 275.668715,399.85 C277.248715,399.48 279.028715,399.43 280.378715,398.39 C280.908715,398.15 281.958715,397.68 282.488715,397.44 C285.158715,394.81 290.338715,396.93 292.378715,394.14 C293.528715,394.17 294.648715,393.99 295.728715,393.6 C296.788715,393.41 297.688715,392.93 298.438715,392.18 C300.318715,392.1 302.198715,392.09 304.098715,392.15 C322.308715,392.19 340.528715,391.91 358.738715,392.19 Z M399.798715,469.25 C378.078715,469.48 356.358715,469.26 334.638715,469.35 C331.018715,469.55 329.868715,473.6 328.288715,476.21 C327.838715,478.46 327.438715,480.73 327.138715,483.02 L326.959418,483.16166 L326.959418,483.16166 L326.522074,483.506387 C326.130277,483.814687 325.697465,484.15375 325.428715,484.36 C325.118715,487.34 323.228715,489.85 323.038715,492.89 C320.738715,495.83 319.838715,499.5 319.118715,503.09 C315.618715,507.62 315.908715,513.76 312.288715,518.25 C311.958715,520.47 311.558715,522.68 311.068715,524.89 C308.708715,527.79 307.858715,531.51 307.118715,535.1 C305.527336,537.135172 304.719666,539.507943 303.984963,541.912935 L303.648462,543.024107 C302.863305,545.616992 302.035956,548.192759 300.278715,550.37 C299.898715,552.6 299.518715,554.84 299.148715,557.08 C298.738715,557.46 297.898715,558.22 297.478715,558.6 C297.378715,559.16 297.168715,560.29 297.068715,560.86 C295.148715,563.2 294.498715,567.04 295.748715,569.68 C297.813715,570.401875 300.054809,570.335156 302.317077,570.225132 L303.287465,570.1775 C305.876215,570.055 308.463715,570.015 310.818715,571.17 C316.968715,571.8 323.308715,570.45 329.348715,572.22 C329.298715,573.24 329.268715,574.26 329.258715,575.3 C328.768715,575.6 327.788715,576.21 327.298715,576.51 C327.278715,578.08 327.268715,579.68 327.278715,581.27 C326.788715,581.58 325.828715,582.2 325.348715,582.51 C325.298715,583.13 325.188715,584.35 325.128715,584.96 C323.428715,586.59 323.128715,588.87 323.188715,591.12 C322.198715,592.8 321.248715,594.51 320.288715,596.22 C319.798715,598.47 319.378715,600.75 319.138715,603.06 C318.758715,603.45 318.008715,604.22 317.628715,604.6 C316.638715,607.39 315.528715,610.15 315.148715,613.12 C312.668715,615.88 311.828715,619.56 311.138715,623.1 C308.988715,626.09 307.708715,629.55 307.158715,633.18 C304.968715,635.99 303.838715,639.42 303.098715,642.87 C302.068715,643.97 301.048715,645.09 300.028715,646.21 C300.078715,647.7 300.148715,649.19 300.238715,650.71 C304.278715,649.27 306.968715,645.61 308.818715,641.92 C315.008715,635.34 320.058715,627.8 326.638715,621.56 C330.228715,614.78 337.058715,610.62 341.048715,604.15 C344.488715,599.25 349.938715,595.87 352.508715,590.41 C355.048715,587.02 358.778715,584.54 360.538715,580.59 C361.253298,579.775417 361.997396,578.977326 362.749848,578.182256 L364.108715,576.751481 C366.524271,574.203333 368.895382,571.603333 370.528715,568.51 C379.248715,559.14 385.938715,548.09 395.128715,539.13 C396.828715,537.64 396.428715,534.75 393.778715,535.21 C382.368715,535.64 370.798715,535.02 359.818715,533.6 C358.178715,532.37 360.018715,530.07 360.328715,528.54 C363.708715,525.79 366.718715,522.2 368.358715,518.13 C369.528715,516.99 370.728715,515.89 371.958715,514.8 C372.038715,514.25 372.208715,513.15 372.288715,512.61 C375.178715,510.64 376.978715,507.51 378.508715,504.46 C383.748715,498.16 388.248715,491.3 392.408715,484.32 C395.878715,480.67 398.148715,476.05 402.008715,472.73 C402.538715,471.08 402.128715,468.58 399.798715,469.25 Z M327.138715,853.17 C327.505692,853.192326 327.889413,853.194986 328.280967,853.191838 L328.674802,853.187266 C330.983555,853.155289 333.457785,853.082791 334.328715,855.72 C334.228715,856.14 334.038715,857 333.938715,857.42 L335.448715,857 C335.798715,859.07 336.088715,861.17 336.308715,863.29 C336.698715,863.58 337.478715,864.15 337.868715,864.44 C339.328715,869.27 340.408715,874.25 340.148715,879.34 L341.198715,879.08 C341.398715,882.53 342.188715,885.84 342.208715,889.34 L343.328715,889.09 C343.318715,891.87 343.318715,894.67 343.418715,897.48 C343.788715,901.95 344.138715,906.43 344.318715,910.93 C345.295956,913.408966 345.475421,916.078835 345.593076,918.769353 L345.64567,920.011978 C345.770653,922.911962 345.955267,925.805517 347.118715,928.48 C347.508715,936.55 347.348715,944.64 347.438715,952.73 C347.538715,954.25 347.678715,955.79 347.858715,957.34 C350.758715,957.38 353.658715,957.46 356.568715,957.53 C355.257904,959.469189 353.11163,959.678101 350.95351,959.757701 L350.435755,959.775142 C349.573857,959.802805 348.720607,959.83027 347.928715,959.96 C347.860652,967.694427 347.834703,975.428854 347.831917,983.160912 C347.837019,975.761947 347.863586,968.360974 347.928715,960.96 C348.720607,960.83027 349.573857,960.802805 350.435755,960.775142 L350.95351,960.757701 C353.11163,960.678101 355.257904,960.469189 356.568715,958.53 C361.418715,958.3 366.268715,958.33 371.118715,958.23 C371.234965,958.11 371.394809,957.943594 371.565024,957.765059 L371.909438,957.401973 C372.078715,957.2225 372.236215,957.05375 372.348715,956.93 C372.548715,957.29 372.928715,958.01 373.128715,958.37 C373.528715,957.94 373.948715,957.53 374.388715,957.14 C389.968715,957.85 405.388715,955.77 420.698715,953.17 C430.938715,953.6 440.578715,949.3 450.738715,948.83 C452.256362,948.474412 453.775333,948.122872 455.294885,947.772846 L458.334545,947.07406 L458.334545,947.07406 L461.374437,946.374805 C475.052495,943.220337 488.697539,939.914706 501.768715,934.61 C502.598239,934.189048 503.435427,934.431066 504.27079,934.738231 L504.656179,934.882449 C505.041368,935.026939 505.425858,935.165714 505.808715,935.24 C500.468715,943.14 496.098715,951.62 490.598715,959.41 C488.605382,963.636275 484.985074,966.287555 481.221771,968.801445 L480.351453,969.379789 C480.206202,969.475991 480.060909,969.572154 479.915657,969.668358 L479.045323,970.246747 C476.150384,972.180757 473.339695,974.197059 471.288715,976.95 C471.098715,976.94 470.708715,976.91 470.508715,976.9 C470.223672,976.922717 469.939594,976.950009 469.656434,976.981651 C467.689106,979.144767 464.918991,980.162719 461.938715,980.31 C461.708715,980.76 461.228715,981.67 460.988715,982.12 C460.238715,982.1 458.728715,982.06 457.978715,982.05 L458.448715,983.28 C451.228715,983.58 445.488715,989.26 438.008715,988.16 L438.398715,989.18 C433.158715,991.13 427.658715,992.41 422.028715,992.14 L422.418715,993.31 C421.768715,993.36 420.468715,993.46 419.808715,993.51 C417.898715,993.98 415.948715,994.14 413.998715,994.19 L414.448715,995.24 C404.848715,995.19 395.648715,998.3 386.078715,998.14 L386.358715,999.3 C374.948715,999.71 363.538715,1000.38 352.098715,1000.18 C351.018715,1001.21 349.948715,1002.24 348.908715,1003.32 L348.068715,1003.08 C348.008715,1012.54 348.388715,1022.01 347.778715,1031.46 L347.777,1031.469 L347.778715,1031.46 C355.248715,1032.76 363.168715,1031.98 370.508715,1030.4 C373.368715,1030.05 376.238715,1029.67 379.068715,1029.04 C385.448715,1027.33 392.478715,1027.76 398.468715,1024.37 C401.338715,1024 404.198715,1023.57 407.068715,1023.12 C408.778715,1022.14 410.528715,1021.21 412.288715,1020.28 C414.518715,1019.91 416.748715,1019.5 418.988715,1019.08 C421.948715,1017.06 425.378715,1015.97 428.648715,1014.59 C429.868715,1013.84 431.108715,1013.13 432.368715,1012.43 C434.518715,1011.85 436.708715,1011.25 438.618715,1010.04 C441.542388,1011.00571 443.688986,1009.84292 445.792029,1008.51463 L446.276907,1008.20606 L446.762243,1007.89698 C448.301976,1006.92306 449.878715,1006.02204 451.778715,1005.96 C430.938715,1028.23 413.748715,1053.92 399.428715,1080.72 C385.918715,1109.56 373.868715,1140.35 375.258715,1172.7 C375.538715,1190.37 375.128715,1208.05 375.438715,1225.72 C377.158715,1232.31 378.398715,1239 379.498715,1245.72 C382.878715,1260.05 388.498715,1273.65 394.198715,1287.23 C395.974271,1290.03889 397.660937,1292.91593 399.327522,1295.8103 L400.325613,1297.5486 C405.807915,1307.11622 411.221382,1316.762 419.038715,1324.66 C421.415736,1331.96894 426.897782,1337.80707 432.377186,1343.32128 L433.24188,1344.18942 C434.249607,1345.1995 435.251694,1346.20064 436.228715,1347.2 C440.188715,1351.24 446.018715,1355.47 445.208715,1361.86 C440.598715,1357.36 434.828715,1353.79 428.168715,1355.24 C427.888715,1356.11 427.628715,1357.02 427.388715,1357.95 C423.758715,1359.054 420.049515,1358.9448 416.338875,1358.7888 L415.102048,1358.73667 C413.040937,1358.65222 410.982048,1358.59333 408.938715,1358.76 C408.688715,1358.61 408.188715,1358.31 407.928715,1358.15 C407.902465,1358.3225 407.864965,1358.55969 407.824652,1358.81252 L407.742777,1359.32451 C407.702465,1359.57641 407.664965,1359.81125 407.638715,1359.98 C400.478715,1358.41 393.038715,1360.08 385.848715,1358.47 C385.118715,1358.78 384.408715,1359.12 383.708715,1359.48 C383.118715,1359 382.558715,1358.54 381.998715,1358.1 C381.888715,1358.66 381.648715,1359.77 381.528715,1360.33 C380.838715,1359.9 380.188715,1359.49 379.528715,1359.09 L379.178715,1360.11 C373.428715,1358.55 367.428715,1359.32 361.798715,1361.04 C361.688715,1360.51 361.468715,1359.44 361.358715,1358.9 C360.938715,1359.68 360.538715,1360.48 360.148715,1361.3 C359.598715,1361.44 358.518715,1361.71 357.968715,1361.84 C358.448715,1361.04 358.938715,1360.27 359.438715,1359.51 C358.218715,1360.06 357.028715,1360.64 355.838715,1361.23 C355.748715,1360.68 355.568715,1359.58 355.478715,1359.03 C354.498715,1360.55 353.358715,1361.98 351.718715,1362.83 C352.218715,1361.71 352.768715,1360.64 353.318715,1359.57 C352.838715,1359.73 351.858715,1360.03 351.368715,1360.18 C350.918715,1360.94 350.488715,1361.73 350.068715,1362.54 C349.758715,1361.27 349.468715,1360.04 349.188715,1358.82 C348.878715,1360.01 348.588715,1361.22 348.308715,1362.45 C347.538715,1362.18 346.778715,1361.93 346.038715,1361.71 C346.488715,1360.96 346.948715,1360.22 347.418715,1359.5 C346.228715,1360.05 345.048715,1360.63 343.878715,1361.22 C343.778715,1360.67 343.568715,1359.58 343.468715,1359.04 C342.508715,1360.56 341.398715,1362.02 339.708715,1362.79 C340.218715,1361.69 340.768715,1360.62 341.338715,1359.58 C340.838715,1359.73 339.838715,1360.03 339.338715,1360.18 C338.868715,1360.97 338.418715,1361.77 337.988715,1362.6 C337.748715,1361.29 337.518715,1360 337.298715,1358.73 C336.958715,1359.95 336.608715,1361.17 336.288715,1362.44 C335.528715,1362.18 334.788715,1361.94 334.048715,1361.72 C334.498715,1360.96 334.948715,1360.22 335.408715,1359.49 C334.218715,1360.04 333.058715,1360.63 331.888715,1361.22 C331.758715,1360.64 331.488715,1359.5 331.358715,1358.93 C330.818715,1359.88 330.278715,1360.85 329.768715,1361.86 C329.248715,1362.03 328.198715,1362.37 327.668715,1362.54 C328.228715,1361.53 328.798715,1360.55 329.388715,1359.58 C328.878715,1359.73 327.878715,1360.03 327.368715,1360.18 C326.918715,1360.94 326.478715,1361.73 326.048715,1362.54 C325.768715,1361.28 325.508715,1360.04 325.248715,1358.82 C324.908715,1360.01 324.578715,1361.2 324.268715,1362.45 C323.518715,1362.17 322.778715,1361.92 322.058715,1361.7 C322.498715,1360.95 322.938715,1360.21 323.398715,1359.5 C322.218715,1360.05 321.058715,1360.63 319.898715,1361.21 C319.758715,1360.64 319.488715,1359.5 319.348715,1358.93 C318.808715,1359.88 318.278715,1360.86 317.778715,1361.87 C317.579965,1361.93 317.306684,1362.01531 317.01477,1362.10748 L316.42266,1362.29549 C316.130746,1362.38859 315.857465,1362.47625 315.658715,1362.54 C316.218715,1361.53 316.798715,1360.55 317.388715,1359.59 C317.197465,1359.64625 316.934496,1359.72219 316.653598,1359.80252 L316.083832,1359.96451 C315.802934,1360.04391 315.539965,1360.1175 315.348715,1360.17 C314.908715,1360.94 314.478715,1361.74 314.058715,1362.56 C313.748715,1361.27 313.478715,1360.04 313.198715,1358.8 C312.888715,1360 312.598715,1361.21 312.318715,1362.44 C311.538715,1362.18 310.778715,1361.93 310.038715,1361.72 C310.488715,1360.96 310.948715,1360.21 311.428715,1359.49 C310.238715,1360.04 309.068715,1360.62 307.908715,1361.21 C307.658715,1360.42 307.418715,1359.66 307.208715,1358.92 C306.728715,1359.89 306.258715,1360.88 305.808715,1361.9 C305.278715,1362.05 304.198715,1362.36 303.658715,1362.52 C304.228715,1361.52 304.798715,1360.54 305.388715,1359.58 C304.878715,1359.73 303.858715,1360.02 303.348715,1360.17 C302.898715,1360.95 302.458715,1361.75 302.028715,1362.57 C301.758715,1361.29 301.508715,1360.02 301.268715,1358.78 C300.928715,1359.99 300.588715,1361.19 300.278715,1362.45 C299.518715,1362.18 298.778715,1361.93 298.048715,1361.71 C298.498715,1360.95 298.948715,1360.21 299.418715,1359.49 C298.228715,1360.04 297.068715,1360.62 295.898715,1361.22 C295.658715,1360.43 295.418715,1359.67 295.208715,1358.93 C294.728715,1359.9 294.258715,1360.88 293.798715,1361.88 C293.268715,1362.04 292.198715,1362.36 291.668715,1362.52 C292.228715,1361.52 292.798715,1360.54 293.378715,1359.58 C292.878715,1359.73 291.858715,1360.02 291.348715,1360.17 C290.898715,1360.95 290.458715,1361.76 290.028715,1362.58 C289.768715,1361.3 289.518715,1360.03 289.278715,1358.78 C288.938715,1359.99 288.588715,1361.19 288.278715,1362.45 C287.518715,1362.18 286.778715,1361.93 286.048715,1361.71 C286.498715,1360.95 286.948715,1360.21 287.418715,1359.49 C286.228715,1360.04 285.058715,1360.63 283.888715,1361.23 C283.758715,1360.65 283.478715,1359.5 283.348715,1358.93 C282.808715,1359.89 282.288715,1360.86 281.778715,1361.88 C281.248715,1362.04 280.188715,1362.37 279.658715,1362.53 C280.228715,1361.53 280.798715,1360.55 281.388715,1359.6 C281.197465,1359.6525 280.93309,1359.72469 280.650434,1359.80232 L280.076996,1359.96064 C279.79434,1360.03922 279.529965,1360.11375 279.338715,1360.17 C278.888715,1360.95 278.458715,1361.77 278.028715,1362.6 C277.855382,1361.74667 277.686493,1360.89778 277.522048,1360.05926 L277.278,1358.811 L277.018246,1359.705 C276.759965,1360.60312 276.508715,1361.5125 276.268715,1362.45 C275.518715,1362.18 274.778715,1361.93 274.048715,1361.7 C274.488715,1360.95 274.948715,1360.21 275.408715,1359.5 C274.228715,1360.05 273.068715,1360.63 271.918715,1361.21 C271.668715,1360.41 271.428715,1359.64 271.208715,1358.89 C270.728715,1359.87 270.258715,1360.86 269.798715,1361.88 C269.258715,1362.04 268.198715,1362.37 267.668715,1362.53 C268.228715,1361.53 268.798715,1360.55 269.378715,1359.59 C269.187465,1359.64625 268.925902,1359.72219 268.646762,1359.80252 L268.080668,1359.96451 C267.801527,1360.04391 267.539965,1360.1175 267.348715,1360.17 C266.898715,1360.95 266.468715,1361.74 266.058715,1362.57 C265.748715,1361.28 265.468715,1360.05 265.188715,1358.82 C264.878715,1360.01 264.588715,1361.22 264.308715,1362.45 C263.548715,1362.18 262.798715,1361.93 262.058715,1361.71 C262.498715,1360.95 262.948715,1360.22 263.398715,1359.5 C262.208715,1360.05 261.028715,1360.64 259.858715,1361.23 C259.758715,1360.68 259.568715,1359.58 259.468715,1359.03 C258.508715,1360.55 257.378715,1361.99 255.718715,1362.81 C256.228715,1361.7 256.768715,1360.63 257.328715,1359.57 C256.838715,1359.72 255.848715,1360.03 255.348715,1360.18 C254.888715,1360.96 254.438715,1361.76 254.008715,1362.59 C253.748715,1361.3 253.508715,1360.03 253.268715,1358.79 C252.928715,1359.99 252.598715,1361.19 252.278715,1362.44 C251.528715,1362.18 250.778715,1361.94 250.048715,1361.73 C250.488715,1360.96 250.948715,1360.22 251.418715,1359.49 C250.218715,1360.05 249.048715,1360.63 247.878715,1361.23 C247.738715,1360.65 247.478715,1359.5 247.348715,1358.92 C246.808715,1359.88 246.288715,1360.86 245.778715,1361.88 C245.248715,1362.04 244.188715,1362.36 243.658715,1362.52 C244.218715,1361.52 244.798715,1360.54 245.388715,1359.58 C244.888715,1359.73 243.888715,1360.03 243.388715,1360.18 C242.868715,1360.99 242.348715,1361.81 241.848715,1362.66 C241.948715,1360.84 242.068715,1359.05 242.188715,1357.26 C237.548715,1357.18 232.908715,1357.17 228.268715,1357.26 C228.348715,1359.08 228.408715,1360.89 228.488715,1362.74 C227.318715,1359.98 223.698715,1356.35 226.718715,1353.71 C235.288715,1345.88 240.628715,1335.18 244.708715,1324.47 C250.499934,1316.13829 254.336984,1306.80851 258.057663,1297.433 L258.853841,1295.42361 C260.312689,1291.73972 261.773837,1288.05927 263.348715,1284.44 L263.841852,1283.09014 L264.829046,1280.39078 C269.76293,1266.89364 274.61417,1253.37545 277.068715,1239.13 C279.528715,1233.55 280.748715,1227.55 280.138715,1221.45 C280.558715,1221.37 281.388715,1221.21 281.808715,1221.13 C281.978715,1219.07 282.028715,1216.99 282.608715,1215.02 C285.948715,1207.26 282.228715,1198.42 285.938715,1190.73 C285.888715,1178.4 287.608715,1165.67 284.168715,1153.72 C284.911215,1147.20318 283.37559,1141.00267 281.830894,1134.78803 L281.488401,1133.40663 C280.636406,1129.95189 279.833488,1126.48523 279.468715,1122.95 C271.748715,1097.74 262.118715,1072.92 247.618715,1050.88 C239.478715,1034.31 226.578715,1020.8 215.708715,1006.08 C216.388715,1006.09 217.758715,1006.12 218.438715,1006.13 C231.349901,1015.37678 246.419031,1020.43533 261.489706,1025.11133 L263.455278,1025.71938 C267.058192,1026.83132 270.655834,1027.93085 274.218715,1029.07 C278.252758,1029.45936 282.247076,1030.22763 286.236779,1031.04257 L289.428222,1031.69819 L290.918012,1032.00032 C297.872026,1033.39522 304.853708,1034.5374 312.048715,1033.67 L312.049,1033.683 L312.048715,1033.67 C314.808715,1027.37 312.718715,1020.34 313.328715,1013.71 C313.241738,1012.91953 313.282371,1012.06297 313.337949,1011.19222 L313.369069,1010.71616 C313.525308,1008.33196 313.640343,1005.91233 311.428715,1004.51 C311.378715,1003.72 311.338715,1002.95 311.308715,1002.2 C310.548715,1001.5 309.818715,1000.81 309.088715,1000.14 C299.698715,1000.43 290.348715,999.42 280.978715,999.33 L281.458715,998.15 C280.878715,998.14 279.708715,998.11 279.128715,998.1 C280.298715,993.33 285.858715,995.98 288.998715,996.94 C296.488715,998.26 304.218715,997.56 311.798715,997.53 L311.754,995.529 L310.850462,995.537045 C303.574965,995.614826 296.176632,996.205 288.998715,994.94 C285.858715,993.98 280.298715,991.33 279.128715,996.1 C270.728715,995.18 262.458715,993.14 253.938715,993.29 L254.428715,992.02 C253.018715,992.08 251.618715,992.15 250.228715,992.24 L250.138715,991.18 C248.738715,991.24 247.368715,991.33 245.998715,991.43 L246.388715,990.16 C244.478715,990.09 242.568715,989.99 240.678715,989.87 C238.768715,989.49 236.838715,989.32 234.908715,989.23 L235.548715,988.24 C234.218715,988.02 232.908715,987.83 231.618715,987.64 C230.188715,987.77 229.298715,987.25 228.968715,986.07 C227.948715,986.06 226.948715,986.07 225.958715,986.1 C221.748715,981.4 214.088715,982.05 208.858715,978.58 C198.528715,975.57 189.998715,968.9 181.308715,962.87 C181.298715,962.22 181.288715,960.91 181.288715,960.26 C179.608715,959.89 177.948715,959.53 176.288715,959.18 C171.968715,949.74 166.078715,941.17 161.598715,931.81 C168.234271,933.134444 174.719703,935.021852 181.196356,936.930549 L184.434605,937.884163 C191.452062,939.943306 198.486863,941.921481 205.718715,943.13 C215.818715,946.34 226.528715,946.41 236.688715,949.43 C238.497946,949.634615 240.315461,949.812249 242.136453,949.982126 L243.958426,950.150129 C244.262222,950.177937 244.56607,950.205706 244.869948,950.233528 L246.693397,950.401786 C255.202831,951.196529 263.700766,952.171282 271.698715,955.28 C279.837845,953.362609 288.057789,954.005709 296.286424,954.71002 L298.755203,954.92065 C302.321385,955.220326 305.887845,955.484565 309.448715,955.51 C309.745211,956.047049 310.080044,956.582534 310.403755,957.127177 C311.096731,956.795732 311.742078,956.368925 312.37934,955.927969 L312.991886,955.501545 C313.093993,955.430625 313.196215,955.36 313.298715,955.29 C313.758715,948.76 313.838715,942.21 314.358715,935.69 C314.436715,934.8138 314.664787,933.863916 314.897753,932.895537 L315.005095,932.44748 C315.627115,929.8285 316.122715,927.137 313.658715,925.45 C313.568715,925.06 313.378715,924.28 313.288715,923.9 C314.325515,921.4376 314.252939,918.788576 314.157139,916.158214 L314.125835,915.2824 C314.101515,914.5536 314.084715,913.828 314.098715,913.11 L315.318715,913.32 C315.238715,909.42 315.348715,905.52 315.428715,901.64 L316.038715,900.86 C315.508715,895.99 316.928715,891.36 317.558715,886.61 C317.838715,885.19 318.108715,883.79 318.428715,882.41 C320.088715,876.93 319.278715,870.82 322.188715,865.63 C322.088715,865.24 321.898715,864.46 321.798715,864.07 L323.208715,864.29 C323.338715,862.72 323.448715,861.15 323.608715,859.61 C323.843715,859.1625 324.059965,858.6825 324.286996,858.205312 L324.484924,857.797807 C325.124417,856.51477 325.905501,855.326786 327.418715,854.94 C327.348715,854.5 327.208715,853.61 327.138715,853.17 Z M311.809711,962.537783 L311.838715,961.7 C311.621486,967.264034 311.545627,972.830505 311.555784,978.39821 C311.565821,973.497487 311.647497,968.597799 311.838715,963.7 C311.875847,963.299991 311.862557,962.913371 311.809711,962.537783 Z M87.848715,735.4 C88.508715,735.3 89.188715,735.21 89.868715,735.14 C89.828715,736.53 90.288715,737.68 91.258715,738.59 C91.5461224,740.465556 91.7229125,742.349012 91.8887124,744.229705 L92.0125584,745.63954 C92.3664379,749.63166 92.7831594,753.599259 94.218715,757.44 L95.158715,757.08 C95.398715,758.25 95.668715,759.43 95.958715,760.62 C95.758715,765.31 96.298715,769.98 98.378715,774.26 L99.258715,774.03 C99.728715,777.58 100.098715,781.15 100.258715,784.75 C101.538715,786.01 102.128715,787.66 102.338715,789.44 L103.358715,788.99 C103.368715,789.63 103.368715,790.91 103.378715,791.55 C103.528715,794.46 103.938715,797.35 104.158715,800.26 L105.318715,800.09 C105.348715,800.76 105.398715,802.12 105.418715,802.8 C105.591215,802.92375 105.828402,803.093906 106.081762,803.276191 L106.595668,803.646777 C106.849027,803.83 107.086215,804.0025 107.258715,804.13 C107.798715,807.64 107.268715,811.57 109.158715,814.74 C109.148715,815.36 109.158715,816 109.188715,816.67 C107.968715,820.75 104.308715,823.31 102.998715,827.29 C101.828715,828.39 100.638715,829.49 99.448715,830.58 C99.398715,831.21 99.308715,832.49 99.258715,833.12 C97.428715,834.7 95.838715,836.55 94.978715,838.85 C93.298715,840.57 91.788715,842.45 90.428715,844.43 C89.198715,846.53 88.068715,848.68 87.028715,850.89 C84.428715,852.496061 83.03349,855.108549 81.652067,857.7502 L81.2368631,858.542593 C80.4720483,859.993333 79.6753817,861.423333 78.648715,862.67 C77.868715,863.29 77.068715,863.89 76.258715,864.49 C76.218715,864.67 76.148715,865.02 76.108715,865.19 C71.448715,868.13 69.078715,873.72 67.378715,878.7 C67.4120483,890.253333 67.5276039,901.806667 67.6550113,913.360741 L67.8090854,927.226033 C68.0100928,945.713689 68.1693817,964.204 67.998715,982.7 C69.0849219,986.175862 69.1853024,989.742616 69.2044348,993.326005 L69.2102973,994.862545 C69.2236496,998.192985 69.2783702,1001.52862 70.098715,1004.81 C56.808715,1028.25 46.388715,1053.73 33.518715,1077.59 C32.578715,1077.42 31.658715,1077.25 30.748715,1077.09 C30.4590062,1076.94015 29.8898593,1076.6406 29.5995893,1076.49045 L29.598715,1076.49 C28.508715,1075.94 27.428715,1075.42 26.358715,1074.94 C23.492628,1072.49826 20.1474484,1070.73887 16.774285,1069.06595 L15.508918,1068.44149 C14.4548208,1067.92255 13.4034976,1067.40478 12.368715,1066.87 C8.47871499,1063.92 4.30871499,1061.33 0.108714986,1058.88 C0.0587149864,986.72 -0.161285014,914.56 0.218714986,842.41 C6.10871499,835.67 9.63871499,827.11 15.898715,820.68 C15.988715,820.07 16.178715,818.86 16.268715,818.25 C17.488715,817.09 18.708715,815.93 19.938715,814.79 C20.038715,814.22 20.228715,813.07 20.328715,812.49 C22.238715,810.85 23.838715,808.88 24.528715,806.43 C39.898715,785.6 54.558715,764.04 68.498715,742.24 C69.608715,741.05 70.748715,739.89 71.908715,738.75 C72.018715,738.19 72.228715,737.05 72.338715,736.49 C74.238715,734.85 75.838715,732.88 76.528715,730.43 C79.818715,727.23 81.938715,723.14 84.708715,719.52 C85.468715,721.22 85.898715,723.4 88.018715,723.95 C88.0117919,724.829231 88.024573,725.709527 88.0424337,726.590396 L88.0805948,728.352754 C88.1289517,730.703195 88.1440996,733.055385 87.848715,735.4 L88.0753118,736.50611 L88.0753118,736.50611 L87.848715,735.4 L87.848715,735.4 Z M580.518715,734.88 C581.118715,735.25 582.318715,735.98 582.918715,736.35 C587.038715,743.54 592.448715,749.95 596.478715,757.16 C604.498715,767.15 610.688715,778.57 618.898715,788.43 C619.608715,790.8 621.138715,792.74 622.858715,794.48 C632.138715,809.07 642.308715,823.22 651.798715,837.73 C653.063001,840.172857 654.975246,842.125918 656.934138,844.03379 L658.11026,845.176647 C658.50096,845.558163 658.888715,845.941429 659.268715,846.33 C659.548715,850.78 659.678715,855.24 659.648715,859.71 C659.538715,928.14 659.778715,996.57 659.368715,1064.99 C655.768715,1066.62 652.138715,1068.31 649.098715,1070.89 C643.928715,1073.39 638.648715,1075.92 634.228715,1079.63 L634.227,1079.63 L633.949208,1079.90706 C631.781527,1081.99891 629.047882,1083.34417 626.038715,1083.67 C613.648715,1059.27 602.448715,1034.01 589.418715,1009.71 C590.17559,1006.0875 590.185981,1002.41332 590.163354,998.743567 L590.153715,997.17125 C590.133715,992.98 590.203715,988.805 591.428715,984.73 C591.078715,950.02 592.088715,915.32 592.018715,880.62 C590.418715,879.41 588.828715,878.2 587.308715,876.95 C587.198715,876.78 586.968715,876.43 586.858715,876.26 C584.148715,872.39 581.448715,868.53 578.948715,864.55 C576.688715,863.09 575.678715,860.64 575.008715,858.16 C573.318715,856.53 571.828715,854.71 570.978715,852.52 C568.718715,851.14 567.448715,848.87 567.038715,846.32 C565.358715,844.61 563.838715,842.74 562.988715,840.5 C562.238715,839.88 561.508715,839.26 560.788715,838.66 C558.508715,835.39 556.818715,831.72 554.138715,828.75 C553.868715,824.49 556.018715,820.61 556.348715,816.42 C557.298715,814.63 558.218715,812.84 559.158715,811.05 C559.388715,808.22 559.498715,805.26 561.008715,802.77 C563.308715,798.38 562.928715,793.15 565.138715,788.8 C565.798715,786.63 566.118715,784.38 566.238715,782.14 L567.268715,782.3 C567.298715,778.9 567.728715,775.54 568.258715,772.21 C568.648715,771.86 569.428715,771.16 569.818715,770.81 C570.458715,760.96 575.508715,752 575.418715,742.19 C576.048715,742.21 577.308715,742.25 577.938715,742.27 C578.048715,741.78 578.268715,740.82 578.368715,740.34 C579.048715,738.5 579.788715,736.68 580.518715,734.88 Z"
|
||
id="rokect-color"></path>
|
||
</g>
|
||
</g>
|
||
</g>
|
||
</svg>`,defaultParams={title:"Update",description:"is available",buttonText:"Refresh"},versionTipDialog=t=>{if(document.querySelector("#version-rocket"))return;const V=`
|
||
<div id="version-rocket">
|
||
<div class="version-area">
|
||
${t.primaryColor||t.rocketColor?`<div class="version-img">${setVersionTipTheme(t.primaryColor,t.rocketColor)}</div>`:`<img class="version-img" src="${t.imageUrl||versionBg}" alt="version" />`}
|
||
<div class="version-content">
|
||
<div class="version-title">
|
||
${t.title||defaultParams.title}
|
||
</div>
|
||
<div class="version-subtitle">
|
||
${t.description||(t.newVersion?`V ${t.newVersion} ${defaultParams.description}`:`A new version ${defaultParams.description}`)}
|
||
</div>
|
||
<div style="${t.primaryColor?`background-color: ${t.primaryColor};`:""} ${t.buttonStyle||""}" class="refresh-button">
|
||
${t.buttonText||defaultParams.buttonText}
|
||
</div>
|
||
${t.cancelButtonText?`<div class="cancel-button">
|
||
${t.cancelButtonText}
|
||
</div>`:""}
|
||
</div>
|
||
</div>
|
||
</div>`;let oe=document.createElement("div");oe.innerHTML=V,document.body.appendChild(oe);const ie=document.querySelector("#version-rocket .refresh-button");ie.onclick=()=>{typeof(t==null?void 0:t.onRefresh)=="function"?t.onRefresh({newVersion:t.newVersion,needRefresh:t.needRefresh||!1}):window.location.reload()};const le=document.querySelector("#version-rocket .cancel-button");le&&(le.onclick=()=>{if(typeof(t==null?void 0:t.onCancel)=="function"){t.onCancel({newVersion:t.newVersion,needRefresh:t.needRefresh||!1});return}switch((t==null?void 0:t.cancelMode)||"ignore-current-version"){case"ignore-current-version":localStorage.setItem("version-rocket:cancelled",t.newVersion||"");break;case"ignore-today":localStorage.setItem("version-rocket:cancelled",new Date().toLocaleDateString());break;case"ignore-current-window":sessionStorage.setItem("version-rocket:cancelled","true");break}unCheckVersion({closeDialog:!0,closeWorker:!1})})},createWorker=(t,r)=>{const V=`${(r==null?void 0:r.map(ue=>ue.toString()).join(`;
|
||
|
||
`))||""}`,oe=new Blob([`
|
||
${V};
|
||
(${t.toString()})();
|
||
`]),ie=window.URL.createObjectURL(oe);return new Worker(ie)},createWorkerFunc=()=>{let t="";const r=new Set;let V=5e3,oe=!1,ie="",le=[],ue="one",de=null,pe=!1;const he=self;return he.onmessage=_e=>{t=_e.data["version-key"],V=_e.data["polling-time"],oe=_e.data.immediate,ie=_e.data["origin-version-file-url"],le=_e.data["check-origin-specified-files-url"],ue=_e.data["check-origin-specified-files-url-mode"],pe=_e.data["clear-interval-on-dialog"];const $e=checkVersionTypeFunc(t,ie,le);$e||he.postMessage({invalidParams:!0});const Ie=()=>{if($e==="check-version"&&fetch(`${ie}?${+new Date}`).then(Ve=>Ve.json()).then(Ve=>{t!==Ve.version&&(he.postMessage({refreshPageVisible:!0,refreshPageVersion:`${Ve.version}`,external:Ve.external}),pe&&clearInterval(de))}),$e==="check-specified-files"){if(!(le!=null&&le.length))return;le.forEach(Ve=>{fetch(Ve).then(Fe=>Fe.headers.get("ETag")||Fe.headers.get("Last-Modified")).then(Fe=>{Fe&&r.add(Fe),ue==="one"&&r.size>le.length&&(he.postMessage({refreshPageVisible:!0,refreshPageVersion:"",external:""}),r.clear(),pe&&clearInterval(de)),ue==="all"&&r.size===le.length*2&&(he.postMessage({refreshPageVisible:!0,refreshPageVersion:"",external:""}),r.clear(),pe&&clearInterval(de))})})}};oe&&Ie(),de=setInterval(Ie,V)},he},cancelUpdateFunc=(t,r,V,oe)=>{const ie=t||(r?"ignore-current-version":"ignore-current-window"),le=localStorage.getItem("version-rocket:cancelled")||"",ue=new Date().toLocaleDateString(),de=sessionStorage.getItem("version-rocket:cancelled")||"",pe=V||!1;switch(ie){case"ignore-current-version":if(r&&le===r)return pe&&(oe==null||oe.terminate()),!0;case"ignore-today":if(le===ue)return pe&&(oe==null||oe.terminate()),!0;break;case"ignore-current-window":if(de)return pe&&(oe==null||oe.terminate()),!0;break}return!1};function checkVersionTypeFunc(t,r,V){const oe=t&&r?"check-version":V!=null&&V.length?"check-specified-files":"";return oe?(console.log("You are use check version type is",oe),oe):console.log("Not found localPackageVersion, originVersionFileUrl or originSpecifiedFilesUrl")}let worker;const checkVersion=(t,r)=>{t.enable!==!1&&(worker||(worker=createWorker(createWorkerFunc,[checkVersionTypeFunc])),worker.postMessage({"version-key":t.localPackageVersion||"","polling-time":t.pollingTime||5e3,immediate:t.immediate||!1,"origin-version-file-url":t.originVersionFileUrl||"","check-origin-specified-files-url":[...new Set(t.checkOriginSpecifiedFilesUrl)],"check-origin-specified-files-url-mode":t.checkOriginSpecifiedFilesUrlMode||"one","clear-interval-on-dialog":t.clearIntervalOnDialog||!1}),worker.onmessage=V=>{var oe;if(!cancelUpdateFunc(r==null?void 0:r.cancelMode,(oe=V.data)===null||oe===void 0?void 0:oe.refreshPageVersion,r==null?void 0:r.cancelUpdateAndStopWorker,worker))if(localStorage.removeItem("version-rocket:cancelled"),sessionStorage.removeItem("version-rocket:cancelled"),typeof t.onVersionUpdate=="function")t.onVersionUpdate(V.data);else{const{title:le,description:ue,buttonText:de,cancelButtonText:pe,cancelMode:he,imageUrl:_e,rocketColor:$e,primaryColor:Ie,buttonStyle:Ve}=r||{},{onRefresh:Fe,onCancel:Ue}=t||{};versionTipDialog({title:le,description:ue,buttonText:de,cancelButtonText:pe,cancelMode:he,imageUrl:_e,rocketColor:$e,primaryColor:Ie,buttonStyle:Ve,newVersion:V.data.refreshPageVersion,needRefresh:V.data.refreshPageVersion,onRefresh:Fe,onCancel:Ue})}})},unCheckVersion=({closeDialog:t=!1,closeWorker:r=!0})=>{if(r&&(worker==null||worker.terminate()),t){const V=document.querySelector("#version-rocket"),oe=V==null?void 0:V.parentElement;V&&oe&&oe.removeChild(V)}},FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=t=>getComputedStyle(t).position==="fixed"?!1:t.offsetParent!==null,obtainAllFocusableElements$1=t=>Array.from(t.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(r=>isFocusable(r)&&isVisible(r)),isFocusable=t=>{if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return!(t.type==="hidden"||t.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(t,r,...V){let oe;r.includes("mouse")||r.includes("click")?oe="MouseEvents":r.includes("key")?oe="KeyboardEvent":oe="HTMLEvents";const ie=document.createEvent(oe);return ie.initEvent(r,...V),t.dispatchEvent(ie),t},isLeaf=t=>!t.getAttribute("aria-owns"),getSibling=(t,r,V)=>{const{parentNode:oe}=t;if(!oe)return null;const ie=oe.querySelectorAll(V),le=Array.prototype.indexOf.call(ie,t);return ie[le+r]||null},focusNode=t=>{t&&(t.focus(),!isLeaf(t)&&t.click())},composeEventHandlers=(t,r,{checkForDefaultPrevented:V=!0}={})=>ie=>{const le=t==null?void 0:t(ie);if(V===!1||!le)return r==null?void 0:r(ie)},whenMouse=t=>r=>r.pointerType==="mouse"?t(r):void 0;var isVue2=!1,__defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(t,r,V)=>r in t?__defProp$9(t,r,{enumerable:!0,configurable:!0,writable:!0,value:V}):t[r]=V,__spreadValues$9=(t,r)=>{for(var V in r||(r={}))__hasOwnProp$b.call(r,V)&&__defNormalProp$9(t,V,r[V]);if(__getOwnPropSymbols$b)for(var V of __getOwnPropSymbols$b(r))__propIsEnum$b.call(r,V)&&__defNormalProp$9(t,V,r[V]);return t},__spreadProps$6=(t,r)=>__defProps$6(t,__getOwnPropDescs$6(r));function computedEager(t,r){var V;const oe=shallowRef();return watchEffect(()=>{oe.value=t()},__spreadProps$6(__spreadValues$9({},r),{flush:(V=r==null?void 0:r.flush)!=null?V:"sync"})),readonly(oe)}var _a$1;const isClient$1=typeof window<"u",isDef$1=t=>typeof t<"u",isFunction$4=t=>typeof t=="function",isString$5=t=>typeof t=="string",noop$6=()=>{},isIOS$1=isClient$1&&((_a$1=window==null?void 0:window.navigator)==null?void 0:_a$1.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(t){return typeof t=="function"?t():unref(t)}function createFilterWrapper$1(t,r){function V(...oe){return new Promise((ie,le)=>{Promise.resolve(t(()=>r.apply(this,oe),{fn:r,thisArg:this,args:oe})).then(ie).catch(le)})}return V}function debounceFilter$1(t,r={}){let V,oe,ie=noop$6;const le=de=>{clearTimeout(de),ie(),ie=noop$6};return de=>{const pe=resolveUnref(t),he=resolveUnref(r.maxWait);return V&&le(V),pe<=0||he!==void 0&&he<=0?(oe&&(le(oe),oe=null),Promise.resolve(de())):new Promise((_e,$e)=>{ie=r.rejectOnCancel?$e:_e,he&&!oe&&(oe=setTimeout(()=>{V&&le(V),oe=null,_e(de())},he)),V=setTimeout(()=>{oe&&le(oe),oe=null,_e(de())},pe)})}}function throttleFilter(t,r=!0,V=!0,oe=!1){let ie=0,le,ue=!0,de=noop$6,pe;const he=()=>{le&&(clearTimeout(le),le=void 0,de(),de=noop$6)};return $e=>{const Ie=resolveUnref(t),Ve=Date.now()-ie,Fe=()=>pe=$e();return he(),Ie<=0?(ie=Date.now(),Fe()):(Ve>Ie&&(V||!ue)?(ie=Date.now(),Fe()):r&&(pe=new Promise((Ue,qe)=>{de=oe?qe:Ue,le=setTimeout(()=>{ie=Date.now(),ue=!0,Ue(Fe()),he()},Math.max(0,Ie-Ve))})),!V&&!le&&(le=setTimeout(()=>ue=!0,Ie)),ue=!1,pe)}}function identity$2(t){return t}function tryOnScopeDispose$1(t){return getCurrentScope()?(onScopeDispose(t),!0):!1}function useDebounceFn$1(t,r=200,V={}){return createFilterWrapper$1(debounceFilter$1(r,V),t)}function refDebounced(t,r=200,V={}){const oe=ref(t.value),ie=useDebounceFn$1(()=>{oe.value=t.value},r,V);return watch(t,()=>ie()),oe}function useThrottleFn(t,r=200,V=!1,oe=!0,ie=!1){return createFilterWrapper$1(throttleFilter(r,V,oe,ie),t)}function tryOnMounted$1(t,r=!0){getCurrentInstance()?onMounted(t):r?t():nextTick(t)}function useTimeoutFn$1(t,r,V={}){const{immediate:oe=!0}=V,ie=ref(!1);let le=null;function ue(){le&&(clearTimeout(le),le=null)}function de(){ie.value=!1,ue()}function pe(...he){ue(),ie.value=!0,le=setTimeout(()=>{ie.value=!1,le=null,t(...he)},resolveUnref(r))}return oe&&(ie.value=!0,isClient$1&&pe()),tryOnScopeDispose$1(de),{isPending:readonly(ie),start:pe,stop:de}}function unrefElement$1(t){var r;const V=resolveUnref(t);return(r=V==null?void 0:V.$el)!=null?r:V}const defaultWindow$1=isClient$1?window:void 0,defaultDocument$1=isClient$1?window.document:void 0;function useEventListener$1(...t){let r,V,oe,ie;if(isString$5(t[0])||Array.isArray(t[0])?([V,oe,ie]=t,r=defaultWindow$1):[r,V,oe,ie]=t,!r)return noop$6;Array.isArray(V)||(V=[V]),Array.isArray(oe)||(oe=[oe]);const le=[],ue=()=>{le.forEach(_e=>_e()),le.length=0},de=(_e,$e,Ie,Ve)=>(_e.addEventListener($e,Ie,Ve),()=>_e.removeEventListener($e,Ie,Ve)),pe=watch(()=>[unrefElement$1(r),resolveUnref(ie)],([_e,$e])=>{ue(),_e&&le.push(...V.flatMap(Ie=>oe.map(Ve=>de(_e,Ie,Ve,$e))))},{immediate:!0,flush:"post"}),he=()=>{pe(),ue()};return tryOnScopeDispose$1(he),he}let _iOSWorkaround$1=!1;function onClickOutside$1(t,r,V={}){const{window:oe=defaultWindow$1,ignore:ie=[],capture:le=!0,detectIframe:ue=!1}=V;if(!oe)return;isIOS$1&&!_iOSWorkaround$1&&(_iOSWorkaround$1=!0,Array.from(oe.document.body.children).forEach(Ie=>Ie.addEventListener("click",noop$6)));let de=!0;const pe=Ie=>ie.some(Ve=>{if(typeof Ve=="string")return Array.from(oe.document.querySelectorAll(Ve)).some(Fe=>Fe===Ie.target||Ie.composedPath().includes(Fe));{const Fe=unrefElement$1(Ve);return Fe&&(Ie.target===Fe||Ie.composedPath().includes(Fe))}}),_e=[useEventListener$1(oe,"click",Ie=>{const Ve=unrefElement$1(t);if(!(!Ve||Ve===Ie.target||Ie.composedPath().includes(Ve))){if(Ie.detail===0&&(de=!pe(Ie)),!de){de=!0;return}r(Ie)}},{passive:!0,capture:le}),useEventListener$1(oe,"pointerdown",Ie=>{const Ve=unrefElement$1(t);Ve&&(de=!Ie.composedPath().includes(Ve)&&!pe(Ie))},{passive:!0}),ue&&useEventListener$1(oe,"blur",Ie=>{var Ve;const Fe=unrefElement$1(t);((Ve=oe.document.activeElement)==null?void 0:Ve.tagName)==="IFRAME"&&!(Fe!=null&&Fe.contains(oe.document.activeElement))&&r(Ie)})].filter(Boolean);return()=>_e.forEach(Ie=>Ie())}function useSupported$1(t,r=!1){const V=ref(),oe=()=>V.value=!!t();return oe(),tryOnMounted$1(oe,r),V}function cloneFnJSON$1(t){return JSON.parse(JSON.stringify(t))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global$1[globalKey]=_global$1[globalKey]||{};function useCssVar(t,r,{window:V=defaultWindow$1,initialValue:oe=""}={}){const ie=ref(oe),le=computed(()=>{var ue;return unrefElement$1(r)||((ue=V==null?void 0:V.document)==null?void 0:ue.documentElement)});return watch([le,()=>resolveUnref(t)],([ue,de])=>{var pe;if(ue&&V){const he=(pe=V.getComputedStyle(ue).getPropertyValue(de))==null?void 0:pe.trim();ie.value=he||oe}},{immediate:!0}),watch(ie,ue=>{var de;(de=le.value)!=null&&de.style&&le.value.style.setProperty(resolveUnref(t),ue)}),ie}function useDocumentVisibility({document:t=defaultDocument$1}={}){if(!t)return ref("visible");const r=ref(t.visibilityState);return useEventListener$1(t,"visibilitychange",()=>{r.value=t.visibilityState}),r}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(t,r)=>{var V={};for(var oe in t)__hasOwnProp$g.call(t,oe)&&r.indexOf(oe)<0&&(V[oe]=t[oe]);if(t!=null&&__getOwnPropSymbols$g)for(var oe of __getOwnPropSymbols$g(t))r.indexOf(oe)<0&&__propIsEnum$g.call(t,oe)&&(V[oe]=t[oe]);return V};function useResizeObserver$1(t,r,V={}){const oe=V,{window:ie=defaultWindow$1}=oe,le=__objRest$2(oe,["window"]);let ue;const de=useSupported$1(()=>ie&&"ResizeObserver"in ie),pe=()=>{ue&&(ue.disconnect(),ue=void 0)},he=watch(()=>unrefElement$1(t),$e=>{pe(),de.value&&ie&&$e&&(ue=new ResizeObserver(r),ue.observe($e,le))},{immediate:!0,flush:"post"}),_e=()=>{pe(),he()};return tryOnScopeDispose$1(_e),{isSupported:de,stop:_e}}function useElementBounding(t,r={}){const{reset:V=!0,windowResize:oe=!0,windowScroll:ie=!0,immediate:le=!0}=r,ue=ref(0),de=ref(0),pe=ref(0),he=ref(0),_e=ref(0),$e=ref(0),Ie=ref(0),Ve=ref(0);function Fe(){const Ue=unrefElement$1(t);if(!Ue){V&&(ue.value=0,de.value=0,pe.value=0,he.value=0,_e.value=0,$e.value=0,Ie.value=0,Ve.value=0);return}const qe=Ue.getBoundingClientRect();ue.value=qe.height,de.value=qe.bottom,pe.value=qe.left,he.value=qe.right,_e.value=qe.top,$e.value=qe.width,Ie.value=qe.x,Ve.value=qe.y}return useResizeObserver$1(t,Fe),watch(()=>unrefElement$1(t),Ue=>!Ue&&Fe()),ie&&useEventListener$1("scroll",Fe,{capture:!0,passive:!0}),oe&&useEventListener$1("resize",Fe,{passive:!0}),tryOnMounted$1(()=>{le&&Fe()}),{height:ue,bottom:de,left:pe,right:he,top:_e,width:$e,x:Ie,y:Ve,update:Fe}}var SwipeDirection;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(t,r,V)=>r in t?__defProp(t,r,{enumerable:!0,configurable:!0,writable:!0,value:V}):t[r]=V,__spreadValues=(t,r)=>{for(var V in r||(r={}))__hasOwnProp.call(r,V)&&__defNormalProp(t,V,r[V]);if(__getOwnPropSymbols)for(var V of __getOwnPropSymbols(r))__propIsEnum.call(r,V)&&__defNormalProp(t,V,r[V]);return t};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity$2},_TransitionPresets);function useVModel$1(t,r,V,oe={}){var ie,le,ue;const{clone:de=!1,passive:pe=!1,eventName:he,deep:_e=!1,defaultValue:$e}=oe,Ie=getCurrentInstance(),Ve=V||(Ie==null?void 0:Ie.emit)||((ie=Ie==null?void 0:Ie.$emit)==null?void 0:ie.bind(Ie))||((ue=(le=Ie==null?void 0:Ie.proxy)==null?void 0:le.$emit)==null?void 0:ue.bind(Ie==null?void 0:Ie.proxy));let Fe=he;r||(r="modelValue"),Fe=he||Fe||`update:${r.toString()}`;const Ue=Et=>de?isFunction$4(de)?de(Et):cloneFnJSON$1(Et):Et,qe=()=>isDef$1(t[r])?Ue(t[r]):$e;if(pe){const Et=qe(),At=ref(Et);return watch(()=>t[r],Lt=>At.value=Ue(Lt)),watch(At,Lt=>{(Lt!==t[r]||_e)&&Ve(Fe,Lt)},{deep:_e}),At}else return computed({get(){return qe()},set(Et){Ve(Fe,Et)}})}function useWindowFocus({window:t=defaultWindow$1}={}){if(!t)return ref(!1);const r=ref(t.document.hasFocus());return useEventListener$1(t,"blur",()=>{r.value=!1}),useEventListener$1(t,"focus",()=>{r.value=!0}),r}function useWindowSize$1(t={}){const{window:r=defaultWindow$1,initialWidth:V=1/0,initialHeight:oe=1/0,listenOrientation:ie=!0,includeScrollbar:le=!0}=t,ue=ref(V),de=ref(oe),pe=()=>{r&&(le?(ue.value=r.innerWidth,de.value=r.innerHeight):(ue.value=r.document.documentElement.clientWidth,de.value=r.document.documentElement.clientHeight))};return pe(),tryOnMounted$1(pe),useEventListener$1("resize",pe,{passive:!0}),ie&&useEventListener$1("orientationchange",pe,{passive:!0}),{width:ue,height:de}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=(t,r)=>{if(!isClient$1||!t||!r)return!1;const V=t.getBoundingClientRect();let oe;return r instanceof Element?oe=r.getBoundingClientRect():oe={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},V.top<oe.bottom&&V.bottom>oe.top&&V.right>oe.left&&V.left<oe.right},getOffsetTop=t=>{let r=0,V=t;for(;V;)r+=V.offsetTop,V=V.offsetParent;return r},getOffsetTopDistance=(t,r)=>Math.abs(getOffsetTop(t)-getOffsetTop(r)),getClientXY=t=>{let r,V;return t.type==="touchend"?(V=t.changedTouches[0].clientY,r=t.changedTouches[0].clientX):t.type.startsWith("touch")?(V=t.touches[0].clientY,r=t.touches[0].clientX):(V=t.clientY,r=t.clientX),{clientX:r,clientY:V}};var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")();const root$1=root;var Symbol$2=root$1.Symbol;const Symbol$3=Symbol$2;var objectProto$f=Object.prototype,hasOwnProperty$e=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$3?Symbol$3.toStringTag:void 0;function getRawTag(t){var r=hasOwnProperty$e.call(t,symToStringTag$1),V=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var oe=!0}catch{}var ie=nativeObjectToString$1.call(t);return oe&&(r?t[symToStringTag$1]=V:delete t[symToStringTag$1]),ie}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString$2(t){return nativeObjectToString.call(t)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$3?Symbol$3.toStringTag:void 0;function baseGetTag(t){return t==null?t===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(t)?getRawTag(t):objectToString$2(t)}function isObjectLike(t){return t!=null&&typeof t=="object"}var symbolTag$3="[object Symbol]";function isSymbol$1(t){return typeof t=="symbol"||isObjectLike(t)&&baseGetTag(t)==symbolTag$3}function arrayMap(t,r){for(var V=-1,oe=t==null?0:t.length,ie=Array(oe);++V<oe;)ie[V]=r(t[V],V,t);return ie}var isArray$a=Array.isArray;const isArray$b=isArray$a;var INFINITY$4=1/0,symbolProto$2=Symbol$3?Symbol$3.prototype:void 0,symbolToString=symbolProto$2?symbolProto$2.toString:void 0;function baseToString(t){if(typeof t=="string")return t;if(isArray$b(t))return arrayMap(t,baseToString)+"";if(isSymbol$1(t))return symbolToString?symbolToString.call(t):"";var r=t+"";return r=="0"&&1/t==-INFINITY$4?"-0":r}var reWhitespace=/\s/;function trimmedEndIndex(t){for(var r=t.length;r--&&reWhitespace.test(t.charAt(r)););return r}var reTrimStart=/^\s+/;function baseTrim(t){return t&&t.slice(0,trimmedEndIndex(t)+1).replace(reTrimStart,"")}function isObject$8(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var NAN=0/0,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(t){if(typeof t=="number")return t;if(isSymbol$1(t))return NAN;if(isObject$8(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=isObject$8(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=baseTrim(t);var V=reIsBinary.test(t);return V||reIsOctal.test(t)?freeParseInt(t.slice(2),V?2:8):reIsBadHex.test(t)?NAN:+t}var INFINITY$3=1/0,MAX_INTEGER=17976931348623157e292;function toFinite(t){if(!t)return t===0?t:0;if(t=toNumber(t),t===INFINITY$3||t===-INFINITY$3){var r=t<0?-1:1;return r*MAX_INTEGER}return t===t?t:0}function toInteger(t){var r=toFinite(t),V=r%1;return r===r?V?r-V:r:0}function identity$1(t){return t}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(t){if(!isObject$8(t))return!1;var r=baseGetTag(t);return r==funcTag$2||r==genTag$1||r==asyncTag||r==proxyTag}var coreJsData=root$1["__core-js_shared__"];const coreJsData$1=coreJsData;var maskSrcKey=function(){var t=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function isMasked(t){return!!maskSrcKey&&maskSrcKey in t}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(t){if(t!=null){try{return funcToString$2.call(t)}catch{}try{return t+""}catch{}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$d=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$d=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$d).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(t){if(!isObject$8(t)||isMasked(t))return!1;var r=isFunction$3(t)?reIsNative:reIsHostCtor;return r.test(toSource(t))}function getValue$1(t,r){return t==null?void 0:t[r]}function getNative(t,r){var V=getValue$1(t,r);return baseIsNative(V)?V:void 0}var WeakMap$3=getNative(root$1,"WeakMap");const WeakMap$4=WeakMap$3;var objectCreate=Object.create,baseCreate=function(){function t(){}return function(r){if(!isObject$8(r))return{};if(objectCreate)return objectCreate(r);t.prototype=r;var V=new t;return t.prototype=void 0,V}}();const baseCreate$1=baseCreate;function apply$1(t,r,V){switch(V.length){case 0:return t.call(r);case 1:return t.call(r,V[0]);case 2:return t.call(r,V[0],V[1]);case 3:return t.call(r,V[0],V[1],V[2])}return t.apply(r,V)}function noop$5(){}function copyArray(t,r){var V=-1,oe=t.length;for(r||(r=Array(oe));++V<oe;)r[V]=t[V];return r}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(t){var r=0,V=0;return function(){var oe=nativeNow(),ie=HOT_SPAN-(oe-V);if(V=oe,ie>0){if(++r>=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}function constant(t){return function(){return t}}var defineProperty=function(){try{var t=getNative(Object,"defineProperty");return t({},"",{}),t}catch{}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function(t,r){return defineProperty$1(t,"toString",{configurable:!0,enumerable:!1,value:constant(r),writable:!0})}:identity$1;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach(t,r){for(var V=-1,oe=t==null?0:t.length;++V<oe&&r(t[V],V,t)!==!1;);return t}function baseFindIndex(t,r,V,oe){for(var ie=t.length,le=V+(oe?1:-1);oe?le--:++le<ie;)if(r(t[le],le,t))return le;return-1}function baseIsNaN(t){return t!==t}function strictIndexOf(t,r,V){for(var oe=V-1,ie=t.length;++oe<ie;)if(t[oe]===r)return oe;return-1}function baseIndexOf(t,r,V){return r===r?strictIndexOf(t,r,V):baseFindIndex(t,baseIsNaN,V)}function arrayIncludes(t,r){var V=t==null?0:t.length;return!!V&&baseIndexOf(t,r,0)>-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(t,r){var V=typeof t;return r=r??MAX_SAFE_INTEGER$2,!!r&&(V=="number"||V!="symbol"&&reIsUint.test(t))&&t>-1&&t%1==0&&t<r}function baseAssignValue(t,r,V){r=="__proto__"&&defineProperty$1?defineProperty$1(t,r,{configurable:!0,enumerable:!0,value:V,writable:!0}):t[r]=V}function eq(t,r){return t===r||t!==t&&r!==r}var objectProto$c=Object.prototype,hasOwnProperty$c=objectProto$c.hasOwnProperty;function assignValue(t,r,V){var oe=t[r];(!(hasOwnProperty$c.call(t,r)&&eq(oe,V))||V===void 0&&!(r in t))&&baseAssignValue(t,r,V)}function copyObject(t,r,V,oe){var ie=!V;V||(V={});for(var le=-1,ue=r.length;++le<ue;){var de=r[le],pe=oe?oe(V[de],t[de],de,V,t):void 0;pe===void 0&&(pe=t[de]),ie?baseAssignValue(V,de,pe):assignValue(V,de,pe)}return V}var nativeMax$2=Math.max;function overRest(t,r,V){return r=nativeMax$2(r===void 0?t.length-1:r,0),function(){for(var oe=arguments,ie=-1,le=nativeMax$2(oe.length-r,0),ue=Array(le);++ie<le;)ue[ie]=oe[r+ie];ie=-1;for(var de=Array(r+1);++ie<r;)de[ie]=oe[ie];return de[r]=V(ue),apply$1(t,this,de)}}function baseRest(t,r){return setToString$1(overRest(t,r,identity$1),t+"")}var MAX_SAFE_INTEGER$1=9007199254740991;function isLength(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=MAX_SAFE_INTEGER$1}function isArrayLike$1(t){return t!=null&&isLength(t.length)&&!isFunction$3(t)}function isIterateeCall(t,r,V){if(!isObject$8(V))return!1;var oe=typeof r;return(oe=="number"?isArrayLike$1(V)&&isIndex(r,V.length):oe=="string"&&r in V)?eq(V[r],t):!1}function createAssigner(t){return baseRest(function(r,V){var oe=-1,ie=V.length,le=ie>1?V[ie-1]:void 0,ue=ie>2?V[2]:void 0;for(le=t.length>3&&typeof le=="function"?(ie--,le):void 0,ue&&isIterateeCall(V[0],V[1],ue)&&(le=ie<3?void 0:le,ie=1),r=Object(r);++oe<ie;){var de=V[oe];de&&t(r,de,oe,le)}return r})}var objectProto$b=Object.prototype;function isPrototype(t){var r=t&&t.constructor,V=typeof r=="function"&&r.prototype||objectProto$b;return t===V}function baseTimes(t,r){for(var V=-1,oe=Array(t);++V<t;)oe[V]=r(V);return oe}var argsTag$3="[object Arguments]";function baseIsArguments(t){return isObjectLike(t)&&baseGetTag(t)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$b=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(t){return isObjectLike(t)&&hasOwnProperty$b.call(t,"callee")&&!propertyIsEnumerable$1.call(t,"callee")};const isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$2=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer$2=nativeIsBuffer||stubFalse;const isBuffer$3=isBuffer$2;var argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray(t){return isObjectLike(t)&&isLength(t.length)&&!!typedArrayTags[baseGetTag(t)]}function baseUnary(t){return function(r){return t(r)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var t=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return t||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}();const nodeUtil$1=nodeUtil;var nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray$2=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;const isTypedArray$3=isTypedArray$2;var objectProto$9=Object.prototype,hasOwnProperty$a=objectProto$9.hasOwnProperty;function arrayLikeKeys(t,r){var V=isArray$b(t),oe=!V&&isArguments$1(t),ie=!V&&!oe&&isBuffer$3(t),le=!V&&!oe&&!ie&&isTypedArray$3(t),ue=V||oe||ie||le,de=ue?baseTimes(t.length,String):[],pe=de.length;for(var he in t)(r||hasOwnProperty$a.call(t,he))&&!(ue&&(he=="length"||ie&&(he=="offset"||he=="parent")||le&&(he=="buffer"||he=="byteLength"||he=="byteOffset")||isIndex(he,pe)))&&de.push(he);return de}function overArg(t,r){return function(V){return t(r(V))}}var nativeKeys=overArg(Object.keys,Object);const nativeKeys$1=nativeKeys;var objectProto$8=Object.prototype,hasOwnProperty$9=objectProto$8.hasOwnProperty;function baseKeys(t){if(!isPrototype(t))return nativeKeys$1(t);var r=[];for(var V in Object(t))hasOwnProperty$9.call(t,V)&&V!="constructor"&&r.push(V);return r}function keys$1(t){return isArrayLike$1(t)?arrayLikeKeys(t):baseKeys(t)}function nativeKeysIn(t){var r=[];if(t!=null)for(var V in Object(t))r.push(V);return r}var objectProto$7=Object.prototype,hasOwnProperty$8=objectProto$7.hasOwnProperty;function baseKeysIn(t){if(!isObject$8(t))return nativeKeysIn(t);var r=isPrototype(t),V=[];for(var oe in t)oe=="constructor"&&(r||!hasOwnProperty$8.call(t,oe))||V.push(oe);return V}function keysIn(t){return isArrayLike$1(t)?arrayLikeKeys(t,!0):baseKeysIn(t)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(t,r){if(isArray$b(t))return!1;var V=typeof t;return V=="number"||V=="symbol"||V=="boolean"||t==null||isSymbol$1(t)?!0:reIsPlainProp.test(t)||!reIsDeepProp.test(t)||r!=null&&t in Object(r)}var nativeCreate=getNative(Object,"create");const nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$6=Object.prototype,hasOwnProperty$7=objectProto$6.hasOwnProperty;function hashGet(t){var r=this.__data__;if(nativeCreate$1){var V=r[t];return V===HASH_UNDEFINED$2?void 0:V}return hasOwnProperty$7.call(r,t)?r[t]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$6=objectProto$5.hasOwnProperty;function hashHas(t){var r=this.__data__;return nativeCreate$1?r[t]!==void 0:hasOwnProperty$6.call(r,t)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(t,r){var V=this.__data__;return this.size+=this.has(t)?0:1,V[t]=nativeCreate$1&&r===void 0?HASH_UNDEFINED$1:r,this}function Hash(t){var r=-1,V=t==null?0:t.length;for(this.clear();++r<V;){var oe=t[r];this.set(oe[0],oe[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(t,r){for(var V=t.length;V--;)if(eq(t[V][0],r))return V;return-1}var arrayProto$1=Array.prototype,splice=arrayProto$1.splice;function listCacheDelete(t){var r=this.__data__,V=assocIndexOf(r,t);if(V<0)return!1;var oe=r.length-1;return V==oe?r.pop():splice.call(r,V,1),--this.size,!0}function listCacheGet$1(t){var r=this.__data__,V=assocIndexOf(r,t);return V<0?void 0:r[V][1]}function listCacheHas(t){return assocIndexOf(this.__data__,t)>-1}function listCacheSet$1(t,r){var V=this.__data__,oe=assocIndexOf(V,t);return oe<0?(++this.size,V.push([t,r])):V[oe][1]=r,this}function ListCache(t){var r=-1,V=t==null?0:t.length;for(this.clear();++r<V;){var oe=t[r];this.set(oe[0],oe[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet$1;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet$1;var Map$1=getNative(root$1,"Map");const Map$2=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$2||ListCache),string:new Hash}}function isKeyable(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}function getMapData(t,r){var V=t.__data__;return isKeyable(r)?V[typeof r=="string"?"string":"hash"]:V.map}function mapCacheDelete(t){var r=getMapData(this,t).delete(t);return this.size-=r?1:0,r}function mapCacheGet(t){return getMapData(this,t).get(t)}function mapCacheHas(t){return getMapData(this,t).has(t)}function mapCacheSet(t,r){var V=getMapData(this,t),oe=V.size;return V.set(t,r),this.size+=V.size==oe?0:1,this}function MapCache(t){var r=-1,V=t==null?0:t.length;for(this.clear();++r<V;){var oe=t[r];this.set(oe[0],oe[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;var FUNC_ERROR_TEXT$2="Expected a function";function memoize(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$2);var V=function(){var oe=arguments,ie=r?r.apply(this,oe):oe[0],le=V.cache;if(le.has(ie))return le.get(ie);var ue=t.apply(this,oe);return V.cache=le.set(ie,ue)||le,ue};return V.cache=new(memoize.Cache||MapCache),V}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped(t){var r=memoize(t,function(oe){return V.size===MAX_MEMOIZE_SIZE&&V.clear(),oe}),V=r.cache;return r}var rePropName$1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar$1=/\\(\\)?/g,stringToPath$1=memoizeCapped(function(t){var r=[];return t.charCodeAt(0)===46&&r.push(""),t.replace(rePropName$1,function(V,oe,ie,le){r.push(ie?le.replace(reEscapeChar$1,"$1"):oe||V)}),r});const stringToPath$2=stringToPath$1;function toString$2(t){return t==null?"":baseToString(t)}function castPath(t,r){return isArray$b(t)?t:isKey(t,r)?[t]:stringToPath$2(toString$2(t))}var INFINITY$2=1/0;function toKey(t){if(typeof t=="string"||isSymbol$1(t))return t;var r=t+"";return r=="0"&&1/t==-INFINITY$2?"-0":r}function baseGet(t,r){r=castPath(r,t);for(var V=0,oe=r.length;t!=null&&V<oe;)t=t[toKey(r[V++])];return V&&V==oe?t:void 0}function get$1(t,r,V){var oe=t==null?void 0:baseGet(t,r);return oe===void 0?V:oe}function arrayPush(t,r){for(var V=-1,oe=r.length,ie=t.length;++V<oe;)t[ie+V]=r[V];return t}var spreadableSymbol=Symbol$3?Symbol$3.isConcatSpreadable:void 0;function isFlattenable(t){return isArray$b(t)||isArguments$1(t)||!!(spreadableSymbol&&t&&t[spreadableSymbol])}function baseFlatten(t,r,V,oe,ie){var le=-1,ue=t.length;for(V||(V=isFlattenable),ie||(ie=[]);++le<ue;){var de=t[le];r>0&&V(de)?r>1?baseFlatten(de,r-1,V,oe,ie):arrayPush(ie,de):oe||(ie[ie.length]=de)}return ie}function flatten(t){var r=t==null?0:t.length;return r?baseFlatten(t,1):[]}function flatRest(t){return setToString$1(overRest(t,void 0,flatten),t+"")}var getPrototype=overArg(Object.getPrototypeOf,Object);const getPrototype$1=getPrototype;var objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$5=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$3(t){if(!isObjectLike(t)||baseGetTag(t)!=objectTag$3)return!1;var r=getPrototype$1(t);if(r===null)return!0;var V=hasOwnProperty$5.call(r,"constructor")&&r.constructor;return typeof V=="function"&&V instanceof V&&funcToString.call(V)==objectCtorString}function castArray$1(){if(!arguments.length)return[];var t=arguments[0];return isArray$b(t)?t:[t]}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(t){var r=this.__data__,V=r.delete(t);return this.size=r.size,V}function stackGet(t){return this.__data__.get(t)}function stackHas(t){return this.__data__.has(t)}var LARGE_ARRAY_SIZE$1=200;function stackSet(t,r){var V=this.__data__;if(V instanceof ListCache){var oe=V.__data__;if(!Map$2||oe.length<LARGE_ARRAY_SIZE$1-1)return oe.push([t,r]),this.size=++V.size,this;V=this.__data__=new MapCache(oe)}return V.set(t,r),this.size=V.size,this}function Stack(t){var r=this.__data__=new ListCache(t);this.size=r.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function baseAssign(t,r){return t&©Object(r,keys$1(r),t)}function baseAssignIn(t,r){return t&©Object(r,keysIn(r),t)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer$1=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer$1?Buffer$1.allocUnsafe:void 0;function cloneBuffer(t,r){if(r)return t.slice();var V=t.length,oe=allocUnsafe?allocUnsafe(V):new t.constructor(V);return t.copy(oe),oe}function arrayFilter(t,r){for(var V=-1,oe=t==null?0:t.length,ie=0,le=[];++V<oe;){var ue=t[V];r(ue,V,t)&&(le[ie++]=ue)}return le}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(t){return t==null?[]:(t=Object(t),arrayFilter(nativeGetSymbols$1(t),function(r){return propertyIsEnumerable.call(t,r)}))}:stubArray;const getSymbols$1=getSymbols;function copySymbols(t,r){return copyObject(t,getSymbols$1(t),r)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(t){for(var r=[];t;)arrayPush(r,getSymbols$1(t)),t=getPrototype$1(t);return r}:stubArray;const getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(t,r){return copyObject(t,getSymbolsIn$1(t),r)}function baseGetAllKeys(t,r,V){var oe=r(t);return isArray$b(t)?oe:arrayPush(oe,V(t))}function getAllKeys(t){return baseGetAllKeys(t,keys$1,getSymbols$1)}function getAllKeysIn(t){return baseGetAllKeys(t,keysIn,getSymbolsIn$1)}var DataView$3=getNative(root$1,"DataView");const DataView$4=DataView$3;var Promise$1=getNative(root$1,"Promise");const Promise$2=Promise$1;var Set$1=getNative(root$1,"Set");const Set$2=Set$1;var mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$4),mapCtorString=toSource(Map$2),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$4),getTag=baseGetTag;(DataView$4&&getTag(new DataView$4(new ArrayBuffer(1)))!=dataViewTag$3||Map$2&&getTag(new Map$2)!=mapTag$4||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$2&&getTag(new Set$2)!=setTag$4||WeakMap$4&&getTag(new WeakMap$4)!=weakMapTag$1)&&(getTag=function(t){var r=baseGetTag(t),V=r==objectTag$2?t.constructor:void 0,oe=V?toSource(V):"";if(oe)switch(oe){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return r});const getTag$1=getTag;var objectProto$2=Object.prototype,hasOwnProperty$4=objectProto$2.hasOwnProperty;function initCloneArray(t){var r=t.length,V=new t.constructor(r);return r&&typeof t[0]=="string"&&hasOwnProperty$4.call(t,"index")&&(V.index=t.index,V.input=t.input),V}var Uint8Array$1=root$1.Uint8Array;const Uint8Array$2=Uint8Array$1;function cloneArrayBuffer(t){var r=new t.constructor(t.byteLength);return new Uint8Array$2(r).set(new Uint8Array$2(t)),r}function cloneDataView(t,r){var V=r?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(V,t.byteOffset,t.byteLength)}var reFlags=/\w*$/;function cloneRegExp(t){var r=new t.constructor(t.source,reFlags.exec(t));return r.lastIndex=t.lastIndex,r}var symbolProto$1=Symbol$3?Symbol$3.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(t){return symbolValueOf$1?Object(symbolValueOf$1.call(t)):{}}function cloneTypedArray(t,r){var V=r?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(V,t.byteOffset,t.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(t,r,V){var oe=t.constructor;switch(r){case arrayBufferTag$2:return cloneArrayBuffer(t);case boolTag$2:case dateTag$2:return new oe(+t);case dataViewTag$2:return cloneDataView(t,V);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(t,V);case mapTag$3:return new oe;case numberTag$2:case stringTag$2:return new oe(t);case regexpTag$2:return cloneRegExp(t);case setTag$3:return new oe;case symbolTag$2:return cloneSymbol(t)}}function initCloneObject(t){return typeof t.constructor=="function"&&!isPrototype(t)?baseCreate$1(getPrototype$1(t)):{}}var mapTag$2="[object Map]";function baseIsMap(t){return isObjectLike(t)&&getTag$1(t)==mapTag$2}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap$1=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;const isMap$2=isMap$1;var setTag$2="[object Set]";function baseIsSet(t){return isObjectLike(t)&&getTag$1(t)==setTag$2}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet$1=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;const isSet$2=isSet$1;var CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$2=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone(t,r,V,oe,ie,le){var ue,de=r&CLONE_DEEP_FLAG$1,pe=r&CLONE_FLAT_FLAG,he=r&CLONE_SYMBOLS_FLAG$2;if(V&&(ue=ie?V(t,oe,ie,le):V(t)),ue!==void 0)return ue;if(!isObject$8(t))return t;var _e=isArray$b(t);if(_e){if(ue=initCloneArray(t),!de)return copyArray(t,ue)}else{var $e=getTag$1(t),Ie=$e==funcTag||$e==genTag;if(isBuffer$3(t))return cloneBuffer(t,de);if($e==objectTag$1||$e==argsTag$1||Ie&&!ie){if(ue=pe||Ie?{}:initCloneObject(t),!de)return pe?copySymbolsIn(t,baseAssignIn(ue,t)):copySymbols(t,baseAssign(ue,t))}else{if(!cloneableTags[$e])return ie?t:{};ue=initCloneByTag(t,$e,de)}}le||(le=new Stack);var Ve=le.get(t);if(Ve)return Ve;le.set(t,ue),isSet$2(t)?t.forEach(function(qe){ue.add(baseClone(qe,r,V,qe,t,le))}):isMap$2(t)&&t.forEach(function(qe,Et){ue.set(Et,baseClone(qe,r,V,Et,t,le))});var Fe=he?pe?getAllKeysIn:getAllKeys:pe?keysIn:keys$1,Ue=_e?void 0:Fe(t);return arrayEach(Ue||t,function(qe,Et){Ue&&(Et=qe,qe=t[Et]),assignValue(ue,Et,baseClone(qe,r,V,Et,t,le))}),ue}var CLONE_SYMBOLS_FLAG$1=4;function clone$4(t){return baseClone(t,CLONE_SYMBOLS_FLAG$1)}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(t){return baseClone(t,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(t){return this.__data__.set(t,HASH_UNDEFINED),this}function setCacheHas(t){return this.__data__.has(t)}function SetCache(t){var r=-1,V=t==null?0:t.length;for(this.__data__=new MapCache;++r<V;)this.add(t[r])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(t,r){for(var V=-1,oe=t==null?0:t.length;++V<oe;)if(r(t[V],V,t))return!0;return!1}function cacheHas(t,r){return t.has(r)}var COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays(t,r,V,oe,ie,le){var ue=V&COMPARE_PARTIAL_FLAG$5,de=t.length,pe=r.length;if(de!=pe&&!(ue&&pe>de))return!1;var he=le.get(t),_e=le.get(r);if(he&&_e)return he==r&&_e==t;var $e=-1,Ie=!0,Ve=V&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(le.set(t,r),le.set(r,t);++$e<de;){var Fe=t[$e],Ue=r[$e];if(oe)var qe=ue?oe(Ue,Fe,$e,r,t,le):oe(Fe,Ue,$e,t,r,le);if(qe!==void 0){if(qe)continue;Ie=!1;break}if(Ve){if(!arraySome(r,function(Et,At){if(!cacheHas(Ve,At)&&(Fe===Et||ie(Fe,Et,V,oe,le)))return Ve.push(At)})){Ie=!1;break}}else if(!(Fe===Ue||ie(Fe,Ue,V,oe,le))){Ie=!1;break}}return le.delete(t),le.delete(r),Ie}function mapToArray(t){var r=-1,V=Array(t.size);return t.forEach(function(oe,ie){V[++r]=[ie,oe]}),V}function setToArray(t){var r=-1,V=Array(t.size);return t.forEach(function(oe){V[++r]=oe}),V}var COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$3?Symbol$3.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(t,r,V,oe,ie,le,ue){switch(V){case dataViewTag:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case arrayBufferTag:return!(t.byteLength!=r.byteLength||!le(new Uint8Array$2(t),new Uint8Array$2(r)));case boolTag:case dateTag:case numberTag:return eq(+t,+r);case errorTag:return t.name==r.name&&t.message==r.message;case regexpTag:case stringTag:return t==r+"";case mapTag:var de=mapToArray;case setTag:var pe=oe&COMPARE_PARTIAL_FLAG$4;if(de||(de=setToArray),t.size!=r.size&&!pe)return!1;var he=ue.get(t);if(he)return he==r;oe|=COMPARE_UNORDERED_FLAG$2,ue.set(t,r);var _e=equalArrays(de(t),de(r),oe,ie,le,ue);return ue.delete(t),_e;case symbolTag:if(symbolValueOf)return symbolValueOf.call(t)==symbolValueOf.call(r)}return!1}var COMPARE_PARTIAL_FLAG$3=1,objectProto$1=Object.prototype,hasOwnProperty$3=objectProto$1.hasOwnProperty;function equalObjects(t,r,V,oe,ie,le){var ue=V&COMPARE_PARTIAL_FLAG$3,de=getAllKeys(t),pe=de.length,he=getAllKeys(r),_e=he.length;if(pe!=_e&&!ue)return!1;for(var $e=pe;$e--;){var Ie=de[$e];if(!(ue?Ie in r:hasOwnProperty$3.call(r,Ie)))return!1}var Ve=le.get(t),Fe=le.get(r);if(Ve&&Fe)return Ve==r&&Fe==t;var Ue=!0;le.set(t,r),le.set(r,t);for(var qe=ue;++$e<pe;){Ie=de[$e];var Et=t[Ie],At=r[Ie];if(oe)var Lt=ue?oe(At,Et,Ie,r,t,le):oe(Et,At,Ie,t,r,le);if(!(Lt===void 0?Et===At||ie(Et,At,V,oe,le):Lt)){Ue=!1;break}qe||(qe=Ie=="constructor")}if(Ue&&!qe){var hn=t.constructor,_n=r.constructor;hn!=_n&&"constructor"in t&&"constructor"in r&&!(typeof hn=="function"&&hn instanceof hn&&typeof _n=="function"&&_n instanceof _n)&&(Ue=!1)}return le.delete(t),le.delete(r),Ue}var COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty$2=objectProto.hasOwnProperty;function baseIsEqualDeep(t,r,V,oe,ie,le){var ue=isArray$b(t),de=isArray$b(r),pe=ue?arrayTag:getTag$1(t),he=de?arrayTag:getTag$1(r);pe=pe==argsTag?objectTag:pe,he=he==argsTag?objectTag:he;var _e=pe==objectTag,$e=he==objectTag,Ie=pe==he;if(Ie&&isBuffer$3(t)){if(!isBuffer$3(r))return!1;ue=!0,_e=!1}if(Ie&&!_e)return le||(le=new Stack),ue||isTypedArray$3(t)?equalArrays(t,r,V,oe,ie,le):equalByTag(t,r,pe,V,oe,ie,le);if(!(V&COMPARE_PARTIAL_FLAG$2)){var Ve=_e&&hasOwnProperty$2.call(t,"__wrapped__"),Fe=$e&&hasOwnProperty$2.call(r,"__wrapped__");if(Ve||Fe){var Ue=Ve?t.value():t,qe=Fe?r.value():r;return le||(le=new Stack),ie(Ue,qe,V,oe,le)}}return Ie?(le||(le=new Stack),equalObjects(t,r,V,oe,ie,le)):!1}function baseIsEqual(t,r,V,oe,ie){return t===r?!0:t==null||r==null||!isObjectLike(t)&&!isObjectLike(r)?t!==t&&r!==r:baseIsEqualDeep(t,r,V,oe,baseIsEqual,ie)}var COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch(t,r,V,oe){var ie=V.length,le=ie,ue=!oe;if(t==null)return!le;for(t=Object(t);ie--;){var de=V[ie];if(ue&&de[2]?de[1]!==t[de[0]]:!(de[0]in t))return!1}for(;++ie<le;){de=V[ie];var pe=de[0],he=t[pe],_e=de[1];if(ue&&de[2]){if(he===void 0&&!(pe in t))return!1}else{var $e=new Stack;if(oe)var Ie=oe(he,_e,pe,t,r,$e);if(!(Ie===void 0?baseIsEqual(_e,he,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,oe,$e):Ie))return!1}}return!0}function isStrictComparable(t){return t===t&&!isObject$8(t)}function getMatchData(t){for(var r=keys$1(t),V=r.length;V--;){var oe=r[V],ie=t[oe];r[V]=[oe,ie,isStrictComparable(ie)]}return r}function matchesStrictComparable(t,r){return function(V){return V==null?!1:V[t]===r&&(r!==void 0||t in Object(V))}}function baseMatches(t){var r=getMatchData(t);return r.length==1&&r[0][2]?matchesStrictComparable(r[0][0],r[0][1]):function(V){return V===t||baseIsMatch(V,t,r)}}function baseHasIn(t,r){return t!=null&&r in Object(t)}function hasPath(t,r,V){r=castPath(r,t);for(var oe=-1,ie=r.length,le=!1;++oe<ie;){var ue=toKey(r[oe]);if(!(le=t!=null&&V(t,ue)))break;t=t[ue]}return le||++oe!=ie?le:(ie=t==null?0:t.length,!!ie&&isLength(ie)&&isIndex(ue,ie)&&(isArray$b(t)||isArguments$1(t)))}function hasIn(t,r){return t!=null&&hasPath(t,r,baseHasIn)}var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(t,r){return isKey(t)&&isStrictComparable(r)?matchesStrictComparable(toKey(t),r):function(V){var oe=get$1(V,t);return oe===void 0&&oe===r?hasIn(V,t):baseIsEqual(r,oe,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}function baseProperty(t){return function(r){return r==null?void 0:r[t]}}function basePropertyDeep(t){return function(r){return baseGet(r,t)}}function property(t){return isKey(t)?baseProperty(toKey(t)):basePropertyDeep(t)}function baseIteratee(t){return typeof t=="function"?t:t==null?identity$1:typeof t=="object"?isArray$b(t)?baseMatchesProperty(t[0],t[1]):baseMatches(t):property(t)}function createBaseFor(t){return function(r,V,oe){for(var ie=-1,le=Object(r),ue=oe(r),de=ue.length;de--;){var pe=ue[t?de:++ie];if(V(le[pe],pe,le)===!1)break}return r}}var baseFor=createBaseFor();const baseFor$1=baseFor;function baseForOwn(t,r){return t&&baseFor$1(t,r,keys$1)}function createBaseEach(t,r){return function(V,oe){if(V==null)return V;if(!isArrayLike$1(V))return t(V,oe);for(var ie=V.length,le=r?ie:-1,ue=Object(V);(r?le--:++le<ie)&&oe(ue[le],le,ue)!==!1;);return V}}var baseEach=createBaseEach(baseForOwn);const baseEach$1=baseEach;var now=function(){return root$1.Date.now()};const now$1=now;var FUNC_ERROR_TEXT$1="Expected a function",nativeMax$1=Math.max,nativeMin$1=Math.min;function debounce(t,r,V){var oe,ie,le,ue,de,pe,he=0,_e=!1,$e=!1,Ie=!0;if(typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT$1);r=toNumber(r)||0,isObject$8(V)&&(_e=!!V.leading,$e="maxWait"in V,le=$e?nativeMax$1(toNumber(V.maxWait)||0,r):le,Ie="trailing"in V?!!V.trailing:Ie);function Ve(vn){var bn=oe,Cn=ie;return oe=ie=void 0,he=vn,ue=t.apply(Cn,bn),ue}function Fe(vn){return he=vn,de=setTimeout(Et,r),_e?Ve(vn):ue}function Ue(vn){var bn=vn-pe,Cn=vn-he,Sn=r-bn;return $e?nativeMin$1(Sn,le-Cn):Sn}function qe(vn){var bn=vn-pe,Cn=vn-he;return pe===void 0||bn>=r||bn<0||$e&&Cn>=le}function Et(){var vn=now$1();if(qe(vn))return At(vn);de=setTimeout(Et,Ue(vn))}function At(vn){return de=void 0,Ie&&oe?Ve(vn):(oe=ie=void 0,ue)}function Lt(){de!==void 0&&clearTimeout(de),he=0,oe=pe=ie=de=void 0}function hn(){return de===void 0?ue:At(now$1())}function _n(){var vn=now$1(),bn=qe(vn);if(oe=arguments,ie=this,pe=vn,bn){if(de===void 0)return Fe(pe);if($e)return clearTimeout(de),de=setTimeout(Et,r),Ve(pe)}return de===void 0&&(de=setTimeout(Et,r)),ue}return _n.cancel=Lt,_n.flush=hn,_n}function assignMergeValue(t,r,V){(V!==void 0&&!eq(t[r],V)||V===void 0&&!(r in t))&&baseAssignValue(t,r,V)}function isArrayLikeObject(t){return isObjectLike(t)&&isArrayLike$1(t)}function safeGet(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}function toPlainObject(t){return copyObject(t,keysIn(t))}function baseMergeDeep(t,r,V,oe,ie,le,ue){var de=safeGet(t,V),pe=safeGet(r,V),he=ue.get(pe);if(he){assignMergeValue(t,V,he);return}var _e=le?le(de,pe,V+"",t,r,ue):void 0,$e=_e===void 0;if($e){var Ie=isArray$b(pe),Ve=!Ie&&isBuffer$3(pe),Fe=!Ie&&!Ve&&isTypedArray$3(pe);_e=pe,Ie||Ve||Fe?isArray$b(de)?_e=de:isArrayLikeObject(de)?_e=copyArray(de):Ve?($e=!1,_e=cloneBuffer(pe,!0)):Fe?($e=!1,_e=cloneTypedArray(pe,!0)):_e=[]:isPlainObject$3(pe)||isArguments$1(pe)?(_e=de,isArguments$1(de)?_e=toPlainObject(de):(!isObject$8(de)||isFunction$3(de))&&(_e=initCloneObject(pe))):$e=!1}$e&&(ue.set(pe,_e),ie(_e,pe,oe,le,ue),ue.delete(pe)),assignMergeValue(t,V,_e)}function baseMerge(t,r,V,oe,ie){t!==r&&baseFor$1(r,function(le,ue){if(ie||(ie=new Stack),isObject$8(le))baseMergeDeep(t,r,ue,V,baseMerge,oe,ie);else{var de=oe?oe(safeGet(t,ue),le,ue+"",t,r,ie):void 0;de===void 0&&(de=le),assignMergeValue(t,ue,de)}},keysIn)}function arrayIncludesWith(t,r,V){for(var oe=-1,ie=t==null?0:t.length;++oe<ie;)if(V(r,t[oe]))return!0;return!1}var nativeMax=Math.max,nativeMin=Math.min;function findLastIndex(t,r,V){var oe=t==null?0:t.length;if(!oe)return-1;var ie=oe-1;return V!==void 0&&(ie=toInteger(V),ie=V<0?nativeMax(oe+ie,0):nativeMin(ie,oe-1)),baseFindIndex(t,baseIteratee(r),ie,!0)}function baseMap(t,r){var V=-1,oe=isArrayLike$1(t)?Array(t.length):[];return baseEach$1(t,function(ie,le,ue){oe[++V]=r(ie,le,ue)}),oe}function map$3(t,r){var V=isArray$b(t)?arrayMap:baseMap;return V(t,baseIteratee(r))}function flatMap(t,r){return baseFlatten(map$3(t,r),1)}var INFINITY$1=1/0;function flattenDeep(t){var r=t==null?0:t.length;return r?baseFlatten(t,INFINITY$1):[]}function fromPairs(t){for(var r=-1,V=t==null?0:t.length,oe={};++r<V;){var ie=t[r];oe[ie[0]]=ie[1]}return oe}function isEqual$1(t,r){return baseIsEqual(t,r)}function isNil(t){return t==null}function isUndefined$2(t){return t===void 0}var merge$3=createAssigner(function(t,r,V){baseMerge(t,r,V)});const merge$4=merge$3;function baseSet(t,r,V,oe){if(!isObject$8(t))return t;r=castPath(r,t);for(var ie=-1,le=r.length,ue=le-1,de=t;de!=null&&++ie<le;){var pe=toKey(r[ie]),he=V;if(pe==="__proto__"||pe==="constructor"||pe==="prototype")return t;if(ie!=ue){var _e=de[pe];he=oe?oe(_e,pe,de):void 0,he===void 0&&(he=isObject$8(_e)?_e:isIndex(r[ie+1])?[]:{})}assignValue(de,pe,he),de=de[pe]}return t}function basePickBy(t,r,V){for(var oe=-1,ie=r.length,le={};++oe<ie;){var ue=r[oe],de=baseGet(t,ue);V(de,ue)&&baseSet(le,castPath(ue,t),de)}return le}function basePick(t,r){return basePickBy(t,r,function(V,oe){return hasIn(t,oe)})}var pick=flatRest(function(t,r){return t==null?{}:basePick(t,r)});const pick$1=pick;function set$2(t,r,V){return t==null?t:baseSet(t,r,V)}var FUNC_ERROR_TEXT="Expected a function";function throttle$1(t,r,V){var oe=!0,ie=!0;if(typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject$8(V)&&(oe="leading"in V?!!V.leading:oe,ie="trailing"in V?!!V.trailing:ie),debounce(t,r,{leading:oe,maxWait:r,trailing:ie})}var INFINITY=1/0,createSet=Set$2&&1/setToArray(new Set$2([,-0]))[1]==INFINITY?function(t){return new Set$2(t)}:noop$5;const createSet$1=createSet;var LARGE_ARRAY_SIZE=200;function baseUniq(t,r,V){var oe=-1,ie=arrayIncludes,le=t.length,ue=!0,de=[],pe=de;if(V)ue=!1,ie=arrayIncludesWith;else if(le>=LARGE_ARRAY_SIZE){var he=r?null:createSet$1(t);if(he)return setToArray(he);ue=!1,ie=cacheHas,pe=new SetCache}else pe=r?[]:de;e:for(;++oe<le;){var _e=t[oe],$e=r?r(_e):_e;if(_e=V||_e!==0?_e:0,ue&&$e===$e){for(var Ie=pe.length;Ie--;)if(pe[Ie]===$e)continue e;r&&pe.push($e),de.push(_e)}else ie(pe,$e,V)||(pe!==de&&pe.push($e),de.push(_e))}return de}var union=baseRest(function(t){return baseUniq(baseFlatten(t,1,isArrayLikeObject,!0))});const union$1=union,isUndefined$1=t=>t===void 0,isBoolean$3=t=>typeof t=="boolean",isNumber$4=t=>typeof t=="number",isEmpty=t=>!t&&t!==0||isArray$c(t)&&t.length===0||isObject$9(t)&&!Object.keys(t).length,isElement$2=t=>typeof Element>"u"?!1:t instanceof Element,isPropAbsent=t=>isNil(t),isStringNumber=t=>isString$6(t)?!Number.isNaN(Number(t)):!1,escapeStringRegexp=(t="")=>t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize$1=t=>capitalize$2(t),keysOf=t=>Object.keys(t),entriesOf=t=>Object.entries(t),getProp=(t,r,V)=>({get value(){return get$1(t,r,V)},set value(oe){set$2(t,r,oe)}});class ElementPlusError extends Error{constructor(r){super(r),this.name="ElementPlusError"}}function throwError$1(t,r){throw new ElementPlusError(`[${t}] ${r}`)}function debugWarn(t,r){}const classNameToArray=(t="")=>t.split(" ").filter(r=>!!r.trim()),hasClass=(t,r)=>{if(!t||!r)return!1;if(r.includes(" "))throw new Error("className should not contain space.");return t.classList.contains(r)},addClass=(t,r)=>{!t||!r.trim()||t.classList.add(...classNameToArray(r))},removeClass=(t,r)=>{!t||!r.trim()||t.classList.remove(...classNameToArray(r))},getStyle$1=(t,r)=>{var V;if(!isClient$1||!t||!r)return"";let oe=camelize(r);oe==="float"&&(oe="cssFloat");try{const ie=t.style[oe];if(ie)return ie;const le=(V=document.defaultView)==null?void 0:V.getComputedStyle(t,"");return le?le[oe]:""}catch{return t.style[oe]}};function addUnit(t,r="px"){if(!t)return"";if(isNumber$4(t)||isStringNumber(t))return`${t}${r}`;if(isString$6(t))return t}const isScroll=(t,r)=>{if(!isClient$1)return!1;const V={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(r)],oe=getStyle$1(t,V);return["scroll","auto","overlay"].some(ie=>oe.includes(ie))},getScrollContainer=(t,r)=>{if(!isClient$1)return;let V=t;for(;V;){if([window,document,document.documentElement].includes(V))return window;if(isScroll(V,r))return V;V=V.parentNode}return V};let scrollBarWidth;const getScrollBarWidth=t=>{var r;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const V=document.createElement("div");V.className=`${t}-scrollbar__wrap`,V.style.visibility="hidden",V.style.width="100px",V.style.position="absolute",V.style.top="-9999px",document.body.appendChild(V);const oe=V.offsetWidth;V.style.overflow="scroll";const ie=document.createElement("div");ie.style.width="100%",V.appendChild(ie);const le=ie.offsetWidth;return(r=V.parentNode)==null||r.removeChild(V),scrollBarWidth=oe-le,scrollBarWidth};function scrollIntoView(t,r){if(!isClient$1)return;if(!r){t.scrollTop=0;return}const V=[];let oe=r.offsetParent;for(;oe!==null&&t!==oe&&t.contains(oe);)V.push(oe),oe=oe.offsetParent;const ie=r.offsetTop+V.reduce((pe,he)=>pe+he.offsetTop,0),le=ie+r.offsetHeight,ue=t.scrollTop,de=ue+t.clientHeight;ie<ue?t.scrollTop=ie:le>de&&(t.scrollTop=le-t.clientHeight)}/*! Element Plus Icons Vue v2.1.0 */var export_helper_default=(t,r)=>{let V=t.__vccOpts||t;for(let[oe,ie]of r)V[oe]=ie;return V},arrow_down_vue_vue_type_script_lang_default={name:"ArrowDown"},_hoisted_16$1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_26=createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),_hoisted_36=[_hoisted_26];function _sfc_render6(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_16$1,_hoisted_36)}var arrow_down_default=export_helper_default(arrow_down_vue_vue_type_script_lang_default,[["render",_sfc_render6],["__file","arrow-down.vue"]]),arrow_left_vue_vue_type_script_lang_default={name:"ArrowLeft"},_hoisted_18$1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_28=createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1),_hoisted_38=[_hoisted_28];function _sfc_render8(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_18$1,_hoisted_38)}var arrow_left_default=export_helper_default(arrow_left_vue_vue_type_script_lang_default,[["render",_sfc_render8],["__file","arrow-left.vue"]]),arrow_right_vue_vue_type_script_lang_default={name:"ArrowRight"},_hoisted_110={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_210=createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),_hoisted_310=[_hoisted_210];function _sfc_render10(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_110,_hoisted_310)}var arrow_right_default=export_helper_default(arrow_right_vue_vue_type_script_lang_default,[["render",_sfc_render10],["__file","arrow-right.vue"]]),arrow_up_vue_vue_type_script_lang_default={name:"ArrowUp"},_hoisted_112={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_212=createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"},null,-1),_hoisted_312=[_hoisted_212];function _sfc_render12(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_112,_hoisted_312)}var arrow_up_default=export_helper_default(arrow_up_vue_vue_type_script_lang_default,[["render",_sfc_render12],["__file","arrow-up.vue"]]),back_vue_vue_type_script_lang_default={name:"Back"},_hoisted_114={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_214=createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z"},null,-1),_hoisted_314=createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z"},null,-1),_hoisted_44=[_hoisted_214,_hoisted_314];function _sfc_render14(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_114,_hoisted_44)}var back_default=export_helper_default(back_vue_vue_type_script_lang_default,[["render",_sfc_render14],["__file","back.vue"]]),calendar_vue_vue_type_script_lang_default={name:"Calendar"},_hoisted_129={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_229=createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),_hoisted_328=[_hoisted_229];function _sfc_render29(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_129,_hoisted_328)}var calendar_default=export_helper_default(calendar_vue_vue_type_script_lang_default,[["render",_sfc_render29],["__file","calendar.vue"]]),caret_right_vue_vue_type_script_lang_default={name:"CaretRight"},_hoisted_134={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_234=createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"},null,-1),_hoisted_333=[_hoisted_234];function _sfc_render34(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_134,_hoisted_333)}var caret_right_default=export_helper_default(caret_right_vue_vue_type_script_lang_default,[["render",_sfc_render34],["__file","caret-right.vue"]]),caret_top_vue_vue_type_script_lang_default={name:"CaretTop"},_hoisted_135={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_235=createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"},null,-1),_hoisted_334=[_hoisted_235];function _sfc_render35(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_135,_hoisted_334)}var caret_top_default=export_helper_default(caret_top_vue_vue_type_script_lang_default,[["render",_sfc_render35],["__file","caret-top.vue"]]),check_vue_vue_type_script_lang_default={name:"Check"},_hoisted_143={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_243=createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),_hoisted_342=[_hoisted_243];function _sfc_render43(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_143,_hoisted_342)}var check_default=export_helper_default(check_vue_vue_type_script_lang_default,[["render",_sfc_render43],["__file","check.vue"]]),circle_check_filled_vue_vue_type_script_lang_default={name:"CircleCheckFilled"},_hoisted_148={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_248=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),_hoisted_347=[_hoisted_248];function _sfc_render48(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_148,_hoisted_347)}var circle_check_filled_default=export_helper_default(circle_check_filled_vue_vue_type_script_lang_default,[["render",_sfc_render48],["__file","circle-check-filled.vue"]]),circle_check_vue_vue_type_script_lang_default={name:"CircleCheck"},_hoisted_149={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_249=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_348=createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),_hoisted_415=[_hoisted_249,_hoisted_348];function _sfc_render49(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_149,_hoisted_415)}var circle_check_default=export_helper_default(circle_check_vue_vue_type_script_lang_default,[["render",_sfc_render49],["__file","circle-check.vue"]]),circle_close_filled_vue_vue_type_script_lang_default={name:"CircleCloseFilled"},_hoisted_150={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_250=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),_hoisted_349=[_hoisted_250];function _sfc_render50(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_150,_hoisted_349)}var circle_close_filled_default=export_helper_default(circle_close_filled_vue_vue_type_script_lang_default,[["render",_sfc_render50],["__file","circle-close-filled.vue"]]),circle_close_vue_vue_type_script_lang_default={name:"CircleClose"},_hoisted_151={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_251=createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),_hoisted_350=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_416=[_hoisted_251,_hoisted_350];function _sfc_render51(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_151,_hoisted_416)}var circle_close_default=export_helper_default(circle_close_vue_vue_type_script_lang_default,[["render",_sfc_render51],["__file","circle-close.vue"]]),clock_vue_vue_type_script_lang_default={name:"Clock"},_hoisted_154={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_254=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_353=createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),_hoisted_418=createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32z"},null,-1),_hoisted_56=[_hoisted_254,_hoisted_353,_hoisted_418];function _sfc_render54(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_154,_hoisted_56)}var clock_default=export_helper_default(clock_vue_vue_type_script_lang_default,[["render",_sfc_render54],["__file","clock.vue"]]),close_vue_vue_type_script_lang_default={name:"Close"},_hoisted_156={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_256=createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),_hoisted_355=[_hoisted_256];function _sfc_render56(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_156,_hoisted_355)}var close_default=export_helper_default(close_vue_vue_type_script_lang_default,[["render",_sfc_render56],["__file","close.vue"]]),d_arrow_left_vue_vue_type_script_lang_default={name:"DArrowLeft"},_hoisted_172={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_272=createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"},null,-1),_hoisted_371=[_hoisted_272];function _sfc_render72(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_172,_hoisted_371)}var d_arrow_left_default=export_helper_default(d_arrow_left_vue_vue_type_script_lang_default,[["render",_sfc_render72],["__file","d-arrow-left.vue"]]),d_arrow_right_vue_vue_type_script_lang_default={name:"DArrowRight"},_hoisted_173={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_273=createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1),_hoisted_372=[_hoisted_273];function _sfc_render73(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_173,_hoisted_372)}var d_arrow_right_default=export_helper_default(d_arrow_right_vue_vue_type_script_lang_default,[["render",_sfc_render73],["__file","d-arrow-right.vue"]]),delete_vue_vue_type_script_lang_default={name:"Delete"},_hoisted_180={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_280=createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),_hoisted_379=[_hoisted_280];function _sfc_render80(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_180,_hoisted_379)}var delete_default=export_helper_default(delete_vue_vue_type_script_lang_default,[["render",_sfc_render80],["__file","delete.vue"]]),document_vue_vue_type_script_lang_default={name:"Document"},_hoisted_190={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_290=createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1),_hoisted_389=[_hoisted_290];function _sfc_render90(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_190,_hoisted_389)}var document_default=export_helper_default(document_vue_vue_type_script_lang_default,[["render",_sfc_render90],["__file","document.vue"]]),full_screen_vue_vue_type_script_lang_default={name:"FullScreen"},_hoisted_1118={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2118=createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64v-.064z"},null,-1),_hoisted_3117=[_hoisted_2118];function _sfc_render118(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1118,_hoisted_3117)}var full_screen_default=export_helper_default(full_screen_vue_vue_type_script_lang_default,[["render",_sfc_render118],["__file","full-screen.vue"]]),hide_vue_vue_type_script_lang_default={name:"Hide"},_hoisted_1133={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2133=createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),_hoisted_3132=createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),_hoisted_438=[_hoisted_2133,_hoisted_3132];function _sfc_render133(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1133,_hoisted_438)}var hide_default=export_helper_default(hide_vue_vue_type_script_lang_default,[["render",_sfc_render133],["__file","hide.vue"]]),info_filled_vue_vue_type_script_lang_default={name:"InfoFilled"},_hoisted_1143={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2143=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),_hoisted_3142=[_hoisted_2143];function _sfc_render143(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1143,_hoisted_3142)}var info_filled_default=export_helper_default(info_filled_vue_vue_type_script_lang_default,[["render",_sfc_render143],["__file","info-filled.vue"]]),loading_vue_vue_type_script_lang_default={name:"Loading"},_hoisted_1150={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2150=createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),_hoisted_3149=[_hoisted_2150];function _sfc_render150(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1150,_hoisted_3149)}var loading_default=export_helper_default(loading_vue_vue_type_script_lang_default,[["render",_sfc_render150],["__file","loading.vue"]]),minus_vue_vue_type_script_lang_default={name:"Minus"},_hoisted_1169={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2169=createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),_hoisted_3168=[_hoisted_2169];function _sfc_render169(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1169,_hoisted_3168)}var minus_default=export_helper_default(minus_vue_vue_type_script_lang_default,[["render",_sfc_render169],["__file","minus.vue"]]),more_filled_vue_vue_type_script_lang_default={name:"MoreFilled"},_hoisted_1174={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2174=createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1),_hoisted_3173=[_hoisted_2174];function _sfc_render174(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1174,_hoisted_3173)}var more_filled_default=export_helper_default(more_filled_vue_vue_type_script_lang_default,[["render",_sfc_render174],["__file","more-filled.vue"]]),more_vue_vue_type_script_lang_default={name:"More"},_hoisted_1175={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2175=createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),_hoisted_3174=[_hoisted_2175];function _sfc_render175(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1175,_hoisted_3174)}var more_default=export_helper_default(more_vue_vue_type_script_lang_default,[["render",_sfc_render175],["__file","more.vue"]]),picture_filled_vue_vue_type_script_lang_default={name:"PictureFilled"},_hoisted_1195={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2195=createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32H96zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112zM256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384z"},null,-1),_hoisted_3194=[_hoisted_2195];function _sfc_render195(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1195,_hoisted_3194)}var picture_filled_default=export_helper_default(picture_filled_vue_vue_type_script_lang_default,[["render",_sfc_render195],["__file","picture-filled.vue"]]),plus_vue_vue_type_script_lang_default={name:"Plus"},_hoisted_1201={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2201=createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"},null,-1),_hoisted_3200=[_hoisted_2201];function _sfc_render201(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1201,_hoisted_3200)}var plus_default=export_helper_default(plus_vue_vue_type_script_lang_default,[["render",_sfc_render201],["__file","plus.vue"]]),question_filled_vue_vue_type_script_lang_default={name:"QuestionFilled"},_hoisted_1211={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2211=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"},null,-1),_hoisted_3210=[_hoisted_2211];function _sfc_render211(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1211,_hoisted_3210)}var question_filled_default=export_helper_default(question_filled_vue_vue_type_script_lang_default,[["render",_sfc_render211],["__file","question-filled.vue"]]),refresh_left_vue_vue_type_script_lang_default={name:"RefreshLeft"},_hoisted_1215={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2215=createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"},null,-1),_hoisted_3214=[_hoisted_2215];function _sfc_render215(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1215,_hoisted_3214)}var refresh_left_default=export_helper_default(refresh_left_vue_vue_type_script_lang_default,[["render",_sfc_render215],["__file","refresh-left.vue"]]),refresh_right_vue_vue_type_script_lang_default={name:"RefreshRight"},_hoisted_1216={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2216=createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"},null,-1),_hoisted_3215=[_hoisted_2216];function _sfc_render216(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1216,_hoisted_3215)}var refresh_right_default=export_helper_default(refresh_right_vue_vue_type_script_lang_default,[["render",_sfc_render216],["__file","refresh-right.vue"]]),scale_to_original_vue_vue_type_script_lang_default={name:"ScaleToOriginal"},_hoisted_1222={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2222=createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zM512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412zM512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512z"},null,-1),_hoisted_3221=[_hoisted_2222];function _sfc_render222(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1222,_hoisted_3221)}var scale_to_original_default=export_helper_default(scale_to_original_vue_vue_type_script_lang_default,[["render",_sfc_render222],["__file","scale-to-original.vue"]]),search_vue_vue_type_script_lang_default={name:"Search"},_hoisted_1225={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2225=createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704z"},null,-1),_hoisted_3224=[_hoisted_2225];function _sfc_render225(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1225,_hoisted_3224)}var search_default=export_helper_default(search_vue_vue_type_script_lang_default,[["render",_sfc_render225],["__file","search.vue"]]),sort_down_vue_vue_type_script_lang_default={name:"SortDown"},_hoisted_1242={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2242=createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0z"},null,-1),_hoisted_3241=[_hoisted_2242];function _sfc_render242(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1242,_hoisted_3241)}var sort_down_default=export_helper_default(sort_down_vue_vue_type_script_lang_default,[["render",_sfc_render242],["__file","sort-down.vue"]]),sort_up_vue_vue_type_script_lang_default={name:"SortUp"},_hoisted_1243={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2243=createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248z"},null,-1),_hoisted_3242=[_hoisted_2243];function _sfc_render243(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1243,_hoisted_3242)}var sort_up_default=export_helper_default(sort_up_vue_vue_type_script_lang_default,[["render",_sfc_render243],["__file","sort-up.vue"]]),star_filled_vue_vue_type_script_lang_default={name:"StarFilled"},_hoisted_1246={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2246=createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"},null,-1),_hoisted_3245=[_hoisted_2246];function _sfc_render246(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1246,_hoisted_3245)}var star_filled_default=export_helper_default(star_filled_vue_vue_type_script_lang_default,[["render",_sfc_render246],["__file","star-filled.vue"]]),star_vue_vue_type_script_lang_default={name:"Star"},_hoisted_1247={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2247=createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72L512 747.84zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"},null,-1),_hoisted_3246=[_hoisted_2247];function _sfc_render247(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1247,_hoisted_3246)}var star_default=export_helper_default(star_vue_vue_type_script_lang_default,[["render",_sfc_render247],["__file","star.vue"]]),success_filled_vue_vue_type_script_lang_default={name:"SuccessFilled"},_hoisted_1249={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2249=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),_hoisted_3248=[_hoisted_2249];function _sfc_render249(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1249,_hoisted_3248)}var success_filled_default=export_helper_default(success_filled_vue_vue_type_script_lang_default,[["render",_sfc_render249],["__file","success-filled.vue"]]),view_vue_vue_type_script_lang_default={name:"View"},_hoisted_1283={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2283=createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),_hoisted_3282=[_hoisted_2283];function _sfc_render283(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1283,_hoisted_3282)}var view_default=export_helper_default(view_vue_vue_type_script_lang_default,[["render",_sfc_render283],["__file","view.vue"]]),warning_filled_vue_vue_type_script_lang_default={name:"WarningFilled"},_hoisted_1287={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2287=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),_hoisted_3286=[_hoisted_2287];function _sfc_render287(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1287,_hoisted_3286)}var warning_filled_default=export_helper_default(warning_filled_vue_vue_type_script_lang_default,[["render",_sfc_render287],["__file","warning-filled.vue"]]),zoom_in_vue_vue_type_script_lang_default={name:"ZoomIn"},_hoisted_1292={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2292=createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z"},null,-1),_hoisted_3291=[_hoisted_2292];function _sfc_render292(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1292,_hoisted_3291)}var zoom_in_default=export_helper_default(zoom_in_vue_vue_type_script_lang_default,[["render",_sfc_render292],["__file","zoom-in.vue"]]),zoom_out_vue_vue_type_script_lang_default={name:"ZoomOut"},_hoisted_1293={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2293=createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zM352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),_hoisted_3292=[_hoisted_2293];function _sfc_render293(t,r,V,oe,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1293,_hoisted_3292)}var zoom_out_default=export_helper_default(zoom_out_vue_vue_type_script_lang_default,[["render",_sfc_render293],["__file","zoom-out.vue"]]);const epPropKey="__epPropKey",definePropType=t=>t,isEpProp=t=>isObject$9(t)&&!!t[epPropKey],buildProp=(t,r)=>{if(!isObject$9(t)||isEpProp(t))return t;const{values:V,required:oe,default:ie,type:le,validator:ue}=t,pe={type:le,required:!!oe,validator:V||ue?he=>{let _e=!1,$e=[];if(V&&($e=Array.from(V),hasOwn$4(t,"default")&&$e.push(ie),_e||(_e=$e.includes(he))),ue&&(_e||(_e=ue(he))),!_e&&$e.length>0){const Ie=[...new Set($e)].map(Ve=>JSON.stringify(Ve)).join(", ");warn$2(`Invalid prop: validation failed${r?` for prop "${r}"`:""}. Expected one of [${Ie}], got value ${JSON.stringify(he)}.`)}return _e}:void 0,[epPropKey]:!0};return hasOwn$4(t,"default")&&(pe.default=ie),pe},buildProps=t=>fromPairs(Object.entries(t).map(([r,V])=>[r,buildProp(V,r)])),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},withInstall=(t,r)=>{if(t.install=V=>{for(const oe of[t,...Object.values(r??{})])V.component(oe.name,oe)},r)for(const[V,oe]of Object.entries(r))t[V]=oe;return t},withInstallFunction=(t,r)=>(t.install=V=>{t._context=V._context,V.config.globalProperties[r]=t},t),withInstallDirective=(t,r)=>(t.install=V=>{V.directive(r,t)},t),withNoopInstall=t=>(t.install=NOOP,t),composeRefs=(...t)=>r=>{t.forEach(V=>{isFunction$5(V)?V(r):V.value=r})},EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},datePickTypes=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",INSTALLED_KEY=Symbol("INSTALLED_KEY"),componentSizes=["","default","small","large"],componentSizeMap={large:40,default:32,small:24},getComponentSize=t=>componentSizeMap[t||"default"],isValidComponentSize=t=>["",...componentSizes].includes(t);var PatchFlags=(t=>(t[t.TEXT=1]="TEXT",t[t.CLASS=2]="CLASS",t[t.STYLE=4]="STYLE",t[t.PROPS=8]="PROPS",t[t.FULL_PROPS=16]="FULL_PROPS",t[t.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",t[t.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",t[t.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",t[t.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",t[t.NEED_PATCH=512]="NEED_PATCH",t[t.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",t[t.HOISTED=-1]="HOISTED",t[t.BAIL=-2]="BAIL",t))(PatchFlags||{});function isFragment(t){return isVNode$1(t)&&t.type===Fragment}function isComment(t){return isVNode$1(t)&&t.type===Comment}function isValidElementNode(t){return isVNode$1(t)&&!isFragment(t)&&!isComment(t)}const getNormalizedProps=t=>{if(!isVNode$1(t))return{};const r=t.props||{},V=(isVNode$1(t.type)?t.type.props:void 0)||{},oe={};return Object.keys(V).forEach(ie=>{hasOwn$4(V[ie],"default")&&(oe[ie]=V[ie].default)}),Object.keys(r).forEach(ie=>{oe[camelize(ie)]=r[ie]}),oe},ensureOnlyChild=t=>{if(!isArray$c(t)||t.length>1)throw new Error("expect to receive a single Vue element child");return t[0]},flattedChildren=t=>{const r=isArray$c(t)?t:[t],V=[];return r.forEach(oe=>{var ie;isArray$c(oe)?V.push(...flattedChildren(oe)):isVNode$1(oe)&&isArray$c(oe.children)?V.push(...flattedChildren(oe.children)):(V.push(oe),isVNode$1(oe)&&((ie=oe.component)!=null&&ie.subTree)&&V.push(...flattedChildren(oe.component.subTree)))}),V},unique=t=>[...new Set(t)],castArray=t=>!t&&t!==0?[]:Array.isArray(t)?t:[t],isKorean=t=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t),rAF=t=>isClient$1?window.requestAnimationFrame(t):setTimeout(t,16),cAF=t=>isClient$1?window.cancelAnimationFrame(t):clearTimeout(t),generateId=()=>Math.floor(Math.random()*1e4),mutable=t=>t,DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(t={})=>{const{excludeListeners:r=!1,excludeKeys:V}=t,oe=computed(()=>((V==null?void 0:V.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),ie=getCurrentInstance();return computed(ie?()=>{var le;return fromPairs(Object.entries((le=ie.proxy)==null?void 0:le.$attrs).filter(([ue])=>!oe.value.includes(ue)&&!(r&&LISTENER_PREFIX.test(ue))))}:()=>({}))},useDeprecated=({from:t,replacement:r,scope:V,version:oe,ref:ie,type:le="API"},ue)=>{watch(()=>unref(ue),de=>{},{immediate:!0})},useDraggable=(t,r,V)=>{let oe={offsetX:0,offsetY:0};const ie=de=>{const pe=de.clientX,he=de.clientY,{offsetX:_e,offsetY:$e}=oe,Ie=t.value.getBoundingClientRect(),Ve=Ie.left,Fe=Ie.top,Ue=Ie.width,qe=Ie.height,Et=document.documentElement.clientWidth,At=document.documentElement.clientHeight,Lt=-Ve+_e,hn=-Fe+$e,_n=Et-Ve-Ue+_e,vn=At-Fe-qe+$e,bn=Sn=>{const wn=Math.min(Math.max(_e+Sn.clientX-pe,Lt),_n),En=Math.min(Math.max($e+Sn.clientY-he,hn),vn);oe={offsetX:wn,offsetY:En},t.value.style.transform=`translate(${addUnit(wn)}, ${addUnit(En)})`},Cn=()=>{document.removeEventListener("mousemove",bn),document.removeEventListener("mouseup",Cn)};document.addEventListener("mousemove",bn),document.addEventListener("mouseup",Cn)},le=()=>{r.value&&t.value&&r.value.addEventListener("mousedown",ie)},ue=()=>{r.value&&t.value&&r.value.removeEventListener("mousedown",ie)};onMounted(()=>{watchEffect(()=>{V.value?le():ue()})}),onBeforeUnmount(()=>{ue()})};var English={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const buildTranslator=t=>(r,V)=>translate$2(r,V,unref(t)),translate$2=(t,r,V)=>get$1(V,t,t).replace(/\{(\w+)\}/g,(oe,ie)=>{var le;return`${(le=r==null?void 0:r[ie])!=null?le:`{${ie}}`}`}),buildLocaleContext=t=>{const r=computed(()=>unref(t).name),V=isRef(t)?t:ref(t);return{lang:r,locale:V,t:buildTranslator(t)}},localeContextKey=Symbol("localeContextKey"),useLocale=t=>{const r=t||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>r.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(t,r,V,oe,ie)=>{let le=`${t}-${r}`;return V&&(le+=`-${V}`),oe&&(le+=`__${oe}`),ie&&(le+=`--${ie}`),le},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=t=>{const r=t||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed(()=>unref(r)||defaultNamespace)},useNamespace=(t,r)=>{const V=useGetDerivedNamespace(r);return{namespace:V,b:(Ue="")=>_bem(V.value,t,Ue,"",""),e:Ue=>Ue?_bem(V.value,t,"",Ue,""):"",m:Ue=>Ue?_bem(V.value,t,"","",Ue):"",be:(Ue,qe)=>Ue&&qe?_bem(V.value,t,Ue,qe,""):"",em:(Ue,qe)=>Ue&&qe?_bem(V.value,t,"",Ue,qe):"",bm:(Ue,qe)=>Ue&&qe?_bem(V.value,t,Ue,"",qe):"",bem:(Ue,qe,Et)=>Ue&&qe&&Et?_bem(V.value,t,Ue,qe,Et):"",is:(Ue,...qe)=>{const Et=qe.length>=1?qe[0]:!0;return Ue&&Et?`${statePrefix}${Ue}`:""},cssVar:Ue=>{const qe={};for(const Et in Ue)Ue[Et]&&(qe[`--${V.value}-${Et}`]=Ue[Et]);return qe},cssVarName:Ue=>`--${V.value}-${Ue}`,cssVarBlock:Ue=>{const qe={};for(const Et in Ue)Ue[Et]&&(qe[`--${V.value}-${t}-${Et}`]=Ue[Et]);return qe},cssVarBlockName:Ue=>`--${V.value}-${t}-${Ue}`}},useLockscreen=(t,r={})=>{isRef(t)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const V=r.ns||useNamespace("popup"),oe=computed$1(()=>V.bm("parent","hidden"));if(!isClient$1||hasClass(document.body,oe.value))return;let ie=0,le=!1,ue="0";const de=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,oe.value),le&&document&&(document.body.style.width=ue)},200)};watch(t,pe=>{if(!pe){de();return}le=!hasClass(document.body,oe.value),le&&(ue=document.body.style.width),ie=getScrollBarWidth(V.namespace.value);const he=document.documentElement.clientHeight<document.body.scrollHeight,_e=getStyle$1(document.body,"overflowY");ie>0&&(he||_e==="scroll")&&le&&(document.body.style.width=`calc(100% - ${ie}px)`),addClass(document.body,oe.value)}),onScopeDispose(()=>de())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=t=>{const r=`update:${t}`,V=`onUpdate:${t}`,oe=[r],ie={[t]:_prop,[V]:_event};return{useModelToggle:({indicator:ue,toggleReason:de,shouldHideWhenRouteChanges:pe,shouldProceed:he,onShow:_e,onHide:$e})=>{const Ie=getCurrentInstance(),{emit:Ve}=Ie,Fe=Ie.props,Ue=computed(()=>isFunction$5(Fe[V])),qe=computed(()=>Fe[t]===null),Et=bn=>{ue.value!==!0&&(ue.value=!0,de&&(de.value=bn),isFunction$5(_e)&&_e(bn))},At=bn=>{ue.value!==!1&&(ue.value=!1,de&&(de.value=bn),isFunction$5($e)&&$e(bn))},Lt=bn=>{if(Fe.disabled===!0||isFunction$5(he)&&!he())return;const Cn=Ue.value&&isClient$1;Cn&&Ve(r,!0),(qe.value||!Cn)&&Et(bn)},hn=bn=>{if(Fe.disabled===!0||!isClient$1)return;const Cn=Ue.value&&isClient$1;Cn&&Ve(r,!1),(qe.value||!Cn)&&At(bn)},_n=bn=>{isBoolean$3(bn)&&(Fe.disabled&&bn?Ue.value&&Ve(r,!1):ue.value!==bn&&(bn?Et():At()))},vn=()=>{ue.value?hn():Lt()};return watch(()=>Fe[t],_n),pe&&Ie.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...Ie.proxy.$route}),()=>{pe.value&&ue.value&&hn()}),onMounted(()=>{_n(Fe[t])}),{hide:hn,show:Lt,toggle:vn,hasUpdateHandler:Ue}},useModelToggleProps:ie,useModelToggleEmits:oe}};createModelToggleComposable("modelValue");const useProp=t=>{const r=getCurrentInstance();return computed(()=>{var V,oe;return(oe=(V=r==null?void 0:r.proxy)==null?void 0:V.$props)==null?void 0:oe[t]})};var E$1="top",R$1="bottom",W$1="right",P$2="left",me="auto",G$1=[E$1,R$1,W$1,P$2],U$2="start",J$1="end",Xe="clippingParents",je$1="viewport",K="popper",Ye="reference",De=G$1.reduce(function(t,r){return t.concat([r+"-"+U$2,r+"-"+J$1])},[]),Ee=[].concat(G$1,[me]).reduce(function(t,r){return t.concat([r,r+"-"+U$2,r+"-"+J$1])},[]),Ge$1="beforeRead",Je="read",Ke="afterRead",Qe$1="beforeMain",Ze$1="main",et$1="afterMain",tt="beforeWrite",nt$1="write",rt$2="afterWrite",ot$1=[Ge$1,Je,Ke,Qe$1,Ze$1,et$1,tt,nt$1,rt$2];function C(t){return t?(t.nodeName||"").toLowerCase():null}function H$1(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function Q$1(t){var r=H$1(t).Element;return t instanceof r||t instanceof Element}function B$1(t){var r=H$1(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function Pe$1(t){if(typeof ShadowRoot>"u")return!1;var r=H$1(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function Mt$1(t){var r=t.state;Object.keys(r.elements).forEach(function(V){var oe=r.styles[V]||{},ie=r.attributes[V]||{},le=r.elements[V];!B$1(le)||!C(le)||(Object.assign(le.style,oe),Object.keys(ie).forEach(function(ue){var de=ie[ue];de===!1?le.removeAttribute(ue):le.setAttribute(ue,de===!0?"":de)}))})}function Rt(t){var r=t.state,V={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,V.popper),r.styles=V,r.elements.arrow&&Object.assign(r.elements.arrow.style,V.arrow),function(){Object.keys(r.elements).forEach(function(oe){var ie=r.elements[oe],le=r.attributes[oe]||{},ue=Object.keys(r.styles.hasOwnProperty(oe)?r.styles[oe]:V[oe]),de=ue.reduce(function(pe,he){return pe[he]="",pe},{});!B$1(ie)||!C(ie)||(Object.assign(ie.style,de),Object.keys(le).forEach(function(pe){ie.removeAttribute(pe)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt$1,effect:Rt,requires:["computeStyles"]};function q$2(t){return t.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee$1(t,r){r===void 0&&(r=!1);var V=t.getBoundingClientRect(),oe=1,ie=1;if(B$1(t)&&r){var le=t.offsetHeight,ue=t.offsetWidth;ue>0&&(oe=Z(V.width)/ue||1),le>0&&(ie=Z(V.height)/le||1)}return{width:V.width/oe,height:V.height/ie,top:V.top/ie,right:V.right/oe,bottom:V.bottom/ie,left:V.left/oe,x:V.left/oe,y:V.top/ie}}function ke(t){var r=ee$1(t),V=t.offsetWidth,oe=t.offsetHeight;return Math.abs(r.width-V)<=1&&(V=r.width),Math.abs(r.height-oe)<=1&&(oe=r.height),{x:t.offsetLeft,y:t.offsetTop,width:V,height:oe}}function it(t,r){var V=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(V&&Pe$1(V)){var oe=r;do{if(oe&&t.isSameNode(oe))return!0;oe=oe.parentNode||oe.host}while(oe)}return!1}function N$2(t){return H$1(t).getComputedStyle(t)}function Wt$1(t){return["table","td","th"].indexOf(C(t))>=0}function I$2(t){return((Q$1(t)?t.ownerDocument:t.document)||window.document).documentElement}function ge(t){return C(t)==="html"?t:t.assignedSlot||t.parentNode||(Pe$1(t)?t.host:null)||I$2(t)}function at$1(t){return!B$1(t)||N$2(t).position==="fixed"?null:t.offsetParent}function Bt$1(t){var r=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,V=navigator.userAgent.indexOf("Trident")!==-1;if(V&&B$1(t)){var oe=N$2(t);if(oe.position==="fixed")return null}var ie=ge(t);for(Pe$1(ie)&&(ie=ie.host);B$1(ie)&&["html","body"].indexOf(C(ie))<0;){var le=N$2(ie);if(le.transform!=="none"||le.perspective!=="none"||le.contain==="paint"||["transform","perspective"].indexOf(le.willChange)!==-1||r&&le.willChange==="filter"||r&&le.filter&&le.filter!=="none")return ie;ie=ie.parentNode}return null}function se$1(t){for(var r=H$1(t),V=at$1(t);V&&Wt$1(V)&&N$2(V).position==="static";)V=at$1(V);return V&&(C(V)==="html"||C(V)==="body"&&N$2(V).position==="static")?r:V||Bt$1(t)||r}function Le$1(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function fe(t,r,V){return X$1(t,ve(r,V))}function St$1(t,r,V){var oe=fe(t,r,V);return oe>V?V:oe}function st$1(){return{top:0,right:0,bottom:0,left:0}}function ft$1(t){return Object.assign({},st$1(),t)}function ct$1(t,r){return r.reduce(function(V,oe){return V[oe]=t,V},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ft$1(typeof t!="number"?t:ct$1(t,G$1))};function Ht$1(t){var r,V=t.state,oe=t.name,ie=t.options,le=V.elements.arrow,ue=V.modifiersData.popperOffsets,de=q$2(V.placement),pe=Le$1(de),he=[P$2,W$1].indexOf(de)>=0,_e=he?"height":"width";if(!(!le||!ue)){var $e=Tt(ie.padding,V),Ie=ke(le),Ve=pe==="y"?E$1:P$2,Fe=pe==="y"?R$1:W$1,Ue=V.rects.reference[_e]+V.rects.reference[pe]-ue[pe]-V.rects.popper[_e],qe=ue[pe]-V.rects.reference[pe],Et=se$1(le),At=Et?pe==="y"?Et.clientHeight||0:Et.clientWidth||0:0,Lt=Ue/2-qe/2,hn=$e[Ve],_n=At-Ie[_e]-$e[Fe],vn=At/2-Ie[_e]/2+Lt,bn=fe(hn,vn,_n),Cn=pe;V.modifiersData[oe]=(r={},r[Cn]=bn,r.centerOffset=bn-vn,r)}}function Ct$1(t){var r=t.state,V=t.options,oe=V.element,ie=oe===void 0?"[data-popper-arrow]":oe;ie!=null&&(typeof ie=="string"&&(ie=r.elements.popper.querySelector(ie),!ie)||!it(r.elements.popper,ie)||(r.elements.arrow=ie))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht$1,effect:Ct$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(t){return t.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt$1(t){var r=t.x,V=t.y,oe=window,ie=oe.devicePixelRatio||1;return{x:Z(r*ie)/ie||0,y:Z(V*ie)/ie||0}}function ut(t){var r,V=t.popper,oe=t.popperRect,ie=t.placement,le=t.variation,ue=t.offsets,de=t.position,pe=t.gpuAcceleration,he=t.adaptive,_e=t.roundOffsets,$e=t.isFixed,Ie=ue.x,Ve=Ie===void 0?0:Ie,Fe=ue.y,Ue=Fe===void 0?0:Fe,qe=typeof _e=="function"?_e({x:Ve,y:Ue}):{x:Ve,y:Ue};Ve=qe.x,Ue=qe.y;var Et=ue.hasOwnProperty("x"),At=ue.hasOwnProperty("y"),Lt=P$2,hn=E$1,_n=window;if(he){var vn=se$1(V),bn="clientHeight",Cn="clientWidth";if(vn===H$1(V)&&(vn=I$2(V),N$2(vn).position!=="static"&&de==="absolute"&&(bn="scrollHeight",Cn="scrollWidth")),vn=vn,ie===E$1||(ie===P$2||ie===W$1)&&le===J$1){hn=R$1;var Sn=$e&&vn===_n&&_n.visualViewport?_n.visualViewport.height:vn[bn];Ue-=Sn-oe.height,Ue*=pe?1:-1}if(ie===P$2||(ie===E$1||ie===R$1)&&le===J$1){Lt=W$1;var wn=$e&&vn===_n&&_n.visualViewport?_n.visualViewport.width:vn[Cn];Ve-=wn-oe.width,Ve*=pe?1:-1}}var En=Object.assign({position:de},he&&qt),xn=_e===!0?Vt$1({x:Ve,y:Ue}):{x:Ve,y:Ue};if(Ve=xn.x,Ue=xn.y,pe){var Pn;return Object.assign({},En,(Pn={},Pn[hn]=At?"0":"",Pn[Lt]=Et?"0":"",Pn.transform=(_n.devicePixelRatio||1)<=1?"translate("+Ve+"px, "+Ue+"px)":"translate3d("+Ve+"px, "+Ue+"px, 0)",Pn))}return Object.assign({},En,(r={},r[hn]=At?Ue+"px":"",r[Lt]=Et?Ve+"px":"",r.transform="",r))}function Nt$1(t){var r=t.state,V=t.options,oe=V.gpuAcceleration,ie=oe===void 0?!0:oe,le=V.adaptive,ue=le===void 0?!0:le,de=V.roundOffsets,pe=de===void 0?!0:de,he={placement:q$2(r.placement),variation:te(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:ie,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,ut(Object.assign({},he,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:ue,roundOffsets:pe})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,ut(Object.assign({},he,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:pe})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt$1,data:{}},ye={passive:!0};function It$1(t){var r=t.state,V=t.instance,oe=t.options,ie=oe.scroll,le=ie===void 0?!0:ie,ue=oe.resize,de=ue===void 0?!0:ue,pe=H$1(r.elements.popper),he=[].concat(r.scrollParents.reference,r.scrollParents.popper);return le&&he.forEach(function(_e){_e.addEventListener("scroll",V.update,ye)}),de&&pe.addEventListener("resize",V.update,ye),function(){le&&he.forEach(function(_e){_e.removeEventListener("scroll",V.update,ye)}),de&&pe.removeEventListener("resize",V.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It$1,data:{}},_t$1={left:"right",right:"left",bottom:"top",top:"bottom"};function be(t){return t.replace(/left|right|bottom|top/g,function(r){return _t$1[r]})}var zt$1={start:"end",end:"start"};function lt$2(t){return t.replace(/start|end/g,function(r){return zt$1[r]})}function We(t){var r=H$1(t),V=r.pageXOffset,oe=r.pageYOffset;return{scrollLeft:V,scrollTop:oe}}function Be$2(t){return ee$1(I$2(t)).left+We(t).scrollLeft}function Ft$1(t){var r=H$1(t),V=I$2(t),oe=r.visualViewport,ie=V.clientWidth,le=V.clientHeight,ue=0,de=0;return oe&&(ie=oe.width,le=oe.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(ue=oe.offsetLeft,de=oe.offsetTop)),{width:ie,height:le,x:ue+Be$2(t),y:de}}function Ut$1(t){var r,V=I$2(t),oe=We(t),ie=(r=t.ownerDocument)==null?void 0:r.body,le=X$1(V.scrollWidth,V.clientWidth,ie?ie.scrollWidth:0,ie?ie.clientWidth:0),ue=X$1(V.scrollHeight,V.clientHeight,ie?ie.scrollHeight:0,ie?ie.clientHeight:0),de=-oe.scrollLeft+Be$2(t),pe=-oe.scrollTop;return N$2(ie||V).direction==="rtl"&&(de+=X$1(V.clientWidth,ie?ie.clientWidth:0)-le),{width:le,height:ue,x:de,y:pe}}function Se$1(t){var r=N$2(t),V=r.overflow,oe=r.overflowX,ie=r.overflowY;return/auto|scroll|overlay|hidden/.test(V+ie+oe)}function dt$1(t){return["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:B$1(t)&&Se$1(t)?t:dt$1(ge(t))}function ce(t,r){var V;r===void 0&&(r=[]);var oe=dt$1(t),ie=oe===((V=t.ownerDocument)==null?void 0:V.body),le=H$1(oe),ue=ie?[le].concat(le.visualViewport||[],Se$1(oe)?oe:[]):oe,de=r.concat(ue);return ie?de:de.concat(ce(ge(ue)))}function Te$1(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Xt$1(t){var r=ee$1(t);return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function ht(t,r){return r===je$1?Te$1(Ft$1(t)):Q$1(r)?Xt$1(r):Te$1(Ut$1(I$2(t)))}function Yt(t){var r=ce(ge(t)),V=["absolute","fixed"].indexOf(N$2(t).position)>=0,oe=V&&B$1(t)?se$1(t):t;return Q$1(oe)?r.filter(function(ie){return Q$1(ie)&&it(ie,oe)&&C(ie)!=="body"}):[]}function Gt(t,r,V){var oe=r==="clippingParents"?Yt(t):[].concat(r),ie=[].concat(oe,[V]),le=ie[0],ue=ie.reduce(function(de,pe){var he=ht(t,pe);return de.top=X$1(he.top,de.top),de.right=ve(he.right,de.right),de.bottom=ve(he.bottom,de.bottom),de.left=X$1(he.left,de.left),de},ht(t,le));return ue.width=ue.right-ue.left,ue.height=ue.bottom-ue.top,ue.x=ue.left,ue.y=ue.top,ue}function mt$1(t){var r=t.reference,V=t.element,oe=t.placement,ie=oe?q$2(oe):null,le=oe?te(oe):null,ue=r.x+r.width/2-V.width/2,de=r.y+r.height/2-V.height/2,pe;switch(ie){case E$1:pe={x:ue,y:r.y-V.height};break;case R$1:pe={x:ue,y:r.y+r.height};break;case W$1:pe={x:r.x+r.width,y:de};break;case P$2:pe={x:r.x-V.width,y:de};break;default:pe={x:r.x,y:r.y}}var he=ie?Le$1(ie):null;if(he!=null){var _e=he==="y"?"height":"width";switch(le){case U$2:pe[he]=pe[he]-(r[_e]/2-V[_e]/2);break;case J$1:pe[he]=pe[he]+(r[_e]/2-V[_e]/2);break}}return pe}function ne(t,r){r===void 0&&(r={});var V=r,oe=V.placement,ie=oe===void 0?t.placement:oe,le=V.boundary,ue=le===void 0?Xe:le,de=V.rootBoundary,pe=de===void 0?je$1:de,he=V.elementContext,_e=he===void 0?K:he,$e=V.altBoundary,Ie=$e===void 0?!1:$e,Ve=V.padding,Fe=Ve===void 0?0:Ve,Ue=ft$1(typeof Fe!="number"?Fe:ct$1(Fe,G$1)),qe=_e===K?Ye:K,Et=t.rects.popper,At=t.elements[Ie?qe:_e],Lt=Gt(Q$1(At)?At:At.contextElement||I$2(t.elements.popper),ue,pe),hn=ee$1(t.elements.reference),_n=mt$1({reference:hn,element:Et,strategy:"absolute",placement:ie}),vn=Te$1(Object.assign({},Et,_n)),bn=_e===K?vn:hn,Cn={top:Lt.top-bn.top+Ue.top,bottom:bn.bottom-Lt.bottom+Ue.bottom,left:Lt.left-bn.left+Ue.left,right:bn.right-Lt.right+Ue.right},Sn=t.modifiersData.offset;if(_e===K&&Sn){var wn=Sn[ie];Object.keys(Cn).forEach(function(En){var xn=[W$1,R$1].indexOf(En)>=0?1:-1,Pn=[E$1,R$1].indexOf(En)>=0?"y":"x";Cn[En]+=wn[Pn]*xn})}return Cn}function Jt(t,r){r===void 0&&(r={});var V=r,oe=V.placement,ie=V.boundary,le=V.rootBoundary,ue=V.padding,de=V.flipVariations,pe=V.allowedAutoPlacements,he=pe===void 0?Ee:pe,_e=te(oe),$e=_e?de?De:De.filter(function(Fe){return te(Fe)===_e}):G$1,Ie=$e.filter(function(Fe){return he.indexOf(Fe)>=0});Ie.length===0&&(Ie=$e);var Ve=Ie.reduce(function(Fe,Ue){return Fe[Ue]=ne(t,{placement:Ue,boundary:ie,rootBoundary:le,padding:ue})[q$2(Ue)],Fe},{});return Object.keys(Ve).sort(function(Fe,Ue){return Ve[Fe]-Ve[Ue]})}function Kt(t){if(q$2(t)===me)return[];var r=be(t);return[lt$2(t),r,lt$2(r)]}function Qt(t){var r=t.state,V=t.options,oe=t.name;if(!r.modifiersData[oe]._skip){for(var ie=V.mainAxis,le=ie===void 0?!0:ie,ue=V.altAxis,de=ue===void 0?!0:ue,pe=V.fallbackPlacements,he=V.padding,_e=V.boundary,$e=V.rootBoundary,Ie=V.altBoundary,Ve=V.flipVariations,Fe=Ve===void 0?!0:Ve,Ue=V.allowedAutoPlacements,qe=r.options.placement,Et=q$2(qe),At=Et===qe,Lt=pe||(At||!Fe?[be(qe)]:Kt(qe)),hn=[qe].concat(Lt).reduce(function(tr,yr){return tr.concat(q$2(yr)===me?Jt(r,{placement:yr,boundary:_e,rootBoundary:$e,padding:he,flipVariations:Fe,allowedAutoPlacements:Ue}):yr)},[]),_n=r.rects.reference,vn=r.rects.popper,bn=new Map,Cn=!0,Sn=hn[0],wn=0;wn<hn.length;wn++){var En=hn[wn],xn=q$2(En),Pn=te(En)===U$2,kn=[E$1,R$1].indexOf(xn)>=0,Nn=kn?"width":"height",Dn=ne(r,{placement:En,boundary:_e,rootBoundary:$e,altBoundary:Ie,padding:he}),Mn=kn?Pn?W$1:P$2:Pn?R$1:E$1;_n[Nn]>vn[Nn]&&(Mn=be(Mn));var Ln=be(Mn),An=[];if(le&&An.push(Dn[xn]<=0),de&&An.push(Dn[Mn]<=0,Dn[Ln]<=0),An.every(function(tr){return tr})){Sn=En,Cn=!1;break}bn.set(En,An)}if(Cn)for(var Vn=Fe?3:1,Wn=function(tr){var yr=hn.find(function(Jn){var Kn=bn.get(Jn);if(Kn)return Kn.slice(0,tr).every(function(Gn){return Gn})});if(yr)return Sn=yr,"break"},Fn=Vn;Fn>0;Fn--){var Yn=Wn(Fn);if(Yn==="break")break}r.placement!==Sn&&(r.modifiersData[oe]._skip=!0,r.placement=Sn,r.reset=!0)}}var vt$1={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt$1(t,r,V){return V===void 0&&(V={x:0,y:0}),{top:t.top-r.height-V.y,right:t.right-r.width+V.x,bottom:t.bottom-r.height+V.y,left:t.left-r.width-V.x}}function yt(t){return[E$1,W$1,R$1,P$2].some(function(r){return t[r]>=0})}function Zt$1(t){var r=t.state,V=t.name,oe=r.rects.reference,ie=r.rects.popper,le=r.modifiersData.preventOverflow,ue=ne(r,{elementContext:"reference"}),de=ne(r,{altBoundary:!0}),pe=gt$1(ue,oe),he=gt$1(de,ie,le),_e=yt(pe),$e=yt(he);r.modifiersData[V]={referenceClippingOffsets:pe,popperEscapeOffsets:he,isReferenceHidden:_e,hasPopperEscaped:$e},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":_e,"data-popper-escaped":$e})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt$1};function en$2(t,r,V){var oe=q$2(t),ie=[P$2,E$1].indexOf(oe)>=0?-1:1,le=typeof V=="function"?V(Object.assign({},r,{placement:t})):V,ue=le[0],de=le[1];return ue=ue||0,de=(de||0)*ie,[P$2,W$1].indexOf(oe)>=0?{x:de,y:ue}:{x:ue,y:de}}function tn$1(t){var r=t.state,V=t.options,oe=t.name,ie=V.offset,le=ie===void 0?[0,0]:ie,ue=Ee.reduce(function(_e,$e){return _e[$e]=en$2($e,r.rects,le),_e},{}),de=ue[r.placement],pe=de.x,he=de.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=pe,r.modifiersData.popperOffsets.y+=he),r.modifiersData[oe]=ue}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn$1};function nn(t){var r=t.state,V=t.name;r.modifiersData[V]=mt$1({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var He$1={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn$1(t){return t==="x"?"y":"x"}function on(t){var r=t.state,V=t.options,oe=t.name,ie=V.mainAxis,le=ie===void 0?!0:ie,ue=V.altAxis,de=ue===void 0?!1:ue,pe=V.boundary,he=V.rootBoundary,_e=V.altBoundary,$e=V.padding,Ie=V.tether,Ve=Ie===void 0?!0:Ie,Fe=V.tetherOffset,Ue=Fe===void 0?0:Fe,qe=ne(r,{boundary:pe,rootBoundary:he,padding:$e,altBoundary:_e}),Et=q$2(r.placement),At=te(r.placement),Lt=!At,hn=Le$1(Et),_n=rn$1(hn),vn=r.modifiersData.popperOffsets,bn=r.rects.reference,Cn=r.rects.popper,Sn=typeof Ue=="function"?Ue(Object.assign({},r.rects,{placement:r.placement})):Ue,wn=typeof Sn=="number"?{mainAxis:Sn,altAxis:Sn}:Object.assign({mainAxis:0,altAxis:0},Sn),En=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,xn={x:0,y:0};if(vn){if(le){var Pn,kn=hn==="y"?E$1:P$2,Nn=hn==="y"?R$1:W$1,Dn=hn==="y"?"height":"width",Mn=vn[hn],Ln=Mn+qe[kn],An=Mn-qe[Nn],Vn=Ve?-Cn[Dn]/2:0,Wn=At===U$2?bn[Dn]:Cn[Dn],Fn=At===U$2?-Cn[Dn]:-bn[Dn],Yn=r.elements.arrow,tr=Ve&&Yn?ke(Yn):{width:0,height:0},yr=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:st$1(),Jn=yr[kn],Kn=yr[Nn],Gn=fe(0,bn[Dn],tr[Dn]),Qn=Lt?bn[Dn]/2-Vn-Gn-Jn-wn.mainAxis:Wn-Gn-Jn-wn.mainAxis,ur=Lt?-bn[Dn]/2+Vn+Gn+Kn+wn.mainAxis:Fn+Gn+Kn+wn.mainAxis,cr=r.elements.arrow&&se$1(r.elements.arrow),Un=cr?hn==="y"?cr.clientTop||0:cr.clientLeft||0:0,qn=(Pn=En==null?void 0:En[hn])!=null?Pn:0,er=Mn+Qn-qn-Un,pr=Mn+ur-qn,Er=fe(Ve?ve(Ln,er):Ln,Mn,Ve?X$1(An,pr):An);vn[hn]=Er,xn[hn]=Er-Mn}if(de){var dr,xr=hn==="x"?E$1:P$2,wr=hn==="x"?R$1:W$1,Cr=vn[_n],gr=_n==="y"?"height":"width",or=Cr+qe[xr],fr=Cr-qe[wr],kr=[E$1,P$2].indexOf(Et)!==-1,br=(dr=En==null?void 0:En[_n])!=null?dr:0,Ar=kr?or:Cr-bn[gr]-Cn[gr]-br+wn.altAxis,Dr=kr?Cr+bn[gr]+Cn[gr]-br-wn.altAxis:fr,Br=Ve&&kr?St$1(Ar,Cr,Dr):fe(Ve?Ar:or,Cr,Ve?Dr:fr);vn[_n]=Br,xn[_n]=Br-Cr}r.modifiersData[oe]=xn}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function sn(t){return t===H$1(t)||!B$1(t)?We(t):an(t)}function fn(t){var r=t.getBoundingClientRect(),V=Z(r.width)/t.offsetWidth||1,oe=Z(r.height)/t.offsetHeight||1;return V!==1||oe!==1}function cn(t,r,V){V===void 0&&(V=!1);var oe=B$1(r),ie=B$1(r)&&fn(r),le=I$2(r),ue=ee$1(t,ie),de={scrollLeft:0,scrollTop:0},pe={x:0,y:0};return(oe||!oe&&!V)&&((C(r)!=="body"||Se$1(le))&&(de=sn(r)),B$1(r)?(pe=ee$1(r,!0),pe.x+=r.clientLeft,pe.y+=r.clientTop):le&&(pe.x=Be$2(le))),{x:ue.left+de.scrollLeft-pe.x,y:ue.top+de.scrollTop-pe.y,width:ue.width,height:ue.height}}function pn(t){var r=new Map,V=new Set,oe=[];t.forEach(function(le){r.set(le.name,le)});function ie(le){V.add(le.name);var ue=[].concat(le.requires||[],le.requiresIfExists||[]);ue.forEach(function(de){if(!V.has(de)){var pe=r.get(de);pe&&ie(pe)}}),oe.push(le)}return t.forEach(function(le){V.has(le.name)||ie(le)}),oe}function un(t){var r=pn(t);return ot$1.reduce(function(V,oe){return V.concat(r.filter(function(ie){return ie.phase===oe}))},[])}function ln(t){var r;return function(){return r||(r=new Promise(function(V){Promise.resolve().then(function(){r=void 0,V(t())})})),r}}function dn(t){var r=t.reduce(function(V,oe){var ie=V[oe.name];return V[oe.name]=ie?Object.assign({},ie,oe,{options:Object.assign({},ie.options,oe.options),data:Object.assign({},ie.data,oe.data)}):oe,V},{});return Object.keys(r).map(function(V){return r[V]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t$2(){for(var t=arguments.length,r=new Array(t),V=0;V<t;V++)r[V]=arguments[V];return!r.some(function(oe){return!(oe&&typeof oe.getBoundingClientRect=="function")})}function we$1(t){t===void 0&&(t={});var r=t,V=r.defaultModifiers,oe=V===void 0?[]:V,ie=r.defaultOptions,le=ie===void 0?Ot:ie;return function(ue,de,pe){pe===void 0&&(pe=le);var he={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,le),modifiersData:{},elements:{reference:ue,popper:de},attributes:{},styles:{}},_e=[],$e=!1,Ie={state:he,setOptions:function(Ue){var qe=typeof Ue=="function"?Ue(he.options):Ue;Fe(),he.options=Object.assign({},le,he.options,qe),he.scrollParents={reference:Q$1(ue)?ce(ue):ue.contextElement?ce(ue.contextElement):[],popper:ce(de)};var Et=un(dn([].concat(oe,he.options.modifiers)));return he.orderedModifiers=Et.filter(function(At){return At.enabled}),Ve(),Ie.update()},forceUpdate:function(){if(!$e){var Ue=he.elements,qe=Ue.reference,Et=Ue.popper;if($t$2(qe,Et)){he.rects={reference:cn(qe,se$1(Et),he.options.strategy==="fixed"),popper:ke(Et)},he.reset=!1,he.placement=he.options.placement,he.orderedModifiers.forEach(function(Cn){return he.modifiersData[Cn.name]=Object.assign({},Cn.data)});for(var At=0;At<he.orderedModifiers.length;At++){if(he.reset===!0){he.reset=!1,At=-1;continue}var Lt=he.orderedModifiers[At],hn=Lt.fn,_n=Lt.options,vn=_n===void 0?{}:_n,bn=Lt.name;typeof hn=="function"&&(he=hn({state:he,options:vn,name:bn,instance:Ie})||he)}}}},update:ln(function(){return new Promise(function(Ue){Ie.forceUpdate(),Ue(he)})}),destroy:function(){Fe(),$e=!0}};if(!$t$2(ue,de))return Ie;Ie.setOptions(pe).then(function(Ue){!$e&&pe.onFirstUpdate&&pe.onFirstUpdate(Ue)});function Ve(){he.orderedModifiers.forEach(function(Ue){var qe=Ue.name,Et=Ue.options,At=Et===void 0?{}:Et,Lt=Ue.effect;if(typeof Lt=="function"){var hn=Lt({state:he,name:qe,instance:Ie,options:At}),_n=function(){};_e.push(hn||_n)}})}function Fe(){_e.forEach(function(Ue){return Ue()}),_e=[]}return Ie}}we$1();var mn=[Re,He$1,Me,Ae];we$1({defaultModifiers:mn});var gn=[Re,He$1,Me,Ae,wt,vt$1,xt,pt,bt],yn=we$1({defaultModifiers:gn});const usePopper=(t,r,V={})=>{const oe={name:"updateState",enabled:!0,phase:"write",fn:({state:pe})=>{const he=deriveState(pe);Object.assign(ue.value,he)},requires:["computeStyles"]},ie=computed(()=>{const{onFirstUpdate:pe,placement:he,strategy:_e,modifiers:$e}=unref(V);return{onFirstUpdate:pe,placement:he||"bottom",strategy:_e||"absolute",modifiers:[...$e||[],oe,{name:"applyStyles",enabled:!1}]}}),le=shallowRef(),ue=ref({styles:{popper:{position:unref(ie).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),de=()=>{le.value&&(le.value.destroy(),le.value=void 0)};return watch(ie,pe=>{const he=unref(le);he&&he.setOptions(pe)},{deep:!0}),watch([t,r],([pe,he])=>{de(),!(!pe||!he)&&(le.value=yn(pe,he,unref(ie)))}),onBeforeUnmount(()=>{de()}),{state:computed(()=>{var pe;return{...((pe=unref(le))==null?void 0:pe.state)||{}}}),styles:computed(()=>unref(ue).styles),attributes:computed(()=>unref(ue).attributes),update:()=>{var pe;return(pe=unref(le))==null?void 0:pe.update()},forceUpdate:()=>{var pe;return(pe=unref(le))==null?void 0:pe.forceUpdate()},instanceRef:computed(()=>unref(le))}};function deriveState(t){const r=Object.keys(t.elements),V=fromPairs(r.map(ie=>[ie,t.styles[ie]||{}])),oe=fromPairs(r.map(ie=>[ie,t.attributes[ie]]));return{styles:V,attributes:oe}}const useSameTarget=t=>{if(!t)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let r=!1,V=!1;return{onClick:ue=>{r&&V&&t(ue),r=V=!1},onMousedown:ue=>{r=ue.target===ue.currentTarget},onMouseup:ue=>{V=ue.target===ue.currentTarget}}},useThrottleRender=(t,r=0)=>{if(r===0)return t;const V=ref(!1);let oe=0;const ie=()=>{oe&&clearTimeout(oe),oe=window.setTimeout(()=>{V.value=t.value},r)};return onMounted(ie),watch(()=>t.value,le=>{le?ie():V.value=le}),V};function useTimeout(){let t;const r=(oe,ie)=>{V(),t=window.setTimeout(oe,ie)},V=()=>window.clearTimeout(t);return tryOnScopeDispose$1(()=>V()),{registerTimeout:r,cancelTimeout:V}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=t=>{const r=useIdInjection(),V=useGetDerivedNamespace();return computed(()=>unref(t)||`${V.value}-id-${r.prefix}-${r.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=t=>{const r=t;r.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(V=>V(r))},useEscapeKeydown=t=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push(t)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(r=>r!==t),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const t=useGetDerivedNamespace(),r=useIdInjection(),V=computed(()=>`${t.value}-popper-container-${r.prefix}`),oe=computed(()=>`#${V.value}`);return{id:V,selector:oe}},createContainer=t=>{const r=document.createElement("div");return r.id=t,document.body.appendChild(r),r},usePopperContainer=()=>{const{id:t,selector:r}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&!cachedContainer&&!document.body.querySelector(r.value)&&(cachedContainer=createContainer(t.value))}),{id:t,selector:r}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:t,hideAfter:r,autoClose:V,open:oe,close:ie})=>{const{registerTimeout:le}=useTimeout(),{registerTimeout:ue,cancelTimeout:de}=useTimeout();return{onOpen:_e=>{le(()=>{oe(_e);const $e=unref(V);isNumber$4($e)&&$e>0&&ue(()=>{ie(_e)},$e)},unref(t))},onClose:_e=>{de(),le(()=>{ie(_e)},unref(r))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=t=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:V=>{t.value=V}})},useForwardRefDirective=t=>({mounted(r){t(r)},updated(r){t(r)},unmounted(){t(null)}}),zIndex=ref(0),defaultInitialZIndex=2e3,zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=t=>{const r=t||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),V=computed(()=>{const le=unref(r);return isNumber$4(le)?le:defaultInitialZIndex}),oe=computed(()=>V.value+zIndex.value);return{initialZIndex:V,currentZIndex:oe,nextZIndex:()=>(zIndex.value++,oe.value)}},min$3=Math.min,max$3=Math.max,round$2=Math.round,createCoords=t=>({x:t,y:t});function clamp$3(t,r,V){return max$3(t,min$3(r,V))}function evaluate(t,r){return typeof t=="function"?t(r):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return t==="x"?"y":"x"}function getAxisLength(t){return t==="y"?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return typeof t!="number"?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function computeCoordsFromPlacement(t,r,V){let{reference:oe,floating:ie}=t;const le=getSideAxis(r),ue=getAlignmentAxis(r),de=getAxisLength(ue),pe=getSide(r),he=le==="y",_e=oe.x+oe.width/2-ie.width/2,$e=oe.y+oe.height/2-ie.height/2,Ie=oe[de]/2-ie[de]/2;let Ve;switch(pe){case"top":Ve={x:_e,y:oe.y-ie.height};break;case"bottom":Ve={x:_e,y:oe.y+oe.height};break;case"right":Ve={x:oe.x+oe.width,y:$e};break;case"left":Ve={x:oe.x-ie.width,y:$e};break;default:Ve={x:oe.x,y:oe.y}}switch(getAlignment(r)){case"start":Ve[ue]-=Ie*(V&&he?-1:1);break;case"end":Ve[ue]+=Ie*(V&&he?-1:1);break}return Ve}const computePosition$1=async(t,r,V)=>{const{placement:oe="bottom",strategy:ie="absolute",middleware:le=[],platform:ue}=V,de=le.filter(Boolean),pe=await(ue.isRTL==null?void 0:ue.isRTL(r));let he=await ue.getElementRects({reference:t,floating:r,strategy:ie}),{x:_e,y:$e}=computeCoordsFromPlacement(he,oe,pe),Ie=oe,Ve={},Fe=0;for(let Ue=0;Ue<de.length;Ue++){const{name:qe,fn:Et}=de[Ue],{x:At,y:Lt,data:hn,reset:_n}=await Et({x:_e,y:$e,initialPlacement:oe,placement:Ie,strategy:ie,middlewareData:Ve,rects:he,platform:ue,elements:{reference:t,floating:r}});if(_e=At??_e,$e=Lt??$e,Ve={...Ve,[qe]:{...Ve[qe],...hn}},_n&&Fe<=50){Fe++,typeof _n=="object"&&(_n.placement&&(Ie=_n.placement),_n.rects&&(he=_n.rects===!0?await ue.getElementRects({reference:t,floating:r,strategy:ie}):_n.rects),{x:_e,y:$e}=computeCoordsFromPlacement(he,Ie,pe)),Ue=-1;continue}}return{x:_e,y:$e,placement:Ie,strategy:ie,middlewareData:Ve}},arrow=t=>({name:"arrow",options:t,async fn(r){const{x:V,y:oe,placement:ie,rects:le,platform:ue,elements:de}=r,{element:pe,padding:he=0}=evaluate(t,r)||{};if(pe==null)return{};const _e=getPaddingObject(he),$e={x:V,y:oe},Ie=getAlignmentAxis(ie),Ve=getAxisLength(Ie),Fe=await ue.getDimensions(pe),Ue=Ie==="y",qe=Ue?"top":"left",Et=Ue?"bottom":"right",At=Ue?"clientHeight":"clientWidth",Lt=le.reference[Ve]+le.reference[Ie]-$e[Ie]-le.floating[Ve],hn=$e[Ie]-le.reference[Ie],_n=await(ue.getOffsetParent==null?void 0:ue.getOffsetParent(pe));let vn=_n?_n[At]:0;(!vn||!await(ue.isElement==null?void 0:ue.isElement(_n)))&&(vn=de.floating[At]||le.floating[Ve]);const bn=Lt/2-hn/2,Cn=vn/2-Fe[Ve]/2-1,Sn=min$3(_e[qe],Cn),wn=min$3(_e[Et],Cn),En=Sn,xn=vn-Fe[Ve]-wn,Pn=vn/2-Fe[Ve]/2+bn,kn=clamp$3(En,Pn,xn),Dn=getAlignment(ie)!=null&&Pn!=kn&&le.reference[Ve]/2-(Pn<En?Sn:wn)-Fe[Ve]/2<0?Pn<En?En-Pn:xn-Pn:0;return{[Ie]:$e[Ie]-Dn,data:{[Ie]:kn,centerOffset:Pn-kn+Dn}}}});async function convertValueToCoords(t,r){const{placement:V,platform:oe,elements:ie}=t,le=await(oe.isRTL==null?void 0:oe.isRTL(ie.floating)),ue=getSide(V),de=getAlignment(V),pe=getSideAxis(V)==="y",he=["left","top"].includes(ue)?-1:1,_e=le&&pe?-1:1,$e=evaluate(r,t);let{mainAxis:Ie,crossAxis:Ve,alignmentAxis:Fe}=typeof $e=="number"?{mainAxis:$e,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...$e};return de&&typeof Fe=="number"&&(Ve=de==="end"?Fe*-1:Fe),pe?{x:Ve*_e,y:Ie*he}:{x:Ie*he,y:Ve*_e}}const offset=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){const{x:V,y:oe}=r,ie=await convertValueToCoords(r,t);return{x:V+ie.x,y:oe+ie.y,data:ie}}}};function getNodeName(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow(t){var r;return(t==null||(r=t.ownerDocument)==null?void 0:r.defaultView)||window}function getDocumentElement(t){var r;return(r=(isNode(t)?t.ownerDocument:t.document)||window.document)==null?void 0:r.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow(t).Node}function isElement$1(t){return t instanceof Element||t instanceof getWindow(t).Element}function isHTMLElement(t){return t instanceof HTMLElement||t instanceof getWindow(t).HTMLElement}function isShadowRoot(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof getWindow(t).ShadowRoot}function isOverflowElement(t){const{overflow:r,overflowX:V,overflowY:oe,display:ie}=getComputedStyle$2(t);return/auto|scroll|overlay|hidden|clip/.test(r+oe+V)&&!["inline","contents"].includes(ie)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const r=isWebKit(),V=getComputedStyle$2(t);return V.transform!=="none"||V.perspective!=="none"||(V.containerType?V.containerType!=="normal":!1)||!r&&(V.backdropFilter?V.backdropFilter!=="none":!1)||!r&&(V.filter?V.filter!=="none":!1)||["transform","perspective","filter"].some(oe=>(V.willChange||"").includes(oe))||["paint","layout","strict","content"].some(oe=>(V.contain||"").includes(oe))}function getContainingBlock(t){let r=getParentNode(t);for(;isHTMLElement(r)&&!isLastTraversableNode(r);){if(isContainingBlock(r))return r;r=getParentNode(r)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName(t))}function getComputedStyle$2(t){return getWindow(t).getComputedStyle(t)}function getNodeScroll(t){return isElement$1(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getParentNode(t){if(getNodeName(t)==="html")return t;const r=t.assignedSlot||t.parentNode||isShadowRoot(t)&&t.host||getDocumentElement(t);return isShadowRoot(r)?r.host:r}function getNearestOverflowAncestor(t){const r=getParentNode(t);return isLastTraversableNode(r)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement(r)&&isOverflowElement(r)?r:getNearestOverflowAncestor(r)}function getOverflowAncestors(t,r){var V;r===void 0&&(r=[]);const oe=getNearestOverflowAncestor(t),ie=oe===((V=t.ownerDocument)==null?void 0:V.body),le=getWindow(oe);return ie?r.concat(le,le.visualViewport||[],isOverflowElement(oe)?oe:[]):r.concat(oe,getOverflowAncestors(oe))}function getCssDimensions(t){const r=getComputedStyle$2(t);let V=parseFloat(r.width)||0,oe=parseFloat(r.height)||0;const ie=isHTMLElement(t),le=ie?t.offsetWidth:V,ue=ie?t.offsetHeight:oe,de=round$2(V)!==le||round$2(oe)!==ue;return de&&(V=le,oe=ue),{width:V,height:oe,$:de}}function unwrapElement(t){return isElement$1(t)?t:t.contextElement}function getScale(t){const r=unwrapElement(t);if(!isHTMLElement(r))return createCoords(1);const V=r.getBoundingClientRect(),{width:oe,height:ie,$:le}=getCssDimensions(r);let ue=(le?round$2(V.width):V.width)/oe,de=(le?round$2(V.height):V.height)/ie;return(!ue||!Number.isFinite(ue))&&(ue=1),(!de||!Number.isFinite(de))&&(de=1),{x:ue,y:de}}const noOffsets=createCoords(0);function getVisualOffsets(t){const r=getWindow(t);return!isWebKit()||!r.visualViewport?noOffsets:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function shouldAddVisualOffsets(t,r,V){return r===void 0&&(r=!1),!V||r&&V!==getWindow(t)?!1:r}function getBoundingClientRect(t,r,V,oe){r===void 0&&(r=!1),V===void 0&&(V=!1);const ie=t.getBoundingClientRect(),le=unwrapElement(t);let ue=createCoords(1);r&&(oe?isElement$1(oe)&&(ue=getScale(oe)):ue=getScale(t));const de=shouldAddVisualOffsets(le,V,oe)?getVisualOffsets(le):createCoords(0);let pe=(ie.left+de.x)/ue.x,he=(ie.top+de.y)/ue.y,_e=ie.width/ue.x,$e=ie.height/ue.y;if(le){const Ie=getWindow(le),Ve=oe&&isElement$1(oe)?getWindow(oe):oe;let Fe=Ie.frameElement;for(;Fe&&oe&&Ve!==Ie;){const Ue=getScale(Fe),qe=Fe.getBoundingClientRect(),Et=getComputedStyle$2(Fe),At=qe.left+(Fe.clientLeft+parseFloat(Et.paddingLeft))*Ue.x,Lt=qe.top+(Fe.clientTop+parseFloat(Et.paddingTop))*Ue.y;pe*=Ue.x,he*=Ue.y,_e*=Ue.x,$e*=Ue.y,pe+=At,he+=Lt,Fe=getWindow(Fe).frameElement}}return rectToClientRect({width:_e,height:$e,x:pe,y:he})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{rect:r,offsetParent:V,strategy:oe}=t;const ie=isHTMLElement(V),le=getDocumentElement(V);if(V===le)return r;let ue={scrollLeft:0,scrollTop:0},de=createCoords(1);const pe=createCoords(0);if((ie||!ie&&oe!=="fixed")&&((getNodeName(V)!=="body"||isOverflowElement(le))&&(ue=getNodeScroll(V)),isHTMLElement(V))){const he=getBoundingClientRect(V);de=getScale(V),pe.x=he.x+V.clientLeft,pe.y=he.y+V.clientTop}return{width:r.width*de.x,height:r.height*de.y,x:r.x*de.x-ue.scrollLeft*de.x+pe.x,y:r.y*de.y-ue.scrollTop*de.y+pe.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getNodeScroll(t).scrollLeft}function getDocumentRect(t){const r=getDocumentElement(t),V=getNodeScroll(t),oe=t.ownerDocument.body,ie=max$3(r.scrollWidth,r.clientWidth,oe.scrollWidth,oe.clientWidth),le=max$3(r.scrollHeight,r.clientHeight,oe.scrollHeight,oe.clientHeight);let ue=-V.scrollLeft+getWindowScrollBarX(t);const de=-V.scrollTop;return getComputedStyle$2(oe).direction==="rtl"&&(ue+=max$3(r.clientWidth,oe.clientWidth)-ie),{width:ie,height:le,x:ue,y:de}}function getViewportRect(t,r){const V=getWindow(t),oe=getDocumentElement(t),ie=V.visualViewport;let le=oe.clientWidth,ue=oe.clientHeight,de=0,pe=0;if(ie){le=ie.width,ue=ie.height;const he=isWebKit();(!he||he&&r==="fixed")&&(de=ie.offsetLeft,pe=ie.offsetTop)}return{width:le,height:ue,x:de,y:pe}}function getInnerBoundingClientRect(t,r){const V=getBoundingClientRect(t,!0,r==="fixed"),oe=V.top+t.clientTop,ie=V.left+t.clientLeft,le=isHTMLElement(t)?getScale(t):createCoords(1),ue=t.clientWidth*le.x,de=t.clientHeight*le.y,pe=ie*le.x,he=oe*le.y;return{width:ue,height:de,x:pe,y:he}}function getClientRectFromClippingAncestor(t,r,V){let oe;if(r==="viewport")oe=getViewportRect(t,V);else if(r==="document")oe=getDocumentRect(getDocumentElement(t));else if(isElement$1(r))oe=getInnerBoundingClientRect(r,V);else{const ie=getVisualOffsets(t);oe={...r,x:r.x-ie.x,y:r.y-ie.y}}return rectToClientRect(oe)}function hasFixedPositionAncestor(t,r){const V=getParentNode(t);return V===r||!isElement$1(V)||isLastTraversableNode(V)?!1:getComputedStyle$2(V).position==="fixed"||hasFixedPositionAncestor(V,r)}function getClippingElementAncestors(t,r){const V=r.get(t);if(V)return V;let oe=getOverflowAncestors(t).filter(de=>isElement$1(de)&&getNodeName(de)!=="body"),ie=null;const le=getComputedStyle$2(t).position==="fixed";let ue=le?getParentNode(t):t;for(;isElement$1(ue)&&!isLastTraversableNode(ue);){const de=getComputedStyle$2(ue),pe=isContainingBlock(ue);!pe&&de.position==="fixed"&&(ie=null),(le?!pe&&!ie:!pe&&de.position==="static"&&!!ie&&["absolute","fixed"].includes(ie.position)||isOverflowElement(ue)&&!pe&&hasFixedPositionAncestor(t,ue))?oe=oe.filter(_e=>_e!==ue):ie=de,ue=getParentNode(ue)}return r.set(t,oe),oe}function getClippingRect(t){let{element:r,boundary:V,rootBoundary:oe,strategy:ie}=t;const ue=[...V==="clippingAncestors"?getClippingElementAncestors(r,this._c):[].concat(V),oe],de=ue[0],pe=ue.reduce((he,_e)=>{const $e=getClientRectFromClippingAncestor(r,_e,ie);return he.top=max$3($e.top,he.top),he.right=min$3($e.right,he.right),he.bottom=min$3($e.bottom,he.bottom),he.left=max$3($e.left,he.left),he},getClientRectFromClippingAncestor(r,de,ie));return{width:pe.right-pe.left,height:pe.bottom-pe.top,x:pe.left,y:pe.top}}function getDimensions(t){return getCssDimensions(t)}function getRectRelativeToOffsetParent(t,r,V){const oe=isHTMLElement(r),ie=getDocumentElement(r),le=V==="fixed",ue=getBoundingClientRect(t,!0,le,r);let de={scrollLeft:0,scrollTop:0};const pe=createCoords(0);if(oe||!oe&&!le)if((getNodeName(r)!=="body"||isOverflowElement(ie))&&(de=getNodeScroll(r)),oe){const he=getBoundingClientRect(r,!0,le,r);pe.x=he.x+r.clientLeft,pe.y=he.y+r.clientTop}else ie&&(pe.x=getWindowScrollBarX(ie));return{x:ue.left+de.scrollLeft-pe.x,y:ue.top+de.scrollTop-pe.y,width:ue.width,height:ue.height}}function getTrueOffsetParent(t,r){return!isHTMLElement(t)||getComputedStyle$2(t).position==="fixed"?null:r?r(t):t.offsetParent}function getOffsetParent(t,r){const V=getWindow(t);if(!isHTMLElement(t))return V;let oe=getTrueOffsetParent(t,r);for(;oe&&isTableElement(oe)&&getComputedStyle$2(oe).position==="static";)oe=getTrueOffsetParent(oe,r);return oe&&(getNodeName(oe)==="html"||getNodeName(oe)==="body"&&getComputedStyle$2(oe).position==="static"&&!isContainingBlock(oe))?V:oe||getContainingBlock(t)||V}const getElementRects=async function(t){let{reference:r,floating:V,strategy:oe}=t;const ie=this.getOffsetParent||getOffsetParent,le=this.getDimensions;return{reference:getRectRelativeToOffsetParent(r,await ie(V),oe),floating:{x:0,y:0,...await le(V)}}};function isRTL$1(t){return getComputedStyle$2(t).direction==="rtl"}const platform$2={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL:isRTL$1},computePosition=(t,r,V)=>{const oe=new Map,ie={platform:platform$2,...V},le={...ie.platform,_c:oe};return computePosition$1(t,r,{...ie,platform:le})};buildProps({});const unrefReference=t=>{if(!isClient$1)return;if(!t)return t;const r=unrefElement$1(t);return r||(isRef(t)?r:t)},useFloating=({middleware:t,placement:r,strategy:V})=>{const oe=ref(),ie=ref(),le=ref(),ue=ref(),de=ref({}),pe={x:le,y:ue,placement:r,strategy:V,middlewareData:de},he=async()=>{if(!isClient$1)return;const _e=unrefReference(oe),$e=unrefElement$1(ie);if(!_e||!$e)return;const Ie=await computePosition(_e,$e,{placement:unref(r),strategy:unref(V),middleware:unref(t)});keysOf(pe).forEach(Ve=>{pe[Ve].value=Ie[Ve]})};return onMounted(()=>{watchEffect(()=>{he()})}),{...pe,update:he,referenceRef:oe,contentRef:ie}},arrowMiddleware=({arrowRef:t,padding:r})=>({name:"arrow",options:{element:t,padding:r},fn(V){const oe=unref(t);return oe?arrow({element:oe,padding:r}).fn(V):{}}});function useCursor(t){const r=ref();function V(){if(t.value==null)return;const{selectionStart:ie,selectionEnd:le,value:ue}=t.value;if(ie==null||le==null)return;const de=ue.slice(0,Math.max(0,ie)),pe=ue.slice(Math.max(0,le));r.value={selectionStart:ie,selectionEnd:le,value:ue,beforeTxt:de,afterTxt:pe}}function oe(){if(t.value==null||r.value==null)return;const{value:ie}=t.value,{beforeTxt:le,afterTxt:ue,selectionStart:de}=r.value;if(le==null||ue==null||de==null)return;let pe=ie.length;if(ie.endsWith(ue))pe=ie.length-ue.length;else if(ie.startsWith(le))pe=le.length;else{const he=le[de-1],_e=ie.indexOf(he,de-1);_e!==-1&&(pe=_e+1)}t.value.setSelectionRange(pe,pe)}return[V,oe]}const getOrderedChildren=(t,r,V)=>flattedChildren(t.subTree).filter(le=>{var ue;return isVNode$1(le)&&((ue=le.type)==null?void 0:ue.name)===r&&!!le.component}).map(le=>le.component.uid).map(le=>V[le]).filter(le=>!!le),useOrderedChildren=(t,r)=>{const V={},oe=shallowRef([]);return{children:oe,addChild:ue=>{V[ue.uid]=ue,oe.value=getOrderedChildren(t,r,V)},removeChild:ue=>{delete V[ue],oe.value=oe.value.filter(de=>de.uid!==ue)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const t=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(t.size)||"")};function useFocusController(t,{afterFocus:r,afterBlur:V}={}){const oe=getCurrentInstance(),{emit:ie}=oe,le=shallowRef(),ue=ref(!1),de=_e=>{ue.value||(ue.value=!0,ie("focus",_e),r==null||r())},pe=_e=>{var $e;_e.relatedTarget&&(($e=le.value)!=null&&$e.contains(_e.relatedTarget))||(ue.value=!1,ie("blur",_e),V==null||V())},he=()=>{var _e;(_e=t.value)==null||_e.focus()};return watch(le,_e=>{_e&&_e.setAttribute("tabindex","-1")}),useEventListener$1(le,"click",he),{wrapperRef:le,isFocused:ue,handleFocus:de,handleBlur:pe}}const configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(t,r=void 0){const V=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return t?computed(()=>{var oe,ie;return(ie=(oe=V.value)==null?void 0:oe[t])!=null?ie:r}):V}function useGlobalComponentSettings(t,r){const V=useGlobalConfig(),oe=useNamespace(t,computed(()=>{var de;return((de=V.value)==null?void 0:de.namespace)||defaultNamespace})),ie=useLocale(computed(()=>{var de;return(de=V.value)==null?void 0:de.locale})),le=useZIndex(computed(()=>{var de;return((de=V.value)==null?void 0:de.zIndex)||defaultInitialZIndex})),ue=computed(()=>{var de;return unref(r)||((de=V.value)==null?void 0:de.size)||""});return provideGlobalConfig(computed(()=>unref(V)||{})),{ns:oe,locale:ie,zIndex:le,size:ue}}const provideGlobalConfig=(t,r,V=!1)=>{var oe;const ie=!!getCurrentInstance(),le=ie?useGlobalConfig():void 0,ue=(oe=r==null?void 0:r.provide)!=null?oe:ie?provide:void 0;if(!ue)return;const de=computed(()=>{const pe=unref(t);return le!=null&&le.value?mergeConfig$1(le.value,pe):pe});return ue(configProviderContextKey,de),ue(localeContextKey,computed(()=>de.value.locale)),ue(namespaceContextKey,computed(()=>de.value.namespace)),ue(zIndexContextKey,computed(()=>de.value.zIndex)),ue(SIZE_INJECTION_KEY,{size:computed(()=>de.value.size||"")}),(V||!globalConfig.value)&&(globalConfig.value=de.value),de},mergeConfig$1=(t,r)=>{var V;const oe=[...new Set([...keysOf(t),...keysOf(r)])],ie={};for(const le of oe)ie[le]=(V=r[le])!=null?V:t[le];return ie},configProviderProps=buildProps({a11y:{type:Boolean,default:!0},locale:{type:definePropType(Object)},size:useSizeProp,button:{type:definePropType(Object)},experimentalFeatures:{type:definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(t,{slots:r}){watch(()=>t.message,oe=>{Object.assign(messageConfig,oe??{})},{immediate:!0,deep:!0});const V=provideGlobalConfig(t);return()=>renderSlot(r,"default",{config:V==null?void 0:V.value})}}),ElConfigProvider=withInstall(ConfigProvider),version$2="2.3.12",makeInstaller=(t=[])=>({version:version$2,install:(V,oe)=>{V[INSTALLED_KEY]||(V[INSTALLED_KEY]=!0,t.forEach(ie=>V.use(ie)),oe&&provideGlobalConfig(oe,V,!0))}}),affixProps=buildProps({zIndex:{type:definePropType([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),affixEmits={scroll:({scrollTop:t,fixed:r})=>isNumber$4(t)&&isBoolean$3(r),[CHANGE_EVENT]:t=>isBoolean$3(t)};var _export_sfc$1=(t,r)=>{const V=t.__vccOpts||t;for(const[oe,ie]of r)V[oe]=ie;return V};const COMPONENT_NAME$n="ElAffix",__default__$1C=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2k=defineComponent({...__default__$1C,props:affixProps,emits:affixEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useNamespace("affix"),le=shallowRef(),ue=shallowRef(),de=shallowRef(),{height:pe}=useWindowSize$1(),{height:he,width:_e,top:$e,bottom:Ie,update:Ve}=useElementBounding(ue,{windowScroll:!1}),Fe=useElementBounding(le),Ue=ref(!1),qe=ref(0),Et=ref(0),At=computed(()=>({height:Ue.value?`${he.value}px`:"",width:Ue.value?`${_e.value}px`:""})),Lt=computed(()=>{if(!Ue.value)return{};const vn=oe.offset?addUnit(oe.offset):0;return{height:`${he.value}px`,width:`${_e.value}px`,top:oe.position==="top"?vn:"",bottom:oe.position==="bottom"?vn:"",transform:Et.value?`translateY(${Et.value}px)`:"",zIndex:oe.zIndex}}),hn=()=>{if(de.value)if(qe.value=de.value instanceof Window?document.documentElement.scrollTop:de.value.scrollTop||0,oe.position==="top")if(oe.target){const vn=Fe.bottom.value-oe.offset-he.value;Ue.value=oe.offset>$e.value&&Fe.bottom.value>0,Et.value=vn<0?vn:0}else Ue.value=oe.offset>$e.value;else if(oe.target){const vn=pe.value-Fe.top.value-oe.offset-he.value;Ue.value=pe.value-oe.offset<Ie.value&&pe.value>Fe.top.value,Et.value=vn<0?-vn:0}else Ue.value=pe.value-oe.offset<Ie.value},_n=()=>{Ve(),V("scroll",{scrollTop:qe.value,fixed:Ue.value})};return watch(Ue,vn=>V("change",vn)),onMounted(()=>{var vn;oe.target?(le.value=(vn=document.querySelector(oe.target))!=null?vn:void 0,le.value||throwError$1(COMPONENT_NAME$n,`Target is not existed: ${oe.target}`)):le.value=document.documentElement,de.value=getScrollContainer(ue.value,!0),Ve()}),useEventListener$1(de,"scroll",_n),watchEffect(hn),r({update:hn,updateRoot:Ve}),(vn,bn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:ue,class:normalizeClass(unref(ie).b()),style:normalizeStyle$1(unref(At))},[createBaseVNode("div",{class:normalizeClass({[unref(ie).m("fixed")]:Ue.value}),style:normalizeStyle$1(unref(Lt))},[renderSlot(vn.$slots,"default")],6)],6))}});var Affix=_export_sfc$1(_sfc_main$2k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1B=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2j=defineComponent({...__default__$1B,props:iconProps,setup(t){const r=t,V=useNamespace("icon"),oe=computed(()=>{const{size:ie,color:le}=r;return!ie&&!le?{}:{fontSize:isUndefined$1(ie)?void 0:addUnit(ie),"--color":le}});return(ie,le)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(V).b(),style:unref(oe)},ie.$attrs),[renderSlot(ie.$slots,"default")],16))}});var Icon$2=_export_sfc$1(_sfc_main$2j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ElIcon=withInstall(Icon$2),alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:t=>t instanceof MouseEvent},__default__$1A=defineComponent({name:"ElAlert"}),_sfc_main$2i=defineComponent({...__default__$1A,props:alertProps,emits:alertEmits,setup(t,{emit:r}){const V=t,{Close:oe}=TypeComponents,ie=useSlots(),le=useNamespace("alert"),ue=ref(!0),de=computed(()=>TypeComponentsMap[V.type]),pe=computed(()=>[le.e("icon"),{[le.is("big")]:!!V.description||!!ie.default}]),he=computed(()=>({[le.is("bold")]:V.description||ie.default})),_e=$e=>{ue.value=!1,r("close",$e)};return($e,Ie)=>(openBlock(),createBlock(Transition,{name:unref(le).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(le).b(),unref(le).m($e.type),unref(le).is("center",$e.center),unref(le).is($e.effect)]),role:"alert"},[$e.showIcon&&unref(de)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(pe))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(de))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).e("content"))},[$e.title||$e.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(le).e("title"),unref(he)])},[renderSlot($e.$slots,"title",{},()=>[createTextVNode(toDisplayString$1($e.title),1)])],2)):createCommentVNode("v-if",!0),$e.$slots.default||$e.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(le).e("description"))},[renderSlot($e.$slots,"default",{},()=>[createTextVNode(toDisplayString$1($e.description),1)])],2)):createCommentVNode("v-if",!0),$e.closable?(openBlock(),createElementBlock(Fragment,{key:2},[$e.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(le).e("close-btn"),unref(le).is("customed")]),onClick:_e},toDisplayString$1($e.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(le).e("close-btn")),onClick:_e},{default:withCtx(()=>[createVNode(unref(oe))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,ue.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$2i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(t,r={})=>{const V=ref(void 0),oe=r.prop?V:useProp("size"),ie=r.global?V:useGlobalSize(),le=r.form?{size:void 0}:inject(formContextKey,void 0),ue=r.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>oe.value||unref(t)||(ue==null?void 0:ue.size)||(le==null?void 0:le.size)||ie.value||"")},useFormDisabled=t=>{const r=useProp("disabled"),V=inject(formContextKey,void 0);return computed(()=>r.value||unref(t)||(V==null?void 0:V.disabled)||!1)},useFormItem=()=>{const t=inject(formContextKey,void 0),r=inject(formItemContextKey,void 0);return{form:t,formItem:r}},useFormItemInputId=(t,{formItemContext:r,disableIdGeneration:V,disableIdManagement:oe})=>{V||(V=ref(!1)),oe||(oe=ref(!1));const ie=ref();let le;const ue=computed(()=>{var de;return!!(!t.label&&r&&r.inputIds&&((de=r.inputIds)==null?void 0:de.length)<=1)});return onMounted(()=>{le=watch([toRef(t,"id"),V],([de,pe])=>{const he=de??(pe?void 0:useId().value);he!==ie.value&&(r!=null&&r.removeInputId&&(ie.value&&r.removeInputId(ie.value),!(oe!=null&&oe.value)&&!pe&&he&&r.addInputId(he)),ie.value=he)},{immediate:!0})}),onUnmounted(()=>{le&&le(),r!=null&&r.removeInputId&&ie.value&&r.removeInputId(ie.value)}),{isLabeledByFormItem:ue,inputId:ie}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(t,r,V)=>(isArray$c(t)||isString$6(t))&&isBoolean$3(r)&&isString$6(V)};function useFormLabelWidth(){const t=ref([]),r=computed(()=>{if(!t.value.length)return"0";const le=Math.max(...t.value);return le?`${le}px`:""});function V(le){const ue=t.value.indexOf(le);return ue===-1&&r.value,ue}function oe(le,ue){if(le&&ue){const de=V(ue);t.value.splice(de,1,le)}else le&&t.value.push(le)}function ie(le){const ue=V(le);ue>-1&&t.value.splice(ue,1)}return{autoLabelWidth:r,registerLabelWidth:oe,deregisterLabelWidth:ie}}const filterFields=(t,r)=>{const V=castArray$1(r);return V.length>0?t.filter(oe=>oe.prop&&V.includes(oe.prop)):t},COMPONENT_NAME$m="ElForm",__default__$1z=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2h=defineComponent({...__default__$1z,props:formProps,emits:formEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=[],le=useFormSize(),ue=useNamespace("form"),de=computed(()=>{const{labelPosition:At,inline:Lt}=oe;return[ue.b(),ue.m(le.value||"default"),{[ue.m(`label-${At}`)]:At,[ue.m("inline")]:Lt}]}),pe=At=>{ie.push(At)},he=At=>{At.prop&&ie.splice(ie.indexOf(At),1)},_e=(At=[])=>{oe.model&&filterFields(ie,At).forEach(Lt=>Lt.resetField())},$e=(At=[])=>{filterFields(ie,At).forEach(Lt=>Lt.clearValidate())},Ie=computed(()=>!!oe.model),Ve=At=>{if(ie.length===0)return[];const Lt=filterFields(ie,At);return Lt.length?Lt:[]},Fe=async At=>qe(void 0,At),Ue=async(At=[])=>{if(!Ie.value)return!1;const Lt=Ve(At);if(Lt.length===0)return!0;let hn={};for(const _n of Lt)try{await _n.validate("")}catch(vn){hn={...hn,...vn}}return Object.keys(hn).length===0?!0:Promise.reject(hn)},qe=async(At=[],Lt)=>{const hn=!isFunction$5(Lt);try{const _n=await Ue(At);return _n===!0&&(Lt==null||Lt(_n)),_n}catch(_n){if(_n instanceof Error)throw _n;const vn=_n;return oe.scrollToError&&Et(Object.keys(vn)[0]),Lt==null||Lt(!1,vn),hn&&Promise.reject(vn)}},Et=At=>{var Lt;const hn=filterFields(ie,At)[0];hn&&((Lt=hn.$el)==null||Lt.scrollIntoView(oe.scrollIntoViewOptions))};return watch(()=>oe.rules,()=>{oe.validateOnRuleChange&&Fe().catch(At=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(oe),emit:V,resetFields:_e,clearValidate:$e,validateField:qe,addField:pe,removeField:he,...useFormLabelWidth()})),r({validate:Fe,validateField:qe,resetFields:_e,clearValidate:$e,scrollToField:Et}),(At,Lt)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(de))},[renderSlot(At.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$2h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function _extends(){return _extends=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var V=arguments[r];for(var oe in V)Object.prototype.hasOwnProperty.call(V,oe)&&(t[oe]=V[oe])}return t},_extends.apply(this,arguments)}function _inheritsLoose(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,_setPrototypeOf(t,r)}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(V){return V.__proto__||Object.getPrototypeOf(V)},_getPrototypeOf(t)}function _setPrototypeOf(t,r){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(oe,ie){return oe.__proto__=ie,oe},_setPrototypeOf(t,r)}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(t,r,V){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(ie,le,ue){var de=[null];de.push.apply(de,le);var pe=Function.bind.apply(ie,de),he=new pe;return ue&&_setPrototypeOf(he,ue.prototype),he},_construct.apply(null,arguments)}function _isNativeFunction(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _wrapNativeSuper(t){var r=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(oe){if(oe===null||!_isNativeFunction(oe))return oe;if(typeof oe!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(oe))return r.get(oe);r.set(oe,ie)}function ie(){return _construct(oe,arguments,_getPrototypeOf(this).constructor)}return ie.prototype=Object.create(oe.prototype,{constructor:{value:ie,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(ie,oe)},_wrapNativeSuper(t)}var formatRegExp=/%[sdj%]/g,warning$1=function(){};typeof process<"u"&&process.env;function convertFieldsError(t){if(!t||!t.length)return null;var r={};return t.forEach(function(V){var oe=V.field;r[oe]=r[oe]||[],r[oe].push(V)}),r}function format$2(t){for(var r=arguments.length,V=new Array(r>1?r-1:0),oe=1;oe<r;oe++)V[oe-1]=arguments[oe];var ie=0,le=V.length;if(typeof t=="function")return t.apply(null,V);if(typeof t=="string"){var ue=t.replace(formatRegExp,function(de){if(de==="%%")return"%";if(ie>=le)return de;switch(de){case"%s":return String(V[ie++]);case"%d":return Number(V[ie++]);case"%j":try{return JSON.stringify(V[ie++])}catch{return"[Circular]"}break;default:return de}});return ue}return t}function isNativeStringType(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function isEmptyValue(t,r){return!!(t==null||r==="array"&&Array.isArray(t)&&!t.length||isNativeStringType(r)&&typeof t=="string"&&!t)}function asyncParallelArray(t,r,V){var oe=[],ie=0,le=t.length;function ue(de){oe.push.apply(oe,de||[]),ie++,ie===le&&V(oe)}t.forEach(function(de){r(de,ue)})}function asyncSerialArray(t,r,V){var oe=0,ie=t.length;function le(ue){if(ue&&ue.length){V(ue);return}var de=oe;oe=oe+1,de<ie?r(t[de],le):V([])}le([])}function flattenObjArr(t){var r=[];return Object.keys(t).forEach(function(V){r.push.apply(r,t[V]||[])}),r}var AsyncValidationError=function(t){_inheritsLoose(r,t);function r(V,oe){var ie;return ie=t.call(this,"Async Validation Error")||this,ie.errors=V,ie.fields=oe,ie}return r}(_wrapNativeSuper(Error));function asyncMap(t,r,V,oe,ie){if(r.first){var le=new Promise(function(Ie,Ve){var Fe=function(Et){return oe(Et),Et.length?Ve(new AsyncValidationError(Et,convertFieldsError(Et))):Ie(ie)},Ue=flattenObjArr(t);asyncSerialArray(Ue,V,Fe)});return le.catch(function(Ie){return Ie}),le}var ue=r.firstFields===!0?Object.keys(t):r.firstFields||[],de=Object.keys(t),pe=de.length,he=0,_e=[],$e=new Promise(function(Ie,Ve){var Fe=function(qe){if(_e.push.apply(_e,qe),he++,he===pe)return oe(_e),_e.length?Ve(new AsyncValidationError(_e,convertFieldsError(_e))):Ie(ie)};de.length||(oe(_e),Ie(ie)),de.forEach(function(Ue){var qe=t[Ue];ue.indexOf(Ue)!==-1?asyncSerialArray(qe,V,Fe):asyncParallelArray(qe,V,Fe)})});return $e.catch(function(Ie){return Ie}),$e}function isErrorObj(t){return!!(t&&t.message!==void 0)}function getValue(t,r){for(var V=t,oe=0;oe<r.length;oe++){if(V==null)return V;V=V[r[oe]]}return V}function complementError(t,r){return function(V){var oe;return t.fullFields?oe=getValue(r,t.fullFields):oe=r[V.field||t.fullField],isErrorObj(V)?(V.field=V.field||t.fullField,V.fieldValue=oe,V):{message:typeof V=="function"?V():V,fieldValue:oe,field:V.field||t.fullField}}}function deepMerge(t,r){if(r){for(var V in r)if(r.hasOwnProperty(V)){var oe=r[V];typeof oe=="object"&&typeof t[V]=="object"?t[V]=_extends({},t[V],oe):t[V]=oe}}return t}var required$1=function(r,V,oe,ie,le,ue){r.required&&(!oe.hasOwnProperty(r.field)||isEmptyValue(V,ue||r.type))&&ie.push(format$2(le.messages.required,r.fullField))},whitespace=function(r,V,oe,ie,le){(/^\s+$/.test(V)||V==="")&&ie.push(format$2(le.messages.whitespace,r.fullField))},urlReg,getUrlRegex=function(){if(urlReg)return urlReg;var t="[a-fA-F\\d:]",r=function(hn){return hn&&hn.includeBoundaries?"(?:(?<=\\s|^)(?="+t+")|(?<="+t+")(?=\\s|$))":""},V="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",oe="[a-fA-F\\d]{1,4}",ie=(`
|
||
(?:
|
||
(?:`+oe+":){7}(?:"+oe+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||
(?:`+oe+":){6}(?:"+V+"|:"+oe+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||
(?:`+oe+":){5}(?::"+V+"|(?::"+oe+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||
(?:`+oe+":){4}(?:(?::"+oe+"){0,1}:"+V+"|(?::"+oe+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||
(?:`+oe+":){3}(?:(?::"+oe+"){0,2}:"+V+"|(?::"+oe+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||
(?:`+oe+":){2}(?:(?::"+oe+"){0,3}:"+V+"|(?::"+oe+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||
(?:`+oe+":){1}(?:(?::"+oe+"){0,4}:"+V+"|(?::"+oe+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||
(?::(?:(?::`+oe+"){0,5}:"+V+"|(?::"+oe+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),le=new RegExp("(?:^"+V+"$)|(?:^"+ie+"$)"),ue=new RegExp("^"+V+"$"),de=new RegExp("^"+ie+"$"),pe=function(hn){return hn&&hn.exact?le:new RegExp("(?:"+r(hn)+V+r(hn)+")|(?:"+r(hn)+ie+r(hn)+")","g")};pe.v4=function(Lt){return Lt&&Lt.exact?ue:new RegExp(""+r(Lt)+V+r(Lt),"g")},pe.v6=function(Lt){return Lt&&Lt.exact?de:new RegExp(""+r(Lt)+ie+r(Lt),"g")};var he="(?:(?:[a-z]+:)?//)",_e="(?:\\S+(?::\\S*)?@)?",$e=pe.v4().source,Ie=pe.v6().source,Ve="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Fe="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Ue="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",qe="(?::\\d{2,5})?",Et='(?:[/?#][^\\s"]*)?',At="(?:"+he+"|www\\.)"+_e+"(?:localhost|"+$e+"|"+Ie+"|"+Ve+Fe+Ue+")"+qe+Et;return urlReg=new RegExp("(?:^"+At+"$)","i"),urlReg},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types$1={integer:function(r){return types$1.number(r)&&parseInt(r,10)===r},float:function(r){return types$1.number(r)&&!types$1.integer(r)},array:function(r){return Array.isArray(r)},regexp:function(r){if(r instanceof RegExp)return!0;try{return!!new RegExp(r)}catch{return!1}},date:function(r){return typeof r.getTime=="function"&&typeof r.getMonth=="function"&&typeof r.getYear=="function"&&!isNaN(r.getTime())},number:function(r){return isNaN(r)?!1:typeof r=="number"},object:function(r){return typeof r=="object"&&!types$1.array(r)},method:function(r){return typeof r=="function"},email:function(r){return typeof r=="string"&&r.length<=320&&!!r.match(pattern$2.email)},url:function(r){return typeof r=="string"&&r.length<=2048&&!!r.match(getUrlRegex())},hex:function(r){return typeof r=="string"&&!!r.match(pattern$2.hex)}},type$1=function(r,V,oe,ie,le){if(r.required&&V===void 0){required$1(r,V,oe,ie,le);return}var ue=["integer","float","array","regexp","object","method","email","number","date","url","hex"],de=r.type;ue.indexOf(de)>-1?types$1[de](V)||ie.push(format$2(le.messages.types[de],r.fullField,r.type)):de&&typeof V!==r.type&&ie.push(format$2(le.messages.types[de],r.fullField,r.type))},range=function(r,V,oe,ie,le){var ue=typeof r.len=="number",de=typeof r.min=="number",pe=typeof r.max=="number",he=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_e=V,$e=null,Ie=typeof V=="number",Ve=typeof V=="string",Fe=Array.isArray(V);if(Ie?$e="number":Ve?$e="string":Fe&&($e="array"),!$e)return!1;Fe&&(_e=V.length),Ve&&(_e=V.replace(he,"_").length),ue?_e!==r.len&&ie.push(format$2(le.messages[$e].len,r.fullField,r.len)):de&&!pe&&_e<r.min?ie.push(format$2(le.messages[$e].min,r.fullField,r.min)):pe&&!de&&_e>r.max?ie.push(format$2(le.messages[$e].max,r.fullField,r.max)):de&&pe&&(_e<r.min||_e>r.max)&&ie.push(format$2(le.messages[$e].range,r.fullField,r.min,r.max))},ENUM$1="enum",enumerable$1=function(r,V,oe,ie,le){r[ENUM$1]=Array.isArray(r[ENUM$1])?r[ENUM$1]:[],r[ENUM$1].indexOf(V)===-1&&ie.push(format$2(le.messages[ENUM$1],r.fullField,r[ENUM$1].join(", ")))},pattern$1=function(r,V,oe,ie,le){if(r.pattern){if(r.pattern instanceof RegExp)r.pattern.lastIndex=0,r.pattern.test(V)||ie.push(format$2(le.messages.pattern.mismatch,r.fullField,V,r.pattern));else if(typeof r.pattern=="string"){var ue=new RegExp(r.pattern);ue.test(V)||ie.push(format$2(le.messages.pattern.mismatch,r.fullField,V,r.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V,"string")&&!r.required)return oe();rules.required(r,V,ie,ue,le,"string"),isEmptyValue(V,"string")||(rules.type(r,V,ie,ue,le),rules.range(r,V,ie,ue,le),rules.pattern(r,V,ie,ue,le),r.whitespace===!0&&rules.whitespace(r,V,ie,ue,le))}oe(ue)},method=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le),V!==void 0&&rules.type(r,V,ie,ue,le)}oe(ue)},number$3=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(V===""&&(V=void 0),isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le),V!==void 0&&(rules.type(r,V,ie,ue,le),rules.range(r,V,ie,ue,le))}oe(ue)},_boolean=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le),V!==void 0&&rules.type(r,V,ie,ue,le)}oe(ue)},regexp$1=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le),isEmptyValue(V)||rules.type(r,V,ie,ue,le)}oe(ue)},integer=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le),V!==void 0&&(rules.type(r,V,ie,ue,le),rules.range(r,V,ie,ue,le))}oe(ue)},floatFn=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le),V!==void 0&&(rules.type(r,V,ie,ue,le),rules.range(r,V,ie,ue,le))}oe(ue)},array=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(V==null&&!r.required)return oe();rules.required(r,V,ie,ue,le,"array"),V!=null&&(rules.type(r,V,ie,ue,le),rules.range(r,V,ie,ue,le))}oe(ue)},object=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le),V!==void 0&&rules.type(r,V,ie,ue,le)}oe(ue)},ENUM="enum",enumerable=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le),V!==void 0&&rules[ENUM](r,V,ie,ue,le)}oe(ue)},pattern=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V,"string")&&!r.required)return oe();rules.required(r,V,ie,ue,le),isEmptyValue(V,"string")||rules.pattern(r,V,ie,ue,le)}oe(ue)},date$1=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V,"date")&&!r.required)return oe();if(rules.required(r,V,ie,ue,le),!isEmptyValue(V,"date")){var pe;V instanceof Date?pe=V:pe=new Date(V),rules.type(r,pe,ie,ue,le),pe&&rules.range(r,pe.getTime(),ie,ue,le)}}oe(ue)},required=function(r,V,oe,ie,le){var ue=[],de=Array.isArray(V)?"array":typeof V;rules.required(r,V,ie,ue,le,de),oe(ue)},type=function(r,V,oe,ie,le){var ue=r.type,de=[],pe=r.required||!r.required&&ie.hasOwnProperty(r.field);if(pe){if(isEmptyValue(V,ue)&&!r.required)return oe();rules.required(r,V,ie,de,le,ue),isEmptyValue(V,ue)||rules.type(r,V,ie,de,le)}oe(de)},any=function(r,V,oe,ie,le){var ue=[],de=r.required||!r.required&&ie.hasOwnProperty(r.field);if(de){if(isEmptyValue(V)&&!r.required)return oe();rules.required(r,V,ie,ue,le)}oe(ue)},validators$2={string,method,number:number$3,boolean:_boolean,regexp:regexp$1,integer,float:floatFn,array,object,enum:enumerable,pattern,date:date$1,url:type,hex:type,email:type,required,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var r=JSON.parse(JSON.stringify(this));return r.clone=this.clone,r}}}var messages=newMessages(),Schema=function(){function t(V){this.rules=null,this._messages=messages,this.define(V)}var r=t.prototype;return r.define=function(oe){var ie=this;if(!oe)throw new Error("Cannot configure a schema with no rules");if(typeof oe!="object"||Array.isArray(oe))throw new Error("Rules must be an object");this.rules={},Object.keys(oe).forEach(function(le){var ue=oe[le];ie.rules[le]=Array.isArray(ue)?ue:[ue]})},r.messages=function(oe){return oe&&(this._messages=deepMerge(newMessages(),oe)),this._messages},r.validate=function(oe,ie,le){var ue=this;ie===void 0&&(ie={}),le===void 0&&(le=function(){});var de=oe,pe=ie,he=le;if(typeof pe=="function"&&(he=pe,pe={}),!this.rules||Object.keys(this.rules).length===0)return he&&he(null,de),Promise.resolve(de);function _e(Ue){var qe=[],Et={};function At(hn){if(Array.isArray(hn)){var _n;qe=(_n=qe).concat.apply(_n,hn)}else qe.push(hn)}for(var Lt=0;Lt<Ue.length;Lt++)At(Ue[Lt]);qe.length?(Et=convertFieldsError(qe),he(qe,Et)):he(null,de)}if(pe.messages){var $e=this.messages();$e===messages&&($e=newMessages()),deepMerge($e,pe.messages),pe.messages=$e}else pe.messages=this.messages();var Ie={},Ve=pe.keys||Object.keys(this.rules);Ve.forEach(function(Ue){var qe=ue.rules[Ue],Et=de[Ue];qe.forEach(function(At){var Lt=At;typeof Lt.transform=="function"&&(de===oe&&(de=_extends({},de)),Et=de[Ue]=Lt.transform(Et)),typeof Lt=="function"?Lt={validator:Lt}:Lt=_extends({},Lt),Lt.validator=ue.getValidationMethod(Lt),Lt.validator&&(Lt.field=Ue,Lt.fullField=Lt.fullField||Ue,Lt.type=ue.getType(Lt),Ie[Ue]=Ie[Ue]||[],Ie[Ue].push({rule:Lt,value:Et,source:de,field:Ue}))})});var Fe={};return asyncMap(Ie,pe,function(Ue,qe){var Et=Ue.rule,At=(Et.type==="object"||Et.type==="array")&&(typeof Et.fields=="object"||typeof Et.defaultField=="object");At=At&&(Et.required||!Et.required&&Ue.value),Et.field=Ue.field;function Lt(vn,bn){return _extends({},bn,{fullField:Et.fullField+"."+vn,fullFields:Et.fullFields?[].concat(Et.fullFields,[vn]):[vn]})}function hn(vn){vn===void 0&&(vn=[]);var bn=Array.isArray(vn)?vn:[vn];!pe.suppressWarning&&bn.length&&t.warning("async-validator:",bn),bn.length&&Et.message!==void 0&&(bn=[].concat(Et.message));var Cn=bn.map(complementError(Et,de));if(pe.first&&Cn.length)return Fe[Et.field]=1,qe(Cn);if(!At)qe(Cn);else{if(Et.required&&!Ue.value)return Et.message!==void 0?Cn=[].concat(Et.message).map(complementError(Et,de)):pe.error&&(Cn=[pe.error(Et,format$2(pe.messages.required,Et.field))]),qe(Cn);var Sn={};Et.defaultField&&Object.keys(Ue.value).map(function(xn){Sn[xn]=Et.defaultField}),Sn=_extends({},Sn,Ue.rule.fields);var wn={};Object.keys(Sn).forEach(function(xn){var Pn=Sn[xn],kn=Array.isArray(Pn)?Pn:[Pn];wn[xn]=kn.map(Lt.bind(null,xn))});var En=new t(wn);En.messages(pe.messages),Ue.rule.options&&(Ue.rule.options.messages=pe.messages,Ue.rule.options.error=pe.error),En.validate(Ue.value,Ue.rule.options||pe,function(xn){var Pn=[];Cn&&Cn.length&&Pn.push.apply(Pn,Cn),xn&&xn.length&&Pn.push.apply(Pn,xn),qe(Pn.length?Pn:null)})}}var _n;if(Et.asyncValidator)_n=Et.asyncValidator(Et,Ue.value,hn,Ue.source,pe);else if(Et.validator){try{_n=Et.validator(Et,Ue.value,hn,Ue.source,pe)}catch(vn){console.error==null||console.error(vn),pe.suppressValidatorError||setTimeout(function(){throw vn},0),hn(vn.message)}_n===!0?hn():_n===!1?hn(typeof Et.message=="function"?Et.message(Et.fullField||Et.field):Et.message||(Et.fullField||Et.field)+" fails"):_n instanceof Array?hn(_n):_n instanceof Error&&hn(_n.message)}_n&&_n.then&&_n.then(function(){return hn()},function(vn){return hn(vn)})},function(Ue){_e(Ue)},de)},r.getType=function(oe){if(oe.type===void 0&&oe.pattern instanceof RegExp&&(oe.type="pattern"),typeof oe.validator!="function"&&oe.type&&!validators$2.hasOwnProperty(oe.type))throw new Error(format$2("Unknown rule type %s",oe.type));return oe.type||"string"},r.getValidationMethod=function(oe){if(typeof oe.validator=="function")return oe.validator;var ie=Object.keys(oe),le=ie.indexOf("message");return le!==-1&&ie.splice(le,1),ie.length===1&&ie[0]==="required"?validators$2.required:validators$2[this.getType(oe)]||void 0},t}();Schema.register=function(r,V){if(typeof V!="function")throw new Error("Cannot register a validator by type, validator is not a function");validators$2[r]=V};Schema.warning=warning$1;Schema.messages=messages;Schema.validators=validators$2;const formItemValidateStates=["","error","validating","success"],formItemProps=buildProps({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:definePropType([String,Array])},required:{type:Boolean,default:void 0},rules:{type:definePropType([Object,Array])},error:String,validateStatus:{type:String,values:formItemValidateStates},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:componentSizes}}),COMPONENT_NAME$l="ElLabelWrap";var FormLabelWrap=defineComponent({name:COMPONENT_NAME$l,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(t,{slots:r}){const V=inject(formContextKey,void 0),oe=inject(formItemContextKey);oe||throwError$1(COMPONENT_NAME$l,"usage: <el-form-item><label-wrap /></el-form-item>");const ie=useNamespace("form"),le=ref(),ue=ref(0),de=()=>{var _e;if((_e=le.value)!=null&&_e.firstElementChild){const $e=window.getComputedStyle(le.value.firstElementChild).width;return Math.ceil(Number.parseFloat($e))}else return 0},pe=(_e="update")=>{nextTick(()=>{r.default&&t.isAutoWidth&&(_e==="update"?ue.value=de():_e==="remove"&&(V==null||V.deregisterLabelWidth(ue.value)))})},he=()=>pe("update");return onMounted(()=>{he()}),onBeforeUnmount(()=>{pe("remove")}),onUpdated(()=>he()),watch(ue,(_e,$e)=>{t.updateAll&&(V==null||V.registerLabelWidth(_e,$e))}),useResizeObserver$1(computed(()=>{var _e,$e;return($e=(_e=le.value)==null?void 0:_e.firstElementChild)!=null?$e:null}),he),()=>{var _e,$e;if(!r)return null;const{isAutoWidth:Ie}=t;if(Ie){const Ve=V==null?void 0:V.autoLabelWidth,Fe=oe==null?void 0:oe.hasLabel,Ue={};if(Fe&&Ve&&Ve!=="auto"){const qe=Math.max(0,Number.parseInt(Ve,10)-ue.value),Et=V.labelPosition==="left"?"marginRight":"marginLeft";qe&&(Ue[Et]=`${qe}px`)}return createVNode("div",{ref:le,class:[ie.be("item","label-wrap")],style:Ue},[(_e=r.default)==null?void 0:_e.call(r)])}else return createVNode(Fragment,{ref:le},[($e=r.default)==null?void 0:$e.call(r)])}}});const _hoisted_1$14=["role","aria-labelledby"],__default__$1y=defineComponent({name:"ElFormItem"}),_sfc_main$2g=defineComponent({...__default__$1y,props:formItemProps,setup(t,{expose:r}){const V=t,oe=useSlots(),ie=inject(formContextKey,void 0),le=inject(formItemContextKey,void 0),ue=useFormSize(void 0,{formItem:!1}),de=useNamespace("form-item"),pe=useId().value,he=ref([]),_e=ref(""),$e=refDebounced(_e,100),Ie=ref(""),Ve=ref();let Fe,Ue=!1;const qe=computed(()=>{if((ie==null?void 0:ie.labelPosition)==="top")return{};const Kn=addUnit(V.labelWidth||(ie==null?void 0:ie.labelWidth)||"");return Kn?{width:Kn}:{}}),Et=computed(()=>{if((ie==null?void 0:ie.labelPosition)==="top"||ie!=null&&ie.inline)return{};if(!V.label&&!V.labelWidth&&Sn)return{};const Kn=addUnit(V.labelWidth||(ie==null?void 0:ie.labelWidth)||"");return!V.label&&!oe.label?{marginLeft:Kn}:{}}),At=computed(()=>[de.b(),de.m(ue.value),de.is("error",_e.value==="error"),de.is("validating",_e.value==="validating"),de.is("success",_e.value==="success"),de.is("required",kn.value||V.required),de.is("no-asterisk",ie==null?void 0:ie.hideRequiredAsterisk),(ie==null?void 0:ie.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[de.m("feedback")]:ie==null?void 0:ie.statusIcon}]),Lt=computed(()=>isBoolean$3(V.inlineMessage)?V.inlineMessage:(ie==null?void 0:ie.inlineMessage)||!1),hn=computed(()=>[de.e("error"),{[de.em("error","inline")]:Lt.value}]),_n=computed(()=>V.prop?isString$6(V.prop)?V.prop:V.prop.join("."):""),vn=computed(()=>!!(V.label||oe.label)),bn=computed(()=>V.for||he.value.length===1?he.value[0]:void 0),Cn=computed(()=>!bn.value&&vn.value),Sn=!!le,wn=computed(()=>{const Kn=ie==null?void 0:ie.model;if(!(!Kn||!V.prop))return getProp(Kn,V.prop).value}),En=computed(()=>{const{required:Kn}=V,Gn=[];V.rules&&Gn.push(...castArray$1(V.rules));const Qn=ie==null?void 0:ie.rules;if(Qn&&V.prop){const ur=getProp(Qn,V.prop).value;ur&&Gn.push(...castArray$1(ur))}if(Kn!==void 0){const ur=Gn.map((cr,Un)=>[cr,Un]).filter(([cr])=>Object.keys(cr).includes("required"));if(ur.length>0)for(const[cr,Un]of ur)cr.required!==Kn&&(Gn[Un]={...cr,required:Kn});else Gn.push({required:Kn})}return Gn}),xn=computed(()=>En.value.length>0),Pn=Kn=>En.value.filter(Qn=>!Qn.trigger||!Kn?!0:Array.isArray(Qn.trigger)?Qn.trigger.includes(Kn):Qn.trigger===Kn).map(({trigger:Qn,...ur})=>ur),kn=computed(()=>En.value.some(Kn=>Kn.required)),Nn=computed(()=>{var Kn;return $e.value==="error"&&V.showMessage&&((Kn=ie==null?void 0:ie.showMessage)!=null?Kn:!0)}),Dn=computed(()=>`${V.label||""}${(ie==null?void 0:ie.labelSuffix)||""}`),Mn=Kn=>{_e.value=Kn},Ln=Kn=>{var Gn,Qn;const{errors:ur,fields:cr}=Kn;(!ur||!cr)&&console.error(Kn),Mn("error"),Ie.value=ur?(Qn=(Gn=ur==null?void 0:ur[0])==null?void 0:Gn.message)!=null?Qn:`${V.prop} is required`:"",ie==null||ie.emit("validate",V.prop,!1,Ie.value)},An=()=>{Mn("success"),ie==null||ie.emit("validate",V.prop,!0,"")},Vn=async Kn=>{const Gn=_n.value;return new Schema({[Gn]:Kn}).validate({[Gn]:wn.value},{firstFields:!0}).then(()=>(An(),!0)).catch(ur=>(Ln(ur),Promise.reject(ur)))},Wn=async(Kn,Gn)=>{if(Ue||!V.prop)return!1;const Qn=isFunction$5(Gn);if(!xn.value)return Gn==null||Gn(!1),!1;const ur=Pn(Kn);return ur.length===0?(Gn==null||Gn(!0),!0):(Mn("validating"),Vn(ur).then(()=>(Gn==null||Gn(!0),!0)).catch(cr=>{const{fields:Un}=cr;return Gn==null||Gn(!1,Un),Qn?!1:Promise.reject(Un)}))},Fn=()=>{Mn(""),Ie.value="",Ue=!1},Yn=async()=>{const Kn=ie==null?void 0:ie.model;if(!Kn||!V.prop)return;const Gn=getProp(Kn,V.prop);Ue=!0,Gn.value=clone$4(Fe),await nextTick(),Fn(),Ue=!1},tr=Kn=>{he.value.includes(Kn)||he.value.push(Kn)},yr=Kn=>{he.value=he.value.filter(Gn=>Gn!==Kn)};watch(()=>V.error,Kn=>{Ie.value=Kn||"",Mn(Kn?"error":"")},{immediate:!0}),watch(()=>V.validateStatus,Kn=>Mn(Kn||""));const Jn=reactive({...toRefs(V),$el:Ve,size:ue,validateState:_e,labelId:pe,inputIds:he,isGroup:Cn,hasLabel:vn,addInputId:tr,removeInputId:yr,resetField:Yn,clearValidate:Fn,validate:Wn});return provide(formItemContextKey,Jn),onMounted(()=>{V.prop&&(ie==null||ie.addField(Jn),Fe=clone$4(wn.value))}),onBeforeUnmount(()=>{ie==null||ie.removeField(Jn)}),r({size:ue,validateMessage:Ie,validateState:_e,validate:Wn,clearValidate:Fn,resetField:Yn}),(Kn,Gn)=>{var Qn;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:Ve,class:normalizeClass(unref(At)),role:unref(Cn)?"group":void 0,"aria-labelledby":unref(Cn)?unref(pe):void 0},[createVNode(unref(FormLabelWrap),{"is-auto-width":unref(qe).width==="auto","update-all":((Qn=unref(ie))==null?void 0:Qn.labelWidth)==="auto"},{default:withCtx(()=>[unref(vn)?(openBlock(),createBlock(resolveDynamicComponent(unref(bn)?"label":"div"),{key:0,id:unref(pe),for:unref(bn),class:normalizeClass(unref(de).e("label")),style:normalizeStyle$1(unref(qe))},{default:withCtx(()=>[renderSlot(Kn.$slots,"label",{label:unref(Dn)},()=>[createTextVNode(toDisplayString$1(unref(Dn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(de).e("content")),style:normalizeStyle$1(unref(Et))},[renderSlot(Kn.$slots,"default"),createVNode(TransitionGroup,{name:`${unref(de).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Nn)?renderSlot(Kn.$slots,"error",{key:0,error:Ie.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(hn))},toDisplayString$1(Ie.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$14)}}});var FormItem=_export_sfc$1(_sfc_main$2g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem);let hiddenTextarea;const HIDDEN_STYLE=`
|
||
height:0 !important;
|
||
visibility:hidden !important;
|
||
${isFirefox()?"":"overflow:hidden !important;"}
|
||
position:absolute !important;
|
||
z-index:-1000 !important;
|
||
top:0 !important;
|
||
right:0 !important;
|
||
`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(t){const r=window.getComputedStyle(t),V=r.getPropertyValue("box-sizing"),oe=Number.parseFloat(r.getPropertyValue("padding-bottom"))+Number.parseFloat(r.getPropertyValue("padding-top")),ie=Number.parseFloat(r.getPropertyValue("border-bottom-width"))+Number.parseFloat(r.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(ue=>`${ue}:${r.getPropertyValue(ue)}`).join(";"),paddingSize:oe,borderSize:ie,boxSizing:V}}function calcTextareaHeight(t,r=1,V){var oe;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:ie,borderSize:le,boxSizing:ue,contextStyle:de}=calculateNodeStyling(t);hiddenTextarea.setAttribute("style",`${de};${HIDDEN_STYLE}`),hiddenTextarea.value=t.value||t.placeholder||"";let pe=hiddenTextarea.scrollHeight;const he={};ue==="border-box"?pe=pe+le:ue==="content-box"&&(pe=pe-ie),hiddenTextarea.value="";const _e=hiddenTextarea.scrollHeight-ie;if(isNumber$4(r)){let $e=_e*r;ue==="border-box"&&($e=$e+ie+le),pe=Math.max($e,pe),he.minHeight=`${$e}px`}if(isNumber$4(V)){let $e=_e*V;ue==="border-box"&&($e=$e+ie+le),pe=Math.min($e,pe)}return he.height=`${pe}px`,(oe=hiddenTextarea.parentNode)==null||oe.removeChild(hiddenTextarea),hiddenTextarea=void 0,he}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})}}),inputEmits={[UPDATE_MODEL_EVENT]:t=>isString$6(t),input:t=>isString$6(t),change:t=>isString$6(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,mouseleave:t=>t instanceof MouseEvent,mouseenter:t=>t instanceof MouseEvent,keydown:t=>t instanceof Event,compositionstart:t=>t instanceof CompositionEvent,compositionupdate:t=>t instanceof CompositionEvent,compositionend:t=>t instanceof CompositionEvent},_hoisted_1$13=["role"],_hoisted_2$I=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],_hoisted_3$o=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],__default__$1x=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2f=defineComponent({...__default__$1x,props:inputProps,emits:inputEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useAttrs$1(),le=useSlots(),ue=computed(()=>{const br={};return oe.containerRole==="combobox"&&(br["aria-haspopup"]=ie["aria-haspopup"],br["aria-owns"]=ie["aria-owns"],br["aria-expanded"]=ie["aria-expanded"]),br}),de=computed(()=>[oe.type==="textarea"?qe.b():Ue.b(),Ue.m(Ve.value),Ue.is("disabled",Fe.value),Ue.is("exceed",tr.value),{[Ue.b("group")]:le.prepend||le.append,[Ue.bm("group","append")]:le.append,[Ue.bm("group","prepend")]:le.prepend,[Ue.m("prefix")]:le.prefix||oe.prefixIcon,[Ue.m("suffix")]:le.suffix||oe.suffixIcon||oe.clearable||oe.showPassword,[Ue.bm("suffix","password-clear")]:Vn.value&&Wn.value},ie.class]),pe=computed(()=>[Ue.e("wrapper"),Ue.is("focus",wn.value)]),he=useAttrs({excludeKeys:computed(()=>Object.keys(ue.value))}),{form:_e,formItem:$e}=useFormItem(),{inputId:Ie}=useFormItemInputId(oe,{formItemContext:$e}),Ve=useFormSize(),Fe=useFormDisabled(),Ue=useNamespace("input"),qe=useNamespace("textarea"),Et=shallowRef(),At=shallowRef(),Lt=ref(!1),hn=ref(!1),_n=ref(!1),vn=ref(),bn=shallowRef(oe.inputStyle),Cn=computed(()=>Et.value||At.value),{wrapperRef:Sn,isFocused:wn,handleFocus:En,handleBlur:xn}=useFocusController(Cn,{afterBlur(){var br;oe.validateEvent&&((br=$e==null?void 0:$e.validate)==null||br.call($e,"blur").catch(Ar=>void 0))}}),Pn=computed(()=>{var br;return(br=_e==null?void 0:_e.statusIcon)!=null?br:!1}),kn=computed(()=>($e==null?void 0:$e.validateState)||""),Nn=computed(()=>kn.value&&ValidateComponentsMap[kn.value]),Dn=computed(()=>_n.value?view_default:hide_default),Mn=computed(()=>[ie.style,oe.inputStyle]),Ln=computed(()=>[oe.inputStyle,bn.value,{resize:oe.resize}]),An=computed(()=>isNil(oe.modelValue)?"":String(oe.modelValue)),Vn=computed(()=>oe.clearable&&!Fe.value&&!oe.readonly&&!!An.value&&(wn.value||Lt.value)),Wn=computed(()=>oe.showPassword&&!Fe.value&&!oe.readonly&&!!An.value&&(!!An.value||wn.value)),Fn=computed(()=>oe.showWordLimit&&!!he.value.maxlength&&(oe.type==="text"||oe.type==="textarea")&&!Fe.value&&!oe.readonly&&!oe.showPassword),Yn=computed(()=>An.value.length),tr=computed(()=>!!Fn.value&&Yn.value>Number(he.value.maxlength)),yr=computed(()=>!!le.suffix||!!oe.suffixIcon||Vn.value||oe.showPassword||Fn.value||!!kn.value&&Pn.value),[Jn,Kn]=useCursor(Et);useResizeObserver$1(At,br=>{if(ur(),!Fn.value||oe.resize!=="both")return;const Ar=br[0],{width:Dr}=Ar.contentRect;vn.value={right:`calc(100% - ${Dr+15+6}px)`}});const Gn=()=>{const{type:br,autosize:Ar}=oe;if(!(!isClient$1||br!=="textarea"||!At.value))if(Ar){const Dr=isObject$9(Ar)?Ar.minRows:void 0,Br=isObject$9(Ar)?Ar.maxRows:void 0,zr=calcTextareaHeight(At.value,Dr,Br);bn.value={overflowY:"hidden",...zr},nextTick(()=>{At.value.offsetHeight,bn.value=zr})}else bn.value={minHeight:calcTextareaHeight(At.value).minHeight}},ur=(br=>{let Ar=!1;return()=>{var Dr;if(Ar||!oe.autosize)return;((Dr=At.value)==null?void 0:Dr.offsetParent)===null||(br(),Ar=!0)}})(Gn),cr=()=>{const br=Cn.value,Ar=oe.formatter?oe.formatter(An.value):An.value;!br||br.value===Ar||(br.value=Ar)},Un=async br=>{Jn();let{value:Ar}=br.target;if(oe.formatter&&(Ar=oe.parser?oe.parser(Ar):Ar),!hn.value){if(Ar===An.value){cr();return}V(UPDATE_MODEL_EVENT,Ar),V("input",Ar),await nextTick(),cr(),Kn()}},qn=br=>{V("change",br.target.value)},er=br=>{V("compositionstart",br),hn.value=!0},pr=br=>{var Ar;V("compositionupdate",br);const Dr=(Ar=br.target)==null?void 0:Ar.value,Br=Dr[Dr.length-1]||"";hn.value=!isKorean(Br)},Er=br=>{V("compositionend",br),hn.value&&(hn.value=!1,Un(br))},dr=()=>{_n.value=!_n.value,xr()},xr=async()=>{var br;await nextTick(),(br=Cn.value)==null||br.focus()},wr=()=>{var br;return(br=Cn.value)==null?void 0:br.blur()},Cr=br=>{Lt.value=!1,V("mouseleave",br)},gr=br=>{Lt.value=!0,V("mouseenter",br)},or=br=>{V("keydown",br)},fr=()=>{var br;(br=Cn.value)==null||br.select()},kr=()=>{V(UPDATE_MODEL_EVENT,""),V("change",""),V("clear"),V("input","")};return watch(()=>oe.modelValue,()=>{var br;nextTick(()=>Gn()),oe.validateEvent&&((br=$e==null?void 0:$e.validate)==null||br.call($e,"change").catch(Ar=>void 0))}),watch(An,()=>cr()),watch(()=>oe.type,async()=>{await nextTick(),cr(),Gn()}),onMounted(()=>{!oe.formatter&&oe.parser,cr(),nextTick(Gn)}),r({input:Et,textarea:At,ref:Cn,textareaStyle:Ln,autosize:toRef(oe,"autosize"),focus:xr,blur:wr,select:fr,clear:kr,resizeTextarea:Gn}),(br,Ar)=>withDirectives((openBlock(),createElementBlock("div",mergeProps(unref(ue),{class:unref(de),style:unref(Mn),role:br.containerRole,onMouseenter:gr,onMouseleave:Cr}),[createCommentVNode(" input "),br.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),br.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).be("group","prepend"))},[renderSlot(br.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:Sn,class:normalizeClass(unref(pe))},[createCommentVNode(" prefix slot "),br.$slots.prefix||br.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ue).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("prefix-inner"))},[renderSlot(br.$slots,"prefix"),br.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(br.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(Ie),ref_key:"input",ref:Et,class:unref(Ue).e("inner")},unref(he),{type:br.showPassword?_n.value?"text":"password":br.type,disabled:unref(Fe),formatter:br.formatter,parser:br.parser,readonly:br.readonly,autocomplete:br.autocomplete,tabindex:br.tabindex,"aria-label":br.label,placeholder:br.placeholder,style:br.inputStyle,form:oe.form,onCompositionstart:er,onCompositionupdate:pr,onCompositionend:Er,onInput:Un,onFocus:Ar[0]||(Ar[0]=(...Dr)=>unref(En)&&unref(En)(...Dr)),onBlur:Ar[1]||(Ar[1]=(...Dr)=>unref(xn)&&unref(xn)(...Dr)),onChange:qn,onKeydown:or}),null,16,_hoisted_2$I),createCommentVNode(" suffix slot "),unref(yr)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Ue).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("suffix-inner"))},[!unref(Vn)||!unref(Wn)||!unref(Fn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(br.$slots,"suffix"),br.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(br.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(Vn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ue).e("icon"),unref(Ue).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:kr},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Wn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Ue).e("icon"),unref(Ue).e("password")]),onClick:dr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Fn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(Ue).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("count-inner"))},toDisplayString$1(unref(Yn))+" / "+toDisplayString$1(unref(he).maxlength),3)],2)):createCommentVNode("v-if",!0),unref(kn)&&unref(Nn)&&unref(Pn)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(Ue).e("icon"),unref(Ue).e("validateIcon"),unref(Ue).is("loading",unref(kn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Nn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),br.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).be("group","append"))},[renderSlot(br.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(Ie),ref_key:"textarea",ref:At,class:unref(qe).e("inner")},unref(he),{tabindex:br.tabindex,disabled:unref(Fe),readonly:br.readonly,autocomplete:br.autocomplete,style:unref(Ln),"aria-label":br.label,placeholder:br.placeholder,form:oe.form,onCompositionstart:er,onCompositionupdate:pr,onCompositionend:Er,onInput:Un,onFocus:Ar[2]||(Ar[2]=(...Dr)=>unref(En)&&unref(En)(...Dr)),onBlur:Ar[3]||(Ar[3]=(...Dr)=>unref(xn)&&unref(xn)(...Dr)),onChange:qn,onKeydown:or}),null,16,_hoisted_3$o),unref(Fn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1(vn.value),class:normalizeClass(unref(Ue).e("count"))},toDisplayString$1(unref(Yn))+" / "+toDisplayString$1(unref(he).maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$13)),[[vShow,br.type!=="hidden"]])}});var Input=_export_sfc$1(_sfc_main$2f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},renderThumbStyle$1=({move:t,size:r,bar:V})=>({[V.size]:r,transform:`translate${V.axis}(${t}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2e=defineComponent({__name:"thumb",props:thumbProps,setup(t){const r=t,V=inject(scrollbarContextKey),oe=useNamespace("scrollbar");V||throwError$1(COMPONENT_NAME$k,"can not inject scrollbar context");const ie=ref(),le=ref(),ue=ref({}),de=ref(!1);let pe=!1,he=!1,_e=isClient$1?document.onselectstart:null;const $e=computed(()=>BAR_MAP[r.vertical?"vertical":"horizontal"]),Ie=computed(()=>renderThumbStyle$1({size:r.size,move:r.move,bar:$e.value})),Ve=computed(()=>ie.value[$e.value.offset]**2/V.wrapElement[$e.value.scrollSize]/r.ratio/le.value[$e.value.offset]),Fe=vn=>{var bn;if(vn.stopPropagation(),vn.ctrlKey||[1,2].includes(vn.button))return;(bn=window.getSelection())==null||bn.removeAllRanges(),qe(vn);const Cn=vn.currentTarget;Cn&&(ue.value[$e.value.axis]=Cn[$e.value.offset]-(vn[$e.value.client]-Cn.getBoundingClientRect()[$e.value.direction]))},Ue=vn=>{if(!le.value||!ie.value||!V.wrapElement)return;const bn=Math.abs(vn.target.getBoundingClientRect()[$e.value.direction]-vn[$e.value.client]),Cn=le.value[$e.value.offset]/2,Sn=(bn-Cn)*100*Ve.value/ie.value[$e.value.offset];V.wrapElement[$e.value.scroll]=Sn*V.wrapElement[$e.value.scrollSize]/100},qe=vn=>{vn.stopImmediatePropagation(),pe=!0,document.addEventListener("mousemove",Et),document.addEventListener("mouseup",At),_e=document.onselectstart,document.onselectstart=()=>!1},Et=vn=>{if(!ie.value||!le.value||pe===!1)return;const bn=ue.value[$e.value.axis];if(!bn)return;const Cn=(ie.value.getBoundingClientRect()[$e.value.direction]-vn[$e.value.client])*-1,Sn=le.value[$e.value.offset]-bn,wn=(Cn-Sn)*100*Ve.value/ie.value[$e.value.offset];V.wrapElement[$e.value.scroll]=wn*V.wrapElement[$e.value.scrollSize]/100},At=()=>{pe=!1,ue.value[$e.value.axis]=0,document.removeEventListener("mousemove",Et),document.removeEventListener("mouseup",At),_n(),he&&(de.value=!1)},Lt=()=>{he=!1,de.value=!!r.size},hn=()=>{he=!0,de.value=pe};onBeforeUnmount(()=>{_n(),document.removeEventListener("mouseup",At)});const _n=()=>{document.onselectstart!==_e&&(document.onselectstart=_e)};return useEventListener$1(toRef(V,"scrollbarElement"),"mousemove",Lt),useEventListener$1(toRef(V,"scrollbarElement"),"mouseleave",hn),(vn,bn)=>(openBlock(),createBlock(Transition,{name:unref(oe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:ie,class:normalizeClass([unref(oe).e("bar"),unref(oe).is(unref($e).key)]),onMousedown:Ue},[createBaseVNode("div",{ref_key:"thumb",ref:le,class:normalizeClass(unref(oe).e("thumb")),style:normalizeStyle$1(unref(Ie)),onMousedown:Fe},null,38)],34),[[vShow,vn.always||de.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$2e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),_sfc_main$2d=defineComponent({__name:"bar",props:barProps,setup(t,{expose:r}){const V=t,oe=ref(0),ie=ref(0);return r({handleScroll:ue=>{if(ue){const de=ue.offsetHeight-GAP,pe=ue.offsetWidth-GAP;ie.value=ue.scrollTop*100/de*V.ratioY,oe.value=ue.scrollLeft*100/pe*V.ratioX}}}),(ue,de)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Thumb,{move:oe.value,ratio:ue.ratioX,size:ue.width,always:ue.always},null,8,["move","ratio","size","always"]),createVNode(Thumb,{move:ie.value,ratio:ue.ratioY,size:ue.height,vertical:"",always:ue.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$2d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20}}),scrollbarEmits={scroll:({scrollTop:t,scrollLeft:r})=>[t,r].every(isNumber$4)},COMPONENT_NAME$j="ElScrollbar",__default__$1w=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2c=defineComponent({...__default__$1w,props:scrollbarProps,emits:scrollbarEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useNamespace("scrollbar");let le,ue;const de=ref(),pe=ref(),he=ref(),_e=ref("0"),$e=ref("0"),Ie=ref(),Ve=ref(1),Fe=ref(1),Ue=computed(()=>{const bn={};return oe.height&&(bn.height=addUnit(oe.height)),oe.maxHeight&&(bn.maxHeight=addUnit(oe.maxHeight)),[oe.wrapStyle,bn]}),qe=computed(()=>[oe.wrapClass,ie.e("wrap"),{[ie.em("wrap","hidden-default")]:!oe.native}]),Et=computed(()=>[ie.e("view"),oe.viewClass]),At=()=>{var bn;pe.value&&((bn=Ie.value)==null||bn.handleScroll(pe.value),V("scroll",{scrollTop:pe.value.scrollTop,scrollLeft:pe.value.scrollLeft}))};function Lt(bn,Cn){isObject$9(bn)?pe.value.scrollTo(bn):isNumber$4(bn)&&isNumber$4(Cn)&&pe.value.scrollTo(bn,Cn)}const hn=bn=>{isNumber$4(bn)&&(pe.value.scrollTop=bn)},_n=bn=>{isNumber$4(bn)&&(pe.value.scrollLeft=bn)},vn=()=>{if(!pe.value)return;const bn=pe.value.offsetHeight-GAP,Cn=pe.value.offsetWidth-GAP,Sn=bn**2/pe.value.scrollHeight,wn=Cn**2/pe.value.scrollWidth,En=Math.max(Sn,oe.minSize),xn=Math.max(wn,oe.minSize);Ve.value=Sn/(bn-Sn)/(En/(bn-En)),Fe.value=wn/(Cn-wn)/(xn/(Cn-xn)),$e.value=En+GAP<bn?`${En}px`:"",_e.value=xn+GAP<Cn?`${xn}px`:""};return watch(()=>oe.noresize,bn=>{bn?(le==null||le(),ue==null||ue()):({stop:le}=useResizeObserver$1(he,vn),ue=useEventListener$1("resize",vn))},{immediate:!0}),watch(()=>[oe.maxHeight,oe.height],()=>{oe.native||nextTick(()=>{var bn;vn(),pe.value&&((bn=Ie.value)==null||bn.handleScroll(pe.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:de,wrapElement:pe})),onMounted(()=>{oe.native||nextTick(()=>{vn()})}),onUpdated(()=>vn()),r({wrapRef:pe,update:vn,scrollTo:Lt,setScrollTop:hn,setScrollLeft:_n,handleScroll:At}),(bn,Cn)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:de,class:normalizeClass(unref(ie).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:pe,class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue)),onScroll:At},[(openBlock(),createBlock(resolveDynamicComponent(bn.tag),{ref_key:"resizeRef",ref:he,class:normalizeClass(unref(Et)),style:normalizeStyle$1(bn.viewStyle)},{default:withCtx(()=>[renderSlot(bn.$slots,"default")]),_:3},8,["class","style"]))],38),bn.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:Ie,height:$e.value,width:_e.value,always:bn.always,"ratio-x":Fe.value,"ratio-y":Ve.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$2c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$1v=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2b=defineComponent({...__default__$1v,props:popperProps,setup(t,{expose:r}){const V=t,oe=ref(),ie=ref(),le=ref(),ue=ref(),de=computed(()=>V.role),pe={triggerRef:oe,popperInstanceRef:ie,contentRef:le,referenceRef:ue,role:de};return r(pe),provide(POPPER_INJECTION_KEY,pe),(he,_e)=>renderSlot(he.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$2b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1u=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2a=defineComponent({...__default__$1u,props:popperArrowProps,setup(t,{expose:r}){const V=t,oe=useNamespace("popper"),{arrowOffset:ie,arrowRef:le,arrowStyle:ue}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>V.arrowOffset,de=>{ie.value=de}),onBeforeUnmount(()=>{le.value=void 0}),r({arrowRef:le}),(de,pe)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:le,class:normalizeClass(unref(oe).e("arrow")),style:normalizeStyle$1(unref(ue)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$2a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(t,{slots:r,attrs:V}){var oe;const ie=inject(FORWARD_REF_INJECTION_KEY),le=useForwardRefDirective((oe=ie==null?void 0:ie.setForwardRef)!=null?oe:NOOP);return()=>{var ue;const de=(ue=r.default)==null?void 0:ue.call(r,V);if(!de||de.length>1)return null;const pe=findFirstLegitChild(de);return pe?withDirectives(cloneVNode(pe,V),[[le]]):null}}});function findFirstLegitChild(t){if(!t)return null;const r=t;for(const V of r){if(isObject$9(V))switch(V.type){case Comment:continue;case Text$1:case"svg":return wrapTextContent(V);case Fragment:return findFirstLegitChild(V.children);default:return V}return wrapTextContent(V)}return null}function wrapTextContent(t){const r=useNamespace("only-child");return createVNode("span",{class:r.e("content")},[t])}const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),__default__$1t=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$29=defineComponent({...__default__$1t,props:popperTriggerProps,setup(t,{expose:r}){const V=t,{role:oe,triggerRef:ie}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(ie);const le=computed(()=>de.value?V.id:void 0),ue=computed(()=>{if(oe&&oe.value==="tooltip")return V.open&&V.id?V.id:void 0}),de=computed(()=>{if(oe&&oe.value!=="tooltip")return oe.value}),pe=computed(()=>de.value?`${V.open}`:void 0);let he;return onMounted(()=>{watch(()=>V.virtualRef,_e=>{_e&&(ie.value=unrefElement$1(_e))},{immediate:!0}),watch(ie,(_e,$e)=>{he==null||he(),he=void 0,isElement$2(_e)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(Ie=>{var Ve;const Fe=V[Ie];Fe&&(_e.addEventListener(Ie.slice(2).toLowerCase(),Fe),(Ve=$e==null?void 0:$e.removeEventListener)==null||Ve.call($e,Ie.slice(2).toLowerCase(),Fe))}),he=watch([le,ue,de,pe],Ie=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((Ve,Fe)=>{isNil(Ie[Fe])?_e.removeAttribute(Ve):_e.setAttribute(Ve,Ie[Fe])})},{immediate:!0})),isElement$2($e)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(Ie=>$e.removeAttribute(Ie))},{immediate:!0})}),onBeforeUnmount(()=>{he==null||he(),he=void 0}),r({triggerRef:ie}),(_e,$e)=>_e.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},_e.$attrs,{"aria-controls":unref(le),"aria-describedby":unref(ue),"aria-expanded":unref(pe),"aria-haspopup":unref(de)}),{default:withCtx(()=>[renderSlot(_e.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$29,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref(),lastUserFocusTimestamp=ref(0),lastAutomatedFocusTimestamp=ref(0);let focusReasonUserCount=0;const obtainAllFocusableElements=t=>{const r=[],V=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:oe=>{const ie=oe.tagName==="INPUT"&&oe.type==="hidden";return oe.disabled||oe.hidden||ie?NodeFilter.FILTER_SKIP:oe.tabIndex>=0||oe===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;V.nextNode();)r.push(V.currentNode);return r},getVisibleElement=(t,r)=>{for(const V of t)if(!isHidden(V,r))return V},isHidden=(t,r)=>{if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(r&&t===r)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1},getEdges=t=>{const r=obtainAllFocusableElements(t),V=getVisibleElement(r,t),oe=getVisibleElement(r.reverse(),t);return[V,oe]},isSelectable=t=>t instanceof HTMLInputElement&&"select"in t,tryFocus=(t,r)=>{if(t&&t.focus){const V=document.activeElement;t.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),t!==V&&isSelectable(t)&&r&&t.select()}};function removeFromStack(t,r){const V=[...t],oe=t.indexOf(r);return oe!==-1&&V.splice(oe,1),V}const createFocusableStack=()=>{let t=[];return{push:oe=>{const ie=t[0];ie&&oe!==ie&&ie.pause(),t=removeFromStack(t,oe),t.unshift(oe)},remove:oe=>{var ie,le;t=removeFromStack(t,oe),(le=(ie=t[0])==null?void 0:ie.resume)==null||le.call(ie)}}},focusFirstDescendant=(t,r=!1)=>{const V=document.activeElement;for(const oe of t)if(tryFocus(oe,r),document.activeElement!==V)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=t=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:t}),_sfc_main$28=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{emit:r}){const V=ref();let oe,ie;const{focusReason:le}=useFocusReason();useEscapeKeydown(Fe=>{t.trapped&&!ue.paused&&r("release-requested",Fe)});const ue={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},de=Fe=>{if(!t.loop&&!t.trapped||ue.paused)return;const{key:Ue,altKey:qe,ctrlKey:Et,metaKey:At,currentTarget:Lt,shiftKey:hn}=Fe,{loop:_n}=t,vn=Ue===EVENT_CODE.tab&&!qe&&!Et&&!At,bn=document.activeElement;if(vn&&bn){const Cn=Lt,[Sn,wn]=getEdges(Cn);if(Sn&&wn){if(!hn&&bn===wn){const xn=createFocusOutPreventedEvent({focusReason:le.value});r("focusout-prevented",xn),xn.defaultPrevented||(Fe.preventDefault(),_n&&tryFocus(Sn,!0))}else if(hn&&[Sn,Cn].includes(bn)){const xn=createFocusOutPreventedEvent({focusReason:le.value});r("focusout-prevented",xn),xn.defaultPrevented||(Fe.preventDefault(),_n&&tryFocus(wn,!0))}}else if(bn===Cn){const xn=createFocusOutPreventedEvent({focusReason:le.value});r("focusout-prevented",xn),xn.defaultPrevented||Fe.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:V,onKeydown:de}),watch(()=>t.focusTrapEl,Fe=>{Fe&&(V.value=Fe)},{immediate:!0}),watch([V],([Fe],[Ue])=>{Fe&&(Fe.addEventListener("keydown",de),Fe.addEventListener("focusin",_e),Fe.addEventListener("focusout",$e)),Ue&&(Ue.removeEventListener("keydown",de),Ue.removeEventListener("focusin",_e),Ue.removeEventListener("focusout",$e))});const pe=Fe=>{r(ON_TRAP_FOCUS_EVT,Fe)},he=Fe=>r(ON_RELEASE_FOCUS_EVT,Fe),_e=Fe=>{const Ue=unref(V);if(!Ue)return;const qe=Fe.target,Et=Fe.relatedTarget,At=qe&&Ue.contains(qe);t.trapped||Et&&Ue.contains(Et)||(oe=Et),At&&r("focusin",Fe),!ue.paused&&t.trapped&&(At?ie=qe:tryFocus(ie,!0))},$e=Fe=>{const Ue=unref(V);if(!(ue.paused||!Ue))if(t.trapped){const qe=Fe.relatedTarget;!isNil(qe)&&!Ue.contains(qe)&&setTimeout(()=>{if(!ue.paused&&t.trapped){const Et=createFocusOutPreventedEvent({focusReason:le.value});r("focusout-prevented",Et),Et.defaultPrevented||tryFocus(ie,!0)}},0)}else{const qe=Fe.target;qe&&Ue.contains(qe)||r("focusout",Fe)}};async function Ie(){await nextTick();const Fe=unref(V);if(Fe){focusableStack.push(ue);const Ue=Fe.contains(document.activeElement)?oe:document.activeElement;if(oe=Ue,!Fe.contains(Ue)){const Et=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);Fe.addEventListener(FOCUS_AFTER_TRAPPED,pe),Fe.dispatchEvent(Et),Et.defaultPrevented||nextTick(()=>{let At=t.focusStartEl;isString$6(At)||(tryFocus(At),document.activeElement!==At&&(At="first")),At==="first"&&focusFirstDescendant(obtainAllFocusableElements(Fe),!0),(document.activeElement===Ue||At==="container")&&tryFocus(Fe)})}}}function Ve(){const Fe=unref(V);if(Fe){Fe.removeEventListener(FOCUS_AFTER_TRAPPED,pe);const Ue=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:le.value}});Fe.addEventListener(FOCUS_AFTER_RELEASED,he),Fe.dispatchEvent(Ue),!Ue.defaultPrevented&&(le.value=="keyboard"||!isFocusCausedByUserEvent()||Fe.contains(document.activeElement))&&tryFocus(oe??document.body),Fe.removeEventListener(FOCUS_AFTER_RELEASED,he),focusableStack.remove(ue)}}return onMounted(()=>{t.trapped&&Ie(),watch(()=>t.trapped,Fe=>{Fe?Ie():Ve()})}),onBeforeUnmount(()=>{t.trapped&&Ve()}),{onKeydown:de}}});function _sfc_render$w(t,r,V,oe,ie,le){return renderSlot(t.$slots,"default",{handleKeydown:t.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$28,[["render",_sfc_render$w],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),popperContentEmits={mouseenter:t=>t instanceof MouseEvent,mouseleave:t=>t instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(t,r=[])=>{const{placement:V,strategy:oe,popperOptions:ie}=t,le={placement:V,strategy:oe,...ie,modifiers:[...genModifiers(t),...r]};return deriveExtraModifiers(le,ie==null?void 0:ie.modifiers),le},unwrapMeasurableEl=t=>{if(isClient$1)return unrefElement$1(t)};function genModifiers(t){const{offset:r,gpuAcceleration:V,fallbackPlacements:oe}=t;return[{name:"offset",options:{offset:[0,r??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:oe}},{name:"computeStyles",options:{gpuAcceleration:V}}]}function deriveExtraModifiers(t,r){r&&(t.modifiers=[...t.modifiers,...r??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=t=>{const{popperInstanceRef:r,contentRef:V,triggerRef:oe,role:ie}=inject(POPPER_INJECTION_KEY,void 0),le=ref(),ue=ref(),de=computed(()=>({name:"eventListeners",enabled:!!t.visible})),pe=computed(()=>{var Et;const At=unref(le),Lt=(Et=unref(ue))!=null?Et:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(At),options:{element:At,padding:Lt}}}),he=computed(()=>({onFirstUpdate:()=>{Fe()},...buildPopperOptions(t,[unref(pe),unref(de)])})),_e=computed(()=>unwrapMeasurableEl(t.referenceEl)||unref(oe)),{attributes:$e,state:Ie,styles:Ve,update:Fe,forceUpdate:Ue,instanceRef:qe}=usePopper(_e,V,he);return watch(qe,Et=>r.value=Et),onMounted(()=>{watch(()=>{var Et;return(Et=unref(_e))==null?void 0:Et.getBoundingClientRect()},()=>{Fe()})}),{attributes:$e,arrowRef:le,contentRef:V,instanceRef:qe,state:Ie,styles:Ve,role:ie,forceUpdate:Ue,update:Fe}},usePopperContentDOM=(t,{attributes:r,styles:V,role:oe})=>{const{nextZIndex:ie}=useZIndex(),le=useNamespace("popper"),ue=computed(()=>unref(r).popper),de=ref(t.zIndex||ie()),pe=computed(()=>[le.b(),le.is("pure",t.pure),le.is(t.effect),t.popperClass]),he=computed(()=>[{zIndex:unref(de)},unref(V).popper,t.popperStyle||{}]),_e=computed(()=>oe.value==="dialog"?"false":void 0),$e=computed(()=>unref(V).arrow||{});return{ariaModal:_e,arrowStyle:$e,contentAttrs:ue,contentClass:pe,contentStyle:he,contentZIndex:de,updateZIndex:()=>{de.value=t.zIndex||ie()}}},usePopperContentFocusTrap=(t,r)=>{const V=ref(!1),oe=ref();return{focusStartRef:oe,trapped:V,onFocusAfterReleased:he=>{var _e;((_e=he.detail)==null?void 0:_e.focusReason)!=="pointer"&&(oe.value="first",r("blur"))},onFocusAfterTrapped:()=>{r("focus")},onFocusInTrap:he=>{t.visible&&!V.value&&(he.target&&(oe.value=he.target),V.value=!0)},onFocusoutPrevented:he=>{t.trapping||(he.detail.focusReason==="pointer"&&he.preventDefault(),V.value=!1)},onReleaseRequested:()=>{V.value=!1,r("close")}}},__default__$1s=defineComponent({name:"ElPopperContent"}),_sfc_main$27=defineComponent({...__default__$1s,props:popperContentProps,emits:popperContentEmits,setup(t,{expose:r,emit:V}){const oe=t,{focusStartRef:ie,trapped:le,onFocusAfterReleased:ue,onFocusAfterTrapped:de,onFocusInTrap:pe,onFocusoutPrevented:he,onReleaseRequested:_e}=usePopperContentFocusTrap(oe,V),{attributes:$e,arrowRef:Ie,contentRef:Ve,styles:Fe,instanceRef:Ue,role:qe,update:Et}=usePopperContent(oe),{ariaModal:At,arrowStyle:Lt,contentAttrs:hn,contentClass:_n,contentStyle:vn,updateZIndex:bn}=usePopperContentDOM(oe,{styles:Fe,attributes:$e,role:qe}),Cn=inject(formItemContextKey,void 0),Sn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:Lt,arrowRef:Ie,arrowOffset:Sn}),Cn&&(Cn.addInputId||Cn.removeInputId)&&provide(formItemContextKey,{...Cn,addInputId:NOOP,removeInputId:NOOP});let wn;const En=(Pn=!0)=>{Et(),Pn&&bn()},xn=()=>{En(!1),oe.visible&&oe.focusOnShow?le.value=!0:oe.visible===!1&&(le.value=!1)};return onMounted(()=>{watch(()=>oe.triggerTargetEl,(Pn,kn)=>{wn==null||wn(),wn=void 0;const Nn=unref(Pn||Ve.value),Dn=unref(kn||Ve.value);isElement$2(Nn)&&(wn=watch([qe,()=>oe.ariaLabel,At,()=>oe.id],Mn=>{["role","aria-label","aria-modal","id"].forEach((Ln,An)=>{isNil(Mn[An])?Nn.removeAttribute(Ln):Nn.setAttribute(Ln,Mn[An])})},{immediate:!0})),Dn!==Nn&&isElement$2(Dn)&&["role","aria-label","aria-modal","id"].forEach(Mn=>{Dn.removeAttribute(Mn)})},{immediate:!0}),watch(()=>oe.visible,xn,{immediate:!0})}),onBeforeUnmount(()=>{wn==null||wn(),wn=void 0}),r({popperContentRef:Ve,popperInstanceRef:Ue,updatePopper:En,contentStyle:vn}),(Pn,kn)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:Ve},unref(hn),{style:unref(vn),class:unref(_n),tabindex:"-1",onMouseenter:kn[0]||(kn[0]=Nn=>Pn.$emit("mouseenter",Nn)),onMouseleave:kn[1]||(kn[1]=Nn=>Pn.$emit("mouseleave",Nn))}),[createVNode(unref(ElFocusTrap),{trapped:unref(le),"trap-on-focus-in":!0,"focus-trap-el":unref(Ve),"focus-start-el":unref(ie),onFocusAfterTrapped:unref(de),onFocusAfterReleased:unref(ue),onFocusin:unref(pe),onFocusoutPrevented:unref(he),onReleaseRequested:unref(_e)},{default:withCtx(()=>[renderSlot(Pn.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$27,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(t,r)=>isArray$c(t)?t.includes(r):t===r,whenTrigger=(t,r,V)=>oe=>{isTriggerType(unref(t),r)&&V(oe)},__default__$1r=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$26=defineComponent({...__default__$1r,props:useTooltipTriggerProps,setup(t,{expose:r}){const V=t,oe=useNamespace("tooltip"),{controlled:ie,id:le,open:ue,onOpen:de,onClose:pe,onToggle:he}=inject(TOOLTIP_INJECTION_KEY,void 0),_e=ref(null),$e=()=>{if(unref(ie)||V.disabled)return!0},Ie=toRef(V,"trigger"),Ve=composeEventHandlers($e,whenTrigger(Ie,"hover",de)),Fe=composeEventHandlers($e,whenTrigger(Ie,"hover",pe)),Ue=composeEventHandlers($e,whenTrigger(Ie,"click",hn=>{hn.button===0&&he(hn)})),qe=composeEventHandlers($e,whenTrigger(Ie,"focus",de)),Et=composeEventHandlers($e,whenTrigger(Ie,"focus",pe)),At=composeEventHandlers($e,whenTrigger(Ie,"contextmenu",hn=>{hn.preventDefault(),he(hn)})),Lt=composeEventHandlers($e,hn=>{const{code:_n}=hn;V.triggerKeys.includes(_n)&&(hn.preventDefault(),he(hn))});return r({triggerRef:_e}),(hn,_n)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(le),"virtual-ref":hn.virtualRef,open:unref(ue),"virtual-triggering":hn.virtualTriggering,class:normalizeClass(unref(oe).e("trigger")),onBlur:unref(Et),onClick:unref(Ue),onContextmenu:unref(At),onFocus:unref(qe),onMouseenter:unref(Ve),onMouseleave:unref(Fe),onKeydown:unref(Lt)},{default:withCtx(()=>[renderSlot(hn.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$26,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const __default__$1q=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$25=defineComponent({...__default__$1q,props:useTooltipContentProps,setup(t,{expose:r}){const V=t,{selector:oe}=usePopperContainerId(),ie=useNamespace("tooltip"),le=ref(null),ue=ref(!1),{controlled:de,id:pe,open:he,trigger:_e,onClose:$e,onOpen:Ie,onShow:Ve,onHide:Fe,onBeforeShow:Ue,onBeforeHide:qe}=inject(TOOLTIP_INJECTION_KEY,void 0),Et=computed(()=>V.transition||`${ie.namespace.value}-fade-in-linear`),At=computed(()=>V.persistent);onBeforeUnmount(()=>{ue.value=!0});const Lt=computed(()=>unref(At)?!0:unref(he)),hn=computed(()=>V.disabled?!1:unref(he)),_n=computed(()=>V.appendTo||oe.value),vn=computed(()=>{var Mn;return(Mn=V.style)!=null?Mn:{}}),bn=computed(()=>!unref(he)),Cn=()=>{Fe()},Sn=()=>{if(unref(de))return!0},wn=composeEventHandlers(Sn,()=>{V.enterable&&unref(_e)==="hover"&&Ie()}),En=composeEventHandlers(Sn,()=>{unref(_e)==="hover"&&$e()}),xn=()=>{var Mn,Ln;(Ln=(Mn=le.value)==null?void 0:Mn.updatePopper)==null||Ln.call(Mn),Ue==null||Ue()},Pn=()=>{qe==null||qe()},kn=()=>{Ve(),Dn=onClickOutside$1(computed(()=>{var Mn;return(Mn=le.value)==null?void 0:Mn.popperContentRef}),()=>{if(unref(de))return;unref(_e)!=="hover"&&$e()})},Nn=()=>{V.virtualTriggering||$e()};let Dn;return watch(()=>unref(he),Mn=>{Mn||Dn==null||Dn()},{flush:"post"}),watch(()=>V.content,()=>{var Mn,Ln;(Ln=(Mn=le.value)==null?void 0:Mn.updatePopper)==null||Ln.call(Mn)}),r({contentRef:le}),(Mn,Ln)=>(openBlock(),createBlock(Teleport,{disabled:!Mn.teleported,to:unref(_n)},[createVNode(Transition,{name:unref(Et),onAfterLeave:Cn,onBeforeEnter:xn,onAfterEnter:kn,onBeforeLeave:Pn},{default:withCtx(()=>[unref(Lt)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(pe),ref_key:"contentRef",ref:le},Mn.$attrs,{"aria-label":Mn.ariaLabel,"aria-hidden":unref(bn),"boundaries-padding":Mn.boundariesPadding,"fallback-placements":Mn.fallbackPlacements,"gpu-acceleration":Mn.gpuAcceleration,offset:Mn.offset,placement:Mn.placement,"popper-options":Mn.popperOptions,strategy:Mn.strategy,effect:Mn.effect,enterable:Mn.enterable,pure:Mn.pure,"popper-class":Mn.popperClass,"popper-style":[Mn.popperStyle,unref(vn)],"reference-el":Mn.referenceEl,"trigger-target-el":Mn.triggerTargetEl,visible:unref(hn),"z-index":Mn.zIndex,onMouseenter:unref(wn),onMouseleave:unref(En),onBlur:Nn,onClose:unref($e)}),{default:withCtx(()=>[ue.value?createCommentVNode("v-if",!0):renderSlot(Mn.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(hn)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$25,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const _hoisted_1$12=["innerHTML"],_hoisted_2$H={key:1},__default__$1p=defineComponent({name:"ElTooltip"}),_sfc_main$24=defineComponent({...__default__$1p,props:useTooltipProps,emits:tooltipEmits,setup(t,{expose:r,emit:V}){const oe=t;usePopperContainer();const ie=useId(),le=ref(),ue=ref(),de=()=>{var Et;const At=unref(le);At&&((Et=At.popperInstanceRef)==null||Et.update())},pe=ref(!1),he=ref(),{show:_e,hide:$e,hasUpdateHandler:Ie}=useTooltipModelToggle({indicator:pe,toggleReason:he}),{onOpen:Ve,onClose:Fe}=useDelayedToggle({showAfter:toRef(oe,"showAfter"),hideAfter:toRef(oe,"hideAfter"),autoClose:toRef(oe,"autoClose"),open:_e,close:$e}),Ue=computed(()=>isBoolean$3(oe.visible)&&!Ie.value);provide(TOOLTIP_INJECTION_KEY,{controlled:Ue,id:ie,open:readonly(pe),trigger:toRef(oe,"trigger"),onOpen:Et=>{Ve(Et)},onClose:Et=>{Fe(Et)},onToggle:Et=>{unref(pe)?Fe(Et):Ve(Et)},onShow:()=>{V("show",he.value)},onHide:()=>{V("hide",he.value)},onBeforeShow:()=>{V("before-show",he.value)},onBeforeHide:()=>{V("before-hide",he.value)},updatePopper:de}),watch(()=>oe.disabled,Et=>{Et&&pe.value&&(pe.value=!1)});const qe=Et=>{var At,Lt;const hn=(Lt=(At=ue.value)==null?void 0:At.contentRef)==null?void 0:Lt.popperContentRef,_n=(Et==null?void 0:Et.relatedTarget)||document.activeElement;return hn&&hn.contains(_n)};return onDeactivated(()=>pe.value&&$e()),r({popperRef:le,contentRef:ue,isFocusInsideContent:qe,updatePopper:de,onOpen:Ve,onClose:Fe,hide:$e}),(Et,At)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:le,role:Et.role},{default:withCtx(()=>[createVNode(ElTooltipTrigger,{disabled:Et.disabled,trigger:Et.trigger,"trigger-keys":Et.triggerKeys,"virtual-ref":Et.virtualRef,"virtual-triggering":Et.virtualTriggering},{default:withCtx(()=>[Et.$slots.default?renderSlot(Et.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode(ElTooltipContent,{ref_key:"contentRef",ref:ue,"aria-label":Et.ariaLabel,"boundaries-padding":Et.boundariesPadding,content:Et.content,disabled:Et.disabled,effect:Et.effect,enterable:Et.enterable,"fallback-placements":Et.fallbackPlacements,"hide-after":Et.hideAfter,"gpu-acceleration":Et.gpuAcceleration,offset:Et.offset,persistent:Et.persistent,"popper-class":Et.popperClass,"popper-style":Et.popperStyle,placement:Et.placement,"popper-options":Et.popperOptions,pure:Et.pure,"raw-content":Et.rawContent,"reference-el":Et.referenceEl,"trigger-target-el":Et.triggerTargetEl,"show-after":Et.showAfter,strategy:Et.strategy,teleported:Et.teleported,transition:Et.transition,"virtual-triggering":Et.virtualTriggering,"z-index":Et.zIndex,"append-to":Et.appendTo},{default:withCtx(()=>[renderSlot(Et.$slots,"content",{},()=>[Et.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Et.content},null,8,_hoisted_1$12)):(openBlock(),createElementBlock("span",_hoisted_2$H,toDisplayString$1(Et.content),1))]),Et.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":Et.arrowOffset},null,8,["arrow-offset"])):createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc$1(_sfc_main$24,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),autocompleteProps=buildProps({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:definePropType(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:definePropType([Function,Array]),default:NOOP},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},label:{type:String},teleported:useTooltipContentProps.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String}),autocompleteEmits={[UPDATE_MODEL_EVENT]:t=>isString$6(t),[INPUT_EVENT]:t=>isString$6(t),[CHANGE_EVENT]:t=>isString$6(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,select:t=>isObject$9(t)},_hoisted_1$11=["aria-expanded","aria-owns"],_hoisted_2$G={key:0},_hoisted_3$n=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1o=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$23=defineComponent({...__default__$1o,props:autocompleteProps,emits:autocompleteEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useAttrs(),le=useAttrs$1(),ue=useFormDisabled(),de=useNamespace("autocomplete"),pe=ref(),he=ref(),_e=ref(),$e=ref();let Ie=!1,Ve=!1;const Fe=ref([]),Ue=ref(-1),qe=ref(""),Et=ref(!1),At=ref(!1),Lt=ref(!1),hn=computed(()=>de.b(String(generateId()))),_n=computed(()=>le.style),vn=computed(()=>(Fe.value.length>0||Lt.value)&&Et.value),bn=computed(()=>!oe.hideLoading&&Lt.value),Cn=computed(()=>pe.value?Array.from(pe.value.$el.querySelectorAll("input")):[]),Sn=()=>{vn.value&&(qe.value=`${pe.value.$el.offsetWidth}px`)},wn=()=>{Ue.value=-1},xn=debounce(async Jn=>{if(At.value)return;const Kn=Gn=>{Lt.value=!1,!At.value&&(isArray$c(Gn)?(Fe.value=Gn,Ue.value=oe.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(Lt.value=!0,isArray$c(oe.fetchSuggestions))Kn(oe.fetchSuggestions);else{const Gn=await oe.fetchSuggestions(Jn,Kn);isArray$c(Gn)&&Kn(Gn)}},oe.debounce),Pn=Jn=>{const Kn=!!Jn;if(V(INPUT_EVENT,Jn),V(UPDATE_MODEL_EVENT,Jn),At.value=!1,Et.value||(Et.value=Kn),!oe.triggerOnFocus&&!Jn){At.value=!0,Fe.value=[];return}xn(Jn)},kn=Jn=>{var Kn;ue.value||(((Kn=Jn.target)==null?void 0:Kn.tagName)!=="INPUT"||Cn.value.includes(document.activeElement))&&(Et.value=!0)},Nn=Jn=>{V(CHANGE_EVENT,Jn)},Dn=Jn=>{Ve?Ve=!1:(Et.value=!0,V("focus",Jn),oe.triggerOnFocus&&!Ie&&xn(String(oe.modelValue)))},Mn=Jn=>{setTimeout(()=>{var Kn;if((Kn=_e.value)!=null&&Kn.isFocusInsideContent()){Ve=!0;return}Et.value&&Wn(),V("blur",Jn)})},Ln=()=>{Et.value=!1,V(UPDATE_MODEL_EVENT,""),V("clear")},An=async()=>{vn.value&&Ue.value>=0&&Ue.value<Fe.value.length?tr(Fe.value[Ue.value]):oe.selectWhenUnmatched&&(V("select",{value:oe.modelValue}),Fe.value=[],Ue.value=-1)},Vn=Jn=>{vn.value&&(Jn.preventDefault(),Jn.stopPropagation(),Wn())},Wn=()=>{Et.value=!1},Fn=()=>{var Jn;(Jn=pe.value)==null||Jn.focus()},Yn=()=>{var Jn;(Jn=pe.value)==null||Jn.blur()},tr=async Jn=>{V(INPUT_EVENT,Jn[oe.valueKey]),V(UPDATE_MODEL_EVENT,Jn[oe.valueKey]),V("select",Jn),Fe.value=[],Ue.value=-1},yr=Jn=>{if(!vn.value||Lt.value)return;if(Jn<0){Ue.value=-1;return}Jn>=Fe.value.length&&(Jn=Fe.value.length-1);const Kn=he.value.querySelector(`.${de.be("suggestion","wrap")}`),Qn=Kn.querySelectorAll(`.${de.be("suggestion","list")} li`)[Jn],ur=Kn.scrollTop,{offsetTop:cr,scrollHeight:Un}=Qn;cr+Un>ur+Kn.clientHeight&&(Kn.scrollTop+=Un),cr<ur&&(Kn.scrollTop-=Un),Ue.value=Jn,pe.value.ref.setAttribute("aria-activedescendant",`${hn.value}-item-${Ue.value}`)};return onClickOutside$1($e,()=>{vn.value&&Wn()}),onMounted(()=>{pe.value.ref.setAttribute("role","textbox"),pe.value.ref.setAttribute("aria-autocomplete","list"),pe.value.ref.setAttribute("aria-controls","id"),pe.value.ref.setAttribute("aria-activedescendant",`${hn.value}-item-${Ue.value}`),Ie=pe.value.ref.hasAttribute("readonly")}),r({highlightedIndex:Ue,activated:Et,loading:Lt,inputRef:pe,popperRef:_e,suggestions:Fe,handleSelect:tr,handleKeyEnter:An,focus:Fn,blur:Yn,close:Wn,highlight:yr}),(Jn,Kn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:_e,visible:unref(vn),placement:Jn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(de).e("popper"),Jn.popperClass],teleported:Jn.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(de).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:Sn,onHide:wn},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:he,class:normalizeClass([unref(de).b("suggestion"),unref(de).is("loading",unref(bn))]),style:normalizeStyle$1({[Jn.fitInputWidth?"width":"minWidth"]:qe.value,outline:"none"}),role:"region"},[createVNode(unref(ElScrollbar),{id:unref(hn),tag:"ul","wrap-class":unref(de).be("suggestion","wrap"),"view-class":unref(de).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(bn)?(openBlock(),createElementBlock("li",_hoisted_2$G,[createVNode(unref(ElIcon),{class:normalizeClass(unref(de).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(Fe.value,(Gn,Qn)=>(openBlock(),createElementBlock("li",{id:`${unref(hn)}-item-${Qn}`,key:Qn,class:normalizeClass({highlighted:Ue.value===Qn}),role:"option","aria-selected":Ue.value===Qn,onClick:ur=>tr(Gn)},[renderSlot(Jn.$slots,"default",{item:Gn},()=>[createTextVNode(toDisplayString$1(Gn[Jn.valueKey]),1)])],10,_hoisted_3$n))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:$e,class:normalizeClass([unref(de).b(),Jn.$attrs.class]),style:normalizeStyle$1(unref(_n)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref(vn),"aria-owns":unref(hn)},[createVNode(unref(ElInput),mergeProps({ref_key:"inputRef",ref:pe},unref(ie),{clearable:Jn.clearable,disabled:unref(ue),name:Jn.name,"model-value":Jn.modelValue,onInput:Pn,onChange:Nn,onFocus:Dn,onBlur:Mn,onClear:Ln,onKeydown:[Kn[0]||(Kn[0]=withKeys(withModifiers(Gn=>yr(Ue.value-1),["prevent"]),["up"])),Kn[1]||(Kn[1]=withKeys(withModifiers(Gn=>yr(Ue.value+1),["prevent"]),["down"])),withKeys(An,["enter"]),withKeys(Wn,["tab"]),withKeys(Vn,["esc"])],onMousedown:kn}),createSlots({_:2},[Jn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(Jn.$slots,"prepend")])}:void 0,Jn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(Jn.$slots,"append")])}:void 0,Jn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Jn.$slots,"prefix")])}:void 0,Jn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Jn.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","onKeydown"])],14,_hoisted_1$11)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$1(_sfc_main$23,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:t=>isNumber$4(t)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:iconPropType},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:definePropType(String),default:"cover"}}),avatarEmits={error:t=>t instanceof Event},_hoisted_1$10=["src","alt","srcset"],__default__$1n=defineComponent({name:"ElAvatar"}),_sfc_main$22=defineComponent({...__default__$1n,props:avatarProps,emits:avatarEmits,setup(t,{emit:r}){const V=t,oe=useNamespace("avatar"),ie=ref(!1),le=computed(()=>{const{size:he,icon:_e,shape:$e}=V,Ie=[oe.b()];return isString$6(he)&&Ie.push(oe.m(he)),_e&&Ie.push(oe.m("icon")),$e&&Ie.push(oe.m($e)),Ie}),ue=computed(()=>{const{size:he}=V;return isNumber$4(he)?oe.cssVarBlock({size:addUnit(he)||""}):void 0}),de=computed(()=>({objectFit:V.fit}));watch(()=>V.src,()=>ie.value=!1);function pe(he){ie.value=!0,r("error",he)}return(he,_e)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(le)),style:normalizeStyle$1(unref(ue))},[(he.src||he.srcSet)&&!ie.value?(openBlock(),createElementBlock("img",{key:0,src:he.src,alt:he.alt,srcset:he.srcSet,style:normalizeStyle$1(unref(de)),onError:pe},null,44,_hoisted_1$10)):he.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(he.icon)))]),_:1})):renderSlot(he.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$22,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const ElAvatar=withInstall(Avatar),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:t=>t instanceof MouseEvent},useBackTop=(t,r,V)=>{const oe=shallowRef(),ie=shallowRef(),le=ref(!1),ue=()=>{oe.value&&(le.value=oe.value.scrollTop>=t.visibilityHeight)},de=he=>{var _e;(_e=oe.value)==null||_e.scrollTo({top:0,behavior:"smooth"}),r("click",he)},pe=useThrottleFn(ue,300,!0);return useEventListener$1(ie,"scroll",pe),onMounted(()=>{var he;ie.value=document,oe.value=document.documentElement,t.target&&(oe.value=(he=document.querySelector(t.target))!=null?he:void 0,oe.value||throwError$1(V,`target does not exist: ${t.target}`),ie.value=oe.value),ue()}),{visible:le,handleClick:de}},COMPONENT_NAME$h="ElBacktop",__default__$1m=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$21=defineComponent({...__default__$1m,props:backtopProps,emits:backtopEmits,setup(t,{emit:r}){const V=t,oe=useNamespace("backtop"),{handleClick:ie,visible:le}=useBackTop(V,r,COMPONENT_NAME$h),ue=computed(()=>({right:`${V.right}px`,bottom:`${V.bottom}px`}));return(de,pe)=>(openBlock(),createBlock(Transition,{name:`${unref(oe).namespace.value}-fade-in`},{default:withCtx(()=>[unref(le)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(ue)),class:normalizeClass(unref(oe).b()),onClick:pe[0]||(pe[0]=withModifiers((...he)=>unref(ie)&&unref(ie)(...he),["stop"]))},[renderSlot(de.$slots,"default",{},()=>[createVNode(unref(ElIcon),{class:normalizeClass(unref(oe).e("icon"))},{default:withCtx(()=>[createVNode(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc$1(_sfc_main$21,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const ElBacktop=withInstall(Backtop),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),_hoisted_1$$=["textContent"],__default__$1l=defineComponent({name:"ElBadge"}),_sfc_main$20=defineComponent({...__default__$1l,props:badgeProps,setup(t,{expose:r}){const V=t,oe=useNamespace("badge"),ie=computed(()=>V.isDot?"":isNumber$4(V.value)&&isNumber$4(V.max)?V.max<V.value?`${V.max}+`:`${V.value}`:`${V.value}`);return r({content:ie}),(le,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(oe).b())},[renderSlot(le.$slots,"default"),createVNode(Transition,{name:`${unref(oe).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(oe).e("content"),unref(oe).em("content",le.type),unref(oe).is("fixed",!!le.$slots.default),unref(oe).is("dot",le.isDot)]),textContent:toDisplayString$1(unref(ie))},null,10,_hoisted_1$$),[[vShow,!le.hidden&&(unref(ie)||le.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$20,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),__default__$1k=defineComponent({name:"ElBreadcrumb"}),_sfc_main$1$=defineComponent({...__default__$1k,props:breadcrumbProps,setup(t){const r=t,V=useNamespace("breadcrumb"),oe=ref();return provide(breadcrumbKey,r),onMounted(()=>{const ie=oe.value.querySelectorAll(`.${V.e("item")}`);ie.length&&ie[ie.length-1].setAttribute("aria-current","page")}),(ie,le)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:oe,class:normalizeClass(unref(V).b()),"aria-label":"Breadcrumb",role:"navigation"},[renderSlot(ie.$slots,"default")],2))}});var Breadcrumb=_export_sfc$1(_sfc_main$1$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:{type:Boolean,default:!1}}),__default__$1j=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$1_=defineComponent({...__default__$1j,props:breadcrumbItemProps,setup(t){const r=t,V=getCurrentInstance(),oe=inject(breadcrumbKey,void 0),ie=useNamespace("breadcrumb"),le=V.appContext.config.globalProperties.$router,ue=ref(),de=()=>{!r.to||!le||(r.replace?le.replace(r.to):le.push(r.to))};return(pe,he)=>{var _e,$e;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:ue,class:normalizeClass([unref(ie).e("inner"),unref(ie).is("link",!!pe.to)]),role:"link",onClick:de},[renderSlot(pe.$slots,"default")],2),(_e=unref(oe))!=null&&_e.separatorIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(oe).separatorIcon)))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(ie).e("separator")),role:"presentation"},toDisplayString$1(($e=unref(oe))==null?void 0:$e.separator),3))],2)}}});var BreadcrumbItem=_export_sfc$1(_sfc_main$1_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(t,r)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>t.type==="text"));const V=inject(buttonGroupContextKey,void 0),oe=useGlobalConfig("button"),{form:ie}=useFormItem(),le=useFormSize(computed(()=>V==null?void 0:V.size)),ue=useFormDisabled(),de=ref(),pe=useSlots(),he=computed(()=>t.type||(V==null?void 0:V.type)||""),_e=computed(()=>{var Fe,Ue,qe;return(qe=(Ue=t.autoInsertSpace)!=null?Ue:(Fe=oe.value)==null?void 0:Fe.autoInsertSpace)!=null?qe:!1}),$e=computed(()=>t.tag==="button"?{ariaDisabled:ue.value||t.loading,disabled:ue.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),Ie=computed(()=>{var Fe;const Ue=(Fe=pe.default)==null?void 0:Fe.call(pe);if(_e.value&&(Ue==null?void 0:Ue.length)===1){const qe=Ue[0];if((qe==null?void 0:qe.type)===Text$1){const Et=qe.children;return/^\p{Unified_Ideograph}{2}$/u.test(Et.trim())}}return!1});return{_disabled:ue,_size:le,_type:he,_ref:de,_props:$e,shouldAddSpace:Ie,handleClick:Fe=>{t.nativeType==="reset"&&(ie==null||ie.resetFields()),r("click",Fe)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:t=>t instanceof MouseEvent};function bound01$1(t,r){isOnePointZero$1(t)&&(t="100%");var V=isPercentage$1(t);return t=r===360?t:Math.min(r,Math.max(0,parseFloat(t))),V&&(t=parseInt(String(t*r),10)/100),Math.abs(t-r)<1e-6?1:(r===360?t=(t<0?t%r+r:t%r)/parseFloat(String(r)):t=t%r/parseFloat(String(r)),t)}function clamp01(t){return Math.min(1,Math.max(0,t))}function isOnePointZero$1(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function isPercentage$1(t){return typeof t=="string"&&t.indexOf("%")!==-1}function boundAlpha(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function convertToPercentage(t){return t<=1?"".concat(Number(t)*100,"%"):t}function pad2(t){return t.length===1?"0"+t:String(t)}function rgbToRgb(t,r,V){return{r:bound01$1(t,255)*255,g:bound01$1(r,255)*255,b:bound01$1(V,255)*255}}function rgbToHsl(t,r,V){t=bound01$1(t,255),r=bound01$1(r,255),V=bound01$1(V,255);var oe=Math.max(t,r,V),ie=Math.min(t,r,V),le=0,ue=0,de=(oe+ie)/2;if(oe===ie)ue=0,le=0;else{var pe=oe-ie;switch(ue=de>.5?pe/(2-oe-ie):pe/(oe+ie),oe){case t:le=(r-V)/pe+(r<V?6:0);break;case r:le=(V-t)/pe+2;break;case V:le=(t-r)/pe+4;break}le/=6}return{h:le,s:ue,l:de}}function hue2rgb(t,r,V){return V<0&&(V+=1),V>1&&(V-=1),V<1/6?t+(r-t)*(6*V):V<1/2?r:V<2/3?t+(r-t)*(2/3-V)*6:t}function hslToRgb(t,r,V){var oe,ie,le;if(t=bound01$1(t,360),r=bound01$1(r,100),V=bound01$1(V,100),r===0)ie=V,le=V,oe=V;else{var ue=V<.5?V*(1+r):V+r-V*r,de=2*V-ue;oe=hue2rgb(de,ue,t+1/3),ie=hue2rgb(de,ue,t),le=hue2rgb(de,ue,t-1/3)}return{r:oe*255,g:ie*255,b:le*255}}function rgbToHsv(t,r,V){t=bound01$1(t,255),r=bound01$1(r,255),V=bound01$1(V,255);var oe=Math.max(t,r,V),ie=Math.min(t,r,V),le=0,ue=oe,de=oe-ie,pe=oe===0?0:de/oe;if(oe===ie)le=0;else{switch(oe){case t:le=(r-V)/de+(r<V?6:0);break;case r:le=(V-t)/de+2;break;case V:le=(t-r)/de+4;break}le/=6}return{h:le,s:pe,v:ue}}function hsvToRgb(t,r,V){t=bound01$1(t,360)*6,r=bound01$1(r,100),V=bound01$1(V,100);var oe=Math.floor(t),ie=t-oe,le=V*(1-r),ue=V*(1-ie*r),de=V*(1-(1-ie)*r),pe=oe%6,he=[V,ue,le,le,de,V][pe],_e=[de,V,V,ue,le,le][pe],$e=[le,le,de,V,V,ue][pe];return{r:he*255,g:_e*255,b:$e*255}}function rgbToHex(t,r,V,oe){var ie=[pad2(Math.round(t).toString(16)),pad2(Math.round(r).toString(16)),pad2(Math.round(V).toString(16))];return oe&&ie[0].startsWith(ie[0].charAt(1))&&ie[1].startsWith(ie[1].charAt(1))&&ie[2].startsWith(ie[2].charAt(1))?ie[0].charAt(0)+ie[1].charAt(0)+ie[2].charAt(0):ie.join("")}function rgbaToHex(t,r,V,oe,ie){var le=[pad2(Math.round(t).toString(16)),pad2(Math.round(r).toString(16)),pad2(Math.round(V).toString(16)),pad2(convertDecimalToHex(oe))];return ie&&le[0].startsWith(le[0].charAt(1))&&le[1].startsWith(le[1].charAt(1))&&le[2].startsWith(le[2].charAt(1))&&le[3].startsWith(le[3].charAt(1))?le[0].charAt(0)+le[1].charAt(0)+le[2].charAt(0)+le[3].charAt(0):le.join("")}function convertDecimalToHex(t){return Math.round(parseFloat(t)*255).toString(16)}function convertHexToDecimal(t){return parseIntFromHex(t)/255}function parseIntFromHex(t){return parseInt(t,16)}function numberInputToObject(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(t){var r={r:0,g:0,b:0},V=1,oe=null,ie=null,le=null,ue=!1,de=!1;return typeof t=="string"&&(t=stringInputToObject(t)),typeof t=="object"&&(isValidCSSUnit(t.r)&&isValidCSSUnit(t.g)&&isValidCSSUnit(t.b)?(r=rgbToRgb(t.r,t.g,t.b),ue=!0,de=String(t.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(t.h)&&isValidCSSUnit(t.s)&&isValidCSSUnit(t.v)?(oe=convertToPercentage(t.s),ie=convertToPercentage(t.v),r=hsvToRgb(t.h,oe,ie),ue=!0,de="hsv"):isValidCSSUnit(t.h)&&isValidCSSUnit(t.s)&&isValidCSSUnit(t.l)&&(oe=convertToPercentage(t.s),le=convertToPercentage(t.l),r=hslToRgb(t.h,oe,le),ue=!0,de="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(V=t.a)),V=boundAlpha(V),{ok:ue,format:t.format||de,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:V}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var r=!1;if(names[t])t=names[t],r=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var V=matchers.rgb.exec(t);return V?{r:V[1],g:V[2],b:V[3]}:(V=matchers.rgba.exec(t),V?{r:V[1],g:V[2],b:V[3],a:V[4]}:(V=matchers.hsl.exec(t),V?{h:V[1],s:V[2],l:V[3]}:(V=matchers.hsla.exec(t),V?{h:V[1],s:V[2],l:V[3],a:V[4]}:(V=matchers.hsv.exec(t),V?{h:V[1],s:V[2],v:V[3]}:(V=matchers.hsva.exec(t),V?{h:V[1],s:V[2],v:V[3],a:V[4]}:(V=matchers.hex8.exec(t),V?{r:parseIntFromHex(V[1]),g:parseIntFromHex(V[2]),b:parseIntFromHex(V[3]),a:convertHexToDecimal(V[4]),format:r?"name":"hex8"}:(V=matchers.hex6.exec(t),V?{r:parseIntFromHex(V[1]),g:parseIntFromHex(V[2]),b:parseIntFromHex(V[3]),format:r?"name":"hex"}:(V=matchers.hex4.exec(t),V?{r:parseIntFromHex(V[1]+V[1]),g:parseIntFromHex(V[2]+V[2]),b:parseIntFromHex(V[3]+V[3]),a:convertHexToDecimal(V[4]+V[4]),format:r?"name":"hex8"}:(V=matchers.hex3.exec(t),V?{r:parseIntFromHex(V[1]+V[1]),g:parseIntFromHex(V[2]+V[2]),b:parseIntFromHex(V[3]+V[3]),format:r?"name":"hex"}:!1)))))))))}function isValidCSSUnit(t){return!!matchers.CSS_UNIT.exec(String(t))}var TinyColor=function(){function t(r,V){r===void 0&&(r=""),V===void 0&&(V={});var oe;if(r instanceof t)return r;typeof r=="number"&&(r=numberInputToObject(r)),this.originalInput=r;var ie=inputToRGB(r);this.originalInput=r,this.r=ie.r,this.g=ie.g,this.b=ie.b,this.a=ie.a,this.roundA=Math.round(100*this.a)/100,this.format=(oe=V.format)!==null&&oe!==void 0?oe:ie.format,this.gradientType=V.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=ie.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},t.prototype.getLuminance=function(){var r=this.toRgb(),V,oe,ie,le=r.r/255,ue=r.g/255,de=r.b/255;return le<=.03928?V=le/12.92:V=Math.pow((le+.055)/1.055,2.4),ue<=.03928?oe=ue/12.92:oe=Math.pow((ue+.055)/1.055,2.4),de<=.03928?ie=de/12.92:ie=Math.pow((de+.055)/1.055,2.4),.2126*V+.7152*oe+.0722*ie},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(r){return this.a=boundAlpha(r),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var r=this.toHsl().s;return r===0},t.prototype.toHsv=function(){var r=rgbToHsv(this.r,this.g,this.b);return{h:r.h*360,s:r.s,v:r.v,a:this.a}},t.prototype.toHsvString=function(){var r=rgbToHsv(this.r,this.g,this.b),V=Math.round(r.h*360),oe=Math.round(r.s*100),ie=Math.round(r.v*100);return this.a===1?"hsv(".concat(V,", ").concat(oe,"%, ").concat(ie,"%)"):"hsva(".concat(V,", ").concat(oe,"%, ").concat(ie,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var r=rgbToHsl(this.r,this.g,this.b);return{h:r.h*360,s:r.s,l:r.l,a:this.a}},t.prototype.toHslString=function(){var r=rgbToHsl(this.r,this.g,this.b),V=Math.round(r.h*360),oe=Math.round(r.s*100),ie=Math.round(r.l*100);return this.a===1?"hsl(".concat(V,", ").concat(oe,"%, ").concat(ie,"%)"):"hsla(".concat(V,", ").concat(oe,"%, ").concat(ie,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(r){return r===void 0&&(r=!1),rgbToHex(this.r,this.g,this.b,r)},t.prototype.toHexString=function(r){return r===void 0&&(r=!1),"#"+this.toHex(r)},t.prototype.toHex8=function(r){return r===void 0&&(r=!1),rgbaToHex(this.r,this.g,this.b,this.a,r)},t.prototype.toHex8String=function(r){return r===void 0&&(r=!1),"#"+this.toHex8(r)},t.prototype.toHexShortString=function(r){return r===void 0&&(r=!1),this.a===1?this.toHexString(r):this.toHex8String(r)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var r=Math.round(this.r),V=Math.round(this.g),oe=Math.round(this.b);return this.a===1?"rgb(".concat(r,", ").concat(V,", ").concat(oe,")"):"rgba(".concat(r,", ").concat(V,", ").concat(oe,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var r=function(V){return"".concat(Math.round(bound01$1(V,255)*100),"%")};return{r:r(this.r),g:r(this.g),b:r(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var r=function(V){return Math.round(bound01$1(V,255)*100)};return this.a===1?"rgb(".concat(r(this.r),"%, ").concat(r(this.g),"%, ").concat(r(this.b),"%)"):"rgba(".concat(r(this.r),"%, ").concat(r(this.g),"%, ").concat(r(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var r="#"+rgbToHex(this.r,this.g,this.b,!1),V=0,oe=Object.entries(names);V<oe.length;V++){var ie=oe[V],le=ie[0],ue=ie[1];if(r===ue)return le}return!1},t.prototype.toString=function(r){var V=!!r;r=r??this.format;var oe=!1,ie=this.a<1&&this.a>=0,le=!V&&ie&&(r.startsWith("hex")||r==="name");return le?r==="name"&&this.a===0?this.toName():this.toRgbString():(r==="rgb"&&(oe=this.toRgbString()),r==="prgb"&&(oe=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(oe=this.toHexString()),r==="hex3"&&(oe=this.toHexString(!0)),r==="hex4"&&(oe=this.toHex8String(!0)),r==="hex8"&&(oe=this.toHex8String()),r==="name"&&(oe=this.toName()),r==="hsl"&&(oe=this.toHslString()),r==="hsv"&&(oe=this.toHsvString()),oe||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(r){r===void 0&&(r=10);var V=this.toHsl();return V.l+=r/100,V.l=clamp01(V.l),new t(V)},t.prototype.brighten=function(r){r===void 0&&(r=10);var V=this.toRgb();return V.r=Math.max(0,Math.min(255,V.r-Math.round(255*-(r/100)))),V.g=Math.max(0,Math.min(255,V.g-Math.round(255*-(r/100)))),V.b=Math.max(0,Math.min(255,V.b-Math.round(255*-(r/100)))),new t(V)},t.prototype.darken=function(r){r===void 0&&(r=10);var V=this.toHsl();return V.l-=r/100,V.l=clamp01(V.l),new t(V)},t.prototype.tint=function(r){return r===void 0&&(r=10),this.mix("white",r)},t.prototype.shade=function(r){return r===void 0&&(r=10),this.mix("black",r)},t.prototype.desaturate=function(r){r===void 0&&(r=10);var V=this.toHsl();return V.s-=r/100,V.s=clamp01(V.s),new t(V)},t.prototype.saturate=function(r){r===void 0&&(r=10);var V=this.toHsl();return V.s+=r/100,V.s=clamp01(V.s),new t(V)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(r){var V=this.toHsl(),oe=(V.h+r)%360;return V.h=oe<0?360+oe:oe,new t(V)},t.prototype.mix=function(r,V){V===void 0&&(V=50);var oe=this.toRgb(),ie=new t(r).toRgb(),le=V/100,ue={r:(ie.r-oe.r)*le+oe.r,g:(ie.g-oe.g)*le+oe.g,b:(ie.b-oe.b)*le+oe.b,a:(ie.a-oe.a)*le+oe.a};return new t(ue)},t.prototype.analogous=function(r,V){r===void 0&&(r=6),V===void 0&&(V=30);var oe=this.toHsl(),ie=360/V,le=[this];for(oe.h=(oe.h-(ie*r>>1)+720)%360;--r;)oe.h=(oe.h+ie)%360,le.push(new t(oe));return le},t.prototype.complement=function(){var r=this.toHsl();return r.h=(r.h+180)%360,new t(r)},t.prototype.monochromatic=function(r){r===void 0&&(r=6);for(var V=this.toHsv(),oe=V.h,ie=V.s,le=V.v,ue=[],de=1/r;r--;)ue.push(new t({h:oe,s:ie,v:le})),le=(le+de)%1;return ue},t.prototype.splitcomplement=function(){var r=this.toHsl(),V=r.h;return[this,new t({h:(V+72)%360,s:r.s,l:r.l}),new t({h:(V+216)%360,s:r.s,l:r.l})]},t.prototype.onBackground=function(r){var V=this.toRgb(),oe=new t(r).toRgb(),ie=V.a+oe.a*(1-V.a);return new t({r:(V.r*V.a+oe.r*oe.a*(1-V.a))/ie,g:(V.g*V.a+oe.g*oe.a*(1-V.a))/ie,b:(V.b*V.a+oe.b*oe.a*(1-V.a))/ie,a:ie})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(r){for(var V=this.toHsl(),oe=V.h,ie=[this],le=360/r,ue=1;ue<r;ue++)ie.push(new t({h:(oe+ue*le)%360,s:V.s,l:V.l}));return ie},t.prototype.equals=function(r){return this.toRgbString()===new t(r).toRgbString()},t}();function darken(t,r=20){return t.mix("#141414",r).toString()}function useButtonCustomStyle(t){const r=useFormDisabled(),V=useNamespace("button");return computed(()=>{let oe={};const ie=t.color;if(ie){const le=new TinyColor(ie),ue=t.dark?le.tint(20).toString():darken(le,20);if(t.plain)oe=V.cssVarBlock({"bg-color":t.dark?darken(le,90):le.tint(90).toString(),"text-color":ie,"border-color":t.dark?darken(le,50):le.tint(50).toString(),"hover-text-color":`var(${V.cssVarName("color-white")})`,"hover-bg-color":ie,"hover-border-color":ie,"active-bg-color":ue,"active-text-color":`var(${V.cssVarName("color-white")})`,"active-border-color":ue}),r.value&&(oe[V.cssVarBlockName("disabled-bg-color")]=t.dark?darken(le,90):le.tint(90).toString(),oe[V.cssVarBlockName("disabled-text-color")]=t.dark?darken(le,50):le.tint(50).toString(),oe[V.cssVarBlockName("disabled-border-color")]=t.dark?darken(le,80):le.tint(80).toString());else{const de=t.dark?darken(le,30):le.tint(30).toString(),pe=le.isDark()?`var(${V.cssVarName("color-white")})`:`var(${V.cssVarName("color-black")})`;if(oe=V.cssVarBlock({"bg-color":ie,"text-color":pe,"border-color":ie,"hover-bg-color":de,"hover-text-color":pe,"hover-border-color":de,"active-bg-color":ue,"active-border-color":ue}),r.value){const he=t.dark?darken(le,50):le.tint(50).toString();oe[V.cssVarBlockName("disabled-bg-color")]=he,oe[V.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${V.cssVarName("color-white")})`,oe[V.cssVarBlockName("disabled-border-color")]=he}}}return oe})}const __default__$1i=defineComponent({name:"ElButton"}),_sfc_main$1Z=defineComponent({...__default__$1i,props:buttonProps,emits:buttonEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useButtonCustomStyle(oe),le=useNamespace("button"),{_ref:ue,_size:de,_type:pe,_disabled:he,_props:_e,shouldAddSpace:$e,handleClick:Ie}=useButton(oe,V);return r({ref:ue,size:de,type:pe,disabled:he,shouldAddSpace:$e}),(Ve,Fe)=>(openBlock(),createBlock(resolveDynamicComponent(Ve.tag),mergeProps({ref_key:"_ref",ref:ue},unref(_e),{class:[unref(le).b(),unref(le).m(unref(pe)),unref(le).m(unref(de)),unref(le).is("disabled",unref(he)),unref(le).is("loading",Ve.loading),unref(le).is("plain",Ve.plain),unref(le).is("round",Ve.round),unref(le).is("circle",Ve.circle),unref(le).is("text",Ve.text),unref(le).is("link",Ve.link),unref(le).is("has-bg",Ve.bg)],style:unref(ie),onClick:unref(Ie)}),{default:withCtx(()=>[Ve.loading?(openBlock(),createElementBlock(Fragment,{key:0},[Ve.$slots.loading?renderSlot(Ve.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(le).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ve.loadingIcon)))]),_:1},8,["class"]))],64)):Ve.icon||Ve.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[Ve.icon?(openBlock(),createBlock(resolveDynamicComponent(Ve.icon),{key:0})):renderSlot(Ve.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),Ve.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(le).em("text","expand")]:unref($e)})},[renderSlot(Ve.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$1Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1h=defineComponent({name:"ElButtonGroup"}),_sfc_main$1Y=defineComponent({...__default__$1h,props:buttonGroupProps,setup(t){const r=t;provide(buttonGroupContextKey,reactive({size:toRef(r,"size"),type:toRef(r,"type")}));const V=useNamespace("button");return(oe,ie)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(V).b("group")}`)},[renderSlot(oe.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$1Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getAugmentedNamespace(t){if(t.__esModule)return t;var r=t.default;if(typeof r=="function"){var V=function oe(){return this instanceof oe?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};V.prototype=r.prototype}else V={};return Object.defineProperty(V,"__esModule",{value:!0}),Object.keys(t).forEach(function(oe){var ie=Object.getOwnPropertyDescriptor(t,oe);Object.defineProperty(V,oe,ie.get?ie:{enumerable:!0,get:function(){return t[oe]}})}),V}var dayjs_min={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){var V=1e3,oe=6e4,ie=36e5,le="millisecond",ue="second",de="minute",pe="hour",he="day",_e="week",$e="month",Ie="quarter",Ve="year",Fe="date",Ue="Invalid Date",qe=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Et=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,At={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Pn){var kn=["th","st","nd","rd"],Nn=Pn%100;return"["+Pn+(kn[(Nn-20)%10]||kn[Nn]||kn[0])+"]"}},Lt=function(Pn,kn,Nn){var Dn=String(Pn);return!Dn||Dn.length>=kn?Pn:""+Array(kn+1-Dn.length).join(Nn)+Pn},hn={s:Lt,z:function(Pn){var kn=-Pn.utcOffset(),Nn=Math.abs(kn),Dn=Math.floor(Nn/60),Mn=Nn%60;return(kn<=0?"+":"-")+Lt(Dn,2,"0")+":"+Lt(Mn,2,"0")},m:function Pn(kn,Nn){if(kn.date()<Nn.date())return-Pn(Nn,kn);var Dn=12*(Nn.year()-kn.year())+(Nn.month()-kn.month()),Mn=kn.clone().add(Dn,$e),Ln=Nn-Mn<0,An=kn.clone().add(Dn+(Ln?-1:1),$e);return+(-(Dn+(Nn-Mn)/(Ln?Mn-An:An-Mn))||0)},a:function(Pn){return Pn<0?Math.ceil(Pn)||0:Math.floor(Pn)},p:function(Pn){return{M:$e,y:Ve,w:_e,d:he,D:Fe,h:pe,m:de,s:ue,ms:le,Q:Ie}[Pn]||String(Pn||"").toLowerCase().replace(/s$/,"")},u:function(Pn){return Pn===void 0}},_n="en",vn={};vn[_n]=At;var bn=function(Pn){return Pn instanceof En},Cn=function Pn(kn,Nn,Dn){var Mn;if(!kn)return _n;if(typeof kn=="string"){var Ln=kn.toLowerCase();vn[Ln]&&(Mn=Ln),Nn&&(vn[Ln]=Nn,Mn=Ln);var An=kn.split("-");if(!Mn&&An.length>1)return Pn(An[0])}else{var Vn=kn.name;vn[Vn]=kn,Mn=Vn}return!Dn&&Mn&&(_n=Mn),Mn||!Dn&&_n},Sn=function(Pn,kn){if(bn(Pn))return Pn.clone();var Nn=typeof kn=="object"?kn:{};return Nn.date=Pn,Nn.args=arguments,new En(Nn)},wn=hn;wn.l=Cn,wn.i=bn,wn.w=function(Pn,kn){return Sn(Pn,{locale:kn.$L,utc:kn.$u,x:kn.$x,$offset:kn.$offset})};var En=function(){function Pn(Nn){this.$L=Cn(Nn.locale,null,!0),this.parse(Nn)}var kn=Pn.prototype;return kn.parse=function(Nn){this.$d=function(Dn){var Mn=Dn.date,Ln=Dn.utc;if(Mn===null)return new Date(NaN);if(wn.u(Mn))return new Date;if(Mn instanceof Date)return new Date(Mn);if(typeof Mn=="string"&&!/Z$/i.test(Mn)){var An=Mn.match(qe);if(An){var Vn=An[2]-1||0,Wn=(An[7]||"0").substring(0,3);return Ln?new Date(Date.UTC(An[1],Vn,An[3]||1,An[4]||0,An[5]||0,An[6]||0,Wn)):new Date(An[1],Vn,An[3]||1,An[4]||0,An[5]||0,An[6]||0,Wn)}}return new Date(Mn)}(Nn),this.$x=Nn.x||{},this.init()},kn.init=function(){var Nn=this.$d;this.$y=Nn.getFullYear(),this.$M=Nn.getMonth(),this.$D=Nn.getDate(),this.$W=Nn.getDay(),this.$H=Nn.getHours(),this.$m=Nn.getMinutes(),this.$s=Nn.getSeconds(),this.$ms=Nn.getMilliseconds()},kn.$utils=function(){return wn},kn.isValid=function(){return this.$d.toString()!==Ue},kn.isSame=function(Nn,Dn){var Mn=Sn(Nn);return this.startOf(Dn)<=Mn&&Mn<=this.endOf(Dn)},kn.isAfter=function(Nn,Dn){return Sn(Nn)<this.startOf(Dn)},kn.isBefore=function(Nn,Dn){return this.endOf(Dn)<Sn(Nn)},kn.$g=function(Nn,Dn,Mn){return wn.u(Nn)?this[Dn]:this.set(Mn,Nn)},kn.unix=function(){return Math.floor(this.valueOf()/1e3)},kn.valueOf=function(){return this.$d.getTime()},kn.startOf=function(Nn,Dn){var Mn=this,Ln=!!wn.u(Dn)||Dn,An=wn.p(Nn),Vn=function(Gn,Qn){var ur=wn.w(Mn.$u?Date.UTC(Mn.$y,Qn,Gn):new Date(Mn.$y,Qn,Gn),Mn);return Ln?ur:ur.endOf(he)},Wn=function(Gn,Qn){return wn.w(Mn.toDate()[Gn].apply(Mn.toDate("s"),(Ln?[0,0,0,0]:[23,59,59,999]).slice(Qn)),Mn)},Fn=this.$W,Yn=this.$M,tr=this.$D,yr="set"+(this.$u?"UTC":"");switch(An){case Ve:return Ln?Vn(1,0):Vn(31,11);case $e:return Ln?Vn(1,Yn):Vn(0,Yn+1);case _e:var Jn=this.$locale().weekStart||0,Kn=(Fn<Jn?Fn+7:Fn)-Jn;return Vn(Ln?tr-Kn:tr+(6-Kn),Yn);case he:case Fe:return Wn(yr+"Hours",0);case pe:return Wn(yr+"Minutes",1);case de:return Wn(yr+"Seconds",2);case ue:return Wn(yr+"Milliseconds",3);default:return this.clone()}},kn.endOf=function(Nn){return this.startOf(Nn,!1)},kn.$set=function(Nn,Dn){var Mn,Ln=wn.p(Nn),An="set"+(this.$u?"UTC":""),Vn=(Mn={},Mn[he]=An+"Date",Mn[Fe]=An+"Date",Mn[$e]=An+"Month",Mn[Ve]=An+"FullYear",Mn[pe]=An+"Hours",Mn[de]=An+"Minutes",Mn[ue]=An+"Seconds",Mn[le]=An+"Milliseconds",Mn)[Ln],Wn=Ln===he?this.$D+(Dn-this.$W):Dn;if(Ln===$e||Ln===Ve){var Fn=this.clone().set(Fe,1);Fn.$d[Vn](Wn),Fn.init(),this.$d=Fn.set(Fe,Math.min(this.$D,Fn.daysInMonth())).$d}else Vn&&this.$d[Vn](Wn);return this.init(),this},kn.set=function(Nn,Dn){return this.clone().$set(Nn,Dn)},kn.get=function(Nn){return this[wn.p(Nn)]()},kn.add=function(Nn,Dn){var Mn,Ln=this;Nn=Number(Nn);var An=wn.p(Dn),Vn=function(Yn){var tr=Sn(Ln);return wn.w(tr.date(tr.date()+Math.round(Yn*Nn)),Ln)};if(An===$e)return this.set($e,this.$M+Nn);if(An===Ve)return this.set(Ve,this.$y+Nn);if(An===he)return Vn(1);if(An===_e)return Vn(7);var Wn=(Mn={},Mn[de]=oe,Mn[pe]=ie,Mn[ue]=V,Mn)[An]||1,Fn=this.$d.getTime()+Nn*Wn;return wn.w(Fn,this)},kn.subtract=function(Nn,Dn){return this.add(-1*Nn,Dn)},kn.format=function(Nn){var Dn=this,Mn=this.$locale();if(!this.isValid())return Mn.invalidDate||Ue;var Ln=Nn||"YYYY-MM-DDTHH:mm:ssZ",An=wn.z(this),Vn=this.$H,Wn=this.$m,Fn=this.$M,Yn=Mn.weekdays,tr=Mn.months,yr=Mn.meridiem,Jn=function(Qn,ur,cr,Un){return Qn&&(Qn[ur]||Qn(Dn,Ln))||cr[ur].slice(0,Un)},Kn=function(Qn){return wn.s(Vn%12||12,Qn,"0")},Gn=yr||function(Qn,ur,cr){var Un=Qn<12?"AM":"PM";return cr?Un.toLowerCase():Un};return Ln.replace(Et,function(Qn,ur){return ur||function(cr){switch(cr){case"YY":return String(Dn.$y).slice(-2);case"YYYY":return wn.s(Dn.$y,4,"0");case"M":return Fn+1;case"MM":return wn.s(Fn+1,2,"0");case"MMM":return Jn(Mn.monthsShort,Fn,tr,3);case"MMMM":return Jn(tr,Fn);case"D":return Dn.$D;case"DD":return wn.s(Dn.$D,2,"0");case"d":return String(Dn.$W);case"dd":return Jn(Mn.weekdaysMin,Dn.$W,Yn,2);case"ddd":return Jn(Mn.weekdaysShort,Dn.$W,Yn,3);case"dddd":return Yn[Dn.$W];case"H":return String(Vn);case"HH":return wn.s(Vn,2,"0");case"h":return Kn(1);case"hh":return Kn(2);case"a":return Gn(Vn,Wn,!0);case"A":return Gn(Vn,Wn,!1);case"m":return String(Wn);case"mm":return wn.s(Wn,2,"0");case"s":return String(Dn.$s);case"ss":return wn.s(Dn.$s,2,"0");case"SSS":return wn.s(Dn.$ms,3,"0");case"Z":return An}return null}(Qn)||An.replace(":","")})},kn.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},kn.diff=function(Nn,Dn,Mn){var Ln,An=this,Vn=wn.p(Dn),Wn=Sn(Nn),Fn=(Wn.utcOffset()-this.utcOffset())*oe,Yn=this-Wn,tr=function(){return wn.m(An,Wn)};switch(Vn){case Ve:Ln=tr()/12;break;case $e:Ln=tr();break;case Ie:Ln=tr()/3;break;case _e:Ln=(Yn-Fn)/6048e5;break;case he:Ln=(Yn-Fn)/864e5;break;case pe:Ln=Yn/ie;break;case de:Ln=Yn/oe;break;case ue:Ln=Yn/V;break;default:Ln=Yn}return Mn?Ln:wn.a(Ln)},kn.daysInMonth=function(){return this.endOf($e).$D},kn.$locale=function(){return vn[this.$L]},kn.locale=function(Nn,Dn){if(!Nn)return this.$L;var Mn=this.clone(),Ln=Cn(Nn,Dn,!0);return Ln&&(Mn.$L=Ln),Mn},kn.clone=function(){return wn.w(this.$d,this)},kn.toDate=function(){return new Date(this.valueOf())},kn.toJSON=function(){return this.isValid()?this.toISOString():null},kn.toISOString=function(){return this.$d.toISOString()},kn.toString=function(){return this.$d.toUTCString()},Pn}(),xn=En.prototype;return Sn.prototype=xn,[["$ms",le],["$s",ue],["$m",de],["$H",pe],["$W",he],["$M",$e],["$y",Ve],["$D",Fe]].forEach(function(Pn){xn[Pn[1]]=function(kn){return this.$g(kn,Pn[0],Pn[1])}}),Sn.extend=function(Pn,kn){return Pn.$i||(Pn(kn,En,Sn),Pn.$i=!0),Sn},Sn.locale=Cn,Sn.isDayjs=bn,Sn.unix=function(Pn){return Sn(1e3*Pn)},Sn.en=vn[_n],Sn.Ls=vn,Sn.p={},Sn})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);var customParseFormat$1={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},oe=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ie=/\d\d/,le=/\d\d?/,ue=/\d*[^-_:/,()\s\d]+/,de={},pe=function(Ue){return(Ue=+Ue)+(Ue>68?1900:2e3)},he=function(Ue){return function(qe){this[Ue]=+qe}},_e=[/[+-]\d\d:?(\d\d)?|Z/,function(Ue){(this.zone||(this.zone={})).offset=function(qe){if(!qe||qe==="Z")return 0;var Et=qe.match(/([+-]|\d\d)/g),At=60*Et[1]+(+Et[2]||0);return At===0?0:Et[0]==="+"?-At:At}(Ue)}],$e=function(Ue){var qe=de[Ue];return qe&&(qe.indexOf?qe:qe.s.concat(qe.f))},Ie=function(Ue,qe){var Et,At=de.meridiem;if(At){for(var Lt=1;Lt<=24;Lt+=1)if(Ue.indexOf(At(Lt,0,qe))>-1){Et=Lt>12;break}}else Et=Ue===(qe?"pm":"PM");return Et},Ve={A:[ue,function(Ue){this.afternoon=Ie(Ue,!1)}],a:[ue,function(Ue){this.afternoon=Ie(Ue,!0)}],S:[/\d/,function(Ue){this.milliseconds=100*+Ue}],SS:[ie,function(Ue){this.milliseconds=10*+Ue}],SSS:[/\d{3}/,function(Ue){this.milliseconds=+Ue}],s:[le,he("seconds")],ss:[le,he("seconds")],m:[le,he("minutes")],mm:[le,he("minutes")],H:[le,he("hours")],h:[le,he("hours")],HH:[le,he("hours")],hh:[le,he("hours")],D:[le,he("day")],DD:[ie,he("day")],Do:[ue,function(Ue){var qe=de.ordinal,Et=Ue.match(/\d+/);if(this.day=Et[0],qe)for(var At=1;At<=31;At+=1)qe(At).replace(/\[|\]/g,"")===Ue&&(this.day=At)}],M:[le,he("month")],MM:[ie,he("month")],MMM:[ue,function(Ue){var qe=$e("months"),Et=($e("monthsShort")||qe.map(function(At){return At.slice(0,3)})).indexOf(Ue)+1;if(Et<1)throw new Error;this.month=Et%12||Et}],MMMM:[ue,function(Ue){var qe=$e("months").indexOf(Ue)+1;if(qe<1)throw new Error;this.month=qe%12||qe}],Y:[/[+-]?\d+/,he("year")],YY:[ie,function(Ue){this.year=pe(Ue)}],YYYY:[/\d{4}/,he("year")],Z:_e,ZZ:_e};function Fe(Ue){var qe,Et;qe=Ue,Et=de&&de.formats;for(var At=(Ue=qe.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Sn,wn,En){var xn=En&&En.toUpperCase();return wn||Et[En]||V[En]||Et[xn].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Pn,kn,Nn){return kn||Nn.slice(1)})})).match(oe),Lt=At.length,hn=0;hn<Lt;hn+=1){var _n=At[hn],vn=Ve[_n],bn=vn&&vn[0],Cn=vn&&vn[1];At[hn]=Cn?{regex:bn,parser:Cn}:_n.replace(/^\[|\]$/g,"")}return function(Sn){for(var wn={},En=0,xn=0;En<Lt;En+=1){var Pn=At[En];if(typeof Pn=="string")xn+=Pn.length;else{var kn=Pn.regex,Nn=Pn.parser,Dn=Sn.slice(xn),Mn=kn.exec(Dn)[0];Nn.call(wn,Mn),Sn=Sn.replace(Mn,"")}}return function(Ln){var An=Ln.afternoon;if(An!==void 0){var Vn=Ln.hours;An?Vn<12&&(Ln.hours+=12):Vn===12&&(Ln.hours=0),delete Ln.afternoon}}(wn),wn}}return function(Ue,qe,Et){Et.p.customParseFormat=!0,Ue&&Ue.parseTwoDigitYear&&(pe=Ue.parseTwoDigitYear);var At=qe.prototype,Lt=At.parse;At.parse=function(hn){var _n=hn.date,vn=hn.utc,bn=hn.args;this.$u=vn;var Cn=bn[1];if(typeof Cn=="string"){var Sn=bn[2]===!0,wn=bn[3]===!0,En=Sn||wn,xn=bn[2];wn&&(xn=bn[2]),de=this.$locale(),!Sn&&xn&&(de=Et.Ls[xn]),this.$d=function(Dn,Mn,Ln){try{if(["x","X"].indexOf(Mn)>-1)return new Date((Mn==="X"?1e3:1)*Dn);var An=Fe(Mn)(Dn),Vn=An.year,Wn=An.month,Fn=An.day,Yn=An.hours,tr=An.minutes,yr=An.seconds,Jn=An.milliseconds,Kn=An.zone,Gn=new Date,Qn=Fn||(Vn||Wn?1:Gn.getDate()),ur=Vn||Gn.getFullYear(),cr=0;Vn&&!Wn||(cr=Wn>0?Wn-1:Gn.getMonth());var Un=Yn||0,qn=tr||0,er=yr||0,pr=Jn||0;return Kn?new Date(Date.UTC(ur,cr,Qn,Un,qn,er,pr+60*Kn.offset*1e3)):Ln?new Date(Date.UTC(ur,cr,Qn,Un,qn,er,pr)):new Date(ur,cr,Qn,Un,qn,er,pr)}catch{return new Date("")}}(_n,Cn,vn),this.init(),xn&&xn!==!0&&(this.$L=this.locale(xn).$L),En&&_n!=this.format(Cn)&&(this.$d=new Date("")),de={}}else if(Cn instanceof Array)for(var Pn=Cn.length,kn=1;kn<=Pn;kn+=1){bn[1]=Cn[kn-1];var Nn=Et.apply(this,bn);if(Nn.isValid()){this.$d=Nn.$d,this.$L=Nn.$L,this.init();break}kn===Pn&&(this.$d=new Date(""))}else Lt.call(this,hn)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports),timeUnits$2=["hours","minutes","seconds"],DEFAULT_FORMATS_TIME="HH:mm:ss",DEFAULT_FORMATS_DATE="YYYY-MM-DD",DEFAULT_FORMATS_DATEPICKER={date:DEFAULT_FORMATS_DATE,dates:DEFAULT_FORMATS_DATE,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},buildTimeList=(t,r)=>[t>0?t-1:void 0,t,t<r?t+1:void 0],rangeArr=t=>Array.from(Array.from({length:t}).keys()),extractDateFormat=t=>t.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=t=>t.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(t,r){const V=isDate$3(t),oe=isDate$3(r);return V&&oe?t.getTime()===r.getTime():!V&&!oe?t===r:!1},valueEquals=function(t,r){const V=isArray$c(t),oe=isArray$c(r);return V&&oe?t.length!==r.length?!1:t.every((ie,le)=>dateEquals(ie,r[le])):!V&&!oe?dateEquals(t,r):!1},parseDate$1=function(t,r,V){const oe=isEmpty(r)||r==="x"?dayjs(t).locale(V):dayjs(t,r).locale(V);return oe.isValid()?oe:void 0},formatter=function(t,r,V){return isEmpty(r)?t:r==="x"?+t:dayjs(t).locale(V).format(r)},makeList=(t,r)=>{var V;const oe=[],ie=r==null?void 0:r();for(let le=0;le<t;le++)oe.push((V=ie==null?void 0:ie.includes(le))!=null?V:!1);return oe},disabledTimeListsProps=buildProps({disabledHours:{type:definePropType(Function)},disabledMinutes:{type:definePropType(Function)},disabledSeconds:{type:definePropType(Function)}}),timePanelSharedProps=buildProps({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),timePickerDefaultProps=buildProps({id:{type:definePropType([Array,String])},name:{type:definePropType([Array,String]),default:""},popperClass:{type:String,default:""},format:String,valueFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:definePropType([String,Object]),default:circle_close_default},editable:{type:Boolean,default:!0},prefixIcon:{type:definePropType([String,Object]),default:""},size:useSizeProp,readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:{type:Boolean,default:!1},...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean}),_hoisted_1$_=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$F=["id","name","placeholder","value","disabled","readonly"],__default__$1g=defineComponent({name:"Picker"}),_sfc_main$1X=defineComponent({...__default__$1g,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(t,{expose:r,emit:V}){const oe=t,ie=useAttrs$1(),{lang:le}=useLocale(),ue=useNamespace("date"),de=useNamespace("input"),pe=useNamespace("range"),{form:he,formItem:_e}=useFormItem(),$e=inject("ElPopperOptions",{}),Ie=ref(),Ve=ref(),Fe=ref(!1),Ue=ref(!1),qe=ref(null);let Et=!1,At=!1;const Lt=computed(()=>[ue.b("editor"),ue.bm("editor",oe.type),de.e("wrapper"),ue.is("disabled",Fn.value),ue.is("active",Fe.value),pe.b("editor"),dr?pe.bm("editor",dr.value):"",ie.class]),hn=computed(()=>[de.e("icon"),pe.e("close-icon"),Qn.value?"":pe.e("close-icon--hidden")]);watch(Fe,Zn=>{Zn?nextTick(()=>{Zn&&(qe.value=oe.modelValue)}):(Cr.value=null,nextTick(()=>{_n(oe.modelValue)}))});const _n=(Zn,Or)=>{(Or||!valueEquals(Zn,qe.value))&&(V("change",Zn),oe.validateEvent&&(_e==null||_e.validate("change").catch(Lr=>void 0)))},vn=Zn=>{if(!valueEquals(oe.modelValue,Zn)){let Or;isArray$c(Zn)?Or=Zn.map(Lr=>formatter(Lr,oe.valueFormat,le.value)):Zn&&(Or=formatter(Zn,oe.valueFormat,le.value)),V("update:modelValue",Zn&&Or,le.value)}},bn=Zn=>{V("keydown",Zn)},Cn=computed(()=>{if(Ve.value){const Zn=Er.value?Ve.value:Ve.value.$el;return Array.from(Zn.querySelectorAll("input"))}return[]}),Sn=(Zn,Or,Lr)=>{const Ur=Cn.value;Ur.length&&(!Lr||Lr==="min"?(Ur[0].setSelectionRange(Zn,Or),Ur[0].focus()):Lr==="max"&&(Ur[1].setSelectionRange(Zn,Or),Ur[1].focus()))},wn=()=>{Ln(!0,!0),nextTick(()=>{At=!1})},En=(Zn="",Or=!1)=>{Or||(At=!0),Fe.value=Or;let Lr;isArray$c(Zn)?Lr=Zn.map(Ur=>Ur.toDate()):Lr=Zn&&Zn.toDate(),Cr.value=null,vn(Lr)},xn=()=>{Ue.value=!0},Pn=()=>{V("visible-change",!0)},kn=Zn=>{(Zn==null?void 0:Zn.key)===EVENT_CODE.esc&&Ln(!0,!0)},Nn=()=>{Ue.value=!1,Fe.value=!1,At=!1,V("visible-change",!1)},Dn=()=>{Fe.value=!0},Mn=()=>{Fe.value=!1},Ln=(Zn=!0,Or=!1)=>{At=Or;const[Lr,Ur]=unref(Cn);let Kr=Lr;!Zn&&Er.value&&(Kr=Ur),Kr&&Kr.focus()},An=Zn=>{oe.readonly||Fn.value||Fe.value||At||(Fe.value=!0,V("focus",Zn))};let Vn;const Wn=Zn=>{const Or=async()=>{setTimeout(()=>{var Lr;Vn===Or&&(!((Lr=Ie.value)!=null&&Lr.isFocusInsideContent()&&!Et)&&Cn.value.filter(Ur=>Ur.contains(document.activeElement)).length===0&&(gr(),Fe.value=!1,V("blur",Zn),oe.validateEvent&&(_e==null||_e.validate("blur").catch(Ur=>void 0))),Et=!1)},0)};Vn=Or,Or()},Fn=computed(()=>oe.disabled||(he==null?void 0:he.disabled)),Yn=computed(()=>{let Zn;if(cr.value?mr.value.getDefaultValue&&(Zn=mr.value.getDefaultValue()):isArray$c(oe.modelValue)?Zn=oe.modelValue.map(Or=>parseDate$1(Or,oe.valueFormat,le.value)):Zn=parseDate$1(oe.modelValue,oe.valueFormat,le.value),mr.value.getRangeAvailableTime){const Or=mr.value.getRangeAvailableTime(Zn);isEqual$1(Or,Zn)||(Zn=Or,vn(isArray$c(Zn)?Zn.map(Lr=>Lr.toDate()):Zn.toDate()))}return isArray$c(Zn)&&Zn.some(Or=>!Or)&&(Zn=[]),Zn}),tr=computed(()=>{if(!mr.value.panelReady)return"";const Zn=fr(Yn.value);return isArray$c(Cr.value)?[Cr.value[0]||Zn&&Zn[0]||"",Cr.value[1]||Zn&&Zn[1]||""]:Cr.value!==null?Cr.value:!Jn.value&&cr.value||!Fe.value&&cr.value?"":Zn?Kn.value?Zn.join(", "):Zn:""}),yr=computed(()=>oe.type.includes("time")),Jn=computed(()=>oe.type.startsWith("time")),Kn=computed(()=>oe.type==="dates"),Gn=computed(()=>oe.prefixIcon||(yr.value?clock_default:calendar_default)),Qn=ref(!1),ur=Zn=>{oe.readonly||Fn.value||Qn.value&&(Zn.stopPropagation(),wn(),vn(null),_n(null,!0),Qn.value=!1,Fe.value=!1,mr.value.handleClear&&mr.value.handleClear())},cr=computed(()=>{const{modelValue:Zn}=oe;return!Zn||isArray$c(Zn)&&!Zn.filter(Boolean).length}),Un=async Zn=>{var Or;oe.readonly||Fn.value||(((Or=Zn.target)==null?void 0:Or.tagName)!=="INPUT"||Cn.value.includes(document.activeElement))&&(Fe.value=!0)},qn=()=>{oe.readonly||Fn.value||!cr.value&&oe.clearable&&(Qn.value=!0)},er=()=>{Qn.value=!1},pr=Zn=>{var Or;oe.readonly||Fn.value||(((Or=Zn.touches[0].target)==null?void 0:Or.tagName)!=="INPUT"||Cn.value.includes(document.activeElement))&&(Fe.value=!0)},Er=computed(()=>oe.type.includes("range")),dr=useFormSize(),xr=computed(()=>{var Zn,Or;return(Or=(Zn=unref(Ie))==null?void 0:Zn.popperRef)==null?void 0:Or.contentRef}),wr=computed(()=>{var Zn;return unref(Er)?unref(Ve):(Zn=unref(Ve))==null?void 0:Zn.$el});onClickOutside$1(wr,Zn=>{const Or=unref(xr),Lr=unref(wr);Or&&(Zn.target===Or||Zn.composedPath().includes(Or))||Zn.target===Lr||Zn.composedPath().includes(Lr)||(Fe.value=!1)});const Cr=ref(null),gr=()=>{if(Cr.value){const Zn=or(tr.value);Zn&&kr(Zn)&&(vn(isArray$c(Zn)?Zn.map(Or=>Or.toDate()):Zn.toDate()),Cr.value=null)}Cr.value===""&&(vn(null),_n(null),Cr.value=null)},or=Zn=>Zn?mr.value.parseUserInput(Zn):null,fr=Zn=>Zn?mr.value.formatToString(Zn):null,kr=Zn=>mr.value.isValidValue(Zn),br=async Zn=>{if(oe.readonly||Fn.value)return;const{code:Or}=Zn;if(bn(Zn),Or===EVENT_CODE.esc){Fe.value===!0&&(Fe.value=!1,Zn.preventDefault(),Zn.stopPropagation());return}if(Or===EVENT_CODE.down&&(mr.value.handleFocusPicker&&(Zn.preventDefault(),Zn.stopPropagation()),Fe.value===!1&&(Fe.value=!0,await nextTick()),mr.value.handleFocusPicker)){mr.value.handleFocusPicker();return}if(Or===EVENT_CODE.tab){Et=!0;return}if(Or===EVENT_CODE.enter||Or===EVENT_CODE.numpadEnter){(Cr.value===null||Cr.value===""||kr(or(tr.value)))&&(gr(),Fe.value=!1),Zn.stopPropagation();return}if(Cr.value){Zn.stopPropagation();return}mr.value.handleKeydownInput&&mr.value.handleKeydownInput(Zn)},Ar=Zn=>{Cr.value=Zn,Fe.value||(Fe.value=!0)},Dr=Zn=>{const Or=Zn.target;Cr.value?Cr.value=[Or.value,Cr.value[1]]:Cr.value=[Or.value,null]},Br=Zn=>{const Or=Zn.target;Cr.value?Cr.value=[Cr.value[0],Or.value]:Cr.value=[null,Or.value]},zr=()=>{var Zn;const Or=Cr.value,Lr=or(Or&&Or[0]),Ur=unref(Yn);if(Lr&&Lr.isValid()){Cr.value=[fr(Lr),((Zn=tr.value)==null?void 0:Zn[1])||null];const Kr=[Lr,Ur&&(Ur[1]||null)];kr(Kr)&&(vn(Kr),Cr.value=null)}},Rr=()=>{var Zn;const Or=unref(Cr),Lr=or(Or&&Or[1]),Ur=unref(Yn);if(Lr&&Lr.isValid()){Cr.value=[((Zn=unref(tr))==null?void 0:Zn[0])||null,fr(Lr)];const Kr=[Ur&&Ur[0],Lr];kr(Kr)&&(vn(Kr),Cr.value=null)}},mr=ref({}),ir=Zn=>{mr.value[Zn[0]]=Zn[1],mr.value.panelReady=!0},ar=Zn=>{V("calendar-change",Zn)},$r=(Zn,Or,Lr)=>{V("panel-change",Zn,Or,Lr)};return provide("EP_PICKER_BASE",{props:oe}),r({focus:Ln,handleFocusInput:An,handleBlurInput:Wn,handleOpen:Dn,handleClose:Mn,onPick:En}),(Zn,Or)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:Ie,visible:Fe.value,effect:"light",pure:"",trigger:"click"},Zn.$attrs,{role:"dialog",teleported:"",transition:`${unref(ue).namespace.value}-zoom-in-top`,"popper-class":[`${unref(ue).namespace.value}-picker__popper`,Zn.popperClass],"popper-options":unref($e),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:xn,onShow:Pn,onHide:Nn}),{default:withCtx(()=>[unref(Er)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:Ve,class:normalizeClass(unref(Lt)),style:normalizeStyle$1(Zn.$attrs.style),onClick:An,onMouseenter:qn,onMouseleave:er,onTouchstart:pr,onKeydown:br},[unref(Gn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(de).e("icon"),unref(pe).e("icon")]),onMousedown:withModifiers(Un,["prevent"]),onTouchstart:pr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Gn))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:Zn.id&&Zn.id[0],autocomplete:"off",name:Zn.name&&Zn.name[0],placeholder:Zn.startPlaceholder,value:unref(tr)&&unref(tr)[0],disabled:unref(Fn),readonly:!Zn.editable||Zn.readonly,class:normalizeClass(unref(pe).b("input")),onMousedown:Un,onInput:Dr,onChange:zr,onFocus:An,onBlur:Wn},null,42,_hoisted_1$_),renderSlot(Zn.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(pe).b("separator"))},toDisplayString$1(Zn.rangeSeparator),3)]),createBaseVNode("input",{id:Zn.id&&Zn.id[1],autocomplete:"off",name:Zn.name&&Zn.name[1],placeholder:Zn.endPlaceholder,value:unref(tr)&&unref(tr)[1],disabled:unref(Fn),readonly:!Zn.editable||Zn.readonly,class:normalizeClass(unref(pe).b("input")),onMousedown:Un,onFocus:An,onBlur:Wn,onInput:Br,onChange:Rr},null,42,_hoisted_2$F),Zn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(hn)),onClick:ur},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Zn.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:Zn.id,ref_key:"inputRef",ref:Ve,"container-role":"combobox","model-value":unref(tr),name:Zn.name,size:unref(dr),disabled:unref(Fn),placeholder:Zn.placeholder,class:normalizeClass([unref(ue).b("editor"),unref(ue).bm("editor",Zn.type),Zn.$attrs.class]),style:normalizeStyle$1(Zn.$attrs.style),readonly:!Zn.editable||Zn.readonly||unref(Kn)||Zn.type==="week",label:Zn.label,tabindex:Zn.tabindex,"validate-event":!1,onInput:Ar,onFocus:An,onBlur:Wn,onKeydown:br,onChange:gr,onMousedown:Un,onMouseenter:qn,onMouseleave:er,onTouchstart:pr,onClick:Or[0]||(Or[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(Gn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).e("icon")),onMousedown:withModifiers(Un,["prevent"]),onTouchstart:pr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Gn))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[Qn.value&&Zn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(de).e("icon")} clear-icon`),onClick:withModifiers(ur,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Zn.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onKeydown"]))]),content:withCtx(()=>[renderSlot(Zn.$slots,"default",{visible:Fe.value,actualVisible:Ue.value,parsedValue:unref(Yn),format:Zn.format,unlinkPanels:Zn.unlinkPanels,type:Zn.type,defaultValue:Zn.defaultValue,onPick:En,onSelectRange:Sn,onSetPickerOption:ir,onCalendarChange:ar,onPanelChange:$r,onKeydown:kn,onMousedown:Or[1]||(Or[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$1(_sfc_main$1X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:t,getAvailableMinutes:r,getAvailableSeconds:V})=>{const oe=(ue,de,pe,he)=>{const _e={hour:t,minute:r,second:V};let $e=ue;return["hour","minute","second"].forEach(Ie=>{if(_e[Ie]){let Ve;const Fe=_e[Ie];switch(Ie){case"minute":{Ve=Fe($e.hour(),de,he);break}case"second":{Ve=Fe($e.hour(),$e.minute(),de,he);break}default:{Ve=Fe(de,he);break}}if(Ve!=null&&Ve.length&&!Ve.includes($e[Ie]())){const Ue=pe?0:Ve.length-1;$e=$e[Ie](Ve[Ue])}}}),$e},ie={};return{timePickerOptions:ie,getAvailableTime:oe,onSetOption:([ue,de])=>{ie[ue]=de}}},makeAvailableArr=t=>{const r=(oe,ie)=>oe||ie,V=oe=>oe!==!0;return t.map(r).filter(V)},getTimeLists=(t,r,V)=>({getHoursList:(ue,de)=>makeList(24,t&&(()=>t==null?void 0:t(ue,de))),getMinutesList:(ue,de,pe)=>makeList(60,r&&(()=>r==null?void 0:r(ue,de,pe))),getSecondsList:(ue,de,pe,he)=>makeList(60,V&&(()=>V==null?void 0:V(ue,de,pe,he)))}),buildAvailableTimeSlotGetter=(t,r,V)=>{const{getHoursList:oe,getMinutesList:ie,getSecondsList:le}=getTimeLists(t,r,V);return{getAvailableHours:(he,_e)=>makeAvailableArr(oe(he,_e)),getAvailableMinutes:(he,_e,$e)=>makeAvailableArr(ie(he,_e,$e)),getAvailableSeconds:(he,_e,$e,Ie)=>makeAvailableArr(le(he,_e,$e,Ie))}},useOldValue=t=>{const r=ref(t.parsedValue);return watch(()=>t.visible,V=>{V||(r.value=t.parsedValue)}),r},nodeList=new Map;let startClick;isClient$1&&(document.addEventListener("mousedown",t=>startClick=t),document.addEventListener("mouseup",t=>{for(const r of nodeList.values())for(const{documentHandler:V}of r)V(t,startClick)}));function createDocumentHandler(t,r){let V=[];return Array.isArray(r.arg)?V=r.arg:isElement$2(r.arg)&&V.push(r.arg),function(oe,ie){const le=r.instance.popperRef,ue=oe.target,de=ie==null?void 0:ie.target,pe=!r||!r.instance,he=!ue||!de,_e=t.contains(ue)||t.contains(de),$e=t===ue,Ie=V.length&&V.some(Fe=>Fe==null?void 0:Fe.contains(ue))||V.length&&V.includes(de),Ve=le&&(le.contains(ue)||le.contains(de));pe||he||_e||$e||Ie||Ve||r.value(oe,ie)}}const ClickOutside={beforeMount(t,r){nodeList.has(t)||nodeList.set(t,[]),nodeList.get(t).push({documentHandler:createDocumentHandler(t,r),bindingFn:r.value})},updated(t,r){nodeList.has(t)||nodeList.set(t,[]);const V=nodeList.get(t),oe=V.findIndex(le=>le.bindingFn===r.oldValue),ie={documentHandler:createDocumentHandler(t,r),bindingFn:r.value};oe>=0?V.splice(oe,1,ie):V.push(ie)},unmounted(t){nodeList.delete(t)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(t,r){const V=r.value,{interval:oe=REPEAT_INTERVAL,delay:ie=REPEAT_DELAY}=isFunction$5(V)?{}:V;let le,ue;const de=()=>isFunction$5(V)?V():V.handler(),pe=()=>{ue&&(clearTimeout(ue),ue=void 0),le&&(clearInterval(le),le=void 0)};t.addEventListener("mousedown",he=>{he.button===0&&(pe(),de(),document.addEventListener("mouseup",()=>pe(),{once:!0}),ue=setTimeout(()=>{le=setInterval(()=>{de()},oe)},ie))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=t=>{if(FOCUS_STACK.length===0)return;const r=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(r.length>0&&t.code===EVENT_CODE.tab){if(r.length===1){t.preventDefault(),document.activeElement!==r[0]&&r[0].focus();return}const V=t.shiftKey,oe=t.target===r[0],ie=t.target===r[r.length-1];oe&&V&&(t.preventDefault(),r[r.length-1].focus()),ie&&!V&&(t.preventDefault(),r[0].focus())}},TrapFocus={beforeMount(t){t[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(t),FOCUS_STACK.push(t),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(t){nextTick(()=>{t[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(t)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v=!1,o,f$1,s,u$1,d$1,N$1,l,p$1,m$3,w,D$2,x,E,M,F$1;function a$2(){if(!v){v=!0;var t=navigator.userAgent,r=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),V=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(x=/\b(iPhone|iP[ao]d)/.exec(t),E=/\b(iP[ao]d)/.exec(t),w=/Android/i.exec(t),M=/FBAN\/\w+;/i.exec(t),F$1=/Mobile/i.exec(t),D$2=!!/Win64/.exec(t),r){o=r[1]?parseFloat(r[1]):r[5]?parseFloat(r[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var oe=/(?:Trident\/(\d+.\d+))/.exec(t);N$1=oe?parseFloat(oe[1])+4:o,f$1=r[2]?parseFloat(r[2]):NaN,s=r[3]?parseFloat(r[3]):NaN,u$1=r[4]?parseFloat(r[4]):NaN,u$1?(r=/(?:Chrome\/(\d+\.\d+))/.exec(t),d$1=r&&r[1]?parseFloat(r[1]):NaN):d$1=NaN}else o=f$1=s=d$1=u$1=NaN;if(V){if(V[1]){var ie=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);l=ie?parseFloat(ie[1].replace("_",".")):!0}else l=!1;p$1=!!V[2],m$3=!!V[3]}else l=p$1=m$3=!1}}var _$2={ie:function(){return a$2()||o},ieCompatibilityMode:function(){return a$2()||N$1>o},ie64:function(){return _$2.ie()&&D$2},firefox:function(){return a$2()||f$1},opera:function(){return a$2()||s},webkit:function(){return a$2()||u$1},safari:function(){return _$2.webkit()},chrome:function(){return a$2()||d$1},windows:function(){return a$2()||p$1},osx:function(){return a$2()||l},linux:function(){return a$2()||m$3},iphone:function(){return a$2()||x},mobile:function(){return a$2()||x||E||w||F$1},nativeApp:function(){return a$2()||M},android:function(){return a$2()||w},ipad:function(){return a$2()||E}},A$1=_$2,c$2=!!(typeof window<"u"&&window.document&&window.document.createElement),U$1={canUseDOM:c$2,canUseWorkers:typeof Worker<"u",canUseEventListeners:c$2&&!!(window.addEventListener||window.attachEvent),canUseViewport:c$2&&!!window.screen,isInWorker:!c$2},h$1=U$1,X;h$1.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S(t,r){if(!h$1.canUseDOM||r&&!("addEventListener"in document))return!1;var V="on"+t,oe=V in document;if(!oe){var ie=document.createElement("div");ie.setAttribute(V,"return;"),oe=typeof ie[V]=="function"}return!oe&&X&&t==="wheel"&&(oe=document.implementation.hasFeature("Events.wheel","3.0")),oe}var b$1=S,O$1=10,I$1=40,P$1=800;function T(t){var r=0,V=0,oe=0,ie=0;return"detail"in t&&(V=t.detail),"wheelDelta"in t&&(V=-t.wheelDelta/120),"wheelDeltaY"in t&&(V=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(r=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(r=V,V=0),oe=r*O$1,ie=V*O$1,"deltaY"in t&&(ie=t.deltaY),"deltaX"in t&&(oe=t.deltaX),(oe||ie)&&t.deltaMode&&(t.deltaMode==1?(oe*=I$1,ie*=I$1):(oe*=P$1,ie*=P$1)),oe&&!r&&(r=oe<1?-1:1),ie&&!V&&(V=ie<1?-1:1),{spinX:r,spinY:V,pixelX:oe,pixelY:ie}}T.getEventType=function(){return A$1.firefox()?"DOMMouseScroll":b$1("wheel")?"wheel":"mousewheel"};var Y=T;/**
|
||
* Checks if an event is supported in the current execution environment.
|
||
*
|
||
* NOTE: This will not work correctly for non-generic events such as `change`,
|
||
* `reset`, `load`, `error`, and `select`.
|
||
*
|
||
* Borrows from Modernizr.
|
||
*
|
||
* @param {string} eventNameSuffix Event name, e.g. "click".
|
||
* @param {?boolean} capture Check if the capture phase is supported.
|
||
* @return {boolean} True if the event is supported.
|
||
* @internal
|
||
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
||
*/const mousewheel=function(t,r){if(t&&t.addEventListener){const V=function(oe){const ie=Y(oe);r&&Reflect.apply(r,this,[oe,ie])};t.addEventListener("wheel",V,{passive:!0})}},Mousewheel={beforeMount(t,r){mousewheel(t,r.value)}},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),_hoisted_1$Z=["onClick"],_hoisted_2$E=["onMouseenter"],_sfc_main$1W=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(t,{emit:r}){const V=t,oe=useNamespace("time"),{getHoursList:ie,getMinutesList:le,getSecondsList:ue}=getTimeLists(V.disabledHours,V.disabledMinutes,V.disabledSeconds);let de=!1;const pe=ref(),he=ref(),_e=ref(),$e=ref(),Ie={hours:he,minutes:_e,seconds:$e},Ve=computed(()=>V.showSeconds?timeUnits$2:timeUnits$2.slice(0,2)),Fe=computed(()=>{const{spinnerDate:An}=V,Vn=An.hour(),Wn=An.minute(),Fn=An.second();return{hours:Vn,minutes:Wn,seconds:Fn}}),Ue=computed(()=>{const{hours:An,minutes:Vn}=unref(Fe);return{hours:ie(V.role),minutes:le(An,V.role),seconds:ue(An,Vn,V.role)}}),qe=computed(()=>{const{hours:An,minutes:Vn,seconds:Wn}=unref(Fe);return{hours:buildTimeList(An,23),minutes:buildTimeList(Vn,59),seconds:buildTimeList(Wn,59)}}),Et=debounce(An=>{de=!1,hn(An)},200),At=An=>{if(!!!V.amPmMode)return"";const Wn=V.amPmMode==="A";let Fn=An<12?" am":" pm";return Wn&&(Fn=Fn.toUpperCase()),Fn},Lt=An=>{let Vn;switch(An){case"hours":Vn=[0,2];break;case"minutes":Vn=[3,5];break;case"seconds":Vn=[6,8];break}const[Wn,Fn]=Vn;r("select-range",Wn,Fn),pe.value=An},hn=An=>{bn(An,unref(Fe)[An])},_n=()=>{hn("hours"),hn("minutes"),hn("seconds")},vn=An=>An.querySelector(`.${oe.namespace.value}-scrollbar__wrap`),bn=(An,Vn)=>{if(V.arrowControl)return;const Wn=unref(Ie[An]);Wn&&Wn.$el&&(vn(Wn.$el).scrollTop=Math.max(0,Vn*Cn(An)))},Cn=An=>{const Vn=unref(Ie[An]),Wn=Vn==null?void 0:Vn.$el.querySelector("li");return Wn&&Number.parseFloat(getStyle$1(Wn,"height"))||0},Sn=()=>{En(1)},wn=()=>{En(-1)},En=An=>{pe.value||Lt("hours");const Vn=pe.value,Wn=unref(Fe)[Vn],Fn=pe.value==="hours"?24:60,Yn=xn(Vn,Wn,An,Fn);Pn(Vn,Yn),bn(Vn,Yn),nextTick(()=>Lt(Vn))},xn=(An,Vn,Wn,Fn)=>{let Yn=(Vn+Wn+Fn)%Fn;const tr=unref(Ue)[An];for(;tr[Yn]&&Yn!==Vn;)Yn=(Yn+Wn+Fn)%Fn;return Yn},Pn=(An,Vn)=>{if(unref(Ue)[An][Vn])return;const{hours:Yn,minutes:tr,seconds:yr}=unref(Fe);let Jn;switch(An){case"hours":Jn=V.spinnerDate.hour(Vn).minute(tr).second(yr);break;case"minutes":Jn=V.spinnerDate.hour(Yn).minute(Vn).second(yr);break;case"seconds":Jn=V.spinnerDate.hour(Yn).minute(tr).second(Vn);break}r("change",Jn)},kn=(An,{value:Vn,disabled:Wn})=>{Wn||(Pn(An,Vn),Lt(An),bn(An,Vn))},Nn=An=>{de=!0,Et(An);const Vn=Math.min(Math.round((vn(unref(Ie[An]).$el).scrollTop-(Dn(An)*.5-10)/Cn(An)+3)/Cn(An)),An==="hours"?23:59);Pn(An,Vn)},Dn=An=>unref(Ie[An]).$el.offsetHeight,Mn=()=>{const An=Vn=>{const Wn=unref(Ie[Vn]);Wn&&Wn.$el&&(vn(Wn.$el).onscroll=()=>{Nn(Vn)})};An("hours"),An("minutes"),An("seconds")};onMounted(()=>{nextTick(()=>{!V.arrowControl&&Mn(),_n(),V.role==="start"&&Lt("hours")})});const Ln=(An,Vn)=>{Ie[Vn].value=An};return r("set-option",[`${V.role}_scrollDown`,En]),r("set-option",[`${V.role}_emitSelectRange`,Lt]),watch(()=>V.spinnerDate,()=>{de||_n()}),(An,Vn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).b("spinner"),{"has-seconds":An.showSeconds}])},[An.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(Ve),Wn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Wn,ref_for:!0,ref:Fn=>Ln(Fn,Wn),class:normalizeClass(unref(oe).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(oe).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Fn=>Lt(Wn),onMousemove:Fn=>hn(Wn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue)[Wn],(Fn,Yn)=>(openBlock(),createElementBlock("li",{key:Yn,class:normalizeClass([unref(oe).be("spinner","item"),unref(oe).is("active",Yn===unref(Fe)[Wn]),unref(oe).is("disabled",Fn)]),onClick:tr=>kn(Wn,{value:Yn,disabled:Fn})},[Wn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(An.amPmMode?Yn%12||12:Yn)).slice(-2))+toDisplayString$1(At(Yn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Yn).slice(-2)),1)],64))],10,_hoisted_1$Z))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),An.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(Ve),Wn=>(openBlock(),createElementBlock("div",{key:Wn,class:normalizeClass([unref(oe).be("spinner","wrapper"),unref(oe).is("arrow")]),onMouseenter:Fn=>Lt(Wn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(oe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),wn]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(oe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Sn]]),createBaseVNode("ul",{class:normalizeClass(unref(oe).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe)[Wn],(Fn,Yn)=>(openBlock(),createElementBlock("li",{key:Yn,class:normalizeClass([unref(oe).be("spinner","item"),unref(oe).is("active",Fn===unref(Fe)[Wn]),unref(oe).is("disabled",unref(Ue)[Wn][Fn])])},[typeof Fn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Wn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(An.amPmMode?Fn%12||12:Fn)).slice(-2))+toDisplayString$1(At(Fn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Fn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$E))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$1(_sfc_main$1W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const _sfc_main$1V=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(t,{emit:r}){const V=t,oe=inject("EP_PICKER_BASE"),{arrowControl:ie,disabledHours:le,disabledMinutes:ue,disabledSeconds:de,defaultValue:pe}=oe.props,{getAvailableHours:he,getAvailableMinutes:_e,getAvailableSeconds:$e}=buildAvailableTimeSlotGetter(le,ue,de),Ie=useNamespace("time"),{t:Ve,lang:Fe}=useLocale(),Ue=ref([0,2]),qe=useOldValue(V),Et=computed(()=>isUndefined$1(V.actualVisible)?`${Ie.namespace.value}-zoom-in-top`:""),At=computed(()=>V.format.includes("ss")),Lt=computed(()=>V.format.includes("A")?"A":V.format.includes("a")?"a":""),hn=Ln=>{const An=dayjs(Ln).locale(Fe.value),Vn=kn(An);return An.isSame(Vn)},_n=()=>{r("pick",qe.value,!1)},vn=(Ln=!1,An=!1)=>{An||r("pick",V.parsedValue,Ln)},bn=Ln=>{if(!V.visible)return;const An=kn(Ln).millisecond(0);r("pick",An,!0)},Cn=(Ln,An)=>{r("select-range",Ln,An),Ue.value=[Ln,An]},Sn=Ln=>{const An=[0,3].concat(At.value?[6]:[]),Vn=["hours","minutes"].concat(At.value?["seconds"]:[]),Fn=(An.indexOf(Ue.value[0])+Ln+An.length)%An.length;En.start_emitSelectRange(Vn[Fn])},wn=Ln=>{const An=Ln.code,{left:Vn,right:Wn,up:Fn,down:Yn}=EVENT_CODE;if([Vn,Wn].includes(An)){Sn(An===Vn?-1:1),Ln.preventDefault();return}if([Fn,Yn].includes(An)){const tr=An===Fn?-1:1;En.start_scrollDown(tr),Ln.preventDefault();return}},{timePickerOptions:En,onSetOption:xn,getAvailableTime:Pn}=useTimePanel({getAvailableHours:he,getAvailableMinutes:_e,getAvailableSeconds:$e}),kn=Ln=>Pn(Ln,V.datetimeRole||"",!0),Nn=Ln=>Ln?dayjs(Ln,V.format).locale(Fe.value):null,Dn=Ln=>Ln?Ln.format(V.format):null,Mn=()=>dayjs(pe).locale(Fe.value);return r("set-picker-option",["isValidValue",hn]),r("set-picker-option",["formatToString",Dn]),r("set-picker-option",["parseUserInput",Nn]),r("set-picker-option",["handleKeydownInput",wn]),r("set-picker-option",["getRangeAvailableTime",kn]),r("set-picker-option",["getDefaultValue",Mn]),(Ln,An)=>(openBlock(),createBlock(Transition,{name:unref(Et)},{default:withCtx(()=>[Ln.actualVisible||Ln.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(Ie).be("panel","content"),{"has-seconds":unref(At)}])},[createVNode(TimeSpinner,{ref:"spinner",role:Ln.datetimeRole||"start","arrow-control":unref(ie),"show-seconds":unref(At),"am-pm-mode":unref(Lt),"spinner-date":Ln.parsedValue,"disabled-hours":unref(le),"disabled-minutes":unref(ue),"disabled-seconds":unref(de),onChange:bn,onSetOption:unref(xn),onSelectRange:Cn},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),createBaseVNode("div",{class:normalizeClass(unref(Ie).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ie).be("panel","btn"),"cancel"]),onClick:_n},toDisplayString$1(unref(Ve)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ie).be("panel","btn"),"confirm"]),onClick:An[0]||(An[0]=Vn=>vn())},toDisplayString$1(unref(Ve)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$1(_sfc_main$1V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$Y=["disabled"],_sfc_main$1U=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(t,{emit:r}){const V=t,oe=(cr,Un)=>{const qn=[];for(let er=cr;er<=Un;er++)qn.push(er);return qn},{t:ie,lang:le}=useLocale(),ue=useNamespace("time"),de=useNamespace("picker"),pe=inject("EP_PICKER_BASE"),{arrowControl:he,disabledHours:_e,disabledMinutes:$e,disabledSeconds:Ie,defaultValue:Ve}=pe.props,Fe=computed(()=>[ue.be("range-picker","body"),ue.be("panel","content"),ue.is("arrow",he),hn.value?"has-seconds":""]),Ue=computed(()=>[ue.be("range-picker","body"),ue.be("panel","content"),ue.is("arrow",he),hn.value?"has-seconds":""]),qe=computed(()=>V.parsedValue[0]),Et=computed(()=>V.parsedValue[1]),At=useOldValue(V),Lt=()=>{r("pick",At.value,!1)},hn=computed(()=>V.format.includes("ss")),_n=computed(()=>V.format.includes("A")?"A":V.format.includes("a")?"a":""),vn=(cr=!1)=>{r("pick",[qe.value,Et.value],cr)},bn=cr=>{wn(cr.millisecond(0),Et.value)},Cn=cr=>{wn(qe.value,cr.millisecond(0))},Sn=cr=>{const Un=cr.map(er=>dayjs(er).locale(le.value)),qn=Wn(Un);return Un[0].isSame(qn[0])&&Un[1].isSame(qn[1])},wn=(cr,Un)=>{r("pick",[cr,Un],!0)},En=computed(()=>qe.value>Et.value),xn=ref([0,2]),Pn=(cr,Un)=>{r("select-range",cr,Un,"min"),xn.value=[cr,Un]},kn=computed(()=>hn.value?11:8),Nn=(cr,Un)=>{r("select-range",cr,Un,"max");const qn=unref(kn);xn.value=[cr+qn,Un+qn]},Dn=cr=>{const Un=hn.value?[0,3,6,11,14,17]:[0,3,8,11],qn=["hours","minutes"].concat(hn.value?["seconds"]:[]),pr=(Un.indexOf(xn.value[0])+cr+Un.length)%Un.length,Er=Un.length/2;pr<Er?yr.start_emitSelectRange(qn[pr]):yr.end_emitSelectRange(qn[pr-Er])},Mn=cr=>{const Un=cr.code,{left:qn,right:er,up:pr,down:Er}=EVENT_CODE;if([qn,er].includes(Un)){Dn(Un===qn?-1:1),cr.preventDefault();return}if([pr,Er].includes(Un)){const dr=Un===pr?-1:1,xr=xn.value[0]<kn.value?"start":"end";yr[`${xr}_scrollDown`](dr),cr.preventDefault();return}},Ln=(cr,Un)=>{const qn=_e?_e(cr):[],er=cr==="start",Er=(Un||(er?Et.value:qe.value)).hour(),dr=er?oe(Er+1,23):oe(0,Er-1);return union$1(qn,dr)},An=(cr,Un,qn)=>{const er=$e?$e(cr,Un):[],pr=Un==="start",Er=qn||(pr?Et.value:qe.value),dr=Er.hour();if(cr!==dr)return er;const xr=Er.minute(),wr=pr?oe(xr+1,59):oe(0,xr-1);return union$1(er,wr)},Vn=(cr,Un,qn,er)=>{const pr=Ie?Ie(cr,Un,qn):[],Er=qn==="start",dr=er||(Er?Et.value:qe.value),xr=dr.hour(),wr=dr.minute();if(cr!==xr||Un!==wr)return pr;const Cr=dr.second(),gr=Er?oe(Cr+1,59):oe(0,Cr-1);return union$1(pr,gr)},Wn=([cr,Un])=>[Jn(cr,"start",!0,Un),Jn(Un,"end",!1,cr)],{getAvailableHours:Fn,getAvailableMinutes:Yn,getAvailableSeconds:tr}=buildAvailableTimeSlotGetter(Ln,An,Vn),{timePickerOptions:yr,getAvailableTime:Jn,onSetOption:Kn}=useTimePanel({getAvailableHours:Fn,getAvailableMinutes:Yn,getAvailableSeconds:tr}),Gn=cr=>cr?isArray$c(cr)?cr.map(Un=>dayjs(Un,V.format).locale(le.value)):dayjs(cr,V.format).locale(le.value):null,Qn=cr=>cr?isArray$c(cr)?cr.map(Un=>Un.format(V.format)):cr.format(V.format):null,ur=()=>{if(isArray$c(Ve))return Ve.map(Un=>dayjs(Un).locale(le.value));const cr=dayjs(Ve).locale(le.value);return[cr,cr.add(60,"m")]};return r("set-picker-option",["formatToString",Qn]),r("set-picker-option",["parseUserInput",Gn]),r("set-picker-option",["isValidValue",Sn]),r("set-picker-option",["handleKeydownInput",Mn]),r("set-picker-option",["getDefaultValue",ur]),r("set-picker-option",["getRangeAvailableTime",Wn]),(cr,Un)=>cr.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(ue).b("range-picker"),unref(de).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(ue).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(ue).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(ue).be("range-picker","header"))},toDisplayString$1(unref(ie)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(unref(Fe))},[createVNode(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(hn),"am-pm-mode":unref(_n),"arrow-control":unref(he),"spinner-date":unref(qe),"disabled-hours":Ln,"disabled-minutes":An,"disabled-seconds":Vn,onChange:bn,onSetOption:unref(Kn),onSelectRange:Pn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(ue).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(ue).be("range-picker","header"))},toDisplayString$1(unref(ie)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(unref(Ue))},[createVNode(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(hn),"am-pm-mode":unref(_n),"arrow-control":unref(he),"spinner-date":unref(Et),"disabled-hours":Ln,"disabled-minutes":An,"disabled-seconds":Vn,onChange:Cn,onSetOption:unref(Kn),onSelectRange:Nn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(ue).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(ue).be("panel","btn"),"cancel"]),onClick:Un[0]||(Un[0]=qn=>Lt())},toDisplayString$1(unref(ie)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(ue).be("panel","btn"),"confirm"]),disabled:unref(En),onClick:Un[1]||(Un[1]=qn=>vn())},toDisplayString$1(unref(ie)("el.datepicker.confirm")),11,_hoisted_1$Y)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$1(_sfc_main$1U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,r){const V=ref(),[oe,ie]=t.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],le=ue=>r.emit("update:modelValue",ue);return provide("ElPopperOptions",t.popperOptions),r.expose({focus:ue=>{var de;(de=V.value)==null||de.handleFocusInput(ue)},blur:ue=>{var de;(de=V.value)==null||de.handleBlurInput(ue)},handleOpen:()=>{var ue;(ue=V.value)==null||ue.handleOpen()},handleClose:()=>{var ue;(ue=V.value)==null||ue.handleClose()}}),()=>{var ue;const de=(ue=t.format)!=null?ue:DEFAULT_FORMATS_TIME;return createVNode(CommonPicker,mergeProps(t,{ref:V,type:oe,format:de,"onUpdate:modelValue":le}),{default:pe=>createVNode(ie,pe,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=t=>{t.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(t,r)=>{const V=t.subtract(1,"month").endOf("month").date();return rangeArr(r).map((oe,ie)=>V-(r-ie-1))},getMonthDays=t=>{const r=t.daysInMonth();return rangeArr(r).map((V,oe)=>oe+1)},toNestedArr=t=>rangeArr(t.length/7).map(r=>{const V=r*7;return t.slice(V,V+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:t=>isObject$9(t)};var localeData$1={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){return function(V,oe,ie){var le=oe.prototype,ue=function($e){return $e&&($e.indexOf?$e:$e.s)},de=function($e,Ie,Ve,Fe,Ue){var qe=$e.name?$e:$e.$locale(),Et=ue(qe[Ie]),At=ue(qe[Ve]),Lt=Et||At.map(function(_n){return _n.slice(0,Fe)});if(!Ue)return Lt;var hn=qe.weekStart;return Lt.map(function(_n,vn){return Lt[(vn+(hn||0))%7]})},pe=function(){return ie.Ls[ie.locale()]},he=function($e,Ie){return $e.formats[Ie]||function(Ve){return Ve.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Fe,Ue,qe){return Ue||qe.slice(1)})}($e.formats[Ie.toUpperCase()])},_e=function(){var $e=this;return{months:function(Ie){return Ie?Ie.format("MMMM"):de($e,"months")},monthsShort:function(Ie){return Ie?Ie.format("MMM"):de($e,"monthsShort","months",3)},firstDayOfWeek:function(){return $e.$locale().weekStart||0},weekdays:function(Ie){return Ie?Ie.format("dddd"):de($e,"weekdays")},weekdaysMin:function(Ie){return Ie?Ie.format("dd"):de($e,"weekdaysMin","weekdays",2)},weekdaysShort:function(Ie){return Ie?Ie.format("ddd"):de($e,"weekdaysShort","weekdays",3)},longDateFormat:function(Ie){return he($e.$locale(),Ie)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};le.localeData=function(){return _e.bind(this)()},ie.localeData=function(){var $e=pe();return{firstDayOfWeek:function(){return $e.weekStart||0},weekdays:function(){return ie.weekdays()},weekdaysShort:function(){return ie.weekdaysShort()},weekdaysMin:function(){return ie.weekdaysMin()},months:function(){return ie.months()},monthsShort:function(){return ie.monthsShort()},longDateFormat:function(Ie){return he($e,Ie)},meridiem:$e.meridiem,ordinal:$e.ordinal}},ie.months=function(){return de(pe(),"months")},ie.monthsShort=function(){return de(pe(),"monthsShort","months",3)},ie.weekdays=function($e){return de(pe(),"weekdays",null,null,$e)},ie.weekdaysShort=function($e){return de(pe(),"weekdaysShort","weekdays",3,$e)},ie.weekdaysMin=function($e){return de(pe(),"weekdaysMin","weekdays",2,$e)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(t,r)=>{dayjs.extend(localeData);const V=dayjs.localeData().firstDayOfWeek(),{t:oe,lang:ie}=useLocale(),le=dayjs().locale(ie.value),ue=computed(()=>!!t.range&&!!t.range.length),de=computed(()=>{let Ie=[];if(ue.value){const[Ve,Fe]=t.range,Ue=rangeArr(Fe.date()-Ve.date()+1).map(At=>({text:Ve.date()+At,type:"current"}));let qe=Ue.length%7;qe=qe===0?0:7-qe;const Et=rangeArr(qe).map((At,Lt)=>({text:Lt+1,type:"next"}));Ie=Ue.concat(Et)}else{const Ve=t.date.startOf("month").day(),Fe=getPrevMonthLastDays(t.date,(Ve-V+7)%7).map(At=>({text:At,type:"prev"})),Ue=getMonthDays(t.date).map(At=>({text:At,type:"current"}));Ie=[...Fe,...Ue];const qe=7-(Ie.length%7||7),Et=rangeArr(qe).map((At,Lt)=>({text:Lt+1,type:"next"}));Ie=Ie.concat(Et)}return toNestedArr(Ie)}),pe=computed(()=>{const Ie=V;return Ie===0?WEEK_DAYS.map(Ve=>oe(`el.datepicker.weeks.${Ve}`)):WEEK_DAYS.slice(Ie).concat(WEEK_DAYS.slice(0,Ie)).map(Ve=>oe(`el.datepicker.weeks.${Ve}`))}),he=(Ie,Ve)=>{switch(Ve){case"prev":return t.date.startOf("month").subtract(1,"month").date(Ie);case"next":return t.date.startOf("month").add(1,"month").date(Ie);case"current":return t.date.date(Ie)}};return{now:le,isInRange:ue,rows:de,weekDays:pe,getFormattedDate:he,handlePickDay:({text:Ie,type:Ve})=>{const Fe=he(Ie,Ve);r("pick",Fe)},getSlotData:({text:Ie,type:Ve})=>{const Fe=he(Ie,Ve);return{isSelected:Fe.isSame(t.selectedDay),type:`${Ve}-month`,day:Fe.format("YYYY-MM-DD"),date:Fe.toDate()}}}},_hoisted_1$X={key:0},_hoisted_2$D=["onClick"],__default__$1f=defineComponent({name:"DateTable"}),_sfc_main$1T=defineComponent({...__default__$1f,props:dateTableProps,emits:dateTableEmits,setup(t,{expose:r,emit:V}){const oe=t,{isInRange:ie,now:le,rows:ue,weekDays:de,getFormattedDate:pe,handlePickDay:he,getSlotData:_e}=useDateTable(oe,V),$e=useNamespace("calendar-table"),Ie=useNamespace("calendar-day"),Ve=({text:Fe,type:Ue})=>{const qe=[Ue];if(Ue==="current"){const Et=pe(Fe,Ue);Et.isSame(oe.selectedDay,"day")&&qe.push(Ie.is("selected")),Et.isSame(le,"day")&&qe.push(Ie.is("today"))}return qe};return r({getFormattedDate:pe}),(Fe,Ue)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref($e).b(),unref($e).is("range",unref(ie))]),cellspacing:"0",cellpadding:"0"},[Fe.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$X,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(de),qe=>(openBlock(),createElementBlock("th",{key:qe},toDisplayString$1(qe),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ue),(qe,Et)=>(openBlock(),createElementBlock("tr",{key:Et,class:normalizeClass({[unref($e).e("row")]:!0,[unref($e).em("row","hide-border")]:Et===0&&Fe.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(qe,(At,Lt)=>(openBlock(),createElementBlock("td",{key:Lt,class:normalizeClass(Ve(At)),onClick:hn=>unref(he)(At)},[createBaseVNode("div",{class:normalizeClass(unref(Ie).b())},[renderSlot(Fe.$slots,"date-cell",{data:unref(_e)(At)},()=>[createBaseVNode("span",null,toDisplayString$1(At.text),1)])],2)],10,_hoisted_2$D))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$1(_sfc_main$1T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const adjacentMonth=(t,r)=>{const V=t.endOf("month"),oe=r.startOf("month"),le=V.isSame(oe,"week")?oe.add(1,"week"):oe;return[[t,V],[le.startOf("week"),r]]},threeConsecutiveMonth=(t,r)=>{const V=t.endOf("month"),oe=t.add(1,"month").startOf("month"),ie=V.isSame(oe,"week")?oe.add(1,"week"):oe,le=ie.endOf("month"),ue=r.startOf("month"),de=le.isSame(ue,"week")?ue.add(1,"week"):ue;return[[t,V],[ie.startOf("week"),le],[de.startOf("week"),r]]},useCalendar=(t,r,V)=>{const oe=useSlots(),{lang:ie}=useLocale(),le=ref(),ue=dayjs().locale(ie.value),de=computed({get(){return t.modelValue?he.value:le.value},set(Et){if(!Et)return;le.value=Et;const At=Et.toDate();r(INPUT_EVENT,At),r(UPDATE_MODEL_EVENT,At)}}),pe=computed(()=>{if(!t.range)return[];const Et=t.range.map(hn=>dayjs(hn).locale(ie.value)),[At,Lt]=Et;return At.isAfter(Lt)?[]:At.isSame(Lt,"month")?Fe(At,Lt):At.add(1,"month").month()!==Lt.month()?[]:Fe(At,Lt)}),he=computed(()=>t.modelValue?dayjs(t.modelValue).locale(ie.value):de.value||(pe.value.length?pe.value[0][0]:ue)),_e=computed(()=>he.value.subtract(1,"month").date(1)),$e=computed(()=>he.value.add(1,"month").date(1)),Ie=computed(()=>he.value.subtract(1,"year").date(1)),Ve=computed(()=>he.value.add(1,"year").date(1)),Fe=(Et,At)=>{const Lt=Et.startOf("week"),hn=At.endOf("week"),_n=Lt.get("month"),vn=hn.get("month");return _n===vn?[[Lt,hn]]:(_n+1)%12===vn?adjacentMonth(Lt,hn):_n+2===vn||(_n+1)%11===vn?threeConsecutiveMonth(Lt,hn):[]},Ue=Et=>{de.value=Et},qe=Et=>{const Lt={"prev-month":_e.value,"next-month":$e.value,"prev-year":Ie.value,"next-year":Ve.value,today:ue}[Et];Lt.isSame(he.value,"day")||Ue(Lt)};return useDeprecated({from:'"dateCell"',replacement:'"date-cell"',scope:"ElCalendar",version:"2.3.0",ref:"https://element-plus.org/en-US/component/calendar.html#slots",type:"Slot"},computed(()=>!!oe.dateCell)),{calculateValidatedDateRange:Fe,date:he,realSelectedDay:de,pickDay:Ue,selectDate:qe,validatedRange:pe}},isValidRange$1=t=>isArray$c(t)&&t.length===2&&t.every(r=>isDate$3(r)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:t=>isDate$3(t),[INPUT_EVENT]:t=>isDate$3(t)},COMPONENT_NAME$g="ElCalendar",__default__$1e=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1S=defineComponent({...__default__$1e,props:calendarProps,emits:calendarEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useNamespace("calendar"),{calculateValidatedDateRange:le,date:ue,pickDay:de,realSelectedDay:pe,selectDate:he,validatedRange:_e}=useCalendar(oe,V),{t:$e}=useLocale(),Ie=computed(()=>{const Ve=`el.datepicker.month${ue.value.format("M")}`;return`${ue.value.year()} ${$e("el.datepicker.year")} ${$e(Ve)}`});return r({selectedDay:pe,pickDay:de,selectDate:he,calculateValidatedDateRange:le}),(Ve,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("header"))},[renderSlot(Ve.$slots,"header",{date:unref(Ie)},()=>[createBaseVNode("div",{class:normalizeClass(unref(ie).e("title"))},toDisplayString$1(unref(Ie)),3),unref(_e).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("button-group"))},[createVNode(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode(unref(ElButton),{size:"small",onClick:Fe[0]||(Fe[0]=Ue=>unref(he)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref($e)("el.datepicker.prevMonth")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:Fe[1]||(Fe[1]=Ue=>unref(he)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref($e)("el.datepicker.today")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:Fe[2]||(Fe[2]=Ue=>unref(he)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref($e)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(_e).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("body"))},[createVNode(DateTable$1,{date:unref(ue),"selected-day":unref(pe),onPick:unref(de)},createSlots({_:2},[Ve.$slots["date-cell"]||Ve.$slots.dateCell?{name:"date-cell",fn:withCtx(Ue=>[Ve.$slots["date-cell"]?renderSlot(Ve.$slots,"date-cell",normalizeProps(mergeProps({key:0},Ue))):renderSlot(Ve.$slots,"dateCell",normalizeProps(mergeProps({key:1},Ue)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),(Ue,qe)=>(openBlock(),createBlock(DateTable$1,{key:qe,date:Ue[0],"selected-day":unref(pe),range:Ue,"hide-header":qe!==0,onPick:unref(de)},createSlots({_:2},[Ve.$slots["date-cell"]||Ve.$slots.dateCell?{name:"date-cell",fn:withCtx(Et=>[Ve.$slots["date-cell"]?renderSlot(Ve.$slots,"date-cell",normalizeProps(mergeProps({key:0},Et))):renderSlot(Ve.$slots,"dateCell",normalizeProps(mergeProps({key:1},Et)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar=_export_sfc$1(_sfc_main$1S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const ElCalendar=withInstall(Calendar),cardProps=buildProps({header:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1d=defineComponent({name:"ElCard"}),_sfc_main$1R=defineComponent({...__default__$1d,props:cardProps,setup(t){const r=useNamespace("card");return(V,oe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).b(),unref(r).is(`${V.shadow}-shadow`)])},[V.$slots.header||V.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("header"))},[renderSlot(V.$slots,"header",{},()=>[createTextVNode(toDisplayString$1(V.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref(r).e("body"),V.bodyClass]),style:normalizeStyle$1(V.bodyStyle)},[renderSlot(V.$slots,"default")],6)],2))}});var Card=_export_sfc$1(_sfc_main$1R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const ElCard=withInstall(Card),carouselProps=buildProps({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0}}),carouselEmits={change:(t,r)=>[t,r].every(isNumber$4)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=(t,r,V)=>{const{children:oe,addChild:ie,removeChild:le}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),ue=ref(-1),de=ref(null),pe=ref(!1),he=ref(),_e=ref(0),$e=computed(()=>t.arrow!=="never"&&!unref(Fe)),Ie=computed(()=>oe.value.some(An=>An.props.label.toString().length>0)),Ve=computed(()=>t.type==="card"),Fe=computed(()=>t.direction==="vertical"),Ue=computed(()=>t.height!=="auto"?{height:t.height}:{height:`${_e.value}px`,overflow:"hidden"}),qe=throttle$1(An=>{_n(An)},THROTTLE_TIME,{trailing:!0}),Et=throttle$1(An=>{Pn(An)},THROTTLE_TIME);function At(){de.value&&(clearInterval(de.value),de.value=null)}function Lt(){t.interval<=0||!t.autoplay||de.value||(de.value=setInterval(()=>hn(),t.interval))}const hn=()=>{ue.value<oe.value.length-1?ue.value=ue.value+1:t.loop&&(ue.value=0)};function _n(An){if(isString$6(An)){const Fn=oe.value.filter(Yn=>Yn.props.name===An);Fn.length>0&&(An=oe.value.indexOf(Fn[0]))}if(An=Number(An),Number.isNaN(An)||An!==Math.floor(An))return;const Vn=oe.value.length,Wn=ue.value;An<0?ue.value=t.loop?Vn-1:0:An>=Vn?ue.value=t.loop?0:Vn-1:ue.value=An,Wn===ue.value&&vn(Wn),Dn()}function vn(An){oe.value.forEach((Vn,Wn)=>{Vn.translateItem(Wn,ue.value,An)})}function bn(An,Vn){var Wn,Fn,Yn,tr;const yr=unref(oe),Jn=yr.length;if(Jn===0||!An.states.inStage)return!1;const Kn=Vn+1,Gn=Vn-1,Qn=Jn-1,ur=yr[Qn].states.active,cr=yr[0].states.active,Un=(Fn=(Wn=yr[Kn])==null?void 0:Wn.states)==null?void 0:Fn.active,qn=(tr=(Yn=yr[Gn])==null?void 0:Yn.states)==null?void 0:tr.active;return Vn===Qn&&cr||Un?"left":Vn===0&&ur||qn?"right":!1}function Cn(){pe.value=!0,t.pauseOnHover&&At()}function Sn(){pe.value=!1,Lt()}function wn(An){unref(Fe)||oe.value.forEach((Vn,Wn)=>{An===bn(Vn,Wn)&&(Vn.states.hover=!0)})}function En(){unref(Fe)||oe.value.forEach(An=>{An.states.hover=!1})}function xn(An){ue.value=An}function Pn(An){t.trigger==="hover"&&An!==ue.value&&(ue.value=An)}function kn(){_n(ue.value-1)}function Nn(){_n(ue.value+1)}function Dn(){At(),Lt()}function Mn(An){t.height==="auto"&&(_e.value=An)}watch(()=>ue.value,(An,Vn)=>{vn(Vn),Vn>-1&&r("change",An,Vn)}),watch(()=>t.autoplay,An=>{An?Lt():At()}),watch(()=>t.loop,()=>{_n(ue.value)}),watch(()=>t.interval,()=>{Dn()}),watch(()=>oe.value,()=>{oe.value.length>0&&_n(t.initialIndex)});const Ln=shallowRef();return onMounted(()=>{Ln.value=useResizeObserver$1(he.value,()=>{vn()}),Lt()}),onBeforeUnmount(()=>{At(),he.value&&Ln.value&&Ln.value.stop()}),provide(carouselContextKey,{root:he,isCardType:Ve,isVertical:Fe,items:oe,loop:t.loop,addItem:ie,removeItem:le,setActiveItem:_n,setContainerHeight:Mn}),{root:he,activeIndex:ue,arrowDisplay:$e,hasLabel:Ie,hover:pe,isCardType:Ve,items:oe,isVertical:Fe,containerStyle:Ue,handleButtonEnter:wn,handleButtonLeave:En,handleIndicatorClick:xn,handleMouseEnter:Cn,handleMouseLeave:Sn,setActiveItem:_n,prev:kn,next:Nn,throttledArrowClick:qe,throttledIndicatorHover:Et}},_hoisted_1$W=["onMouseenter","onClick"],_hoisted_2$C={key:0},COMPONENT_NAME$f="ElCarousel",__default__$1c=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1Q=defineComponent({...__default__$1c,props:carouselProps,emits:carouselEmits,setup(t,{expose:r,emit:V}){const oe=t,{root:ie,activeIndex:le,arrowDisplay:ue,hasLabel:de,hover:pe,isCardType:he,items:_e,isVertical:$e,containerStyle:Ie,handleButtonEnter:Ve,handleButtonLeave:Fe,handleIndicatorClick:Ue,handleMouseEnter:qe,handleMouseLeave:Et,setActiveItem:At,prev:Lt,next:hn,throttledArrowClick:_n,throttledIndicatorHover:vn}=useCarousel(oe,V),bn=useNamespace("carousel"),Cn=computed(()=>{const wn=[bn.b(),bn.m(oe.direction)];return unref(he)&&wn.push(bn.m("card")),wn}),Sn=computed(()=>{const wn=[bn.e("indicators"),bn.em("indicators",oe.direction)];return unref(de)&&wn.push(bn.em("indicators","labels")),oe.indicatorPosition==="outside"&&wn.push(bn.em("indicators","outside")),unref($e)&&wn.push(bn.em("indicators","right")),wn});return r({setActiveItem:At,prev:Lt,next:hn}),(wn,En)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:ie,class:normalizeClass(unref(Cn)),onMouseenter:En[6]||(En[6]=withModifiers((...xn)=>unref(qe)&&unref(qe)(...xn),["stop"])),onMouseleave:En[7]||(En[7]=withModifiers((...xn)=>unref(Et)&&unref(Et)(...xn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(unref(bn).e("container")),style:normalizeStyle$1(unref(Ie))},[unref(ue)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).e("arrow"),unref(bn).em("arrow","left")]),onMouseenter:En[0]||(En[0]=xn=>unref(Ve)("left")),onMouseleave:En[1]||(En[1]=(...xn)=>unref(Fe)&&unref(Fe)(...xn)),onClick:En[2]||(En[2]=withModifiers(xn=>unref(_n)(unref(le)-1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],34),[[vShow,(wn.arrow==="always"||unref(pe))&&(oe.loop||unref(le)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(ue)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).e("arrow"),unref(bn).em("arrow","right")]),onMouseenter:En[3]||(En[3]=xn=>unref(Ve)("right")),onMouseleave:En[4]||(En[4]=(...xn)=>unref(Fe)&&unref(Fe)(...xn)),onClick:En[5]||(En[5]=withModifiers(xn=>unref(_n)(unref(le)+1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],34),[[vShow,(wn.arrow==="always"||unref(pe))&&(oe.loop||unref(le)<unref(_e).length-1)]])]),_:1})):createCommentVNode("v-if",!0),renderSlot(wn.$slots,"default")],6),wn.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:0,class:normalizeClass(unref(Sn))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),(xn,Pn)=>(openBlock(),createElementBlock("li",{key:Pn,class:normalizeClass([unref(bn).e("indicator"),unref(bn).em("indicator",wn.direction),unref(bn).is("active",Pn===unref(le))]),onMouseenter:kn=>unref(vn)(Pn),onClick:withModifiers(kn=>unref(Ue)(Pn),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(bn).e("button"))},[unref(de)?(openBlock(),createElementBlock("span",_hoisted_2$C,toDisplayString$1(xn.props.label),1)):createCommentVNode("v-if",!0)],2)],42,_hoisted_1$W))),128))],2)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$1(_sfc_main$1Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=(t,r)=>{const V=inject(carouselContextKey),oe=getCurrentInstance(),ie=.83,le=ref(),ue=ref(!1),de=ref(0),pe=ref(1),he=ref(!1),_e=ref(!1),$e=ref(!1),Ie=ref(!1),{isCardType:Ve,isVertical:Fe}=V;function Ue(hn,_n,vn){const bn=vn-1,Cn=_n-1,Sn=_n+1,wn=vn/2;return _n===0&&hn===bn?-1:_n===bn&&hn===0?vn:hn<Cn&&_n-hn>=wn?vn+1:hn>Sn&&hn-_n>=wn?-2:hn}function qe(hn,_n){var vn,bn;const Cn=unref(Fe)?((vn=V.root.value)==null?void 0:vn.offsetHeight)||0:((bn=V.root.value)==null?void 0:bn.offsetWidth)||0;return $e.value?Cn*((2-ie)*(hn-_n)+1)/4:hn<_n?-(1+ie)*Cn/4:(3+ie)*Cn/4}function Et(hn,_n,vn){const bn=V.root.value;return bn?((vn?bn.offsetHeight:bn.offsetWidth)||0)*(hn-_n):0}const At=(hn,_n,vn)=>{var bn;const Cn=unref(Ve),Sn=(bn=V.items.value.length)!=null?bn:Number.NaN,wn=hn===_n;!Cn&&!isUndefined$1(vn)&&(Ie.value=wn||hn===vn),!wn&&Sn>2&&V.loop&&(hn=Ue(hn,_n,Sn));const En=unref(Fe);he.value=wn,Cn?($e.value=Math.round(Math.abs(hn-_n))<=1,de.value=qe(hn,_n),pe.value=unref(he)?1:ie):de.value=Et(hn,_n,En),_e.value=!0,wn&&le.value&&V.setContainerHeight(le.value.offsetHeight)};function Lt(){if(V&&unref(Ve)){const hn=V.items.value.findIndex(({uid:_n})=>_n===oe.uid);V.setActiveItem(hn)}}return onMounted(()=>{V.addItem({props:t,states:reactive({hover:ue,translate:de,scale:pe,active:he,ready:_e,inStage:$e,animating:Ie}),uid:oe.uid,translateItem:At})}),onUnmounted(()=>{V.removeItem(oe.uid)}),{carouselItemRef:le,active:he,animating:Ie,hover:ue,inStage:$e,isVertical:Fe,translate:de,isCardType:Ve,scale:pe,ready:_e,handleItemClick:Lt}},__default__$1b=defineComponent({name:"ElCarouselItem"}),_sfc_main$1P=defineComponent({...__default__$1b,props:carouselItemProps,setup(t){const r=t,V=useNamespace("carousel"),{carouselItemRef:oe,active:ie,animating:le,hover:ue,inStage:de,isVertical:pe,translate:he,isCardType:_e,scale:$e,ready:Ie,handleItemClick:Ve}=useCarouselItem(r),Fe=computed(()=>{const qe=`${`translate${unref(pe)?"Y":"X"}`}(${unref(he)}px)`,Et=`scale(${unref($e)})`;return{transform:[qe,Et].join(" ")}});return(Ue,qe)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:oe,class:normalizeClass([unref(V).e("item"),unref(V).is("active",unref(ie)),unref(V).is("in-stage",unref(de)),unref(V).is("hover",unref(ue)),unref(V).is("animating",unref(le)),{[unref(V).em("item","card")]:unref(_e),[unref(V).em("item","card-vertical")]:unref(_e)&&unref(pe)}]),style:normalizeStyle$1(unref(Fe)),onClick:qe[0]||(qe[0]=(...Et)=>unref(Ve)&&unref(Ve)(...Et))},[unref(_e)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("mask"))},null,2)),[[vShow,!unref(ie)]]):createCommentVNode("v-if",!0),renderSlot(Ue.$slots,"default")],6)),[[vShow,unref(Ie)]])}});var CarouselItem=_export_sfc$1(_sfc_main$1P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},checkboxEmits={[UPDATE_MODEL_EVENT]:t=>isString$6(t)||isNumber$4(t)||isBoolean$3(t),change:t=>isString$6(t)||isNumber$4(t)||isBoolean$3(t)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:t,isChecked:r})=>{const V=inject(checkboxGroupContextKey,void 0),oe=computed(()=>{var le,ue;const de=(le=V==null?void 0:V.max)==null?void 0:le.value,pe=(ue=V==null?void 0:V.min)==null?void 0:ue.value;return!isUndefined$1(de)&&t.value.length>=de&&!r.value||!isUndefined$1(pe)&&t.value.length<=pe&&r.value});return{isDisabled:useFormDisabled(computed(()=>(V==null?void 0:V.disabled.value)||oe.value)),isLimitDisabled:oe}},useCheckboxEvent=(t,{model:r,isLimitExceeded:V,hasOwnLabel:oe,isDisabled:ie,isLabeledByFormItem:le})=>{const ue=inject(checkboxGroupContextKey,void 0),{formItem:de}=useFormItem(),{emit:pe}=getCurrentInstance();function he(Fe){var Ue,qe;return Fe===t.trueLabel||Fe===!0?(Ue=t.trueLabel)!=null?Ue:!0:(qe=t.falseLabel)!=null?qe:!1}function _e(Fe,Ue){pe("change",he(Fe),Ue)}function $e(Fe){if(V.value)return;const Ue=Fe.target;pe("change",he(Ue.checked),Fe)}async function Ie(Fe){V.value||!oe.value&&!ie.value&&le.value&&(Fe.composedPath().some(Et=>Et.tagName==="LABEL")||(r.value=he([!1,t.falseLabel].includes(r.value)),await nextTick(),_e(r.value,Fe)))}const Ve=computed(()=>(ue==null?void 0:ue.validateEvent)||t.validateEvent);return watch(()=>t.modelValue,()=>{Ve.value&&(de==null||de.validate("change").catch(Fe=>void 0))}),{handleChange:$e,onClickRoot:Ie}},useCheckboxModel=t=>{const r=ref(!1),{emit:V}=getCurrentInstance(),oe=inject(checkboxGroupContextKey,void 0),ie=computed(()=>isUndefined$1(oe)===!1),le=ref(!1);return{model:computed({get(){var de,pe;return ie.value?(de=oe==null?void 0:oe.modelValue)==null?void 0:de.value:(pe=t.modelValue)!=null?pe:r.value},set(de){var pe,he;ie.value&&isArray$c(de)?(le.value=((pe=oe==null?void 0:oe.max)==null?void 0:pe.value)!==void 0&&de.length>(oe==null?void 0:oe.max.value),le.value===!1&&((he=oe==null?void 0:oe.changeEvent)==null||he.call(oe,de))):(V(UPDATE_MODEL_EVENT,de),r.value=de)}}),isGroup:ie,isLimitExceeded:le}},useCheckboxStatus=(t,r,{model:V})=>{const oe=inject(checkboxGroupContextKey,void 0),ie=ref(!1),le=computed(()=>{const he=V.value;return isBoolean$3(he)?he:isArray$c(he)?isObject$9(t.label)?he.map(toRaw).some(_e=>isEqual$1(_e,t.label)):he.map(toRaw).includes(t.label):he!=null?he===t.trueLabel:!!he}),ue=useFormSize(computed(()=>{var he;return(he=oe==null?void 0:oe.size)==null?void 0:he.value}),{prop:!0}),de=useFormSize(computed(()=>{var he;return(he=oe==null?void 0:oe.size)==null?void 0:he.value})),pe=computed(()=>!!(r.default||t.label));return{checkboxButtonSize:ue,isChecked:le,isFocused:ie,checkboxSize:de,hasOwnLabel:pe}},setStoreValue=(t,{model:r})=>{function V(){isArray$c(r.value)&&!r.value.includes(t.label)?r.value.push(t.label):r.value=t.trueLabel||!0}t.checked&&V()},useCheckbox=(t,r)=>{const{formItem:V}=useFormItem(),{model:oe,isGroup:ie,isLimitExceeded:le}=useCheckboxModel(t),{isFocused:ue,isChecked:de,checkboxButtonSize:pe,checkboxSize:he,hasOwnLabel:_e}=useCheckboxStatus(t,r,{model:oe}),{isDisabled:$e}=useCheckboxDisabled({model:oe,isChecked:de}),{inputId:Ie,isLabeledByFormItem:Ve}=useFormItemInputId(t,{formItemContext:V,disableIdGeneration:_e,disableIdManagement:ie}),{handleChange:Fe,onClickRoot:Ue}=useCheckboxEvent(t,{model:oe,isLimitExceeded:le,hasOwnLabel:_e,isDisabled:$e,isLabeledByFormItem:Ve});return setStoreValue(t,{model:oe}),{inputId:Ie,isLabeledByFormItem:Ve,isChecked:de,isDisabled:$e,isFocused:ue,checkboxButtonSize:pe,checkboxSize:he,hasOwnLabel:_e,model:oe,handleChange:Fe,onClickRoot:Ue}},_hoisted_1$V=["tabindex","role","aria-checked"],_hoisted_2$B=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],_hoisted_3$m=["id","aria-hidden","disabled","value","name","tabindex"],__default__$1a=defineComponent({name:"ElCheckbox"}),_sfc_main$1O=defineComponent({...__default__$1a,props:checkboxProps,emits:checkboxEmits,setup(t){const r=t,V=useSlots(),{inputId:oe,isLabeledByFormItem:ie,isChecked:le,isDisabled:ue,isFocused:de,checkboxSize:pe,hasOwnLabel:he,model:_e,handleChange:$e,onClickRoot:Ie}=useCheckbox(r,V),Ve=useNamespace("checkbox"),Fe=computed(()=>[Ve.b(),Ve.m(pe.value),Ve.is("disabled",ue.value),Ve.is("bordered",r.border),Ve.is("checked",le.value)]),Ue=computed(()=>[Ve.e("input"),Ve.is("disabled",ue.value),Ve.is("checked",le.value),Ve.is("indeterminate",r.indeterminate),Ve.is("focus",de.value)]);return(qe,Et)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(he)&&unref(ie)?"span":"label"),{class:normalizeClass(unref(Fe)),"aria-controls":qe.indeterminate?qe.controls:null,onClick:unref(Ie)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(Ue)),tabindex:qe.indeterminate?0:void 0,role:qe.indeterminate?"checkbox":void 0,"aria-checked":qe.indeterminate?"mixed":void 0},[qe.trueLabel||qe.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(oe),"onUpdate:modelValue":Et[0]||(Et[0]=At=>isRef(_e)?_e.value=At:null),class:normalizeClass(unref(Ve).e("original")),type:"checkbox","aria-hidden":qe.indeterminate?"true":"false",name:qe.name,tabindex:qe.tabindex,disabled:unref(ue),"true-value":qe.trueLabel,"false-value":qe.falseLabel,onChange:Et[1]||(Et[1]=(...At)=>unref($e)&&unref($e)(...At)),onFocus:Et[2]||(Et[2]=At=>de.value=!0),onBlur:Et[3]||(Et[3]=At=>de.value=!1),onClick:Et[4]||(Et[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$B)),[[vModelCheckbox,unref(_e)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(oe),"onUpdate:modelValue":Et[5]||(Et[5]=At=>isRef(_e)?_e.value=At:null),class:normalizeClass(unref(Ve).e("original")),type:"checkbox","aria-hidden":qe.indeterminate?"true":"false",disabled:unref(ue),value:qe.label,name:qe.name,tabindex:qe.tabindex,onChange:Et[6]||(Et[6]=(...At)=>unref($e)&&unref($e)(...At)),onFocus:Et[7]||(Et[7]=At=>de.value=!0),onBlur:Et[8]||(Et[8]=At=>de.value=!1),onClick:Et[9]||(Et[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_3$m)),[[vModelCheckbox,unref(_e)]]),createBaseVNode("span",{class:normalizeClass(unref(Ve).e("inner"))},null,2)],10,_hoisted_1$V),unref(he)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ve).e("label"))},[renderSlot(qe.$slots,"default"),qe.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(qe.label),1)],64))],2)):createCommentVNode("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc$1(_sfc_main$1O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const _hoisted_1$U=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$A=["name","tabindex","disabled","value"],__default__$19=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1N=defineComponent({...__default__$19,props:checkboxProps,emits:checkboxEmits,setup(t){const r=t,V=useSlots(),{isFocused:oe,isChecked:ie,isDisabled:le,checkboxButtonSize:ue,model:de,handleChange:pe}=useCheckbox(r,V),he=inject(checkboxGroupContextKey,void 0),_e=useNamespace("checkbox"),$e=computed(()=>{var Ve,Fe,Ue,qe;const Et=(Fe=(Ve=he==null?void 0:he.fill)==null?void 0:Ve.value)!=null?Fe:"";return{backgroundColor:Et,borderColor:Et,color:(qe=(Ue=he==null?void 0:he.textColor)==null?void 0:Ue.value)!=null?qe:"",boxShadow:Et?`-1px 0 0 0 ${Et}`:void 0}}),Ie=computed(()=>[_e.b("button"),_e.bm("button",ue.value),_e.is("disabled",le.value),_e.is("checked",ie.value),_e.is("focus",oe.value)]);return(Ve,Fe)=>(openBlock(),createElementBlock("label",{class:normalizeClass(unref(Ie))},[Ve.trueLabel||Ve.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Fe[0]||(Fe[0]=Ue=>isRef(de)?de.value=Ue:null),class:normalizeClass(unref(_e).be("button","original")),type:"checkbox",name:Ve.name,tabindex:Ve.tabindex,disabled:unref(le),"true-value":Ve.trueLabel,"false-value":Ve.falseLabel,onChange:Fe[1]||(Fe[1]=(...Ue)=>unref(pe)&&unref(pe)(...Ue)),onFocus:Fe[2]||(Fe[2]=Ue=>oe.value=!0),onBlur:Fe[3]||(Fe[3]=Ue=>oe.value=!1),onClick:Fe[4]||(Fe[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$U)),[[vModelCheckbox,unref(de)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":Fe[5]||(Fe[5]=Ue=>isRef(de)?de.value=Ue:null),class:normalizeClass(unref(_e).be("button","original")),type:"checkbox",name:Ve.name,tabindex:Ve.tabindex,disabled:unref(le),value:Ve.label,onChange:Fe[6]||(Fe[6]=(...Ue)=>unref(pe)&&unref(pe)(...Ue)),onFocus:Fe[7]||(Fe[7]=Ue=>oe.value=!0),onBlur:Fe[8]||(Fe[8]=Ue=>oe.value=!1),onClick:Fe[9]||(Fe[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$A)),[[vModelCheckbox,unref(de)]]),Ve.$slots.default||Ve.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(_e).be("button","inner")),style:normalizeStyle$1(unref(ie)?unref($e):void 0)},[renderSlot(Ve.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ve.label),1)])],6)):createCommentVNode("v-if",!0)],2))}});var CheckboxButton=_export_sfc$1(_sfc_main$1N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:useSizeProp,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:t=>isArray$c(t),change:t=>isArray$c(t)},__default__$18=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1M=defineComponent({...__default__$18,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(t,{emit:r}){const V=t,oe=useNamespace("checkbox"),{formItem:ie}=useFormItem(),{inputId:le,isLabeledByFormItem:ue}=useFormItemInputId(V,{formItemContext:ie}),de=async he=>{r(UPDATE_MODEL_EVENT,he),await nextTick(),r("change",he)},pe=computed({get(){return V.modelValue},set(he){de(he)}});return provide(checkboxGroupContextKey,{...pick$1(toRefs(V),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:pe,changeEvent:de}),watch(()=>V.modelValue,()=>{V.validateEvent&&(ie==null||ie.validate("change").catch(he=>void 0))}),(he,_e)=>{var $e;return openBlock(),createBlock(resolveDynamicComponent(he.tag),{id:unref(le),class:normalizeClass(unref(oe).b("group")),role:"group","aria-label":unref(ue)?void 0:he.label||"checkbox-group","aria-labelledby":unref(ue)?($e=unref(ie))==null?void 0:$e.labelId:void 0},{default:withCtx(()=>[renderSlot(he.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc$1(_sfc_main$1M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton,CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),radioProps=buildProps({...radioPropsBase,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:t=>isString$6(t)||isNumber$4(t)||isBoolean$3(t),[CHANGE_EVENT]:t=>isString$6(t)||isNumber$4(t)||isBoolean$3(t)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(t,r)=>{const V=ref(),oe=inject(radioGroupKey,void 0),ie=computed(()=>!!oe),le=computed({get(){return ie.value?oe.modelValue:t.modelValue},set(_e){ie.value?oe.changeEvent(_e):r&&r(UPDATE_MODEL_EVENT,_e),V.value.checked=t.modelValue===t.label}}),ue=useFormSize(computed(()=>oe==null?void 0:oe.size)),de=useFormDisabled(computed(()=>oe==null?void 0:oe.disabled)),pe=ref(!1),he=computed(()=>de.value||ie.value&&le.value!==t.label?-1:0);return{radioRef:V,isGroup:ie,radioGroup:oe,focus:pe,size:ue,disabled:de,tabIndex:he,modelValue:le}},_hoisted_1$T=["value","name","disabled"],__default__$17=defineComponent({name:"ElRadio"}),_sfc_main$1L=defineComponent({...__default__$17,props:radioProps,emits:radioEmits,setup(t,{emit:r}){const V=t,oe=useNamespace("radio"),{radioRef:ie,radioGroup:le,focus:ue,size:de,disabled:pe,modelValue:he}=useRadio(V,r);function _e(){nextTick(()=>r("change",he.value))}return($e,Ie)=>{var Ve;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(oe).b(),unref(oe).is("disabled",unref(pe)),unref(oe).is("focus",unref(ue)),unref(oe).is("bordered",$e.border),unref(oe).is("checked",unref(he)===$e.label),unref(oe).m(unref(de))])},[createBaseVNode("span",{class:normalizeClass([unref(oe).e("input"),unref(oe).is("disabled",unref(pe)),unref(oe).is("checked",unref(he)===$e.label)])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:ie,"onUpdate:modelValue":Ie[0]||(Ie[0]=Fe=>isRef(he)?he.value=Fe:null),class:normalizeClass(unref(oe).e("original")),value:$e.label,name:$e.name||((Ve=unref(le))==null?void 0:Ve.name),disabled:unref(pe),type:"radio",onFocus:Ie[1]||(Ie[1]=Fe=>ue.value=!0),onBlur:Ie[2]||(Ie[2]=Fe=>ue.value=!1),onChange:_e,onClick:Ie[3]||(Ie[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$T),[[vModelRadio,unref(he)]]),createBaseVNode("span",{class:normalizeClass(unref(oe).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(oe).e("label")),onKeydown:Ie[4]||(Ie[4]=withModifiers(()=>{},["stop"]))},[renderSlot($e.$slots,"default",{},()=>[createTextVNode(toDisplayString$1($e.label),1)])],34)],2)}}});var Radio=_export_sfc$1(_sfc_main$1L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase,name:{type:String,default:""}}),_hoisted_1$S=["value","name","disabled"],__default__$16=defineComponent({name:"ElRadioButton"}),_sfc_main$1K=defineComponent({...__default__$16,props:radioButtonProps,setup(t){const r=t,V=useNamespace("radio"),{radioRef:oe,focus:ie,size:le,disabled:ue,modelValue:de,radioGroup:pe}=useRadio(r),he=computed(()=>({backgroundColor:(pe==null?void 0:pe.fill)||"",borderColor:(pe==null?void 0:pe.fill)||"",boxShadow:pe!=null&&pe.fill?`-1px 0 0 0 ${pe.fill}`:"",color:(pe==null?void 0:pe.textColor)||""}));return(_e,$e)=>{var Ie;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(V).b("button"),unref(V).is("active",unref(de)===_e.label),unref(V).is("disabled",unref(ue)),unref(V).is("focus",unref(ie)),unref(V).bm("button",unref(le))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:oe,"onUpdate:modelValue":$e[0]||($e[0]=Ve=>isRef(de)?de.value=Ve:null),class:normalizeClass(unref(V).be("button","original-radio")),value:_e.label,type:"radio",name:_e.name||((Ie=unref(pe))==null?void 0:Ie.name),disabled:unref(ue),onFocus:$e[1]||($e[1]=Ve=>ie.value=!0),onBlur:$e[2]||($e[2]=Ve=>ie.value=!1),onClick:$e[3]||($e[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$S),[[vModelRadio,unref(de)]]),createBaseVNode("span",{class:normalizeClass(unref(V).be("button","inner")),style:normalizeStyle$1(unref(de)===_e.label?unref(he):{}),onKeydown:$e[4]||($e[4]=withModifiers(()=>{},["stop"]))},[renderSlot(_e.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(_e.label),1)])],38)],2)}}});var RadioButton=_export_sfc$1(_sfc_main$1K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),radioGroupEmits=radioEmits,_hoisted_1$R=["id","aria-label","aria-labelledby"],__default__$15=defineComponent({name:"ElRadioGroup"}),_sfc_main$1J=defineComponent({...__default__$15,props:radioGroupProps,emits:radioGroupEmits,setup(t,{emit:r}){const V=t,oe=useNamespace("radio"),ie=useId(),le=ref(),{formItem:ue}=useFormItem(),{inputId:de,isLabeledByFormItem:pe}=useFormItemInputId(V,{formItemContext:ue}),he=$e=>{r(UPDATE_MODEL_EVENT,$e),nextTick(()=>r("change",$e))};onMounted(()=>{const $e=le.value.querySelectorAll("[type=radio]"),Ie=$e[0];!Array.from($e).some(Ve=>Ve.checked)&&Ie&&(Ie.tabIndex=0)});const _e=computed(()=>V.name||ie.value);return provide(radioGroupKey,reactive({...toRefs(V),changeEvent:he,name:_e})),watch(()=>V.modelValue,()=>{V.validateEvent&&(ue==null||ue.validate("change").catch($e=>void 0))}),($e,Ie)=>(openBlock(),createElementBlock("div",{id:unref(de),ref_key:"radioGroupRef",ref:le,class:normalizeClass(unref(oe).b("group")),role:"radiogroup","aria-label":unref(pe)?void 0:$e.label||"radio-group","aria-labelledby":unref(pe)?unref(ue).labelId:void 0},[renderSlot($e.$slots,"default")],10,_hoisted_1$R))}});var RadioGroup=_export_sfc$1(_sfc_main$1J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const ElRadio=withInstall(Radio,{RadioButton,RadioGroup}),ElRadioGroup=withNoopInstall(RadioGroup),ElRadioButton=withNoopInstall(RadioButton);var NodeContent$1=defineComponent({name:"NodeContent",setup(){return{ns:useNamespace("cascader-node")}},render(){const{ns:t}=this,{node:r,panel:V}=this.$parent,{data:oe,label:ie}=r,{renderLabelFn:le}=V;return h$2("span",{class:t.e("label")},le?le({node:r,data:oe}):ie)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1I=defineComponent({name:"ElCascaderNode",components:{ElCheckbox,ElRadio,NodeContent:NodeContent$1,ElIcon,Check:check_default,Loading:loading_default,ArrowRight:arrow_right_default},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(t,{emit:r}){const V=inject(CASCADER_PANEL_INJECTION_KEY),oe=useNamespace("cascader-node"),ie=computed(()=>V.isHoverMenu),le=computed(()=>V.config.multiple),ue=computed(()=>V.config.checkStrictly),de=computed(()=>{var vn;return(vn=V.checkedNodes[0])==null?void 0:vn.uid}),pe=computed(()=>t.node.isDisabled),he=computed(()=>t.node.isLeaf),_e=computed(()=>ue.value&&!he.value||!pe.value),$e=computed(()=>Ve(V.expandingNode)),Ie=computed(()=>ue.value&&V.checkedNodes.some(Ve)),Ve=vn=>{var bn;const{level:Cn,uid:Sn}=t.node;return((bn=vn==null?void 0:vn.pathNodes[Cn-1])==null?void 0:bn.uid)===Sn},Fe=()=>{$e.value||V.expandNode(t.node)},Ue=vn=>{const{node:bn}=t;vn!==bn.checked&&V.handleCheckChange(bn,vn)},qe=()=>{V.lazyLoad(t.node,()=>{he.value||Fe()})},Et=vn=>{ie.value&&(At(),!he.value&&r("expand",vn))},At=()=>{const{node:vn}=t;!_e.value||vn.loading||(vn.loaded?Fe():qe())},Lt=()=>{ie.value&&!he.value||(he.value&&!pe.value&&!ue.value&&!le.value?_n(!0):At())},hn=vn=>{ue.value?(Ue(vn),t.node.loaded&&Fe()):_n(vn)},_n=vn=>{t.node.loaded?(Ue(vn),!ue.value&&Fe()):qe()};return{panel:V,isHoverMenu:ie,multiple:le,checkStrictly:ue,checkedNodeId:de,isDisabled:pe,isLeaf:he,expandable:_e,inExpandingPath:$e,inCheckedPath:Ie,ns:oe,handleHoverExpand:Et,handleExpand:At,handleClick:Lt,handleCheck:_n,handleSelectCheck:hn}}}),_hoisted_1$Q=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$z=createBaseVNode("span",null,null,-1);function _sfc_render$v(t,r,V,oe,ie,le){const ue=resolveComponent("el-checkbox"),de=resolveComponent("el-radio"),pe=resolveComponent("check"),he=resolveComponent("el-icon"),_e=resolveComponent("node-content"),$e=resolveComponent("loading"),Ie=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${t.menuId}-${t.node.uid}`,role:"menuitem","aria-haspopup":!t.isLeaf,"aria-owns":t.isLeaf?null:t.menuId,"aria-expanded":t.inExpandingPath,tabindex:t.expandable?-1:void 0,class:normalizeClass([t.ns.b(),t.ns.is("selectable",t.checkStrictly),t.ns.is("active",t.node.checked),t.ns.is("disabled",!t.expandable),t.inExpandingPath&&"in-active-path",t.inCheckedPath&&"in-checked-path"]),onMouseenter:r[2]||(r[2]=(...Ve)=>t.handleHoverExpand&&t.handleHoverExpand(...Ve)),onFocus:r[3]||(r[3]=(...Ve)=>t.handleHoverExpand&&t.handleHoverExpand(...Ve)),onClick:r[4]||(r[4]=(...Ve)=>t.handleClick&&t.handleClick(...Ve))},[createCommentVNode(" prefix "),t.multiple?(openBlock(),createBlock(ue,{key:0,"model-value":t.node.checked,indeterminate:t.node.indeterminate,disabled:t.isDisabled,onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":t.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):t.checkStrictly?(openBlock(),createBlock(de,{key:1,"model-value":t.checkedNodeId,label:t.node.uid,disabled:t.isDisabled,"onUpdate:modelValue":t.handleSelectCheck,onClick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createCommentVNode(`
|
||
Add an empty element to avoid render label,
|
||
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
|
||
`),_hoisted_2$z]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):t.isLeaf&&t.node.checked?(openBlock(),createBlock(he,{key:2,class:normalizeClass(t.ns.e("prefix"))},{default:withCtx(()=>[createVNode(pe)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(_e),createCommentVNode(" postfix "),t.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[t.node.loading?(openBlock(),createBlock(he,{key:0,class:normalizeClass([t.ns.is("loading"),t.ns.e("postfix")])},{default:withCtx(()=>[createVNode($e)]),_:1},8,["class"])):(openBlock(),createBlock(he,{key:1,class:normalizeClass(["arrow-right",t.ns.e("postfix")])},{default:withCtx(()=>[createVNode(Ie)]),_:1},8,["class"]))],64))],42,_hoisted_1$Q)}var ElCascaderNode=_export_sfc$1(_sfc_main$1I,[["render",_sfc_render$v],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const _sfc_main$1H=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(t){const r=getCurrentInstance(),V=useNamespace("cascader-menu"),{t:oe}=useLocale(),ie=generateId();let le=null,ue=null;const de=inject(CASCADER_PANEL_INJECTION_KEY),pe=ref(null),he=computed(()=>!t.nodes.length),_e=computed(()=>!de.initialLoaded),$e=computed(()=>`cascader-menu-${ie}-${t.index}`),Ie=qe=>{le=qe.target},Ve=qe=>{if(!(!de.isHoverMenu||!le||!pe.value))if(le.contains(qe.target)){Fe();const Et=r.vnode.el,{left:At}=Et.getBoundingClientRect(),{offsetWidth:Lt,offsetHeight:hn}=Et,_n=qe.clientX-At,vn=le.offsetTop,bn=vn+le.offsetHeight;pe.value.innerHTML=`
|
||
<path style="pointer-events: auto;" fill="transparent" d="M${_n} ${vn} L${Lt} 0 V${vn} Z" />
|
||
<path style="pointer-events: auto;" fill="transparent" d="M${_n} ${bn} L${Lt} ${hn} V${bn} Z" />
|
||
`}else ue||(ue=window.setTimeout(Ue,de.config.hoverThreshold))},Fe=()=>{ue&&(clearTimeout(ue),ue=null)},Ue=()=>{pe.value&&(pe.value.innerHTML="",Fe())};return{ns:V,panel:de,hoverZone:pe,isEmpty:he,isLoading:_e,menuId:$e,t:oe,handleExpand:Ie,handleMouseMove:Ve,clearHoverZone:Ue}}});function _sfc_render$u(t,r,V,oe,ie,le){const ue=resolveComponent("el-cascader-node"),de=resolveComponent("loading"),pe=resolveComponent("el-icon"),he=resolveComponent("el-scrollbar");return openBlock(),createBlock(he,{key:t.menuId,tag:"ul",role:"menu",class:normalizeClass(t.ns.b()),"wrap-class":t.ns.e("wrap"),"view-class":[t.ns.e("list"),t.ns.is("empty",t.isEmpty)],onMousemove:t.handleMouseMove,onMouseleave:t.clearHoverZone},{default:withCtx(()=>{var _e;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.nodes,$e=>(openBlock(),createBlock(ue,{key:$e.uid,node:$e,"menu-id":t.menuId,onExpand:t.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),t.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(t.ns.e("empty-text"))},[createVNode(pe,{size:"14",class:normalizeClass(t.ns.is("loading"))},{default:withCtx(()=>[createVNode(de)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString$1(t.t("el.cascader.loading")),1)],2)):t.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(t.ns.e("empty-text"))},toDisplayString$1(t.t("el.cascader.noData")),3)):(_e=t.panel)!=null&&_e.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(t.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$1H,[["render",_sfc_render$u],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);let uid=0;const calculatePathNodes=t=>{const r=[t];let{parent:V}=t;for(;V;)r.unshift(V),V=V.parent;return r};let Node$2=class So{constructor(r,V,oe,ie=!1){this.data=r,this.config=V,this.parent=oe,this.root=ie,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:le,label:ue,children:de}=V,pe=r[de],he=calculatePathNodes(this);this.level=ie?0:oe?oe.level+1:1,this.value=r[le],this.label=r[ue],this.pathNodes=he,this.pathValues=he.map(_e=>_e.value),this.pathLabels=he.map(_e=>_e.label),this.childrenData=pe,this.children=(pe||[]).map(_e=>new So(_e,V,this)),this.loaded=!V.lazy||this.isLeaf||!isEmpty(pe)}get isDisabled(){const{data:r,parent:V,config:oe}=this,{disabled:ie,checkStrictly:le}=oe;return(isFunction$5(ie)?ie(r,this):!!r[ie])||!le&&(V==null?void 0:V.isDisabled)}get isLeaf(){const{data:r,config:V,childrenData:oe,loaded:ie}=this,{lazy:le,leaf:ue}=V,de=isFunction$5(ue)?ue(r,this):r[ue];return isUndefined$1(de)?le&&!ie?!1:!(Array.isArray(oe)&&oe.length):!!de}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(r){const{childrenData:V,children:oe}=this,ie=new So(r,this.config,this);return Array.isArray(V)?V.push(r):this.childrenData=[r],oe.push(ie),ie}calcText(r,V){const oe=r?this.pathLabels.join(V):this.label;return this.text=oe,oe}broadcast(r,...V){const oe=`onParent${capitalize$1(r)}`;this.children.forEach(ie=>{ie&&(ie.broadcast(r,...V),ie[oe]&&ie[oe](...V))})}emit(r,...V){const{parent:oe}=this,ie=`onChild${capitalize$1(r)}`;oe&&(oe[ie]&&oe[ie](...V),oe.emit(r,...V))}onParentCheck(r){this.isDisabled||this.setCheckState(r)}onChildCheck(){const{children:r}=this,V=r.filter(ie=>!ie.isDisabled),oe=V.length?V.every(ie=>ie.checked):!1;this.setCheckState(oe)}setCheckState(r){const V=this.children.length,oe=this.children.reduce((ie,le)=>{const ue=le.checked?1:le.indeterminate?.5:0;return ie+ue},0);this.checked=this.loaded&&this.children.filter(ie=>!ie.isDisabled).every(ie=>ie.loaded&&ie.checked)&&r,this.indeterminate=this.loaded&&oe!==V&&oe>0}doCheck(r){if(this.checked===r)return;const{checkStrictly:V,multiple:oe}=this.config;V||!oe?this.checked=r:(this.broadcast("check",r),this.setCheckState(r),this.emit("check"))}};const flatNodes=(t,r)=>t.reduce((V,oe)=>(oe.isLeaf?V.push(oe):(!r&&V.push(oe),V=V.concat(flatNodes(oe.children,r))),V),[]);class Store{constructor(r,V){this.config=V;const oe=(r||[]).map(ie=>new Node$2(ie,this.config));this.nodes=oe,this.allNodes=flatNodes(oe,!1),this.leafNodes=flatNodes(oe,!0)}getNodes(){return this.nodes}getFlattedNodes(r){return r?this.leafNodes:this.allNodes}appendNode(r,V){const oe=V?V.appendChild(r):new Node$2(r,this.config);V||this.nodes.push(oe),this.allNodes.push(oe),oe.isLeaf&&this.leafNodes.push(oe)}appendNodes(r,V){r.forEach(oe=>this.appendNode(oe,V))}getNodeByValue(r,V=!1){return!r&&r!==0?null:this.getFlattedNodes(V).find(ie=>isEqual$1(ie.value,r)||isEqual$1(ie.pathValues,r))||null}getSameNode(r){return r&&this.getFlattedNodes(!1).find(({value:oe,level:ie})=>isEqual$1(r.value,oe)&&r.level===ie)||null}}const CommonProps=buildProps({modelValue:{type:definePropType([Number,String,Array])},options:{type:definePropType(Array),default:()=>[]},props:{type:definePropType(Object),default:()=>({})}}),DefaultProps={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:NOOP,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},useCascaderConfig=t=>computed(()=>({...DefaultProps,...t.props})),getMenuIndex=t=>{if(!t)return 0;const r=t.id.split("-");return Number(r[r.length-2])},checkNode=t=>{if(!t)return;const r=t.querySelector("input");r?r.click():isLeaf(t)&&t.click()},sortByOriginalOrder=(t,r)=>{const V=r.slice(0),oe=V.map(le=>le.uid),ie=t.reduce((le,ue)=>{const de=oe.indexOf(ue.uid);return de>-1&&(le.push(ue),V.splice(de,1),oe.splice(de,1)),le},[]);return ie.push(...V),ie},_sfc_main$1G=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(t,{emit:r,slots:V}){let oe=!1;const ie=useNamespace("cascader"),le=useCascaderConfig(t);let ue=null;const de=ref(!0),pe=ref([]),he=ref(null),_e=ref([]),$e=ref(null),Ie=ref([]),Ve=computed(()=>le.value.expandTrigger==="hover"),Fe=computed(()=>t.renderLabel||V.default),Ue=()=>{const{options:xn}=t,Pn=le.value;oe=!1,ue=new Store(xn,Pn),_e.value=[ue.getNodes()],Pn.lazy&&isEmpty(t.options)?(de.value=!1,qe(void 0,kn=>{kn&&(ue=new Store(kn,Pn),_e.value=[ue.getNodes()]),de.value=!0,Cn(!1,!0)})):Cn(!1,!0)},qe=(xn,Pn)=>{const kn=le.value;xn=xn||new Node$2({},kn,void 0,!0),xn.loading=!0;const Nn=Dn=>{const Mn=xn,Ln=Mn.root?null:Mn;Dn&&(ue==null||ue.appendNodes(Dn,Ln)),Mn.loading=!1,Mn.loaded=!0,Mn.childrenData=Mn.childrenData||[],Pn&&Pn(Dn)};kn.lazyLoad(xn,Nn)},Et=(xn,Pn)=>{var kn;const{level:Nn}=xn,Dn=_e.value.slice(0,Nn);let Mn;xn.isLeaf?Mn=xn.pathNodes[Nn-2]:(Mn=xn,Dn.push(xn.children)),((kn=$e.value)==null?void 0:kn.uid)!==(Mn==null?void 0:Mn.uid)&&($e.value=xn,_e.value=Dn,!Pn&&r("expand-change",(xn==null?void 0:xn.pathValues)||[]))},At=(xn,Pn,kn=!0)=>{const{checkStrictly:Nn,multiple:Dn}=le.value,Mn=Ie.value[0];oe=!0,!Dn&&(Mn==null||Mn.doCheck(!1)),xn.doCheck(Pn),bn(),kn&&!Dn&&!Nn&&r("close"),!kn&&!Dn&&!Nn&&Lt(xn)},Lt=xn=>{xn&&(xn=xn.parent,Lt(xn),xn&&Et(xn))},hn=xn=>ue==null?void 0:ue.getFlattedNodes(xn),_n=xn=>{var Pn;return(Pn=hn(xn))==null?void 0:Pn.filter(kn=>kn.checked!==!1)},vn=()=>{Ie.value.forEach(xn=>xn.doCheck(!1)),bn(),_e.value=_e.value.slice(0,1),$e.value=null,r("expand-change",[])},bn=()=>{var xn;const{checkStrictly:Pn,multiple:kn}=le.value,Nn=Ie.value,Dn=_n(!Pn),Mn=sortByOriginalOrder(Nn,Dn),Ln=Mn.map(An=>An.valueByOption);Ie.value=Mn,he.value=kn?Ln:(xn=Ln[0])!=null?xn:null},Cn=(xn=!1,Pn=!1)=>{const{modelValue:kn}=t,{lazy:Nn,multiple:Dn,checkStrictly:Mn}=le.value,Ln=!Mn;if(!(!de.value||oe||!Pn&&isEqual$1(kn,he.value)))if(Nn&&!xn){const Vn=unique(flattenDeep(castArray(kn))).map(Wn=>ue==null?void 0:ue.getNodeByValue(Wn)).filter(Wn=>!!Wn&&!Wn.loaded&&!Wn.loading);Vn.length?Vn.forEach(Wn=>{qe(Wn,()=>Cn(!1,Pn))}):Cn(!0,Pn)}else{const An=Dn?castArray(kn):[kn],Vn=unique(An.map(Wn=>ue==null?void 0:ue.getNodeByValue(Wn,Ln)));Sn(Vn,Pn),he.value=cloneDeep(kn)}},Sn=(xn,Pn=!0)=>{const{checkStrictly:kn}=le.value,Nn=Ie.value,Dn=xn.filter(An=>!!An&&(kn||An.isLeaf)),Mn=ue==null?void 0:ue.getSameNode($e.value),Ln=Pn&&Mn||Dn[0];Ln?Ln.pathNodes.forEach(An=>Et(An,!0)):$e.value=null,Nn.forEach(An=>An.doCheck(!1)),t.props.multiple?reactive(Dn).forEach(An=>An.doCheck(!0)):Dn.forEach(An=>An.doCheck(!0)),Ie.value=Dn,nextTick(wn)},wn=()=>{isClient$1&&pe.value.forEach(xn=>{const Pn=xn==null?void 0:xn.$el;if(Pn){const kn=Pn.querySelector(`.${ie.namespace.value}-scrollbar__wrap`),Nn=Pn.querySelector(`.${ie.b("node")}.${ie.is("active")}`)||Pn.querySelector(`.${ie.b("node")}.in-active-path`);scrollIntoView(kn,Nn)}})},En=xn=>{const Pn=xn.target,{code:kn}=xn;switch(kn){case EVENT_CODE.up:case EVENT_CODE.down:{xn.preventDefault();const Nn=kn===EVENT_CODE.up?-1:1;focusNode(getSibling(Pn,Nn,`.${ie.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{xn.preventDefault();const Nn=pe.value[getMenuIndex(Pn)-1],Dn=Nn==null?void 0:Nn.$el.querySelector(`.${ie.b("node")}[aria-expanded="true"]`);focusNode(Dn);break}case EVENT_CODE.right:{xn.preventDefault();const Nn=pe.value[getMenuIndex(Pn)+1],Dn=Nn==null?void 0:Nn.$el.querySelector(`.${ie.b("node")}[tabindex="-1"]`);focusNode(Dn);break}case EVENT_CODE.enter:checkNode(Pn);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:le,expandingNode:$e,checkedNodes:Ie,isHoverMenu:Ve,initialLoaded:de,renderLabelFn:Fe,lazyLoad:qe,expandNode:Et,handleCheckChange:At})),watch([le,()=>t.options],Ue,{deep:!0,immediate:!0}),watch(()=>t.modelValue,()=>{oe=!1,Cn()},{deep:!0}),watch(()=>he.value,xn=>{isEqual$1(xn,t.modelValue)||(r(UPDATE_MODEL_EVENT,xn),r(CHANGE_EVENT,xn))}),onBeforeUpdate(()=>pe.value=[]),onMounted(()=>!isEmpty(t.modelValue)&&Cn()),{ns:ie,menuList:pe,menus:_e,checkedNodes:Ie,handleKeyDown:En,handleCheckChange:At,getFlattedNodes:hn,getCheckedNodes:_n,clearCheckedNodes:vn,calculateCheckedValue:bn,scrollToExpandingNode:wn}}});function _sfc_render$t(t,r,V,oe,ie,le){const ue=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b("panel"),t.ns.is("bordered",t.border)]),onKeydown:r[0]||(r[0]=(...de)=>t.handleKeyDown&&t.handleKeyDown(...de))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.menus,(de,pe)=>(openBlock(),createBlock(ue,{key:pe,ref_for:!0,ref:he=>t.menuList[pe]=he,index:pe,nodes:[...de]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$1(_sfc_main$1G,[["render",_sfc_render$t],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);CascaderPanel.install=t=>{t.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:componentSizes,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:t=>t instanceof MouseEvent,click:t=>t instanceof MouseEvent},__default__$14=defineComponent({name:"ElTag"}),_sfc_main$1F=defineComponent({...__default__$14,props:tagProps,emits:tagEmits,setup(t,{emit:r}){const V=t,oe=useFormSize(),ie=useNamespace("tag"),le=computed(()=>{const{type:pe,hit:he,effect:_e,closable:$e,round:Ie}=V;return[ie.b(),ie.is("closable",$e),ie.m(pe),ie.m(oe.value),ie.m(_e),ie.is("hit",he),ie.is("round",Ie)]}),ue=pe=>{r("close",pe)},de=pe=>{r("click",pe)};return(pe,he)=>pe.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(le)),style:normalizeStyle$1({backgroundColor:pe.color}),onClick:de},[createBaseVNode("span",{class:normalizeClass(unref(ie).e("content"))},[renderSlot(pe.$slots,"default")],2),pe.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("close")),onClick:withModifiers(ue,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(ie).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(le)),style:normalizeStyle$1({backgroundColor:pe.color}),onClick:de},[createBaseVNode("span",{class:normalizeClass(unref(ie).e("content"))},[renderSlot(pe.$slots,"default")],2),pe.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("close")),onClick:withModifiers(ue,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc$1(_sfc_main$1F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(t,r)=>t.text.includes(r)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),cascaderEmits={[UPDATE_MODEL_EVENT]:t=>!!t||t===null,[CHANGE_EVENT]:t=>!!t||t===null,focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,visibleChange:t=>isBoolean$3(t),expandChange:t=>!!t,removeTag:t=>!!t},_hoisted_1$P={key:0},_hoisted_2$y=["placeholder","onKeydown"],_hoisted_3$l=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$13=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1E=defineComponent({...__default__$13,props:cascaderProps,emits:cascaderEmits,setup(t,{expose:r,emit:V}){const oe=t,ie={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:ir})=>{const{modifiersData:ar,placement:$r}=ir;["right","left","bottom","top"].includes($r)||(ar.arrow.x=35)},requires:["arrow"]}]},le=useAttrs$1();let ue=0,de=0;const pe=useNamespace("cascader"),he=useNamespace("input"),{t:_e}=useLocale(),{form:$e,formItem:Ie}=useFormItem(),Ve=ref(null),Fe=ref(null),Ue=ref(null),qe=ref(null),Et=ref(null),At=ref(!1),Lt=ref(!1),hn=ref(!1),_n=ref(!1),vn=ref(""),bn=ref(""),Cn=ref([]),Sn=ref([]),wn=ref([]),En=ref(!1),xn=computed(()=>le.style),Pn=computed(()=>oe.disabled||($e==null?void 0:$e.disabled)),kn=computed(()=>oe.placeholder||_e("el.cascader.placeholder")),Nn=computed(()=>bn.value||Cn.value.length>0||En.value?"":kn.value),Dn=useFormSize(),Mn=computed(()=>["small"].includes(Dn.value)?"small":"default"),Ln=computed(()=>!!oe.props.multiple),An=computed(()=>!oe.filterable||Ln.value),Vn=computed(()=>Ln.value?bn.value:vn.value),Wn=computed(()=>{var ir;return((ir=qe.value)==null?void 0:ir.checkedNodes)||[]}),Fn=computed(()=>!oe.clearable||Pn.value||hn.value||!Lt.value?!1:!!Wn.value.length),Yn=computed(()=>{const{showAllLevels:ir,separator:ar}=oe,$r=Wn.value;return $r.length?Ln.value?"":$r[0].calcText(ir,ar):""}),tr=computed({get(){return cloneDeep(oe.modelValue)},set(ir){V(UPDATE_MODEL_EVENT,ir),V(CHANGE_EVENT,ir),oe.validateEvent&&(Ie==null||Ie.validate("change").catch(ar=>void 0))}}),yr=computed(()=>[pe.b(),pe.m(Dn.value),pe.is("disabled",Pn.value),le.class]),Jn=computed(()=>[he.e("icon"),"icon-arrow-down",pe.is("reverse",At.value)]),Kn=computed(()=>pe.is("focus",At.value||_n.value)),Gn=computed(()=>{var ir,ar;return(ar=(ir=Ve.value)==null?void 0:ir.popperRef)==null?void 0:ar.contentRef}),Qn=ir=>{var ar,$r,Zn;Pn.value||(ir=ir??!At.value,ir!==At.value&&(At.value=ir,($r=(ar=Fe.value)==null?void 0:ar.input)==null||$r.setAttribute("aria-expanded",`${ir}`),ir?(ur(),nextTick((Zn=qe.value)==null?void 0:Zn.scrollToExpandingNode)):oe.filterable&&fr(),V("visibleChange",ir)))},ur=()=>{nextTick(()=>{var ir;(ir=Ve.value)==null||ir.updatePopper()})},cr=()=>{hn.value=!1},Un=ir=>{const{showAllLevels:ar,separator:$r}=oe;return{node:ir,key:ir.uid,text:ir.calcText(ar,$r),hitState:!1,closable:!Pn.value&&!ir.isDisabled,isCollapseTag:!1}},qn=ir=>{var ar;const $r=ir.node;$r.doCheck(!1),(ar=qe.value)==null||ar.calculateCheckedValue(),V("removeTag",$r.valueByOption)},er=()=>{if(!Ln.value)return;const ir=Wn.value,ar=[],$r=[];if(ir.forEach(Zn=>$r.push(Un(Zn))),Sn.value=$r,ir.length){ir.slice(0,oe.maxCollapseTags).forEach(Lr=>ar.push(Un(Lr)));const Zn=ir.slice(oe.maxCollapseTags),Or=Zn.length;Or&&(oe.collapseTags?ar.push({key:-1,text:`+ ${Or}`,closable:!1,isCollapseTag:!0}):Zn.forEach(Lr=>ar.push(Un(Lr))))}Cn.value=ar},pr=()=>{var ir,ar;const{filterMethod:$r,showAllLevels:Zn,separator:Or}=oe,Lr=(ar=(ir=qe.value)==null?void 0:ir.getFlattedNodes(!oe.props.checkStrictly))==null?void 0:ar.filter(Ur=>Ur.isDisabled?!1:(Ur.calcText(Zn,Or),$r(Ur,Vn.value)));Ln.value&&(Cn.value.forEach(Ur=>{Ur.hitState=!1}),Sn.value.forEach(Ur=>{Ur.hitState=!1})),hn.value=!0,wn.value=Lr,ur()},Er=()=>{var ir;let ar;hn.value&&Et.value?ar=Et.value.$el.querySelector(`.${pe.e("suggestion-item")}`):ar=(ir=qe.value)==null?void 0:ir.$el.querySelector(`.${pe.b("node")}[tabindex="-1"]`),ar&&(ar.focus(),!hn.value&&ar.click())},dr=()=>{var ir,ar;const $r=(ir=Fe.value)==null?void 0:ir.input,Zn=Ue.value,Or=(ar=Et.value)==null?void 0:ar.$el;if(!(!isClient$1||!$r)){if(Or){const Lr=Or.querySelector(`.${pe.e("suggestion-list")}`);Lr.style.minWidth=`${$r.offsetWidth}px`}if(Zn){const{offsetHeight:Lr}=Zn,Ur=Cn.value.length>0?`${Math.max(Lr+6,ue)}px`:`${ue}px`;$r.style.height=Ur,ur()}}},xr=ir=>{var ar;return(ar=qe.value)==null?void 0:ar.getCheckedNodes(ir)},wr=ir=>{ur(),V("expandChange",ir)},Cr=ir=>{var ar;const $r=(ar=ir.target)==null?void 0:ar.value;if(ir.type==="compositionend")En.value=!1,nextTick(()=>Rr($r));else{const Zn=$r[$r.length-1]||"";En.value=!isKorean(Zn)}},gr=ir=>{if(!En.value)switch(ir.code){case EVENT_CODE.enter:Qn();break;case EVENT_CODE.down:Qn(!0),nextTick(Er),ir.preventDefault();break;case EVENT_CODE.esc:At.value===!0&&(ir.preventDefault(),ir.stopPropagation(),Qn(!1));break;case EVENT_CODE.tab:Qn(!1);break}},or=()=>{var ir;(ir=qe.value)==null||ir.clearCheckedNodes(),!At.value&&oe.filterable&&fr(),Qn(!1)},fr=()=>{const{value:ir}=Yn;vn.value=ir,bn.value=ir},kr=ir=>{var ar,$r;const{checked:Zn}=ir;Ln.value?(ar=qe.value)==null||ar.handleCheckChange(ir,!Zn,!1):(!Zn&&(($r=qe.value)==null||$r.handleCheckChange(ir,!0,!1)),Qn(!1))},br=ir=>{const ar=ir.target,{code:$r}=ir;switch($r){case EVENT_CODE.up:case EVENT_CODE.down:{const Zn=$r===EVENT_CODE.up?-1:1;focusNode(getSibling(ar,Zn,`.${pe.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:ar.click();break}},Ar=()=>{const ir=Cn.value,ar=ir[ir.length-1];de=bn.value?0:de+1,!(!ar||!de||oe.collapseTags&&ir.length>1)&&(ar.hitState?qn(ar):ar.hitState=!0)},Dr=ir=>{const ar=ir.target,$r=pe.e("search-input");ar.className===$r&&(_n.value=!0),V("focus",ir)},Br=ir=>{_n.value=!1,V("blur",ir)},zr=debounce(()=>{const{value:ir}=Vn;if(!ir)return;const ar=oe.beforeFilter(ir);isPromise(ar)?ar.then(pr).catch(()=>{}):ar!==!1?pr():cr()},oe.debounce),Rr=(ir,ar)=>{!At.value&&Qn(!0),!(ar!=null&&ar.isComposing)&&(ir?zr():cr())},mr=ir=>Number.parseFloat(useCssVar(he.cssVarName("input-height"),ir).value)-2;return watch(hn,ur),watch([Wn,Pn],er),watch(Cn,()=>{nextTick(()=>dr())}),watch(Dn,async()=>{await nextTick();const ir=Fe.value.input;ue=mr(ir)||ue,dr()}),watch(Yn,fr,{immediate:!0}),onMounted(()=>{const ir=Fe.value.input,ar=mr(ir);ue=ir.offsetHeight||ar,useResizeObserver$1(ir,dr)}),r({getCheckedNodes:xr,cascaderPanelRef:qe,togglePopperVisible:Qn,contentRef:Gn}),(ir,ar)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:Ve,visible:At.value,teleported:ir.teleported,"popper-class":[unref(pe).e("dropdown"),ir.popperClass],"popper-options":ie,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref(pe).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:cr},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(yr)),style:normalizeStyle$1(unref(xn)),onClick:ar[5]||(ar[5]=()=>Qn(unref(An)?void 0:!0)),onKeydown:gr,onMouseenter:ar[6]||(ar[6]=$r=>Lt.value=!0),onMouseleave:ar[7]||(ar[7]=$r=>Lt.value=!1)},[createVNode(unref(ElInput),{ref_key:"input",ref:Fe,modelValue:vn.value,"onUpdate:modelValue":ar[1]||(ar[1]=$r=>vn.value=$r),placeholder:unref(Nn),readonly:unref(An),disabled:unref(Pn),"validate-event":!1,size:unref(Dn),class:normalizeClass(unref(Kn)),tabindex:unref(Ln)&&ir.filterable&&!unref(Pn)?-1:void 0,onCompositionstart:Cr,onCompositionupdate:Cr,onCompositionend:Cr,onFocus:Dr,onBlur:Br,onInput:Rr},{suffix:withCtx(()=>[unref(Fn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(he).e("icon"),"icon-circle-close"]),onClick:withModifiers(or,["stop"])},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(Jn)),onClick:ar[0]||(ar[0]=withModifiers($r=>Qn(),["stop"]))},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(Ln)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:Ue,class:normalizeClass(unref(pe).e("tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Cn.value,$r=>(openBlock(),createBlock(unref(ElTag),{key:$r.key,type:ir.tagType,size:unref(Mn),hit:$r.hitState,closable:$r.closable,"disable-transitions":"",onClose:Zn=>qn($r)},{default:withCtx(()=>[$r.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$P,toDisplayString$1($r.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:At.value||!ir.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1($r.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(pe).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Sn.value.slice(ir.maxCollapseTags),(Zn,Or)=>(openBlock(),createElementBlock("div",{key:Or,class:normalizeClass(unref(pe).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:Zn.key,class:"in-tooltip",type:ir.tagType,size:unref(Mn),hit:Zn.hitState,closable:Zn.closable,"disable-transitions":"",onClose:Lr=>qn(Zn)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(Zn.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),ir.filterable&&!unref(Pn)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":ar[2]||(ar[2]=$r=>bn.value=$r),type:"text",class:normalizeClass(unref(pe).e("search-input")),placeholder:unref(Yn)?"":unref(kn),onInput:ar[3]||(ar[3]=$r=>Rr(bn.value,$r)),onClick:ar[4]||(ar[4]=withModifiers($r=>Qn(!0),["stop"])),onKeydown:withKeys(Ar,["delete"]),onCompositionstart:Cr,onCompositionupdate:Cr,onCompositionend:Cr,onFocus:Dr,onBlur:Br},null,42,_hoisted_2$y)),[[vModelText,bn.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>Qn(!1),unref(Gn)]])]),content:withCtx(()=>[withDirectives(createVNode(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:qe,modelValue:unref(tr),"onUpdate:modelValue":ar[8]||(ar[8]=$r=>isRef(tr)?tr.value=$r:null),options:ir.options,props:oe.props,border:!1,"render-label":ir.$slots.default,onExpandChange:wr,onClose:ar[9]||(ar[9]=$r=>ir.$nextTick(()=>Qn(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!hn.value]]),ir.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:Et,tag:"ul",class:normalizeClass(unref(pe).e("suggestion-panel")),"view-class":unref(pe).e("suggestion-list"),onKeydown:br},{default:withCtx(()=>[wn.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(wn.value,$r=>(openBlock(),createElementBlock("li",{key:$r.uid,class:normalizeClass([unref(pe).e("suggestion-item"),unref(pe).is("checked",$r.checked)]),tabindex:-1,onClick:Zn=>kr($r)},[createBaseVNode("span",null,toDisplayString$1($r.text),1),$r.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$l))),128)):renderSlot(ir.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(pe).e("empty-text"))},toDisplayString$1(unref(_e)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,hn.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc$1(_sfc_main$1E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);Cascader.install=t=>{t.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1}}),checkTagEmits={"update:checked":t=>isBoolean$3(t),[CHANGE_EVENT]:t=>isBoolean$3(t)},__default__$12=defineComponent({name:"ElCheckTag"}),_sfc_main$1D=defineComponent({...__default__$12,props:checkTagProps,emits:checkTagEmits,setup(t,{emit:r}){const V=t,oe=useNamespace("check-tag"),ie=computed(()=>[oe.b(),oe.is("checked",V.checked)]),le=()=>{const ue=!V.checked;r(CHANGE_EVENT,ue),r("update:checked",ue)};return(ue,de)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie)),onClick:le},[renderSlot(ue.$slots,"default")],2))}});var CheckTag=_export_sfc$1(_sfc_main$1D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),rowContextKey=Symbol("rowContextKey"),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign}}),__default__$11=defineComponent({name:"ElRow"}),_sfc_main$1C=defineComponent({...__default__$11,props:rowProps,setup(t){const r=t,V=useNamespace("row"),oe=computed(()=>r.gutter);provide(rowContextKey,{gutter:oe});const ie=computed(()=>{const ue={};return r.gutter&&(ue.marginRight=ue.marginLeft=`-${r.gutter/2}px`),ue}),le=computed(()=>[V.b(),V.is(`justify-${r.justify}`,r.justify!=="start"),V.is(`align-${r.align}`,!!r.align)]);return(ue,de)=>(openBlock(),createBlock(resolveDynamicComponent(ue.tag),{class:normalizeClass(unref(le)),style:normalizeStyle$1(unref(ie))},{default:withCtx(()=>[renderSlot(ue.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$1C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const ElRow=withInstall(Row),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),__default__$10=defineComponent({name:"ElCol"}),_sfc_main$1B=defineComponent({...__default__$10,props:colProps,setup(t){const r=t,{gutter:V}=inject(rowContextKey,{gutter:computed(()=>0)}),oe=useNamespace("col"),ie=computed(()=>{const ue={};return V.value&&(ue.paddingLeft=ue.paddingRight=`${V.value/2}px`),ue}),le=computed(()=>{const ue=[];return["span","offset","pull","push"].forEach(he=>{const _e=r[he];isNumber$4(_e)&&(he==="span"?ue.push(oe.b(`${r[he]}`)):_e>0&&ue.push(oe.b(`${he}-${r[he]}`)))}),["xs","sm","md","lg","xl"].forEach(he=>{isNumber$4(r[he])?ue.push(oe.b(`${he}-${r[he]}`)):isObject$9(r[he])&&Object.entries(r[he]).forEach(([_e,$e])=>{ue.push(_e!=="span"?oe.b(`${he}-${_e}-${$e}`):oe.b(`${he}-${$e}`))})}),V.value&&ue.push(oe.is("guttered")),[oe.b(),ue]});return(ue,de)=>(openBlock(),createBlock(resolveDynamicComponent(ue.tag),{class:normalizeClass(unref(le)),style:normalizeStyle$1(unref(ie))},{default:withCtx(()=>[renderSlot(ue.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$1B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=t=>typeof isNumber$4(t),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(t,r)=>{const V=ref(castArray$1(t.modelValue)),oe=le=>{V.value=le;const ue=t.accordion?V.value[0]:V.value;r(UPDATE_MODEL_EVENT,ue),r(CHANGE_EVENT,ue)},ie=le=>{if(t.accordion)oe([V.value[0]===le?"":le]);else{const ue=[...V.value],de=ue.indexOf(le);de>-1?ue.splice(de,1):ue.push(le),oe(ue)}};return watch(()=>t.modelValue,()=>V.value=castArray$1(t.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:V,handleItemClick:ie}),{activeNames:V,setActiveNames:oe}},useCollapseDOM=()=>{const t=useNamespace("collapse");return{rootKls:computed(()=>t.b())}},__default__$$=defineComponent({name:"ElCollapse"}),_sfc_main$1A=defineComponent({...__default__$$,props:collapseProps,emits:collapseEmits,setup(t,{expose:r,emit:V}){const oe=t,{activeNames:ie,setActiveNames:le}=useCollapse(oe,V),{rootKls:ue}=useCollapseDOM();return r({activeNames:ie,setActiveNames:le}),(de,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue)),role:"tablist","aria-multiselectable":"true"},[renderSlot(de.$slots,"default")],2))}});var Collapse=_export_sfc$1(_sfc_main$1A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const __default__$_=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1z=defineComponent({...__default__$_,setup(t){const r=useNamespace("collapse-transition"),V=ie=>{ie.style.maxHeight="",ie.style.overflow=ie.dataset.oldOverflow,ie.style.paddingTop=ie.dataset.oldPaddingTop,ie.style.paddingBottom=ie.dataset.oldPaddingBottom},oe={beforeEnter(ie){ie.dataset||(ie.dataset={}),ie.dataset.oldPaddingTop=ie.style.paddingTop,ie.dataset.oldPaddingBottom=ie.style.paddingBottom,ie.style.maxHeight=0,ie.style.paddingTop=0,ie.style.paddingBottom=0},enter(ie){ie.dataset.oldOverflow=ie.style.overflow,ie.scrollHeight!==0?ie.style.maxHeight=`${ie.scrollHeight}px`:ie.style.maxHeight=0,ie.style.paddingTop=ie.dataset.oldPaddingTop,ie.style.paddingBottom=ie.dataset.oldPaddingBottom,ie.style.overflow="hidden"},afterEnter(ie){ie.style.maxHeight="",ie.style.overflow=ie.dataset.oldOverflow},enterCancelled(ie){V(ie)},beforeLeave(ie){ie.dataset||(ie.dataset={}),ie.dataset.oldPaddingTop=ie.style.paddingTop,ie.dataset.oldPaddingBottom=ie.style.paddingBottom,ie.dataset.oldOverflow=ie.style.overflow,ie.style.maxHeight=`${ie.scrollHeight}px`,ie.style.overflow="hidden"},leave(ie){ie.scrollHeight!==0&&(ie.style.maxHeight=0,ie.style.paddingTop=0,ie.style.paddingBottom=0)},afterLeave(ie){V(ie)},leaveCancelled(ie){V(ie)}};return(ie,le)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(r).b()},toHandlers(oe)),{default:withCtx(()=>[renderSlot(ie.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$1z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);CollapseTransition.install=t=>{t.component(CollapseTransition.name,CollapseTransition)};const _CollapseTransition=CollapseTransition,ElCollapseTransition=_CollapseTransition,collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:()=>generateId()},disabled:Boolean}),useCollapseItem=t=>{const r=inject(collapseContextKey),V=ref(!1),oe=ref(!1),ie=ref(generateId()),le=computed(()=>r==null?void 0:r.activeNames.value.includes(t.name));return{focusing:V,id:ie,isActive:le,handleFocus:()=>{setTimeout(()=>{oe.value?oe.value=!1:V.value=!0},50)},handleHeaderClick:()=>{t.disabled||(r==null||r.handleItemClick(t.name),V.value=!1,oe.value=!0)},handleEnterClick:()=>{r==null||r.handleItemClick(t.name)}}},useCollapseItemDOM=(t,{focusing:r,isActive:V,id:oe})=>{const ie=useNamespace("collapse"),le=computed(()=>[ie.b("item"),ie.is("active",unref(V)),ie.is("disabled",t.disabled)]),ue=computed(()=>[ie.be("item","header"),ie.is("active",unref(V)),{focusing:unref(r)&&!t.disabled}]),de=computed(()=>[ie.be("item","arrow"),ie.is("active",unref(V))]),pe=computed(()=>ie.be("item","wrap")),he=computed(()=>ie.be("item","content")),_e=computed(()=>ie.b(`content-${unref(oe)}`)),$e=computed(()=>ie.b(`head-${unref(oe)}`));return{arrowKls:de,headKls:ue,rootKls:le,itemWrapperKls:pe,itemContentKls:he,scopedContentId:_e,scopedHeadId:$e}},_hoisted_1$O=["aria-expanded","aria-controls","aria-describedby"],_hoisted_2$x=["id","tabindex"],_hoisted_3$k=["id","aria-hidden","aria-labelledby"],__default__$Z=defineComponent({name:"ElCollapseItem"}),_sfc_main$1y=defineComponent({...__default__$Z,props:collapseItemProps,setup(t,{expose:r}){const V=t,{focusing:oe,id:ie,isActive:le,handleFocus:ue,handleHeaderClick:de,handleEnterClick:pe}=useCollapseItem(V),{arrowKls:he,headKls:_e,rootKls:$e,itemWrapperKls:Ie,itemContentKls:Ve,scopedContentId:Fe,scopedHeadId:Ue}=useCollapseItemDOM(V,{focusing:oe,isActive:le,id:ie});return r({isActive:le}),(qe,Et)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref($e))},[createBaseVNode("div",{role:"tab","aria-expanded":unref(le),"aria-controls":unref(Fe),"aria-describedby":unref(Fe)},[createBaseVNode("div",{id:unref(Ue),class:normalizeClass(unref(_e)),role:"button",tabindex:qe.disabled?-1:0,onClick:Et[0]||(Et[0]=(...At)=>unref(de)&&unref(de)(...At)),onKeypress:Et[1]||(Et[1]=withKeys(withModifiers((...At)=>unref(pe)&&unref(pe)(...At),["stop","prevent"]),["space","enter"])),onFocus:Et[2]||(Et[2]=(...At)=>unref(ue)&&unref(ue)(...At)),onBlur:Et[3]||(Et[3]=At=>oe.value=!1)},[renderSlot(qe.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(qe.title),1)]),createVNode(unref(ElIcon),{class:normalizeClass(unref(he))},{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_2$x)],8,_hoisted_1$O),createVNode(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(Fe),class:normalizeClass(unref(Ie)),role:"tabpanel","aria-hidden":!unref(le),"aria-labelledby":unref(Ue)},[createBaseVNode("div",{class:normalizeClass(unref(Ve))},[renderSlot(qe.$slots,"default")],2)],10,_hoisted_3$k),[[vShow,unref(le)]])]),_:3})],2))}});var CollapseItem=_export_sfc$1(_sfc_main$1y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(t,r){if(!isClient$1)return;const V=function(le){var ue;(ue=r.drag)==null||ue.call(r,le)},oe=function(le){var ue;document.removeEventListener("mousemove",V),document.removeEventListener("mouseup",oe),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",oe),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(ue=r.end)==null||ue.call(r,le)},ie=function(le){var ue;isDragging||(le.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",V),document.addEventListener("mouseup",oe),document.addEventListener("touchmove",V),document.addEventListener("touchend",oe),isDragging=!0,(ue=r.start)==null||ue.call(r,le))};t.addEventListener("mousedown",ie),t.addEventListener("touchstart",ie)}const useAlphaSlider=t=>{const r=getCurrentInstance(),V=shallowRef(),oe=shallowRef();function ie(ue){ue.target!==V.value&&le(ue)}function le(ue){if(!oe.value||!V.value)return;const pe=r.vnode.el.getBoundingClientRect(),{clientX:he,clientY:_e}=getClientXY(ue);if(t.vertical){let $e=_e-pe.top;$e=Math.max(V.value.offsetHeight/2,$e),$e=Math.min($e,pe.height-V.value.offsetHeight/2),t.color.set("alpha",Math.round(($e-V.value.offsetHeight/2)/(pe.height-V.value.offsetHeight)*100))}else{let $e=he-pe.left;$e=Math.max(V.value.offsetWidth/2,$e),$e=Math.min($e,pe.width-V.value.offsetWidth/2),t.color.set("alpha",Math.round(($e-V.value.offsetWidth/2)/(pe.width-V.value.offsetWidth)*100))}}return{thumb:V,bar:oe,handleDrag:le,handleClick:ie}},useAlphaSliderDOM=(t,{bar:r,thumb:V,handleDrag:oe})=>{const ie=getCurrentInstance(),le=useNamespace("color-alpha-slider"),ue=ref(0),de=ref(0),pe=ref();function he(){if(!V.value||t.vertical)return 0;const At=ie.vnode.el,Lt=t.color.get("alpha");return At?Math.round(Lt*(At.offsetWidth-V.value.offsetWidth/2)/100):0}function _e(){if(!V.value)return 0;const At=ie.vnode.el;if(!t.vertical)return 0;const Lt=t.color.get("alpha");return At?Math.round(Lt*(At.offsetHeight-V.value.offsetHeight/2)/100):0}function $e(){if(t.color&&t.color.value){const{r:At,g:Lt,b:hn}=t.color.toRgb();return`linear-gradient(to right, rgba(${At}, ${Lt}, ${hn}, 0) 0%, rgba(${At}, ${Lt}, ${hn}, 1) 100%)`}return""}function Ie(){ue.value=he(),de.value=_e(),pe.value=$e()}onMounted(()=>{if(!r.value||!V.value)return;const At={drag:Lt=>{oe(Lt)},end:Lt=>{oe(Lt)}};draggable(r.value,At),draggable(V.value,At),Ie()}),watch(()=>t.color.get("alpha"),()=>Ie()),watch(()=>t.color.value,()=>Ie());const Ve=computed(()=>[le.b(),le.is("vertical",t.vertical)]),Fe=computed(()=>le.e("bar")),Ue=computed(()=>le.e("thumb")),qe=computed(()=>({background:pe.value})),Et=computed(()=>({left:addUnit(ue.value),top:addUnit(de.value)}));return{rootKls:Ve,barKls:Fe,barStyle:qe,thumbKls:Ue,thumbStyle:Et,update:Ie}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$Y=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1x=defineComponent({...__default__$Y,props:alphaSliderProps,setup(t,{expose:r}){const V=t,{bar:oe,thumb:ie,handleDrag:le,handleClick:ue}=useAlphaSlider(V),{rootKls:de,barKls:pe,barStyle:he,thumbKls:_e,thumbStyle:$e,update:Ie}=useAlphaSliderDOM(V,{bar:oe,thumb:ie,handleDrag:le});return r({update:Ie,bar:oe,thumb:ie}),(Ve,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(de))},[createBaseVNode("div",{ref_key:"bar",ref:oe,class:normalizeClass(unref(pe)),style:normalizeStyle$1(unref(he)),onClick:Fe[0]||(Fe[0]=(...Ue)=>unref(ue)&&unref(ue)(...Ue))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:ie,class:normalizeClass(unref(_e)),style:normalizeStyle$1(unref($e))},null,6)],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$1x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const _sfc_main$1w=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(t){const r=useNamespace("color-hue-slider"),V=getCurrentInstance(),oe=ref(),ie=ref(),le=ref(0),ue=ref(0),de=computed(()=>t.color.get("hue"));watch(()=>de.value,()=>{Ie()});function pe(Ve){Ve.target!==oe.value&&he(Ve)}function he(Ve){if(!ie.value||!oe.value)return;const Ue=V.vnode.el.getBoundingClientRect(),{clientX:qe,clientY:Et}=getClientXY(Ve);let At;if(t.vertical){let Lt=Et-Ue.top;Lt=Math.min(Lt,Ue.height-oe.value.offsetHeight/2),Lt=Math.max(oe.value.offsetHeight/2,Lt),At=Math.round((Lt-oe.value.offsetHeight/2)/(Ue.height-oe.value.offsetHeight)*360)}else{let Lt=qe-Ue.left;Lt=Math.min(Lt,Ue.width-oe.value.offsetWidth/2),Lt=Math.max(oe.value.offsetWidth/2,Lt),At=Math.round((Lt-oe.value.offsetWidth/2)/(Ue.width-oe.value.offsetWidth)*360)}t.color.set("hue",At)}function _e(){if(!oe.value)return 0;const Ve=V.vnode.el;if(t.vertical)return 0;const Fe=t.color.get("hue");return Ve?Math.round(Fe*(Ve.offsetWidth-oe.value.offsetWidth/2)/360):0}function $e(){if(!oe.value)return 0;const Ve=V.vnode.el;if(!t.vertical)return 0;const Fe=t.color.get("hue");return Ve?Math.round(Fe*(Ve.offsetHeight-oe.value.offsetHeight/2)/360):0}function Ie(){le.value=_e(),ue.value=$e()}return onMounted(()=>{if(!ie.value||!oe.value)return;const Ve={drag:Fe=>{he(Fe)},end:Fe=>{he(Fe)}};draggable(ie.value,Ve),draggable(oe.value,Ve),Ie()}),{bar:ie,thumb:oe,thumbLeft:le,thumbTop:ue,hueValue:de,handleClick:pe,update:Ie,ns:r}}});function _sfc_render$s(t,r,V,oe,ie,le){return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b(),t.ns.is("vertical",t.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(t.ns.e("bar")),onClick:r[0]||(r[0]=(...ue)=>t.handleClick&&t.handleClick(...ue))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass(t.ns.e("thumb")),style:normalizeStyle$1({left:t.thumbLeft+"px",top:t.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$1w,[["render",_sfc_render$s],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0}}),colorPickerEmits={[UPDATE_MODEL_EVENT]:t=>isString$6(t)||isNil(t),[CHANGE_EVENT]:t=>isString$6(t)||isNil(t),activeChange:t=>isString$6(t)||isNil(t)},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(t,r,V){return[t,r*V/((t=(2-r)*V)<1?t:2-t)||0,t/2]},isOnePointZero=function(t){return typeof t=="string"&&t.includes(".")&&Number.parseFloat(t)===1},isPercentage=function(t){return typeof t=="string"&&t.includes("%")},bound01=function(t,r){isOnePointZero(t)&&(t="100%");const V=isPercentage(t);return t=Math.min(r,Math.max(0,Number.parseFloat(`${t}`))),V&&(t=Number.parseInt(`${t*r}`,10)/100),Math.abs(t-r)<1e-6?1:t%r/Number.parseFloat(r)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=t=>{t=Math.min(Math.round(t),255);const r=Math.floor(t/16),V=t%16;return`${INT_HEX_MAP[r]||r}${INT_HEX_MAP[V]||V}`},toHex$1=function({r:t,g:r,b:V}){return Number.isNaN(+t)||Number.isNaN(+r)||Number.isNaN(+V)?"":`#${hexOne(t)}${hexOne(r)}${hexOne(V)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(t){return t.length===2?(HEX_INT_MAP[t[0].toUpperCase()]||+t[0])*16+(HEX_INT_MAP[t[1].toUpperCase()]||+t[1]):HEX_INT_MAP[t[1].toUpperCase()]||+t[1]},hsl2hsv=function(t,r,V){r=r/100,V=V/100;let oe=r;const ie=Math.max(V,.01);V*=2,r*=V<=1?V:2-V,oe*=ie<=1?ie:2-ie;const le=(V+r)/2,ue=V===0?2*oe/(ie+oe):2*r/(V+r);return{h:t,s:ue*100,v:le*100}},rgb2hsv=(t,r,V)=>{t=bound01(t,255),r=bound01(r,255),V=bound01(V,255);const oe=Math.max(t,r,V),ie=Math.min(t,r,V);let le;const ue=oe,de=oe-ie,pe=oe===0?0:de/oe;if(oe===ie)le=0;else{switch(oe){case t:{le=(r-V)/de+(r<V?6:0);break}case r:{le=(V-t)/de+2;break}case V:{le=(t-r)/de+4;break}}le/=6}return{h:le*360,s:pe*100,v:ue*100}},hsv2rgb=function(t,r,V){t=bound01(t,360)*6,r=bound01(r,100),V=bound01(V,100);const oe=Math.floor(t),ie=t-oe,le=V*(1-r),ue=V*(1-ie*r),de=V*(1-(1-ie)*r),pe=oe%6,he=[V,ue,le,le,de,V][pe],_e=[de,V,V,ue,le,le][pe],$e=[le,le,de,V,V,ue][pe];return{r:Math.round(he*255),g:Math.round(_e*255),b:Math.round($e*255)}};class Color{constructor(r={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const V in r)hasOwn$4(r,V)&&(this[V]=r[V]);r.value?this.fromString(r.value):this.doOnChange()}set(r,V){if(arguments.length===1&&typeof r=="object"){for(const oe in r)hasOwn$4(r,oe)&&this.set(oe,r[oe]);return}this[`_${r}`]=V,this.doOnChange()}get(r){return r==="alpha"?Math.floor(this[`_${r}`]):this[`_${r}`]}toRgb(){return hsv2rgb(this._hue,this._saturation,this._value)}fromString(r){if(!r){this._hue=0,this._saturation=100,this._value=100,this.doOnChange();return}const V=(oe,ie,le)=>{this._hue=Math.max(0,Math.min(360,oe)),this._saturation=Math.max(0,Math.min(100,ie)),this._value=Math.max(0,Math.min(100,le)),this.doOnChange()};if(r.includes("hsl")){const oe=r.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(ie=>ie!=="").map((ie,le)=>le>2?Number.parseFloat(ie):Number.parseInt(ie,10));if(oe.length===4?this._alpha=Number.parseFloat(oe[3])*100:oe.length===3&&(this._alpha=100),oe.length>=3){const{h:ie,s:le,v:ue}=hsl2hsv(oe[0],oe[1],oe[2]);V(ie,le,ue)}}else if(r.includes("hsv")){const oe=r.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(ie=>ie!=="").map((ie,le)=>le>2?Number.parseFloat(ie):Number.parseInt(ie,10));oe.length===4?this._alpha=Number.parseFloat(oe[3])*100:oe.length===3&&(this._alpha=100),oe.length>=3&&V(oe[0],oe[1],oe[2])}else if(r.includes("rgb")){const oe=r.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(ie=>ie!=="").map((ie,le)=>le>2?Number.parseFloat(ie):Number.parseInt(ie,10));if(oe.length===4?this._alpha=Number.parseFloat(oe[3])*100:oe.length===3&&(this._alpha=100),oe.length>=3){const{h:ie,s:le,v:ue}=rgb2hsv(oe[0],oe[1],oe[2]);V(ie,le,ue)}}else if(r.includes("#")){const oe=r.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(oe))return;let ie,le,ue;oe.length===3?(ie=parseHexChannel(oe[0]+oe[0]),le=parseHexChannel(oe[1]+oe[1]),ue=parseHexChannel(oe[2]+oe[2])):(oe.length===6||oe.length===8)&&(ie=parseHexChannel(oe.slice(0,2)),le=parseHexChannel(oe.slice(2,4)),ue=parseHexChannel(oe.slice(4,6))),oe.length===8?this._alpha=parseHexChannel(oe.slice(6))/255*100:(oe.length===3||oe.length===6)&&(this._alpha=100);const{h:de,s:pe,v:he}=rgb2hsv(ie,le,ue);V(de,pe,he)}}compare(r){return Math.abs(r._hue-this._hue)<2&&Math.abs(r._saturation-this._saturation)<1&&Math.abs(r._value-this._value)<1&&Math.abs(r._alpha-this._alpha)<1}doOnChange(){const{_hue:r,_saturation:V,_value:oe,_alpha:ie,format:le}=this;if(this.enableAlpha)switch(le){case"hsl":{const ue=hsv2hsl(r,V/100,oe/100);this.value=`hsla(${r}, ${Math.round(ue[1]*100)}%, ${Math.round(ue[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${r}, ${Math.round(V)}%, ${Math.round(oe)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex$1(hsv2rgb(r,V,oe))}${hexOne(ie*255/100)}`;break}default:{const{r:ue,g:de,b:pe}=hsv2rgb(r,V,oe);this.value=`rgba(${ue}, ${de}, ${pe}, ${this.get("alpha")/100})`}}else switch(le){case"hsl":{const ue=hsv2hsl(r,V/100,oe/100);this.value=`hsl(${r}, ${Math.round(ue[1]*100)}%, ${Math.round(ue[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${r}, ${Math.round(V)}%, ${Math.round(oe)}%)`;break}case"rgb":{const{r:ue,g:de,b:pe}=hsv2rgb(r,V,oe);this.value=`rgb(${ue}, ${de}, ${pe})`;break}default:this.value=toHex$1(hsv2rgb(r,V,oe))}}}const _sfc_main$1v=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(t){const r=useNamespace("color-predefine"),{currentColor:V}=inject(colorPickerContextKey),oe=ref(le(t.colors,t.color));watch(()=>V.value,ue=>{const de=new Color;de.fromString(ue),oe.value.forEach(pe=>{pe.selected=de.compare(pe)})}),watchEffect(()=>{oe.value=le(t.colors,t.color)});function ie(ue){t.color.fromString(t.colors[ue])}function le(ue,de){return ue.map(pe=>{const he=new Color;return he.enableAlpha=!0,he.format="rgba",he.fromString(pe),he.selected=he.value===de.value,he})}return{rgbaColors:oe,handleSelect:ie,ns:r}}}),_hoisted_1$N=["onClick"];function _sfc_render$r(t,r,V,oe,ie,le){return openBlock(),createElementBlock("div",{class:normalizeClass(t.ns.b())},[createBaseVNode("div",{class:normalizeClass(t.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.rgbaColors,(ue,de)=>(openBlock(),createElementBlock("div",{key:t.colors[de],class:normalizeClass([t.ns.e("color-selector"),t.ns.is("alpha",ue._alpha<100),{selected:ue.selected}]),onClick:pe=>t.handleSelect(de)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:ue.value})},null,4)],10,_hoisted_1$N))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$1v,[["render",_sfc_render$r],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const _sfc_main$1u=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(t){const r=useNamespace("color-svpanel"),V=getCurrentInstance(),oe=ref(0),ie=ref(0),le=ref("hsl(0, 100%, 50%)"),ue=computed(()=>{const he=t.color.get("hue"),_e=t.color.get("value");return{hue:he,value:_e}});function de(){const he=t.color.get("saturation"),_e=t.color.get("value"),$e=V.vnode.el,{clientWidth:Ie,clientHeight:Ve}=$e;ie.value=he*Ie/100,oe.value=(100-_e)*Ve/100,le.value=`hsl(${t.color.get("hue")}, 100%, 50%)`}function pe(he){const $e=V.vnode.el.getBoundingClientRect(),{clientX:Ie,clientY:Ve}=getClientXY(he);let Fe=Ie-$e.left,Ue=Ve-$e.top;Fe=Math.max(0,Fe),Fe=Math.min(Fe,$e.width),Ue=Math.max(0,Ue),Ue=Math.min(Ue,$e.height),ie.value=Fe,oe.value=Ue,t.color.set({saturation:Fe/$e.width*100,value:100-Ue/$e.height*100})}return watch(()=>ue.value,()=>{de()}),onMounted(()=>{draggable(V.vnode.el,{drag:he=>{pe(he)},end:he=>{pe(he)}}),de()}),{cursorTop:oe,cursorLeft:ie,background:le,colorValue:ue,handleDrag:pe,update:de,ns:r}}}),_hoisted_1$M=createBaseVNode("div",null,null,-1),_hoisted_2$w=[_hoisted_1$M];function _sfc_render$q(t,r,V,oe,ie,le){return openBlock(),createElementBlock("div",{class:normalizeClass(t.ns.b()),style:normalizeStyle$1({backgroundColor:t.background})},[createBaseVNode("div",{class:normalizeClass(t.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(t.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(t.ns.e("cursor")),style:normalizeStyle$1({top:t.cursorTop+"px",left:t.cursorLeft+"px"})},_hoisted_2$w,6)],6)}var SvPanel=_export_sfc$1(_sfc_main$1u,[["render",_sfc_render$q],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const _hoisted_1$L=["id","aria-label","aria-labelledby","aria-description","tabindex","onKeydown"],__default__$X=defineComponent({name:"ElColorPicker"}),_sfc_main$1t=defineComponent({...__default__$X,props:colorPickerProps,emits:colorPickerEmits,setup(t,{expose:r,emit:V}){const oe=t,{t:ie}=useLocale(),le=useNamespace("color"),{formItem:ue}=useFormItem(),de=useFormSize(),pe=useFormDisabled(),{inputId:he,isLabeledByFormItem:_e}=useFormItemInputId(oe,{formItemContext:ue}),$e=ref(),Ie=ref(),Ve=ref(),Fe=ref();let Ue=!0;const qe=reactive(new Color({enableAlpha:oe.showAlpha,format:oe.colorFormat||"",value:oe.modelValue})),Et=ref(!1),At=ref(!1),Lt=ref(""),hn=computed(()=>!oe.modelValue&&!At.value?"transparent":Sn(qe,oe.showAlpha)),_n=computed(()=>!oe.modelValue&&!At.value?"":qe.value),vn=computed(()=>_e.value?void 0:oe.label||ie("el.colorpicker.defaultLabel")),bn=computed(()=>_e.value?ue==null?void 0:ue.labelId:void 0),Cn=computed(()=>[le.b("picker"),le.is("disabled",pe.value),le.bm("picker",de.value)]);function Sn(An,Vn){if(!(An instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:Wn,g:Fn,b:Yn}=An.toRgb();return Vn?`rgba(${Wn}, ${Fn}, ${Yn}, ${An.get("alpha")/100})`:`rgb(${Wn}, ${Fn}, ${Yn})`}function wn(An){Et.value=An}const En=debounce(wn,100);function xn(){pe.value||wn(!0)}function Pn(){En(!1),kn()}function kn(){nextTick(()=>{oe.modelValue?qe.fromString(oe.modelValue):(qe.value="",nextTick(()=>{At.value=!1}))})}function Nn(){pe.value||En(!Et.value)}function Dn(){qe.fromString(Lt.value)}function Mn(){const An=qe.value;V(UPDATE_MODEL_EVENT,An),V("change",An),oe.validateEvent&&(ue==null||ue.validate("change").catch(Vn=>void 0)),En(!1),nextTick(()=>{const Vn=new Color({enableAlpha:oe.showAlpha,format:oe.colorFormat||"",value:oe.modelValue});qe.compare(Vn)||kn()})}function Ln(){En(!1),V(UPDATE_MODEL_EVENT,null),V("change",null),oe.modelValue!==null&&oe.validateEvent&&(ue==null||ue.validate("change").catch(An=>void 0)),kn()}return onMounted(()=>{oe.modelValue&&(Lt.value=_n.value)}),watch(()=>oe.modelValue,An=>{An?An&&An!==qe.value&&(Ue=!1,qe.fromString(An)):At.value=!1}),watch(()=>_n.value,An=>{Lt.value=An,Ue&&V("activeChange",An),Ue=!0}),watch(()=>qe.value,()=>{!oe.modelValue&&!At.value&&(At.value=!0)}),watch(()=>Et.value,()=>{nextTick(()=>{var An,Vn,Wn;(An=$e.value)==null||An.update(),(Vn=Ie.value)==null||Vn.update(),(Wn=Ve.value)==null||Wn.update()})}),provide(colorPickerContextKey,{currentColor:_n}),r({color:qe,show:xn,hide:Pn}),(An,Vn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:Fe,visible:Et.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(le).be("picker","panel"),unref(le).b("dropdown"),An.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${unref(le).namespace.value}-zoom-in-top`,persistent:""},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",null,[createBaseVNode("div",{class:normalizeClass(unref(le).be("dropdown","main-wrapper"))},[createVNode(HueSlider,{ref_key:"hue",ref:$e,class:"hue-slider",color:unref(qe),vertical:""},null,8,["color"]),createVNode(SvPanel,{ref_key:"sv",ref:Ie,color:unref(qe)},null,8,["color"])],2),An.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:Ve,color:unref(qe)},null,8,["color"])):createCommentVNode("v-if",!0),An.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref(qe),colors:An.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(le).be("dropdown","value"))},[createVNode(unref(ElInput),{modelValue:Lt.value,"onUpdate:modelValue":Vn[0]||(Vn[0]=Wn=>Lt.value=Wn),"validate-event":!1,size:"small",onKeyup:withKeys(Dn,["enter"]),onBlur:Dn},null,8,["modelValue","onKeyup"])],2),createVNode(unref(ElButton),{class:normalizeClass(unref(le).be("dropdown","link-btn")),text:"",size:"small",onClick:Ln},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(ie)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(le).be("dropdown","btn")),onClick:Mn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(ie)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)])),[[unref(ClickOutside),Pn]])]),default:withCtx(()=>[createBaseVNode("div",{id:unref(he),class:normalizeClass(unref(Cn)),role:"button","aria-label":unref(vn),"aria-labelledby":unref(bn),"aria-description":unref(ie)("el.colorpicker.description",{color:An.modelValue||""}),tabindex:An.tabindex,onKeydown:withKeys(Nn,["enter"])},[unref(pe)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).be("picker","trigger")),onClick:Nn},[createBaseVNode("span",{class:normalizeClass([unref(le).be("picker","color"),unref(le).is("alpha",An.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(le).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(hn)})},[withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(le).be("picker","icon"),unref(le).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,An.modelValue||At.value]]),!An.modelValue&&!At.value?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(le).be("picker","empty"),unref(le).is("icon-close")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)],2)],2)],42,_hoisted_1$L)]),_:1},8,["visible","popper-class","transition"]))}});var ColorPicker=_export_sfc$1(_sfc_main$1t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),__default__$W=defineComponent({name:"ElContainer"}),_sfc_main$1s=defineComponent({...__default__$W,props:{direction:{type:String}},setup(t){const r=t,V=useSlots(),oe=useNamespace("container"),ie=computed(()=>r.direction==="vertical"?!0:r.direction==="horizontal"?!1:V&&V.default?V.default().some(ue=>{const de=ue.type.name;return de==="ElHeader"||de==="ElFooter"}):!1);return(le,ue)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(oe).b(),unref(oe).is("vertical",unref(ie))])},[renderSlot(le.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$1s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const __default__$V=defineComponent({name:"ElAside"}),_sfc_main$1r=defineComponent({...__default__$V,props:{width:{type:String,default:null}},setup(t){const r=t,V=useNamespace("aside"),oe=computed(()=>r.width?V.cssVarBlock({width:r.width}):{});return(ie,le)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(V).b()),style:normalizeStyle$1(unref(oe))},[renderSlot(ie.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$1r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const __default__$U=defineComponent({name:"ElFooter"}),_sfc_main$1q=defineComponent({...__default__$U,props:{height:{type:String,default:null}},setup(t){const r=t,V=useNamespace("footer"),oe=computed(()=>r.height?V.cssVarBlock({height:r.height}):{});return(ie,le)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(V).b()),style:normalizeStyle$1(unref(oe))},[renderSlot(ie.$slots,"default")],6))}});var Footer$2=_export_sfc$1(_sfc_main$1q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const __default__$T=defineComponent({name:"ElHeader"}),_sfc_main$1p=defineComponent({...__default__$T,props:{height:{type:String,default:null}},setup(t){const r=t,V=useNamespace("header"),oe=computed(()=>r.height?V.cssVarBlock({height:r.height}):{});return(ie,le)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(V).b()),style:normalizeStyle$1(unref(oe))},[renderSlot(ie.$slots,"default")],6))}});var Header=_export_sfc$1(_sfc_main$1p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const __default__$S=defineComponent({name:"ElMain"}),_sfc_main$1o=defineComponent({...__default__$S,setup(t){const r=useNamespace("main");return(V,oe)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(r).b())},[renderSlot(V.$slots,"default")],2))}});var Main=_export_sfc$1(_sfc_main$1o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer:Footer$2,Header,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$2),ElHeader=withNoopInstall(Header),ElMain=withNoopInstall(Main);var advancedFormat$1={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){return function(V,oe){var ie=oe.prototype,le=ie.format;ie.format=function(ue){var de=this,pe=this.$locale();if(!this.isValid())return le.bind(this)(ue);var he=this.$utils(),_e=(ue||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function($e){switch($e){case"Q":return Math.ceil((de.$M+1)/3);case"Do":return pe.ordinal(de.$D);case"gggg":return de.weekYear();case"GGGG":return de.isoWeekYear();case"wo":return pe.ordinal(de.week(),"W");case"w":case"ww":return he.s(de.week(),$e==="w"?1:2,"0");case"W":case"WW":return he.s(de.isoWeek(),$e==="W"?1:2,"0");case"k":case"kk":return he.s(String(de.$H===0?24:de.$H),$e==="k"?1:2,"0");case"X":return Math.floor(de.$d.getTime()/1e3);case"x":return de.$d.getTime();case"z":return"["+de.offsetName()+"]";case"zzz":return"["+de.offsetName("long")+"]";default:return $e}});return le.bind(this)(_e)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){var V="week",oe="year";return function(ie,le,ue){var de=le.prototype;de.week=function(pe){if(pe===void 0&&(pe=null),pe!==null)return this.add(7*(pe-this.week()),"day");var he=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var _e=ue(this).startOf(oe).add(1,oe).date(he),$e=ue(this).endOf(V);if(_e.isBefore($e))return 1}var Ie=ue(this).startOf(oe).date(he).startOf(V).subtract(1,"millisecond"),Ve=this.diff(Ie,V,!0);return Ve<0?ue(this).startOf("week").week():Math.ceil(Ve)},de.weeks=function(pe){return pe===void 0&&(pe=null),this.week(pe)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){return function(V,oe){oe.prototype.weekYear=function(){var ie=this.month(),le=this.week(),ue=this.year();return le===1&&ie===11?ue+1:ie===0&&le>=52?ue-1:ue}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){return function(V,oe,ie){oe.prototype.dayOfYear=function(le){var ue=Math.round((ie(this).startOf("day")-ie(this).startOf("year"))/864e5)+1;return le==null?ue:this.add(le-ue,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){return function(V,oe){oe.prototype.isSameOrAfter=function(ie,le){return this.isSame(ie,le)||this.isAfter(ie,le)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){return function(V,oe){oe.prototype.isSameOrBefore=function(ie,le){return this.isSame(ie,le)||this.isBefore(ie,le)}}})})(isSameOrBefore$1);var isSameOrBeforeExports=isSameOrBefore$1.exports;const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({...timePickerDefaultProps,type:{type:definePropType(String),default:"date"}}),selectionModes=["date","dates","year","month","week","range"],datePickerSharedProps=buildProps({disabledDate:{type:definePropType(Function)},date:{type:definePropType(Object),required:!0},minDate:{type:definePropType(Object)},maxDate:{type:definePropType(Object)},parsedValue:{type:definePropType([Object,Array])},rangeState:{type:definePropType(Object),default:()=>({endDate:null,selecting:!1})}}),panelSharedProps=buildProps({type:{type:definePropType(String),required:!0,values:datePickTypes}}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=t=>({type:String,values:selectionModes,default:t}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),basicDateTableProps=buildProps({...datePickerSharedProps,cellClassName:{type:definePropType(Function)},showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),isValidRange=t=>{if(!isArray$c(t))return!1;const[r,V]=t;return dayjs.isDayjs(r)&&dayjs.isDayjs(V)&&r.isSameOrBefore(V)},getDefaultValue=(t,{lang:r,unit:V,unlinkPanels:oe})=>{let ie;if(isArray$c(t)){let[le,ue]=t.map(de=>dayjs(de).locale(r));return oe||(ue=le.add(1,V)),[le,ue]}else t?ie=dayjs(t):ie=dayjs();return ie=ie.locale(r),[ie,ie.add(1,V)]},buildPickerTable=(t,r,{columnIndexOffset:V,startDate:oe,nextEndDate:ie,now:le,unit:ue,relativeDateGetter:de,setCellMetadata:pe,setRowMetadata:he})=>{for(let _e=0;_e<t.row;_e++){const $e=r[_e];for(let Ie=0;Ie<t.column;Ie++){let Ve=$e[Ie+V];Ve||(Ve={row:_e,column:Ie,type:"normal",inRange:!1,start:!1,end:!1});const Fe=_e*t.column+Ie,Ue=de(Fe);Ve.dayjs=Ue,Ve.date=Ue.toDate(),Ve.timestamp=Ue.valueOf(),Ve.type="normal",Ve.inRange=!!(oe&&Ue.isSameOrAfter(oe,ue)&&ie&&Ue.isSameOrBefore(ie,ue))||!!(oe&&Ue.isSameOrBefore(oe,ue)&&ie&&Ue.isSameOrAfter(ie,ue)),oe!=null&&oe.isSameOrAfter(ie)?(Ve.start=!!ie&&Ue.isSame(ie,ue),Ve.end=oe&&Ue.isSame(oe,ue)):(Ve.start=!!oe&&Ue.isSame(oe,ue),Ve.end=!!ie&&Ue.isSame(ie,ue)),Ue.isSame(le,ue)&&(Ve.type="today"),pe==null||pe(Ve,{rowIndex:_e,columnIndex:Ie}),$e[Ie+V]=Ve}he==null||he($e)}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(t){const r=useNamespace("date-table-cell"),{slots:V}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:oe}=t;if(V.default){const ie=V.default(oe).filter(le=>le.patchFlag!==-2&&le.type.toString()!=="Symbol(Comment)");if(ie.length)return ie}return createVNode("div",{class:r.b()},[createVNode("span",{class:r.e("text")},[oe==null?void 0:oe.text])])}}});const _hoisted_1$K=["aria-label","onMousedown"],_hoisted_2$v={key:0,scope:"col"},_hoisted_3$j=["aria-label"],_hoisted_4$c=["aria-current","aria-selected","tabindex"],_sfc_main$1n=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:["changerange","pick","select"],setup(t,{expose:r,emit:V}){const oe=t,ie=useNamespace("date-table"),{t:le,lang:ue}=useLocale(),de=ref(),pe=ref(),he=ref(),_e=ref(),$e=ref([[],[],[],[],[],[]]);let Ie=!1;const Ve=oe.date.$locale().weekStart||7,Fe=oe.date.locale("en").localeData().weekdaysShort().map(Fn=>Fn.toLowerCase()),Ue=computed(()=>Ve>3?7-Ve:-Ve),qe=computed(()=>{const Fn=oe.date.startOf("month");return Fn.subtract(Fn.day()||7,"day")}),Et=computed(()=>Fe.concat(Fe).slice(Ve,Ve+7)),At=computed(()=>flatten(Cn.value).some(Fn=>Fn.isCurrent)),Lt=computed(()=>{const Fn=oe.date.startOf("month"),Yn=Fn.day()||7,tr=Fn.daysInMonth(),yr=Fn.subtract(1,"month").daysInMonth();return{startOfMonthDay:Yn,dateCountOfMonth:tr,dateCountOfLastMonth:yr}}),hn=computed(()=>oe.selectionMode==="dates"?castArray(oe.parsedValue):[]),_n=(Fn,{count:Yn,rowIndex:tr,columnIndex:yr})=>{const{startOfMonthDay:Jn,dateCountOfMonth:Kn,dateCountOfLastMonth:Gn}=unref(Lt),Qn=unref(Ue);if(tr>=0&&tr<=1){const ur=Jn+Qn<0?7+Jn+Qn:Jn+Qn;if(yr+tr*7>=ur)return Fn.text=Yn,!0;Fn.text=Gn-(ur-yr%7)+1+tr*7,Fn.type="prev-month"}else return Yn<=Kn?Fn.text=Yn:(Fn.text=Yn-Kn,Fn.type="next-month"),!0;return!1},vn=(Fn,{columnIndex:Yn,rowIndex:tr},yr)=>{const{disabledDate:Jn,cellClassName:Kn}=oe,Gn=unref(hn),Qn=_n(Fn,{count:yr,rowIndex:tr,columnIndex:Yn}),ur=Fn.dayjs.toDate();return Fn.selected=Gn.find(cr=>cr.valueOf()===Fn.dayjs.valueOf()),Fn.isSelected=!!Fn.selected,Fn.isCurrent=En(Fn),Fn.disabled=Jn==null?void 0:Jn(ur),Fn.customClass=Kn==null?void 0:Kn(ur),Qn},bn=Fn=>{if(oe.selectionMode==="week"){const[Yn,tr]=oe.showWeekNumber?[1,7]:[0,6],yr=Wn(Fn[Yn+1]);Fn[Yn].inRange=yr,Fn[Yn].start=yr,Fn[tr].inRange=yr,Fn[tr].end=yr}},Cn=computed(()=>{const{minDate:Fn,maxDate:Yn,rangeState:tr,showWeekNumber:yr}=oe,Jn=Ue.value,Kn=$e.value,Gn="day";let Qn=1;if(yr)for(let ur=0;ur<6;ur++)Kn[ur][0]||(Kn[ur][0]={type:"week",text:qe.value.add(ur*7+1,Gn).week()});return buildPickerTable({row:6,column:7},Kn,{startDate:Fn,columnIndexOffset:yr?1:0,nextEndDate:tr.endDate||Yn||tr.selecting&&Fn||null,now:dayjs().locale(unref(ue)).startOf(Gn),unit:Gn,relativeDateGetter:ur=>qe.value.add(ur-Jn,Gn),setCellMetadata:(...ur)=>{vn(...ur,Qn)&&(Qn+=1)},setRowMetadata:bn}),Kn});watch(()=>oe.date,async()=>{var Fn,Yn;(Fn=de.value)!=null&&Fn.contains(document.activeElement)&&(await nextTick(),(Yn=pe.value)==null||Yn.focus())});const Sn=async()=>{var Fn;(Fn=pe.value)==null||Fn.focus()},wn=(Fn="")=>["normal","today"].includes(Fn),En=Fn=>oe.selectionMode==="date"&&wn(Fn.type)&&xn(Fn,oe.parsedValue),xn=(Fn,Yn)=>Yn?dayjs(Yn).locale(ue.value).isSame(oe.date.date(Number(Fn.text)),"day"):!1,Pn=Fn=>{const Yn=[];return wn(Fn.type)&&!Fn.disabled?(Yn.push("available"),Fn.type==="today"&&Yn.push("today")):Yn.push(Fn.type),En(Fn)&&Yn.push("current"),Fn.inRange&&(wn(Fn.type)||oe.selectionMode==="week")&&(Yn.push("in-range"),Fn.start&&Yn.push("start-date"),Fn.end&&Yn.push("end-date")),Fn.disabled&&Yn.push("disabled"),Fn.selected&&Yn.push("selected"),Fn.customClass&&Yn.push(Fn.customClass),Yn.join(" ")},kn=(Fn,Yn)=>{const tr=Fn*7+(Yn-(oe.showWeekNumber?1:0))-Ue.value;return qe.value.add(tr,"day")},Nn=Fn=>{var Yn;if(!oe.rangeState.selecting)return;let tr=Fn.target;if(tr.tagName==="SPAN"&&(tr=(Yn=tr.parentNode)==null?void 0:Yn.parentNode),tr.tagName==="DIV"&&(tr=tr.parentNode),tr.tagName!=="TD")return;const yr=tr.parentNode.rowIndex-1,Jn=tr.cellIndex;Cn.value[yr][Jn].disabled||(yr!==he.value||Jn!==_e.value)&&(he.value=yr,_e.value=Jn,V("changerange",{selecting:!0,endDate:kn(yr,Jn)}))},Dn=Fn=>!At.value&&(Fn==null?void 0:Fn.text)===1&&Fn.type==="normal"||Fn.isCurrent,Mn=Fn=>{Ie||At.value||oe.selectionMode!=="date"||Vn(Fn,!0)},Ln=Fn=>{Fn.target.closest("td")&&(Ie=!0)},An=Fn=>{Fn.target.closest("td")&&(Ie=!1)},Vn=(Fn,Yn=!1)=>{const tr=Fn.target.closest("td");if(!tr)return;const yr=tr.parentNode.rowIndex-1,Jn=tr.cellIndex,Kn=Cn.value[yr][Jn];if(Kn.disabled||Kn.type==="week")return;const Gn=kn(yr,Jn);if(oe.selectionMode==="range")!oe.rangeState.selecting||!oe.minDate?(V("pick",{minDate:Gn,maxDate:null}),V("select",!0)):(Gn>=oe.minDate?V("pick",{minDate:oe.minDate,maxDate:Gn}):V("pick",{minDate:Gn,maxDate:oe.minDate}),V("select",!1));else if(oe.selectionMode==="date")V("pick",Gn,Yn);else if(oe.selectionMode==="week"){const Qn=Gn.week(),ur=`${Gn.year()}w${Qn}`;V("pick",{year:Gn.year(),week:Qn,value:ur,date:Gn.startOf("week")})}else if(oe.selectionMode==="dates"){const Qn=Kn.selected?castArray(oe.parsedValue).filter(ur=>(ur==null?void 0:ur.valueOf())!==Gn.valueOf()):castArray(oe.parsedValue).concat([Gn]);V("pick",Qn)}},Wn=Fn=>{if(oe.selectionMode!=="week")return!1;let Yn=oe.date.startOf("day");if(Fn.type==="prev-month"&&(Yn=Yn.subtract(1,"month")),Fn.type==="next-month"&&(Yn=Yn.add(1,"month")),Yn=Yn.date(Number.parseInt(Fn.text,10)),oe.parsedValue&&!Array.isArray(oe.parsedValue)){const tr=(oe.parsedValue.day()-Ve+7)%7-1;return oe.parsedValue.subtract(tr,"day").isSame(Yn,"day")}return!1};return r({focus:Sn}),(Fn,Yn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(le)("el.datepicker.dateTablePrompt"),cellspacing:"0",cellpadding:"0",class:normalizeClass([unref(ie).b(),{"is-week-mode":Fn.selectionMode==="week"}]),onClick:Vn,onMousemove:Nn,onMousedown:withModifiers(Ln,["prevent"]),onMouseup:An},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:de},[createBaseVNode("tr",null,[Fn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$v,toDisplayString$1(unref(le)("el.datepicker.week")),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Et),(tr,yr)=>(openBlock(),createElementBlock("th",{key:yr,scope:"col","aria-label":unref(le)("el.datepicker.weeksFull."+tr)},toDisplayString$1(unref(le)("el.datepicker.weeks."+tr)),9,_hoisted_3$j))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Cn),(tr,yr)=>(openBlock(),createElementBlock("tr",{key:yr,class:normalizeClass([unref(ie).e("row"),{current:Wn(tr[1])}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(tr,(Jn,Kn)=>(openBlock(),createElementBlock("td",{key:`${yr}.${Kn}`,ref_for:!0,ref:Gn=>Dn(Jn)&&(pe.value=Gn),class:normalizeClass(Pn(Jn)),"aria-current":Jn.isCurrent?"date":void 0,"aria-selected":Jn.isCurrent,tabindex:Dn(Jn)?0:-1,onFocus:Mn},[createVNode(unref(ElDatePickerCell),{cell:Jn},null,8,["cell"])],42,_hoisted_4$c))),128))],2))),128))],512)],42,_hoisted_1$K))}});var DateTable=_export_sfc$1(_sfc_main$1n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$J=["aria-label"],_hoisted_2$u=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$i={class:"cell"},_sfc_main$1m=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(t,{expose:r,emit:V}){const oe=t,ie=(hn,_n,vn)=>{const bn=dayjs().locale(vn).startOf("month").month(_n).year(hn),Cn=bn.daysInMonth();return rangeArr(Cn).map(Sn=>bn.add(Sn,"day").toDate())},le=useNamespace("month-table"),{t:ue,lang:de}=useLocale(),pe=ref(),he=ref(),_e=ref(oe.date.locale("en").localeData().monthsShort().map(hn=>hn.toLowerCase())),$e=ref([[],[],[]]),Ie=ref(),Ve=ref(),Fe=computed(()=>{var hn,_n;const vn=$e.value,bn=dayjs().locale(de.value).startOf("month");for(let Cn=0;Cn<3;Cn++){const Sn=vn[Cn];for(let wn=0;wn<4;wn++){const En=Sn[wn]||(Sn[wn]={row:Cn,column:wn,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});En.type="normal";const xn=Cn*4+wn,Pn=oe.date.startOf("year").month(xn),kn=oe.rangeState.endDate||oe.maxDate||oe.rangeState.selecting&&oe.minDate||null;En.inRange=!!(oe.minDate&&Pn.isSameOrAfter(oe.minDate,"month")&&kn&&Pn.isSameOrBefore(kn,"month"))||!!(oe.minDate&&Pn.isSameOrBefore(oe.minDate,"month")&&kn&&Pn.isSameOrAfter(kn,"month")),(hn=oe.minDate)!=null&&hn.isSameOrAfter(kn)?(En.start=!!(kn&&Pn.isSame(kn,"month")),En.end=oe.minDate&&Pn.isSame(oe.minDate,"month")):(En.start=!!(oe.minDate&&Pn.isSame(oe.minDate,"month")),En.end=!!(kn&&Pn.isSame(kn,"month"))),bn.isSame(Pn)&&(En.type="today"),En.text=xn,En.disabled=((_n=oe.disabledDate)==null?void 0:_n.call(oe,Pn.toDate()))||!1}}return vn}),Ue=()=>{var hn;(hn=he.value)==null||hn.focus()},qe=hn=>{const _n={},vn=oe.date.year(),bn=new Date,Cn=hn.text;return _n.disabled=oe.disabledDate?ie(vn,Cn,de.value).every(oe.disabledDate):!1,_n.current=castArray(oe.parsedValue).findIndex(Sn=>dayjs.isDayjs(Sn)&&Sn.year()===vn&&Sn.month()===Cn)>=0,_n.today=bn.getFullYear()===vn&&bn.getMonth()===Cn,hn.inRange&&(_n["in-range"]=!0,hn.start&&(_n["start-date"]=!0),hn.end&&(_n["end-date"]=!0)),_n},Et=hn=>{const _n=oe.date.year(),vn=hn.text;return castArray(oe.date).findIndex(bn=>bn.year()===_n&&bn.month()===vn)>=0},At=hn=>{var _n;if(!oe.rangeState.selecting)return;let vn=hn.target;if(vn.tagName==="A"&&(vn=(_n=vn.parentNode)==null?void 0:_n.parentNode),vn.tagName==="DIV"&&(vn=vn.parentNode),vn.tagName!=="TD")return;const bn=vn.parentNode.rowIndex,Cn=vn.cellIndex;Fe.value[bn][Cn].disabled||(bn!==Ie.value||Cn!==Ve.value)&&(Ie.value=bn,Ve.value=Cn,V("changerange",{selecting:!0,endDate:oe.date.startOf("year").month(bn*4+Cn)}))},Lt=hn=>{var _n;const vn=(_n=hn.target)==null?void 0:_n.closest("td");if((vn==null?void 0:vn.tagName)!=="TD"||hasClass(vn,"disabled"))return;const bn=vn.cellIndex,Sn=vn.parentNode.rowIndex*4+bn,wn=oe.date.startOf("year").month(Sn);oe.selectionMode==="range"?oe.rangeState.selecting?(oe.minDate&&wn>=oe.minDate?V("pick",{minDate:oe.minDate,maxDate:wn}):V("pick",{minDate:wn,maxDate:oe.minDate}),V("select",!1)):(V("pick",{minDate:wn,maxDate:null}),V("select",!0)):V("pick",Sn)};return watch(()=>oe.date,async()=>{var hn,_n;(hn=pe.value)!=null&&hn.contains(document.activeElement)&&(await nextTick(),(_n=he.value)==null||_n.focus())}),r({focus:Ue}),(hn,_n)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(ue)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(le).b()),onClick:Lt,onMousemove:At},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:pe},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Fe),(vn,bn)=>(openBlock(),createElementBlock("tr",{key:bn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(vn,(Cn,Sn)=>(openBlock(),createElementBlock("td",{key:Sn,ref_for:!0,ref:wn=>Et(Cn)&&(he.value=wn),class:normalizeClass(qe(Cn)),"aria-selected":`${Et(Cn)}`,"aria-label":unref(ue)(`el.datepicker.month${+Cn.text+1}`),tabindex:Et(Cn)?0:-1,onKeydown:[withKeys(withModifiers(Lt,["prevent","stop"]),["space"]),withKeys(withModifiers(Lt,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$i,toDisplayString$1(unref(ue)("el.datepicker.months."+_e.value[Cn.text])),1)])],42,_hoisted_2$u))),128))]))),128))],512)],42,_hoisted_1$J))}});var MonthTable=_export_sfc$1(_sfc_main$1m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const{date,disabledDate,parsedValue}=datePickerSharedProps,basicYearTableProps=buildProps({date,disabledDate,parsedValue}),_hoisted_1$I=["aria-label"],_hoisted_2$t=["aria-selected","tabindex","onKeydown"],_hoisted_3$h={class:"cell"},_hoisted_4$b={key:1},_sfc_main$1l=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(t,{expose:r,emit:V}){const oe=t,ie=(Ue,qe)=>{const Et=dayjs(String(Ue)).locale(qe).startOf("year"),Lt=Et.endOf("year").dayOfYear();return rangeArr(Lt).map(hn=>Et.add(hn,"day").toDate())},le=useNamespace("year-table"),{t:ue,lang:de}=useLocale(),pe=ref(),he=ref(),_e=computed(()=>Math.floor(oe.date.year()/10)*10),$e=()=>{var Ue;(Ue=he.value)==null||Ue.focus()},Ie=Ue=>{const qe={},Et=dayjs().locale(de.value);return qe.disabled=oe.disabledDate?ie(Ue,de.value).every(oe.disabledDate):!1,qe.current=castArray(oe.parsedValue).findIndex(At=>At.year()===Ue)>=0,qe.today=Et.year()===Ue,qe},Ve=Ue=>Ue===_e.value&&oe.date.year()<_e.value&&oe.date.year()>_e.value+9||castArray(oe.date).findIndex(qe=>qe.year()===Ue)>=0,Fe=Ue=>{const Et=Ue.target.closest("td");if(Et&&Et.textContent){if(hasClass(Et,"disabled"))return;const At=Et.textContent||Et.innerText;V("pick",Number(At))}};return watch(()=>oe.date,async()=>{var Ue,qe;(Ue=pe.value)!=null&&Ue.contains(document.activeElement)&&(await nextTick(),(qe=he.value)==null||qe.focus())}),r({focus:$e}),(Ue,qe)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(ue)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(le).b()),onClick:Fe},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:pe},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(Et,At)=>createBaseVNode("tr",{key:At},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(Lt,hn)=>(openBlock(),createElementBlock(Fragment,{key:At+"_"+hn},[At*4+hn<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:_n=>Ve(unref(_e)+At*4+hn)&&(he.value=_n),class:normalizeClass(["available",Ie(unref(_e)+At*4+hn)]),"aria-selected":`${Ve(unref(_e)+At*4+hn)}`,tabindex:Ve(unref(_e)+At*4+hn)?0:-1,onKeydown:[withKeys(withModifiers(Fe,["prevent","stop"]),["space"]),withKeys(withModifiers(Fe,["prevent","stop"]),["enter"])]},[createBaseVNode("span",_hoisted_3$h,toDisplayString$1(unref(_e)+At*4+hn),1)],42,_hoisted_2$t)):(openBlock(),createElementBlock("td",_hoisted_4$b))],64))),64))])),64))],512)],10,_hoisted_1$I))}});var YearTable=_export_sfc$1(_sfc_main$1l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const _hoisted_1$H=["onClick"],_hoisted_2$s=["aria-label"],_hoisted_3$g=["aria-label"],_hoisted_4$a=["aria-label"],_hoisted_5$7=["aria-label"],_sfc_main$1k=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(t,{emit:r}){const V=t,oe=(mr,ir,ar)=>!0,ie=useNamespace("picker-panel"),le=useNamespace("date-picker"),ue=useAttrs$1(),de=useSlots(),{t:pe,lang:he}=useLocale(),_e=inject("EP_PICKER_BASE"),$e=inject(TOOLTIP_INJECTION_KEY),{shortcuts:Ie,disabledDate:Ve,cellClassName:Fe,defaultTime:Ue}=_e.props,qe=toRef(_e.props,"defaultValue"),Et=ref(),At=ref(dayjs().locale(he.value)),Lt=ref(!1);let hn=!1;const _n=computed(()=>dayjs(Ue).locale(he.value)),vn=computed(()=>At.value.month()),bn=computed(()=>At.value.year()),Cn=ref([]),Sn=ref(null),wn=ref(null),En=mr=>Cn.value.length>0?oe(mr,Cn.value,V.format||"HH:mm:ss"):!0,xn=mr=>Ue&&!er.value&&!Lt.value&&!hn?_n.value.year(mr.year()).month(mr.month()).date(mr.date()):Jn.value?mr.millisecond(0):mr.startOf("day"),Pn=(mr,...ir)=>{if(!mr)r("pick",mr,...ir);else if(isArray$c(mr)){const ar=mr.map(xn);r("pick",ar,...ir)}else r("pick",xn(mr),...ir);Sn.value=null,wn.value=null,Lt.value=!1,hn=!1},kn=(mr,ir)=>{if(Vn.value==="date"){mr=mr;let ar=V.parsedValue?V.parsedValue.year(mr.year()).month(mr.month()).date(mr.date()):mr;En(ar)||(ar=Cn.value[0][0].year(mr.year()).month(mr.month()).date(mr.date())),At.value=ar,Pn(ar,Jn.value||ir)}else Vn.value==="week"?Pn(mr.date):Vn.value==="dates"&&Pn(mr,!0)},Nn=mr=>{const ir=mr?"add":"subtract";At.value=At.value[ir](1,"month"),Rr("month")},Dn=mr=>{const ir=At.value,ar=mr?"add":"subtract";At.value=Mn.value==="year"?ir[ar](10,"year"):ir[ar](1,"year"),Rr("year")},Mn=ref("date"),Ln=computed(()=>{const mr=pe("el.datepicker.year");if(Mn.value==="year"){const ir=Math.floor(bn.value/10)*10;return mr?`${ir} ${mr} - ${ir+9} ${mr}`:`${ir} - ${ir+9}`}return`${bn.value} ${mr}`}),An=mr=>{const ir=isFunction$5(mr.value)?mr.value():mr.value;if(ir){hn=!0,Pn(dayjs(ir).locale(he.value));return}mr.onClick&&mr.onClick({attrs:ue,slots:de,emit:r})},Vn=computed(()=>{const{type:mr}=V;return["week","month","year","dates"].includes(mr)?mr:"date"}),Wn=computed(()=>Vn.value==="date"?Mn.value:Vn.value),Fn=computed(()=>!!Ie.length),Yn=async mr=>{At.value=At.value.startOf("month").month(mr),Vn.value==="month"?Pn(At.value,!1):(Mn.value="date",["month","year","date","week"].includes(Vn.value)&&(Pn(At.value,!0),await nextTick(),Dr())),Rr("month")},tr=async mr=>{Vn.value==="year"?(At.value=At.value.startOf("year").year(mr),Pn(At.value,!1)):(At.value=At.value.year(mr),Mn.value="month",["month","year","date","week"].includes(Vn.value)&&(Pn(At.value,!0),await nextTick(),Dr())),Rr("year")},yr=async mr=>{Mn.value=mr,await nextTick(),Dr()},Jn=computed(()=>V.type==="datetime"||V.type==="datetimerange"),Kn=computed(()=>Jn.value||Vn.value==="dates"),Gn=computed(()=>Ve?V.parsedValue?isArray$c(V.parsedValue)?Ve(V.parsedValue[0].toDate()):Ve(V.parsedValue.toDate()):!0:!1),Qn=()=>{if(Vn.value==="dates")Pn(V.parsedValue);else{let mr=V.parsedValue;if(!mr){const ir=dayjs(Ue).locale(he.value),ar=Ar();mr=ir.year(ar.year()).month(ar.month()).date(ar.date())}At.value=mr,Pn(mr)}},ur=computed(()=>Ve?Ve(dayjs().locale(he.value).toDate()):!1),cr=()=>{const ir=dayjs().locale(he.value).toDate();Lt.value=!0,(!Ve||!Ve(ir))&&En(ir)&&(At.value=dayjs().locale(he.value),Pn(At.value))},Un=computed(()=>extractTimeFormat(V.format)),qn=computed(()=>extractDateFormat(V.format)),er=computed(()=>{if(wn.value)return wn.value;if(!(!V.parsedValue&&!qe.value))return(V.parsedValue||At.value).format(Un.value)}),pr=computed(()=>{if(Sn.value)return Sn.value;if(!(!V.parsedValue&&!qe.value))return(V.parsedValue||At.value).format(qn.value)}),Er=ref(!1),dr=()=>{Er.value=!0},xr=()=>{Er.value=!1},wr=mr=>({hour:mr.hour(),minute:mr.minute(),second:mr.second(),year:mr.year(),month:mr.month(),date:mr.date()}),Cr=(mr,ir,ar)=>{const{hour:$r,minute:Zn,second:Or}=wr(mr),Lr=V.parsedValue?V.parsedValue.hour($r).minute(Zn).second(Or):mr;At.value=Lr,Pn(At.value,!0),ar||(Er.value=ir)},gr=mr=>{const ir=dayjs(mr,Un.value).locale(he.value);if(ir.isValid()&&En(ir)){const{year:ar,month:$r,date:Zn}=wr(At.value);At.value=ir.year(ar).month($r).date(Zn),wn.value=null,Er.value=!1,Pn(At.value,!0)}},or=mr=>{const ir=dayjs(mr,qn.value).locale(he.value);if(ir.isValid()){if(Ve&&Ve(ir.toDate()))return;const{hour:ar,minute:$r,second:Zn}=wr(At.value);At.value=ir.hour(ar).minute($r).second(Zn),Sn.value=null,Pn(At.value,!0)}},fr=mr=>dayjs.isDayjs(mr)&&mr.isValid()&&(Ve?!Ve(mr.toDate()):!0),kr=mr=>Vn.value==="dates"?mr.map(ir=>ir.format(V.format)):mr.format(V.format),br=mr=>dayjs(mr,V.format).locale(he.value),Ar=()=>{const mr=dayjs(qe.value).locale(he.value);if(!qe.value){const ir=_n.value;return dayjs().hour(ir.hour()).minute(ir.minute()).second(ir.second()).locale(he.value)}return mr},Dr=async()=>{var mr;["week","month","year","date"].includes(Vn.value)&&((mr=Et.value)==null||mr.focus(),Vn.value==="week"&&zr(EVENT_CODE.down))},Br=mr=>{const{code:ir}=mr;[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(ir)&&(zr(ir),mr.stopPropagation(),mr.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(ir)&&Sn.value===null&&wn.value===null&&(mr.preventDefault(),Pn(At.value,!1))},zr=mr=>{var ir;const{up:ar,down:$r,left:Zn,right:Or,home:Lr,end:Ur,pageUp:Kr,pageDown:qr}=EVENT_CODE,no={year:{[ar]:-4,[$r]:4,[Zn]:-1,[Or]:1,offset:(_r,Pr)=>_r.setFullYear(_r.getFullYear()+Pr)},month:{[ar]:-4,[$r]:4,[Zn]:-1,[Or]:1,offset:(_r,Pr)=>_r.setMonth(_r.getMonth()+Pr)},week:{[ar]:-1,[$r]:1,[Zn]:-1,[Or]:1,offset:(_r,Pr)=>_r.setDate(_r.getDate()+Pr*7)},date:{[ar]:-7,[$r]:7,[Zn]:-1,[Or]:1,[Lr]:_r=>-_r.getDay(),[Ur]:_r=>-_r.getDay()+6,[Kr]:_r=>-new Date(_r.getFullYear(),_r.getMonth(),0).getDate(),[qr]:_r=>new Date(_r.getFullYear(),_r.getMonth()+1,0).getDate(),offset:(_r,Pr)=>_r.setDate(_r.getDate()+Pr)}},Xr=At.value.toDate();for(;Math.abs(At.value.diff(Xr,"year",!0))<1;){const _r=no[Wn.value];if(!_r)return;if(_r.offset(Xr,isFunction$5(_r[mr])?_r[mr](Xr):(ir=_r[mr])!=null?ir:0),Ve&&Ve(Xr))break;const Pr=dayjs(Xr).locale(he.value);At.value=Pr,r("pick",Pr,!0);break}},Rr=mr=>{r("panel-change",At.value.toDate(),mr,Mn.value)};return watch(()=>Vn.value,mr=>{if(["month","year"].includes(mr)){Mn.value=mr;return}Mn.value="date"},{immediate:!0}),watch(()=>Mn.value,()=>{$e==null||$e.updatePopper()}),watch(()=>qe.value,mr=>{mr&&(At.value=Ar())},{immediate:!0}),watch(()=>V.parsedValue,mr=>{if(mr){if(Vn.value==="dates"||Array.isArray(mr))return;At.value=mr}else At.value=Ar()},{immediate:!0}),r("set-picker-option",["isValidValue",fr]),r("set-picker-option",["formatToString",kr]),r("set-picker-option",["parseUserInput",br]),r("set-picker-option",["handleFocusPicker",Dr]),(mr,ir)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ie).b(),unref(le).b(),{"has-sidebar":mr.$slots.sidebar||unref(Fn),"has-time":unref(Jn)}])},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("body-wrapper"))},[renderSlot(mr.$slots,"sidebar",{class:normalizeClass(unref(ie).e("sidebar"))}),unref(Fn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),(ar,$r)=>(openBlock(),createElementBlock("button",{key:$r,type:"button",class:normalizeClass(unref(ie).e("shortcut")),onClick:Zn=>An(ar)},toDisplayString$1(ar.text),11,_hoisted_1$H))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("body"))},[unref(Jn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(le).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref(pe)("el.datepicker.selectDate"),"model-value":unref(pr),size:"small","validate-event":!1,onInput:ir[0]||(ir[0]=ar=>Sn.value=ar),onChange:or},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(le).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref(pe)("el.datepicker.selectTime"),"model-value":unref(er),size:"small","validate-event":!1,onFocus:dr,onInput:ir[1]||(ir[1]=ar=>wn.value=ar),onChange:gr},null,8,["placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:Er.value,format:unref(Un),"parsed-value":At.value,onPick:Cr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),xr]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(le).e("header"),(Mn.value==="year"||Mn.value==="month")&&unref(le).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(le).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(pe)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(ie).e("icon-btn")]),onClick:ir[2]||(ir[2]=ar=>Dn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$s),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(pe)("el.datepicker.prevMonth"),class:normalizeClass([unref(ie).e("icon-btn"),"arrow-left"]),onClick:ir[3]||(ir[3]=ar=>Nn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_3$g),[[vShow,Mn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(le).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:ir[4]||(ir[4]=withKeys(ar=>yr("year"),["enter"])),onClick:ir[5]||(ir[5]=ar=>yr("year"))},toDisplayString$1(unref(Ln)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(le).e("header-label"),{active:Mn.value==="month"}]),onKeydown:ir[6]||(ir[6]=withKeys(ar=>yr("month"),["enter"])),onClick:ir[7]||(ir[7]=ar=>yr("month"))},toDisplayString$1(unref(pe)(`el.datepicker.month${unref(vn)+1}`)),35),[[vShow,Mn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(le).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(pe)("el.datepicker.nextMonth"),class:normalizeClass([unref(ie).e("icon-btn"),"arrow-right"]),onClick:ir[8]||(ir[8]=ar=>Nn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_4$a),[[vShow,Mn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(pe)("el.datepicker.nextYear"),class:normalizeClass([unref(ie).e("icon-btn"),"d-arrow-right"]),onClick:ir[9]||(ir[9]=ar=>Dn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$7)],2)],2),[[vShow,Mn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(ie).e("content")),onKeydown:Br},[Mn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:Et,"selection-mode":unref(Vn),date:At.value,"parsed-value":mr.parsedValue,"disabled-date":unref(Ve),"cell-class-name":unref(Fe),onPick:kn},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),Mn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:Et,date:At.value,"disabled-date":unref(Ve),"parsed-value":mr.parsedValue,onPick:tr},null,8,["date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),Mn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:Et,date:At.value,"parsed-value":mr.parsedValue,"disabled-date":unref(Ve),onPick:Yn},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(ie).e("footer"))},[withDirectives(createVNode(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(ie).e("link-btn")),disabled:unref(ur),onClick:cr},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(pe)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[vShow,unref(Vn)!=="dates"]]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(ie).e("link-btn")),disabled:unref(Gn),onClick:Qn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(pe)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[vShow,unref(Kn)&&Mn.value==="date"]])],2))}});var DatePickPanel=_export_sfc$1(_sfc_main$1k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=t=>{const{emit:r}=getCurrentInstance(),V=useAttrs$1(),oe=useSlots();return le=>{const ue=isFunction$5(le.value)?le.value():le.value;if(ue){r("pick",[dayjs(ue[0]).locale(t.value),dayjs(ue[1]).locale(t.value)]);return}le.onClick&&le.onClick({attrs:V,slots:oe,emit:r})}},useRangePicker=(t,{defaultValue:r,leftDate:V,rightDate:oe,unit:ie,onParsedValueChanged:le})=>{const{emit:ue}=getCurrentInstance(),{pickerNs:de}=inject(ROOT_PICKER_INJECTION_KEY),pe=useNamespace("date-range-picker"),{t:he,lang:_e}=useLocale(),$e=useShortcut(_e),Ie=ref(),Ve=ref(),Fe=ref({endDate:null,selecting:!1}),Ue=Lt=>{Fe.value=Lt},qe=(Lt=!1)=>{const hn=unref(Ie),_n=unref(Ve);isValidRange([hn,_n])&&ue("pick",[hn,_n],Lt)},Et=Lt=>{Fe.value.selecting=Lt,Lt||(Fe.value.endDate=null)},At=()=>{const[Lt,hn]=getDefaultValue(unref(r),{lang:unref(_e),unit:ie,unlinkPanels:t.unlinkPanels});Ie.value=void 0,Ve.value=void 0,V.value=Lt,oe.value=hn};return watch(r,Lt=>{Lt&&At()},{immediate:!0}),watch(()=>t.parsedValue,Lt=>{if(isArray$c(Lt)&&Lt.length===2){const[hn,_n]=Lt;Ie.value=hn,V.value=hn,Ve.value=_n,le(unref(Ie),unref(Ve))}else At()},{immediate:!0}),{minDate:Ie,maxDate:Ve,rangeState:Fe,lang:_e,ppNs:de,drpNs:pe,handleChangeRange:Ue,handleRangeConfirm:qe,handleShortcutClick:$e,onSelect:Et,t:he}},_hoisted_1$G=["onClick"],_hoisted_2$r=["disabled"],_hoisted_3$f=["disabled"],_hoisted_4$9=["disabled"],_hoisted_5$6=["disabled"],unit$1="month",_sfc_main$1j=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(t,{emit:r}){const V=t,oe=inject("EP_PICKER_BASE"),{disabledDate:ie,cellClassName:le,format:ue,defaultTime:de,clearable:pe}=oe.props,he=toRef(oe.props,"shortcuts"),_e=toRef(oe.props,"defaultValue"),{lang:$e}=useLocale(),Ie=ref(dayjs().locale($e.value)),Ve=ref(dayjs().locale($e.value).add(1,unit$1)),{minDate:Fe,maxDate:Ue,rangeState:qe,ppNs:Et,drpNs:At,handleChangeRange:Lt,handleRangeConfirm:hn,handleShortcutClick:_n,onSelect:vn,t:bn}=useRangePicker(V,{defaultValue:_e,leftDate:Ie,rightDate:Ve,unit:unit$1,onParsedValueChanged:ir}),Cn=ref({min:null,max:null}),Sn=ref({min:null,max:null}),wn=computed(()=>`${Ie.value.year()} ${bn("el.datepicker.year")} ${bn(`el.datepicker.month${Ie.value.month()+1}`)}`),En=computed(()=>`${Ve.value.year()} ${bn("el.datepicker.year")} ${bn(`el.datepicker.month${Ve.value.month()+1}`)}`),xn=computed(()=>Ie.value.year()),Pn=computed(()=>Ie.value.month()),kn=computed(()=>Ve.value.year()),Nn=computed(()=>Ve.value.month()),Dn=computed(()=>!!he.value.length),Mn=computed(()=>Cn.value.min!==null?Cn.value.min:Fe.value?Fe.value.format(Fn.value):""),Ln=computed(()=>Cn.value.max!==null?Cn.value.max:Ue.value||Fe.value?(Ue.value||Fe.value).format(Fn.value):""),An=computed(()=>Sn.value.min!==null?Sn.value.min:Fe.value?Fe.value.format(Wn.value):""),Vn=computed(()=>Sn.value.max!==null?Sn.value.max:Ue.value||Fe.value?(Ue.value||Fe.value).format(Wn.value):""),Wn=computed(()=>extractTimeFormat(ue)),Fn=computed(()=>extractDateFormat(ue)),Yn=ar=>isValidRange(ar)&&(ie?!ie(ar[0].toDate())&&!ie(ar[1].toDate()):!0),tr=()=>{Ie.value=Ie.value.subtract(1,"year"),V.unlinkPanels||(Ve.value=Ie.value.add(1,"month")),Un("year")},yr=()=>{Ie.value=Ie.value.subtract(1,"month"),V.unlinkPanels||(Ve.value=Ie.value.add(1,"month")),Un("month")},Jn=()=>{V.unlinkPanels?Ve.value=Ve.value.add(1,"year"):(Ie.value=Ie.value.add(1,"year"),Ve.value=Ie.value.add(1,"month")),Un("year")},Kn=()=>{V.unlinkPanels?Ve.value=Ve.value.add(1,"month"):(Ie.value=Ie.value.add(1,"month"),Ve.value=Ie.value.add(1,"month")),Un("month")},Gn=()=>{Ie.value=Ie.value.add(1,"year"),Un("year")},Qn=()=>{Ie.value=Ie.value.add(1,"month"),Un("month")},ur=()=>{Ve.value=Ve.value.subtract(1,"year"),Un("year")},cr=()=>{Ve.value=Ve.value.subtract(1,"month"),Un("month")},Un=ar=>{r("panel-change",[Ie.value.toDate(),Ve.value.toDate()],ar)},qn=computed(()=>{const ar=(Pn.value+1)%12,$r=Pn.value+1>=12?1:0;return V.unlinkPanels&&new Date(xn.value+$r,ar)<new Date(kn.value,Nn.value)}),er=computed(()=>V.unlinkPanels&&kn.value*12+Nn.value-(xn.value*12+Pn.value+1)>=12),pr=computed(()=>!(Fe.value&&Ue.value&&!qe.value.selecting&&isValidRange([Fe.value,Ue.value]))),Er=computed(()=>V.type==="datetime"||V.type==="datetimerange"),dr=(ar,$r)=>{if(ar)return de?dayjs(de[$r]||de).locale($e.value).year(ar.year()).month(ar.month()).date(ar.date()):ar},xr=(ar,$r=!0)=>{const Zn=ar.minDate,Or=ar.maxDate,Lr=dr(Zn,0),Ur=dr(Or,1);Ue.value===Ur&&Fe.value===Lr||(r("calendar-change",[Zn.toDate(),Or&&Or.toDate()]),Ue.value=Ur,Fe.value=Lr,!(!$r||Er.value)&&hn())},wr=ref(!1),Cr=ref(!1),gr=()=>{wr.value=!1},or=()=>{Cr.value=!1},fr=(ar,$r)=>{Cn.value[$r]=ar;const Zn=dayjs(ar,Fn.value).locale($e.value);if(Zn.isValid()){if(ie&&ie(Zn.toDate()))return;$r==="min"?(Ie.value=Zn,Fe.value=(Fe.value||Ie.value).year(Zn.year()).month(Zn.month()).date(Zn.date()),!V.unlinkPanels&&(!Ue.value||Ue.value.isBefore(Fe.value))&&(Ve.value=Zn.add(1,"month"),Ue.value=Fe.value.add(1,"month"))):(Ve.value=Zn,Ue.value=(Ue.value||Ve.value).year(Zn.year()).month(Zn.month()).date(Zn.date()),!V.unlinkPanels&&(!Fe.value||Fe.value.isAfter(Ue.value))&&(Ie.value=Zn.subtract(1,"month"),Fe.value=Ue.value.subtract(1,"month")))}},kr=(ar,$r)=>{Cn.value[$r]=null},br=(ar,$r)=>{Sn.value[$r]=ar;const Zn=dayjs(ar,Wn.value).locale($e.value);Zn.isValid()&&($r==="min"?(wr.value=!0,Fe.value=(Fe.value||Ie.value).hour(Zn.hour()).minute(Zn.minute()).second(Zn.second()),(!Ue.value||Ue.value.isBefore(Fe.value))&&(Ue.value=Fe.value)):(Cr.value=!0,Ue.value=(Ue.value||Ve.value).hour(Zn.hour()).minute(Zn.minute()).second(Zn.second()),Ve.value=Ue.value,Ue.value&&Ue.value.isBefore(Fe.value)&&(Fe.value=Ue.value)))},Ar=(ar,$r)=>{Sn.value[$r]=null,$r==="min"?(Ie.value=Fe.value,wr.value=!1):(Ve.value=Ue.value,Cr.value=!1)},Dr=(ar,$r,Zn)=>{Sn.value.min||(ar&&(Ie.value=ar,Fe.value=(Fe.value||Ie.value).hour(ar.hour()).minute(ar.minute()).second(ar.second())),Zn||(wr.value=$r),(!Ue.value||Ue.value.isBefore(Fe.value))&&(Ue.value=Fe.value,Ve.value=ar))},Br=(ar,$r,Zn)=>{Sn.value.max||(ar&&(Ve.value=ar,Ue.value=(Ue.value||Ve.value).hour(ar.hour()).minute(ar.minute()).second(ar.second())),Zn||(Cr.value=$r),Ue.value&&Ue.value.isBefore(Fe.value)&&(Fe.value=Ue.value))},zr=()=>{Ie.value=getDefaultValue(unref(_e),{lang:unref($e),unit:"month",unlinkPanels:V.unlinkPanels})[0],Ve.value=Ie.value.add(1,"month"),r("pick",null)},Rr=ar=>isArray$c(ar)?ar.map($r=>$r.format(ue)):ar.format(ue),mr=ar=>isArray$c(ar)?ar.map($r=>dayjs($r,ue).locale($e.value)):dayjs(ar,ue).locale($e.value);function ir(ar,$r){if(V.unlinkPanels&&$r){const Zn=(ar==null?void 0:ar.year())||0,Or=(ar==null?void 0:ar.month())||0,Lr=$r.year(),Ur=$r.month();Ve.value=Zn===Lr&&Or===Ur?$r.add(1,unit$1):$r}else Ve.value=Ie.value.add(1,unit$1),$r&&(Ve.value=Ve.value.hour($r.hour()).minute($r.minute()).second($r.second()))}return r("set-picker-option",["isValidValue",Yn]),r("set-picker-option",["parseUserInput",mr]),r("set-picker-option",["formatToString",Rr]),r("set-picker-option",["handleClear",zr]),(ar,$r)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Et).b(),unref(At).b(),{"has-sidebar":ar.$slots.sidebar||unref(Dn),"has-time":unref(Er)}])},[createBaseVNode("div",{class:normalizeClass(unref(Et).e("body-wrapper"))},[renderSlot(ar.$slots,"sidebar",{class:normalizeClass(unref(Et).e("sidebar"))}),unref(Dn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Et).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(he),(Zn,Or)=>(openBlock(),createElementBlock("button",{key:Or,type:"button",class:normalizeClass(unref(Et).e("shortcut")),onClick:Lr=>unref(_n)(Zn)},toDisplayString$1(Zn.text),11,_hoisted_1$G))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Et).e("body"))},[unref(Er)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(At).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(At).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(At).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",disabled:unref(qe).selecting,placeholder:unref(bn)("el.datepicker.startDate"),class:normalizeClass(unref(At).e("editor")),"model-value":unref(Mn),"validate-event":!1,onInput:$r[0]||($r[0]=Zn=>fr(Zn,"min")),onChange:$r[1]||($r[1]=Zn=>kr(Zn,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(At).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(At).e("editor")),disabled:unref(qe).selecting,placeholder:unref(bn)("el.datepicker.startTime"),"model-value":unref(An),"validate-event":!1,onFocus:$r[2]||($r[2]=Zn=>wr.value=!0),onInput:$r[3]||($r[3]=Zn=>br(Zn,"min")),onChange:$r[4]||($r[4]=Zn=>Ar(Zn,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:wr.value,format:unref(Wn),"datetime-role":"start","parsed-value":Ie.value,onPick:Dr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),gr]])],2),createBaseVNode("span",null,[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(At).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(At).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(At).e("editor")),disabled:unref(qe).selecting,placeholder:unref(bn)("el.datepicker.endDate"),"model-value":unref(Ln),readonly:!unref(Fe),"validate-event":!1,onInput:$r[5]||($r[5]=Zn=>fr(Zn,"max")),onChange:$r[6]||($r[6]=Zn=>kr(Zn,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(At).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(At).e("editor")),disabled:unref(qe).selecting,placeholder:unref(bn)("el.datepicker.endTime"),"model-value":unref(Vn),readonly:!unref(Fe),"validate-event":!1,onFocus:$r[7]||($r[7]=Zn=>unref(Fe)&&(Cr.value=!0)),onInput:$r[8]||($r[8]=Zn=>br(Zn,"max")),onChange:$r[9]||($r[9]=Zn=>Ar(Zn,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode(unref(TimePickPanel),{"datetime-role":"end",visible:Cr.value,format:unref(Wn),"parsed-value":Ve.value,onPick:Br},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),or]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(Et).e("content"),unref(At).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(At).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Et).e("icon-btn"),"d-arrow-left"]),onClick:tr},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Et).e("icon-btn"),"arrow-left"]),onClick:yr},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),ar.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(er),class:normalizeClass([[unref(Et).e("icon-btn"),{"is-disabled":!unref(er)}],"d-arrow-right"]),onClick:Gn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),ar.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(qn),class:normalizeClass([[unref(Et).e("icon-btn"),{"is-disabled":!unref(qn)}],"arrow-right"]),onClick:Qn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_3$f)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString$1(unref(wn)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:Ie.value,"min-date":unref(Fe),"max-date":unref(Ue),"range-state":unref(qe),"disabled-date":unref(ie),"cell-class-name":unref(le),onChangerange:unref(Lt),onPick:xr,onSelect:unref(vn)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Et).e("content"),unref(At).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(At).e("header"))},[ar.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(er),class:normalizeClass([[unref(Et).e("icon-btn"),{"is-disabled":!unref(er)}],"d-arrow-left"]),onClick:ur},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_4$9)):createCommentVNode("v-if",!0),ar.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(qn),class:normalizeClass([[unref(Et).e("icon-btn"),{"is-disabled":!unref(qn)}],"arrow-left"]),onClick:cr},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_5$6)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Et).e("icon-btn"),"d-arrow-right"]),onClick:Jn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Et).e("icon-btn"),"arrow-right"]),onClick:Kn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString$1(unref(En)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:Ve.value,"min-date":unref(Fe),"max-date":unref(Ue),"range-state":unref(qe),"disabled-date":unref(ie),"cell-class-name":unref(le),onChangerange:unref(Lt),onPick:xr,onSelect:unref(vn)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(Er)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Et).e("footer"))},[unref(pe)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(Et).e("link-btn")),onClick:zr},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(bn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Et).e("link-btn")),disabled:unref(pr),onClick:$r[10]||($r[10]=Zn=>unref(hn)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(bn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$1(_sfc_main$1j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option"],useMonthRangeHeader=({unlinkPanels:t,leftDate:r,rightDate:V})=>{const{t:oe}=useLocale(),ie=()=>{r.value=r.value.subtract(1,"year"),t.value||(V.value=V.value.subtract(1,"year"))},le=()=>{t.value||(r.value=r.value.add(1,"year")),V.value=V.value.add(1,"year")},ue=()=>{r.value=r.value.add(1,"year")},de=()=>{V.value=V.value.subtract(1,"year")},pe=computed(()=>`${r.value.year()} ${oe("el.datepicker.year")}`),he=computed(()=>`${V.value.year()} ${oe("el.datepicker.year")}`),_e=computed(()=>r.value.year()),$e=computed(()=>V.value.year()===r.value.year()?r.value.year()+1:V.value.year());return{leftPrevYear:ie,rightNextYear:le,leftNextYear:ue,rightPrevYear:de,leftLabel:pe,rightLabel:he,leftYear:_e,rightYear:$e}},_hoisted_1$F=["onClick"],_hoisted_2$q=["disabled"],_hoisted_3$e=["disabled"],unit="year",__default__$R=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1i=defineComponent({...__default__$R,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(t,{emit:r}){const V=t,{lang:oe}=useLocale(),ie=inject("EP_PICKER_BASE"),{shortcuts:le,disabledDate:ue,format:de}=ie.props,pe=toRef(ie.props,"defaultValue"),he=ref(dayjs().locale(oe.value)),_e=ref(dayjs().locale(oe.value).add(1,unit)),{minDate:$e,maxDate:Ie,rangeState:Ve,ppNs:Fe,drpNs:Ue,handleChangeRange:qe,handleRangeConfirm:Et,handleShortcutClick:At,onSelect:Lt}=useRangePicker(V,{defaultValue:pe,leftDate:he,rightDate:_e,unit,onParsedValueChanged:Dn}),hn=computed(()=>!!le.length),{leftPrevYear:_n,rightNextYear:vn,leftNextYear:bn,rightPrevYear:Cn,leftLabel:Sn,rightLabel:wn,leftYear:En,rightYear:xn}=useMonthRangeHeader({unlinkPanels:toRef(V,"unlinkPanels"),leftDate:he,rightDate:_e}),Pn=computed(()=>V.unlinkPanels&&xn.value>En.value+1),kn=(Mn,Ln=!0)=>{const An=Mn.minDate,Vn=Mn.maxDate;Ie.value===Vn&&$e.value===An||(Ie.value=Vn,$e.value=An,Ln&&Et())},Nn=Mn=>Mn.map(Ln=>Ln.format(de));function Dn(Mn,Ln){if(V.unlinkPanels&&Ln){const An=(Mn==null?void 0:Mn.year())||0,Vn=Ln.year();_e.value=An===Vn?Ln.add(1,unit):Ln}else _e.value=he.value.add(1,unit)}return r("set-picker-option",["formatToString",Nn]),(Mn,Ln)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Ue).b(),{"has-sidebar":!!Mn.$slots.sidebar||unref(hn)}])},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("body-wrapper"))},[renderSlot(Mn.$slots,"sidebar",{class:normalizeClass(unref(Fe).e("sidebar"))}),unref(hn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(le),(An,Vn)=>(openBlock(),createElementBlock("button",{key:Vn,type:"button",class:normalizeClass(unref(Fe).e("shortcut")),onClick:Wn=>unref(At)(An)},toDisplayString$1(An.text),11,_hoisted_1$F))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(Fe).e("content"),unref(Ue).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Fe).e("icon-btn"),"d-arrow-left"]),onClick:Ln[0]||(Ln[0]=(...An)=>unref(_n)&&unref(_n)(...An))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),Mn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Pn),class:normalizeClass([[unref(Fe).e("icon-btn"),{[unref(Fe).is("disabled")]:!unref(Pn)}],"d-arrow-right"]),onClick:Ln[1]||(Ln[1]=(...An)=>unref(bn)&&unref(bn)(...An))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$q)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString$1(unref(Sn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:he.value,"min-date":unref($e),"max-date":unref(Ie),"range-state":unref(Ve),"disabled-date":unref(ue),onChangerange:unref(qe),onPick:kn,onSelect:unref(Lt)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Fe).e("content"),unref(Ue).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[Mn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Pn),class:normalizeClass([[unref(Fe).e("icon-btn"),{"is-disabled":!unref(Pn)}],"d-arrow-left"]),onClick:Ln[2]||(Ln[2]=(...An)=>unref(Cn)&&unref(Cn)(...An))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$e)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Fe).e("icon-btn"),"d-arrow-right"]),onClick:Ln[3]||(Ln[3]=(...An)=>unref(vn)&&unref(vn)(...An))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString$1(unref(wn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:_e.value,"min-date":unref($e),"max-date":unref(Ie),"range-state":unref(Ve),"disabled-date":unref(ue),onChangerange:unref(qe),onPick:kn,onSelect:unref(Lt)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc$1(_sfc_main$1i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);const getPanel=function(t){switch(t){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;default:return DatePickPanel}};dayjs.extend(localeData);dayjs.extend(advancedFormat);dayjs.extend(customParseFormat);dayjs.extend(weekOfYear);dayjs.extend(weekYear);dayjs.extend(dayOfYear);dayjs.extend(isSameOrAfter);dayjs.extend(isSameOrBefore);var DatePicker=defineComponent({name:"ElDatePicker",install:null,props:datePickerProps,emits:["update:modelValue"],setup(t,{expose:r,emit:V,slots:oe}){const ie=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef(t,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:oe,pickerNs:ie});const le=ref();r({focus:(pe=!0)=>{var he;(he=le.value)==null||he.focus(pe)},handleOpen:()=>{var pe;(pe=le.value)==null||pe.handleOpen()},handleClose:()=>{var pe;(pe=le.value)==null||pe.handleClose()}});const de=pe=>{V("update:modelValue",pe)};return()=>{var pe;const he=(pe=t.format)!=null?pe:DEFAULT_FORMATS_DATEPICKER[t.type]||DEFAULT_FORMATS_DATE,_e=getPanel(t.type);return createVNode(CommonPicker,mergeProps(t,{format:he,type:t.type,ref:le,"onUpdate:modelValue":de}),{default:$e=>createVNode(_e,$e,null),"range-separator":oe["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=t=>{t.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var t,r,V,oe,ie,le;const ue=getNormalizedProps(this.cell),{border:de,direction:pe}=this.descriptions,he=pe==="vertical",_e=((V=(r=(t=this.cell)==null?void 0:t.children)==null?void 0:r.label)==null?void 0:V.call(r))||ue.label,$e=(le=(ie=(oe=this.cell)==null?void 0:oe.children)==null?void 0:ie.default)==null?void 0:le.call(ie),Ie=ue.span,Ve=ue.align?`is-${ue.align}`:"",Fe=ue.labelAlign?`is-${ue.labelAlign}`:Ve,Ue=ue.className,qe=ue.labelClassName,Et={width:addUnit(ue.width),minWidth:addUnit(ue.minWidth)},At=useNamespace("descriptions");switch(this.type){case"label":return h$2(this.tag,{style:Et,class:[At.e("cell"),At.e("label"),At.is("bordered-label",de),At.is("vertical-label",he),Fe,qe],colSpan:he?Ie:1},_e);case"content":return h$2(this.tag,{style:Et,class:[At.e("cell"),At.e("content"),At.is("bordered-content",de),At.is("vertical-content",he),Ve,Ue],colSpan:he?Ie:Ie*2-1},$e);default:return h$2("td",{style:Et,class:[At.e("cell"),Ve],colSpan:Ie},[isNil(_e)?void 0:h$2("span",{class:[At.e("label"),qe]},_e),h$2("span",{class:[At.e("content"),Ue]},$e)])}}});const descriptionsRowProps=buildProps({row:{type:Array,default:()=>[]}}),_hoisted_1$E={key:1},__default__$Q=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1h=defineComponent({...__default__$Q,props:descriptionsRowProps,setup(t){const r=inject(descriptionsKey,{});return(V,oe)=>unref(r).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(V.row,(ie,le)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${le}`,cell:ie,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(V.row,(ie,le)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${le}`,cell:ie,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$E,[(openBlock(!0),createElementBlock(Fragment,null,renderList(V.row,(ie,le)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${le}`},[unref(r).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(unref(ElDescriptionsCell),{cell:ie,tag:"td",type:"label"},null,8,["cell"]),createVNode(unref(ElDescriptionsCell),{cell:ie,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:ie,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$1(_sfc_main$1h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const descriptionProps=buildProps({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""}}),__default__$P=defineComponent({name:"ElDescriptions"}),_sfc_main$1g=defineComponent({...__default__$P,props:descriptionProps,setup(t){const r=t,V=useNamespace("descriptions"),oe=useFormSize(),ie=useSlots();provide(descriptionsKey,r);const le=computed(()=>[V.b(),V.m(oe.value)]),ue=(pe,he,_e,$e=!1)=>(pe.props||(pe.props={}),he>_e&&(pe.props.span=_e),$e&&(pe.props.span=he),pe),de=()=>{var pe;const he=flattedChildren((pe=ie.default)==null?void 0:pe.call(ie)).filter(Fe=>{var Ue;return((Ue=Fe==null?void 0:Fe.type)==null?void 0:Ue.name)==="ElDescriptionsItem"}),_e=[];let $e=[],Ie=r.column,Ve=0;return he.forEach((Fe,Ue)=>{var qe;const Et=((qe=Fe.props)==null?void 0:qe.span)||1;if(Ue<he.length-1&&(Ve+=Et>Ie?Ie:Et),Ue===he.length-1){const At=r.column-Ve%r.column;$e.push(ue(Fe,At,Ie,!0)),_e.push($e);return}Et<Ie?(Ie-=Et,$e.push(Fe)):($e.push(ue(Fe,Et,Ie)),_e.push($e),Ie=r.column,$e=[])}),_e};return(pe,he)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le))},[pe.title||pe.extra||pe.$slots.title||pe.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(V).e("title"))},[renderSlot(pe.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(pe.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(V).e("extra"))},[renderSlot(pe.$slots,"extra",{},()=>[createTextVNode(toDisplayString$1(pe.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(V).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(V).e("table"),unref(V).is("bordered",pe.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(de(),(_e,$e)=>(openBlock(),createBlock(ElDescriptionsRow,{key:$e,row:_e},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$1(_sfc_main$1g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]),DescriptionsItem=defineComponent({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const ElDescriptions=withInstall(Descriptions,{DescriptionsItem}),ElDescriptionsItem=withNoopInstall(DescriptionsItem),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:t=>t instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(t,{slots:r,emit:V}){const oe=useNamespace(BLOCK),ie=pe=>{V("click",pe)},{onClick:le,onMousedown:ue,onMouseup:de}=useSameTarget(t.customMaskEvent?void 0:ie);return()=>t.mask?createVNode("div",{class:[oe.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:le,onMousedown:ue,onMouseup:de},[renderSlot(r,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$2("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(r,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:Boolean,alignCenter:Boolean,closeIcon:{type:iconPropType},customClass:{type:String,default:""},draggable:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),dialogContentEmits={close:()=>!0},_hoisted_1$D=["aria-level"],_hoisted_2$p=["aria-label"],_hoisted_3$d=["id"],__default__$O=defineComponent({name:"ElDialogContent"}),_sfc_main$1f=defineComponent({...__default__$O,props:dialogContentProps,emits:dialogContentEmits,setup(t){const r=t,{t:V}=useLocale(),{Close:oe}=CloseComponents,{dialogRef:ie,headerRef:le,bodyId:ue,ns:de,style:pe}=inject(dialogInjectionKey),{focusTrapRef:he}=inject(FOCUS_TRAP_INJECTION_KEY),_e=computed(()=>[de.b(),de.is("fullscreen",r.fullscreen),de.is("draggable",r.draggable),de.is("align-center",r.alignCenter),{[de.m("center")]:r.center},r.customClass]),$e=composeRefs(he,ie),Ie=computed(()=>r.draggable);return useDraggable(ie,le,Ie),(Ve,Fe)=>(openBlock(),createElementBlock("div",{ref:unref($e),class:normalizeClass(unref(_e)),style:normalizeStyle$1(unref(pe)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:le,class:normalizeClass(unref(de).e("header"))},[renderSlot(Ve.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading","aria-level":Ve.ariaLevel,class:normalizeClass(unref(de).e("title"))},toDisplayString$1(Ve.title),11,_hoisted_1$D)]),Ve.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(V)("el.dialog.close"),class:normalizeClass(unref(de).e("headerbtn")),type:"button",onClick:Fe[0]||(Fe[0]=Ue=>Ve.$emit("close"))},[createVNode(unref(ElIcon),{class:normalizeClass(unref(de).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ve.closeIcon||unref(oe))))]),_:1},8,["class"])],10,_hoisted_2$p)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(ue),class:normalizeClass(unref(de).e("body"))},[renderSlot(Ve.$slots,"default")],10,_hoisted_3$d),Ve.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(de).e("footer"))},[renderSlot(Ve.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$1(_sfc_main$1f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:Boolean,beforeClose:{type:definePropType(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:t=>isBoolean$3(t),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=(t,r)=>{const oe=getCurrentInstance().emit,{nextZIndex:ie}=useZIndex();let le="";const ue=useId(),de=useId(),pe=ref(!1),he=ref(!1),_e=ref(!1),$e=ref(t.zIndex||ie());let Ie,Ve;const Fe=useGlobalConfig("namespace",defaultNamespace),Ue=computed(()=>{const kn={},Nn=`--${Fe.value}-dialog`;return t.fullscreen||(t.top&&(kn[`${Nn}-margin-top`]=t.top),t.width&&(kn[`${Nn}-width`]=addUnit(t.width))),kn}),qe=computed(()=>t.alignCenter?{display:"flex"}:{});function Et(){oe("opened")}function At(){oe("closed"),oe(UPDATE_MODEL_EVENT,!1),t.destroyOnClose&&(_e.value=!1)}function Lt(){oe("close")}function hn(){Ve==null||Ve(),Ie==null||Ie(),t.openDelay&&t.openDelay>0?{stop:Ie}=useTimeoutFn$1(()=>Cn(),t.openDelay):Cn()}function _n(){Ie==null||Ie(),Ve==null||Ve(),t.closeDelay&&t.closeDelay>0?{stop:Ve}=useTimeoutFn$1(()=>Sn(),t.closeDelay):Sn()}function vn(){function kn(Nn){Nn||(he.value=!0,pe.value=!1)}t.beforeClose?t.beforeClose(kn):_n()}function bn(){t.closeOnClickModal&&vn()}function Cn(){isClient$1&&(pe.value=!0)}function Sn(){pe.value=!1}function wn(){oe("openAutoFocus")}function En(){oe("closeAutoFocus")}function xn(kn){var Nn;((Nn=kn.detail)==null?void 0:Nn.focusReason)==="pointer"&&kn.preventDefault()}t.lockScroll&&useLockscreen(pe);function Pn(){t.closeOnPressEscape&&vn()}return watch(()=>t.modelValue,kn=>{kn?(he.value=!1,hn(),_e.value=!0,$e.value=t.zIndex?$e.value++:ie(),nextTick(()=>{oe("open"),r.value&&(r.value.scrollTop=0)})):pe.value&&_n()}),watch(()=>t.fullscreen,kn=>{r.value&&(kn?(le=r.value.style.transform,r.value.style.transform=""):r.value.style.transform=le)}),onMounted(()=>{t.modelValue&&(pe.value=!0,_e.value=!0,hn())}),{afterEnter:Et,afterLeave:At,beforeLeave:Lt,handleClose:vn,onModalClick:bn,close:_n,doClose:Sn,onOpenAutoFocus:wn,onCloseAutoFocus:En,onCloseRequested:Pn,onFocusoutPrevented:xn,titleId:ue,bodyId:de,closed:he,style:Ue,overlayDialogStyle:qe,rendered:_e,visible:pe,zIndex:$e}},_hoisted_1$C=["aria-label","aria-labelledby","aria-describedby"],__default__$N=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1e=defineComponent({...__default__$N,props:dialogProps,emits:dialogEmits,setup(t,{expose:r}){const V=t,oe=useSlots();useDeprecated({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},computed(()=>!!oe.title)),useDeprecated({scope:"el-dialog",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/dialog.html#attributes",type:"Attribute"},computed(()=>!!V.customClass));const ie=useNamespace("dialog"),le=ref(),ue=ref(),de=ref(),{visible:pe,titleId:he,bodyId:_e,style:$e,overlayDialogStyle:Ie,rendered:Ve,zIndex:Fe,afterEnter:Ue,afterLeave:qe,beforeLeave:Et,handleClose:At,onModalClick:Lt,onOpenAutoFocus:hn,onCloseAutoFocus:_n,onCloseRequested:vn,onFocusoutPrevented:bn}=useDialog(V,le);provide(dialogInjectionKey,{dialogRef:le,headerRef:ue,bodyId:_e,ns:ie,rendered:Ve,style:$e});const Cn=useSameTarget(Lt),Sn=computed(()=>V.draggable&&!V.fullscreen);return r({visible:pe,dialogContentRef:de}),(wn,En)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!wn.appendToBody},[createVNode(Transition,{name:"dialog-fade",onAfterEnter:unref(Ue),onAfterLeave:unref(qe),onBeforeLeave:unref(Et),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(unref(ElOverlay),{"custom-mask-event":"",mask:wn.modal,"overlay-class":wn.modalClass,"z-index":unref(Fe)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":wn.title||void 0,"aria-labelledby":wn.title?void 0:unref(he),"aria-describedby":unref(_e),class:normalizeClass(`${unref(ie).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(Ie)),onClick:En[0]||(En[0]=(...xn)=>unref(Cn).onClick&&unref(Cn).onClick(...xn)),onMousedown:En[1]||(En[1]=(...xn)=>unref(Cn).onMousedown&&unref(Cn).onMousedown(...xn)),onMouseup:En[2]||(En[2]=(...xn)=>unref(Cn).onMouseup&&unref(Cn).onMouseup(...xn))},[createVNode(unref(ElFocusTrap),{loop:"",trapped:unref(pe),"focus-start-el":"container",onFocusAfterTrapped:unref(hn),onFocusAfterReleased:unref(_n),onFocusoutPrevented:unref(bn),onReleaseRequested:unref(vn)},{default:withCtx(()=>[unref(Ve)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:de},wn.$attrs,{"custom-class":wn.customClass,center:wn.center,"align-center":wn.alignCenter,"close-icon":wn.closeIcon,draggable:unref(Sn),fullscreen:wn.fullscreen,"show-close":wn.showClose,title:wn.title,"aria-level":wn.headerAriaLevel,onClose:unref(At)}),createSlots({header:withCtx(()=>[wn.$slots.title?renderSlot(wn.$slots,"title",{key:1}):renderSlot(wn.$slots,"header",{key:0,close:unref(At),titleId:unref(he),titleClass:unref(ie).e("title")})]),default:withCtx(()=>[renderSlot(wn.$slots,"default")]),_:2},[wn.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(wn.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","aria-level","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$C)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(pe)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Dialog=_export_sfc$1(_sfc_main$1e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const ElDialog=withInstall(Dialog),dividerProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:definePropType(String),default:"solid"}}),__default__$M=defineComponent({name:"ElDivider"}),_sfc_main$1d=defineComponent({...__default__$M,props:dividerProps,setup(t){const r=t,V=useNamespace("divider"),oe=computed(()=>V.cssVar({"border-style":r.borderStyle}));return(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b(),unref(V).m(ie.direction)]),style:normalizeStyle$1(unref(oe)),role:"separator"},[ie.$slots.default&&ie.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(V).e("text"),unref(V).is(ie.contentPosition)])},[renderSlot(ie.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$1(_sfc_main$1d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const ElDivider=withInstall(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),drawerEmits=dialogEmits,_sfc_main$1c=defineComponent({name:"ElDrawer",components:{ElOverlay,ElFocusTrap,ElIcon,Close:close_default},inheritAttrs:!1,props:drawerProps,emits:drawerEmits,setup(t,{slots:r}){useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},computed(()=>!!r.title)),useDeprecated({scope:"el-drawer",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/drawer.html#attributes",type:"Attribute"},computed(()=>!!t.customClass));const V=ref(),oe=ref(),ie=useNamespace("drawer"),{t:le}=useLocale(),ue=computed(()=>t.direction==="rtl"||t.direction==="ltr"),de=computed(()=>addUnit(t.size));return{...useDialog(t,V),drawerRef:V,focusStartRef:oe,isHorizontal:ue,drawerSize:de,ns:ie,t:le}}}),_hoisted_1$B=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$o=["id","aria-level"],_hoisted_3$c=["aria-label"],_hoisted_4$8=["id"];function _sfc_render$p(t,r,V,oe,ie,le){const ue=resolveComponent("close"),de=resolveComponent("el-icon"),pe=resolveComponent("el-focus-trap"),he=resolveComponent("el-overlay");return openBlock(),createBlock(Teleport,{to:"body",disabled:!t.appendToBody},[createVNode(Transition,{name:t.ns.b("fade"),onAfterEnter:t.afterEnter,onAfterLeave:t.afterLeave,onBeforeLeave:t.beforeLeave,persisted:""},{default:withCtx(()=>[withDirectives(createVNode(he,{mask:t.modal,"overlay-class":t.modalClass,"z-index":t.zIndex,onClick:t.onModalClick},{default:withCtx(()=>[createVNode(pe,{loop:"",trapped:t.visible,"focus-trap-el":t.drawerRef,"focus-start-el":t.focusStartRef,onReleaseRequested:t.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref:"drawerRef","aria-modal":"true","aria-label":t.title||void 0,"aria-labelledby":t.title?void 0:t.titleId,"aria-describedby":t.bodyId},t.$attrs,{class:[t.ns.b(),t.direction,t.visible&&"open",t.customClass],style:t.isHorizontal?"width: "+t.drawerSize:"height: "+t.drawerSize,role:"dialog",onClick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref:"focusStartRef",class:normalizeClass(t.ns.e("sr-focus")),tabindex:"-1"},null,2),t.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass(t.ns.e("header"))},[t.$slots.title?renderSlot(t.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(t.$slots,"header",{key:0,close:t.handleClose,titleId:t.titleId,titleClass:t.ns.e("title")},()=>[t.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:t.titleId,role:"heading","aria-level":t.headerAriaLevel,class:normalizeClass(t.ns.e("title"))},toDisplayString$1(t.title),11,_hoisted_2$o))]),t.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":t.t("el.drawer.close"),class:normalizeClass(t.ns.e("close-btn")),type:"button",onClick:r[0]||(r[0]=(..._e)=>t.handleClose&&t.handleClose(..._e))},[createVNode(de,{class:normalizeClass(t.ns.e("close"))},{default:withCtx(()=>[createVNode(ue)]),_:1},8,["class"])],10,_hoisted_3$c)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),t.rendered?(openBlock(),createElementBlock("div",{key:1,id:t.bodyId,class:normalizeClass(t.ns.e("body"))},[renderSlot(t.$slots,"default")],10,_hoisted_4$8)):createCommentVNode("v-if",!0),t.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(t.ns.e("footer"))},[renderSlot(t.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$B)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,t.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var Drawer=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$p],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1b=defineComponent({inheritAttrs:!1});function _sfc_render$o(t,r,V,oe,ie,le){return renderSlot(t.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$o],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _sfc_main$1a=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$n(t,r,V,oe,ie,le){return renderSlot(t.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$1a,[["render",_sfc_render$n],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=t=>{const r=`El${t}Collection`,V=`${r}Item`,oe=Symbol(r),ie=Symbol(V),le={...Collection,name:r,setup(){const de=ref(null),pe=new Map;provide(oe,{itemMap:pe,getItems:()=>{const _e=unref(de);if(!_e)return[];const $e=Array.from(_e.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...pe.values()].sort((Ve,Fe)=>$e.indexOf(Ve.ref)-$e.indexOf(Fe.ref))},collectionRef:de})}},ue={...CollectionItem,name:V,setup(de,{attrs:pe}){const he=ref(null),_e=inject(oe,void 0);provide(ie,{collectionItemRef:he}),onMounted(()=>{const $e=unref(he);$e&&_e.itemMap.set($e,{ref:$e,...pe})}),onBeforeUnmount(()=>{const $e=unref(he);_e.itemMap.delete($e)})}};return{COLLECTION_INJECTION_KEY:oe,COLLECTION_ITEM_INJECTION_KEY:ie,ElCollection:le,ElCollectionItem:ue}},rovingFocusGroupProps=buildProps({style:{type:definePropType([String,Array,Object])},currentTabId:{type:definePropType(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:definePropType(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:ElCollection$1,ElCollectionItem:ElCollectionItem$1,COLLECTION_INJECTION_KEY:COLLECTION_INJECTION_KEY$1,COLLECTION_ITEM_INJECTION_KEY:COLLECTION_ITEM_INJECTION_KEY$1}=createCollectionWithScope("RovingFocusGroup"),ROVING_FOCUS_GROUP_INJECTION_KEY=Symbol("elRovingFocusGroup"),ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY=Symbol("elRovingFocusGroupItem"),MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},getDirectionAwareKey=(t,r)=>{if(r!=="rtl")return t;switch(t){case EVENT_CODE.right:return EVENT_CODE.left;case EVENT_CODE.left:return EVENT_CODE.right;default:return t}},getFocusIntent=(t,r,V)=>{const oe=getDirectionAwareKey(t.key,V);if(!(r==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(oe))&&!(r==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(oe)))return MAP_KEY_TO_FOCUS_INTENT[oe]},reorderArray=(t,r)=>t.map((V,oe)=>t[(oe+r)%t.length]),focusFirst=t=>{const{activeElement:r}=document;for(const V of t)if(V===r||(V.focus(),r!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$19=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(t,{emit:r}){var V;const oe=ref((V=t.currentTabId||t.defaultCurrentTabId)!=null?V:null),ie=ref(!1),le=ref(!1),ue=ref(null),{getItems:de}=inject(COLLECTION_INJECTION_KEY$1,void 0),pe=computed(()=>[{outline:"none"},t.style]),he=Ue=>{r(CURRENT_TAB_ID_CHANGE_EVT,Ue)},_e=()=>{ie.value=!0},$e=composeEventHandlers(Ue=>{var qe;(qe=t.onMousedown)==null||qe.call(t,Ue)},()=>{le.value=!0}),Ie=composeEventHandlers(Ue=>{var qe;(qe=t.onFocus)==null||qe.call(t,Ue)},Ue=>{const qe=!unref(le),{target:Et,currentTarget:At}=Ue;if(Et===At&&qe&&!unref(ie)){const Lt=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(At==null||At.dispatchEvent(Lt),!Lt.defaultPrevented){const hn=de().filter(Sn=>Sn.focusable),_n=hn.find(Sn=>Sn.active),vn=hn.find(Sn=>Sn.id===unref(oe)),Cn=[_n,vn,...hn].filter(Boolean).map(Sn=>Sn.ref);focusFirst(Cn)}}le.value=!1}),Ve=composeEventHandlers(Ue=>{var qe;(qe=t.onBlur)==null||qe.call(t,Ue)},()=>{ie.value=!1}),Fe=(...Ue)=>{r("entryFocus",...Ue)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(oe),loop:toRef(t,"loop"),tabIndex:computed(()=>unref(ie)?-1:0),rovingFocusGroupRef:ue,rovingFocusGroupRootStyle:pe,orientation:toRef(t,"orientation"),dir:toRef(t,"dir"),onItemFocus:he,onItemShiftTab:_e,onBlur:Ve,onFocus:Ie,onMousedown:$e}),watch(()=>t.currentTabId,Ue=>{oe.value=Ue??null}),useEventListener$1(ue,ENTRY_FOCUS_EVT,Fe)}});function _sfc_render$m(t,r,V,oe,ie,le){return renderSlot(t.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$19,[["render",_sfc_render$m],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const _sfc_main$18=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$l(t,r,V,oe,ie,le){const ue=resolveComponent("el-roving-focus-group-impl"),de=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(de,null,{default:withCtx(()=>[createVNode(ue,normalizeProps(guardReactiveProps(t.$attrs)),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$18,[["render",_sfc_render$l],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const _sfc_main$17=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(t,{emit:r}){const{currentTabbedId:V,loop:oe,onItemFocus:ie,onItemShiftTab:le}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:ue}=inject(COLLECTION_INJECTION_KEY$1,void 0),de=useId(),pe=ref(null),he=composeEventHandlers(Ve=>{r("mousedown",Ve)},Ve=>{t.focusable?ie(unref(de)):Ve.preventDefault()}),_e=composeEventHandlers(Ve=>{r("focus",Ve)},()=>{ie(unref(de))}),$e=composeEventHandlers(Ve=>{r("keydown",Ve)},Ve=>{const{key:Fe,shiftKey:Ue,target:qe,currentTarget:Et}=Ve;if(Fe===EVENT_CODE.tab&&Ue){le();return}if(qe!==Et)return;const At=getFocusIntent(Ve);if(At){Ve.preventDefault();let hn=ue().filter(_n=>_n.focusable).map(_n=>_n.ref);switch(At){case"last":{hn.reverse();break}case"prev":case"next":{At==="prev"&&hn.reverse();const _n=hn.indexOf(Et);hn=oe.value?reorderArray(hn,_n+1):hn.slice(_n+1);break}}nextTick(()=>{focusFirst(hn)})}}),Ie=computed(()=>V.value===unref(de));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:pe,tabIndex:computed(()=>unref(Ie)?0:-1),handleMousedown:he,handleFocus:_e,handleKeydown:$e}),{id:de,handleKeydown:$e,handleFocus:_e,handleMousedown:he}}});function _sfc_render$k(t,r,V,oe,ie,le){const ue=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(ue,{id:t.id,focusable:t.focusable,active:t.active},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc$1(_sfc_main$17,[["render",_sfc_render$k],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const dropdownProps=buildProps({trigger:useTooltipTriggerProps.trigger,effect:{...useTooltipContentProps.effect,default:"light"},type:{type:definePropType(String)},placement:{type:definePropType(String),default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:definePropType([Number,String]),default:0},maxHeight:{type:definePropType([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported}),dropdownItemProps=buildProps({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:iconPropType}}),dropdownMenuProps=buildProps({onKeydown:{type:definePropType(Function)}}),FIRST_KEYS=[EVENT_CODE.down,EVENT_CODE.pageDown,EVENT_CODE.home],LAST_KEYS=[EVENT_CODE.up,EVENT_CODE.pageUp,EVENT_CODE.end],FIRST_LAST_KEYS=[...FIRST_KEYS,...LAST_KEYS],{ElCollection,ElCollectionItem,COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("Dropdown"),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$16=defineComponent({name:"ElDropdown",components:{ElButton,ElButtonGroup,ElScrollbar,ElDropdownCollection:ElCollection,ElTooltip,ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup(t,{emit:r}){const V=getCurrentInstance(),oe=useNamespace("dropdown"),{t:ie}=useLocale(),le=ref(),ue=ref(),de=ref(null),pe=ref(null),he=ref(null),_e=ref(null),$e=ref(!1),Ie=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],Ve=computed(()=>({maxHeight:addUnit(t.maxHeight)})),Fe=computed(()=>[oe.m(_n.value)]),Ue=computed(()=>castArray$1(t.trigger)),qe=useId().value,Et=computed(()=>t.id||qe);watch([le,Ue],([Mn,Ln],[An])=>{var Vn,Wn,Fn;(Vn=An==null?void 0:An.$el)!=null&&Vn.removeEventListener&&An.$el.removeEventListener("pointerenter",bn),(Wn=Mn==null?void 0:Mn.$el)!=null&&Wn.removeEventListener&&Mn.$el.removeEventListener("pointerenter",bn),(Fn=Mn==null?void 0:Mn.$el)!=null&&Fn.addEventListener&&Ln.includes("hover")&&Mn.$el.addEventListener("pointerenter",bn)},{immediate:!0}),onBeforeUnmount(()=>{var Mn,Ln;(Ln=(Mn=le.value)==null?void 0:Mn.$el)!=null&&Ln.removeEventListener&&le.value.$el.removeEventListener("pointerenter",bn)});function At(){Lt()}function Lt(){var Mn;(Mn=de.value)==null||Mn.onClose()}function hn(){var Mn;(Mn=de.value)==null||Mn.onOpen()}const _n=useFormSize();function vn(...Mn){r("command",...Mn)}function bn(){var Mn,Ln;(Ln=(Mn=le.value)==null?void 0:Mn.$el)==null||Ln.focus()}function Cn(){}function Sn(){const Mn=unref(pe);Ue.value.includes("hover")&&(Mn==null||Mn.focus()),_e.value=null}function wn(Mn){_e.value=Mn}function En(Mn){$e.value||(Mn.preventDefault(),Mn.stopImmediatePropagation())}function xn(){r("visible-change",!0)}function Pn(Mn){(Mn==null?void 0:Mn.type)==="keydown"&&pe.value.focus()}function kn(){r("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:pe,role:computed(()=>t.role),triggerId:Et,isUsingKeyboard:$e,onItemEnter:Cn,onItemLeave:Sn}),provide("elDropdown",{instance:V,dropdownSize:_n,handleClick:At,commandHandler:vn,trigger:toRef(t,"trigger"),hideOnClick:toRef(t,"hideOnClick")}),{t:ie,ns:oe,scrollbar:he,wrapStyle:Ve,dropdownTriggerKls:Fe,dropdownSize:_n,triggerId:Et,triggerKeys:Ie,currentTabId:_e,handleCurrentTabIdChange:wn,handlerMainButtonClick:Mn=>{r("click",Mn)},handleEntryFocus:En,handleClose:Lt,handleOpen:hn,handleBeforeShowTooltip:xn,handleShowTooltip:Pn,handleBeforeHideTooltip:kn,onFocusAfterTrapped:Mn=>{var Ln,An;Mn.preventDefault(),(An=(Ln=pe.value)==null?void 0:Ln.focus)==null||An.call(Ln,{preventScroll:!0})},popperRef:de,contentRef:pe,triggeringElementRef:le,referenceElementRef:ue}}});function _sfc_render$j(t,r,V,oe,ie,le){var ue;const de=resolveComponent("el-dropdown-collection"),pe=resolveComponent("el-roving-focus-group"),he=resolveComponent("el-scrollbar"),_e=resolveComponent("el-only-child"),$e=resolveComponent("el-tooltip"),Ie=resolveComponent("el-button"),Ve=resolveComponent("arrow-down"),Fe=resolveComponent("el-icon"),Ue=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b(),t.ns.is("disabled",t.disabled)])},[createVNode($e,{ref:"popperRef",role:t.role,effect:t.effect,"fallback-placements":["bottom","top"],"popper-options":t.popperOptions,"gpu-acceleration":!1,"hide-after":t.trigger==="hover"?t.hideTimeout:0,"manual-mode":!0,placement:t.placement,"popper-class":[t.ns.e("popper"),t.popperClass],"reference-element":(ue=t.referenceElementRef)==null?void 0:ue.$el,trigger:t.trigger,"trigger-keys":t.triggerKeys,"trigger-target-el":t.contentRef,"show-after":t.trigger==="hover"?t.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":t.triggeringElementRef,"virtual-triggering":t.splitButton,disabled:t.disabled,transition:`${t.ns.namespace.value}-zoom-in-top`,teleported:t.teleported,pure:"",persistent:"",onBeforeShow:t.handleBeforeShowTooltip,onShow:t.handleShowTooltip,onBeforeHide:t.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode(he,{ref:"scrollbar","wrap-style":t.wrapStyle,tag:"div","view-class":t.ns.e("list")},{default:withCtx(()=>[createVNode(pe,{loop:t.loop,"current-tab-id":t.currentTabId,orientation:"horizontal",onCurrentTabIdChange:t.handleCurrentTabIdChange,onEntryFocus:t.handleEntryFocus},{default:withCtx(()=>[createVNode(de,null,{default:withCtx(()=>[renderSlot(t.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[t.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode(_e,{id:t.triggerId,ref:"triggeringElementRef",role:"button",tabindex:t.tabindex},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),t.splitButton?(openBlock(),createBlock(Ue,{key:0},{default:withCtx(()=>[createVNode(Ie,mergeProps({ref:"referenceElementRef"},t.buttonProps,{size:t.dropdownSize,type:t.type,disabled:t.disabled,tabindex:t.tabindex,onClick:t.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode(Ie,mergeProps({id:t.triggerId,ref:"triggeringElementRef"},t.buttonProps,{role:"button",size:t.dropdownSize,type:t.type,class:t.ns.e("caret-button"),disabled:t.disabled,tabindex:t.tabindex,"aria-label":t.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode(Fe,{class:normalizeClass(t.ns.e("icon"))},{default:withCtx(()=>[createVNode(Ve)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc$1(_sfc_main$16,[["render",_sfc_render$j],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const _sfc_main$15=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(t,{emit:r}){const V=useNamespace("dropdown"),{role:oe}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:ie}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:le}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:ue,tabIndex:de,handleFocus:pe,handleKeydown:he,handleMousedown:_e}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),$e=composeRefs(ie,le,ue),Ie=computed(()=>oe.value==="menu"?"menuitem":oe.value==="navigation"?"link":"button"),Ve=composeEventHandlers(Fe=>{const{code:Ue}=Fe;if(Ue===EVENT_CODE.enter||Ue===EVENT_CODE.space)return Fe.preventDefault(),Fe.stopImmediatePropagation(),r("clickimpl",Fe),!0},he);return{ns:V,itemRef:$e,dataset:{[COLLECTION_ITEM_SIGN]:""},role:Ie,tabIndex:de,handleFocus:pe,handleKeydown:Ve,handleMousedown:_e}}}),_hoisted_1$A=["aria-disabled","tabindex","role"];function _sfc_render$i(t,r,V,oe,ie,le){const ue=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[t.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:t.ns.bem("menu","item","divided")},t.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:t.itemRef},{...t.dataset,...t.$attrs},{"aria-disabled":t.disabled,class:[t.ns.be("menu","item"),t.ns.is("disabled",t.disabled)],tabindex:t.tabIndex,role:t.role,onClick:r[0]||(r[0]=de=>t.$emit("clickimpl",de)),onFocus:r[1]||(r[1]=(...de)=>t.handleFocus&&t.handleFocus(...de)),onKeydown:r[2]||(r[2]=withModifiers((...de)=>t.handleKeydown&&t.handleKeydown(...de),["self"])),onMousedown:r[3]||(r[3]=(...de)=>t.handleMousedown&&t.handleMousedown(...de)),onPointermove:r[4]||(r[4]=de=>t.$emit("pointermove",de)),onPointerleave:r[5]||(r[5]=de=>t.$emit("pointerleave",de))}),[t.icon?(openBlock(),createBlock(ue,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(t.$slots,"default")],16,_hoisted_1$A)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$15,[["render",_sfc_render$i],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const useDropdown=()=>{const t=inject("elDropdown",{}),r=computed(()=>t==null?void 0:t.dropdownSize);return{elDropdown:t,_elDropdownSize:r}},_sfc_main$14=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(t,{emit:r,attrs:V}){const{elDropdown:oe}=useDropdown(),ie=getCurrentInstance(),le=ref(null),ue=computed(()=>{var Ve,Fe;return(Fe=(Ve=unref(le))==null?void 0:Ve.textContent)!=null?Fe:""}),{onItemEnter:de,onItemLeave:pe}=inject(DROPDOWN_INJECTION_KEY,void 0),he=composeEventHandlers(Ve=>(r("pointermove",Ve),Ve.defaultPrevented),whenMouse(Ve=>{if(t.disabled){pe(Ve);return}const Fe=Ve.currentTarget;Fe===document.activeElement||Fe.contains(document.activeElement)||(de(Ve),Ve.defaultPrevented||Fe==null||Fe.focus())})),_e=composeEventHandlers(Ve=>(r("pointerleave",Ve),Ve.defaultPrevented),whenMouse(Ve=>{pe(Ve)})),$e=composeEventHandlers(Ve=>{if(!t.disabled)return r("click",Ve),Ve.type!=="keydown"&&Ve.defaultPrevented},Ve=>{var Fe,Ue,qe;if(t.disabled){Ve.stopImmediatePropagation();return}(Fe=oe==null?void 0:oe.hideOnClick)!=null&&Fe.value&&((Ue=oe.handleClick)==null||Ue.call(oe)),(qe=oe.commandHandler)==null||qe.call(oe,t.command,ie,Ve)}),Ie=computed(()=>({...t,...V}));return{handleClick:$e,handlePointerMove:he,handlePointerLeave:_e,textContent:ue,propsAndAttrs:Ie}}});function _sfc_render$h(t,r,V,oe,ie,le){var ue;const de=resolveComponent("el-dropdown-item-impl"),pe=resolveComponent("el-roving-focus-item"),he=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(he,{disabled:t.disabled,"text-value":(ue=t.textValue)!=null?ue:t.textContent},{default:withCtx(()=>[createVNode(pe,{focusable:!t.disabled},{default:withCtx(()=>[createVNode(de,mergeProps(t.propsAndAttrs,{onPointerleave:t.handlePointerLeave,onPointermove:t.handlePointerMove,onClickimpl:t.handleClick}),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$h],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const _sfc_main$13=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(t){const r=useNamespace("dropdown"),{_elDropdownSize:V}=useDropdown(),oe=V.value,{focusTrapRef:ie,onKeydown:le}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:ue,role:de,triggerId:pe}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:he,getItems:_e}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:$e,rovingFocusGroupRootStyle:Ie,tabIndex:Ve,onBlur:Fe,onFocus:Ue,onMousedown:qe}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:Et}=inject(COLLECTION_INJECTION_KEY$1,void 0),At=computed(()=>[r.b("menu"),r.bm("menu",oe==null?void 0:oe.value)]),Lt=composeRefs(ue,he,ie,$e,Et),hn=composeEventHandlers(vn=>{var bn;(bn=t.onKeydown)==null||bn.call(t,vn)},vn=>{const{currentTarget:bn,code:Cn,target:Sn}=vn;if(bn.contains(Sn),EVENT_CODE.tab===Cn&&vn.stopImmediatePropagation(),vn.preventDefault(),Sn!==unref(ue)||!FIRST_LAST_KEYS.includes(Cn))return;const En=_e().filter(xn=>!xn.disabled).map(xn=>xn.ref);LAST_KEYS.includes(Cn)&&En.reverse(),focusFirst(En)});return{size:oe,rovingFocusGroupRootStyle:Ie,tabIndex:Ve,dropdownKls:At,role:de,triggerId:pe,dropdownListWrapperRef:Lt,handleKeydown:vn=>{hn(vn),le(vn)},onBlur:Fe,onFocus:Ue,onMousedown:qe}}}),_hoisted_1$z=["role","aria-labelledby"];function _sfc_render$g(t,r,V,oe,ie,le){return openBlock(),createElementBlock("ul",{ref:t.dropdownListWrapperRef,class:normalizeClass(t.dropdownKls),style:normalizeStyle$1(t.rovingFocusGroupRootStyle),tabindex:-1,role:t.role,"aria-labelledby":t.triggerId,onBlur:r[0]||(r[0]=(...ue)=>t.onBlur&&t.onBlur(...ue)),onFocus:r[1]||(r[1]=(...ue)=>t.onFocus&&t.onFocus(...ue)),onKeydown:r[2]||(r[2]=withModifiers((...ue)=>t.handleKeydown&&t.handleKeydown(...ue),["self"])),onMousedown:r[3]||(r[3]=withModifiers((...ue)=>t.onMousedown&&t.onMousedown(...ue),["self"]))},[renderSlot(t.$slots,"default")],46,_hoisted_1$z)}var DropdownMenu=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$g],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$y={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_hoisted_2$n=["id"],_hoisted_3$b=["stop-color"],_hoisted_4$7=["stop-color"],_hoisted_5$5=["id"],_hoisted_6$2=["stop-color"],_hoisted_7=["stop-color"],_hoisted_8=["id"],_hoisted_9={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},_hoisted_11={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},_hoisted_12=["fill"],_hoisted_13=["fill"],_hoisted_14={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},_hoisted_15=["fill"],_hoisted_16=["fill"],_hoisted_17=["fill"],_hoisted_18=["fill"],_hoisted_19=["fill"],_hoisted_20={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},_hoisted_21=["fill","xlink:href"],_hoisted_22=["fill","mask"],_hoisted_23=["fill"],__default__$L=defineComponent({name:"ImgEmpty"}),_sfc_main$12=defineComponent({...__default__$L,setup(t){const r=useNamespace("empty"),V=useId();return(oe,ie)=>(openBlock(),createElementBlock("svg",_hoisted_1$y,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(V)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$b),createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$7)],8,_hoisted_2$n),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(V)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$2),createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7)],8,_hoisted_5$5),createBaseVNode("rect",{id:`path-3-${unref(V)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8)]),createBaseVNode("g",_hoisted_9,[createBaseVNode("g",_hoisted_10,[createBaseVNode("g",_hoisted_11,[createBaseVNode("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${unref(r).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref(r).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,_hoisted_13),createBaseVNode("g",_hoisted_14,[createBaseVNode("polygon",{id:"Rectangle-Copy-10",fill:`var(${unref(r).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,_hoisted_15),createBaseVNode("polygon",{id:"Rectangle-Copy-11",fill:`var(${unref(r).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16),createBaseVNode("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${unref(V)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,_hoisted_17),createBaseVNode("polygon",{id:"Rectangle-Copy-13",fill:`var(${unref(r).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,_hoisted_18)]),createBaseVNode("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${unref(V)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19),createBaseVNode("g",_hoisted_20,[createBaseVNode("use",{id:"Mask",fill:`var(${unref(r).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(V)}`},null,8,_hoisted_21),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref(r).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(V)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,_hoisted_22)]),createBaseVNode("polygon",{id:"Rectangle-Copy-18",fill:`var(${unref(r).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,_hoisted_23)])])])]))}});var ImgEmpty=_export_sfc$1(_sfc_main$12,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$x=["src"],_hoisted_2$m={key:1},__default__$K=defineComponent({name:"ElEmpty"}),_sfc_main$11=defineComponent({...__default__$K,props:emptyProps,setup(t){const r=t,{t:V}=useLocale(),oe=useNamespace("empty"),ie=computed(()=>r.description||V("el.table.emptyText")),le=computed(()=>({width:addUnit(r.imageSize)}));return(ue,de)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(oe).b())},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("image")),style:normalizeStyle$1(unref(le))},[ue.image?(openBlock(),createElementBlock("img",{key:0,src:ue.image,ondragstart:"return false"},null,8,_hoisted_1$x)):renderSlot(ue.$slots,"image",{key:1},()=>[createVNode(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(oe).e("description"))},[ue.$slots.description?renderSlot(ue.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$m,toDisplayString$1(unref(ie)),1))],2),ue.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("bottom"))},[renderSlot(ue.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$1(_sfc_main$11,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const ElEmpty=withInstall(Empty),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2}}),imageViewerEmits={close:()=>!0,switch:t=>isNumber$4(t)},_hoisted_1$w=["src"],__default__$J=defineComponent({name:"ElImageViewer"}),_sfc_main$10=defineComponent({...__default__$J,props:imageViewerProps,emits:imageViewerEmits,setup(t,{expose:r,emit:V}){const oe=t,ie={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:le}=useLocale(),ue=useNamespace("image-viewer"),{nextZIndex:de}=useZIndex(),pe=ref(),he=ref([]),_e=effectScope(),$e=ref(!0),Ie=ref(oe.initialIndex),Ve=shallowRef(ie.CONTAIN),Fe=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Ue=computed(()=>{const{urlList:An}=oe;return An.length<=1}),qe=computed(()=>Ie.value===0),Et=computed(()=>Ie.value===oe.urlList.length-1),At=computed(()=>oe.urlList[Ie.value]),Lt=computed(()=>[ue.e("btn"),ue.e("prev"),ue.is("disabled",!oe.infinite&&qe.value)]),hn=computed(()=>[ue.e("btn"),ue.e("next"),ue.is("disabled",!oe.infinite&&Et.value)]),_n=computed(()=>{const{scale:An,deg:Vn,offsetX:Wn,offsetY:Fn,enableTransition:Yn}=Fe.value;let tr=Wn/An,yr=Fn/An;switch(Vn%360){case 90:case-270:[tr,yr]=[yr,-tr];break;case 180:case-180:[tr,yr]=[-tr,-yr];break;case 270:case-90:[tr,yr]=[-yr,tr];break}const Jn={transform:`scale(${An}) rotate(${Vn}deg) translate(${tr}px, ${yr}px)`,transition:Yn?"transform .3s":""};return Ve.value.name===ie.CONTAIN.name&&(Jn.maxWidth=Jn.maxHeight="100%"),Jn}),vn=computed(()=>isNumber$4(oe.zIndex)?oe.zIndex:de());function bn(){Sn(),V("close")}function Cn(){const An=throttle$1(Wn=>{switch(Wn.code){case EVENT_CODE.esc:oe.closeOnPressEscape&&bn();break;case EVENT_CODE.space:kn();break;case EVENT_CODE.left:Dn();break;case EVENT_CODE.up:Ln("zoomIn");break;case EVENT_CODE.right:Mn();break;case EVENT_CODE.down:Ln("zoomOut");break}}),Vn=throttle$1(Wn=>{const Fn=Wn.deltaY||Wn.deltaX;Ln(Fn<0?"zoomIn":"zoomOut",{zoomRate:oe.zoomRate,enableTransition:!1})});_e.run(()=>{useEventListener$1(document,"keydown",An),useEventListener$1(document,"wheel",Vn)})}function Sn(){_e.stop()}function wn(){$e.value=!1}function En(An){$e.value=!1,An.target.alt=le("el.image.error")}function xn(An){if($e.value||An.button!==0||!pe.value)return;Fe.value.enableTransition=!1;const{offsetX:Vn,offsetY:Wn}=Fe.value,Fn=An.pageX,Yn=An.pageY,tr=throttle$1(Jn=>{Fe.value={...Fe.value,offsetX:Vn+Jn.pageX-Fn,offsetY:Wn+Jn.pageY-Yn}}),yr=useEventListener$1(document,"mousemove",tr);useEventListener$1(document,"mouseup",()=>{yr()}),An.preventDefault()}function Pn(){Fe.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function kn(){if($e.value)return;const An=keysOf(ie),Vn=Object.values(ie),Wn=Ve.value.name,Yn=(Vn.findIndex(tr=>tr.name===Wn)+1)%An.length;Ve.value=ie[An[Yn]],Pn()}function Nn(An){const Vn=oe.urlList.length;Ie.value=(An+Vn)%Vn}function Dn(){qe.value&&!oe.infinite||Nn(Ie.value-1)}function Mn(){Et.value&&!oe.infinite||Nn(Ie.value+1)}function Ln(An,Vn={}){if($e.value)return;const{zoomRate:Wn,rotateDeg:Fn,enableTransition:Yn}={zoomRate:oe.zoomRate,rotateDeg:90,enableTransition:!0,...Vn};switch(An){case"zoomOut":Fe.value.scale>.2&&(Fe.value.scale=Number.parseFloat((Fe.value.scale/Wn).toFixed(3)));break;case"zoomIn":Fe.value.scale<7&&(Fe.value.scale=Number.parseFloat((Fe.value.scale*Wn).toFixed(3)));break;case"clockwise":Fe.value.deg+=Fn;break;case"anticlockwise":Fe.value.deg-=Fn;break}Fe.value.enableTransition=Yn}return watch(At,()=>{nextTick(()=>{const An=he.value[0];An!=null&&An.complete||($e.value=!0)})}),watch(Ie,An=>{Pn(),V("switch",An)}),onMounted(()=>{var An,Vn;Cn(),(Vn=(An=pe.value)==null?void 0:An.focus)==null||Vn.call(An)}),r({setActiveItem:Nn}),(An,Vn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!An.teleported},[createVNode(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:pe,tabindex:-1,class:normalizeClass(unref(ue).e("wrapper")),style:normalizeStyle$1({zIndex:unref(vn)})},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("mask")),onClick:Vn[0]||(Vn[0]=withModifiers(Wn=>An.hideOnClickModal&&bn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(ue).e("btn"),unref(ue).e("close")]),onClick:bn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Ue)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(unref(Lt)),onClick:Dn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass(unref(hn)),onClick:Mn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(ue).e("btn"),unref(ue).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("actions__inner"))},[createVNode(unref(ElIcon),{onClick:Vn[1]||(Vn[1]=Wn=>Ln("zoomOut"))},{default:withCtx(()=>[createVNode(unref(zoom_out_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Vn[2]||(Vn[2]=Wn=>Ln("zoomIn"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(ue).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:kn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ve).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(ue).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:Vn[3]||(Vn[3]=Wn=>Ln("anticlockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_left_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Vn[4]||(Vn[4]=Wn=>Ln("clockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(ue).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(An.urlList,(Wn,Fn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:Yn=>he.value[Fn]=Yn,key:Wn,src:Wn,style:normalizeStyle$1(unref(_n)),class:normalizeClass(unref(ue).e("img")),onLoad:wn,onError:En,onMousedown:xn},null,46,_hoisted_1$w)),[[vShow,Fn===Ie.value]])),128))],2),renderSlot(An.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$1(_sfc_main$10,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2}}),imageEmits={load:t=>t instanceof Event,error:t=>t instanceof Event,switch:t=>isNumber$4(t),close:()=>!0,show:()=>!0},_hoisted_1$v=["src","loading"],_hoisted_2$l={key:0},__default__$I=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$$=defineComponent({...__default__$I,props:imageProps,emits:imageEmits,setup(t,{emit:r}){const V=t;let oe="";const{t:ie}=useLocale(),le=useNamespace("image"),ue=useAttrs$1(),de=useAttrs(),pe=ref(),he=ref(!1),_e=ref(!0),$e=ref(!1),Ie=ref(),Ve=ref(),Fe=isClient$1&&"loading"in HTMLImageElement.prototype;let Ue,qe;const Et=computed(()=>[le.e("inner"),hn.value&&le.e("preview"),_e.value&&le.is("loading")]),At=computed(()=>ue.style),Lt=computed(()=>{const{fit:Ln}=V;return isClient$1&&Ln?{objectFit:Ln}:{}}),hn=computed(()=>{const{previewSrcList:Ln}=V;return Array.isArray(Ln)&&Ln.length>0}),_n=computed(()=>{const{previewSrcList:Ln,initialIndex:An}=V;let Vn=An;return An>Ln.length-1&&(Vn=0),Vn}),vn=computed(()=>V.loading==="eager"?!1:!Fe&&V.loading==="lazy"||V.lazy),bn=()=>{isClient$1&&(_e.value=!0,he.value=!1,pe.value=V.src)};function Cn(Ln){_e.value=!1,he.value=!1,r("load",Ln)}function Sn(Ln){_e.value=!1,he.value=!0,r("error",Ln)}function wn(){isInContainer(Ie.value,Ve.value)&&(bn(),Pn())}const En=useThrottleFn(wn,200,!0);async function xn(){var Ln;if(!isClient$1)return;await nextTick();const{scrollContainer:An}=V;isElement$2(An)?Ve.value=An:isString$6(An)&&An!==""?Ve.value=(Ln=document.querySelector(An))!=null?Ln:void 0:Ie.value&&(Ve.value=getScrollContainer(Ie.value)),Ve.value&&(Ue=useEventListener$1(Ve,"scroll",En),setTimeout(()=>wn(),100))}function Pn(){!isClient$1||!Ve.value||!En||(Ue==null||Ue(),Ve.value=void 0)}function kn(Ln){if(Ln.ctrlKey){if(Ln.deltaY<0)return Ln.preventDefault(),!1;if(Ln.deltaY>0)return Ln.preventDefault(),!1}}function Nn(){hn.value&&(qe=useEventListener$1("wheel",kn,{passive:!1}),oe=document.body.style.overflow,document.body.style.overflow="hidden",$e.value=!0,r("show"))}function Dn(){qe==null||qe(),document.body.style.overflow=oe,$e.value=!1,r("close")}function Mn(Ln){r("switch",Ln)}return watch(()=>V.src,()=>{vn.value?(_e.value=!0,he.value=!1,Pn(),xn()):bn()}),onMounted(()=>{vn.value?xn():bn()}),(Ln,An)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:Ie,class:normalizeClass([unref(le).b(),Ln.$attrs.class]),style:normalizeStyle$1(unref(At))},[he.value?renderSlot(Ln.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(le).e("error"))},toDisplayString$1(unref(ie)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[pe.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(de),{src:pe.value,loading:Ln.loading,style:unref(Lt),class:unref(Et),onClick:Nn,onLoad:Cn,onError:Sn}),null,16,_hoisted_1$v)):createCommentVNode("v-if",!0),_e.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(le).e("wrapper"))},[renderSlot(Ln.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(le).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),unref(hn)?(openBlock(),createElementBlock(Fragment,{key:2},[$e.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":Ln.zIndex,"initial-index":unref(_n),infinite:Ln.infinite,"zoom-rate":Ln.zoomRate,"url-list":Ln.previewSrcList,"hide-on-click-modal":Ln.hideOnClickModal,teleported:Ln.previewTeleported,"close-on-press-escape":Ln.closeOnPressEscape,onClose:Dn,onSwitch:Mn},{default:withCtx(()=>[Ln.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$l,[renderSlot(Ln.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],6))}});var Image$1=_export_sfc$1(_sfc_main$$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const ElImage=withInstall(Image$1),inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:t=>t===null||isNumber$4(t)||["min","max"].includes(t),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:t=>t>=0&&t===Number.parseInt(`${t}`,10)},validateEvent:{type:Boolean,default:!0}}),inputNumberEmits={[CHANGE_EVENT]:(t,r)=>r!==t,blur:t=>t instanceof FocusEvent,focus:t=>t instanceof FocusEvent,[INPUT_EVENT]:t=>isNumber$4(t)||isNil(t),[UPDATE_MODEL_EVENT]:t=>isNumber$4(t)||isNil(t)},_hoisted_1$u=["aria-label","onKeydown"],_hoisted_2$k=["aria-label","onKeydown"],__default__$H=defineComponent({name:"ElInputNumber"}),_sfc_main$_=defineComponent({...__default__$H,props:inputNumberProps,emits:inputNumberEmits,setup(t,{expose:r,emit:V}){const oe=t,{t:ie}=useLocale(),le=useNamespace("input-number"),ue=ref(),de=reactive({currentValue:oe.modelValue,userInput:null}),{formItem:pe}=useFormItem(),he=computed(()=>isNumber$4(oe.modelValue)&&oe.modelValue<=oe.min),_e=computed(()=>isNumber$4(oe.modelValue)&&oe.modelValue>=oe.max),$e=computed(()=>{const Pn=Et(oe.step);return isUndefined$1(oe.precision)?Math.max(Et(oe.modelValue),Pn):(Pn>oe.precision,oe.precision)}),Ie=computed(()=>oe.controls&&oe.controlsPosition==="right"),Ve=useFormSize(),Fe=useFormDisabled(),Ue=computed(()=>{if(de.userInput!==null)return de.userInput;let Pn=de.currentValue;if(isNil(Pn))return"";if(isNumber$4(Pn)){if(Number.isNaN(Pn))return"";isUndefined$1(oe.precision)||(Pn=Pn.toFixed(oe.precision))}return Pn}),qe=(Pn,kn)=>{if(isUndefined$1(kn)&&(kn=$e.value),kn===0)return Math.round(Pn);let Nn=String(Pn);const Dn=Nn.indexOf(".");if(Dn===-1||!Nn.replace(".","").split("")[Dn+kn])return Pn;const An=Nn.length;return Nn.charAt(An-1)==="5"&&(Nn=`${Nn.slice(0,Math.max(0,An-1))}6`),Number.parseFloat(Number(Nn).toFixed(kn))},Et=Pn=>{if(isNil(Pn))return 0;const kn=Pn.toString(),Nn=kn.indexOf(".");let Dn=0;return Nn!==-1&&(Dn=kn.length-Nn-1),Dn},At=(Pn,kn=1)=>isNumber$4(Pn)?qe(Pn+oe.step*kn):de.currentValue,Lt=()=>{if(oe.readonly||Fe.value||_e.value)return;const Pn=Number(Ue.value)||0,kn=At(Pn);vn(kn),V(INPUT_EVENT,de.currentValue)},hn=()=>{if(oe.readonly||Fe.value||he.value)return;const Pn=Number(Ue.value)||0,kn=At(Pn,-1);vn(kn),V(INPUT_EVENT,de.currentValue)},_n=(Pn,kn)=>{const{max:Nn,min:Dn,step:Mn,precision:Ln,stepStrictly:An,valueOnClear:Vn}=oe;Nn<Dn&&throwError$1("InputNumber","min should not be greater than max.");let Wn=Number(Pn);if(isNil(Pn)||Number.isNaN(Wn))return null;if(Pn===""){if(Vn===null)return null;Wn=isString$6(Vn)?{min:Dn,max:Nn}[Vn]:Vn}return An&&(Wn=qe(Math.round(Wn/Mn)*Mn,Ln)),isUndefined$1(Ln)||(Wn=qe(Wn,Ln)),(Wn>Nn||Wn<Dn)&&(Wn=Wn>Nn?Nn:Dn,kn&&V(UPDATE_MODEL_EVENT,Wn)),Wn},vn=(Pn,kn=!0)=>{var Nn;const Dn=de.currentValue,Mn=_n(Pn);if(!kn){V(UPDATE_MODEL_EVENT,Mn);return}Dn!==Mn&&(de.userInput=null,V(UPDATE_MODEL_EVENT,Mn),V(CHANGE_EVENT,Mn,Dn),oe.validateEvent&&((Nn=pe==null?void 0:pe.validate)==null||Nn.call(pe,"change").catch(Ln=>void 0)),de.currentValue=Mn)},bn=Pn=>{de.userInput=Pn;const kn=Pn===""?null:Number(Pn);V(INPUT_EVENT,kn),vn(kn,!1)},Cn=Pn=>{const kn=Pn!==""?Number(Pn):"";(isNumber$4(kn)&&!Number.isNaN(kn)||Pn==="")&&vn(kn),de.userInput=null},Sn=()=>{var Pn,kn;(kn=(Pn=ue.value)==null?void 0:Pn.focus)==null||kn.call(Pn)},wn=()=>{var Pn,kn;(kn=(Pn=ue.value)==null?void 0:Pn.blur)==null||kn.call(Pn)},En=Pn=>{V("focus",Pn)},xn=Pn=>{var kn;V("blur",Pn),oe.validateEvent&&((kn=pe==null?void 0:pe.validate)==null||kn.call(pe,"blur").catch(Nn=>void 0))};return watch(()=>oe.modelValue,Pn=>{const kn=_n(de.userInput),Nn=_n(Pn,!0);!isNumber$4(kn)&&(!kn||kn!==Nn)&&(de.currentValue=Nn,de.userInput=null)},{immediate:!0}),onMounted(()=>{var Pn;const{min:kn,max:Nn,modelValue:Dn}=oe,Mn=(Pn=ue.value)==null?void 0:Pn.input;if(Mn.setAttribute("role","spinbutton"),Number.isFinite(Nn)?Mn.setAttribute("aria-valuemax",String(Nn)):Mn.removeAttribute("aria-valuemax"),Number.isFinite(kn)?Mn.setAttribute("aria-valuemin",String(kn)):Mn.removeAttribute("aria-valuemin"),Mn.setAttribute("aria-valuenow",de.currentValue||de.currentValue===0?String(de.currentValue):""),Mn.setAttribute("aria-disabled",String(Fe.value)),!isNumber$4(Dn)&&Dn!=null){let Ln=Number(Dn);Number.isNaN(Ln)&&(Ln=null),V(UPDATE_MODEL_EVENT,Ln)}}),onUpdated(()=>{var Pn,kn;const Nn=(Pn=ue.value)==null?void 0:Pn.input;Nn==null||Nn.setAttribute("aria-valuenow",`${(kn=de.currentValue)!=null?kn:""}`)}),r({focus:Sn,blur:wn}),(Pn,kn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b(),unref(le).m(unref(Ve)),unref(le).is("disabled",unref(Fe)),unref(le).is("without-controls",!Pn.controls),unref(le).is("controls-right",unref(Ie))]),onDragstart:kn[1]||(kn[1]=withModifiers(()=>{},["prevent"]))},[Pn.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(ie)("el.inputNumber.decrease"),class:normalizeClass([unref(le).e("decrease"),unref(le).is("disabled",unref(he))]),onKeydown:withKeys(hn,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Ie)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})],42,_hoisted_1$u)),[[unref(vRepeatClick),hn]]):createCommentVNode("v-if",!0),Pn.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(ie)("el.inputNumber.increase"),class:normalizeClass([unref(le).e("increase"),unref(le).is("disabled",unref(_e))]),onKeydown:withKeys(Lt,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Ie)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})],42,_hoisted_2$k)),[[unref(vRepeatClick),Lt]]):createCommentVNode("v-if",!0),createVNode(unref(ElInput),{id:Pn.id,ref_key:"input",ref:ue,type:"number",step:Pn.step,"model-value":unref(Ue),placeholder:Pn.placeholder,readonly:Pn.readonly,disabled:unref(Fe),size:unref(Ve),max:Pn.max,min:Pn.min,name:Pn.name,label:Pn.label,"validate-event":!1,onWheel:kn[0]||(kn[0]=withModifiers(()=>{},["prevent"])),onKeydown:[withKeys(withModifiers(Lt,["prevent"]),["up"]),withKeys(withModifiers(hn,["prevent"]),["down"])],onBlur:xn,onFocus:En,onInput:bn,onChange:Cn},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var InputNumber=_export_sfc$1(_sfc_main$_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},icon:{type:iconPropType}}),linkEmits={click:t=>t instanceof MouseEvent},_hoisted_1$t=["href"],__default__$G=defineComponent({name:"ElLink"}),_sfc_main$Z=defineComponent({...__default__$G,props:linkProps,emits:linkEmits,setup(t,{emit:r}){const V=t,oe=useNamespace("link"),ie=computed(()=>[oe.b(),oe.m(V.type),oe.is("disabled",V.disabled),oe.is("underline",V.underline&&!V.disabled)]);function le(ue){V.disabled||r("click",ue)}return(ue,de)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(ie)),href:ue.disabled||!ue.href?void 0:ue.href,onClick:le},[ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ue.icon)))]),_:1})):createCommentVNode("v-if",!0),ue.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(oe).e("inner"))},[renderSlot(ue.$slots,"default")],2)):createCommentVNode("v-if",!0),ue.$slots.icon?renderSlot(ue.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$t))}});var Link=_export_sfc$1(_sfc_main$Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor(r,V){this.parent=r,this.domNode=V,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(r){r===this.subMenuItems.length?r=0:r<0&&(r=this.subMenuItems.length-1),this.subMenuItems[r].focus(),this.subIndex=r}addListeners(){const r=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,V=>{V.addEventListener("keydown",oe=>{let ie=!1;switch(oe.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),ie=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),ie=!0;break}case EVENT_CODE.tab:{triggerEvent(r,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{ie=!0,oe.currentTarget.click();break}}return ie&&(oe.preventDefault(),oe.stopPropagation()),!1})})}},MenuItem$1=class{constructor(r,V){this.domNode=r,this.submenu=null,this.submenu=null,this.init(V)}init(r){this.domNode.setAttribute("tabindex","0");const V=this.domNode.querySelector(`.${r}-menu`);V&&(this.submenu=new SubMenu$1(this,V)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",r=>{let V=!1;switch(r.code){case EVENT_CODE.down:{triggerEvent(r.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),V=!0;break}case EVENT_CODE.up:{triggerEvent(r.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),V=!0;break}case EVENT_CODE.tab:{triggerEvent(r.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{V=!0,r.currentTarget.click();break}}V&&r.preventDefault()})}},Menu$1=class{constructor(r,V){this.domNode=r,this.init(V)}init(r){const V=this.domNode.childNodes;Array.from(V).forEach(oe=>{oe.nodeType===1&&new MenuItem$1(oe,r)})}};const _sfc_main$Y=defineComponent({name:"ElMenuCollapseTransition",setup(){const t=useNamespace("menu");return{listeners:{onBeforeEnter:V=>V.style.opacity="0.2",onEnter(V,oe){addClass(V,`${t.namespace.value}-opacity-transition`),V.style.opacity="1",oe()},onAfterEnter(V){removeClass(V,`${t.namespace.value}-opacity-transition`),V.style.opacity=""},onBeforeLeave(V){V.dataset||(V.dataset={}),hasClass(V,t.m("collapse"))?(removeClass(V,t.m("collapse")),V.dataset.oldOverflow=V.style.overflow,V.dataset.scrollWidth=V.clientWidth.toString(),addClass(V,t.m("collapse"))):(addClass(V,t.m("collapse")),V.dataset.oldOverflow=V.style.overflow,V.dataset.scrollWidth=V.clientWidth.toString(),removeClass(V,t.m("collapse"))),V.style.width=`${V.scrollWidth}px`,V.style.overflow="hidden"},onLeave(V){addClass(V,"horizontal-collapse-transition"),V.style.width=`${V.dataset.scrollWidth}px`}}}}});function _sfc_render$f(t,r,V,oe,ie,le){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},t.listeners),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$f],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function useMenu(t,r){const V=computed(()=>{let ie=t.parent;const le=[r.value];for(;ie.type.name!=="ElMenu";)ie.props.index&&le.unshift(ie.props.index),ie=ie.parent;return le});return{parentMenu:computed(()=>{let ie=t.parent;for(;ie&&!["ElMenu","ElSubMenu"].includes(ie.type.name);)ie=ie.parent;return ie}),indexPath:V}}function useMenuColor(t){return computed(()=>{const V=t.backgroundColor;return V?new TinyColor(V).shade(20).toString():""})}const useMenuCssVar=(t,r)=>{const V=useNamespace("menu");return computed(()=>V.cssVarBlock({"text-color":t.textColor||"","hover-text-color":t.textColor||"","bg-color":t.backgroundColor||"","hover-bg-color":useMenuColor(t).value||"","active-color":t.activeTextColor||"",level:`${r}`}))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},teleported:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6},expandCloseIcon:{type:iconPropType},expandOpenIcon:{type:iconPropType},collapseCloseIcon:{type:iconPropType},collapseOpenIcon:{type:iconPropType}}),COMPONENT_NAME$c="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$c,props:subMenuProps,setup(t,{slots:r,expose:V}){useDeprecated({from:"popper-append-to-body",replacement:"teleported",scope:COMPONENT_NAME$c,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},computed(()=>t.popperAppendToBody!==void 0));const oe=getCurrentInstance(),{indexPath:ie,parentMenu:le}=useMenu(oe,computed(()=>t.index)),ue=useNamespace("menu"),de=useNamespace("sub-menu"),pe=inject("rootMenu");pe||throwError$1(COMPONENT_NAME$c,"can not inject root menu");const he=inject(`subMenu:${le.value.uid}`);he||throwError$1(COMPONENT_NAME$c,"can not inject sub menu");const _e=ref({}),$e=ref({});let Ie;const Ve=ref(!1),Fe=ref(),Ue=ref(null),qe=computed(()=>En.value==="horizontal"&&At.value?"bottom-start":"right-start"),Et=computed(()=>En.value==="horizontal"&&At.value||En.value==="vertical"&&!pe.props.collapse?t.expandCloseIcon&&t.expandOpenIcon?vn.value?t.expandOpenIcon:t.expandCloseIcon:arrow_down_default:t.collapseCloseIcon&&t.collapseOpenIcon?vn.value?t.collapseOpenIcon:t.collapseCloseIcon:arrow_right_default),At=computed(()=>he.level===0),Lt=computed(()=>{var Vn;const Wn=(Vn=t.teleported)!=null?Vn:t.popperAppendToBody;return Wn===void 0?At.value:Wn}),hn=computed(()=>pe.props.collapse?`${ue.namespace.value}-zoom-in-left`:`${ue.namespace.value}-zoom-in-top`),_n=computed(()=>En.value==="horizontal"&&At.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),vn=computed(()=>pe.openedMenus.includes(t.index)),bn=computed(()=>{let Vn=!1;return Object.values(_e.value).forEach(Wn=>{Wn.active&&(Vn=!0)}),Object.values($e.value).forEach(Wn=>{Wn.active&&(Vn=!0)}),Vn}),Cn=computed(()=>pe.props.backgroundColor||""),Sn=computed(()=>pe.props.activeTextColor||""),wn=computed(()=>pe.props.textColor||""),En=computed(()=>pe.props.mode),xn=reactive({index:t.index,indexPath:ie,active:bn}),Pn=useMenuCssVar(pe.props,he.level+1),kn=computed(()=>En.value!=="horizontal"?{color:wn.value}:{borderBottomColor:bn.value?pe.props.activeTextColor?Sn.value:"":"transparent",color:bn.value?Sn.value:wn.value}),Nn=()=>{var Vn,Wn,Fn;return(Fn=(Wn=(Vn=Ue.value)==null?void 0:Vn.popperRef)==null?void 0:Wn.popperInstanceRef)==null?void 0:Fn.destroy()},Dn=Vn=>{Vn||Nn()},Mn=()=>{pe.props.menuTrigger==="hover"&&pe.props.mode==="horizontal"||pe.props.collapse&&pe.props.mode==="vertical"||t.disabled||pe.handleSubMenuClick({index:t.index,indexPath:ie.value,active:bn.value})},Ln=(Vn,Wn=t.showTimeout)=>{var Fn;Vn.type!=="focus"&&(pe.props.menuTrigger==="click"&&pe.props.mode==="horizontal"||!pe.props.collapse&&pe.props.mode==="vertical"||t.disabled||(he.mouseInChild.value=!0,Ie==null||Ie(),{stop:Ie}=useTimeoutFn$1(()=>{pe.openMenu(t.index,ie.value)},Wn),Lt.value&&((Fn=le.value.vnode.el)==null||Fn.dispatchEvent(new MouseEvent("mouseenter")))))},An=(Vn=!1)=>{var Wn,Fn;pe.props.menuTrigger==="click"&&pe.props.mode==="horizontal"||!pe.props.collapse&&pe.props.mode==="vertical"||(Ie==null||Ie(),he.mouseInChild.value=!1,{stop:Ie}=useTimeoutFn$1(()=>!Ve.value&&pe.closeMenu(t.index,ie.value),t.hideTimeout),Lt.value&&Vn&&((Wn=oe.parent)==null?void 0:Wn.type.name)==="ElSubMenu"&&((Fn=he.handleMouseleave)==null||Fn.call(he,!0)))};watch(()=>pe.props.collapse,Vn=>Dn(!!Vn));{const Vn=Fn=>{$e.value[Fn.index]=Fn},Wn=Fn=>{delete $e.value[Fn.index]};provide(`subMenu:${oe.uid}`,{addSubMenu:Vn,removeSubMenu:Wn,handleMouseleave:An,mouseInChild:Ve,level:he.level+1})}return V({opened:vn}),onMounted(()=>{pe.addSubMenu(xn),he.addSubMenu(xn)}),onBeforeUnmount(()=>{he.removeSubMenu(xn),pe.removeSubMenu(xn)}),()=>{var Vn;const Wn=[(Vn=r.title)==null?void 0:Vn.call(r),h$2(ElIcon,{class:de.e("icon-arrow"),style:{transform:vn.value?t.expandCloseIcon&&t.expandOpenIcon||t.collapseCloseIcon&&t.collapseOpenIcon&&pe.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$6(Et.value)?h$2(oe.appContext.components[Et.value]):h$2(Et.value)})],Fn=pe.isMenuPopup?h$2(ElTooltip,{ref:Ue,visible:vn.value,effect:"light",pure:!0,offset:t.popperOffset,showArrow:!1,persistent:!0,popperClass:t.popperClass,placement:qe.value,teleported:Lt.value,fallbackPlacements:_n.value,transition:hn.value,gpuAcceleration:!1},{content:()=>{var Yn;return h$2("div",{class:[ue.m(En.value),ue.m("popup-container"),t.popperClass],onMouseenter:tr=>Ln(tr,100),onMouseleave:()=>An(!0),onFocus:tr=>Ln(tr,100)},[h$2("ul",{class:[ue.b(),ue.m("popup"),ue.m(`popup-${qe.value}`)],style:Pn.value},[(Yn=r.default)==null?void 0:Yn.call(r)])])},default:()=>h$2("div",{class:de.e("title"),style:[kn.value,{backgroundColor:Cn.value}],onClick:Mn},Wn)}):h$2(Fragment,{},[h$2("div",{class:de.e("title"),style:[kn.value,{backgroundColor:Cn.value}],ref:Fe,onClick:Mn},Wn),h$2(_CollapseTransition,{},{default:()=>{var Yn;return withDirectives(h$2("ul",{role:"menu",class:[ue.b(),ue.m("inline")],style:Pn.value},[(Yn=r.default)==null?void 0:Yn.call(r)]),[[vShow,vn.value]])}})]);return h$2("li",{class:[de.b(),de.is("active",bn.value),de.is("opened",vn.value),de.is("disabled",t.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:vn.value,onMouseenter:Ln,onMouseleave:()=>An(!0),onFocus:Ln},[Fn])}}});const menuProps=buildProps({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:definePropType(Array),default:()=>mutable([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperEffect:{type:String,values:["dark","light"],default:"dark"}}),checkIndexPath=t=>Array.isArray(t)&&t.every(r=>isString$6(r)),menuEmits={close:(t,r)=>isString$6(t)&&checkIndexPath(r),open:(t,r)=>isString$6(t)&&checkIndexPath(r),select:(t,r,V,oe)=>isString$6(t)&&checkIndexPath(r)&&isObject$9(V)&&(oe===void 0||oe instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(t,{emit:r,slots:V,expose:oe}){const ie=getCurrentInstance(),le=ie.appContext.config.globalProperties.$router,ue=ref(),de=useNamespace("menu"),pe=useNamespace("sub-menu"),he=ref(-1),_e=ref(t.defaultOpeneds&&!t.collapse?t.defaultOpeneds.slice(0):[]),$e=ref(t.defaultActive),Ie=ref({}),Ve=ref({}),Fe=computed(()=>t.mode==="horizontal"||t.mode==="vertical"&&t.collapse),Ue=()=>{const En=$e.value&&Ie.value[$e.value];if(!En||t.mode==="horizontal"||t.collapse)return;En.indexPath.forEach(Pn=>{const kn=Ve.value[Pn];kn&&qe(Pn,kn.indexPath)})},qe=(En,xn)=>{_e.value.includes(En)||(t.uniqueOpened&&(_e.value=_e.value.filter(Pn=>xn.includes(Pn))),_e.value.push(En),r("open",En,xn))},Et=En=>{const xn=_e.value.indexOf(En);xn!==-1&&_e.value.splice(xn,1)},At=(En,xn)=>{Et(En),r("close",En,xn)},Lt=({index:En,indexPath:xn})=>{_e.value.includes(En)?At(En,xn):qe(En,xn)},hn=En=>{(t.mode==="horizontal"||t.collapse)&&(_e.value=[]);const{index:xn,indexPath:Pn}=En;if(!(isNil(xn)||isNil(Pn)))if(t.router&&le){const kn=En.route||xn,Nn=le.push(kn).then(Dn=>(Dn||($e.value=xn),Dn));r("select",xn,Pn,{index:xn,indexPath:Pn,route:kn},Nn)}else $e.value=xn,r("select",xn,Pn,{index:xn,indexPath:Pn})},_n=En=>{const xn=Ie.value,Pn=xn[En]||$e.value&&xn[$e.value]||xn[t.defaultActive];Pn?$e.value=Pn.index:$e.value=En},vn=()=>{var En,xn;if(!ue.value)return-1;const Pn=Array.from((xn=(En=ue.value)==null?void 0:En.childNodes)!=null?xn:[]).filter(Vn=>Vn.nodeName!=="#comment"&&(Vn.nodeName!=="#text"||Vn.nodeValue)),kn=64,Nn=Number.parseInt(getComputedStyle(ue.value).paddingLeft,10),Dn=Number.parseInt(getComputedStyle(ue.value).paddingRight,10),Mn=ue.value.clientWidth-Nn-Dn;let Ln=0,An=0;return Pn.forEach((Vn,Wn)=>{Ln+=Vn.offsetWidth||0,Ln<=Mn-kn&&(An=Wn+1)}),An===Pn.length?-1:An},bn=(En,xn=33.34)=>{let Pn;return()=>{Pn&&clearTimeout(Pn),Pn=setTimeout(()=>{En()},xn)}};let Cn=!0;const Sn=()=>{const En=()=>{he.value=-1,nextTick(()=>{he.value=vn()})};Cn?En():bn(En)(),Cn=!1};watch(()=>t.defaultActive,En=>{Ie.value[En]||($e.value=""),_n(En)}),watch(()=>t.collapse,En=>{En&&(_e.value=[])}),watch(Ie.value,Ue);let wn;watchEffect(()=>{t.mode==="horizontal"&&t.ellipsis?wn=useResizeObserver$1(ue,Sn).stop:wn==null||wn()});{const En=Nn=>{Ve.value[Nn.index]=Nn},xn=Nn=>{delete Ve.value[Nn.index]};provide("rootMenu",reactive({props:t,openedMenus:_e,items:Ie,subMenus:Ve,activeIndex:$e,isMenuPopup:Fe,addMenuItem:Nn=>{Ie.value[Nn.index]=Nn},removeMenuItem:Nn=>{delete Ie.value[Nn.index]},addSubMenu:En,removeSubMenu:xn,openMenu:qe,closeMenu:At,handleMenuItemClick:hn,handleSubMenuClick:Lt})),provide(`subMenu:${ie.uid}`,{addSubMenu:En,removeSubMenu:xn,mouseInChild:ref(!1),level:0})}return onMounted(()=>{t.mode==="horizontal"&&new Menu$1(ie.vnode.el,de.namespace.value)}),oe({open:xn=>{const{indexPath:Pn}=Ve.value[xn];Pn.forEach(kn=>qe(kn,Pn))},close:Et,handleResize:Sn}),()=>{var En,xn;let Pn=(xn=(En=V.default)==null?void 0:En.call(V))!=null?xn:[];const kn=[];if(t.mode==="horizontal"&&ue.value){const Mn=flattedChildren(Pn),Ln=he.value===-1?Mn:Mn.slice(0,he.value),An=he.value===-1?[]:Mn.slice(he.value);An!=null&&An.length&&t.ellipsis&&(Pn=Ln,kn.push(h$2(SubMenu,{index:"sub-menu-more",class:pe.e("hide-arrow")},{title:()=>h$2(ElIcon,{class:pe.e("icon-more")},{default:()=>h$2(more_default)}),default:()=>An})))}const Nn=useMenuCssVar(t,0),Dn=h$2("ul",{key:String(t.collapse),role:"menubar",ref:ue,style:Nn.value,class:{[de.b()]:!0,[de.m(t.mode)]:!0,[de.m("collapse")]:t.collapse}},[...Pn,...kn]);return t.collapseTransition&&t.mode==="vertical"?h$2(ElMenuCollapseTransition,()=>Dn):Dn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:t=>isString$6(t.index)&&Array.isArray(t.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$X=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(t,{emit:r}){const V=getCurrentInstance(),oe=inject("rootMenu"),ie=useNamespace("menu"),le=useNamespace("menu-item");oe||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:ue,indexPath:de}=useMenu(V,toRef(t,"index")),pe=inject(`subMenu:${ue.value.uid}`);pe||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const he=computed(()=>t.index===oe.activeIndex),_e=reactive({index:t.index,indexPath:de,active:he}),$e=()=>{t.disabled||(oe.handleMenuItemClick({index:t.index,indexPath:de.value,route:t.route}),r("click",_e))};return onMounted(()=>{pe.addSubMenu(_e),oe.addMenuItem(_e)}),onBeforeUnmount(()=>{pe.removeSubMenu(_e),oe.removeMenuItem(_e)}),{parentMenu:ue,rootMenu:oe,active:he,nsMenu:ie,nsMenuItem:le,handleClick:$e}}});function _sfc_render$e(t,r,V,oe,ie,le){const ue=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([t.nsMenuItem.b(),t.nsMenuItem.is("active",t.active),t.nsMenuItem.is("disabled",t.disabled)]),role:"menuitem",tabindex:"-1",onClick:r[0]||(r[0]=(...de)=>t.handleClick&&t.handleClick(...de))},[t.parentMenu.type.name==="ElMenu"&&t.rootMenu.props.collapse&&t.$slots.title?(openBlock(),createBlock(ue,{key:0,effect:t.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot(t.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(t.nsMenu.be("tooltip","trigger"))},[renderSlot(t.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(t.$slots,"default"),renderSlot(t.$slots,"title")],64))],2)}var MenuItem=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$e],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME$a="ElMenuItemGroup",_sfc_main$W=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$d(t,r,V,oe,ie,le){return openBlock(),createElementBlock("li",{class:normalizeClass(t.ns.b())},[createBaseVNode("div",{class:normalizeClass(t.ns.e("title"))},[t.$slots.title?renderSlot(t.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(t.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(t.$slots,"default")])],2)}var MenuItemGroup=_export_sfc$1(_sfc_main$W,[["render",_sfc_render$d],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const ElMenu=withInstall(Menu,{MenuItem,MenuItemGroup,SubMenu}),ElMenuItem=withNoopInstall(MenuItem),ElMenuItemGroup=withNoopInstall(MenuItemGroup),ElSubMenu=withNoopInstall(SubMenu),pageHeaderProps=buildProps({icon:{type:iconPropType,default:()=>back_default},title:String,content:{type:String,default:""}}),pageHeaderEmits={back:()=>!0},_hoisted_1$s=["aria-label"],__default__$F=defineComponent({name:"ElPageHeader"}),_sfc_main$V=defineComponent({...__default__$F,props:pageHeaderProps,emits:pageHeaderEmits,setup(t,{emit:r}){const V=useSlots(),{t:oe}=useLocale(),ie=useNamespace("page-header"),le=computed(()=>[ie.b(),{[ie.m("has-breadcrumb")]:!!V.breadcrumb,[ie.m("has-extra")]:!!V.extra,[ie.is("contentful")]:!!V.default}]);function ue(){r("back")}return(de,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le))},[de.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("breadcrumb"))},[renderSlot(de.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("back")),role:"button",tabindex:"0",onClick:ue},[de.icon||de.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":de.title||unref(oe)("el.pageHeader.title"),class:normalizeClass(unref(ie).e("icon"))},[renderSlot(de.$slots,"icon",{},()=>[de.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(de.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$s)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("title"))},[renderSlot(de.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(de.title||unref(oe)("el.pageHeader.title")),1)])],2)],2),createVNode(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(ie).e("content"))},[renderSlot(de.$slots,"content",{},()=>[createTextVNode(toDisplayString$1(de.content),1)])],2)],2),de.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("extra"))},[renderSlot(de.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),de.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).e("main"))},[renderSlot(de.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$1(_sfc_main$V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const ElPageHeader=withInstall(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:t=>t instanceof MouseEvent},_hoisted_1$r=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$E=defineComponent({name:"ElPaginationPrev"}),_sfc_main$U=defineComponent({...__default__$E,props:paginationPrevProps,emits:paginationPrevEmits,setup(t){const r=t,{t:V}=useLocale(),oe=computed(()=>r.disabled||r.currentPage<=1);return(ie,le)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(oe),"aria-label":ie.prevText||unref(V)("el.pagination.prev"),"aria-disabled":unref(oe),onClick:le[0]||(le[0]=ue=>ie.$emit("click",ue))},[ie.prevText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString$1(ie.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ie.prevIcon)))]),_:1}))],8,_hoisted_1$r))}});var Prev=_export_sfc$1(_sfc_main$U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),_hoisted_1$q=["disabled","aria-label","aria-disabled"],_hoisted_2$i={key:0},__default__$D=defineComponent({name:"ElPaginationNext"}),_sfc_main$T=defineComponent({...__default__$D,props:paginationNextProps,emits:["click"],setup(t){const r=t,{t:V}=useLocale(),oe=computed(()=>r.disabled||r.currentPage===r.pageCount||r.pageCount===0);return(ie,le)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(oe),"aria-label":ie.nextText||unref(V)("el.pagination.next"),"aria-disabled":unref(oe),onClick:le[0]||(le[0]=ue=>ie.$emit("click",ue))},[ie.nextText?(openBlock(),createElementBlock("span",_hoisted_2$i,toDisplayString$1(ie.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ie.nextIcon)))]),_:1}))],8,_hoisted_1$q))}});var Next=_export_sfc$1(_sfc_main$T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption$1(t,r){const V=inject(selectKey),oe=inject(selectGroupKey,{disabled:!1}),ie=computed(()=>Object.prototype.toString.call(t.value).toLowerCase()==="[object object]"),le=computed(()=>V.props.multiple?$e(V.props.modelValue,t.value):Ie(t.value,V.props.modelValue)),ue=computed(()=>{if(V.props.multiple){const Ue=V.props.modelValue||[];return!le.value&&Ue.length>=V.props.multipleLimit&&V.props.multipleLimit>0}else return!1}),de=computed(()=>t.label||(ie.value?"":t.value)),pe=computed(()=>t.value||t.label||""),he=computed(()=>t.disabled||r.groupDisabled||ue.value),_e=getCurrentInstance(),$e=(Ue=[],qe)=>{if(ie.value){const Et=V.props.valueKey;return Ue&&Ue.some(At=>toRaw(get$1(At,Et))===get$1(qe,Et))}else return Ue&&Ue.includes(qe)},Ie=(Ue,qe)=>{if(ie.value){const{valueKey:Et}=V.props;return get$1(Ue,Et)===get$1(qe,Et)}else return Ue===qe},Ve=()=>{!t.disabled&&!oe.disabled&&(V.hoverIndex=V.optionsArray.indexOf(_e.proxy))};watch(()=>de.value,()=>{!t.created&&!V.props.remote&&V.setSelected()}),watch(()=>t.value,(Ue,qe)=>{const{remote:Et,valueKey:At}=V.props;if(Object.is(Ue,qe)||(V.onOptionDestroy(qe,_e.proxy),V.onOptionCreate(_e.proxy)),!t.created&&!Et){if(At&&typeof Ue=="object"&&typeof qe=="object"&&Ue[At]===qe[At])return;V.setSelected()}}),watch(()=>oe.disabled,()=>{r.groupDisabled=oe.disabled},{immediate:!0});const{queryChange:Fe}=toRaw(V);return watch(Fe,Ue=>{const{query:qe}=unref(Ue),Et=new RegExp(escapeStringRegexp(qe),"i");r.visible=Et.test(de.value)||t.created,r.visible||V.filteredOptionsCount--},{immediate:!0}),{select:V,currentLabel:de,currentValue:pe,itemSelected:le,isDisabled:he,hoverItem:Ve}}const _sfc_main$S=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(t){const r=useNamespace("select"),V=computed(()=>[r.be("dropdown","item"),r.is("disabled",unref(ue)),{selected:unref(le),hover:unref(_e)}]),oe=reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:ie,itemSelected:le,isDisabled:ue,select:de,hoverItem:pe}=useOption$1(t,oe),{visible:he,hover:_e}=toRefs(oe),$e=getCurrentInstance().proxy;de.onOptionCreate($e),onBeforeUnmount(()=>{const Ve=$e.value,{selected:Fe}=de,qe=(de.props.multiple?Fe:[Fe]).some(Et=>Et.value===$e.value);nextTick(()=>{de.cachedOptions.get(Ve)===$e&&!qe&&de.cachedOptions.delete(Ve)}),de.onOptionDestroy(Ve,$e)});function Ie(){t.disabled!==!0&&oe.groupDisabled!==!0&&de.handleOptionSelect($e)}return{ns:r,containerKls:V,currentLabel:ie,itemSelected:le,isDisabled:ue,select:de,hoverItem:pe,visible:he,hover:_e,selectOptionClick:Ie,states:oe}}});function _sfc_render$c(t,r,V,oe,ie,le){return withDirectives((openBlock(),createElementBlock("li",{class:normalizeClass(t.containerKls),onMouseenter:r[0]||(r[0]=(...ue)=>t.hoverItem&&t.hoverItem(...ue)),onClick:r[1]||(r[1]=withModifiers((...ue)=>t.selectOptionClick&&t.selectOptionClick(...ue),["stop"]))},[renderSlot(t.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString$1(t.currentLabel),1)])],34)),[[vShow,t.visible]])}var Option=_export_sfc$1(_sfc_main$S,[["render",_sfc_render$c],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const _sfc_main$R=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const t=inject(selectKey),r=useNamespace("select"),V=computed(()=>t.props.popperClass),oe=computed(()=>t.props.multiple),ie=computed(()=>t.props.fitInputWidth),le=ref("");function ue(){var de;le.value=`${(de=t.selectWrapper)==null?void 0:de.offsetWidth}px`}return onMounted(()=>{ue(),useResizeObserver$1(t.selectWrapper,ue)}),{ns:r,minWidth:le,popperClass:V,isMultiple:oe,isFitInputWidth:ie}}});function _sfc_render$b(t,r,V,oe,ie,le){return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b("dropdown"),t.ns.is("multiple",t.isMultiple),t.popperClass]),style:normalizeStyle$1({[t.isFitInputWidth?"width":"minWidth"]:t.minWidth})},[renderSlot(t.$slots,"default")],6)}var ElSelectMenu$1=_export_sfc$1(_sfc_main$R,[["render",_sfc_render$b],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function useSelectStates(t){const{t:r}=useLocale();return reactive({options:new Map,cachedOptions:new Map,disabledOptions:new Map,createdLabel:null,createdSelected:!1,selected:t.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:r("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,mouseEnter:!1,focused:!1})}const useSelect$2=(t,r,V)=>{const{t:oe}=useLocale(),ie=useNamespace("select");useDeprecated({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},computed(()=>t.suffixTransition===!1));const le=ref(null),ue=ref(null),de=ref(null),pe=ref(null),he=ref(null),_e=ref(null),$e=ref(null),Ie=ref(null),Ve=ref(-1),Fe=shallowRef({query:""}),Ue=shallowRef(""),qe=ref([]);let Et=0;const{form:At,formItem:Lt}=useFormItem(),hn=computed(()=>!t.filterable||t.multiple||!r.visible),_n=computed(()=>t.disabled||(At==null?void 0:At.disabled)),vn=computed(()=>{const _r=t.multiple?Array.isArray(t.modelValue)&&t.modelValue.length>0:t.modelValue!==void 0&&t.modelValue!==null&&t.modelValue!=="";return t.clearable&&!_n.value&&r.inputHovering&&_r}),bn=computed(()=>t.remote&&t.filterable&&!t.remoteShowSuffix?"":t.suffixIcon),Cn=computed(()=>ie.is("reverse",bn.value&&r.visible&&t.suffixTransition)),Sn=computed(()=>(At==null?void 0:At.statusIcon)&&(Lt==null?void 0:Lt.validateState)&&ValidateComponentsMap[Lt==null?void 0:Lt.validateState]),wn=computed(()=>t.remote?300:0),En=computed(()=>t.loading?t.loadingText||oe("el.select.loading"):t.remote&&r.query===""&&r.options.size===0?!1:t.filterable&&r.query&&r.options.size>0&&r.filteredOptionsCount===0?t.noMatchText||oe("el.select.noMatch"):r.options.size===0?t.noDataText||oe("el.select.noData"):null),xn=computed(()=>{const _r=Array.from(r.options.values()),Pr=[];return qe.value.forEach(sr=>{const Ir=_r.findIndex(Hr=>Hr.currentLabel===sr);Ir>-1&&Pr.push(_r[Ir])}),Pr.length?Pr:_r}),Pn=computed(()=>Array.from(r.cachedOptions.values())),kn=computed(()=>{const _r=xn.value.filter(Pr=>!Pr.created).some(Pr=>Pr.currentLabel===r.query);return t.filterable&&t.allowCreate&&r.query!==""&&!_r}),Nn=useFormSize(),Dn=computed(()=>["small"].includes(Nn.value)?"small":"default"),Mn=computed({get(){return r.visible&&En.value!==!1},set(_r){r.visible=_r}});watch([()=>_n.value,()=>Nn.value,()=>At==null?void 0:At.size],()=>{nextTick(()=>{Ln()})}),watch(()=>t.placeholder,_r=>{r.cachedPlaceHolder=r.currentPlaceholder=_r,t.multiple&&Array.isArray(t.modelValue)&&t.modelValue.length>0&&(r.currentPlaceholder="")}),watch(()=>t.modelValue,(_r,Pr)=>{t.multiple&&(Ln(),_r&&_r.length>0||ue.value&&r.query!==""?r.currentPlaceholder="":r.currentPlaceholder=r.cachedPlaceHolder,t.filterable&&!t.reserveKeyword&&(r.query="",An(r.query))),Fn(),t.filterable&&!t.multiple&&(r.inputLength=20),!isEqual$1(_r,Pr)&&t.validateEvent&&(Lt==null||Lt.validate("change").catch(sr=>void 0))},{flush:"post",deep:!0}),watch(()=>r.visible,_r=>{var Pr,sr,Ir,Hr,Nr;_r?((sr=(Pr=pe.value)==null?void 0:Pr.updatePopper)==null||sr.call(Pr),t.filterable&&(r.filteredOptionsCount=r.optionsCount,r.query=t.remote?"":r.selectedLabel,(Hr=(Ir=de.value)==null?void 0:Ir.focus)==null||Hr.call(Ir),t.multiple?(Nr=ue.value)==null||Nr.focus():r.selectedLabel&&(r.currentPlaceholder=`${r.selectedLabel}`,r.selectedLabel=""),An(r.query),!t.multiple&&!t.remote&&(Fe.value.query="",triggerRef(Fe),triggerRef(Ue)))):(t.filterable&&(isFunction$5(t.filterMethod)&&t.filterMethod(""),isFunction$5(t.remoteMethod)&&t.remoteMethod("")),r.query="",r.previousQuery=null,r.selectedLabel="",r.inputLength=20,r.menuVisibleOnFocus=!1,tr(),nextTick(()=>{ue.value&&ue.value.value===""&&r.selected.length===0&&(r.currentPlaceholder=r.cachedPlaceHolder)}),t.multiple||(r.selected&&(t.filterable&&t.allowCreate&&r.createdSelected&&r.createdLabel?r.selectedLabel=r.createdLabel:r.selectedLabel=r.selected.currentLabel,t.filterable&&(r.query=r.selectedLabel)),t.filterable&&(r.currentPlaceholder=r.cachedPlaceHolder))),V.emit("visible-change",_r)}),watch(()=>r.options.entries(),()=>{var _r,Pr,sr;if(!isClient$1)return;(Pr=(_r=pe.value)==null?void 0:_r.updatePopper)==null||Pr.call(_r),t.multiple&&Ln();const Ir=((sr=$e.value)==null?void 0:sr.querySelectorAll("input"))||[];(!t.filterable&&!t.defaultFirstOption&&!isUndefined$1(t.modelValue)||!Array.from(Ir).includes(document.activeElement))&&Fn(),t.defaultFirstOption&&(t.filterable||t.remote)&&r.filteredOptionsCount&&Wn()},{flush:"post"}),watch(()=>r.hoverIndex,_r=>{isNumber$4(_r)&&_r>-1?Ve.value=xn.value[_r]||{}:Ve.value={},xn.value.forEach(Pr=>{Pr.hover=Ve.value===Pr})});const Ln=()=>{nextTick(()=>{var _r,Pr;if(!le.value)return;const sr=le.value.$el.querySelector("input");Et=Et||(sr.clientHeight>0?sr.clientHeight+2:0);const Ir=_e.value,Hr=getComponentSize(Nn.value||(At==null?void 0:At.size)),Nr=Nn.value||Hr===Et||Et<=0?Hr:Et;!(sr.offsetParent===null)&&(sr.style.height=`${(r.selected.length===0?Nr:Math.max(Ir?Ir.clientHeight+(Ir.clientHeight>Nr?6:0):0,Nr))-2}px`),r.visible&&En.value!==!1&&((Pr=(_r=pe.value)==null?void 0:_r.updatePopper)==null||Pr.call(_r))})},An=async _r=>{if(!(r.previousQuery===_r||r.isOnComposition)){if(r.previousQuery===null&&(isFunction$5(t.filterMethod)||isFunction$5(t.remoteMethod))){r.previousQuery=_r;return}r.previousQuery=_r,nextTick(()=>{var Pr,sr;r.visible&&((sr=(Pr=pe.value)==null?void 0:Pr.updatePopper)==null||sr.call(Pr))}),r.hoverIndex=-1,t.multiple&&t.filterable&&nextTick(()=>{if(!_n.value){const Pr=ue.value.value.length*15+20;r.inputLength=t.collapseTags?Math.min(50,Pr):Pr,Vn()}Ln()}),t.remote&&isFunction$5(t.remoteMethod)?(r.hoverIndex=-1,t.remoteMethod(_r)):isFunction$5(t.filterMethod)?(t.filterMethod(_r),triggerRef(Ue)):(r.filteredOptionsCount=r.optionsCount,Fe.value.query=_r,triggerRef(Fe),triggerRef(Ue)),t.defaultFirstOption&&(t.filterable||t.remote)&&r.filteredOptionsCount&&(await nextTick(),Wn())}},Vn=()=>{r.currentPlaceholder!==""&&(r.currentPlaceholder=ue.value.value?"":r.cachedPlaceHolder)},Wn=()=>{const _r=xn.value.filter(Ir=>Ir.visible&&!Ir.disabled&&!Ir.states.groupDisabled),Pr=_r.find(Ir=>Ir.created),sr=_r[0];r.hoverIndex=Er(xn.value,Pr||sr)},Fn=()=>{var _r;if(t.multiple)r.selectedLabel="";else{const sr=Yn(t.modelValue);(_r=sr.props)!=null&&_r.created?(r.createdLabel=sr.props.value,r.createdSelected=!0):r.createdSelected=!1,r.selectedLabel=sr.currentLabel,r.selected=sr,t.filterable&&(r.query=r.selectedLabel);return}const Pr=[];Array.isArray(t.modelValue)&&t.modelValue.forEach(sr=>{Pr.push(Yn(sr))}),r.selected=Pr,nextTick(()=>{Ln()})},Yn=_r=>{let Pr;const sr=toRawType(_r).toLowerCase()==="object",Ir=toRawType(_r).toLowerCase()==="null",Hr=toRawType(_r).toLowerCase()==="undefined";for(let Zr=r.cachedOptions.size-1;Zr>=0;Zr--){const Qr=Pn.value[Zr];if(sr?get$1(Qr.value,t.valueKey)===get$1(_r,t.valueKey):Qr.value===_r){Pr={value:_r,currentLabel:Qr.currentLabel,isDisabled:Qr.isDisabled};break}}if(Pr)return Pr;const Nr=sr?_r.label:!Ir&&!Hr?_r:"",Gr={value:_r,currentLabel:Nr};return t.multiple&&(Gr.hitState=!1),Gr},tr=()=>{setTimeout(()=>{const _r=t.valueKey;t.multiple?r.selected.length>0?r.hoverIndex=Math.min.apply(null,r.selected.map(Pr=>xn.value.findIndex(sr=>get$1(sr,_r)===get$1(Pr,_r)))):r.hoverIndex=-1:r.hoverIndex=xn.value.findIndex(Pr=>$r(Pr)===$r(r.selected))},300)},yr=()=>{var _r,Pr;Jn(),(Pr=(_r=pe.value)==null?void 0:_r.updatePopper)==null||Pr.call(_r),t.multiple&&Ln()},Jn=()=>{var _r;r.inputWidth=(_r=le.value)==null?void 0:_r.$el.offsetWidth},Kn=()=>{t.filterable&&r.query!==r.selectedLabel&&(r.query=r.selectedLabel,An(r.query))},Gn=debounce(()=>{Kn()},wn.value),Qn=debounce(_r=>{An(_r.target.value)},wn.value),ur=_r=>{isEqual$1(t.modelValue,_r)||V.emit(CHANGE_EVENT,_r)},cr=_r=>findLastIndex(_r,Pr=>!r.disabledOptions.has(Pr)),Un=_r=>{if(_r.code!==EVENT_CODE.delete){if(_r.target.value.length<=0&&!or()){const Pr=t.modelValue.slice(),sr=cr(Pr);if(sr<0)return;Pr.splice(sr,1),V.emit(UPDATE_MODEL_EVENT,Pr),ur(Pr)}_r.target.value.length===1&&t.modelValue.length===0&&(r.currentPlaceholder=r.cachedPlaceHolder)}},qn=(_r,Pr)=>{const sr=r.selected.indexOf(Pr);if(sr>-1&&!_n.value){const Ir=t.modelValue.slice();Ir.splice(sr,1),V.emit(UPDATE_MODEL_EVENT,Ir),ur(Ir),V.emit("remove-tag",Pr.value)}_r.stopPropagation(),Ar()},er=_r=>{_r.stopPropagation();const Pr=t.multiple?[]:"";if(!isString$6(Pr))for(const sr of r.selected)sr.isDisabled&&Pr.push(sr.value);V.emit(UPDATE_MODEL_EVENT,Pr),ur(Pr),r.hoverIndex=-1,r.visible=!1,V.emit("clear"),Ar()},pr=_r=>{var Pr;if(t.multiple){const sr=(t.modelValue||[]).slice(),Ir=Er(sr,_r.value);Ir>-1?sr.splice(Ir,1):(t.multipleLimit<=0||sr.length<t.multipleLimit)&&sr.push(_r.value),V.emit(UPDATE_MODEL_EVENT,sr),ur(sr),_r.created&&(r.query="",An(""),r.inputLength=20),t.filterable&&((Pr=ue.value)==null||Pr.focus())}else V.emit(UPDATE_MODEL_EVENT,_r.value),ur(_r.value),r.visible=!1;dr(),!r.visible&&nextTick(()=>{xr(_r)})},Er=(_r=[],Pr)=>{if(!isObject$9(Pr))return _r.indexOf(Pr);const sr=t.valueKey;let Ir=-1;return _r.some((Hr,Nr)=>toRaw(get$1(Hr,sr))===get$1(Pr,sr)?(Ir=Nr,!0):!1),Ir},dr=()=>{const _r=ue.value||le.value;_r&&(_r==null||_r.focus())},xr=_r=>{var Pr,sr,Ir,Hr,Nr;const Gr=Array.isArray(_r)?_r[0]:_r;let Zr=null;if(Gr!=null&&Gr.value){const Qr=xn.value.filter(eo=>eo.value===Gr.value);Qr.length>0&&(Zr=Qr[0].$el)}if(pe.value&&Zr){const Qr=(Hr=(Ir=(sr=(Pr=pe.value)==null?void 0:Pr.popperRef)==null?void 0:sr.contentRef)==null?void 0:Ir.querySelector)==null?void 0:Hr.call(Ir,`.${ie.be("dropdown","wrap")}`);Qr&&scrollIntoView(Qr,Zr)}(Nr=Ie.value)==null||Nr.handleScroll()},wr=_r=>{r.optionsCount++,r.filteredOptionsCount++,r.options.set(_r.value,_r),r.cachedOptions.set(_r.value,_r),_r.disabled&&r.disabledOptions.set(_r.value,_r)},Cr=(_r,Pr)=>{r.options.get(_r)===Pr&&(r.optionsCount--,r.filteredOptionsCount--,r.options.delete(_r))},gr=_r=>{_r.code!==EVENT_CODE.backspace&&or(!1),r.inputLength=ue.value.value.length*15+20,Ln()},or=_r=>{if(!Array.isArray(r.selected))return;const Pr=cr(r.selected.map(Ir=>Ir.value)),sr=r.selected[Pr];if(sr)return _r===!0||_r===!1?(sr.hitState=_r,_r):(sr.hitState=!sr.hitState,sr.hitState)},fr=_r=>{const Pr=_r.target.value;if(_r.type==="compositionend")r.isOnComposition=!1,nextTick(()=>An(Pr));else{const sr=Pr[Pr.length-1]||"";r.isOnComposition=!isKorean(sr)}},kr=()=>{nextTick(()=>xr(r.selected))},br=_r=>{r.focused||((t.automaticDropdown||t.filterable)&&(t.filterable&&!r.visible&&(r.menuVisibleOnFocus=!0),r.visible=!0),r.focused=!0,V.emit("focus",_r))},Ar=()=>{var _r,Pr;r.visible?(_r=ue.value||le.value)==null||_r.focus():(Pr=le.value)==null||Pr.focus()},Dr=()=>{var _r,Pr,sr;r.visible=!1,(_r=le.value)==null||_r.blur(),(sr=(Pr=de.value)==null?void 0:Pr.blur)==null||sr.call(Pr)},Br=_r=>{var Pr,sr,Ir;(Pr=pe.value)!=null&&Pr.isFocusInsideContent(_r)||(sr=he.value)!=null&&sr.isFocusInsideContent(_r)||(Ir=$e.value)!=null&&Ir.contains(_r.relatedTarget)||(r.visible&&Rr(),r.focused=!1,V.emit("blur",_r))},zr=_r=>{er(_r)},Rr=()=>{r.visible=!1},mr=_r=>{r.visible&&(_r.preventDefault(),_r.stopPropagation(),r.visible=!1)},ir=_r=>{_r&&!r.mouseEnter||_n.value||(r.menuVisibleOnFocus?r.menuVisibleOnFocus=!1:(!pe.value||!pe.value.isFocusInsideContent())&&(r.visible=!r.visible),Ar())},ar=()=>{r.visible?xn.value[r.hoverIndex]&&pr(xn.value[r.hoverIndex]):ir()},$r=_r=>isObject$9(_r.value)?get$1(_r.value,t.valueKey):_r.value,Zn=computed(()=>xn.value.filter(_r=>_r.visible).every(_r=>_r.disabled)),Or=computed(()=>r.selected.slice(0,t.maxCollapseTags)),Lr=computed(()=>r.selected.slice(t.maxCollapseTags)),Ur=_r=>{if(!r.visible){r.visible=!0;return}if(!(r.options.size===0||r.filteredOptionsCount===0)&&!r.isOnComposition&&!Zn.value){_r==="next"?(r.hoverIndex++,r.hoverIndex===r.options.size&&(r.hoverIndex=0)):_r==="prev"&&(r.hoverIndex--,r.hoverIndex<0&&(r.hoverIndex=r.options.size-1));const Pr=xn.value[r.hoverIndex];(Pr.disabled===!0||Pr.states.groupDisabled===!0||!Pr.visible)&&Ur(_r),nextTick(()=>xr(Ve.value))}},Kr=()=>{r.mouseEnter=!0},qr=()=>{r.mouseEnter=!1},no=(_r,Pr)=>{var sr,Ir;qn(_r,Pr),(Ir=(sr=he.value)==null?void 0:sr.updatePopper)==null||Ir.call(sr)},Xr=computed(()=>({maxWidth:`${unref(r.inputWidth)-32-(Sn.value?22:0)}px`,width:"100%"}));return{optionList:qe,optionsArray:xn,selectSize:Nn,handleResize:yr,debouncedOnInputChange:Gn,debouncedQueryChange:Qn,deletePrevTag:Un,deleteTag:qn,deleteSelected:er,handleOptionSelect:pr,scrollToOption:xr,readonly:hn,resetInputHeight:Ln,showClose:vn,iconComponent:bn,iconReverse:Cn,showNewOption:kn,collapseTagSize:Dn,setSelected:Fn,managePlaceholder:Vn,selectDisabled:_n,emptyText:En,toggleLastOptionHitState:or,resetInputState:gr,handleComposition:fr,onOptionCreate:wr,onOptionDestroy:Cr,handleMenuEnter:kr,handleFocus:br,focus:Ar,blur:Dr,handleBlur:Br,handleClearClick:zr,handleClose:Rr,handleKeydownEscape:mr,toggleMenu:ir,selectOption:ar,getValueKey:$r,navigateOptions:Ur,handleDeleteTooltipTag:no,dropMenuVisible:Mn,queryChange:Fe,groupQueryChange:Ue,showTagList:Or,collapseTagList:Lr,selectTagsStyle:Xr,reference:le,input:ue,iOSInput:de,tooltipRef:pe,tagTooltipRef:he,tags:_e,selectWrapper:$e,scrollbar:Ie,handleMouseEnter:Kr,handleMouseLeave:qr}};var ElOptions=defineComponent({name:"ElOptions",emits:["update-options"],setup(t,{slots:r,emit:V}){let oe=[];function ie(le,ue){if(le.length!==ue.length)return!1;for(const[de]of le.entries())if(le[de]!=ue[de])return!1;return!0}return()=>{var le,ue;const de=(le=r.default)==null?void 0:le.call(r),pe=[];function he(_e){Array.isArray(_e)&&_e.forEach($e=>{var Ie,Ve,Fe,Ue;const qe=(Ie=($e==null?void 0:$e.type)||{})==null?void 0:Ie.name;qe==="ElOptionGroup"?he(!isString$6($e.children)&&!Array.isArray($e.children)&&isFunction$5((Ve=$e.children)==null?void 0:Ve.default)?(Fe=$e.children)==null?void 0:Fe.default():$e.children):qe==="ElOption"?pe.push((Ue=$e.props)==null?void 0:Ue.label):Array.isArray($e.children)&&he($e.children)})}return de.length&&he((ue=de[0])==null?void 0:ue.children),ie(pe,oe)||(oe=pe,V("update-options",pe)),de}}});const COMPONENT_NAME$9="ElSelect",_sfc_main$Q=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElInput,ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:isValidComponentSize},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:Ee,default:"bottom-start"},ariaLabel:{type:String,default:void 0}},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(t,r){const V=useNamespace("select"),oe=useNamespace("input"),{t:ie}=useLocale(),le=useSelectStates(t),{optionList:ue,optionsArray:de,selectSize:pe,readonly:he,handleResize:_e,collapseTagSize:$e,debouncedOnInputChange:Ie,debouncedQueryChange:Ve,deletePrevTag:Fe,deleteTag:Ue,deleteSelected:qe,handleOptionSelect:Et,scrollToOption:At,setSelected:Lt,resetInputHeight:hn,managePlaceholder:_n,showClose:vn,selectDisabled:bn,iconComponent:Cn,iconReverse:Sn,showNewOption:wn,emptyText:En,toggleLastOptionHitState:xn,resetInputState:Pn,handleComposition:kn,onOptionCreate:Nn,onOptionDestroy:Dn,handleMenuEnter:Mn,handleFocus:Ln,focus:An,blur:Vn,handleBlur:Wn,handleClearClick:Fn,handleClose:Yn,handleKeydownEscape:tr,toggleMenu:yr,selectOption:Jn,getValueKey:Kn,navigateOptions:Gn,handleDeleteTooltipTag:Qn,dropMenuVisible:ur,reference:cr,input:Un,iOSInput:qn,tooltipRef:er,tagTooltipRef:pr,tags:Er,selectWrapper:dr,scrollbar:xr,queryChange:wr,groupQueryChange:Cr,handleMouseEnter:gr,handleMouseLeave:or,showTagList:fr,collapseTagList:kr,selectTagsStyle:br}=useSelect$2(t,le,r),{inputWidth:Ar,selected:Dr,inputLength:Br,filteredOptionsCount:zr,visible:Rr,selectedLabel:mr,hoverIndex:ir,query:ar,inputHovering:$r,currentPlaceholder:Zn,menuVisibleOnFocus:Or,isOnComposition:Lr,options:Ur,cachedOptions:Kr,optionsCount:qr,prefixWidth:no}=toRefs(le),Xr=computed(()=>{const eo=[V.b()],oo=unref(pe);return oo&&eo.push(V.m(oo)),t.disabled&&eo.push(V.m("disabled")),eo}),_r=computed(()=>[V.e("tags"),V.is("disabled",unref(bn))]),Pr=computed(()=>[V.b("tags-wrapper"),{"has-prefix":unref(no)&&unref(Dr).length}]),sr=computed(()=>[V.e("input"),V.is(unref(pe)),V.is("disabled",unref(bn))]),Ir=computed(()=>[V.e("input"),V.is(unref(pe)),V.em("input","iOS")]),Hr=computed(()=>[V.is("empty",!t.allowCreate&&!!unref(ar)&&unref(zr)===0)]),Nr=computed(()=>({maxWidth:`${unref(Ar)>123?unref(Ar)-123:unref(Ar)-75}px`})),Gr=computed(()=>({marginLeft:`${unref(no)}px`,flexGrow:1,width:`${unref(Br)/(unref(Ar)-32)}%`,maxWidth:`${unref(Ar)-42}px`}));provide(selectKey,reactive({props:t,options:Ur,optionsArray:de,cachedOptions:Kr,optionsCount:qr,filteredOptionsCount:zr,hoverIndex:ir,handleOptionSelect:Et,onOptionCreate:Nn,onOptionDestroy:Dn,selectWrapper:dr,selected:Dr,setSelected:Lt,queryChange:wr,groupQueryChange:Cr})),onMounted(()=>{le.cachedPlaceHolder=Zn.value=t.placeholder||(()=>ie("el.select.placeholder")),t.multiple&&Array.isArray(t.modelValue)&&t.modelValue.length>0&&(Zn.value=""),useResizeObserver$1(dr,_e),t.remote&&t.multiple&&hn(),nextTick(()=>{const eo=cr.value&&cr.value.$el;if(eo&&(Ar.value=eo.getBoundingClientRect().width,r.slots.prefix)){const oo=eo.querySelector(`.${oe.e("prefix")}`);no.value=Math.max(oo.getBoundingClientRect().width+11,30)}}),Lt()}),t.multiple&&!Array.isArray(t.modelValue)&&r.emit(UPDATE_MODEL_EVENT,[]),!t.multiple&&Array.isArray(t.modelValue)&&r.emit(UPDATE_MODEL_EVENT,"");const Zr=computed(()=>{var eo,oo;return(oo=(eo=er.value)==null?void 0:eo.popperRef)==null?void 0:oo.contentRef});return{isIOS:isIOS$1,onOptionsRendered:eo=>{ue.value=eo},prefixWidth:no,selectSize:pe,readonly:he,handleResize:_e,collapseTagSize:$e,debouncedOnInputChange:Ie,debouncedQueryChange:Ve,deletePrevTag:Fe,deleteTag:Ue,handleDeleteTooltipTag:Qn,deleteSelected:qe,handleOptionSelect:Et,scrollToOption:At,inputWidth:Ar,selected:Dr,inputLength:Br,filteredOptionsCount:zr,visible:Rr,selectedLabel:mr,hoverIndex:ir,query:ar,inputHovering:$r,currentPlaceholder:Zn,menuVisibleOnFocus:Or,isOnComposition:Lr,options:Ur,resetInputHeight:hn,managePlaceholder:_n,showClose:vn,selectDisabled:bn,iconComponent:Cn,iconReverse:Sn,showNewOption:wn,emptyText:En,toggleLastOptionHitState:xn,resetInputState:Pn,handleComposition:kn,handleMenuEnter:Mn,handleFocus:Ln,focus:An,blur:Vn,handleBlur:Wn,handleClearClick:Fn,handleClose:Yn,handleKeydownEscape:tr,toggleMenu:yr,selectOption:Jn,getValueKey:Kn,navigateOptions:Gn,dropMenuVisible:ur,reference:cr,input:Un,iOSInput:qn,tooltipRef:er,popperPaneRef:Zr,tags:Er,selectWrapper:dr,scrollbar:xr,wrapperKls:Xr,tagsKls:_r,tagWrapperKls:Pr,inputKls:sr,iOSInputKls:Ir,scrollbarKls:Hr,selectTagsStyle:br,nsSelect:V,tagTextStyle:Nr,inputStyle:Gr,handleMouseEnter:gr,handleMouseLeave:or,showTagList:fr,collapseTagList:kr,tagTooltipRef:pr}}}),_hoisted_1$p=["disabled","autocomplete","aria-label"],_hoisted_2$h=["disabled"],_hoisted_3$a={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function _sfc_render$a(t,r,V,oe,ie,le){const ue=resolveComponent("el-tag"),de=resolveComponent("el-tooltip"),pe=resolveComponent("el-icon"),he=resolveComponent("el-input"),_e=resolveComponent("el-option"),$e=resolveComponent("el-options"),Ie=resolveComponent("el-scrollbar"),Ve=resolveComponent("el-select-menu"),Fe=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectWrapper",class:normalizeClass(t.wrapperKls),onMouseenter:r[22]||(r[22]=(...Ue)=>t.handleMouseEnter&&t.handleMouseEnter(...Ue)),onMouseleave:r[23]||(r[23]=(...Ue)=>t.handleMouseLeave&&t.handleMouseLeave(...Ue)),onClick:r[24]||(r[24]=withModifiers((...Ue)=>t.toggleMenu&&t.toggleMenu(...Ue),["stop"]))},[createVNode(de,{ref:"tooltipRef",visible:t.dropMenuVisible,placement:t.placement,teleported:t.teleported,"popper-class":[t.nsSelect.e("popper"),t.popperClass],"popper-options":t.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:t.effect,pure:"",trigger:"click",transition:`${t.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:t.persistent,onShow:t.handleMenuEnter},{default:withCtx(()=>[createBaseVNode("div",{class:"select-trigger",onMouseenter:r[20]||(r[20]=Ue=>t.inputHovering=!0),onMouseleave:r[21]||(r[21]=Ue=>t.inputHovering=!1)},[t.multiple?(openBlock(),createElementBlock("div",{key:0,ref:"tags",tabindex:"-1",class:normalizeClass(t.tagsKls),style:normalizeStyle$1(t.selectTagsStyle),onClick:r[15]||(r[15]=(...Ue)=>t.focus&&t.focus(...Ue))},[t.collapseTags&&t.selected.length?(openBlock(),createBlock(Transition,{key:0,onAfterLeave:t.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.tagWrapperKls)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.showTagList,Ue=>(openBlock(),createBlock(ue,{key:t.getValueKey(Ue),closable:!t.selectDisabled&&!Ue.isDisabled,size:t.collapseTagSize,hit:Ue.hitState,type:t.tagType,"disable-transitions":"",onClose:qe=>t.deleteTag(qe,Ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1(t.tagTextStyle)},toDisplayString$1(Ue.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),t.selected.length>t.maxCollapseTags?(openBlock(),createBlock(ue,{key:0,closable:!1,size:t.collapseTagSize,type:t.tagType,"disable-transitions":""},{default:withCtx(()=>[t.collapseTagsTooltip?(openBlock(),createBlock(de,{key:0,ref:"tagTooltipRef",disabled:t.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom",teleported:t.teleported},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text"))},"+ "+toDisplayString$1(t.selected.length-t.maxCollapseTags),3)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(t.nsSelect.e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.collapseTagList,Ue=>(openBlock(),createElementBlock("div",{key:t.getValueKey(Ue),class:normalizeClass(t.nsSelect.e("collapse-tag"))},[createVNode(ue,{class:"in-tooltip",closable:!t.selectDisabled&&!Ue.isDisabled,size:t.collapseTagSize,hit:Ue.hitState,type:t.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:qe=>t.handleDeleteTooltipTag(qe,Ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:t.inputWidth-75+"px"})},toDisplayString$1(Ue.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(t.nsSelect.e("tags-text"))},"+ "+toDisplayString$1(t.selected.length-t.maxCollapseTags),3))]),_:1},8,["size","type"])):createCommentVNode("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):createCommentVNode("v-if",!0),t.collapseTags?createCommentVNode("v-if",!0):(openBlock(),createBlock(Transition,{key:1,onAfterLeave:t.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.tagWrapperKls),style:normalizeStyle$1(t.prefixWidth&&t.selected.length?{marginLeft:`${t.prefixWidth}px`}:"")},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.selected,Ue=>(openBlock(),createBlock(ue,{key:t.getValueKey(Ue),closable:!t.selectDisabled&&!Ue.isDisabled,size:t.collapseTagSize,hit:Ue.hitState,type:t.tagType,"disable-transitions":"",onClose:qe=>t.deleteTag(qe,Ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:t.inputWidth-75+"px"})},toDisplayString$1(Ue.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],6)]),_:1},8,["onAfterLeave"])),t.filterable&&!t.selectDisabled?withDirectives((openBlock(),createElementBlock("input",{key:2,ref:"input","onUpdate:modelValue":r[0]||(r[0]=Ue=>t.query=Ue),type:"text",class:normalizeClass(t.inputKls),disabled:t.selectDisabled,autocomplete:t.autocomplete,style:normalizeStyle$1(t.inputStyle),"aria-label":t.ariaLabel,onFocus:r[1]||(r[1]=(...Ue)=>t.handleFocus&&t.handleFocus(...Ue)),onBlur:r[2]||(r[2]=(...Ue)=>t.handleBlur&&t.handleBlur(...Ue)),onKeyup:r[3]||(r[3]=(...Ue)=>t.managePlaceholder&&t.managePlaceholder(...Ue)),onKeydown:[r[4]||(r[4]=(...Ue)=>t.resetInputState&&t.resetInputState(...Ue)),r[5]||(r[5]=withKeys(withModifiers(Ue=>t.navigateOptions("next"),["prevent"]),["down"])),r[6]||(r[6]=withKeys(withModifiers(Ue=>t.navigateOptions("prev"),["prevent"]),["up"])),r[7]||(r[7]=withKeys((...Ue)=>t.handleKeydownEscape&&t.handleKeydownEscape(...Ue),["esc"])),r[8]||(r[8]=withKeys(withModifiers((...Ue)=>t.selectOption&&t.selectOption(...Ue),["stop","prevent"]),["enter"])),r[9]||(r[9]=withKeys((...Ue)=>t.deletePrevTag&&t.deletePrevTag(...Ue),["delete"])),r[10]||(r[10]=withKeys(Ue=>t.visible=!1,["tab"]))],onCompositionstart:r[11]||(r[11]=(...Ue)=>t.handleComposition&&t.handleComposition(...Ue)),onCompositionupdate:r[12]||(r[12]=(...Ue)=>t.handleComposition&&t.handleComposition(...Ue)),onCompositionend:r[13]||(r[13]=(...Ue)=>t.handleComposition&&t.handleComposition(...Ue)),onInput:r[14]||(r[14]=(...Ue)=>t.debouncedQueryChange&&t.debouncedQueryChange(...Ue))},null,46,_hoisted_1$p)),[[vModelText,t.query]]):createCommentVNode("v-if",!0)],6)):createCommentVNode("v-if",!0),createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),t.isIOS&&!t.multiple&&t.filterable&&t.readonly?(openBlock(),createElementBlock("input",{key:1,ref:"iOSInput",class:normalizeClass(t.iOSInputKls),disabled:t.selectDisabled,type:"text"},null,10,_hoisted_2$h)):createCommentVNode("v-if",!0),createVNode(he,{id:t.id,ref:"reference",modelValue:t.selectedLabel,"onUpdate:modelValue":r[16]||(r[16]=Ue=>t.selectedLabel=Ue),type:"text",placeholder:typeof t.currentPlaceholder=="function"?t.currentPlaceholder():t.currentPlaceholder,name:t.name,autocomplete:t.autocomplete,size:t.selectSize,disabled:t.selectDisabled,readonly:t.readonly,"validate-event":!1,class:normalizeClass([t.nsSelect.is("focus",t.visible)]),tabindex:t.multiple&&t.filterable?-1:void 0,label:t.ariaLabel,onFocus:t.handleFocus,onBlur:t.handleBlur,onInput:t.debouncedOnInputChange,onPaste:t.debouncedOnInputChange,onCompositionstart:t.handleComposition,onCompositionupdate:t.handleComposition,onCompositionend:t.handleComposition,onKeydown:[r[17]||(r[17]=withKeys(withModifiers(Ue=>t.navigateOptions("next"),["stop","prevent"]),["down"])),r[18]||(r[18]=withKeys(withModifiers(Ue=>t.navigateOptions("prev"),["stop","prevent"]),["up"])),withKeys(withModifiers(t.selectOption,["stop","prevent"]),["enter"]),withKeys(t.handleKeydownEscape,["esc"]),r[19]||(r[19]=withKeys(Ue=>t.visible=!1,["tab"]))]},createSlots({suffix:withCtx(()=>[t.iconComponent&&!t.showClose?(openBlock(),createBlock(pe,{key:0,class:normalizeClass([t.nsSelect.e("caret"),t.nsSelect.e("icon"),t.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),t.showClose&&t.clearIcon?(openBlock(),createBlock(pe,{key:1,class:normalizeClass([t.nsSelect.e("caret"),t.nsSelect.e("icon")]),onClick:t.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:2},[t.$slots.prefix?{name:"prefix",fn:withCtx(()=>[createBaseVNode("div",_hoisted_3$a,[renderSlot(t.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","label","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]),content:withCtx(()=>[createVNode(Ve,null,{default:withCtx(()=>[withDirectives(createVNode(Ie,{ref:"scrollbar",tag:"ul","wrap-class":t.nsSelect.be("dropdown","wrap"),"view-class":t.nsSelect.be("dropdown","list"),class:normalizeClass(t.scrollbarKls)},{default:withCtx(()=>[t.showNewOption?(openBlock(),createBlock(_e,{key:0,value:t.query,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode($e,{onUpdateOptions:t.onOptionsRendered},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["wrap-class","view-class","class"]),[[vShow,t.options.size>0&&!t.loading]]),t.emptyText&&(!t.allowCreate||t.loading||t.allowCreate&&t.options.size===0)?(openBlock(),createElementBlock(Fragment,{key:0},[t.$slots.empty?renderSlot(t.$slots,"empty",{key:0}):(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(t.nsSelect.be("dropdown","empty"))},toDisplayString$1(t.emptyText),3))],64)):createCommentVNode("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[Fe,t.handleClose,t.popperPaneRef]])}var Select$1=_export_sfc$1(_sfc_main$Q,[["render",_sfc_render$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const _sfc_main$P=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(t){const r=useNamespace("select"),V=ref(!0),oe=getCurrentInstance(),ie=ref([]);provide(selectGroupKey,reactive({...toRefs(t)}));const le=inject(selectKey);onMounted(()=>{ie.value=ue(oe.subTree)});const ue=pe=>{const he=[];return Array.isArray(pe.children)&&pe.children.forEach(_e=>{var $e;_e.type&&_e.type.name==="ElOption"&&_e.component&&_e.component.proxy?he.push(_e.component.proxy):($e=_e.children)!=null&&$e.length&&he.push(...ue(_e))}),he},{groupQueryChange:de}=toRaw(le);return watch(de,()=>{V.value=ie.value.some(pe=>pe.visible===!0)},{flush:"post"}),{visible:V,ns:r}}});function _sfc_render$9(t,r,V,oe,ie,le){return withDirectives((openBlock(),createElementBlock("ul",{class:normalizeClass(t.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(t.ns.be("group","title"))},toDisplayString$1(t.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(t.ns.b("group"))},[renderSlot(t.$slots,"default")],2)])],2)),[[vShow,t.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$P,[["render",_sfc_render$9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const ElSelect=withInstall(Select$1,{Option,OptionGroup}),ElOption=withNoopInstall(Option),ElOptionGroup=withNoopInstall(OptionGroup),usePagination=()=>inject(elPaginationKey,{}),paginationSizesProps=buildProps({pageSize:{type:Number,required:!0},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,size:{type:String,values:componentSizes}}),__default__$C=defineComponent({name:"ElPaginationSizes"}),_sfc_main$O=defineComponent({...__default__$C,props:paginationSizesProps,emits:["page-size-change"],setup(t,{emit:r}){const V=t,{t:oe}=useLocale(),ie=useNamespace("pagination"),le=usePagination(),ue=ref(V.pageSize);watch(()=>V.pageSizes,(he,_e)=>{if(!isEqual$1(he,_e)&&Array.isArray(he)){const $e=he.includes(V.pageSize)?V.pageSize:V.pageSizes[0];r("page-size-change",$e)}}),watch(()=>V.pageSize,he=>{ue.value=he});const de=computed(()=>V.pageSizes);function pe(he){var _e;he!==ue.value&&(ue.value=he,(_e=le.handleSizeChange)==null||_e.call(le,Number(he)))}return(he,_e)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie).e("sizes"))},[createVNode(unref(ElSelect),{"model-value":ue.value,disabled:he.disabled,"popper-class":he.popperClass,size:he.size,"validate-event":!1,onChange:pe},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(de),$e=>(openBlock(),createBlock(unref(ElOption),{key:$e,value:$e,label:$e+unref(oe)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size"])],2))}});var Sizes=_export_sfc$1(_sfc_main$O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$o=["disabled"],__default__$B=defineComponent({name:"ElPaginationJumper"}),_sfc_main$N=defineComponent({...__default__$B,props:paginationJumperProps,setup(t){const{t:r}=useLocale(),V=useNamespace("pagination"),{pageCount:oe,disabled:ie,currentPage:le,changeEvent:ue}=usePagination(),de=ref(),pe=computed(()=>{var $e;return($e=de.value)!=null?$e:le==null?void 0:le.value});function he($e){de.value=$e?+$e:""}function _e($e){$e=Math.trunc(+$e),ue==null||ue($e),de.value=void 0}return($e,Ie)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(V).e("jump")),disabled:unref(ie)},[createBaseVNode("span",{class:normalizeClass([unref(V).e("goto")])},toDisplayString$1(unref(r)("el.pagination.goto")),3),createVNode(unref(ElInput),{size:$e.size,class:normalizeClass([unref(V).e("editor"),unref(V).is("in-pagination")]),min:1,max:unref(oe),disabled:unref(ie),"model-value":unref(pe),"validate-event":!1,label:unref(r)("el.pagination.page"),type:"number","onUpdate:modelValue":he,onChange:_e},null,8,["size","class","max","disabled","model-value","label"]),createBaseVNode("span",{class:normalizeClass([unref(V).e("classifier")])},toDisplayString$1(unref(r)("el.pagination.pageClassifier")),3)],10,_hoisted_1$o))}});var Jumper=_export_sfc$1(_sfc_main$N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$n=["disabled"],__default__$A=defineComponent({name:"ElPaginationTotal"}),_sfc_main$M=defineComponent({...__default__$A,props:paginationTotalProps,setup(t){const{t:r}=useLocale(),V=useNamespace("pagination"),{disabled:oe}=usePagination();return(ie,le)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(V).e("total")),disabled:unref(oe)},toDisplayString$1(unref(r)("el.pagination.total",{total:ie.total})),11,_hoisted_1$n))}});var Total=_export_sfc$1(_sfc_main$M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$m=["onKeyup"],_hoisted_2$g=["aria-current","aria-label","tabindex"],_hoisted_3$9=["tabindex","aria-label"],_hoisted_4$6=["aria-current","aria-label","tabindex"],_hoisted_5$4=["tabindex","aria-label"],_hoisted_6$1=["aria-current","aria-label","tabindex"],__default__$z=defineComponent({name:"ElPaginationPager"}),_sfc_main$L=defineComponent({...__default__$z,props:paginationPagerProps,emits:["change"],setup(t,{emit:r}){const V=t,oe=useNamespace("pager"),ie=useNamespace("icon"),{t:le}=useLocale(),ue=ref(!1),de=ref(!1),pe=ref(!1),he=ref(!1),_e=ref(!1),$e=ref(!1),Ie=computed(()=>{const hn=V.pagerCount,_n=(hn-1)/2,vn=Number(V.currentPage),bn=Number(V.pageCount);let Cn=!1,Sn=!1;bn>hn&&(vn>hn-_n&&(Cn=!0),vn<bn-_n&&(Sn=!0));const wn=[];if(Cn&&!Sn){const En=bn-(hn-2);for(let xn=En;xn<bn;xn++)wn.push(xn)}else if(!Cn&&Sn)for(let En=2;En<hn;En++)wn.push(En);else if(Cn&&Sn){const En=Math.floor(hn/2)-1;for(let xn=vn-En;xn<=vn+En;xn++)wn.push(xn)}else for(let En=2;En<bn;En++)wn.push(En);return wn}),Ve=computed(()=>["more","btn-quickprev",ie.b(),oe.is("disabled",V.disabled)]),Fe=computed(()=>["more","btn-quicknext",ie.b(),oe.is("disabled",V.disabled)]),Ue=computed(()=>V.disabled?-1:0);watchEffect(()=>{const hn=(V.pagerCount-1)/2;ue.value=!1,de.value=!1,V.pageCount>V.pagerCount&&(V.currentPage>V.pagerCount-hn&&(ue.value=!0),V.currentPage<V.pageCount-hn&&(de.value=!0))});function qe(hn=!1){V.disabled||(hn?pe.value=!0:he.value=!0)}function Et(hn=!1){hn?_e.value=!0:$e.value=!0}function At(hn){const _n=hn.target;if(_n.tagName.toLowerCase()==="li"&&Array.from(_n.classList).includes("number")){const vn=Number(_n.textContent);vn!==V.currentPage&&r("change",vn)}else _n.tagName.toLowerCase()==="li"&&Array.from(_n.classList).includes("more")&&Lt(hn)}function Lt(hn){const _n=hn.target;if(_n.tagName.toLowerCase()==="ul"||V.disabled)return;let vn=Number(_n.textContent);const bn=V.pageCount,Cn=V.currentPage,Sn=V.pagerCount-2;_n.className.includes("more")&&(_n.className.includes("quickprev")?vn=Cn-Sn:_n.className.includes("quicknext")&&(vn=Cn+Sn)),Number.isNaN(+vn)||(vn<1&&(vn=1),vn>bn&&(vn=bn)),vn!==Cn&&r("change",vn)}return(hn,_n)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(oe).b()),onClick:Lt,onKeyup:withKeys(At,["enter"])},[hn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(oe).is("active",hn.currentPage===1),unref(oe).is("disabled",hn.disabled)],"number"]),"aria-current":hn.currentPage===1,"aria-label":unref(le)("el.pagination.currentPage",{pager:1}),tabindex:unref(Ue)}," 1 ",10,_hoisted_2$g)):createCommentVNode("v-if",!0),ue.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(Ve)),tabindex:unref(Ue),"aria-label":unref(le)("el.pagination.prevPages",{pager:hn.pagerCount-2}),onMouseenter:_n[0]||(_n[0]=vn=>qe(!0)),onMouseleave:_n[1]||(_n[1]=vn=>pe.value=!1),onFocus:_n[2]||(_n[2]=vn=>Et(!0)),onBlur:_n[3]||(_n[3]=vn=>_e.value=!1)},[(pe.value||_e.value)&&!hn.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$9)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),vn=>(openBlock(),createElementBlock("li",{key:vn,class:normalizeClass([[unref(oe).is("active",hn.currentPage===vn),unref(oe).is("disabled",hn.disabled)],"number"]),"aria-current":hn.currentPage===vn,"aria-label":unref(le)("el.pagination.currentPage",{pager:vn}),tabindex:unref(Ue)},toDisplayString$1(vn),11,_hoisted_4$6))),128)),de.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(Fe)),tabindex:unref(Ue),"aria-label":unref(le)("el.pagination.nextPages",{pager:hn.pagerCount-2}),onMouseenter:_n[4]||(_n[4]=vn=>qe()),onMouseleave:_n[5]||(_n[5]=vn=>he.value=!1),onFocus:_n[6]||(_n[6]=vn=>Et()),onBlur:_n[7]||(_n[7]=vn=>$e.value=!1)},[(he.value||$e.value)&&!hn.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$4)):createCommentVNode("v-if",!0),hn.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(oe).is("active",hn.currentPage===hn.pageCount),unref(oe).is("disabled",hn.disabled)],"number"]),"aria-current":hn.currentPage===hn.pageCount,"aria-label":unref(le)("el.pagination.currentPage",{pager:hn.pageCount}),tabindex:unref(Ue)},toDisplayString$1(hn.pageCount),11,_hoisted_6$1)):createCommentVNode("v-if",!0)],42,_hoisted_1$m))}});var Pager=_export_sfc$1(_sfc_main$L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const isAbsent=t=>typeof t!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:t=>isNumber$4(t)&&Math.trunc(t)===t&&t>4&&t<22&&t%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":t=>isNumber$4(t),"update:page-size":t=>isNumber$4(t),"size-change":t=>isNumber$4(t),"current-change":t=>isNumber$4(t),"prev-click":t=>isNumber$4(t),"next-click":t=>isNumber$4(t)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(t,{emit:r,slots:V}){const{t:oe}=useLocale(),ie=useNamespace("pagination"),le=getCurrentInstance().vnode.props||{},ue="onUpdate:currentPage"in le||"onUpdate:current-page"in le||"onCurrentChange"in le,de="onUpdate:pageSize"in le||"onUpdate:page-size"in le||"onSizeChange"in le,pe=computed(()=>{if(isAbsent(t.total)&&isAbsent(t.pageCount)||!isAbsent(t.currentPage)&&!ue)return!1;if(t.layout.includes("sizes")){if(isAbsent(t.pageCount)){if(!isAbsent(t.total)&&!isAbsent(t.pageSize)&&!de)return!1}else if(!de)return!1}return!0}),he=ref(isAbsent(t.defaultPageSize)?10:t.defaultPageSize),_e=ref(isAbsent(t.defaultCurrentPage)?1:t.defaultCurrentPage),$e=computed({get(){return isAbsent(t.pageSize)?he.value:t.pageSize},set(Lt){isAbsent(t.pageSize)&&(he.value=Lt),de&&(r("update:page-size",Lt),r("size-change",Lt))}}),Ie=computed(()=>{let Lt=0;return isAbsent(t.pageCount)?isAbsent(t.total)||(Lt=Math.max(1,Math.ceil(t.total/$e.value))):Lt=t.pageCount,Lt}),Ve=computed({get(){return isAbsent(t.currentPage)?_e.value:t.currentPage},set(Lt){let hn=Lt;Lt<1?hn=1:Lt>Ie.value&&(hn=Ie.value),isAbsent(t.currentPage)&&(_e.value=hn),ue&&(r("update:current-page",hn),r("current-change",hn))}});watch(Ie,Lt=>{Ve.value>Lt&&(Ve.value=Lt)});function Fe(Lt){Ve.value=Lt}function Ue(Lt){$e.value=Lt;const hn=Ie.value;Ve.value>hn&&(Ve.value=hn)}function qe(){t.disabled||(Ve.value-=1,r("prev-click",Ve.value))}function Et(){t.disabled||(Ve.value+=1,r("next-click",Ve.value))}function At(Lt,hn){Lt&&(Lt.props||(Lt.props={}),Lt.props.class=[Lt.props.class,hn].join(" "))}return provide(elPaginationKey,{pageCount:Ie,disabled:computed(()=>t.disabled),currentPage:Ve,changeEvent:Fe,handleSizeChange:Ue}),()=>{var Lt,hn;if(!pe.value)return oe("el.pagination.deprecationWarning"),null;if(!t.layout||t.hideOnSinglePage&&Ie.value<=1)return null;const _n=[],vn=[],bn=h$2("div",{class:ie.e("rightwrapper")},vn),Cn={prev:h$2(Prev,{disabled:t.disabled,currentPage:Ve.value,prevText:t.prevText,prevIcon:t.prevIcon,onClick:qe}),jumper:h$2(Jumper,{size:t.small?"small":"default"}),pager:h$2(Pager,{currentPage:Ve.value,pageCount:Ie.value,pagerCount:t.pagerCount,onChange:Fe,disabled:t.disabled}),next:h$2(Next,{disabled:t.disabled,currentPage:Ve.value,pageCount:Ie.value,nextText:t.nextText,nextIcon:t.nextIcon,onClick:Et}),sizes:h$2(Sizes,{pageSize:$e.value,pageSizes:t.pageSizes,popperClass:t.popperClass,disabled:t.disabled,size:t.small?"small":"default"}),slot:(hn=(Lt=V==null?void 0:V.default)==null?void 0:Lt.call(V))!=null?hn:null,total:h$2(Total,{total:isAbsent(t.total)?0:t.total})},Sn=t.layout.split(",").map(En=>En.trim());let wn=!1;return Sn.forEach(En=>{if(En==="->"){wn=!0;return}wn?vn.push(Cn[En]):_n.push(Cn[En])}),At(_n[0],ie.is("first")),At(_n[_n.length-1],ie.is("last")),wn&&vn.length>0&&(At(vn[0],ie.is("first")),At(vn[vn.length-1],ie.is("last")),_n.push(bn)),h$2("div",{class:[ie.b(),ie.is("background",t.background),{[ie.m("small")]:t.small}]},_n)}}});const ElPagination=withInstall(Pagination),popconfirmProps=buildProps({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:buttonTypes,default:"primary"},cancelButtonType:{type:String,values:buttonTypes,default:"text"},icon:{type:iconPropType,default:()=>question_filled_default},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:useTooltipContentProps.teleported,persistent:useTooltipContentProps.persistent,width:{type:[String,Number],default:150}}),popconfirmEmits={confirm:t=>t instanceof MouseEvent,cancel:t=>t instanceof MouseEvent},__default__$y=defineComponent({name:"ElPopconfirm"}),_sfc_main$K=defineComponent({...__default__$y,props:popconfirmProps,emits:popconfirmEmits,setup(t,{emit:r}){const V=t,{t:oe}=useLocale(),ie=useNamespace("popconfirm"),le=ref(),ue=()=>{var Ie,Ve;(Ve=(Ie=le.value)==null?void 0:Ie.onClose)==null||Ve.call(Ie)},de=computed(()=>({width:addUnit(V.width)})),pe=Ie=>{r("confirm",Ie),ue()},he=Ie=>{r("cancel",Ie),ue()},_e=computed(()=>V.confirmButtonText||oe("el.popconfirm.confirmButtonText")),$e=computed(()=>V.cancelButtonText||oe("el.popconfirm.cancelButtonText"));return(Ie,Ve)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:le,trigger:"click",effect:"light"},Ie.$attrs,{"popper-class":`${unref(ie).namespace.value}-popover`,"popper-style":unref(de),teleported:Ie.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":Ie.hideAfter,persistent:Ie.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("main"))},[!Ie.hideIcon&&Ie.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("icon")),style:normalizeStyle$1({color:Ie.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ie.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString$1(Ie.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(ie).e("action"))},[createVNode(unref(ElButton),{size:"small",type:Ie.cancelButtonType==="text"?"":Ie.cancelButtonType,text:Ie.cancelButtonType==="text",onClick:he},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref($e)),1)]),_:1},8,["type","text"]),createVNode(unref(ElButton),{size:"small",type:Ie.confirmButtonType==="text"?"":Ie.confirmButtonType,text:Ie.confirmButtonType==="text",onClick:pe},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(_e)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[Ie.$slots.reference?renderSlot(Ie.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc$1(_sfc_main$K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,placement:dropdownProps.placement,disabled:useTooltipTriggerProps.disabled,visible:useTooltipContentProps.visible,transition:useTooltipContentProps.transition,popperOptions:dropdownProps.popperOptions,tabindex:dropdownProps.tabindex,content:useTooltipContentProps.content,popperStyle:useTooltipContentProps.popperStyle,popperClass:useTooltipContentProps.popperClass,enterable:{...useTooltipContentProps.enterable,default:!0},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),popoverEmits={"update:visible":t=>isBoolean$3(t),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$x=defineComponent({name:"ElPopover"}),_sfc_main$J=defineComponent({...__default__$x,props:popoverProps,emits:popoverEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=computed(()=>oe[updateEventKeyRaw]),le=useNamespace("popover"),ue=ref(),de=computed(()=>{var qe;return(qe=unref(ue))==null?void 0:qe.popperRef}),pe=computed(()=>[{width:addUnit(oe.width)},oe.popperStyle]),he=computed(()=>[le.b(),oe.popperClass,{[le.m("plain")]:!!oe.content}]),_e=computed(()=>oe.transition===`${le.namespace.value}-fade-in-linear`),$e=()=>{var qe;(qe=ue.value)==null||qe.hide()},Ie=()=>{V("before-enter")},Ve=()=>{V("before-leave")},Fe=()=>{V("after-enter")},Ue=()=>{V("update:visible",!1),V("after-leave")};return r({popperRef:de,hide:$e}),(qe,Et)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:ue},qe.$attrs,{trigger:qe.trigger,placement:qe.placement,disabled:qe.disabled,visible:qe.visible,transition:qe.transition,"popper-options":qe.popperOptions,tabindex:qe.tabindex,content:qe.content,offset:qe.offset,"show-after":qe.showAfter,"hide-after":qe.hideAfter,"auto-close":qe.autoClose,"show-arrow":qe.showArrow,"aria-label":qe.title,effect:qe.effect,enterable:qe.enterable,"popper-class":unref(he),"popper-style":unref(pe),teleported:qe.teleported,persistent:qe.persistent,"gpu-acceleration":unref(_e),"onUpdate:visible":unref(ie),onBeforeShow:Ie,onBeforeHide:Ve,onShow:Fe,onHide:Ue}),{content:withCtx(()=>[qe.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("title")),role:"title"},toDisplayString$1(qe.title),3)):createCommentVNode("v-if",!0),renderSlot(qe.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(qe.content),1)])]),default:withCtx(()=>[qe.$slots.reference?renderSlot(qe.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc$1(_sfc_main$J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const attachEvents=(t,r)=>{const V=r.arg||r.value,oe=V==null?void 0:V.popperRef;oe&&(oe.triggerRef=t)};var PopoverDirective={mounted(t,r){attachEvents(t,r)},updated(t,r){attachEvents(t,r)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:t=>t>=0&&t<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:t=>`${t}%`}}),_hoisted_1$l=["aria-valuenow"],_hoisted_2$f={viewBox:"0 0 100 100"},_hoisted_3$8=["d","stroke","stroke-linecap","stroke-width"],_hoisted_4$5=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$3={key:0},__default__$w=defineComponent({name:"ElProgress"}),_sfc_main$I=defineComponent({...__default__$w,props:progressProps,setup(t){const r=t,V={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},oe=useNamespace("progress"),ie=computed(()=>({width:`${r.percentage}%`,animationDuration:`${r.duration}s`,backgroundColor:At(r.percentage)})),le=computed(()=>(r.strokeWidth/r.width*100).toFixed(1)),ue=computed(()=>["circle","dashboard"].includes(r.type)?Number.parseInt(`${50-Number.parseFloat(le.value)/2}`,10):0),de=computed(()=>{const Lt=ue.value,hn=r.type==="dashboard";return`
|
||
M 50 50
|
||
m 0 ${hn?"":"-"}${Lt}
|
||
a ${Lt} ${Lt} 0 1 1 0 ${hn?"-":""}${Lt*2}
|
||
a ${Lt} ${Lt} 0 1 1 0 ${hn?"":"-"}${Lt*2}
|
||
`}),pe=computed(()=>2*Math.PI*ue.value),he=computed(()=>r.type==="dashboard"?.75:1),_e=computed(()=>`${-1*pe.value*(1-he.value)/2}px`),$e=computed(()=>({strokeDasharray:`${pe.value*he.value}px, ${pe.value}px`,strokeDashoffset:_e.value})),Ie=computed(()=>({strokeDasharray:`${pe.value*he.value*(r.percentage/100)}px, ${pe.value}px`,strokeDashoffset:_e.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),Ve=computed(()=>{let Lt;return r.color?Lt=At(r.percentage):Lt=V[r.status]||V.default,Lt}),Fe=computed(()=>r.status==="warning"?warning_filled_default:r.type==="line"?r.status==="success"?circle_check_default:circle_close_default:r.status==="success"?check_default:close_default),Ue=computed(()=>r.type==="line"?12+r.strokeWidth*.4:r.width*.111111+2),qe=computed(()=>r.format(r.percentage));function Et(Lt){const hn=100/Lt.length;return Lt.map((vn,bn)=>isString$6(vn)?{color:vn,percentage:(bn+1)*hn}:vn).sort((vn,bn)=>vn.percentage-bn.percentage)}const At=Lt=>{var hn;const{color:_n}=r;if(isFunction$5(_n))return _n(Lt);if(isString$6(_n))return _n;{const vn=Et(_n);for(const bn of vn)if(bn.percentage>Lt)return bn.color;return(hn=vn[vn.length-1])==null?void 0:hn.color}};return(Lt,hn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).b(),unref(oe).m(Lt.type),unref(oe).is(Lt.status),{[unref(oe).m("without-text")]:!Lt.showText,[unref(oe).m("text-inside")]:Lt.textInside}]),role:"progressbar","aria-valuenow":Lt.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[Lt.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(oe).be("bar","outer")),style:normalizeStyle$1({height:`${Lt.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(oe).be("bar","inner"),{[unref(oe).bem("bar","inner","indeterminate")]:Lt.indeterminate},{[unref(oe).bem("bar","inner","striped")]:Lt.striped},{[unref(oe).bem("bar","inner","striped-flow")]:Lt.stripedFlow}]),style:normalizeStyle$1(unref(ie))},[(Lt.showText||Lt.$slots.default)&&Lt.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).be("bar","innerText"))},[renderSlot(Lt.$slots,"default",{percentage:Lt.percentage},()=>[createBaseVNode("span",null,toDisplayString$1(unref(qe)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(oe).b("circle")),style:normalizeStyle$1({height:`${Lt.width}px`,width:`${Lt.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$f,[createBaseVNode("path",{class:normalizeClass(unref(oe).be("circle","track")),d:unref(de),stroke:`var(${unref(oe).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":Lt.strokeLinecap,"stroke-width":unref(le),fill:"none",style:normalizeStyle$1(unref($e))},null,14,_hoisted_3$8),createBaseVNode("path",{class:normalizeClass(unref(oe).be("circle","path")),d:unref(de),stroke:unref(Ve),fill:"none",opacity:Lt.percentage?1:0,"stroke-linecap":Lt.strokeLinecap,"stroke-width":unref(le),style:normalizeStyle$1(unref(Ie))},null,14,_hoisted_4$5)]))],6)),(Lt.showText||Lt.$slots.default)&&!Lt.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(oe).e("text")),style:normalizeStyle$1({fontSize:`${unref(Ue)}px`})},[renderSlot(Lt.$slots,"default",{percentage:Lt.percentage},()=>[Lt.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fe))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$3,toDisplayString$1(unref(qe)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$l))}});var Progress=_export_sfc$1(_sfc_main$I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()=>mutable(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:definePropType([Array,Object]),default:()=>[star_filled_default,star_filled_default,star_filled_default]},voidIcon:{type:iconPropType,default:()=>star_default},disabledVoidIcon:{type:iconPropType,default:()=>star_filled_default},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:definePropType(Array),default:()=>mutable(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:useSizeProp,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1}}),rateEmits={[CHANGE_EVENT]:t=>isNumber$4(t),[UPDATE_MODEL_EVENT]:t=>isNumber$4(t)},_hoisted_1$k=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$e=["onMousemove","onClick"],__default__$v=defineComponent({name:"ElRate"}),_sfc_main$H=defineComponent({...__default__$v,props:rateProps,emits:rateEmits,setup(t,{expose:r,emit:V}){const oe=t;function ie(Dn,Mn){const Ln=Wn=>isObject$9(Wn),An=Object.keys(Mn).map(Wn=>+Wn).filter(Wn=>{const Fn=Mn[Wn];return(Ln(Fn)?Fn.excluded:!1)?Dn<Wn:Dn<=Wn}).sort((Wn,Fn)=>Wn-Fn),Vn=Mn[An[0]];return Ln(Vn)&&Vn.value||Vn}const le=inject(formContextKey,void 0),ue=inject(formItemContextKey,void 0),de=useFormSize(),pe=useNamespace("rate"),{inputId:he,isLabeledByFormItem:_e}=useFormItemInputId(oe,{formItemContext:ue}),$e=ref(oe.modelValue),Ie=ref(-1),Ve=ref(!0),Fe=computed(()=>[pe.b(),pe.m(de.value)]),Ue=computed(()=>oe.disabled||(le==null?void 0:le.disabled)),qe=computed(()=>pe.cssVarBlock({"void-color":oe.voidColor,"disabled-void-color":oe.disabledVoidColor,"fill-color":hn.value})),Et=computed(()=>{let Dn="";return oe.showScore?Dn=oe.scoreTemplate.replace(/\{\s*value\s*\}/,Ue.value?`${oe.modelValue}`:`${$e.value}`):oe.showText&&(Dn=oe.texts[Math.ceil($e.value)-1]),Dn}),At=computed(()=>oe.modelValue*100-Math.floor(oe.modelValue)*100),Lt=computed(()=>isArray$c(oe.colors)?{[oe.lowThreshold]:oe.colors[0],[oe.highThreshold]:{value:oe.colors[1],excluded:!0},[oe.max]:oe.colors[2]}:oe.colors),hn=computed(()=>{const Dn=ie($e.value,Lt.value);return isObject$9(Dn)?"":Dn}),_n=computed(()=>{let Dn="";return Ue.value?Dn=`${At.value}%`:oe.allowHalf&&(Dn="50%"),{color:hn.value,width:Dn}}),vn=computed(()=>{let Dn=isArray$c(oe.icons)?[...oe.icons]:{...oe.icons};return Dn=markRaw(Dn),isArray$c(Dn)?{[oe.lowThreshold]:Dn[0],[oe.highThreshold]:{value:Dn[1],excluded:!0},[oe.max]:Dn[2]}:Dn}),bn=computed(()=>ie(oe.modelValue,vn.value)),Cn=computed(()=>Ue.value?isString$6(oe.disabledVoidIcon)?oe.disabledVoidIcon:markRaw(oe.disabledVoidIcon):isString$6(oe.voidIcon)?oe.voidIcon:markRaw(oe.voidIcon)),Sn=computed(()=>ie($e.value,vn.value));function wn(Dn){const Mn=Ue.value&&At.value>0&&Dn-1<oe.modelValue&&Dn>oe.modelValue,Ln=oe.allowHalf&&Ve.value&&Dn-.5<=$e.value&&Dn>$e.value;return Mn||Ln}function En(Dn){oe.clearable&&Dn===oe.modelValue&&(Dn=0),V(UPDATE_MODEL_EVENT,Dn),oe.modelValue!==Dn&&V("change",Dn)}function xn(Dn){Ue.value||(oe.allowHalf&&Ve.value?En($e.value):En(Dn))}function Pn(Dn){if(Ue.value)return;let Mn=$e.value;const Ln=Dn.code;return Ln===EVENT_CODE.up||Ln===EVENT_CODE.right?(oe.allowHalf?Mn+=.5:Mn+=1,Dn.stopPropagation(),Dn.preventDefault()):(Ln===EVENT_CODE.left||Ln===EVENT_CODE.down)&&(oe.allowHalf?Mn-=.5:Mn-=1,Dn.stopPropagation(),Dn.preventDefault()),Mn=Mn<0?0:Mn,Mn=Mn>oe.max?oe.max:Mn,V(UPDATE_MODEL_EVENT,Mn),V("change",Mn),Mn}function kn(Dn,Mn){if(!Ue.value){if(oe.allowHalf&&Mn){let Ln=Mn.target;hasClass(Ln,pe.e("item"))&&(Ln=Ln.querySelector(`.${pe.e("icon")}`)),(Ln.clientWidth===0||hasClass(Ln,pe.e("decimal")))&&(Ln=Ln.parentNode),Ve.value=Mn.offsetX*2<=Ln.clientWidth,$e.value=Ve.value?Dn-.5:Dn}else $e.value=Dn;Ie.value=Dn}}function Nn(){Ue.value||(oe.allowHalf&&(Ve.value=oe.modelValue!==Math.floor(oe.modelValue)),$e.value=oe.modelValue,Ie.value=-1)}return watch(()=>oe.modelValue,Dn=>{$e.value=Dn,Ve.value=oe.modelValue!==Math.floor(oe.modelValue)}),oe.modelValue||V(UPDATE_MODEL_EVENT,0),r({setCurrentValue:kn,resetCurrentValue:Nn}),(Dn,Mn)=>{var Ln;return openBlock(),createElementBlock("div",{id:unref(he),class:normalizeClass([unref(Fe),unref(pe).is("disabled",unref(Ue))]),role:"slider","aria-label":unref(_e)?void 0:Dn.label||"rating","aria-labelledby":unref(_e)?(Ln=unref(ue))==null?void 0:Ln.labelId:void 0,"aria-valuenow":$e.value,"aria-valuetext":unref(Et)||void 0,"aria-valuemin":"0","aria-valuemax":Dn.max,tabindex:"0",style:normalizeStyle$1(unref(qe)),onKeydown:Pn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dn.max,(An,Vn)=>(openBlock(),createElementBlock("span",{key:Vn,class:normalizeClass(unref(pe).e("item")),onMousemove:Wn=>kn(An,Wn),onMouseleave:Nn,onClick:Wn=>xn(An)},[createVNode(unref(ElIcon),{class:normalizeClass([unref(pe).e("icon"),{hover:Ie.value===An},unref(pe).is("active",An<=$e.value)])},{default:withCtx(()=>[wn(An)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Sn)),null,null,512)),[[vShow,An<=$e.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Cn)),null,null,512)),[[vShow,!(An<=$e.value)]])],64)),wn(An)?(openBlock(),createBlock(unref(ElIcon),{key:1,style:normalizeStyle$1(unref(_n)),class:normalizeClass([unref(pe).e("icon"),unref(pe).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(bn))))]),_:1},8,["style","class"])):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$e))),128)),Dn.showText||Dn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(pe).e("text"))},toDisplayString$1(unref(Et)),3)):createCommentVNode("v-if",!0)],46,_hoisted_1$k)}}});var Rate=_export_sfc$1(_sfc_main$H,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const ElRate=withInstall(Rate),IconMap={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},IconComponentMap={[IconMap.success]:circle_check_filled_default,[IconMap.warning]:warning_filled_default,[IconMap.error]:circle_close_filled_default,[IconMap.info]:info_filled_default},resultProps=buildProps({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),__default__$u=defineComponent({name:"ElResult"}),_sfc_main$G=defineComponent({...__default__$u,props:resultProps,setup(t){const r=t,V=useNamespace("result"),oe=computed(()=>{const ie=r.icon,le=ie&&IconMap[ie]?IconMap[ie]:"icon-info",ue=IconComponentMap[le]||IconComponentMap["icon-info"];return{class:le,component:ue}});return(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(V).b())},[createBaseVNode("div",{class:normalizeClass(unref(V).e("icon"))},[renderSlot(ie.$slots,"icon",{},()=>[unref(oe).component?(openBlock(),createBlock(resolveDynamicComponent(unref(oe).component),{key:0,class:normalizeClass(unref(oe).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),ie.title||ie.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("title"))},[renderSlot(ie.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString$1(ie.title),1)])],2)):createCommentVNode("v-if",!0),ie.subTitle||ie.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(V).e("subtitle"))},[renderSlot(ie.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString$1(ie.subTitle),1)])],2)):createCommentVNode("v-if",!0),ie.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(V).e("extra"))},[renderSlot(ie.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$1(_sfc_main$G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const ElResult=withInstall(Result);var safeIsNaN=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function isEqual(t,r){return!!(t===r||safeIsNaN(t)&&safeIsNaN(r))}function areInputsEqual(t,r){if(t.length!==r.length)return!1;for(var V=0;V<t.length;V++)if(!isEqual(t[V],r[V]))return!1;return!0}function memoizeOne(t,r){r===void 0&&(r=areInputsEqual);var V=null;function oe(){for(var ie=[],le=0;le<arguments.length;le++)ie[le]=arguments[le];if(V&&V.lastThis===this&&r(ie,V.lastArgs))return V.lastResult;var ue=t.apply(this,ie);return V={lastResult:ue,lastArgs:ie,lastThis:this},ue}return oe.clear=function(){V=null},oe}const useCache=()=>{const r=getCurrentInstance().proxy.$props;return computed(()=>{const V=(oe,ie,le)=>({});return r.perfMode?memoize(V):memoizeOne(V)})},DEFAULT_DYNAMIC_LIST_ITEM_SIZE=50,ITEM_RENDER_EVT="itemRendered",SCROLL_EVT="scroll",FORWARD="forward",BACKWARD="backward",AUTO_ALIGNMENT="auto",SMART_ALIGNMENT="smart",START_ALIGNMENT="start",CENTERED_ALIGNMENT="center",END_ALIGNMENT="end",HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL$1]:"left",[VERTICAL$1]:"top"},SCROLLBAR_MIN_SIZE=20,LayoutKeys={[HORIZONTAL$1]:"deltaX",[VERTICAL$1]:"deltaY"},useWheel=({atEndEdge:t,atStartEdge:r,layout:V},oe)=>{let ie,le=0;const ue=pe=>pe<0&&r.value||pe>0&&t.value;return{hasReachedEdge:ue,onWheel:pe=>{cAF(ie);const he=pe[LayoutKeys[V.value]];ue(le)&&ue(le+he)||(le+=he,isFirefox()||pe.preventDefault(),ie=rAF(()=>{oe(le),le=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache$1=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total=buildProp({type:Number,required:!0}),layout$3=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL$1}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:definePropType([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),virtualizedListProps=buildProps({cache:cache$1,estimatedItemSize,layout:layout$3,initScrollOffset,total,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache$1,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:t,rowIndex:r})=>`${r}:${t}`},rowCache:cache$1,rowHeight:itemSize$1,totalColumn:total,totalRow:total,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout:layout$3,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(t,r)=>t<r?FORWARD:BACKWARD,isHorizontal=t=>t===LTR||t===RTL||t===HORIZONTAL$1,isRTL=t=>t===RTL;let cachedRTLResult=null;function getRTLOffsetType(t=!1){if(cachedRTLResult===null||t){const r=document.createElement("div"),V=r.style;V.width="50px",V.height="50px",V.overflow="scroll",V.direction="rtl";const oe=document.createElement("div"),ie=oe.style;return ie.width="100px",ie.height="100px",r.appendChild(oe),document.body.appendChild(r),r.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:(r.scrollLeft=1,r.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild(r),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:t,size:r,bar:V},oe){const ie={},le=`translate${V.axis}(${t}px)`;return ie[V.size]=r,ie.transform=le,ie.msTransform=le,ie.webkitTransform=le,oe==="horizontal"?ie.height="100%":ie.width="100%",ie}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(t,{emit:r}){const V=computed(()=>t.startGap+t.endGap),oe=useNamespace("virtual-scrollbar"),ie=useNamespace("scrollbar"),le=ref(),ue=ref();let de=null,pe=null;const he=reactive({isDragging:!1,traveled:0}),_e=computed(()=>BAR_MAP[t.layout]),$e=computed(()=>t.clientSize-unref(V)),Ie=computed(()=>({position:"absolute",width:`${HORIZONTAL$1===t.layout?$e.value:t.scrollbarSize}px`,height:`${HORIZONTAL$1===t.layout?t.scrollbarSize:$e.value}px`,[ScrollbarDirKey[t.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),Ve=computed(()=>{const vn=t.ratio,bn=t.clientSize;if(vn>=100)return Number.POSITIVE_INFINITY;if(vn>=50)return vn*bn/100;const Cn=bn/3;return Math.floor(Math.min(Math.max(vn*bn,SCROLLBAR_MIN_SIZE),Cn))}),Fe=computed(()=>{if(!Number.isFinite(Ve.value))return{display:"none"};const vn=`${Ve.value}px`;return renderThumbStyle({bar:_e.value,size:vn,move:he.traveled},t.layout)}),Ue=computed(()=>Math.floor(t.clientSize-Ve.value-unref(V))),qe=()=>{window.addEventListener("mousemove",hn),window.addEventListener("mouseup",Lt);const vn=unref(ue);vn&&(pe=document.onselectstart,document.onselectstart=()=>!1,vn.addEventListener("touchmove",hn),vn.addEventListener("touchend",Lt))},Et=()=>{window.removeEventListener("mousemove",hn),window.removeEventListener("mouseup",Lt),document.onselectstart=pe,pe=null;const vn=unref(ue);vn&&(vn.removeEventListener("touchmove",hn),vn.removeEventListener("touchend",Lt))},At=vn=>{vn.stopImmediatePropagation(),!(vn.ctrlKey||[1,2].includes(vn.button))&&(he.isDragging=!0,he[_e.value.axis]=vn.currentTarget[_e.value.offset]-(vn[_e.value.client]-vn.currentTarget.getBoundingClientRect()[_e.value.direction]),r("start-move"),qe())},Lt=()=>{he.isDragging=!1,he[_e.value.axis]=0,r("stop-move"),Et()},hn=vn=>{const{isDragging:bn}=he;if(!bn||!ue.value||!le.value)return;const Cn=he[_e.value.axis];if(!Cn)return;cAF(de);const Sn=(le.value.getBoundingClientRect()[_e.value.direction]-vn[_e.value.client])*-1,wn=ue.value[_e.value.offset]-Cn,En=Sn-wn;de=rAF(()=>{he.traveled=Math.max(t.startGap,Math.min(En,Ue.value)),r("scroll",En,Ue.value)})},_n=vn=>{const bn=Math.abs(vn.target.getBoundingClientRect()[_e.value.direction]-vn[_e.value.client]),Cn=ue.value[_e.value.offset]/2,Sn=bn-Cn;he.traveled=Math.max(0,Math.min(Sn,Ue.value)),r("scroll",Sn,Ue.value)};return watch(()=>t.scrollFrom,vn=>{he.isDragging||(he.traveled=Math.ceil(vn*Ue.value))}),onBeforeUnmount(()=>{Et()}),()=>h$2("div",{role:"presentation",ref:le,class:[oe.b(),t.class,(t.alwaysOn||he.isDragging)&&"always-on"],style:Ie.value,onMousedown:withModifiers(_n,["stop","prevent"]),onTouchstartPrevent:At},h$2("div",{ref:ue,class:ie.e("thumb"),style:Fe.value,onMousedown:At},[]))}}),createList$1=({name:t,getOffset:r,getItemSize:V,getItemOffset:oe,getEstimatedTotalSize:ie,getStartIndexForOffset:le,getStopIndexForStartIndex:ue,initCache:de,clearCache:pe,validateProps:he})=>defineComponent({name:t??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(_e,{emit:$e,expose:Ie}){he(_e);const Ve=getCurrentInstance(),Fe=useNamespace("vl"),Ue=ref(de(_e,Ve)),qe=useCache(),Et=ref(),At=ref(),Lt=ref(),hn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$4(_e.initScrollOffset)?_e.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:_e.scrollbarAlwaysOn}),_n=computed(()=>{const{total:Yn,cache:tr}=_e,{isScrolling:yr,scrollDir:Jn,scrollOffset:Kn}=unref(hn);if(Yn===0)return[0,0,0,0];const Gn=le(_e,Kn,unref(Ue)),Qn=ue(_e,Gn,Kn,unref(Ue)),ur=!yr||Jn===BACKWARD?Math.max(1,tr):1,cr=!yr||Jn===FORWARD?Math.max(1,tr):1;return[Math.max(0,Gn-ur),Math.max(0,Math.min(Yn-1,Qn+cr)),Gn,Qn]}),vn=computed(()=>ie(_e,unref(Ue))),bn=computed(()=>isHorizontal(_e.layout)),Cn=computed(()=>[{position:"relative",[`overflow-${bn.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:_e.direction,height:isNumber$4(_e.height)?`${_e.height}px`:_e.height,width:isNumber$4(_e.width)?`${_e.width}px`:_e.width},_e.style]),Sn=computed(()=>{const Yn=unref(vn),tr=unref(bn);return{height:tr?"100%":`${Yn}px`,pointerEvents:unref(hn).isScrolling?"none":void 0,width:tr?`${Yn}px`:"100%"}}),wn=computed(()=>bn.value?_e.width:_e.height),{onWheel:En}=useWheel({atStartEdge:computed(()=>hn.value.scrollOffset<=0),atEndEdge:computed(()=>hn.value.scrollOffset>=vn.value),layout:computed(()=>_e.layout)},Yn=>{var tr,yr;(yr=(tr=Lt.value).onMouseUp)==null||yr.call(tr),Mn(Math.min(hn.value.scrollOffset+Yn,vn.value-wn.value))}),xn=()=>{const{total:Yn}=_e;if(Yn>0){const[Kn,Gn,Qn,ur]=unref(_n);$e(ITEM_RENDER_EVT,Kn,Gn,Qn,ur)}const{scrollDir:tr,scrollOffset:yr,updateRequested:Jn}=unref(hn);$e(SCROLL_EVT,tr,yr,Jn)},Pn=Yn=>{const{clientHeight:tr,scrollHeight:yr,scrollTop:Jn}=Yn.currentTarget,Kn=unref(hn);if(Kn.scrollOffset===Jn)return;const Gn=Math.max(0,Math.min(Jn,yr-tr));hn.value={...Kn,isScrolling:!0,scrollDir:getScrollDir(Kn.scrollOffset,Gn),scrollOffset:Gn,updateRequested:!1},nextTick(Vn)},kn=Yn=>{const{clientWidth:tr,scrollLeft:yr,scrollWidth:Jn}=Yn.currentTarget,Kn=unref(hn);if(Kn.scrollOffset===yr)return;const{direction:Gn}=_e;let Qn=yr;if(Gn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Qn=-yr;break}case RTL_OFFSET_POS_DESC:{Qn=Jn-tr-yr;break}}Qn=Math.max(0,Math.min(Qn,Jn-tr)),hn.value={...Kn,isScrolling:!0,scrollDir:getScrollDir(Kn.scrollOffset,Qn),scrollOffset:Qn,updateRequested:!1},nextTick(Vn)},Nn=Yn=>{unref(bn)?kn(Yn):Pn(Yn),xn()},Dn=(Yn,tr)=>{const yr=(vn.value-wn.value)/tr*Yn;Mn(Math.min(vn.value-wn.value,yr))},Mn=Yn=>{Yn=Math.max(Yn,0),Yn!==unref(hn).scrollOffset&&(hn.value={...unref(hn),scrollOffset:Yn,scrollDir:getScrollDir(unref(hn).scrollOffset,Yn),updateRequested:!0},nextTick(Vn))},Ln=(Yn,tr=AUTO_ALIGNMENT)=>{const{scrollOffset:yr}=unref(hn);Yn=Math.max(0,Math.min(Yn,_e.total-1)),Mn(r(_e,Yn,tr,yr,unref(Ue)))},An=Yn=>{const{direction:tr,itemSize:yr,layout:Jn}=_e,Kn=qe.value(pe&&yr,pe&&Jn,pe&&tr);let Gn;if(hasOwn$4(Kn,String(Yn)))Gn=Kn[Yn];else{const Qn=oe(_e,Yn,unref(Ue)),ur=V(_e,Yn,unref(Ue)),cr=unref(bn),Un=tr===RTL,qn=cr?Qn:0;Kn[Yn]=Gn={position:"absolute",left:Un?void 0:`${qn}px`,right:Un?`${qn}px`:void 0,top:cr?0:`${Qn}px`,height:cr?"100%":`${ur}px`,width:cr?`${ur}px`:"100%"}}return Gn},Vn=()=>{hn.value.isScrolling=!1,nextTick(()=>{qe.value(-1,null,null)})},Wn=()=>{const Yn=Et.value;Yn&&(Yn.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:Yn}=_e,tr=unref(Et);isNumber$4(Yn)&&tr&&(unref(bn)?tr.scrollLeft=Yn:tr.scrollTop=Yn),xn()}),onUpdated(()=>{const{direction:Yn,layout:tr}=_e,{scrollOffset:yr,updateRequested:Jn}=unref(hn),Kn=unref(Et);if(Jn&&Kn)if(tr===HORIZONTAL$1)if(Yn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Kn.scrollLeft=-yr;break}case RTL_OFFSET_POS_ASC:{Kn.scrollLeft=yr;break}default:{const{clientWidth:Gn,scrollWidth:Qn}=Kn;Kn.scrollLeft=Qn-Gn-yr;break}}else Kn.scrollLeft=yr;else Kn.scrollTop=yr});const Fn={ns:Fe,clientSize:wn,estimatedTotalSize:vn,windowStyle:Cn,windowRef:Et,innerRef:At,innerStyle:Sn,itemsToRender:_n,scrollbarRef:Lt,states:hn,getItemStyle:An,onScroll:Nn,onScrollbarScroll:Dn,onWheel:En,scrollTo:Mn,scrollToItem:Ln,resetScrollTop:Wn};return Ie({windowRef:Et,innerRef:At,getItemStyleCache:qe,scrollTo:Mn,scrollToItem:Ln,resetScrollTop:Wn,states:hn}),Fn},render(_e){var $e;const{$slots:Ie,className:Ve,clientSize:Fe,containerElement:Ue,data:qe,getItemStyle:Et,innerElement:At,itemsToRender:Lt,innerStyle:hn,layout:_n,total:vn,onScroll:bn,onScrollbarScroll:Cn,onWheel:Sn,states:wn,useIsScrolling:En,windowStyle:xn,ns:Pn}=_e,[kn,Nn]=Lt,Dn=resolveDynamicComponent(Ue),Mn=resolveDynamicComponent(At),Ln=[];if(vn>0)for(let Fn=kn;Fn<=Nn;Fn++)Ln.push(($e=Ie.default)==null?void 0:$e.call(Ie,{data:qe,key:Fn,index:Fn,isScrolling:En?wn.isScrolling:void 0,style:Et(Fn)}));const An=[h$2(Mn,{style:hn,ref:"innerRef"},isString$6(Mn)?Ln:{default:()=>Ln})],Vn=h$2(ScrollBar,{ref:"scrollbarRef",clientSize:Fe,layout:_n,onScroll:Cn,ratio:Fe*100/this.estimatedTotalSize,scrollFrom:wn.scrollOffset/(this.estimatedTotalSize-Fe),total:vn}),Wn=h$2(Dn,{class:[Pn.e("window"),Ve],style:xn,onScroll:bn,onWheel:Sn,ref:"windowRef",key:0},isString$6(Dn)?[An]:{default:()=>[An]});return h$2("div",{key:0,class:[Pn.e("wrapper"),wn.scrollbarAlwaysOn?"always-on":""]},[Wn,Vn])}}),FixedSizeList=createList$1({name:"ElFixedSizeList",getItemOffset:({itemSize:t},r)=>r*t,getItemSize:({itemSize:t})=>t,getEstimatedTotalSize:({total:t,itemSize:r})=>r*t,getOffset:({height:t,total:r,itemSize:V,layout:oe,width:ie},le,ue,de)=>{const pe=isHorizontal(oe)?ie:t,he=Math.max(0,r*V-pe),_e=Math.min(he,le*V),$e=Math.max(0,(le+1)*V-pe);switch(ue===SMART_ALIGNMENT&&(de>=$e-pe&&de<=_e+pe?ue=AUTO_ALIGNMENT:ue=CENTERED_ALIGNMENT),ue){case START_ALIGNMENT:return _e;case END_ALIGNMENT:return $e;case CENTERED_ALIGNMENT:{const Ie=Math.round($e+(_e-$e)/2);return Ie<Math.ceil(pe/2)?0:Ie>he+Math.floor(pe/2)?he:Ie}case AUTO_ALIGNMENT:default:return de>=$e&&de<=_e?de:de<$e?$e:_e}},getStartIndexForOffset:({total:t,itemSize:r},V)=>Math.max(0,Math.min(t-1,Math.floor(V/r))),getStopIndexForStartIndex:({height:t,total:r,itemSize:V,layout:oe,width:ie},le,ue)=>{const de=le*V,pe=isHorizontal(oe)?ie:t,he=Math.ceil((pe+ue-de)/V);return Math.max(0,Math.min(r-1,le+he-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(t,r,V)=>{const{itemSize:oe}=t,{items:ie,lastVisitedIndex:le}=V;if(r>le){let ue=0;if(le>=0){const de=ie[le];ue=de.offset+de.size}for(let de=le+1;de<=r;de++){const pe=oe(de);ie[de]={offset:ue,size:pe},ue+=pe}V.lastVisitedIndex=r}return ie[r]},findItem$1=(t,r,V)=>{const{items:oe,lastVisitedIndex:ie}=r;return(ie>0?oe[ie].offset:0)>=V?bs$1(t,r,0,ie,V):es$1(t,r,Math.max(0,ie),V)},bs$1=(t,r,V,oe,ie)=>{for(;V<=oe;){const le=V+Math.floor((oe-V)/2),ue=getItemFromCache$1(t,le,r).offset;if(ue===ie)return le;ue<ie?V=le+1:ue>ie&&(oe=le-1)}return Math.max(0,V-1)},es$1=(t,r,V,oe)=>{const{total:ie}=t;let le=1;for(;V<ie&&getItemFromCache$1(t,V,r).offset<oe;)V+=le,le*=2;return bs$1(t,r,Math.floor(V/2),Math.min(V,ie-1),oe)},getEstimatedTotalSize=({total:t},{items:r,estimatedItemSize:V,lastVisitedIndex:oe})=>{let ie=0;if(oe>=t&&(oe=t-1),oe>=0){const de=r[oe];ie=de.offset+de.size}const ue=(t-oe-1)*V;return ie+ue},DynamicSizeList=createList$1({name:"ElDynamicSizeList",getItemOffset:(t,r,V)=>getItemFromCache$1(t,r,V).offset,getItemSize:(t,r,{items:V})=>V[r].size,getEstimatedTotalSize,getOffset:(t,r,V,oe,ie)=>{const{height:le,layout:ue,width:de}=t,pe=isHorizontal(ue)?de:le,he=getItemFromCache$1(t,r,ie),_e=getEstimatedTotalSize(t,ie),$e=Math.max(0,Math.min(_e-pe,he.offset)),Ie=Math.max(0,he.offset-pe+he.size);switch(V===SMART_ALIGNMENT&&(oe>=Ie-pe&&oe<=$e+pe?V=AUTO_ALIGNMENT:V=CENTERED_ALIGNMENT),V){case START_ALIGNMENT:return $e;case END_ALIGNMENT:return Ie;case CENTERED_ALIGNMENT:return Math.round(Ie+($e-Ie)/2);case AUTO_ALIGNMENT:default:return oe>=Ie&&oe<=$e?oe:oe<Ie?Ie:$e}},getStartIndexForOffset:(t,r,V)=>findItem$1(t,V,r),getStopIndexForStartIndex:(t,r,V,oe)=>{const{height:ie,total:le,layout:ue,width:de}=t,pe=isHorizontal(ue)?de:ie,he=getItemFromCache$1(t,r,oe),_e=V+pe;let $e=he.offset+he.size,Ie=r;for(;Ie<le-1&&$e<_e;)Ie++,$e+=getItemFromCache$1(t,Ie,oe).size;return Ie},initCache({estimatedItemSize:t=DEFAULT_DYNAMIC_LIST_ITEM_SIZE},r){const V={items:{},estimatedItemSize:t,lastVisitedIndex:-1};return V.clearCacheAfterIndex=(oe,ie=!0)=>{var le,ue;V.lastVisitedIndex=Math.min(V.lastVisitedIndex,oe-1),(le=r.exposed)==null||le.getItemStyleCache(-1),ie&&((ue=r.proxy)==null||ue.$forceUpdate())},V},clearCache:!1,validateProps:({itemSize:t})=>{}}),useGridWheel=({atXEndEdge:t,atXStartEdge:r,atYEndEdge:V,atYStartEdge:oe},ie)=>{let le=null,ue=0,de=0;const pe=(_e,$e)=>{const Ie=_e<=0&&r.value||_e>=0&&t.value,Ve=$e<=0&&oe.value||$e>=0&&V.value;return Ie&&Ve};return{hasReachedEdge:pe,onWheel:_e=>{cAF(le);let $e=_e.deltaX,Ie=_e.deltaY;Math.abs($e)>Math.abs(Ie)?Ie=0:$e=0,_e.shiftKey&&Ie!==0&&($e=Ie,Ie=0),!(pe(ue,de)&&pe(ue+$e,de+Ie))&&(ue+=$e,de+=Ie,_e.preventDefault(),le=rAF(()=>{ie(ue,de),ue=0,de=0}))}}},createGrid=({name:t,clearCache:r,getColumnPosition:V,getColumnStartIndexForOffset:oe,getColumnStopIndexForStartIndex:ie,getEstimatedTotalHeight:le,getEstimatedTotalWidth:ue,getColumnOffset:de,getRowOffset:pe,getRowPosition:he,getRowStartIndexForOffset:_e,getRowStopIndexForStartIndex:$e,initCache:Ie,injectToInstance:Ve,validateProps:Fe})=>defineComponent({name:t??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(Ue,{emit:qe,expose:Et,slots:At}){const Lt=useNamespace("vl");Fe(Ue);const hn=getCurrentInstance(),_n=ref(Ie(Ue,hn));Ve==null||Ve(hn,_n);const vn=ref(),bn=ref(),Cn=ref(),Sn=ref(null),wn=ref({isScrolling:!1,scrollLeft:isNumber$4(Ue.initScrollLeft)?Ue.initScrollLeft:0,scrollTop:isNumber$4(Ue.initScrollTop)?Ue.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),En=useCache(),xn=computed(()=>Number.parseInt(`${Ue.height}`,10)),Pn=computed(()=>Number.parseInt(`${Ue.width}`,10)),kn=computed(()=>{const{totalColumn:dr,totalRow:xr,columnCache:wr}=Ue,{isScrolling:Cr,xAxisScrollDir:gr,scrollLeft:or}=unref(wn);if(dr===0||xr===0)return[0,0,0,0];const fr=oe(Ue,or,unref(_n)),kr=ie(Ue,fr,or,unref(_n)),br=!Cr||gr===BACKWARD?Math.max(1,wr):1,Ar=!Cr||gr===FORWARD?Math.max(1,wr):1;return[Math.max(0,fr-br),Math.max(0,Math.min(dr-1,kr+Ar)),fr,kr]}),Nn=computed(()=>{const{totalColumn:dr,totalRow:xr,rowCache:wr}=Ue,{isScrolling:Cr,yAxisScrollDir:gr,scrollTop:or}=unref(wn);if(dr===0||xr===0)return[0,0,0,0];const fr=_e(Ue,or,unref(_n)),kr=$e(Ue,fr,or,unref(_n)),br=!Cr||gr===BACKWARD?Math.max(1,wr):1,Ar=!Cr||gr===FORWARD?Math.max(1,wr):1;return[Math.max(0,fr-br),Math.max(0,Math.min(xr-1,kr+Ar)),fr,kr]}),Dn=computed(()=>le(Ue,unref(_n))),Mn=computed(()=>ue(Ue,unref(_n))),Ln=computed(()=>{var dr;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:Ue.direction,height:isNumber$4(Ue.height)?`${Ue.height}px`:Ue.height,width:isNumber$4(Ue.width)?`${Ue.width}px`:Ue.width},(dr=Ue.style)!=null?dr:{}]}),An=computed(()=>{const dr=`${unref(Mn)}px`;return{height:`${unref(Dn)}px`,pointerEvents:unref(wn).isScrolling?"none":void 0,width:dr}}),Vn=()=>{const{totalColumn:dr,totalRow:xr}=Ue;if(dr>0&&xr>0){const[kr,br,Ar,Dr]=unref(kn),[Br,zr,Rr,mr]=unref(Nn);qe(ITEM_RENDER_EVT,{columnCacheStart:kr,columnCacheEnd:br,rowCacheStart:Br,rowCacheEnd:zr,columnVisibleStart:Ar,columnVisibleEnd:Dr,rowVisibleStart:Rr,rowVisibleEnd:mr})}const{scrollLeft:wr,scrollTop:Cr,updateRequested:gr,xAxisScrollDir:or,yAxisScrollDir:fr}=unref(wn);qe(SCROLL_EVT,{xAxisScrollDir:or,scrollLeft:wr,yAxisScrollDir:fr,scrollTop:Cr,updateRequested:gr})},Wn=dr=>{const{clientHeight:xr,clientWidth:wr,scrollHeight:Cr,scrollLeft:gr,scrollTop:or,scrollWidth:fr}=dr.currentTarget,kr=unref(wn);if(kr.scrollTop===or&&kr.scrollLeft===gr)return;let br=gr;if(isRTL(Ue.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:br=-gr;break;case RTL_OFFSET_POS_DESC:br=fr-wr-gr;break}wn.value={...kr,isScrolling:!0,scrollLeft:br,scrollTop:Math.max(0,Math.min(or,Cr-xr)),updateRequested:!0,xAxisScrollDir:getScrollDir(kr.scrollLeft,br),yAxisScrollDir:getScrollDir(kr.scrollTop,or)},nextTick(()=>Gn()),Qn(),Vn()},Fn=(dr,xr)=>{const wr=unref(xn),Cr=(Dn.value-wr)/xr*dr;yr({scrollTop:Math.min(Dn.value-wr,Cr)})},Yn=(dr,xr)=>{const wr=unref(Pn),Cr=(Mn.value-wr)/xr*dr;yr({scrollLeft:Math.min(Mn.value-wr,Cr)})},{onWheel:tr}=useGridWheel({atXStartEdge:computed(()=>wn.value.scrollLeft<=0),atXEndEdge:computed(()=>wn.value.scrollLeft>=Mn.value-unref(Pn)),atYStartEdge:computed(()=>wn.value.scrollTop<=0),atYEndEdge:computed(()=>wn.value.scrollTop>=Dn.value-unref(xn))},(dr,xr)=>{var wr,Cr,gr,or;(Cr=(wr=bn.value)==null?void 0:wr.onMouseUp)==null||Cr.call(wr),(or=(gr=Cn.value)==null?void 0:gr.onMouseUp)==null||or.call(gr);const fr=unref(Pn),kr=unref(xn);yr({scrollLeft:Math.min(wn.value.scrollLeft+dr,Mn.value-fr),scrollTop:Math.min(wn.value.scrollTop+xr,Dn.value-kr)})}),yr=({scrollLeft:dr=wn.value.scrollLeft,scrollTop:xr=wn.value.scrollTop})=>{dr=Math.max(dr,0),xr=Math.max(xr,0);const wr=unref(wn);xr===wr.scrollTop&&dr===wr.scrollLeft||(wn.value={...wr,xAxisScrollDir:getScrollDir(wr.scrollLeft,dr),yAxisScrollDir:getScrollDir(wr.scrollTop,xr),scrollLeft:dr,scrollTop:xr,updateRequested:!0},nextTick(()=>Gn()),Qn(),Vn())},Jn=(dr=0,xr=0,wr=AUTO_ALIGNMENT)=>{const Cr=unref(wn);xr=Math.max(0,Math.min(xr,Ue.totalColumn-1)),dr=Math.max(0,Math.min(dr,Ue.totalRow-1));const gr=getScrollBarWidth(Lt.namespace.value),or=unref(_n),fr=le(Ue,or),kr=ue(Ue,or);yr({scrollLeft:de(Ue,xr,wr,Cr.scrollLeft,or,kr>Ue.width?gr:0),scrollTop:pe(Ue,dr,wr,Cr.scrollTop,or,fr>Ue.height?gr:0)})},Kn=(dr,xr)=>{const{columnWidth:wr,direction:Cr,rowHeight:gr}=Ue,or=En.value(r&&wr,r&&gr,r&&Cr),fr=`${dr},${xr}`;if(hasOwn$4(or,fr))return or[fr];{const[,kr]=V(Ue,xr,unref(_n)),br=unref(_n),Ar=isRTL(Cr),[Dr,Br]=he(Ue,dr,br),[zr]=V(Ue,xr,br);return or[fr]={position:"absolute",left:Ar?void 0:`${kr}px`,right:Ar?`${kr}px`:void 0,top:`${Br}px`,height:`${Dr}px`,width:`${zr}px`},or[fr]}},Gn=()=>{wn.value.isScrolling=!1,nextTick(()=>{En.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:dr,initScrollTop:xr}=Ue,wr=unref(vn);wr&&(isNumber$4(dr)&&(wr.scrollLeft=dr),isNumber$4(xr)&&(wr.scrollTop=xr)),Vn()});const Qn=()=>{const{direction:dr}=Ue,{scrollLeft:xr,scrollTop:wr,updateRequested:Cr}=unref(wn),gr=unref(vn);if(Cr&&gr){if(dr===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{gr.scrollLeft=-xr;break}case RTL_OFFSET_POS_ASC:{gr.scrollLeft=xr;break}default:{const{clientWidth:or,scrollWidth:fr}=gr;gr.scrollLeft=fr-or-xr;break}}else gr.scrollLeft=Math.max(0,xr);gr.scrollTop=Math.max(0,wr)}},{resetAfterColumnIndex:ur,resetAfterRowIndex:cr,resetAfter:Un}=hn.proxy;Et({windowRef:vn,innerRef:Sn,getItemStyleCache:En,scrollTo:yr,scrollToItem:Jn,states:wn,resetAfterColumnIndex:ur,resetAfterRowIndex:cr,resetAfter:Un});const qn=()=>{const{scrollbarAlwaysOn:dr,scrollbarStartGap:xr,scrollbarEndGap:wr,totalColumn:Cr,totalRow:gr}=Ue,or=unref(Pn),fr=unref(xn),kr=unref(Mn),br=unref(Dn),{scrollLeft:Ar,scrollTop:Dr}=unref(wn),Br=h$2(ScrollBar,{ref:bn,alwaysOn:dr,startGap:xr,endGap:wr,class:Lt.e("horizontal"),clientSize:or,layout:"horizontal",onScroll:Yn,ratio:or*100/kr,scrollFrom:Ar/(kr-or),total:gr,visible:!0}),zr=h$2(ScrollBar,{ref:Cn,alwaysOn:dr,startGap:xr,endGap:wr,class:Lt.e("vertical"),clientSize:fr,layout:"vertical",onScroll:Fn,ratio:fr*100/br,scrollFrom:Dr/(br-fr),total:Cr,visible:!0});return{horizontalScrollbar:Br,verticalScrollbar:zr}},er=()=>{var dr;const[xr,wr]=unref(kn),[Cr,gr]=unref(Nn),{data:or,totalColumn:fr,totalRow:kr,useIsScrolling:br,itemKey:Ar}=Ue,Dr=[];if(kr>0&&fr>0)for(let Br=Cr;Br<=gr;Br++)for(let zr=xr;zr<=wr;zr++)Dr.push((dr=At.default)==null?void 0:dr.call(At,{columnIndex:zr,data:or,key:Ar({columnIndex:zr,data:or,rowIndex:Br}),isScrolling:br?unref(wn).isScrolling:void 0,style:Kn(Br,zr),rowIndex:Br}));return Dr},pr=()=>{const dr=resolveDynamicComponent(Ue.innerElement),xr=er();return[h$2(dr,{style:unref(An),ref:Sn},isString$6(dr)?xr:{default:()=>xr})]};return()=>{const dr=resolveDynamicComponent(Ue.containerElement),{horizontalScrollbar:xr,verticalScrollbar:wr}=qn(),Cr=pr();return h$2("div",{key:0,class:Lt.e("wrapper"),role:Ue.role},[h$2(dr,{class:Ue.className,style:unref(Ln),onScroll:Wn,onWheel:tr,ref:vn},isString$6(dr)?Cr:{default:()=>Cr}),xr,wr])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:t},r)=>[t,r*t],getRowPosition:({rowHeight:t},r)=>[t,r*t],getEstimatedTotalHeight:({totalRow:t,rowHeight:r})=>r*t,getEstimatedTotalWidth:({totalColumn:t,columnWidth:r})=>r*t,getColumnOffset:({totalColumn:t,columnWidth:r,width:V},oe,ie,le,ue,de)=>{V=Number(V);const pe=Math.max(0,t*r-V),he=Math.min(pe,oe*r),_e=Math.max(0,oe*r-V+de+r);switch(ie==="smart"&&(le>=_e-V&&le<=he+V?ie=AUTO_ALIGNMENT:ie=CENTERED_ALIGNMENT),ie){case START_ALIGNMENT:return he;case END_ALIGNMENT:return _e;case CENTERED_ALIGNMENT:{const $e=Math.round(_e+(he-_e)/2);return $e<Math.ceil(V/2)?0:$e>pe+Math.floor(V/2)?pe:$e}case AUTO_ALIGNMENT:default:return le>=_e&&le<=he?le:_e>he||le<_e?_e:he}},getRowOffset:({rowHeight:t,height:r,totalRow:V},oe,ie,le,ue,de)=>{r=Number(r);const pe=Math.max(0,V*t-r),he=Math.min(pe,oe*t),_e=Math.max(0,oe*t-r+de+t);switch(ie===SMART_ALIGNMENT&&(le>=_e-r&&le<=he+r?ie=AUTO_ALIGNMENT:ie=CENTERED_ALIGNMENT),ie){case START_ALIGNMENT:return he;case END_ALIGNMENT:return _e;case CENTERED_ALIGNMENT:{const $e=Math.round(_e+(he-_e)/2);return $e<Math.ceil(r/2)?0:$e>pe+Math.floor(r/2)?pe:$e}case AUTO_ALIGNMENT:default:return le>=_e&&le<=he?le:_e>he||le<_e?_e:he}},getColumnStartIndexForOffset:({columnWidth:t,totalColumn:r},V)=>Math.max(0,Math.min(r-1,Math.floor(V/t))),getColumnStopIndexForStartIndex:({columnWidth:t,totalColumn:r,width:V},oe,ie)=>{const le=oe*t,ue=Math.ceil((V+ie-le)/t);return Math.max(0,Math.min(r-1,oe+ue-1))},getRowStartIndexForOffset:({rowHeight:t,totalRow:r},V)=>Math.max(0,Math.min(r-1,Math.floor(V/t))),getRowStopIndexForStartIndex:({rowHeight:t,totalRow:r,height:V},oe,ie)=>{const le=oe*t,ue=Math.ceil((V+ie-le)/t);return Math.max(0,Math.min(r-1,oe+ue-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:t,rowHeight:r})=>{}}),{max:max$2,min:min$2,floor}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(t,r,V,oe)=>{const[ie,le,ue]=[V[oe],t[ACCESS_SIZER_KEY_MAP[oe]],V[ACCESS_LAST_VISITED_KEY_MAP[oe]]];if(r>ue){let de=0;if(ue>=0){const pe=ie[ue];de=pe.offset+pe.size}for(let pe=ue+1;pe<=r;pe++){const he=le(pe);ie[pe]={offset:de,size:he},de+=he}V[ACCESS_LAST_VISITED_KEY_MAP[oe]]=r}return ie[r]},bs=(t,r,V,oe,ie,le)=>{for(;V<=oe;){const ue=V+floor((oe-V)/2),de=getItemFromCache(t,ue,r,le).offset;if(de===ie)return ue;de<ie?V=ue+1:oe=ue-1}return max$2(0,V-1)},es=(t,r,V,oe,ie)=>{const le=ie==="column"?t.totalColumn:t.totalRow;let ue=1;for(;V<le&&getItemFromCache(t,V,r,ie).offset<oe;)V+=ue,ue*=2;return bs(t,r,floor(V/2),min$2(V,le-1),oe,ie)},findItem=(t,r,V,oe)=>{const[ie,le]=[r[oe],r[ACCESS_LAST_VISITED_KEY_MAP[oe]]];return(le>0?ie[le].offset:0)>=V?bs(t,r,0,le,V,oe):es(t,r,max$2(0,le),V,oe)},getEstimatedTotalHeight=({totalRow:t},{estimatedRowHeight:r,lastVisitedRowIndex:V,row:oe})=>{let ie=0;if(V>=t&&(V=t-1),V>=0){const de=oe[V];ie=de.offset+de.size}const ue=(t-V-1)*r;return ie+ue},getEstimatedTotalWidth=({totalColumn:t},{column:r,estimatedColumnWidth:V,lastVisitedColumnIndex:oe})=>{let ie=0;if(oe>t&&(oe=t-1),oe>=0){const de=r[oe];ie=de.offset+de.size}const ue=(t-oe-1)*V;return ie+ue},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(t,r,V,oe,ie,le,ue)=>{const[de,pe]=[le==="row"?t.height:t.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[le]],he=getItemFromCache(t,r,ie,le),_e=pe(t,ie),$e=max$2(0,min$2(_e-de,he.offset)),Ie=max$2(0,he.offset-de+ue+he.size);switch(V===SMART_ALIGNMENT&&(oe>=Ie-de&&oe<=$e+de?V=AUTO_ALIGNMENT:V=CENTERED_ALIGNMENT),V){case START_ALIGNMENT:return $e;case END_ALIGNMENT:return Ie;case CENTERED_ALIGNMENT:return Math.round(Ie+($e-Ie)/2);case AUTO_ALIGNMENT:default:return oe>=Ie&&oe<=$e?oe:Ie>$e||oe<Ie?Ie:$e}},DynamicSizeGrid=createGrid({name:"ElDynamicSizeGrid",getColumnPosition:(t,r,V)=>{const oe=getItemFromCache(t,r,V,"column");return[oe.size,oe.offset]},getRowPosition:(t,r,V)=>{const oe=getItemFromCache(t,r,V,"row");return[oe.size,oe.offset]},getColumnOffset:(t,r,V,oe,ie,le)=>getOffset$1(t,r,V,oe,ie,"column",le),getRowOffset:(t,r,V,oe,ie,le)=>getOffset$1(t,r,V,oe,ie,"row",le),getColumnStartIndexForOffset:(t,r,V)=>findItem(t,V,r,"column"),getColumnStopIndexForStartIndex:(t,r,V,oe)=>{const ie=getItemFromCache(t,r,oe,"column"),le=V+t.width;let ue=ie.offset+ie.size,de=r;for(;de<t.totalColumn-1&&ue<le;)de++,ue+=getItemFromCache(t,r,oe,"column").size;return de},getEstimatedTotalHeight,getEstimatedTotalWidth,getRowStartIndexForOffset:(t,r,V)=>findItem(t,V,r,"row"),getRowStopIndexForStartIndex:(t,r,V,oe)=>{const{totalRow:ie,height:le}=t,ue=getItemFromCache(t,r,oe,"row"),de=V+le;let pe=ue.size+ue.offset,he=r;for(;he<ie-1&&pe<de;)he++,pe+=getItemFromCache(t,he,oe,"row").size;return he},injectToInstance:(t,r)=>{const V=({columnIndex:le,rowIndex:ue},de)=>{var pe,he;de=isUndefined$1(de)?!0:de,isNumber$4(le)&&(r.value.lastVisitedColumnIndex=Math.min(r.value.lastVisitedColumnIndex,le-1)),isNumber$4(ue)&&(r.value.lastVisitedRowIndex=Math.min(r.value.lastVisitedRowIndex,ue-1)),(pe=t.exposed)==null||pe.getItemStyleCache.value(-1,null,null),de&&((he=t.proxy)==null||he.$forceUpdate())},oe=(le,ue)=>{V({columnIndex:le},ue)},ie=(le,ue)=>{V({rowIndex:le},ue)};Object.assign(t.proxy,{resetAfterColumnIndex:oe,resetAfterRowIndex:ie,resetAfter:V})},initCache:({estimatedColumnWidth:t=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:r=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:t,estimatedRowHeight:r,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:t,rowHeight:r})=>{}}),_sfc_main$F=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$8(t,r,V,oe,ie,le){return t.item.isTitle?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(t.ns.be("group","title")),style:normalizeStyle$1([t.style,{lineHeight:`${t.height}px`}])},toDisplayString$1(t.item.label),7)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(t.ns.be("group","split")),style:normalizeStyle$1(t.style)},[createBaseVNode("span",{class:normalizeClass(t.ns.be("group","split-dash")),style:normalizeStyle$1({top:`${t.height/2}px`})},null,6)],6))}var GroupItem=_export_sfc$1(_sfc_main$F,[["render",_sfc_render$8],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function useOption(t,{emit:r}){return{hoverItem:()=>{t.disabled||r("hover",t.index)},selectOptionClick:()=>{t.disabled||r("select",t.item,t.index)}}}const SelectProps={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object],default:circle_close_default},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:[Array,String,Number,Boolean,Object],multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:Array,required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String,validator:isValidComponentSize},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"}},OptionProps={data:Array,disabled:Boolean,hovering:Boolean,item:Object,index:Number,style:Object,selected:Boolean,created:Boolean},_sfc_main$E=defineComponent({props:OptionProps,emits:["select","hover"],setup(t,{emit:r}){const V=useNamespace("select"),{hoverItem:oe,selectOptionClick:ie}=useOption(t,{emit:r});return{ns:V,hoverItem:oe,selectOptionClick:ie}}}),_hoisted_1$j=["aria-selected"];function _sfc_render$7(t,r,V,oe,ie,le){return openBlock(),createElementBlock("li",{"aria-selected":t.selected,style:normalizeStyle$1(t.style),class:normalizeClass([t.ns.be("dropdown","option-item"),t.ns.is("selected",t.selected),t.ns.is("disabled",t.disabled),t.ns.is("created",t.created),{hover:t.hovering}]),onMouseenter:r[0]||(r[0]=(...ue)=>t.hoverItem&&t.hoverItem(...ue)),onClick:r[1]||(r[1]=withModifiers((...ue)=>t.selectOptionClick&&t.selectOptionClick(...ue),["stop"]))},[renderSlot(t.$slots,"default",{item:t.item,index:t.index,disabled:t.disabled},()=>[createBaseVNode("span",null,toDisplayString$1(t.item.label),1)])],46,_hoisted_1$j)}var OptionItem=_export_sfc$1(_sfc_main$E,[["render",_sfc_render$7],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]);const selectV2InjectionKey=Symbol("ElSelectV2Injection");var ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(t,{slots:r,expose:V}){const oe=inject(selectV2InjectionKey),ie=useNamespace("select"),le=ref([]),ue=ref(),de=computed(()=>t.data.length);watch(()=>de.value,()=>{var Cn,Sn;(Sn=(Cn=oe.popper.value).updatePopper)==null||Sn.call(Cn)});const pe=computed(()=>isUndefined$1(oe.props.estimatedOptionHeight)),he=computed(()=>pe.value?{itemSize:oe.props.itemHeight}:{estimatedSize:oe.props.estimatedOptionHeight,itemSize:Cn=>le.value[Cn]}),_e=(Cn=[],Sn)=>{const{props:{valueKey:wn}}=oe;return isObject$9(Sn)?Cn&&Cn.some(En=>get$1(En,wn)===get$1(Sn,wn)):Cn.includes(Sn)},$e=(Cn,Sn)=>{if(isObject$9(Sn)){const{valueKey:wn}=oe.props;return get$1(Cn,wn)===get$1(Sn,wn)}else return Cn===Sn},Ie=(Cn,Sn)=>{const{valueKey:wn}=oe.props;return oe.props.multiple?_e(Cn,get$1(Sn,wn)):$e(Cn,get$1(Sn,wn))},Ve=(Cn,Sn)=>{const{disabled:wn,multiple:En,multipleLimit:xn}=oe.props;return wn||!Sn&&(En?xn>0&&Cn.length>=xn:!1)},Fe=Cn=>t.hoveringIndex===Cn;V({listRef:ue,isSized:pe,isItemDisabled:Ve,isItemHovering:Fe,isItemSelected:Ie,scrollToItem:Cn=>{const Sn=ue.value;Sn&&Sn.scrollToItem(Cn)},resetScrollTop:()=>{const Cn=ue.value;Cn&&Cn.resetScrollTop()}});const Et=Cn=>{const{index:Sn,data:wn,style:En}=Cn,xn=unref(pe),{itemSize:Pn,estimatedSize:kn}=unref(he),{modelValue:Nn}=oe.props,{onSelect:Dn,onHover:Mn}=oe,Ln=wn[Sn];if(Ln.type==="Group")return createVNode(GroupItem,{item:Ln,style:En,height:xn?Pn:kn},null);const An=Ie(Nn,Ln),Vn=Ve(Nn,An),Wn=Fe(Sn);return createVNode(OptionItem,mergeProps(Cn,{selected:An,disabled:Ln.disabled||Vn,created:!!Ln.created,hovering:Wn,item:Ln,onSelect:Dn,onHover:Mn}),{default:Fn=>{var Yn;return((Yn=r.default)==null?void 0:Yn.call(r,Fn))||createVNode("span",null,[Ln.label])}})},{onKeyboardNavigate:At,onKeyboardSelect:Lt}=oe,hn=()=>{At("forward")},_n=()=>{At("backward")},vn=()=>{oe.expanded=!1},bn=Cn=>{const{code:Sn}=Cn,{tab:wn,esc:En,down:xn,up:Pn,enter:kn}=EVENT_CODE;switch(Sn!==wn&&(Cn.preventDefault(),Cn.stopPropagation()),Sn){case wn:case En:{vn();break}case xn:{hn();break}case Pn:{_n();break}case kn:{Lt();break}}};return()=>{var Cn;const{data:Sn,width:wn}=t,{height:En,multiple:xn,scrollbarAlwaysOn:Pn}=oe.props;if(Sn.length===0)return createVNode("div",{class:ie.b("dropdown"),style:{width:`${wn}px`}},[(Cn=r.empty)==null?void 0:Cn.call(r)]);const kn=unref(pe)?FixedSizeList:DynamicSizeList;return createVNode("div",{class:[ie.b("dropdown"),ie.is("multiple",xn)]},[createVNode(kn,mergeProps({ref:ue},unref(he),{className:ie.be("dropdown","list"),scrollbarAlwaysOn:Pn,data:Sn,height:En,width:wn,total:Sn.length,onKeydown:bn}),{default:Nn=>createVNode(Et,Nn,null)})])}}});function useAllowCreate(t,r){const V=ref(0),oe=ref(null),ie=computed(()=>t.allowCreate&&t.filterable);function le(_e){const $e=Ie=>Ie.value===_e;return t.options&&t.options.some($e)||r.createdOptions.some($e)}function ue(_e){ie.value&&(t.multiple&&_e.created?V.value++:oe.value=_e)}function de(_e){if(ie.value)if(_e&&_e.length>0&&!le(_e)){const $e={value:_e,label:_e,created:!0,disabled:!1};r.createdOptions.length>=V.value?r.createdOptions[V.value]=$e:r.createdOptions.push($e)}else if(t.multiple)r.createdOptions.length=V.value;else{const $e=oe.value;r.createdOptions.length=0,$e&&$e.created&&r.createdOptions.push($e)}}function pe(_e){if(!ie.value||!_e||!_e.created||_e.created&&t.reserveKeyword&&r.inputValue===_e.label)return;const $e=r.createdOptions.findIndex(Ie=>Ie.value===_e.value);~$e&&(r.createdOptions.splice($e,1),V.value--)}function he(){ie.value&&(r.createdOptions.length=0,V.value=0)}return{createNewOption:de,removeNewOption:pe,selectNewOption:ue,clearAllNewOption:he}}const flattenOptions=t=>{const r=[];return t.forEach(V=>{isArray$c(V.options)?(r.push({label:V.label,isTitle:!0,type:"Group"}),V.options.forEach(oe=>{r.push(oe)}),r.push({type:"Group"})):r.push(V)}),r};function useInput(t){const r=ref(!1);return{handleCompositionStart:()=>{r.value=!0},handleCompositionUpdate:le=>{const ue=le.target.value,de=ue[ue.length-1]||"";r.value=!isKorean(de)},handleCompositionEnd:le=>{r.value&&(r.value=!1,isFunction$5(t)&&t(le))}}}const DEFAULT_INPUT_PLACEHOLDER="",MINIMUM_INPUT_WIDTH=11,TAG_BASE_WIDTH={larget:51,default:42,small:33},useSelect$1=(t,r)=>{const{t:V}=useLocale(),oe=useNamespace("select-v2"),ie=useNamespace("input"),{form:le,formItem:ue}=useFormItem(),de=reactive({inputValue:DEFAULT_INPUT_PLACEHOLDER,displayInputValue:DEFAULT_INPUT_PLACEHOLDER,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:void 0,query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),pe=ref(-1),he=ref(-1),_e=ref(null),$e=ref(null),Ie=ref(null),Ve=ref(null),Fe=ref(null),Ue=ref(null),qe=ref(null),Et=ref(!1),At=computed(()=>t.disabled||(le==null?void 0:le.disabled)),Lt=computed(()=>{const sr=xn.value.length*34;return sr>t.height?t.height:sr}),hn=computed(()=>!isNil(t.modelValue)),_n=computed(()=>{const sr=t.multiple?Array.isArray(t.modelValue)&&t.modelValue.length>0:hn.value;return t.clearable&&!At.value&&de.comboBoxHovering&&sr}),vn=computed(()=>t.remote&&t.filterable?"":arrow_up_default),bn=computed(()=>vn.value&&oe.is("reverse",Et.value)),Cn=computed(()=>(ue==null?void 0:ue.validateState)||""),Sn=computed(()=>ValidateComponentsMap[Cn.value]),wn=computed(()=>t.remote?300:0),En=computed(()=>{const sr=xn.value;return t.loading?t.loadingText||V("el.select.loading"):t.remote&&de.inputValue===""&&sr.length===0?!1:t.filterable&&de.inputValue&&sr.length>0?t.noMatchText||V("el.select.noMatch"):sr.length===0?t.noDataText||V("el.select.noData"):null}),xn=computed(()=>{const sr=Ir=>{const Hr=de.inputValue,Nr=new RegExp(escapeStringRegexp(Hr),"i");return Hr?Nr.test(Ir.label||""):!0};return t.loading?[]:flattenOptions(t.options.concat(de.createdOptions).map(Ir=>{if(isArray$c(Ir.options)){const Hr=Ir.options.filter(sr);if(Hr.length>0)return{...Ir,options:Hr}}else if(t.remote||sr(Ir))return Ir;return null}).filter(Ir=>Ir!==null))}),Pn=computed(()=>{const sr=new Map;return xn.value.forEach((Ir,Hr)=>{sr.set(or(Ir),{option:Ir,index:Hr})}),sr}),kn=computed(()=>xn.value.every(sr=>sr.disabled)),Nn=useFormSize(),Dn=computed(()=>Nn.value==="small"?"small":"default"),Mn=computed(()=>{const sr=Ue.value,Ir=Dn.value||"default",Hr=sr?Number.parseInt(getComputedStyle(sr).paddingLeft):0,Nr=sr?Number.parseInt(getComputedStyle(sr).paddingRight):0;return de.selectWidth-Nr-Hr-TAG_BASE_WIDTH[Ir]}),Ln=()=>{var sr;he.value=((sr=Fe.value)==null?void 0:sr.offsetWidth)||200},An=computed(()=>({width:`${de.calculatedWidth===0?MINIMUM_INPUT_WIDTH:Math.ceil(de.calculatedWidth)+MINIMUM_INPUT_WIDTH}px`})),Vn=computed(()=>isArray$c(t.modelValue)?t.modelValue.length===0&&!de.displayInputValue:t.filterable?de.displayInputValue.length===0:!0),Wn=computed(()=>{const sr=t.placeholder||V("el.select.placeholder");return t.multiple||isNil(t.modelValue)?sr:de.selectedLabel}),Fn=computed(()=>{var sr,Ir;return(Ir=(sr=Ve.value)==null?void 0:sr.popperRef)==null?void 0:Ir.contentRef}),Yn=computed(()=>{if(t.multiple){const sr=t.modelValue.length;if(t.modelValue.length>0&&Pn.value.has(t.modelValue[sr-1])){const{index:Ir}=Pn.value.get(t.modelValue[sr-1]);return Ir}}else if(t.modelValue&&Pn.value.has(t.modelValue)){const{index:sr}=Pn.value.get(t.modelValue);return sr}return-1}),tr=computed({get(){return Et.value&&En.value!==!1},set(sr){Et.value=sr}}),yr=computed(()=>de.cachedOptions.slice(0,t.maxCollapseTags)),Jn=computed(()=>de.cachedOptions.slice(t.maxCollapseTags)),{createNewOption:Kn,removeNewOption:Gn,selectNewOption:Qn,clearAllNewOption:ur}=useAllowCreate(t,de),{handleCompositionStart:cr,handleCompositionUpdate:Un,handleCompositionEnd:qn}=useInput(sr=>qr(sr)),er=()=>{var sr,Ir,Hr;(Ir=(sr=$e.value)==null?void 0:sr.focus)==null||Ir.call(sr),(Hr=Ve.value)==null||Hr.updatePopper()},pr=()=>{if(!t.automaticDropdown&&!At.value)return de.isComposing&&(de.softFocus=!0),nextTick(()=>{var sr,Ir;Et.value=!Et.value,(Ir=(sr=$e.value)==null?void 0:sr.focus)==null||Ir.call(sr)})},Er=()=>(t.filterable&&de.inputValue!==de.selectedLabel&&(de.query=de.selectedLabel),xr(de.inputValue),nextTick(()=>{Kn(de.inputValue)})),dr=debounce(Er,wn.value),xr=sr=>{de.previousQuery!==sr&&(de.previousQuery=sr,t.filterable&&isFunction$5(t.filterMethod)?t.filterMethod(sr):t.filterable&&t.remote&&isFunction$5(t.remoteMethod)&&t.remoteMethod(sr))},wr=sr=>{isEqual$1(t.modelValue,sr)||r(CHANGE_EVENT,sr)},Cr=sr=>{r(UPDATE_MODEL_EVENT,sr),wr(sr),de.previousValue=sr==null?void 0:sr.toString()},gr=(sr=[],Ir)=>{if(!isObject$9(Ir))return sr.indexOf(Ir);const Hr=t.valueKey;let Nr=-1;return sr.some((Gr,Zr)=>get$1(Gr,Hr)===get$1(Ir,Hr)?(Nr=Zr,!0):!1),Nr},or=sr=>isObject$9(sr)?get$1(sr,t.valueKey):sr,fr=sr=>isObject$9(sr)?sr.label:sr,kr=()=>nextTick(()=>{var sr,Ir;if(!$e.value)return;const Hr=Ue.value;Fe.value.height=Hr.offsetHeight,Et.value&&En.value!==!1&&((Ir=(sr=Ve.value)==null?void 0:sr.updatePopper)==null||Ir.call(sr))}),br=()=>{var sr,Ir;if(Ar(),Ln(),(Ir=(sr=Ve.value)==null?void 0:sr.updatePopper)==null||Ir.call(sr),t.multiple)return kr()},Ar=()=>{const sr=Ue.value;sr&&(de.selectWidth=sr.getBoundingClientRect().width)},Dr=(sr,Ir,Hr=!0)=>{var Nr,Gr;if(t.multiple){let Zr=t.modelValue.slice();const Qr=gr(Zr,or(sr));Qr>-1?(Zr=[...Zr.slice(0,Qr),...Zr.slice(Qr+1)],de.cachedOptions.splice(Qr,1),Gn(sr)):(t.multipleLimit<=0||Zr.length<t.multipleLimit)&&(Zr=[...Zr,or(sr)],de.cachedOptions.push(sr),Qn(sr),Lr(Ir)),Cr(Zr),sr.created&&(de.query="",xr(""),de.inputLength=20),t.filterable&&!t.reserveKeyword&&((Gr=(Nr=$e.value).focus)==null||Gr.call(Nr),$r("")),t.filterable&&(de.calculatedWidth=qe.value.getBoundingClientRect().width),kr(),Kr()}else pe.value=Ir,de.selectedLabel=sr.label,Cr(or(sr)),Et.value=!1,de.isComposing=!1,de.isSilentBlur=Hr,Qn(sr),sr.created||ur(),Lr(Ir)},Br=(sr,Ir)=>{const{valueKey:Hr}=t,Nr=t.modelValue.indexOf(get$1(Ir,Hr));if(Nr>-1&&!At.value){const Gr=[...t.modelValue.slice(0,Nr),...t.modelValue.slice(Nr+1)];return de.cachedOptions.splice(Nr,1),Cr(Gr),r("remove-tag",get$1(Ir,Hr)),de.softFocus=!0,Gn(Ir),nextTick(er)}sr.stopPropagation()},zr=sr=>{const Ir=de.isComposing;de.isComposing=!0,de.softFocus?de.softFocus=!1:Ir||r("focus",sr)},Rr=sr=>(de.softFocus=!1,nextTick(()=>{var Ir,Hr;(Hr=(Ir=$e.value)==null?void 0:Ir.blur)==null||Hr.call(Ir),qe.value&&(de.calculatedWidth=qe.value.getBoundingClientRect().width),de.isSilentBlur?de.isSilentBlur=!1:de.isComposing&&r("blur",sr),de.isComposing=!1})),mr=()=>{de.displayInputValue.length>0?$r(""):Et.value=!1},ir=sr=>{if(de.displayInputValue.length===0){sr.preventDefault();const Ir=t.modelValue.slice();Ir.pop(),Gn(de.cachedOptions.pop()),Cr(Ir)}},ar=()=>{let sr;return isArray$c(t.modelValue)?sr=[]:sr=void 0,de.softFocus=!0,t.multiple?de.cachedOptions=[]:de.selectedLabel="",Et.value=!1,Cr(sr),r("clear"),ur(),nextTick(er)},$r=sr=>{de.displayInputValue=sr,de.inputValue=sr},Zn=(sr,Ir=void 0)=>{const Hr=xn.value;if(!["forward","backward"].includes(sr)||At.value||Hr.length<=0||kn.value)return;if(!Et.value)return pr();Ir===void 0&&(Ir=de.hoveringIndex);let Nr=-1;sr==="forward"?(Nr=Ir+1,Nr>=Hr.length&&(Nr=0)):sr==="backward"&&(Nr=Ir-1,(Nr<0||Nr>=Hr.length)&&(Nr=Hr.length-1));const Gr=Hr[Nr];if(Gr.disabled||Gr.type==="Group")return Zn(sr,Nr);Lr(Nr),_r(Nr)},Or=()=>{if(Et.value)~de.hoveringIndex&&xn.value[de.hoveringIndex]&&Dr(xn.value[de.hoveringIndex],de.hoveringIndex,!1);else return pr()},Lr=sr=>{de.hoveringIndex=sr},Ur=()=>{de.hoveringIndex=-1},Kr=()=>{var sr;const Ir=$e.value;Ir&&((sr=Ir.focus)==null||sr.call(Ir))},qr=sr=>{const Ir=sr.target.value;if($r(Ir),de.displayInputValue.length>0&&!Et.value&&(Et.value=!0),de.calculatedWidth=qe.value.getBoundingClientRect().width,t.multiple&&kr(),t.remote)dr();else return Er()},no=()=>(Et.value=!1,Rr()),Xr=()=>(de.inputValue=de.displayInputValue,nextTick(()=>{~Yn.value&&(Lr(Yn.value),_r(de.hoveringIndex))})),_r=sr=>{Ie.value.scrollToItem(sr)},Pr=()=>{if(Ur(),t.multiple)if(t.modelValue.length>0){let sr=!1;de.cachedOptions.length=0,de.previousValue=t.modelValue.toString();for(const Ir of t.modelValue)if(Pn.value.has(Ir)){const{index:Hr,option:Nr}=Pn.value.get(Ir);de.cachedOptions.push(Nr),sr||Lr(Hr),sr=!0}}else de.cachedOptions=[],de.previousValue=void 0;else if(hn.value){de.previousValue=t.modelValue;const sr=xn.value,Ir=sr.findIndex(Hr=>or(Hr)===or(t.modelValue));~Ir?(de.selectedLabel=sr[Ir].label,Lr(Ir)):de.selectedLabel=`${t.modelValue}`}else de.selectedLabel="",de.previousValue=void 0;ur(),Ln()};return watch(Et,sr=>{var Ir,Hr;r("visible-change",sr),sr?(Hr=(Ir=Ve.value).update)==null||Hr.call(Ir):(de.displayInputValue="",de.previousQuery=null,Kn(""))}),watch(()=>t.modelValue,(sr,Ir)=>{var Hr;(!sr||sr.toString()!==de.previousValue)&&Pr(),!isEqual$1(sr,Ir)&&t.validateEvent&&((Hr=ue==null?void 0:ue.validate)==null||Hr.call(ue,"change").catch(Nr=>void 0))},{deep:!0}),watch(()=>t.options,()=>{const sr=$e.value;(!sr||sr&&document.activeElement!==sr)&&Pr()},{deep:!0}),watch(xn,()=>nextTick(Ie.value.resetScrollTop)),watch(()=>tr.value,sr=>{sr||Ur()}),onMounted(()=>{Pr()}),useResizeObserver$1(Fe,br),{collapseTagSize:Dn,currentPlaceholder:Wn,expanded:Et,emptyText:En,popupHeight:Lt,debounce:wn,filteredOptions:xn,iconComponent:vn,iconReverse:bn,inputWrapperStyle:An,popperSize:he,dropdownMenuVisible:tr,hasModelValue:hn,shouldShowPlaceholder:Vn,selectDisabled:At,selectSize:Nn,showClearBtn:_n,states:de,tagMaxWidth:Mn,nsSelectV2:oe,nsInput:ie,calculatorRef:qe,controlRef:_e,inputRef:$e,menuRef:Ie,popper:Ve,selectRef:Fe,selectionRef:Ue,popperRef:Fn,validateState:Cn,validateIcon:Sn,showTagList:yr,collapseTagList:Jn,debouncedOnInputChange:dr,deleteTag:Br,getLabel:fr,getValueKey:or,handleBlur:Rr,handleClear:ar,handleClickOutside:no,handleDel:ir,handleEsc:mr,handleFocus:zr,handleMenuEnter:Xr,handleResize:br,toggleMenu:pr,scrollTo:_r,onInput:qr,onKeyboardNavigate:Zn,onKeyboardSelect:Or,onSelect:Dr,onHover:Lr,onUpdateInputValue:$r,handleCompositionStart:cr,handleCompositionEnd:qn,handleCompositionUpdate:Un}},_sfc_main$D=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside,ModelText:vModelText},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(t,{emit:r}){const V=computed(()=>{const{modelValue:ie,multiple:le}=t,ue=le?[]:void 0;return isArray$c(ie)?le?ie:ue:le?ue:ie}),oe=useSelect$1(reactive({...toRefs(t),modelValue:V}),r);return provide(selectV2InjectionKey,{props:reactive({...toRefs(t),height:oe.popupHeight,modelValue:V}),popper:oe.popper,onSelect:oe.onSelect,onHover:oe.onHover,onKeyboardNavigate:oe.onKeyboardNavigate,onKeyboardSelect:oe.onKeyboardSelect}),{...oe,modelValue:V}}}),_hoisted_1$i={key:0},_hoisted_2$d=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],_hoisted_3$7=["textContent"],_hoisted_4$4=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],_hoisted_5$2=["textContent"];function _sfc_render$6(t,r,V,oe,ie,le){const ue=resolveComponent("el-tag"),de=resolveComponent("el-tooltip"),pe=resolveComponent("el-icon"),he=resolveComponent("el-select-menu"),_e=resolveDirective("model-text"),$e=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([t.nsSelectV2.b(),t.nsSelectV2.m(t.selectSize)]),onClick:r[24]||(r[24]=withModifiers((...Ie)=>t.toggleMenu&&t.toggleMenu(...Ie),["stop"])),onMouseenter:r[25]||(r[25]=Ie=>t.states.comboBoxHovering=!0),onMouseleave:r[26]||(r[26]=Ie=>t.states.comboBoxHovering=!1)},[createVNode(de,{ref:"popper",visible:t.dropdownMenuVisible,teleported:t.teleported,"popper-class":[t.nsSelectV2.e("popper"),t.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":t.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:t.effect,placement:t.placement,pure:"",transition:`${t.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:t.persistent,onBeforeShow:t.handleMenuEnter,onHide:r[23]||(r[23]=Ie=>t.states.inputValue=t.states.displayInputValue)},{default:withCtx(()=>[createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([t.nsSelectV2.e("wrapper"),t.nsSelectV2.is("focused",t.states.isComposing||t.expanded),t.nsSelectV2.is("hovering",t.states.comboBoxHovering),t.nsSelectV2.is("filterable",t.filterable),t.nsSelectV2.is("disabled",t.selectDisabled)])},[t.$slots.prefix?(openBlock(),createElementBlock("div",_hoisted_1$i,[renderSlot(t.$slots,"prefix")])):createCommentVNode("v-if",!0),t.multiple?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(t.nsSelectV2.e("selection"))},[t.collapseTags&&t.modelValue.length>0?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.showTagList,Ie=>(openBlock(),createElementBlock("div",{key:t.getValueKey(Ie),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode(ue,{closable:!t.selectDisabled&&!(Ie!=null&&Ie.disable),size:t.collapseTagSize,type:"info","disable-transitions":"",onClose:Ve=>t.deleteTag(Ve,Ie)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString$1(Ie==null?void 0:Ie.label),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass(t.nsSelectV2.e("selected-item"))},[t.modelValue.length>t.maxCollapseTags?(openBlock(),createBlock(ue,{key:0,closable:!1,size:t.collapseTagSize,type:"info","disable-transitions":""},{default:withCtx(()=>[t.collapseTagsTooltip?(openBlock(),createBlock(de,{key:0,disabled:t.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom",teleported:!1},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},"+ "+toDisplayString$1(t.modelValue.length-t.maxCollapseTags),7)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(t.nsSelectV2.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.collapseTagList,Ie=>(openBlock(),createElementBlock("div",{key:t.getValueKey(Ie),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode(ue,{closable:!t.selectDisabled&&!Ie.disabled,size:t.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:Ve=>t.deleteTag(Ve,Ie)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString$1(t.getLabel(Ie)),7)]),_:2},1032,["closable","size","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},"+ "+toDisplayString$1(t.modelValue.length-t.maxCollapseTags),7))]),_:1},8,["size"])):createCommentVNode("v-if",!0)],2)],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(t.states.cachedOptions,Ie=>(openBlock(),createElementBlock("div",{key:t.getValueKey(Ie),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode(ue,{closable:!t.selectDisabled&&!Ie.disabled,size:t.collapseTagSize,type:"info","disable-transitions":"",onClose:Ve=>t.deleteTag(Ve,Ie)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString$1(t.getLabel(Ie)),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass([t.nsSelectV2.e("selected-item"),t.nsSelectV2.e("input-wrapper")]),style:normalizeStyle$1(t.inputWrapperStyle)},[withDirectives(createBaseVNode("input",{id:t.id,ref:"inputRef",autocomplete:t.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":t.expanded,"aria-labelledby":t.label,class:normalizeClass([t.nsSelectV2.is(t.selectSize),t.nsSelectV2.e("combobox-input")]),disabled:t.disabled,role:"combobox",readonly:!t.filterable,spellcheck:"false",type:"text",name:t.name,unselectable:t.expanded?"on":void 0,"onUpdate:modelValue":r[0]||(r[0]=(...Ie)=>t.onUpdateInputValue&&t.onUpdateInputValue(...Ie)),onFocus:r[1]||(r[1]=(...Ie)=>t.handleFocus&&t.handleFocus(...Ie)),onBlur:r[2]||(r[2]=(...Ie)=>t.handleBlur&&t.handleBlur(...Ie)),onInput:r[3]||(r[3]=(...Ie)=>t.onInput&&t.onInput(...Ie)),onCompositionstart:r[4]||(r[4]=(...Ie)=>t.handleCompositionStart&&t.handleCompositionStart(...Ie)),onCompositionupdate:r[5]||(r[5]=(...Ie)=>t.handleCompositionUpdate&&t.handleCompositionUpdate(...Ie)),onCompositionend:r[6]||(r[6]=(...Ie)=>t.handleCompositionEnd&&t.handleCompositionEnd(...Ie)),onKeydown:[r[7]||(r[7]=withKeys(withModifiers(Ie=>t.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),r[8]||(r[8]=withKeys(withModifiers(Ie=>t.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),r[9]||(r[9]=withKeys(withModifiers((...Ie)=>t.onKeyboardSelect&&t.onKeyboardSelect(...Ie),["stop","prevent"]),["enter"])),r[10]||(r[10]=withKeys(withModifiers((...Ie)=>t.handleEsc&&t.handleEsc(...Ie),["stop","prevent"]),["esc"])),r[11]||(r[11]=withKeys(withModifiers((...Ie)=>t.handleDel&&t.handleDel(...Ie),["stop"]),["delete"]))]},null,42,_hoisted_2$d),[[_e,t.states.displayInputValue]]),t.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(t.nsSelectV2.e("input-calculator")),textContent:toDisplayString$1(t.states.displayInputValue)},null,10,_hoisted_3$7)):createCommentVNode("v-if",!0)],6)],2)):(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",{class:normalizeClass([t.nsSelectV2.e("selected-item"),t.nsSelectV2.e("input-wrapper")])},[withDirectives(createBaseVNode("input",{id:t.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":t.label,"aria-expanded":t.expanded,autocapitalize:"off",autocomplete:t.autocomplete,class:normalizeClass(t.nsSelectV2.e("combobox-input")),disabled:t.disabled,name:t.name,role:"combobox",readonly:!t.filterable,spellcheck:"false",type:"text",unselectable:t.expanded?"on":void 0,onCompositionstart:r[12]||(r[12]=(...Ie)=>t.handleCompositionStart&&t.handleCompositionStart(...Ie)),onCompositionupdate:r[13]||(r[13]=(...Ie)=>t.handleCompositionUpdate&&t.handleCompositionUpdate(...Ie)),onCompositionend:r[14]||(r[14]=(...Ie)=>t.handleCompositionEnd&&t.handleCompositionEnd(...Ie)),onFocus:r[15]||(r[15]=(...Ie)=>t.handleFocus&&t.handleFocus(...Ie)),onBlur:r[16]||(r[16]=(...Ie)=>t.handleBlur&&t.handleBlur(...Ie)),onInput:r[17]||(r[17]=(...Ie)=>t.onInput&&t.onInput(...Ie)),onKeydown:[r[18]||(r[18]=withKeys(withModifiers(Ie=>t.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),r[19]||(r[19]=withKeys(withModifiers(Ie=>t.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),r[20]||(r[20]=withKeys(withModifiers((...Ie)=>t.onKeyboardSelect&&t.onKeyboardSelect(...Ie),["stop","prevent"]),["enter"])),r[21]||(r[21]=withKeys(withModifiers((...Ie)=>t.handleEsc&&t.handleEsc(...Ie),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":r[22]||(r[22]=(...Ie)=>t.onUpdateInputValue&&t.onUpdateInputValue(...Ie))},null,42,_hoisted_4$4),[[_e,t.states.displayInputValue]])],2),t.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass([t.nsSelectV2.e("selected-item"),t.nsSelectV2.e("input-calculator")]),textContent:toDisplayString$1(t.states.displayInputValue)},null,10,_hoisted_5$2)):createCommentVNode("v-if",!0)],64)),t.shouldShowPlaceholder?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass([t.nsSelectV2.e("placeholder"),t.nsSelectV2.is("transparent",t.multiple?t.modelValue.length===0:!t.hasModelValue)])},toDisplayString$1(t.currentPlaceholder),3)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("suffix"))},[t.iconComponent?withDirectives((openBlock(),createBlock(pe,{key:0,class:normalizeClass([t.nsSelectV2.e("caret"),t.nsInput.e("icon"),t.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])),[[vShow,!t.showClearBtn]]):createCommentVNode("v-if",!0),t.showClearBtn&&t.clearIcon?(openBlock(),createBlock(pe,{key:1,class:normalizeClass([t.nsSelectV2.e("caret"),t.nsInput.e("icon")]),onClick:withModifiers(t.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),t.validateState&&t.validateIcon?(openBlock(),createBlock(pe,{key:2,class:normalizeClass([t.nsInput.e("icon"),t.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode(he,{ref:"menuRef",data:t.filteredOptions,width:t.popperSize,"hovering-index":t.states.hoveringIndex,"scrollbar-always-on":t.scrollbarAlwaysOn},{default:withCtx(Ie=>[renderSlot(t.$slots,"default",normalizeProps(guardReactiveProps(Ie)))]),empty:withCtx(()=>[renderSlot(t.$slots,"empty",{},()=>[createBaseVNode("p",{class:normalizeClass(t.nsSelectV2.e("empty"))},toDisplayString$1(t.emptyText?t.emptyText:""),3)])]),_:3},8,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","effect","placement","transition","persistent","onBeforeShow"])],34)),[[$e,t.handleClickOutside,t.popperRef]])}var Select=_export_sfc$1(_sfc_main$D,[["render",_sfc_render$6],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);Select.install=t=>{t.component(Select.name,Select)};const _Select=Select,ElSelectV2=_Select,skeletonProps=buildProps({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),__default__$t=defineComponent({name:"ElSkeletonItem"}),_sfc_main$C=defineComponent({...__default__$t,props:skeletonItemProps,setup(t){const r=useNamespace("skeleton");return(V,oe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).e("item"),unref(r).e(V.variant)])},[V.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$1(_sfc_main$C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const __default__$s=defineComponent({name:"ElSkeleton"}),_sfc_main$B=defineComponent({...__default__$s,props:skeletonProps,setup(t,{expose:r}){const V=t,oe=useNamespace("skeleton"),ie=useThrottleRender(toRef(V,"loading"),V.throttle);return r({uiLoading:ie}),(le,ue)=>unref(ie)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(oe).b(),unref(oe).is("animated",le.animated)]},le.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.count,de=>(openBlock(),createElementBlock(Fragment,{key:de},[le.loading?renderSlot(le.$slots,"template",{key:de},()=>[createVNode(SkeletonItem,{class:normalizeClass(unref(oe).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(le.rows,pe=>(openBlock(),createBlock(SkeletonItem,{key:pe,class:normalizeClass([unref(oe).e("paragraph"),unref(oe).is("last",pe===le.rows&&le.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(le.$slots,"default",normalizeProps(mergeProps({key:1},le.$attrs)))}});var Skeleton=_export_sfc$1(_sfc_main$B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton,{SkeletonItem}),ElSkeletonItem=withNoopInstall(SkeletonItem),sliderContextKey=Symbol("sliderContextKey"),sliderProps=buildProps({modelValue:{type:definePropType([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:useSizeProp,inputSize:useSizeProp,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:definePropType(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:definePropType(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ee,default:"top"},marks:{type:definePropType(Object)},validateEvent:{type:Boolean,default:!0}}),isValidValue$1=t=>isNumber$4(t)||isArray$c(t)&&t.every(isNumber$4),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=(t,r,V)=>{const oe=ref();return onMounted(async()=>{t.range?(Array.isArray(t.modelValue)?(r.firstValue=Math.max(t.min,t.modelValue[0]),r.secondValue=Math.min(t.max,t.modelValue[1])):(r.firstValue=t.min,r.secondValue=t.max),r.oldValue=[r.firstValue,r.secondValue]):(typeof t.modelValue!="number"||Number.isNaN(t.modelValue)?r.firstValue=t.min:r.firstValue=Math.min(t.max,Math.max(t.min,t.modelValue)),r.oldValue=r.firstValue),useEventListener$1(window,"resize",V),await nextTick(),V()}),{sliderWrapper:oe}},useMarks=t=>computed(()=>t.marks?Object.keys(t.marks).map(Number.parseFloat).sort((V,oe)=>V-oe).filter(V=>V<=t.max&&V>=t.min).map(V=>({point:V,position:(V-t.min)*100/(t.max-t.min),mark:t.marks[V]})):[]),useSlide=(t,r,V)=>{const{form:oe,formItem:ie}=useFormItem(),le=shallowRef(),ue=ref(),de=ref(),pe={firstButton:ue,secondButton:de},he=computed(()=>t.disabled||(oe==null?void 0:oe.disabled)||!1),_e=computed(()=>Math.min(r.firstValue,r.secondValue)),$e=computed(()=>Math.max(r.firstValue,r.secondValue)),Ie=computed(()=>t.range?`${100*($e.value-_e.value)/(t.max-t.min)}%`:`${100*(r.firstValue-t.min)/(t.max-t.min)}%`),Ve=computed(()=>t.range?`${100*(_e.value-t.min)/(t.max-t.min)}%`:"0%"),Fe=computed(()=>t.vertical?{height:t.height}:{}),Ue=computed(()=>t.vertical?{height:Ie.value,bottom:Ve.value}:{width:Ie.value,left:Ve.value}),qe=()=>{le.value&&(r.sliderSize=le.value[`client${t.vertical?"Height":"Width"}`])},Et=En=>{const xn=t.min+En*(t.max-t.min)/100;if(!t.range)return ue;let Pn;return Math.abs(_e.value-xn)<Math.abs($e.value-xn)?Pn=r.firstValue<r.secondValue?"firstButton":"secondButton":Pn=r.firstValue>r.secondValue?"firstButton":"secondButton",pe[Pn]},At=En=>{const xn=Et(En);return xn.value.setPosition(En),xn},Lt=En=>{r.firstValue=En,_n(t.range?[_e.value,$e.value]:En)},hn=En=>{r.secondValue=En,t.range&&_n([_e.value,$e.value])},_n=En=>{V(UPDATE_MODEL_EVENT,En),V(INPUT_EVENT,En)},vn=async()=>{await nextTick(),V(CHANGE_EVENT,t.range?[_e.value,$e.value]:t.modelValue)},bn=En=>{var xn,Pn,kn,Nn,Dn,Mn;if(he.value||r.dragging)return;qe();let Ln=0;if(t.vertical){const An=(kn=(Pn=(xn=En.touches)==null?void 0:xn.item(0))==null?void 0:Pn.clientY)!=null?kn:En.clientY;Ln=(le.value.getBoundingClientRect().bottom-An)/r.sliderSize*100}else{const An=(Mn=(Dn=(Nn=En.touches)==null?void 0:Nn.item(0))==null?void 0:Dn.clientX)!=null?Mn:En.clientX,Vn=le.value.getBoundingClientRect().left;Ln=(An-Vn)/r.sliderSize*100}if(!(Ln<0||Ln>100))return At(Ln)};return{elFormItem:ie,slider:le,firstButton:ue,secondButton:de,sliderDisabled:he,minValue:_e,maxValue:$e,runwayStyle:Fe,barStyle:Ue,resetSize:qe,setPosition:At,emitChange:vn,onSliderWrapperPrevent:En=>{var xn,Pn;((xn=pe.firstButton.value)!=null&&xn.dragging||(Pn=pe.secondButton.value)!=null&&Pn.dragging)&&En.preventDefault()},onSliderClick:En=>{bn(En)&&vn()},onSliderDown:async En=>{const xn=bn(En);xn&&(await nextTick(),xn.value.onButtonDown(En))},setFirstValue:Lt,setSecondValue:hn}},{left,down,right,up,home:home$2,end:end$1,pageUp,pageDown}=EVENT_CODE,useTooltip=(t,r,V)=>{const oe=ref(),ie=ref(!1),le=computed(()=>r.value instanceof Function),ue=computed(()=>le.value&&r.value(t.modelValue)||t.modelValue),de=debounce(()=>{V.value&&(ie.value=!0)},50),pe=debounce(()=>{V.value&&(ie.value=!1)},50);return{tooltip:oe,tooltipVisible:ie,formatValue:ue,displayTooltip:de,hideTooltip:pe}},useSliderButton=(t,r,V)=>{const{disabled:oe,min:ie,max:le,step:ue,showTooltip:de,precision:pe,sliderSize:he,formatTooltip:_e,emitChange:$e,resetSize:Ie,updateDragging:Ve}=inject(sliderContextKey),{tooltip:Fe,tooltipVisible:Ue,formatValue:qe,displayTooltip:Et,hideTooltip:At}=useTooltip(t,_e,de),Lt=ref(),hn=computed(()=>`${(t.modelValue-ie.value)/(le.value-ie.value)*100}%`),_n=computed(()=>t.vertical?{bottom:hn.value}:{left:hn.value}),vn=()=>{r.hovering=!0,Et()},bn=()=>{r.hovering=!1,r.dragging||At()},Cn=Fn=>{oe.value||(Fn.preventDefault(),Ln(Fn),window.addEventListener("mousemove",An),window.addEventListener("touchmove",An),window.addEventListener("mouseup",Vn),window.addEventListener("touchend",Vn),window.addEventListener("contextmenu",Vn),Lt.value.focus())},Sn=Fn=>{oe.value||(r.newPosition=Number.parseFloat(hn.value)+Fn/(le.value-ie.value)*100,Wn(r.newPosition),$e())},wn=()=>{Sn(-ue.value)},En=()=>{Sn(ue.value)},xn=()=>{Sn(-ue.value*4)},Pn=()=>{Sn(ue.value*4)},kn=()=>{oe.value||(Wn(0),$e())},Nn=()=>{oe.value||(Wn(100),$e())},Dn=Fn=>{let Yn=!0;[left,down].includes(Fn.key)?wn():[right,up].includes(Fn.key)?En():Fn.key===home$2?kn():Fn.key===end$1?Nn():Fn.key===pageDown?xn():Fn.key===pageUp?Pn():Yn=!1,Yn&&Fn.preventDefault()},Mn=Fn=>{let Yn,tr;return Fn.type.startsWith("touch")?(tr=Fn.touches[0].clientY,Yn=Fn.touches[0].clientX):(tr=Fn.clientY,Yn=Fn.clientX),{clientX:Yn,clientY:tr}},Ln=Fn=>{r.dragging=!0,r.isClick=!0;const{clientX:Yn,clientY:tr}=Mn(Fn);t.vertical?r.startY=tr:r.startX=Yn,r.startPosition=Number.parseFloat(hn.value),r.newPosition=r.startPosition},An=Fn=>{if(r.dragging){r.isClick=!1,Et(),Ie();let Yn;const{clientX:tr,clientY:yr}=Mn(Fn);t.vertical?(r.currentY=yr,Yn=(r.startY-r.currentY)/he.value*100):(r.currentX=tr,Yn=(r.currentX-r.startX)/he.value*100),r.newPosition=r.startPosition+Yn,Wn(r.newPosition)}},Vn=()=>{r.dragging&&(setTimeout(()=>{r.dragging=!1,r.hovering||At(),r.isClick||Wn(r.newPosition),$e()},0),window.removeEventListener("mousemove",An),window.removeEventListener("touchmove",An),window.removeEventListener("mouseup",Vn),window.removeEventListener("touchend",Vn),window.removeEventListener("contextmenu",Vn))},Wn=async Fn=>{if(Fn===null||Number.isNaN(+Fn))return;Fn<0?Fn=0:Fn>100&&(Fn=100);const Yn=100/((le.value-ie.value)/ue.value);let yr=Math.round(Fn/Yn)*Yn*(le.value-ie.value)*.01+ie.value;yr=Number.parseFloat(yr.toFixed(pe.value)),yr!==t.modelValue&&V(UPDATE_MODEL_EVENT,yr),!r.dragging&&t.modelValue!==r.oldValue&&(r.oldValue=t.modelValue),await nextTick(),r.dragging&&Et(),Fe.value.updatePopper()};return watch(()=>r.dragging,Fn=>{Ve(Fn)}),{disabled:oe,button:Lt,tooltip:Fe,tooltipVisible:Ue,showTooltip:de,wrapperStyle:_n,formatValue:qe,handleMouseEnter:vn,handleMouseLeave:bn,onButtonDown:Cn,onKeyDown:Dn,setPosition:Wn}},useStops=(t,r,V,oe)=>({stops:computed(()=>{if(!t.showStops||t.min>t.max)return[];if(t.step===0)return[];const ue=(t.max-t.min)/t.step,de=100*t.step/(t.max-t.min),pe=Array.from({length:ue-1}).map((he,_e)=>(_e+1)*de);return t.range?pe.filter(he=>he<100*(V.value-t.min)/(t.max-t.min)||he>100*(oe.value-t.min)/(t.max-t.min)):pe.filter(he=>he>100*(r.firstValue-t.min)/(t.max-t.min))}),getStopStyle:ue=>t.vertical?{bottom:`${ue}%`}:{left:`${ue}%`}}),useWatch=(t,r,V,oe,ie,le)=>{const ue=he=>{ie(UPDATE_MODEL_EVENT,he),ie(INPUT_EVENT,he)},de=()=>t.range?![V.value,oe.value].every((he,_e)=>he===r.oldValue[_e]):t.modelValue!==r.oldValue,pe=()=>{var he,_e;t.min>t.max&&throwError$1("Slider","min should not be greater than max.");const $e=t.modelValue;t.range&&Array.isArray($e)?$e[1]<t.min?ue([t.min,t.min]):$e[0]>t.max?ue([t.max,t.max]):$e[0]<t.min?ue([t.min,$e[1]]):$e[1]>t.max?ue([$e[0],t.max]):(r.firstValue=$e[0],r.secondValue=$e[1],de()&&(t.validateEvent&&((he=le==null?void 0:le.validate)==null||he.call(le,"change").catch(Ie=>void 0)),r.oldValue=$e.slice())):!t.range&&typeof $e=="number"&&!Number.isNaN($e)&&($e<t.min?ue(t.min):$e>t.max?ue(t.max):(r.firstValue=$e,de()&&(t.validateEvent&&((_e=le==null?void 0:le.validate)==null||_e.call(le,"change").catch(Ie=>void 0)),r.oldValue=$e)))};pe(),watch(()=>r.dragging,he=>{he||pe()}),watch(()=>t.modelValue,(he,_e)=>{r.dragging||Array.isArray(he)&&Array.isArray(_e)&&he.every(($e,Ie)=>$e===_e[Ie])&&r.firstValue===he[0]&&r.secondValue===he[1]||pe()},{deep:!0}),watch(()=>[t.min,t.max],()=>{pe()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:t=>isNumber$4(t)},_hoisted_1$h=["tabindex"],__default__$r=defineComponent({name:"ElSliderButton"}),_sfc_main$A=defineComponent({...__default__$r,props:sliderButtonProps,emits:sliderButtonEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useNamespace("slider"),le=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:oe.modelValue}),{disabled:ue,button:de,tooltip:pe,showTooltip:he,tooltipVisible:_e,wrapperStyle:$e,formatValue:Ie,handleMouseEnter:Ve,handleMouseLeave:Fe,onButtonDown:Ue,onKeyDown:qe,setPosition:Et}=useSliderButton(oe,le,V),{hovering:At,dragging:Lt}=toRefs(le);return r({onButtonDown:Ue,onKeyDown:qe,setPosition:Et,hovering:At,dragging:Lt}),(hn,_n)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:de,class:normalizeClass([unref(ie).e("button-wrapper"),{hover:unref(At),dragging:unref(Lt)}]),style:normalizeStyle$1(unref($e)),tabindex:unref(ue)?-1:0,onMouseenter:_n[0]||(_n[0]=(...vn)=>unref(Ve)&&unref(Ve)(...vn)),onMouseleave:_n[1]||(_n[1]=(...vn)=>unref(Fe)&&unref(Fe)(...vn)),onMousedown:_n[2]||(_n[2]=(...vn)=>unref(Ue)&&unref(Ue)(...vn)),onTouchstart:_n[3]||(_n[3]=(...vn)=>unref(Ue)&&unref(Ue)(...vn)),onFocus:_n[4]||(_n[4]=(...vn)=>unref(Ve)&&unref(Ve)(...vn)),onBlur:_n[5]||(_n[5]=(...vn)=>unref(Fe)&&unref(Fe)(...vn)),onKeydown:_n[6]||(_n[6]=(...vn)=>unref(qe)&&unref(qe)(...vn))},[createVNode(unref(ElTooltip),{ref_key:"tooltip",ref:pe,visible:unref(_e),placement:hn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":hn.tooltipClass,disabled:!unref(he),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(unref(Ie)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(ie).e("button"),{hover:unref(At),dragging:unref(Lt)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$h))}});var SliderButton=_export_sfc$1(_sfc_main$A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(t){const r=useNamespace("slider"),V=computed(()=>isString$6(t.mark)?t.mark:t.mark.label),oe=computed(()=>isString$6(t.mark)?void 0:t.mark.style);return()=>h$2("div",{class:r.e("marks-text"),style:oe.value},V.value)}});const _hoisted_1$g=["id","role","aria-label","aria-labelledby"],_hoisted_2$c={key:1},__default__$q=defineComponent({name:"ElSlider"}),_sfc_main$z=defineComponent({...__default__$q,props:sliderProps,emits:sliderEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useNamespace("slider"),{t:le}=useLocale(),ue=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:de,slider:pe,firstButton:he,secondButton:_e,sliderDisabled:$e,minValue:Ie,maxValue:Ve,runwayStyle:Fe,barStyle:Ue,resetSize:qe,emitChange:Et,onSliderWrapperPrevent:At,onSliderClick:Lt,onSliderDown:hn,setFirstValue:_n,setSecondValue:vn}=useSlide(oe,ue,V),{stops:bn,getStopStyle:Cn}=useStops(oe,ue,Ie,Ve),{inputId:Sn,isLabeledByFormItem:wn}=useFormItemInputId(oe,{formItemContext:de}),En=useFormSize(),xn=computed(()=>oe.inputSize||En.value),Pn=computed(()=>oe.label||le("el.slider.defaultLabel",{min:oe.min,max:oe.max})),kn=computed(()=>oe.range?oe.rangeStartLabel||le("el.slider.defaultRangeStartLabel"):Pn.value),Nn=computed(()=>oe.formatValueText?oe.formatValueText(Fn.value):`${Fn.value}`),Dn=computed(()=>oe.rangeEndLabel||le("el.slider.defaultRangeEndLabel")),Mn=computed(()=>oe.formatValueText?oe.formatValueText(Yn.value):`${Yn.value}`),Ln=computed(()=>[ie.b(),ie.m(En.value),ie.is("vertical",oe.vertical),{[ie.m("with-input")]:oe.showInput}]),An=useMarks(oe);useWatch(oe,ue,Ie,Ve,V,de);const Vn=computed(()=>{const Jn=[oe.min,oe.max,oe.step].map(Kn=>{const Gn=`${Kn}`.split(".")[1];return Gn?Gn.length:0});return Math.max.apply(null,Jn)}),{sliderWrapper:Wn}=useLifecycle(oe,ue,qe),{firstValue:Fn,secondValue:Yn,sliderSize:tr}=toRefs(ue),yr=Jn=>{ue.dragging=Jn};return provide(sliderContextKey,{...toRefs(oe),sliderSize:tr,disabled:$e,precision:Vn,emitChange:Et,resetSize:qe,updateDragging:yr}),r({onSliderClick:Lt}),(Jn,Kn)=>{var Gn,Qn;return openBlock(),createElementBlock("div",{id:Jn.range?unref(Sn):void 0,ref_key:"sliderWrapper",ref:Wn,class:normalizeClass(unref(Ln)),role:Jn.range?"group":void 0,"aria-label":Jn.range&&!unref(wn)?unref(Pn):void 0,"aria-labelledby":Jn.range&&unref(wn)?(Gn=unref(de))==null?void 0:Gn.labelId:void 0,onTouchstart:Kn[2]||(Kn[2]=(...ur)=>unref(At)&&unref(At)(...ur)),onTouchmove:Kn[3]||(Kn[3]=(...ur)=>unref(At)&&unref(At)(...ur))},[createBaseVNode("div",{ref_key:"slider",ref:pe,class:normalizeClass([unref(ie).e("runway"),{"show-input":Jn.showInput&&!Jn.range},unref(ie).is("disabled",unref($e))]),style:normalizeStyle$1(unref(Fe)),onMousedown:Kn[0]||(Kn[0]=(...ur)=>unref(hn)&&unref(hn)(...ur)),onTouchstart:Kn[1]||(Kn[1]=(...ur)=>unref(hn)&&unref(hn)(...ur))},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("bar")),style:normalizeStyle$1(unref(Ue))},null,6),createVNode(SliderButton,{id:Jn.range?void 0:unref(Sn),ref_key:"firstButton",ref:he,"model-value":unref(Fn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":Jn.range||!unref(wn)?unref(kn):void 0,"aria-labelledby":!Jn.range&&unref(wn)?(Qn=unref(de))==null?void 0:Qn.labelId:void 0,"aria-valuemin":Jn.min,"aria-valuemax":Jn.range?unref(Yn):Jn.max,"aria-valuenow":unref(Fn),"aria-valuetext":unref(Nn),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref($e),"onUpdate:modelValue":unref(_n)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),Jn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:_e,"model-value":unref(Yn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":unref(Dn),"aria-valuemin":unref(Fn),"aria-valuemax":Jn.max,"aria-valuenow":unref(Yn),"aria-valuetext":unref(Mn),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref($e),"onUpdate:modelValue":unref(vn)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):createCommentVNode("v-if",!0),Jn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(ur,cr)=>(openBlock(),createElementBlock("div",{key:cr,class:normalizeClass(unref(ie).e("stop")),style:normalizeStyle$1(unref(Cn)(ur))},null,6))),128))])):createCommentVNode("v-if",!0),unref(An).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(An),(ur,cr)=>(openBlock(),createElementBlock("div",{key:cr,style:normalizeStyle$1(unref(Cn)(ur.position)),class:normalizeClass([unref(ie).e("stop"),unref(ie).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(ie).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(An),(ur,cr)=>(openBlock(),createBlock(unref(SliderMarker),{key:cr,mark:ur.mark,style:normalizeStyle$1(unref(Cn)(ur.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),Jn.showInput&&!Jn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Fn),class:normalizeClass(unref(ie).e("input")),step:Jn.step,disabled:unref($e),controls:Jn.showInputControls,min:Jn.min,max:Jn.max,debounce:Jn.debounce,size:unref(xn),"onUpdate:modelValue":unref(_n),onChange:unref(Et)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$g)}}});var Slider=_export_sfc$1(_sfc_main$z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(t,{slots:r}){const V=useNamespace("space"),oe=computed(()=>`${t.prefixCls||V.b()}__item`);return()=>h$2("div",{class:oe.value},renderSlot(r,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(t){const r=useNamespace("space"),V=computed(()=>[r.b(),r.m(t.direction),t.class]),oe=ref(0),ie=ref(0),le=computed(()=>{const de=t.wrap||t.fill?{flexWrap:"wrap",marginBottom:`-${ie.value}px`}:{},pe={alignItems:t.alignment};return[de,pe,t.style]}),ue=computed(()=>{const de={paddingBottom:`${ie.value}px`,marginRight:`${oe.value}px`},pe=t.fill?{flexGrow:1,minWidth:`${t.fillRatio}%`}:{};return[de,pe]});return watchEffect(()=>{const{size:de="small",wrap:pe,direction:he,fill:_e}=t;if(isArray$c(de)){const[$e=0,Ie=0]=de;oe.value=$e,ie.value=Ie}else{let $e;isNumber$4(de)?$e=de:$e=SIZE_MAP[de||"small"]||SIZE_MAP.small,(pe||_e)&&he==="horizontal"?oe.value=ie.value=$e:he==="horizontal"?(oe.value=$e,ie.value=0):(ie.value=$e,oe.value=0)}}),{classes:V,containerStyle:le,itemStyle:ue}}const spaceProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:definePropType([String,Object,Array]),default:""},style:{type:definePropType([String,Array,Object]),default:""},alignment:{type:definePropType(String),default:"center"},prefixCls:{type:String},spacer:{type:definePropType([Object,String,Number,Array]),default:null,validator:t=>isVNode$1(t)||isNumber$4(t)||isString$6(t)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:t=>isNumber$4(t)||isArray$c(t)&&t.length===2&&t.every(isNumber$4)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(t,{slots:r}){const{classes:V,containerStyle:oe,itemStyle:ie}=useSpace(t);function le(ue,de="",pe=[]){const{prefixCls:he}=t;return ue.forEach((_e,$e)=>{isFragment(_e)?isArray$c(_e.children)&&_e.children.forEach((Ie,Ve)=>{isFragment(Ie)&&isArray$c(Ie.children)?le(Ie.children,`${de+Ve}-`,pe):pe.push(createVNode(SpaceItem,{style:ie.value,prefixCls:he,key:`nested-${de+Ve}`},{default:()=>[Ie]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(_e)&&pe.push(createVNode(SpaceItem,{style:ie.value,prefixCls:he,key:`LoopKey${de+$e}`},{default:()=>[_e]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),pe}return()=>{var ue;const{spacer:de,direction:pe}=t,he=renderSlot(r,"default",{key:0},()=>[]);if(((ue=he.children)!=null?ue:[]).length===0)return null;if(isArray$c(he.children)){let _e=le(he.children);if(de){const $e=_e.length-1;_e=_e.reduce((Ie,Ve,Fe)=>{const Ue=[...Ie,Ve];return Fe!==$e&&Ue.push(createVNode("span",{style:[ie.value,pe==="vertical"?"width: 100%":null],key:Fe},[isVNode$1(de)?de:createTextVNode(de,PatchFlags.TEXT)],PatchFlags.STYLE)),Ue},[])}return createVNode("div",{class:V.value,style:oe.value},_e,PatchFlags.STYLE|PatchFlags.CLASS)}return he.children}}}),ElSpace=withInstall(Space),statisticProps=buildProps({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:definePropType([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:definePropType([String,Object,Array])}}),__default__$p=defineComponent({name:"ElStatistic"}),_sfc_main$y=defineComponent({...__default__$p,props:statisticProps,setup(t,{expose:r}){const V=t,oe=useNamespace("statistic"),ie=computed(()=>{const{value:le,formatter:ue,precision:de,decimalSeparator:pe,groupSeparator:he}=V;if(isFunction$5(ue))return ue(le);if(!isNumber$4(le))return le;let[_e,$e=""]=String(le).split(".");return $e=$e.padEnd(de,"0").slice(0,de>0?de:0),_e=_e.replace(/\B(?=(\d{3})+(?!\d))/g,he),[_e,$e].join($e?pe:"")});return r({displayValue:ie}),(le,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(oe).b())},[le.$slots.title||le.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("head"))},[renderSlot(le.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(le.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(oe).e("content"))},[le.$slots.prefix||le.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("prefix"))},[renderSlot(le.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString$1(le.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(oe).e("number")),style:normalizeStyle$1(le.valueStyle)},toDisplayString$1(unref(ie)),7),le.$slots.suffix||le.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(oe).e("suffix"))},[renderSlot(le.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString$1(le.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$1(_sfc_main$y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);const ElStatistic=withInstall(Statistic),countdownProps=buildProps({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:definePropType([Number,Object]),default:0},valueStyle:{type:definePropType([String,Object,Array])}}),countdownEmits={finish:()=>!0,[CHANGE_EVENT]:t=>isNumber$4(t)},timeUnits$1=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],getTime$1=t=>isNumber$4(t)?new Date(t).getTime():t.valueOf(),formatTime$2=(t,r)=>{let V=t;const oe=/\[([^\]]*)]/g;return timeUnits$1.reduce((le,[ue,de])=>{const pe=new RegExp(`${ue}+(?![^\\[\\]]*\\])`,"g");if(pe.test(le)){const he=Math.floor(V/de);return V-=he*de,le.replace(pe,_e=>String(he).padStart(_e.length,"0"))}return le},r).replace(oe,"$1")},__default__$o=defineComponent({name:"ElCountdown"}),_sfc_main$x=defineComponent({...__default__$o,props:countdownProps,emits:countdownEmits,setup(t,{expose:r,emit:V}){const oe=t;let ie;const le=ref(getTime$1(oe.value)-Date.now()),ue=computed(()=>formatTime$2(le.value,oe.format)),de=_e=>formatTime$2(_e,oe.format),pe=()=>{ie&&(cAF(ie),ie=void 0)},he=()=>{const _e=getTime$1(oe.value),$e=()=>{let Ie=_e-Date.now();V("change",Ie),Ie<=0?(Ie=0,pe(),V("finish")):ie=rAF($e),le.value=Ie};ie=rAF($e)};return watch(()=>[oe.value,oe.format],()=>{pe(),he()},{immediate:!0}),onBeforeUnmount(()=>{pe()}),r({displayValue:ue}),(_e,$e)=>(openBlock(),createBlock(unref(ElStatistic),{value:le.value,title:_e.title,prefix:_e.prefix,suffix:_e.suffix,"value-style":_e.valueStyle,formatter:de},createSlots({_:2},[renderList(_e.$slots,(Ie,Ve)=>({name:Ve,fn:withCtx(()=>[renderSlot(_e.$slots,Ve)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$1(_sfc_main$x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/countdown/src/countdown.vue"]]);const ElCountdown=withInstall(Countdown),stepsProps=buildProps({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),stepsEmits={[CHANGE_EVENT]:(t,r)=>[t,r].every(isNumber$4)},__default__$n=defineComponent({name:"ElSteps"}),_sfc_main$w=defineComponent({...__default__$n,props:stepsProps,emits:stepsEmits,setup(t,{emit:r}){const V=t,oe=useNamespace("steps"),{children:ie,addChild:le,removeChild:ue}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(ie,()=>{ie.value.forEach((de,pe)=>{de.setIndex(pe)})}),provide("ElSteps",{props:V,steps:ie,addStep:le,removeStep:ue}),watch(()=>V.active,(de,pe)=>{r(CHANGE_EVENT,de,pe)}),(de,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).b(),unref(oe).m(de.simple?"simple":de.direction)])},[renderSlot(de.$slots,"default")],2))}});var Steps=_export_sfc$1(_sfc_main$w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/steps.vue"]]);const stepProps=buildProps({title:{type:String,default:""},icon:{type:iconPropType},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),__default__$m=defineComponent({name:"ElStep"}),_sfc_main$v=defineComponent({...__default__$m,props:stepProps,setup(t){const r=t,V=useNamespace("step"),oe=ref(-1),ie=ref({}),le=ref(""),ue=inject("ElSteps"),de=getCurrentInstance();onMounted(()=>{watch([()=>ue.props.active,()=>ue.props.processStatus,()=>ue.props.finishStatus],([vn])=>{hn(vn)},{immediate:!0})}),onBeforeUnmount(()=>{ue.removeStep(_n.uid)});const pe=computed(()=>r.status||le.value),he=computed(()=>{const vn=ue.steps.value[oe.value-1];return vn?vn.currentStatus:"wait"}),_e=computed(()=>ue.props.alignCenter),$e=computed(()=>ue.props.direction==="vertical"),Ie=computed(()=>ue.props.simple),Ve=computed(()=>ue.steps.value.length),Fe=computed(()=>{var vn;return((vn=ue.steps.value[Ve.value-1])==null?void 0:vn.uid)===(de==null?void 0:de.uid)}),Ue=computed(()=>Ie.value?"":ue.props.space),qe=computed(()=>[V.b(),V.is(Ie.value?"simple":ue.props.direction),V.is("flex",Fe.value&&!Ue.value&&!_e.value),V.is("center",_e.value&&!$e.value&&!Ie.value)]),Et=computed(()=>{const vn={flexBasis:isNumber$4(Ue.value)?`${Ue.value}px`:Ue.value?Ue.value:`${100/(Ve.value-(_e.value?0:1))}%`};return $e.value||Fe.value&&(vn.maxWidth=`${100/Ve.value}%`),vn}),At=vn=>{oe.value=vn},Lt=vn=>{const bn=vn==="wait",Cn={transitionDelay:`${bn?"-":""}${150*oe.value}ms`},Sn=vn===ue.props.processStatus||bn?0:100;Cn.borderWidth=Sn&&!Ie.value?"1px":0,Cn[ue.props.direction==="vertical"?"height":"width"]=`${Sn}%`,ie.value=Cn},hn=vn=>{vn>oe.value?le.value=ue.props.finishStatus:vn===oe.value&&he.value!=="error"?le.value=ue.props.processStatus:le.value="wait";const bn=ue.steps.value[oe.value-1];bn&&bn.calcProgress(le.value)},_n=reactive({uid:de.uid,currentStatus:pe,setIndex:At,calcProgress:Lt});return ue.addStep(_n),(vn,bn)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(Et)),class:normalizeClass(unref(qe))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(V).e("head"),unref(V).is(unref(pe))])},[unref(Ie)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(V).e("line-inner")),style:normalizeStyle$1(ie.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(V).e("icon"),unref(V).is(vn.icon||vn.$slots.icon?"icon":"text")])},[renderSlot(vn.$slots,"icon",{},()=>[vn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(V).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(vn.icon)))]),_:1},8,["class"])):unref(pe)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(V).e("icon-inner"),unref(V).is("status")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):unref(pe)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(V).e("icon-inner"),unref(V).is("status")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):unref(Ie)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(V).e("icon-inner"))},toDisplayString$1(oe.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(V).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(V).e("title"),unref(V).is(unref(pe))])},[renderSlot(vn.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(vn.title),1)])],2),unref(Ie)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(V).e("description"),unref(V).is(unref(pe))])},[renderSlot(vn.$slots,"description",{},()=>[createTextVNode(toDisplayString$1(vn.description),1)])],2))],2)],6))}});var Step=_export_sfc$1(_sfc_main$v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},value:{type:[Boolean,String,Number],default:!1}}),switchEmits={[UPDATE_MODEL_EVENT]:t=>isBoolean$3(t)||isString$6(t)||isNumber$4(t),[CHANGE_EVENT]:t=>isBoolean$3(t)||isString$6(t)||isNumber$4(t),[INPUT_EVENT]:t=>isBoolean$3(t)||isString$6(t)||isNumber$4(t)},_hoisted_1$f=["onClick"],_hoisted_2$b=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$6=["aria-hidden"],_hoisted_4$3=["aria-hidden"],_hoisted_5$1=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$l=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$u=defineComponent({...__default__$l,props:switchProps,emits:switchEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=getCurrentInstance(),{formItem:le}=useFormItem(),ue=useFormSize(),de=useNamespace("switch");(Cn=>{Cn.forEach(Sn=>{useDeprecated({from:Sn[0],replacement:Sn[1],scope:COMPONENT_NAME$8,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},computed(()=>{var wn;return!!((wn=ie.vnode.props)!=null&&wn[Sn[2]])}))})})([['"value"','"model-value" or "v-model"',"value"],['"active-color"',"CSS var `--el-switch-on-color`","activeColor"],['"inactive-color"',"CSS var `--el-switch-off-color`","inactiveColor"],['"border-color"',"CSS var `--el-switch-border-color`","borderColor"]]);const{inputId:he}=useFormItemInputId(oe,{formItemContext:le}),_e=useFormDisabled(computed(()=>oe.loading)),$e=ref(oe.modelValue!==!1),Ie=ref(),Ve=ref(),Fe=computed(()=>[de.b(),de.m(ue.value),de.is("disabled",_e.value),de.is("checked",Lt.value)]),Ue=computed(()=>[de.e("label"),de.em("label","left"),de.is("active",!Lt.value)]),qe=computed(()=>[de.e("label"),de.em("label","right"),de.is("active",Lt.value)]),Et=computed(()=>({width:addUnit(oe.width)}));watch(()=>oe.modelValue,()=>{$e.value=!0}),watch(()=>oe.value,()=>{$e.value=!1});const At=computed(()=>$e.value?oe.modelValue:oe.value),Lt=computed(()=>At.value===oe.activeValue);[oe.activeValue,oe.inactiveValue].includes(At.value)||(V(UPDATE_MODEL_EVENT,oe.inactiveValue),V(CHANGE_EVENT,oe.inactiveValue),V(INPUT_EVENT,oe.inactiveValue)),watch(Lt,Cn=>{var Sn;Ie.value.checked=Cn,oe.validateEvent&&((Sn=le==null?void 0:le.validate)==null||Sn.call(le,"change").catch(wn=>void 0))});const hn=()=>{const Cn=Lt.value?oe.inactiveValue:oe.activeValue;V(UPDATE_MODEL_EVENT,Cn),V(CHANGE_EVENT,Cn),V(INPUT_EVENT,Cn),nextTick(()=>{Ie.value.checked=Lt.value})},_n=()=>{if(_e.value)return;const{beforeChange:Cn}=oe;if(!Cn){hn();return}const Sn=Cn();[isPromise(Sn),isBoolean$3(Sn)].includes(!0)||throwError$1(COMPONENT_NAME$8,"beforeChange must return type `Promise<boolean>` or `boolean`"),isPromise(Sn)?Sn.then(En=>{En&&hn()}).catch(En=>{}):Sn&&hn()},vn=computed(()=>de.cssVarBlock({...oe.activeColor?{"on-color":oe.activeColor}:null,...oe.inactiveColor?{"off-color":oe.inactiveColor}:null,...oe.borderColor?{"border-color":oe.borderColor}:null})),bn=()=>{var Cn,Sn;(Sn=(Cn=Ie.value)==null?void 0:Cn.focus)==null||Sn.call(Cn)};return onMounted(()=>{Ie.value.checked=Lt.value}),r({focus:bn,checked:Lt}),(Cn,Sn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe)),style:normalizeStyle$1(unref(vn)),onClick:withModifiers(_n,["prevent"])},[createBaseVNode("input",{id:unref(he),ref_key:"input",ref:Ie,class:normalizeClass(unref(de).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Lt),"aria-disabled":unref(_e),name:Cn.name,"true-value":Cn.activeValue,"false-value":Cn.inactiveValue,disabled:unref(_e),tabindex:Cn.tabindex,onChange:hn,onKeydown:withKeys(_n,["enter"])},null,42,_hoisted_2$b),!Cn.inlinePrompt&&(Cn.inactiveIcon||Cn.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ue))},[Cn.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Cn.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!Cn.inactiveIcon&&Cn.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Lt)},toDisplayString$1(Cn.inactiveText),9,_hoisted_3$6)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:Ve,class:normalizeClass(unref(de).e("core")),style:normalizeStyle$1(unref(Et))},[Cn.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(de).e("inner"))},[Cn.activeIcon||Cn.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Lt)?Cn.activeIcon:Cn.inactiveIcon)))]),_:1},8,["class"])):Cn.activeText||Cn.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(de).is("text")),"aria-hidden":!unref(Lt)},toDisplayString$1(unref(Lt)?Cn.activeText:Cn.inactiveText),11,_hoisted_4$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(de).e("action"))},[Cn.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])):Cn.activeActionIcon&&unref(Lt)?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Cn.activeActionIcon)))]),_:1})):Cn.inactiveActionIcon&&!unref(Lt)?(openBlock(),createBlock(unref(ElIcon),{key:2},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Cn.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)],2)],6),!Cn.inlinePrompt&&(Cn.activeIcon||Cn.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(qe))},[Cn.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Cn.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!Cn.activeIcon&&Cn.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Lt)},toDisplayString$1(Cn.activeText),9,_hoisted_5$1)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],14,_hoisted_1$f))}});var Switch=_export_sfc$1(_sfc_main$u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const ElSwitch=withInstall(Switch);/*!
|
||
* escape-html
|
||
* Copyright(c) 2012-2013 TJ Holowaychuk
|
||
* Copyright(c) 2015 Andreas Lubbe
|
||
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
||
* MIT Licensed
|
||
*/var matchHtmlRegExp=/["'&<>]/,escapeHtml_1=escapeHtml$1;function escapeHtml$1(t){var r=""+t,V=matchHtmlRegExp.exec(r);if(!V)return r;var oe,ie="",le=0,ue=0;for(le=V.index;le<r.length;le++){switch(r.charCodeAt(le)){case 34:oe=""";break;case 38:oe="&";break;case 39:oe="'";break;case 60:oe="<";break;case 62:oe=">";break;default:continue}ue!==le&&(ie+=r.substring(ue,le)),ue=le+1,ie+=oe}return ue!==le?ie+r.substring(ue,le):ie}const escapeHtml$2=getDefaultExportFromCjs(escapeHtml_1),getCell=function(t){var r;return(r=t.target)==null?void 0:r.closest("td")},orderBy=function(t,r,V,oe,ie){if(!r&&!oe&&(!ie||Array.isArray(ie)&&!ie.length))return t;typeof V=="string"?V=V==="descending"?-1:1:V=V&&V<0?-1:1;const le=oe?null:function(de,pe){return ie?(Array.isArray(ie)||(ie=[ie]),ie.map(he=>typeof he=="string"?get$1(de,he):he(de,pe,t))):(r!=="$key"&&isObject$9(de)&&"$value"in de&&(de=de.$value),[isObject$9(de)?get$1(de,r):de])},ue=function(de,pe){if(oe)return oe(de.value,pe.value);for(let he=0,_e=de.key.length;he<_e;he++){if(de.key[he]<pe.key[he])return-1;if(de.key[he]>pe.key[he])return 1}return 0};return t.map((de,pe)=>({value:de,index:pe,key:le?le(de,pe):null})).sort((de,pe)=>{let he=ue(de,pe);return he||(he=de.index-pe.index),he*+V}).map(de=>de.value)},getColumnById=function(t,r){let V=null;return t.columns.forEach(oe=>{oe.id===r&&(V=oe)}),V},getColumnByKey=function(t,r){let V=null;for(let oe=0;oe<t.columns.length;oe++){const ie=t.columns[oe];if(ie.columnKey===r){V=ie;break}}return V||throwError$1("ElTable",`No column matching with column-key: ${r}`),V},getColumnByCell=function(t,r,V){const oe=(r.className||"").match(new RegExp(`${V}-table_[^\\s]+`,"gm"));return oe?getColumnById(t,oe[0]):null},getRowIdentity=(t,r)=>{if(!t)throw new Error("Row is required when get row identity");if(typeof r=="string"){if(!r.includes("."))return`${t[r]}`;const V=r.split(".");let oe=t;for(const ie of V)oe=oe[ie];return`${oe}`}else if(typeof r=="function")return r.call(null,t)},getKeysMap=function(t,r){const V={};return(t||[]).forEach((oe,ie)=>{V[getRowIdentity(oe,r)]={row:oe,index:ie}}),V};function mergeOptions$1(t,r){const V={};let oe;for(oe in t)V[oe]=t[oe];for(oe in r)if(hasOwn$4(r,oe)){const ie=r[oe];typeof ie<"u"&&(V[oe]=ie)}return V}function parseWidth(t){return t===""||t!==void 0&&(t=Number.parseInt(t,10),Number.isNaN(t)&&(t="")),t}function parseMinWidth(t){return t===""||t!==void 0&&(t=parseWidth(t),Number.isNaN(t)&&(t=80)),t}function parseHeight(t){return typeof t=="number"?t:typeof t=="string"?/^\d+(?:px)?$/.test(t)?Number.parseInt(t,10):t:null}function compose(...t){return t.length===0?r=>r:t.length===1?t[0]:t.reduce((r,V)=>(...oe)=>r(V(...oe)))}function toggleRowStatus(t,r,V){let oe=!1;const ie=t.indexOf(r),le=ie!==-1,ue=de=>{de==="add"?t.push(r):t.splice(ie,1),oe=!0,isArray$c(r.children)&&r.children.forEach(pe=>{toggleRowStatus(t,pe,V??!le)})};return isBoolean$3(V)?V&&!le?ue("add"):!V&&le&&ue("remove"):ue(le?"remove":"add"),oe}function walkTreeNode(t,r,V="children",oe="hasChildren"){const ie=ue=>!(Array.isArray(ue)&&ue.length);function le(ue,de,pe){r(ue,de,pe),de.forEach(he=>{if(he[oe]){r(he,null,pe+1);return}const _e=he[V];ie(_e)||le(he,_e,pe+1)})}t.forEach(ue=>{if(ue[oe]){r(ue,null,0);return}const de=ue[V];ie(de)||le(ue,de,0)})}let removePopper;function createTablePopper(t,r,V,oe,ie){ie=merge$4({enterable:!0,showArrow:!0},ie);const le=t==null?void 0:t.dataset.prefix,ue=t==null?void 0:t.querySelector(`.${le}-scrollbar__wrap`);function de(){const qe=ie.effect==="light",Et=document.createElement("div");return Et.className=[`${le}-popper`,qe?"is-light":"is-dark",ie.popperClass||""].join(" "),V=escapeHtml$2(V),Et.innerHTML=V,Et.style.zIndex=String(oe()),t==null||t.appendChild(Et),Et}function pe(){const qe=document.createElement("div");return qe.className=`${le}-popper__arrow`,qe}function he(){_e&&_e.update()}removePopper==null||removePopper(),removePopper=()=>{try{_e&&_e.destroy(),Ve&&(t==null||t.removeChild(Ve)),r.removeEventListener("mouseenter",$e),r.removeEventListener("mouseleave",Ie),ue==null||ue.removeEventListener("scroll",removePopper),removePopper=void 0}catch{}};let _e=null,$e=he,Ie=removePopper;ie.enterable&&({onOpen:$e,onClose:Ie}=useDelayedToggle({showAfter:ie.showAfter,hideAfter:ie.hideAfter,open:he,close:removePopper}));const Ve=de();Ve.onmouseenter=$e,Ve.onmouseleave=Ie;const Fe=[];if(ie.offset&&Fe.push({name:"offset",options:{offset:[0,ie.offset]}}),ie.showArrow){const qe=Ve.appendChild(pe());Fe.push({name:"arrow",options:{element:qe,padding:10}})}const Ue=ie.popperOptions||{};return _e=yn(r,Ve,{placement:ie.placement||"top",strategy:"fixed",...Ue,modifiers:Ue.modifiers?Fe.concat(Ue.modifiers):Fe}),r.addEventListener("mouseenter",$e),r.addEventListener("mouseleave",Ie),ue==null||ue.addEventListener("scroll",removePopper),_e}function getCurrentColumns(t){return t.children?flatMap(t.children,getCurrentColumns):[t]}function getColSpan(t,r){return t+r.colSpan}const isFixedColumn=(t,r,V,oe)=>{let ie=0,le=t;const ue=V.states.columns.value;if(oe){const pe=getCurrentColumns(oe[t]);ie=ue.slice(0,ue.indexOf(pe[0])).reduce(getColSpan,0),le=ie+pe.reduce(getColSpan,0)-1}else ie=t;let de;switch(r){case"left":le<V.states.fixedLeafColumnsLength.value&&(de="left");break;case"right":ie>=ue.length-V.states.rightFixedLeafColumnsLength.value&&(de="right");break;default:le<V.states.fixedLeafColumnsLength.value?de="left":ie>=ue.length-V.states.rightFixedLeafColumnsLength.value&&(de="right")}return de?{direction:de,start:ie,after:le}:{}},getFixedColumnsClass=(t,r,V,oe,ie,le=0)=>{const ue=[],{direction:de,start:pe,after:he}=isFixedColumn(r,V,oe,ie);if(de){const _e=de==="left";ue.push(`${t}-fixed-column--${de}`),_e&&he+le===oe.states.fixedLeafColumnsLength.value-1?ue.push("is-last-column"):!_e&&pe-le===oe.states.columns.value.length-oe.states.rightFixedLeafColumnsLength.value&&ue.push("is-first-column")}return ue};function getOffset(t,r){return t+(r.realWidth===null||Number.isNaN(r.realWidth)?Number(r.width):r.realWidth)}const getFixedColumnOffset=(t,r,V,oe)=>{const{direction:ie,start:le=0,after:ue=0}=isFixedColumn(t,r,V,oe);if(!ie)return;const de={},pe=ie==="left",he=V.states.columns.value;return pe?de.left=he.slice(0,le).reduce(getOffset,0):de.right=he.slice(ue+1).reverse().reduce(getOffset,0),de},ensurePosition=(t,r)=>{t&&(Number.isNaN(t[r])||(t[r]=`${t[r]}px`))};function useExpand(t){const r=getCurrentInstance(),V=ref(!1),oe=ref([]);return{updateExpandRows:()=>{const pe=t.data.value||[],he=t.rowKey.value;if(V.value)oe.value=pe.slice();else if(he){const _e=getKeysMap(oe.value,he);oe.value=pe.reduce(($e,Ie)=>{const Ve=getRowIdentity(Ie,he);return _e[Ve]&&$e.push(Ie),$e},[])}else oe.value=[]},toggleRowExpansion:(pe,he)=>{toggleRowStatus(oe.value,pe,he)&&r.emit("expand-change",pe,oe.value.slice())},setExpandRowKeys:pe=>{r.store.assertRowKey();const he=t.data.value||[],_e=t.rowKey.value,$e=getKeysMap(he,_e);oe.value=pe.reduce((Ie,Ve)=>{const Fe=$e[Ve];return Fe&&Ie.push(Fe.row),Ie},[])},isRowExpanded:pe=>{const he=t.rowKey.value;return he?!!getKeysMap(oe.value,he)[getRowIdentity(pe,he)]:oe.value.includes(pe)},states:{expandRows:oe,defaultExpandAll:V}}}function useCurrent(t){const r=getCurrentInstance(),V=ref(null),oe=ref(null),ie=he=>{r.store.assertRowKey(),V.value=he,ue(he)},le=()=>{V.value=null},ue=he=>{const{data:_e,rowKey:$e}=t;let Ie=null;$e.value&&(Ie=(unref(_e)||[]).find(Ve=>getRowIdentity(Ve,$e.value)===he)),oe.value=Ie,r.emit("current-change",oe.value,null)};return{setCurrentRowKey:ie,restoreCurrentRowKey:le,setCurrentRowByKey:ue,updateCurrentRow:he=>{const _e=oe.value;if(he&&he!==_e){oe.value=he,r.emit("current-change",oe.value,_e);return}!he&&_e&&(oe.value=null,r.emit("current-change",null,_e))},updateCurrentRowData:()=>{const he=t.rowKey.value,_e=t.data.value||[],$e=oe.value;if(!_e.includes($e)&&$e){if(he){const Ie=getRowIdentity($e,he);ue(Ie)}else oe.value=null;oe.value===null&&r.emit("current-change",null,$e)}else V.value&&(ue(V.value),le())},states:{_currentRowKey:V,currentRow:oe}}}function useTree$2(t){const r=ref([]),V=ref({}),oe=ref(16),ie=ref(!1),le=ref({}),ue=ref("hasChildren"),de=ref("children"),pe=getCurrentInstance(),he=computed(()=>{if(!t.rowKey.value)return{};const Et=t.data.value||[];return $e(Et)}),_e=computed(()=>{const Et=t.rowKey.value,At=Object.keys(le.value),Lt={};return At.length&&At.forEach(hn=>{if(le.value[hn].length){const _n={children:[]};le.value[hn].forEach(vn=>{const bn=getRowIdentity(vn,Et);_n.children.push(bn),vn[ue.value]&&!Lt[bn]&&(Lt[bn]={children:[]})}),Lt[hn]=_n}}),Lt}),$e=Et=>{const At=t.rowKey.value,Lt={};return walkTreeNode(Et,(hn,_n,vn)=>{const bn=getRowIdentity(hn,At);Array.isArray(_n)?Lt[bn]={children:_n.map(Cn=>getRowIdentity(Cn,At)),level:vn}:ie.value&&(Lt[bn]={children:[],lazy:!0,level:vn})},de.value,ue.value),Lt},Ie=(Et=!1,At=(Lt=>(Lt=pe.store)==null?void 0:Lt.states.defaultExpandAll.value)())=>{var Lt;const hn=he.value,_n=_e.value,vn=Object.keys(hn),bn={};if(vn.length){const Cn=unref(V),Sn=[],wn=(xn,Pn)=>{if(Et)return r.value?At||r.value.includes(Pn):!!(At||xn!=null&&xn.expanded);{const kn=At||r.value&&r.value.includes(Pn);return!!(xn!=null&&xn.expanded||kn)}};vn.forEach(xn=>{const Pn=Cn[xn],kn={...hn[xn]};if(kn.expanded=wn(Pn,xn),kn.lazy){const{loaded:Nn=!1,loading:Dn=!1}=Pn||{};kn.loaded=!!Nn,kn.loading=!!Dn,Sn.push(xn)}bn[xn]=kn});const En=Object.keys(_n);ie.value&&En.length&&Sn.length&&En.forEach(xn=>{const Pn=Cn[xn],kn=_n[xn].children;if(Sn.includes(xn)){if(bn[xn].children.length!==0)throw new Error("[ElTable]children must be an empty array.");bn[xn].children=kn}else{const{loaded:Nn=!1,loading:Dn=!1}=Pn||{};bn[xn]={lazy:!0,loaded:!!Nn,loading:!!Dn,expanded:wn(Pn,xn),children:kn,level:""}}})}V.value=bn,(Lt=pe.store)==null||Lt.updateTableScrollY()};watch(()=>r.value,()=>{Ie(!0)}),watch(()=>he.value,()=>{Ie()}),watch(()=>_e.value,()=>{Ie()});const Ve=Et=>{r.value=Et,Ie()},Fe=(Et,At)=>{pe.store.assertRowKey();const Lt=t.rowKey.value,hn=getRowIdentity(Et,Lt),_n=hn&&V.value[hn];if(hn&&_n&&"expanded"in _n){const vn=_n.expanded;At=typeof At>"u"?!_n.expanded:At,V.value[hn].expanded=At,vn!==At&&pe.emit("expand-change",Et,At),pe.store.updateTableScrollY()}},Ue=Et=>{pe.store.assertRowKey();const At=t.rowKey.value,Lt=getRowIdentity(Et,At),hn=V.value[Lt];ie.value&&hn&&"loaded"in hn&&!hn.loaded?qe(Et,Lt,hn):Fe(Et,void 0)},qe=(Et,At,Lt)=>{const{load:hn}=pe.props;hn&&!V.value[At].loaded&&(V.value[At].loading=!0,hn(Et,Lt,_n=>{if(!Array.isArray(_n))throw new TypeError("[ElTable] data must be an array");V.value[At].loading=!1,V.value[At].loaded=!0,V.value[At].expanded=!0,_n.length&&(le.value[At]=_n),pe.emit("expand-change",Et,!0)}))};return{loadData:qe,loadOrToggle:Ue,toggleTreeExpansion:Fe,updateTreeExpandKeys:Ve,updateTreeData:Ie,normalize:$e,states:{expandRowKeys:r,treeData:V,indent:oe,lazy:ie,lazyTreeNodeMap:le,lazyColumnIdentifier:ue,childrenColumnName:de}}}const sortData=(t,r)=>{const V=r.sortingColumn;return!V||typeof V.sortable=="string"?t:orderBy(t,r.sortProp,r.sortOrder,V.sortMethod,V.sortBy)},doFlattenColumns=t=>{const r=[];return t.forEach(V=>{V.children&&V.children.length>0?r.push.apply(r,doFlattenColumns(V.children)):r.push(V)}),r};function useWatcher$1(){var t;const r=getCurrentInstance(),{size:V}=toRefs((t=r.proxy)==null?void 0:t.$props),oe=ref(null),ie=ref([]),le=ref([]),ue=ref(!1),de=ref([]),pe=ref([]),he=ref([]),_e=ref([]),$e=ref([]),Ie=ref([]),Ve=ref([]),Fe=ref([]),Ue=[],qe=ref(0),Et=ref(0),At=ref(0),Lt=ref(!1),hn=ref([]),_n=ref(!1),vn=ref(!1),bn=ref(null),Cn=ref({}),Sn=ref(null),wn=ref(null),En=ref(null),xn=ref(null),Pn=ref(null);watch(ie,()=>r.state&&Mn(!1),{deep:!0});const kn=()=>{if(!oe.value)throw new Error("[ElTable] prop row-key is required")},Nn=Rr=>{var mr;(mr=Rr.children)==null||mr.forEach(ir=>{ir.fixed=Rr.fixed,Nn(ir)})},Dn=()=>{de.value.forEach($r=>{Nn($r)}),_e.value=de.value.filter($r=>$r.fixed===!0||$r.fixed==="left"),$e.value=de.value.filter($r=>$r.fixed==="right"),_e.value.length>0&&de.value[0]&&de.value[0].type==="selection"&&!de.value[0].fixed&&(de.value[0].fixed=!0,_e.value.unshift(de.value[0]));const Rr=de.value.filter($r=>!$r.fixed);pe.value=[].concat(_e.value).concat(Rr).concat($e.value);const mr=doFlattenColumns(Rr),ir=doFlattenColumns(_e.value),ar=doFlattenColumns($e.value);qe.value=mr.length,Et.value=ir.length,At.value=ar.length,he.value=[].concat(ir).concat(mr).concat(ar),ue.value=_e.value.length>0||$e.value.length>0},Mn=(Rr,mr=!1)=>{Rr&&Dn(),mr?r.state.doLayout():r.state.debouncedUpdateLayout()},Ln=Rr=>hn.value.includes(Rr),An=()=>{Lt.value=!1,hn.value.length&&(hn.value=[],r.emit("selection-change",[]))},Vn=()=>{let Rr;if(oe.value){Rr=[];const mr=getKeysMap(hn.value,oe.value),ir=getKeysMap(ie.value,oe.value);for(const ar in mr)hasOwn$4(mr,ar)&&!ir[ar]&&Rr.push(mr[ar].row)}else Rr=hn.value.filter(mr=>!ie.value.includes(mr));if(Rr.length){const mr=hn.value.filter(ir=>!Rr.includes(ir));hn.value=mr,r.emit("selection-change",mr.slice())}},Wn=()=>(hn.value||[]).slice(),Fn=(Rr,mr=void 0,ir=!0)=>{if(toggleRowStatus(hn.value,Rr,mr)){const $r=(hn.value||[]).slice();ir&&r.emit("select",$r,Rr),r.emit("selection-change",$r)}},Yn=()=>{var Rr,mr;const ir=vn.value?!Lt.value:!(Lt.value||hn.value.length);Lt.value=ir;let ar=!1,$r=0;const Zn=(mr=(Rr=r==null?void 0:r.store)==null?void 0:Rr.states)==null?void 0:mr.rowKey.value;ie.value.forEach((Or,Lr)=>{const Ur=Lr+$r;bn.value?bn.value.call(null,Or,Ur)&&toggleRowStatus(hn.value,Or,ir)&&(ar=!0):toggleRowStatus(hn.value,Or,ir)&&(ar=!0),$r+=Jn(getRowIdentity(Or,Zn))}),ar&&r.emit("selection-change",hn.value?hn.value.slice():[]),r.emit("select-all",hn.value)},tr=()=>{const Rr=getKeysMap(hn.value,oe.value);ie.value.forEach(mr=>{const ir=getRowIdentity(mr,oe.value),ar=Rr[ir];ar&&(hn.value[ar.index]=mr)})},yr=()=>{var Rr,mr,ir;if(((Rr=ie.value)==null?void 0:Rr.length)===0){Lt.value=!1;return}let ar;oe.value&&(ar=getKeysMap(hn.value,oe.value));const $r=function(Ur){return ar?!!ar[getRowIdentity(Ur,oe.value)]:hn.value.includes(Ur)};let Zn=!0,Or=0,Lr=0;for(let Ur=0,Kr=(ie.value||[]).length;Ur<Kr;Ur++){const qr=(ir=(mr=r==null?void 0:r.store)==null?void 0:mr.states)==null?void 0:ir.rowKey.value,no=Ur+Lr,Xr=ie.value[Ur],_r=bn.value&&bn.value.call(null,Xr,no);if($r(Xr))Or++;else if(!bn.value||_r){Zn=!1;break}Lr+=Jn(getRowIdentity(Xr,qr))}Or===0&&(Zn=!1),Lt.value=Zn},Jn=Rr=>{var mr;if(!r||!r.store)return 0;const{treeData:ir}=r.store.states;let ar=0;const $r=(mr=ir.value[Rr])==null?void 0:mr.children;return $r&&(ar+=$r.length,$r.forEach(Zn=>{ar+=Jn(Zn)})),ar},Kn=(Rr,mr)=>{Array.isArray(Rr)||(Rr=[Rr]);const ir={};return Rr.forEach(ar=>{Cn.value[ar.id]=mr,ir[ar.columnKey||ar.id]=mr}),ir},Gn=(Rr,mr,ir)=>{wn.value&&wn.value!==Rr&&(wn.value.order=null),wn.value=Rr,En.value=mr,xn.value=ir},Qn=()=>{let Rr=unref(le);Object.keys(Cn.value).forEach(mr=>{const ir=Cn.value[mr];if(!ir||ir.length===0)return;const ar=getColumnById({columns:he.value},mr);ar&&ar.filterMethod&&(Rr=Rr.filter($r=>ir.some(Zn=>ar.filterMethod.call(null,Zn,$r,ar))))}),Sn.value=Rr},ur=()=>{ie.value=sortData(Sn.value,{sortingColumn:wn.value,sortProp:En.value,sortOrder:xn.value})},cr=(Rr=void 0)=>{Rr&&Rr.filter||Qn(),ur()},Un=Rr=>{const{tableHeaderRef:mr}=r.refs;if(!mr)return;const ir=Object.assign({},mr.filterPanels),ar=Object.keys(ir);if(ar.length)if(typeof Rr=="string"&&(Rr=[Rr]),Array.isArray(Rr)){const $r=Rr.map(Zn=>getColumnByKey({columns:he.value},Zn));ar.forEach(Zn=>{const Or=$r.find(Lr=>Lr.id===Zn);Or&&(Or.filteredValue=[])}),r.store.commit("filterChange",{column:$r,values:[],silent:!0,multi:!0})}else ar.forEach($r=>{const Zn=he.value.find(Or=>Or.id===$r);Zn&&(Zn.filteredValue=[])}),Cn.value={},r.store.commit("filterChange",{column:{},values:[],silent:!0})},qn=()=>{wn.value&&(Gn(null,null,null),r.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:er,toggleRowExpansion:pr,updateExpandRows:Er,states:dr,isRowExpanded:xr}=useExpand({data:ie,rowKey:oe}),{updateTreeExpandKeys:wr,toggleTreeExpansion:Cr,updateTreeData:gr,loadOrToggle:or,states:fr}=useTree$2({data:ie,rowKey:oe}),{updateCurrentRowData:kr,updateCurrentRow:br,setCurrentRowKey:Ar,states:Dr}=useCurrent({data:ie,rowKey:oe});return{assertRowKey:kn,updateColumns:Dn,scheduleLayout:Mn,isSelected:Ln,clearSelection:An,cleanSelection:Vn,getSelectionRows:Wn,toggleRowSelection:Fn,_toggleAllSelection:Yn,toggleAllSelection:null,updateSelectionByRowKey:tr,updateAllSelected:yr,updateFilters:Kn,updateCurrentRow:br,updateSort:Gn,execFilter:Qn,execSort:ur,execQuery:cr,clearFilter:Un,clearSort:qn,toggleRowExpansion:pr,setExpandRowKeysAdapter:Rr=>{er(Rr),wr(Rr)},setCurrentRowKey:Ar,toggleRowExpansionAdapter:(Rr,mr)=>{he.value.some(({type:ar})=>ar==="expand")?pr(Rr,mr):Cr(Rr,mr)},isRowExpanded:xr,updateExpandRows:Er,updateCurrentRowData:kr,loadOrToggle:or,updateTreeData:gr,states:{tableSize:V,rowKey:oe,data:ie,_data:le,isComplex:ue,_columns:de,originColumns:pe,columns:he,fixedColumns:_e,rightFixedColumns:$e,leafColumns:Ie,fixedLeafColumns:Ve,rightFixedLeafColumns:Fe,updateOrderFns:Ue,leafColumnsLength:qe,fixedLeafColumnsLength:Et,rightFixedLeafColumnsLength:At,isAllSelected:Lt,selection:hn,reserveSelection:_n,selectOnIndeterminate:vn,selectable:bn,filters:Cn,filteredData:Sn,sortingColumn:wn,sortProp:En,sortOrder:xn,hoverRow:Pn,...dr,...fr,...Dr}}}function replaceColumn(t,r){return t.map(V=>{var oe;return V.id===r.id?r:((oe=V.children)!=null&&oe.length&&(V.children=replaceColumn(V.children,r)),V)})}function sortColumn(t){t.forEach(r=>{var V,oe;r.no=(V=r.getColumnIndex)==null?void 0:V.call(r),(oe=r.children)!=null&&oe.length&&sortColumn(r.children)}),t.sort((r,V)=>r.no-V.no)}function useStore(){const t=getCurrentInstance(),r=useWatcher$1();return{ns:useNamespace("table"),...r,mutations:{setData(ue,de){const pe=unref(ue._data)!==de;ue.data.value=de,ue._data.value=de,t.store.execQuery(),t.store.updateCurrentRowData(),t.store.updateExpandRows(),t.store.updateTreeData(t.store.states.defaultExpandAll.value),unref(ue.reserveSelection)?(t.store.assertRowKey(),t.store.updateSelectionByRowKey()):pe?t.store.clearSelection():t.store.cleanSelection(),t.store.updateAllSelected(),t.$ready&&t.store.scheduleLayout()},insertColumn(ue,de,pe,he){const _e=unref(ue._columns);let $e=[];pe?(pe&&!pe.children&&(pe.children=[]),pe.children.push(de),$e=replaceColumn(_e,pe)):(_e.push(de),$e=_e),sortColumn($e),ue._columns.value=$e,ue.updateOrderFns.push(he),de.type==="selection"&&(ue.selectable.value=de.selectable,ue.reserveSelection.value=de.reserveSelection),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},updateColumnOrder(ue,de){var pe;((pe=de.getColumnIndex)==null?void 0:pe.call(de))!==de.no&&(sortColumn(ue._columns.value),t.$ready&&t.store.updateColumns())},removeColumn(ue,de,pe,he){const _e=unref(ue._columns)||[];if(pe)pe.children.splice(pe.children.findIndex(Ie=>Ie.id===de.id),1),nextTick(()=>{var Ie;((Ie=pe.children)==null?void 0:Ie.length)===0&&delete pe.children}),ue._columns.value=replaceColumn(_e,pe);else{const Ie=_e.indexOf(de);Ie>-1&&(_e.splice(Ie,1),ue._columns.value=_e)}const $e=ue.updateOrderFns.indexOf(he);$e>-1&&ue.updateOrderFns.splice($e,1),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},sort(ue,de){const{prop:pe,order:he,init:_e}=de;if(pe){const $e=unref(ue.columns).find(Ie=>Ie.property===pe);$e&&($e.order=he,t.store.updateSort($e,pe,he),t.store.commit("changeSortCondition",{init:_e}))}},changeSortCondition(ue,de){const{sortingColumn:pe,sortProp:he,sortOrder:_e}=ue,$e=unref(pe),Ie=unref(he),Ve=unref(_e);Ve===null&&(ue.sortingColumn.value=null,ue.sortProp.value=null);const Fe={filter:!0};t.store.execQuery(Fe),(!de||!(de.silent||de.init))&&t.emit("sort-change",{column:$e,prop:Ie,order:Ve}),t.store.updateTableScrollY()},filterChange(ue,de){const{column:pe,values:he,silent:_e}=de,$e=t.store.updateFilters(pe,he);t.store.execQuery(),_e||t.emit("filter-change",$e),t.store.updateTableScrollY()},toggleAllSelection(){t.store.toggleAllSelection()},rowSelectedChanged(ue,de){t.store.toggleRowSelection(de),t.store.updateAllSelected()},setHoverRow(ue,de){ue.hoverRow.value=de},setCurrentRow(ue,de){t.store.updateCurrentRow(de)}},commit:function(ue,...de){const pe=t.store.mutations;if(pe[ue])pe[ue].apply(t,[t.store.states].concat(de));else throw new Error(`Action not found: ${ue}`)},updateTableScrollY:function(){nextTick(()=>t.layout.updateScrollY.apply(t.layout))}}}const InitialStateMap={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"}};function createStore(t,r){if(!t)throw new Error("Table is required.");const V=useStore();return V.toggleAllSelection=debounce(V._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(oe=>{handleValue(getArrKeysValue(r,oe),oe,V)}),proxyTableProps(V,r),V}function proxyTableProps(t,r){Object.keys(InitialStateMap).forEach(V=>{watch(()=>getArrKeysValue(r,V),oe=>{handleValue(oe,V,t)})})}function handleValue(t,r,V){let oe=t,ie=InitialStateMap[r];typeof InitialStateMap[r]=="object"&&(ie=ie.key,oe=oe||InitialStateMap[r].default),V.states[ie].value=oe}function getArrKeysValue(t,r){if(r.includes(".")){const V=r.split(".");let oe=t;return V.forEach(ie=>{oe=oe[ie]}),oe}else return t[r]}class TableLayout{constructor(r){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=ref(null),this.scrollX=ref(!1),this.scrollY=ref(!1),this.bodyWidth=ref(null),this.fixedWidth=ref(null),this.rightFixedWidth=ref(null),this.gutterWidth=0;for(const V in r)hasOwn$4(r,V)&&(isRef(this[V])?this[V].value=r[V]:this[V]=r[V]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const V=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(V!=null&&V.wrapRef)){let oe=!0;const ie=this.scrollY.value;return oe=V.wrapRef.scrollHeight>V.wrapRef.clientHeight,this.scrollY.value=oe,ie!==oe}return!1}setHeight(r,V="height"){if(!isClient$1)return;const oe=this.table.vnode.el;if(r=parseHeight(r),this.height.value=Number(r),!oe&&(r||r===0))return nextTick(()=>this.setHeight(r,V));typeof r=="number"?(oe.style[V]=`${r}px`,this.updateElsHeight()):typeof r=="string"&&(oe.style[V]=r,this.updateElsHeight())}setMaxHeight(r){this.setHeight(r,"max-height")}getFlattenColumns(){const r=[];return this.table.store.states.columns.value.forEach(oe=>{oe.isColumnGroup?r.push.apply(r,oe.columns):r.push(oe)}),r}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(r){if(!r)return!0;let V=r;for(;V.tagName!=="DIV";){if(getComputedStyle(V).display==="none")return!0;V=V.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const r=this.fit,V=this.table.vnode.el.clientWidth;let oe=0;const ie=this.getFlattenColumns(),le=ie.filter(pe=>typeof pe.width!="number");if(ie.forEach(pe=>{typeof pe.width=="number"&&pe.realWidth&&(pe.realWidth=null)}),le.length>0&&r){if(ie.forEach(pe=>{oe+=Number(pe.width||pe.minWidth||80)}),oe<=V){this.scrollX.value=!1;const pe=V-oe;if(le.length===1)le[0].realWidth=Number(le[0].minWidth||80)+pe;else{const he=le.reduce((Ie,Ve)=>Ie+Number(Ve.minWidth||80),0),_e=pe/he;let $e=0;le.forEach((Ie,Ve)=>{if(Ve===0)return;const Fe=Math.floor(Number(Ie.minWidth||80)*_e);$e+=Fe,Ie.realWidth=Number(Ie.minWidth||80)+Fe}),le[0].realWidth=Number(le[0].minWidth||80)+pe-$e}}else this.scrollX.value=!0,le.forEach(pe=>{pe.realWidth=Number(pe.minWidth)});this.bodyWidth.value=Math.max(oe,V),this.table.state.resizeState.value.width=this.bodyWidth.value}else ie.forEach(pe=>{!pe.width&&!pe.minWidth?pe.realWidth=80:pe.realWidth=Number(pe.width||pe.minWidth),oe+=pe.realWidth}),this.scrollX.value=oe>V,this.bodyWidth.value=oe;const ue=this.store.states.fixedColumns.value;if(ue.length>0){let pe=0;ue.forEach(he=>{pe+=Number(he.realWidth||he.width)}),this.fixedWidth.value=pe}const de=this.store.states.rightFixedColumns.value;if(de.length>0){let pe=0;de.forEach(he=>{pe+=Number(he.realWidth||he.width)}),this.rightFixedWidth.value=pe}this.notifyObservers("columns")}addObserver(r){this.observers.push(r)}removeObserver(r){const V=this.observers.indexOf(r);V!==-1&&this.observers.splice(V,1)}notifyObservers(r){this.observers.forEach(oe=>{var ie,le;switch(r){case"columns":(ie=oe.state)==null||ie.onColumnsChange(this);break;case"scrollable":(le=oe.state)==null||le.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${r}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$t=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox,ElCheckboxGroup,ElScrollbar,ElTooltip,ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},directives:{ClickOutside},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(t){const r=getCurrentInstance(),{t:V}=useLocale(),oe=useNamespace("table-filter"),ie=r==null?void 0:r.parent;ie.filterPanels.value[t.column.id]||(ie.filterPanels.value[t.column.id]=r);const le=ref(!1),ue=ref(null),de=computed(()=>t.column&&t.column.filters),pe=computed({get:()=>{var hn;return(((hn=t.column)==null?void 0:hn.filteredValue)||[])[0]},set:hn=>{he.value&&(typeof hn<"u"&&hn!==null?he.value.splice(0,1,hn):he.value.splice(0,1))}}),he=computed({get(){return t.column?t.column.filteredValue||[]:[]},set(hn){t.column&&t.upDataColumn("filteredValue",hn)}}),_e=computed(()=>t.column?t.column.filterMultiple:!0),$e=hn=>hn.value===pe.value,Ie=()=>{le.value=!1},Ve=hn=>{hn.stopPropagation(),le.value=!le.value},Fe=()=>{le.value=!1},Ue=()=>{At(he.value),Ie()},qe=()=>{he.value=[],At(he.value),Ie()},Et=hn=>{pe.value=hn,At(typeof hn<"u"&&hn!==null?he.value:[]),Ie()},At=hn=>{t.store.commit("filterChange",{column:t.column,values:hn}),t.store.updateAllSelected()};watch(le,hn=>{t.column&&t.upDataColumn("filterOpened",hn)},{immediate:!0});const Lt=computed(()=>{var hn,_n;return(_n=(hn=ue.value)==null?void 0:hn.popperRef)==null?void 0:_n.contentRef});return{tooltipVisible:le,multiple:_e,filteredValue:he,filterValue:pe,filters:de,handleConfirm:Ue,handleReset:qe,handleSelect:Et,isActive:$e,t:V,ns:oe,showFilterPanel:Ve,hideFilterPanel:Fe,popperPaneRef:Lt,tooltip:ue}}}),_hoisted_1$e={key:0},_hoisted_2$a=["disabled"],_hoisted_3$5=["label","onClick"];function _sfc_render$5(t,r,V,oe,ie,le){const ue=resolveComponent("el-checkbox"),de=resolveComponent("el-checkbox-group"),pe=resolveComponent("el-scrollbar"),he=resolveComponent("arrow-up"),_e=resolveComponent("arrow-down"),$e=resolveComponent("el-icon"),Ie=resolveComponent("el-tooltip"),Ve=resolveDirective("click-outside");return openBlock(),createBlock(Ie,{ref:"tooltip",visible:t.tooltipVisible,offset:0,placement:t.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":t.ns.b(),persistent:""},{content:withCtx(()=>[t.multiple?(openBlock(),createElementBlock("div",_hoisted_1$e,[createBaseVNode("div",{class:normalizeClass(t.ns.e("content"))},[createVNode(pe,{"wrap-class":t.ns.e("wrap")},{default:withCtx(()=>[createVNode(de,{modelValue:t.filteredValue,"onUpdate:modelValue":r[0]||(r[0]=Fe=>t.filteredValue=Fe),class:normalizeClass(t.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filters,Fe=>(openBlock(),createBlock(ue,{key:Fe.value,label:Fe.value},{default:withCtx(()=>[createTextVNode(toDisplayString$1(Fe.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(t.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[t.ns.is("disabled")]:t.filteredValue.length===0}),disabled:t.filteredValue.length===0,type:"button",onClick:r[1]||(r[1]=(...Fe)=>t.handleConfirm&&t.handleConfirm(...Fe))},toDisplayString$1(t.t("el.table.confirmFilter")),11,_hoisted_2$a),createBaseVNode("button",{type:"button",onClick:r[2]||(r[2]=(...Fe)=>t.handleReset&&t.handleReset(...Fe))},toDisplayString$1(t.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(t.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([t.ns.e("list-item"),{[t.ns.is("active")]:t.filterValue===void 0||t.filterValue===null}]),onClick:r[3]||(r[3]=Fe=>t.handleSelect(null))},toDisplayString$1(t.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filters,Fe=>(openBlock(),createElementBlock("li",{key:Fe.value,class:normalizeClass([t.ns.e("list-item"),t.ns.is("active",t.isActive(Fe))]),label:Fe.value,onClick:Ue=>t.handleSelect(Fe.value)},toDisplayString$1(Fe.text),11,_hoisted_3$5))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${t.ns.namespace.value}-table__column-filter-trigger`,`${t.ns.namespace.value}-none-outline`]),onClick:r[4]||(r[4]=(...Fe)=>t.showFilterPanel&&t.showFilterPanel(...Fe))},[createVNode($e,null,{default:withCtx(()=>[t.column.filterOpened?(openBlock(),createBlock(he,{key:0})):(openBlock(),createBlock(_e,{key:1}))]),_:1})],2)),[[Ve,t.hideFilterPanel,t.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$1(_sfc_main$t,[["render",_sfc_render$5],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function useLayoutObserver(t){const r=getCurrentInstance();onBeforeMount(()=>{V.value.addObserver(r)}),onMounted(()=>{oe(V.value),ie(V.value)}),onUpdated(()=>{oe(V.value),ie(V.value)}),onUnmounted(()=>{V.value.removeObserver(r)});const V=computed(()=>{const le=t.layout;if(!le)throw new Error("Can not find table layout.");return le}),oe=le=>{var ue;const de=((ue=t.vnode.el)==null?void 0:ue.querySelectorAll("colgroup > col"))||[];if(!de.length)return;const pe=le.getFlattenColumns(),he={};pe.forEach(_e=>{he[_e.id]=_e});for(let _e=0,$e=de.length;_e<$e;_e++){const Ie=de[_e],Ve=Ie.getAttribute("name"),Fe=he[Ve];Fe&&Ie.setAttribute("width",Fe.realWidth||Fe.width)}},ie=le=>{var ue,de;const pe=((ue=t.vnode.el)==null?void 0:ue.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let _e=0,$e=pe.length;_e<$e;_e++)pe[_e].setAttribute("width",le.scrollY.value?le.gutterWidth:"0");const he=((de=t.vnode.el)==null?void 0:de.querySelectorAll("th.gutter"))||[];for(let _e=0,$e=he.length;_e<$e;_e++){const Ie=he[_e];Ie.style.width=le.scrollY.value?`${le.gutterWidth}px`:"0",Ie.style.display=le.scrollY.value?"":"none"}};return{tableLayout:V.value,onColumnsChange:oe,onScrollableChange:ie}}const TABLE_INJECTION_KEY=Symbol("ElTable");function useEvent(t,r){const V=getCurrentInstance(),oe=inject(TABLE_INJECTION_KEY),ie=Ue=>{Ue.stopPropagation()},le=(Ue,qe)=>{!qe.filters&&qe.sortable?Fe(Ue,qe,!1):qe.filterable&&!qe.sortable&&ie(Ue),oe==null||oe.emit("header-click",qe,Ue)},ue=(Ue,qe)=>{oe==null||oe.emit("header-contextmenu",qe,Ue)},de=ref(null),pe=ref(!1),he=ref({}),_e=(Ue,qe)=>{if(isClient$1&&!(qe.children&&qe.children.length>0)&&de.value&&t.border){pe.value=!0;const Et=oe;r("set-drag-visible",!0);const Lt=(Et==null?void 0:Et.vnode.el).getBoundingClientRect().left,hn=V.vnode.el.querySelector(`th.${qe.id}`),_n=hn.getBoundingClientRect(),vn=_n.left-Lt+30;addClass(hn,"noclick"),he.value={startMouseLeft:Ue.clientX,startLeft:_n.right-Lt,startColumnLeft:_n.left-Lt,tableLeft:Lt};const bn=Et==null?void 0:Et.refs.resizeProxy;bn.style.left=`${he.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const Cn=wn=>{const En=wn.clientX-he.value.startMouseLeft,xn=he.value.startLeft+En;bn.style.left=`${Math.max(vn,xn)}px`},Sn=()=>{if(pe.value){const{startColumnLeft:wn,startLeft:En}=he.value,Pn=Number.parseInt(bn.style.left,10)-wn;qe.width=qe.realWidth=Pn,Et==null||Et.emit("header-dragend",qe.width,En-wn,qe,Ue),requestAnimationFrame(()=>{t.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",pe.value=!1,de.value=null,he.value={},r("set-drag-visible",!1)}document.removeEventListener("mousemove",Cn),document.removeEventListener("mouseup",Sn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(hn,"noclick")},0)};document.addEventListener("mousemove",Cn),document.addEventListener("mouseup",Sn)}},$e=(Ue,qe)=>{if(qe.children&&qe.children.length>0)return;const Et=Ue.target;if(!isElement$2(Et))return;const At=Et==null?void 0:Et.closest("th");if(!(!qe||!qe.resizable)&&!pe.value&&t.border){const Lt=At.getBoundingClientRect(),hn=document.body.style;Lt.width>12&&Lt.right-Ue.pageX<8?(hn.cursor="col-resize",hasClass(At,"is-sortable")&&(At.style.cursor="col-resize"),de.value=qe):pe.value||(hn.cursor="",hasClass(At,"is-sortable")&&(At.style.cursor="pointer"),de.value=null)}},Ie=()=>{isClient$1&&(document.body.style.cursor="")},Ve=({order:Ue,sortOrders:qe})=>{if(Ue==="")return qe[0];const Et=qe.indexOf(Ue||null);return qe[Et>qe.length-2?0:Et+1]},Fe=(Ue,qe,Et)=>{var At;Ue.stopPropagation();const Lt=qe.order===Et?null:Et||Ve(qe),hn=(At=Ue.target)==null?void 0:At.closest("th");if(hn&&hasClass(hn,"noclick")){removeClass(hn,"noclick");return}if(!qe.sortable)return;const _n=t.store.states;let vn=_n.sortProp.value,bn;const Cn=_n.sortingColumn.value;(Cn!==qe||Cn===qe&&Cn.order===null)&&(Cn&&(Cn.order=null),_n.sortingColumn.value=qe,vn=qe.property),Lt?bn=qe.order=Lt:bn=qe.order=null,_n.sortProp.value=vn,_n.sortOrder.value=bn,oe==null||oe.store.commit("changeSortCondition")};return{handleHeaderClick:le,handleHeaderContextMenu:ue,handleMouseDown:_e,handleMouseMove:$e,handleMouseOut:Ie,handleSortClick:Fe,handleFilterClick:ie}}function useStyle$2(t){const r=inject(TABLE_INJECTION_KEY),V=useNamespace("table");return{getHeaderRowStyle:de=>{const pe=r==null?void 0:r.props.headerRowStyle;return typeof pe=="function"?pe.call(null,{rowIndex:de}):pe},getHeaderRowClass:de=>{const pe=[],he=r==null?void 0:r.props.headerRowClassName;return typeof he=="string"?pe.push(he):typeof he=="function"&&pe.push(he.call(null,{rowIndex:de})),pe.join(" ")},getHeaderCellStyle:(de,pe,he,_e)=>{var $e;let Ie=($e=r==null?void 0:r.props.headerCellStyle)!=null?$e:{};typeof Ie=="function"&&(Ie=Ie.call(null,{rowIndex:de,columnIndex:pe,row:he,column:_e}));const Ve=getFixedColumnOffset(pe,_e.fixed,t.store,he);return ensurePosition(Ve,"left"),ensurePosition(Ve,"right"),Object.assign({},Ie,Ve)},getHeaderCellClass:(de,pe,he,_e)=>{const $e=getFixedColumnsClass(V.b(),pe,_e.fixed,t.store,he),Ie=[_e.id,_e.order,_e.headerAlign,_e.className,_e.labelClassName,...$e];_e.children||Ie.push("is-leaf"),_e.sortable&&Ie.push("is-sortable");const Ve=r==null?void 0:r.props.headerCellClassName;return typeof Ve=="string"?Ie.push(Ve):typeof Ve=="function"&&Ie.push(Ve.call(null,{rowIndex:de,columnIndex:pe,row:he,column:_e})),Ie.push(V.e("cell")),Ie.filter(Fe=>!!Fe).join(" ")}}}const getAllColumns=t=>{const r=[];return t.forEach(V=>{V.children?(r.push(V),r.push.apply(r,getAllColumns(V.children))):r.push(V)}),r},convertToRows=t=>{let r=1;const V=(le,ue)=>{if(ue&&(le.level=ue.level+1,r<le.level&&(r=le.level)),le.children){let de=0;le.children.forEach(pe=>{V(pe,le),de+=pe.colSpan}),le.colSpan=de}else le.colSpan=1};t.forEach(le=>{le.level=1,V(le,void 0)});const oe=[];for(let le=0;le<r;le++)oe.push([]);return getAllColumns(t).forEach(le=>{le.children?(le.rowSpan=1,le.children.forEach(ue=>ue.isSubColumn=!0)):le.rowSpan=r-le.level+1,oe[le.level-1].push(le)}),oe};function useUtils$1(t){const r=inject(TABLE_INJECTION_KEY),V=computed(()=>convertToRows(t.store.states.originColumns.value));return{isGroup:computed(()=>{const le=V.value.length>1;return le&&r&&(r.state.isGroup.value=!0),le}),toggleAllSelection:le=>{le.stopPropagation(),r==null||r.store.commit("toggleAllSelection")},columnRows:V}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t,{emit:r}){const V=getCurrentInstance(),oe=inject(TABLE_INJECTION_KEY),ie=useNamespace("table"),le=ref({}),{onColumnsChange:ue,onScrollableChange:de}=useLayoutObserver(oe);onMounted(async()=>{await nextTick(),await nextTick();const{prop:vn,order:bn}=t.defaultSort;oe==null||oe.store.commit("sort",{prop:vn,order:bn,init:!0})});const{handleHeaderClick:pe,handleHeaderContextMenu:he,handleMouseDown:_e,handleMouseMove:$e,handleMouseOut:Ie,handleSortClick:Ve,handleFilterClick:Fe}=useEvent(t,r),{getHeaderRowStyle:Ue,getHeaderRowClass:qe,getHeaderCellStyle:Et,getHeaderCellClass:At}=useStyle$2(t),{isGroup:Lt,toggleAllSelection:hn,columnRows:_n}=useUtils$1(t);return V.state={onColumnsChange:ue,onScrollableChange:de},V.filterPanels=le,{ns:ie,filterPanels:le,onColumnsChange:ue,onScrollableChange:de,columnRows:_n,getHeaderRowClass:qe,getHeaderRowStyle:Ue,getHeaderCellClass:At,getHeaderCellStyle:Et,handleHeaderClick:pe,handleHeaderContextMenu:he,handleMouseDown:_e,handleMouseMove:$e,handleMouseOut:Ie,handleSortClick:Ve,handleFilterClick:Fe,isGroup:Lt,toggleAllSelection:hn}},render(){const{ns:t,isGroup:r,columnRows:V,getHeaderCellStyle:oe,getHeaderCellClass:ie,getHeaderRowClass:le,getHeaderRowStyle:ue,handleHeaderClick:de,handleHeaderContextMenu:pe,handleMouseDown:he,handleMouseMove:_e,handleSortClick:$e,handleMouseOut:Ie,store:Ve,$parent:Fe}=this;let Ue=1;return h$2("thead",{class:{[t.is("group")]:r}},V.map((qe,Et)=>h$2("tr",{class:le(Et),key:Et,style:ue(Et)},qe.map((At,Lt)=>(At.rowSpan>Ue&&(Ue=At.rowSpan),h$2("th",{class:ie(Et,Lt,qe,At),colspan:At.colSpan,key:`${At.id}-thead`,rowspan:At.rowSpan,style:oe(Et,Lt,qe,At),onClick:hn=>de(hn,At),onContextmenu:hn=>pe(hn,At),onMousedown:hn=>he(hn,At),onMousemove:hn=>_e(hn,At),onMouseout:Ie},[h$2("div",{class:["cell",At.filteredValue&&At.filteredValue.length>0?"highlight":""]},[At.renderHeader?At.renderHeader({column:At,$index:Lt,store:Ve,_self:Fe}):At.label,At.sortable&&h$2("span",{onClick:hn=>$e(hn,At),class:"caret-wrapper"},[h$2("i",{onClick:hn=>$e(hn,At,"ascending"),class:"sort-caret ascending"}),h$2("i",{onClick:hn=>$e(hn,At,"descending"),class:"sort-caret descending"})]),At.filterable&&h$2(FilterPanel,{store:Ve,placement:At.filterPlacement||"bottom-start",column:At,upDataColumn:(hn,_n)=>{At[hn]=_n}})])]))))))}});function useEvents(t){const r=inject(TABLE_INJECTION_KEY),V=ref(""),oe=ref(h$2("div")),{nextZIndex:ie}=useZIndex(),le=(Fe,Ue,qe)=>{var Et;const At=r,Lt=getCell(Fe);let hn;const _n=(Et=At==null?void 0:At.vnode.el)==null?void 0:Et.dataset.prefix;Lt&&(hn=getColumnByCell({columns:t.store.states.columns.value},Lt,_n),hn&&(At==null||At.emit(`cell-${qe}`,Ue,hn,Lt,Fe))),At==null||At.emit(`row-${qe}`,Ue,hn,Fe)},ue=(Fe,Ue)=>{le(Fe,Ue,"dblclick")},de=(Fe,Ue)=>{t.store.commit("setCurrentRow",Ue),le(Fe,Ue,"click")},pe=(Fe,Ue)=>{le(Fe,Ue,"contextmenu")},he=debounce(Fe=>{t.store.commit("setHoverRow",Fe)},30),_e=debounce(()=>{t.store.commit("setHoverRow",null)},30),$e=Fe=>{const Ue=window.getComputedStyle(Fe,null),qe=Number.parseInt(Ue.paddingLeft,10)||0,Et=Number.parseInt(Ue.paddingRight,10)||0,At=Number.parseInt(Ue.paddingTop,10)||0,Lt=Number.parseInt(Ue.paddingBottom,10)||0;return{left:qe,right:Et,top:At,bottom:Lt}};return{handleDoubleClick:ue,handleClick:de,handleContextMenu:pe,handleMouseEnter:he,handleMouseLeave:_e,handleCellMouseEnter:(Fe,Ue,qe)=>{var Et;const At=r,Lt=getCell(Fe),hn=(Et=At==null?void 0:At.vnode.el)==null?void 0:Et.dataset.prefix;if(Lt){const Mn=getColumnByCell({columns:t.store.states.columns.value},Lt,hn),Ln=At.hoverState={cell:Lt,column:Mn,row:Ue};At==null||At.emit("cell-mouse-enter",Ln.row,Ln.column,Ln.cell,Fe)}if(!qe)return;const _n=Fe.target.querySelector(".cell");if(!(hasClass(_n,`${hn}-tooltip`)&&_n.childNodes.length))return;const vn=document.createRange();vn.setStart(_n,0),vn.setEnd(_n,_n.childNodes.length);let bn=vn.getBoundingClientRect().width,Cn=vn.getBoundingClientRect().height;bn-Math.floor(bn)<.001&&(bn=Math.floor(bn)),Cn-Math.floor(Cn)<.001&&(Cn=Math.floor(Cn));const{top:En,left:xn,right:Pn,bottom:kn}=$e(_n),Nn=xn+Pn,Dn=En+kn;(bn+Nn>_n.offsetWidth||Cn+Dn>_n.offsetHeight||_n.scrollWidth>_n.offsetWidth)&&createTablePopper(r==null?void 0:r.refs.tableWrapper,Lt,Lt.innerText||Lt.textContent,ie,qe)},handleCellMouseLeave:Fe=>{if(!getCell(Fe))return;const qe=r==null?void 0:r.hoverState;r==null||r.emit("cell-mouse-leave",qe==null?void 0:qe.row,qe==null?void 0:qe.column,qe==null?void 0:qe.cell,Fe)},tooltipContent:V,tooltipTrigger:oe}}function useStyles$1(t){const r=inject(TABLE_INJECTION_KEY),V=useNamespace("table");return{getRowStyle:(he,_e)=>{const $e=r==null?void 0:r.props.rowStyle;return typeof $e=="function"?$e.call(null,{row:he,rowIndex:_e}):$e||null},getRowClass:(he,_e)=>{const $e=[V.e("row")];r!=null&&r.props.highlightCurrentRow&&he===t.store.states.currentRow.value&&$e.push("current-row"),t.stripe&&_e%2===1&&$e.push(V.em("row","striped"));const Ie=r==null?void 0:r.props.rowClassName;return typeof Ie=="string"?$e.push(Ie):typeof Ie=="function"&&$e.push(Ie.call(null,{row:he,rowIndex:_e})),$e},getCellStyle:(he,_e,$e,Ie)=>{const Ve=r==null?void 0:r.props.cellStyle;let Fe=Ve??{};typeof Ve=="function"&&(Fe=Ve.call(null,{rowIndex:he,columnIndex:_e,row:$e,column:Ie}));const Ue=getFixedColumnOffset(_e,t==null?void 0:t.fixed,t.store);return ensurePosition(Ue,"left"),ensurePosition(Ue,"right"),Object.assign({},Fe,Ue)},getCellClass:(he,_e,$e,Ie,Ve)=>{const Fe=getFixedColumnsClass(V.b(),_e,t==null?void 0:t.fixed,t.store,void 0,Ve),Ue=[Ie.id,Ie.align,Ie.className,...Fe],qe=r==null?void 0:r.props.cellClassName;return typeof qe=="string"?Ue.push(qe):typeof qe=="function"&&Ue.push(qe.call(null,{rowIndex:he,columnIndex:_e,row:$e,column:Ie})),Ue.push(V.e("cell")),Ue.filter(Et=>!!Et).join(" ")},getSpan:(he,_e,$e,Ie)=>{let Ve=1,Fe=1;const Ue=r==null?void 0:r.props.spanMethod;if(typeof Ue=="function"){const qe=Ue({row:he,column:_e,rowIndex:$e,columnIndex:Ie});Array.isArray(qe)?(Ve=qe[0],Fe=qe[1]):typeof qe=="object"&&(Ve=qe.rowspan,Fe=qe.colspan)}return{rowspan:Ve,colspan:Fe}},getColspanRealWidth:(he,_e,$e)=>{if(_e<1)return he[$e].realWidth;const Ie=he.map(({realWidth:Ve,width:Fe})=>Ve||Fe).slice($e,$e+_e);return Number(Ie.reduce((Ve,Fe)=>Number(Ve)+Number(Fe),-1))}}}function useRender$1(t){const r=inject(TABLE_INJECTION_KEY),V=useNamespace("table"),{handleDoubleClick:oe,handleClick:ie,handleContextMenu:le,handleMouseEnter:ue,handleMouseLeave:de,handleCellMouseEnter:pe,handleCellMouseLeave:he,tooltipContent:_e,tooltipTrigger:$e}=useEvents(t),{getRowStyle:Ie,getRowClass:Ve,getCellStyle:Fe,getCellClass:Ue,getSpan:qe,getColspanRealWidth:Et}=useStyles$1(t),At=computed(()=>t.store.states.columns.value.findIndex(({type:bn})=>bn==="default")),Lt=(bn,Cn)=>{const Sn=r.props.rowKey;return Sn?getRowIdentity(bn,Sn):Cn},hn=(bn,Cn,Sn,wn=!1)=>{const{tooltipEffect:En,tooltipOptions:xn,store:Pn}=t,{indent:kn,columns:Nn}=Pn.states,Dn=Ve(bn,Cn);let Mn=!0;return Sn&&(Dn.push(V.em("row",`level-${Sn.level}`)),Mn=Sn.display),h$2("tr",{style:[Mn?null:{display:"none"},Ie(bn,Cn)],class:Dn,key:Lt(bn,Cn),onDblclick:An=>oe(An,bn),onClick:An=>ie(An,bn),onContextmenu:An=>le(An,bn),onMouseenter:()=>ue(Cn),onMouseleave:de},Nn.value.map((An,Vn)=>{const{rowspan:Wn,colspan:Fn}=qe(bn,An,Cn,Vn);if(!Wn||!Fn)return null;const Yn=Object.assign({},An);Yn.realWidth=Et(Nn.value,Fn,Vn);const tr={store:t.store,_self:t.context||r,column:Yn,row:bn,$index:Cn,cellIndex:Vn,expanded:wn};Vn===At.value&&Sn&&(tr.treeNode={indent:Sn.level*kn.value,level:Sn.level},typeof Sn.expanded=="boolean"&&(tr.treeNode.expanded=Sn.expanded,"loading"in Sn&&(tr.treeNode.loading=Sn.loading),"noLazyChildren"in Sn&&(tr.treeNode.noLazyChildren=Sn.noLazyChildren)));const yr=`${Cn},${Vn}`,Jn=Yn.columnKey||Yn.rawColumnKey||"",Kn=_n(Vn,An,tr),Gn=An.showOverflowTooltip&&merge$4({effect:En},xn,An.showOverflowTooltip);return h$2("td",{style:Fe(Cn,Vn,bn,An),class:Ue(Cn,Vn,bn,An,Fn-1),key:`${Jn}${yr}`,rowspan:Wn,colspan:Fn,onMouseenter:Qn=>pe(Qn,bn,Gn),onMouseleave:he},[Kn])}))},_n=(bn,Cn,Sn)=>Cn.renderCell(Sn);return{wrappedRowRender:(bn,Cn)=>{const Sn=t.store,{isRowExpanded:wn,assertRowKey:En}=Sn,{treeData:xn,lazyTreeNodeMap:Pn,childrenColumnName:kn,rowKey:Nn}=Sn.states,Dn=Sn.states.columns.value;if(Dn.some(({type:Ln})=>Ln==="expand")){const Ln=wn(bn),An=hn(bn,Cn,void 0,Ln),Vn=r.renderExpanded;return Ln?Vn?[[An,h$2("tr",{key:`expanded-row__${An.key}`},[h$2("td",{colspan:Dn.length,class:`${V.e("cell")} ${V.e("expanded-cell")}`},[Vn({row:bn,$index:Cn,store:Sn,expanded:Ln})])])]]:(console.error("[Element Error]renderExpanded is required."),An):[[An]]}else if(Object.keys(xn.value).length){En();const Ln=getRowIdentity(bn,Nn.value);let An=xn.value[Ln],Vn=null;An&&(Vn={expanded:An.expanded,level:An.level,display:!0},typeof An.lazy=="boolean"&&(typeof An.loaded=="boolean"&&An.loaded&&(Vn.noLazyChildren=!(An.children&&An.children.length)),Vn.loading=An.loading));const Wn=[hn(bn,Cn,Vn)];if(An){let Fn=0;const Yn=(yr,Jn)=>{yr&&yr.length&&Jn&&yr.forEach(Kn=>{const Gn={display:Jn.display&&Jn.expanded,level:Jn.level+1,expanded:!1,noLazyChildren:!1,loading:!1},Qn=getRowIdentity(Kn,Nn.value);if(Qn==null)throw new Error("For nested data item, row-key is required.");if(An={...xn.value[Qn]},An&&(Gn.expanded=An.expanded,An.level=An.level||Gn.level,An.display=!!(An.expanded&&Gn.display),typeof An.lazy=="boolean"&&(typeof An.loaded=="boolean"&&An.loaded&&(Gn.noLazyChildren=!(An.children&&An.children.length)),Gn.loading=An.loading)),Fn++,Wn.push(hn(Kn,Cn+Fn,Gn)),An){const ur=Pn.value[Qn]||Kn[kn.value];Yn(ur,An)}})};An.display=!0;const tr=Pn.value[Ln]||bn[kn.value];Yn(tr,An)}return Wn}else return hn(bn,Cn,void 0)},tooltipContent:_e,tooltipTrigger:$e}}const defaultProps$2={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var TableBody=defineComponent({name:"ElTableBody",props:defaultProps$2,setup(t){const r=getCurrentInstance(),V=inject(TABLE_INJECTION_KEY),oe=useNamespace("table"),{wrappedRowRender:ie,tooltipContent:le,tooltipTrigger:ue}=useRender$1(t),{onColumnsChange:de,onScrollableChange:pe}=useLayoutObserver(V);return watch(t.store.states.hoverRow,(he,_e)=>{!t.store.states.isComplex.value||!isClient$1||rAF(()=>{const $e=r==null?void 0:r.vnode.el,Ie=Array.from(($e==null?void 0:$e.children)||[]).filter(Ue=>Ue==null?void 0:Ue.classList.contains(`${oe.e("row")}`)),Ve=Ie[_e],Fe=Ie[he];Ve&&removeClass(Ve,"hover-row"),Fe&&addClass(Fe,"hover-row")})}),onUnmounted(()=>{var he;(he=removePopper)==null||he()}),{ns:oe,onColumnsChange:de,onScrollableChange:pe,wrappedRowRender:ie,tooltipContent:le,tooltipTrigger:ue}},render(){const{wrappedRowRender:t,store:r}=this,V=r.states.data.value||[];return h$2("tbody",{},[V.reduce((oe,ie)=>oe.concat(t(ie,oe.length)),[])])}});function hColgroup(t){const r=t.tableLayout==="auto";let V=t.columns||[];r&&V.every(ie=>ie.width===void 0)&&(V=[]);const oe=ie=>{const le={key:`${t.tableLayout}_${ie.id}`,style:{},name:void 0};return r?le.style={width:`${ie.width}px`}:le.name=ie.id,le};return h$2("colgroup",{},V.map(ie=>h$2("col",oe(ie))))}hColgroup.props=["columns","tableLayout"];function useMapState(){const t=inject(TABLE_INJECTION_KEY),r=t==null?void 0:t.store,V=computed(()=>r.states.fixedLeafColumnsLength.value),oe=computed(()=>r.states.rightFixedColumns.value.length),ie=computed(()=>r.states.columns.value.length),le=computed(()=>r.states.fixedColumns.value.length),ue=computed(()=>r.states.rightFixedColumns.value.length);return{leftFixedLeafCount:V,rightFixedLeafCount:oe,columnsCount:ie,leftFixedCount:le,rightFixedCount:ue,columns:r.states.columns}}function useStyle$1(t){const{columns:r}=useMapState(),V=useNamespace("table");return{getCellClasses:(le,ue)=>{const de=le[ue],pe=[V.e("cell"),de.id,de.align,de.labelClassName,...getFixedColumnsClass(V.b(),ue,de.fixed,t.store)];return de.className&&pe.push(de.className),de.children||pe.push(V.is("leaf")),pe},getCellStyles:(le,ue)=>{const de=getFixedColumnOffset(ue,le.fixed,t.store);return ensurePosition(de,"left"),ensurePosition(de,"right"),de},columns:r}}var TableFooter=defineComponent({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t){const{getCellClasses:r,getCellStyles:V,columns:oe}=useStyle$1(t);return{ns:useNamespace("table"),getCellClasses:r,getCellStyles:V,columns:oe}},render(){const{columns:t,getCellStyles:r,getCellClasses:V,summaryMethod:oe,sumText:ie,ns:le}=this,ue=this.store.states.data.value;let de=[];return oe?de=oe({columns:t,data:ue}):t.forEach((pe,he)=>{if(he===0){de[he]=ie;return}const _e=ue.map(Fe=>Number(Fe[pe.property])),$e=[];let Ie=!0;_e.forEach(Fe=>{if(!Number.isNaN(+Fe)){Ie=!1;const Ue=`${Fe}`.split(".")[1];$e.push(Ue?Ue.length:0)}});const Ve=Math.max.apply(null,$e);Ie?de[he]="":de[he]=_e.reduce((Fe,Ue)=>{const qe=Number(Ue);return Number.isNaN(+qe)?Fe:Number.parseFloat((Fe+Ue).toFixed(Math.min(Ve,20)))},0)}),h$2("table",{class:le.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[hColgroup({columns:t}),h$2("tbody",[h$2("tr",{},[...t.map((pe,he)=>h$2("td",{key:he,colspan:pe.colSpan,rowspan:pe.rowSpan,class:V(t,he),style:r(pe,he)},[h$2("div",{class:["cell",pe.labelClassName]},[de[he]])]))])])])}});function useUtils(t){return{setCurrentRow:_e=>{t.commit("setCurrentRow",_e)},getSelectionRows:()=>t.getSelectionRows(),toggleRowSelection:(_e,$e)=>{t.toggleRowSelection(_e,$e,!1),t.updateAllSelected()},clearSelection:()=>{t.clearSelection()},clearFilter:_e=>{t.clearFilter(_e)},toggleAllSelection:()=>{t.commit("toggleAllSelection")},toggleRowExpansion:(_e,$e)=>{t.toggleRowExpansionAdapter(_e,$e)},clearSort:()=>{t.clearSort()},sort:(_e,$e)=>{t.commit("sort",{prop:_e,order:$e})}}}function useStyle(t,r,V,oe){const ie=ref(!1),le=ref(null),ue=ref(!1),de=An=>{ue.value=An},pe=ref({width:null,height:null,headerHeight:null}),he=ref(!1),_e={display:"inline-block",verticalAlign:"middle"},$e=ref(),Ie=ref(0),Ve=ref(0),Fe=ref(0),Ue=ref(0),qe=ref(0);watchEffect(()=>{r.setHeight(t.height)}),watchEffect(()=>{r.setMaxHeight(t.maxHeight)}),watch(()=>[t.currentRowKey,V.states.rowKey],([An,Vn])=>{!unref(Vn)||!unref(An)||V.setCurrentRowKey(`${An}`)},{immediate:!0}),watch(()=>t.data,An=>{oe.store.commit("setData",An)},{immediate:!0,deep:!0}),watchEffect(()=>{t.expandRowKeys&&V.setExpandRowKeysAdapter(t.expandRowKeys)});const Et=()=>{oe.store.commit("setHoverRow",null),oe.hoverState&&(oe.hoverState=null)},At=(An,Vn)=>{const{pixelX:Wn,pixelY:Fn}=Vn;Math.abs(Wn)>=Math.abs(Fn)&&(oe.refs.bodyWrapper.scrollLeft+=Vn.pixelX/5)},Lt=computed(()=>t.height||t.maxHeight||V.states.fixedColumns.value.length>0||V.states.rightFixedColumns.value.length>0),hn=computed(()=>({width:r.bodyWidth.value?`${r.bodyWidth.value}px`:""})),_n=()=>{Lt.value&&r.updateElsHeight(),r.updateColumnsWidth(),requestAnimationFrame(Sn)};onMounted(async()=>{await nextTick(),V.updateColumns(),wn(),requestAnimationFrame(_n);const An=oe.vnode.el,Vn=oe.refs.headerWrapper;t.flexible&&An&&An.parentElement&&(An.parentElement.style.minWidth="0"),pe.value={width:$e.value=An.offsetWidth,height:An.offsetHeight,headerHeight:t.showHeader&&Vn?Vn.offsetHeight:null},V.states.columns.value.forEach(Wn=>{Wn.filteredValue&&Wn.filteredValue.length&&oe.store.commit("filterChange",{column:Wn,values:Wn.filteredValue,silent:!0})}),oe.$ready=!0});const vn=(An,Vn)=>{if(!An)return;const Wn=Array.from(An.classList).filter(Fn=>!Fn.startsWith("is-scrolling-"));Wn.push(r.scrollX.value?Vn:"is-scrolling-none"),An.className=Wn.join(" ")},bn=An=>{const{tableWrapper:Vn}=oe.refs;vn(Vn,An)},Cn=An=>{const{tableWrapper:Vn}=oe.refs;return!!(Vn&&Vn.classList.contains(An))},Sn=function(){if(!oe.refs.scrollBarRef)return;if(!r.scrollX.value){const Jn="is-scrolling-none";Cn(Jn)||bn(Jn);return}const An=oe.refs.scrollBarRef.wrapRef;if(!An)return;const{scrollLeft:Vn,offsetWidth:Wn,scrollWidth:Fn}=An,{headerWrapper:Yn,footerWrapper:tr}=oe.refs;Yn&&(Yn.scrollLeft=Vn),tr&&(tr.scrollLeft=Vn);const yr=Fn-Wn-1;Vn>=yr?bn("is-scrolling-right"):bn(Vn===0?"is-scrolling-left":"is-scrolling-middle")},wn=()=>{oe.refs.scrollBarRef&&(oe.refs.scrollBarRef.wrapRef&&useEventListener$1(oe.refs.scrollBarRef.wrapRef,"scroll",Sn,{passive:!0}),t.fit?useResizeObserver$1(oe.vnode.el,En):useEventListener$1(window,"resize",En),useResizeObserver$1(oe.refs.bodyWrapper,()=>{var An,Vn;En(),(Vn=(An=oe.refs)==null?void 0:An.scrollBarRef)==null||Vn.update()}))},En=()=>{var An,Vn,Wn,Fn;const Yn=oe.vnode.el;if(!oe.$ready||!Yn)return;let tr=!1;const{width:yr,height:Jn,headerHeight:Kn}=pe.value,Gn=$e.value=Yn.offsetWidth;yr!==Gn&&(tr=!0);const Qn=Yn.offsetHeight;(t.height||Lt.value)&&Jn!==Qn&&(tr=!0);const ur=t.tableLayout==="fixed"?oe.refs.headerWrapper:(An=oe.refs.tableHeaderRef)==null?void 0:An.$el;t.showHeader&&(ur==null?void 0:ur.offsetHeight)!==Kn&&(tr=!0),Ie.value=((Vn=oe.refs.tableWrapper)==null?void 0:Vn.scrollHeight)||0,Fe.value=(ur==null?void 0:ur.scrollHeight)||0,Ue.value=((Wn=oe.refs.footerWrapper)==null?void 0:Wn.offsetHeight)||0,qe.value=((Fn=oe.refs.appendWrapper)==null?void 0:Fn.offsetHeight)||0,Ve.value=Ie.value-Fe.value-Ue.value-qe.value,tr&&(pe.value={width:Gn,height:Qn,headerHeight:t.showHeader&&(ur==null?void 0:ur.offsetHeight)||0},_n())},xn=useFormSize(),Pn=computed(()=>{const{bodyWidth:An,scrollY:Vn,gutterWidth:Wn}=r;return An.value?`${An.value-(Vn.value?Wn:0)}px`:""}),kn=computed(()=>t.maxHeight?"fixed":t.tableLayout),Nn=computed(()=>{if(t.data&&t.data.length)return null;let An="100%";t.height&&Ve.value&&(An=`${Ve.value}px`);const Vn=$e.value;return{width:Vn?`${Vn}px`:"",height:An}}),Dn=computed(()=>t.height?{height:Number.isNaN(Number(t.height))?t.height:`${t.height}px`}:t.maxHeight?{maxHeight:Number.isNaN(Number(t.maxHeight))?t.maxHeight:`${t.maxHeight}px`}:{}),Mn=computed(()=>t.height?{height:"100%"}:t.maxHeight?Number.isNaN(Number(t.maxHeight))?{maxHeight:`calc(${t.maxHeight} - ${Fe.value+Ue.value}px)`}:{maxHeight:`${t.maxHeight-Fe.value-Ue.value}px`}:{});return{isHidden:ie,renderExpanded:le,setDragVisible:de,isGroup:he,handleMouseLeave:Et,handleHeaderFooterMousewheel:At,tableSize:xn,emptyBlockStyle:Nn,handleFixedMousewheel:(An,Vn)=>{const Wn=oe.refs.bodyWrapper;if(Math.abs(Vn.spinY)>0){const Fn=Wn.scrollTop;Vn.pixelY<0&&Fn!==0&&An.preventDefault(),Vn.pixelY>0&&Wn.scrollHeight-Wn.clientHeight>Fn&&An.preventDefault(),Wn.scrollTop+=Math.ceil(Vn.pixelY/5)}else Wn.scrollLeft+=Math.ceil(Vn.pixelX/5)},resizeProxyVisible:ue,bodyWidth:Pn,resizeState:pe,doLayout:_n,tableBodyStyles:hn,tableLayout:kn,scrollbarViewStyle:_e,tableInnerStyle:Dn,scrollbarStyle:Mn}}function useKeyRender(t){const r=ref(),V=()=>{const ie=t.vnode.el.querySelector(".hidden-columns"),le={childList:!0,subtree:!0},ue=t.store.states.updateOrderFns;r.value=new MutationObserver(()=>{ue.forEach(de=>de())}),r.value.observe(ie,le)};onMounted(()=>{V()}),onUnmounted(()=>{var oe;(oe=r.value)==null||oe.disconnect()})}var defaultProps$1={data:{type:Array,default:()=>[]},size:useSizeProp,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean,showOverflowTooltip:[Boolean,Object]};const useScrollbar$1=()=>{const t=ref(),r=(le,ue)=>{const de=t.value;de&&de.scrollTo(le,ue)},V=(le,ue)=>{const de=t.value;de&&isNumber$4(ue)&&["Top","Left"].includes(le)&&de[`setScroll${le}`](ue)};return{scrollBarRef:t,scrollTo:r,setScrollTop:le=>V("Top",le),setScrollLeft:le=>V("Left",le)}};let tableIdSeed=1;const _sfc_main$s=defineComponent({name:"ElTable",directives:{Mousewheel},components:{TableHeader,TableBody,TableFooter,ElScrollbar,hColgroup},props:defaultProps$1,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(t){const{t:r}=useLocale(),V=useNamespace("table"),oe=getCurrentInstance();provide(TABLE_INJECTION_KEY,oe);const ie=createStore(oe,t);oe.store=ie;const le=new TableLayout({store:oe.store,table:oe,fit:t.fit,showHeader:t.showHeader});oe.layout=le;const ue=computed(()=>(ie.states.data.value||[]).length===0),{setCurrentRow:de,getSelectionRows:pe,toggleRowSelection:he,clearSelection:_e,clearFilter:$e,toggleAllSelection:Ie,toggleRowExpansion:Ve,clearSort:Fe,sort:Ue}=useUtils(ie),{isHidden:qe,renderExpanded:Et,setDragVisible:At,isGroup:Lt,handleMouseLeave:hn,handleHeaderFooterMousewheel:_n,tableSize:vn,emptyBlockStyle:bn,handleFixedMousewheel:Cn,resizeProxyVisible:Sn,bodyWidth:wn,resizeState:En,doLayout:xn,tableBodyStyles:Pn,tableLayout:kn,scrollbarViewStyle:Nn,tableInnerStyle:Dn,scrollbarStyle:Mn}=useStyle(t,le,ie,oe),{scrollBarRef:Ln,scrollTo:An,setScrollLeft:Vn,setScrollTop:Wn}=useScrollbar$1(),Fn=debounce(xn,50),Yn=`${V.namespace.value}-table_${tableIdSeed++}`;oe.tableId=Yn,oe.state={isGroup:Lt,resizeState:En,doLayout:xn,debouncedUpdateLayout:Fn};const tr=computed(()=>t.sumText||r("el.table.sumText")),yr=computed(()=>t.emptyText||r("el.table.emptyText"));return useKeyRender(oe),{ns:V,layout:le,store:ie,handleHeaderFooterMousewheel:_n,handleMouseLeave:hn,tableId:Yn,tableSize:vn,isHidden:qe,isEmpty:ue,renderExpanded:Et,resizeProxyVisible:Sn,resizeState:En,isGroup:Lt,bodyWidth:wn,tableBodyStyles:Pn,emptyBlockStyle:bn,debouncedUpdateLayout:Fn,handleFixedMousewheel:Cn,setCurrentRow:de,getSelectionRows:pe,toggleRowSelection:he,clearSelection:_e,clearFilter:$e,toggleAllSelection:Ie,toggleRowExpansion:Ve,clearSort:Fe,doLayout:xn,sort:Ue,t:r,setDragVisible:At,context:oe,computedSumText:tr,computedEmptyText:yr,tableLayout:kn,scrollbarViewStyle:Nn,tableInnerStyle:Dn,scrollbarStyle:Mn,scrollBarRef:Ln,scrollTo:An,setScrollLeft:Vn,setScrollTop:Wn}}}),_hoisted_1$d=["data-prefix"],_hoisted_2$9={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$4(t,r,V,oe,ie,le){const ue=resolveComponent("hColgroup"),de=resolveComponent("table-header"),pe=resolveComponent("table-body"),he=resolveComponent("el-scrollbar"),_e=resolveComponent("table-footer"),$e=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[t.ns.m("fit")]:t.fit,[t.ns.m("striped")]:t.stripe,[t.ns.m("border")]:t.border||t.isGroup,[t.ns.m("hidden")]:t.isHidden,[t.ns.m("group")]:t.isGroup,[t.ns.m("fluid-height")]:t.maxHeight,[t.ns.m("scrollable-x")]:t.layout.scrollX.value,[t.ns.m("scrollable-y")]:t.layout.scrollY.value,[t.ns.m("enable-row-hover")]:!t.store.states.isComplex.value,[t.ns.m("enable-row-transition")]:(t.store.states.data.value||[]).length!==0&&(t.store.states.data.value||[]).length<100,"has-footer":t.showSummary},t.ns.m(t.tableSize),t.className,t.ns.b(),t.ns.m(`layout-${t.tableLayout}`)]),style:normalizeStyle$1(t.style),"data-prefix":t.ns.namespace.value,onMouseleave:r[0]||(r[0]=(...Ie)=>t.handleMouseLeave&&t.handleMouseLeave(...Ie))},[createBaseVNode("div",{class:normalizeClass(t.ns.e("inner-wrapper")),style:normalizeStyle$1(t.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$9,[renderSlot(t.$slots,"default")],512),t.showHeader&&t.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(t.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(t.ns.e("header")),style:normalizeStyle$1(t.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode(ue,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),createVNode(de,{ref:"tableHeaderRef",border:t.border,"default-sort":t.defaultSort,store:t.store,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[$e,t.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(t.ns.e("body-wrapper"))},[createVNode(he,{ref:"scrollBarRef","view-style":t.scrollbarViewStyle,"wrap-style":t.scrollbarStyle,always:t.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(t.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:t.bodyWidth,tableLayout:t.tableLayout})},[createVNode(ue,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),t.showHeader&&t.tableLayout==="auto"?(openBlock(),createBlock(de,{key:0,ref:"tableHeaderRef",border:t.border,"default-sort":t.defaultSort,store:t.store,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode(pe,{context:t.context,highlight:t.highlightCurrentRow,"row-class-name":t.rowClassName,"tooltip-effect":t.tooltipEffect,"tooltip-options":t.tooltipOptions,"row-style":t.rowStyle,store:t.store,stripe:t.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"])],6),t.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(t.emptyBlockStyle),class:normalizeClass(t.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(t.ns.e("empty-text"))},[renderSlot(t.$slots,"empty",{},()=>[createTextVNode(toDisplayString$1(t.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),t.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(t.ns.e("append-wrapper"))},[renderSlot(t.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),t.showSummary?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(t.ns.e("footer-wrapper"))},[createVNode(_e,{border:t.border,"default-sort":t.defaultSort,store:t.store,style:normalizeStyle$1(t.tableBodyStyles),"sum-text":t.computedSumText,"summary-method":t.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[vShow,!t.isEmpty],[$e,t.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),t.border||t.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(t.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(t.ns.e("column-resize-proxy"))},null,2),[[vShow,t.resizeProxyVisible]])],46,_hoisted_1$d)}var Table=_export_sfc$1(_sfc_main$s,[["render",_sfc_render$4],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const defaultClassNames={selection:"table-column--selection",expand:"table__expand-column"},cellStarts={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},getDefaultClassName=t=>defaultClassNames[t]||"",cellForced={selection:{renderHeader({store:t,column:r}){function V(){return t.states.data.value&&t.states.data.value.length===0}return h$2(ElCheckbox,{disabled:V(),size:t.states.tableSize.value,indeterminate:t.states.selection.value.length>0&&!t.states.isAllSelected.value,"onUpdate:modelValue":t.toggleAllSelection,modelValue:t.states.isAllSelected.value,ariaLabel:r.label})},renderCell({row:t,column:r,store:V,$index:oe}){return h$2(ElCheckbox,{disabled:r.selectable?!r.selectable.call(null,t,oe):!1,size:V.states.tableSize.value,onChange:()=>{V.commit("rowSelectedChanged",t)},onClick:ie=>ie.stopPropagation(),modelValue:V.isSelected(t),ariaLabel:r.label})},sortable:!1,resizable:!1},index:{renderHeader({column:t}){return t.label||"#"},renderCell({column:t,$index:r}){let V=r+1;const oe=t.index;return typeof oe=="number"?V=r+oe:typeof oe=="function"&&(V=oe(r)),h$2("div",{},[V])},sortable:!1},expand:{renderHeader({column:t}){return t.label||""},renderCell({row:t,store:r,expanded:V}){const{ns:oe}=r,ie=[oe.e("expand-icon")];return V&&ie.push(oe.em("expand-icon","expanded")),h$2("div",{class:ie,onClick:function(ue){ue.stopPropagation(),r.toggleRowExpansion(t)}},{default:()=>[h$2(ElIcon,null,{default:()=>[h$2(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:t,column:r,$index:V}){var oe;const ie=r.property,le=ie&&getProp(t,ie).value;return r&&r.formatter?r.formatter(t,r,le,V):((oe=le==null?void 0:le.toString)==null?void 0:oe.call(le))||""}function treeCellPrefix({row:t,treeNode:r,store:V},oe=!1){const{ns:ie}=V;if(!r)return oe?[h$2("span",{class:ie.e("placeholder")})]:null;const le=[],ue=function(de){de.stopPropagation(),!r.loading&&V.loadOrToggle(t)};if(r.indent&&le.push(h$2("span",{class:ie.e("indent"),style:{"padding-left":`${r.indent}px`}})),typeof r.expanded=="boolean"&&!r.noLazyChildren){const de=[ie.e("expand-icon"),r.expanded?ie.em("expand-icon","expanded"):""];let pe=arrow_right_default;r.loading&&(pe=loading_default),le.push(h$2("div",{class:de,onClick:ue},{default:()=>[h$2(ElIcon,{class:{[ie.is("loading")]:r.loading}},{default:()=>[h$2(pe)]})]}))}else le.push(h$2("span",{class:ie.e("placeholder")}));return le}function getAllAliases(t,r){return t.reduce((V,oe)=>(V[oe]=oe,V),r)}function useWatcher(t,r){const V=getCurrentInstance();return{registerComplexWatchers:()=>{const le=["fixed"],ue={realWidth:"width",realMinWidth:"minWidth"},de=getAllAliases(le,ue);Object.keys(de).forEach(pe=>{const he=ue[pe];hasOwn$4(r,he)&&watch(()=>r[he],_e=>{let $e=_e;he==="width"&&pe==="realWidth"&&($e=parseWidth(_e)),he==="minWidth"&&pe==="realMinWidth"&&($e=parseMinWidth(_e)),V.columnConfig.value[he]=$e,V.columnConfig.value[pe]=$e;const Ie=he==="fixed";t.value.store.scheduleLayout(Ie)})})},registerNormalWatchers:()=>{const le=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],ue={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},de=getAllAliases(le,ue);Object.keys(de).forEach(pe=>{const he=ue[pe];hasOwn$4(r,he)&&watch(()=>r[he],_e=>{V.columnConfig.value[pe]=_e})})}}}function useRender(t,r,V){const oe=getCurrentInstance(),ie=ref(""),le=ref(!1),ue=ref(),de=ref(),pe=useNamespace("table");watchEffect(()=>{ue.value=t.align?`is-${t.align}`:null,ue.value}),watchEffect(()=>{de.value=t.headerAlign?`is-${t.headerAlign}`:ue.value,de.value});const he=computed(()=>{let hn=oe.vnode.vParent||oe.parent;for(;hn&&!hn.tableId&&!hn.columnId;)hn=hn.vnode.vParent||hn.parent;return hn}),_e=computed(()=>{const{store:hn}=oe.parent;if(!hn)return!1;const{treeData:_n}=hn.states,vn=_n.value;return vn&&Object.keys(vn).length>0}),$e=ref(parseWidth(t.width)),Ie=ref(parseMinWidth(t.minWidth)),Ve=hn=>($e.value&&(hn.width=$e.value),Ie.value&&(hn.minWidth=Ie.value),!$e.value&&Ie.value&&(hn.width=void 0),hn.minWidth||(hn.minWidth=80),hn.realWidth=Number(hn.width===void 0?hn.minWidth:hn.width),hn),Fe=hn=>{const _n=hn.type,vn=cellForced[_n]||{};Object.keys(vn).forEach(Cn=>{const Sn=vn[Cn];Cn!=="className"&&Sn!==void 0&&(hn[Cn]=Sn)});const bn=getDefaultClassName(_n);if(bn){const Cn=`${unref(pe.namespace)}-${bn}`;hn.className=hn.className?`${hn.className} ${Cn}`:Cn}return hn},Ue=hn=>{Array.isArray(hn)?hn.forEach(vn=>_n(vn)):_n(hn);function _n(vn){var bn;((bn=vn==null?void 0:vn.type)==null?void 0:bn.name)==="ElTableColumn"&&(vn.vParent=oe)}};return{columnId:ie,realAlign:ue,isSubColumn:le,realHeaderAlign:de,columnOrTableParent:he,setColumnWidth:Ve,setColumnForcedProps:Fe,setColumnRenders:hn=>{t.renderHeader||hn.type!=="selection"&&(hn.renderHeader=vn=>{oe.columnConfig.value.label;const bn=r.header;return bn?bn(vn):hn.label});let _n=hn.renderCell;return hn.type==="expand"?(hn.renderCell=vn=>h$2("div",{class:"cell"},[_n(vn)]),V.value.renderExpanded=vn=>r.default?r.default(vn):r.default):(_n=_n||defaultRenderCell,hn.renderCell=vn=>{let bn=null;if(r.default){const Pn=r.default(vn);bn=Pn.some(kn=>kn.type!==Comment)?Pn:_n(vn)}else bn=_n(vn);const{columns:Cn}=V.value.store.states,Sn=Cn.value.findIndex(Pn=>Pn.type==="default"),wn=_e.value&&vn.cellIndex===Sn,En=treeCellPrefix(vn,wn),xn={class:"cell",style:{}};return hn.showOverflowTooltip&&(xn.class=`${xn.class} ${unref(pe.namespace)}-tooltip`,xn.style={width:`${(vn.column.realWidth||Number(vn.column.width))-1}px`}),Ue(bn),h$2("div",xn,[En,bn])}),hn},getPropsData:(...hn)=>hn.reduce((_n,vn)=>(Array.isArray(vn)&&vn.forEach(bn=>{_n[bn]=t[bn]}),_n),{}),getColumnElIndex:(hn,_n)=>Array.prototype.indexOf.call(hn,_n),updateColumnOrder:()=>{V.value.store.commit("updateColumnOrder",oe.columnConfig.value)}}}var defaultProps={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:t=>t.every(r=>["ascending","descending",null].includes(r))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup(t,{slots:r}){const V=getCurrentInstance(),oe=ref({}),ie=computed(()=>{let Lt=V.parent;for(;Lt&&!Lt.tableId;)Lt=Lt.parent;return Lt}),{registerNormalWatchers:le,registerComplexWatchers:ue}=useWatcher(ie,t),{columnId:de,isSubColumn:pe,realHeaderAlign:he,columnOrTableParent:_e,setColumnWidth:$e,setColumnForcedProps:Ie,setColumnRenders:Ve,getPropsData:Fe,getColumnElIndex:Ue,realAlign:qe,updateColumnOrder:Et}=useRender(t,r,ie),At=_e.value;de.value=`${At.tableId||At.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{pe.value=ie.value!==At;const Lt=t.type||"default",hn=t.sortable===""?!0:t.sortable,_n=isUndefined$1(t.showOverflowTooltip)?At.props.showOverflowTooltip:t.showOverflowTooltip,vn={...cellStarts[Lt],id:de.value,type:Lt,property:t.prop||t.property,align:qe,headerAlign:he,showOverflowTooltip:_n,filterable:t.filters||t.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:hn,index:t.index,rawColumnKey:V.vnode.key};let En=Fe(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);En=mergeOptions$1(vn,En),En=compose(Ve,$e,Ie)(En),oe.value=En,le(),ue()}),onMounted(()=>{var Lt;const hn=_e.value,_n=pe.value?hn.vnode.el.children:(Lt=hn.refs.hiddenColumns)==null?void 0:Lt.children,vn=()=>Ue(_n||[],V.vnode.el);oe.value.getColumnIndex=vn,vn()>-1&&ie.value.store.commit("insertColumn",oe.value,pe.value?hn.columnConfig.value:null,Et)}),onBeforeUnmount(()=>{ie.value.store.commit("removeColumn",oe.value,pe.value?At.columnConfig.value:null,Et)}),V.columnId=de.value,V.columnConfig=oe},render(){var t,r,V;try{const oe=(r=(t=this.$slots).default)==null?void 0:r.call(t,{row:{},column:{},$index:-1}),ie=[];if(Array.isArray(oe))for(const ue of oe)((V=ue.type)==null?void 0:V.name)==="ElTableColumn"||ue.shapeFlag&2?ie.push(ue):ue.type===Fragment&&Array.isArray(ue.children)&&ue.children.forEach(de=>{(de==null?void 0:de.patchFlag)!==1024&&!isString$6(de==null?void 0:de.children)&&ie.push(de)});return h$2("div",ie)}catch{return h$2("div",[])}}});const ElTable=withInstall(Table,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(t=>(t.ASC="asc",t.DESC="desc",t))(SortOrder||{}),Alignment=(t=>(t.CENTER="center",t.RIGHT="right",t))(Alignment||{}),FixedDir=(t=>(t.LEFT="left",t.RIGHT="right",t))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(t,r,V)=>{var oe;const ie={flexGrow:0,flexShrink:0,...V?{}:{flexGrow:t.flexGrow||0,flexShrink:t.flexShrink||1}};V||(ie.flexShrink=1);const le={...(oe=t.style)!=null?oe:{},...ie,flexBasis:"auto",width:t.width};return r||(t.maxWidth&&(le.maxWidth=t.maxWidth),t.minWidth&&(le.minWidth=t.minWidth)),le};function useColumns(t,r,V){const oe=computed(()=>unref(r).filter(Ue=>!Ue.hidden)),ie=computed(()=>unref(oe).filter(Ue=>Ue.fixed==="left"||Ue.fixed===!0)),le=computed(()=>unref(oe).filter(Ue=>Ue.fixed==="right")),ue=computed(()=>unref(oe).filter(Ue=>!Ue.fixed)),de=computed(()=>{const Ue=[];return unref(ie).forEach(qe=>{Ue.push({...qe,placeholderSign})}),unref(ue).forEach(qe=>{Ue.push(qe)}),unref(le).forEach(qe=>{Ue.push({...qe,placeholderSign})}),Ue}),pe=computed(()=>unref(ie).length||unref(le).length),he=computed(()=>unref(r).reduce((qe,Et)=>(qe[Et.key]=calcColumnStyle(Et,unref(V),t.fixed),qe),{})),_e=computed(()=>unref(oe).reduce((Ue,qe)=>Ue+qe.width,0)),$e=Ue=>unref(r).find(qe=>qe.key===Ue),Ie=Ue=>unref(he)[Ue],Ve=(Ue,qe)=>{Ue.width=qe};function Fe(Ue){var qe;const{key:Et}=Ue.currentTarget.dataset;if(!Et)return;const{sortState:At,sortBy:Lt}=t;let hn=SortOrder.ASC;isObject$9(At)?hn=oppositeOrderMap[At[Et]]:hn=oppositeOrderMap[Lt.order],(qe=t.onColumnSort)==null||qe.call(t,{column:$e(Et),key:Et,order:hn})}return{columns:r,columnsStyles:he,columnsTotalWidth:_e,fixedColumnsOnLeft:ie,fixedColumnsOnRight:le,hasFixedColumns:pe,mainColumns:de,normalColumns:ue,visibleColumns:oe,getColumn:$e,getColumnStyle:Ie,updateColumnWidth:Ve,onColumnSorted:Fe}}const useScrollbar=(t,{mainTableRef:r,leftTableRef:V,rightTableRef:oe,onMaybeEndReached:ie})=>{const le=ref({scrollLeft:0,scrollTop:0});function ue(Ve){var Fe,Ue,qe;const{scrollTop:Et}=Ve;(Fe=r.value)==null||Fe.scrollTo(Ve),(Ue=V.value)==null||Ue.scrollToTop(Et),(qe=oe.value)==null||qe.scrollToTop(Et)}function de(Ve){le.value=Ve,ue(Ve)}function pe(Ve){le.value.scrollTop=Ve,ue(unref(le))}function he(Ve){var Fe,Ue;le.value.scrollLeft=Ve,(Ue=(Fe=r.value)==null?void 0:Fe.scrollTo)==null||Ue.call(Fe,unref(le))}function _e(Ve){var Fe;de(Ve),(Fe=t.onScroll)==null||Fe.call(t,Ve)}function $e({scrollTop:Ve}){const{scrollTop:Fe}=unref(le);Ve!==Fe&&pe(Ve)}function Ie(Ve,Fe="auto"){var Ue;(Ue=r.value)==null||Ue.scrollToRow(Ve,Fe)}return watch(()=>unref(le).scrollTop,(Ve,Fe)=>{Ve>Fe&&ie()}),{scrollPos:le,scrollTo:de,scrollToLeft:he,scrollToTop:pe,scrollToRow:Ie,onScroll:_e,onVerticalScroll:$e}},useRow=(t,{mainTableRef:r,leftTableRef:V,rightTableRef:oe})=>{const ie=getCurrentInstance(),{emit:le}=ie,ue=shallowRef(!1),de=shallowRef(null),pe=ref(t.defaultExpandedRowKeys||[]),he=ref(-1),_e=shallowRef(null),$e=ref({}),Ie=ref({}),Ve=shallowRef({}),Fe=shallowRef({}),Ue=shallowRef({}),qe=computed(()=>isNumber$4(t.estimatedRowHeight));function Et(Cn){var Sn;(Sn=t.onRowsRendered)==null||Sn.call(t,Cn),Cn.rowCacheEnd>unref(he)&&(he.value=Cn.rowCacheEnd)}function At({hovered:Cn,rowKey:Sn}){de.value=Cn?Sn:null}function Lt({expanded:Cn,rowData:Sn,rowIndex:wn,rowKey:En}){var xn,Pn;const kn=[...unref(pe)],Nn=kn.indexOf(En);Cn?Nn===-1&&kn.push(En):Nn>-1&&kn.splice(Nn,1),pe.value=kn,le("update:expandedRowKeys",kn),(xn=t.onRowExpand)==null||xn.call(t,{expanded:Cn,rowData:Sn,rowIndex:wn,rowKey:En}),(Pn=t.onExpandedRowsChange)==null||Pn.call(t,kn)}const hn=debounce(()=>{var Cn,Sn,wn,En;ue.value=!0,$e.value={...unref($e),...unref(Ie)},_n(unref(_e),!1),Ie.value={},_e.value=null,(Cn=r.value)==null||Cn.forceUpdate(),(Sn=V.value)==null||Sn.forceUpdate(),(wn=oe.value)==null||wn.forceUpdate(),(En=ie.proxy)==null||En.$forceUpdate(),ue.value=!1},0);function _n(Cn,Sn=!1){unref(qe)&&[r,V,oe].forEach(wn=>{const En=unref(wn);En&&En.resetAfterRowIndex(Cn,Sn)})}function vn(Cn,Sn,wn){const En=unref(_e);(En===null||En>wn)&&(_e.value=wn),Ie.value[Cn]=Sn}function bn({rowKey:Cn,height:Sn,rowIndex:wn},En){En?En===FixedDir.RIGHT?Ue.value[Cn]=Sn:Ve.value[Cn]=Sn:Fe.value[Cn]=Sn;const xn=Math.max(...[Ve,Ue,Fe].map(Pn=>Pn.value[Cn]||0));unref($e)[Cn]!==xn&&(vn(Cn,xn,wn),hn())}return{hoveringRowKey:de,expandedRowKeys:pe,lastRenderedRowIndex:he,isDynamic:qe,isResetting:ue,rowHeights:$e,resetAfterIndex:_n,onRowExpanded:Lt,onRowHovered:At,onRowsRendered:Et,onRowHeightChange:bn}},useData=(t,{expandedRowKeys:r,lastRenderedRowIndex:V,resetAfterIndex:oe})=>{const ie=ref({}),le=computed(()=>{const de={},{data:pe,rowKey:he}=t,_e=unref(r);if(!_e||!_e.length)return pe;const $e=[],Ie=new Set;_e.forEach(Fe=>Ie.add(Fe));let Ve=pe.slice();for(Ve.forEach(Fe=>de[Fe[he]]=0);Ve.length>0;){const Fe=Ve.shift();$e.push(Fe),Ie.has(Fe[he])&&Array.isArray(Fe.children)&&Fe.children.length>0&&(Ve=[...Fe.children,...Ve],Fe.children.forEach(Ue=>de[Ue[he]]=de[Fe[he]]+1))}return ie.value=de,$e}),ue=computed(()=>{const{data:de,expandColumnKey:pe}=t;return pe?unref(le):de});return watch(ue,(de,pe)=>{de!==pe&&(V.value=-1,oe(0,!0))}),{data:ue,depthMap:ie}},sumReducer=(t,r)=>t+r,sum=t=>isArray$c(t)?t.reduce(sumReducer,0):t,tryCall=(t,r,V={})=>isFunction$5(t)?t(r):t??V,enforceUnit=t=>(["width","maxWidth","minWidth","height"].forEach(r=>{t[r]=addUnit(t[r])}),t),componentToSlot=t=>isVNode$1(t)?r=>h$2(t,r):t,useStyles=(t,{columnsTotalWidth:r,data:V,fixedColumnsOnLeft:oe,fixedColumnsOnRight:ie})=>{const le=computed(()=>{const{fixed:Lt,width:hn,vScrollbarSize:_n}=t,vn=hn-_n;return Lt?Math.max(Math.round(unref(r)),vn):vn}),ue=computed(()=>unref(le)+(t.fixed?t.vScrollbarSize:0)),de=computed(()=>{const{height:Lt=0,maxHeight:hn=0,footerHeight:_n,hScrollbarSize:vn}=t;if(hn>0){const bn=unref(Fe),Cn=unref(pe),wn=unref(Ve)+bn+Cn+vn;return Math.min(wn,hn-_n)}return Lt-_n}),pe=computed(()=>{const{rowHeight:Lt,estimatedRowHeight:hn}=t,_n=unref(V);return isNumber$4(hn)?_n.length*hn:_n.length*Lt}),he=computed(()=>{const{maxHeight:Lt}=t,hn=unref(de);if(isNumber$4(Lt)&&Lt>0)return hn;const _n=unref(pe)+unref(Ve)+unref(Fe);return Math.min(hn,_n)}),_e=Lt=>Lt.width,$e=computed(()=>sum(unref(oe).map(_e))),Ie=computed(()=>sum(unref(ie).map(_e))),Ve=computed(()=>sum(t.headerHeight)),Fe=computed(()=>{var Lt;return(((Lt=t.fixedData)==null?void 0:Lt.length)||0)*t.rowHeight}),Ue=computed(()=>unref(de)-unref(Ve)-unref(Fe)),qe=computed(()=>{const{style:Lt={},height:hn,width:_n}=t;return enforceUnit({...Lt,height:hn,width:_n})}),Et=computed(()=>enforceUnit({height:t.footerHeight})),At=computed(()=>({top:addUnit(unref(Ve)),bottom:addUnit(t.footerHeight),width:addUnit(t.width)}));return{bodyWidth:le,fixedTableHeight:he,mainTableHeight:de,leftTableWidth:$e,rightTableWidth:Ie,headerWidth:ue,rowsHeight:pe,windowHeight:Ue,footerHeight:Et,emptyStyle:At,rootStyle:qe,headerHeight:Ve}},useAutoResize=t=>{const r=ref(),V=ref(0),oe=ref(0);let ie;return onMounted(()=>{ie=useResizeObserver$1(r,([le])=>{const{width:ue,height:de}=le.contentRect,{paddingLeft:pe,paddingRight:he,paddingTop:_e,paddingBottom:$e}=getComputedStyle(le.target),Ie=Number.parseInt(pe)||0,Ve=Number.parseInt(he)||0,Fe=Number.parseInt(_e)||0,Ue=Number.parseInt($e)||0;V.value=ue-Ie-Ve,oe.value=de-Fe-Ue}).stop}),onBeforeUnmount(()=>{ie==null||ie()}),watch([V,oe],([le,ue])=>{var de;(de=t.onResize)==null||de.call(t,{width:le,height:ue})}),{sizer:r,width:V,height:oe}};function useTable(t){const r=ref(),V=ref(),oe=ref(),{columns:ie,columnsStyles:le,columnsTotalWidth:ue,fixedColumnsOnLeft:de,fixedColumnsOnRight:pe,hasFixedColumns:he,mainColumns:_e,onColumnSorted:$e}=useColumns(t,toRef(t,"columns"),toRef(t,"fixed")),{scrollTo:Ie,scrollToLeft:Ve,scrollToTop:Fe,scrollToRow:Ue,onScroll:qe,onVerticalScroll:Et,scrollPos:At}=useScrollbar(t,{mainTableRef:r,leftTableRef:V,rightTableRef:oe,onMaybeEndReached:Un}),{expandedRowKeys:Lt,hoveringRowKey:hn,lastRenderedRowIndex:_n,isDynamic:vn,isResetting:bn,rowHeights:Cn,resetAfterIndex:Sn,onRowExpanded:wn,onRowHeightChange:En,onRowHovered:xn,onRowsRendered:Pn}=useRow(t,{mainTableRef:r,leftTableRef:V,rightTableRef:oe}),{data:kn,depthMap:Nn}=useData(t,{expandedRowKeys:Lt,lastRenderedRowIndex:_n,resetAfterIndex:Sn}),{bodyWidth:Dn,fixedTableHeight:Mn,mainTableHeight:Ln,leftTableWidth:An,rightTableWidth:Vn,headerWidth:Wn,rowsHeight:Fn,windowHeight:Yn,footerHeight:tr,emptyStyle:yr,rootStyle:Jn,headerHeight:Kn}=useStyles(t,{columnsTotalWidth:ue,data:kn,fixedColumnsOnLeft:de,fixedColumnsOnRight:pe}),Gn=shallowRef(!1),Qn=ref(),ur=computed(()=>{const qn=unref(kn).length===0;return isArray$c(t.fixedData)?t.fixedData.length===0&&qn:qn});function cr(qn){const{estimatedRowHeight:er,rowHeight:pr,rowKey:Er}=t;return er?unref(Cn)[unref(kn)[qn][Er]]||er:pr}function Un(){const{onEndReached:qn}=t;if(!qn)return;const{scrollTop:er}=unref(At),pr=unref(Fn),Er=unref(Yn),dr=pr-(er+Er)+t.hScrollbarSize;unref(_n)>=0&&pr===er+unref(Ln)-unref(Kn)&&qn(dr)}return watch(()=>t.expandedRowKeys,qn=>Lt.value=qn,{deep:!0}),{columns:ie,containerRef:Qn,mainTableRef:r,leftTableRef:V,rightTableRef:oe,isDynamic:vn,isResetting:bn,isScrolling:Gn,hoveringRowKey:hn,hasFixedColumns:he,columnsStyles:le,columnsTotalWidth:ue,data:kn,expandedRowKeys:Lt,depthMap:Nn,fixedColumnsOnLeft:de,fixedColumnsOnRight:pe,mainColumns:_e,bodyWidth:Dn,emptyStyle:yr,rootStyle:Jn,headerWidth:Wn,footerHeight:tr,mainTableHeight:Ln,fixedTableHeight:Mn,leftTableWidth:An,rightTableWidth:Vn,showEmpty:ur,getRowHeight:cr,onColumnSorted:$e,onRowHovered:xn,onRowExpanded:wn,onRowsRendered:Pn,onRowHeightChange:En,scrollTo:Ie,scrollToLeft:Ve,scrollToTop:Fe,scrollToRow:Ue,onScroll:qe,onVerticalScroll:Et}}const TableV2InjectionKey=Symbol("tableV2"),classType=String,columns={type:definePropType(Array),required:!0},fixedDataType={type:definePropType(Array)},dataType={...fixedDataType,required:!0},expandColumnKey=String,expandKeys={type:definePropType(Array),default:()=>mutable([])},requiredNumber={type:Number,required:!0},rowKey={type:definePropType([String,Number,Symbol]),default:"id"},styleType={type:definePropType(Object)},tableV2RowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,expandColumnKey,estimatedRowHeight:{...virtualizedGridProps.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:definePropType(Function)},onRowHover:{type:definePropType(Function)},onRowHeightChange:{type:definePropType(Function)},rowData:{type:definePropType(Object),required:!0},rowEventHandlers:{type:definePropType(Object)},rowIndex:{type:Number,required:!0},rowKey,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,columns,fixedHeaderData:{type:definePropType(Array)},headerData:{type:definePropType(Array),required:!0},headerHeight:{type:definePropType([Number,Array]),default:50},rowWidth:requiredNumberType,rowHeight:{type:Number,default:50},height:requiredNumberType,width:requiredNumberType}),tableV2GridProps=buildProps({columns,data:dataType,fixedData:fixedDataType,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,width:requiredNumber,height:requiredNumber,headerWidth:requiredNumber,headerHeight:tableV2HeaderProps.headerHeight,bodyWidth:requiredNumber,rowHeight:requiredNumber,cache:virtualizedListProps.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:virtualizedGridProps.scrollbarAlwaysOn,scrollbarStartGap:virtualizedGridProps.scrollbarStartGap,scrollbarEndGap:virtualizedGridProps.scrollbarEndGap,class:classType,style:styleType,containerStyle:styleType,getRowHeight:{type:definePropType(Function),required:!0},rowKey:tableV2RowProps.rowKey,onRowsRendered:{type:definePropType(Function)},onScroll:{type:definePropType(Function)}}),tableV2Props=buildProps({cache:tableV2GridProps.cache,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,rowKey,headerClass:{type:definePropType([String,Function])},headerProps:{type:definePropType([Object,Function])},headerCellProps:{type:definePropType([Object,Function])},headerHeight:tableV2HeaderProps.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:definePropType([String,Function])},rowProps:{type:definePropType([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:definePropType([Object,Function])},columns,data:dataType,dataGetter:{type:definePropType(Function)},fixedData:fixedDataType,expandColumnKey:tableV2RowProps.expandColumnKey,expandedRowKeys:expandKeys,defaultExpandedRowKeys:expandKeys,class:classType,fixed:Boolean,style:{type:definePropType(Object)},width:requiredNumber,height:requiredNumber,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:virtualizedGridProps.hScrollbarSize,vScrollbarSize:virtualizedGridProps.vScrollbarSize,scrollbarAlwaysOn:virtualizedScrollbarProps.alwaysOn,sortBy:{type:definePropType(Object),default:()=>({})},sortState:{type:definePropType(Object),default:void 0},onColumnSort:{type:definePropType(Function)},onExpandedRowsChange:{type:definePropType(Function)},onEndReached:{type:definePropType(Function)},onRowExpand:tableV2RowProps.onRowExpand,onScroll:tableV2GridProps.onScroll,onRowsRendered:tableV2GridProps.onRowsRendered,rowEventHandlers:tableV2RowProps.rowEventHandlers}),TableV2Cell=(t,{slots:r})=>{var V;const{cellData:oe,style:ie}=t,le=((V=oe==null?void 0:oe.toString)==null?void 0:V.call(oe))||"";return createVNode("div",{class:t.class,title:le,style:ie},[r.default?r.default(t):le])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(t,{slots:r})=>{var V,oe;return r.default?r.default(t):createVNode("div",{class:t.class,title:(V=t.column)==null?void 0:V.title},[(oe=t.column)==null?void 0:oe.title])};HeaderCell.displayName="ElTableV2HeaderCell";HeaderCell.inheritAttrs=!1;const tableV2HeaderRowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup(t,{slots:r}){return()=>{const{columns:V,columnsStyles:oe,headerIndex:ie,style:le}=t;let ue=V.map((de,pe)=>r.cell({columns:V,column:de,columnIndex:pe,headerIndex:ie,style:oe[de.key]}));return r.header&&(ue=r.header({cells:ue.map(de=>isArray$c(de)&&de.length===1?de[0]:de),columns:V,headerIndex:ie})),createVNode("div",{class:t.class,style:le,role:"row"},[ue])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(t,{slots:r,expose:V}){const oe=useNamespace("table-v2"),ie=ref(),le=computed(()=>enforceUnit({width:t.width,height:t.height})),ue=computed(()=>enforceUnit({width:t.rowWidth,height:t.height})),de=computed(()=>castArray$1(unref(t.headerHeight))),pe=$e=>{const Ie=unref(ie);nextTick(()=>{Ie!=null&&Ie.scroll&&Ie.scroll({left:$e})})},he=()=>{const $e=oe.e("fixed-header-row"),{columns:Ie,fixedHeaderData:Ve,rowHeight:Fe}=t;return Ve==null?void 0:Ve.map((Ue,qe)=>{var Et;const At=enforceUnit({height:Fe,width:"100%"});return(Et=r.fixed)==null?void 0:Et.call(r,{class:$e,columns:Ie,rowData:Ue,rowIndex:-(qe+1),style:At})})},_e=()=>{const $e=oe.e("dynamic-header-row"),{columns:Ie}=t;return unref(de).map((Ve,Fe)=>{var Ue;const qe=enforceUnit({width:"100%",height:Ve});return(Ue=r.dynamic)==null?void 0:Ue.call(r,{class:$e,columns:Ie,headerIndex:Fe,style:qe})})};return V({scrollToLeft:pe}),()=>{if(!(t.height<=0))return createVNode("div",{ref:ie,class:t.class,style:unref(le),role:"rowgroup"},[createVNode("div",{style:unref(ue),class:oe.e("header")},[_e(),he()])])}}}),useTableRow=t=>{const{isScrolling:r}=inject(TableV2InjectionKey),V=ref(!1),oe=ref(),ie=computed(()=>isNumber$4(t.estimatedRowHeight)&&t.rowIndex>=0),le=(pe=!1)=>{const he=unref(oe);if(!he)return;const{columns:_e,onRowHeightChange:$e,rowKey:Ie,rowIndex:Ve,style:Fe}=t,{height:Ue}=he.getBoundingClientRect();V.value=!0,nextTick(()=>{if(pe||Ue!==Number.parseInt(Fe.height)){const qe=_e[0],Et=(qe==null?void 0:qe.placeholderSign)===placeholderSign;$e==null||$e({rowKey:Ie,height:Ue,rowIndex:Ve},qe&&!Et&&qe.fixed)}})},ue=computed(()=>{const{rowData:pe,rowIndex:he,rowKey:_e,onRowHover:$e}=t,Ie=t.rowEventHandlers||{},Ve={};return Object.entries(Ie).forEach(([Fe,Ue])=>{isFunction$5(Ue)&&(Ve[Fe]=qe=>{Ue({event:qe,rowData:pe,rowIndex:he,rowKey:_e})})}),$e&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:Fe,hovered:Ue})=>{const qe=Ve[Fe];Ve[Fe]=Et=>{$e({event:Et,hovered:Ue,rowData:pe,rowIndex:he,rowKey:_e}),qe==null||qe(Et)}}),Ve}),de=pe=>{const{onRowExpand:he,rowData:_e,rowIndex:$e,rowKey:Ie}=t;he==null||he({expanded:pe,rowData:_e,rowIndex:$e,rowKey:Ie})};return onMounted(()=>{unref(ie)&&le(!0)}),{isScrolling:r,measurable:ie,measured:V,rowRef:oe,eventHandlers:ue,onExpand:de}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(t,{expose:r,slots:V,attrs:oe}){const{eventHandlers:ie,isScrolling:le,measurable:ue,measured:de,rowRef:pe,onExpand:he}=useTableRow(t);return r({onExpand:he}),()=>{const{columns:_e,columnsStyles:$e,expandColumnKey:Ie,depth:Ve,rowData:Fe,rowIndex:Ue,style:qe}=t;let Et=_e.map((At,Lt)=>{const hn=isArray$c(Fe.children)&&Fe.children.length>0&&At.key===Ie;return V.cell({column:At,columns:_e,columnIndex:Lt,depth:Ve,style:$e[At.key],rowData:Fe,rowIndex:Ue,isScrolling:unref(le),expandIconProps:hn?{rowData:Fe,rowIndex:Ue,onExpand:he}:void 0})});if(V.row&&(Et=V.row({cells:Et.map(At=>isArray$c(At)&&At.length===1?At[0]:At),style:qe,columns:_e,depth:Ve,rowData:Fe,rowIndex:Ue,isScrolling:unref(le)})),unref(ue)){const{height:At,...Lt}=qe||{},hn=unref(de);return createVNode("div",mergeProps({ref:pe,class:t.class,style:hn?qe:Lt,role:"row"},oe,unref(ie)),[Et])}return createVNode("div",mergeProps(oe,{ref:pe,class:t.class,style:qe,role:"row"},unref(ie)),[Et])}}}),SortIcon=t=>{const{sortOrder:r}=t;return createVNode(ElIcon,{size:14,class:t.class},{default:()=>[r===SortOrder.ASC?createVNode(sort_up_default,null,null):createVNode(sort_down_default,null,null)]})},ExpandIcon=t=>{const{expanded:r,expandable:V,onExpand:oe,style:ie,size:le}=t,ue={onClick:V?()=>oe(!r):void 0,class:t.class};return createVNode(ElIcon,mergeProps(ue,{size:le,style:ie}),{default:()=>[createVNode(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=t=>{const r=ref(),V=ref(),oe=computed(()=>{const{data:Ue,rowHeight:qe,estimatedRowHeight:Et}=t;if(!Et)return Ue.length*qe}),ie=computed(()=>{const{fixedData:Ue,rowHeight:qe}=t;return((Ue==null?void 0:Ue.length)||0)*qe}),le=computed(()=>sum(t.headerHeight)),ue=computed(()=>{const{height:Ue}=t;return Math.max(0,Ue-unref(le)-unref(ie))}),de=computed(()=>unref(le)+unref(ie)>0),pe=({data:Ue,rowIndex:qe})=>Ue[qe][t.rowKey];function he({rowCacheStart:Ue,rowCacheEnd:qe,rowVisibleStart:Et,rowVisibleEnd:At}){var Lt;(Lt=t.onRowsRendered)==null||Lt.call(t,{rowCacheStart:Ue,rowCacheEnd:qe,rowVisibleStart:Et,rowVisibleEnd:At})}function _e(Ue,qe){var Et;(Et=V.value)==null||Et.resetAfterRowIndex(Ue,qe)}function $e(Ue,qe){const Et=unref(r),At=unref(V);!Et||!At||(isObject$9(Ue)?(Et.scrollToLeft(Ue.scrollLeft),At.scrollTo(Ue)):(Et.scrollToLeft(Ue),At.scrollTo({scrollLeft:Ue,scrollTop:qe})))}function Ie(Ue){var qe;(qe=unref(V))==null||qe.scrollTo({scrollTop:Ue})}function Ve(Ue,qe){var Et;(Et=unref(V))==null||Et.scrollToItem(Ue,1,qe)}function Fe(){var Ue,qe;(Ue=unref(V))==null||Ue.$forceUpdate(),(qe=unref(r))==null||qe.$forceUpdate()}return{bodyRef:V,forceUpdate:Fe,fixedRowHeight:ie,gridHeight:ue,hasHeader:de,headerHeight:le,headerRef:r,totalHeight:oe,itemKey:pe,onItemRendered:he,resetAfterRowIndex:_e,scrollTo:$e,scrollToTop:Ie,scrollToRow:Ve}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(t,{slots:r,expose:V}){const{ns:oe}=inject(TableV2InjectionKey),{bodyRef:ie,fixedRowHeight:le,gridHeight:ue,hasHeader:de,headerRef:pe,headerHeight:he,totalHeight:_e,forceUpdate:$e,itemKey:Ie,onItemRendered:Ve,resetAfterRowIndex:Fe,scrollTo:Ue,scrollToTop:qe,scrollToRow:Et}=useTableGrid(t);V({forceUpdate:$e,totalHeight:_e,scrollTo:Ue,scrollToTop:qe,scrollToRow:Et,resetAfterRowIndex:Fe});const At=()=>t.bodyWidth;return()=>{const{cache:Lt,columns:hn,data:_n,fixedData:vn,useIsScrolling:bn,scrollbarAlwaysOn:Cn,scrollbarEndGap:Sn,scrollbarStartGap:wn,style:En,rowHeight:xn,bodyWidth:Pn,estimatedRowHeight:kn,headerWidth:Nn,height:Dn,width:Mn,getRowHeight:Ln,onScroll:An}=t,Vn=isNumber$4(kn),Wn=Vn?DynamicSizeGrid:FixedSizeGrid,Fn=unref(he);return createVNode("div",{role:"table",class:[oe.e("table"),t.class],style:En},[createVNode(Wn,{ref:ie,data:_n,useIsScrolling:bn,itemKey:Ie,columnCache:0,columnWidth:Vn?At:Pn,totalColumn:1,totalRow:_n.length,rowCache:Lt,rowHeight:Vn?Ln:xn,width:Mn,height:unref(ue),class:oe.e("body"),role:"rowgroup",scrollbarStartGap:wn,scrollbarEndGap:Sn,scrollbarAlwaysOn:Cn,onScroll:An,onItemRendered:Ve,perfMode:!1},{default:Yn=>{var tr;const yr=_n[Yn.rowIndex];return(tr=r.row)==null?void 0:tr.call(r,{...Yn,columns:hn,rowData:yr})}}),unref(de)&&createVNode(TableV2Header,{ref:pe,class:oe.e("header-wrapper"),columns:hn,headerData:_n,headerHeight:t.headerHeight,fixedHeaderData:vn,rowWidth:Nn,rowHeight:xn,width:Mn,height:Math.min(Fn+unref(le),Dn)},{dynamic:r.header,fixed:r.row})])}}});function _isSlot$5(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode$1(t)}const MainTable=(t,{slots:r})=>{const{mainTableRef:V,...oe}=t;return createVNode(TableGrid,mergeProps({ref:V},oe),_isSlot$5(r)?r:{default:()=>[r]})};function _isSlot$4(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode$1(t)}const LeftTable$1=(t,{slots:r})=>{if(!t.columns.length)return;const{leftTableRef:V,...oe}=t;return createVNode(TableGrid,mergeProps({ref:V},oe),_isSlot$4(r)?r:{default:()=>[r]})};function _isSlot$3(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode$1(t)}const LeftTable=(t,{slots:r})=>{if(!t.columns.length)return;const{rightTableRef:V,...oe}=t;return createVNode(TableGrid,mergeProps({ref:V},oe),_isSlot$3(r)?r:{default:()=>[r]})};function _isSlot$2(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode$1(t)}const RowRenderer=(t,{slots:r})=>{const{columns:V,columnsStyles:oe,depthMap:ie,expandColumnKey:le,expandedRowKeys:ue,estimatedRowHeight:de,hasFixedColumns:pe,hoveringRowKey:he,rowData:_e,rowIndex:$e,style:Ie,isScrolling:Ve,rowProps:Fe,rowClass:Ue,rowKey:qe,rowEventHandlers:Et,ns:At,onRowHovered:Lt,onRowExpanded:hn}=t,_n=tryCall(Ue,{columns:V,rowData:_e,rowIndex:$e},""),vn=tryCall(Fe,{columns:V,rowData:_e,rowIndex:$e}),bn=_e[qe],Cn=ie[bn]||0,Sn=!!le,wn=$e<0,En=[At.e("row"),_n,{[At.e(`row-depth-${Cn}`)]:Sn&&$e>=0,[At.is("expanded")]:Sn&&ue.includes(bn),[At.is("hovered")]:!Ve&&bn===he,[At.is("fixed")]:!Cn&&wn,[At.is("customized")]:!!r.row}],xn=pe?Lt:void 0,Pn={...vn,columns:V,columnsStyles:oe,class:En,depth:Cn,expandColumnKey:le,estimatedRowHeight:wn?void 0:de,isScrolling:Ve,rowIndex:$e,rowData:_e,rowKey:bn,rowEventHandlers:Et,style:Ie};return createVNode(TableV2Row,mergeProps(Pn,{onRowHover:xn,onRowExpand:hn}),_isSlot$2(r)?r:{default:()=>[r]})},CellRenderer=({columns:t,column:r,columnIndex:V,depth:oe,expandIconProps:ie,isScrolling:le,rowData:ue,rowIndex:de,style:pe,expandedRowKeys:he,ns:_e,cellProps:$e,expandColumnKey:Ie,indentSize:Ve,iconSize:Fe,rowKey:Ue},{slots:qe})=>{const Et=enforceUnit(pe);if(r.placeholderSign===placeholderSign)return createVNode("div",{class:_e.em("row-cell","placeholder"),style:Et},null);const{cellRenderer:At,dataKey:Lt,dataGetter:hn}=r,vn=componentToSlot(At)||qe.default||(Dn=>createVNode(TableV2Cell,Dn,null)),bn=isFunction$5(hn)?hn({columns:t,column:r,columnIndex:V,rowData:ue,rowIndex:de}):get$1(ue,Lt??""),Cn=tryCall($e,{cellData:bn,columns:t,column:r,columnIndex:V,rowIndex:de,rowData:ue}),Sn={class:_e.e("cell-text"),columns:t,column:r,columnIndex:V,cellData:bn,isScrolling:le,rowData:ue,rowIndex:de},wn=vn(Sn),En=[_e.e("row-cell"),r.class,r.align===Alignment.CENTER&&_e.is("align-center"),r.align===Alignment.RIGHT&&_e.is("align-right")],xn=de>=0&&Ie&&r.key===Ie,Pn=de>=0&&he.includes(ue[Ue]);let kn;const Nn=`margin-inline-start: ${oe*Ve}px;`;return xn&&(isObject$9(ie)?kn=createVNode(ExpandIcon,mergeProps(ie,{class:[_e.e("expand-icon"),_e.is("expanded",Pn)],size:Fe,expanded:Pn,style:Nn,expandable:!0}),null):kn=createVNode("div",{style:[Nn,`width: ${Fe}px; height: ${Fe}px;`].join(" ")},null)),createVNode("div",mergeProps({class:En,style:Et},Cn,{role:"cell"}),[kn,wn])};CellRenderer.inheritAttrs=!1;function _isSlot$1(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode$1(t)}const HeaderRenderer=({columns:t,columnsStyles:r,headerIndex:V,style:oe,headerClass:ie,headerProps:le,ns:ue},{slots:de})=>{const pe={columns:t,headerIndex:V},he=[ue.e("header-row"),tryCall(ie,pe,""),{[ue.is("customized")]:!!de.header}],_e={...tryCall(le,pe),columnsStyles:r,class:he,columns:t,headerIndex:V,style:oe};return createVNode(TableV2HeaderRow,_e,_isSlot$1(de)?de:{default:()=>[de]})},HeaderCellRenderer=(t,{slots:r})=>{const{column:V,ns:oe,style:ie,onColumnSorted:le}=t,ue=enforceUnit(ie);if(V.placeholderSign===placeholderSign)return createVNode("div",{class:oe.em("header-row-cell","placeholder"),style:ue},null);const{headerCellRenderer:de,headerClass:pe,sortable:he}=V,_e={...t,class:oe.e("header-cell-text")},Ie=(componentToSlot(de)||r.default||(hn=>createVNode(HeaderCell,hn,null)))(_e),{sortBy:Ve,sortState:Fe,headerCellProps:Ue}=t;let qe,Et;if(Fe){const hn=Fe[V.key];qe=!!oppositeOrderMap[hn],Et=qe?hn:SortOrder.ASC}else qe=V.key===Ve.key,Et=qe?Ve.order:SortOrder.ASC;const At=[oe.e("header-cell"),tryCall(pe,t,""),V.align===Alignment.CENTER&&oe.is("align-center"),V.align===Alignment.RIGHT&&oe.is("align-right"),he&&oe.is("sortable")],Lt={...tryCall(Ue,t),onClick:V.sortable?le:void 0,class:At,style:ue,"data-key":V.key};return createVNode("div",mergeProps(Lt,{role:"columnheader"}),[Ie,he&&createVNode(SortIcon,{class:[oe.e("sort-icon"),qe&&oe.is("sorting")],sortOrder:Et},null)])},Footer$1=(t,{slots:r})=>{var V;return createVNode("div",{class:t.class,style:t.style},[(V=r.default)==null?void 0:V.call(r)])};Footer$1.displayName="ElTableV2Footer";const Footer=(t,{slots:r})=>createVNode("div",{class:t.class,style:t.style},[r.default?r.default():createVNode(ElEmpty,null,null)]);Footer.displayName="ElTableV2Empty";const Overlay=(t,{slots:r})=>{var V;return createVNode("div",{class:t.class,style:t.style},[(V=r.default)==null?void 0:V.call(r)])};Overlay.displayName="ElTableV2Overlay";function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode$1(t)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(t,{slots:r,expose:V}){const oe=useNamespace("table-v2"),{columnsStyles:ie,fixedColumnsOnLeft:le,fixedColumnsOnRight:ue,mainColumns:de,mainTableHeight:pe,fixedTableHeight:he,leftTableWidth:_e,rightTableWidth:$e,data:Ie,depthMap:Ve,expandedRowKeys:Fe,hasFixedColumns:Ue,hoveringRowKey:qe,mainTableRef:Et,leftTableRef:At,rightTableRef:Lt,isDynamic:hn,isResetting:_n,isScrolling:vn,bodyWidth:bn,emptyStyle:Cn,rootStyle:Sn,headerWidth:wn,footerHeight:En,showEmpty:xn,scrollTo:Pn,scrollToLeft:kn,scrollToTop:Nn,scrollToRow:Dn,getRowHeight:Mn,onColumnSorted:Ln,onRowHeightChange:An,onRowHovered:Vn,onRowExpanded:Wn,onRowsRendered:Fn,onScroll:Yn,onVerticalScroll:tr}=useTable(t);return V({scrollTo:Pn,scrollToLeft:kn,scrollToTop:Nn,scrollToRow:Dn}),provide(TableV2InjectionKey,{ns:oe,isResetting:_n,hoveringRowKey:qe,isScrolling:vn}),()=>{const{cache:yr,cellProps:Jn,estimatedRowHeight:Kn,expandColumnKey:Gn,fixedData:Qn,headerHeight:ur,headerClass:cr,headerProps:Un,headerCellProps:qn,sortBy:er,sortState:pr,rowHeight:Er,rowClass:dr,rowEventHandlers:xr,rowKey:wr,rowProps:Cr,scrollbarAlwaysOn:gr,indentSize:or,iconSize:fr,useIsScrolling:kr,vScrollbarSize:br,width:Ar}=t,Dr=unref(Ie),Br={cache:yr,class:oe.e("main"),columns:unref(de),data:Dr,fixedData:Qn,estimatedRowHeight:Kn,bodyWidth:unref(bn)+br,headerHeight:ur,headerWidth:unref(wn),height:unref(pe),mainTableRef:Et,rowKey:wr,rowHeight:Er,scrollbarAlwaysOn:gr,scrollbarStartGap:2,scrollbarEndGap:br,useIsScrolling:kr,width:Ar,getRowHeight:Mn,onRowsRendered:Fn,onScroll:Yn},zr=unref(_e),Rr=unref(he),mr={cache:yr,class:oe.e("left"),columns:unref(le),data:Dr,estimatedRowHeight:Kn,leftTableRef:At,rowHeight:Er,bodyWidth:zr,headerWidth:zr,headerHeight:ur,height:Rr,rowKey:wr,scrollbarAlwaysOn:gr,scrollbarStartGap:2,scrollbarEndGap:br,useIsScrolling:kr,width:zr,getRowHeight:Mn,onScroll:tr},ar=unref($e)+br,$r={cache:yr,class:oe.e("right"),columns:unref(ue),data:Dr,estimatedRowHeight:Kn,rightTableRef:Lt,rowHeight:Er,bodyWidth:ar,headerWidth:ar,headerHeight:ur,height:Rr,rowKey:wr,scrollbarAlwaysOn:gr,scrollbarStartGap:2,scrollbarEndGap:br,width:ar,style:`--${unref(oe.namespace)}-table-scrollbar-size: ${br}px`,useIsScrolling:kr,getRowHeight:Mn,onScroll:tr},Zn=unref(ie),Or={ns:oe,depthMap:unref(Ve),columnsStyles:Zn,expandColumnKey:Gn,expandedRowKeys:unref(Fe),estimatedRowHeight:Kn,hasFixedColumns:unref(Ue),hoveringRowKey:unref(qe),rowProps:Cr,rowClass:dr,rowKey:wr,rowEventHandlers:xr,onRowHovered:Vn,onRowExpanded:Wn,onRowHeightChange:An},Lr={cellProps:Jn,expandColumnKey:Gn,indentSize:or,iconSize:fr,rowKey:wr,expandedRowKeys:unref(Fe),ns:oe},Ur={ns:oe,headerClass:cr,headerProps:Un,columnsStyles:Zn},Kr={ns:oe,sortBy:er,sortState:pr,headerCellProps:qn,onColumnSorted:Ln},qr={row:_r=>createVNode(RowRenderer,mergeProps(_r,Or),{row:r.row,cell:Pr=>{let sr;return r.cell?createVNode(CellRenderer,mergeProps(Pr,Lr,{style:Zn[Pr.column.key]}),_isSlot(sr=r.cell(Pr))?sr:{default:()=>[sr]}):createVNode(CellRenderer,mergeProps(Pr,Lr,{style:Zn[Pr.column.key]}),null)}}),header:_r=>createVNode(HeaderRenderer,mergeProps(_r,Ur),{header:r.header,cell:Pr=>{let sr;return r["header-cell"]?createVNode(HeaderCellRenderer,mergeProps(Pr,Kr,{style:Zn[Pr.column.key]}),_isSlot(sr=r["header-cell"](Pr))?sr:{default:()=>[sr]}):createVNode(HeaderCellRenderer,mergeProps(Pr,Kr,{style:Zn[Pr.column.key]}),null)}})},no=[t.class,oe.b(),oe.e("root"),{[oe.is("dynamic")]:unref(hn)}],Xr={class:oe.e("footer"),style:unref(En)};return createVNode("div",{class:no,style:unref(Sn)},[createVNode(MainTable,Br,_isSlot(qr)?qr:{default:()=>[qr]}),createVNode(LeftTable$1,mr,_isSlot(qr)?qr:{default:()=>[qr]}),createVNode(LeftTable,$r,_isSlot(qr)?qr:{default:()=>[qr]}),r.footer&&createVNode(Footer$1,Xr,{default:r.footer}),unref(xn)&&createVNode(Footer,{class:oe.e("empty"),style:unref(Cn)},{default:r.empty}),r.overlay&&createVNode(Overlay,{class:oe.e("overlay")},{default:r.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(t,{slots:r}){const V=useNamespace("auto-resizer"),{height:oe,width:ie,sizer:le}=useAutoResize(t),ue={width:"100%",height:"100%"};return()=>{var de;return createVNode("div",{ref:le,class:V.b(),style:ue},[(de=r.default)==null?void 0:de.call(r,{height:oe.value,width:ie.value})])}}}),ElTableV2=withInstall(TableV2),ElAutoResizer=withInstall(AutoResizer),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$k=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$r=defineComponent({...__default__$k,props:tabBarProps,setup(t,{expose:r}){const V=t,oe=getCurrentInstance(),ie=inject(tabsRootContextKey);ie||throwError$1(COMPONENT_NAME$3,"<el-tabs><el-tab-bar /></el-tabs>");const le=useNamespace("tabs"),ue=ref(),de=ref(),pe=()=>{let _e=0,$e=0;const Ie=["top","bottom"].includes(ie.props.tabPosition)?"width":"height",Ve=Ie==="width"?"x":"y",Fe=Ve==="x"?"left":"top";return V.tabs.every(Ue=>{var qe,Et;const At=(Et=(qe=oe.parent)==null?void 0:qe.refs)==null?void 0:Et[`tab-${Ue.uid}`];if(!At)return!1;if(!Ue.active)return!0;_e=At[`offset${capitalize$1(Fe)}`],$e=At[`client${capitalize$1(Ie)}`];const Lt=window.getComputedStyle(At);return Ie==="width"&&(V.tabs.length>1&&($e-=Number.parseFloat(Lt.paddingLeft)+Number.parseFloat(Lt.paddingRight)),_e+=Number.parseFloat(Lt.paddingLeft)),!1}),{[Ie]:`${$e}px`,transform:`translate${capitalize$1(Ve)}(${_e}px)`}},he=()=>de.value=pe();return watch(()=>V.tabs,async()=>{await nextTick(),he()},{immediate:!0}),useResizeObserver$1(ue,()=>he()),r({ref:ue,update:he}),(_e,$e)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:ue,class:normalizeClass([unref(le).e("active-bar"),unref(le).is(unref(ie).props.tabPosition)]),style:normalizeStyle$1(de.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(t,r,V)=>V instanceof Event,tabRemove:(t,r)=>r instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(t,{expose:r,emit:V}){const oe=getCurrentInstance(),ie=inject(tabsRootContextKey);ie||throwError$1(COMPONENT_NAME$2,"<el-tabs><tab-nav /></el-tabs>");const le=useNamespace("tabs"),ue=useDocumentVisibility(),de=useWindowFocus(),pe=ref(),he=ref(),_e=ref(),$e=ref(),Ie=ref(!1),Ve=ref(0),Fe=ref(!1),Ue=ref(!0),qe=computed(()=>["top","bottom"].includes(ie.props.tabPosition)?"width":"height"),Et=computed(()=>({transform:`translate${qe.value==="width"?"X":"Y"}(-${Ve.value}px)`})),At=()=>{if(!pe.value)return;const Sn=pe.value[`offset${capitalize$1(qe.value)}`],wn=Ve.value;if(!wn)return;const En=wn>Sn?wn-Sn:0;Ve.value=En},Lt=()=>{if(!pe.value||!he.value)return;const Sn=he.value[`offset${capitalize$1(qe.value)}`],wn=pe.value[`offset${capitalize$1(qe.value)}`],En=Ve.value;if(Sn-En<=wn)return;const xn=Sn-En>wn*2?En+wn:Sn-wn;Ve.value=xn},hn=async()=>{const Sn=he.value;if(!Ie.value||!_e.value||!pe.value||!Sn)return;await nextTick();const wn=_e.value.querySelector(".is-active");if(!wn)return;const En=pe.value,xn=["top","bottom"].includes(ie.props.tabPosition),Pn=wn.getBoundingClientRect(),kn=En.getBoundingClientRect(),Nn=xn?Sn.offsetWidth-kn.width:Sn.offsetHeight-kn.height,Dn=Ve.value;let Mn=Dn;xn?(Pn.left<kn.left&&(Mn=Dn-(kn.left-Pn.left)),Pn.right>kn.right&&(Mn=Dn+Pn.right-kn.right)):(Pn.top<kn.top&&(Mn=Dn-(kn.top-Pn.top)),Pn.bottom>kn.bottom&&(Mn=Dn+(Pn.bottom-kn.bottom))),Mn=Math.max(Mn,0),Ve.value=Math.min(Mn,Nn)},_n=()=>{var Sn;if(!he.value||!pe.value)return;t.stretch&&((Sn=$e.value)==null||Sn.update());const wn=he.value[`offset${capitalize$1(qe.value)}`],En=pe.value[`offset${capitalize$1(qe.value)}`],xn=Ve.value;En<wn?(Ie.value=Ie.value||{},Ie.value.prev=xn,Ie.value.next=xn+En<wn,wn-xn<En&&(Ve.value=wn-En)):(Ie.value=!1,xn>0&&(Ve.value=0))},vn=Sn=>{const wn=Sn.code,{up:En,down:xn,left:Pn,right:kn}=EVENT_CODE;if(![En,xn,Pn,kn].includes(wn))return;const Nn=Array.from(Sn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Dn=Nn.indexOf(Sn.target);let Mn;wn===Pn||wn===En?Dn===0?Mn=Nn.length-1:Mn=Dn-1:Dn<Nn.length-1?Mn=Dn+1:Mn=0,Nn[Mn].focus({preventScroll:!0}),Nn[Mn].click(),bn()},bn=()=>{Ue.value&&(Fe.value=!0)},Cn=()=>Fe.value=!1;return watch(ue,Sn=>{Sn==="hidden"?Ue.value=!1:Sn==="visible"&&setTimeout(()=>Ue.value=!0,50)}),watch(de,Sn=>{Sn?setTimeout(()=>Ue.value=!0,50):Ue.value=!1}),useResizeObserver$1(_e,_n),onMounted(()=>setTimeout(()=>hn(),0)),onUpdated(()=>_n()),r({scrollToActiveTab:hn,removeFocus:Cn}),watch(()=>t.panes,()=>oe.update(),{flush:"post",deep:!0}),()=>{const Sn=Ie.value?[createVNode("span",{class:[le.e("nav-prev"),le.is("disabled",!Ie.value.prev)],onClick:At},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_left_default,null,null)]})]),createVNode("span",{class:[le.e("nav-next"),le.is("disabled",!Ie.value.next)],onClick:Lt},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_right_default,null,null)]})])]:null,wn=t.panes.map((En,xn)=>{var Pn,kn,Nn,Dn;const Mn=En.uid,Ln=En.props.disabled,An=(kn=(Pn=En.props.name)!=null?Pn:En.index)!=null?kn:`${xn}`,Vn=!Ln&&(En.isClosable||t.editable);En.index=`${xn}`;const Wn=Vn?createVNode(ElIcon,{class:"is-icon-close",onClick:tr=>V("tabRemove",En,tr)},{default:()=>[createVNode(close_default,null,null)]}):null,Fn=((Dn=(Nn=En.slots).label)==null?void 0:Dn.call(Nn))||En.props.label,Yn=!Ln&&En.active?0:-1;return createVNode("div",{ref:`tab-${Mn}`,class:[le.e("item"),le.is(ie.props.tabPosition),le.is("active",En.active),le.is("disabled",Ln),le.is("closable",Vn),le.is("focus",Fe.value)],id:`tab-${An}`,key:`tab-${Mn}`,"aria-controls":`pane-${An}`,role:"tab","aria-selected":En.active,tabindex:Yn,onFocus:()=>bn(),onBlur:()=>Cn(),onClick:tr=>{Cn(),V("tabClick",En,An,tr)},onKeydown:tr=>{Vn&&(tr.code===EVENT_CODE.delete||tr.code===EVENT_CODE.backspace)&&V("tabRemove",En,tr)}},[Fn,Wn])});return createVNode("div",{ref:_e,class:[le.e("nav-wrap"),le.is("scrollable",!!Ie.value),le.is(ie.props.tabPosition)]},[Sn,createVNode("div",{class:le.e("nav-scroll"),ref:pe},[createVNode("div",{class:[le.e("nav"),le.is(ie.props.tabPosition),le.is("stretch",t.stretch&&["top","bottom"].includes(ie.props.tabPosition))],ref:he,style:Et.value,role:"tablist",onKeydown:vn},[t.type?null:createVNode(TabBar,{ref:$e,tabs:[...t.panes]},null),wn])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number]},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=t=>isString$6(t)||isNumber$4(t),tabsEmits={[UPDATE_MODEL_EVENT]:t=>isPaneName(t),tabClick:(t,r)=>r instanceof Event,tabChange:t=>isPaneName(t),edit:(t,r)=>["remove","add"].includes(r),tabRemove:t=>isPaneName(t),tabAdd:()=>!0};var Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(t,{emit:r,slots:V,expose:oe}){var ie,le;const ue=useNamespace("tabs"),{children:de,addChild:pe,removeChild:he}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),_e=ref(),$e=ref((le=(ie=t.modelValue)!=null?ie:t.activeName)!=null?le:"0"),Ie=Et=>{$e.value=Et,r(UPDATE_MODEL_EVENT,Et),r("tabChange",Et)},Ve=async Et=>{var At,Lt,hn;if(!($e.value===Et||isUndefined$1(Et)))try{await((At=t.beforeLeave)==null?void 0:At.call(t,Et,$e.value))!==!1&&(Ie(Et),(hn=(Lt=_e.value)==null?void 0:Lt.removeFocus)==null||hn.call(Lt))}catch{}},Fe=(Et,At,Lt)=>{Et.props.disabled||(Ve(At),r("tabClick",Et,Lt))},Ue=(Et,At)=>{Et.props.disabled||isUndefined$1(Et.props.name)||(At.stopPropagation(),r("edit",Et.props.name,"remove"),r("tabRemove",Et.props.name))},qe=()=>{r("edit",void 0,"add"),r("tabAdd")};return useDeprecated({from:'"activeName"',replacement:'"model-value" or "v-model"',scope:"ElTabs",version:"2.3.0",ref:"https://element-plus.org/en-US/component/tabs.html#attributes",type:"Attribute"},computed(()=>!!t.activeName)),watch(()=>t.activeName,Et=>Ve(Et)),watch(()=>t.modelValue,Et=>Ve(Et)),watch($e,async()=>{var Et;await nextTick(),(Et=_e.value)==null||Et.scrollToActiveTab()}),provide(tabsRootContextKey,{props:t,currentName:$e,registerPane:pe,unregisterPane:he}),oe({currentName:$e}),()=>{const Et=t.editable||t.addable?createVNode("span",{class:ue.e("new-tab"),tabindex:"0",onClick:qe,onKeydown:hn=>{hn.code===EVENT_CODE.enter&&qe()}},[createVNode(ElIcon,{class:ue.is("icon-plus")},{default:()=>[createVNode(plus_default,null,null)]})]):null,At=createVNode("div",{class:[ue.e("header"),ue.is(t.tabPosition)]},[Et,createVNode(TabNav,{ref:_e,currentName:$e.value,editable:t.editable,type:t.type,panes:de.value,stretch:t.stretch,onTabClick:Fe,onTabRemove:Ue},null)]),Lt=createVNode("div",{class:ue.e("content")},[renderSlot(V,"default")]);return createVNode("div",{class:[ue.b(),ue.m(t.tabPosition),{[ue.m("card")]:t.type==="card",[ue.m("border-card")]:t.type==="border-card"}]},[...t.tabPosition!=="bottom"?[At,Lt]:[Lt,At]])}}});const tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$c=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$j=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$q=defineComponent({...__default__$j,props:tabPaneProps,setup(t){const r=t,V=getCurrentInstance(),oe=useSlots(),ie=inject(tabsRootContextKey);ie||throwError$1(COMPONENT_NAME$1,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const le=useNamespace("tab-pane"),ue=ref(),de=computed(()=>r.closable||ie.props.closable),pe=computedEager(()=>{var Ve;return ie.currentName.value===((Ve=r.name)!=null?Ve:ue.value)}),he=ref(pe.value),_e=computed(()=>{var Ve;return(Ve=r.name)!=null?Ve:ue.value}),$e=computedEager(()=>!r.lazy||he.value||pe.value);watch(pe,Ve=>{Ve&&(he.value=!0)});const Ie=reactive({uid:V.uid,slots:oe,props:r,paneName:_e,active:pe,index:ue,isClosable:de});return onMounted(()=>{ie.registerPane(Ie)}),onUnmounted(()=>{ie.unregisterPane(Ie.uid)}),(Ve,Fe)=>unref($e)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(_e)}`,class:normalizeClass(unref(le).b()),role:"tabpanel","aria-hidden":!unref(pe),"aria-labelledby":`tab-${unref(_e)}`},[renderSlot(Ve.$slots,"default")],10,_hoisted_1$c)),[[vShow,unref(pe)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:{type:Boolean},tag:{type:String,default:"span"}}),__default__$i=defineComponent({name:"ElText"}),_sfc_main$p=defineComponent({...__default__$i,props:textProps,setup(t){const r=t,V=useFormSize(),oe=useNamespace("text"),ie=computed(()=>[oe.b(),oe.m(r.type),oe.m(V.value),oe.is("truncated",r.truncated)]);return(le,ue)=>(openBlock(),createBlock(resolveDynamicComponent(le.tag),{class:normalizeClass(unref(ie))},{default:withCtx(()=>[renderSlot(le.$slots,"default")]),_:3},8,["class"]))}});var Text=_export_sfc$1(_sfc_main$p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const ElText=withInstall(Text),timeSelectProps=buildProps({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:useSizeProp,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default}}),parseTime=t=>{const r=(t||"").split(":");if(r.length>=2){let V=Number.parseInt(r[0],10);const oe=Number.parseInt(r[1],10),ie=t.toUpperCase();return ie.includes("AM")&&V===12?V=0:ie.includes("PM")&&V!==12&&(V+=12),{hours:V,minutes:oe}}return null},compareTime=(t,r)=>{const V=parseTime(t);if(!V)return-1;const oe=parseTime(r);if(!oe)return-1;const ie=V.minutes+V.hours*60,le=oe.minutes+oe.hours*60;return ie===le?0:ie>le?1:-1},padTime=t=>`${t}`.padStart(2,"0"),formatTime$1=t=>`${padTime(t.hours)}:${padTime(t.minutes)}`,nextTime=(t,r)=>{const V=parseTime(t);if(!V)return"";const oe=parseTime(r);if(!oe)return"";const ie={hours:V.hours,minutes:V.minutes};return ie.minutes+=oe.minutes,ie.hours+=oe.hours,ie.hours+=Math.floor(ie.minutes/60),ie.minutes=ie.minutes%60,formatTime$1(ie)},__default__$h=defineComponent({name:"ElTimeSelect"}),_sfc_main$o=defineComponent({...__default__$h,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(t,{expose:r}){const V=t;dayjs.extend(customParseFormat);const{Option:oe}=ElSelect,ie=useNamespace("input"),le=ref(),ue=useFormDisabled(),de=computed(()=>V.modelValue),pe=computed(()=>{const qe=parseTime(V.start);return qe?formatTime$1(qe):null}),he=computed(()=>{const qe=parseTime(V.end);return qe?formatTime$1(qe):null}),_e=computed(()=>{const qe=parseTime(V.step);return qe?formatTime$1(qe):null}),$e=computed(()=>{const qe=parseTime(V.minTime||"");return qe?formatTime$1(qe):null}),Ie=computed(()=>{const qe=parseTime(V.maxTime||"");return qe?formatTime$1(qe):null}),Ve=computed(()=>{const qe=[];if(V.start&&V.end&&V.step){let Et=pe.value,At;for(;Et&&he.value&&compareTime(Et,he.value)<=0;)At=dayjs(Et,"HH:mm").format(V.format),qe.push({value:At,disabled:compareTime(Et,$e.value||"-1:-1")<=0||compareTime(Et,Ie.value||"100:100")>=0}),Et=nextTime(Et,_e.value)}return qe});return r({blur:()=>{var qe,Et;(Et=(qe=le.value)==null?void 0:qe.blur)==null||Et.call(qe)},focus:()=>{var qe,Et;(Et=(qe=le.value)==null?void 0:qe.focus)==null||Et.call(qe)}}),(qe,Et)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:le,"model-value":unref(de),disabled:unref(ue),clearable:qe.clearable,"clear-icon":qe.clearIcon,size:qe.size,effect:qe.effect,placeholder:qe.placeholder,"default-first-option":"",filterable:qe.editable,"onUpdate:modelValue":Et[0]||(Et[0]=At=>qe.$emit("update:modelValue",At)),onChange:Et[1]||(Et[1]=At=>qe.$emit("change",At)),onBlur:Et[2]||(Et[2]=At=>qe.$emit("blur",At)),onFocus:Et[3]||(Et[3]=At=>qe.$emit("focus",At))},{prefix:withCtx(()=>[qe.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(qe.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ve),At=>(openBlock(),createBlock(unref(oe),{key:At.value,label:At.value,value:At.value,disabled:At.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable"]))}});var TimeSelect=_export_sfc$1(_sfc_main$o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);TimeSelect.install=t=>{t.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup(t,{slots:r}){const V=useNamespace("timeline");return provide("timeline",r),()=>h$2("ul",{class:[V.b()]},[renderSlot(r,"default")])}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:iconPropType},hollow:{type:Boolean,default:!1}}),__default__$g=defineComponent({name:"ElTimelineItem"}),_sfc_main$n=defineComponent({...__default__$g,props:timelineItemProps,setup(t){const r=t,V=useNamespace("timeline-item"),oe=computed(()=>[V.e("node"),V.em("node",r.size||""),V.em("node",r.type||""),V.is("hollow",r.hollow)]);return(ie,le)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(V).b(),{[unref(V).e("center")]:ie.center}])},[createBaseVNode("div",{class:normalizeClass(unref(V).e("tail"))},null,2),ie.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe)),style:normalizeStyle$1({backgroundColor:ie.color})},[ie.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(V).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ie.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),ie.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(V).e("dot"))},[renderSlot(ie.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(V).e("wrapper"))},[!ie.hideTimestamp&&ie.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(V).e("timestamp"),unref(V).is("top")])},toDisplayString$1(ie.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(V).e("content"))},[renderSlot(ie.$slots,"default")],2),!ie.hideTimestamp&&ie.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(V).e("timestamp"),unref(V).is("bottom")])},toDisplayString$1(ie.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$1(_sfc_main$n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(t=>(t.top="top",t.bottom="bottom",t.left="left",t.right="right",t))(TooltipV2Sides||{});const tooltipV2Sides=Object.values(TooltipV2Sides),tooltipV2ArrowProps=buildProps({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:definePropType(Object),default:null}}),tooltipV2ArrowSpecialProps=buildProps({side:{type:definePropType(String),values:tooltipV2Sides,required:!0}}),tooltipV2Strategies=["absolute","fixed"],tooltipV2Placements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tooltipV2ContentProps=buildProps({ariaLabel:String,arrowPadding:{type:definePropType(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:definePropType(String),values:tooltipV2Placements,default:"bottom"},reference:{type:definePropType(Object),default:null},offset:{type:Number,default:8},strategy:{type:definePropType(String),values:tooltipV2Strategies,default:"absolute"},showArrow:{type:Boolean,default:!1}}),tooltipV2RootProps=buildProps({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:definePropType(Function)},"onUpdate:open":{type:definePropType(Function)}}),EventHandler={type:definePropType(Function)},tooltipV2TriggerProps=buildProps({onBlur:EventHandler,onClick:EventHandler,onFocus:EventHandler,onMouseDown:EventHandler,onMouseEnter:EventHandler,onMouseLeave:EventHandler}),tooltipV2Props=buildProps({...tooltipV2RootProps,...tooltipV2ArrowProps,...tooltipV2TriggerProps,...tooltipV2ContentProps,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:definePropType(Object),default:null},teleported:Boolean,to:{type:definePropType(String),default:"body"}}),tooltipV2RootKey=Symbol("tooltipV2"),tooltipV2ContentKey=Symbol("tooltipV2Content"),TOOLTIP_V2_OPEN="tooltip_v2.open",__default__$f=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$m=defineComponent({...__default__$f,props:tooltipV2RootProps,setup(t,{expose:r}){const V=t,oe=ref(V.defaultOpen),ie=ref(null),le=computed({get:()=>isPropAbsent(V.open)?oe.value:V.open,set:qe=>{var Et;oe.value=qe,(Et=V["onUpdate:open"])==null||Et.call(V,qe)}}),ue=computed(()=>isNumber$4(V.delayDuration)&&V.delayDuration>0),{start:de,stop:pe}=useTimeoutFn$1(()=>{le.value=!0},computed(()=>V.delayDuration),{immediate:!1}),he=useNamespace("tooltip-v2"),_e=useId(),$e=()=>{pe(),le.value=!0},Ie=()=>{unref(ue)?de():$e()},Ve=$e,Fe=()=>{pe(),le.value=!1};return watch(le,qe=>{var Et;qe&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),Ve()),(Et=V.onOpenChange)==null||Et.call(V,qe)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,Fe)}),onBeforeUnmount(()=>{pe(),document.removeEventListener(TOOLTIP_V2_OPEN,Fe)}),provide(tooltipV2RootKey,{contentId:_e,triggerRef:ie,ns:he,onClose:Fe,onDelayOpen:Ie,onOpen:Ve}),r({onOpen:Ve,onClose:Fe}),(qe,Et)=>renderSlot(qe.$slots,"default",{open:unref(le)})}});var TooltipV2Root=_export_sfc$1(_sfc_main$m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const __default__$e=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$l=defineComponent({...__default__$e,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(t){const r=t,{ns:V}=inject(tooltipV2RootKey),{arrowRef:oe}=inject(tooltipV2ContentKey),ie=computed(()=>{const{style:le,width:ue,height:de}=r,pe=V.namespace.value;return{[`--${pe}-tooltip-v2-arrow-width`]:`${ue}px`,[`--${pe}-tooltip-v2-arrow-height`]:`${de}px`,[`--${pe}-tooltip-v2-arrow-border-width`]:`${ue/2}px`,[`--${pe}-tooltip-v2-arrow-cover-width`]:ue/2-1,...le||{}}});return(le,ue)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:oe,style:normalizeStyle$1(unref(ie)),class:normalizeClass(unref(V).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$1(_sfc_main$l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/arrow.vue"]]);const visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$d=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$k=defineComponent({...__default__$d,props:visualHiddenProps,setup(t){const r=t,V=computed(()=>[r.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(oe,ie)=>(openBlock(),createElementBlock("span",mergeProps(oe.$attrs,{style:unref(V)}),[renderSlot(oe.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$1(_sfc_main$k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const _hoisted_1$b=["data-side"],__default__$c=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$j=defineComponent({...__default__$c,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(t){const r=t,{triggerRef:V,contentId:oe}=inject(tooltipV2RootKey),ie=ref(r.placement),le=ref(r.strategy),ue=ref(null),{referenceRef:de,contentRef:pe,middlewareData:he,x:_e,y:$e,update:Ie}=useFloating({placement:ie,strategy:le,middleware:computed(()=>{const Lt=[offset(r.offset)];return r.showArrow&&Lt.push(arrowMiddleware({arrowRef:ue})),Lt})}),Ve=useZIndex().nextZIndex(),Fe=useNamespace("tooltip-v2"),Ue=computed(()=>ie.value.split("-")[0]),qe=computed(()=>({position:unref(le),top:`${unref($e)||0}px`,left:`${unref(_e)||0}px`,zIndex:Ve})),Et=computed(()=>{if(!r.showArrow)return{};const{arrow:Lt}=unref(he);return{[`--${Fe.namespace.value}-tooltip-v2-arrow-x`]:`${Lt==null?void 0:Lt.x}px`||"",[`--${Fe.namespace.value}-tooltip-v2-arrow-y`]:`${Lt==null?void 0:Lt.y}px`||""}}),At=computed(()=>[Fe.e("content"),Fe.is("dark",r.effect==="dark"),Fe.is(unref(le)),r.contentClass]);return watch(ue,()=>Ie()),watch(()=>r.placement,Lt=>ie.value=Lt),onMounted(()=>{watch(()=>r.reference||V.value,Lt=>{de.value=Lt||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:ue}),(Lt,hn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:pe,style:normalizeStyle$1(unref(qe)),"data-tooltip-v2-root":""},[Lt.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(Ue),class:normalizeClass(unref(At))},[renderSlot(Lt.$slots,"default",{contentStyle:unref(qe),contentClass:unref(At)}),createVNode(unref(ElVisuallyHidden),{id:unref(oe),role:"tooltip"},{default:withCtx(()=>[Lt.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(Lt.ariaLabel),1)],64)):renderSlot(Lt.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(Lt.$slots,"arrow",{style:normalizeStyle$1(unref(Et)),side:unref(Ue)})],10,_hoisted_1$b))],4))}});var TooltipV2Content=_export_sfc$1(_sfc_main$j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup(t,{slots:r}){const V=ref(),oe=composeRefs(V,ie=>{ie?t.setRef(ie.nextElementSibling):t.setRef(null)});return()=>{var ie;const[le]=((ie=r.default)==null?void 0:ie.call(r))||[],ue=t.onlyChild?ensureOnlyChild(le.children):le.children;return createVNode(Fragment,{ref:oe},[ue])}}});const __default__$b=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$i=defineComponent({...__default__$b,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(t){const r=t,{onClose:V,onOpen:oe,onDelayOpen:ie,triggerRef:le,contentId:ue}=inject(tooltipV2RootKey);let de=!1;const pe=At=>{le.value=At},he=()=>{de=!1},_e=composeEventHandlers(r.onMouseEnter,ie),$e=composeEventHandlers(r.onMouseLeave,V),Ie=composeEventHandlers(r.onMouseDown,()=>{V(),de=!0,document.addEventListener("mouseup",he,{once:!0})}),Ve=composeEventHandlers(r.onFocus,()=>{de||oe()}),Fe=composeEventHandlers(r.onBlur,V),Ue=composeEventHandlers(r.onClick,At=>{At.detail===0&&V()}),qe={blur:Fe,click:Ue,focus:Ve,mousedown:Ie,mouseenter:_e,mouseleave:$e},Et=(At,Lt,hn)=>{At&&Object.entries(Lt).forEach(([_n,vn])=>{At[hn](_n,vn)})};return watch(le,(At,Lt)=>{Et(At,qe,"addEventListener"),Et(Lt,qe,"removeEventListener"),At&&At.setAttribute("aria-describedby",ue.value)}),onBeforeUnmount(()=>{Et(le.value,qe,"removeEventListener"),document.removeEventListener("mouseup",he)}),(At,Lt)=>At.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":pe,"only-child":""},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:le},At.$attrs),[renderSlot(At.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$1(_sfc_main$i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const __default__$a=defineComponent({name:"ElTooltipV2"}),_sfc_main$h=defineComponent({...__default__$a,props:tooltipV2Props,setup(t){const V=toRefs(t),oe=reactive(pick$1(V,Object.keys(tooltipV2ArrowProps))),ie=reactive(pick$1(V,Object.keys(tooltipV2ContentProps))),le=reactive(pick$1(V,Object.keys(tooltipV2RootProps))),ue=reactive(pick$1(V,Object.keys(tooltipV2TriggerProps)));return(de,pe)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(le)),{default:withCtx(({open:he})=>[createVNode(TooltipV2Trigger,mergeProps(ue,{nowrap:""}),{default:withCtx(()=>[renderSlot(de.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:de.to,disabled:!de.teleported},[de.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},de.transitionProps)),{default:withCtx(()=>[de.alwaysOn||he?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},ie)),{arrow:withCtx(({style:_e,side:$e})=>[de.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},oe,{style:_e,side:$e}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(de.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[de.alwaysOn||he?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},ie)),{arrow:withCtx(({style:_e,side:$e})=>[de.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},oe,{style:_e,side:$e}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(de.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$1(_sfc_main$h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/tooltip.vue"]]);const ElTooltipV2=withInstall(TooltipV2),LEFT_CHECK_CHANGE_EVENT="left-check-change",RIGHT_CHECK_CHANGE_EVENT="right-check-change",transferProps=buildProps({data:{type:definePropType(Array),default:()=>[]},titles:{type:definePropType(Array),default:()=>[]},buttonTexts:{type:definePropType(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:definePropType(Function)},leftDefaultChecked:{type:definePropType(Array),default:()=>[]},rightDefaultChecked:{type:definePropType(Array),default:()=>[]},renderContent:{type:definePropType(Function)},modelValue:{type:definePropType(Array),default:()=>[]},format:{type:definePropType(Object),default:()=>({})},filterable:Boolean,props:{type:definePropType(Object),default:()=>mutable({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),transferCheckedChangeFn=(t,r)=>[t,r].every(isArray$c)||isArray$c(t)&&isNil(r),transferEmits={[CHANGE_EVENT]:(t,r,V)=>[t,V].every(isArray$c)&&["left","right"].includes(r),[UPDATE_MODEL_EVENT]:t=>isArray$c(t),[LEFT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn,[RIGHT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn},CHECKED_CHANGE_EVENT="checked-change",transferPanelProps=buildProps({data:transferProps.data,optionRender:{type:definePropType(Function)},placeholder:String,title:String,filterable:Boolean,format:transferProps.format,filterMethod:transferProps.filterMethod,defaultChecked:transferProps.leftDefaultChecked,props:transferProps.props}),transferPanelEmits={[CHECKED_CHANGE_EVENT]:transferCheckedChangeFn},usePropsAlias=t=>{const r={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...r,...t.props}))},useCheck$1=(t,r,V)=>{const oe=usePropsAlias(t),ie=computed(()=>t.data.filter(_e=>isFunction$5(t.filterMethod)?t.filterMethod(r.query,_e):String(_e[oe.value.label]||_e[oe.value.key]).toLowerCase().includes(r.query.toLowerCase()))),le=computed(()=>ie.value.filter(_e=>!_e[oe.value.disabled])),ue=computed(()=>{const _e=r.checked.length,$e=t.data.length,{noChecked:Ie,hasChecked:Ve}=t.format;return Ie&&Ve?_e>0?Ve.replace(/\${checked}/g,_e.toString()).replace(/\${total}/g,$e.toString()):Ie.replace(/\${total}/g,$e.toString()):`${_e}/${$e}`}),de=computed(()=>{const _e=r.checked.length;return _e>0&&_e<le.value.length}),pe=()=>{const _e=le.value.map($e=>$e[oe.value.key]);r.allChecked=_e.length>0&&_e.every($e=>r.checked.includes($e))},he=_e=>{r.checked=_e?le.value.map($e=>$e[oe.value.key]):[]};return watch(()=>r.checked,(_e,$e)=>{if(pe(),r.checkChangeByUser){const Ie=_e.concat($e).filter(Ve=>!_e.includes(Ve)||!$e.includes(Ve));V(CHECKED_CHANGE_EVENT,_e,Ie)}else V(CHECKED_CHANGE_EVENT,_e),r.checkChangeByUser=!0}),watch(le,()=>{pe()}),watch(()=>t.data,()=>{const _e=[],$e=ie.value.map(Ie=>Ie[oe.value.key]);r.checked.forEach(Ie=>{$e.includes(Ie)&&_e.push(Ie)}),r.checkChangeByUser=!1,r.checked=_e}),watch(()=>t.defaultChecked,(_e,$e)=>{if($e&&_e.length===$e.length&&_e.every(Fe=>$e.includes(Fe)))return;const Ie=[],Ve=le.value.map(Fe=>Fe[oe.value.key]);_e.forEach(Fe=>{Ve.includes(Fe)&&Ie.push(Fe)}),r.checkChangeByUser=!1,r.checked=Ie},{immediate:!0}),{filteredData:ie,checkableData:le,checkedSummary:ue,isIndeterminate:de,updateAllChecked:pe,handleAllCheckedChange:he}},useCheckedChange=(t,r)=>({onSourceCheckedChange:(ie,le)=>{t.leftChecked=ie,le&&r(LEFT_CHECK_CHANGE_EVENT,ie,le)},onTargetCheckedChange:(ie,le)=>{t.rightChecked=ie,le&&r(RIGHT_CHECK_CHANGE_EVENT,ie,le)}}),useComputedData=t=>{const r=usePropsAlias(t),V=computed(()=>t.data.reduce((le,ue)=>(le[ue[r.value.key]]=ue)&&le,{})),oe=computed(()=>t.data.filter(le=>!t.modelValue.includes(le[r.value.key]))),ie=computed(()=>t.targetOrder==="original"?t.data.filter(le=>t.modelValue.includes(le[r.value.key])):t.modelValue.reduce((le,ue)=>{const de=V.value[ue];return de&&le.push(de),le},[]));return{sourceData:oe,targetData:ie}},useMove=(t,r,V)=>{const oe=usePropsAlias(t),ie=(de,pe,he)=>{V(UPDATE_MODEL_EVENT,de),V(CHANGE_EVENT,de,pe,he)};return{addToLeft:()=>{const de=t.modelValue.slice();r.rightChecked.forEach(pe=>{const he=de.indexOf(pe);he>-1&&de.splice(he,1)}),ie(de,"left",r.rightChecked)},addToRight:()=>{let de=t.modelValue.slice();const pe=t.data.filter(he=>{const _e=he[oe.value.key];return r.leftChecked.includes(_e)&&!t.modelValue.includes(_e)}).map(he=>he[oe.value.key]);de=t.targetOrder==="unshift"?pe.concat(de):de.concat(pe),t.targetOrder==="original"&&(de=t.data.filter(he=>de.includes(he[oe.value.key])).map(he=>he[oe.value.key])),ie(de,"right",r.leftChecked)}}},__default__$9=defineComponent({name:"ElTransferPanel"}),_sfc_main$g=defineComponent({...__default__$9,props:transferPanelProps,emits:transferPanelEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useSlots(),le=({option:Lt})=>Lt,{t:ue}=useLocale(),de=useNamespace("transfer"),pe=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),he=usePropsAlias(oe),{filteredData:_e,checkedSummary:$e,isIndeterminate:Ie,handleAllCheckedChange:Ve}=useCheck$1(oe,pe,V),Fe=computed(()=>!isEmpty(pe.query)&&isEmpty(_e.value)),Ue=computed(()=>!isEmpty(ie.default()[0].children)),{checked:qe,allChecked:Et,query:At}=toRefs(pe);return r({query:At}),(Lt,hn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(de).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(de).be("panel","header"))},[createVNode(unref(ElCheckbox),{modelValue:unref(Et),"onUpdate:modelValue":hn[0]||(hn[0]=_n=>isRef(Et)?Et.value=_n:null),indeterminate:unref(Ie),"validate-event":!1,onChange:unref(Ve)},{default:withCtx(()=>[createTextVNode(toDisplayString$1(Lt.title)+" ",1),createBaseVNode("span",null,toDisplayString$1(unref($e)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(de).be("panel","body"),unref(de).is("with-footer",unref(Ue))])},[Lt.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(At),"onUpdate:modelValue":hn[1]||(hn[1]=_n=>isRef(At)?At.value=_n:null),class:normalizeClass(unref(de).be("panel","filter")),size:"default",placeholder:Lt.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode(unref(ElCheckboxGroup$1),{modelValue:unref(qe),"onUpdate:modelValue":hn[2]||(hn[2]=_n=>isRef(qe)?qe.value=_n:null),"validate-event":!1,class:normalizeClass([unref(de).is("filterable",Lt.filterable),unref(de).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),_n=>(openBlock(),createBlock(unref(ElCheckbox),{key:_n[unref(he).key],class:normalizeClass(unref(de).be("panel","item")),label:_n[unref(he).key],disabled:_n[unref(he).disabled],"validate-event":!1},{default:withCtx(()=>{var vn;return[createVNode(le,{option:(vn=Lt.optionRender)==null?void 0:vn.call(Lt,_n)},null,8,["option"])]}),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(Fe)&&!unref(isEmpty)(Lt.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(de).be("panel","empty"))},toDisplayString$1(unref(Fe)?unref(ue)("el.transfer.noMatch"):unref(ue)("el.transfer.noData")),3),[[vShow,unref(Fe)||unref(isEmpty)(Lt.data)]])],2),unref(Ue)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(de).be("panel","footer"))},[renderSlot(Lt.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$1(_sfc_main$g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const _hoisted_1$a={key:0},_hoisted_2$8={key:0},__default__$8=defineComponent({name:"ElTransfer"}),_sfc_main$f=defineComponent({...__default__$8,props:transferProps,emits:transferEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useSlots(),{t:le}=useLocale(),ue=useNamespace("transfer"),{formItem:de}=useFormItem(),pe=reactive({leftChecked:[],rightChecked:[]}),he=usePropsAlias(oe),{sourceData:_e,targetData:$e}=useComputedData(oe),{onSourceCheckedChange:Ie,onTargetCheckedChange:Ve}=useCheckedChange(pe,V),{addToLeft:Fe,addToRight:Ue}=useMove(oe,pe,V),qe=ref(),Et=ref(),At=Cn=>{switch(Cn){case"left":qe.value.query="";break;case"right":Et.value.query="";break}},Lt=computed(()=>oe.buttonTexts.length===2),hn=computed(()=>oe.titles[0]||le("el.transfer.titles.0")),_n=computed(()=>oe.titles[1]||le("el.transfer.titles.1")),vn=computed(()=>oe.filterPlaceholder||le("el.transfer.filterPlaceholder"));watch(()=>oe.modelValue,()=>{var Cn;oe.validateEvent&&((Cn=de==null?void 0:de.validate)==null||Cn.call(de,"change").catch(Sn=>void 0))});const bn=computed(()=>Cn=>oe.renderContent?oe.renderContent(h$2,Cn):ie.default?ie.default({option:Cn}):h$2("span",Cn[he.value.label]||Cn[he.value.key]));return r({clearQuery:At,leftPanel:qe,rightPanel:Et}),(Cn,Sn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue).b())},[createVNode(TransferPanel,{ref_key:"leftPanel",ref:qe,data:unref(_e),"option-render":unref(bn),placeholder:unref(vn),title:unref(hn),filterable:Cn.filterable,format:Cn.format,"filter-method":Cn.filterMethod,"default-checked":Cn.leftDefaultChecked,props:oe.props,onCheckedChange:unref(Ie)},{default:withCtx(()=>[renderSlot(Cn.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(ue).e("buttons"))},[createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(ue).e("button"),unref(ue).is("with-texts",unref(Lt))]),disabled:unref(isEmpty)(pe.rightChecked),onClick:unref(Fe)},{default:withCtx(()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1}),unref(isUndefined$1)(Cn.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$a,toDisplayString$1(Cn.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(ue).e("button"),unref(ue).is("with-texts",unref(Lt))]),disabled:unref(isEmpty)(pe.leftChecked),onClick:unref(Ue)},{default:withCtx(()=>[unref(isUndefined$1)(Cn.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$8,toDisplayString$1(Cn.buttonTexts[1]),1)),createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode(TransferPanel,{ref_key:"rightPanel",ref:Et,data:unref($e),"option-render":unref(bn),placeholder:unref(vn),filterable:Cn.filterable,format:Cn.format,"filter-method":Cn.filterMethod,title:unref(_n),"default-checked":Cn.rightDefaultChecked,props:oe.props,onCheckedChange:unref(Ve)},{default:withCtx(()=>[renderSlot(Cn.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc$1(_sfc_main$f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(t,r){!r||r[NODE_KEY]||Object.defineProperty(r,NODE_KEY,{value:t.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function(t,r){return t?r[t]:r[NODE_KEY]},handleCurrentChange=(t,r,V)=>{const oe=t.value.currentNode;V();const ie=t.value.currentNode;oe!==ie&&r("current-change",ie?ie.data:null,ie)},getChildState=t=>{let r=!0,V=!0,oe=!0;for(let ie=0,le=t.length;ie<le;ie++){const ue=t[ie];(ue.checked!==!0||ue.indeterminate)&&(r=!1,ue.disabled||(oe=!1)),(ue.checked!==!1||ue.indeterminate)&&(V=!1)}return{all:r,none:V,allWithoutDisable:oe,half:!r&&!V}},reInitChecked=function(t){if(t.childNodes.length===0||t.loading)return;const{all:r,none:V,half:oe}=getChildState(t.childNodes);r?(t.checked=!0,t.indeterminate=!1):oe?(t.checked=!1,t.indeterminate=!0):V&&(t.checked=!1,t.indeterminate=!1);const ie=t.parent;!ie||ie.level===0||t.store.checkStrictly||reInitChecked(ie)},getPropertyFromData=function(t,r){const V=t.store.props,oe=t.data||{},ie=V[r];if(typeof ie=="function")return ie(oe,t);if(typeof ie=="string")return oe[ie];if(typeof ie>"u"){const le=oe[r];return le===void 0?"":le}};let nodeIdSeed=0,Node$1=class go{constructor(r){this.id=nodeIdSeed++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const V in r)hasOwn$4(r,V)&&(this[V]=r[V]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const r=this.store;if(!r)throw new Error("[Node]store is required!");r.registerNode(this);const V=r.props;if(V&&typeof V.isLeaf<"u"){const le=getPropertyFromData(this,"isLeaf");typeof le=="boolean"&&(this.isLeafByUser=le)}if(r.lazy!==!0&&this.data?(this.setData(this.data),r.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&r.lazy&&r.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const oe=r.defaultExpandedKeys,ie=r.key;ie&&oe&&oe.includes(this.key)&&this.expand(null,r.autoExpandParent),ie&&r.currentNodeKey!==void 0&&this.key===r.currentNodeKey&&(r.currentNode=this,r.currentNode.isCurrent=!0),r.lazy&&r._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(r){Array.isArray(r)||markNodeData(this,r),this.data=r,this.childNodes=[];let V;this.level===0&&Array.isArray(this.data)?V=this.data:V=getPropertyFromData(this,"children")||[];for(let oe=0,ie=V.length;oe<ie;oe++)this.insertChild({data:V[oe]})}get label(){return getPropertyFromData(this,"label")}get key(){const r=this.store.key;return this.data?this.data[r]:null}get disabled(){return getPropertyFromData(this,"disabled")}get nextSibling(){const r=this.parent;if(r){const V=r.childNodes.indexOf(this);if(V>-1)return r.childNodes[V+1]}return null}get previousSibling(){const r=this.parent;if(r){const V=r.childNodes.indexOf(this);if(V>-1)return V>0?r.childNodes[V-1]:null}return null}contains(r,V=!0){return(this.childNodes||[]).some(oe=>oe===r||V&&oe.contains(r))}remove(){const r=this.parent;r&&r.removeChild(this)}insertChild(r,V,oe){if(!r)throw new Error("InsertChild error: child is required.");if(!(r instanceof go)){if(!oe){const ie=this.getChildren(!0);ie.includes(r.data)||(typeof V>"u"||V<0?ie.push(r.data):ie.splice(V,0,r.data))}Object.assign(r,{parent:this,store:this.store}),r=reactive(new go(r)),r instanceof go&&r.initialize()}r.level=this.level+1,typeof V>"u"||V<0?this.childNodes.push(r):this.childNodes.splice(V,0,r),this.updateLeafState()}insertBefore(r,V){let oe;V&&(oe=this.childNodes.indexOf(V)),this.insertChild(r,oe)}insertAfter(r,V){let oe;V&&(oe=this.childNodes.indexOf(V),oe!==-1&&(oe+=1)),this.insertChild(r,oe)}removeChild(r){const V=this.getChildren()||[],oe=V.indexOf(r.data);oe>-1&&V.splice(oe,1);const ie=this.childNodes.indexOf(r);ie>-1&&(this.store&&this.store.deregisterNode(r),r.parent=null,this.childNodes.splice(ie,1)),this.updateLeafState()}removeChildByData(r){let V=null;for(let oe=0;oe<this.childNodes.length;oe++)if(this.childNodes[oe].data===r){V=this.childNodes[oe];break}V&&this.removeChild(V)}expand(r,V){const oe=()=>{if(V){let ie=this.parent;for(;ie.level>0;)ie.expanded=!0,ie=ie.parent}this.expanded=!0,r&&r(),this.childNodes.forEach(ie=>{ie.canFocus=!0})};this.shouldLoadData()?this.loadData(ie=>{Array.isArray(ie)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),oe())}):oe()}doCreateChildren(r,V={}){r.forEach(oe=>{this.insertChild(Object.assign({data:oe},V),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(r=>{r.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const r=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!r||r.length===0;return}this.isLeaf=!1}setChecked(r,V,oe,ie){if(this.indeterminate=r==="half",this.checked=r===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:ue,allWithoutDisable:de}=getChildState(this.childNodes);!this.isLeaf&&!ue&&de&&(this.checked=!1,r=!1);const pe=()=>{if(V){const he=this.childNodes;for(let Ie=0,Ve=he.length;Ie<Ve;Ie++){const Fe=he[Ie];ie=ie||r!==!1;const Ue=Fe.disabled?Fe.checked:ie;Fe.setChecked(Ue,V,!0,ie)}const{half:_e,all:$e}=getChildState(he);$e||(this.checked=$e,this.indeterminate=_e)}};if(this.shouldLoadData()){this.loadData(()=>{pe(),reInitChecked(this)},{checked:r!==!1});return}else pe()}const le=this.parent;!le||le.level===0||oe||reInitChecked(le)}getChildren(r=!1){if(this.level===0)return this.data;const V=this.data;if(!V)return null;const oe=this.store.props;let ie="children";return oe&&(ie=oe.children||"children"),V[ie]===void 0&&(V[ie]=null),r&&!V[ie]&&(V[ie]=[]),V[ie]}updateChildren(){const r=this.getChildren()||[],V=this.childNodes.map(le=>le.data),oe={},ie=[];r.forEach((le,ue)=>{const de=le[NODE_KEY];!!de&&V.findIndex(he=>he[NODE_KEY]===de)>=0?oe[de]={index:ue,data:le}:ie.push({index:ue,data:le})}),this.store.lazy||V.forEach(le=>{oe[le[NODE_KEY]]||this.removeChildByData(le)}),ie.forEach(({index:le,data:ue})=>{this.insertChild({data:ue},le)}),this.updateLeafState()}loadData(r,V={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(V).length)){this.loading=!0;const oe=ie=>{this.childNodes=[],this.doCreateChildren(ie,V),this.loaded=!0,this.loading=!1,this.updateLeafState(),r&&r.call(this,ie)};this.store.load(this,oe)}else r&&r.call(this)}};class TreeStore{constructor(r){this.currentNode=null,this.currentNodeKey=null;for(const V in r)hasOwn$4(r,V)&&(this[V]=r[V]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const r=this.load;r(this.root,V=>{this.root.doCreateChildren(V),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(r){const V=this.filterNodeMethod,oe=this.lazy,ie=function(le){const ue=le.root?le.root.childNodes:le.childNodes;if(ue.forEach(de=>{de.visible=V.call(de,r,de.data,de),ie(de)}),!le.visible&&ue.length){let de=!0;de=!ue.some(pe=>pe.visible),le.root?le.root.visible=de===!1:le.visible=de===!1}r&&le.visible&&!le.isLeaf&&!oe&&le.expand()};ie(this)}setData(r){r!==this.root.data?(this.root.setData(r),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(r){if(r instanceof Node$1)return r;const V=isObject$9(r)?getNodeKey(this.key,r):r;return this.nodesMap[V]||null}insertBefore(r,V){const oe=this.getNode(V);oe.parent.insertBefore({data:r},oe)}insertAfter(r,V){const oe=this.getNode(V);oe.parent.insertAfter({data:r},oe)}remove(r){const V=this.getNode(r);V&&V.parent&&(V===this.currentNode&&(this.currentNode=null),V.parent.removeChild(V))}append(r,V){const oe=V?this.getNode(V):this.root;oe&&oe.insertChild({data:r})}_initDefaultCheckedNodes(){const r=this.defaultCheckedKeys||[],V=this.nodesMap;r.forEach(oe=>{const ie=V[oe];ie&&ie.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(r){(this.defaultCheckedKeys||[]).includes(r.key)&&r.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(r){r!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=r,this._initDefaultCheckedNodes())}registerNode(r){const V=this.key;!r||!r.data||(V?r.key!==void 0&&(this.nodesMap[r.key]=r):this.nodesMap[r.id]=r)}deregisterNode(r){!this.key||!r||!r.data||(r.childNodes.forEach(oe=>{this.deregisterNode(oe)}),delete this.nodesMap[r.key])}getCheckedNodes(r=!1,V=!1){const oe=[],ie=function(le){(le.root?le.root.childNodes:le.childNodes).forEach(de=>{(de.checked||V&&de.indeterminate)&&(!r||r&&de.isLeaf)&&oe.push(de.data),ie(de)})};return ie(this),oe}getCheckedKeys(r=!1){return this.getCheckedNodes(r).map(V=>(V||{})[this.key])}getHalfCheckedNodes(){const r=[],V=function(oe){(oe.root?oe.root.childNodes:oe.childNodes).forEach(le=>{le.indeterminate&&r.push(le.data),V(le)})};return V(this),r}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(r=>(r||{})[this.key])}_getAllNodes(){const r=[],V=this.nodesMap;for(const oe in V)hasOwn$4(V,oe)&&r.push(V[oe]);return r}updateChildren(r,V){const oe=this.nodesMap[r];if(!oe)return;const ie=oe.childNodes;for(let le=ie.length-1;le>=0;le--){const ue=ie[le];this.remove(ue.data)}for(let le=0,ue=V.length;le<ue;le++){const de=V[le];this.append(de,oe.data)}}_setCheckedKeys(r,V=!1,oe){const ie=this._getAllNodes().sort((de,pe)=>pe.level-de.level),le=Object.create(null),ue=Object.keys(oe);ie.forEach(de=>de.setChecked(!1,!1));for(let de=0,pe=ie.length;de<pe;de++){const he=ie[de],_e=he.data[r].toString();if(!ue.includes(_e)){he.checked&&!le[_e]&&he.setChecked(!1,!1);continue}let Ie=he.parent;for(;Ie&&Ie.level>0;)le[Ie.data[r]]=!0,Ie=Ie.parent;if(he.isLeaf||this.checkStrictly){he.setChecked(!0,!1);continue}if(he.setChecked(!0,!0),V){he.setChecked(!1,!1);const Ve=function(Fe){Fe.childNodes.forEach(qe=>{qe.isLeaf||qe.setChecked(!1,!1),Ve(qe)})};Ve(he)}}}setCheckedNodes(r,V=!1){const oe=this.key,ie={};r.forEach(le=>{ie[(le||{})[oe]]=!0}),this._setCheckedKeys(oe,V,ie)}setCheckedKeys(r,V=!1){this.defaultCheckedKeys=r;const oe=this.key,ie={};r.forEach(le=>{ie[le]=!0}),this._setCheckedKeys(oe,V,ie)}setDefaultExpandedKeys(r){r=r||[],this.defaultExpandedKeys=r,r.forEach(V=>{const oe=this.getNode(V);oe&&oe.expand(null,this.autoExpandParent)})}setChecked(r,V,oe){const ie=this.getNode(r);ie&&ie.setChecked(!!V,oe)}getCurrentNode(){return this.currentNode}setCurrentNode(r){const V=this.currentNode;V&&(V.isCurrent=!1),this.currentNode=r,this.currentNode.isCurrent=!0}setUserCurrentNode(r,V=!0){const oe=r[this.key],ie=this.nodesMap[oe];this.setCurrentNode(ie),V&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(r,V=!0){if(r==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const oe=this.getNode(r);oe&&(this.setCurrentNode(oe),V&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$e=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(t){const r=useNamespace("tree"),V=inject("NodeInstance"),oe=inject("RootTree");return()=>{const ie=t.node,{data:le,store:ue}=ie;return t.renderContent?t.renderContent(h$2,{_self:V,node:ie,data:le,store:ue}):oe.ctx.slots.default?oe.ctx.slots.default({node:ie,data:le}):h$2("span",{class:r.be("node","label")},[ie.label])}}});var NodeContent=_export_sfc$1(_sfc_main$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function useNodeExpandEventBroadcast(t){const r=inject("TreeNodeMap",null),V={treeNodeExpand:oe=>{t.node!==oe&&t.node.collapse()},children:[]};return r&&r.children.push(V),provide("TreeNodeMap",V),{broadcastExpanded:oe=>{if(t.accordion)for(const ie of V.children)ie.treeNodeExpand(oe)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:t,ctx:r,el$:V,dropIndicator$:oe,store:ie}){const le=useNamespace("tree"),ue=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:_e,treeNode:$e})=>{if(typeof t.allowDrag=="function"&&!t.allowDrag($e.node))return _e.preventDefault(),!1;_e.dataTransfer.effectAllowed="move";try{_e.dataTransfer.setData("text/plain","")}catch{}ue.value.draggingNode=$e,r.emit("node-drag-start",$e.node,_e)},treeNodeDragOver:({event:_e,treeNode:$e})=>{const Ie=$e,Ve=ue.value.dropNode;Ve&&Ve.node.id!==Ie.node.id&&removeClass(Ve.$el,le.is("drop-inner"));const Fe=ue.value.draggingNode;if(!Fe||!Ie)return;let Ue=!0,qe=!0,Et=!0,At=!0;typeof t.allowDrop=="function"&&(Ue=t.allowDrop(Fe.node,Ie.node,"prev"),At=qe=t.allowDrop(Fe.node,Ie.node,"inner"),Et=t.allowDrop(Fe.node,Ie.node,"next")),_e.dataTransfer.dropEffect=qe||Ue||Et?"move":"none",(Ue||qe||Et)&&(Ve==null?void 0:Ve.node.id)!==Ie.node.id&&(Ve&&r.emit("node-drag-leave",Fe.node,Ve.node,_e),r.emit("node-drag-enter",Fe.node,Ie.node,_e)),(Ue||qe||Et)&&(ue.value.dropNode=Ie),Ie.node.nextSibling===Fe.node&&(Et=!1),Ie.node.previousSibling===Fe.node&&(Ue=!1),Ie.node.contains(Fe.node,!1)&&(qe=!1),(Fe.node===Ie.node||Fe.node.contains(Ie.node))&&(Ue=!1,qe=!1,Et=!1);const Lt=Ie.$el.querySelector(`.${le.be("node","content")}`).getBoundingClientRect(),hn=V.value.getBoundingClientRect();let _n;const vn=Ue?qe?.25:Et?.45:1:-1,bn=Et?qe?.75:Ue?.55:0:1;let Cn=-9999;const Sn=_e.clientY-Lt.top;Sn<Lt.height*vn?_n="before":Sn>Lt.height*bn?_n="after":qe?_n="inner":_n="none";const wn=Ie.$el.querySelector(`.${le.be("node","expand-icon")}`).getBoundingClientRect(),En=oe.value;_n==="before"?Cn=wn.top-hn.top:_n==="after"&&(Cn=wn.bottom-hn.top),En.style.top=`${Cn}px`,En.style.left=`${wn.right-hn.left}px`,_n==="inner"?addClass(Ie.$el,le.is("drop-inner")):removeClass(Ie.$el,le.is("drop-inner")),ue.value.showDropIndicator=_n==="before"||_n==="after",ue.value.allowDrop=ue.value.showDropIndicator||At,ue.value.dropType=_n,r.emit("node-drag-over",Fe.node,Ie.node,_e)},treeNodeDragEnd:_e=>{const{draggingNode:$e,dropType:Ie,dropNode:Ve}=ue.value;if(_e.preventDefault(),_e.dataTransfer.dropEffect="move",$e&&Ve){const Fe={data:$e.node.data};Ie!=="none"&&$e.node.remove(),Ie==="before"?Ve.node.parent.insertBefore(Fe,Ve.node):Ie==="after"?Ve.node.parent.insertAfter(Fe,Ve.node):Ie==="inner"&&Ve.node.insertChild(Fe),Ie!=="none"&&ie.value.registerNode(Fe),removeClass(Ve.$el,le.is("drop-inner")),r.emit("node-drag-end",$e.node,Ve.node,Ie,_e),Ie!=="none"&&r.emit("node-drop",$e.node,Ve.node,Ie,_e)}$e&&!Ve&&r.emit("node-drag-end",$e.node,null,Ie,_e),ue.value.showDropIndicator=!1,ue.value.draggingNode=null,ue.value.dropNode=null,ue.value.allowDrop=!0}}),{dragState:ue}}const _sfc_main$d=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:_CollapseTransition,ElCheckbox,NodeContent,ElIcon,Loading:loading_default},props:{node:{type:Node$1,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(t,r){const V=useNamespace("tree"),{broadcastExpanded:oe}=useNodeExpandEventBroadcast(t),ie=inject("RootTree"),le=ref(!1),ue=ref(!1),de=ref(null),pe=ref(null),he=ref(null),_e=inject(dragEventsKey),$e=getCurrentInstance();provide("NodeInstance",$e),t.node.expanded&&(le.value=!0,ue.value=!0);const Ie=ie.props.props.children||"children";watch(()=>{const Sn=t.node.data[Ie];return Sn&&[...Sn]},()=>{t.node.updateChildren()}),watch(()=>t.node.indeterminate,Sn=>{Ue(t.node.checked,Sn)}),watch(()=>t.node.checked,Sn=>{Ue(Sn,t.node.indeterminate)}),watch(()=>t.node.expanded,Sn=>{nextTick(()=>le.value=Sn),Sn&&(ue.value=!0)});const Ve=Sn=>getNodeKey(ie.props.nodeKey,Sn.data),Fe=Sn=>{const wn=t.props.class;if(!wn)return{};let En;if(isFunction$5(wn)){const{data:xn}=Sn;En=wn(xn,Sn)}else En=wn;return isString$6(En)?{[En]:!0}:En},Ue=(Sn,wn)=>{(de.value!==Sn||pe.value!==wn)&&ie.ctx.emit("check-change",t.node.data,Sn,wn),de.value=Sn,pe.value=wn},qe=Sn=>{handleCurrentChange(ie.store,ie.ctx.emit,()=>ie.store.value.setCurrentNode(t.node)),ie.currentNode.value=t.node,ie.props.expandOnClickNode&&At(),ie.props.checkOnClickNode&&!t.node.disabled&&Lt(null,{target:{checked:!t.node.checked}}),ie.ctx.emit("node-click",t.node.data,t.node,$e,Sn)},Et=Sn=>{ie.instance.vnode.props.onNodeContextmenu&&(Sn.stopPropagation(),Sn.preventDefault()),ie.ctx.emit("node-contextmenu",Sn,t.node.data,t.node,$e)},At=()=>{t.node.isLeaf||(le.value?(ie.ctx.emit("node-collapse",t.node.data,t.node,$e),t.node.collapse()):(t.node.expand(),r.emit("node-expand",t.node.data,t.node,$e)))},Lt=(Sn,wn)=>{t.node.setChecked(wn.target.checked,!ie.props.checkStrictly),nextTick(()=>{const En=ie.store.value;ie.ctx.emit("check",t.node.data,{checkedNodes:En.getCheckedNodes(),checkedKeys:En.getCheckedKeys(),halfCheckedNodes:En.getHalfCheckedNodes(),halfCheckedKeys:En.getHalfCheckedKeys()})})};return{ns:V,node$:he,tree:ie,expanded:le,childNodeRendered:ue,oldChecked:de,oldIndeterminate:pe,getNodeKey:Ve,getNodeClass:Fe,handleSelectChange:Ue,handleClick:qe,handleContextMenu:Et,handleExpandIconClick:At,handleCheckChange:Lt,handleChildNodeExpand:(Sn,wn,En)=>{oe(wn),ie.ctx.emit("node-expand",Sn,wn,En)},handleDragStart:Sn=>{ie.props.draggable&&_e.treeNodeDragStart({event:Sn,treeNode:t})},handleDragOver:Sn=>{Sn.preventDefault(),ie.props.draggable&&_e.treeNodeDragOver({event:Sn,treeNode:{$el:he.value,node:t.node}})},handleDrop:Sn=>{Sn.preventDefault()},handleDragEnd:Sn=>{ie.props.draggable&&_e.treeNodeDragEnd(Sn)},CaretRight:caret_right_default}}}),_hoisted_1$9=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$7=["aria-expanded"];function _sfc_render$3(t,r,V,oe,ie,le){const ue=resolveComponent("el-icon"),de=resolveComponent("el-checkbox"),pe=resolveComponent("loading"),he=resolveComponent("node-content"),_e=resolveComponent("el-tree-node"),$e=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([t.ns.b("node"),t.ns.is("expanded",t.expanded),t.ns.is("current",t.node.isCurrent),t.ns.is("hidden",!t.node.visible),t.ns.is("focusable",!t.node.disabled),t.ns.is("checked",!t.node.disabled&&t.node.checked),t.getNodeClass(t.node)]),role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.node.disabled,"aria-checked":t.node.checked,draggable:t.tree.props.draggable,"data-key":t.getNodeKey(t.node),onClick:r[1]||(r[1]=withModifiers((...Ie)=>t.handleClick&&t.handleClick(...Ie),["stop"])),onContextmenu:r[2]||(r[2]=(...Ie)=>t.handleContextMenu&&t.handleContextMenu(...Ie)),onDragstart:r[3]||(r[3]=withModifiers((...Ie)=>t.handleDragStart&&t.handleDragStart(...Ie),["stop"])),onDragover:r[4]||(r[4]=withModifiers((...Ie)=>t.handleDragOver&&t.handleDragOver(...Ie),["stop"])),onDragend:r[5]||(r[5]=withModifiers((...Ie)=>t.handleDragEnd&&t.handleDragEnd(...Ie),["stop"])),onDrop:r[6]||(r[6]=withModifiers((...Ie)=>t.handleDrop&&t.handleDrop(...Ie),["stop"]))},[createBaseVNode("div",{class:normalizeClass(t.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(t.node.level-1)*t.tree.props.indent+"px"})},[t.tree.props.icon||t.CaretRight?(openBlock(),createBlock(ue,{key:0,class:normalizeClass([t.ns.be("node","expand-icon"),t.ns.is("leaf",t.node.isLeaf),{expanded:!t.node.isLeaf&&t.expanded}]),onClick:withModifiers(t.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.tree.props.icon||t.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),t.showCheckbox?(openBlock(),createBlock(de,{key:1,"model-value":t.node.checked,indeterminate:t.node.indeterminate,disabled:!!t.node.disabled,onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"])),onChange:t.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),t.node.loading?(openBlock(),createBlock(ue,{key:2,class:normalizeClass([t.ns.be("node","loading-icon"),t.ns.is("loading")])},{default:withCtx(()=>[createVNode(pe)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(he,{node:t.node,"render-content":t.renderContent},null,8,["node","render-content"])],6),createVNode($e,null,{default:withCtx(()=>[!t.renderAfterExpand||t.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(t.ns.be("node","children")),role:"group","aria-expanded":t.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.node.childNodes,Ie=>(openBlock(),createBlock(_e,{key:t.getNodeKey(Ie),"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,node:Ie,accordion:t.accordion,props:t.props,onNodeExpand:t.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$7)),[[vShow,t.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$9)),[[vShow,t.node.visible]])}var ElTreeNode$1=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$3],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function useKeydown({el$:t},r){const V=useNamespace("tree"),oe=shallowRef([]),ie=shallowRef([]);onMounted(()=>{ue()}),onUpdated(()=>{oe.value=Array.from(t.value.querySelectorAll("[role=treeitem]")),ie.value=Array.from(t.value.querySelectorAll("input[type=checkbox]"))}),watch(ie,de=>{de.forEach(pe=>{pe.setAttribute("tabindex","-1")})}),useEventListener$1(t,"keydown",de=>{const pe=de.target;if(!pe.className.includes(V.b("node")))return;const he=de.code;oe.value=Array.from(t.value.querySelectorAll(`.${V.is("focusable")}[role=treeitem]`));const _e=oe.value.indexOf(pe);let $e;if([EVENT_CODE.up,EVENT_CODE.down].includes(he)){if(de.preventDefault(),he===EVENT_CODE.up){$e=_e===-1?0:_e!==0?_e-1:oe.value.length-1;const Ve=$e;for(;!r.value.getNode(oe.value[$e].dataset.key).canFocus;){if($e--,$e===Ve){$e=-1;break}$e<0&&($e=oe.value.length-1)}}else{$e=_e===-1?0:_e<oe.value.length-1?_e+1:0;const Ve=$e;for(;!r.value.getNode(oe.value[$e].dataset.key).canFocus;){if($e++,$e===Ve){$e=-1;break}$e>=oe.value.length&&($e=0)}}$e!==-1&&oe.value[$e].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(he)&&(de.preventDefault(),pe.click());const Ie=pe.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(he)&&Ie&&(de.preventDefault(),Ie.click())});const ue=()=>{var de;oe.value=Array.from(t.value.querySelectorAll(`.${V.is("focusable")}[role=treeitem]`)),ie.value=Array.from(t.value.querySelectorAll("input[type=checkbox]"));const pe=t.value.querySelectorAll(`.${V.is("checked")}[role=treeitem]`);if(pe.length){pe[0].setAttribute("tabindex","0");return}(de=oe.value[0])==null||de.setAttribute("tabindex","0")}}const _sfc_main$c=defineComponent({name:"ElTree",components:{ElTreeNode:ElTreeNode$1},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:iconPropType}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(t,r){const{t:V}=useLocale(),oe=useNamespace("tree"),ie=ref(new TreeStore({key:t.nodeKey,data:t.data,lazy:t.lazy,props:t.props,load:t.load,currentNodeKey:t.currentNodeKey,checkStrictly:t.checkStrictly,checkDescendants:t.checkDescendants,defaultCheckedKeys:t.defaultCheckedKeys,defaultExpandedKeys:t.defaultExpandedKeys,autoExpandParent:t.autoExpandParent,defaultExpandAll:t.defaultExpandAll,filterNodeMethod:t.filterNodeMethod}));ie.value.initialize();const le=ref(ie.value.root),ue=ref(null),de=ref(null),pe=ref(null),{broadcastExpanded:he}=useNodeExpandEventBroadcast(t),{dragState:_e}=useDragNodeHandler({props:t,ctx:r,el$:de,dropIndicator$:pe,store:ie});useKeydown({el$:de},ie);const $e=computed(()=>{const{childNodes:Mn}=le.value;return!Mn||Mn.length===0||Mn.every(({visible:Ln})=>!Ln)});watch(()=>t.currentNodeKey,Mn=>{ie.value.setCurrentNodeKey(Mn)}),watch(()=>t.defaultCheckedKeys,Mn=>{ie.value.setDefaultCheckedKey(Mn)}),watch(()=>t.defaultExpandedKeys,Mn=>{ie.value.setDefaultExpandedKeys(Mn)}),watch(()=>t.data,Mn=>{ie.value.setData(Mn)},{deep:!0}),watch(()=>t.checkStrictly,Mn=>{ie.value.checkStrictly=Mn});const Ie=Mn=>{if(!t.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");ie.value.filter(Mn)},Ve=Mn=>getNodeKey(t.nodeKey,Mn.data),Fe=Mn=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const Ln=ie.value.getNode(Mn);if(!Ln)return[];const An=[Ln.data];let Vn=Ln.parent;for(;Vn&&Vn!==le.value;)An.push(Vn.data),Vn=Vn.parent;return An.reverse()},Ue=(Mn,Ln)=>ie.value.getCheckedNodes(Mn,Ln),qe=Mn=>ie.value.getCheckedKeys(Mn),Et=()=>{const Mn=ie.value.getCurrentNode();return Mn?Mn.data:null},At=()=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const Mn=Et();return Mn?Mn[t.nodeKey]:null},Lt=(Mn,Ln)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");ie.value.setCheckedNodes(Mn,Ln)},hn=(Mn,Ln)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");ie.value.setCheckedKeys(Mn,Ln)},_n=(Mn,Ln,An)=>{ie.value.setChecked(Mn,Ln,An)},vn=()=>ie.value.getHalfCheckedNodes(),bn=()=>ie.value.getHalfCheckedKeys(),Cn=(Mn,Ln=!0)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(ie,r.emit,()=>ie.value.setUserCurrentNode(Mn,Ln))},Sn=(Mn,Ln=!0)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(ie,r.emit,()=>ie.value.setCurrentNodeKey(Mn,Ln))},wn=Mn=>ie.value.getNode(Mn),En=Mn=>{ie.value.remove(Mn)},xn=(Mn,Ln)=>{ie.value.append(Mn,Ln)},Pn=(Mn,Ln)=>{ie.value.insertBefore(Mn,Ln)},kn=(Mn,Ln)=>{ie.value.insertAfter(Mn,Ln)},Nn=(Mn,Ln,An)=>{he(Ln),r.emit("node-expand",Mn,Ln,An)},Dn=(Mn,Ln)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");ie.value.updateChildren(Mn,Ln)};return provide("RootTree",{ctx:r,props:t,store:ie,root:le,currentNode:ue,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:oe,store:ie,root:le,currentNode:ue,dragState:_e,el$:de,dropIndicator$:pe,isEmpty:$e,filter:Ie,getNodeKey:Ve,getNodePath:Fe,getCheckedNodes:Ue,getCheckedKeys:qe,getCurrentNode:Et,getCurrentKey:At,setCheckedNodes:Lt,setCheckedKeys:hn,setChecked:_n,getHalfCheckedNodes:vn,getHalfCheckedKeys:bn,setCurrentNode:Cn,setCurrentKey:Sn,t:V,getNode:wn,remove:En,append:xn,insertBefore:Pn,insertAfter:kn,handleNodeExpand:Nn,updateKeyChildren:Dn}}});function _sfc_render$2(t,r,V,oe,ie,le){const ue=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([t.ns.b(),t.ns.is("dragging",!!t.dragState.draggingNode),t.ns.is("drop-not-allow",!t.dragState.allowDrop),t.ns.is("drop-inner",t.dragState.dropType==="inner"),{[t.ns.m("highlight-current")]:t.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.root.childNodes,de=>(openBlock(),createBlock(ue,{key:t.getNodeKey(de),node:de,props:t.props,accordion:t.accordion,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,"render-content":t.renderContent,onNodeExpand:t.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),t.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(t.ns.e("empty-block"))},[renderSlot(t.$slots,"empty",{},()=>{var de;return[createBaseVNode("span",{class:normalizeClass(t.ns.e("empty-text"))},toDisplayString$1((de=t.emptyText)!=null?de:t.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(t.ns.e("drop-indicator"))},null,2),[[vShow,t.dragState.showDropIndicator]])],2)}var Tree=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$2],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);Tree.install=t=>{t.component(Tree.name,Tree)};const _Tree=Tree,ElTree=_Tree,useSelect=(t,{attrs:r},{tree:V,key:oe})=>{const ie=useNamespace("tree-select"),le={...pick$1(toRefs(t),Object.keys(ElSelect.props)),...r,valueKey:oe,popperClass:computed(()=>{const ue=[ie.e("popper")];return t.popperClass&&ue.push(t.popperClass),ue.join(" ")}),filterMethod:(ue="")=>{t.filterMethod&&t.filterMethod(ue),nextTick(()=>{var de;(de=V.value)==null||de.filter(ue)})},onVisibleChange:ue=>{var de;(de=r.onVisibleChange)==null||de.call(r,ue),t.filterable&&ue&&le.filterMethod()}};return le},component$1=defineComponent({extends:ElOption,setup(t,r){const V=ElOption.setup(t,r);delete V.selectOptionClick;const oe=getCurrentInstance().proxy;return nextTick(()=>{V.select.cachedOptions.get(oe.value)||V.select.onOptionCreate(oe)}),V},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(t){return t||t===0}function isValidArray(t){return Array.isArray(t)&&t.length}function toValidArray(t){return Array.isArray(t)?t:isValidValue(t)?[t]:[]}function treeFind(t,r,V,oe,ie){for(let le=0;le<t.length;le++){const ue=t[le];if(r(ue,le,t,ie))return oe?oe(ue,le,t,ie):ue;{const de=V(ue);if(isValidArray(de)){const pe=treeFind(de,r,V,oe,ue);if(pe)return pe}}}}function treeEach(t,r,V,oe){for(let ie=0;ie<t.length;ie++){const le=t[ie];r(le,ie,t,oe);const ue=V(le);isValidArray(ue)&&treeEach(ue,r,V,le)}}const useTree$1=(t,{attrs:r,slots:V,emit:oe},{select:ie,tree:le,key:ue})=>{watch(()=>t.modelValue,()=>{t.showCheckbox&&nextTick(()=>{const Ie=le.value;Ie&&!isEqual$1(Ie.getCheckedKeys(),toValidArray(t.modelValue))&&Ie.setCheckedKeys(toValidArray(t.modelValue))})},{immediate:!0,deep:!0});const de=computed(()=>({value:ue.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...t.props})),pe=(Ie,Ve)=>{var Fe;const Ue=de.value[Ie];return isFunction$5(Ue)?Ue(Ve,(Fe=le.value)==null?void 0:Fe.getNode(pe("value",Ve))):Ve[Ue]},he=toValidArray(t.modelValue).map(Ie=>treeFind(t.data||[],Ve=>pe("value",Ve)===Ie,Ve=>pe("children",Ve),(Ve,Fe,Ue,qe)=>qe&&pe("value",qe))).filter(Ie=>isValidValue(Ie)),_e=computed(()=>{if(!t.renderAfterExpand&&!t.lazy)return[];const Ie=[];return treeEach(t.data.concat(t.cacheData),Ve=>{const Fe=pe("value",Ve);Ie.push({value:Fe,currentLabel:pe("label",Ve),isDisabled:pe("disabled",Ve)})},Ve=>pe("children",Ve)),Ie}),$e=computed(()=>_e.value.reduce((Ie,Ve)=>({...Ie,[Ve.value]:Ve}),{}));return{...pick$1(toRefs(t),Object.keys(_Tree.props)),...r,nodeKey:ue,expandOnClickNode:computed(()=>!t.checkStrictly&&t.expandOnClickNode),defaultExpandedKeys:computed(()=>t.defaultExpandedKeys?t.defaultExpandedKeys.concat(he):he),renderContent:(Ie,{node:Ve,data:Fe,store:Ue})=>Ie(component$1,{value:pe("value",Fe),label:pe("label",Fe),disabled:pe("disabled",Fe)},t.renderContent?()=>t.renderContent(Ie,{node:Ve,data:Fe,store:Ue}):V.default?()=>V.default({node:Ve,data:Fe,store:Ue}):void 0),filterNodeMethod:(Ie,Ve,Fe)=>{var Ue;return t.filterNodeMethod?t.filterNodeMethod(Ie,Ve,Fe):Ie?(Ue=pe("label",Ve))==null?void 0:Ue.includes(Ie):!0},onNodeClick:(Ie,Ve,Fe)=>{var Ue,qe,Et;if((Ue=r.onNodeClick)==null||Ue.call(r,Ie,Ve,Fe),!(t.showCheckbox&&t.checkOnClickNode))if(!t.showCheckbox&&(t.checkStrictly||Ve.isLeaf)){if(!pe("disabled",Ie)){const At=(qe=ie.value)==null?void 0:qe.options.get(pe("value",Ie));(Et=ie.value)==null||Et.handleOptionSelect(At)}}else t.expandOnClickNode&&Fe.proxy.handleExpandIconClick()},onCheck:(Ie,Ve)=>{if(!t.showCheckbox)return;const Fe=pe("value",Ie),Ue=Ve.checkedKeys,qe=t.multiple?toValidArray(t.modelValue).filter(At=>At in $e.value&&!le.value.getNode(At)&&!Ue.includes(At)):[],Et=Ue.concat(qe);if(t.checkStrictly)oe(UPDATE_MODEL_EVENT,t.multiple?Et:Et.includes(Fe)?Fe:void 0);else if(t.multiple)oe(UPDATE_MODEL_EVENT,le.value.getCheckedKeys(!0));else{const At=treeFind([Ie],_n=>!isValidArray(pe("children",_n))&&!pe("disabled",_n),_n=>pe("children",_n)),Lt=At?pe("value",At):void 0,hn=isValidValue(t.modelValue)&&!!treeFind([Ie],_n=>pe("value",_n)===t.modelValue,_n=>pe("children",_n));oe(UPDATE_MODEL_EVENT,Lt===t.modelValue||hn?void 0:Lt)}nextTick(()=>{var At;const Lt=toValidArray(t.modelValue);le.value.setCheckedKeys(Lt),(At=r.onCheck)==null||At.call(r,Ie,{checkedKeys:le.value.getCheckedKeys(),checkedNodes:le.value.getCheckedNodes(),halfCheckedKeys:le.value.getHalfCheckedKeys(),halfCheckedNodes:le.value.getHalfCheckedNodes()})})},cacheOptions:_e}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(t){const r=inject(selectKey);return watch(()=>t.data,()=>{var V;t.data.forEach(ie=>{r.cachedOptions.has(ie.value)||r.cachedOptions.set(ie.value,ie)});const oe=((V=r.selectWrapper)==null?void 0:V.querySelectorAll("input"))||[];Array.from(oe).includes(document.activeElement)||r.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$b=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(t,r){const{slots:V,expose:oe}=r,ie=ref(),le=ref(),ue=computed(()=>t.nodeKey||t.valueKey||"value"),de=useSelect(t,r,{select:ie,tree:le,key:ue}),{cacheOptions:pe,...he}=useTree$1(t,r,{select:ie,tree:le,key:ue}),_e=reactive({});return oe(_e),onMounted(()=>{Object.assign(_e,{...pick$1(le.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick$1(ie.value,["focus","blur"])})}),()=>h$2(ElSelect,reactive({...de,ref:$e=>ie.value=$e}),{...V,default:()=>[h$2(CacheOptions,{data:pe.value}),h$2(_Tree,reactive({...he,ref:$e=>le.value=$e}))]})}});var TreeSelect=_export_sfc$1(_sfc_main$b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);TreeSelect.install=t=>{t.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(t=>(t.KEY="id",t.LABEL="label",t.CHILDREN="children",t.DISABLED="disabled",t))(TreeOptionsEnum||{}),SetOperationEnum=(t=>(t.ADD="add",t.DELETE="delete",t))(SetOperationEnum||{});const itemSize={type:Number,default:26},treeProps=buildProps({data:{type:definePropType(Array),default:()=>mutable([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:definePropType(Object),default:()=>mutable({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:definePropType(Array),default:()=>mutable([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:definePropType(Array),default:()=>mutable([])},indent:{type:Number,default:16},itemSize,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:definePropType([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:definePropType(Function)},perfMode:{type:Boolean,default:!0}}),treeNodeProps=buildProps({node:{type:definePropType(Object),default:()=>mutable(EMPTY_NODE)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",NODE_EXPAND="node-expand",NODE_COLLAPSE="node-collapse",CURRENT_CHANGE="current-change",NODE_CHECK="check",NODE_CHECK_CHANGE="check-change",NODE_CONTEXTMENU="node-contextmenu",treeEmits={[NODE_CLICK]:(t,r,V)=>t&&r&&V,[NODE_EXPAND]:(t,r)=>t&&r,[NODE_COLLAPSE]:(t,r)=>t&&r,[CURRENT_CHANGE]:(t,r)=>t&&r,[NODE_CHECK]:(t,r)=>t&&r,[NODE_CHECK_CHANGE]:(t,r)=>t&&typeof r=="boolean",[NODE_CONTEXTMENU]:(t,r,V)=>t&&r&&V},treeNodeEmits={click:(t,r)=>!!(t&&r),toggle:t=>!!t,check:(t,r)=>t&&typeof r=="boolean"};function useCheck(t,r){const V=ref(new Set),oe=ref(new Set),{emit:ie}=getCurrentInstance();watch([()=>r.value,()=>t.defaultCheckedKeys],()=>nextTick(()=>{At(t.defaultCheckedKeys)}),{immediate:!0});const le=()=>{if(!r.value||!t.showCheckbox||t.checkStrictly)return;const{levelTreeNodeMap:Lt,maxLevel:hn}=r.value,_n=V.value,vn=new Set;for(let bn=hn-1;bn>=1;--bn){const Cn=Lt.get(bn);Cn&&Cn.forEach(Sn=>{const wn=Sn.children;if(wn){let En=!0,xn=!1;for(const Pn of wn){const kn=Pn.key;if(_n.has(kn))xn=!0;else if(vn.has(kn)){En=!1,xn=!0;break}else En=!1}En?_n.add(Sn.key):xn?(vn.add(Sn.key),_n.delete(Sn.key)):(_n.delete(Sn.key),vn.delete(Sn.key))}})}oe.value=vn},ue=Lt=>V.value.has(Lt.key),de=Lt=>oe.value.has(Lt.key),pe=(Lt,hn,_n=!0)=>{const vn=V.value,bn=(Cn,Sn)=>{vn[Sn?SetOperationEnum.ADD:SetOperationEnum.DELETE](Cn.key);const wn=Cn.children;!t.checkStrictly&&wn&&wn.forEach(En=>{En.disabled||bn(En,Sn)})};bn(Lt,hn),le(),_n&&he(Lt,hn)},he=(Lt,hn)=>{const{checkedNodes:_n,checkedKeys:vn}=Fe(),{halfCheckedNodes:bn,halfCheckedKeys:Cn}=Ue();ie(NODE_CHECK,Lt.data,{checkedKeys:vn,checkedNodes:_n,halfCheckedKeys:Cn,halfCheckedNodes:bn}),ie(NODE_CHECK_CHANGE,Lt.data,hn)};function _e(Lt=!1){return Fe(Lt).checkedKeys}function $e(Lt=!1){return Fe(Lt).checkedNodes}function Ie(){return Ue().halfCheckedKeys}function Ve(){return Ue().halfCheckedNodes}function Fe(Lt=!1){const hn=[],_n=[];if(r!=null&&r.value&&t.showCheckbox){const{treeNodeMap:vn}=r.value;V.value.forEach(bn=>{const Cn=vn.get(bn);Cn&&(!Lt||Lt&&Cn.isLeaf)&&(_n.push(bn),hn.push(Cn.data))})}return{checkedKeys:_n,checkedNodes:hn}}function Ue(){const Lt=[],hn=[];if(r!=null&&r.value&&t.showCheckbox){const{treeNodeMap:_n}=r.value;oe.value.forEach(vn=>{const bn=_n.get(vn);bn&&(hn.push(vn),Lt.push(bn.data))})}return{halfCheckedNodes:Lt,halfCheckedKeys:hn}}function qe(Lt){V.value.clear(),oe.value.clear(),At(Lt)}function Et(Lt,hn){if(r!=null&&r.value&&t.showCheckbox){const _n=r.value.treeNodeMap.get(Lt);_n&&pe(_n,hn,!1)}}function At(Lt){if(r!=null&&r.value){const{treeNodeMap:hn}=r.value;if(t.showCheckbox&&hn&&Lt)for(const _n of Lt){const vn=hn.get(_n);vn&&!ue(vn)&&pe(vn,!0,!1)}}}return{updateCheckedKeys:le,toggleCheckbox:pe,isChecked:ue,isIndeterminate:de,getCheckedKeys:_e,getCheckedNodes:$e,getHalfCheckedKeys:Ie,getHalfCheckedNodes:Ve,setChecked:Et,setCheckedKeys:qe}}function useFilter(t,r){const V=ref(new Set([])),oe=ref(new Set([])),ie=computed(()=>isFunction$5(t.filterMethod));function le(de){var pe;if(!ie.value)return;const he=new Set,_e=oe.value,$e=V.value,Ie=[],Ve=((pe=r.value)==null?void 0:pe.treeNodes)||[],Fe=t.filterMethod;$e.clear();function Ue(qe){qe.forEach(Et=>{Ie.push(Et),Fe!=null&&Fe(de,Et.data)?Ie.forEach(Lt=>{he.add(Lt.key)}):Et.isLeaf&&$e.add(Et.key);const At=Et.children;if(At&&Ue(At),!Et.isLeaf){if(!he.has(Et.key))$e.add(Et.key);else if(At){let Lt=!0;for(const hn of At)if(!$e.has(hn.key)){Lt=!1;break}Lt?_e.add(Et.key):_e.delete(Et.key)}}Ie.pop()})}return Ue(Ve),he}function ue(de){return oe.value.has(de.key)}return{hiddenExpandIconKeySet:oe,hiddenNodeKeySet:V,doFilter:le,isForceHiddenExpandIcon:ue}}function useTree(t,r){const V=ref(new Set(t.defaultExpandedKeys)),oe=ref(),ie=shallowRef();watch(()=>t.currentNodeKey,Gn=>{oe.value=Gn},{immediate:!0}),watch(()=>t.data,Gn=>{Jn(Gn)},{immediate:!0});const{isIndeterminate:le,isChecked:ue,toggleCheckbox:de,getCheckedKeys:pe,getCheckedNodes:he,getHalfCheckedKeys:_e,getHalfCheckedNodes:$e,setChecked:Ie,setCheckedKeys:Ve}=useCheck(t,ie),{doFilter:Fe,hiddenNodeKeySet:Ue,isForceHiddenExpandIcon:qe}=useFilter(t,ie),Et=computed(()=>{var Gn;return((Gn=t.props)==null?void 0:Gn.value)||TreeOptionsEnum.KEY}),At=computed(()=>{var Gn;return((Gn=t.props)==null?void 0:Gn.children)||TreeOptionsEnum.CHILDREN}),Lt=computed(()=>{var Gn;return((Gn=t.props)==null?void 0:Gn.disabled)||TreeOptionsEnum.DISABLED}),hn=computed(()=>{var Gn;return((Gn=t.props)==null?void 0:Gn.label)||TreeOptionsEnum.LABEL}),_n=computed(()=>{const Gn=V.value,Qn=Ue.value,ur=[],cr=ie.value&&ie.value.treeNodes||[];function Un(){const qn=[];for(let er=cr.length-1;er>=0;--er)qn.push(cr[er]);for(;qn.length;){const er=qn.pop();if(er&&(Qn.has(er.key)||ur.push(er),Gn.has(er.key))){const pr=er.children;if(pr){const Er=pr.length;for(let dr=Er-1;dr>=0;--dr)qn.push(pr[dr])}}}}return Un(),ur}),vn=computed(()=>_n.value.length>0);function bn(Gn){const Qn=new Map,ur=new Map;let cr=1;function Un(er,pr=1,Er=void 0){var dr;const xr=[];for(const wr of er){const Cr=wn(wr),gr={level:pr,key:Cr,data:wr};gr.label=xn(wr),gr.parent=Er;const or=Sn(wr);gr.disabled=En(wr),gr.isLeaf=!or||or.length===0,or&&or.length&&(gr.children=Un(or,pr+1,gr)),xr.push(gr),Qn.set(Cr,gr),ur.has(pr)||ur.set(pr,[]),(dr=ur.get(pr))==null||dr.push(gr)}return pr>cr&&(cr=pr),xr}const qn=Un(Gn);return{treeNodeMap:Qn,levelTreeNodeMap:ur,maxLevel:cr,treeNodes:qn}}function Cn(Gn){const Qn=Fe(Gn);Qn&&(V.value=Qn)}function Sn(Gn){return Gn[At.value]}function wn(Gn){return Gn?Gn[Et.value]:""}function En(Gn){return Gn[Lt.value]}function xn(Gn){return Gn[hn.value]}function Pn(Gn){V.value.has(Gn.key)?An(Gn):Ln(Gn)}function kn(Gn){V.value=new Set(Gn)}function Nn(Gn,Qn){r(NODE_CLICK,Gn.data,Gn,Qn),Dn(Gn),t.expandOnClickNode&&Pn(Gn),t.showCheckbox&&t.checkOnClickNode&&!Gn.disabled&&de(Gn,!ue(Gn),!0)}function Dn(Gn){Fn(Gn)||(oe.value=Gn.key,r(CURRENT_CHANGE,Gn.data,Gn))}function Mn(Gn,Qn){de(Gn,Qn)}function Ln(Gn){const Qn=V.value;if(ie.value&&t.accordion){const{treeNodeMap:ur}=ie.value;Qn.forEach(cr=>{const Un=ur.get(cr);Gn&&Gn.level===(Un==null?void 0:Un.level)&&Qn.delete(cr)})}Qn.add(Gn.key),r(NODE_EXPAND,Gn.data,Gn)}function An(Gn){V.value.delete(Gn.key),r(NODE_COLLAPSE,Gn.data,Gn)}function Vn(Gn){return V.value.has(Gn.key)}function Wn(Gn){return!!Gn.disabled}function Fn(Gn){const Qn=oe.value;return Qn!==void 0&&Qn===Gn.key}function Yn(){var Gn,Qn;if(oe.value)return(Qn=(Gn=ie.value)==null?void 0:Gn.treeNodeMap.get(oe.value))==null?void 0:Qn.data}function tr(){return oe.value}function yr(Gn){oe.value=Gn}function Jn(Gn){nextTick(()=>ie.value=bn(Gn))}function Kn(Gn){var Qn;const ur=isObject$9(Gn)?wn(Gn):Gn;return(Qn=ie.value)==null?void 0:Qn.treeNodeMap.get(ur)}return{tree:ie,flattenTree:_n,isNotEmpty:vn,getKey:wn,getChildren:Sn,toggleExpand:Pn,toggleCheckbox:de,isExpanded:Vn,isChecked:ue,isIndeterminate:le,isDisabled:Wn,isCurrent:Fn,isForceHiddenExpandIcon:qe,handleNodeClick:Nn,handleNodeCheck:Mn,getCurrentNode:Yn,getCurrentKey:tr,setCurrentKey:yr,getCheckedKeys:pe,getCheckedNodes:he,getHalfCheckedKeys:_e,getHalfCheckedNodes:$e,setChecked:Ie,setCheckedKeys:Ve,filter:Cn,setData:Jn,getNode:Kn,expandNode:Ln,collapseNode:An,setExpandedKeys:kn}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(t){const r=inject(ROOT_TREE_INJECTION_KEY),V=useNamespace("tree");return()=>{const oe=t.node,{data:ie}=oe;return r!=null&&r.ctx.slots.default?r.ctx.slots.default({node:oe,data:ie}):h$2("span",{class:V.be("node","label")},[oe==null?void 0:oe.label])}}});const _hoisted_1$8=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$7=defineComponent({name:"ElTreeNode"}),_sfc_main$a=defineComponent({...__default__$7,props:treeNodeProps,emits:treeNodeEmits,setup(t,{emit:r}){const V=t,oe=inject(ROOT_TREE_INJECTION_KEY),ie=useNamespace("tree"),le=computed(()=>{var $e;return($e=oe==null?void 0:oe.props.indent)!=null?$e:16}),ue=computed(()=>{var $e;return($e=oe==null?void 0:oe.props.icon)!=null?$e:caret_right_default}),de=$e=>{r("click",V.node,$e)},pe=()=>{r("toggle",V.node)},he=$e=>{r("check",V.node,$e)},_e=$e=>{var Ie,Ve,Fe,Ue;(Fe=(Ve=(Ie=oe==null?void 0:oe.instance)==null?void 0:Ie.vnode)==null?void 0:Ve.props)!=null&&Fe.onNodeContextmenu&&($e.stopPropagation(),$e.preventDefault()),oe==null||oe.ctx.emit(NODE_CONTEXTMENU,$e,(Ue=V.node)==null?void 0:Ue.data,V.node)};return($e,Ie)=>{var Ve,Fe,Ue;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(ie).b("node"),unref(ie).is("expanded",$e.expanded),unref(ie).is("current",$e.current),unref(ie).is("focusable",!$e.disabled),unref(ie).is("checked",!$e.disabled&&$e.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":$e.expanded,"aria-disabled":$e.disabled,"aria-checked":$e.checked,"data-key":(Ve=$e.node)==null?void 0:Ve.key,onClick:withModifiers(de,["stop"]),onContextmenu:_e},[createBaseVNode("div",{class:normalizeClass(unref(ie).be("node","content")),style:normalizeStyle$1({paddingLeft:`${($e.node.level-1)*unref(le)}px`,height:$e.itemSize+"px"})},[unref(ue)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ie).is("leaf",!!((Fe=$e.node)!=null&&Fe.isLeaf)),unref(ie).is("hidden",$e.hiddenExpandIcon),{expanded:!((Ue=$e.node)!=null&&Ue.isLeaf)&&$e.expanded},unref(ie).be("node","expand-icon")]),onClick:withModifiers(pe,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ue))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),$e.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":$e.checked,indeterminate:$e.indeterminate,disabled:$e.disabled,onChange:he,onClick:Ie[0]||(Ie[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode(unref(ElNodeContent),{node:$e.node},null,8,["node"])],6)],42,_hoisted_1$8)}}});var ElTreeNode=_export_sfc$1(_sfc_main$a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const __default__$6=defineComponent({name:"ElTreeV2"}),_sfc_main$9=defineComponent({...__default__$6,props:treeProps,emits:treeEmits,setup(t,{expose:r,emit:V}){const oe=t,ie=useSlots(),le=computed(()=>oe.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:V,slots:ie},props:oe,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:ue}=useLocale(),de=useNamespace("tree"),{flattenTree:pe,isNotEmpty:he,toggleExpand:_e,isExpanded:$e,isIndeterminate:Ie,isChecked:Ve,isDisabled:Fe,isCurrent:Ue,isForceHiddenExpandIcon:qe,handleNodeClick:Et,handleNodeCheck:At,toggleCheckbox:Lt,getCurrentNode:hn,getCurrentKey:_n,setCurrentKey:vn,getCheckedKeys:bn,getCheckedNodes:Cn,getHalfCheckedKeys:Sn,getHalfCheckedNodes:wn,setChecked:En,setCheckedKeys:xn,filter:Pn,setData:kn,getNode:Nn,expandNode:Dn,collapseNode:Mn,setExpandedKeys:Ln}=useTree(oe,V);return r({toggleCheckbox:Lt,getCurrentNode:hn,getCurrentKey:_n,setCurrentKey:vn,getCheckedKeys:bn,getCheckedNodes:Cn,getHalfCheckedKeys:Sn,getHalfCheckedNodes:wn,setChecked:En,setCheckedKeys:xn,filter:Pn,setData:kn,getNode:Nn,expandNode:Dn,collapseNode:Mn,setExpandedKeys:Ln}),(An,Vn)=>{var Wn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(de).b(),{[unref(de).m("highlight-current")]:An.highlightCurrent}]),role:"tree"},[unref(he)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(de).b("virtual-list"),data:unref(pe),total:unref(pe).length,height:An.height,"item-size":unref(le),"perf-mode":An.perfMode},{default:withCtx(({data:Fn,index:Yn,style:tr})=>[(openBlock(),createBlock(ElTreeNode,{key:Fn[Yn].key,style:normalizeStyle$1(tr),node:Fn[Yn],expanded:unref($e)(Fn[Yn]),"show-checkbox":An.showCheckbox,checked:unref(Ve)(Fn[Yn]),indeterminate:unref(Ie)(Fn[Yn]),"item-size":unref(le),disabled:unref(Fe)(Fn[Yn]),current:unref(Ue)(Fn[Yn]),"hidden-expand-icon":unref(qe)(Fn[Yn]),onClick:unref(Et),onToggle:unref(_e),onCheck:unref(At)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(de).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(de).e("empty-text"))},toDisplayString$1((Wn=An.emptyText)!=null?Wn:unref(ue)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$1(_sfc_main$9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor(r,V,oe,ie){super(r),this.name="UploadAjaxError",this.status=V,this.method=oe,this.url=ie}}function getError(t,r,V){let oe;return V.response?oe=`${V.response.error||V.response}`:V.responseText?oe=`${V.responseText}`:oe=`fail to ${r.method} ${t} ${V.status}`,new UploadAjaxError(oe,V.status,r.method,t)}function getBody(t){const r=t.responseText||t.response;if(!r)return r;try{return JSON.parse(r)}catch{return r}}const ajaxUpload=t=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$2,"XMLHttpRequest is undefined");const r=new XMLHttpRequest,V=t.action;r.upload&&r.upload.addEventListener("progress",le=>{const ue=le;ue.percent=le.total>0?le.loaded/le.total*100:0,t.onProgress(ue)});const oe=new FormData;if(t.data)for(const[le,ue]of Object.entries(t.data))isArray$c(ue)&&ue.length?oe.append(le,...ue):oe.append(le,ue);oe.append(t.filename,t.file,t.file.name),r.addEventListener("error",()=>{t.onError(getError(V,t,r))}),r.addEventListener("load",()=>{if(r.status<200||r.status>=300)return t.onError(getError(V,t,r));t.onSuccess(getBody(r))}),r.open(t.method,V,!0),t.withCredentials&&"withCredentials"in r&&(r.withCredentials=!0);const ie=t.headers||{};if(ie instanceof Headers)ie.forEach((le,ue)=>r.setRequestHeader(ue,le));else for(const[le,ue]of Object.entries(ie))isNil(ue)||r.setRequestHeader(le,String(ue));return r.send(oe),r},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:Object,default:()=>mutable({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},type:{type:String,default:"select"},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"}}),uploadListEmits={remove:t=>!!t},_hoisted_1$7=["onKeydown"],_hoisted_2$6=["src"],_hoisted_3$4=["onClick"],_hoisted_4$2=["title"],_hoisted_5=["onClick"],_hoisted_6=["onClick"],__default__$5=defineComponent({name:"ElUploadList"}),_sfc_main$8=defineComponent({...__default__$5,props:uploadListProps,emits:uploadListEmits,setup(t,{emit:r}){const{t:V}=useLocale(),oe=useNamespace("upload"),ie=useNamespace("icon"),le=useNamespace("list"),ue=useFormDisabled(),de=ref(!1),pe=he=>{r("remove",he)};return(he,_e)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass([unref(oe).b("list"),unref(oe).bm("list",he.listType),unref(oe).is("disabled",unref(ue))]),name:unref(le).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(he.files,$e=>(openBlock(),createElementBlock("li",{key:$e.uid||$e.name,class:normalizeClass([unref(oe).be("list","item"),unref(oe).is($e.status),{focusing:de.value}]),tabindex:"0",onKeydown:withKeys(Ie=>!unref(ue)&&pe($e),["delete"]),onFocus:_e[0]||(_e[0]=Ie=>de.value=!0),onBlur:_e[1]||(_e[1]=Ie=>de.value=!1),onClick:_e[2]||(_e[2]=Ie=>de.value=!1)},[renderSlot(he.$slots,"default",{file:$e},()=>[he.listType==="picture"||$e.status!=="uploading"&&he.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(oe).be("list","item-thumbnail")),src:$e.url,alt:""},null,10,_hoisted_2$6)):createCommentVNode("v-if",!0),$e.status==="uploading"||he.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(oe).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(oe).be("list","item-name")),onClick:withModifiers(Ie=>he.handlePreview($e),["prevent"])},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ie).m("document"))},{default:withCtx(()=>[createVNode(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(oe).be("list","item-file-name")),title:$e.name},toDisplayString$1($e.name),11,_hoisted_4$2)],10,_hoisted_3$4),$e.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:he.listType==="picture-card"?"circle":"line","stroke-width":he.listType==="picture-card"?6:2,percentage:Number($e.percentage),style:normalizeStyle$1(he.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(oe).be("list","item-status-label"))},[he.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ie).m("upload-success"),unref(ie).m("circle-check")])},{default:withCtx(()=>[createVNode(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(he.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ie).m("upload-success"),unref(ie).m("check")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(ue)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(ie).m("close")),onClick:Ie=>pe($e)},{default:withCtx(()=>[createVNode(unref(close_default))]),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(ue)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(ie).m("close-tip"))},toDisplayString$1(unref(V)("el.upload.deleteTip")),3)),he.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(oe).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(oe).be("list","item-preview")),onClick:Ie=>he.handlePreview($e)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ie).m("zoom-in"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_5),unref(ue)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(oe).be("list","item-delete")),onClick:Ie=>pe($e)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ie).m("delete"))},{default:withCtx(()=>[createVNode(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_6))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$7))),128)),renderSlot(he.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:t=>isArray$c(t)},_hoisted_1$6=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$4=defineComponent({name:COMPONENT_NAME}),_sfc_main$7=defineComponent({...__default__$4,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(t,{emit:r}){const V=inject(uploadContextKey);V||throwError$1(COMPONENT_NAME,"usage: <el-upload><el-upload-dragger /></el-upload>");const oe=useNamespace("upload"),ie=ref(!1),le=useFormDisabled(),ue=pe=>{if(le.value)return;ie.value=!1,pe.stopPropagation();const he=Array.from(pe.dataTransfer.files),_e=V.accept.value;if(!_e){r("file",he);return}const $e=he.filter(Ie=>{const{type:Ve,name:Fe}=Ie,Ue=Fe.includes(".")?`.${Fe.split(".").pop()}`:"",qe=Ve.replace(/\/.*$/,"");return _e.split(",").map(Et=>Et.trim()).filter(Et=>Et).some(Et=>Et.startsWith(".")?Ue===Et:/\/\*$/.test(Et)?qe===Et.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(Et)?Ve===Et:!1)});r("file",$e)},de=()=>{le.value||(ie.value=!0)};return(pe,he)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).b("dragger"),unref(oe).is("dragover",ie.value)]),onDrop:withModifiers(ue,["prevent"]),onDragover:withModifiers(de,["prevent"]),onDragleave:he[0]||(he[0]=withModifiers(_e=>ie.value=!1,["prevent"]))},[renderSlot(pe.$slots,"default")],42,_hoisted_1$6))}});var UploadDragger=_export_sfc$1(_sfc_main$7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),_hoisted_1$5=["onKeydown"],_hoisted_2$5=["name","multiple","accept"],__default__$3=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$6=defineComponent({...__default__$3,props:uploadContentProps,setup(t,{expose:r}){const V=t,oe=useNamespace("upload"),ie=useFormDisabled(),le=shallowRef({}),ue=shallowRef(),de=Fe=>{if(Fe.length===0)return;const{autoUpload:Ue,limit:qe,fileList:Et,multiple:At,onStart:Lt,onExceed:hn}=V;if(qe&&Et.length+Fe.length>qe){hn(Fe,Et);return}At||(Fe=Fe.slice(0,1));for(const _n of Fe){const vn=_n;vn.uid=genFileId(),Lt(vn),Ue&&pe(vn)}},pe=async Fe=>{if(ue.value.value="",!V.beforeUpload)return he(Fe);let Ue,qe={};try{const At=V.data,Lt=V.beforeUpload(Fe);qe=isObject$9(V.data)?cloneDeep(V.data):V.data,Ue=await Lt,isObject$9(V.data)&&isEqual$1(At,qe)&&(qe=cloneDeep(V.data))}catch{Ue=!1}if(Ue===!1){V.onRemove(Fe);return}let Et=Fe;Ue instanceof Blob&&(Ue instanceof File?Et=Ue:Et=new File([Ue],Fe.name,{type:Fe.type})),he(Object.assign(Et,{uid:Fe.uid}),qe)},he=(Fe,Ue)=>{const{headers:qe,data:Et,method:At,withCredentials:Lt,name:hn,action:_n,onProgress:vn,onSuccess:bn,onError:Cn,httpRequest:Sn}=V,{uid:wn}=Fe,En={headers:qe||{},withCredentials:Lt,file:Fe,data:Ue??Et,method:At,filename:hn,action:_n,onProgress:Pn=>{vn(Pn,Fe)},onSuccess:Pn=>{bn(Pn,Fe),delete le.value[wn]},onError:Pn=>{Cn(Pn,Fe),delete le.value[wn]}},xn=Sn(En);le.value[wn]=xn,xn instanceof Promise&&xn.then(En.onSuccess,En.onError)},_e=Fe=>{const Ue=Fe.target.files;Ue&&de(Array.from(Ue))},$e=()=>{ie.value||(ue.value.value="",ue.value.click())},Ie=()=>{$e()};return r({abort:Fe=>{entriesOf(le.value).filter(Fe?([qe])=>String(Fe.uid)===qe:()=>!0).forEach(([qe,Et])=>{Et instanceof XMLHttpRequest&&Et.abort(),delete le.value[qe]})},upload:pe}),(Fe,Ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).b(),unref(oe).m(Fe.listType),unref(oe).is("drag",Fe.drag)]),tabindex:"0",onClick:$e,onKeydown:withKeys(withModifiers(Ie,["self"]),["enter","space"])},[Fe.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(ie),onFile:de},{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3},8,["disabled"])):renderSlot(Fe.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:ue,class:normalizeClass(unref(oe).e("input")),name:Fe.name,multiple:Fe.multiple,accept:Fe.accept,type:"file",onChange:_e,onClick:Ue[0]||(Ue[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$5)],42,_hoisted_1$5))}});var UploadContent=_export_sfc$1(_sfc_main$6,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const SCOPE$1="ElUpload",revokeObjectURL=t=>{var r;(r=t.url)!=null&&r.startsWith("blob:")&&URL.revokeObjectURL(t.url)},useHandlers=(t,r)=>{const V=useVModel$1(t,"fileList",void 0,{passive:!0}),oe=Ie=>V.value.find(Ve=>Ve.uid===Ie.uid);function ie(Ie){var Ve;(Ve=r.value)==null||Ve.abort(Ie)}function le(Ie=["ready","uploading","success","fail"]){V.value=V.value.filter(Ve=>!Ie.includes(Ve.status))}const ue=(Ie,Ve)=>{const Fe=oe(Ve);Fe&&(console.error(Ie),Fe.status="fail",V.value.splice(V.value.indexOf(Fe),1),t.onError(Ie,Fe,V.value),t.onChange(Fe,V.value))},de=(Ie,Ve)=>{const Fe=oe(Ve);Fe&&(t.onProgress(Ie,Fe,V.value),Fe.status="uploading",Fe.percentage=Math.round(Ie.percent))},pe=(Ie,Ve)=>{const Fe=oe(Ve);Fe&&(Fe.status="success",Fe.response=Ie,t.onSuccess(Ie,Fe,V.value),t.onChange(Fe,V.value))},he=Ie=>{isNil(Ie.uid)&&(Ie.uid=genFileId());const Ve={name:Ie.name,percentage:0,status:"ready",size:Ie.size,raw:Ie,uid:Ie.uid};if(t.listType==="picture-card"||t.listType==="picture")try{Ve.url=URL.createObjectURL(Ie)}catch(Fe){Fe.message,t.onError(Fe,Ve,V.value)}V.value=[...V.value,Ve],t.onChange(Ve,V.value)},_e=async Ie=>{const Ve=Ie instanceof File?oe(Ie):Ie;Ve||throwError$1(SCOPE$1,"file to be removed not found");const Fe=Ue=>{ie(Ue);const qe=V.value;qe.splice(qe.indexOf(Ue),1),t.onRemove(Ue,qe),revokeObjectURL(Ue)};t.beforeRemove?await t.beforeRemove(Ve,V.value)!==!1&&Fe(Ve):Fe(Ve)};function $e(){V.value.filter(({status:Ie})=>Ie==="ready").forEach(({raw:Ie})=>{var Ve;return Ie&&((Ve=r.value)==null?void 0:Ve.upload(Ie))})}return watch(()=>t.listType,Ie=>{Ie!=="picture-card"&&Ie!=="picture"||(V.value=V.value.map(Ve=>{const{raw:Fe,url:Ue}=Ve;if(!Ue&&Fe)try{Ve.url=URL.createObjectURL(Fe)}catch(qe){t.onError(qe,Ve,V.value)}return Ve}))}),watch(V,Ie=>{for(const Ve of Ie)Ve.uid||(Ve.uid=genFileId()),Ve.status||(Ve.status="success")},{immediate:!0,deep:!0}),{uploadFiles:V,abort:ie,clearFiles:le,handleError:ue,handleProgress:de,handleStart:he,handleSuccess:pe,handleRemove:_e,submit:$e}},__default__$2=defineComponent({name:"ElUpload"}),_sfc_main$5=defineComponent({...__default__$2,props:uploadProps,setup(t,{expose:r}){const V=t,oe=useFormDisabled(),ie=shallowRef(),{abort:le,submit:ue,clearFiles:de,uploadFiles:pe,handleStart:he,handleError:_e,handleRemove:$e,handleSuccess:Ie,handleProgress:Ve}=useHandlers(V,ie),Fe=computed(()=>V.listType==="picture-card"),Ue=computed(()=>({...V,fileList:pe.value,onStart:he,onProgress:Ve,onSuccess:Ie,onError:_e,onRemove:$e}));return onBeforeUnmount(()=>{pe.value.forEach(({url:qe})=>{qe!=null&&qe.startsWith("blob:")&&URL.revokeObjectURL(qe)})}),provide(uploadContextKey,{accept:toRef(V,"accept")}),r({abort:le,submit:ue,clearFiles:de,handleStart:he,handleRemove:$e}),(qe,Et)=>(openBlock(),createElementBlock("div",null,[unref(Fe)&&qe.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(oe),"list-type":qe.listType,files:unref(pe),"handle-preview":qe.onPreview,onRemove:unref($e)},createSlots({append:withCtx(()=>[createVNode(UploadContent,mergeProps({ref_key:"uploadRef",ref:ie},unref(Ue)),{default:withCtx(()=>[qe.$slots.trigger?renderSlot(qe.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!qe.$slots.trigger&&qe.$slots.default?renderSlot(qe.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[qe.$slots.file?{name:"default",fn:withCtx(({file:At})=>[renderSlot(qe.$slots,"file",{file:At})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(Fe)||unref(Fe)&&!qe.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:ie},unref(Ue)),{default:withCtx(()=>[qe.$slots.trigger?renderSlot(qe.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!qe.$slots.trigger&&qe.$slots.default?renderSlot(qe.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),qe.$slots.trigger?renderSlot(qe.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(qe.$slots,"tip"),!unref(Fe)&&qe.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(oe),"list-type":qe.listType,files:unref(pe),"handle-preview":qe.onPreview,onRemove:unref($e)},createSlots({_:2},[qe.$slots.file?{name:"default",fn:withCtx(({file:At})=>[renderSlot(qe.$slots,"file",{file:At})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$5,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const ElUpload=withInstall(Upload);var Components=[ElAffix,ElAlert,ElAutocomplete,ElAutoResizer,ElAvatar,ElBacktop,ElBadge,ElBreadcrumb,ElBreadcrumbItem,ElButton,ElButtonGroup$1,ElCalendar,ElCard,ElCarousel,ElCarouselItem,ElCascader,ElCascaderPanel,ElCheckTag,ElCheckbox,ElCheckboxButton,ElCheckboxGroup$1,ElCol,ElCollapse,ElCollapseItem,ElCollapseTransition,ElColorPicker,ElConfigProvider,ElContainer,ElAside,ElFooter,ElHeader,ElMain,ElDatePicker,ElDescriptions,ElDescriptionsItem,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElEmpty,ElForm,ElFormItem,ElIcon,ElImage,ElImageViewer,ElInput,ElInputNumber,ElLink,ElMenu,ElMenuItem,ElMenuItemGroup,ElSubMenu,ElPageHeader,ElPagination,ElPopconfirm,ElPopover,ElPopper,ElProgress,ElRadio,ElRadioButton,ElRadioGroup,ElRate,ElResult,ElRow,ElScrollbar,ElSelect,ElOption,ElOptionGroup,ElSelectV2,ElSkeleton,ElSkeletonItem,ElSlider,ElSpace,ElStatistic,ElCountdown,ElSteps,ElStep,ElSwitch,ElTable,ElTableColumn,ElTableV2,ElTabs,ElTabPane,ElTag,ElText,ElTimePicker,ElTimeSelect,ElTimeline,ElTimelineItem,ElTooltip,ElTooltipV2,ElTransfer,ElTree,ElTreeSelect,ElTreeV2,ElUpload];const SCOPE="ElInfiniteScroll",CHECK_INTERVAL=50,DEFAULT_DELAY=200,DEFAULT_DISTANCE=0,attributes={delay:{type:Number,default:DEFAULT_DELAY},distance:{type:Number,default:DEFAULT_DISTANCE},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},getScrollOptions=(t,r)=>Object.entries(attributes).reduce((V,[oe,ie])=>{var le,ue;const{type:de,default:pe}=ie,he=t.getAttribute(`infinite-scroll-${oe}`);let _e=(ue=(le=r[he])!=null?le:he)!=null?ue:pe;return _e=_e==="false"?!1:_e,_e=de(_e),V[oe]=Number.isNaN(_e)?pe:_e,V},{}),destroyObserver=t=>{const{observer:r}=t[SCOPE];r&&(r.disconnect(),delete t[SCOPE].observer)},handleScroll=(t,r)=>{const{container:V,containerEl:oe,instance:ie,observer:le,lastScrollTop:ue}=t[SCOPE],{disabled:de,distance:pe}=getScrollOptions(t,ie),{clientHeight:he,scrollHeight:_e,scrollTop:$e}=oe,Ie=$e-ue;if(t[SCOPE].lastScrollTop=$e,le||de||Ie<0)return;let Ve=!1;if(V===t)Ve=_e-(he+$e)<=pe;else{const{clientTop:Fe,scrollHeight:Ue}=t,qe=getOffsetTopDistance(t,oe);Ve=$e+he>=qe+Fe+Ue-pe}Ve&&r.call(ie)};function checkFull(t,r){const{containerEl:V,instance:oe}=t[SCOPE],{disabled:ie}=getScrollOptions(t,oe);ie||V.clientHeight===0||(V.scrollHeight<=V.clientHeight?r.call(oe):destroyObserver(t))}const InfiniteScroll={async mounted(t,r){const{instance:V,value:oe}=r;isFunction$5(oe)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:ie,immediate:le}=getScrollOptions(t,V),ue=getScrollContainer(t,!0),de=ue===window?document.documentElement:ue,pe=throttle$1(handleScroll.bind(null,t,oe),ie);if(ue){if(t[SCOPE]={instance:V,container:ue,containerEl:de,delay:ie,cb:oe,onScroll:pe,lastScrollTop:de.scrollTop},le){const he=new MutationObserver(throttle$1(checkFull.bind(null,t,oe),CHECK_INTERVAL));t[SCOPE].observer=he,he.observe(t,{childList:!0,subtree:!0}),checkFull(t,oe)}ue.addEventListener("scroll",pe)}},unmounted(t){const{container:r,onScroll:V}=t[SCOPE];r==null||r.removeEventListener("scroll",V),destroyObserver(t)},async updated(t){if(!t[SCOPE])await nextTick();else{const{containerEl:r,cb:V,observer:oe}=t[SCOPE];r.clientHeight&&oe&&checkFull(t,V)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=t=>{t.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(t){let r;const V=ref(!1),oe=reactive({...t,originalPosition:"",originalOverflow:"",visible:!1});function ie(Ie){oe.text=Ie}function le(){const Ie=oe.parent,Ve=$e.ns;if(!Ie.vLoadingAddClassList){let Fe=Ie.getAttribute("loading-number");Fe=Number.parseInt(Fe)-1,Fe?Ie.setAttribute("loading-number",Fe.toString()):(removeClass(Ie,Ve.bm("parent","relative")),Ie.removeAttribute("loading-number")),removeClass(Ie,Ve.bm("parent","hidden"))}ue(),_e.unmount()}function ue(){var Ie,Ve;(Ve=(Ie=$e.$el)==null?void 0:Ie.parentNode)==null||Ve.removeChild($e.$el)}function de(){var Ie;t.beforeClose&&!t.beforeClose()||(V.value=!0,clearTimeout(r),r=window.setTimeout(pe,400),oe.visible=!1,(Ie=t.closed)==null||Ie.call(t))}function pe(){if(!V.value)return;const Ie=oe.parent;V.value=!1,Ie.vLoadingAddClassList=void 0,le()}const he=defineComponent({name:"ElLoading",setup(Ie,{expose:Ve}){const{ns:Fe,zIndex:Ue}=useGlobalComponentSettings("loading");return Ve({ns:Fe,zIndex:Ue}),()=>{const qe=oe.spinner||oe.svg,Et=h$2("svg",{class:"circular",viewBox:oe.svgViewBox?oe.svgViewBox:"0 0 50 50",...qe?{innerHTML:qe}:{}},[h$2("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),At=oe.text?h$2("p",{class:Fe.b("text")},[oe.text]):void 0;return h$2(Transition,{name:Fe.b("fade"),onAfterLeave:pe},{default:withCtx(()=>[withDirectives(createVNode("div",{style:{backgroundColor:oe.background||""},class:[Fe.b("mask"),oe.customClass,oe.fullscreen?"is-fullscreen":""]},[h$2("div",{class:Fe.b("spinner")},[Et,At])]),[[vShow,oe.visible]])])})}}}),_e=createApp(he),$e=_e.mount(document.createElement("div"));return{...toRefs(oe),setText:ie,removeElLoadingChild:ue,close:de,handleAfterLeave:pe,vm:$e,get $el(){return $e.$el}}}let fullscreenInstance;const Loading=function(t={}){if(!isClient$1)return;const r=resolveOptions(t);if(r.fullscreen&&fullscreenInstance)return fullscreenInstance;const V=createLoadingComponent({...r,closed:()=>{var ie;(ie=r.closed)==null||ie.call(r),r.fullscreen&&(fullscreenInstance=void 0)}});addStyle(r,r.parent,V),addClassList(r,r.parent,V),r.parent.vLoadingAddClassList=()=>addClassList(r,r.parent,V);let oe=r.parent.getAttribute("loading-number");return oe?oe=`${Number.parseInt(oe)+1}`:oe="1",r.parent.setAttribute("loading-number",oe),r.parent.appendChild(V.$el),nextTick(()=>V.visible.value=r.visible),r.fullscreen&&(fullscreenInstance=V),V},resolveOptions=t=>{var r,V,oe,ie;let le;return isString$6(t.target)?le=(r=document.querySelector(t.target))!=null?r:document.body:le=t.target||document.body,{parent:le===document.body||t.body?document.body:le,background:t.background||"",svg:t.svg||"",svgViewBox:t.svgViewBox||"",spinner:t.spinner||!1,text:t.text||"",fullscreen:le===document.body&&((V=t.fullscreen)!=null?V:!0),lock:(oe=t.lock)!=null?oe:!1,customClass:t.customClass||"",visible:(ie=t.visible)!=null?ie:!0,target:le}},addStyle=async(t,r,V)=>{const{nextZIndex:oe}=V.vm.zIndex||V.vm._.exposed.zIndex,ie={};if(t.fullscreen)V.originalPosition.value=getStyle$1(document.body,"position"),V.originalOverflow.value=getStyle$1(document.body,"overflow"),ie.zIndex=oe();else if(t.parent===document.body){V.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const le of["top","left"]){const ue=le==="top"?"scrollTop":"scrollLeft";ie[le]=`${t.target.getBoundingClientRect()[le]+document.body[ue]+document.documentElement[ue]-Number.parseInt(getStyle$1(document.body,`margin-${le}`),10)}px`}for(const le of["height","width"])ie[le]=`${t.target.getBoundingClientRect()[le]}px`}else V.originalPosition.value=getStyle$1(r,"position");for(const[le,ue]of Object.entries(ie))V.$el.style[le]=ue},addClassList=(t,r,V)=>{const oe=V.vm.ns||V.vm._.exposed.ns;["absolute","fixed","sticky"].includes(V.originalPosition.value)?removeClass(r,oe.bm("parent","relative")):addClass(r,oe.bm("parent","relative")),t.fullscreen&&t.lock?addClass(r,oe.bm("parent","hidden")):removeClass(r,oe.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=(t,r)=>{var V,oe,ie,le;const ue=r.instance,de=Ie=>isObject$9(r.value)?r.value[Ie]:void 0,pe=Ie=>{const Ve=isString$6(Ie)&&(ue==null?void 0:ue[Ie])||Ie;return Ve&&ref(Ve)},he=Ie=>pe(de(Ie)||t.getAttribute(`element-loading-${hyphenate(Ie)}`)),_e=(V=de("fullscreen"))!=null?V:r.modifiers.fullscreen,$e={text:he("text"),svg:he("svg"),svgViewBox:he("svgViewBox"),spinner:he("spinner"),background:he("background"),customClass:he("customClass"),fullscreen:_e,target:(oe=de("target"))!=null?oe:_e?void 0:t,body:(ie=de("body"))!=null?ie:r.modifiers.body,lock:(le=de("lock"))!=null?le:r.modifiers.lock};t[INSTANCE_KEY]={options:$e,instance:Loading($e)}},updateOptions=(t,r)=>{for(const V of Object.keys(r))isRef(r[V])&&(r[V].value=t[V])},vLoading={mounted(t,r){r.value&&createInstance$1(t,r)},updated(t,r){const V=t[INSTANCE_KEY];r.oldValue!==r.value&&(r.value&&!r.oldValue?createInstance$1(t,r):r.value&&r.oldValue?isObject$9(r.value)&&updateOptions(r.value,V.options):V==null||V.instance.close())},unmounted(t){var r;(r=t[INSTANCE_KEY])==null||r.instance.close()}},ElLoading={install(t){t.directive("loading",vLoading),t.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient$1?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),required:!1},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances$2=shallowReactive([]),getInstance$1=t=>{const r=instances$2.findIndex(ie=>ie.id===t),V=instances$2[r];let oe;return r>0&&(oe=instances$2[r-1]),{current:V,prev:oe}},getLastOffset=t=>{const{prev:r}=getInstance$1(t);return r?r.vm.exposed.bottom.value:0},getOffsetOrSpace=(t,r)=>instances$2.findIndex(oe=>oe.id===t)>0?20:r,_hoisted_1$4=["id"],_hoisted_2$4=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$4=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(t,{expose:r}){const V=t,{Close:oe}=TypeComponents,{ns:ie,zIndex:le}=useGlobalComponentSettings("message"),{currentZIndex:ue,nextZIndex:de}=le,pe=ref(),he=ref(!1),_e=ref(0);let $e;const Ie=computed(()=>V.type?V.type==="error"?"danger":V.type:"info"),Ve=computed(()=>{const bn=V.type;return{[ie.bm("icon",bn)]:bn&&TypeComponentsMap[bn]}}),Fe=computed(()=>V.icon||TypeComponentsMap[V.type]||""),Ue=computed(()=>getLastOffset(V.id)),qe=computed(()=>getOffsetOrSpace(V.id,V.offset)+Ue.value),Et=computed(()=>_e.value+qe.value),At=computed(()=>({top:`${qe.value}px`,zIndex:ue.value}));function Lt(){V.duration!==0&&({stop:$e}=useTimeoutFn$1(()=>{_n()},V.duration))}function hn(){$e==null||$e()}function _n(){he.value=!1}function vn({code:bn}){bn===EVENT_CODE.esc&&_n()}return onMounted(()=>{Lt(),de(),he.value=!0}),watch(()=>V.repeatNum,()=>{hn(),Lt()}),useEventListener$1(document,"keydown",vn),useResizeObserver$1(pe,()=>{_e.value=pe.value.getBoundingClientRect().height}),r({visible:he,bottom:Et,close:_n}),(bn,Cn)=>(openBlock(),createBlock(Transition,{name:unref(ie).b("fade"),onBeforeLeave:bn.onClose,onAfterLeave:Cn[0]||(Cn[0]=Sn=>bn.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:bn.id,ref_key:"messageRef",ref:pe,class:normalizeClass([unref(ie).b(),{[unref(ie).m(bn.type)]:bn.type&&!bn.icon},unref(ie).is("center",bn.center),unref(ie).is("closable",bn.showClose),bn.customClass]),style:normalizeStyle$1(unref(At)),role:"alert",onMouseenter:hn,onMouseleave:Lt},[bn.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:bn.repeatNum,type:unref(Ie),class:normalizeClass(unref(ie).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(Fe)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ie).e("icon"),unref(Ve)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fe))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(bn.$slots,"default",{},()=>[bn.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(ie).e("content")),innerHTML:bn.message},null,10,_hoisted_2$4)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(ie).e("content"))},toDisplayString$1(bn.message),3))]),bn.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(ie).e("closeBtn")),onClick:withModifiers(_n,["stop"])},{default:withCtx(()=>[createVNode(unref(oe))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$4),[[vShow,he.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$4,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let seed$1=1;const normalizeOptions=t=>{const r=!t||isString$6(t)||isVNode$1(t)||isFunction$5(t)?{message:t}:t,V={...messageDefaults,...r};if(!V.appendTo)V.appendTo=document.body;else if(isString$6(V.appendTo)){let oe=document.querySelector(V.appendTo);isElement$2(oe)||(oe=document.body),V.appendTo=oe}return V},closeMessage=t=>{const r=instances$2.indexOf(t);if(r===-1)return;instances$2.splice(r,1);const{handler:V}=t;V.close()},createMessage=({appendTo:t,...r},V)=>{const oe=`message_${seed$1++}`,ie=r.onClose,le=document.createElement("div"),ue={...r,id:oe,onClose:()=>{ie==null||ie(),closeMessage(_e)},onDestroy:()=>{render$4(null,le)}},de=createVNode(MessageConstructor,ue,isFunction$5(ue.message)||isVNode$1(ue.message)?{default:isFunction$5(ue.message)?ue.message:()=>ue.message}:null);de.appContext=V||message$1._context,render$4(de,le),t.appendChild(le.firstElementChild);const pe=de.component,_e={id:oe,vnode:de,vm:pe,handler:{close:()=>{pe.exposed.visible.value=!1}},props:de.component.props};return _e},message$1=(t={},r)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$4(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const V=normalizeOptions(t);if(V.grouping&&instances$2.length){const ie=instances$2.find(({vnode:le})=>{var ue;return((ue=le.props)==null?void 0:ue.message)===V.message});if(ie)return ie.props.repeatNum+=1,ie.props.type=V.type,ie.handler}const oe=createMessage(V,r);return instances$2.push(oe),oe.handler};messageTypes.forEach(t=>{message$1[t]=(r={},V)=>{const oe=normalizeOptions(r);return message$1({...oe,type:t},V)}});function closeAll$1(t){for(const r of instances$2)(!t||t===r.props.type)&&r.handler.close()}message$1.closeAll=closeAll$1;message$1._context=null;const ElMessage=withInstallFunction(message$1,"$message"),_sfc_main$3=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(t,{emit:r}){const{locale:V,zIndex:oe,ns:ie,size:le}=useGlobalComponentSettings("message-box",computed(()=>t.buttonSize)),{t:ue}=V,{nextZIndex:de}=oe,pe=ref(!1),he=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:de()}),_e=computed(()=>{const Nn=he.type;return{[ie.bm("icon",Nn)]:Nn&&TypeComponentsMap[Nn]}}),$e=useId(),Ie=useId(),Ve=computed(()=>he.icon||TypeComponentsMap[he.type]||""),Fe=computed(()=>!!he.message),Ue=ref(),qe=ref(),Et=ref(),At=ref(),Lt=ref(),hn=computed(()=>he.confirmButtonClass);watch(()=>he.inputValue,async Nn=>{await nextTick(),t.boxType==="prompt"&&Nn!==null&&En()},{immediate:!0}),watch(()=>pe.value,Nn=>{var Dn,Mn;Nn&&(t.boxType!=="prompt"&&(he.autofocus?Et.value=(Mn=(Dn=Lt.value)==null?void 0:Dn.$el)!=null?Mn:Ue.value:Et.value=Ue.value),he.zIndex=de()),t.boxType==="prompt"&&(Nn?nextTick().then(()=>{var Ln;At.value&&At.value.$el&&(he.autofocus?Et.value=(Ln=xn())!=null?Ln:Ue.value:Et.value=Ue.value)}):(he.editorErrorMessage="",he.validateError=!1))});const _n=computed(()=>t.draggable);useDraggable(Ue,qe,_n),onMounted(async()=>{await nextTick(),t.closeOnHashChange&&window.addEventListener("hashchange",vn)}),onBeforeUnmount(()=>{t.closeOnHashChange&&window.removeEventListener("hashchange",vn)});function vn(){pe.value&&(pe.value=!1,nextTick(()=>{he.action&&r("action",he.action)}))}const bn=()=>{t.closeOnClickModal&&wn(he.distinguishCancelAndClose?"close":"cancel")},Cn=useSameTarget(bn),Sn=Nn=>{if(he.inputType!=="textarea")return Nn.preventDefault(),wn("confirm")},wn=Nn=>{var Dn;t.boxType==="prompt"&&Nn==="confirm"&&!En()||(he.action=Nn,he.beforeClose?(Dn=he.beforeClose)==null||Dn.call(he,Nn,he,vn):vn())},En=()=>{if(t.boxType==="prompt"){const Nn=he.inputPattern;if(Nn&&!Nn.test(he.inputValue||""))return he.editorErrorMessage=he.inputErrorMessage||ue("el.messagebox.error"),he.validateError=!0,!1;const Dn=he.inputValidator;if(typeof Dn=="function"){const Mn=Dn(he.inputValue);if(Mn===!1)return he.editorErrorMessage=he.inputErrorMessage||ue("el.messagebox.error"),he.validateError=!0,!1;if(typeof Mn=="string")return he.editorErrorMessage=Mn,he.validateError=!0,!1}}return he.editorErrorMessage="",he.validateError=!1,!0},xn=()=>{const Nn=At.value.$refs;return Nn.input||Nn.textarea},Pn=()=>{wn("close")},kn=()=>{t.closeOnPressEscape&&Pn()};return t.lockScroll&&useLockscreen(pe),{...toRefs(he),ns:ie,overlayEvent:Cn,visible:pe,hasMessage:Fe,typeClass:_e,contentId:$e,inputId:Ie,btnSize:le,iconComponent:Ve,confirmButtonClasses:hn,rootRef:Ue,focusStartRef:Et,headerRef:qe,inputRef:At,confirmRef:Lt,doClose:vn,handleClose:Pn,onCloseRequested:kn,handleWrapperClick:bn,handleInputEnter:Sn,handleAction:wn,t:ue}}}),_hoisted_1$3=["aria-label","aria-describedby"],_hoisted_2$3=["aria-label"],_hoisted_3$3=["id"];function _sfc_render$1(t,r,V,oe,ie,le){const ue=resolveComponent("el-icon"),de=resolveComponent("close"),pe=resolveComponent("el-input"),he=resolveComponent("el-button"),_e=resolveComponent("el-focus-trap"),$e=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:r[11]||(r[11]=Ie=>t.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode($e,{"z-index":t.zIndex,"overlay-class":[t.ns.is("message-box"),t.modalClass],mask:t.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":t.title,"aria-modal":"true","aria-describedby":t.showInput?void 0:t.contentId,class:normalizeClass(`${t.ns.namespace.value}-overlay-message-box`),onClick:r[8]||(r[8]=(...Ie)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...Ie)),onMousedown:r[9]||(r[9]=(...Ie)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...Ie)),onMouseup:r[10]||(r[10]=(...Ie)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...Ie))},[createVNode(_e,{loop:"",trapped:t.visible,"focus-trap-el":t.rootRef,"focus-start-el":t.focusStartRef,onReleaseRequested:t.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([t.ns.b(),t.customClass,t.ns.is("draggable",t.draggable),{[t.ns.m("center")]:t.center}]),style:normalizeStyle$1(t.customStyle),tabindex:"-1",onClick:r[7]||(r[7]=withModifiers(()=>{},["stop"]))},[t.title!==null&&t.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass(t.ns.e("header"))},[createBaseVNode("div",{class:normalizeClass(t.ns.e("title"))},[t.iconComponent&&t.center?(openBlock(),createBlock(ue,{key:0,class:normalizeClass([t.ns.e("status"),t.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString$1(t.title),1)],2),t.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(t.ns.e("headerbtn")),"aria-label":t.t("el.messagebox.close"),onClick:r[0]||(r[0]=Ie=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),onKeydown:r[1]||(r[1]=withKeys(withModifiers(Ie=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode(ue,{class:normalizeClass(t.ns.e("close"))},{default:withCtx(()=>[createVNode(de)]),_:1},8,["class"])],42,_hoisted_2$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:t.contentId,class:normalizeClass(t.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(t.ns.e("container"))},[t.iconComponent&&!t.center&&t.hasMessage?(openBlock(),createBlock(ue,{key:0,class:normalizeClass([t.ns.e("status"),t.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),t.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(t.ns.e("message"))},[renderSlot(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(t.showInput?"label":"p"),{key:1,for:t.showInput?t.inputId:void 0,innerHTML:t.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(t.showInput?"label":"p"),{key:0,for:t.showInput?t.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.dangerouslyUseHTMLString?"":t.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(t.ns.e("input"))},[createVNode(pe,{id:t.inputId,ref:"inputRef",modelValue:t.inputValue,"onUpdate:modelValue":r[2]||(r[2]=Ie=>t.inputValue=Ie),type:t.inputType,placeholder:t.inputPlaceholder,"aria-invalid":t.validateError,class:normalizeClass({invalid:t.validateError}),onKeydown:withKeys(t.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(t.ns.e("errormsg")),style:normalizeStyle$1({visibility:t.editorErrorMessage?"visible":"hidden"})},toDisplayString$1(t.editorErrorMessage),7)],2),[[vShow,t.showInput]])],10,_hoisted_3$3),createBaseVNode("div",{class:normalizeClass(t.ns.e("btns"))},[t.showCancelButton?(openBlock(),createBlock(he,{key:0,loading:t.cancelButtonLoading,class:normalizeClass([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:r[3]||(r[3]=Ie=>t.handleAction("cancel")),onKeydown:r[4]||(r[4]=withKeys(withModifiers(Ie=>t.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.cancelButtonText||t.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode(he,{ref:"confirmRef",type:"primary",loading:t.confirmButtonLoading,class:normalizeClass([t.confirmButtonClasses]),round:t.roundButton,disabled:t.confirmButtonDisabled,size:t.btnSize,onClick:r[5]||(r[5]=Ie=>t.handleAction("confirm")),onKeydown:r[6]||(r[6]=withKeys(withModifiers(Ie=>t.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(t.confirmButtonText||t.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,t.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$3)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,t.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$1],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const messageInstance=new Map,getAppendToElement=t=>{let r=document.body;return t.appendTo&&(isString$6(t.appendTo)&&(r=document.querySelector(t.appendTo)),isElement$2(t.appendTo)&&(r=t.appendTo),isElement$2(r)||(r=document.body)),r},initInstance=(t,r,V=null)=>{const oe=createVNode(MessageBoxConstructor,t,isFunction$5(t.message)||isVNode$1(t.message)?{default:isFunction$5(t.message)?t.message:()=>t.message}:null);return oe.appContext=V,render$4(oe,r),getAppendToElement(t).appendChild(r.firstElementChild),oe.component},genContainer=()=>document.createElement("div"),showMessage=(t,r)=>{const V=genContainer();t.onVanish=()=>{render$4(null,V),messageInstance.delete(ie)},t.onAction=le=>{const ue=messageInstance.get(ie);let de;t.showInput?de={value:ie.inputValue,action:le}:de=le,t.callback?t.callback(de,oe.proxy):le==="cancel"||le==="close"?t.distinguishCancelAndClose&&le!=="cancel"?ue.reject("close"):ue.reject("cancel"):ue.resolve(de)};const oe=initInstance(t,V,r),ie=oe.proxy;for(const le in t)hasOwn$4(t,le)&&!hasOwn$4(ie.$props,le)&&(ie[le]=t[le]);return ie.visible=!0,ie};function MessageBox(t,r=null){if(!isClient$1)return Promise.reject();let V;return isString$6(t)||isVNode$1(t)?t={message:t}:V=t.callback,new Promise((oe,ie)=>{const le=showMessage(t,r??MessageBox._context);messageInstance.set(le,{options:t,callback:V,resolve:oe,reject:ie})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(t=>{MessageBox[t]=messageBoxFactory(t)});function messageBoxFactory(t){return(r,V,oe,ie)=>{let le="";return isObject$9(V)?(oe=V,le=""):isUndefined$1(V)?le="":le=V,MessageBox(Object.assign({title:le,message:r,type:"",...MESSAGE_BOX_DEFAULT_OPTS[t]},oe,{boxType:t}),ie)}}MessageBox.close=()=>{messageInstance.forEach((t,r)=>{r.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=t=>{_MessageBox._context=t._context,t.config.globalProperties.$msgbox=_MessageBox,t.config.globalProperties.$messageBox=_MessageBox,t.config.globalProperties.$alert=_MessageBox.alert,t.config.globalProperties.$confirm=_MessageBox.confirm,t.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:Number}),notificationEmits={destroy:()=>!0},_hoisted_1$2=["id"],_hoisted_2$2=["textContent"],_hoisted_3$2={key:0},_hoisted_4$1=["innerHTML"],__default__=defineComponent({name:"ElNotification"}),_sfc_main$2=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(t,{expose:r}){const V=t,{ns:oe,zIndex:ie}=useGlobalComponentSettings("notification"),{nextZIndex:le,currentZIndex:ue}=ie,{Close:de}=CloseComponents,pe=ref(!1);let he;const _e=computed(()=>{const Lt=V.type;return Lt&&TypeComponentsMap[V.type]?oe.m(Lt):""}),$e=computed(()=>V.type&&TypeComponentsMap[V.type]||V.icon),Ie=computed(()=>V.position.endsWith("right")?"right":"left"),Ve=computed(()=>V.position.startsWith("top")?"top":"bottom"),Fe=computed(()=>{var Lt;return{[Ve.value]:`${V.offset}px`,zIndex:(Lt=V.zIndex)!=null?Lt:ue.value}});function Ue(){V.duration>0&&({stop:he}=useTimeoutFn$1(()=>{pe.value&&Et()},V.duration))}function qe(){he==null||he()}function Et(){pe.value=!1}function At({code:Lt}){Lt===EVENT_CODE.delete||Lt===EVENT_CODE.backspace?qe():Lt===EVENT_CODE.esc?pe.value&&Et():Ue()}return onMounted(()=>{Ue(),le(),pe.value=!0}),useEventListener$1(document,"keydown",At),r({visible:pe,close:Et}),(Lt,hn)=>(openBlock(),createBlock(Transition,{name:unref(oe).b("fade"),onBeforeLeave:Lt.onClose,onAfterLeave:hn[1]||(hn[1]=_n=>Lt.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Lt.id,class:normalizeClass([unref(oe).b(),Lt.customClass,unref(Ie)]),style:normalizeStyle$1(unref(Fe)),role:"alert",onMouseenter:qe,onMouseleave:Ue,onClick:hn[0]||(hn[0]=(..._n)=>Lt.onClick&&Lt.onClick(..._n))},[unref($e)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(oe).e("icon"),unref(_e)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref($e))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(oe).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(oe).e("title")),textContent:toDisplayString$1(Lt.title)},null,10,_hoisted_2$2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(oe).e("content")),style:normalizeStyle$1(Lt.title?void 0:{margin:0})},[renderSlot(Lt.$slots,"default",{},()=>[Lt.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:Lt.message},null,8,_hoisted_4$1)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$2,toDisplayString$1(Lt.message),1))])],6),[[vShow,Lt.message]]),Lt.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(oe).e("closeBtn")),onClick:withModifiers(Et,["stop"])},{default:withCtx(()=>[createVNode(unref(de))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$2),[[vShow,pe.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$2,[["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(t={},r=null){if(!isClient$1)return{close:()=>{}};(typeof t=="string"||isVNode$1(t))&&(t={message:t});const V=t.position||"top-right";let oe=t.offset||0;notifications[V].forEach(({vm:_e})=>{var $e;oe+=((($e=_e.el)==null?void 0:$e.offsetHeight)||0)+GAP_SIZE}),oe+=GAP_SIZE;const ie=`notification_${seed++}`,le=t.onClose,ue={...t,offset:oe,id:ie,onClose:()=>{close(ie,V,le)}};let de=document.body;isElement$2(t.appendTo)?de=t.appendTo:isString$6(t.appendTo)&&(de=document.querySelector(t.appendTo)),isElement$2(de)||(de=document.body);const pe=document.createElement("div"),he=createVNode(NotificationConstructor,ue,isVNode$1(ue.message)?{default:()=>ue.message}:null);return he.appContext=r??notify._context,he.props.onDestroy=()=>{render$4(null,pe)},render$4(he,pe),notifications[V].push({vm:he}),de.appendChild(pe.firstElementChild),{close:()=>{he.component.exposed.visible.value=!1}}};notificationTypes.forEach(t=>{notify[t]=(r={})=>((typeof r=="string"||isVNode$1(r))&&(r={message:r}),notify({...r,type:t}))});function close(t,r,V){const oe=notifications[r],ie=oe.findIndex(({vm:he})=>{var _e;return((_e=he.component)==null?void 0:_e.props.id)===t});if(ie===-1)return;const{vm:le}=oe[ie];if(!le)return;V==null||V(le);const ue=le.el.offsetHeight,de=r.split("-")[0];oe.splice(ie,1);const pe=oe.length;if(!(pe<1))for(let he=ie;he<pe;he++){const{el:_e,component:$e}=oe[he].vm,Ie=Number.parseInt(_e.style[de],10)-ue-GAP_SIZE;$e.props.offset=Ie}}function closeAll(){for(const t of Object.values(notifications))t.forEach(({vm:r})=>{r.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]);/*! Element Plus v2.3.12 */var en$1={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}},ct=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,$t$1=Object.getOwnPropertyNames,It=Object.prototype.hasOwnProperty,Dt=(t,r)=>{for(var V in r)ct(t,V,{get:r[V],enumerable:!0})},at=(t,r,V,oe)=>{if(r&&typeof r=="object"||typeof r=="function")for(let ie of $t$1(r))!It.call(t,ie)&&ie!==V&&ct(t,ie,{get:()=>r[ie],enumerable:!(oe=kt(r,ie))||oe.enumerable});return t},et=(t,r,V)=>(at(t,r,"default"),V&&at(V,r,"default"));function lt$1(t){let r=t.split(","),V=r[0].match(/:(.*?);/)[1],oe=window.atob(r[1]),ie=oe.length,le=new Uint8Array(ie);for(;ie--;)le[ie]=oe.charCodeAt(ie);return new Blob([le],{type:V})}function ft(t,r,V){return new Promise((oe,ie)=>{let le=document.createElement("CANVAS"),ue=le.getContext("2d"),de=new Image;de.crossOrigin="",de.onload=function(){if(!le||!ue)return ie();le.height=de.height,le.width=de.width,ue.drawImage(de,0,0);let pe=le.toDataURL(r||"image/png",V);le=null,oe(pe)},de.src=t})}var Pt=Object.prototype.toString;function O(t,r){return Pt.call(t)===`[object ${r}]`}function k(t){return t!==null&&O(t,"Object")}function R(t){return typeof t<"u"}function mt(t){return!R(t)}function dt(t){return t===null}function Ut(t){return dt(t)||mt(t)}function Nt(t){return $(t)||A(t)?t.length===0:t instanceof Map||t instanceof Set?t.size===0:k(t)?Object.keys(t).length===0:!1}function N(t){return!!(Nt(t)||Ut(t))}function B(t){return O(t,"Number")}function A(t){return O(t,"String")}function q$1(t){return typeof t=="function"}function Le(t){return O(t,"Boolean")}function $(t){return t&&Array.isArray(t)}var nt=typeof window>"u",rt$1=!nt;function gt(t){let r="^((https|http|ftp|rtsp|mms)?://)(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-z_!~*'()-]+.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z].[a-z]{2,6})(:[0-9]{1,5})?((/?)|(/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+/?)$";return new RegExp(r,"ig").test(t)}function Be$1(t){return/^[1](([3][0-9])|([4][0,1,4-9])|([5][0-3,5-9])|([6][2,5,6,7])|([7][0-8])|([8][0-9])|([9][0-3,5-9]))[0-9]{8}$/.test(t)}function He(t){return/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(t)}var z=(t,r)=>!!(t!=null&&t.className.match(new RegExp("(\\s|^)"+r+"(\\s|$)"))),Ze=(t,r,V)=>{z(t,r)||(t.className+=" "+r),V&&!z(t,V)&&(t.className+=" "+V)},Ge=(t,r,V)=>{if(z(t,r)){let oe=new RegExp("(\\s|^)"+r+"(\\s|$)");t.className=t.className.replace(oe," ").trim()}if(V&&z(t,V)){let oe=new RegExp("(\\s|^)"+V+"(\\s|$)");t.className=t.className.replace(oe," ").trim()}},Qe=(t,r,V)=>{let oe=V||document.body,{className:ie}=oe,le=ie.replace(r,"").trim().split(/\s+/).join(" ");oe.className=t?`${le} ${r}`:le},Bt=Object.prototype.toString;function Ht(t,r){return t&&t.hasOwnProperty?t.hasOwnProperty(r):!1}function jt(t,r,V){if(t)if(t.forEach)t.forEach(r,V);else for(let oe=0,ie=t.length;oe<ie;oe++)r.call(V,t[oe],oe,t)}function Ft(t,r,V){if(t)for(let oe in t)Ht(t,oe)&&r.call(V,t[oe],oe,t)}function ot(t,r){let V=t.__proto__.constructor;return r?new V(r):new V}function _$1(t,r){return r?st(t,r):t}function st(t,r){if(t)switch(Bt.call(t)){case"[object Object]":{let V=Object.create(t.__proto__);return Ft(t,function(oe,ie){V[ie]=_$1(oe,r)}),V}case"[object Date]":case"[object RegExp]":return ot(t,t.valueOf());case"[object Array]":case"[object Arguments]":{let V=[];return jt(t,function(oe){V.push(_$1(oe,r))}),V}case"[object Set]":{let V=ot(t);return V.forEach(function(oe){V.add(_$1(oe,r))}),V}case"[object Map]":{let V=ot(t);return V.forEach(function(oe){V.set(_$1(oe,r))}),V}}return t}function tn(t,r){return t&&st(t,r)}function en(t){return t&&st(t,!0)}var rn=t=>{let r=(t==null?void 0:t.type)??"rgb",V=(t==null?void 0:t.num)??0;if(V===0)switch(r){case"rgb":return window.crypto.getRandomValues(new Uint8Array(3)).toString();case"hex":return`#${Math.floor(Math.random()*16777215).toString(16).padStart(6,`${Math.random()*10}`)}`;case"hsl":return[360*Math.random(),`${100*Math.random()}%`,`${100*Math.random()}%`].toString()}else switch(r){case"rgb":let oe=[];for(let ue=0;ue<V;ue++)oe.push(window.crypto.getRandomValues(new Uint8Array(3)).toString());return oe;case"hex":let ie=[];for(let ue=0;ue<V;ue++)ie.push(`#${Math.floor(Math.random()*16777215).toString(16).padStart(6,`${Math.random()*10}`)}`);return ie;case"hsl":let le=[];for(let ue=0;ue<V;ue++)le.push([360*Math.random(),`${100*Math.random()}%`,`${100*Math.random()}%`].toString());return le}},Tn=(t,r)=>{if(t==0)return"0 Bytes";let V=1024,oe=r||2,ie=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],le=Math.floor(Math.log(t)/Math.log(V));return parseFloat((t/Math.pow(V,le)).toFixed(oe))+" "+ie[le]};function On(t,r=!0){let V=ue=>(ue=Math.floor(ue),ue<10&&r?`0${ue}`:ue),oe=V(t/3600),ie=V(t%3600/60),le=V(t%60);return{h:oe,m:ie,s:le}}var D$1=(t=20)=>new Promise(r=>setTimeout(r,t)),vt=(t,r=200,V=!1)=>{let oe,ie=r,le;return function(){oe&&clearTimeout(oe),V?(oe||t.call(le,...arguments),oe=setTimeout(()=>oe=null,ie)):oe=setTimeout(()=>t.call(le,...arguments),ie)}},Rn=(t,r=1e3)=>{let V;return function(){V||(V=setTimeout(()=>{t.call(void 0,...arguments),V=null},r))}},$n=()=>{let t=navigator.userAgent.toLowerCase(),r=t.match(/midp/i)=="midp",V=t.match(/ucweb/i)=="ucweb",oe=t.match(/android/i)=="android",ie=t.match(/iphone os/i)=="iphone os",le=t.match(/windows ce/i)=="windows ce",ue=t.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",de=t.match(/windows mobile/i)=="windows mobile";return r||V||oe||ie||le||ue||de},Mt=(t,r="_blank")=>{let V=document.createElement("a");V.setAttribute("href",t),V.setAttribute("target",r),V.setAttribute("rel","noreferrer noopener"),V.setAttribute("id","external");let oe=document.getElementById("external");oe&&document.body.removeChild(oe),document.body.appendChild(V),V.click(),V.remove()};function Bn(t,r,V,oe){ft(t).then(ie=>{zt(ie,r,V,oe)})}function zt(t,r,V,oe){let ie=lt$1(t);_t(ie,r,V,oe)}function _t(t,r,V,oe){let ie=typeof oe<"u"?[oe,t]:[t],le=new Blob(ie,{type:V||"application/octet-stream"}),ue=window.URL.createObjectURL(le),de=document.createElement("a");de.style.display="none",de.href=ue,de.setAttribute("download",r),typeof de.download>"u"&&de.setAttribute("target","_blank"),document.body.appendChild(de),de.click(),document.body.removeChild(de),window.URL.revokeObjectURL(ue)}function Hn(t,r,V="_self"){let oe=window.navigator.userAgent.toLowerCase().indexOf("chrome")>-1,ie=window.navigator.userAgent.toLowerCase().indexOf("safari")>-1;if(/(iP)/g.test(window.navigator.userAgent))return console.error("Your browser does not support download!"),!1;if(oe||ie){let le=document.createElement("a");if(le.href=t,le.target=V,le.download!==void 0&&(le.download=r||t.substring(t.lastIndexOf("/")+1,t.length)),document.createEvent){let ue=document.createEvent("MouseEvents");return ue.initEvent("click",!0,!0),le.dispatchEvent(ue),!0}}return t.indexOf("?")===-1&&(t+="?download"),Mt(t,V),!0}function St(t,r){if(t===r)return!0;if(typeof t!="object"||typeof r!="object"||t==null||r==null)return!1;let V=Object.keys(t),oe=Object.keys(r);if(V.length!==oe.length)return!1;for(let ie of V)if(!oe.includes(ie)||!St(t[ie],r[ie]))return!1;return!0}function Wt(t,r){if(!t||!r)return!1;let{length:V}=t;if(V!==r.length)return!1;for(let oe=0;oe<V;oe++)if(!Xt(t[oe],r[oe]))return!1;return!0}function Xt(t,r){let V=Object.prototype.toString.call(t);return V!==Object.prototype.toString.call(r)?!1:V==="[object Object]"?St(t,r):V==="[object Array]"?Wt(t,r):V==="[object Function]"?t===r?!0:t.toString()===r.toString():t===r}var zn=(t,r)=>{if(t.install=V=>{for(let oe of[t,...Object.values(r??{})])V.component(oe.name,oe)},r)for(let[V,oe]of Object.entries(r))t[V]=oe;return t},H=class{constructor(t){io(this,"storage");this.storage=t}setItem(t,r){N(this.storage)||this.storage.setItem(t,JSON.stringify(r))}getItem(t){if(!N(this.storage))return JSON.parse(this.storage.getItem(t))}removeItem(t){N(this.storage)||this.storage.removeItem(t)}clear(){N(this.storage)||this.storage.clear()}},Q=class extends H{constructor(t){super(t)}},nr=()=>rt$1?new Q(window.localStorage):new Q(""),rr=()=>rt$1?new H(window.sessionStorage):new H("");function Vt(t,r){return A(r)?t.substring(0,t.indexOf(r)):""}function Zt(t,r){return A(r)?t.substring(t.lastIndexOf(r)+r.length,t.length):""}function lr(t,r,V="*"){B(t)&&(t=t.toString()),$(r)||(r=Array.of(r));let oe=t.split("");for(let ie=0;ie<r.length;ie++){let le=r[ie];if(k(le)&&!$(le)){let{start:ue,end:de}=le;ue>=0&&ue<de&&oe.fill(V,ue,de+1);continue}B(le)&&Number.isInteger(le)&&le>=0&&(oe[r[ie]]=V)}return oe.join("")}function hr(t){if(!gt(t))return console.error(`${t}不符合超链接规范`),{};let r=t.indexOf("?"),V=t.slice(r+1).split("&"),oe={};for(let ie=0;ie<V.length;ie++)oe[V[ie].split("=")[0]]=V[ie].split("=")[1];return oe}function Tr(t,r){return t.every(V=>r.some(oe=>oe===V))}var vr=(...t)=>[...t].reduce((r,V)=>r.filter(oe=>V.includes(oe)));function Sr(t,r){let V=[];for(let oe of t)oe[r]&&V.push(oe[r]);return Array.from(new Set(V))}var a$1={};Dt(a$1,{Vue:()=>vue_runtime_esmBundler});et(a$1,vue_runtime_esmBundler);function se(t,{target:r=document.body}={}){let V=document.createElement("textarea"),oe=document.activeElement;V.value=t,V.setAttribute("readonly",""),V.style.contain="strict",V.style.position="absolute",V.style.left="-9999px",V.style.fontSize="12pt";let ie=document.getSelection(),le;ie&&ie.rangeCount>0&&(le=ie.getRangeAt(0)),r.append(V),V.select(),V.selectionStart=0,V.selectionEnd=t.length;let ue=!1;try{ue=document.execCommand("copy")}catch(de){throw new Error(de)}return V.remove(),le&&ie&&(ie.removeAllRanges(),ie.addRange(le)),oe&&oe.focus(),ue}function L$1(t){(0,a$1.getCurrentInstance)()&&(0,a$1.onUnmounted)(t)}var Yr=()=>{let t=(0,a$1.shallowRef)(!1),r,V=()=>{t.value=document.documentElement.classList.contains("dark")};return L$1(()=>{r.takeRecords(),r.disconnect()}),(0,a$1.onBeforeMount)(()=>{V(),r=new MutationObserver(V),r.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:t}};function Ct(){let{appContext:{config:{globalProperties:t}}}=(0,a$1.getCurrentInstance)();return t}var to=(t,r)=>{let V=(r==null?void 0:r.theme)??(0,a$1.ref)("default"),oe=(r==null?void 0:r.tooltipId)??"tooltipElement",ie=Ct().$echarts,le=null,ue=(0,a$1.ref)({}),de=(0,a$1.ref)(),pe=(0,a$1.computed)(()=>V.value!=="dark"?ue.value:{backgroundColor:"transparent",...ue.value});function he(Sn){let wn=(0,a$1.unref)(t);!wn||!(0,a$1.unref)(wn)||(le=ie.init(wn,Sn))}function _e(Sn,...wn){var En;if(ue.value=Sn,de.value=wn,((En=(0,a$1.unref)(t))==null?void 0:En.offsetHeight)===0){D$1().then(()=>_e((0,a$1.unref)(pe),...wn));return}(0,a$1.nextTick)(()=>{D$1().then(()=>{!le&&he(V.value),(Sn.clear??!0)&&$e(),le==null||le.setOption((0,a$1.unref)(pe)),wn&&wn.map(xn=>{(xn==null?void 0:xn.type)!=="zrender"&&typeof(xn==null?void 0:xn.callback)=="function"&&(le==null||le.on(xn==null?void 0:xn.name,xn!=null&&xn.query?xn==null?void 0:xn.query:"",Pn=>{xn==null||xn.callback(Pn)})),(xn==null?void 0:xn.type)==="zrender"&&typeof(xn==null?void 0:xn.callback)=="function"&&(le==null||le.getZr().on(xn==null?void 0:xn.name,Pn=>{Pn.target||(xn==null||xn.callback(Pn))}))}),Sn!=null&&Sn.addTooltip&&bn(Sn.addTooltip)})})}function $e(){le&&le.clear()}function Ie(){le.resize()}function Ve(Sn){let wn=(Sn==null?void 0:Sn.type)??"default",En=(Sn==null?void 0:Sn.opts)??{};le.showLoading(wn,En)}function Fe(){le.hideLoading()}function Ue(Sn){le.appendData(Sn)}function qe(){return le.getWidth()}function Et(){return le.getHeight()}function At(){return le||he(V.value),le}function Lt(){return le.getDom()}function hn(){return le.getOption()}function _n(Sn){return le.getDataURL(Sn)}function vn(Sn){return le.getConnectedDataURL(Sn)}function bn(Sn){if(!Sn)return;let wn=document.querySelector("html");if(!document.getElementById(oe)){let Pn=document.createElement("div");Pn.setAttribute("id",oe),Pn.style.display="block",wn.appendChild(Pn)}let En=document.querySelector(`#${oe}`),xn=Pn=>{if((Pn==null?void 0:Pn.targetType)!=="axisLabel")return;let kn=`
|
||
padding: 5px;
|
||
font-size: 12px;
|
||
display: inline;
|
||
border-radius: 4px;
|
||
position: absolute;
|
||
background-color: #303133;
|
||
z-index: 99999;color: #fff;
|
||
box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 8px;
|
||
`;En.style.cssText=kn,En.innerHTML=Pn==null?void 0:Pn.value,wn.onmousemove=Nn=>{let Dn=Nn.pageX-10,Mn=Nn.pageY+15;En.style.top=Mn+"px",En.style.left=Dn+"px"}};le==null||le.on("mouseover",Pn=>{(Sn==="x"&&Pn.componentType=="xAxis"||Sn==="y"&&Pn.componentType=="yAxis"||Sn.toString()==="true"&&Pn.componentType.includes("Axis"))&&xn(Pn)}),le==null||le.on("mouseout",()=>{wn.onmousemove=null,En.style.cssText="display:none"})}(0,a$1.watch)(()=>V.value,Sn=>{le&&(le.dispose(),he(Sn),_e(ue.value,...de.value))});function Cn(){var Sn;!le||D$1(((Sn=ue.value)==null?void 0:Sn.delay)??300).then(()=>{Ie()})}return(0,a$1.onMounted)(()=>{(0,a$1.nextTick)(()=>{window.addEventListener("resize",Cn)})}),L$1(()=>{var Sn;window.removeEventListener("resize",Cn),le&&(le.dispose(),le=null,(Sn=document.querySelector(`#${oe}`))==null||Sn.remove())}),{echarts:ie,clear:$e,resize:Ie,getDom:Lt,getWidth:qe,getOption:hn,getHeight:Et,addTooltip:bn,getDataURL:_n,setOptions:_e,appendData:Ue,getInstance:At,showLoading:Ve,hideLoading:Fe,getConnectedDataURL:vn}},j$2=665,F=665;function ro(t=!0){let r,V;function oe(le){var ue;return document.querySelector(`#pure-utils-css-${j$2}`)&&((ue=document.querySelector(`#pure-utils-css-${j$2}`))==null||ue.remove()),j$2+=1,new Promise((de,pe)=>{r=document.createElement("link"),r.id=`pure-utils-css-${j$2}`,r.rel="stylesheet",r.onload=function(){de("success")},r.onerror=function(he){pe(he)},r.href=le.src,document[(le==null?void 0:le.carrier)??"head"].appendChild(r)})}function ie(le){var ue;return document.querySelector(`#pure-utils-script-${F}`)&&((ue=document.querySelector(`#pure-utils-script-${F}`))==null||ue.remove()),F+=1,new Promise((de,pe)=>{V=document.createElement("script"),V.id=`pure-utils-script-${F}`,V.type="text/javascript",V.onload=function(){de("success")},V.onerror=function(he){pe(he)},V.src=le.src,document[(le==null?void 0:le.carrier)??"head"].appendChild(V)})}return L$1(()=>{t&&(r&&(r==null||r.remove()),V&&(V==null||V.remove()),j$2=665,F=665)}),{loadCss:oe,loadScript:ie}}var ae=Symbol("watermark-dom"),mo=(t=(0,a$1.ref)(document.body))=>{let r=ae.toString(),V=(0,a$1.shallowRef)(),oe=()=>{let $e=(0,a$1.unref)(V);V.value=void 0;let Ie=(0,a$1.unref)(t);!Ie||$e&&Ie.removeChild($e)};function ie($e,Ie){let Ve=document.createElement("canvas"),Fe=(Ie==null?void 0:Ie.width)??250,Ue=(Ie==null?void 0:Ie.height)??100;Object.assign(Ve,{width:Fe,height:Ue});let qe=Ve.getContext("2d");if(qe){if(qe.rotate(((Ie==null?void 0:Ie.rotate)??-10*Math.PI)/120),qe.font=(Ie==null?void 0:Ie.font)??"15px Reggae One",(Ie==null?void 0:Ie.gradient)&&$(Ie==null?void 0:Ie.gradient)){let Et=qe.createLinearGradient(0,0,Fe,0);Ie==null||Ie.gradient.forEach(At=>{Et.addColorStop(At.value,At.color)}),qe.fillStyle=Et}else qe.fillStyle=(Ie==null?void 0:Ie.fillStyle)??"rgba(0, 0, 0, 0.15)";if(qe.textAlign="left",qe.textBaseline="middle",Ie!=null&&Ie.globalAlpha&&(qe.globalAlpha=Ie.globalAlpha),Ie==null?void 0:Ie.shadowConfig){let{shadowConfig:Et}=Ie;qe.shadowBlur=Et[0],qe.shadowColor=(Et==null?void 0:Et[1])??"#000000",qe.shadowOffsetX=(Et==null?void 0:Et[2])??0,qe.shadowOffsetY=(Et==null?void 0:Et[3])??0}qe.fillText($e,Fe/((Ie==null?void 0:Ie.fillTextWidth)??20),Ue/((Ie==null?void 0:Ie.fillTextHeight)??2))}return Ve.toDataURL("image/png")}function le($e={}){let Ie=(0,a$1.unref)(V);!Ie||(R($e.width)&&(Ie.style.width=`${$e.width}px`),R($e.height)&&(Ie.style.height=`${$e.height}px`),R($e.str)&&(Ie.style.background=`url(${ie($e.str,$e.attr)}) left top repeat`))}let ue=vt(()=>{let $e=(0,a$1.unref)(t);if(!$e)return;let{clientHeight:Ie,clientWidth:Ve}=$e;le({height:Ie,width:Ve})}),de=($e,Ie)=>{var Et;if((0,a$1.unref)(V))return le({str:$e,attr:Ie}),r;let Ve=document.createElement("div");V.value=Ve,Ve.id=r,Ve.style.pointerEvents="none",Ve.style.top="0px",Ve.style.left="0px",Ve.style.position="absolute",Ve.style.zIndex=(Ie==null?void 0:Ie.zIndex)??"100000";let Fe=(0,a$1.unref)(t);if(!Fe)return r;let{clientHeight:Ue,clientWidth:qe}=Fe;return le({str:$e,width:qe,height:Ue,attr:Ie}),(Et=Fe==null?void 0:Fe.style)!=null&&Et.position||(Fe.style.position="relative"),Fe.appendChild(Ve),r};function pe($e,{str:Ie,attr:Ve}){$e[0].removedNodes[0]&&$e[0].removedNodes[0].id===r&&(V.value=void 0,de(Ie,Ve))}function he($e,Ie){let Ve={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(Fe=>pe(Fe,{str:$e,attr:Ie})).observe((0,a$1.unref)(t),Ve)}function _e($e,Ie){de($e,Ie),window.addEventListener("resize",ue),Ie!=null&&Ie.forever&&he($e,Ie),(0,a$1.getCurrentInstance)()&&oe&&oe()}return L$1(()=>{window.removeEventListener("resize",ue)}),{clear:oe,setWatermark:_e}};const data$1={width:24,height:24,body:'<path fill="currentColor" d="M16 3h6v6h-2V5h-4V3ZM2 3h6v2H4v4H2V3Zm18 16v-4h2v6h-6v-2h4ZM4 19h4v2H2v-6h2v4Z"/>'},data={width:24,height:24,body:'<path fill="currentColor" d="M18 7h4v2h-6V3h2v4ZM8 9H2V7h4V3h2v6Zm10 8v4h-2v-6h6v2h-4ZM8 15v6H6v-4H2v-2h6Z"/>'},_hoisted_1$1={key:0,class:"flex items-center justify-between"},_hoisted_2$1=["id"],_hoisted_3$1={key:1},_sfc_main$1=defineComponent({__name:"index",setup(t){const r=ref(!1),V=computed(()=>ue=>{var de;return((de=ue==null?void 0:ue.footerButtons)==null?void 0:de.length)>0?ue.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:pe,index:he}})=>{const _e=()=>closeDialog(pe,he,{command:"cancel"});pe!=null&&pe.beforeCancel&&q$1(pe==null?void 0:pe.beforeCancel)?pe.beforeCancel(_e,{options:pe,index:he}):_e()}},{label:"确定",type:"primary",text:!0,bg:!0,btnClick:({dialog:{options:pe,index:he}})=>{const _e=()=>closeDialog(pe,he,{command:"sure"});pe!=null&&pe.beforeSure&&q$1(pe==null?void 0:pe.beforeSure)?pe.beforeSure(_e,{options:pe,index:he}):_e()}}]}),oe=computed(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function ie(ue,de,pe){if(r.value=(de==null?void 0:de.fullscreen)??!1,de!=null&&de[ue]&&q$1(de==null?void 0:de[ue]))return de==null?void 0:de[ue]({options:de,index:pe})}function le(ue,de,pe={command:"close"}){closeDialog(ue,de,pe),ie("close",ue,de)}return(ue,de)=>{const pe=resolveComponent("IconifyIconOffline"),he=resolveComponent("el-button"),_e=resolveComponent("el-dialog");return openBlock(!0),createElementBlock(Fragment,null,renderList(unref(dialogStore),($e,Ie)=>(openBlock(),createBlock(_e,mergeProps({class:"pure-dialog",key:Ie},$e,{modelValue:$e.visible,"onUpdate:modelValue":Ve=>$e.visible=Ve,fullscreen:r.value?!0:!!($e!=null&&$e.fullscreen),onClose:Ve=>le($e,Ie),onOpened:Ve=>ie("open",$e,Ie),onOpenAutoFocus:Ve=>ie("openAutoFocus",$e,Ie),onCloseAutoFocus:Ve=>ie("closeAutoFocus",$e,Ie)}),createSlots({default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($e.contentRenderer({options:$e,index:Ie})),mergeProps($e==null?void 0:$e.props,{onClose:Ve=>le($e,Ie,Ve)}),null,16,["onClose"]))]),_:2},[$e!=null&&$e.fullscreenIcon||$e!=null&&$e.headerRenderer?{name:"header",fn:withCtx(({close:Ve,titleId:Fe,titleClass:Ue})=>[$e!=null&&$e.fullscreenIcon?(openBlock(),createElementBlock("div",_hoisted_1$1,[createBaseVNode("span",{id:Fe,class:normalizeClass(Ue)},toDisplayString$1($e==null?void 0:$e.title),11,_hoisted_2$1),$e!=null&&$e.fullscreen?createCommentVNode("",!0):(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(oe.value),onClick:de[0]||(de[0]=qe=>r.value=!r.value)},[createVNode(pe,{class:"pure-dialog-svg",icon:$e!=null&&$e.fullscreen||r.value?unref(data):unref(data$1)},null,8,["icon"])],2))])):(openBlock(),createBlock(resolveDynamicComponent($e==null?void 0:$e.headerRenderer({close:Ve,titleId:Fe,titleClass:Ue})),{key:1}))]),key:"0"}:void 0,$e!=null&&$e.hideFooter?void 0:{name:"footer",fn:withCtx(()=>[$e!=null&&$e.footerRenderer?(openBlock(),createBlock(resolveDynamicComponent($e==null?void 0:$e.footerRenderer({options:$e,index:Ie})),{key:0})):(openBlock(),createElementBlock("span",_hoisted_3$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(V.value($e),(Ve,Fe)=>(openBlock(),createBlock(he,mergeProps({key:Fe},Ve,{onClick:Ue=>Ve.btnClick({dialog:{options:$e,index:Ie},button:{btn:Ve,index:Fe}})}),{default:withCtx(()=>[createTextVNode(toDisplayString$1(Ve==null?void 0:Ve.label),1)]),_:2},1040,["onClick"]))),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClose","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function tryOnScopeDispose(t){return getCurrentScope()?(onScopeDispose(t),!0):!1}function toValue(t){return typeof t=="function"?t():unref(t)}const isClient=typeof window<"u"&&typeof document<"u",isDef=t=>typeof t<"u",notNullish=t=>t!=null,toString$1=Object.prototype.toString,isObject$7=t=>toString$1.call(t)==="[object Object]",noop$4=()=>{},isIOS=getIsIOS();function getIsIOS(){var t;return isClient&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function createFilterWrapper(t,r){function V(...oe){return new Promise((ie,le)=>{Promise.resolve(t(()=>r.apply(this,oe),{fn:r,thisArg:this,args:oe})).then(ie).catch(le)})}return V}function debounceFilter(t,r={}){let V,oe,ie=noop$4;const le=de=>{clearTimeout(de),ie(),ie=noop$4};return de=>{const pe=toValue(t),he=toValue(r.maxWait);return V&&le(V),pe<=0||he!==void 0&&he<=0?(oe&&(le(oe),oe=null),Promise.resolve(de())):new Promise((_e,$e)=>{ie=r.rejectOnCancel?$e:_e,he&&!oe&&(oe=setTimeout(()=>{V&&le(V),oe=null,_e(de())},he)),V=setTimeout(()=>{oe&&le(oe),oe=null,_e(de())},pe)})}}function useDebounceFn(t,r=200,V={}){return createFilterWrapper(debounceFilter(r,V),t)}function tryOnMounted(t,r=!0){getCurrentInstance()?onMounted(t):r?t():nextTick(t)}function tryOnUnmounted(t){getCurrentInstance()&&onUnmounted(t)}function useIntervalFn(t,r=1e3,V={}){const{immediate:oe=!0,immediateCallback:ie=!1}=V;let le=null;const ue=ref(!1);function de(){le&&(clearInterval(le),le=null)}function pe(){ue.value=!1,de()}function he(){const _e=toValue(r);_e<=0||(ue.value=!0,ie&&t(),de(),le=setInterval(t,_e))}if(oe&&isClient&&he(),isRef(r)||typeof r=="function"){const _e=watch(r,()=>{ue.value&&isClient&&he()});tryOnScopeDispose(_e)}return tryOnScopeDispose(pe),{isActive:ue,pause:pe,resume:he}}function useTimeoutFn(t,r,V={}){const{immediate:oe=!0}=V,ie=ref(!1);let le=null;function ue(){le&&(clearTimeout(le),le=null)}function de(){ie.value=!1,ue()}function pe(...he){ue(),ie.value=!0,le=setTimeout(()=>{ie.value=!1,le=null,t(...he)},toValue(r))}return oe&&(ie.value=!0,isClient&&pe()),tryOnScopeDispose(de),{isPending:readonly(ie),start:pe,stop:de}}function unrefElement(t){const r=toValue(t);return(r==null?void 0:r.$el)??r}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...t){let r,V,oe,ie;if(typeof t[0]=="string"||Array.isArray(t[0])?([V,oe,ie]=t,r=defaultWindow):[r,V,oe,ie]=t,!r)return noop$4;Array.isArray(V)||(V=[V]),Array.isArray(oe)||(oe=[oe]);const le=[],ue=()=>{le.forEach(_e=>_e()),le.length=0},de=(_e,$e,Ie,Ve)=>(_e.addEventListener($e,Ie,Ve),()=>_e.removeEventListener($e,Ie,Ve)),pe=watch(()=>[unrefElement(r),toValue(ie)],([_e,$e])=>{ue(),_e&&le.push(...V.flatMap(Ie=>oe.map(Ve=>de(_e,Ie,Ve,$e))))},{immediate:!0,flush:"post"}),he=()=>{pe(),ue()};return tryOnScopeDispose(he),he}let _iOSWorkaround=!1;function onClickOutside(t,r,V={}){const{window:oe=defaultWindow,ignore:ie=[],capture:le=!0,detectIframe:ue=!1}=V;if(!oe)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(oe.document.body.children).forEach(Ie=>Ie.addEventListener("click",noop$4)),oe.document.documentElement.addEventListener("click",noop$4));let de=!0;const pe=Ie=>ie.some(Ve=>{if(typeof Ve=="string")return Array.from(oe.document.querySelectorAll(Ve)).some(Fe=>Fe===Ie.target||Ie.composedPath().includes(Fe));{const Fe=unrefElement(Ve);return Fe&&(Ie.target===Fe||Ie.composedPath().includes(Fe))}}),_e=[useEventListener(oe,"click",Ie=>{const Ve=unrefElement(t);if(!(!Ve||Ve===Ie.target||Ie.composedPath().includes(Ve))){if(Ie.detail===0&&(de=!pe(Ie)),!de){de=!0;return}r(Ie)}},{passive:!0,capture:le}),useEventListener(oe,"pointerdown",Ie=>{const Ve=unrefElement(t);Ve&&(de=!Ie.composedPath().includes(Ve)&&!pe(Ie))},{passive:!0}),ue&&useEventListener(oe,"blur",Ie=>{setTimeout(()=>{var Fe;const Ve=unrefElement(t);((Fe=oe.document.activeElement)==null?void 0:Fe.tagName)==="IFRAME"&&!(Ve!=null&&Ve.contains(oe.document.activeElement))&&r(Ie)},0)})].filter(Boolean);return()=>_e.forEach(Ie=>Ie())}function createKeyPredicate(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function onKeyStroke(...t){let r,V,oe={};t.length===3?(r=t[0],V=t[1],oe=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,V=t[0],oe=t[1]):(r=t[0],V=t[1]):(r=!0,V=t[0]);const{target:ie=defaultWindow,eventName:le="keydown",passive:ue=!1,dedupe:de=!1}=oe,pe=createKeyPredicate(r);return useEventListener(ie,le,_e=>{_e.repeat&&toValue(de)||pe(_e)&&V(_e)},ue)}function templateRef(t,r=null){const V=getCurrentInstance();let oe=()=>{};const ie=customRef((le,ue)=>(oe=ue,{get(){var de;return le(),((de=V==null?void 0:V.proxy)==null?void 0:de.$refs[t])??r},set(){}}));return tryOnMounted(oe),onUpdated(oe),ie}function useMounted(){const t=ref(!1);return getCurrentInstance()&&onMounted(()=>{t.value=!0}),t}function useSupported(t){const r=useMounted();return computed(()=>(r.value,!!t()))}function useMediaQuery(t,r={}){const{window:V=defaultWindow}=r,oe=useSupported(()=>V&&"matchMedia"in V&&typeof V.matchMedia=="function");let ie;const le=ref(!1),ue=he=>{le.value=he.matches},de=()=>{ie&&("removeEventListener"in ie?ie.removeEventListener("change",ue):ie.removeListener(ue))},pe=watchEffect(()=>{oe.value&&(de(),ie=V.matchMedia(toValue(t)),"addEventListener"in ie?ie.addEventListener("change",ue):ie.addListener(ue),le.value=ie.matches)});return tryOnScopeDispose(()=>{pe(),de(),ie=void 0}),le}function cloneFnJSON(t){return JSON.parse(JSON.stringify(t))}function useResizeObserver(t,r,V={}){const{window:oe=defaultWindow,...ie}=V;let le;const ue=useSupported(()=>oe&&"ResizeObserver"in oe),de=()=>{le&&(le.disconnect(),le=void 0)},pe=computed(()=>Array.isArray(t)?t.map($e=>unrefElement($e)):[unrefElement(t)]),he=watch(pe,$e=>{if(de(),ue.value&&oe){le=new ResizeObserver(r);for(const Ie of $e)Ie&&le.observe(Ie,ie)}},{immediate:!0,flush:"post",deep:!0}),_e=()=>{de(),he()};return tryOnScopeDispose(_e),{isSupported:ue,stop:_e}}function useIntersectionObserver(t,r,V={}){const{root:oe,rootMargin:ie="0px",threshold:le=.1,window:ue=defaultWindow,immediate:de=!0}=V,pe=useSupported(()=>ue&&"IntersectionObserver"in ue),he=computed(()=>{const Fe=toValue(t);return(Array.isArray(Fe)?Fe:[Fe]).map(unrefElement).filter(notNullish)});let _e=noop$4;const $e=ref(de),Ie=pe.value?watch(()=>[he.value,unrefElement(oe),$e.value],([Fe,Ue])=>{if(_e(),!$e.value||!Fe.length)return;const qe=new IntersectionObserver(r,{root:unrefElement(Ue),rootMargin:ie,threshold:le});Fe.forEach(Et=>Et&&qe.observe(Et)),_e=()=>{qe.disconnect(),_e=noop$4}},{immediate:de,flush:"post"}):noop$4,Ve=()=>{_e(),Ie(),$e.value=!1};return tryOnScopeDispose(Ve),{isSupported:pe,isActive:$e,pause(){_e(),$e.value=!1},resume(){$e.value=!0},stop:Ve}}const eventHandlers=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function useFullscreen(t,r={}){const{document:V=defaultDocument,autoExit:oe=!1}=r,ie=computed(()=>unrefElement(t)??(V==null?void 0:V.querySelector("html"))),le=ref(!1),ue=computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(Et=>V&&Et in V||ie.value&&Et in ie.value)),de=computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(Et=>V&&Et in V||ie.value&&Et in ie.value)),pe=computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(Et=>V&&Et in V||ie.value&&Et in ie.value)),he=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(Et=>V&&Et in V),_e=useSupported(()=>ie.value&&V&&ue.value!==void 0&&de.value!==void 0&&pe.value!==void 0),$e=()=>he?(V==null?void 0:V[he])===ie.value:!1,Ie=()=>{if(pe.value){if(V&&V[pe.value]!=null)return V[pe.value];{const Et=ie.value;if((Et==null?void 0:Et[pe.value])!=null)return!!Et[pe.value]}}return!1};async function Ve(){if(!(!_e.value||!le.value)){if(de.value)if((V==null?void 0:V[de.value])!=null)await V[de.value]();else{const Et=ie.value;(Et==null?void 0:Et[de.value])!=null&&await Et[de.value]()}le.value=!1}}async function Fe(){if(!_e.value||le.value)return;Ie()&&await Ve();const Et=ie.value;ue.value&&(Et==null?void 0:Et[ue.value])!=null&&(await Et[ue.value](),le.value=!0)}async function Ue(){await(le.value?Ve():Fe())}const qe=()=>{const Et=Ie();(!Et||Et&&$e())&&(le.value=Et)};return useEventListener(V,eventHandlers,qe,!1),useEventListener(()=>unrefElement(ie),eventHandlers,qe,!1),oe&&tryOnScopeDispose(Ve),{isSupported:_e,isFullscreen:le,enter:Fe,exit:Ve,toggle:Ue}}function useVModel(t,r,V,oe={}){var qe,Et,At;const{clone:ie=!1,passive:le=!1,eventName:ue,deep:de=!1,defaultValue:pe,shouldEmit:he}=oe,_e=getCurrentInstance(),$e=V||(_e==null?void 0:_e.emit)||((qe=_e==null?void 0:_e.$emit)==null?void 0:qe.bind(_e))||((At=(Et=_e==null?void 0:_e.proxy)==null?void 0:Et.$emit)==null?void 0:At.bind(_e==null?void 0:_e.proxy));let Ie=ue;r||(r="modelValue"),Ie=Ie||`update:${r.toString()}`;const Ve=Lt=>ie?typeof ie=="function"?ie(Lt):cloneFnJSON(Lt):Lt,Fe=()=>isDef(t[r])?Ve(t[r]):pe,Ue=Lt=>{he?he(Lt)&&$e(Ie,Lt):$e(Ie,Lt)};if(le){const Lt=Fe(),hn=ref(Lt);let _n=!1;return watch(()=>t[r],vn=>{_n||(_n=!0,hn.value=Ve(vn),nextTick(()=>_n=!1))}),watch(hn,vn=>{!_n&&(vn!==t[r]||de)&&Ue(vn)},{deep:de}),hn}else return computed({get(){return Fe()},set(Lt){Ue(Lt)}})}function useWindowSize(t={}){const{window:r=defaultWindow,initialWidth:V=Number.POSITIVE_INFINITY,initialHeight:oe=Number.POSITIVE_INFINITY,listenOrientation:ie=!0,includeScrollbar:le=!0}=t,ue=ref(V),de=ref(oe),pe=()=>{r&&(le?(ue.value=r.innerWidth,de.value=r.innerHeight):(ue.value=r.document.documentElement.clientWidth,de.value=r.document.documentElement.clientHeight))};if(pe(),tryOnMounted(pe),useEventListener("resize",pe,{passive:!0}),ie){const he=useMediaQuery("(orientation: portrait)");watch(he,()=>pe())}return{width:ue,height:de}}const dialogStore=ref([]),addDialog=t=>{const r=()=>dialogStore.value.push(Object.assign(t,{visible:!0}));t!=null&&t.openDelay?useTimeoutFn(()=>{r()},t.openDelay):r()},closeDialog=(t,r,V)=>{dialogStore.value.splice(r,1),t.closeCallBack&&t.closeCallBack({options:t,index:r,args:V})},updateDialog=(t,r="title",V=0)=>{dialogStore.value[V][r]=t},closeAllDialog=()=>{dialogStore.value=[]},ReDialog=zn(_sfc_main$1);/*! Element Plus v2.3.12 */var zhCn={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};const _sfc_main=defineComponent({name:"app",components:{[ElConfigProvider.name]:ElConfigProvider,ReDialog},computed:{currentLocale(){var t;return((t=this.$storage.locale)==null?void 0:t.locale)==="zh"?zhCn:en$1}},beforeCreate(){const{version:t,name:r}={dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.9","@logicflow/core":"^1.2.12","@logicflow/extension":"^1.2.13","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.3","@pureadmin/utils":"^1.9.7","@vueuse/core":"^10.4.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.3","animate.css":"^4.1.1",axios:"^1.5.0","china-area-data":"^5.0.1",cropperjs:"^1.6.0",dayjs:"^1.11.9",echarts:"^5.4.3","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.12","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.6","pinyin-pro":"^3.16.3",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^10.2.0",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.3.1","version-rocket":"^1.7.0",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.4","vue-tippy":"^6.3.1","vue-types":"^5.1.1","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.3","vue3-danmaku":"^1.5.1",vuedraggable:"^4.1.0","wavesurfer.js":"^7.1.5",xgplayer:"^3.0.8",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.17.12","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.1","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","@vitejs/plugin-vue":"^4.3.3","@vitejs/plugin-vue-jsx":"^3.0.2","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.15",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.48.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.17.0",husky:"^8.0.3","lint-staged":"^13.3.0",picocolors:"^1.0.0",postcss:"^8.4.28","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.7",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.66.1","sass-loader":"^13.3.2",stylelint:"^15.10.3","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.3.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.1.0",svgo:"^3.0.2",tailwindcss:"^3.3.3",terser:"^5.19.2",typescript:"5.0.4",vite:"^4.4.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.8"},name:"vue-pure-admin",version:"4.5.0"},{VITE_PUBLIC_PATH:V,MODE:oe}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};oe==="production"&&checkVersion({pollingTime:3e5,localPackageVersion:t,originVersionFileUrl:`${location.origin}${V}version.json`},{title:r,description:"检测到新版本",buttonText:"立即更新"})}}),_export_sfc=(t,r)=>{const V=t.__vccOpts||t;for(const[oe,ie]of r)V[oe]=ie;return V};function _sfc_render(t,r,V,oe,ie,le){const ue=resolveComponent("router-view"),de=resolveComponent("ReDialog"),pe=resolveComponent("el-config-provider");return openBlock(),createBlock(pe,{locale:t.currentLocale},{default:withCtx(()=>[createVNode(ue),createVNode(de)]),_:1},8,["locale"])}const App=_export_sfc(_sfc_main,[["render",_sfc_render]]),scriptRel="modulepreload",assetsURL=function(t){return"/vue-pure-admin/"+t},seen={},__vitePreload=function(r,V,oe){if(!V||V.length===0)return r();const ie=document.getElementsByTagName("link");return Promise.all(V.map(le=>{if(le=assetsURL(le),le in seen)return;seen[le]=!0;const ue=le.endsWith(".css"),de=ue?'[rel="stylesheet"]':"";if(!!oe)for(let _e=ie.length-1;_e>=0;_e--){const $e=ie[_e];if($e.href===le&&(!ue||$e.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${le}"]${de}`))return;const he=document.createElement("link");if(he.rel=ue?"stylesheet":scriptRel,ue||(he.as="script",he.crossOrigin=""),he.href=le,document.head.appendChild(he),ue)return new Promise((_e,$e)=>{he.addEventListener("load",_e),he.addEventListener("error",()=>$e(new Error(`Unable to preload CSS for ${le}`)))})})).then(()=>r()).catch(le=>{const ue=new Event("vite:preloadError",{cancelable:!0});if(ue.payload=le,window.dispatchEvent(ue),!ue.defaultPrevented)throw le})},resource$1={buttons:{hsLoginOut:t=>{const{normalize:r}=t;return r(["LoginOut"])},hsfullscreen:t=>{const{normalize:r}=t;return r(["FullScreen"])},hsexitfullscreen:t=>{const{normalize:r}=t;return r(["ExitFullscreen"])},hsrefreshRoute:t=>{const{normalize:r}=t;return r(["RefreshRoute"])},hslogin:t=>{const{normalize:r}=t;return r(["Login"])},hsadd:t=>{const{normalize:r}=t;return r(["Add"])},hsmark:t=>{const{normalize:r}=t;return r(["Mark/Cancel"])},hssave:t=>{const{normalize:r}=t;return r(["Save"])},hssearch:t=>{const{normalize:r}=t;return r(["Search"])},hsexpendAll:t=>{const{normalize:r}=t;return r(["Expand All"])},hscollapseAll:t=>{const{normalize:r}=t;return r(["Collapse All"])},hssystemSet:t=>{const{normalize:r}=t;return r(["Open ProjectConfig"])},hsdelete:t=>{const{normalize:r}=t;return r(["Delete"])},hsreload:t=>{const{normalize:r}=t;return r(["Reload"])},hscloseCurrentTab:t=>{const{normalize:r}=t;return r(["Close CurrentTab"])},hscloseLeftTabs:t=>{const{normalize:r}=t;return r(["Close LeftTabs"])},hscloseRightTabs:t=>{const{normalize:r}=t;return r(["Close RightTabs"])},hscloseOtherTabs:t=>{const{normalize:r}=t;return r(["Close OtherTabs"])},hscloseAllTabs:t=>{const{normalize:r}=t;return r(["Close AllTabs"])},hswholeFullScreen:t=>{const{normalize:r}=t;return r(["FullScreen"])},hswholeExitFullScreen:t=>{const{normalize:r}=t;return r(["ExitFull"])},hscontentFullScreen:t=>{const{normalize:r}=t;return r(["Content FullScreen"])},hscontentExitFullScreen:t=>{const{normalize:r}=t;return r(["Content ExitFullScreen"])}},menus:{hshome:t=>{const{normalize:r}=t;return r(["Home"])},hslogin:t=>{const{normalize:r}=t;return r(["Login"])},hsempty:t=>{const{normalize:r}=t;return r(["Empty Page"])},hssysManagement:t=>{const{normalize:r}=t;return r(["System Manage"])},hsUser:t=>{const{normalize:r}=t;return r(["User Manage"])},hsRole:t=>{const{normalize:r}=t;return r(["Role Manage"])},hsDept:t=>{const{normalize:r}=t;return r(["Dept Manage"])},hseditor:t=>{const{normalize:r}=t;return r(["Editor"])},hsabnormal:t=>{const{normalize:r}=t;return r(["Abnormal Page"])},hsfourZeroFour:t=>{const{normalize:r}=t;return r(["404"])},hsfourZeroOne:t=>{const{normalize:r}=t;return r(["403"])},hsFive:t=>{const{normalize:r}=t;return r(["500"])},hscomponents:t=>{const{normalize:r}=t;return r(["Components"])},hsdialog:t=>{const{normalize:r}=t;return r(["Dialog Components"])},hsmessage:t=>{const{normalize:r}=t;return r(["Message Tips Components"])},hsvideo:t=>{const{normalize:r}=t;return r(["Video Components"])},hssegmented:t=>{const{normalize:r}=t;return r(["Segmented Components"])},hswaterfall:t=>{const{normalize:r}=t;return r(["Waterfall Components"])},hsmap:t=>{const{normalize:r}=t;return r(["Map Components"])},hsdraggable:t=>{const{normalize:r}=t;return r(["Draggable Components"])},hssplitPane:t=>{const{normalize:r}=t;return r(["Split Pane"])},hsbutton:t=>{const{normalize:r}=t;return r(["Button Components"])},hscropping:t=>{const{normalize:r}=t;return r(["Picture Cropping"])},hscountTo:t=>{const{normalize:r}=t;return r(["Digital Animation"])},hsselector:t=>{const{normalize:r}=t;return r(["Selector Components"])},hsflowChart:t=>{const{normalize:r}=t;return r(["Flow Chart"])},hsseamless:t=>{const{normalize:r}=t;return r(["Seamless Scroll"])},hscontextmenu:t=>{const{normalize:r}=t;return r(["Context Menu"])},hstypeit:t=>{const{normalize:r}=t;return r(["Typeit Components"])},hsjsoneditor:t=>{const{normalize:r}=t;return r(["JSON Editor"])},hsmenus:t=>{const{normalize:r}=t;return r(["MultiLevel Menu"])},hsmenu1:t=>{const{normalize:r}=t;return r(["Menu1"])},"hsmenu1-1":t=>{const{normalize:r}=t;return r(["Menu1-1"])},"hsmenu1-2":t=>{const{normalize:r}=t;return r(["Menu1-2"])},"hsmenu1-2-1":t=>{const{normalize:r}=t;return r(["Menu1-2-1"])},"hsmenu1-2-2":t=>{const{normalize:r}=t;return r(["Menu1-2-2"])},"hsmenu1-3":t=>{const{normalize:r}=t;return r(["Menu1-3"])},hsmenu2:t=>{const{normalize:r}=t;return r(["Menu2"])},permission:t=>{const{normalize:r}=t;return r(["Permission Manage"])},permissionPage:t=>{const{normalize:r}=t;return r(["Page Permission"])},permissionButton:t=>{const{normalize:r}=t;return r(["Button Permission"])},hstabs:t=>{const{normalize:r}=t;return r(["Tabs Operate"])},hsguide:t=>{const{normalize:r}=t;return r(["Guide"])},hsAble:t=>{const{normalize:r}=t;return r(["Able"])},hsMenuTree:t=>{const{normalize:r}=t;return r(["Menu Tree"])},hsVideoFrame:t=>{const{normalize:r}=t;return r(["Video Frame Capture"])},hsWavesurfer:t=>{const{normalize:r}=t;return r(["Audio Visualization"])},hsOptimize:t=>{const{normalize:r}=t;return r(["Debounce、Throttle、Copy、Longpress Directives"])},hsWatermark:t=>{const{normalize:r}=t;return r(["Water Mark"])},hsPrint:t=>{const{normalize:r}=t;return r(["Print"])},hsDownload:t=>{const{normalize:r}=t;return r(["Download"])},hsExternalPage:t=>{const{normalize:r}=t;return r(["External Page"])},hsPureDocument:t=>{const{normalize:r}=t;return r(["Pure Doc(Embedded)"])},externalLink:t=>{const{normalize:r}=t;return r(["Pure Doc(External)"])},hsEpDocument:t=>{const{normalize:r}=t;return r(["Element Plus Doc(Embedded)"])},hsVueDocument:t=>{const{normalize:r}=t;return r(["Vue3 Doc(Embedded)"])},hsViteDocument:t=>{const{normalize:r}=t;return r(["Vite Doc(Embedded)"])},hsPiniaDocument:t=>{const{normalize:r}=t;return r(["Pinia Doc(Embedded)"])},hsRouterDocument:t=>{const{normalize:r}=t;return r(["Vue Router Doc(Embedded)"])},hsTailwindcssDocument:t=>{const{normalize:r}=t;return r(["Tailwindcss Doc(Embedded)"])},hsAbout:t=>{const{normalize:r}=t;return r(["About"])},hsResult:t=>{const{normalize:r}=t;return r(["Result Page"])},hsSuccess:t=>{const{normalize:r}=t;return r(["Success Page"])},hsFail:t=>{const{normalize:r}=t;return r(["Fail Page"])},hsIconSelect:t=>{const{normalize:r}=t;return r(["Icon Select"])},hsTimeline:t=>{const{normalize:r}=t;return r(["Time Line"])},hsLineTree:t=>{const{normalize:r}=t;return r(["LineTree"])},hsList:t=>{const{normalize:r}=t;return r(["List Page"])},hsListCard:t=>{const{normalize:r}=t;return r(["Card List Page"])},hsDebounce:t=>{const{normalize:r}=t;return r(["Debounce & Throttle"])},hsFormDesign:t=>{const{normalize:r}=t;return r(["Form Design"])},hsBarcode:t=>{const{normalize:r}=t;return r(["Barcode"])},hsQrcode:t=>{const{normalize:r}=t;return r(["Qrcode"])},hsCascader:t=>{const{normalize:r}=t;return r(["Area Cascader"])},hsSwiper:t=>{const{normalize:r}=t;return r(["Swiper Plugin"])},hsVirtualList:t=>{const{normalize:r}=t;return r(["Virtual List"])},hsPdf:t=>{const{normalize:r}=t;return r(["PDF Preview"])},hsExcel:t=>{const{normalize:r}=t;return r(["Export Excel"])},hsInfiniteScroll:t=>{const{normalize:r}=t;return r(["Table Infinite Scroll"])},hsSensitive:t=>{const{normalize:r}=t;return r(["Sensitive Filter"])},hsPinyin:t=>{const{normalize:r}=t;return r(["PinYin"])},hsdanmaku:t=>{const{normalize:r}=t;return r(["Danmaku Components"])},hsPureTableBase:t=>{const{normalize:r}=t;return r(["Base Usage"])},hsPureTableHigh:t=>{const{normalize:r}=t;return r(["High Usage"])},hsTree:t=>{const{normalize:r}=t;return r(["Big Data Tree"])},hsMenuoverflow:t=>{const{normalize:r}=t;return r(["Menu Overflow Show Tooltip Text"])},hsChildMenuoverflow:t=>{const{normalize:r}=t;return r(["Child Menu Overflow Show Tooltip Text"])}},status:{hsLoad:t=>{const{normalize:r}=t;return r(["Loading..."])}},login:{username:t=>{const{normalize:r}=t;return r(["Username"])},password:t=>{const{normalize:r}=t;return r(["Password"])},verifyCode:t=>{const{normalize:r}=t;return r(["VerifyCode"])},remember:t=>{const{normalize:r}=t;return r(["Remember Password"])},sure:t=>{const{normalize:r}=t;return r(["Sure Password"])},forget:t=>{const{normalize:r}=t;return r(["Forget Password?"])},login:t=>{const{normalize:r}=t;return r(["Login"])},thirdLogin:t=>{const{normalize:r}=t;return r(["Third Login"])},phoneLogin:t=>{const{normalize:r}=t;return r(["Phone Login"])},qRCodeLogin:t=>{const{normalize:r}=t;return r(["QRCode Login"])},register:t=>{const{normalize:r}=t;return r(["Register"])},weChatLogin:t=>{const{normalize:r}=t;return r(["WeChat Login"])},alipayLogin:t=>{const{normalize:r}=t;return r(["Alipay Login"])},qqLogin:t=>{const{normalize:r}=t;return r(["QQ Login"])},weiboLogin:t=>{const{normalize:r}=t;return r(["Weibo Login"])},phone:t=>{const{normalize:r}=t;return r(["Phone"])},smsVerifyCode:t=>{const{normalize:r}=t;return r(["SMS VerifyCode"])},back:t=>{const{normalize:r}=t;return r(["Back"])},test:t=>{const{normalize:r}=t;return r(["Mock Test"])},tip:t=>{const{normalize:r}=t;return r(['After scanning the code, click "Confirm" to complete the login'])},definite:t=>{const{normalize:r}=t;return r(["Definite"])},loginSuccess:t=>{const{normalize:r}=t;return r(["Login Success"])},registerSuccess:t=>{const{normalize:r}=t;return r(["Regist Success"])},tickPrivacy:t=>{const{normalize:r}=t;return r(["Please tick Privacy Policy"])},readAccept:t=>{const{normalize:r}=t;return r(["I have read it carefully and accept"])},privacyPolicy:t=>{const{normalize:r}=t;return r(["Privacy Policy"])},getVerifyCode:t=>{const{normalize:r}=t;return r(["Get VerifyCode"])},info:t=>{const{normalize:r}=t;return r(["Seconds"])},usernameReg:t=>{const{normalize:r}=t;return r(["Please enter username"])},passwordReg:t=>{const{normalize:r}=t;return r(["Please enter password"])},verifyCodeReg:t=>{const{normalize:r}=t;return r(["Please enter verify code"])},verifyCodeCorrectReg:t=>{const{normalize:r}=t;return r(["Please enter correct verify code"])},verifyCodeSixReg:t=>{const{normalize:r}=t;return r(["Please enter a 6-digit verify code"])},phoneReg:t=>{const{normalize:r}=t;return r(["Please enter the phone"])},phoneCorrectReg:t=>{const{normalize:r}=t;return r(["Please enter the correct phone number format"])},passwordRuleReg:t=>{const{normalize:r}=t;return r(["The password format should be any combination of 8-18 digits"])},passwordSureReg:t=>{const{normalize:r}=t;return r(["Please enter confirm password"])},passwordDifferentReg:t=>{const{normalize:r}=t;return r(["The two passwords do not match!"])},passwordUpdateReg:t=>{const{normalize:r}=t;return r(["Password has been updated"])}}},__vite_glob_0_0$2=Object.freeze(Object.defineProperty({__proto__:null,default:resource$1},Symbol.toStringTag,{value:"Module"})),resource={buttons:{hsLoginOut:t=>{const{normalize:r}=t;return r(["退出系统"])},hsfullscreen:t=>{const{normalize:r}=t;return r(["全屏"])},hsexitfullscreen:t=>{const{normalize:r}=t;return r(["退出全屏"])},hsrefreshRoute:t=>{const{normalize:r}=t;return r(["刷新路由"])},hslogin:t=>{const{normalize:r}=t;return r(["登录"])},hsadd:t=>{const{normalize:r}=t;return r(["新增"])},hsmark:t=>{const{normalize:r}=t;return r(["标记/取消"])},hssave:t=>{const{normalize:r}=t;return r(["保存"])},hssearch:t=>{const{normalize:r}=t;return r(["搜索"])},hsexpendAll:t=>{const{normalize:r}=t;return r(["全部展开"])},hscollapseAll:t=>{const{normalize:r}=t;return r(["全部折叠"])},hssystemSet:t=>{const{normalize:r}=t;return r(["打开项目配置"])},hsdelete:t=>{const{normalize:r}=t;return r(["删除"])},hsreload:t=>{const{normalize:r}=t;return r(["重新加载"])},hscloseCurrentTab:t=>{const{normalize:r}=t;return r(["关闭当前标签页"])},hscloseLeftTabs:t=>{const{normalize:r}=t;return r(["关闭左侧标签页"])},hscloseRightTabs:t=>{const{normalize:r}=t;return r(["关闭右侧标签页"])},hscloseOtherTabs:t=>{const{normalize:r}=t;return r(["关闭其他标签页"])},hscloseAllTabs:t=>{const{normalize:r}=t;return r(["关闭全部标签页"])},hswholeFullScreen:t=>{const{normalize:r}=t;return r(["全屏"])},hswholeExitFullScreen:t=>{const{normalize:r}=t;return r(["退出全屏"])},hscontentFullScreen:t=>{const{normalize:r}=t;return r(["内容区全屏"])},hscontentExitFullScreen:t=>{const{normalize:r}=t;return r(["内容区退出全屏"])}},menus:{hshome:t=>{const{normalize:r}=t;return r(["首页"])},hslogin:t=>{const{normalize:r}=t;return r(["登录"])},hsempty:t=>{const{normalize:r}=t;return r(["无Layout页"])},hssysManagement:t=>{const{normalize:r}=t;return r(["系统管理"])},hsUser:t=>{const{normalize:r}=t;return r(["用户管理"])},hsRole:t=>{const{normalize:r}=t;return r(["角色管理"])},hsDept:t=>{const{normalize:r}=t;return r(["部门管理"])},hseditor:t=>{const{normalize:r}=t;return r(["编辑器"])},hsabnormal:t=>{const{normalize:r}=t;return r(["异常页面"])},hsfourZeroFour:t=>{const{normalize:r}=t;return r(["404"])},hsfourZeroOne:t=>{const{normalize:r}=t;return r(["403"])},hsFive:t=>{const{normalize:r}=t;return r(["500"])},hscomponents:t=>{const{normalize:r}=t;return r(["组件"])},hsdialog:t=>{const{normalize:r}=t;return r(["函数式弹框组件"])},hsmessage:t=>{const{normalize:r}=t;return r(["消息提示组件"])},hsvideo:t=>{const{normalize:r}=t;return r(["视频组件"])},hssegmented:t=>{const{normalize:r}=t;return r(["分段控制器组件"])},hswaterfall:t=>{const{normalize:r}=t;return r(["瀑布流无限滚动组件"])},hsmap:t=>{const{normalize:r}=t;return r(["地图组件"])},hsdraggable:t=>{const{normalize:r}=t;return r(["拖拽组件"])},hssplitPane:t=>{const{normalize:r}=t;return r(["切割面板"])},hsbutton:t=>{const{normalize:r}=t;return r(["按钮组件"])},hscropping:t=>{const{normalize:r}=t;return r(["图片裁剪"])},hscountTo:t=>{const{normalize:r}=t;return r(["数字动画"])},hsselector:t=>{const{normalize:r}=t;return r(["选择器组件"])},hsflowChart:t=>{const{normalize:r}=t;return r(["流程图"])},hsseamless:t=>{const{normalize:r}=t;return r(["无缝滚动"])},hscontextmenu:t=>{const{normalize:r}=t;return r(["右键菜单"])},hstypeit:t=>{const{normalize:r}=t;return r(["打字机组件"])},hsjsoneditor:t=>{const{normalize:r}=t;return r(["JSON编辑器"])},hsmenus:t=>{const{normalize:r}=t;return r(["多级菜单"])},hsmenu1:t=>{const{normalize:r}=t;return r(["菜单1"])},"hsmenu1-1":t=>{const{normalize:r}=t;return r(["菜单1-1"])},"hsmenu1-2":t=>{const{normalize:r}=t;return r(["菜单1-2"])},"hsmenu1-2-1":t=>{const{normalize:r}=t;return r(["菜单1-2-1"])},"hsmenu1-2-2":t=>{const{normalize:r}=t;return r(["菜单1-2-2"])},"hsmenu1-3":t=>{const{normalize:r}=t;return r(["菜单1-3"])},hsmenu2:t=>{const{normalize:r}=t;return r(["菜单2"])},permission:t=>{const{normalize:r}=t;return r(["权限管理"])},permissionPage:t=>{const{normalize:r}=t;return r(["页面权限"])},permissionButton:t=>{const{normalize:r}=t;return r(["按钮权限"])},hstabs:t=>{const{normalize:r}=t;return r(["标签页操作"])},hsguide:t=>{const{normalize:r}=t;return r(["引导页"])},hsAble:t=>{const{normalize:r}=t;return r(["功能"])},hsMenuTree:t=>{const{normalize:r}=t;return r(["菜单树结构"])},hsVideoFrame:t=>{const{normalize:r}=t;return r(["视频帧截取-wasm版"])},hsWavesurfer:t=>{const{normalize:r}=t;return r(["音频可视化"])},hsOptimize:t=>{const{normalize:r}=t;return r(["防抖、截流、复制、长按指令"])},hsWatermark:t=>{const{normalize:r}=t;return r(["水印"])},hsPrint:t=>{const{normalize:r}=t;return r(["打印"])},hsDownload:t=>{const{normalize:r}=t;return r(["下载"])},hsExternalPage:t=>{const{normalize:r}=t;return r(["外部页面"])},hsPureDocument:t=>{const{normalize:r}=t;return r(["平台文档(内嵌)"])},externalLink:t=>{const{normalize:r}=t;return r(["平台文档(外链)"])},hsEpDocument:t=>{const{normalize:r}=t;return r(["Element Plus 文档(内嵌)"])},hsVueDocument:t=>{const{normalize:r}=t;return r(["Vue3 文档(内嵌)"])},hsViteDocument:t=>{const{normalize:r}=t;return r(["Vite 文档(内嵌)"])},hsPiniaDocument:t=>{const{normalize:r}=t;return r(["Pinia 文档(内嵌)"])},hsRouterDocument:t=>{const{normalize:r}=t;return r(["Vue Router 文档(内嵌)"])},hsTailwindcssDocument:t=>{const{normalize:r}=t;return r(["Tailwindcss 文档(内嵌)"])},hsAbout:t=>{const{normalize:r}=t;return r(["关于"])},hsResult:t=>{const{normalize:r}=t;return r(["结果页面"])},hsSuccess:t=>{const{normalize:r}=t;return r(["成功页面"])},hsFail:t=>{const{normalize:r}=t;return r(["失败页面"])},hsIconSelect:t=>{const{normalize:r}=t;return r(["图标选择器"])},hsTimeline:t=>{const{normalize:r}=t;return r(["时间线"])},hsLineTree:t=>{const{normalize:r}=t;return r(["树形连接线"])},hsList:t=>{const{normalize:r}=t;return r(["列表页"])},hsListCard:t=>{const{normalize:r}=t;return r(["卡片列表页"])},hsDebounce:t=>{const{normalize:r}=t;return r(["防抖节流"])},hsFormDesign:t=>{const{normalize:r}=t;return r(["表单设计器"])},hsBarcode:t=>{const{normalize:r}=t;return r(["条形码"])},hsQrcode:t=>{const{normalize:r}=t;return r(["二维码"])},hsCascader:t=>{const{normalize:r}=t;return r(["区域级联选择器"])},hsSwiper:t=>{const{normalize:r}=t;return r(["Swiper插件"])},hsVirtualList:t=>{const{normalize:r}=t;return r(["虚拟列表"])},hsPdf:t=>{const{normalize:r}=t;return r(["PDF预览"])},hsExcel:t=>{const{normalize:r}=t;return r(["导出Excel"])},hsInfiniteScroll:t=>{const{normalize:r}=t;return r(["表格无限滚动"])},hsSensitive:t=>{const{normalize:r}=t;return r(["敏感词过滤"])},hsPinyin:t=>{const{normalize:r}=t;return r(["汉语拼音"])},hsdanmaku:t=>{const{normalize:r}=t;return r(["弹幕组件"])},hsPureTableBase:t=>{const{normalize:r}=t;return r(["基础用法(23个示例)"])},hsPureTableHigh:t=>{const{normalize:r}=t;return r(["高级用法(11个示例)"])},hsTree:t=>{const{normalize:r}=t;return r(["大数据树业务组件"])},hsMenuoverflow:t=>{const{normalize:r}=t;return r(["目录超出显示 Tooltip 文字提示"])},hsChildMenuoverflow:t=>{const{normalize:r}=t;return r(["菜单超出显示 Tooltip 文字提示"])}},status:{hsLoad:t=>{const{normalize:r}=t;return r(["加载中..."])}},login:{username:t=>{const{normalize:r}=t;return r(["账号"])},password:t=>{const{normalize:r}=t;return r(["密码"])},verifyCode:t=>{const{normalize:r}=t;return r(["验证码"])},remember:t=>{const{normalize:r}=t;return r(["记住密码"])},sure:t=>{const{normalize:r}=t;return r(["确认密码"])},forget:t=>{const{normalize:r}=t;return r(["忘记密码?"])},login:t=>{const{normalize:r}=t;return r(["登录"])},thirdLogin:t=>{const{normalize:r}=t;return r(["第三方登录"])},phoneLogin:t=>{const{normalize:r}=t;return r(["手机登录"])},qRCodeLogin:t=>{const{normalize:r}=t;return r(["二维码登录"])},register:t=>{const{normalize:r}=t;return r(["注册"])},weChatLogin:t=>{const{normalize:r}=t;return r(["微信登录"])},alipayLogin:t=>{const{normalize:r}=t;return r(["支付宝登录"])},qqLogin:t=>{const{normalize:r}=t;return r(["QQ登录"])},weiboLogin:t=>{const{normalize:r}=t;return r(["微博登录"])},phone:t=>{const{normalize:r}=t;return r(["手机号码"])},smsVerifyCode:t=>{const{normalize:r}=t;return r(["短信验证码"])},back:t=>{const{normalize:r}=t;return r(["返回"])},test:t=>{const{normalize:r}=t;return r(["模拟测试"])},tip:t=>{const{normalize:r}=t;return r(['扫码后点击"确认",即可完成登录'])},definite:t=>{const{normalize:r}=t;return r(["确定"])},loginSuccess:t=>{const{normalize:r}=t;return r(["登录成功"])},registerSuccess:t=>{const{normalize:r}=t;return r(["注册成功"])},tickPrivacy:t=>{const{normalize:r}=t;return r(["请勾选隐私政策"])},readAccept:t=>{const{normalize:r}=t;return r(["我已仔细阅读并接受"])},privacyPolicy:t=>{const{normalize:r}=t;return r(["《隐私政策》"])},getVerifyCode:t=>{const{normalize:r}=t;return r(["获取验证码"])},info:t=>{const{normalize:r}=t;return r(["秒后重新获取"])},usernameReg:t=>{const{normalize:r}=t;return r(["请输入账号"])},passwordReg:t=>{const{normalize:r}=t;return r(["请输入密码"])},verifyCodeReg:t=>{const{normalize:r}=t;return r(["请输入验证码"])},verifyCodeCorrectReg:t=>{const{normalize:r}=t;return r(["请输入正确的验证码"])},verifyCodeSixReg:t=>{const{normalize:r}=t;return r(["请输入6位数字验证码"])},phoneReg:t=>{const{normalize:r}=t;return r(["请输入手机号码"])},phoneCorrectReg:t=>{const{normalize:r}=t;return r(["请输入正确的手机号码格式"])},passwordRuleReg:t=>{const{normalize:r}=t;return r(["密码格式应为8-18位数字、字母、符号的任意两种组合"])},passwordSureReg:t=>{const{normalize:r}=t;return r(["请输入确认密码"])},passwordDifferentReg:t=>{const{normalize:r}=t;return r(["两次密码不一致!"])},passwordUpdateReg:t=>{const{normalize:r}=t;return r(["修改密码成功"])}}},__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:resource},Symbol.toStringTag,{value:"Module"}));/*!
|
||
* shared v9.2.2
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const inBrowser=typeof window<"u",hasSymbol=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",makeSymbol=t=>hasSymbol?Symbol(t):t,generateFormatCacheKey=(t,r,V)=>friendlyJSONstringify({l:t,k:r,s:V}),friendlyJSONstringify=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber$3=t=>typeof t=="number"&&isFinite(t),isDate$2=t=>toTypeString(t)==="[object Date]",isRegExp$4=t=>toTypeString(t)==="[object RegExp]",isEmptyObject=t=>isPlainObject$2(t)&&Object.keys(t).length===0;function warn$1(t,r){typeof console<"u"&&(console.warn("[intlify] "+t),r&&console.warn(r.stack))}const assign$4=Object.assign;function escapeHtml(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const hasOwnProperty$1=Object.prototype.hasOwnProperty;function hasOwn$3(t,r){return hasOwnProperty$1.call(t,r)}const isArray$9=Array.isArray,isFunction$2=t=>typeof t=="function",isString$4=t=>typeof t=="string",isBoolean$2=t=>typeof t=="boolean",isObject$6=t=>t!==null&&typeof t=="object",objectToString$1=Object.prototype.toString,toTypeString=t=>objectToString$1.call(t),isPlainObject$2=t=>toTypeString(t)==="[object Object]",toDisplayString=t=>t==null?"":isArray$9(t)||isPlainObject$2(t)&&t.toString===objectToString$1?JSON.stringify(t,null,2):String(t);/*!
|
||
* message-compiler v9.2.2
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function createCompileError(t,r,V={}){const{domain:oe,messages:ie,args:le}=V,ue=t,de=new SyntaxError(String(ue));return de.code=t,r&&(de.location=r),de.domain=oe,de}/*!
|
||
* core-base v9.2.2
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]};pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]};pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]};pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]};pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(t){return literalValueRE.test(t)}function stripQuotes(t){const r=t.charCodeAt(0),V=t.charCodeAt(t.length-1);return r===V&&(r===34||r===39)?t.slice(1,-1):t}function getPathCharType(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function formatSubPath(t){const r=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:isLiteral(r)?stripQuotes(r):"*"+r}function parse$5(t){const r=[];let V=-1,oe=0,ie=0,le,ue,de,pe,he,_e,$e;const Ie=[];Ie[0]=()=>{ue===void 0?ue=de:ue+=de},Ie[1]=()=>{ue!==void 0&&(r.push(ue),ue=void 0)},Ie[2]=()=>{Ie[0](),ie++},Ie[3]=()=>{if(ie>0)ie--,oe=4,Ie[0]();else{if(ie=0,ue===void 0||(ue=formatSubPath(ue),ue===!1))return!1;Ie[1]()}};function Ve(){const Fe=t[V+1];if(oe===5&&Fe==="'"||oe===6&&Fe==='"')return V++,de="\\"+Fe,Ie[0](),!0}for(;oe!==null;)if(V++,le=t[V],!(le==="\\"&&Ve())){if(pe=getPathCharType(le),$e=pathStateMachine[oe],he=$e[pe]||$e.l||8,he===8||(oe=he[0],he[1]!==void 0&&(_e=Ie[he[1]],_e&&(de=le,_e()===!1))))return;if(oe===7)return r}}const cache=new Map;function resolveWithKeyValue(t,r){return isObject$6(t)?t[r]:null}function resolveValue(t,r){if(!isObject$6(t))return null;let V=cache.get(r);if(V||(V=parse$5(r),V&&cache.set(r,V)),!V)return null;const oe=V.length;let ie=t,le=0;for(;le<oe;){const ue=ie[V[le]];if(ue===void 0)return null;ie=ue,le++}return ie}const DEFAULT_MODIFIER=t=>t,DEFAULT_MESSAGE=t=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=t=>t.length===0?"":t.join(""),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(t,r){return t=Math.abs(t),r===2?t?t>1?1:0:1:t?Math.min(t,2):0}function getPluralIndex(t){const r=isNumber$3(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(isNumber$3(t.named.count)||isNumber$3(t.named.n))?isNumber$3(t.named.count)?t.named.count:isNumber$3(t.named.n)?t.named.n:r:r}function normalizeNamed(t,r){r.count||(r.count=t),r.n||(r.n=t)}function createMessageContext(t={}){const r=t.locale,V=getPluralIndex(t),oe=isObject$6(t.pluralRules)&&isString$4(r)&&isFunction$2(t.pluralRules[r])?t.pluralRules[r]:pluralDefault,ie=isObject$6(t.pluralRules)&&isString$4(r)&&isFunction$2(t.pluralRules[r])?pluralDefault:void 0,le=Et=>Et[oe(V,Et.length,ie)],ue=t.list||[],de=Et=>ue[Et],pe=t.named||{};isNumber$3(t.pluralIndex)&&normalizeNamed(V,pe);const he=Et=>pe[Et];function _e(Et){const At=isFunction$2(t.messages)?t.messages(Et):isObject$6(t.messages)?t.messages[Et]:!1;return At||(t.parent?t.parent.message(Et):DEFAULT_MESSAGE)}const $e=Et=>t.modifiers?t.modifiers[Et]:DEFAULT_MODIFIER,Ie=isPlainObject$2(t.processor)&&isFunction$2(t.processor.normalize)?t.processor.normalize:DEFAULT_NORMALIZE,Ve=isPlainObject$2(t.processor)&&isFunction$2(t.processor.interpolate)?t.processor.interpolate:DEFAULT_INTERPOLATE,Fe=isPlainObject$2(t.processor)&&isString$4(t.processor.type)?t.processor.type:DEFAULT_MESSAGE_DATA_TYPE,qe={list:de,named:he,plural:le,linked:(Et,...At)=>{const[Lt,hn]=At;let _n="text",vn="";At.length===1?isObject$6(Lt)?(vn=Lt.modifier||vn,_n=Lt.type||_n):isString$4(Lt)&&(vn=Lt||vn):At.length===2&&(isString$4(Lt)&&(vn=Lt||vn),isString$4(hn)&&(_n=hn||_n));let bn=_e(Et)(qe);return _n==="vnode"&&isArray$9(bn)&&vn&&(bn=bn[0]),vn?$e(vn)(bn,_n):bn},message:_e,type:Fe,interpolate:Ve,normalize:Ie};return qe}function fallbackWithSimple(t,r,V){return[...new Set([V,...isArray$9(r)?r:isObject$6(r)?Object.keys(r):isString$4(r)?[r]:[V]])]}function fallbackWithLocaleChain(t,r,V){const oe=isString$4(V)?V:DEFAULT_LOCALE$1,ie=t;ie.__localeChainCache||(ie.__localeChainCache=new Map);let le=ie.__localeChainCache.get(oe);if(!le){le=[];let ue=[V];for(;isArray$9(ue);)ue=appendBlockToChain(le,ue,r);const de=isArray$9(r)||!isPlainObject$2(r)?r:r.default?r.default:null;ue=isString$4(de)?[de]:de,isArray$9(ue)&&appendBlockToChain(le,ue,!1),ie.__localeChainCache.set(oe,le)}return le}function appendBlockToChain(t,r,V){let oe=!0;for(let ie=0;ie<r.length&&isBoolean$2(oe);ie++){const le=r[ie];isString$4(le)&&(oe=appendLocaleToChain(t,r[ie],V))}return oe}function appendLocaleToChain(t,r,V){let oe;const ie=r.split("-");do{const le=ie.join("-");oe=appendItemToChain(t,le,V),ie.splice(-1,1)}while(ie.length&&oe===!0);return oe}function appendItemToChain(t,r,V){let oe=!1;if(!t.includes(r)&&(oe=!0,r)){oe=r[r.length-1]!=="!";const ie=r.replace(/!/g,"");t.push(ie),(isArray$9(V)||isPlainObject$2(V))&&V[ie]&&(oe=V[ie])}return oe}const VERSION$2="9.2.2",NOT_REOSLVED=-1,DEFAULT_LOCALE$1="en-US",MISSING_RESOLVE_VALUE="",capitalize=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(t,r)=>r==="text"&&isString$4(t)?t.toUpperCase():r==="vnode"&&isObject$6(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,r)=>r==="text"&&isString$4(t)?t.toLowerCase():r==="vnode"&&isObject$6(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,r)=>r==="text"&&isString$4(t)?capitalize(t):r==="vnode"&&isObject$6(t)&&"__v_isVNode"in t?capitalize(t.children):t}}let _compiler,_resolver;function registerMessageResolver(t){_resolver=t}let _fallbacker;function registerLocaleFallbacker(t){_fallbacker=t}let _cid=0;function createCoreContext(t={}){const r=isString$4(t.version)?t.version:VERSION$2,V=isString$4(t.locale)?t.locale:DEFAULT_LOCALE$1,oe=isArray$9(t.fallbackLocale)||isPlainObject$2(t.fallbackLocale)||isString$4(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:V,ie=isPlainObject$2(t.messages)?t.messages:{[V]:{}},le=isPlainObject$2(t.datetimeFormats)?t.datetimeFormats:{[V]:{}},ue=isPlainObject$2(t.numberFormats)?t.numberFormats:{[V]:{}},de=assign$4({},t.modifiers||{},getDefaultLinkedModifiers()),pe=t.pluralRules||{},he=isFunction$2(t.missing)?t.missing:null,_e=isBoolean$2(t.missingWarn)||isRegExp$4(t.missingWarn)?t.missingWarn:!0,$e=isBoolean$2(t.fallbackWarn)||isRegExp$4(t.fallbackWarn)?t.fallbackWarn:!0,Ie=!!t.fallbackFormat,Ve=!!t.unresolving,Fe=isFunction$2(t.postTranslation)?t.postTranslation:null,Ue=isPlainObject$2(t.processor)?t.processor:null,qe=isBoolean$2(t.warnHtmlMessage)?t.warnHtmlMessage:!0,Et=!!t.escapeParameter,At=isFunction$2(t.messageCompiler)?t.messageCompiler:_compiler,Lt=isFunction$2(t.messageResolver)?t.messageResolver:_resolver||resolveWithKeyValue,hn=isFunction$2(t.localeFallbacker)?t.localeFallbacker:_fallbacker||fallbackWithSimple,_n=isObject$6(t.fallbackContext)?t.fallbackContext:void 0,vn=isFunction$2(t.onWarn)?t.onWarn:warn$1,bn=t,Cn=isObject$6(bn.__datetimeFormatters)?bn.__datetimeFormatters:new Map,Sn=isObject$6(bn.__numberFormatters)?bn.__numberFormatters:new Map,wn=isObject$6(bn.__meta)?bn.__meta:{};_cid++;const En={version:r,cid:_cid,locale:V,fallbackLocale:oe,messages:ie,modifiers:de,pluralRules:pe,missing:he,missingWarn:_e,fallbackWarn:$e,fallbackFormat:Ie,unresolving:Ve,postTranslation:Fe,processor:Ue,warnHtmlMessage:qe,escapeParameter:Et,messageCompiler:At,messageResolver:Lt,localeFallbacker:hn,fallbackContext:_n,onWarn:vn,__meta:wn};return En.datetimeFormats=le,En.numberFormats=ue,En.__datetimeFormatters=Cn,En.__numberFormatters=Sn,En}function handleMissing(t,r,V,oe,ie){const{missing:le,onWarn:ue}=t;if(le!==null){const de=le(t,V,r,ie);return isString$4(de)?de:r}else return r}function updateFallbackLocale(t,r,V){const oe=t;oe.__localeChainCache=new Map,t.localeFallbacker(t,V,r)}let code$1=CompileErrorCodes.__EXTEND_POINT__;const inc$1=()=>++code$1,CoreErrorCodes={INVALID_ARGUMENT:code$1,INVALID_DATE_ARGUMENT:inc$1(),INVALID_ISO_DATE_ARGUMENT:inc$1(),__EXTEND_POINT__:inc$1()};function createCoreError(t){return createCompileError(t,null,void 0)}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=t=>isFunction$2(t);function translate$1(t,...r){const{fallbackFormat:V,postTranslation:oe,unresolving:ie,messageCompiler:le,fallbackLocale:ue,messages:de}=t,[pe,he]=parseTranslateArgs(...r),_e=isBoolean$2(he.missingWarn)?he.missingWarn:t.missingWarn,$e=isBoolean$2(he.fallbackWarn)?he.fallbackWarn:t.fallbackWarn,Ie=isBoolean$2(he.escapeParameter)?he.escapeParameter:t.escapeParameter,Ve=!!he.resolvedMessage,Fe=isString$4(he.default)||isBoolean$2(he.default)?isBoolean$2(he.default)?le?pe:()=>pe:he.default:V?le?pe:()=>pe:"",Ue=V||Fe!=="",qe=isString$4(he.locale)?he.locale:t.locale;Ie&&escapeParams(he);let[Et,At,Lt]=Ve?[pe,qe,de[qe]||{}]:resolveMessageFormat(t,pe,qe,ue,$e,_e),hn=Et,_n=pe;if(!Ve&&!(isString$4(hn)||isMessageFunction(hn))&&Ue&&(hn=Fe,_n=hn),!Ve&&(!(isString$4(hn)||isMessageFunction(hn))||!isString$4(At)))return ie?NOT_REOSLVED:pe;let vn=!1;const bn=()=>{vn=!0},Cn=isMessageFunction(hn)?hn:compileMessageFormat(t,pe,At,hn,_n,bn);if(vn)return hn;const Sn=getMessageContextOptions(t,At,Lt,he),wn=createMessageContext(Sn),En=evaluateMessage(t,Cn,wn);return oe?oe(En,pe):En}function escapeParams(t){isArray$9(t.list)?t.list=t.list.map(r=>isString$4(r)?escapeHtml(r):r):isObject$6(t.named)&&Object.keys(t.named).forEach(r=>{isString$4(t.named[r])&&(t.named[r]=escapeHtml(t.named[r]))})}function resolveMessageFormat(t,r,V,oe,ie,le){const{messages:ue,onWarn:de,messageResolver:pe,localeFallbacker:he}=t,_e=he(t,oe,V);let $e={},Ie,Ve=null;const Fe="translate";for(let Ue=0;Ue<_e.length&&(Ie=_e[Ue],$e=ue[Ie]||{},(Ve=pe($e,r))===null&&(Ve=$e[r]),!(isString$4(Ve)||isFunction$2(Ve)));Ue++){const qe=handleMissing(t,r,Ie,le,Fe);qe!==r&&(Ve=qe)}return[Ve,Ie,$e]}function compileMessageFormat(t,r,V,oe,ie,le){const{messageCompiler:ue,warnHtmlMessage:de}=t;if(isMessageFunction(oe)){const he=oe;return he.locale=he.locale||V,he.key=he.key||r,he}if(ue==null){const he=()=>oe;return he.locale=V,he.key=r,he}const pe=ue(oe,getCompileOptions(t,V,ie,oe,de,le));return pe.locale=V,pe.key=r,pe.source=oe,pe}function evaluateMessage(t,r,V){return r(V)}function parseTranslateArgs(...t){const[r,V,oe]=t,ie={};if(!isString$4(r)&&!isNumber$3(r)&&!isMessageFunction(r))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const le=isNumber$3(r)?String(r):(isMessageFunction(r),r);return isNumber$3(V)?ie.plural=V:isString$4(V)?ie.default=V:isPlainObject$2(V)&&!isEmptyObject(V)?ie.named=V:isArray$9(V)&&(ie.list=V),isNumber$3(oe)?ie.plural=oe:isString$4(oe)?ie.default=oe:isPlainObject$2(oe)&&assign$4(ie,oe),[le,ie]}function getCompileOptions(t,r,V,oe,ie,le){return{warnHtmlMessage:ie,onError:ue=>{throw le&&le(ue),ue},onCacheKey:ue=>generateFormatCacheKey(r,V,ue)}}function getMessageContextOptions(t,r,V,oe){const{modifiers:ie,pluralRules:le,messageResolver:ue,fallbackLocale:de,fallbackWarn:pe,missingWarn:he,fallbackContext:_e}=t,Ie={locale:r,modifiers:ie,pluralRules:le,messages:Ve=>{let Fe=ue(V,Ve);if(Fe==null&&_e){const[,,Ue]=resolveMessageFormat(_e,Ve,r,de,pe,he);Fe=ue(Ue,Ve)}if(isString$4(Fe)){let Ue=!1;const Et=compileMessageFormat(t,Ve,r,Fe,Ve,()=>{Ue=!0});return Ue?NOOP_MESSAGE_FUNCTION:Et}else return isMessageFunction(Fe)?Fe:NOOP_MESSAGE_FUNCTION}};return t.processor&&(Ie.processor=t.processor),oe.list&&(Ie.list=oe.list),oe.named&&(Ie.named=oe.named),isNumber$3(oe.plural)&&(Ie.pluralIndex=oe.plural),Ie}function datetime(t,...r){const{datetimeFormats:V,unresolving:oe,fallbackLocale:ie,onWarn:le,localeFallbacker:ue}=t,{__datetimeFormatters:de}=t,[pe,he,_e,$e]=parseDateTimeArgs(...r),Ie=isBoolean$2(_e.missingWarn)?_e.missingWarn:t.missingWarn;isBoolean$2(_e.fallbackWarn)?_e.fallbackWarn:t.fallbackWarn;const Ve=!!_e.part,Fe=isString$4(_e.locale)?_e.locale:t.locale,Ue=ue(t,ie,Fe);if(!isString$4(pe)||pe==="")return new Intl.DateTimeFormat(Fe,$e).format(he);let qe={},Et,At=null;const Lt="datetime format";for(let vn=0;vn<Ue.length&&(Et=Ue[vn],qe=V[Et]||{},At=qe[pe],!isPlainObject$2(At));vn++)handleMissing(t,pe,Et,Ie,Lt);if(!isPlainObject$2(At)||!isString$4(Et))return oe?NOT_REOSLVED:pe;let hn=`${Et}__${pe}`;isEmptyObject($e)||(hn=`${hn}__${JSON.stringify($e)}`);let _n=de.get(hn);return _n||(_n=new Intl.DateTimeFormat(Et,assign$4({},At,$e)),de.set(hn,_n)),Ve?_n.formatToParts(he):_n.format(he)}const DATETIME_FORMAT_OPTIONS_KEYS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function parseDateTimeArgs(...t){const[r,V,oe,ie]=t,le={};let ue={},de;if(isString$4(r)){const pe=r.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!pe)throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const he=pe[3]?pe[3].trim().startsWith("T")?`${pe[1].trim()}${pe[3].trim()}`:`${pe[1].trim()}T${pe[3].trim()}`:pe[1].trim();de=new Date(he);try{de.toISOString()}catch{throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate$2(r)){if(isNaN(r.getTime()))throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);de=r}else if(isNumber$3(r))de=r;else throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);return isString$4(V)?le.key=V:isPlainObject$2(V)&&Object.keys(V).forEach(pe=>{DATETIME_FORMAT_OPTIONS_KEYS.includes(pe)?ue[pe]=V[pe]:le[pe]=V[pe]}),isString$4(oe)?le.locale=oe:isPlainObject$2(oe)&&(ue=oe),isPlainObject$2(ie)&&(ue=ie),[le.key||"",de,le,ue]}function clearDateTimeFormat(t,r,V){const oe=t;for(const ie in V){const le=`${r}__${ie}`;oe.__datetimeFormatters.has(le)&&oe.__datetimeFormatters.delete(le)}}function number$2(t,...r){const{numberFormats:V,unresolving:oe,fallbackLocale:ie,onWarn:le,localeFallbacker:ue}=t,{__numberFormatters:de}=t,[pe,he,_e,$e]=parseNumberArgs(...r),Ie=isBoolean$2(_e.missingWarn)?_e.missingWarn:t.missingWarn;isBoolean$2(_e.fallbackWarn)?_e.fallbackWarn:t.fallbackWarn;const Ve=!!_e.part,Fe=isString$4(_e.locale)?_e.locale:t.locale,Ue=ue(t,ie,Fe);if(!isString$4(pe)||pe==="")return new Intl.NumberFormat(Fe,$e).format(he);let qe={},Et,At=null;const Lt="number format";for(let vn=0;vn<Ue.length&&(Et=Ue[vn],qe=V[Et]||{},At=qe[pe],!isPlainObject$2(At));vn++)handleMissing(t,pe,Et,Ie,Lt);if(!isPlainObject$2(At)||!isString$4(Et))return oe?NOT_REOSLVED:pe;let hn=`${Et}__${pe}`;isEmptyObject($e)||(hn=`${hn}__${JSON.stringify($e)}`);let _n=de.get(hn);return _n||(_n=new Intl.NumberFormat(Et,assign$4({},At,$e)),de.set(hn,_n)),Ve?_n.formatToParts(he):_n.format(he)}const NUMBER_FORMAT_OPTIONS_KEYS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function parseNumberArgs(...t){const[r,V,oe,ie]=t,le={};let ue={};if(!isNumber$3(r))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const de=r;return isString$4(V)?le.key=V:isPlainObject$2(V)&&Object.keys(V).forEach(pe=>{NUMBER_FORMAT_OPTIONS_KEYS.includes(pe)?ue[pe]=V[pe]:le[pe]=V[pe]}),isString$4(oe)?le.locale=oe:isPlainObject$2(oe)&&(ue=oe),isPlainObject$2(ie)&&(ue=ie),[le.key||"",de,le,ue]}function clearNumberFormat(t,r,V){const oe=t;for(const ie in V){const le=`${r}__${ie}`;oe.__numberFormatters.has(le)&&oe.__numberFormatters.delete(le)}}/*!
|
||
* vue-i18n v9.2.2
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const VERSION$1="9.2.2";let code=CompileErrorCodes.__EXTEND_POINT__;const inc=()=>++code,I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSLALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSLALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(t,...r){return createCompileError(t,null,void 0)}const TransrateVNodeSymbol=makeSymbol("__transrateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules");makeSymbol("__intlifyMeta");const InejctWithOption=makeSymbol("__injectWithOption");function handleFlatJson(t){if(!isObject$6(t))return t;for(const r in t)if(hasOwn$3(t,r))if(!r.includes("."))isObject$6(t[r])&&handleFlatJson(t[r]);else{const V=r.split("."),oe=V.length-1;let ie=t;for(let le=0;le<oe;le++)V[le]in ie||(ie[V[le]]={}),ie=ie[V[le]];ie[V[oe]]=t[r],delete t[r],isObject$6(ie[V[oe]])&&handleFlatJson(ie[V[oe]])}return t}function getLocaleMessages(t,r){const{messages:V,__i18n:oe,messageResolver:ie,flatJson:le}=r,ue=isPlainObject$2(V)?V:isArray$9(oe)?{}:{[t]:{}};if(isArray$9(oe)&&oe.forEach(de=>{if("locale"in de&&"resource"in de){const{locale:pe,resource:he}=de;pe?(ue[pe]=ue[pe]||{},deepCopy(he,ue[pe])):deepCopy(he,ue)}else isString$4(de)&&deepCopy(JSON.parse(de),ue)}),ie==null&&le)for(const de in ue)hasOwn$3(ue,de)&&handleFlatJson(ue[de]);return ue}const isNotObjectOrIsArray=t=>!isObject$6(t)||isArray$9(t);function deepCopy(t,r){if(isNotObjectOrIsArray(t)||isNotObjectOrIsArray(r))throw createI18nError(I18nErrorCodes.INVALID_VALUE);for(const V in t)hasOwn$3(t,V)&&(isNotObjectOrIsArray(t[V])||isNotObjectOrIsArray(r[V])?r[V]=t[V]:deepCopy(t[V],r[V]))}function getComponentOptions(t){return t.type}function adjustI18nResources(t,r,V){let oe=isObject$6(r.messages)?r.messages:{};"__i18nGlobal"in V&&(oe=getLocaleMessages(t.locale.value,{messages:oe,__i18n:V.__i18nGlobal}));const ie=Object.keys(oe);ie.length&&ie.forEach(le=>{t.mergeLocaleMessage(le,oe[le])});{if(isObject$6(r.datetimeFormats)){const le=Object.keys(r.datetimeFormats);le.length&&le.forEach(ue=>{t.mergeDateTimeFormat(ue,r.datetimeFormats[ue])})}if(isObject$6(r.numberFormats)){const le=Object.keys(r.numberFormats);le.length&&le.forEach(ue=>{t.mergeNumberFormat(ue,r.numberFormats[ue])})}}}function createTextNode(t){return createVNode(Text$1,null,t,0)}let composerID=0;function defineCoreMissingHandler(t){return(r,V,oe,ie)=>t(V,oe,getCurrentInstance()||void 0,ie)}function createComposer(t={},r){const{__root:V}=t,oe=V===void 0;let ie=isBoolean$2(t.inheritLocale)?t.inheritLocale:!0;const le=ref(V&&ie?V.locale.value:isString$4(t.locale)?t.locale:DEFAULT_LOCALE$1),ue=ref(V&&ie?V.fallbackLocale.value:isString$4(t.fallbackLocale)||isArray$9(t.fallbackLocale)||isPlainObject$2(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:le.value),de=ref(getLocaleMessages(le.value,t)),pe=ref(isPlainObject$2(t.datetimeFormats)?t.datetimeFormats:{[le.value]:{}}),he=ref(isPlainObject$2(t.numberFormats)?t.numberFormats:{[le.value]:{}});let _e=V?V.missingWarn:isBoolean$2(t.missingWarn)||isRegExp$4(t.missingWarn)?t.missingWarn:!0,$e=V?V.fallbackWarn:isBoolean$2(t.fallbackWarn)||isRegExp$4(t.fallbackWarn)?t.fallbackWarn:!0,Ie=V?V.fallbackRoot:isBoolean$2(t.fallbackRoot)?t.fallbackRoot:!0,Ve=!!t.fallbackFormat,Fe=isFunction$2(t.missing)?t.missing:null,Ue=isFunction$2(t.missing)?defineCoreMissingHandler(t.missing):null,qe=isFunction$2(t.postTranslation)?t.postTranslation:null,Et=V?V.warnHtmlMessage:isBoolean$2(t.warnHtmlMessage)?t.warnHtmlMessage:!0,At=!!t.escapeParameter;const Lt=V?V.modifiers:isPlainObject$2(t.modifiers)?t.modifiers:{};let hn=t.pluralRules||V&&V.pluralRules,_n;_n=(()=>{const or={version:VERSION$1,locale:le.value,fallbackLocale:ue.value,messages:de.value,modifiers:Lt,pluralRules:hn,missing:Ue===null?void 0:Ue,missingWarn:_e,fallbackWarn:$e,fallbackFormat:Ve,unresolving:!0,postTranslation:qe===null?void 0:qe,warnHtmlMessage:Et,escapeParameter:At,messageResolver:t.messageResolver,__meta:{framework:"vue"}};return or.datetimeFormats=pe.value,or.numberFormats=he.value,or.__datetimeFormatters=isPlainObject$2(_n)?_n.__datetimeFormatters:void 0,or.__numberFormatters=isPlainObject$2(_n)?_n.__numberFormatters:void 0,createCoreContext(or)})(),updateFallbackLocale(_n,le.value,ue.value);function bn(){return[le.value,ue.value,de.value,pe.value,he.value]}const Cn=computed({get:()=>le.value,set:or=>{le.value=or,_n.locale=le.value}}),Sn=computed({get:()=>ue.value,set:or=>{ue.value=or,_n.fallbackLocale=ue.value,updateFallbackLocale(_n,le.value,or)}}),wn=computed(()=>de.value),En=computed(()=>pe.value),xn=computed(()=>he.value);function Pn(){return isFunction$2(qe)?qe:null}function kn(or){qe=or,_n.postTranslation=or}function Nn(){return Fe}function Dn(or){or!==null&&(Ue=defineCoreMissingHandler(or)),Fe=or,_n.missing=Ue}const Mn=(or,fr,kr,br,Ar,Dr)=>{bn();let Br;if(Br=or(_n),isNumber$3(Br)&&Br===NOT_REOSLVED){const[zr,Rr]=fr();return V&&Ie?br(V):Ar(zr)}else{if(Dr(Br))return Br;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function Ln(...or){return Mn(fr=>Reflect.apply(translate$1,null,[fr,...or]),()=>parseTranslateArgs(...or),"translate",fr=>Reflect.apply(fr.t,fr,[...or]),fr=>fr,fr=>isString$4(fr))}function An(...or){const[fr,kr,br]=or;if(br&&!isObject$6(br))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return Ln(fr,kr,assign$4({resolvedMessage:!0},br||{}))}function Vn(...or){return Mn(fr=>Reflect.apply(datetime,null,[fr,...or]),()=>parseDateTimeArgs(...or),"datetime format",fr=>Reflect.apply(fr.d,fr,[...or]),()=>MISSING_RESOLVE_VALUE,fr=>isString$4(fr))}function Wn(...or){return Mn(fr=>Reflect.apply(number$2,null,[fr,...or]),()=>parseNumberArgs(...or),"number format",fr=>Reflect.apply(fr.n,fr,[...or]),()=>MISSING_RESOLVE_VALUE,fr=>isString$4(fr))}function Fn(or){return or.map(fr=>isString$4(fr)||isNumber$3(fr)||isBoolean$2(fr)?createTextNode(String(fr)):fr)}const tr={normalize:Fn,interpolate:or=>or,type:"vnode"};function yr(...or){return Mn(fr=>{let kr;const br=fr;try{br.processor=tr,kr=Reflect.apply(translate$1,null,[br,...or])}finally{br.processor=null}return kr},()=>parseTranslateArgs(...or),"translate",fr=>fr[TransrateVNodeSymbol](...or),fr=>[createTextNode(fr)],fr=>isArray$9(fr))}function Jn(...or){return Mn(fr=>Reflect.apply(number$2,null,[fr,...or]),()=>parseNumberArgs(...or),"number format",fr=>fr[NumberPartsSymbol](...or),()=>[],fr=>isString$4(fr)||isArray$9(fr))}function Kn(...or){return Mn(fr=>Reflect.apply(datetime,null,[fr,...or]),()=>parseDateTimeArgs(...or),"datetime format",fr=>fr[DatetimePartsSymbol](...or),()=>[],fr=>isString$4(fr)||isArray$9(fr))}function Gn(or){hn=or,_n.pluralRules=hn}function Qn(or,fr){const kr=isString$4(fr)?fr:le.value,br=Un(kr);return _n.messageResolver(br,or)!==null}function ur(or){let fr=null;const kr=fallbackWithLocaleChain(_n,ue.value,le.value);for(let br=0;br<kr.length;br++){const Ar=de.value[kr[br]]||{},Dr=_n.messageResolver(Ar,or);if(Dr!=null){fr=Dr;break}}return fr}function cr(or){const fr=ur(or);return fr??(V?V.tm(or)||{}:{})}function Un(or){return de.value[or]||{}}function qn(or,fr){de.value[or]=fr,_n.messages=de.value}function er(or,fr){de.value[or]=de.value[or]||{},deepCopy(fr,de.value[or]),_n.messages=de.value}function pr(or){return pe.value[or]||{}}function Er(or,fr){pe.value[or]=fr,_n.datetimeFormats=pe.value,clearDateTimeFormat(_n,or,fr)}function dr(or,fr){pe.value[or]=assign$4(pe.value[or]||{},fr),_n.datetimeFormats=pe.value,clearDateTimeFormat(_n,or,fr)}function xr(or){return he.value[or]||{}}function wr(or,fr){he.value[or]=fr,_n.numberFormats=he.value,clearNumberFormat(_n,or,fr)}function Cr(or,fr){he.value[or]=assign$4(he.value[or]||{},fr),_n.numberFormats=he.value,clearNumberFormat(_n,or,fr)}composerID++,V&&inBrowser&&(watch(V.locale,or=>{ie&&(le.value=or,_n.locale=or,updateFallbackLocale(_n,le.value,ue.value))}),watch(V.fallbackLocale,or=>{ie&&(ue.value=or,_n.fallbackLocale=or,updateFallbackLocale(_n,le.value,ue.value))}));const gr={id:composerID,locale:Cn,fallbackLocale:Sn,get inheritLocale(){return ie},set inheritLocale(or){ie=or,or&&V&&(le.value=V.locale.value,ue.value=V.fallbackLocale.value,updateFallbackLocale(_n,le.value,ue.value))},get availableLocales(){return Object.keys(de.value).sort()},messages:wn,get modifiers(){return Lt},get pluralRules(){return hn||{}},get isGlobal(){return oe},get missingWarn(){return _e},set missingWarn(or){_e=or,_n.missingWarn=_e},get fallbackWarn(){return $e},set fallbackWarn(or){$e=or,_n.fallbackWarn=$e},get fallbackRoot(){return Ie},set fallbackRoot(or){Ie=or},get fallbackFormat(){return Ve},set fallbackFormat(or){Ve=or,_n.fallbackFormat=Ve},get warnHtmlMessage(){return Et},set warnHtmlMessage(or){Et=or,_n.warnHtmlMessage=or},get escapeParameter(){return At},set escapeParameter(or){At=or,_n.escapeParameter=or},t:Ln,getLocaleMessage:Un,setLocaleMessage:qn,mergeLocaleMessage:er,getPostTranslationHandler:Pn,setPostTranslationHandler:kn,getMissingHandler:Nn,setMissingHandler:Dn,[SetPluralRulesSymbol]:Gn};return gr.datetimeFormats=En,gr.numberFormats=xn,gr.rt=An,gr.te=Qn,gr.tm=cr,gr.d=Vn,gr.n=Wn,gr.getDateTimeFormat=pr,gr.setDateTimeFormat=Er,gr.mergeDateTimeFormat=dr,gr.getNumberFormat=xr,gr.setNumberFormat=wr,gr.mergeNumberFormat=Cr,gr[InejctWithOption]=t.__injectWithOption,gr[TransrateVNodeSymbol]=yr,gr[DatetimePartsSymbol]=Kn,gr[NumberPartsSymbol]=Jn,gr}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:t},r){return r.length===1&&r[0]==="default"?(t.default?t.default():[]).reduce((oe,ie)=>oe=[...oe,...isArray$9(ie.children)?ie.children:[ie]],[]):r.reduce((V,oe)=>{const ie=t[oe];return ie&&(V[oe]=ie()),V},{})}function getFragmentableTag(t){return Fragment}const Translation={name:"i18n-t",props:assign$4({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>isNumber$3(t)||!isNaN(t)}},baseFormatProps),setup(t,r){const{slots:V,attrs:oe}=r,ie=t.i18n||useI18n$1({useScope:t.scope,__useComponent:!0});return()=>{const le=Object.keys(V).filter($e=>$e!=="_"),ue={};t.locale&&(ue.locale=t.locale),t.plural!==void 0&&(ue.plural=isString$4(t.plural)?+t.plural:t.plural);const de=getInterpolateArg(r,le),pe=ie[TransrateVNodeSymbol](t.keypath,de,ue),he=assign$4({},oe),_e=isString$4(t.tag)||isObject$6(t.tag)?t.tag:getFragmentableTag();return h$2(_e,he,pe)}}};function isVNode(t){return isArray$9(t)&&!isString$4(t[0])}function renderFormatter(t,r,V,oe){const{slots:ie,attrs:le}=r;return()=>{const ue={part:!0};let de={};t.locale&&(ue.locale=t.locale),isString$4(t.format)?ue.key=t.format:isObject$6(t.format)&&(isString$4(t.format.key)&&(ue.key=t.format.key),de=Object.keys(t.format).reduce((Ie,Ve)=>V.includes(Ve)?assign$4({},Ie,{[Ve]:t.format[Ve]}):Ie,{}));const pe=oe(t.value,ue,de);let he=[ue.key];isArray$9(pe)?he=pe.map((Ie,Ve)=>{const Fe=ie[Ie.type],Ue=Fe?Fe({[Ie.type]:Ie.value,index:Ve,parts:pe}):[Ie.value];return isVNode(Ue)&&(Ue[0].key=`${Ie.type}-${Ve}`),Ue}):isString$4(pe)&&(he=[pe]);const _e=assign$4({},le),$e=isString$4(t.tag)||isObject$6(t.tag)?t.tag:getFragmentableTag();return h$2($e,_e,he)}}const NumberFormat={name:"i18n-n",props:assign$4({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(t,r){const V=t.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter(t,r,NUMBER_FORMAT_OPTIONS_KEYS,(...oe)=>V[NumberPartsSymbol](...oe))}},DatetimeFormat={name:"i18n-d",props:assign$4({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(t,r){const V=t.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter(t,r,DATETIME_FORMAT_OPTIONS_KEYS,(...oe)=>V[DatetimePartsSymbol](...oe))}};function getComposer$2(t,r){const V=t;if(t.mode==="composition")return V.__getInstance(r)||t.global;{const oe=V.__getInstance(r);return oe!=null?oe.__composer:t.global.__composer}}function vTDirective(t){const r=ue=>{const{instance:de,modifiers:pe,value:he}=ue;if(!de||!de.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const _e=getComposer$2(t,de.$),$e=parseValue(he);return[Reflect.apply(_e.t,_e,[...makeParams($e)]),_e]};return{created:(ue,de)=>{const[pe,he]=r(de);inBrowser&&t.global===he&&(ue.__i18nWatcher=watch(he.locale,()=>{de.instance&&de.instance.$forceUpdate()})),ue.__composer=he,ue.textContent=pe},unmounted:ue=>{inBrowser&&ue.__i18nWatcher&&(ue.__i18nWatcher(),ue.__i18nWatcher=void 0,delete ue.__i18nWatcher),ue.__composer&&(ue.__composer=void 0,delete ue.__composer)},beforeUpdate:(ue,{value:de})=>{if(ue.__composer){const pe=ue.__composer,he=parseValue(de);ue.textContent=Reflect.apply(pe.t,pe,[...makeParams(he)])}},getSSRProps:ue=>{const[de]=r(ue);return{textContent:de}}}}function parseValue(t){if(isString$4(t))return{path:t};if(isPlainObject$2(t)){if(!("path"in t))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return t}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(t){const{path:r,locale:V,args:oe,choice:ie,plural:le}=t,ue={},de=oe||{};return isString$4(V)&&(ue.locale=V),isNumber$3(ie)&&(ue.plural=ie),isNumber$3(le)&&(ue.plural=le),[r,de,ue]}function apply(t,r,...V){const oe=isPlainObject$2(V[0])?V[0]:{},ie=!!oe.useI18nComponentName;(isBoolean$2(oe.globalInstall)?oe.globalInstall:!0)&&(t.component(ie?"i18n":Translation.name,Translation),t.component(NumberFormat.name,NumberFormat),t.component(DatetimeFormat.name,DatetimeFormat)),t.directive("t",vTDirective(r))}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(t={},r){const V=isBoolean$2(t.globalInjection)?t.globalInjection:!0,oe=!0,ie=new Map,[le,ue]=createGlobal(t),de=makeSymbol("");function pe($e){return ie.get($e)||null}function he($e,Ie){ie.set($e,Ie)}function _e($e){ie.delete($e)}{const $e={get mode(){return"composition"},get allowComposition(){return oe},async install(Ie,...Ve){Ie.__VUE_I18N_SYMBOL__=de,Ie.provide(Ie.__VUE_I18N_SYMBOL__,$e),V&&injectGlobalFields(Ie,$e.global),apply(Ie,$e,...Ve);const Fe=Ie.unmount;Ie.unmount=()=>{$e.dispose(),Fe()}},get global(){return ue},dispose(){le.stop()},__instances:ie,__getInstance:pe,__setInstance:he,__deleteInstance:_e};return $e}}function useI18n$1(t={}){const r=getCurrentInstance();if(r==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!r.isCE&&r.appContext.app!=null&&!r.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSLALLED);const V=getI18nInstance(r),oe=getGlobalComposer(V),ie=getComponentOptions(r),le=getScope(t,ie);if(le==="global")return adjustI18nResources(oe,t,ie),oe;if(le==="parent"){let pe=getComposer(V,r,t.__useComponent);return pe==null&&(pe=oe),pe}const ue=V;let de=ue.__getInstance(r);if(de==null){const pe=assign$4({},t);"__i18n"in ie&&(pe.__i18n=ie.__i18n),oe&&(pe.__root=oe),de=createComposer(pe),setupLifeCycle(ue,r),ue.__setInstance(r,de)}return de}function createGlobal(t,r,V){const oe=effectScope();{const ie=oe.run(()=>createComposer(t));if(ie==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[oe,ie]}}function getI18nInstance(t){{const r=inject(t.isCE?I18nInjectionKey:t.appContext.app.__VUE_I18N_SYMBOL__);if(!r)throw createI18nError(t.isCE?I18nErrorCodes.NOT_INSLALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return r}}function getScope(t,r){return isEmptyObject(t)?"__i18n"in r?"local":"global":t.useScope?t.useScope:"local"}function getGlobalComposer(t){return t.mode==="composition"?t.global:t.global.__composer}function getComposer(t,r,V=!1){let oe=null;const ie=r.root;let le=r.parent;for(;le!=null;){const ue=t;if(t.mode==="composition"&&(oe=ue.__getInstance(le)),oe!=null||ie===le)break;le=le.parent}return oe}function setupLifeCycle(t,r,V){onMounted(()=>{},r),onUnmounted(()=>{t.__deleteInstance(r)},r)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm"];function injectGlobalFields(t,r){const V=Object.create(null);globalExportProps.forEach(oe=>{const ie=Object.getOwnPropertyDescriptor(r,oe);if(!ie)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const le=isRef(ie.value)?{get(){return ie.value.value},set(ue){ie.value.value=ue}}:{get(){return ie.get&&ie.get()}};Object.defineProperty(V,oe,le)}),t.config.globalProperties.$i18n=V,globalExportMethods.forEach(oe=>{const ie=Object.getOwnPropertyDescriptor(r,oe);if(!ie||!ie.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${oe}`,ie)})}registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);function bind$4(t,r){return function(){return t.apply(r,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(t=>r=>{const V=toString.call(r);return t[V]||(t[V]=V.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=t=>(t=t.toLowerCase(),r=>kindOf(r)===t),typeOfTest=t=>r=>typeof r===t,{isArray:isArray$8}=Array,isUndefined=typeOfTest("undefined");function isBuffer$1(t){return t!==null&&!isUndefined(t)&&t.constructor!==null&&!isUndefined(t.constructor)&&isFunction$1(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(t){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&isArrayBuffer(t.buffer),r}const isString$3=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$2=typeOfTest("number"),isObject$5=t=>t!==null&&typeof t=="object",isBoolean$1=t=>t===!0||t===!1,isPlainObject$1=t=>{if(kindOf(t)!=="object")return!1;const r=getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},isDate$1=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=t=>isObject$5(t)&&isFunction$1(t.pipe),isFormData=t=>{let r;return t&&(typeof FormData=="function"&&t instanceof FormData||isFunction$1(t.append)&&((r=kindOf(t))==="formdata"||r==="object"&&isFunction$1(t.toString)&&t.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),trim$2=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(t,r,{allOwnKeys:V=!1}={}){if(t===null||typeof t>"u")return;let oe,ie;if(typeof t!="object"&&(t=[t]),isArray$8(t))for(oe=0,ie=t.length;oe<ie;oe++)r.call(null,t[oe],oe,t);else{const le=V?Object.getOwnPropertyNames(t):Object.keys(t),ue=le.length;let de;for(oe=0;oe<ue;oe++)de=le[oe],r.call(null,t[de],de,t)}}function findKey(t,r){r=r.toLowerCase();const V=Object.keys(t);let oe=V.length,ie;for(;oe-- >0;)if(ie=V[oe],r===ie.toLowerCase())return ie;return null}const _global=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),isContextDefined=t=>!isUndefined(t)&&t!==_global;function merge$2(){const{caseless:t}=isContextDefined(this)&&this||{},r={},V=(oe,ie)=>{const le=t&&findKey(r,ie)||ie;isPlainObject$1(r[le])&&isPlainObject$1(oe)?r[le]=merge$2(r[le],oe):isPlainObject$1(oe)?r[le]=merge$2({},oe):isArray$8(oe)?r[le]=oe.slice():r[le]=oe};for(let oe=0,ie=arguments.length;oe<ie;oe++)arguments[oe]&&forEach(arguments[oe],V);return r}const extend$1=(t,r,V,{allOwnKeys:oe}={})=>(forEach(r,(ie,le)=>{V&&isFunction$1(ie)?t[le]=bind$4(ie,V):t[le]=ie},{allOwnKeys:oe}),t),stripBOM=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),inherits$1=(t,r,V,oe)=>{t.prototype=Object.create(r.prototype,oe),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),V&&Object.assign(t.prototype,V)},toFlatObject=(t,r,V,oe)=>{let ie,le,ue;const de={};if(r=r||{},t==null)return r;do{for(ie=Object.getOwnPropertyNames(t),le=ie.length;le-- >0;)ue=ie[le],(!oe||oe(ue,t,r))&&!de[ue]&&(r[ue]=t[ue],de[ue]=!0);t=V!==!1&&getPrototypeOf(t)}while(t&&(!V||V(t,r))&&t!==Object.prototype);return r},endsWith=(t,r,V)=>{t=String(t),(V===void 0||V>t.length)&&(V=t.length),V-=r.length;const oe=t.indexOf(r,V);return oe!==-1&&oe===V},toArray=t=>{if(!t)return null;if(isArray$8(t))return t;let r=t.length;if(!isNumber$2(r))return null;const V=new Array(r);for(;r-- >0;)V[r]=t[r];return V},isTypedArray$1=(t=>r=>t&&r instanceof t)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(t,r)=>{const oe=(t&&t[Symbol.iterator]).call(t);let ie;for(;(ie=oe.next())&&!ie.done;){const le=ie.value;r.call(t,le[0],le[1])}},matchAll=(t,r)=>{let V;const oe=[];for(;(V=t.exec(r))!==null;)oe.push(V);return oe},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(V,oe,ie){return oe.toUpperCase()+ie}),hasOwnProperty=(({hasOwnProperty:t})=>(r,V)=>t.call(r,V))(Object.prototype),isRegExp$3=kindOfTest("RegExp"),reduceDescriptors=(t,r)=>{const V=Object.getOwnPropertyDescriptors(t),oe={};forEach(V,(ie,le)=>{let ue;(ue=r(ie,le,t))!==!1&&(oe[le]=ue||ie)}),Object.defineProperties(t,oe)},freezeMethods=t=>{reduceDescriptors(t,(r,V)=>{if(isFunction$1(t)&&["arguments","caller","callee"].indexOf(V)!==-1)return!1;const oe=t[V];if(isFunction$1(oe)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+V+"'")})}})},toObjectSet=(t,r)=>{const V={},oe=ie=>{ie.forEach(le=>{V[le]=!0})};return isArray$8(t)?oe(t):oe(String(t).split(r)),V},noop$3=()=>{},toFiniteNumber=(t,r)=>(t=+t,Number.isFinite(t)?t:r),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(t=16,r=ALPHABET.ALPHA_DIGIT)=>{let V="";const{length:oe}=r;for(;t--;)V+=r[Math.random()*oe|0];return V};function isSpecCompliantForm(t){return!!(t&&isFunction$1(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const toJSONObject=t=>{const r=new Array(10),V=(oe,ie)=>{if(isObject$5(oe)){if(r.indexOf(oe)>=0)return;if(!("toJSON"in oe)){r[ie]=oe;const le=isArray$8(oe)?[]:{};return forEach(oe,(ue,de)=>{const pe=V(ue,ie+1);!isUndefined(pe)&&(le[de]=pe)}),r[ie]=void 0,le}}return oe};return V(t,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=t=>t&&(isObject$5(t)||isFunction$1(t))&&isFunction$1(t.then)&&isFunction$1(t.catch),utils$4={isArray:isArray$8,isArrayBuffer,isBuffer:isBuffer$1,isFormData,isArrayBufferView,isString:isString$3,isNumber:isNumber$2,isBoolean:isBoolean$1,isObject:isObject$5,isPlainObject:isPlainObject$1,isUndefined,isDate:isDate$1,isFile,isBlob,isRegExp:isRegExp$3,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach,merge:merge$2,extend:extend$1,trim:trim$2,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$3,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(t,r,V,oe,ie){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",r&&(this.code=r),V&&(this.config=V),oe&&(this.request=oe),ie&&(this.response=ie)}utils$4.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$4.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{descriptors[t]={value:t}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(t,r,V,oe,ie,le)=>{const ue=Object.create(prototype$1);return utils$4.toFlatObject(t,ue,function(pe){return pe!==Error.prototype},de=>de!=="isAxiosError"),AxiosError.call(ue,t.message,r,V,oe,ie),ue.cause=t,ue.name=t.name,le&&Object.assign(ue,le),ue};const httpAdapter=null;function isVisitable(t){return utils$4.isPlainObject(t)||utils$4.isArray(t)}function removeBrackets(t){return utils$4.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,r,V){return t?t.concat(r).map(function(ie,le){return ie=removeBrackets(ie),!V&&le?"["+ie+"]":ie}).join(V?".":""):r}function isFlatArray(t){return utils$4.isArray(t)&&!t.some(isVisitable)}const predicates=utils$4.toFlatObject(utils$4,{},null,function(r){return/^is[A-Z]/.test(r)});function toFormData(t,r,V){if(!utils$4.isObject(t))throw new TypeError("target must be an object");r=r||new FormData,V=utils$4.toFlatObject(V,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Ue,qe){return!utils$4.isUndefined(qe[Ue])});const oe=V.metaTokens,ie=V.visitor||_e,le=V.dots,ue=V.indexes,pe=(V.Blob||typeof Blob<"u"&&Blob)&&utils$4.isSpecCompliantForm(r);if(!utils$4.isFunction(ie))throw new TypeError("visitor must be a function");function he(Fe){if(Fe===null)return"";if(utils$4.isDate(Fe))return Fe.toISOString();if(!pe&&utils$4.isBlob(Fe))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$4.isArrayBuffer(Fe)||utils$4.isTypedArray(Fe)?pe&&typeof Blob=="function"?new Blob([Fe]):Buffer.from(Fe):Fe}function _e(Fe,Ue,qe){let Et=Fe;if(Fe&&!qe&&typeof Fe=="object"){if(utils$4.endsWith(Ue,"{}"))Ue=oe?Ue:Ue.slice(0,-2),Fe=JSON.stringify(Fe);else if(utils$4.isArray(Fe)&&isFlatArray(Fe)||(utils$4.isFileList(Fe)||utils$4.endsWith(Ue,"[]"))&&(Et=utils$4.toArray(Fe)))return Ue=removeBrackets(Ue),Et.forEach(function(Lt,hn){!(utils$4.isUndefined(Lt)||Lt===null)&&r.append(ue===!0?renderKey([Ue],hn,le):ue===null?Ue:Ue+"[]",he(Lt))}),!1}return isVisitable(Fe)?!0:(r.append(renderKey(qe,Ue,le),he(Fe)),!1)}const $e=[],Ie=Object.assign(predicates,{defaultVisitor:_e,convertValue:he,isVisitable});function Ve(Fe,Ue){if(!utils$4.isUndefined(Fe)){if($e.indexOf(Fe)!==-1)throw Error("Circular reference detected in "+Ue.join("."));$e.push(Fe),utils$4.forEach(Fe,function(Et,At){(!(utils$4.isUndefined(Et)||Et===null)&&ie.call(r,Et,utils$4.isString(At)?At.trim():At,Ue,Ie))===!0&&Ve(Et,Ue?Ue.concat(At):[At])}),$e.pop()}}if(!utils$4.isObject(t))throw new TypeError("data must be an object");return Ve(t),r}function encode$2(t){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(oe){return r[oe]})}function AxiosURLSearchParams(t,r){this._pairs=[],t&&toFormData(t,this,r)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(r,V){this._pairs.push([r,V])};prototype.toString=function(r){const V=r?function(oe){return r.call(this,oe,encode$2)}:encode$2;return this._pairs.map(function(ie){return V(ie[0])+"="+V(ie[1])},"").join("&")};function encode$1(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(t,r,V){if(!r)return t;const oe=V&&V.encode||encode$1,ie=V&&V.serialize;let le;if(ie?le=ie(r,V):le=utils$4.isURLSearchParams(r)?r.toString():new AxiosURLSearchParams(r,V).toString(oe),le){const ue=t.indexOf("#");ue!==-1&&(t=t.slice(0,ue)),t+=(t.indexOf("?")===-1?"?":"&")+le}return t}class InterceptorManager{constructor(){this.handlers=[]}use(r,V,oe){return this.handlers.push({fulfilled:r,rejected:V,synchronous:oe?oe.synchronous:!1,runWhen:oe?oe.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){utils$4.forEach(this.handlers,function(oe){oe!==null&&r(oe)})}}const InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,isStandardBrowserEnv=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),isStandardBrowserWebWorkerEnv=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},isStandardBrowserEnv,isStandardBrowserWebWorkerEnv,protocols:["http","https","file","blob","url","data"]};function toURLEncodedForm(t,r){return toFormData(t,new platform$1.classes.URLSearchParams,Object.assign({visitor:function(V,oe,ie,le){return platform$1.isNode&&utils$4.isBuffer(V)?(this.append(oe,V.toString("base64")),!1):le.defaultVisitor.apply(this,arguments)}},r))}function parsePropPath(t){return utils$4.matchAll(/\w+|\[(\w*)]/g,t).map(r=>r[0]==="[]"?"":r[1]||r[0])}function arrayToObject$1(t){const r={},V=Object.keys(t);let oe;const ie=V.length;let le;for(oe=0;oe<ie;oe++)le=V[oe],r[le]=t[le];return r}function formDataToJSON(t){function r(V,oe,ie,le){let ue=V[le++];const de=Number.isFinite(+ue),pe=le>=V.length;return ue=!ue&&utils$4.isArray(ie)?ie.length:ue,pe?(utils$4.hasOwnProp(ie,ue)?ie[ue]=[ie[ue],oe]:ie[ue]=oe,!de):((!ie[ue]||!utils$4.isObject(ie[ue]))&&(ie[ue]=[]),r(V,oe,ie[ue],le)&&utils$4.isArray(ie[ue])&&(ie[ue]=arrayToObject$1(ie[ue])),!de)}if(utils$4.isFormData(t)&&utils$4.isFunction(t.entries)){const V={};return utils$4.forEachEntry(t,(oe,ie)=>{r(parsePropPath(oe),ie,V,0)}),V}return null}function stringifySafely(t,r,V){if(utils$4.isString(t))try{return(r||JSON.parse)(t),utils$4.trim(t)}catch(oe){if(oe.name!=="SyntaxError")throw oe}return(V||JSON.stringify)(t)}const defaults$3={transitional:transitionalDefaults,adapter:platform$1.isNode?"http":"xhr",transformRequest:[function(r,V){const oe=V.getContentType()||"",ie=oe.indexOf("application/json")>-1,le=utils$4.isObject(r);if(le&&utils$4.isHTMLForm(r)&&(r=new FormData(r)),utils$4.isFormData(r))return ie&&ie?JSON.stringify(formDataToJSON(r)):r;if(utils$4.isArrayBuffer(r)||utils$4.isBuffer(r)||utils$4.isStream(r)||utils$4.isFile(r)||utils$4.isBlob(r))return r;if(utils$4.isArrayBufferView(r))return r.buffer;if(utils$4.isURLSearchParams(r))return V.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let de;if(le){if(oe.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(r,this.formSerializer).toString();if((de=utils$4.isFileList(r))||oe.indexOf("multipart/form-data")>-1){const pe=this.env&&this.env.FormData;return toFormData(de?{"files[]":r}:r,pe&&new pe,this.formSerializer)}}return le||ie?(V.setContentType("application/json",!1),stringifySafely(r)):r}],transformResponse:[function(r){const V=this.transitional||defaults$3.transitional,oe=V&&V.forcedJSONParsing,ie=this.responseType==="json";if(r&&utils$4.isString(r)&&(oe&&!this.responseType||ie)){const ue=!(V&&V.silentJSONParsing)&&ie;try{return JSON.parse(r)}catch(de){if(ue)throw de.name==="SyntaxError"?AxiosError.from(de,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):de}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$1.classes.FormData,Blob:platform$1.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$4.forEach(["delete","get","head","post","put","patch"],t=>{defaults$3.headers[t]={}});const defaults$4=defaults$3,ignoreDuplicateOf=utils$4.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=t=>{const r={};let V,oe,ie;return t&&t.split(`
|
||
`).forEach(function(ue){ie=ue.indexOf(":"),V=ue.substring(0,ie).trim().toLowerCase(),oe=ue.substring(ie+1).trim(),!(!V||r[V]&&ignoreDuplicateOf[V])&&(V==="set-cookie"?r[V]?r[V].push(oe):r[V]=[oe]:r[V]=r[V]?r[V]+", "+oe:oe)}),r},$internals=Symbol("internals");function normalizeHeader(t){return t&&String(t).trim().toLowerCase()}function normalizeValue(t){return t===!1||t==null?t:utils$4.isArray(t)?t.map(normalizeValue):String(t)}function parseTokens(t){const r=Object.create(null),V=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let oe;for(;oe=V.exec(t);)r[oe[1]]=oe[2];return r}const isValidHeaderName=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function matchHeaderValue(t,r,V,oe,ie){if(utils$4.isFunction(oe))return oe.call(this,r,V);if(ie&&(r=V),!!utils$4.isString(r)){if(utils$4.isString(oe))return r.indexOf(oe)!==-1;if(utils$4.isRegExp(oe))return oe.test(r)}}function formatHeader(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,V,oe)=>V.toUpperCase()+oe)}function buildAccessors(t,r){const V=utils$4.toCamelCase(" "+r);["get","set","has"].forEach(oe=>{Object.defineProperty(t,oe+V,{value:function(ie,le,ue){return this[oe].call(this,r,ie,le,ue)},configurable:!0})})}class AxiosHeaders{constructor(r){r&&this.set(r)}set(r,V,oe){const ie=this;function le(de,pe,he){const _e=normalizeHeader(pe);if(!_e)throw new Error("header name must be a non-empty string");const $e=utils$4.findKey(ie,_e);(!$e||ie[$e]===void 0||he===!0||he===void 0&&ie[$e]!==!1)&&(ie[$e||pe]=normalizeValue(de))}const ue=(de,pe)=>utils$4.forEach(de,(he,_e)=>le(he,_e,pe));return utils$4.isPlainObject(r)||r instanceof this.constructor?ue(r,V):utils$4.isString(r)&&(r=r.trim())&&!isValidHeaderName(r)?ue(parseHeaders(r),V):r!=null&&le(V,r,oe),this}get(r,V){if(r=normalizeHeader(r),r){const oe=utils$4.findKey(this,r);if(oe){const ie=this[oe];if(!V)return ie;if(V===!0)return parseTokens(ie);if(utils$4.isFunction(V))return V.call(this,ie,oe);if(utils$4.isRegExp(V))return V.exec(ie);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,V){if(r=normalizeHeader(r),r){const oe=utils$4.findKey(this,r);return!!(oe&&this[oe]!==void 0&&(!V||matchHeaderValue(this,this[oe],oe,V)))}return!1}delete(r,V){const oe=this;let ie=!1;function le(ue){if(ue=normalizeHeader(ue),ue){const de=utils$4.findKey(oe,ue);de&&(!V||matchHeaderValue(oe,oe[de],de,V))&&(delete oe[de],ie=!0)}}return utils$4.isArray(r)?r.forEach(le):le(r),ie}clear(r){const V=Object.keys(this);let oe=V.length,ie=!1;for(;oe--;){const le=V[oe];(!r||matchHeaderValue(this,this[le],le,r,!0))&&(delete this[le],ie=!0)}return ie}normalize(r){const V=this,oe={};return utils$4.forEach(this,(ie,le)=>{const ue=utils$4.findKey(oe,le);if(ue){V[ue]=normalizeValue(ie),delete V[le];return}const de=r?formatHeader(le):String(le).trim();de!==le&&delete V[le],V[de]=normalizeValue(ie),oe[de]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const V=Object.create(null);return utils$4.forEach(this,(oe,ie)=>{oe!=null&&oe!==!1&&(V[ie]=r&&utils$4.isArray(oe)?oe.join(", "):oe)}),V}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,V])=>r+": "+V).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...V){const oe=new this(r);return V.forEach(ie=>oe.set(ie)),oe}static accessor(r){const oe=(this[$internals]=this[$internals]={accessors:{}}).accessors,ie=this.prototype;function le(ue){const de=normalizeHeader(ue);oe[de]||(buildAccessors(ie,ue),oe[de]=!0)}return utils$4.isArray(r)?r.forEach(le):le(r),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$4.reduceDescriptors(AxiosHeaders.prototype,({value:t},r)=>{let V=r[0].toUpperCase()+r.slice(1);return{get:()=>t,set(oe){this[V]=oe}}});utils$4.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(t,r){const V=this||defaults$4,oe=r||V,ie=AxiosHeaders$1.from(oe.headers);let le=oe.data;return utils$4.forEach(t,function(de){le=de.call(V,le,ie.normalize(),r?r.status:void 0)}),ie.normalize(),le}function isCancel(t){return!!(t&&t.__CANCEL__)}function CanceledError(t,r,V){AxiosError.call(this,t??"canceled",AxiosError.ERR_CANCELED,r,V),this.name="CanceledError"}utils$4.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(t,r,V){const oe=V.config.validateStatus;!V.status||!oe||oe(V.status)?t(V):r(new AxiosError("Request failed with status code "+V.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(V.status/100)-4],V.config,V.request,V))}const cookies=platform$1.isStandardBrowserEnv?function(){return{write:function(V,oe,ie,le,ue,de){const pe=[];pe.push(V+"="+encodeURIComponent(oe)),utils$4.isNumber(ie)&&pe.push("expires="+new Date(ie).toGMTString()),utils$4.isString(le)&&pe.push("path="+le),utils$4.isString(ue)&&pe.push("domain="+ue),de===!0&&pe.push("secure"),document.cookie=pe.join("; ")},read:function(V){const oe=document.cookie.match(new RegExp("(^|;\\s*)("+V+")=([^;]*)"));return oe?decodeURIComponent(oe[3]):null},remove:function(V){this.write(V,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function isAbsoluteURL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function combineURLs(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}function buildFullPath(t,r){return t&&!isAbsoluteURL(r)?combineURLs(t,r):r}const isURLSameOrigin=platform$1.isStandardBrowserEnv?function(){const r=/(msie|trident)/i.test(navigator.userAgent),V=document.createElement("a");let oe;function ie(le){let ue=le;return r&&(V.setAttribute("href",ue),ue=V.href),V.setAttribute("href",ue),{href:V.href,protocol:V.protocol?V.protocol.replace(/:$/,""):"",host:V.host,search:V.search?V.search.replace(/^\?/,""):"",hash:V.hash?V.hash.replace(/^#/,""):"",hostname:V.hostname,port:V.port,pathname:V.pathname.charAt(0)==="/"?V.pathname:"/"+V.pathname}}return oe=ie(window.location.href),function(ue){const de=utils$4.isString(ue)?ie(ue):ue;return de.protocol===oe.protocol&&de.host===oe.host}}():function(){return function(){return!0}}();function parseProtocol(t){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}function speedometer(t,r){t=t||10;const V=new Array(t),oe=new Array(t);let ie=0,le=0,ue;return r=r!==void 0?r:1e3,function(pe){const he=Date.now(),_e=oe[le];ue||(ue=he),V[ie]=pe,oe[ie]=he;let $e=le,Ie=0;for(;$e!==ie;)Ie+=V[$e++],$e=$e%t;if(ie=(ie+1)%t,ie===le&&(le=(le+1)%t),he-ue<r)return;const Ve=_e&&he-_e;return Ve?Math.round(Ie*1e3/Ve):void 0}}function progressEventReducer(t,r){let V=0;const oe=speedometer(50,250);return ie=>{const le=ie.loaded,ue=ie.lengthComputable?ie.total:void 0,de=le-V,pe=oe(de),he=le<=ue;V=le;const _e={loaded:le,total:ue,progress:ue?le/ue:void 0,bytes:de,rate:pe||void 0,estimated:pe&&ue&&he?(ue-le)/pe:void 0,event:ie};_e[r?"download":"upload"]=!0,t(_e)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(t){return new Promise(function(V,oe){let ie=t.data;const le=AxiosHeaders$1.from(t.headers).normalize(),ue=t.responseType;let de;function pe(){t.cancelToken&&t.cancelToken.unsubscribe(de),t.signal&&t.signal.removeEventListener("abort",de)}utils$4.isFormData(ie)&&(platform$1.isStandardBrowserEnv||platform$1.isStandardBrowserWebWorkerEnv?le.setContentType(!1):le.setContentType("multipart/form-data;",!1));let he=new XMLHttpRequest;if(t.auth){const Ve=t.auth.username||"",Fe=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";le.set("Authorization","Basic "+btoa(Ve+":"+Fe))}const _e=buildFullPath(t.baseURL,t.url);he.open(t.method.toUpperCase(),buildURL(_e,t.params,t.paramsSerializer),!0),he.timeout=t.timeout;function $e(){if(!he)return;const Ve=AxiosHeaders$1.from("getAllResponseHeaders"in he&&he.getAllResponseHeaders()),Ue={data:!ue||ue==="text"||ue==="json"?he.responseText:he.response,status:he.status,statusText:he.statusText,headers:Ve,config:t,request:he};settle(function(Et){V(Et),pe()},function(Et){oe(Et),pe()},Ue),he=null}if("onloadend"in he?he.onloadend=$e:he.onreadystatechange=function(){!he||he.readyState!==4||he.status===0&&!(he.responseURL&&he.responseURL.indexOf("file:")===0)||setTimeout($e)},he.onabort=function(){he&&(oe(new AxiosError("Request aborted",AxiosError.ECONNABORTED,t,he)),he=null)},he.onerror=function(){oe(new AxiosError("Network Error",AxiosError.ERR_NETWORK,t,he)),he=null},he.ontimeout=function(){let Fe=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const Ue=t.transitional||transitionalDefaults;t.timeoutErrorMessage&&(Fe=t.timeoutErrorMessage),oe(new AxiosError(Fe,Ue.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,t,he)),he=null},platform$1.isStandardBrowserEnv){const Ve=(t.withCredentials||isURLSameOrigin(_e))&&t.xsrfCookieName&&cookies.read(t.xsrfCookieName);Ve&&le.set(t.xsrfHeaderName,Ve)}ie===void 0&&le.setContentType(null),"setRequestHeader"in he&&utils$4.forEach(le.toJSON(),function(Fe,Ue){he.setRequestHeader(Ue,Fe)}),utils$4.isUndefined(t.withCredentials)||(he.withCredentials=!!t.withCredentials),ue&&ue!=="json"&&(he.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&he.addEventListener("progress",progressEventReducer(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&he.upload&&he.upload.addEventListener("progress",progressEventReducer(t.onUploadProgress)),(t.cancelToken||t.signal)&&(de=Ve=>{he&&(oe(!Ve||Ve.type?new CanceledError(null,t,he):Ve),he.abort(),he=null)},t.cancelToken&&t.cancelToken.subscribe(de),t.signal&&(t.signal.aborted?de():t.signal.addEventListener("abort",de)));const Ie=parseProtocol(_e);if(Ie&&platform$1.protocols.indexOf(Ie)===-1){oe(new AxiosError("Unsupported protocol "+Ie+":",AxiosError.ERR_BAD_REQUEST,t));return}he.send(ie||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils$4.forEach(knownAdapters,(t,r)=>{if(t){try{Object.defineProperty(t,"name",{value:r})}catch{}Object.defineProperty(t,"adapterName",{value:r})}});const adapters={getAdapter:t=>{t=utils$4.isArray(t)?t:[t];const{length:r}=t;let V,oe;for(let ie=0;ie<r&&(V=t[ie],!(oe=utils$4.isString(V)?knownAdapters[V.toLowerCase()]:V));ie++);if(!oe)throw oe===!1?new AxiosError(`Adapter ${V} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(utils$4.hasOwnProp(knownAdapters,V)?`Adapter '${V}' is not available in the build`:`Unknown adapter '${V}'`);if(!utils$4.isFunction(oe))throw new TypeError("adapter is not a function");return oe},adapters:knownAdapters};function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new CanceledError(null,t)}function dispatchRequest(t){return throwIfCancellationRequested(t),t.headers=AxiosHeaders$1.from(t.headers),t.data=transformData.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(t.adapter||defaults$4.adapter)(t).then(function(oe){return throwIfCancellationRequested(t),oe.data=transformData.call(t,t.transformResponse,oe),oe.headers=AxiosHeaders$1.from(oe.headers),oe},function(oe){return isCancel(oe)||(throwIfCancellationRequested(t),oe&&oe.response&&(oe.response.data=transformData.call(t,t.transformResponse,oe.response),oe.response.headers=AxiosHeaders$1.from(oe.response.headers))),Promise.reject(oe)})}const headersToObject=t=>t instanceof AxiosHeaders$1?t.toJSON():t;function mergeConfig(t,r){r=r||{};const V={};function oe(he,_e,$e){return utils$4.isPlainObject(he)&&utils$4.isPlainObject(_e)?utils$4.merge.call({caseless:$e},he,_e):utils$4.isPlainObject(_e)?utils$4.merge({},_e):utils$4.isArray(_e)?_e.slice():_e}function ie(he,_e,$e){if(utils$4.isUndefined(_e)){if(!utils$4.isUndefined(he))return oe(void 0,he,$e)}else return oe(he,_e,$e)}function le(he,_e){if(!utils$4.isUndefined(_e))return oe(void 0,_e)}function ue(he,_e){if(utils$4.isUndefined(_e)){if(!utils$4.isUndefined(he))return oe(void 0,he)}else return oe(void 0,_e)}function de(he,_e,$e){if($e in r)return oe(he,_e);if($e in t)return oe(void 0,he)}const pe={url:le,method:le,data:le,baseURL:ue,transformRequest:ue,transformResponse:ue,paramsSerializer:ue,timeout:ue,timeoutMessage:ue,withCredentials:ue,adapter:ue,responseType:ue,xsrfCookieName:ue,xsrfHeaderName:ue,onUploadProgress:ue,onDownloadProgress:ue,decompress:ue,maxContentLength:ue,maxBodyLength:ue,beforeRedirect:ue,transport:ue,httpAgent:ue,httpsAgent:ue,cancelToken:ue,socketPath:ue,responseEncoding:ue,validateStatus:de,headers:(he,_e)=>ie(headersToObject(he),headersToObject(_e),!0)};return utils$4.forEach(Object.keys(Object.assign({},t,r)),function(_e){const $e=pe[_e]||ie,Ie=$e(t[_e],r[_e],_e);utils$4.isUndefined(Ie)&&$e!==de||(V[_e]=Ie)}),V}const VERSION="1.5.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{validators$1[t]=function(oe){return typeof oe===t||"a"+(r<1?"n ":" ")+t}});const deprecatedWarnings={};validators$1.transitional=function(r,V,oe){function ie(le,ue){return"[Axios v"+VERSION+"] Transitional option '"+le+"'"+ue+(oe?". "+oe:"")}return(le,ue,de)=>{if(r===!1)throw new AxiosError(ie(ue," has been removed"+(V?" in "+V:"")),AxiosError.ERR_DEPRECATED);return V&&!deprecatedWarnings[ue]&&(deprecatedWarnings[ue]=!0,console.warn(ie(ue," has been deprecated since v"+V+" and will be removed in the near future"))),r?r(le,ue,de):!0}};function assertOptions(t,r,V){if(typeof t!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const oe=Object.keys(t);let ie=oe.length;for(;ie-- >0;){const le=oe[ie],ue=r[le];if(ue){const de=t[le],pe=de===void 0||ue(de,le,t);if(pe!==!0)throw new AxiosError("option "+le+" must be "+pe,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(V!==!0)throw new AxiosError("Unknown option "+le,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(r){this.defaults=r,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}request(r,V){typeof r=="string"?(V=V||{},V.url=r):V=r||{},V=mergeConfig(this.defaults,V);const{transitional:oe,paramsSerializer:ie,headers:le}=V;oe!==void 0&&validator.assertOptions(oe,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),ie!=null&&(utils$4.isFunction(ie)?V.paramsSerializer={serialize:ie}:validator.assertOptions(ie,{encode:validators.function,serialize:validators.function},!0)),V.method=(V.method||this.defaults.method||"get").toLowerCase();let ue=le&&utils$4.merge(le.common,le[V.method]);le&&utils$4.forEach(["delete","get","head","post","put","patch","common"],Fe=>{delete le[Fe]}),V.headers=AxiosHeaders$1.concat(ue,le);const de=[];let pe=!0;this.interceptors.request.forEach(function(Ue){typeof Ue.runWhen=="function"&&Ue.runWhen(V)===!1||(pe=pe&&Ue.synchronous,de.unshift(Ue.fulfilled,Ue.rejected))});const he=[];this.interceptors.response.forEach(function(Ue){he.push(Ue.fulfilled,Ue.rejected)});let _e,$e=0,Ie;if(!pe){const Fe=[dispatchRequest.bind(this),void 0];for(Fe.unshift.apply(Fe,de),Fe.push.apply(Fe,he),Ie=Fe.length,_e=Promise.resolve(V);$e<Ie;)_e=_e.then(Fe[$e++],Fe[$e++]);return _e}Ie=de.length;let Ve=V;for($e=0;$e<Ie;){const Fe=de[$e++],Ue=de[$e++];try{Ve=Fe(Ve)}catch(qe){Ue.call(this,qe);break}}try{_e=dispatchRequest.call(this,Ve)}catch(Fe){return Promise.reject(Fe)}for($e=0,Ie=he.length;$e<Ie;)_e=_e.then(he[$e++],he[$e++]);return _e}getUri(r){r=mergeConfig(this.defaults,r);const V=buildFullPath(r.baseURL,r.url);return buildURL(V,r.params,r.paramsSerializer)}}utils$4.forEach(["delete","get","head","options"],function(r){Axios.prototype[r]=function(V,oe){return this.request(mergeConfig(oe||{},{method:r,url:V,data:(oe||{}).data}))}});utils$4.forEach(["post","put","patch"],function(r){function V(oe){return function(le,ue,de){return this.request(mergeConfig(de||{},{method:r,headers:oe?{"Content-Type":"multipart/form-data"}:{},url:le,data:ue}))}}Axios.prototype[r]=V(),Axios.prototype[r+"Form"]=V(!0)});const Axios$1=Axios;class CancelToken{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let V;this.promise=new Promise(function(le){V=le});const oe=this;this.promise.then(ie=>{if(!oe._listeners)return;let le=oe._listeners.length;for(;le-- >0;)oe._listeners[le](ie);oe._listeners=null}),this.promise.then=ie=>{let le;const ue=new Promise(de=>{oe.subscribe(de),le=de}).then(ie);return ue.cancel=function(){oe.unsubscribe(le)},ue},r(function(le,ue,de){oe.reason||(oe.reason=new CanceledError(le,ue,de),V(oe.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const V=this._listeners.indexOf(r);V!==-1&&this._listeners.splice(V,1)}static source(){let r;return{token:new CancelToken(function(ie){r=ie}),cancel:r}}}const CancelToken$1=CancelToken;function spread(t){return function(V){return t.apply(null,V)}}function isAxiosError(t){return utils$4.isObject(t)&&t.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([t,r])=>{HttpStatusCode[r]=t});const HttpStatusCode$1=HttpStatusCode;function createInstance(t){const r=new Axios$1(t),V=bind$4(Axios$1.prototype.request,r);return utils$4.extend(V,Axios$1.prototype,r,{allOwnKeys:!0}),utils$4.extend(V,r,null,{allOwnKeys:!0}),V.create=function(ie){return createInstance(mergeConfig(t,ie))},V}const axios=createInstance(defaults$4);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(r){return Promise.all(r)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=t=>formDataToJSON(utils$4.isHTMLForm(t)?new FormData(t):t);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;const axios$1=axios;let config={};const{VITE_PUBLIC_PATH}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},setConfig=t=>{config=Object.assign(config,t)},getConfig=t=>{if(typeof t=="string"){const r=t.split(".");if(r&&r.length){let V=config;return r.forEach(oe=>{V&&typeof V[oe]<"u"?V=V[oe]:V=null}),V}}return config},getServerConfig=async t=>(t.config.globalProperties.$config=getConfig(),axios$1({method:"get",url:`${VITE_PUBLIC_PATH}serverConfig.json`}).then(({data:r})=>{let V=t.config.globalProperties.$config;return t&&V&&typeof r=="object"&&(V=Object.assign(V,r),t.config.globalProperties.$config=V,setConfig(V)),V}).catch(()=>{throw"请在public文件夹下添加serverConfig.json配置文件"})),responsiveStorageNameSpace=()=>getConfig().ResponsiveStorageNameSpace;function siphonI18n(t="zh-CN"){return Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yaml":__vite_glob_0_0$2,"../../locales/zh-CN.yaml":__vite_glob_0_1$2})).map(([r,V])=>[r.match(/([A-Za-z0-9-_]+)\./i)[1],V.default]))[t]}const localesConfigs={zh:{...siphonI18n("zh-CN"),...zhCn},en:{...siphonI18n("en"),...en$1}};function getObjectKeys(t){const r=[],V=[];for(r.push({obj:t,key:""});r.length>0;){const{obj:oe,key:ie}=r.pop();for(const le in oe){const ue=ie?`${ie}.${le}`:le;oe[le]&&k(oe[le])?r.push({obj:oe[le],key:ue}):V.push(ue)}}return V}function transformI18n(t=""){var V;if(!t)return"";if(typeof t=="object"){const oe=i18n.global.locale;return t[oe==null?void 0:oe.value]}const r=(V=t.match(/(\S*)\./))==null?void 0:V.input;return r&&getObjectKeys(siphonI18n("zh-CN")).find(oe=>oe===r)||!r&&Object.keys(siphonI18n("zh-CN")).includes(t)?i18n.global.t.call(i18n.global.locale,t):t}const $t=t=>t;var ra;const i18n=createI18n({legacy:!1,locale:((ra=nr().getItem(`${responsiveStorageNameSpace()}locale`))==null?void 0:ra.locale)??"zh",fallbackLocale:"en",messages:localesConfigs});function useI18n(t){t.use(i18n)}const home$1=0,doc=1,utils$3=2,table$1=3,components$1=4,able$1=5,frame$1=6,nested$1=7,result$1=8,error$1=9,list$2=10,permission=11,system$1=12,tabs=13,formdesign$1=14,flowchart$1=15,ppt$1=16,editor$1=17,guide$1=18,menuoverflow$1=19,about$1=20,able={path:"/able",redirect:"/able/watermark",meta:{icon:"ubuntuFill",title:$t("menus.hsAble"),rank:able$1},children:[{path:"/able/videoFrame",name:"VideoFrame",component:()=>__vitePreload(()=>import("./index2.js"),["static/js/index2.js","static/js/mitt.js","static/css/index2.css"]),meta:{title:$t("menus.hsVideoFrame"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/wavesurfer",name:"Wavesurfer",component:()=>__vitePreload(()=>import("./index3.js"),["static/js/index3.js","static/js/vue-tippy.esm-browser.js","static/css/index3.css"]),meta:{title:$t("menus.hsWavesurfer"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/directives",name:"Directives",component:()=>__vitePreload(()=>import("./directives.js"),[]),meta:{title:$t("menus.hsOptimize")}},{path:"/able/watermark",name:"WaterMark",component:()=>__vitePreload(()=>import("./watermark.js"),[]),meta:{title:$t("menus.hsWatermark")}},{path:"/able/print",name:"Print",component:()=>__vitePreload(()=>import("./print.js"),["static/js/print.js","static/js/print2.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/app.js","static/css/print.css"]),meta:{title:$t("menus.hsPrint")}},{path:"/able/download",name:"Download",component:()=>__vitePreload(()=>import("./download.js"),[]),meta:{title:$t("menus.hsDownload")}},{path:"/able/iconSelect",name:"IconSelect",component:()=>__vitePreload(()=>import("./icon-select.js"),["static/js/icon-select.js","static/css/icon-select.css"]),meta:{title:$t("menus.hsIconSelect")}},{path:"/able/timeline",name:"TimeLine",component:()=>__vitePreload(()=>import("./timeline.js"),["static/js/timeline.js","static/js/index60.js","static/css/index12.css","static/js/hooks.js","static/js/iphone.js","static/css/timeline.css"]),meta:{title:$t("menus.hsTimeline")}},{path:"/able/menuTree",name:"MenuTree",component:()=>__vitePreload(()=>import("./menu-tree.js"),["static/js/menu-tree.js","static/js/hooks.js"]),meta:{title:$t("menus.hsMenuTree")}},{path:"/able/lineTree",name:"LineTree",component:()=>__vitePreload(()=>import("./line-tree.js"),["static/js/line-tree.js","static/css/line-tree.css"]),meta:{title:$t("menus.hsLineTree")}},{path:"/able/debounce",name:"Debounce",component:()=>__vitePreload(()=>import("./debounce.js"),[]),meta:{title:$t("menus.hsDebounce")}},{path:"/able/barcode",name:"BarCode",component:()=>__vitePreload(()=>import("./barcode.js"),[]),meta:{title:$t("menus.hsBarcode")}},{path:"/able/qrcode",name:"QrCode",component:()=>__vitePreload(()=>import("./qrcode.js"),["static/js/qrcode.js","static/js/index61.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css"]),meta:{title:$t("menus.hsQrcode")}},{path:"/able/cascader",name:"Cascader",component:()=>__vitePreload(()=>import("./cascader.js"),["static/js/cascader.js","static/css/cascader.css"]),meta:{title:$t("menus.hsCascader")}},{path:"/able/swiper",name:"Swiper",component:()=>__vitePreload(()=>import("./swiper.js"),["static/js/swiper.js","static/css/swiper.css"]),meta:{title:$t("menus.hsSwiper")}},{path:"/able/virtualList",name:"VirtualList",component:()=>__vitePreload(()=>import("./index4.js"),["static/js/index4.js","static/js/vertical.js","static/js/vue-virtual-scroller.esm.js","static/css/vertical.css","static/js/horizontal.js","static/css/horizontal.css","static/css/index4.css"]),meta:{title:$t("menus.hsVirtualList")}},{path:"/able/pdf",name:"Pdf",component:()=>__vitePreload(()=>import("./pdf.js"),["static/js/pdf.js","static/js/vue.runtime.esm-bundler.js"]),meta:{title:$t("menus.hsPdf")}},{path:"/able/excel",name:"Excel",component:()=>__vitePreload(()=>import("./excel.js"),["static/js/excel.js","static/js/xlsx.js"]),meta:{title:$t("menus.hsExcel")}},{path:"/able/infiniteScroll",name:"InfiniteScroll",component:()=>__vitePreload(()=>import("./infinite-scroll.js"),[]),meta:{title:$t("menus.hsInfiniteScroll")}},{path:"/able/sensitive",name:"Sensitive",component:()=>__vitePreload(()=>import("./sensitive.js"),[]),meta:{title:$t("menus.hsSensitive"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/pinyin",name:"Pinyin",component:()=>__vitePreload(()=>import("./pinyin.js"),["static/js/pinyin.js","static/js/index62.js","static/css/pinyin.css"]),meta:{title:$t("menus.hsPinyin"),extraIcon:"IF-pure-iconfont-new svg"}}]},__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:able},Symbol.toStringTag,{value:"Module"})),about={path:"/about",redirect:"/about/index",meta:{title:$t("menus.hsAbout"),rank:about$1},children:[{path:"/about/index",name:"About",component:()=>__vitePreload(()=>import("./index5.js"),["static/js/index5.js","static/js/columns.js","static/css/index5.css"]),meta:{title:$t("menus.hsAbout")}}]},__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:about},Symbol.toStringTag,{value:"Module"})),components={path:"/components",redirect:"/components/dialog",meta:{icon:"menu",title:$t("menus.hscomponents"),rank:components$1},children:[{path:"/components/dialog",name:"DialogPage",component:()=>__vitePreload(()=>import("./index6.js"),["static/js/index6.js","static/js/form.vue_vue_type_script_setup_true_lang.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang.js"]),meta:{title:$t("menus.hsdialog"),extraIcon:"IF-pure-iconfont-new svg",transition:{enterTransition:"animate__fadeInLeft",leaveTransition:"animate__fadeOutRight"}}},{path:"/components/message",name:"Message",component:()=>__vitePreload(()=>import("./index7.js"),["static/js/index7.js","static/js/hooks.js","static/js/check.js"]),meta:{title:$t("menus.hsmessage")}},{path:"/components/segmented",name:"Segmented",component:()=>__vitePreload(()=>import("./index8.js"),["static/js/index8.js","static/js/home-filled.js","static/js/hooks.js","static/css/index6.css"]),meta:{title:$t("menus.hssegmented"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/waterfall",name:"Waterfall",component:()=>__vitePreload(()=>import("./index9.js"),["static/js/index9.js","static/js/back_top.js","static/css/index7.css"]),meta:{title:$t("menus.hswaterfall"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/video",name:"VideoPage",component:()=>__vitePreload(()=>import("./index10.js"),["static/js/index10.js","static/js/hooks.js","static/css/index8.css"]),meta:{title:$t("menus.hsvideo")}},{path:"/components/map",name:"MapPage",component:()=>__vitePreload(()=>import("./index11.js"),["static/js/index11.js","static/css/index9.css"]),meta:{title:$t("menus.hsmap"),keepAlive:!0,transition:{name:"fade"}}},{path:"/components/draggable",name:"Draggable",component:()=>__vitePreload(()=>import("./index12.js"),["static/js/index12.js","static/js/sortable.esm.js","static/js/app.js","static/js/hooks.js","static/css/index10.css"]),meta:{title:$t("menus.hsdraggable"),transition:{enterTransition:"animate__zoomIn",leaveTransition:"animate__zoomOut"}}},{path:"/components/splitPane",name:"SplitPane",component:()=>__vitePreload(()=>import("./index13.js"),["static/js/index13.js","static/css/index11.css"]),meta:{title:$t("menus.hssplitPane")}},{path:"/components/button",name:"ButtonPage",component:()=>__vitePreload(()=>import("./index14.js"),[]),meta:{title:$t("menus.hsbutton")}},{path:"/components/cropping",name:"Cropping",component:()=>__vitePreload(()=>import("./index15.js"),["static/js/index15.js","static/js/index63.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css"]),meta:{title:$t("menus.hscropping")}},{path:"/components/countTo",name:"CountTo",component:()=>__vitePreload(()=>import("./index16.js"),["static/js/index16.js","static/js/propTypes.js","static/css/index15.css"]),meta:{title:$t("menus.hscountTo")}},{path:"/components/selector",name:"Selector",component:()=>__vitePreload(()=>import("./index17.js"),["static/js/index17.js","static/css/index16.css"]),meta:{title:$t("menus.hsselector")}},{path:"/components/seamlessScroll",name:"SeamlessScroll",component:()=>__vitePreload(()=>import("./index18.js"),["static/js/index18.js","static/css/index17.css"]),meta:{title:$t("menus.hsseamless")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>__vitePreload(()=>import("./index19.js"),["static/js/index19.js","static/js/basic.js","static/js/index.esm.js","static/css/basic.css","static/js/menuGroup.js","static/css/menuGroup.css","static/js/menuDynamic.js","static/css/menuDynamic.css","static/css/index18.css"]),meta:{title:$t("menus.hscontextmenu")}},{path:"/components/typeit",name:"Typeit",component:()=>__vitePreload(()=>import("./index20.js"),["static/js/index20.js","static/js/index64.js"]),meta:{title:$t("menus.hstypeit")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>__vitePreload(()=>import("./index21.js"),["static/js/index21.js","static/js/styles.js","static/js/vue.runtime.esm-bundler.js","static/css/styles.css"]),meta:{title:$t("menus.hsjsoneditor")}},{path:"/components/danmaku",name:"Danmaku",component:()=>__vitePreload(()=>import("./index22.js"),["static/js/index22.js","static/css/index19.css"]),meta:{title:$t("menus.hsdanmaku")}}]},__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:components},Symbol.toStringTag,{value:"Module"})),editor={path:"/editor",redirect:"/editor/index",meta:{icon:"edit",title:$t("menus.hseditor"),rank:editor$1},children:[{path:"/editor/index",name:"Editor",component:()=>__vitePreload(()=>import("./index23.js"),["static/js/index23.js","static/js/base.vue_vue_type_script_setup_true_lang.js","static/js/index.esm2.js","static/css/index21.css","static/js/multi.vue_vue_type_script_setup_true_lang.js","static/js/index65.js","static/js/picUpload.vue_vue_type_script_setup_true_lang.js","static/css/index20.css"]),meta:{title:$t("menus.hseditor"),keepAlive:!0}}]},__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:editor},Symbol.toStringTag,{value:"Module"})),error={path:"/error",redirect:"/error/403",meta:{icon:"informationLine",title:$t("menus.hsabnormal"),rank:error$1},children:[{path:"/error/403",name:"403",component:()=>__vitePreload(()=>import("./403.js"),[]),meta:{title:$t("menus.hsfourZeroOne")}},{path:"/error/404",name:"404",component:()=>__vitePreload(()=>import("./404.js"),[]),meta:{title:$t("menus.hsfourZeroFour")}},{path:"/error/500",name:"500",component:()=>__vitePreload(()=>import("./500.js"),[]),meta:{title:$t("menus.hsFive")}}]},__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:error},Symbol.toStringTag,{value:"Module"})),flowchart={path:"/flowChart",redirect:"/flowChart/index",meta:{icon:"setUp",title:$t("menus.hsflowChart"),rank:flowchart$1},children:[{path:"/flowChart/index",name:"FlowChart",component:()=>__vitePreload(()=>import("./index24.js"),["static/js/index24.js","static/js/hooks.js","static/js/styles.js","static/js/vue.runtime.esm-bundler.js","static/css/styles.css","static/js/set-up.js","static/css/index22.css"]),meta:{title:$t("menus.hsflowChart")}}]},__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:flowchart},Symbol.toStringTag,{value:"Module"})),IFrame$4=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),formdesign={path:"/formDesign",redirect:"/formDesign/index",meta:{icon:"terminalWindowLine",title:$t("menus.hsFormDesign"),rank:formdesign$1},children:[{path:"/formDesign/index",name:"FormDesign",component:IFrame$4,meta:{title:$t("menus.hsFormDesign"),frameSrc:"https://haixin-fang.github.io/starfish-vue3-lowcode/playground/index.html#/"}}]},__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:formdesign},Symbol.toStringTag,{value:"Module"})),guide={path:"/guide",redirect:"/guide/index",meta:{icon:"guide",title:$t("menus.hsguide"),rank:guide$1},children:[{path:"/guide/index",name:"Guide",component:()=>__vitePreload(()=>import("./index25.js"),["static/js/index25.js","static/css/index23.css"]),meta:{title:$t("menus.hsguide")}}]},__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:guide},Symbol.toStringTag,{value:"Module"})),{VITE_HIDE_HOME:VITE_HIDE_HOME$2}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},Layout$1=()=>__vitePreload(()=>import("./index26.js"),["static/js/index26.js","static/js/menu.js","static/js/set-up.js","static/js/home-filled.js","static/js/admin-line.js","static/js/git-branch-line.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/index62.js","static/js/hooks.js","static/js/search.js","static/js/check.js","static/js/refresh-right.js","static/js/arrow-right-s-line.js","static/js/back_top.js","static/css/index24.css"]),home={path:"/",name:"Home",component:Layout$1,redirect:"/welcome",meta:{icon:"homeFilled",title:$t("menus.hshome"),rank:home$1},children:[{path:"/welcome",name:"Welcome",component:()=>__vitePreload(()=>import("./index27.js"),["static/js/index27.js","static/js/Bar.vue_vue_type_script_setup_true_lang.js","static/js/app.js","static/js/Pie.vue_vue_type_script_setup_true_lang.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/list3.js","static/js/index64.js","static/js/Github.vue_vue_type_script_setup_true_lang.js","static/js/columns17.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js","static/js/index60.js","static/css/index12.css","static/css/index25.css"]),meta:{title:$t("menus.hshome"),showLink:VITE_HIDE_HOME$2!=="true"}}]},__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:home},Symbol.toStringTag,{value:"Module"})),list$1={path:"/list",redirect:"/list/card",meta:{icon:"listCheck",title:$t("menus.hsList"),rank:list$2},children:[{path:"/list/card",name:"ListCard",component:()=>__vitePreload(()=>import("./index28.js"),["static/js/index28.js","static/js/Card.js","static/js/more-2-fill.js","static/css/Card.css","static/js/list3.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang.js","static/js/hooks.js","static/js/search.js","static/js/add-circle-line.js"]),meta:{icon:"card",title:$t("menus.hsListCard"),showParent:!0}}]},__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:list$1},Symbol.toStringTag,{value:"Module"})),menuoverflow={path:"/menuoverflow",redirect:"/menuoverflow/index",meta:{title:$t("menus.hsMenuoverflow"),rank:menuoverflow$1},children:[{path:"/menuoverflow/index",name:"MenuOverflow",component:()=>__vitePreload(()=>import("./index29.js"),[]),meta:{title:$t("menus.hsChildMenuoverflow"),showParent:!0}}]},__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:menuoverflow},Symbol.toStringTag,{value:"Module"})),nested={path:"/nested",redirect:"/nested/menu1/menu1-1",meta:{title:$t("menus.hsmenus"),icon:"histogram",rank:nested$1},children:[{path:"/nested/menu1",meta:{title:$t("menus.hsmenu1"),keepAlive:!0},redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>__vitePreload(()=>import("./index30.js"),[]),name:"Menu1-1",meta:{title:$t("menus.hsmenu1-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:$t("menus.hsmenu1-2"),keepAlive:!0},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>__vitePreload(()=>import("./index31.js"),[]),name:"Menu1-2-1",meta:{title:$t("menus.hsmenu1-2-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>__vitePreload(()=>import("./index32.js"),[]),name:"Menu1-2-2",meta:{title:$t("menus.hsmenu1-2-2"),keepAlive:!0,extraIcon:"IF-pure-iconfont-new svg"}}]},{path:"/nested/menu1/menu1-3",component:()=>__vitePreload(()=>import("./index33.js"),[]),name:"Menu1-3",meta:{title:$t("menus.hsmenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>__vitePreload(()=>import("./index34.js"),[]),meta:{title:$t("menus.hsmenu2"),keepAlive:!0}}]},__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:nested},Symbol.toStringTag,{value:"Module"})),IFrame$3=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),ppt={path:"/ppt",redirect:"/ppt/index",meta:{icon:"ppt",title:"PPT",rank:ppt$1},children:[{path:"/ppt/index",name:"FramePpt",component:IFrame$3,meta:{title:"PPT",frameSrc:"https://pipipi-pikachu.github.io/PPTist/",frameLoading:!1}}]},__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:ppt},Symbol.toStringTag,{value:"Module"})),_hoisted_1={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 1024"},_hoisted_2=createBaseVNode("path",{fill:"#FF5D50",d:"M428.698 107.315c-6.503 72.192-36.352 207.258-160.256 337.408 3.686-48.025-7.117-83.763-19.047-107.673-6.605-13.159-26.06-10.599-28.877 3.84-5.734 29.44-20.582 75.059-57.6 137.779-71.628 121.395-62.566 459.878 340.736 459.878S934.093 585.728 876.8 442.522c-37.376-93.44-93.952-152.525-128.82-182.324-11.417-9.779-29.132-1.945-29.593 13.056-.921 30.464-7.321 73.37-33.075 102.144-.666-52.787-38.144-208.384-202.445-296.857-23.296-12.544-51.763 2.457-54.17 28.774z"},null,-1),_hoisted_3=createBaseVNode("path",{fill:"#FFDF99",d:"M702.26 678.4c-4.2-45.056-60.673-166.554-212.634-246.426-10.599-5.58-23.092 3.124-21.504 15.002 6.246 46.848 12.953 140.493-24.064 184.73 4.044-40.397-18.125-73.83-36.66-94.31-8.396-9.217-23.552-4.66-25.497 7.68-3.533 22.322-12.851 56.268-36.557 97.945-42.086 74.035-86.989 188.672 124.57 294.656 10.956.563 22.17.87 33.74.87a617.97 617.97 0 0 0 32.717-.87C694.631 878.182 709.837 759.706 702.26 678.4z"},null,-1),_hoisted_4=[_hoisted_2,_hoisted_3];function render$3(t,r){return openBlock(),createElementBlock("svg",_hoisted_1,_hoisted_4)}const hot={render:render$3},IFrame$2=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),puredoc={path:"/pure-admin-doc",redirect:"/pure-admin-doc/index",meta:{icon:hot,title:"pure-admin-doc",rank:doc},children:[{path:"/pure-admin-doc/index",name:"FrameDoc",component:IFrame$2,meta:{title:"pure-admin-doc",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc/"}}]},__vite_glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,default:puredoc},Symbol.toStringTag,{value:"Module"})),IFrame$1=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),pureutils={path:"/pure-admin-utils",redirect:"/pure-admin-utils/index",meta:{icon:hot,title:"pure-admin-utils",rank:utils$3},children:[{path:"/pure-admin-utils/index",name:"FrameUtils",component:IFrame$1,meta:{title:"pure-admin-utils",frameSrc:"https://pure-admin-utils.netlify.app/"}}]},__vite_glob_0_14=Object.freeze(Object.defineProperty({__proto__:null,default:pureutils},Symbol.toStringTag,{value:"Module"})),result={path:"/result",redirect:"/result/success",meta:{icon:"checkboxCircleLine",title:$t("menus.hsResult"),rank:result$1},children:[{path:"/result/success",name:"Success",component:()=>__vitePreload(()=>import("./success.js"),["static/js/success.js","static/css/success.css"]),meta:{title:$t("menus.hsSuccess")}},{path:"/result/fail",name:"Fail",component:()=>__vitePreload(()=>import("./fail.js"),["static/js/fail.js","static/js/columns16.js","static/js/arrow-right-s-line.js","static/css/fail.css"]),meta:{title:$t("menus.hsFail")}}]},__vite_glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:result},Symbol.toStringTag,{value:"Module"})),table={path:"/pure-table",redirect:"/pure-table/index",meta:{icon:hot,title:"pure-admin-table",rank:table$1},children:[{path:"/pure-table/index",name:"PureTable",component:()=>__vitePreload(()=>import("./index35.js"),["static/js/index35.js","static/js/list.js","static/js/base.vue_vue_type_script_setup_true_lang2.js","static/js/data.js","static/js/stripe.vue_vue_type_script_setup_true_lang.js","static/js/border.vue_vue_type_script_setup_true_lang.js","static/js/status.vue_vue_type_style_index_0_lang.js","static/css/status.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang.js","static/js/radio.vue_vue_type_script_setup_true_lang.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang.js","static/js/sortable.vue_vue_type_script_setup_true_lang.js","static/js/filters.vue_vue_type_script_setup_true_lang.js","static/js/index.vue_vue_type_script_setup_true_lang.js","static/js/columns2.js","static/js/index.vue_vue_type_script_setup_true_lang2.js","static/js/columns3.js","static/js/expand.vue_vue_type_script_setup_true_lang.js","static/js/tree.vue_vue_type_script_setup_true_lang.js","static/js/totalRow.vue_vue_type_script_setup_true_lang.js","static/js/merge.vue_vue_type_script_setup_true_lang.js","static/js/customIndex.vue_vue_type_script_setup_true_lang.js","static/js/layout.vue_vue_type_script_setup_true_lang.js","static/js/nestProp.vue_vue_type_script_setup_true_lang.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang.js","static/css/index26.css"]),meta:{title:$t("menus.hsPureTableBase")}},{path:"/pure-table/high",name:"PureTableHigh",component:()=>__vitePreload(()=>import("./high.js"),["static/js/high.js","static/js/list2.js","static/js/index.vue_vue_type_script_setup_true_lang3.js","static/js/columns4.js","static/js/data2.js","static/js/index.vue_vue_type_script_setup_true_lang4.js","static/js/columns11.js","static/js/index.vue_vue_type_script_setup_true_lang5.js","static/js/columns7.js","static/js/sortable.esm.js","static/js/index.vue_vue_type_script_setup_true_lang6.js","static/js/columns6.js","static/js/index.vue_vue_type_script_setup_true_lang7.js","static/js/columns5.js","static/js/index.vue_vue_type_script_setup_true_lang8.js","static/js/columns10.js","static/js/xlsx.js","static/js/index.vue_vue_type_script_setup_true_lang9.js","static/js/columns9.js","static/js/edit-pen.js","static/js/check.js","static/js/index.vue_vue_type_script_setup_true_lang10.js","static/js/columns15.js","static/js/index.vue_vue_type_script_setup_true_lang11.js","static/js/columns12.js","static/js/print2.js","static/js/index.vue_vue_type_script_setup_true_lang12.js","static/js/columns8.js","static/js/index.vue_vue_type_script_setup_true_lang13.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js","static/css/high.css"]),meta:{title:$t("menus.hsPureTableHigh")}}]},__vite_glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,default:table},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.5 | MIT */function assign$3(t){for(var r=1;r<arguments.length;r++){var V=arguments[r];for(var oe in V)t[oe]=V[oe]}return t}var defaultConverter={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function init$2(t,r){function V(ie,le,ue){if(!(typeof document>"u")){ue=assign$3({},r,ue),typeof ue.expires=="number"&&(ue.expires=new Date(Date.now()+ue.expires*864e5)),ue.expires&&(ue.expires=ue.expires.toUTCString()),ie=encodeURIComponent(ie).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var de="";for(var pe in ue)ue[pe]&&(de+="; "+pe,ue[pe]!==!0&&(de+="="+ue[pe].split(";")[0]));return document.cookie=ie+"="+t.write(le,ie)+de}}function oe(ie){if(!(typeof document>"u"||arguments.length&&!ie)){for(var le=document.cookie?document.cookie.split("; "):[],ue={},de=0;de<le.length;de++){var pe=le[de].split("="),he=pe.slice(1).join("=");try{var _e=decodeURIComponent(pe[0]);if(ue[_e]=t.read(he,_e),ie===_e)break}catch{}}return ie?ue[ie]:ue}}return Object.create({set:V,get:oe,remove:function(ie,le){V(ie,"",assign$3({},le,{expires:-1}))},withAttributes:function(ie){return init$2(this.converter,assign$3({},this.attributes,ie))},withConverter:function(ie){return init$2(assign$3({},this.converter,ie),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}var api=init$2(defaultConverter,{path:"/"});/*!
|
||
* pinia v2.1.6
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let activePinia;const setActivePinia=t=>activePinia=t,piniaSymbol=Symbol();function isPlainObject(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var MutationType;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const t=effectScope(!0),r=t.run(()=>ref({}));let V=[],oe=[];const ie=markRaw({install(le){setActivePinia(ie),ie._a=le,le.provide(piniaSymbol,ie),le.config.globalProperties.$pinia=ie,oe.forEach(ue=>V.push(ue)),oe=[]},use(le){return!this._a&&!isVue2?oe.push(le):V.push(le),this},_p:V,_a:null,_e:t,_s:new Map,state:r});return ie}const noop$2=()=>{};function addSubscription(t,r,V,oe=noop$2){t.push(r);const ie=()=>{const le=t.indexOf(r);le>-1&&(t.splice(le,1),oe())};return!V&&getCurrentScope()&&onScopeDispose(ie),ie}function triggerSubscriptions(t,...r){t.slice().forEach(V=>{V(...r)})}const fallbackRunWithContext=t=>t();function mergeReactiveObjects(t,r){t instanceof Map&&r instanceof Map&&r.forEach((V,oe)=>t.set(oe,V)),t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const V in r){if(!r.hasOwnProperty(V))continue;const oe=r[V],ie=t[V];isPlainObject(ie)&&isPlainObject(oe)&&t.hasOwnProperty(V)&&!isRef(oe)&&!isReactive(oe)?t[V]=mergeReactiveObjects(ie,oe):t[V]=oe}return t}const skipHydrateSymbol=Symbol();function shouldHydrate(t){return!isPlainObject(t)||!t.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$2}=Object;function isComputed(t){return!!(isRef(t)&&t.effect)}function createOptionsStore(t,r,V,oe){const{state:ie,actions:le,getters:ue}=r,de=V.state.value[t];let pe;function he(){de||(V.state.value[t]=ie?ie():{});const _e=toRefs(V.state.value[t]);return assign$2(_e,le,Object.keys(ue||{}).reduce(($e,Ie)=>($e[Ie]=markRaw(computed(()=>{setActivePinia(V);const Ve=V._s.get(t);return ue[Ie].call(Ve,Ve)})),$e),{}))}return pe=createSetupStore(t,he,r,V,oe,!0),pe}function createSetupStore(t,r,V={},oe,ie,le){let ue;const de=assign$2({actions:{}},V),pe={deep:!0};let he,_e,$e=[],Ie=[],Ve;const Fe=oe.state.value[t];!le&&!Fe&&(oe.state.value[t]={}),ref({});let Ue;function qe(Cn){let Sn;he=_e=!1,typeof Cn=="function"?(Cn(oe.state.value[t]),Sn={type:MutationType.patchFunction,storeId:t,events:Ve}):(mergeReactiveObjects(oe.state.value[t],Cn),Sn={type:MutationType.patchObject,payload:Cn,storeId:t,events:Ve});const wn=Ue=Symbol();nextTick().then(()=>{Ue===wn&&(he=!0)}),_e=!0,triggerSubscriptions($e,Sn,oe.state.value[t])}const Et=le?function(){const{state:Sn}=V,wn=Sn?Sn():{};this.$patch(En=>{assign$2(En,wn)})}:noop$2;function At(){ue.stop(),$e=[],Ie=[],oe._s.delete(t)}function Lt(Cn,Sn){return function(){setActivePinia(oe);const wn=Array.from(arguments),En=[],xn=[];function Pn(Dn){En.push(Dn)}function kn(Dn){xn.push(Dn)}triggerSubscriptions(Ie,{args:wn,name:Cn,store:_n,after:Pn,onError:kn});let Nn;try{Nn=Sn.apply(this&&this.$id===t?this:_n,wn)}catch(Dn){throw triggerSubscriptions(xn,Dn),Dn}return Nn instanceof Promise?Nn.then(Dn=>(triggerSubscriptions(En,Dn),Dn)).catch(Dn=>(triggerSubscriptions(xn,Dn),Promise.reject(Dn))):(triggerSubscriptions(En,Nn),Nn)}}const hn={_p:oe,$id:t,$onAction:addSubscription.bind(null,Ie),$patch:qe,$reset:Et,$subscribe(Cn,Sn={}){const wn=addSubscription($e,Cn,Sn.detached,()=>En()),En=ue.run(()=>watch(()=>oe.state.value[t],xn=>{(Sn.flush==="sync"?_e:he)&&Cn({storeId:t,type:MutationType.direct,events:Ve},xn)},assign$2({},pe,Sn)));return wn},$dispose:At},_n=reactive(hn);oe._s.set(t,_n);const vn=oe._a&&oe._a.runWithContext||fallbackRunWithContext,bn=oe._e.run(()=>(ue=effectScope(),vn(()=>ue.run(r))));for(const Cn in bn){const Sn=bn[Cn];if(isRef(Sn)&&!isComputed(Sn)||isReactive(Sn))le||(Fe&&shouldHydrate(Sn)&&(isRef(Sn)?Sn.value=Fe[Cn]:mergeReactiveObjects(Sn,Fe[Cn])),oe.state.value[t][Cn]=Sn);else if(typeof Sn=="function"){const wn=Lt(Cn,Sn);bn[Cn]=wn,de.actions[Cn]=Sn}}return assign$2(_n,bn),assign$2(toRaw(_n),bn),Object.defineProperty(_n,"$state",{get:()=>oe.state.value[t],set:Cn=>{qe(Sn=>{assign$2(Sn,Cn)})}}),oe._p.forEach(Cn=>{assign$2(_n,ue.run(()=>Cn({store:_n,app:oe._a,pinia:oe,options:de})))}),Fe&&le&&V.hydrate&&V.hydrate(_n.$state,Fe),he=!0,_e=!0,_n}function defineStore(t,r,V){let oe,ie;const le=typeof r=="function";typeof t=="string"?(oe=t,ie=le?V:r):(ie=t,oe=t.id);function ue(de,pe){const he=hasInjectionContext();return de=de||(he?inject(piniaSymbol,null):null),de&&setActivePinia(de),de=activePinia,de._s.has(oe)||(le?createSetupStore(oe,r,ie,de):createOptionsStore(oe,ie,de)),de._s.get(oe)}return ue.$id=oe,ue}function storeToRefs(t){{t=toRaw(t);const r={};for(const V in t){const oe=t[V];(isRef(oe)||isReactive(oe))&&(r[V]=toRef(t,V))}return r}}const store=createPinia();function setupStore(t){t.use(store)}const{VITE_HIDE_HOME:VITE_HIDE_HOME$1}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},routerArrays=VITE_HIDE_HOME$1==="false"?[{path:"/welcome",meta:{title:"menus.hshome",icon:"homeFilled"}}]:[];var shams=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},V=Symbol("test"),oe=Object(V);if(typeof V=="string"||Object.prototype.toString.call(V)!=="[object Symbol]"||Object.prototype.toString.call(oe)!=="[object Symbol]")return!1;var ie=42;r[V]=ie;for(V in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var le=Object.getOwnPropertySymbols(r);if(le.length!==1||le[0]!==V||!Object.prototype.propertyIsEnumerable.call(r,V))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var ue=Object.getOwnPropertyDescriptor(r,V);if(ue.value!==ie||ue.enumerable!==!0)return!1}return!0},origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test$1={foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test$1}.foo===test$1.foo&&!({__proto__:null}instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice$1=Array.prototype.slice,toStr$1=Object.prototype.toString,funcType="[object Function]",implementation$1=function(r){var V=this;if(typeof V!="function"||toStr$1.call(V)!==funcType)throw new TypeError(ERROR_MESSAGE+V);for(var oe=slice$1.call(arguments,1),ie,le=function(){if(this instanceof ie){var _e=V.apply(this,oe.concat(slice$1.call(arguments)));return Object(_e)===_e?_e:this}else return V.apply(r,oe.concat(slice$1.call(arguments)))},ue=Math.max(0,V.length-oe.length),de=[],pe=0;pe<ue;pe++)de.push("$"+pe);if(ie=Function("binder","return function ("+de.join(",")+"){ return binder.apply(this,arguments); }")(le),V.prototype){var he=function(){};he.prototype=V.prototype,ie.prototype=new he,he.prototype=null}return ie},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,bind$3=functionBind,src=bind$3.call(Function.call,Object.prototype.hasOwnProperty),undefined$1,$SyntaxError=SyntaxError,$Function=Function,$TypeError$1=TypeError,getEvalledConstructor=function(t){try{return $Function('"use strict"; return ('+t+").constructor;")()}catch{}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch{$gOPD=null}var throwTypeError=function(){throw new $TypeError$1},ThrowTypeError=$gOPD?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD(arguments,"callee").get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=hasSymbols$1(),hasProto=hasProto$1(),getProto=Object.getPrototypeOf||(hasProto?function(t){return t.__proto__}:null),needsEval={},TypedArray=typeof Uint8Array>"u"||!getProto?undefined$1:getProto(Uint8Array),INTRINSICS={"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto?undefined$1:getProto(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto?undefined$1:getProto(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$1,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto)try{null.error}catch(t){var errorProto=getProto(getProto(t));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function t(r){var V;if(r==="%AsyncFunction%")V=getEvalledConstructor("async function () {}");else if(r==="%GeneratorFunction%")V=getEvalledConstructor("function* () {}");else if(r==="%AsyncGeneratorFunction%")V=getEvalledConstructor("async function* () {}");else if(r==="%AsyncGenerator%"){var oe=t("%AsyncGeneratorFunction%");oe&&(V=oe.prototype)}else if(r==="%AsyncIteratorPrototype%"){var ie=t("%AsyncGenerator%");ie&&getProto&&(V=getProto(ie.prototype))}return INTRINSICS[r]=V,V},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$2=functionBind,hasOwn$2=src,$concat$1=bind$2.call(Function.call,Array.prototype.concat),$spliceApply=bind$2.call(Function.apply,Array.prototype.splice),$replace$1=bind$2.call(Function.call,String.prototype.replace),$strSlice=bind$2.call(Function.call,String.prototype.slice),$exec=bind$2.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(r){var V=$strSlice(r,0,1),oe=$strSlice(r,-1);if(V==="%"&&oe!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if(oe==="%"&&V!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var ie=[];return $replace$1(r,rePropName,function(le,ue,de,pe){ie[ie.length]=de?$replace$1(pe,reEscapeChar,"$1"):ue||le}),ie},getBaseIntrinsic=function(r,V){var oe=r,ie;if(hasOwn$2(LEGACY_ALIASES,oe)&&(ie=LEGACY_ALIASES[oe],oe="%"+ie[0]+"%"),hasOwn$2(INTRINSICS,oe)){var le=INTRINSICS[oe];if(le===needsEval&&(le=doEval(oe)),typeof le>"u"&&!V)throw new $TypeError$1("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:ie,name:oe,value:le}}throw new $SyntaxError("intrinsic "+r+" does not exist!")},getIntrinsic=function(r,V){if(typeof r!="string"||r.length===0)throw new $TypeError$1("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof V!="boolean")throw new $TypeError$1('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,r)===null)throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var oe=stringToPath(r),ie=oe.length>0?oe[0]:"",le=getBaseIntrinsic("%"+ie+"%",V),ue=le.name,de=le.value,pe=!1,he=le.alias;he&&(ie=he[0],$spliceApply(oe,$concat$1([0,1],he)));for(var _e=1,$e=!0;_e<oe.length;_e+=1){var Ie=oe[_e],Ve=$strSlice(Ie,0,1),Fe=$strSlice(Ie,-1);if((Ve==='"'||Ve==="'"||Ve==="`"||Fe==='"'||Fe==="'"||Fe==="`")&&Ve!==Fe)throw new $SyntaxError("property names with quotes must have matching quotes");if((Ie==="constructor"||!$e)&&(pe=!0),ie+="."+Ie,ue="%"+ie+"%",hasOwn$2(INTRINSICS,ue))de=INTRINSICS[ue];else if(de!=null){if(!(Ie in de)){if(!V)throw new $TypeError$1("base intrinsic for "+r+" exists, but the property is not available.");return}if($gOPD&&_e+1>=oe.length){var Ue=$gOPD(de,Ie);$e=!!Ue,$e&&"get"in Ue&&!("originalValue"in Ue.get)?de=Ue.get:de=de[Ie]}else $e=hasOwn$2(de,Ie),de=de[Ie];$e&&!pe&&(INTRINSICS[ue]=de)}}return de},callBind$1={exports:{}};(function(t){var r=functionBind,V=getIntrinsic,oe=V("%Function.prototype.apply%"),ie=V("%Function.prototype.call%"),le=V("%Reflect.apply%",!0)||r.call(ie,oe),ue=V("%Object.getOwnPropertyDescriptor%",!0),de=V("%Object.defineProperty%",!0),pe=V("%Math.max%");if(de)try{de({},"a",{value:1})}catch{de=null}t.exports=function($e){var Ie=le(r,ie,arguments);if(ue&&de){var Ve=ue(Ie,"length");Ve.configurable&&de(Ie,"length",{value:1+pe(0,$e.length-(arguments.length-1))})}return Ie};var he=function(){return le(r,oe,arguments)};de?de(t.exports,"apply",{value:he}):t.exports.apply=he})(callBind$1);var callBindExports=callBind$1.exports,GetIntrinsic$1=getIntrinsic,callBind=callBindExports,$indexOf=callBind(GetIntrinsic$1("String.prototype.indexOf")),callBound$1=function(r,V){var oe=GetIntrinsic$1(r,!!V);return typeof oe=="function"&&$indexOf(r,".prototype.")>-1?callBind(oe):oe};const __viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(__viteBrowserExternal$1);var hasMap=typeof Map=="function"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get=="function"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set=="function"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get=="function"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap=="function"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet=="function"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef=="function"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt=="function"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol=="function"&&typeof Symbol.iterator=="object",toStringTag=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function addNumericSeparator(t,r){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||$test.call(/e/,r))return r;var V=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var oe=t<0?-$floor(-t):$floor(t);if(oe!==t){var ie=String(oe),le=$slice.call(r,ie.length+1);return $replace.call(ie,V,"$&_")+"."+$replace.call($replace.call(le,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(r,V,"$&_")}var utilInspect=require$$0,inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null,objectInspect=function t(r,V,oe,ie){var le=V||{};if(has$4(le,"quoteStyle")&&le.quoteStyle!=="single"&&le.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has$4(le,"maxStringLength")&&(typeof le.maxStringLength=="number"?le.maxStringLength<0&&le.maxStringLength!==1/0:le.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ue=has$4(le,"customInspect")?le.customInspect:!0;if(typeof ue!="boolean"&&ue!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has$4(le,"indent")&&le.indent!==null&&le.indent!==" "&&!(parseInt(le.indent,10)===le.indent&&le.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has$4(le,"numericSeparator")&&typeof le.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var de=le.numericSeparator;if(typeof r>"u")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return inspectString(r,le);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var pe=String(r);return de?addNumericSeparator(r,pe):pe}if(typeof r=="bigint"){var he=String(r)+"n";return de?addNumericSeparator(r,he):he}var _e=typeof le.depth>"u"?5:le.depth;if(typeof oe>"u"&&(oe=0),oe>=_e&&_e>0&&typeof r=="object")return isArray$7(r)?"[Array]":"[Object]";var $e=getIndent(le,oe);if(typeof ie>"u")ie=[];else if(indexOf$1(ie,r)>=0)return"[Circular]";function Ie(Pn,kn,Nn){if(kn&&(ie=$arrSlice.call(ie),ie.push(kn)),Nn){var Dn={depth:le.depth};return has$4(le,"quoteStyle")&&(Dn.quoteStyle=le.quoteStyle),t(Pn,Dn,oe+1,ie)}return t(Pn,le,oe+1,ie)}if(typeof r=="function"&&!isRegExp$2(r)){var Ve=nameOf(r),Fe=arrObjKeys(r,Ie);return"[Function"+(Ve?": "+Ve:" (anonymous)")+"]"+(Fe.length>0?" { "+$join.call(Fe,", ")+" }":"")}if(isSymbol(r)){var Ue=hasShammedSymbols?$replace.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(r);return typeof r=="object"&&!hasShammedSymbols?markBoxed(Ue):Ue}if(isElement(r)){for(var qe="<"+$toLowerCase.call(String(r.nodeName)),Et=r.attributes||[],At=0;At<Et.length;At++)qe+=" "+Et[At].name+"="+wrapQuotes(quote(Et[At].value),"double",le);return qe+=">",r.childNodes&&r.childNodes.length&&(qe+="..."),qe+="</"+$toLowerCase.call(String(r.nodeName))+">",qe}if(isArray$7(r)){if(r.length===0)return"[]";var Lt=arrObjKeys(r,Ie);return $e&&!singleLineValues(Lt)?"["+indentedJoin(Lt,$e)+"]":"[ "+$join.call(Lt,", ")+" ]"}if(isError(r)){var hn=arrObjKeys(r,Ie);return!("cause"in Error.prototype)&&"cause"in r&&!isEnumerable.call(r,"cause")?"{ ["+String(r)+"] "+$join.call($concat.call("[cause]: "+Ie(r.cause),hn),", ")+" }":hn.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+$join.call(hn,", ")+" }"}if(typeof r=="object"&&ue){if(inspectSymbol&&typeof r[inspectSymbol]=="function"&&utilInspect)return utilInspect(r,{depth:_e-oe});if(ue!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(isMap(r)){var _n=[];return mapForEach&&mapForEach.call(r,function(Pn,kn){_n.push(Ie(kn,r,!0)+" => "+Ie(Pn,r))}),collectionOf("Map",mapSize.call(r),_n,$e)}if(isSet(r)){var vn=[];return setForEach&&setForEach.call(r,function(Pn){vn.push(Ie(Pn,r))}),collectionOf("Set",setSize.call(r),vn,$e)}if(isWeakMap(r))return weakCollectionOf("WeakMap");if(isWeakSet(r))return weakCollectionOf("WeakSet");if(isWeakRef(r))return weakCollectionOf("WeakRef");if(isNumber$1(r))return markBoxed(Ie(Number(r)));if(isBigInt(r))return markBoxed(Ie(bigIntValueOf.call(r)));if(isBoolean(r))return markBoxed(booleanValueOf.call(r));if(isString$2(r))return markBoxed(Ie(String(r)));if(!isDate(r)&&!isRegExp$2(r)){var bn=arrObjKeys(r,Ie),Cn=gPO?gPO(r)===Object.prototype:r instanceof Object||r.constructor===Object,Sn=r instanceof Object?"":"null prototype",wn=!Cn&&toStringTag&&Object(r)===r&&toStringTag in r?$slice.call(toStr(r),8,-1):Sn?"Object":"",En=Cn||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",xn=En+(wn||Sn?"["+$join.call($concat.call([],wn||[],Sn||[]),": ")+"] ":"");return bn.length===0?xn+"{}":$e?xn+"{"+indentedJoin(bn,$e)+"}":xn+"{ "+$join.call(bn,", ")+" }"}return String(r)};function wrapQuotes(t,r,V){var oe=(V.quoteStyle||r)==="double"?'"':"'";return oe+t+oe}function quote(t){return $replace.call(String(t),/"/g,""")}function isArray$7(t){return toStr(t)==="[object Array]"&&(!toStringTag||!(typeof t=="object"&&toStringTag in t))}function isDate(t){return toStr(t)==="[object Date]"&&(!toStringTag||!(typeof t=="object"&&toStringTag in t))}function isRegExp$2(t){return toStr(t)==="[object RegExp]"&&(!toStringTag||!(typeof t=="object"&&toStringTag in t))}function isError(t){return toStr(t)==="[object Error]"&&(!toStringTag||!(typeof t=="object"&&toStringTag in t))}function isString$2(t){return toStr(t)==="[object String]"&&(!toStringTag||!(typeof t=="object"&&toStringTag in t))}function isNumber$1(t){return toStr(t)==="[object Number]"&&(!toStringTag||!(typeof t=="object"&&toStringTag in t))}function isBoolean(t){return toStr(t)==="[object Boolean]"&&(!toStringTag||!(typeof t=="object"&&toStringTag in t))}function isSymbol(t){if(hasShammedSymbols)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!symToString)return!1;try{return symToString.call(t),!0}catch{}return!1}function isBigInt(t){if(!t||typeof t!="object"||!bigIntValueOf)return!1;try{return bigIntValueOf.call(t),!0}catch{}return!1}var hasOwn$1=Object.prototype.hasOwnProperty||function(t){return t in this};function has$4(t,r){return hasOwn$1.call(t,r)}function toStr(t){return objectToString.call(t)}function nameOf(t){if(t.name)return t.name;var r=$match.call(functionToString.call(t),/^function\s*([\w$]+)/);return r?r[1]:null}function indexOf$1(t,r){if(t.indexOf)return t.indexOf(r);for(var V=0,oe=t.length;V<oe;V++)if(t[V]===r)return V;return-1}function isMap(t){if(!mapSize||!t||typeof t!="object")return!1;try{mapSize.call(t);try{setSize.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function isWeakMap(t){if(!weakMapHas||!t||typeof t!="object")return!1;try{weakMapHas.call(t,weakMapHas);try{weakSetHas.call(t,weakSetHas)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function isWeakRef(t){if(!weakRefDeref||!t||typeof t!="object")return!1;try{return weakRefDeref.call(t),!0}catch{}return!1}function isSet(t){if(!setSize||!t||typeof t!="object")return!1;try{setSize.call(t);try{mapSize.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function isWeakSet(t){if(!weakSetHas||!t||typeof t!="object")return!1;try{weakSetHas.call(t,weakSetHas);try{weakMapHas.call(t,weakMapHas)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function isElement(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function inspectString(t,r){if(t.length>r.maxStringLength){var V=t.length-r.maxStringLength,oe="... "+V+" more character"+(V>1?"s":"");return inspectString($slice.call(t,0,r.maxStringLength),r)+oe}var ie=$replace.call($replace.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(ie,"single",r)}function lowbyte(t){var r=t.charCodeAt(0),V={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return V?"\\"+V:"\\x"+(r<16?"0":"")+$toUpperCase.call(r.toString(16))}function markBoxed(t){return"Object("+t+")"}function weakCollectionOf(t){return t+" { ? }"}function collectionOf(t,r,V,oe){var ie=oe?indentedJoin(V,oe):$join.call(V,", ");return t+" ("+r+") {"+ie+"}"}function singleLineValues(t){for(var r=0;r<t.length;r++)if(indexOf$1(t[r],`
|
||
`)>=0)return!1;return!0}function getIndent(t,r){var V;if(t.indent===" ")V=" ";else if(typeof t.indent=="number"&&t.indent>0)V=$join.call(Array(t.indent+1)," ");else return null;return{base:V,prev:$join.call(Array(r+1),V)}}function indentedJoin(t,r){if(t.length===0)return"";var V=`
|
||
`+r.prev+r.base;return V+$join.call(t,","+V)+`
|
||
`+r.prev}function arrObjKeys(t,r){var V=isArray$7(t),oe=[];if(V){oe.length=t.length;for(var ie=0;ie<t.length;ie++)oe[ie]=has$4(t,ie)?r(t[ie],t):""}var le=typeof gOPS=="function"?gOPS(t):[],ue;if(hasShammedSymbols){ue={};for(var de=0;de<le.length;de++)ue["$"+le[de]]=le[de]}for(var pe in t)has$4(t,pe)&&(V&&String(Number(pe))===pe&&pe<t.length||hasShammedSymbols&&ue["$"+pe]instanceof Symbol||($test.call(/[^\w$]/,pe)?oe.push(r(pe,t)+": "+r(t[pe],t)):oe.push(pe+": "+r(t[pe],t))));if(typeof gOPS=="function")for(var he=0;he<le.length;he++)isEnumerable.call(t,le[he])&&oe.push("["+r(le[he])+"]: "+r(t[le[he]],t));return oe}var GetIntrinsic=getIntrinsic,callBound=callBound$1,inspect=objectInspect,$TypeError=GetIntrinsic("%TypeError%"),$WeakMap=GetIntrinsic("%WeakMap%",!0),$Map=GetIntrinsic("%Map%",!0),$weakMapGet=callBound("WeakMap.prototype.get",!0),$weakMapSet=callBound("WeakMap.prototype.set",!0),$weakMapHas=callBound("WeakMap.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSet=callBound("Map.prototype.set",!0),$mapHas=callBound("Map.prototype.has",!0),listGetNode=function(t,r){for(var V=t,oe;(oe=V.next)!==null;V=oe)if(oe.key===r)return V.next=oe.next,oe.next=t.next,t.next=oe,oe},listGet=function(t,r){var V=listGetNode(t,r);return V&&V.value},listSet=function(t,r,V){var oe=listGetNode(t,r);oe?oe.value=V:t.next={key:r,next:t.next,value:V}},listHas=function(t,r){return!!listGetNode(t,r)},sideChannel=function(){var r,V,oe,ie={assert:function(le){if(!ie.has(le))throw new $TypeError("Side channel does not contain "+inspect(le))},get:function(le){if($WeakMap&&le&&(typeof le=="object"||typeof le=="function")){if(r)return $weakMapGet(r,le)}else if($Map){if(V)return $mapGet(V,le)}else if(oe)return listGet(oe,le)},has:function(le){if($WeakMap&&le&&(typeof le=="object"||typeof le=="function")){if(r)return $weakMapHas(r,le)}else if($Map){if(V)return $mapHas(V,le)}else if(oe)return listHas(oe,le);return!1},set:function(le,ue){$WeakMap&&le&&(typeof le=="object"||typeof le=="function")?(r||(r=new $WeakMap),$weakMapSet(r,le,ue)):$Map?(V||(V=new $Map),$mapSet(V,le,ue)):(oe||(oe={key:{},next:null}),listSet(oe,le,ue))}};return ie},replace=String.prototype.replace,percentTwenties=/%20/g,Format={RFC1738:"RFC1738",RFC3986:"RFC3986"},formats$3={default:Format.RFC3986,formatters:{RFC1738:function(t){return replace.call(t,percentTwenties,"+")},RFC3986:function(t){return String(t)}},RFC1738:Format.RFC1738,RFC3986:Format.RFC3986},formats$2=formats$3,has$3=Object.prototype.hasOwnProperty,isArray$6=Array.isArray,hexTable=function(){for(var t=[],r=0;r<256;++r)t.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return t}(),compactQueue=function(r){for(;r.length>1;){var V=r.pop(),oe=V.obj[V.prop];if(isArray$6(oe)){for(var ie=[],le=0;le<oe.length;++le)typeof oe[le]<"u"&&ie.push(oe[le]);V.obj[V.prop]=ie}}},arrayToObject=function(r,V){for(var oe=V&&V.plainObjects?Object.create(null):{},ie=0;ie<r.length;++ie)typeof r[ie]<"u"&&(oe[ie]=r[ie]);return oe},merge$1=function t(r,V,oe){if(!V)return r;if(typeof V!="object"){if(isArray$6(r))r.push(V);else if(r&&typeof r=="object")(oe&&(oe.plainObjects||oe.allowPrototypes)||!has$3.call(Object.prototype,V))&&(r[V]=!0);else return[r,V];return r}if(!r||typeof r!="object")return[r].concat(V);var ie=r;return isArray$6(r)&&!isArray$6(V)&&(ie=arrayToObject(r,oe)),isArray$6(r)&&isArray$6(V)?(V.forEach(function(le,ue){if(has$3.call(r,ue)){var de=r[ue];de&&typeof de=="object"&&le&&typeof le=="object"?r[ue]=t(de,le,oe):r.push(le)}else r[ue]=le}),r):Object.keys(V).reduce(function(le,ue){var de=V[ue];return has$3.call(le,ue)?le[ue]=t(le[ue],de,oe):le[ue]=de,le},ie)},assign$1=function(r,V){return Object.keys(V).reduce(function(oe,ie){return oe[ie]=V[ie],oe},r)},decode$2=function(t,r,V){var oe=t.replace(/\+/g," ");if(V==="iso-8859-1")return oe.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(oe)}catch{return oe}},encode=function(r,V,oe,ie,le){if(r.length===0)return r;var ue=r;if(typeof r=="symbol"?ue=Symbol.prototype.toString.call(r):typeof r!="string"&&(ue=String(r)),oe==="iso-8859-1")return escape(ue).replace(/%u[0-9a-f]{4}/gi,function(_e){return"%26%23"+parseInt(_e.slice(2),16)+"%3B"});for(var de="",pe=0;pe<ue.length;++pe){var he=ue.charCodeAt(pe);if(he===45||he===46||he===95||he===126||he>=48&&he<=57||he>=65&&he<=90||he>=97&&he<=122||le===formats$2.RFC1738&&(he===40||he===41)){de+=ue.charAt(pe);continue}if(he<128){de=de+hexTable[he];continue}if(he<2048){de=de+(hexTable[192|he>>6]+hexTable[128|he&63]);continue}if(he<55296||he>=57344){de=de+(hexTable[224|he>>12]+hexTable[128|he>>6&63]+hexTable[128|he&63]);continue}pe+=1,he=65536+((he&1023)<<10|ue.charCodeAt(pe)&1023),de+=hexTable[240|he>>18]+hexTable[128|he>>12&63]+hexTable[128|he>>6&63]+hexTable[128|he&63]}return de},compact=function(r){for(var V=[{obj:{o:r},prop:"o"}],oe=[],ie=0;ie<V.length;++ie)for(var le=V[ie],ue=le.obj[le.prop],de=Object.keys(ue),pe=0;pe<de.length;++pe){var he=de[pe],_e=ue[he];typeof _e=="object"&&_e!==null&&oe.indexOf(_e)===-1&&(V.push({obj:ue,prop:he}),oe.push(_e))}return compactQueue(V),r},isRegExp$1=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},isBuffer=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},combine=function(r,V){return[].concat(r,V)},maybeMap=function(r,V){if(isArray$6(r)){for(var oe=[],ie=0;ie<r.length;ie+=1)oe.push(V(r[ie]));return oe}return V(r)},utils$2={arrayToObject,assign:assign$1,combine,compact,decode:decode$2,encode,isBuffer,isRegExp:isRegExp$1,maybeMap,merge:merge$1},getSideChannel=sideChannel,utils$1=utils$2,formats$1=formats$3,has$2=Object.prototype.hasOwnProperty,arrayPrefixGenerators={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,V){return r+"["+V+"]"},repeat:function(r){return r}},isArray$5=Array.isArray,push$1=Array.prototype.push,pushToArray=function(t,r){push$1.apply(t,isArray$5(r)?r:[r])},toISO=Date.prototype.toISOString,defaultFormat=formats$1.default,defaults$2={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:utils$1.encode,encodeValuesOnly:!1,format:defaultFormat,formatter:formats$1.formatters[defaultFormat],indices:!1,serializeDate:function(r){return toISO.call(r)},skipNulls:!1,strictNullHandling:!1},isNonNullishPrimitive=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},sentinel={},stringify$2=function t(r,V,oe,ie,le,ue,de,pe,he,_e,$e,Ie,Ve,Fe,Ue,qe){for(var Et=r,At=qe,Lt=0,hn=!1;(At=At.get(sentinel))!==void 0&&!hn;){var _n=At.get(r);if(Lt+=1,typeof _n<"u"){if(_n===Lt)throw new RangeError("Cyclic object value");hn=!0}typeof At.get(sentinel)>"u"&&(Lt=0)}if(typeof pe=="function"?Et=pe(V,Et):Et instanceof Date?Et=$e(Et):oe==="comma"&&isArray$5(Et)&&(Et=utils$1.maybeMap(Et,function(Dn){return Dn instanceof Date?$e(Dn):Dn})),Et===null){if(le)return de&&!Fe?de(V,defaults$2.encoder,Ue,"key",Ie):V;Et=""}if(isNonNullishPrimitive(Et)||utils$1.isBuffer(Et)){if(de){var vn=Fe?V:de(V,defaults$2.encoder,Ue,"key",Ie);return[Ve(vn)+"="+Ve(de(Et,defaults$2.encoder,Ue,"value",Ie))]}return[Ve(V)+"="+Ve(String(Et))]}var bn=[];if(typeof Et>"u")return bn;var Cn;if(oe==="comma"&&isArray$5(Et))Fe&&de&&(Et=utils$1.maybeMap(Et,de)),Cn=[{value:Et.length>0?Et.join(",")||null:void 0}];else if(isArray$5(pe))Cn=pe;else{var Sn=Object.keys(Et);Cn=he?Sn.sort(he):Sn}for(var wn=ie&&isArray$5(Et)&&Et.length===1?V+"[]":V,En=0;En<Cn.length;++En){var xn=Cn[En],Pn=typeof xn=="object"&&typeof xn.value<"u"?xn.value:Et[xn];if(!(ue&&Pn===null)){var kn=isArray$5(Et)?typeof oe=="function"?oe(wn,xn):wn:wn+(_e?"."+xn:"["+xn+"]");qe.set(r,Lt);var Nn=getSideChannel();Nn.set(sentinel,qe),pushToArray(bn,t(Pn,kn,oe,ie,le,ue,oe==="comma"&&Fe&&isArray$5(Et)?null:de,pe,he,_e,$e,Ie,Ve,Fe,Ue,Nn))}}return bn},normalizeStringifyOptions=function(r){if(!r)return defaults$2;if(r.encoder!==null&&typeof r.encoder<"u"&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var V=r.charset||defaults$2.charset;if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var oe=formats$1.default;if(typeof r.format<"u"){if(!has$2.call(formats$1.formatters,r.format))throw new TypeError("Unknown format option provided.");oe=r.format}var ie=formats$1.formatters[oe],le=defaults$2.filter;return(typeof r.filter=="function"||isArray$5(r.filter))&&(le=r.filter),{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:defaults$2.addQueryPrefix,allowDots:typeof r.allowDots>"u"?defaults$2.allowDots:!!r.allowDots,charset:V,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:defaults$2.charsetSentinel,delimiter:typeof r.delimiter>"u"?defaults$2.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:defaults$2.encode,encoder:typeof r.encoder=="function"?r.encoder:defaults$2.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:defaults$2.encodeValuesOnly,filter:le,format:oe,formatter:ie,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:defaults$2.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:defaults$2.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:defaults$2.strictNullHandling}},stringify_1=function(t,r){var V=t,oe=normalizeStringifyOptions(r),ie,le;typeof oe.filter=="function"?(le=oe.filter,V=le("",V)):isArray$5(oe.filter)&&(le=oe.filter,ie=le);var ue=[];if(typeof V!="object"||V===null)return"";var de;r&&r.arrayFormat in arrayPrefixGenerators?de=r.arrayFormat:r&&"indices"in r?de=r.indices?"indices":"repeat":de="indices";var pe=arrayPrefixGenerators[de];if(r&&"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var he=pe==="comma"&&r&&r.commaRoundTrip;ie||(ie=Object.keys(V)),oe.sort&&ie.sort(oe.sort);for(var _e=getSideChannel(),$e=0;$e<ie.length;++$e){var Ie=ie[$e];oe.skipNulls&&V[Ie]===null||pushToArray(ue,stringify$2(V[Ie],Ie,pe,he,oe.strictNullHandling,oe.skipNulls,oe.encode?oe.encoder:null,oe.filter,oe.sort,oe.allowDots,oe.serializeDate,oe.format,oe.formatter,oe.encodeValuesOnly,oe.charset,_e))}var Ve=ue.join(oe.delimiter),Fe=oe.addQueryPrefix===!0?"?":"";return oe.charsetSentinel&&(oe.charset==="iso-8859-1"?Fe+="utf8=%26%2310003%3B&":Fe+="utf8=%E2%9C%93&"),Ve.length>0?Fe+Ve:""},utils=utils$2,has$1=Object.prototype.hasOwnProperty,isArray$4=Array.isArray,defaults$1={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(t){return t.replace(/&#(\d+);/g,function(r,V){return String.fromCharCode(parseInt(V,10))})},parseArrayValue=function(t,r){return t&&typeof t=="string"&&r.comma&&t.indexOf(",")>-1?t.split(","):t},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function(r,V){var oe={__proto__:null},ie=V.ignoreQueryPrefix?r.replace(/^\?/,""):r,le=V.parameterLimit===1/0?void 0:V.parameterLimit,ue=ie.split(V.delimiter,le),de=-1,pe,he=V.charset;if(V.charsetSentinel)for(pe=0;pe<ue.length;++pe)ue[pe].indexOf("utf8=")===0&&(ue[pe]===charsetSentinel?he="utf-8":ue[pe]===isoSentinel&&(he="iso-8859-1"),de=pe,pe=ue.length);for(pe=0;pe<ue.length;++pe)if(pe!==de){var _e=ue[pe],$e=_e.indexOf("]="),Ie=$e===-1?_e.indexOf("="):$e+1,Ve,Fe;Ie===-1?(Ve=V.decoder(_e,defaults$1.decoder,he,"key"),Fe=V.strictNullHandling?null:""):(Ve=V.decoder(_e.slice(0,Ie),defaults$1.decoder,he,"key"),Fe=utils.maybeMap(parseArrayValue(_e.slice(Ie+1),V),function(Ue){return V.decoder(Ue,defaults$1.decoder,he,"value")})),Fe&&V.interpretNumericEntities&&he==="iso-8859-1"&&(Fe=interpretNumericEntities(Fe)),_e.indexOf("[]=")>-1&&(Fe=isArray$4(Fe)?[Fe]:Fe),has$1.call(oe,Ve)?oe[Ve]=utils.combine(oe[Ve],Fe):oe[Ve]=Fe}return oe},parseObject=function(t,r,V,oe){for(var ie=oe?r:parseArrayValue(r,V),le=t.length-1;le>=0;--le){var ue,de=t[le];if(de==="[]"&&V.parseArrays)ue=[].concat(ie);else{ue=V.plainObjects?Object.create(null):{};var pe=de.charAt(0)==="["&&de.charAt(de.length-1)==="]"?de.slice(1,-1):de,he=parseInt(pe,10);!V.parseArrays&&pe===""?ue={0:ie}:!isNaN(he)&&de!==pe&&String(he)===pe&&he>=0&&V.parseArrays&&he<=V.arrayLimit?(ue=[],ue[he]=ie):pe!=="__proto__"&&(ue[pe]=ie)}ie=ue}return ie},parseKeys=function(r,V,oe,ie){if(r){var le=oe.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,ue=/(\[[^[\]]*])/,de=/(\[[^[\]]*])/g,pe=oe.depth>0&&ue.exec(le),he=pe?le.slice(0,pe.index):le,_e=[];if(he){if(!oe.plainObjects&&has$1.call(Object.prototype,he)&&!oe.allowPrototypes)return;_e.push(he)}for(var $e=0;oe.depth>0&&(pe=de.exec(le))!==null&&$e<oe.depth;){if($e+=1,!oe.plainObjects&&has$1.call(Object.prototype,pe[1].slice(1,-1))&&!oe.allowPrototypes)return;_e.push(pe[1])}return pe&&_e.push("["+le.slice(pe.index)+"]"),parseObject(_e,V,oe,ie)}},normalizeParseOptions=function(r){if(!r)return defaults$1;if(r.decoder!==null&&r.decoder!==void 0&&typeof r.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var V=typeof r.charset>"u"?defaults$1.charset:r.charset;return{allowDots:typeof r.allowDots>"u"?defaults$1.allowDots:!!r.allowDots,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:defaults$1.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:defaults$1.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:defaults$1.arrayLimit,charset:V,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:defaults$1.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:defaults$1.comma,decoder:typeof r.decoder=="function"?r.decoder:defaults$1.decoder,delimiter:typeof r.delimiter=="string"||utils.isRegExp(r.delimiter)?r.delimiter:defaults$1.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:defaults$1.depth,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:defaults$1.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:defaults$1.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:defaults$1.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:defaults$1.strictNullHandling}},parse$4=function(t,r){var V=normalizeParseOptions(r);if(t===""||t===null||typeof t>"u")return V.plainObjects?Object.create(null):{};for(var oe=typeof t=="string"?parseValues(t,V):t,ie=V.plainObjects?Object.create(null):{},le=Object.keys(oe),ue=0;ue<le.length;++ue){var de=le[ue],pe=parseKeys(de,oe[de],V,typeof t=="string");ie=utils.merge(ie,pe,V)}return V.allowSparse===!0?ie:utils.compact(ie)},stringify$1=stringify_1,parse$3=parse$4,formats=formats$3,lib={formats,parse:parse$3,stringify:stringify$1},nprogress$1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
* @license MIT */(function(t,r){(function(V,oe){t.exports=oe()})(commonjsGlobal,function(){var V={};V.version="0.2.0";var oe=V.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};V.configure=function(Fe){var Ue,qe;for(Ue in Fe)qe=Fe[Ue],qe!==void 0&&Fe.hasOwnProperty(Ue)&&(oe[Ue]=qe);return this},V.status=null,V.set=function(Fe){var Ue=V.isStarted();Fe=ie(Fe,oe.minimum,1),V.status=Fe===1?null:Fe;var qe=V.render(!Ue),Et=qe.querySelector(oe.barSelector),At=oe.speed,Lt=oe.easing;return qe.offsetWidth,de(function(hn){oe.positionUsing===""&&(oe.positionUsing=V.getPositioningCSS()),pe(Et,ue(Fe,At,Lt)),Fe===1?(pe(qe,{transition:"none",opacity:1}),qe.offsetWidth,setTimeout(function(){pe(qe,{transition:"all "+At+"ms linear",opacity:0}),setTimeout(function(){V.remove(),hn()},At)},At)):setTimeout(hn,At)}),this},V.isStarted=function(){return typeof V.status=="number"},V.start=function(){V.status||V.set(0);var Fe=function(){setTimeout(function(){V.status&&(V.trickle(),Fe())},oe.trickleSpeed)};return oe.trickle&&Fe(),this},V.done=function(Fe){return!Fe&&!V.status?this:V.inc(.3+.5*Math.random()).set(1)},V.inc=function(Fe){var Ue=V.status;return Ue?(typeof Fe!="number"&&(Fe=(1-Ue)*ie(Math.random()*Ue,.1,.95)),Ue=ie(Ue+Fe,0,.994),V.set(Ue)):V.start()},V.trickle=function(){return V.inc(Math.random()*oe.trickleRate)},function(){var Fe=0,Ue=0;V.promise=function(qe){return!qe||qe.state()==="resolved"?this:(Ue===0&&V.start(),Fe++,Ue++,qe.always(function(){Ue--,Ue===0?(Fe=0,V.done()):V.set((Fe-Ue)/Fe)}),this)}}(),V.render=function(Fe){if(V.isRendered())return document.getElementById("nprogress");_e(document.documentElement,"nprogress-busy");var Ue=document.createElement("div");Ue.id="nprogress",Ue.innerHTML=oe.template;var qe=Ue.querySelector(oe.barSelector),Et=Fe?"-100":le(V.status||0),At=document.querySelector(oe.parent),Lt;return pe(qe,{transition:"all 0 linear",transform:"translate3d("+Et+"%,0,0)"}),oe.showSpinner||(Lt=Ue.querySelector(oe.spinnerSelector),Lt&&Ve(Lt)),At!=document.body&&_e(At,"nprogress-custom-parent"),At.appendChild(Ue),Ue},V.remove=function(){$e(document.documentElement,"nprogress-busy"),$e(document.querySelector(oe.parent),"nprogress-custom-parent");var Fe=document.getElementById("nprogress");Fe&&Ve(Fe)},V.isRendered=function(){return!!document.getElementById("nprogress")},V.getPositioningCSS=function(){var Fe=document.body.style,Ue="WebkitTransform"in Fe?"Webkit":"MozTransform"in Fe?"Moz":"msTransform"in Fe?"ms":"OTransform"in Fe?"O":"";return Ue+"Perspective"in Fe?"translate3d":Ue+"Transform"in Fe?"translate":"margin"};function ie(Fe,Ue,qe){return Fe<Ue?Ue:Fe>qe?qe:Fe}function le(Fe){return(-1+Fe)*100}function ue(Fe,Ue,qe){var Et;return oe.positionUsing==="translate3d"?Et={transform:"translate3d("+le(Fe)+"%,0,0)"}:oe.positionUsing==="translate"?Et={transform:"translate("+le(Fe)+"%,0)"}:Et={"margin-left":le(Fe)+"%"},Et.transition="all "+Ue+"ms "+qe,Et}var de=function(){var Fe=[];function Ue(){var qe=Fe.shift();qe&&qe(Ue)}return function(qe){Fe.push(qe),Fe.length==1&&Ue()}}(),pe=function(){var Fe=["Webkit","O","Moz","ms"],Ue={};function qe(hn){return hn.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(_n,vn){return vn.toUpperCase()})}function Et(hn){var _n=document.body.style;if(hn in _n)return hn;for(var vn=Fe.length,bn=hn.charAt(0).toUpperCase()+hn.slice(1),Cn;vn--;)if(Cn=Fe[vn]+bn,Cn in _n)return Cn;return hn}function At(hn){return hn=qe(hn),Ue[hn]||(Ue[hn]=Et(hn))}function Lt(hn,_n,vn){_n=At(_n),hn.style[_n]=vn}return function(hn,_n){var vn=arguments,bn,Cn;if(vn.length==2)for(bn in _n)Cn=_n[bn],Cn!==void 0&&_n.hasOwnProperty(bn)&&Lt(hn,bn,Cn);else Lt(hn,vn[1],vn[2])}}();function he(Fe,Ue){var qe=typeof Fe=="string"?Fe:Ie(Fe);return qe.indexOf(" "+Ue+" ")>=0}function _e(Fe,Ue){var qe=Ie(Fe),Et=qe+Ue;he(qe,Ue)||(Fe.className=Et.substring(1))}function $e(Fe,Ue){var qe=Ie(Fe),Et;he(Fe,Ue)&&(Et=qe.replace(" "+Ue+" "," "),Fe.className=Et.substring(1,Et.length-1))}function Ie(Fe){return(" "+(Fe.className||"")+" ").replace(/\s+/gi," ")}function Ve(Fe){Fe&&Fe.parentNode&&Fe.parentNode.removeChild(Fe)}return V})})(nprogress$1);var nprogressExports=nprogress$1.exports;const NProgress=getDefaultExportFromCjs(nprogressExports),nprogress="";NProgress.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3});const defaultConfig$1={timeout:1e4,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},paramsSerializer:{serialize:lib.stringify}},Jr=class Jr{constructor(){this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}static retryOriginalRequest(r){return new Promise(V=>{Jr.requests.push(oe=>{r.headers.Authorization=formatToken(oe),V(r)})})}httpInterceptorsRequest(){Jr.axiosInstance.interceptors.request.use(async r=>(NProgress.start(),typeof r.beforeRequestCallback=="function"?(r.beforeRequestCallback(r),r):Jr.initConfig.beforeRequestCallback?(Jr.initConfig.beforeRequestCallback(r),r):["/refreshToken","/login"].find(oe=>oe===r.url)?r:new Promise(oe=>{const ie=getToken();if(ie){const le=new Date().getTime();parseInt(ie.expires)-le<=0?(Jr.isRefreshing||(Jr.isRefreshing=!0,useUserStoreHook().handRefreshToken({refreshToken:ie.refreshToken}).then(de=>{const pe=de.data.accessToken;r.headers.Authorization=formatToken(pe),Jr.requests.forEach(he=>he(pe)),Jr.requests=[]}).finally(()=>{Jr.isRefreshing=!1})),oe(Jr.retryOriginalRequest(r))):(r.headers.Authorization=formatToken(ie.accessToken),oe(r))}else oe(r)})),r=>Promise.reject(r))}httpInterceptorsResponse(){Jr.axiosInstance.interceptors.response.use(V=>{const oe=V.config;return NProgress.done(),typeof oe.beforeResponseCallback=="function"?(oe.beforeResponseCallback(V),V.data):(Jr.initConfig.beforeResponseCallback&&Jr.initConfig.beforeResponseCallback(V),V.data)},V=>{const oe=V;return oe.isCancelRequest=axios$1.isCancel(oe),NProgress.done(),Promise.reject(oe)})}request(r,V,oe,ie){const le={method:r,url:V,...oe,...ie};return new Promise((ue,de)=>{Jr.axiosInstance.request(le).then(pe=>{ue(pe)}).catch(pe=>{de(pe)})})}post(r,V,oe){return this.request("post",r,V,oe)}get(r,V,oe){return this.request("get",r,V,oe)}};io(Jr,"requests",[]),io(Jr,"isRefreshing",!1),io(Jr,"initConfig",{}),io(Jr,"axiosInstance",axios$1.create(defaultConfig$1));let PureHttp=Jr;const http=new PureHttp,getLogin=t=>http.request("post","/login",{data:t}),refreshTokenApi=t=>http.request("post","/refreshToken",{data:t}),useMultiTagsStore=defineStore({id:"pure-multiTags",state:()=>{var t,r;return{multiTags:(t=nr().getItem(`${responsiveStorageNameSpace()}configure`))!=null&&t.multiTagsCache?nr().getItem(`${responsiveStorageNameSpace()}tags`):[...routerArrays],multiTagsCache:(r=nr().getItem(`${responsiveStorageNameSpace()}configure`))==null?void 0:r.multiTagsCache}},getters:{getMultiTagsCache(t){return t.multiTagsCache}},actions:{multiTagsCacheChange(t){this.multiTagsCache=t,t?nr().setItem(`${responsiveStorageNameSpace()}tags`,this.multiTags):nr().removeItem(`${responsiveStorageNameSpace()}tags`)},tagsCache(t){this.getMultiTagsCache&&nr().setItem(`${responsiveStorageNameSpace()}tags`,t)},handleTags(t,r,V){var oe,ie,le,ue,de;switch(t){case"equal":this.multiTags=r,this.tagsCache(this.multiTags);break;case"push":{const pe=r;if((oe=pe==null?void 0:pe.meta)!=null&&oe.hiddenTag||gt(pe==null?void 0:pe.name)||((ie=pe==null?void 0:pe.meta)==null?void 0:ie.title.length)===0||Le((le=pe==null?void 0:pe.meta)==null?void 0:le.showLink)&&!((ue=pe==null?void 0:pe.meta)!=null&&ue.showLink))return;const he=pe.path,_e=this.multiTags.some(Fe=>Fe.path===he),$e=this.multiTags.some(Fe=>Xt(Fe==null?void 0:Fe.query,pe==null?void 0:pe.query)),Ie=this.multiTags.some(Fe=>Xt(Fe==null?void 0:Fe.params,pe==null?void 0:pe.params));if(_e&&$e&&Ie)return;const Ve=((de=pe==null?void 0:pe.meta)==null?void 0:de.dynamicLevel)??-1;if(Ve>0&&this.multiTags.filter(Fe=>(Fe==null?void 0:Fe.path)===he).length>=Ve){const Fe=this.multiTags.findIndex(Ue=>(Ue==null?void 0:Ue.path)===he);Fe!==-1&&this.multiTags.splice(Fe,1)}this.multiTags.push(r),this.tagsCache(this.multiTags)}break;case"splice":if(V)this.multiTags.splice(V==null?void 0:V.startIndex,V==null?void 0:V.length);else{const pe=this.multiTags.findIndex(he=>he.path===r);if(pe===-1)return;this.multiTags.splice(pe,1)}return this.tagsCache(this.multiTags),this.multiTags;case"slice":return this.multiTags.slice(-1)}}}});function useMultiTagsStoreHook(){return useMultiTagsStore(store)}const useUserStore=defineStore({id:"pure-user",state:()=>{var t,r;return{username:((t=rr().getItem(sessionKey))==null?void 0:t.username)??"",roles:((r=rr().getItem(sessionKey))==null?void 0:r.roles)??[],verifyCode:"",currentPage:0}},actions:{SET_USERNAME(t){this.username=t},SET_ROLES(t){this.roles=t},SET_VERIFYCODE(t){this.verifyCode=t},SET_CURRENTPAGE(t){this.currentPage=t},async loginByUsername(t){return new Promise((r,V)=>{getLogin(t).then(oe=>{oe&&(setToken(oe.data),r(oe))}).catch(oe=>{V(oe)})})},logOut(){this.username="",this.roles=[],removeToken(),useMultiTagsStoreHook().handleTags("equal",[...routerArrays]),resetRouter(),router.push("/login")},async handRefreshToken(t){return new Promise((r,V)=>{refreshTokenApi(t).then(oe=>{oe&&(setToken(oe.data),r(oe))}).catch(oe=>{V(oe)})})}}});function useUserStoreHook(){return useUserStore(store)}const sessionKey="user-info",TokenKey="authorized-token";function getToken(){return api.get(TokenKey)?JSON.parse(api.get(TokenKey)):rr().getItem(sessionKey)}function setToken(t){var ue,de;let r=0;const{accessToken:V,refreshToken:oe}=t;r=new Date(t.expires).getTime();const ie=JSON.stringify({accessToken:V,expires:r});r>0?api.set(TokenKey,ie,{expires:(r-Date.now())/864e5}):api.set(TokenKey,ie);function le(pe,he){useUserStoreHook().SET_USERNAME(pe),useUserStoreHook().SET_ROLES(he),rr().setItem(sessionKey,{refreshToken:oe,expires:r,username:pe,roles:he})}if(t.username&&t.roles){const{username:pe,roles:he}=t;le(pe,he)}else{const pe=((ue=rr().getItem(sessionKey))==null?void 0:ue.username)??"",he=((de=rr().getItem(sessionKey))==null?void 0:de.roles)??[];le(pe,he)}}function removeToken(){api.remove(TokenKey),sessionStorage.clear()}const formatToken=t=>"Bearer "+t;(function(){const t=hr(location.href),r=["username","roles","accessToken"],V=r.length;if(Object.keys(t).length!==V)return;let oe=[],ie=0;for(;ie<V;)Object.keys(t).includes(r[ie])&&oe.length<=V?oe.push(r[ie]):oe=[],ie++;if(oe.length===V){removeToken(),setToken(t),delete t.roles,delete t.accessToken;const le=`${location.origin}${location.pathname}${Vt(location.hash,"?")}?${JSON.stringify(t).replace(/["{}]/g,"").replace(/:/g,"=").replace(/,/g,"&")}`;window.location.replace(le)}else return})();/*!
|
||
* vue-router v4.2.4
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const isBrowser$1=typeof window<"u";function isESModule(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(t,r){const V={};for(const oe in r){const ie=r[oe];V[oe]=isArray$3(ie)?ie.map(t):t(ie)}return V}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=t=>t.replace(TRAILING_SLASH_RE,"");function parseURL(t,r,V="/"){let oe,ie={},le="",ue="";const de=r.indexOf("#");let pe=r.indexOf("?");return de<pe&&de>=0&&(pe=-1),pe>-1&&(oe=r.slice(0,pe),le=r.slice(pe+1,de>-1?de:r.length),ie=t(le)),de>-1&&(oe=oe||r.slice(0,de),ue=r.slice(de,r.length)),oe=resolveRelativePath(oe??r,V),{fullPath:oe+(le&&"?")+le+ue,path:oe,query:ie,hash:ue}}function stringifyURL(t,r){const V=r.query?t(r.query):"";return r.path+(V&&"?")+V+(r.hash||"")}function stripBase(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function isSameRouteLocation(t,r,V){const oe=r.matched.length-1,ie=V.matched.length-1;return oe>-1&&oe===ie&&isSameRouteRecord(r.matched[oe],V.matched[ie])&&isSameRouteLocationParams(r.params,V.params)&&t(r.query)===t(V.query)&&r.hash===V.hash}function isSameRouteRecord(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function isSameRouteLocationParams(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const V in t)if(!isSameRouteLocationParamsValue(t[V],r[V]))return!1;return!0}function isSameRouteLocationParamsValue(t,r){return isArray$3(t)?isEquivalentArray(t,r):isArray$3(r)?isEquivalentArray(r,t):t===r}function isEquivalentArray(t,r){return isArray$3(r)?t.length===r.length&&t.every((V,oe)=>V===r[oe]):t.length===1&&t[0]===r}function resolveRelativePath(t,r){if(t.startsWith("/"))return t;if(!t)return r;const V=r.split("/"),oe=t.split("/"),ie=oe[oe.length-1];(ie===".."||ie===".")&&oe.push("");let le=V.length-1,ue,de;for(ue=0;ue<oe.length;ue++)if(de=oe[ue],de!==".")if(de==="..")le>1&&le--;else break;return V.slice(0,le).join("/")+"/"+oe.slice(ue-(ue===oe.length?1:0)).join("/")}var NavigationType;(function(t){t.pop="pop",t.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(t){t.back="back",t.forward="forward",t.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(t){if(!t)if(isBrowser$1){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),removeTrailingSlash(t)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(t,r){return t.replace(BEFORE_HASH_RE,"#")+r}function getElementPosition(t,r){const V=document.documentElement.getBoundingClientRect(),oe=t.getBoundingClientRect();return{behavior:r.behavior,left:oe.left-V.left-(r.left||0),top:oe.top-V.top-(r.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(t){let r;if("el"in t){const V=t.el,oe=typeof V=="string"&&V.startsWith("#"),ie=typeof V=="string"?oe?document.getElementById(V.slice(1)):document.querySelector(V):V;if(!ie)return;r=getElementPosition(ie,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.pageXOffset,r.top!=null?r.top:window.pageYOffset)}function getScrollKey(t,r){return(history.state?history.state.position-r:-1)+t}const scrollPositions=new Map;function saveScrollPosition(t,r){scrollPositions.set(t,r)}function getSavedScrollPosition(t){const r=scrollPositions.get(t);return scrollPositions.delete(t),r}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(t,r){const{pathname:V,search:oe,hash:ie}=r,le=t.indexOf("#");if(le>-1){let de=ie.includes(t.slice(le))?t.slice(le).length:1,pe=ie.slice(de);return pe[0]!=="/"&&(pe="/"+pe),stripBase(pe,"")}return stripBase(V,t)+oe+ie}function useHistoryListeners(t,r,V,oe){let ie=[],le=[],ue=null;const de=({state:Ie})=>{const Ve=createCurrentLocation(t,location),Fe=V.value,Ue=r.value;let qe=0;if(Ie){if(V.value=Ve,r.value=Ie,ue&&ue===Fe){ue=null;return}qe=Ue?Ie.position-Ue.position:0}else oe(Ve);ie.forEach(Et=>{Et(V.value,Fe,{delta:qe,type:NavigationType.pop,direction:qe?qe>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function pe(){ue=V.value}function he(Ie){ie.push(Ie);const Ve=()=>{const Fe=ie.indexOf(Ie);Fe>-1&&ie.splice(Fe,1)};return le.push(Ve),Ve}function _e(){const{history:Ie}=window;Ie.state&&Ie.replaceState(assign({},Ie.state,{scroll:computeScrollPosition()}),"")}function $e(){for(const Ie of le)Ie();le=[],window.removeEventListener("popstate",de),window.removeEventListener("beforeunload",_e)}return window.addEventListener("popstate",de),window.addEventListener("beforeunload",_e,{passive:!0}),{pauseListeners:pe,listen:he,destroy:$e}}function buildState(t,r,V,oe=!1,ie=!1){return{back:t,current:r,forward:V,replaced:oe,position:window.history.length,scroll:ie?computeScrollPosition():null}}function useHistoryStateNavigation(t){const{history:r,location:V}=window,oe={value:createCurrentLocation(t,V)},ie={value:r.state};ie.value||le(oe.value,{back:null,current:oe.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function le(pe,he,_e){const $e=t.indexOf("#"),Ie=$e>-1?(V.host&&document.querySelector("base")?t:t.slice($e))+pe:createBaseLocation()+t+pe;try{r[_e?"replaceState":"pushState"](he,"",Ie),ie.value=he}catch(Ve){console.error(Ve),V[_e?"replace":"assign"](Ie)}}function ue(pe,he){const _e=assign({},r.state,buildState(ie.value.back,pe,ie.value.forward,!0),he,{position:ie.value.position});le(pe,_e,!0),oe.value=pe}function de(pe,he){const _e=assign({},ie.value,r.state,{forward:pe,scroll:computeScrollPosition()});le(_e.current,_e,!0);const $e=assign({},buildState(oe.value,pe,null),{position:_e.position+1},he);le(pe,$e,!1),oe.value=pe}return{location:oe,state:ie,push:de,replace:ue}}function createWebHistory(t){t=normalizeBase(t);const r=useHistoryStateNavigation(t),V=useHistoryListeners(t,r.state,r.location,r.replace);function oe(le,ue=!0){ue||V.pauseListeners(),history.go(le)}const ie=assign({location:"",base:t,go:oe,createHref:createHref.bind(null,t)},r,V);return Object.defineProperty(ie,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(ie,"state",{enumerable:!0,get:()=>r.state.value}),ie}function createWebHashHistory(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),createWebHistory(t)}function isRouteLocation(t){return typeof t=="string"||t&&typeof t=="object"}function isRouteName(t){return typeof t=="string"||typeof t=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(t,r){return assign(new Error,{type:t,[NavigationFailureSymbol]:!0},r)}function isNavigationFailure(t,r){return t instanceof Error&&NavigationFailureSymbol in t&&(r==null||!!(t.type&r))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(t,r){const V=assign({},BASE_PATH_PARSER_OPTIONS,r),oe=[];let ie=V.start?"^":"";const le=[];for(const he of t){const _e=he.length?[]:[90];V.strict&&!he.length&&(ie+="/");for(let $e=0;$e<he.length;$e++){const Ie=he[$e];let Ve=40+(V.sensitive?.25:0);if(Ie.type===0)$e||(ie+="/"),ie+=Ie.value.replace(REGEX_CHARS_RE,"\\$&"),Ve+=40;else if(Ie.type===1){const{value:Fe,repeatable:Ue,optional:qe,regexp:Et}=Ie;le.push({name:Fe,repeatable:Ue,optional:qe});const At=Et||BASE_PARAM_PATTERN;if(At!==BASE_PARAM_PATTERN){Ve+=10;try{new RegExp(`(${At})`)}catch(hn){throw new Error(`Invalid custom RegExp for param "${Fe}" (${At}): `+hn.message)}}let Lt=Ue?`((?:${At})(?:/(?:${At}))*)`:`(${At})`;$e||(Lt=qe&&he.length<2?`(?:/${Lt})`:"/"+Lt),qe&&(Lt+="?"),ie+=Lt,Ve+=20,qe&&(Ve+=-8),Ue&&(Ve+=-20),At===".*"&&(Ve+=-50)}_e.push(Ve)}oe.push(_e)}if(V.strict&&V.end){const he=oe.length-1;oe[he][oe[he].length-1]+=.7000000000000001}V.strict||(ie+="/?"),V.end?ie+="$":V.strict&&(ie+="(?:/|$)");const ue=new RegExp(ie,V.sensitive?"":"i");function de(he){const _e=he.match(ue),$e={};if(!_e)return null;for(let Ie=1;Ie<_e.length;Ie++){const Ve=_e[Ie]||"",Fe=le[Ie-1];$e[Fe.name]=Ve&&Fe.repeatable?Ve.split("/"):Ve}return $e}function pe(he){let _e="",$e=!1;for(const Ie of t){(!$e||!_e.endsWith("/"))&&(_e+="/"),$e=!1;for(const Ve of Ie)if(Ve.type===0)_e+=Ve.value;else if(Ve.type===1){const{value:Fe,repeatable:Ue,optional:qe}=Ve,Et=Fe in he?he[Fe]:"";if(isArray$3(Et)&&!Ue)throw new Error(`Provided param "${Fe}" is an array but it is not repeatable (* or + modifiers)`);const At=isArray$3(Et)?Et.join("/"):Et;if(!At)if(qe)Ie.length<2&&(_e.endsWith("/")?_e=_e.slice(0,-1):$e=!0);else throw new Error(`Missing required param "${Fe}"`);_e+=At}}return _e||"/"}return{re:ue,score:oe,keys:le,parse:de,stringify:pe}}function compareScoreArray(t,r){let V=0;for(;V<t.length&&V<r.length;){const oe=r[V]-t[V];if(oe)return oe;V++}return t.length<r.length?t.length===1&&t[0]===40+40?-1:1:t.length>r.length?r.length===1&&r[0]===40+40?1:-1:0}function comparePathParserScore(t,r){let V=0;const oe=t.score,ie=r.score;for(;V<oe.length&&V<ie.length;){const le=compareScoreArray(oe[V],ie[V]);if(le)return le;V++}if(Math.abs(ie.length-oe.length)===1){if(isLastScoreNegative(oe))return 1;if(isLastScoreNegative(ie))return-1}return ie.length-oe.length}function isLastScoreNegative(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(t){if(!t)return[[]];if(t==="/")return[[ROOT_TOKEN]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(Ve){throw new Error(`ERR (${V})/"${he}": ${Ve}`)}let V=0,oe=V;const ie=[];let le;function ue(){le&&ie.push(le),le=[]}let de=0,pe,he="",_e="";function $e(){he&&(V===0?le.push({type:0,value:he}):V===1||V===2||V===3?(le.length>1&&(pe==="*"||pe==="+")&&r(`A repeatable param (${he}) must be alone in its segment. eg: '/:ids+.`),le.push({type:1,value:he,regexp:_e,repeatable:pe==="*"||pe==="+",optional:pe==="*"||pe==="?"})):r("Invalid state to consume buffer"),he="")}function Ie(){he+=pe}for(;de<t.length;){if(pe=t[de++],pe==="\\"&&V!==2){oe=V,V=4;continue}switch(V){case 0:pe==="/"?(he&&$e(),ue()):pe===":"?($e(),V=1):Ie();break;case 4:Ie(),V=oe;break;case 1:pe==="("?V=2:VALID_PARAM_RE.test(pe)?Ie():($e(),V=0,pe!=="*"&&pe!=="?"&&pe!=="+"&&de--);break;case 2:pe===")"?_e[_e.length-1]=="\\"?_e=_e.slice(0,-1)+pe:V=3:_e+=pe;break;case 3:$e(),V=0,pe!=="*"&&pe!=="?"&&pe!=="+"&&de--,_e="";break;default:r("Unknown state");break}}return V===2&&r(`Unfinished custom RegExp for param "${he}"`),$e(),ue(),ie}function createRouteRecordMatcher(t,r,V){const oe=tokensToParser(tokenizePath(t.path),V),ie=assign(oe,{record:t,parent:r,children:[],alias:[]});return r&&!ie.record.aliasOf==!r.record.aliasOf&&r.children.push(ie),ie}function createRouterMatcher(t,r){const V=[],oe=new Map;r=mergeOptions({strict:!1,end:!0,sensitive:!1},r);function ie(_e){return oe.get(_e)}function le(_e,$e,Ie){const Ve=!Ie,Fe=normalizeRouteRecord(_e);Fe.aliasOf=Ie&&Ie.record;const Ue=mergeOptions(r,_e),qe=[Fe];if("alias"in _e){const Lt=typeof _e.alias=="string"?[_e.alias]:_e.alias;for(const hn of Lt)qe.push(assign({},Fe,{components:Ie?Ie.record.components:Fe.components,path:hn,aliasOf:Ie?Ie.record:Fe}))}let Et,At;for(const Lt of qe){const{path:hn}=Lt;if($e&&hn[0]!=="/"){const _n=$e.record.path,vn=_n[_n.length-1]==="/"?"":"/";Lt.path=$e.record.path+(hn&&vn+hn)}if(Et=createRouteRecordMatcher(Lt,$e,Ue),Ie?Ie.alias.push(Et):(At=At||Et,At!==Et&&At.alias.push(Et),Ve&&_e.name&&!isAliasRecord(Et)&&ue(_e.name)),Fe.children){const _n=Fe.children;for(let vn=0;vn<_n.length;vn++)le(_n[vn],Et,Ie&&Ie.children[vn])}Ie=Ie||Et,(Et.record.components&&Object.keys(Et.record.components).length||Et.record.name||Et.record.redirect)&&pe(Et)}return At?()=>{ue(At)}:noop$1}function ue(_e){if(isRouteName(_e)){const $e=oe.get(_e);$e&&(oe.delete(_e),V.splice(V.indexOf($e),1),$e.children.forEach(ue),$e.alias.forEach(ue))}else{const $e=V.indexOf(_e);$e>-1&&(V.splice($e,1),_e.record.name&&oe.delete(_e.record.name),_e.children.forEach(ue),_e.alias.forEach(ue))}}function de(){return V}function pe(_e){let $e=0;for(;$e<V.length&&comparePathParserScore(_e,V[$e])>=0&&(_e.record.path!==V[$e].record.path||!isRecordChildOf(_e,V[$e]));)$e++;V.splice($e,0,_e),_e.record.name&&!isAliasRecord(_e)&&oe.set(_e.record.name,_e)}function he(_e,$e){let Ie,Ve={},Fe,Ue;if("name"in _e&&_e.name){if(Ie=oe.get(_e.name),!Ie)throw createRouterError(1,{location:_e});Ue=Ie.record.name,Ve=assign(paramsFromLocation($e.params,Ie.keys.filter(At=>!At.optional).map(At=>At.name)),_e.params&¶msFromLocation(_e.params,Ie.keys.map(At=>At.name))),Fe=Ie.stringify(Ve)}else if("path"in _e)Fe=_e.path,Ie=V.find(At=>At.re.test(Fe)),Ie&&(Ve=Ie.parse(Fe),Ue=Ie.record.name);else{if(Ie=$e.name?oe.get($e.name):V.find(At=>At.re.test($e.path)),!Ie)throw createRouterError(1,{location:_e,currentLocation:$e});Ue=Ie.record.name,Ve=assign({},$e.params,_e.params),Fe=Ie.stringify(Ve)}const qe=[];let Et=Ie;for(;Et;)qe.unshift(Et.record),Et=Et.parent;return{name:Ue,path:Fe,params:Ve,matched:qe,meta:mergeMetaFields(qe)}}return t.forEach(_e=>le(_e)),{addRoute:le,resolve:he,removeRoute:ue,getRoutes:de,getRecordMatcher:ie}}function paramsFromLocation(t,r){const V={};for(const oe of r)oe in t&&(V[oe]=t[oe]);return V}function normalizeRouteRecord(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:normalizeRecordProps(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function normalizeRecordProps(t){const r={},V=t.props||!1;if("component"in t)r.default=V;else for(const oe in t.components)r[oe]=typeof V=="object"?V[oe]:V;return r}function isAliasRecord(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function mergeMetaFields(t){return t.reduce((r,V)=>assign(r,V.meta),{})}function mergeOptions(t,r){const V={};for(const oe in t)V[oe]=oe in r?r[oe]:t[oe];return V}function isRecordChildOf(t,r){return r.children.some(V=>V===t||isRecordChildOf(t,V))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(t){return encodeURI(""+t).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(t){return commonEncode(t).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(t){return commonEncode(t).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(t){return encodeQueryValue(t).replace(EQUAL_RE,"%3D")}function encodePath(t){return commonEncode(t).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(t){return t==null?"":encodePath(t).replace(SLASH_RE,"%2F")}function decode$1(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function parseQuery(t){const r={};if(t===""||t==="?")return r;const oe=(t[0]==="?"?t.slice(1):t).split("&");for(let ie=0;ie<oe.length;++ie){const le=oe[ie].replace(PLUS_RE," "),ue=le.indexOf("="),de=decode$1(ue<0?le:le.slice(0,ue)),pe=ue<0?null:decode$1(le.slice(ue+1));if(de in r){let he=r[de];isArray$3(he)||(he=r[de]=[he]),he.push(pe)}else r[de]=pe}return r}function stringifyQuery(t){let r="";for(let V in t){const oe=t[V];if(V=encodeQueryKey(V),oe==null){oe!==void 0&&(r+=(r.length?"&":"")+V);continue}(isArray$3(oe)?oe.map(le=>le&&encodeQueryValue(le)):[oe&&encodeQueryValue(oe)]).forEach(le=>{le!==void 0&&(r+=(r.length?"&":"")+V,le!=null&&(r+="="+le))})}return r}function normalizeQuery(t){const r={};for(const V in t){const oe=t[V];oe!==void 0&&(r[V]=isArray$3(oe)?oe.map(ie=>ie==null?null:""+ie):oe==null?oe:""+oe)}return r}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let t=[];function r(oe){return t.push(oe),()=>{const ie=t.indexOf(oe);ie>-1&&t.splice(ie,1)}}function V(){t=[]}return{add:r,list:()=>t.slice(),reset:V}}function guardToPromiseFn(t,r,V,oe,ie){const le=oe&&(oe.enterCallbacks[ie]=oe.enterCallbacks[ie]||[]);return()=>new Promise((ue,de)=>{const pe=$e=>{$e===!1?de(createRouterError(4,{from:V,to:r})):$e instanceof Error?de($e):isRouteLocation($e)?de(createRouterError(2,{from:r,to:$e})):(le&&oe.enterCallbacks[ie]===le&&typeof $e=="function"&&le.push($e),ue())},he=t.call(oe&&oe.instances[ie],r,V,pe);let _e=Promise.resolve(he);t.length<3&&(_e=_e.then(pe)),_e.catch($e=>de($e))})}function extractComponentsGuards(t,r,V,oe){const ie=[];for(const le of t)for(const ue in le.components){let de=le.components[ue];if(!(r!=="beforeRouteEnter"&&!le.instances[ue]))if(isRouteComponent(de)){const he=(de.__vccOpts||de)[r];he&&ie.push(guardToPromiseFn(he,V,oe,le,ue))}else{let pe=de();ie.push(()=>pe.then(he=>{if(!he)return Promise.reject(new Error(`Couldn't resolve component "${ue}" at "${le.path}"`));const _e=isESModule(he)?he.default:he;le.components[ue]=_e;const Ie=(_e.__vccOpts||_e)[r];return Ie&&guardToPromiseFn(Ie,V,oe,le,ue)()}))}}return ie}function isRouteComponent(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function useLink(t){const r=inject(routerKey),V=inject(routeLocationKey),oe=computed(()=>r.resolve(unref(t.to))),ie=computed(()=>{const{matched:pe}=oe.value,{length:he}=pe,_e=pe[he-1],$e=V.matched;if(!_e||!$e.length)return-1;const Ie=$e.findIndex(isSameRouteRecord.bind(null,_e));if(Ie>-1)return Ie;const Ve=getOriginalPath(pe[he-2]);return he>1&&getOriginalPath(_e)===Ve&&$e[$e.length-1].path!==Ve?$e.findIndex(isSameRouteRecord.bind(null,pe[he-2])):Ie}),le=computed(()=>ie.value>-1&&includesParams(V.params,oe.value.params)),ue=computed(()=>ie.value>-1&&ie.value===V.matched.length-1&&isSameRouteLocationParams(V.params,oe.value.params));function de(pe={}){return guardEvent(pe)?r[unref(t.replace)?"replace":"push"](unref(t.to)).catch(noop$1):Promise.resolve()}return{route:oe,href:computed(()=>oe.value.href),isActive:le,isExactActive:ue,navigate:de}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(t,{slots:r}){const V=reactive(useLink(t)),{options:oe}=inject(routerKey),ie=computed(()=>({[getLinkClass(t.activeClass,oe.linkActiveClass,"router-link-active")]:V.isActive,[getLinkClass(t.exactActiveClass,oe.linkExactActiveClass,"router-link-exact-active")]:V.isExactActive}));return()=>{const le=r.default&&r.default(V);return t.custom?le:h$2("a",{"aria-current":V.isExactActive?t.ariaCurrentValue:null,href:V.href,onClick:V.navigate,class:ie.value},le)}}}),RouterLink=RouterLinkImpl;function guardEvent(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function includesParams(t,r){for(const V in r){const oe=r[V],ie=t[V];if(typeof oe=="string"){if(oe!==ie)return!1}else if(!isArray$3(ie)||ie.length!==oe.length||oe.some((le,ue)=>le!==ie[ue]))return!1}return!0}function getOriginalPath(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const getLinkClass=(t,r,V)=>t??r??V,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:V}){const oe=inject(routerViewLocationKey),ie=computed(()=>t.route||oe.value),le=inject(viewDepthKey,0),ue=computed(()=>{let he=unref(le);const{matched:_e}=ie.value;let $e;for(;($e=_e[he])&&!$e.components;)he++;return he}),de=computed(()=>ie.value.matched[ue.value]);provide(viewDepthKey,computed(()=>ue.value+1)),provide(matchedRouteKey,de),provide(routerViewLocationKey,ie);const pe=ref();return watch(()=>[pe.value,de.value,t.name],([he,_e,$e],[Ie,Ve,Fe])=>{_e&&(_e.instances[$e]=he,Ve&&Ve!==_e&&he&&he===Ie&&(_e.leaveGuards.size||(_e.leaveGuards=Ve.leaveGuards),_e.updateGuards.size||(_e.updateGuards=Ve.updateGuards))),he&&_e&&(!Ve||!isSameRouteRecord(_e,Ve)||!Ie)&&(_e.enterCallbacks[$e]||[]).forEach(Ue=>Ue(he))},{flush:"post"}),()=>{const he=ie.value,_e=t.name,$e=de.value,Ie=$e&&$e.components[_e];if(!Ie)return normalizeSlot(V.default,{Component:Ie,route:he});const Ve=$e.props[_e],Fe=Ve?Ve===!0?he.params:typeof Ve=="function"?Ve(he):Ve:null,qe=h$2(Ie,assign({},Fe,r,{onVnodeUnmounted:Et=>{Et.component.isUnmounted&&($e.instances[_e]=null)},ref:pe}));return normalizeSlot(V.default,{Component:qe,route:he})||qe}}});function normalizeSlot(t,r){if(!t)return null;const V=t(r);return V.length===1?V[0]:V}const RouterView=RouterViewImpl;function createRouter(t){const r=createRouterMatcher(t.routes,t),V=t.parseQuery||parseQuery,oe=t.stringifyQuery||stringifyQuery,ie=t.history,le=useCallbacks(),ue=useCallbacks(),de=useCallbacks(),pe=shallowRef(START_LOCATION_NORMALIZED);let he=START_LOCATION_NORMALIZED;isBrowser$1&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _e=applyToParams.bind(null,Kn=>""+Kn),$e=applyToParams.bind(null,encodeParam),Ie=applyToParams.bind(null,decode$1);function Ve(Kn,Gn){let Qn,ur;return isRouteName(Kn)?(Qn=r.getRecordMatcher(Kn),ur=Gn):ur=Kn,r.addRoute(ur,Qn)}function Fe(Kn){const Gn=r.getRecordMatcher(Kn);Gn&&r.removeRoute(Gn)}function Ue(){return r.getRoutes().map(Kn=>Kn.record)}function qe(Kn){return!!r.getRecordMatcher(Kn)}function Et(Kn,Gn){if(Gn=assign({},Gn||pe.value),typeof Kn=="string"){const er=parseURL(V,Kn,Gn.path),pr=r.resolve({path:er.path},Gn),Er=ie.createHref(er.fullPath);return assign(er,pr,{params:Ie(pr.params),hash:decode$1(er.hash),redirectedFrom:void 0,href:Er})}let Qn;if("path"in Kn)Qn=assign({},Kn,{path:parseURL(V,Kn.path,Gn.path).path});else{const er=assign({},Kn.params);for(const pr in er)er[pr]==null&&delete er[pr];Qn=assign({},Kn,{params:$e(er)}),Gn.params=$e(Gn.params)}const ur=r.resolve(Qn,Gn),cr=Kn.hash||"";ur.params=_e(Ie(ur.params));const Un=stringifyURL(oe,assign({},Kn,{hash:encodeHash(cr),path:ur.path})),qn=ie.createHref(Un);return assign({fullPath:Un,hash:cr,query:oe===stringifyQuery?normalizeQuery(Kn.query):Kn.query||{}},ur,{redirectedFrom:void 0,href:qn})}function At(Kn){return typeof Kn=="string"?parseURL(V,Kn,pe.value.path):assign({},Kn)}function Lt(Kn,Gn){if(he!==Kn)return createRouterError(8,{from:Gn,to:Kn})}function hn(Kn){return bn(Kn)}function _n(Kn){return hn(assign(At(Kn),{replace:!0}))}function vn(Kn){const Gn=Kn.matched[Kn.matched.length-1];if(Gn&&Gn.redirect){const{redirect:Qn}=Gn;let ur=typeof Qn=="function"?Qn(Kn):Qn;return typeof ur=="string"&&(ur=ur.includes("?")||ur.includes("#")?ur=At(ur):{path:ur},ur.params={}),assign({query:Kn.query,hash:Kn.hash,params:"path"in ur?{}:Kn.params},ur)}}function bn(Kn,Gn){const Qn=he=Et(Kn),ur=pe.value,cr=Kn.state,Un=Kn.force,qn=Kn.replace===!0,er=vn(Qn);if(er)return bn(assign(At(er),{state:typeof er=="object"?assign({},cr,er.state):cr,force:Un,replace:qn}),Gn||Qn);const pr=Qn;pr.redirectedFrom=Gn;let Er;return!Un&&isSameRouteLocation(oe,ur,Qn)&&(Er=createRouterError(16,{to:pr,from:ur}),Wn(ur,ur,!0,!1)),(Er?Promise.resolve(Er):wn(pr,ur)).catch(dr=>isNavigationFailure(dr)?isNavigationFailure(dr,2)?dr:Vn(dr):Ln(dr,pr,ur)).then(dr=>{if(dr){if(isNavigationFailure(dr,2))return bn(assign({replace:qn},At(dr.to),{state:typeof dr.to=="object"?assign({},cr,dr.to.state):cr,force:Un}),Gn||pr)}else dr=xn(pr,ur,!0,qn,cr);return En(pr,ur,dr),dr})}function Cn(Kn,Gn){const Qn=Lt(Kn,Gn);return Qn?Promise.reject(Qn):Promise.resolve()}function Sn(Kn){const Gn=tr.values().next().value;return Gn&&typeof Gn.runWithContext=="function"?Gn.runWithContext(Kn):Kn()}function wn(Kn,Gn){let Qn;const[ur,cr,Un]=extractChangingRecords(Kn,Gn);Qn=extractComponentsGuards(ur.reverse(),"beforeRouteLeave",Kn,Gn);for(const er of ur)er.leaveGuards.forEach(pr=>{Qn.push(guardToPromiseFn(pr,Kn,Gn))});const qn=Cn.bind(null,Kn,Gn);return Qn.push(qn),Jn(Qn).then(()=>{Qn=[];for(const er of le.list())Qn.push(guardToPromiseFn(er,Kn,Gn));return Qn.push(qn),Jn(Qn)}).then(()=>{Qn=extractComponentsGuards(cr,"beforeRouteUpdate",Kn,Gn);for(const er of cr)er.updateGuards.forEach(pr=>{Qn.push(guardToPromiseFn(pr,Kn,Gn))});return Qn.push(qn),Jn(Qn)}).then(()=>{Qn=[];for(const er of Un)if(er.beforeEnter)if(isArray$3(er.beforeEnter))for(const pr of er.beforeEnter)Qn.push(guardToPromiseFn(pr,Kn,Gn));else Qn.push(guardToPromiseFn(er.beforeEnter,Kn,Gn));return Qn.push(qn),Jn(Qn)}).then(()=>(Kn.matched.forEach(er=>er.enterCallbacks={}),Qn=extractComponentsGuards(Un,"beforeRouteEnter",Kn,Gn),Qn.push(qn),Jn(Qn))).then(()=>{Qn=[];for(const er of ue.list())Qn.push(guardToPromiseFn(er,Kn,Gn));return Qn.push(qn),Jn(Qn)}).catch(er=>isNavigationFailure(er,8)?er:Promise.reject(er))}function En(Kn,Gn,Qn){de.list().forEach(ur=>Sn(()=>ur(Kn,Gn,Qn)))}function xn(Kn,Gn,Qn,ur,cr){const Un=Lt(Kn,Gn);if(Un)return Un;const qn=Gn===START_LOCATION_NORMALIZED,er=isBrowser$1?history.state:{};Qn&&(ur||qn?ie.replace(Kn.fullPath,assign({scroll:qn&&er&&er.scroll},cr)):ie.push(Kn.fullPath,cr)),pe.value=Kn,Wn(Kn,Gn,Qn,qn),Vn()}let Pn;function kn(){Pn||(Pn=ie.listen((Kn,Gn,Qn)=>{if(!yr.listening)return;const ur=Et(Kn),cr=vn(ur);if(cr){bn(assign(cr,{replace:!0}),ur).catch(noop$1);return}he=ur;const Un=pe.value;isBrowser$1&&saveScrollPosition(getScrollKey(Un.fullPath,Qn.delta),computeScrollPosition()),wn(ur,Un).catch(qn=>isNavigationFailure(qn,12)?qn:isNavigationFailure(qn,2)?(bn(qn.to,ur).then(er=>{isNavigationFailure(er,20)&&!Qn.delta&&Qn.type===NavigationType.pop&&ie.go(-1,!1)}).catch(noop$1),Promise.reject()):(Qn.delta&&ie.go(-Qn.delta,!1),Ln(qn,ur,Un))).then(qn=>{qn=qn||xn(ur,Un,!1),qn&&(Qn.delta&&!isNavigationFailure(qn,8)?ie.go(-Qn.delta,!1):Qn.type===NavigationType.pop&&isNavigationFailure(qn,20)&&ie.go(-1,!1)),En(ur,Un,qn)}).catch(noop$1)}))}let Nn=useCallbacks(),Dn=useCallbacks(),Mn;function Ln(Kn,Gn,Qn){Vn(Kn);const ur=Dn.list();return ur.length?ur.forEach(cr=>cr(Kn,Gn,Qn)):console.error(Kn),Promise.reject(Kn)}function An(){return Mn&&pe.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((Kn,Gn)=>{Nn.add([Kn,Gn])})}function Vn(Kn){return Mn||(Mn=!Kn,kn(),Nn.list().forEach(([Gn,Qn])=>Kn?Qn(Kn):Gn()),Nn.reset()),Kn}function Wn(Kn,Gn,Qn,ur){const{scrollBehavior:cr}=t;if(!isBrowser$1||!cr)return Promise.resolve();const Un=!Qn&&getSavedScrollPosition(getScrollKey(Kn.fullPath,0))||(ur||!Qn)&&history.state&&history.state.scroll||null;return nextTick().then(()=>cr(Kn,Gn,Un)).then(qn=>qn&&scrollToPosition(qn)).catch(qn=>Ln(qn,Kn,Gn))}const Fn=Kn=>ie.go(Kn);let Yn;const tr=new Set,yr={currentRoute:pe,listening:!0,addRoute:Ve,removeRoute:Fe,hasRoute:qe,getRoutes:Ue,resolve:Et,options:t,push:hn,replace:_n,go:Fn,back:()=>Fn(-1),forward:()=>Fn(1),beforeEach:le.add,beforeResolve:ue.add,afterEach:de.add,onError:Dn.add,isReady:An,install(Kn){const Gn=this;Kn.component("RouterLink",RouterLink),Kn.component("RouterView",RouterView),Kn.config.globalProperties.$router=Gn,Object.defineProperty(Kn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(pe)}),isBrowser$1&&!Yn&&pe.value===START_LOCATION_NORMALIZED&&(Yn=!0,hn(ie.location).catch(cr=>{}));const Qn={};for(const cr in START_LOCATION_NORMALIZED)Object.defineProperty(Qn,cr,{get:()=>pe.value[cr],enumerable:!0});Kn.provide(routerKey,Gn),Kn.provide(routeLocationKey,shallowReactive(Qn)),Kn.provide(routerViewLocationKey,pe);const ur=Kn.unmount;tr.add(Kn),Kn.unmount=function(){tr.delete(Kn),tr.size<1&&(he=START_LOCATION_NORMALIZED,Pn&&Pn(),Pn=null,pe.value=START_LOCATION_NORMALIZED,Yn=!1,Mn=!1),ur()}}};function Jn(Kn){return Kn.reduce((Gn,Qn)=>Gn.then(()=>Sn(Qn)),Promise.resolve())}return yr}function extractChangingRecords(t,r){const V=[],oe=[],ie=[],le=Math.max(r.matched.length,t.matched.length);for(let ue=0;ue<le;ue++){const de=r.matched[ue];de&&(t.matched.find(he=>isSameRouteRecord(he,de))?oe.push(de):V.push(de));const pe=t.matched[ue];pe&&(r.matched.find(he=>isSameRouteRecord(he,pe))||ie.push(pe))}return[V,oe,ie]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const extractPathList=t=>{if(!Array.isArray(t))return console.warn("tree must be an array"),[];if(!t||t.length===0)return[];const r=[];for(const V of t)V.children&&V.children.length>0&&extractPathList(V.children),r.push(V.uniqueId);return r},deleteChildren=(t,r=[])=>{if(!Array.isArray(t))return console.warn("menuTree must be an array"),[];if(!t||t.length===0)return[];for(const[V,oe]of t.entries())oe.children&&oe.children.length===1&&delete oe.children,oe.id=V,oe.parentId=r.length?r[r.length-1]:null,oe.pathList=[...r,oe.id],oe.uniqueId=oe.pathList.length>1?oe.pathList.join("-"):oe.pathList[0],oe.children&&oe.children.length>0&&deleteChildren(oe.children,oe.pathList);return t},buildHierarchyTree=(t,r=[])=>{if(!Array.isArray(t))return console.warn("tree must be an array"),[];if(!t||t.length===0)return[];for(const[V,oe]of t.entries())oe.id=V,oe.parentId=r.length?r[r.length-1]:null,oe.pathList=[...r,oe.id],oe.children&&oe.children.length>0&&buildHierarchyTree(oe.children,oe.pathList);return t},getNodeByUniqueId=(t,r)=>{if(!Array.isArray(t))return console.warn("menuTree must be an array"),[];if(!t||t.length===0)return[];const V=t.find(ie=>ie.uniqueId===r);if(V)return V;const oe=t.filter(ie=>ie.children).map(ie=>ie.children).flat(1);return getNodeByUniqueId(oe,r)},appendFieldByUniqueId=(t,r,V)=>{if(!Array.isArray(t))return console.warn("menuTree must be an array"),[];if(!t||t.length===0)return[];for(const oe of t){const ie=oe.children&&oe.children.length>0;oe.uniqueId===r&&Object.prototype.toString.call(V)==="[object Object]"&&Object.assign(oe,V),ie&&appendFieldByUniqueId(oe.children,r,V)}return t},handleTree=(t,r,V,oe)=>{if(!Array.isArray(t))return console.warn("data must be an array"),[];const ie={id:r||"id",parentId:V||"parentId",childrenList:oe||"children"},le={},ue={},de=[];for(const he of t){const _e=he[ie.parentId];le[_e]==null&&(le[_e]=[]),ue[he[ie.id]]=he,le[_e].push(he)}for(const he of t){const _e=he[ie.parentId];ue[_e]==null&&de.push(he)}for(const he of de)pe(he);function pe(he){if(le[he[ie.id]]!==null&&(he[ie.childrenList]=le[he[ie.id]]),he[ie.childrenList])for(const _e of he[ie.childrenList])pe(_e)}return de},getAsyncRoutes=()=>http.request("get","/getAsyncRoutes"),IFrame=()=>__vitePreload(()=>import("./frameView.js"),["static/js/frameView.js","static/css/frameView.css"]),modulesRoutes=Object.assign({"/src/views/able/barcode.vue":()=>__vitePreload(()=>import("./barcode.js"),[]),"/src/views/able/cascader.vue":()=>__vitePreload(()=>import("./cascader.js"),["static/js/cascader.js","static/css/cascader.css"]),"/src/views/able/debounce.vue":()=>__vitePreload(()=>import("./debounce.js"),[]),"/src/views/able/directives.vue":()=>__vitePreload(()=>import("./directives.js"),[]),"/src/views/able/download.vue":()=>__vitePreload(()=>import("./download.js"),[]),"/src/views/able/excel.vue":()=>__vitePreload(()=>import("./excel.js"),["static/js/excel.js","static/js/xlsx.js"]),"/src/views/able/icon-select.vue":()=>__vitePreload(()=>import("./icon-select.js"),["static/js/icon-select.js","static/css/icon-select.css"]),"/src/views/able/infinite-scroll.vue":()=>__vitePreload(()=>import("./infinite-scroll.js"),[]),"/src/views/able/line-tree.vue":()=>__vitePreload(()=>import("./line-tree.js"),["static/js/line-tree.js","static/css/line-tree.css"]),"/src/views/able/menu-tree.vue":()=>__vitePreload(()=>import("./menu-tree.js"),["static/js/menu-tree.js","static/js/hooks.js"]),"/src/views/able/pdf.vue":()=>__vitePreload(()=>import("./pdf.js"),["static/js/pdf.js","static/js/vue.runtime.esm-bundler.js"]),"/src/views/able/pinyin.vue":()=>__vitePreload(()=>import("./pinyin.js"),["static/js/pinyin.js","static/js/index62.js","static/css/pinyin.css"]),"/src/views/able/print.vue":()=>__vitePreload(()=>import("./print.js"),["static/js/print.js","static/js/print2.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/app.js","static/css/print.css"]),"/src/views/able/qrcode.vue":()=>__vitePreload(()=>import("./qrcode.js"),["static/js/qrcode.js","static/js/index61.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css"]),"/src/views/able/sensitive.vue":()=>__vitePreload(()=>import("./sensitive.js"),[]),"/src/views/able/swiper.vue":()=>__vitePreload(()=>import("./swiper.js"),["static/js/swiper.js","static/css/swiper.css"]),"/src/views/able/timeline.vue":()=>__vitePreload(()=>import("./timeline.js"),["static/js/timeline.js","static/js/index60.js","static/css/index12.css","static/js/hooks.js","static/js/iphone.js","static/css/timeline.css"]),"/src/views/able/video-frame/index.vue":()=>__vitePreload(()=>import("./index2.js"),["static/js/index2.js","static/js/mitt.js","static/css/index2.css"]),"/src/views/able/virtual-list/horizontal.vue":()=>__vitePreload(()=>import("./horizontal.js"),["static/js/horizontal.js","static/js/vue-virtual-scroller.esm.js","static/css/horizontal.css"]),"/src/views/able/virtual-list/index.vue":()=>__vitePreload(()=>import("./index4.js"),["static/js/index4.js","static/js/vertical.js","static/js/vue-virtual-scroller.esm.js","static/css/vertical.css","static/js/horizontal.js","static/css/horizontal.css","static/css/index4.css"]),"/src/views/able/virtual-list/vertical.vue":()=>__vitePreload(()=>import("./vertical.js"),["static/js/vertical.js","static/js/vue-virtual-scroller.esm.js","static/css/vertical.css"]),"/src/views/able/watermark.vue":()=>__vitePreload(()=>import("./watermark.js"),[]),"/src/views/able/wavesurfer/index.vue":()=>__vitePreload(()=>import("./index3.js"),["static/js/index3.js","static/js/vue-tippy.esm-browser.js","static/css/index3.css"]),"/src/views/about/columns.tsx":()=>__vitePreload(()=>import("./columns.js"),[]),"/src/views/about/index.vue":()=>__vitePreload(()=>import("./index5.js"),["static/js/index5.js","static/js/columns.js","static/css/index5.css"]),"/src/views/components/button/index.vue":()=>__vitePreload(()=>import("./index14.js"),[]),"/src/views/components/contextmenu/basic.vue":()=>__vitePreload(()=>import("./basic.js"),["static/js/basic.js","static/js/index.esm.js","static/css/basic.css"]),"/src/views/components/contextmenu/index.vue":()=>__vitePreload(()=>import("./index19.js"),["static/js/index19.js","static/js/basic.js","static/js/index.esm.js","static/css/basic.css","static/js/menuGroup.js","static/css/menuGroup.css","static/js/menuDynamic.js","static/css/menuDynamic.css","static/css/index18.css"]),"/src/views/components/contextmenu/menuDynamic.vue":()=>__vitePreload(()=>import("./menuDynamic.js"),["static/js/menuDynamic.js","static/js/index.esm.js","static/css/menuDynamic.css"]),"/src/views/components/contextmenu/menuGroup.vue":()=>__vitePreload(()=>import("./menuGroup.js"),["static/js/menuGroup.js","static/js/index.esm.js","static/css/menuGroup.css"]),"/src/views/components/count-to/index.vue":()=>__vitePreload(()=>import("./index16.js"),["static/js/index16.js","static/js/propTypes.js","static/css/index15.css"]),"/src/views/components/cropping/index.vue":()=>__vitePreload(()=>import("./index15.js"),["static/js/index15.js","static/js/index63.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css"]),"/src/views/components/danmaku/index.vue":()=>__vitePreload(()=>import("./index22.js"),["static/js/index22.js","static/css/index19.css"]),"/src/views/components/dialog/form.vue":()=>__vitePreload(()=>import("./form.js"),["static/js/form.js","static/js/form.vue_vue_type_script_setup_true_lang.js"]),"/src/views/components/dialog/formPrimitive.vue":()=>__vitePreload(()=>import("./formPrimitive.js"),["static/js/formPrimitive.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang.js"]),"/src/views/components/dialog/index.vue":()=>__vitePreload(()=>import("./index6.js"),["static/js/index6.js","static/js/form.vue_vue_type_script_setup_true_lang.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang.js"]),"/src/views/components/draggable/index.vue":()=>__vitePreload(()=>import("./index12.js"),["static/js/index12.js","static/js/sortable.esm.js","static/js/app.js","static/js/hooks.js","static/css/index10.css"]),"/src/views/components/json-editor/index.vue":()=>__vitePreload(()=>import("./index21.js"),["static/js/index21.js","static/js/styles.js","static/js/vue.runtime.esm-bundler.js","static/css/styles.css"]),"/src/views/components/map/index.vue":()=>__vitePreload(()=>import("./index11.js"),["static/js/index11.js","static/css/index9.css"]),"/src/views/components/message/index.vue":()=>__vitePreload(()=>import("./index7.js"),["static/js/index7.js","static/js/hooks.js","static/js/check.js"]),"/src/views/components/seamless-scroll/index.vue":()=>__vitePreload(()=>import("./index18.js"),["static/js/index18.js","static/css/index17.css"]),"/src/views/components/segmented/index.vue":()=>__vitePreload(()=>import("./index8.js"),["static/js/index8.js","static/js/home-filled.js","static/js/hooks.js","static/css/index6.css"]),"/src/views/components/selector/index.vue":()=>__vitePreload(()=>import("./index17.js"),["static/js/index17.js","static/css/index16.css"]),"/src/views/components/split-pane/index.vue":()=>__vitePreload(()=>import("./index13.js"),["static/js/index13.js","static/css/index11.css"]),"/src/views/components/typeit/index.vue":()=>__vitePreload(()=>import("./index20.js"),["static/js/index20.js","static/js/index64.js"]),"/src/views/components/video/index.vue":()=>__vitePreload(()=>import("./index10.js"),["static/js/index10.js","static/js/hooks.js","static/css/index8.css"]),"/src/views/components/waterfall/index.vue":()=>__vitePreload(()=>import("./index9.js"),["static/js/index9.js","static/js/back_top.js","static/css/index7.css"]),"/src/views/editor/components/base.vue":()=>__vitePreload(()=>import("./base.js"),["static/js/base.js","static/js/base.vue_vue_type_script_setup_true_lang.js","static/js/index.esm2.js","static/css/index21.css"]),"/src/views/editor/components/multi.vue":()=>__vitePreload(()=>import("./multi.js"),["static/js/multi.js","static/js/multi.vue_vue_type_script_setup_true_lang.js","static/js/index65.js","static/js/index.esm2.js","static/css/index21.css"]),"/src/views/editor/components/picUpload.vue":()=>__vitePreload(()=>import("./picUpload.js"),["static/js/picUpload.js","static/js/picUpload.vue_vue_type_script_setup_true_lang.js","static/js/index.esm2.js","static/css/index21.css"]),"/src/views/editor/index.vue":()=>__vitePreload(()=>import("./index23.js"),["static/js/index23.js","static/js/base.vue_vue_type_script_setup_true_lang.js","static/js/index.esm2.js","static/css/index21.css","static/js/multi.vue_vue_type_script_setup_true_lang.js","static/js/index65.js","static/js/picUpload.vue_vue_type_script_setup_true_lang.js","static/css/index20.css"]),"/src/views/empty/index.vue":()=>__vitePreload(()=>import("./index36.js"),["static/js/index36.js","static/css/index27.css"]),"/src/views/error/403.vue":()=>__vitePreload(()=>import("./403.js"),[]),"/src/views/error/404.vue":()=>__vitePreload(()=>import("./404.js"),[]),"/src/views/error/500.vue":()=>__vitePreload(()=>import("./500.js"),[]),"/src/views/flow-chart/index.vue":()=>__vitePreload(()=>import("./index24.js"),["static/js/index24.js","static/js/hooks.js","static/js/styles.js","static/js/vue.runtime.esm-bundler.js","static/css/styles.css","static/js/set-up.js","static/css/index22.css"]),"/src/views/guide/index.vue":()=>__vitePreload(()=>import("./index25.js"),["static/js/index25.js","static/css/index23.css"]),"/src/views/list/card/components/Card.vue":()=>__vitePreload(()=>import("./Card.js"),["static/js/Card.js","static/js/more-2-fill.js","static/css/Card.css"]),"/src/views/list/card/components/DialogForm.vue":()=>__vitePreload(()=>import("./DialogForm.js"),["static/js/DialogForm.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang.js"]),"/src/views/list/card/index.vue":()=>__vitePreload(()=>import("./index28.js"),["static/js/index28.js","static/js/Card.js","static/js/more-2-fill.js","static/css/Card.css","static/js/list3.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang.js","static/js/hooks.js","static/js/search.js","static/js/add-circle-line.js"]),"/src/views/login/components/phone.vue":()=>__vitePreload(()=>import("./phone.js"),["static/js/phone.js","static/js/phone.vue_vue_type_script_setup_true_lang.js","static/js/motion.js","static/js/verifyCode.js","static/js/hooks.js","static/js/iphone.js"]),"/src/views/login/components/qrCode.vue":()=>__vitePreload(()=>import("./qrCode2.js"),["static/js/qrCode2.js","static/js/qrCode.vue_vue_type_script_setup_true_lang.js","static/js/motion.js","static/js/index61.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css"]),"/src/views/login/components/regist.vue":()=>__vitePreload(()=>import("./regist.js"),["static/js/regist.js","static/js/regist.vue_vue_type_script_setup_true_lang.js","static/js/motion.js","static/js/verifyCode.js","static/js/hooks.js","static/js/lock-fill.js","static/js/iphone.js","static/js/user-3-fill.js"]),"/src/views/login/components/update.vue":()=>__vitePreload(()=>import("./update.js"),["static/js/update.js","static/js/update.vue_vue_type_script_setup_true_lang.js","static/js/motion.js","static/js/verifyCode.js","static/js/hooks.js","static/js/lock-fill.js","static/js/iphone.js"]),"/src/views/login/index.vue":()=>__vitePreload(()=>import("./index37.js"),["static/js/index37.js","static/js/motion.js","static/js/verifyCode.js","static/js/phone.vue_vue_type_script_setup_true_lang.js","static/js/hooks.js","static/js/iphone.js","static/js/index64.js","static/js/qrCode.vue_vue_type_script_setup_true_lang.js","static/js/index61.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css","static/js/regist.vue_vue_type_script_setup_true_lang.js","static/js/lock-fill.js","static/js/user-3-fill.js","static/js/update.vue_vue_type_script_setup_true_lang.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/check.js","static/css/index28.css"]),"/src/views/menuoverflow/index.vue":()=>__vitePreload(()=>import("./index29.js"),[]),"/src/views/nested/menu1/menu1-1/index.vue":()=>__vitePreload(()=>import("./index30.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>__vitePreload(()=>import("./index31.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>__vitePreload(()=>import("./index32.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>__vitePreload(()=>import("./index33.js"),[]),"/src/views/nested/menu2/index.vue":()=>__vitePreload(()=>import("./index34.js"),[]),"/src/views/permission/button/index.vue":()=>__vitePreload(()=>import("./index38.js"),[]),"/src/views/permission/page/index.vue":()=>__vitePreload(()=>import("./index39.js"),[]),"/src/views/pure-table/base/base.vue":()=>__vitePreload(()=>import("./base2.js"),["static/js/base2.js","static/js/base.vue_vue_type_script_setup_true_lang2.js","static/js/data.js"]),"/src/views/pure-table/base/border.vue":()=>__vitePreload(()=>import("./border.js"),["static/js/border.js","static/js/border.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/column-template/columns.tsx":()=>__vitePreload(()=>import("./columns2.js"),["static/js/columns2.js","static/js/data.js"]),"/src/views/pure-table/base/column-template/index.vue":()=>__vitePreload(()=>import("./index40.js"),["static/js/index40.js","static/js/index.vue_vue_type_script_setup_true_lang.js","static/js/columns2.js","static/js/data.js"]),"/src/views/pure-table/base/customIndex.vue":()=>__vitePreload(()=>import("./customIndex.js"),["static/js/customIndex.js","static/js/customIndex.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/expand.vue":()=>__vitePreload(()=>import("./expand.js"),["static/js/expand.js","static/js/expand.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/filters.vue":()=>__vitePreload(()=>import("./filters.js"),["static/js/filters.js","static/js/filters.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/fixColumn.vue":()=>__vitePreload(()=>import("./fixColumn.js"),["static/js/fixColumn.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/fixHeader.vue":()=>__vitePreload(()=>import("./fixHeader.js"),["static/js/fixHeader.js","static/js/fixHeader.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/fluidHeight.vue":()=>__vitePreload(()=>import("./fluidHeight.js"),["static/js/fluidHeight.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/groupHeader.vue":()=>__vitePreload(()=>import("./groupHeader.js"),["static/js/groupHeader.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/header-renderer/columns.tsx":()=>__vitePreload(()=>import("./columns3.js"),["static/js/columns3.js","static/js/data.js"]),"/src/views/pure-table/base/header-renderer/index.vue":()=>__vitePreload(()=>import("./index41.js"),["static/js/index41.js","static/js/index.vue_vue_type_script_setup_true_lang2.js","static/js/columns3.js","static/js/data.js"]),"/src/views/pure-table/base/imgPreview.vue":()=>__vitePreload(()=>import("./imgPreview.js"),["static/js/imgPreview.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/layout.vue":()=>__vitePreload(()=>import("./layout.js"),["static/js/layout.js","static/js/layout.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/list.tsx":()=>__vitePreload(()=>import("./list.js"),["static/js/list.js","static/js/base.vue_vue_type_script_setup_true_lang2.js","static/js/data.js","static/js/stripe.vue_vue_type_script_setup_true_lang.js","static/js/border.vue_vue_type_script_setup_true_lang.js","static/js/status.vue_vue_type_style_index_0_lang.js","static/css/status.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang.js","static/js/radio.vue_vue_type_script_setup_true_lang.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang.js","static/js/sortable.vue_vue_type_script_setup_true_lang.js","static/js/filters.vue_vue_type_script_setup_true_lang.js","static/js/index.vue_vue_type_script_setup_true_lang.js","static/js/columns2.js","static/js/index.vue_vue_type_script_setup_true_lang2.js","static/js/columns3.js","static/js/expand.vue_vue_type_script_setup_true_lang.js","static/js/tree.vue_vue_type_script_setup_true_lang.js","static/js/totalRow.vue_vue_type_script_setup_true_lang.js","static/js/merge.vue_vue_type_script_setup_true_lang.js","static/js/customIndex.vue_vue_type_script_setup_true_lang.js","static/js/layout.vue_vue_type_script_setup_true_lang.js","static/js/nestProp.vue_vue_type_script_setup_true_lang.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/merge.vue":()=>__vitePreload(()=>import("./merge.js"),["static/js/merge.js","static/js/merge.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/multipleChoice.vue":()=>__vitePreload(()=>import("./multipleChoice.js"),["static/js/multipleChoice.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/nestProp.vue":()=>__vitePreload(()=>import("./nestProp.js"),["static/js/nestProp.js","static/js/nestProp.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/radio.vue":()=>__vitePreload(()=>import("./radio.js"),["static/js/radio.js","static/js/radio.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/sortable.vue":()=>__vitePreload(()=>import("./sortable.js"),["static/js/sortable.js","static/js/sortable.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/status.vue":()=>__vitePreload(()=>import("./status.js"),["static/js/status.js","static/js/status.vue_vue_type_style_index_0_lang.js","static/js/data.js","static/css/status.css"]),"/src/views/pure-table/base/stripe.vue":()=>__vitePreload(()=>import("./stripe.js"),["static/js/stripe.js","static/js/stripe.vue_vue_type_script_setup_true_lang.js","static/js/data.js"]),"/src/views/pure-table/base/totalRow.vue":()=>__vitePreload(()=>import("./totalRow.js"),["static/js/totalRow.js","static/js/totalRow.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/base/tree.vue":()=>__vitePreload(()=>import("./tree.js"),["static/js/tree.js","static/js/tree.vue_vue_type_script_setup_true_lang.js"]),"/src/views/pure-table/high.vue":()=>__vitePreload(()=>import("./high.js"),["static/js/high.js","static/js/list2.js","static/js/index.vue_vue_type_script_setup_true_lang3.js","static/js/columns4.js","static/js/data2.js","static/js/index.vue_vue_type_script_setup_true_lang4.js","static/js/columns11.js","static/js/index.vue_vue_type_script_setup_true_lang5.js","static/js/columns7.js","static/js/sortable.esm.js","static/js/index.vue_vue_type_script_setup_true_lang6.js","static/js/columns6.js","static/js/index.vue_vue_type_script_setup_true_lang7.js","static/js/columns5.js","static/js/index.vue_vue_type_script_setup_true_lang8.js","static/js/columns10.js","static/js/xlsx.js","static/js/index.vue_vue_type_script_setup_true_lang9.js","static/js/columns9.js","static/js/edit-pen.js","static/js/check.js","static/js/index.vue_vue_type_script_setup_true_lang10.js","static/js/columns15.js","static/js/index.vue_vue_type_script_setup_true_lang11.js","static/js/columns12.js","static/js/print2.js","static/js/index.vue_vue_type_script_setup_true_lang12.js","static/js/columns8.js","static/js/index.vue_vue_type_script_setup_true_lang13.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js","static/css/high.css"]),"/src/views/pure-table/high/adaptive/columns.tsx":()=>__vitePreload(()=>import("./columns4.js"),["static/js/columns4.js","static/js/data2.js"]),"/src/views/pure-table/high/adaptive/index.vue":()=>__vitePreload(()=>import("./index42.js"),["static/js/index42.js","static/js/index.vue_vue_type_script_setup_true_lang3.js","static/js/columns4.js","static/js/data2.js"]),"/src/views/pure-table/high/contextmenu/columns.tsx":()=>__vitePreload(()=>import("./columns5.js"),["static/js/columns5.js","static/js/data2.js"]),"/src/views/pure-table/high/contextmenu/index.vue":()=>__vitePreload(()=>import("./index43.js"),["static/js/index43.js","static/js/index.vue_vue_type_script_setup_true_lang7.js","static/js/columns5.js","static/js/data2.js"]),"/src/views/pure-table/high/drag/column/columns.tsx":()=>__vitePreload(()=>import("./columns6.js"),["static/js/columns6.js","static/js/sortable.esm.js","static/js/data2.js"]),"/src/views/pure-table/high/drag/column/index.vue":()=>__vitePreload(()=>import("./index44.js"),["static/js/index44.js","static/js/index.vue_vue_type_script_setup_true_lang6.js","static/js/columns6.js","static/js/sortable.esm.js","static/js/data2.js"]),"/src/views/pure-table/high/drag/row/columns.tsx":()=>__vitePreload(()=>import("./columns7.js"),["static/js/columns7.js","static/js/sortable.esm.js","static/js/data2.js"]),"/src/views/pure-table/high/drag/row/index.vue":()=>__vitePreload(()=>import("./index45.js"),["static/js/index45.js","static/js/index.vue_vue_type_script_setup_true_lang5.js","static/js/columns7.js","static/js/sortable.esm.js","static/js/data2.js"]),"/src/views/pure-table/high/echarts/columns.tsx":()=>__vitePreload(()=>import("./columns8.js"),["static/js/columns8.js","static/js/data2.js"]),"/src/views/pure-table/high/echarts/index.vue":()=>__vitePreload(()=>import("./index46.js"),["static/js/index46.js","static/js/index.vue_vue_type_script_setup_true_lang12.js","static/js/columns8.js","static/js/data2.js"]),"/src/views/pure-table/high/edit/columns.tsx":()=>__vitePreload(()=>import("./columns9.js"),["static/js/columns9.js","static/js/data2.js","static/js/edit-pen.js","static/js/check.js"]),"/src/views/pure-table/high/edit/index.vue":()=>__vitePreload(()=>import("./index47.js"),["static/js/index47.js","static/js/index.vue_vue_type_script_setup_true_lang9.js","static/js/columns9.js","static/js/data2.js","static/js/edit-pen.js","static/js/check.js"]),"/src/views/pure-table/high/excel/columns.tsx":()=>__vitePreload(()=>import("./columns10.js"),["static/js/columns10.js","static/js/xlsx.js","static/js/data2.js"]),"/src/views/pure-table/high/excel/index.vue":()=>__vitePreload(()=>import("./index48.js"),["static/js/index48.js","static/js/index.vue_vue_type_script_setup_true_lang8.js","static/js/columns10.js","static/js/xlsx.js","static/js/data2.js"]),"/src/views/pure-table/high/list.tsx":()=>__vitePreload(()=>import("./list2.js"),["static/js/list2.js","static/js/index.vue_vue_type_script_setup_true_lang3.js","static/js/columns4.js","static/js/data2.js","static/js/index.vue_vue_type_script_setup_true_lang4.js","static/js/columns11.js","static/js/index.vue_vue_type_script_setup_true_lang5.js","static/js/columns7.js","static/js/sortable.esm.js","static/js/index.vue_vue_type_script_setup_true_lang6.js","static/js/columns6.js","static/js/index.vue_vue_type_script_setup_true_lang7.js","static/js/columns5.js","static/js/index.vue_vue_type_script_setup_true_lang8.js","static/js/columns10.js","static/js/xlsx.js","static/js/index.vue_vue_type_script_setup_true_lang9.js","static/js/columns9.js","static/js/edit-pen.js","static/js/check.js","static/js/index.vue_vue_type_script_setup_true_lang10.js","static/js/columns15.js","static/js/index.vue_vue_type_script_setup_true_lang11.js","static/js/columns12.js","static/js/print2.js","static/js/index.vue_vue_type_script_setup_true_lang12.js","static/js/columns8.js","static/js/index.vue_vue_type_script_setup_true_lang13.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js"]),"/src/views/pure-table/high/page/columns.tsx":()=>__vitePreload(()=>import("./columns11.js"),["static/js/columns11.js","static/js/data2.js"]),"/src/views/pure-table/high/page/index.vue":()=>__vitePreload(()=>import("./index49.js"),["static/js/index49.js","static/js/index.vue_vue_type_script_setup_true_lang4.js","static/js/columns11.js","static/js/data2.js"]),"/src/views/pure-table/high/prints/columns.tsx":()=>__vitePreload(()=>import("./columns12.js"),["static/js/columns12.js","static/js/print2.js","static/js/data2.js"]),"/src/views/pure-table/high/prints/index.vue":()=>__vitePreload(()=>import("./index50.js"),["static/js/index50.js","static/js/index.vue_vue_type_script_setup_true_lang11.js","static/js/columns12.js","static/js/print2.js","static/js/data2.js"]),"/src/views/pure-table/high/table-select/index.vue":()=>__vitePreload(()=>import("./index51.js"),["static/js/index51.js","static/js/index.vue_vue_type_script_setup_true_lang13.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/data2.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js"]),"/src/views/pure-table/high/table-select/multiple/columns.tsx":()=>__vitePreload(()=>import("./columns13.js"),["static/js/columns13.js","static/js/data2.js"]),"/src/views/pure-table/high/table-select/multiple/index.vue":()=>__vitePreload(()=>import("./index52.js"),["static/js/index52.js","static/js/index.vue_vue_type_script_setup_true_lang15.js","static/js/columns13.js","static/js/data2.js"]),"/src/views/pure-table/high/table-select/radio/columns.tsx":()=>__vitePreload(()=>import("./columns14.js"),["static/js/columns14.js","static/js/data2.js"]),"/src/views/pure-table/high/table-select/radio/index.vue":()=>__vitePreload(()=>import("./index53.js"),["static/js/index53.js","static/js/index.vue_vue_type_script_setup_true_lang14.js","static/js/columns14.js","static/js/data2.js"]),"/src/views/pure-table/high/watermark/columns.tsx":()=>__vitePreload(()=>import("./columns15.js"),["static/js/columns15.js","static/js/data2.js"]),"/src/views/pure-table/high/watermark/index.vue":()=>__vitePreload(()=>import("./index54.js"),["static/js/index54.js","static/js/index.vue_vue_type_script_setup_true_lang10.js","static/js/columns15.js","static/js/data2.js"]),"/src/views/pure-table/index.vue":()=>__vitePreload(()=>import("./index35.js"),["static/js/index35.js","static/js/list.js","static/js/base.vue_vue_type_script_setup_true_lang2.js","static/js/data.js","static/js/stripe.vue_vue_type_script_setup_true_lang.js","static/js/border.vue_vue_type_script_setup_true_lang.js","static/js/status.vue_vue_type_style_index_0_lang.js","static/css/status.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang.js","static/js/radio.vue_vue_type_script_setup_true_lang.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang.js","static/js/sortable.vue_vue_type_script_setup_true_lang.js","static/js/filters.vue_vue_type_script_setup_true_lang.js","static/js/index.vue_vue_type_script_setup_true_lang.js","static/js/columns2.js","static/js/index.vue_vue_type_script_setup_true_lang2.js","static/js/columns3.js","static/js/expand.vue_vue_type_script_setup_true_lang.js","static/js/tree.vue_vue_type_script_setup_true_lang.js","static/js/totalRow.vue_vue_type_script_setup_true_lang.js","static/js/merge.vue_vue_type_script_setup_true_lang.js","static/js/customIndex.vue_vue_type_script_setup_true_lang.js","static/js/layout.vue_vue_type_script_setup_true_lang.js","static/js/nestProp.vue_vue_type_script_setup_true_lang.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang.js","static/css/index26.css"]),"/src/views/result/columns.tsx":()=>__vitePreload(()=>import("./columns16.js"),["static/js/columns16.js","static/js/arrow-right-s-line.js"]),"/src/views/result/fail.vue":()=>__vitePreload(()=>import("./fail.js"),["static/js/fail.js","static/js/columns16.js","static/js/arrow-right-s-line.js","static/css/fail.css"]),"/src/views/result/success.vue":()=>__vitePreload(()=>import("./success.js"),["static/js/success.js","static/css/success.css"]),"/src/views/system/dept/form.vue":()=>__vitePreload(()=>import("./form2.js"),["static/js/form2.js","static/js/form.vue_vue_type_script_setup_true_lang2.js","static/js/index65.js","static/js/hooks2.js"]),"/src/views/system/dept/index.vue":()=>__vitePreload(()=>import("./index55.js"),["static/js/index55.js","static/js/hook.js","static/js/form.vue_vue_type_script_setup_true_lang2.js","static/js/index65.js","static/js/hooks2.js","static/js/system.js","static/js/refresh.js","static/js/epTheme.js","static/js/sortable.esm.js","static/js/hooks.js","static/js/edit-pen.js","static/js/search.js","static/js/add-circle-line.js","static/css/index29.css"]),"/src/views/system/dept/utils/hook.tsx":()=>__vitePreload(()=>import("./hook.js"),["static/js/hook.js","static/js/form.vue_vue_type_script_setup_true_lang2.js","static/js/index65.js","static/js/hooks2.js","static/js/system.js"]),"/src/views/system/role/form.vue":()=>__vitePreload(()=>import("./form3.js"),["static/js/form3.js","static/js/form.vue_vue_type_script_setup_true_lang3.js"]),"/src/views/system/role/index.vue":()=>__vitePreload(()=>import("./index56.js"),["static/js/index56.js","static/js/hook2.js","static/js/form.vue_vue_type_script_setup_true_lang3.js","static/js/system.js","static/js/hooks2.js","static/js/refresh.js","static/js/epTheme.js","static/js/sortable.esm.js","static/js/hooks.js","static/js/edit-pen.js","static/js/search.js","static/js/menu.js","static/js/add-circle-line.js","static/css/index30.css"]),"/src/views/system/role/utils/hook.tsx":()=>__vitePreload(()=>import("./hook2.js"),["static/js/hook2.js","static/js/form.vue_vue_type_script_setup_true_lang3.js","static/js/system.js","static/js/hooks2.js"]),"/src/views/system/user/form/index.vue":()=>__vitePreload(()=>import("./index57.js"),["static/js/index57.js","static/js/index.vue_vue_type_script_setup_true_lang16.js","static/js/index65.js","static/js/hooks2.js"]),"/src/views/system/user/form/role.vue":()=>__vitePreload(()=>import("./role.js"),["static/js/role.js","static/js/role.vue_vue_type_script_setup_true_lang.js","static/js/index65.js"]),"/src/views/system/user/index.vue":()=>__vitePreload(()=>import("./index58.js"),["static/js/index58.js","static/js/tree2.js","static/js/hooks.js","static/js/git-branch-line.js","static/js/search.js","static/js/more-2-fill.js","static/js/office-building.js","static/css/tree.css","static/js/hook3.js","static/js/role.vue_vue_type_script_setup_true_lang.js","static/js/index65.js","static/js/index.vue_vue_type_script_setup_true_lang16.js","static/js/hooks2.js","static/js/upload.vue_vue_type_script_setup_true_lang.js","static/js/index63.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css","static/js/system.js","static/css/hook.css","static/js/refresh.js","static/js/epTheme.js","static/js/sortable.esm.js","static/js/admin-line.js","static/js/edit-pen.js","static/js/add-circle-line.js","static/css/index31.css"]),"/src/views/system/user/tree.vue":()=>__vitePreload(()=>import("./tree2.js"),["static/js/tree2.js","static/js/hooks.js","static/js/git-branch-line.js","static/js/search.js","static/js/more-2-fill.js","static/js/office-building.js","static/css/tree.css"]),"/src/views/system/user/upload.vue":()=>__vitePreload(()=>import("./upload.js"),["static/js/upload.js","static/js/upload.vue_vue_type_script_setup_true_lang.js","static/js/index63.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css"]),"/src/views/system/user/utils/hook.tsx":()=>__vitePreload(()=>import("./hook3.js"),["static/js/hook3.js","static/js/role.vue_vue_type_script_setup_true_lang.js","static/js/index65.js","static/js/index.vue_vue_type_script_setup_true_lang16.js","static/js/hooks2.js","static/js/upload.vue_vue_type_script_setup_true_lang.js","static/js/index63.js","static/js/vue-tippy.esm-browser.js","static/css/index14.css","static/js/system.js","static/css/hook.css"]),"/src/views/tabs/index.vue":()=>__vitePreload(()=>import("./index59.js"),["static/js/index59.js","static/js/hooks3.js"]),"/src/views/tabs/params-detail.vue":()=>__vitePreload(()=>import("./params-detail.js"),["static/js/params-detail.js","static/js/hooks3.js"]),"/src/views/tabs/query-detail.vue":()=>__vitePreload(()=>import("./query-detail.js"),["static/js/query-detail.js","static/js/hooks3.js"]),"/src/views/welcome/components/Bar.vue":()=>__vitePreload(()=>import("./Bar.js"),["static/js/Bar.js","static/js/Bar.vue_vue_type_script_setup_true_lang.js","static/js/app.js"]),"/src/views/welcome/components/Github.vue":()=>__vitePreload(()=>import("./Github.js"),["static/js/Github.js","static/js/Github.vue_vue_type_script_setup_true_lang.js","static/js/columns17.js","static/js/index64.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js"]),"/src/views/welcome/components/Line.vue":()=>__vitePreload(()=>import("./Line.js"),["static/js/Line.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/app.js"]),"/src/views/welcome/components/Pie.vue":()=>__vitePreload(()=>import("./Pie.js"),["static/js/Pie.js","static/js/Pie.vue_vue_type_script_setup_true_lang.js","static/js/app.js"]),"/src/views/welcome/components/columns.tsx":()=>__vitePreload(()=>import("./columns17.js"),["static/js/columns17.js","static/js/index64.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js"]),"/src/views/welcome/index.vue":()=>__vitePreload(()=>import("./index27.js"),["static/js/index27.js","static/js/Bar.vue_vue_type_script_setup_true_lang.js","static/js/app.js","static/js/Pie.vue_vue_type_script_setup_true_lang.js","static/js/Line.vue_vue_type_script_setup_true_lang.js","static/js/list3.js","static/js/index64.js","static/js/Github.vue_vue_type_script_setup_true_lang.js","static/js/columns17.js","static/js/office-building.js","static/js/iphone.js","static/js/user-3-fill.js","static/js/index60.js","static/css/index12.css","static/css/index25.css"])});function handRank(t){const{name:r,path:V,parentId:oe,meta:ie}=t;return N(oe)?!!(N(ie==null?void 0:ie.rank)||(ie==null?void 0:ie.rank)===0&&r!=="Home"&&V!=="/"):!1}function ascending(t){return t.forEach((r,V)=>{handRank(r)&&(r.meta.rank=V+2)}),t.sort((r,V)=>(r==null?void 0:r.meta.rank)-(V==null?void 0:V.meta.rank))}function filterTree(t){const r=en(t).filter(V=>{var oe;return((oe=V.meta)==null?void 0:oe.showLink)!==!1});return r.forEach(V=>V.children&&(V.children=filterTree(V.children))),r}function filterChildrenTree(t){const r=en(t).filter(V=>{var oe;return((oe=V==null?void 0:V.children)==null?void 0:oe.length)!==0});return r.forEach(V=>V.children&&(V.children=filterTree(V.children))),r}function isOneOfArray(t,r){return Array.isArray(t)&&Array.isArray(r)?vr(t,r).length>0:!0}function filterNoPermissionTree(t){var oe;const r=((oe=rr().getItem(sessionKey))==null?void 0:oe.roles)??[],V=en(t).filter(ie=>{var le;return isOneOfArray((le=ie.meta)==null?void 0:le.roles,r)});return V.forEach(ie=>ie.children&&(ie.children=filterNoPermissionTree(ie.children))),filterChildrenTree(V)}function getParentPaths(t,r,V="path"){function oe(ie,le,ue){for(let de=0;de<ie.length;de++){const pe=ie[de];if(pe[V]===le)return ue;if(!(!pe.children||!pe.children.length)){if(ue.push(pe.path),oe(pe.children,le,ue).length)return ue;ue.pop()}}return[]}return oe(r,t,[])}function findRouteByPath(t,r){let V=r.find(oe=>oe.path==t);if(V)return isProxy(V)?toRaw(V):V;for(let oe=0;oe<r.length;oe++)if(r[oe].children instanceof Array&&r[oe].children.length>0&&(V=findRouteByPath(t,r[oe].children),V))return isProxy(V)?toRaw(V):V;return null}function addPathMatch(){router.hasRoute("pathMatch")||router.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function handleAsyncRoutes(t){t.length===0||formatFlatteningRoutes(addAsyncRoutes(t)).map(r=>{if(router.options.routes[0].children.findIndex(V=>V.path===r.path)===-1){router.options.routes[0].children.push(r),ascending(router.options.routes[0].children),router.hasRoute(r==null?void 0:r.name)||router.addRoute(r);const V=router.getRoutes().find(oe=>oe.path==="/");router.addRoute(V)}}),usePermissionStoreHook().handleWholeMenus(t),addPathMatch()}function initRouter(){var t;if((t=getConfig())!=null&&t.CachingAsyncRoutes){const r="async-routes",V=rr().getItem(r);return V&&(V==null?void 0:V.length)>0?new Promise(oe=>{handleAsyncRoutes(V),oe(router)}):new Promise(oe=>{getAsyncRoutes().then(({data:ie})=>{handleAsyncRoutes(en(ie)),rr().setItem(r,ie),oe(router)})})}else return new Promise(r=>{getAsyncRoutes().then(({data:V})=>{handleAsyncRoutes(en(V)),r(router)})})}function formatFlatteningRoutes(t){if(t.length===0)return t;let r=buildHierarchyTree(t);for(let V=0;V<r.length;V++)r[V].children&&(r=r.slice(0,V+1).concat(r[V].children,r.slice(V+1)));return r}function formatTwoStageRoutes(t){if(t.length===0)return t;const r=[];return t.forEach(V=>{var oe;V.path==="/"?r.push({component:V.component,name:V.name,path:V.path,redirect:V.redirect,meta:V.meta,children:[]}):(oe=r[0])==null||oe.children.push({...V})}),r}function handleAliveRoute({name:t},r){switch(r){case"add":usePermissionStoreHook().cacheOperate({mode:"add",name:t});break;case"delete":usePermissionStoreHook().cacheOperate({mode:"delete",name:t});break;case"refresh":usePermissionStoreHook().cacheOperate({mode:"refresh",name:t});break;default:usePermissionStoreHook().cacheOperate({mode:"delete",name:t}),useTimeoutFn(()=>{usePermissionStoreHook().cacheOperate({mode:"add",name:t})},100)}}function addAsyncRoutes(t){if(!t||!t.length)return;const r=Object.keys(modulesRoutes);return t.forEach(V=>{var oe;if(V.meta.backstage=!0,V!=null&&V.children&&V.children.length&&!V.redirect&&(V.redirect=V.children[0].path),V!=null&&V.children&&V.children.length&&!V.name&&(V.name=V.children[0].name+"Parent"),(oe=V.meta)!=null&&oe.frameSrc)V.component=IFrame;else{const ie=V!=null&&V.component?r.findIndex(le=>le.includes(V.component)):r.findIndex(le=>le.includes(V.path));V.component=modulesRoutes[r[ie]]}V!=null&&V.children&&V.children.length&&addAsyncRoutes(V.children)}),t}function getHistoryMode(t){const r=t.split(","),V=r[0],oe=r[1];if(r.length===1){if(V==="hash")return createWebHashHistory("");if(V==="h5")return createWebHistory("")}else if(r.length===2){if(V==="hash")return createWebHashHistory(oe);if(V==="h5")return createWebHistory(oe)}}function getAuths(){return router.currentRoute.value.meta.auths}function hasAuth(t){if(!t)return!1;const r=getAuths();return r?!!(A(t)?r.includes(t):Tr(t,r)):!1}function getTopMenu(t=!1){var V;const r=(V=usePermissionStoreHook().wholeMenus[0])==null?void 0:V.children[0];return t&&useMultiTagsStoreHook().handleTags("push",r),r}const usePermissionStore=defineStore({id:"pure-permission",state:()=>({constantMenus,wholeMenus:[],cachePageList:[]}),actions:{handleWholeMenus(t){this.wholeMenus=filterNoPermissionTree(filterTree(ascending(this.constantMenus.concat(t))))},cacheOperate({mode:t,name:r}){const V=this.cachePageList.findIndex(oe=>oe===r);switch(t){case"refresh":this.cachePageList=this.cachePageList.filter(oe=>oe!==r);break;case"add":this.cachePageList.push(r);break;case"delete":V!==-1&&this.cachePageList.splice(V,1);break}vt(()=>{let oe=this.cachePageList.length;const ie=Sr(useMultiTagsStoreHook().multiTags,"name");for(;oe>0;)ie.findIndex(le=>le===this.cachePageList[oe-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[oe-1]),1),oe--})()},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function usePermissionStoreHook(){return usePermissionStore(store)}const Layout=()=>__vitePreload(()=>import("./index26.js"),["static/js/index26.js","static/js/menu.js","static/js/set-up.js","static/js/home-filled.js","static/js/admin-line.js","static/js/git-branch-line.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/index62.js","static/js/hooks.js","static/js/search.js","static/js/check.js","static/js/refresh-right.js","static/js/arrow-right-s-line.js","static/js/back_top.js","static/css/index24.css"]),remainingRouter=[{path:"/login",name:"Login",component:()=>__vitePreload(()=>import("./index37.js"),["static/js/index37.js","static/js/motion.js","static/js/verifyCode.js","static/js/phone.vue_vue_type_script_setup_true_lang.js","static/js/hooks.js","static/js/iphone.js","static/js/index64.js","static/js/qrCode.vue_vue_type_script_setup_true_lang.js","static/js/index61.js","static/js/propTypes.js","static/js/refresh-right.js","static/css/index13.css","static/js/regist.vue_vue_type_script_setup_true_lang.js","static/js/lock-fill.js","static/js/user-3-fill.js","static/js/update.vue_vue_type_script_setup_true_lang.js","static/js/dark.js","static/js/epTheme.js","static/js/mitt.js","static/js/app.js","static/js/check.js","static/css/index28.css"]),meta:{title:$t("menus.hslogin"),showLink:!1,rank:101}},{path:"/redirect",component:Layout,meta:{title:$t("status.hsLoad"),showLink:!1,rank:102},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>__vitePreload(()=>import("./redirect.js"),[])}]},{path:"/empty",name:"Empty",component:()=>__vitePreload(()=>import("./index36.js"),["static/js/index36.js","static/css/index27.css"]),meta:{title:$t("menus.hsempty"),showLink:!1,rank:103}}],modules$1=Object.assign({"./modules/able.ts":__vite_glob_0_0$1,"./modules/about.ts":__vite_glob_0_1$1,"./modules/components.ts":__vite_glob_0_2$1,"./modules/editor.ts":__vite_glob_0_3$1,"./modules/error.ts":__vite_glob_0_4$1,"./modules/flowchart.ts":__vite_glob_0_5$1,"./modules/formdesign.ts":__vite_glob_0_6,"./modules/guide.ts":__vite_glob_0_7,"./modules/home.ts":__vite_glob_0_8,"./modules/list.ts":__vite_glob_0_9,"./modules/menuoverflow.ts":__vite_glob_0_10,"./modules/nested.ts":__vite_glob_0_11,"./modules/ppt.ts":__vite_glob_0_12,"./modules/puredoc.ts":__vite_glob_0_13,"./modules/pureutils.ts":__vite_glob_0_14,"./modules/result.ts":__vite_glob_0_15,"./modules/table.ts":__vite_glob_0_16}),routes=[];Object.keys(modules$1).forEach(t=>{routes.push(modules$1[t].default)});const constantRoutes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))),constantMenus=ascending(routes.flat(1/0)).concat(...remainingRouter),remainingPaths=Object.keys(remainingRouter).map(t=>remainingRouter[t].path),router=createRouter({history:getHistoryMode("hash"),routes:constantRoutes.concat(...remainingRouter),strict:!0,scrollBehavior(t,r,V){return new Promise(oe=>{if(V)return V;if(r.meta.saveSrollTop){const ie=document.documentElement.scrollTop||document.body.scrollTop;oe({left:0,top:ie})}})}});function resetRouter(){router.getRoutes().forEach(t=>{const{name:r,meta:V}=t;r&&router.hasRoute(r)&&(V!=null&&V.backstage)&&(router.removeRoute(r),router.options.routes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))))}),usePermissionStoreHook().clearAllCachePage()}const whiteList=["/login"],{VITE_HIDE_HOME}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};router.beforeEach((t,r,V)=>{var ue,de,pe;(ue=t.meta)!=null&&ue.keepAlive&&(handleAliveRoute(t,"add"),(r.name===void 0||r.name==="Redirect")&&handleAliveRoute(t));const oe=rr().getItem(sessionKey);NProgress.start();const ie=gt(t==null?void 0:t.name);ie||t.matched.some(he=>{if(!he.meta.title)return"";const _e=getConfig().Title;_e?document.title=`${transformI18n(he.meta.title)} | ${_e}`:document.title=transformI18n(he.meta.title)});function le(){whiteList.includes(t.fullPath)?V(r.fullPath):V()}oe?((de=t.meta)!=null&&de.roles&&!isOneOfArray((pe=t.meta)==null?void 0:pe.roles,oe==null?void 0:oe.roles)&&V({path:"/error/403"}),VITE_HIDE_HOME==="true"&&t.fullPath==="/welcome"&&V({path:"/error/404"}),r!=null&&r.name?ie?(Mt(t==null?void 0:t.name),NProgress.done()):le():(usePermissionStoreHook().wholeMenus.length===0&&t.path!=="/login"&&initRouter().then(he=>{var _e,$e;if(!useMultiTagsStoreHook().getMultiTagsCache){const{path:Ie}=t,Ve=findRouteByPath(Ie,he.options.routes[0].children);if(getTopMenu(!0),Ve&&((_e=Ve.meta)!=null&&_e.title))if(N(Ve.parentId)&&(($e=Ve.meta)!=null&&$e.backstage)){const{path:Fe,name:Ue,meta:qe}=Ve.children[0];useMultiTagsStoreHook().handleTags("push",{path:Fe,name:Ue,meta:qe})}else{const{path:Fe,name:Ue,meta:qe}=Ve;useMultiTagsStoreHook().handleTags("push",{path:Fe,name:Ue,meta:qe})}}N(t.name)&&he.push(t.fullPath)}),le())):t.path!=="/login"?whiteList.indexOf(t.path)!==-1?V():V({path:"/login"}):V()});router.afterEach(()=>{NProgress.done()});function isObject$4(t){return t!==null&&typeof t=="object"}function _defu(t,r,V=".",oe){if(!isObject$4(r))return _defu(t,{},V,oe);const ie=Object.assign({},r);for(const le in t){if(le==="__proto__"||le==="constructor")continue;const ue=t[le];ue!=null&&(oe&&oe(ie,le,ue,V)||(Array.isArray(ue)&&Array.isArray(ie[le])?ie[le]=[...ue,...ie[le]]:isObject$4(ue)&&isObject$4(ie[le])?ie[le]=_defu(ue,ie[le],(V?`${V}.`:"")+le.toString(),oe):ie[le]=ue))}return ie}function createDefu(t){return(...r)=>r.reduce((V,oe)=>_defu(V,oe,"",t),{})}const defu=createDefu(),defaultTimestep=1/60*1e3,getCurrentTime=typeof performance<"u"?()=>performance.now():()=>Date.now(),onNextFrame=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(getCurrentTime()),defaultTimestep);function createRenderStep(t){let r=[],V=[],oe=0,ie=!1,le=!1;const ue=new WeakSet,de={schedule:(pe,he=!1,_e=!1)=>{const $e=_e&&ie,Ie=$e?r:V;return he&&ue.add(pe),Ie.indexOf(pe)===-1&&(Ie.push(pe),$e&&ie&&(oe=r.length)),pe},cancel:pe=>{const he=V.indexOf(pe);he!==-1&&V.splice(he,1),ue.delete(pe)},process:pe=>{if(ie){le=!0;return}if(ie=!0,[r,V]=[V,r],V.length=0,oe=r.length,oe)for(let he=0;he<oe;he++){const _e=r[he];_e(pe),ue.has(_e)&&(de.schedule(_e),t())}ie=!1,le&&(le=!1,de.process(pe))}};return de}const maxElapsed=40;let useDefaultElapsed=!0,runNextFrame=!1,isProcessing=!1;const frame={delta:0,timestamp:0},stepsOrder=["read","update","preRender","render","postRender"],steps=stepsOrder.reduce((t,r)=>(t[r]=createRenderStep(()=>runNextFrame=!0),t),{}),sync=stepsOrder.reduce((t,r)=>{const V=steps[r];return t[r]=(oe,ie=!1,le=!1)=>(runNextFrame||startLoop(),V.schedule(oe,ie,le)),t},{}),cancelSync=stepsOrder.reduce((t,r)=>(t[r]=steps[r].cancel,t),{});stepsOrder.reduce((t,r)=>(t[r]=()=>steps[r].process(frame),t),{});const processStep=t=>steps[t].process(frame),processFrame=t=>{runNextFrame=!1,frame.delta=useDefaultElapsed?defaultTimestep:Math.max(Math.min(t-frame.timestamp,maxElapsed),1),frame.timestamp=t,isProcessing=!0,stepsOrder.forEach(processStep),isProcessing=!1,runNextFrame&&(useDefaultElapsed=!1,onNextFrame(processFrame))},startLoop=()=>{runNextFrame=!0,useDefaultElapsed=!0,isProcessing||onNextFrame(processFrame)},getFrameData=()=>frame;function __rest(t,r){var V={};for(var oe in t)Object.prototype.hasOwnProperty.call(t,oe)&&r.indexOf(oe)<0&&(V[oe]=t[oe]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,oe=Object.getOwnPropertySymbols(t);ie<oe.length;ie++)r.indexOf(oe[ie])<0&&Object.prototype.propertyIsEnumerable.call(t,oe[ie])&&(V[oe[ie]]=t[oe[ie]]);return V}var warning=function(){},invariant=function(){};const clamp$2=(t,r,V)=>Math.min(Math.max(V,t),r),safeMin=.001,minDuration=.01,maxDuration=10,minDamping=.05,maxDamping=1;function findSpring({duration:t=800,bounce:r=.25,velocity:V=0,mass:oe=1}){let ie,le;warning(t<=maxDuration*1e3);let ue=1-r;ue=clamp$2(minDamping,maxDamping,ue),t=clamp$2(minDuration,maxDuration,t/1e3),ue<1?(ie=he=>{const _e=he*ue,$e=_e*t,Ie=_e-V,Ve=calcAngularFreq(he,ue),Fe=Math.exp(-$e);return safeMin-Ie/Ve*Fe},le=he=>{const $e=he*ue*t,Ie=$e*V+V,Ve=Math.pow(ue,2)*Math.pow(he,2)*t,Fe=Math.exp(-$e),Ue=calcAngularFreq(Math.pow(he,2),ue);return(-ie(he)+safeMin>0?-1:1)*((Ie-Ve)*Fe)/Ue}):(ie=he=>{const _e=Math.exp(-he*t),$e=(he-V)*t+1;return-safeMin+_e*$e},le=he=>{const _e=Math.exp(-he*t),$e=(V-he)*(t*t);return _e*$e});const de=5/t,pe=approximateRoot(ie,le,de);if(t=t*1e3,isNaN(pe))return{stiffness:100,damping:10,duration:t};{const he=Math.pow(pe,2)*oe;return{stiffness:he,damping:ue*2*Math.sqrt(oe*he),duration:t}}}const rootIterations=12;function approximateRoot(t,r,V){let oe=V;for(let ie=1;ie<rootIterations;ie++)oe=oe-t(oe)/r(oe);return oe}function calcAngularFreq(t,r){return t*Math.sqrt(1-r*r)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType(t,r){return r.some(V=>t[V]!==void 0)}function getSpringOptions(t){let r=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!isSpringType(t,physicsKeys)&&isSpringType(t,durationKeys)){const V=findSpring(t);r=Object.assign(Object.assign(Object.assign({},r),V),{velocity:0,mass:1}),r.isResolvedFromDuration=!0}return r}function spring(t){var{from:r=0,to:V=1,restSpeed:oe=2,restDelta:ie}=t,le=__rest(t,["from","to","restSpeed","restDelta"]);const ue={done:!1,value:r};let{stiffness:de,damping:pe,mass:he,velocity:_e,duration:$e,isResolvedFromDuration:Ie}=getSpringOptions(le),Ve=zero,Fe=zero;function Ue(){const qe=_e?-(_e/1e3):0,Et=V-r,At=pe/(2*Math.sqrt(de*he)),Lt=Math.sqrt(de/he)/1e3;if(ie===void 0&&(ie=Math.min(Math.abs(V-r)/100,.4)),At<1){const hn=calcAngularFreq(Lt,At);Ve=_n=>{const vn=Math.exp(-At*Lt*_n);return V-vn*((qe+At*Lt*Et)/hn*Math.sin(hn*_n)+Et*Math.cos(hn*_n))},Fe=_n=>{const vn=Math.exp(-At*Lt*_n);return At*Lt*vn*(Math.sin(hn*_n)*(qe+At*Lt*Et)/hn+Et*Math.cos(hn*_n))-vn*(Math.cos(hn*_n)*(qe+At*Lt*Et)-hn*Et*Math.sin(hn*_n))}}else if(At===1)Ve=hn=>V-Math.exp(-Lt*hn)*(Et+(qe+Lt*Et)*hn);else{const hn=Lt*Math.sqrt(At*At-1);Ve=_n=>{const vn=Math.exp(-At*Lt*_n),bn=Math.min(hn*_n,300);return V-vn*((qe+At*Lt*Et)*Math.sinh(bn)+hn*Et*Math.cosh(bn))/hn}}}return Ue(),{next:qe=>{const Et=Ve(qe);if(Ie)ue.done=qe>=$e;else{const At=Fe(qe)*1e3,Lt=Math.abs(At)<=oe,hn=Math.abs(V-Et)<=ie;ue.done=Lt&&hn}return ue.value=ue.done?V:Et,ue},flipTarget:()=>{_e=-_e,[r,V]=[V,r],Ue()}}}spring.needsInterpolation=(t,r)=>typeof t=="string"||typeof r=="string";const zero=t=>0,progress=(t,r,V)=>{const oe=r-t;return oe===0?1:(V-t)/oe},mix=(t,r,V)=>-V*t+V*r+t,clamp$1=(t,r)=>V=>Math.max(Math.min(V,r),t),sanitize=t=>t%1?Number(t.toFixed(5)):t,floatRegex=/(-)?([\d]*\.?[\d])+/g,colorRegex=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,singleColorRegex=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function isString$1(t){return typeof t=="string"}const number$1={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},alpha=Object.assign(Object.assign({},number$1),{transform:clamp$1(0,1)}),scale$3=Object.assign(Object.assign({},number$1),{default:1}),createUnitType=t=>({test:r=>isString$1(r)&&r.endsWith(t)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${t}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),progressPercentage=Object.assign(Object.assign({},percent),{parse:t=>percent.parse(t)/100,transform:t=>percent.transform(t*100)}),isColorString=(t,r)=>V=>!!(isString$1(V)&&singleColorRegex.test(V)&&V.startsWith(t)||r&&Object.prototype.hasOwnProperty.call(V,r)),splitColor=(t,r,V)=>oe=>{if(!isString$1(oe))return oe;const[ie,le,ue,de]=oe.match(floatRegex);return{[t]:parseFloat(ie),[r]:parseFloat(le),[V]:parseFloat(ue),alpha:de!==void 0?parseFloat(de):1}},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:t,saturation:r,lightness:V,alpha:oe=1})=>"hsla("+Math.round(t)+", "+percent.transform(sanitize(r))+", "+percent.transform(sanitize(V))+", "+sanitize(alpha.transform(oe))+")"},clampRgbUnit=clamp$1(0,255),rgbUnit=Object.assign(Object.assign({},number$1),{transform:t=>Math.round(clampRgbUnit(t))}),rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:t,green:r,blue:V,alpha:oe=1})=>"rgba("+rgbUnit.transform(t)+", "+rgbUnit.transform(r)+", "+rgbUnit.transform(V)+", "+sanitize(alpha.transform(oe))+")"};function parseHex(t){let r="",V="",oe="",ie="";return t.length>5?(r=t.substr(1,2),V=t.substr(3,2),oe=t.substr(5,2),ie=t.substr(7,2)):(r=t.substr(1,1),V=t.substr(2,1),oe=t.substr(3,1),ie=t.substr(4,1),r+=r,V+=V,oe+=oe,ie+=ie),{red:parseInt(r,16),green:parseInt(V,16),blue:parseInt(oe,16),alpha:ie?parseInt(ie,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},color$1={test:t=>rgba.test(t)||hex.test(t)||hsla.test(t),parse:t=>rgba.test(t)?rgba.parse(t):hsla.test(t)?hsla.parse(t):hex.parse(t),transform:t=>isString$1(t)?t:t.hasOwnProperty("red")?rgba.transform(t):hsla.transform(t)},colorToken="${c}",numberToken="${n}";function test(t){var r,V,oe,ie;return isNaN(t)&&isString$1(t)&&((V=(r=t.match(floatRegex))===null||r===void 0?void 0:r.length)!==null&&V!==void 0?V:0)+((ie=(oe=t.match(colorRegex))===null||oe===void 0?void 0:oe.length)!==null&&ie!==void 0?ie:0)>0}function analyse$1(t){typeof t=="number"&&(t=`${t}`);const r=[];let V=0;const oe=t.match(colorRegex);oe&&(V=oe.length,t=t.replace(colorRegex,colorToken),r.push(...oe.map(color$1.parse)));const ie=t.match(floatRegex);return ie&&(t=t.replace(floatRegex,numberToken),r.push(...ie.map(number$1.parse))),{values:r,numColors:V,tokenised:t}}function parse$2(t){return analyse$1(t).values}function createTransformer(t){const{values:r,numColors:V,tokenised:oe}=analyse$1(t),ie=r.length;return le=>{let ue=oe;for(let de=0;de<ie;de++)ue=ue.replace(de<V?colorToken:numberToken,de<V?color$1.transform(le[de]):sanitize(le[de]));return ue}}const convertNumbersToZero=t=>typeof t=="number"?0:t;function getAnimatableNone$1(t){const r=parse$2(t);return createTransformer(t)(r.map(convertNumbersToZero))}const complex={test,parse:parse$2,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(t){let[r,V]=t.slice(0,-1).split("(");if(r==="drop-shadow")return t;const[oe]=V.match(floatRegex)||[];if(!oe)return t;const ie=V.replace(oe,"");let le=maxDefaults.has(r)?1:0;return oe!==V&&(le*=100),r+"("+le+ie+")"}const functionRegex=/([a-z-]*)\(.*?\)/g,filter$1=Object.assign(Object.assign({},complex),{getAnimatableNone:t=>{const r=t.match(functionRegex);return r?r.map(applyDefaultFilter).join(" "):t}});function hueToRgb(t,r,V){return V<0&&(V+=1),V>1&&(V-=1),V<1/6?t+(r-t)*6*V:V<1/2?r:V<2/3?t+(r-t)*(2/3-V)*6:t}function hslaToRgba({hue:t,saturation:r,lightness:V,alpha:oe}){t/=360,r/=100,V/=100;let ie=0,le=0,ue=0;if(!r)ie=le=ue=V;else{const de=V<.5?V*(1+r):V+r-V*r,pe=2*V-de;ie=hueToRgb(pe,de,t+1/3),le=hueToRgb(pe,de,t),ue=hueToRgb(pe,de,t-1/3)}return{red:Math.round(ie*255),green:Math.round(le*255),blue:Math.round(ue*255),alpha:oe}}const mixLinearColor=(t,r,V)=>{const oe=t*t,ie=r*r;return Math.sqrt(Math.max(0,V*(ie-oe)+oe))},colorTypes=[hex,rgba,hsla],getColorType=t=>colorTypes.find(r=>r.test(t)),mixColor=(t,r)=>{let V=getColorType(t),oe=getColorType(r),ie=V.parse(t),le=oe.parse(r);V===hsla&&(ie=hslaToRgba(ie),V=rgba),oe===hsla&&(le=hslaToRgba(le),oe=rgba);const ue=Object.assign({},ie);return de=>{for(const pe in ue)pe!=="alpha"&&(ue[pe]=mixLinearColor(ie[pe],le[pe],de));return ue.alpha=mix(ie.alpha,le.alpha,de),V.transform(ue)}},isNum=t=>typeof t=="number",combineFunctions=(t,r)=>V=>r(t(V)),pipe=(...t)=>t.reduce(combineFunctions);function getMixer(t,r){return isNum(t)?V=>mix(t,r,V):color$1.test(t)?mixColor(t,r):mixComplex(t,r)}const mixArray=(t,r)=>{const V=[...t],oe=V.length,ie=t.map((le,ue)=>getMixer(le,r[ue]));return le=>{for(let ue=0;ue<oe;ue++)V[ue]=ie[ue](le);return V}},mixObject=(t,r)=>{const V=Object.assign(Object.assign({},t),r),oe={};for(const ie in V)t[ie]!==void 0&&r[ie]!==void 0&&(oe[ie]=getMixer(t[ie],r[ie]));return ie=>{for(const le in oe)V[le]=oe[le](ie);return V}};function analyse(t){const r=complex.parse(t),V=r.length;let oe=0,ie=0,le=0;for(let ue=0;ue<V;ue++)oe||typeof r[ue]=="number"?oe++:r[ue].hue!==void 0?le++:ie++;return{parsed:r,numNumbers:oe,numRGB:ie,numHSL:le}}const mixComplex=(t,r)=>{const V=complex.createTransformer(r),oe=analyse(t),ie=analyse(r);return oe.numHSL===ie.numHSL&&oe.numRGB===ie.numRGB&&oe.numNumbers>=ie.numNumbers?pipe(mixArray(oe.parsed,ie.parsed),V):ue=>`${ue>0?r:t}`},mixNumber=(t,r)=>V=>mix(t,r,V);function detectMixerFactory(t){if(typeof t=="number")return mixNumber;if(typeof t=="string")return color$1.test(t)?mixColor:mixComplex;if(Array.isArray(t))return mixArray;if(typeof t=="object")return mixObject}function createMixers(t,r,V){const oe=[],ie=V||detectMixerFactory(t[0]),le=t.length-1;for(let ue=0;ue<le;ue++){let de=ie(t[ue],t[ue+1]);if(r){const pe=Array.isArray(r)?r[ue]:r;de=pipe(pe,de)}oe.push(de)}return oe}function fastInterpolate([t,r],[V]){return oe=>V(progress(t,r,oe))}function slowInterpolate(t,r){const V=t.length,oe=V-1;return ie=>{let le=0,ue=!1;if(ie<=t[0]?ue=!0:ie>=t[oe]&&(le=oe-1,ue=!0),!ue){let pe=1;for(;pe<V&&!(t[pe]>ie||pe===oe);pe++);le=pe-1}const de=progress(t[le],t[le+1],ie);return r[le](de)}}function interpolate(t,r,{clamp:V=!0,ease:oe,mixer:ie}={}){const le=t.length;invariant(le===r.length),invariant(!oe||!Array.isArray(oe)||oe.length===le-1),t[0]>t[le-1]&&(t=[].concat(t),r=[].concat(r),t.reverse(),r.reverse());const ue=createMixers(r,oe,ie),de=le===2?fastInterpolate(t,ue):slowInterpolate(t,ue);return V?pe=>de(clamp$2(t[0],t[le-1],pe)):de}const reverseEasing=t=>r=>1-t(1-r),mirrorEasing=t=>r=>r<=.5?t(2*r)/2:(2-t(2*(1-r)))/2,createExpoIn=t=>r=>Math.pow(r,t),createBackIn=t=>r=>r*r*((t+1)*r-t),createAnticipate=t=>{const r=createBackIn(t);return V=>(V*=2)<1?.5*r(V):.5*(2-Math.pow(2,-10*(V-1)))},DEFAULT_OVERSHOOT_STRENGTH=1.525,BOUNCE_FIRST_THRESHOLD=4/11,BOUNCE_SECOND_THRESHOLD=8/11,BOUNCE_THIRD_THRESHOLD=9/10,linear=t=>t,easeIn=createExpoIn(2),easeOut=reverseEasing(easeIn),easeInOut=mirrorEasing(easeIn),circIn=t=>1-Math.sin(Math.acos(t)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circOut),backIn=createBackIn(DEFAULT_OVERSHOOT_STRENGTH),backOut=reverseEasing(backIn),backInOut=mirrorEasing(backIn),anticipate=createAnticipate(DEFAULT_OVERSHOOT_STRENGTH),ca=4356/361,cb=35442/1805,cc=16061/1805,bounceOut=t=>{if(t===1||t===0)return t;const r=t*t;return t<BOUNCE_FIRST_THRESHOLD?7.5625*r:t<BOUNCE_SECOND_THRESHOLD?9.075*r-9.9*t+3.4:t<BOUNCE_THIRD_THRESHOLD?ca*r-cb*t+cc:10.8*t*t-20.52*t+10.72},bounceIn=reverseEasing(bounceOut),bounceInOut=t=>t<.5?.5*(1-bounceOut(1-t*2)):.5*bounceOut(t*2-1)+.5;function defaultEasing(t,r){return t.map(()=>r||easeInOut).splice(0,t.length-1)}function defaultOffset(t){const r=t.length;return t.map((V,oe)=>oe!==0?oe/(r-1):0)}function convertOffsetToTimes(t,r){return t.map(V=>V*r)}function keyframes$1({from:t=0,to:r=1,ease:V,offset:oe,duration:ie=300}){const le={done:!1,value:t},ue=Array.isArray(r)?r:[t,r],de=convertOffsetToTimes(oe&&oe.length===ue.length?oe:defaultOffset(ue),ie);function pe(){return interpolate(de,ue,{ease:Array.isArray(V)?V:defaultEasing(ue,V)})}let he=pe();return{next:_e=>(le.value=he(_e),le.done=_e>=ie,le),flipTarget:()=>{ue.reverse(),he=pe()}}}function decay({velocity:t=0,from:r=0,power:V=.8,timeConstant:oe=350,restDelta:ie=.5,modifyTarget:le}){const ue={done:!1,value:r};let de=V*t;const pe=r+de,he=le===void 0?pe:le(pe);return he!==pe&&(de=he-r),{next:_e=>{const $e=-de*Math.exp(-_e/oe);return ue.done=!($e>ie||$e<-ie),ue.value=ue.done?he:he+$e,ue},flipTarget:()=>{}}}const types={keyframes:keyframes$1,spring,decay};function detectAnimationFromOptions(t){if(Array.isArray(t.to))return keyframes$1;if(types[t.type])return types[t.type];const r=new Set(Object.keys(t));return r.has("ease")||r.has("duration")&&!r.has("dampingRatio")?keyframes$1:r.has("dampingRatio")||r.has("stiffness")||r.has("mass")||r.has("damping")||r.has("restSpeed")||r.has("restDelta")?spring:keyframes$1}function loopElapsed(t,r,V=0){return t-r-V}function reverseElapsed(t,r,V=0,oe=!0){return oe?loopElapsed(r+-t,r,V):r-(t-r)+V}function hasRepeatDelayElapsed(t,r,V,oe){return oe?t>=r+V:t<=-V}const framesync=t=>{const r=({delta:V})=>t(V);return{start:()=>sync.update(r,!0),stop:()=>cancelSync.update(r)}};function animate(t){var r,V,{from:oe,autoplay:ie=!0,driver:le=framesync,elapsed:ue=0,repeat:de=0,repeatType:pe="loop",repeatDelay:he=0,onPlay:_e,onStop:$e,onComplete:Ie,onRepeat:Ve,onUpdate:Fe}=t,Ue=__rest(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:qe}=Ue,Et,At=0,Lt=Ue.duration,hn,_n=!1,vn=!0,bn;const Cn=detectAnimationFromOptions(Ue);!((V=(r=Cn).needsInterpolation)===null||V===void 0)&&V.call(r,oe,qe)&&(bn=interpolate([0,100],[oe,qe],{clamp:!1}),oe=0,qe=100);const Sn=Cn(Object.assign(Object.assign({},Ue),{from:oe,to:qe}));function wn(){At++,pe==="reverse"?(vn=At%2===0,ue=reverseElapsed(ue,Lt,he,vn)):(ue=loopElapsed(ue,Lt,he),pe==="mirror"&&Sn.flipTarget()),_n=!1,Ve&&Ve()}function En(){Et.stop(),Ie&&Ie()}function xn(kn){if(vn||(kn=-kn),ue+=kn,!_n){const Nn=Sn.next(Math.max(0,ue));hn=Nn.value,bn&&(hn=bn(hn)),_n=vn?Nn.done:ue<=0}Fe==null||Fe(hn),_n&&(At===0&&(Lt??(Lt=ue)),At<de?hasRepeatDelayElapsed(ue,Lt,he,vn)&&wn():En())}function Pn(){_e==null||_e(),Et=le(xn),Et.start()}return ie&&Pn(),{stop:()=>{$e==null||$e(),Et.stop()}}}function velocityPerSecond(t,r){return r?t*(1e3/r):0}function inertia({from:t=0,velocity:r=0,min:V,max:oe,power:ie=.8,timeConstant:le=750,bounceStiffness:ue=500,bounceDamping:de=10,restDelta:pe=1,modifyTarget:he,driver:_e,onUpdate:$e,onComplete:Ie,onStop:Ve}){let Fe;function Ue(Lt){return V!==void 0&&Lt<V||oe!==void 0&&Lt>oe}function qe(Lt){return V===void 0?oe:oe===void 0||Math.abs(V-Lt)<Math.abs(oe-Lt)?V:oe}function Et(Lt){Fe==null||Fe.stop(),Fe=animate(Object.assign(Object.assign({},Lt),{driver:_e,onUpdate:hn=>{var _n;$e==null||$e(hn),(_n=Lt.onUpdate)===null||_n===void 0||_n.call(Lt,hn)},onComplete:Ie,onStop:Ve}))}function At(Lt){Et(Object.assign({type:"spring",stiffness:ue,damping:de,restDelta:pe},Lt))}if(Ue(t))At({from:t,velocity:r,to:qe(t)});else{let Lt=ie*r+t;typeof he<"u"&&(Lt=he(Lt));const hn=qe(Lt),_n=hn===V?-1:1;let vn,bn;const Cn=Sn=>{vn=bn,bn=Sn,r=velocityPerSecond(Sn-vn,getFrameData().delta),(_n===1&&Sn>hn||_n===-1&&Sn<hn)&&At({from:Sn,to:hn,velocity:r})};Et({type:"decay",from:t,velocity:r,timeConstant:le,power:ie,restDelta:pe,modifyTarget:he,onUpdate:Ue(Lt)?Cn:void 0})}return{stop:()=>Fe==null?void 0:Fe.stop()}}const a=(t,r)=>1-3*r+3*t,b=(t,r)=>3*r-6*t,c$1=t=>3*t,calcBezier=(t,r,V)=>((a(r,V)*t+b(r,V))*t+c$1(r))*t,getSlope=(t,r,V)=>3*a(r,V)*t*t+2*b(r,V)*t+c$1(r),subdivisionPrecision=1e-7,subdivisionMaxIterations=10;function binarySubdivide(t,r,V,oe,ie){let le,ue,de=0;do ue=r+(V-r)/2,le=calcBezier(ue,oe,ie)-t,le>0?V=ue:r=ue;while(Math.abs(le)>subdivisionPrecision&&++de<subdivisionMaxIterations);return ue}const newtonIterations=8,newtonMinSlope=.001;function newtonRaphsonIterate(t,r,V,oe){for(let ie=0;ie<newtonIterations;++ie){const le=getSlope(r,V,oe);if(le===0)return r;const ue=calcBezier(r,V,oe)-t;r-=ue/le}return r}const kSplineTableSize=11,kSampleStepSize=1/(kSplineTableSize-1);function cubicBezier(t,r,V,oe){if(t===r&&V===oe)return linear;const ie=new Float32Array(kSplineTableSize);for(let ue=0;ue<kSplineTableSize;++ue)ie[ue]=calcBezier(ue*kSampleStepSize,t,V);function le(ue){let de=0,pe=1;const he=kSplineTableSize-1;for(;pe!==he&&ie[pe]<=ue;++pe)de+=kSampleStepSize;--pe;const _e=(ue-ie[pe])/(ie[pe+1]-ie[pe]),$e=de+_e*kSampleStepSize,Ie=getSlope($e,t,V);return Ie>=newtonMinSlope?newtonRaphsonIterate(ue,$e,t,V):Ie===0?$e:binarySubdivide(ue,de,de+kSampleStepSize,t,V)}return ue=>ue===0||ue===1?ue:calcBezier(le(ue),r,oe)}const motionState={};class SubscriptionManager{constructor(){this.subscriptions=new Set}add(r){return this.subscriptions.add(r),()=>this.subscriptions.delete(r)}notify(r,V,oe){if(this.subscriptions.size)for(const ie of this.subscriptions)ie(r,V,oe)}clear(){this.subscriptions.clear()}}function isFloat(t){return!isNaN(parseFloat(t))}class MotionValue{constructor(r){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new SubscriptionManager,this.canTrackVelocity=!1,this.updateAndNotify=V=>{this.prev=this.current,this.current=V;const{delta:oe,timestamp:ie}=getFrameData();this.lastUpdated!==ie&&(this.timeDelta=oe,this.lastUpdated=ie),sync.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>sync.postRender(this.velocityCheck),this.velocityCheck=({timestamp:V})=>{this.canTrackVelocity||(this.canTrackVelocity=isFloat(this.current)),V!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=r,this.canTrackVelocity=isFloat(this.current)}onChange(r){return this.updateSubscribers.add(r)}clearListeners(){this.updateSubscribers.clear()}set(r){this.updateAndNotify(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?velocityPerSecond(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(r){return this.stop(),new Promise(V=>{const{stop:oe}=r(V);this.stopAnimation=oe}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function getMotionValue(t){return new MotionValue(t)}const{isArray:isArray$2}=Array;function useMotionValues(){const t=ref({}),r=oe=>{const ie=le=>{t.value[le]&&(t.value[le].stop(),t.value[le].destroy(),delete t.value[le])};oe?isArray$2(oe)?oe.forEach(ie):ie(oe):Object.keys(t.value).forEach(ie)},V=(oe,ie,le)=>{if(t.value[oe])return t.value[oe];const ue=getMotionValue(ie);return ue.onChange(de=>le[oe]=de),t.value[oe]=ue,ue};return tryOnUnmounted(r),{motionValues:t,get:V,stop:r}}function isKeyframesTarget(t){return Array.isArray(t)}function underDampedSpring(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function criticallyDampedSpring(t){return{type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function overDampedSpring(t){return{type:"spring",stiffness:550,damping:t===0?100:30,restDelta:.01,restSpeed:10}}function linearTween(){return{type:"keyframes",ease:"linear",duration:300}}function keyframes(t){return{type:"keyframes",duration:800,values:t}}const defaultTransitions={default:overDampedSpring,x:underDampedSpring,y:underDampedSpring,z:underDampedSpring,rotate:underDampedSpring,rotateX:underDampedSpring,rotateY:underDampedSpring,rotateZ:underDampedSpring,scaleX:criticallyDampedSpring,scaleY:criticallyDampedSpring,scale:criticallyDampedSpring,backgroundColor:linearTween,color:linearTween,opacity:linearTween};function getDefaultTransition(t,r){let V;return isKeyframesTarget(r)?V=keyframes:V=defaultTransitions[t]||defaultTransitions.default,{to:r,...V(r)}}const int={...number$1,transform:Math.round},valueTypes={color:color$1,backgroundColor:color$1,outlineColor:color$1,fill:color$1,stroke:color$1,borderColor:color$1,borderTopColor:color$1,borderRightColor:color$1,borderBottomColor:color$1,borderLeftColor:color$1,borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,radius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,size:px,top:px,right:px,bottom:px,left:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale:scale$3,scaleX:scale$3,scaleY:scale$3,scaleZ:scale$3,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha,originX:progressPercentage,originY:progressPercentage,originZ:px,zIndex:int,filter:filter$1,WebkitFilter:filter$1,fillOpacity:alpha,strokeOpacity:alpha,numOctaves:int},getValueType=t=>valueTypes[t];function getValueAsType(t,r){return r&&typeof t=="number"&&r.transform?r.transform(t):t}function getAnimatableNone(t,r){let V=getValueType(t);return V!==filter$1&&(V=complex),V.getAnimatableNone?V.getAnimatableNone(r):void 0}const easingLookup={linear,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate,bounceIn,bounceInOut,bounceOut};function easingDefinitionToFunction(t){if(Array.isArray(t)){const[r,V,oe,ie]=t;return cubicBezier(r,V,oe,ie)}else if(typeof t=="string")return easingLookup[t];return t}function isEasingArray(t){return Array.isArray(t)&&typeof t[0]!="number"}function isAnimatable(t,r){return t==="zIndex"?!1:!!(typeof r=="number"||Array.isArray(r)||typeof r=="string"&&complex.test(r)&&!r.startsWith("url("))}function hydrateKeyframes(t){return Array.isArray(t.to)&&t.to[0]===null&&(t.to=[...t.to],t.to[0]=t.from),t}function convertTransitionToAnimationOptions({ease:t,times:r,delay:V,...oe}){const ie={...oe};return r&&(ie.offset=r),t&&(ie.ease=isEasingArray(t)?t.map(easingDefinitionToFunction):easingDefinitionToFunction(t)),V&&(ie.elapsed=-V),ie}function getPopmotionAnimationOptions(t,r,V){return Array.isArray(r.to)&&(t.duration||(t.duration=800)),hydrateKeyframes(r),isTransitionDefined(t)||(t={...t,...getDefaultTransition(V,r.to)}),{...r,...convertTransitionToAnimationOptions(t)}}function isTransitionDefined({delay:t,repeat:r,repeatType:V,repeatDelay:oe,from:ie,...le}){return!!Object.keys(le).length}function getValueTransition(t,r){return t[r]||t.default||t}function getAnimation(t,r,V,oe,ie){const le=getValueTransition(oe,t);let ue=le.from===null||le.from===void 0?r.get():le.from;const de=isAnimatable(t,V);ue==="none"&&de&&typeof V=="string"&&(ue=getAnimatableNone(t,V));const pe=isAnimatable(t,ue);function he($e){const Ie={from:ue,to:V,velocity:oe.velocity?oe.velocity:r.getVelocity(),onUpdate:Ve=>r.set(Ve)};return le.type==="inertia"||le.type==="decay"?inertia({...Ie,...le}):animate({...getPopmotionAnimationOptions(le,Ie,t),onUpdate:Ve=>{Ie.onUpdate(Ve),le.onUpdate&&le.onUpdate(Ve)},onComplete:()=>{oe.onComplete&&oe.onComplete(),ie&&ie(),$e&&$e()}})}function _e($e){return r.set(V),oe.onComplete&&oe.onComplete(),ie&&ie(),$e&&$e(),{stop:()=>{}}}return!pe||!de||le.type===!1?_e:he}function useMotionTransitions(){const{motionValues:t,stop:r,get:V}=useMotionValues();return{motionValues:t,stop:r,push:(ie,le,ue,de={},pe)=>{const he=ue[ie],_e=V(ie,he,ue);if(de&&de.immediate){_e.set(le);return}const $e=getAnimation(ie,_e,le,de,pe);_e.start($e)}}}function useMotionControls(t,r={},{motionValues:V,push:oe,stop:ie}=useMotionTransitions()){const le=unref(r),ue=ref(!1);watch(V,$e=>{ue.value=Object.values($e).filter(Ie=>Ie.isAnimating()).length>0},{immediate:!0,deep:!0});const de=$e=>{if(!le||!le[$e])throw new Error(`The variant ${$e} does not exist.`);return le[$e]},pe=$e=>(typeof $e=="string"&&($e=de($e)),Promise.all(Object.entries($e).map(([Ie,Ve])=>{if(Ie!=="transition")return new Promise(Fe=>oe(Ie,Ve,t,$e.transition||getDefaultTransition(Ie,$e[Ie]),Fe))}).filter(Boolean)));return{isAnimating:ue,apply:pe,set:$e=>{const Ie=isObject$7($e)?$e:de($e);Object.entries(Ie).forEach(([Ve,Fe])=>{Ve!=="transition"&&oe(Ve,Fe,t,{immediate:!0})})},leave:async $e=>{let Ie;if(le&&(le.leave&&(Ie=le.leave),!le.leave&&le.initial&&(Ie=le.initial)),!Ie){$e();return}await pe(Ie),$e()},stop:ie}}const isBrowser=typeof window<"u",supportsPointerEvents=()=>isBrowser&&window.onpointerdown===null,supportsTouchEvents=()=>isBrowser&&window.ontouchstart===null,supportsMouseEvents=()=>isBrowser&&window.onmousedown===null;function registerEventListeners({target:t,state:r,variants:V,apply:oe}){const ie=unref(V),le=ref(!1),ue=ref(!1),de=ref(!1),pe=computed(()=>{let _e=[];return ie&&(ie.hovered&&(_e=[..._e,...Object.keys(ie.hovered)]),ie.tapped&&(_e=[..._e,...Object.keys(ie.tapped)]),ie.focused&&(_e=[..._e,...Object.keys(ie.focused)])),_e}),he=computed(()=>{const _e={};Object.assign(_e,r.value),le.value&&ie.hovered&&Object.assign(_e,ie.hovered),ue.value&&ie.tapped&&Object.assign(_e,ie.tapped),de.value&&ie.focused&&Object.assign(_e,ie.focused);for(const $e in _e)pe.value.includes($e)||delete _e[$e];return _e});ie.hovered&&(useEventListener(t,"mouseenter",()=>le.value=!0),useEventListener(t,"mouseleave",()=>{le.value=!1,ue.value=!1}),useEventListener(t,"mouseout",()=>{le.value=!1,ue.value=!1})),ie.tapped&&(supportsMouseEvents()&&(useEventListener(t,"mousedown",()=>ue.value=!0),useEventListener(t,"mouseup",()=>ue.value=!1)),supportsPointerEvents()&&(useEventListener(t,"pointerdown",()=>ue.value=!0),useEventListener(t,"pointerup",()=>ue.value=!1)),supportsTouchEvents()&&(useEventListener(t,"touchstart",()=>ue.value=!0),useEventListener(t,"touchend",()=>ue.value=!1))),ie.focused&&(useEventListener(t,"focus",()=>de.value=!0),useEventListener(t,"blur",()=>de.value=!1)),watch(he,oe)}function registerLifeCycleHooks({set:t,target:r,variants:V,variant:oe}){const ie=unref(V);watch(()=>r,()=>{ie&&(ie.initial&&t("initial"),ie.enter&&(oe.value="enter"))},{immediate:!0,flush:"pre"})}function registerVariantsSync({state:t,apply:r}){watch(t,V=>{V&&r(V)},{immediate:!0})}function registerVisibilityHooks({target:t,variants:r,variant:V}){const oe=unref(r);oe&&(oe.visible||oe.visibleOnce)&&useIntersectionObserver(t,([{isIntersecting:ie}])=>{oe.visible?ie?V.value="visible":V.value="initial":oe.visibleOnce&&(ie&&V.value!=="visibleOnce"?V.value="visibleOnce":V.value||(V.value="initial"))})}function useMotionFeatures(t,r={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){r.lifeCycleHooks&®isterLifeCycleHooks(t),r.syncVariants&®isterVariantsSync(t),r.visibilityHooks&®isterVisibilityHooks(t),r.eventListeners&®isterEventListeners(t)}function reactiveStyle(t={}){const r=reactive({...t}),V=ref({});return watch(r,()=>{const oe={};for(const[ie,le]of Object.entries(r)){const ue=getValueType(ie),de=getValueAsType(le,ue);oe[ie]=de}V.value=oe},{immediate:!0,deep:!0}),{state:r,style:V}}function usePermissiveTarget(t,r){watch(()=>unrefElement(t),V=>{V&&r(V)},{immediate:!0})}const translateAlias={x:"translateX",y:"translateY",z:"translateZ"};function reactiveTransform(t={},r=!0){const V=reactive({...t}),oe=ref("");return watch(V,ie=>{let le="",ue=!1;if(r&&(ie.x||ie.y||ie.z)){const de=[ie.x||0,ie.y||0,ie.z||0].map(px.transform).join(",");le+=`translate3d(${de}) `,ue=!0}for(const[de,pe]of Object.entries(ie)){if(r&&(de==="x"||de==="y"||de==="z"))continue;const he=getValueType(de),_e=getValueAsType(pe,he);le+=`${translateAlias[de]||de}(${_e}) `}r&&!ue&&(le+="translateZ(0px) "),oe.value=le.trim()},{immediate:!0,deep:!0}),{state:V,transform:oe}}const transformAxes=["","X","Y","Z"],order=["perspective","translate","scale","rotate","skew"],transformProps=["transformPerspective","x","y","z"];order.forEach(t=>{transformAxes.forEach(r=>{const V=t+r;transformProps.push(V)})});const transformPropSet=new Set(transformProps);function isTransformProp(t){return transformPropSet.has(t)}const transformOriginProps=new Set(["originX","originY","originZ"]);function isTransformOriginProp(t){return transformOriginProps.has(t)}function splitValues(t){const r={},V={};return Object.entries(t).forEach(([oe,ie])=>{isTransformProp(oe)||isTransformOriginProp(oe)?r[oe]=ie:V[oe]=ie}),{transform:r,style:V}}function variantToStyle(t){const{transform:r,style:V}=splitValues(t),{transform:oe}=reactiveTransform(r),{style:ie}=reactiveStyle(V);return oe.value&&(ie.value.transform=oe.value),ie.value}function useElementStyle(t,r){let V,oe;const{state:ie,style:le}=reactiveStyle();return usePermissiveTarget(t,ue=>{oe=ue;for(const de of Object.keys(valueTypes))ue.style[de]===null||ue.style[de]===""||isTransformProp(de)||isTransformOriginProp(de)||(ie[de]=ue.style[de]);V&&Object.entries(V).forEach(([de,pe])=>ue.style[de]=pe),r&&r(ie)}),watch(le,ue=>{if(!oe){V=ue;return}for(const de in ue)oe.style[de]=ue[de]},{immediate:!0}),{style:ie}}function parseTransform(t){const r=t.trim().split(/\) |\)/);if(r.length===1)return{};const V=oe=>oe.endsWith("px")||oe.endsWith("deg")?parseFloat(oe):isNaN(Number(oe))?Number(oe):oe;return r.reduce((oe,ie)=>{if(!ie)return oe;const[le,ue]=ie.split("("),pe=ue.split(",").map(_e=>V(_e.endsWith(")")?_e.replace(")",""):_e.trim())),he=pe.length===1?pe[0]:pe;return{...oe,[le]:he}},{})}function stateFromTransform(t,r){Object.entries(parseTransform(r)).forEach(([V,oe])=>{const ie=["x","y","z"];if(V==="translate3d"){if(oe===0){ie.forEach(le=>t[le]=0);return}oe.forEach((le,ue)=>t[ie[ue]]=le);return}if(oe=parseFloat(oe),V==="translateX"){t.x=oe;return}if(V==="translateY"){t.y=oe;return}if(V==="translateZ"){t.z=oe;return}t[V]=oe})}function useElementTransform(t,r){let V,oe;const{state:ie,transform:le}=reactiveTransform();return usePermissiveTarget(t,ue=>{oe=ue,ue.style.transform&&stateFromTransform(ie,ue.style.transform),V&&(ue.style.transform=V),r&&r(ie)}),watch(le,ue=>{if(!oe){V=ue;return}oe.style.transform=ue},{immediate:!0}),{transform:ie}}function useMotionProperties(t,r){const V=reactive({}),oe=ue=>Object.entries(ue).forEach(([de,pe])=>V[de]=pe),{style:ie}=useElementStyle(t,oe),{transform:le}=useElementTransform(t,oe);return watch(V,ue=>{Object.entries(ue).forEach(([de,pe])=>{const he=isTransformProp(de)?le:ie;he[de]&&he[de]===pe||(he[de]=pe)})},{immediate:!0,deep:!0}),usePermissiveTarget(t,()=>r&&oe(r)),{motionProperties:V,style:ie,transform:le}}function useMotionVariants(t={}){const r=unref(t),V=ref();return{state:computed(()=>{if(V.value)return r[V.value]}),variant:V}}function useMotion(t,r={},V){const{motionProperties:oe}=useMotionProperties(t),{variant:ie,state:le}=useMotionVariants(r),ue=useMotionControls(oe,r),de={target:t,variant:ie,variants:r,state:le,motionProperties:oe,...ue};return useMotionFeatures(de,V),de}const directivePropsKeys=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function resolveVariants(t,r){const V=t.props?t.props:t.data&&t.data.attrs?t.data.attrs:{};V&&(V.variants&&isObject$7(V.variants)&&(r.value={...r.value,...V.variants}),directivePropsKeys.forEach(oe=>{if(oe==="delay"){if(V&&V[oe]&&typeof V[oe]=="number"){const ie=V[oe];r&&r.value&&(r.value.enter&&(r.value.enter.transition||(r.value.enter.transition={}),r.value.enter.transition={delay:ie,...r.value.enter.transition}),r.value.visible&&(r.value.visible.transition||(r.value.visible.transition={}),r.value.visible.transition={delay:ie,...r.value.visible.transition}),r.value.visibleOnce&&(r.value.visibleOnce.transition||(r.value.visibleOnce.transition={}),r.value.visibleOnce.transition={delay:ie,...r.value.visibleOnce.transition}))}return}oe==="visible-once"&&(oe="visibleOnce"),V&&V[oe]&&isObject$7(V[oe])&&(r.value[oe]=V[oe])}))}function directive(t){return{created:(V,oe,ie)=>{const le=oe.value&&typeof oe.value=="string"?oe.value:ie.key;le&&motionState[le]&&motionState[le].stop();const ue=ref(t||{});typeof oe.value=="object"&&(ue.value=oe.value),resolveVariants(ie,ue);const de=useMotion(V,ue);V.motionInstance=de,le&&(motionState[le]=de)},getSSRProps(V,oe){let{initial:ie}=V.value||oe&&(oe==null?void 0:oe.props)||{};ie=unref(ie);const le=defu((t==null?void 0:t.initial)||{},ie||{});return!le||Object.keys(le).length===0?void 0:{style:variantToStyle(le)}}}}const fade={initial:{opacity:0},enter:{opacity:1}},fadeVisible={initial:{opacity:0},visible:{opacity:1}},fadeVisibleOnce={initial:{opacity:0},visibleOnce:{opacity:1}},pop$1={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},popVisible={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},popVisibleOnce={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},rollLeft={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleLeft={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceLeft={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollRight={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleRight={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceRight={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollTop={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleTop={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceTop={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollBottom={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleBottom={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceBottom={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},slideLeft={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},slideVisibleLeft={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceLeft={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},slideRight={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},slideVisibleRight={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceRight={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},slideTop={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},slideVisibleTop={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceTop={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},slideBottom={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},slideVisibleBottom={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceBottom={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},presets={__proto__:null,fade,fadeVisible,fadeVisibleOnce,pop:pop$1,popVisible,popVisibleOnce,rollBottom,rollLeft,rollRight,rollTop,rollVisibleBottom,rollVisibleLeft,rollVisibleOnceBottom,rollVisibleOnceLeft,rollVisibleOnceRight,rollVisibleOnceTop,rollVisibleRight,rollVisibleTop,slideBottom,slideLeft,slideRight,slideTop,slideVisibleBottom,slideVisibleLeft,slideVisibleOnceBottom,slideVisibleOnceLeft,slideVisibleOnceRight,slideVisibleOnceTop,slideVisibleRight,slideVisibleTop},component=defineComponent({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(t){var de;const r=useSlots(),V=reactive({});if(!t.is&&!r.default)return()=>h$2("div",{});const oe=computed(()=>{let pe;return t.preset&&(pe=presets[t.preset]),pe}),ie=computed(()=>({initial:t.initial,enter:t.enter,leave:t.leave,visible:t.visible,visibleOnce:t.visibleOnce,hovered:t.hovered,tapped:t.tapped,focused:t.focused})),le=computed(()=>{const pe={...ie.value,...oe.value||{},...t.variants||{}};return t.delay&&(pe.enter.transition={...pe.enter.transition},pe.enter.transition.delay=parseInt(t.delay)),pe}),ue=computed(()=>{if(!t.is)return;let pe=t.is;return typeof ue.value=="string"&&!isHTMLTag(pe)&&(pe=resolveComponent(pe)),pe});if(((de=process==null?void 0:process.env)==null?void 0:de.NODE_ENV)==="development"||process!=null&&process.dev){const pe=he=>{var _e;(_e=he.variants)!=null&&_e.initial&&he.set("initial"),setTimeout(()=>{var $e,Ie,Ve;($e=he.variants)!=null&&$e.enter&&he.apply("enter"),(Ie=he.variants)!=null&&Ie.visible&&he.apply("visible"),(Ve=he.variants)!=null&&Ve.visibleOnce&&he.apply("visibleOnce")},10)};onUpdated(()=>Object.entries(V).forEach(([he,_e])=>pe(_e)))}return{slots:r,component:ue,motionConfig:le,instances:V}},render({slots:t,motionConfig:r,instances:V,component:oe}){var de;const ie=variantToStyle(r.initial||{}),le=(pe,he)=>(pe.props||(pe.props={}),pe.props.style=ie,pe.props.onVnodeMounted=({el:_e})=>{const $e=useMotion(_e,r);V[he]=$e},pe);if(oe){const pe=h$2(oe,void 0,t);return le(pe,0),pe}return(((de=t.default)==null?void 0:de.call(t))||[]).map((pe,he)=>le(pe,he))}});function slugify(t){const r="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",V="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",oe=new RegExp(r.split("").join("|"),"g");return t.toString().replace(/[A-Z]/g,ie=>`-${ie}`).toLowerCase().replace(/\s+/g,"-").replace(oe,ie=>V.charAt(r.indexOf(ie))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const MotionPlugin={install(t,r){if(t.directive("motion",directive()),t.component("Motion",component),!r||r&&!r.excludePresets)for(const V in presets){const oe=presets[V];t.directive(`motion-${slugify(V)}`,directive(oe))}if(r&&r.directives)for(const V in r.directives){const oe=r.directives[V];!oe.initial&&__DEV__&&console.warn(`Your directive v-motion-${V} is missing initial variant!`),t.directive(`motion-${V}`,directive(oe))}}};/*! *****************************************************************************
|
||
Copyright (c) Microsoft Corporation.
|
||
|
||
Permission to use, copy, modify, and/or distribute this software for any
|
||
purpose with or without fee is hereby granted.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
PERFORMANCE OF THIS SOFTWARE.
|
||
***************************************************************************** */var extendStatics=function(t,r){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(V,oe){V.__proto__=oe}||function(V,oe){for(var ie in oe)Object.prototype.hasOwnProperty.call(oe,ie)&&(V[ie]=oe[ie])},extendStatics(t,r)};function __extends(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");extendStatics(t,r);function V(){this.constructor=t}t.prototype=r===null?Object.create(r):(V.prototype=r.prototype,new V)}var Browser=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),Env=function(){function t(){this.browser=new Browser,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return t}(),env=new Env;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(env.wxa=!0,env.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?env.worker=!0:typeof navigator>"u"?(env.node=!0,env.svgSupported=!0):detect(navigator.userAgent,env);function detect(t,r){var V=r.browser,oe=t.match(/Firefox\/([\d.]+)/),ie=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),le=t.match(/Edge?\/([\d.]+)/),ue=/micromessenger/i.test(t);oe&&(V.firefox=!0,V.version=oe[1]),ie&&(V.ie=!0,V.version=ie[1]),le&&(V.edge=!0,V.version=le[1],V.newEdge=+le[1].split(".")[0]>18),ue&&(V.weChat=!0),r.svgSupported=typeof SVGRect<"u",r.touchEventsSupported="ontouchstart"in window&&!V.ie&&!V.edge,r.pointerEventsSupported="onpointerdown"in window&&(V.edge||V.ie&&+V.version>=11),r.domSupported=typeof document<"u";var de=document.documentElement.style;r.transform3dSupported=(V.ie&&"transition"in de||V.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in de)&&!("OTransition"in de),r.transformSupported=r.transform3dSupported||V.ie&&+V.version>=9}const env$1=env;var DEFAULT_FONT_SIZE=12,DEFAULT_FONT_FAMILY="sans-serif",DEFAULT_FONT=DEFAULT_FONT_SIZE+"px "+DEFAULT_FONT_FAMILY,OFFSET=20,SCALE=100,defaultWidthMapStr="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function getTextWidthMap(t){var r={};if(typeof JSON>"u")return r;for(var V=0;V<t.length;V++){var oe=String.fromCharCode(V+32),ie=(t.charCodeAt(V)-OFFSET)/SCALE;r[oe]=ie}return r}var DEFAULT_TEXT_WIDTH_MAP=getTextWidthMap(defaultWidthMapStr),platformApi={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var t,r;return function(V,oe){if(!t){var ie=platformApi.createCanvas();t=ie&&ie.getContext("2d")}if(t)return r!==oe&&(r=t.font=oe||DEFAULT_FONT),t.measureText(V);V=V||"",oe=oe||DEFAULT_FONT;var le=/(\d+)px/.exec(oe),ue=le&&+le[1]||DEFAULT_FONT_SIZE,de=0;if(oe.indexOf("mono")>=0)de=ue*V.length;else for(var pe=0;pe<V.length;pe++){var he=DEFAULT_TEXT_WIDTH_MAP[V[pe]];de+=he==null?ue:he*ue}return{width:de}}}(),loadImage:function(t,r,V){var oe=new Image;return oe.onload=r,oe.onerror=V,oe.src=t,oe}};function setPlatformAPI(t){for(var r in platformApi)t[r]&&(platformApi[r]=t[r])}var BUILTIN_OBJECT=reduce(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,r){return t["[object "+r+"]"]=!0,t},{}),TYPED_ARRAY=reduce(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,r){return t["[object "+r+"Array]"]=!0,t},{}),objToString=Object.prototype.toString,arrayProto=Array.prototype,nativeForEach=arrayProto.forEach,nativeFilter=arrayProto.filter,nativeSlice=arrayProto.slice,nativeMap=arrayProto.map,ctorFunction=(function(){}).constructor,protoFunction=ctorFunction?ctorFunction.prototype:null,protoKey="__proto__",idStart=2311;function guid(){return idStart++}function logError(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];typeof console<"u"&&console.error.apply(console,t)}function clone$3(t){if(t==null||typeof t!="object")return t;var r=t,V=objToString.call(t);if(V==="[object Array]"){if(!isPrimitive(t)){r=[];for(var oe=0,ie=t.length;oe<ie;oe++)r[oe]=clone$3(t[oe])}}else if(TYPED_ARRAY[V]){if(!isPrimitive(t)){var le=t.constructor;if(le.from)r=le.from(t);else{r=new le(t.length);for(var oe=0,ie=t.length;oe<ie;oe++)r[oe]=t[oe]}}}else if(!BUILTIN_OBJECT[V]&&!isPrimitive(t)&&!isDom(t)){r={};for(var ue in t)t.hasOwnProperty(ue)&&ue!==protoKey&&(r[ue]=clone$3(t[ue]))}return r}function merge(t,r,V){if(!isObject$3(r)||!isObject$3(t))return V?clone$3(r):t;for(var oe in r)if(r.hasOwnProperty(oe)&&oe!==protoKey){var ie=t[oe],le=r[oe];isObject$3(le)&&isObject$3(ie)&&!isArray$1(le)&&!isArray$1(ie)&&!isDom(le)&&!isDom(ie)&&!isBuiltInObject(le)&&!isBuiltInObject(ie)&&!isPrimitive(le)&&!isPrimitive(ie)?merge(ie,le,V):(V||!(oe in t))&&(t[oe]=clone$3(r[oe]))}return t}function mergeAll(t,r){for(var V=t[0],oe=1,ie=t.length;oe<ie;oe++)V=merge(V,t[oe],r);return V}function extend(t,r){if(Object.assign)Object.assign(t,r);else for(var V in r)r.hasOwnProperty(V)&&V!==protoKey&&(t[V]=r[V]);return t}function defaults(t,r,V){for(var oe=keys(r),ie=0;ie<oe.length;ie++){var le=oe[ie];(V?r[le]!=null:t[le]==null)&&(t[le]=r[le])}return t}var createCanvas=platformApi.createCanvas;function indexOf(t,r){if(t){if(t.indexOf)return t.indexOf(r);for(var V=0,oe=t.length;V<oe;V++)if(t[V]===r)return V}return-1}function inherits(t,r){var V=t.prototype;function oe(){}oe.prototype=r.prototype,t.prototype=new oe;for(var ie in V)V.hasOwnProperty(ie)&&(t.prototype[ie]=V[ie]);t.prototype.constructor=t,t.superClass=r}function mixin(t,r,V){if(t="prototype"in t?t.prototype:t,r="prototype"in r?r.prototype:r,Object.getOwnPropertyNames)for(var oe=Object.getOwnPropertyNames(r),ie=0;ie<oe.length;ie++){var le=oe[ie];le!=="constructor"&&(V?r[le]!=null:t[le]==null)&&(t[le]=r[le])}else defaults(t,r,V)}function isArrayLike(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function each$c(t,r,V){if(t&&r)if(t.forEach&&t.forEach===nativeForEach)t.forEach(r,V);else if(t.length===+t.length)for(var oe=0,ie=t.length;oe<ie;oe++)r.call(V,t[oe],oe,t);else for(var le in t)t.hasOwnProperty(le)&&r.call(V,t[le],le,t)}function map$2(t,r,V){if(!t)return[];if(!r)return slice(t);if(t.map&&t.map===nativeMap)return t.map(r,V);for(var oe=[],ie=0,le=t.length;ie<le;ie++)oe.push(r.call(V,t[ie],ie,t));return oe}function reduce(t,r,V,oe){if(t&&r){for(var ie=0,le=t.length;ie<le;ie++)V=r.call(oe,V,t[ie],ie,t);return V}}function filter(t,r,V){if(!t)return[];if(!r)return slice(t);if(t.filter&&t.filter===nativeFilter)return t.filter(r,V);for(var oe=[],ie=0,le=t.length;ie<le;ie++)r.call(V,t[ie],ie,t)&&oe.push(t[ie]);return oe}function find(t,r,V){if(t&&r){for(var oe=0,ie=t.length;oe<ie;oe++)if(r.call(V,t[oe],oe,t))return t[oe]}}function keys(t){if(!t)return[];if(Object.keys)return Object.keys(t);var r=[];for(var V in t)t.hasOwnProperty(V)&&r.push(V);return r}function bindPolyfill(t,r){for(var V=[],oe=2;oe<arguments.length;oe++)V[oe-2]=arguments[oe];return function(){return t.apply(r,V.concat(nativeSlice.call(arguments)))}}var bind$1=protoFunction&&isFunction(protoFunction.bind)?protoFunction.call.bind(protoFunction.bind):bindPolyfill;function curry$1(t){for(var r=[],V=1;V<arguments.length;V++)r[V-1]=arguments[V];return function(){return t.apply(this,r.concat(nativeSlice.call(arguments)))}}function isArray$1(t){return Array.isArray?Array.isArray(t):objToString.call(t)==="[object Array]"}function isFunction(t){return typeof t=="function"}function isString(t){return typeof t=="string"}function isStringSafe(t){return objToString.call(t)==="[object String]"}function isNumber(t){return typeof t=="number"}function isObject$3(t){var r=typeof t;return r==="function"||!!t&&r==="object"}function isBuiltInObject(t){return!!BUILTIN_OBJECT[objToString.call(t)]}function isTypedArray(t){return!!TYPED_ARRAY[objToString.call(t)]}function isDom(t){return typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.ownerDocument=="object"}function isGradientObject(t){return t.colorStops!=null}function isImagePatternObject(t){return t.image!=null}function isRegExp(t){return objToString.call(t)==="[object RegExp]"}function eqNaN(t){return t!==t}function retrieve(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var V=0,oe=t.length;V<oe;V++)if(t[V]!=null)return t[V]}function retrieve2(t,r){return t??r}function retrieve3(t,r,V){return t??r??V}function slice(t){for(var r=[],V=1;V<arguments.length;V++)r[V-1]=arguments[V];return nativeSlice.apply(t,r)}function normalizeCssArray$1(t){if(typeof t=="number")return[t,t,t,t];var r=t.length;return r===2?[t[0],t[1],t[0],t[1]]:r===3?[t[0],t[1],t[2],t[1]]:t}function assert(t,r){if(!t)throw new Error(r)}function trim$1(t){return t==null?null:typeof t.trim=="function"?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var primitiveKey="__ec_primitive__";function setAsPrimitive(t){t[primitiveKey]=!0}function isPrimitive(t){return t[primitiveKey]}var MapPolyfill=function(){function t(){this.data={}}return t.prototype.delete=function(r){var V=this.has(r);return V&&delete this.data[r],V},t.prototype.has=function(r){return this.data.hasOwnProperty(r)},t.prototype.get=function(r){return this.data[r]},t.prototype.set=function(r,V){return this.data[r]=V,this},t.prototype.keys=function(){return keys(this.data)},t.prototype.forEach=function(r){var V=this.data;for(var oe in V)V.hasOwnProperty(oe)&&r(V[oe],oe)},t}(),isNativeMapSupported=typeof Map=="function";function maybeNativeMap(){return isNativeMapSupported?new Map:new MapPolyfill}var HashMap=function(){function t(r){var V=isArray$1(r);this.data=maybeNativeMap();var oe=this;r instanceof t?r.each(ie):r&&each$c(r,ie);function ie(le,ue){V?oe.set(le,ue):oe.set(ue,le)}}return t.prototype.hasKey=function(r){return this.data.has(r)},t.prototype.get=function(r){return this.data.get(r)},t.prototype.set=function(r,V){return this.data.set(r,V),V},t.prototype.each=function(r,V){this.data.forEach(function(oe,ie){r.call(V,oe,ie)})},t.prototype.keys=function(){var r=this.data.keys();return isNativeMapSupported?Array.from(r):r},t.prototype.removeKey=function(r){this.data.delete(r)},t}();function createHashMap(t){return new HashMap(t)}function concatArray(t,r){for(var V=new t.constructor(t.length+r.length),oe=0;oe<t.length;oe++)V[oe]=t[oe];for(var ie=t.length,oe=0;oe<r.length;oe++)V[oe+ie]=r[oe];return V}function createObject(t,r){var V;if(Object.create)V=Object.create(t);else{var oe=function(){};oe.prototype=t,V=new oe}return r&&extend(V,r),V}function disableUserSelect(t){var r=t.style;r.webkitUserSelect="none",r.userSelect="none",r.webkitTapHighlightColor="rgba(0,0,0,0)",r["-webkit-touch-callout"]="none"}function hasOwn(t,r){return t.hasOwnProperty(r)}function noop(){}var RADIAN_TO_DEGREE=180/Math.PI;const util$1=Object.freeze(Object.defineProperty({__proto__:null,HashMap,RADIAN_TO_DEGREE,assert,bind:bind$1,clone:clone$3,concatArray,createCanvas,createHashMap,createObject,curry:curry$1,defaults,disableUserSelect,each:each$c,eqNaN,extend,filter,find,guid,hasOwn,indexOf,inherits,isArray:isArray$1,isArrayLike,isBuiltInObject,isDom,isFunction,isGradientObject,isImagePatternObject,isNumber,isObject:isObject$3,isPrimitive,isRegExp,isString,isStringSafe,isTypedArray,keys,logError,map:map$2,merge,mergeAll,mixin,noop,normalizeCssArray:normalizeCssArray$1,reduce,retrieve,retrieve2,retrieve3,setAsPrimitive,slice,trim:trim$1},Symbol.toStringTag,{value:"Module"}));function create$1(t,r){return t==null&&(t=0),r==null&&(r=0),[t,r]}function copy$2(t,r){return t[0]=r[0],t[1]=r[1],t}function clone$2(t){return[t[0],t[1]]}function set$1(t,r,V){return t[0]=r,t[1]=V,t}function add(t,r,V){return t[0]=r[0]+V[0],t[1]=r[1]+V[1],t}function scaleAndAdd(t,r,V,oe){return t[0]=r[0]+V[0]*oe,t[1]=r[1]+V[1]*oe,t}function sub(t,r,V){return t[0]=r[0]-V[0],t[1]=r[1]-V[1],t}function len(t){return Math.sqrt(lenSquare(t))}var length=len;function lenSquare(t){return t[0]*t[0]+t[1]*t[1]}var lengthSquare=lenSquare;function mul$1(t,r,V){return t[0]=r[0]*V[0],t[1]=r[1]*V[1],t}function div(t,r,V){return t[0]=r[0]/V[0],t[1]=r[1]/V[1],t}function dot(t,r){return t[0]*r[0]+t[1]*r[1]}function scale$2(t,r,V){return t[0]=r[0]*V,t[1]=r[1]*V,t}function normalize$1(t,r){var V=len(r);return V===0?(t[0]=0,t[1]=0):(t[0]=r[0]/V,t[1]=r[1]/V),t}function distance(t,r){return Math.sqrt((t[0]-r[0])*(t[0]-r[0])+(t[1]-r[1])*(t[1]-r[1]))}var dist$1=distance;function distanceSquare(t,r){return(t[0]-r[0])*(t[0]-r[0])+(t[1]-r[1])*(t[1]-r[1])}var distSquare=distanceSquare;function negate(t,r){return t[0]=-r[0],t[1]=-r[1],t}function lerp$1(t,r,V,oe){return t[0]=r[0]+oe*(V[0]-r[0]),t[1]=r[1]+oe*(V[1]-r[1]),t}function applyTransform$1(t,r,V){var oe=r[0],ie=r[1];return t[0]=V[0]*oe+V[2]*ie+V[4],t[1]=V[1]*oe+V[3]*ie+V[5],t}function min$1(t,r,V){return t[0]=Math.min(r[0],V[0]),t[1]=Math.min(r[1],V[1]),t}function max$1(t,r,V){return t[0]=Math.max(r[0],V[0]),t[1]=Math.max(r[1],V[1]),t}const vector=Object.freeze(Object.defineProperty({__proto__:null,add,applyTransform:applyTransform$1,clone:clone$2,copy:copy$2,create:create$1,dist:dist$1,distSquare,distance,distanceSquare,div,dot,len,lenSquare,length,lengthSquare,lerp:lerp$1,max:max$1,min:min$1,mul:mul$1,negate,normalize:normalize$1,scale:scale$2,scaleAndAdd,set:set$1,sub},Symbol.toStringTag,{value:"Module"}));var Param=function(){function t(r,V){this.target=r,this.topTarget=V&&V.topTarget}return t}(),Draggable=function(){function t(r){this.handler=r,r.on("mousedown",this._dragStart,this),r.on("mousemove",this._drag,this),r.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(r){for(var V=r.target;V&&!V.draggable;)V=V.parent||V.__hostTarget;V&&(this._draggingTarget=V,V.dragging=!0,this._x=r.offsetX,this._y=r.offsetY,this.handler.dispatchToElement(new Param(V,r),"dragstart",r.event))},t.prototype._drag=function(r){var V=this._draggingTarget;if(V){var oe=r.offsetX,ie=r.offsetY,le=oe-this._x,ue=ie-this._y;this._x=oe,this._y=ie,V.drift(le,ue,r),this.handler.dispatchToElement(new Param(V,r),"drag",r.event);var de=this.handler.findHover(oe,ie,V).target,pe=this._dropTarget;this._dropTarget=de,V!==de&&(pe&&de!==pe&&this.handler.dispatchToElement(new Param(pe,r),"dragleave",r.event),de&&de!==pe&&this.handler.dispatchToElement(new Param(de,r),"dragenter",r.event))}},t.prototype._dragEnd=function(r){var V=this._draggingTarget;V&&(V.dragging=!1),this.handler.dispatchToElement(new Param(V,r),"dragend",r.event),this._dropTarget&&this.handler.dispatchToElement(new Param(this._dropTarget,r),"drop",r.event),this._draggingTarget=null,this._dropTarget=null},t}();const Draggable$1=Draggable;var Eventful=function(){function t(r){r&&(this._$eventProcessor=r)}return t.prototype.on=function(r,V,oe,ie){this._$handlers||(this._$handlers={});var le=this._$handlers;if(typeof V=="function"&&(ie=oe,oe=V,V=null),!oe||!r)return this;var ue=this._$eventProcessor;V!=null&&ue&&ue.normalizeQuery&&(V=ue.normalizeQuery(V)),le[r]||(le[r]=[]);for(var de=0;de<le[r].length;de++)if(le[r][de].h===oe)return this;var pe={h:oe,query:V,ctx:ie||this,callAtLast:oe.zrEventfulCallAtLast},he=le[r].length-1,_e=le[r][he];return _e&&_e.callAtLast?le[r].splice(he,0,pe):le[r].push(pe),this},t.prototype.isSilent=function(r){var V=this._$handlers;return!V||!V[r]||!V[r].length},t.prototype.off=function(r,V){var oe=this._$handlers;if(!oe)return this;if(!r)return this._$handlers={},this;if(V){if(oe[r]){for(var ie=[],le=0,ue=oe[r].length;le<ue;le++)oe[r][le].h!==V&&ie.push(oe[r][le]);oe[r]=ie}oe[r]&&oe[r].length===0&&delete oe[r]}else delete oe[r];return this},t.prototype.trigger=function(r){for(var V=[],oe=1;oe<arguments.length;oe++)V[oe-1]=arguments[oe];if(!this._$handlers)return this;var ie=this._$handlers[r],le=this._$eventProcessor;if(ie)for(var ue=V.length,de=ie.length,pe=0;pe<de;pe++){var he=ie[pe];if(!(le&&le.filter&&he.query!=null&&!le.filter(r,he.query)))switch(ue){case 0:he.h.call(he.ctx);break;case 1:he.h.call(he.ctx,V[0]);break;case 2:he.h.call(he.ctx,V[0],V[1]);break;default:he.h.apply(he.ctx,V);break}}return le&&le.afterTrigger&&le.afterTrigger(r),this},t.prototype.triggerWithContext=function(r){for(var V=[],oe=1;oe<arguments.length;oe++)V[oe-1]=arguments[oe];if(!this._$handlers)return this;var ie=this._$handlers[r],le=this._$eventProcessor;if(ie)for(var ue=V.length,de=V[ue-1],pe=ie.length,he=0;he<pe;he++){var _e=ie[he];if(!(le&&le.filter&&_e.query!=null&&!le.filter(r,_e.query)))switch(ue){case 0:_e.h.call(de);break;case 1:_e.h.call(de,V[0]);break;case 2:_e.h.call(de,V[0],V[1]);break;default:_e.h.apply(de,V.slice(1,ue-1));break}}return le&&le.afterTrigger&&le.afterTrigger(r),this},t}();const Eventful$1=Eventful;var LN2=Math.log(2);function determinant(t,r,V,oe,ie,le){var ue=oe+"-"+ie,de=t.length;if(le.hasOwnProperty(ue))return le[ue];if(r===1){var pe=Math.round(Math.log((1<<de)-1&~ie)/LN2);return t[V][pe]}for(var he=oe|1<<V,_e=V+1;oe&1<<_e;)_e++;for(var $e=0,Ie=0,Ve=0;Ie<de;Ie++){var Fe=1<<Ie;Fe&ie||($e+=(Ve%2?-1:1)*t[V][Ie]*determinant(t,r-1,_e,he,ie|Fe,le),Ve++)}return le[ue]=$e,$e}function buildTransformer(t,r){var V=[[t[0],t[1],1,0,0,0,-r[0]*t[0],-r[0]*t[1]],[0,0,0,t[0],t[1],1,-r[1]*t[0],-r[1]*t[1]],[t[2],t[3],1,0,0,0,-r[2]*t[2],-r[2]*t[3]],[0,0,0,t[2],t[3],1,-r[3]*t[2],-r[3]*t[3]],[t[4],t[5],1,0,0,0,-r[4]*t[4],-r[4]*t[5]],[0,0,0,t[4],t[5],1,-r[5]*t[4],-r[5]*t[5]],[t[6],t[7],1,0,0,0,-r[6]*t[6],-r[6]*t[7]],[0,0,0,t[6],t[7],1,-r[7]*t[6],-r[7]*t[7]]],oe={},ie=determinant(V,8,0,0,0,oe);if(ie!==0){for(var le=[],ue=0;ue<8;ue++)for(var de=0;de<8;de++)le[de]==null&&(le[de]=0),le[de]+=((ue+de)%2?-1:1)*determinant(V,7,ue===0?1:0,1<<ue,1<<de,oe)/ie*r[ue];return function(pe,he,_e){var $e=he*le[6]+_e*le[7]+1;pe[0]=(he*le[0]+_e*le[1]+le[2])/$e,pe[1]=(he*le[3]+_e*le[4]+le[5])/$e}}}var EVENT_SAVED_PROP="___zrEVENTSAVED",_calcOut$1=[];function transformLocalCoord(t,r,V,oe,ie){return transformCoordWithViewport(_calcOut$1,r,oe,ie,!0)&&transformCoordWithViewport(t,V,_calcOut$1[0],_calcOut$1[1])}function transformCoordWithViewport(t,r,V,oe,ie){if(r.getBoundingClientRect&&env$1.domSupported&&!isCanvasEl(r)){var le=r[EVENT_SAVED_PROP]||(r[EVENT_SAVED_PROP]={}),ue=prepareCoordMarkers(r,le),de=preparePointerTransformer(ue,le,ie);if(de)return de(t,V,oe),!0}return!1}function prepareCoordMarkers(t,r){var V=r.markers;if(V)return V;V=r.markers=[];for(var oe=["left","right"],ie=["top","bottom"],le=0;le<4;le++){var ue=document.createElement("div"),de=ue.style,pe=le%2,he=(le>>1)%2;de.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",oe[pe]+":0",ie[he]+":0",oe[1-pe]+":auto",ie[1-he]+":auto",""].join("!important;"),t.appendChild(ue),V.push(ue)}return V}function preparePointerTransformer(t,r,V){for(var oe=V?"invTrans":"trans",ie=r[oe],le=r.srcCoords,ue=[],de=[],pe=!0,he=0;he<4;he++){var _e=t[he].getBoundingClientRect(),$e=2*he,Ie=_e.left,Ve=_e.top;ue.push(Ie,Ve),pe=pe&&le&&Ie===le[$e]&&Ve===le[$e+1],de.push(t[he].offsetLeft,t[he].offsetTop)}return pe&&ie?ie:(r.srcCoords=ue,r[oe]=V?buildTransformer(de,ue):buildTransformer(ue,de))}function isCanvasEl(t){return t.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&","<":"<",">":">",'"':""","'":"'"};function encodeHTML(t){return t==null?"":(t+"").replace(replaceReg,function(r,V){return replaceMap[V]})}var MOUSE_EVENT_REG=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_calcOut=[],firefoxNotSupportOffsetXY=env$1.browser.firefox&&+env$1.browser.version.split(".")[0]<39;function clientToLocal(t,r,V,oe){return V=V||{},oe?calculateZrXY(t,r,V):firefoxNotSupportOffsetXY&&r.layerX!=null&&r.layerX!==r.offsetX?(V.zrX=r.layerX,V.zrY=r.layerY):r.offsetX!=null?(V.zrX=r.offsetX,V.zrY=r.offsetY):calculateZrXY(t,r,V),V}function calculateZrXY(t,r,V){if(env$1.domSupported&&t.getBoundingClientRect){var oe=r.clientX,ie=r.clientY;if(isCanvasEl(t)){var le=t.getBoundingClientRect();V.zrX=oe-le.left,V.zrY=ie-le.top;return}else if(transformCoordWithViewport(_calcOut,t,oe,ie)){V.zrX=_calcOut[0],V.zrY=_calcOut[1];return}}V.zrX=V.zrY=0}function getNativeEvent(t){return t||window.event}function normalizeEvent(t,r,V){if(r=getNativeEvent(r),r.zrX!=null)return r;var oe=r.type,ie=oe&&oe.indexOf("touch")>=0;if(ie){var ue=oe!=="touchend"?r.targetTouches[0]:r.changedTouches[0];ue&&clientToLocal(t,ue,r,V)}else{clientToLocal(t,r,r,V);var le=getWheelDeltaMayPolyfill(r);r.zrDelta=le?le/120:-(r.detail||0)/3}var de=r.button;return r.which==null&&de!==void 0&&MOUSE_EVENT_REG.test(r.type)&&(r.which=de&1?1:de&2?3:de&4?2:0),r}function getWheelDeltaMayPolyfill(t){var r=t.wheelDelta;if(r)return r;var V=t.deltaX,oe=t.deltaY;if(V==null||oe==null)return r;var ie=Math.abs(oe!==0?oe:V),le=oe>0?-1:oe<0?1:V>0?-1:1;return 3*ie*le}function addEventListener(t,r,V,oe){t.addEventListener(r,V,oe)}function removeEventListener(t,r,V,oe){t.removeEventListener(r,V,oe)}var stop=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function isMiddleOrRightButtonOnMouseUpDown(t){return t.which===2||t.which===3}var GestureMgr=function(){function t(){this._track=[]}return t.prototype.recognize=function(r,V,oe){return this._doTrack(r,V,oe),this._recognize(r)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(r,V,oe){var ie=r.touches;if(ie){for(var le={points:[],touches:[],target:V,event:r},ue=0,de=ie.length;ue<de;ue++){var pe=ie[ue],he=clientToLocal(oe,pe,{});le.points.push([he.zrX,he.zrY]),le.touches.push(pe)}this._track.push(le)}},t.prototype._recognize=function(r){for(var V in recognizers)if(recognizers.hasOwnProperty(V)){var oe=recognizers[V](this._track,r);if(oe)return oe}},t}();function dist(t){var r=t[1][0]-t[0][0],V=t[1][1]-t[0][1];return Math.sqrt(r*r+V*V)}function center(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var recognizers={pinch:function(t,r){var V=t.length;if(V){var oe=(t[V-1]||{}).points,ie=(t[V-2]||{}).points||oe;if(ie&&ie.length>1&&oe&&oe.length>1){var le=dist(oe)/dist(ie);!isFinite(le)&&(le=1),r.pinchScale=le;var ue=center(oe);return r.pinchX=ue[0],r.pinchY=ue[1],{type:"pinch",target:t[0].target,event:r}}}}};function create(){return[1,0,0,1,0,0]}function identity(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function copy$1(t,r){return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t[4]=r[4],t[5]=r[5],t}function mul(t,r,V){var oe=r[0]*V[0]+r[2]*V[1],ie=r[1]*V[0]+r[3]*V[1],le=r[0]*V[2]+r[2]*V[3],ue=r[1]*V[2]+r[3]*V[3],de=r[0]*V[4]+r[2]*V[5]+r[4],pe=r[1]*V[4]+r[3]*V[5]+r[5];return t[0]=oe,t[1]=ie,t[2]=le,t[3]=ue,t[4]=de,t[5]=pe,t}function translate(t,r,V){return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t[4]=r[4]+V[0],t[5]=r[5]+V[1],t}function rotate(t,r,V){var oe=r[0],ie=r[2],le=r[4],ue=r[1],de=r[3],pe=r[5],he=Math.sin(V),_e=Math.cos(V);return t[0]=oe*_e+ue*he,t[1]=-oe*he+ue*_e,t[2]=ie*_e+de*he,t[3]=-ie*he+_e*de,t[4]=_e*le+he*pe,t[5]=_e*pe-he*le,t}function scale$1(t,r,V){var oe=V[0],ie=V[1];return t[0]=r[0]*oe,t[1]=r[1]*ie,t[2]=r[2]*oe,t[3]=r[3]*ie,t[4]=r[4]*oe,t[5]=r[5]*ie,t}function invert(t,r){var V=r[0],oe=r[2],ie=r[4],le=r[1],ue=r[3],de=r[5],pe=V*ue-le*oe;return pe?(pe=1/pe,t[0]=ue*pe,t[1]=-le*pe,t[2]=-oe*pe,t[3]=V*pe,t[4]=(oe*de-ue*ie)*pe,t[5]=(le*ie-V*de)*pe,t):null}function clone$1(t){var r=create();return copy$1(r,t),r}const matrix=Object.freeze(Object.defineProperty({__proto__:null,clone:clone$1,copy:copy$1,create,identity,invert,mul,rotate,scale:scale$1,translate},Symbol.toStringTag,{value:"Module"}));var Point=function(){function t(r,V){this.x=r||0,this.y=V||0}return t.prototype.copy=function(r){return this.x=r.x,this.y=r.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(r,V){return this.x=r,this.y=V,this},t.prototype.equal=function(r){return r.x===this.x&&r.y===this.y},t.prototype.add=function(r){return this.x+=r.x,this.y+=r.y,this},t.prototype.scale=function(r){this.x*=r,this.y*=r},t.prototype.scaleAndAdd=function(r,V){this.x+=r.x*V,this.y+=r.y*V},t.prototype.sub=function(r){return this.x-=r.x,this.y-=r.y,this},t.prototype.dot=function(r){return this.x*r.x+this.y*r.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var r=this.len();return this.x/=r,this.y/=r,this},t.prototype.distance=function(r){var V=this.x-r.x,oe=this.y-r.y;return Math.sqrt(V*V+oe*oe)},t.prototype.distanceSquare=function(r){var V=this.x-r.x,oe=this.y-r.y;return V*V+oe*oe},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(r){if(r){var V=this.x,oe=this.y;return this.x=r[0]*V+r[2]*oe+r[4],this.y=r[1]*V+r[3]*oe+r[5],this}},t.prototype.toArray=function(r){return r[0]=this.x,r[1]=this.y,r},t.prototype.fromArray=function(r){this.x=r[0],this.y=r[1]},t.set=function(r,V,oe){r.x=V,r.y=oe},t.copy=function(r,V){r.x=V.x,r.y=V.y},t.len=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},t.lenSquare=function(r){return r.x*r.x+r.y*r.y},t.dot=function(r,V){return r.x*V.x+r.y*V.y},t.add=function(r,V,oe){r.x=V.x+oe.x,r.y=V.y+oe.y},t.sub=function(r,V,oe){r.x=V.x-oe.x,r.y=V.y-oe.y},t.scale=function(r,V,oe){r.x=V.x*oe,r.y=V.y*oe},t.scaleAndAdd=function(r,V,oe,ie){r.x=V.x+oe.x*ie,r.y=V.y+oe.y*ie},t.lerp=function(r,V,oe,ie){var le=1-ie;r.x=le*V.x+ie*oe.x,r.y=le*V.y+ie*oe.y},t}();const Point$1=Point;var mathMin$8=Math.min,mathMax$8=Math.max,lt=new Point$1,rb=new Point$1,lb=new Point$1,rt=new Point$1,minTv$1=new Point$1,maxTv$1=new Point$1,BoundingRect=function(){function t(r,V,oe,ie){oe<0&&(r=r+oe,oe=-oe),ie<0&&(V=V+ie,ie=-ie),this.x=r,this.y=V,this.width=oe,this.height=ie}return t.prototype.union=function(r){var V=mathMin$8(r.x,this.x),oe=mathMin$8(r.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$8(r.x+r.width,this.x+this.width)-V:this.width=r.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$8(r.y+r.height,this.y+this.height)-oe:this.height=r.height,this.x=V,this.y=oe},t.prototype.applyTransform=function(r){t.applyTransform(this,this,r)},t.prototype.calculateTransform=function(r){var V=this,oe=r.width/V.width,ie=r.height/V.height,le=create();return translate(le,le,[-V.x,-V.y]),scale$1(le,le,[oe,ie]),translate(le,le,[r.x,r.y]),le},t.prototype.intersect=function(r,V){if(!r)return!1;r instanceof t||(r=t.create(r));var oe=this,ie=oe.x,le=oe.x+oe.width,ue=oe.y,de=oe.y+oe.height,pe=r.x,he=r.x+r.width,_e=r.y,$e=r.y+r.height,Ie=!(le<pe||he<ie||de<_e||$e<ue);if(V){var Ve=1/0,Fe=0,Ue=Math.abs(le-pe),qe=Math.abs(he-ie),Et=Math.abs(de-_e),At=Math.abs($e-ue),Lt=Math.min(Ue,qe),hn=Math.min(Et,At);le<pe||he<ie?Lt>Fe&&(Fe=Lt,Ue<qe?Point$1.set(maxTv$1,-Ue,0):Point$1.set(maxTv$1,qe,0)):Lt<Ve&&(Ve=Lt,Ue<qe?Point$1.set(minTv$1,Ue,0):Point$1.set(minTv$1,-qe,0)),de<_e||$e<ue?hn>Fe&&(Fe=hn,Et<At?Point$1.set(maxTv$1,0,-Et):Point$1.set(maxTv$1,0,At)):Lt<Ve&&(Ve=Lt,Et<At?Point$1.set(minTv$1,0,Et):Point$1.set(minTv$1,0,-At))}return V&&Point$1.copy(V,Ie?minTv$1:maxTv$1),Ie},t.prototype.contain=function(r,V){var oe=this;return r>=oe.x&&r<=oe.x+oe.width&&V>=oe.y&&V<=oe.y+oe.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(r){t.copy(this,r)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return this.width===0||this.height===0},t.create=function(r){return new t(r.x,r.y,r.width,r.height)},t.copy=function(r,V){r.x=V.x,r.y=V.y,r.width=V.width,r.height=V.height},t.applyTransform=function(r,V,oe){if(!oe){r!==V&&t.copy(r,V);return}if(oe[1]<1e-5&&oe[1]>-1e-5&&oe[2]<1e-5&&oe[2]>-1e-5){var ie=oe[0],le=oe[3],ue=oe[4],de=oe[5];r.x=V.x*ie+ue,r.y=V.y*le+de,r.width=V.width*ie,r.height=V.height*le,r.width<0&&(r.x+=r.width,r.width=-r.width),r.height<0&&(r.y+=r.height,r.height=-r.height);return}lt.x=lb.x=V.x,lt.y=rt.y=V.y,rb.x=rt.x=V.x+V.width,rb.y=lb.y=V.y+V.height,lt.transform(oe),rt.transform(oe),rb.transform(oe),lb.transform(oe),r.x=mathMin$8(lt.x,rb.x,lb.x,rt.x),r.y=mathMin$8(lt.y,rb.y,lb.y,rt.y);var pe=mathMax$8(lt.x,rb.x,lb.x,rt.x),he=mathMax$8(lt.y,rb.y,lb.y,rt.y);r.width=pe-r.x,r.height=he-r.y},t}();const BoundingRect$1=BoundingRect;var SILENT="silent";function makeEventPacket(t,r,V){return{type:t,event:V,target:r.target,topTarget:r.topTarget,cancelBubble:!1,offsetX:V.zrX,offsetY:V.zrY,gestureEvent:V.gestureEvent,pinchX:V.pinchX,pinchY:V.pinchY,pinchScale:V.pinchScale,wheelDelta:V.zrDelta,zrByTouch:V.zrByTouch,which:V.which,stop:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.handler=null,V}return r.prototype.dispose=function(){},r.prototype.setCursor=function(){},r}(Eventful$1),HoveredResult=function(){function t(r,V){this.x=r,this.y=V}return t}(),handlerNames=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],tmpRect$1=new BoundingRect$1(0,0,0,0),Handler=function(t){__extends(r,t);function r(V,oe,ie,le,ue){var de=t.call(this)||this;return de._hovered=new HoveredResult(0,0),de.storage=V,de.painter=oe,de.painterRoot=le,de._pointerSize=ue,ie=ie||new EmptyProxy,de.proxy=null,de.setHandlerProxy(ie),de._draggingMgr=new Draggable$1(de),de}return r.prototype.setHandlerProxy=function(V){this.proxy&&this.proxy.dispose(),V&&(each$c(handlerNames,function(oe){V.on&&V.on(oe,this[oe],this)},this),V.handler=this),this.proxy=V},r.prototype.mousemove=function(V){var oe=V.zrX,ie=V.zrY,le=isOutsideBoundary(this,oe,ie),ue=this._hovered,de=ue.target;de&&!de.__zr&&(ue=this.findHover(ue.x,ue.y),de=ue.target);var pe=this._hovered=le?new HoveredResult(oe,ie):this.findHover(oe,ie),he=pe.target,_e=this.proxy;_e.setCursor&&_e.setCursor(he?he.cursor:"default"),de&&he!==de&&this.dispatchToElement(ue,"mouseout",V),this.dispatchToElement(pe,"mousemove",V),he&&he!==de&&this.dispatchToElement(pe,"mouseover",V)},r.prototype.mouseout=function(V){var oe=V.zrEventControl;oe!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",V),oe!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:V})},r.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},r.prototype.dispatch=function(V,oe){var ie=this[V];ie&&ie.call(this,oe)},r.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},r.prototype.setCursorStyle=function(V){var oe=this.proxy;oe.setCursor&&oe.setCursor(V)},r.prototype.dispatchToElement=function(V,oe,ie){V=V||{};var le=V.target;if(!(le&&le.silent)){for(var ue="on"+oe,de=makeEventPacket(oe,V,ie);le&&(le[ue]&&(de.cancelBubble=!!le[ue].call(le,de)),le.trigger(oe,de),le=le.__hostTarget?le.__hostTarget:le.parent,!de.cancelBubble););de.cancelBubble||(this.trigger(oe,de),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(pe){typeof pe[ue]=="function"&&pe[ue].call(pe,de),pe.trigger&&pe.trigger(oe,de)}))}},r.prototype.findHover=function(V,oe,ie){var le=this.storage.getDisplayList(),ue=new HoveredResult(V,oe);if(setHoverTarget(le,ue,V,oe,ie),this._pointerSize&&!ue.target){for(var de=[],pe=this._pointerSize,he=pe/2,_e=new BoundingRect$1(V-he,oe-he,pe,pe),$e=le.length-1;$e>=0;$e--){var Ie=le[$e];Ie!==ie&&!Ie.ignore&&!Ie.ignoreCoarsePointer&&(!Ie.parent||!Ie.parent.ignoreCoarsePointer)&&(tmpRect$1.copy(Ie.getBoundingRect()),Ie.transform&&tmpRect$1.applyTransform(Ie.transform),tmpRect$1.intersect(_e)&&de.push(Ie))}if(de.length)for(var Ve=4,Fe=Math.PI/12,Ue=Math.PI*2,qe=0;qe<he;qe+=Ve)for(var Et=0;Et<Ue;Et+=Fe){var At=V+qe*Math.cos(Et),Lt=oe+qe*Math.sin(Et);if(setHoverTarget(de,ue,At,Lt,ie),ue.target)return ue}}return ue},r.prototype.processGesture=function(V,oe){this._gestureMgr||(this._gestureMgr=new GestureMgr);var ie=this._gestureMgr;oe==="start"&&ie.clear();var le=ie.recognize(V,this.findHover(V.zrX,V.zrY,null).target,this.proxy.dom);if(oe==="end"&&ie.clear(),le){var ue=le.type;V.gestureEvent=ue;var de=new HoveredResult;de.target=le.target,this.dispatchToElement(de,ue,le.event)}},r}(Eventful$1);each$c(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){Handler.prototype[t]=function(r){var V=r.zrX,oe=r.zrY,ie=isOutsideBoundary(this,V,oe),le,ue;if((t!=="mouseup"||!ie)&&(le=this.findHover(V,oe),ue=le.target),t==="mousedown")this._downEl=ue,this._downPoint=[r.zrX,r.zrY],this._upEl=ue;else if(t==="mouseup")this._upEl=ue;else if(t==="click"){if(this._downEl!==this._upEl||!this._downPoint||dist$1(this._downPoint,[r.zrX,r.zrY])>4)return;this._downPoint=null}this.dispatchToElement(le,t,r)}});function isHover(t,r,V){if(t[t.rectHover?"rectContain":"contain"](r,V)){for(var oe=t,ie=void 0,le=!1;oe;){if(oe.ignoreClip&&(le=!0),!le){var ue=oe.getClipPath();if(ue&&!ue.contain(r,V))return!1;oe.silent&&(ie=!0)}var de=oe.__hostTarget;oe=de||oe.parent}return ie?SILENT:!0}return!1}function setHoverTarget(t,r,V,oe,ie){for(var le=t.length-1;le>=0;le--){var ue=t[le],de=void 0;if(ue!==ie&&!ue.ignore&&(de=isHover(ue,V,oe))&&(!r.topTarget&&(r.topTarget=ue),de!==SILENT)){r.target=ue;break}}}function isOutsideBoundary(t,r,V){var oe=t.painter;return r<0||r>oe.getWidth()||V<0||V>oe.getHeight()}const Handler$1=Handler;var DEFAULT_MIN_MERGE=32,DEFAULT_MIN_GALLOPING=7;function minRunLength(t){for(var r=0;t>=DEFAULT_MIN_MERGE;)r|=t&1,t>>=1;return t+r}function makeAscendingRun(t,r,V,oe){var ie=r+1;if(ie===V)return 1;if(oe(t[ie++],t[r])<0){for(;ie<V&&oe(t[ie],t[ie-1])<0;)ie++;reverseRun(t,r,ie)}else for(;ie<V&&oe(t[ie],t[ie-1])>=0;)ie++;return ie-r}function reverseRun(t,r,V){for(V--;r<V;){var oe=t[r];t[r++]=t[V],t[V--]=oe}}function binaryInsertionSort(t,r,V,oe,ie){for(oe===r&&oe++;oe<V;oe++){for(var le=t[oe],ue=r,de=oe,pe;ue<de;)pe=ue+de>>>1,ie(le,t[pe])<0?de=pe:ue=pe+1;var he=oe-ue;switch(he){case 3:t[ue+3]=t[ue+2];case 2:t[ue+2]=t[ue+1];case 1:t[ue+1]=t[ue];break;default:for(;he>0;)t[ue+he]=t[ue+he-1],he--}t[ue]=le}}function gallopLeft(t,r,V,oe,ie,le){var ue=0,de=0,pe=1;if(le(t,r[V+ie])>0){for(de=oe-ie;pe<de&&le(t,r[V+ie+pe])>0;)ue=pe,pe=(pe<<1)+1,pe<=0&&(pe=de);pe>de&&(pe=de),ue+=ie,pe+=ie}else{for(de=ie+1;pe<de&&le(t,r[V+ie-pe])<=0;)ue=pe,pe=(pe<<1)+1,pe<=0&&(pe=de);pe>de&&(pe=de);var he=ue;ue=ie-pe,pe=ie-he}for(ue++;ue<pe;){var _e=ue+(pe-ue>>>1);le(t,r[V+_e])>0?ue=_e+1:pe=_e}return pe}function gallopRight(t,r,V,oe,ie,le){var ue=0,de=0,pe=1;if(le(t,r[V+ie])<0){for(de=ie+1;pe<de&&le(t,r[V+ie-pe])<0;)ue=pe,pe=(pe<<1)+1,pe<=0&&(pe=de);pe>de&&(pe=de);var he=ue;ue=ie-pe,pe=ie-he}else{for(de=oe-ie;pe<de&&le(t,r[V+ie+pe])>=0;)ue=pe,pe=(pe<<1)+1,pe<=0&&(pe=de);pe>de&&(pe=de),ue+=ie,pe+=ie}for(ue++;ue<pe;){var _e=ue+(pe-ue>>>1);le(t,r[V+_e])<0?pe=_e:ue=_e+1}return pe}function TimSort(t,r){var V=DEFAULT_MIN_GALLOPING,oe,ie,le=0;t.length;var ue=[];oe=[],ie=[];function de(Ve,Fe){oe[le]=Ve,ie[le]=Fe,le+=1}function pe(){for(;le>1;){var Ve=le-2;if(Ve>=1&&ie[Ve-1]<=ie[Ve]+ie[Ve+1]||Ve>=2&&ie[Ve-2]<=ie[Ve]+ie[Ve-1])ie[Ve-1]<ie[Ve+1]&&Ve--;else if(ie[Ve]>ie[Ve+1])break;_e(Ve)}}function he(){for(;le>1;){var Ve=le-2;Ve>0&&ie[Ve-1]<ie[Ve+1]&&Ve--,_e(Ve)}}function _e(Ve){var Fe=oe[Ve],Ue=ie[Ve],qe=oe[Ve+1],Et=ie[Ve+1];ie[Ve]=Ue+Et,Ve===le-3&&(oe[Ve+1]=oe[Ve+2],ie[Ve+1]=ie[Ve+2]),le--;var At=gallopRight(t[qe],t,Fe,Ue,0,r);Fe+=At,Ue-=At,Ue!==0&&(Et=gallopLeft(t[Fe+Ue-1],t,qe,Et,Et-1,r),Et!==0&&(Ue<=Et?$e(Fe,Ue,qe,Et):Ie(Fe,Ue,qe,Et)))}function $e(Ve,Fe,Ue,qe){var Et=0;for(Et=0;Et<Fe;Et++)ue[Et]=t[Ve+Et];var At=0,Lt=Ue,hn=Ve;if(t[hn++]=t[Lt++],--qe===0){for(Et=0;Et<Fe;Et++)t[hn+Et]=ue[At+Et];return}if(Fe===1){for(Et=0;Et<qe;Et++)t[hn+Et]=t[Lt+Et];t[hn+qe]=ue[At];return}for(var _n=V,vn,bn,Cn;;){vn=0,bn=0,Cn=!1;do if(r(t[Lt],ue[At])<0){if(t[hn++]=t[Lt++],bn++,vn=0,--qe===0){Cn=!0;break}}else if(t[hn++]=ue[At++],vn++,bn=0,--Fe===1){Cn=!0;break}while((vn|bn)<_n);if(Cn)break;do{if(vn=gallopRight(t[Lt],ue,At,Fe,0,r),vn!==0){for(Et=0;Et<vn;Et++)t[hn+Et]=ue[At+Et];if(hn+=vn,At+=vn,Fe-=vn,Fe<=1){Cn=!0;break}}if(t[hn++]=t[Lt++],--qe===0){Cn=!0;break}if(bn=gallopLeft(ue[At],t,Lt,qe,0,r),bn!==0){for(Et=0;Et<bn;Et++)t[hn+Et]=t[Lt+Et];if(hn+=bn,Lt+=bn,qe-=bn,qe===0){Cn=!0;break}}if(t[hn++]=ue[At++],--Fe===1){Cn=!0;break}_n--}while(vn>=DEFAULT_MIN_GALLOPING||bn>=DEFAULT_MIN_GALLOPING);if(Cn)break;_n<0&&(_n=0),_n+=2}if(V=_n,V<1&&(V=1),Fe===1){for(Et=0;Et<qe;Et++)t[hn+Et]=t[Lt+Et];t[hn+qe]=ue[At]}else{if(Fe===0)throw new Error;for(Et=0;Et<Fe;Et++)t[hn+Et]=ue[At+Et]}}function Ie(Ve,Fe,Ue,qe){var Et=0;for(Et=0;Et<qe;Et++)ue[Et]=t[Ue+Et];var At=Ve+Fe-1,Lt=qe-1,hn=Ue+qe-1,_n=0,vn=0;if(t[hn--]=t[At--],--Fe===0){for(_n=hn-(qe-1),Et=0;Et<qe;Et++)t[_n+Et]=ue[Et];return}if(qe===1){for(hn-=Fe,At-=Fe,vn=hn+1,_n=At+1,Et=Fe-1;Et>=0;Et--)t[vn+Et]=t[_n+Et];t[hn]=ue[Lt];return}for(var bn=V;;){var Cn=0,Sn=0,wn=!1;do if(r(ue[Lt],t[At])<0){if(t[hn--]=t[At--],Cn++,Sn=0,--Fe===0){wn=!0;break}}else if(t[hn--]=ue[Lt--],Sn++,Cn=0,--qe===1){wn=!0;break}while((Cn|Sn)<bn);if(wn)break;do{if(Cn=Fe-gallopRight(ue[Lt],t,Ve,Fe,Fe-1,r),Cn!==0){for(hn-=Cn,At-=Cn,Fe-=Cn,vn=hn+1,_n=At+1,Et=Cn-1;Et>=0;Et--)t[vn+Et]=t[_n+Et];if(Fe===0){wn=!0;break}}if(t[hn--]=ue[Lt--],--qe===1){wn=!0;break}if(Sn=qe-gallopLeft(t[At],ue,0,qe,qe-1,r),Sn!==0){for(hn-=Sn,Lt-=Sn,qe-=Sn,vn=hn+1,_n=Lt+1,Et=0;Et<Sn;Et++)t[vn+Et]=ue[_n+Et];if(qe<=1){wn=!0;break}}if(t[hn--]=t[At--],--Fe===0){wn=!0;break}bn--}while(Cn>=DEFAULT_MIN_GALLOPING||Sn>=DEFAULT_MIN_GALLOPING);if(wn)break;bn<0&&(bn=0),bn+=2}if(V=bn,V<1&&(V=1),qe===1){for(hn-=Fe,At-=Fe,vn=hn+1,_n=At+1,Et=Fe-1;Et>=0;Et--)t[vn+Et]=t[_n+Et];t[hn]=ue[Lt]}else{if(qe===0)throw new Error;for(_n=hn-(qe-1),Et=0;Et<qe;Et++)t[_n+Et]=ue[Et]}}return{mergeRuns:pe,forceMergeRuns:he,pushRun:de}}function sort(t,r,V,oe){V||(V=0),oe||(oe=t.length);var ie=oe-V;if(!(ie<2)){var le=0;if(ie<DEFAULT_MIN_MERGE){le=makeAscendingRun(t,V,oe,r),binaryInsertionSort(t,V,oe,V+le,r);return}var ue=TimSort(t,r),de=minRunLength(ie);do{if(le=makeAscendingRun(t,V,oe,r),le<de){var pe=ie;pe>de&&(pe=de),binaryInsertionSort(t,V,V+pe,V+le,r),le=pe}ue.pushRun(V,le),ue.mergeRuns(),ie-=le,V+=le}while(ie!==0);ue.forceMergeRuns()}}var REDRAW_BIT=1,STYLE_CHANGED_BIT=2,SHAPE_CHANGED_BIT=4,invalidZErrorLogged=!1;function logInvalidZError(){invalidZErrorLogged||(invalidZErrorLogged=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function shapeCompareFunc(t,r){return t.zlevel===r.zlevel?t.z===r.z?t.z2-r.z2:t.z-r.z:t.zlevel-r.zlevel}var Storage=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}return t.prototype.traverse=function(r,V){for(var oe=0;oe<this._roots.length;oe++)this._roots[oe].traverse(r,V)},t.prototype.getDisplayList=function(r,V){V=V||!1;var oe=this._displayList;return(r||!oe.length)&&this.updateDisplayList(V),oe},t.prototype.updateDisplayList=function(r){this._displayListLen=0;for(var V=this._roots,oe=this._displayList,ie=0,le=V.length;ie<le;ie++)this._updateAndAddDisplayable(V[ie],null,r);oe.length=this._displayListLen,sort(oe,shapeCompareFunc)},t.prototype._updateAndAddDisplayable=function(r,V,oe){if(!(r.ignore&&!oe)){r.beforeUpdate(),r.update(),r.afterUpdate();var ie=r.getClipPath();if(r.ignoreClip)V=null;else if(ie){V?V=V.slice():V=[];for(var le=ie,ue=r;le;)le.parent=ue,le.updateTransform(),V.push(le),ue=le,le=le.getClipPath()}if(r.childrenRef){for(var de=r.childrenRef(),pe=0;pe<de.length;pe++){var he=de[pe];r.__dirty&&(he.__dirty|=REDRAW_BIT),this._updateAndAddDisplayable(he,V,oe)}r.__dirty=0}else{var _e=r;V&&V.length?_e.__clipPaths=V:_e.__clipPaths&&_e.__clipPaths.length>0&&(_e.__clipPaths=[]),isNaN(_e.z)&&(logInvalidZError(),_e.z=0),isNaN(_e.z2)&&(logInvalidZError(),_e.z2=0),isNaN(_e.zlevel)&&(logInvalidZError(),_e.zlevel=0),this._displayList[this._displayListLen++]=_e}var $e=r.getDecalElement&&r.getDecalElement();$e&&this._updateAndAddDisplayable($e,V,oe);var Ie=r.getTextGuideLine();Ie&&this._updateAndAddDisplayable(Ie,V,oe);var Ve=r.getTextContent();Ve&&this._updateAndAddDisplayable(Ve,V,oe)}},t.prototype.addRoot=function(r){r.__zr&&r.__zr.storage===this||this._roots.push(r)},t.prototype.delRoot=function(r){if(r instanceof Array){for(var V=0,oe=r.length;V<oe;V++)this.delRoot(r[V]);return}var ie=indexOf(this._roots,r);ie>=0&&this._roots.splice(ie,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();const Storage$1=Storage;var requestAnimationFrame$1;requestAnimationFrame$1=env$1.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};const requestAnimationFrame$2=requestAnimationFrame$1;var easingFuncs={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return t===0?0:Math.pow(1024,t-1)},exponentialOut:function(t){return t===1?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return t===0?0:t===1?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var r,V=.1,oe=.4;return t===0?0:t===1?1:(!V||V<1?(V=1,r=oe/4):r=oe*Math.asin(1/V)/(2*Math.PI),-(V*Math.pow(2,10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/oe)))},elasticOut:function(t){var r,V=.1,oe=.4;return t===0?0:t===1?1:(!V||V<1?(V=1,r=oe/4):r=oe*Math.asin(1/V)/(2*Math.PI),V*Math.pow(2,-10*t)*Math.sin((t-r)*(2*Math.PI)/oe)+1)},elasticInOut:function(t){var r,V=.1,oe=.4;return t===0?0:t===1?1:(!V||V<1?(V=1,r=oe/4):r=oe*Math.asin(1/V)/(2*Math.PI),(t*=2)<1?-.5*(V*Math.pow(2,10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/oe)):V*Math.pow(2,-10*(t-=1))*Math.sin((t-r)*(2*Math.PI)/oe)*.5+1)},backIn:function(t){var r=1.70158;return t*t*((r+1)*t-r)},backOut:function(t){var r=1.70158;return--t*t*((r+1)*t+r)+1},backInOut:function(t){var r=2.5949095;return(t*=2)<1?.5*(t*t*((r+1)*t-r)):.5*((t-=2)*t*((r+1)*t+r)+2)},bounceIn:function(t){return 1-easingFuncs.bounceOut(1-t)},bounceOut: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},bounceInOut:function(t){return t<.5?easingFuncs.bounceIn(t*2)*.5:easingFuncs.bounceOut(t*2-1)*.5+.5}};const easingFuncs$1=easingFuncs;var mathPow$2=Math.pow,mathSqrt$3=Math.sqrt,EPSILON$3=1e-8,EPSILON_NUMERIC=1e-4,THREE_SQRT=mathSqrt$3(3),ONE_THIRD=1/3,_v0=create$1(),_v1=create$1(),_v2=create$1();function isAroundZero(t){return t>-EPSILON$3&&t<EPSILON$3}function isNotAroundZero$1(t){return t>EPSILON$3||t<-EPSILON$3}function cubicAt(t,r,V,oe,ie){var le=1-ie;return le*le*(le*t+3*ie*r)+ie*ie*(ie*oe+3*le*V)}function cubicDerivativeAt(t,r,V,oe,ie){var le=1-ie;return 3*(((r-t)*le+2*(V-r)*ie)*le+(oe-V)*ie*ie)}function cubicRootAt(t,r,V,oe,ie,le){var ue=oe+3*(r-V)-t,de=3*(V-r*2+t),pe=3*(r-t),he=t-ie,_e=de*de-3*ue*pe,$e=de*pe-9*ue*he,Ie=pe*pe-3*de*he,Ve=0;if(isAroundZero(_e)&&isAroundZero($e))if(isAroundZero(de))le[0]=0;else{var Fe=-pe/de;Fe>=0&&Fe<=1&&(le[Ve++]=Fe)}else{var Ue=$e*$e-4*_e*Ie;if(isAroundZero(Ue)){var qe=$e/_e,Fe=-de/ue+qe,Et=-qe/2;Fe>=0&&Fe<=1&&(le[Ve++]=Fe),Et>=0&&Et<=1&&(le[Ve++]=Et)}else if(Ue>0){var At=mathSqrt$3(Ue),Lt=_e*de+1.5*ue*(-$e+At),hn=_e*de+1.5*ue*(-$e-At);Lt<0?Lt=-mathPow$2(-Lt,ONE_THIRD):Lt=mathPow$2(Lt,ONE_THIRD),hn<0?hn=-mathPow$2(-hn,ONE_THIRD):hn=mathPow$2(hn,ONE_THIRD);var Fe=(-de-(Lt+hn))/(3*ue);Fe>=0&&Fe<=1&&(le[Ve++]=Fe)}else{var _n=(2*_e*de-3*ue*$e)/(2*mathSqrt$3(_e*_e*_e)),vn=Math.acos(_n)/3,bn=mathSqrt$3(_e),Cn=Math.cos(vn),Fe=(-de-2*bn*Cn)/(3*ue),Et=(-de+bn*(Cn+THREE_SQRT*Math.sin(vn)))/(3*ue),Sn=(-de+bn*(Cn-THREE_SQRT*Math.sin(vn)))/(3*ue);Fe>=0&&Fe<=1&&(le[Ve++]=Fe),Et>=0&&Et<=1&&(le[Ve++]=Et),Sn>=0&&Sn<=1&&(le[Ve++]=Sn)}}return Ve}function cubicExtrema(t,r,V,oe,ie){var le=6*V-12*r+6*t,ue=9*r+3*oe-3*t-9*V,de=3*r-3*t,pe=0;if(isAroundZero(ue)){if(isNotAroundZero$1(le)){var he=-de/le;he>=0&&he<=1&&(ie[pe++]=he)}}else{var _e=le*le-4*ue*de;if(isAroundZero(_e))ie[0]=-le/(2*ue);else if(_e>0){var $e=mathSqrt$3(_e),he=(-le+$e)/(2*ue),Ie=(-le-$e)/(2*ue);he>=0&&he<=1&&(ie[pe++]=he),Ie>=0&&Ie<=1&&(ie[pe++]=Ie)}}return pe}function cubicSubdivide(t,r,V,oe,ie,le){var ue=(r-t)*ie+t,de=(V-r)*ie+r,pe=(oe-V)*ie+V,he=(de-ue)*ie+ue,_e=(pe-de)*ie+de,$e=(_e-he)*ie+he;le[0]=t,le[1]=ue,le[2]=he,le[3]=$e,le[4]=$e,le[5]=_e,le[6]=pe,le[7]=oe}function cubicProjectPoint(t,r,V,oe,ie,le,ue,de,pe,he,_e){var $e,Ie=.005,Ve=1/0,Fe,Ue,qe,Et;_v0[0]=pe,_v0[1]=he;for(var At=0;At<1;At+=.05)_v1[0]=cubicAt(t,V,ie,ue,At),_v1[1]=cubicAt(r,oe,le,de,At),qe=distSquare(_v0,_v1),qe<Ve&&($e=At,Ve=qe);Ve=1/0;for(var Lt=0;Lt<32&&!(Ie<EPSILON_NUMERIC);Lt++)Fe=$e-Ie,Ue=$e+Ie,_v1[0]=cubicAt(t,V,ie,ue,Fe),_v1[1]=cubicAt(r,oe,le,de,Fe),qe=distSquare(_v1,_v0),Fe>=0&&qe<Ve?($e=Fe,Ve=qe):(_v2[0]=cubicAt(t,V,ie,ue,Ue),_v2[1]=cubicAt(r,oe,le,de,Ue),Et=distSquare(_v2,_v0),Ue<=1&&Et<Ve?($e=Ue,Ve=Et):Ie*=.5);return _e&&(_e[0]=cubicAt(t,V,ie,ue,$e),_e[1]=cubicAt(r,oe,le,de,$e)),mathSqrt$3(Ve)}function cubicLength(t,r,V,oe,ie,le,ue,de,pe){for(var he=t,_e=r,$e=0,Ie=1/pe,Ve=1;Ve<=pe;Ve++){var Fe=Ve*Ie,Ue=cubicAt(t,V,ie,ue,Fe),qe=cubicAt(r,oe,le,de,Fe),Et=Ue-he,At=qe-_e;$e+=Math.sqrt(Et*Et+At*At),he=Ue,_e=qe}return $e}function quadraticAt(t,r,V,oe){var ie=1-oe;return ie*(ie*t+2*oe*r)+oe*oe*V}function quadraticDerivativeAt(t,r,V,oe){return 2*((1-oe)*(r-t)+oe*(V-r))}function quadraticRootAt(t,r,V,oe,ie){var le=t-2*r+V,ue=2*(r-t),de=t-oe,pe=0;if(isAroundZero(le)){if(isNotAroundZero$1(ue)){var he=-de/ue;he>=0&&he<=1&&(ie[pe++]=he)}}else{var _e=ue*ue-4*le*de;if(isAroundZero(_e)){var he=-ue/(2*le);he>=0&&he<=1&&(ie[pe++]=he)}else if(_e>0){var $e=mathSqrt$3(_e),he=(-ue+$e)/(2*le),Ie=(-ue-$e)/(2*le);he>=0&&he<=1&&(ie[pe++]=he),Ie>=0&&Ie<=1&&(ie[pe++]=Ie)}}return pe}function quadraticExtremum(t,r,V){var oe=t+V-2*r;return oe===0?.5:(t-r)/oe}function quadraticSubdivide(t,r,V,oe,ie){var le=(r-t)*oe+t,ue=(V-r)*oe+r,de=(ue-le)*oe+le;ie[0]=t,ie[1]=le,ie[2]=de,ie[3]=de,ie[4]=ue,ie[5]=V}function quadraticProjectPoint(t,r,V,oe,ie,le,ue,de,pe){var he,_e=.005,$e=1/0;_v0[0]=ue,_v0[1]=de;for(var Ie=0;Ie<1;Ie+=.05){_v1[0]=quadraticAt(t,V,ie,Ie),_v1[1]=quadraticAt(r,oe,le,Ie);var Ve=distSquare(_v0,_v1);Ve<$e&&(he=Ie,$e=Ve)}$e=1/0;for(var Fe=0;Fe<32&&!(_e<EPSILON_NUMERIC);Fe++){var Ue=he-_e,qe=he+_e;_v1[0]=quadraticAt(t,V,ie,Ue),_v1[1]=quadraticAt(r,oe,le,Ue);var Ve=distSquare(_v1,_v0);if(Ue>=0&&Ve<$e)he=Ue,$e=Ve;else{_v2[0]=quadraticAt(t,V,ie,qe),_v2[1]=quadraticAt(r,oe,le,qe);var Et=distSquare(_v2,_v0);qe<=1&&Et<$e?(he=qe,$e=Et):_e*=.5}}return pe&&(pe[0]=quadraticAt(t,V,ie,he),pe[1]=quadraticAt(r,oe,le,he)),mathSqrt$3($e)}function quadraticLength(t,r,V,oe,ie,le,ue){for(var de=t,pe=r,he=0,_e=1/ue,$e=1;$e<=ue;$e++){var Ie=$e*_e,Ve=quadraticAt(t,V,ie,Ie),Fe=quadraticAt(r,oe,le,Ie),Ue=Ve-de,qe=Fe-pe;he+=Math.sqrt(Ue*Ue+qe*qe),de=Ve,pe=Fe}return he}var regexp=/cubic-bezier\(([0-9,\.e ]+)\)/;function createCubicEasingFunc(t){var r=t&®exp.exec(t);if(r){var V=r[1].split(","),oe=+trim$1(V[0]),ie=+trim$1(V[1]),le=+trim$1(V[2]),ue=+trim$1(V[3]);if(isNaN(oe+ie+le+ue))return;var de=[];return function(pe){return pe<=0?0:pe>=1?1:cubicRootAt(0,oe,le,1,pe,de)&&cubicAt(0,ie,ue,1,de[0])}}}var Clip=function(){function t(r){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=r.life||1e3,this._delay=r.delay||0,this.loop=r.loop||!1,this.onframe=r.onframe||noop,this.ondestroy=r.ondestroy||noop,this.onrestart=r.onrestart||noop,r.easing&&this.setEasing(r.easing)}return t.prototype.step=function(r,V){if(this._inited||(this._startTime=r+this._delay,this._inited=!0),this._paused){this._pausedTime+=V;return}var oe=this._life,ie=r-this._startTime-this._pausedTime,le=ie/oe;le<0&&(le=0),le=Math.min(le,1);var ue=this.easingFunc,de=ue?ue(le):le;if(this.onframe(de),le===1)if(this.loop){var pe=ie%oe;this._startTime=r-pe,this._pausedTime=0,this.onrestart()}else return!0;return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(r){this.easing=r,this.easingFunc=isFunction(r)?r:easingFuncs$1[r]||createCubicEasingFunc(r)},t}();const Clip$1=Clip;var Entry=function(){function t(r){this.value=r}return t}(),LinkedList=function(){function t(){this._len=0}return t.prototype.insert=function(r){var V=new Entry(r);return this.insertEntry(V),V},t.prototype.insertEntry=function(r){this.head?(this.tail.next=r,r.prev=this.tail,r.next=null,this.tail=r):this.head=this.tail=r,this._len++},t.prototype.remove=function(r){var V=r.prev,oe=r.next;V?V.next=oe:this.head=oe,oe?oe.prev=V:this.tail=V,r.next=r.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),LRU=function(){function t(r){this._list=new LinkedList,this._maxSize=10,this._map={},this._maxSize=r}return t.prototype.put=function(r,V){var oe=this._list,ie=this._map,le=null;if(ie[r]==null){var ue=oe.len(),de=this._lastRemovedEntry;if(ue>=this._maxSize&&ue>0){var pe=oe.head;oe.remove(pe),delete ie[pe.key],le=pe.value,this._lastRemovedEntry=pe}de?de.value=V:de=new Entry(V),de.key=r,oe.insertEntry(de),ie[r]=de}return le},t.prototype.get=function(r){var V=this._map[r],oe=this._list;if(V!=null)return V!==oe.tail&&(oe.remove(V),oe.insertEntry(V)),V.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();const LRU$1=LRU;var kCSSColorTable={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function clampCssByte(t){return t=Math.round(t),t<0?0:t>255?255:t}function clampCssAngle(t){return t=Math.round(t),t<0?0:t>360?360:t}function clampCssFloat(t){return t<0?0:t>1?1:t}function parseCssInt(t){var r=t;return r.length&&r.charAt(r.length-1)==="%"?clampCssByte(parseFloat(r)/100*255):clampCssByte(parseInt(r,10))}function parseCssFloat(t){var r=t;return r.length&&r.charAt(r.length-1)==="%"?clampCssFloat(parseFloat(r)/100):clampCssFloat(parseFloat(r))}function cssHueToRgb(t,r,V){return V<0?V+=1:V>1&&(V-=1),V*6<1?t+(r-t)*V*6:V*2<1?r:V*3<2?t+(r-t)*(2/3-V)*6:t}function lerpNumber(t,r,V){return t+(r-t)*V}function setRgba(t,r,V,oe,ie){return t[0]=r,t[1]=V,t[2]=oe,t[3]=ie,t}function copyRgba(t,r){return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t}var colorCache=new LRU$1(20),lastRemovedArr=null;function putToCache(t,r){lastRemovedArr&©Rgba(lastRemovedArr,r),lastRemovedArr=colorCache.put(t,lastRemovedArr||r.slice())}function parse$1(t,r){if(t){r=r||[];var V=colorCache.get(t);if(V)return copyRgba(r,V);t=t+"";var oe=t.replace(/ /g,"").toLowerCase();if(oe in kCSSColorTable)return copyRgba(r,kCSSColorTable[oe]),putToCache(t,r),r;var ie=oe.length;if(oe.charAt(0)==="#"){if(ie===4||ie===5){var le=parseInt(oe.slice(1,4),16);if(!(le>=0&&le<=4095)){setRgba(r,0,0,0,1);return}return setRgba(r,(le&3840)>>4|(le&3840)>>8,le&240|(le&240)>>4,le&15|(le&15)<<4,ie===5?parseInt(oe.slice(4),16)/15:1),putToCache(t,r),r}else if(ie===7||ie===9){var le=parseInt(oe.slice(1,7),16);if(!(le>=0&&le<=16777215)){setRgba(r,0,0,0,1);return}return setRgba(r,(le&16711680)>>16,(le&65280)>>8,le&255,ie===9?parseInt(oe.slice(7),16)/255:1),putToCache(t,r),r}return}var ue=oe.indexOf("("),de=oe.indexOf(")");if(ue!==-1&&de+1===ie){var pe=oe.substr(0,ue),he=oe.substr(ue+1,de-(ue+1)).split(","),_e=1;switch(pe){case"rgba":if(he.length!==4)return he.length===3?setRgba(r,+he[0],+he[1],+he[2],1):setRgba(r,0,0,0,1);_e=parseCssFloat(he.pop());case"rgb":if(he.length>=3)return setRgba(r,parseCssInt(he[0]),parseCssInt(he[1]),parseCssInt(he[2]),he.length===3?_e:parseCssFloat(he[3])),putToCache(t,r),r;setRgba(r,0,0,0,1);return;case"hsla":if(he.length!==4){setRgba(r,0,0,0,1);return}return he[3]=parseCssFloat(he[3]),hsla2rgba(he,r),putToCache(t,r),r;case"hsl":if(he.length!==3){setRgba(r,0,0,0,1);return}return hsla2rgba(he,r),putToCache(t,r),r;default:return}}setRgba(r,0,0,0,1)}}function hsla2rgba(t,r){var V=(parseFloat(t[0])%360+360)%360/360,oe=parseCssFloat(t[1]),ie=parseCssFloat(t[2]),le=ie<=.5?ie*(oe+1):ie+oe-ie*oe,ue=ie*2-le;return r=r||[],setRgba(r,clampCssByte(cssHueToRgb(ue,le,V+1/3)*255),clampCssByte(cssHueToRgb(ue,le,V)*255),clampCssByte(cssHueToRgb(ue,le,V-1/3)*255),1),t.length===4&&(r[3]=t[3]),r}function rgba2hsla(t){if(t){var r=t[0]/255,V=t[1]/255,oe=t[2]/255,ie=Math.min(r,V,oe),le=Math.max(r,V,oe),ue=le-ie,de=(le+ie)/2,pe,he;if(ue===0)pe=0,he=0;else{de<.5?he=ue/(le+ie):he=ue/(2-le-ie);var _e=((le-r)/6+ue/2)/ue,$e=((le-V)/6+ue/2)/ue,Ie=((le-oe)/6+ue/2)/ue;r===le?pe=Ie-$e:V===le?pe=1/3+_e-Ie:oe===le&&(pe=2/3+$e-_e),pe<0&&(pe+=1),pe>1&&(pe-=1)}var Ve=[pe*360,he,de];return t[3]!=null&&Ve.push(t[3]),Ve}}function lift(t,r){var V=parse$1(t);if(V){for(var oe=0;oe<3;oe++)r<0?V[oe]=V[oe]*(1-r)|0:V[oe]=(255-V[oe])*r+V[oe]|0,V[oe]>255?V[oe]=255:V[oe]<0&&(V[oe]=0);return stringify(V,V.length===4?"rgba":"rgb")}}function toHex(t){var r=parse$1(t);if(r)return((1<<24)+(r[0]<<16)+(r[1]<<8)+ +r[2]).toString(16).slice(1)}function fastLerp(t,r,V){if(!(!(r&&r.length)||!(t>=0&&t<=1))){V=V||[];var oe=t*(r.length-1),ie=Math.floor(oe),le=Math.ceil(oe),ue=r[ie],de=r[le],pe=oe-ie;return V[0]=clampCssByte(lerpNumber(ue[0],de[0],pe)),V[1]=clampCssByte(lerpNumber(ue[1],de[1],pe)),V[2]=clampCssByte(lerpNumber(ue[2],de[2],pe)),V[3]=clampCssFloat(lerpNumber(ue[3],de[3],pe)),V}}var fastMapToColor=fastLerp;function lerp(t,r,V){if(!(!(r&&r.length)||!(t>=0&&t<=1))){var oe=t*(r.length-1),ie=Math.floor(oe),le=Math.ceil(oe),ue=parse$1(r[ie]),de=parse$1(r[le]),pe=oe-ie,he=stringify([clampCssByte(lerpNumber(ue[0],de[0],pe)),clampCssByte(lerpNumber(ue[1],de[1],pe)),clampCssByte(lerpNumber(ue[2],de[2],pe)),clampCssFloat(lerpNumber(ue[3],de[3],pe))],"rgba");return V?{color:he,leftIndex:ie,rightIndex:le,value:oe}:he}}var mapToColor=lerp;function modifyHSL(t,r,V,oe){var ie=parse$1(t);if(t)return ie=rgba2hsla(ie),r!=null&&(ie[0]=clampCssAngle(r)),V!=null&&(ie[1]=parseCssFloat(V)),oe!=null&&(ie[2]=parseCssFloat(oe)),stringify(hsla2rgba(ie),"rgba")}function modifyAlpha(t,r){var V=parse$1(t);if(V&&r!=null)return V[3]=clampCssFloat(r),stringify(V,"rgba")}function stringify(t,r){if(!(!t||!t.length)){var V=t[0]+","+t[1]+","+t[2];return(r==="rgba"||r==="hsva"||r==="hsla")&&(V+=","+t[3]),r+"("+V+")"}}function lum(t,r){var V=parse$1(t);return V?(.299*V[0]+.587*V[1]+.114*V[2])*V[3]/255+(1-V[3])*r:0}function random(){return stringify([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}const color=Object.freeze(Object.defineProperty({__proto__:null,fastLerp,fastMapToColor,lerp,lift,lum,mapToColor,modifyAlpha,modifyHSL,parse:parse$1,random,stringify,toHex},Symbol.toStringTag,{value:"Module"}));function isLinearGradient(t){return t.type==="linear"}function isRadialGradient(t){return t.type==="radial"}(function(){return env$1.hasGlobalWindow&&isFunction(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:typeof Buffer<"u"?function(t){return Buffer.from(t).toString("base64")}:function(t){return null}})();var arraySlice=Array.prototype.slice;function interpolateNumber$1(t,r,V){return(r-t)*V+t}function interpolate1DArray(t,r,V,oe){for(var ie=r.length,le=0;le<ie;le++)t[le]=interpolateNumber$1(r[le],V[le],oe);return t}function interpolate2DArray(t,r,V,oe){for(var ie=r.length,le=ie&&r[0].length,ue=0;ue<ie;ue++){t[ue]||(t[ue]=[]);for(var de=0;de<le;de++)t[ue][de]=interpolateNumber$1(r[ue][de],V[ue][de],oe)}return t}function add1DArray(t,r,V,oe){for(var ie=r.length,le=0;le<ie;le++)t[le]=r[le]+V[le]*oe;return t}function add2DArray(t,r,V,oe){for(var ie=r.length,le=ie&&r[0].length,ue=0;ue<ie;ue++){t[ue]||(t[ue]=[]);for(var de=0;de<le;de++)t[ue][de]=r[ue][de]+V[ue][de]*oe}return t}function fillColorStops(t,r){for(var V=t.length,oe=r.length,ie=V>oe?r:t,le=Math.min(V,oe),ue=ie[le-1]||{color:[0,0,0,0],offset:0},de=le;de<Math.max(V,oe);de++)ie.push({offset:ue.offset,color:ue.color.slice()})}function fillArray(t,r,V){var oe=t,ie=r;if(!(!oe.push||!ie.push)){var le=oe.length,ue=ie.length;if(le!==ue){var de=le>ue;if(de)oe.length=ue;else for(var pe=le;pe<ue;pe++)oe.push(V===1?ie[pe]:arraySlice.call(ie[pe]))}for(var he=oe[0]&&oe[0].length,pe=0;pe<oe.length;pe++)if(V===1)isNaN(oe[pe])&&(oe[pe]=ie[pe]);else for(var _e=0;_e<he;_e++)isNaN(oe[pe][_e])&&(oe[pe][_e]=ie[pe][_e])}}function cloneValue(t){if(isArrayLike(t)){var r=t.length;if(isArrayLike(t[0])){for(var V=[],oe=0;oe<r;oe++)V.push(arraySlice.call(t[oe]));return V}return arraySlice.call(t)}return t}function rgba2String(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=t[3]==null?1:t[3],"rgba("+t.join(",")+")"}function guessArrayDim(t){return isArrayLike(t&&t[0])?2:1}var VALUE_TYPE_NUMBER=0,VALUE_TYPE_1D_ARRAY=1,VALUE_TYPE_2D_ARRAY=2,VALUE_TYPE_COLOR=3,VALUE_TYPE_LINEAR_GRADIENT=4,VALUE_TYPE_RADIAL_GRADIENT=5,VALUE_TYPE_UNKOWN=6;function isGradientValueType(t){return t===VALUE_TYPE_LINEAR_GRADIENT||t===VALUE_TYPE_RADIAL_GRADIENT}function isArrayValueType(t){return t===VALUE_TYPE_1D_ARRAY||t===VALUE_TYPE_2D_ARRAY}var tmpRgba=[0,0,0,0],Track=function(){function t(r){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=r}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(r,V,oe){this._needsSort=!0;var ie=this.keyframes,le=ie.length,ue=!1,de=VALUE_TYPE_UNKOWN,pe=V;if(isArrayLike(V)){var he=guessArrayDim(V);de=he,(he===1&&!isNumber(V[0])||he===2&&!isNumber(V[0][0]))&&(ue=!0)}else if(isNumber(V)&&!eqNaN(V))de=VALUE_TYPE_NUMBER;else if(isString(V))if(!isNaN(+V))de=VALUE_TYPE_NUMBER;else{var _e=parse$1(V);_e&&(pe=_e,de=VALUE_TYPE_COLOR)}else if(isGradientObject(V)){var $e=extend({},pe);$e.colorStops=map$2(V.colorStops,function(Ve){return{offset:Ve.offset,color:parse$1(Ve.color)}}),isLinearGradient(V)?de=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(V)&&(de=VALUE_TYPE_RADIAL_GRADIENT),pe=$e}le===0?this.valType=de:(de!==this.valType||de===VALUE_TYPE_UNKOWN)&&(ue=!0),this.discrete=this.discrete||ue;var Ie={time:r,value:pe,rawValue:V,percent:0};return oe&&(Ie.easing=oe,Ie.easingFunc=isFunction(oe)?oe:easingFuncs$1[oe]||createCubicEasingFunc(oe)),ie.push(Ie),Ie},t.prototype.prepare=function(r,V){var oe=this.keyframes;this._needsSort&&oe.sort(function(Ue,qe){return Ue.time-qe.time});for(var ie=this.valType,le=oe.length,ue=oe[le-1],de=this.discrete,pe=isArrayValueType(ie),he=isGradientValueType(ie),_e=0;_e<le;_e++){var $e=oe[_e],Ie=$e.value,Ve=ue.value;$e.percent=$e.time/r,de||(pe&&_e!==le-1?fillArray(Ie,Ve,ie):he&&fillColorStops(Ie.colorStops,Ve.colorStops))}if(!de&&ie!==VALUE_TYPE_RADIAL_GRADIENT&&V&&this.needsAnimate()&&V.needsAnimate()&&ie===V.valType&&!V._finished){this._additiveTrack=V;for(var Fe=oe[0].value,_e=0;_e<le;_e++)ie===VALUE_TYPE_NUMBER?oe[_e].additiveValue=oe[_e].value-Fe:ie===VALUE_TYPE_COLOR?oe[_e].additiveValue=add1DArray([],oe[_e].value,Fe,-1):isArrayValueType(ie)&&(oe[_e].additiveValue=ie===VALUE_TYPE_1D_ARRAY?add1DArray([],oe[_e].value,Fe,-1):add2DArray([],oe[_e].value,Fe,-1))}},t.prototype.step=function(r,V){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var oe=this._additiveTrack!=null,ie=oe?"additiveValue":"value",le=this.valType,ue=this.keyframes,de=ue.length,pe=this.propName,he=le===VALUE_TYPE_COLOR,_e,$e=this._lastFr,Ie=Math.min,Ve,Fe;if(de===1)Ve=Fe=ue[0];else{if(V<0)_e=0;else if(V<this._lastFrP){var Ue=Ie($e+1,de-1);for(_e=Ue;_e>=0&&!(ue[_e].percent<=V);_e--);_e=Ie(_e,de-2)}else{for(_e=$e;_e<de&&!(ue[_e].percent>V);_e++);_e=Ie(_e-1,de-2)}Fe=ue[_e+1],Ve=ue[_e]}if(Ve&&Fe){this._lastFr=_e,this._lastFrP=V;var qe=Fe.percent-Ve.percent,Et=qe===0?1:Ie((V-Ve.percent)/qe,1);Fe.easingFunc&&(Et=Fe.easingFunc(Et));var At=oe?this._additiveValue:he?tmpRgba:r[pe];if((isArrayValueType(le)||he)&&!At&&(At=this._additiveValue=[]),this.discrete)r[pe]=Et<1?Ve.rawValue:Fe.rawValue;else if(isArrayValueType(le))le===VALUE_TYPE_1D_ARRAY?interpolate1DArray(At,Ve[ie],Fe[ie],Et):interpolate2DArray(At,Ve[ie],Fe[ie],Et);else if(isGradientValueType(le)){var Lt=Ve[ie],hn=Fe[ie],_n=le===VALUE_TYPE_LINEAR_GRADIENT;r[pe]={type:_n?"linear":"radial",x:interpolateNumber$1(Lt.x,hn.x,Et),y:interpolateNumber$1(Lt.y,hn.y,Et),colorStops:map$2(Lt.colorStops,function(bn,Cn){var Sn=hn.colorStops[Cn];return{offset:interpolateNumber$1(bn.offset,Sn.offset,Et),color:rgba2String(interpolate1DArray([],bn.color,Sn.color,Et))}}),global:hn.global},_n?(r[pe].x2=interpolateNumber$1(Lt.x2,hn.x2,Et),r[pe].y2=interpolateNumber$1(Lt.y2,hn.y2,Et)):r[pe].r=interpolateNumber$1(Lt.r,hn.r,Et)}else if(he)interpolate1DArray(At,Ve[ie],Fe[ie],Et),oe||(r[pe]=rgba2String(At));else{var vn=interpolateNumber$1(Ve[ie],Fe[ie],Et);oe?this._additiveValue=vn:r[pe]=vn}oe&&this._addToTarget(r)}}},t.prototype._addToTarget=function(r){var V=this.valType,oe=this.propName,ie=this._additiveValue;V===VALUE_TYPE_NUMBER?r[oe]=r[oe]+ie:V===VALUE_TYPE_COLOR?(parse$1(r[oe],tmpRgba),add1DArray(tmpRgba,tmpRgba,ie,1),r[oe]=rgba2String(tmpRgba)):V===VALUE_TYPE_1D_ARRAY?add1DArray(r[oe],r[oe],ie,1):V===VALUE_TYPE_2D_ARRAY&&add2DArray(r[oe],r[oe],ie,1)},t}(),Animator=function(){function t(r,V,oe,ie){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=r,this._loop=V,V&&ie){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=ie,this._allowDiscrete=oe}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(r){this._target=r},t.prototype.when=function(r,V,oe){return this.whenWithKeys(r,V,keys(V),oe)},t.prototype.whenWithKeys=function(r,V,oe,ie){for(var le=this._tracks,ue=0;ue<oe.length;ue++){var de=oe[ue],pe=le[de];if(!pe){pe=le[de]=new Track(de);var he=void 0,_e=this._getAdditiveTrack(de);if(_e){var $e=_e.keyframes,Ie=$e[$e.length-1];he=Ie&&Ie.value,_e.valType===VALUE_TYPE_COLOR&&he&&(he=rgba2String(he))}else he=this._target[de];if(he==null)continue;r>0&&pe.addKeyframe(0,cloneValue(he),ie),this._trackKeys.push(de)}pe.addKeyframe(r,cloneValue(V[de]),ie)}return this._maxTime=Math.max(this._maxTime,r),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(r){return this._maxTime=r,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var r=this._doneCbs;if(r)for(var V=r.length,oe=0;oe<V;oe++)r[oe].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var r=this.animation,V=this._abortedCbs;if(r&&r.removeClip(this._clip),this._clip=null,V)for(var oe=0;oe<V.length;oe++)V[oe].call(this)},t.prototype._setTracksFinished=function(){for(var r=this._tracks,V=this._trackKeys,oe=0;oe<V.length;oe++)r[V[oe]].setFinished()},t.prototype._getAdditiveTrack=function(r){var V,oe=this._additiveAnimators;if(oe)for(var ie=0;ie<oe.length;ie++){var le=oe[ie].getTrack(r);le&&(V=le)}return V},t.prototype.start=function(r){if(!(this._started>0)){this._started=1;for(var V=this,oe=[],ie=this._maxTime||0,le=0;le<this._trackKeys.length;le++){var ue=this._trackKeys[le],de=this._tracks[ue],pe=this._getAdditiveTrack(ue),he=de.keyframes,_e=he.length;if(de.prepare(ie,pe),de.needsAnimate())if(!this._allowDiscrete&&de.discrete){var $e=he[_e-1];$e&&(V._target[de.propName]=$e.rawValue),de.setFinished()}else oe.push(de)}if(oe.length||this._force){var Ie=new Clip$1({life:ie,loop:this._loop,delay:this._delay||0,onframe:function(Ve){V._started=2;var Fe=V._additiveAnimators;if(Fe){for(var Ue=!1,qe=0;qe<Fe.length;qe++)if(Fe[qe]._clip){Ue=!0;break}Ue||(V._additiveAnimators=null)}for(var qe=0;qe<oe.length;qe++)oe[qe].step(V._target,Ve);var Et=V._onframeCbs;if(Et)for(var qe=0;qe<Et.length;qe++)Et[qe](V._target,Ve)},ondestroy:function(){V._doneCallback()}});this._clip=Ie,this.animation&&this.animation.addClip(Ie),r&&Ie.setEasing(r)}else this._doneCallback();return this}},t.prototype.stop=function(r){if(this._clip){var V=this._clip;r&&V.onframe(1),this._abortedCallback()}},t.prototype.delay=function(r){return this._delay=r,this},t.prototype.during=function(r){return r&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(r)),this},t.prototype.done=function(r){return r&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(r)),this},t.prototype.aborted=function(r){return r&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(r)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(r){return this._tracks[r]},t.prototype.getTracks=function(){var r=this;return map$2(this._trackKeys,function(V){return r._tracks[V]})},t.prototype.stopTracks=function(r,V){if(!r.length||!this._clip)return!0;for(var oe=this._tracks,ie=this._trackKeys,le=0;le<r.length;le++){var ue=oe[r[le]];ue&&!ue.isFinished()&&(V?ue.step(this._target,1):this._started===1&&ue.step(this._target,0),ue.setFinished())}for(var de=!0,le=0;le<ie.length;le++)if(!oe[ie[le]].isFinished()){de=!1;break}return de&&this._abortedCallback(),de},t.prototype.saveTo=function(r,V,oe){if(r){V=V||this._trackKeys;for(var ie=0;ie<V.length;ie++){var le=V[ie],ue=this._tracks[le];if(!(!ue||ue.isFinished())){var de=ue.keyframes,pe=de[oe?0:de.length-1];pe&&(r[le]=cloneValue(pe.rawValue))}}}},t.prototype.__changeFinalValue=function(r,V){V=V||keys(r);for(var oe=0;oe<V.length;oe++){var ie=V[oe],le=this._tracks[ie];if(le){var ue=le.keyframes;if(ue.length>1){var de=ue.pop();le.addKeyframe(de.time,r[ie]),le.prepare(this._maxTime,le.getAdditiveTrack())}}}},t}();const Animator$1=Animator;function getTime(){return new Date().getTime()}var Animation=function(t){__extends(r,t);function r(V){var oe=t.call(this)||this;return oe._running=!1,oe._time=0,oe._pausedTime=0,oe._pauseStart=0,oe._paused=!1,V=V||{},oe.stage=V.stage||{},oe}return r.prototype.addClip=function(V){V.animation&&this.removeClip(V),this._head?(this._tail.next=V,V.prev=this._tail,V.next=null,this._tail=V):this._head=this._tail=V,V.animation=this},r.prototype.addAnimator=function(V){V.animation=this;var oe=V.getClip();oe&&this.addClip(oe)},r.prototype.removeClip=function(V){if(V.animation){var oe=V.prev,ie=V.next;oe?oe.next=ie:this._head=ie,ie?ie.prev=oe:this._tail=oe,V.next=V.prev=V.animation=null}},r.prototype.removeAnimator=function(V){var oe=V.getClip();oe&&this.removeClip(oe),V.animation=null},r.prototype.update=function(V){for(var oe=getTime()-this._pausedTime,ie=oe-this._time,le=this._head;le;){var ue=le.next,de=le.step(oe,ie);de&&(le.ondestroy(),this.removeClip(le)),le=ue}this._time=oe,V||(this.trigger("frame",ie),this.stage.update&&this.stage.update())},r.prototype._startLoop=function(){var V=this;this._running=!0;function oe(){V._running&&(requestAnimationFrame$2(oe),!V._paused&&V.update())}requestAnimationFrame$2(oe)},r.prototype.start=function(){this._running||(this._time=getTime(),this._pausedTime=0,this._startLoop())},r.prototype.stop=function(){this._running=!1},r.prototype.pause=function(){this._paused||(this._pauseStart=getTime(),this._paused=!0)},r.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime()-this._pauseStart,this._paused=!1)},r.prototype.clear=function(){for(var V=this._head;V;){var oe=V.next;V.prev=V.next=V.animation=null,V=oe}this._head=this._tail=null},r.prototype.isFinished=function(){return this._head==null},r.prototype.animate=function(V,oe){oe=oe||{},this.start();var ie=new Animator$1(V,oe.loop);return this.addAnimator(ie),ie},r}(Eventful$1);const Animation$1=Animation;var TOUCH_CLICK_DELAY=300,globalEventSupported=env$1.domSupported,localNativeListenerNames=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r=["touchstart","touchend","touchmove"],V={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},oe=map$2(t,function(ie){var le=ie.replace("mouse","pointer");return V.hasOwnProperty(le)?le:ie});return{mouse:t,touch:r,pointer:oe}}(),globalNativeListenerNames={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},wheelEventSupported=!1;function isPointerFromTouch(t){var r=t.pointerType;return r==="pen"||r==="touch"}function setTouchTimer(t){t.touching=!0,t.touchTimer!=null&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}function markTouch(t){t&&(t.zrByTouch=!0)}function normalizeGlobalEvent(t,r){return normalizeEvent(t.dom,new FakeGlobalEvent(t,r),!0)}function isLocalEl(t,r){for(var V=r,oe=!1;V&&V.nodeType!==9&&!(oe=V.domBelongToZr||V!==r&&V===t.painterRoot);)V=V.parentNode;return oe}var FakeGlobalEvent=function(){function t(r,V){this.stopPropagation=noop,this.stopImmediatePropagation=noop,this.preventDefault=noop,this.type=V.type,this.target=this.currentTarget=r.dom,this.pointerType=V.pointerType,this.clientX=V.clientX,this.clientY=V.clientY}return t}(),localDOMHandlers={mousedown:function(t){t=normalizeEvent(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=normalizeEvent(this.dom,t);var r=this.__mayPointerCapture;r&&(t.zrX!==r[0]||t.zrY!==r[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=normalizeEvent(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=normalizeEvent(this.dom,t);var r=t.toElement||t.relatedTarget;isLocalEl(this,r)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){wheelEventSupported=!0,t=normalizeEvent(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){wheelEventSupported||(t=normalizeEvent(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=normalizeEvent(this.dom,t),markTouch(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),localDOMHandlers.mousemove.call(this,t),localDOMHandlers.mousedown.call(this,t)},touchmove:function(t){t=normalizeEvent(this.dom,t),markTouch(t),this.handler.processGesture(t,"change"),localDOMHandlers.mousemove.call(this,t)},touchend:function(t){t=normalizeEvent(this.dom,t),markTouch(t),this.handler.processGesture(t,"end"),localDOMHandlers.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<TOUCH_CLICK_DELAY&&localDOMHandlers.click.call(this,t)},pointerdown:function(t){localDOMHandlers.mousedown.call(this,t)},pointermove:function(t){isPointerFromTouch(t)||localDOMHandlers.mousemove.call(this,t)},pointerup:function(t){localDOMHandlers.mouseup.call(this,t)},pointerout:function(t){isPointerFromTouch(t)||localDOMHandlers.mouseout.call(this,t)}};each$c(["click","dblclick","contextmenu"],function(t){localDOMHandlers[t]=function(r){r=normalizeEvent(this.dom,r),this.trigger(t,r)}});var globalDOMHandlers={pointermove:function(t){isPointerFromTouch(t)||globalDOMHandlers.mousemove.call(this,t)},pointerup:function(t){globalDOMHandlers.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var r=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),r&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function mountLocalDOMEventListeners(t,r){var V=r.domHandlers;env$1.pointerEventsSupported?each$c(localNativeListenerNames.pointer,function(oe){mountSingleDOMEventListener(r,oe,function(ie){V[oe].call(t,ie)})}):(env$1.touchEventsSupported&&each$c(localNativeListenerNames.touch,function(oe){mountSingleDOMEventListener(r,oe,function(ie){V[oe].call(t,ie),setTouchTimer(r)})}),each$c(localNativeListenerNames.mouse,function(oe){mountSingleDOMEventListener(r,oe,function(ie){ie=getNativeEvent(ie),r.touching||V[oe].call(t,ie)})}))}function mountGlobalDOMEventListeners(t,r){env$1.pointerEventsSupported?each$c(globalNativeListenerNames.pointer,V):env$1.touchEventsSupported||each$c(globalNativeListenerNames.mouse,V);function V(oe){function ie(le){le=getNativeEvent(le),isLocalEl(t,le.target)||(le=normalizeGlobalEvent(t,le),r.domHandlers[oe].call(t,le))}mountSingleDOMEventListener(r,oe,ie,{capture:!0})}}function mountSingleDOMEventListener(t,r,V,oe){t.mounted[r]=V,t.listenerOpts[r]=oe,addEventListener(t.domTarget,r,V,oe)}function unmountDOMEventListeners(t){var r=t.mounted;for(var V in r)r.hasOwnProperty(V)&&removeEventListener(t.domTarget,V,r[V],t.listenerOpts[V]);t.mounted={}}var DOMHandlerScope=function(){function t(r,V){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=r,this.domHandlers=V}return t}(),HandlerDomProxy=function(t){__extends(r,t);function r(V,oe){var ie=t.call(this)||this;return ie.__pointerCapturing=!1,ie.dom=V,ie.painterRoot=oe,ie._localHandlerScope=new DOMHandlerScope(V,localDOMHandlers),globalEventSupported&&(ie._globalHandlerScope=new DOMHandlerScope(document,globalDOMHandlers)),mountLocalDOMEventListeners(ie,ie._localHandlerScope),ie}return r.prototype.dispose=function(){unmountDOMEventListeners(this._localHandlerScope),globalEventSupported&&unmountDOMEventListeners(this._globalHandlerScope)},r.prototype.setCursor=function(V){this.dom.style&&(this.dom.style.cursor=V||"default")},r.prototype.__togglePointerCapture=function(V){if(this.__mayPointerCapture=null,globalEventSupported&&+this.__pointerCapturing^+V){this.__pointerCapturing=V;var oe=this._globalHandlerScope;V?mountGlobalDOMEventListeners(this,oe):unmountDOMEventListeners(oe)}},r}(Eventful$1);const HandlerProxy=HandlerDomProxy;var dpr=1;env$1.hasGlobalWindow&&(dpr=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var devicePixelRatio=dpr,DARK_MODE_THRESHOLD=.4,DARK_LABEL_COLOR="#333",LIGHT_LABEL_COLOR="#ccc",LIGHTER_LABEL_COLOR="#eee",mIdentity=identity,EPSILON$2=5e-5;function isNotAroundZero(t){return t>EPSILON$2||t<-EPSILON$2}var scaleTmp=[],tmpTransform=[],originTransform=create(),abs=Math.abs,Transformable=function(){function t(){}return t.prototype.getLocalTransform=function(r){return t.getLocalTransform(this,r)},t.prototype.setPosition=function(r){this.x=r[0],this.y=r[1]},t.prototype.setScale=function(r){this.scaleX=r[0],this.scaleY=r[1]},t.prototype.setSkew=function(r){this.skewX=r[0],this.skewY=r[1]},t.prototype.setOrigin=function(r){this.originX=r[0],this.originY=r[1]},t.prototype.needLocalTransform=function(){return isNotAroundZero(this.rotation)||isNotAroundZero(this.x)||isNotAroundZero(this.y)||isNotAroundZero(this.scaleX-1)||isNotAroundZero(this.scaleY-1)||isNotAroundZero(this.skewX)||isNotAroundZero(this.skewY)},t.prototype.updateTransform=function(){var r=this.parent&&this.parent.transform,V=this.needLocalTransform(),oe=this.transform;if(!(V||r)){oe&&(mIdentity(oe),this.invTransform=null);return}oe=oe||create(),V?this.getLocalTransform(oe):mIdentity(oe),r&&(V?mul(oe,r,oe):copy$1(oe,r)),this.transform=oe,this._resolveGlobalScaleRatio(oe)},t.prototype._resolveGlobalScaleRatio=function(r){var V=this.globalScaleRatio;if(V!=null&&V!==1){this.getGlobalScale(scaleTmp);var oe=scaleTmp[0]<0?-1:1,ie=scaleTmp[1]<0?-1:1,le=((scaleTmp[0]-oe)*V+oe)/scaleTmp[0]||0,ue=((scaleTmp[1]-ie)*V+ie)/scaleTmp[1]||0;r[0]*=le,r[1]*=le,r[2]*=ue,r[3]*=ue}this.invTransform=this.invTransform||create(),invert(this.invTransform,r)},t.prototype.getComputedTransform=function(){for(var r=this,V=[];r;)V.push(r),r=r.parent;for(;r=V.pop();)r.updateTransform();return this.transform},t.prototype.setLocalTransform=function(r){if(r){var V=r[0]*r[0]+r[1]*r[1],oe=r[2]*r[2]+r[3]*r[3],ie=Math.atan2(r[1],r[0]),le=Math.PI/2+ie-Math.atan2(r[3],r[2]);oe=Math.sqrt(oe)*Math.cos(le),V=Math.sqrt(V),this.skewX=le,this.skewY=0,this.rotation=-ie,this.x=+r[4],this.y=+r[5],this.scaleX=V,this.scaleY=oe,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var r=this.parent,V=this.transform;r&&r.transform&&(mul(tmpTransform,r.invTransform,V),V=tmpTransform);var oe=this.originX,ie=this.originY;(oe||ie)&&(originTransform[4]=oe,originTransform[5]=ie,mul(tmpTransform,V,originTransform),tmpTransform[4]-=oe,tmpTransform[5]-=ie,V=tmpTransform),this.setLocalTransform(V)}},t.prototype.getGlobalScale=function(r){var V=this.transform;return r=r||[],V?(r[0]=Math.sqrt(V[0]*V[0]+V[1]*V[1]),r[1]=Math.sqrt(V[2]*V[2]+V[3]*V[3]),V[0]<0&&(r[0]=-r[0]),V[3]<0&&(r[1]=-r[1]),r):(r[0]=1,r[1]=1,r)},t.prototype.transformCoordToLocal=function(r,V){var oe=[r,V],ie=this.invTransform;return ie&&applyTransform$1(oe,oe,ie),oe},t.prototype.transformCoordToGlobal=function(r,V){var oe=[r,V],ie=this.transform;return ie&&applyTransform$1(oe,oe,ie),oe},t.prototype.getLineScale=function(){var r=this.transform;return r&&abs(r[0]-1)>1e-10&&abs(r[3]-1)>1e-10?Math.sqrt(abs(r[0]*r[3]-r[2]*r[1])):1},t.prototype.copyTransform=function(r){copyTransform(this,r)},t.getLocalTransform=function(r,V){V=V||[];var oe=r.originX||0,ie=r.originY||0,le=r.scaleX,ue=r.scaleY,de=r.anchorX,pe=r.anchorY,he=r.rotation||0,_e=r.x,$e=r.y,Ie=r.skewX?Math.tan(r.skewX):0,Ve=r.skewY?Math.tan(-r.skewY):0;if(oe||ie||de||pe){var Fe=oe+de,Ue=ie+pe;V[4]=-Fe*le-Ie*Ue*ue,V[5]=-Ue*ue-Ve*Fe*le}else V[4]=V[5]=0;return V[0]=le,V[3]=ue,V[1]=Ve*le,V[2]=Ie*ue,he&&rotate(V,V,he),V[4]+=oe+_e,V[5]+=ie+$e,V},t.initDefaultProps=function(){var r=t.prototype;r.scaleX=r.scaleY=r.globalScaleRatio=1,r.x=r.y=r.originX=r.originY=r.skewX=r.skewY=r.rotation=r.anchorX=r.anchorY=0}(),t}(),TRANSFORMABLE_PROPS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform(t,r){for(var V=0;V<TRANSFORMABLE_PROPS.length;V++){var oe=TRANSFORMABLE_PROPS[V];t[oe]=r[oe]}}const Transformable$1=Transformable;var textWidthCache={};function getWidth(t,r){r=r||DEFAULT_FONT;var V=textWidthCache[r];V||(V=textWidthCache[r]=new LRU$1(500));var oe=V.get(t);return oe==null&&(oe=platformApi.measureText(t,r).width,V.put(t,oe)),oe}function innerGetBoundingRect(t,r,V,oe){var ie=getWidth(t,r),le=getLineHeight(r),ue=adjustTextX(0,ie,V),de=adjustTextY(0,le,oe),pe=new BoundingRect$1(ue,de,ie,le);return pe}function getBoundingRect(t,r,V,oe){var ie=((t||"")+"").split(`
|
||
`),le=ie.length;if(le===1)return innerGetBoundingRect(ie[0],r,V,oe);for(var ue=new BoundingRect$1(0,0,0,0),de=0;de<ie.length;de++){var pe=innerGetBoundingRect(ie[de],r,V,oe);de===0?ue.copy(pe):ue.union(pe)}return ue}function adjustTextX(t,r,V){return V==="right"?t-=r:V==="center"&&(t-=r/2),t}function adjustTextY(t,r,V){return V==="middle"?t-=r/2:V==="bottom"&&(t-=r),t}function getLineHeight(t){return getWidth("国",t)}function parsePercent$1(t,r){return typeof t=="string"?t.lastIndexOf("%")>=0?parseFloat(t)/100*r:parseFloat(t):t}function calculateTextPosition(t,r,V){var oe=r.position||"inside",ie=r.distance!=null?r.distance:5,le=V.height,ue=V.width,de=le/2,pe=V.x,he=V.y,_e="left",$e="top";if(oe instanceof Array)pe+=parsePercent$1(oe[0],V.width),he+=parsePercent$1(oe[1],V.height),_e=null,$e=null;else switch(oe){case"left":pe-=ie,he+=de,_e="right",$e="middle";break;case"right":pe+=ie+ue,he+=de,$e="middle";break;case"top":pe+=ue/2,he-=ie,_e="center",$e="bottom";break;case"bottom":pe+=ue/2,he+=le+ie,_e="center";break;case"inside":pe+=ue/2,he+=de,_e="center",$e="middle";break;case"insideLeft":pe+=ie,he+=de,$e="middle";break;case"insideRight":pe+=ue-ie,he+=de,_e="right",$e="middle";break;case"insideTop":pe+=ue/2,he+=ie,_e="center";break;case"insideBottom":pe+=ue/2,he+=le-ie,_e="center",$e="bottom";break;case"insideTopLeft":pe+=ie,he+=ie;break;case"insideTopRight":pe+=ue-ie,he+=ie,_e="right";break;case"insideBottomLeft":pe+=ie,he+=le-ie,$e="bottom";break;case"insideBottomRight":pe+=ue-ie,he+=le-ie,_e="right",$e="bottom";break}return t=t||{},t.x=pe,t.y=he,t.align=_e,t.verticalAlign=$e,t}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,function(t,r){return t[r]=!0,t},{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect$1(0,0,0,0),Element$1=function(){function t(r){this.id=guid(),this.animators=[],this.currentStates=[],this.states={},this._init(r)}return t.prototype._init=function(r){this.attr(r)},t.prototype.drift=function(r,V,oe){switch(this.draggable){case"horizontal":V=0;break;case"vertical":r=0;break}var ie=this.transform;ie||(ie=this.transform=[1,0,0,1,0,0]),ie[4]+=r,ie[5]+=V,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(r){var V=this._textContent;if(V&&(!V.ignore||r)){this.textConfig||(this.textConfig={});var oe=this.textConfig,ie=oe.local,le=V.innerTransformable,ue=void 0,de=void 0,pe=!1;le.parent=ie?this:null;var he=!1;if(le.copyTransform(V),oe.position!=null){var _e=tmpBoundingRect;oe.layoutRect?_e.copy(oe.layoutRect):_e.copy(this.getBoundingRect()),ie||_e.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,oe,_e):calculateTextPosition(tmpTextPosCalcRes,oe,_e),le.x=tmpTextPosCalcRes.x,le.y=tmpTextPosCalcRes.y,ue=tmpTextPosCalcRes.align,de=tmpTextPosCalcRes.verticalAlign;var $e=oe.origin;if($e&&oe.rotation!=null){var Ie=void 0,Ve=void 0;$e==="center"?(Ie=_e.width*.5,Ve=_e.height*.5):(Ie=parsePercent$1($e[0],_e.width),Ve=parsePercent$1($e[1],_e.height)),he=!0,le.originX=-le.x+Ie+(ie?0:_e.x),le.originY=-le.y+Ve+(ie?0:_e.y)}}oe.rotation!=null&&(le.rotation=oe.rotation);var Fe=oe.offset;Fe&&(le.x+=Fe[0],le.y+=Fe[1],he||(le.originX=-Fe[0],le.originY=-Fe[1]));var Ue=oe.inside==null?typeof oe.position=="string"&&oe.position.indexOf("inside")>=0:oe.inside,qe=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),Et=void 0,At=void 0,Lt=void 0;Ue&&this.canBeInsideText()?(Et=oe.insideFill,At=oe.insideStroke,(Et==null||Et==="auto")&&(Et=this.getInsideTextFill()),(At==null||At==="auto")&&(At=this.getInsideTextStroke(Et),Lt=!0)):(Et=oe.outsideFill,At=oe.outsideStroke,(Et==null||Et==="auto")&&(Et=this.getOutsideFill()),(At==null||At==="auto")&&(At=this.getOutsideStroke(Et),Lt=!0)),Et=Et||"#000",(Et!==qe.fill||At!==qe.stroke||Lt!==qe.autoStroke||ue!==qe.align||de!==qe.verticalAlign)&&(pe=!0,qe.fill=Et,qe.stroke=At,qe.autoStroke=Lt,qe.align=ue,qe.verticalAlign=de,V.setDefaultTextStyle(qe)),V.__dirty|=REDRAW_BIT,pe&&V.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(r){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},t.prototype.getOutsideStroke=function(r){var V=this.__zr&&this.__zr.getBackgroundColor(),oe=typeof V=="string"&&parse$1(V);oe||(oe=[255,255,255,1]);for(var ie=oe[3],le=this.__zr.isDarkMode(),ue=0;ue<3;ue++)oe[ue]=oe[ue]*ie+(le?0:255)*(1-ie);return oe[3]=1,stringify(oe,"rgba")},t.prototype.traverse=function(r,V){},t.prototype.attrKV=function(r,V){r==="textConfig"?this.setTextConfig(V):r==="textContent"?this.setTextContent(V):r==="clipPath"?this.setClipPath(V):r==="extra"?(this.extra=this.extra||{},extend(this.extra,V)):this[r]=V},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(r,V){if(typeof r=="string")this.attrKV(r,V);else if(isObject$3(r))for(var oe=r,ie=keys(oe),le=0;le<ie.length;le++){var ue=ie[le];this.attrKV(ue,r[ue])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(r){this._innerSaveToNormal(r);for(var V=this._normalState,oe=0;oe<this.animators.length;oe++){var ie=this.animators[oe],le=ie.__fromStateTransition;if(!(ie.getLoop()||le&&le!==PRESERVED_NORMAL_STATE)){var ue=ie.targetName,de=ue?V[ue]:V;ie.saveTo(de)}}},t.prototype._innerSaveToNormal=function(r){var V=this._normalState;V||(V=this._normalState={}),r.textConfig&&!V.textConfig&&(V.textConfig=this.textConfig),this._savePrimaryToNormal(r,V,PRIMARY_STATES_KEYS$1)},t.prototype._savePrimaryToNormal=function(r,V,oe){for(var ie=0;ie<oe.length;ie++){var le=oe[ie];r[le]!=null&&!(le in V)&&(V[le]=this[le])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(r){return this.states[r]},t.prototype.ensureState=function(r){var V=this.states;return V[r]||(V[r]={}),V[r]},t.prototype.clearStates=function(r){this.useState(PRESERVED_NORMAL_STATE,!1,r)},t.prototype.useState=function(r,V,oe,ie){var le=r===PRESERVED_NORMAL_STATE,ue=this.hasState();if(!(!ue&&le)){var de=this.currentStates,pe=this.stateTransition;if(!(indexOf(de,r)>=0&&(V||de.length===1))){var he;if(this.stateProxy&&!le&&(he=this.stateProxy(r)),he||(he=this.states&&this.states[r]),!he&&!le){logError("State "+r+" not exists.");return}le||this.saveCurrentToNormalState(he);var _e=!!(he&&he.hoverLayer||ie);_e&&this._toggleHoverLayerFlag(!0),this._applyStateObj(r,he,this._normalState,V,!oe&&!this.__inHover&&pe&&pe.duration>0,pe);var $e=this._textContent,Ie=this._textGuide;return $e&&$e.useState(r,V,oe,_e),Ie&&Ie.useState(r,V,oe,_e),le?(this.currentStates=[],this._normalState={}):V?this.currentStates.push(r):this.currentStates=[r],this._updateAnimationTargets(),this.markRedraw(),!_e&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),he}}},t.prototype.useStates=function(r,V,oe){if(!r.length)this.clearStates();else{var ie=[],le=this.currentStates,ue=r.length,de=ue===le.length;if(de){for(var pe=0;pe<ue;pe++)if(r[pe]!==le[pe]){de=!1;break}}if(de)return;for(var pe=0;pe<ue;pe++){var he=r[pe],_e=void 0;this.stateProxy&&(_e=this.stateProxy(he,r)),_e||(_e=this.states[he]),_e&&ie.push(_e)}var $e=ie[ue-1],Ie=!!($e&&$e.hoverLayer||oe);Ie&&this._toggleHoverLayerFlag(!0);var Ve=this._mergeStates(ie),Fe=this.stateTransition;this.saveCurrentToNormalState(Ve),this._applyStateObj(r.join(","),Ve,this._normalState,!1,!V&&!this.__inHover&&Fe&&Fe.duration>0,Fe);var Ue=this._textContent,qe=this._textGuide;Ue&&Ue.useStates(r,V,Ie),qe&&qe.useStates(r,V,Ie),this._updateAnimationTargets(),this.currentStates=r.slice(),this.markRedraw(),!Ie&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},t.prototype._updateAnimationTargets=function(){for(var r=0;r<this.animators.length;r++){var V=this.animators[r];V.targetName&&V.changeTarget(this[V.targetName])}},t.prototype.removeState=function(r){var V=indexOf(this.currentStates,r);if(V>=0){var oe=this.currentStates.slice();oe.splice(V,1),this.useStates(oe)}},t.prototype.replaceState=function(r,V,oe){var ie=this.currentStates.slice(),le=indexOf(ie,r),ue=indexOf(ie,V)>=0;le>=0?ue?ie.splice(le,1):ie[le]=V:oe&&!ue&&ie.push(V),this.useStates(ie)},t.prototype.toggleState=function(r,V){V?this.useState(r,!0):this.removeState(r)},t.prototype._mergeStates=function(r){for(var V={},oe,ie=0;ie<r.length;ie++){var le=r[ie];extend(V,le),le.textConfig&&(oe=oe||{},extend(oe,le.textConfig))}return oe&&(V.textConfig=oe),V},t.prototype._applyStateObj=function(r,V,oe,ie,le,ue){var de=!(V&&ie);V&&V.textConfig?(this.textConfig=extend({},ie?this.textConfig:oe.textConfig),extend(this.textConfig,V.textConfig)):de&&oe.textConfig&&(this.textConfig=oe.textConfig);for(var pe={},he=!1,_e=0;_e<PRIMARY_STATES_KEYS$1.length;_e++){var $e=PRIMARY_STATES_KEYS$1[_e],Ie=le&&DEFAULT_ANIMATABLE_MAP[$e];V&&V[$e]!=null?Ie?(he=!0,pe[$e]=V[$e]):this[$e]=V[$e]:de&&oe[$e]!=null&&(Ie?(he=!0,pe[$e]=oe[$e]):this[$e]=oe[$e])}if(!le)for(var _e=0;_e<this.animators.length;_e++){var Ve=this.animators[_e],Fe=Ve.targetName;Ve.getLoop()||Ve.__changeFinalValue(Fe?(V||oe)[Fe]:V||oe)}he&&this._transitionState(r,pe,ue)},t.prototype._attachComponent=function(r){if(!(r.__zr&&!r.__hostTarget)&&r!==this){var V=this.__zr;V&&r.addSelfToZr(V),r.__zr=V,r.__hostTarget=this}},t.prototype._detachComponent=function(r){r.__zr&&r.removeSelfFromZr(r.__zr),r.__zr=null,r.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(r){this._clipPath&&this._clipPath!==r&&this.removeClipPath(),this._attachComponent(r),this._clipPath=r,this.markRedraw()},t.prototype.removeClipPath=function(){var r=this._clipPath;r&&(this._detachComponent(r),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(r){var V=this._textContent;V!==r&&(V&&V!==r&&this.removeTextContent(),r.innerTransformable=new Transformable$1,this._attachComponent(r),this._textContent=r,this.markRedraw())},t.prototype.setTextConfig=function(r){this.textConfig||(this.textConfig={}),extend(this.textConfig,r),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var r=this._textContent;r&&(r.innerTransformable=null,this._detachComponent(r),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(r){this._textGuide&&this._textGuide!==r&&this.removeTextGuideLine(),this._attachComponent(r),this._textGuide=r,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var r=this._textGuide;r&&(this._detachComponent(r),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=REDRAW_BIT;var r=this.__zr;r&&(this.__inHover?r.refreshHover():r.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(r){this.__inHover=r;var V=this._textContent,oe=this._textGuide;V&&(V.__inHover=r),oe&&(oe.__inHover=r)},t.prototype.addSelfToZr=function(r){if(this.__zr!==r){this.__zr=r;var V=this.animators;if(V)for(var oe=0;oe<V.length;oe++)r.animation.addAnimator(V[oe]);this._clipPath&&this._clipPath.addSelfToZr(r),this._textContent&&this._textContent.addSelfToZr(r),this._textGuide&&this._textGuide.addSelfToZr(r)}},t.prototype.removeSelfFromZr=function(r){if(this.__zr){this.__zr=null;var V=this.animators;if(V)for(var oe=0;oe<V.length;oe++)r.animation.removeAnimator(V[oe]);this._clipPath&&this._clipPath.removeSelfFromZr(r),this._textContent&&this._textContent.removeSelfFromZr(r),this._textGuide&&this._textGuide.removeSelfFromZr(r)}},t.prototype.animate=function(r,V,oe){var ie=r?this[r]:this,le=new Animator$1(ie,V,oe);return r&&(le.targetName=r),this.addAnimator(le,r),le},t.prototype.addAnimator=function(r,V){var oe=this.__zr,ie=this;r.during(function(){ie.updateDuringAnimation(V)}).done(function(){var le=ie.animators,ue=indexOf(le,r);ue>=0&&le.splice(ue,1)}),this.animators.push(r),oe&&oe.animation.addAnimator(r),oe&&oe.wakeUp()},t.prototype.updateDuringAnimation=function(r){this.markRedraw()},t.prototype.stopAnimation=function(r,V){for(var oe=this.animators,ie=oe.length,le=[],ue=0;ue<ie;ue++){var de=oe[ue];!r||r===de.scope?de.stop(V):le.push(de)}return this.animators=le,this},t.prototype.animateTo=function(r,V,oe){animateTo(this,r,V,oe)},t.prototype.animateFrom=function(r,V,oe){animateTo(this,r,V,oe,!0)},t.prototype._transitionState=function(r,V,oe,ie){for(var le=animateTo(this,V,oe,ie),ue=0;ue<le.length;ue++)le[ue].__fromStateTransition=r},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var r=t.prototype;r.type="element",r.name="",r.ignore=r.silent=r.isGroup=r.draggable=r.dragging=r.ignoreClip=r.__inHover=!1,r.__dirty=REDRAW_BIT;function V(oe,ie,le,ue){Object.defineProperty(r,oe,{get:function(){if(!this[ie]){var pe=this[ie]=[];de(this,pe)}return this[ie]},set:function(pe){this[le]=pe[0],this[ue]=pe[1],this[ie]=pe,de(this,pe)}});function de(pe,he){Object.defineProperty(he,0,{get:function(){return pe[le]},set:function(_e){pe[le]=_e}}),Object.defineProperty(he,1,{get:function(){return pe[ue]},set:function(_e){pe[ue]=_e}})}}Object.defineProperty&&(V("position","_legacyPos","x","y"),V("scale","_legacyScale","scaleX","scaleY"),V("origin","_legacyOrigin","originX","originY"))}(),t}();mixin(Element$1,Eventful$1);mixin(Element$1,Transformable$1);function animateTo(t,r,V,oe,ie){V=V||{};var le=[];animateToShallow(t,"",t,r,V,oe,le,ie);var ue=le.length,de=!1,pe=V.done,he=V.aborted,_e=function(){de=!0,ue--,ue<=0&&(de?pe&&pe():he&&he())},$e=function(){ue--,ue<=0&&(de?pe&&pe():he&&he())};ue||pe&&pe(),le.length>0&&V.during&&le[0].during(function(Fe,Ue){V.during(Ue)});for(var Ie=0;Ie<le.length;Ie++){var Ve=le[Ie];_e&&Ve.done(_e),$e&&Ve.aborted($e),V.force&&Ve.duration(V.duration),Ve.start(V.easing)}return le}function copyArrShallow(t,r,V){for(var oe=0;oe<V;oe++)t[oe]=r[oe]}function is2DArray(t){return isArrayLike(t[0])}function copyValue(t,r,V){if(isArrayLike(r[V]))if(isArrayLike(t[V])||(t[V]=[]),isTypedArray(r[V])){var oe=r[V].length;t[V].length!==oe&&(t[V]=new r[V].constructor(oe),copyArrShallow(t[V],r[V],oe))}else{var ie=r[V],le=t[V],ue=ie.length;if(is2DArray(ie))for(var de=ie[0].length,pe=0;pe<ue;pe++)le[pe]?copyArrShallow(le[pe],ie[pe],de):le[pe]=Array.prototype.slice.call(ie[pe]);else copyArrShallow(le,ie,ue);le.length=ie.length}else t[V]=r[V]}function isValueSame(t,r){return t===r||isArrayLike(t)&&isArrayLike(r)&&is1DArraySame(t,r)}function is1DArraySame(t,r){var V=t.length;if(V!==r.length)return!1;for(var oe=0;oe<V;oe++)if(t[oe]!==r[oe])return!1;return!0}function animateToShallow(t,r,V,oe,ie,le,ue,de){for(var pe=keys(oe),he=ie.duration,_e=ie.delay,$e=ie.additive,Ie=ie.setToFinal,Ve=!isObject$3(le),Fe=t.animators,Ue=[],qe=0;qe<pe.length;qe++){var Et=pe[qe],At=oe[Et];if(At!=null&&V[Et]!=null&&(Ve||le[Et]))if(isObject$3(At)&&!isArrayLike(At)&&!isGradientObject(At)){if(r){de||(V[Et]=At,t.updateDuringAnimation(r));continue}animateToShallow(t,Et,V[Et],At,ie,le&&le[Et],ue,de)}else Ue.push(Et);else de||(V[Et]=At,t.updateDuringAnimation(r),Ue.push(Et))}var Lt=Ue.length;if(!$e&&Lt)for(var hn=0;hn<Fe.length;hn++){var _n=Fe[hn];if(_n.targetName===r){var vn=_n.stopTracks(Ue);if(vn){var bn=indexOf(Fe,_n);Fe.splice(bn,1)}}}if(ie.force||(Ue=filter(Ue,function(En){return!isValueSame(oe[En],V[En])}),Lt=Ue.length),Lt>0||ie.force&&!ue.length){var Cn=void 0,Sn=void 0,wn=void 0;if(de){Sn={},Ie&&(Cn={});for(var hn=0;hn<Lt;hn++){var Et=Ue[hn];Sn[Et]=V[Et],Ie?Cn[Et]=oe[Et]:V[Et]=oe[Et]}}else if(Ie){wn={};for(var hn=0;hn<Lt;hn++){var Et=Ue[hn];wn[Et]=cloneValue(V[Et]),copyValue(V,oe,Et)}}var _n=new Animator$1(V,!1,!1,$e?filter(Fe,function(xn){return xn.targetName===r}):null);_n.targetName=r,ie.scope&&(_n.scope=ie.scope),Ie&&Cn&&_n.whenWithKeys(0,Cn,Ue),wn&&_n.whenWithKeys(0,wn,Ue),_n.whenWithKeys(he??500,de?Sn:oe,Ue).delay(_e||0),t.addAnimator(_n,r),ue.push(_n)}}const Element$2=Element$1;var Group$2=function(t){__extends(r,t);function r(V){var oe=t.call(this)||this;return oe.isGroup=!0,oe._children=[],oe.attr(V),oe}return r.prototype.childrenRef=function(){return this._children},r.prototype.children=function(){return this._children.slice()},r.prototype.childAt=function(V){return this._children[V]},r.prototype.childOfName=function(V){for(var oe=this._children,ie=0;ie<oe.length;ie++)if(oe[ie].name===V)return oe[ie]},r.prototype.childCount=function(){return this._children.length},r.prototype.add=function(V){return V&&V!==this&&V.parent!==this&&(this._children.push(V),this._doAdd(V)),this},r.prototype.addBefore=function(V,oe){if(V&&V!==this&&V.parent!==this&&oe&&oe.parent===this){var ie=this._children,le=ie.indexOf(oe);le>=0&&(ie.splice(le,0,V),this._doAdd(V))}return this},r.prototype.replace=function(V,oe){var ie=indexOf(this._children,V);return ie>=0&&this.replaceAt(oe,ie),this},r.prototype.replaceAt=function(V,oe){var ie=this._children,le=ie[oe];if(V&&V!==this&&V.parent!==this&&V!==le){ie[oe]=V,le.parent=null;var ue=this.__zr;ue&&le.removeSelfFromZr(ue),this._doAdd(V)}return this},r.prototype._doAdd=function(V){V.parent&&V.parent.remove(V),V.parent=this;var oe=this.__zr;oe&&oe!==V.__zr&&V.addSelfToZr(oe),oe&&oe.refresh()},r.prototype.remove=function(V){var oe=this.__zr,ie=this._children,le=indexOf(ie,V);return le<0?this:(ie.splice(le,1),V.parent=null,oe&&V.removeSelfFromZr(oe),oe&&oe.refresh(),this)},r.prototype.removeAll=function(){for(var V=this._children,oe=this.__zr,ie=0;ie<V.length;ie++){var le=V[ie];oe&&le.removeSelfFromZr(oe),le.parent=null}return V.length=0,this},r.prototype.eachChild=function(V,oe){for(var ie=this._children,le=0;le<ie.length;le++){var ue=ie[le];V.call(oe,ue,le)}return this},r.prototype.traverse=function(V,oe){for(var ie=0;ie<this._children.length;ie++){var le=this._children[ie],ue=V.call(oe,le);le.isGroup&&!ue&&le.traverse(V,oe)}return this},r.prototype.addSelfToZr=function(V){t.prototype.addSelfToZr.call(this,V);for(var oe=0;oe<this._children.length;oe++){var ie=this._children[oe];ie.addSelfToZr(V)}},r.prototype.removeSelfFromZr=function(V){t.prototype.removeSelfFromZr.call(this,V);for(var oe=0;oe<this._children.length;oe++){var ie=this._children[oe];ie.removeSelfFromZr(V)}},r.prototype.getBoundingRect=function(V){for(var oe=new BoundingRect$1(0,0,0,0),ie=V||this._children,le=[],ue=null,de=0;de<ie.length;de++){var pe=ie[de];if(!(pe.ignore||pe.invisible)){var he=pe.getBoundingRect(),_e=pe.getLocalTransform(le);_e?(BoundingRect$1.applyTransform(oe,he,_e),ue=ue||oe.clone(),ue.union(oe)):(ue=ue||he.clone(),ue.union(he))}}return ue||oe},r}(Element$2);Group$2.prototype.type="group";const Group$3=Group$2;/*!
|
||
* ZRender, a high performance 2d drawing library.
|
||
*
|
||
* Copyright (c) 2013, Baidu Inc.
|
||
* All rights reserved.
|
||
*
|
||
* LICENSE
|
||
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
||
*/var painterCtors={},instances$1={};function delInstance(t){delete instances$1[t]}function isDarkMode(t){if(!t)return!1;if(typeof t=="string")return lum(t,1)<DARK_MODE_THRESHOLD;if(t.colorStops){for(var r=t.colorStops,V=0,oe=r.length,ie=0;ie<oe;ie++)V+=lum(r[ie].color,1);return V/=oe,V<DARK_MODE_THRESHOLD}return!1}var ZRender=function(){function t(r,V,oe){var ie=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,oe=oe||{},this.dom=V,this.id=r;var le=new Storage$1,ue=oe.renderer||"canvas";painterCtors[ue]||(ue=keys(painterCtors)[0]),oe.useDirtyRect=oe.useDirtyRect==null?!1:oe.useDirtyRect;var de=new painterCtors[ue](V,le,oe,r),pe=oe.ssr||de.ssrOnly;this.storage=le,this.painter=de;var he=!env$1.node&&!env$1.worker&&!pe?new HandlerProxy(de.getViewportRoot(),de.root):null,_e=oe.useCoarsePointer,$e=_e==null||_e==="auto"?env$1.touchEventsSupported:!!_e,Ie=44,Ve;$e&&(Ve=retrieve2(oe.pointerSize,Ie)),this.handler=new Handler$1(le,de,he,de.root,Ve),this.animation=new Animation$1({stage:{update:pe?null:function(){return ie._flush(!0)}}}),pe||this.animation.start()}return t.prototype.add=function(r){r&&(this.storage.addRoot(r),r.addSelfToZr(this),this.refresh())},t.prototype.remove=function(r){r&&(this.storage.delRoot(r),r.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(r,V){this.painter.configLayer&&this.painter.configLayer(r,V),this.refresh()},t.prototype.setBackgroundColor=function(r){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(r),this.refresh(),this._backgroundColor=r,this._darkMode=isDarkMode(r)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(r){this._darkMode=r},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(r){r||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(r){var V,oe=getTime();this._needsRefresh&&(V=!0,this.refreshImmediately(r)),this._needsRefreshHover&&(V=!0,this.refreshHoverImmediately());var ie=getTime();V?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:ie-oe})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(r){this._sleepAfterStill=r},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},t.prototype.resize=function(r){r=r||{},this.painter.resize(r.width,r.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(r){this.handler.setCursorStyle(r)},t.prototype.findHover=function(r,V){return this.handler.findHover(r,V)},t.prototype.on=function(r,V,oe){return this.handler.on(r,V,oe),this},t.prototype.off=function(r,V){this.handler.off(r,V)},t.prototype.trigger=function(r,V){this.handler.trigger(r,V)},t.prototype.clear=function(){for(var r=this.storage.getRoots(),V=0;V<r.length;V++)r[V]instanceof Group$3&&r[V].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,delInstance(this.id)},t}();function init$1(t,r){var V=new ZRender(guid(),t,r);return instances$1[V.id]=V,V}function dispose$1(t){t.dispose()}function disposeAll(){for(var t in instances$1)instances$1.hasOwnProperty(t)&&instances$1[t].dispose();instances$1={}}function getInstance(t){return instances$1[t]}function registerPainter(t,r){painterCtors[t]=r}var version$1="5.4.4";const zrender=Object.freeze(Object.defineProperty({__proto__:null,dispose:dispose$1,disposeAll,getInstance,init:init$1,registerPainter,version:version$1},Symbol.toStringTag,{value:"Module"}));var RADIAN_EPSILON=1e-4,ROUND_SUPPORTED_PRECISION_MAX=20;function _trim(t){return t.replace(/^\s+|\s+$/g,"")}function linearMap$2(t,r,V,oe){var ie=r[0],le=r[1],ue=V[0],de=V[1],pe=le-ie,he=de-ue;if(pe===0)return he===0?ue:(ue+de)/2;if(oe)if(pe>0){if(t<=ie)return ue;if(t>=le)return de}else{if(t>=ie)return ue;if(t<=le)return de}else{if(t===ie)return ue;if(t===le)return de}return(t-ie)/pe*he+ue}function parsePercent(t,r){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return isString(t)?_trim(t).match(/%$/)?parseFloat(t)/100*r:parseFloat(t):t==null?NaN:+t}function round$1(t,r,V){return r==null&&(r=10),r=Math.min(Math.max(0,r),ROUND_SUPPORTED_PRECISION_MAX),t=(+t).toFixed(r),V?t:+t}function asc$2(t){return t.sort(function(r,V){return r-V}),t}function getPrecision(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var r=1,V=0;V<15;V++,r*=10)if(Math.round(t*r)/r===t)return V}return getPrecisionSafe(t)}function getPrecisionSafe(t){var r=t.toString().toLowerCase(),V=r.indexOf("e"),oe=V>0?+r.slice(V+1):0,ie=V>0?V:r.length,le=r.indexOf("."),ue=le<0?0:ie-1-le;return Math.max(0,ue-oe)}function getPixelPrecision(t,r){var V=Math.log,oe=Math.LN10,ie=Math.floor(V(t[1]-t[0])/oe),le=Math.round(V(Math.abs(r[1]-r[0]))/oe),ue=Math.min(Math.max(-ie+le,0),20);return isFinite(ue)?ue:20}function getPercentWithPrecision(t,r,V){if(!t[r])return 0;var oe=getPercentSeats(t,V);return oe[r]||0}function getPercentSeats(t,r){var V=reduce(t,function(Ve,Fe){return Ve+(isNaN(Fe)?0:Fe)},0);if(V===0)return[];for(var oe=Math.pow(10,r),ie=map$2(t,function(Ve){return(isNaN(Ve)?0:Ve)/V*oe*100}),le=oe*100,ue=map$2(ie,function(Ve){return Math.floor(Ve)}),de=reduce(ue,function(Ve,Fe){return Ve+Fe},0),pe=map$2(ie,function(Ve,Fe){return Ve-ue[Fe]});de<le;){for(var he=Number.NEGATIVE_INFINITY,_e=null,$e=0,Ie=pe.length;$e<Ie;++$e)pe[$e]>he&&(he=pe[$e],_e=$e);++ue[_e],pe[_e]=0,++de}return map$2(ue,function(Ve){return Ve/oe})}function addSafe(t,r){var V=Math.max(getPrecision(t),getPrecision(r)),oe=t+r;return V>ROUND_SUPPORTED_PRECISION_MAX?oe:round$1(oe,V)}var MAX_SAFE_INTEGER=9007199254740991;function remRadian(t){var r=Math.PI*2;return(t%r+r)%r}function isRadianAroundZero(t){return t>-RADIAN_EPSILON&&t<RADIAN_EPSILON}var TIME_REG=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function parseDate(t){if(t instanceof Date)return t;if(isString(t)){var r=TIME_REG.exec(t);if(!r)return new Date(NaN);if(r[8]){var V=+r[4]||0;return r[8].toUpperCase()!=="Z"&&(V-=+r[8].slice(0,3)),new Date(Date.UTC(+r[1],+(r[2]||1)-1,+r[3]||1,V,+(r[5]||0),+r[6]||0,r[7]?+r[7].substring(0,3):0))}else return new Date(+r[1],+(r[2]||1)-1,+r[3]||1,+r[4]||0,+(r[5]||0),+r[6]||0,r[7]?+r[7].substring(0,3):0)}else if(t==null)return new Date(NaN);return new Date(Math.round(t))}function quantity(t){return Math.pow(10,quantityExponent(t))}function quantityExponent(t){if(t===0)return 0;var r=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,r)>=10&&r++,r}function nice(t,r){var V=quantityExponent(t),oe=Math.pow(10,V),ie=t/oe,le;return r?ie<1.5?le=1:ie<2.5?le=2:ie<4?le=3:ie<7?le=5:le=10:ie<1?le=1:ie<2?le=2:ie<3?le=3:ie<5?le=5:le=10,t=le*oe,V>=-20?+t.toFixed(V<0?-V:0):t}function quantile(t,r){var V=(t.length-1)*r+1,oe=Math.floor(V),ie=+t[oe-1],le=V-oe;return le?ie+le*(t[oe]-ie):ie}function reformIntervals(t){t.sort(function(pe,he){return de(pe,he,0)?-1:1});for(var r=-1/0,V=1,oe=0;oe<t.length;){for(var ie=t[oe].interval,le=t[oe].close,ue=0;ue<2;ue++)ie[ue]<=r&&(ie[ue]=r,le[ue]=ue?1:1-V),r=ie[ue],V=le[ue];ie[0]===ie[1]&&le[0]*le[1]!==1?t.splice(oe,1):oe++}return t;function de(pe,he,_e){return pe.interval[_e]<he.interval[_e]||pe.interval[_e]===he.interval[_e]&&(pe.close[_e]-he.close[_e]===(_e?-1:1)||!_e&&de(pe,he,1))}}function numericToNumber(t){var r=parseFloat(t);return r==t&&(r!==0||!isString(t)||t.indexOf("x")<=0)?r:NaN}function isNumeric(t){return!isNaN(numericToNumber(t))}function getRandomIdBase(){return Math.round(Math.random()*9)}function getGreatestCommonDividor(t,r){return r===0?t:getGreatestCommonDividor(r,t%r)}function getLeastCommonMultiple(t,r){return t==null?r:r==null?t:t*r/getGreatestCommonDividor(t,r)}var ECHARTS_PREFIX="[ECharts] ",storedLogs={},hasConsole=typeof console<"u"&&console.warn&&console.log;function outputLog(t,r,V){if(hasConsole){if(V){if(storedLogs[r])return;storedLogs[r]=!0}console[t](ECHARTS_PREFIX+r)}}function warn(t,r){outputLog("warn",t,r)}function throwError(t){throw new Error(t)}function interpolateNumber(t,r,V){return(r-t)*V+t}var DUMMY_COMPONENT_NAME_PREFIX="series\0",INTERNAL_COMPONENT_ID_PREFIX="\0_ec_\0";function normalizeToArray(t){return t instanceof Array?t:t==null?[]:[t]}function defaultEmphasis(t,r,V){if(t){t[r]=t[r]||{},t.emphasis=t.emphasis||{},t.emphasis[r]=t.emphasis[r]||{};for(var oe=0,ie=V.length;oe<ie;oe++){var le=V[oe];!t.emphasis[r].hasOwnProperty(le)&&t[r].hasOwnProperty(le)&&(t.emphasis[r][le]=t[r][le])}}}var TEXT_STYLE_OPTIONS=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function getDataItemValue(t){return isObject$3(t)&&!isArray$1(t)&&!(t instanceof Date)?t.value:t}function isDataItemOption(t){return isObject$3(t)&&!(t instanceof Array)}function mappingToExists(t,r,V){var oe=V==="normalMerge",ie=V==="replaceMerge",le=V==="replaceAll";t=t||[],r=(r||[]).slice();var ue=createHashMap();each$c(r,function(pe,he){if(!isObject$3(pe)){r[he]=null;return}});var de=prepareResult(t,ue,V);return(oe||ie)&&mappingById(de,t,ue,r),oe&&mappingByName(de,r),oe||ie?mappingByIndex(de,r,ie):le&&mappingInReplaceAllMode(de,r),makeIdAndName(de),de}function prepareResult(t,r,V){var oe=[];if(V==="replaceAll")return oe;for(var ie=0;ie<t.length;ie++){var le=t[ie];le&&le.id!=null&&r.set(le.id,ie),oe.push({existing:V==="replaceMerge"||isComponentIdInternal(le)?null:le,newOption:null,keyInfo:null,brandNew:null})}return oe}function mappingById(t,r,V,oe){each$c(oe,function(ie,le){if(!(!ie||ie.id==null)){var ue=makeComparableKey(ie.id),de=V.get(ue);if(de!=null){var pe=t[de];assert(!pe.newOption,'Duplicated option on id "'+ue+'".'),pe.newOption=ie,pe.existing=r[de],oe[le]=null}}})}function mappingByName(t,r){each$c(r,function(V,oe){if(!(!V||V.name==null))for(var ie=0;ie<t.length;ie++){var le=t[ie].existing;if(!t[ie].newOption&&le&&(le.id==null||V.id==null)&&!isComponentIdInternal(V)&&!isComponentIdInternal(le)&&keyExistAndEqual("name",le,V)){t[ie].newOption=V,r[oe]=null;return}}})}function mappingByIndex(t,r,V){each$c(r,function(oe){if(oe){for(var ie,le=0;(ie=t[le])&&(ie.newOption||isComponentIdInternal(ie.existing)||ie.existing&&oe.id!=null&&!keyExistAndEqual("id",oe,ie.existing));)le++;ie?(ie.newOption=oe,ie.brandNew=V):t.push({newOption:oe,brandNew:V,existing:null,keyInfo:null}),le++}})}function mappingInReplaceAllMode(t,r){each$c(r,function(V){t.push({newOption:V,brandNew:!0,existing:null,keyInfo:null})})}function makeIdAndName(t){var r=createHashMap();each$c(t,function(V){var oe=V.existing;oe&&r.set(oe.id,V)}),each$c(t,function(V){var oe=V.newOption;assert(!oe||oe.id==null||!r.get(oe.id)||r.get(oe.id)===V,"id duplicates: "+(oe&&oe.id)),oe&&oe.id!=null&&r.set(oe.id,V),!V.keyInfo&&(V.keyInfo={})}),each$c(t,function(V,oe){var ie=V.existing,le=V.newOption,ue=V.keyInfo;if(isObject$3(le)){if(ue.name=le.name!=null?makeComparableKey(le.name):ie?ie.name:DUMMY_COMPONENT_NAME_PREFIX+oe,ie)ue.id=makeComparableKey(ie.id);else if(le.id!=null)ue.id=makeComparableKey(le.id);else{var de=0;do ue.id="\0"+ue.name+"\0"+de++;while(r.get(ue.id))}r.set(ue.id,V)}})}function keyExistAndEqual(t,r,V){var oe=convertOptionIdName(r[t],null),ie=convertOptionIdName(V[t],null);return oe!=null&&ie!=null&&oe===ie}function makeComparableKey(t){return convertOptionIdName(t,"")}function convertOptionIdName(t,r){return t==null?r:isString(t)?t:isNumber(t)||isStringSafe(t)?t+"":r}function isNameSpecified(t){var r=t.name;return!!(r&&r.indexOf(DUMMY_COMPONENT_NAME_PREFIX))}function isComponentIdInternal(t){return t&&t.id!=null&&makeComparableKey(t.id).indexOf(INTERNAL_COMPONENT_ID_PREFIX)===0}function makeInternalComponentId(t){return INTERNAL_COMPONENT_ID_PREFIX+t}function setComponentTypeToKeyInfo(t,r,V){each$c(t,function(oe){var ie=oe.newOption;isObject$3(ie)&&(oe.keyInfo.mainType=r,oe.keyInfo.subType=determineSubType(r,ie,oe.existing,V))})}function determineSubType(t,r,V,oe){var ie=r.type?r.type:V?V.subType:oe.determineSubType(t,r);return ie}function compressBatches(t,r){var V={},oe={};return ie(t||[],V),ie(r||[],oe,V),[le(V),le(oe)];function ie(ue,de,pe){for(var he=0,_e=ue.length;he<_e;he++){var $e=convertOptionIdName(ue[he].seriesId,null);if($e==null)return;for(var Ie=normalizeToArray(ue[he].dataIndex),Ve=pe&&pe[$e],Fe=0,Ue=Ie.length;Fe<Ue;Fe++){var qe=Ie[Fe];Ve&&Ve[qe]?Ve[qe]=null:(de[$e]||(de[$e]={}))[qe]=1}}}function le(ue,de){var pe=[];for(var he in ue)if(ue.hasOwnProperty(he)&&ue[he]!=null)if(de)pe.push(+he);else{var _e=le(ue[he],!0);_e.length&&pe.push({seriesId:he,dataIndex:_e})}return pe}}function queryDataIndex(t,r){if(r.dataIndexInside!=null)return r.dataIndexInside;if(r.dataIndex!=null)return isArray$1(r.dataIndex)?map$2(r.dataIndex,function(V){return t.indexOfRawIndex(V)}):t.indexOfRawIndex(r.dataIndex);if(r.name!=null)return isArray$1(r.name)?map$2(r.name,function(V){return t.indexOfName(V)}):t.indexOfName(r.name)}function makeInner(){var t="__ec_inner_"+innerUniqueIndex++;return function(r){return r[t]||(r[t]={})}}var innerUniqueIndex=getRandomIdBase();function parseFinder$1(t,r,V){var oe=preParseFinder(r,V),ie=oe.mainTypeSpecified,le=oe.queryOptionMap,ue=oe.others,de=ue,pe=V?V.defaultMainType:null;return!ie&&pe&&le.set(pe,{}),le.each(function(he,_e){var $e=queryReferringComponents(t,_e,he,{useDefault:pe===_e,enableAll:V&&V.enableAll!=null?V.enableAll:!0,enableNone:V&&V.enableNone!=null?V.enableNone:!0});de[_e+"Models"]=$e.models,de[_e+"Model"]=$e.models[0]}),de}function preParseFinder(t,r){var V;if(isString(t)){var oe={};oe[t+"Index"]=0,V=oe}else V=t;var ie=createHashMap(),le={},ue=!1;return each$c(V,function(de,pe){if(pe==="dataIndex"||pe==="dataIndexInside"){le[pe]=de;return}var he=pe.match(/^(\w+)(Index|Id|Name)$/)||[],_e=he[1],$e=(he[2]||"").toLowerCase();if(!(!_e||!$e||r&&r.includeMainTypes&&indexOf(r.includeMainTypes,_e)<0)){ue=ue||!!_e;var Ie=ie.get(_e)||ie.set(_e,{});Ie[$e]=de}}),{mainTypeSpecified:ue,queryOptionMap:ie,others:le}}var SINGLE_REFERRING={useDefault:!0,enableAll:!1,enableNone:!1},MULTIPLE_REFERRING={useDefault:!1,enableAll:!0,enableNone:!0};function queryReferringComponents(t,r,V,oe){oe=oe||SINGLE_REFERRING;var ie=V.index,le=V.id,ue=V.name,de={models:null,specified:ie!=null||le!=null||ue!=null};if(!de.specified){var pe=void 0;return de.models=oe.useDefault&&(pe=t.getComponent(r))?[pe]:[],de}return ie==="none"||ie===!1?(assert(oe.enableNone,'`"none"` or `false` is not a valid value on index option.'),de.models=[],de):(ie==="all"&&(assert(oe.enableAll,'`"all"` is not a valid value on index option.'),ie=le=ue=null),de.models=t.queryComponents({mainType:r,index:ie,id:le,name:ue}),de)}function setAttribute(t,r,V){t.setAttribute?t.setAttribute(r,V):t[r]=V}function getAttribute(t,r){return t.getAttribute?t.getAttribute(r):t[r]}function getTooltipRenderMode(t){return t==="auto"?env$1.domSupported?"html":"richText":t||"html"}function interpolateRawValues(t,r,V,oe,ie){var le=r==null||r==="auto";if(oe==null)return oe;if(isNumber(oe)){var ue=interpolateNumber(V||0,oe,ie);return round$1(ue,le?Math.max(getPrecision(V||0),getPrecision(oe)):r)}else{if(isString(oe))return ie<1?V:oe;for(var de=[],pe=V,he=oe,_e=Math.max(pe?pe.length:0,he.length),$e=0;$e<_e;++$e){var Ie=t.getDimensionInfo($e);if(Ie&&Ie.type==="ordinal")de[$e]=(ie<1&&pe?pe:he)[$e];else{var Ve=pe&&pe[$e]?pe[$e]:0,Fe=he[$e],ue=interpolateNumber(Ve,Fe,ie);de[$e]=round$1(ue,le?Math.max(getPrecision(Ve),getPrecision(Fe)):r)}}return de}}var TYPE_DELIMITER=".",IS_CONTAINER="___EC__COMPONENT__CONTAINER___",IS_EXTENDED_CLASS="___EC__EXTENDED_CLASS___";function parseClassType(t){var r={main:"",sub:""};if(t){var V=t.split(TYPE_DELIMITER);r.main=V[0]||"",r.sub=V[1]||""}return r}function checkClassType(t){assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function isExtendedClass(t){return!!(t&&t[IS_EXTENDED_CLASS])}function enableClassExtend(t,r){t.$constructor=t,t.extend=function(V){var oe=this,ie;return isESClass(oe)?ie=function(le){__extends(ue,le);function ue(){return le.apply(this,arguments)||this}return ue}(oe):(ie=function(){(V.$constructor||oe).apply(this,arguments)},inherits(ie,this)),extend(ie.prototype,V),ie[IS_EXTENDED_CLASS]=!0,ie.extend=this.extend,ie.superCall=superCall,ie.superApply=superApply,ie.superClass=oe,ie}}function isESClass(t){return isFunction(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function mountExtend(t,r){t.extend=r.extend}var classBase=Math.round(Math.random()*10);function enableClassCheck(t){var r=["__\0is_clz",classBase++].join("_");t.prototype[r]=!0,t.isInstance=function(V){return!!(V&&V[r])}}function superCall(t,r){for(var V=[],oe=2;oe<arguments.length;oe++)V[oe-2]=arguments[oe];return this.superClass.prototype[r].apply(t,V)}function superApply(t,r,V){return this.superClass.prototype[r].apply(t,V)}function enableClassManagement(t){var r={};t.registerClass=function(oe){var ie=oe.type||oe.prototype.type;if(ie){checkClassType(ie),oe.prototype.type=ie;var le=parseClassType(ie);if(!le.sub)r[le.main]=oe;else if(le.sub!==IS_CONTAINER){var ue=V(le);ue[le.sub]=oe}}return oe},t.getClass=function(oe,ie,le){var ue=r[oe];if(ue&&ue[IS_CONTAINER]&&(ue=ie?ue[ie]:null),le&&!ue)throw new Error(ie?"Component "+oe+"."+(ie||"")+" is used but not imported.":oe+".type should be specified.");return ue},t.getClassesByMainType=function(oe){var ie=parseClassType(oe),le=[],ue=r[ie.main];return ue&&ue[IS_CONTAINER]?each$c(ue,function(de,pe){pe!==IS_CONTAINER&&le.push(de)}):le.push(ue),le},t.hasClass=function(oe){var ie=parseClassType(oe);return!!r[ie.main]},t.getAllClassMainTypes=function(){var oe=[];return each$c(r,function(ie,le){oe.push(le)}),oe},t.hasSubTypes=function(oe){var ie=parseClassType(oe),le=r[ie.main];return le&&le[IS_CONTAINER]};function V(oe){var ie=r[oe.main];return(!ie||!ie[IS_CONTAINER])&&(ie=r[oe.main]={},ie[IS_CONTAINER]=!0),ie}}function makeStyleMapper(t,r){for(var V=0;V<t.length;V++)t[V][1]||(t[V][1]=t[V][0]);return r=r||!1,function(oe,ie,le){for(var ue={},de=0;de<t.length;de++){var pe=t[de][1];if(!(ie&&indexOf(ie,pe)>=0||le&&indexOf(le,pe)<0)){var he=oe.getShallow(pe,r);he!=null&&(ue[t[de][0]]=he)}}return ue}}var AREA_STYLE_KEY_MAP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],getAreaStyle=makeStyleMapper(AREA_STYLE_KEY_MAP),AreaStyleMixin=function(){function t(){}return t.prototype.getAreaStyle=function(r,V){return getAreaStyle(this,r,V)},t}(),globalImageCache=new LRU$1(50);function findExistImage(t){if(typeof t=="string"){var r=globalImageCache.get(t);return r&&r.image}else return t}function createOrUpdateImage(t,r,V,oe,ie){if(t)if(typeof t=="string"){if(r&&r.__zrImageSrc===t||!V)return r;var le=globalImageCache.get(t),ue={hostEl:V,cb:oe,cbPayload:ie};return le?(r=le.image,!isImageReady(r)&&le.pending.push(ue)):(r=platformApi.loadImage(t,imageOnLoad,imageOnLoad),r.__zrImageSrc=t,globalImageCache.put(t,r.__cachedImgObj={image:r,pending:[ue]})),r}else return t;else return r}function imageOnLoad(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var r=0;r<t.pending.length;r++){var V=t.pending[r],oe=V.cb;oe&&oe(this,V.cbPayload),V.hostEl.dirty()}t.pending.length=0}function isImageReady(t){return t&&t.width&&t.height}var STYLE_REG=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function truncateText(t,r,V,oe,ie){if(!r)return"";var le=(t+"").split(`
|
||
`);ie=prepareTruncateOptions(r,V,oe,ie);for(var ue=0,de=le.length;ue<de;ue++)le[ue]=truncateSingleLine(le[ue],ie);return le.join(`
|
||
`)}function prepareTruncateOptions(t,r,V,oe){oe=oe||{};var ie=extend({},oe);ie.font=r,V=retrieve2(V,"..."),ie.maxIterations=retrieve2(oe.maxIterations,2);var le=ie.minChar=retrieve2(oe.minChar,0);ie.cnCharWidth=getWidth("国",r);var ue=ie.ascCharWidth=getWidth("a",r);ie.placeholder=retrieve2(oe.placeholder,"");for(var de=t=Math.max(0,t-1),pe=0;pe<le&&de>=ue;pe++)de-=ue;var he=getWidth(V,r);return he>de&&(V="",he=0),de=t-he,ie.ellipsis=V,ie.ellipsisWidth=he,ie.contentWidth=de,ie.containerWidth=t,ie}function truncateSingleLine(t,r){var V=r.containerWidth,oe=r.font,ie=r.contentWidth;if(!V)return"";var le=getWidth(t,oe);if(le<=V)return t;for(var ue=0;;ue++){if(le<=ie||ue>=r.maxIterations){t+=r.ellipsis;break}var de=ue===0?estimateLength(t,ie,r.ascCharWidth,r.cnCharWidth):le>0?Math.floor(t.length*ie/le):0;t=t.substr(0,de),le=getWidth(t,oe)}return t===""&&(t=r.placeholder),t}function estimateLength(t,r,V,oe){for(var ie=0,le=0,ue=t.length;le<ue&&ie<r;le++){var de=t.charCodeAt(le);ie+=0<=de&&de<=127?V:oe}return le}function parsePlainText(t,r){t!=null&&(t+="");var V=r.overflow,oe=r.padding,ie=r.font,le=V==="truncate",ue=getLineHeight(ie),de=retrieve2(r.lineHeight,ue),pe=!!r.backgroundColor,he=r.lineOverflow==="truncate",_e=r.width,$e;_e!=null&&(V==="break"||V==="breakAll")?$e=t?wrapText(t,r.font,_e,V==="breakAll",0).lines:[]:$e=t?t.split(`
|
||
`):[];var Ie=$e.length*de,Ve=retrieve2(r.height,Ie);if(Ie>Ve&&he){var Fe=Math.floor(Ve/de);$e=$e.slice(0,Fe)}if(t&&le&&_e!=null)for(var Ue=prepareTruncateOptions(_e,ie,r.ellipsis,{minChar:r.truncateMinChar,placeholder:r.placeholder}),qe=0;qe<$e.length;qe++)$e[qe]=truncateSingleLine($e[qe],Ue);for(var Et=Ve,At=0,qe=0;qe<$e.length;qe++)At=Math.max(getWidth($e[qe],ie),At);_e==null&&(_e=At);var Lt=At;return oe&&(Et+=oe[0]+oe[2],Lt+=oe[1]+oe[3],_e+=oe[1]+oe[3]),pe&&(Lt=_e),{lines:$e,height:Ve,outerWidth:Lt,outerHeight:Et,lineHeight:de,calculatedLineHeight:ue,contentWidth:At,contentHeight:Ie,width:_e}}var RichTextToken=function(){function t(){}return t}(),RichTextLine=function(){function t(r){this.tokens=[],r&&(this.tokens=r)}return t}(),RichTextContentBlock=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function parseRichText(t,r){var V=new RichTextContentBlock;if(t!=null&&(t+=""),!t)return V;for(var oe=r.width,ie=r.height,le=r.overflow,ue=(le==="break"||le==="breakAll")&&oe!=null?{width:oe,accumWidth:0,breakAll:le==="breakAll"}:null,de=STYLE_REG.lastIndex=0,pe;(pe=STYLE_REG.exec(t))!=null;){var he=pe.index;he>de&&pushTokens(V,t.substring(de,he),r,ue),pushTokens(V,pe[2],r,ue,pe[1]),de=STYLE_REG.lastIndex}de<t.length&&pushTokens(V,t.substring(de,t.length),r,ue);var _e=[],$e=0,Ie=0,Ve=r.padding,Fe=le==="truncate",Ue=r.lineOverflow==="truncate";function qe(Ln,An,Vn){Ln.width=An,Ln.lineHeight=Vn,$e+=Vn,Ie=Math.max(Ie,An)}e:for(var Et=0;Et<V.lines.length;Et++){for(var At=V.lines[Et],Lt=0,hn=0,_n=0;_n<At.tokens.length;_n++){var vn=At.tokens[_n],bn=vn.styleName&&r.rich[vn.styleName]||{},Cn=vn.textPadding=bn.padding,Sn=Cn?Cn[1]+Cn[3]:0,wn=vn.font=bn.font||r.font;vn.contentHeight=getLineHeight(wn);var En=retrieve2(bn.height,vn.contentHeight);if(vn.innerHeight=En,Cn&&(En+=Cn[0]+Cn[2]),vn.height=En,vn.lineHeight=retrieve3(bn.lineHeight,r.lineHeight,En),vn.align=bn&&bn.align||r.align,vn.verticalAlign=bn&&bn.verticalAlign||"middle",Ue&&ie!=null&&$e+vn.lineHeight>ie){_n>0?(At.tokens=At.tokens.slice(0,_n),qe(At,hn,Lt),V.lines=V.lines.slice(0,Et+1)):V.lines=V.lines.slice(0,Et);break e}var xn=bn.width,Pn=xn==null||xn==="auto";if(typeof xn=="string"&&xn.charAt(xn.length-1)==="%")vn.percentWidth=xn,_e.push(vn),vn.contentWidth=getWidth(vn.text,wn);else{if(Pn){var kn=bn.backgroundColor,Nn=kn&&kn.image;Nn&&(Nn=findExistImage(Nn),isImageReady(Nn)&&(vn.width=Math.max(vn.width,Nn.width*En/Nn.height)))}var Dn=Fe&&oe!=null?oe-hn:null;Dn!=null&&Dn<vn.width?!Pn||Dn<Sn?(vn.text="",vn.width=vn.contentWidth=0):(vn.text=truncateText(vn.text,Dn-Sn,wn,r.ellipsis,{minChar:r.truncateMinChar}),vn.width=vn.contentWidth=getWidth(vn.text,wn)):vn.contentWidth=getWidth(vn.text,wn)}vn.width+=Sn,hn+=vn.width,bn&&(Lt=Math.max(Lt,vn.lineHeight))}qe(At,hn,Lt)}V.outerWidth=V.width=retrieve2(oe,Ie),V.outerHeight=V.height=retrieve2(ie,$e),V.contentHeight=$e,V.contentWidth=Ie,Ve&&(V.outerWidth+=Ve[1]+Ve[3],V.outerHeight+=Ve[0]+Ve[2]);for(var Et=0;Et<_e.length;Et++){var vn=_e[Et],Mn=vn.percentWidth;vn.width=parseInt(Mn,10)/100*V.width}return V}function pushTokens(t,r,V,oe,ie){var le=r==="",ue=ie&&V.rich[ie]||{},de=t.lines,pe=ue.font||V.font,he=!1,_e,$e;if(oe){var Ie=ue.padding,Ve=Ie?Ie[1]+Ie[3]:0;if(ue.width!=null&&ue.width!=="auto"){var Fe=parsePercent$1(ue.width,oe.width)+Ve;de.length>0&&Fe+oe.accumWidth>oe.width&&(_e=r.split(`
|
||
`),he=!0),oe.accumWidth=Fe}else{var Ue=wrapText(r,pe,oe.width,oe.breakAll,oe.accumWidth);oe.accumWidth=Ue.accumWidth+Ve,$e=Ue.linesWidths,_e=Ue.lines}}else _e=r.split(`
|
||
`);for(var qe=0;qe<_e.length;qe++){var Et=_e[qe],At=new RichTextToken;if(At.styleName=ie,At.text=Et,At.isLineHolder=!Et&&!le,typeof ue.width=="number"?At.width=ue.width:At.width=$e?$e[qe]:getWidth(Et,pe),!qe&&!he){var Lt=(de[de.length-1]||(de[0]=new RichTextLine)).tokens,hn=Lt.length;hn===1&&Lt[0].isLineHolder?Lt[0]=At:(Et||!hn||le)&&Lt.push(At)}else de.push(new RichTextLine([At]))}}function isAlphabeticLetter(t){var r=t.charCodeAt(0);return r>=32&&r<=591||r>=880&&r<=4351||r>=4608&&r<=5119||r>=7680&&r<=8303}var breakCharMap=reduce(",&?/;] ".split(""),function(t,r){return t[r]=!0,t},{});function isWordBreakChar(t){return isAlphabeticLetter(t)?!!breakCharMap[t]:!0}function wrapText(t,r,V,oe,ie){for(var le=[],ue=[],de="",pe="",he=0,_e=0,$e=0;$e<t.length;$e++){var Ie=t.charAt($e);if(Ie===`
|
||
`){pe&&(de+=pe,_e+=he),le.push(de),ue.push(_e),de="",pe="",he=0,_e=0;continue}var Ve=getWidth(Ie,r),Fe=oe?!1:!isWordBreakChar(Ie);if(le.length?_e+Ve>V:ie+_e+Ve>V){_e?(de||pe)&&(Fe?(de||(de=pe,pe="",he=0,_e=he),le.push(de),ue.push(_e-he),pe+=Ie,he+=Ve,de="",_e=he):(pe&&(de+=pe,pe="",he=0),le.push(de),ue.push(_e),de=Ie,_e=Ve)):Fe?(le.push(pe),ue.push(he),pe=Ie,he=Ve):(le.push(Ie),ue.push(Ve));continue}_e+=Ve,Fe?(pe+=Ie,he+=Ve):(pe&&(de+=pe,pe="",he=0),de+=Ie)}return!le.length&&!de&&(de=t,pe="",he=0),pe&&(de+=pe),de&&(le.push(de),ue.push(_e)),le.length===1&&(_e+=ie),{accumWidth:_e,lines:le,linesWidths:ue}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(Math.random()*10),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype._init=function(V){for(var oe=keys(V),ie=0;ie<oe.length;ie++){var le=oe[ie];le==="style"?this.useStyle(V[le]):t.prototype.attrKV.call(this,le,V[le])}this.style||this.useStyle({})},r.prototype.beforeBrush=function(){},r.prototype.afterBrush=function(){},r.prototype.innerBeforeBrush=function(){},r.prototype.innerAfterBrush=function(){},r.prototype.shouldBePainted=function(V,oe,ie,le){var ue=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&isDisplayableCulled(this,V,oe)||ue&&!ue[0]&&!ue[3])return!1;if(ie&&this.__clipPaths){for(var de=0;de<this.__clipPaths.length;++de)if(this.__clipPaths[de].isZeroArea())return!1}if(le&&this.parent)for(var pe=this.parent;pe;){if(pe.ignore)return!1;pe=pe.parent}return!0},r.prototype.contain=function(V,oe){return this.rectContain(V,oe)},r.prototype.traverse=function(V,oe){V.call(oe,this)},r.prototype.rectContain=function(V,oe){var ie=this.transformCoordToLocal(V,oe),le=this.getBoundingRect();return le.contain(ie[0],ie[1])},r.prototype.getPaintRect=function(){var V=this._paintRect;if(!this._paintRect||this.__dirty){var oe=this.transform,ie=this.getBoundingRect(),le=this.style,ue=le.shadowBlur||0,de=le.shadowOffsetX||0,pe=le.shadowOffsetY||0;V=this._paintRect||(this._paintRect=new BoundingRect$1(0,0,0,0)),oe?BoundingRect$1.applyTransform(V,ie,oe):V.copy(ie),(ue||de||pe)&&(V.width+=ue*2+Math.abs(de),V.height+=ue*2+Math.abs(pe),V.x=Math.min(V.x,V.x+de-ue),V.y=Math.min(V.y,V.y+pe-ue));var he=this.dirtyRectTolerance;V.isZero()||(V.x=Math.floor(V.x-he),V.y=Math.floor(V.y-he),V.width=Math.ceil(V.width+1+he*2),V.height=Math.ceil(V.height+1+he*2))}return V},r.prototype.setPrevPaintRect=function(V){V?(this._prevPaintRect=this._prevPaintRect||new BoundingRect$1(0,0,0,0),this._prevPaintRect.copy(V)):this._prevPaintRect=null},r.prototype.getPrevPaintRect=function(){return this._prevPaintRect},r.prototype.animateStyle=function(V){return this.animate("style",V)},r.prototype.updateDuringAnimation=function(V){V==="style"?this.dirtyStyle():this.markRedraw()},r.prototype.attrKV=function(V,oe){V!=="style"?t.prototype.attrKV.call(this,V,oe):this.style?this.setStyle(oe):this.useStyle(oe)},r.prototype.setStyle=function(V,oe){return typeof V=="string"?this.style[V]=oe:extend(this.style,V),this.dirtyStyle(),this},r.prototype.dirtyStyle=function(V){V||this.markRedraw(),this.__dirty|=STYLE_CHANGED_BIT,this._rect&&(this._rect=null)},r.prototype.dirty=function(){this.dirtyStyle()},r.prototype.styleChanged=function(){return!!(this.__dirty&STYLE_CHANGED_BIT)},r.prototype.styleUpdated=function(){this.__dirty&=~STYLE_CHANGED_BIT},r.prototype.createStyle=function(V){return createObject(DEFAULT_COMMON_STYLE,V)},r.prototype.useStyle=function(V){V[STYLE_MAGIC_KEY]||(V=this.createStyle(V)),this.__inHover?this.__hoverStyle=V:this.style=V,this.dirtyStyle()},r.prototype.isStyleObject=function(V){return V[STYLE_MAGIC_KEY]},r.prototype._innerSaveToNormal=function(V){t.prototype._innerSaveToNormal.call(this,V);var oe=this._normalState;V.style&&!oe.style&&(oe.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(V,oe,PRIMARY_STATES_KEYS)},r.prototype._applyStateObj=function(V,oe,ie,le,ue,de){t.prototype._applyStateObj.call(this,V,oe,ie,le,ue,de);var pe=!(oe&&le),he;if(oe&&oe.style?ue?le?he=oe.style:(he=this._mergeStyle(this.createStyle(),ie.style),this._mergeStyle(he,oe.style)):(he=this._mergeStyle(this.createStyle(),le?this.style:ie.style),this._mergeStyle(he,oe.style)):pe&&(he=ie.style),he)if(ue){var _e=this.style;if(this.style=this.createStyle(pe?{}:_e),pe)for(var $e=keys(_e),Ie=0;Ie<$e.length;Ie++){var Ve=$e[Ie];Ve in he&&(he[Ve]=he[Ve],this.style[Ve]=_e[Ve])}for(var Fe=keys(he),Ie=0;Ie<Fe.length;Ie++){var Ve=Fe[Ie];this.style[Ve]=this.style[Ve]}this._transitionState(V,{style:he},de,this.getAnimationStyleProps())}else this.useStyle(he);for(var Ue=this.__inHover?PRIMARY_STATES_KEYS_IN_HOVER_LAYER:PRIMARY_STATES_KEYS,Ie=0;Ie<Ue.length;Ie++){var Ve=Ue[Ie];oe&&oe[Ve]!=null?this[Ve]=oe[Ve]:pe&&ie[Ve]!=null&&(this[Ve]=ie[Ve])}},r.prototype._mergeStates=function(V){for(var oe=t.prototype._mergeStates.call(this,V),ie,le=0;le<V.length;le++){var ue=V[le];ue.style&&(ie=ie||{},this._mergeStyle(ie,ue.style))}return ie&&(oe.style=ie),oe},r.prototype._mergeStyle=function(V,oe){return extend(V,oe),V},r.prototype.getAnimationStyleProps=function(){return DEFAULT_COMMON_ANIMATION_PROPS},r.initDefaultProps=function(){var V=r.prototype;V.type="displayable",V.invisible=!1,V.z=0,V.z2=0,V.zlevel=0,V.culling=!1,V.cursor="pointer",V.rectHover=!1,V.incremental=!1,V._rect=null,V.dirtyRectTolerance=0,V.__dirty=REDRAW_BIT|STYLE_CHANGED_BIT}(),r}(Element$2),tmpRect=new BoundingRect$1(0,0,0,0),viewRect=new BoundingRect$1(0,0,0,0);function isDisplayableCulled(t,r,V){return tmpRect.copy(t.getBoundingRect()),t.transform&&tmpRect.applyTransform(t.transform),viewRect.width=r,viewRect.height=V,!tmpRect.intersect(viewRect)}const Displayable$1=Displayable;var mathMin$7=Math.min,mathMax$7=Math.max,mathSin$3=Math.sin,mathCos$3=Math.cos,PI2$6=Math.PI*2,start=create$1(),end=create$1(),extremity=create$1();function fromLine(t,r,V,oe,ie,le){ie[0]=mathMin$7(t,V),ie[1]=mathMin$7(r,oe),le[0]=mathMax$7(t,V),le[1]=mathMax$7(r,oe)}var xDim=[],yDim=[];function fromCubic(t,r,V,oe,ie,le,ue,de,pe,he){var _e=cubicExtrema,$e=cubicAt,Ie=_e(t,V,ie,ue,xDim);pe[0]=1/0,pe[1]=1/0,he[0]=-1/0,he[1]=-1/0;for(var Ve=0;Ve<Ie;Ve++){var Fe=$e(t,V,ie,ue,xDim[Ve]);pe[0]=mathMin$7(Fe,pe[0]),he[0]=mathMax$7(Fe,he[0])}Ie=_e(r,oe,le,de,yDim);for(var Ve=0;Ve<Ie;Ve++){var Ue=$e(r,oe,le,de,yDim[Ve]);pe[1]=mathMin$7(Ue,pe[1]),he[1]=mathMax$7(Ue,he[1])}pe[0]=mathMin$7(t,pe[0]),he[0]=mathMax$7(t,he[0]),pe[0]=mathMin$7(ue,pe[0]),he[0]=mathMax$7(ue,he[0]),pe[1]=mathMin$7(r,pe[1]),he[1]=mathMax$7(r,he[1]),pe[1]=mathMin$7(de,pe[1]),he[1]=mathMax$7(de,he[1])}function fromQuadratic(t,r,V,oe,ie,le,ue,de){var pe=quadraticExtremum,he=quadraticAt,_e=mathMax$7(mathMin$7(pe(t,V,ie),1),0),$e=mathMax$7(mathMin$7(pe(r,oe,le),1),0),Ie=he(t,V,ie,_e),Ve=he(r,oe,le,$e);ue[0]=mathMin$7(t,ie,Ie),ue[1]=mathMin$7(r,le,Ve),de[0]=mathMax$7(t,ie,Ie),de[1]=mathMax$7(r,le,Ve)}function fromArc(t,r,V,oe,ie,le,ue,de,pe){var he=min$1,_e=max$1,$e=Math.abs(ie-le);if($e%PI2$6<1e-4&&$e>1e-4){de[0]=t-V,de[1]=r-oe,pe[0]=t+V,pe[1]=r+oe;return}if(start[0]=mathCos$3(ie)*V+t,start[1]=mathSin$3(ie)*oe+r,end[0]=mathCos$3(le)*V+t,end[1]=mathSin$3(le)*oe+r,he(de,start,end),_e(pe,start,end),ie=ie%PI2$6,ie<0&&(ie=ie+PI2$6),le=le%PI2$6,le<0&&(le=le+PI2$6),ie>le&&!ue?le+=PI2$6:ie<le&&ue&&(ie+=PI2$6),ue){var Ie=le;le=ie,ie=Ie}for(var Ve=0;Ve<le;Ve+=Math.PI/2)Ve>ie&&(extremity[0]=mathCos$3(Ve)*V+t,extremity[1]=mathSin$3(Ve)*oe+r,he(de,extremity,de),_e(pe,extremity,pe))}var CMD$2={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$6=Math.min,mathMax$6=Math.max,mathCos$2=Math.cos,mathSin$2=Math.sin,mathAbs$1=Math.abs,PI$4=Math.PI,PI2$5=PI$4*2,hasTypedArray=typeof Float32Array<"u",tmpAngles=[];function modPI2(t){var r=Math.round(t/PI$4*1e8)/1e8;return r%2*PI$4}function normalizeArcAngles(t,r){var V=modPI2(t[0]);V<0&&(V+=PI2$5);var oe=V-t[0],ie=t[1];ie+=oe,!r&&ie-V>=PI2$5?ie=V+PI2$5:r&&V-ie>=PI2$5?ie=V-PI2$5:!r&&V>ie?ie=V+(PI2$5-modPI2(V-ie)):r&&V<ie&&(ie=V-(PI2$5-modPI2(ie-V))),t[0]=V,t[1]=ie}var PathProxy=function(){function t(r){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,r&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(r,V,oe){oe=oe||0,oe>0&&(this._ux=mathAbs$1(oe/devicePixelRatio/r)||0,this._uy=mathAbs$1(oe/devicePixelRatio/V)||0)},t.prototype.setDPR=function(r){this.dpr=r},t.prototype.setContext=function(r){this._ctx=r},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(r,V){return this._drawPendingPt(),this.addData(CMD$2.M,r,V),this._ctx&&this._ctx.moveTo(r,V),this._x0=r,this._y0=V,this._xi=r,this._yi=V,this},t.prototype.lineTo=function(r,V){var oe=mathAbs$1(r-this._xi),ie=mathAbs$1(V-this._yi),le=oe>this._ux||ie>this._uy;if(this.addData(CMD$2.L,r,V),this._ctx&&le&&this._ctx.lineTo(r,V),le)this._xi=r,this._yi=V,this._pendingPtDist=0;else{var ue=oe*oe+ie*ie;ue>this._pendingPtDist&&(this._pendingPtX=r,this._pendingPtY=V,this._pendingPtDist=ue)}return this},t.prototype.bezierCurveTo=function(r,V,oe,ie,le,ue){return this._drawPendingPt(),this.addData(CMD$2.C,r,V,oe,ie,le,ue),this._ctx&&this._ctx.bezierCurveTo(r,V,oe,ie,le,ue),this._xi=le,this._yi=ue,this},t.prototype.quadraticCurveTo=function(r,V,oe,ie){return this._drawPendingPt(),this.addData(CMD$2.Q,r,V,oe,ie),this._ctx&&this._ctx.quadraticCurveTo(r,V,oe,ie),this._xi=oe,this._yi=ie,this},t.prototype.arc=function(r,V,oe,ie,le,ue){this._drawPendingPt(),tmpAngles[0]=ie,tmpAngles[1]=le,normalizeArcAngles(tmpAngles,ue),ie=tmpAngles[0],le=tmpAngles[1];var de=le-ie;return this.addData(CMD$2.A,r,V,oe,oe,ie,de,0,ue?0:1),this._ctx&&this._ctx.arc(r,V,oe,ie,le,ue),this._xi=mathCos$2(le)*oe+r,this._yi=mathSin$2(le)*oe+V,this},t.prototype.arcTo=function(r,V,oe,ie,le){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(r,V,oe,ie,le),this},t.prototype.rect=function(r,V,oe,ie){return this._drawPendingPt(),this._ctx&&this._ctx.rect(r,V,oe,ie),this.addData(CMD$2.R,r,V,oe,ie),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$2.Z);var r=this._ctx,V=this._x0,oe=this._y0;return r&&r.closePath(),this._xi=V,this._yi=oe,this},t.prototype.fill=function(r){r&&r.fill(),this.toStatic()},t.prototype.stroke=function(r){r&&r.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(r){var V=r.length;!(this.data&&this.data.length===V)&&hasTypedArray&&(this.data=new Float32Array(V));for(var oe=0;oe<V;oe++)this.data[oe]=r[oe];this._len=V},t.prototype.appendPath=function(r){r instanceof Array||(r=[r]);for(var V=r.length,oe=0,ie=this._len,le=0;le<V;le++)oe+=r[le].len();hasTypedArray&&this.data instanceof Float32Array&&(this.data=new Float32Array(ie+oe));for(var le=0;le<V;le++)for(var ue=r[le].data,de=0;de<ue.length;de++)this.data[ie++]=ue[de];this._len=ie},t.prototype.addData=function(r,V,oe,ie,le,ue,de,pe,he){if(this._saveData){var _e=this.data;this._len+arguments.length>_e.length&&(this._expandData(),_e=this.data);for(var $e=0;$e<arguments.length;$e++)_e[this._len++]=arguments[$e]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var r=[],V=0;V<this._len;V++)r[V]=this.data[V];this.data=r}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var r=this.data;r instanceof Array&&(r.length=this._len,hasTypedArray&&this._len>11&&(this.data=new Float32Array(r)))}},t.prototype.getBoundingRect=function(){min[0]=min[1]=min2[0]=min2[1]=Number.MAX_VALUE,max[0]=max[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var r=this.data,V=0,oe=0,ie=0,le=0,ue;for(ue=0;ue<this._len;){var de=r[ue++],pe=ue===1;switch(pe&&(V=r[ue],oe=r[ue+1],ie=V,le=oe),de){case CMD$2.M:V=ie=r[ue++],oe=le=r[ue++],min2[0]=ie,min2[1]=le,max2[0]=ie,max2[1]=le;break;case CMD$2.L:fromLine(V,oe,r[ue],r[ue+1],min2,max2),V=r[ue++],oe=r[ue++];break;case CMD$2.C:fromCubic(V,oe,r[ue++],r[ue++],r[ue++],r[ue++],r[ue],r[ue+1],min2,max2),V=r[ue++],oe=r[ue++];break;case CMD$2.Q:fromQuadratic(V,oe,r[ue++],r[ue++],r[ue],r[ue+1],min2,max2),V=r[ue++],oe=r[ue++];break;case CMD$2.A:var he=r[ue++],_e=r[ue++],$e=r[ue++],Ie=r[ue++],Ve=r[ue++],Fe=r[ue++]+Ve;ue+=1;var Ue=!r[ue++];pe&&(ie=mathCos$2(Ve)*$e+he,le=mathSin$2(Ve)*Ie+_e),fromArc(he,_e,$e,Ie,Ve,Fe,Ue,min2,max2),V=mathCos$2(Fe)*$e+he,oe=mathSin$2(Fe)*Ie+_e;break;case CMD$2.R:ie=V=r[ue++],le=oe=r[ue++];var qe=r[ue++],Et=r[ue++];fromLine(ie,le,ie+qe,le+Et,min2,max2);break;case CMD$2.Z:V=ie,oe=le;break}min$1(min,min,min2),max$1(max,max,max2)}return ue===0&&(min[0]=min[1]=max[0]=max[1]=0),new BoundingRect$1(min[0],min[1],max[0]-min[0],max[1]-min[1])},t.prototype._calculateLength=function(){var r=this.data,V=this._len,oe=this._ux,ie=this._uy,le=0,ue=0,de=0,pe=0;this._pathSegLen||(this._pathSegLen=[]);for(var he=this._pathSegLen,_e=0,$e=0,Ie=0;Ie<V;){var Ve=r[Ie++],Fe=Ie===1;Fe&&(le=r[Ie],ue=r[Ie+1],de=le,pe=ue);var Ue=-1;switch(Ve){case CMD$2.M:le=de=r[Ie++],ue=pe=r[Ie++];break;case CMD$2.L:{var qe=r[Ie++],Et=r[Ie++],At=qe-le,Lt=Et-ue;(mathAbs$1(At)>oe||mathAbs$1(Lt)>ie||Ie===V-1)&&(Ue=Math.sqrt(At*At+Lt*Lt),le=qe,ue=Et);break}case CMD$2.C:{var hn=r[Ie++],_n=r[Ie++],qe=r[Ie++],Et=r[Ie++],vn=r[Ie++],bn=r[Ie++];Ue=cubicLength(le,ue,hn,_n,qe,Et,vn,bn,10),le=vn,ue=bn;break}case CMD$2.Q:{var hn=r[Ie++],_n=r[Ie++],qe=r[Ie++],Et=r[Ie++];Ue=quadraticLength(le,ue,hn,_n,qe,Et,10),le=qe,ue=Et;break}case CMD$2.A:var Cn=r[Ie++],Sn=r[Ie++],wn=r[Ie++],En=r[Ie++],xn=r[Ie++],Pn=r[Ie++],kn=Pn+xn;Ie+=1,r[Ie++],Fe&&(de=mathCos$2(xn)*wn+Cn,pe=mathSin$2(xn)*En+Sn),Ue=mathMax$6(wn,En)*mathMin$6(PI2$5,Math.abs(Pn)),le=mathCos$2(kn)*wn+Cn,ue=mathSin$2(kn)*En+Sn;break;case CMD$2.R:{de=le=r[Ie++],pe=ue=r[Ie++];var Nn=r[Ie++],Dn=r[Ie++];Ue=Nn*2+Dn*2;break}case CMD$2.Z:{var At=de-le,Lt=pe-ue;Ue=Math.sqrt(At*At+Lt*Lt),le=de,ue=pe;break}}Ue>=0&&(he[$e++]=Ue,_e+=Ue)}return this._pathLen=_e,_e},t.prototype.rebuildPath=function(r,V){var oe=this.data,ie=this._ux,le=this._uy,ue=this._len,de,pe,he,_e,$e,Ie,Ve=V<1,Fe,Ue,qe=0,Et=0,At,Lt=0,hn,_n;if(!(Ve&&(this._pathSegLen||this._calculateLength(),Fe=this._pathSegLen,Ue=this._pathLen,At=V*Ue,!At)))e:for(var vn=0;vn<ue;){var bn=oe[vn++],Cn=vn===1;switch(Cn&&(he=oe[vn],_e=oe[vn+1],de=he,pe=_e),bn!==CMD$2.L&&Lt>0&&(r.lineTo(hn,_n),Lt=0),bn){case CMD$2.M:de=he=oe[vn++],pe=_e=oe[vn++],r.moveTo(he,_e);break;case CMD$2.L:{$e=oe[vn++],Ie=oe[vn++];var Sn=mathAbs$1($e-he),wn=mathAbs$1(Ie-_e);if(Sn>ie||wn>le){if(Ve){var En=Fe[Et++];if(qe+En>At){var xn=(At-qe)/En;r.lineTo(he*(1-xn)+$e*xn,_e*(1-xn)+Ie*xn);break e}qe+=En}r.lineTo($e,Ie),he=$e,_e=Ie,Lt=0}else{var Pn=Sn*Sn+wn*wn;Pn>Lt&&(hn=$e,_n=Ie,Lt=Pn)}break}case CMD$2.C:{var kn=oe[vn++],Nn=oe[vn++],Dn=oe[vn++],Mn=oe[vn++],Ln=oe[vn++],An=oe[vn++];if(Ve){var En=Fe[Et++];if(qe+En>At){var xn=(At-qe)/En;cubicSubdivide(he,kn,Dn,Ln,xn,tmpOutX),cubicSubdivide(_e,Nn,Mn,An,xn,tmpOutY),r.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}qe+=En}r.bezierCurveTo(kn,Nn,Dn,Mn,Ln,An),he=Ln,_e=An;break}case CMD$2.Q:{var kn=oe[vn++],Nn=oe[vn++],Dn=oe[vn++],Mn=oe[vn++];if(Ve){var En=Fe[Et++];if(qe+En>At){var xn=(At-qe)/En;quadraticSubdivide(he,kn,Dn,xn,tmpOutX),quadraticSubdivide(_e,Nn,Mn,xn,tmpOutY),r.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}qe+=En}r.quadraticCurveTo(kn,Nn,Dn,Mn),he=Dn,_e=Mn;break}case CMD$2.A:var Vn=oe[vn++],Wn=oe[vn++],Fn=oe[vn++],Yn=oe[vn++],tr=oe[vn++],yr=oe[vn++],Jn=oe[vn++],Kn=!oe[vn++],Gn=Fn>Yn?Fn:Yn,Qn=mathAbs$1(Fn-Yn)>.001,ur=tr+yr,cr=!1;if(Ve){var En=Fe[Et++];qe+En>At&&(ur=tr+yr*(At-qe)/En,cr=!0),qe+=En}if(Qn&&r.ellipse?r.ellipse(Vn,Wn,Fn,Yn,Jn,tr,ur,Kn):r.arc(Vn,Wn,Gn,tr,ur,Kn),cr)break e;Cn&&(de=mathCos$2(tr)*Fn+Vn,pe=mathSin$2(tr)*Yn+Wn),he=mathCos$2(ur)*Fn+Vn,_e=mathSin$2(ur)*Yn+Wn;break;case CMD$2.R:de=he=oe[vn],pe=_e=oe[vn+1],$e=oe[vn++],Ie=oe[vn++];var Un=oe[vn++],qn=oe[vn++];if(Ve){var En=Fe[Et++];if(qe+En>At){var er=At-qe;r.moveTo($e,Ie),r.lineTo($e+mathMin$6(er,Un),Ie),er-=Un,er>0&&r.lineTo($e+Un,Ie+mathMin$6(er,qn)),er-=qn,er>0&&r.lineTo($e+mathMax$6(Un-er,0),Ie+qn),er-=Un,er>0&&r.lineTo($e,Ie+mathMax$6(qn-er,0));break e}qe+=En}r.rect($e,Ie,Un,qn);break;case CMD$2.Z:if(Ve){var En=Fe[Et++];if(qe+En>At){var xn=(At-qe)/En;r.lineTo(he*(1-xn)+de*xn,_e*(1-xn)+pe*xn);break e}qe+=En}r.closePath(),he=de,_e=pe}}},t.prototype.clone=function(){var r=new t,V=this.data;return r.data=V.slice?V.slice():Array.prototype.slice.call(V),r._len=this._len,r},t.CMD=CMD$2,t.initDefaultProps=function(){var r=t.prototype;r._saveData=!0,r._ux=0,r._uy=0,r._pendingPtDist=0,r._version=0}(),t}();const PathProxy$1=PathProxy;function containStroke$4(t,r,V,oe,ie,le,ue){if(ie===0)return!1;var de=ie,pe=0,he=t;if(ue>r+de&&ue>oe+de||ue<r-de&&ue<oe-de||le>t+de&&le>V+de||le<t-de&&le<V-de)return!1;if(t!==V)pe=(r-oe)/(t-V),he=(t*oe-V*r)/(t-V);else return Math.abs(le-t)<=de/2;var _e=pe*le-ue+he,$e=_e*_e/(pe*pe+1);return $e<=de/2*de/2}function containStroke$3(t,r,V,oe,ie,le,ue,de,pe,he,_e){if(pe===0)return!1;var $e=pe;if(_e>r+$e&&_e>oe+$e&&_e>le+$e&&_e>de+$e||_e<r-$e&&_e<oe-$e&&_e<le-$e&&_e<de-$e||he>t+$e&&he>V+$e&&he>ie+$e&&he>ue+$e||he<t-$e&&he<V-$e&&he<ie-$e&&he<ue-$e)return!1;var Ie=cubicProjectPoint(t,r,V,oe,ie,le,ue,de,he,_e,null);return Ie<=$e/2}function containStroke$2(t,r,V,oe,ie,le,ue,de,pe){if(ue===0)return!1;var he=ue;if(pe>r+he&&pe>oe+he&&pe>le+he||pe<r-he&&pe<oe-he&&pe<le-he||de>t+he&&de>V+he&&de>ie+he||de<t-he&&de<V-he&&de<ie-he)return!1;var _e=quadraticProjectPoint(t,r,V,oe,ie,le,de,pe,null);return _e<=he/2}var PI2$4=Math.PI*2;function normalizeRadian(t){return t%=PI2$4,t<0&&(t+=PI2$4),t}var PI2$3=Math.PI*2;function containStroke$1(t,r,V,oe,ie,le,ue,de,pe){if(ue===0)return!1;var he=ue;de-=t,pe-=r;var _e=Math.sqrt(de*de+pe*pe);if(_e-he>V||_e+he<V)return!1;if(Math.abs(oe-ie)%PI2$3<1e-4)return!0;if(le){var $e=oe;oe=normalizeRadian(ie),ie=normalizeRadian($e)}else oe=normalizeRadian(oe),ie=normalizeRadian(ie);oe>ie&&(ie+=PI2$3);var Ie=Math.atan2(pe,de);return Ie<0&&(Ie+=PI2$3),Ie>=oe&&Ie<=ie||Ie+PI2$3>=oe&&Ie+PI2$3<=ie}function windingLine(t,r,V,oe,ie,le){if(le>r&&le>oe||le<r&&le<oe||oe===r)return 0;var ue=(le-r)/(oe-r),de=oe<r?1:-1;(ue===1||ue===0)&&(de=oe<r?.5:-.5);var pe=ue*(V-t)+t;return pe===ie?1/0:pe>ie?de:0}var CMD$1=PathProxy$1.CMD,PI2$2=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(t,r){return Math.abs(t-r)<EPSILON$1}var roots=[-1,-1,-1],extrema=[-1,-1];function swapExtrema(){var t=extrema[0];extrema[0]=extrema[1],extrema[1]=t}function windingCubic(t,r,V,oe,ie,le,ue,de,pe,he){if(he>r&&he>oe&&he>le&&he>de||he<r&&he<oe&&he<le&&he<de)return 0;var _e=cubicRootAt(r,oe,le,de,he,roots);if(_e===0)return 0;for(var $e=0,Ie=-1,Ve=void 0,Fe=void 0,Ue=0;Ue<_e;Ue++){var qe=roots[Ue],Et=qe===0||qe===1?.5:1,At=cubicAt(t,V,ie,ue,qe);At<pe||(Ie<0&&(Ie=cubicExtrema(r,oe,le,de,extrema),extrema[1]<extrema[0]&&Ie>1&&swapExtrema(),Ve=cubicAt(r,oe,le,de,extrema[0]),Ie>1&&(Fe=cubicAt(r,oe,le,de,extrema[1]))),Ie===2?qe<extrema[0]?$e+=Ve<r?Et:-Et:qe<extrema[1]?$e+=Fe<Ve?Et:-Et:$e+=de<Fe?Et:-Et:qe<extrema[0]?$e+=Ve<r?Et:-Et:$e+=de<Ve?Et:-Et)}return $e}function windingQuadratic(t,r,V,oe,ie,le,ue,de){if(de>r&&de>oe&&de>le||de<r&&de<oe&&de<le)return 0;var pe=quadraticRootAt(r,oe,le,de,roots);if(pe===0)return 0;var he=quadraticExtremum(r,oe,le);if(he>=0&&he<=1){for(var _e=0,$e=quadraticAt(r,oe,le,he),Ie=0;Ie<pe;Ie++){var Ve=roots[Ie]===0||roots[Ie]===1?.5:1,Fe=quadraticAt(t,V,ie,roots[Ie]);Fe<ue||(roots[Ie]<he?_e+=$e<r?Ve:-Ve:_e+=le<$e?Ve:-Ve)}return _e}else{var Ve=roots[0]===0||roots[0]===1?.5:1,Fe=quadraticAt(t,V,ie,roots[0]);return Fe<ue?0:le<r?Ve:-Ve}}function windingArc(t,r,V,oe,ie,le,ue,de){if(de-=r,de>V||de<-V)return 0;var pe=Math.sqrt(V*V-de*de);roots[0]=-pe,roots[1]=pe;var he=Math.abs(oe-ie);if(he<1e-4)return 0;if(he>=PI2$2-1e-4){oe=0,ie=PI2$2;var _e=le?1:-1;return ue>=roots[0]+t&&ue<=roots[1]+t?_e:0}if(oe>ie){var $e=oe;oe=ie,ie=$e}oe<0&&(oe+=PI2$2,ie+=PI2$2);for(var Ie=0,Ve=0;Ve<2;Ve++){var Fe=roots[Ve];if(Fe+t>ue){var Ue=Math.atan2(de,Fe),_e=le?1:-1;Ue<0&&(Ue=PI2$2+Ue),(Ue>=oe&&Ue<=ie||Ue+PI2$2>=oe&&Ue+PI2$2<=ie)&&(Ue>Math.PI/2&&Ue<Math.PI*1.5&&(_e=-_e),Ie+=_e)}}return Ie}function containPath(t,r,V,oe,ie){for(var le=t.data,ue=t.len(),de=0,pe=0,he=0,_e=0,$e=0,Ie,Ve,Fe=0;Fe<ue;){var Ue=le[Fe++],qe=Fe===1;switch(Ue===CMD$1.M&&Fe>1&&(V||(de+=windingLine(pe,he,_e,$e,oe,ie))),qe&&(pe=le[Fe],he=le[Fe+1],_e=pe,$e=he),Ue){case CMD$1.M:_e=le[Fe++],$e=le[Fe++],pe=_e,he=$e;break;case CMD$1.L:if(V){if(containStroke$4(pe,he,le[Fe],le[Fe+1],r,oe,ie))return!0}else de+=windingLine(pe,he,le[Fe],le[Fe+1],oe,ie)||0;pe=le[Fe++],he=le[Fe++];break;case CMD$1.C:if(V){if(containStroke$3(pe,he,le[Fe++],le[Fe++],le[Fe++],le[Fe++],le[Fe],le[Fe+1],r,oe,ie))return!0}else de+=windingCubic(pe,he,le[Fe++],le[Fe++],le[Fe++],le[Fe++],le[Fe],le[Fe+1],oe,ie)||0;pe=le[Fe++],he=le[Fe++];break;case CMD$1.Q:if(V){if(containStroke$2(pe,he,le[Fe++],le[Fe++],le[Fe],le[Fe+1],r,oe,ie))return!0}else de+=windingQuadratic(pe,he,le[Fe++],le[Fe++],le[Fe],le[Fe+1],oe,ie)||0;pe=le[Fe++],he=le[Fe++];break;case CMD$1.A:var Et=le[Fe++],At=le[Fe++],Lt=le[Fe++],hn=le[Fe++],_n=le[Fe++],vn=le[Fe++];Fe+=1;var bn=!!(1-le[Fe++]);Ie=Math.cos(_n)*Lt+Et,Ve=Math.sin(_n)*hn+At,qe?(_e=Ie,$e=Ve):de+=windingLine(pe,he,Ie,Ve,oe,ie);var Cn=(oe-Et)*hn/Lt+Et;if(V){if(containStroke$1(Et,At,hn,_n,_n+vn,bn,r,Cn,ie))return!0}else de+=windingArc(Et,At,hn,_n,_n+vn,bn,Cn,ie);pe=Math.cos(_n+vn)*Lt+Et,he=Math.sin(_n+vn)*hn+At;break;case CMD$1.R:_e=pe=le[Fe++],$e=he=le[Fe++];var Sn=le[Fe++],wn=le[Fe++];if(Ie=_e+Sn,Ve=$e+wn,V){if(containStroke$4(_e,$e,Ie,$e,r,oe,ie)||containStroke$4(Ie,$e,Ie,Ve,r,oe,ie)||containStroke$4(Ie,Ve,_e,Ve,r,oe,ie)||containStroke$4(_e,Ve,_e,$e,r,oe,ie))return!0}else de+=windingLine(Ie,$e,Ie,Ve,oe,ie),de+=windingLine(_e,Ve,_e,$e,oe,ie);break;case CMD$1.Z:if(V){if(containStroke$4(pe,he,_e,$e,r,oe,ie))return!0}else de+=windingLine(pe,he,_e,$e,oe,ie);pe=_e,he=$e;break}}return!V&&!isAroundEqual$1(he,$e)&&(de+=windingLine(pe,he,_e,$e,oe,ie)||0),de!==0}function contain$2(t,r,V){return containPath(t,0,!1,r,V)}function containStroke(t,r,V,oe){return containPath(t,r,!0,V,oe)}var DEFAULT_PATH_STYLE=defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.update=function(){var V=this;t.prototype.update.call(this);var oe=this.style;if(oe.decal){var ie=this._decalEl=this._decalEl||new r;ie.buildPath===r.prototype.buildPath&&(ie.buildPath=function(pe){V.buildPath(pe,V.shape)}),ie.silent=!0;var le=ie.style;for(var ue in oe)le[ue]!==oe[ue]&&(le[ue]=oe[ue]);le.fill=oe.fill?oe.decal:null,le.decal=null,le.shadowColor=null,oe.strokeFirst&&(le.stroke=null);for(var de=0;de<pathCopyParams.length;++de)ie[pathCopyParams[de]]=this[pathCopyParams[de]];ie.__dirty|=REDRAW_BIT}else this._decalEl&&(this._decalEl=null)},r.prototype.getDecalElement=function(){return this._decalEl},r.prototype._init=function(V){var oe=keys(V);this.shape=this.getDefaultShape();var ie=this.getDefaultStyle();ie&&this.useStyle(ie);for(var le=0;le<oe.length;le++){var ue=oe[le],de=V[ue];ue==="style"?this.style?extend(this.style,de):this.useStyle(de):ue==="shape"?extend(this.shape,de):t.prototype.attrKV.call(this,ue,de)}this.style||this.useStyle({})},r.prototype.getDefaultStyle=function(){return null},r.prototype.getDefaultShape=function(){return{}},r.prototype.canBeInsideText=function(){return this.hasFill()},r.prototype.getInsideTextFill=function(){var V=this.style.fill;if(V!=="none"){if(isString(V)){var oe=lum(V,0);return oe>.5?DARK_LABEL_COLOR:oe>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(V)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},r.prototype.getInsideTextStroke=function(V){var oe=this.style.fill;if(isString(oe)){var ie=this.__zr,le=!!(ie&&ie.isDarkMode()),ue=lum(V,0)<DARK_MODE_THRESHOLD;if(le===ue)return oe}},r.prototype.buildPath=function(V,oe,ie){},r.prototype.pathUpdated=function(){this.__dirty&=~SHAPE_CHANGED_BIT},r.prototype.getUpdatedPathProxy=function(V){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,V),this.path},r.prototype.createPathProxy=function(){this.path=new PathProxy$1(!1)},r.prototype.hasStroke=function(){var V=this.style,oe=V.stroke;return!(oe==null||oe==="none"||!(V.lineWidth>0))},r.prototype.hasFill=function(){var V=this.style,oe=V.fill;return oe!=null&&oe!=="none"},r.prototype.getBoundingRect=function(){var V=this._rect,oe=this.style,ie=!V;if(ie){var le=!1;this.path||(le=!0,this.createPathProxy());var ue=this.path;(le||this.__dirty&SHAPE_CHANGED_BIT)&&(ue.beginPath(),this.buildPath(ue,this.shape,!1),this.pathUpdated()),V=ue.getBoundingRect()}if(this._rect=V,this.hasStroke()&&this.path&&this.path.len()>0){var de=this._rectStroke||(this._rectStroke=V.clone());if(this.__dirty||ie){de.copy(V);var pe=oe.strokeNoScale?this.getLineScale():1,he=oe.lineWidth;if(!this.hasFill()){var _e=this.strokeContainThreshold;he=Math.max(he,_e??4)}pe>1e-10&&(de.width+=he/pe,de.height+=he/pe,de.x-=he/pe/2,de.y-=he/pe/2)}return de}return V},r.prototype.contain=function(V,oe){var ie=this.transformCoordToLocal(V,oe),le=this.getBoundingRect(),ue=this.style;if(V=ie[0],oe=ie[1],le.contain(V,oe)){var de=this.path;if(this.hasStroke()){var pe=ue.lineWidth,he=ue.strokeNoScale?this.getLineScale():1;if(he>1e-10&&(this.hasFill()||(pe=Math.max(pe,this.strokeContainThreshold)),containStroke(de,pe/he,V,oe)))return!0}if(this.hasFill())return contain$2(de,V,oe)}return!1},r.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},r.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},r.prototype.animateShape=function(V){return this.animate("shape",V)},r.prototype.updateDuringAnimation=function(V){V==="style"?this.dirtyStyle():V==="shape"?this.dirtyShape():this.markRedraw()},r.prototype.attrKV=function(V,oe){V==="shape"?this.setShape(oe):t.prototype.attrKV.call(this,V,oe)},r.prototype.setShape=function(V,oe){var ie=this.shape;return ie||(ie=this.shape={}),typeof V=="string"?ie[V]=oe:extend(ie,V),this.dirtyShape(),this},r.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},r.prototype.createStyle=function(V){return createObject(DEFAULT_PATH_STYLE,V)},r.prototype._innerSaveToNormal=function(V){t.prototype._innerSaveToNormal.call(this,V);var oe=this._normalState;V.shape&&!oe.shape&&(oe.shape=extend({},this.shape))},r.prototype._applyStateObj=function(V,oe,ie,le,ue,de){t.prototype._applyStateObj.call(this,V,oe,ie,le,ue,de);var pe=!(oe&&le),he;if(oe&&oe.shape?ue?le?he=oe.shape:(he=extend({},ie.shape),extend(he,oe.shape)):(he=extend({},le?this.shape:ie.shape),extend(he,oe.shape)):pe&&(he=ie.shape),he)if(ue){this.shape=extend({},this.shape);for(var _e={},$e=keys(he),Ie=0;Ie<$e.length;Ie++){var Ve=$e[Ie];typeof he[Ve]=="object"?this.shape[Ve]=he[Ve]:_e[Ve]=he[Ve]}this._transitionState(V,{shape:_e},de)}else this.shape=he,this.dirtyShape()},r.prototype._mergeStates=function(V){for(var oe=t.prototype._mergeStates.call(this,V),ie,le=0;le<V.length;le++){var ue=V[le];ue.shape&&(ie=ie||{},this._mergeStyle(ie,ue.shape))}return ie&&(oe.shape=ie),oe},r.prototype.getAnimationStyleProps=function(){return DEFAULT_PATH_ANIMATION_PROPS},r.prototype.isZeroArea=function(){return!1},r.extend=function(V){var oe=function(le){__extends(ue,le);function ue(de){var pe=le.call(this,de)||this;return V.init&&V.init.call(pe,de),pe}return ue.prototype.getDefaultStyle=function(){return clone$3(V.style)},ue.prototype.getDefaultShape=function(){return clone$3(V.shape)},ue}(r);for(var ie in V)typeof V[ie]=="function"&&(oe.prototype[ie]=V[ie]);return oe},r.initDefaultProps=function(){var V=r.prototype;V.type="path",V.strokeContainThreshold=5,V.segmentIgnoreThreshold=0,V.subPixelOptimize=!1,V.autoBatch=!1,V.__dirty=REDRAW_BIT|STYLE_CHANGED_BIT|SHAPE_CHANGED_BIT}(),r}(Displayable$1);const Path$1=Path;var DEFAULT_TSPAN_STYLE=defaults({strokeFirst:!0,font:DEFAULT_FONT,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},DEFAULT_PATH_STYLE),TSpan=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.hasStroke=function(){var V=this.style,oe=V.stroke;return oe!=null&&oe!=="none"&&V.lineWidth>0},r.prototype.hasFill=function(){var V=this.style,oe=V.fill;return oe!=null&&oe!=="none"},r.prototype.createStyle=function(V){return createObject(DEFAULT_TSPAN_STYLE,V)},r.prototype.setBoundingRect=function(V){this._rect=V},r.prototype.getBoundingRect=function(){var V=this.style;if(!this._rect){var oe=V.text;oe!=null?oe+="":oe="";var ie=getBoundingRect(oe,V.font,V.textAlign,V.textBaseline);if(ie.x+=V.x||0,ie.y+=V.y||0,this.hasStroke()){var le=V.lineWidth;ie.x-=le/2,ie.y-=le/2,ie.width+=le,ie.height+=le}this._rect=ie}return this._rect},r.initDefaultProps=function(){var V=r.prototype;V.dirtyRectTolerance=10}(),r}(Displayable$1);TSpan.prototype.type="tspan";const TSpan$1=TSpan;var DEFAULT_IMAGE_STYLE=defaults({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var ZRImage=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.createStyle=function(V){return createObject(DEFAULT_IMAGE_STYLE,V)},r.prototype._getSize=function(V){var oe=this.style,ie=oe[V];if(ie!=null)return ie;var le=isImageLike(oe.image)?oe.image:this.__image;if(!le)return 0;var ue=V==="width"?"height":"width",de=oe[ue];return de==null?le[V]:le[V]/le[ue]*de},r.prototype.getWidth=function(){return this._getSize("width")},r.prototype.getHeight=function(){return this._getSize("height")},r.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},r.prototype.getBoundingRect=function(){var V=this.style;return this._rect||(this._rect=new BoundingRect$1(V.x||0,V.y||0,this.getWidth(),this.getHeight())),this._rect},r}(Displayable$1);ZRImage.prototype.type="image";const ZRImage$1=ZRImage;function buildPath$2(t,r){var V=r.x,oe=r.y,ie=r.width,le=r.height,ue=r.r,de,pe,he,_e;ie<0&&(V=V+ie,ie=-ie),le<0&&(oe=oe+le,le=-le),typeof ue=="number"?de=pe=he=_e=ue:ue instanceof Array?ue.length===1?de=pe=he=_e=ue[0]:ue.length===2?(de=he=ue[0],pe=_e=ue[1]):ue.length===3?(de=ue[0],pe=_e=ue[1],he=ue[2]):(de=ue[0],pe=ue[1],he=ue[2],_e=ue[3]):de=pe=he=_e=0;var $e;de+pe>ie&&($e=de+pe,de*=ie/$e,pe*=ie/$e),he+_e>ie&&($e=he+_e,he*=ie/$e,_e*=ie/$e),pe+he>le&&($e=pe+he,pe*=le/$e,he*=le/$e),de+_e>le&&($e=de+_e,de*=le/$e,_e*=le/$e),t.moveTo(V+de,oe),t.lineTo(V+ie-pe,oe),pe!==0&&t.arc(V+ie-pe,oe+pe,pe,-Math.PI/2,0),t.lineTo(V+ie,oe+le-he),he!==0&&t.arc(V+ie-he,oe+le-he,he,0,Math.PI/2),t.lineTo(V+_e,oe+le),_e!==0&&t.arc(V+_e,oe+le-_e,_e,Math.PI/2,Math.PI),t.lineTo(V,oe+de),de!==0&&t.arc(V+de,oe+de,de,Math.PI,Math.PI*1.5)}var round=Math.round;function subPixelOptimizeLine$1(t,r,V){if(r){var oe=r.x1,ie=r.x2,le=r.y1,ue=r.y2;t.x1=oe,t.x2=ie,t.y1=le,t.y2=ue;var de=V&&V.lineWidth;return de&&(round(oe*2)===round(ie*2)&&(t.x1=t.x2=subPixelOptimize$1(oe,de,!0)),round(le*2)===round(ue*2)&&(t.y1=t.y2=subPixelOptimize$1(le,de,!0))),t}}function subPixelOptimizeRect$1(t,r,V){if(r){var oe=r.x,ie=r.y,le=r.width,ue=r.height;t.x=oe,t.y=ie,t.width=le,t.height=ue;var de=V&&V.lineWidth;return de&&(t.x=subPixelOptimize$1(oe,de,!0),t.y=subPixelOptimize$1(ie,de,!0),t.width=Math.max(subPixelOptimize$1(oe+le,de,!1)-t.x,le===0?0:1),t.height=Math.max(subPixelOptimize$1(ie+ue,de,!1)-t.y,ue===0?0:1)),t}}function subPixelOptimize$1(t,r,V){if(!r)return t;var oe=round(t*2);return(oe+round(r))%2===0?oe/2:(oe+(V?1:-1))/2}var RectShape=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),subPixelOptimizeOutputShape$1={},Rect$1=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultShape=function(){return new RectShape},r.prototype.buildPath=function(V,oe){var ie,le,ue,de;if(this.subPixelOptimize){var pe=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,oe,this.style);ie=pe.x,le=pe.y,ue=pe.width,de=pe.height,pe.r=oe.r,oe=pe}else ie=oe.x,le=oe.y,ue=oe.width,de=oe.height;oe.r?buildPath$2(V,oe):V.rect(ie,le,ue,de)},r.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},r}(Path$1);Rect$1.prototype.type="rect";const Rect$2=Rect$1;var DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(t){__extends(r,t);function r(V){var oe=t.call(this)||this;return oe.type="text",oe._children=[],oe._defaultStyle=DEFAULT_RICH_TEXT_COLOR,oe.attr(V),oe}return r.prototype.childrenRef=function(){return this._children},r.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var V=0;V<this._children.length;V++){var oe=this._children[V];oe.zlevel=this.zlevel,oe.z=this.z,oe.z2=this.z2,oe.culling=this.culling,oe.cursor=this.cursor,oe.invisible=this.invisible}},r.prototype.updateTransform=function(){var V=this.innerTransformable;V?(V.updateTransform(),V.transform&&(this.transform=V.transform)):t.prototype.updateTransform.call(this)},r.prototype.getLocalTransform=function(V){var oe=this.innerTransformable;return oe?oe.getLocalTransform(V):t.prototype.getLocalTransform.call(this,V)},r.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},r.prototype._updateSubTexts=function(){this._childCursor=0,normalizeTextStyle(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},r.prototype.addSelfToZr=function(V){t.prototype.addSelfToZr.call(this,V);for(var oe=0;oe<this._children.length;oe++)this._children[oe].__zr=V},r.prototype.removeSelfFromZr=function(V){t.prototype.removeSelfFromZr.call(this,V);for(var oe=0;oe<this._children.length;oe++)this._children[oe].__zr=null},r.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var V=new BoundingRect$1(0,0,0,0),oe=this._children,ie=[],le=null,ue=0;ue<oe.length;ue++){var de=oe[ue],pe=de.getBoundingRect(),he=de.getLocalTransform(ie);he?(V.copy(pe),V.applyTransform(he),le=le||V.clone(),le.union(V)):(le=le||pe.clone(),le.union(pe))}this._rect=le||V}return this._rect},r.prototype.setDefaultTextStyle=function(V){this._defaultStyle=V||DEFAULT_RICH_TEXT_COLOR},r.prototype.setTextContent=function(V){},r.prototype._mergeStyle=function(V,oe){if(!oe)return V;var ie=oe.rich,le=V.rich||ie&&{};return extend(V,oe),ie&&le?(this._mergeRich(le,ie),V.rich=le):le&&(V.rich=le),V},r.prototype._mergeRich=function(V,oe){for(var ie=keys(oe),le=0;le<ie.length;le++){var ue=ie[le];V[ue]=V[ue]||{},extend(V[ue],oe[ue])}},r.prototype.getAnimationStyleProps=function(){return DEFAULT_TEXT_ANIMATION_PROPS},r.prototype._getOrCreateChild=function(V){var oe=this._children[this._childCursor];return(!oe||!(oe instanceof V))&&(oe=new V),this._children[this._childCursor++]=oe,oe.__zr=this.__zr,oe.parent=this,oe},r.prototype._updatePlainTexts=function(){var V=this.style,oe=V.font||DEFAULT_FONT,ie=V.padding,le=getStyleText(V),ue=parsePlainText(le,V),de=needDrawBackground(V),pe=!!V.backgroundColor,he=ue.outerHeight,_e=ue.outerWidth,$e=ue.contentWidth,Ie=ue.lines,Ve=ue.lineHeight,Fe=this._defaultStyle,Ue=V.x||0,qe=V.y||0,Et=V.align||Fe.align||"left",At=V.verticalAlign||Fe.verticalAlign||"top",Lt=Ue,hn=adjustTextY(qe,ue.contentHeight,At);if(de||ie){var _n=adjustTextX(Ue,_e,Et),vn=adjustTextY(qe,he,At);de&&this._renderBackground(V,V,_n,vn,_e,he)}hn+=Ve/2,ie&&(Lt=getTextXForPadding(Ue,Et,ie),At==="top"?hn+=ie[0]:At==="bottom"&&(hn-=ie[2]));for(var bn=0,Cn=!1,Sn=getFill("fill"in V?V.fill:(Cn=!0,Fe.fill)),wn=getStroke("stroke"in V?V.stroke:!pe&&(!Fe.autoStroke||Cn)?(bn=DEFAULT_STROKE_LINE_WIDTH,Fe.stroke):null),En=V.textShadowBlur>0,xn=V.width!=null&&(V.overflow==="truncate"||V.overflow==="break"||V.overflow==="breakAll"),Pn=ue.calculatedLineHeight,kn=0;kn<Ie.length;kn++){var Nn=this._getOrCreateChild(TSpan$1),Dn=Nn.createStyle();Nn.useStyle(Dn),Dn.text=Ie[kn],Dn.x=Lt,Dn.y=hn,Et&&(Dn.textAlign=Et),Dn.textBaseline="middle",Dn.opacity=V.opacity,Dn.strokeFirst=!0,En&&(Dn.shadowBlur=V.textShadowBlur||0,Dn.shadowColor=V.textShadowColor||"transparent",Dn.shadowOffsetX=V.textShadowOffsetX||0,Dn.shadowOffsetY=V.textShadowOffsetY||0),Dn.stroke=wn,Dn.fill=Sn,wn&&(Dn.lineWidth=V.lineWidth||bn,Dn.lineDash=V.lineDash,Dn.lineDashOffset=V.lineDashOffset||0),Dn.font=oe,setSeparateFont(Dn,V),hn+=Ve,xn&&Nn.setBoundingRect(new BoundingRect$1(adjustTextX(Dn.x,V.width,Dn.textAlign),adjustTextY(Dn.y,Pn,Dn.textBaseline),$e,Pn))}},r.prototype._updateRichTexts=function(){var V=this.style,oe=getStyleText(V),ie=parseRichText(oe,V),le=ie.width,ue=ie.outerWidth,de=ie.outerHeight,pe=V.padding,he=V.x||0,_e=V.y||0,$e=this._defaultStyle,Ie=V.align||$e.align,Ve=V.verticalAlign||$e.verticalAlign,Fe=adjustTextX(he,ue,Ie),Ue=adjustTextY(_e,de,Ve),qe=Fe,Et=Ue;pe&&(qe+=pe[3],Et+=pe[0]);var At=qe+le;needDrawBackground(V)&&this._renderBackground(V,V,Fe,Ue,ue,de);for(var Lt=!!V.backgroundColor,hn=0;hn<ie.lines.length;hn++){for(var _n=ie.lines[hn],vn=_n.tokens,bn=vn.length,Cn=_n.lineHeight,Sn=_n.width,wn=0,En=qe,xn=At,Pn=bn-1,kn=void 0;wn<bn&&(kn=vn[wn],!kn.align||kn.align==="left");)this._placeToken(kn,V,Cn,Et,En,"left",Lt),Sn-=kn.width,En+=kn.width,wn++;for(;Pn>=0&&(kn=vn[Pn],kn.align==="right");)this._placeToken(kn,V,Cn,Et,xn,"right",Lt),Sn-=kn.width,xn-=kn.width,Pn--;for(En+=(le-(En-qe)-(At-xn)-Sn)/2;wn<=Pn;)kn=vn[wn],this._placeToken(kn,V,Cn,Et,En+kn.width/2,"center",Lt),En+=kn.width,wn++;Et+=Cn}},r.prototype._placeToken=function(V,oe,ie,le,ue,de,pe){var he=oe.rich[V.styleName]||{};he.text=V.text;var _e=V.verticalAlign,$e=le+ie/2;_e==="top"?$e=le+V.height/2:_e==="bottom"&&($e=le+ie-V.height/2);var Ie=!V.isLineHolder&&needDrawBackground(he);Ie&&this._renderBackground(he,oe,de==="right"?ue-V.width:de==="center"?ue-V.width/2:ue,$e-V.height/2,V.width,V.height);var Ve=!!he.backgroundColor,Fe=V.textPadding;Fe&&(ue=getTextXForPadding(ue,de,Fe),$e-=V.height/2-Fe[0]-V.innerHeight/2);var Ue=this._getOrCreateChild(TSpan$1),qe=Ue.createStyle();Ue.useStyle(qe);var Et=this._defaultStyle,At=!1,Lt=0,hn=getFill("fill"in he?he.fill:"fill"in oe?oe.fill:(At=!0,Et.fill)),_n=getStroke("stroke"in he?he.stroke:"stroke"in oe?oe.stroke:!Ve&&!pe&&(!Et.autoStroke||At)?(Lt=DEFAULT_STROKE_LINE_WIDTH,Et.stroke):null),vn=he.textShadowBlur>0||oe.textShadowBlur>0;qe.text=V.text,qe.x=ue,qe.y=$e,vn&&(qe.shadowBlur=he.textShadowBlur||oe.textShadowBlur||0,qe.shadowColor=he.textShadowColor||oe.textShadowColor||"transparent",qe.shadowOffsetX=he.textShadowOffsetX||oe.textShadowOffsetX||0,qe.shadowOffsetY=he.textShadowOffsetY||oe.textShadowOffsetY||0),qe.textAlign=de,qe.textBaseline="middle",qe.font=V.font||DEFAULT_FONT,qe.opacity=retrieve3(he.opacity,oe.opacity,1),setSeparateFont(qe,he),_n&&(qe.lineWidth=retrieve3(he.lineWidth,oe.lineWidth,Lt),qe.lineDash=retrieve2(he.lineDash,oe.lineDash),qe.lineDashOffset=oe.lineDashOffset||0,qe.stroke=_n),hn&&(qe.fill=hn);var bn=V.contentWidth,Cn=V.contentHeight;Ue.setBoundingRect(new BoundingRect$1(adjustTextX(qe.x,bn,qe.textAlign),adjustTextY(qe.y,Cn,qe.textBaseline),bn,Cn))},r.prototype._renderBackground=function(V,oe,ie,le,ue,de){var pe=V.backgroundColor,he=V.borderWidth,_e=V.borderColor,$e=pe&&pe.image,Ie=pe&&!$e,Ve=V.borderRadius,Fe=this,Ue,qe;if(Ie||V.lineHeight||he&&_e){Ue=this._getOrCreateChild(Rect$2),Ue.useStyle(Ue.createStyle()),Ue.style.fill=null;var Et=Ue.shape;Et.x=ie,Et.y=le,Et.width=ue,Et.height=de,Et.r=Ve,Ue.dirtyShape()}if(Ie){var At=Ue.style;At.fill=pe||null,At.fillOpacity=retrieve2(V.fillOpacity,1)}else if($e){qe=this._getOrCreateChild(ZRImage$1),qe.onload=function(){Fe.dirtyStyle()};var Lt=qe.style;Lt.image=pe.image,Lt.x=ie,Lt.y=le,Lt.width=ue,Lt.height=de}if(he&&_e){var At=Ue.style;At.lineWidth=he,At.stroke=_e,At.strokeOpacity=retrieve2(V.strokeOpacity,1),At.lineDash=V.borderDash,At.lineDashOffset=V.borderDashOffset||0,Ue.strokeContainThreshold=0,Ue.hasFill()&&Ue.hasStroke()&&(At.strokeFirst=!0,At.lineWidth*=2)}var hn=(Ue||qe).style;hn.shadowBlur=V.shadowBlur||0,hn.shadowColor=V.shadowColor||"transparent",hn.shadowOffsetX=V.shadowOffsetX||0,hn.shadowOffsetY=V.shadowOffsetY||0,hn.opacity=retrieve3(V.opacity,oe.opacity,1)},r.makeFont=function(V){var oe="";return hasSeparateFont(V)&&(oe=[V.fontStyle,V.fontWeight,parseFontSize(V.fontSize),V.fontFamily||"sans-serif"].join(" ")),oe&&trim$1(oe)||V.textFont||V.font},r}(Displayable$1),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?DEFAULT_FONT_SIZE+"px":t+"px"}function setSeparateFont(t,r){for(var V=0;V<FONT_PARTS.length;V++){var oe=FONT_PARTS[V],ie=r[oe];ie!=null&&(t[oe]=ie)}}function hasSeparateFont(t){return t.fontSize!=null||t.fontFamily||t.fontWeight}function normalizeTextStyle(t){return normalizeStyle(t),each$c(t.rich,normalizeStyle),t}function normalizeStyle(t){if(t){t.font=ZRText.makeFont(t);var r=t.align;r==="middle"&&(r="center"),t.align=r==null||VALID_TEXT_ALIGN[r]?r:"left";var V=t.verticalAlign;V==="center"&&(V="middle"),t.verticalAlign=V==null||VALID_TEXT_VERTICAL_ALIGN[V]?V:"top";var oe=t.padding;oe&&(t.padding=normalizeCssArray$1(t.padding))}}function getStroke(t,r){return t==null||r<=0||t==="transparent"||t==="none"?null:t.image||t.colorStops?"#000":t}function getFill(t){return t==null||t==="none"?null:t.image||t.colorStops?"#000":t}function getTextXForPadding(t,r,V){return r==="right"?t-V[1]:r==="center"?t+V[3]/2-V[1]/2:t+V[3]}function getStyleText(t){var r=t.text;return r!=null&&(r+=""),r}function needDrawBackground(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const ZRText$1=ZRText;var getECData=makeInner(),setCommonECData=function(t,r,V,oe){if(oe){var ie=getECData(oe);ie.dataIndex=V,ie.dataType=r,ie.seriesIndex=t,oe.type==="group"&&oe.traverse(function(le){var ue=getECData(le);ue.seriesIndex=t,ue.dataIndex=V,ue.dataType=r})}},_highlightNextDigit=1,_highlightKeyMap={},getSavedStates=makeInner(),getComponentStates=makeInner(),HOVER_STATE_NORMAL=0,HOVER_STATE_BLUR=1,HOVER_STATE_EMPHASIS=2,SPECIAL_STATES=["emphasis","blur","select"],DISPLAY_STATES=["normal","emphasis","blur","select"],Z2_EMPHASIS_LIFT=10,Z2_SELECT_LIFT=9,HIGHLIGHT_ACTION_TYPE="highlight",DOWNPLAY_ACTION_TYPE="downplay",SELECT_ACTION_TYPE="select",UNSELECT_ACTION_TYPE="unselect",TOGGLE_SELECT_ACTION_TYPE="toggleSelect";function hasFillOrStroke(t){return t!=null&&t!=="none"}var liftedColorCache=new LRU$1(100);function liftColor(t){if(isString(t)){var r=liftedColorCache.get(t);return r||(r=lift(t,-.1),liftedColorCache.put(t,r)),r}else if(isGradientObject(t)){var V=extend({},t);return V.colorStops=map$2(t.colorStops,function(oe){return{offset:oe.offset,color:lift(oe.color,-.1)}}),V}return t}function doChangeHoverState(t,r,V){t.onHoverStateChange&&(t.hoverState||0)!==V&&t.onHoverStateChange(r),t.hoverState=V}function singleEnterEmphasis(t){doChangeHoverState(t,"emphasis",HOVER_STATE_EMPHASIS)}function singleLeaveEmphasis(t){t.hoverState===HOVER_STATE_EMPHASIS&&doChangeHoverState(t,"normal",HOVER_STATE_NORMAL)}function singleEnterBlur(t){doChangeHoverState(t,"blur",HOVER_STATE_BLUR)}function singleLeaveBlur(t){t.hoverState===HOVER_STATE_BLUR&&doChangeHoverState(t,"normal",HOVER_STATE_NORMAL)}function singleEnterSelect(t){t.selected=!0}function singleLeaveSelect(t){t.selected=!1}function updateElementState(t,r,V){r(t,V)}function traverseUpdateState(t,r,V){updateElementState(t,r,V),t.isGroup&&t.traverse(function(oe){updateElementState(oe,r,V)})}function setStatesFlag(t,r){switch(r){case"emphasis":t.hoverState=HOVER_STATE_EMPHASIS;break;case"normal":t.hoverState=HOVER_STATE_NORMAL;break;case"blur":t.hoverState=HOVER_STATE_BLUR;break;case"select":t.selected=!0}}function getFromStateStyle(t,r,V,oe){for(var ie=t.style,le={},ue=0;ue<r.length;ue++){var de=r[ue],pe=ie[de];le[de]=pe??(oe&&oe[de])}for(var ue=0;ue<t.animators.length;ue++){var he=t.animators[ue];he.__fromStateTransition&&he.__fromStateTransition.indexOf(V)<0&&he.targetName==="style"&&he.saveTo(le,r)}return le}function createEmphasisDefaultState(t,r,V,oe){var ie=V&&indexOf(V,"select")>=0,le=!1;if(t instanceof Path$1){var ue=getSavedStates(t),de=ie&&ue.selectFill||ue.normalFill,pe=ie&&ue.selectStroke||ue.normalStroke;if(hasFillOrStroke(de)||hasFillOrStroke(pe)){oe=oe||{};var he=oe.style||{};he.fill==="inherit"?(le=!0,oe=extend({},oe),he=extend({},he),he.fill=de):!hasFillOrStroke(he.fill)&&hasFillOrStroke(de)?(le=!0,oe=extend({},oe),he=extend({},he),he.fill=liftColor(de)):!hasFillOrStroke(he.stroke)&&hasFillOrStroke(pe)&&(le||(oe=extend({},oe),he=extend({},he)),he.stroke=liftColor(pe)),oe.style=he}}if(oe&&oe.z2==null){le||(oe=extend({},oe));var _e=t.z2EmphasisLift;oe.z2=t.z2+(_e??Z2_EMPHASIS_LIFT)}return oe}function createSelectDefaultState(t,r,V){if(V&&V.z2==null){V=extend({},V);var oe=t.z2SelectLift;V.z2=t.z2+(oe??Z2_SELECT_LIFT)}return V}function createBlurDefaultState(t,r,V){var oe=indexOf(t.currentStates,r)>=0,ie=t.style.opacity,le=oe?null:getFromStateStyle(t,["opacity"],r,{opacity:1});V=V||{};var ue=V.style||{};return ue.opacity==null&&(V=extend({},V),ue=extend({opacity:oe?ie:le.opacity*.1},ue),V.style=ue),V}function elementStateProxy(t,r){var V=this.states[t];if(this.style){if(t==="emphasis")return createEmphasisDefaultState(this,t,r,V);if(t==="blur")return createBlurDefaultState(this,t,V);if(t==="select")return createSelectDefaultState(this,t,V)}return V}function setDefaultStateProxy(t){t.stateProxy=elementStateProxy;var r=t.getTextContent(),V=t.getTextGuideLine();r&&(r.stateProxy=elementStateProxy),V&&(V.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(t,r){!shouldSilent(t,r)&&!t.__highByOuter&&traverseUpdateState(t,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(t,r){!shouldSilent(t,r)&&!t.__highByOuter&&traverseUpdateState(t,singleLeaveEmphasis)}function enterEmphasis(t,r){t.__highByOuter|=1<<(r||0),traverseUpdateState(t,singleEnterEmphasis)}function leaveEmphasis(t,r){!(t.__highByOuter&=~(1<<(r||0)))&&traverseUpdateState(t,singleLeaveEmphasis)}function enterBlur(t){traverseUpdateState(t,singleEnterBlur)}function leaveBlur(t){traverseUpdateState(t,singleLeaveBlur)}function enterSelect(t){traverseUpdateState(t,singleEnterSelect)}function leaveSelect(t){traverseUpdateState(t,singleLeaveSelect)}function shouldSilent(t,r){return t.__highDownSilentOnTouch&&r.zrByTouch}function allLeaveBlur(t){var r=t.getModel(),V=[],oe=[];r.eachComponent(function(ie,le){var ue=getComponentStates(le),de=ie==="series",pe=de?t.getViewOfSeriesModel(le):t.getViewOfComponentModel(le);!de&&oe.push(pe),ue.isBlured&&(pe.group.traverse(function(he){singleLeaveBlur(he)}),de&&V.push(le)),ue.isBlured=!1}),each$c(oe,function(ie){ie&&ie.toggleBlurSeries&&ie.toggleBlurSeries(V,!1,r)})}function blurSeries(t,r,V,oe){var ie=oe.getModel();V=V||"coordinateSystem";function le(he,_e){for(var $e=0;$e<_e.length;$e++){var Ie=he.getItemGraphicEl(_e[$e]);Ie&&leaveBlur(Ie)}}if(t!=null&&!(!r||r==="none")){var ue=ie.getSeriesByIndex(t),de=ue.coordinateSystem;de&&de.master&&(de=de.master);var pe=[];ie.eachSeries(function(he){var _e=ue===he,$e=he.coordinateSystem;$e&&$e.master&&($e=$e.master);var Ie=$e&&de?$e===de:_e;if(!(V==="series"&&!_e||V==="coordinateSystem"&&!Ie||r==="series"&&_e)){var Ve=oe.getViewOfSeriesModel(he);if(Ve.group.traverse(function(qe){qe.__highByOuter&&_e&&r==="self"||singleEnterBlur(qe)}),isArrayLike(r))le(he.getData(),r);else if(isObject$3(r))for(var Fe=keys(r),Ue=0;Ue<Fe.length;Ue++)le(he.getData(Fe[Ue]),r[Fe[Ue]]);pe.push(he),getComponentStates(he).isBlured=!0}}),ie.eachComponent(function(he,_e){if(he!=="series"){var $e=oe.getViewOfComponentModel(_e);$e&&$e.toggleBlurSeries&&$e.toggleBlurSeries(pe,!0,ie)}})}}function blurComponent(t,r,V){if(!(t==null||r==null)){var oe=V.getModel().getComponent(t,r);if(oe){getComponentStates(oe).isBlured=!0;var ie=V.getViewOfComponentModel(oe);!ie||!ie.focusBlurEnabled||ie.group.traverse(function(le){singleEnterBlur(le)})}}}function blurSeriesFromHighlightPayload(t,r,V){var oe=t.seriesIndex,ie=t.getData(r.dataType);if(ie){var le=queryDataIndex(ie,r);le=(isArray$1(le)?le[0]:le)||0;var ue=ie.getItemGraphicEl(le);if(!ue)for(var de=ie.count(),pe=0;!ue&&pe<de;)ue=ie.getItemGraphicEl(pe++);if(ue){var he=getECData(ue);blurSeries(oe,he.focus,he.blurScope,V)}else{var _e=t.get(["emphasis","focus"]),$e=t.get(["emphasis","blurScope"]);_e!=null&&blurSeries(oe,_e,$e,V)}}}function findComponentHighDownDispatchers(t,r,V,oe){var ie={focusSelf:!1,dispatchers:null};if(t==null||t==="series"||r==null||V==null)return ie;var le=oe.getModel().getComponent(t,r);if(!le)return ie;var ue=oe.getViewOfComponentModel(le);if(!ue||!ue.findHighDownDispatchers)return ie;for(var de=ue.findHighDownDispatchers(V),pe,he=0;he<de.length;he++)if(getECData(de[he]).focus==="self"){pe=!0;break}return{focusSelf:pe,dispatchers:de}}function handleGlobalMouseOverForHighDown(t,r,V){var oe=getECData(t),ie=findComponentHighDownDispatchers(oe.componentMainType,oe.componentIndex,oe.componentHighDownName,V),le=ie.dispatchers,ue=ie.focusSelf;le?(ue&&blurComponent(oe.componentMainType,oe.componentIndex,V),each$c(le,function(de){return enterEmphasisWhenMouseOver(de,r)})):(blurSeries(oe.seriesIndex,oe.focus,oe.blurScope,V),oe.focus==="self"&&blurComponent(oe.componentMainType,oe.componentIndex,V),enterEmphasisWhenMouseOver(t,r))}function handleGlobalMouseOutForHighDown(t,r,V){allLeaveBlur(V);var oe=getECData(t),ie=findComponentHighDownDispatchers(oe.componentMainType,oe.componentIndex,oe.componentHighDownName,V).dispatchers;ie?each$c(ie,function(le){return leaveEmphasisWhenMouseOut(le,r)}):leaveEmphasisWhenMouseOut(t,r)}function toggleSelectionFromPayload(t,r,V){if(isSelectChangePayload(r)){var oe=r.dataType,ie=t.getData(oe),le=queryDataIndex(ie,r);isArray$1(le)||(le=[le]),t[r.type===TOGGLE_SELECT_ACTION_TYPE?"toggleSelect":r.type===SELECT_ACTION_TYPE?"select":"unselect"](le,oe)}}function updateSeriesElementSelection(t){var r=t.getAllData();each$c(r,function(V){var oe=V.data,ie=V.type;oe.eachItemGraphicEl(function(le,ue){t.isSelected(ue,ie)?enterSelect(le):leaveSelect(le)})})}function getAllSelectedIndices(t){var r=[];return t.eachSeries(function(V){var oe=V.getAllData();each$c(oe,function(ie){ie.data;var le=ie.type,ue=V.getSelectedDataIndices();if(ue.length>0){var de={dataIndex:ue,seriesIndex:V.seriesIndex};le!=null&&(de.dataType=le),r.push(de)}})}),r}function enableHoverEmphasis(t,r,V){setAsHighDownDispatcher(t,!0),traverseUpdateState(t,setDefaultStateProxy),enableHoverFocus(t,r,V)}function disableHoverEmphasis(t){setAsHighDownDispatcher(t,!1)}function toggleHoverEmphasis(t,r,V,oe){oe?disableHoverEmphasis(t):enableHoverEmphasis(t,r,V)}function enableHoverFocus(t,r,V){var oe=getECData(t);r!=null?(oe.focus=r,oe.blurScope=V):oe.focus&&(oe.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(t,r,V,oe){V=V||"itemStyle";for(var ie=0;ie<OTHER_STATES.length;ie++){var le=OTHER_STATES[ie],ue=r.getModel([le,V]),de=t.ensureState(le);de.style=oe?oe(ue):ue[defaultStyleGetterMap[V]]()}}function setAsHighDownDispatcher(t,r){var V=r===!1,oe=t;t.highDownSilentOnTouch&&(oe.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!V||oe.__highDownDispatcher)&&(oe.__highByOuter=oe.__highByOuter||0,oe.__highDownDispatcher=!V)}function isHighDownDispatcher(t){return!!(t&&t.__highDownDispatcher)}function getHighlightDigit(t){var r=_highlightKeyMap[t];return r==null&&_highlightNextDigit<=32&&(r=_highlightKeyMap[t]=_highlightNextDigit++),r}function isSelectChangePayload(t){var r=t.type;return r===SELECT_ACTION_TYPE||r===UNSELECT_ACTION_TYPE||r===TOGGLE_SELECT_ACTION_TYPE}function isHighDownPayload(t){var r=t.type;return r===HIGHLIGHT_ACTION_TYPE||r===DOWNPLAY_ACTION_TYPE}function savePathStates(t){var r=getSavedStates(t);r.normalFill=t.style.fill,r.normalStroke=t.style.stroke;var V=t.states.select||{};r.selectFill=V.style&&V.style.fill||null,r.selectStroke=V.style&&V.style.stroke||null}var CMD=PathProxy$1.CMD,points=[[],[],[]],mathSqrt$2=Math.sqrt,mathAtan2=Math.atan2;function transformPath(t,r){if(r){var V=t.data,oe=t.len(),ie,le,ue,de,pe,he,_e=CMD.M,$e=CMD.C,Ie=CMD.L,Ve=CMD.R,Fe=CMD.A,Ue=CMD.Q;for(ue=0,de=0;ue<oe;){switch(ie=V[ue++],de=ue,le=0,ie){case _e:le=1;break;case Ie:le=1;break;case $e:le=3;break;case Ue:le=2;break;case Fe:var qe=r[4],Et=r[5],At=mathSqrt$2(r[0]*r[0]+r[1]*r[1]),Lt=mathSqrt$2(r[2]*r[2]+r[3]*r[3]),hn=mathAtan2(-r[1]/Lt,r[0]/At);V[ue]*=At,V[ue++]+=qe,V[ue]*=Lt,V[ue++]+=Et,V[ue++]*=At,V[ue++]*=Lt,V[ue++]+=hn,V[ue++]+=hn,ue+=2,de=ue;break;case Ve:he[0]=V[ue++],he[1]=V[ue++],applyTransform$1(he,he,r),V[de++]=he[0],V[de++]=he[1],he[0]+=V[ue++],he[1]+=V[ue++],applyTransform$1(he,he,r),V[de++]=he[0],V[de++]=he[1]}for(pe=0;pe<le;pe++){var _n=points[pe];_n[0]=V[ue++],_n[1]=V[ue++],applyTransform$1(_n,_n,r),V[de++]=_n[0],V[de++]=_n[1]}}t.increaseVersion()}}var mathSqrt$1=Math.sqrt,mathSin$1=Math.sin,mathCos$1=Math.cos,PI$3=Math.PI;function vMag(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function vRatio(t,r){return(t[0]*r[0]+t[1]*r[1])/(vMag(t)*vMag(r))}function vAngle(t,r){return(t[0]*r[1]<t[1]*r[0]?-1:1)*Math.acos(vRatio(t,r))}function processArc(t,r,V,oe,ie,le,ue,de,pe,he,_e){var $e=pe*(PI$3/180),Ie=mathCos$1($e)*(t-V)/2+mathSin$1($e)*(r-oe)/2,Ve=-1*mathSin$1($e)*(t-V)/2+mathCos$1($e)*(r-oe)/2,Fe=Ie*Ie/(ue*ue)+Ve*Ve/(de*de);Fe>1&&(ue*=mathSqrt$1(Fe),de*=mathSqrt$1(Fe));var Ue=(ie===le?-1:1)*mathSqrt$1((ue*ue*(de*de)-ue*ue*(Ve*Ve)-de*de*(Ie*Ie))/(ue*ue*(Ve*Ve)+de*de*(Ie*Ie)))||0,qe=Ue*ue*Ve/de,Et=Ue*-de*Ie/ue,At=(t+V)/2+mathCos$1($e)*qe-mathSin$1($e)*Et,Lt=(r+oe)/2+mathSin$1($e)*qe+mathCos$1($e)*Et,hn=vAngle([1,0],[(Ie-qe)/ue,(Ve-Et)/de]),_n=[(Ie-qe)/ue,(Ve-Et)/de],vn=[(-1*Ie-qe)/ue,(-1*Ve-Et)/de],bn=vAngle(_n,vn);if(vRatio(_n,vn)<=-1&&(bn=PI$3),vRatio(_n,vn)>=1&&(bn=0),bn<0){var Cn=Math.round(bn/PI$3*1e6)/1e6;bn=PI$3*2+Cn%2*PI$3}_e.addData(he,At,Lt,ue,de,hn,bn,$e,le)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(t){var r=new PathProxy$1;if(!t)return r;var V=0,oe=0,ie=V,le=oe,ue,de=PathProxy$1.CMD,pe=t.match(commandReg);if(!pe)return r;for(var he=0;he<pe.length;he++){for(var _e=pe[he],$e=_e.charAt(0),Ie=void 0,Ve=_e.match(numberReg)||[],Fe=Ve.length,Ue=0;Ue<Fe;Ue++)Ve[Ue]=parseFloat(Ve[Ue]);for(var qe=0;qe<Fe;){var Et=void 0,At=void 0,Lt=void 0,hn=void 0,_n=void 0,vn=void 0,bn=void 0,Cn=V,Sn=oe,wn=void 0,En=void 0;switch($e){case"l":V+=Ve[qe++],oe+=Ve[qe++],Ie=de.L,r.addData(Ie,V,oe);break;case"L":V=Ve[qe++],oe=Ve[qe++],Ie=de.L,r.addData(Ie,V,oe);break;case"m":V+=Ve[qe++],oe+=Ve[qe++],Ie=de.M,r.addData(Ie,V,oe),ie=V,le=oe,$e="l";break;case"M":V=Ve[qe++],oe=Ve[qe++],Ie=de.M,r.addData(Ie,V,oe),ie=V,le=oe,$e="L";break;case"h":V+=Ve[qe++],Ie=de.L,r.addData(Ie,V,oe);break;case"H":V=Ve[qe++],Ie=de.L,r.addData(Ie,V,oe);break;case"v":oe+=Ve[qe++],Ie=de.L,r.addData(Ie,V,oe);break;case"V":oe=Ve[qe++],Ie=de.L,r.addData(Ie,V,oe);break;case"C":Ie=de.C,r.addData(Ie,Ve[qe++],Ve[qe++],Ve[qe++],Ve[qe++],Ve[qe++],Ve[qe++]),V=Ve[qe-2],oe=Ve[qe-1];break;case"c":Ie=de.C,r.addData(Ie,Ve[qe++]+V,Ve[qe++]+oe,Ve[qe++]+V,Ve[qe++]+oe,Ve[qe++]+V,Ve[qe++]+oe),V+=Ve[qe-2],oe+=Ve[qe-1];break;case"S":Et=V,At=oe,wn=r.len(),En=r.data,ue===de.C&&(Et+=V-En[wn-4],At+=oe-En[wn-3]),Ie=de.C,Cn=Ve[qe++],Sn=Ve[qe++],V=Ve[qe++],oe=Ve[qe++],r.addData(Ie,Et,At,Cn,Sn,V,oe);break;case"s":Et=V,At=oe,wn=r.len(),En=r.data,ue===de.C&&(Et+=V-En[wn-4],At+=oe-En[wn-3]),Ie=de.C,Cn=V+Ve[qe++],Sn=oe+Ve[qe++],V+=Ve[qe++],oe+=Ve[qe++],r.addData(Ie,Et,At,Cn,Sn,V,oe);break;case"Q":Cn=Ve[qe++],Sn=Ve[qe++],V=Ve[qe++],oe=Ve[qe++],Ie=de.Q,r.addData(Ie,Cn,Sn,V,oe);break;case"q":Cn=Ve[qe++]+V,Sn=Ve[qe++]+oe,V+=Ve[qe++],oe+=Ve[qe++],Ie=de.Q,r.addData(Ie,Cn,Sn,V,oe);break;case"T":Et=V,At=oe,wn=r.len(),En=r.data,ue===de.Q&&(Et+=V-En[wn-4],At+=oe-En[wn-3]),V=Ve[qe++],oe=Ve[qe++],Ie=de.Q,r.addData(Ie,Et,At,V,oe);break;case"t":Et=V,At=oe,wn=r.len(),En=r.data,ue===de.Q&&(Et+=V-En[wn-4],At+=oe-En[wn-3]),V+=Ve[qe++],oe+=Ve[qe++],Ie=de.Q,r.addData(Ie,Et,At,V,oe);break;case"A":Lt=Ve[qe++],hn=Ve[qe++],_n=Ve[qe++],vn=Ve[qe++],bn=Ve[qe++],Cn=V,Sn=oe,V=Ve[qe++],oe=Ve[qe++],Ie=de.A,processArc(Cn,Sn,V,oe,vn,bn,Lt,hn,_n,Ie,r);break;case"a":Lt=Ve[qe++],hn=Ve[qe++],_n=Ve[qe++],vn=Ve[qe++],bn=Ve[qe++],Cn=V,Sn=oe,V+=Ve[qe++],oe+=Ve[qe++],Ie=de.A,processArc(Cn,Sn,V,oe,vn,bn,Lt,hn,_n,Ie,r);break}}($e==="z"||$e==="Z")&&(Ie=de.Z,r.addData(Ie),V=ie,oe=le),ue=Ie}return r.toStatic(),r}var SVGPath=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.applyTransform=function(V){},r}(Path$1);function isPathProxy(t){return t.setData!=null}function createPathOptions(t,r){var V=createPathProxyFromString(t),oe=extend({},r);return oe.buildPath=function(ie){if(isPathProxy(ie)){ie.setData(V.data);var le=ie.getContext();le&&ie.rebuildPath(le,1)}else{var le=ie;V.rebuildPath(le,1)}},oe.applyTransform=function(ie){transformPath(V,ie),this.dirtyShape()},oe}function createFromString(t,r){return new SVGPath(createPathOptions(t,r))}function extendFromString(t,r){var V=createPathOptions(t,r),oe=function(ie){__extends(le,ie);function le(ue){var de=ie.call(this,ue)||this;return de.applyTransform=V.applyTransform,de.buildPath=V.buildPath,de}return le}(SVGPath);return oe}function mergePath$1(t,r){for(var V=[],oe=t.length,ie=0;ie<oe;ie++){var le=t[ie];V.push(le.getUpdatedPathProxy(!0))}var ue=new Path$1(r);return ue.createPathProxy(),ue.buildPath=function(de){if(isPathProxy(de)){de.appendPath(V);var pe=de.getContext();pe&&de.rebuildPath(pe,1)}},ue}var CircleShape=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),Circle=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultShape=function(){return new CircleShape},r.prototype.buildPath=function(V,oe){V.moveTo(oe.cx+oe.r,oe.cy),V.arc(oe.cx,oe.cy,oe.r,0,Math.PI*2)},r}(Path$1);Circle.prototype.type="circle";const Circle$1=Circle;var EllipseShape=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),Ellipse=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultShape=function(){return new EllipseShape},r.prototype.buildPath=function(V,oe){var ie=.5522848,le=oe.cx,ue=oe.cy,de=oe.rx,pe=oe.ry,he=de*ie,_e=pe*ie;V.moveTo(le-de,ue),V.bezierCurveTo(le-de,ue-_e,le-he,ue-pe,le,ue-pe),V.bezierCurveTo(le+he,ue-pe,le+de,ue-_e,le+de,ue),V.bezierCurveTo(le+de,ue+_e,le+he,ue+pe,le,ue+pe),V.bezierCurveTo(le-he,ue+pe,le-de,ue+_e,le-de,ue),V.closePath()},r}(Path$1);Ellipse.prototype.type="ellipse";const Ellipse$1=Ellipse;var PI$2=Math.PI,PI2$1=PI$2*2,mathSin=Math.sin,mathCos=Math.cos,mathACos=Math.acos,mathATan2=Math.atan2,mathAbs=Math.abs,mathSqrt=Math.sqrt,mathMax$5=Math.max,mathMin$5=Math.min,e=1e-4;function intersect(t,r,V,oe,ie,le,ue,de){var pe=V-t,he=oe-r,_e=ue-ie,$e=de-le,Ie=$e*pe-_e*he;if(!(Ie*Ie<e))return Ie=(_e*(r-le)-$e*(t-ie))/Ie,[t+Ie*pe,r+Ie*he]}function computeCornerTangents(t,r,V,oe,ie,le,ue){var de=t-V,pe=r-oe,he=(ue?le:-le)/mathSqrt(de*de+pe*pe),_e=he*pe,$e=-he*de,Ie=t+_e,Ve=r+$e,Fe=V+_e,Ue=oe+$e,qe=(Ie+Fe)/2,Et=(Ve+Ue)/2,At=Fe-Ie,Lt=Ue-Ve,hn=At*At+Lt*Lt,_n=ie-le,vn=Ie*Ue-Fe*Ve,bn=(Lt<0?-1:1)*mathSqrt(mathMax$5(0,_n*_n*hn-vn*vn)),Cn=(vn*Lt-At*bn)/hn,Sn=(-vn*At-Lt*bn)/hn,wn=(vn*Lt+At*bn)/hn,En=(-vn*At+Lt*bn)/hn,xn=Cn-qe,Pn=Sn-Et,kn=wn-qe,Nn=En-Et;return xn*xn+Pn*Pn>kn*kn+Nn*Nn&&(Cn=wn,Sn=En),{cx:Cn,cy:Sn,x0:-_e,y0:-$e,x1:Cn*(ie/_n-1),y1:Sn*(ie/_n-1)}}function normalizeCornerRadius(t){var r;if(isArray$1(t)){var V=t.length;if(!V)return t;V===1?r=[t[0],t[0],0,0]:V===2?r=[t[0],t[0],t[1],t[1]]:V===3?r=t.concat(t[2]):r=t}else r=[t,t,t,t];return r}function buildPath$1(t,r){var V,oe=mathMax$5(r.r,0),ie=mathMax$5(r.r0||0,0),le=oe>0,ue=ie>0;if(!(!le&&!ue)){if(le||(oe=ie,ie=0),ie>oe){var de=oe;oe=ie,ie=de}var pe=r.startAngle,he=r.endAngle;if(!(isNaN(pe)||isNaN(he))){var _e=r.cx,$e=r.cy,Ie=!!r.clockwise,Ve=mathAbs(he-pe),Fe=Ve>PI2$1&&Ve%PI2$1;if(Fe>e&&(Ve=Fe),!(oe>e))t.moveTo(_e,$e);else if(Ve>PI2$1-e)t.moveTo(_e+oe*mathCos(pe),$e+oe*mathSin(pe)),t.arc(_e,$e,oe,pe,he,!Ie),ie>e&&(t.moveTo(_e+ie*mathCos(he),$e+ie*mathSin(he)),t.arc(_e,$e,ie,he,pe,Ie));else{var Ue=void 0,qe=void 0,Et=void 0,At=void 0,Lt=void 0,hn=void 0,_n=void 0,vn=void 0,bn=void 0,Cn=void 0,Sn=void 0,wn=void 0,En=void 0,xn=void 0,Pn=void 0,kn=void 0,Nn=oe*mathCos(pe),Dn=oe*mathSin(pe),Mn=ie*mathCos(he),Ln=ie*mathSin(he),An=Ve>e;if(An){var Vn=r.cornerRadius;Vn&&(V=normalizeCornerRadius(Vn),Ue=V[0],qe=V[1],Et=V[2],At=V[3]);var Wn=mathAbs(oe-ie)/2;if(Lt=mathMin$5(Wn,Et),hn=mathMin$5(Wn,At),_n=mathMin$5(Wn,Ue),vn=mathMin$5(Wn,qe),Sn=bn=mathMax$5(Lt,hn),wn=Cn=mathMax$5(_n,vn),(bn>e||Cn>e)&&(En=oe*mathCos(he),xn=oe*mathSin(he),Pn=ie*mathCos(pe),kn=ie*mathSin(pe),Ve<PI$2)){var Fn=intersect(Nn,Dn,Pn,kn,En,xn,Mn,Ln);if(Fn){var Yn=Nn-Fn[0],tr=Dn-Fn[1],yr=En-Fn[0],Jn=xn-Fn[1],Kn=1/mathSin(mathACos((Yn*yr+tr*Jn)/(mathSqrt(Yn*Yn+tr*tr)*mathSqrt(yr*yr+Jn*Jn)))/2),Gn=mathSqrt(Fn[0]*Fn[0]+Fn[1]*Fn[1]);Sn=mathMin$5(bn,(oe-Gn)/(Kn+1)),wn=mathMin$5(Cn,(ie-Gn)/(Kn-1))}}}if(!An)t.moveTo(_e+Nn,$e+Dn);else if(Sn>e){var Qn=mathMin$5(Et,Sn),ur=mathMin$5(At,Sn),cr=computeCornerTangents(Pn,kn,Nn,Dn,oe,Qn,Ie),Un=computeCornerTangents(En,xn,Mn,Ln,oe,ur,Ie);t.moveTo(_e+cr.cx+cr.x0,$e+cr.cy+cr.y0),Sn<bn&&Qn===ur?t.arc(_e+cr.cx,$e+cr.cy,Sn,mathATan2(cr.y0,cr.x0),mathATan2(Un.y0,Un.x0),!Ie):(Qn>0&&t.arc(_e+cr.cx,$e+cr.cy,Qn,mathATan2(cr.y0,cr.x0),mathATan2(cr.y1,cr.x1),!Ie),t.arc(_e,$e,oe,mathATan2(cr.cy+cr.y1,cr.cx+cr.x1),mathATan2(Un.cy+Un.y1,Un.cx+Un.x1),!Ie),ur>0&&t.arc(_e+Un.cx,$e+Un.cy,ur,mathATan2(Un.y1,Un.x1),mathATan2(Un.y0,Un.x0),!Ie))}else t.moveTo(_e+Nn,$e+Dn),t.arc(_e,$e,oe,pe,he,!Ie);if(!(ie>e)||!An)t.lineTo(_e+Mn,$e+Ln);else if(wn>e){var Qn=mathMin$5(Ue,wn),ur=mathMin$5(qe,wn),cr=computeCornerTangents(Mn,Ln,En,xn,ie,-ur,Ie),Un=computeCornerTangents(Nn,Dn,Pn,kn,ie,-Qn,Ie);t.lineTo(_e+cr.cx+cr.x0,$e+cr.cy+cr.y0),wn<Cn&&Qn===ur?t.arc(_e+cr.cx,$e+cr.cy,wn,mathATan2(cr.y0,cr.x0),mathATan2(Un.y0,Un.x0),!Ie):(ur>0&&t.arc(_e+cr.cx,$e+cr.cy,ur,mathATan2(cr.y0,cr.x0),mathATan2(cr.y1,cr.x1),!Ie),t.arc(_e,$e,ie,mathATan2(cr.cy+cr.y1,cr.cx+cr.x1),mathATan2(Un.cy+Un.y1,Un.cx+Un.x1),Ie),Qn>0&&t.arc(_e+Un.cx,$e+Un.cy,Qn,mathATan2(Un.y1,Un.x1),mathATan2(Un.y0,Un.x0),!Ie))}else t.lineTo(_e+Mn,$e+Ln),t.arc(_e,$e,ie,he,pe,Ie)}t.closePath()}}}var SectorShape=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return t}(),Sector=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultShape=function(){return new SectorShape},r.prototype.buildPath=function(V,oe){buildPath$1(V,oe)},r.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},r}(Path$1);Sector.prototype.type="sector";const Sector$1=Sector;var RingShape=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),Ring=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultShape=function(){return new RingShape},r.prototype.buildPath=function(V,oe){var ie=oe.cx,le=oe.cy,ue=Math.PI*2;V.moveTo(ie+oe.r,le),V.arc(ie,le,oe.r,0,ue,!1),V.moveTo(ie+oe.r0,le),V.arc(ie,le,oe.r0,0,ue,!0)},r}(Path$1);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(t,r,V,oe){var ie=[],le=[],ue=[],de=[],pe,he,_e,$e;if(oe){_e=[1/0,1/0],$e=[-1/0,-1/0];for(var Ie=0,Ve=t.length;Ie<Ve;Ie++)min$1(_e,_e,t[Ie]),max$1($e,$e,t[Ie]);min$1(_e,_e,oe[0]),max$1($e,$e,oe[1])}for(var Ie=0,Ve=t.length;Ie<Ve;Ie++){var Fe=t[Ie];if(V)pe=t[Ie?Ie-1:Ve-1],he=t[(Ie+1)%Ve];else if(Ie===0||Ie===Ve-1){ie.push(clone$2(t[Ie]));continue}else pe=t[Ie-1],he=t[Ie+1];sub(le,he,pe),scale$2(le,le,r);var Ue=distance(Fe,pe),qe=distance(Fe,he),Et=Ue+qe;Et!==0&&(Ue/=Et,qe/=Et),scale$2(ue,le,-Ue),scale$2(de,le,qe);var At=add([],Fe,ue),Lt=add([],Fe,de);oe&&(max$1(At,At,_e),min$1(At,At,$e),max$1(Lt,Lt,_e),min$1(Lt,Lt,$e)),ie.push(At),ie.push(Lt)}return V&&ie.push(ie.shift()),ie}function buildPath(t,r,V){var oe=r.smooth,ie=r.points;if(ie&&ie.length>=2){if(oe){var le=smoothBezier(ie,oe,V,r.smoothConstraint);t.moveTo(ie[0][0],ie[0][1]);for(var ue=ie.length,de=0;de<(V?ue:ue-1);de++){var pe=le[de*2],he=le[de*2+1],_e=ie[(de+1)%ue];t.bezierCurveTo(pe[0],pe[1],he[0],he[1],_e[0],_e[1])}}else{t.moveTo(ie[0][0],ie[0][1]);for(var de=1,$e=ie.length;de<$e;de++)t.lineTo(ie[de][0],ie[de][1])}V&&t.closePath()}}var PolygonShape=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),Polygon=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultShape=function(){return new PolygonShape},r.prototype.buildPath=function(V,oe){buildPath(V,oe,!0)},r}(Path$1);Polygon.prototype.type="polygon";const Polygon$1=Polygon;var PolylineShape=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),Polyline=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new PolylineShape},r.prototype.buildPath=function(V,oe){buildPath(V,oe,!1)},r}(Path$1);Polyline.prototype.type="polyline";const Polyline$1=Polyline;var subPixelOptimizeOutputShape={},LineShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),Line=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new LineShape},r.prototype.buildPath=function(V,oe){var ie,le,ue,de;if(this.subPixelOptimize){var pe=subPixelOptimizeLine$1(subPixelOptimizeOutputShape,oe,this.style);ie=pe.x1,le=pe.y1,ue=pe.x2,de=pe.y2}else ie=oe.x1,le=oe.y1,ue=oe.x2,de=oe.y2;var he=oe.percent;he!==0&&(V.moveTo(ie,le),he<1&&(ue=ie*(1-he)+ue*he,de=le*(1-he)+de*he),V.lineTo(ue,de))},r.prototype.pointAt=function(V){var oe=this.shape;return[oe.x1*(1-V)+oe.x2*V,oe.y1*(1-V)+oe.y2*V]},r}(Path$1);Line.prototype.type="line";const Line$1=Line;var out=[],BezierCurveShape=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function someVectorAt(t,r,V){var oe=t.cpx2,ie=t.cpy2;return oe!=null||ie!=null?[(V?cubicDerivativeAt:cubicAt)(t.x1,t.cpx1,t.cpx2,t.x2,r),(V?cubicDerivativeAt:cubicAt)(t.y1,t.cpy1,t.cpy2,t.y2,r)]:[(V?quadraticDerivativeAt:quadraticAt)(t.x1,t.cpx1,t.x2,r),(V?quadraticDerivativeAt:quadraticAt)(t.y1,t.cpy1,t.y2,r)]}var BezierCurve=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new BezierCurveShape},r.prototype.buildPath=function(V,oe){var ie=oe.x1,le=oe.y1,ue=oe.x2,de=oe.y2,pe=oe.cpx1,he=oe.cpy1,_e=oe.cpx2,$e=oe.cpy2,Ie=oe.percent;Ie!==0&&(V.moveTo(ie,le),_e==null||$e==null?(Ie<1&&(quadraticSubdivide(ie,pe,ue,Ie,out),pe=out[1],ue=out[2],quadraticSubdivide(le,he,de,Ie,out),he=out[1],de=out[2]),V.quadraticCurveTo(pe,he,ue,de)):(Ie<1&&(cubicSubdivide(ie,pe,_e,ue,Ie,out),pe=out[1],_e=out[2],ue=out[3],cubicSubdivide(le,he,$e,de,Ie,out),he=out[1],$e=out[2],de=out[3]),V.bezierCurveTo(pe,he,_e,$e,ue,de)))},r.prototype.pointAt=function(V){return someVectorAt(this.shape,V,!1)},r.prototype.tangentAt=function(V){var oe=someVectorAt(this.shape,V,!0);return normalize$1(oe,oe)},r}(Path$1);BezierCurve.prototype.type="bezier-curve";const BezierCurve$1=BezierCurve;var ArcShape=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),Arc=function(t){__extends(r,t);function r(V){return t.call(this,V)||this}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ArcShape},r.prototype.buildPath=function(V,oe){var ie=oe.cx,le=oe.cy,ue=Math.max(oe.r,0),de=oe.startAngle,pe=oe.endAngle,he=oe.clockwise,_e=Math.cos(de),$e=Math.sin(de);V.moveTo(_e*ue+ie,$e*ue+le),V.arc(ie,le,ue,de,pe,!he)},r}(Path$1);Arc.prototype.type="arc";const Arc$1=Arc;var CompoundPath=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type="compound",V}return r.prototype._updatePathDirty=function(){for(var V=this.shape.paths,oe=this.shapeChanged(),ie=0;ie<V.length;ie++)oe=oe||V[ie].shapeChanged();oe&&this.dirtyShape()},r.prototype.beforeBrush=function(){this._updatePathDirty();for(var V=this.shape.paths||[],oe=this.getGlobalScale(),ie=0;ie<V.length;ie++)V[ie].path||V[ie].createPathProxy(),V[ie].path.setScale(oe[0],oe[1],V[ie].segmentIgnoreThreshold)},r.prototype.buildPath=function(V,oe){for(var ie=oe.paths||[],le=0;le<ie.length;le++)ie[le].buildPath(V,ie[le].shape,!0)},r.prototype.afterBrush=function(){for(var V=this.shape.paths||[],oe=0;oe<V.length;oe++)V[oe].pathUpdated()},r.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Path$1.prototype.getBoundingRect.call(this)},r}(Path$1);const CompoundPath$1=CompoundPath;var Gradient=function(){function t(r){this.colorStops=r||[]}return t.prototype.addColorStop=function(r,V){this.colorStops.push({offset:r,color:V})},t}();const Gradient$1=Gradient;var LinearGradient=function(t){__extends(r,t);function r(V,oe,ie,le,ue,de){var pe=t.call(this,ue)||this;return pe.x=V??0,pe.y=oe??0,pe.x2=ie??1,pe.y2=le??0,pe.type="linear",pe.global=de||!1,pe}return r}(Gradient$1);const LinearGradient$1=LinearGradient;var RadialGradient=function(t){__extends(r,t);function r(V,oe,ie,le,ue){var de=t.call(this,le)||this;return de.x=V??.5,de.y=oe??.5,de.r=ie??.5,de.type="radial",de.global=ue||!1,de}return r}(Gradient$1);const RadialGradient$1=RadialGradient;var extent=[0,0],extent2=[0,0],minTv=new Point$1,maxTv=new Point$1,OrientedBoundingRect=function(){function t(r,V){this._corners=[],this._axes=[],this._origin=[0,0];for(var oe=0;oe<4;oe++)this._corners[oe]=new Point$1;for(var oe=0;oe<2;oe++)this._axes[oe]=new Point$1;r&&this.fromBoundingRect(r,V)}return t.prototype.fromBoundingRect=function(r,V){var oe=this._corners,ie=this._axes,le=r.x,ue=r.y,de=le+r.width,pe=ue+r.height;if(oe[0].set(le,ue),oe[1].set(de,ue),oe[2].set(de,pe),oe[3].set(le,pe),V)for(var he=0;he<4;he++)oe[he].transform(V);Point$1.sub(ie[0],oe[1],oe[0]),Point$1.sub(ie[1],oe[3],oe[0]),ie[0].normalize(),ie[1].normalize();for(var he=0;he<2;he++)this._origin[he]=ie[he].dot(oe[0])},t.prototype.intersect=function(r,V){var oe=!0,ie=!V;return minTv.set(1/0,1/0),maxTv.set(0,0),!this._intersectCheckOneSide(this,r,minTv,maxTv,ie,1)&&(oe=!1,ie)||!this._intersectCheckOneSide(r,this,minTv,maxTv,ie,-1)&&(oe=!1,ie)||ie||Point$1.copy(V,oe?minTv:maxTv),oe},t.prototype._intersectCheckOneSide=function(r,V,oe,ie,le,ue){for(var de=!0,pe=0;pe<2;pe++){var he=this._axes[pe];if(this._getProjMinMaxOnAxis(pe,r._corners,extent),this._getProjMinMaxOnAxis(pe,V._corners,extent2),extent[1]<extent2[0]||extent[0]>extent2[1]){if(de=!1,le)return de;var _e=Math.abs(extent2[0]-extent[1]),$e=Math.abs(extent[0]-extent2[1]);Math.min(_e,$e)>ie.len()&&(_e<$e?Point$1.scale(ie,he,-_e*ue):Point$1.scale(ie,he,$e*ue))}else if(oe){var _e=Math.abs(extent2[0]-extent[1]),$e=Math.abs(extent[0]-extent2[1]);Math.min(_e,$e)<oe.len()&&(_e<$e?Point$1.scale(oe,he,_e*ue):Point$1.scale(oe,he,-$e*ue))}}return de},t.prototype._getProjMinMaxOnAxis=function(r,V,oe){for(var ie=this._axes[r],le=this._origin,ue=V[0].dot(ie)+le[r],de=ue,pe=ue,he=1;he<V.length;he++){var _e=V[he].dot(ie)+le[r];de=Math.min(_e,de),pe=Math.max(_e,pe)}oe[0]=de,oe[1]=pe},t}();const OrientedBoundingRect$1=OrientedBoundingRect;var m$2=[],IncrementalDisplayable=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.notClear=!0,V.incremental=!0,V._displayables=[],V._temporaryDisplayables=[],V._cursor=0,V}return r.prototype.traverse=function(V,oe){V.call(oe,this)},r.prototype.useStyle=function(){this.style={}},r.prototype.getCursor=function(){return this._cursor},r.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},r.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},r.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},r.prototype.addDisplayable=function(V,oe){oe?this._temporaryDisplayables.push(V):this._displayables.push(V),this.markRedraw()},r.prototype.addDisplayables=function(V,oe){oe=oe||!1;for(var ie=0;ie<V.length;ie++)this.addDisplayable(V[ie],oe)},r.prototype.getDisplayables=function(){return this._displayables},r.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},r.prototype.eachPendingDisplayable=function(V){for(var oe=this._cursor;oe<this._displayables.length;oe++)V&&V(this._displayables[oe]);for(var oe=0;oe<this._temporaryDisplayables.length;oe++)V&&V(this._temporaryDisplayables[oe])},r.prototype.update=function(){this.updateTransform();for(var V=this._cursor;V<this._displayables.length;V++){var oe=this._displayables[V];oe.parent=this,oe.update(),oe.parent=null}for(var V=0;V<this._temporaryDisplayables.length;V++){var oe=this._temporaryDisplayables[V];oe.parent=this,oe.update(),oe.parent=null}},r.prototype.getBoundingRect=function(){if(!this._rect){for(var V=new BoundingRect$1(1/0,1/0,-1/0,-1/0),oe=0;oe<this._displayables.length;oe++){var ie=this._displayables[oe],le=ie.getBoundingRect().clone();ie.needLocalTransform()&&le.applyTransform(ie.getLocalTransform(m$2)),V.union(le)}this._rect=V}return this._rect},r.prototype.contain=function(V,oe){var ie=this.transformCoordToLocal(V,oe),le=this.getBoundingRect();if(le.contain(ie[0],ie[1]))for(var ue=0;ue<this._displayables.length;ue++){var de=this._displayables[ue];if(de.contain(V,oe))return!0}return!1},r}(Displayable$1);const IncrementalDisplayable$1=IncrementalDisplayable;var transitionStore=makeInner();function getAnimationConfig(t,r,V,oe,ie){var le;if(r&&r.ecModel){var ue=r.ecModel.getUpdatePayload();le=ue&&ue.animation}var de=r&&r.isAnimationEnabled(),pe=t==="update";if(de){var he=void 0,_e=void 0,$e=void 0;oe?(he=retrieve2(oe.duration,200),_e=retrieve2(oe.easing,"cubicOut"),$e=0):(he=r.getShallow(pe?"animationDurationUpdate":"animationDuration"),_e=r.getShallow(pe?"animationEasingUpdate":"animationEasing"),$e=r.getShallow(pe?"animationDelayUpdate":"animationDelay")),le&&(le.duration!=null&&(he=le.duration),le.easing!=null&&(_e=le.easing),le.delay!=null&&($e=le.delay)),isFunction($e)&&($e=$e(V,ie)),isFunction(he)&&(he=he(V));var Ie={duration:he||0,delay:$e,easing:_e};return Ie}else return null}function animateOrSetProps(t,r,V,oe,ie,le,ue){var de=!1,pe;isFunction(ie)?(ue=le,le=ie,ie=null):isObject$3(ie)&&(le=ie.cb,ue=ie.during,de=ie.isFrom,pe=ie.removeOpt,ie=ie.dataIndex);var he=t==="leave";he||r.stopAnimation("leave");var _e=getAnimationConfig(t,oe,ie,he?pe||{}:null,oe&&oe.getAnimationDelayParams?oe.getAnimationDelayParams(r,ie):null);if(_e&&_e.duration>0){var $e=_e.duration,Ie=_e.delay,Ve=_e.easing,Fe={duration:$e,delay:Ie||0,easing:Ve,done:le,force:!!le||!!ue,setToFinal:!he,scope:t,during:ue};de?r.animateFrom(V,Fe):r.animateTo(V,Fe)}else r.stopAnimation(),!de&&r.attr(V),ue&&ue(1),le&&le()}function updateProps$1(t,r,V,oe,ie,le){animateOrSetProps("update",t,r,V,oe,ie,le)}function initProps(t,r,V,oe,ie,le){animateOrSetProps("enter",t,r,V,oe,ie,le)}function isElementRemoved(t){if(!t.__zr)return!0;for(var r=0;r<t.animators.length;r++){var V=t.animators[r];if(V.scope==="leave")return!0}return!1}function removeElement(t,r,V,oe,ie,le){isElementRemoved(t)||animateOrSetProps("leave",t,r,V,oe,ie,le)}function fadeOutDisplayable(t,r,V,oe){t.removeTextContent(),t.removeTextGuideLine(),removeElement(t,{style:{opacity:0}},r,V,oe)}function removeElementWithFadeOut(t,r,V){function oe(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(ie){ie.isGroup||fadeOutDisplayable(ie,r,V,oe)}):fadeOutDisplayable(t,r,V,oe)}function saveOldStyle(t){transitionStore(t).oldStyle=t.style}var mathMax$4=Math.max,mathMin$4=Math.min,_customShapeMap={};function extendShape(t){return Path$1.extend(t)}var extendPathFromString=extendFromString;function extendPath(t,r){return extendPathFromString(t,r)}function registerShape(t,r){_customShapeMap[t]=r}function getShapeClass(t){if(_customShapeMap.hasOwnProperty(t))return _customShapeMap[t]}function makePath(t,r,V,oe){var ie=createFromString(t,r);return V&&(oe==="center"&&(V=centerGraphic(V,ie.getBoundingRect())),resizePath(ie,V)),ie}function makeImage(t,r,V){var oe=new ZRImage$1({style:{image:t,x:r.x,y:r.y,width:r.width,height:r.height},onload:function(ie){if(V==="center"){var le={width:ie.width,height:ie.height};oe.setStyle(centerGraphic(r,le))}}});return oe}function centerGraphic(t,r){var V=r.width/r.height,oe=t.height*V,ie;oe<=t.width?ie=t.height:(oe=t.width,ie=oe/V);var le=t.x+t.width/2,ue=t.y+t.height/2;return{x:le-oe/2,y:ue-ie/2,width:oe,height:ie}}var mergePath=mergePath$1;function resizePath(t,r){if(t.applyTransform){var V=t.getBoundingRect(),oe=V.calculateTransform(r);t.applyTransform(oe)}}function subPixelOptimizeLine(t,r){return subPixelOptimizeLine$1(t,t,{lineWidth:r}),t}function subPixelOptimizeRect(t){return subPixelOptimizeRect$1(t.shape,t.shape,t.style),t}var subPixelOptimize=subPixelOptimize$1;function getTransform$1(t,r){for(var V=identity([]);t&&t!==r;)mul(V,t.getLocalTransform(),V),t=t.parent;return V}function applyTransform(t,r,V){return r&&!isArrayLike(r)&&(r=Transformable$1.getLocalTransform(r)),V&&(r=invert([],r)),applyTransform$1([],t,r)}function transformDirection(t,r,V){var oe=r[4]===0||r[5]===0||r[0]===0?1:Math.abs(2*r[4]/r[0]),ie=r[4]===0||r[5]===0||r[2]===0?1:Math.abs(2*r[4]/r[2]),le=[t==="left"?-oe:t==="right"?oe:0,t==="top"?-ie:t==="bottom"?ie:0];return le=applyTransform(le,r,V),Math.abs(le[0])>Math.abs(le[1])?le[0]>0?"right":"left":le[1]>0?"bottom":"top"}function isNotGroup(t){return!t.isGroup}function isPath(t){return t.shape!=null}function groupTransition(t,r,V){if(!t||!r)return;function oe(ue){var de={};return ue.traverse(function(pe){isNotGroup(pe)&&pe.anid&&(de[pe.anid]=pe)}),de}function ie(ue){var de={x:ue.x,y:ue.y,rotation:ue.rotation};return isPath(ue)&&(de.shape=extend({},ue.shape)),de}var le=oe(t);r.traverse(function(ue){if(isNotGroup(ue)&&ue.anid){var de=le[ue.anid];if(de){var pe=ie(ue);ue.attr(ie(de)),updateProps$1(ue,pe,V,getECData(ue).dataIndex)}}})}function clipPointsByRect(t,r){return map$2(t,function(V){var oe=V[0];oe=mathMax$4(oe,r.x),oe=mathMin$4(oe,r.x+r.width);var ie=V[1];return ie=mathMax$4(ie,r.y),ie=mathMin$4(ie,r.y+r.height),[oe,ie]})}function clipRectByRect(t,r){var V=mathMax$4(t.x,r.x),oe=mathMin$4(t.x+t.width,r.x+r.width),ie=mathMax$4(t.y,r.y),le=mathMin$4(t.y+t.height,r.y+r.height);if(oe>=V&&le>=ie)return{x:V,y:ie,width:oe-V,height:le-ie}}function createIcon(t,r,V){var oe=extend({rectHover:!0},r),ie=oe.style={strokeNoScale:!0};if(V=V||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(ie.image=t.slice(8),defaults(ie,V),new ZRImage$1(oe)):makePath(t.replace("path://",""),oe,V,"center")}function linePolygonIntersect(t,r,V,oe,ie){for(var le=0,ue=ie[ie.length-1];le<ie.length;le++){var de=ie[le];if(lineLineIntersect(t,r,V,oe,de[0],de[1],ue[0],ue[1]))return!0;ue=de}}function lineLineIntersect(t,r,V,oe,ie,le,ue,de){var pe=V-t,he=oe-r,_e=ue-ie,$e=de-le,Ie=crossProduct2d(_e,$e,pe,he);if(nearZero(Ie))return!1;var Ve=t-ie,Fe=r-le,Ue=crossProduct2d(Ve,Fe,pe,he)/Ie;if(Ue<0||Ue>1)return!1;var qe=crossProduct2d(Ve,Fe,_e,$e)/Ie;return!(qe<0||qe>1)}function crossProduct2d(t,r,V,oe){return t*oe-V*r}function nearZero(t){return t<=1e-6&&t>=-1e-6}function setTooltipConfig(t){var r=t.itemTooltipOption,V=t.componentModel,oe=t.itemName,ie=isString(r)?{formatter:r}:r,le=V.mainType,ue=V.componentIndex,de={componentType:le,name:oe,$vars:["name"]};de[le+"Index"]=ue;var pe=t.formatterParamsExtra;pe&&each$c(keys(pe),function(_e){hasOwn(de,_e)||(de[_e]=pe[_e],de.$vars.push(_e))});var he=getECData(t.el);he.componentMainType=le,he.componentIndex=ue,he.tooltipConfig={name:oe,option:defaults({content:oe,formatterParams:de},ie)}}function traverseElement(t,r){var V;t.isGroup&&(V=r(t)),V||t.traverse(r)}function traverseElements(t,r){if(t)if(isArray$1(t))for(var V=0;V<t.length;V++)traverseElement(t[V],r);else traverseElement(t,r)}registerShape("circle",Circle$1);registerShape("ellipse",Ellipse$1);registerShape("sector",Sector$1);registerShape("ring",Ring$1);registerShape("polygon",Polygon$1);registerShape("polyline",Polyline$1);registerShape("rect",Rect$2);registerShape("line",Line$1);registerShape("bezierCurve",BezierCurve$1);registerShape("arc",Arc$1);const graphic$1=Object.freeze(Object.defineProperty({__proto__:null,Arc:Arc$1,BezierCurve:BezierCurve$1,BoundingRect:BoundingRect$1,Circle:Circle$1,CompoundPath:CompoundPath$1,Ellipse:Ellipse$1,Group:Group$3,Image:ZRImage$1,IncrementalDisplayable:IncrementalDisplayable$1,Line:Line$1,LinearGradient:LinearGradient$1,OrientedBoundingRect:OrientedBoundingRect$1,Path:Path$1,Point:Point$1,Polygon:Polygon$1,Polyline:Polyline$1,RadialGradient:RadialGradient$1,Rect:Rect$2,Ring:Ring$1,Sector:Sector$1,Text:ZRText$1,applyTransform,clipPointsByRect,clipRectByRect,createIcon,extendPath,extendShape,getShapeClass,getTransform:getTransform$1,groupTransition,initProps,isElementRemoved,lineLineIntersect,linePolygonIntersect,makeImage,makePath,mergePath,registerShape,removeElement,removeElementWithFadeOut,resizePath,setTooltipConfig,subPixelOptimize,subPixelOptimizeLine,subPixelOptimizeRect,transformDirection,traverseElements,updateProps:updateProps$1},Symbol.toStringTag,{value:"Module"}));var EMPTY_OBJ={};function setLabelText(t,r){for(var V=0;V<SPECIAL_STATES.length;V++){var oe=SPECIAL_STATES[V],ie=r[oe],le=t.ensureState(oe);le.style=le.style||{},le.style.text=ie}var ue=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:r.normal}),t.useStates(ue,!0)}function getLabelText(t,r,V){var oe=t.labelFetcher,ie=t.labelDataIndex,le=t.labelDimIndex,ue=r.normal,de;oe&&(de=oe.getFormattedLabel(ie,"normal",null,le,ue&&ue.get("formatter"),V!=null?{interpolatedValue:V}:null)),de==null&&(de=isFunction(t.defaultText)?t.defaultText(ie,t,V):t.defaultText);for(var pe={normal:de},he=0;he<SPECIAL_STATES.length;he++){var _e=SPECIAL_STATES[he],$e=r[_e];pe[_e]=retrieve2(oe?oe.getFormattedLabel(ie,_e,null,le,$e&&$e.get("formatter")):null,de)}return pe}function setLabelStyle(t,r,V,oe){V=V||EMPTY_OBJ;for(var ie=t instanceof ZRText$1,le=!1,ue=0;ue<DISPLAY_STATES.length;ue++){var de=r[DISPLAY_STATES[ue]];if(de&&de.getShallow("show")){le=!0;break}}var pe=ie?t:t.getTextContent();if(le){ie||(pe||(pe=new ZRText$1,t.setTextContent(pe)),t.stateProxy&&(pe.stateProxy=t.stateProxy));var he=getLabelText(V,r),_e=r.normal,$e=!!_e.getShallow("show"),Ie=createTextStyle$1(_e,oe&&oe.normal,V,!1,!ie);Ie.text=he.normal,ie||t.setTextConfig(createTextConfig(_e,V,!1));for(var ue=0;ue<SPECIAL_STATES.length;ue++){var Ve=SPECIAL_STATES[ue],de=r[Ve];if(de){var Fe=pe.ensureState(Ve),Ue=!!retrieve2(de.getShallow("show"),$e);if(Ue!==$e&&(Fe.ignore=!Ue),Fe.style=createTextStyle$1(de,oe&&oe[Ve],V,!0,!ie),Fe.style.text=he[Ve],!ie){var qe=t.ensureState(Ve);qe.textConfig=createTextConfig(de,V,!0)}}}pe.silent=!!_e.getShallow("silent"),pe.style.x!=null&&(Ie.x=pe.style.x),pe.style.y!=null&&(Ie.y=pe.style.y),pe.ignore=!$e,pe.useStyle(Ie),pe.dirty(),V.enableTextSetter&&(labelInner(pe).setLabelText=function(Et){var At=getLabelText(V,r,Et);setLabelText(pe,At)})}else pe&&(pe.ignore=!0);t.dirty()}function getLabelStatesModels(t,r){r=r||"label";for(var V={normal:t.getModel(r)},oe=0;oe<SPECIAL_STATES.length;oe++){var ie=SPECIAL_STATES[oe];V[ie]=t.getModel([ie,r])}return V}function createTextStyle$1(t,r,V,oe,ie){var le={};return setTextStyleCommon(le,t,V,oe,ie),r&&extend(le,r),le}function createTextConfig(t,r,V){r=r||{};var oe={},ie,le=t.getShallow("rotate"),ue=retrieve2(t.getShallow("distance"),V?null:5),de=t.getShallow("offset");return ie=t.getShallow("position")||(V?null:"inside"),ie==="outside"&&(ie=r.defaultOutsidePosition||"top"),ie!=null&&(oe.position=ie),de!=null&&(oe.offset=de),le!=null&&(le*=Math.PI/180,oe.rotation=le),ue!=null&&(oe.distance=ue),oe.outsideFill=t.get("color")==="inherit"?r.inheritColor||null:"auto",oe}function setTextStyleCommon(t,r,V,oe,ie){V=V||EMPTY_OBJ;var le=r.ecModel,ue=le&&le.option.textStyle,de=getRichItemNames(r),pe;if(de){pe={};for(var he in de)if(de.hasOwnProperty(he)){var _e=r.getModel(["rich",he]);setTokenTextStyle(pe[he]={},_e,ue,V,oe,ie,!1,!0)}}pe&&(t.rich=pe);var $e=r.get("overflow");$e&&(t.overflow=$e);var Ie=r.get("minMargin");Ie!=null&&(t.margin=Ie),setTokenTextStyle(t,r,ue,V,oe,ie,!0,!1)}function getRichItemNames(t){for(var r;t&&t!==t.ecModel;){var V=(t.option||EMPTY_OBJ).rich;if(V){r=r||{};for(var oe=keys(V),ie=0;ie<oe.length;ie++){var le=oe[ie];r[le]=1}}t=t.parentModel}return r}var TEXT_PROPS_WITH_GLOBAL=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],TEXT_PROPS_SELF=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],TEXT_PROPS_BOX=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function setTokenTextStyle(t,r,V,oe,ie,le,ue,de){V=!ie&&V||EMPTY_OBJ;var pe=oe&&oe.inheritColor,he=r.getShallow("color"),_e=r.getShallow("textBorderColor"),$e=retrieve2(r.getShallow("opacity"),V.opacity);(he==="inherit"||he==="auto")&&(pe?he=pe:he=null),(_e==="inherit"||_e==="auto")&&(pe?_e=pe:_e=null),le||(he=he||V.color,_e=_e||V.textBorderColor),he!=null&&(t.fill=he),_e!=null&&(t.stroke=_e);var Ie=retrieve2(r.getShallow("textBorderWidth"),V.textBorderWidth);Ie!=null&&(t.lineWidth=Ie);var Ve=retrieve2(r.getShallow("textBorderType"),V.textBorderType);Ve!=null&&(t.lineDash=Ve);var Fe=retrieve2(r.getShallow("textBorderDashOffset"),V.textBorderDashOffset);Fe!=null&&(t.lineDashOffset=Fe),!ie&&$e==null&&!de&&($e=oe&&oe.defaultOpacity),$e!=null&&(t.opacity=$e),!ie&&!le&&t.fill==null&&oe.inheritColor&&(t.fill=oe.inheritColor);for(var Ue=0;Ue<TEXT_PROPS_WITH_GLOBAL.length;Ue++){var qe=TEXT_PROPS_WITH_GLOBAL[Ue],Et=retrieve2(r.getShallow(qe),V[qe]);Et!=null&&(t[qe]=Et)}for(var Ue=0;Ue<TEXT_PROPS_SELF.length;Ue++){var qe=TEXT_PROPS_SELF[Ue],Et=r.getShallow(qe);Et!=null&&(t[qe]=Et)}if(t.verticalAlign==null){var At=r.getShallow("baseline");At!=null&&(t.verticalAlign=At)}if(!ue||!oe.disableBox){for(var Ue=0;Ue<TEXT_PROPS_BOX.length;Ue++){var qe=TEXT_PROPS_BOX[Ue],Et=r.getShallow(qe);Et!=null&&(t[qe]=Et)}var Lt=r.getShallow("borderType");Lt!=null&&(t.borderDash=Lt),(t.backgroundColor==="auto"||t.backgroundColor==="inherit")&&pe&&(t.backgroundColor=pe),(t.borderColor==="auto"||t.borderColor==="inherit")&&pe&&(t.borderColor=pe)}}function getFont(t,r){var V=r&&r.getModel("textStyle");return trim$1([t.fontStyle||V&&V.getShallow("fontStyle")||"",t.fontWeight||V&&V.getShallow("fontWeight")||"",(t.fontSize||V&&V.getShallow("fontSize")||12)+"px",t.fontFamily||V&&V.getShallow("fontFamily")||"sans-serif"].join(" "))}var labelInner=makeInner();function setLabelValueAnimation(t,r,V,oe){if(t){var ie=labelInner(t);ie.prevValue=ie.value,ie.value=V;var le=r.normal;ie.valueAnimation=le.get("valueAnimation"),ie.valueAnimation&&(ie.precision=le.get("precision"),ie.defaultInterpolatedText=oe,ie.statesModels=r)}}var PATH_COLOR=["textStyle","color"],textStyleParams=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],tmpText=new ZRText$1,TextStyleMixin=function(){function t(){}return t.prototype.getTextColor=function(r){var V=this.ecModel;return this.getShallow("color")||(!r&&V?V.get(PATH_COLOR):null)},t.prototype.getFont=function(){return getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(r){for(var V={text:r,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},oe=0;oe<textStyleParams.length;oe++)V[textStyleParams[oe]]=this.getShallow(textStyleParams[oe]);return tmpText.useStyle(V),tmpText.update(),tmpText.getBoundingRect()},t}();const TextStyleMixin$1=TextStyleMixin;var LINE_STYLE_KEY_MAP=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],getLineStyle=makeStyleMapper(LINE_STYLE_KEY_MAP),LineStyleMixin=function(){function t(){}return t.prototype.getLineStyle=function(r){return getLineStyle(this,r)},t}(),ITEM_STYLE_KEY_MAP=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],getItemStyle=makeStyleMapper(ITEM_STYLE_KEY_MAP),ItemStyleMixin=function(){function t(){}return t.prototype.getItemStyle=function(r,V){return getItemStyle(this,r,V)},t}(),Model=function(){function t(r,V,oe){this.parentModel=V,this.ecModel=oe,this.option=r}return t.prototype.init=function(r,V,oe){},t.prototype.mergeOption=function(r,V){merge(this.option,r,!0)},t.prototype.get=function(r,V){return r==null?this.option:this._doGet(this.parsePath(r),!V&&this.parentModel)},t.prototype.getShallow=function(r,V){var oe=this.option,ie=oe==null?oe:oe[r];if(ie==null&&!V){var le=this.parentModel;le&&(ie=le.getShallow(r))}return ie},t.prototype.getModel=function(r,V){var oe=r!=null,ie=oe?this.parsePath(r):null,le=oe?this._doGet(ie):this.option;return V=V||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(ie)),new t(le,V,this.ecModel)},t.prototype.isEmpty=function(){return this.option==null},t.prototype.restoreData=function(){},t.prototype.clone=function(){var r=this.constructor;return new r(clone$3(this.option))},t.prototype.parsePath=function(r){return typeof r=="string"?r.split("."):r},t.prototype.resolveParentPath=function(r){return r},t.prototype.isAnimationEnabled=function(){if(!env$1.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(r,V){var oe=this.option;if(!r)return oe;for(var ie=0;ie<r.length&&!(r[ie]&&(oe=oe&&typeof oe=="object"?oe[r[ie]]:null,oe==null));ie++);return oe==null&&V&&(oe=V._doGet(this.resolveParentPath(r),V.parentModel)),oe},t}();enableClassExtend(Model);enableClassCheck(Model);mixin(Model,LineStyleMixin);mixin(Model,ItemStyleMixin);mixin(Model,AreaStyleMixin);mixin(Model,TextStyleMixin$1);const Model$1=Model;var base=Math.round(Math.random()*10);function getUID(t){return[t||"",base++].join("_")}function enableSubTypeDefaulter(t){var r={};t.registerSubTypeDefaulter=function(V,oe){var ie=parseClassType(V);r[ie.main]=oe},t.determineSubType=function(V,oe){var ie=oe.type;if(!ie){var le=parseClassType(V).main;t.hasSubTypes(V)&&r[le]&&(ie=r[le](oe))}return ie}}function enableTopologicalTravel(t,r){t.topologicalTravel=function(le,ue,de,pe){if(!le.length)return;var he=V(ue),_e=he.graph,$e=he.noEntryList,Ie={};for(each$c(le,function(At){Ie[At]=!0});$e.length;){var Ve=$e.pop(),Fe=_e[Ve],Ue=!!Ie[Ve];Ue&&(de.call(pe,Ve,Fe.originalDeps.slice()),delete Ie[Ve]),each$c(Fe.successor,Ue?Et:qe)}each$c(Ie,function(){var At="";throw new Error(At)});function qe(At){_e[At].entryCount--,_e[At].entryCount===0&&$e.push(At)}function Et(At){Ie[At]=!0,qe(At)}};function V(le){var ue={},de=[];return each$c(le,function(pe){var he=oe(ue,pe),_e=he.originalDeps=r(pe),$e=ie(_e,le);he.entryCount=$e.length,he.entryCount===0&&de.push(pe),each$c($e,function(Ie){indexOf(he.predecessor,Ie)<0&&he.predecessor.push(Ie);var Ve=oe(ue,Ie);indexOf(Ve.successor,Ie)<0&&Ve.successor.push(pe)})}),{graph:ue,noEntryList:de}}function oe(le,ue){return le[ue]||(le[ue]={predecessor:[],successor:[]}),le[ue]}function ie(le,ue){var de=[];return each$c(le,function(pe){indexOf(ue,pe)>=0&&de.push(pe)}),de}}function inheritDefaultOption(t,r){return merge(merge({},t,!0),r,!0)}const langEN={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},langZH={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env$1.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(t,r){t=t.toUpperCase(),localeModels[t]=new Model$1(r),localeStorage[t]=r}function createLocaleObject(t){if(isString(t)){var r=localeStorage[t.toUpperCase()]||{};return t===LOCALE_ZH||t===LOCALE_EN?clone$3(r):merge(clone$3(r),clone$3(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$3(t),clone$3(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(t){return localeModels[t]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN);registerLocale(LOCALE_ZH,langZH);var ONE_SECOND=1e3,ONE_MINUTE=ONE_SECOND*60,ONE_HOUR=ONE_MINUTE*60,ONE_DAY=ONE_HOUR*24,ONE_YEAR=ONE_DAY*365,defaultLeveledFormatter={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},fullDayFormatter="{yyyy}-{MM}-{dd}",fullLeveledFormatter={year:"{yyyy}",month:"{yyyy}-{MM}",day:fullDayFormatter,hour:fullDayFormatter+" "+defaultLeveledFormatter.hour,minute:fullDayFormatter+" "+defaultLeveledFormatter.minute,second:fullDayFormatter+" "+defaultLeveledFormatter.second,millisecond:defaultLeveledFormatter.none},primaryTimeUnits=["year","month","day","hour","minute","second","millisecond"],timeUnits=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(t,r){return t+="","0000".substr(0,r-t.length)+t}function getPrimaryTimeUnit(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function isPrimaryTimeUnit(t){return t===getPrimaryTimeUnit(t)}function getDefaultFormatPrecisionOfInterval(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format$1(t,r,V,oe){var ie=parseDate(t),le=ie[fullYearGetterName(V)](),ue=ie[monthGetterName(V)]()+1,de=Math.floor((ue-1)/3)+1,pe=ie[dateGetterName(V)](),he=ie["get"+(V?"UTC":"")+"Day"](),_e=ie[hoursGetterName(V)](),$e=(_e-1)%12+1,Ie=ie[minutesGetterName(V)](),Ve=ie[secondsGetterName(V)](),Fe=ie[millisecondsGetterName(V)](),Ue=oe instanceof Model$1?oe:getLocaleModel(oe||SYSTEM_LANG)||getDefaultLocaleModel(),qe=Ue.getModel("time"),Et=qe.get("month"),At=qe.get("monthAbbr"),Lt=qe.get("dayOfWeek"),hn=qe.get("dayOfWeekAbbr");return(r||"").replace(/{yyyy}/g,le+"").replace(/{yy}/g,pad(le%100+"",2)).replace(/{Q}/g,de+"").replace(/{MMMM}/g,Et[ue-1]).replace(/{MMM}/g,At[ue-1]).replace(/{MM}/g,pad(ue,2)).replace(/{M}/g,ue+"").replace(/{dd}/g,pad(pe,2)).replace(/{d}/g,pe+"").replace(/{eeee}/g,Lt[he]).replace(/{ee}/g,hn[he]).replace(/{e}/g,he+"").replace(/{HH}/g,pad(_e,2)).replace(/{H}/g,_e+"").replace(/{hh}/g,pad($e+"",2)).replace(/{h}/g,$e+"").replace(/{mm}/g,pad(Ie,2)).replace(/{m}/g,Ie+"").replace(/{ss}/g,pad(Ve,2)).replace(/{s}/g,Ve+"").replace(/{SSS}/g,pad(Fe,3)).replace(/{S}/g,Fe+"")}function leveledFormat(t,r,V,oe,ie){var le=null;if(isString(V))le=V;else if(isFunction(V))le=V(t.value,r,{level:t.level});else{var ue=extend({},defaultLeveledFormatter);if(t.level>0)for(var de=0;de<primaryTimeUnits.length;++de)ue[primaryTimeUnits[de]]="{primary|"+ue[primaryTimeUnits[de]]+"}";var pe=V?V.inherit===!1?V:defaults(V,ue):ue,he=getUnitFromValue(t.value,ie);if(pe[he])le=pe[he];else if(pe.inherit){for(var _e=timeUnits.indexOf(he),de=_e-1;de>=0;--de)if(pe[he]){le=pe[he];break}le=le||ue.none}if(isArray$1(le)){var $e=t.level==null?0:t.level>=0?t.level:le.length+t.level;$e=Math.min($e,le.length-1),le=le[$e]}}return format$1(new Date(t.value),le,ie,oe)}function getUnitFromValue(t,r){var V=parseDate(t),oe=V[monthGetterName(r)]()+1,ie=V[dateGetterName(r)](),le=V[hoursGetterName(r)](),ue=V[minutesGetterName(r)](),de=V[secondsGetterName(r)](),pe=V[millisecondsGetterName(r)](),he=pe===0,_e=he&&de===0,$e=_e&&ue===0,Ie=$e&&le===0,Ve=Ie&&ie===1,Fe=Ve&&oe===1;return Fe?"year":Ve?"month":Ie?"day":$e?"hour":_e?"minute":he?"second":"millisecond"}function getUnitValue(t,r,V){var oe=isNumber(t)?parseDate(t):t;switch(r=r||getUnitFromValue(t,V),r){case"year":return oe[fullYearGetterName(V)]();case"half-year":return oe[monthGetterName(V)]()>=6?1:0;case"quarter":return Math.floor((oe[monthGetterName(V)]()+1)/4);case"month":return oe[monthGetterName(V)]();case"day":return oe[dateGetterName(V)]();case"half-day":return oe[hoursGetterName(V)]()/24;case"hour":return oe[hoursGetterName(V)]();case"minute":return oe[minutesGetterName(V)]();case"second":return oe[secondsGetterName(V)]();case"millisecond":return oe[millisecondsGetterName(V)]()}}function fullYearGetterName(t){return t?"getUTCFullYear":"getFullYear"}function monthGetterName(t){return t?"getUTCMonth":"getMonth"}function dateGetterName(t){return t?"getUTCDate":"getDate"}function hoursGetterName(t){return t?"getUTCHours":"getHours"}function minutesGetterName(t){return t?"getUTCMinutes":"getMinutes"}function secondsGetterName(t){return t?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(t){return t?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(t){return t?"setUTCFullYear":"setFullYear"}function monthSetterName(t){return t?"setUTCMonth":"setMonth"}function dateSetterName(t){return t?"setUTCDate":"setDate"}function hoursSetterName(t){return t?"setUTCHours":"setHours"}function minutesSetterName(t){return t?"setUTCMinutes":"setMinutes"}function secondsSetterName(t){return t?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(t){return t?"setUTCMilliseconds":"setMilliseconds"}function getTextRect(t,r,V,oe,ie,le,ue,de){var pe=new ZRText$1({style:{text:t,font:r,align:V,verticalAlign:oe,padding:ie,rich:le,overflow:ue?"truncate":null,lineHeight:de}});return pe.getBoundingRect()}function addCommas(t){if(!isNumeric(t))return isString(t)?t:"-";var r=(t+"").split(".");return r[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(r.length>1?"."+r[1]:"")}function toCamelCase(t,r){return t=(t||"").toLowerCase().replace(/-(.)/g,function(V,oe){return oe.toUpperCase()}),r&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(t,r,V){var oe="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function ie(_e){return _e&&trim$1(_e)?_e:"-"}function le(_e){return!!(_e!=null&&!isNaN(_e)&&isFinite(_e))}var ue=r==="time",de=t instanceof Date;if(ue||de){var pe=ue?parseDate(t):t;if(isNaN(+pe)){if(de)return"-"}else return format$1(pe,oe,V)}if(r==="ordinal")return isStringSafe(t)?ie(t):isNumber(t)&&le(t)?t+"":"-";var he=numericToNumber(t);return le(he)?addCommas(he):isStringSafe(t)?ie(t):typeof t=="boolean"?t+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(t,r){return"{"+t+(r??"")+"}"};function formatTpl(t,r,V){isArray$1(r)||(r=[r]);var oe=r.length;if(!oe)return"";for(var ie=r[0].$vars||[],le=0;le<ie.length;le++){var ue=TPL_VAR_ALIAS[le];t=t.replace(wrapVar(ue),wrapVar(ue,0))}for(var de=0;de<oe;de++)for(var pe=0;pe<ie.length;pe++){var he=r[de][ie[pe]];t=t.replace(wrapVar(TPL_VAR_ALIAS[pe],de),V?encodeHTML(he):he)}return t}function getTooltipMarker(t,r){var V=isString(t)?{color:t,extraCssText:r}:t||{},oe=V.color,ie=V.type;r=V.extraCssText;var le=V.renderMode||"html";if(!oe)return"";if(le==="html")return ie==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+encodeHTML(oe)+";"+(r||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+encodeHTML(oe)+";"+(r||"")+'"></span>';var ue=V.markerId||"markerX";return{renderMode:le,content:"{"+ue+"|} ",style:ie==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:oe}:{width:10,height:10,borderRadius:5,backgroundColor:oe}}}function formatTime(t,r,V){(t==="week"||t==="month"||t==="quarter"||t==="half-year"||t==="year")&&(t=`MM-dd
|
||
yyyy`);var oe=parseDate(r),ie=V?"getUTC":"get",le=oe[ie+"FullYear"](),ue=oe[ie+"Month"]()+1,de=oe[ie+"Date"](),pe=oe[ie+"Hours"](),he=oe[ie+"Minutes"](),_e=oe[ie+"Seconds"](),$e=oe[ie+"Milliseconds"]();return t=t.replace("MM",pad(ue,2)).replace("M",ue).replace("yyyy",le).replace("yy",pad(le%100+"",2)).replace("dd",pad(de,2)).replace("d",de).replace("hh",pad(pe,2)).replace("h",pe).replace("mm",pad(he,2)).replace("m",he).replace("ss",pad(_e,2)).replace("s",_e).replace("SSS",pad($e,3)),t}function capitalFirst(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)}function convertToColorString(t,r){return r=r||"transparent",isString(t)?t:isObject$3(t)&&t.colorStops&&(t.colorStops[0]||{}).color||r}function windowOpen(t,r){if(r==="_blank"||r==="blank"){var V=window.open();V.opener=null,V.location.href=t}else window.open(t,r)}var each$b=each$c,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(t,r,V,oe,ie){var le=0,ue=0;oe==null&&(oe=1/0),ie==null&&(ie=1/0);var de=0;r.eachChild(function(pe,he){var _e=pe.getBoundingRect(),$e=r.childAt(he+1),Ie=$e&&$e.getBoundingRect(),Ve,Fe;if(t==="horizontal"){var Ue=_e.width+(Ie?-Ie.x+_e.x:0);Ve=le+Ue,Ve>oe||pe.newline?(le=0,Ve=Ue,ue+=de+V,de=_e.height):de=Math.max(de,_e.height)}else{var qe=_e.height+(Ie?-Ie.y+_e.y:0);Fe=ue+qe,Fe>ie||pe.newline?(le+=de+V,ue=0,Fe=qe,de=_e.width):de=Math.max(de,_e.width)}pe.newline||(pe.x=le,pe.y=ue,pe.markRedraw(),t==="horizontal"?le=Ve+V:ue=Fe+V)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getLayoutRect(t,r,V){V=normalizeCssArray(V||0);var oe=r.width,ie=r.height,le=parsePercent(t.left,oe),ue=parsePercent(t.top,ie),de=parsePercent(t.right,oe),pe=parsePercent(t.bottom,ie),he=parsePercent(t.width,oe),_e=parsePercent(t.height,ie),$e=V[2]+V[0],Ie=V[1]+V[3],Ve=t.aspect;switch(isNaN(he)&&(he=oe-de-Ie-le),isNaN(_e)&&(_e=ie-pe-$e-ue),Ve!=null&&(isNaN(he)&&isNaN(_e)&&(Ve>oe/ie?he=oe*.8:_e=ie*.8),isNaN(he)&&(he=Ve*_e),isNaN(_e)&&(_e=he/Ve)),isNaN(le)&&(le=oe-de-he-Ie),isNaN(ue)&&(ue=ie-pe-_e-$e),t.left||t.right){case"center":le=oe/2-he/2-V[3];break;case"right":le=oe-he-Ie;break}switch(t.top||t.bottom){case"middle":case"center":ue=ie/2-_e/2-V[0];break;case"bottom":ue=ie-_e-$e;break}le=le||0,ue=ue||0,isNaN(he)&&(he=oe-Ie-le-(de||0)),isNaN(_e)&&(_e=ie-$e-ue-(pe||0));var Fe=new BoundingRect$1(le+V[3],ue+V[0],he,_e);return Fe.margin=V,Fe}function positionElement(t,r,V,oe,ie,le){var ue=!ie||!ie.hv||ie.hv[0],de=!ie||!ie.hv||ie.hv[1],pe=ie&&ie.boundingMode||"all";if(le=le||t,le.x=t.x,le.y=t.y,!ue&&!de)return!1;var he;if(pe==="raw")he=t.type==="group"?new BoundingRect$1(0,0,+r.width||0,+r.height||0):t.getBoundingRect();else if(he=t.getBoundingRect(),t.needLocalTransform()){var _e=t.getLocalTransform();he=he.clone(),he.applyTransform(_e)}var $e=getLayoutRect(defaults({width:he.width,height:he.height},r),V,oe),Ie=ue?$e.x-he.x:0,Ve=de?$e.y-he.y:0;return pe==="raw"?(le.x=Ie,le.y=Ve):(le.x+=Ie,le.y+=Ve),le===t&&t.markRedraw(),!0}function fetchLayoutMode(t){var r=t.layoutMode||t.constructor.layoutMode;return isObject$3(r)?r:r?{type:r}:null}function mergeLayoutParam(t,r,V){var oe=V&&V.ignoreSize;!isArray$1(oe)&&(oe=[oe,oe]);var ie=ue(HV_NAMES[0],0),le=ue(HV_NAMES[1],1);he(HV_NAMES[0],t,ie),he(HV_NAMES[1],t,le);function ue(_e,$e){var Ie={},Ve=0,Fe={},Ue=0,qe=2;if(each$b(_e,function(Lt){Fe[Lt]=t[Lt]}),each$b(_e,function(Lt){de(r,Lt)&&(Ie[Lt]=Fe[Lt]=r[Lt]),pe(Ie,Lt)&&Ve++,pe(Fe,Lt)&&Ue++}),oe[$e])return pe(r,_e[1])?Fe[_e[2]]=null:pe(r,_e[2])&&(Fe[_e[1]]=null),Fe;if(Ue===qe||!Ve)return Fe;if(Ve>=qe)return Ie;for(var Et=0;Et<_e.length;Et++){var At=_e[Et];if(!de(Ie,At)&&de(t,At)){Ie[At]=t[At];break}}return Ie}function de(_e,$e){return _e.hasOwnProperty($e)}function pe(_e,$e){return _e[$e]!=null&&_e[$e]!=="auto"}function he(_e,$e,Ie){each$b(_e,function(Ve){$e[Ve]=Ie[Ve]})}}function getLayoutParams(t){return copyLayoutParams({},t)}function copyLayoutParams(t,r){return r&&t&&each$b(LOCATION_PARAMS,function(V){r.hasOwnProperty(V)&&(t[V]=r[V])}),t}var inner$c=makeInner(),ComponentModel=function(t){__extends(r,t);function r(V,oe,ie){var le=t.call(this,V,oe,ie)||this;return le.uid=getUID("ec_cpt_model"),le}return r.prototype.init=function(V,oe,ie){this.mergeDefaultAndTheme(V,ie)},r.prototype.mergeDefaultAndTheme=function(V,oe){var ie=fetchLayoutMode(this),le=ie?getLayoutParams(V):{},ue=oe.getTheme();merge(V,ue.get(this.mainType)),merge(V,this.getDefaultOption()),ie&&mergeLayoutParam(V,le,ie)},r.prototype.mergeOption=function(V,oe){merge(this.option,V,!0);var ie=fetchLayoutMode(this);ie&&mergeLayoutParam(this.option,V,ie)},r.prototype.optionUpdated=function(V,oe){},r.prototype.getDefaultOption=function(){var V=this.constructor;if(!isExtendedClass(V))return V.defaultOption;var oe=inner$c(this);if(!oe.defaultOption){for(var ie=[],le=V;le;){var ue=le.prototype.defaultOption;ue&&ie.push(ue),le=le.superClass}for(var de={},pe=ie.length-1;pe>=0;pe--)de=merge(de,ie[pe],!0);oe.defaultOption=de}return oe.defaultOption},r.prototype.getReferringComponents=function(V,oe){var ie=V+"Index",le=V+"Id";return queryReferringComponents(this.ecModel,V,{index:this.get(ie,!0),id:this.get(le,!0)},oe)},r.prototype.getBoxLayoutParams=function(){var V=this;return{left:V.get("left"),top:V.get("top"),right:V.get("right"),bottom:V.get("bottom"),width:V.get("width"),height:V.get("height")}},r.prototype.getZLevelKey=function(){return""},r.prototype.setZLevel=function(V){this.option.zlevel=V},r.protoInitialize=function(){var V=r.prototype;V.type="component",V.id="",V.name="",V.mainType="",V.subType="",V.componentIndex=0}(),r}(Model$1);mountExtend(ComponentModel,Model$1);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(t){var r=[];return each$c(ComponentModel.getClassesByMainType(t),function(V){r=r.concat(V.dependencies||V.prototype.dependencies||[])}),r=map$2(r,function(V){return parseClassType(V).main}),t!=="dataset"&&indexOf(r,"dataset")<=0&&r.unshift("dataset"),r}const ComponentModel$1=ComponentModel;var platform="";typeof navigator<"u"&&(platform=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)";const globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(t){innerGlobalModel(t).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(t,r,V){var oe={},ie=querySeriesUpstreamDatasetModel(r);if(!ie||!t)return oe;var le=[],ue=[],de=r.ecModel,pe=innerGlobalModel(de).datasetMap,he=ie.uid+"_"+V.seriesLayoutBy,_e,$e;t=t.slice(),each$c(t,function(Ue,qe){var Et=isObject$3(Ue)?Ue:t[qe]={name:Ue};Et.type==="ordinal"&&_e==null&&(_e=qe,$e=Fe(Et)),oe[Et.name]=[]});var Ie=pe.get(he)||pe.set(he,{categoryWayDim:$e,valueWayDim:0});each$c(t,function(Ue,qe){var Et=Ue.name,At=Fe(Ue);if(_e==null){var Lt=Ie.valueWayDim;Ve(oe[Et],Lt,At),Ve(ue,Lt,At),Ie.valueWayDim+=At}else if(_e===qe)Ve(oe[Et],0,At),Ve(le,0,At);else{var Lt=Ie.categoryWayDim;Ve(oe[Et],Lt,At),Ve(ue,Lt,At),Ie.categoryWayDim+=At}});function Ve(Ue,qe,Et){for(var At=0;At<Et;At++)Ue.push(qe+At)}function Fe(Ue){var qe=Ue.dimsDef;return qe?qe.length:1}return le.length&&(oe.itemName=le),ue.length&&(oe.seriesName=ue),oe}function makeSeriesEncodeForNameBased(t,r,V){var oe={},ie=querySeriesUpstreamDatasetModel(t);if(!ie)return oe;var le=r.sourceFormat,ue=r.dimensionsDefine,de;(le===SOURCE_FORMAT_OBJECT_ROWS||le===SOURCE_FORMAT_KEYED_COLUMNS)&&each$c(ue,function(_e,$e){(isObject$3(_e)?_e.name:_e)==="name"&&(de=$e)});var pe=function(){for(var _e={},$e={},Ie=[],Ve=0,Fe=Math.min(5,V);Ve<Fe;Ve++){var Ue=doGuessOrdinal(r.data,le,r.seriesLayoutBy,ue,r.startIndex,Ve);Ie.push(Ue);var qe=Ue===BE_ORDINAL.Not;if(qe&&_e.v==null&&Ve!==de&&(_e.v=Ve),(_e.n==null||_e.n===_e.v||!qe&&Ie[_e.n]===BE_ORDINAL.Not)&&(_e.n=Ve),Et(_e)&&Ie[_e.n]!==BE_ORDINAL.Not)return _e;qe||(Ue===BE_ORDINAL.Might&&$e.v==null&&Ve!==de&&($e.v=Ve),($e.n==null||$e.n===$e.v)&&($e.n=Ve))}function Et(At){return At.v!=null&&At.n!=null}return Et(_e)?_e:Et($e)?$e:null}();if(pe){oe.value=[pe.v];var he=de??pe.n;oe.itemName=[he],oe.seriesName=[he]}return oe}function querySeriesUpstreamDatasetModel(t){var r=t.get("data",!0);if(!r)return queryReferringComponents(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},SINGLE_REFERRING).models[0]}function queryDatasetUpstreamDatasetModels(t){return!t.get("transform",!0)&&!t.get("fromTransformResult",!0)?[]:queryReferringComponents(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},SINGLE_REFERRING).models}function guessOrdinal(t,r){return doGuessOrdinal(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,r)}function doGuessOrdinal(t,r,V,oe,ie,le){var ue,de=5;if(isTypedArray(t))return BE_ORDINAL.Not;var pe,he;if(oe){var _e=oe[le];isObject$3(_e)?(pe=_e.name,he=_e.type):isString(_e)&&(pe=_e)}if(he!=null)return he==="ordinal"?BE_ORDINAL.Must:BE_ORDINAL.Not;if(r===SOURCE_FORMAT_ARRAY_ROWS){var $e=t;if(V===SERIES_LAYOUT_BY_ROW){for(var Ie=$e[le],Ve=0;Ve<(Ie||[]).length&&Ve<de;Ve++)if((ue=hn(Ie[ie+Ve]))!=null)return ue}else for(var Ve=0;Ve<$e.length&&Ve<de;Ve++){var Fe=$e[ie+Ve];if(Fe&&(ue=hn(Fe[le]))!=null)return ue}}else if(r===SOURCE_FORMAT_OBJECT_ROWS){var Ue=t;if(!pe)return BE_ORDINAL.Not;for(var Ve=0;Ve<Ue.length&&Ve<de;Ve++){var qe=Ue[Ve];if(qe&&(ue=hn(qe[pe]))!=null)return ue}}else if(r===SOURCE_FORMAT_KEYED_COLUMNS){var Et=t;if(!pe)return BE_ORDINAL.Not;var Ie=Et[pe];if(!Ie||isTypedArray(Ie))return BE_ORDINAL.Not;for(var Ve=0;Ve<Ie.length&&Ve<de;Ve++)if((ue=hn(Ie[Ve]))!=null)return ue}else if(r===SOURCE_FORMAT_ORIGINAL)for(var At=t,Ve=0;Ve<At.length&&Ve<de;Ve++){var qe=At[Ve],Lt=getDataItemValue(qe);if(!isArray$1(Lt))return BE_ORDINAL.Not;if((ue=hn(Lt[le]))!=null)return ue}function hn(_n){var vn=isString(_n);if(_n!=null&&isFinite(_n)&&_n!=="")return vn?BE_ORDINAL.Might:BE_ORDINAL.Not;if(vn&&_n!=="-")return BE_ORDINAL.Must}return BE_ORDINAL.Not}var internalOptionCreatorMap=createHashMap();function registerInternalOptionCreator(t,r){assert(internalOptionCreatorMap.get(t)==null&&r),internalOptionCreatorMap.set(t,r)}function concatInternalOptions(t,r,V){var oe=internalOptionCreatorMap.get(r);if(!oe)return V;var ie=oe(t);return ie?V.concat(ie):V}var innerColor=makeInner();makeInner();var PaletteMixin=function(){function t(){}return t.prototype.getColorFromPalette=function(r,V,oe){var ie=normalizeToArray(this.get("color",!0)),le=this.get("colorLayer",!0);return getFromPalette(this,innerColor,ie,le,r,V,oe)},t.prototype.clearColorPalette=function(){clearPalette(this,innerColor)},t}();function getNearestPalette(t,r){for(var V=t.length,oe=0;oe<V;oe++)if(t[oe].length>r)return t[oe];return t[V-1]}function getFromPalette(t,r,V,oe,ie,le,ue){le=le||t;var de=r(le),pe=de.paletteIdx||0,he=de.paletteNameMap=de.paletteNameMap||{};if(he.hasOwnProperty(ie))return he[ie];var _e=ue==null||!oe?V:getNearestPalette(oe,ue);if(_e=_e||V,!(!_e||!_e.length)){var $e=_e[pe];return ie&&(he[ie]=$e),de.paletteIdx=(pe+1)%_e.length,$e}}function clearPalette(t,r){r(t).paletteIdx=0,r(t).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.init=function(V,oe,ie,le,ue,de){le=le||{},this.option=null,this._theme=new Model$1(le),this._locale=new Model$1(ue),this._optionManager=de},r.prototype.setOption=function(V,oe,ie){var le=normalizeSetOptionInput(oe);this._optionManager.setOption(V,ie,le),this._resetOption(null,le)},r.prototype.resetOption=function(V,oe){return this._resetOption(V,normalizeSetOptionInput(oe))},r.prototype._resetOption=function(V,oe){var ie=!1,le=this._optionManager;if(!V||V==="recreate"){var ue=le.mountOption(V==="recreate");!this.option||V==="recreate"?initBase(this,ue):(this.restoreData(),this._mergeOption(ue,oe)),ie=!0}if((V==="timeline"||V==="media")&&this.restoreData(),!V||V==="recreate"||V==="timeline"){var de=le.getTimelineOption(this);de&&(ie=!0,this._mergeOption(de,oe))}if(!V||V==="recreate"||V==="media"){var pe=le.getMediaOption(this);pe.length&&each$c(pe,function(he){ie=!0,this._mergeOption(he,oe)},this)}return ie},r.prototype.mergeOption=function(V){this._mergeOption(V,null)},r.prototype._mergeOption=function(V,oe){var ie=this.option,le=this._componentsMap,ue=this._componentsCount,de=[],pe=createHashMap(),he=oe&&oe.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$c(V,function($e,Ie){$e!=null&&(ComponentModel$1.hasClass(Ie)?Ie&&(de.push(Ie),pe.set(Ie,!0)):ie[Ie]=ie[Ie]==null?clone$3($e):merge(ie[Ie],$e,!0))}),he&&he.each(function($e,Ie){ComponentModel$1.hasClass(Ie)&&!pe.get(Ie)&&(de.push(Ie),pe.set(Ie,!0))}),ComponentModel$1.topologicalTravel(de,ComponentModel$1.getAllClassMainTypes(),_e,this);function _e($e){var Ie=concatInternalOptions(this,$e,normalizeToArray(V[$e])),Ve=le.get($e),Fe=Ve?he&&he.get($e)?"replaceMerge":"normalMerge":"replaceAll",Ue=mappingToExists(Ve,Ie,Fe);setComponentTypeToKeyInfo(Ue,$e,ComponentModel$1),ie[$e]=null,le.set($e,null),ue.set($e,0);var qe=[],Et=[],At=0,Lt;each$c(Ue,function(hn,_n){var vn=hn.existing,bn=hn.newOption;if(!bn)vn&&(vn.mergeOption({},this),vn.optionUpdated({},!1));else{var Cn=$e==="series",Sn=ComponentModel$1.getClass($e,hn.keyInfo.subType,!Cn);if(!Sn)return;if($e==="tooltip"){if(Lt)return;Lt=!0}if(vn&&vn.constructor===Sn)vn.name=hn.keyInfo.name,vn.mergeOption(bn,this),vn.optionUpdated(bn,!1);else{var wn=extend({componentIndex:_n},hn.keyInfo);vn=new Sn(bn,this,this,wn),extend(vn,wn),hn.brandNew&&(vn.__requireNewView=!0),vn.init(bn,this,this),vn.optionUpdated(null,!0)}}vn?(qe.push(vn.option),Et.push(vn),At++):(qe.push(void 0),Et.push(void 0))},this),ie[$e]=qe,le.set($e,Et),ue.set($e,At),$e==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},r.prototype.getOption=function(){var V=clone$3(this.option);return each$c(V,function(oe,ie){if(ComponentModel$1.hasClass(ie)){for(var le=normalizeToArray(oe),ue=le.length,de=!1,pe=ue-1;pe>=0;pe--)le[pe]&&!isComponentIdInternal(le[pe])?de=!0:(le[pe]=null,!de&&ue--);le.length=ue,V[ie]=le}}),delete V[OPTION_INNER_KEY],V},r.prototype.getTheme=function(){return this._theme},r.prototype.getLocaleModel=function(){return this._locale},r.prototype.setUpdatePayload=function(V){this._payload=V},r.prototype.getUpdatePayload=function(){return this._payload},r.prototype.getComponent=function(V,oe){var ie=this._componentsMap.get(V);if(ie){var le=ie[oe||0];if(le)return le;if(oe==null){for(var ue=0;ue<ie.length;ue++)if(ie[ue])return ie[ue]}}},r.prototype.queryComponents=function(V){var oe=V.mainType;if(!oe)return[];var ie=V.index,le=V.id,ue=V.name,de=this._componentsMap.get(oe);if(!de||!de.length)return[];var pe;return ie!=null?(pe=[],each$c(normalizeToArray(ie),function(he){de[he]&&pe.push(de[he])})):le!=null?pe=queryByIdOrName("id",le,de):ue!=null?pe=queryByIdOrName("name",ue,de):pe=filter(de,function(he){return!!he}),filterBySubType(pe,V)},r.prototype.findComponents=function(V){var oe=V.query,ie=V.mainType,le=de(oe),ue=le?this.queryComponents(le):filter(this._componentsMap.get(ie),function(he){return!!he});return pe(filterBySubType(ue,V));function de(he){var _e=ie+"Index",$e=ie+"Id",Ie=ie+"Name";return he&&(he[_e]!=null||he[$e]!=null||he[Ie]!=null)?{mainType:ie,index:he[_e],id:he[$e],name:he[Ie]}:null}function pe(he){return V.filter?filter(he,V.filter):he}},r.prototype.eachComponent=function(V,oe,ie){var le=this._componentsMap;if(isFunction(V)){var ue=oe,de=V;le.each(function($e,Ie){for(var Ve=0;$e&&Ve<$e.length;Ve++){var Fe=$e[Ve];Fe&&de.call(ue,Ie,Fe,Fe.componentIndex)}})}else for(var pe=isString(V)?le.get(V):isObject$3(V)?this.findComponents(V):null,he=0;pe&&he<pe.length;he++){var _e=pe[he];_e&&oe.call(ie,_e,_e.componentIndex)}},r.prototype.getSeriesByName=function(V){var oe=convertOptionIdName(V,null);return filter(this._componentsMap.get("series"),function(ie){return!!ie&&oe!=null&&ie.name===oe})},r.prototype.getSeriesByIndex=function(V){return this._componentsMap.get("series")[V]},r.prototype.getSeriesByType=function(V){return filter(this._componentsMap.get("series"),function(oe){return!!oe&&oe.subType===V})},r.prototype.getSeries=function(){return filter(this._componentsMap.get("series"),function(V){return!!V})},r.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},r.prototype.eachSeries=function(V,oe){assertSeriesInitialized(this),each$c(this._seriesIndices,function(ie){var le=this._componentsMap.get("series")[ie];V.call(oe,le,ie)},this)},r.prototype.eachRawSeries=function(V,oe){each$c(this._componentsMap.get("series"),function(ie){ie&&V.call(oe,ie,ie.componentIndex)})},r.prototype.eachSeriesByType=function(V,oe,ie){assertSeriesInitialized(this),each$c(this._seriesIndices,function(le){var ue=this._componentsMap.get("series")[le];ue.subType===V&&oe.call(ie,ue,le)},this)},r.prototype.eachRawSeriesByType=function(V,oe,ie){return each$c(this.getSeriesByType(V),oe,ie)},r.prototype.isSeriesFiltered=function(V){return assertSeriesInitialized(this),this._seriesIndicesMap.get(V.componentIndex)==null},r.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},r.prototype.filterSeries=function(V,oe){assertSeriesInitialized(this);var ie=[];each$c(this._seriesIndices,function(le){var ue=this._componentsMap.get("series")[le];V.call(oe,ue,le)&&ie.push(le)},this),this._seriesIndices=ie,this._seriesIndicesMap=createHashMap(ie)},r.prototype.restoreData=function(V){reCreateSeriesIndices(this);var oe=this._componentsMap,ie=[];oe.each(function(le,ue){ComponentModel$1.hasClass(ue)&&ie.push(ue)}),ComponentModel$1.topologicalTravel(ie,ComponentModel$1.getAllClassMainTypes(),function(le){each$c(oe.get(le),function(ue){ue&&(le!=="series"||!isNotTargetSeries(ue,V))&&ue.restoreData()})})},r.internalField=function(){reCreateSeriesIndices=function(V){var oe=V._seriesIndices=[];each$c(V._componentsMap.get("series"),function(ie){ie&&oe.push(ie.componentIndex)}),V._seriesIndicesMap=createHashMap(oe)},assertSeriesInitialized=function(V){},initBase=function(V,oe){V.option={},V.option[OPTION_INNER_KEY]=OPTION_INNER_VALUE,V._componentsMap=createHashMap({series:[]}),V._componentsCount=createHashMap();var ie=oe.aria;isObject$3(ie)&&ie.enabled==null&&(ie.enabled=!0),mergeTheme(oe,V._theme.option),merge(oe,globalDefault,!1),V._mergeOption(oe,null)}}(),r}(Model$1);function isNotTargetSeries(t,r){if(r){var V=r.seriesIndex,oe=r.seriesId,ie=r.seriesName;return V!=null&&t.componentIndex!==V||oe!=null&&t.id!==oe||ie!=null&&t.name!==ie}}function mergeTheme(t,r){var V=t.color&&!t.colorLayer;each$c(r,function(oe,ie){ie==="colorLayer"&&V||ComponentModel$1.hasClass(ie)||(typeof oe=="object"?t[ie]=t[ie]?merge(t[ie],oe,!1):clone$3(oe):t[ie]==null&&(t[ie]=oe))})}function queryByIdOrName(t,r,V){if(isArray$1(r)){var oe=createHashMap();return each$c(r,function(le){if(le!=null){var ue=convertOptionIdName(le,null);ue!=null&&oe.set(le,!0)}}),filter(V,function(le){return le&&oe.get(le[t])})}else{var ie=convertOptionIdName(r,null);return filter(V,function(le){return le&&ie!=null&&le[t]===ie})}}function filterBySubType(t,r){return r.hasOwnProperty("subType")?filter(t,function(V){return V&&V.subType===r.subType}):t}function normalizeSetOptionInput(t){var r=createHashMap();return t&&each$c(normalizeToArray(t.replaceMerge),function(V){r.set(V,!0)}),{replaceMergeMainTypeMap:r}}mixin(GlobalModel,PaletteMixin);const GlobalModel$1=GlobalModel;var availableMethods=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],ExtensionAPI=function(){function t(r){each$c(availableMethods,function(V){this[V]=bind$1(r[V],r)},this)}return t}();const ExtensionAPI$1=ExtensionAPI;var coordinateSystemCreators={},CoordinateSystemManager=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(r,V){var oe=[];each$c(coordinateSystemCreators,function(ie,le){var ue=ie.create(r,V);oe=oe.concat(ue||[])}),this._coordinateSystems=oe},t.prototype.update=function(r,V){each$c(this._coordinateSystems,function(oe){oe.update&&oe.update(r,V)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(r,V){coordinateSystemCreators[r]=V},t.get=function(r){return coordinateSystemCreators[r]},t}();const CoordinateSystem=CoordinateSystemManager;var QUERY_REG=/^(min|max)?(.+)$/,OptionManager=function(){function t(r){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=r}return t.prototype.setOption=function(r,V,oe){r&&(each$c(normalizeToArray(r.series),function(ue){ue&&ue.data&&isTypedArray(ue.data)&&setAsPrimitive(ue.data)}),each$c(normalizeToArray(r.dataset),function(ue){ue&&ue.source&&isTypedArray(ue.source)&&setAsPrimitive(ue.source)})),r=clone$3(r);var ie=this._optionBackup,le=parseRawOption(r,V,!ie);this._newBaseOption=le.baseOption,ie?(le.timelineOptions.length&&(ie.timelineOptions=le.timelineOptions),le.mediaList.length&&(ie.mediaList=le.mediaList),le.mediaDefault&&(ie.mediaDefault=le.mediaDefault)):this._optionBackup=le},t.prototype.mountOption=function(r){var V=this._optionBackup;return this._timelineOptions=V.timelineOptions,this._mediaList=V.mediaList,this._mediaDefault=V.mediaDefault,this._currentMediaIndices=[],clone$3(r?V.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(r){var V,oe=this._timelineOptions;if(oe.length){var ie=r.getComponent("timeline");ie&&(V=clone$3(oe[ie.getCurrentIndex()]))}return V},t.prototype.getMediaOption=function(r){var V=this._api.getWidth(),oe=this._api.getHeight(),ie=this._mediaList,le=this._mediaDefault,ue=[],de=[];if(!ie.length&&!le)return de;for(var pe=0,he=ie.length;pe<he;pe++)applyMediaQuery(ie[pe].query,V,oe)&&ue.push(pe);return!ue.length&&le&&(ue=[-1]),ue.length&&!indicesEquals(ue,this._currentMediaIndices)&&(de=map$2(ue,function(_e){return clone$3(_e===-1?le.option:ie[_e].option)})),this._currentMediaIndices=ue,de},t}();function parseRawOption(t,r,V){var oe=[],ie,le,ue=t.baseOption,de=t.timeline,pe=t.options,he=t.media,_e=!!t.media,$e=!!(pe||de||ue&&ue.timeline);ue?(le=ue,le.timeline||(le.timeline=de)):(($e||_e)&&(t.options=t.media=null),le=t),_e&&isArray$1(he)&&each$c(he,function(Ve){Ve&&Ve.option&&(Ve.query?oe.push(Ve):ie||(ie=Ve))}),Ie(le),each$c(pe,function(Ve){return Ie(Ve)}),each$c(oe,function(Ve){return Ie(Ve.option)});function Ie(Ve){each$c(r,function(Fe){Fe(Ve,V)})}return{baseOption:le,timelineOptions:pe||[],mediaDefault:ie,mediaList:oe}}function applyMediaQuery(t,r,V){var oe={width:r,height:V,aspectratio:r/V},ie=!0;return each$c(t,function(le,ue){var de=ue.match(QUERY_REG);if(!(!de||!de[1]||!de[2])){var pe=de[1],he=de[2].toLowerCase();compare(oe[he],le,pe)||(ie=!1)}}),ie}function compare(t,r,V){return V==="min"?t>=r:V==="max"?t<=r:t===r}function indicesEquals(t,r){return t.join(",")===r.join(",")}const OptionManager$1=OptionManager;var each$a=each$c,isObject$2=isObject$3,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(t){var r=t&&t.itemStyle;if(r)for(var V=0,oe=POSSIBLE_STYLES.length;V<oe;V++){var ie=POSSIBLE_STYLES[V],le=r.normal,ue=r.emphasis;le&&le[ie]&&(t[ie]=t[ie]||{},t[ie].normal?merge(t[ie].normal,le[ie]):t[ie].normal=le[ie],le[ie]=null),ue&&ue[ie]&&(t[ie]=t[ie]||{},t[ie].emphasis?merge(t[ie].emphasis,ue[ie]):t[ie].emphasis=ue[ie],ue[ie]=null)}}function convertNormalEmphasis(t,r,V){if(t&&t[r]&&(t[r].normal||t[r].emphasis)){var oe=t[r].normal,ie=t[r].emphasis;oe&&(V?(t[r].normal=t[r].emphasis=null,defaults(t[r],oe)):t[r]=oe),ie&&(t.emphasis=t.emphasis||{},t.emphasis[r]=ie,ie.focus&&(t.emphasis.focus=ie.focus),ie.blurScope&&(t.emphasis.blurScope=ie.blurScope))}}function removeEC3NormalStatus(t){convertNormalEmphasis(t,"itemStyle"),convertNormalEmphasis(t,"lineStyle"),convertNormalEmphasis(t,"areaStyle"),convertNormalEmphasis(t,"label"),convertNormalEmphasis(t,"labelLine"),convertNormalEmphasis(t,"upperLabel"),convertNormalEmphasis(t,"edgeLabel")}function compatTextStyle(t,r){var V=isObject$2(t)&&t[r],oe=isObject$2(V)&&V.textStyle;if(oe)for(var ie=0,le=TEXT_STYLE_OPTIONS.length;ie<le;ie++){var ue=TEXT_STYLE_OPTIONS[ie];oe.hasOwnProperty(ue)&&(V[ue]=oe[ue])}}function compatEC3CommonStyles(t){t&&(removeEC3NormalStatus(t),compatTextStyle(t,"label"),t.emphasis&&compatTextStyle(t.emphasis,"label"))}function processSeries(t){if(isObject$2(t)){compatEC2ItemStyle(t),removeEC3NormalStatus(t),compatTextStyle(t,"label"),compatTextStyle(t,"upperLabel"),compatTextStyle(t,"edgeLabel"),t.emphasis&&(compatTextStyle(t.emphasis,"label"),compatTextStyle(t.emphasis,"upperLabel"),compatTextStyle(t.emphasis,"edgeLabel"));var r=t.markPoint;r&&(compatEC2ItemStyle(r),compatEC3CommonStyles(r));var V=t.markLine;V&&(compatEC2ItemStyle(V),compatEC3CommonStyles(V));var oe=t.markArea;oe&&compatEC3CommonStyles(oe);var ie=t.data;if(t.type==="graph"){ie=ie||t.nodes;var le=t.links||t.edges;if(le&&!isTypedArray(le))for(var ue=0;ue<le.length;ue++)compatEC3CommonStyles(le[ue]);each$c(t.categories,function(he){removeEC3NormalStatus(he)})}if(ie&&!isTypedArray(ie))for(var ue=0;ue<ie.length;ue++)compatEC3CommonStyles(ie[ue]);if(r=t.markPoint,r&&r.data)for(var de=r.data,ue=0;ue<de.length;ue++)compatEC3CommonStyles(de[ue]);if(V=t.markLine,V&&V.data)for(var pe=V.data,ue=0;ue<pe.length;ue++)isArray$1(pe[ue])?(compatEC3CommonStyles(pe[ue][0]),compatEC3CommonStyles(pe[ue][1])):compatEC3CommonStyles(pe[ue]);t.type==="gauge"?(compatTextStyle(t,"axisLabel"),compatTextStyle(t,"title"),compatTextStyle(t,"detail")):t.type==="treemap"?(convertNormalEmphasis(t.breadcrumb,"itemStyle"),each$c(t.levels,function(he){removeEC3NormalStatus(he)})):t.type==="tree"&&removeEC3NormalStatus(t.leaves)}}function toArr(t){return isArray$1(t)?t:t?[t]:[]}function toObj(t){return(isArray$1(t)?t[0]:t)||{}}function globalCompatStyle(t,r){each$a(toArr(t.series),function(oe){isObject$2(oe)&&processSeries(oe)});var V=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];r&&V.push("valueAxis","categoryAxis","logAxis","timeAxis"),each$a(V,function(oe){each$a(toArr(t[oe]),function(ie){ie&&(compatTextStyle(ie,"axisLabel"),compatTextStyle(ie.axisPointer,"label"))})}),each$a(toArr(t.parallel),function(oe){var ie=oe&&oe.parallelAxisDefault;compatTextStyle(ie,"axisLabel"),compatTextStyle(ie&&ie.axisPointer,"label")}),each$a(toArr(t.calendar),function(oe){convertNormalEmphasis(oe,"itemStyle"),compatTextStyle(oe,"dayLabel"),compatTextStyle(oe,"monthLabel"),compatTextStyle(oe,"yearLabel")}),each$a(toArr(t.radar),function(oe){compatTextStyle(oe,"name"),oe.name&&oe.axisName==null&&(oe.axisName=oe.name,delete oe.name),oe.nameGap!=null&&oe.axisNameGap==null&&(oe.axisNameGap=oe.nameGap,delete oe.nameGap)}),each$a(toArr(t.geo),function(oe){isObject$2(oe)&&(compatEC3CommonStyles(oe),each$a(toArr(oe.regions),function(ie){compatEC3CommonStyles(ie)}))}),each$a(toArr(t.timeline),function(oe){compatEC3CommonStyles(oe),convertNormalEmphasis(oe,"label"),convertNormalEmphasis(oe,"itemStyle"),convertNormalEmphasis(oe,"controlStyle",!0);var ie=oe.data;isArray$1(ie)&&each$c(ie,function(le){isObject$3(le)&&(convertNormalEmphasis(le,"label"),convertNormalEmphasis(le,"itemStyle"))})}),each$a(toArr(t.toolbox),function(oe){convertNormalEmphasis(oe,"iconStyle"),each$a(oe.feature,function(ie){convertNormalEmphasis(ie,"iconStyle")})}),compatTextStyle(toObj(t.axisPointer),"label"),compatTextStyle(toObj(t.tooltip).axisPointer,"label")}function get(t,r){for(var V=r.split(","),oe=t,ie=0;ie<V.length&&(oe=oe&&oe[V[ie]],oe!=null);ie++);return oe}function set(t,r,V,oe){for(var ie=r.split(","),le=t,ue,de=0;de<ie.length-1;de++)ue=ie[de],le[ue]==null&&(le[ue]={}),le=le[ue];(oe||le[ie[de]]==null)&&(le[ie[de]]=V)}function compatLayoutProperties(t){t&&each$c(LAYOUT_PROPERTIES,function(r){r[0]in t&&!(r[1]in t)&&(t[r[1]]=t[r[0]])})}var LAYOUT_PROPERTIES=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],COMPATITABLE_COMPONENTS=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],BAR_ITEM_STYLE_MAP=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function compatBarItemStyle(t){var r=t&&t.itemStyle;if(r)for(var V=0;V<BAR_ITEM_STYLE_MAP.length;V++){var oe=BAR_ITEM_STYLE_MAP[V][1],ie=BAR_ITEM_STYLE_MAP[V][0];r[oe]!=null&&(r[ie]=r[oe])}}function compatPieLabel(t){t&&t.alignTo==="edge"&&t.margin!=null&&t.edgeDistance==null&&(t.edgeDistance=t.margin)}function compatSunburstState(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function compatGraphFocus(t){t&&t.focusNodeAdjacency!=null&&(t.emphasis=t.emphasis||{},t.emphasis.focus==null&&(t.emphasis.focus="adjacency"))}function traverseTree(t,r){if(t)for(var V=0;V<t.length;V++)r(t[V]),t[V]&&traverseTree(t[V].children,r)}function globalBackwardCompat(t,r){globalCompatStyle(t,r),t.series=normalizeToArray(t.series),each$c(t.series,function(V){if(isObject$3(V)){var oe=V.type;if(oe==="line")V.clipOverflow!=null&&(V.clip=V.clipOverflow);else if(oe==="pie"||oe==="gauge"){V.clockWise!=null&&(V.clockwise=V.clockWise),compatPieLabel(V.label);var ie=V.data;if(ie&&!isTypedArray(ie))for(var le=0;le<ie.length;le++)compatPieLabel(ie[le]);V.hoverOffset!=null&&(V.emphasis=V.emphasis||{},(V.emphasis.scaleSize=null)&&(V.emphasis.scaleSize=V.hoverOffset))}else if(oe==="gauge"){var ue=get(V,"pointer.color");ue!=null&&set(V,"itemStyle.color",ue)}else if(oe==="bar"){compatBarItemStyle(V),compatBarItemStyle(V.backgroundStyle),compatBarItemStyle(V.emphasis);var ie=V.data;if(ie&&!isTypedArray(ie))for(var le=0;le<ie.length;le++)typeof ie[le]=="object"&&(compatBarItemStyle(ie[le]),compatBarItemStyle(ie[le]&&ie[le].emphasis))}else if(oe==="sunburst"){var de=V.highlightPolicy;de&&(V.emphasis=V.emphasis||{},V.emphasis.focus||(V.emphasis.focus=de)),compatSunburstState(V),traverseTree(V.data,compatSunburstState)}else oe==="graph"||oe==="sankey"?compatGraphFocus(V):oe==="map"&&(V.mapType&&!V.map&&(V.map=V.mapType),V.mapLocation&&defaults(V,V.mapLocation));V.hoverAnimation!=null&&(V.emphasis=V.emphasis||{},V.emphasis&&V.emphasis.scale==null&&(V.emphasis.scale=V.hoverAnimation)),compatLayoutProperties(V)}}),t.dataRange&&(t.visualMap=t.dataRange),each$c(COMPATITABLE_COMPONENTS,function(V){var oe=t[V];oe&&(isArray$1(oe)||(oe=[oe]),each$c(oe,function(ie){compatLayoutProperties(ie)}))})}function dataStack$1(t){var r=createHashMap();t.eachSeries(function(V){var oe=V.get("stack");if(oe){var ie=r.get(oe)||r.set(oe,[]),le=V.getData(),ue={stackResultDimension:le.getCalculationInfo("stackResultDimension"),stackedOverDimension:le.getCalculationInfo("stackedOverDimension"),stackedDimension:le.getCalculationInfo("stackedDimension"),stackedByDimension:le.getCalculationInfo("stackedByDimension"),isStackedByIndex:le.getCalculationInfo("isStackedByIndex"),data:le,seriesModel:V};if(!ue.stackedDimension||!(ue.isStackedByIndex||ue.stackedByDimension))return;ie.length&&le.setCalculationInfo("stackedOnSeries",ie[ie.length-1].seriesModel),ie.push(ue)}}),r.each(calculateStack)}function calculateStack(t){each$c(t,function(r,V){var oe=[],ie=[NaN,NaN],le=[r.stackResultDimension,r.stackedOverDimension],ue=r.data,de=r.isStackedByIndex,pe=r.seriesModel.get("stackStrategy")||"samesign";ue.modify(le,function(he,_e,$e){var Ie=ue.get(r.stackedDimension,$e);if(isNaN(Ie))return ie;var Ve,Fe;de?Fe=ue.getRawIndex($e):Ve=ue.get(r.stackedByDimension,$e);for(var Ue=NaN,qe=V-1;qe>=0;qe--){var Et=t[qe];if(de||(Fe=Et.data.rawIndexOf(Et.stackedByDimension,Ve)),Fe>=0){var At=Et.data.getByRawIndex(Et.stackResultDimension,Fe);if(pe==="all"||pe==="positive"&&At>0||pe==="negative"&&At<0||pe==="samesign"&&Ie>=0&&At>0||pe==="samesign"&&Ie<=0&&At<0){Ie=addSafe(Ie,At),Ue=At;break}}}return oe[0]=Ie,oe[1]=Ue,oe})})}var SourceImpl=function(){function t(r){this.data=r.data||(r.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=r.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=r.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=r.startIndex||0,this.dimensionsDetectedCount=r.dimensionsDetectedCount,this.metaRawOption=r.metaRawOption;var V=this.dimensionsDefine=r.dimensionsDefine;if(V)for(var oe=0;oe<V.length;oe++){var ie=V[oe];ie.type==null&&guessOrdinal(this,oe)===BE_ORDINAL.Must&&(ie.type="ordinal")}}return t}();function isSourceInstance(t){return t instanceof SourceImpl}function createSource(t,r,V){V=V||detectSourceFormat(t);var oe=r.seriesLayoutBy,ie=determineSourceDimensions(t,V,oe,r.sourceHeader,r.dimensions),le=new SourceImpl({data:t,sourceFormat:V,seriesLayoutBy:oe,dimensionsDefine:ie.dimensionsDefine,startIndex:ie.startIndex,dimensionsDetectedCount:ie.dimensionsDetectedCount,metaRawOption:clone$3(r)});return le}function createSourceFromSeriesDataOption(t){return new SourceImpl({data:t,sourceFormat:isTypedArray(t)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL})}function cloneSourceShallow(t){return new SourceImpl({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:clone$3(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function detectSourceFormat(t){var r=SOURCE_FORMAT_UNKNOWN;if(isTypedArray(t))r=SOURCE_FORMAT_TYPED_ARRAY;else if(isArray$1(t)){t.length===0&&(r=SOURCE_FORMAT_ARRAY_ROWS);for(var V=0,oe=t.length;V<oe;V++){var ie=t[V];if(ie!=null){if(isArray$1(ie)){r=SOURCE_FORMAT_ARRAY_ROWS;break}else if(isObject$3(ie)){r=SOURCE_FORMAT_OBJECT_ROWS;break}}}}else if(isObject$3(t)){for(var le in t)if(hasOwn(t,le)&&isArrayLike(t[le])){r=SOURCE_FORMAT_KEYED_COLUMNS;break}}return r}function determineSourceDimensions(t,r,V,oe,ie){var le,ue;if(!t)return{dimensionsDefine:normalizeDimensionsOption(ie),startIndex:ue,dimensionsDetectedCount:le};if(r===SOURCE_FORMAT_ARRAY_ROWS){var de=t;oe==="auto"||oe==null?arrayRowsTravelFirst(function(he){he!=null&&he!=="-"&&(isString(he)?ue==null&&(ue=1):ue=0)},V,de,10):ue=isNumber(oe)?oe:oe?1:0,!ie&&ue===1&&(ie=[],arrayRowsTravelFirst(function(he,_e){ie[_e]=he!=null?he+"":""},V,de,1/0)),le=ie?ie.length:V===SERIES_LAYOUT_BY_ROW?de.length:de[0]?de[0].length:null}else if(r===SOURCE_FORMAT_OBJECT_ROWS)ie||(ie=objectRowsCollectDimensions(t));else if(r===SOURCE_FORMAT_KEYED_COLUMNS)ie||(ie=[],each$c(t,function(he,_e){ie.push(_e)}));else if(r===SOURCE_FORMAT_ORIGINAL){var pe=getDataItemValue(t[0]);le=isArray$1(pe)&&pe.length||1}return{startIndex:ue,dimensionsDefine:normalizeDimensionsOption(ie),dimensionsDetectedCount:le}}function objectRowsCollectDimensions(t){for(var r=0,V;r<t.length&&!(V=t[r++]););if(V)return keys(V)}function normalizeDimensionsOption(t){if(t){var r=createHashMap();return map$2(t,function(V,oe){V=isObject$3(V)?V:{name:V};var ie={name:V.name,displayName:V.displayName,type:V.type};if(ie.name==null)return ie;ie.name+="",ie.displayName==null&&(ie.displayName=ie.name);var le=r.get(ie.name);return le?ie.name+="-"+le.count++:r.set(ie.name,{count:1}),ie})}}function arrayRowsTravelFirst(t,r,V,oe){if(r===SERIES_LAYOUT_BY_ROW)for(var ie=0;ie<V.length&&ie<oe;ie++)t(V[ie]?V[ie][0]:null,ie);else for(var le=V[0]||[],ie=0;ie<le.length&&ie<oe;ie++)t(le[ie],ie)}function shouldRetrieveDataByName(t){var r=t.sourceFormat;return r===SOURCE_FORMAT_OBJECT_ROWS||r===SOURCE_FORMAT_KEYED_COLUMNS}var _a,_b,_c,providerMethods,mountMethods,DefaultDataProvider=function(){function t(r,V){var oe=isSourceInstance(r)?r:createSourceFromSeriesDataOption(r);this._source=oe;var ie=this._data=oe.data;oe.sourceFormat===SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=V,this._data=ie),mountMethods(this,ie,oe)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(r,V){},t.prototype.appendData=function(r){},t.prototype.clean=function(){},t.protoInitialize=function(){var r=t.prototype;r.pure=!1,r.persistent=!0}(),t.internalField=function(){var r;mountMethods=function(ue,de,pe){var he=pe.sourceFormat,_e=pe.seriesLayoutBy,$e=pe.startIndex,Ie=pe.dimensionsDefine,Ve=providerMethods[getMethodMapKey(he,_e)];if(extend(ue,Ve),he===SOURCE_FORMAT_TYPED_ARRAY)ue.getItem=V,ue.count=ie,ue.fillStorage=oe;else{var Fe=getRawSourceItemGetter(he,_e);ue.getItem=bind$1(Fe,null,de,$e,Ie);var Ue=getRawSourceDataCounter(he,_e);ue.count=bind$1(Ue,null,de,$e,Ie)}};var V=function(ue,de){ue=ue-this._offset,de=de||[];for(var pe=this._data,he=this._dimSize,_e=he*ue,$e=0;$e<he;$e++)de[$e]=pe[_e+$e];return de},oe=function(ue,de,pe,he){for(var _e=this._data,$e=this._dimSize,Ie=0;Ie<$e;Ie++){for(var Ve=he[Ie],Fe=Ve[0]==null?1/0:Ve[0],Ue=Ve[1]==null?-1/0:Ve[1],qe=de-ue,Et=pe[Ie],At=0;At<qe;At++){var Lt=_e[At*$e+Ie];Et[ue+At]=Lt,Lt<Fe&&(Fe=Lt),Lt>Ue&&(Ue=Lt)}Ve[0]=Fe,Ve[1]=Ue}},ie=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=(r={},r[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:le},r[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},r[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:le},r[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(ue){var de=this._data;each$c(ue,function(pe,he){for(var _e=de[he]||(de[he]=[]),$e=0;$e<(pe||[]).length;$e++)_e.push(pe[$e])})}},r[SOURCE_FORMAT_ORIGINAL]={appendData:le},r[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(ue){this._data=ue},clean:function(){this._offset+=this.count(),this._data=null}},r);function le(ue){for(var de=0;de<ue.length;de++)this._data.push(ue[de])}}(),t}(),getItemSimply=function(t,r,V,oe){return t[oe]},rawSourceItemGetterMap=(_a={},_a[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(t,r,V,oe){return t[oe+r]},_a[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(t,r,V,oe,ie){oe+=r;for(var le=ie||[],ue=t,de=0;de<ue.length;de++){var pe=ue[de];le[de]=pe?pe[oe]:null}return le},_a[SOURCE_FORMAT_OBJECT_ROWS]=getItemSimply,_a[SOURCE_FORMAT_KEYED_COLUMNS]=function(t,r,V,oe,ie){for(var le=ie||[],ue=0;ue<V.length;ue++){var de=V[ue].name,pe=t[de];le[ue]=pe?pe[oe]:null}return le},_a[SOURCE_FORMAT_ORIGINAL]=getItemSimply,_a);function getRawSourceItemGetter(t,r){var V=rawSourceItemGetterMap[getMethodMapKey(t,r)];return V}var countSimply=function(t,r,V){return t.length},rawSourceDataCounterMap=(_b={},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(t,r,V){return Math.max(0,t.length-r)},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(t,r,V){var oe=t[0];return oe?Math.max(0,oe.length-r):0},_b[SOURCE_FORMAT_OBJECT_ROWS]=countSimply,_b[SOURCE_FORMAT_KEYED_COLUMNS]=function(t,r,V){var oe=V[0].name,ie=t[oe];return ie?ie.length:0},_b[SOURCE_FORMAT_ORIGINAL]=countSimply,_b);function getRawSourceDataCounter(t,r){var V=rawSourceDataCounterMap[getMethodMapKey(t,r)];return V}var getRawValueSimply=function(t,r,V){return t[r]},rawSourceValueGetterMap=(_c={},_c[SOURCE_FORMAT_ARRAY_ROWS]=getRawValueSimply,_c[SOURCE_FORMAT_OBJECT_ROWS]=function(t,r,V){return t[V]},_c[SOURCE_FORMAT_KEYED_COLUMNS]=getRawValueSimply,_c[SOURCE_FORMAT_ORIGINAL]=function(t,r,V){var oe=getDataItemValue(t);return oe instanceof Array?oe[r]:oe},_c[SOURCE_FORMAT_TYPED_ARRAY]=getRawValueSimply,_c);function getRawSourceValueGetter(t){var r=rawSourceValueGetterMap[t];return r}function getMethodMapKey(t,r){return t===SOURCE_FORMAT_ARRAY_ROWS?t+"_"+r:t}function retrieveRawValue(t,r,V){if(t){var oe=t.getRawDataItem(r);if(oe!=null){var ie=t.getStore(),le=ie.getSource().sourceFormat;if(V!=null){var ue=t.getDimensionIndex(V),de=ie.getDimensionProperty(ue);return getRawSourceValueGetter(le)(oe,ue,de)}else{var pe=oe;return le===SOURCE_FORMAT_ORIGINAL&&(pe=getDataItemValue(oe)),pe}}}}var DIMENSION_LABEL_REG=/\{@(.+?)\}/g,DataFormatMixin=function(){function t(){}return t.prototype.getDataParams=function(r,V){var oe=this.getData(V),ie=this.getRawValue(r,V),le=oe.getRawIndex(r),ue=oe.getName(r),de=oe.getRawDataItem(r),pe=oe.getItemVisual(r,"style"),he=pe&&pe[oe.getItemVisual(r,"drawType")||"fill"],_e=pe&&pe.stroke,$e=this.mainType,Ie=$e==="series",Ve=oe.userOutput&&oe.userOutput.get();return{componentType:$e,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:Ie?this.subType:null,seriesIndex:this.seriesIndex,seriesId:Ie?this.id:null,seriesName:Ie?this.name:null,name:ue,dataIndex:le,data:de,dataType:V,value:ie,color:he,borderColor:_e,dimensionNames:Ve?Ve.fullDimensions:null,encode:Ve?Ve.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(r,V,oe,ie,le,ue){V=V||"normal";var de=this.getData(oe),pe=this.getDataParams(r,oe);if(ue&&(pe.value=ue.interpolatedValue),ie!=null&&isArray$1(pe.value)&&(pe.value=pe.value[ie]),!le){var he=de.getItemModel(r);le=he.get(V==="normal"?["label","formatter"]:[V,"label","formatter"])}if(isFunction(le))return pe.status=V,pe.dimensionIndex=ie,le(pe);if(isString(le)){var _e=formatTpl(le,pe);return _e.replace(DIMENSION_LABEL_REG,function($e,Ie){var Ve=Ie.length,Fe=Ie;Fe.charAt(0)==="["&&Fe.charAt(Ve-1)==="]"&&(Fe=+Fe.slice(1,Ve-1));var Ue=retrieveRawValue(de,r,Fe);if(ue&&isArray$1(ue.interpolatedValue)){var qe=de.getDimensionIndex(Fe);qe>=0&&(Ue=ue.interpolatedValue[qe])}return Ue!=null?Ue+"":""})}},t.prototype.getRawValue=function(r,V){return retrieveRawValue(this.getData(V),r)},t.prototype.formatTooltip=function(r,V,oe){},t}();function normalizeTooltipFormatResult(t){var r,V;return isObject$3(t)?t.type&&(V=t):r=t,{text:r,frag:V}}function createTask(t){return new Task(t)}var Task=function(){function t(r){r=r||{},this._reset=r.reset,this._plan=r.plan,this._count=r.count,this._onDirty=r.onDirty,this._dirty=!0}return t.prototype.perform=function(r){var V=this._upstream,oe=r&&r.skip;if(this._dirty&&V){var ie=this.context;ie.data=ie.outputData=V.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var le;this._plan&&!oe&&(le=this._plan(this.context));var ue=_e(this._modBy),de=this._modDataCount||0,pe=_e(r&&r.modBy),he=r&&r.modDataCount||0;(ue!==pe||de!==he)&&(le="reset");function _e(At){return!(At>=1)&&(At=1),At}var $e;(this._dirty||le==="reset")&&(this._dirty=!1,$e=this._doReset(oe)),this._modBy=pe,this._modDataCount=he;var Ie=r&&r.step;if(V?this._dueEnd=V._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var Ve=this._dueIndex,Fe=Math.min(Ie!=null?this._dueIndex+Ie:1/0,this._dueEnd);if(!oe&&($e||Ve<Fe)){var Ue=this._progress;if(isArray$1(Ue))for(var qe=0;qe<Ue.length;qe++)this._doProgress(Ue[qe],Ve,Fe,pe,he);else this._doProgress(Ue,Ve,Fe,pe,he)}this._dueIndex=Fe;var Et=this._settedOutputEnd!=null?this._settedOutputEnd:Fe;this._outputDueEnd=Et}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(r,V,oe,ie,le){iterator.reset(V,oe,ie,le),this._callingProgress=r,this._callingProgress({start:V,end:oe,count:oe-V,next:iterator.next},this.context)},t.prototype._doReset=function(r){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var V,oe;!r&&this._reset&&(V=this._reset(this.context),V&&V.progress&&(oe=V.forceFirstProgress,V=V.progress),isArray$1(V)&&!V.length&&(V=null)),this._progress=V,this._modBy=this._modDataCount=null;var ie=this._downstream;return ie&&ie.dirty(),oe},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(r){(this._downstream!==r||this._dirty)&&(this._downstream=r,r._upstream=this,r.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(r){this._outputDueEnd=this._settedOutputEnd=r},t}(),iterator=function(){var t,r,V,oe,ie,le={reset:function(pe,he,_e,$e){r=pe,t=he,V=_e,oe=$e,ie=Math.ceil(oe/V),le.next=V>1&&oe>0?de:ue}};return le;function ue(){return r<t?r++:null}function de(){var pe=r%ie*V+Math.ceil(r/ie),he=r>=t?null:pe<oe?pe:r;return r++,he}}();function parseDataValue(t,r){var V=r&&r.type;return V==="ordinal"?t:(V==="time"&&!isNumber(t)&&t!=null&&t!=="-"&&(t=+parseDate(t)),t==null||t===""?NaN:+t)}createHashMap({number:function(t){return parseFloat(t)},time:function(t){return+parseDate(t)},trim:function(t){return isString(t)?trim$1(t):t}});var SortOrderComparator=function(){function t(r,V){var oe=r==="desc";this._resultLT=oe?1:-1,V==null&&(V=oe?"min":"max"),this._incomparable=V==="min"?-1/0:1/0}return t.prototype.evaluate=function(r,V){var oe=isNumber(r)?r:numericToNumber(r),ie=isNumber(V)?V:numericToNumber(V),le=isNaN(oe),ue=isNaN(ie);if(le&&(oe=this._incomparable),ue&&(ie=this._incomparable),le&&ue){var de=isString(r),pe=isString(V);de&&(oe=pe?r:0),pe&&(ie=de?V:0)}return oe<ie?this._resultLT:oe>ie?-this._resultLT:0},t}(),ExternalSource=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(r){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(r){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(r,V){},t.prototype.retrieveValueFromItem=function(r,V){},t.prototype.convertValue=function(r,V){return parseDataValue(r,V)},t}();function createExternalSource(t,r){var V=new ExternalSource,oe=t.data,ie=V.sourceFormat=t.sourceFormat,le=t.startIndex,ue="";t.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(ue);var de=[],pe={},he=t.dimensionsDefine;if(he)each$c(he,function(Ue,qe){var Et=Ue.name,At={index:qe,name:Et,displayName:Ue.displayName};if(de.push(At),Et!=null){var Lt="";hasOwn(pe,Et)&&throwError(Lt),pe[Et]=At}});else for(var _e=0;_e<t.dimensionsDetectedCount;_e++)de.push({index:_e});var $e=getRawSourceItemGetter(ie,SERIES_LAYOUT_BY_COLUMN);r.__isBuiltIn&&(V.getRawDataItem=function(Ue){return $e(oe,le,de,Ue)},V.getRawData=bind$1(getRawData,null,t)),V.cloneRawData=bind$1(cloneRawData,null,t);var Ie=getRawSourceDataCounter(ie,SERIES_LAYOUT_BY_COLUMN);V.count=bind$1(Ie,null,oe,le,de);var Ve=getRawSourceValueGetter(ie);V.retrieveValue=function(Ue,qe){var Et=$e(oe,le,de,Ue);return Fe(Et,qe)};var Fe=V.retrieveValueFromItem=function(Ue,qe){if(Ue!=null){var Et=de[qe];if(Et)return Ve(Ue,qe,Et.name)}};return V.getDimensionInfo=bind$1(getDimensionInfo,null,de,pe),V.cloneAllDimensionInfo=bind$1(cloneAllDimensionInfo,null,de),V}function getRawData(t){var r=t.sourceFormat;if(!isSupportedSourceFormat(r)){var V="";throwError(V)}return t.data}function cloneRawData(t){var r=t.sourceFormat,V=t.data;if(!isSupportedSourceFormat(r)){var oe="";throwError(oe)}if(r===SOURCE_FORMAT_ARRAY_ROWS){for(var ie=[],le=0,ue=V.length;le<ue;le++)ie.push(V[le].slice());return ie}else if(r===SOURCE_FORMAT_OBJECT_ROWS){for(var ie=[],le=0,ue=V.length;le<ue;le++)ie.push(extend({},V[le]));return ie}}function getDimensionInfo(t,r,V){if(V!=null){if(isNumber(V)||!isNaN(V)&&!hasOwn(r,V))return t[V];if(hasOwn(r,V))return r[V]}}function cloneAllDimensionInfo(t){return clone$3(t)}var externalTransformMap=createHashMap();function registerExternalTransform(t){t=clone$3(t);var r=t.type,V="";r||throwError(V);var oe=r.split(":");oe.length!==2&&throwError(V);var ie=!1;oe[0]==="echarts"&&(r=oe[1],ie=!0),t.__isBuiltIn=ie,externalTransformMap.set(r,t)}function applyDataTransform(t,r,V){var oe=normalizeToArray(t),ie=oe.length,le="";ie||throwError(le);for(var ue=0,de=ie;ue<de;ue++){var pe=oe[ue];r=applySingleDataTransform(pe,r),ue!==de-1&&(r.length=Math.max(r.length,1))}return r}function applySingleDataTransform(t,r,V,oe){var ie="";r.length||throwError(ie),isObject$3(t)||throwError(ie);var le=t.type,ue=externalTransformMap.get(le);ue||throwError(ie);var de=map$2(r,function(he){return createExternalSource(he,ue)}),pe=normalizeToArray(ue.transform({upstream:de[0],upstreamList:de,config:clone$3(t.config)}));return map$2(pe,function(he,_e){var $e="";isObject$3(he)||throwError($e),he.data||throwError($e);var Ie=detectSourceFormat(he.data);isSupportedSourceFormat(Ie)||throwError($e);var Ve,Fe=r[0];if(Fe&&_e===0&&!he.dimensions){var Ue=Fe.startIndex;Ue&&(he.data=Fe.data.slice(0,Ue).concat(he.data)),Ve={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:Ue,dimensions:Fe.metaRawOption.dimensions}}else Ve={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:0,dimensions:he.dimensions};return createSource(he.data,Ve,null)})}function isSupportedSourceFormat(t){return t===SOURCE_FORMAT_ARRAY_ROWS||t===SOURCE_FORMAT_OBJECT_ROWS}var UNDEFINED="undefined",CtorUint32Array=typeof Uint32Array===UNDEFINED?Array:Uint32Array,CtorUint16Array=typeof Uint16Array===UNDEFINED?Array:Uint16Array,CtorInt32Array$1=typeof Int32Array===UNDEFINED?Array:Int32Array,CtorFloat64Array=typeof Float64Array===UNDEFINED?Array:Float64Array,dataCtors={float:CtorFloat64Array,int:CtorInt32Array$1,ordinal:Array,number:Array,time:CtorFloat64Array},defaultDimValueGetters;function getIndicesCtor(t){return t>65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(t){var r=t.constructor;return r===Array?t.slice():new r(t)}function prepareStore(t,r,V,oe,ie){var le=dataCtors[V||"float"];if(ie){var ue=t[r],de=ue&&ue.length;if(de!==oe){for(var pe=new le(oe),he=0;he<de;he++)pe[he]=ue[he];t[r]=pe}}else t[r]=new le(oe)}var DataStore=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=createHashMap()}return t.prototype.initData=function(r,V,oe){this._provider=r,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var ie=r.getSource(),le=this.defaultDimValueGetter=defaultDimValueGetters[ie.sourceFormat];this._dimValueGetter=oe||le,this._rawExtent=[],shouldRetrieveDataByName(ie),this._dimensions=map$2(V,function(ue){return{type:ue.type,property:ue.property}}),this._initDataFromProvider(0,r.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(r,V){var oe=this._calcDimNameToIdx,ie=this._dimensions,le=oe.get(r);if(le!=null){if(ie[le].type===V)return le}else le=ie.length;return ie[le]={type:V},oe.set(r,le),this._chunks[le]=new dataCtors[V||"float"](this._rawCount),this._rawExtent[le]=getInitialExtent(),le},t.prototype.collectOrdinalMeta=function(r,V){var oe=this._chunks[r],ie=this._dimensions[r],le=this._rawExtent,ue=ie.ordinalOffset||0,de=oe.length;ue===0&&(le[r]=getInitialExtent());for(var pe=le[r],he=ue;he<de;he++){var _e=oe[he]=V.parseAndCollect(oe[he]);isNaN(_e)||(pe[0]=Math.min(_e,pe[0]),pe[1]=Math.max(_e,pe[1]))}ie.ordinalMeta=V,ie.ordinalOffset=de,ie.type="ordinal"},t.prototype.getOrdinalMeta=function(r){var V=this._dimensions[r],oe=V.ordinalMeta;return oe},t.prototype.getDimensionProperty=function(r){var V=this._dimensions[r];return V&&V.property},t.prototype.appendData=function(r){var V=this._provider,oe=this.count();V.appendData(r);var ie=V.count();return V.persistent||(ie+=oe),oe<ie&&this._initDataFromProvider(oe,ie,!0),[oe,ie]},t.prototype.appendValues=function(r,V){for(var oe=this._chunks,ie=this._dimensions,le=ie.length,ue=this._rawExtent,de=this.count(),pe=de+Math.max(r.length,V||0),he=0;he<le;he++){var _e=ie[he];prepareStore(oe,he,_e.type,pe,!0)}for(var $e=[],Ie=de;Ie<pe;Ie++)for(var Ve=Ie-de,Fe=0;Fe<le;Fe++){var _e=ie[Fe],Ue=defaultDimValueGetters.arrayRows.call(this,r[Ve]||$e,_e.property,Ve,Fe);oe[Fe][Ie]=Ue;var qe=ue[Fe];Ue<qe[0]&&(qe[0]=Ue),Ue>qe[1]&&(qe[1]=Ue)}return this._rawCount=this._count=pe,{start:de,end:pe}},t.prototype._initDataFromProvider=function(r,V,oe){for(var ie=this._provider,le=this._chunks,ue=this._dimensions,de=ue.length,pe=this._rawExtent,he=map$2(ue,function(At){return At.property}),_e=0;_e<de;_e++){var $e=ue[_e];pe[_e]||(pe[_e]=getInitialExtent()),prepareStore(le,_e,$e.type,V,oe)}if(ie.fillStorage)ie.fillStorage(r,V,le,pe);else for(var Ie=[],Ve=r;Ve<V;Ve++){Ie=ie.getItem(Ve,Ie);for(var Fe=0;Fe<de;Fe++){var Ue=le[Fe],qe=this._dimValueGetter(Ie,he[Fe],Ve,Fe);Ue[Ve]=qe;var Et=pe[Fe];qe<Et[0]&&(Et[0]=qe),qe>Et[1]&&(Et[1]=qe)}}!ie.persistent&&ie.clean&&ie.clean(),this._rawCount=this._count=V,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(r,V){if(!(V>=0&&V<this._count))return NaN;var oe=this._chunks[r];return oe?oe[this.getRawIndex(V)]:NaN},t.prototype.getValues=function(r,V){var oe=[],ie=[];if(V==null){V=r,r=[];for(var le=0;le<this._dimensions.length;le++)ie.push(le)}else ie=r;for(var le=0,ue=ie.length;le<ue;le++)oe.push(this.get(ie[le],V));return oe},t.prototype.getByRawIndex=function(r,V){if(!(V>=0&&V<this._rawCount))return NaN;var oe=this._chunks[r];return oe?oe[V]:NaN},t.prototype.getSum=function(r){var V=this._chunks[r],oe=0;if(V)for(var ie=0,le=this.count();ie<le;ie++){var ue=this.get(r,ie);isNaN(ue)||(oe+=ue)}return oe},t.prototype.getMedian=function(r){var V=[];this.each([r],function(le){isNaN(le)||V.push(le)});var oe=V.sort(function(le,ue){return le-ue}),ie=this.count();return ie===0?0:ie%2===1?oe[(ie-1)/2]:(oe[ie/2]+oe[ie/2-1])/2},t.prototype.indexOfRawIndex=function(r){if(r>=this._rawCount||r<0)return-1;if(!this._indices)return r;var V=this._indices,oe=V[r];if(oe!=null&&oe<this._count&&oe===r)return r;for(var ie=0,le=this._count-1;ie<=le;){var ue=(ie+le)/2|0;if(V[ue]<r)ie=ue+1;else if(V[ue]>r)le=ue-1;else return ue}return-1},t.prototype.indicesOfNearest=function(r,V,oe){var ie=this._chunks,le=ie[r],ue=[];if(!le)return ue;oe==null&&(oe=1/0);for(var de=1/0,pe=-1,he=0,_e=0,$e=this.count();_e<$e;_e++){var Ie=this.getRawIndex(_e),Ve=V-le[Ie],Fe=Math.abs(Ve);Fe<=oe&&((Fe<de||Fe===de&&Ve>=0&&pe<0)&&(de=Fe,pe=Ve,he=0),Ve===pe&&(ue[he++]=_e))}return ue.length=he,ue},t.prototype.getIndices=function(){var r,V=this._indices;if(V){var oe=V.constructor,ie=this._count;if(oe===Array){r=new oe(ie);for(var le=0;le<ie;le++)r[le]=V[le]}else r=new oe(V.buffer,0,ie)}else{var oe=getIndicesCtor(this._rawCount);r=new oe(this.count());for(var le=0;le<r.length;le++)r[le]=le}return r},t.prototype.filter=function(r,V){if(!this._count)return this;for(var oe=this.clone(),ie=oe.count(),le=getIndicesCtor(oe._rawCount),ue=new le(ie),de=[],pe=r.length,he=0,_e=r[0],$e=oe._chunks,Ie=0;Ie<ie;Ie++){var Ve=void 0,Fe=oe.getRawIndex(Ie);if(pe===0)Ve=V(Ie);else if(pe===1){var Ue=$e[_e][Fe];Ve=V(Ue,Ie)}else{for(var qe=0;qe<pe;qe++)de[qe]=$e[r[qe]][Fe];de[qe]=Ie,Ve=V.apply(null,de)}Ve&&(ue[he++]=Fe)}return he<ie&&(oe._indices=ue),oe._count=he,oe._extent=[],oe._updateGetRawIdx(),oe},t.prototype.selectRange=function(r){var V=this.clone(),oe=V._count;if(!oe)return this;var ie=keys(r),le=ie.length;if(!le)return this;var ue=V.count(),de=getIndicesCtor(V._rawCount),pe=new de(ue),he=0,_e=ie[0],$e=r[_e][0],Ie=r[_e][1],Ve=V._chunks,Fe=!1;if(!V._indices){var Ue=0;if(le===1){for(var qe=Ve[ie[0]],Et=0;Et<oe;Et++){var At=qe[Et];(At>=$e&&At<=Ie||isNaN(At))&&(pe[he++]=Ue),Ue++}Fe=!0}else if(le===2){for(var qe=Ve[ie[0]],Lt=Ve[ie[1]],hn=r[ie[1]][0],_n=r[ie[1]][1],Et=0;Et<oe;Et++){var At=qe[Et],vn=Lt[Et];(At>=$e&&At<=Ie||isNaN(At))&&(vn>=hn&&vn<=_n||isNaN(vn))&&(pe[he++]=Ue),Ue++}Fe=!0}}if(!Fe)if(le===1)for(var Et=0;Et<ue;Et++){var bn=V.getRawIndex(Et),At=Ve[ie[0]][bn];(At>=$e&&At<=Ie||isNaN(At))&&(pe[he++]=bn)}else for(var Et=0;Et<ue;Et++){for(var Cn=!0,bn=V.getRawIndex(Et),Sn=0;Sn<le;Sn++){var wn=ie[Sn],At=Ve[wn][bn];(At<r[wn][0]||At>r[wn][1])&&(Cn=!1)}Cn&&(pe[he++]=V.getRawIndex(Et))}return he<ue&&(V._indices=pe),V._count=he,V._extent=[],V._updateGetRawIdx(),V},t.prototype.map=function(r,V){var oe=this.clone(r);return this._updateDims(oe,r,V),oe},t.prototype.modify=function(r,V){this._updateDims(this,r,V)},t.prototype._updateDims=function(r,V,oe){for(var ie=r._chunks,le=[],ue=V.length,de=r.count(),pe=[],he=r._rawExtent,_e=0;_e<V.length;_e++)he[V[_e]]=getInitialExtent();for(var $e=0;$e<de;$e++){for(var Ie=r.getRawIndex($e),Ve=0;Ve<ue;Ve++)pe[Ve]=ie[V[Ve]][Ie];pe[ue]=$e;var Fe=oe&&oe.apply(null,pe);if(Fe!=null){typeof Fe!="object"&&(le[0]=Fe,Fe=le);for(var _e=0;_e<Fe.length;_e++){var Ue=V[_e],qe=Fe[_e],Et=he[Ue],At=ie[Ue];At&&(At[Ie]=qe),qe<Et[0]&&(Et[0]=qe),qe>Et[1]&&(Et[1]=qe)}}}},t.prototype.lttbDownSample=function(r,V){var oe=this.clone([r],!0),ie=oe._chunks,le=ie[r],ue=this.count(),de=0,pe=Math.floor(1/V),he=this.getRawIndex(0),_e,$e,Ie,Ve=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(ue/pe)+2)*2,ue));Ve[de++]=he;for(var Fe=1;Fe<ue-1;Fe+=pe){for(var Ue=Math.min(Fe+pe,ue-1),qe=Math.min(Fe+pe*2,ue),Et=(qe+Ue)/2,At=0,Lt=Ue;Lt<qe;Lt++){var hn=this.getRawIndex(Lt),_n=le[hn];isNaN(_n)||(At+=_n)}At/=qe-Ue;var vn=Fe,bn=Math.min(Fe+pe,ue),Cn=Fe-1,Sn=le[he];_e=-1,Ie=vn;for(var wn=-1,En=0,Lt=vn;Lt<bn;Lt++){var hn=this.getRawIndex(Lt),_n=le[hn];if(isNaN(_n)){En++,wn<0&&(wn=hn);continue}$e=Math.abs((Cn-Et)*(_n-Sn)-(Cn-Lt)*(At-Sn)),$e>_e&&(_e=$e,Ie=hn)}En>0&&En<bn-vn&&(Ve[de++]=Math.min(wn,Ie),Ie=Math.max(wn,Ie)),Ve[de++]=Ie,he=Ie}return Ve[de++]=this.getRawIndex(ue-1),oe._count=de,oe._indices=Ve,oe.getRawIndex=this._getRawIdx,oe},t.prototype.downSample=function(r,V,oe,ie){for(var le=this.clone([r],!0),ue=le._chunks,de=[],pe=Math.floor(1/V),he=ue[r],_e=this.count(),$e=le._rawExtent[r]=getInitialExtent(),Ie=new(getIndicesCtor(this._rawCount))(Math.ceil(_e/pe)),Ve=0,Fe=0;Fe<_e;Fe+=pe){pe>_e-Fe&&(pe=_e-Fe,de.length=pe);for(var Ue=0;Ue<pe;Ue++){var qe=this.getRawIndex(Fe+Ue);de[Ue]=he[qe]}var Et=oe(de),At=this.getRawIndex(Math.min(Fe+ie(de,Et)||0,_e-1));he[At]=Et,Et<$e[0]&&($e[0]=Et),Et>$e[1]&&($e[1]=Et),Ie[Ve++]=At}return le._count=Ve,le._indices=Ie,le._updateGetRawIdx(),le},t.prototype.each=function(r,V){if(this._count)for(var oe=r.length,ie=this._chunks,le=0,ue=this.count();le<ue;le++){var de=this.getRawIndex(le);switch(oe){case 0:V(le);break;case 1:V(ie[r[0]][de],le);break;case 2:V(ie[r[0]][de],ie[r[1]][de],le);break;default:for(var pe=0,he=[];pe<oe;pe++)he[pe]=ie[r[pe]][de];he[pe]=le,V.apply(null,he)}}},t.prototype.getDataExtent=function(r){var V=this._chunks[r],oe=getInitialExtent();if(!V)return oe;var ie=this.count(),le=!this._indices,ue;if(le)return this._rawExtent[r].slice();if(ue=this._extent[r],ue)return ue.slice();ue=oe;for(var de=ue[0],pe=ue[1],he=0;he<ie;he++){var _e=this.getRawIndex(he),$e=V[_e];$e<de&&(de=$e),$e>pe&&(pe=$e)}return ue=[de,pe],this._extent[r]=ue,ue},t.prototype.getRawDataItem=function(r){var V=this.getRawIndex(r);if(this._provider.persistent)return this._provider.getItem(V);for(var oe=[],ie=this._chunks,le=0;le<ie.length;le++)oe.push(ie[le][V]);return oe},t.prototype.clone=function(r,V){var oe=new t,ie=this._chunks,le=r&&reduce(r,function(de,pe){return de[pe]=!0,de},{});if(le)for(var ue=0;ue<ie.length;ue++)oe._chunks[ue]=le[ue]?cloneChunk(ie[ue]):ie[ue];else oe._chunks=ie;return this._copyCommonProps(oe),V||(oe._indices=this._cloneIndices()),oe._updateGetRawIdx(),oe},t.prototype._copyCommonProps=function(r){r._count=this._count,r._rawCount=this._rawCount,r._provider=this._provider,r._dimensions=this._dimensions,r._extent=clone$3(this._extent),r._rawExtent=clone$3(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var r=this._indices.constructor,V=void 0;if(r===Array){var oe=this._indices.length;V=new r(oe);for(var ie=0;ie<oe;ie++)V[ie]=this._indices[ie]}else V=new r(this._indices);return V}return null},t.prototype._getRawIdxIdentity=function(r){return r},t.prototype._getRawIdx=function(r){return r<this._count&&r>=0?this._indices[r]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function r(V,oe,ie,le){return parseDataValue(V[le],this._dimensions[le])}defaultDimValueGetters={arrayRows:r,objectRows:function(V,oe,ie,le){return parseDataValue(V[oe],this._dimensions[le])},keyedColumns:r,original:function(V,oe,ie,le){var ue=V&&(V.value==null?V:V.value);return parseDataValue(ue instanceof Array?ue[le]:ue,this._dimensions[le])},typedArray:function(V,oe,ie,le){return V[le]}}}(),t}();const DataStore$1=DataStore;var SourceManager=function(){function t(r){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=r}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(r,V){this._sourceList=r,this._upstreamSignList=V,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var r=this._sourceHost,V=this._getUpstreamSourceManagers(),oe=!!V.length,ie,le;if(isSeries(r)){var ue=r,de=void 0,pe=void 0,he=void 0;if(oe){var _e=V[0];_e.prepareSource(),he=_e.getSource(),de=he.data,pe=he.sourceFormat,le=[_e._getVersionSign()]}else de=ue.get("data",!0),pe=isTypedArray(de)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,le=[];var $e=this._getSourceMetaRawOption()||{},Ie=he&&he.metaRawOption||{},Ve=retrieve2($e.seriesLayoutBy,Ie.seriesLayoutBy)||null,Fe=retrieve2($e.sourceHeader,Ie.sourceHeader),Ue=retrieve2($e.dimensions,Ie.dimensions),qe=Ve!==Ie.seriesLayoutBy||!!Fe!=!!Ie.sourceHeader||Ue;ie=qe?[createSource(de,{seriesLayoutBy:Ve,sourceHeader:Fe,dimensions:Ue},pe)]:[]}else{var Et=r;if(oe){var At=this._applyTransform(V);ie=At.sourceList,le=At.upstreamSignList}else{var Lt=Et.get("source",!0);ie=[createSource(Lt,this._getSourceMetaRawOption(),null)],le=[]}}this._setLocalSource(ie,le)},t.prototype._applyTransform=function(r){var V=this._sourceHost,oe=V.get("transform",!0),ie=V.get("fromTransformResult",!0);if(ie!=null){var le="";r.length!==1&&doThrow(le)}var ue,de=[],pe=[];return each$c(r,function(he){he.prepareSource();var _e=he.getSource(ie||0),$e="";ie!=null&&!_e&&doThrow($e),de.push(_e),pe.push(he._getVersionSign())}),oe?ue=applyDataTransform(oe,de,{datasetIndex:V.componentIndex}):ie!=null&&(ue=[cloneSourceShallow(de[0])]),{sourceList:ue,upstreamSignList:pe}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var r=this._getUpstreamSourceManagers(),V=0;V<r.length;V++){var oe=r[V];if(oe._isDirty()||this._upstreamSignList[V]!==oe._getVersionSign())return!0}},t.prototype.getSource=function(r){r=r||0;var V=this._sourceList[r];if(!V){var oe=this._getUpstreamSourceManagers();return oe[0]&&oe[0].getSource(r)}return V},t.prototype.getSharedDataStore=function(r){var V=r.makeStoreSchema();return this._innerGetDataStore(V.dimensions,r.source,V.hash)},t.prototype._innerGetDataStore=function(r,V,oe){var ie=0,le=this._storeList,ue=le[ie];ue||(ue=le[ie]={});var de=ue[oe];if(!de){var pe=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&pe?de=pe._innerGetDataStore(r,V,oe):(de=new DataStore$1,de.initData(new DefaultDataProvider(V,r.length),r)),ue[oe]=de}return de},t.prototype._getUpstreamSourceManagers=function(){var r=this._sourceHost;if(isSeries(r)){var V=querySeriesUpstreamDatasetModel(r);return V?[V.getSourceManager()]:[]}else return map$2(queryDatasetUpstreamDatasetModels(r),function(oe){return oe.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var r=this._sourceHost,V,oe,ie;if(isSeries(r))V=r.get("seriesLayoutBy",!0),oe=r.get("sourceHeader",!0),ie=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var le=r;V=le.get("seriesLayoutBy",!0),oe=le.get("sourceHeader",!0),ie=le.get("dimensions",!0)}return{seriesLayoutBy:V,sourceHeader:oe,dimensions:ie}},t}();function isSeries(t){return t.mainType==="series"}function doThrow(t){throw new Error(t)}var TOOLTIP_LINE_HEIGHT_CSS="line-height:1";function getTooltipTextStyle(t,r){var V=t.color||"#6e7079",oe=t.fontSize||12,ie=t.fontWeight||"400",le=t.color||"#464646",ue=t.fontSize||14,de=t.fontWeight||"900";return r==="html"?{nameStyle:"font-size:"+encodeHTML(oe+"")+"px;color:"+encodeHTML(V)+";font-weight:"+encodeHTML(ie+""),valueStyle:"font-size:"+encodeHTML(ue+"")+"px;color:"+encodeHTML(le)+";font-weight:"+encodeHTML(de+"")}:{nameStyle:{fontSize:oe,fill:V,fontWeight:ie},valueStyle:{fontSize:ue,fill:le,fontWeight:de}}}var HTML_GAPS=[0,10,20,30],RICH_TEXT_GAPS=["",`
|
||
`,`
|
||
|
||
`,`
|
||
|
||
|
||
`];function createTooltipMarkup(t,r){return r.type=t,r}function isSectionFragment(t){return t.type==="section"}function getBuilder(t){return isSectionFragment(t)?buildSection:buildNameValue}function getBlockGapLevel(t){if(isSectionFragment(t)){var r=0,V=t.blocks.length,oe=V>1||V>0&&!t.noHeader;return each$c(t.blocks,function(ie){var le=getBlockGapLevel(ie);le>=r&&(r=le+ +(oe&&(!le||isSectionFragment(ie)&&!ie.noHeader)))}),r}return 0}function buildSection(t,r,V,oe){var ie=r.noHeader,le=getGap(getBlockGapLevel(r)),ue=[],de=r.blocks||[];assert(!de||isArray$1(de)),de=de||[];var pe=t.orderMode;if(r.sortBlocks&&pe){de=de.slice();var he={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(he,pe)){var _e=new SortOrderComparator(he[pe],null);de.sort(function(Fe,Ue){return _e.evaluate(Fe.sortParam,Ue.sortParam)})}else pe==="seriesDesc"&&de.reverse()}each$c(de,function(Fe,Ue){var qe=r.valueFormatter,Et=getBuilder(Fe)(qe?extend(extend({},t),{valueFormatter:qe}):t,Fe,Ue>0?le.html:0,oe);Et!=null&&ue.push(Et)});var $e=t.renderMode==="richText"?ue.join(le.richText):wrapBlockHTML(ue.join(""),ie?V:le.html);if(ie)return $e;var Ie=makeValueReadable(r.header,"ordinal",t.useUTC),Ve=getTooltipTextStyle(oe,t.renderMode).nameStyle;return t.renderMode==="richText"?wrapInlineNameRichText(t,Ie,Ve)+le.richText+$e:wrapBlockHTML('<div style="'+Ve+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+encodeHTML(Ie)+"</div>"+$e,V)}function buildNameValue(t,r,V,oe){var ie=t.renderMode,le=r.noName,ue=r.noValue,de=!r.markerType,pe=r.name,he=t.useUTC,_e=r.valueFormatter||t.valueFormatter||function(hn){return hn=isArray$1(hn)?hn:[hn],map$2(hn,function(_n,vn){return makeValueReadable(_n,isArray$1(Ve)?Ve[vn]:Ve,he)})};if(!(le&&ue)){var $e=de?"":t.markupStyleCreator.makeTooltipMarker(r.markerType,r.markerColor||"#333",ie),Ie=le?"":makeValueReadable(pe,"ordinal",he),Ve=r.valueType,Fe=ue?[]:_e(r.value),Ue=!de||!le,qe=!de&&le,Et=getTooltipTextStyle(oe,ie),At=Et.nameStyle,Lt=Et.valueStyle;return ie==="richText"?(de?"":$e)+(le?"":wrapInlineNameRichText(t,Ie,At))+(ue?"":wrapInlineValueRichText(t,Fe,Ue,qe,Lt)):wrapBlockHTML((de?"":$e)+(le?"":wrapInlineNameHTML(Ie,!de,At))+(ue?"":wrapInlineValueHTML(Fe,Ue,qe,Lt)),V)}}function buildTooltipMarkup(t,r,V,oe,ie,le){if(t){var ue=getBuilder(t),de={useUTC:ie,renderMode:V,orderMode:oe,markupStyleCreator:r,valueFormatter:t.valueFormatter};return ue(de,t,0,le)}}function getGap(t){return{html:HTML_GAPS[t],richText:RICH_TEXT_GAPS[t]}}function wrapBlockHTML(t,r){var V='<div style="clear:both"></div>',oe="margin: "+r+"px 0 0";return'<div style="'+oe+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+t+V+"</div>"}function wrapInlineNameHTML(t,r,V){var oe=r?"margin-left:2px":"";return'<span style="'+V+";"+oe+'">'+encodeHTML(t)+"</span>"}function wrapInlineValueHTML(t,r,V,oe){var ie=V?"10px":"20px",le=r?"float:right;margin-left:"+ie:"";return t=isArray$1(t)?t:[t],'<span style="'+le+";"+oe+'">'+map$2(t,function(ue){return encodeHTML(ue)}).join(" ")+"</span>"}function wrapInlineNameRichText(t,r,V){return t.markupStyleCreator.wrapRichTextStyle(r,V)}function wrapInlineValueRichText(t,r,V,oe,ie){var le=[ie],ue=oe?10:20;return V&&le.push({padding:[0,0,0,ue],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(isArray$1(r)?r.join(" "):r,le)}function retrieveVisualColorForTooltipMarker(t,r){var V=t.getData().getItemVisual(r,"style"),oe=V[t.visualDrawType];return convertToColorString(oe)}function getPaddingFromTooltipModel(t,r){var V=t.get("padding");return V??(r==="richText"?[8,10]:10)}var TooltipMarkupStyleCreator=function(){function t(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(r,V,oe){var ie=oe==="richText"?this._generateStyleName():null,le=getTooltipMarker({color:V,type:r,renderMode:oe,markerId:ie});return isString(le)?le:(this.richTextStyles[ie]=le.style,le.content)},t.prototype.wrapRichTextStyle=function(r,V){var oe={};isArray$1(V)?each$c(V,function(le){return extend(oe,le)}):extend(oe,V);var ie=this._generateStyleName();return this.richTextStyles[ie]=oe,"{"+ie+"|"+r+"}"},t}();function defaultSeriesFormatTooltip(t){var r=t.series,V=t.dataIndex,oe=t.multipleSeries,ie=r.getData(),le=ie.mapDimensionsAll("defaultedTooltip"),ue=le.length,de=r.getRawValue(V),pe=isArray$1(de),he=retrieveVisualColorForTooltipMarker(r,V),_e,$e,Ie,Ve;if(ue>1||pe&&!ue){var Fe=formatTooltipArrayValue(de,r,V,le,he);_e=Fe.inlineValues,$e=Fe.inlineValueTypes,Ie=Fe.blocks,Ve=Fe.inlineValues[0]}else if(ue){var Ue=ie.getDimensionInfo(le[0]);Ve=_e=retrieveRawValue(ie,V,le[0]),$e=Ue.type}else Ve=_e=pe?de[0]:de;var qe=isNameSpecified(r),Et=qe&&r.name||"",At=ie.getName(V),Lt=oe?Et:At;return createTooltipMarkup("section",{header:Et,noHeader:oe||!qe,sortParam:Ve,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:he,name:Lt,noName:!trim$1(Lt),value:_e,valueType:$e})].concat(Ie||[])})}function formatTooltipArrayValue(t,r,V,oe,ie){var le=r.getData(),ue=reduce(t,function($e,Ie,Ve){var Fe=le.getDimensionInfo(Ve);return $e=$e||Fe&&Fe.tooltip!==!1&&Fe.displayName!=null},!1),de=[],pe=[],he=[];oe.length?each$c(oe,function($e){_e(retrieveRawValue(le,V,$e),$e)}):each$c(t,_e);function _e($e,Ie){var Ve=le.getDimensionInfo(Ie);!Ve||Ve.otherDims.tooltip===!1||(ue?he.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:ie,name:Ve.displayName,value:$e,valueType:Ve.type})):(de.push($e),pe.push(Ve.type)))}return{inlineValues:de,inlineValueTypes:pe,blocks:he}}var inner$b=makeInner();function getSelectionKey(t,r){return t.getName(r)||t.getId(r)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V._selectedDataIndicesMap={},V}return r.prototype.init=function(V,oe,ie){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(V,ie);var le=inner$b(this).sourceManager=new SourceManager(this);le.prepareSource();var ue=this.getInitialData(V,ie);wrapData(ue,this),this.dataTask.context.data=ue,inner$b(this).dataBeforeProcessed=ue,autoSeriesName(this),this._initSelectedMapFromData(ue)},r.prototype.mergeDefaultAndTheme=function(V,oe){var ie=fetchLayoutMode(this),le=ie?getLayoutParams(V):{},ue=this.subType;ComponentModel$1.hasClass(ue)&&(ue+="Series"),merge(V,oe.getTheme().get(this.subType)),merge(V,this.getDefaultOption()),defaultEmphasis(V,"label",["show"]),this.fillDataTextStyle(V.data),ie&&mergeLayoutParam(V,le,ie)},r.prototype.mergeOption=function(V,oe){V=merge(this.option,V,!0),this.fillDataTextStyle(V.data);var ie=fetchLayoutMode(this);ie&&mergeLayoutParam(this.option,V,ie);var le=inner$b(this).sourceManager;le.dirty(),le.prepareSource();var ue=this.getInitialData(V,oe);wrapData(ue,this),this.dataTask.dirty(),this.dataTask.context.data=ue,inner$b(this).dataBeforeProcessed=ue,autoSeriesName(this),this._initSelectedMapFromData(ue)},r.prototype.fillDataTextStyle=function(V){if(V&&!isTypedArray(V))for(var oe=["show"],ie=0;ie<V.length;ie++)V[ie]&&V[ie].label&&defaultEmphasis(V[ie],"label",oe)},r.prototype.getInitialData=function(V,oe){},r.prototype.appendData=function(V){var oe=this.getRawData();oe.appendData(V.data)},r.prototype.getData=function(V){var oe=getCurrentTask(this);if(oe){var ie=oe.context.data;return V==null?ie:ie.getLinkedData(V)}else return inner$b(this).data},r.prototype.getAllData=function(){var V=this.getData();return V&&V.getLinkedDataAll?V.getLinkedDataAll():[{data:V}]},r.prototype.setData=function(V){var oe=getCurrentTask(this);if(oe){var ie=oe.context;ie.outputData=V,oe!==this.dataTask&&(ie.data=V)}inner$b(this).data=V},r.prototype.getEncode=function(){var V=this.get("encode",!0);if(V)return createHashMap(V)},r.prototype.getSourceManager=function(){return inner$b(this).sourceManager},r.prototype.getSource=function(){return this.getSourceManager().getSource()},r.prototype.getRawData=function(){return inner$b(this).dataBeforeProcessed},r.prototype.getColorBy=function(){var V=this.get("colorBy");return V||"series"},r.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},r.prototype.getBaseAxis=function(){var V=this.coordinateSystem;return V&&V.getBaseAxis&&V.getBaseAxis()},r.prototype.formatTooltip=function(V,oe,ie){return defaultSeriesFormatTooltip({series:this,dataIndex:V,multipleSeries:oe})},r.prototype.isAnimationEnabled=function(){var V=this.ecModel;if(env$1.node&&!(V&&V.ssr))return!1;var oe=this.getShallow("animation");return oe&&this.getData().count()>this.getShallow("animationThreshold")&&(oe=!1),!!oe},r.prototype.restoreData=function(){this.dataTask.dirty()},r.prototype.getColorFromPalette=function(V,oe,ie){var le=this.ecModel,ue=PaletteMixin.prototype.getColorFromPalette.call(this,V,oe,ie);return ue||(ue=le.getColorFromPalette(V,oe,ie)),ue},r.prototype.coordDimToDataDim=function(V){return this.getRawData().mapDimensionsAll(V)},r.prototype.getProgressive=function(){return this.get("progressive")},r.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},r.prototype.select=function(V,oe){this._innerSelect(this.getData(oe),V)},r.prototype.unselect=function(V,oe){var ie=this.option.selectedMap;if(ie){var le=this.option.selectedMode,ue=this.getData(oe);if(le==="series"||ie==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var de=0;de<V.length;de++){var pe=V[de],he=getSelectionKey(ue,pe);ie[he]=!1,this._selectedDataIndicesMap[he]=-1}}},r.prototype.toggleSelect=function(V,oe){for(var ie=[],le=0;le<V.length;le++)ie[0]=V[le],this.isSelected(V[le],oe)?this.unselect(ie,oe):this.select(ie,oe)},r.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var V=this._selectedDataIndicesMap,oe=keys(V),ie=[],le=0;le<oe.length;le++){var ue=V[oe[le]];ue>=0&&ie.push(ue)}return ie},r.prototype.isSelected=function(V,oe){var ie=this.option.selectedMap;if(!ie)return!1;var le=this.getData(oe);return(ie==="all"||ie[getSelectionKey(le,V)])&&!le.getItemModel(V).get(["select","disabled"])},r.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var V=this.option.universalTransition;return V?V===!0?!0:V&&V.enabled:!1},r.prototype._innerSelect=function(V,oe){var ie,le,ue=this.option,de=ue.selectedMode,pe=oe.length;if(!(!de||!pe)){if(de==="series")ue.selectedMap="all";else if(de==="multiple"){isObject$3(ue.selectedMap)||(ue.selectedMap={});for(var he=ue.selectedMap,_e=0;_e<pe;_e++){var $e=oe[_e],Ie=getSelectionKey(V,$e);he[Ie]=!0,this._selectedDataIndicesMap[Ie]=V.getRawIndex($e)}}else if(de==="single"||de===!0){var Ve=oe[pe-1],Ie=getSelectionKey(V,Ve);ue.selectedMap=(ie={},ie[Ie]=!0,ie),this._selectedDataIndicesMap=(le={},le[Ie]=V.getRawIndex(Ve),le)}}},r.prototype._initSelectedMapFromData=function(V){if(!this.option.selectedMap){var oe=[];V.hasItemOption&&V.each(function(ie){var le=V.getRawDataItem(ie);le&&le.selected&&oe.push(ie)}),oe.length>0&&this._innerSelect(V,oe)}},r.registerClass=function(V){return ComponentModel$1.registerClass(V)},r.protoInitialize=function(){var V=r.prototype;V.type="series.__base__",V.seriesIndex=0,V.ignoreStyleOnData=!1,V.hasSymbolVisual=!1,V.defaultSymbol="circle",V.visualStyleAccessPath="itemStyle",V.visualDrawType="fill"}(),r}(ComponentModel$1);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel$1);function autoSeriesName(t){var r=t.name;isNameSpecified(t)||(t.name=getSeriesAutoName(t)||r)}function getSeriesAutoName(t){var r=t.getRawData(),V=r.mapDimensionsAll("seriesName"),oe=[];return each$c(V,function(ie){var le=r.getDimensionInfo(ie);le.displayName&&oe.push(le.displayName)}),oe.join(" ")}function dataTaskCount(t){return t.model.getRawData().count()}function dataTaskReset(t){var r=t.model;return r.setData(r.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(t,r){r.outputData&&t.end>r.outputData.count()&&r.model.getRawData().cloneShallow(r.outputData)}function wrapData(t,r){each$c(concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(V){t.wrapMethod(V,curry$1(onDataChange,r))})}function onDataChange(t,r){var V=getCurrentTask(t);return V&&V.setOutputEnd((r||this).count()),r}function getCurrentTask(t){var r=(t.ecModel||{}).scheduler,V=r&&r.getPipeline(t.uid);if(V){var oe=V.currentTask;if(oe){var ie=oe.agentStubMap;ie&&(oe=ie.get(t.uid))}return oe}}const SeriesModel$1=SeriesModel;var ComponentView=function(){function t(){this.group=new Group$3,this.uid=getUID("viewComponent")}return t.prototype.init=function(r,V){},t.prototype.render=function(r,V,oe,ie){},t.prototype.dispose=function(r,V){},t.prototype.updateView=function(r,V,oe,ie){},t.prototype.updateLayout=function(r,V,oe,ie){},t.prototype.updateVisual=function(r,V,oe,ie){},t.prototype.toggleBlurSeries=function(r,V,oe){},t.prototype.eachRendered=function(r){var V=this.group;V&&V.traverse(r)},t}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);const ComponentView$1=ComponentView;function createRenderPlanner(){var t=makeInner();return function(r){var V=t(r),oe=r.pipelineContext,ie=!!V.large,le=!!V.progressiveRender,ue=V.large=!!(oe&&oe.large),de=V.progressiveRender=!!(oe&&oe.progressiveRender);return(ie!==ue||le!==de)&&"reset"}}var inner$a=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function t(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return t.prototype.init=function(r,V){},t.prototype.render=function(r,V,oe,ie){},t.prototype.highlight=function(r,V,oe,ie){var le=r.getData(ie&&ie.dataType);le&&toggleHighlight(le,ie,"emphasis")},t.prototype.downplay=function(r,V,oe,ie){var le=r.getData(ie&&ie.dataType);le&&toggleHighlight(le,ie,"normal")},t.prototype.remove=function(r,V){this.group.removeAll()},t.prototype.dispose=function(r,V){},t.prototype.updateView=function(r,V,oe,ie){this.render(r,V,oe,ie)},t.prototype.updateLayout=function(r,V,oe,ie){this.render(r,V,oe,ie)},t.prototype.updateVisual=function(r,V,oe,ie){this.render(r,V,oe,ie)},t.prototype.eachRendered=function(r){traverseElements(this.group,r)},t.markUpdateMethod=function(r,V){inner$a(r).updateMethod=V},t.protoInitialize=function(){var r=t.prototype;r.type="chart"}(),t}();function elSetState(t,r,V){t&&isHighDownDispatcher(t)&&(r==="emphasis"?enterEmphasis:leaveEmphasis)(t,V)}function toggleHighlight(t,r,V){var oe=queryDataIndex(t,r),ie=r&&r.highlightKey!=null?getHighlightDigit(r.highlightKey):null;oe!=null?each$c(normalizeToArray(oe),function(le){elSetState(t.getItemGraphicEl(le),V,ie)}):t.eachItemGraphicEl(function(le){elSetState(le,V,ie)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(t){return renderPlanner(t.model)}function renderTaskReset(t){var r=t.model,V=t.ecModel,oe=t.api,ie=t.payload,le=r.pipelineContext.progressiveRender,ue=t.view,de=ie&&inner$a(ie).updateMethod,pe=le?"incrementalPrepareRender":de&&ue[de]?de:"render";return pe!=="render"&&ue[pe](r,V,oe,ie),progressMethodMap[pe]}var progressMethodMap={incrementalPrepareRender:{progress:function(t,r){r.view.incrementalRender(t,r.model,r.ecModel,r.api,r.payload)}},render:{forceFirstProgress:!0,progress:function(t,r){r.view.render(r.model,r.ecModel,r.api,r.payload)}}};const ChartView$1=ChartView;var ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle(t,r,V){var oe,ie=0,le=0,ue=null,de,pe,he,_e;r=r||0;function $e(){le=new Date().getTime(),ue=null,t.apply(pe,he||[])}var Ie=function(){for(var Ve=[],Fe=0;Fe<arguments.length;Fe++)Ve[Fe]=arguments[Fe];oe=new Date().getTime(),pe=this,he=Ve;var Ue=_e||r,qe=_e||V;_e=null,de=oe-(qe?ie:le)-Ue,clearTimeout(ue),qe?ue=setTimeout($e,Ue):de>=0?$e():ue=setTimeout($e,-de),ie=oe};return Ie.clear=function(){ue&&(clearTimeout(ue),ue=null)},Ie.debounceNextCall=function(Ve){_e=Ve},Ie}function createOrUpdate(t,r,V,oe){var ie=t[r];if(ie){var le=ie[ORIGIN_METHOD]||ie,ue=ie[THROTTLE_TYPE],de=ie[RATE];if(de!==V||ue!==oe){if(V==null||!oe)return t[r]=le;ie=t[r]=throttle(le,V,oe==="debounce"),ie[ORIGIN_METHOD]=le,ie[THROTTLE_TYPE]=oe,ie[RATE]=V}return ie}}function clear$1(t,r){var V=t[r];V&&V[ORIGIN_METHOD]&&(V.clear&&V.clear(),t[r]=V[ORIGIN_METHOD])}var inner$9=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(t,r){var V=t.visualStyleMapper||defaultStyleMappers[r];return V||(console.warn("Unknown style type '"+r+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(t,r){var V=t.visualDrawType||defaultColorKey[r];return V||(console.warn("Unknown style type '"+r+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){var V=t.getData(),oe=t.visualStyleAccessPath||"itemStyle",ie=t.getModel(oe),le=getStyleMapper(t,oe),ue=le(ie),de=ie.getShallow("decal");de&&(V.setVisual("decal",de),de.dirty=!0);var pe=getDefaultColorKey(t,oe),he=ue[pe],_e=isFunction(he)?he:null,$e=ue.fill==="auto"||ue.stroke==="auto";if(!ue[pe]||_e||$e){var Ie=t.getColorFromPalette(t.name,null,r.getSeriesCount());ue[pe]||(ue[pe]=Ie,V.setVisual("colorFromPalette",!0)),ue.fill=ue.fill==="auto"||isFunction(ue.fill)?Ie:ue.fill,ue.stroke=ue.stroke==="auto"||isFunction(ue.stroke)?Ie:ue.stroke}if(V.setVisual("style",ue),V.setVisual("drawType",pe),!r.isSeriesFiltered(t)&&_e)return V.setVisual("colorFromPalette",!1),{dataEach:function(Ve,Fe){var Ue=t.getDataParams(Fe),qe=extend({},ue);qe[pe]=_e(Ue),Ve.setItemVisual(Fe,"style",qe)}}}},sharedModel=new Model$1,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){if(!(t.ignoreStyleOnData||r.isSeriesFiltered(t))){var V=t.getData(),oe=t.visualStyleAccessPath||"itemStyle",ie=getStyleMapper(t,oe),le=V.getVisual("drawType");return{dataEach:V.hasItemOption?function(ue,de){var pe=ue.getRawDataItem(de);if(pe&&pe[oe]){sharedModel.option=pe[oe];var he=ie(sharedModel),_e=ue.ensureUniqueItemVisual(de,"style");extend(_e,he),sharedModel.option.decal&&(ue.setItemVisual(de,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),le in he&&ue.setItemVisual(de,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(t){var r=createHashMap();t.eachSeries(function(V){var oe=V.getColorBy();if(!V.isColorBySeries()){var ie=V.type+"-"+oe,le=r.get(ie);le||(le={},r.set(ie,le)),inner$9(V).scope=le}}),t.eachSeries(function(V){if(!(V.isColorBySeries()||t.isSeriesFiltered(V))){var oe=V.getRawData(),ie={},le=V.getData(),ue=inner$9(V).scope,de=V.visualStyleAccessPath||"itemStyle",pe=getDefaultColorKey(V,de);le.each(function(he){var _e=le.getRawIndex(he);ie[_e]=he}),oe.each(function(he){var _e=ie[he],$e=le.getItemVisual(_e,"colorFromPalette");if($e){var Ie=le.ensureUniqueItemVisual(_e,"style"),Ve=oe.getName(he)||he+"",Fe=oe.count();Ie[pe]=V.getColorFromPalette(Ve,ue,Fe)}})}})}},PI$1=Math.PI;function defaultLoading(t,r){r=r||{},defaults(r,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var V=new Group$3,oe=new Rect$2({style:{fill:r.maskColor},zlevel:r.zlevel,z:1e4});V.add(oe);var ie=new ZRText$1({style:{text:r.text,fill:r.textColor,fontSize:r.fontSize,fontWeight:r.fontWeight,fontStyle:r.fontStyle,fontFamily:r.fontFamily},zlevel:r.zlevel,z:10001}),le=new Rect$2({style:{fill:"none"},textContent:ie,textConfig:{position:"right",distance:10},zlevel:r.zlevel,z:10001});V.add(le);var ue;return r.showSpinner&&(ue=new Arc$1({shape:{startAngle:-PI$1/2,endAngle:-PI$1/2+.1,r:r.spinnerRadius},style:{stroke:r.color,lineCap:"round",lineWidth:r.lineWidth},zlevel:r.zlevel,z:10001}),ue.animateShape(!0).when(1e3,{endAngle:PI$1*3/2}).start("circularInOut"),ue.animateShape(!0).when(1e3,{startAngle:PI$1*3/2}).delay(300).start("circularInOut"),V.add(ue)),V.resize=function(){var de=ie.getBoundingRect().width,pe=r.showSpinner?r.spinnerRadius:0,he=(t.getWidth()-pe*2-(r.showSpinner&&de?10:0)-de)/2-(r.showSpinner&&de?0:5+de/2)+(r.showSpinner?0:de/2)+(de?0:pe),_e=t.getHeight()/2;r.showSpinner&&ue.setShape({cx:he,cy:_e}),le.setShape({x:he-pe,y:_e-pe,width:pe*2,height:pe*2}),oe.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},V.resize(),V}var Scheduler=function(){function t(r,V,oe,ie){this._stageTaskMap=createHashMap(),this.ecInstance=r,this.api=V,oe=this._dataProcessorHandlers=oe.slice(),ie=this._visualHandlers=ie.slice(),this._allHandlers=oe.concat(ie)}return t.prototype.restoreData=function(r,V){r.restoreData(V),this._stageTaskMap.each(function(oe){var ie=oe.overallTask;ie&&ie.dirty()})},t.prototype.getPerformArgs=function(r,V){if(r.__pipeline){var oe=this._pipelineMap.get(r.__pipeline.id),ie=oe.context,le=!V&&oe.progressiveEnabled&&(!ie||ie.progressiveRender)&&r.__idxInPipeline>oe.blockIndex,ue=le?oe.step:null,de=ie&&ie.modDataCount,pe=de!=null?Math.ceil(de/ue):null;return{step:ue,modBy:pe,modDataCount:de}}},t.prototype.getPipeline=function(r){return this._pipelineMap.get(r)},t.prototype.updateStreamModes=function(r,V){var oe=this._pipelineMap.get(r.uid),ie=r.getData(),le=ie.count(),ue=oe.progressiveEnabled&&V.incrementalPrepareRender&&le>=oe.threshold,de=r.get("large")&&le>=r.get("largeThreshold"),pe=r.get("progressiveChunkMode")==="mod"?le:null;r.pipelineContext=oe.context={progressiveRender:ue,modDataCount:pe,large:de}},t.prototype.restorePipelines=function(r){var V=this,oe=V._pipelineMap=createHashMap();r.eachSeries(function(ie){var le=ie.getProgressive(),ue=ie.uid;oe.set(ue,{id:ue,head:null,tail:null,threshold:ie.getProgressiveThreshold(),progressiveEnabled:le&&!(ie.preventIncremental&&ie.preventIncremental()),blockIndex:-1,step:Math.round(le||700),count:0}),V._pipe(ie,ie.dataTask)})},t.prototype.prepareStageTasks=function(){var r=this._stageTaskMap,V=this.api.getModel(),oe=this.api;each$c(this._allHandlers,function(ie){var le=r.get(ie.uid)||r.set(ie.uid,{}),ue="";assert(!(ie.reset&&ie.overallReset),ue),ie.reset&&this._createSeriesStageTask(ie,le,V,oe),ie.overallReset&&this._createOverallStageTask(ie,le,V,oe)},this)},t.prototype.prepareView=function(r,V,oe,ie){var le=r.renderTask,ue=le.context;ue.model=V,ue.ecModel=oe,ue.api=ie,le.__block=!r.incrementalPrepareRender,this._pipe(V,le)},t.prototype.performDataProcessorTasks=function(r,V){this._performStageTasks(this._dataProcessorHandlers,r,V,{block:!0})},t.prototype.performVisualTasks=function(r,V,oe){this._performStageTasks(this._visualHandlers,r,V,oe)},t.prototype._performStageTasks=function(r,V,oe,ie){ie=ie||{};var le=!1,ue=this;each$c(r,function(pe,he){if(!(ie.visualType&&ie.visualType!==pe.visualType)){var _e=ue._stageTaskMap.get(pe.uid),$e=_e.seriesTaskMap,Ie=_e.overallTask;if(Ie){var Ve,Fe=Ie.agentStubMap;Fe.each(function(qe){de(ie,qe)&&(qe.dirty(),Ve=!0)}),Ve&&Ie.dirty(),ue.updatePayload(Ie,oe);var Ue=ue.getPerformArgs(Ie,ie.block);Fe.each(function(qe){qe.perform(Ue)}),Ie.perform(Ue)&&(le=!0)}else $e&&$e.each(function(qe,Et){de(ie,qe)&&qe.dirty();var At=ue.getPerformArgs(qe,ie.block);At.skip=!pe.performRawSeries&&V.isSeriesFiltered(qe.context.model),ue.updatePayload(qe,oe),qe.perform(At)&&(le=!0)})}});function de(pe,he){return pe.setDirty&&(!pe.dirtyMap||pe.dirtyMap.get(he.__pipeline.id))}this.unfinished=le||this.unfinished},t.prototype.performSeriesTasks=function(r){var V;r.eachSeries(function(oe){V=oe.dataTask.perform()||V}),this.unfinished=V||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(r){var V=r.tail;do{if(V.__block){r.blockIndex=V.__idxInPipeline;break}V=V.getUpstream()}while(V)})},t.prototype.updatePayload=function(r,V){V!=="remain"&&(r.context.payload=V)},t.prototype._createSeriesStageTask=function(r,V,oe,ie){var le=this,ue=V.seriesTaskMap,de=V.seriesTaskMap=createHashMap(),pe=r.seriesType,he=r.getTargetSeries;r.createOnAllSeries?oe.eachRawSeries(_e):pe?oe.eachRawSeriesByType(pe,_e):he&&he(oe,ie).each(_e);function _e($e){var Ie=$e.uid,Ve=de.set(Ie,ue&&ue.get(Ie)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));Ve.context={model:$e,ecModel:oe,api:ie,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:le},le._pipe($e,Ve)}},t.prototype._createOverallStageTask=function(r,V,oe,ie){var le=this,ue=V.overallTask=V.overallTask||createTask({reset:overallTaskReset});ue.context={ecModel:oe,api:ie,overallReset:r.overallReset,scheduler:le};var de=ue.agentStubMap,pe=ue.agentStubMap=createHashMap(),he=r.seriesType,_e=r.getTargetSeries,$e=!0,Ie=!1,Ve="";assert(!r.createOnAllSeries,Ve),he?oe.eachRawSeriesByType(he,Fe):_e?_e(oe,ie).each(Fe):($e=!1,each$c(oe.getSeries(),Fe));function Fe(Ue){var qe=Ue.uid,Et=pe.set(qe,de&&de.get(qe)||(Ie=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));Et.context={model:Ue,overallProgress:$e},Et.agent=ue,Et.__block=$e,le._pipe(Ue,Et)}Ie&&ue.dirty()},t.prototype._pipe=function(r,V){var oe=r.uid,ie=this._pipelineMap.get(oe);!ie.head&&(ie.head=V),ie.tail&&ie.tail.pipe(V),ie.tail=V,V.__idxInPipeline=ie.count++,V.__pipeline=ie},t.wrapStageHandler=function(r,V){return isFunction(r)&&(r={overallReset:r,seriesType:detectSeriseType(r)}),r.uid=getUID("stageHandler"),V&&(r.visualType=V),r},t}();function overallTaskReset(t){t.overallReset(t.ecModel,t.api,t.payload)}function stubReset(t){return t.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function seriesTaskReset(t){t.useClearVisual&&t.data.clearAllVisual();var r=t.resetDefines=normalizeToArray(t.reset(t.model,t.ecModel,t.api,t.payload));return r.length>1?map$2(r,function(V,oe){return makeSeriesTaskProgress(oe)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(t){return function(r,V){var oe=V.data,ie=V.resetDefines[t];if(ie&&ie.dataEach)for(var le=r.start;le<r.end;le++)ie.dataEach(oe,le);else ie&&ie.progress&&ie.progress(r,oe)}}function seriesTaskCount(t){return t.data.count()}function detectSeriseType(t){seriesType=null;try{t(ecModelMock,apiMock)}catch{}return seriesType}var ecModelMock={},apiMock={},seriesType;mockMethods(ecModelMock,GlobalModel$1);mockMethods(apiMock,ExtensionAPI$1);ecModelMock.eachSeriesByType=ecModelMock.eachRawSeriesByType=function(t){seriesType=t};ecModelMock.eachComponent=function(t){t.mainType==="series"&&t.subType&&(seriesType=t.subType)};function mockMethods(t,r){for(var V in r.prototype)t[V]=noop}const Scheduler$1=Scheduler;var colorAll=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const lightTheme={color:colorAll,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],colorAll]};var contrastColor="#B9B8CE",backgroundColor="#100C2A",axisCommon=function(){return{axisLine:{lineStyle:{color:contrastColor}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},colorPalette=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],theme={darkMode:!0,color:colorPalette,backgroundColor,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:contrastColor}},textStyle:{color:contrastColor},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:contrastColor}},dataZoom:{borderColor:"#71708A",textStyle:{color:contrastColor},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:contrastColor}},timeline:{lineStyle:{color:contrastColor},label:{color:contrastColor},controlStyle:{color:contrastColor,borderColor:contrastColor}},calendar:{itemStyle:{color:backgroundColor},dayLabel:{color:contrastColor},monthLabel:{color:contrastColor},yearLabel:{color:contrastColor}},timeAxis:axisCommon(),logAxis:axisCommon(),valueAxis:axisCommon(),categoryAxis:axisCommon(),line:{symbol:"circle"},graph:{color:colorPalette},gauge:{title:{color:contrastColor},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:contrastColor},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};theme.categoryAxis.splitLine.show=!1;const darkTheme=theme;var ECEventProcessor=function(){function t(){}return t.prototype.normalizeQuery=function(r){var V={},oe={},ie={};if(isString(r)){var le=parseClassType(r);V.mainType=le.main||null,V.subType=le.sub||null}else{var ue=["Index","Name","Id"],de={name:1,dataIndex:1,dataType:1};each$c(r,function(pe,he){for(var _e=!1,$e=0;$e<ue.length;$e++){var Ie=ue[$e],Ve=he.lastIndexOf(Ie);if(Ve>0&&Ve===he.length-Ie.length){var Fe=he.slice(0,Ve);Fe!=="data"&&(V.mainType=Fe,V[Ie.toLowerCase()]=pe,_e=!0)}}de.hasOwnProperty(he)&&(oe[he]=pe,_e=!0),_e||(ie[he]=pe)})}return{cptQuery:V,dataQuery:oe,otherQuery:ie}},t.prototype.filter=function(r,V){var oe=this.eventInfo;if(!oe)return!0;var ie=oe.targetEl,le=oe.packedEvent,ue=oe.model,de=oe.view;if(!ue||!de)return!0;var pe=V.cptQuery,he=V.dataQuery;return _e(pe,ue,"mainType")&&_e(pe,ue,"subType")&&_e(pe,ue,"index","componentIndex")&&_e(pe,ue,"name")&&_e(pe,ue,"id")&&_e(he,le,"name")&&_e(he,le,"dataIndex")&&_e(he,le,"dataType")&&(!de.filterForExposedEvent||de.filterForExposedEvent(r,V.otherQuery,ie,le));function _e($e,Ie,Ve,Fe){return $e[Ve]==null||Ie[Fe||Ve]===$e[Ve]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){var V=t.getData();if(t.legendIcon&&V.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var oe={},ie={},le=!1,ue=0;ue<SYMBOL_PROPS_WITH_CB.length;ue++){var de=SYMBOL_PROPS_WITH_CB[ue],pe=t.get(de);isFunction(pe)?(le=!0,ie[de]=pe):oe[de]=pe}if(oe.symbol=oe.symbol||t.defaultSymbol,V.setVisual(extend({legendIcon:t.legendIcon||oe.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},oe)),r.isSeriesFiltered(t))return;var he=keys(ie);function _e($e,Ie){for(var Ve=t.getRawValue(Ie),Fe=t.getDataParams(Ie),Ue=0;Ue<he.length;Ue++){var qe=he[Ue];$e.setItemVisual(Ie,qe,ie[qe](Ve,Fe))}}return{dataEach:le?_e:null}}},dataSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,r){if(!t.hasSymbolVisual||r.isSeriesFiltered(t))return;var V=t.getData();function oe(ie,le){for(var ue=ie.getItemModel(le),de=0;de<SYMBOL_PROPS.length;de++){var pe=SYMBOL_PROPS[de],he=ue.getShallow(pe,!0);he!=null&&ie.setItemVisual(le,pe,he)}}return{dataEach:V.hasItemOption?oe:null}}};function getItemVisualFromData(t,r,V){switch(V){case"color":var oe=t.getItemVisual(r,"style");return oe[t.getVisual("drawType")];case"opacity":return t.getItemVisual(r,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(r,V)}}function getVisualFromData(t,r){switch(r){case"color":var V=t.getVisual("style");return V[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(r)}}function setItemVisualFromData(t,r,V,oe){switch(V){case"color":var ie=t.ensureUniqueItemVisual(r,"style");ie[t.getVisual("drawType")]=oe,t.setItemVisual(r,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(r,"style").opacity=oe;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(r,V,oe);break}}function createLegacyDataSelectAction(t,r){function V(oe,ie){var le=[];return oe.eachComponent({mainType:"series",subType:t,query:ie},function(ue){le.push(ue.seriesIndex)}),le}each$c([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(oe){r(oe[0],function(ie,le,ue){ie=extend({},ie),ue.dispatchAction(extend(ie,{type:oe[1],seriesIndex:V(le,ie)}))})})}function handleSeriesLegacySelectEvents(t,r,V,oe,ie){var le=t+r;V.isSilent(le)||oe.eachComponent({mainType:"series",subType:"pie"},function(ue){for(var de=ue.seriesIndex,pe=ue.option.selectedMap,he=ie.selected,_e=0;_e<he.length;_e++)if(he[_e].seriesIndex===de){var $e=ue.getData(),Ie=queryDataIndex($e,ie.fromActionPayload);V.trigger(le,{type:le,seriesId:ue.id,name:isArray$1(Ie)?$e.getName(Ie[0]):$e.getName(Ie),selected:isString(pe)?pe:extend({},pe)})}})}function handleLegacySelectEvents(t,r,V){t.on("selectchanged",function(oe){var ie=V.getModel();oe.isFromClick?(handleSeriesLegacySelectEvents("map","selectchanged",r,ie,oe),handleSeriesLegacySelectEvents("pie","selectchanged",r,ie,oe)):oe.fromAction==="select"?(handleSeriesLegacySelectEvents("map","selected",r,ie,oe),handleSeriesLegacySelectEvents("pie","selected",r,ie,oe)):oe.fromAction==="unselect"&&(handleSeriesLegacySelectEvents("map","unselected",r,ie,oe),handleSeriesLegacySelectEvents("pie","unselected",r,ie,oe))})}function findEventDispatcher(t,r,V){for(var oe;t&&!(r(t)&&(oe=t,V));)t=t.__hostTarget||t.parent;return oe}var wmUniqueIndex=Math.round(Math.random()*9),supportDefineProperty=typeof Object.defineProperty=="function",WeakMap$1=function(){function t(){this._id="__ec_inner_"+wmUniqueIndex++}return t.prototype.get=function(r){return this._guard(r)[this._id]},t.prototype.set=function(r,V){var oe=this._guard(r);return supportDefineProperty?Object.defineProperty(oe,this._id,{value:V,enumerable:!1,configurable:!0}):oe[this._id]=V,this},t.prototype.delete=function(r){return this.has(r)?(delete this._guard(r)[this._id],!0):!1},t.prototype.has=function(r){return!!this._guard(r)[this._id]},t.prototype._guard=function(r){if(r!==Object(r))throw TypeError("Value of WeakMap is not a non-null object.");return r},t}();const WeakMap$2=WeakMap$1;var Triangle=Path$1.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,r){var V=r.cx,oe=r.cy,ie=r.width/2,le=r.height/2;t.moveTo(V,oe-le),t.lineTo(V+ie,oe+le),t.lineTo(V-ie,oe+le),t.closePath()}}),Diamond=Path$1.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,r){var V=r.cx,oe=r.cy,ie=r.width/2,le=r.height/2;t.moveTo(V,oe-le),t.lineTo(V+ie,oe),t.lineTo(V,oe+le),t.lineTo(V-ie,oe),t.closePath()}}),Pin=Path$1.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,r){var V=r.x,oe=r.y,ie=r.width/5*3,le=Math.max(ie,r.height),ue=ie/2,de=ue*ue/(le-ue),pe=oe-le+ue+de,he=Math.asin(de/ue),_e=Math.cos(he)*ue,$e=Math.sin(he),Ie=Math.cos(he),Ve=ue*.6,Fe=ue*.7;t.moveTo(V-_e,pe+de),t.arc(V,pe,ue,Math.PI-he,Math.PI*2+he),t.bezierCurveTo(V+_e-$e*Ve,pe+de+Ie*Ve,V,oe-Fe,V,oe),t.bezierCurveTo(V,oe-Fe,V-_e+$e*Ve,pe+de+Ie*Ve,V-_e,pe+de),t.closePath()}}),Arrow=Path$1.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,r){var V=r.height,oe=r.width,ie=r.x,le=r.y,ue=oe/3*2;t.moveTo(ie,le),t.lineTo(ie+ue,le+V),t.lineTo(ie,le+V/4*3),t.lineTo(ie-ue,le+V),t.lineTo(ie,le),t.closePath()}}),symbolCtors={line:Line$1,rect:Rect$2,roundRect:Rect$2,square:Rect$2,circle:Circle$1,diamond:Diamond,pin:Pin,arrow:Arrow,triangle:Triangle},symbolShapeMakers={line:function(t,r,V,oe,ie){ie.x1=t,ie.y1=r+oe/2,ie.x2=t+V,ie.y2=r+oe/2},rect:function(t,r,V,oe,ie){ie.x=t,ie.y=r,ie.width=V,ie.height=oe},roundRect:function(t,r,V,oe,ie){ie.x=t,ie.y=r,ie.width=V,ie.height=oe,ie.r=Math.min(V,oe)/4},square:function(t,r,V,oe,ie){var le=Math.min(V,oe);ie.x=t,ie.y=r,ie.width=le,ie.height=le},circle:function(t,r,V,oe,ie){ie.cx=t+V/2,ie.cy=r+oe/2,ie.r=Math.min(V,oe)/2},diamond:function(t,r,V,oe,ie){ie.cx=t+V/2,ie.cy=r+oe/2,ie.width=V,ie.height=oe},pin:function(t,r,V,oe,ie){ie.x=t+V/2,ie.y=r+oe/2,ie.width=V,ie.height=oe},arrow:function(t,r,V,oe,ie){ie.x=t+V/2,ie.y=r+oe/2,ie.width=V,ie.height=oe},triangle:function(t,r,V,oe,ie){ie.cx=t+V/2,ie.cy=r+oe/2,ie.width=V,ie.height=oe}},symbolBuildProxies={};each$c(symbolCtors,function(t,r){symbolBuildProxies[r]=new t});var SymbolClz$1=Path$1.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,r,V){var oe=calculateTextPosition(t,r,V),ie=this.shape;return ie&&ie.symbolType==="pin"&&r.position==="inside"&&(oe.y=V.y+V.height*.4),oe},buildPath:function(t,r,V){var oe=r.symbolType;if(oe!=="none"){var ie=symbolBuildProxies[oe];ie||(oe="rect",ie=symbolBuildProxies[oe]),symbolShapeMakers[oe](r.x,r.y,r.width,r.height,ie.shape),ie.buildPath(t,ie.shape,V)}}});function symbolPathSetColor(t,r){if(this.type!=="image"){var V=this.style;this.__isEmptyBrush?(V.stroke=t,V.fill=r||"#fff",V.lineWidth=2):this.shape.symbolType==="line"?V.stroke=t:V.fill=t,this.markRedraw()}}function createSymbol(t,r,V,oe,ie,le,ue){var de=t.indexOf("empty")===0;de&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var pe;return t.indexOf("image://")===0?pe=makeImage(t.slice(8),new BoundingRect$1(r,V,oe,ie),ue?"center":"cover"):t.indexOf("path://")===0?pe=makePath(t.slice(7),{},new BoundingRect$1(r,V,oe,ie),ue?"center":"cover"):pe=new SymbolClz$1({shape:{symbolType:t,x:r,y:V,width:oe,height:ie}}),pe.__isEmptyBrush=de,pe.setColor=symbolPathSetColor,le&&pe.setColor(le),pe}function normalizeSymbolSize(t){return isArray$1(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function normalizeSymbolOffset(t,r){if(t!=null)return isArray$1(t)||(t=[t,t]),[parsePercent(t[0],r[0])||0,parsePercent(retrieve2(t[1],t[0]),r[1])||0]}function isSafeNum(t){return isFinite(t)}function createLinearGradient(t,r,V){var oe=r.x==null?0:r.x,ie=r.x2==null?1:r.x2,le=r.y==null?0:r.y,ue=r.y2==null?0:r.y2;r.global||(oe=oe*V.width+V.x,ie=ie*V.width+V.x,le=le*V.height+V.y,ue=ue*V.height+V.y),oe=isSafeNum(oe)?oe:0,ie=isSafeNum(ie)?ie:1,le=isSafeNum(le)?le:0,ue=isSafeNum(ue)?ue:0;var de=t.createLinearGradient(oe,le,ie,ue);return de}function createRadialGradient(t,r,V){var oe=V.width,ie=V.height,le=Math.min(oe,ie),ue=r.x==null?.5:r.x,de=r.y==null?.5:r.y,pe=r.r==null?.5:r.r;r.global||(ue=ue*oe+V.x,de=de*ie+V.y,pe=pe*le),ue=isSafeNum(ue)?ue:.5,de=isSafeNum(de)?de:.5,pe=pe>=0&&isSafeNum(pe)?pe:.5;var he=t.createRadialGradient(ue,de,0,ue,de,pe);return he}function getCanvasGradient(t,r,V){for(var oe=r.type==="radial"?createRadialGradient(t,r,V):createLinearGradient(t,r,V),ie=r.colorStops,le=0;le<ie.length;le++)oe.addColorStop(ie[le].offset,ie[le].color);return oe}function isClipPathChanged(t,r){if(t===r||!t&&!r)return!1;if(!t||!r||t.length!==r.length)return!0;for(var V=0;V<t.length;V++)if(t[V]!==r[V])return!0;return!1}function parseInt10(t){return parseInt(t,10)}function getSize$1(t,r,V){var oe=["width","height"][r],ie=["clientWidth","clientHeight"][r],le=["paddingLeft","paddingTop"][r],ue=["paddingRight","paddingBottom"][r];if(V[oe]!=null&&V[oe]!=="auto")return parseFloat(V[oe]);var de=document.defaultView.getComputedStyle(t);return(t[ie]||parseInt10(de[oe])||parseInt10(t.style[oe]))-(parseInt10(de[le])||0)-(parseInt10(de[ue])||0)|0}function normalizeLineDash(t,r){return!t||t==="solid"||!(r>0)?null:t==="dashed"?[4*r,2*r]:t==="dotted"?[r]:isNumber(t)?[t]:isArray$1(t)?t:null}function getLineDash(t){var r=t.style,V=r.lineDash&&r.lineWidth>0&&normalizeLineDash(r.lineDash,r.lineWidth),oe=r.lineDashOffset;if(V){var ie=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;ie&&ie!==1&&(V=map$2(V,function(le){return le/ie}),oe/=ie)}return[V,oe]}var pathProxyForDraw=new PathProxy$1(!0);function styleHasStroke(t){var r=t.stroke;return!(r==null||r==="none"||!(t.lineWidth>0))}function isValidStrokeFillStyle(t){return typeof t=="string"&&t!=="none"}function styleHasFill(t){var r=t.fill;return r!=null&&r!=="none"}function doFillPath(t,r){if(r.fillOpacity!=null&&r.fillOpacity!==1){var V=t.globalAlpha;t.globalAlpha=r.fillOpacity*r.opacity,t.fill(),t.globalAlpha=V}else t.fill()}function doStrokePath(t,r){if(r.strokeOpacity!=null&&r.strokeOpacity!==1){var V=t.globalAlpha;t.globalAlpha=r.strokeOpacity*r.opacity,t.stroke(),t.globalAlpha=V}else t.stroke()}function createCanvasPattern(t,r,V){var oe=createOrUpdateImage(r.image,r.__image,V);if(isImageReady(oe)){var ie=t.createPattern(oe,r.repeat||"repeat");if(typeof DOMMatrix=="function"&&ie&&ie.setTransform){var le=new DOMMatrix;le.translateSelf(r.x||0,r.y||0),le.rotateSelf(0,0,(r.rotation||0)*RADIAN_TO_DEGREE),le.scaleSelf(r.scaleX||1,r.scaleY||1),ie.setTransform(le)}return ie}}function brushPath(t,r,V,oe){var ie,le=styleHasStroke(V),ue=styleHasFill(V),de=V.strokePercent,pe=de<1,he=!r.path;(!r.silent||pe)&&he&&r.createPathProxy();var _e=r.path||pathProxyForDraw,$e=r.__dirty;if(!oe){var Ie=V.fill,Ve=V.stroke,Fe=ue&&!!Ie.colorStops,Ue=le&&!!Ve.colorStops,qe=ue&&!!Ie.image,Et=le&&!!Ve.image,At=void 0,Lt=void 0,hn=void 0,_n=void 0,vn=void 0;(Fe||Ue)&&(vn=r.getBoundingRect()),Fe&&(At=$e?getCanvasGradient(t,Ie,vn):r.__canvasFillGradient,r.__canvasFillGradient=At),Ue&&(Lt=$e?getCanvasGradient(t,Ve,vn):r.__canvasStrokeGradient,r.__canvasStrokeGradient=Lt),qe&&(hn=$e||!r.__canvasFillPattern?createCanvasPattern(t,Ie,r):r.__canvasFillPattern,r.__canvasFillPattern=hn),Et&&(_n=$e||!r.__canvasStrokePattern?createCanvasPattern(t,Ve,r):r.__canvasStrokePattern,r.__canvasStrokePattern=hn),Fe?t.fillStyle=At:qe&&(hn?t.fillStyle=hn:ue=!1),Ue?t.strokeStyle=Lt:Et&&(_n?t.strokeStyle=_n:le=!1)}var bn=r.getGlobalScale();_e.setScale(bn[0],bn[1],r.segmentIgnoreThreshold);var Cn,Sn;t.setLineDash&&V.lineDash&&(ie=getLineDash(r),Cn=ie[0],Sn=ie[1]);var wn=!0;(he||$e&SHAPE_CHANGED_BIT)&&(_e.setDPR(t.dpr),pe?_e.setContext(null):(_e.setContext(t),wn=!1),_e.reset(),r.buildPath(_e,r.shape,oe),_e.toStatic(),r.pathUpdated()),wn&&_e.rebuildPath(t,pe?de:1),Cn&&(t.setLineDash(Cn),t.lineDashOffset=Sn),oe||(V.strokeFirst?(le&&doStrokePath(t,V),ue&&doFillPath(t,V)):(ue&&doFillPath(t,V),le&&doStrokePath(t,V))),Cn&&t.setLineDash([])}function brushImage(t,r,V){var oe=r.__image=createOrUpdateImage(V.image,r.__image,r,r.onload);if(!(!oe||!isImageReady(oe))){var ie=V.x||0,le=V.y||0,ue=r.getWidth(),de=r.getHeight(),pe=oe.width/oe.height;if(ue==null&&de!=null?ue=de*pe:de==null&&ue!=null?de=ue/pe:ue==null&&de==null&&(ue=oe.width,de=oe.height),V.sWidth&&V.sHeight){var he=V.sx||0,_e=V.sy||0;t.drawImage(oe,he,_e,V.sWidth,V.sHeight,ie,le,ue,de)}else if(V.sx&&V.sy){var he=V.sx,_e=V.sy,$e=ue-he,Ie=de-_e;t.drawImage(oe,he,_e,$e,Ie,ie,le,ue,de)}else t.drawImage(oe,ie,le,ue,de)}}function brushText(t,r,V){var oe,ie=V.text;if(ie!=null&&(ie+=""),ie){t.font=V.font||DEFAULT_FONT,t.textAlign=V.textAlign,t.textBaseline=V.textBaseline;var le=void 0,ue=void 0;t.setLineDash&&V.lineDash&&(oe=getLineDash(r),le=oe[0],ue=oe[1]),le&&(t.setLineDash(le),t.lineDashOffset=ue),V.strokeFirst?(styleHasStroke(V)&&t.strokeText(ie,V.x,V.y),styleHasFill(V)&&t.fillText(ie,V.x,V.y)):(styleHasFill(V)&&t.fillText(ie,V.x,V.y),styleHasStroke(V)&&t.strokeText(ie,V.x,V.y)),le&&t.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(t,r,V,oe,ie){var le=!1;if(!oe&&(V=V||{},r===V))return!1;if(oe||r.opacity!==V.opacity){flushPathDrawn(t,ie),le=!0;var ue=Math.max(Math.min(r.opacity,1),0);t.globalAlpha=isNaN(ue)?DEFAULT_COMMON_STYLE.opacity:ue}(oe||r.blend!==V.blend)&&(le||(flushPathDrawn(t,ie),le=!0),t.globalCompositeOperation=r.blend||DEFAULT_COMMON_STYLE.blend);for(var de=0;de<SHADOW_NUMBER_PROPS.length;de++){var pe=SHADOW_NUMBER_PROPS[de];(oe||r[pe]!==V[pe])&&(le||(flushPathDrawn(t,ie),le=!0),t[pe]=t.dpr*(r[pe]||0))}return(oe||r.shadowColor!==V.shadowColor)&&(le||(flushPathDrawn(t,ie),le=!0),t.shadowColor=r.shadowColor||DEFAULT_COMMON_STYLE.shadowColor),le}function bindPathAndTextCommonStyle(t,r,V,oe,ie){var le=getStyle(r,ie.inHover),ue=oe?null:V&&getStyle(V,ie.inHover)||{};if(le===ue)return!1;var de=bindCommonProps(t,le,ue,oe,ie);if((oe||le.fill!==ue.fill)&&(de||(flushPathDrawn(t,ie),de=!0),isValidStrokeFillStyle(le.fill)&&(t.fillStyle=le.fill)),(oe||le.stroke!==ue.stroke)&&(de||(flushPathDrawn(t,ie),de=!0),isValidStrokeFillStyle(le.stroke)&&(t.strokeStyle=le.stroke)),(oe||le.opacity!==ue.opacity)&&(de||(flushPathDrawn(t,ie),de=!0),t.globalAlpha=le.opacity==null?1:le.opacity),r.hasStroke()){var pe=le.lineWidth,he=pe/(le.strokeNoScale&&r.getLineScale?r.getLineScale():1);t.lineWidth!==he&&(de||(flushPathDrawn(t,ie),de=!0),t.lineWidth=he)}for(var _e=0;_e<STROKE_PROPS.length;_e++){var $e=STROKE_PROPS[_e],Ie=$e[0];(oe||le[Ie]!==ue[Ie])&&(de||(flushPathDrawn(t,ie),de=!0),t[Ie]=le[Ie]||$e[1])}return de}function bindImageStyle(t,r,V,oe,ie){return bindCommonProps(t,getStyle(r,ie.inHover),V&&getStyle(V,ie.inHover),oe,ie)}function setContextTransform(t,r){var V=r.transform,oe=t.dpr||1;V?t.setTransform(oe*V[0],oe*V[1],oe*V[2],oe*V[3],oe*V[4],oe*V[5]):t.setTransform(oe,0,0,oe,0,0)}function updateClipStatus(t,r,V){for(var oe=!1,ie=0;ie<t.length;ie++){var le=t[ie];oe=oe||le.isZeroArea(),setContextTransform(r,le),r.beginPath(),le.buildPath(r,le.shape),r.clip()}V.allClipped=oe}function isTransformChanged(t,r){return t&&r?t[0]!==r[0]||t[1]!==r[1]||t[2]!==r[2]||t[3]!==r[3]||t[4]!==r[4]||t[5]!==r[5]:!(!t&&!r)}var DRAW_TYPE_PATH=1,DRAW_TYPE_IMAGE=2,DRAW_TYPE_TEXT=3,DRAW_TYPE_INCREMENTAL=4;function canPathBatch(t){var r=styleHasFill(t),V=styleHasStroke(t);return!(t.lineDash||!(+r^+V)||r&&typeof t.fill!="string"||V&&typeof t.stroke!="string"||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function flushPathDrawn(t,r){r.batchFill&&t.fill(),r.batchStroke&&t.stroke(),r.batchFill="",r.batchStroke=""}function getStyle(t,r){return r&&t.__hoverStyle||t.style}function brushSingle(t,r){brush(t,r,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function brush(t,r,V,oe){var ie=r.transform;if(!r.shouldBePainted(V.viewWidth,V.viewHeight,!1,!1)){r.__dirty&=~REDRAW_BIT,r.__isRendered=!1;return}var le=r.__clipPaths,ue=V.prevElClipPaths,de=!1,pe=!1;if((!ue||isClipPathChanged(le,ue))&&(ue&&ue.length&&(flushPathDrawn(t,V),t.restore(),pe=de=!0,V.prevElClipPaths=null,V.allClipped=!1,V.prevEl=null),le&&le.length&&(flushPathDrawn(t,V),t.save(),updateClipStatus(le,t,V),de=!0),V.prevElClipPaths=le),V.allClipped){r.__isRendered=!1;return}r.beforeBrush&&r.beforeBrush(),r.innerBeforeBrush();var he=V.prevEl;he||(pe=de=!0);var _e=r instanceof Path$1&&r.autoBatch&&canPathBatch(r.style);de||isTransformChanged(ie,he.transform)?(flushPathDrawn(t,V),setContextTransform(t,r)):_e||flushPathDrawn(t,V);var $e=getStyle(r,V.inHover);r instanceof Path$1?(V.lastDrawType!==DRAW_TYPE_PATH&&(pe=!0,V.lastDrawType=DRAW_TYPE_PATH),bindPathAndTextCommonStyle(t,r,he,pe,V),(!_e||!V.batchFill&&!V.batchStroke)&&t.beginPath(),brushPath(t,r,$e,_e),_e&&(V.batchFill=$e.fill||"",V.batchStroke=$e.stroke||"")):r instanceof TSpan$1?(V.lastDrawType!==DRAW_TYPE_TEXT&&(pe=!0,V.lastDrawType=DRAW_TYPE_TEXT),bindPathAndTextCommonStyle(t,r,he,pe,V),brushText(t,r,$e)):r instanceof ZRImage$1?(V.lastDrawType!==DRAW_TYPE_IMAGE&&(pe=!0,V.lastDrawType=DRAW_TYPE_IMAGE),bindImageStyle(t,r,he,pe,V),brushImage(t,r,$e)):r.getTemporalDisplayables&&(V.lastDrawType!==DRAW_TYPE_INCREMENTAL&&(pe=!0,V.lastDrawType=DRAW_TYPE_INCREMENTAL),brushIncremental(t,r,V)),_e&&oe&&flushPathDrawn(t,V),r.innerAfterBrush(),r.afterBrush&&r.afterBrush(),V.prevEl=r,r.__dirty=0,r.__isRendered=!0}function brushIncremental(t,r,V){var oe=r.getDisplayables(),ie=r.getTemporalDisplayables();t.save();var le={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:V.viewWidth,viewHeight:V.viewHeight,inHover:V.inHover},ue,de;for(ue=r.getCursor(),de=oe.length;ue<de;ue++){var pe=oe[ue];pe.beforeBrush&&pe.beforeBrush(),pe.innerBeforeBrush(),brush(t,pe,le,ue===de-1),pe.innerAfterBrush(),pe.afterBrush&&pe.afterBrush(),le.prevEl=pe}for(var he=0,_e=ie.length;he<_e;he++){var pe=ie[he];pe.beforeBrush&&pe.beforeBrush(),pe.innerBeforeBrush(),brush(t,pe,le,he===_e-1),pe.innerAfterBrush(),pe.afterBrush&&pe.afterBrush(),le.prevEl=pe}r.clearTemporalDisplayables(),r.notClear=!0,t.restore()}var decalMap=new WeakMap$2,decalCache=new LRU$1(100),decalKeys=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function createOrUpdatePatternFromDecal(t,r){if(t==="none")return null;var V=r.getDevicePixelRatio(),oe=r.getZr(),ie=oe.painter.type==="svg";t.dirty&&decalMap.delete(t);var le=decalMap.get(t);if(le)return le;var ue=defaults(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});ue.backgroundColor==="none"&&(ue.backgroundColor=null);var de={repeat:"repeat"};return pe(de),de.rotation=ue.rotation,de.scaleX=de.scaleY=ie?1:1/V,decalMap.set(t,de),t.dirty=!1,de;function pe(he){for(var _e=[V],$e=!0,Ie=0;Ie<decalKeys.length;++Ie){var Ve=ue[decalKeys[Ie]];if(Ve!=null&&!isArray$1(Ve)&&!isString(Ve)&&!isNumber(Ve)&&typeof Ve!="boolean"){$e=!1;break}_e.push(Ve)}var Fe;if($e){Fe=_e.join(",")+(ie?"-svg":"");var Ue=decalCache.get(Fe);Ue&&(ie?he.svgElement=Ue:he.image=Ue)}var qe=normalizeDashArrayX(ue.dashArrayX),Et=normalizeDashArrayY(ue.dashArrayY),At=normalizeSymbolArray(ue.symbol),Lt=getLineBlockLengthX(qe),hn=getLineBlockLengthY(Et),_n=!ie&&platformApi.createCanvas(),vn=ie&&{tag:"g",attrs:{},key:"dcl",children:[]},bn=Sn(),Cn;_n&&(_n.width=bn.width*V,_n.height=bn.height*V,Cn=_n.getContext("2d")),wn(),$e&&decalCache.put(Fe,_n||vn),he.image=_n,he.svgElement=vn,he.svgWidth=bn.width,he.svgHeight=bn.height;function Sn(){for(var En=1,xn=0,Pn=Lt.length;xn<Pn;++xn)En=getLeastCommonMultiple(En,Lt[xn]);for(var kn=1,xn=0,Pn=At.length;xn<Pn;++xn)kn=getLeastCommonMultiple(kn,At[xn].length);En*=kn;var Nn=hn*Lt.length*At.length;return{width:Math.max(1,Math.min(En,ue.maxTileWidth)),height:Math.max(1,Math.min(Nn,ue.maxTileHeight))}}function wn(){Cn&&(Cn.clearRect(0,0,_n.width,_n.height),ue.backgroundColor&&(Cn.fillStyle=ue.backgroundColor,Cn.fillRect(0,0,_n.width,_n.height)));for(var En=0,xn=0;xn<Et.length;++xn)En+=Et[xn];if(En<=0)return;for(var Pn=-hn,kn=0,Nn=0,Dn=0;Pn<bn.height;){if(kn%2===0){for(var Mn=Nn/2%At.length,Ln=0,An=0,Vn=0;Ln<bn.width*2;){for(var Wn=0,xn=0;xn<qe[Dn].length;++xn)Wn+=qe[Dn][xn];if(Wn<=0)break;if(An%2===0){var Fn=(1-ue.symbolSize)*.5,Yn=Ln+qe[Dn][An]*Fn,tr=Pn+Et[kn]*Fn,yr=qe[Dn][An]*ue.symbolSize,Jn=Et[kn]*ue.symbolSize,Kn=Vn/2%At[Mn].length;Gn(Yn,tr,yr,Jn,At[Mn][Kn])}Ln+=qe[Dn][An],++Vn,++An,An===qe[Dn].length&&(An=0)}++Dn,Dn===qe.length&&(Dn=0)}Pn+=Et[kn],++Nn,++kn,kn===Et.length&&(kn=0)}function Gn(Qn,ur,cr,Un,qn){var er=ie?1:V,pr=createSymbol(qn,Qn*er,ur*er,cr*er,Un*er,ue.color,ue.symbolKeepAspect);if(ie){var Er=oe.painter.renderOneToVNode(pr);Er&&vn.children.push(Er)}else brushSingle(Cn,pr)}}}}function normalizeSymbolArray(t){if(!t||t.length===0)return[["rect"]];if(isString(t))return[[t]];for(var r=!0,V=0;V<t.length;++V)if(!isString(t[V])){r=!1;break}if(r)return normalizeSymbolArray([t]);for(var oe=[],V=0;V<t.length;++V)isString(t[V])?oe.push([t[V]]):oe.push(t[V]);return oe}function normalizeDashArrayX(t){if(!t||t.length===0)return[[0,0]];if(isNumber(t)){var r=Math.ceil(t);return[[r,r]]}for(var V=!0,oe=0;oe<t.length;++oe)if(!isNumber(t[oe])){V=!1;break}if(V)return normalizeDashArrayX([t]);for(var ie=[],oe=0;oe<t.length;++oe)if(isNumber(t[oe])){var r=Math.ceil(t[oe]);ie.push([r,r])}else{var r=map$2(t[oe],function(de){return Math.ceil(de)});r.length%2===1?ie.push(r.concat(r)):ie.push(r)}return ie}function normalizeDashArrayY(t){if(!t||typeof t=="object"&&t.length===0)return[0,0];if(isNumber(t)){var r=Math.ceil(t);return[r,r]}var V=map$2(t,function(oe){return Math.ceil(oe)});return t.length%2?V.concat(V):V}function getLineBlockLengthX(t){return map$2(t,function(r){return getLineBlockLengthY(r)})}function getLineBlockLengthY(t){for(var r=0,V=0;V<t.length;++V)r+=t[V];return t.length%2===1?r*2:r}function decalVisual(t,r){t.eachRawSeries(function(V){if(!t.isSeriesFiltered(V)){var oe=V.getData();oe.hasItemVisual()&&oe.each(function(ue){var de=oe.getItemVisual(ue,"decal");if(de){var pe=oe.ensureUniqueItemVisual(ue,"style");pe.decal=createOrUpdatePatternFromDecal(de,r)}});var ie=oe.getVisual("decal");if(ie){var le=oe.getVisual("style");le.decal=createOrUpdatePatternFromDecal(ie,r)}}})}var lifecycle=new Eventful$1;const lifecycle$1=lifecycle;var implsStore={};function registerImpl(t,r){implsStore[t]=r}function getImpl(t){return implsStore[t]}var version="5.4.3",dependencies={zrender:"5.4.4"},TEST_FRAME_REMAIN_TIME=1,PRIORITY_PROCESSOR_SERIES_FILTER=800,PRIORITY_PROCESSOR_DATASTACK=900,PRIORITY_PROCESSOR_FILTER=1e3,PRIORITY_PROCESSOR_DEFAULT=2e3,PRIORITY_PROCESSOR_STATISTIC=5e3,PRIORITY_VISUAL_LAYOUT=1e3,PRIORITY_VISUAL_PROGRESSIVE_LAYOUT=1100,PRIORITY_VISUAL_GLOBAL=2e3,PRIORITY_VISUAL_CHART=3e3,PRIORITY_VISUAL_COMPONENT=4e3,PRIORITY_VISUAL_CHART_DATA_CUSTOM=4500,PRIORITY_VISUAL_POST_CHART_LAYOUT=4600,PRIORITY_VISUAL_BRUSH=5e3,PRIORITY_VISUAL_ARIA=6e3,PRIORITY_VISUAL_DECAL=7e3,PRIORITY={PROCESSOR:{FILTER:PRIORITY_PROCESSOR_FILTER,SERIES_FILTER:PRIORITY_PROCESSOR_SERIES_FILTER,STATISTIC:PRIORITY_PROCESSOR_STATISTIC},VISUAL:{LAYOUT:PRIORITY_VISUAL_LAYOUT,PROGRESSIVE_LAYOUT:PRIORITY_VISUAL_PROGRESSIVE_LAYOUT,GLOBAL:PRIORITY_VISUAL_GLOBAL,CHART:PRIORITY_VISUAL_CHART,POST_CHART_LAYOUT:PRIORITY_VISUAL_POST_CHART_LAYOUT,COMPONENT:PRIORITY_VISUAL_COMPONENT,BRUSH:PRIORITY_VISUAL_BRUSH,CHART_ITEM:PRIORITY_VISUAL_CHART_DATA_CUSTOM,ARIA:PRIORITY_VISUAL_ARIA,DECAL:PRIORITY_VISUAL_DECAL}},IN_MAIN_PROCESS_KEY="__flagInMainProcess",PENDING_UPDATE="__pendingUpdate",STATUS_NEEDS_UPDATE_KEY="__needsUpdateStatus",ACTION_REG=/^[a-zA-Z0-9_]+$/,CONNECT_STATUS_KEY="__connectUpdateStatus",CONNECT_STATUS_PENDING=0,CONNECT_STATUS_UPDATING=1,CONNECT_STATUS_UPDATED=2;function createRegisterEventWithLowercaseECharts(t){return function(){for(var r=[],V=0;V<arguments.length;V++)r[V]=arguments[V];if(this.isDisposed()){this.id;return}return toLowercaseNameAndCallEventful(this,t,r)}}function createRegisterEventWithLowercaseMessageCenter(t){return function(){for(var r=[],V=0;V<arguments.length;V++)r[V]=arguments[V];return toLowercaseNameAndCallEventful(this,t,r)}}function toLowercaseNameAndCallEventful(t,r,V){return V[0]=V[0]&&V[0].toLowerCase(),Eventful$1.prototype[r].apply(t,V)}var MessageCenter=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r}(Eventful$1),messageCenterProto=MessageCenter.prototype;messageCenterProto.on=createRegisterEventWithLowercaseMessageCenter("on");messageCenterProto.off=createRegisterEventWithLowercaseMessageCenter("off");var prepare$1,prepareView,updateDirectly,updateMethods,doConvertPixel,updateStreamModes,doDispatchAction,flushPendingActions,triggerUpdatedEvent,bindRenderedEvent,bindMouseEvent,render$2,renderComponents,renderSeries,createExtensionAPI,enableConnect,markStatusToUpdate,applyChangedStates,ECharts=function(t){__extends(r,t);function r(V,oe,ie){var le=t.call(this,new ECEventProcessor)||this;le._chartsViews=[],le._chartsMap={},le._componentsViews=[],le._componentsMap={},le._pendingActions=[],ie=ie||{},isString(oe)&&(oe=themeStorage[oe]),le._dom=V;var ue="canvas",de="auto",pe=!1,he=le._zr=init$1(V,{renderer:ie.renderer||ue,devicePixelRatio:ie.devicePixelRatio,width:ie.width,height:ie.height,ssr:ie.ssr,useDirtyRect:retrieve2(ie.useDirtyRect,pe),useCoarsePointer:retrieve2(ie.useCoarsePointer,de),pointerSize:ie.pointerSize});le._ssr=ie.ssr,le._throttledZrFlush=throttle(bind$1(he.flush,he),17),oe=clone$3(oe),oe&&globalBackwardCompat(oe,!0),le._theme=oe,le._locale=createLocaleObject(ie.locale||SYSTEM_LANG),le._coordSysMgr=new CoordinateSystem;var _e=le._api=createExtensionAPI(le);function $e(Ie,Ve){return Ie.__prio-Ve.__prio}return sort(visualFuncs,$e),sort(dataProcessorFuncs,$e),le._scheduler=new Scheduler$1(le,_e,dataProcessorFuncs,visualFuncs),le._messageCenter=new MessageCenter,le._initEvents(),le.resize=bind$1(le.resize,le),he.animation.on("frame",le._onframe,le),bindRenderedEvent(he,le),bindMouseEvent(he,le),setAsPrimitive(le),le}return r.prototype._onframe=function(){if(!this._disposed){applyChangedStates(this);var V=this._scheduler;if(this[PENDING_UPDATE]){var oe=this[PENDING_UPDATE].silent;this[IN_MAIN_PROCESS_KEY]=!0;try{prepare$1(this),updateMethods.update.call(this,null,this[PENDING_UPDATE].updateParams)}catch(pe){throw this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,pe}this._zr.flush(),this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,flushPendingActions.call(this,oe),triggerUpdatedEvent.call(this,oe)}else if(V.unfinished){var ie=TEST_FRAME_REMAIN_TIME,le=this._model,ue=this._api;V.unfinished=!1;do{var de=+new Date;V.performSeriesTasks(le),V.performDataProcessorTasks(le),updateStreamModes(this,le),V.performVisualTasks(le),renderSeries(this,this._model,ue,"remain",{}),ie-=+new Date-de}while(ie>0&&V.unfinished);V.unfinished||this._zr.flush()}}},r.prototype.getDom=function(){return this._dom},r.prototype.getId=function(){return this.id},r.prototype.getZr=function(){return this._zr},r.prototype.isSSR=function(){return this._ssr},r.prototype.setOption=function(V,oe,ie){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var le,ue,de;if(isObject$3(oe)&&(ie=oe.lazyUpdate,le=oe.silent,ue=oe.replaceMerge,de=oe.transition,oe=oe.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||oe){var pe=new OptionManager$1(this._api),he=this._theme,_e=this._model=new GlobalModel$1;_e.scheduler=this._scheduler,_e.ssr=this._ssr,_e.init(null,null,null,he,this._locale,pe)}this._model.setOption(V,{replaceMerge:ue},optionPreprocessorFuncs);var $e={seriesTransition:de,optionChanged:!0};if(ie)this[PENDING_UPDATE]={silent:le,updateParams:$e},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare$1(this),updateMethods.update.call(this,null,$e)}catch(Ie){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,Ie}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,le),triggerUpdatedEvent.call(this,le)}}},r.prototype.setTheme=function(){},r.prototype.getModel=function(){return this._model},r.prototype.getOption=function(){return this._model&&this._model.getOption()},r.prototype.getWidth=function(){return this._zr.getWidth()},r.prototype.getHeight=function(){return this._zr.getHeight()},r.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env$1.hasGlobalWindow&&window.devicePixelRatio||1},r.prototype.getRenderedCanvas=function(V){return this.renderToCanvas(V)},r.prototype.renderToCanvas=function(V){V=V||{};var oe=this._zr.painter;return oe.getRenderedCanvas({backgroundColor:V.backgroundColor||this._model.get("backgroundColor"),pixelRatio:V.pixelRatio||this.getDevicePixelRatio()})},r.prototype.renderToSVGString=function(V){V=V||{};var oe=this._zr.painter;return oe.renderToString({useViewBox:V.useViewBox})},r.prototype.getSvgDataURL=function(){if(env$1.svgSupported){var V=this._zr,oe=V.storage.getDisplayList();return each$c(oe,function(ie){ie.stopAnimation(null,!0)}),V.painter.toDataURL()}},r.prototype.getDataURL=function(V){if(this._disposed){this.id;return}V=V||{};var oe=V.excludeComponents,ie=this._model,le=[],ue=this;each$c(oe,function(pe){ie.eachComponent({mainType:pe},function(he){var _e=ue._componentsMap[he.__viewId];_e.group.ignore||(le.push(_e),_e.group.ignore=!0)})});var de=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(V).toDataURL("image/"+(V&&V.type||"png"));return each$c(le,function(pe){pe.group.ignore=!1}),de},r.prototype.getConnectedDataURL=function(V){if(this._disposed){this.id;return}var oe=V.type==="svg",ie=this.group,le=Math.min,ue=Math.max,de=1/0;if(connectedGroups[ie]){var pe=de,he=de,_e=-de,$e=-de,Ie=[],Ve=V&&V.pixelRatio||this.getDevicePixelRatio();each$c(instances,function(Lt,hn){if(Lt.group===ie){var _n=oe?Lt.getZr().painter.getSvgDom().innerHTML:Lt.renderToCanvas(clone$3(V)),vn=Lt.getDom().getBoundingClientRect();pe=le(vn.left,pe),he=le(vn.top,he),_e=ue(vn.right,_e),$e=ue(vn.bottom,$e),Ie.push({dom:_n,left:vn.left,top:vn.top})}}),pe*=Ve,he*=Ve,_e*=Ve,$e*=Ve;var Fe=_e-pe,Ue=$e-he,qe=platformApi.createCanvas(),Et=init$1(qe,{renderer:oe?"svg":"canvas"});if(Et.resize({width:Fe,height:Ue}),oe){var At="";return each$c(Ie,function(Lt){var hn=Lt.left-pe,_n=Lt.top-he;At+='<g transform="translate('+hn+","+_n+')">'+Lt.dom+"</g>"}),Et.painter.getSvgRoot().innerHTML=At,V.connectedBackgroundColor&&Et.painter.setBackgroundColor(V.connectedBackgroundColor),Et.refreshImmediately(),Et.painter.toDataURL()}else return V.connectedBackgroundColor&&Et.add(new Rect$2({shape:{x:0,y:0,width:Fe,height:Ue},style:{fill:V.connectedBackgroundColor}})),each$c(Ie,function(Lt){var hn=new ZRImage$1({style:{x:Lt.left*Ve-pe,y:Lt.top*Ve-he,image:Lt.dom}});Et.add(hn)}),Et.refreshImmediately(),qe.toDataURL("image/"+(V&&V.type||"png"))}else return this.getDataURL(V)},r.prototype.convertToPixel=function(V,oe){return doConvertPixel(this,"convertToPixel",V,oe)},r.prototype.convertFromPixel=function(V,oe){return doConvertPixel(this,"convertFromPixel",V,oe)},r.prototype.containPixel=function(V,oe){if(this._disposed){this.id;return}var ie=this._model,le,ue=parseFinder$1(ie,V);return each$c(ue,function(de,pe){pe.indexOf("Models")>=0&&each$c(de,function(he){var _e=he.coordinateSystem;if(_e&&_e.containPoint)le=le||!!_e.containPoint(oe);else if(pe==="seriesModels"){var $e=this._chartsMap[he.__viewId];$e&&$e.containPoint&&(le=le||$e.containPoint(oe,he))}},this)},this),!!le},r.prototype.getVisual=function(V,oe){var ie=this._model,le=parseFinder$1(ie,V,{defaultMainType:"series"}),ue=le.seriesModel,de=ue.getData(),pe=le.hasOwnProperty("dataIndexInside")?le.dataIndexInside:le.hasOwnProperty("dataIndex")?de.indexOfRawIndex(le.dataIndex):null;return pe!=null?getItemVisualFromData(de,pe,oe):getVisualFromData(de,oe)},r.prototype.getViewOfComponentModel=function(V){return this._componentsMap[V.__viewId]},r.prototype.getViewOfSeriesModel=function(V){return this._chartsMap[V.__viewId]},r.prototype._initEvents=function(){var V=this;each$c(MOUSE_EVENT_NAMES,function(oe){var ie=function(le){var ue=V.getModel(),de=le.target,pe,he=oe==="globalout";if(he?pe={}:de&&findEventDispatcher(de,function(Fe){var Ue=getECData(Fe);if(Ue&&Ue.dataIndex!=null){var qe=Ue.dataModel||ue.getSeriesByIndex(Ue.seriesIndex);return pe=qe&&qe.getDataParams(Ue.dataIndex,Ue.dataType,de)||{},!0}else if(Ue.eventData)return pe=extend({},Ue.eventData),!0},!0),pe){var _e=pe.componentType,$e=pe.componentIndex;(_e==="markLine"||_e==="markPoint"||_e==="markArea")&&(_e="series",$e=pe.seriesIndex);var Ie=_e&&$e!=null&&ue.getComponent(_e,$e),Ve=Ie&&V[Ie.mainType==="series"?"_chartsMap":"_componentsMap"][Ie.__viewId];pe.event=le,pe.type=oe,V._$eventProcessor.eventInfo={targetEl:de,packedEvent:pe,model:Ie,view:Ve},V.trigger(oe,pe)}};ie.zrEventfulCallAtLast=!0,V._zr.on(oe,ie,V)}),each$c(eventActionMap,function(oe,ie){V._messageCenter.on(ie,function(le){this.trigger(ie,le)},V)}),each$c(["selectchanged"],function(oe){V._messageCenter.on(oe,function(ie){this.trigger(oe,ie)},V)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},r.prototype.isDisposed=function(){return this._disposed},r.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},r.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var V=this.getDom();V&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var oe=this,ie=oe._api,le=oe._model;each$c(oe._componentsViews,function(ue){ue.dispose(le,ie)}),each$c(oe._chartsViews,function(ue){ue.dispose(le,ie)}),oe._zr.dispose(),oe._dom=oe._model=oe._chartsMap=oe._componentsMap=oe._chartsViews=oe._componentsViews=oe._scheduler=oe._api=oe._zr=oe._throttledZrFlush=oe._theme=oe._coordSysMgr=oe._messageCenter=null,delete instances[oe.id]},r.prototype.resize=function(V){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(V);var oe=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!oe){var ie=oe.resetOption("media"),le=V&&V.silent;this[PENDING_UPDATE]&&(le==null&&(le=this[PENDING_UPDATE].silent),ie=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{ie&&prepare$1(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},V&&V.animation)})}catch(ue){throw this[IN_MAIN_PROCESS_KEY]=!1,ue}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,le),triggerUpdatedEvent.call(this,le)}}},r.prototype.showLoading=function(V,oe){if(this._disposed){this.id;return}if(isObject$3(V)&&(oe=V,V=""),V=V||"default",this.hideLoading(),!!loadingEffects[V]){var ie=loadingEffects[V](this._api,oe),le=this._zr;this._loadingFX=ie,le.add(ie)}},r.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},r.prototype.makeActionFromEvent=function(V){var oe=extend({},V);return oe.type=eventActionMap[V.type],oe},r.prototype.dispatchAction=function(V,oe){if(this._disposed){this.id;return}if(isObject$3(oe)||(oe={silent:!!oe}),!!actions[V.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(V);return}var ie=oe.silent;doDispatchAction.call(this,V,ie);var le=oe.flush;le?this._zr.flush():le!==!1&&env$1.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,ie),triggerUpdatedEvent.call(this,ie)}},r.prototype.updateLabelLayout=function(){lifecycle$1.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},r.prototype.appendData=function(V){if(this._disposed){this.id;return}var oe=V.seriesIndex,ie=this.getModel(),le=ie.getSeriesByIndex(oe);le.appendData(V),this._scheduler.unfinished=!0,this.getZr().wakeUp()},r.internalField=function(){prepare$1=function($e){var Ie=$e._scheduler;Ie.restorePipelines($e._model),Ie.prepareStageTasks(),prepareView($e,!0),prepareView($e,!1),Ie.plan()},prepareView=function($e,Ie){for(var Ve=$e._model,Fe=$e._scheduler,Ue=Ie?$e._componentsViews:$e._chartsViews,qe=Ie?$e._componentsMap:$e._chartsMap,Et=$e._zr,At=$e._api,Lt=0;Lt<Ue.length;Lt++)Ue[Lt].__alive=!1;Ie?Ve.eachComponent(function(vn,bn){vn!=="series"&&hn(bn)}):Ve.eachSeries(hn);function hn(vn){var bn=vn.__requireNewView;vn.__requireNewView=!1;var Cn="_ec_"+vn.id+"_"+vn.type,Sn=!bn&&qe[Cn];if(!Sn){var wn=parseClassType(vn.type),En=Ie?ComponentView$1.getClass(wn.main,wn.sub):ChartView$1.getClass(wn.sub);Sn=new En,Sn.init(Ve,At),qe[Cn]=Sn,Ue.push(Sn),Et.add(Sn.group)}vn.__viewId=Sn.__id=Cn,Sn.__alive=!0,Sn.__model=vn,Sn.group.__ecComponentInfo={mainType:vn.mainType,index:vn.componentIndex},!Ie&&Fe.prepareView(Sn,vn,Ve,At)}for(var Lt=0;Lt<Ue.length;){var _n=Ue[Lt];_n.__alive?Lt++:(!Ie&&_n.renderTask.dispose(),Et.remove(_n.group),_n.dispose(Ve,At),Ue.splice(Lt,1),qe[_n.__id]===_n&&delete qe[_n.__id],_n.__id=_n.group.__ecComponentInfo=null)}},updateDirectly=function($e,Ie,Ve,Fe,Ue){var qe=$e._model;if(qe.setUpdatePayload(Ve),!Fe){each$c([].concat($e._componentsViews).concat($e._chartsViews),_n);return}var Et={};Et[Fe+"Id"]=Ve[Fe+"Id"],Et[Fe+"Index"]=Ve[Fe+"Index"],Et[Fe+"Name"]=Ve[Fe+"Name"];var At={mainType:Fe,query:Et};Ue&&(At.subType=Ue);var Lt=Ve.excludeSeriesId,hn;Lt!=null&&(hn=createHashMap(),each$c(normalizeToArray(Lt),function(vn){var bn=convertOptionIdName(vn,null);bn!=null&&hn.set(bn,!0)})),qe&&qe.eachComponent(At,function(vn){var bn=hn&&hn.get(vn.id)!=null;if(!bn)if(isHighDownPayload(Ve))if(vn instanceof SeriesModel$1)Ve.type===HIGHLIGHT_ACTION_TYPE&&!Ve.notBlur&&!vn.get(["emphasis","disabled"])&&blurSeriesFromHighlightPayload(vn,Ve,$e._api);else{var Cn=findComponentHighDownDispatchers(vn.mainType,vn.componentIndex,Ve.name,$e._api),Sn=Cn.focusSelf,wn=Cn.dispatchers;Ve.type===HIGHLIGHT_ACTION_TYPE&&Sn&&!Ve.notBlur&&blurComponent(vn.mainType,vn.componentIndex,$e._api),wn&&each$c(wn,function(En){Ve.type===HIGHLIGHT_ACTION_TYPE?enterEmphasis(En):leaveEmphasis(En)})}else isSelectChangePayload(Ve)&&vn instanceof SeriesModel$1&&(toggleSelectionFromPayload(vn,Ve,$e._api),updateSeriesElementSelection(vn),markStatusToUpdate($e))},$e),qe&&qe.eachComponent(At,function(vn){var bn=hn&&hn.get(vn.id)!=null;bn||_n($e[Fe==="series"?"_chartsMap":"_componentsMap"][vn.__viewId])},$e);function _n(vn){vn&&vn.__alive&&vn[Ie]&&vn[Ie](vn.__model,qe,$e._api,Ve)}},updateMethods={prepareAndUpdate:function($e){prepare$1(this),updateMethods.update.call(this,$e,{optionChanged:$e.newOption!=null})},update:function($e,Ie){var Ve=this._model,Fe=this._api,Ue=this._zr,qe=this._coordSysMgr,Et=this._scheduler;if(Ve){Ve.setUpdatePayload($e),Et.restoreData(Ve,$e),Et.performSeriesTasks(Ve),qe.create(Ve,Fe),Et.performDataProcessorTasks(Ve,$e),updateStreamModes(this,Ve),qe.update(Ve,Fe),V(Ve),Et.performVisualTasks(Ve,$e),render$2(this,Ve,Fe,$e,Ie);var At=Ve.get("backgroundColor")||"transparent",Lt=Ve.get("darkMode");Ue.setBackgroundColor(At),Lt!=null&&Lt!=="auto"&&Ue.setDarkMode(Lt),lifecycle$1.trigger("afterupdate",Ve,Fe)}},updateTransform:function($e){var Ie=this,Ve=this._model,Fe=this._api;if(Ve){Ve.setUpdatePayload($e);var Ue=[];Ve.eachComponent(function(Et,At){if(Et!=="series"){var Lt=Ie.getViewOfComponentModel(At);if(Lt&&Lt.__alive)if(Lt.updateTransform){var hn=Lt.updateTransform(At,Ve,Fe,$e);hn&&hn.update&&Ue.push(Lt)}else Ue.push(Lt)}});var qe=createHashMap();Ve.eachSeries(function(Et){var At=Ie._chartsMap[Et.__viewId];if(At.updateTransform){var Lt=At.updateTransform(Et,Ve,Fe,$e);Lt&&Lt.update&&qe.set(Et.uid,1)}else qe.set(Et.uid,1)}),V(Ve),this._scheduler.performVisualTasks(Ve,$e,{setDirty:!0,dirtyMap:qe}),renderSeries(this,Ve,Fe,$e,{},qe),lifecycle$1.trigger("afterupdate",Ve,Fe)}},updateView:function($e){var Ie=this._model;Ie&&(Ie.setUpdatePayload($e),ChartView$1.markUpdateMethod($e,"updateView"),V(Ie),this._scheduler.performVisualTasks(Ie,$e,{setDirty:!0}),render$2(this,Ie,this._api,$e,{}),lifecycle$1.trigger("afterupdate",Ie,this._api))},updateVisual:function($e){var Ie=this,Ve=this._model;Ve&&(Ve.setUpdatePayload($e),Ve.eachSeries(function(Fe){Fe.getData().clearAllVisual()}),ChartView$1.markUpdateMethod($e,"updateVisual"),V(Ve),this._scheduler.performVisualTasks(Ve,$e,{visualType:"visual",setDirty:!0}),Ve.eachComponent(function(Fe,Ue){if(Fe!=="series"){var qe=Ie.getViewOfComponentModel(Ue);qe&&qe.__alive&&qe.updateVisual(Ue,Ve,Ie._api,$e)}}),Ve.eachSeries(function(Fe){var Ue=Ie._chartsMap[Fe.__viewId];Ue.updateVisual(Fe,Ve,Ie._api,$e)}),lifecycle$1.trigger("afterupdate",Ve,this._api))},updateLayout:function($e){updateMethods.update.call(this,$e)}},doConvertPixel=function($e,Ie,Ve,Fe){if($e._disposed){$e.id;return}for(var Ue=$e._model,qe=$e._coordSysMgr.getCoordinateSystems(),Et,At=parseFinder$1(Ue,Ve),Lt=0;Lt<qe.length;Lt++){var hn=qe[Lt];if(hn[Ie]&&(Et=hn[Ie](Ue,At,Fe))!=null)return Et}},updateStreamModes=function($e,Ie){var Ve=$e._chartsMap,Fe=$e._scheduler;Ie.eachSeries(function(Ue){Fe.updateStreamModes(Ue,Ve[Ue.__viewId])})},doDispatchAction=function($e,Ie){var Ve=this,Fe=this.getModel(),Ue=$e.type,qe=$e.escapeConnect,Et=actions[Ue],At=Et.actionInfo,Lt=(At.update||"update").split(":"),hn=Lt.pop(),_n=Lt[0]!=null&&parseClassType(Lt[0]);this[IN_MAIN_PROCESS_KEY]=!0;var vn=[$e],bn=!1;$e.batch&&(bn=!0,vn=map$2($e.batch,function(kn){return kn=defaults(extend({},kn),$e),kn.batch=null,kn}));var Cn=[],Sn,wn=isSelectChangePayload($e),En=isHighDownPayload($e);if(En&&allLeaveBlur(this._api),each$c(vn,function(kn){if(Sn=Et.action(kn,Ve._model,Ve._api),Sn=Sn||extend({},kn),Sn.type=At.event||Sn.type,Cn.push(Sn),En){var Nn=preParseFinder($e),Dn=Nn.queryOptionMap,Mn=Nn.mainTypeSpecified,Ln=Mn?Dn.keys()[0]:"series";updateDirectly(Ve,hn,kn,Ln),markStatusToUpdate(Ve)}else wn?(updateDirectly(Ve,hn,kn,"series"),markStatusToUpdate(Ve)):_n&&updateDirectly(Ve,hn,kn,_n.main,_n.sub)}),hn!=="none"&&!En&&!wn&&!_n)try{this[PENDING_UPDATE]?(prepare$1(this),updateMethods.update.call(this,$e),this[PENDING_UPDATE]=null):updateMethods[hn].call(this,$e)}catch(kn){throw this[IN_MAIN_PROCESS_KEY]=!1,kn}if(bn?Sn={type:At.event||Ue,escapeConnect:qe,batch:Cn}:Sn=Cn[0],this[IN_MAIN_PROCESS_KEY]=!1,!Ie){var xn=this._messageCenter;if(xn.trigger(Sn.type,Sn),wn){var Pn={type:"selectchanged",escapeConnect:qe,selected:getAllSelectedIndices(Fe),isFromClick:$e.isFromClick||!1,fromAction:$e.type,fromActionPayload:$e};xn.trigger(Pn.type,Pn)}}},flushPendingActions=function($e){for(var Ie=this._pendingActions;Ie.length;){var Ve=Ie.shift();doDispatchAction.call(this,Ve,$e)}},triggerUpdatedEvent=function($e){!$e&&this.trigger("updated")},bindRenderedEvent=function($e,Ie){$e.on("rendered",function(Ve){Ie.trigger("rendered",Ve),$e.animation.isFinished()&&!Ie[PENDING_UPDATE]&&!Ie._scheduler.unfinished&&!Ie._pendingActions.length&&Ie.trigger("finished")})},bindMouseEvent=function($e,Ie){$e.on("mouseover",function(Ve){var Fe=Ve.target,Ue=findEventDispatcher(Fe,isHighDownDispatcher);Ue&&(handleGlobalMouseOverForHighDown(Ue,Ve,Ie._api),markStatusToUpdate(Ie))}).on("mouseout",function(Ve){var Fe=Ve.target,Ue=findEventDispatcher(Fe,isHighDownDispatcher);Ue&&(handleGlobalMouseOutForHighDown(Ue,Ve,Ie._api),markStatusToUpdate(Ie))}).on("click",function(Ve){var Fe=Ve.target,Ue=findEventDispatcher(Fe,function(At){return getECData(At).dataIndex!=null},!0);if(Ue){var qe=Ue.selected?"unselect":"select",Et=getECData(Ue);Ie._api.dispatchAction({type:qe,dataType:Et.dataType,dataIndexInside:Et.dataIndex,seriesIndex:Et.seriesIndex,isFromClick:!0})}})};function V($e){$e.clearColorPalette(),$e.eachSeries(function(Ie){Ie.clearColorPalette()})}function oe($e){var Ie=[],Ve=[],Fe=!1;if($e.eachComponent(function(At,Lt){var hn=Lt.get("zlevel")||0,_n=Lt.get("z")||0,vn=Lt.getZLevelKey();Fe=Fe||!!vn,(At==="series"?Ve:Ie).push({zlevel:hn,z:_n,idx:Lt.componentIndex,type:At,key:vn})}),Fe){var Ue=Ie.concat(Ve),qe,Et;sort(Ue,function(At,Lt){return At.zlevel===Lt.zlevel?At.z-Lt.z:At.zlevel-Lt.zlevel}),each$c(Ue,function(At){var Lt=$e.getComponent(At.type,At.idx),hn=At.zlevel,_n=At.key;qe!=null&&(hn=Math.max(qe,hn)),_n?(hn===qe&&_n!==Et&&hn++,Et=_n):Et&&(hn===qe&&hn++,Et=""),qe=hn,Lt.setZLevel(hn)})}}render$2=function($e,Ie,Ve,Fe,Ue){oe(Ie),renderComponents($e,Ie,Ve,Fe,Ue),each$c($e._chartsViews,function(qe){qe.__alive=!1}),renderSeries($e,Ie,Ve,Fe,Ue),each$c($e._chartsViews,function(qe){qe.__alive||qe.remove(Ie,Ve)})},renderComponents=function($e,Ie,Ve,Fe,Ue,qe){each$c(qe||$e._componentsViews,function(Et){var At=Et.__model;he(At,Et),Et.render(At,Ie,Ve,Fe),de(At,Et),_e(At,Et)})},renderSeries=function($e,Ie,Ve,Fe,Ue,qe){var Et=$e._scheduler;Ue=extend(Ue||{},{updatedSeries:Ie.getSeries()}),lifecycle$1.trigger("series:beforeupdate",Ie,Ve,Ue);var At=!1;Ie.eachSeries(function(Lt){var hn=$e._chartsMap[Lt.__viewId];hn.__alive=!0;var _n=hn.renderTask;Et.updatePayload(_n,Fe),he(Lt,hn),qe&&qe.get(Lt.uid)&&_n.dirty(),_n.perform(Et.getPerformArgs(_n))&&(At=!0),hn.group.silent=!!Lt.get("silent"),ue(Lt,hn),updateSeriesElementSelection(Lt)}),Et.unfinished=At||Et.unfinished,lifecycle$1.trigger("series:layoutlabels",Ie,Ve,Ue),lifecycle$1.trigger("series:transition",Ie,Ve,Ue),Ie.eachSeries(function(Lt){var hn=$e._chartsMap[Lt.__viewId];de(Lt,hn),_e(Lt,hn)}),le($e,Ie),lifecycle$1.trigger("series:afterupdate",Ie,Ve,Ue)},markStatusToUpdate=function($e){$e[STATUS_NEEDS_UPDATE_KEY]=!0,$e.getZr().wakeUp()},applyChangedStates=function($e){$e[STATUS_NEEDS_UPDATE_KEY]&&($e.getZr().storage.traverse(function(Ie){isElementRemoved(Ie)||ie(Ie)}),$e[STATUS_NEEDS_UPDATE_KEY]=!1)};function ie($e){for(var Ie=[],Ve=$e.currentStates,Fe=0;Fe<Ve.length;Fe++){var Ue=Ve[Fe];Ue==="emphasis"||Ue==="blur"||Ue==="select"||Ie.push(Ue)}$e.selected&&$e.states.select&&Ie.push("select"),$e.hoverState===HOVER_STATE_EMPHASIS&&$e.states.emphasis?Ie.push("emphasis"):$e.hoverState===HOVER_STATE_BLUR&&$e.states.blur&&Ie.push("blur"),$e.useStates(Ie)}function le($e,Ie){var Ve=$e._zr,Fe=Ve.storage,Ue=0;Fe.traverse(function(qe){qe.isGroup||Ue++}),Ue>Ie.get("hoverLayerThreshold")&&!env$1.node&&!env$1.worker&&Ie.eachSeries(function(qe){if(!qe.preventUsingHoverLayer){var Et=$e._chartsMap[qe.__viewId];Et.__alive&&Et.eachRendered(function(At){At.states.emphasis&&(At.states.emphasis.hoverLayer=!0)})}})}function ue($e,Ie){var Ve=$e.get("blendMode")||null;Ie.eachRendered(function(Fe){Fe.isGroup||(Fe.style.blend=Ve)})}function de($e,Ie){if(!$e.preventAutoZ){var Ve=$e.get("z")||0,Fe=$e.get("zlevel")||0;Ie.eachRendered(function(Ue){return pe(Ue,Ve,Fe,-1/0),!0})}}function pe($e,Ie,Ve,Fe){var Ue=$e.getTextContent(),qe=$e.getTextGuideLine(),Et=$e.isGroup;if(Et)for(var At=$e.childrenRef(),Lt=0;Lt<At.length;Lt++)Fe=Math.max(pe(At[Lt],Ie,Ve,Fe),Fe);else $e.z=Ie,$e.zlevel=Ve,Fe=Math.max($e.z2,Fe);if(Ue&&(Ue.z=Ie,Ue.zlevel=Ve,isFinite(Fe)&&(Ue.z2=Fe+2)),qe){var hn=$e.textGuideLineConfig;qe.z=Ie,qe.zlevel=Ve,isFinite(Fe)&&(qe.z2=Fe+(hn&&hn.showAbove?1:-1))}return Fe}function he($e,Ie){Ie.eachRendered(function(Ve){if(!isElementRemoved(Ve)){var Fe=Ve.getTextContent(),Ue=Ve.getTextGuideLine();Ve.stateTransition&&(Ve.stateTransition=null),Fe&&Fe.stateTransition&&(Fe.stateTransition=null),Ue&&Ue.stateTransition&&(Ue.stateTransition=null),Ve.hasState()?(Ve.prevStates=Ve.currentStates,Ve.clearStates()):Ve.prevStates&&(Ve.prevStates=null)}})}function _e($e,Ie){var Ve=$e.getModel("stateAnimation"),Fe=$e.isAnimationEnabled(),Ue=Ve.get("duration"),qe=Ue>0?{duration:Ue,delay:Ve.get("delay"),easing:Ve.get("easing")}:null;Ie.eachRendered(function(Et){if(Et.states&&Et.states.emphasis){if(isElementRemoved(Et))return;if(Et instanceof Path$1&&savePathStates(Et),Et.__dirty){var At=Et.prevStates;At&&Et.useStates(At)}if(Fe){Et.stateTransition=qe;var Lt=Et.getTextContent(),hn=Et.getTextGuideLine();Lt&&(Lt.stateTransition=qe),hn&&(hn.stateTransition=qe)}Et.__dirty&&ie(Et)}})}createExtensionAPI=function($e){return new(function(Ie){__extends(Ve,Ie);function Ve(){return Ie!==null&&Ie.apply(this,arguments)||this}return Ve.prototype.getCoordinateSystems=function(){return $e._coordSysMgr.getCoordinateSystems()},Ve.prototype.getComponentByElement=function(Fe){for(;Fe;){var Ue=Fe.__ecComponentInfo;if(Ue!=null)return $e._model.getComponent(Ue.mainType,Ue.index);Fe=Fe.parent}},Ve.prototype.enterEmphasis=function(Fe,Ue){enterEmphasis(Fe,Ue),markStatusToUpdate($e)},Ve.prototype.leaveEmphasis=function(Fe,Ue){leaveEmphasis(Fe,Ue),markStatusToUpdate($e)},Ve.prototype.enterBlur=function(Fe){enterBlur(Fe),markStatusToUpdate($e)},Ve.prototype.leaveBlur=function(Fe){leaveBlur(Fe),markStatusToUpdate($e)},Ve.prototype.enterSelect=function(Fe){enterSelect(Fe),markStatusToUpdate($e)},Ve.prototype.leaveSelect=function(Fe){leaveSelect(Fe),markStatusToUpdate($e)},Ve.prototype.getModel=function(){return $e.getModel()},Ve.prototype.getViewOfComponentModel=function(Fe){return $e.getViewOfComponentModel(Fe)},Ve.prototype.getViewOfSeriesModel=function(Fe){return $e.getViewOfSeriesModel(Fe)},Ve}(ExtensionAPI$1))($e)},enableConnect=function($e){function Ie(Ve,Fe){for(var Ue=0;Ue<Ve.length;Ue++){var qe=Ve[Ue];qe[CONNECT_STATUS_KEY]=Fe}}each$c(eventActionMap,function(Ve,Fe){$e._messageCenter.on(Fe,function(Ue){if(connectedGroups[$e.group]&&$e[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(Ue&&Ue.escapeConnect)return;var qe=$e.makeActionFromEvent(Ue),Et=[];each$c(instances,function(At){At!==$e&&At.group===$e.group&&Et.push(At)}),Ie(Et,CONNECT_STATUS_PENDING),each$c(Et,function(At){At[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&At.dispatchAction(qe)}),Ie(Et,CONNECT_STATUS_UPDATED)}})})}}(),r}(Eventful$1),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on");echartsProto.off=createRegisterEventWithLowercaseECharts("off");echartsProto.one=function(t,r,V){var oe=this;function ie(){for(var le=[],ue=0;ue<arguments.length;ue++)le[ue]=arguments[ue];r&&r.apply&&r.apply(this,le),oe.off(t,ie)}this.on.call(this,t,ie,V)};var MOUSE_EVENT_NAMES=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function disposedWarning(t){}var actions={},eventActionMap={},dataProcessorFuncs=[],optionPreprocessorFuncs=[],visualFuncs=[],themeStorage={},loadingEffects={},instances={},connectedGroups={},idBase=+new Date-0,groupIdBase=+new Date-0,DOM_ATTRIBUTE_KEY="_echarts_instance_";function init(t,r,V){var oe=!(V&&V.ssr);if(oe){var ie=getInstanceByDom(t);if(ie)return ie}var le=new ECharts(t,r,V);return le.id="ec_"+idBase++,instances[le.id]=le,oe&&setAttribute(t,DOM_ATTRIBUTE_KEY,le.id),enableConnect(le),lifecycle$1.trigger("afterinit",le),le}function connect(t){if(isArray$1(t)){var r=t;t=null,each$c(r,function(V){V.group!=null&&(t=V.group)}),t=t||"g_"+groupIdBase++,each$c(r,function(V){V.group=t})}return connectedGroups[t]=!0,t}function disconnect(t){connectedGroups[t]=!1}var disConnect=disconnect;function dispose(t){isString(t)?t=instances[t]:t instanceof ECharts||(t=getInstanceByDom(t)),t instanceof ECharts&&!t.isDisposed()&&t.dispose()}function getInstanceByDom(t){return instances[getAttribute(t,DOM_ATTRIBUTE_KEY)]}function getInstanceById(t){return instances[t]}function registerTheme(t,r){themeStorage[t]=r}function registerPreprocessor(t){indexOf(optionPreprocessorFuncs,t)<0&&optionPreprocessorFuncs.push(t)}function registerProcessor(t,r){normalizeRegister(dataProcessorFuncs,t,r,PRIORITY_PROCESSOR_DEFAULT)}function registerPostInit(t){registerUpdateLifecycle("afterinit",t)}function registerPostUpdate(t){registerUpdateLifecycle("afterupdate",t)}function registerUpdateLifecycle(t,r){lifecycle$1.on(t,r)}function registerAction(t,r,V){isFunction(r)&&(V=r,r="");var oe=isObject$3(t)?t.type:[t,t={event:r}][0];t.event=(t.event||oe).toLowerCase(),r=t.event,!eventActionMap[r]&&(assert(ACTION_REG.test(oe)&&ACTION_REG.test(r)),actions[oe]||(actions[oe]={action:V,actionInfo:t}),eventActionMap[r]=oe)}function registerCoordinateSystem(t,r){CoordinateSystem.register(t,r)}function getCoordinateSystemDimensions(t){var r=CoordinateSystem.get(t);if(r)return r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice()}function registerLayout(t,r){normalizeRegister(visualFuncs,t,r,PRIORITY_VISUAL_LAYOUT,"layout")}function registerVisual(t,r){normalizeRegister(visualFuncs,t,r,PRIORITY_VISUAL_CHART,"visual")}var registeredTasks=[];function normalizeRegister(t,r,V,oe,ie){if((isFunction(r)||isObject$3(r))&&(V=r,r=oe),!(indexOf(registeredTasks,V)>=0)){registeredTasks.push(V);var le=Scheduler$1.wrapStageHandler(V,ie);le.__prio=r,le.__raw=V,t.push(le)}}function registerLoading(t,r){loadingEffects[t]=r}function setCanvasCreator(t){setPlatformAPI({createCanvas:t})}function registerMap(t,r,V){var oe=getImpl("registerMap");oe&&oe(t,r,V)}function getMap(t){var r=getImpl("getMap");return r&&r(t)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask);registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask);registerVisual(PRIORITY_VISUAL_DECAL,decalVisual);registerPreprocessor(globalBackwardCompat);registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack$1);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop);registerTheme("light",lightTheme);registerTheme("dark",darkTheme);var dataTool={};function dataIndexMapValueLength(t){return t==null?0:t.length||1}function defaultKeyGetter(t){return t}var DataDiffer=function(){function t(r,V,oe,ie,le,ue){this._old=r,this._new=V,this._oldKeyGetter=oe||defaultKeyGetter,this._newKeyGetter=ie||defaultKeyGetter,this.context=le,this._diffModeMultiple=ue==="multiple"}return t.prototype.add=function(r){return this._add=r,this},t.prototype.update=function(r){return this._update=r,this},t.prototype.updateManyToOne=function(r){return this._updateManyToOne=r,this},t.prototype.updateOneToMany=function(r){return this._updateOneToMany=r,this},t.prototype.updateManyToMany=function(r){return this._updateManyToMany=r,this},t.prototype.remove=function(r){return this._remove=r,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var r=this._old,V=this._new,oe={},ie=new Array(r.length),le=new Array(V.length);this._initIndexMap(r,null,ie,"_oldKeyGetter"),this._initIndexMap(V,oe,le,"_newKeyGetter");for(var ue=0;ue<r.length;ue++){var de=ie[ue],pe=oe[de],he=dataIndexMapValueLength(pe);if(he>1){var _e=pe.shift();pe.length===1&&(oe[de]=pe[0]),this._update&&this._update(_e,ue)}else he===1?(oe[de]=null,this._update&&this._update(pe,ue)):this._remove&&this._remove(ue)}this._performRestAdd(le,oe)},t.prototype._executeMultiple=function(){var r=this._old,V=this._new,oe={},ie={},le=[],ue=[];this._initIndexMap(r,oe,le,"_oldKeyGetter"),this._initIndexMap(V,ie,ue,"_newKeyGetter");for(var de=0;de<le.length;de++){var pe=le[de],he=oe[pe],_e=ie[pe],$e=dataIndexMapValueLength(he),Ie=dataIndexMapValueLength(_e);if($e>1&&Ie===1)this._updateManyToOne&&this._updateManyToOne(_e,he),ie[pe]=null;else if($e===1&&Ie>1)this._updateOneToMany&&this._updateOneToMany(_e,he),ie[pe]=null;else if($e===1&&Ie===1)this._update&&this._update(_e,he),ie[pe]=null;else if($e>1&&Ie>1)this._updateManyToMany&&this._updateManyToMany(_e,he),ie[pe]=null;else if($e>1)for(var Ve=0;Ve<$e;Ve++)this._remove&&this._remove(he[Ve]);else this._remove&&this._remove(he)}this._performRestAdd(ue,ie)},t.prototype._performRestAdd=function(r,V){for(var oe=0;oe<r.length;oe++){var ie=r[oe],le=V[ie],ue=dataIndexMapValueLength(le);if(ue>1)for(var de=0;de<ue;de++)this._add&&this._add(le[de]);else ue===1&&this._add&&this._add(le);V[ie]=null}},t.prototype._initIndexMap=function(r,V,oe,ie){for(var le=this._diffModeMultiple,ue=0;ue<r.length;ue++){var de="_ec_"+this[ie](r[ue],ue);if(le||(oe[ue]=de),!!V){var pe=V[de],he=dataIndexMapValueLength(pe);he===0?(V[de]=ue,le&&oe.push(de)):he===1?V[de]=[pe,ue]:pe.push(ue)}}},t}();const DataDiffer$1=DataDiffer;var DimensionUserOuput=function(){function t(r,V){this._encode=r,this._schema=V}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function summarizeDimensions(t,r){var V={},oe=V.encode={},ie=createHashMap(),le=[],ue=[],de={};each$c(t.dimensions,function(Ie){var Ve=t.getDimensionInfo(Ie),Fe=Ve.coordDim;if(Fe){var Ue=Ve.coordDimIndex;getOrCreateEncodeArr(oe,Fe)[Ue]=Ie,Ve.isExtraCoord||(ie.set(Fe,1),mayLabelDimType(Ve.type)&&(le[0]=Ie),getOrCreateEncodeArr(de,Fe)[Ue]=t.getDimensionIndex(Ve.name)),Ve.defaultTooltip&&ue.push(Ie)}VISUAL_DIMENSIONS.each(function(qe,Et){var At=getOrCreateEncodeArr(oe,Et),Lt=Ve.otherDims[Et];Lt!=null&&Lt!==!1&&(At[Lt]=Ve.name)})});var pe=[],he={};ie.each(function(Ie,Ve){var Fe=oe[Ve];he[Ve]=Fe[0],pe=pe.concat(Fe)}),V.dataDimsOnCoord=pe,V.dataDimIndicesOnCoord=map$2(pe,function(Ie){return t.getDimensionInfo(Ie).storeDimIndex}),V.encodeFirstDimNotExtra=he;var _e=oe.label;_e&&_e.length&&(le=_e.slice());var $e=oe.tooltip;return $e&&$e.length?ue=$e.slice():ue.length||(ue=le.slice()),oe.defaultedLabel=le,oe.defaultedTooltip=ue,V.userOutput=new DimensionUserOuput(de,r),V}function getOrCreateEncodeArr(t,r){return t.hasOwnProperty(r)||(t[r]=[]),t[r]}function getDimensionTypeByAxis(t){return t==="category"?"ordinal":t==="time"?"time":"float"}function mayLabelDimType(t){return!(t==="ordinal"||t==="time")}var SeriesDimensionDefine=function(){function t(r){this.otherDims={},r!=null&&extend(this,r)}return t}();const SeriesDimensionDefine$1=SeriesDimensionDefine;var inner$8=makeInner(),dimTypeShort={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},SeriesDataSchema=function(){function t(r){this.dimensions=r.dimensions,this._dimOmitted=r.dimensionOmitted,this.source=r.source,this._fullDimCount=r.fullDimensionCount,this._updateDimOmitted(r.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(r){this._dimOmitted=r,r&&(this._dimNameMap||(this._dimNameMap=ensureSourceDimNameMap(this.source)))},t.prototype.getSourceDimensionIndex=function(r){return retrieve2(this._dimNameMap.get(r),-1)},t.prototype.getSourceDimension=function(r){var V=this.source.dimensionsDefine;if(V)return V[r]},t.prototype.makeStoreSchema=function(){for(var r=this._fullDimCount,V=shouldRetrieveDataByName(this.source),oe=!shouldOmitUnusedDimensions(r),ie="",le=[],ue=0,de=0;ue<r;ue++){var pe=void 0,he=void 0,_e=void 0,$e=this.dimensions[de];if($e&&$e.storeDimIndex===ue)pe=V?$e.name:null,he=$e.type,_e=$e.ordinalMeta,de++;else{var Ie=this.getSourceDimension(ue);Ie&&(pe=V?Ie.name:null,he=Ie.type)}le.push({property:pe,type:he,ordinalMeta:_e}),V&&pe!=null&&(!$e||!$e.isCalculationCoord)&&(ie+=oe?pe.replace(/\`/g,"`1").replace(/\$/g,"`2"):pe),ie+="$",ie+=dimTypeShort[he]||"f",_e&&(ie+=_e.uid),ie+="$"}var Ve=this.source,Fe=[Ve.seriesLayoutBy,Ve.startIndex,ie].join("$$");return{dimensions:le,hash:Fe}},t.prototype.makeOutputDimensionNames=function(){for(var r=[],V=0,oe=0;V<this._fullDimCount;V++){var ie=void 0,le=this.dimensions[oe];if(le&&le.storeDimIndex===V)le.isCalculationCoord||(ie=le.name),oe++;else{var ue=this.getSourceDimension(V);ue&&(ie=ue.name)}r.push(ie)}return r},t.prototype.appendCalculationDimension=function(r){this.dimensions.push(r),r.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function isSeriesDataSchema(t){return t instanceof SeriesDataSchema}function createDimNameMap(t){for(var r=createHashMap(),V=0;V<(t||[]).length;V++){var oe=t[V],ie=isObject$3(oe)?oe.name:oe;ie!=null&&r.get(ie)==null&&r.set(ie,V)}return r}function ensureSourceDimNameMap(t){var r=inner$8(t);return r.dimNameMap||(r.dimNameMap=createDimNameMap(t.dimensionsDefine))}function shouldOmitUnusedDimensions(t){return t>30}var isObject$1=isObject$3,map$1=map$2,CtorInt32Array=typeof Int32Array>"u"?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=function(){function t(r,V){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var oe,ie=!1;isSeriesDataSchema(r)?(oe=r.dimensions,this._dimOmitted=r.isDimensionOmitted(),this._schema=r):(ie=!0,oe=r),oe=oe||["x","y"];for(var le={},ue=[],de={},pe=!1,he={},_e=0;_e<oe.length;_e++){var $e=oe[_e],Ie=isString($e)?new SeriesDimensionDefine$1({name:$e}):$e instanceof SeriesDimensionDefine$1?$e:new SeriesDimensionDefine$1($e),Ve=Ie.name;Ie.type=Ie.type||"float",Ie.coordDim||(Ie.coordDim=Ve,Ie.coordDimIndex=0);var Fe=Ie.otherDims=Ie.otherDims||{};ue.push(Ve),le[Ve]=Ie,he[Ve]!=null&&(pe=!0),Ie.createInvertedIndices&&(de[Ve]=[]),Fe.itemName===0&&(this._nameDimIdx=_e),Fe.itemId===0&&(this._idDimIdx=_e),ie&&(Ie.storeDimIndex=_e)}if(this.dimensions=ue,this._dimInfos=le,this._initGetDimensionInfo(pe),this.hostModel=V,this._invertedIndicesMap=de,this._dimOmitted){var Ue=this._dimIdxToName=createHashMap();each$c(ue,function(qe){Ue.set(le[qe].storeDimIndex,qe)})}}return t.prototype.getDimension=function(r){var V=this._recognizeDimIndex(r);if(V==null)return r;if(V=r,!this._dimOmitted)return this.dimensions[V];var oe=this._dimIdxToName.get(V);if(oe!=null)return oe;var ie=this._schema.getSourceDimension(V);if(ie)return ie.name},t.prototype.getDimensionIndex=function(r){var V=this._recognizeDimIndex(r);if(V!=null)return V;if(r==null)return-1;var oe=this._getDimInfo(r);return oe?oe.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(r):-1},t.prototype._recognizeDimIndex=function(r){if(isNumber(r)||r!=null&&!isNaN(r)&&!this._getDimInfo(r)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(r)<0))return+r},t.prototype._getStoreDimIndex=function(r){var V=this.getDimensionIndex(r);return V},t.prototype.getDimensionInfo=function(r){return this._getDimInfo(this.getDimension(r))},t.prototype._initGetDimensionInfo=function(r){var V=this._dimInfos;this._getDimInfo=r?function(oe){return V.hasOwnProperty(oe)?V[oe]:void 0}:function(oe){return V[oe]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(r,V){var oe=this._dimSummary;if(V==null)return oe.encodeFirstDimNotExtra[r];var ie=oe.encode[r];return ie?ie[V]:null},t.prototype.mapDimensionsAll=function(r){var V=this._dimSummary,oe=V.encode[r];return(oe||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(r,V,oe){var ie=this,le;if(r instanceof DataStore$1&&(le=r),!le){var ue=this.dimensions,de=isSourceInstance(r)||isArrayLike(r)?new DefaultDataProvider(r,ue.length):r;le=new DataStore$1;var pe=map$1(ue,function(he){return{type:ie._dimInfos[he].type,property:he}});le.initData(de,pe,oe)}this._store=le,this._nameList=(V||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,le.count()),this._dimSummary=summarizeDimensions(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(r){var V=this._store.appendData(r);this._doInit(V[0],V[1])},t.prototype.appendValues=function(r,V){var oe=this._store.appendValues(r,V.length),ie=oe.start,le=oe.end,ue=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),V)for(var de=ie;de<le;de++){var pe=de-ie;this._nameList[de]=V[pe],ue&&makeIdFromName(this,de)}},t.prototype._updateOrdinalMeta=function(){for(var r=this._store,V=this.dimensions,oe=0;oe<V.length;oe++){var ie=this._dimInfos[V[oe]];ie.ordinalMeta&&r.collectOrdinalMeta(ie.storeDimIndex,ie.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var r=this._store.getProvider();return this._idDimIdx==null&&r.getSource().sourceFormat!==SOURCE_FORMAT_TYPED_ARRAY&&!r.fillStorage},t.prototype._doInit=function(r,V){if(!(r>=V)){var oe=this._store,ie=oe.getProvider();this._updateOrdinalMeta();var le=this._nameList,ue=this._idList,de=ie.getSource().sourceFormat,pe=de===SOURCE_FORMAT_ORIGINAL;if(pe&&!ie.pure)for(var he=[],_e=r;_e<V;_e++){var $e=ie.getItem(_e,he);if(!this.hasItemOption&&isDataItemOption($e)&&(this.hasItemOption=!0),$e){var Ie=$e.name;le[_e]==null&&Ie!=null&&(le[_e]=convertOptionIdName(Ie,null));var Ve=$e.id;ue[_e]==null&&Ve!=null&&(ue[_e]=convertOptionIdName(Ve,null))}}if(this._shouldMakeIdFromName())for(var _e=r;_e<V;_e++)makeIdFromName(this,_e);prepareInvertedIndex(this)}},t.prototype.getApproximateExtent=function(r){return this._approximateExtent[r]||this._store.getDataExtent(this._getStoreDimIndex(r))},t.prototype.setApproximateExtent=function(r,V){V=this.getDimension(V),this._approximateExtent[V]=r.slice()},t.prototype.getCalculationInfo=function(r){return this._calculationInfo[r]},t.prototype.setCalculationInfo=function(r,V){isObject$1(r)?extend(this._calculationInfo,r):this._calculationInfo[r]=V},t.prototype.getName=function(r){var V=this.getRawIndex(r),oe=this._nameList[V];return oe==null&&this._nameDimIdx!=null&&(oe=getIdNameFromStore(this,this._nameDimIdx,V)),oe==null&&(oe=""),oe},t.prototype._getCategory=function(r,V){var oe=this._store.get(r,V),ie=this._store.getOrdinalMeta(r);return ie?ie.categories[oe]:oe},t.prototype.getId=function(r){return getId(this,this.getRawIndex(r))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(r,V){var oe=this._store,ie=this._dimInfos[r];if(ie)return oe.get(ie.storeDimIndex,V)},t.prototype.getByRawIndex=function(r,V){var oe=this._store,ie=this._dimInfos[r];if(ie)return oe.getByRawIndex(ie.storeDimIndex,V)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(r){return this._store.getDataExtent(this._getStoreDimIndex(r))},t.prototype.getSum=function(r){return this._store.getSum(this._getStoreDimIndex(r))},t.prototype.getMedian=function(r){return this._store.getMedian(this._getStoreDimIndex(r))},t.prototype.getValues=function(r,V){var oe=this,ie=this._store;return isArray$1(r)?ie.getValues(map$1(r,function(le){return oe._getStoreDimIndex(le)}),V):ie.getValues(r)},t.prototype.hasValue=function(r){for(var V=this._dimSummary.dataDimIndicesOnCoord,oe=0,ie=V.length;oe<ie;oe++)if(isNaN(this._store.get(V[oe],r)))return!1;return!0},t.prototype.indexOfName=function(r){for(var V=0,oe=this._store.count();V<oe;V++)if(this.getName(V)===r)return V;return-1},t.prototype.getRawIndex=function(r){return this._store.getRawIndex(r)},t.prototype.indexOfRawIndex=function(r){return this._store.indexOfRawIndex(r)},t.prototype.rawIndexOf=function(r,V){var oe=r&&this._invertedIndicesMap[r],ie=oe[V];return ie==null||isNaN(ie)?INDEX_NOT_FOUND:ie},t.prototype.indicesOfNearest=function(r,V,oe){return this._store.indicesOfNearest(this._getStoreDimIndex(r),V,oe)},t.prototype.each=function(r,V,oe){isFunction(r)&&(oe=V,V=r,r=[]);var ie=oe||this,le=map$1(normalizeDimensions(r),this._getStoreDimIndex,this);this._store.each(le,ie?bind$1(V,ie):V)},t.prototype.filterSelf=function(r,V,oe){isFunction(r)&&(oe=V,V=r,r=[]);var ie=oe||this,le=map$1(normalizeDimensions(r),this._getStoreDimIndex,this);return this._store=this._store.filter(le,ie?bind$1(V,ie):V),this},t.prototype.selectRange=function(r){var V=this,oe={},ie=keys(r);return each$c(ie,function(le){var ue=V._getStoreDimIndex(le);oe[ue]=r[le]}),this._store=this._store.selectRange(oe),this},t.prototype.mapArray=function(r,V,oe){isFunction(r)&&(oe=V,V=r,r=[]),oe=oe||this;var ie=[];return this.each(r,function(){ie.push(V&&V.apply(this,arguments))},oe),ie},t.prototype.map=function(r,V,oe,ie){var le=oe||ie||this,ue=map$1(normalizeDimensions(r),this._getStoreDimIndex,this),de=cloneListForMapAndSample(this);return de._store=this._store.map(ue,le?bind$1(V,le):V),de},t.prototype.modify=function(r,V,oe,ie){var le=oe||ie||this,ue=map$1(normalizeDimensions(r),this._getStoreDimIndex,this);this._store.modify(ue,le?bind$1(V,le):V)},t.prototype.downSample=function(r,V,oe,ie){var le=cloneListForMapAndSample(this);return le._store=this._store.downSample(this._getStoreDimIndex(r),V,oe,ie),le},t.prototype.lttbDownSample=function(r,V){var oe=cloneListForMapAndSample(this);return oe._store=this._store.lttbDownSample(this._getStoreDimIndex(r),V),oe},t.prototype.getRawDataItem=function(r){return this._store.getRawDataItem(r)},t.prototype.getItemModel=function(r){var V=this.hostModel,oe=this.getRawDataItem(r);return new Model$1(oe,V,V&&V.ecModel)},t.prototype.diff=function(r){var V=this;return new DataDiffer$1(r?r.getStore().getIndices():[],this.getStore().getIndices(),function(oe){return getId(r,oe)},function(oe){return getId(V,oe)})},t.prototype.getVisual=function(r){var V=this._visual;return V&&V[r]},t.prototype.setVisual=function(r,V){this._visual=this._visual||{},isObject$1(r)?extend(this._visual,r):this._visual[r]=V},t.prototype.getItemVisual=function(r,V){var oe=this._itemVisuals[r],ie=oe&&oe[V];return ie??this.getVisual(V)},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(r,V){var oe=this._itemVisuals,ie=oe[r];ie||(ie=oe[r]={});var le=ie[V];return le==null&&(le=this.getVisual(V),isArray$1(le)?le=le.slice():isObject$1(le)&&(le=extend({},le)),ie[V]=le),le},t.prototype.setItemVisual=function(r,V,oe){var ie=this._itemVisuals[r]||{};this._itemVisuals[r]=ie,isObject$1(V)?extend(ie,V):ie[V]=oe},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(r,V){isObject$1(r)?extend(this._layout,r):this._layout[r]=V},t.prototype.getLayout=function(r){return this._layout[r]},t.prototype.getItemLayout=function(r){return this._itemLayouts[r]},t.prototype.setItemLayout=function(r,V,oe){this._itemLayouts[r]=oe?extend(this._itemLayouts[r]||{},V):V},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(r,V){var oe=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(oe,this.dataType,r,V),this._graphicEls[r]=V},t.prototype.getItemGraphicEl=function(r){return this._graphicEls[r]},t.prototype.eachItemGraphicEl=function(r,V){each$c(this._graphicEls,function(oe,ie){oe&&r&&r.call(V,oe,ie)})},t.prototype.cloneShallow=function(r){return r||(r=new t(this._schema?this._schema:map$1(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties(r,this),r._store=this._store,r},t.prototype.wrapMethod=function(r,V){var oe=this[r];isFunction(oe)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(r),this[r]=function(){var ie=oe.apply(this,arguments);return V.apply(this,[ie].concat(slice(arguments)))})},t.internalField=function(){prepareInvertedIndex=function(r){var V=r._invertedIndicesMap;each$c(V,function(oe,ie){var le=r._dimInfos[ie],ue=le.ordinalMeta,de=r._store;if(ue){oe=V[ie]=new CtorInt32Array(ue.categories.length);for(var pe=0;pe<oe.length;pe++)oe[pe]=INDEX_NOT_FOUND;for(var pe=0;pe<de.count();pe++)oe[de.get(le.storeDimIndex,pe)]=pe}})},getIdNameFromStore=function(r,V,oe){return convertOptionIdName(r._getCategory(V,oe),null)},getId=function(r,V){var oe=r._idList[V];return oe==null&&r._idDimIdx!=null&&(oe=getIdNameFromStore(r,r._idDimIdx,V)),oe==null&&(oe=ID_PREFIX+V),oe},normalizeDimensions=function(r){return isArray$1(r)||(r=r!=null?[r]:[]),r},cloneListForMapAndSample=function(r){var V=new t(r._schema?r._schema:map$1(r.dimensions,r._getDimInfo,r),r.hostModel);return transferProperties(V,r),V},transferProperties=function(r,V){each$c(TRANSFERABLE_PROPERTIES.concat(V.__wrappedMethods||[]),function(oe){V.hasOwnProperty(oe)&&(r[oe]=V[oe])}),r.__wrappedMethods=V.__wrappedMethods,each$c(CLONE_PROPERTIES,function(oe){r[oe]=clone$3(V[oe])}),r._calculationInfo=extend({},V._calculationInfo)},makeIdFromName=function(r,V){var oe=r._nameList,ie=r._idList,le=r._nameDimIdx,ue=r._idDimIdx,de=oe[V],pe=ie[V];if(de==null&&le!=null&&(oe[V]=de=getIdNameFromStore(r,le,V)),pe==null&&ue!=null&&(ie[V]=pe=getIdNameFromStore(r,ue,V)),pe==null&&de!=null){var he=r._nameRepeatCount,_e=he[de]=(he[de]||0)+1;pe=de,_e>1&&(pe+="__ec__"+_e),ie[V]=pe}}}(),t}();const SeriesData$1=SeriesData;function createDimensions(t,r){return prepareSeriesDataSchema(t,r).dimensions}function prepareSeriesDataSchema(t,r){isSourceInstance(t)||(t=createSourceFromSeriesDataOption(t)),r=r||{};var V=r.coordDimensions||[],oe=r.dimensionsDefine||t.dimensionsDefine||[],ie=createHashMap(),le=[],ue=getDimCount(t,V,oe,r.dimensionsCount),de=r.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(ue),pe=oe===t.dimensionsDefine,he=pe?ensureSourceDimNameMap(t):createDimNameMap(oe),_e=r.encodeDefine;!_e&&r.encodeDefaulter&&(_e=r.encodeDefaulter(t,ue));for(var $e=createHashMap(_e),Ie=new CtorInt32Array$1(ue),Ve=0;Ve<Ie.length;Ve++)Ie[Ve]=-1;function Fe(Sn){var wn=Ie[Sn];if(wn<0){var En=oe[Sn],xn=isObject$3(En)?En:{name:En},Pn=new SeriesDimensionDefine$1,kn=xn.name;kn!=null&&he.get(kn)!=null&&(Pn.name=Pn.displayName=kn),xn.type!=null&&(Pn.type=xn.type),xn.displayName!=null&&(Pn.displayName=xn.displayName);var Nn=le.length;return Ie[Sn]=Nn,Pn.storeDimIndex=Sn,le.push(Pn),Pn}return le[wn]}if(!de)for(var Ve=0;Ve<ue;Ve++)Fe(Ve);$e.each(function(Sn,wn){var En=normalizeToArray(Sn).slice();if(En.length===1&&!isString(En[0])&&En[0]<0){$e.set(wn,!1);return}var xn=$e.set(wn,[]);each$c(En,function(Pn,kn){var Nn=isString(Pn)?he.get(Pn):Pn;Nn!=null&&Nn<ue&&(xn[kn]=Nn,qe(Fe(Nn),wn,kn))})});var Ue=0;each$c(V,function(Sn){var wn,En,xn,Pn;if(isString(Sn))wn=Sn,Pn={};else{Pn=Sn,wn=Pn.name;var kn=Pn.ordinalMeta;Pn.ordinalMeta=null,Pn=extend({},Pn),Pn.ordinalMeta=kn,En=Pn.dimsDef,xn=Pn.otherDims,Pn.name=Pn.coordDim=Pn.coordDimIndex=Pn.dimsDef=Pn.otherDims=null}var Nn=$e.get(wn);if(Nn!==!1){if(Nn=normalizeToArray(Nn),!Nn.length)for(var Dn=0;Dn<(En&&En.length||1);Dn++){for(;Ue<ue&&Fe(Ue).coordDim!=null;)Ue++;Ue<ue&&Nn.push(Ue++)}each$c(Nn,function(Mn,Ln){var An=Fe(Mn);if(pe&&Pn.type!=null&&(An.type=Pn.type),qe(defaults(An,Pn),wn,Ln),An.name==null&&En){var Vn=En[Ln];!isObject$3(Vn)&&(Vn={name:Vn}),An.name=An.displayName=Vn.name,An.defaultTooltip=Vn.defaultTooltip}xn&&defaults(An.otherDims,xn)})}});function qe(Sn,wn,En){VISUAL_DIMENSIONS.get(wn)!=null?Sn.otherDims[wn]=En:(Sn.coordDim=wn,Sn.coordDimIndex=En,ie.set(wn,!0))}var Et=r.generateCoord,At=r.generateCoordCount,Lt=At!=null;At=Et?At||1:0;var hn=Et||"value";function _n(Sn){Sn.name==null&&(Sn.name=Sn.coordDim)}if(de)each$c(le,function(Sn){_n(Sn)}),le.sort(function(Sn,wn){return Sn.storeDimIndex-wn.storeDimIndex});else for(var vn=0;vn<ue;vn++){var bn=Fe(vn),Cn=bn.coordDim;Cn==null&&(bn.coordDim=genCoordDimName(hn,ie,Lt),bn.coordDimIndex=0,(!Et||At<=0)&&(bn.isExtraCoord=!0),At--),_n(bn),bn.type==null&&(guessOrdinal(t,vn)===BE_ORDINAL.Must||bn.isExtraCoord&&(bn.otherDims.itemName!=null||bn.otherDims.seriesName!=null))&&(bn.type="ordinal")}return removeDuplication(le),new SeriesDataSchema({source:t,dimensions:le,fullDimensionCount:ue,dimensionOmitted:de})}function removeDuplication(t){for(var r=createHashMap(),V=0;V<t.length;V++){var oe=t[V],ie=oe.name,le=r.get(ie)||0;le>0&&(oe.name=ie+(le-1)),le++,r.set(ie,le)}}function getDimCount(t,r,V,oe){var ie=Math.max(t.dimensionsDetectedCount||1,r.length,V.length,oe||0);return each$c(r,function(le){var ue;isObject$3(le)&&(ue=le.dimsDef)&&(ie=Math.max(ie,ue.length))}),ie}function genCoordDimName(t,r,V){if(V||r.hasKey(t)){for(var oe=0;r.hasKey(t+oe);)oe++;t+=oe}return r.set(t,!0),t}var CoordSysInfo=function(){function t(r){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=r}return t}();function getCoordSysInfoBySeries(t){var r=t.get("coordinateSystem"),V=new CoordSysInfo(r),oe=fetchers[r];if(oe)return oe(t,V,V.axisMap,V.categoryAxisMap),V}var fetchers={cartesian2d:function(t,r,V,oe){var ie=t.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],le=t.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["x","y"],V.set("x",ie),V.set("y",le),isCategory(ie)&&(oe.set("x",ie),r.firstCategoryDimIndex=0),isCategory(le)&&(oe.set("y",le),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},singleAxis:function(t,r,V,oe){var ie=t.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];r.coordSysDims=["single"],V.set("single",ie),isCategory(ie)&&(oe.set("single",ie),r.firstCategoryDimIndex=0)},polar:function(t,r,V,oe){var ie=t.getReferringComponents("polar",SINGLE_REFERRING).models[0],le=ie.findAxisModel("radiusAxis"),ue=ie.findAxisModel("angleAxis");r.coordSysDims=["radius","angle"],V.set("radius",le),V.set("angle",ue),isCategory(le)&&(oe.set("radius",le),r.firstCategoryDimIndex=0),isCategory(ue)&&(oe.set("angle",ue),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=1))},geo:function(t,r,V,oe){r.coordSysDims=["lng","lat"]},parallel:function(t,r,V,oe){var ie=t.ecModel,le=ie.getComponent("parallel",t.get("parallelIndex")),ue=r.coordSysDims=le.dimensions.slice();each$c(le.parallelAxisIndex,function(de,pe){var he=ie.getComponent("parallelAxis",de),_e=ue[pe];V.set(_e,he),isCategory(he)&&(oe.set(_e,he),r.firstCategoryDimIndex==null&&(r.firstCategoryDimIndex=pe))})}};function isCategory(t){return t.get("type")==="category"}function enableDataStack(t,r,V){V=V||{};var oe=V.byIndex,ie=V.stackedCoordDimension,le,ue,de;isLegacyDimensionsInput(r)?le=r:(ue=r.schema,le=ue.dimensions,de=r.store);var pe=!!(t&&t.get("stack")),he,_e,$e,Ie;if(each$c(le,function(At,Lt){isString(At)&&(le[Lt]=At={name:At}),pe&&!At.isExtraCoord&&(!oe&&!he&&At.ordinalMeta&&(he=At),!_e&&At.type!=="ordinal"&&At.type!=="time"&&(!ie||ie===At.coordDim)&&(_e=At))}),_e&&!oe&&!he&&(oe=!0),_e){$e="__\0ecstackresult_"+t.id,Ie="__\0ecstackedover_"+t.id,he&&(he.createInvertedIndices=!0);var Ve=_e.coordDim,Fe=_e.type,Ue=0;each$c(le,function(At){At.coordDim===Ve&&Ue++});var qe={name:$e,coordDim:Ve,coordDimIndex:Ue,type:Fe,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:le.length},Et={name:Ie,coordDim:Ie,coordDimIndex:Ue+1,type:Fe,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:le.length+1};ue?(de&&(qe.storeDimIndex=de.ensureCalculationDimension(Ie,Fe),Et.storeDimIndex=de.ensureCalculationDimension($e,Fe)),ue.appendCalculationDimension(qe),ue.appendCalculationDimension(Et)):(le.push(qe),le.push(Et))}return{stackedDimension:_e&&_e.name,stackedByDimension:he&&he.name,isStackedByIndex:oe,stackedOverDimension:Ie,stackResultDimension:$e}}function isLegacyDimensionsInput(t){return!isSeriesDataSchema(t.schema)}function isDimensionStacked(t,r){return!!r&&r===t.getCalculationInfo("stackedDimension")}function getStackedDimension(t,r){return isDimensionStacked(t,r)?t.getCalculationInfo("stackResultDimension"):r}function getCoordSysDimDefs(t,r){var V=t.get("coordinateSystem"),oe=CoordinateSystem.get(V),ie;return r&&r.coordSysDims&&(ie=map$2(r.coordSysDims,function(le){var ue={name:le},de=r.axisMap.get(le);if(de){var pe=de.get("type");ue.type=getDimensionTypeByAxis(pe)}return ue})),ie||(ie=oe&&(oe.getDimensionsInfo?oe.getDimensionsInfo():oe.dimensions.slice())||["x","y"]),ie}function injectOrdinalMeta(t,r,V){var oe,ie;return V&&each$c(t,function(le,ue){var de=le.coordDim,pe=V.categoryAxisMap.get(de);pe&&(oe==null&&(oe=ue),le.ordinalMeta=pe.getOrdinalMeta(),r&&(le.createInvertedIndices=!0)),le.otherDims.itemName!=null&&(ie=!0)}),!ie&&oe!=null&&(t[oe].otherDims.itemName=0),oe}function createSeriesData(t,r,V){V=V||{};var oe=r.getSourceManager(),ie,le=!1;t?(le=!0,ie=createSourceFromSeriesDataOption(t)):(ie=oe.getSource(),le=ie.sourceFormat===SOURCE_FORMAT_ORIGINAL);var ue=getCoordSysInfoBySeries(r),de=getCoordSysDimDefs(r,ue),pe=V.useEncodeDefaulter,he=isFunction(pe)?pe:pe?curry$1(makeSeriesEncodeForAxisCoordSys,de,r):null,_e={coordDimensions:de,generateCoord:V.generateCoord,encodeDefine:r.getEncode(),encodeDefaulter:he,canOmitUnusedDimensions:!le},$e=prepareSeriesDataSchema(ie,_e),Ie=injectOrdinalMeta($e.dimensions,V.createInvertedIndices,ue),Ve=le?null:oe.getSharedDataStore($e),Fe=enableDataStack(r,{schema:$e,store:Ve}),Ue=new SeriesData$1($e,r);Ue.setCalculationInfo(Fe);var qe=Ie!=null&&isNeedCompleteOrdinalData(ie)?function(Et,At,Lt,hn){return hn===Ie?Lt:this.defaultDimValueGetter(Et,At,Lt,hn)}:null;return Ue.hasItemOption=!1,Ue.initData(le?ie:Ve,null,qe),Ue}function isNeedCompleteOrdinalData(t){if(t.sourceFormat===SOURCE_FORMAT_ORIGINAL){var r=firstDataNotNull(t.data||[]);return!isArray$1(getDataItemValue(r))}}function firstDataNotNull(t){for(var r=0;r<t.length&&t[r]==null;)r++;return t[r]}var Scale=function(){function t(r){this._setting=r||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(r){return this._setting[r]},t.prototype.unionExtent=function(r){var V=this._extent;r[0]<V[0]&&(V[0]=r[0]),r[1]>V[1]&&(V[1]=r[1])},t.prototype.unionExtentFromData=function(r,V){this.unionExtent(r.getApproximateExtent(V))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(r,V){var oe=this._extent;isNaN(r)||(oe[0]=r),isNaN(V)||(oe[1]=V)},t.prototype.isInExtentRange=function(r){return this._extent[0]<=r&&this._extent[1]>=r},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(r){this._isBlank=r},t}();enableClassManagement(Scale);const Scale$1=Scale;var uidBase=0,OrdinalMeta=function(){function t(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this.uid=++uidBase}return t.createByAxisModel=function(r){var V=r.option,oe=V.data,ie=oe&&map$2(oe,getName);return new t({categories:ie,needCollect:!ie,deduplication:V.dedplication!==!1})},t.prototype.getOrdinal=function(r){return this._getOrCreateMap().get(r)},t.prototype.parseAndCollect=function(r){var V,oe=this._needCollect;if(!isString(r)&&!oe)return r;if(oe&&!this._deduplication)return V=this.categories.length,this.categories[V]=r,V;var ie=this._getOrCreateMap();return V=ie.get(r),V==null&&(oe?(V=this.categories.length,this.categories[V]=r,ie.set(r,V)):V=NaN),V},t.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},t}();function getName(t){return isObject$3(t)&&t.value!=null?t.value:t+""}const OrdinalMeta$1=OrdinalMeta;function isIntervalOrLogScale(t){return t.type==="interval"||t.type==="log"}function intervalScaleNiceTicks(t,r,V,oe){var ie={},le=t[1]-t[0],ue=ie.interval=nice(le/r,!0);V!=null&&ue<V&&(ue=ie.interval=V),oe!=null&&ue>oe&&(ue=ie.interval=oe);var de=ie.intervalPrecision=getIntervalPrecision(ue),pe=ie.niceTickExtent=[round$1(Math.ceil(t[0]/ue)*ue,de),round$1(Math.floor(t[1]/ue)*ue,de)];return fixExtent(pe,t),ie}function increaseInterval(t){var r=Math.pow(10,quantityExponent(t)),V=t/r;return V?V===2?V=3:V===3?V=5:V*=2:V=1,round$1(V*r)}function getIntervalPrecision(t){return getPrecision(t)+2}function clamp(t,r,V){t[r]=Math.max(Math.min(t[r],V[1]),V[0])}function fixExtent(t,r){!isFinite(t[0])&&(t[0]=r[0]),!isFinite(t[1])&&(t[1]=r[1]),clamp(t,0,r),clamp(t,1,r),t[0]>t[1]&&(t[0]=t[1])}function contain$1(t,r){return t>=r[0]&&t<=r[1]}function normalize(t,r){return r[1]===r[0]?.5:(t-r[0])/(r[1]-r[0])}function scale(t,r){return t*(r[1]-r[0])+r[0]}var OrdinalScale=function(t){__extends(r,t);function r(V){var oe=t.call(this,V)||this;oe.type="ordinal";var ie=oe.getSetting("ordinalMeta");return ie||(ie=new OrdinalMeta$1({})),isArray$1(ie)&&(ie=new OrdinalMeta$1({categories:map$2(ie,function(le){return isObject$3(le)?le.value:le})})),oe._ordinalMeta=ie,oe._extent=oe.getSetting("extent")||[0,ie.categories.length-1],oe}return r.prototype.parse=function(V){return V==null?NaN:isString(V)?this._ordinalMeta.getOrdinal(V):Math.round(V)},r.prototype.contain=function(V){return V=this.parse(V),contain$1(V,this._extent)&&this._ordinalMeta.categories[V]!=null},r.prototype.normalize=function(V){return V=this._getTickNumber(this.parse(V)),normalize(V,this._extent)},r.prototype.scale=function(V){return V=Math.round(scale(V,this._extent)),this.getRawOrdinalNumber(V)},r.prototype.getTicks=function(){for(var V=[],oe=this._extent,ie=oe[0];ie<=oe[1];)V.push({value:ie}),ie++;return V},r.prototype.getMinorTicks=function(V){},r.prototype.setSortInfo=function(V){if(V==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var oe=V.ordinalNumbers,ie=this._ordinalNumbersByTick=[],le=this._ticksByOrdinalNumber=[],ue=0,de=this._ordinalMeta.categories.length,pe=Math.min(de,oe.length);ue<pe;++ue){var he=oe[ue];ie[ue]=he,le[he]=ue}for(var _e=0;ue<de;++ue){for(;le[_e]!=null;)_e++;ie.push(_e),le[_e]=ue}},r.prototype._getTickNumber=function(V){var oe=this._ticksByOrdinalNumber;return oe&&V>=0&&V<oe.length?oe[V]:V},r.prototype.getRawOrdinalNumber=function(V){var oe=this._ordinalNumbersByTick;return oe&&V>=0&&V<oe.length?oe[V]:V},r.prototype.getLabel=function(V){if(!this.isBlank()){var oe=this.getRawOrdinalNumber(V.value),ie=this._ordinalMeta.categories[oe];return ie==null?"":ie+""}},r.prototype.count=function(){return this._extent[1]-this._extent[0]+1},r.prototype.unionExtentFromData=function(V,oe){this.unionExtent(V.getApproximateExtent(oe))},r.prototype.isInExtentRange=function(V){return V=this._getTickNumber(V),this._extent[0]<=V&&this._extent[1]>=V},r.prototype.getOrdinalMeta=function(){return this._ordinalMeta},r.prototype.calcNiceTicks=function(){},r.prototype.calcNiceExtent=function(){},r.type="ordinal",r}(Scale$1);Scale$1.registerClass(OrdinalScale);const OrdinalScale$1=OrdinalScale;var roundNumber=round$1,IntervalScale=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type="interval",V._interval=0,V._intervalPrecision=2,V}return r.prototype.parse=function(V){return V},r.prototype.contain=function(V){return contain$1(V,this._extent)},r.prototype.normalize=function(V){return normalize(V,this._extent)},r.prototype.scale=function(V){return scale(V,this._extent)},r.prototype.setExtent=function(V,oe){var ie=this._extent;isNaN(V)||(ie[0]=parseFloat(V)),isNaN(oe)||(ie[1]=parseFloat(oe))},r.prototype.unionExtent=function(V){var oe=this._extent;V[0]<oe[0]&&(oe[0]=V[0]),V[1]>oe[1]&&(oe[1]=V[1]),this.setExtent(oe[0],oe[1])},r.prototype.getInterval=function(){return this._interval},r.prototype.setInterval=function(V){this._interval=V,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(V)},r.prototype.getTicks=function(V){var oe=this._interval,ie=this._extent,le=this._niceExtent,ue=this._intervalPrecision,de=[];if(!oe)return de;var pe=1e4;ie[0]<le[0]&&(V?de.push({value:roundNumber(le[0]-oe,ue)}):de.push({value:ie[0]}));for(var he=le[0];he<=le[1]&&(de.push({value:he}),he=roundNumber(he+oe,ue),he!==de[de.length-1].value);)if(de.length>pe)return[];var _e=de.length?de[de.length-1].value:le[1];return ie[1]>_e&&(V?de.push({value:roundNumber(_e+oe,ue)}):de.push({value:ie[1]})),de},r.prototype.getMinorTicks=function(V){for(var oe=this.getTicks(!0),ie=[],le=this.getExtent(),ue=1;ue<oe.length;ue++){for(var de=oe[ue],pe=oe[ue-1],he=0,_e=[],$e=de.value-pe.value,Ie=$e/V;he<V-1;){var Ve=roundNumber(pe.value+(he+1)*Ie);Ve>le[0]&&Ve<le[1]&&_e.push(Ve),he++}ie.push(_e)}return ie},r.prototype.getLabel=function(V,oe){if(V==null)return"";var ie=oe&&oe.precision;ie==null?ie=getPrecision(V.value)||0:ie==="auto"&&(ie=this._intervalPrecision);var le=roundNumber(V.value,ie,!0);return addCommas(le)},r.prototype.calcNiceTicks=function(V,oe,ie){V=V||5;var le=this._extent,ue=le[1]-le[0];if(isFinite(ue)){ue<0&&(ue=-ue,le.reverse());var de=intervalScaleNiceTicks(le,V,oe,ie);this._intervalPrecision=de.intervalPrecision,this._interval=de.interval,this._niceExtent=de.niceTickExtent}},r.prototype.calcNiceExtent=function(V){var oe=this._extent;if(oe[0]===oe[1])if(oe[0]!==0){var ie=Math.abs(oe[0]);V.fixMax||(oe[1]+=ie/2),oe[0]-=ie/2}else oe[1]=1;var le=oe[1]-oe[0];isFinite(le)||(oe[0]=0,oe[1]=1),this.calcNiceTicks(V.splitNumber,V.minInterval,V.maxInterval);var ue=this._interval;V.fixMin||(oe[0]=roundNumber(Math.floor(oe[0]/ue)*ue)),V.fixMax||(oe[1]=roundNumber(Math.ceil(oe[1]/ue)*ue))},r.prototype.setNiceExtent=function(V,oe){this._niceExtent=[V,oe]},r.type="interval",r}(Scale$1);Scale$1.registerClass(IntervalScale);const IntervalScale$1=IntervalScale;var supportFloat32Array=typeof Float32Array<"u",Float32ArrayCtor=supportFloat32Array?Float32Array:Array;function createFloat32Array(t){return isArray$1(t)?supportFloat32Array?new Float32Array(t):t:new Float32ArrayCtor(t)}var STACK_PREFIX="__ec_stack_";function getSeriesStackId(t){return t.get("stack")||STACK_PREFIX+t.seriesIndex}function getAxisKey(t){return t.dim+t.index}function prepareLayoutBarSeries(t,r){var V=[];return r.eachSeriesByType(t,function(oe){isOnCartesian(oe)&&V.push(oe)}),V}function getValueAxesMinGaps(t){var r={};each$c(t,function(pe){var he=pe.coordinateSystem,_e=he.getBaseAxis();if(!(_e.type!=="time"&&_e.type!=="value"))for(var $e=pe.getData(),Ie=_e.dim+"_"+_e.index,Ve=$e.getDimensionIndex($e.mapDimension(_e.dim)),Fe=$e.getStore(),Ue=0,qe=Fe.count();Ue<qe;++Ue){var Et=Fe.get(Ve,Ue);r[Ie]?r[Ie].push(Et):r[Ie]=[Et]}});var V={};for(var oe in r)if(r.hasOwnProperty(oe)){var ie=r[oe];if(ie){ie.sort(function(pe,he){return pe-he});for(var le=null,ue=1;ue<ie.length;++ue){var de=ie[ue]-ie[ue-1];de>0&&(le=le===null?de:Math.min(le,de))}V[oe]=le}}return V}function makeColumnLayout(t){var r=getValueAxesMinGaps(t),V=[];return each$c(t,function(oe){var ie=oe.coordinateSystem,le=ie.getBaseAxis(),ue=le.getExtent(),de;if(le.type==="category")de=le.getBandWidth();else if(le.type==="value"||le.type==="time"){var pe=le.dim+"_"+le.index,he=r[pe],_e=Math.abs(ue[1]-ue[0]),$e=le.scale.getExtent(),Ie=Math.abs($e[1]-$e[0]);de=he?_e/Ie*he:_e}else{var Ve=oe.getData();de=Math.abs(ue[1]-ue[0])/Ve.count()}var Fe=parsePercent(oe.get("barWidth"),de),Ue=parsePercent(oe.get("barMaxWidth"),de),qe=parsePercent(oe.get("barMinWidth")||(isInLargeMode(oe)?.5:1),de),Et=oe.get("barGap"),At=oe.get("barCategoryGap");V.push({bandWidth:de,barWidth:Fe,barMaxWidth:Ue,barMinWidth:qe,barGap:Et,barCategoryGap:At,axisKey:getAxisKey(le),stackId:getSeriesStackId(oe)})}),doCalBarWidthAndOffset(V)}function doCalBarWidthAndOffset(t){var r={};each$c(t,function(oe,ie){var le=oe.axisKey,ue=oe.bandWidth,de=r[le]||{bandWidth:ue,remainedWidth:ue,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},pe=de.stacks;r[le]=de;var he=oe.stackId;pe[he]||de.autoWidthCount++,pe[he]=pe[he]||{width:0,maxWidth:0};var _e=oe.barWidth;_e&&!pe[he].width&&(pe[he].width=_e,_e=Math.min(de.remainedWidth,_e),de.remainedWidth-=_e);var $e=oe.barMaxWidth;$e&&(pe[he].maxWidth=$e);var Ie=oe.barMinWidth;Ie&&(pe[he].minWidth=Ie);var Ve=oe.barGap;Ve!=null&&(de.gap=Ve);var Fe=oe.barCategoryGap;Fe!=null&&(de.categoryGap=Fe)});var V={};return each$c(r,function(oe,ie){V[ie]={};var le=oe.stacks,ue=oe.bandWidth,de=oe.categoryGap;if(de==null){var pe=keys(le).length;de=Math.max(35-pe*4,15)+"%"}var he=parsePercent(de,ue),_e=parsePercent(oe.gap,1),$e=oe.remainedWidth,Ie=oe.autoWidthCount,Ve=($e-he)/(Ie+(Ie-1)*_e);Ve=Math.max(Ve,0),each$c(le,function(Et){var At=Et.maxWidth,Lt=Et.minWidth;if(Et.width){var hn=Et.width;At&&(hn=Math.min(hn,At)),Lt&&(hn=Math.max(hn,Lt)),Et.width=hn,$e-=hn+_e*hn,Ie--}else{var hn=Ve;At&&At<hn&&(hn=Math.min(At,$e)),Lt&&Lt>hn&&(hn=Lt),hn!==Ve&&(Et.width=hn,$e-=hn+_e*hn,Ie--)}}),Ve=($e-he)/(Ie+(Ie-1)*_e),Ve=Math.max(Ve,0);var Fe=0,Ue;each$c(le,function(Et,At){Et.width||(Et.width=Ve),Ue=Et,Fe+=Et.width*(1+_e)}),Ue&&(Fe-=Ue.width*_e);var qe=-Fe/2;each$c(le,function(Et,At){V[ie][At]=V[ie][At]||{bandWidth:ue,offset:qe,width:Et.width},qe+=Et.width*(1+_e)})}),V}function retrieveColumnLayout(t,r,V){if(t&&r){var oe=t[getAxisKey(r)];return oe!=null&&V!=null?oe[getSeriesStackId(V)]:oe}}function layout$2(t,r){var V=prepareLayoutBarSeries(t,r),oe=makeColumnLayout(V);each$c(V,function(ie){var le=ie.getData(),ue=ie.coordinateSystem,de=ue.getBaseAxis(),pe=getSeriesStackId(ie),he=oe[getAxisKey(de)][pe],_e=he.offset,$e=he.width;le.setLayout({bandWidth:he.bandWidth,offset:_e,size:$e})})}function createProgressiveLayout(t){return{seriesType:t,plan:createRenderPlanner(),reset:function(r){if(isOnCartesian(r)){var V=r.getData(),oe=r.coordinateSystem,ie=oe.getBaseAxis(),le=oe.getOtherAxis(ie),ue=V.getDimensionIndex(V.mapDimension(le.dim)),de=V.getDimensionIndex(V.mapDimension(ie.dim)),pe=r.get("showBackground",!0),he=V.mapDimension(le.dim),_e=V.getCalculationInfo("stackResultDimension"),$e=isDimensionStacked(V,he)&&!!V.getCalculationInfo("stackedOnSeries"),Ie=le.isHorizontal(),Ve=getValueAxisStart(ie,le),Fe=isInLargeMode(r),Ue=r.get("barMinHeight")||0,qe=_e&&V.getDimensionIndex(_e),Et=V.getLayout("size"),At=V.getLayout("offset");return{progress:function(Lt,hn){for(var _n=Lt.count,vn=Fe&&createFloat32Array(_n*3),bn=Fe&&pe&&createFloat32Array(_n*3),Cn=Fe&&createFloat32Array(_n),Sn=oe.master.getRect(),wn=Ie?Sn.width:Sn.height,En,xn=hn.getStore(),Pn=0;(En=Lt.next())!=null;){var kn=xn.get($e?qe:ue,En),Nn=xn.get(de,En),Dn=Ve,Mn=void 0;$e&&(Mn=+kn-xn.get(ue,En));var Ln=void 0,An=void 0,Vn=void 0,Wn=void 0;if(Ie){var Fn=oe.dataToPoint([kn,Nn]);if($e){var Yn=oe.dataToPoint([Mn,Nn]);Dn=Yn[0]}Ln=Dn,An=Fn[1]+At,Vn=Fn[0]-Dn,Wn=Et,Math.abs(Vn)<Ue&&(Vn=(Vn<0?-1:1)*Ue)}else{var Fn=oe.dataToPoint([Nn,kn]);if($e){var Yn=oe.dataToPoint([Nn,Mn]);Dn=Yn[1]}Ln=Fn[0]+At,An=Dn,Vn=Et,Wn=Fn[1]-Dn,Math.abs(Wn)<Ue&&(Wn=(Wn<=0?-1:1)*Ue)}Fe?(vn[Pn]=Ln,vn[Pn+1]=An,vn[Pn+2]=Ie?Vn:Wn,bn&&(bn[Pn]=Ie?Sn.x:Ln,bn[Pn+1]=Ie?An:Sn.y,bn[Pn+2]=wn),Cn[En]=En):hn.setItemLayout(En,{x:Ln,y:An,width:Vn,height:Wn}),Pn+=3}Fe&&hn.setLayout({largePoints:vn,largeDataIndices:Cn,largeBackgroundPoints:bn,valueAxisHorizontal:Ie})}}}}}}function isOnCartesian(t){return t.coordinateSystem&&t.coordinateSystem.type==="cartesian2d"}function isInLargeMode(t){return t.pipelineContext&&t.pipelineContext.large}function getValueAxisStart(t,r){return r.toGlobalCoord(r.dataToCoord(r.type==="log"?1:0))}var bisect=function(t,r,V,oe){for(;V<oe;){var ie=V+oe>>>1;t[ie][1]<r?V=ie+1:oe=ie}return V},TimeScale=function(t){__extends(r,t);function r(V){var oe=t.call(this,V)||this;return oe.type="time",oe}return r.prototype.getLabel=function(V){var oe=this.getSetting("useUTC");return format$1(V.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,oe,this.getSetting("locale"))},r.prototype.getFormattedLabel=function(V,oe,ie){var le=this.getSetting("useUTC"),ue=this.getSetting("locale");return leveledFormat(V,oe,ie,ue,le)},r.prototype.getTicks=function(){var V=this._interval,oe=this._extent,ie=[];if(!V)return ie;ie.push({value:oe[0],level:0});var le=this.getSetting("useUTC"),ue=getIntervalTicks(this._minLevelUnit,this._approxInterval,le,oe);return ie=ie.concat(ue),ie.push({value:oe[1],level:0}),ie},r.prototype.calcNiceExtent=function(V){var oe=this._extent;if(oe[0]===oe[1]&&(oe[0]-=ONE_DAY,oe[1]+=ONE_DAY),oe[1]===-1/0&&oe[0]===1/0){var ie=new Date;oe[1]=+new Date(ie.getFullYear(),ie.getMonth(),ie.getDate()),oe[0]=oe[1]-ONE_DAY}this.calcNiceTicks(V.splitNumber,V.minInterval,V.maxInterval)},r.prototype.calcNiceTicks=function(V,oe,ie){V=V||10;var le=this._extent,ue=le[1]-le[0];this._approxInterval=ue/V,oe!=null&&this._approxInterval<oe&&(this._approxInterval=oe),ie!=null&&this._approxInterval>ie&&(this._approxInterval=ie);var de=scaleIntervals.length,pe=Math.min(bisect(scaleIntervals,this._approxInterval,0,de),de-1);this._interval=scaleIntervals[pe][1],this._minLevelUnit=scaleIntervals[Math.max(pe-1,0)][0]},r.prototype.parse=function(V){return isNumber(V)?V:+parseDate(V)},r.prototype.contain=function(V){return contain$1(this.parse(V),this._extent)},r.prototype.normalize=function(V){return normalize(this.parse(V),this._extent)},r.prototype.scale=function(V){return scale(V,this._extent)},r.type="time",r}(IntervalScale$1),scaleIntervals=[["second",ONE_SECOND],["minute",ONE_MINUTE],["hour",ONE_HOUR],["quarter-day",ONE_HOUR*6],["half-day",ONE_HOUR*12],["day",ONE_DAY*1.2],["half-week",ONE_DAY*3.5],["week",ONE_DAY*7],["month",ONE_DAY*31],["quarter",ONE_DAY*95],["half-year",ONE_YEAR/2],["year",ONE_YEAR]];function isUnitValueSame(t,r,V,oe){var ie=parseDate(r),le=parseDate(V),ue=function(Fe){return getUnitValue(ie,Fe,oe)===getUnitValue(le,Fe,oe)},de=function(){return ue("year")},pe=function(){return de()&&ue("month")},he=function(){return pe()&&ue("day")},_e=function(){return he()&&ue("hour")},$e=function(){return _e()&&ue("minute")},Ie=function(){return $e()&&ue("second")},Ve=function(){return Ie()&&ue("millisecond")};switch(t){case"year":return de();case"month":return pe();case"day":return he();case"hour":return _e();case"minute":return $e();case"second":return Ie();case"millisecond":return Ve()}}function getDateInterval(t,r){return t/=ONE_DAY,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function getMonthInterval(t){var r=30*ONE_DAY;return t/=r,t>6?6:t>3?3:t>2?2:1}function getHourInterval(t){return t/=ONE_HOUR,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function getMinutesAndSecondsInterval(t,r){return t/=r?ONE_MINUTE:ONE_SECOND,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function getMillisecondsInterval(t){return nice(t,!0)}function getFirstTimestampOfUnit(t,r,V){var oe=new Date(t);switch(getPrimaryTimeUnit(r)){case"year":case"month":oe[monthSetterName(V)](0);case"day":oe[dateSetterName(V)](1);case"hour":oe[hoursSetterName(V)](0);case"minute":oe[minutesSetterName(V)](0);case"second":oe[secondsSetterName(V)](0),oe[millisecondsSetterName(V)](0)}return oe.getTime()}function getIntervalTicks(t,r,V,oe){var ie=1e4,le=timeUnits,ue=0;function de(wn,En,xn,Pn,kn,Nn,Dn){for(var Mn=new Date(En),Ln=En,An=Mn[Pn]();Ln<xn&&Ln<=oe[1];)Dn.push({value:Ln}),An+=wn,Mn[kn](An),Ln=Mn.getTime();Dn.push({value:Ln,notAdd:!0})}function pe(wn,En,xn){var Pn=[],kn=!En.length;if(!isUnitValueSame(getPrimaryTimeUnit(wn),oe[0],oe[1],V)){kn&&(En=[{value:getFirstTimestampOfUnit(new Date(oe[0]),wn,V)},{value:oe[1]}]);for(var Nn=0;Nn<En.length-1;Nn++){var Dn=En[Nn].value,Mn=En[Nn+1].value;if(Dn!==Mn){var Ln=void 0,An=void 0,Vn=void 0,Wn=!1;switch(wn){case"year":Ln=Math.max(1,Math.round(r/ONE_DAY/365)),An=fullYearGetterName(V),Vn=fullYearSetterName(V);break;case"half-year":case"quarter":case"month":Ln=getMonthInterval(r),An=monthGetterName(V),Vn=monthSetterName(V);break;case"week":case"half-week":case"day":Ln=getDateInterval(r),An=dateGetterName(V),Vn=dateSetterName(V),Wn=!0;break;case"half-day":case"quarter-day":case"hour":Ln=getHourInterval(r),An=hoursGetterName(V),Vn=hoursSetterName(V);break;case"minute":Ln=getMinutesAndSecondsInterval(r,!0),An=minutesGetterName(V),Vn=minutesSetterName(V);break;case"second":Ln=getMinutesAndSecondsInterval(r,!1),An=secondsGetterName(V),Vn=secondsSetterName(V);break;case"millisecond":Ln=getMillisecondsInterval(r),An=millisecondsGetterName(V),Vn=millisecondsSetterName(V);break}de(Ln,Dn,Mn,An,Vn,Wn,Pn),wn==="year"&&xn.length>1&&Nn===0&&xn.unshift({value:xn[0].value-Ln})}}for(var Nn=0;Nn<Pn.length;Nn++)xn.push(Pn[Nn]);return Pn}}for(var he=[],_e=[],$e=0,Ie=0,Ve=0;Ve<le.length&&ue++<ie;++Ve){var Fe=getPrimaryTimeUnit(le[Ve]);if(isPrimaryTimeUnit(le[Ve])){pe(le[Ve],he[he.length-1]||[],_e);var Ue=le[Ve+1]?getPrimaryTimeUnit(le[Ve+1]):null;if(Fe!==Ue){if(_e.length){Ie=$e,_e.sort(function(wn,En){return wn.value-En.value});for(var qe=[],Et=0;Et<_e.length;++Et){var At=_e[Et].value;(Et===0||_e[Et-1].value!==At)&&(qe.push(_e[Et]),At>=oe[0]&&At<=oe[1]&&$e++)}var Lt=(oe[1]-oe[0])/r;if($e>Lt*1.5&&Ie>Lt/1.5||(he.push(qe),$e>Lt||t===le[Ve]))break}_e=[]}}}for(var hn=filter(map$2(he,function(wn){return filter(wn,function(En){return En.value>=oe[0]&&En.value<=oe[1]&&!En.notAdd})}),function(wn){return wn.length>0}),_n=[],vn=hn.length-1,Ve=0;Ve<hn.length;++Ve)for(var bn=hn[Ve],Cn=0;Cn<bn.length;++Cn)_n.push({value:bn[Cn].value,level:vn-Ve});_n.sort(function(wn,En){return wn.value-En.value});for(var Sn=[],Ve=0;Ve<_n.length;++Ve)(Ve===0||_n[Ve].value!==_n[Ve-1].value)&&Sn.push(_n[Ve]);return Sn}Scale$1.registerClass(TimeScale);const TimeScale$1=TimeScale;var scaleProto=Scale$1.prototype,intervalScaleProto=IntervalScale$1.prototype,roundingErrorFix=round$1,mathFloor=Math.floor,mathCeil=Math.ceil,mathPow$1=Math.pow,mathLog$1=Math.log,LogScale=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type="log",V.base=10,V._originalScale=new IntervalScale$1,V._interval=0,V}return r.prototype.getTicks=function(V){var oe=this._originalScale,ie=this._extent,le=oe.getExtent(),ue=intervalScaleProto.getTicks.call(this,V);return map$2(ue,function(de){var pe=de.value,he=round$1(mathPow$1(this.base,pe));return he=pe===ie[0]&&this._fixMin?fixRoundingError(he,le[0]):he,he=pe===ie[1]&&this._fixMax?fixRoundingError(he,le[1]):he,{value:he}},this)},r.prototype.setExtent=function(V,oe){var ie=mathLog$1(this.base);V=mathLog$1(Math.max(0,V))/ie,oe=mathLog$1(Math.max(0,oe))/ie,intervalScaleProto.setExtent.call(this,V,oe)},r.prototype.getExtent=function(){var V=this.base,oe=scaleProto.getExtent.call(this);oe[0]=mathPow$1(V,oe[0]),oe[1]=mathPow$1(V,oe[1]);var ie=this._originalScale,le=ie.getExtent();return this._fixMin&&(oe[0]=fixRoundingError(oe[0],le[0])),this._fixMax&&(oe[1]=fixRoundingError(oe[1],le[1])),oe},r.prototype.unionExtent=function(V){this._originalScale.unionExtent(V);var oe=this.base;V[0]=mathLog$1(V[0])/mathLog$1(oe),V[1]=mathLog$1(V[1])/mathLog$1(oe),scaleProto.unionExtent.call(this,V)},r.prototype.unionExtentFromData=function(V,oe){this.unionExtent(V.getApproximateExtent(oe))},r.prototype.calcNiceTicks=function(V){V=V||10;var oe=this._extent,ie=oe[1]-oe[0];if(!(ie===1/0||ie<=0)){var le=quantity(ie),ue=V/ie*le;for(ue<=.5&&(le*=10);!isNaN(le)&&Math.abs(le)<1&&Math.abs(le)>0;)le*=10;var de=[round$1(mathCeil(oe[0]/le)*le),round$1(mathFloor(oe[1]/le)*le)];this._interval=le,this._niceExtent=de}},r.prototype.calcNiceExtent=function(V){intervalScaleProto.calcNiceExtent.call(this,V),this._fixMin=V.fixMin,this._fixMax=V.fixMax},r.prototype.parse=function(V){return V},r.prototype.contain=function(V){return V=mathLog$1(V)/mathLog$1(this.base),contain$1(V,this._extent)},r.prototype.normalize=function(V){return V=mathLog$1(V)/mathLog$1(this.base),normalize(V,this._extent)},r.prototype.scale=function(V){return V=scale(V,this._extent),mathPow$1(this.base,V)},r.type="log",r}(Scale$1),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError(t,r){return roundingErrorFix(t,getPrecision(r))}Scale$1.registerClass(LogScale);const LogScale$1=LogScale;var ScaleRawExtentInfo=function(){function t(r,V,oe){this._prepareParams(r,V,oe)}return t.prototype._prepareParams=function(r,V,oe){oe[1]<oe[0]&&(oe=[NaN,NaN]),this._dataMin=oe[0],this._dataMax=oe[1];var ie=this._isOrdinal=r.type==="ordinal";this._needCrossZero=r.type==="interval"&&V.getNeedCrossZero&&V.getNeedCrossZero();var le=this._modelMinRaw=V.get("min",!0);isFunction(le)?this._modelMinNum=parseAxisModelMinMax(r,le({min:oe[0],max:oe[1]})):le!=="dataMin"&&(this._modelMinNum=parseAxisModelMinMax(r,le));var ue=this._modelMaxRaw=V.get("max",!0);if(isFunction(ue)?this._modelMaxNum=parseAxisModelMinMax(r,ue({min:oe[0],max:oe[1]})):ue!=="dataMax"&&(this._modelMaxNum=parseAxisModelMinMax(r,ue)),ie)this._axisDataLen=V.getCategories().length;else{var de=V.get("boundaryGap"),pe=isArray$1(de)?de:[de||0,de||0];typeof pe[0]=="boolean"||typeof pe[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[parsePercent$1(pe[0],1),parsePercent$1(pe[1],1)]}},t.prototype.calculate=function(){var r=this._isOrdinal,V=this._dataMin,oe=this._dataMax,ie=this._axisDataLen,le=this._boundaryGapInner,ue=r?null:oe-V||Math.abs(V),de=this._modelMinRaw==="dataMin"?V:this._modelMinNum,pe=this._modelMaxRaw==="dataMax"?oe:this._modelMaxNum,he=de!=null,_e=pe!=null;de==null&&(de=r?ie?0:NaN:V-le[0]*ue),pe==null&&(pe=r?ie?ie-1:NaN:oe+le[1]*ue),(de==null||!isFinite(de))&&(de=NaN),(pe==null||!isFinite(pe))&&(pe=NaN);var $e=eqNaN(de)||eqNaN(pe)||r&&!ie;this._needCrossZero&&(de>0&&pe>0&&!he&&(de=0),de<0&&pe<0&&!_e&&(pe=0));var Ie=this._determinedMin,Ve=this._determinedMax;return Ie!=null&&(de=Ie,he=!0),Ve!=null&&(pe=Ve,_e=!0),{min:de,max:pe,minFixed:he,maxFixed:_e,isBlank:$e}},t.prototype.modifyDataMinMax=function(r,V){this[DATA_MIN_MAX_ATTR[r]]=V},t.prototype.setDeterminedMinMax=function(r,V){var oe=DETERMINED_MIN_MAX_ATTR[r];this[oe]=V},t.prototype.freeze=function(){this.frozen=!0},t}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(t,r,V){var oe=t.rawExtentInfo;return oe||(oe=new ScaleRawExtentInfo(t,r,V),t.rawExtentInfo=oe,oe)}function parseAxisModelMinMax(t,r){return r==null?null:eqNaN(r)?NaN:t.parse(r)}function getScaleExtent(t,r){var V=t.type,oe=ensureScaleRawExtentInfo(t,r,t.getExtent()).calculate();t.setBlank(oe.isBlank);var ie=oe.min,le=oe.max,ue=r.ecModel;if(ue&&V==="time"){var de=prepareLayoutBarSeries("bar",ue),pe=!1;if(each$c(de,function($e){pe=pe||$e.getBaseAxis()===r.axis}),pe){var he=makeColumnLayout(de),_e=adjustScaleForOverflow(ie,le,r,he);ie=_e.min,le=_e.max}}return{extent:[ie,le],fixMin:oe.minFixed,fixMax:oe.maxFixed}}function adjustScaleForOverflow(t,r,V,oe){var ie=V.axis.getExtent(),le=ie[1]-ie[0],ue=retrieveColumnLayout(oe,V.axis);if(ue===void 0)return{min:t,max:r};var de=1/0;each$c(ue,function(Ve){de=Math.min(Ve.offset,de)});var pe=-1/0;each$c(ue,function(Ve){pe=Math.max(Ve.offset+Ve.width,pe)}),de=Math.abs(de),pe=Math.abs(pe);var he=de+pe,_e=r-t,$e=1-(de+pe)/le,Ie=_e/$e-_e;return r+=Ie*(pe/he),t-=Ie*(de/he),{min:t,max:r}}function niceScaleExtent(t,r){var V=r,oe=getScaleExtent(t,V),ie=oe.extent,le=V.get("splitNumber");t instanceof LogScale$1&&(t.base=V.get("logBase"));var ue=t.type,de=V.get("interval"),pe=ue==="interval"||ue==="time";t.setExtent(ie[0],ie[1]),t.calcNiceExtent({splitNumber:le,fixMin:oe.fixMin,fixMax:oe.fixMax,minInterval:pe?V.get("minInterval"):null,maxInterval:pe?V.get("maxInterval"):null}),de!=null&&t.setInterval&&t.setInterval(de)}function createScaleByModel(t,r){if(r=r||t.get("type"),r)switch(r){case"category":return new OrdinalScale$1({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale$1({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Scale$1.getClass(r)||IntervalScale$1)}}function ifAxisCrossZero(t){var r=t.scale.getExtent(),V=r[0],oe=r[1];return!(V>0&&oe>0||V<0&&oe<0)}function makeLabelFormatter(t){var r=t.getLabelModel().get("formatter"),V=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(oe){return function(ie,le){return t.scale.getFormattedLabel(ie,le,oe)}}(r):isString(r)?function(oe){return function(ie){var le=t.scale.getLabel(ie),ue=oe.replace("{value}",le??"");return ue}}(r):isFunction(r)?function(oe){return function(ie,le){return V!=null&&(le=ie.value-V),oe(getAxisRawValue(t,ie),le,ie.level!=null?{level:ie.level}:null)}}(r):function(oe){return t.scale.getLabel(oe)}}function getAxisRawValue(t,r){return t.type==="category"?t.scale.getLabel(r):r.value}function estimateLabelUnionRect(t){var r=t.model,V=t.scale;if(!(!r.get(["axisLabel","show"])||V.isBlank())){var oe,ie,le=V.getExtent();V instanceof OrdinalScale$1?ie=V.count():(oe=V.getTicks(),ie=oe.length);var ue=t.getLabelModel(),de=makeLabelFormatter(t),pe,he=1;ie>40&&(he=Math.ceil(ie/40));for(var _e=0;_e<ie;_e+=he){var $e=oe?oe[_e]:{value:le[0]+_e},Ie=de($e,_e),Ve=ue.getTextRect(Ie),Fe=rotateTextRect(Ve,ue.get("rotate")||0);pe?pe.union(Fe):pe=Fe}return pe}}function rotateTextRect(t,r){var V=r*Math.PI/180,oe=t.width,ie=t.height,le=oe*Math.abs(Math.cos(V))+Math.abs(ie*Math.sin(V)),ue=oe*Math.abs(Math.sin(V))+Math.abs(ie*Math.cos(V)),de=new BoundingRect$1(t.x,t.y,le,ue);return de}function getOptionCategoryInterval(t){var r=t.get("interval");return r??"auto"}function shouldShowAllLabels(t){return t.type==="category"&&getOptionCategoryInterval(t.getLabelModel())===0}function getDataDimensionsOnAxis(t,r){var V={};return each$c(t.mapDimensionsAll(r),function(oe){V[getStackedDimension(t,oe)]=!0}),keys(V)}function unionAxisExtentFromData(t,r,V){r&&each$c(getDataDimensionsOnAxis(r,V),function(oe){var ie=r.getApproximateExtent(oe);ie[0]<t[0]&&(t[0]=ie[0]),ie[1]>t[1]&&(t[1]=ie[1])})}var AxisModelCommonMixin=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var r=this.option;return!r.scale},t.prototype.getCoordSysModel=function(){},t}();function createList(t){return createSeriesData(null,t)}var dataStack={isDimensionStacked,enableDataStack,getStackedDimension};function createScale(t,r){var V=r;r instanceof Model$1||(V=new Model$1(r));var oe=createScaleByModel(V);return oe.setExtent(t[0],t[1]),niceScaleExtent(oe,V),oe}function mixinAxisModelCommonMethods(t){mixin(t,AxisModelCommonMixin)}function createTextStyle(t,r){return r=r||{},createTextStyle$1(t,null,null,r.state!=="normal")}const helper=Object.freeze(Object.defineProperty({__proto__:null,createDimensions,createList,createScale,createSymbol,createTextStyle,dataStack,enableHoverEmphasis,getECData,getLayoutRect,mixinAxisModelCommonMethods},Symbol.toStringTag,{value:"Module"}));var extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap,registerImpl,PRIORITY,ComponentModel:ComponentModel$1,ComponentView:ComponentView$1,SeriesModel:SeriesModel$1,ChartView:ChartView$1,registerComponentModel:function(t){ComponentModel$1.registerClass(t)},registerComponentView:function(t){ComponentView$1.registerClass(t)},registerSeriesModel:function(t){SeriesModel$1.registerClass(t)},registerChartView:function(t){ChartView$1.registerClass(t)},registerSubTypeDefaulter:function(t,r){ComponentModel$1.registerSubTypeDefaulter(t,r)},registerPainter:function(t,r){registerPainter(t,r)}};function use$1(t){if(isArray$1(t)){each$c(t,function(r){use$1(r)});return}indexOf(extensions,t)>=0||(extensions.push(t),isFunction(t)&&(t={install:t}),t.install(extensionRegisters))}var EPSILON=1e-8;function isAroundEqual(t,r){return Math.abs(t-r)<EPSILON}function contain(t,r,V){var oe=0,ie=t[0];if(!ie)return!1;for(var le=1;le<t.length;le++){var ue=t[le];oe+=windingLine(ie[0],ie[1],ue[0],ue[1],r,V),ie=ue}var de=t[0];return(!isAroundEqual(ie[0],de[0])||!isAroundEqual(ie[1],de[1]))&&(oe+=windingLine(ie[0],ie[1],de[0],de[1],r,V)),oe!==0}var TMP_TRANSFORM=[];function transformPoints(t,r){for(var V=0;V<t.length;V++)applyTransform$1(t[V],t[V],r)}function updateBBoxFromPoints(t,r,V,oe){for(var ie=0;ie<t.length;ie++){var le=t[ie];oe&&(le=oe.project(le)),le&&isFinite(le[0])&&isFinite(le[1])&&(min$1(r,r,le),max$1(V,V,le))}}function centroid(t){for(var r=0,V=0,oe=0,ie=t.length,le=t[ie-1][0],ue=t[ie-1][1],de=0;de<ie;de++){var pe=t[de][0],he=t[de][1],_e=le*he-pe*ue;r+=_e,V+=(le+pe)*_e,oe+=(ue+he)*_e,le=pe,ue=he}return r?[V/r/3,oe/r/3,r]:[t[0][0]||0,t[0][1]||0]}var Region=function(){function t(r){this.name=r}return t.prototype.setCenter=function(r){this._center=r},t.prototype.getCenter=function(){var r=this._center;return r||(r=this._center=this.calcCenter()),r},t}(),GeoJSONPolygonGeometry=function(){function t(r,V){this.type="polygon",this.exterior=r,this.interiors=V}return t}(),GeoJSONLineStringGeometry=function(){function t(r){this.type="linestring",this.points=r}return t}(),GeoJSONRegion=function(t){__extends(r,t);function r(V,oe,ie){var le=t.call(this,V)||this;return le.type="geoJSON",le.geometries=oe,le._center=ie&&[ie[0],ie[1]],le}return r.prototype.calcCenter=function(){for(var V=this.geometries,oe,ie=0,le=0;le<V.length;le++){var ue=V[le],de=ue.exterior,pe=de&&de.length;pe>ie&&(oe=ue,ie=pe)}if(oe)return centroid(oe.exterior);var he=this.getBoundingRect();return[he.x+he.width/2,he.y+he.height/2]},r.prototype.getBoundingRect=function(V){var oe=this._rect;if(oe&&!V)return oe;var ie=[1/0,1/0],le=[-1/0,-1/0],ue=this.geometries;return each$c(ue,function(de){de.type==="polygon"?updateBBoxFromPoints(de.exterior,ie,le,V):each$c(de.points,function(pe){updateBBoxFromPoints(pe,ie,le,V)})}),isFinite(ie[0])&&isFinite(ie[1])&&isFinite(le[0])&&isFinite(le[1])||(ie[0]=ie[1]=le[0]=le[1]=0),oe=new BoundingRect$1(ie[0],ie[1],le[0]-ie[0],le[1]-ie[1]),V||(this._rect=oe),oe},r.prototype.contain=function(V){var oe=this.getBoundingRect(),ie=this.geometries;if(!oe.contain(V[0],V[1]))return!1;e:for(var le=0,ue=ie.length;le<ue;le++){var de=ie[le];if(de.type==="polygon"){var pe=de.exterior,he=de.interiors;if(contain(pe,V[0],V[1])){for(var _e=0;_e<(he?he.length:0);_e++)if(contain(he[_e],V[0],V[1]))continue e;return!0}}}return!1},r.prototype.transformTo=function(V,oe,ie,le){var ue=this.getBoundingRect(),de=ue.width/ue.height;ie?le||(le=ie/de):ie=de*le;for(var pe=new BoundingRect$1(V,oe,ie,le),he=ue.calculateTransform(pe),_e=this.geometries,$e=0;$e<_e.length;$e++){var Ie=_e[$e];Ie.type==="polygon"?(transformPoints(Ie.exterior,he),each$c(Ie.interiors,function(Ve){transformPoints(Ve,he)})):each$c(Ie.points,function(Ve){transformPoints(Ve,he)})}ue=this._rect,ue.copy(pe),this._center=[ue.x+ue.width/2,ue.y+ue.height/2]},r.prototype.cloneShallow=function(V){V==null&&(V=this.name);var oe=new r(V,this.geometries,this._center);return oe._rect=this._rect,oe.transformTo=null,oe},r}(Region);(function(t){__extends(r,t);function r(V,oe){var ie=t.call(this,V)||this;return ie.type="geoSVG",ie._elOnlyForCalculate=oe,ie}return r.prototype.calcCenter=function(){for(var V=this._elOnlyForCalculate,oe=V.getBoundingRect(),ie=[oe.x+oe.width/2,oe.y+oe.height/2],le=identity(TMP_TRANSFORM),ue=V;ue&&!ue.isGeoSVGGraphicRoot;)mul(le,ue.getLocalTransform(),le),ue=ue.parent;return invert(le,le),applyTransform$1(ie,ie,le),ie},r})(Region);function decode(t){if(!t.UTF8Encoding)return t;var r=t,V=r.UTF8Scale;V==null&&(V=1024);var oe=r.features;return each$c(oe,function(ie){var le=ie.geometry,ue=le.encodeOffsets,de=le.coordinates;if(ue)switch(le.type){case"LineString":le.coordinates=decodeRing(de,ue,V);break;case"Polygon":decodeRings(de,ue,V);break;case"MultiLineString":decodeRings(de,ue,V);break;case"MultiPolygon":each$c(de,function(pe,he){return decodeRings(pe,ue[he],V)})}}),r.UTF8Encoding=!1,r}function decodeRings(t,r,V){for(var oe=0;oe<t.length;oe++)t[oe]=decodeRing(t[oe],r[oe],V)}function decodeRing(t,r,V){for(var oe=[],ie=r[0],le=r[1],ue=0;ue<t.length;ue+=2){var de=t.charCodeAt(ue)-64,pe=t.charCodeAt(ue+1)-64;de=de>>1^-(de&1),pe=pe>>1^-(pe&1),de+=ie,pe+=le,ie=de,le=pe,oe.push([de/V,pe/V])}return oe}function parseGeoJSON(t,r){return t=decode(t),map$2(filter(t.features,function(V){return V.geometry&&V.properties&&V.geometry.coordinates.length>0}),function(V){var oe=V.properties,ie=V.geometry,le=[];switch(ie.type){case"Polygon":var ue=ie.coordinates;le.push(new GeoJSONPolygonGeometry(ue[0],ue.slice(1)));break;case"MultiPolygon":each$c(ie.coordinates,function(pe){pe[0]&&le.push(new GeoJSONPolygonGeometry(pe[0],pe.slice(1)))});break;case"LineString":le.push(new GeoJSONLineStringGeometry([ie.coordinates]));break;case"MultiLineString":le.push(new GeoJSONLineStringGeometry(ie.coordinates))}var de=new GeoJSONRegion(oe[r||"name"],le,oe.cp);return de.properties=oe,de})}const number=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER,asc:asc$2,getPercentWithPrecision,getPixelPrecision,getPrecision,getPrecisionSafe,isNumeric,isRadianAroundZero,linearMap:linearMap$2,nice,numericToNumber,parseDate,quantile,quantity,quantityExponent,reformIntervals,remRadian,round:round$1},Symbol.toStringTag,{value:"Module"})),time=Object.freeze(Object.defineProperty({__proto__:null,format:format$1,parse:parseDate},Symbol.toStringTag,{value:"Module"})),graphic=Object.freeze(Object.defineProperty({__proto__:null,Arc:Arc$1,BezierCurve:BezierCurve$1,BoundingRect:BoundingRect$1,Circle:Circle$1,CompoundPath:CompoundPath$1,Ellipse:Ellipse$1,Group:Group$3,Image:ZRImage$1,IncrementalDisplayable:IncrementalDisplayable$1,Line:Line$1,LinearGradient:LinearGradient$1,Polygon:Polygon$1,Polyline:Polyline$1,RadialGradient:RadialGradient$1,Rect:Rect$2,Ring:Ring$1,Sector:Sector$1,Text:ZRText$1,clipPointsByRect,clipRectByRect,createIcon,extendPath,extendShape,getShapeClass,getTransform:getTransform$1,initProps,makeImage,makePath,mergePath,registerShape,resizePath,updateProps:updateProps$1},Symbol.toStringTag,{value:"Module"})),format=Object.freeze(Object.defineProperty({__proto__:null,addCommas,capitalFirst,encodeHTML,formatTime,formatTpl,getTextRect,getTooltipMarker,normalizeCssArray,toCamelCase,truncateText},Symbol.toStringTag,{value:"Module"})),util=Object.freeze(Object.defineProperty({__proto__:null,bind:bind$1,clone:clone$3,curry:curry$1,defaults,each:each$c,extend,filter,indexOf,inherits,isArray:isArray$1,isFunction,isObject:isObject$3,isString,map:map$2,merge,reduce},Symbol.toStringTag,{value:"Module"}));var inner$7=makeInner();function createAxisLabels(t){return t.type==="category"?makeCategoryLabels(t):makeRealNumberLabels(t)}function createAxisTicks(t,r){return t.type==="category"?makeCategoryTicks(t,r):{ticks:map$2(t.scale.getTicks(),function(V){return V.value})}}function makeCategoryLabels(t){var r=t.getLabelModel(),V=makeCategoryLabelsActually(t,r);return!r.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:V.labelCategoryInterval}:V}function makeCategoryLabelsActually(t,r){var V=getListCache(t,"labels"),oe=getOptionCategoryInterval(r),ie=listCacheGet(V,oe);if(ie)return ie;var le,ue;return isFunction(oe)?le=makeLabelsByCustomizedCategoryInterval(t,oe):(ue=oe==="auto"?makeAutoCategoryInterval(t):oe,le=makeLabelsByNumericCategoryInterval(t,ue)),listCacheSet(V,oe,{labels:le,labelCategoryInterval:ue})}function makeCategoryTicks(t,r){var V=getListCache(t,"ticks"),oe=getOptionCategoryInterval(r),ie=listCacheGet(V,oe);if(ie)return ie;var le,ue;if((!r.get("show")||t.scale.isBlank())&&(le=[]),isFunction(oe))le=makeLabelsByCustomizedCategoryInterval(t,oe,!0);else if(oe==="auto"){var de=makeCategoryLabelsActually(t,t.getLabelModel());ue=de.labelCategoryInterval,le=map$2(de.labels,function(pe){return pe.tickValue})}else ue=oe,le=makeLabelsByNumericCategoryInterval(t,ue,!0);return listCacheSet(V,oe,{ticks:le,tickCategoryInterval:ue})}function makeRealNumberLabels(t){var r=t.scale.getTicks(),V=makeLabelFormatter(t);return{labels:map$2(r,function(oe,ie){return{level:oe.level,formattedLabel:V(oe,ie),rawLabel:t.scale.getLabel(oe),tickValue:oe.value}})}}function getListCache(t,r){return inner$7(t)[r]||(inner$7(t)[r]=[])}function listCacheGet(t,r){for(var V=0;V<t.length;V++)if(t[V].key===r)return t[V].value}function listCacheSet(t,r,V){return t.push({key:r,value:V}),V}function makeAutoCategoryInterval(t){var r=inner$7(t).autoInterval;return r??(inner$7(t).autoInterval=t.calculateCategoryInterval())}function calculateCategoryInterval(t){var r=fetchAutoCategoryIntervalCalculationParams(t),V=makeLabelFormatter(t),oe=(r.axisRotate-r.labelRotate)/180*Math.PI,ie=t.scale,le=ie.getExtent(),ue=ie.count();if(le[1]-le[0]<1)return 0;var de=1;ue>40&&(de=Math.max(1,Math.floor(ue/40)));for(var pe=le[0],he=t.dataToCoord(pe+1)-t.dataToCoord(pe),_e=Math.abs(he*Math.cos(oe)),$e=Math.abs(he*Math.sin(oe)),Ie=0,Ve=0;pe<=le[1];pe+=de){var Fe=0,Ue=0,qe=getBoundingRect(V({value:pe}),r.font,"center","top");Fe=qe.width*1.3,Ue=qe.height*1.3,Ie=Math.max(Ie,Fe,7),Ve=Math.max(Ve,Ue,7)}var Et=Ie/_e,At=Ve/$e;isNaN(Et)&&(Et=1/0),isNaN(At)&&(At=1/0);var Lt=Math.max(0,Math.floor(Math.min(Et,At))),hn=inner$7(t.model),_n=t.getExtent(),vn=hn.lastAutoInterval,bn=hn.lastTickCount;return vn!=null&&bn!=null&&Math.abs(vn-Lt)<=1&&Math.abs(bn-ue)<=1&&vn>Lt&&hn.axisExtent0===_n[0]&&hn.axisExtent1===_n[1]?Lt=vn:(hn.lastTickCount=ue,hn.lastAutoInterval=Lt,hn.axisExtent0=_n[0],hn.axisExtent1=_n[1]),Lt}function fetchAutoCategoryIntervalCalculationParams(t){var r=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:r.get("rotate")||0,font:r.getFont()}}function makeLabelsByNumericCategoryInterval(t,r,V){var oe=makeLabelFormatter(t),ie=t.scale,le=ie.getExtent(),ue=t.getLabelModel(),de=[],pe=Math.max((r||0)+1,1),he=le[0],_e=ie.count();he!==0&&pe>1&&_e/pe>2&&(he=Math.round(Math.ceil(he/pe)*pe));var $e=shouldShowAllLabels(t),Ie=ue.get("showMinLabel")||$e,Ve=ue.get("showMaxLabel")||$e;Ie&&he!==le[0]&&Ue(le[0]);for(var Fe=he;Fe<=le[1];Fe+=pe)Ue(Fe);Ve&&Fe-pe!==le[1]&&Ue(le[1]);function Ue(qe){var Et={value:qe};de.push(V?qe:{formattedLabel:oe(Et),rawLabel:ie.getLabel(Et),tickValue:qe})}return de}function makeLabelsByCustomizedCategoryInterval(t,r,V){var oe=t.scale,ie=makeLabelFormatter(t),le=[];return each$c(oe.getTicks(),function(ue){var de=oe.getLabel(ue),pe=ue.value;r(ue.value,de)&&le.push(V?pe:{formattedLabel:ie(ue),rawLabel:de,tickValue:pe})}),le}var NORMALIZED_EXTENT=[0,1],Axis=function(){function t(r,V,oe){this.onBand=!1,this.inverse=!1,this.dim=r,this.scale=V,this._extent=oe||[0,0]}return t.prototype.contain=function(r){var V=this._extent,oe=Math.min(V[0],V[1]),ie=Math.max(V[0],V[1]);return r>=oe&&r<=ie},t.prototype.containData=function(r){return this.scale.contain(r)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(r){return getPixelPrecision(r||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(r,V){var oe=this._extent;oe[0]=r,oe[1]=V},t.prototype.dataToCoord=function(r,V){var oe=this._extent,ie=this.scale;return r=ie.normalize(r),this.onBand&&ie.type==="ordinal"&&(oe=oe.slice(),fixExtentWithBands(oe,ie.count())),linearMap$2(r,NORMALIZED_EXTENT,oe,V)},t.prototype.coordToData=function(r,V){var oe=this._extent,ie=this.scale;this.onBand&&ie.type==="ordinal"&&(oe=oe.slice(),fixExtentWithBands(oe,ie.count()));var le=linearMap$2(r,oe,NORMALIZED_EXTENT,V);return this.scale.scale(le)},t.prototype.pointToData=function(r,V){},t.prototype.getTicksCoords=function(r){r=r||{};var V=r.tickModel||this.getTickModel(),oe=createAxisTicks(this,V),ie=oe.ticks,le=map$2(ie,function(de){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(de):de),tickValue:de}},this),ue=V.get("alignWithLabel");return fixOnBandTicksCoords(this,le,ue,r.clamp),le},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var r=this.model.getModel("minorTick"),V=r.get("splitNumber");V>0&&V<100||(V=5);var oe=this.scale.getMinorTicks(V),ie=map$2(oe,function(le){return map$2(le,function(ue){return{coord:this.dataToCoord(ue),tickValue:ue}},this)},this);return ie},t.prototype.getViewLabels=function(){return createAxisLabels(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var r=this._extent,V=this.scale.getExtent(),oe=V[1]-V[0]+(this.onBand?1:0);oe===0&&(oe=1);var ie=Math.abs(r[1]-r[0]);return Math.abs(ie)/oe},t.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},t}();function fixExtentWithBands(t,r){var V=t[1]-t[0],oe=r,ie=V/oe/2;t[0]+=ie,t[1]-=ie}function fixOnBandTicksCoords(t,r,V,oe){var ie=r.length;if(!t.onBand||V||!ie)return;var le=t.getExtent(),ue,de;if(ie===1)r[0].coord=le[0],ue=r[1]={coord:le[1]};else{var pe=r[ie-1].tickValue-r[0].tickValue,he=(r[ie-1].coord-r[0].coord)/pe;each$c(r,function(Ve){Ve.coord-=he/2});var _e=t.scale.getExtent();de=1+_e[1]-r[ie-1].tickValue,ue={coord:r[ie-1].coord+he*de},r.push(ue)}var $e=le[0]>le[1];Ie(r[0].coord,le[0])&&(oe?r[0].coord=le[0]:r.shift()),oe&&Ie(le[0],r[0].coord)&&r.unshift({coord:le[0]}),Ie(le[1],ue.coord)&&(oe?ue.coord=le[1]:r.pop()),oe&&Ie(ue.coord,le[1])&&r.push({coord:le[1]});function Ie(Ve,Fe){return Ve=round$1(Ve),Fe=round$1(Fe),$e?Ve>Fe:Ve<Fe}}const Axis$1=Axis;function extendComponentModel(t){var r=ComponentModel$1.extend(t);return ComponentModel$1.registerClass(r),r}function extendComponentView(t){var r=ComponentView$1.extend(t);return ComponentView$1.registerClass(r),r}function extendSeriesModel(t){var r=SeriesModel$1.extend(t);return SeriesModel$1.registerClass(r),r}function extendChartView(t){var r=ChartView$1.extend(t);return ChartView$1.registerClass(r),r}PathProxy$1.CMD;function projectPointToLine(t,r,V,oe,ie,le,ue,de){var pe=ie-t,he=le-r,_e=V-t,$e=oe-r,Ie=Math.sqrt(_e*_e+$e*$e);_e/=Ie,$e/=Ie;var Ve=pe*_e+he*$e,Fe=Ve/Ie;de&&(Fe=Math.min(Math.max(Fe,0),1)),Fe*=Ie;var Ue=ue[0]=t+Fe*_e,qe=ue[1]=r+Fe*$e;return Math.sqrt((Ue-ie)*(Ue-ie)+(qe-le)*(qe-le))}var pt0=new Point$1,pt1=new Point$1,pt2=new Point$1,dir=new Point$1,dir2=new Point$1,tmpArr=[],tmpProjPoint=new Point$1;function limitTurnAngle(t,r){if(r<=180&&r>0){r=r/180*Math.PI,pt0.fromArray(t[0]),pt1.fromArray(t[1]),pt2.fromArray(t[2]),Point$1.sub(dir,pt0,pt1),Point$1.sub(dir2,pt2,pt1);var V=dir.len(),oe=dir2.len();if(!(V<.001||oe<.001)){dir.scale(1/V),dir2.scale(1/oe);var ie=dir.dot(dir2),le=Math.cos(r);if(le<ie){var ue=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr),tmpProjPoint.scaleAndAdd(dir2,ue/Math.tan(Math.PI-r));var de=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(de))return;de<0?Point$1.copy(tmpProjPoint,pt1):de>1&&Point$1.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(t[1])}}}}function limitSurfaceAngle(t,r,V){if(V<=180&&V>0){V=V/180*Math.PI,pt0.fromArray(t[0]),pt1.fromArray(t[1]),pt2.fromArray(t[2]),Point$1.sub(dir,pt1,pt0),Point$1.sub(dir2,pt2,pt1);var oe=dir.len(),ie=dir2.len();if(!(oe<.001||ie<.001)){dir.scale(1/oe),dir2.scale(1/ie);var le=dir.dot(r),ue=Math.cos(V);if(le<ue){var de=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr);var pe=Math.PI/2,he=Math.acos(dir2.dot(r)),_e=pe+he-V;if(_e>=pe)Point$1.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,de/Math.tan(Math.PI/2-_e));var $e=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN($e))return;$e<0?Point$1.copy(tmpProjPoint,pt1):$e>1&&Point$1.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(t[1])}}}}function setLabelLineState(t,r,V,oe){var ie=V==="normal",le=ie?t:t.ensureState(V);le.ignore=r;var ue=oe.get("smooth");ue&&ue===!0&&(ue=.3),le.shape=le.shape||{},ue>0&&(le.shape.smooth=ue);var de=oe.getModel("lineStyle").getLineStyle();ie?t.useStyle(de):le.style=de}function buildLabelLinePath(t,r){var V=r.smooth,oe=r.points;if(oe)if(t.moveTo(oe[0][0],oe[0][1]),V>0&&oe.length>=3){var ie=dist$1(oe[0],oe[1]),le=dist$1(oe[1],oe[2]);if(!ie||!le){t.lineTo(oe[1][0],oe[1][1]),t.lineTo(oe[2][0],oe[2][1]);return}var ue=Math.min(ie,le)*V,de=lerp$1([],oe[1],oe[0],ue/ie),pe=lerp$1([],oe[1],oe[2],ue/le),he=lerp$1([],de,pe,.5);t.bezierCurveTo(de[0],de[1],de[0],de[1],he[0],he[1]),t.bezierCurveTo(pe[0],pe[1],pe[0],pe[1],oe[2][0],oe[2][1])}else for(var _e=1;_e<oe.length;_e++)t.lineTo(oe[_e][0],oe[_e][1])}function setLabelLineStyle(t,r,V){var oe=t.getTextGuideLine(),ie=t.getTextContent();if(!ie){oe&&t.removeTextGuideLine();return}for(var le=r.normal,ue=le.get("show"),de=ie.ignore,pe=0;pe<DISPLAY_STATES.length;pe++){var he=DISPLAY_STATES[pe],_e=r[he],$e=he==="normal";if(_e){var Ie=_e.get("show"),Ve=$e?de:retrieve2(ie.states[he]&&ie.states[he].ignore,de);if(Ve||!retrieve2(Ie,ue)){var Fe=$e?oe:oe&&oe.states[he];Fe&&(Fe.ignore=!0);continue}oe||(oe=new Polyline$1,t.setTextGuideLine(oe),!$e&&(de||!ue)&&setLabelLineState(oe,!0,"normal",r.normal),t.stateProxy&&(oe.stateProxy=t.stateProxy)),setLabelLineState(oe,!1,he,_e)}}if(oe){defaults(oe.style,V),oe.style.fill=null;var Ue=le.get("showAbove"),qe=t.textGuideLineConfig=t.textGuideLineConfig||{};qe.showAbove=Ue||!1,oe.buildPath=buildLabelLinePath}}function getLabelLineStatesModels(t,r){r=r||"labelLine";for(var V={normal:t.getModel(r)},oe=0;oe<SPECIAL_STATES.length;oe++){var ie=SPECIAL_STATES[oe];V[ie]=t.getModel([ie,r])}return V}function prepareLayoutList(t){for(var r=[],V=0;V<t.length;V++){var oe=t[V];if(!oe.defaultAttr.ignore){var ie=oe.label,le=ie.getComputedTransform(),ue=ie.getBoundingRect(),de=!le||le[1]<1e-5&&le[2]<1e-5,pe=ie.style.margin||0,he=ue.clone();he.applyTransform(le),he.x-=pe/2,he.y-=pe/2,he.width+=pe,he.height+=pe;var _e=de?new OrientedBoundingRect$1(ue,le):null;r.push({label:ie,labelLine:oe.labelLine,rect:he,localRect:ue,obb:_e,priority:oe.priority,defaultAttr:oe.defaultAttr,layoutOption:oe.computedLayoutOption,axisAligned:de,transform:le})}}return r}function shiftLayout(t,r,V,oe,ie,le){var ue=t.length;if(ue<2)return;t.sort(function(Cn,Sn){return Cn.rect[r]-Sn.rect[r]});for(var de=0,pe,he=!1,_e=0,$e=0;$e<ue;$e++){var Ie=t[$e],Ve=Ie.rect;pe=Ve[r]-de,pe<0&&(Ve[r]-=pe,Ie.label[r]-=pe,he=!0);var Fe=Math.max(-pe,0);_e+=Fe,de=Ve[r]+Ve[V]}_e>0&&le&&_n(-_e/ue,0,ue);var Ue=t[0],qe=t[ue-1],Et,At;Lt(),Et<0&&vn(-Et,.8),At<0&&vn(At,.8),Lt(),hn(Et,At,1),hn(At,Et,-1),Lt(),Et<0&&bn(-Et),At<0&&bn(At);function Lt(){Et=Ue.rect[r]-oe,At=ie-qe.rect[r]-qe.rect[V]}function hn(Cn,Sn,wn){if(Cn<0){var En=Math.min(Sn,-Cn);if(En>0){_n(En*wn,0,ue);var xn=En+Cn;xn<0&&vn(-xn*wn,1)}else vn(-Cn*wn,1)}}function _n(Cn,Sn,wn){Cn!==0&&(he=!0);for(var En=Sn;En<wn;En++){var xn=t[En],Pn=xn.rect;Pn[r]+=Cn,xn.label[r]+=Cn}}function vn(Cn,Sn){for(var wn=[],En=0,xn=1;xn<ue;xn++){var Pn=t[xn-1].rect,kn=Math.max(t[xn].rect[r]-Pn[r]-Pn[V],0);wn.push(kn),En+=kn}if(En){var Nn=Math.min(Math.abs(Cn)/En,Sn);if(Cn>0)for(var xn=0;xn<ue-1;xn++){var Dn=wn[xn]*Nn;_n(Dn,0,xn+1)}else for(var xn=ue-1;xn>0;xn--){var Dn=wn[xn-1]*Nn;_n(-Dn,xn,ue)}}}function bn(Cn){var Sn=Cn<0?-1:1;Cn=Math.abs(Cn);for(var wn=Math.ceil(Cn/(ue-1)),En=0;En<ue-1;En++)if(Sn>0?_n(wn,0,En+1):_n(-wn,ue-En-1,ue),Cn-=wn,Cn<=0)return}return he}function shiftLayoutOnY(t,r,V,oe){return shiftLayout(t,"y","height",r,V,oe)}function hideOverlap(t){var r=[];t.sort(function(Ue,qe){return qe.priority-Ue.priority});var V=new BoundingRect$1(0,0,0,0);function oe(Ue){if(!Ue.ignore){var qe=Ue.ensureState("emphasis");qe.ignore==null&&(qe.ignore=!1)}Ue.ignore=!0}for(var ie=0;ie<t.length;ie++){var le=t[ie],ue=le.axisAligned,de=le.localRect,pe=le.transform,he=le.label,_e=le.labelLine;V.copy(le.rect),V.width-=.1,V.height-=.1,V.x+=.05,V.y+=.05;for(var $e=le.obb,Ie=!1,Ve=0;Ve<r.length;Ve++){var Fe=r[Ve];if(V.intersect(Fe.rect)){if(ue&&Fe.axisAligned){Ie=!0;break}if(Fe.obb||(Fe.obb=new OrientedBoundingRect$1(Fe.localRect,Fe.transform)),$e||($e=new OrientedBoundingRect$1(de,pe)),$e.intersect(Fe.obb)){Ie=!0;break}}}Ie?(oe(he),_e&&oe(_e)):(he.attr("ignore",le.defaultAttr.ignore),_e&&_e.attr("ignore",le.defaultAttr.labelGuideIgnore),r.push(le))}}const echarts=Object.freeze(Object.defineProperty({__proto__:null,Axis:Axis$1,ChartView:ChartView$1,ComponentModel:ComponentModel$1,ComponentView:ComponentView$1,List:SeriesData$1,Model:Model$1,PRIORITY,SeriesModel:SeriesModel$1,color,connect,dataTool,dependencies,disConnect,disconnect,dispose,env:env$1,extendChartView,extendComponentModel,extendComponentView,extendSeriesModel,format,getCoordinateSystemDimensions,getInstanceByDom,getInstanceById,getMap,graphic,helper,init,innerDrawElementOnCanvas:brushSingle,matrix,number,parseGeoJSON,parseGeoJson:parseGeoJSON,registerAction,registerCoordinateSystem,registerLayout,registerLoading,registerLocale,registerMap,registerPostInit,registerPostUpdate,registerPreprocessor,registerProcessor,registerTheme,registerTransform,registerUpdateLifecycle,registerVisual,setCanvasCreator,setPlatformAPI,throttle,time,use:use$1,util,vector,version,zrUtil:util$1,zrender},Symbol.toStringTag,{value:"Module"}));function createDom(t,r,V){var oe=platformApi.createCanvas(),ie=r.getWidth(),le=r.getHeight(),ue=oe.style;return ue&&(ue.position="absolute",ue.left="0",ue.top="0",ue.width=ie+"px",ue.height=le+"px",oe.setAttribute("data-zr-dom-id",t)),oe.width=ie*V,oe.height=le*V,oe}var Layer=function(t){__extends(r,t);function r(V,oe,ie){var le=t.call(this)||this;le.motionBlur=!1,le.lastFrameAlpha=.7,le.dpr=1,le.virtual=!1,le.config={},le.incremental=!1,le.zlevel=0,le.maxRepaintRectCount=5,le.__dirty=!0,le.__firstTimePaint=!0,le.__used=!1,le.__drawIndex=0,le.__startIndex=0,le.__endIndex=0,le.__prevStartIndex=null,le.__prevEndIndex=null;var ue;ie=ie||devicePixelRatio,typeof V=="string"?ue=createDom(V,oe,ie):isObject$3(V)&&(ue=V,V=ue.id),le.id=V,le.dom=ue;var de=ue.style;return de&&(disableUserSelect(ue),ue.onselectstart=function(){return!1},de.padding="0",de.margin="0",de.borderWidth="0"),le.painter=oe,le.dpr=ie,le}return r.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},r.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},r.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},r.prototype.setUnpainted=function(){this.__firstTimePaint=!0},r.prototype.createBackBuffer=function(){var V=this.dpr;this.domBack=createDom("back-"+this.id,this.painter,V),this.ctxBack=this.domBack.getContext("2d"),V!==1&&this.ctxBack.scale(V,V)},r.prototype.createRepaintRects=function(V,oe,ie,le){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var ue=[],de=this.maxRepaintRectCount,pe=!1,he=new BoundingRect$1(0,0,0,0);function _e(At){if(!(!At.isFinite()||At.isZero()))if(ue.length===0){var Lt=new BoundingRect$1(0,0,0,0);Lt.copy(At),ue.push(Lt)}else{for(var hn=!1,_n=1/0,vn=0,bn=0;bn<ue.length;++bn){var Cn=ue[bn];if(Cn.intersect(At)){var Sn=new BoundingRect$1(0,0,0,0);Sn.copy(Cn),Sn.union(At),ue[bn]=Sn,hn=!0;break}else if(pe){he.copy(At),he.union(Cn);var wn=At.width*At.height,En=Cn.width*Cn.height,xn=he.width*he.height,Pn=xn-wn-En;Pn<_n&&(_n=Pn,vn=bn)}}if(pe&&(ue[vn].union(At),hn=!0),!hn){var Lt=new BoundingRect$1(0,0,0,0);Lt.copy(At),ue.push(Lt)}pe||(pe=ue.length>=de)}}for(var $e=this.__startIndex;$e<this.__endIndex;++$e){var Ie=V[$e];if(Ie){var Ve=Ie.shouldBePainted(ie,le,!0,!0),Fe=Ie.__isRendered&&(Ie.__dirty&REDRAW_BIT||!Ve)?Ie.getPrevPaintRect():null;Fe&&_e(Fe);var Ue=Ve&&(Ie.__dirty&REDRAW_BIT||!Ie.__isRendered)?Ie.getPaintRect():null;Ue&&_e(Ue)}}for(var $e=this.__prevStartIndex;$e<this.__prevEndIndex;++$e){var Ie=oe[$e],Ve=Ie.shouldBePainted(ie,le,!0,!0);if(Ie&&(!Ve||!Ie.__zr)&&Ie.__isRendered){var Fe=Ie.getPrevPaintRect();Fe&&_e(Fe)}}var qe;do{qe=!1;for(var $e=0;$e<ue.length;){if(ue[$e].isZero()){ue.splice($e,1);continue}for(var Et=$e+1;Et<ue.length;)ue[$e].intersect(ue[Et])?(qe=!0,ue[$e].union(ue[Et]),ue.splice(Et,1)):Et++;$e++}}while(qe);return this._paintRects=ue,ue},r.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},r.prototype.resize=function(V,oe){var ie=this.dpr,le=this.dom,ue=le.style,de=this.domBack;ue&&(ue.width=V+"px",ue.height=oe+"px"),le.width=V*ie,le.height=oe*ie,de&&(de.width=V*ie,de.height=oe*ie,ie!==1&&this.ctxBack.scale(ie,ie))},r.prototype.clear=function(V,oe,ie){var le=this.dom,ue=this.ctx,de=le.width,pe=le.height;oe=oe||this.clearColor;var he=this.motionBlur&&!V,_e=this.lastFrameAlpha,$e=this.dpr,Ie=this;he&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(le,0,0,de/$e,pe/$e));var Ve=this.domBack;function Fe(Ue,qe,Et,At){if(ue.clearRect(Ue,qe,Et,At),oe&&oe!=="transparent"){var Lt=void 0;if(isGradientObject(oe)){var hn=oe.global||oe.__width===Et&&oe.__height===At;Lt=hn&&oe.__canvasGradient||getCanvasGradient(ue,oe,{x:0,y:0,width:Et,height:At}),oe.__canvasGradient=Lt,oe.__width=Et,oe.__height=At}else isImagePatternObject(oe)&&(oe.scaleX=oe.scaleX||$e,oe.scaleY=oe.scaleY||$e,Lt=createCanvasPattern(ue,oe,{dirty:function(){Ie.setUnpainted(),Ie.__painter.refresh()}}));ue.save(),ue.fillStyle=Lt||oe,ue.fillRect(Ue,qe,Et,At),ue.restore()}he&&(ue.save(),ue.globalAlpha=_e,ue.drawImage(Ve,Ue,qe,Et,At),ue.restore())}!ie||he?Fe(0,0,de,pe):ie.length&&each$c(ie,function(Ue){Fe(Ue.x*$e,Ue.y*$e,Ue.width*$e,Ue.height*$e)})},r}(Eventful$1);const Layer$1=Layer;var HOVER_LAYER_ZLEVEL=1e5,CANVAS_ZLEVEL=314159,EL_AFTER_INCREMENTAL_INC=.01,INCREMENTAL_INC=.001;function isLayerValid(t){return t?t.__builtin__?!0:!(typeof t.resize!="function"||typeof t.refresh!="function"):!1}function createRoot(t,r){var V=document.createElement("div");return V.style.cssText=["position:relative","width:"+t+"px","height:"+r+"px","padding:0","margin:0","border-width:0"].join(";")+";",V}var CanvasPainter=function(){function t(r,V,oe,ie){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var le=!r.nodeName||r.nodeName.toUpperCase()==="CANVAS";this._opts=oe=extend({},oe||{}),this.dpr=oe.devicePixelRatio||devicePixelRatio,this._singleCanvas=le,this.root=r;var ue=r.style;ue&&(disableUserSelect(r),r.innerHTML=""),this.storage=V;var de=this._zlevelList;this._prevDisplayList=[];var pe=this._layers;if(le){var _e=r,$e=_e.width,Ie=_e.height;oe.width!=null&&($e=oe.width),oe.height!=null&&(Ie=oe.height),this.dpr=oe.devicePixelRatio||1,_e.width=$e*this.dpr,_e.height=Ie*this.dpr,this._width=$e,this._height=Ie;var Ve=new Layer$1(_e,this,this.dpr);Ve.__builtin__=!0,Ve.initContext(),pe[CANVAS_ZLEVEL]=Ve,Ve.zlevel=CANVAS_ZLEVEL,de.push(CANVAS_ZLEVEL),this._domRoot=r}else{this._width=getSize$1(r,0,oe),this._height=getSize$1(r,1,oe);var he=this._domRoot=createRoot(this._width,this._height);r.appendChild(he)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var r=this.getViewportRoot();if(r)return{offsetLeft:r.offsetLeft||0,offsetTop:r.offsetTop||0}},t.prototype.refresh=function(r){var V=this.storage.getDisplayList(!0),oe=this._prevDisplayList,ie=this._zlevelList;this._redrawId=Math.random(),this._paintList(V,oe,r,this._redrawId);for(var le=0;le<ie.length;le++){var ue=ie[le],de=this._layers[ue];if(!de.__builtin__&&de.refresh){var pe=le===0?this._backgroundColor:null;de.refresh(pe)}}return this._opts.useDirtyRect&&(this._prevDisplayList=V.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(r){var V=r.length,oe=this._hoverlayer;if(oe&&oe.clear(),!!V){for(var ie={inHover:!0,viewWidth:this._width,viewHeight:this._height},le,ue=0;ue<V;ue++){var de=r[ue];de.__inHover&&(oe||(oe=this._hoverlayer=this.getLayer(HOVER_LAYER_ZLEVEL)),le||(le=oe.ctx,le.save()),brush(le,de,ie,ue===V-1))}le&&le.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(HOVER_LAYER_ZLEVEL)},t.prototype.paintOne=function(r,V){brushSingle(r,V)},t.prototype._paintList=function(r,V,oe,ie){if(this._redrawId===ie){oe=oe||!1,this._updateLayerStatus(r);var le=this._doPaintList(r,V,oe),ue=le.finished,de=le.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),de&&this._paintHoverList(r),ue)this.eachLayer(function(he){he.afterBrush&&he.afterBrush()});else{var pe=this;requestAnimationFrame$2(function(){pe._paintList(r,V,oe,ie)})}}},t.prototype._compositeManually=function(){var r=this.getLayer(CANVAS_ZLEVEL).ctx,V=this._domRoot.width,oe=this._domRoot.height;r.clearRect(0,0,V,oe),this.eachBuiltinLayer(function(ie){ie.virtual&&r.drawImage(ie.dom,0,0,V,oe)})},t.prototype._doPaintList=function(r,V,oe){for(var ie=this,le=[],ue=this._opts.useDirtyRect,de=0;de<this._zlevelList.length;de++){var pe=this._zlevelList[de],he=this._layers[pe];he.__builtin__&&he!==this._hoverlayer&&(he.__dirty||oe)&&le.push(he)}for(var _e=!0,$e=!1,Ie=function(Ue){var qe=le[Ue],Et=qe.ctx,At=ue&&qe.createRepaintRects(r,V,Ve._width,Ve._height),Lt=oe?qe.__startIndex:qe.__drawIndex,hn=!oe&&qe.incremental&&Date.now,_n=hn&&Date.now(),vn=qe.zlevel===Ve._zlevelList[0]?Ve._backgroundColor:null;if(qe.__startIndex===qe.__endIndex)qe.clear(!1,vn,At);else if(Lt===qe.__startIndex){var bn=r[Lt];(!bn.incremental||!bn.notClear||oe)&&qe.clear(!1,vn,At)}Lt===-1&&(console.error("For some unknown reason. drawIndex is -1"),Lt=qe.__startIndex);var Cn,Sn=function(Pn){var kn={inHover:!1,allClipped:!1,prevEl:null,viewWidth:ie._width,viewHeight:ie._height};for(Cn=Lt;Cn<qe.__endIndex;Cn++){var Nn=r[Cn];if(Nn.__inHover&&($e=!0),ie._doPaintEl(Nn,qe,ue,Pn,kn,Cn===qe.__endIndex-1),hn){var Dn=Date.now()-_n;if(Dn>15)break}}kn.prevElClipPaths&&Et.restore()};if(At)if(At.length===0)Cn=qe.__endIndex;else for(var wn=Ve.dpr,En=0;En<At.length;++En){var xn=At[En];Et.save(),Et.beginPath(),Et.rect(xn.x*wn,xn.y*wn,xn.width*wn,xn.height*wn),Et.clip(),Sn(xn),Et.restore()}else Et.save(),Sn(),Et.restore();qe.__drawIndex=Cn,qe.__drawIndex<qe.__endIndex&&(_e=!1)},Ve=this,Fe=0;Fe<le.length;Fe++)Ie(Fe);return env$1.wxa&&each$c(this._layers,function(Ue){Ue&&Ue.ctx&&Ue.ctx.draw&&Ue.ctx.draw()}),{finished:_e,needsRefreshHover:$e}},t.prototype._doPaintEl=function(r,V,oe,ie,le,ue){var de=V.ctx;if(oe){var pe=r.getPaintRect();(!ie||pe&&pe.intersect(ie))&&(brush(de,r,le,ue),r.setPrevPaintRect(pe))}else brush(de,r,le,ue)},t.prototype.getLayer=function(r,V){this._singleCanvas&&!this._needsManuallyCompositing&&(r=CANVAS_ZLEVEL);var oe=this._layers[r];return oe||(oe=new Layer$1("zr_"+r,this,this.dpr),oe.zlevel=r,oe.__builtin__=!0,this._layerConfig[r]?merge(oe,this._layerConfig[r],!0):this._layerConfig[r-EL_AFTER_INCREMENTAL_INC]&&merge(oe,this._layerConfig[r-EL_AFTER_INCREMENTAL_INC],!0),V&&(oe.virtual=V),this.insertLayer(r,oe),oe.initContext()),oe},t.prototype.insertLayer=function(r,V){var oe=this._layers,ie=this._zlevelList,le=ie.length,ue=this._domRoot,de=null,pe=-1;if(!oe[r]&&isLayerValid(V)){if(le>0&&r>ie[0]){for(pe=0;pe<le-1&&!(ie[pe]<r&&ie[pe+1]>r);pe++);de=oe[ie[pe]]}if(ie.splice(pe+1,0,r),oe[r]=V,!V.virtual)if(de){var he=de.dom;he.nextSibling?ue.insertBefore(V.dom,he.nextSibling):ue.appendChild(V.dom)}else ue.firstChild?ue.insertBefore(V.dom,ue.firstChild):ue.appendChild(V.dom);V.__painter=this}},t.prototype.eachLayer=function(r,V){for(var oe=this._zlevelList,ie=0;ie<oe.length;ie++){var le=oe[ie];r.call(V,this._layers[le],le)}},t.prototype.eachBuiltinLayer=function(r,V){for(var oe=this._zlevelList,ie=0;ie<oe.length;ie++){var le=oe[ie],ue=this._layers[le];ue.__builtin__&&r.call(V,ue,le)}},t.prototype.eachOtherLayer=function(r,V){for(var oe=this._zlevelList,ie=0;ie<oe.length;ie++){var le=oe[ie],ue=this._layers[le];ue.__builtin__||r.call(V,ue,le)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(r){this.eachBuiltinLayer(function($e,Ie){$e.__dirty=$e.__used=!1});function V($e){le&&(le.__endIndex!==$e&&(le.__dirty=!0),le.__endIndex=$e)}if(this._singleCanvas)for(var oe=1;oe<r.length;oe++){var ie=r[oe];if(ie.zlevel!==r[oe-1].zlevel||ie.incremental){this._needsManuallyCompositing=!0;break}}var le=null,ue=0,de,pe;for(pe=0;pe<r.length;pe++){var ie=r[pe],he=ie.zlevel,_e=void 0;de!==he&&(de=he,ue=0),ie.incremental?(_e=this.getLayer(he+INCREMENTAL_INC,this._needsManuallyCompositing),_e.incremental=!0,ue=1):_e=this.getLayer(he+(ue>0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),_e.__builtin__||logError("ZLevel "+he+" has been used by unkown layer "+_e.id),_e!==le&&(_e.__used=!0,_e.__startIndex!==pe&&(_e.__dirty=!0),_e.__startIndex=pe,_e.incremental?_e.__drawIndex=-1:_e.__drawIndex=pe,V(pe),le=_e),ie.__dirty&REDRAW_BIT&&!ie.__inHover&&(_e.__dirty=!0,_e.incremental&&_e.__drawIndex<0&&(_e.__drawIndex=pe))}V(pe),this.eachBuiltinLayer(function($e,Ie){!$e.__used&&$e.getElementCount()>0&&($e.__dirty=!0,$e.__startIndex=$e.__endIndex=$e.__drawIndex=0),$e.__dirty&&$e.__drawIndex<0&&($e.__drawIndex=$e.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(r){r.clear()},t.prototype.setBackgroundColor=function(r){this._backgroundColor=r,each$c(this._layers,function(V){V.setUnpainted()})},t.prototype.configLayer=function(r,V){if(V){var oe=this._layerConfig;oe[r]?merge(oe[r],V,!0):oe[r]=V;for(var ie=0;ie<this._zlevelList.length;ie++){var le=this._zlevelList[ie];if(le===r||le===r+EL_AFTER_INCREMENTAL_INC){var ue=this._layers[le];merge(ue,oe[r],!0)}}}},t.prototype.delLayer=function(r){var V=this._layers,oe=this._zlevelList,ie=V[r];ie&&(ie.dom.parentNode.removeChild(ie.dom),delete V[r],oe.splice(indexOf(oe,r),1))},t.prototype.resize=function(r,V){if(this._domRoot.style){var oe=this._domRoot;oe.style.display="none";var ie=this._opts,le=this.root;if(r!=null&&(ie.width=r),V!=null&&(ie.height=V),r=getSize$1(le,0,ie),V=getSize$1(le,1,ie),oe.style.display="",this._width!==r||V!==this._height){oe.style.width=r+"px",oe.style.height=V+"px";for(var ue in this._layers)this._layers.hasOwnProperty(ue)&&this._layers[ue].resize(r,V);this.refresh(!0)}this._width=r,this._height=V}else{if(r==null||V==null)return;this._width=r,this._height=V,this.getLayer(CANVAS_ZLEVEL).resize(r,V)}return this},t.prototype.clearLayer=function(r){var V=this._layers[r];V&&V.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(r){if(r=r||{},this._singleCanvas&&!this._compositeManually)return this._layers[CANVAS_ZLEVEL].dom;var V=new Layer$1("image",this,r.pixelRatio||this.dpr);V.initContext(),V.clear(!1,r.backgroundColor||this._backgroundColor);var oe=V.ctx;if(r.pixelRatio<=this.dpr){this.refresh();var ie=V.dom.width,le=V.dom.height;this.eachLayer(function($e){$e.__builtin__?oe.drawImage($e.dom,0,0,ie,le):$e.renderToCanvas&&(oe.save(),$e.renderToCanvas(oe),oe.restore())})}else for(var ue={inHover:!1,viewWidth:this._width,viewHeight:this._height},de=this.storage.getDisplayList(!0),pe=0,he=de.length;pe<he;pe++){var _e=de[pe];brush(oe,_e,ue,pe===he-1)}return V.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();const CanvasPainter$1=CanvasPainter;function install$k(t){t.registerPainter("canvas",CanvasPainter$1)}var LineSeriesModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.hasSymbolVisual=!0,V}return r.prototype.getInitialData=function(V){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getLegendIcon=function(V){var oe=new Group$3,ie=createSymbol("line",0,V.itemHeight/2,V.itemWidth,0,V.lineStyle.stroke,!1);oe.add(ie),ie.setStyle(V.lineStyle);var le=this.getData().getVisual("symbol"),ue=this.getData().getVisual("symbolRotate"),de=le==="none"?"circle":le,pe=V.itemHeight*.8,he=createSymbol(de,(V.itemWidth-pe)/2,(V.itemHeight-pe)/2,pe,pe,V.itemStyle.fill);oe.add(he),he.setStyle(V.itemStyle);var _e=V.iconRotate==="inherit"?ue:V.iconRotate||0;return he.rotation=_e*Math.PI/180,he.setOrigin([V.itemWidth/2,V.itemHeight/2]),de.indexOf("empty")>-1&&(he.style.stroke=he.style.fill,he.style.fill="#fff",he.style.lineWidth=2),oe},r.type="series.line",r.dependencies=["grid","polar"],r.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},r}(SeriesModel$1);const LineSeries=LineSeriesModel;function getDefaultLabel(t,r){var V=t.mapDimensionsAll("defaultedLabel"),oe=V.length;if(oe===1){var ie=retrieveRawValue(t,r,V[0]);return ie!=null?ie+"":null}else if(oe){for(var le=[],ue=0;ue<V.length;ue++)le.push(retrieveRawValue(t,r,V[ue]));return le.join(" ")}}function getDefaultInterpolatedLabel(t,r){var V=t.mapDimensionsAll("defaultedLabel");if(!isArray$1(r))return r+"";for(var oe=[],ie=0;ie<V.length;ie++){var le=t.getDimensionIndex(V[ie]);le>=0&&oe.push(r[le])}return oe.join(" ")}var Symbol$1=function(t){__extends(r,t);function r(V,oe,ie,le){var ue=t.call(this)||this;return ue.updateData(V,oe,ie,le),ue}return r.prototype._createSymbol=function(V,oe,ie,le,ue){this.removeAll();var de=createSymbol(V,-1,-1,2,2,null,ue);de.attr({z2:100,culling:!0,scaleX:le[0]/2,scaleY:le[1]/2}),de.drift=driftSymbol,this._symbolType=V,this.add(de)},r.prototype.stopSymbolAnimation=function(V){this.childAt(0).stopAnimation(null,V)},r.prototype.getSymbolType=function(){return this._symbolType},r.prototype.getSymbolPath=function(){return this.childAt(0)},r.prototype.highlight=function(){enterEmphasis(this.childAt(0))},r.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},r.prototype.setZ=function(V,oe){var ie=this.childAt(0);ie.zlevel=V,ie.z=oe},r.prototype.setDraggable=function(V,oe){var ie=this.childAt(0);ie.draggable=V,ie.cursor=!oe&&V?"move":ie.cursor},r.prototype.updateData=function(V,oe,ie,le){this.silent=!1;var ue=V.getItemVisual(oe,"symbol")||"circle",de=V.hostModel,pe=r.getSymbolSize(V,oe),he=ue!==this._symbolType,_e=le&&le.disableAnimation;if(he){var $e=V.getItemVisual(oe,"symbolKeepAspect");this._createSymbol(ue,V,oe,pe,$e)}else{var Ie=this.childAt(0);Ie.silent=!1;var Ve={scaleX:pe[0]/2,scaleY:pe[1]/2};_e?Ie.attr(Ve):updateProps$1(Ie,Ve,de,oe),saveOldStyle(Ie)}if(this._updateCommon(V,oe,pe,ie,le),he){var Ie=this.childAt(0);if(!_e){var Ve={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:Ie.style.opacity}};Ie.scaleX=Ie.scaleY=0,Ie.style.opacity=0,initProps(Ie,Ve,de,oe)}}_e&&this.childAt(0).stopAnimation("leave")},r.prototype._updateCommon=function(V,oe,ie,le,ue){var de=this.childAt(0),pe=V.hostModel,he,_e,$e,Ie,Ve,Fe,Ue,qe,Et;if(le&&(he=le.emphasisItemStyle,_e=le.blurItemStyle,$e=le.selectItemStyle,Ie=le.focus,Ve=le.blurScope,Ue=le.labelStatesModels,qe=le.hoverScale,Et=le.cursorStyle,Fe=le.emphasisDisabled),!le||V.hasItemOption){var At=le&&le.itemModel?le.itemModel:V.getItemModel(oe),Lt=At.getModel("emphasis");he=Lt.getModel("itemStyle").getItemStyle(),$e=At.getModel(["select","itemStyle"]).getItemStyle(),_e=At.getModel(["blur","itemStyle"]).getItemStyle(),Ie=Lt.get("focus"),Ve=Lt.get("blurScope"),Fe=Lt.get("disabled"),Ue=getLabelStatesModels(At),qe=Lt.getShallow("scale"),Et=At.getShallow("cursor")}var hn=V.getItemVisual(oe,"symbolRotate");de.attr("rotation",(hn||0)*Math.PI/180||0);var _n=normalizeSymbolOffset(V.getItemVisual(oe,"symbolOffset"),ie);_n&&(de.x=_n[0],de.y=_n[1]),Et&&de.attr("cursor",Et);var vn=V.getItemVisual(oe,"style"),bn=vn.fill;if(de instanceof ZRImage$1){var Cn=de.style;de.useStyle(extend({image:Cn.image,x:Cn.x,y:Cn.y,width:Cn.width,height:Cn.height},vn))}else de.__isEmptyBrush?de.useStyle(extend({},vn)):de.useStyle(vn),de.style.decal=null,de.setColor(bn,ue&&ue.symbolInnerColor),de.style.strokeNoScale=!0;var Sn=V.getItemVisual(oe,"liftZ"),wn=this._z2;Sn!=null?wn==null&&(this._z2=de.z2,de.z2+=Sn):wn!=null&&(de.z2=wn,this._z2=null);var En=ue&&ue.useNameLabel;setLabelStyle(de,Ue,{labelFetcher:pe,labelDataIndex:oe,defaultText:xn,inheritColor:bn,defaultOpacity:vn.opacity});function xn(Nn){return En?V.getName(Nn):getDefaultLabel(V,Nn)}this._sizeX=ie[0]/2,this._sizeY=ie[1]/2;var Pn=de.ensureState("emphasis");Pn.style=he,de.ensureState("select").style=$e,de.ensureState("blur").style=_e;var kn=qe==null||qe===!0?Math.max(1.1,3/this._sizeY):isFinite(qe)&&qe>0?+qe:1;Pn.scaleX=this._sizeX*kn,Pn.scaleY=this._sizeY*kn,this.setSymbolScale(1),toggleHoverEmphasis(this,Ie,Ve,Fe)},r.prototype.setSymbolScale=function(V){this.scaleX=this.scaleY=V},r.prototype.fadeOut=function(V,oe,ie){var le=this.childAt(0),ue=getECData(this).dataIndex,de=ie&&ie.animation;if(this.silent=le.silent=!0,ie&&ie.fadeLabel){var pe=le.getTextContent();pe&&removeElement(pe,{style:{opacity:0}},oe,{dataIndex:ue,removeOpt:de,cb:function(){le.removeTextContent()}})}else le.removeTextContent();removeElement(le,{style:{opacity:0},scaleX:0,scaleY:0},oe,{dataIndex:ue,cb:V,removeOpt:de})},r.getSymbolSize=function(V,oe){return normalizeSymbolSize(V.getItemVisual(oe,"symbolSize"))},r}(Group$3);function driftSymbol(t,r){this.parent.drift(t,r)}const SymbolClz=Symbol$1;function symbolNeedsDraw(t,r,V,oe){return r&&!isNaN(r[0])&&!isNaN(r[1])&&!(oe.isIgnore&&oe.isIgnore(V))&&!(oe.clipShape&&!oe.clipShape.contain(r[0],r[1]))&&t.getItemVisual(V,"symbol")!=="none"}function normalizeUpdateOpt(t){return t!=null&&!isObject$3(t)&&(t={isIgnore:t}),t||{}}function makeSeriesScope(t){var r=t.hostModel,V=r.getModel("emphasis");return{emphasisItemStyle:V.getModel("itemStyle").getItemStyle(),blurItemStyle:r.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:r.getModel(["select","itemStyle"]).getItemStyle(),focus:V.get("focus"),blurScope:V.get("blurScope"),emphasisDisabled:V.get("disabled"),hoverScale:V.get("scale"),labelStatesModels:getLabelStatesModels(r),cursorStyle:r.get("cursor")}}var SymbolDraw=function(){function t(r){this.group=new Group$3,this._SymbolCtor=r||SymbolClz}return t.prototype.updateData=function(r,V){this._progressiveEls=null,V=normalizeUpdateOpt(V);var oe=this.group,ie=r.hostModel,le=this._data,ue=this._SymbolCtor,de=V.disableAnimation,pe=makeSeriesScope(r),he={disableAnimation:de},_e=V.getSymbolPoint||function($e){return r.getItemLayout($e)};le||oe.removeAll(),r.diff(le).add(function($e){var Ie=_e($e);if(symbolNeedsDraw(r,Ie,$e,V)){var Ve=new ue(r,$e,pe,he);Ve.setPosition(Ie),r.setItemGraphicEl($e,Ve),oe.add(Ve)}}).update(function($e,Ie){var Ve=le.getItemGraphicEl(Ie),Fe=_e($e);if(!symbolNeedsDraw(r,Fe,$e,V)){oe.remove(Ve);return}var Ue=r.getItemVisual($e,"symbol")||"circle",qe=Ve&&Ve.getSymbolType&&Ve.getSymbolType();if(!Ve||qe&&qe!==Ue)oe.remove(Ve),Ve=new ue(r,$e,pe,he),Ve.setPosition(Fe);else{Ve.updateData(r,$e,pe,he);var Et={x:Fe[0],y:Fe[1]};de?Ve.attr(Et):updateProps$1(Ve,Et,ie)}oe.add(Ve),r.setItemGraphicEl($e,Ve)}).remove(function($e){var Ie=le.getItemGraphicEl($e);Ie&&Ie.fadeOut(function(){oe.remove(Ie)},ie)}).execute(),this._getSymbolPoint=_e,this._data=r},t.prototype.updateLayout=function(){var r=this,V=this._data;V&&V.eachItemGraphicEl(function(oe,ie){var le=r._getSymbolPoint(ie);oe.setPosition(le),oe.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(r){this._seriesScope=makeSeriesScope(r),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(r,V,oe){this._progressiveEls=[],oe=normalizeUpdateOpt(oe);function ie(pe){pe.isGroup||(pe.incremental=!0,pe.ensureState("emphasis").hoverLayer=!0)}for(var le=r.start;le<r.end;le++){var ue=V.getItemLayout(le);if(symbolNeedsDraw(V,ue,le,oe)){var de=new this._SymbolCtor(V,le,this._seriesScope);de.traverse(ie),de.setPosition(ue),this.group.add(de),V.setItemGraphicEl(le,de),this._progressiveEls.push(de)}}},t.prototype.eachRendered=function(r){traverseElements(this._progressiveEls||this.group,r)},t.prototype.remove=function(r){var V=this.group,oe=this._data;oe&&r?oe.eachItemGraphicEl(function(ie){ie.fadeOut(function(){V.remove(ie)},oe.hostModel)}):V.removeAll()},t}();const SymbolDraw$1=SymbolDraw;function prepareDataCoordInfo(t,r,V){var oe=t.getBaseAxis(),ie=t.getOtherAxis(oe),le=getValueStart(ie,V),ue=oe.dim,de=ie.dim,pe=r.mapDimension(de),he=r.mapDimension(ue),_e=de==="x"||de==="radius"?1:0,$e=map$2(t.dimensions,function(Fe){return r.mapDimension(Fe)}),Ie=!1,Ve=r.getCalculationInfo("stackResultDimension");return isDimensionStacked(r,$e[0])&&(Ie=!0,$e[0]=Ve),isDimensionStacked(r,$e[1])&&(Ie=!0,$e[1]=Ve),{dataDimsForPoint:$e,valueStart:le,valueAxisDim:de,baseAxisDim:ue,stacked:!!Ie,valueDim:pe,baseDim:he,baseDataOffset:_e,stackedOverDimension:r.getCalculationInfo("stackedOverDimension")}}function getValueStart(t,r){var V=0,oe=t.scale.getExtent();return r==="start"?V=oe[0]:r==="end"?V=oe[1]:isNumber(r)&&!isNaN(r)?V=r:oe[0]>0?V=oe[0]:oe[1]<0&&(V=oe[1]),V}function getStackedOnPoint(t,r,V,oe){var ie=NaN;t.stacked&&(ie=V.get(V.getCalculationInfo("stackedOverDimension"),oe)),isNaN(ie)&&(ie=t.valueStart);var le=t.baseDataOffset,ue=[];return ue[le]=V.get(t.baseDim,oe),ue[1-le]=ie,r.dataToPoint(ue)}function diffData(t,r){var V=[];return r.diff(t).add(function(oe){V.push({cmd:"+",idx:oe})}).update(function(oe,ie){V.push({cmd:"=",idx:ie,idx1:oe})}).remove(function(oe){V.push({cmd:"-",idx:oe})}).execute(),V}function lineAnimationDiff(t,r,V,oe,ie,le,ue,de){for(var pe=diffData(t,r),he=[],_e=[],$e=[],Ie=[],Ve=[],Fe=[],Ue=[],qe=prepareDataCoordInfo(ie,r,ue),Et=t.getLayout("points")||[],At=r.getLayout("points")||[],Lt=0;Lt<pe.length;Lt++){var hn=pe[Lt],_n=!0,vn=void 0,bn=void 0;switch(hn.cmd){case"=":vn=hn.idx*2,bn=hn.idx1*2;var Cn=Et[vn],Sn=Et[vn+1],wn=At[bn],En=At[bn+1];(isNaN(Cn)||isNaN(Sn))&&(Cn=wn,Sn=En),he.push(Cn,Sn),_e.push(wn,En),$e.push(V[vn],V[vn+1]),Ie.push(oe[bn],oe[bn+1]),Ue.push(r.getRawIndex(hn.idx1));break;case"+":var xn=hn.idx,Pn=qe.dataDimsForPoint,kn=ie.dataToPoint([r.get(Pn[0],xn),r.get(Pn[1],xn)]);bn=xn*2,he.push(kn[0],kn[1]),_e.push(At[bn],At[bn+1]);var Nn=getStackedOnPoint(qe,ie,r,xn);$e.push(Nn[0],Nn[1]),Ie.push(oe[bn],oe[bn+1]),Ue.push(r.getRawIndex(xn));break;case"-":_n=!1}_n&&(Ve.push(hn),Fe.push(Fe.length))}Fe.sort(function(yr,Jn){return Ue[yr]-Ue[Jn]});for(var Dn=he.length,Mn=createFloat32Array(Dn),Ln=createFloat32Array(Dn),An=createFloat32Array(Dn),Vn=createFloat32Array(Dn),Wn=[],Lt=0;Lt<Fe.length;Lt++){var Fn=Fe[Lt],Yn=Lt*2,tr=Fn*2;Mn[Yn]=he[tr],Mn[Yn+1]=he[tr+1],Ln[Yn]=_e[tr],Ln[Yn+1]=_e[tr+1],An[Yn]=$e[tr],An[Yn+1]=$e[tr+1],Vn[Yn]=Ie[tr],Vn[Yn+1]=Ie[tr+1],Wn[Lt]=Ve[Fn]}return{current:Mn,next:Ln,stackedOnCurrent:An,stackedOnNext:Vn,status:Wn}}var mathMin$3=Math.min,mathMax$3=Math.max;function isPointNull$1(t,r){return isNaN(t)||isNaN(r)}function drawSegment(t,r,V,oe,ie,le,ue,de,pe){for(var he,_e,$e,Ie,Ve,Fe,Ue=V,qe=0;qe<oe;qe++){var Et=r[Ue*2],At=r[Ue*2+1];if(Ue>=ie||Ue<0)break;if(isPointNull$1(Et,At)){if(pe){Ue+=le;continue}break}if(Ue===V)t[le>0?"moveTo":"lineTo"](Et,At),$e=Et,Ie=At;else{var Lt=Et-he,hn=At-_e;if(Lt*Lt+hn*hn<.5){Ue+=le;continue}if(ue>0){for(var _n=Ue+le,vn=r[_n*2],bn=r[_n*2+1];vn===Et&&bn===At&&qe<oe;)qe++,_n+=le,Ue+=le,vn=r[_n*2],bn=r[_n*2+1],Et=r[Ue*2],At=r[Ue*2+1],Lt=Et-he,hn=At-_e;var Cn=qe+1;if(pe)for(;isPointNull$1(vn,bn)&&Cn<oe;)Cn++,_n+=le,vn=r[_n*2],bn=r[_n*2+1];var Sn=.5,wn=0,En=0,xn=void 0,Pn=void 0;if(Cn>=oe||isPointNull$1(vn,bn))Ve=Et,Fe=At;else{wn=vn-he,En=bn-_e;var kn=Et-he,Nn=vn-Et,Dn=At-_e,Mn=bn-At,Ln=void 0,An=void 0;if(de==="x"){Ln=Math.abs(kn),An=Math.abs(Nn);var Vn=wn>0?1:-1;Ve=Et-Vn*Ln*ue,Fe=At,xn=Et+Vn*An*ue,Pn=At}else if(de==="y"){Ln=Math.abs(Dn),An=Math.abs(Mn);var Wn=En>0?1:-1;Ve=Et,Fe=At-Wn*Ln*ue,xn=Et,Pn=At+Wn*An*ue}else Ln=Math.sqrt(kn*kn+Dn*Dn),An=Math.sqrt(Nn*Nn+Mn*Mn),Sn=An/(An+Ln),Ve=Et-wn*ue*(1-Sn),Fe=At-En*ue*(1-Sn),xn=Et+wn*ue*Sn,Pn=At+En*ue*Sn,xn=mathMin$3(xn,mathMax$3(vn,Et)),Pn=mathMin$3(Pn,mathMax$3(bn,At)),xn=mathMax$3(xn,mathMin$3(vn,Et)),Pn=mathMax$3(Pn,mathMin$3(bn,At)),wn=xn-Et,En=Pn-At,Ve=Et-wn*Ln/An,Fe=At-En*Ln/An,Ve=mathMin$3(Ve,mathMax$3(he,Et)),Fe=mathMin$3(Fe,mathMax$3(_e,At)),Ve=mathMax$3(Ve,mathMin$3(he,Et)),Fe=mathMax$3(Fe,mathMin$3(_e,At)),wn=Et-Ve,En=At-Fe,xn=Et+wn*An/Ln,Pn=At+En*An/Ln}t.bezierCurveTo($e,Ie,Ve,Fe,Et,At),$e=xn,Ie=Pn}else t.lineTo(Et,At)}he=Et,_e=At,Ue+=le}return qe}var ECPolylineShape=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),ECPolyline=function(t){__extends(r,t);function r(V){var oe=t.call(this,V)||this;return oe.type="ec-polyline",oe}return r.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},r.prototype.getDefaultShape=function(){return new ECPolylineShape},r.prototype.buildPath=function(V,oe){var ie=oe.points,le=0,ue=ie.length/2;if(oe.connectNulls){for(;ue>0&&isPointNull$1(ie[ue*2-2],ie[ue*2-1]);ue--);for(;le<ue&&isPointNull$1(ie[le*2],ie[le*2+1]);le++);}for(;le<ue;)le+=drawSegment(V,ie,le,ue,ue,1,oe.smooth,oe.smoothMonotone,oe.connectNulls)+1},r.prototype.getPointOn=function(V,oe){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var ie=this.path,le=ie.data,ue=PathProxy$1.CMD,de,pe,he=oe==="x",_e=[],$e=0;$e<le.length;){var Ie=le[$e++],Ve=void 0,Fe=void 0,Ue=void 0,qe=void 0,Et=void 0,At=void 0,Lt=void 0;switch(Ie){case ue.M:de=le[$e++],pe=le[$e++];break;case ue.L:if(Ve=le[$e++],Fe=le[$e++],Lt=he?(V-de)/(Ve-de):(V-pe)/(Fe-pe),Lt<=1&&Lt>=0){var hn=he?(Fe-pe)*Lt+pe:(Ve-de)*Lt+de;return he?[V,hn]:[hn,V]}de=Ve,pe=Fe;break;case ue.C:Ve=le[$e++],Fe=le[$e++],Ue=le[$e++],qe=le[$e++],Et=le[$e++],At=le[$e++];var _n=he?cubicRootAt(de,Ve,Ue,Et,V,_e):cubicRootAt(pe,Fe,qe,At,V,_e);if(_n>0)for(var vn=0;vn<_n;vn++){var bn=_e[vn];if(bn<=1&&bn>=0){var hn=he?cubicAt(pe,Fe,qe,At,bn):cubicAt(de,Ve,Ue,Et,bn);return he?[V,hn]:[hn,V]}}de=Et,pe=At;break}}},r}(Path$1),ECPolygonShape=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r}(ECPolylineShape),ECPolygon=function(t){__extends(r,t);function r(V){var oe=t.call(this,V)||this;return oe.type="ec-polygon",oe}return r.prototype.getDefaultShape=function(){return new ECPolygonShape},r.prototype.buildPath=function(V,oe){var ie=oe.points,le=oe.stackedOnPoints,ue=0,de=ie.length/2,pe=oe.smoothMonotone;if(oe.connectNulls){for(;de>0&&isPointNull$1(ie[de*2-2],ie[de*2-1]);de--);for(;ue<de&&isPointNull$1(ie[ue*2],ie[ue*2+1]);ue++);}for(;ue<de;){var he=drawSegment(V,ie,ue,de,de,1,oe.smooth,pe,oe.connectNulls);drawSegment(V,le,ue+he-1,he,de,-1,oe.stackedOnSmooth,pe,oe.connectNulls),ue+=he+1,V.closePath()}},r}(Path$1);function createGridClipPath(t,r,V,oe,ie){var le=t.getArea(),ue=le.x,de=le.y,pe=le.width,he=le.height,_e=V.get(["lineStyle","width"])||2;ue-=_e/2,de-=_e/2,pe+=_e,he+=_e,ue=Math.floor(ue),pe=Math.round(pe);var $e=new Rect$2({shape:{x:ue,y:de,width:pe,height:he}});if(r){var Ie=t.getBaseAxis(),Ve=Ie.isHorizontal(),Fe=Ie.inverse;Ve?(Fe&&($e.shape.x+=pe),$e.shape.width=0):(Fe||($e.shape.y+=he),$e.shape.height=0);var Ue=isFunction(ie)?function(qe){ie(qe,$e)}:null;initProps($e,{shape:{width:pe,height:he,x:ue,y:de}},V,null,oe,Ue)}return $e}function createPolarClipPath(t,r,V){var oe=t.getArea(),ie=round$1(oe.r0,1),le=round$1(oe.r,1),ue=new Sector$1({shape:{cx:round$1(t.cx,1),cy:round$1(t.cy,1),r0:ie,r:le,startAngle:oe.startAngle,endAngle:oe.endAngle,clockwise:oe.clockwise}});if(r){var de=t.getBaseAxis().dim==="angle";de?ue.shape.endAngle=oe.startAngle:ue.shape.r=ie,initProps(ue,{shape:{endAngle:oe.endAngle,r:le}},V)}return ue}function createClipPath(t,r,V,oe,ie){if(t){if(t.type==="polar")return createPolarClipPath(t,r,V);if(t.type==="cartesian2d")return createGridClipPath(t,r,V,oe,ie)}else return null;return null}function isCoordinateSystemType(t,r){return t.type===r}function isPointsSame(t,r){if(t.length===r.length){for(var V=0;V<t.length;V++)if(t[V]!==r[V])return;return!0}}function bboxFromPoints(t){for(var r=1/0,V=1/0,oe=-1/0,ie=-1/0,le=0;le<t.length;){var ue=t[le++],de=t[le++];isNaN(ue)||(r=Math.min(ue,r),oe=Math.max(ue,oe)),isNaN(de)||(V=Math.min(de,V),ie=Math.max(de,ie))}return[[r,V],[oe,ie]]}function getBoundingDiff(t,r){var V=bboxFromPoints(t),oe=V[0],ie=V[1],le=bboxFromPoints(r),ue=le[0],de=le[1];return Math.max(Math.abs(oe[0]-ue[0]),Math.abs(oe[1]-ue[1]),Math.abs(ie[0]-de[0]),Math.abs(ie[1]-de[1]))}function getSmooth(t){return isNumber(t)?t:t?.5:0}function getStackedOnPoints(t,r,V){if(!V.valueDim)return[];for(var oe=r.count(),ie=createFloat32Array(oe*2),le=0;le<oe;le++){var ue=getStackedOnPoint(V,t,r,le);ie[le*2]=ue[0],ie[le*2+1]=ue[1]}return ie}function turnPointsIntoStep(t,r,V,oe){var ie=r.getBaseAxis(),le=ie.dim==="x"||ie.dim==="radius"?0:1,ue=[],de=0,pe=[],he=[],_e=[],$e=[];if(oe){for(de=0;de<t.length;de+=2)!isNaN(t[de])&&!isNaN(t[de+1])&&$e.push(t[de],t[de+1]);t=$e}for(de=0;de<t.length-2;de+=2)switch(_e[0]=t[de+2],_e[1]=t[de+3],he[0]=t[de],he[1]=t[de+1],ue.push(he[0],he[1]),V){case"end":pe[le]=_e[le],pe[1-le]=he[1-le],ue.push(pe[0],pe[1]);break;case"middle":var Ie=(he[le]+_e[le])/2,Ve=[];pe[le]=Ve[le]=Ie,pe[1-le]=he[1-le],Ve[1-le]=_e[1-le],ue.push(pe[0],pe[1]),ue.push(Ve[0],Ve[1]);break;default:pe[le]=he[le],pe[1-le]=_e[1-le],ue.push(pe[0],pe[1])}return ue.push(t[de++],t[de++]),ue}function clipColorStops(t,r){var V=[],oe=t.length,ie,le;function ue(_e,$e,Ie){var Ve=_e.coord,Fe=(Ie-Ve)/($e.coord-Ve),Ue=lerp(Fe,[_e.color,$e.color]);return{coord:Ie,color:Ue}}for(var de=0;de<oe;de++){var pe=t[de],he=pe.coord;if(he<0)ie=pe;else if(he>r){le?V.push(ue(le,pe,r)):ie&&V.push(ue(ie,pe,0),ue(ie,pe,r));break}else ie&&(V.push(ue(ie,pe,0)),ie=null),V.push(pe),le=pe}return V}function getVisualGradient(t,r,V){var oe=t.getVisual("visualMeta");if(!(!oe||!oe.length||!t.count())&&r.type==="cartesian2d"){for(var ie,le,ue=oe.length-1;ue>=0;ue--){var de=t.getDimensionInfo(oe[ue].dimension);if(ie=de&&de.coordDim,ie==="x"||ie==="y"){le=oe[ue];break}}if(le){var pe=r.getAxis(ie),he=map$2(le.stops,function(Lt){return{coord:pe.toGlobalCoord(pe.dataToCoord(Lt.value)),color:Lt.color}}),_e=he.length,$e=le.outerColors.slice();_e&&he[0].coord>he[_e-1].coord&&(he.reverse(),$e.reverse());var Ie=clipColorStops(he,ie==="x"?V.getWidth():V.getHeight()),Ve=Ie.length;if(!Ve&&_e)return he[0].coord<0?$e[1]?$e[1]:he[_e-1].color:$e[0]?$e[0]:he[0].color;var Fe=10,Ue=Ie[0].coord-Fe,qe=Ie[Ve-1].coord+Fe,Et=qe-Ue;if(Et<.001)return"transparent";each$c(Ie,function(Lt){Lt.offset=(Lt.coord-Ue)/Et}),Ie.push({offset:Ve?Ie[Ve-1].offset:.5,color:$e[1]||"transparent"}),Ie.unshift({offset:Ve?Ie[0].offset:.5,color:$e[0]||"transparent"});var At=new LinearGradient$1(0,0,0,0,Ie,!0);return At[ie]=Ue,At[ie+"2"]=qe,At}}}function getIsIgnoreFunc(t,r,V){var oe=t.get("showAllSymbol"),ie=oe==="auto";if(!(oe&&!ie)){var le=V.getAxesByScale("ordinal")[0];if(le&&!(ie&&canShowAllSymbolForCategory(le,r))){var ue=r.mapDimension(le.dim),de={};return each$c(le.getViewLabels(),function(pe){var he=le.scale.getRawOrdinalNumber(pe.tickValue);de[he]=1}),function(pe){return!de.hasOwnProperty(r.get(ue,pe))}}}}function canShowAllSymbolForCategory(t,r){var V=t.getExtent(),oe=Math.abs(V[1]-V[0])/t.scale.count();isNaN(oe)&&(oe=0);for(var ie=r.count(),le=Math.max(1,Math.round(ie/5)),ue=0;ue<ie;ue+=le)if(SymbolClz.getSymbolSize(r,ue)[t.isHorizontal()?1:0]*1.5>oe)return!1;return!0}function isPointNull(t,r){return isNaN(t)||isNaN(r)}function getLastIndexNotNull(t){for(var r=t.length/2;r>0&&isPointNull(t[r*2-2],t[r*2-1]);r--);return r-1}function getPointAtIndex(t,r){return[t[r*2],t[r*2+1]]}function getIndexRange(t,r,V){for(var oe=t.length/2,ie=V==="x"?0:1,le,ue,de=0,pe=-1,he=0;he<oe;he++)if(ue=t[he*2+ie],!(isNaN(ue)||isNaN(t[he*2+1-ie]))){if(he===0){le=ue;continue}if(le<=r&&ue>=r||le>=r&&ue<=r){pe=he;break}de=he,le=ue}return{range:[de,pe],t:(r-le)/(ue-le)}}function anyStateShowEndLabel(t){if(t.get(["endLabel","show"]))return!0;for(var r=0;r<SPECIAL_STATES.length;r++)if(t.get([SPECIAL_STATES[r],"endLabel","show"]))return!0;return!1}function createLineClipPath(t,r,V,oe){if(isCoordinateSystemType(r,"cartesian2d")){var ie=oe.getModel("endLabel"),le=ie.get("valueAnimation"),ue=oe.getData(),de={lastFrameIndex:0},pe=anyStateShowEndLabel(oe)?function(Ve,Fe){t._endLabelOnDuring(Ve,Fe,ue,de,le,ie,r)}:null,he=r.getBaseAxis().isHorizontal(),_e=createGridClipPath(r,V,oe,function(){var Ve=t._endLabel;Ve&&V&&de.originalX!=null&&Ve.attr({x:de.originalX,y:de.originalY})},pe);if(!oe.get("clip",!0)){var $e=_e.shape,Ie=Math.max($e.width,$e.height);he?($e.y-=Ie,$e.height+=Ie*2):($e.x-=Ie,$e.width+=Ie*2)}return pe&&pe(1,_e),_e}else return createPolarClipPath(r,V,oe)}function getEndLabelStateSpecified(t,r){var V=r.getBaseAxis(),oe=V.isHorizontal(),ie=V.inverse,le=oe?ie?"right":"left":"center",ue=oe?"middle":ie?"top":"bottom";return{normal:{align:t.get("align")||le,verticalAlign:t.get("verticalAlign")||ue}}}var LineView=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.init=function(){var V=new Group$3,oe=new SymbolDraw$1;this.group.add(oe.group),this._symbolDraw=oe,this._lineGroup=V},r.prototype.render=function(V,oe,ie){var le=this,ue=V.coordinateSystem,de=this.group,pe=V.getData(),he=V.getModel("lineStyle"),_e=V.getModel("areaStyle"),$e=pe.getLayout("points")||[],Ie=ue.type==="polar",Ve=this._coordSys,Fe=this._symbolDraw,Ue=this._polyline,qe=this._polygon,Et=this._lineGroup,At=!oe.ssr&&V.isAnimationEnabled(),Lt=!_e.isEmpty(),hn=_e.get("origin"),_n=prepareDataCoordInfo(ue,pe,hn),vn=Lt&&getStackedOnPoints(ue,pe,_n),bn=V.get("showSymbol"),Cn=V.get("connectNulls"),Sn=bn&&!Ie&&getIsIgnoreFunc(V,pe,ue),wn=this._data;wn&&wn.eachItemGraphicEl(function(Jn,Kn){Jn.__temp&&(de.remove(Jn),wn.setItemGraphicEl(Kn,null))}),bn||Fe.remove(),de.add(Et);var En=Ie?!1:V.get("step"),xn;ue&&ue.getArea&&V.get("clip",!0)&&(xn=ue.getArea(),xn.width!=null?(xn.x-=.1,xn.y-=.1,xn.width+=.2,xn.height+=.2):xn.r0&&(xn.r0-=.5,xn.r+=.5)),this._clipShapeForSymbol=xn;var Pn=getVisualGradient(pe,ue,ie)||pe.getVisual("style")[pe.getVisual("drawType")];if(!(Ue&&Ve.type===ue.type&&En===this._step))bn&&Fe.updateData(pe,{isIgnore:Sn,clipShape:xn,disableAnimation:!0,getSymbolPoint:function(Jn){return[$e[Jn*2],$e[Jn*2+1]]}}),At&&this._initSymbolLabelAnimation(pe,ue,xn),En&&($e=turnPointsIntoStep($e,ue,En,Cn),vn&&(vn=turnPointsIntoStep(vn,ue,En,Cn))),Ue=this._newPolyline($e),Lt?qe=this._newPolygon($e,vn):qe&&(Et.remove(qe),qe=this._polygon=null),Ie||this._initOrUpdateEndLabel(V,ue,convertToColorString(Pn)),Et.setClipPath(createLineClipPath(this,ue,!0,V));else{Lt&&!qe?qe=this._newPolygon($e,vn):qe&&!Lt&&(Et.remove(qe),qe=this._polygon=null),Ie||this._initOrUpdateEndLabel(V,ue,convertToColorString(Pn));var kn=Et.getClipPath();if(kn){var Nn=createLineClipPath(this,ue,!1,V);initProps(kn,{shape:Nn.shape},V)}else Et.setClipPath(createLineClipPath(this,ue,!0,V));bn&&Fe.updateData(pe,{isIgnore:Sn,clipShape:xn,disableAnimation:!0,getSymbolPoint:function(Jn){return[$e[Jn*2],$e[Jn*2+1]]}}),(!isPointsSame(this._stackedOnPoints,vn)||!isPointsSame(this._points,$e))&&(At?this._doUpdateAnimation(pe,vn,ue,ie,En,hn,Cn):(En&&($e=turnPointsIntoStep($e,ue,En,Cn),vn&&(vn=turnPointsIntoStep(vn,ue,En,Cn))),Ue.setShape({points:$e}),qe&&qe.setShape({points:$e,stackedOnPoints:vn})))}var Dn=V.getModel("emphasis"),Mn=Dn.get("focus"),Ln=Dn.get("blurScope"),An=Dn.get("disabled");if(Ue.useStyle(defaults(he.getLineStyle(),{fill:"none",stroke:Pn,lineJoin:"bevel"})),setStatesStylesFromModel(Ue,V,"lineStyle"),Ue.style.lineWidth>0&&V.get(["emphasis","lineStyle","width"])==="bolder"){var Vn=Ue.getState("emphasis").style;Vn.lineWidth=+Ue.style.lineWidth+1}getECData(Ue).seriesIndex=V.seriesIndex,toggleHoverEmphasis(Ue,Mn,Ln,An);var Wn=getSmooth(V.get("smooth")),Fn=V.get("smoothMonotone");if(Ue.setShape({smooth:Wn,smoothMonotone:Fn,connectNulls:Cn}),qe){var Yn=pe.getCalculationInfo("stackedOnSeries"),tr=0;qe.useStyle(defaults(_e.getAreaStyle(),{fill:Pn,opacity:.7,lineJoin:"bevel",decal:pe.getVisual("style").decal})),Yn&&(tr=getSmooth(Yn.get("smooth"))),qe.setShape({smooth:Wn,stackedOnSmooth:tr,smoothMonotone:Fn,connectNulls:Cn}),setStatesStylesFromModel(qe,V,"areaStyle"),getECData(qe).seriesIndex=V.seriesIndex,toggleHoverEmphasis(qe,Mn,Ln,An)}var yr=function(Jn){le._changePolyState(Jn)};pe.eachItemGraphicEl(function(Jn){Jn&&(Jn.onHoverStateChange=yr)}),this._polyline.onHoverStateChange=yr,this._data=pe,this._coordSys=ue,this._stackedOnPoints=vn,this._points=$e,this._step=En,this._valueOrigin=hn,V.get("triggerLineEvent")&&(this.packEventData(V,Ue),qe&&this.packEventData(V,qe))},r.prototype.packEventData=function(V,oe){getECData(oe).eventData={componentType:"series",componentSubType:"line",componentIndex:V.componentIndex,seriesIndex:V.seriesIndex,seriesName:V.name,seriesType:"line"}},r.prototype.highlight=function(V,oe,ie,le){var ue=V.getData(),de=queryDataIndex(ue,le);if(this._changePolyState("emphasis"),!(de instanceof Array)&&de!=null&&de>=0){var pe=ue.getLayout("points"),he=ue.getItemGraphicEl(de);if(!he){var _e=pe[de*2],$e=pe[de*2+1];if(isNaN(_e)||isNaN($e)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(_e,$e))return;var Ie=V.get("zlevel")||0,Ve=V.get("z")||0;he=new SymbolClz(ue,de),he.x=_e,he.y=$e,he.setZ(Ie,Ve);var Fe=he.getSymbolPath().getTextContent();Fe&&(Fe.zlevel=Ie,Fe.z=Ve,Fe.z2=this._polyline.z2+1),he.__temp=!0,ue.setItemGraphicEl(de,he),he.stopSymbolAnimation(!0),this.group.add(he)}he.highlight()}else ChartView$1.prototype.highlight.call(this,V,oe,ie,le)},r.prototype.downplay=function(V,oe,ie,le){var ue=V.getData(),de=queryDataIndex(ue,le);if(this._changePolyState("normal"),de!=null&&de>=0){var pe=ue.getItemGraphicEl(de);pe&&(pe.__temp?(ue.setItemGraphicEl(de,null),this.group.remove(pe)):pe.downplay())}else ChartView$1.prototype.downplay.call(this,V,oe,ie,le)},r.prototype._changePolyState=function(V){var oe=this._polygon;setStatesFlag(this._polyline,V),oe&&setStatesFlag(oe,V)},r.prototype._newPolyline=function(V){var oe=this._polyline;return oe&&this._lineGroup.remove(oe),oe=new ECPolyline({shape:{points:V},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(oe),this._polyline=oe,oe},r.prototype._newPolygon=function(V,oe){var ie=this._polygon;return ie&&this._lineGroup.remove(ie),ie=new ECPolygon({shape:{points:V,stackedOnPoints:oe},segmentIgnoreThreshold:2}),this._lineGroup.add(ie),this._polygon=ie,ie},r.prototype._initSymbolLabelAnimation=function(V,oe,ie){var le,ue,de=oe.getBaseAxis(),pe=de.inverse;oe.type==="cartesian2d"?(le=de.isHorizontal(),ue=!1):oe.type==="polar"&&(le=de.dim==="angle",ue=!0);var he=V.hostModel,_e=he.get("animationDuration");isFunction(_e)&&(_e=_e(null));var $e=he.get("animationDelay")||0,Ie=isFunction($e)?$e(null):$e;V.eachItemGraphicEl(function(Ve,Fe){var Ue=Ve;if(Ue){var qe=[Ve.x,Ve.y],Et=void 0,At=void 0,Lt=void 0;if(ie)if(ue){var hn=ie,_n=oe.pointToCoord(qe);le?(Et=hn.startAngle,At=hn.endAngle,Lt=-_n[1]/180*Math.PI):(Et=hn.r0,At=hn.r,Lt=_n[0])}else{var vn=ie;le?(Et=vn.x,At=vn.x+vn.width,Lt=Ve.x):(Et=vn.y+vn.height,At=vn.y,Lt=Ve.y)}var bn=At===Et?0:(Lt-Et)/(At-Et);pe&&(bn=1-bn);var Cn=isFunction($e)?$e(Fe):_e*bn+Ie,Sn=Ue.getSymbolPath(),wn=Sn.getTextContent();Ue.attr({scaleX:0,scaleY:0}),Ue.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:Cn}),wn&&wn.animateFrom({style:{opacity:0}},{duration:300,delay:Cn}),Sn.disableLabelAnimation=!0}})},r.prototype._initOrUpdateEndLabel=function(V,oe,ie){var le=V.getModel("endLabel");if(anyStateShowEndLabel(V)){var ue=V.getData(),de=this._polyline,pe=ue.getLayout("points");if(!pe){de.removeTextContent(),this._endLabel=null;return}var he=this._endLabel;he||(he=this._endLabel=new ZRText$1({z2:200}),he.ignoreClip=!0,de.setTextContent(this._endLabel),de.disableLabelAnimation=!0);var _e=getLastIndexNotNull(pe);_e>=0&&(setLabelStyle(de,getLabelStatesModels(V,"endLabel"),{inheritColor:ie,labelFetcher:V,labelDataIndex:_e,defaultText:function($e,Ie,Ve){return Ve!=null?getDefaultInterpolatedLabel(ue,Ve):getDefaultLabel(ue,$e)},enableTextSetter:!0},getEndLabelStateSpecified(le,oe)),de.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},r.prototype._endLabelOnDuring=function(V,oe,ie,le,ue,de,pe){var he=this._endLabel,_e=this._polyline;if(he){V<1&&le.originalX==null&&(le.originalX=he.x,le.originalY=he.y);var $e=ie.getLayout("points"),Ie=ie.hostModel,Ve=Ie.get("connectNulls"),Fe=de.get("precision"),Ue=de.get("distance")||0,qe=pe.getBaseAxis(),Et=qe.isHorizontal(),At=qe.inverse,Lt=oe.shape,hn=At?Et?Lt.x:Lt.y+Lt.height:Et?Lt.x+Lt.width:Lt.y,_n=(Et?Ue:0)*(At?-1:1),vn=(Et?0:-Ue)*(At?-1:1),bn=Et?"x":"y",Cn=getIndexRange($e,hn,bn),Sn=Cn.range,wn=Sn[1]-Sn[0],En=void 0;if(wn>=1){if(wn>1&&!Ve){var xn=getPointAtIndex($e,Sn[0]);he.attr({x:xn[0]+_n,y:xn[1]+vn}),ue&&(En=Ie.getRawValue(Sn[0]))}else{var xn=_e.getPointOn(hn,bn);xn&&he.attr({x:xn[0]+_n,y:xn[1]+vn});var Pn=Ie.getRawValue(Sn[0]),kn=Ie.getRawValue(Sn[1]);ue&&(En=interpolateRawValues(ie,Fe,Pn,kn,Cn.t))}le.lastFrameIndex=Sn[0]}else{var Nn=V===1||le.lastFrameIndex>0?Sn[0]:0,xn=getPointAtIndex($e,Nn);ue&&(En=Ie.getRawValue(Nn)),he.attr({x:xn[0]+_n,y:xn[1]+vn})}if(ue){var Dn=labelInner(he);typeof Dn.setLabelText=="function"&&Dn.setLabelText(En)}}},r.prototype._doUpdateAnimation=function(V,oe,ie,le,ue,de,pe){var he=this._polyline,_e=this._polygon,$e=V.hostModel,Ie=lineAnimationDiff(this._data,V,this._stackedOnPoints,oe,this._coordSys,ie,this._valueOrigin),Ve=Ie.current,Fe=Ie.stackedOnCurrent,Ue=Ie.next,qe=Ie.stackedOnNext;if(ue&&(Ve=turnPointsIntoStep(Ie.current,ie,ue,pe),Fe=turnPointsIntoStep(Ie.stackedOnCurrent,ie,ue,pe),Ue=turnPointsIntoStep(Ie.next,ie,ue,pe),qe=turnPointsIntoStep(Ie.stackedOnNext,ie,ue,pe)),getBoundingDiff(Ve,Ue)>3e3||_e&&getBoundingDiff(Fe,qe)>3e3){he.stopAnimation(),he.setShape({points:Ue}),_e&&(_e.stopAnimation(),_e.setShape({points:Ue,stackedOnPoints:qe}));return}he.shape.__points=Ie.current,he.shape.points=Ve;var Et={shape:{points:Ue}};Ie.current!==Ve&&(Et.shape.__points=Ie.next),he.stopAnimation(),updateProps$1(he,Et,$e),_e&&(_e.setShape({points:Ve,stackedOnPoints:Fe}),_e.stopAnimation(),updateProps$1(_e,{shape:{stackedOnPoints:qe}},$e),he.shape.points!==_e.shape.points&&(_e.shape.points=he.shape.points));for(var At=[],Lt=Ie.status,hn=0;hn<Lt.length;hn++){var _n=Lt[hn].cmd;if(_n==="="){var vn=V.getItemGraphicEl(Lt[hn].idx1);vn&&At.push({el:vn,ptIdx:hn})}}he.animators&&he.animators.length&&he.animators[0].during(function(){_e&&_e.dirtyShape();for(var bn=he.shape.__points,Cn=0;Cn<At.length;Cn++){var Sn=At[Cn].el,wn=At[Cn].ptIdx*2;Sn.x=bn[wn],Sn.y=bn[wn+1],Sn.markRedraw()}})},r.prototype.remove=function(V){var oe=this.group,ie=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),ie&&ie.eachItemGraphicEl(function(le,ue){le.__temp&&(oe.remove(le),ie.setItemGraphicEl(ue,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},r.type="line",r}(ChartView$1);const LineView$1=LineView;function pointsLayout(t,r){return{seriesType:t,plan:createRenderPlanner(),reset:function(V){var oe=V.getData(),ie=V.coordinateSystem,le=V.pipelineContext,ue=r||le.large;if(ie){var de=map$2(ie.dimensions,function(Ve){return oe.mapDimension(Ve)}).slice(0,2),pe=de.length,he=oe.getCalculationInfo("stackResultDimension");isDimensionStacked(oe,de[0])&&(de[0]=he),isDimensionStacked(oe,de[1])&&(de[1]=he);var _e=oe.getStore(),$e=oe.getDimensionIndex(de[0]),Ie=oe.getDimensionIndex(de[1]);return pe&&{progress:function(Ve,Fe){for(var Ue=Ve.end-Ve.start,qe=ue&&createFloat32Array(Ue*pe),Et=[],At=[],Lt=Ve.start,hn=0;Lt<Ve.end;Lt++){var _n=void 0;if(pe===1){var vn=_e.get($e,Lt);_n=ie.dataToPoint(vn,null,At)}else Et[0]=_e.get($e,Lt),Et[1]=_e.get(Ie,Lt),_n=ie.dataToPoint(Et,null,At);ue?(qe[hn++]=_n[0],qe[hn++]=_n[1]):Fe.setItemLayout(Lt,_n.slice())}ue&&Fe.setLayout("points",qe)}}}}}}var samplers={average:function(t){for(var r=0,V=0,oe=0;oe<t.length;oe++)isNaN(t[oe])||(r+=t[oe],V++);return V===0?NaN:r/V},sum:function(t){for(var r=0,V=0;V<t.length;V++)r+=t[V]||0;return r},max:function(t){for(var r=-1/0,V=0;V<t.length;V++)t[V]>r&&(r=t[V]);return isFinite(r)?r:NaN},min:function(t){for(var r=1/0,V=0;V<t.length;V++)t[V]<r&&(r=t[V]);return isFinite(r)?r:NaN},nearest:function(t){return t[0]}},indexSampler=function(t){return Math.round(t.length/2)};function dataSample(t){return{seriesType:t,reset:function(r,V,oe){var ie=r.getData(),le=r.get("sampling"),ue=r.coordinateSystem,de=ie.count();if(de>10&&ue.type==="cartesian2d"&&le){var pe=ue.getBaseAxis(),he=ue.getOtherAxis(pe),_e=pe.getExtent(),$e=oe.getDevicePixelRatio(),Ie=Math.abs(_e[1]-_e[0])*($e||1),Ve=Math.round(de/Ie);if(isFinite(Ve)&&Ve>1){le==="lttb"&&r.setData(ie.lttbDownSample(ie.mapDimension(he.dim),1/Ve));var Fe=void 0;isString(le)?Fe=samplers[le]:isFunction(le)&&(Fe=le),Fe&&r.setData(ie.downSample(ie.mapDimension(he.dim),1/Ve,Fe,indexSampler))}}}}}function install$j(t){t.registerChartView(LineView$1),t.registerSeriesModel(LineSeries),t.registerLayout(pointsLayout("line",!0)),t.registerVisual({seriesType:"line",reset:function(r){var V=r.getData(),oe=r.getModel("lineStyle").getLineStyle();oe&&!oe.stroke&&(oe.stroke=V.getVisual("style").fill),V.setVisual("legendLineStyle",oe)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.getInitialData=function(V,oe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},r.prototype.getMarkerPosition=function(V,oe,ie){var le=this.coordinateSystem;if(le&&le.clampData){var ue=le.clampData(V),de=le.dataToPoint(ue);if(ie)each$c(le.getAxes(),function(Ie,Ve){if(Ie.type==="category"&&oe!=null){var Fe=Ie.getTicksCoords(),Ue=ue[Ve],qe=oe[Ve]==="x1"||oe[Ve]==="y1";if(qe&&(Ue+=1),Fe.length<2)return;if(Fe.length===2){de[Ve]=Ie.toGlobalCoord(Ie.getExtent()[qe?1:0]);return}for(var Et=void 0,At=void 0,Lt=1,hn=0;hn<Fe.length;hn++){var _n=Fe[hn].coord,vn=hn===Fe.length-1?Fe[hn-1].tickValue+Lt:Fe[hn].tickValue;if(vn===Ue){At=_n;break}else if(vn<Ue)Et=_n;else if(Et!=null&&vn>Ue){At=(_n+Et)/2;break}hn===1&&(Lt=vn-Fe[0].tickValue)}At==null&&(Et?Et&&(At=Fe[Fe.length-1].coord):At=Fe[0].coord),de[Ve]=Ie.toGlobalCoord(At)}});else{var pe=this.getData(),he=pe.getLayout("offset"),_e=pe.getLayout("size"),$e=le.getBaseAxis().isHorizontal()?0:1;de[$e]+=he+_e/2}return de}return[NaN,NaN]},r.type="series.__base_bar__",r.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},r}(SeriesModel$1);SeriesModel$1.registerClass(BaseBarSeriesModel);const BaseBarSeriesModel$1=BaseBarSeriesModel;var BarSeriesModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},r.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},r.prototype.getProgressiveThreshold=function(){var V=this.get("progressiveThreshold"),oe=this.get("largeThreshold");return oe>V&&(V=oe),V},r.prototype.brushSelector=function(V,oe,ie){return ie.rect(oe.getItemLayout(V))},r.type="series.bar",r.dependencies=["grid","polar"],r.defaultOption=inheritDefaultOption(BaseBarSeriesModel$1.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),r}(BaseBarSeriesModel$1);const BarSeries=BarSeriesModel;var SausageShape=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),SausagePath=function(t){__extends(r,t);function r(V){var oe=t.call(this,V)||this;return oe.type="sausage",oe}return r.prototype.getDefaultShape=function(){return new SausageShape},r.prototype.buildPath=function(V,oe){var ie=oe.cx,le=oe.cy,ue=Math.max(oe.r0||0,0),de=Math.max(oe.r,0),pe=(de-ue)*.5,he=ue+pe,_e=oe.startAngle,$e=oe.endAngle,Ie=oe.clockwise,Ve=Math.PI*2,Fe=Ie?$e-_e<Ve:_e-$e<Ve;Fe||(_e=$e-(Ie?Ve:-Ve));var Ue=Math.cos(_e),qe=Math.sin(_e),Et=Math.cos($e),At=Math.sin($e);Fe?(V.moveTo(Ue*ue+ie,qe*ue+le),V.arc(Ue*he+ie,qe*he+le,pe,-Math.PI+_e,_e,!Ie)):V.moveTo(Ue*de+ie,qe*de+le),V.arc(ie,le,de,_e,$e,!Ie),V.arc(Et*he+ie,At*he+le,pe,$e-Math.PI*2,$e-Math.PI,!Ie),ue!==0&&V.arc(ie,le,ue,$e,_e,Ie)},r}(Path$1);const Sausage=SausagePath;function createSectorCalculateTextPosition(t,r){r=r||{};var V=r.isRoundCap;return function(oe,ie,le){var ue=ie.position;if(!ue||ue instanceof Array)return calculateTextPosition(oe,ie,le);var de=t(ue),pe=ie.distance!=null?ie.distance:5,he=this.shape,_e=he.cx,$e=he.cy,Ie=he.r,Ve=he.r0,Fe=(Ie+Ve)/2,Ue=he.startAngle,qe=he.endAngle,Et=(Ue+qe)/2,At=V?Math.abs(Ie-Ve)/2:0,Lt=Math.cos,hn=Math.sin,_n=_e+Ie*Lt(Ue),vn=$e+Ie*hn(Ue),bn="left",Cn="top";switch(de){case"startArc":_n=_e+(Ve-pe)*Lt(Et),vn=$e+(Ve-pe)*hn(Et),bn="center",Cn="top";break;case"insideStartArc":_n=_e+(Ve+pe)*Lt(Et),vn=$e+(Ve+pe)*hn(Et),bn="center",Cn="bottom";break;case"startAngle":_n=_e+Fe*Lt(Ue)+adjustAngleDistanceX(Ue,pe+At,!1),vn=$e+Fe*hn(Ue)+adjustAngleDistanceY(Ue,pe+At,!1),bn="right",Cn="middle";break;case"insideStartAngle":_n=_e+Fe*Lt(Ue)+adjustAngleDistanceX(Ue,-pe+At,!1),vn=$e+Fe*hn(Ue)+adjustAngleDistanceY(Ue,-pe+At,!1),bn="left",Cn="middle";break;case"middle":_n=_e+Fe*Lt(Et),vn=$e+Fe*hn(Et),bn="center",Cn="middle";break;case"endArc":_n=_e+(Ie+pe)*Lt(Et),vn=$e+(Ie+pe)*hn(Et),bn="center",Cn="bottom";break;case"insideEndArc":_n=_e+(Ie-pe)*Lt(Et),vn=$e+(Ie-pe)*hn(Et),bn="center",Cn="top";break;case"endAngle":_n=_e+Fe*Lt(qe)+adjustAngleDistanceX(qe,pe+At,!0),vn=$e+Fe*hn(qe)+adjustAngleDistanceY(qe,pe+At,!0),bn="left",Cn="middle";break;case"insideEndAngle":_n=_e+Fe*Lt(qe)+adjustAngleDistanceX(qe,-pe+At,!0),vn=$e+Fe*hn(qe)+adjustAngleDistanceY(qe,-pe+At,!0),bn="right",Cn="middle";break;default:return calculateTextPosition(oe,ie,le)}return oe=oe||{},oe.x=_n,oe.y=vn,oe.align=bn,oe.verticalAlign=Cn,oe}}function setSectorTextRotation(t,r,V,oe){if(isNumber(oe)){t.setTextConfig({rotation:oe});return}else if(isArray$1(r)){t.setTextConfig({rotation:0});return}var ie=t.shape,le=ie.clockwise?ie.startAngle:ie.endAngle,ue=ie.clockwise?ie.endAngle:ie.startAngle,de=(le+ue)/2,pe,he=V(r);switch(he){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":pe=de;break;case"startAngle":case"insideStartAngle":pe=le;break;case"endAngle":case"insideEndAngle":pe=ue;break;default:t.setTextConfig({rotation:0});return}var _e=Math.PI*1.5-pe;he==="middle"&&_e>Math.PI/2&&_e<Math.PI*1.5&&(_e-=Math.PI),t.setTextConfig({rotation:_e})}function adjustAngleDistanceX(t,r,V){return r*Math.sin(t)*(V?-1:1)}function adjustAngleDistanceY(t,r,V){return r*Math.cos(t)*(V?1:-1)}function getSectorCornerRadius(t,r,V){var oe=t.get("borderRadius");if(oe==null)return V?{cornerRadius:0}:null;isArray$1(oe)||(oe=[oe,oe,oe,oe]);var ie=Math.abs(r.r||0-r.r0||0);return{cornerRadius:map$2(oe,function(le){return parsePercent$1(le,ie)})}}var mathMax$2=Math.max,mathMin$2=Math.min;function getClipArea(t,r){var V=t.getArea&&t.getArea();if(isCoordinateSystemType(t,"cartesian2d")){var oe=t.getBaseAxis();if(oe.type!=="category"||!oe.onBand){var ie=r.getLayout("bandWidth");oe.isHorizontal()?(V.x-=ie,V.width+=ie*2):(V.y-=ie,V.height+=ie*2)}}return V}var BarView=function(t){__extends(r,t);function r(){var V=t.call(this)||this;return V.type=r.type,V._isFirstFrame=!0,V}return r.prototype.render=function(V,oe,ie,le){this._model=V,this._removeOnRenderedListener(ie),this._updateDrawMode(V);var ue=V.get("coordinateSystem");(ue==="cartesian2d"||ue==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(V,oe,ie):this._renderNormal(V,oe,ie,le))},r.prototype.incrementalPrepareRender=function(V){this._clear(),this._updateDrawMode(V),this._updateLargeClip(V)},r.prototype.incrementalRender=function(V,oe){this._progressiveEls=[],this._incrementalRenderLarge(V,oe)},r.prototype.eachRendered=function(V){traverseElements(this._progressiveEls||this.group,V)},r.prototype._updateDrawMode=function(V){var oe=V.pipelineContext.large;(this._isLargeDraw==null||oe!==this._isLargeDraw)&&(this._isLargeDraw=oe,this._clear())},r.prototype._renderNormal=function(V,oe,ie,le){var ue=this.group,de=V.getData(),pe=this._data,he=V.coordinateSystem,_e=he.getBaseAxis(),$e;he.type==="cartesian2d"?$e=_e.isHorizontal():he.type==="polar"&&($e=_e.dim==="angle");var Ie=V.isAnimationEnabled()?V:null,Ve=shouldRealtimeSort(V,he);Ve&&this._enableRealtimeSort(Ve,de,ie);var Fe=V.get("clip",!0)||Ve,Ue=getClipArea(he,de);ue.removeClipPath();var qe=V.get("roundCap",!0),Et=V.get("showBackground",!0),At=V.getModel("backgroundStyle"),Lt=At.get("borderRadius")||0,hn=[],_n=this._backgroundEls,vn=le&&le.isInitSort,bn=le&&le.type==="changeAxisOrder";function Cn(En){var xn=getLayout[he.type](de,En),Pn=createBackgroundEl(he,$e,xn);return Pn.useStyle(At.getItemStyle()),he.type==="cartesian2d"?Pn.setShape("r",Lt):Pn.setShape("cornerRadius",Lt),hn[En]=Pn,Pn}de.diff(pe).add(function(En){var xn=de.getItemModel(En),Pn=getLayout[he.type](de,En,xn);if(Et&&Cn(En),!(!de.hasValue(En)||!isValidLayout[he.type](Pn))){var kn=!1;Fe&&(kn=clip[he.type](Ue,Pn));var Nn=elementCreator[he.type](V,de,En,Pn,$e,Ie,_e.model,!1,qe);Ve&&(Nn.forceLabelAnimation=!0),updateStyle(Nn,de,En,xn,Pn,V,$e,he.type==="polar"),vn?Nn.attr({shape:Pn}):Ve?updateRealtimeAnimation(Ve,Ie,Nn,Pn,En,$e,!1,!1):initProps(Nn,{shape:Pn},V,En),de.setItemGraphicEl(En,Nn),ue.add(Nn),Nn.ignore=kn}}).update(function(En,xn){var Pn=de.getItemModel(En),kn=getLayout[he.type](de,En,Pn);if(Et){var Nn=void 0;_n.length===0?Nn=Cn(xn):(Nn=_n[xn],Nn.useStyle(At.getItemStyle()),he.type==="cartesian2d"?Nn.setShape("r",Lt):Nn.setShape("cornerRadius",Lt),hn[En]=Nn);var Dn=getLayout[he.type](de,En),Mn=createBackgroundShape($e,Dn,he);updateProps$1(Nn,{shape:Mn},Ie,En)}var Ln=pe.getItemGraphicEl(xn);if(!de.hasValue(En)||!isValidLayout[he.type](kn)){ue.remove(Ln);return}var An=!1;if(Fe&&(An=clip[he.type](Ue,kn),An&&ue.remove(Ln)),Ln?saveOldStyle(Ln):Ln=elementCreator[he.type](V,de,En,kn,$e,Ie,_e.model,!!Ln,qe),Ve&&(Ln.forceLabelAnimation=!0),bn){var Vn=Ln.getTextContent();if(Vn){var Wn=labelInner(Vn);Wn.prevValue!=null&&(Wn.prevValue=Wn.value)}}else updateStyle(Ln,de,En,Pn,kn,V,$e,he.type==="polar");vn?Ln.attr({shape:kn}):Ve?updateRealtimeAnimation(Ve,Ie,Ln,kn,En,$e,!0,bn):updateProps$1(Ln,{shape:kn},V,En,null),de.setItemGraphicEl(En,Ln),Ln.ignore=An,ue.add(Ln)}).remove(function(En){var xn=pe.getItemGraphicEl(En);xn&&removeElementWithFadeOut(xn,V,En)}).execute();var Sn=this._backgroundGroup||(this._backgroundGroup=new Group$3);Sn.removeAll();for(var wn=0;wn<hn.length;++wn)Sn.add(hn[wn]);ue.add(Sn),this._backgroundEls=hn,this._data=de},r.prototype._renderLarge=function(V,oe,ie){this._clear(),createLarge(V,this.group),this._updateLargeClip(V)},r.prototype._incrementalRenderLarge=function(V,oe){this._removeBackground(),createLarge(oe,this.group,this._progressiveEls,!0)},r.prototype._updateLargeClip=function(V){var oe=V.get("clip",!0)&&createClipPath(V.coordinateSystem,!1,V),ie=this.group;oe?ie.setClipPath(oe):ie.removeClipPath()},r.prototype._enableRealtimeSort=function(V,oe,ie){var le=this;if(oe.count()){var ue=V.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(oe,V,ie),this._isFirstFrame=!1;else{var de=function(pe){var he=oe.getItemGraphicEl(pe),_e=he&&he.shape;return _e&&Math.abs(ue.isHorizontal()?_e.height:_e.width)||0};this._onRendered=function(){le._updateSortWithinSameData(oe,de,ue,ie)},ie.getZr().on("rendered",this._onRendered)}}},r.prototype._dataSort=function(V,oe,ie){var le=[];return V.each(V.mapDimension(oe.dim),function(ue,de){var pe=ie(de);pe=pe??NaN,le.push({dataIndex:de,mappedValue:pe,ordinalNumber:ue})}),le.sort(function(ue,de){return de.mappedValue-ue.mappedValue}),{ordinalNumbers:map$2(le,function(ue){return ue.ordinalNumber})}},r.prototype._isOrderChangedWithinSameData=function(V,oe,ie){for(var le=ie.scale,ue=V.mapDimension(ie.dim),de=Number.MAX_VALUE,pe=0,he=le.getOrdinalMeta().categories.length;pe<he;++pe){var _e=V.rawIndexOf(ue,le.getRawOrdinalNumber(pe)),$e=_e<0?Number.MIN_VALUE:oe(V.indexOfRawIndex(_e));if($e>de)return!0;de=$e}return!1},r.prototype._isOrderDifferentInView=function(V,oe){for(var ie=oe.scale,le=ie.getExtent(),ue=Math.max(0,le[0]),de=Math.min(le[1],ie.getOrdinalMeta().categories.length-1);ue<=de;++ue)if(V.ordinalNumbers[ue]!==ie.getRawOrdinalNumber(ue))return!0},r.prototype._updateSortWithinSameData=function(V,oe,ie,le){if(this._isOrderChangedWithinSameData(V,oe,ie)){var ue=this._dataSort(V,ie,oe);this._isOrderDifferentInView(ue,ie)&&(this._removeOnRenderedListener(le),le.dispatchAction({type:"changeAxisOrder",componentType:ie.dim+"Axis",axisId:ie.index,sortInfo:ue}))}},r.prototype._dispatchInitSort=function(V,oe,ie){var le=oe.baseAxis,ue=this._dataSort(V,le,function(de){return V.get(V.mapDimension(oe.otherAxis.dim),de)});ie.dispatchAction({type:"changeAxisOrder",componentType:le.dim+"Axis",isInitSort:!0,axisId:le.index,sortInfo:ue})},r.prototype.remove=function(V,oe){this._clear(this._model),this._removeOnRenderedListener(oe)},r.prototype.dispose=function(V,oe){this._removeOnRenderedListener(oe)},r.prototype._removeOnRenderedListener=function(V){this._onRendered&&(V.getZr().off("rendered",this._onRendered),this._onRendered=null)},r.prototype._clear=function(V){var oe=this.group,ie=this._data;V&&V.isAnimationEnabled()&&ie&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],ie.eachItemGraphicEl(function(le){removeElementWithFadeOut(le,V,getECData(le).dataIndex)})):oe.removeAll(),this._data=null,this._isFirstFrame=!0},r.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},r.type="bar",r}(ChartView$1),clip={cartesian2d:function(t,r){var V=r.width<0?-1:1,oe=r.height<0?-1:1;V<0&&(r.x+=r.width,r.width=-r.width),oe<0&&(r.y+=r.height,r.height=-r.height);var ie=t.x+t.width,le=t.y+t.height,ue=mathMax$2(r.x,t.x),de=mathMin$2(r.x+r.width,ie),pe=mathMax$2(r.y,t.y),he=mathMin$2(r.y+r.height,le),_e=de<ue,$e=he<pe;return r.x=_e&&ue>ie?de:ue,r.y=$e&&pe>le?he:pe,r.width=_e?0:de-ue,r.height=$e?0:he-pe,V<0&&(r.x+=r.width,r.width=-r.width),oe<0&&(r.y+=r.height,r.height=-r.height),_e||$e},polar:function(t,r){var V=r.r0<=r.r?1:-1;if(V<0){var oe=r.r;r.r=r.r0,r.r0=oe}var ie=mathMin$2(r.r,t.r),le=mathMax$2(r.r0,t.r0);r.r=ie,r.r0=le;var ue=ie-le<0;if(V<0){var oe=r.r;r.r=r.r0,r.r0=oe}return ue}},elementCreator={cartesian2d:function(t,r,V,oe,ie,le,ue,de,pe){var he=new Rect$2({shape:extend({},oe),z2:1});if(he.__dataIndex=V,he.name="item",le){var _e=he.shape,$e=ie?"height":"width";_e[$e]=0}return he},polar:function(t,r,V,oe,ie,le,ue,de,pe){var he=!ie&&pe?Sausage:Sector$1,_e=new he({shape:oe,z2:1});_e.name="item";var $e=createPolarPositionMapping(ie);if(_e.calculateTextPosition=createSectorCalculateTextPosition($e,{isRoundCap:he===Sausage}),le){var Ie=_e.shape,Ve=ie?"r":"endAngle",Fe={};Ie[Ve]=ie?oe.r0:oe.startAngle,Fe[Ve]=oe[Ve],(de?updateProps$1:initProps)(_e,{shape:Fe},le)}return _e}};function shouldRealtimeSort(t,r){var V=t.get("realtimeSort",!0),oe=r.getBaseAxis();if(V&&oe.type==="category"&&r.type==="cartesian2d")return{baseAxis:oe,otherAxis:r.getOtherAxis(oe)}}function updateRealtimeAnimation(t,r,V,oe,ie,le,ue,de){var pe,he;le?(he={x:oe.x,width:oe.width},pe={y:oe.y,height:oe.height}):(he={y:oe.y,height:oe.height},pe={x:oe.x,width:oe.width}),de||(ue?updateProps$1:initProps)(V,{shape:pe},r,ie,null);var _e=r?t.baseAxis.model:null;(ue?updateProps$1:initProps)(V,{shape:he},_e,ie)}function checkPropertiesNotValid(t,r){for(var V=0;V<r.length;V++)if(!isFinite(t[r[V]]))return!0;return!1}var rectPropties=["x","y","width","height"],polarPropties=["cx","cy","r","startAngle","endAngle"],isValidLayout={cartesian2d:function(t){return!checkPropertiesNotValid(t,rectPropties)},polar:function(t){return!checkPropertiesNotValid(t,polarPropties)}},getLayout={cartesian2d:function(t,r,V){var oe=t.getItemLayout(r),ie=V?getLineWidth(V,oe):0,le=oe.width>0?1:-1,ue=oe.height>0?1:-1;return{x:oe.x+le*ie/2,y:oe.y+ue*ie/2,width:oe.width-le*ie,height:oe.height-ue*ie}},polar:function(t,r,V){var oe=t.getItemLayout(r);return{cx:oe.cx,cy:oe.cy,r0:oe.r0,r:oe.r,startAngle:oe.startAngle,endAngle:oe.endAngle,clockwise:oe.clockwise}}};function isZeroOnPolar(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function createPolarPositionMapping(t){return function(r){var V=r?"Arc":"Angle";return function(oe){switch(oe){case"start":case"insideStart":case"end":case"insideEnd":return oe+V;default:return oe}}}(t)}function updateStyle(t,r,V,oe,ie,le,ue,de){var pe=r.getItemVisual(V,"style");if(de){if(!le.get("roundCap")){var _e=t.shape,$e=getSectorCornerRadius(oe.getModel("itemStyle"),_e,!0);extend(_e,$e),t.setShape(_e)}}else{var he=oe.get(["itemStyle","borderRadius"])||0;t.setShape("r",he)}t.useStyle(pe);var Ie=oe.getShallow("cursor");Ie&&t.attr("cursor",Ie);var Ve=de?ue?ie.r>=ie.r0?"endArc":"startArc":ie.endAngle>=ie.startAngle?"endAngle":"startAngle":ue?ie.height>=0?"bottom":"top":ie.width>=0?"right":"left",Fe=getLabelStatesModels(oe);setLabelStyle(t,Fe,{labelFetcher:le,labelDataIndex:V,defaultText:getDefaultLabel(le.getData(),V),inheritColor:pe.fill,defaultOpacity:pe.opacity,defaultOutsidePosition:Ve});var Ue=t.getTextContent();if(de&&Ue){var qe=oe.get(["label","position"]);t.textConfig.inside=qe==="middle"?!0:null,setSectorTextRotation(t,qe==="outside"?Ve:qe,createPolarPositionMapping(ue),oe.get(["label","rotate"]))}setLabelValueAnimation(Ue,Fe,le.getRawValue(V),function(At){return getDefaultInterpolatedLabel(r,At)});var Et=oe.getModel(["emphasis"]);toggleHoverEmphasis(t,Et.get("focus"),Et.get("blurScope"),Et.get("disabled")),setStatesStylesFromModel(t,oe),isZeroOnPolar(ie)&&(t.style.fill="none",t.style.stroke="none",each$c(t.states,function(At){At.style&&(At.style.fill=At.style.stroke="none")}))}function getLineWidth(t,r){var V=t.get(["itemStyle","borderColor"]);if(!V||V==="none")return 0;var oe=t.get(["itemStyle","borderWidth"])||0,ie=isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),le=isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height);return Math.min(oe,ie,le)}var LagePathShape=function(){function t(){}return t}(),LargePath=function(t){__extends(r,t);function r(V){var oe=t.call(this,V)||this;return oe.type="largeBar",oe}return r.prototype.getDefaultShape=function(){return new LagePathShape},r.prototype.buildPath=function(V,oe){for(var ie=oe.points,le=this.baseDimIdx,ue=1-this.baseDimIdx,de=[],pe=[],he=this.barWidth,_e=0;_e<ie.length;_e+=3)pe[le]=he,pe[ue]=ie[_e+2],de[le]=ie[_e+le],de[ue]=ie[_e+ue],V.rect(de[0],de[1],pe[0],pe[1])},r}(Path$1);function createLarge(t,r,V,oe){var ie=t.getData(),le=ie.getLayout("valueAxisHorizontal")?1:0,ue=ie.getLayout("largeDataIndices"),de=ie.getLayout("size"),pe=t.getModel("backgroundStyle"),he=ie.getLayout("largeBackgroundPoints");if(he){var _e=new LargePath({shape:{points:he},incremental:!!oe,silent:!0,z2:0});_e.baseDimIdx=le,_e.largeDataIndices=ue,_e.barWidth=de,_e.useStyle(pe.getItemStyle()),r.add(_e),V&&V.push(_e)}var $e=new LargePath({shape:{points:ie.getLayout("largePoints")},incremental:!!oe,ignoreCoarsePointer:!0,z2:1});$e.baseDimIdx=le,$e.largeDataIndices=ue,$e.barWidth=de,r.add($e),$e.useStyle(ie.getVisual("style")),getECData($e).seriesIndex=t.seriesIndex,t.get("silent")||($e.on("mousedown",largePathUpdateDataIndex),$e.on("mousemove",largePathUpdateDataIndex)),V&&V.push($e)}var largePathUpdateDataIndex=throttle(function(t){var r=this,V=largePathFindDataIndex(r,t.offsetX,t.offsetY);getECData(r).dataIndex=V>=0?V:null},30,!1);function largePathFindDataIndex(t,r,V){for(var oe=t.baseDimIdx,ie=1-oe,le=t.shape.points,ue=t.largeDataIndices,de=[],pe=[],he=t.barWidth,_e=0,$e=le.length/3;_e<$e;_e++){var Ie=_e*3;if(pe[oe]=he,pe[ie]=le[Ie+2],de[oe]=le[Ie+oe],de[ie]=le[Ie+ie],pe[ie]<0&&(de[ie]+=pe[ie],pe[ie]=-pe[ie]),r>=de[0]&&r<=de[0]+pe[0]&&V>=de[1]&&V<=de[1]+pe[1])return ue[_e]}return-1}function createBackgroundShape(t,r,V){if(isCoordinateSystemType(V,"cartesian2d")){var oe=r,ie=V.getArea();return{x:t?oe.x:ie.x,y:t?ie.y:oe.y,width:t?oe.width:ie.width,height:t?ie.height:oe.height}}else{var ie=V.getArea(),le=r;return{cx:ie.cx,cy:ie.cy,r0:t?ie.r0:le.r0,r:t?ie.r:le.r,startAngle:t?le.startAngle:0,endAngle:t?le.endAngle:Math.PI*2}}}function createBackgroundEl(t,r,V){var oe=t.type==="polar"?Sector$1:Rect$2;return new oe({shape:createBackgroundShape(r,V,t),silent:!0,z2:0})}const BarView$1=BarView;function install$i(t){t.registerChartView(BarView$1),t.registerSeriesModel(BarSeries),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,curry$1(layout$2,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(r,V){var oe=r.componentType||"series";V.eachComponent({mainType:oe,query:r},function(ie){r.sortInfo&&ie.axis.setCategorySortInfo(r.sortInfo)})})}var PI2=Math.PI*2,RADIAN$1=Math.PI/180;function getViewRect(t,r){return getLayoutRect(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function getBasicPieLayout(t,r){var V=getViewRect(t,r),oe=t.get("center"),ie=t.get("radius");isArray$1(ie)||(ie=[0,ie]);var le=parsePercent(V.width,r.getWidth()),ue=parsePercent(V.height,r.getHeight()),de=Math.min(le,ue),pe=parsePercent(ie[0],de/2),he=parsePercent(ie[1],de/2),_e,$e,Ie=t.coordinateSystem;if(Ie){var Ve=Ie.dataToPoint(oe);_e=Ve[0]||0,$e=Ve[1]||0}else isArray$1(oe)||(oe=[oe,oe]),_e=parsePercent(oe[0],le)+V.x,$e=parsePercent(oe[1],ue)+V.y;return{cx:_e,cy:$e,r0:pe,r:he}}function pieLayout(t,r,V){r.eachSeriesByType(t,function(oe){var ie=oe.getData(),le=ie.mapDimension("value"),ue=getViewRect(oe,V),de=getBasicPieLayout(oe,V),pe=de.cx,he=de.cy,_e=de.r,$e=de.r0,Ie=-oe.get("startAngle")*RADIAN$1,Ve=oe.get("minAngle")*RADIAN$1,Fe=0;ie.each(le,function(wn){!isNaN(wn)&&Fe++});var Ue=ie.getSum(le),qe=Math.PI/(Ue||Fe)*2,Et=oe.get("clockwise"),At=oe.get("roseType"),Lt=oe.get("stillShowZeroSum"),hn=ie.getDataExtent(le);hn[0]=0;var _n=PI2,vn=0,bn=Ie,Cn=Et?1:-1;if(ie.setLayout({viewRect:ue,r:_e}),ie.each(le,function(wn,En){var xn;if(isNaN(wn)){ie.setItemLayout(En,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:Et,cx:pe,cy:he,r0:$e,r:At?NaN:_e});return}At!=="area"?xn=Ue===0&&Lt?qe:wn*qe:xn=PI2/Fe,xn<Ve?(xn=Ve,_n-=Ve):vn+=wn;var Pn=bn+Cn*xn;ie.setItemLayout(En,{angle:xn,startAngle:bn,endAngle:Pn,clockwise:Et,cx:pe,cy:he,r0:$e,r:At?linearMap$2(wn,hn,[$e,_e]):_e}),bn=Pn}),_n<PI2&&Fe)if(_n<=.001){var Sn=PI2/Fe;ie.each(le,function(wn,En){if(!isNaN(wn)){var xn=ie.getItemLayout(En);xn.angle=Sn,xn.startAngle=Ie+Cn*En*Sn,xn.endAngle=Ie+Cn*(En+1)*Sn}})}else qe=_n/vn,bn=Ie,ie.each(le,function(wn,En){if(!isNaN(wn)){var xn=ie.getItemLayout(En),Pn=xn.angle===Ve?Ve:wn*qe;xn.startAngle=bn,xn.endAngle=bn+Cn*Pn,bn+=Cn*Pn}})})}function dataFilter(t){return{seriesType:t,reset:function(r,V){var oe=V.findComponents({mainType:"legend"});if(!(!oe||!oe.length)){var ie=r.getData();ie.filterSelf(function(le){for(var ue=ie.getName(le),de=0;de<oe.length;de++)if(!oe[de].isSelected(ue))return!1;return!0})}}}}var RADIAN=Math.PI/180;function adjustSingleSide(t,r,V,oe,ie,le,ue,de,pe,he){if(t.length<2)return;function _e(Ue){for(var qe=Ue.rB,Et=qe*qe,At=0;At<Ue.list.length;At++){var Lt=Ue.list[At],hn=Math.abs(Lt.label.y-V),_n=oe+Lt.len,vn=_n*_n,bn=Math.sqrt((1-Math.abs(hn*hn/Et))*vn),Cn=r+(bn+Lt.len2)*ie,Sn=Cn-Lt.label.x,wn=Lt.targetTextWidth-Sn*ie;constrainTextWidth(Lt,wn,!0),Lt.label.x=Cn}}function $e(Ue){for(var qe={list:[],maxY:0},Et={list:[],maxY:0},At=0;At<Ue.length;At++)if(Ue[At].labelAlignTo==="none"){var Lt=Ue[At],hn=Lt.label.y>V?Et:qe,_n=Math.abs(Lt.label.y-V);if(_n>=hn.maxY){var vn=Lt.label.x-r-Lt.len2*ie,bn=oe+Lt.len,Cn=Math.abs(vn)<bn?Math.sqrt(_n*_n/(1-vn*vn/bn/bn)):bn;hn.rB=Cn,hn.maxY=_n}hn.list.push(Lt)}_e(qe),_e(Et)}for(var Ie=t.length,Ve=0;Ve<Ie;Ve++)if(t[Ve].position==="outer"&&t[Ve].labelAlignTo==="labelLine"){var Fe=t[Ve].label.x-he;t[Ve].linePoints[1][0]+=Fe,t[Ve].label.x=he}shiftLayoutOnY(t,pe,pe+ue)&&$e(t)}function avoidOverlap(t,r,V,oe,ie,le,ue,de){for(var pe=[],he=[],_e=Number.MAX_VALUE,$e=-Number.MAX_VALUE,Ie=0;Ie<t.length;Ie++){var Ve=t[Ie].label;isPositionCenter(t[Ie])||(Ve.x<r?(_e=Math.min(_e,Ve.x),pe.push(t[Ie])):($e=Math.max($e,Ve.x),he.push(t[Ie])))}for(var Ie=0;Ie<t.length;Ie++){var Fe=t[Ie];if(!isPositionCenter(Fe)&&Fe.linePoints){if(Fe.labelStyleWidth!=null)continue;var Ve=Fe.label,Ue=Fe.linePoints,qe=void 0;Fe.labelAlignTo==="edge"?Ve.x<r?qe=Ue[2][0]-Fe.labelDistance-ue-Fe.edgeDistance:qe=ue+ie-Fe.edgeDistance-Ue[2][0]-Fe.labelDistance:Fe.labelAlignTo==="labelLine"?Ve.x<r?qe=_e-ue-Fe.bleedMargin:qe=ue+ie-$e-Fe.bleedMargin:Ve.x<r?qe=Ve.x-ue-Fe.bleedMargin:qe=ue+ie-Ve.x-Fe.bleedMargin,Fe.targetTextWidth=qe,constrainTextWidth(Fe,qe)}}adjustSingleSide(he,r,V,oe,1,ie,le,ue,de,$e),adjustSingleSide(pe,r,V,oe,-1,ie,le,ue,de,_e);for(var Ie=0;Ie<t.length;Ie++){var Fe=t[Ie];if(!isPositionCenter(Fe)&&Fe.linePoints){var Ve=Fe.label,Ue=Fe.linePoints,Et=Fe.labelAlignTo==="edge",At=Ve.style.padding,Lt=At?At[1]+At[3]:0,hn=Ve.style.backgroundColor?0:Lt,_n=Fe.rect.width+hn,vn=Ue[1][0]-Ue[2][0];Et?Ve.x<r?Ue[2][0]=ue+Fe.edgeDistance+_n+Fe.labelDistance:Ue[2][0]=ue+ie-Fe.edgeDistance-_n-Fe.labelDistance:(Ve.x<r?Ue[2][0]=Ve.x+Fe.labelDistance:Ue[2][0]=Ve.x-Fe.labelDistance,Ue[1][0]=Ue[2][0]+vn),Ue[1][1]=Ue[2][1]=Ve.y}}}function constrainTextWidth(t,r,V){if(V===void 0&&(V=!1),t.labelStyleWidth==null){var oe=t.label,ie=oe.style,le=t.rect,ue=ie.backgroundColor,de=ie.padding,pe=de?de[1]+de[3]:0,he=ie.overflow,_e=le.width+(ue?0:pe);if(r<_e||V){var $e=le.height;if(he&&he.match("break")){oe.setStyle("backgroundColor",null),oe.setStyle("width",r-pe);var Ie=oe.getBoundingRect();oe.setStyle("width",Math.ceil(Ie.width)),oe.setStyle("backgroundColor",ue)}else{var Ve=r-pe,Fe=r<_e?Ve:V?Ve>t.unconstrainedWidth?null:Ve:null;oe.setStyle("width",Fe)}var Ue=oe.getBoundingRect();le.width=Ue.width;var qe=(oe.style.margin||0)+2.1;le.height=Ue.height+qe,le.y-=(le.height-$e)/2}}}function isPositionCenter(t){return t.position==="center"}function pieLabelLayout(t){var r=t.getData(),V=[],oe,ie,le=!1,ue=(t.get("minShowLabelAngle")||0)*RADIAN,de=r.getLayout("viewRect"),pe=r.getLayout("r"),he=de.width,_e=de.x,$e=de.y,Ie=de.height;function Ve(vn){vn.ignore=!0}function Fe(vn){if(!vn.ignore)return!0;for(var bn in vn.states)if(vn.states[bn].ignore===!1)return!0;return!1}r.each(function(vn){var bn=r.getItemGraphicEl(vn),Cn=bn.shape,Sn=bn.getTextContent(),wn=bn.getTextGuideLine(),En=r.getItemModel(vn),xn=En.getModel("label"),Pn=xn.get("position")||En.get(["emphasis","label","position"]),kn=xn.get("distanceToLabelLine"),Nn=xn.get("alignTo"),Dn=parsePercent(xn.get("edgeDistance"),he),Mn=xn.get("bleedMargin"),Ln=En.getModel("labelLine"),An=Ln.get("length");An=parsePercent(An,he);var Vn=Ln.get("length2");if(Vn=parsePercent(Vn,he),Math.abs(Cn.endAngle-Cn.startAngle)<ue){each$c(Sn.states,Ve),Sn.ignore=!0,wn&&(each$c(wn.states,Ve),wn.ignore=!0);return}if(Fe(Sn)){var Wn=(Cn.startAngle+Cn.endAngle)/2,Fn=Math.cos(Wn),Yn=Math.sin(Wn),tr,yr,Jn,Kn;oe=Cn.cx,ie=Cn.cy;var Gn=Pn==="inside"||Pn==="inner";if(Pn==="center")tr=Cn.cx,yr=Cn.cy,Kn="center";else{var Qn=(Gn?(Cn.r+Cn.r0)/2*Fn:Cn.r*Fn)+oe,ur=(Gn?(Cn.r+Cn.r0)/2*Yn:Cn.r*Yn)+ie;if(tr=Qn+Fn*3,yr=ur+Yn*3,!Gn){var cr=Qn+Fn*(An+pe-Cn.r),Un=ur+Yn*(An+pe-Cn.r),qn=cr+(Fn<0?-1:1)*Vn,er=Un;Nn==="edge"?tr=Fn<0?_e+Dn:_e+he-Dn:tr=qn+(Fn<0?-kn:kn),yr=er,Jn=[[Qn,ur],[cr,Un],[qn,er]]}Kn=Gn?"center":Nn==="edge"?Fn>0?"right":"left":Fn>0?"left":"right"}var pr=Math.PI,Er=0,dr=xn.get("rotate");if(isNumber(dr))Er=dr*(pr/180);else if(Pn==="center")Er=0;else if(dr==="radial"||dr===!0){var xr=Fn<0?-Wn+pr:-Wn;Er=xr}else if(dr==="tangential"&&Pn!=="outside"&&Pn!=="outer"){var wr=Math.atan2(Fn,Yn);wr<0&&(wr=pr*2+wr);var Cr=Yn>0;Cr&&(wr=pr+wr),Er=wr-pr}if(le=!!Er,Sn.x=tr,Sn.y=yr,Sn.rotation=Er,Sn.setStyle({verticalAlign:"middle"}),Gn){Sn.setStyle({align:Kn});var fr=Sn.states.select;fr&&(fr.x+=Sn.x,fr.y+=Sn.y)}else{var gr=Sn.getBoundingRect().clone();gr.applyTransform(Sn.getComputedTransform());var or=(Sn.style.margin||0)+2.1;gr.y-=or/2,gr.height+=or,V.push({label:Sn,labelLine:wn,position:Pn,len:An,len2:Vn,minTurnAngle:Ln.get("minTurnAngle"),maxSurfaceAngle:Ln.get("maxSurfaceAngle"),surfaceNormal:new Point$1(Fn,Yn),linePoints:Jn,textAlign:Kn,labelDistance:kn,labelAlignTo:Nn,edgeDistance:Dn,bleedMargin:Mn,rect:gr,unconstrainedWidth:gr.width,labelStyleWidth:Sn.style.width})}bn.setTextConfig({inside:Gn})}}),!le&&t.get("avoidLabelOverlap")&&avoidOverlap(V,oe,ie,pe,he,Ie,_e,$e);for(var Ue=0;Ue<V.length;Ue++){var qe=V[Ue],Et=qe.label,At=qe.labelLine,Lt=isNaN(Et.x)||isNaN(Et.y);if(Et){Et.setStyle({align:qe.textAlign}),Lt&&(each$c(Et.states,Ve),Et.ignore=!0);var hn=Et.states.select;hn&&(hn.x+=Et.x,hn.y+=Et.y)}if(At){var _n=qe.linePoints;Lt||!_n?(each$c(At.states,Ve),At.ignore=!0):(limitTurnAngle(_n,qe.minTurnAngle),limitSurfaceAngle(_n,qe.surfaceNormal,qe.maxSurfaceAngle),At.setShape({points:_n}),Et.__hostTarget.textGuideLineConfig={anchor:new Point$1(_n[0][0],_n[0][1])})}}}var PiePiece=function(t){__extends(r,t);function r(V,oe,ie){var le=t.call(this)||this;le.z2=2;var ue=new ZRText$1;return le.setTextContent(ue),le.updateData(V,oe,ie,!0),le}return r.prototype.updateData=function(V,oe,ie,le){var ue=this,de=V.hostModel,pe=V.getItemModel(oe),he=pe.getModel("emphasis"),_e=V.getItemLayout(oe),$e=extend(getSectorCornerRadius(pe.getModel("itemStyle"),_e,!0),_e);if(isNaN($e.startAngle)){ue.setShape($e);return}if(le){ue.setShape($e);var Ie=de.getShallow("animationType");de.ecModel.ssr?(initProps(ue,{scaleX:0,scaleY:0},de,{dataIndex:oe,isFrom:!0}),ue.originX=$e.cx,ue.originY=$e.cy):Ie==="scale"?(ue.shape.r=_e.r0,initProps(ue,{shape:{r:_e.r}},de,oe)):ie!=null?(ue.setShape({startAngle:ie,endAngle:ie}),initProps(ue,{shape:{startAngle:_e.startAngle,endAngle:_e.endAngle}},de,oe)):(ue.shape.endAngle=_e.startAngle,updateProps$1(ue,{shape:{endAngle:_e.endAngle}},de,oe))}else saveOldStyle(ue),updateProps$1(ue,{shape:$e},de,oe);ue.useStyle(V.getItemVisual(oe,"style")),setStatesStylesFromModel(ue,pe);var Ve=(_e.startAngle+_e.endAngle)/2,Fe=de.get("selectedOffset"),Ue=Math.cos(Ve)*Fe,qe=Math.sin(Ve)*Fe,Et=pe.getShallow("cursor");Et&&ue.attr("cursor",Et),this._updateLabel(de,V,oe),ue.ensureState("emphasis").shape=extend({r:_e.r+(he.get("scale")&&he.get("scaleSize")||0)},getSectorCornerRadius(he.getModel("itemStyle"),_e)),extend(ue.ensureState("select"),{x:Ue,y:qe,shape:getSectorCornerRadius(pe.getModel(["select","itemStyle"]),_e)}),extend(ue.ensureState("blur"),{shape:getSectorCornerRadius(pe.getModel(["blur","itemStyle"]),_e)});var At=ue.getTextGuideLine(),Lt=ue.getTextContent();At&&extend(At.ensureState("select"),{x:Ue,y:qe}),extend(Lt.ensureState("select"),{x:Ue,y:qe}),toggleHoverEmphasis(this,he.get("focus"),he.get("blurScope"),he.get("disabled"))},r.prototype._updateLabel=function(V,oe,ie){var le=this,ue=oe.getItemModel(ie),de=ue.getModel("labelLine"),pe=oe.getItemVisual(ie,"style"),he=pe&&pe.fill,_e=pe&&pe.opacity;setLabelStyle(le,getLabelStatesModels(ue),{labelFetcher:oe.hostModel,labelDataIndex:ie,inheritColor:he,defaultOpacity:_e,defaultText:V.getFormattedLabel(ie,"normal")||oe.getName(ie)});var $e=le.getTextContent();le.setTextConfig({position:null,rotation:null}),$e.attr({z2:10});var Ie=V.get(["label","position"]);if(Ie!=="outside"&&Ie!=="outer")le.removeTextGuideLine();else{var Ve=this.getTextGuideLine();Ve||(Ve=new Polyline$1,this.setTextGuideLine(Ve)),setLabelLineStyle(this,getLabelLineStatesModels(ue),{stroke:he,opacity:retrieve3(de.get(["lineStyle","opacity"]),_e,1)})}},r}(Sector$1),PieView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.ignoreLabelLineUpdate=!0,V}return r.prototype.render=function(V,oe,ie,le){var ue=V.getData(),de=this._data,pe=this.group,he;if(!de&&ue.count()>0){for(var _e=ue.getItemLayout(0),$e=1;isNaN(_e&&_e.startAngle)&&$e<ue.count();++$e)_e=ue.getItemLayout($e);_e&&(he=_e.startAngle)}if(this._emptyCircleSector&&pe.remove(this._emptyCircleSector),ue.count()===0&&V.get("showEmptyCircle")){var Ie=new Sector$1({shape:getBasicPieLayout(V,ie)});Ie.useStyle(V.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=Ie,pe.add(Ie)}ue.diff(de).add(function(Ve){var Fe=new PiePiece(ue,Ve,he);ue.setItemGraphicEl(Ve,Fe),pe.add(Fe)}).update(function(Ve,Fe){var Ue=de.getItemGraphicEl(Fe);Ue.updateData(ue,Ve,he),Ue.off("click"),pe.add(Ue),ue.setItemGraphicEl(Ve,Ue)}).remove(function(Ve){var Fe=de.getItemGraphicEl(Ve);removeElementWithFadeOut(Fe,V,Ve)}).execute(),pieLabelLayout(V),V.get("animationTypeUpdate")!=="expansion"&&(this._data=ue)},r.prototype.dispose=function(){},r.prototype.containPoint=function(V,oe){var ie=oe.getData(),le=ie.getItemLayout(0);if(le){var ue=V[0]-le.cx,de=V[1]-le.cy,pe=Math.sqrt(ue*ue+de*de);return pe<=le.r&&pe>=le.r0}},r.type="pie",r}(ChartView$1);const PieView$1=PieView;function createSeriesDataSimply(t,r,V){r=isArray$1(r)&&{coordDimensions:r}||extend({encodeDefine:t.getEncode()},r);var oe=t.getSource(),ie=prepareSeriesDataSchema(oe,r).dimensions,le=new SeriesData$1(ie,t);return le.initData(oe,V),le}var LegendVisualProvider=function(){function t(r,V){this._getDataWithEncodedVisual=r,this._getRawData=V}return t.prototype.getAllNames=function(){var r=this._getRawData();return r.mapArray(r.getName)},t.prototype.containName=function(r){var V=this._getRawData();return V.indexOfName(r)>=0},t.prototype.indexOfName=function(r){var V=this._getDataWithEncodedVisual();return V.indexOfName(r)},t.prototype.getItemVisual=function(r,V){var oe=this._getDataWithEncodedVisual();return oe.getItemVisual(r,V)},t}();const LegendVisualProvider$1=LegendVisualProvider;var innerData=makeInner(),PieSeriesModel=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.init=function(V){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(V)},r.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},r.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},r.prototype.getDataParams=function(V){var oe=this.getData(),ie=innerData(oe),le=ie.seats;if(!le){var ue=[];oe.each(oe.mapDimension("value"),function(pe){ue.push(pe)}),le=ie.seats=getPercentSeats(ue,oe.hostModel.get("percentPrecision"))}var de=t.prototype.getDataParams.call(this,V);return de.percent=le[V]||0,de.$vars.push("percent"),de},r.prototype._defaultLabelLine=function(V){defaultEmphasis(V,"labelLine",["show"]);var oe=V.labelLine,ie=V.emphasis.labelLine;oe.show=oe.show&&V.label.show,ie.show=ie.show&&V.emphasis.label.show},r.type="series.pie",r.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},r}(SeriesModel$1);const PieSeriesModel$1=PieSeriesModel;function negativeDataFilter(t){return{seriesType:t,reset:function(r,V){var oe=r.getData();oe.filterSelf(function(ie){var le=oe.mapDimension("value"),ue=oe.get(le,ie);return!(isNumber(ue)&&!isNaN(ue)&&ue<0)})}}}function install$h(t){t.registerChartView(PieView$1),t.registerSeriesModel(PieSeriesModel$1),createLegacyDataSelectAction("pie",t.registerAction),t.registerLayout(curry$1(pieLayout,"pie")),t.registerProcessor(dataFilter("pie")),t.registerProcessor(negativeDataFilter("pie"))}var GridModel=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.type="grid",r.dependencies=["xAxis","yAxis"],r.layoutMode="box",r.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},r}(ComponentModel$1);const GridModel$1=GridModel;var CartesianAxisModel=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},r.type="cartesian2dAxis",r}(ComponentModel$1);mixin(CartesianAxisModel,AxisModelCommonMixin);var defaultOption$1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},categoryAxis=merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},defaultOption$1),timeAxis=merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults({logBase:10},valueAxis);const axisDefault={category:categoryAxis,value:valueAxis,time:timeAxis,log:logAxis};var AXIS_TYPES={value:1,category:1,time:1,log:1};function axisModelCreator(t,r,V,oe){each$c(AXIS_TYPES,function(ie,le){var ue=merge(merge({},axisDefault[le],!0),oe,!0),de=function(pe){__extends(he,pe);function he(){var _e=pe!==null&&pe.apply(this,arguments)||this;return _e.type=r+"Axis."+le,_e}return he.prototype.mergeDefaultAndTheme=function(_e,$e){var Ie=fetchLayoutMode(this),Ve=Ie?getLayoutParams(_e):{},Fe=$e.getTheme();merge(_e,Fe.get(le+"Axis")),merge(_e,this.getDefaultOption()),_e.type=getAxisType(_e),Ie&&mergeLayoutParam(_e,Ve,Ie)},he.prototype.optionUpdated=function(){var _e=this.option;_e.type==="category"&&(this.__ordinalMeta=OrdinalMeta$1.createByAxisModel(this))},he.prototype.getCategories=function(_e){var $e=this.option;if($e.type==="category")return _e?$e.data:this.__ordinalMeta.categories},he.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},he.type=r+"Axis."+le,he.defaultOption=ue,he}(V);t.registerComponentModel(de)}),t.registerSubTypeDefaulter(r+"Axis",getAxisType)}function getAxisType(t){return t.type||(t.data?"category":"value")}var Cartesian=function(){function t(r){this.type="cartesian",this._dimList=[],this._axes={},this.name=r||""}return t.prototype.getAxis=function(r){return this._axes[r]},t.prototype.getAxes=function(){return map$2(this._dimList,function(r){return this._axes[r]},this)},t.prototype.getAxesByScale=function(r){return r=r.toLowerCase(),filter(this.getAxes(),function(V){return V.scale.type===r})},t.prototype.addAxis=function(r){var V=r.dim;this._axes[V]=r,this._dimList.push(V)},t}();const Cartesian$1=Cartesian;var cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(t){return t.type==="interval"||t.type==="time"}var Cartesian2D=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type="cartesian2d",V.dimensions=cartesian2DDimensions,V}return r.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var V=this.getAxis("x").scale,oe=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(V)||!canCalculateAffineTransform(oe))){var ie=V.getExtent(),le=oe.getExtent(),ue=this.dataToPoint([ie[0],le[0]]),de=this.dataToPoint([ie[1],le[1]]),pe=ie[1]-ie[0],he=le[1]-le[0];if(!(!pe||!he)){var _e=(de[0]-ue[0])/pe,$e=(de[1]-ue[1])/he,Ie=ue[0]-ie[0]*_e,Ve=ue[1]-le[0]*$e,Fe=this._transform=[_e,0,0,$e,Ie,Ve];this._invTransform=invert([],Fe)}}},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},r.prototype.containPoint=function(V){var oe=this.getAxis("x"),ie=this.getAxis("y");return oe.contain(oe.toLocalCoord(V[0]))&&ie.contain(ie.toLocalCoord(V[1]))},r.prototype.containData=function(V){return this.getAxis("x").containData(V[0])&&this.getAxis("y").containData(V[1])},r.prototype.containZone=function(V,oe){var ie=this.dataToPoint(V),le=this.dataToPoint(oe),ue=this.getArea(),de=new BoundingRect$1(ie[0],ie[1],le[0]-ie[0],le[1]-ie[1]);return ue.intersect(de)},r.prototype.dataToPoint=function(V,oe,ie){ie=ie||[];var le=V[0],ue=V[1];if(this._transform&&le!=null&&isFinite(le)&&ue!=null&&isFinite(ue))return applyTransform$1(ie,V,this._transform);var de=this.getAxis("x"),pe=this.getAxis("y");return ie[0]=de.toGlobalCoord(de.dataToCoord(le,oe)),ie[1]=pe.toGlobalCoord(pe.dataToCoord(ue,oe)),ie},r.prototype.clampData=function(V,oe){var ie=this.getAxis("x").scale,le=this.getAxis("y").scale,ue=ie.getExtent(),de=le.getExtent(),pe=ie.parse(V[0]),he=le.parse(V[1]);return oe=oe||[],oe[0]=Math.min(Math.max(Math.min(ue[0],ue[1]),pe),Math.max(ue[0],ue[1])),oe[1]=Math.min(Math.max(Math.min(de[0],de[1]),he),Math.max(de[0],de[1])),oe},r.prototype.pointToData=function(V,oe){var ie=[];if(this._invTransform)return applyTransform$1(ie,V,this._invTransform);var le=this.getAxis("x"),ue=this.getAxis("y");return ie[0]=le.coordToData(le.toLocalCoord(V[0]),oe),ie[1]=ue.coordToData(ue.toLocalCoord(V[1]),oe),ie},r.prototype.getOtherAxis=function(V){return this.getAxis(V.dim==="x"?"y":"x")},r.prototype.getArea=function(){var V=this.getAxis("x").getGlobalExtent(),oe=this.getAxis("y").getGlobalExtent(),ie=Math.min(V[0],V[1]),le=Math.min(oe[0],oe[1]),ue=Math.max(V[0],V[1])-ie,de=Math.max(oe[0],oe[1])-le;return new BoundingRect$1(ie,le,ue,de)},r}(Cartesian$1),Axis2D=function(t){__extends(r,t);function r(V,oe,ie,le,ue){var de=t.call(this,V,oe,ie)||this;return de.index=0,de.type=le||"value",de.position=ue||"bottom",de}return r.prototype.isHorizontal=function(){var V=this.position;return V==="top"||V==="bottom"},r.prototype.getGlobalExtent=function(V){var oe=this.getExtent();return oe[0]=this.toGlobalCoord(oe[0]),oe[1]=this.toGlobalCoord(oe[1]),V&&oe[0]>oe[1]&&oe.reverse(),oe},r.prototype.pointToData=function(V,oe){return this.coordToData(this.toLocalCoord(V[this.dim==="x"?0:1]),oe)},r.prototype.setCategorySortInfo=function(V){if(this.type!=="category")return!1;this.model.option.categorySortInfo=V,this.scale.setSortInfo(V)},r}(Axis$1);const Axis2D$1=Axis2D;function layout$1(t,r,V){V=V||{};var oe=t.coordinateSystem,ie=r.axis,le={},ue=ie.getAxesOnZeroOf()[0],de=ie.position,pe=ue?"onZero":de,he=ie.dim,_e=oe.getRect(),$e=[_e.x,_e.x+_e.width,_e.y,_e.y+_e.height],Ie={left:0,right:1,top:0,bottom:1,onZero:2},Ve=r.get("offset")||0,Fe=he==="x"?[$e[2]-Ve,$e[3]+Ve]:[$e[0]-Ve,$e[1]+Ve];if(ue){var Ue=ue.toGlobalCoord(ue.dataToCoord(0));Fe[Ie.onZero]=Math.max(Math.min(Ue,Fe[1]),Fe[0])}le.position=[he==="y"?Fe[Ie[pe]]:$e[0],he==="x"?Fe[Ie[pe]]:$e[3]],le.rotation=Math.PI/2*(he==="x"?0:1);var qe={top:-1,bottom:1,left:-1,right:1};le.labelDirection=le.tickDirection=le.nameDirection=qe[de],le.labelOffset=ue?Fe[Ie[de]]-Fe[Ie.onZero]:0,r.get(["axisTick","inside"])&&(le.tickDirection=-le.tickDirection),retrieve(V.labelInside,r.get(["axisLabel","inside"]))&&(le.labelDirection=-le.labelDirection);var Et=r.get(["axisLabel","rotate"]);return le.labelRotate=pe==="top"?-Et:Et,le.z2=1,le}function isCartesian2DSeries(t){return t.get("coordinateSystem")==="cartesian2d"}function findAxisModels(t){var r={xAxisModel:null,yAxisModel:null};return each$c(r,function(V,oe){var ie=oe.replace(/Model$/,""),le=t.getReferringComponents(ie,SINGLE_REFERRING).models[0];r[oe]=le}),r}var mathLog=Math.log;function alignScaleTicks(t,r,V){var oe=IntervalScale$1.prototype,ie=oe.getTicks.call(V),le=oe.getTicks.call(V,!0),ue=ie.length-1,de=oe.getInterval.call(V),pe=getScaleExtent(t,r),he=pe.extent,_e=pe.fixMin,$e=pe.fixMax;if(t.type==="log"){var Ie=mathLog(t.base);he=[mathLog(he[0])/Ie,mathLog(he[1])/Ie]}t.setExtent(he[0],he[1]),t.calcNiceExtent({splitNumber:ue,fixMin:_e,fixMax:$e});var Ve=oe.getExtent.call(t);_e&&(he[0]=Ve[0]),$e&&(he[1]=Ve[1]);var Fe=oe.getInterval.call(t),Ue=he[0],qe=he[1];if(_e&&$e)Fe=(qe-Ue)/ue;else if(_e)for(qe=he[0]+Fe*ue;qe<he[1]&&isFinite(qe)&&isFinite(he[1]);)Fe=increaseInterval(Fe),qe=he[0]+Fe*ue;else if($e)for(Ue=he[1]-Fe*ue;Ue>he[0]&&isFinite(Ue)&&isFinite(he[0]);)Fe=increaseInterval(Fe),Ue=he[1]-Fe*ue;else{var Et=t.getTicks().length-1;Et>ue&&(Fe=increaseInterval(Fe));var At=Fe*ue;qe=Math.ceil(he[1]/Fe)*Fe,Ue=round$1(qe-At),Ue<0&&he[0]>=0?(Ue=0,qe=round$1(At)):qe>0&&he[1]<=0&&(qe=0,Ue=-round$1(At))}var Lt=(ie[0].value-le[0].value)/de,hn=(ie[ue].value-le[ue].value)/de;oe.setExtent.call(t,Ue+Fe*Lt,qe+Fe*hn),oe.setInterval.call(t,Fe),(Lt||hn)&&oe.setNiceExtent.call(t,Ue+Fe,qe-Fe)}var Grid=function(){function t(r,V,oe){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian(r,V,oe),this.model=r}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(r,V){var oe=this._axesMap;this._updateScale(r,this.model);function ie(ue){var de,pe=keys(ue),he=pe.length;if(he){for(var _e=[],$e=he-1;$e>=0;$e--){var Ie=+pe[$e],Ve=ue[Ie],Fe=Ve.model,Ue=Ve.scale;isIntervalOrLogScale(Ue)&&Fe.get("alignTicks")&&Fe.get("interval")==null?_e.push(Ve):(niceScaleExtent(Ue,Fe),isIntervalOrLogScale(Ue)&&(de=Ve))}_e.length&&(de||(de=_e.pop(),niceScaleExtent(de.scale,de.model)),each$c(_e,function(qe){alignScaleTicks(qe.scale,qe.model,de.scale)}))}}ie(oe.x),ie(oe.y);var le={};each$c(oe.x,function(ue){fixAxisOnZero(oe,"y",ue,le)}),each$c(oe.y,function(ue){fixAxisOnZero(oe,"x",ue,le)}),this.resize(this.model,V)},t.prototype.resize=function(r,V,oe){var ie=r.getBoxLayoutParams(),le=!oe&&r.get("containLabel"),ue=getLayoutRect(ie,{width:V.getWidth(),height:V.getHeight()});this._rect=ue;var de=this._axesList;pe(),le&&(each$c(de,function(he){if(!he.model.get(["axisLabel","inside"])){var _e=estimateLabelUnionRect(he);if(_e){var $e=he.isHorizontal()?"height":"width",Ie=he.model.get(["axisLabel","margin"]);ue[$e]-=_e[$e]+Ie,he.position==="top"?ue.y+=_e.height+Ie:he.position==="left"&&(ue.x+=_e.width+Ie)}}}),pe()),each$c(this._coordsList,function(he){he.calcAffineTransform()});function pe(){each$c(de,function(he){var _e=he.isHorizontal(),$e=_e?[0,ue.width]:[0,ue.height],Ie=he.inverse?1:0;he.setExtent($e[Ie],$e[1-Ie]),updateAxisTransform(he,_e?ue.x:ue.y)})}},t.prototype.getAxis=function(r,V){var oe=this._axesMap[r];if(oe!=null)return oe[V||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(r,V){if(r!=null&&V!=null){var oe="x"+r+"y"+V;return this._coordsMap[oe]}isObject$3(r)&&(V=r.yAxisIndex,r=r.xAxisIndex);for(var ie=0,le=this._coordsList;ie<le.length;ie++)if(le[ie].getAxis("x").index===r||le[ie].getAxis("y").index===V)return le[ie]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(r,V,oe){var ie=this._findConvertTarget(V);return ie.cartesian?ie.cartesian.dataToPoint(oe):ie.axis?ie.axis.toGlobalCoord(ie.axis.dataToCoord(oe)):null},t.prototype.convertFromPixel=function(r,V,oe){var ie=this._findConvertTarget(V);return ie.cartesian?ie.cartesian.pointToData(oe):ie.axis?ie.axis.coordToData(ie.axis.toLocalCoord(oe)):null},t.prototype._findConvertTarget=function(r){var V=r.seriesModel,oe=r.xAxisModel||V&&V.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],ie=r.yAxisModel||V&&V.getReferringComponents("yAxis",SINGLE_REFERRING).models[0],le=r.gridModel,ue=this._coordsList,de,pe;if(V)de=V.coordinateSystem,indexOf(ue,de)<0&&(de=null);else if(oe&&ie)de=this.getCartesian(oe.componentIndex,ie.componentIndex);else if(oe)pe=this.getAxis("x",oe.componentIndex);else if(ie)pe=this.getAxis("y",ie.componentIndex);else if(le){var he=le.coordinateSystem;he===this&&(de=this._coordsList[0])}return{cartesian:de,axis:pe}},t.prototype.containPoint=function(r){var V=this._coordsList[0];if(V)return V.containPoint(r)},t.prototype._initCartesian=function(r,V,oe){var ie=this,le=this,ue={left:!1,right:!1,top:!1,bottom:!1},de={x:{},y:{}},pe={x:0,y:0};if(V.eachComponent("xAxis",he("x"),this),V.eachComponent("yAxis",he("y"),this),!pe.x||!pe.y){this._axesMap={},this._axesList=[];return}this._axesMap=de,each$c(de.x,function(_e,$e){each$c(de.y,function(Ie,Ve){var Fe="x"+$e+"y"+Ve,Ue=new Cartesian2D(Fe);Ue.master=ie,Ue.model=r,ie._coordsMap[Fe]=Ue,ie._coordsList.push(Ue),Ue.addAxis(_e),Ue.addAxis(Ie)})});function he(_e){return function($e,Ie){if(isAxisUsedInTheGrid($e,r)){var Ve=$e.get("position");_e==="x"?Ve!=="top"&&Ve!=="bottom"&&(Ve=ue.bottom?"top":"bottom"):Ve!=="left"&&Ve!=="right"&&(Ve=ue.left?"right":"left"),ue[Ve]=!0;var Fe=new Axis2D$1(_e,createScaleByModel($e),[0,0],$e.get("type"),Ve),Ue=Fe.type==="category";Fe.onBand=Ue&&$e.get("boundaryGap"),Fe.inverse=$e.get("inverse"),$e.axis=Fe,Fe.model=$e,Fe.grid=le,Fe.index=Ie,le._axesList.push(Fe),de[_e][Ie]=Fe,pe[_e]++}}}},t.prototype._updateScale=function(r,V){each$c(this._axesList,function(ie){if(ie.scale.setExtent(1/0,-1/0),ie.type==="category"){var le=ie.model.get("categorySortInfo");ie.scale.setSortInfo(le)}}),r.eachSeries(function(ie){if(isCartesian2DSeries(ie)){var le=findAxisModels(ie),ue=le.xAxisModel,de=le.yAxisModel;if(!isAxisUsedInTheGrid(ue,V)||!isAxisUsedInTheGrid(de,V))return;var pe=this.getCartesian(ue.componentIndex,de.componentIndex),he=ie.getData(),_e=pe.getAxis("x"),$e=pe.getAxis("y");oe(he,_e),oe(he,$e)}},this);function oe(ie,le){each$c(getDataDimensionsOnAxis(ie,le.dim),function(ue){le.scale.unionExtentFromData(ie,ue)})}},t.prototype.getTooltipAxes=function(r){var V=[],oe=[];return each$c(this.getCartesians(),function(ie){var le=r!=null&&r!=="auto"?ie.getAxis(r):ie.getBaseAxis(),ue=ie.getOtherAxis(le);indexOf(V,le)<0&&V.push(le),indexOf(oe,ue)<0&&oe.push(ue)}),{baseAxes:V,otherAxes:oe}},t.create=function(r,V){var oe=[];return r.eachComponent("grid",function(ie,le){var ue=new t(ie,r,V);ue.name="grid_"+le,ue.resize(ie,V,!0),ie.coordinateSystem=ue,oe.push(ue)}),r.eachSeries(function(ie){if(isCartesian2DSeries(ie)){var le=findAxisModels(ie),ue=le.xAxisModel,de=le.yAxisModel,pe=ue.getCoordSysModel(),he=pe.coordinateSystem;ie.coordinateSystem=he.getCartesian(ue.componentIndex,de.componentIndex)}}),oe},t.dimensions=cartesian2DDimensions,t}();function isAxisUsedInTheGrid(t,r){return t.getCoordSysModel()===r}function fixAxisOnZero(t,r,V,oe){V.getAxesOnZeroOf=function(){return le?[le]:[]};var ie=t[r],le,ue=V.model,de=ue.get(["axisLine","onZero"]),pe=ue.get(["axisLine","onZeroAxisIndex"]);if(!de)return;if(pe!=null)canOnZeroToAxis(ie[pe])&&(le=ie[pe]);else for(var he in ie)if(ie.hasOwnProperty(he)&&canOnZeroToAxis(ie[he])&&!oe[_e(ie[he])]){le=ie[he];break}le&&(oe[_e(le)]=!0);function _e($e){return $e.dim+"_"+$e.index}}function canOnZeroToAxis(t){return t&&t.type!=="category"&&t.type!=="time"&&ifAxisCrossZero(t)}function updateAxisTransform(t,r){var V=t.getExtent(),oe=V[0]+V[1];t.toGlobalCoord=t.dim==="x"?function(ie){return ie+r}:function(ie){return oe-ie+r},t.toLocalCoord=t.dim==="x"?function(ie){return ie-r}:function(ie){return oe-ie+r}}const Grid$1=Grid;var PI=Math.PI,AxisBuilder=function(){function t(r,V){this.group=new Group$3,this.opt=V,this.axisModel=r,defaults(V,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var oe=new Group$3({x:V.position[0],y:V.position[1],rotation:V.rotation});oe.updateTransform(),this._transformGroup=oe}return t.prototype.hasBuilder=function(r){return!!builders[r]},t.prototype.add=function(r){builders[r](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(r,V,oe){var ie=remRadian(V-r),le,ue;return isRadianAroundZero(ie)?(ue=oe>0?"top":"bottom",le="center"):isRadianAroundZero(ie-PI)?(ue=oe>0?"bottom":"top",le="center"):(ue="middle",ie>0&&ie<PI?le=oe>0?"right":"left":le=oe>0?"left":"right"),{rotation:ie,textAlign:le,textVerticalAlign:ue}},t.makeAxisEventDataBase=function(r){var V={componentType:r.mainType,componentIndex:r.componentIndex};return V[r.mainType+"Index"]=r.componentIndex,V},t.isLabelSilent=function(r){var V=r.get("tooltip");return r.get("silent")||!(r.get("triggerEvent")||V&&V.show)},t}(),builders={axisLine:function(t,r,V,oe){var ie=r.get(["axisLine","show"]);if(ie==="auto"&&t.handleAutoShown&&(ie=t.handleAutoShown("axisLine")),!!ie){var le=r.axis.getExtent(),ue=oe.transform,de=[le[0],0],pe=[le[1],0],he=de[0]>pe[0];ue&&(applyTransform$1(de,de,ue),applyTransform$1(pe,pe,ue));var _e=extend({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),$e=new Line$1({shape:{x1:de[0],y1:de[1],x2:pe[0],y2:pe[1]},style:_e,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine($e.shape,$e.style.lineWidth),$e.anid="line",V.add($e);var Ie=r.get(["axisLine","symbol"]);if(Ie!=null){var Ve=r.get(["axisLine","symbolSize"]);isString(Ie)&&(Ie=[Ie,Ie]),(isString(Ve)||isNumber(Ve))&&(Ve=[Ve,Ve]);var Fe=normalizeSymbolOffset(r.get(["axisLine","symbolOffset"])||0,Ve),Ue=Ve[0],qe=Ve[1];each$c([{rotate:t.rotation+Math.PI/2,offset:Fe[0],r:0},{rotate:t.rotation-Math.PI/2,offset:Fe[1],r:Math.sqrt((de[0]-pe[0])*(de[0]-pe[0])+(de[1]-pe[1])*(de[1]-pe[1]))}],function(Et,At){if(Ie[At]!=="none"&&Ie[At]!=null){var Lt=createSymbol(Ie[At],-Ue/2,-qe/2,Ue,qe,_e.stroke,!0),hn=Et.r+Et.offset,_n=he?pe:de;Lt.attr({rotation:Et.rotate,x:_n[0]+hn*Math.cos(t.rotation),y:_n[1]-hn*Math.sin(t.rotation),silent:!0,z2:11}),V.add(Lt)}})}}},axisTickLabel:function(t,r,V,oe){var ie=buildAxisMajorTicks(V,oe,r,t),le=buildAxisLabel(V,oe,r,t);if(fixMinMaxLabelShow(r,le,ie),buildAxisMinorTicks(V,oe,r,t.tickDirection),r.get(["axisLabel","hideOverlap"])){var ue=prepareLayoutList(map$2(le,function(de){return{label:de,priority:de.z2,defaultAttr:{ignore:de.ignore}}}));hideOverlap(ue)}},axisName:function(t,r,V,oe){var ie=retrieve(t.axisName,r.get("name"));if(ie){var le=r.get("nameLocation"),ue=t.nameDirection,de=r.getModel("nameTextStyle"),pe=r.get("nameGap")||0,he=r.axis.getExtent(),_e=he[0]>he[1]?-1:1,$e=[le==="start"?he[0]-_e*pe:le==="end"?he[1]+_e*pe:(he[0]+he[1])/2,isNameLocationCenter(le)?t.labelOffset+ue*pe:0],Ie,Ve=r.get("nameRotate");Ve!=null&&(Ve=Ve*PI/180);var Fe;isNameLocationCenter(le)?Ie=AxisBuilder.innerTextLayout(t.rotation,Ve??t.rotation,ue):(Ie=endTextLayout(t.rotation,le,Ve||0,he),Fe=t.axisNameAvailableWidth,Fe!=null&&(Fe=Math.abs(Fe/Math.sin(Ie.rotation)),!isFinite(Fe)&&(Fe=null)));var Ue=de.getFont(),qe=r.get("nameTruncate",!0)||{},Et=qe.ellipsis,At=retrieve(t.nameTruncateMaxWidth,qe.maxWidth,Fe),Lt=new ZRText$1({x:$e[0],y:$e[1],rotation:Ie.rotation,silent:AxisBuilder.isLabelSilent(r),style:createTextStyle$1(de,{text:ie,font:Ue,overflow:"truncate",width:At,ellipsis:Et,fill:de.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:de.get("align")||Ie.textAlign,verticalAlign:de.get("verticalAlign")||Ie.textVerticalAlign}),z2:1});if(setTooltipConfig({el:Lt,componentModel:r,itemName:ie}),Lt.__fullText=ie,Lt.anid="name",r.get("triggerEvent")){var hn=AxisBuilder.makeAxisEventDataBase(r);hn.targetType="axisName",hn.name=ie,getECData(Lt).eventData=hn}oe.add(Lt),Lt.updateTransform(),V.add(Lt),Lt.decomposeTransform()}}};function endTextLayout(t,r,V,oe){var ie=remRadian(V-t),le,ue,de=oe[0]>oe[1],pe=r==="start"&&!de||r!=="start"&&de;return isRadianAroundZero(ie-PI/2)?(ue=pe?"bottom":"top",le="center"):isRadianAroundZero(ie-PI*1.5)?(ue=pe?"top":"bottom",le="center"):(ue="middle",ie<PI*1.5&&ie>PI/2?le=pe?"left":"right":le=pe?"right":"left"),{rotation:ie,textAlign:le,textVerticalAlign:ue}}function fixMinMaxLabelShow(t,r,V){if(!shouldShowAllLabels(t.axis)){var oe=t.get(["axisLabel","showMinLabel"]),ie=t.get(["axisLabel","showMaxLabel"]);r=r||[],V=V||[];var le=r[0],ue=r[1],de=r[r.length-1],pe=r[r.length-2],he=V[0],_e=V[1],$e=V[V.length-1],Ie=V[V.length-2];oe===!1?(ignoreEl(le),ignoreEl(he)):isTwoLabelOverlapped(le,ue)&&(oe?(ignoreEl(ue),ignoreEl(_e)):(ignoreEl(le),ignoreEl(he))),ie===!1?(ignoreEl(de),ignoreEl($e)):isTwoLabelOverlapped(pe,de)&&(ie?(ignoreEl(pe),ignoreEl(Ie)):(ignoreEl(de),ignoreEl($e)))}}function ignoreEl(t){t&&(t.ignore=!0)}function isTwoLabelOverlapped(t,r){var V=t&&t.getBoundingRect().clone(),oe=r&&r.getBoundingRect().clone();if(!(!V||!oe)){var ie=identity([]);return rotate(ie,ie,-t.rotation),V.applyTransform(mul([],ie,t.getLocalTransform())),oe.applyTransform(mul([],ie,r.getLocalTransform())),V.intersect(oe)}}function isNameLocationCenter(t){return t==="middle"||t==="center"}function createTicks(t,r,V,oe,ie){for(var le=[],ue=[],de=[],pe=0;pe<t.length;pe++){var he=t[pe].coord;ue[0]=he,ue[1]=0,de[0]=he,de[1]=V,r&&(applyTransform$1(ue,ue,r),applyTransform$1(de,de,r));var _e=new Line$1({shape:{x1:ue[0],y1:ue[1],x2:de[0],y2:de[1]},style:oe,z2:2,autoBatch:!0,silent:!0});subPixelOptimizeLine(_e.shape,_e.style.lineWidth),_e.anid=ie+"_"+t[pe].tickValue,le.push(_e)}return le}function buildAxisMajorTicks(t,r,V,oe){var ie=V.axis,le=V.getModel("axisTick"),ue=le.get("show");if(ue==="auto"&&oe.handleAutoShown&&(ue=oe.handleAutoShown("axisTick")),!(!ue||ie.scale.isBlank())){for(var de=le.getModel("lineStyle"),pe=oe.tickDirection*le.get("length"),he=ie.getTicksCoords(),_e=createTicks(he,r.transform,pe,defaults(de.getLineStyle(),{stroke:V.get(["axisLine","lineStyle","color"])}),"ticks"),$e=0;$e<_e.length;$e++)t.add(_e[$e]);return _e}}function buildAxisMinorTicks(t,r,V,oe){var ie=V.axis,le=V.getModel("minorTick");if(!(!le.get("show")||ie.scale.isBlank())){var ue=ie.getMinorTicksCoords();if(ue.length)for(var de=le.getModel("lineStyle"),pe=oe*le.get("length"),he=defaults(de.getLineStyle(),defaults(V.getModel("axisTick").getLineStyle(),{stroke:V.get(["axisLine","lineStyle","color"])})),_e=0;_e<ue.length;_e++)for(var $e=createTicks(ue[_e],r.transform,pe,he,"minorticks_"+_e),Ie=0;Ie<$e.length;Ie++)t.add($e[Ie])}}function buildAxisLabel(t,r,V,oe){var ie=V.axis,le=retrieve(oe.axisLabelShow,V.get(["axisLabel","show"]));if(!(!le||ie.scale.isBlank())){var ue=V.getModel("axisLabel"),de=ue.get("margin"),pe=ie.getViewLabels(),he=(retrieve(oe.labelRotate,ue.get("rotate"))||0)*PI/180,_e=AxisBuilder.innerTextLayout(oe.rotation,he,oe.labelDirection),$e=V.getCategories&&V.getCategories(!0),Ie=[],Ve=AxisBuilder.isLabelSilent(V),Fe=V.get("triggerEvent");return each$c(pe,function(Ue,qe){var Et=ie.scale.type==="ordinal"?ie.scale.getRawOrdinalNumber(Ue.tickValue):Ue.tickValue,At=Ue.formattedLabel,Lt=Ue.rawLabel,hn=ue;if($e&&$e[Et]){var _n=$e[Et];isObject$3(_n)&&_n.textStyle&&(hn=new Model$1(_n.textStyle,ue,V.ecModel))}var vn=hn.getTextColor()||V.get(["axisLine","lineStyle","color"]),bn=ie.dataToCoord(Et),Cn=new ZRText$1({x:bn,y:oe.labelOffset+oe.labelDirection*de,rotation:_e.rotation,silent:Ve,z2:10+(Ue.level||0),style:createTextStyle$1(hn,{text:At,align:hn.getShallow("align",!0)||_e.textAlign,verticalAlign:hn.getShallow("verticalAlign",!0)||hn.getShallow("baseline",!0)||_e.textVerticalAlign,fill:isFunction(vn)?vn(ie.type==="category"?Lt:ie.type==="value"?Et+"":Et,qe):vn})});if(Cn.anid="label_"+Et,Fe){var Sn=AxisBuilder.makeAxisEventDataBase(V);Sn.targetType="axisLabel",Sn.value=Lt,Sn.tickIndex=qe,ie.type==="category"&&(Sn.dataIndex=Et),getECData(Cn).eventData=Sn}r.add(Cn),Cn.updateTransform(),Ie.push(Cn),t.add(Cn),Cn.decomposeTransform()}),Ie}}const AxisBuilder$1=AxisBuilder;function collect(t,r){var V={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return collectAxesInfo(V,t,r),V.seriesInvolved&&collectSeriesInfo(V,t),V}function collectAxesInfo(t,r,V){var oe=r.getComponent("tooltip"),ie=r.getComponent("axisPointer"),le=ie.get("link",!0)||[],ue=[];each$c(V.getCoordinateSystems(),function(de){if(!de.axisPointerEnabled)return;var pe=makeKey(de.model),he=t.coordSysAxesInfo[pe]={};t.coordSysMap[pe]=de;var _e=de.model,$e=_e.getModel("tooltip",oe);if(each$c(de.getAxes(),curry$1(Ue,!1,null)),de.getTooltipAxes&&oe&&$e.get("show")){var Ie=$e.get("trigger")==="axis",Ve=$e.get(["axisPointer","type"])==="cross",Fe=de.getTooltipAxes($e.get(["axisPointer","axis"]));(Ie||Ve)&&each$c(Fe.baseAxes,curry$1(Ue,Ve?"cross":!0,Ie)),Ve&&each$c(Fe.otherAxes,curry$1(Ue,"cross",!1))}function Ue(qe,Et,At){var Lt=At.model.getModel("axisPointer",ie),hn=Lt.get("show");if(!(!hn||hn==="auto"&&!qe&&!isHandleTrigger(Lt))){Et==null&&(Et=Lt.get("triggerTooltip")),Lt=qe?makeAxisPointerModel(At,$e,ie,r,qe,Et):Lt;var _n=Lt.get("snap"),vn=Lt.get("triggerEmphasis"),bn=makeKey(At.model),Cn=Et||_n||At.type==="category",Sn=t.axesInfo[bn]={key:bn,axis:At,coordSys:de,axisPointerModel:Lt,triggerTooltip:Et,triggerEmphasis:vn,involveSeries:Cn,snap:_n,useHandle:isHandleTrigger(Lt),seriesModels:[],linkGroup:null};he[bn]=Sn,t.seriesInvolved=t.seriesInvolved||Cn;var wn=getLinkGroupIndex(le,At);if(wn!=null){var En=ue[wn]||(ue[wn]={axesInfo:{}});En.axesInfo[bn]=Sn,En.mapper=le[wn].mapper,Sn.linkGroup=En}}}})}function makeAxisPointerModel(t,r,V,oe,ie,le){var ue=r.getModel("axisPointer"),de=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],pe={};each$c(de,function(Ie){pe[Ie]=clone$3(ue.get(Ie))}),pe.snap=t.type!=="category"&&!!le,ue.get("type")==="cross"&&(pe.type="line");var he=pe.label||(pe.label={});if(he.show==null&&(he.show=!1),ie==="cross"){var _e=ue.get(["label","show"]);if(he.show=_e??!0,!le){var $e=pe.lineStyle=ue.get("crossStyle");$e&&defaults(he,$e.textStyle)}}return t.model.getModel("axisPointer",new Model$1(pe,V,oe))}function collectSeriesInfo(t,r){r.eachSeries(function(V){var oe=V.coordinateSystem,ie=V.get(["tooltip","trigger"],!0),le=V.get(["tooltip","show"],!0);!oe||ie==="none"||ie===!1||ie==="item"||le===!1||V.get(["axisPointer","show"],!0)===!1||each$c(t.coordSysAxesInfo[makeKey(oe.model)],function(ue){var de=ue.axis;oe.getAxis(de.dim)===de&&(ue.seriesModels.push(V),ue.seriesDataCount==null&&(ue.seriesDataCount=0),ue.seriesDataCount+=V.getData().count())})})}function getLinkGroupIndex(t,r){for(var V=r.model,oe=r.dim,ie=0;ie<t.length;ie++){var le=t[ie]||{};if(checkPropInLink(le[oe+"AxisId"],V.id)||checkPropInLink(le[oe+"AxisIndex"],V.componentIndex)||checkPropInLink(le[oe+"AxisName"],V.name))return ie}}function checkPropInLink(t,r){return t==="all"||isArray$1(t)&&indexOf(t,r)>=0||t===r}function fixValue(t){var r=getAxisInfo(t);if(r){var V=r.axisPointerModel,oe=r.axis.scale,ie=V.option,le=V.get("status"),ue=V.get("value");ue!=null&&(ue=oe.parse(ue));var de=isHandleTrigger(V);le==null&&(ie.status=de?"show":"hide");var pe=oe.getExtent().slice();pe[0]>pe[1]&&pe.reverse(),(ue==null||ue>pe[1])&&(ue=pe[1]),ue<pe[0]&&(ue=pe[0]),ie.value=ue,de&&(ie.status=r.axis.scale.isBlank()?"hide":"show")}}function getAxisInfo(t){var r=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return r&&r.axesInfo[makeKey(t)]}function getAxisPointerModel(t){var r=getAxisInfo(t);return r&&r.axisPointerModel}function isHandleTrigger(t){return!!t.get(["handle","show"])}function makeKey(t){return t.type+"||"+t.id}var axisPointerClazz={},AxisView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.render=function(V,oe,ie,le){this.axisPointerClass&&fixValue(V),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(V,ie,!0)},r.prototype.updateAxisPointer=function(V,oe,ie,le){this._doUpdateAxisPointerClass(V,ie,!1)},r.prototype.remove=function(V,oe){var ie=this._axisPointer;ie&&ie.remove(oe)},r.prototype.dispose=function(V,oe){this._disposeAxisPointer(oe),t.prototype.dispose.apply(this,arguments)},r.prototype._doUpdateAxisPointerClass=function(V,oe,ie){var le=r.getAxisPointerClass(this.axisPointerClass);if(le){var ue=getAxisPointerModel(V);ue?(this._axisPointer||(this._axisPointer=new le)).render(V,ue,oe,ie):this._disposeAxisPointer(oe)}},r.prototype._disposeAxisPointer=function(V){this._axisPointer&&this._axisPointer.dispose(V),this._axisPointer=null},r.registerAxisPointerClass=function(V,oe){axisPointerClazz[V]=oe},r.getAxisPointerClass=function(V){return V&&axisPointerClazz[V]},r.type="axis",r}(ComponentView$1);const AxisView$1=AxisView;var inner$6=makeInner();function rectCoordAxisBuildSplitArea(t,r,V,oe){var ie=V.axis;if(!ie.scale.isBlank()){var le=V.getModel("splitArea"),ue=le.getModel("areaStyle"),de=ue.get("color"),pe=oe.coordinateSystem.getRect(),he=ie.getTicksCoords({tickModel:le,clamp:!0});if(he.length){var _e=de.length,$e=inner$6(t).splitAreaColors,Ie=createHashMap(),Ve=0;if($e)for(var Fe=0;Fe<he.length;Fe++){var Ue=$e.get(he[Fe].tickValue);if(Ue!=null){Ve=(Ue+(_e-1)*Fe)%_e;break}}var qe=ie.toGlobalCoord(he[0].coord),Et=ue.getAreaStyle();de=isArray$1(de)?de:[de];for(var Fe=1;Fe<he.length;Fe++){var At=ie.toGlobalCoord(he[Fe].coord),Lt=void 0,hn=void 0,_n=void 0,vn=void 0;ie.isHorizontal()?(Lt=qe,hn=pe.y,_n=At-Lt,vn=pe.height,qe=Lt+_n):(Lt=pe.x,hn=qe,_n=pe.width,vn=At-hn,qe=hn+vn);var bn=he[Fe-1].tickValue;bn!=null&&Ie.set(bn,Ve),r.add(new Rect$2({anid:bn!=null?"area_"+bn:null,shape:{x:Lt,y:hn,width:_n,height:vn},style:defaults({fill:de[Ve]},Et),autoBatch:!0,silent:!0})),Ve=(Ve+1)%_e}inner$6(t).splitAreaColors=Ie}}}function rectCoordAxisHandleRemove(t){inner$6(t).splitAreaColors=null}var axisBuilderAttrs=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs=["splitArea","splitLine","minorSplitLine"],CartesianAxisView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.axisPointerClass="CartesianAxisPointer",V}return r.prototype.render=function(V,oe,ie,le){this.group.removeAll();var ue=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!V.get("show")){var de=V.getCoordSysModel(),pe=layout$1(de,V),he=new AxisBuilder$1(V,extend({handleAutoShown:function($e){for(var Ie=de.coordinateSystem.getCartesians(),Ve=0;Ve<Ie.length;Ve++)if(isIntervalOrLogScale(Ie[Ve].getOtherAxis(V.axis).scale))return!0;return!1}},pe));each$c(axisBuilderAttrs,he.add,he),this._axisGroup.add(he.getGroup()),each$c(selfBuilderAttrs,function($e){V.get([$e,"show"])&&axisElementBuilders[$e](this,this._axisGroup,V,de)},this);var _e=le&&le.type==="changeAxisOrder"&&le.isInitSort;_e||groupTransition(ue,this._axisGroup,V),t.prototype.render.call(this,V,oe,ie,le)}},r.prototype.remove=function(){rectCoordAxisHandleRemove(this)},r.type="cartesianAxis",r}(AxisView$1),axisElementBuilders={splitLine:function(t,r,V,oe){var ie=V.axis;if(!ie.scale.isBlank()){var le=V.getModel("splitLine"),ue=le.getModel("lineStyle"),de=ue.get("color");de=isArray$1(de)?de:[de];for(var pe=oe.coordinateSystem.getRect(),he=ie.isHorizontal(),_e=0,$e=ie.getTicksCoords({tickModel:le}),Ie=[],Ve=[],Fe=ue.getLineStyle(),Ue=0;Ue<$e.length;Ue++){var qe=ie.toGlobalCoord($e[Ue].coord);he?(Ie[0]=qe,Ie[1]=pe.y,Ve[0]=qe,Ve[1]=pe.y+pe.height):(Ie[0]=pe.x,Ie[1]=qe,Ve[0]=pe.x+pe.width,Ve[1]=qe);var Et=_e++%de.length,At=$e[Ue].tickValue,Lt=new Line$1({anid:At!=null?"line_"+$e[Ue].tickValue:null,autoBatch:!0,shape:{x1:Ie[0],y1:Ie[1],x2:Ve[0],y2:Ve[1]},style:defaults({stroke:de[Et]},Fe),silent:!0});subPixelOptimizeLine(Lt.shape,Fe.lineWidth),r.add(Lt)}}},minorSplitLine:function(t,r,V,oe){var ie=V.axis,le=V.getModel("minorSplitLine"),ue=le.getModel("lineStyle"),de=oe.coordinateSystem.getRect(),pe=ie.isHorizontal(),he=ie.getMinorTicksCoords();if(he.length)for(var _e=[],$e=[],Ie=ue.getLineStyle(),Ve=0;Ve<he.length;Ve++)for(var Fe=0;Fe<he[Ve].length;Fe++){var Ue=ie.toGlobalCoord(he[Ve][Fe].coord);pe?(_e[0]=Ue,_e[1]=de.y,$e[0]=Ue,$e[1]=de.y+de.height):(_e[0]=de.x,_e[1]=Ue,$e[0]=de.x+de.width,$e[1]=Ue);var qe=new Line$1({anid:"minor_line_"+he[Ve][Fe].tickValue,autoBatch:!0,shape:{x1:_e[0],y1:_e[1],x2:$e[0],y2:$e[1]},style:Ie,silent:!0});subPixelOptimizeLine(qe.shape,Ie.lineWidth),r.add(qe)}},splitArea:function(t,r,V,oe){rectCoordAxisBuildSplitArea(t,r,V,oe)}},CartesianXAxisView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.type="xAxis",r}(CartesianAxisView),CartesianYAxisView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=CartesianXAxisView.type,V}return r.type="yAxis",r}(CartesianAxisView),GridView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type="grid",V}return r.prototype.render=function(V,oe){this.group.removeAll(),V.get("show")&&this.group.add(new Rect$2({shape:V.coordinateSystem.getRect(),style:defaults({fill:V.get("backgroundColor")},V.getItemStyle()),silent:!0,z2:-1}))},r.type="grid",r}(ComponentView$1),extraOption={offset:0};function install$g(t){t.registerComponentView(GridView),t.registerComponentModel(GridModel$1),t.registerCoordinateSystem("cartesian2d",Grid$1),axisModelCreator(t,"x",CartesianAxisModel,extraOption),axisModelCreator(t,"y",CartesianAxisModel,extraOption),t.registerComponentView(CartesianXAxisView),t.registerComponentView(CartesianYAxisView),t.registerPreprocessor(function(r){r.xAxis&&r.yAxis&&!r.grid&&(r.grid={})})}var ATTR="\0_ec_interaction_mutex";function take(t,r,V){var oe=getStore(t);oe[r]=V}function release(t,r,V){var oe=getStore(t),ie=oe[r];ie===V&&(oe[r]=null)}function isTaken(t,r){return!!getStore(t)[r]}function getStore(t){return t[ATTR]||(t[ATTR]={})}registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},noop);var RoamController=function(t){__extends(r,t);function r(V){var oe=t.call(this)||this;oe._zr=V;var ie=bind$1(oe._mousedownHandler,oe),le=bind$1(oe._mousemoveHandler,oe),ue=bind$1(oe._mouseupHandler,oe),de=bind$1(oe._mousewheelHandler,oe),pe=bind$1(oe._pinchHandler,oe);return oe.enable=function(he,_e){this.disable(),this._opt=defaults(clone$3(_e)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),he==null&&(he=!0),(he===!0||he==="move"||he==="pan")&&(V.on("mousedown",ie),V.on("mousemove",le),V.on("mouseup",ue)),(he===!0||he==="scale"||he==="zoom")&&(V.on("mousewheel",de),V.on("pinch",pe))},oe.disable=function(){V.off("mousedown",ie),V.off("mousemove",le),V.off("mouseup",ue),V.off("mousewheel",de),V.off("pinch",pe)},oe}return r.prototype.isDragging=function(){return this._dragging},r.prototype.isPinching=function(){return this._pinching},r.prototype.setPointerChecker=function(V){this.pointerChecker=V},r.prototype.dispose=function(){this.disable()},r.prototype._mousedownHandler=function(V){if(!isMiddleOrRightButtonOnMouseUpDown(V)){for(var oe=V.target;oe;){if(oe.draggable)return;oe=oe.__hostTarget||oe.parent}var ie=V.offsetX,le=V.offsetY;this.pointerChecker&&this.pointerChecker(V,ie,le)&&(this._x=ie,this._y=le,this._dragging=!0)}},r.prototype._mousemoveHandler=function(V){if(!(!this._dragging||!isAvailableBehavior("moveOnMouseMove",V,this._opt)||V.gestureEvent==="pinch"||isTaken(this._zr,"globalPan"))){var oe=V.offsetX,ie=V.offsetY,le=this._x,ue=this._y,de=oe-le,pe=ie-ue;this._x=oe,this._y=ie,this._opt.preventDefaultMouseMove&&stop(V.event),trigger$1(this,"pan","moveOnMouseMove",V,{dx:de,dy:pe,oldX:le,oldY:ue,newX:oe,newY:ie,isAvailableBehavior:null})}},r.prototype._mouseupHandler=function(V){isMiddleOrRightButtonOnMouseUpDown(V)||(this._dragging=!1)},r.prototype._mousewheelHandler=function(V){var oe=isAvailableBehavior("zoomOnMouseWheel",V,this._opt),ie=isAvailableBehavior("moveOnMouseWheel",V,this._opt),le=V.wheelDelta,ue=Math.abs(le),de=V.offsetX,pe=V.offsetY;if(!(le===0||!oe&&!ie)){if(oe){var he=ue>3?1.4:ue>1?1.2:1.1,_e=le>0?he:1/he;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",V,{scale:_e,originX:de,originY:pe,isAvailableBehavior:null})}if(ie){var $e=Math.abs(le),Ie=(le>0?1:-1)*($e>3?.4:$e>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",V,{scrollDelta:Ie,originX:de,originY:pe,isAvailableBehavior:null})}}},r.prototype._pinchHandler=function(V){if(!isTaken(this._zr,"globalPan")){var oe=V.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,V,{scale:oe,originX:V.pinchX,originY:V.pinchY,isAvailableBehavior:null})}},r}(Eventful$1);function checkPointerAndTrigger(t,r,V,oe,ie){t.pointerChecker&&t.pointerChecker(oe,ie.originX,ie.originY)&&(stop(oe.event),trigger$1(t,r,V,oe,ie))}function trigger$1(t,r,V,oe,ie){ie.isAvailableBehavior=bind$1(isAvailableBehavior,null,V,oe),t.trigger(r,ie)}function isAvailableBehavior(t,r,V){var oe=V[t];return!t||oe&&(!isString(oe)||r.event[oe+"Key"])}const RoamController$1=RoamController;var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(t,r,V){var oe=r.getComponentByElement(t.topTarget),ie=oe&&oe.coordinateSystem;return oe&&oe!==V&&!IRRELEVANT_EXCLUDES.hasOwnProperty(oe.mainType)&&ie&&ie.model!==V}var each$9=each$c,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function t(r){var V=r.mappingMethod,oe=r.type,ie=this.option=clone$3(r);this.type=oe,this.mappingMethod=V,this._normalizeData=normalizers[V];var le=t.visualHandlers[oe];this.applyVisual=le.applyVisual,this.getColorMapper=le.getColorMapper,this._normalizedToVisual=le._normalizedToVisual[V],V==="piecewise"?(normalizeVisualRange(ie),preprocessForPiecewise(ie)):V==="category"?ie.categories?preprocessForSpecifiedCategory(ie):normalizeVisualRange(ie,!0):(assert(V!=="linear"||ie.dataExtent),normalizeVisualRange(ie))}return t.prototype.mapValueToVisual=function(r){var V=this._normalizeData(r);return this._normalizedToVisual(V,r)},t.prototype.getNormalizer=function(){return bind$1(this._normalizeData,this)},t.listVisualTypes=function(){return keys(t.visualHandlers)},t.isValidType=function(r){return t.visualHandlers.hasOwnProperty(r)},t.eachVisual=function(r,V,oe){isObject$3(r)?each$c(r,V,oe):V.call(oe,r)},t.mapVisual=function(r,V,oe){var ie,le=isArray$1(r)?[]:isObject$3(r)?{}:(ie=!0,null);return t.eachVisual(r,function(ue,de){var pe=V.call(oe,ue,de);ie?le=pe:le[de]=pe}),le},t.retrieveVisuals=function(r){var V={},oe;return r&&each$9(t.visualHandlers,function(ie,le){r.hasOwnProperty(le)&&(V[le]=r[le],oe=!0)}),oe?V:null},t.prepareVisualTypes=function(r){if(isArray$1(r))r=r.slice();else if(isObject(r)){var V=[];each$9(r,function(oe,ie){V.push(ie)}),r=V}else return[];return r.sort(function(oe,ie){return ie==="color"&&oe!=="color"&&oe.indexOf("color")===0?1:-1}),r},t.dependsOn=function(r,V){return V==="color"?!!(r&&r.indexOf(V)===0):r===V},t.findPieceIndex=function(r,V,oe){for(var ie,le=1/0,ue=0,de=V.length;ue<de;ue++){var pe=V[ue].value;if(pe!=null){if(pe===r||isString(pe)&&pe===r+"")return ue;oe&&Ie(pe,ue)}}for(var ue=0,de=V.length;ue<de;ue++){var he=V[ue],_e=he.interval,$e=he.close;if(_e){if(_e[0]===-1/0){if(littleThan($e[1],r,_e[1]))return ue}else if(_e[1]===1/0){if(littleThan($e[0],_e[0],r))return ue}else if(littleThan($e[0],_e[0],r)&&littleThan($e[1],r,_e[1]))return ue;oe&&Ie(_e[0],ue),oe&&Ie(_e[1],ue)}}if(oe)return r===1/0?V.length-1:r===-1/0?0:ie;function Ie(Ve,Fe){var Ue=Math.abs(Ve-r);Ue<le&&(le=Ue,ie=Fe)}},t.visualHandlers={color:{applyVisual:makeApplyVisual("color"),getColorMapper:function(){var r=this.option;return bind$1(r.mappingMethod==="category"?function(V,oe){return!oe&&(V=this._normalizeData(V)),doMapCategory.call(this,V)}:function(V,oe,ie){var le=!!ie;return!oe&&(V=this._normalizeData(V)),ie=fastLerp(V,r.parsedVisual,ie),le?ie:stringify(ie,"rgba")},this)},_normalizedToVisual:{linear:function(r){return stringify(fastLerp(r,this.option.parsedVisual),"rgba")},category:doMapCategory,piecewise:function(r,V){var oe=getSpecifiedVisual.call(this,V);return oe==null&&(oe=stringify(fastLerp(r,this.option.parsedVisual),"rgba")),oe},fixed:doMapFixed}},colorHue:makePartialColorVisualHandler(function(r,V){return modifyHSL(r,V)}),colorSaturation:makePartialColorVisualHandler(function(r,V){return modifyHSL(r,null,V)}),colorLightness:makePartialColorVisualHandler(function(r,V){return modifyHSL(r,null,null,V)}),colorAlpha:makePartialColorVisualHandler(function(r,V){return modifyAlpha(r,V)}),decal:{applyVisual:makeApplyVisual("decal"),_normalizedToVisual:{linear:null,category:doMapCategory,piecewise:null,fixed:null}},opacity:{applyVisual:makeApplyVisual("opacity"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])},liftZ:{applyVisual:makeApplyVisual("liftZ"),_normalizedToVisual:{linear:doMapFixed,category:doMapFixed,piecewise:doMapFixed,fixed:doMapFixed}},symbol:{applyVisual:function(r,V,oe){var ie=this.mapValueToVisual(r);oe("symbol",ie)},_normalizedToVisual:{linear:doMapToArray,category:doMapCategory,piecewise:function(r,V){var oe=getSpecifiedVisual.call(this,V);return oe==null&&(oe=doMapToArray.call(this,r)),oe},fixed:doMapFixed}},symbolSize:{applyVisual:makeApplyVisual("symbolSize"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])}},t}();function preprocessForPiecewise(t){var r=t.pieceList;t.hasSpecialVisual=!1,each$c(r,function(V,oe){V.originIndex=oe,V.visual!=null&&(t.hasSpecialVisual=!0)})}function preprocessForSpecifiedCategory(t){var r=t.categories,V=t.categoryMap={},oe=t.visual;if(each$9(r,function(ue,de){V[ue]=de}),!isArray$1(oe)){var ie=[];isObject$3(oe)?each$9(oe,function(ue,de){var pe=V[de];ie[pe??CATEGORY_DEFAULT_VISUAL_INDEX]=ue}):ie[CATEGORY_DEFAULT_VISUAL_INDEX]=oe,oe=setVisualToOption(t,ie)}for(var le=r.length-1;le>=0;le--)oe[le]==null&&(delete V[r[le]],r.pop())}function normalizeVisualRange(t,r){var V=t.visual,oe=[];isObject$3(V)?each$9(V,function(le){oe.push(le)}):V!=null&&oe.push(V);var ie={color:1,symbol:1};!r&&oe.length===1&&!ie.hasOwnProperty(t.type)&&(oe[1]=oe[0]),setVisualToOption(t,oe)}function makePartialColorVisualHandler(t){return{applyVisual:function(r,V,oe){var ie=this.mapValueToVisual(r);oe("color",t(V("color"),ie))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(t){var r=this.option.visual;return r[Math.round(linearMap$2(t,[0,1],[0,r.length-1],!0))]||{}}function makeApplyVisual(t){return function(r,V,oe){oe(t,this.mapValueToVisual(r))}}function doMapCategory(t){var r=this.option.visual;return r[this.option.loop&&t!==CATEGORY_DEFAULT_VISUAL_INDEX?t%r.length:t]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(t){return{linear:function(r){return linearMap$2(r,t,this.option.visual,!0)},category:doMapCategory,piecewise:function(r,V){var oe=getSpecifiedVisual.call(this,V);return oe==null&&(oe=linearMap$2(r,t,this.option.visual,!0)),oe},fixed:doMapFixed}}function getSpecifiedVisual(t){var r=this.option,V=r.pieceList;if(r.hasSpecialVisual){var oe=VisualMapping.findPieceIndex(t,V),ie=V[oe];if(ie&&ie.visual)return ie.visual[this.type]}}function setVisualToOption(t,r){return t.visual=r,t.type==="color"&&(t.parsedVisual=map$2(r,function(V){var oe=parse$1(V);return oe||[0,0,0,1]})),r}var normalizers={linear:function(t){return linearMap$2(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var r=this.option.pieceList,V=VisualMapping.findPieceIndex(t,r,!0);if(V!=null)return linearMap$2(V,[0,r.length-1],[0,1],!0)},category:function(t){var r=this.option.categories?this.option.categoryMap[t]:t;return r??CATEGORY_DEFAULT_VISUAL_INDEX},fixed:noop};function littleThan(t,r,V){return t?r<=V:r<V}const VisualMapping$1=VisualMapping;function sliderMove(t,r,V,oe,ie,le){t=t||0;var ue=V[1]-V[0];if(ie!=null&&(ie=restrict(ie,[0,ue])),le!=null&&(le=Math.max(le,ie??0)),oe==="all"){var de=Math.abs(r[1]-r[0]);de=restrict(de,[0,ue]),ie=le=restrict(de,[ie,le]),oe=0}r[0]=restrict(r[0],V),r[1]=restrict(r[1],V);var pe=getSpanSign(r,oe);r[oe]+=t;var he=ie||0,_e=V.slice();pe.sign<0?_e[0]+=he:_e[1]-=he,r[oe]=restrict(r[oe],_e);var $e;return $e=getSpanSign(r,oe),ie!=null&&($e.sign!==pe.sign||$e.span<ie)&&(r[1-oe]=r[oe]+pe.sign*ie),$e=getSpanSign(r,oe),le!=null&&$e.span>le&&(r[1-oe]=r[oe]+$e.sign*le),r}function getSpanSign(t,r){var V=t[r]-t[1-r];return{span:Math.abs(V),sign:V>0?-1:V<0?1:r?-1:1}}function restrict(t,r){return Math.min(r[1]!=null?r[1]:1/0,Math.max(r[0]!=null?r[0]:-1/0,t))}var BRUSH_PANEL_GLOBAL=!0,mathMin$1=Math.min,mathMax$1=Math.max,mathPow=Math.pow,COVER_Z=1e4,UNSELECT_THRESHOLD=6,MIN_RESIZE_LINE_WIDTH=6,MUTEX_RESOURCE_KEY="globalPan",DIRECTION_MAP={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},CURSOR_MAP={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},DEFAULT_BRUSH_OPT={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},baseUID=0,BrushController=function(t){__extends(r,t);function r(V){var oe=t.call(this)||this;return oe._track=[],oe._covers=[],oe._handlers={},oe._zr=V,oe.group=new Group$3,oe._uid="brushController_"+baseUID++,each$c(pointerHandlers,function(ie,le){this._handlers[le]=bind$1(ie,this)},oe),oe}return r.prototype.enableBrush=function(V){return this._brushType&&this._doDisableBrush(),V.brushType&&this._doEnableBrush(V),this},r.prototype._doEnableBrush=function(V){var oe=this._zr;this._enableGlobalPan||take(oe,MUTEX_RESOURCE_KEY,this._uid),each$c(this._handlers,function(ie,le){oe.on(le,ie)}),this._brushType=V.brushType,this._brushOption=merge(clone$3(DEFAULT_BRUSH_OPT),V,!0)},r.prototype._doDisableBrush=function(){var V=this._zr;release(V,MUTEX_RESOURCE_KEY,this._uid),each$c(this._handlers,function(oe,ie){V.off(ie,oe)}),this._brushType=this._brushOption=null},r.prototype.setPanels=function(V){if(V&&V.length){var oe=this._panels={};each$c(V,function(ie){oe[ie.panelId]=clone$3(ie)})}else this._panels=null;return this},r.prototype.mount=function(V){V=V||{},this._enableGlobalPan=V.enableGlobalPan;var oe=this.group;return this._zr.add(oe),oe.attr({x:V.x||0,y:V.y||0,rotation:V.rotation||0,scaleX:V.scaleX||1,scaleY:V.scaleY||1}),this._transform=oe.getLocalTransform(),this},r.prototype.updateCovers=function(V){V=map$2(V,function(Ie){return merge(clone$3(DEFAULT_BRUSH_OPT),Ie,!0)});var oe="\0-brush-index-",ie=this._covers,le=this._covers=[],ue=this,de=this._creatingCover;return new DataDiffer$1(ie,V,he,pe).add(_e).update(_e).remove($e).execute(),this;function pe(Ie,Ve){return(Ie.id!=null?Ie.id:oe+Ve)+"-"+Ie.brushType}function he(Ie,Ve){return pe(Ie.__brushOption,Ve)}function _e(Ie,Ve){var Fe=V[Ie];if(Ve!=null&&ie[Ve]===de)le[Ie]=ie[Ve];else{var Ue=le[Ie]=Ve!=null?(ie[Ve].__brushOption=Fe,ie[Ve]):endCreating(ue,createCover(ue,Fe));updateCoverAfterCreation(ue,Ue)}}function $e(Ie){ie[Ie]!==de&&ue.group.remove(ie[Ie])}},r.prototype.unmount=function(){return this.enableBrush(!1),clearCovers(this),this._zr.remove(this.group),this},r.prototype.dispose=function(){this.unmount(),this.off()},r}(Eventful$1);function createCover(t,r){var V=coverRenderers[r.brushType].createCover(t,r);return V.__brushOption=r,updateZ(V,r),t.group.add(V),V}function endCreating(t,r){var V=getCoverRenderer(r);return V.endCreating&&(V.endCreating(t,r),updateZ(r,r.__brushOption)),r}function updateCoverShape(t,r){var V=r.__brushOption;getCoverRenderer(r).updateCoverShape(t,r,V.range,V)}function updateZ(t,r){var V=r.z;V==null&&(V=COVER_Z),t.traverse(function(oe){oe.z=V,oe.z2=V})}function updateCoverAfterCreation(t,r){getCoverRenderer(r).updateCommon(t,r),updateCoverShape(t,r)}function getCoverRenderer(t){return coverRenderers[t.__brushOption.brushType]}function getPanelByPoint(t,r,V){var oe=t._panels;if(!oe)return BRUSH_PANEL_GLOBAL;var ie,le=t._transform;return each$c(oe,function(ue){ue.isTargetByCursor(r,V,le)&&(ie=ue)}),ie}function getPanelByCover(t,r){var V=t._panels;if(!V)return BRUSH_PANEL_GLOBAL;var oe=r.__brushOption.panelId;return oe!=null?V[oe]:BRUSH_PANEL_GLOBAL}function clearCovers(t){var r=t._covers,V=r.length;return each$c(r,function(oe){t.group.remove(oe)},t),r.length=0,!!V}function trigger(t,r){var V=map$2(t._covers,function(oe){var ie=oe.__brushOption,le=clone$3(ie.range);return{brushType:ie.brushType,panelId:ie.panelId,range:le}});t.trigger("brush",{areas:V,isEnd:!!r.isEnd,removeOnClick:!!r.removeOnClick})}function shouldShowCover(t){var r=t._track;if(!r.length)return!1;var V=r[r.length-1],oe=r[0],ie=V[0]-oe[0],le=V[1]-oe[1],ue=mathPow(ie*ie+le*le,.5);return ue>UNSELECT_THRESHOLD}function getTrackEnds(t){var r=t.length-1;return r<0&&(r=0),[t[0],t[r]]}function createBaseRectCover(t,r,V,oe){var ie=new Group$3;return ie.add(new Rect$2({name:"main",style:makeStyle(V),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,t,r,ie,["n","s","w","e"]),ondragend:curry$1(trigger,r,{isEnd:!0})})),each$c(oe,function(le){ie.add(new Rect$2({name:le.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,t,r,ie,le),ondragend:curry$1(trigger,r,{isEnd:!0})}))}),ie}function updateBaseRect(t,r,V,oe){var ie=oe.brushStyle.lineWidth||0,le=mathMax$1(ie,MIN_RESIZE_LINE_WIDTH),ue=V[0][0],de=V[1][0],pe=ue-ie/2,he=de-ie/2,_e=V[0][1],$e=V[1][1],Ie=_e-le+ie/2,Ve=$e-le+ie/2,Fe=_e-ue,Ue=$e-de,qe=Fe+ie,Et=Ue+ie;updateRectShape(t,r,"main",ue,de,Fe,Ue),oe.transformable&&(updateRectShape(t,r,"w",pe,he,le,Et),updateRectShape(t,r,"e",Ie,he,le,Et),updateRectShape(t,r,"n",pe,he,qe,le),updateRectShape(t,r,"s",pe,Ve,qe,le),updateRectShape(t,r,"nw",pe,he,le,le),updateRectShape(t,r,"ne",Ie,he,le,le),updateRectShape(t,r,"sw",pe,Ve,le,le),updateRectShape(t,r,"se",Ie,Ve,le,le))}function updateCommon(t,r){var V=r.__brushOption,oe=V.transformable,ie=r.childAt(0);ie.useStyle(makeStyle(V)),ie.attr({silent:!oe,cursor:oe?"move":"default"}),each$c([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(le){var ue=r.childOfName(le.join("")),de=le.length===1?getGlobalDirection1(t,le[0]):getGlobalDirection2(t,le);ue&&ue.attr({silent:!oe,invisible:!oe,cursor:oe?CURSOR_MAP[de]+"-resize":null})})}function updateRectShape(t,r,V,oe,ie,le,ue){var de=r.childOfName(V);de&&de.setShape(pointsToRect(clipByPanel(t,r,[[oe,ie],[oe+le,ie+ue]])))}function makeStyle(t){return defaults({strokeNoScale:!0},t.brushStyle)}function formatRectRange(t,r,V,oe){var ie=[mathMin$1(t,V),mathMin$1(r,oe)],le=[mathMax$1(t,V),mathMax$1(r,oe)];return[[ie[0],le[0]],[ie[1],le[1]]]}function getTransform(t){return getTransform$1(t.group)}function getGlobalDirection1(t,r){var V={w:"left",e:"right",n:"top",s:"bottom"},oe={left:"w",right:"e",top:"n",bottom:"s"},ie=transformDirection(V[r],getTransform(t));return oe[ie]}function getGlobalDirection2(t,r){var V=[getGlobalDirection1(t,r[0]),getGlobalDirection1(t,r[1])];return(V[0]==="e"||V[0]==="w")&&V.reverse(),V.join("")}function driftRect(t,r,V,oe,ie,le){var ue=V.__brushOption,de=t.toRectRange(ue.range),pe=toLocalDelta(r,ie,le);each$c(oe,function(he){var _e=DIRECTION_MAP[he];de[_e[0]][_e[1]]+=pe[_e[0]]}),ue.range=t.fromRectRange(formatRectRange(de[0][0],de[1][0],de[0][1],de[1][1])),updateCoverAfterCreation(r,V),trigger(r,{isEnd:!1})}function driftPolygon(t,r,V,oe){var ie=r.__brushOption.range,le=toLocalDelta(t,V,oe);each$c(ie,function(ue){ue[0]+=le[0],ue[1]+=le[1]}),updateCoverAfterCreation(t,r),trigger(t,{isEnd:!1})}function toLocalDelta(t,r,V){var oe=t.group,ie=oe.transformCoordToLocal(r,V),le=oe.transformCoordToLocal(0,0);return[ie[0]-le[0],ie[1]-le[1]]}function clipByPanel(t,r,V){var oe=getPanelByCover(t,r);return oe&&oe!==BRUSH_PANEL_GLOBAL?oe.clipPath(V,t._transform):clone$3(V)}function pointsToRect(t){var r=mathMin$1(t[0][0],t[1][0]),V=mathMin$1(t[0][1],t[1][1]),oe=mathMax$1(t[0][0],t[1][0]),ie=mathMax$1(t[0][1],t[1][1]);return{x:r,y:V,width:oe-r,height:ie-V}}function resetCursor(t,r,V){if(!(!t._brushType||isOutsideZrArea(t,r.offsetX,r.offsetY))){var oe=t._zr,ie=t._covers,le=getPanelByPoint(t,r,V);if(!t._dragging)for(var ue=0;ue<ie.length;ue++){var de=ie[ue].__brushOption;if(le&&(le===BRUSH_PANEL_GLOBAL||de.panelId===le.panelId)&&coverRenderers[de.brushType].contain(ie[ue],V[0],V[1]))return}le&&oe.setCursorStyle("crosshair")}}function preventDefault(t){var r=t.event;r.preventDefault&&r.preventDefault()}function mainShapeContain(t,r,V){return t.childOfName("main").contain(r,V)}function updateCoverByMouse(t,r,V,oe){var ie=t._creatingCover,le=t._creatingPanel,ue=t._brushOption,de;if(t._track.push(V.slice()),shouldShowCover(t)||ie){if(le&&!ie){ue.brushMode==="single"&&clearCovers(t);var pe=clone$3(ue);pe.brushType=determineBrushType(pe.brushType,le),pe.panelId=le===BRUSH_PANEL_GLOBAL?null:le.panelId,ie=t._creatingCover=createCover(t,pe),t._covers.push(ie)}if(ie){var he=coverRenderers[determineBrushType(t._brushType,le)],_e=ie.__brushOption;_e.range=he.getCreatingRange(clipByPanel(t,ie,t._track)),oe&&(endCreating(t,ie),he.updateCommon(t,ie)),updateCoverShape(t,ie),de={isEnd:oe}}}else oe&&ue.brushMode==="single"&&ue.removeOnClick&&getPanelByPoint(t,r,V)&&clearCovers(t)&&(de={isEnd:oe,removeOnClick:!0});return de}function determineBrushType(t,r){return t==="auto"?r.defaultBrushType:t}var pointerHandlers={mousedown:function(t){if(this._dragging)handleDragEnd(this,t);else if(!t.target||!t.target.draggable){preventDefault(t);var r=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var V=this._creatingPanel=getPanelByPoint(this,t,r);V&&(this._dragging=!0,this._track=[r.slice()])}},mousemove:function(t){var r=t.offsetX,V=t.offsetY,oe=this.group.transformCoordToLocal(r,V);if(resetCursor(this,t,oe),this._dragging){preventDefault(t);var ie=updateCoverByMouse(this,t,oe,!1);ie&&trigger(this,ie)}},mouseup:function(t){handleDragEnd(this,t)}};function handleDragEnd(t,r){if(t._dragging){preventDefault(r);var V=r.offsetX,oe=r.offsetY,ie=t.group.transformCoordToLocal(V,oe),le=updateCoverByMouse(t,r,ie,!0);t._dragging=!1,t._track=[],t._creatingCover=null,le&&trigger(t,le)}}function isOutsideZrArea(t,r,V){var oe=t._zr;return r<0||r>oe.getWidth()||V<0||V>oe.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(t,r){function V(oe){return oe}return createBaseRectCover({toRectRange:V,fromRectRange:V},t,r,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var r=getTrackEnds(t);return formatRectRange(r[1][0],r[1][1],r[0][0],r[0][1])},updateCoverShape:function(t,r,V,oe){updateBaseRect(t,r,V,oe)},updateCommon,contain:mainShapeContain},polygon:{createCover:function(t,r){var V=new Group$3;return V.add(new Polyline$1({name:"main",style:makeStyle(r),silent:!0})),V},getCreatingRange:function(t){return t},endCreating:function(t,r){r.remove(r.childAt(0)),r.add(new Polygon$1({name:"main",draggable:!0,drift:curry$1(driftPolygon,t,r),ondragend:curry$1(trigger,t,{isEnd:!0})}))},updateCoverShape:function(t,r,V,oe){r.childAt(0).setShape({points:clipByPanel(t,r,V)})},updateCommon,contain:mainShapeContain}};function getLineRenderer(t){return{createCover:function(r,V){return createBaseRectCover({toRectRange:function(oe){var ie=[oe,[0,100]];return t&&ie.reverse(),ie},fromRectRange:function(oe){return oe[t]}},r,V,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(r){var V=getTrackEnds(r),oe=mathMin$1(V[0][t],V[1][t]),ie=mathMax$1(V[0][t],V[1][t]);return[oe,ie]},updateCoverShape:function(r,V,oe,ie){var le,ue=getPanelByCover(r,V);if(ue!==BRUSH_PANEL_GLOBAL&&ue.getLinearBrushOtherExtent)le=ue.getLinearBrushOtherExtent(t);else{var de=r._zr;le=[0,[de.getWidth(),de.getHeight()][1-t]]}var pe=[oe,le];t&&pe.reverse(),updateBaseRect(r,V,pe,ie)},updateCommon,contain:mainShapeContain}}const BrushController$1=BrushController;function makeRectPanelClipPath(t){return t=normalizeRect(t),function(r){return clipPointsByRect(r,t)}}function makeLinearBrushOtherExtent(t,r){return t=normalizeRect(t),function(V){var oe=r??V,ie=oe?t.width:t.height,le=oe?t.x:t.y;return[le,le+(ie||0)]}}function makeRectIsTargetByCursor(t,r,V){var oe=normalizeRect(t);return function(ie,le){return oe.contain(le[0],le[1])&&!onIrrelevantElement(ie,r,V)}}function normalizeRect(t){return BoundingRect$1.create(t)}function isEC4CompatibleStyle(t,r,V,oe){return t&&(t.legacy||t.legacy!==!1&&!V&&!oe&&r!=="tspan"&&(r==="text"||hasOwn(t,"text")))}function convertFromEC4CompatibleStyle(t,r,V){var oe=t,ie,le,ue;if(r==="text")ue=oe;else{ue={},hasOwn(oe,"text")&&(ue.text=oe.text),hasOwn(oe,"rich")&&(ue.rich=oe.rich),hasOwn(oe,"textFill")&&(ue.fill=oe.textFill),hasOwn(oe,"textStroke")&&(ue.stroke=oe.textStroke),hasOwn(oe,"fontFamily")&&(ue.fontFamily=oe.fontFamily),hasOwn(oe,"fontSize")&&(ue.fontSize=oe.fontSize),hasOwn(oe,"fontStyle")&&(ue.fontStyle=oe.fontStyle),hasOwn(oe,"fontWeight")&&(ue.fontWeight=oe.fontWeight),le={type:"text",style:ue,silent:!0},ie={};var de=hasOwn(oe,"textPosition");V?ie.position=de?oe.textPosition:"inside":de&&(ie.position=oe.textPosition),hasOwn(oe,"textPosition")&&(ie.position=oe.textPosition),hasOwn(oe,"textOffset")&&(ie.offset=oe.textOffset),hasOwn(oe,"textRotation")&&(ie.rotation=oe.textRotation),hasOwn(oe,"textDistance")&&(ie.distance=oe.textDistance)}return convertEC4CompatibleRichItem(ue,t),each$c(ue.rich,function(pe){convertEC4CompatibleRichItem(pe,pe)}),{textConfig:ie,textContent:le}}function convertEC4CompatibleRichItem(t,r){r&&(r.font=r.textFont||r.font,hasOwn(r,"textStrokeWidth")&&(t.lineWidth=r.textStrokeWidth),hasOwn(r,"textAlign")&&(t.align=r.textAlign),hasOwn(r,"textVerticalAlign")&&(t.verticalAlign=r.textVerticalAlign),hasOwn(r,"textLineHeight")&&(t.lineHeight=r.textLineHeight),hasOwn(r,"textWidth")&&(t.width=r.textWidth),hasOwn(r,"textHeight")&&(t.height=r.textHeight),hasOwn(r,"textBackgroundColor")&&(t.backgroundColor=r.textBackgroundColor),hasOwn(r,"textPadding")&&(t.padding=r.textPadding),hasOwn(r,"textBorderColor")&&(t.borderColor=r.textBorderColor),hasOwn(r,"textBorderWidth")&&(t.borderWidth=r.textBorderWidth),hasOwn(r,"textBorderRadius")&&(t.borderRadius=r.textBorderRadius),hasOwn(r,"textBoxShadowColor")&&(t.shadowColor=r.textBoxShadowColor),hasOwn(r,"textBoxShadowBlur")&&(t.shadowBlur=r.textBoxShadowBlur),hasOwn(r,"textBoxShadowOffsetX")&&(t.shadowOffsetX=r.textBoxShadowOffsetX),hasOwn(r,"textBoxShadowOffsetY")&&(t.shadowOffsetY=r.textBoxShadowOffsetY))}var LEGACY_TRANSFORM_PROPS_MAP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},LEGACY_TRANSFORM_PROPS=keys(LEGACY_TRANSFORM_PROPS_MAP);reduce(TRANSFORMABLE_PROPS,function(t,r){return t[r]=1,t},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(t,r,V,oe,ie){var le=t+"Animation",ue=getAnimationConfig(t,oe,ie)||{},de=transitionInnerStore(r).userDuring;return ue.duration>0&&(ue.during=de?bind$1(duringCall,{el:r,userDuring:de}):null,ue.setToFinal=!0,ue.scope=t),extend(ue,V[le]),ue}function applyUpdateTransition(t,r,V,oe){oe=oe||{};var ie=oe.dataIndex,le=oe.isInit,ue=oe.clearStyle,de=V.isAnimationEnabled(),pe=transitionInnerStore(t),he=r.style;pe.userDuring=r.during;var _e={},$e={};if(prepareTransformAllPropsFinal(t,r,$e),prepareShapeOrExtraAllPropsFinal("shape",r,$e),prepareShapeOrExtraAllPropsFinal("extra",r,$e),!le&&de&&(prepareTransformTransitionFrom(t,r,_e),prepareShapeOrExtraTransitionFrom("shape",t,r,_e),prepareShapeOrExtraTransitionFrom("extra",t,r,_e),prepareStyleTransitionFrom(t,r,he,_e)),$e.style=he,applyPropsDirectly(t,$e,ue),applyMiscProps(t,r),de)if(le){var Ie={};each$c(ELEMENT_ANIMATABLE_PROPS,function(Fe){var Ue=Fe?r[Fe]:r;Ue&&Ue.enterFrom&&(Fe&&(Ie[Fe]=Ie[Fe]||{}),extend(Fe?Ie[Fe]:Ie,Ue.enterFrom))});var Ve=getElementAnimationConfig("enter",t,r,V,ie);Ve.duration>0&&t.animateFrom(Ie,Ve)}else applyPropsTransition(t,r,ie||0,V,_e);updateLeaveTo(t,r),he?t.dirty():t.markRedraw()}function updateLeaveTo(t,r){for(var V=transitionInnerStore(t).leaveToProps,oe=0;oe<ELEMENT_ANIMATABLE_PROPS.length;oe++){var ie=ELEMENT_ANIMATABLE_PROPS[oe],le=ie?r[ie]:r;le&&le.leaveTo&&(V||(V=transitionInnerStore(t).leaveToProps={}),ie&&(V[ie]=V[ie]||{}),extend(ie?V[ie]:V,le.leaveTo))}}function applyLeaveTransition(t,r,V,oe){if(t){var ie=t.parent,le=transitionInnerStore(t).leaveToProps;if(le){var ue=getElementAnimationConfig("update",t,r,V,0);ue.done=function(){ie.remove(t),oe&&oe()},t.animateTo(le,ue)}else ie.remove(t),oe&&oe()}}function isTransitionAll(t){return t==="all"}function applyPropsDirectly(t,r,V){var oe=r.style;if(!t.isGroup&&oe){if(V){t.useStyle({});for(var ie=t.animators,le=0;le<ie.length;le++){var ue=ie[le];ue.targetName==="style"&&ue.changeTarget(t.style)}}t.setStyle(oe)}r&&(r.style=null,r&&t.attr(r),r.style=oe)}function applyPropsTransition(t,r,V,oe,ie){if(ie){var le=getElementAnimationConfig("update",t,r,oe,V);le.duration>0&&t.animateFrom(ie,le)}}function applyMiscProps(t,r){hasOwn(r,"silent")&&(t.silent=r.silent),hasOwn(r,"ignore")&&(t.ignore=r.ignore),t instanceof Displayable$1&&hasOwn(r,"invisible")&&(t.invisible=r.invisible),t instanceof Path$1&&hasOwn(r,"autoBatch")&&(t.autoBatch=r.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(t,r){return tmpDuringScope.el[t]=r,this},getTransform:function(t){return tmpDuringScope.el[t]},setShape:function(t,r){var V=tmpDuringScope.el,oe=V.shape||(V.shape={});return oe[t]=r,V.dirtyShape&&V.dirtyShape(),this},getShape:function(t){var r=tmpDuringScope.el.shape;if(r)return r[t]},setStyle:function(t,r){var V=tmpDuringScope.el,oe=V.style;return oe&&(oe[t]=r,V.dirtyStyle&&V.dirtyStyle()),this},getStyle:function(t){var r=tmpDuringScope.el.style;if(r)return r[t]},setExtra:function(t,r){var V=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return V[t]=r,this},getExtra:function(t){var r=tmpDuringScope.el.extra;if(r)return r[t]}};function duringCall(){var t=this,r=t.el;if(r){var V=transitionInnerStore(r).userDuring,oe=t.userDuring;if(V!==oe){t.el=t.userDuring=null;return}tmpDuringScope.el=r,oe(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(t,r,V,oe){var ie=V[t];if(ie){var le=r[t],ue;if(le){var de=V.transition,pe=ie.transition;if(pe)if(!ue&&(ue=oe[t]={}),isTransitionAll(pe))extend(ue,le);else for(var he=normalizeToArray(pe),_e=0;_e<he.length;_e++){var $e=he[_e],Ie=le[$e];ue[$e]=Ie}else if(isTransitionAll(de)||indexOf(de,t)>=0){!ue&&(ue=oe[t]={});for(var Ve=keys(le),_e=0;_e<Ve.length;_e++){var $e=Ve[_e],Ie=le[$e];isNonStyleTransitionEnabled(ie[$e],Ie)&&(ue[$e]=Ie)}}}}}function prepareShapeOrExtraAllPropsFinal(t,r,V){var oe=r[t];if(oe)for(var ie=V[t]={},le=keys(oe),ue=0;ue<le.length;ue++){var de=le[ue];ie[de]=cloneValue(oe[de])}}function prepareTransformTransitionFrom(t,r,V){for(var oe=r.transition,ie=isTransitionAll(oe)?TRANSFORMABLE_PROPS:normalizeToArray(oe||[]),le=0;le<ie.length;le++){var ue=ie[le];if(!(ue==="style"||ue==="shape"||ue==="extra")){var de=t[ue];V[ue]=de}}}function prepareTransformAllPropsFinal(t,r,V){for(var oe=0;oe<LEGACY_TRANSFORM_PROPS.length;oe++){var ie=LEGACY_TRANSFORM_PROPS[oe],le=LEGACY_TRANSFORM_PROPS_MAP[ie],ue=r[ie];ue&&(V[le[0]]=ue[0],V[le[1]]=ue[1])}for(var oe=0;oe<TRANSFORMABLE_PROPS.length;oe++){var de=TRANSFORMABLE_PROPS[oe];r[de]!=null&&(V[de]=r[de])}}function prepareStyleTransitionFrom(t,r,V,oe){if(V){var ie=t.style,le;if(ie){var ue=V.transition,de=r.transition;if(ue&&!isTransitionAll(ue)){var pe=normalizeToArray(ue);!le&&(le=oe.style={});for(var he=0;he<pe.length;he++){var _e=pe[he],$e=ie[_e];le[_e]=$e}}else if(t.getAnimationStyleProps&&(isTransitionAll(de)||isTransitionAll(ue)||indexOf(de,"style")>=0)){var Ie=t.getAnimationStyleProps(),Ve=Ie?Ie.style:null;if(Ve){!le&&(le=oe.style={});for(var Fe=keys(V),he=0;he<Fe.length;he++){var _e=Fe[he];if(Ve[_e]){var $e=ie[_e];le[_e]=$e}}}}}}}function isNonStyleTransitionEnabled(t,r){return isArrayLike(t)?t!==r:t!=null&&isFinite(t)}var getStateToRestore=makeInner(),KEYFRAME_EXCLUDE_KEYS=["percent","easing","shape","style","extra"];function stopPreviousKeyframeAnimationAndRestore(t){t.stopAnimation("keyframe"),t.attr(getStateToRestore(t))}function applyKeyframeAnimation(t,r,V){if(!(!V.isAnimationEnabled()||!r)){if(isArray$1(r)){each$c(r,function(de){applyKeyframeAnimation(t,de,V)});return}var oe=r.keyframes,ie=r.duration;if(V&&ie==null){var le=getAnimationConfig("enter",V,0);ie=le&&le.duration}if(!(!oe||!ie)){var ue=getStateToRestore(t);each$c(ELEMENT_ANIMATABLE_PROPS,function(de){if(!(de&&!t[de])){var pe;oe.sort(function(he,_e){return he.percent-_e.percent}),each$c(oe,function(he){var _e=t.animators,$e=de?he[de]:he;if($e){var Ie=keys($e);if(de||(Ie=filter(Ie,function(Ue){return indexOf(KEYFRAME_EXCLUDE_KEYS,Ue)<0})),!!Ie.length){pe||(pe=t.animate(de,r.loop,!0),pe.scope="keyframe");for(var Ve=0;Ve<_e.length;Ve++)_e[Ve]!==pe&&_e[Ve].targetName===pe.targetName&&_e[Ve].stopTracks(Ie);de&&(ue[de]=ue[de]||{});var Fe=de?ue[de]:ue;each$c(Ie,function(Ue){Fe[Ue]=((de?t[de]:t)||{})[Ue]}),pe.whenWithKeys(ie*he.percent,$e,Ie,he.easing)}}}),pe&&pe.delay(r.delay||0).duration(ie).start(r.easing)}})}}}var inner$5=makeInner(),clone=clone$3,bind=bind$1,BaseAxisPointer=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(r,V,oe,ie){var le=V.get("value"),ue=V.get("status");if(this._axisModel=r,this._axisPointerModel=V,this._api=oe,!(!ie&&this._lastValue===le&&this._lastStatus===ue)){this._lastValue=le,this._lastStatus=ue;var de=this._group,pe=this._handle;if(!ue||ue==="hide"){de&&de.hide(),pe&&pe.hide();return}de&&de.show(),pe&&pe.show();var he={};this.makeElOption(he,le,r,V,oe);var _e=he.graphicKey;_e!==this._lastGraphicKey&&this.clear(oe),this._lastGraphicKey=_e;var $e=this._moveAnimation=this.determineAnimation(r,V);if(!de)de=this._group=new Group$3,this.createPointerEl(de,he,r,V),this.createLabelEl(de,he,r,V),oe.getZr().add(de);else{var Ie=curry$1(updateProps,V,$e);this.updatePointerEl(de,he,Ie),this.updateLabelEl(de,he,Ie,V)}updateMandatoryProps(de,V,!0),this._renderHandle(le)}},t.prototype.remove=function(r){this.clear(r)},t.prototype.dispose=function(r){this.clear(r)},t.prototype.determineAnimation=function(r,V){var oe=V.get("animation"),ie=r.axis,le=ie.type==="category",ue=V.get("snap");if(!ue&&!le)return!1;if(oe==="auto"||oe==null){var de=this.animationThreshold;if(le&&ie.getBandWidth()>de)return!0;if(ue){var pe=getAxisInfo(r).seriesDataCount,he=ie.getExtent();return Math.abs(he[0]-he[1])/pe>de}return!1}return oe===!0},t.prototype.makeElOption=function(r,V,oe,ie,le){},t.prototype.createPointerEl=function(r,V,oe,ie){var le=V.pointer;if(le){var ue=inner$5(r).pointerEl=new graphic$1[le.type](clone(V.pointer));r.add(ue)}},t.prototype.createLabelEl=function(r,V,oe,ie){if(V.label){var le=inner$5(r).labelEl=new ZRText$1(clone(V.label));r.add(le),updateLabelShowHide(le,ie)}},t.prototype.updatePointerEl=function(r,V,oe){var ie=inner$5(r).pointerEl;ie&&V.pointer&&(ie.setStyle(V.pointer.style),oe(ie,{shape:V.pointer.shape}))},t.prototype.updateLabelEl=function(r,V,oe,ie){var le=inner$5(r).labelEl;le&&(le.setStyle(V.label.style),oe(le,{x:V.label.x,y:V.label.y}),updateLabelShowHide(le,ie))},t.prototype._renderHandle=function(r){if(!(this._dragging||!this.updateHandleTransform)){var V=this._axisPointerModel,oe=this._api.getZr(),ie=this._handle,le=V.getModel("handle"),ue=V.get("status");if(!le.get("show")||!ue||ue==="hide"){ie&&oe.remove(ie),this._handle=null;return}var de;this._handle||(de=!0,ie=this._handle=createIcon(le.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(he){stop(he.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),oe.add(ie)),updateMandatoryProps(ie,V,!1),ie.setStyle(le.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var pe=le.get("size");isArray$1(pe)||(pe=[pe,pe]),ie.scaleX=pe[0]/2,ie.scaleY=pe[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",le.get("throttle")||0,"fixRate"),this._moveHandleToValue(r,de)}},t.prototype._moveHandleToValue=function(r,V){updateProps(this._axisPointerModel,!V&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(r,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(r,V){var oe=this._handle;if(oe){this._dragging=!0;var ie=this.updateHandleTransform(getHandleTransProps(oe),[r,V],this._axisModel,this._axisPointerModel);this._payloadInfo=ie,oe.stopAnimation(),oe.attr(getHandleTransProps(ie)),inner$5(oe).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var r=this._handle;if(r){var V=this._payloadInfo,oe=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:V.cursorPoint[0],y:V.cursorPoint[1],tooltipOption:V.tooltipOption,axesInfo:[{axisDim:oe.axis.dim,axisIndex:oe.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var r=this._handle;if(r){var V=this._axisPointerModel.get("value");this._moveHandleToValue(V),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(r){this._lastValue=null,this._lastStatus=null;var V=r.getZr(),oe=this._group,ie=this._handle;V&&oe&&(this._lastGraphicKey=null,oe&&V.remove(oe),ie&&V.remove(ie),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(r,V,oe){return oe=oe||0,{x:r[oe],y:r[1-oe],width:V[oe],height:V[1-oe]}},t}();function updateProps(t,r,V,oe){propsEqual(inner$5(V).lastProp,oe)||(inner$5(V).lastProp=oe,r?updateProps$1(V,oe,t):(V.stopAnimation(),V.attr(oe)))}function propsEqual(t,r){if(isObject$3(t)&&isObject$3(r)){var V=!0;return each$c(r,function(oe,ie){V=V&&propsEqual(t[ie],oe)}),!!V}else return t===r}function updateLabelShowHide(t,r){t[r.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function updateMandatoryProps(t,r,V){var oe=r.get("z"),ie=r.get("zlevel");t&&t.traverse(function(le){le.type!=="group"&&(oe!=null&&(le.z=oe),ie!=null&&(le.zlevel=ie),le.silent=V)})}const BaseAxisPointer$1=BaseAxisPointer;function buildElStyle(t){var r=t.get("type"),V=t.getModel(r+"Style"),oe;return r==="line"?(oe=V.getLineStyle(),oe.fill=null):r==="shadow"&&(oe=V.getAreaStyle(),oe.stroke=null),oe}function buildLabelElOption(t,r,V,oe,ie){var le=V.get("value"),ue=getValueLabel(le,r.axis,r.ecModel,V.get("seriesDataIndices"),{precision:V.get(["label","precision"]),formatter:V.get(["label","formatter"])}),de=V.getModel("label"),pe=normalizeCssArray(de.get("padding")||0),he=de.getFont(),_e=getBoundingRect(ue,he),$e=ie.position,Ie=_e.width+pe[1]+pe[3],Ve=_e.height+pe[0]+pe[2],Fe=ie.align;Fe==="right"&&($e[0]-=Ie),Fe==="center"&&($e[0]-=Ie/2);var Ue=ie.verticalAlign;Ue==="bottom"&&($e[1]-=Ve),Ue==="middle"&&($e[1]-=Ve/2),confineInContainer($e,Ie,Ve,oe);var qe=de.get("backgroundColor");(!qe||qe==="auto")&&(qe=r.get(["axisLine","lineStyle","color"])),t.label={x:$e[0],y:$e[1],style:createTextStyle$1(de,{text:ue,font:he,fill:de.getTextColor(),padding:pe,backgroundColor:qe}),z2:10}}function confineInContainer(t,r,V,oe){var ie=oe.getWidth(),le=oe.getHeight();t[0]=Math.min(t[0]+r,ie)-r,t[1]=Math.min(t[1]+V,le)-V,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function getValueLabel(t,r,V,oe,ie){t=r.scale.parse(t);var le=r.scale.getLabel({value:t},{precision:ie.precision}),ue=ie.formatter;if(ue){var de={value:getAxisRawValue(r,{value:t}),axisDimension:r.dim,axisIndex:r.index,seriesData:[]};each$c(oe,function(pe){var he=V.getSeriesByIndex(pe.seriesIndex),_e=pe.dataIndexInside,$e=he&&he.getDataParams(_e);$e&&de.seriesData.push($e)}),isString(ue)?le=ue.replace("{value}",le):isFunction(ue)&&(le=ue(de))}return le}function getTransformedPosition(t,r,V){var oe=create();return rotate(oe,oe,V.rotation),translate(oe,oe,V.position),applyTransform([t.dataToCoord(r),(V.labelOffset||0)+(V.labelDirection||1)*(V.labelMargin||0)],oe)}function buildCartesianSingleLabelElOption(t,r,V,oe,ie,le){var ue=AxisBuilder$1.innerTextLayout(V.rotation,0,V.labelDirection);V.labelMargin=ie.get(["label","margin"]),buildLabelElOption(r,oe,ie,le,{position:getTransformedPosition(oe.axis,t,V),align:ue.textAlign,verticalAlign:ue.textVerticalAlign})}function makeLineShape(t,r,V){return V=V||0,{x1:t[V],y1:t[1-V],x2:r[V],y2:r[1-V]}}function makeRectShape(t,r,V){return V=V||0,{x:t[V],y:t[1-V],width:r[V],height:r[1-V]}}var CartesianAxisPointer=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.makeElOption=function(V,oe,ie,le,ue){var de=ie.axis,pe=de.grid,he=le.get("type"),_e=getCartesian(pe,de).getOtherAxis(de).getGlobalExtent(),$e=de.toGlobalCoord(de.dataToCoord(oe,!0));if(he&&he!=="none"){var Ie=buildElStyle(le),Ve=pointerShapeBuilder[he](de,$e,_e);Ve.style=Ie,V.graphicKey=Ve.type,V.pointer=Ve}var Fe=layout$1(pe.model,ie);buildCartesianSingleLabelElOption(oe,V,Fe,ie,le,ue)},r.prototype.getHandleTransform=function(V,oe,ie){var le=layout$1(oe.axis.grid.model,oe,{labelInside:!1});le.labelMargin=ie.get(["handle","margin"]);var ue=getTransformedPosition(oe.axis,V,le);return{x:ue[0],y:ue[1],rotation:le.rotation+(le.labelDirection<0?Math.PI:0)}},r.prototype.updateHandleTransform=function(V,oe,ie,le){var ue=ie.axis,de=ue.grid,pe=ue.getGlobalExtent(!0),he=getCartesian(de,ue).getOtherAxis(ue).getGlobalExtent(),_e=ue.dim==="x"?0:1,$e=[V.x,V.y];$e[_e]+=oe[_e],$e[_e]=Math.min(pe[1],$e[_e]),$e[_e]=Math.max(pe[0],$e[_e]);var Ie=(he[1]+he[0])/2,Ve=[Ie,Ie];Ve[_e]=$e[_e];var Fe=[{verticalAlign:"middle"},{align:"center"}];return{x:$e[0],y:$e[1],rotation:V.rotation,cursorPoint:Ve,tooltipOption:Fe[_e]}},r}(BaseAxisPointer$1);function getCartesian(t,r){var V={};return V[r.dim+"AxisIndex"]=r.index,t.getCartesian(V)}var pointerShapeBuilder={line:function(t,r,V){var oe=makeLineShape([r,V[0]],[r,V[1]],getAxisDimIndex(t));return{type:"Line",subPixelOptimize:!0,shape:oe}},shadow:function(t,r,V){var oe=Math.max(1,t.getBandWidth()),ie=V[1]-V[0];return{type:"Rect",shape:makeRectShape([r-oe/2,V[0]],[oe,ie],getAxisDimIndex(t))}}};function getAxisDimIndex(t){return t.dim==="x"?0:1}const CartesianAxisPointer$1=CartesianAxisPointer;var AxisPointerModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.type="axisPointer",r.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},r}(ComponentModel$1);const AxisPointerModel$1=AxisPointerModel;var inner$4=makeInner(),each$8=each$c;function register(t,r,V){if(!env$1.node){var oe=r.getZr();inner$4(oe).records||(inner$4(oe).records={}),initGlobalListeners(oe,r);var ie=inner$4(oe).records[t]||(inner$4(oe).records[t]={});ie.handler=V}}function initGlobalListeners(t,r){if(inner$4(t).initialized)return;inner$4(t).initialized=!0,V("click",curry$1(doEnter,"click")),V("mousemove",curry$1(doEnter,"mousemove")),V("globalout",onLeave);function V(oe,ie){t.on(oe,function(le){var ue=makeDispatchAction$1(r);each$8(inner$4(t).records,function(de){de&&ie(de,le,ue.dispatchAction)}),dispatchTooltipFinally(ue.pendings,r)})}}function dispatchTooltipFinally(t,r){var V=t.showTip.length,oe=t.hideTip.length,ie;V?ie=t.showTip[V-1]:oe&&(ie=t.hideTip[oe-1]),ie&&(ie.dispatchAction=null,r.dispatchAction(ie))}function onLeave(t,r,V){t.handler("leave",null,V)}function doEnter(t,r,V,oe){r.handler(t,V,oe)}function makeDispatchAction$1(t){var r={showTip:[],hideTip:[]},V=function(oe){var ie=r[oe.type];ie?ie.push(oe):(oe.dispatchAction=V,t.dispatchAction(oe))};return{dispatchAction:V,pendings:r}}function unregister(t,r){if(!env$1.node){var V=r.getZr(),oe=(inner$4(V).records||{})[t];oe&&(inner$4(V).records[t]=null)}}var AxisPointerView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.render=function(V,oe,ie){var le=oe.getComponent("tooltip"),ue=V.get("triggerOn")||le&&le.get("triggerOn")||"mousemove|click";register("axisPointer",ie,function(de,pe,he){ue!=="none"&&(de==="leave"||ue.indexOf(de)>=0)&&he({type:"updateAxisPointer",currTrigger:de,x:pe&&pe.offsetX,y:pe&&pe.offsetY})})},r.prototype.remove=function(V,oe){unregister("axisPointer",oe)},r.prototype.dispose=function(V,oe){unregister("axisPointer",oe)},r.type="axisPointer",r}(ComponentView$1);const AxisPointerView$1=AxisPointerView;function findPointFromSeries(t,r){var V=[],oe=t.seriesIndex,ie;if(oe==null||!(ie=r.getSeriesByIndex(oe)))return{point:[]};var le=ie.getData(),ue=queryDataIndex(le,t);if(ue==null||ue<0||isArray$1(ue))return{point:[]};var de=le.getItemGraphicEl(ue),pe=ie.coordinateSystem;if(ie.getTooltipPosition)V=ie.getTooltipPosition(ue)||[];else if(pe&&pe.dataToPoint)if(t.isStacked){var he=pe.getBaseAxis(),_e=pe.getOtherAxis(he),$e=_e.dim,Ie=he.dim,Ve=$e==="x"||$e==="radius"?1:0,Fe=le.mapDimension(Ie),Ue=[];Ue[Ve]=le.get(Fe,ue),Ue[1-Ve]=le.get(le.getCalculationInfo("stackResultDimension"),ue),V=pe.dataToPoint(Ue)||[]}else V=pe.dataToPoint(le.getValues(map$2(pe.dimensions,function(Et){return le.mapDimension(Et)}),ue))||[];else if(de){var qe=de.getBoundingRect().clone();qe.applyTransform(de.transform),V=[qe.x+qe.width/2,qe.y+qe.height/2]}return{point:V,el:de}}var inner$3=makeInner();function axisTrigger(t,r,V){var oe=t.currTrigger,ie=[t.x,t.y],le=t,ue=t.dispatchAction||bind$1(V.dispatchAction,V),de=r.getComponent("axisPointer").coordSysAxesInfo;if(de){illegalPoint(ie)&&(ie=findPointFromSeries({seriesIndex:le.seriesIndex,dataIndex:le.dataIndex},r).point);var pe=illegalPoint(ie),he=le.axesInfo,_e=de.axesInfo,$e=oe==="leave"||illegalPoint(ie),Ie={},Ve={},Fe={list:[],map:{}},Ue={showPointer:curry$1(showPointer,Ve),showTooltip:curry$1(showTooltip,Fe)};each$c(de.coordSysMap,function(Et,At){var Lt=pe||Et.containPoint(ie);each$c(de.coordSysAxesInfo[At],function(hn,_n){var vn=hn.axis,bn=findInputAxisInfo(he,hn);if(!$e&&Lt&&(!he||bn)){var Cn=bn&&bn.value;Cn==null&&!pe&&(Cn=vn.pointToData(ie)),Cn!=null&&processOnAxis(hn,Cn,Ue,!1,Ie)}})});var qe={};return each$c(_e,function(Et,At){var Lt=Et.linkGroup;Lt&&!Ve[At]&&each$c(Lt.axesInfo,function(hn,_n){var vn=Ve[_n];if(hn!==Et&&vn){var bn=vn.value;Lt.mapper&&(bn=Et.axis.scale.parse(Lt.mapper(bn,makeMapperParam(hn),makeMapperParam(Et)))),qe[Et.key]=bn}})}),each$c(qe,function(Et,At){processOnAxis(_e[At],Et,Ue,!0,Ie)}),updateModelActually(Ve,_e,Ie),dispatchTooltipActually(Fe,ie,t,ue),dispatchHighDownActually(_e,ue,V),Ie}}function processOnAxis(t,r,V,oe,ie){var le=t.axis;if(!(le.scale.isBlank()||!le.containData(r))){if(!t.involveSeries){V.showPointer(t,r);return}var ue=buildPayloadsBySeries(r,t),de=ue.payloadBatch,pe=ue.snapToValue;de[0]&&ie.seriesIndex==null&&extend(ie,de[0]),!oe&&t.snap&&le.containData(pe)&&pe!=null&&(r=pe),V.showPointer(t,r,de),V.showTooltip(t,ue,pe)}}function buildPayloadsBySeries(t,r){var V=r.axis,oe=V.dim,ie=t,le=[],ue=Number.MAX_VALUE,de=-1;return each$c(r.seriesModels,function(pe,he){var _e=pe.getData().mapDimensionsAll(oe),$e,Ie;if(pe.getAxisTooltipData){var Ve=pe.getAxisTooltipData(_e,t,V);Ie=Ve.dataIndices,$e=Ve.nestestValue}else{if(Ie=pe.getData().indicesOfNearest(_e[0],t,V.type==="category"?.5:null),!Ie.length)return;$e=pe.getData().get(_e[0],Ie[0])}if(!($e==null||!isFinite($e))){var Fe=t-$e,Ue=Math.abs(Fe);Ue<=ue&&((Ue<ue||Fe>=0&&de<0)&&(ue=Ue,de=Fe,ie=$e,le.length=0),each$c(Ie,function(qe){le.push({seriesIndex:pe.seriesIndex,dataIndexInside:qe,dataIndex:pe.getData().getRawIndex(qe)})}))}}),{payloadBatch:le,snapToValue:ie}}function showPointer(t,r,V,oe){t[r.key]={value:V,payloadBatch:oe}}function showTooltip(t,r,V,oe){var ie=V.payloadBatch,le=r.axis,ue=le.model,de=r.axisPointerModel;if(!(!r.triggerTooltip||!ie.length)){var pe=r.coordSys.model,he=makeKey(pe),_e=t.map[he];_e||(_e=t.map[he]={coordSysId:pe.id,coordSysIndex:pe.componentIndex,coordSysType:pe.type,coordSysMainType:pe.mainType,dataByAxis:[]},t.list.push(_e)),_e.dataByAxis.push({axisDim:le.dim,axisIndex:ue.componentIndex,axisType:ue.type,axisId:ue.id,value:oe,valueLabelOpt:{precision:de.get(["label","precision"]),formatter:de.get(["label","formatter"])},seriesDataIndices:ie.slice()})}}function updateModelActually(t,r,V){var oe=V.axesInfo=[];each$c(r,function(ie,le){var ue=ie.axisPointerModel.option,de=t[le];de?(!ie.useHandle&&(ue.status="show"),ue.value=de.value,ue.seriesDataIndices=(de.payloadBatch||[]).slice()):!ie.useHandle&&(ue.status="hide"),ue.status==="show"&&oe.push({axisDim:ie.axis.dim,axisIndex:ie.axis.model.componentIndex,value:ue.value})})}function dispatchTooltipActually(t,r,V,oe){if(illegalPoint(r)||!t.list.length){oe({type:"hideTip"});return}var ie=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};oe({type:"showTip",escapeConnect:!0,x:r[0],y:r[1],tooltipOption:V.tooltipOption,position:V.position,dataIndexInside:ie.dataIndexInside,dataIndex:ie.dataIndex,seriesIndex:ie.seriesIndex,dataByCoordSys:t.list})}function dispatchHighDownActually(t,r,V){var oe=V.getZr(),ie="axisPointerLastHighlights",le=inner$3(oe)[ie]||{},ue=inner$3(oe)[ie]={};each$c(t,function(he,_e){var $e=he.axisPointerModel.option;$e.status==="show"&&he.triggerEmphasis&&each$c($e.seriesDataIndices,function(Ie){var Ve=Ie.seriesIndex+" | "+Ie.dataIndex;ue[Ve]=Ie})});var de=[],pe=[];each$c(le,function(he,_e){!ue[_e]&&pe.push(he)}),each$c(ue,function(he,_e){!le[_e]&&de.push(he)}),pe.length&&V.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:pe}),de.length&&V.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:de})}function findInputAxisInfo(t,r){for(var V=0;V<(t||[]).length;V++){var oe=t[V];if(r.axis.dim===oe.axisDim&&r.axis.model.componentIndex===oe.axisIndex)return oe}}function makeMapperParam(t){var r=t.axis.model,V={},oe=V.axisDim=t.axis.dim;return V.axisIndex=V[oe+"AxisIndex"]=r.componentIndex,V.axisName=V[oe+"AxisName"]=r.name,V.axisId=V[oe+"AxisId"]=r.id,V}function illegalPoint(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function install$f(t){AxisView$1.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer$1),t.registerComponentModel(AxisPointerModel$1),t.registerComponentView(AxisPointerView$1),t.registerPreprocessor(function(r){if(r){(!r.axisPointer||r.axisPointer.length===0)&&(r.axisPointer={});var V=r.axisPointer.link;V&&!isArray$1(V)&&(r.axisPointer.link=[V])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(r,V){r.getComponent("axisPointer").coordSysAxesInfo=collect(r,V)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$e(t){use$1(install$g),use$1(install$f)}function setKeyInfoToNewElOption(t,r){var V=t.existing;if(r.id=t.keyInfo.id,!r.type&&V&&(r.type=V.type),r.parentId==null){var oe=r.parentOption;oe?r.parentId=oe.id:V&&(r.parentId=V.parentId)}r.parentOption=null}function isSetLoc(t,r){var V;return each$c(r,function(oe){t[oe]!=null&&t[oe]!=="auto"&&(V=!0)}),V}function mergeNewElOptionToExist(t,r,V){var oe=extend({},V),ie=t[r],le=V.$action||"merge";le==="merge"?ie?(merge(ie,oe,!0),mergeLayoutParam(ie,oe,{ignoreSize:!0}),copyLayoutParams(V,ie),copyTransitionInfo(V,ie),copyTransitionInfo(V,ie,"shape"),copyTransitionInfo(V,ie,"style"),copyTransitionInfo(V,ie,"extra"),V.clipPath=ie.clipPath):t[r]=oe:le==="replace"?t[r]=oe:le==="remove"&&ie&&(t[r]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(t,r,V){if(V&&(!t[V]&&r[V]&&(t[V]={}),t=t[V],r=r[V]),!(!t||!r))for(var oe=V?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,ie=0;ie<oe.length;ie++){var le=oe[ie];t[le]==null&&r[le]!=null&&(t[le]=r[le])}}function setLayoutInfoToExist(t,r){if(t&&(t.hv=r.hv=[isSetLoc(r,["left","right"]),isSetLoc(r,["top","bottom"])],t.type==="group")){var V=t,oe=r;V.width==null&&(V.width=oe.width=0),V.height==null&&(V.height=oe.height=0)}}var GraphicComponentModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.preventAutoZ=!0,V}return r.prototype.mergeOption=function(V,oe){var ie=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,V,oe),this.option.elements=ie},r.prototype.optionUpdated=function(V,oe){var ie=this.option,le=(oe?ie:V).elements,ue=ie.elements=oe?[]:ie.elements,de=[];this._flatten(le,de,null);var pe=mappingToExists(ue,de,"normalMerge"),he=this._elOptionsToUpdate=[];each$c(pe,function(_e,$e){var Ie=_e.newOption;Ie&&(he.push(Ie),setKeyInfoToNewElOption(_e,Ie),mergeNewElOptionToExist(ue,$e,Ie),setLayoutInfoToExist(ue[$e],Ie))},this),ie.elements=filter(ue,function(_e){return _e&&delete _e.$action,_e!=null})},r.prototype._flatten=function(V,oe,ie){each$c(V,function(le){if(le){ie&&(le.parentOption=ie),oe.push(le);var ue=le.children;ue&&ue.length&&this._flatten(ue,oe,le),delete le.children}},this)},r.prototype.useElOptionsToUpdate=function(){var V=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,V},r.type="graphic",r.defaultOption={elements:[]},r}(ComponentModel$1),nonShapeGraphicElements={path:null,compoundPath:null,group:Group$3,image:ZRImage$1,text:ZRText$1},inner$2=makeInner(),GraphicComponentView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.init=function(){this._elMap=createHashMap()},r.prototype.render=function(V,oe,ie){V!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=V,this._updateElements(V),this._relocate(V,ie)},r.prototype._updateElements=function(V){var oe=V.useElOptionsToUpdate();if(oe){var ie=this._elMap,le=this.group,ue=V.get("z"),de=V.get("zlevel");each$c(oe,function(pe){var he=convertOptionIdName(pe.id,null),_e=he!=null?ie.get(he):null,$e=convertOptionIdName(pe.parentId,null),Ie=$e!=null?ie.get($e):le,Ve=pe.type,Fe=pe.style;Ve==="text"&&Fe&&pe.hv&&pe.hv[1]&&(Fe.textVerticalAlign=Fe.textBaseline=Fe.verticalAlign=Fe.align=null);var Ue=pe.textContent,qe=pe.textConfig;if(Fe&&isEC4CompatibleStyle(Fe,Ve,!!qe,!!Ue)){var Et=convertFromEC4CompatibleStyle(Fe,Ve,!0);!qe&&Et.textConfig&&(qe=pe.textConfig=Et.textConfig),!Ue&&Et.textContent&&(Ue=Et.textContent)}var At=getCleanedElOption(pe),Lt=pe.$action||"merge",hn=Lt==="merge",_n=Lt==="replace";if(hn){var vn=!_e,bn=_e;vn?bn=createEl(he,Ie,pe.type,ie):(bn&&(inner$2(bn).isNew=!1),stopPreviousKeyframeAnimationAndRestore(bn)),bn&&(applyUpdateTransition(bn,At,V,{isInit:vn}),updateCommonAttrs(bn,pe,ue,de))}else if(_n){removeEl(_e,pe,ie,V);var Cn=createEl(he,Ie,pe.type,ie);Cn&&(applyUpdateTransition(Cn,At,V,{isInit:!0}),updateCommonAttrs(Cn,pe,ue,de))}else Lt==="remove"&&(updateLeaveTo(_e,pe),removeEl(_e,pe,ie,V));var Sn=ie.get(he);if(Sn&&Ue)if(hn){var wn=Sn.getTextContent();wn?wn.attr(Ue):Sn.setTextContent(new ZRText$1(Ue))}else _n&&Sn.setTextContent(new ZRText$1(Ue));if(Sn){var En=pe.clipPath;if(En){var xn=En.type,Pn=void 0,vn=!1;if(hn){var kn=Sn.getClipPath();vn=!kn||inner$2(kn).type!==xn,Pn=vn?newEl(xn):kn}else _n&&(vn=!0,Pn=newEl(xn));Sn.setClipPath(Pn),applyUpdateTransition(Pn,En,V,{isInit:vn}),applyKeyframeAnimation(Pn,En.keyframeAnimation,V)}var Nn=inner$2(Sn);Sn.setTextConfig(qe),Nn.option=pe,setEventData(Sn,V,pe),setTooltipConfig({el:Sn,componentModel:V,itemName:Sn.name,itemTooltipOption:pe.tooltip}),applyKeyframeAnimation(Sn,pe.keyframeAnimation,V)}})}},r.prototype._relocate=function(V,oe){for(var ie=V.option.elements,le=this.group,ue=this._elMap,de=oe.getWidth(),pe=oe.getHeight(),he=["x","y"],_e=0;_e<ie.length;_e++){var $e=ie[_e],Ie=convertOptionIdName($e.id,null),Ve=Ie!=null?ue.get(Ie):null;if(!(!Ve||!Ve.isGroup)){var Fe=Ve.parent,Ue=Fe===le,qe=inner$2(Ve),Et=inner$2(Fe);qe.width=parsePercent(qe.option.width,Ue?de:Et.width)||0,qe.height=parsePercent(qe.option.height,Ue?pe:Et.height)||0}}for(var _e=ie.length-1;_e>=0;_e--){var $e=ie[_e],Ie=convertOptionIdName($e.id,null),Ve=Ie!=null?ue.get(Ie):null;if(Ve){var Fe=Ve.parent,Et=inner$2(Fe),At=Fe===le?{width:de,height:pe}:{width:Et.width,height:Et.height},Lt={},hn=positionElement(Ve,$e,At,null,{hv:$e.hv,boundingMode:$e.bounding},Lt);if(!inner$2(Ve).isNew&&hn){for(var _n=$e.transition,vn={},bn=0;bn<he.length;bn++){var Cn=he[bn],Sn=Lt[Cn];_n&&(isTransitionAll(_n)||indexOf(_n,Cn)>=0)?vn[Cn]=Sn:Ve[Cn]=Sn}updateProps$1(Ve,vn,V,0)}else Ve.attr(Lt)}}},r.prototype._clear=function(){var V=this,oe=this._elMap;oe.each(function(ie){removeEl(ie,inner$2(ie).option,oe,V._lastGraphicModel)}),this._elMap=createHashMap()},r.prototype.dispose=function(){this._clear()},r.type="graphic",r}(ComponentView$1);function newEl(t){var r=hasOwn(nonShapeGraphicElements,t)?nonShapeGraphicElements[t]:getShapeClass(t),V=new r({});return inner$2(V).type=t,V}function createEl(t,r,V,oe){var ie=newEl(V);return r.add(ie),oe.set(t,ie),inner$2(ie).id=t,inner$2(ie).isNew=!0,ie}function removeEl(t,r,V,oe){var ie=t&&t.parent;ie&&(t.type==="group"&&t.traverse(function(le){removeEl(le,r,V,oe)}),applyLeaveTransition(t,r,oe),V.removeKey(inner$2(t).id))}function updateCommonAttrs(t,r,V,oe){t.isGroup||each$c([["cursor",Displayable$1.prototype.cursor],["zlevel",oe||0],["z",V||0],["z2",0]],function(ie){var le=ie[0];hasOwn(r,le)?t[le]=retrieve2(r[le],ie[1]):t[le]==null&&(t[le]=ie[1])}),each$c(keys(r),function(ie){if(ie.indexOf("on")===0){var le=r[ie];t[ie]=isFunction(le)?le:null}}),hasOwn(r,"draggable")&&(t.draggable=r.draggable),r.name!=null&&(t.name=r.name),r.id!=null&&(t.id=r.id)}function getCleanedElOption(t){return t=extend({},t),each$c(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function(r){delete t[r]}),t}function setEventData(t,r,V){var oe=getECData(t).eventData;!t.silent&&!t.ignore&&!oe&&(oe=getECData(t).eventData={componentType:"graphic",componentIndex:r.componentIndex,name:t.name}),oe&&(oe.info=V.info)}function install$d(t){t.registerComponentModel(GraphicComponentModel),t.registerComponentView(GraphicComponentView),t.registerPreprocessor(function(r){var V=r.graphic;isArray$1(V)?!V[0]||!V[0].elements?r.graphic=[{elements:V}]:r.graphic=[r.graphic[0]]:V&&!V.elements&&(r.graphic=[{elements:[V]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(t){var r=t.get("coordinateSystem");return indexOf(SERIES_COORDS,r)>=0}function getAxisMainType(t){return t+"Axis"}function findEffectedDataZooms(t,r){var V=createHashMap(),oe=[],ie=createHashMap();t.eachComponent({mainType:"dataZoom",query:r},function(_e){ie.get(_e.uid)||de(_e)});var le;do le=!1,t.eachComponent("dataZoom",ue);while(le);function ue(_e){!ie.get(_e.uid)&&pe(_e)&&(de(_e),le=!0)}function de(_e){ie.set(_e.uid,!0),oe.push(_e),he(_e)}function pe(_e){var $e=!1;return _e.eachTargetAxis(function(Ie,Ve){var Fe=V.get(Ie);Fe&&Fe[Ve]&&($e=!0)}),$e}function he(_e){_e.eachTargetAxis(function($e,Ie){(V.get($e)||V.set($e,[]))[Ie]=!0})}return oe}function collectReferCoordSysModelInfo(t){var r=t.ecModel,V={infoList:[],infoMap:createHashMap()};return t.eachTargetAxis(function(oe,ie){var le=r.getComponent(getAxisMainType(oe),ie);if(le){var ue=le.getCoordSysModel();if(ue){var de=ue.uid,pe=V.infoMap.get(de);pe||(pe={model:ue,axisModels:[]},V.infoList.push(pe),V.infoMap.set(de,pe)),pe.axisModels.push(le)}}}),V}var DataZoomAxisInfo=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(r){this.indexMap[r]||(this.indexList.push(r),this.indexMap[r]=!0)},t}(),DataZoomModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V._autoThrottle=!0,V._noTarget=!0,V._rangePropMode=["percent","percent"],V}return r.prototype.init=function(V,oe,ie){var le=retrieveRawOption(V);this.settledOption=le,this.mergeDefaultAndTheme(V,ie),this._doInit(le)},r.prototype.mergeOption=function(V){var oe=retrieveRawOption(V);merge(this.option,V,!0),merge(this.settledOption,oe,!0),this._doInit(oe)},r.prototype._doInit=function(V){var oe=this.option;this._setDefaultThrottle(V),this._updateRangeUse(V);var ie=this.settledOption;each$c([["start","startValue"],["end","endValue"]],function(le,ue){this._rangePropMode[ue]==="value"&&(oe[le[0]]=ie[le[0]]=null)},this),this._resetTarget()},r.prototype._resetTarget=function(){var V=this.get("orient",!0),oe=this._targetAxisInfoMap=createHashMap(),ie=this._fillSpecifiedTargetAxis(oe);ie?this._orient=V||this._makeAutoOrientByTargetAxis():(this._orient=V||"horizontal",this._fillAutoTargetAxisByOrient(oe,this._orient)),this._noTarget=!0,oe.each(function(le){le.indexList.length&&(this._noTarget=!1)},this)},r.prototype._fillSpecifiedTargetAxis=function(V){var oe=!1;return each$c(DATA_ZOOM_AXIS_DIMENSIONS,function(ie){var le=this.getReferringComponents(getAxisMainType(ie),MULTIPLE_REFERRING);if(le.specified){oe=!0;var ue=new DataZoomAxisInfo;each$c(le.models,function(de){ue.add(de.componentIndex)}),V.set(ie,ue)}},this),oe},r.prototype._fillAutoTargetAxisByOrient=function(V,oe){var ie=this.ecModel,le=!0;if(le){var ue=oe==="vertical"?"y":"x",de=ie.findComponents({mainType:ue+"Axis"});pe(de,ue)}if(le){var de=ie.findComponents({mainType:"singleAxis",filter:function(_e){return _e.get("orient",!0)===oe}});pe(de,"single")}function pe(he,_e){var $e=he[0];if($e){var Ie=new DataZoomAxisInfo;if(Ie.add($e.componentIndex),V.set(_e,Ie),le=!1,_e==="x"||_e==="y"){var Ve=$e.getReferringComponents("grid",SINGLE_REFERRING).models[0];Ve&&each$c(he,function(Fe){$e.componentIndex!==Fe.componentIndex&&Ve===Fe.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&Ie.add(Fe.componentIndex)})}}}le&&each$c(DATA_ZOOM_AXIS_DIMENSIONS,function(he){if(le){var _e=ie.findComponents({mainType:getAxisMainType(he),filter:function(Ie){return Ie.get("type",!0)==="category"}});if(_e[0]){var $e=new DataZoomAxisInfo;$e.add(_e[0].componentIndex),V.set(he,$e),le=!1}}},this)},r.prototype._makeAutoOrientByTargetAxis=function(){var V;return this.eachTargetAxis(function(oe){!V&&(V=oe)},this),V==="y"?"vertical":"horizontal"},r.prototype._setDefaultThrottle=function(V){if(V.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var oe=this.ecModel.option;this.option.throttle=oe.animation&&oe.animationDurationUpdate>0?100:20}},r.prototype._updateRangeUse=function(V){var oe=this._rangePropMode,ie=this.get("rangeMode");each$c([["start","startValue"],["end","endValue"]],function(le,ue){var de=V[le[0]]!=null,pe=V[le[1]]!=null;de&&!pe?oe[ue]="percent":!de&&pe?oe[ue]="value":ie?oe[ue]=ie[ue]:de&&(oe[ue]="percent")})},r.prototype.noTarget=function(){return this._noTarget},r.prototype.getFirstTargetAxisModel=function(){var V;return this.eachTargetAxis(function(oe,ie){V==null&&(V=this.ecModel.getComponent(getAxisMainType(oe),ie))},this),V},r.prototype.eachTargetAxis=function(V,oe){this._targetAxisInfoMap.each(function(ie,le){each$c(ie.indexList,function(ue){V.call(oe,le,ue)})})},r.prototype.getAxisProxy=function(V,oe){var ie=this.getAxisModel(V,oe);if(ie)return ie.__dzAxisProxy},r.prototype.getAxisModel=function(V,oe){var ie=this._targetAxisInfoMap.get(V);if(ie&&ie.indexMap[oe])return this.ecModel.getComponent(getAxisMainType(V),oe)},r.prototype.setRawRange=function(V){var oe=this.option,ie=this.settledOption;each$c([["start","startValue"],["end","endValue"]],function(le){(V[le[0]]!=null||V[le[1]]!=null)&&(oe[le[0]]=ie[le[0]]=V[le[0]],oe[le[1]]=ie[le[1]]=V[le[1]])},this),this._updateRangeUse(V)},r.prototype.setCalculatedRange=function(V){var oe=this.option;each$c(["start","startValue","end","endValue"],function(ie){oe[ie]=V[ie]})},r.prototype.getPercentRange=function(){var V=this.findRepresentativeAxisProxy();if(V)return V.getDataPercentWindow()},r.prototype.getValueRange=function(V,oe){if(V==null&&oe==null){var ie=this.findRepresentativeAxisProxy();if(ie)return ie.getDataValueWindow()}else return this.getAxisProxy(V,oe).getDataValueWindow()},r.prototype.findRepresentativeAxisProxy=function(V){if(V)return V.__dzAxisProxy;for(var oe,ie=this._targetAxisInfoMap.keys(),le=0;le<ie.length;le++)for(var ue=ie[le],de=this._targetAxisInfoMap.get(ue),pe=0;pe<de.indexList.length;pe++){var he=this.getAxisProxy(ue,de.indexList[pe]);if(he.hostedBy(this))return he;oe||(oe=he)}return oe},r.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},r.prototype.getOrient=function(){return this._orient},r.type="dataZoom",r.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],r.defaultOption={z:4,filterMode:"filter",start:0,end:100},r}(ComponentModel$1);function retrieveRawOption(t){var r={};return each$c(["start","end","startValue","endValue","throttle"],function(V){t.hasOwnProperty(V)&&(r[V]=t[V])}),r}const DataZoomModel$1=DataZoomModel;var SelectDataZoomModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.type="dataZoom.select",r}(DataZoomModel$1);const SelectZoomModel=SelectDataZoomModel;var DataZoomView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.render=function(V,oe,ie,le){this.dataZoomModel=V,this.ecModel=oe,this.api=ie},r.type="dataZoom",r}(ComponentView$1);const DataZoomView$1=DataZoomView;var SelectDataZoomView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.type="dataZoom.select",r}(DataZoomView$1);const SelectZoomView=SelectDataZoomView;var each$7=each$c,asc$1=asc$2,AxisProxy=function(){function t(r,V,oe,ie){this._dimName=r,this._axisIndex=V,this.ecModel=ie,this._dataZoomModel=oe}return t.prototype.hostedBy=function(r){return this._dataZoomModel===r},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var r=[];return this.ecModel.eachSeries(function(V){if(isCoordSupported(V)){var oe=getAxisMainType(this._dimName),ie=V.getReferringComponents(oe,SINGLE_REFERRING).models[0];ie&&this._axisIndex===ie.componentIndex&&r.push(V)}},this),r},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return clone$3(this._minMaxSpan)},t.prototype.calculateDataWindow=function(r){var V=this._dataExtent,oe=this.getAxisModel(),ie=oe.axis.scale,le=this._dataZoomModel.getRangePropMode(),ue=[0,100],de=[],pe=[],he;each$7(["start","end"],function(Ie,Ve){var Fe=r[Ie],Ue=r[Ie+"Value"];le[Ve]==="percent"?(Fe==null&&(Fe=ue[Ve]),Ue=ie.parse(linearMap$2(Fe,ue,V))):(he=!0,Ue=Ue==null?V[Ve]:ie.parse(Ue),Fe=linearMap$2(Ue,V,ue)),pe[Ve]=Ue==null||isNaN(Ue)?V[Ve]:Ue,de[Ve]=Fe==null||isNaN(Fe)?ue[Ve]:Fe}),asc$1(pe),asc$1(de);var _e=this._minMaxSpan;he?$e(pe,de,V,ue,!1):$e(de,pe,ue,V,!0);function $e(Ie,Ve,Fe,Ue,qe){var Et=qe?"Span":"ValueSpan";sliderMove(0,Ie,Fe,"all",_e["min"+Et],_e["max"+Et]);for(var At=0;At<2;At++)Ve[At]=linearMap$2(Ie[At],Fe,Ue,!0),qe&&(Ve[At]=ie.parse(Ve[At]))}return{valueWindow:pe,percentWindow:de}},t.prototype.reset=function(r){if(r===this._dataZoomModel){var V=this.getTargetSeriesModels();this._dataExtent=calculateDataExtent(this,this._dimName,V),this._updateMinMaxSpan();var oe=this.calculateDataWindow(r.settledOption);this._valueWindow=oe.valueWindow,this._percentWindow=oe.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(r,V){if(r!==this._dataZoomModel)return;var oe=this._dimName,ie=this.getTargetSeriesModels(),le=r.get("filterMode"),ue=this._valueWindow;if(le==="none")return;each$7(ie,function(pe){var he=pe.getData(),_e=he.mapDimensionsAll(oe);if(_e.length){if(le==="weakFilter"){var $e=he.getStore(),Ie=map$2(_e,function(Ve){return he.getDimensionIndex(Ve)},he);he.filterSelf(function(Ve){for(var Fe,Ue,qe,Et=0;Et<_e.length;Et++){var At=$e.get(Ie[Et],Ve),Lt=!isNaN(At),hn=At<ue[0],_n=At>ue[1];if(Lt&&!hn&&!_n)return!0;Lt&&(qe=!0),hn&&(Fe=!0),_n&&(Ue=!0)}return qe&&Fe&&Ue})}else each$7(_e,function(Ve){if(le==="empty")pe.setData(he=he.map(Ve,function(Ue){return de(Ue)?Ue:NaN}));else{var Fe={};Fe[Ve]=ue,he.selectRange(Fe)}});each$7(_e,function(Ve){he.setApproximateExtent(ue,Ve)})}});function de(pe){return pe>=ue[0]&&pe<=ue[1]}},t.prototype._updateMinMaxSpan=function(){var r=this._minMaxSpan={},V=this._dataZoomModel,oe=this._dataExtent;each$7(["min","max"],function(ie){var le=V.get(ie+"Span"),ue=V.get(ie+"ValueSpan");ue!=null&&(ue=this.getAxisModel().axis.scale.parse(ue)),ue!=null?le=linearMap$2(oe[0]+ue,oe,[0,100],!0):le!=null&&(ue=linearMap$2(le,[0,100],oe,!0)-oe[0]),r[ie+"Span"]=le,r[ie+"ValueSpan"]=ue},this)},t.prototype._setAxisModel=function(){var r=this.getAxisModel(),V=this._percentWindow,oe=this._valueWindow;if(V){var ie=getPixelPrecision(oe,[0,500]);ie=Math.min(ie,20);var le=r.axis.scale.rawExtentInfo;V[0]!==0&&le.setDeterminedMinMax("min",+oe[0].toFixed(ie)),V[1]!==100&&le.setDeterminedMinMax("max",+oe[1].toFixed(ie)),le.freeze()}},t}();function calculateDataExtent(t,r,V){var oe=[1/0,-1/0];each$7(V,function(ue){unionAxisExtentFromData(oe,ue.getData(),r)});var ie=t.getAxisModel(),le=ensureScaleRawExtentInfo(ie.axis.scale,ie,oe).calculate();return[le.min,le.max]}const AxisProxy$1=AxisProxy;var dataZoomProcessor={getTargetSeries:function(t){function r(ie){t.eachComponent("dataZoom",function(le){le.eachTargetAxis(function(ue,de){var pe=t.getComponent(getAxisMainType(ue),de);ie(ue,de,pe,le)})})}r(function(ie,le,ue,de){ue.__dzAxisProxy=null});var V=[];r(function(ie,le,ue,de){ue.__dzAxisProxy||(ue.__dzAxisProxy=new AxisProxy$1(ie,le,de,t),V.push(ue.__dzAxisProxy))});var oe=createHashMap();return each$c(V,function(ie){each$c(ie.getTargetSeriesModels(),function(le){oe.set(le.uid,le)})}),oe},overallReset:function(t,r){t.eachComponent("dataZoom",function(V){V.eachTargetAxis(function(oe,ie){V.getAxisProxy(oe,ie).reset(V)}),V.eachTargetAxis(function(oe,ie){V.getAxisProxy(oe,ie).filterData(V,r)})}),t.eachComponent("dataZoom",function(V){var oe=V.findRepresentativeAxisProxy();if(oe){var ie=oe.getDataPercentWindow(),le=oe.getDataValueWindow();V.setCalculatedRange({start:ie[0],end:ie[1],startValue:le[0],endValue:le[1]})}})}};const dataZoomProcessor$1=dataZoomProcessor;function installDataZoomAction(t){t.registerAction("dataZoom",function(r,V){var oe=findEffectedDataZooms(V,r);each$c(oe,function(ie){ie.setRawRange({start:r.start,end:r.end,startValue:r.startValue,endValue:r.endValue})})})}var installed$1=!1;function installCommon$1(t){installed$1||(installed$1=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor$1),installDataZoomAction(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$c(t){t.registerComponentModel(SelectZoomModel),t.registerComponentView(SelectZoomView),installCommon$1(t)}var ToolboxFeature=function(){function t(){}return t}(),features={};function registerFeature(t,r){features[t]=r}function getFeature(t){return features[t]}var ToolboxModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var V=this.ecModel;each$c(this.option.feature,function(oe,ie){var le=getFeature(ie);le&&(le.getDefaultOption&&(le.defaultOption=le.getDefaultOption(V)),merge(oe,le.defaultOption))})},r.type="toolbox",r.layoutMode={type:"box",ignoreSize:!0},r.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},r}(ComponentModel$1);const ToolboxModel$1=ToolboxModel;function layout(t,r,V){var oe=r.getBoxLayoutParams(),ie=r.get("padding"),le={width:V.getWidth(),height:V.getHeight()},ue=getLayoutRect(oe,le,ie);box(r.get("orient"),t,r.get("itemGap"),ue.width,ue.height),positionElement(t,oe,le,ie)}function makeBackground(t,r){var V=normalizeCssArray(r.get("padding")),oe=r.getItemStyle(["color","opacity"]);return oe.fill=r.get("backgroundColor"),t=new Rect$2({shape:{x:t.x-V[3],y:t.y-V[0],width:t.width+V[1]+V[3],height:t.height+V[0]+V[2],r:r.get("borderRadius")},style:oe,silent:!0,z2:-1}),t}var ToolboxView=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(V,oe,ie,le){var ue=this.group;if(ue.removeAll(),!V.get("show"))return;var de=+V.get("itemSize"),pe=V.get("orient")==="vertical",he=V.get("feature")||{},_e=this._features||(this._features={}),$e=[];each$c(he,function(Fe,Ue){$e.push(Ue)}),new DataDiffer$1(this._featureNames||[],$e).add(Ie).update(Ie).remove(curry$1(Ie,null)).execute(),this._featureNames=$e;function Ie(Fe,Ue){var qe=$e[Fe],Et=$e[Ue],At=he[qe],Lt=new Model$1(At,V,V.ecModel),hn;if(le&&le.newTitle!=null&&le.featureName===qe&&(At.title=le.newTitle),qe&&!Et){if(isUserFeatureName(qe))hn={onclick:Lt.option.onclick,featureName:qe};else{var _n=getFeature(qe);if(!_n)return;hn=new _n}_e[qe]=hn}else if(hn=_e[Et],!hn)return;hn.uid=getUID("toolbox-feature"),hn.model=Lt,hn.ecModel=oe,hn.api=ie;var vn=hn instanceof ToolboxFeature;if(!qe&&Et){vn&&hn.dispose&&hn.dispose(oe,ie);return}if(!Lt.get("show")||vn&&hn.unusable){vn&&hn.remove&&hn.remove(oe,ie);return}Ve(Lt,hn,qe),Lt.setIconStatus=function(bn,Cn){var Sn=this.option,wn=this.iconPaths;Sn.iconStatus=Sn.iconStatus||{},Sn.iconStatus[bn]=Cn,wn[bn]&&(Cn==="emphasis"?enterEmphasis:leaveEmphasis)(wn[bn])},hn instanceof ToolboxFeature&&hn.render&&hn.render(Lt,oe,ie,le)}function Ve(Fe,Ue,qe){var Et=Fe.getModel("iconStyle"),At=Fe.getModel(["emphasis","iconStyle"]),Lt=Ue instanceof ToolboxFeature&&Ue.getIcons?Ue.getIcons():Fe.get("icon"),hn=Fe.get("title")||{},_n,vn;isString(Lt)?(_n={},_n[qe]=Lt):_n=Lt,isString(hn)?(vn={},vn[qe]=hn):vn=hn;var bn=Fe.iconPaths={};each$c(_n,function(Cn,Sn){var wn=createIcon(Cn,{},{x:-de/2,y:-de/2,width:de,height:de});wn.setStyle(Et.getItemStyle());var En=wn.ensureState("emphasis");En.style=At.getItemStyle();var xn=new ZRText$1({style:{text:vn[Sn],align:At.get("textAlign"),borderRadius:At.get("textBorderRadius"),padding:At.get("textPadding"),fill:null},ignore:!0});wn.setTextContent(xn),setTooltipConfig({el:wn,componentModel:V,itemName:Sn,formatterParamsExtra:{title:vn[Sn]}}),wn.__title=vn[Sn],wn.on("mouseover",function(){var Pn=At.getItemStyle(),kn=pe?V.get("right")==null&&V.get("left")!=="right"?"right":"left":V.get("bottom")==null&&V.get("top")!=="bottom"?"bottom":"top";xn.setStyle({fill:At.get("textFill")||Pn.fill||Pn.stroke||"#000",backgroundColor:At.get("textBackgroundColor")}),wn.setTextConfig({position:At.get("textPosition")||kn}),xn.ignore=!V.get("showTitle"),ie.enterEmphasis(this)}).on("mouseout",function(){Fe.get(["iconStatus",Sn])!=="emphasis"&&ie.leaveEmphasis(this),xn.hide()}),(Fe.get(["iconStatus",Sn])==="emphasis"?enterEmphasis:leaveEmphasis)(wn),ue.add(wn),wn.on("click",bind$1(Ue.onclick,Ue,oe,ie,Sn)),bn[Sn]=wn})}layout(ue,V,ie),ue.add(makeBackground(ue.getBoundingRect(),V)),pe||ue.eachChild(function(Fe){var Ue=Fe.__title,qe=Fe.ensureState("emphasis"),Et=qe.textConfig||(qe.textConfig={}),At=Fe.getTextContent(),Lt=At&&At.ensureState("emphasis");if(Lt&&!isFunction(Lt)&&Ue){var hn=Lt.style||(Lt.style={}),_n=getBoundingRect(Ue,ZRText$1.makeFont(hn)),vn=Fe.x+ue.x,bn=Fe.y+ue.y+de,Cn=!1;bn+_n.height>ie.getHeight()&&(Et.position="top",Cn=!0);var Sn=Cn?-5-_n.height:de+10;vn+_n.width/2>ie.getWidth()?(Et.position=["100%",Sn],hn.align="right"):vn-_n.width/2<0&&(Et.position=[0,Sn],hn.align="left")}})},r.prototype.updateView=function(V,oe,ie,le){each$c(this._features,function(ue){ue instanceof ToolboxFeature&&ue.updateView&&ue.updateView(ue.model,oe,ie,le)})},r.prototype.remove=function(V,oe){each$c(this._features,function(ie){ie instanceof ToolboxFeature&&ie.remove&&ie.remove(V,oe)}),this.group.removeAll()},r.prototype.dispose=function(V,oe){each$c(this._features,function(ie){ie instanceof ToolboxFeature&&ie.dispose&&ie.dispose(V,oe)})},r.type="toolbox",r}(ComponentView$1);function isUserFeatureName(t){return t.indexOf("my")===0}const ToolboxView$1=ToolboxView;var SaveAsImage=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function(V,oe){var ie=this.model,le=ie.get("name")||V.get("title.0.text")||"echarts",ue=oe.getZr().painter.getType()==="svg",de=ue?"svg":ie.get("type",!0)||"png",pe=oe.getConnectedDataURL({type:de,backgroundColor:ie.get("backgroundColor",!0)||V.get("backgroundColor")||"#fff",connectedBackgroundColor:ie.get("connectedBackgroundColor"),excludeComponents:ie.get("excludeComponents"),pixelRatio:ie.get("pixelRatio")}),he=env$1.browser;if(isFunction(MouseEvent)&&(he.newEdge||!he.ie&&!he.edge)){var _e=document.createElement("a");_e.download=le+"."+de,_e.target="_blank",_e.href=pe;var $e=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});_e.dispatchEvent($e)}else if(window.navigator.msSaveOrOpenBlob||ue){var Ie=pe.split(","),Ve=Ie[0].indexOf("base64")>-1,Fe=ue?decodeURIComponent(Ie[1]):Ie[1];Ve&&(Fe=window.atob(Fe));var Ue=le+"."+de;if(window.navigator.msSaveOrOpenBlob){for(var qe=Fe.length,Et=new Uint8Array(qe);qe--;)Et[qe]=Fe.charCodeAt(qe);var At=new Blob([Et]);window.navigator.msSaveOrOpenBlob(At,Ue)}else{var Lt=document.createElement("iframe");document.body.appendChild(Lt);var hn=Lt.contentWindow,_n=hn.document;_n.open("image/svg+xml","replace"),_n.write(Fe),_n.close(),hn.focus(),_n.execCommand("SaveAs",!0,Ue),document.body.removeChild(Lt)}}else{var vn=ie.get("lang"),bn='<body style="margin:0;"><img src="'+pe+'" style="max-width:100%;" title="'+(vn&&vn[0]||"")+'" /></body>',Cn=window.open();Cn.document.write(bn),Cn.document.title=le}},r.getDefaultOption=function(V){var oe={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:V.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:V.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return oe},r}(ToolboxFeature);const SaveAsImage$1=SaveAsImage;var INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.getIcons=function(){var V=this.model,oe=V.get("icon"),ie={};return each$c(V.get("type"),function(le){oe[le]&&(ie[le]=oe[le])}),ie},r.getDefaultOption=function(V){var oe={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:V.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return oe},r.prototype.onclick=function(V,oe,ie){var le=this.model,ue=le.get(["seriesIndex",ie]);if(seriesOptGenreator[ie]){var de={series:[]},pe=function($e){var Ie=$e.subType,Ve=$e.id,Fe=seriesOptGenreator[ie](Ie,Ve,$e,le);Fe&&(defaults(Fe,$e.option),de.series.push(Fe));var Ue=$e.coordinateSystem;if(Ue&&Ue.type==="cartesian2d"&&(ie==="line"||ie==="bar")){var qe=Ue.getAxesByScale("ordinal")[0];if(qe){var Et=qe.dim,At=Et+"Axis",Lt=$e.getReferringComponents(At,SINGLE_REFERRING).models[0],hn=Lt.componentIndex;de[At]=de[At]||[];for(var _n=0;_n<=hn;_n++)de[At][hn]=de[At][hn]||{};de[At][hn].boundaryGap=ie==="bar"}}};each$c(radioTypes,function($e){indexOf($e,ie)>=0&&each$c($e,function(Ie){le.setIconStatus(Ie,"normal")})}),le.setIconStatus(ie,"emphasis"),V.eachComponent({mainType:"series",query:ue==null?null:{seriesIndex:ue}},pe);var he,_e=ie;ie==="stack"&&(he=merge({stack:le.option.title.tiled,tiled:le.option.title.stack},le.option.title),le.get(["iconStatus",ie])!=="emphasis"&&(_e="tiled")),oe.dispatchAction({type:"changeMagicType",currentType:_e,newOption:de,newTitle:he,featureName:"magicType"})}},r}(ToolboxFeature),seriesOptGenreator={line:function(t,r,V,oe){if(t==="bar")return merge({id:r,type:"line",data:V.get("data"),stack:V.get("stack"),markPoint:V.get("markPoint"),markLine:V.get("markLine")},oe.get(["option","line"])||{},!0)},bar:function(t,r,V,oe){if(t==="line")return merge({id:r,type:"bar",data:V.get("data"),stack:V.get("stack"),markPoint:V.get("markPoint"),markLine:V.get("markLine")},oe.get(["option","bar"])||{},!0)},stack:function(t,r,V,oe){var ie=V.get("stack")===INNER_STACK_KEYWORD;if(t==="line"||t==="bar")return oe.setIconStatus("stack",ie?"normal":"emphasis"),merge({id:r,stack:ie?"":INNER_STACK_KEYWORD},oe.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,r){r.mergeOption(t.newOption)});const MagicType$1=MagicType;var BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER=" ";function groupSeries(t){var r={},V=[],oe=[];return t.eachRawSeries(function(ie){var le=ie.coordinateSystem;if(le&&(le.type==="cartesian2d"||le.type==="polar")){var ue=le.getBaseAxis();if(ue.type==="category"){var de=ue.dim+"_"+ue.index;r[de]||(r[de]={categoryAxis:ue,valueAxis:le.getOtherAxis(ue),series:[]},oe.push({axisDim:ue.dim,axisIndex:ue.index})),r[de].series.push(ie)}else V.push(ie)}else V.push(ie)}),{seriesGroupByCategoryAxis:r,other:V,meta:oe}}function assembleSeriesWithCategoryAxis(t){var r=[];return each$c(t,function(V,oe){var ie=V.categoryAxis,le=V.valueAxis,ue=le.dim,de=[" "].concat(map$2(V.series,function(Ve){return Ve.name})),pe=[ie.model.getCategories()];each$c(V.series,function(Ve){var Fe=Ve.getRawData();pe.push(Ve.getRawData().mapArray(Fe.mapDimension(ue),function(Ue){return Ue}))});for(var he=[de.join(ITEM_SPLITER)],_e=0;_e<pe[0].length;_e++){for(var $e=[],Ie=0;Ie<pe.length;Ie++)$e.push(pe[Ie][_e]);he.push($e.join(ITEM_SPLITER))}r.push(he.join(`
|
||
`))}),r.join(`
|
||
|
||
`+BLOCK_SPLITER+`
|
||
|
||
`)}function assembleOtherSeries(t){return map$2(t,function(r){var V=r.getRawData(),oe=[r.name],ie=[];return V.each(V.dimensions,function(){for(var le=arguments.length,ue=arguments[le-1],de=V.getName(ue),pe=0;pe<le-1;pe++)ie[pe]=arguments[pe];oe.push((de?de+ITEM_SPLITER:"")+ie.join(ITEM_SPLITER))}),oe.join(`
|
||
`)}).join(`
|
||
|
||
`+BLOCK_SPLITER+`
|
||
|
||
`)}function getContentFromModel(t){var r=groupSeries(t);return{value:filter([assembleSeriesWithCategoryAxis(r.seriesGroupByCategoryAxis),assembleOtherSeries(r.other)],function(V){return!!V.replace(/[\n\t\s]/g,"")}).join(`
|
||
|
||
`+BLOCK_SPLITER+`
|
||
|
||
`),meta:r.meta}}function trim(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function isTSVFormat(t){var r=t.slice(0,t.indexOf(`
|
||
`));if(r.indexOf(ITEM_SPLITER)>=0)return!0}var itemSplitRegex=new RegExp("["+ITEM_SPLITER+"]+","g");function parseTSVContents(t){for(var r=t.split(/\n+/g),V=trim(r.shift()).split(itemSplitRegex),oe=[],ie=map$2(V,function(pe){return{name:pe,data:[]}}),le=0;le<r.length;le++){var ue=trim(r[le]).split(itemSplitRegex);oe.push(ue.shift());for(var de=0;de<ue.length;de++)ie[de]&&(ie[de].data[le]=ue[de])}return{series:ie,categories:oe}}function parseListContents(t){for(var r=t.split(/\n+/g),V=trim(r.shift()),oe=[],ie=0;ie<r.length;ie++){var le=trim(r[ie]);if(le){var ue=le.split(itemSplitRegex),de="",pe=void 0,he=!1;isNaN(ue[0])?(he=!0,de=ue[0],ue=ue.slice(1),oe[ie]={name:de,value:[]},pe=oe[ie].value):pe=oe[ie]=[];for(var _e=0;_e<ue.length;_e++)pe.push(+ue[_e]);pe.length===1&&(he?oe[ie].value=pe[0]:oe[ie]=pe[0])}}return{name:V,data:oe}}function parseContents(t,r){var V=t.split(new RegExp(`
|
||
*`+BLOCK_SPLITER+`
|
||
*`,"g")),oe={series:[]};return each$c(V,function(ie,le){if(isTSVFormat(ie)){var ue=parseTSVContents(ie),de=r[le],pe=de.axisDim+"Axis";de&&(oe[pe]=oe[pe]||[],oe[pe][de.axisIndex]={data:ue.categories},oe.series=oe.series.concat(ue.series))}else{var ue=parseListContents(ie);oe.series.push(ue)}}),oe}var DataView$1=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function(V,oe){setTimeout(function(){oe.dispatchAction({type:"hideTip"})});var ie=oe.getDom(),le=this.model;this._dom&&ie.removeChild(this._dom);var ue=document.createElement("div");ue.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",ue.style.backgroundColor=le.get("backgroundColor")||"#fff";var de=document.createElement("h4"),pe=le.get("lang")||[];de.innerHTML=pe[0]||le.get("title"),de.style.cssText="margin:10px 20px",de.style.color=le.get("textColor");var he=document.createElement("div"),_e=document.createElement("textarea");he.style.cssText="overflow:auto";var $e=le.get("optionToContent"),Ie=le.get("contentToOption"),Ve=getContentFromModel(V);if(isFunction($e)){var Fe=$e(oe.getOption());isString(Fe)?he.innerHTML=Fe:isDom(Fe)&&he.appendChild(Fe)}else{_e.readOnly=le.get("readOnly");var Ue=_e.style;Ue.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",Ue.color=le.get("textColor"),Ue.borderColor=le.get("textareaBorderColor"),Ue.backgroundColor=le.get("textareaColor"),_e.value=Ve.value,he.appendChild(_e)}var qe=Ve.meta,Et=document.createElement("div");Et.style.cssText="position:absolute;bottom:5px;left:0;right:0";var At="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",Lt=document.createElement("div"),hn=document.createElement("div");At+=";background-color:"+le.get("buttonColor"),At+=";color:"+le.get("buttonTextColor");var _n=this;function vn(){ie.removeChild(ue),_n._dom=null}addEventListener(Lt,"click",vn),addEventListener(hn,"click",function(){if(Ie==null&&$e!=null||Ie!=null&&$e==null){vn();return}var bn;try{isFunction(Ie)?bn=Ie(he,oe.getOption()):bn=parseContents(_e.value,qe)}catch(Cn){throw vn(),new Error("Data view format error "+Cn)}bn&&oe.dispatchAction({type:"changeDataView",newOption:bn}),vn()}),Lt.innerHTML=pe[1],hn.innerHTML=pe[2],hn.style.cssText=Lt.style.cssText=At,!le.get("readOnly")&&Et.appendChild(hn),Et.appendChild(Lt),ue.appendChild(de),ue.appendChild(he),ue.appendChild(Et),he.style.height=ie.clientHeight-80+"px",ie.appendChild(ue),this._dom=ue},r.prototype.remove=function(V,oe){this._dom&&oe.getDom().removeChild(this._dom)},r.prototype.dispose=function(V,oe){this.remove(V,oe)},r.getDefaultOption=function(V){var oe={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:V.getLocaleModel().get(["toolbox","dataView","title"]),lang:V.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return oe},r}(ToolboxFeature);function tryMergeDataOption(t,r){return map$2(t,function(V,oe){var ie=r&&r[oe];if(isObject$3(ie)&&!isArray$1(ie)){var le=isObject$3(V)&&!isArray$1(V);le||(V={value:V});var ue=ie.name!=null&&V.name==null;return V=defaults(V,ie),ue&&delete V.name,V}else return V})}registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,r){var V=[];each$c(t.newOption.series,function(oe){var ie=r.getSeriesByName(oe.name)[0];if(!ie)V.push(extend({type:"scatter"},oe));else{var le=ie.get("data");V.push({name:oe.name,data:tryMergeDataOption(oe.data,le)})}}),r.mergeOption(defaults({series:V},t.newOption))});const DataView$2=DataView$1;var each$6=each$c,inner$1=makeInner();function push(t,r){var V=getStoreSnapshots(t);each$6(r,function(oe,ie){for(var le=V.length-1;le>=0;le--){var ue=V[le];if(ue[ie])break}if(le<0){var de=t.queryComponents({mainType:"dataZoom",subType:"select",id:ie})[0];if(de){var pe=de.getPercentRange();V[0][ie]={dataZoomId:ie,start:pe[0],end:pe[1]}}}}),V.push(r)}function pop(t){var r=getStoreSnapshots(t),V=r[r.length-1];r.length>1&&r.pop();var oe={};return each$6(V,function(ie,le){for(var ue=r.length-1;ue>=0;ue--)if(ie=r[ue][le],ie){oe[le]=ie;break}}),oe}function clear(t){inner$1(t).snapshots=null}function count(t){return getStoreSnapshots(t).length}function getStoreSnapshots(t){var r=inner$1(t);return r.snapshots||(r.snapshots=[{}]),r.snapshots}var RestoreOption=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.onclick=function(V,oe){clear(V),oe.dispatchAction({type:"restore",from:this.uid})},r.getDefaultOption=function(V){var oe={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:V.getLocaleModel().get(["toolbox","restore","title"])};return oe},r}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,r){r.resetOption("recreate")});const Restore=RestoreOption;var INCLUDE_FINDER_MAIN_TYPES=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],BrushTargetManager=function(){function t(r,V,oe){var ie=this;this._targetInfoList=[];var le=parseFinder(V,r);each$c(targetInfoBuilders,function(ue,de){(!oe||!oe.include||indexOf(oe.include,de)>=0)&&ue(le,ie._targetInfoList)})}return t.prototype.setOutputRanges=function(r,V){return this.matchOutputRanges(r,V,function(oe,ie,le){if((oe.coordRanges||(oe.coordRanges=[])).push(ie),!oe.coordRange){oe.coordRange=ie;var ue=coordConvert[oe.brushType](0,le,ie);oe.__rangeOffset={offset:diffProcessor[oe.brushType](ue.values,oe.range,[1,1]),xyMinMax:ue.xyMinMax}}}),r},t.prototype.matchOutputRanges=function(r,V,oe){each$c(r,function(ie){var le=this.findTargetInfo(ie,V);le&&le!==!0&&each$c(le.coordSyses,function(ue){var de=coordConvert[ie.brushType](1,ue,ie.range,!0);oe(ie,de.values,ue,V)})},this)},t.prototype.setInputRanges=function(r,V){each$c(r,function(oe){var ie=this.findTargetInfo(oe,V);if(oe.range=oe.range||[],ie&&ie!==!0){oe.panelId=ie.panelId;var le=coordConvert[oe.brushType](0,ie.coordSys,oe.coordRange),ue=oe.__rangeOffset;oe.range=ue?diffProcessor[oe.brushType](le.values,ue.offset,getScales(le.xyMinMax,ue.xyMinMax)):le.values}},this)},t.prototype.makePanelOpts=function(r,V){return map$2(this._targetInfoList,function(oe){var ie=oe.getPanelRect();return{panelId:oe.panelId,defaultBrushType:V?V(oe):null,clipPath:makeRectPanelClipPath(ie),isTargetByCursor:makeRectIsTargetByCursor(ie,r,oe.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(ie)}})},t.prototype.controlSeries=function(r,V,oe){var ie=this.findTargetInfo(r,oe);return ie===!0||ie&&indexOf(ie.coordSyses,V.coordinateSystem)>=0},t.prototype.findTargetInfo=function(r,V){for(var oe=this._targetInfoList,ie=parseFinder(V,r),le=0;le<oe.length;le++){var ue=oe[le],de=r.panelId;if(de){if(ue.panelId===de)return ue}else for(var pe=0;pe<targetInfoMatchers.length;pe++)if(targetInfoMatchers[pe](ie,ue))return ue}return!0},t}();function formatMinMax(t){return t[0]>t[1]&&t.reverse(),t}function parseFinder(t,r){return parseFinder$1(t,r,{includeMainTypes:INCLUDE_FINDER_MAIN_TYPES})}var targetInfoBuilders={grid:function(t,r){var V=t.xAxisModels,oe=t.yAxisModels,ie=t.gridModels,le=createHashMap(),ue={},de={};!V&&!oe&&!ie||(each$c(V,function(pe){var he=pe.axis.grid.model;le.set(he.id,he),ue[he.id]=!0}),each$c(oe,function(pe){var he=pe.axis.grid.model;le.set(he.id,he),de[he.id]=!0}),each$c(ie,function(pe){le.set(pe.id,pe),ue[pe.id]=!0,de[pe.id]=!0}),le.each(function(pe){var he=pe.coordinateSystem,_e=[];each$c(he.getCartesians(),function($e,Ie){(indexOf(V,$e.getAxis("x").model)>=0||indexOf(oe,$e.getAxis("y").model)>=0)&&_e.push($e)}),r.push({panelId:"grid--"+pe.id,gridModel:pe,coordSysModel:pe,coordSys:_e[0],coordSyses:_e,getPanelRect:panelRectBuilders.grid,xAxisDeclared:ue[pe.id],yAxisDeclared:de[pe.id]})}))},geo:function(t,r){each$c(t.geoModels,function(V){var oe=V.coordinateSystem;r.push({panelId:"geo--"+V.id,geoModel:V,coordSysModel:V,coordSys:oe,coordSyses:[oe],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function(t,r){var V=t.xAxisModel,oe=t.yAxisModel,ie=t.gridModel;return!ie&&V&&(ie=V.axis.grid.model),!ie&&oe&&(ie=oe.axis.grid.model),ie&&ie===r.gridModel},function(t,r){var V=t.geoModel;return V&&V===r.geoModel}],panelRectBuilders={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,r=t.getBoundingRect().clone();return r.applyTransform(getTransform$1(t)),r}},coordConvert={lineX:curry$1(axisConvert,0),lineY:curry$1(axisConvert,1),rect:function(t,r,V,oe){var ie=t?r.pointToData([V[0][0],V[1][0]],oe):r.dataToPoint([V[0][0],V[1][0]],oe),le=t?r.pointToData([V[0][1],V[1][1]],oe):r.dataToPoint([V[0][1],V[1][1]],oe),ue=[formatMinMax([ie[0],le[0]]),formatMinMax([ie[1],le[1]])];return{values:ue,xyMinMax:ue}},polygon:function(t,r,V,oe){var ie=[[1/0,-1/0],[1/0,-1/0]],le=map$2(V,function(ue){var de=t?r.pointToData(ue,oe):r.dataToPoint(ue,oe);return ie[0][0]=Math.min(ie[0][0],de[0]),ie[1][0]=Math.min(ie[1][0],de[1]),ie[0][1]=Math.max(ie[0][1],de[0]),ie[1][1]=Math.max(ie[1][1],de[1]),de});return{values:le,xyMinMax:ie}}};function axisConvert(t,r,V,oe){var ie=V.getAxis(["x","y"][t]),le=formatMinMax(map$2([0,1],function(de){return r?ie.coordToData(ie.toLocalCoord(oe[de]),!0):ie.toGlobalCoord(ie.dataToCoord(oe[de]))})),ue=[];return ue[t]=le,ue[1-t]=[NaN,NaN],{values:le,xyMinMax:ue}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function(t,r,V){return[[t[0][0]-V[0]*r[0][0],t[0][1]-V[0]*r[0][1]],[t[1][0]-V[1]*r[1][0],t[1][1]-V[1]*r[1][1]]]},polygon:function(t,r,V){return map$2(t,function(oe,ie){return[oe[0]-V[0]*r[ie][0],oe[1]-V[1]*r[ie][1]]})}};function axisDiffProcessor(t,r,V,oe){return[r[0]-oe[t]*V[0],r[1]-oe[t]*V[1]]}function getScales(t,r){var V=getSize(t),oe=getSize(r),ie=[V[0]/oe[0],V[1]/oe[1]];return isNaN(ie[0])&&(ie[0]=1),isNaN(ie[1])&&(ie[1]=1),ie}function getSize(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}const BrushTargetManager$1=BrushTargetManager;var each$5=each$c,DATA_ZOOM_ID_BASE=makeInternalComponentId("toolbox-dataZoom_"),DataZoomFeature=function(t){__extends(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.render=function(V,oe,ie,le){this._brushController||(this._brushController=new BrushController$1(ie.getZr()),this._brushController.on("brush",bind$1(this._onBrush,this)).mount()),updateZoomBtnStatus(V,oe,this,le,ie),updateBackBtnStatus(V,oe)},r.prototype.onclick=function(V,oe,ie){handlers[ie].call(this)},r.prototype.remove=function(V,oe){this._brushController&&this._brushController.unmount()},r.prototype.dispose=function(V,oe){this._brushController&&this._brushController.dispose()},r.prototype._onBrush=function(V){var oe=V.areas;if(!V.isEnd||!oe.length)return;var ie={},le=this.ecModel;this._brushController.updateCovers([]);var ue=new BrushTargetManager$1(makeAxisFinder(this.model),le,{include:["grid"]});ue.matchOutputRanges(oe,le,function(he,_e,$e){if($e.type==="cartesian2d"){var Ie=he.brushType;Ie==="rect"?(de("x",$e,_e[0]),de("y",$e,_e[1])):de({lineX:"x",lineY:"y"}[Ie],$e,_e)}}),push(le,ie),this._dispatchZoomAction(ie);function de(he,_e,$e){var Ie=_e.getAxis(he),Ve=Ie.model,Fe=pe(he,Ve,le),Ue=Fe.findRepresentativeAxisProxy(Ve).getMinMaxSpan();(Ue.minValueSpan!=null||Ue.maxValueSpan!=null)&&($e=sliderMove(0,$e.slice(),Ie.scale.getExtent(),0,Ue.minValueSpan,Ue.maxValueSpan)),Fe&&(ie[Fe.id]={dataZoomId:Fe.id,startValue:$e[0],endValue:$e[1]})}function pe(he,_e,$e){var Ie;return $e.eachComponent({mainType:"dataZoom",subType:"select"},function(Ve){var Fe=Ve.getAxisModel(he,_e.componentIndex);Fe&&(Ie=Ve)}),Ie}},r.prototype._dispatchZoomAction=function(V){var oe=[];each$5(V,function(ie,le){oe.push(clone$3(ie))}),oe.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:oe})},r.getDefaultOption=function(V){var oe={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:V.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return oe},r}(ToolboxFeature),handlers={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(pop(this.ecModel))}};function makeAxisFinder(t){var r={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return r.xAxisIndex==null&&r.xAxisId==null&&(r.xAxisIndex="all"),r.yAxisIndex==null&&r.yAxisId==null&&(r.yAxisIndex="all"),r}function updateBackBtnStatus(t,r){t.setIconStatus("back",count(r)>1?"emphasis":"normal")}function updateZoomBtnStatus(t,r,V,oe,ie){var le=V._isZoomActive;oe&&oe.type==="takeGlobalCursor"&&(le=oe.key==="dataZoomSelect"?oe.dataZoomSelectActive:!1),V._isZoomActive=le,t.setIconStatus("zoom",le?"emphasis":"normal");var ue=new BrushTargetManager$1(makeAxisFinder(t),r,{include:["grid"]}),de=ue.makePanelOpts(ie,function(pe){return pe.xAxisDeclared&&!pe.yAxisDeclared?"lineX":!pe.xAxisDeclared&&pe.yAxisDeclared?"lineY":"rect"});V._brushController.setPanels(de).enableBrush(le&&de.length?{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function(t){var r=t.getComponent("toolbox",0),V=["feature","dataZoom"];if(!r||r.get(V)==null)return;var oe=r.getModel(V),ie=[],le=makeAxisFinder(oe),ue=parseFinder$1(t,le);each$5(ue.xAxisModels,function(pe){return de(pe,"xAxis","xAxisIndex")}),each$5(ue.yAxisModels,function(pe){return de(pe,"yAxis","yAxisIndex")});function de(pe,he,_e){var $e=pe.componentIndex,Ie={type:"select",$fromToolbox:!0,filterMode:oe.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+he+$e};Ie[_e]=$e,ie.push(Ie)}return ie});const DataZoom=DataZoomFeature;function install$b(t){t.registerComponentModel(ToolboxModel$1),t.registerComponentView(ToolboxView$1),registerFeature("saveAsImage",SaveAsImage$1),registerFeature("magicType",MagicType$1),registerFeature("dataView",DataView$2),registerFeature("dataZoom",DataZoom),registerFeature("restore",Restore),use$1(install$c)}var TooltipModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.type="tooltip",r.dependencies=["axisPointer"],r.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},r}(ComponentModel$1);const TooltipModel$1=TooltipModel;function shouldTooltipConfine(t){var r=t.get("confine");return r!=null?!!r:t.get("renderMode")==="richText"}function testStyle(t){if(env$1.domSupported){for(var r=document.documentElement.style,V=0,oe=t.length;V<oe;V++)if(t[V]in r)return t[V]}}var TRANSFORM_VENDOR=testStyle(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),TRANSITION_VENDOR=testStyle(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function toCSSVendorPrefix(t,r){if(!t)return r;r=toCamelCase(r,!0);var V=t.indexOf(r);return t=V===-1?r:"-"+t.slice(0,V)+"-"+r,t.toLowerCase()}function getComputedStyle$1(t,r){var V=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return V?r?V[r]:V:null}var CSS_TRANSITION_VENDOR=toCSSVendorPrefix(TRANSITION_VENDOR,"transition"),CSS_TRANSFORM_VENDOR=toCSSVendorPrefix(TRANSFORM_VENDOR,"transform"),gCssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(env$1.transform3dSupported?"will-change:transform;":"");function mirrorPos(t){return t=t==="left"?"right":t==="right"?"left":t==="top"?"bottom":"top",t}function assembleArrow(t,r,V){if(!isString(V)||V==="inside")return"";var oe=t.get("backgroundColor"),ie=t.get("borderWidth");r=convertToColorString(r);var le=mirrorPos(V),ue=Math.max(Math.round(ie)*1.5,6),de="",pe=CSS_TRANSFORM_VENDOR+":",he;indexOf(["left","right"],le)>-1?(de+="top:50%",pe+="translateY(-50%) rotate("+(he=le==="left"?-225:-45)+"deg)"):(de+="left:50%",pe+="translateX(-50%) rotate("+(he=le==="top"?225:45)+"deg)");var _e=he*Math.PI/180,$e=ue+ie,Ie=$e*Math.abs(Math.cos(_e))+$e*Math.abs(Math.sin(_e)),Ve=Math.round(((Ie-Math.SQRT2*ie)/2+Math.SQRT2*ie-(Ie-$e)/2)*100)/100;de+=";"+le+":-"+Ve+"px";var Fe=r+" solid "+ie+"px;",Ue=["position:absolute;width:"+ue+"px;height:"+ue+"px;z-index:-1;",de+";"+pe+";","border-bottom:"+Fe,"border-right:"+Fe,"background-color:"+oe+";"];return'<div style="'+Ue.join("")+'"></div>'}function assembleTransition(t,r){var V="cubic-bezier(0.23,1,0.32,1)",oe=" "+t/2+"s "+V,ie="opacity"+oe+",visibility"+oe;return r||(oe=" "+t+"s "+V,ie+=env$1.transformSupported?","+CSS_TRANSFORM_VENDOR+oe:",left"+oe+",top"+oe),CSS_TRANSITION_VENDOR+":"+ie}function assembleTransform(t,r,V){var oe=t.toFixed(0)+"px",ie=r.toFixed(0)+"px";if(!env$1.transformSupported)return V?"top:"+ie+";left:"+oe+";":[["top",ie],["left",oe]];var le=env$1.transform3dSupported,ue="translate"+(le?"3d":"")+"("+oe+","+ie+(le?",0":"")+")";return V?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+ue+";":[["top",0],["left",0],[TRANSFORM_VENDOR,ue]]}function assembleFont(t){var r=[],V=t.get("fontSize"),oe=t.getTextColor();oe&&r.push("color:"+oe),r.push("font:"+t.getFont()),V&&r.push("line-height:"+Math.round(V*3/2)+"px");var ie=t.get("textShadowColor"),le=t.get("textShadowBlur")||0,ue=t.get("textShadowOffsetX")||0,de=t.get("textShadowOffsetY")||0;return ie&&le&&r.push("text-shadow:"+ue+"px "+de+"px "+le+"px "+ie),each$c(["decoration","align"],function(pe){var he=t.get(pe);he&&r.push("text-"+pe+":"+he)}),r.join(";")}function assembleCssText(t,r,V){var oe=[],ie=t.get("transitionDuration"),le=t.get("backgroundColor"),ue=t.get("shadowBlur"),de=t.get("shadowColor"),pe=t.get("shadowOffsetX"),he=t.get("shadowOffsetY"),_e=t.getModel("textStyle"),$e=getPaddingFromTooltipModel(t,"html"),Ie=pe+"px "+he+"px "+ue+"px "+de;return oe.push("box-shadow:"+Ie),r&&ie&&oe.push(assembleTransition(ie,V)),le&&oe.push("background-color:"+le),each$c(["width","color","radius"],function(Ve){var Fe="border-"+Ve,Ue=toCamelCase(Fe),qe=t.get(Ue);qe!=null&&oe.push(Fe+":"+qe+(Ve==="color"?"":"px"))}),oe.push(assembleFont(_e)),$e!=null&&oe.push("padding:"+normalizeCssArray($e).join("px ")+"px"),oe.join(";")+";"}function makeStyleCoord$1(t,r,V,oe,ie){var le=r&&r.painter;if(V){var ue=le&&le.getViewportRoot();ue&&transformLocalCoord(t,ue,document.body,oe,ie)}else{t[0]=oe,t[1]=ie;var de=le&&le.getViewportRootOffset();de&&(t[0]+=de.offsetLeft,t[1]+=de.offsetTop)}t[2]=t[0]/r.getWidth(),t[3]=t[1]/r.getHeight()}var TooltipHTMLContent=function(){function t(r,V,oe){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,env$1.wxa)return null;var ie=document.createElement("div");ie.domBelongToZr=!0,this.el=ie;var le=this._zr=V.getZr(),ue=this._appendToBody=oe&&oe.appendToBody;makeStyleCoord$1(this._styleCoord,le,ue,V.getWidth()/2,V.getHeight()/2),ue?document.body.appendChild(ie):r.appendChild(ie),this._container=r;var de=this;ie.onmouseenter=function(){de._enterable&&(clearTimeout(de._hideTimeout),de._show=!0),de._inContent=!0},ie.onmousemove=function(pe){if(pe=pe||window.event,!de._enterable){var he=le.handler,_e=le.painter.getViewportRoot();normalizeEvent(_e,pe,!0),he.dispatch("mousemove",pe)}},ie.onmouseleave=function(){de._inContent=!1,de._enterable&&de._show&&de.hideLater(de._hideDelay)}}return t.prototype.update=function(r){var V=this._container,oe=getComputedStyle$1(V,"position"),ie=V.style;ie.position!=="absolute"&&oe!=="absolute"&&(ie.position="relative");var le=r.get("alwaysShowContent");le&&this._moveIfResized(),this._alwaysShowContent=le,this.el.className=r.get("className")||""},t.prototype.show=function(r,V){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var oe=this.el,ie=oe.style,le=this._styleCoord;oe.innerHTML?ie.cssText=gCssText+assembleCssText(r,!this._firstShow,this._longHide)+assembleTransform(le[0],le[1],!0)+("border-color:"+convertToColorString(V)+";")+(r.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):ie.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(r,V,oe,ie,le){var ue=this.el;if(r==null){ue.innerHTML="";return}var de="";if(isString(le)&&oe.get("trigger")==="item"&&!shouldTooltipConfine(oe)&&(de=assembleArrow(oe,ie,le)),isString(r))ue.innerHTML=r+de;else if(r){ue.innerHTML="",isArray$1(r)||(r=[r]);for(var pe=0;pe<r.length;pe++)isDom(r[pe])&&r[pe].parentNode!==ue&&ue.appendChild(r[pe]);if(de&&ue.childNodes.length){var he=document.createElement("div");he.innerHTML=de,ue.appendChild(he)}}},t.prototype.setEnterable=function(r){this._enterable=r},t.prototype.getSize=function(){var r=this.el;return[r.offsetWidth,r.offsetHeight]},t.prototype.moveTo=function(r,V){var oe=this._styleCoord;if(makeStyleCoord$1(oe,this._zr,this._appendToBody,r,V),oe[0]!=null&&oe[1]!=null){var ie=this.el.style,le=assembleTransform(oe[0],oe[1]);each$c(le,function(ue){ie[ue[0]]=ue[1]})}},t.prototype._moveIfResized=function(){var r=this._styleCoord[2],V=this._styleCoord[3];this.moveTo(r*this._zr.getWidth(),V*this._zr.getHeight())},t.prototype.hide=function(){var r=this,V=this.el.style;V.visibility="hidden",V.opacity="0",env$1.transform3dSupported&&(V.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return r._longHide=!0},500)},t.prototype.hideLater=function(r){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(r?(this._hideDelay=r,this._show=!1,this._hideTimeout=setTimeout(bind$1(this.hide,this),r)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}();const TooltipHTMLContent$1=TooltipHTMLContent;var TooltipRichContent=function(){function t(r){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=r.getZr(),makeStyleCoord(this._styleCoord,this._zr,r.getWidth()/2,r.getHeight()/2)}return t.prototype.update=function(r){var V=r.get("alwaysShowContent");V&&this._moveIfResized(),this._alwaysShowContent=V},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(r,V,oe,ie,le){var ue=this;isObject$3(r)&&throwError(""),this.el&&this._zr.remove(this.el);var de=oe.getModel("textStyle");this.el=new ZRText$1({style:{rich:V.richTextStyles,text:r,lineHeight:22,borderWidth:1,borderColor:ie,textShadowColor:de.get("textShadowColor"),fill:oe.get(["textStyle","color"]),padding:getPaddingFromTooltipModel(oe,"richText"),verticalAlign:"top",align:"left"},z:oe.get("z")}),each$c(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(he){ue.el.style[he]=oe.get(he)}),each$c(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(he){ue.el.style[he]=de.get(he)||0}),this._zr.add(this.el);var pe=this;this.el.on("mouseover",function(){pe._enterable&&(clearTimeout(pe._hideTimeout),pe._show=!0),pe._inContent=!0}),this.el.on("mouseout",function(){pe._enterable&&pe._show&&pe.hideLater(pe._hideDelay),pe._inContent=!1})},t.prototype.setEnterable=function(r){this._enterable=r},t.prototype.getSize=function(){var r=this.el,V=this.el.getBoundingRect(),oe=calcShadowOuterSize(r.style);return[V.width+oe.left+oe.right,V.height+oe.top+oe.bottom]},t.prototype.moveTo=function(r,V){var oe=this.el;if(oe){var ie=this._styleCoord;makeStyleCoord(ie,this._zr,r,V),r=ie[0],V=ie[1];var le=oe.style,ue=mathMaxWith0(le.borderWidth||0),de=calcShadowOuterSize(le);oe.x=r+ue+de.left,oe.y=V+ue+de.top,oe.markRedraw()}},t.prototype._moveIfResized=function(){var r=this._styleCoord[2],V=this._styleCoord[3];this.moveTo(r*this._zr.getWidth(),V*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(r){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(r?(this._hideDelay=r,this._show=!1,this._hideTimeout=setTimeout(bind$1(this.hide,this),r)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function mathMaxWith0(t){return Math.max(0,t)}function calcShadowOuterSize(t){var r=mathMaxWith0(t.shadowBlur||0),V=mathMaxWith0(t.shadowOffsetX||0),oe=mathMaxWith0(t.shadowOffsetY||0);return{left:mathMaxWith0(r-V),right:mathMaxWith0(r+V),top:mathMaxWith0(r-oe),bottom:mathMaxWith0(r+oe)}}function makeStyleCoord(t,r,V,oe){t[0]=V,t[1]=oe,t[2]=t[0]/r.getWidth(),t[3]=t[1]/r.getHeight()}const TooltipRichContent$1=TooltipRichContent;var proxyRect=new Rect$2({shape:{x:-1,y:-1,width:2,height:2}}),TooltipView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.init=function(V,oe){if(!(env$1.node||!oe.getDom())){var ie=V.getComponent("tooltip"),le=this._renderMode=getTooltipRenderMode(ie.get("renderMode"));this._tooltipContent=le==="richText"?new TooltipRichContent$1(oe):new TooltipHTMLContent$1(oe.getDom(),oe,{appendToBody:ie.get("appendToBody",!0)})}},r.prototype.render=function(V,oe,ie){if(!(env$1.node||!ie.getDom())){this.group.removeAll(),this._tooltipModel=V,this._ecModel=oe,this._api=ie;var le=this._tooltipContent;le.update(V),le.setEnterable(V.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&V.get("transitionDuration")?createOrUpdate(this,"_updatePosition",50,"fixRate"):clear$1(this,"_updatePosition")}},r.prototype._initGlobalListener=function(){var V=this._tooltipModel,oe=V.get("triggerOn");register("itemTooltip",this._api,bind$1(function(ie,le,ue){oe!=="none"&&(oe.indexOf(ie)>=0?this._tryShow(le,ue):ie==="leave"&&this._hide(ue))},this))},r.prototype._keepShow=function(){var V=this._tooltipModel,oe=this._ecModel,ie=this._api,le=V.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&le!=="none"&&le!=="click"){var ue=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!ie.isDisposed()&&ue.manuallyShowTip(V,oe,ie,{x:ue._lastX,y:ue._lastY,dataByCoordSys:ue._lastDataByCoordSys})})}},r.prototype.manuallyShowTip=function(V,oe,ie,le){if(!(le.from===this.uid||env$1.node||!ie.getDom())){var ue=makeDispatchAction(le,ie);this._ticket="";var de=le.dataByCoordSys,pe=findComponentReference(le,oe,ie);if(pe){var he=pe.el.getBoundingRect().clone();he.applyTransform(pe.el.transform),this._tryShow({offsetX:he.x+he.width/2,offsetY:he.y+he.height/2,target:pe.el,position:le.position,positionDefault:"bottom"},ue)}else if(le.tooltip&&le.x!=null&&le.y!=null){var _e=proxyRect;_e.x=le.x,_e.y=le.y,_e.update(),getECData(_e).tooltipConfig={name:null,option:le.tooltip},this._tryShow({offsetX:le.x,offsetY:le.y,target:_e},ue)}else if(de)this._tryShow({offsetX:le.x,offsetY:le.y,position:le.position,dataByCoordSys:de,tooltipOption:le.tooltipOption},ue);else if(le.seriesIndex!=null){if(this._manuallyAxisShowTip(V,oe,ie,le))return;var $e=findPointFromSeries(le,oe),Ie=$e.point[0],Ve=$e.point[1];Ie!=null&&Ve!=null&&this._tryShow({offsetX:Ie,offsetY:Ve,target:$e.el,position:le.position,positionDefault:"bottom"},ue)}else le.x!=null&&le.y!=null&&(ie.dispatchAction({type:"updateAxisPointer",x:le.x,y:le.y}),this._tryShow({offsetX:le.x,offsetY:le.y,position:le.position,target:ie.getZr().findHover(le.x,le.y).target},ue))}},r.prototype.manuallyHideTip=function(V,oe,ie,le){var ue=this._tooltipContent;this._tooltipModel&&ue.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,le.from!==this.uid&&this._hide(makeDispatchAction(le,ie))},r.prototype._manuallyAxisShowTip=function(V,oe,ie,le){var ue=le.seriesIndex,de=le.dataIndex,pe=oe.getComponent("axisPointer").coordSysAxesInfo;if(!(ue==null||de==null||pe==null)){var he=oe.getSeriesByIndex(ue);if(he){var _e=he.getData(),$e=buildTooltipModel([_e.getItemModel(de),he,(he.coordinateSystem||{}).model],this._tooltipModel);if($e.get("trigger")==="axis")return ie.dispatchAction({type:"updateAxisPointer",seriesIndex:ue,dataIndex:de,position:le.position}),!0}}},r.prototype._tryShow=function(V,oe){var ie=V.target,le=this._tooltipModel;if(le){this._lastX=V.offsetX,this._lastY=V.offsetY;var ue=V.dataByCoordSys;if(ue&&ue.length)this._showAxisTooltip(ue,V);else if(ie){this._lastDataByCoordSys=null;var de,pe;findEventDispatcher(ie,function(he){if(getECData(he).dataIndex!=null)return de=he,!0;if(getECData(he).tooltipConfig!=null)return pe=he,!0},!0),de?this._showSeriesItemTooltip(V,de,oe):pe?this._showComponentItemTooltip(V,pe,oe):this._hide(oe)}else this._lastDataByCoordSys=null,this._hide(oe)}},r.prototype._showOrMove=function(V,oe){var ie=V.get("showDelay");oe=bind$1(oe,this),clearTimeout(this._showTimout),ie>0?this._showTimout=setTimeout(oe,ie):oe()},r.prototype._showAxisTooltip=function(V,oe){var ie=this._ecModel,le=this._tooltipModel,ue=[oe.offsetX,oe.offsetY],de=buildTooltipModel([oe.tooltipOption],le),pe=this._renderMode,he=[],_e=createTooltipMarkup("section",{blocks:[],noHeader:!0}),$e=[],Ie=new TooltipMarkupStyleCreator;each$c(V,function(At){each$c(At.dataByAxis,function(Lt){var hn=ie.getComponent(Lt.axisDim+"Axis",Lt.axisIndex),_n=Lt.value;if(!(!hn||_n==null)){var vn=getValueLabel(_n,hn.axis,ie,Lt.seriesDataIndices,Lt.valueLabelOpt),bn=createTooltipMarkup("section",{header:vn,noHeader:!trim$1(vn),sortBlocks:!0,blocks:[]});_e.blocks.push(bn),each$c(Lt.seriesDataIndices,function(Cn){var Sn=ie.getSeriesByIndex(Cn.seriesIndex),wn=Cn.dataIndexInside,En=Sn.getDataParams(wn);if(!(En.dataIndex<0)){En.axisDim=Lt.axisDim,En.axisIndex=Lt.axisIndex,En.axisType=Lt.axisType,En.axisId=Lt.axisId,En.axisValue=getAxisRawValue(hn.axis,{value:_n}),En.axisValueLabel=vn,En.marker=Ie.makeTooltipMarker("item",convertToColorString(En.color),pe);var xn=normalizeTooltipFormatResult(Sn.formatTooltip(wn,!0,null)),Pn=xn.frag;if(Pn){var kn=buildTooltipModel([Sn],le).get("valueFormatter");bn.blocks.push(kn?extend({valueFormatter:kn},Pn):Pn)}xn.text&&$e.push(xn.text),he.push(En)}})}})}),_e.blocks.reverse(),$e.reverse();var Ve=oe.position,Fe=de.get("order"),Ue=buildTooltipMarkup(_e,Ie,pe,Fe,ie.get("useUTC"),de.get("textStyle"));Ue&&$e.unshift(Ue);var qe=pe==="richText"?`
|
||
|
||
`:"<br/>",Et=$e.join(qe);this._showOrMove(de,function(){this._updateContentNotChangedOnAxis(V,he)?this._updatePosition(de,Ve,ue[0],ue[1],this._tooltipContent,he):this._showTooltipContent(de,Et,he,Math.random()+"",ue[0],ue[1],Ve,null,Ie)})},r.prototype._showSeriesItemTooltip=function(V,oe,ie){var le=this._ecModel,ue=getECData(oe),de=ue.seriesIndex,pe=le.getSeriesByIndex(de),he=ue.dataModel||pe,_e=ue.dataIndex,$e=ue.dataType,Ie=he.getData($e),Ve=this._renderMode,Fe=V.positionDefault,Ue=buildTooltipModel([Ie.getItemModel(_e),he,pe&&(pe.coordinateSystem||{}).model],this._tooltipModel,Fe?{position:Fe}:null),qe=Ue.get("trigger");if(!(qe!=null&&qe!=="item")){var Et=he.getDataParams(_e,$e),At=new TooltipMarkupStyleCreator;Et.marker=At.makeTooltipMarker("item",convertToColorString(Et.color),Ve);var Lt=normalizeTooltipFormatResult(he.formatTooltip(_e,!1,$e)),hn=Ue.get("order"),_n=Ue.get("valueFormatter"),vn=Lt.frag,bn=vn?buildTooltipMarkup(_n?extend({valueFormatter:_n},vn):vn,At,Ve,hn,le.get("useUTC"),Ue.get("textStyle")):Lt.text,Cn="item_"+he.name+"_"+_e;this._showOrMove(Ue,function(){this._showTooltipContent(Ue,bn,Et,Cn,V.offsetX,V.offsetY,V.position,V.target,At)}),ie({type:"showTip",dataIndexInside:_e,dataIndex:Ie.getRawIndex(_e),seriesIndex:de,from:this.uid})}},r.prototype._showComponentItemTooltip=function(V,oe,ie){var le=getECData(oe),ue=le.tooltipConfig,de=ue.option||{};if(isString(de)){var pe=de;de={content:pe,formatter:pe}}var he=[de],_e=this._ecModel.getComponent(le.componentMainType,le.componentIndex);_e&&he.push(_e),he.push({formatter:de.content});var $e=V.positionDefault,Ie=buildTooltipModel(he,this._tooltipModel,$e?{position:$e}:null),Ve=Ie.get("content"),Fe=Math.random()+"",Ue=new TooltipMarkupStyleCreator;this._showOrMove(Ie,function(){var qe=clone$3(Ie.get("formatterParams")||{});this._showTooltipContent(Ie,Ve,qe,Fe,V.offsetX,V.offsetY,V.position,oe,Ue)}),ie({type:"showTip",from:this.uid})},r.prototype._showTooltipContent=function(V,oe,ie,le,ue,de,pe,he,_e){if(this._ticket="",!(!V.get("showContent")||!V.get("show"))){var $e=this._tooltipContent;$e.setEnterable(V.get("enterable"));var Ie=V.get("formatter");pe=pe||V.get("position");var Ve=oe,Fe=this._getNearestPoint([ue,de],ie,V.get("trigger"),V.get("borderColor")),Ue=Fe.color;if(Ie)if(isString(Ie)){var qe=V.ecModel.get("useUTC"),Et=isArray$1(ie)?ie[0]:ie,At=Et&&Et.axisType&&Et.axisType.indexOf("time")>=0;Ve=Ie,At&&(Ve=format$1(Et.axisValue,Ve,qe)),Ve=formatTpl(Ve,ie,!0)}else if(isFunction(Ie)){var Lt=bind$1(function(hn,_n){hn===this._ticket&&($e.setContent(_n,_e,V,Ue,pe),this._updatePosition(V,pe,ue,de,$e,ie,he))},this);this._ticket=le,Ve=Ie(ie,le,Lt)}else Ve=Ie;$e.setContent(Ve,_e,V,Ue,pe),$e.show(V,Ue),this._updatePosition(V,pe,ue,de,$e,ie,he)}},r.prototype._getNearestPoint=function(V,oe,ie,le){if(ie==="axis"||isArray$1(oe))return{color:le||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(oe))return{color:le||oe.color||oe.borderColor}},r.prototype._updatePosition=function(V,oe,ie,le,ue,de,pe){var he=this._api.getWidth(),_e=this._api.getHeight();oe=oe||V.get("position");var $e=ue.getSize(),Ie=V.get("align"),Ve=V.get("verticalAlign"),Fe=pe&&pe.getBoundingRect().clone();if(pe&&Fe.applyTransform(pe.transform),isFunction(oe)&&(oe=oe([ie,le],de,ue.el,Fe,{viewSize:[he,_e],contentSize:$e.slice()})),isArray$1(oe))ie=parsePercent(oe[0],he),le=parsePercent(oe[1],_e);else if(isObject$3(oe)){var Ue=oe;Ue.width=$e[0],Ue.height=$e[1];var qe=getLayoutRect(Ue,{width:he,height:_e});ie=qe.x,le=qe.y,Ie=null,Ve=null}else if(isString(oe)&&pe){var Et=calcTooltipPosition(oe,Fe,$e,V.get("borderWidth"));ie=Et[0],le=Et[1]}else{var Et=refixTooltipPosition(ie,le,ue,he,_e,Ie?null:20,Ve?null:20);ie=Et[0],le=Et[1]}if(Ie&&(ie-=isCenterAlign(Ie)?$e[0]/2:Ie==="right"?$e[0]:0),Ve&&(le-=isCenterAlign(Ve)?$e[1]/2:Ve==="bottom"?$e[1]:0),shouldTooltipConfine(V)){var Et=confineTooltipPosition(ie,le,ue,he,_e);ie=Et[0],le=Et[1]}ue.moveTo(ie,le)},r.prototype._updateContentNotChangedOnAxis=function(V,oe){var ie=this._lastDataByCoordSys,le=this._cbParamsList,ue=!!ie&&ie.length===V.length;return ue&&each$c(ie,function(de,pe){var he=de.dataByAxis||[],_e=V[pe]||{},$e=_e.dataByAxis||[];ue=ue&&he.length===$e.length,ue&&each$c(he,function(Ie,Ve){var Fe=$e[Ve]||{},Ue=Ie.seriesDataIndices||[],qe=Fe.seriesDataIndices||[];ue=ue&&Ie.value===Fe.value&&Ie.axisType===Fe.axisType&&Ie.axisId===Fe.axisId&&Ue.length===qe.length,ue&&each$c(Ue,function(Et,At){var Lt=qe[At];ue=ue&&Et.seriesIndex===Lt.seriesIndex&&Et.dataIndex===Lt.dataIndex}),le&&each$c(Ie.seriesDataIndices,function(Et){var At=Et.seriesIndex,Lt=oe[At],hn=le[At];Lt&&hn&&hn.data!==Lt.data&&(ue=!1)})})}),this._lastDataByCoordSys=V,this._cbParamsList=oe,!!ue},r.prototype._hide=function(V){this._lastDataByCoordSys=null,V({type:"hideTip",from:this.uid})},r.prototype.dispose=function(V,oe){env$1.node||!oe.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",oe))},r.type="tooltip",r}(ComponentView$1);function buildTooltipModel(t,r,V){var oe=r.ecModel,ie;V?(ie=new Model$1(V,oe,oe),ie=new Model$1(r.option,ie,oe)):ie=r;for(var le=t.length-1;le>=0;le--){var ue=t[le];ue&&(ue instanceof Model$1&&(ue=ue.get("tooltip",!0)),isString(ue)&&(ue={formatter:ue}),ue&&(ie=new Model$1(ue,ie,oe)))}return ie}function makeDispatchAction(t,r){return t.dispatchAction||bind$1(r.dispatchAction,r)}function refixTooltipPosition(t,r,V,oe,ie,le,ue){var de=V.getSize(),pe=de[0],he=de[1];return le!=null&&(t+pe+le+2>oe?t-=pe+le:t+=le),ue!=null&&(r+he+ue>ie?r-=he+ue:r+=ue),[t,r]}function confineTooltipPosition(t,r,V,oe,ie){var le=V.getSize(),ue=le[0],de=le[1];return t=Math.min(t+ue,oe)-ue,r=Math.min(r+de,ie)-de,t=Math.max(t,0),r=Math.max(r,0),[t,r]}function calcTooltipPosition(t,r,V,oe){var ie=V[0],le=V[1],ue=Math.ceil(Math.SQRT2*oe)+8,de=0,pe=0,he=r.width,_e=r.height;switch(t){case"inside":de=r.x+he/2-ie/2,pe=r.y+_e/2-le/2;break;case"top":de=r.x+he/2-ie/2,pe=r.y-le-ue;break;case"bottom":de=r.x+he/2-ie/2,pe=r.y+_e+ue;break;case"left":de=r.x-ie-ue,pe=r.y+_e/2-le/2;break;case"right":de=r.x+he+ue,pe=r.y+_e/2-le/2}return[de,pe]}function isCenterAlign(t){return t==="center"||t==="middle"}function findComponentReference(t,r,V){var oe=preParseFinder(t).queryOptionMap,ie=oe.keys()[0];if(!(!ie||ie==="series")){var le=queryReferringComponents(r,ie,oe.get(ie),{useDefault:!1,enableAll:!1,enableNone:!1}),ue=le.models[0];if(ue){var de=V.getViewOfComponentModel(ue),pe;if(de.group.traverse(function(he){var _e=getECData(he).tooltipConfig;if(_e&&_e.name===t.name)return pe=he,!0}),pe)return{componentMainType:ie,componentIndex:ue.componentIndex,el:pe}}}}const TooltipView$1=TooltipView;function install$a(t){use$1(install$f),t.registerComponentModel(TooltipModel$1),t.registerComponentView(TooltipView$1),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var each$4=each$c;function hasKeys(t){if(t){for(var r in t)if(t.hasOwnProperty(r))return!0}}function createVisualMappings(t,r,V){var oe={};return each$4(r,function(le){var ue=oe[le]=ie();each$4(t[le],function(de,pe){if(VisualMapping$1.isValidType(pe)){var he={type:pe,visual:de};V&&V(he,le),ue[pe]=new VisualMapping$1(he),pe==="opacity"&&(he=clone$3(he),he.type="colorAlpha",ue.__hidden.__alphaForOpacity=new VisualMapping$1(he))}})}),oe;function ie(){var le=function(){};le.prototype.__hidden=le.prototype;var ue=new le;return ue}}function replaceVisualOption(t,r,V){var oe;each$c(V,function(ie){r.hasOwnProperty(ie)&&hasKeys(r[ie])&&(oe=!0)}),oe&&each$c(V,function(ie){r.hasOwnProperty(ie)&&hasKeys(r[ie])?t[ie]=clone$3(r[ie]):delete t[ie]})}function incrementalApplyVisual(t,r,V,oe){var ie={};return each$c(t,function(le){var ue=VisualMapping$1.prepareVisualTypes(r[le]);ie[le]=ue}),{progress:function(ue,de){var pe;oe!=null&&(pe=de.getDimensionIndex(oe));function he(_n){return getItemVisualFromData(de,$e,_n)}function _e(_n,vn){setItemVisualFromData(de,$e,_n,vn)}for(var $e,Ie=de.getStore();($e=ue.next())!=null;){var Ve=de.getRawDataItem($e);if(!(Ve&&Ve.visualMap===!1))for(var Fe=oe!=null?Ie.get(pe,$e):$e,Ue=V(Fe),qe=r[Ue],Et=ie[Ue],At=0,Lt=Et.length;At<Lt;At++){var hn=Et[At];qe[hn]&&qe[hn].applyVisual(Fe,he,_e)}}}}}var TitleModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.layoutMode={type:"box",ignoreSize:!0},V}return r.type="title",r.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},r}(ComponentModel$1),TitleView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.render=function(V,oe,ie){if(this.group.removeAll(),!!V.get("show")){var le=this.group,ue=V.getModel("textStyle"),de=V.getModel("subtextStyle"),pe=V.get("textAlign"),he=retrieve2(V.get("textBaseline"),V.get("textVerticalAlign")),_e=new ZRText$1({style:createTextStyle$1(ue,{text:V.get("text"),fill:ue.getTextColor()},{disableBox:!0}),z2:10}),$e=_e.getBoundingRect(),Ie=V.get("subtext"),Ve=new ZRText$1({style:createTextStyle$1(de,{text:Ie,fill:de.getTextColor(),y:$e.height+V.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),Fe=V.get("link"),Ue=V.get("sublink"),qe=V.get("triggerEvent",!0);_e.silent=!Fe&&!qe,Ve.silent=!Ue&&!qe,Fe&&_e.on("click",function(){windowOpen(Fe,"_"+V.get("target"))}),Ue&&Ve.on("click",function(){windowOpen(Ue,"_"+V.get("subtarget"))}),getECData(_e).eventData=getECData(Ve).eventData=qe?{componentType:"title",componentIndex:V.componentIndex}:null,le.add(_e),Ie&&le.add(Ve);var Et=le.getBoundingRect(),At=V.getBoxLayoutParams();At.width=Et.width,At.height=Et.height;var Lt=getLayoutRect(At,{width:ie.getWidth(),height:ie.getHeight()},V.get("padding"));pe||(pe=V.get("left")||V.get("right"),pe==="middle"&&(pe="center"),pe==="right"?Lt.x+=Lt.width:pe==="center"&&(Lt.x+=Lt.width/2)),he||(he=V.get("top")||V.get("bottom"),he==="center"&&(he="middle"),he==="bottom"?Lt.y+=Lt.height:he==="middle"&&(Lt.y+=Lt.height/2),he=he||"top"),le.x=Lt.x,le.y=Lt.y,le.markRedraw();var hn={align:pe,verticalAlign:he};_e.setStyle(hn),Ve.setStyle(hn),Et=le.getBoundingRect();var _n=Lt.margin,vn=V.getItemStyle(["color","opacity"]);vn.fill=V.get("backgroundColor");var bn=new Rect$2({shape:{x:Et.x-_n[3],y:Et.y-_n[0],width:Et.width+_n[1]+_n[3],height:Et.height+_n[0]+_n[2],r:V.get("borderRadius")},style:vn,subPixelOptimize:!0,silent:!0});le.add(bn)}},r.type="title",r}(ComponentView$1);function install$9(t){t.registerComponentModel(TitleModel),t.registerComponentView(TitleView)}var getDefaultSelectorOptions=function(t,r){if(r==="all")return{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])};if(r==="inverse")return{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}},LegendModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.layoutMode={type:"box",ignoreSize:!0},V}return r.prototype.init=function(V,oe,ie){this.mergeDefaultAndTheme(V,ie),V.selected=V.selected||{},this._updateSelector(V)},r.prototype.mergeOption=function(V,oe){t.prototype.mergeOption.call(this,V,oe),this._updateSelector(V)},r.prototype._updateSelector=function(V){var oe=V.selector,ie=this.ecModel;oe===!0&&(oe=V.selector=["all","inverse"]),isArray$1(oe)&&each$c(oe,function(le,ue){isString(le)&&(le={type:le}),oe[ue]=merge(le,getDefaultSelectorOptions(ie,le.type))})},r.prototype.optionUpdated=function(){this._updateData(this.ecModel);var V=this._data;if(V[0]&&this.get("selectedMode")==="single"){for(var oe=!1,ie=0;ie<V.length;ie++){var le=V[ie].get("name");if(this.isSelected(le)){this.select(le),oe=!0;break}}!oe&&this.select(V[0].get("name"))}},r.prototype._updateData=function(V){var oe=[],ie=[];V.eachRawSeries(function(pe){var he=pe.name;ie.push(he);var _e;if(pe.legendVisualProvider){var $e=pe.legendVisualProvider,Ie=$e.getAllNames();V.isSeriesFiltered(pe)||(ie=ie.concat(Ie)),Ie.length?oe=oe.concat(Ie):_e=!0}else _e=!0;_e&&isNameSpecified(pe)&&oe.push(pe.name)}),this._availableNames=ie;var le=this.get("data")||oe,ue=createHashMap(),de=map$2(le,function(pe){return(isString(pe)||isNumber(pe))&&(pe={name:pe}),ue.get(pe.name)?null:(ue.set(pe.name,!0),new Model$1(pe,this,this.ecModel))},this);this._data=filter(de,function(pe){return!!pe})},r.prototype.getData=function(){return this._data},r.prototype.select=function(V){var oe=this.option.selected,ie=this.get("selectedMode");if(ie==="single"){var le=this._data;each$c(le,function(ue){oe[ue.get("name")]=!1})}oe[V]=!0},r.prototype.unSelect=function(V){this.get("selectedMode")!=="single"&&(this.option.selected[V]=!1)},r.prototype.toggleSelected=function(V){var oe=this.option.selected;oe.hasOwnProperty(V)||(oe[V]=!0),this[oe[V]?"unSelect":"select"](V)},r.prototype.allSelect=function(){var V=this._data,oe=this.option.selected;each$c(V,function(ie){oe[ie.get("name",!0)]=!0})},r.prototype.inverseSelect=function(){var V=this._data,oe=this.option.selected;each$c(V,function(ie){var le=ie.get("name",!0);oe.hasOwnProperty(le)||(oe[le]=!0),oe[le]=!oe[le]})},r.prototype.isSelected=function(V){var oe=this.option.selected;return!(oe.hasOwnProperty(V)&&!oe[V])&&indexOf(this._availableNames,V)>=0},r.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},r.type="legend.plain",r.dependencies=["series"],r.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},r}(ComponentModel$1);const LegendModel$1=LegendModel;var curry=curry$1,each$3=each$c,Group$1=Group$3,LegendView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.newlineDisabled=!1,V}return r.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},r.prototype.getContentGroup=function(){return this._contentGroup},r.prototype.getSelectorGroup=function(){return this._selectorGroup},r.prototype.render=function(V,oe,ie){var le=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!V.get("show",!0)){var ue=V.get("align"),de=V.get("orient");(!ue||ue==="auto")&&(ue=V.get("left")==="right"&&de==="vertical"?"right":"left");var pe=V.get("selector",!0),he=V.get("selectorPosition",!0);pe&&(!he||he==="auto")&&(he=de==="horizontal"?"end":"start"),this.renderInner(ue,V,oe,ie,pe,de,he);var _e=V.getBoxLayoutParams(),$e={width:ie.getWidth(),height:ie.getHeight()},Ie=V.get("padding"),Ve=getLayoutRect(_e,$e,Ie),Fe=this.layoutInner(V,ue,Ve,le,pe,he),Ue=getLayoutRect(defaults({width:Fe.width,height:Fe.height},_e),$e,Ie);this.group.x=Ue.x-Fe.x,this.group.y=Ue.y-Fe.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(Fe,V))}},r.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},r.prototype.renderInner=function(V,oe,ie,le,ue,de,pe){var he=this.getContentGroup(),_e=createHashMap(),$e=oe.get("selectedMode"),Ie=[];ie.eachRawSeries(function(Ve){!Ve.get("legendHoverLink")&&Ie.push(Ve.id)}),each$3(oe.getData(),function(Ve,Fe){var Ue=Ve.get("name");if(!this.newlineDisabled&&(Ue===""||Ue===`
|
||
`)){var qe=new Group$1;qe.newline=!0,he.add(qe);return}var Et=ie.getSeriesByName(Ue)[0];if(!_e.get(Ue))if(Et){var At=Et.getData(),Lt=At.getVisual("legendLineStyle")||{},hn=At.getVisual("legendIcon"),_n=At.getVisual("style"),vn=this._createItem(Et,Ue,Fe,Ve,oe,V,Lt,_n,hn,$e,le);vn.on("click",curry(dispatchSelectAction,Ue,null,le,Ie)).on("mouseover",curry(dispatchHighlightAction,Et.name,null,le,Ie)).on("mouseout",curry(dispatchDownplayAction,Et.name,null,le,Ie)),_e.set(Ue,!0)}else ie.eachRawSeries(function(bn){if(!_e.get(Ue)&&bn.legendVisualProvider){var Cn=bn.legendVisualProvider;if(!Cn.containName(Ue))return;var Sn=Cn.indexOfName(Ue),wn=Cn.getItemVisual(Sn,"style"),En=Cn.getItemVisual(Sn,"legendIcon"),xn=parse$1(wn.fill);xn&&xn[3]===0&&(xn[3]=.2,wn=extend(extend({},wn),{fill:stringify(xn,"rgba")}));var Pn=this._createItem(bn,Ue,Fe,Ve,oe,V,{},wn,En,$e,le);Pn.on("click",curry(dispatchSelectAction,null,Ue,le,Ie)).on("mouseover",curry(dispatchHighlightAction,null,Ue,le,Ie)).on("mouseout",curry(dispatchDownplayAction,null,Ue,le,Ie)),_e.set(Ue,!0)}},this)},this),ue&&this._createSelector(ue,oe,le,de,pe)},r.prototype._createSelector=function(V,oe,ie,le,ue){var de=this.getSelectorGroup();each$3(V,function(he){var _e=he.type,$e=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){ie.dispatchAction({type:_e==="all"?"legendAllSelect":"legendInverseSelect"})}});de.add($e);var Ie=oe.getModel("selectorLabel"),Ve=oe.getModel(["emphasis","selectorLabel"]);setLabelStyle($e,{normal:Ie,emphasis:Ve},{defaultText:he.title}),enableHoverEmphasis($e)})},r.prototype._createItem=function(V,oe,ie,le,ue,de,pe,he,_e,$e,Ie){var Ve=V.visualDrawType,Fe=ue.get("itemWidth"),Ue=ue.get("itemHeight"),qe=ue.isSelected(oe),Et=le.get("symbolRotate"),At=le.get("symbolKeepAspect"),Lt=le.get("icon");_e=Lt||_e||"roundRect";var hn=getLegendStyle(_e,le,pe,he,Ve,qe,Ie),_n=new Group$1,vn=le.getModel("textStyle");if(isFunction(V.getLegendIcon)&&(!Lt||Lt==="inherit"))_n.add(V.getLegendIcon({itemWidth:Fe,itemHeight:Ue,icon:_e,iconRotate:Et,itemStyle:hn.itemStyle,lineStyle:hn.lineStyle,symbolKeepAspect:At}));else{var bn=Lt==="inherit"&&V.getData().getVisual("symbol")?Et==="inherit"?V.getData().getVisual("symbolRotate"):Et:0;_n.add(getDefaultLegendIcon({itemWidth:Fe,itemHeight:Ue,icon:_e,iconRotate:bn,itemStyle:hn.itemStyle,lineStyle:hn.lineStyle,symbolKeepAspect:At}))}var Cn=de==="left"?Fe+5:-5,Sn=de,wn=ue.get("formatter"),En=oe;isString(wn)&&wn?En=wn.replace("{name}",oe??""):isFunction(wn)&&(En=wn(oe));var xn=qe?vn.getTextColor():le.get("inactiveColor");_n.add(new ZRText$1({style:createTextStyle$1(vn,{text:En,x:Cn,y:Ue/2,fill:xn,align:Sn,verticalAlign:"middle"},{inheritColor:xn})}));var Pn=new Rect$2({shape:_n.getBoundingRect(),invisible:!0}),kn=le.getModel("tooltip");return kn.get("show")&&setTooltipConfig({el:Pn,componentModel:ue,itemName:oe,itemTooltipOption:kn.option}),_n.add(Pn),_n.eachChild(function(Nn){Nn.silent=!0}),Pn.silent=!$e,this.getContentGroup().add(_n),enableHoverEmphasis(_n),_n.__legendDataIndex=ie,_n},r.prototype.layoutInner=function(V,oe,ie,le,ue,de){var pe=this.getContentGroup(),he=this.getSelectorGroup();box(V.get("orient"),pe,V.get("itemGap"),ie.width,ie.height);var _e=pe.getBoundingRect(),$e=[-_e.x,-_e.y];if(he.markRedraw(),pe.markRedraw(),ue){box("horizontal",he,V.get("selectorItemGap",!0));var Ie=he.getBoundingRect(),Ve=[-Ie.x,-Ie.y],Fe=V.get("selectorButtonGap",!0),Ue=V.getOrient().index,qe=Ue===0?"width":"height",Et=Ue===0?"height":"width",At=Ue===0?"y":"x";de==="end"?Ve[Ue]+=_e[qe]+Fe:$e[Ue]+=Ie[qe]+Fe,Ve[1-Ue]+=_e[Et]/2-Ie[Et]/2,he.x=Ve[0],he.y=Ve[1],pe.x=$e[0],pe.y=$e[1];var Lt={x:0,y:0};return Lt[qe]=_e[qe]+Fe+Ie[qe],Lt[Et]=Math.max(_e[Et],Ie[Et]),Lt[At]=Math.min(0,Ie[At]+Ve[1-Ue]),Lt}else return pe.x=$e[0],pe.y=$e[1],this.group.getBoundingRect()},r.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},r.type="legend.plain",r}(ComponentView$1);function getLegendStyle(t,r,V,oe,ie,le,ue){function de(qe,Et){qe.lineWidth==="auto"&&(qe.lineWidth=Et.lineWidth>0?2:0),each$3(qe,function(At,Lt){qe[Lt]==="inherit"&&(qe[Lt]=Et[Lt])})}var pe=r.getModel("itemStyle"),he=pe.getItemStyle(),_e=t.lastIndexOf("empty",0)===0?"fill":"stroke",$e=pe.getShallow("decal");he.decal=!$e||$e==="inherit"?oe.decal:createOrUpdatePatternFromDecal($e,ue),he.fill==="inherit"&&(he.fill=oe[ie]),he.stroke==="inherit"&&(he.stroke=oe[_e]),he.opacity==="inherit"&&(he.opacity=(ie==="fill"?oe:V).opacity),de(he,oe);var Ie=r.getModel("lineStyle"),Ve=Ie.getLineStyle();if(de(Ve,V),he.fill==="auto"&&(he.fill=oe.fill),he.stroke==="auto"&&(he.stroke=oe.fill),Ve.stroke==="auto"&&(Ve.stroke=oe.fill),!le){var Fe=r.get("inactiveBorderWidth"),Ue=he[_e];he.lineWidth=Fe==="auto"?oe.lineWidth>0&&Ue?2:0:he.lineWidth,he.fill=r.get("inactiveColor"),he.stroke=r.get("inactiveBorderColor"),Ve.stroke=Ie.get("inactiveColor"),Ve.lineWidth=Ie.get("inactiveWidth")}return{itemStyle:he,lineStyle:Ve}}function getDefaultLegendIcon(t){var r=t.icon||"roundRect",V=createSymbol(r,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return V.setStyle(t.itemStyle),V.rotation=(t.iconRotate||0)*Math.PI/180,V.setOrigin([t.itemWidth/2,t.itemHeight/2]),r.indexOf("empty")>-1&&(V.style.stroke=V.style.fill,V.style.fill="#fff",V.style.lineWidth=2),V}function dispatchSelectAction(t,r,V,oe){dispatchDownplayAction(t,r,V,oe),V.dispatchAction({type:"legendToggleSelect",name:t??r}),dispatchHighlightAction(t,r,V,oe)}function isUseHoverLayer(t){for(var r=t.getZr().storage.getDisplayList(),V,oe=0,ie=r.length;oe<ie&&!(V=r[oe].states.emphasis);)oe++;return V&&V.hoverLayer}function dispatchHighlightAction(t,r,V,oe){isUseHoverLayer(V)||V.dispatchAction({type:"highlight",seriesName:t,name:r,excludeSeriesId:oe})}function dispatchDownplayAction(t,r,V,oe){isUseHoverLayer(V)||V.dispatchAction({type:"downplay",seriesName:t,name:r,excludeSeriesId:oe})}const LegendView$1=LegendView;function legendFilter(t){var r=t.findComponents({mainType:"legend"});r&&r.length&&t.filterSeries(function(V){for(var oe=0;oe<r.length;oe++)if(!r[oe].isSelected(V.name))return!1;return!0})}function legendSelectActionHandler(t,r,V){var oe={},ie=t==="toggleSelected",le;return V.eachComponent("legend",function(ue){ie&&le!=null?ue[le?"select":"unSelect"](r.name):t==="allSelect"||t==="inverseSelect"?ue[t]():(ue[t](r.name),le=ue.isSelected(r.name));var de=ue.getData();each$c(de,function(pe){var he=pe.get("name");if(!(he===`
|
||
`||he==="")){var _e=ue.isSelected(he);oe.hasOwnProperty(he)?oe[he]=oe[he]&&_e:oe[he]=_e}})}),t==="allSelect"||t==="inverseSelect"?{selected:oe}:{name:r.name,selected:oe}}function installLegendAction(t){t.registerAction("legendToggleSelect","legendselectchanged",curry$1(legendSelectActionHandler,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",curry$1(legendSelectActionHandler,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",curry$1(legendSelectActionHandler,"inverseSelect")),t.registerAction("legendSelect","legendselected",curry$1(legendSelectActionHandler,"select")),t.registerAction("legendUnSelect","legendunselected",curry$1(legendSelectActionHandler,"unSelect"))}function install$8(t){t.registerComponentModel(LegendModel$1),t.registerComponentView(LegendView$1),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),t.registerSubTypeDefaulter("legend",function(){return"plain"}),installLegendAction(t)}var ScrollableLegendModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.setScrollDataIndex=function(V){this.option.scrollDataIndex=V},r.prototype.init=function(V,oe,ie){var le=getLayoutParams(V);t.prototype.init.call(this,V,oe,ie),mergeAndNormalizeLayoutParams(this,V,le)},r.prototype.mergeOption=function(V,oe){t.prototype.mergeOption.call(this,V,oe),mergeAndNormalizeLayoutParams(this,this.option,V)},r.type="legend.scroll",r.defaultOption=inheritDefaultOption(LegendModel$1.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),r}(LegendModel$1);function mergeAndNormalizeLayoutParams(t,r,V){var oe=t.getOrient(),ie=[1,1];ie[oe.index]=0,mergeLayoutParam(r,V,{type:"box",ignoreSize:!!ie})}const ScrollableLegendModel$1=ScrollableLegendModel;var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.newlineDisabled=!0,V._currentIndex=0,V}return r.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new Group),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Group)},r.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},r.prototype.renderInner=function(V,oe,ie,le,ue,de,pe){var he=this;t.prototype.renderInner.call(this,V,oe,ie,le,ue,de,pe);var _e=this._controllerGroup,$e=oe.get("pageIconSize",!0),Ie=isArray$1($e)?$e:[$e,$e];Fe("pagePrev",0);var Ve=oe.getModel("pageTextStyle");_e.add(new ZRText$1({name:"pageText",style:{text:"xx/xx",fill:Ve.getTextColor(),font:Ve.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),Fe("pageNext",1);function Fe(Ue,qe){var Et=Ue+"DataIndex",At=createIcon(oe.get("pageIcons",!0)[oe.getOrient().name][qe],{onclick:bind$1(he._pageGo,he,Et,oe,le)},{x:-Ie[0]/2,y:-Ie[1]/2,width:Ie[0],height:Ie[1]});At.name=Ue,_e.add(At)}},r.prototype.layoutInner=function(V,oe,ie,le,ue,de){var pe=this.getSelectorGroup(),he=V.getOrient().index,_e=WH[he],$e=XY[he],Ie=WH[1-he],Ve=XY[1-he];ue&&box("horizontal",pe,V.get("selectorItemGap",!0));var Fe=V.get("selectorButtonGap",!0),Ue=pe.getBoundingRect(),qe=[-Ue.x,-Ue.y],Et=clone$3(ie);ue&&(Et[_e]=ie[_e]-Ue[_e]-Fe);var At=this._layoutContentAndController(V,le,Et,he,_e,Ie,Ve,$e);if(ue){if(de==="end")qe[he]+=At[_e]+Fe;else{var Lt=Ue[_e]+Fe;qe[he]-=Lt,At[$e]-=Lt}At[_e]+=Ue[_e]+Fe,qe[1-he]+=At[Ve]+At[Ie]/2-Ue[Ie]/2,At[Ie]=Math.max(At[Ie],Ue[Ie]),At[Ve]=Math.min(At[Ve],Ue[Ve]+qe[1-he]),pe.x=qe[0],pe.y=qe[1],pe.markRedraw()}return At},r.prototype._layoutContentAndController=function(V,oe,ie,le,ue,de,pe,he){var _e=this.getContentGroup(),$e=this._containerGroup,Ie=this._controllerGroup;box(V.get("orient"),_e,V.get("itemGap"),le?ie.width:null,le?null:ie.height),box("horizontal",Ie,V.get("pageButtonItemGap",!0));var Ve=_e.getBoundingRect(),Fe=Ie.getBoundingRect(),Ue=this._showController=Ve[ue]>ie[ue],qe=[-Ve.x,-Ve.y];oe||(qe[le]=_e[he]);var Et=[0,0],At=[-Fe.x,-Fe.y],Lt=retrieve2(V.get("pageButtonGap",!0),V.get("itemGap",!0));if(Ue){var hn=V.get("pageButtonPosition",!0);hn==="end"?At[le]+=ie[ue]-Fe[ue]:Et[le]+=Fe[ue]+Lt}At[1-le]+=Ve[de]/2-Fe[de]/2,_e.setPosition(qe),$e.setPosition(Et),Ie.setPosition(At);var _n={x:0,y:0};if(_n[ue]=Ue?ie[ue]:Ve[ue],_n[de]=Math.max(Ve[de],Fe[de]),_n[pe]=Math.min(0,Fe[pe]+At[1-le]),$e.__rectSize=ie[ue],Ue){var vn={x:0,y:0};vn[ue]=Math.max(ie[ue]-Fe[ue]-Lt,0),vn[de]=_n[de],$e.setClipPath(new Rect$2({shape:vn})),$e.__rectSize=vn[ue]}else Ie.eachChild(function(Cn){Cn.attr({invisible:!0,silent:!0})});var bn=this._getPageInfo(V);return bn.pageIndex!=null&&updateProps$1(_e,{x:bn.contentPosition[0],y:bn.contentPosition[1]},Ue?V:null),this._updatePageInfoView(V,bn),_n},r.prototype._pageGo=function(V,oe,ie){var le=this._getPageInfo(oe)[V];le!=null&&ie.dispatchAction({type:"legendScroll",scrollDataIndex:le,legendId:oe.id})},r.prototype._updatePageInfoView=function(V,oe){var ie=this._controllerGroup;each$c(["pagePrev","pageNext"],function(_e){var $e=_e+"DataIndex",Ie=oe[$e]!=null,Ve=ie.childOfName(_e);Ve&&(Ve.setStyle("fill",Ie?V.get("pageIconColor",!0):V.get("pageIconInactiveColor",!0)),Ve.cursor=Ie?"pointer":"default")});var le=ie.childOfName("pageText"),ue=V.get("pageFormatter"),de=oe.pageIndex,pe=de!=null?de+1:0,he=oe.pageCount;le&&ue&&le.setStyle("text",isString(ue)?ue.replace("{current}",pe==null?"":pe+"").replace("{total}",he==null?"":he+""):ue({current:pe,total:he}))},r.prototype._getPageInfo=function(V){var oe=V.get("scrollDataIndex",!0),ie=this.getContentGroup(),le=this._containerGroup.__rectSize,ue=V.getOrient().index,de=WH[ue],pe=XY[ue],he=this._findTargetItemIndex(oe),_e=ie.children(),$e=_e[he],Ie=_e.length,Ve=Ie?1:0,Fe={contentPosition:[ie.x,ie.y],pageCount:Ve,pageIndex:Ve-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!$e)return Fe;var Ue=hn($e);Fe.contentPosition[ue]=-Ue.s;for(var qe=he+1,Et=Ue,At=Ue,Lt=null;qe<=Ie;++qe)Lt=hn(_e[qe]),(!Lt&&At.e>Et.s+le||Lt&&!_n(Lt,Et.s))&&(At.i>Et.i?Et=At:Et=Lt,Et&&(Fe.pageNextDataIndex==null&&(Fe.pageNextDataIndex=Et.i),++Fe.pageCount)),At=Lt;for(var qe=he-1,Et=Ue,At=Ue,Lt=null;qe>=-1;--qe)Lt=hn(_e[qe]),(!Lt||!_n(At,Lt.s))&&Et.i<At.i&&(At=Et,Fe.pagePrevDataIndex==null&&(Fe.pagePrevDataIndex=Et.i),++Fe.pageCount,++Fe.pageIndex),Et=Lt;return Fe;function hn(vn){if(vn){var bn=vn.getBoundingRect(),Cn=bn[pe]+vn[pe];return{s:Cn,e:Cn+bn[de],i:vn.__legendDataIndex}}}function _n(vn,bn){return vn.e>=bn&&vn.s<=bn+le}},r.prototype._findTargetItemIndex=function(V){if(!this._showController)return 0;var oe,ie=this.getContentGroup(),le;return ie.eachChild(function(ue,de){var pe=ue.__legendDataIndex;le==null&&pe!=null&&(le=de),pe===V&&(oe=de)}),oe??le},r.type="legend.scroll",r}(LegendView$1);const ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(t){t.registerAction("legendScroll","legendscroll",function(r,V){var oe=r.scrollDataIndex;oe!=null&&V.eachComponent({mainType:"legend",subType:"scroll",query:r},function(ie){ie.setScrollDataIndex(oe)})})}function install$7(t){use$1(install$8),t.registerComponentModel(ScrollableLegendModel$1),t.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction(t)}function install$6(t){use$1(install$8),use$1(install$7)}var InsideZoomModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.type="dataZoom.inside",r.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),r}(DataZoomModel$1);const InsideZoomModel$1=InsideZoomModel;var inner=makeInner();function setViewInfoToCoordSysRecord(t,r,V){inner(t).coordSysRecordMap.each(function(oe){var ie=oe.dataZoomInfoMap.get(r.uid);ie&&(ie.getRange=V)})}function disposeCoordSysRecordIfNeeded(t,r){for(var V=inner(t).coordSysRecordMap,oe=V.keys(),ie=0;ie<oe.length;ie++){var le=oe[ie],ue=V.get(le),de=ue.dataZoomInfoMap;if(de){var pe=r.uid,he=de.get(pe);he&&(de.removeKey(pe),de.keys().length||disposeCoordSysRecord(V,ue))}}}function disposeCoordSysRecord(t,r){if(r){t.removeKey(r.model.uid);var V=r.controller;V&&V.dispose()}}function createCoordSysRecord(t,r){var V={model:r,containsPoint:curry$1(containsPoint,r),dispatchAction:curry$1(dispatchAction,t),dataZoomInfoMap:null,controller:null},oe=V.controller=new RoamController$1(t.getZr());return each$c(["pan","zoom","scrollMove"],function(ie){oe.on(ie,function(le){var ue=[];V.dataZoomInfoMap.each(function(de){if(le.isAvailableBehavior(de.model.option)){var pe=(de.getRange||{})[ie],he=pe&&pe(de.dzReferCoordSysInfo,V.model.mainType,V.controller,le);!de.model.get("disabled",!0)&&he&&ue.push({dataZoomId:de.model.id,start:he[0],end:he[1]})}}),ue.length&&V.dispatchAction(ue)})}),V}function dispatchAction(t,r){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:r})}function containsPoint(t,r,V,oe){return t.coordinateSystem.containPoint([V,oe])}function mergeControllerParams(t){var r,V="type_",oe={type_true:2,type_move:1,type_false:0,type_undefined:-1},ie=!0;return t.each(function(le){var ue=le.model,de=ue.get("disabled",!0)?!1:ue.get("zoomLock",!0)?"move":!0;oe[V+de]>oe[V+r]&&(r=de),ie=ie&&ue.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!ie}}}function installDataZoomRoamProcessor(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(r,V){var oe=inner(V),ie=oe.coordSysRecordMap||(oe.coordSysRecordMap=createHashMap());ie.each(function(le){le.dataZoomInfoMap=null}),r.eachComponent({mainType:"dataZoom",subType:"inside"},function(le){var ue=collectReferCoordSysModelInfo(le);each$c(ue.infoList,function(de){var pe=de.model.uid,he=ie.get(pe)||ie.set(pe,createCoordSysRecord(V,de.model)),_e=he.dataZoomInfoMap||(he.dataZoomInfoMap=createHashMap());_e.set(le.uid,{dzReferCoordSysInfo:de,model:le,getRange:null})})}),ie.each(function(le){var ue=le.controller,de,pe=le.dataZoomInfoMap;if(pe){var he=pe.keys()[0];he!=null&&(de=pe.get(he))}if(!de){disposeCoordSysRecord(ie,le);return}var _e=mergeControllerParams(pe);ue.enable(_e.controlType,_e.opt),ue.setPointerChecker(le.containsPoint),createOrUpdate(le,"dispatchAction",de.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type="dataZoom.inside",V}return r.prototype.render=function(V,oe,ie){if(t.prototype.render.apply(this,arguments),V.noTarget()){this._clear();return}this.range=V.getPercentRange(),setViewInfoToCoordSysRecord(ie,V,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},r.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},r.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},r.type="dataZoom.inside",r}(DataZoomView$1),getRangeHandlers={zoom:function(t,r,V,oe){var ie=this.range,le=ie.slice(),ue=t.axisModels[0];if(ue){var de=getDirectionInfo[r](null,[oe.originX,oe.originY],ue,V,t),pe=(de.signal>0?de.pixelStart+de.pixelLength-de.pixel:de.pixel-de.pixelStart)/de.pixelLength*(le[1]-le[0])+le[0],he=Math.max(1/oe.scale,0);le[0]=(le[0]-pe)*he+pe,le[1]=(le[1]-pe)*he+pe;var _e=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,le,[0,100],0,_e.minSpan,_e.maxSpan),this.range=le,ie[0]!==le[0]||ie[1]!==le[1])return le}},pan:makeMover(function(t,r,V,oe,ie,le){var ue=getDirectionInfo[oe]([le.oldX,le.oldY],[le.newX,le.newY],r,ie,V);return ue.signal*(t[1]-t[0])*ue.pixel/ue.pixelLength}),scrollMove:makeMover(function(t,r,V,oe,ie,le){var ue=getDirectionInfo[oe]([0,0],[le.scrollDelta,le.scrollDelta],r,ie,V);return ue.signal*(t[1]-t[0])*le.scrollDelta})};function makeMover(t){return function(r,V,oe,ie){var le=this.range,ue=le.slice(),de=r.axisModels[0];if(de){var pe=t(ue,de,r,V,oe,ie);if(sliderMove(pe,ue,[0,100],"all"),this.range=ue,le[0]!==ue[0]||le[1]!==ue[1])return ue}}}var getDirectionInfo={grid:function(t,r,V,oe,ie){var le=V.axis,ue={},de=ie.model.coordinateSystem.getRect();return t=t||[0,0],le.dim==="x"?(ue.pixel=r[0]-t[0],ue.pixelLength=de.width,ue.pixelStart=de.x,ue.signal=le.inverse?1:-1):(ue.pixel=r[1]-t[1],ue.pixelLength=de.height,ue.pixelStart=de.y,ue.signal=le.inverse?-1:1),ue},polar:function(t,r,V,oe,ie){var le=V.axis,ue={},de=ie.model.coordinateSystem,pe=de.getRadiusAxis().getExtent(),he=de.getAngleAxis().getExtent();return t=t?de.pointToCoord(t):[0,0],r=de.pointToCoord(r),V.mainType==="radiusAxis"?(ue.pixel=r[0]-t[0],ue.pixelLength=pe[1]-pe[0],ue.pixelStart=pe[0],ue.signal=le.inverse?1:-1):(ue.pixel=r[1]-t[1],ue.pixelLength=he[1]-he[0],ue.pixelStart=he[0],ue.signal=le.inverse?-1:1),ue},singleAxis:function(t,r,V,oe,ie){var le=V.axis,ue=ie.model.coordinateSystem.getRect(),de={};return t=t||[0,0],le.orient==="horizontal"?(de.pixel=r[0]-t[0],de.pixelLength=ue.width,de.pixelStart=ue.x,de.signal=le.inverse?1:-1):(de.pixel=r[1]-t[1],de.pixelLength=ue.height,de.pixelStart=ue.y,de.signal=le.inverse?-1:1),de}};const InsideZoomView$1=InsideZoomView;function install$5(t){installCommon$1(t),t.registerComponentModel(InsideZoomModel$1),t.registerComponentView(InsideZoomView$1),installDataZoomRoamProcessor(t)}var SliderZoomModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.type="dataZoom.slider",r.layoutMode="box",r.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),r}(DataZoomModel$1);const SliderZoomModel$1=SliderZoomModel;var Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V._displayables={},V}return r.prototype.init=function(V,oe){this.api=oe,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},r.prototype.render=function(V,oe,ie,le){if(t.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",V.get("throttle"),"fixRate"),this._orient=V.getOrient(),V.get("show")===!1){this.group.removeAll();return}if(V.noTarget()){this._clear(),this.group.removeAll();return}(!le||le.type!=="dataZoom"||le.from!==this.uid)&&this._buildView(),this._updateView()},r.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},r.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var V=this.api.getZr();V.off("mousemove",this._onBrush),V.off("mouseup",this._onBrushEnd)},r.prototype._buildView=function(){var V=this.group;V.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var oe=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),V.add(oe),this._positionGroup()},r.prototype._resetLocation=function(){var V=this.dataZoomModel,oe=this.api,ie=V.get("brushSelect"),le=ie?DEFAULT_MOVE_HANDLE_SIZE:0,ue=this._findCoordRect(),de={width:oe.getWidth(),height:oe.getHeight()},pe=this._orient===HORIZONTAL?{right:de.width-ue.x-ue.width,top:de.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-le,width:ue.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:ue.y,width:DEFAULT_FILLER_SIZE,height:ue.height},he=getLayoutParams(V.option);each$c(["right","top","width","height"],function($e){he[$e]==="ph"&&(he[$e]=pe[$e])});var _e=getLayoutRect(he,de);this._location={x:_e.x,y:_e.y},this._size=[_e.width,_e.height],this._orient===VERTICAL&&this._size.reverse()},r.prototype._positionGroup=function(){var V=this.group,oe=this._location,ie=this._orient,le=this.dataZoomModel.getFirstTargetAxisModel(),ue=le&&le.get("inverse"),de=this._displayables.sliderGroup,pe=(this._dataShadowInfo||{}).otherAxisInverse;de.attr(ie===HORIZONTAL&&!ue?{scaleY:pe?1:-1,scaleX:1}:ie===HORIZONTAL&&ue?{scaleY:pe?1:-1,scaleX:-1}:ie===VERTICAL&&!ue?{scaleY:pe?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:pe?-1:1,scaleX:-1,rotation:Math.PI/2});var he=V.getBoundingRect([de]);V.x=oe.x-he.x,V.y=oe.y-he.y,V.markRedraw()},r.prototype._getViewExtent=function(){return[0,this._size[0]]},r.prototype._renderBackground=function(){var V=this.dataZoomModel,oe=this._size,ie=this._displayables.sliderGroup,le=V.get("brushSelect");ie.add(new Rect({silent:!0,shape:{x:0,y:0,width:oe[0],height:oe[1]},style:{fill:V.get("backgroundColor")},z2:-40}));var ue=new Rect({shape:{x:0,y:0,width:oe[0],height:oe[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),de=this.api.getZr();le?(ue.on("mousedown",this._onBrushStart,this),ue.cursor="crosshair",de.on("mousemove",this._onBrush),de.on("mouseup",this._onBrushEnd)):(de.off("mousemove",this._onBrush),de.off("mouseup",this._onBrushEnd)),ie.add(ue)},r.prototype._renderDataShadow=function(){var V=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!V)return;var oe=this._size,ie=this._shadowSize||[],le=V.series,ue=le.getRawData(),de=le.getShadowDim&&le.getShadowDim(),pe=de&&ue.getDimensionInfo(de)?le.getShadowDim():V.otherDim;if(pe==null)return;var he=this._shadowPolygonPts,_e=this._shadowPolylinePts;if(ue!==this._shadowData||pe!==this._shadowDim||oe[0]!==ie[0]||oe[1]!==ie[1]){var $e=ue.getDataExtent(pe),Ie=($e[1]-$e[0])*.3;$e=[$e[0]-Ie,$e[1]+Ie];var Ve=[0,oe[1]],Fe=[0,oe[0]],Ue=[[oe[0],0],[0,0]],qe=[],Et=Fe[1]/(ue.count()-1),At=0,Lt=Math.round(ue.count()/oe[0]),hn;ue.each([pe],function(Sn,wn){if(Lt>0&&wn%Lt){At+=Et;return}var En=Sn==null||isNaN(Sn)||Sn==="",xn=En?0:linearMap$2(Sn,$e,Ve,!0);En&&!hn&&wn?(Ue.push([Ue[Ue.length-1][0],0]),qe.push([qe[qe.length-1][0],0])):!En&&hn&&(Ue.push([At,0]),qe.push([At,0])),Ue.push([At,xn]),qe.push([At,xn]),At+=Et,hn=En}),he=this._shadowPolygonPts=Ue,_e=this._shadowPolylinePts=qe}this._shadowData=ue,this._shadowDim=pe,this._shadowSize=[oe[0],oe[1]];var _n=this.dataZoomModel;function vn(Sn){var wn=_n.getModel(Sn?"selectedDataBackground":"dataBackground"),En=new Group$3,xn=new Polygon$1({shape:{points:he},segmentIgnoreThreshold:1,style:wn.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),Pn=new Polyline$1({shape:{points:_e},segmentIgnoreThreshold:1,style:wn.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return En.add(xn),En.add(Pn),En}for(var bn=0;bn<3;bn++){var Cn=vn(bn===1);this._displayables.sliderGroup.add(Cn),this._displayables.dataShadowSegs.push(Cn)}},r.prototype._prepareDataShadowInfo=function(){var V=this.dataZoomModel,oe=V.get("showDataShadow");if(oe!==!1){var ie,le=this.ecModel;return V.eachTargetAxis(function(ue,de){var pe=V.getAxisProxy(ue,de).getTargetSeriesModels();each$c(pe,function(he){if(!ie&&!(oe!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,he.get("type"))<0)){var _e=le.getComponent(getAxisMainType(ue),de).axis,$e=getOtherDim(ue),Ie,Ve=he.coordinateSystem;$e!=null&&Ve.getOtherAxis&&(Ie=Ve.getOtherAxis(_e).inverse),$e=he.getData().mapDimension($e),ie={thisAxis:_e,series:he,thisDim:ue,otherDim:$e,otherAxisInverse:Ie}}},this)},this),ie}},r.prototype._renderHandle=function(){var V=this.group,oe=this._displayables,ie=oe.handles=[null,null],le=oe.handleLabels=[null,null],ue=this._displayables.sliderGroup,de=this._size,pe=this.dataZoomModel,he=this.api,_e=pe.get("borderRadius")||0,$e=pe.get("brushSelect"),Ie=oe.filler=new Rect({silent:$e,style:{fill:pe.get("fillerColor")},textConfig:{position:"inside"}});ue.add(Ie),ue.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:de[0],height:de[1],r:_e},style:{stroke:pe.get("dataBackgroundColor")||pe.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$c([0,1],function(Lt){var hn=pe.get("handleIcon");!symbolBuildProxies[hn]&&hn.indexOf("path://")<0&&hn.indexOf("image://")<0&&(hn="path://"+hn);var _n=createSymbol(hn,-1,0,2,2,null,!0);_n.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,Lt),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var vn=_n.getBoundingRect(),bn=pe.get("handleSize");this._handleHeight=parsePercent(bn,this._size[1]),this._handleWidth=vn.width/vn.height*this._handleHeight,_n.setStyle(pe.getModel("handleStyle").getItemStyle()),_n.style.strokeNoScale=!0,_n.rectHover=!0,_n.ensureState("emphasis").style=pe.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(_n);var Cn=pe.get("handleColor");Cn!=null&&(_n.style.fill=Cn),ue.add(ie[Lt]=_n);var Sn=pe.getModel("textStyle");V.add(le[Lt]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(Sn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Sn.getTextColor(),font:Sn.getFont()}),z2:10}))},this);var Ve=Ie;if($e){var Fe=parsePercent(pe.get("moveHandleSize"),de[1]),Ue=oe.moveHandle=new Rect$2({style:pe.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:de[1]-.5,height:Fe}}),qe=Fe*.8,Et=oe.moveHandleIcon=createSymbol(pe.get("moveHandleIcon"),-qe/2,-qe/2,qe,qe,"#fff",!0);Et.silent=!0,Et.y=de[1]+Fe/2-.5,Ue.ensureState("emphasis").style=pe.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var At=Math.min(de[1]/2,Math.max(Fe,10));Ve=oe.moveZone=new Rect$2({invisible:!0,shape:{y:de[1]-At,height:Fe+At}}),Ve.on("mouseover",function(){he.enterEmphasis(Ue)}).on("mouseout",function(){he.leaveEmphasis(Ue)}),ue.add(Ue),ue.add(Et),ue.add(Ve)}Ve.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},r.prototype._resetInterval=function(){var V=this._range=this.dataZoomModel.getPercentRange(),oe=this._getViewExtent();this._handleEnds=[linearMap$2(V[0],[0,100],oe,!0),linearMap$2(V[1],[0,100],oe,!0)]},r.prototype._updateInterval=function(V,oe){var ie=this.dataZoomModel,le=this._handleEnds,ue=this._getViewExtent(),de=ie.findRepresentativeAxisProxy().getMinMaxSpan(),pe=[0,100];sliderMove(oe,le,ue,ie.get("zoomLock")?"all":V,de.minSpan!=null?linearMap$2(de.minSpan,pe,ue,!0):null,de.maxSpan!=null?linearMap$2(de.maxSpan,pe,ue,!0):null);var he=this._range,_e=this._range=asc$2([linearMap$2(le[0],ue,pe,!0),linearMap$2(le[1],ue,pe,!0)]);return!he||he[0]!==_e[0]||he[1]!==_e[1]},r.prototype._updateView=function(V){var oe=this._displayables,ie=this._handleEnds,le=asc$2(ie.slice()),ue=this._size;each$c([0,1],function(Ve){var Fe=oe.handles[Ve],Ue=this._handleHeight;Fe.attr({scaleX:Ue/2,scaleY:Ue/2,x:ie[Ve]+(Ve?-1:1),y:ue[1]/2-Ue/2})},this),oe.filler.setShape({x:le[0],y:0,width:le[1]-le[0],height:ue[1]});var de={x:le[0],width:le[1]-le[0]};oe.moveHandle&&(oe.moveHandle.setShape(de),oe.moveZone.setShape(de),oe.moveZone.getBoundingRect(),oe.moveHandleIcon&&oe.moveHandleIcon.attr("x",de.x+de.width/2));for(var pe=oe.dataShadowSegs,he=[0,le[0],le[1],ue[0]],_e=0;_e<pe.length;_e++){var $e=pe[_e],Ie=$e.getClipPath();Ie||(Ie=new Rect$2,$e.setClipPath(Ie)),Ie.setShape({x:he[_e],y:0,width:he[_e+1]-he[_e],height:ue[1]})}this._updateDataInfo(V)},r.prototype._updateDataInfo=function(V){var oe=this.dataZoomModel,ie=this._displayables,le=ie.handleLabels,ue=this._orient,de=["",""];if(oe.get("showDetail")){var pe=oe.findRepresentativeAxisProxy();if(pe){var he=pe.getAxisModel().axis,_e=this._range,$e=V?pe.calculateDataWindow({start:_e[0],end:_e[1]}).valueWindow:pe.getDataValueWindow();de=[this._formatLabel($e[0],he),this._formatLabel($e[1],he)]}}var Ie=asc$2(this._handleEnds.slice());Ve.call(this,0),Ve.call(this,1);function Ve(Fe){var Ue=getTransform$1(ie.handles[Fe].parent,this.group),qe=transformDirection(Fe===0?"right":"left",Ue),Et=this._handleWidth/2+LABEL_GAP,At=applyTransform([Ie[Fe]+(Fe===0?-Et:Et),this._size[1]/2],Ue);le[Fe].setStyle({x:At[0],y:At[1],verticalAlign:ue===HORIZONTAL?"middle":qe,align:ue===HORIZONTAL?qe:"center",text:de[Fe]})}},r.prototype._formatLabel=function(V,oe){var ie=this.dataZoomModel,le=ie.get("labelFormatter"),ue=ie.get("labelPrecision");(ue==null||ue==="auto")&&(ue=oe.getPixelPrecision());var de=V==null||isNaN(V)?"":oe.type==="category"||oe.type==="time"?oe.scale.getLabel({value:Math.round(V)}):V.toFixed(Math.min(ue,20));return isFunction(le)?le(V,de):isString(le)?le.replace("{value}",de):de},r.prototype._showDataInfo=function(V){V=this._dragging||V;var oe=this._displayables,ie=oe.handleLabels;ie[0].attr("invisible",!V),ie[1].attr("invisible",!V),oe.moveHandle&&this.api[V?"enterEmphasis":"leaveEmphasis"](oe.moveHandle,1)},r.prototype._onDragMove=function(V,oe,ie,le){this._dragging=!0,stop(le.event);var ue=this._displayables.sliderGroup.getLocalTransform(),de=applyTransform([oe,ie],ue,!0),pe=this._updateInterval(V,de[0]),he=this.dataZoomModel.get("realtime");this._updateView(!he),pe&&he&&this._dispatchZoomAction(!0)},r.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var V=this.dataZoomModel.get("realtime");!V&&this._dispatchZoomAction(!1)},r.prototype._onClickPanel=function(V){var oe=this._size,ie=this._displayables.sliderGroup.transformCoordToLocal(V.offsetX,V.offsetY);if(!(ie[0]<0||ie[0]>oe[0]||ie[1]<0||ie[1]>oe[1])){var le=this._handleEnds,ue=(le[0]+le[1])/2,de=this._updateInterval("all",ie[0]-ue);this._updateView(),de&&this._dispatchZoomAction(!1)}},r.prototype._onBrushStart=function(V){var oe=V.offsetX,ie=V.offsetY;this._brushStart=new Point$1(oe,ie),this._brushing=!0,this._brushStartTime=+new Date},r.prototype._onBrushEnd=function(V){if(this._brushing){var oe=this._displayables.brushRect;if(this._brushing=!1,!!oe){oe.attr("ignore",!0);var ie=oe.shape,le=+new Date;if(!(le-this._brushStartTime<200&&Math.abs(ie.width)<5)){var ue=this._getViewExtent(),de=[0,100];this._range=asc$2([linearMap$2(ie.x,ue,de,!0),linearMap$2(ie.x+ie.width,ue,de,!0)]),this._handleEnds=[ie.x,ie.x+ie.width],this._updateView(),this._dispatchZoomAction(!1)}}}},r.prototype._onBrush=function(V){this._brushing&&(stop(V.event),this._updateBrushRect(V.offsetX,V.offsetY))},r.prototype._updateBrushRect=function(V,oe){var ie=this._displayables,le=this.dataZoomModel,ue=ie.brushRect;ue||(ue=ie.brushRect=new Rect({silent:!0,style:le.getModel("brushStyle").getItemStyle()}),ie.sliderGroup.add(ue)),ue.attr("ignore",!1);var de=this._brushStart,pe=this._displayables.sliderGroup,he=pe.transformCoordToLocal(V,oe),_e=pe.transformCoordToLocal(de.x,de.y),$e=this._size;he[0]=Math.max(Math.min($e[0],he[0]),0),ue.setShape({x:_e[0],y:0,width:he[0]-_e[0],height:$e[1]})},r.prototype._dispatchZoomAction=function(V){var oe=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:V?REALTIME_ANIMATION_CONFIG:null,start:oe[0],end:oe[1]})},r.prototype._findCoordRect=function(){var V,oe=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!V&&oe.length){var ie=oe[0].model.coordinateSystem;V=ie.getRect&&ie.getRect()}if(!V){var le=this.api.getWidth(),ue=this.api.getHeight();V={x:le*.2,y:ue*.2,width:le*.6,height:ue*.6}}return V},r.type="dataZoom.slider",r}(DataZoomView$1);function getOtherDim(t){var r={x:"y",y:"x",radius:"angle",angle:"radius"};return r[t]}function getCursor$1(t){return t==="vertical"?"ns-resize":"ew-resize"}const SliderZoomView$1=SliderZoomView;function install$4(t){t.registerComponentModel(SliderZoomModel$1),t.registerComponentView(SliderZoomView$1),installCommon$1(t)}function install$3(t){use$1(install$5),use$1(install$4)}var visualDefault={get:function(t,r,V){var oe=clone$3((defaultOption[t]||{})[r]);return V&&isArray$1(oe)?oe[oe.length-1]:oe}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const visualDefault$1=visualDefault;var mapVisual=VisualMapping$1.mapVisual,eachVisual=VisualMapping$1.eachVisual,isArray=isArray$1,each$2=each$c,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.stateList=["inRange","outOfRange"],V.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],V.layoutMode={type:"box",ignoreSize:!0},V.dataBound=[-1/0,1/0],V.targetVisuals={},V.controllerVisuals={},V}return r.prototype.init=function(V,oe,ie){this.mergeDefaultAndTheme(V,ie)},r.prototype.optionUpdated=function(V,oe){var ie=this.option;!oe&&replaceVisualOption(ie,V,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},r.prototype.resetVisual=function(V){var oe=this.stateList;V=bind$1(V,this),this.controllerVisuals=createVisualMappings(this.option.controller,oe,V),this.targetVisuals=createVisualMappings(this.option.target,oe,V)},r.prototype.getItemSymbol=function(){return null},r.prototype.getTargetSeriesIndices=function(){var V=this.option.seriesIndex,oe=[];return V==null||V==="all"?this.ecModel.eachSeries(function(ie,le){oe.push(le)}):oe=normalizeToArray(V),oe},r.prototype.eachTargetSeries=function(V,oe){each$c(this.getTargetSeriesIndices(),function(ie){var le=this.ecModel.getSeriesByIndex(ie);le&&V.call(oe,le)},this)},r.prototype.isTargetSeries=function(V){var oe=!1;return this.eachTargetSeries(function(ie){ie===V&&(oe=!0)}),oe},r.prototype.formatValueText=function(V,oe,ie){var le=this.option,ue=le.precision,de=this.dataBound,pe=le.formatter,he;ie=ie||["<",">"],isArray$1(V)&&(V=V.slice(),he=!0);var _e=oe?V:he?[$e(V[0]),$e(V[1])]:$e(V);if(isString(pe))return pe.replace("{value}",he?_e[0]:_e).replace("{value2}",he?_e[1]:_e);if(isFunction(pe))return he?pe(V[0],V[1]):pe(V);if(he)return V[0]===de[0]?ie[0]+" "+_e[1]:V[1]===de[1]?ie[1]+" "+_e[0]:_e[0]+" - "+_e[1];return _e;function $e(Ie){return Ie===de[0]?"min":Ie===de[1]?"max":(+Ie).toFixed(Math.min(ue,20))}},r.prototype.resetExtent=function(){var V=this.option,oe=asc([V.min,V.max]);this._dataExtent=oe},r.prototype.getDataDimensionIndex=function(V){var oe=this.option.dimension;if(oe!=null)return V.getDimensionIndex(oe);for(var ie=V.dimensions,le=ie.length-1;le>=0;le--){var ue=ie[le],de=V.getDimensionInfo(ue);if(!de.isCalculationCoord)return de.storeDimIndex}},r.prototype.getExtent=function(){return this._dataExtent.slice()},r.prototype.completeVisualOption=function(){var V=this.ecModel,oe=this.option,ie={inRange:oe.inRange,outOfRange:oe.outOfRange},le=oe.target||(oe.target={}),ue=oe.controller||(oe.controller={});merge(le,ie),merge(ue,ie);var de=this.isCategory();pe.call(this,le),pe.call(this,ue),he.call(this,le,"inRange","outOfRange"),_e.call(this,ue);function pe($e){isArray(oe.color)&&!$e.inRange&&($e.inRange={color:oe.color.slice().reverse()}),$e.inRange=$e.inRange||{color:V.get("gradientColor")}}function he($e,Ie,Ve){var Fe=$e[Ie],Ue=$e[Ve];Fe&&!Ue&&(Ue=$e[Ve]={},each$2(Fe,function(qe,Et){if(VisualMapping$1.isValidType(Et)){var At=visualDefault$1.get(Et,"inactive",de);At!=null&&(Ue[Et]=At,Et==="color"&&!Ue.hasOwnProperty("opacity")&&!Ue.hasOwnProperty("colorAlpha")&&(Ue.opacity=[0,0]))}}))}function _e($e){var Ie=($e.inRange||{}).symbol||($e.outOfRange||{}).symbol,Ve=($e.inRange||{}).symbolSize||($e.outOfRange||{}).symbolSize,Fe=this.get("inactiveColor"),Ue=this.getItemSymbol(),qe=Ue||"roundRect";each$2(this.stateList,function(Et){var At=this.itemSize,Lt=$e[Et];Lt||(Lt=$e[Et]={color:de?Fe:[Fe]}),Lt.symbol==null&&(Lt.symbol=Ie&&clone$3(Ie)||(de?qe:[qe])),Lt.symbolSize==null&&(Lt.symbolSize=Ve&&clone$3(Ve)||(de?At[0]:[At[0],At[0]])),Lt.symbol=mapVisual(Lt.symbol,function(vn){return vn==="none"?qe:vn});var hn=Lt.symbolSize;if(hn!=null){var _n=-1/0;eachVisual(hn,function(vn){vn>_n&&(_n=vn)}),Lt.symbolSize=mapVisual(hn,function(vn){return linearMap$1(vn,[0,_n],[0,At[0]],!0)})}},this)}},r.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},r.prototype.isCategory=function(){return!!this.option.categories},r.prototype.setSelected=function(V){},r.prototype.getSelected=function(){return null},r.prototype.getValueState=function(V){return null},r.prototype.getVisualMeta=function(V){return null},r.type="visualMap",r.dependencies=["series"],r.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},r}(ComponentModel$1);const VisualMapModel$1=VisualMapModel;var DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.optionUpdated=function(V,oe){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(ie){ie.mappingMethod="linear",ie.dataExtent=this.getExtent()}),this._resetRange()},r.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var V=this.itemSize;(V[0]==null||isNaN(V[0]))&&(V[0]=DEFAULT_BAR_BOUND[0]),(V[1]==null||isNaN(V[1]))&&(V[1]=DEFAULT_BAR_BOUND[1])},r.prototype._resetRange=function(){var V=this.getExtent(),oe=this.option.range;!oe||oe.auto?(V.auto=1,this.option.range=V):isArray$1(oe)&&(oe[0]>oe[1]&&oe.reverse(),oe[0]=Math.max(oe[0],V[0]),oe[1]=Math.min(oe[1],V[1]))},r.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),each$c(this.stateList,function(V){var oe=this.option.controller[V].symbolSize;oe&&oe[0]!==oe[1]&&(oe[0]=oe[1]/3)},this)},r.prototype.setSelected=function(V){this.option.range=V.slice(),this._resetRange()},r.prototype.getSelected=function(){var V=this.getExtent(),oe=asc$2((this.get("range")||[]).slice());return oe[0]>V[1]&&(oe[0]=V[1]),oe[1]>V[1]&&(oe[1]=V[1]),oe[0]<V[0]&&(oe[0]=V[0]),oe[1]<V[0]&&(oe[1]=V[0]),oe},r.prototype.getValueState=function(V){var oe=this.option.range,ie=this.getExtent();return(oe[0]<=ie[0]||oe[0]<=V)&&(oe[1]>=ie[1]||V<=oe[1])?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(V){var oe=[];return this.eachTargetSeries(function(ie){var le=[],ue=ie.getData();ue.each(this.getDataDimensionIndex(ue),function(de,pe){V[0]<=de&&de<=V[1]&&le.push(pe)},this),oe.push({seriesId:ie.id,dataIndex:le})},this),oe},r.prototype.getVisualMeta=function(V){var oe=getColorStopValues(this,"outOfRange",this.getExtent()),ie=getColorStopValues(this,"inRange",this.option.range.slice()),le=[];function ue(Ve,Fe){le.push({value:Ve,color:V(Ve,Fe)})}for(var de=0,pe=0,he=ie.length,_e=oe.length;pe<_e&&(!ie.length||oe[pe]<=ie[0]);pe++)oe[pe]<ie[de]&&ue(oe[pe],"outOfRange");for(var $e=1;de<he;de++,$e=0)$e&&le.length&&ue(ie[de],"outOfRange"),ue(ie[de],"inRange");for(var $e=1;pe<_e;pe++)(!ie.length||ie[ie.length-1]<oe[pe])&&($e&&(le.length&&ue(le[le.length-1].value,"outOfRange"),$e=0),ue(oe[pe],"outOfRange"));var Ie=le.length;return{stops:le,outerColors:[Ie?le[0].color:"transparent",Ie?le[Ie-1].color:"transparent"]}},r.type="visualMap.continuous",r.defaultOption=inheritDefaultOption(VisualMapModel$1.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),r}(VisualMapModel$1);function getColorStopValues(t,r,V){if(V[0]===V[1])return V.slice();for(var oe=200,ie=(V[1]-V[0])/oe,le=V[0],ue=[],de=0;de<=oe&&le<V[1];de++)ue.push(le),le+=ie;return ue.push(V[1]),ue}const ContinuousModel$1=ContinuousModel;var VisualMapView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V.autoPositionValues={left:1,right:1,top:1,bottom:1},V}return r.prototype.init=function(V,oe){this.ecModel=V,this.api=oe},r.prototype.render=function(V,oe,ie,le){if(this.visualMapModel=V,V.get("show")===!1){this.group.removeAll();return}this.doRender(V,oe,ie,le)},r.prototype.renderBackground=function(V){var oe=this.visualMapModel,ie=normalizeCssArray(oe.get("padding")||0),le=V.getBoundingRect();V.add(new Rect$2({z2:-1,silent:!0,shape:{x:le.x-ie[3],y:le.y-ie[0],width:le.width+ie[3]+ie[1],height:le.height+ie[0]+ie[2]},style:{fill:oe.get("backgroundColor"),stroke:oe.get("borderColor"),lineWidth:oe.get("borderWidth")}}))},r.prototype.getControllerVisual=function(V,oe,ie){ie=ie||{};var le=ie.forceState,ue=this.visualMapModel,de={};if(oe==="color"){var pe=ue.get("contentColor");de.color=pe}function he(Ve){return de[Ve]}function _e(Ve,Fe){de[Ve]=Fe}var $e=ue.controllerVisuals[le||ue.getValueState(V)],Ie=VisualMapping$1.prepareVisualTypes($e);return each$c(Ie,function(Ve){var Fe=$e[Ve];ie.convertOpacityToAlpha&&Ve==="opacity"&&(Ve="colorAlpha",Fe=$e.__alphaForOpacity),VisualMapping$1.dependsOn(Ve,oe)&&Fe&&Fe.applyVisual(V,he,_e)}),de[oe]},r.prototype.positionGroup=function(V){var oe=this.visualMapModel,ie=this.api;positionElement(V,oe.getBoxLayoutParams(),{width:ie.getWidth(),height:ie.getHeight()})},r.prototype.doRender=function(V,oe,ie,le){},r.type="visualMap",r}(ComponentView$1);const VisualMapView$1=VisualMapView;var paramsSet=[["left","right","width"],["top","bottom","height"]];function getItemAlign(t,r,V){var oe=t.option,ie=oe.align;if(ie!=null&&ie!=="auto")return ie;for(var le={width:r.getWidth(),height:r.getHeight()},ue=oe.orient==="horizontal"?1:0,de=paramsSet[ue],pe=[0,null,10],he={},_e=0;_e<3;_e++)he[paramsSet[1-ue][_e]]=pe[_e],he[de[_e]]=_e===2?V[0]:oe[de[_e]];var $e=[["x","width",3],["y","height",0]][ue],Ie=getLayoutRect(he,le,oe.padding);return de[(Ie.margin[$e[2]]||0)+Ie[$e[0]]+Ie[$e[1]]*.5<le[$e[1]]*.5?0:1]}function makeHighDownBatch(t,r){return each$c(t||[],function(V){V.dataIndex!=null&&(V.dataIndexInside=V.dataIndex,V.dataIndex=null),V.highlightKey="visualMap"+(r?r.componentIndex:"")}),t}var linearMap=linearMap$2,each$1=each$c,mathMin=Math.min,mathMax=Math.max,HOVER_LINK_SIZE=12,HOVER_LINK_OUT=6,ContinuousView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V._shapes={},V._dataInterval=[],V._handleEnds=[],V._hoverLinkDataIndices=[],V}return r.prototype.doRender=function(V,oe,ie,le){this._api=ie,(!le||le.type!=="selectDataRange"||le.from!==this.uid)&&this._buildView()},r.prototype._buildView=function(){this.group.removeAll();var V=this.visualMapModel,oe=this.group;this._orient=V.get("orient"),this._useHandle=V.get("calculable"),this._resetInterval(),this._renderBar(oe);var ie=V.get("text");this._renderEndsText(oe,ie,0),this._renderEndsText(oe,ie,1),this._updateView(!0),this.renderBackground(oe),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(oe)},r.prototype._renderEndsText=function(V,oe,ie){if(oe){var le=oe[1-ie];le=le!=null?le+"":"";var ue=this.visualMapModel,de=ue.get("textGap"),pe=ue.itemSize,he=this._shapes.mainGroup,_e=this._applyTransform([pe[0]/2,ie===0?-de:pe[1]+de],he),$e=this._applyTransform(ie===0?"bottom":"top",he),Ie=this._orient,Ve=this.visualMapModel.textStyleModel;this.group.add(new ZRText$1({style:createTextStyle$1(Ve,{x:_e[0],y:_e[1],verticalAlign:Ie==="horizontal"?"middle":$e,align:Ie==="horizontal"?$e:"center",text:le})}))}},r.prototype._renderBar=function(V){var oe=this.visualMapModel,ie=this._shapes,le=oe.itemSize,ue=this._orient,de=this._useHandle,pe=getItemAlign(oe,this.api,le),he=ie.mainGroup=this._createBarGroup(pe),_e=new Group$3;he.add(_e),_e.add(ie.outOfRange=createPolygon()),_e.add(ie.inRange=createPolygon(null,de?getCursor(this._orient):null,bind$1(this._dragHandle,this,"all",!1),bind$1(this._dragHandle,this,"all",!0))),_e.setClipPath(new Rect$2({shape:{x:0,y:0,width:le[0],height:le[1],r:3}}));var $e=oe.textStyleModel.getTextRect("国"),Ie=mathMax($e.width,$e.height);de&&(ie.handleThumbs=[],ie.handleLabels=[],ie.handleLabelPoints=[],this._createHandle(oe,he,0,le,Ie,ue),this._createHandle(oe,he,1,le,Ie,ue)),this._createIndicator(oe,he,le,Ie,ue),V.add(he)},r.prototype._createHandle=function(V,oe,ie,le,ue,de){var pe=bind$1(this._dragHandle,this,ie,!1),he=bind$1(this._dragHandle,this,ie,!0),_e=parsePercent$1(V.get("handleSize"),le[0]),$e=createSymbol(V.get("handleIcon"),-_e/2,-_e/2,_e,_e,null,!0),Ie=getCursor(this._orient);$e.attr({cursor:Ie,draggable:!0,drift:pe,ondragend:he,onmousemove:function(Et){stop(Et.event)}}),$e.x=le[0]/2,$e.useStyle(V.getModel("handleStyle").getItemStyle()),$e.setStyle({strokeNoScale:!0,strokeFirst:!0}),$e.style.lineWidth*=2,$e.ensureState("emphasis").style=V.getModel(["emphasis","handleStyle"]).getItemStyle(),setAsHighDownDispatcher($e,!0),oe.add($e);var Ve=this.visualMapModel.textStyleModel,Fe=new ZRText$1({cursor:Ie,draggable:!0,drift:pe,onmousemove:function(Et){stop(Et.event)},ondragend:he,style:createTextStyle$1(Ve,{x:0,y:0,text:""})});Fe.ensureState("blur").style={opacity:.1},Fe.stateTransition={duration:200},this.group.add(Fe);var Ue=[_e,0],qe=this._shapes;qe.handleThumbs[ie]=$e,qe.handleLabelPoints[ie]=Ue,qe.handleLabels[ie]=Fe},r.prototype._createIndicator=function(V,oe,ie,le,ue){var de=parsePercent$1(V.get("indicatorSize"),ie[0]),pe=createSymbol(V.get("indicatorIcon"),-de/2,-de/2,de,de,null,!0);pe.attr({cursor:"move",invisible:!0,silent:!0,x:ie[0]/2});var he=V.getModel("indicatorStyle").getItemStyle();if(pe instanceof ZRImage$1){var _e=pe.style;pe.useStyle(extend({image:_e.image,x:_e.x,y:_e.y,width:_e.width,height:_e.height},he))}else pe.useStyle(he);oe.add(pe);var $e=this.visualMapModel.textStyleModel,Ie=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1($e,{x:0,y:0,text:""})});this.group.add(Ie);var Ve=[(ue==="horizontal"?le/2:HOVER_LINK_OUT)+ie[0]/2,0],Fe=this._shapes;Fe.indicator=pe,Fe.indicatorLabel=Ie,Fe.indicatorLabelPoint=Ve,this._firstShowIndicator=!0},r.prototype._dragHandle=function(V,oe,ie,le){if(this._useHandle){if(this._dragging=!oe,!oe){var ue=this._applyTransform([ie,le],this._shapes.mainGroup,!0);this._updateInterval(V,ue[1]),this._hideIndicator(),this._updateView()}oe===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),oe?!this._hovering&&this._clearHoverLinkToSeries():useHoverLinkOnHandle(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[V],!1)}},r.prototype._resetInterval=function(){var V=this.visualMapModel,oe=this._dataInterval=V.getSelected(),ie=V.getExtent(),le=[0,V.itemSize[1]];this._handleEnds=[linearMap(oe[0],ie,le,!0),linearMap(oe[1],ie,le,!0)]},r.prototype._updateInterval=function(V,oe){oe=oe||0;var ie=this.visualMapModel,le=this._handleEnds,ue=[0,ie.itemSize[1]];sliderMove(oe,le,ue,V,0);var de=ie.getExtent();this._dataInterval=[linearMap(le[0],ue,de,!0),linearMap(le[1],ue,de,!0)]},r.prototype._updateView=function(V){var oe=this.visualMapModel,ie=oe.getExtent(),le=this._shapes,ue=[0,oe.itemSize[1]],de=V?ue:this._handleEnds,pe=this._createBarVisual(this._dataInterval,ie,de,"inRange"),he=this._createBarVisual(ie,ie,ue,"outOfRange");le.inRange.setStyle({fill:pe.barColor}).setShape("points",pe.barPoints),le.outOfRange.setStyle({fill:he.barColor}).setShape("points",he.barPoints),this._updateHandle(de,pe)},r.prototype._createBarVisual=function(V,oe,ie,le){var ue={forceState:le,convertOpacityToAlpha:!0},de=this._makeColorGradient(V,ue),pe=[this.getControllerVisual(V[0],"symbolSize",ue),this.getControllerVisual(V[1],"symbolSize",ue)],he=this._createBarPoints(ie,pe);return{barColor:new LinearGradient$1(0,0,0,1,de),barPoints:he,handlesColor:[de[0].color,de[de.length-1].color]}},r.prototype._makeColorGradient=function(V,oe){var ie=100,le=[],ue=(V[1]-V[0])/ie;le.push({color:this.getControllerVisual(V[0],"color",oe),offset:0});for(var de=1;de<ie;de++){var pe=V[0]+ue*de;if(pe>V[1])break;le.push({color:this.getControllerVisual(pe,"color",oe),offset:de/ie})}return le.push({color:this.getControllerVisual(V[1],"color",oe),offset:1}),le},r.prototype._createBarPoints=function(V,oe){var ie=this.visualMapModel.itemSize;return[[ie[0]-oe[0],V[0]],[ie[0],V[0]],[ie[0],V[1]],[ie[0]-oe[1],V[1]]]},r.prototype._createBarGroup=function(V){var oe=this._orient,ie=this.visualMapModel.get("inverse");return new Group$3(oe==="horizontal"&&!ie?{scaleX:V==="bottom"?1:-1,rotation:Math.PI/2}:oe==="horizontal"&&ie?{scaleX:V==="bottom"?-1:1,rotation:-Math.PI/2}:oe==="vertical"&&!ie?{scaleX:V==="left"?1:-1,scaleY:-1}:{scaleX:V==="left"?1:-1})},r.prototype._updateHandle=function(V,oe){if(this._useHandle){var ie=this._shapes,le=this.visualMapModel,ue=ie.handleThumbs,de=ie.handleLabels,pe=le.itemSize,he=le.getExtent();each$1([0,1],function(_e){var $e=ue[_e];$e.setStyle("fill",oe.handlesColor[_e]),$e.y=V[_e];var Ie=linearMap(V[_e],[0,pe[1]],he,!0),Ve=this.getControllerVisual(Ie,"symbolSize");$e.scaleX=$e.scaleY=Ve/pe[0],$e.x=pe[0]-Ve/2;var Fe=applyTransform(ie.handleLabelPoints[_e],getTransform$1($e,this.group));de[_e].setStyle({x:Fe[0],y:Fe[1],text:le.formatValueText(this._dataInterval[_e]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",ie.mainGroup):"center"})},this)}},r.prototype._showIndicator=function(V,oe,ie,le){var ue=this.visualMapModel,de=ue.getExtent(),pe=ue.itemSize,he=[0,pe[1]],_e=this._shapes,$e=_e.indicator;if($e){$e.attr("invisible",!1);var Ie={convertOpacityToAlpha:!0},Ve=this.getControllerVisual(V,"color",Ie),Fe=this.getControllerVisual(V,"symbolSize"),Ue=linearMap(V,de,he,!0),qe=pe[0]-Fe/2,Et={x:$e.x,y:$e.y};$e.y=Ue,$e.x=qe;var At=applyTransform(_e.indicatorLabelPoint,getTransform$1($e,this.group)),Lt=_e.indicatorLabel;Lt.attr("invisible",!1);var hn=this._applyTransform("left",_e.mainGroup),_n=this._orient,vn=_n==="horizontal";Lt.setStyle({text:(ie||"")+ue.formatValueText(oe),verticalAlign:vn?hn:"middle",align:vn?"center":hn});var bn={x:qe,y:Ue,style:{fill:Ve}},Cn={style:{x:At[0],y:At[1]}};if(ue.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Sn={duration:100,easing:"cubicInOut",additive:!0};$e.x=Et.x,$e.y=Et.y,$e.animateTo(bn,Sn),Lt.animateTo(Cn,Sn)}else $e.attr(bn),Lt.attr(Cn);this._firstShowIndicator=!1;var wn=this._shapes.handleLabels;if(wn)for(var En=0;En<wn.length;En++)this._api.enterBlur(wn[En])}},r.prototype._enableHoverLinkToSeries=function(){var V=this;this._shapes.mainGroup.on("mousemove",function(oe){if(V._hovering=!0,!V._dragging){var ie=V.visualMapModel.itemSize,le=V._applyTransform([oe.offsetX,oe.offsetY],V._shapes.mainGroup,!0,!0);le[1]=mathMin(mathMax(0,le[1]),ie[1]),V._doHoverLinkToSeries(le[1],0<=le[0]&&le[0]<=ie[0])}}).on("mouseout",function(){V._hovering=!1,!V._dragging&&V._clearHoverLinkToSeries()})},r.prototype._enableHoverLinkFromSeries=function(){var V=this.api.getZr();this.visualMapModel.option.hoverLink?(V.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),V.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},r.prototype._doHoverLinkToSeries=function(V,oe){var ie=this.visualMapModel,le=ie.itemSize;if(ie.option.hoverLink){var ue=[0,le[1]],de=ie.getExtent();V=mathMin(mathMax(ue[0],V),ue[1]);var pe=getHalfHoverLinkSize(ie,de,ue),he=[V-pe,V+pe],_e=linearMap(V,ue,de,!0),$e=[linearMap(he[0],ue,de,!0),linearMap(he[1],ue,de,!0)];he[0]<ue[0]&&($e[0]=-1/0),he[1]>ue[1]&&($e[1]=1/0),oe&&($e[0]===-1/0?this._showIndicator(_e,$e[1],"< ",pe):$e[1]===1/0?this._showIndicator(_e,$e[0],"> ",pe):this._showIndicator(_e,_e,"≈ ",pe));var Ie=this._hoverLinkDataIndices,Ve=[];(oe||useHoverLinkOnHandle(ie))&&(Ve=this._hoverLinkDataIndices=ie.findTargetDataIndices($e));var Fe=compressBatches(Ie,Ve);this._dispatchHighDown("downplay",makeHighDownBatch(Fe[0],ie)),this._dispatchHighDown("highlight",makeHighDownBatch(Fe[1],ie))}},r.prototype._hoverLinkFromSeriesMouseOver=function(V){var oe;if(findEventDispatcher(V.target,function(pe){var he=getECData(pe);if(he.dataIndex!=null)return oe=he,!0},!0),!!oe){var ie=this.ecModel.getSeriesByIndex(oe.seriesIndex),le=this.visualMapModel;if(le.isTargetSeries(ie)){var ue=ie.getData(oe.dataType),de=ue.getStore().get(le.getDataDimensionIndex(ue),oe.dataIndex);isNaN(de)||this._showIndicator(de,de)}}},r.prototype._hideIndicator=function(){var V=this._shapes;V.indicator&&V.indicator.attr("invisible",!0),V.indicatorLabel&&V.indicatorLabel.attr("invisible",!0);var oe=this._shapes.handleLabels;if(oe)for(var ie=0;ie<oe.length;ie++)this._api.leaveBlur(oe[ie])},r.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var V=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",makeHighDownBatch(V,this.visualMapModel)),V.length=0},r.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var V=this.api.getZr();V.off("mouseover",this._hoverLinkFromSeriesMouseOver),V.off("mouseout",this._hideIndicator)},r.prototype._applyTransform=function(V,oe,ie,le){var ue=getTransform$1(oe,le?null:this.group);return isArray$1(V)?applyTransform(V,ue,ie):transformDirection(V,ue,ie)},r.prototype._dispatchHighDown=function(V,oe){oe&&oe.length&&this.api.dispatchAction({type:V,batch:oe})},r.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},r.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},r.type="visualMap.continuous",r}(VisualMapView$1);function createPolygon(t,r,V,oe){return new Polygon$1({shape:{points:t},draggable:!!V,cursor:r,drift:V,onmousemove:function(ie){stop(ie.event)},ondragend:oe})}function getHalfHoverLinkSize(t,r,V){var oe=HOVER_LINK_SIZE/2,ie=t.get("hoverLinkDataSize");return ie&&(oe=linearMap(ie,r,V,!0)/2),oe}function useHoverLinkOnHandle(t){var r=t.get("hoverLinkOnHandle");return!!(r??t.get("realtime"))}function getCursor(t){return t==="vertical"?"ns-resize":"ew-resize"}const ContinuousView$1=ContinuousView;var visualMapActionInfo={type:"selectDataRange",event:"dataRangeSelected",update:"update"},visualMapActionHander=function(t,r){r.eachComponent({mainType:"visualMap",query:t},function(V){V.setSelected(t.selected)})},visualMapEncodingHandlers=[{createOnAllSeries:!0,reset:function(t,r){var V=[];return r.eachComponent("visualMap",function(oe){var ie=t.pipelineContext;!oe.isTargetSeries(t)||ie&&ie.large||V.push(incrementalApplyVisual(oe.stateList,oe.targetVisuals,bind$1(oe.getValueState,oe),oe.getDataDimensionIndex(t.getData())))}),V}},{createOnAllSeries:!0,reset:function(t,r){var V=t.getData(),oe=[];r.eachComponent("visualMap",function(ie){if(ie.isTargetSeries(t)){var le=ie.getVisualMeta(bind$1(getColorVisual,null,t,ie))||{stops:[],outerColors:[]},ue=ie.getDataDimensionIndex(V);ue>=0&&(le.dimension=ue,oe.push(le))}}),t.getData().setVisual("visualMeta",oe)}}];function getColorVisual(t,r,V,oe){for(var ie=r.targetVisuals[oe],le=VisualMapping$1.prepareVisualTypes(ie),ue={color:getVisualFromData(t.getData(),"color")},de=0,pe=le.length;de<pe;de++){var he=le[de],_e=ie[he==="opacity"?"__alphaForOpacity":he];_e&&_e.applyVisual(V,$e,Ie)}return ue.color;function $e(Ve){return ue[Ve]}function Ie(Ve,Fe){ue[Ve]=Fe}}var each=each$c;function visualMapPreprocessor(t){var r=t&&t.visualMap;isArray$1(r)||(r=r?[r]:[]),each(r,function(V){if(V){has(V,"splitList")&&!has(V,"pieces")&&(V.pieces=V.splitList,delete V.splitList);var oe=V.pieces;oe&&isArray$1(oe)&&each(oe,function(ie){isObject$3(ie)&&(has(ie,"start")&&!has(ie,"min")&&(ie.min=ie.start),has(ie,"end")&&!has(ie,"max")&&(ie.max=ie.end))})}})}function has(t,r){return t&&t.hasOwnProperty&&t.hasOwnProperty(r)}var installed=!1;function installCommon(t){installed||(installed=!0,t.registerSubTypeDefaulter("visualMap",function(r){return!r.categories&&(!(r.pieces?r.pieces.length>0:r.splitNumber>0)||r.calculable)?"continuous":"piecewise"}),t.registerAction(visualMapActionInfo,visualMapActionHander),each$c(visualMapEncodingHandlers,function(r){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,r)}),t.registerPreprocessor(visualMapPreprocessor))}function install$2(t){t.registerComponentModel(ContinuousModel$1),t.registerComponentView(ContinuousView$1),installCommon(t)}var PiecewiseModel=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V._pieceList=[],V}return r.prototype.optionUpdated=function(V,oe){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var ie=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(V,oe);var le=this.option.categories;this.resetVisual(function(ue,de){ie==="categories"?(ue.mappingMethod="category",ue.categories=clone$3(le)):(ue.dataExtent=this.getExtent(),ue.mappingMethod="piecewise",ue.pieceList=map$2(this._pieceList,function(pe){return pe=clone$3(pe),de!=="inRange"&&(pe.visual=null),pe}))})},r.prototype.completeVisualOption=function(){var V=this.option,oe={},ie=VisualMapping$1.listVisualTypes(),le=this.isCategory();each$c(V.pieces,function(de){each$c(ie,function(pe){de.hasOwnProperty(pe)&&(oe[pe]=1)})}),each$c(oe,function(de,pe){var he=!1;each$c(this.stateList,function(_e){he=he||ue(V,_e,pe)||ue(V.target,_e,pe)},this),!he&&each$c(this.stateList,function(_e){(V[_e]||(V[_e]={}))[pe]=visualDefault$1.get(pe,_e==="inRange"?"active":"inactive",le)})},this);function ue(de,pe,he){return de&&de[pe]&&de[pe].hasOwnProperty(he)}t.prototype.completeVisualOption.apply(this,arguments)},r.prototype._resetSelected=function(V,oe){var ie=this.option,le=this._pieceList,ue=(oe?ie:V).selected||{};if(ie.selected=ue,each$c(le,function(pe,he){var _e=this.getSelectedMapKey(pe);ue.hasOwnProperty(_e)||(ue[_e]=!0)},this),ie.selectedMode==="single"){var de=!1;each$c(le,function(pe,he){var _e=this.getSelectedMapKey(pe);ue[_e]&&(de?ue[_e]=!1:de=!0)},this)}},r.prototype.getItemSymbol=function(){return this.get("itemSymbol")},r.prototype.getSelectedMapKey=function(V){return this._mode==="categories"?V.value+"":V.index+""},r.prototype.getPieceList=function(){return this._pieceList},r.prototype._determineMode=function(){var V=this.option;return V.pieces&&V.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},r.prototype.setSelected=function(V){this.option.selected=clone$3(V)},r.prototype.getValueState=function(V){var oe=VisualMapping$1.findPieceIndex(V,this._pieceList);return oe!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[oe])]?"inRange":"outOfRange"},r.prototype.findTargetDataIndices=function(V){var oe=[],ie=this._pieceList;return this.eachTargetSeries(function(le){var ue=[],de=le.getData();de.each(this.getDataDimensionIndex(de),function(pe,he){var _e=VisualMapping$1.findPieceIndex(pe,ie);_e===V&&ue.push(he)},this),oe.push({seriesId:le.id,dataIndex:ue})},this),oe},r.prototype.getRepresentValue=function(V){var oe;if(this.isCategory())oe=V.value;else if(V.value!=null)oe=V.value;else{var ie=V.interval||[];oe=ie[0]===-1/0&&ie[1]===1/0?0:(ie[0]+ie[1])/2}return oe},r.prototype.getVisualMeta=function(V){if(this.isCategory())return;var oe=[],ie=["",""],le=this;function ue(_e,$e){var Ie=le.getRepresentValue({interval:_e});$e||($e=le.getValueState(Ie));var Ve=V(Ie,$e);_e[0]===-1/0?ie[0]=Ve:_e[1]===1/0?ie[1]=Ve:oe.push({value:_e[0],color:Ve},{value:_e[1],color:Ve})}var de=this._pieceList.slice();if(!de.length)de.push({interval:[-1/0,1/0]});else{var pe=de[0].interval[0];pe!==-1/0&&de.unshift({interval:[-1/0,pe]}),pe=de[de.length-1].interval[1],pe!==1/0&&de.push({interval:[pe,1/0]})}var he=-1/0;return each$c(de,function(_e){var $e=_e.interval;$e&&($e[0]>he&&ue([he,$e[0]],"outOfRange"),ue($e.slice()),he=$e[1])},this),{stops:oe,outerColors:ie}},r.type="visualMap.piecewise",r.defaultOption=inheritDefaultOption(VisualMapModel$1.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),r}(VisualMapModel$1),resetMethods={splitNumber:function(t){var r=this.option,V=Math.min(r.precision,20),oe=this.getExtent(),ie=r.splitNumber;ie=Math.max(parseInt(ie,10),1),r.splitNumber=ie;for(var le=(oe[1]-oe[0])/ie;+le.toFixed(V)!==le&&V<5;)V++;r.precision=V,le=+le.toFixed(V),r.minOpen&&t.push({interval:[-1/0,oe[0]],close:[0,0]});for(var ue=0,de=oe[0];ue<ie;de+=le,ue++){var pe=ue===ie-1?oe[1]:de+le;t.push({interval:[de,pe],close:[1,1]})}r.maxOpen&&t.push({interval:[oe[1],1/0],close:[0,0]}),reformIntervals(t),each$c(t,function(he,_e){he.index=_e,he.text=this.formatValueText(he.interval)},this)},categories:function(t){var r=this.option;each$c(r.categories,function(V){t.push({text:this.formatValueText(V,!0),value:V})},this),normalizeReverse(r,t)},pieces:function(t){var r=this.option;each$c(r.pieces,function(V,oe){isObject$3(V)||(V={value:V});var ie={text:"",index:oe};if(V.label!=null&&(ie.text=V.label),V.hasOwnProperty("value")){var le=ie.value=V.value;ie.interval=[le,le],ie.close=[1,1]}else{for(var ue=ie.interval=[],de=ie.close=[0,0],pe=[1,0,1],he=[-1/0,1/0],_e=[],$e=0;$e<2;$e++){for(var Ie=[["gte","gt","min"],["lte","lt","max"]][$e],Ve=0;Ve<3&&ue[$e]==null;Ve++)ue[$e]=V[Ie[Ve]],de[$e]=pe[Ve],_e[$e]=Ve===2;ue[$e]==null&&(ue[$e]=he[$e])}_e[0]&&ue[1]===1/0&&(de[0]=0),_e[1]&&ue[0]===-1/0&&(de[1]=0),ue[0]===ue[1]&&de[0]&&de[1]&&(ie.value=ue[0])}ie.visual=VisualMapping$1.retrieveVisuals(V),t.push(ie)},this),normalizeReverse(r,t),reformIntervals(t),each$c(t,function(V){var oe=V.close,ie=[["<","≤"][oe[1]],[">","≥"][oe[0]]];V.text=V.text||this.formatValueText(V.value!=null?V.value:V.interval,!1,ie)},this)}};function normalizeReverse(t,r){var V=t.inverse;(t.orient==="vertical"?!V:V)&&r.reverse()}const PiecewiseModel$1=PiecewiseModel;var PiecewiseVisualMapView=function(t){__extends(r,t);function r(){var V=t!==null&&t.apply(this,arguments)||this;return V.type=r.type,V}return r.prototype.doRender=function(){var V=this.group;V.removeAll();var oe=this.visualMapModel,ie=oe.get("textGap"),le=oe.textStyleModel,ue=le.getFont(),de=le.getTextColor(),pe=this._getItemAlign(),he=oe.itemSize,_e=this._getViewData(),$e=_e.endsText,Ie=retrieve(oe.get("showLabel",!0),!$e);$e&&this._renderEndsText(V,$e[0],he,Ie,pe),each$c(_e.viewPieceList,function(Ve){var Fe=Ve.piece,Ue=new Group$3;Ue.onclick=bind$1(this._onItemClick,this,Fe),this._enableHoverLink(Ue,Ve.indexInModelPieceList);var qe=oe.getRepresentValue(Fe);if(this._createItemSymbol(Ue,qe,[0,0,he[0],he[1]]),Ie){var Et=this.visualMapModel.getValueState(qe);Ue.add(new ZRText$1({style:{x:pe==="right"?-ie:he[0]+ie,y:he[1]/2,text:Fe.text,verticalAlign:"middle",align:pe,font:ue,fill:de,opacity:Et==="outOfRange"?.5:1}}))}V.add(Ue)},this),$e&&this._renderEndsText(V,$e[1],he,Ie,pe),box(oe.get("orient"),V,oe.get("itemGap")),this.renderBackground(V),this.positionGroup(V)},r.prototype._enableHoverLink=function(V,oe){var ie=this;V.on("mouseover",function(){return le("highlight")}).on("mouseout",function(){return le("downplay")});var le=function(ue){var de=ie.visualMapModel;de.option.hoverLink&&ie.api.dispatchAction({type:ue,batch:makeHighDownBatch(de.findTargetDataIndices(oe),de)})}},r.prototype._getItemAlign=function(){var V=this.visualMapModel,oe=V.option;if(oe.orient==="vertical")return getItemAlign(V,this.api,V.itemSize);var ie=oe.align;return(!ie||ie==="auto")&&(ie="left"),ie},r.prototype._renderEndsText=function(V,oe,ie,le,ue){if(oe){var de=new Group$3,pe=this.visualMapModel.textStyleModel;de.add(new ZRText$1({style:createTextStyle$1(pe,{x:le?ue==="right"?ie[0]:0:ie[0]/2,y:ie[1]/2,verticalAlign:"middle",align:le?ue:"center",text:oe})})),V.add(de)}},r.prototype._getViewData=function(){var V=this.visualMapModel,oe=map$2(V.getPieceList(),function(de,pe){return{piece:de,indexInModelPieceList:pe}}),ie=V.get("text"),le=V.get("orient"),ue=V.get("inverse");return(le==="horizontal"?ue:!ue)?oe.reverse():ie&&(ie=ie.slice().reverse()),{viewPieceList:oe,endsText:ie}},r.prototype._createItemSymbol=function(V,oe,ie){V.add(createSymbol(this.getControllerVisual(oe,"symbol"),ie[0],ie[1],ie[2],ie[3],this.getControllerVisual(oe,"color")))},r.prototype._onItemClick=function(V){var oe=this.visualMapModel,ie=oe.option,le=ie.selectedMode;if(le){var ue=clone$3(ie.selected),de=oe.getSelectedMapKey(V);le==="single"||le===!0?(ue[de]=!0,each$c(ue,function(pe,he){ue[he]=he===de})):ue[de]=!ue[de],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:ue})}},r.type="visualMap.piecewise",r}(VisualMapView$1);const PiecewiseView=PiecewiseVisualMapView;function install$1(t){t.registerComponentModel(PiecewiseModel$1),t.registerComponentView(PiecewiseView),installCommon(t)}function install(t){use$1(install$2),use$1(install$1)}const{use}=echarts;use([install$h,install$i,install$j,install$k,install$e,install$9,install$6,install$d,install$b,install$a,install$3,install]);function useEcharts(t){t.config.globalProperties.$echarts=echarts}var p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,j$1=Object.prototype.hasOwnProperty,_=(t,r,V)=>r in t?p(t,r,{enumerable:!0,configurable:!0,writable:!0,value:V}):t[r]=V,P=(t,r)=>{for(var V in r)p(t,V,{get:r[V],enumerable:!0})},y=(t,r,V,oe)=>{if(r&&typeof r=="object"||typeof r=="function")for(let ie of u(r))!j$1.call(t,ie)&&ie!==V&&p(t,ie,{get:()=>r[ie],enumerable:!(oe=d(r,ie))||oe.enumerable});return t},m$1=(t,r,V)=>(y(t,r,"default"),V&&y(V,r,"default")),f=(t,r,V)=>(_(t,typeof r!="symbol"?r+"":r,V),V),c={};P(c,{Vue:()=>vue_runtime_esmBundler});m$1(c,vue_runtime_esmBundler);var g=class{static install(t,r){let{nameSpace:V=this._nameSpace,memory:oe}=r;return oe&&this.clearAll(V,oe),new g(t,r)}static clearAll(t,r){Object.keys(r).forEach(V=>{let oe=t+V;Object.prototype.hasOwnProperty.call(window.localStorage,oe)&&window.localStorage.removeItem(oe)})}static get(t){return JSON.parse(window.localStorage.getItem(t))}static set(t,r){r=typeof r=="object"?JSON.stringify(r):r,window.localStorage.setItem(t,r)}static getData(t,r){if(Object.prototype.hasOwnProperty.call(window.localStorage,this._getStaticKey(r,t)))return JSON.parse(window.localStorage.getItem(this._getStaticKey(r,t)))}constructor(t,r){let V=g,{version:oe=3,nameSpace:ie=V._nameSpace,memory:le}=r,ue=he=>ie+he,de=oe===3?(0,c.reactive)(le):le;Object.keys(de).length===0&&console.warn("key cannot be empty"),Object.keys(de).forEach(he=>{let _e=de[he];V.set(ue(he),_e),Reflect.defineProperty(de,he,{get:()=>V.get(ue(he)),set:$e=>V.set(ue(he),$e),configurable:!0}),oe===2&&t.util.defineReactive(de,he,de[he])});let pe=oe===3?t.config.globalProperties:t.prototype;Reflect.defineProperty(pe,"$storage",{get:()=>de})}},n=g;f(n,"_nameSpace","rs-"),f(n,"_getStaticKey",(t,r)=>`${t??g._nameSpace}${r}`);const injectResponsiveStorage=(t,r)=>{const V=responsiveStorageNameSpace(),oe=Object.assign({locale:n.getData("locale",V)??{locale:r.Locale??"zh"},layout:n.getData("layout",V)??{layout:r.Layout??"vertical",theme:r.Theme??"default",darkMode:r.DarkMode??!1,sidebarStatus:r.SidebarStatus??!0,epThemeColor:r.EpThemeColor??"#409EFF"},configure:n.getData("configure",V)??{grey:r.Grey??!1,weak:r.Weak??!1,hideTabs:r.HideTabs??!1,showLogo:r.ShowLogo??!0,showModel:r.ShowModel??"smart",multiTagsCache:r.MultiTagsCache??!1}},r.MultiTagsCache?{tags:n.getData("tags",V)??routerArrays}:{});t.use(n,{nameSpace:V,memory:oe})},we=Object.prototype.hasOwnProperty,W=(t,r)=>we.call(t,r),q=t=>t!==null&&typeof t=="object",Oe=((t,r)=>{if(!q(t)||q(V=t)&&V.__epPropKey)return t;var V;const{values:oe,required:ie,default:le,type:ue,validator:de}=t,pe=oe||de?_e=>{let $e=!1,Ie=[];if(oe&&(Ie=Array.from(oe),W(t,"default")&&Ie.push(le),$e||($e=Ie.includes(_e))),de&&($e||($e=de(_e))),!$e&&Ie.length>0){const Ve=[...new Set(Ie)].map(Fe=>JSON.stringify(Fe)).join(", ");warn$2(`Invalid prop: validation failed${r?` for prop "${r}"`:""}. Expected one of [${Ve}], got value ${JSON.stringify(_e)}.`)}return $e}:void 0,he={type:ue,required:!!ie,validator:pe,__epPropKey:!0};return W(t,"default")&&(he.default=le),he})({type:String,values:["","default","small","large"],required:!1});var Se={data:{type:Array,default:()=>[]},size:Oe,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean};const xe={key:{type:String||Number,default:"0"},columns:{type:Array,default:[]},loading:{type:Boolean,default:!1},loadingConfig:{type:Object,default:()=>{}},alignWhole:{type:String,default:"left"},headerAlign:{type:String,default:""},showOverflowTooltip:{type:Boolean,default:!1},rowHoverBgColor:{type:String,default:""},pagination:{type:Object,default:{total:0,pageSize:5,align:"right",background:!1,pageSizes:[5,10,15,20],layout:"total, sizes, prev, pager, next, jumper"}},paginationSmall:{type:Boolean,default:!1},adaptive:{type:Boolean,default:!1},adaptiveConfig:{type:Object,default:{offsetBottom:96,fixHeader:!0,timeout:60,zIndex:100}},...Se},J=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:t=>()=>createVNode(Fragment,null,[t.render(t.params)])});var ee=Object.defineProperty,je=Object.getOwnPropertyDescriptor,Ce=Object.getOwnPropertyNames,Be=Object.prototype.hasOwnProperty,U=(t,r,V,oe)=>{if(r&&typeof r=="object"||typeof r=="function")for(let ie of Ce(r))!Be.call(t,ie)&&ie!==V&&ee(t,ie,{get:()=>r[ie],enumerable:!(oe=je(r,ie))||oe.enumerable});return t},ze=Object.prototype.toString;function G(t){return typeof t=="function"}function Ne(t){return function(r,V){return ze.call(r)===`[object ${V}]`}(t,"Boolean")}var h={};((t,r)=>{for(var V in r)ee(t,V,{get:r[V],enumerable:!0})})(h,{Vue:()=>vue_runtime_esmBundler}),U(h,vue_runtime_esmBundler,"default");var Te=()=>{let t,r=(0,h.shallowRef)(!1),V=()=>{r.value=document.documentElement.classList.contains("dark")};return function(oe){(0,h.getCurrentInstance)()&&(0,h.onUnmounted)(oe)}(()=>{t.takeRecords(),t.disconnect()}),(0,h.onBeforeMount)(()=>{V(),t=new MutationObserver(V),t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:r}};const D=defineComponent({name:"PureTable",props:xe,emits:["page-size-change","page-current-change"],setup(t,{slots:r,attrs:V,emit:oe,expose:ie}){var le;const{key:ue,columns:de,loading:pe,adaptive:he,pagination:_e,alignWhole:$e,headerAlign:Ie,loadingConfig:Ve,adaptiveConfig:Fe,rowHoverBgColor:Ue,showOverflowTooltip:qe}=toRefs(t),{isDark:Et}=Te(),At=getCurrentInstance();let Lt=unref(_e)&&unref(_e).currentPage&&unref(_e).pageSize,hn=computed(()=>{if(!unref(Ve))return;let{text:kn,spinner:Nn,svg:Dn,viewBox:Mn}=unref(Ve);return{"element-loading-text":kn,"element-loading-spinner":Nn,"element-loading-svg":Dn,"element-loading-svg-view-box":Mn}});const _n=computed(()=>{var kn,Nn;if(unref(pe))return{"element-loading-background":(kn=unref(Ve))!=null&&kn.background?(Nn=unref(Ve))==null?void 0:Nn.background:Et.value?"rgba(0, 0, 0, 0.45)":"rgba(255, 255, 255, 0.45)"}}),vn=computed(()=>{var kn;return Object.assign({width:"100%",margin:"16px 0",display:"flex",justifyContent:unref(_e).align==="left"?"flex-start":unref(_e).align==="center"?"center":"flex-end"},(kn=unref(_e).style)!=null?kn:{})}),bn=(kn,Nn)=>{const{cellRenderer:Dn,slot:Mn,headerRenderer:Ln,headerSlot:An,hide:Vn,children:Wn,prop:Fn,...Yn}=kn;if(G(Vn)&&Vn(V))return Vn(V);if(Ne(Vn)&&Vn)return Vn;const tr={default:Kn=>{var Gn;return Dn?createVNode(J,{render:Dn,params:Object.assign(Kn,{index:Kn.$index,props:t,attrs:V})},null):Mn?(Gn=r==null?void 0:r[Mn])==null?void 0:Gn.call(r,Object.assign(Kn,{index:Kn.$index,props:t,attrs:V})):void 0}};let yr=Ln?{header:Kn=>createVNode(J,{render:Ln,params:Object.assign(Kn,{index:Kn.$index,props:t,attrs:V})},null),...tr}:r!=null&&r[An]?{header:Kn=>{var Gn;return(Gn=r==null?void 0:r[An])==null?void 0:Gn.call(r,Object.assign(Kn,{index:Kn.$index,props:t,attrs:V}))},...tr}:tr;return(Wn==null?void 0:Wn.length)>0&&(yr=Wn.map(bn)),createVNode(ElTableColumn,mergeProps({key:Nn},Yn,{prop:G(Fn)&&Fn(Nn)?Fn(Nn):Fn,align:kn!=null&&kn.align?kn.align:unref($e),headerAlign:kn!=null&&kn.headerAlign?kn.headerAlign:unref(Ie),showOverflowTooltip:kn!=null&&kn.showOverflowTooltip?kn.showOverflowTooltip:unref(qe)}),typeof(Jn=yr)=="function"||Object.prototype.toString.call(Jn)==="[object Object]"&&!isVNode$1(Jn)?yr:{default:()=>[yr]});var Jn},Cn=()=>{var kn;return(kn=At==null?void 0:At.proxy)==null?void 0:kn.$refs[`TableRef${unref(ue)}`]},Sn=()=>Cn().$refs,wn=async()=>{var kn;await nextTick();const Nn=Sn().tableWrapper,Dn=(kn=unref(Fe).offsetBottom)!=null?kn:96;Nn.style.height=window.innerHeight-Nn.getBoundingClientRect().top-Dn+"px"},En=((kn,Nn=200,Dn=!1)=>{let Mn,Ln,An=Nn;return function(){Mn&&clearTimeout(Mn),Dn?(Mn||kn.call(Ln,...arguments),Mn=setTimeout(()=>Mn=null,An)):Mn=setTimeout(()=>kn.call(Ln,...arguments),An)}})(wn,(le=unref(Fe).timeout)!=null?le:60),xn=async(kn=100)=>{await nextTick();const Nn=Sn().tableHeaderRef.$el.style;Nn.position="sticky",Nn.top=0,Nn.zIndex=kn};onMounted(()=>{nextTick(()=>{var kn;if(unref(Ue)&&Sn().tableWrapper.style.setProperty("--el-table-row-hover-bg-color",unref(Ue),"important"),unref(he)){if(wn(),window.addEventListener("resize",En),Reflect.has(unref(Fe),"fixHeader")&&!unref(Fe).fixHeader)return;xn((kn=unref(Fe).zIndex)!=null?kn:100)}})}),onBeforeUnmount(()=>{unref(he)&&window.removeEventListener("resize",En)}),ie({getTableRef:Cn,getTableDoms:Sn,setAdaptive:wn,setHeaderSticky:xn});let Pn=()=>{var kn,Nn;return createVNode(Fragment,null,[createVNode(ElTable,mergeProps(t,V,{ref:`TableRef${unref(ue)}`}),{default:()=>unref(de).map(bn),append:()=>r.append&&r.append(),empty:()=>r.empty&&r.empty()}),Lt?createVNode(ElPagination,mergeProps(V,{class:"pure-pagination",style:unref(vn)},unref(_e),{small:t!=null&&t.paginationSmall?t==null?void 0:t.paginationSmall:!!unref(_e).small&&unref(_e).small,layout:(kn=unref(_e).layout)!=null?kn:"total, sizes, prev, pager, next, jumper",pageSizes:(Nn=unref(_e).pageSizes)!=null?Nn:[5,10,15,20],onSizeChange:Dn=>(Mn=>{unref(_e).pageSize=Mn,oe("page-size-change",Mn)})(Dn),onCurrentChange:Dn=>(Mn=>{unref(_e).currentPage=Mn,oe("page-current-change",Mn)})(Dn)}),null):null])};return()=>withDirectives(createVNode("div",mergeProps({class:"pure-table",style:"width:100%"},unref(_n),unref(hn)),[Pn()]),[[resolveDirective("loading"),unref(pe)]])}}),Pe=Object.assign(D,{install:function(t){t.component(D.name,D)}}),L={data:{type:Array,default:[]},columns:{type:Array,default:[]},loading:{type:Object,default:()=>({load:!1,text:"Loading...",svg:"",spinner:"",svgViewBox:"",background:""})},align:{type:String,default:"left"},labelAlign:{type:String,default:""},...ElDescriptions.props},j=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:t=>()=>createVNode(Fragment,null,[t.render(t.params)])}),m=defineComponent({name:"PureDescriptions",props:L,setup(t,{slots:r,attrs:V}){const{data:oe,columns:ie,align:le,labelAlign:ue,loading:de}=toRefs(t),pe={title:()=>(r==null?void 0:r.title)&&r.title({props:t,attrs:V})},he={extra:()=>(r==null?void 0:r.extra)&&r.extra({props:t,attrs:V})},_e=r!=null&&r.title&&!(r!=null&&r.extra)?pe:r!=null&&r.extra&&!(r!=null&&r.title)?he:r!=null&&r.title&&(r!=null&&r.extra)?Object.assign(pe,he):null;return()=>{var $e;return withDirectives(createVNode(ElDescriptions,mergeProps(t,V,{"element-loading-text":($e=unref(de).text)!=null?$e:"Loading...","element-loading-svg":unref(de).svg,"element-loading-spinner":unref(de).spinner,"element-loading-svg-view-box":unref(de).svgViewBox,"element-loading-background":unref(de).background}),{default:()=>[unref(ie).map((Ie,Ve)=>{let Fe=unref(oe).map(Lt=>Lt[Ie==null?void 0:Ie.prop]);const Ue={default:()=>{var Lt;return Ie!=null&&Ie.cellRenderer?createVNode(j,{render:Ie.cellRenderer,params:{props:t,attrs:V,index:Ve,value:Fe[0]}},null):Ie!=null&&Ie.slot?(Lt=r==null?void 0:r[Ie.slot])==null?void 0:Lt.call(r,{props:t,attrs:V,index:Ve,value:Fe[0]}):createVNode(Fragment,null,Ie!=null&&Ie.value?[unref(Ie.value)]:[Fe])}},qe=Ie!=null&&Ie.labelRenderer?{label:()=>createVNode(j,{render:Ie.labelRenderer,params:{props:t,attrs:V,index:Ve,value:Fe[0]}},null),...Ue}:Ue;return Et=Ie==null?void 0:Ie.hide,typeof Et=="function"&&(Ie!=null&&Ie.hide(V))?Ie==null?void 0:Ie.hide(V):createVNode(ElDescriptionsItem,mergeProps(Ie,{key:Ve,align:Ie.align?Ie.align:unref(le),labelAlign:Ie.labelAlign?Ie.labelAlign:unref(ue)}),typeof(At=qe)=="function"||Object.prototype.toString.call(At)==="[object Object]"&&!isVNode$1(At)?qe:{default:()=>[qe]});var Et,At})],..._e}),[[resolveDirective("loading"),unref(de).load]])}}}),I=Object.assign(m,{install:function(t){t.component(m.name,m)}}),reset="",index$1="",tailwind="",index="";window._iconfont_svg_string_2208059='<svg><symbol id="pure-iconfont-tabs" viewBox="0 0 1024 1024"><path d="M400.43383789 497.82763673c4.20227051 3.95507813 6.50939942 9.64050293 6.26220703 15.40832519 0.32958983 5.85021973-2.05993653 11.53564453-6.26220703 15.40832519-4.36706543 3.87268067-10.1348877 5.93261719-15.90270996 5.6854248h-57.3486328v193.71643067c0.16479492 6.09741211-2.38952637 11.86523438-6.92138672 15.73791504-4.53186037 4.44946289-10.62927247 6.83898926-16.8914795 6.67419433-6.26220703 0.24719239-12.4420166-2.22473145-16.89147949-6.67419436-4.36706543-4.03747559-6.7565918-9.80529786-6.67419434-15.73791501v-193.6340332H222.78491211c-5.93261719 0.24719239-11.70043946-1.89514161-15.90270997-6.01501466-4.28466797-3.95507813-6.59179689-9.64050293-6.26220701-15.40832519-0.24719239-5.76782227 2.05993653-11.28845215 6.26220702-15.07873536 4.36706543-3.95507813 10.05249023-6.01501465 15.90270996-5.76782224h163.4765625c5.19104004 0 10.21728516 2.05993653 14.17236328 5.6854248z m177.73132325 57.76062011c4.28466797 4.20227051 6.59179689 10.05249023 6.34460448 16.14990234v156.47277832c0.24719239 5.93261719-2.05993653 11.70043946-6.34460449 15.73791504-3.95507813 4.36706543-9.64050293 6.83898926-15.57312011 6.67419433-5.85021973 0.08239747-11.45324708-2.22473145-15.57312013-6.34460449-3.95507813-4.28466797-6.26220703-9.8876953-6.26220703-15.73791504-14.83154297 16.06750489-35.34851075 25.37841797-57.01904297 25.87280274-16.23229981 0.24719239-32.05261231-4.36706543-45.7305908-13.1011963-14.17236327-8.81652833-25.70800781-21.50573731-33.20617677-36.58447265-15.90270997-33.28857422-15.90270997-72.18017578 0-105.46875 7.33337403-15.16113281 18.86901856-27.85034179 33.20617677-36.58447266 13.18359375-8.6517334 28.67431641-13.26599122 44.41223145-13.10119628 21.67053223-0.08239747 42.68188475 8.07495117 58.66699218 22.82409667-0.16479492-6.01501465 2.14233398-11.86523438 6.34460448-16.14990234 8.73413086-8.40454102 22.41210938-8.40454102 31.14624024 0l-0.41198731-0.65917969z m-50.42724611 139.0045166c19.85778809-26.03759766 19.85778809-62.29248047 0-88.33007813-9.47570801-11.78283692-23.81286622-18.37463379-38.80920409-17.79785156-14.7491455-0.41198731-28.92150879 6.09741211-38.15002442 17.79785156-9.97009278 12.35961914-15.24353028 28.01513673-14.91394043 44.00024414-0.49438477 16.06750489 4.69665529 31.80541991 14.58435058 44.32983399 9.55810548 11.45324708 23.73046875 17.88024903 38.47961427 17.46826172 14.91394043 0.32958983 29.08630372-6.09741211 38.8092041-17.46826172zM778.47338867 562.26245117c14.08996583 8.81652833 25.54321289 21.34094239 33.20617676 36.25488281 8.15734864 16.31469727 12.27722169 34.44213867 11.94763184 52.734375 0.32958983 18.37463379-3.7902832 36.58447265-11.94763184 53.06396485-7.41577148 15.07873536-18.95141602 27.76794434-33.20617676 36.58447266-13.18359375 8.73413086-28.67431641 13.26599122-44.41223144 13.10119629-11.45324708 0.16479492-22.82409669-2.38952637-33.20617676-7.41577149-9.55810548-4.11987305-18.20983887-10.05249023-25.54321289-17.46826171v2.30712889c0.16479492 5.93261719-2.05993653 11.70043946-6.17980957 15.98510744-4.11987305 4.20227051-9.80529786 6.59179689-15.73791506 6.5093994-5.85021973 0.24719239-11.53564453-2.05993653-15.5731201-6.34460449-4.28466797-4.20227051-6.59179689-10.05249023-6.26220704-16.14990233V499.80517578c-0.16479492-6.01501465 2.05993653-11.86523438 6.26220705-16.14990234 8.73413086-8.48693847 22.41210938-8.48693847 31.14624023 0 4.20227051 4.28466797 6.50939942 10.05249023 6.26220703 16.14990234v76.87683106c6.59179689-8.07495117 14.83154297-14.58435059 24.22485352-19.11621094 10.21728516-5.60302734 21.58813477-8.48693847 33.20617675-8.40454102 16.23229981-0.16479492 32.13500977 4.36706543 45.81298828 13.10119629z m-12.93640137 134.30786133c10.05249023-12.4420166 15.32592773-28.26232911 14.91394043-44.32983398 0.49438477-15.98510742-4.69665529-31.55822755-14.58435059-44.00024415-9.8876953-11.04125977-23.89526367-17.38586426-38.64440917-17.38586426s-28.75671387 6.3446045-38.64440918 17.38586426c-19.85778809 26.03759766-19.85778809 62.29248047 0 88.33007813 9.55810548 11.61804201 23.89526367 18.20983887 38.8092041 17.79785156 15.07873536-0.16479492 29.16870117-7.49816895 38.15002442-19.77539062v1.97753906zM673.5814209 299.00256347c-12.77160645 0-23.07128906-10.29968262-23.07128907-23.07128905V183.5637207c-0.08239747-6.59179689 0-13.10119629 0-19.6105957V154.31262207c0-12.77160645 10.29968262-23.07128906 23.07128906-23.07128906H820.16650391c14.00756836 0 27.10876465 5.43823242 37.07885742 15.32592773 9.31091309 9.31091309 14.66674805 21.42333983 15.32592773 34.44213868 0.08239747 0.57678223 0.08239747 1.15356445 0.08239746 1.73034667v93.27392579c0 12.77160645-10.29968262 23.07128906-23.07128906 23.07128906H673.5814209z m23.07128906-46.1425781h129.69360352v-69.29626467c0-1.64794922-0.65917969-3.21350098-1.81274415-4.44946289-1.15356445-1.15356445-2.80151367-1.81274414-4.44946289-1.81274414H696.65270999v75.5584717zM396.56115722 299.90893555c-12.77160645 0-23.07128906-10.29968262-23.07128905-23.07128908V155.13659668c0-12.68920898 10.29968262-22.98889161 22.9888916-23.07128906l175.83618164-0.90637207h0.08239746c14.00756836 0 27.10876465 5.43823242 37.07885742 15.32592774 9.8876953 9.97009278 15.32592773 23.07128906 15.32592775 37.07885741v93.27392579c0 12.77160645-10.29968262 23.07128906-23.07128907 23.07128906h-205.16967775z m23.07128907-46.22497559h159.0270996v-70.20263671c0-1.64794922-0.65917969-3.21350098-1.81274413-4.44946289-1.15356445-1.15356445-2.71911623-1.81274414-4.36706543-1.81274414l-152.84729005 0.74157713v75.72326662z" ></path><path d="M149.78076171 892.84106445c-14.25476075 0-27.60314942-5.52062989-37.65563964-15.40832519-10.05249023-9.97009278-15.57312012-23.15368653-15.57312012-37.16125488V183.72851562c0-29.00390624 23.89526367-52.56958007 53.22875978-52.56958007h139.25170897c14.25476075 0 27.60314942 5.43823242 37.65563966 15.40832519 10.05249023 9.8876953 15.57312012 23.15368653 15.57312011 37.16125489V323.30981445c0 1.64794922 0.65917969 3.21350098 1.89514162 4.44946289 1.23596192 1.15356445 2.80151367 1.81274414 4.44946288 1.81274414h525.61340332c14.25476075 0 27.60314942 5.43823242 37.65563964 15.4083252 10.05249023 9.8876953 15.57312012 23.07128906 15.57312012 37.16125488v458.12988281c0 14.08996583-5.52062989 27.27355958-15.57312012 37.16125489s-23.40087891 15.40832519-37.65563964 15.40832519H149.78076171z m6.34460451-709.11254882c-3.54309083 0-6.3446045 2.80151367-6.34460449 6.26220703v649.86877441c0 1.64794922 0.65917969 3.29589844 1.8951416 4.4494629 1.15356445 1.15356445 2.80151367 1.81274414 4.44946288 1.81274415h718.09387208c1.73034668 0 3.29589844-0.65917969 4.44946288-1.81274415 1.23596192-1.15356445 1.89514161-2.71911623 1.89514161-4.4494629V379.01049805c0-1.64794922-0.65917969-3.21350098-1.81274413-4.36706544-1.23596192-1.23596192-2.80151367-1.89514161-4.44946291-1.89514159h-525.69580077c-14.25476075 0-27.60314942-5.52062989-37.65563966-15.4083252-10.05249023-9.8876953-15.57312012-23.15368653-15.57312012-37.16125488V189.90832519c0-1.64794922-0.65917969-3.21350098-1.8951416-4.44946288-1.15356445-1.15356445-2.80151367-1.81274414-4.44946289-1.81274416H156.12536621z" ></path></symbol><symbol id="pure-iconfont-logo" viewBox="0 0 1024 1024"><path d="M410.558481 0.10861C410.558481 211.083075 109.682285 361.860579 109.682285 633.656511c0 174.943176 134.703259 316.787527 300.876196 316.787527s300.876197-141.817198 300.876197-316.787527C711.407525 361.751969 410.558481 210.974465 410.558481 0.10861z" fill="#386BF3" ></path><path d="M613.468671 73.664572c0 211.055922-300.876197 361.914883-300.876196 633.547901 0 174.943176 134.703259 316.787527 300.876196 316.787527s300.876197-141.817198 300.876197-316.787527c-0.054305-271.633018-300.876197-422.491979-300.876197-633.547901z" fill="#C3D2FB" ></path><path d="M312.592475 707.212473c0-183.713414 137.635722-312.171612 226.72288-441.390078 81.701694 106.111739 172.119322 218.740063 172.119323 367.725506a309.755045 309.755045 0 0 1-291.074166 316.516003 323.114046 323.114046 0 0 1-107.768037-242.851431z" fill="#303F5B" ></path></symbol><symbol id="pure-iconfont-new" viewBox="0 0 1024 1024"><path d="M466.73632812 228.81640625l-33.31054687 255.41015625c34.36523438 20.21484375 78.31054688 42.62695313 131.22070313 62.2265625 55.1953125 20.47851563 105.1171875 32.43164063 145.54687499 39.46289063 127.44140625-161.27929688 147.39257813-224.38476563 141.59179688-215.59570313-10.45898438 15.99609375-62.05078125 20.390625-76.20117188 15.29296875-28.30078125-10.10742188-53.4375-37.52929688-65.30273437-81.29882813-14.85351563-54.66796875-43.50585938-50.53710938-94.5703125-21.35742187-58.88671875 33.48632813-121.46484375 4.39453125-148.97460938-54.140625z" fill="#FFFFFF" ></path><path d="M444.76367187 228.81640625c-3.77929688 28.828125-7.55859375 57.74414063-11.33789062 86.57226563l-17.9296875 137.37304687c-1.40625 10.45898438-2.72460938 21.00585938-4.13085937 31.46484375-0.96679688 7.3828125 4.83398438 15.46875 10.8984375 18.984375 69.78515625 40.86914063 145.63476563 71.98242188 224.12109374 91.66992188 19.16015625 4.83398438 38.49609375 8.87695313 57.91992188 12.30468749 7.20703125 1.23046875 16.34765625 0.703125 21.35742188-5.625C767.49804688 548.65039063 808.3671875 494.421875 843.34765625 436.58984375c7.91015625-13.09570313 15.55664063-26.3671875 22.1484375-40.16601563 2.4609375-5.09765625 4.74609375-10.37109375 6.85546875-15.64453125 1.31835938-3.33984375 2.37304688-7.11914063 2.28515625-10.72265625-0.43945313-12.04101563-9.4921875-22.32421875-22.06054688-22.32421875-8.4375 0-14.94140625 4.5703125-19.42382812 11.33789063-1.93359375 2.8125 3.33984375-3.42773438 1.58203125-2.109375-0.43945313 0.3515625-0.87890625 0.79101563-1.23046875 1.14257812-1.31835938 1.49414063-3.33984375 1.14257813 2.54882813-1.84570312-1.23046875 0.61523438-2.37304688 1.58203125-3.60351563 2.28515625-1.14257813 0.61523438-2.28515625 1.14257813-3.33984375 1.66992187-3.33984375 1.66992188 5.53710938-2.109375 1.93359375-0.87890625-0.61523438 0.17578125-1.14257813 0.43945313-1.7578125 0.61523438-3.07617188 1.0546875-6.24023438 1.93359375-9.40429688 2.72460937-3.33984375 0.79101563-6.76757813 1.40625-10.10742187 2.02148438-5.625 0.87890625 5.36132813-0.61523438-0.3515625 0.08789062-1.66992188 0.17578125-3.42773438 0.3515625-5.09765625 0.52734375-6.15234375 0.52734375-12.3046875 0.703125-18.45703125 0.26367188-2.28515625-0.17578125-7.03125-1.40625 1.40625 0.3515625-1.0546875-0.17578125-2.109375-0.3515625-3.1640625-0.61523438-0.703125-0.17578125-1.40625-0.3515625-2.109375-0.61523437-0.79101563-0.26367188-1.58203125-0.61523438-2.37304688-0.87890625-3.42773438-1.23046875 5.09765625 2.37304688 1.49414063 0.61523437-2.98828125-1.40625-5.88867188-2.8125-8.70117188-4.48242187-1.31835938-0.79101563-2.72460938-1.66992188-3.95507812-2.54882813l-2.63671875-1.84570312c-1.40625-1.0546875-3.69140625-3.69140625 1.0546875 0.79101562-2.37304688-2.28515625-5.09765625-4.30664063-7.47070313-6.59179687-2.98828125-2.98828125-5.44921875-6.59179688-8.52539062-9.4921875 0.17578125 0.17578125 3.33984375 4.48242188 1.23046875 1.58203125-0.61523438-0.79101563-1.23046875-1.66992188-1.7578125-2.4609375-1.0546875-1.49414063-2.109375-3.07617188-3.07617188-4.65820313-2.4609375-3.77929688-4.65820313-7.734375-6.67968749-11.77734375-0.87890625-1.7578125-1.7578125-3.60351563-2.63671875-5.44921875-0.17578125-0.43945313-0.3515625-0.79101563-0.52734375-1.23046875-0.96679688-2.19726563-0.703125-1.66992188 0.61523437 1.40625 0.08789063-0.3515625-0.96679688-2.54882813-1.0546875-2.63671875-1.7578125-4.48242188-3.25195313-9.140625-4.65820313-13.7109375-2.72460938-9.22851563-5.625-18.19335938-9.66796874-26.89453125-6.85546875-14.50195313-18.19335938-26.10351563-33.31054688-31.640625-13.18359375-4.83398438-28.38867188-3.07617188-41.484375 1.0546875-16.171875 5.09765625-30.84960938 13.44726563-45.61523438 21.4453125-2.02148438 1.0546875-3.95507813 2.109375-6.06445312 3.07617188-0.52734375 0.26367188-4.65820313 1.84570313-0.96679688 0.52734375 3.60351563-1.40625-0.43945313 0.17578125-0.96679687 0.3515625-3.95507813 1.49414063-7.99804688 2.8125-12.04101563 3.8671875-2.02148438 0.52734375-3.95507813 0.96679688-5.9765625 1.31835937-0.79101563 0.17578125-1.58203125 0.26367188-2.37304687 0.43945313-4.48242188 0.79101563 5.625-0.52734375 1.0546875-0.17578125-3.95507813 0.3515625-7.91015625 0.61523438-11.86523438 0.52734375-1.93359375 0-3.8671875-0.08789063-5.88867187-0.26367188-0.79101563-0.08789063-1.58203125-0.17578125-2.28515625-0.17578125-4.30664063-0.3515625 4.74609375 0.79101563 1.84570312 0.26367188-3.95507813-0.79101563-7.99804688-1.40625-11.86523437-2.54882813-3.515625-0.96679688-6.94335938-2.37304688-10.37109375-3.60351562-2.72460938-0.96679688 5.2734375 2.4609375 1.49414062 0.61523437-0.703125-0.3515625-1.40625-0.61523438-2.109375-0.96679687-2.109375-1.0546875-4.13085938-2.109375-6.24023437-3.25195313-3.07617188-1.7578125-6.06445313-3.69140625-8.96484375-5.71289062-0.96679688-0.703125-1.84570313-1.49414063-2.90039063-2.109375 0.26367188 0.17578125 4.30664063 3.515625 1.58203125 1.23046875-1.66992188-1.40625-3.42773438-2.8125-5.00976562-4.30664063-2.90039063-2.63671875-5.625-5.36132813-8.17382813-8.17382812-1.40625-1.49414063-2.72460938-3.07617188-4.04296875-4.65820313-0.52734375-0.61523438-0.96679688-1.40625-1.58203125-1.93359375 4.39453125 4.39453125 1.14257813 1.40625 0-0.08789062-4.921875-6.85546875-9.140625-14.0625-12.65625-21.70898438-4.921875-10.37109375-20.65429688-13.97460938-30.05859375-7.91015625-10.72265625 6.94335938-13.18359375 18.89648438-7.91015625 30.05859375 15.8203125 33.31054688 43.68164063 60.20507813 78.48632813 72.68554688 15.55664063 5.625 33.13476563 7.734375 49.5703125 5.80078125 9.58007813-1.14257813 18.984375-2.8125 28.125-6.15234375 9.66796875-3.515625 18.54492188-8.0859375 27.421875-13.0078125 6.85546875-3.77929688 14.23828125-8.52539063 21.70898437-10.8984375-0.08789063 0-5.44921875 2.19726563-2.28515625 0.96679688 0.79101563-0.3515625 1.58203125-0.61523438 2.4609375-0.96679688 1.40625-0.52734375 2.8125-1.0546875 4.30664063-1.58203125 2.90039063-0.96679688 5.88867188-1.84570313 8.96484375-2.54882813 1.40625-0.26367188 2.8125-0.43945313 4.21875-0.79101562-7.64648438 1.84570313-3.42773438 0.43945313-1.0546875 0.3515625 1.14257813-0.08789063 2.28515625-0.08789063 3.42773437 0 0.61523438 0 1.23046875 0.08789063 1.84570313 0.08789063 3.25195313 0.08789063-6.06445313-1.31835938-2.98828125-0.3515625 1.14257813 0.3515625 2.28515625 0.52734375 3.42773437 0.87890625 0.43945313 0.17578125 0.87890625 0.3515625 1.31835938 0.43945312 3.07617188 0.87890625-5.09765625-2.4609375-2.98828125-1.23046875 0.96679688 0.52734375 1.93359375 0.96679688 2.8125 1.49414063 0.52734375 0.3515625 0.96679688 0.703125 1.49414062 0.96679687 1.93359375 1.14257813-5.00976563-4.21875-2.109375-1.58203125 0.87890625 0.79101563 1.7578125 1.58203125 2.54882813 2.37304688 1.93359375 2.02148438 2.90039063 5.00976563-0.26367188-0.703125 1.49414063 2.63671875 3.42773438 5.00976563 4.83398438 7.73437499 0.79101563 1.49414063 1.40625 3.07617188 2.19726562 4.5703125-3.42773438-6.59179688-0.43945313-1.0546875 0.26367188 0.96679688 1.40625 3.95507813 2.63671875 8.0859375 3.77929687 12.12890625 5.09765625 18.10546875 12.83203125 36.12304688 23.90625 51.41601563 10.37109375 14.23828125 22.76367188 26.80664063 38.14453125 35.59570312 6.41601563 3.69140625 13.53515625 7.29492188 20.7421875 8.96484375 6.41601563 1.49414063 13.27148438 2.02148438 19.86328125 2.02148438 14.67773438 0.08789063 30.05859375-1.7578125 44.12109375-5.88867188 6.85546875-2.02148438 13.88671875-4.5703125 19.95117188-8.34960938 6.59179688-4.13085938 9.84375-8.4375 14.67773437-14.23828124-3.515625 4.21875-2.90039063 4.48242188-7.47070312 7.47070312-2.63671875 1.66992188-7.734375 3.1640625-10.98632813 2.98828125-1.84570313-0.52734375-3.69140625-0.96679688-5.53710937-1.49414063-5.88867188-0.61523438-10.37109375-3.69140625-13.359375-9.31640624-1.84570313-3.1640625-3.07617188-7.47070313-2.98828125-10.81054688 0-0.26367188 1.7578125-7.99804688 0.43945312-4.13085938-0.3515625 1.0546875-0.703125 2.109375-1.14257812 3.16406251-0.26367188 0.61523438-0.52734375 1.31835938-0.79101563 1.93359375-1.0546875 2.72460938 2.90039063-6.59179688 1.58203125-3.77929688-0.17578125 0.43945313-0.3515625 0.87890625-0.61523437 1.31835938-5.18554688 11.68945313-11.33789063 22.8515625-17.75390625 33.92578125-29.53125 51.15234375-64.59960938 99.140625-100.546875 145.81054687-0.703125 0.87890625-1.31835938 1.7578125-2.02148438 2.54882813-2.37304688 3.1640625 0 0 0.43945313-0.52734375-1.66992188 2.19726563-3.42773438 4.39453125-5.09765625 6.59179687-3.515625 4.5703125-7.11914063 9.05273438-10.63476563 13.53515625 7.11914063-1.84570313 14.23828125-3.77929688 21.35742188-5.625-36.82617188-6.50390625-73.125-15.46875-108.72070313-26.80664063-20.65429688-6.59179688-40.95703125-13.97460938-60.99609375-22.14843749-2.28515625-0.87890625-4.48242188-1.84570313-6.76757812-2.81250001-4.921875-2.02148438 3.1640625 1.40625 0.08789062 0l-3.69140625-1.58203125c-4.74609375-2.109375-9.58007813-4.21875-14.32617187-6.328125-8.61328125-3.8671875-17.13867188-7.99804688-25.6640625-12.12890624-17.49023438-8.61328125-34.62890625-17.9296875-51.41601563-27.77343751 3.60351563 6.328125 7.29492188 12.65625 10.8984375 18.98437501 3.77929688-28.828125 7.55859375-57.74414063 11.33789063-86.57226563l17.9296875-137.37304688c1.40625-10.45898438 2.72460938-21.00585938 4.13085937-31.46484374 0.703125-5.18554688-2.90039063-12.04101563-6.41601562-15.55664063-3.77929688-3.77929688-10.10742188-6.6796875-15.55664063-6.41601562-5.71289063 0.26367188-11.6015625 2.109375-15.55664062 6.41601562-4.04296875 4.65820313-5.44921875 9.4921875-6.24023438 15.64453125z" fill="#FFCB40" ></path><path d="M496.61914062 458.73828125c47.54882813 31.640625 101.07421875 54.75585938 156.70898438 67.58789063 11.16210938 2.54882813 24.34570313-3.42773438 27.0703125-15.38085938 2.54882813-11.25-3.33984375-24.2578125-15.38085938-27.0703125-13.18359375-3.07617188-26.27929688-6.6796875-39.19921874-10.8984375-6.41601563-2.109375-12.83203125-4.30664063-19.16015625-6.76757813-3.42773438-1.31835938-6.85546875-2.63671875-10.1953125-3.95507812-1.49414063-0.61523438-2.90039063-1.14257813-4.30664063-1.7578125-4.13085938-1.7578125 4.04296875 1.7578125-1.23046875-0.52734375-25.13671875-10.8984375-49.21875-24.08203125-72.0703125-39.28710938-9.58007813-6.41601563-24.69726563-2.19726563-30.05859375 7.91015625-5.88867188 11.07421875-2.37304688 23.29101563 7.82226563 30.14648438z" fill="#FFCB40" ></path><path d="M245.77929687 729.6171875v-72.50976563-115.04882812V515.515625c-13.62304688 3.69140625-27.33398438 7.3828125-40.95703124 11.07421875 11.42578125 24.16992188 22.8515625 48.42773438 34.18945312 72.59765625 18.01757813 38.23242188 36.12304688 76.55273438 54.140625 114.78515625 4.21875 8.87695313 8.34960938 17.75390625 12.56835938 26.54296875 3.95507813 8.34960938 16.171875 12.91992188 24.78515624 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.17187501-21.18164063v-72.50976563V541.8828125v-26.54296875c0-11.51367188-10.10742188-22.5-21.97265626-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265624 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703124-11.07421875-11.42578125-24.16992188-22.8515625-48.42773438-34.18945312-72.59765625-18.01757813-38.23242188-36.12304688-76.55273438-54.140625-114.78515625-4.21875-8.87695313-8.34960938-17.75390625-12.56835938-26.54296875-3.95507813-8.34960938-16.171875-12.91992188-24.78515624-10.10742188-9.22851563 2.98828125-16.171875 11.25-16.17187501 21.18164063v214.1015625c0 11.51367188 10.10742188 22.5 21.97265626 21.97265625 11.953125-0.52734375 21.97265625-9.66796875 21.97265624-21.97265625zM501.8046875 493.63085937H400.90625c-11.86523438 0-21.97265625 10.10742188-21.97265625 21.97265626v211.55273437c0 11.86523438 10.10742188 21.97265625 21.97265625 21.97265625h100.8984375c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625H400.90625l21.97265625 21.97265625v-71.27929688-114.16992187-26.10351563l-21.97265625 21.97265626h100.8984375c11.51367188 0 22.5-10.10742188 21.97265625-21.97265626-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265624z" fill="#4381FF" ></path><path d="M478.16210937 595.75976563c-25.75195313 0.17578125-51.50390625 0.43945313-77.25585937-1e-8-11.51367188-0.17578125-22.5 10.1953125-21.97265625 21.97265625 0.52734375 12.04101563 9.66796875 21.796875 21.97265625 21.97265625 25.75195313 0.43945313 51.50390625 0.17578125 77.25585938 0 11.51367188-0.08789063 22.5-10.01953125 21.97265624-21.97265625-0.52734375-11.86523438-9.58007813-22.06054688-21.97265625-21.97265625zM553.57226563 515.60351563v214.10156249c0 9.31640625 6.76757813 19.07226563 16.171875 21.18164063 9.58007813 2.19726563 19.59960938-1.49414063 24.78515625-10.10742187 18.72070313-31.20117188 37.44140625-62.40234375 56.25-93.69140626 2.63671875-4.48242188 5.36132813-8.87695313 7.99804687-13.359375h-37.96875c18.72070313 31.20117188 37.44140625 62.40234375 56.25 93.69140625 2.63671875 4.48242188 5.36132813 8.87695313 7.99804688 13.359375 4.83398438 7.99804688 15.55664063 13.09570313 24.78515624 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.17187501-21.18164063v-72.50976562-115.04882813-26.54296875c0-11.51367188-10.10742188-22.5-21.97265626-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265624 21.97265625v214.10156251c13.62304688-3.69140625 27.33398438-7.3828125 40.95703124-11.07421876-18.72070313-31.20117188-37.44140625-62.40234375-56.25-93.69140624-2.63671875-4.48242188-5.36132813-8.87695313-7.99804687-13.359375-8.52539063-14.23828125-29.44335938-14.23828125-37.96875 0-18.72070313 31.20117188-37.44140625 62.40234375-56.25 93.69140625-2.63671875 4.48242188-5.36132813 8.87695313-7.99804688 13.359375 13.62304688 3.69140625 27.33398438 7.3828125 40.95703126 11.07421875v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625z" fill="#4381FF" ></path><path d="M225.30078125 709.49023438v-72.50976563-115.04882813-26.54296874c-13.62304688 3.69140625-27.33398438 7.3828125-40.95703125 11.07421875 11.42578125 24.08203125 22.76367188 48.1640625 34.18945313 72.33398437 18.19335938 38.40820313 36.38671875 76.81640625 54.4921875 115.22460938 4.13085938 8.7890625 8.34960938 17.66601563 12.48046875 26.45507812 3.95507813 8.34960938 16.171875 12.91992188 24.78515625 10.10742187 9.22851563-2.98828125 16.171875-11.25 16.171875-21.18164062v-72.50976563-115.04882812V495.30078125c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703125-11.07421875-11.42578125-24.08203125-22.76367188-48.1640625-34.18945313-72.33398438-18.19335938-38.40820313-36.38671875-76.81640625-54.4921875-115.22460937-4.13085938-8.7890625-8.34960938-17.66601563-12.48046875-26.45507813-3.95507813-8.34960938-16.171875-12.91992188-24.78515625-10.10742187-9.22851563 2.98828125-16.171875 11.25-16.171875 21.18164063v214.10156249c0 11.51367188 10.10742188 22.5 21.97265625 21.97265626 11.86523438-0.52734375 21.97265625-9.66796875 21.97265625-21.97265625zM482.29296875 473.50390625H381.04296875c-11.86523438 0-21.97265625 10.10742188-21.97265625 21.97265625v211.55273438c0 11.86523438 10.10742188 21.97265625 21.97265625 21.97265624h101.25c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625H381.04296875l21.97265625 21.97265625v-71.27929687-114.16992188-26.10351562l-21.97265625 21.97265625h101.25c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625z" fill="#FF642E" ></path><path d="M458.5625 575.6328125c-25.83984375 0.17578125-51.76757813 0.43945313-77.60742188 0-11.51367188-0.17578125-22.5 10.1953125-21.97265624 21.97265625 0.52734375 12.04101563 9.66796875 21.796875 21.97265625 21.97265625 25.83984375 0.43945313 51.76757813 0.17578125 77.60742187 0 11.51367188-0.08789063 22.5-10.01953125 21.97265625-21.97265625-0.52734375-11.86523438-9.58007813-21.97265625-21.97265625-21.97265625zM534.32421875 495.4765625v214.1015625c0 9.31640625 6.76757813 19.07226563 16.171875 21.18164063 9.58007813 2.19726563 19.59960938-1.49414063 24.78515625-10.10742188 18.80859375-31.2890625 37.6171875-62.49023438 56.51367188-93.77929688 2.63671875-4.39453125 5.2734375-8.7890625 7.99804687-13.18359374h-37.96875c18.80859375 31.2890625 37.6171875 62.49023438 56.51367188 93.77929687 2.63671875 4.39453125 5.2734375 8.7890625 7.99804687 13.18359375 4.83398438 7.99804688 15.55664063 13.09570313 24.78515625 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.171875-21.18164063v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703125-11.07421875-18.80859375-31.2890625-37.6171875-62.49023438-56.51367188-93.77929688-2.63671875-4.39453125-5.2734375-8.7890625-7.99804687-13.18359374-8.52539063-14.23828125-29.35546875-14.23828125-37.96875 0-18.80859375 31.2890625-37.6171875 62.49023438-56.51367188 93.77929687-2.63671875 4.39453125-5.2734375 8.7890625-7.99804687 13.18359375 13.62304688 3.69140625 27.33398438 7.3828125 40.95703125 11.07421875v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625z" fill="#FF642E" ></path><path d="M629.0703125 793.77734375h74.8828125" fill="#FFFFFF" ></path><path d="M629.0703125 815.75h74.97070313c11.51367188 0 22.5-10.10742188 21.97265624-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625h-74.97070312c-11.51367188 0-22.5 10.10742188-21.97265625 21.97265625 0.52734375 11.86523438 9.66796875 21.97265625 21.97265625 21.97265625z" fill="#FFCB40" ></path><path d="M552.16601563 793.77734375h5.71289062" fill="#FFFFFF" ></path><path d="M552.16601563 815.75h5.71289062c2.98828125 0.08789063 5.88867188-0.52734375 8.4375-1.93359375 2.72460938-0.87890625 5.09765625-2.37304688 7.03125-4.5703125 2.109375-2.02148438 3.69140625-4.30664063 4.5703125-7.03125 1.40625-2.63671875 2.02148438-5.44921875 1.93359375-8.4375l-0.79101562-5.80078125c-1.0546875-3.69140625-2.90039063-6.94335938-5.625-9.66796875-4.30664063-3.95507813-9.58007813-6.41601563-15.55664063-6.41601563h-5.71289062c-2.98828125-0.08789063-5.88867188 0.52734375-8.4375 1.93359376-2.72460938 0.87890625-5.09765625 2.37304688-7.03125 4.5703125-2.109375 2.02148438-3.69140625 4.30664063-4.5703125 7.03125-1.40625 2.63671875-2.02148438 5.44921875-1.93359375 8.43749999l0.79101562 5.80078126c1.0546875 3.69140625 2.90039063 6.94335938 5.625 9.66796874 4.30664063 3.95507813 9.58007813 6.41601563 15.55664063 6.41601563z" fill="#FFCB40" ></path></symbol></svg>',function(t){var V=(V=document.getElementsByTagName("script"))[V.length-1],r=V.getAttribute("data-injectcss"),V=V.getAttribute("data-disable-injectsvg");if(!V){var oe,ie,le,ue,de,pe=function($e,Ie){Ie.parentNode.insertBefore($e,Ie)};if(r&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch($e){console&&console.log($e)}}oe=function(){var $e,Ie=document.createElement("div");Ie.innerHTML=t._iconfont_svg_string_2208059,(Ie=Ie.getElementsByTagName("svg")[0])&&(Ie.setAttribute("aria-hidden","true"),Ie.style.position="absolute",Ie.style.width=0,Ie.style.height=0,Ie.style.overflow="hidden",Ie=Ie,($e=document.body).firstChild?pe(Ie,$e.firstChild):$e.appendChild(Ie))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(oe,0):(ie=function(){document.removeEventListener("DOMContentLoaded",ie,!1),oe()},document.addEventListener("DOMContentLoaded",ie,!1)):document.attachEvent&&(le=oe,ue=t.document,de=!1,_e(),ue.onreadystatechange=function(){ue.readyState=="complete"&&(ue.onreadystatechange=null,he())})}function he(){de||(de=!0,le())}function _e(){try{ue.documentElement.doScroll("left")}catch{return void setTimeout(_e,50)}he()}}(window);const iconfont="",auth$1={mounted(t,r){var oe;const{value:V}=r;if(V)!hasAuth(V)&&((oe=t.parentNode)==null||oe.removeChild(t));else throw new Error(`[Directive: auth]: need auths! Like v-auth="['btn.add','btn.edit']"`)}},message=(t,r)=>{if(r){const{icon:V,type:oe="info",dangerouslyUseHTMLString:ie=!1,customClass:le="antd",duration:ue=2e3,showClose:de=!1,center:pe=!1,offset:he=20,appendTo:_e=document.body,grouping:$e=!1,onClose:Ie}=r;return ElMessage({message:t,type:oe,icon:V,dangerouslyUseHTMLString:ie,duration:ue,showClose:de,center:pe,offset:he,appendTo:_e,grouping:$e,customClass:le==="antd"?"pure-message":"",onClose:()=>q$1(Ie)?Ie():null})}else return ElMessage({message:t,customClass:"pure-message"})},closeAllMessage=()=>ElMessage.closeAll(),copy={mounted(t,r){const{value:V}=r;if(V){t.copyValue=V;const oe=r.arg??"dblclick";useEventListener(t,oe,()=>{se(t.copyValue)?message("复制成功",{type:"success"}):message("复制失败",{type:"error"})})}else throw new Error('[Directive: copy]: need value! Like v-copy="modelValue"')},updated(t,r){t.copyValue=r.value}},longpress={mounted(t,r){var oe;const V=r.value;if(V&&q$1(V)){let ie=null,le=null,ue=500,de=null;const pe=((oe=r==null?void 0:r.arg)==null?void 0:oe.includes(":"))??!1;pe?(ue=Number(Vt(r.arg,":")),de=Number(Zt(r.arg,":"))):r.arg&&(ue=Number(r.arg));const he=()=>{ie&&(clearTimeout(ie),ie=null),le&&(clearInterval(le),le=null)},_e=Ie=>{Ie.preventDefault(),le===null&&(le=setInterval(()=>V(),de))};useEventListener(t,"pointerdown",Ie=>{he(),Ie.preventDefault(),ie===null&&(ie=setTimeout(pe?()=>{V(),_e(Ie)}:()=>V(),ue))}),useEventListener(t,"pointerup",he),useEventListener(t,"pointerleave",he)}else throw new Error('[Directive: longpress]: need callback and callback must be a function! Like v-longpress="callback"')}},optimize={mounted(t,r){const{value:V}=r,oe=r.arg??"debounce",ie=["debounce","throttle"].find(le=>le===oe);if(ie)if(V&&V.event&&q$1(V.fn)){let le=V==null?void 0:V.params;if(le)if($(le)||k(le))le=k(le)?Array.of(le):le;else throw new Error("[Directive: optimize]: `params` must be an array or object");useEventListener(t,V.event,ie==="debounce"?vt(le?()=>V.fn(...le):V.fn,(V==null?void 0:V.timeout)??200,(V==null?void 0:V.immediate)??!1):Rn(le?()=>V.fn(...le):V.fn,(V==null?void 0:V.timeout)??1e3))}else throw new Error("[Directive: optimize]: `event` and `fn` are required, and `fn` must be a function");else throw new Error("[Directive: optimize]: only `debounce` and `throttle` are supported")}},directives=Object.freeze(Object.defineProperty({__proto__:null,auth:auth$1,copy,longpress,optimize},Symbol.toStringTag,{value:"Module"})),defaultIconDimensions$1=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations$1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps$1=Object.freeze({...defaultIconDimensions$1,...defaultIconTransformations$1});Object.freeze({...defaultIconProps$1,body:"",hidden:!1});({...defaultIconDimensions$1});const defaultIconSizeCustomisations$1=Object.freeze({width:null,height:null}),defaultIconCustomisations$1=Object.freeze({...defaultIconSizeCustomisations$1,...defaultIconTransformations$1});function mergeCustomisations$1(t,r){const V={...t};for(const oe in r){const ie=r[oe],le=typeof ie;oe in defaultIconSizeCustomisations$1?(ie===null||ie&&(le==="string"||le==="number"))&&(V[oe]=ie):le===typeof V[oe]&&(V[oe]=oe==="rotate"?ie%4:ie)}return V}const separator$1=/[\s,]+/;function flipFromString$1(t,r){r.split(separator$1).forEach(V=>{switch(V.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function rotateFromString$1(t,r=0){const V=t.replace(/^-?[0-9.]*/,"");function oe(ie){for(;ie<0;)ie+=4;return ie%4}if(V===""){const ie=parseInt(t);return isNaN(ie)?0:oe(ie)}else if(V!==t){let ie=0;switch(V){case"%":ie=25;break;case"deg":ie=90}if(ie){let le=parseFloat(t.slice(0,t.length-V.length));return isNaN(le)?0:(le=le/ie,le%1===0?oe(le):0)}}return r}const unitsSplit$1=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest$1=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize$1(t,r,V){if(r===1)return t;if(V=V||100,typeof t=="number")return Math.ceil(t*r*V)/V;if(typeof t!="string")return t;const oe=t.split(unitsSplit$1);if(oe===null||!oe.length)return t;const ie=[];let le=oe.shift(),ue=unitsTest$1.test(le);for(;;){if(ue){const de=parseFloat(le);isNaN(de)?ie.push(le):ie.push(Math.ceil(de*r*V)/V)}else ie.push(le);if(le=oe.shift(),le===void 0)return ie.join("");ue=!ue}}const isUnsetKeyword$1=t=>t==="unset"||t==="undefined"||t==="none";function iconToSVG$1(t,r){const V={...defaultIconProps$1,...t},oe={...defaultIconCustomisations$1,...r},ie={left:V.left,top:V.top,width:V.width,height:V.height};let le=V.body;[V,oe].forEach(Fe=>{const Ue=[],qe=Fe.hFlip,Et=Fe.vFlip;let At=Fe.rotate;qe?Et?At+=2:(Ue.push("translate("+(ie.width+ie.left).toString()+" "+(0-ie.top).toString()+")"),Ue.push("scale(-1 1)"),ie.top=ie.left=0):Et&&(Ue.push("translate("+(0-ie.left).toString()+" "+(ie.height+ie.top).toString()+")"),Ue.push("scale(1 -1)"),ie.top=ie.left=0);let Lt;switch(At<0&&(At-=Math.floor(At/4)*4),At=At%4,At){case 1:Lt=ie.height/2+ie.top,Ue.unshift("rotate(90 "+Lt.toString()+" "+Lt.toString()+")");break;case 2:Ue.unshift("rotate(180 "+(ie.width/2+ie.left).toString()+" "+(ie.height/2+ie.top).toString()+")");break;case 3:Lt=ie.width/2+ie.left,Ue.unshift("rotate(-90 "+Lt.toString()+" "+Lt.toString()+")");break}At%2===1&&(ie.left!==ie.top&&(Lt=ie.left,ie.left=ie.top,ie.top=Lt),ie.width!==ie.height&&(Lt=ie.width,ie.width=ie.height,ie.height=Lt)),Ue.length&&(le='<g transform="'+Ue.join(" ")+'">'+le+"</g>")});const ue=oe.width,de=oe.height,pe=ie.width,he=ie.height;let _e,$e;ue===null?($e=de===null?"1em":de==="auto"?he:de,_e=calculateSize$1($e,pe/he)):(_e=ue==="auto"?pe:ue,$e=de===null?calculateSize$1(_e,he/pe):de==="auto"?he:de);const Ie={},Ve=(Fe,Ue)=>{isUnsetKeyword$1(Ue)||(Ie[Fe]=Ue.toString())};return Ve("width",_e),Ve("height",$e),Ie.viewBox=ie.left.toString()+" "+ie.top.toString()+" "+pe.toString()+" "+he.toString(),{attributes:Ie,body:le}}const regex$1=/\sid="(\S+)"/g,randomPrefix$1="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter$1=0;function replaceIDs$1(t,r=randomPrefix$1){const V=[];let oe;for(;oe=regex$1.exec(t);)V.push(oe[1]);if(!V.length)return t;const ie="suffix"+(Math.random()*16777216|Date.now()).toString(16);return V.forEach(le=>{const ue=typeof r=="function"?r(le):r+(counter$1++).toString(),de=le.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+de+')([")]|\\.[a-z])',"g"),"$1"+ue+ie+"$3")}),t=t.replace(new RegExp(ie,"g"),""),t}function iconToHTML$1(t,r){let V=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const oe in r)V+=" "+oe+'="'+r[oe]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+V+">"+t+"</svg>"}function encodeSVGforURL$1(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData$1(t){return"data:image/svg+xml,"+encodeSVGforURL$1(t)}function svgToURL$1(t){return'url("'+svgToData$1(t)+'")'}const defaultExtendedIconCustomisations$1={...defaultIconCustomisations$1,inline:!1},svgDefaults$1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps$1={display:"inline-block"},monotoneProps$1={backgroundColor:"currentColor"},coloredProps$1={backgroundColor:"transparent"},propsToAdd$1={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo$1={webkitMask:monotoneProps$1,mask:monotoneProps$1,background:coloredProps$1};for(const t in propsToAddTo$1){const r=propsToAddTo$1[t];for(const V in propsToAdd$1)r[t+V]=propsToAdd$1[V]}const customisationAliases$1={};["horizontal","vertical"].forEach(t=>{const r=t.slice(0,1)+"Flip";customisationAliases$1[t+"-flip"]=r,customisationAliases$1[t.slice(0,1)+"-flip"]=r,customisationAliases$1[t+"Flip"]=r});function fixSize$1(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const render$1=(t,r)=>{const V=mergeCustomisations$1(defaultExtendedIconCustomisations$1,r),oe={...svgDefaults$1},ie=r.mode||"svg",le={},ue=r.style,de=typeof ue=="object"&&!(ue instanceof Array)?ue:{};for(let Ue in r){const qe=r[Ue];if(qe!==void 0)switch(Ue){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":V[Ue]=qe===!0||qe==="true"||qe===1;break;case"flip":typeof qe=="string"&&flipFromString$1(V,qe);break;case"color":le.color=qe;break;case"rotate":typeof qe=="string"?V[Ue]=rotateFromString$1(qe):typeof qe=="number"&&(V[Ue]=qe);break;case"ariaHidden":case"aria-hidden":qe!==!0&&qe!=="true"&&delete oe["aria-hidden"];break;default:{const Et=customisationAliases$1[Ue];Et?(qe===!0||qe==="true"||qe===1)&&(V[Et]=!0):defaultExtendedIconCustomisations$1[Ue]===void 0&&(oe[Ue]=qe)}}}const pe=iconToSVG$1(t,V),he=pe.attributes;if(V.inline&&(le.verticalAlign="-0.125em"),ie==="svg"){oe.style={...le,...de},Object.assign(oe,he);let Ue=0,qe=r.id;return typeof qe=="string"&&(qe=qe.replace(/-/g,"_")),oe.innerHTML=replaceIDs$1(pe.body,qe?()=>qe+"ID"+Ue++:"iconifyVue"),h$2("svg",oe)}const{body:_e,width:$e,height:Ie}=t,Ve=ie==="mask"||(ie==="bg"?!1:_e.indexOf("currentColor")!==-1),Fe=iconToHTML$1(_e,{...he,width:$e+"",height:Ie+""});return oe.style={...le,"--svg":svgToURL$1(Fe),width:fixSize$1(he.width),height:fixSize$1(he.height),...commonProps$1,...Ve?monotoneProps$1:coloredProps$1,...de},h$2("span",oe)},storage$1=Object.create(null);function addIcon$1(t,r){storage$1[t]=r}const Icon$1=defineComponent({inheritAttrs:!1,render(){const t=this.$attrs,r=t.icon,V=typeof r=="string"?storage$1[r]:typeof r=="object"?r:null;return V===null||typeof V!="object"||typeof V.body!="string"?this.$slots.default?this.$slots.default():null:render$1({...defaultIconProps$1,...V},t)}}),iconifyIconOffline=defineComponent({name:"IconifyIconOffline",components:{IconifyIcon:Icon$1},props:{icon:{default:null}},render(){typeof this.icon=="object"&&addIcon$1(this.icon,this.icon);const t=this.$attrs;return h$2(Icon$1,{icon:this.icon,style:t!=null&&t.style?Object.assign(t.style,{outline:"none"}):{outline:"none"},...t},{default:()=>[]})}}),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(t,r,V,oe="")=>{const ie=t.split(":");if(t.slice(0,1)==="@"){if(ie.length<2||ie.length>3)return null;oe=ie.shift().slice(1)}if(ie.length>3||!ie.length)return null;if(ie.length>1){const de=ie.pop(),pe=ie.pop(),he={provider:ie.length>0?ie[0]:oe,prefix:pe,name:de};return r&&!validateIconName(he)?null:he}const le=ie[0],ue=le.split("-");if(ue.length>1){const de={provider:oe,prefix:ue.shift(),name:ue.join("-")};return r&&!validateIconName(de)?null:de}if(V&&oe===""){const de={provider:oe,prefix:"",name:le};return r&&!validateIconName(de,V)?null:de}return null},validateIconName=(t,r)=>t?!!((t.provider===""||t.provider.match(matchIconName))&&(r&&t.prefix===""||t.prefix.match(matchIconName))&&t.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(t,r){const V={};!t.hFlip!=!r.hFlip&&(V.hFlip=!0),!t.vFlip!=!r.vFlip&&(V.vFlip=!0);const oe=((t.rotate||0)+(r.rotate||0))%4;return oe&&(V.rotate=oe),V}function mergeIconData(t,r){const V=mergeIconTransformations(t,r);for(const oe in defaultExtendedIconProps)oe in defaultIconTransformations?oe in t&&!(oe in V)&&(V[oe]=defaultIconTransformations[oe]):oe in r?V[oe]=r[oe]:oe in t&&(V[oe]=t[oe]);return V}function getIconsTree(t,r){const V=t.icons,oe=t.aliases||Object.create(null),ie=Object.create(null);function le(ue){if(V[ue])return ie[ue]=[];if(!(ue in ie)){ie[ue]=null;const de=oe[ue]&&oe[ue].parent,pe=de&&le(de);pe&&(ie[ue]=[de].concat(pe))}return ie[ue]}return(r||Object.keys(V).concat(Object.keys(oe))).forEach(le),ie}function internalGetIconData(t,r,V){const oe=t.icons,ie=t.aliases||Object.create(null);let le={};function ue(de){le=mergeIconData(oe[de]||ie[de],le)}return ue(r),V.forEach(ue),mergeIconData(t,le)}function parseIconSet(t,r){const V=[];if(typeof t!="object"||typeof t.icons!="object")return V;t.not_found instanceof Array&&t.not_found.forEach(ie=>{r(ie,null),V.push(ie)});const oe=getIconsTree(t);for(const ie in oe){const le=oe[ie];le&&(r(ie,internalGetIconData(t,ie,le)),V.push(ie))}return V}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(t,r){for(const V in r)if(V in t&&typeof t[V]!=typeof r[V])return!1;return!0}function quicklyValidateIconSet(t){if(typeof t!="object"||t===null)return null;const r=t;if(typeof r.prefix!="string"||!t.icons||typeof t.icons!="object"||!checkOptionalProps(t,optionalPropertyDefaults))return null;const V=r.icons;for(const ie in V){const le=V[ie];if(!ie.match(matchIconName)||typeof le.body!="string"||!checkOptionalProps(le,defaultExtendedIconProps))return null}const oe=r.aliases||Object.create(null);for(const ie in oe){const le=oe[ie],ue=le.parent;if(!ie.match(matchIconName)||typeof ue!="string"||!V[ue]&&!oe[ue]||!checkOptionalProps(le,defaultExtendedIconProps))return null}return r}const dataStorage=Object.create(null);function newStorage(t,r){return{provider:t,prefix:r,icons:Object.create(null),missing:new Set}}function getStorage(t,r){const V=dataStorage[t]||(dataStorage[t]=Object.create(null));return V[r]||(V[r]=newStorage(t,r))}function addIconSet(t,r){return quicklyValidateIconSet(r)?parseIconSet(r,(V,oe)=>{oe?t.icons[V]=oe:t.missing.add(V)}):[]}function addIconToStorage(t,r,V){try{if(typeof V.body=="string")return t.icons[r]={...V},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(t){return typeof t=="boolean"&&(simpleNames=t),simpleNames}function getIconData(t){const r=typeof t=="string"?stringToIcon(t,!0,simpleNames):t;if(r){const V=getStorage(r.provider,r.prefix),oe=r.name;return V.icons[oe]||(V.missing.has(oe)?null:void 0)}}function addIcon(t,r){const V=stringToIcon(t,!0,simpleNames);if(!V)return!1;const oe=getStorage(V.provider,V.prefix);return addIconToStorage(oe,V.name,r)}function addCollection(t,r){if(typeof t!="object")return!1;if(typeof r!="string"&&(r=t.provider||""),simpleNames&&!r&&!t.prefix){let ie=!1;return quicklyValidateIconSet(t)&&(t.prefix="",parseIconSet(t,(le,ue)=>{ue&&addIcon(le,ue)&&(ie=!0)})),ie}const V=t.prefix;if(!validateIconName({provider:r,prefix:V,name:"a"}))return!1;const oe=getStorage(r,V);return!!addIconSet(oe,t)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(t,r,V){if(r===1)return t;if(V=V||100,typeof t=="number")return Math.ceil(t*r*V)/V;if(typeof t!="string")return t;const oe=t.split(unitsSplit);if(oe===null||!oe.length)return t;const ie=[];let le=oe.shift(),ue=unitsTest.test(le);for(;;){if(ue){const de=parseFloat(le);isNaN(de)?ie.push(le):ie.push(Math.ceil(de*r*V)/V)}else ie.push(le);if(le=oe.shift(),le===void 0)return ie.join("");ue=!ue}}const isUnsetKeyword=t=>t==="unset"||t==="undefined"||t==="none";function iconToSVG(t,r){const V={...defaultIconProps,...t},oe={...defaultIconCustomisations,...r},ie={left:V.left,top:V.top,width:V.width,height:V.height};let le=V.body;[V,oe].forEach(Fe=>{const Ue=[],qe=Fe.hFlip,Et=Fe.vFlip;let At=Fe.rotate;qe?Et?At+=2:(Ue.push("translate("+(ie.width+ie.left).toString()+" "+(0-ie.top).toString()+")"),Ue.push("scale(-1 1)"),ie.top=ie.left=0):Et&&(Ue.push("translate("+(0-ie.left).toString()+" "+(ie.height+ie.top).toString()+")"),Ue.push("scale(1 -1)"),ie.top=ie.left=0);let Lt;switch(At<0&&(At-=Math.floor(At/4)*4),At=At%4,At){case 1:Lt=ie.height/2+ie.top,Ue.unshift("rotate(90 "+Lt.toString()+" "+Lt.toString()+")");break;case 2:Ue.unshift("rotate(180 "+(ie.width/2+ie.left).toString()+" "+(ie.height/2+ie.top).toString()+")");break;case 3:Lt=ie.width/2+ie.left,Ue.unshift("rotate(-90 "+Lt.toString()+" "+Lt.toString()+")");break}At%2===1&&(ie.left!==ie.top&&(Lt=ie.left,ie.left=ie.top,ie.top=Lt),ie.width!==ie.height&&(Lt=ie.width,ie.width=ie.height,ie.height=Lt)),Ue.length&&(le='<g transform="'+Ue.join(" ")+'">'+le+"</g>")});const ue=oe.width,de=oe.height,pe=ie.width,he=ie.height;let _e,$e;ue===null?($e=de===null?"1em":de==="auto"?he:de,_e=calculateSize($e,pe/he)):(_e=ue==="auto"?pe:ue,$e=de===null?calculateSize(_e,he/pe):de==="auto"?he:de);const Ie={},Ve=(Fe,Ue)=>{isUnsetKeyword(Ue)||(Ie[Fe]=Ue.toString())};return Ve("width",_e),Ve("height",$e),Ie.viewBox=ie.left.toString()+" "+ie.top.toString()+" "+pe.toString()+" "+he.toString(),{attributes:Ie,body:le}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(t,r=randomPrefix){const V=[];let oe;for(;oe=regex.exec(t);)V.push(oe[1]);if(!V.length)return t;const ie="suffix"+(Math.random()*16777216|Date.now()).toString(16);return V.forEach(le=>{const ue=typeof r=="function"?r(le):r+(counter++).toString(),de=le.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+de+')([")]|\\.[a-z])',"g"),"$1"+ue+ie+"$3")}),t=t.replace(new RegExp(ie,"g"),""),t}const storage=Object.create(null);function setAPIModule(t,r){storage[t]=r}function getAPIModule(t){return storage[t]||storage[""]}function createAPIConfig(t){let r;if(typeof t.resources=="string")r=[t.resources];else if(r=t.resources,!(r instanceof Array)||!r.length)return null;return{resources:r,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(t,r){const V=createAPIConfig(r);return V===null?!1:(configStorage[t]=V,!0)}function getAPIConfig(t){return configStorage[t]}const detectFetch=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let fetchModule=detectFetch();function calculateMaxLength(t,r){const V=getAPIConfig(t);if(!V)return 0;let oe;if(!V.maxURL)oe=0;else{let ie=0;V.resources.forEach(ue=>{ie=Math.max(ie,ue.length)});const le=r+".json?icons=";oe=V.maxURL-ie-V.path.length-le.length}return oe}function shouldAbort(t){return t===404}const prepare=(t,r,V)=>{const oe=[],ie=calculateMaxLength(t,r),le="icons";let ue={type:le,provider:t,prefix:r,icons:[]},de=0;return V.forEach((pe,he)=>{de+=pe.length+1,de>=ie&&he>0&&(oe.push(ue),ue={type:le,provider:t,prefix:r,icons:[]},de=pe.length),ue.icons.push(pe)}),oe.push(ue),oe};function getPath(t){if(typeof t=="string"){const r=getAPIConfig(t);if(r)return r.path}return"/"}const send=(t,r,V)=>{if(!fetchModule){V("abort",424);return}let oe=getPath(r.provider);switch(r.type){case"icons":{const le=r.prefix,de=r.icons.join(","),pe=new URLSearchParams({icons:de});oe+=le+".json?"+pe.toString();break}case"custom":{const le=r.uri;oe+=le.slice(0,1)==="/"?le.slice(1):le;break}default:V("abort",400);return}let ie=503;fetchModule(t+oe).then(le=>{const ue=le.status;if(ue!==200){setTimeout(()=>{V(shouldAbort(ue)?"abort":"next",ue)});return}return ie=501,le.json()}).then(le=>{if(typeof le!="object"||le===null){setTimeout(()=>{le===404?V("abort",le):V("next",ie)});return}setTimeout(()=>{V("success",le)})}).catch(()=>{V("next",ie)})},fetchAPIModule={prepare,send};function sortIcons(t){const r={loaded:[],missing:[],pending:[]},V=Object.create(null);t.sort((ie,le)=>ie.provider!==le.provider?ie.provider.localeCompare(le.provider):ie.prefix!==le.prefix?ie.prefix.localeCompare(le.prefix):ie.name.localeCompare(le.name));let oe={provider:"",prefix:"",name:""};return t.forEach(ie=>{if(oe.name===ie.name&&oe.prefix===ie.prefix&&oe.provider===ie.provider)return;oe=ie;const le=ie.provider,ue=ie.prefix,de=ie.name,pe=V[le]||(V[le]=Object.create(null)),he=pe[ue]||(pe[ue]=getStorage(le,ue));let _e;de in he.icons?_e=r.loaded:ue===""||he.missing.has(de)?_e=r.missing:_e=r.pending;const $e={provider:le,prefix:ue,name:de};_e.push($e)}),r}function removeCallback(t,r){t.forEach(V=>{const oe=V.loaderCallbacks;oe&&(V.loaderCallbacks=oe.filter(ie=>ie.id!==r))})}function updateCallbacks(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const r=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!r.length)return;let V=!1;const oe=t.provider,ie=t.prefix;r.forEach(le=>{const ue=le.icons,de=ue.pending.length;ue.pending=ue.pending.filter(pe=>{if(pe.prefix!==ie)return!0;const he=pe.name;if(t.icons[he])ue.loaded.push({provider:oe,prefix:ie,name:he});else if(t.missing.has(he))ue.missing.push({provider:oe,prefix:ie,name:he});else return V=!0,!0;return!1}),ue.pending.length!==de&&(V||removeCallback([t],le.id),le.callback(ue.loaded.slice(0),ue.missing.slice(0),ue.pending.slice(0),le.abort))})}))}let idCounter=0;function storeCallback(t,r,V){const oe=idCounter++,ie=removeCallback.bind(null,V,oe);if(!r.pending.length)return ie;const le={id:oe,icons:r,callback:t,abort:ie};return V.forEach(ue=>{(ue.loaderCallbacks||(ue.loaderCallbacks=[])).push(le)}),ie}function listToIcons(t,r=!0,V=!1){const oe=[];return t.forEach(ie=>{const le=typeof ie=="string"?stringToIcon(ie,r,V):ie;le&&oe.push(le)}),oe}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(t,r,V,oe){const ie=t.resources.length,le=t.random?Math.floor(Math.random()*ie):t.index;let ue;if(t.random){let vn=t.resources.slice(0);for(ue=[];vn.length>1;){const bn=Math.floor(Math.random()*vn.length);ue.push(vn[bn]),vn=vn.slice(0,bn).concat(vn.slice(bn+1))}ue=ue.concat(vn)}else ue=t.resources.slice(le).concat(t.resources.slice(0,le));const de=Date.now();let pe="pending",he=0,_e,$e=null,Ie=[],Ve=[];typeof oe=="function"&&Ve.push(oe);function Fe(){$e&&(clearTimeout($e),$e=null)}function Ue(){pe==="pending"&&(pe="aborted"),Fe(),Ie.forEach(vn=>{vn.status==="pending"&&(vn.status="aborted")}),Ie=[]}function qe(vn,bn){bn&&(Ve=[]),typeof vn=="function"&&Ve.push(vn)}function Et(){return{startTime:de,payload:r,status:pe,queriesSent:he,queriesPending:Ie.length,subscribe:qe,abort:Ue}}function At(){pe="failed",Ve.forEach(vn=>{vn(void 0,_e)})}function Lt(){Ie.forEach(vn=>{vn.status==="pending"&&(vn.status="aborted")}),Ie=[]}function hn(vn,bn,Cn){const Sn=bn!=="success";switch(Ie=Ie.filter(wn=>wn!==vn),pe){case"pending":break;case"failed":if(Sn||!t.dataAfterTimeout)return;break;default:return}if(bn==="abort"){_e=Cn,At();return}if(Sn){_e=Cn,Ie.length||(ue.length?_n():At());return}if(Fe(),Lt(),!t.random){const wn=t.resources.indexOf(vn.resource);wn!==-1&&wn!==t.index&&(t.index=wn)}pe="completed",Ve.forEach(wn=>{wn(Cn)})}function _n(){if(pe!=="pending")return;Fe();const vn=ue.shift();if(vn===void 0){if(Ie.length){$e=setTimeout(()=>{Fe(),pe==="pending"&&(Lt(),At())},t.timeout);return}At();return}const bn={status:"pending",resource:vn,callback:(Cn,Sn)=>{hn(bn,Cn,Sn)}};Ie.push(bn),he++,$e=setTimeout(_n,t.rotate),V(vn,r,bn.callback)}return setTimeout(_n),Et}function initRedundancy(t){const r={...defaultConfig,...t};let V=[];function oe(){V=V.filter(de=>de().status==="pending")}function ie(de,pe,he){const _e=sendQuery(r,de,pe,($e,Ie)=>{oe(),he&&he($e,Ie)});return V.push(_e),_e}function le(de){return V.find(pe=>de(pe))||null}return{query:ie,find:le,setIndex:de=>{r.index=de},getIndex:()=>r.index,cleanup:oe}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(t){if(!redundancyCache[t]){const r=getAPIConfig(t);if(!r)return;const V=initRedundancy(r),oe={config:r,redundancy:V};redundancyCache[t]=oe}return redundancyCache[t]}function sendAPIQuery(t,r,V){let oe,ie;if(typeof t=="string"){const le=getAPIModule(t);if(!le)return V(void 0,424),emptyCallback$1;ie=le.send;const ue=getRedundancyCache(t);ue&&(oe=ue.redundancy)}else{const le=createAPIConfig(t);if(le){oe=initRedundancy(le);const ue=t.resources?t.resources[0]:"",de=getAPIModule(ue);de&&(ie=de.send)}}return!oe||!ie?(V(void 0,424),emptyCallback$1):oe.query(r,ie,V)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(t,r){try{return t.getItem(r)}catch{}}function setStoredItem(t,r,V){try{return t.setItem(r,V),!0}catch{}}function removeStoredItem(t,r){try{t.removeItem(r)}catch{}}function setBrowserStorageItemsCount(t,r){return setStoredItem(t,browserCacheCountKey,r.toString())}function getBrowserStorageItemsCount(t){return parseInt(getStoredItem(t,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(t){browserStorageStatus=t}let _window=typeof window>"u"?{}:window;function getBrowserStorage(t){const r=t+"Storage";try{if(_window&&_window[r]&&typeof _window[r].length=="number")return _window[r]}catch{}browserStorageConfig[t]=!1}function iterateBrowserStorage(t,r){const V=getBrowserStorage(t);if(!V)return;const oe=getStoredItem(V,browserCacheVersionKey);if(oe!==browserCacheVersion){if(oe){const de=getBrowserStorageItemsCount(V);for(let pe=0;pe<de;pe++)removeStoredItem(V,browserCachePrefix+pe.toString())}setStoredItem(V,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(V,0);return}const ie=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,le=de=>{const pe=browserCachePrefix+de.toString(),he=getStoredItem(V,pe);if(typeof he=="string"){try{const _e=JSON.parse(he);if(typeof _e=="object"&&typeof _e.cached=="number"&&_e.cached>ie&&typeof _e.provider=="string"&&typeof _e.data=="object"&&typeof _e.data.prefix=="string"&&r(_e,de))return!0}catch{}removeStoredItem(V,pe)}};let ue=getBrowserStorageItemsCount(V);for(let de=ue-1;de>=0;de--)le(de)||(de===ue-1?(ue--,setBrowserStorageItemsCount(V,ue)):browserStorageEmptyItems[t].add(de))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const t in browserStorageConfig)iterateBrowserStorage(t,r=>{const V=r.data,oe=r.provider,ie=V.prefix,le=getStorage(oe,ie);if(!addIconSet(le,V).length)return!1;const ue=V.lastModified||-1;return le.lastModifiedCached=le.lastModifiedCached?Math.min(le.lastModifiedCached,ue):ue,!0})}}function updateLastModified(t,r){const V=t.lastModifiedCached;if(V&&V>=r)return V===r;if(t.lastModifiedCached=r,V)for(const oe in browserStorageConfig)iterateBrowserStorage(oe,ie=>{const le=ie.data;return ie.provider!==t.provider||le.prefix!==t.prefix||le.lastModified===r});return!0}function storeInBrowserStorage(t,r){browserStorageStatus||initBrowserStorage();function V(oe){let ie;if(!browserStorageConfig[oe]||!(ie=getBrowserStorage(oe)))return;const le=browserStorageEmptyItems[oe];let ue;if(le.size)le.delete(ue=Array.from(le).shift());else if(ue=getBrowserStorageItemsCount(ie),!setBrowserStorageItemsCount(ie,ue+1))return;const de={cached:Math.floor(Date.now()/browserStorageHour),provider:t.provider,data:r};return setStoredItem(ie,browserCachePrefix+ue.toString(),JSON.stringify(de))}r.lastModified&&!updateLastModified(t,r.lastModified)||Object.keys(r.icons).length&&(r.not_found&&(r=Object.assign({},r),delete r.not_found),V("local")||V("session"))}function emptyCallback(){}function loadedNewIcons(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,updateCallbacks(t)}))}function loadNewIcons(t,r){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(r).sort():t.iconsToLoad=r,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:V,prefix:oe}=t,ie=t.iconsToLoad;delete t.iconsToLoad;let le;if(!ie||!(le=getAPIModule(V)))return;le.prepare(V,oe,ie).forEach(de=>{sendAPIQuery(V,de,pe=>{if(typeof pe!="object")de.icons.forEach(he=>{t.missing.add(he)});else try{const he=addIconSet(t,pe);if(!he.length)return;const _e=t.pendingIcons;_e&&he.forEach($e=>{_e.delete($e)}),storeInBrowserStorage(t,pe)}catch(he){console.error(he)}loadedNewIcons(t)})})}))}const loadIcons=(t,r)=>{const V=listToIcons(t,!0,allowSimpleNames()),oe=sortIcons(V);if(!oe.pending.length){let pe=!0;return r&&setTimeout(()=>{pe&&r(oe.loaded,oe.missing,oe.pending,emptyCallback)}),()=>{pe=!1}}const ie=Object.create(null),le=[];let ue,de;return oe.pending.forEach(pe=>{const{provider:he,prefix:_e}=pe;if(_e===de&&he===ue)return;ue=he,de=_e,le.push(getStorage(he,_e));const $e=ie[he]||(ie[he]=Object.create(null));$e[_e]||($e[_e]=[])}),oe.pending.forEach(pe=>{const{provider:he,prefix:_e,name:$e}=pe,Ie=getStorage(he,_e),Ve=Ie.pendingIcons||(Ie.pendingIcons=new Set);Ve.has($e)||(Ve.add($e),ie[he][_e].push($e))}),le.forEach(pe=>{const{provider:he,prefix:_e}=pe;ie[he][_e].length&&loadNewIcons(pe,ie[he][_e])}),r?storeCallback(r,oe,le):emptyCallback};function mergeCustomisations(t,r){const V={...t};for(const oe in r){const ie=r[oe],le=typeof ie;oe in defaultIconSizeCustomisations?(ie===null||ie&&(le==="string"||le==="number"))&&(V[oe]=ie):le===typeof V[oe]&&(V[oe]=oe==="rotate"?ie%4:ie)}return V}const separator=/[\s,]+/;function flipFromString(t,r){r.split(separator).forEach(V=>{switch(V.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function rotateFromString(t,r=0){const V=t.replace(/^-?[0-9.]*/,"");function oe(ie){for(;ie<0;)ie+=4;return ie%4}if(V===""){const ie=parseInt(t);return isNaN(ie)?0:oe(ie)}else if(V!==t){let ie=0;switch(V){case"%":ie=25;break;case"deg":ie=90}if(ie){let le=parseFloat(t.slice(0,t.length-V.length));return isNaN(le)?0:(le=le/ie,le%1===0?oe(le):0)}}return r}function iconToHTML(t,r){let V=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const oe in r)V+=" "+oe+'="'+r[oe]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+V+">"+t+"</svg>"}function encodeSVGforURL(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(t){return"data:image/svg+xml,"+encodeSVGforURL(t)}function svgToURL(t){return'url("'+svgToData(t)+'")'}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={webkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const t in propsToAddTo){const r=propsToAddTo[t];for(const V in propsToAdd)r[t+V]=propsToAdd[V]}const customisationAliases={};["horizontal","vertical"].forEach(t=>{const r=t.slice(0,1)+"Flip";customisationAliases[t+"-flip"]=r,customisationAliases[t.slice(0,1)+"-flip"]=r,customisationAliases[t+"Flip"]=r});function fixSize(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const render=(t,r)=>{const V=mergeCustomisations(defaultExtendedIconCustomisations,r),oe={...svgDefaults},ie=r.mode||"svg",le={},ue=r.style,de=typeof ue=="object"&&!(ue instanceof Array)?ue:{};for(let Ue in r){const qe=r[Ue];if(qe!==void 0)switch(Ue){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":V[Ue]=qe===!0||qe==="true"||qe===1;break;case"flip":typeof qe=="string"&&flipFromString(V,qe);break;case"color":le.color=qe;break;case"rotate":typeof qe=="string"?V[Ue]=rotateFromString(qe):typeof qe=="number"&&(V[Ue]=qe);break;case"ariaHidden":case"aria-hidden":qe!==!0&&qe!=="true"&&delete oe["aria-hidden"];break;default:{const Et=customisationAliases[Ue];Et?(qe===!0||qe==="true"||qe===1)&&(V[Et]=!0):defaultExtendedIconCustomisations[Ue]===void 0&&(oe[Ue]=qe)}}}const pe=iconToSVG(t,V),he=pe.attributes;if(V.inline&&(le.verticalAlign="-0.125em"),ie==="svg"){oe.style={...le,...de},Object.assign(oe,he);let Ue=0,qe=r.id;return typeof qe=="string"&&(qe=qe.replace(/-/g,"_")),oe.innerHTML=replaceIDs(pe.body,qe?()=>qe+"ID"+Ue++:"iconifyVue"),h$2("svg",oe)}const{body:_e,width:$e,height:Ie}=t,Ve=ie==="mask"||(ie==="bg"?!1:_e.indexOf("currentColor")!==-1),Fe=iconToHTML(_e,{...he,width:$e+"",height:Ie+""});return oe.style={...le,"--svg":svgToURL(Fe),width:fixSize(he.width),height:fixSize(he.height),...commonProps,...Ve?monotoneProps:coloredProps,...de},h$2("span",oe)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const t=window;if(t.IconifyPreload!==void 0){const r=t.IconifyPreload,V="Invalid IconifyPreload syntax.";typeof r=="object"&&r!==null&&(r instanceof Array?r:[r]).forEach(oe=>{try{(typeof oe!="object"||oe===null||oe instanceof Array||typeof oe.icons!="object"||typeof oe.prefix!="string"||!addCollection(oe))&&console.error(V)}catch{console.error(V)}})}if(t.IconifyProviders!==void 0){const r=t.IconifyProviders;if(typeof r=="object"&&r!==null)for(let V in r){const oe="IconifyProviders["+V+"] is invalid.";try{const ie=r[V];if(typeof ie!="object"||!ie||ie.resources===void 0)continue;addAPIProvider(V,ie)||console.error(oe)}catch{console.error(oe)}}}}const emptyIcon={...defaultIconProps,body:""},Icon=defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,r){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let V;if(typeof t!="string"||(V=stringToIcon(t,!1,!0))===null)return this.abortLoading(),null;const oe=getIconData(V);if(!oe)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",oe!==null&&(this._loadingIcon={name:t,abort:loadIcons([V],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,r&&r(t));const ie=["iconify"];return V.prefix!==""&&ie.push("iconify--"+V.prefix),V.provider!==""&&ie.push("iconify--"+V.provider),{data:oe,classes:ie}}},render(){this.counter;const t=this.$attrs,r=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!r)return render(emptyIcon,t);let V=t;return r.classes&&(V={...t,class:(typeof t.class=="string"?t.class+" ":"")+r.classes.join(" ")}),render({...defaultIconProps,...r.data},V)}}),iconifyIconOnline=defineComponent({name:"IconifyIconOnline",components:{IconifyIcon:Icon},props:{icon:{type:String,default:""}},render(){const t=this.$attrs;return h$2(Icon,{icon:`${this.icon}`,style:t!=null&&t.style?Object.assign(t.style,{outline:"none"}):{outline:"none"},...t},{default:()=>[]})}}),fontIcon=defineComponent({name:"FontIcon",props:{icon:{type:String,default:""}},render(){const t=this.$attrs;return Object.keys(t).includes("uni")||(t==null?void 0:t.iconType)==="uni"?h$2("i",{class:"iconfont",...t},this.icon):Object.keys(t).includes("svg")||(t==null?void 0:t.iconType)==="svg"?h$2("svg",{class:"icon-svg","aria-hidden":!0},{default:()=>[h$2("use",{"xlink:href":`#${this.icon}`})]}):h$2("i",{class:`iconfont ${this.icon}`,...t})}}),IconifyIconOffline=iconifyIconOffline,IconifyIconOnline=iconifyIconOnline,FontIcon=fontIcon,auth=defineComponent({name:"Auth",props:{value:{type:void 0,default:[]}},setup(t,{slots:r}){return()=>{var V;return r&&hasAuth(t.value)?createVNode(Fragment,null,[(V=r.default)==null?void 0:V.call(r)]):null}}}),Auth=auth,systemRouter={path:"/system",meta:{icon:"setting",title:"menus.hssysManagement",rank:system$1},children:[{path:"/system/user/index",name:"User",meta:{icon:"flUser",title:"menus.hsUser",roles:["admin"]}},{path:"/system/role/index",name:"Role",meta:{icon:"role",title:"menus.hsRole",roles:["admin"]}},{path:"/system/dept/index",name:"Dept",meta:{icon:"dept",title:"menus.hsDept",roles:["admin"]}}]},permissionRouter={path:"/permission",meta:{title:"menus.permission",icon:"lollipop",rank:permission},children:[{path:"/permission/page/index",name:"PermissionPage",meta:{title:"menus.permissionPage",roles:["admin","common"]}},{path:"/permission/button/index",name:"PermissionButton",meta:{title:"menus.permissionButton",roles:["admin","common"],auths:["btn_add","btn_edit","btn_delete"]}}]},frameRouter={path:"/iframe",meta:{icon:"monitor",title:"menus.hsExternalPage",rank:frame$1},children:[{path:"/iframe/pure",name:"FramePure",meta:{title:"menus.hsPureDocument",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc",roles:["admin","common"]}},{path:"/external",name:"https://yiming_chang.gitee.io/pure-admin-doc",meta:{title:"menus.externalLink",roles:["admin","common"]}},{path:"/iframe/ep",name:"FrameEp",meta:{title:"menus.hsEpDocument",frameSrc:"https://element-plus.org/zh-CN/",roles:["admin","common"]}},{path:"/iframe/vue3",name:"FrameVue",meta:{title:"menus.hsVueDocument",frameSrc:"https://cn.vuejs.org/",roles:["admin","common"]}},{path:"/iframe/vite",name:"FrameVite",meta:{title:"menus.hsViteDocument",frameSrc:"https://cn.vitejs.dev/",roles:["admin","common"]}},{path:"/iframe/pinia",name:"FramePinia",meta:{title:"menus.hsPiniaDocument",frameSrc:"https://pinia.vuejs.org/zh/index.html",roles:["admin","common"]}},{path:"/iframe/vue-router",name:"FrameRouter",meta:{title:"menus.hsRouterDocument",frameSrc:"https://router.vuejs.org/zh/",roles:["admin","common"]}},{path:"/iframe/tailwindcss",name:"FrameTailwindcss",meta:{title:"menus.hsTailwindcssDocument",frameSrc:"https://tailwindcss.com/docs/installation",roles:["admin","common"]}}]},tabsRouter={path:"/tabs",meta:{icon:"IF-pure-iconfont-tabs",title:"menus.hstabs",rank:tabs},children:[{path:"/tabs/index",name:"Tabs",meta:{title:"menus.hstabs",roles:["admin","common"]}},{path:"/tabs/query-detail",name:"TabQueryDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}},{path:"/tabs/params-detail/:id",component:"params-detail",name:"TabParamsDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}}]},asyncRoutes=[{url:"/getAsyncRoutes",method:"get",response:()=>({success:!0,data:[systemRouter,permissionRouter,frameRouter,tabsRouter]})}],__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:asyncRoutes},Symbol.toStringTag,{value:"Module"})),list=[{url:"/getCardList",method:"post",response:()=>({success:!0,data:{list:[{index:1,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:2,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:3,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:4,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:5,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:6,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:7,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:8,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:9,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:10,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:11,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:12,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:13,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:14,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:15,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:16,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:17,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:18,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:19,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:20,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:21,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:22,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:23,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:24,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:25,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:26,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:27,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:28,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:29,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:30,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:31,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:32,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:33,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:34,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:35,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:36,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:37,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:38,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:39,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:40,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:41,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:42,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:43,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:44,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:45,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:46,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:47,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:48,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"}]}})},{url:"/releases",method:"get",response:()=>({success:!0,data:{list:[{created_at:"2023-06-26T03:14:25Z",published_at:"2023-06-26T03:17:23Z",body:"# 4.5.0 (2023-06-26)\r\n\r\n### ✔️ refactor\r\n\r\n- 重构图片裁剪 `ReCropper` 组件,添加更多实用功能\r\n\r\n### 🎫 Feat\r\n\r\n- 菜单搜索功能支持拼音搜索,比如搜图片裁剪,输入 `tp` 或 `tupian` 等对应拼音即可\r\n- 添加长按指令及使用示例,该长按指令支持自定义时长的持续回调\r\n- 添加敏感词过滤功能示例\r\n- 添加汉语拼音功能示例\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复 `V4.4.0` 版本,页面开启 `keepAlive` 缓存后第一次加载并未缓存页面的问题\r\n- 修复 `RePureTableBar` 组件初始化时列设置勾选项未根据 `hide` 属性正确初始化\r\n\r\n### 🍏 Perf\r\n\r\n- 将 `VITE_PUBLIC_PATH` 默认改为 `./` 兼容更多路径场景,\r\n- 兼容 `VITE_PUBLIC_PATH` 为 `url` 的 `OSS` 场景,需将 `@pureadmin/theme` 升级至最新版"},{created_at:"2023-06-14T02:52:19Z",published_at:"2023-06-14T02:54:41Z",body:"# 4.4.0 (2023-06-14)\r\n\r\n### 🎫 Feat\r\n\r\n- 路由 `meta` 添加 `activePath` 属性,可将某个菜单激活(主要用于通过 `query` 或 `params` 传参的路由,当它们通过配置 `showLink: false` 后不在菜单中显示,就不会有任何菜单高亮,而通过设置 `activePath` 指定激活菜单即可获得高亮,`activePath` 为指定激活菜单的 `path` [查看详情](https://github.com/pure-admin/vue-pure-admin/commit/58cafbc73ffa27253446ee93077e1e382519ce8a#commitcomment-117834411))\r\n- `pure-admin-table` 高级用法添加自适应内容区高度示例\r\n- 添加防抖、节流和文本复制指令并规范自定义指令用法错误时的提示以及添加使用示例\r\n- `notice` 消息提示组件空数据时添加 `el-empty` 组件\r\n- 函数式弹窗示例代码添加子组件 `prop` 为 `primitive` 类型的示例\r\n- 添加 `vscode-docker` 插件\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复国际化切换到英文模式刷新会回到中文模式\r\n- 修复搜索菜单功能的弹框遮罩未覆盖左侧菜单的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 页面切换性能优化,不考虑网络的情况下,页面切换逻辑的速度差不多比之前快 `3-4` 倍 [查看优化详情](https://github.com/pure-admin/vue-pure-admin/pull/600#issuecomment-1586094078)\r\n- 优化标签页操作-路由传参模式用法\r\n- 系统管理中表格均改为自适应内容区高度,需将 `@pureadmin/table` 升级到最新版\r\n- 使用 `vueuse` 的 `useResizeObserver` 函数替换 `v-resize` 自定义指令,从测试后的表现来看性能会更好\r\n- 对未解绑的公共事件,在页面销毁时解绑"},{created_at:"2023-06-04T04:11:51Z",published_at:"2023-06-04T04:13:24Z",body:"# 4.3.0 (2023-06-04)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `docker` 支持\r\n- 添加项目版本实时更新检测功能\r\n- 完善系统管理-角色管理页面\r\n- 瀑布流组件添加无限滚动\r\n- 函数式弹框添加 `updateDialog` 更改弹框自身属性值方法\r\n- `wangeditor` 富文本添加多个富文本和自定义图片上传示例\r\n- `pure-table` 表格高级用法添加保留已选中的 `CheckBox` 选项示例\r\n- `RePureTableBar` 组件添加 `title` 插槽\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复获取验证码倒计时会有 `1s` 延时禁用的问题\r\n- 修复图标选择器未正确初始化预览问题\r\n- 修复动态路由重定向造成标签页出现重复内容\r\n- 修复强制刷新页面 `getTopMenu()` 函数获取不到 `path` 报错的问题\r\n- 修复左侧菜单折叠后突然拉升造成左侧菜单整体不显示的问题\r\n- 修复 `RePureTableBar` 关闭列设置后在 `windows` 出现滚动条的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化标签页操作-路由传参模式用法\r\n- 优化菜单搜索功能和样式\r\n- 更新 `vscode` 代码片段\r\n- 优化 `dataThemeChange` 主题设置的初始化调用时机"},{created_at:"2023-05-15T07:03:57Z",published_at:"2023-05-15T07:04:54Z",body:"# 4.2.0 (2023-05-15)\r\n\r\n### 🎫 Feat\r\n\r\n- 新增分段控制器组件并适配暗黑模式\r\n- 静态路由支持配置数组格式\r\n- 函数式弹框组件添加全屏、退出全屏操作按钮\r\n- 新增组件-瀑布流 `demo`\r\n- 添加 `Exclusive` 类型互斥语法糖\r\n\r\n### 🍏 Perf\r\n\r\n- 规范 `template` 模版中路由写法,不再使用 `$route` 和 `$router`,此写法 `vue-tsc` 编译不通过"},{created_at:"2023-05-11T17:45:43Z",published_at:"2023-05-11T17:47:10Z",body:"# 4.1.0 (2023-05-12)\r\n\r\n### 🎫 Feat\r\n\r\n- 函数式弹框组件添加结合 `Form` 的 `demo` 示例\r\n- 封装 `element-plus` 的 `el-col` 组件\r\n- 函数式弹框组件添加 `beforeCancel` 和 `beforeSure` 回调,可暂停弹框的关闭\r\n- 完善 `系统管理-部门管理` 页面\r\n- 优化 `PureTableBar` 组件,列展示添加拖拽功能\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复开启 `keepAlive` 后点击标签页的重新加载,页面缓存还存在的问题\r\n- 修复混合模式菜单下刷新页签后左侧菜单会闪烁一下的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化首页布局\r\n- 依赖更新到 `vue3.3+` 以及删除 `unplugin-vue-define-options` 插件"},{created_at:"2023-05-09T08:11:28Z",published_at:"2023-05-09T08:14:55Z",body:'# 4.0.0 (2023-05-09)\r\n\r\n[查看 4.0.0 版本优化细节](https://github.com/pure-admin/vue-pure-admin/issues/428#issuecomment-1422191158)\r\n\r\n### ✔️ refactor\r\n\r\n- 采用 `css` 伪类 `before` 写法重构菜单的激活背景,类似于 [ant.design-menu](https://ant.design/components/menu-cn#components-menu-demo-inline-collapsed)\r\n\r\n### 🎫 Feat\r\n\r\n- 优化菜单名称右侧的额外图标,使其支持更多图标渲染模式\r\n- 可配置首页菜单显示与隐藏\r\n- 将本地响应式存储的命名空间提升到全局配置中\r\n- 新增函数式弹框组件以及 `demo` 示例,使用更便捷\r\n- `PureTableBar` 组件添加列展示功能\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复当菜单折叠或展开时首页 `echarts` 图表未自适应容器\r\n- 修复当只有一个子菜单时,搜索功能搜索不到该子菜单问题\r\n- 修复全局配置 `Theme` 为 `light` 清空缓存重新登录主题配置不生效的问题\r\n- 修复菜单搜索功能弹框打开后搜索框未自动聚集的问题\r\n- 修复按 `ESC` 退出全屏后,工具栏按钮文案展示问题\r\n- 修复移动端通知栏 `tooltip` 点击穿透问题\r\n- 修复当左侧菜单收起后,切换到 `horizontal` 导航模式时文字不展示的问题\r\n- 修复导航 `tab` 关闭其他标签页无法重置状态问题\r\n- 修复 `getHistoryMode` 函数中环境变量未初始化带来的页面热更新报错\r\n- 修复导航 `tab` 过多导致关闭左侧标签页无法正常显示\r\n- 修复点击内容区全屏报错问题\r\n- 修复混合导航下打开 `showLink:false` 页面并刷新后,左侧导航栏一直处于加载状态的问题\r\n- 修复混合模式导航下调用 `initRouter` 函数导致左侧导航内存溢出问题\r\n- 修复关闭左侧、右侧、其他、全部标签页操作时缓存页面并没有销毁问题\r\n- 修复路由通过 `query` 或 `params` 传参,开启缓存后关闭标签页缓存失效问题\r\n- 修复 `params` 路由传参模式下,面包屑无法找到父级路径问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化 `RePureTableBar` 组件的 `buttons` 具名插槽\r\n- 优化导航样式以及菜单折叠动画\r\n- 优化菜单名称右侧的额外图标,使其支持更多图标渲染模式\r\n- 优化 `logo` 图和文字布局以及统一配置\r\n- 路由信息 `showLink` 设置成 `false` 后,当前路由信息不添加到标签页\r\n- 导出 `addPathMatch` 函数\r\n- `pinia` 中所有 `getters` 改为官方推荐写法,`this` 改成 `state` 可自动推导类型\r\n- 适配最新版 `pure-table` 的 `api`\r\n- 忽略 `sourcemap-codec` 和 `stable` 依赖包的 `deprecation` 警告\r\n- 从 `tsconfig.json` 文件中移除 `"incremental": true`\r\n- 更新 `stylelint` 以及相关配置至最新,强化样式校验\r\n- 面包屑去首页化,根据选择的菜单对应显示,首页不在固定到面包屑里,并优化面包屑页面的路由监听'},{created_at:"2022-12-26T06:31:04Z",published_at:"2022-12-26T06:32:38Z",body:"# 3.9.7 (2022-12-26)\r\n\r\n### 🍏 Perf\r\n\r\n- 使用 `path.posix.resolve` 替代 `path.resolve` 避免 `windows` 环境下使用 `electron` 出现盘符问题\r\n- 默认关闭 `CachingAsyncRoutes` 动态路由缓存本地,使其在开发环境下调试更方便,不用每次修改动态路由都要先清空本地缓存的动态路由,更推荐在生产环境开启"},{created_at:"2022-12-19T04:14:18Z",published_at:"2022-12-19T04:15:41Z",body:`# 3.9.6 (2022-12-19)\r
|
||
\r
|
||
### 🎫 Chores\r
|
||
\r
|
||
- 升级 \`vite4\` 版本\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复 \`tailwind.css\` 错误的引入方式导致 \`vite\` 的 \`hmr\` 慢的问题\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 更新 [@pureadmin/theme](https://github.com/pure-admin/pure-admin-theme) 至最新版,带来更友好的类型提示\r
|
||
- 优化 [PureTableBar](https://github.com/xiaoxian521/vue-pure-admin/tree/main/src/components/RePureTableBar) 组件\r
|
||
- 优化系统管理页面业务代码,带来更好的代码参考`},{created_at:"2022-12-13T06:19:31Z",published_at:"2022-12-13T06:20:30Z",body:`# 3.9.5 (2022-12-13)\r
|
||
\r
|
||
### ✔️ refactor\r
|
||
\r
|
||
- 完全移除了 \`lodash\` 和其相关库\r
|
||
[点击此处查看为什么移除?如何自行集成?](https://yiming_chang.gitee.io/pure-admin-doc/pages/FAQ/#%E5%B9%B3%E5%8F%B0%E5%9C%A8-v3-9-5-%E7%89%88%E6%9C%AC%E5%AE%8C%E5%85%A8%E7%A7%BB%E9%99%A4%E4%BA%86-lodash-%E5%92%8C%E5%85%B6%E7%9B%B8%E5%85%B3%E5%BA%93-%E4%B8%BA%E4%BB%80%E4%B9%88%E7%A7%BB%E9%99%A4-%E5%A6%82%E4%BD%95%E8%87%AA%E8%A1%8C%E9%9B%86%E6%88%90)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加 \`@pureadmin/table\` 表格动态列示例\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复动态路由 \`rank\` 问题\r
|
||
- 修复暗黑主题样式问题\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 优化路由 \`rank\` ,当 \`rank\` 不存在时,根据顺序自动创建,首页路由永远在第一位`},{created_at:"2022-12-05T05:59:54Z",published_at:"2022-12-05T06:04:01Z",body:`# 3.9.4 (2022-12-05)\r
|
||
\r
|
||
### ✔️ refactor\r
|
||
\r
|
||
- 完全移除了 \`vxe-table\`,移除后,完整版整体打包大小减少 \`1.82MB\`,首启动时长基本和精简版持平 🐮\r
|
||
[点击此处查看为什么移除?如何自行集成?](https://yiming_chang.gitee.io/pure-admin-doc/pages/FAQ/#%E5%B9%B3%E5%8F%B0%E5%9C%A8-v3-9-4-%E7%89%88%E6%9C%AC%E5%AE%8C%E5%85%A8%E7%A7%BB%E9%99%A4%E4%BA%86-vxe-table-%E4%B8%BA%E4%BB%80%E4%B9%88%E7%A7%BB%E9%99%A4-%E5%A6%82%E4%BD%95%E8%87%AA%E8%A1%8C%E9%9B%86%E6%88%90)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加 \`@pureadmin/table\` 表格选择器(单选、多选)示例`},{created_at:"2022-12-04T08:45:47Z",published_at:"2022-12-04T08:46:59Z",body:`# 3.9.3 (2022-12-04)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加 \`@pureadmin/table\` 分页和加载动画示例\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复开启 \`CachingAsyncRoutes\` 后,存入本地存储的动态路由改变造成刷新页面空白的问题\r
|
||
- 修复菜单折叠后 \`Tooltip\` 显示异常\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 扩展本地图标使用方式,完整版首启动再次减少 \`13\` 个请求\r
|
||
- 当菜单加载慢时,添加 \`loading\` 动画,优化用户体验\r
|
||
- 主题初始化放在 \`onBeforeMount\` 里,避免初始化页面闪烁`},{created_at:"2022-12-03T07:02:17Z",published_at:"2022-12-03T07:03:09Z",body:"# 3.9.2 (2022-12-03)\r\n\r\n### 🍏 Perf\r\n\r\n- 全局覆盖 `element-plus` 的 `el-dialog`、`el-drawer`、`el-message-box`、`el-notification` 组件右上角关闭图标的样式,使其表现更鲜明 [具体代码修改记录](https://github.com/xiaoxian521/vue-pure-admin/commit/c80818d792276666aaea4b18413a0f08777f2ed1)\r\n- 打包输出信息兼容不同打包输出路径\r\n- 优化一些动画"},{created_at:"2022-12-02T11:32:48Z",published_at:"2022-12-02T11:33:45Z",body:"# 3.9.1 (2022-12-02)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `CachingAsyncRoutes` 是否开启动态路由缓存本地的全局配置,默认 `true`\r\n- 添加 `TooltipEffect` 全局配置,可配置平台主体所有 `el-tooltip` 的 `effect` 属性,默认 `light`,不影响业务代码\r\n- 添加目录、菜单文字超出显示 `Tooltip` 文字提示演示\r\n\r\n### 🍏 Perf\r\n\r\n- 优化 `initRouter` 方法,兼容 `sso` 场景\r\n- 面包屑动画样式优化"},{created_at:"2022-11-30T06:11:08Z",published_at:"2022-11-30T06:12:32Z",body:`# 3.9.0 (2022-11-30)\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复退出全屏时文字过长导致页面出现滚动条后带来的抖动问题\r
|
||
- 修复一些类型错误\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- perf: 首屏加载大优化,对比 \`3.9.0\` 之前版本,首屏请求减少 \`71\` 个,首屏加载资源减少 \`4.1 MB\``},{created_at:"2022-11-27T17:25:43Z",published_at:"2022-11-27T17:27:59Z",body:"# 3.8.7 (2022-11-28)\r\n\r\n### 🍏 Perf\r\n\r\n- perf: 打包大优化,请务必升级!使用 `unplugin-vue-define-options` 替换 `unplugin-vue-macros` ,打包速度提升数倍,使用 `unplugin-vue-macros` 以性能中等偏上的 `mac` 为例完整版打包时长为 `6` 分钟 😭,使用 `unplugin-vue-define-options` 替换后,相同电脑下打包时长为 `50` 秒 ☺️"},{created_at:"2022-11-27T08:34:46Z",published_at:"2022-11-27T08:35:49Z",body:"# 3.8.6 (2022-11-27)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `message` 消息提示函数,兼容 `Element Plus` 和 `Ant Design` 两种 `Message` 样式风格,使用和打包大小成本极低并适配暗黑模式,真香 😂\r\n\r\n### 🍏 Perf\r\n\r\n- perf: 无需安装 `@vue/runtime-core` ,兼容所有 `element-plus` 组件的 `volar` 提示"},{created_at:"2022-11-26T16:03:19Z",published_at:"2022-11-26T16:04:41Z",body:"# 3.8.5 (2022-11-26)\r\n\r\n### 🍏 Perf\r\n\r\n- 大优化,移除 `@pureadmin/components` 并采用兼容写法,平台打包大小在未启用压缩前对比优化前减少 `0.4` MB , 首屏请求减少 `2.3` MB 的资源,这对于 [精简版](https://github.com/xiaoxian521/pure-admin-thin) 来说是非常大的优化,精简版已经同步代码"},{created_at:"2022-11-26T07:07:07Z",published_at:"2022-11-26T07:08:11Z",body:"# 3.8.0 (2022-11-26)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `@pureadmin/table` 多种数据格式(深层结构)示例\r\n- 添加 `@pureadmin/table` 图像预览示例\r\n- 添加 `@pureadmin/table` 行、列拖拽示例\r\n- 添加 `@pureadmin/table` 右键菜单示例\r\n- 添加 `@pureadmin/table` 导出 `Excel` 示例\r\n- 添加 `@pureadmin/table` 编辑单元格示例\r\n- 添加 `@pureadmin/table` 水印示例\r\n- 添加 `@pureadmin/table` 打印示例\r\n- 添加 `@pureadmin/table` 内嵌 `echarts` 图表示例\r\n- 添加 `svgo` 压缩平台所有 `svg` 文件,减少体积\r\n\r\n### 🍏 Perf\r\n\r\n- 静态路由平台自动导入,无需手动引入\r\n- 更完善的全局类型提示\r\n- 优化 `vite` 依赖预构建在平台里的配置,页面切换加载速度显著加快"},{created_at:"2022-11-21T17:00:04Z",published_at:"2022-11-21T17:00:42Z",body:`# 3.7.1 (2022-11-22)\r
|
||
\r
|
||
### 🔥 hotfix\r
|
||
\r
|
||
- 修复在未开启标签页缓存时退出登录,可能存在标签页未重置的问题`},{created_at:"2022-11-21T09:14:22Z",published_at:"2022-11-21T09:15:24Z",body:"# 3.7.0 (2022-11-21)\r\n\r\n### ✔️ refactor\r\n\r\n- 使用 `intro.js` 替换 `driver.js`\r\n\r\n### 🎫 Feat\r\n\r\n- 添加前端单点登录,测试地址 https://yiming_chang.gitee.io/vue-pure-admin/#/pure-table/index?username=sso&roles=admin&accessToken=eyJhbGciOiJIUzUxMiJ9.admin\r\n- 为 [@pureadmin/table](https://github.com/xiaoxian521/pure-admin-table) 添加更多的示例和 `element-plus` 的 [table](https://element-plus.org/zh-CN/component/table.html) 示例保持一致\r\n- 丰富水印功能页面(支持自定义各种颜色、阴影、文字、额外属性、设置不可删除水印以及给指定元素设置水印)\r\n- 优化菜单,添加 `MenuArrowIconNoTransition` 全局配置,在 `public/serverConfig.json` 中配置即可,对于出现左侧菜单模式,菜单展开卡顿的可设置 `MenuArrowIconNoTransition: true` 即可解决\r\n- 更换表单设计器组件演示\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复页内菜单带参互相跳转,标签没有选中高亮\r\n\r\n### 🍏 Perf\r\n\r\n- 删除已废弃的 `$baseUrl`\r\n- 兼容引入某个库导致 `global is not defined` 报错,将 `src/utils/globalPolyfills.ts` 文件引入 `src/main.ts` 即可解决\r\n- 删除 `@vitejs/plugin-legacy`,`vue3` 无法通过任何工具使其支持 `ie`"},{created_at:"2022-11-10T04:17:05Z",published_at:"2022-11-10T04:18:18Z",body:`# 3.6.4 (2022-11-10)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 菜单图标 \`icon\` 支持使用在线图标\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复 \`vxe-button\` 鼠标覆盖后字体颜色问题以及一些别的样式问题\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 优化路由守卫,如果已经登录并存在登录信息后不能跳转到路由白名单,而是继续保持在当前页面\r
|
||
- 将 \`baseURL\` 和全局环境代理删除,可直接在 \`vite.config.ts\` 编写,即方便又支持多个代理地址`},{created_at:"2022-11-01T08:18:12Z",published_at:"2022-11-01T08:19:22Z",body:"# 3.6.3 (2022-11-01)\r\n\r\n### 🎫 Feat\r\n\r\n- 静态资源分类打包\r\n- 添加弹幕组件 `demo`\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复 `tailwindcss` 最新版新增的 `collapse` 属性与平台 `class` 类名冲突\r\n- 修复当 `token` 过期后,如果页面有多个请求会重复刷新 `token`"},{created_at:"2022-10-27T04:58:44Z",published_at:"2022-10-27T04:59:32Z",body:"# 3.6.2 (2022-10-27)\r\n\r\n### ✔️ refactor\r\n\r\n- 使用`@/`别名替换`/@/`别名"},{created_at:"2022-10-26T18:42:33Z",published_at:"2022-10-26T18:43:31Z",body:"# 3.6.1 (2022-10-27)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加打包是否启动`cdn`替换本地库配置,默认`false`不启动\r\n- 添加打包构建可选`gzip`与`brotli`压缩模式\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复`title`过长显示样式问题\r\n- 修复路由中父级`name`不应和子级`name`重复,会造成重定向跳转`404`问题\r\n\r\n### 🍏 Perf\r\n\r\n- 升级`axios`至最新版"},{created_at:"2022-10-25T05:07:18Z",published_at:"2022-10-25T05:08:18Z",body:"# 3.6.0 (2022-10-25)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加文件下载`demo`\r\n- 添加打字机组件`demo`\r\n- 添加`json`编辑器`demo`\r\n\r\n### ✔️ refactor\r\n\r\n- 重构权限模块,采用目前最常用的`RBAC`(Role-Based Access List): 基于角色的权限控制( 用户 -> 角色 -> 权限 ),并更新页面权限和按钮权限`demo`示例,按钮权限支持三种操作模式(组件方式判断权限、函数方式判断权限、指令方式判断权限)\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复清空缓存并返回登录页时未清空主题\r\n- 修复`horizontal`模式下`menu`在生产环境显示问题\r\n- 修复`mix`混合模式导航在生产环境左侧菜单一定机率不显示的问题\r\n- `token`过期后调用刷新`token`接口会无限循环的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 从`tailwind.css`中移除不常用的`@apply`\r\n- 使用`/** */`替换`//`注释,对编辑器的智能提示更友好\r\n- 优化登录回车事件\r\n- 简化了一些函数,剔除了无用函数,优化了页面加载速度"},{created_at:"2022-09-10T13:44:17Z",published_at:"2022-09-10T13:46:11Z",body:"# 3.5.0 (2022-9-10)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `cssnano` ,打包时压缩 `css` 体积\r\n- 添加 `element-plus` 无缝滚动 `Table` 页面 demo\r\n- 开启 `vscode` 括号对指南\r\n\r\n### ✔️ refactor\r\n\r\n- 使用 `tailwindcss` 替换 `unocss`,新增 `tailwindcss` [使用文档](http://yiming_chang.gitee.io/pure-admin-doc/pages/39156f/)\r\n\r\n### 🐞 Bug fixes\r\n\r\n- `token` 过期,刷新死循环\r\n\r\n### 🍏 Perf\r\n\r\n- 重置路由时,清空缓存页面"},{created_at:"2022-08-23T02:31:44Z",published_at:"2022-08-23T02:32:49Z",body:"# 3.4.6 (2022-8-23)\r\n\r\n### 🐞 Bug fixes\r\n\r\n- `process` is not defined in path\r\n- 修复动态路由`children`为空数组时报错\r\n- 修复`iframe`加载失败"},{created_at:"2022-08-22T12:21:53Z",published_at:"2022-08-22T12:23:21Z",body:`# 3.4.5 (2022-8-22)\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复本地响应式存储对象设置问题`},{created_at:"2022-08-22T09:21:18Z",published_at:"2022-08-22T09:22:26Z",body:"# 3.4.0 (2022-8-22)\r\n\r\n### 🍏 Perf\r\n\r\n- 优化路由\r\n- 优化移动端兼容性\r\n- 优化路由传参(`query`、`params` 方式刷新页面不需要再开启标签页缓存也能保留参数在`url`和`标签页`上)"},{created_at:"2022-08-19T07:29:06Z",published_at:"2022-08-19T07:31:08Z",body:`# 3.3.5 (2022-8-19)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 将 \`element-plus\` 的 \`Table\` 二次封装到[@pureadmin/table](https://github.com/xiaoxian521/pure-admin-table),提供灵活的配置项并集成到平台里\r
|
||
- 将 \`element-plus\` 的 \`Descriptions\` 二次封装到[@pureadmin/descriptions](https://github.com/xiaoxian521/pure-admin-descriptions),提供灵活的配置项并集成到平台里\r
|
||
- 将平台的大部分工具以及 hooks 都集中到[@pureadmin/utils](https://pure-admin-utils-docs.vercel.app/),并删除集中到这个库里的代码,减少平台体积\r
|
||
- 添加[unplugin-vue-define-options](https://www.npmjs.com/package/unplugin-vue-define-options)插件,页面可直接写 \`defineOptions({name: 自定义名称})\`\r
|
||
- 添加项目文件、语言分析工具 [cloc](https://www.npmjs.com/package/cloc)\r
|
||
- 添加登陆页国际化\r
|
||
- 添加完整路由配置表类型声明\r
|
||
- 添加虚拟列表页面 demo\r
|
||
- 添加 \`PDF\` 预览页面 demo\r
|
||
- 添加导出 \`excel\` 页面 demo\r
|
||
- 添加无 \`Layout\` 的空白页面 demo\r
|
||
\r
|
||
### ✔️ refactor\r
|
||
\r
|
||
- 重构主题色,适配 \`element-plus\` 暗黑模式(同时也解决了 \`3.3.0\` 及更低版本中同样的元素 \`css\` 被多次覆盖,导致样式不好调试的问题)\r
|
||
- 重构路由重置功能\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 兼容项目存放目录以中文命名,但我们真心不推荐中文命名,因为可能某个库没有对中文路径做转义处理,导致项目奔溃\r
|
||
- 优化接口类型\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复路由 \`showlink\` 为 \`false\` 的异步路由,刷新后不显示\r
|
||
- 修复当没有 \`icon\` 时,垂直导航菜单折叠后文字被隐藏`},{created_at:"2022-05-11T07:51:38Z",published_at:"2022-05-11T07:52:31Z",body:`# 3.3.0 (2022-5-11)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加用户管理页面 demo\r
|
||
- 添加角色管理页面 demo\r
|
||
- 添加部门管理页面 demo\r
|
||
- 添加卡片列表页面 demo\r
|
||
- 集成表单设计器\r
|
||
- 新增\`PPT\`demo\r
|
||
- 在功能菜单中新增防抖截流 demo\r
|
||
- 升级\`wangeditorV5\`(并支持国际化和自定义主题)\r
|
||
- 集成\`tauri\`版本\r
|
||
- 新增条形码功能\r
|
||
- 新增二维码功能\r
|
||
- 使用\`element-plus\`中的\`Cascader\`级联选择器编写中国省市区三级、二级联动 demo\r
|
||
- 集成\`Swiper\`插件\r
|
||
- 路由支持传\`component\`,代表组件路径\r
|
||
- 添加预发布打包模式\r
|
||
- 添加关闭某个标签的[hooks](https://github.com/xiaoxian521/vue-pure-admin/commit/5e8723a031923e79f507e5a17151d3bd88a51523)\r
|
||
\r
|
||
### ✔️ refactor\r
|
||
\r
|
||
- 重构登陆页,更偏向实际业务场景\r
|
||
- 使用\`unocss\`替换\`windicss\`,\`unocss\`开发环境下性能更好,没有内存泄露,而且\`api\`使用上兼容\`windicss\`\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 优化平台的\`split-pane\`组件样式\r
|
||
- 优化国际化,路由不再传\`i18n\`字段,平台自动读取根目录\`locales\`文件夹下文件进行国际化匹配\r
|
||
- 优化图标选择器\r
|
||
- 优化\`layout\`显示用户信息[commit](https://github.com/xiaoxian521/vue-pure-admin/commit/56f9dc85e7fbe0637605c43577c794de9f8968aa)\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复路由初始化问题(Cannot access 'constantRoutes' before initialization)`},{created_at:"2022-03-21T16:25:55Z",published_at:"2022-03-21T16:27:00Z",body:`# 3.2.0 (2022-3-22)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 图标选择组件\r
|
||
- 菜单搜索功能\r
|
||
- 添加结果页面\r
|
||
- 扩展\`element-plus\`时间线组件\r
|
||
- 扩展\`element-plus\`树组件,支持连接线\r
|
||
- 添加树形选择器,支持单选和多选\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 优化错误页面 UI\r
|
||
- 优化国际化功能\r
|
||
- 优化路由\`rank\`排序,兼容路由\`meta\`中\`rank\`字段值为\`null\`的情况\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复菜单展开折叠在部分电脑出现卡顿的情况`},{created_at:"2022-03-03T14:57:11Z",published_at:"2022-03-03T14:57:55Z",body:`# 3.1.0 (2022-3-3)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- iframe 支持动态加载\r
|
||
- 水印示例\r
|
||
- 打印示例(图片、表格、echarts)\r
|
||
- 添加运行、打包信息, 使用\`lodash-unified\`替换\`lodash-es\`,\`lodash-unified\`支持\`ESM\`同时兼容\`CJS\`\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复在一个菜单页面内单独跳转到另一个菜单页面,路由页面跳转了但是标签页不显示的情况\r
|
||
- 修复后台返回动态三级及以上的路由,出现菜单与页面不对应的情况`},{created_at:"2022-02-14T15:19:32Z",published_at:"2022-02-14T15:20:32Z",body:`# 3.0 (2022-2-14)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加混合导航\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复标签页 bug`},{created_at:"2022-02-05T09:36:21Z",published_at:"2022-02-05T09:38:09Z",body:`# 2.9.0(2022-2-5)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加打包大小分析,命令\`pnpm report\`\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 采用\`iconify\`按需引入图标,优化图标大小,减少网络请求\r
|
||
- 优化路由,路由可不传\`showLink: true\`,默认显示`},{created_at:"2022-01-21T08:46:48Z",published_at:"2022-01-21T08:49:38Z",body:`# 2.8.5(2022-1-21)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加 \`WindiCSS\` 支持\r
|
||
- 添加线上环境删 console 插件\`vite-plugin-remove-console\`\r
|
||
\r
|
||
### ✔️ refactor\r
|
||
\r
|
||
- 使用\`@iconify-icons/ep\`替换\`@element-plus/icons-vue\``},{created_at:"2022-01-04T11:52:05Z",published_at:"2022-01-04T11:53:17Z",body:`# 2.8.0(2022-1-4)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加暗黑主题\r
|
||
- 添加 element-plus 自定义主题\r
|
||
- 添加引导页\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 优化国际化,兼容 vscode 插件 i18n Ally 智能提醒\r
|
||
- 优化后端返回路由结构\r
|
||
- 优化本地存储,内置四个键\`responsive-configure\`、\`responsive-locale\`、\`responsive-layout\`、\`responsive-tags\`,分别为基本配置、国际化配置、布局配置、标签页持久化配置`},{created_at:"2021-12-18T05:56:21Z",published_at:"2021-12-18T05:57:55Z",body:`# 2.7.0(2021-12-18)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 新增标签页复用\r
|
||
- 新增消息提醒模版\r
|
||
- 新增前端菜单树结构例子\r
|
||
- 重构路由,优化权限模块,带来更方便的体验\r
|
||
- 重构 env 环境和 http 请求,带来更方便的体验\r
|
||
- 目前平台的标签页强制关联了本地存储,下一步标签页默认放到内存中并支持可配置持久化标签页\r
|
||
- 导航菜单图标支持 fontawesome、iconfont、remixicon、element-plus/icons、自定义 svg\r
|
||
- 更新 font-awesome 到 5.0 版本,因为 5.0 以下的版本官方不再维护,但平台依旧会兼容 font-awesome4 版本\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 优化标签页,带来更好的交互体验\r
|
||
- 路由 title 支持直接写中文,可脱离国际化\r
|
||
- 路由历史模式从 env 读取并支持 base 参数\r
|
||
- 打包后的文件提供传统浏览器兼容性支持,配置 VITE_LEGACY 为 true`},{created_at:"2021-11-10T05:30:48Z",published_at:"2021-11-10T05:33:37Z",body:`# 2.6.0(2021-11-10)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 重构导航主题色,支持多种配色\r
|
||
- 重构登录页,插画风格\r
|
||
\r
|
||
### 🍏 Perf\r
|
||
\r
|
||
- 优化导航样式\r
|
||
- 剔除导航强依赖 vxe-table\r
|
||
- 同步更新 element-plus,使用 SVG Icon 替换 Font Icon`},{created_at:"2021-10-14T09:50:03Z",published_at:"2021-10-14T09:52:01Z",body:`# 2.1.0(2021-10-14)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 路由动画(每个路由都可添加不同动画)\r
|
||
- 额外图标(比如这个是新加的页面,路由菜单右上角显示个新图标)\r
|
||
- 抽离默认配置选项\r
|
||
- 完善类型文件\r
|
||
\r
|
||
### 🐞 Bug fixes\r
|
||
\r
|
||
- 修复 element-plus 国际化使用问题\r
|
||
- 修复路由问题\r
|
||
- 修复导航适配问题`},{created_at:"2021-09-28T18:32:30Z",published_at:"2021-09-28T18:35:41Z",body:`# 2.0.1(2021-9-29)\r
|
||
\r
|
||
### 🎫 Feat\r
|
||
\r
|
||
- 添加 horizontal 水平模式导航`},{created_at:"2021-04-13T10:53:29Z",published_at:"2021-04-13T10:57:50Z",body:`# 2.0.0(2021-4-13)\r
|
||
\r
|
||
### 🎫 Chores\r
|
||
\r
|
||
- 发布 2.0.0 版本`}]}})}],__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:list},Symbol.toStringTag,{value:"Module"})),login=[{url:"/login",method:"post",response:({body:t})=>t.username==="admin"?{success:!0,data:{username:"admin",roles:["admin"],accessToken:"eyJhbGciOiJIUzUxMiJ9.admin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.adminRefresh",expires:"2023/10/30 00:00:00"}}:{success:!0,data:{username:"common",roles:["common"],accessToken:"eyJhbGciOiJIUzUxMiJ9.common",refreshToken:"eyJhbGciOiJIUzUxMiJ9.commonRefresh",expires:"2023/10/30 00:00:00"}}}],__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:login},Symbol.toStringTag,{value:"Module"})),mapList=()=>{const t=[];for(let r=0;r<200;r++)t.push({plateNumber:"豫A@natural(11111, 99999)@character('upper')",driver:"@cname()","orientation|1-360":100,"lng|113-114.1-10":1,"lat|34-35.1-10":1});return t},map=[{url:"/getMapInfo",method:"get",response:()=>({success:!0,data:mapList()})}],__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:map},Symbol.toStringTag,{value:"Module"})),refreshToken=[{url:"/refreshToken",method:"post",response:({body:t})=>t.refreshToken?{success:!0,data:{accessToken:"eyJhbGciOiJIUzUxMiJ9.newAdmin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.newAdminRefresh",expires:"2023/10/30 23:59:59"}}:{success:!1,data:{}}}],__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:refreshToken},Symbol.toStringTag,{value:"Module"})),system=[{url:"/user",method:"post",response:({body:t})=>{let r=[{username:"admin",nickname:"admin",avatar:"https://avatars.githubusercontent.com/u/44761321",phone:"15888886789",email:"@email",sex:0,id:1,status:1,dept:{id:103,name:"研发部门"},remark:"管理员",createTime:1605456e6},{username:"common",nickname:"common",avatar:"https://avatars.githubusercontent.com/u/52823142",phone:"18288882345",email:"@email",sex:1,id:2,status:1,dept:{id:105,name:"测试部门"},remark:"普通用户",createTime:1605456e6}];return r=r.filter(V=>V.username.includes(t==null?void 0:t.username)),r=r.filter(V=>String(V.status).includes(String(t==null?void 0:t.status))),t.phone&&(r=r.filter(V=>V.phone===t.phone)),t.deptId&&(r=r.filter(V=>V.dept.id===t.deptId)),{success:!0,data:{list:r,total:r.length,pageSize:10,currentPage:1}}}},{url:"/list-all-role",method:"get",response:()=>({success:!0,data:[{id:1,name:"超级管理员"},{id:2,name:"普通角色"}]})},{url:"/list-role-ids",method:"post",response:({body:t})=>{if(t.userId){if(t.userId==1)return{success:!0,data:[1]};if(t.userId==2)return{success:!0,data:[2]}}else return{success:!1,data:[]}}},{url:"/role",method:"post",response:({body:t})=>{let r=[{createTime:1605456e6,updateTime:1684512e6,id:1,name:"超级管理员",code:"admin",status:1,remark:"超级管理员拥有最高权限"},{createTime:1605456e6,updateTime:1684512e6,id:2,name:"普通角色",code:"common",status:1,remark:"普通角色拥有部分权限"}];return r=r.filter(V=>V.name.includes(t==null?void 0:t.name)),r=r.filter(V=>String(V.status).includes(String(t==null?void 0:t.status))),t.code&&(r=r.filter(V=>V.code===t.code)),{success:!0,data:{list:r,total:r.length,pageSize:10,currentPage:1}}}},{url:"/dept",method:"post",response:()=>({success:!0,data:[{name:"杭州总公司",parentId:0,id:100,sort:0,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:1,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"郑州分公司",parentId:100,id:101,sort:1,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:2,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"研发部门",parentId:101,id:103,sort:1,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"市场部门",parentId:102,id:108,sort:1,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"深圳分公司",parentId:100,id:102,sort:2,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:2,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"市场部门",parentId:101,id:104,sort:2,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"财务部门",parentId:102,id:109,sort:2,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"测试部门",parentId:101,id:105,sort:3,phone:"15888888888",principal:"@cname()",email:"@email",status:0,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"财务部门",parentId:101,id:106,sort:4,phone:"15888888888",principal:"@cname()",email:"@email",status:1,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"},{name:"运维部门",parentId:101,id:107,sort:5,phone:"15888888888",principal:"@cname()",email:"@email",status:0,type:3,createTime:1605456e6,remark:"@cparagraph(1, 3)"}]})}],__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:system},Symbol.toStringTag,{value:"Module"}));var mock={exports:{}};(function(module,exports){(function(r,V){module.exports=V()})(commonjsGlobal,function(){return function(t){var r={};function V(oe){if(r[oe])return r[oe].exports;var ie=r[oe]={exports:{},id:oe,loaded:!1};return t[oe].call(ie.exports,ie,ie.exports,V),ie.loaded=!0,ie.exports}return V.m=t,V.c=r,V.p="",V(0)}([function(t,r,V){var oe=V(1),ie=V(3),le=V(5),ue=V(20),de=V(23),pe=V(25),he;typeof window<"u"&&(he=V(27));/*!
|
||
Mock - 模拟请求 & 模拟数据
|
||
https://github.com/nuysoft/Mock
|
||
墨智 mozhi.gyy@taobao.com nuysoft@gmail.com
|
||
*/var _e={Handler:oe,Random:le,Util:ie,XHR:he,RE:ue,toJSONSchema:de,valid:pe,heredoc:ie.heredoc,setup:function($e){return he.setup($e)},_mocked:{}};_e.version="1.0.1-beta3",he&&(he.Mock=_e),_e.mock=function($e,Ie,Ve){return arguments.length===1?oe.gen($e):(arguments.length===2&&(Ve=Ie,Ie=void 0),he&&(window.XMLHttpRequest=he),_e._mocked[$e+(Ie||"")]={rurl:$e,rtype:Ie,template:Ve},_e)},t.exports=_e},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend};Handler.gen=function(t,r,V){r=r==null?"":r+"",V=V||{},V={path:V.path||[Constant.GUID],templatePath:V.templatePath||[Constant.GUID++],currentContext:V.currentContext,templateCurrentContext:V.templateCurrentContext||t,root:V.root||V.currentContext,templateRoot:V.templateRoot||V.templateCurrentContext||t};var oe=Parser.parse(r),ie=Util.type(t),le;return Handler[ie]?(le=Handler[ie]({type:ie,template:t,name:r,parsedName:r&&r.replace(Constant.RE_KEY,"$1"),rule:oe,context:V}),V.root||(V.root=le),le):t},Handler.extend({array:function(t){var r=[],V,oe;if(t.template.length===0)return r;if(t.rule.parameters)if(t.rule.min===1&&t.rule.max===void 0)t.context.path.push(t.name),t.context.templatePath.push(t.name),r=Random.pick(Handler.gen(t.template,void 0,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template})),t.context.path.pop(),t.context.templatePath.pop();else if(t.rule.parameters[2])t.template.__order_index=t.template.__order_index||0,t.context.path.push(t.name),t.context.templatePath.push(t.name),r=Handler.gen(t.template,void 0,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template})[t.template.__order_index%t.template.length],t.template.__order_index+=+t.rule.parameters[2],t.context.path.pop(),t.context.templatePath.pop();else for(V=0;V<t.rule.count;V++)for(oe=0;oe<t.template.length;oe++)t.context.path.push(r.length),t.context.templatePath.push(oe),r.push(Handler.gen(t.template[oe],r.length,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template})),t.context.path.pop(),t.context.templatePath.pop();else for(V=0;V<t.template.length;V++)t.context.path.push(V),t.context.templatePath.push(V),r.push(Handler.gen(t.template[V],V,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template})),t.context.path.pop(),t.context.templatePath.pop();return r},object:function(t){var r={},V,oe,ie,le,ue,de;if(t.rule.min!=null)for(V=Util.keys(t.template),V=Random.shuffle(V),V=V.slice(0,t.rule.count),de=0;de<V.length;de++)ie=V[de],le=ie.replace(Constant.RE_KEY,"$1"),t.context.path.push(le),t.context.templatePath.push(ie),r[le]=Handler.gen(t.template[ie],ie,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template}),t.context.path.pop(),t.context.templatePath.pop();else{V=[],oe=[];for(ie in t.template)(typeof t.template[ie]=="function"?oe:V).push(ie);for(V=V.concat(oe),de=0;de<V.length;de++)ie=V[de],le=ie.replace(Constant.RE_KEY,"$1"),t.context.path.push(le),t.context.templatePath.push(ie),r[le]=Handler.gen(t.template[ie],ie,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template}),t.context.path.pop(),t.context.templatePath.pop(),ue=ie.match(Constant.RE_KEY),ue&&ue[2]&&Util.type(t.template[ie])==="number"&&(t.template[ie]+=parseInt(ue[2],10))}return r},number:function(t){var r,V;if(t.rule.decimal){for(t.template+="",V=t.template.split("."),V[0]=t.rule.range?t.rule.count:V[0],V[1]=(V[1]||"").slice(0,t.rule.dcount);V[1].length<t.rule.dcount;)V[1]+=V[1].length<t.rule.dcount-1?Random.character("number"):Random.character("123456789");r=parseFloat(V.join("."),10)}else r=t.rule.range&&!t.rule.parameters[2]?t.rule.count:t.template;return r},boolean:function(t){var r;return r=t.rule.parameters?Random.bool(t.rule.min,t.rule.max,t.template):t.template,r},string:function(t){var r="",V,oe,ie,le;if(t.template.length){for(t.rule.count==null&&(r+=t.template),V=0;V<t.rule.count;V++)r+=t.template;for(oe=r.match(Constant.RE_PLACEHOLDER)||[],V=0;V<oe.length;V++){if(ie=oe[V],/^\\/.test(ie)){oe.splice(V--,1);continue}if(le=Handler.placeholder(ie,t.context.currentContext,t.context.templateCurrentContext,t),oe.length===1&&ie===r&&typeof le!=typeof r){r=le;break}r=r.replace(ie,le)}}else r=t.rule.range?Random.string(t.rule.count):t.template;return r},function:function(t){return t.template.call(t.context.currentContext,t)},regexp:function(t){var r="";t.rule.count==null&&(r+=t.template.source);for(var V=0;V<t.rule.count;V++)r+=t.template.source;return RE.Handler.gen(RE.Parser.parse(r))}}),Handler.extend({_all:function(){var t={};for(var r in Random)t[r.toLowerCase()]=r;return t},placeholder:function(placeholder,obj,templateContext,options){Constant.RE_PLACEHOLDER.exec("");var parts=Constant.RE_PLACEHOLDER.exec(placeholder),key=parts&&parts[1],lkey=key&&key.toLowerCase(),okey=this._all()[lkey],params=parts&&parts[2]||"",pathParts=this.splitPathToArray(key);try{params=eval("(function(){ return [].splice.call(arguments, 0 ) })("+params+")")}catch(t){params=parts[2].split(/,\s*/)}if(obj&&key in obj)return obj[key];if(key.charAt(0)==="/"||pathParts.length>1)return this.getValueByKeyPath(key,options);if(templateContext&&typeof templateContext=="object"&&key in templateContext&&placeholder!==templateContext[key])return templateContext[key]=Handler.gen(templateContext[key],key,{currentContext:obj,templateCurrentContext:templateContext}),templateContext[key];if(!(key in Random)&&!(lkey in Random)&&!(okey in Random))return placeholder;for(var i=0;i<params.length;i++)Constant.RE_PLACEHOLDER.exec(""),Constant.RE_PLACEHOLDER.test(params[i])&&(params[i]=Handler.placeholder(params[i],obj,templateContext,options));var handle=Random[key]||Random[lkey]||Random[okey];switch(Util.type(handle)){case"array":return Random.pick(handle);case"function":handle.options=options;var re=handle.apply(Random,params);return re===void 0&&(re=""),delete handle.options,re}},getValueByKeyPath:function(t,r){var V=t,oe=this.splitPathToArray(t),ie=[];t.charAt(0)==="/"?ie=[r.context.path[0]].concat(this.normalizePath(oe)):oe.length>1&&(ie=r.context.path.slice(0),ie.pop(),ie=this.normalizePath(ie.concat(oe)));try{t=oe[oe.length-1];for(var le=r.context.root,ue=r.context.templateRoot,de=1;de<ie.length-1;de++)le=le[ie[de]],ue=ue[ie[de]];if(le&&t in le)return le[t];if(ue&&typeof ue=="object"&&t in ue&&V!==ue[t])return ue[t]=Handler.gen(ue[t],t,{currentContext:le,templateCurrentContext:ue}),ue[t]}catch{}return"@"+oe.join("/")},normalizePath:function(t){for(var r=[],V=0;V<t.length;V++)switch(t[V]){case"..":r.pop();break;case".":break;default:r.push(t[V])}return r},splitPathToArray:function(t){var r=t.split(/\/+/);return r[r.length-1]||(r=r.slice(0,-1)),r[0]||(r=r.slice(1)),r}}),module.exports=Handler},function(t,r){t.exports={GUID:1,RE_KEY:/(.+)\|(?:\+(\d+)|([\+\-]?\d+-?[\+\-]?\d*)?(?:\.(\d+-?\d*))?)/,RE_RANGE:/([\+\-]?\d+)-?([\+\-]?\d+)?/,RE_PLACEHOLDER:/\\*@([^@#%&()\?\s]+)(?:\((.*?)\))?/g}},function(t,r){var V={};V.extend=function(){var ie=arguments[0]||{},le=1,ue=arguments.length,de,pe,he,_e,$e;for(ue===1&&(ie=this,le=0);le<ue;le++)if(de=arguments[le],!!de)for(pe in de)he=ie[pe],_e=de[pe],ie!==_e&&_e!==void 0&&(V.isArray(_e)||V.isObject(_e)?(V.isArray(_e)&&($e=he&&V.isArray(he)?he:[]),V.isObject(_e)&&($e=he&&V.isObject(he)?he:{}),ie[pe]=V.extend($e,_e)):ie[pe]=_e);return ie},V.each=function(ie,le,ue){var de,pe;if(this.type(ie)==="number")for(de=0;de<ie;de++)le(de,de);else if(ie.length===+ie.length)for(de=0;de<ie.length&&le.call(ue,ie[de],de,ie)!==!1;de++);else for(pe in ie)if(le.call(ue,ie[pe],pe,ie)===!1)break},V.type=function(ie){return ie==null?String(ie):Object.prototype.toString.call(ie).match(/\[object (\w+)\]/)[1].toLowerCase()},V.each("String Object Array RegExp Function".split(" "),function(oe){V["is"+oe]=function(ie){return V.type(ie)===oe.toLowerCase()}}),V.isObjectOrArray=function(oe){return V.isObject(oe)||V.isArray(oe)},V.isNumeric=function(oe){return!isNaN(parseFloat(oe))&&isFinite(oe)},V.keys=function(oe){var ie=[];for(var le in oe)oe.hasOwnProperty(le)&&ie.push(le);return ie},V.values=function(oe){var ie=[];for(var le in oe)oe.hasOwnProperty(le)&&ie.push(oe[le]);return ie},V.heredoc=function(ie){return ie.toString().replace(/^[^\/]+\/\*!?/,"").replace(/\*\/[^\/]+$/,"").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},V.noop=function(){},t.exports=V},function(t,r,V){var oe=V(2),ie=V(5);t.exports={parse:function(le){le=le==null?"":le+"";var ue=(le||"").match(oe.RE_KEY),de=ue&&ue[3]&&ue[3].match(oe.RE_RANGE),pe=de&&de[1]&&parseInt(de[1],10),he=de&&de[2]&&parseInt(de[2],10),_e=de?de[2]?ie.integer(pe,he):parseInt(de[1],10):void 0,$e=ue&&ue[4]&&ue[4].match(oe.RE_RANGE),Ie=$e&&$e[1]&&parseInt($e[1],10),Ve=$e&&$e[2]&&parseInt($e[2],10),Fe=$e?!$e[2]&&parseInt($e[1],10)||ie.integer(Ie,Ve):void 0,Ue={parameters:ue,range:de,min:pe,max:he,count:_e,decimal:$e,dmin:Ie,dmax:Ve,dcount:Fe};for(var qe in Ue)if(Ue[qe]!=null)return Ue;return{}}}},function(t,r,V){var oe=V(3),ie={extend:oe.extend};ie.extend(V(6)),ie.extend(V(7)),ie.extend(V(8)),ie.extend(V(10)),ie.extend(V(13)),ie.extend(V(15)),ie.extend(V(16)),ie.extend(V(17)),ie.extend(V(14)),ie.extend(V(19)),t.exports=ie},function(t,r){t.exports={boolean:function(V,oe,ie){return ie!==void 0?(V=typeof V<"u"&&!isNaN(V)?parseInt(V,10):1,oe=typeof oe<"u"&&!isNaN(oe)?parseInt(oe,10):1,Math.random()>1/(V+oe)*V?!ie:ie):Math.random()>=.5},bool:function(V,oe,ie){return this.boolean(V,oe,ie)},natural:function(V,oe){return V=typeof V<"u"?parseInt(V,10):0,oe=typeof oe<"u"?parseInt(oe,10):9007199254740992,Math.round(Math.random()*(oe-V))+V},integer:function(V,oe){return V=typeof V<"u"?parseInt(V,10):-9007199254740992,oe=typeof oe<"u"?parseInt(oe,10):9007199254740992,Math.round(Math.random()*(oe-V))+V},int:function(V,oe){return this.integer(V,oe)},float:function(V,oe,ie,le){ie=ie===void 0?0:ie,ie=Math.max(Math.min(ie,17),0),le=le===void 0?17:le,le=Math.max(Math.min(le,17),0);for(var ue=this.integer(V,oe)+".",de=0,pe=this.natural(ie,le);de<pe;de++)ue+=de<pe-1?this.character("number"):this.character("123456789");return parseFloat(ue,10)},character:function(V){var oe={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",number:"0123456789",symbol:"!@#$%^&*()[]"};return oe.alpha=oe.lower+oe.upper,oe.undefined=oe.lower+oe.upper+oe.number+oe.symbol,V=oe[(""+V).toLowerCase()]||V,V.charAt(this.natural(0,V.length-1))},char:function(V){return this.character(V)},string:function(V,oe,ie){var le;switch(arguments.length){case 0:le=this.natural(3,7);break;case 1:le=V,V=void 0;break;case 2:typeof arguments[0]=="string"?le=oe:(le=this.natural(V,oe),V=void 0);break;case 3:le=this.natural(oe,ie);break}for(var ue="",de=0;de<le;de++)ue+=this.character(V);return ue},str:function(){return this.string.apply(this,arguments)},range:function(V,oe,ie){arguments.length<=1&&(oe=V||0,V=0),ie=arguments[2]||1,V=+V,oe=+oe,ie=+ie;for(var le=Math.max(Math.ceil((oe-V)/ie),0),ue=0,de=new Array(le);ue<le;)de[ue++]=V,V+=ie;return de}}},function(t,r){var V={yyyy:"getFullYear",yy:function(oe){return(""+oe.getFullYear()).slice(2)},y:"yy",MM:function(oe){var ie=oe.getMonth()+1;return ie<10?"0"+ie:ie},M:function(oe){return oe.getMonth()+1},dd:function(oe){var ie=oe.getDate();return ie<10?"0"+ie:ie},d:"getDate",HH:function(oe){var ie=oe.getHours();return ie<10?"0"+ie:ie},H:"getHours",hh:function(oe){var ie=oe.getHours()%12;return ie<10?"0"+ie:ie},h:function(oe){return oe.getHours()%12},mm:function(oe){var ie=oe.getMinutes();return ie<10?"0"+ie:ie},m:"getMinutes",ss:function(oe){var ie=oe.getSeconds();return ie<10?"0"+ie:ie},s:"getSeconds",SS:function(oe){var ie=oe.getMilliseconds();return ie<10&&"00"+ie||ie<100&&"0"+ie||ie},S:"getMilliseconds",A:function(oe){return oe.getHours()<12?"AM":"PM"},a:function(oe){return oe.getHours()<12?"am":"pm"},T:"getTime"};t.exports={_patternLetters:V,_rformat:new RegExp(function(){var oe=[];for(var ie in V)oe.push(ie);return"("+oe.join("|")+")"}(),"g"),_formatDate:function(oe,ie){return ie.replace(this._rformat,function le(ue,de){return typeof V[de]=="function"?V[de](oe):V[de]in V?le(ue,V[de]):oe[V[de]]()})},_randomDate:function(oe,ie){return oe=oe===void 0?new Date(0):oe,ie=ie===void 0?new Date:ie,new Date(Math.random()*(ie.getTime()-oe.getTime()))},date:function(oe){return oe=oe||"yyyy-MM-dd",this._formatDate(this._randomDate(),oe)},time:function(oe){return oe=oe||"HH:mm:ss",this._formatDate(this._randomDate(),oe)},datetime:function(oe){return oe=oe||"yyyy-MM-dd HH:mm:ss",this._formatDate(this._randomDate(),oe)},now:function(oe,ie){arguments.length===1&&(/year|month|day|hour|minute|second|week/.test(oe)||(ie=oe,oe="")),oe=(oe||"").toLowerCase(),ie=ie||"yyyy-MM-dd HH:mm:ss";var le=new Date;switch(oe){case"year":le.setMonth(0);case"month":le.setDate(1);case"week":case"day":le.setHours(0);case"hour":le.setMinutes(0);case"minute":le.setSeconds(0);case"second":le.setMilliseconds(0)}switch(oe){case"week":le.setDate(le.getDate()-le.getDay())}return this._formatDate(le,ie)}}},function(t,r,V){(function(oe){oe.exports={_adSize:["300x250","250x250","240x400","336x280","180x150","720x300","468x60","234x60","88x31","120x90","120x60","120x240","125x125","728x90","160x600","120x600","300x600"],_screenSize:["320x200","320x240","640x480","800x480","800x480","1024x600","1024x768","1280x800","1440x900","1920x1200","2560x1600"],_videoSize:["720x480","768x576","1280x720","1920x1080"],image:function(ie,le,ue,de,pe){return arguments.length===4&&(pe=de,de=void 0),arguments.length===3&&(pe=ue,ue=void 0),ie||(ie=this.pick(this._adSize)),le&&~le.indexOf("#")&&(le=le.slice(1)),ue&&~ue.indexOf("#")&&(ue=ue.slice(1)),"http://dummyimage.com/"+ie+(le?"/"+le:"")+(ue?"/"+ue:"")+(de?"."+de:"")+(pe?"&text="+pe:"")},img:function(){return this.image.apply(this,arguments)},_brandColors:{"4ormat":"#fb0a2a","500px":"#02adea","About.me (blue)":"#00405d","About.me (yellow)":"#ffcc33",Addvocate:"#ff6138",Adobe:"#ff0000",Aim:"#fcd20b",Amazon:"#e47911",Android:"#a4c639","Angie's List":"#7fbb00",AOL:"#0060a3",Atlassian:"#003366",Behance:"#053eff","Big Cartel":"#97b538",bitly:"#ee6123",Blogger:"#fc4f08",Boeing:"#0039a6","Booking.com":"#003580",Carbonmade:"#613854",Cheddar:"#ff7243","Code School":"#3d4944",Delicious:"#205cc0",Dell:"#3287c1",Designmoo:"#e54a4f",Deviantart:"#4e6252","Designer News":"#2d72da",Devour:"#fd0001",DEWALT:"#febd17","Disqus (blue)":"#59a3fc","Disqus (orange)":"#db7132",Dribbble:"#ea4c89",Dropbox:"#3d9ae8",Drupal:"#0c76ab",Dunked:"#2a323a",eBay:"#89c507",Ember:"#f05e1b",Engadget:"#00bdf6",Envato:"#528036",Etsy:"#eb6d20",Evernote:"#5ba525","Fab.com":"#dd0017",Facebook:"#3b5998",Firefox:"#e66000","Flickr (blue)":"#0063dc","Flickr (pink)":"#ff0084",Forrst:"#5b9a68",Foursquare:"#25a0ca",Garmin:"#007cc3",GetGlue:"#2d75a2",Gimmebar:"#f70078",GitHub:"#171515","Google Blue":"#0140ca","Google Green":"#16a61e","Google Red":"#dd1812","Google Yellow":"#fcca03","Google+":"#dd4b39",Grooveshark:"#f77f00",Groupon:"#82b548","Hacker News":"#ff6600",HelloWallet:"#0085ca","Heroku (light)":"#c7c5e6","Heroku (dark)":"#6567a5",HootSuite:"#003366",Houzz:"#73ba37",HTML5:"#ec6231",IKEA:"#ffcc33",IMDb:"#f3ce13",Instagram:"#3f729b",Intel:"#0071c5",Intuit:"#365ebf",Kickstarter:"#76cc1e",kippt:"#e03500",Kodery:"#00af81",LastFM:"#c3000d",LinkedIn:"#0e76a8",Livestream:"#cf0005",Lumo:"#576396",Mixpanel:"#a086d3",Meetup:"#e51937",Nokia:"#183693",NVIDIA:"#76b900",Opera:"#cc0f16",Path:"#e41f11","PayPal (dark)":"#1e477a","PayPal (light)":"#3b7bbf",Pinboard:"#0000e6",Pinterest:"#c8232c",PlayStation:"#665cbe",Pocket:"#ee4056",Prezi:"#318bff",Pusha:"#0f71b4",Quora:"#a82400","QUOTE.fm":"#66ceff",Rdio:"#008fd5",Readability:"#9c0000","Red Hat":"#cc0000",Resource:"#7eb400",Rockpack:"#0ba6ab",Roon:"#62b0d9",RSS:"#ee802f",Salesforce:"#1798c1",Samsung:"#0c4da2",Shopify:"#96bf48",Skype:"#00aff0",Snagajob:"#f47a20",Softonic:"#008ace",SoundCloud:"#ff7700","Space Box":"#f86960",Spotify:"#81b71a",Sprint:"#fee100",Squarespace:"#121212",StackOverflow:"#ef8236",Staples:"#cc0000","Status Chart":"#d7584f",Stripe:"#008cdd",StudyBlue:"#00afe1",StumbleUpon:"#f74425","T-Mobile":"#ea0a8e",Technorati:"#40a800","The Next Web":"#ef4423",Treehouse:"#5cb868",Trulia:"#5eab1f",Tumblr:"#34526f","Twitch.tv":"#6441a5",Twitter:"#00acee",TYPO3:"#ff8700",Ubuntu:"#dd4814",Ustream:"#3388ff",Verizon:"#ef1d1d",Vimeo:"#86c9ef",Vine:"#00a478",Virb:"#06afd8","Virgin Media":"#cc0000",Wooga:"#5b009c","WordPress (blue)":"#21759b","WordPress (orange)":"#d54e21","WordPress (grey)":"#464646",Wunderlist:"#2b88d9",XBOX:"#9bc848",XING:"#126567","Yahoo!":"#720e9e",Yandex:"#ffcc00",Yelp:"#c41200",YouTube:"#c4302b",Zalongo:"#5498dc",Zendesk:"#78a300",Zerply:"#9dcc7a",Zootool:"#5e8b1d"},_brandNames:function(){var ie=[];for(var le in this._brandColors)ie.push(le);return ie},dataImage:function(ie,le){var ue;if(typeof document<"u")ue=document.createElement("canvas");else{var de=oe.require("canvas");ue=new de}var pe=ue&&ue.getContext&&ue.getContext("2d");if(!ue||!pe)return"";ie||(ie=this.pick(this._adSize)),le=le!==void 0?le:ie,ie=ie.split("x");var he=parseInt(ie[0],10),_e=parseInt(ie[1],10),$e=this._brandColors[this.pick(this._brandNames())],Ie="#FFF",Ve=14,Fe="sans-serif";return ue.width=he,ue.height=_e,pe.textAlign="center",pe.textBaseline="middle",pe.fillStyle=$e,pe.fillRect(0,0,he,_e),pe.fillStyle=Ie,pe.font="bold "+Ve+"px "+Fe,pe.fillText(le,he/2,_e/2,he),ue.toDataURL("image/png")}}}).call(r,V(9)(t))},function(t,r){t.exports=function(V){return V.webpackPolyfill||(V.deprecate=function(){},V.paths=[],V.children=[],V.webpackPolyfill=1),V}},function(t,r,V){var oe=V(11),ie=V(12);t.exports={color:function(le){return le||ie[le]?ie[le].nicer:this.hex()},hex:function(){var le=this._goldenRatioColor(),ue=oe.hsv2rgb(le),de=oe.rgb2hex(ue[0],ue[1],ue[2]);return de},rgb:function(){var le=this._goldenRatioColor(),ue=oe.hsv2rgb(le);return"rgb("+parseInt(ue[0],10)+", "+parseInt(ue[1],10)+", "+parseInt(ue[2],10)+")"},rgba:function(){var le=this._goldenRatioColor(),ue=oe.hsv2rgb(le);return"rgba("+parseInt(ue[0],10)+", "+parseInt(ue[1],10)+", "+parseInt(ue[2],10)+", "+Math.random().toFixed(2)+")"},hsl:function(){var le=this._goldenRatioColor(),ue=oe.hsv2hsl(le);return"hsl("+parseInt(ue[0],10)+", "+parseInt(ue[1],10)+", "+parseInt(ue[2],10)+")"},_goldenRatioColor:function(le,ue){return this._goldenRatio=.618033988749895,this._hue=this._hue||Math.random(),this._hue+=this._goldenRatio,this._hue%=1,typeof le!="number"&&(le=.5),typeof ue!="number"&&(ue=.95),[this._hue*360,le*100,ue*100]}}},function(t,r){t.exports={rgb2hsl:function(oe){var ie=oe[0]/255,le=oe[1]/255,ue=oe[2]/255,de=Math.min(ie,le,ue),pe=Math.max(ie,le,ue),he=pe-de,_e,$e,Ie;return pe==de?_e=0:ie==pe?_e=(le-ue)/he:le==pe?_e=2+(ue-ie)/he:ue==pe&&(_e=4+(ie-le)/he),_e=Math.min(_e*60,360),_e<0&&(_e+=360),Ie=(de+pe)/2,pe==de?$e=0:Ie<=.5?$e=he/(pe+de):$e=he/(2-pe-de),[_e,$e*100,Ie*100]},rgb2hsv:function(oe){var ie=oe[0],le=oe[1],ue=oe[2],de=Math.min(ie,le,ue),pe=Math.max(ie,le,ue),he=pe-de,_e,$e,Ie;return pe===0?$e=0:$e=he/pe*1e3/10,pe==de?_e=0:ie==pe?_e=(le-ue)/he:le==pe?_e=2+(ue-ie)/he:ue==pe&&(_e=4+(ie-le)/he),_e=Math.min(_e*60,360),_e<0&&(_e+=360),Ie=pe/255*1e3/10,[_e,$e,Ie]},hsl2rgb:function(oe){var ie=oe[0]/360,le=oe[1]/100,ue=oe[2]/100,de,pe,he,_e,$e;if(le===0)return $e=ue*255,[$e,$e,$e];ue<.5?pe=ue*(1+le):pe=ue+le-ue*le,de=2*ue-pe,_e=[0,0,0];for(var Ie=0;Ie<3;Ie++)he=ie+1/3*-(Ie-1),he<0&&he++,he>1&&he--,6*he<1?$e=de+(pe-de)*6*he:2*he<1?$e=pe:3*he<2?$e=de+(pe-de)*(2/3-he)*6:$e=de,_e[Ie]=$e*255;return _e},hsl2hsv:function(oe){var ie=oe[0],le=oe[1]/100,ue=oe[2]/100,de,pe;return ue*=2,le*=ue<=1?ue:2-ue,pe=(ue+le)/2,de=2*le/(ue+le),[ie,de*100,pe*100]},hsv2rgb:function(oe){var ie=oe[0]/60,le=oe[1]/100,ue=oe[2]/100,de=Math.floor(ie)%6,pe=ie-Math.floor(ie),he=255*ue*(1-le),_e=255*ue*(1-le*pe),$e=255*ue*(1-le*(1-pe));switch(ue=255*ue,de){case 0:return[ue,$e,he];case 1:return[_e,ue,he];case 2:return[he,ue,$e];case 3:return[he,_e,ue];case 4:return[$e,he,ue];case 5:return[ue,he,_e]}},hsv2hsl:function(oe){var ie=oe[0],le=oe[1]/100,ue=oe[2]/100,de,pe;return pe=(2-le)*ue,de=le*ue,de/=pe<=1?pe:2-pe,pe/=2,[ie,de*100,pe*100]},rgb2hex:function(V,oe,ie){return"#"+((256+V<<8|oe)<<8|ie).toString(16).slice(1)},hex2rgb:function(V){return V="0x"+V.slice(1).replace(V.length>4?V:/./g,"$&$&")|0,[V>>16,V>>8&255,V&255]}}},function(t,r){t.exports={navy:{value:"#000080",nicer:"#001F3F"},blue:{value:"#0000ff",nicer:"#0074D9"},aqua:{value:"#00ffff",nicer:"#7FDBFF"},teal:{value:"#008080",nicer:"#39CCCC"},olive:{value:"#008000",nicer:"#3D9970"},green:{value:"#008000",nicer:"#2ECC40"},lime:{value:"#00ff00",nicer:"#01FF70"},yellow:{value:"#ffff00",nicer:"#FFDC00"},orange:{value:"#ffa500",nicer:"#FF851B"},red:{value:"#ff0000",nicer:"#FF4136"},maroon:{value:"#800000",nicer:"#85144B"},fuchsia:{value:"#ff00ff",nicer:"#F012BE"},purple:{value:"#800080",nicer:"#B10DC9"},silver:{value:"#c0c0c0",nicer:"#DDDDDD"},gray:{value:"#808080",nicer:"#AAAAAA"},black:{value:"#000000",nicer:"#111111"},white:{value:"#FFFFFF",nicer:"#FFFFFF"}}},function(t,r,V){var oe=V(6),ie=V(14);function le(ue,de,pe,he){return pe===void 0?oe.natural(ue,de):he===void 0?pe:oe.natural(parseInt(pe,10),parseInt(he,10))}t.exports={paragraph:function(ue,de){for(var pe=le(3,7,ue,de),he=[],_e=0;_e<pe;_e++)he.push(this.sentence());return he.join(" ")},cparagraph:function(ue,de){for(var pe=le(3,7,ue,de),he=[],_e=0;_e<pe;_e++)he.push(this.csentence());return he.join("")},sentence:function(ue,de){for(var pe=le(12,18,ue,de),he=[],_e=0;_e<pe;_e++)he.push(this.word());return ie.capitalize(he.join(" "))+"."},csentence:function(ue,de){for(var pe=le(12,18,ue,de),he=[],_e=0;_e<pe;_e++)he.push(this.cword());return he.join("")+"。"},word:function(ue,de){for(var pe=le(3,10,ue,de),he="",_e=0;_e<pe;_e++)he+=oe.character("lower");return he},cword:function(ue,de,pe){var he="的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年动同工也能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去把性好应开它合还因由其些然前外天政四日那社义事平形相全表间样与关各重新线内数正心反你明看原又么利比或但质气第向道命此变条只没结解问意建月公无系军很情者最立代想已通并提直题党程展五果料象员革位入常文总次品式活设及管特件长求老头基资边流路级少图山统接知较将组见计别她手角期根论运农指几九区强放决西被干做必战先回则任取据处队南给色光门即保治北造百规热领七海口东导器压志世金增争济阶油思术极交受联什认六共权收证改清己美再采转更单风切打白教速花带安场身车例真务具万每目至达走积示议声报斗完类八离华名确才科张信马节话米整空元况今集温传土许步群广石记需段研界拉林律叫且究观越织装影算低持音众书布复容儿须际商非验连断深难近矿千周委素技备半办青省列习响约支般史感劳便团往酸历市克何除消构府称太准精值号率族维划选标写存候毛亲快效斯院查江型眼王按格养易置派层片始却专状育厂京识适属圆包火住调满县局照参红细引听该铁价严龙飞",_e;switch(arguments.length){case 0:ue=he,_e=1;break;case 1:typeof arguments[0]=="string"?_e=1:(_e=ue,ue=he);break;case 2:typeof arguments[0]=="string"?_e=de:(_e=this.natural(ue,de),ue=he);break;case 3:_e=this.natural(de,pe);break}for(var $e="",Ie=0;Ie<_e;Ie++)$e+=ue.charAt(this.natural(0,ue.length-1));return $e},title:function(ue,de){for(var pe=le(3,7,ue,de),he=[],_e=0;_e<pe;_e++)he.push(this.capitalize(this.word()));return he.join(" ")},ctitle:function(ue,de){for(var pe=le(3,7,ue,de),he=[],_e=0;_e<pe;_e++)he.push(this.cword());return he.join("")}}},function(t,r,V){var oe=V(3);t.exports={capitalize:function(ie){return(ie+"").charAt(0).toUpperCase()+(ie+"").substr(1)},upper:function(ie){return(ie+"").toUpperCase()},lower:function(ie){return(ie+"").toLowerCase()},pick:function(le,ue,de){return oe.isArray(le)?(ue===void 0&&(ue=1),de===void 0&&(de=ue)):(le=[].slice.call(arguments),ue=1,de=1),ue===1&&de===1?le[this.natural(0,le.length-1)]:this.shuffle(le,ue,de)},shuffle:function(le,ue,de){le=le||[];for(var pe=le.slice(0),he=[],_e=0,$e=pe.length,Ie=0;Ie<$e;Ie++)_e=this.natural(0,pe.length-1),he.push(pe[_e]),pe.splice(_e,1);switch(arguments.length){case 0:case 1:return he;case 2:de=ue;case 3:return ue=parseInt(ue,10),de=parseInt(de,10),he.slice(0,this.natural(ue,de))}},order:function ie(le){ie.cache=ie.cache||{},arguments.length>1&&(le=[].slice.call(arguments,0));var ue=ie.options,de=ue.context.templatePath.join("."),pe=ie.cache[de]=ie.cache[de]||{index:0,array:le};return pe.array[pe.index++%pe.array.length]}}},function(t,r){t.exports={first:function(){var V=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric"].concat(["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna"]);return this.pick(V)},last:function(){var V=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas","Hernandez","Moore","Martin","Jackson","Thompson","White","Lopez","Lee","Gonzalez","Harris","Clark","Lewis","Robinson","Walker","Perez","Hall","Young","Allen"];return this.pick(V)},name:function(V){return this.first()+" "+(V?this.first()+" ":"")+this.last()},cfirst:function(){var V="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick(V)},clast:function(){var V="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick(V)},cname:function(){return this.cfirst()+this.clast()}}},function(t,r){t.exports={url:function(V,oe){return(V||this.protocol())+"://"+(oe||this.domain())+"/"+this.word()},protocol:function(){return this.pick("http ftp gopher mailto mid cid news nntp prospero telnet rlogin tn3270 wais".split(" "))},domain:function(V){return this.word()+"."+(V||this.tld())},tld:function(){return this.pick("com net org edu gov int mil cn com.cn net.cn gov.cn org.cn 中国 中国互联.公司 中国互联.网络 tel biz cc tv info name hk mobi asia cd travel pro museum coop aero ad ae af ag ai al am an ao aq ar as at au aw az ba bb bd be bf bg bh bi bj bm bn bo br bs bt bv bw by bz ca cc cf cg ch ci ck cl cm cn co cq cr cu cv cx cy cz de dj dk dm do dz ec ee eg eh es et ev fi fj fk fm fo fr ga gb gd ge gf gh gi gl gm gn gp gr gt gu gw gy hk hm hn hr ht hu id ie il in io iq ir is it jm jo jp ke kg kh ki km kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md mg mh ml mm mn mo mp mq mr ms mt mv mw mx my mz na nc ne nf ng ni nl no np nr nt nu nz om qa pa pe pf pg ph pk pl pm pn pr pt pw py re ro ru rw sa sb sc sd se sg sh si sj sk sl sm sn so sr st su sy sz tc td tf tg th tj tk tm tn to tp tr tt tv tw tz ua ug uk us uy va vc ve vg vn vu wf ws ye yu za zm zr zw".split(" "))},email:function(V){return this.character("lower")+"."+this.word()+"@"+(V||this.word()+"."+this.tld())},ip:function(){return this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)}}},function(t,r,V){var oe=V(18),ie=["东北","华北","华东","华中","华南","西南","西北"];t.exports={region:function(){return this.pick(ie)},province:function(){return this.pick(oe).name},city:function(le){var ue=this.pick(oe),de=this.pick(ue.children);return le?[ue.name,de.name].join(" "):de.name},county:function(le){var ue=this.pick(oe),de=this.pick(ue.children),pe=this.pick(de.children)||{name:"-"};return le?[ue.name,de.name,pe.name].join(" "):pe.name},zip:function(le){for(var ue="",de=0;de<(le||6);de++)ue+=this.natural(0,9);return ue}}},function(t,r){var V={11e4:"北京",110100:"北京市",110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110228:"密云县",110229:"延庆县",110230:"其它区",12e4:"天津",120100:"天津市",120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120221:"宁河县",120223:"静海县",120225:"蓟县",120226:"其它区",13e4:"河北省",130100:"石家庄市",130102:"长安区",130103:"桥东区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130121:"井陉县",130123:"正定县",130124:"栾城县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集市",130182:"藁城市",130183:"晋州市",130184:"新乐市",130185:"鹿泉市",130186:"其它区",130200:"唐山市",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130223:"滦县",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130230:"曹妃甸区",130281:"遵化市",130283:"迁安市",130284:"其它区",130300:"秦皇岛市",130302:"海港区",130303:"山海关区",130304:"北戴河区",130321:"青龙满族自治县",130322:"昌黎县",130323:"抚宁县",130324:"卢龙县",130398:"其它区",130400:"邯郸市",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130421:"邯郸县",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130428:"肥乡县",130429:"永年县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安市",130482:"其它区",130500:"邢台市",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫市",130582:"沙河市",130583:"其它区",130600:"保定市",130602:"新市区",130603:"北市区",130604:"南市区",130621:"满城县",130622:"清苑县",130623:"涞水县",130624:"阜平县",130625:"徐水县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市",130699:"其它区",130700:"张家口市",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130721:"宣化县",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130729:"万全县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130733:"崇礼县",130734:"其它区",130800:"承德市",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130823:"平泉县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130829:"其它区",130900:"沧州市",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市",130985:"其它区",131e3:"廊坊市",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州市",131082:"三河市",131083:"其它区",131100:"衡水市",131102:"桃城区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131181:"冀州市",131182:"深州市",131183:"其它区",14e4:"山西省",140100:"太原市",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交市",140182:"其它区",140200:"大同市",140202:"城区",140203:"矿区",140211:"南郊区",140212:"新荣区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140227:"大同县",140228:"其它区",140300:"阳泉市",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县",140323:"其它区",140400:"长治市",140421:"长治县",140423:"襄垣县",140424:"屯留县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140481:"潞城市",140482:"城区",140483:"郊区",140485:"其它区",140500:"晋城市",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市",140582:"其它区",140600:"朔州市",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140624:"怀仁县",140625:"其它区",140700:"晋中市",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市",140782:"其它区",140800:"运城市",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市",140883:"其它区",140900:"忻州市",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平市",140982:"其它区",141e3:"临汾市",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市",141083:"其它区",141100:"吕梁市",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市",141183:"其它区",15e4:"内蒙古自治区",150100:"呼和浩特市",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150126:"其它区",150200:"包头市",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150224:"其它区",150300:"乌海市",150302:"海勃湾区",150303:"海南区",150304:"乌达区",150305:"其它区",150400:"赤峰市",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗",150431:"其它区",150500:"通辽市",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒市",150582:"其它区",150600:"鄂尔多斯市",150602:"东胜区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗",150628:"其它区",150700:"呼伦贝尔市",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市",150786:"其它区",150800:"巴彦淖尔市",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗",150827:"其它区",150900:"乌兰察布市",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市",150982:"其它区",152200:"兴安盟",152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县",152225:"其它区",152500:"锡林郭勒盟",152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152532:"其它区",152900:"阿拉善盟",152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152924:"其它区",21e4:"辽宁省",210100:"沈阳市",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"东陵区",210113:"新城子区",210114:"于洪区",210122:"辽中县",210123:"康平县",210124:"法库县",210181:"新民市",210184:"沈北新区",210185:"其它区",210200:"大连市",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210224:"长海县",210281:"瓦房店市",210282:"普兰店市",210283:"庄河市",210298:"其它区",210300:"鞍山市",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市",210382:"其它区",210400:"抚顺市",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县",210424:"其它区",210500:"本溪市",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县",210523:"其它区",210600:"丹东市",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市",210683:"其它区",210700:"锦州市",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市",210783:"其它区",210800:"营口市",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市",210883:"其它区",210900:"阜新市",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县",210923:"其它区",211e3:"辽阳市",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市",211082:"其它区",211100:"盘锦市",211102:"双台子区",211103:"兴隆台区",211121:"大洼县",211122:"盘山县",211123:"其它区",211200:"铁岭市",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市",211283:"其它区",211300:"朝阳市",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市",211383:"其它区",211400:"葫芦岛市",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市",211482:"其它区",22e4:"吉林省",220100:"长春市",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220122:"农安县",220181:"九台市",220182:"榆树市",220183:"德惠市",220188:"其它区",220200:"吉林市",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市",220285:"其它区",220300:"四平市",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市",220383:"其它区",220400:"辽源市",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县",220423:"其它区",220500:"通化市",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市",220583:"其它区",220600:"白山市",220602:"浑江区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220625:"江源区",220681:"临江市",220682:"其它区",220700:"松原市",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220724:"扶余市",220725:"其它区",220800:"白城市",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南市",220882:"大安市",220883:"其它区",222400:"延边朝鲜族自治州",222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县",222427:"其它区",23e4:"黑龙江省",230100:"哈尔滨市",230102:"道里区",230103:"南岗区",230104:"道外区",230106:"香坊区",230108:"平房区",230109:"松北区",230111:"呼兰区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230181:"阿城区",230182:"双城市",230183:"尚志市",230184:"五常市",230186:"其它区",230200:"齐齐哈尔市",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市",230282:"其它区",230300:"鸡西市",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市",230383:"其它区",230400:"鹤岗市",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县",230423:"其它区",230500:"双鸭山市",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县",230525:"其它区",230600:"大庆市",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230625:"其它区",230700:"伊春市",230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力市",230782:"其它区",230800:"佳木斯市",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230833:"抚远县",230881:"同江市",230882:"富锦市",230883:"其它区",230900:"七台河市",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县",230922:"其它区",231e3:"牡丹江市",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231024:"东宁县",231025:"林口县",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"其它区",231100:"黑河市",231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"其它区",231200:"绥化市",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市",231284:"其它区",232700:"大兴安岭地区",232702:"松岭区",232703:"新林区",232704:"呼中区",232721:"呼玛县",232722:"塔河县",232723:"漠河县",232724:"加格达奇区",232725:"其它区",31e4:"上海",310100:"上海市",310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310108:"闸北区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310230:"崇明县",310231:"其它区",32e4:"江苏省",320100:"南京市",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320124:"溧水区",320125:"高淳区",320126:"其它区",320200:"无锡市",320202:"崇安区",320203:"南长区",320204:"北塘区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320281:"江阴市",320282:"宜兴市",320297:"其它区",320300:"徐州市",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320321:"丰县",320322:"沛县",320323:"铜山区",320324:"睢宁县",320381:"新沂市",320382:"邳州市",320383:"其它区",320400:"常州市",320402:"天宁区",320404:"钟楼区",320405:"戚墅堰区",320411:"新北区",320412:"武进区",320481:"溧阳市",320482:"金坛市",320483:"其它区",320500:"苏州市",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320584:"吴江区",320585:"太仓市",320596:"其它区",320600:"南通市",320602:"崇川区",320611:"港闸区",320612:"通州区",320621:"海安县",320623:"如东县",320681:"启东市",320682:"如皋市",320684:"海门市",320694:"其它区",320700:"连云港市",320703:"连云区",320705:"新浦区",320706:"海州区",320721:"赣榆县",320722:"东海县",320723:"灌云县",320724:"灌南县",320725:"其它区",320800:"淮安市",320802:"清河区",320803:"淮安区",320804:"淮阴区",320811:"清浦区",320826:"涟水县",320829:"洪泽县",320830:"盱眙县",320831:"金湖县",320832:"其它区",320900:"盐城市",320902:"亭湖区",320903:"盐都区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台市",320982:"大丰市",320983:"其它区",321e3:"扬州市",321002:"广陵区",321003:"邗江区",321023:"宝应县",321081:"仪征市",321084:"高邮市",321088:"江都区",321093:"其它区",321100:"镇江市",321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳市",321182:"扬中市",321183:"句容市",321184:"其它区",321200:"泰州市",321202:"海陵区",321203:"高港区",321281:"兴化市",321282:"靖江市",321283:"泰兴市",321284:"姜堰区",321285:"其它区",321300:"宿迁市",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321325:"其它区",33e4:"浙江省",330100:"杭州市",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330122:"桐庐县",330127:"淳安县",330182:"建德市",330183:"富阳市",330185:"临安市",330186:"其它区",330200:"宁波市",330203:"海曙区",330204:"江东区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市",330283:"奉化市",330284:"其它区",330300:"温州市",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330322:"洞头县",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安市",330382:"乐清市",330383:"其它区",330400:"嘉兴市",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市",330484:"其它区",330500:"湖州市",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县",330524:"其它区",330600:"绍兴市",330602:"越城区",330621:"绍兴县",330624:"新昌县",330681:"诸暨市",330682:"上虞市",330683:"嵊州市",330684:"其它区",330700:"金华市",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市",330785:"其它区",330800:"衢州市",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市",330882:"其它区",330900:"舟山市",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县",330923:"其它区",331e3:"台州市",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331021:"玉环县",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"其它区",331100:"丽水市",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市",331182:"其它区",34e4:"安徽省",340100:"合肥市",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340192:"其它区",340200:"芜湖市",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340224:"其它区",340300:"蚌埠市",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340324:"其它区",340400:"淮南市",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"其它区",340500:"马鞍山市",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"其它区",340600:"淮北市",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县",340622:"其它区",340700:"铜陵市",340702:"铜官山区",340703:"狮子山区",340711:"郊区",340721:"铜陵县",340722:"其它区",340800:"安庆市",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340823:"枞阳县",340824:"潜山县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城市",340882:"其它区",341e3:"黄山市",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县",341025:"其它区",341100:"滁州市",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长市",341182:"明光市",341183:"其它区",341200:"阜阳市",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首市",341283:"其它区",341300:"宿州市",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341325:"其它区",341400:"巢湖市",341421:"庐江县",341422:"无为县",341423:"含山县",341424:"和县",341500:"六安市",341502:"金安区",341503:"裕安区",341521:"寿县",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县",341526:"其它区",341600:"亳州市",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县",341624:"其它区",341700:"池州市",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县",341724:"其它区",341800:"宣城市",341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国市",341882:"其它区",35e4:"福建省",350100:"福州市",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市",350182:"长乐市",350183:"其它区",350200:"厦门市",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区",350214:"其它区",350300:"莆田市",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县",350323:"其它区",350400:"三明市",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市",350482:"其它区",350500:"泉州市",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市",350584:"其它区",350600:"漳州市",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市",350682:"其它区",350700:"南平市",350702:"延平区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市",350784:"建阳市",350785:"其它区",350800:"龙岩市",350802:"新罗区",350821:"长汀县",350822:"永定县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市",350882:"其它区",350900:"宁德市",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市",350983:"其它区",36e4:"江西省",360100:"南昌市",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360121:"南昌县",360122:"新建县",360123:"安义县",360124:"进贤县",360128:"其它区",360200:"景德镇市",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市",360282:"其它区",360300:"萍乡市",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县",360324:"其它区",360400:"九江市",360402:"庐山区",360403:"浔阳区",360421:"九江县",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360427:"星子县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"其它区",360483:"共青城市",360500:"新余市",360502:"渝水区",360521:"分宜县",360522:"其它区",360600:"鹰潭市",360602:"月湖区",360622:"余江县",360681:"贵溪市",360682:"其它区",360700:"赣州市",360702:"章贡区",360721:"赣县",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360782:"南康市",360783:"其它区",360800:"吉安市",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市",360882:"其它区",360900:"宜春市",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市",360984:"其它区",361e3:"抚州市",361002:"临川区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361029:"东乡县",361030:"广昌县",361031:"其它区",361100:"上饶市",361102:"信州区",361121:"上饶县",361122:"广丰县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市",361182:"其它区",37e4:"山东省",370100:"济南市",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370124:"平阴县",370125:"济阳县",370126:"商河县",370181:"章丘市",370182:"其它区",370200:"青岛市",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370281:"胶州市",370282:"即墨市",370283:"平度市",370285:"莱西市",370286:"其它区",370300:"淄博市",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县",370324:"其它区",370400:"枣庄市",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市",370482:"其它区",370500:"东营市",370502:"东营区",370503:"河口区",370521:"垦利县",370522:"利津县",370523:"广饶县",370591:"其它区",370600:"烟台市",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市",370688:"其它区",370700:"潍坊市",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市",370787:"其它区",370800:"济宁市",370802:"市中区",370811:"任城区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜市",370882:"兖州市",370883:"邹城市",370884:"其它区",370900:"泰安市",370902:"泰山区",370903:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市",370984:"其它区",371e3:"威海市",371002:"环翠区",371081:"文登市",371082:"荣成市",371083:"乳山市",371084:"其它区",371100:"日照市",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371123:"其它区",371200:"莱芜市",371202:"莱城区",371203:"钢城区",371204:"其它区",371300:"临沂市",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"苍山县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371330:"其它区",371400:"德州市",371402:"德城区",371421:"陵县",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵市",371482:"禹城市",371483:"其它区",371500:"聊城市",371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市",371582:"其它区",371600:"滨州市",371602:"滨城区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371624:"沾化县",371625:"博兴县",371626:"邹平县",371627:"其它区",371700:"菏泽市",371702:"牡丹区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371727:"定陶县",371728:"东明县",371729:"其它区",41e4:"河南省",410100:"郑州市",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市",410188:"其它区",410200:"开封市",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410211:"金明区",410221:"杞县",410222:"通许县",410223:"尉氏县",410224:"开封县",410225:"兰考县",410226:"其它区",410300:"洛阳市",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410307:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师市",410400:"平顶山市",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢市",410482:"汝州市",410483:"其它区",410500:"安阳市",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州市",410582:"其它区",410600:"鹤壁市",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410623:"其它区",410700:"新乡市",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉市",410782:"辉县市",410783:"其它区",410800:"焦作市",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410881:"济源市",410882:"沁阳市",410883:"孟州市",410884:"其它区",410900:"濮阳市",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410929:"其它区",411e3:"许昌市",411002:"魏都区",411023:"许昌县",411024:"鄢陵县",411025:"襄城县",411081:"禹州市",411082:"长葛市",411083:"其它区",411100:"漯河市",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411123:"其它区",411200:"三门峡市",411202:"湖滨区",411221:"渑池县",411222:"陕县",411224:"卢氏县",411281:"义马市",411282:"灵宝市",411283:"其它区",411300:"南阳市",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州市",411382:"其它区",411400:"商丘市",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城市",411482:"其它区",411500:"信阳市",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411529:"其它区",411600:"周口市",411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城市",411682:"其它区",411700:"驻马店市",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411730:"其它区",42e4:"湖北省",420100:"武汉市",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区",420118:"其它区",420200:"黄石市",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市",420282:"其它区",420300:"十堰市",420302:"茅箭区",420303:"张湾区",420321:"郧县",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市",420383:"其它区",420500:"宜昌市",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市",420584:"其它区",420600:"襄阳市",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市",420685:"其它区",420700:"鄂州市",420702:"梁子湖区",420703:"华容区",420704:"鄂城区",420705:"其它区",420800:"荆门市",420802:"东宝区",420804:"掇刀区",420821:"京山县",420822:"沙洋县",420881:"钟祥市",420882:"其它区",420900:"孝感市",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市",420985:"其它区",421e3:"荆州市",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"其它区",421100:"黄冈市",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城市",421182:"武穴市",421183:"其它区",421200:"咸宁市",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市",421283:"其它区",421300:"随州市",421302:"曾都区",421321:"随县",421381:"广水市",421382:"其它区",422800:"恩施土家族苗族自治州",422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县",422829:"其它区",429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区",43e4:"湖南省",430100:"长沙市",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430121:"长沙县",430122:"望城区",430124:"宁乡县",430181:"浏阳市",430182:"其它区",430200:"株洲市",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430221:"株洲县",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵市",430282:"其它区",430300:"湘潭市",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡市",430382:"韶山市",430383:"其它区",430400:"衡阳市",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳市",430482:"常宁市",430483:"其它区",430500:"邵阳市",430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"其它区",430600:"岳阳市",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗市",430682:"临湘市",430683:"其它区",430700:"常德市",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津市市",430782:"其它区",430800:"张家界市",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县",430823:"其它区",430900:"益阳市",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江市",430982:"其它区",431e3:"郴州市",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市",431082:"其它区",431100:"永州市",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431130:"其它区",431200:"怀化市",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江市",431282:"其它区",431300:"娄底市",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市",431383:"其它区",433100:"湘西土家族苗族自治州",433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433131:"其它区",44e4:"广东省",440100:"广州市",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440116:"萝岗区",440183:"增城市",440184:"从化市",440189:"其它区",440200:"韶关市",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市",440283:"其它区",440300:"深圳市",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"其它区",440320:"光明新区",440321:"坪山新区",440322:"大鹏新区",440323:"龙华新区",440400:"珠海市",440402:"香洲区",440403:"斗门区",440404:"金湾区",440488:"其它区",440500:"汕头市",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县",440524:"其它区",440600:"佛山市",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区",440609:"其它区",440700:"江门市",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市",440786:"其它区",440800:"湛江市",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市",440884:"其它区",440900:"茂名市",440902:"茂南区",440903:"茂港区",440923:"电白县",440981:"高州市",440982:"化州市",440983:"信宜市",440984:"其它区",441200:"肇庆市",441202:"端州区",441203:"鼎湖区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441283:"高要市",441284:"四会市",441285:"其它区",441300:"惠州市",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县",441325:"其它区",441400:"梅州市",441402:"梅江区",441421:"梅县",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市",441482:"其它区",441500:"汕尾市",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市",441582:"其它区",441600:"河源市",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县",441626:"其它区",441700:"阳江市",441702:"江城区",441721:"阳西县",441723:"阳东县",441781:"阳春市",441782:"其它区",441800:"清远市",441802:"清城区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441827:"清新区",441881:"英德市",441882:"连州市",441883:"其它区",441900:"东莞市",442e3:"中山市",442101:"东沙群岛",445100:"潮州市",445102:"湘桥区",445121:"潮安区",445122:"饶平县",445186:"其它区",445200:"揭阳市",445202:"榕城区",445221:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市",445285:"其它区",445300:"云浮市",445302:"云城区",445321:"新兴县",445322:"郁南县",445323:"云安县",445381:"罗定市",445382:"其它区",45e4:"广西壮族自治区",450100:"南宁市",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450122:"武鸣县",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县",450128:"其它区",450200:"柳州市",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450221:"柳江县",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县",450227:"其它区",450300:"桂林市",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450321:"阳朔县",450322:"临桂区",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450331:"荔浦县",450332:"恭城瑶族自治县",450333:"其它区",450400:"梧州市",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市",450482:"其它区",450500:"北海市",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县",450522:"其它区",450600:"防城港市",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市",450682:"其它区",450700:"钦州市",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县",450723:"其它区",450800:"贵港市",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市",450882:"其它区",450900:"玉林市",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市",450982:"其它区",451e3:"百色市",451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451025:"靖西县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451032:"其它区",451100:"贺州市",451102:"八步区",451119:"平桂管理区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县",451124:"其它区",451200:"河池市",451202:"金城江区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县",451281:"宜州市",451282:"其它区",451300:"来宾市",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市",451382:"其它区",451400:"崇左市",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市",451482:"其它区",46e4:"海南省",460100:"海口市",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区",460109:"其它区",460200:"三亚市",460300:"三沙市",460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",469001:"五指山市",469002:"琼海市",469003:"儋州市",469005:"文昌市",469006:"万宁市",469007:"东方市",469025:"定安县",469026:"屯昌县",469027:"澄迈县",469028:"临高县",469030:"白沙黎族自治县",469031:"昌江黎族自治县",469033:"乐东黎族自治县",469034:"陵水黎族自治县",469035:"保亭黎族苗族自治县",469036:"琼中黎族苗族自治县",471005:"其它区",5e5:"重庆",500100:"重庆市",500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"万盛区",500111:"双桥区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500222:"綦江区",500223:"潼南县",500224:"铜梁县",500225:"大足区",500226:"荣昌县",500227:"璧山县",500228:"梁平县",500229:"城口县",500230:"丰都县",500231:"垫江县",500232:"武隆县",500233:"忠县",500234:"开县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县",500381:"江津区",500382:"合川区",500383:"永川区",500384:"南川区",500385:"其它区",51e4:"四川省",510100:"成都市",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510121:"金堂县",510122:"双流县",510124:"郫县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"其它区",510300:"自贡市",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县",510323:"其它区",510400:"攀枝花市",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县",510423:"其它区",510500:"泸州市",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县",510526:"其它区",510600:"德阳市",510603:"旌阳区",510623:"中江县",510626:"罗江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市",510684:"其它区",510700:"绵阳市",510703:"涪城区",510704:"游仙区",510722:"三台县",510723:"盐亭县",510724:"安县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市",510782:"其它区",510800:"广元市",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县",510825:"其它区",510900:"遂宁市",510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县",510924:"其它区",511e3:"内江市",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511028:"隆昌县",511029:"其它区",511100:"乐山市",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市",511182:"其它区",511300:"南充市",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市",511382:"其它区",511400:"眉山市",511402:"东坡区",511421:"仁寿县",511422:"彭山县",511423:"洪雅县",511424:"丹棱县",511425:"青神县",511426:"其它区",511500:"宜宾市",511502:"翠屏区",511521:"宜宾县",511522:"南溪区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县",511530:"其它区",511600:"广安市",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市",511683:"其它区",511700:"达州市",511702:"通川区",511721:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源市",511782:"其它区",511800:"雅安市",511802:"雨城区",511821:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县",511828:"其它区",511900:"巴中市",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511924:"其它区",512e3:"资阳市",512002:"雁江区",512021:"安岳县",512022:"乐至县",512081:"简阳市",512082:"其它区",513200:"阿坝藏族羌族自治州",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513229:"马尔康县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县",513234:"其它区",513300:"甘孜藏族自治州",513321:"康定县",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县",513339:"其它区",513400:"凉山彝族自治州",513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县",513438:"其它区",52e4:"贵州省",520100:"贵阳市",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520121:"开阳县",520122:"息烽县",520123:"修文县",520151:"观山湖区",520181:"清镇市",520182:"其它区",520200:"六盘水市",520201:"钟山区",520203:"六枝特区",520221:"水城县",520222:"盘县",520223:"其它区",520300:"遵义市",520302:"红花岗区",520303:"汇川区",520321:"遵义县",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市",520383:"其它区",520400:"安顺市",520402:"西秀区",520421:"平坝县",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县",520426:"其它区",522200:"铜仁市",522201:"碧江区",522222:"江口县",522223:"玉屏侗族自治县",522224:"石阡县",522225:"思南县",522226:"印江土家族苗族自治县",522227:"德江县",522228:"沿河土家族自治县",522229:"松桃苗族自治县",522230:"万山区",522231:"其它区",522300:"黔西南布依族苗族自治州",522301:"兴义市",522322:"兴仁县",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县",522329:"其它区",522400:"毕节市",522401:"七星关区",522422:"大方县",522423:"黔西县",522424:"金沙县",522425:"织金县",522426:"纳雍县",522427:"威宁彝族回族苗族自治县",522428:"赫章县",522429:"其它区",522600:"黔东南苗族侗族自治州",522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县",522637:"其它区",522700:"黔南布依族苗族自治州",522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县",522733:"其它区",53e4:"云南省",530100:"昆明市",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530121:"呈贡区",530122:"晋宁县",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市",530182:"其它区",530300:"曲靖市",530302:"麒麟区",530321:"马龙县",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530328:"沾益县",530381:"宣威市",530382:"其它区",530400:"玉溪市",530402:"红塔区",530421:"江川县",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530429:"其它区",530500:"保山市",530502:"隆阳区",530521:"施甸县",530522:"腾冲县",530523:"龙陵县",530524:"昌宁县",530525:"其它区",530600:"昭通市",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530630:"水富县",530631:"其它区",530700:"丽江市",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县",530725:"其它区",530800:"普洱市",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县",530830:"其它区",530900:"临沧市",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县",530928:"其它区",532300:"楚雄彝族自治州",532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县",532332:"其它区",532500:"红河哈尼族彝族自治州",532501:"个旧市",532502:"开远市",532522:"蒙自市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532526:"弥勒市",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县",532533:"其它区",532600:"文山壮族苗族自治州",532621:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县",532629:"其它区",532800:"西双版纳傣族自治州",532801:"景洪市",532822:"勐海县",532823:"勐腊县",532824:"其它区",532900:"大理白族自治州",532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县",532933:"其它区",533100:"德宏傣族景颇族自治州",533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县",533125:"其它区",533300:"怒江傈僳族自治州",533321:"泸水县",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县",533326:"其它区",533400:"迪庆藏族自治州",533421:"香格里拉县",533422:"德钦县",533423:"维西傈僳族自治县",533424:"其它区",54e4:"西藏自治区",540100:"拉萨市",540102:"城关区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540125:"堆龙德庆县",540126:"达孜县",540127:"墨竹工卡县",540128:"其它区",542100:"昌都地区",542121:"昌都县",542122:"江达县",542123:"贡觉县",542124:"类乌齐县",542125:"丁青县",542126:"察雅县",542127:"八宿县",542128:"左贡县",542129:"芒康县",542132:"洛隆县",542133:"边坝县",542134:"其它区",542200:"山南地区",542221:"乃东县",542222:"扎囊县",542223:"贡嘎县",542224:"桑日县",542225:"琼结县",542226:"曲松县",542227:"措美县",542228:"洛扎县",542229:"加查县",542231:"隆子县",542232:"错那县",542233:"浪卡子县",542234:"其它区",542300:"日喀则地区",542301:"日喀则市",542322:"南木林县",542323:"江孜县",542324:"定日县",542325:"萨迦县",542326:"拉孜县",542327:"昂仁县",542328:"谢通门县",542329:"白朗县",542330:"仁布县",542331:"康马县",542332:"定结县",542333:"仲巴县",542334:"亚东县",542335:"吉隆县",542336:"聂拉木县",542337:"萨嘎县",542338:"岗巴县",542339:"其它区",542400:"那曲地区",542421:"那曲县",542422:"嘉黎县",542423:"比如县",542424:"聂荣县",542425:"安多县",542426:"申扎县",542427:"索县",542428:"班戈县",542429:"巴青县",542430:"尼玛县",542431:"其它区",542432:"双湖县",542500:"阿里地区",542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县",542528:"其它区",542600:"林芝地区",542621:"林芝县",542622:"工布江达县",542623:"米林县",542624:"墨脱县",542625:"波密县",542626:"察隅县",542627:"朗县",542628:"其它区",61e4:"陕西省",610100:"西安市",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610122:"蓝田县",610124:"周至县",610125:"户县",610126:"高陵县",610127:"其它区",610200:"铜川市",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县",610223:"其它区",610300:"宝鸡市",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县",610332:"其它区",610400:"咸阳市",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610427:"彬县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"其它区",610500:"渭南市",610502:"临渭区",610521:"华县",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市",610583:"其它区",610600:"延安市",610602:"宝塔区",610621:"延长县",610622:"延川县",610623:"子长县",610624:"安塞县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610633:"其它区",610700:"汉中市",610702:"汉台区",610721:"南郑县",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县",610731:"其它区",610800:"榆林市",610802:"榆阳区",610821:"神木县",610822:"府谷县",610823:"横山县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610832:"其它区",610900:"安康市",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县",610930:"其它区",611e3:"商洛市",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县",611027:"其它区",62e4:"甘肃省",620100:"兰州市",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620124:"其它区",620200:"嘉峪关市",620300:"金昌市",620302:"金川区",620321:"永昌县",620322:"其它区",620400:"白银市",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县",620424:"其它区",620500:"天水市",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县",620526:"其它区",620600:"武威市",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县",620624:"其它区",620700:"张掖市",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县",620726:"其它区",620800:"平凉市",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620824:"华亭县",620825:"庄浪县",620826:"静宁县",620827:"其它区",620900:"酒泉市",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市",620983:"其它区",621e3:"庆阳市",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县",621028:"其它区",621100:"定西市",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县",621127:"其它区",621200:"陇南市",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县",621229:"其它区",622900:"临夏回族自治州",622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县",622928:"其它区",623e3:"甘南藏族自治州",623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县",623028:"其它区",63e4:"青海省",630100:"西宁市",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县",630124:"其它区",632100:"海东市",632121:"平安县",632122:"民和回族土族自治县",632123:"乐都区",632126:"互助土族自治县",632127:"化隆回族自治县",632128:"循化撒拉族自治县",632129:"其它区",632200:"海北藏族自治州",632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县",632225:"其它区",632300:"黄南藏族自治州",632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县",632325:"其它区",632500:"海南藏族自治州",632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县",632526:"其它区",632600:"果洛藏族自治州",632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县",632627:"其它区",632700:"玉树藏族自治州",632721:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县",632727:"其它区",632800:"海西蒙古族藏族自治州",632801:"格尔木市",632802:"德令哈市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632824:"其它区",64e4:"宁夏回族自治区",640100:"银川市",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市",640182:"其它区",640200:"石嘴山市",640202:"大武口区",640205:"惠农区",640221:"平罗县",640222:"其它区",640300:"吴忠市",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市",640382:"其它区",640400:"固原市",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县",640426:"其它区",640500:"中卫市",640502:"沙坡头区",640521:"中宁县",640522:"海原县",640523:"其它区",65e4:"新疆维吾尔自治区",650100:"乌鲁木齐市",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县",650122:"其它区",650200:"克拉玛依市",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区",650206:"其它区",652100:"吐鲁番地区",652101:"吐鲁番市",652122:"鄯善县",652123:"托克逊县",652124:"其它区",652200:"哈密地区",652201:"哈密市",652222:"巴里坤哈萨克自治县",652223:"伊吾县",652224:"其它区",652300:"昌吉回族自治州",652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县",652329:"其它区",652700:"博尔塔拉蒙古自治州",652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县",652724:"其它区",652800:"巴音郭楞蒙古自治州",652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652830:"其它区",652900:"阿克苏地区",652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县",652930:"其它区",653e3:"克孜勒苏柯尔克孜自治州",653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县",653025:"其它区",653100:"喀什地区",653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县",653132:"其它区",653200:"和田地区",653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县",653228:"其它区",654e3:"伊犁哈萨克自治州",654002:"伊宁市",654003:"奎屯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县",654029:"其它区",654200:"塔城地区",654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县",654227:"其它区",654300:"阿勒泰地区",654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县",654327:"其它区",659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",71e4:"台湾",710100:"台北市",710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710113:"其它区",710200:"高雄市",710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710212:"其它区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710300:"台南市",710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710307:"其它区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710400:"台中市",710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710409:"其它区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710500:"金门县",710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡",710600:"南投县",710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡",710700:"基隆市",710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710708:"其它区",710800:"新竹市",710801:"东区",710802:"北区",710803:"香山区",710804:"其它区",710900:"嘉义市",710901:"东区",710902:"西区",710903:"其它区",711100:"新北市",711130:"万里区",711131:"金山区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区",711200:"宜兰县",711214:"宜兰市",711215:"头城镇",711216:"礁溪乡",711217:"壮围乡",711218:"员山乡",711219:"罗东镇",711220:"三星乡",711221:"大同乡",711222:"五结乡",711223:"冬山乡",711224:"苏澳镇",711225:"南澳乡",711226:"钓鱼台",711300:"新竹县",711314:"竹北市",711315:"湖口乡",711316:"新丰乡",711317:"新埔镇",711318:"关西镇",711319:"芎林乡",711320:"宝山乡",711321:"竹东镇",711322:"五峰乡",711323:"横山乡",711324:"尖石乡",711325:"北埔乡",711326:"峨眉乡",711400:"桃园县",711414:"中坜市",711415:"平镇市",711416:"龙潭乡",711417:"杨梅市",711418:"新屋乡",711419:"观音乡",711420:"桃园市",711421:"龟山乡",711422:"八德市",711423:"大溪镇",711424:"复兴乡",711425:"大园乡",711426:"芦竹乡",711500:"苗栗县",711519:"竹南镇",711520:"头份镇",711521:"三湾乡",711522:"南庄乡",711523:"狮潭乡",711524:"后龙镇",711525:"通霄镇",711526:"苑里镇",711527:"苗栗市",711528:"造桥乡",711529:"头屋乡",711530:"公馆乡",711531:"大湖乡",711532:"泰安乡",711533:"铜锣乡",711534:"三义乡",711535:"西湖乡",711536:"卓兰镇",711700:"彰化县",711727:"彰化市",711728:"芬园乡",711729:"花坛乡",711730:"秀水乡",711731:"鹿港镇",711732:"福兴乡",711733:"线西乡",711734:"和美镇",711735:"伸港乡",711736:"员林镇",711737:"社头乡",711738:"永靖乡",711739:"埔心乡",711740:"溪湖镇",711741:"大村乡",711742:"埔盐乡",711743:"田中镇",711744:"北斗镇",711745:"田尾乡",711746:"埤头乡",711747:"溪州乡",711748:"竹塘乡",711749:"二林镇",711750:"大城乡",711751:"芳苑乡",711752:"二水乡",711900:"嘉义县",711919:"番路乡",711920:"梅山乡",711921:"竹崎乡",711922:"阿里山乡",711923:"中埔乡",711924:"大埔乡",711925:"水上乡",711926:"鹿草乡",711927:"太保市",711928:"朴子市",711929:"东石乡",711930:"六脚乡",711931:"新港乡",711932:"民雄乡",711933:"大林镇",711934:"溪口乡",711935:"义竹乡",711936:"布袋镇",712100:"云林县",712121:"斗南镇",712122:"大埤乡",712123:"虎尾镇",712124:"土库镇",712125:"褒忠乡",712126:"东势乡",712127:"台西乡",712128:"仑背乡",712129:"麦寮乡",712130:"斗六市",712131:"林内乡",712132:"古坑乡",712133:"莿桐乡",712134:"西螺镇",712135:"二仑乡",712136:"北港镇",712137:"水林乡",712138:"口湖乡",712139:"四湖乡",712140:"元长乡",712400:"屏东县",712434:"屏东市",712435:"三地门乡",712436:"雾台乡",712437:"玛家乡",712438:"九如乡",712439:"里港乡",712440:"高树乡",712441:"盐埔乡",712442:"长治乡",712443:"麟洛乡",712444:"竹田乡",712445:"内埔乡",712446:"万丹乡",712447:"潮州镇",712448:"泰武乡",712449:"来义乡",712450:"万峦乡",712451:"崁顶乡",712452:"新埤乡",712453:"南州乡",712454:"林边乡",712455:"东港镇",712456:"琉球乡",712457:"佳冬乡",712458:"新园乡",712459:"枋寮乡",712460:"枋山乡",712461:"春日乡",712462:"狮子乡",712463:"车城乡",712464:"牡丹乡",712465:"恒春镇",712466:"满州乡",712500:"台东县",712517:"台东市",712518:"绿岛乡",712519:"兰屿乡",712520:"延平乡",712521:"卑南乡",712522:"鹿野乡",712523:"关山镇",712524:"海端乡",712525:"池上乡",712526:"东河乡",712527:"成功镇",712528:"长滨乡",712529:"金峰乡",712530:"大武乡",712531:"达仁乡",712532:"太麻里乡",712600:"花莲县",712615:"花莲市",712616:"新城乡",712617:"太鲁阁",712618:"秀林乡",712619:"吉安乡",712620:"寿丰乡",712621:"凤林镇",712622:"光复乡",712623:"丰滨乡",712624:"瑞穗乡",712625:"万荣乡",712626:"玉里镇",712627:"卓溪乡",712628:"富里乡",712700:"澎湖县",712707:"马公市",712708:"西屿乡",712709:"望安乡",712710:"七美乡",712711:"白沙乡",712712:"湖西乡",712800:"连江县",712805:"南竿乡",712806:"北竿乡",712807:"莒光乡",712808:"东引乡",81e4:"香港特别行政区",810100:"香港岛",810101:"中西区",810102:"湾仔",810103:"东区",810104:"南区",810200:"九龙",810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区",810300:"新界",810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区",82e4:"澳门特别行政区",820100:"澳门半岛",820200:"离岛",99e4:"海外",990100:"海外"};function oe(le){for(var ue={},de=0,pe;de<le.length;de++)pe=le[de],!(!pe||!pe.id)&&(ue[pe.id]=pe);for(var he=[],_e=0;_e<le.length;_e++)if(pe=le[_e],!!pe){if(pe.pid==null&&pe.parentId==null){he.push(pe);continue}var $e=ue[pe.pid]||ue[pe.parentId];$e&&($e.children||($e.children=[]),$e.children.push(pe))}return he}var ie=function(){var le=[];for(var ue in V){var de=ue.slice(2,6)==="0000"?void 0:ue.slice(4,6)=="00"?ue.slice(0,2)+"0000":ue.slice(0,4)+"00";le.push({id:ue,pid:de,name:V[ue]})}return oe(le)}();t.exports=ie},function(t,r,V){var oe=V(18);t.exports={d4:function(){return this.natural(1,4)},d6:function(){return this.natural(1,6)},d8:function(){return this.natural(1,8)},d12:function(){return this.natural(1,12)},d20:function(){return this.natural(1,20)},d100:function(){return this.natural(1,100)},guid:function(){var ie="abcdefABCDEF1234567890",le=this.string(ie,8)+"-"+this.string(ie,4)+"-"+this.string(ie,4)+"-"+this.string(ie,4)+"-"+this.string(ie,12);return le},uuid:function(){return this.guid()},id:function(){var ie,le=0,ue=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],de=["1","0","X","9","8","7","6","5","4","3","2"];ie=this.pick(oe).id+this.date("yyyyMMdd")+this.string("number",3);for(var pe=0;pe<ie.length;pe++)le+=ie[pe]*ue[pe];return ie+=de[le%11],ie},increment:function(){var ie=0;return function(le){return ie+=+le||1}}(),inc:function(ie){return this.increment(ie)}}},function(t,r,V){var oe=V(21),ie=V(22);t.exports={Parser:oe,Handler:ie}},function(t,r){function V(hn){this.type=hn,this.offset=V.offset(),this.text=V.text()}function oe(hn,_n){V.call(this,"alternate"),this.left=hn,this.right=_n}function ie(hn){V.call(this,"match"),this.body=hn.filter(Boolean)}function le(hn,_n){V.call(this,hn),this.body=_n}function ue(hn){le.call(this,"capture-group"),this.index=Lt[this.offset]||(Lt[this.offset]=At++),this.body=hn}function de(hn,_n){V.call(this,"quantified"),this.body=hn,this.quantifier=_n}function pe(hn,_n){V.call(this,"quantifier"),this.min=hn,this.max=_n,this.greedy=!0}function he(hn,_n){V.call(this,"charset"),this.invert=hn,this.body=_n}function _e(hn,_n){V.call(this,"range"),this.start=hn,this.end=_n}function $e(hn){V.call(this,"literal"),this.body=hn,this.escaped=this.body!=this.text}function Ie(hn){V.call(this,"unicode"),this.code=hn.toUpperCase()}function Ve(hn){V.call(this,"hex"),this.code=hn.toUpperCase()}function Fe(hn){V.call(this,"octal"),this.code=hn.toUpperCase()}function Ue(hn){V.call(this,"back-reference"),this.code=hn.toUpperCase()}function qe(hn){V.call(this,"control-character"),this.code=hn.toUpperCase()}var Et=function(){function hn(bn,Cn){function Sn(){this.constructor=bn}Sn.prototype=Cn.prototype,bn.prototype=new Sn}function _n(bn,Cn,Sn,wn,En){function xn(Pn,kn){function Nn(Ln){function An(Vn){return Vn.charCodeAt(0).toString(16).toUpperCase()}return Ln.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(Vn){return"\\x0"+An(Vn)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(Vn){return"\\x"+An(Vn)}).replace(/[\u0180-\u0FFF]/g,function(Vn){return"\\u0"+An(Vn)}).replace(/[\u1080-\uFFFF]/g,function(Vn){return"\\u"+An(Vn)})}var Dn,Mn;switch(Pn.length){case 0:Dn="end of input";break;case 1:Dn=Pn[0];break;default:Dn=Pn.slice(0,-1).join(", ")+" or "+Pn[Pn.length-1]}return Mn=kn?'"'+Nn(kn)+'"':"end of input","Expected "+Dn+" but "+Mn+" found."}this.expected=bn,this.found=Cn,this.offset=Sn,this.line=wn,this.column=En,this.name="SyntaxError",this.message=xn(bn,Cn)}function vn(bn){function Cn(){return bn.substring(jr,Xn)}function Sn(){return jr}function wn(In){function jn(Mr,Fr,Wr){var ao,lo;for(ao=Fr;Wr>ao;ao++)lo=bn.charAt(ao),lo===`
|
||
`?(Mr.seenCR||Mr.line++,Mr.column=1,Mr.seenCR=!1):lo==="\r"||lo==="\u2028"||lo==="\u2029"?(Mr.line++,Mr.column=1,Mr.seenCR=!0):(Mr.column++,Mr.seenCR=!1)}return so!==In&&(so>In&&(so=0,Co={line:1,column:1,seenCR:!1}),jn(Co,so,In),so=In),Co}function En(In){ho>Xn||(Xn>ho&&(ho=Xn,vo=[]),vo.push(In))}function xn(In){var jn=0;for(In.sort();jn<In.length;)In[jn-1]===In[jn]?In.splice(jn,1):jn++}function Pn(){var In,jn,Mr,Fr,Wr;return In=Xn,jn=kn(),jn!==null?(Mr=Xn,bn.charCodeAt(Xn)===124?(Fr=Zr,Xn++):(Fr=null,Vr===0&&En(Qr)),Fr!==null?(Wr=Pn(),Wr!==null?(Fr=[Fr,Wr],Mr=Fr):(Xn=Mr,Mr=Nr)):(Xn=Mr,Mr=Nr),Mr===null&&(Mr=Gr),Mr!==null?(jr=In,jn=eo(jn,Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function kn(){var In,jn,Mr,Fr,Wr;if(In=Xn,jn=Dn(),jn===null&&(jn=Gr),jn!==null)if(Mr=Xn,Vr++,Fr=An(),Vr--,Fr===null?Mr=Gr:(Xn=Mr,Mr=Nr),Mr!==null){for(Fr=[],Wr=Ln(),Wr===null&&(Wr=Nn());Wr!==null;)Fr.push(Wr),Wr=Ln(),Wr===null&&(Wr=Nn());Fr!==null?(Wr=Mn(),Wr===null&&(Wr=Gr),Wr!==null?(jr=In,jn=oo(jn,Fr,Wr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr)}else Xn=In,In=Nr;else Xn=In,In=Nr;return In}function Nn(){var In;return In=Qn(),In===null&&(In=er(),In===null&&(In=wr())),In}function Dn(){var In,jn;return In=Xn,bn.charCodeAt(Xn)===94?(jn=Eo,Xn++):(jn=null,Vr===0&&En(wo)),jn!==null&&(jr=In,jn=oa()),jn===null&&(Xn=In),In=jn,In}function Mn(){var In,jn;return In=Xn,bn.charCodeAt(Xn)===36?(jn=aa,Xn++):(jn=null,Vr===0&&En(ia)),jn!==null&&(jr=In,jn=sa()),jn===null&&(Xn=In),In=jn,In}function Ln(){var In,jn,Mr;return In=Xn,jn=Nn(),jn!==null?(Mr=An(),Mr!==null?(jr=In,jn=la(jn,Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function An(){var In,jn,Mr;return Vr++,In=Xn,jn=Vn(),jn!==null?(Mr=Kn(),Mr===null&&(Mr=Gr),Mr!==null?(jr=In,jn=da(jn,Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),Vr--,In===null&&(jn=null,Vr===0&&En(ua)),In}function Vn(){var In;return In=Wn(),In===null&&(In=Fn(),In===null&&(In=Yn(),In===null&&(In=tr(),In===null&&(In=yr(),In===null&&(In=Jn()))))),In}function Wn(){var In,jn,Mr,Fr,Wr,ao;return In=Xn,bn.charCodeAt(Xn)===123?(jn=yo,Xn++):(jn=null,Vr===0&&En(_o)),jn!==null?(Mr=Gn(),Mr!==null?(bn.charCodeAt(Xn)===44?(Fr=fa,Xn++):(Fr=null,Vr===0&&En(pa)),Fr!==null?(Wr=Gn(),Wr!==null?(bn.charCodeAt(Xn)===125?(ao=To,Xn++):(ao=null,Vr===0&&En($o)),ao!==null?(jr=In,jn=ha(Mr,Wr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr)):(Xn=In,In=Nr)):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function Fn(){var In,jn,Mr,Fr;return In=Xn,bn.charCodeAt(Xn)===123?(jn=yo,Xn++):(jn=null,Vr===0&&En(_o)),jn!==null?(Mr=Gn(),Mr!==null?(bn.substr(Xn,2)===xo?(Fr=xo,Xn+=2):(Fr=null,Vr===0&&En(ma)),Fr!==null?(jr=In,jn=va(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function Yn(){var In,jn,Mr,Fr;return In=Xn,bn.charCodeAt(Xn)===123?(jn=yo,Xn++):(jn=null,Vr===0&&En(_o)),jn!==null?(Mr=Gn(),Mr!==null?(bn.charCodeAt(Xn)===125?(Fr=To,Xn++):(Fr=null,Vr===0&&En($o)),Fr!==null?(jr=In,jn=ga(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function tr(){var In,jn;return In=Xn,bn.charCodeAt(Xn)===43?(jn=ya,Xn++):(jn=null,Vr===0&&En(ba)),jn!==null&&(jr=In,jn=Ca()),jn===null&&(Xn=In),In=jn,In}function yr(){var In,jn;return In=Xn,bn.charCodeAt(Xn)===42?(jn=Sa,Xn++):(jn=null,Vr===0&&En(Ea)),jn!==null&&(jr=In,jn=wa()),jn===null&&(Xn=In),In=jn,In}function Jn(){var In,jn;return In=Xn,bn.charCodeAt(Xn)===63?(jn=Po,Xn++):(jn=null,Vr===0&&En(ko)),jn!==null&&(jr=In,jn=Ta()),jn===null&&(Xn=In),In=jn,In}function Kn(){var In;return bn.charCodeAt(Xn)===63?(In=Po,Xn++):(In=null,Vr===0&&En(ko)),In}function Gn(){var In,jn,Mr;if(In=Xn,jn=[],Ao.test(bn.charAt(Xn))?(Mr=bn.charAt(Xn),Xn++):(Mr=null,Vr===0&&En(Oo)),Mr!==null)for(;Mr!==null;)jn.push(Mr),Ao.test(bn.charAt(Xn))?(Mr=bn.charAt(Xn),Xn++):(Mr=null,Vr===0&&En(Oo));else jn=Nr;return jn!==null&&(jr=In,jn=$a(jn)),jn===null&&(Xn=In),In=jn,In}function Qn(){var In,jn,Mr,Fr;return In=Xn,bn.charCodeAt(Xn)===40?(jn=xa,Xn++):(jn=null,Vr===0&&En(Pa)),jn!==null?(Mr=Un(),Mr===null&&(Mr=qn(),Mr===null&&(Mr=cr(),Mr===null&&(Mr=ur()))),Mr!==null?(bn.charCodeAt(Xn)===41?(Fr=ka,Xn++):(Fr=null,Vr===0&&En(Aa)),Fr!==null?(jr=In,jn=Oa(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function ur(){var In,jn;return In=Xn,jn=Pn(),jn!==null&&(jr=In,jn=Ia(jn)),jn===null&&(Xn=In),In=jn,In}function cr(){var In,jn,Mr;return In=Xn,bn.substr(Xn,2)===Io?(jn=Io,Xn+=2):(jn=null,Vr===0&&En(Ma)),jn!==null?(Mr=Pn(),Mr!==null?(jr=In,jn=Na(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function Un(){var In,jn,Mr;return In=Xn,bn.substr(Xn,2)===Mo?(jn=Mo,Xn+=2):(jn=null,Vr===0&&En(Ra)),jn!==null?(Mr=Pn(),Mr!==null?(jr=In,jn=Da(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function qn(){var In,jn,Mr;return In=Xn,bn.substr(Xn,2)===No?(jn=No,Xn+=2):(jn=null,Vr===0&&En(La)),jn!==null?(Mr=Pn(),Mr!==null?(jr=In,jn=Ba(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function er(){var In,jn,Mr,Fr,Wr;if(Vr++,In=Xn,bn.charCodeAt(Xn)===91?(jn=Fa,Xn++):(jn=null,Vr===0&&En(za)),jn!==null)if(bn.charCodeAt(Xn)===94?(Mr=Eo,Xn++):(Mr=null,Vr===0&&En(wo)),Mr===null&&(Mr=Gr),Mr!==null){for(Fr=[],Wr=pr(),Wr===null&&(Wr=Er());Wr!==null;)Fr.push(Wr),Wr=pr(),Wr===null&&(Wr=Er());Fr!==null?(bn.charCodeAt(Xn)===93?(Wr=Ha,Xn++):(Wr=null,Vr===0&&En(Ua)),Wr!==null?(jr=In,jn=ja(Mr,Fr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr)}else Xn=In,In=Nr;else Xn=In,In=Nr;return Vr--,In===null&&(jn=null,Vr===0&&En(Va)),In}function pr(){var In,jn,Mr,Fr;return Vr++,In=Xn,jn=Er(),jn!==null?(bn.charCodeAt(Xn)===45?(Mr=Ga,Xn++):(Mr=null,Vr===0&&En(Ka)),Mr!==null?(Fr=Er(),Fr!==null?(jr=In,jn=Ya(jn,Fr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr)):(Xn=In,In=Nr),Vr--,In===null&&(jn=null,Vr===0&&En(Wa)),In}function Er(){var In;return Vr++,In=xr(),In===null&&(In=dr()),Vr--,In===null&&Vr===0&&En(qa),In}function dr(){var In,jn;return In=Xn,Za.test(bn.charAt(Xn))?(jn=bn.charAt(Xn),Xn++):(jn=null,Vr===0&&En(Xa)),jn!==null&&(jr=In,jn=bo(jn)),jn===null&&(Xn=In),In=jn,In}function xr(){var In;return In=fr(),In===null&&(In=Lr(),In===null&&(In=Ar(),In===null&&(In=Dr(),In===null&&(In=Br(),In===null&&(In=zr(),In===null&&(In=Rr(),In===null&&(In=mr(),In===null&&(In=ir(),In===null&&(In=ar(),In===null&&(In=$r(),In===null&&(In=Zn(),In===null&&(In=Or(),In===null&&(In=Kr(),In===null&&(In=qr(),In===null&&(In=no(),In===null&&(In=Xr(),In===null&&(In=_r()))))))))))))))))),In}function wr(){var In;return In=Cr(),In===null&&(In=or(),In===null&&(In=gr())),In}function Cr(){var In,jn;return In=Xn,bn.charCodeAt(Xn)===46?(jn=Ja,Xn++):(jn=null,Vr===0&&En(Qa)),jn!==null&&(jr=In,jn=ei()),jn===null&&(Xn=In),In=jn,In}function gr(){var In,jn;return Vr++,In=Xn,ni.test(bn.charAt(Xn))?(jn=bn.charAt(Xn),Xn++):(jn=null,Vr===0&&En(ri)),jn!==null&&(jr=In,jn=bo(jn)),jn===null&&(Xn=In),In=jn,Vr--,In===null&&(jn=null,Vr===0&&En(ti)),In}function or(){var In;return In=kr(),In===null&&(In=br(),In===null&&(In=Lr(),In===null&&(In=Ar(),In===null&&(In=Dr(),In===null&&(In=Br(),In===null&&(In=zr(),In===null&&(In=Rr(),In===null&&(In=mr(),In===null&&(In=ir(),In===null&&(In=ar(),In===null&&(In=$r(),In===null&&(In=Zn(),In===null&&(In=Or(),In===null&&(In=Ur(),In===null&&(In=Kr(),In===null&&(In=qr(),In===null&&(In=no(),In===null&&(In=Xr(),In===null&&(In=_r()))))))))))))))))))),In}function fr(){var In,jn;return In=Xn,bn.substr(Xn,2)===uo?(jn=uo,Xn+=2):(jn=null,Vr===0&&En(Ro)),jn!==null&&(jr=In,jn=oi()),jn===null&&(Xn=In),In=jn,In}function kr(){var In,jn;return In=Xn,bn.substr(Xn,2)===uo?(jn=uo,Xn+=2):(jn=null,Vr===0&&En(Ro)),jn!==null&&(jr=In,jn=ai()),jn===null&&(Xn=In),In=jn,In}function br(){var In,jn;return In=Xn,bn.substr(Xn,2)===Do?(jn=Do,Xn+=2):(jn=null,Vr===0&&En(ii)),jn!==null&&(jr=In,jn=si()),jn===null&&(Xn=In),In=jn,In}function Ar(){var In,jn;return In=Xn,bn.substr(Xn,2)===Lo?(jn=Lo,Xn+=2):(jn=null,Vr===0&&En(li)),jn!==null&&(jr=In,jn=ui()),jn===null&&(Xn=In),In=jn,In}function Dr(){var In,jn;return In=Xn,bn.substr(Xn,2)===Bo?(jn=Bo,Xn+=2):(jn=null,Vr===0&&En(ci)),jn!==null&&(jr=In,jn=di()),jn===null&&(Xn=In),In=jn,In}function Br(){var In,jn;return In=Xn,bn.substr(Xn,2)===Vo?(jn=Vo,Xn+=2):(jn=null,Vr===0&&En(fi)),jn!==null&&(jr=In,jn=pi()),jn===null&&(Xn=In),In=jn,In}function zr(){var In,jn;return In=Xn,bn.substr(Xn,2)===Fo?(jn=Fo,Xn+=2):(jn=null,Vr===0&&En(hi)),jn!==null&&(jr=In,jn=mi()),jn===null&&(Xn=In),In=jn,In}function Rr(){var In,jn;return In=Xn,bn.substr(Xn,2)===zo?(jn=zo,Xn+=2):(jn=null,Vr===0&&En(vi)),jn!==null&&(jr=In,jn=gi()),jn===null&&(Xn=In),In=jn,In}function mr(){var In,jn;return In=Xn,bn.substr(Xn,2)===Ho?(jn=Ho,Xn+=2):(jn=null,Vr===0&&En(yi)),jn!==null&&(jr=In,jn=_i()),jn===null&&(Xn=In),In=jn,In}function ir(){var In,jn;return In=Xn,bn.substr(Xn,2)===Uo?(jn=Uo,Xn+=2):(jn=null,Vr===0&&En(bi)),jn!==null&&(jr=In,jn=Ci()),jn===null&&(Xn=In),In=jn,In}function ar(){var In,jn;return In=Xn,bn.substr(Xn,2)===jo?(jn=jo,Xn+=2):(jn=null,Vr===0&&En(Si)),jn!==null&&(jr=In,jn=Ei()),jn===null&&(Xn=In),In=jn,In}function $r(){var In,jn;return In=Xn,bn.substr(Xn,2)===Wo?(jn=Wo,Xn+=2):(jn=null,Vr===0&&En(wi)),jn!==null&&(jr=In,jn=Ti()),jn===null&&(Xn=In),In=jn,In}function Zn(){var In,jn;return In=Xn,bn.substr(Xn,2)===Go?(jn=Go,Xn+=2):(jn=null,Vr===0&&En($i)),jn!==null&&(jr=In,jn=xi()),jn===null&&(Xn=In),In=jn,In}function Or(){var In,jn;return In=Xn,bn.substr(Xn,2)===Ko?(jn=Ko,Xn+=2):(jn=null,Vr===0&&En(Pi)),jn!==null&&(jr=In,jn=ki()),jn===null&&(Xn=In),In=jn,In}function Lr(){var In,jn,Mr;return In=Xn,bn.substr(Xn,2)===Yo?(jn=Yo,Xn+=2):(jn=null,Vr===0&&En(Ai)),jn!==null?(bn.length>Xn?(Mr=bn.charAt(Xn),Xn++):(Mr=null,Vr===0&&En(qo)),Mr!==null?(jr=In,jn=Oi(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function Ur(){var In,jn,Mr;return In=Xn,bn.charCodeAt(Xn)===92?(jn=Zo,Xn++):(jn=null,Vr===0&&En(Xo)),jn!==null?(Ii.test(bn.charAt(Xn))?(Mr=bn.charAt(Xn),Xn++):(Mr=null,Vr===0&&En(Mi)),Mr!==null?(jr=In,jn=Ni(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}function Kr(){var In,jn,Mr,Fr;if(In=Xn,bn.substr(Xn,2)===co?(jn=co,Xn+=2):(jn=null,Vr===0&&En(Jo)),jn!==null){if(Mr=[],Qo.test(bn.charAt(Xn))?(Fr=bn.charAt(Xn),Xn++):(Fr=null,Vr===0&&En(ea)),Fr!==null)for(;Fr!==null;)Mr.push(Fr),Qo.test(bn.charAt(Xn))?(Fr=bn.charAt(Xn),Xn++):(Fr=null,Vr===0&&En(ea));else Mr=Nr;Mr!==null?(jr=In,jn=Ri(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)}else Xn=In,In=Nr;return In}function qr(){var In,jn,Mr,Fr;if(In=Xn,bn.substr(Xn,2)===ta?(jn=ta,Xn+=2):(jn=null,Vr===0&&En(Di)),jn!==null){if(Mr=[],fo.test(bn.charAt(Xn))?(Fr=bn.charAt(Xn),Xn++):(Fr=null,Vr===0&&En(po)),Fr!==null)for(;Fr!==null;)Mr.push(Fr),fo.test(bn.charAt(Xn))?(Fr=bn.charAt(Xn),Xn++):(Fr=null,Vr===0&&En(po));else Mr=Nr;Mr!==null?(jr=In,jn=Li(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)}else Xn=In,In=Nr;return In}function no(){var In,jn,Mr,Fr;if(In=Xn,bn.substr(Xn,2)===na?(jn=na,Xn+=2):(jn=null,Vr===0&&En(Bi)),jn!==null){if(Mr=[],fo.test(bn.charAt(Xn))?(Fr=bn.charAt(Xn),Xn++):(Fr=null,Vr===0&&En(po)),Fr!==null)for(;Fr!==null;)Mr.push(Fr),fo.test(bn.charAt(Xn))?(Fr=bn.charAt(Xn),Xn++):(Fr=null,Vr===0&&En(po));else Mr=Nr;Mr!==null?(jr=In,jn=Vi(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)}else Xn=In,In=Nr;return In}function Xr(){var In,jn;return In=Xn,bn.substr(Xn,2)===co?(jn=co,Xn+=2):(jn=null,Vr===0&&En(Jo)),jn!==null&&(jr=In,jn=Fi()),jn===null&&(Xn=In),In=jn,In}function _r(){var In,jn,Mr;return In=Xn,bn.charCodeAt(Xn)===92?(jn=Zo,Xn++):(jn=null,Vr===0&&En(Xo)),jn!==null?(bn.length>Xn?(Mr=bn.charAt(Xn),Xn++):(Mr=null,Vr===0&&En(qo)),Mr!==null?(jr=In,jn=bo(Mr),jn===null&&(Xn=In),In=jn):(Xn=In,In=Nr)):(Xn=In,In=Nr),In}var Pr,sr=arguments.length>1?arguments[1]:{},Ir={regexp:Pn},Hr=Pn,Nr=null,Gr="",Zr="|",Qr='"|"',eo=function(In,jn){return jn?new oe(In,jn[1]):In},oo=function(In,jn,Mr){return new ie([In].concat(jn).concat([Mr]))},Eo="^",wo='"^"',oa=function(){return new V("start")},aa="$",ia='"$"',sa=function(){return new V("end")},la=function(In,jn){return new de(In,jn)},ua="Quantifier",da=function(In,jn){return jn&&(In.greedy=!1),In},yo="{",_o='"{"',fa=",",pa='","',To="}",$o='"}"',ha=function(In,jn){return new pe(In,jn)},xo=",}",ma='",}"',va=function(In){return new pe(In,1/0)},ga=function(In){return new pe(In,In)},ya="+",ba='"+"',Ca=function(){return new pe(1,1/0)},Sa="*",Ea='"*"',wa=function(){return new pe(0,1/0)},Po="?",ko='"?"',Ta=function(){return new pe(0,1)},Ao=/^[0-9]/,Oo="[0-9]",$a=function(In){return+In.join("")},xa="(",Pa='"("',ka=")",Aa='")"',Oa=function(In){return In},Ia=function(In){return new ue(In)},Io="?:",Ma='"?:"',Na=function(In){return new le("non-capture-group",In)},Mo="?=",Ra='"?="',Da=function(In){return new le("positive-lookahead",In)},No="?!",La='"?!"',Ba=function(In){return new le("negative-lookahead",In)},Va="CharacterSet",Fa="[",za='"["',Ha="]",Ua='"]"',ja=function(In,jn){return new he(!!In,jn)},Wa="CharacterRange",Ga="-",Ka='"-"',Ya=function(In,jn){return new _e(In,jn)},qa="Character",Za=/^[^\\\]]/,Xa="[^\\\\\\]]",bo=function(In){return new $e(In)},Ja=".",Qa='"."',ei=function(){return new V("any-character")},ti="Literal",ni=/^[^|\\\/.[()?+*$\^]/,ri="[^|\\\\\\/.[()?+*$\\^]",uo="\\b",Ro='"\\\\b"',oi=function(){return new V("backspace")},ai=function(){return new V("word-boundary")},Do="\\B",ii='"\\\\B"',si=function(){return new V("non-word-boundary")},Lo="\\d",li='"\\\\d"',ui=function(){return new V("digit")},Bo="\\D",ci='"\\\\D"',di=function(){return new V("non-digit")},Vo="\\f",fi='"\\\\f"',pi=function(){return new V("form-feed")},Fo="\\n",hi='"\\\\n"',mi=function(){return new V("line-feed")},zo="\\r",vi='"\\\\r"',gi=function(){return new V("carriage-return")},Ho="\\s",yi='"\\\\s"',_i=function(){return new V("white-space")},Uo="\\S",bi='"\\\\S"',Ci=function(){return new V("non-white-space")},jo="\\t",Si='"\\\\t"',Ei=function(){return new V("tab")},Wo="\\v",wi='"\\\\v"',Ti=function(){return new V("vertical-tab")},Go="\\w",$i='"\\\\w"',xi=function(){return new V("word")},Ko="\\W",Pi='"\\\\W"',ki=function(){return new V("non-word")},Yo="\\c",Ai='"\\\\c"',qo="any character",Oi=function(In){return new qe(In)},Zo="\\",Xo='"\\\\"',Ii=/^[1-9]/,Mi="[1-9]",Ni=function(In){return new Ue(In)},co="\\0",Jo='"\\\\0"',Qo=/^[0-7]/,ea="[0-7]",Ri=function(In){return new Fe(In.join(""))},ta="\\x",Di='"\\\\x"',fo=/^[0-9a-fA-F]/,po="[0-9a-fA-F]",Li=function(In){return new Ve(In.join(""))},na="\\u",Bi='"\\\\u"',Vi=function(In){return new Ie(In.join(""))},Fi=function(){return new V("null-character")},Xn=0,jr=0,so=0,Co={line:1,column:1,seenCR:!1},ho=0,vo=[],Vr=0;if("startRule"in sr){if(!(sr.startRule in Ir))throw new Error(`Can't start parsing from rule "`+sr.startRule+'".');Hr=Ir[sr.startRule]}if(V.offset=Sn,V.text=Cn,Pr=Hr(),Pr!==null&&Xn===bn.length)return Pr;throw xn(vo),jr=Math.max(Xn,ho),new _n(vo,jr<bn.length?bn.charAt(jr):null,jr,wn(jr).line,wn(jr).column)}return hn(_n,Error),{SyntaxError:_n,parse:vn}}(),At=1,Lt={};t.exports=Et},function(t,r,V){var oe=V(3),ie=V(5),le={extend:oe.extend},ue=Ve(97,122),de=Ve(65,90),pe=Ve(48,57),he=Ve(32,47)+Ve(58,64)+Ve(91,96)+Ve(123,126),_e=Ve(32,126),$e=` \f
|
||
\r \v \u2028\u2029`,Ie={"\\w":ue+de+pe+"_","\\W":he.replace("_",""),"\\s":$e,"\\S":function(){for(var Fe=_e,Ue=0;Ue<$e.length;Ue++)Fe=Fe.replace($e[Ue],"");return Fe}(),"\\d":pe,"\\D":ue+de+he};function Ve(Fe,Ue){for(var qe="",Et=Fe;Et<=Ue;Et++)qe+=String.fromCharCode(Et);return qe}le.gen=function(Fe,Ue,qe){return qe=qe||{guid:1},le[Fe.type]?le[Fe.type](Fe,Ue,qe):le.token(Fe,Ue,qe)},le.extend({token:function(Fe,Ue,qe){switch(Fe.type){case"start":case"end":return"";case"any-character":return ie.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return ie.pick(pe.split(""));case"non-digit":return ie.pick((ue+de+he).split(""));case"form-feed":break;case"line-feed":return Fe.body||Fe.text;case"carriage-return":break;case"white-space":return ie.pick($e.split(""));case"non-white-space":return ie.pick((ue+de+pe).split(""));case"tab":break;case"vertical-tab":break;case"word":return ie.pick((ue+de+pe).split(""));case"non-word":return ie.pick(he.replace("_","").split(""))}return Fe.body||Fe.text},alternate:function(Fe,Ue,qe){return this.gen(ie.boolean()?Fe.left:Fe.right,Ue,qe)},match:function(Fe,Ue,qe){Ue="";for(var Et=0;Et<Fe.body.length;Et++)Ue+=this.gen(Fe.body[Et],Ue,qe);return Ue},"capture-group":function(Fe,Ue,qe){return Ue=this.gen(Fe.body,Ue,qe),qe[qe.guid++]=Ue,Ue},"non-capture-group":function(Fe,Ue,qe){return this.gen(Fe.body,Ue,qe)},"positive-lookahead":function(Fe,Ue,qe){return this.gen(Fe.body,Ue,qe)},"negative-lookahead":function(Fe,Ue,qe){return""},quantified:function(Fe,Ue,qe){Ue="";for(var Et=this.quantifier(Fe.quantifier),At=0;At<Et;At++)Ue+=this.gen(Fe.body,Ue,qe);return Ue},quantifier:function(Fe,Ue,qe){var Et=Math.max(Fe.min,0),At=isFinite(Fe.max)?Fe.max:Et+ie.integer(3,7);return ie.integer(Et,At)},charset:function(Fe,Ue,qe){if(Fe.invert)return this["invert-charset"](Fe,Ue,qe);var Et=ie.pick(Fe.body);return this.gen(Et,Ue,qe)},"invert-charset":function(Fe,Ue,qe){for(var Et=_e,At=0,Lt;At<Fe.body.length;At++)switch(Lt=Fe.body[At],Lt.type){case"literal":Et=Et.replace(Lt.body,"");break;case"range":for(var hn=this.gen(Lt.start,Ue,qe).charCodeAt(),_n=this.gen(Lt.end,Ue,qe).charCodeAt(),vn=hn;vn<=_n;vn++)Et=Et.replace(String.fromCharCode(vn),"");default:var bn=Ie[Lt.text];if(bn)for(var Cn=0;Cn<=bn.length;Cn++)Et=Et.replace(bn[Cn],"")}return ie.pick(Et.split(""))},range:function(Fe,Ue,qe){var Et=this.gen(Fe.start,Ue,qe).charCodeAt(),At=this.gen(Fe.end,Ue,qe).charCodeAt();return String.fromCharCode(ie.integer(Et,At))},literal:function(Fe,Ue,qe){return Fe.escaped?Fe.body:Fe.text},unicode:function(Fe,Ue,qe){return String.fromCharCode(parseInt(Fe.code,16))},hex:function(Fe,Ue,qe){return String.fromCharCode(parseInt(Fe.code,16))},octal:function(Fe,Ue,qe){return String.fromCharCode(parseInt(Fe.code,8))},"back-reference":function(Fe,Ue,qe){return qe[Fe.code]||""},CONTROL_CHARACTER_MAP:function(){for(var Fe="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),Ue=`\0 \x07 \b
|
||
\v \f \r \x1B `.split(" "),qe={},Et=0;Et<Fe.length;Et++)qe[Fe[Et]]=Ue[Et];return qe}(),"control-character":function(Fe,Ue,qe){return this.CONTROL_CHARACTER_MAP[Fe.code]}}),t.exports=le},function(t,r,V){t.exports=V(24)},function(t,r,V){var oe=V(2),ie=V(3),le=V(4);function ue(de,pe,he){he=he||[];var _e={name:typeof pe=="string"?pe.replace(oe.RE_KEY,"$1"):pe,template:de,type:ie.type(de),rule:le.parse(pe)};switch(_e.path=he.slice(0),_e.path.push(pe===void 0?"ROOT":_e.name),_e.type){case"array":_e.items=[],ie.each(de,function($e,Ie){_e.items.push(ue($e,Ie,_e.path))});break;case"object":_e.properties=[],ie.each(de,function($e,Ie){_e.properties.push(ue($e,Ie,_e.path))});break}return _e}t.exports=ue},function(t,r,V){t.exports=V(26)},function(t,r,V){var oe=V(2),ie=V(3),le=V(23);function ue(he,_e){for(var $e=le(he),Ie=de.diff($e,_e),Ve=0;Ve<Ie.length;Ve++);return Ie}var de={diff:function(_e,$e,Ie){var Ve=[];return this.name(_e,$e,Ie,Ve)&&this.type(_e,$e,Ie,Ve)&&(this.value(_e,$e,Ie,Ve),this.properties(_e,$e,Ie,Ve),this.items(_e,$e,Ie,Ve)),Ve},name:function(he,_e,$e,Ie){var Ve=Ie.length;return pe.equal("name",he.path,$e+"",he.name+"",Ie),Ie.length===Ve},type:function(he,_e,$e,Ie){var Ve=Ie.length;switch(he.type){case"string":if(he.template.match(oe.RE_PLACEHOLDER))return!0;break;case"array":if(he.rule.parameters&&(he.rule.min!==void 0&&he.rule.max===void 0&&he.rule.count===1||he.rule.parameters[2]))return!0;break;case"function":return!0}return pe.equal("type",he.path,ie.type(_e),he.type,Ie),Ie.length===Ve},value:function(he,_e,$e,Ie){var Ve=Ie.length,Fe=he.rule,Ue=he.type;if(Ue==="object"||Ue==="array"||Ue==="function")return!0;if(!Fe.parameters){switch(Ue){case"regexp":return pe.match("value",he.path,_e,he.template,Ie),Ie.length===Ve;case"string":if(he.template.match(oe.RE_PLACEHOLDER))return Ie.length===Ve;break}return pe.equal("value",he.path,_e,he.template,Ie),Ie.length===Ve}var qe;switch(Ue){case"number":var Et=(_e+"").split(".");Et[0]=+Et[0],Fe.min!==void 0&&Fe.max!==void 0&&(pe.greaterThanOrEqualTo("value",he.path,Et[0],Math.min(Fe.min,Fe.max),Ie),pe.lessThanOrEqualTo("value",he.path,Et[0],Math.max(Fe.min,Fe.max),Ie)),Fe.min!==void 0&&Fe.max===void 0&&pe.equal("value",he.path,Et[0],Fe.min,Ie,"[value] "+$e),Fe.decimal&&(Fe.dmin!==void 0&&Fe.dmax!==void 0&&(pe.greaterThanOrEqualTo("value",he.path,Et[1].length,Fe.dmin,Ie),pe.lessThanOrEqualTo("value",he.path,Et[1].length,Fe.dmax,Ie)),Fe.dmin!==void 0&&Fe.dmax===void 0&&pe.equal("value",he.path,Et[1].length,Fe.dmin,Ie));break;case"boolean":break;case"string":qe=_e.match(new RegExp(he.template,"g")),qe=qe?qe.length:0,Fe.min!==void 0&&Fe.max!==void 0&&(pe.greaterThanOrEqualTo("repeat count",he.path,qe,Fe.min,Ie),pe.lessThanOrEqualTo("repeat count",he.path,qe,Fe.max,Ie)),Fe.min!==void 0&&Fe.max===void 0&&pe.equal("repeat count",he.path,qe,Fe.min,Ie);break;case"regexp":qe=_e.match(new RegExp(he.template.source.replace(/^\^|\$$/g,""),"g")),qe=qe?qe.length:0,Fe.min!==void 0&&Fe.max!==void 0&&(pe.greaterThanOrEqualTo("repeat count",he.path,qe,Fe.min,Ie),pe.lessThanOrEqualTo("repeat count",he.path,qe,Fe.max,Ie)),Fe.min!==void 0&&Fe.max===void 0&&pe.equal("repeat count",he.path,qe,Fe.min,Ie);break}return Ie.length===Ve},properties:function(he,_e,$e,Ie){var Ve=Ie.length,Fe=he.rule,Ue=ie.keys(_e);if(he.properties){if(he.rule.parameters?(Fe.min!==void 0&&Fe.max!==void 0&&(pe.greaterThanOrEqualTo("properties length",he.path,Ue.length,Math.min(Fe.min,Fe.max),Ie),pe.lessThanOrEqualTo("properties length",he.path,Ue.length,Math.max(Fe.min,Fe.max),Ie)),Fe.min!==void 0&&Fe.max===void 0&&Fe.count!==1&&pe.equal("properties length",he.path,Ue.length,Fe.min,Ie)):pe.equal("properties length",he.path,Ue.length,he.properties.length,Ie),Ie.length!==Ve)return!1;for(var qe=0;qe<Ue.length;qe++)Ie.push.apply(Ie,this.diff(function(){var Et;return ie.each(he.properties,function(At){At.name===Ue[qe]&&(Et=At)}),Et||he.properties[qe]}(),_e[Ue[qe]],Ue[qe]));return Ie.length===Ve}},items:function(he,_e,$e,Ie){var Ve=Ie.length;if(he.items){var Fe=he.rule;if(!he.rule.parameters)pe.equal("items length",he.path,_e.length,he.items.length,Ie);else{if(Fe.min!==void 0&&Fe.max!==void 0&&(pe.greaterThanOrEqualTo("items",he.path,_e.length,Math.min(Fe.min,Fe.max)*he.items.length,Ie,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),pe.lessThanOrEqualTo("items",he.path,_e.length,Math.max(Fe.min,Fe.max)*he.items.length,Ie,"[{utype}] array is too long: {path} must have at most {expected} elements but instance has {actual} elements")),Fe.min!==void 0&&Fe.max===void 0){if(Fe.count===1)return Ie.length===Ve;pe.equal("items length",he.path,_e.length,Fe.min*he.items.length,Ie)}if(Fe.parameters[2])return Ie.length===Ve}if(Ie.length!==Ve)return!1;for(var Ue=0;Ue<_e.length;Ue++)Ie.push.apply(Ie,this.diff(he.items[Ue%he.items.length],_e[Ue],Ue%he.items.length));return Ie.length===Ve}}},pe={message:function(he){return(he.message||"[{utype}] Expect {path}'{ltype} {action} {expected}, but is {actual}").replace("{utype}",he.type.toUpperCase()).replace("{ltype}",he.type.toLowerCase()).replace("{path}",ie.isArray(he.path)&&he.path.join(".")||he.path).replace("{action}",he.action).replace("{expected}",he.expected).replace("{actual}",he.actual)},equal:function(he,_e,$e,Ie,Ve,Fe){if($e===Ie)return!0;switch(he){case"type":if(Ie==="regexp"&&$e==="string")return!0;break}var Ue={path:_e,type:he,actual:$e,expected:Ie,action:"is equal to",message:Fe};return Ue.message=pe.message(Ue),Ve.push(Ue),!1},match:function(he,_e,$e,Ie,Ve,Fe){if(Ie.test($e))return!0;var Ue={path:_e,type:he,actual:$e,expected:Ie,action:"matches",message:Fe};return Ue.message=pe.message(Ue),Ve.push(Ue),!1},notEqual:function(he,_e,$e,Ie,Ve,Fe){if($e!==Ie)return!0;var Ue={path:_e,type:he,actual:$e,expected:Ie,action:"is not equal to",message:Fe};return Ue.message=pe.message(Ue),Ve.push(Ue),!1},greaterThan:function(he,_e,$e,Ie,Ve,Fe){if($e>Ie)return!0;var Ue={path:_e,type:he,actual:$e,expected:Ie,action:"is greater than",message:Fe};return Ue.message=pe.message(Ue),Ve.push(Ue),!1},lessThan:function(he,_e,$e,Ie,Ve,Fe){if($e<Ie)return!0;var Ue={path:_e,type:he,actual:$e,expected:Ie,action:"is less to",message:Fe};return Ue.message=pe.message(Ue),Ve.push(Ue),!1},greaterThanOrEqualTo:function(he,_e,$e,Ie,Ve,Fe){if($e>=Ie)return!0;var Ue={path:_e,type:he,actual:$e,expected:Ie,action:"is greater than or equal to",message:Fe};return Ue.message=pe.message(Ue),Ve.push(Ue),!1},lessThanOrEqualTo:function(he,_e,$e,Ie,Ve,Fe){if($e<=Ie)return!0;var Ue={path:_e,type:he,actual:$e,expected:Ie,action:"is less than or equal to",message:Fe};return Ue.message=pe.message(Ue),Ve.push(Ue),!1}};ue.Diff=de,ue.Assert=pe,t.exports=ue},function(t,r,V){t.exports=V(28)},function(t,r,V){var oe=V(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch{window.Event=function(Fe,Ue,qe,Et){var At=document.createEvent("CustomEvent");return At.initCustomEvent(Fe,Ue,qe,Et),At}}var ie={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},le="readystatechange loadstart progress abort error load timeout loadend".split(" "),ue="timeout withCredentials".split(" "),de="readyState responseURL status statusText responseType response responseText responseXML".split(" "),pe={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choice",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};function he(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}he._settings={timeout:"10-100"},he.setup=function(Ve){return oe.extend(he._settings,Ve),he._settings},oe.extend(he,ie),oe.extend(he.prototype,ie),he.prototype.mock=!0,he.prototype.match=!1,oe.extend(he.prototype,{open:function(Ve,Fe,Ue,qe,Et){var At=this;oe.extend(this.custom,{method:Ve,url:Fe,async:typeof Ue=="boolean"?Ue:!0,username:qe,password:Et,options:{url:Fe,type:Ve}}),this.custom.timeout=function(Cn){if(typeof Cn=="number")return Cn;if(typeof Cn=="string"&&!~Cn.indexOf("-"))return parseInt(Cn,10);if(typeof Cn=="string"&&~Cn.indexOf("-")){var Sn=Cn.split("-"),wn=parseInt(Sn[0],10),En=parseInt(Sn[1],10);return Math.round(Math.random()*(En-wn))+wn}}(he._settings.timeout);var Lt=$e(this.custom.options);function hn(Cn){for(var Sn=0;Sn<de.length;Sn++)try{At[de[Sn]]=_n[de[Sn]]}catch{}At.dispatchEvent(new Event(Cn.type))}if(!Lt){var _n=_e();this.custom.xhr=_n;for(var vn=0;vn<le.length;vn++)_n.addEventListener(le[vn],hn);qe?_n.open(Ve,Fe,Ue,qe,Et):_n.open(Ve,Fe,Ue);for(var bn=0;bn<ue.length;bn++)try{_n[ue[bn]]=At[ue[bn]]}catch{}return}this.match=!0,this.custom.template=Lt,this.readyState=he.OPENED,this.dispatchEvent(new Event("readystatechange"))},setRequestHeader:function(Ve,Fe){if(!this.match){this.custom.xhr.setRequestHeader(Ve,Fe);return}var Ue=this.custom.requestHeaders;Ue[Ve]?Ue[Ve]+=","+Fe:Ue[Ve]=Fe},timeout:0,withCredentials:!1,upload:{},send:function(Fe){var Ue=this;if(this.custom.options.body=Fe,!this.match){this.custom.xhr.send(Fe);return}this.setRequestHeader("X-Requested-With","MockXMLHttpRequest"),this.dispatchEvent(new Event("loadstart")),this.custom.async?setTimeout(qe,this.custom.timeout):qe();function qe(){Ue.readyState=he.HEADERS_RECEIVED,Ue.dispatchEvent(new Event("readystatechange")),Ue.readyState=he.LOADING,Ue.dispatchEvent(new Event("readystatechange")),Ue.status=200,Ue.statusText=pe[200],Ue.response=Ue.responseText=JSON.stringify(Ie(Ue.custom.template,Ue.custom.options),null,4),Ue.readyState=he.DONE,Ue.dispatchEvent(new Event("readystatechange")),Ue.dispatchEvent(new Event("load")),Ue.dispatchEvent(new Event("loadend"))}},abort:function(){if(!this.match){this.custom.xhr.abort();return}this.readyState=he.UNSENT,this.dispatchEvent(new Event("abort",!1,!1,this)),this.dispatchEvent(new Event("error",!1,!1,this))}}),oe.extend(he.prototype,{responseURL:"",status:he.UNSENT,statusText:"",getResponseHeader:function(Ve){return this.match?this.custom.responseHeaders[Ve.toLowerCase()]:this.custom.xhr.getResponseHeader(Ve)},getAllResponseHeaders:function(){if(!this.match)return this.custom.xhr.getAllResponseHeaders();var Ve=this.custom.responseHeaders,Fe="";for(var Ue in Ve)Ve.hasOwnProperty(Ue)&&(Fe+=Ue+": "+Ve[Ue]+`\r
|
||
`);return Fe},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),oe.extend(he.prototype,{addEventListener:function(Fe,Ue){var qe=this.custom.events;qe[Fe]||(qe[Fe]=[]),qe[Fe].push(Ue)},removeEventListener:function(Fe,Ue){for(var qe=this.custom.events[Fe]||[],Et=0;Et<qe.length;Et++)qe[Et]===Ue&&qe.splice(Et--,1)},dispatchEvent:function(Fe){for(var Ue=this.custom.events[Fe.type]||[],qe=0;qe<Ue.length;qe++)Ue[qe].call(this,Fe);var Et="on"+Fe.type;this[Et]&&this[Et](Fe)}});function _e(){var Ve=function(){var qe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Et=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,At=location.href,Lt=Et.exec(At.toLowerCase())||[];return qe.test(Lt[1])}();return window.ActiveXObject?!Ve&&Fe()||Ue():Fe();function Fe(){try{return new window._XMLHttpRequest}catch{}}function Ue(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch{}}}function $e(Ve){for(var Fe in he.Mock._mocked){var Ue=he.Mock._mocked[Fe];if((!Ue.rurl||qe(Ue.rurl,Ve.url))&&(!Ue.rtype||qe(Ue.rtype,Ve.type.toLowerCase())))return Ue}function qe(Et,At){if(oe.type(Et)==="string")return Et===At;if(oe.type(Et)==="regexp")return Et.test(At)}}function Ie(Ve,Fe){return oe.isFunction(Ve.template)?Ve.template(Fe):he.Mock.mock(Ve.template)}t.exports=he}])})})(mock);var mockExports=mock.exports;const mockJs=getDefaultExportFromCjs(mockExports);function lexer(t){for(var r=[],V=0;V<t.length;){var oe=t[V];if(oe==="*"||oe==="+"||oe==="?"){r.push({type:"MODIFIER",index:V,value:t[V++]});continue}if(oe==="\\"){r.push({type:"ESCAPED_CHAR",index:V++,value:t[V++]});continue}if(oe==="{"){r.push({type:"OPEN",index:V,value:t[V++]});continue}if(oe==="}"){r.push({type:"CLOSE",index:V,value:t[V++]});continue}if(oe===":"){for(var ie="",le=V+1;le<t.length;){var ue=t.charCodeAt(le);if(ue>=48&&ue<=57||ue>=65&&ue<=90||ue>=97&&ue<=122||ue===95){ie+=t[le++];continue}break}if(!ie)throw new TypeError("Missing parameter name at ".concat(V));r.push({type:"NAME",index:V,value:ie}),V=le;continue}if(oe==="("){var de=1,pe="",le=V+1;if(t[le]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(le));for(;le<t.length;){if(t[le]==="\\"){pe+=t[le++]+t[le++];continue}if(t[le]===")"){if(de--,de===0){le++;break}}else if(t[le]==="("&&(de++,t[le+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(le));pe+=t[le++]}if(de)throw new TypeError("Unbalanced pattern at ".concat(V));if(!pe)throw new TypeError("Missing pattern at ".concat(V));r.push({type:"PATTERN",index:V,value:pe}),V=le;continue}r.push({type:"CHAR",index:V,value:t[V++]})}return r.push({type:"END",index:V,value:""}),r}function parse(t,r){r===void 0&&(r={});for(var V=lexer(t),oe=r.prefixes,ie=oe===void 0?"./":oe,le="[^".concat(escapeString(r.delimiter||"/#?"),"]+?"),ue=[],de=0,pe=0,he="",_e=function(vn){if(pe<V.length&&V[pe].type===vn)return V[pe++].value},$e=function(vn){var bn=_e(vn);if(bn!==void 0)return bn;var Cn=V[pe],Sn=Cn.type,wn=Cn.index;throw new TypeError("Unexpected ".concat(Sn," at ").concat(wn,", expected ").concat(vn))},Ie=function(){for(var vn="",bn;bn=_e("CHAR")||_e("ESCAPED_CHAR");)vn+=bn;return vn};pe<V.length;){var Ve=_e("CHAR"),Fe=_e("NAME"),Ue=_e("PATTERN");if(Fe||Ue){var qe=Ve||"";ie.indexOf(qe)===-1&&(he+=qe,qe=""),he&&(ue.push(he),he=""),ue.push({name:Fe||de++,prefix:qe,suffix:"",pattern:Ue||le,modifier:_e("MODIFIER")||""});continue}var Et=Ve||_e("ESCAPED_CHAR");if(Et){he+=Et;continue}he&&(ue.push(he),he="");var At=_e("OPEN");if(At){var qe=Ie(),Lt=_e("NAME")||"",hn=_e("PATTERN")||"",_n=Ie();$e("CLOSE"),ue.push({name:Lt||(hn?de++:""),pattern:Lt&&!hn?le:hn,prefix:qe,suffix:_n,modifier:_e("MODIFIER")||""});continue}$e("END")}return ue}function escapeString(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags(t){return t&&t.sensitive?"":"i"}function regexpToRegexp(t,r){if(!r)return t;for(var V=/\((?:\?<(.*?)>)?(?!\?)/g,oe=0,ie=V.exec(t.source);ie;)r.push({name:ie[1]||oe++,prefix:"",suffix:"",modifier:"",pattern:""}),ie=V.exec(t.source);return t}function arrayToRegexp(t,r,V){var oe=t.map(function(ie){return pathToRegexp(ie,r,V).source});return new RegExp("(?:".concat(oe.join("|"),")"),flags(V))}function stringToRegexp(t,r,V){return tokensToRegexp(parse(t,V),r,V)}function tokensToRegexp(t,r,V){V===void 0&&(V={});for(var oe=V.strict,ie=oe===void 0?!1:oe,le=V.start,ue=le===void 0?!0:le,de=V.end,pe=de===void 0?!0:de,he=V.encode,_e=he===void 0?function(wn){return wn}:he,$e=V.delimiter,Ie=$e===void 0?"/#?":$e,Ve=V.endsWith,Fe=Ve===void 0?"":Ve,Ue="[".concat(escapeString(Fe),"]|$"),qe="[".concat(escapeString(Ie),"]"),Et=ue?"^":"",At=0,Lt=t;At<Lt.length;At++){var hn=Lt[At];if(typeof hn=="string")Et+=escapeString(_e(hn));else{var _n=escapeString(_e(hn.prefix)),vn=escapeString(_e(hn.suffix));if(hn.pattern)if(r&&r.push(hn),_n||vn)if(hn.modifier==="+"||hn.modifier==="*"){var bn=hn.modifier==="*"?"?":"";Et+="(?:".concat(_n,"((?:").concat(hn.pattern,")(?:").concat(vn).concat(_n,"(?:").concat(hn.pattern,"))*)").concat(vn,")").concat(bn)}else Et+="(?:".concat(_n,"(").concat(hn.pattern,")").concat(vn,")").concat(hn.modifier);else hn.modifier==="+"||hn.modifier==="*"?Et+="((?:".concat(hn.pattern,")").concat(hn.modifier,")"):Et+="(".concat(hn.pattern,")").concat(hn.modifier);else Et+="(?:".concat(_n).concat(vn,")").concat(hn.modifier)}}if(pe)ie||(Et+="".concat(qe,"?")),Et+=V.endsWith?"(?=".concat(Ue,")"):"$";else{var Cn=t[t.length-1],Sn=typeof Cn=="string"?qe.indexOf(Cn[Cn.length-1])>-1:Cn===void 0;ie||(Et+="(?:".concat(qe,"(?=").concat(Ue,"))?")),Sn||(Et+="(?=".concat(qe,"|").concat(Ue,")"))}return new RegExp(Et,flags(V))}function pathToRegexp(t,r,V){return t instanceof RegExp?regexpToRegexp(t,r):Array.isArray(t)?arrayToRegexp(t,r,V):stringToRegexp(t,r,V)}const Mock=mockJs;function createProdMockServer(t){Mock.XHR.prototype.__send=Mock.XHR.prototype.send,Mock.XHR.prototype.send=function(){if(this.custom.xhr&&(this.custom.xhr.withCredentials=this.withCredentials||!1,this.responseType&&(this.custom.xhr.responseType=this.responseType)),this.custom.requestHeaders){const r={};for(let V in this.custom.requestHeaders)r[V.toString().toLowerCase()]=this.custom.requestHeaders[V];this.custom.options=Object.assign({},this.custom.options,{headers:r})}this.__send.apply(this,arguments)},Mock.XHR.prototype.proxy_open=Mock.XHR.prototype.open,Mock.XHR.prototype.open=function(){let r=this.responseType;this.proxy_open(...arguments),this.custom.xhr&&r&&(this.custom.xhr.responseType=r)};for(const{url:r,method:V,response:oe,timeout:ie}of t)__setupMock__(ie),Mock.mock(pathToRegexp(r,void 0,{end:!1}),V||"get",__XHR2ExpressReqWrapper__(oe))}function __param2Obj__(t){const r=t.split("?")[1];return r?JSON.parse('{"'+decodeURIComponent(r).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"').replace(/\+/g," ")+'"}'):{}}function __XHR2ExpressReqWrapper__(t){return function(r){let V=null;if(typeof t=="function"){const{body:oe,type:ie,url:le,headers:ue}=r;let de=oe;try{de=JSON.parse(oe)}catch{}V=t({method:ie,body:de,query:__param2Obj__(le),headers:ue})}else V=t;return Mock.mock(V)}}function __setupMock__(t=0){t&&Mock.setup({timeout:t})}const modules=Object.assign({"../mock/asyncRoutes.ts":__vite_glob_0_0,"../mock/list.ts":__vite_glob_0_1,"../mock/login.ts":__vite_glob_0_2,"../mock/map.ts":__vite_glob_0_3,"../mock/refreshToken.ts":__vite_glob_0_4,"../mock/system.ts":__vite_glob_0_5}),mockModules=[];Object.keys(modules).forEach(t=>{mockModules.push(...modules[t].default)});function setupProdMockServer(){createProdMockServer(mockModules)}const app=createApp(App);Object.keys(directives).forEach(t=>{app.directive(t,directives[t])});app.component("IconifyIconOffline",IconifyIconOffline);app.component("IconifyIconOnline",IconifyIconOnline);app.component("FontIcon",FontIcon);app.component("Auth",Auth);getServerConfig(app).then(async t=>{setupStore(app),app.use(router),await router.isReady(),injectResponsiveStorage(app,t),app.use(MotionPlugin).use(useI18n).use(installer).use(Pe).use(I).use(useEcharts),app.mount("#app")});setupProdMockServer();export{onBeforeUpdate as $,axios$1 as A,Bn as B,_t as C,toRef as D,en as E,Fragment as F,computed as G,Hn as H,watch as I,normalizeStyle$1 as J,markRaw as K,tn as L,usePermissionStoreHook as M,extractPathList as N,On as O,transformI18n as P,deleteChildren as Q,h$2 as R,q$1 as S,vt as T,Rn as U,getDefaultExportFromCjs as V,resolveDynamicComponent as W,zn as X,onUpdated as Y,provide as Z,_export_sfc as _,ro as a,templateRef as a$,normalizeProps as a0,guardReactiveProps as a1,useI18n$1 as a2,commonjsGlobal as a3,ElInfiniteScroll as a4,useRouter as a5,addDialog as a6,updateDialog as a7,closeDialog as a8,closeAllDialog as a9,useIntervalFn as aA,D$1 as aB,defineStore as aC,nr as aD,responsiveStorageNameSpace as aE,getConfig as aF,store as aG,FontIcon as aH,IconifyIconOffline as aI,IconifyIconOnline as aJ,A as aK,withScopeId as aL,shallowReactive as aM,toHandlers as aN,getAugmentedNamespace as aO,vue_runtime_esmBundler as aP,useVModel as aQ,Tn as aR,createStaticVNode as aS,useResizeObserver as aT,$ as aU,longpress as aV,ElUpload as aW,B as aX,Qe as aY,Ze as aZ,Ge as a_,hot as aa,closeAllMessage as ab,Yr as ac,getCurrentInstance as ad,toRefs as ae,onUnmounted as af,renderSlot as ag,useCssVars as ah,getCurrentScope as ai,onScopeDispose as aj,inject as ak,reactive as al,ElLoading as am,withModifiers as an,mergeProps as ao,$n as ap,http as aq,onBeforeMount as ar,TransitionGroup as as,normalizeClass as at,shallowRef as au,isRef as av,isReactive as aw,isVNode$1 as ax,createApp as ay,to as az,onBeforeUnmount as b,baseForOwn as b$,tryOnMounted as b0,tryOnUnmounted as b1,useDebounceFn as b2,Teleport as b3,withKeys as b4,watchEffect as b5,toRaw as b6,ElCol as b7,isSymbol$1 as b8,baseToString as b9,isPlainObject$3 as bA,baseRest as bB,toKey as bC,baseAssignValue as bD,toString$2 as bE,toNumber as bF,isIterateeCall as bG,baseClone as bH,arrayPush as bI,baseFlatten as bJ,arrayMap as bK,baseIteratee as bL,baseEach$1 as bM,baseAssign as bN,eq as bO,baseMerge as bP,baseUnary as bQ,SetCache as bR,arrayIncludesWith as bS,cacheHas as bT,isArrayLikeObject as bU,createBaseFor as bV,createBaseEach as bW,getTag$1 as bX,mapToArray as bY,arrayFilter as bZ,baseFindIndex as b_,toInteger as ba,WeakMap$4 as bb,identity$1 as bc,baseCreate$1 as bd,isObject$8 as be,root$1 as bf,noop$5 as bg,copyArray as bh,isObjectLike as bi,isArray$b as bj,shortOut as bk,arrayEach as bl,arrayIncludes as bm,setToString$1 as bn,isIndex as bo,apply$1 as bp,createAssigner as bq,isPrototype as br,isArrayLike$1 as bs,copyObject as bt,keys$1 as bu,assignValue as bv,keysIn as bw,get$1 as bx,flatRest as by,baseGetTag as bz,resolveComponent as c,useRoute as c$,findLastIndex as c0,map$3 as c1,baseFor$1 as c2,isFunction$3 as c3,hasPath as c4,toFinite as c5,baseIndexOf as c6,constant as c7,baseGet as c8,castPath as c9,trimmedEndIndex as cA,baseUniq as cB,flatten as cC,flattenDeep as cD,fromPairs as cE,union$1 as cF,flatMap as cG,now$1 as cH,debounce as cI,memoize as cJ,throttle$1 as cK,castArray$1 as cL,clone$4 as cM,cloneDeep as cN,isEqual$1 as cO,isLength as cP,isMap$2 as cQ,isNil as cR,isSet$2 as cS,isUndefined$2 as cT,toPlainObject as cU,hasIn as cV,merge$4 as cW,pick$1 as cX,set$2 as cY,property as cZ,stubArray as c_,nodeUtil$1 as ca,isBuffer$3 as cb,isTypedArray$3 as cc,isArguments$1 as cd,baseKeys as ce,baseIsEqual as cf,baseIsMatch as cg,getMatchData as ch,coreJsData$1 as ci,stubFalse as cj,baseIsNative as ck,baseIsNaN as cl,baseMatches as cm,baseMatchesProperty as cn,Symbol$3 as co,setToArray as cp,getAllKeysIn as cq,basePickBy as cr,baseMap as cs,arraySome as ct,baseProperty as cu,baseSet as cv,baseTimes as cw,stringToPath$2 as cx,getPrototype$1 as cy,baseTrim as cz,defineComponent as d,addIcon$1 as d0,onKeyStroke as d1,N as d2,getParentPaths as d3,findRouteByPath as d4,useMultiTagsStoreHook as d5,Xt as d6,$t as d7,data$1 as d8,useEventListener as d9,toHandlerKey as dA,render$4 as dB,Be$1 as dC,initRouter as dD,getAuths as dE,hasAuth as dF,He as dG,handleTree as dH,Sr as dI,lr as dJ,ElForm as dK,ElFormItem as dL,ElInput as dM,ElProgress as dN,appendFieldByUniqueId as dO,getNodeByUniqueId as dP,Nt as dQ,Le as da,z as db,getTopMenu as dc,useFullscreen as dd,Transition as de,handleAliveRoute as df,data as dg,routerArrays as dh,Ct as di,KeepAlive as dj,onClickOutside as dk,removeToken as dl,rr as dm,resetRouter as dn,useMultiTagsStore as dp,storeToRefs as dq,useUserStoreHook as dr,router as ds,remainingPaths as dt,cloneVNode as du,useWindowSize as dv,dayjs as dw,rn as dx,LinearGradient$1 as dy,ElMessageBox as dz,resolveDirective as e,createBlock as f,openBlock as g,createBaseVNode as h,createTextVNode as i,createVNode as j,createCommentVNode as k,withDirectives as l,popScopeId as m,createElementBlock as n,onMounted as o,pushScopeId as p,message as q,ref as r,mo as s,toDisplayString$1 as t,unref as u,vShow as v,withCtx as w,nextTick as x,renderList as y,zt as z};
|